|
|
(function(){var __webpack_modules__={30071:function(d,v,e){"use strict";e.r(v),e.d(v,{blue:function(){return oe},blueDark:function(){return Ne},cyan:function(){return ne},cyanDark:function(){return He},geekblue:function(){return q},geekblueDark:function(){return Ft},generate:function(){return A},gold:function(){return K},goldDark:function(){return ie},gray:function(){return ee},green:function(){return ae},greenDark:function(){return De},grey:function(){return se},greyDark:function(){return rr},lime:function(){return H},limeDark:function(){return Pe},magenta:function(){return V},magentaDark:function(){return Dt},orange:function(){return N},orangeDark:function(){return $},presetDarkPalettes:function(){return Xt},presetPalettes:function(){return Q},presetPrimaryColors:function(){return P},purple:function(){return J},purpleDark:function(){return gt},red:function(){return M},redDark:function(){return ue},volcano:function(){return B},volcanoDark:function(){return U},yellow:function(){return G},yellowDark:function(){return _e}});var r=e(52873);const i=Math.round;function l(fr,Ge){const Tt=fr.replace(/^[^(]*\((.*)/,"$1").replace(/\).*/,"").match(/\d*\.?\d+%?/g)||[],zt=Tt.map(nt=>parseFloat(nt));for(let nt=0;nt<3;nt+=1)zt[nt]=Ge(zt[nt]||0,Tt[nt]||"",nt);return Tt[3]?zt[3]=Tt[3].includes("%")?zt[3]/100:zt[3]:zt[3]=1,zt}const c=(fr,Ge,Tt)=>Tt===0?fr:fr/100;function f(fr,Ge){const Tt=Ge||255;return fr>Tt?Tt:fr<0?0:fr}class o{constructor(Ge){(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 Tt(zt){return zt[0]in Ge&&zt[1]in Ge&&zt[2]in Ge}if(Ge)if(typeof Ge=="string"){let nt=function(bt){return zt.startsWith(bt)};const zt=Ge.trim();/^#?[A-F\d]{3,8}$/i.test(zt)?this.fromHexString(zt):nt("rgb")?this.fromRgbString(zt):nt("hsl")?this.fromHslString(zt):(nt("hsv")||nt("hsb"))&&this.fromHsvString(zt)}else if(Ge instanceof o)this.r=Ge.r,this.g=Ge.g,this.b=Ge.b,this.a=Ge.a,this._h=Ge._h,this._s=Ge._s,this._l=Ge._l,this._v=Ge._v;else if(Tt("rgb"))this.r=f(Ge.r),this.g=f(Ge.g),this.b=f(Ge.b),this.a=typeof Ge.a=="number"?f(Ge.a,1):1;else if(Tt("hsl"))this.fromHsl(Ge);else if(Tt("hsv"))this.fromHsv(Ge);else throw new Error("@ant-design/fast-color: unsupported input "+JSON.stringify(Ge))}setR(Ge){return this._sc("r",Ge)}setG(Ge){return this._sc("g",Ge)}setB(Ge){return this._sc("b",Ge)}setA(Ge){return this._sc("a",Ge,1)}setHue(Ge){const Tt=this.toHsv();return Tt.h=Ge,this._c(Tt)}getLuminance(){function Ge(bt){const dt=bt/255;return dt<=.03928?dt/12.92:Math.pow((dt+.055)/1.055,2.4)}const Tt=Ge(this.r),zt=Ge(this.g),nt=Ge(this.b);return .2126*Tt+.7152*zt+.0722*nt}getHue(){if(typeof this._h=="undefined"){const Ge=this.getMax()-this.getMin();Ge===0?this._h=0:this._h=i(60*(this.r===this.getMax()?(this.g-this.b)/Ge+(this.g<this.b?6:0):this.g===this.getMax()?(this.b-this.r)/Ge+2:(this.r-this.g)/Ge+4))}return this._h}getSaturation(){if(typeof this._s=="undefined"){const Ge=this.getMax()-this.getMin();Ge===0?this._s=0:this._s=Ge/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(Ge=10){const Tt=this.getHue(),zt=this.getSaturation();let nt=this.getLightness()-Ge/100;return nt<0&&(nt=0),this._c({h:Tt,s:zt,l:nt,a:this.a})}lighten(Ge=10){const Tt=this.getHue(),zt=this.getSaturation();let nt=this.getLightness()+Ge/100;return nt>1&&(nt=1),this._c({h:Tt,s:zt,l:nt,a:this.a})}mix(Ge,Tt=50){const zt=this._c(Ge),nt=Tt/100,bt=et=>(zt[et]-this[et])*nt+this[et],dt={r:i(bt("r")),g:i(bt("g")),b:i(bt("b")),a:i(bt("a")*100)/100};return this._c(dt)}tint(Ge=10){return this.mix({r:255,g:255,b:255,a:1},Ge)}shade(Ge=10){return this.mix({r:0,g:0,b:0,a:1},Ge)}onBackground(Ge){const Tt=this._c(Ge),zt=this.a+Tt.a*(1-this.a),nt=bt=>i((this[bt]*this.a+Tt[bt]*Tt.a*(1-this.a))/zt);return this._c({r:nt("r"),g:nt("g"),b:nt("b"),a:zt})}isDark(){return this.getBrightness()<128}isLight(){return this.getBrightness()>=128}equals(Ge){return this.r===Ge.r&&this.g===Ge.g&&this.b===Ge.b&&this.a===Ge.a}clone(){return this._c(this)}toHexString(){let Ge="#";const Tt=(this.r||0).toString(16);Ge+=Tt.length===2?Tt:"0"+Tt;const zt=(this.g||0).toString(16);Ge+=zt.length===2?zt:"0"+zt;const nt=(this.b||0).toString(16);if(Ge+=nt.length===2?nt:"0"+nt,typeof this.a=="number"&&this.a>=0&&this.a<1){const bt=i(this.a*255).toString(16);Ge+=bt.length===2?bt:"0"+bt}return Ge}toHsl(){return{h:this.getHue(),s:this.getSaturation(),l:this.getLightness(),a:this.a}}toHslString(){const Ge=this.getHue(),Tt=i(this.getSaturation()*100),zt=i(this.getLightness()*100);return this.a!==1?`hsla(${Ge},${Tt}%,${zt}%,${this.a})`:`hsl(${Ge},${Tt}%,${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(Ge,Tt,zt){const nt=this.clone();return nt[Ge]=f(Tt,zt),nt}_c(Ge){return new this.constructor(Ge)}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(Ge){const Tt=Ge.replace("#","");function zt(nt,bt){return parseInt(Tt[nt]+Tt[bt||nt],16)}Tt.length<6?(this.r=zt(0),this.g=zt(1),this.b=zt(2),this.a=Tt[3]?zt(3)/255:1):(this.r=zt(0,1),this.g=zt(2,3),this.b=zt(4,5),this.a=Tt[6]?zt(6,7)/255:1)}fromHsl({h:Ge,s:Tt,l:zt,a:nt}){if(this._h=Ge%360,this._s=Tt,this._l=zt,this.a=typeof nt=="number"?nt:1,Tt<=0){const $e=i(zt*255);this.r=$e,this.g=$e,this.b=$e}let bt=0,dt=0,et=0;const ze=Ge/60,ge=(1-Math.abs(2*zt-1))*Tt,Se=ge*(1-Math.abs(ze%2-1));ze>=0&&ze<1?(bt=ge,dt=Se):ze>=1&&ze<2?(bt=Se,dt=ge):ze>=2&&ze<3?(dt=ge,et=Se):ze>=3&&ze<4?(dt=Se,et=ge):ze>=4&&ze<5?(bt=Se,et=ge):ze>=5&&ze<6&&(bt=ge,et=Se);const Le=zt-ge/2;this.r=i((bt+Le)*255),this.g=i((dt+Le)*255),this.b=i((et+Le)*255)}fromHsv({h:Ge,s:Tt,v:zt,a:nt}){this._h=Ge%360,this._s=Tt,this._v=zt,this.a=typeof nt=="number"?nt:1;const bt=i(zt*255);if(this.r=bt,this.g=bt,this.b=bt,Tt<=0)return;const dt=Ge/60,et=Math.floor(dt),ze=dt-et,ge=i(zt*(1-Tt)*255),Se=i(zt*(1-Tt*ze)*255),Le=i(zt*(1-Tt*(1-ze))*255);switch(et){case 0:this.g=Le,this.b=ge;break;case 1:this.r=Se,this.b=ge;break;case 2:this.r=ge,this.b=Le;break;case 3:this.r=ge,this.g=Se;break;case 4:this.r=Le,this.g=ge;break;case 5:default:this.g=ge,this.b=Se;break}}fromHsvString(Ge){const Tt=l(Ge,c);this.fromHsv({h:Tt[0],s:Tt[1],v:Tt[2],a:Tt[3]})}fromHslString(Ge){const Tt=l(Ge,c);this.fromHsl({h:Tt[0],s:Tt[1],l:Tt[2],a:Tt[3]})}fromRgbString(Ge){const Tt=l(Ge,(zt,nt)=>nt.includes("%")?i(zt/100*255):zt);this.r=Tt[0],this.g=Tt[1],this.b=Tt[2],this.a=Tt[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(fr,Ge,Tt){var zt;return Math.round(fr.h)>=60&&Math.round(fr.h)<=240?zt=Tt?Math.round(fr.h)-h*Ge:Math.round(fr.h)+h*Ge:zt=Tt?Math.round(fr.h)+h*Ge:Math.round(fr.h)-h*Ge,zt<0?zt+=360:zt>=360&&(zt-=360),zt}function k(fr,Ge,Tt){if(fr.h===0&&fr.s===0)return fr.s;var zt;return Tt?zt=fr.s-u*Ge:Ge===_?zt=fr.s+u:zt=fr.s+a*Ge,zt>1&&(zt=1),Tt&&Ge===y&&zt>.1&&(zt=.1),zt<.06&&(zt=.06),Math.round(zt*100)/100}function R(fr,Ge,Tt){var zt;return Tt?zt=fr.v+x*Ge:zt=fr.v-p*Ge,zt=Math.max(0,Math.min(1,zt)),Math.round(zt*100)/100}function A(fr){for(var Ge=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},Tt=[],zt=new o(fr),nt=zt.toHsv(),bt=y;bt>0;bt-=1){var dt=new o({h:S(nt,bt,!0),s:k(nt,bt,!0),v:R(nt,bt,!0)});Tt.push(dt)}Tt.push(zt);for(var et=1;et<=_;et+=1){var ze=new o({h:S(nt,et),s:k(nt,et),v:R(nt,et)});Tt.push(ze)}return Ge.theme==="dark"?b.map(function(ge){var Se=ge.index,Le=ge.amount;return new o(Ge.backgroundColor||"#141414").mix(Tt[Se],Le).toHexString()}):Tt.map(function(ge){return ge.toHexString()})}var P={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 N=["#fff7e6","#ffe7ba","#ffd591","#ffc069","#ffa940","#fa8c16","#d46b08","#ad4e00","#873800","#612500"];N.primary=N[5];var K=["#fffbe6","#fff1b8","#ffe58f","#ffd666","#ffc53d","#faad14","#d48806","#ad6800","#874d00","#613400"];K.primary=K[5];var G=["#feffe6","#ffffb8","#fffb8f","#fff566","#ffec3d","#fadb14","#d4b106","#ad8b00","#876800","#614700"];G.primary=G[5];var H=["#fcffe6","#f4ffb8","#eaff8f","#d3f261","#bae637","#a0d911","#7cb305","#5b8c00","#3f6600","#254000"];H.primary=H[5];var ae=["#f6ffed","#d9f7be","#b7eb8f","#95de64","#73d13d","#52c41a","#389e0d","#237804","#135200","#092b00"];ae.primary=ae[5];var ne=["#e6fffb","#b5f5ec","#87e8de","#5cdbd3","#36cfc9","#13c2c2","#08979c","#006d75","#00474f","#002329"];ne.primary=ne[5];var oe=["#e6f4ff","#bae0ff","#91caff","#69b1ff","#4096ff","#1677ff","#0958d9","#003eb3","#002c8c","#001d66"];oe.primary=oe[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 V=["#fff0f6","#ffd6e7","#ffadd2","#ff85c0","#f759ab","#eb2f96","#c41d7f","#9e1068","#780650","#520339"];V.primary=V[5];var se=["#a6a6a6","#999999","#8c8c8c","#808080","#737373","#666666","#404040","#1a1a1a","#000000","#000000"];se.primary=se[5];var ee=se,Q={red:M,volcano:B,orange:N,gold:K,yellow:G,lime:H,green:ae,cyan:ne,blue:oe,geekblue:q,purple:J,magenta:V,grey:se},ue=["#2a1215","#431418","#58181c","#791a1f","#a61d24","#d32029","#e84749","#f37370","#f89f9a","#fac8c3"];ue.primary=ue[5];var U=["#2b1611","#441d12","#592716","#7c3118","#aa3e19","#d84a1b","#e87040","#f3956a","#f8b692","#fad4bc"];U.primary=U[5];var $=["#2b1d11","#442a11","#593815","#7c4a15","#aa6215","#d87a16","#e89a3c","#f3b765","#f8cf8d","#fae3b7"];$.primary=$[5];var ie=["#2b2111","#443111","#594214","#7c5914","#aa7714","#d89614","#e8b339","#f3cc62","#f8df8b","#faedb5"];ie.primary=ie[5];var _e=["#2b2611","#443b11","#595014","#7c6e14","#aa9514","#d8bd14","#e8d639","#f3ea62","#f8f48b","#fafab5"];_e.primary=_e[5];var Pe=["#1f2611","#2e3c10","#3e4f13","#536d13","#6f9412","#8bbb11","#a9d134","#c9e75d","#e4f88b","#f0fab5"];Pe.primary=Pe[5];var De=["#162312","#1d3712","#274916","#306317","#3c8618","#49aa19","#6abe39","#8fd460","#b2e58b","#d5f2bb"];De.primary=De[5];var He=["#112123","#113536","#144848","#146262","#138585","#13a8a8","#33bcb7","#58d1c9","#84e2d8","#b2f1e8"];He.primary=He[5];var Ne=["#111a2c","#112545","#15325b","#15417e","#1554ad","#1668dc","#3c89e8","#65a9f3","#8dc5f8","#b7dcfa"];Ne.primary=Ne[5];var Ft=["#131629","#161d40","#1c2755","#203175","#263ea0","#2b4acb","#5273e0","#7f9ef3","#a8c1f8","#d2e0fa"];Ft.primary=Ft[5];var gt=["#1a1325","#24163a","#301c4d","#3e2069","#51258f","#642ab5","#854eca","#ab7ae0","#cda8f0","#ebd7fa"];gt.primary=gt[5];var Dt=["#291321","#40162f","#551c3b","#75204f","#a02669","#cb2b83","#e0529c","#f37fb7","#f8a8cc","#fad2e3"];Dt.primary=Dt[5];var rr=["#151515","#1f1f1f","#2d2d2d","#393939","#494949","#5a5a5a","#6a6a6a","#7b7b7b","#888888","#969696"];rr.primary=rr[5];var Xt={red:ue,volcano:U,orange:$,gold:ie,yellow:_e,lime:Pe,green:De,cyan:He,blue:Ne,geekblue:Ft,purple:gt,magenta:Dt,grey:rr}},36237:function(d,v,e){"use strict";e.r(v),e.d(v,{Keyframes:function(){return Fo},NaNLinter:function(){return ts},StyleContext:function(){return ne},StyleProvider:function(){return ae},Theme:function(){return Dt},_experimental:function(){return Nu},createCache:function(){return G},createTheme:function(){return Xt},extractStyle:function(){return Mo},genCalc:function(){return De},getComputedToken:function(){return gr},legacyLogicalPropertiesTransformer:function(){return Du},legacyNotSelectorLinter:function(){return va},logicalPropertiesLinter:function(){return mo},parentSelectorLinter:function(){return Is},px2remTransformer:function(){return Wo},token2CSSVar:function(){return Ce},unit:function(){return Kt},useCSSVarRegister:function(){return tu},useCacheToken:function(){return cn},useStyleRegister:function(){return ss}});var r=e(16886),i=e(52873),l=e(15142),c=e(98506);function f(qt){for(var _r=0,or,mr=0,Tr=qt.length;Tr>=4;++mr,Tr-=4)or=qt.charCodeAt(mr)&255|(qt.charCodeAt(++mr)&255)<<8|(qt.charCodeAt(++mr)&255)<<16|(qt.charCodeAt(++mr)&255)<<24,or=(or&65535)*1540483477+((or>>>16)*59797<<16),or^=or>>>24,_r=(or&65535)*1540483477+((or>>>16)*59797<<16)^(_r&65535)*1540483477+((_r>>>16)*59797<<16);switch(Tr){case 3:_r^=(qt.charCodeAt(mr+2)&255)<<16;case 2:_r^=(qt.charCodeAt(mr+1)&255)<<8;case 1:_r^=qt.charCodeAt(mr)&255,_r=(_r&65535)*1540483477+((_r>>>16)*59797<<16)}return _r^=_r>>>13,_r=(_r&65535)*1540483477+((_r>>>16)*59797<<16),((_r^_r>>>15)>>>0).toString(36)}var o=f,h=e(810),u=e(59301),a=e.t(u,2),x=e(33346),p=e(80547),y=e(13697),_=e(42573),b=e(58698),S="%";function k(qt){return qt.join(S)}var R=function(){function qt(_r){(0,_.Z)(this,qt),(0,i.Z)(this,"instanceId",void 0),(0,i.Z)(this,"cache",new Map),(0,i.Z)(this,"extracted",new Set),this.instanceId=_r}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,mr){return this.opUpdate(k(or),mr)}},{key:"opUpdate",value:function(or,mr){var Tr=this.cache.get(or),gn=mr(Tr);gn===null?this.cache.delete(or):this.cache.set(or,gn)}}]),qt}(),A=R,P=["children"],M="data-token-hash",B="data-css-hash",N="data-cache-path",K="__cssinjs_instance__";function G(){var qt=Math.random().toString(12).slice(2);if(typeof document!="undefined"&&document.head&&document.body){var _r=document.body.querySelectorAll("style[".concat(B,"]"))||[],or=document.head.firstChild;Array.from(_r).forEach(function(Tr){Tr[K]=Tr[K]||qt,Tr[K]===qt&&document.head.insertBefore(Tr,or)});var mr={};Array.from(document.querySelectorAll("style[".concat(B,"]"))).forEach(function(Tr){var gn=Tr.getAttribute(B);if(mr[gn]){if(Tr[K]===qt){var Zn;(Zn=Tr.parentNode)===null||Zn===void 0||Zn.removeChild(Tr)}}else mr[gn]=!0})}return new A(qt)}var H=u.createContext({hashPriority:"low",cache:G(),defaultCache:!0}),ae=function(_r){var or=_r.children,mr=(0,x.Z)(_r,P),Tr=u.useContext(H),gn=(0,p.Z)(function(){var Zn=(0,c.Z)({},Tr);Object.keys(mr).forEach(function(Hn){var li=mr[Hn];mr[Hn]!==void 0&&(Zn[Hn]=li)});var kn=mr.cache;return Zn.cache=Zn.cache||G(),Zn.defaultCache=!kn&&Tr.defaultCache,Zn},[Tr,mr],function(Zn,kn){return!(0,y.Z)(Zn[0],kn[0],!0)||!(0,y.Z)(Zn[1],kn[1],!0)});return u.createElement(H.Provider,{value:gn},or)},ne=H,oe=e(26420),q=e(47273),J=e(62437),V=e(74700),se=e(45080),ee=(0,b.Z)(function qt(){(0,_.Z)(this,qt)}),Q=ee,ue="CALC_UNIT",U=new RegExp(ue,"g");function $(qt){return typeof qt=="number"?"".concat(qt).concat(ue):qt}var ie=function(qt){(0,V.Z)(or,qt);var _r=(0,se.Z)(or);function or(mr,Tr){var gn;(0,_.Z)(this,or),gn=_r.call(this),(0,i.Z)((0,J.Z)(gn),"result",""),(0,i.Z)((0,J.Z)(gn),"unitlessCssVar",void 0),(0,i.Z)((0,J.Z)(gn),"lowPriority",void 0);var Zn=(0,oe.Z)(mr);return gn.unitlessCssVar=Tr,mr instanceof or?gn.result="(".concat(mr.result,")"):Zn==="number"?gn.result=$(mr):Zn==="string"&&(gn.result=mr),gn}return(0,b.Z)(or,[{key:"add",value:function(Tr){return Tr instanceof or?this.result="".concat(this.result," + ").concat(Tr.getResult()):(typeof Tr=="number"||typeof Tr=="string")&&(this.result="".concat(this.result," + ").concat($(Tr))),this.lowPriority=!0,this}},{key:"sub",value:function(Tr){return Tr instanceof or?this.result="".concat(this.result," - ").concat(Tr.getResult()):(typeof Tr=="number"||typeof Tr=="string")&&(this.result="".concat(this.result," - ").concat($(Tr))),this.lowPriority=!0,this}},{key:"mul",value:function(Tr){return this.lowPriority&&(this.result="(".concat(this.result,")")),Tr instanceof or?this.result="".concat(this.result," * ").concat(Tr.getResult(!0)):(typeof Tr=="number"||typeof Tr=="string")&&(this.result="".concat(this.result," * ").concat(Tr)),this.lowPriority=!1,this}},{key:"div",value:function(Tr){return this.lowPriority&&(this.result="(".concat(this.result,")")),Tr instanceof or?this.result="".concat(this.result," / ").concat(Tr.getResult(!0)):(typeof Tr=="number"||typeof Tr=="string")&&(this.result="".concat(this.result," / ").concat(Tr)),this.lowPriority=!1,this}},{key:"getResult",value:function(Tr){return this.lowPriority||Tr?"(".concat(this.result,")"):this.result}},{key:"equal",value:function(Tr){var gn=this,Zn=Tr||{},kn=Zn.unit,Hn=!0;return typeof kn=="boolean"?Hn=kn:Array.from(this.unitlessCssVar).some(function(li){return gn.result.includes(li)})&&(Hn=!1),this.result=this.result.replace(U,Hn?"px":""),typeof this.lowPriority!="undefined"?"calc(".concat(this.result,")"):this.result}}]),or}(Q),_e=function(qt){(0,V.Z)(or,qt);var _r=(0,se.Z)(or);function or(mr){var Tr;return(0,_.Z)(this,or),Tr=_r.call(this),(0,i.Z)((0,J.Z)(Tr),"result",0),mr instanceof or?Tr.result=mr.result:typeof mr=="number"&&(Tr.result=mr),Tr}return(0,b.Z)(or,[{key:"add",value:function(Tr){return Tr instanceof or?this.result+=Tr.result:typeof Tr=="number"&&(this.result+=Tr),this}},{key:"sub",value:function(Tr){return Tr instanceof or?this.result-=Tr.result:typeof Tr=="number"&&(this.result-=Tr),this}},{key:"mul",value:function(Tr){return Tr instanceof or?this.result*=Tr.result:typeof Tr=="number"&&(this.result*=Tr),this}},{key:"div",value:function(Tr){return Tr instanceof or?this.result/=Tr.result:typeof Tr=="number"&&(this.result/=Tr),this}},{key:"equal",value:function(){return this.result}}]),or}(Q),Pe=function(_r,or){var mr=_r==="css"?ie:_e;return function(Tr){return new mr(Tr,or)}},De=Pe;function He(qt,_r){if(qt.length!==_r.length)return!1;for(var or=0;or<qt.length;or++)if(qt[or]!==_r[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 mr,Tr,gn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Zn={map:this.cache};return or.forEach(function(kn){if(!Zn)Zn=void 0;else{var Hn;Zn=(Hn=Zn)===null||Hn===void 0||(Hn=Hn.map)===null||Hn===void 0?void 0:Hn.get(kn)}}),(mr=Zn)!==null&&mr!==void 0&&mr.value&&gn&&(Zn.value[1]=this.cacheCallTimes++),(Tr=Zn)===null||Tr===void 0?void 0:Tr.value}},{key:"get",value:function(or){var mr;return(mr=this.internalGet(or,!0))===null||mr===void 0?void 0:mr[0]}},{key:"has",value:function(or){return!!this.internalGet(or)}},{key:"set",value:function(or,mr){var Tr=this;if(!this.has(or)){if(this.size()+1>qt.MAX_CACHE_SIZE+qt.MAX_CACHE_OFFSET){var gn=this.keys.reduce(function(li,oi){var hr=(0,r.Z)(li,2),Br=hr[1];return Tr.internalGet(oi)[1]<Br?[oi,Tr.internalGet(oi)[1]]:li},[this.keys[0],this.cacheCallTimes]),Zn=(0,r.Z)(gn,1),kn=Zn[0];this.delete(kn)}this.keys.push(or)}var Hn=this.cache;or.forEach(function(li,oi){if(oi===or.length-1)Hn.set(li,{value:[mr,Tr.cacheCallTimes++]});else{var hr=Hn.get(li);hr?hr.map||(hr.map=new Map):Hn.set(li,{map:new Map}),Hn=Hn.get(li).map}})}},{key:"deleteByPath",value:function(or,mr){var Tr=or.get(mr[0]);if(mr.length===1){var gn;return Tr.map?or.set(mr[0],{map:Tr.map}):or.delete(mr[0]),(gn=Tr.value)===null||gn===void 0?void 0:gn[0]}var Zn=this.deleteByPath(Tr.map,mr.slice(1));return(!Tr.map||Tr.map.size===0)&&!Tr.value&&or.delete(mr[0]),Zn}},{key:"delete",value:function(or){if(this.has(or))return this.keys=this.keys.filter(function(mr){return!He(mr,or)}),this.deleteByPath(this.cache,or)}}]),qt}();(0,i.Z)(Ne,"MAX_CACHE_SIZE",20),(0,i.Z)(Ne,"MAX_CACHE_OFFSET",5);var Ft=e(48736),gt=0,Dt=function(){function qt(_r){(0,_.Z)(this,qt),(0,i.Z)(this,"derivatives",void 0),(0,i.Z)(this,"id",void 0),this.derivatives=Array.isArray(_r)?_r:[_r],this.id=gt,_r.length===0&&(0,Ft.Kp)(_r.length>0,"[Ant Design CSS-in-JS] Theme should have at least one derivative function."),gt+=1}return(0,b.Z)(qt,[{key:"getDerivativeToken",value:function(or){return this.derivatives.reduce(function(mr,Tr){return Tr(or,mr)},void 0)}}]),qt}(),rr=new Ne;function Xt(qt){var _r=Array.isArray(qt)?qt:[qt];return rr.has(_r)||rr.set(_r,new Dt(_r)),rr.get(_r)}var fr=new WeakMap,Ge={};function Tt(qt,_r){for(var or=fr,mr=0;mr<_r.length;mr+=1){var Tr=_r[mr];or.has(Tr)||or.set(Tr,new WeakMap),or=or.get(Tr)}return or.has(Ge)||or.set(Ge,qt()),or.get(Ge)}var zt=new WeakMap;function nt(qt){var _r=zt.get(qt)||"";return _r||(Object.keys(qt).forEach(function(or){var mr=qt[or];_r+=or,mr instanceof Dt?_r+=mr.id:mr&&(0,oe.Z)(mr)==="object"?_r+=nt(mr):_r+=mr}),_r=o(_r),zt.set(qt,_r)),_r}function bt(qt,_r){return o("".concat(_r,"_").concat(nt(qt)))}var dt="random-".concat(Date.now(),"-").concat(Math.random()).replace(/\./g,""),et="_bAmBoO_";function ze(qt,_r,or){if((0,q.Z)()){var mr,Tr;(0,h.hq)(qt,dt);var gn=document.createElement("div");gn.style.position="fixed",gn.style.left="0",gn.style.top="0",_r==null||_r(gn),document.body.appendChild(gn);var Zn=or?or(gn):(mr=getComputedStyle(gn).content)===null||mr===void 0?void 0:mr.includes(et);return(Tr=gn.parentNode)===null||Tr===void 0||Tr.removeChild(gn),(0,h.jL)(dt),Zn}return!1}var ge=null;function Se(){return ge===void 0&&(ge=ze("@layer ".concat(dt," { .").concat(dt,' { content: "').concat(et,'"!important; } }'),function(qt){qt.className=dt})),ge}var Le=void 0;function $e(){return Le===void 0&&(Le=ze(":where(.".concat(dt,') { content: "').concat(et,'"!important; }'),function(qt){qt.className=dt})),Le}var We=void 0;function rt(){return We===void 0&&(We=ze(".".concat(dt," { inset-block: 93px !important; }"),function(qt){qt.className=dt},function(qt){return getComputedStyle(qt).bottom==="93px"})),We}var ot=(0,q.Z)();function Kt(qt){return typeof qt=="number"?"".concat(qt,"px"):qt}function Wt(qt,_r,or){var mr=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},Tr=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!1;if(Tr)return qt;var gn=(0,c.Z)((0,c.Z)({},mr),{},(0,i.Z)((0,i.Z)({},M,_r),B,or)),Zn=Object.keys(gn).map(function(kn){var Hn=gn[kn];return Hn?"".concat(kn,'="').concat(Hn,'"'):null}).filter(function(kn){return kn}).join(" ");return"<style ".concat(Zn,">").concat(qt,"</style>")}var Ce=function(_r){var or=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";return"--".concat(or?"".concat(or,"-"):"").concat(_r).replace(/([a-z0-9])([A-Z])/g,"$1-$2").replace(/([A-Z]+)([A-Z][a-z0-9]+)/g,"$1-$2").replace(/([a-z])([A-Z0-9])/g,"$1-$2").toLowerCase()},Je=function(_r,or,mr){return Object.keys(_r).length?".".concat(or).concat(mr!=null&&mr.scope?".".concat(mr.scope):"","{").concat(Object.entries(_r).map(function(Tr){var gn=(0,r.Z)(Tr,2),Zn=gn[0],kn=gn[1];return"".concat(Zn,":").concat(kn,";")}).join(""),"}"):""},Yt=function(_r,or,mr){var Tr={},gn={};return Object.entries(_r).forEach(function(Zn){var kn,Hn,li=(0,r.Z)(Zn,2),oi=li[0],hr=li[1];if(mr!=null&&(kn=mr.preserve)!==null&&kn!==void 0&&kn[oi])gn[oi]=hr;else if((typeof hr=="string"||typeof hr=="number")&&!(mr!=null&&(Hn=mr.ignore)!==null&&Hn!==void 0&&Hn[oi])){var Br,Rr=Ce(oi,mr==null?void 0:mr.prefix);Tr[Rr]=typeof hr=="number"&&!(mr!=null&&(Br=mr.unitless)!==null&&Br!==void 0&&Br[oi])?"".concat(hr,"px"):String(hr),gn[oi]="var(".concat(Rr,")")}}),[gn,Je(Tr,or,{scope:mr==null?void 0:mr.scope})]},kt=e(34280),Ht=(0,c.Z)({},a),$t=Ht.useInsertionEffect,tr=function(_r,or,mr){u.useMemo(_r,mr),(0,kt.Z)(function(){return or(!0)},mr)},Gt=$t?function(qt,_r,or){return $t(function(){return qt(),_r()},or)}:tr,Me=Gt,ce=(0,c.Z)({},a),he=ce.useInsertionEffect,Pt=function(_r){var or=[],mr=!1;function Tr(gn){mr||or.push(gn)}return u.useEffect(function(){return mr=!1,function(){mr=!0,or.length&&or.forEach(function(gn){return gn()})}},_r),Tr},Te=function(){return function(_r){_r()}},ct=typeof he!="undefined"?Pt:Te,Zt=ct;function wt(){return!1}var Ie=!1;function xt(){return Ie}var be=wt;if(0)var Ye,mt;function Lt(qt,_r,or,mr,Tr){var gn=u.useContext(ne),Zn=gn.cache,kn=[qt].concat((0,l.Z)(_r)),Hn=k(kn),li=Zt([Hn]),oi=be(),hr=function(Tn){Zn.opUpdate(Hn,function(ht){var $n=ht||[void 0,void 0],Wn=(0,r.Z)($n,2),Li=Wn[0],ta=Li===void 0?0:Li,Jt=Wn[1],oa=Jt,qi=oa||or(),Ta=[ta,qi];return Tn?Tn(Ta):Ta})};u.useMemo(function(){hr()},[Hn]);var Br=Zn.opGet(Hn),Rr=Br[1];return Me(function(){Tr==null||Tr(Rr)},function(Cn){return hr(function(Tn){var ht=(0,r.Z)(Tn,2),$n=ht[0],Wn=ht[1];return Cn&&$n===0&&(Tr==null||Tr(Rr)),[$n+1,Wn]}),function(){Zn.opUpdate(Hn,function(Tn){var ht=Tn||[],$n=(0,r.Z)(ht,2),Wn=$n[0],Li=Wn===void 0?0:Wn,ta=$n[1],Jt=Li-1;return Jt===0?(li(function(){(Cn||!Zn.opGet(Hn))&&(mr==null||mr(ta,!1))}),null):[Li-1,ta]})}},[Hn]),Rr}var Fe={},Or="css",St=new Map;function Vr(qt){St.set(qt,(St.get(qt)||0)+1)}function tn(qt,_r){if(typeof document!="undefined"){var or=document.querySelectorAll("style[".concat(M,'="').concat(qt,'"]'));or.forEach(function(mr){if(mr[K]===_r){var Tr;(Tr=mr.parentNode)===null||Tr===void 0||Tr.removeChild(mr)}})}}var wr=0;function Nr(qt,_r){St.set(qt,(St.get(qt)||0)-1);var or=new Set;St.forEach(function(mr,Tr){mr<=0&&or.add(Tr)}),St.size-or.size>wr&&or.forEach(function(mr){tn(mr,_r),St.delete(mr)})}var gr=function(_r,or,mr,Tr){var gn=mr.getDerivativeToken(_r),Zn=(0,c.Z)((0,c.Z)({},gn),or);return Tr&&(Zn=Tr(Zn)),Zn},Ur="token";function cn(qt,_r){var or=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},mr=(0,u.useContext)(ne),Tr=mr.cache.instanceId,gn=mr.container,Zn=or.salt,kn=Zn===void 0?"":Zn,Hn=or.override,li=Hn===void 0?Fe:Hn,oi=or.formatToken,hr=or.getComputedToken,Br=or.cssVar,Rr=Tt(function(){return Object.assign.apply(Object,[{}].concat((0,l.Z)(_r)))},_r),Cn=nt(Rr),Tn=nt(li),ht=Br?nt(Br):"",$n=Lt(Ur,[kn,qt.id,Cn,Tn,ht],function(){var Wn,Li=hr?hr(Rr,li,qt):gr(Rr,li,qt,oi),ta=(0,c.Z)({},Li),Jt="";if(Br){var oa=Yt(Li,Br.key,{prefix:Br.prefix,ignore:Br.ignore,unitless:Br.unitless,preserve:Br.preserve}),qi=(0,r.Z)(oa,2);Li=qi[0],Jt=qi[1]}var Ta=bt(Li,kn);Li._tokenKey=Ta,ta._tokenKey=bt(ta,kn);var gs=(Wn=Br==null?void 0:Br.key)!==null&&Wn!==void 0?Wn:Ta;Li._themeKey=gs,Vr(gs);var Ns="".concat(Or,"-").concat(o(Ta));return Li._hashId=Ns,[Li,Ns,ta,Jt,(Br==null?void 0:Br.key)||""]},function(Wn){Nr(Wn[0]._themeKey,Tr)},function(Wn){var Li=(0,r.Z)(Wn,4),ta=Li[0],Jt=Li[3];if(Br&&Jt){var oa=(0,h.hq)(Jt,o("css-variables-".concat(ta._themeKey)),{mark:B,prepend:"queue",attachTo:gn,priority:-999});oa[K]=Tr,oa.setAttribute(M,ta._themeKey)}});return $n}var hn=function(_r,or,mr){var Tr=(0,r.Z)(_r,5),gn=Tr[2],Zn=Tr[3],kn=Tr[4],Hn=mr||{},li=Hn.plain;if(!Zn)return null;var oi=gn._tokenKey,hr=-999,Br={"data-rc-order":"prependQueue","data-rc-priority":"".concat(hr)},Rr=Wt(Zn,kn,oi,Br,li);return[hr,oi,Rr]},ur=e(67711),Rt={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},_t=Rt,vt="-ms-",jt="-moz-",Cr="-webkit-",yr="comm",nn="rule",Kr="decl",Ln="@page",At="@media",cr="@import",Qr="@charset",yn="@viewport",Gn="@supports",fi="@document",Xn="@namespace",Ki="@keyframes",hi="@font-face",bi="@counter-style",Di="@font-feature-values",wi="@layer",fa="@scope",ri=Math.abs,la=String.fromCharCode,Et=Object.assign;function it(qt,_r){return Ti(qt,0)^45?(((_r<<2^Ti(qt,0))<<2^Ti(qt,1))<<2^Ti(qt,2))<<2^Ti(qt,3):0}function ni(qt){return qt.trim()}function Oi(qt,_r){return(qt=_r.exec(qt))?qt[0]:qt}function ii(qt,_r,or){return qt.replace(_r,or)}function sa(qt,_r,or){return qt.indexOf(_r,or)}function Ti(qt,_r){return qt.charCodeAt(_r)|0}function ci(qt,_r,or){return qt.slice(_r,or)}function An(qt){return qt.length}function er(qt){return qt.length}function pt(qt,_r){return _r.push(qt),qt}function tt(qt,_r){return qt.map(_r).join("")}function Ot(qt,_r){return qt.filter(function(or){return!Oi(or,_r)})}function ft(qt,_r){for(var or="",mr=0;mr<qt.length;mr++)or+=_r(qt[mr],mr,qt,_r)||"";return or}function lr(qt,_r,or,mr){switch(qt.type){case wi:if(qt.children.length)break;case cr:case Xn:case Kr:return qt.return=qt.return||qt.value;case yr:return"";case Ki:return qt.return=qt.value+"{"+ft(qt.children,mr)+"}";case nn:if(!An(qt.value=qt.props.join(",")))return""}return An(or=ft(qt.children,mr))?qt.return=qt.value+"{"+or+"}":""}var dr=1,Pr=1,zr=0,Ze=0,qe=0,xe="";function at(qt,_r,or,mr,Tr,gn,Zn,kn){return{value:qt,root:_r,parent:or,type:mr,props:Tr,children:gn,line:dr,column:Pr,length:Zn,return:"",siblings:kn}}function ar(qt,_r){return assign(at("",null,null,"",null,null,0,qt.siblings),qt,{length:-qt.length},_r)}function Er(qt){for(;qt.root;)qt=ar(qt.root,{children:[qt]});append(qt,qt.siblings)}function kr(){return qe}function Ir(){return qe=Ze>0?Ti(xe,--Ze):0,Pr--,qe===10&&(Pr=1,dr--),qe}function jr(){return qe=Ze<zr?Ti(xe,Ze++):0,Pr++,qe===10&&(Pr=1,dr++),qe}function wn(){return Ti(xe,Ze)}function Sr(){return Ze}function pn(qt,_r){return ci(xe,qt,_r)}function on(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 dn(qt){return dr=Pr=1,zr=An(xe=qt),Ze=0,[]}function In(qt){return xe="",qt}function Ia(qt){return ni(pn(Ze-1,Qi(qt===91?qt+2:qt===40?qt+1:qt)))}function Ni(qt){return In(En(dn(qt)))}function gi(qt){for(;(qe=wn())&&qe<33;)jr();return on(qt)>2||on(qe)>3?"":" "}function En(qt){for(;jr();)switch(on(qe)){case 0:append(Vs(Ze-1),qt);break;case 2:append(Ia(qe),qt);break;default:append(from(qe),qt)}return qt}function pi(qt,_r){for(;--_r&&jr()&&!(qe<48||qe>102||qe>57&&qe<65||qe>70&&qe<97););return pn(qt,Sr()+(_r<6&&wn()==32&&jr()==32))}function Qi(qt){for(;jr();)switch(qe){case qt:return Ze;case 34:case 39:qt!==34&&qt!==39&&Qi(qe);break;case 40:qt===41&&Qi(qt);break;case 92:jr();break}return Ze}function Ea(qt,_r){for(;jr()&&qt+qe!==57;)if(qt+qe===84&&wn()===47)break;return"/*"+pn(_r,Ze-1)+"*"+la(qt===47?qt:jr())}function Vs(qt){for(;!on(wn());)jr();return pn(qt,Ze)}function wa(qt){return In(Fs("",null,null,null,[""],qt=dn(qt),0,[0],qt))}function Fs(qt,_r,or,mr,Tr,gn,Zn,kn,Hn){for(var li=0,oi=0,hr=Zn,Br=0,Rr=0,Cn=0,Tn=1,ht=1,$n=1,Wn=0,Li="",ta=Tr,Jt=gn,oa=mr,qi=Li;ht;)switch(Cn=Wn,Wn=jr()){case 40:if(Cn!=108&&Ti(qi,hr-1)==58){sa(qi+=ii(Ia(Wn),"&","&\f"),"&\f",ri(li?kn[li-1]:0))!=-1&&($n=-1);break}case 34:case 39:case 91:qi+=Ia(Wn);break;case 9:case 10:case 13:case 32:qi+=gi(Cn);break;case 92:qi+=pi(Sr()-1,7);continue;case 47:switch(wn()){case 42:case 47:pt(es(Ea(jr(),Sr()),_r,or,Hn),Hn),(on(Cn||1)==5||on(wn()||1)==5)&&An(qi)&&ci(qi,-1,void 0)!==" "&&(qi+=" ");break;default:qi+="/"}break;case 123*Tn:kn[li++]=An(qi)*$n;case 125*Tn:case 59:case 0:switch(Wn){case 0:case 125:ht=0;case 59+oi:$n==-1&&(qi=ii(qi,/\f/g,"")),Rr>0&&(An(qi)-hr||Tn===0&&Cn===47)&&pt(Rr>32?Hs(qi+";",mr,or,hr-1,Hn):Hs(ii(qi," ","")+";",mr,or,hr-2,Hn),Hn);break;case 59:qi+=";";default:if(pt(oa=Ks(qi,_r,or,li,oi,Tr,kn,Li,ta=[],Jt=[],hr,gn),gn),Wn===123)if(oi===0)Fs(qi,_r,oa,oa,ta,gn,hr,kn,Jt);else{switch(Br){case 99:if(Ti(qi,3)===110)break;case 108:if(Ti(qi,2)===97)break;default:oi=0;case 100:case 109:case 115:}oi?Fs(qt,oa,oa,mr&&pt(Ks(qt,oa,oa,0,0,Tr,kn,Li,Tr,ta=[],hr,Jt),Jt),Tr,Jt,hr,kn,mr?ta:Jt):Fs(qi,oa,oa,oa,[""],Jt,0,kn,Jt)}}li=oi=Rr=0,Tn=$n=1,Li=qi="",hr=Zn;break;case 58:hr=1+An(qi),Rr=Cn;default:if(Tn<1){if(Wn==123)--Tn;else if(Wn==125&&Tn++==0&&Ir()==125)continue}switch(qi+=la(Wn),Wn*Tn){case 38:$n=oi>0?1:(qi+="\f",-1);break;case 44:kn[li++]=(An(qi)-1)*$n,$n=1;break;case 64:wn()===45&&(qi+=Ia(jr())),Br=wn(),oi=hr=An(Li=qi+=Vs(Sr())),Wn++;break;case 45:Cn===45&&An(qi)==2&&(Tn=0)}}return gn}function Ks(qt,_r,or,mr,Tr,gn,Zn,kn,Hn,li,oi,hr){for(var Br=Tr-1,Rr=Tr===0?gn:[""],Cn=er(Rr),Tn=0,ht=0,$n=0;Tn<mr;++Tn)for(var Wn=0,Li=ci(qt,Br+1,Br=ri(ht=Zn[Tn])),ta=qt;Wn<Cn;++Wn)(ta=ni(ht>0?Rr[Wn]+" "+Li:ii(Li,/&\f/g,Rr[Wn])))&&(Hn[$n++]=ta);return at(qt,_r,or,Tr===0?nn:kn,Hn,li,oi,hr)}function es(qt,_r,or,mr){return at(qt,_r,or,yr,la(kr()),ci(qt,2,-2),0,mr)}function Hs(qt,_r,or,mr,Tr){return at(qt,_r,or,Kr,ci(qt,0,mr),ci(qt,mr+1,-1),mr,Tr)}function Jn(qt,_r){var or=_r.path,mr=_r.parentSelectors;(0,Ft.ZP)(!1,"[Ant Design CSS-in-JS] ".concat(or?"Error in ".concat(or,": "):"").concat(qt).concat(mr.length?" Selector: ".concat(mr.join(" | ")):""))}var ws=function(_r,or,mr){if(_r==="content"){var Tr=/(attr|counters?|url|(((repeating-)?(linear|radial))|conic)-gradient)\(|(no-)?(open|close)-quote/,gn=["normal","none","initial","inherit","unset"];(typeof or!="string"||gn.indexOf(or)===-1&&!Tr.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,"\"'`."),mr)}},fs=null,Ys=function(_r,or,mr){_r==="animation"&&mr.hashId&&or!=="none"&&lintWarning("You seem to be using hashed animation '".concat(or,"', in which case 'animationName' with Keyframe as value is recommended."),mr)},ea=null;function Bs(qt){var _r,or=((_r=qt.match(/:not\(([^)]*)\)/))===null||_r===void 0?void 0:_r[1])||"",mr=or.split(/(\[[^[]*])|(?=[.#])/).filter(function(Tr){return Tr});return mr.length>1}function Vo(qt){return qt.parentSelectors.reduce(function(_r,or){return _r?or.includes("&")?or.replace(/&/g,_r):"".concat(_r," ").concat(or):or},"")}var Ka=function(_r,or,mr){var Tr=Vo(mr),gn=Tr.match(/:not\([^)]*\)/g)||[];gn.length>0&&gn.some(Bs)&&Jn("Concat ':not' selector not support in legacy browsers.",mr)},va=Ka,is=function(_r,or,mr){switch(_r){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":Jn("You seem to be using non-logical property '".concat(_r,"' which is not compatible with RTL mode. Please use logical properties and values instead. For more information: https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Logical_Properties."),mr);return;case"margin":case"padding":case"borderWidth":case"borderStyle":if(typeof or=="string"){var Tr=or.split(" ").map(function(kn){return kn.trim()});Tr.length===4&&Tr[1]!==Tr[3]&&Jn("You seem to be using '".concat(_r,"' property with different left ").concat(_r," and right ").concat(_r,", which is not compatible with RTL mode. Please use logical properties and values instead. For more information: https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Logical_Properties."),mr)}return;case"clear":case"textAlign":(or==="left"||or==="right")&&Jn("You seem to be using non-logical value '".concat(or,"' of ").concat(_r,", which is not compatible with RTL mode. Please use logical properties and values instead. For more information: https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Logical_Properties."),mr);return;case"borderRadius":if(typeof or=="string"){var gn=or.split("/").map(function(kn){return kn.trim()}),Zn=gn.reduce(function(kn,Hn){if(kn)return kn;var li=Hn.split(" ").map(function(oi){return oi.trim()});return li.length>=2&&li[0]!==li[1]||li.length===3&&li[1]!==li[2]||li.length===4&&li[2]!==li[3]?!0:kn},!1);Zn&&Jn("You seem to be using non-logical value '".concat(or,"' of ").concat(_r,", which is not compatible with RTL mode. Please use logical properties and values instead. For more information: https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Logical_Properties."),mr)}return;default:}},mo=is,Nn=function(_r,or,mr){(typeof or=="string"&&/NaN/g.test(or)||Number.isNaN(or))&&Jn("Unexpected 'NaN' in property '".concat(_r,": ").concat(or,"'."),mr)},ts=Nn,Ps=function(_r,or,mr){mr.parentSelectors.some(function(Tr){var gn=Tr.split(",");return gn.some(function(Zn){return Zn.split("&").length>2})})&&Jn("Should not use more than one `&` in a selector.",mr)},Is=Ps,Yi="data-ant-cssinjs-cache-path",Xa="_FILE_STYLE__";function Ha(qt){return Object.keys(qt).map(function(_r){var or=qt[_r];return"".concat(_r,":").concat(or)}).join(";")}var Rs,vo=!0;function zo(qt){var _r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;Rs=qt,vo=_r}function Ko(){if(!Rs&&(Rs={},(0,q.Z)())){var qt=document.createElement("div");qt.className=Yi,qt.style.position="fixed",qt.style.visibility="hidden",qt.style.top="-9999px",document.body.appendChild(qt);var _r=getComputedStyle(qt).content||"";_r=_r.replace(/^"/,"").replace(/"$/,""),_r.split(";").forEach(function(Tr){var gn=Tr.split(":"),Zn=(0,r.Z)(gn,2),kn=Zn[0],Hn=Zn[1];Rs[kn]=Hn});var or=document.querySelector("style[".concat(Yi,"]"));if(or){var mr;vo=!1,(mr=or.parentNode)===null||mr===void 0||mr.removeChild(or)}document.body.removeChild(qt)}}function Yo(qt){return Ko(),!!Rs[qt]}function rs(qt){var _r=Rs[qt],or=null;if(_r&&(0,q.Z)())if(vo)or=Xa;else{var mr=document.querySelector("style[".concat(B,'="').concat(Rs[qt],'"]'));mr?or=mr.innerHTML:delete Rs[qt]}return[or,_r]}var vs="_skip_check_",Ao="_multi_value_";function Zo(qt){var _r=ft(wa(qt),lr);return _r.replace(/\{%%%\:[^;];}/g,";")}function Lo(qt){return(0,oe.Z)(qt)==="object"&&qt&&(vs in qt||Ao in qt)}function Xo(qt,_r,or){if(!_r)return qt;var mr=".".concat(_r),Tr=or==="low"?":where(".concat(mr,")"):mr,gn=qt.split(",").map(function(Zn){var kn,Hn=Zn.trim().split(/\s+/),li=Hn[0]||"",oi=((kn=li.match(/^\w+/))===null||kn===void 0?void 0:kn[0])||"";return li="".concat(oi).concat(Tr).concat(li.slice(oi.length)),[li].concat((0,l.Z)(Hn.slice(1))).join(" ")});return gn.join(",")}var xi=function qt(_r){var or=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},mr=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{root:!0,parentSelectors:[]},Tr=mr.root,gn=mr.injectHash,Zn=mr.parentSelectors,kn=or.hashId,Hn=or.layer,li=or.path,oi=or.hashPriority,hr=or.transformers,Br=hr===void 0?[]:hr,Rr=or.linters,Cn=Rr===void 0?[]:Rr,Tn="",ht={};function $n(ta){var Jt=ta.getName(kn);if(!ht[Jt]){var oa=qt(ta.style,or,{root:!1,parentSelectors:Zn}),qi=(0,r.Z)(oa,1),Ta=qi[0];ht[Jt]="@keyframes ".concat(ta.getName(kn)).concat(Ta)}}function Wn(ta){var Jt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[];return ta.forEach(function(oa){Array.isArray(oa)?Wn(oa,Jt):oa&&Jt.push(oa)}),Jt}var Li=Wn(Array.isArray(_r)?_r:[_r]);return Li.forEach(function(ta){var Jt=typeof ta=="string"&&!Tr?{}:ta;if(typeof Jt=="string")Tn+="".concat(Jt,`
|
|
|
`);else if(Jt._keyframe)$n(Jt);else{var oa=Br.reduce(function(qi,Ta){var gs;return(Ta==null||(gs=Ta.visit)===null||gs===void 0?void 0:gs.call(Ta,qi))||qi},Jt);Object.keys(oa).forEach(function(qi){var Ta=oa[qi];if((0,oe.Z)(Ta)==="object"&&Ta&&(qi!=="animationName"||!Ta._keyframe)&&!Lo(Ta)){var gs=!1,Ns=qi.trim(),$i=!1;(Tr||gn)&&kn?Ns.startsWith("@")?gs=!0:Ns==="&"?Ns=Xo("",kn,oi):Ns=Xo(qi,kn,oi):Tr&&!kn&&(Ns==="&"||Ns==="")&&(Ns="",$i=!0);var Co=qt(Ta,or,{root:$i,injectHash:gs,parentSelectors:[].concat((0,l.Z)(Zn),[Ns])}),oo=(0,r.Z)(Co,2),Ms=oo[0],Fa=oo[1];ht=(0,c.Z)((0,c.Z)({},ht),Fa),Tn+="".concat(Ns).concat(Ms)}else{let zn=function(Ws,uo){var Xe=Ws.replace(/[A-Z]/g,function(Mt){return"-".concat(Mt.toLowerCase())}),Qe=uo;!_t[Ws]&&typeof Qe=="number"&&Qe!==0&&(Qe="".concat(Qe,"px")),Ws==="animationName"&&uo!==null&&uo!==void 0&&uo._keyframe&&($n(uo),Qe=uo.getName(kn)),Tn+="".concat(Xe,":").concat(Qe,";")};var Os,yo=(Os=Ta==null?void 0:Ta.value)!==null&&Os!==void 0?Os:Ta;(0,oe.Z)(Ta)==="object"&&Ta!==null&&Ta!==void 0&&Ta[Ao]&&Array.isArray(yo)?yo.forEach(function(Ws){zn(qi,Ws)}):zn(qi,yo)}})}}),Tr?Hn&&(Tn&&(Tn="@layer ".concat(Hn.name," {").concat(Tn,"}")),Hn.dependencies&&(ht["@layer ".concat(Hn.name)]=Hn.dependencies.map(function(ta){return"@layer ".concat(ta,", ").concat(Hn.name,";")}).join(`
|
|
|
`))):Tn="{".concat(Tn,"}"),[Tn,ht]};function _i(qt,_r){return o("".concat(qt.join("%")).concat(_r))}function as(){return null}var ds="style";function ss(qt,_r){var or=qt.token,mr=qt.path,Tr=qt.hashId,gn=qt.layer,Zn=qt.nonce,kn=qt.clientOnly,Hn=qt.order,li=Hn===void 0?0:Hn,oi=u.useContext(ne),hr=oi.autoClear,Br=oi.mock,Rr=oi.defaultCache,Cn=oi.hashPriority,Tn=oi.container,ht=oi.ssrInline,$n=oi.transformers,Wn=oi.linters,Li=oi.cache,ta=oi.layer,Jt=or._tokenKey,oa=[Jt];ta&&oa.push("layer"),oa.push.apply(oa,(0,l.Z)(mr));var qi=ot,Ta=Lt(ds,oa,function(){var oo=oa.join("|");if(Yo(oo)){var Ms=rs(oo),Fa=(0,r.Z)(Ms,2),Os=Fa[0],yo=Fa[1];if(Os)return[Os,Jt,yo,{},kn,li]}var zn=_r(),Ws=xi(zn,{hashId:Tr,hashPriority:Cn,layer:ta?gn:void 0,path:mr.join("-"),transformers:$n,linters:Wn}),uo=(0,r.Z)(Ws,2),Xe=uo[0],Qe=uo[1],Mt=Zo(Xe),Vt=_i(oa,Mt);return[Mt,Jt,Vt,Qe,kn,li]},function(oo,Ms){var Fa=(0,r.Z)(oo,3),Os=Fa[2];(Ms||hr)&&ot&&(0,h.jL)(Os,{mark:B,attachTo:Tn})},function(oo){var Ms=(0,r.Z)(oo,4),Fa=Ms[0],Os=Ms[1],yo=Ms[2],zn=Ms[3];if(qi&&Fa!==Xa){var Ws={mark:B,prepend:ta?!1:"queue",attachTo:Tn,priority:li},uo=typeof Zn=="function"?Zn():Zn;uo&&(Ws.csp={nonce:uo});var Xe=[],Qe=[];Object.keys(zn).forEach(function(Vt){Vt.startsWith("@layer")?Xe.push(Vt):Qe.push(Vt)}),Xe.forEach(function(Vt){(0,h.hq)(Zo(zn[Vt]),"_layer-".concat(Vt),(0,c.Z)((0,c.Z)({},Ws),{},{prepend:!0}))});var Mt=(0,h.hq)(Fa,yo,Ws);Mt[K]=Li.instanceId,Mt.setAttribute(M,Jt),Qe.forEach(function(Vt){(0,h.hq)(Zo(zn[Vt]),"_effect-".concat(Vt),Ws)})}}),gs=(0,r.Z)(Ta,3),Ns=gs[0],$i=gs[1],Co=gs[2];return function(oo){var Ms;return!ht||qi||!Rr?Ms=u.createElement(as,null):Ms=u.createElement("style",(0,ur.Z)({},(0,i.Z)((0,i.Z)({},M,$i),B,Co),{dangerouslySetInnerHTML:{__html:Ns}})),u.createElement(u.Fragment,null,Ms,oo)}}var go=function(_r,or,mr){var Tr=(0,r.Z)(_r,6),gn=Tr[0],Zn=Tr[1],kn=Tr[2],Hn=Tr[3],li=Tr[4],oi=Tr[5],hr=mr||{},Br=hr.plain;if(li)return null;var Rr=gn,Cn={"data-rc-order":"prependQueue","data-rc-priority":"".concat(oi)};return Rr=Wt(gn,Zn,kn,Cn,Br),Hn&&Object.keys(Hn).forEach(function(Tn){if(!or[Tn]){or[Tn]=!0;var ht=Zo(Hn[Tn]),$n=Wt(ht,Zn,"_effect-".concat(Tn),Cn,Br);Tn.startsWith("@layer")?Rr=$n+Rr:Rr+=$n}}),[oi,kn,Rr]},Ho="cssVar",du=function(_r,or){var mr=_r.key,Tr=_r.prefix,gn=_r.unitless,Zn=_r.ignore,kn=_r.token,Hn=_r.scope,li=Hn===void 0?"":Hn,oi=(0,u.useContext)(ne),hr=oi.cache.instanceId,Br=oi.container,Rr=kn._tokenKey,Cn=[].concat((0,l.Z)(_r.path),[mr,li,Rr]),Tn=Lt(Ho,Cn,function(){var ht=or(),$n=Yt(ht,mr,{prefix:Tr,unitless:gn,ignore:Zn,scope:li}),Wn=(0,r.Z)($n,2),Li=Wn[0],ta=Wn[1],Jt=_i(Cn,ta);return[Li,ta,Jt,mr]},function(ht){var $n=(0,r.Z)(ht,3),Wn=$n[2];ot&&(0,h.jL)(Wn,{mark:B,attachTo:Br})},function(ht){var $n=(0,r.Z)(ht,3),Wn=$n[1],Li=$n[2];if(Wn){var ta=(0,h.hq)(Wn,Li,{mark:B,prepend:"queue",attachTo:Br,priority:-999});ta[K]=hr,ta.setAttribute(M,mr)}});return Tn},Ls=function(_r,or,mr){var Tr=(0,r.Z)(_r,4),gn=Tr[1],Zn=Tr[2],kn=Tr[3],Hn=mr||{},li=Hn.plain;if(!gn)return null;var oi=-999,hr={"data-rc-order":"prependQueue","data-rc-priority":"".concat(oi)},Br=Wt(gn,kn,Zn,hr,li);return[oi,Zn,Br]},tu=du,hu=(0,i.Z)((0,i.Z)((0,i.Z)({},ds,go),Ur,hn),Ho,Ls);function Iu(qt){return qt!==null}function Mo(qt,_r){var or=typeof _r=="boolean"?{plain:_r}:_r||{},mr=or.plain,Tr=mr===void 0?!1:mr,gn=or.types,Zn=gn===void 0?["style","token","cssVar"]:gn,kn=or.once,Hn=kn===void 0?!1:kn,li=new RegExp("^(".concat((typeof Zn=="string"?[Zn]:Zn).join("|"),")%")),oi=Array.from(qt.cache.keys()).filter(function(Cn){return li.test(Cn)}),hr={},Br={},Rr="";return oi.map(function(Cn){if(Hn&&qt.extracted.has(Cn))return null;var Tn=Cn.replace(li,"").replace(/%/g,"|"),ht=Cn.split("%"),$n=(0,r.Z)(ht,1),Wn=$n[0],Li=hu[Wn],ta=Li(qt.cache.get(Cn)[1],hr,{plain:Tr});if(!ta)return null;var Jt=(0,r.Z)(ta,3),oa=Jt[0],qi=Jt[1],Ta=Jt[2];return Cn.startsWith("style")&&(Br[Tn]=qi),qt.extracted.add(Cn),[oa,Ta]}).filter(Iu).sort(function(Cn,Tn){var ht=(0,r.Z)(Cn,1),$n=ht[0],Wn=(0,r.Z)(Tn,1),Li=Wn[0];return $n-Li}).forEach(function(Cn){var Tn=(0,r.Z)(Cn,2),ht=Tn[1];Rr+=ht}),Rr+=Wt(".".concat(Yi,'{content:"').concat(Ha(Br),'";}'),void 0,void 0,(0,i.Z)({},Yi,Yi),Tr),Rr}var Ju=function(){function qt(_r,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=_r,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}(),Fo=Ju;function _o(qt){if(typeof qt=="number")return[[qt],!1];var _r=String(qt).trim(),or=_r.match(/(.*)(!important)/),mr=(or?or[1]:_r).trim().split(/\s+/),Tr=[],gn=0;return[mr.reduce(function(Zn,kn){if(kn.includes("(")||kn.includes(")")){var Hn=kn.split("(").length-1,li=kn.split(")").length-1;gn+=Hn-li}return gn>=0&&Tr.push(kn),gn===0&&(Zn.push(Tr.join(" ")),Tr=[]),Zn},[]),!!or]}function gu(qt){return qt.notSplit=!0,qt}var Bu={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:gu(["borderTop","borderBottom"]),borderBlockStart:gu(["borderTop"]),borderBlockEnd:gu(["borderBottom"]),borderInline:gu(["borderLeft","borderRight"]),borderInlineStart:gu(["borderLeft"]),borderInlineEnd:gu(["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 Oo(qt,_r){var or=qt;return _r&&(or="".concat(or," !important")),{_skip_check_:!0,value:or}}var Bo={visit:function(_r){var or={};return Object.keys(_r).forEach(function(mr){var Tr=_r[mr],gn=Bu[mr];if(gn&&(typeof Tr=="number"||typeof Tr=="string")){var Zn=_o(Tr),kn=(0,r.Z)(Zn,2),Hn=kn[0],li=kn[1];gn.length&&gn.notSplit?gn.forEach(function(oi){or[oi]=Oo(Tr,li)}):gn.length===1?or[gn[0]]=Oo(Hn[0],li):gn.length===2?gn.forEach(function(oi,hr){var Br;or[oi]=Oo((Br=Hn[hr])!==null&&Br!==void 0?Br:Hn[0],li)}):gn.length===4?gn.forEach(function(oi,hr){var Br,Rr;or[oi]=Oo((Br=(Rr=Hn[hr])!==null&&Rr!==void 0?Rr:Hn[hr-2])!==null&&Br!==void 0?Br:Hn[0],li)}):or[mr]=Tr}else or[mr]=Tr}),or}},Du=Bo,Qo=/url\([^)]+\)|var\([^)]+\)|(\d*\.?\d+)px/g;function ru(qt,_r){var or=Math.pow(10,_r+1),mr=Math.floor(qt*or);return Math.round(mr/10)*10/or}var Ds=function(){var _r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},or=_r.rootValue,mr=or===void 0?16:or,Tr=_r.precision,gn=Tr===void 0?5:Tr,Zn=_r.mediaQuery,kn=Zn===void 0?!1:Zn,Hn=function(hr,Br){if(!Br)return hr;var Rr=parseFloat(Br);if(Rr<=1)return hr;var Cn=ru(Rr/mr,gn);return"".concat(Cn,"rem")},li=function(hr){var Br=(0,c.Z)({},hr);return Object.entries(hr).forEach(function(Rr){var Cn=(0,r.Z)(Rr,2),Tn=Cn[0],ht=Cn[1];if(typeof ht=="string"&&ht.includes("px")){var $n=ht.replace(Qo,Hn);Br[Tn]=$n}!_t[Tn]&&typeof ht=="number"&&ht!==0&&(Br[Tn]="".concat(ht,"px").replace(Qo,Hn));var Wn=Tn.trim();if(Wn.startsWith("@")&&Wn.includes("px")&&kn){var Li=Tn.replace(Qo,Hn);Br[Li]=Br[Tn],delete Br[Tn]}}),Br};return{visit:li}},Wo=Ds,Nu={supportModernCSS:function(){return $e()&&rt()}}},7657:function(d,v,e){"use strict";e.d(v,{Z:function(){return ue}});var r=e(67711),i=e(16886),l=e(52873),c=e(33346),f=e(59301),o=e(92310),h=e.n(o),u=e(30071),a=e(18418),x=e(98506),p=e(26420),y=e(810),_=e(96452),b=e(48736);function S(U){return U.replace(/-(.)/g,function($,ie){return ie.toUpperCase()})}function k(U,$){(0,b.ZP)(U,"[@ant-design/icons] ".concat($))}function R(U){return(0,p.Z)(U)==="object"&&typeof U.name=="string"&&typeof U.theme=="string"&&((0,p.Z)(U.icon)==="object"||typeof U.icon=="function")}function A(){var U=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return Object.keys(U).reduce(function($,ie){var _e=U[ie];switch(ie){case"class":$.className=_e,delete $.class;break;default:delete $[ie],$[S(ie)]=_e}return $},{})}function P(U,$,ie){return ie?f.createElement(U.tag,(0,x.Z)((0,x.Z)({key:$},A(U.attrs)),ie),(U.children||[]).map(function(_e,Pe){return P(_e,"".concat($,"-").concat(U.tag,"-").concat(Pe))})):f.createElement(U.tag,(0,x.Z)({key:$},A(U.attrs)),(U.children||[]).map(function(_e,Pe){return P(_e,"".concat($,"-").concat(U.tag,"-").concat(Pe))}))}function M(U){return(0,u.generate)(U)[0]}function B(U){return U?Array.isArray(U)?U:[U]:[]}var N={width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",focusable:"false"},K=`
|
|
|
.anticon {
|
|
|
display: inline-flex;
|
|
|
align-items: center;
|
|
|
color: inherit;
|
|
|
font-style: normal;
|
|
|
line-height: 0;
|
|
|
text-align: center;
|
|
|
text-transform: none;
|
|
|
vertical-align: -0.125em;
|
|
|
text-rendering: optimizeLegibility;
|
|
|
-webkit-font-smoothing: antialiased;
|
|
|
-moz-osx-font-smoothing: grayscale;
|
|
|
}
|
|
|
|
|
|
.anticon > * {
|
|
|
line-height: 1;
|
|
|
}
|
|
|
|
|
|
.anticon svg {
|
|
|
display: inline-block;
|
|
|
}
|
|
|
|
|
|
.anticon::before {
|
|
|
display: none;
|
|
|
}
|
|
|
|
|
|
.anticon .anticon-icon {
|
|
|
display: block;
|
|
|
}
|
|
|
|
|
|
.anticon[tabindex] {
|
|
|
cursor: pointer;
|
|
|
}
|
|
|
|
|
|
.anticon-spin::before,
|
|
|
.anticon-spin {
|
|
|
display: inline-block;
|
|
|
-webkit-animation: loadingCircle 1s infinite linear;
|
|
|
animation: loadingCircle 1s infinite linear;
|
|
|
}
|
|
|
|
|
|
@-webkit-keyframes loadingCircle {
|
|
|
100% {
|
|
|
-webkit-transform: rotate(360deg);
|
|
|
transform: rotate(360deg);
|
|
|
}
|
|
|
}
|
|
|
|
|
|
@keyframes loadingCircle {
|
|
|
100% {
|
|
|
-webkit-transform: rotate(360deg);
|
|
|
transform: rotate(360deg);
|
|
|
}
|
|
|
}
|
|
|
`,G=function($){var ie=(0,f.useContext)(a.Z),_e=ie.csp,Pe=ie.prefixCls,De=ie.layer,He=K;Pe&&(He=He.replace(/anticon/g,Pe)),De&&(He="@layer ".concat(De,` {
|
|
|
`).concat(He,`
|
|
|
}`)),(0,f.useEffect)(function(){var Ne=$.current,Ft=(0,_.A)(Ne);(0,y.hq)(He,"@ant-design-icons",{prepend:!De,csp:_e,attachTo:Ft})},[])},H=["icon","className","onClick","style","primaryColor","secondaryColor"],ae={primaryColor:"#333",secondaryColor:"#E6E6E6",calculated:!1};function ne(U){var $=U.primaryColor,ie=U.secondaryColor;ae.primaryColor=$,ae.secondaryColor=ie||M($),ae.calculated=!!ie}function oe(){return(0,x.Z)({},ae)}var q=function($){var ie=$.icon,_e=$.className,Pe=$.onClick,De=$.style,He=$.primaryColor,Ne=$.secondaryColor,Ft=(0,c.Z)($,H),gt=f.useRef(),Dt=ae;if(He&&(Dt={primaryColor:He,secondaryColor:Ne||M(He)}),G(gt),k(R(ie),"icon should be icon definiton, but got ".concat(ie)),!R(ie))return null;var rr=ie;return rr&&typeof rr.icon=="function"&&(rr=(0,x.Z)((0,x.Z)({},rr),{},{icon:rr.icon(Dt.primaryColor,Dt.secondaryColor)})),P(rr.icon,"svg-".concat(rr.name),(0,x.Z)((0,x.Z)({className:_e,onClick:Pe,style:De,"data-icon":rr.name,width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true"},Ft),{},{ref:gt}))};q.displayName="IconReact",q.getTwoToneColors=oe,q.setTwoToneColors=ne;var J=q;function V(U){var $=B(U),ie=(0,i.Z)($,2),_e=ie[0],Pe=ie[1];return J.setTwoToneColors({primaryColor:_e,secondaryColor:Pe})}function se(){var U=J.getTwoToneColors();return U.calculated?[U.primaryColor,U.secondaryColor]:U.primaryColor}var ee=["className","icon","spin","rotate","tabIndex","onClick","twoToneColor"];V(u.blue.primary);var Q=f.forwardRef(function(U,$){var ie=U.className,_e=U.icon,Pe=U.spin,De=U.rotate,He=U.tabIndex,Ne=U.onClick,Ft=U.twoToneColor,gt=(0,c.Z)(U,ee),Dt=f.useContext(a.Z),rr=Dt.prefixCls,Xt=rr===void 0?"anticon":rr,fr=Dt.rootClassName,Ge=h()(fr,Xt,(0,l.Z)((0,l.Z)({},"".concat(Xt,"-").concat(_e.name),!!_e.name),"".concat(Xt,"-spin"),!!Pe||_e.name==="loading"),ie),Tt=He;Tt===void 0&&Ne&&(Tt=-1);var zt=De?{msTransform:"rotate(".concat(De,"deg)"),transform:"rotate(".concat(De,"deg)")}:void 0,nt=B(Ft),bt=(0,i.Z)(nt,2),dt=bt[0],et=bt[1];return f.createElement("span",(0,r.Z)({role:"img","aria-label":_e.name},gt,{ref:$,tabIndex:Tt,onClick:Ne,className:Ge}),f.createElement(J,{icon:_e,primaryColor:dt,secondaryColor:et,style:zt}))});Q.displayName="AntdIcon",Q.getTwoToneColor=se,Q.setTwoToneColor=V;var ue=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(67711),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(67711),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(67711),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(67711),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(67711),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(67711),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),P=Math.min(S,k,R),M=0,B=0,N=(A+P)/2;if(A===P)B=0,M=0;else{var K=A-P;switch(B=N>.5?K/(2-A-P):K/(A+P),A){case S:M=(k-R)/K+(k<R?6:0);break;case k:M=(R-S)/K+2;break;case R:M=(S-k)/K+4;break;default:break}M/=6}return{h:M,s:B,l:N}}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,P,M;if(S=(0,r.sh)(S,360),k=(0,r.sh)(k,100),R=(0,r.sh)(R,100),k===0)P=R,M=R,A=R;else{var B=R<.5?R*(1+k):R+k-R*k,N=2*R-B;A=c(N,B,S+.3333333333333333),P=c(N,B,S),M=c(N,B,S-.3333333333333333)}return{r:A*255,g:P*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),P=Math.min(S,k,R),M=0,B=A,N=A-P,K=A===0?0:N/A;if(A===P)M=0;else{switch(A){case S:M=(k-R)/N+(k<R?6:0);break;case k:M=(R-S)/N+2;break;case R:M=(S-k)/N+4;break;default:break}M/=6}return{h:M,s:K,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),P=S-A,M=R*(1-k),B=R*(1-P*k),N=R*(1-(1-P)*k),K=A%6,G=[R,B,M,M,N,R][K],H=[N,R,R,B,M,M][K],ae=[M,M,N,R,R,B][K];return{r:G*255,g:H*255,b:ae*255}}function u(S,k,R,A){var P=[(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&&P[0].startsWith(P[0].charAt(1))&&P[1].startsWith(P[1].charAt(1))&&P[2].startsWith(P[2].charAt(1))?P[0].charAt(0)+P[1].charAt(0)+P[2].charAt(0):P.join("")}function a(S,k,R,A,P){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 P&&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 P=[(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 P.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,P=!1,M=!1;return typeof _=="string"&&(_=p(_)),typeof _=="object"&&(y(_.r)&&y(_.g)&&y(_.b)?(b=(0,r.rW)(_.r,_.g,_.b),P=!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),P=!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),P=!0,M="hsl"),Object.prototype.hasOwnProperty.call(_,"a")&&(S=_.a)),S=(0,l.Yq)(S),{ok:P,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 G}});var r=e(16886),i=e(59301),l=e(4676),c=e(47273),f=e(48736),o=e(8654),h=i.createContext(null),u=h,a=e(15142),x=e(34280),p=[];function y(H,ae){var ne=i.useState(function(){if(!(0,c.Z)())return null;var _e=document.createElement("div");return _e}),oe=(0,r.Z)(ne,1),q=oe[0],J=i.useRef(!1),V=i.useContext(u),se=i.useState(p),ee=(0,r.Z)(se,2),Q=ee[0],ue=ee[1],U=V||(J.current?void 0:function(_e){ue(function(Pe){var De=[_e].concat((0,a.Z)(Pe));return De})});function $(){q.parentElement||document.body.appendChild(q),J.current=!0}function ie(){var _e;(_e=q.parentElement)===null||_e===void 0||_e.removeChild(q),J.current=!1}return(0,x.Z)(function(){return H?V?V($):$():ie(),ie},[H]),(0,x.Z)(function(){Q.length&&(Q.forEach(function(_e){return _e()}),ue(p))},[Q]),[q,U]}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(H){var ae=!!H,ne=i.useState(function(){return R+=1,"".concat(k,"_").concat(R)}),oe=(0,r.Z)(ne,1),q=oe[0];(0,x.Z)(function(){if(ae){var J=(0,b.o)(document.body).width,V=S();(0,_.hq)(`
|
|
|
html body {
|
|
|
overflow-y: hidden;
|
|
|
`.concat(V?"width: calc(100% - ".concat(J,"px);"):"",`
|
|
|
}`),q)}else(0,_.jL)(q);return function(){(0,_.jL)(q)}},[ae,q])}var P=!1;function M(H){return typeof H=="boolean"&&(P=H),P}var B=function(ae){return ae===!1?!1:!(0,c.Z)()||!ae?null:typeof ae=="string"?document.querySelector(ae):typeof ae=="function"?ae():ae},N=i.forwardRef(function(H,ae){var ne=H.open,oe=H.autoLock,q=H.getContainer,J=H.debug,V=H.autoDestroy,se=V===void 0?!0:V,ee=H.children,Q=i.useState(ne),ue=(0,r.Z)(Q,2),U=ue[0],$=ue[1],ie=U||ne;i.useEffect(function(){(se||ne)&&$(ne)},[ne,se]);var _e=i.useState(function(){return B(q)}),Pe=(0,r.Z)(_e,2),De=Pe[0],He=Pe[1];i.useEffect(function(){var nt=B(q);He(nt!=null?nt:null)});var Ne=y(ie&&!De,J),Ft=(0,r.Z)(Ne,2),gt=Ft[0],Dt=Ft[1],rr=De!=null?De:gt;A(oe&&ne&&(0,c.Z)()&&(rr===gt||rr===document.body));var Xt=null;if(ee&&(0,o.Yr)(ee)&&ae){var fr=ee;Xt=fr.ref}var Ge=(0,o.x1)(Xt,ae);if(!ie||!(0,c.Z)()||De===void 0)return null;var Tt=rr===!1||M(),zt=ee;return ae&&(zt=i.cloneElement(ee,{ref:Ge})),i.createElement(u.Provider,{value:Dt},Tt?zt:(0,l.createPortal)(zt,rr))}),K=N,G=K},35593:function(d,v,e){"use strict";e.d(v,{Z:function(){return zt}});var r=e(98506),i=e(16886),l=e(33346),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(67711),k=e(77900),R=e(8654);function A(nt){var bt=nt.prefixCls,dt=nt.align,et=nt.arrow,ze=nt.arrowPos,ge=et||{},Se=ge.className,Le=ge.content,$e=ze.x,We=$e===void 0?0:$e,rt=ze.y,ot=rt===void 0?0:rt,Kt=b.useRef();if(!dt||!dt.points)return null;var Wt={position:"absolute"};if(dt.autoArrow!==!1){var Ce=dt.points[0],Je=dt.points[1],Yt=Ce[0],kt=Ce[1],Ht=Je[0],$t=Je[1];Yt===Ht||!["t","b"].includes(Yt)?Wt.top=ot:Yt==="t"?Wt.top=0:Wt.bottom=0,kt===$t||!["l","r"].includes(kt)?Wt.left=We:kt==="l"?Wt.left=0:Wt.right=0}return b.createElement("div",{ref:Kt,className:o()("".concat(bt,"-arrow"),Se),style:Wt},Le)}function P(nt){var bt=nt.prefixCls,dt=nt.open,et=nt.zIndex,ze=nt.mask,ge=nt.motion;return ze?b.createElement(k.default,(0,S.Z)({},ge,{motionAppear:!0,visible:dt,removeOnLeave:!0}),function(Se){var Le=Se.className;return b.createElement("div",{style:{zIndex:et},className:o()("".concat(bt,"-mask"),Le)})}):null}var M=b.memo(function(nt){var bt=nt.children;return bt},function(nt,bt){return bt.cache}),B=M,N=b.forwardRef(function(nt,bt){var dt=nt.popup,et=nt.className,ze=nt.prefixCls,ge=nt.style,Se=nt.target,Le=nt.onVisibleChanged,$e=nt.open,We=nt.keepDom,rt=nt.fresh,ot=nt.onClick,Kt=nt.mask,Wt=nt.arrow,Ce=nt.arrowPos,Je=nt.align,Yt=nt.motion,kt=nt.maskMotion,Ht=nt.forceRender,$t=nt.getPopupContainer,tr=nt.autoDestroy,Gt=nt.portal,Me=nt.zIndex,ce=nt.onMouseEnter,he=nt.onMouseLeave,Pt=nt.onPointerEnter,Te=nt.ready,ct=nt.offsetX,Zt=nt.offsetY,wt=nt.offsetR,Ie=nt.offsetB,xt=nt.onAlign,be=nt.onPrepare,Ye=nt.stretch,mt=nt.targetWidth,Lt=nt.targetHeight,Fe=typeof dt=="function"?dt():dt,Or=$e||We,St=($t==null?void 0:$t.length)>0,Vr=b.useState(!$t||!St),tn=(0,i.Z)(Vr,2),wr=tn[0],Nr=tn[1];if((0,y.Z)(function(){!wr&&St&&Se&&Nr(!0)},[wr,St,Se]),!wr)return null;var gr="auto",Ur={left:"-1000vw",top:"-1000vh",right:gr,bottom:gr};if(Te||!$e){var cn,hn=Je.points,ur=Je.dynamicInset||((cn=Je._experimental)===null||cn===void 0?void 0:cn.dynamicInset),Rt=ur&&hn[0][1]==="r",_t=ur&&hn[0][0]==="b";Rt?(Ur.right=wt,Ur.left=gr):(Ur.left=ct,Ur.right=gr),_t?(Ur.bottom=Ie,Ur.top=gr):(Ur.top=Zt,Ur.bottom=gr)}var vt={};return Ye&&(Ye.includes("height")&&Lt?vt.height=Lt:Ye.includes("minHeight")&&Lt&&(vt.minHeight=Lt),Ye.includes("width")&&mt?vt.width=mt:Ye.includes("minWidth")&&mt&&(vt.minWidth=mt)),$e||(vt.pointerEvents="none"),b.createElement(Gt,{open:Ht||Or,getContainer:$t&&function(){return $t(Se)},autoDestroy:tr},b.createElement(P,{prefixCls:ze,open:$e,zIndex:Me,mask:Kt,motion:kt}),b.createElement(h.Z,{onResize:xt,disabled:!$e},function(jt){return b.createElement(k.default,(0,S.Z)({motionAppear:!0,motionEnter:!0,motionLeave:!0,removeOnLeave:!1,forceRender:Ht,leavedClassName:"".concat(ze,"-hidden")},Yt,{onAppearPrepare:be,onEnterPrepare:be,visible:$e,onVisibleChanged:function(yr){var nn;Yt==null||(nn=Yt.onVisibleChanged)===null||nn===void 0||nn.call(Yt,yr),Le(yr)}}),function(Cr,yr){var nn=Cr.className,Kr=Cr.style,Ln=o()(ze,nn,et);return b.createElement("div",{ref:(0,R.sQ)(jt,bt,yr),className:Ln,style:(0,r.Z)((0,r.Z)((0,r.Z)((0,r.Z)({"--arrow-x":"".concat(Ce.x||0,"px"),"--arrow-y":"".concat(Ce.y||0,"px")},Ur),vt),Kr),{},{boxSizing:"border-box",zIndex:Me},ge),onMouseEnter:ce,onMouseLeave:he,onPointerEnter:Pt,onClick:ot},Wt&&b.createElement(A,{prefixCls:ze,arrow:Wt,arrowPos:Ce,align:Je}),b.createElement(B,{cache:!$e&&!rt},Fe))})}))}),K=N,G=b.forwardRef(function(nt,bt){var dt=nt.children,et=nt.getTriggerDOMNode,ze=(0,R.Yr)(dt),ge=b.useCallback(function(Le){(0,R.mH)(bt,et?et(Le):Le)},[et]),Se=(0,R.x1)(ge,dt.ref);return ze?b.cloneElement(dt,{ref:Se}):dt}),H=G,ae=b.createContext(null),ne=ae;function oe(nt){return nt?Array.isArray(nt)?nt:[nt]:[]}function q(nt,bt,dt,et){return b.useMemo(function(){var ze=oe(dt!=null?dt:bt),ge=oe(et!=null?et:bt),Se=new Set(ze),Le=new Set(ge);return nt&&(Se.has("hover")&&(Se.delete("hover"),Se.add("click")),Le.has("hover")&&(Le.delete("hover"),Le.add("click"))),[Se,Le]},[nt,bt,dt,et])}var J=e(29194);function V(){var nt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],bt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],dt=arguments.length>2?arguments[2]:void 0;return dt?nt[0]===bt[0]:nt[0]===bt[0]&&nt[1]===bt[1]}function se(nt,bt,dt,et){for(var ze=dt.points,ge=Object.keys(nt),Se=0;Se<ge.length;Se+=1){var Le,$e=ge[Se];if(V((Le=nt[$e])===null||Le===void 0?void 0:Le.points,ze,et))return"".concat(bt,"-placement-").concat($e)}return""}function ee(nt,bt,dt,et){return bt||(dt?{motionName:"".concat(nt,"-").concat(dt)}:et?{motionName:et}:null)}function Q(nt){return nt.ownerDocument.defaultView}function ue(nt){for(var bt=[],dt=nt==null?void 0:nt.parentElement,et=["hidden","scroll","clip","auto"];dt;){var ze=Q(dt).getComputedStyle(dt),ge=ze.overflowX,Se=ze.overflowY,Le=ze.overflow;[ge,Se,Le].some(function($e){return et.includes($e)})&&bt.push(dt),dt=dt.parentElement}return bt}function U(nt){var bt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;return Number.isNaN(nt)?bt:nt}function $(nt){return U(parseFloat(nt),0)}function ie(nt,bt){var dt=(0,r.Z)({},nt);return(bt||[]).forEach(function(et){if(!(et instanceof HTMLBodyElement||et instanceof HTMLHtmlElement)){var ze=Q(et).getComputedStyle(et),ge=ze.overflow,Se=ze.overflowClipMargin,Le=ze.borderTopWidth,$e=ze.borderBottomWidth,We=ze.borderLeftWidth,rt=ze.borderRightWidth,ot=et.getBoundingClientRect(),Kt=et.offsetHeight,Wt=et.clientHeight,Ce=et.offsetWidth,Je=et.clientWidth,Yt=$(Le),kt=$($e),Ht=$(We),$t=$(rt),tr=U(Math.round(ot.width/Ce*1e3)/1e3),Gt=U(Math.round(ot.height/Kt*1e3)/1e3),Me=(Ce-Je-Ht-$t)*tr,ce=(Kt-Wt-Yt-kt)*Gt,he=Yt*Gt,Pt=kt*Gt,Te=Ht*tr,ct=$t*tr,Zt=0,wt=0;if(ge==="clip"){var Ie=$(Se);Zt=Ie*tr,wt=Ie*Gt}var xt=ot.x+Te-Zt,be=ot.y+he-wt,Ye=xt+ot.width+2*Zt-Te-ct-Me,mt=be+ot.height+2*wt-he-Pt-ce;dt.left=Math.max(dt.left,xt),dt.top=Math.max(dt.top,be),dt.right=Math.min(dt.right,Ye),dt.bottom=Math.min(dt.bottom,mt)}}),dt}function _e(nt){var bt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,dt="".concat(bt),et=dt.match(/^(.*)\%$/);return et?nt*(parseFloat(et[1])/100):parseFloat(dt)}function Pe(nt,bt){var dt=bt||[],et=(0,i.Z)(dt,2),ze=et[0],ge=et[1];return[_e(nt.width,ze),_e(nt.height,ge)]}function De(){var nt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return[nt[0],nt[1]]}function He(nt,bt){var dt=bt[0],et=bt[1],ze,ge;return dt==="t"?ge=nt.y:dt==="b"?ge=nt.y+nt.height:ge=nt.y+nt.height/2,et==="l"?ze=nt.x:et==="r"?ze=nt.x+nt.width:ze=nt.x+nt.width/2,{x:ze,y:ge}}function Ne(nt,bt){var dt={t:"b",b:"t",l:"r",r:"l"};return nt.map(function(et,ze){return ze===bt?dt[et]||"c":et}).join("")}function Ft(nt,bt,dt,et,ze,ge,Se){var Le=b.useState({ready:!1,offsetX:0,offsetY:0,offsetR:0,offsetB:0,arrowX:0,arrowY:0,scaleX:1,scaleY:1,align:ze[et]||{}}),$e=(0,i.Z)(Le,2),We=$e[0],rt=$e[1],ot=b.useRef(0),Kt=b.useMemo(function(){return bt?ue(bt):[]},[bt]),Wt=b.useRef({}),Ce=function(){Wt.current={}};nt||Ce();var Je=(0,x.Z)(function(){if(bt&&dt&&nt){let Xa=function(Rs,vo){var zo=arguments.length>2&&arguments[2]!==void 0?arguments[2]:Ln,Ko=Fe.x+Rs,Yo=Fe.y+vo,rs=Ko+cn,vs=Yo+Ur,Ao=Math.max(Ko,zo.left),Zo=Math.max(Yo,zo.top),Lo=Math.min(rs,zo.right),Xo=Math.min(vs,zo.bottom);return Math.max(0,(Lo-Ao)*(Xo-Zo))},Ha=function(){ar=Fe.y+er,Er=ar+Ur,kr=Fe.x+An,Ir=kr+cn};var Ht,$t,tr=bt,Gt=tr.ownerDocument,Me=Q(tr),ce=Me.getComputedStyle(tr),he=ce.width,Pt=ce.height,Te=ce.position,ct=tr.style.left,Zt=tr.style.top,wt=tr.style.right,Ie=tr.style.bottom,xt=tr.style.overflow,be=(0,r.Z)((0,r.Z)({},ze[et]),ge),Ye=Gt.createElement("div");(Ht=tr.parentElement)===null||Ht===void 0||Ht.appendChild(Ye),Ye.style.left="".concat(tr.offsetLeft,"px"),Ye.style.top="".concat(tr.offsetTop,"px"),Ye.style.position=Te,Ye.style.height="".concat(tr.offsetHeight,"px"),Ye.style.width="".concat(tr.offsetWidth,"px"),tr.style.left="0",tr.style.top="0",tr.style.right="auto",tr.style.bottom="auto",tr.style.overflow="hidden";var mt;if(Array.isArray(dt))mt={x:dt[0],y:dt[1],width:0,height:0};else{var Lt=dt.getBoundingClientRect();mt={x:Lt.x,y:Lt.y,width:Lt.width,height:Lt.height}}var Fe=tr.getBoundingClientRect(),Or=Gt.documentElement,St=Or.clientWidth,Vr=Or.clientHeight,tn=Or.scrollWidth,wr=Or.scrollHeight,Nr=Or.scrollTop,gr=Or.scrollLeft,Ur=Fe.height,cn=Fe.width,hn=mt.height,ur=mt.width,Rt={left:0,top:0,right:St,bottom:Vr},_t={left:-gr,top:-Nr,right:tn-gr,bottom:wr-Nr},vt=be.htmlRegion,jt="visible",Cr="visibleFirst";vt!=="scroll"&&vt!==Cr&&(vt=jt);var yr=vt===Cr,nn=ie(_t,Kt),Kr=ie(Rt,Kt),Ln=vt===jt?Kr:nn,At=yr?Kr:Ln;tr.style.left="auto",tr.style.top="auto",tr.style.right="0",tr.style.bottom="0";var cr=tr.getBoundingClientRect();tr.style.left=ct,tr.style.top=Zt,tr.style.right=wt,tr.style.bottom=Ie,tr.style.overflow=xt,($t=tr.parentElement)===null||$t===void 0||$t.removeChild(Ye);var Qr=U(Math.round(cn/parseFloat(he)*1e3)/1e3),yn=U(Math.round(Ur/parseFloat(Pt)*1e3)/1e3);if(Qr===0||yn===0||(0,u.Sh)(dt)&&!(0,J.Z)(dt))return;var Gn=be.offset,fi=be.targetOffset,Xn=Pe(Fe,Gn),Ki=(0,i.Z)(Xn,2),hi=Ki[0],bi=Ki[1],Di=Pe(mt,fi),wi=(0,i.Z)(Di,2),fa=wi[0],ri=wi[1];mt.x-=fa,mt.y-=ri;var la=be.points||[],Et=(0,i.Z)(la,2),it=Et[0],ni=Et[1],Oi=De(ni),ii=De(it),sa=He(mt,Oi),Ti=He(Fe,ii),ci=(0,r.Z)({},be),An=sa.x-Ti.x+hi,er=sa.y-Ti.y+bi,pt=Xa(An,er),tt=Xa(An,er,Kr),Ot=He(mt,["t","l"]),ft=He(Fe,["t","l"]),lr=He(mt,["b","r"]),dr=He(Fe,["b","r"]),Pr=be.overflow||{},zr=Pr.adjustX,Ze=Pr.adjustY,qe=Pr.shiftX,xe=Pr.shiftY,at=function(vo){return typeof vo=="boolean"?vo:vo>=0},ar,Er,kr,Ir;Ha();var jr=at(Ze),wn=ii[0]===Oi[0];if(jr&&ii[0]==="t"&&(Er>At.bottom||Wt.current.bt)){var Sr=er;wn?Sr-=Ur-hn:Sr=Ot.y-dr.y-bi;var pn=Xa(An,Sr),on=Xa(An,Sr,Kr);pn>pt||pn===pt&&(!yr||on>=tt)?(Wt.current.bt=!0,er=Sr,bi=-bi,ci.points=[Ne(ii,0),Ne(Oi,0)]):Wt.current.bt=!1}if(jr&&ii[0]==="b"&&(ar<At.top||Wt.current.tb)){var dn=er;wn?dn+=Ur-hn:dn=lr.y-ft.y-bi;var In=Xa(An,dn),Ia=Xa(An,dn,Kr);In>pt||In===pt&&(!yr||Ia>=tt)?(Wt.current.tb=!0,er=dn,bi=-bi,ci.points=[Ne(ii,0),Ne(Oi,0)]):Wt.current.tb=!1}var Ni=at(zr),gi=ii[1]===Oi[1];if(Ni&&ii[1]==="l"&&(Ir>At.right||Wt.current.rl)){var En=An;gi?En-=cn-ur:En=Ot.x-dr.x-hi;var pi=Xa(En,er),Qi=Xa(En,er,Kr);pi>pt||pi===pt&&(!yr||Qi>=tt)?(Wt.current.rl=!0,An=En,hi=-hi,ci.points=[Ne(ii,1),Ne(Oi,1)]):Wt.current.rl=!1}if(Ni&&ii[1]==="r"&&(kr<At.left||Wt.current.lr)){var Ea=An;gi?Ea+=cn-ur:Ea=lr.x-ft.x-hi;var Vs=Xa(Ea,er),wa=Xa(Ea,er,Kr);Vs>pt||Vs===pt&&(!yr||wa>=tt)?(Wt.current.lr=!0,An=Ea,hi=-hi,ci.points=[Ne(ii,1),Ne(Oi,1)]):Wt.current.lr=!1}Ha();var Fs=qe===!0?0:qe;typeof Fs=="number"&&(kr<Kr.left&&(An-=kr-Kr.left-hi,mt.x+ur<Kr.left+Fs&&(An+=mt.x-Kr.left+ur-Fs)),Ir>Kr.right&&(An-=Ir-Kr.right-hi,mt.x>Kr.right-Fs&&(An+=mt.x-Kr.right+Fs)));var Ks=xe===!0?0:xe;typeof Ks=="number"&&(ar<Kr.top&&(er-=ar-Kr.top-bi,mt.y+hn<Kr.top+Ks&&(er+=mt.y-Kr.top+hn-Ks)),Er>Kr.bottom&&(er-=Er-Kr.bottom-bi,mt.y>Kr.bottom-Ks&&(er+=mt.y-Kr.bottom+Ks)));var es=Fe.x+An,Hs=es+cn,Jn=Fe.y+er,ws=Jn+Ur,fs=mt.x,Ys=fs+ur,ea=mt.y,Bs=ea+hn,Vo=Math.max(es,fs),Ka=Math.min(Hs,Ys),va=(Vo+Ka)/2,is=va-es,mo=Math.max(Jn,ea),Nn=Math.min(ws,Bs),ts=(mo+Nn)/2,Ps=ts-Jn;Se==null||Se(bt,ci);var Is=cr.right-Fe.x-(An+Fe.width),Yi=cr.bottom-Fe.y-(er+Fe.height);rt({ready:!0,offsetX:An/Qr,offsetY:er/yn,offsetR:Is/Qr,offsetB:Yi/yn,arrowX:is/Qr,arrowY:Ps/yn,scaleX:Qr,scaleY:yn,align:ci})}}),Yt=function(){ot.current+=1;var $t=ot.current;Promise.resolve().then(function(){ot.current===$t&&Je()})},kt=function(){rt(function($t){return(0,r.Z)((0,r.Z)({},$t),{},{ready:!1})})};return(0,y.Z)(kt,[et]),(0,y.Z)(function(){nt||kt()},[nt]),[We.ready,We.offsetX,We.offsetY,We.offsetR,We.offsetB,We.arrowX,We.arrowY,We.scaleX,We.scaleY,We.align,Yt]}var gt=e(15142);function Dt(nt,bt,dt,et,ze){(0,y.Z)(function(){if(nt&&bt&&dt){let ot=function(){et(),ze()};var ge=bt,Se=dt,Le=ue(ge),$e=ue(Se),We=Q(Se),rt=new Set([We].concat((0,gt.Z)(Le),(0,gt.Z)($e)));return rt.forEach(function(Kt){Kt.addEventListener("scroll",ot,{passive:!0})}),We.addEventListener("resize",ot,{passive:!0}),et(),function(){rt.forEach(function(Kt){Kt.removeEventListener("scroll",ot),We.removeEventListener("resize",ot)})}}},[nt,bt,dt])}var rr=e(48736),Xt=e(16089);function fr(nt,bt,dt,et,ze,ge,Se,Le){var $e=b.useRef(nt),We=b.useRef(!1);$e.current!==nt&&(We.current=!0,$e.current=nt),b.useEffect(function(){var rt=(0,Xt.Z)(function(){We.current=!1});return function(){Xt.Z.cancel(rt)}},[nt]),b.useEffect(function(){if(bt&&et&&(!ze||ge)){var rt=function(){var Te=!1,ct=function(Ie){var xt=Ie.target;Te=Se(xt)},Zt=function(Ie){var xt=Ie.target;!We.current&&$e.current&&!Te&&!Se(xt)&&Le(!1)};return[ct,Zt]},ot=rt(),Kt=(0,i.Z)(ot,2),Wt=Kt[0],Ce=Kt[1],Je=rt(),Yt=(0,i.Z)(Je,2),kt=Yt[0],Ht=Yt[1],$t=Q(et);$t.addEventListener("mousedown",Wt,!0),$t.addEventListener("click",Ce,!0),$t.addEventListener("contextmenu",Ce,!0);var tr=(0,a.A)(dt);if(tr&&(tr.addEventListener("mousedown",kt,!0),tr.addEventListener("click",Ht,!0),tr.addEventListener("contextmenu",Ht,!0)),0)var Gt,Me,ce,he;return function(){$t.removeEventListener("mousedown",Wt,!0),$t.removeEventListener("click",Ce,!0),$t.removeEventListener("contextmenu",Ce,!0),tr&&(tr.removeEventListener("mousedown",kt,!0),tr.removeEventListener("click",Ht,!0),tr.removeEventListener("contextmenu",Ht,!0))}}},[bt,dt,et,ze,ge])}var Ge=["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 Tt(){var nt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:c.Z,bt=b.forwardRef(function(dt,et){var ze=dt.prefixCls,ge=ze===void 0?"rc-trigger-popup":ze,Se=dt.children,Le=dt.action,$e=Le===void 0?"hover":Le,We=dt.showAction,rt=dt.hideAction,ot=dt.popupVisible,Kt=dt.defaultPopupVisible,Wt=dt.onPopupVisibleChange,Ce=dt.afterPopupVisibleChange,Je=dt.mouseEnterDelay,Yt=dt.mouseLeaveDelay,kt=Yt===void 0?.1:Yt,Ht=dt.focusDelay,$t=dt.blurDelay,tr=dt.mask,Gt=dt.maskClosable,Me=Gt===void 0?!0:Gt,ce=dt.getPopupContainer,he=dt.forceRender,Pt=dt.autoDestroy,Te=dt.destroyPopupOnHide,ct=dt.popup,Zt=dt.popupClassName,wt=dt.popupStyle,Ie=dt.popupPlacement,xt=dt.builtinPlacements,be=xt===void 0?{}:xt,Ye=dt.popupAlign,mt=dt.zIndex,Lt=dt.stretch,Fe=dt.getPopupClassNameFromAlign,Or=dt.fresh,St=dt.alignPoint,Vr=dt.onPopupClick,tn=dt.onPopupAlign,wr=dt.arrow,Nr=dt.popupMotion,gr=dt.maskMotion,Ur=dt.popupTransitionName,cn=dt.popupAnimation,hn=dt.maskTransitionName,ur=dt.maskAnimation,Rt=dt.className,_t=dt.getTriggerDOMNode,vt=(0,l.Z)(dt,Ge),jt=Pt||Te||!1,Cr=b.useState(!1),yr=(0,i.Z)(Cr,2),nn=yr[0],Kr=yr[1];(0,y.Z)(function(){Kr((0,_.Z)())},[]);var Ln=b.useRef({}),At=b.useContext(ne),cr=b.useMemo(function(){return{registerSubPopup:function(_i,as){Ln.current[_i]=as,At==null||At.registerSubPopup(_i,as)}}},[At]),Qr=(0,p.Z)(),yn=b.useState(null),Gn=(0,i.Z)(yn,2),fi=Gn[0],Xn=Gn[1],Ki=(0,x.Z)(function(xi){(0,u.Sh)(xi)&&fi!==xi&&Xn(xi),At==null||At.registerSubPopup(Qr,xi)}),hi=b.useState(null),bi=(0,i.Z)(hi,2),Di=bi[0],wi=bi[1],fa=b.useRef(null),ri=(0,x.Z)(function(xi){(0,u.Sh)(xi)&&Di!==xi&&(wi(xi),fa.current=xi)}),la=b.Children.only(Se),Et=(la==null?void 0:la.props)||{},it={},ni=(0,x.Z)(function(xi){var _i,as,ds=Di;return(ds==null?void 0:ds.contains(xi))||((_i=(0,a.A)(ds))===null||_i===void 0?void 0:_i.host)===xi||xi===ds||(fi==null?void 0:fi.contains(xi))||((as=(0,a.A)(fi))===null||as===void 0?void 0:as.host)===xi||xi===fi||Object.values(Ln.current).some(function(ss){return(ss==null?void 0:ss.contains(xi))||xi===ss})}),Oi=ee(ge,Nr,cn,Ur),ii=ee(ge,gr,ur,hn),sa=b.useState(Kt||!1),Ti=(0,i.Z)(sa,2),ci=Ti[0],An=Ti[1],er=ot!=null?ot:ci,pt=(0,x.Z)(function(xi){ot===void 0&&An(xi)});(0,y.Z)(function(){An(ot||!1)},[ot]);var tt=b.useRef(er);tt.current=er;var Ot=b.useRef([]);Ot.current=[];var ft=(0,x.Z)(function(xi){var _i;pt(xi),((_i=Ot.current[Ot.current.length-1])!==null&&_i!==void 0?_i:er)!==xi&&(Ot.current.push(xi),Wt==null||Wt(xi))}),lr=b.useRef(),dr=function(){clearTimeout(lr.current)},Pr=function(_i){var as=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;dr(),as===0?ft(_i):lr.current=setTimeout(function(){ft(_i)},as*1e3)};b.useEffect(function(){return dr},[]);var zr=b.useState(!1),Ze=(0,i.Z)(zr,2),qe=Ze[0],xe=Ze[1];(0,y.Z)(function(xi){(!xi||er)&&xe(!0)},[er]);var at=b.useState(null),ar=(0,i.Z)(at,2),Er=ar[0],kr=ar[1],Ir=b.useState([0,0]),jr=(0,i.Z)(Ir,2),wn=jr[0],Sr=jr[1],pn=function(_i){Sr([_i.clientX,_i.clientY])},on=Ft(er,fi,St?wn:Di,Ie,be,Ye,tn),dn=(0,i.Z)(on,11),In=dn[0],Ia=dn[1],Ni=dn[2],gi=dn[3],En=dn[4],pi=dn[5],Qi=dn[6],Ea=dn[7],Vs=dn[8],wa=dn[9],Fs=dn[10],Ks=q(nn,$e,We,rt),es=(0,i.Z)(Ks,2),Hs=es[0],Jn=es[1],ws=Hs.has("click"),fs=Jn.has("click")||Jn.has("contextMenu"),Ys=(0,x.Z)(function(){qe||Fs()}),ea=function(){tt.current&&St&&fs&&Pr(!1)};Dt(er,Di,fi,Ys,ea),(0,y.Z)(function(){Ys()},[wn,Ie]),(0,y.Z)(function(){er&&!(be!=null&&be[Ie])&&Ys()},[JSON.stringify(Ye)]);var Bs=b.useMemo(function(){var xi=se(be,ge,wa,St);return o()(xi,Fe==null?void 0:Fe(wa))},[wa,Fe,be,ge,St]);b.useImperativeHandle(et,function(){return{nativeElement:fa.current,forceAlign:Ys}});var Vo=b.useState(0),Ka=(0,i.Z)(Vo,2),va=Ka[0],is=Ka[1],mo=b.useState(0),Nn=(0,i.Z)(mo,2),ts=Nn[0],Ps=Nn[1],Is=function(){if(Lt&&Di){var _i=Di.getBoundingClientRect();is(_i.width),Ps(_i.height)}},Yi=function(){Is(),Ys()},Xa=function(_i){xe(!1),Fs(),Ce==null||Ce(_i)},Ha=function(){return new Promise(function(_i){Is(),kr(function(){return _i})})};(0,y.Z)(function(){Er&&(Fs(),Er(),kr(null))},[Er]);function Rs(xi,_i,as,ds){it[xi]=function(ss){var go;ds==null||ds(ss),Pr(_i,as);for(var Ho=arguments.length,du=new Array(Ho>1?Ho-1:0),Ls=1;Ls<Ho;Ls++)du[Ls-1]=arguments[Ls];(go=Et[xi])===null||go===void 0||go.call.apply(go,[Et,ss].concat(du))}}(ws||fs)&&(it.onClick=function(xi){var _i;tt.current&&fs?Pr(!1):!tt.current&&ws&&(pn(xi),Pr(!0));for(var as=arguments.length,ds=new Array(as>1?as-1:0),ss=1;ss<as;ss++)ds[ss-1]=arguments[ss];(_i=Et.onClick)===null||_i===void 0||_i.call.apply(_i,[Et,xi].concat(ds))}),fr(er,fs,Di,fi,tr,Me,ni,Pr);var vo=Hs.has("hover"),zo=Jn.has("hover"),Ko,Yo;vo&&(Rs("onMouseEnter",!0,Je,function(xi){pn(xi)}),Rs("onPointerEnter",!0,Je,function(xi){pn(xi)}),Ko=function(_i){(er||qe)&&fi!==null&&fi!==void 0&&fi.contains(_i.target)&&Pr(!0,Je)},St&&(it.onMouseMove=function(xi){var _i;(_i=Et.onMouseMove)===null||_i===void 0||_i.call(Et,xi)})),zo&&(Rs("onMouseLeave",!1,kt),Rs("onPointerLeave",!1,kt),Yo=function(){Pr(!1,kt)}),Hs.has("focus")&&Rs("onFocus",!0,Ht),Jn.has("focus")&&Rs("onBlur",!1,$t),Hs.has("contextMenu")&&(it.onContextMenu=function(xi){var _i;tt.current&&Jn.has("contextMenu")?Pr(!1):(pn(xi),Pr(!0)),xi.preventDefault();for(var as=arguments.length,ds=new Array(as>1?as-1:0),ss=1;ss<as;ss++)ds[ss-1]=arguments[ss];(_i=Et.onContextMenu)===null||_i===void 0||_i.call.apply(_i,[Et,xi].concat(ds))}),Rt&&(it.className=o()(Et.className,Rt));var rs=(0,r.Z)((0,r.Z)({},Et),it),vs={},Ao=["onContextMenu","onClick","onMouseDown","onTouchStart","onMouseEnter","onMouseLeave","onFocus","onBlur"];Ao.forEach(function(xi){vt[xi]&&(vs[xi]=function(){for(var _i,as=arguments.length,ds=new Array(as),ss=0;ss<as;ss++)ds[ss]=arguments[ss];(_i=rs[xi])===null||_i===void 0||_i.call.apply(_i,[rs].concat(ds)),vt[xi].apply(vt,ds)})});var Zo=b.cloneElement(la,(0,r.Z)((0,r.Z)({},rs),vs)),Lo={x:pi,y:Qi},Xo=wr?(0,r.Z)({},wr!==!0?wr:{}):null;return b.createElement(b.Fragment,null,b.createElement(h.Z,{disabled:!er,ref:ri,onResize:Yi},b.createElement(H,{getTriggerDOMNode:_t},Zo)),b.createElement(ne.Provider,{value:cr},b.createElement(K,{portal:nt,ref:Ki,prefixCls:ge,popup:ct,className:o()(Zt,Bs),style:wt,target:Di,onMouseEnter:Ko,onMouseLeave:Yo,onPointerEnter:Ko,zIndex:mt,open:er,keepDom:qe,fresh:Or,onClick:Vr,mask:tr,motion:Oi,maskMotion:ii,onVisibleChanged:Xa,onPrepare:Ha,forceRender:he,autoDestroy:jt,getPopupContainer:ce,align:wa,arrow:Xo,arrowPos:Lo,ready:In,offsetX:Ia,offsetY:Ni,offsetR:gi,offsetB:En,onAlign:Ys,stretch:Lt,targetWidth:va/Ea,targetHeight:ts/Vs})))});return bt}var zt=Tt(c.Z)},88831:function(){"use strict"},24957:function(d,v){"use strict";v.Z={loading:"loading___hdeS1",layoutMainClass:"layoutMainClass___t8btz"}},33796: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},45434:function(d,v,e){"use strict";e.d(v,{zt:function(){return gs},$j:function(){return qi},Ue:function(){return vo},I0:function(){return oo},v9:function(){return hu}});var r={};e.r(r),e.d(r,{actionChannel:function(){return ur},all:function(){return Fe},apply:function(){return tn},call:function(){return Vr},cancel:function(){return cn},cancelled:function(){return Rt},cps:function(){return wr},flush:function(){return _t},fork:function(){return Nr},getContext:function(){return vt},join:function(){return Ur},put:function(){return Lt},race:function(){return Or},select:function(){return hn},setContext:function(){return jt},spawn:function(){return gr},take:function(){return Ye},takeEvery:function(){return pt},takeLatest:function(){return tt},takem:function(){return mt},throttle:function(){return Ot}});var i=e(59301),l=e(19456),c=e(59781),f=Object.assign||function(Xe){for(var Qe=1;Qe<arguments.length;Qe++){var Mt=arguments[Qe];for(var Vt in Mt)Object.prototype.hasOwnProperty.call(Mt,Vt)&&(Xe[Vt]=Mt[Vt])}return Xe},o=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(Xe){return typeof Xe}:function(Xe){return Xe&&typeof Symbol=="function"&&Xe.constructor===Symbol&&Xe!==Symbol.prototype?"symbol":typeof Xe},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 P(Xe,Qe,Mt){if(!Qe(Xe))throw ue("error","uncaught at check",Mt),new Error(Mt)}var M=Object.prototype.hasOwnProperty;function B(Xe,Qe){return N.notUndef(Xe)&&M.call(Xe,Qe)}var N={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&&!N.array(Qe)&&(typeof Qe=="undefined"?"undefined":o(Qe))==="object"},promise:function(Qe){return Qe&&N.func(Qe.then)},iterator:function(Qe){return Qe&&N.func(Qe.next)&&N.func(Qe.throw)},iterable:function(Qe){return Qe&&N.func(Symbol)?N.func(Qe[Symbol.iterator]):N.array(Qe)},task:function(Qe){return Qe&&Qe[u]},observable:function(Qe){return Qe&&N.func(Qe.subscribe)},buffer:function(Qe){return Qe&&N.func(Qe.isEmpty)&&N.func(Qe.take)&&N.func(Qe.put)},pattern:function(Qe){return Qe&&(N.string(Qe)||(typeof Qe=="undefined"?"undefined":o(Qe))==="symbol"||N.func(Qe)||N.array(Qe))},channel:function(Qe){return Qe&&N.func(Qe.take)&&N.func(Qe.close)},helper:function(Qe){return Qe&&Qe[a]},stringableFunc:function(Qe){return N.func(Qe)&&B(Qe,"toString")}},K={assign:function(Qe,Mt){for(var Vt in Mt)B(Mt,Vt)&&(Qe[Vt]=Mt[Vt])}};function G(Xe,Qe){var Mt=Xe.indexOf(Qe);Mt>=0&&Xe.splice(Mt,1)}var H={from:function(Qe){var Mt=Array(Qe.length);for(var Vt in Qe)B(Qe,Vt)&&(Mt[Vt]=Qe[Vt]);return Mt}};function ae(){var Xe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},Qe=f({},Xe),Mt=new Promise(function(Vt,br){Qe.resolve=Vt,Qe.reject=br});return Qe.promise=Mt,Qe}function ne(Xe){for(var Qe=[],Mt=0;Mt<Xe;Mt++)Qe.push(ae());return Qe}function oe(Xe){var Qe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,Mt=void 0,Vt=new Promise(function(br){Mt=setTimeout(function(){return br(Qe)},Xe)});return Vt[p]=function(){return clearTimeout(Mt)},Vt}function q(){var Xe,Qe=!0,Mt=void 0,Vt=void 0;return Xe={},Xe[u]=!0,Xe.isRunning=function(){return Qe},Xe.result=function(){return Mt},Xe.error=function(){return Vt},Xe.setRunning=function(Mr){return Qe=Mr},Xe.setResult=function(Mr){return Mt=Mr},Xe.setError=function(Mr){return Vt=Mr},Xe}function J(){var Xe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0;return function(){return++Xe}}var V=J(),se=function(Qe){throw Qe},ee=function(Qe){return{value:Qe,done:!0}};function Q(Xe){var Qe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:se,Mt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"",Vt=arguments[3],br={name:Mt,next:Xe,throw:Qe,return:ee};return Vt&&(br[a]=!0),typeof Symbol!="undefined"&&(br[Symbol.iterator]=function(){return br}),br}function ue(Xe,Qe){var Mt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"";typeof window=="undefined"?console.log("redux-saga "+Xe+": "+Qe+`
|
|
|
`+(Mt&&Mt.stack||Mt)):console[Xe](Qe,Mt)}function U(Xe,Qe){return function(){return Xe.apply(void 0,arguments)}}var $=function(Qe,Mt){return Qe+" has been deprecated in favor of "+Mt+", please update your code"},ie=function(Qe){return new Error(`
|
|
|
redux-saga: Error checking hooks detected an inconsistent state. This is likely a bug
|
|
|
in redux-saga code and not yours. Thanks for reporting this in the project's github repo.
|
|
|
Error: `+Qe+`
|
|
|
`)},_e=function(Qe,Mt){return(Qe?Qe+".":"")+"setContext(props): argument "+Mt+" is not a plain object"},Pe=function(Qe){return function(Mt){return Qe(Object.defineProperty(Mt,y,{value:!0}))}},De=function Xe(Qe){return function(){for(var Mt=arguments.length,Vt=Array(Mt),br=0;br<Mt;br++)Vt[br]=arguments[br];var Mr=[],Zr=Qe.apply(void 0,Vt);return{next:function(ln){return Mr.push(ln),Zr.next(ln)},clone:function(){var ln=Xe(Qe).apply(void 0,Vt);return Mr.forEach(function(xn){return ln.next(xn)}),ln},return:function(ln){return Zr.return(ln)},throw:function(ln){return Zr.throw(ln)}}}},He="Channel's Buffer overflow!",Ne=1,Ft=2,gt=3,Dt=4,rr={isEmpty:S,put:R,take:R};function Xt(){var Xe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:10,Qe=arguments[1],Mt=new Array(Xe),Vt=0,br=0,Mr=0,Zr=function(ai){Mt[br]=ai,br=(br+1)%Xe,Vt++},bn=function(){if(Vt!=0){var ai=Mt[Mr];return Mt[Mr]=null,Vt--,Mr=(Mr+1)%Xe,ai}},ln=function(){for(var ai=[];Vt;)ai.push(bn());return ai};return{isEmpty:function(){return Vt==0},put:function(ai){if(Vt<Xe)Zr(ai);else{var ui=void 0;switch(Qe){case Ne:throw new Error(He);case gt:Mt[br]=ai,br=(br+1)%Xe,Mr=br;break;case Dt:ui=2*Xe,Mt=ln(),Vt=Mt.length,br=Mt.length,Mr=0,Mt.length=ui,Xe=ui,Zr(ai);break;default:}}},take:bn,flush:ln}}var fr={none:function(){return rr},fixed:function(Qe){return Xt(Qe,Ne)},dropping:function(Qe){return Xt(Qe,Ft)},sliding:function(Qe){return Xt(Qe,gt)},expanding:function(Qe){return Xt(Qe,Dt)}},Ge=[],Tt=0;function zt(Xe){try{bt(),Xe()}finally{dt()}}function nt(Xe){Ge.push(Xe),Tt||(bt(),et())}function bt(){Tt++}function dt(){Tt--}function et(){dt();for(var Xe=void 0;!Tt&&(Xe=Ge.shift())!==void 0;)zt(Xe)}var ze=Object.assign||function(Xe){for(var Qe=1;Qe<arguments.length;Qe++){var Mt=arguments[Qe];for(var Vt in Mt)Object.prototype.hasOwnProperty.call(Mt,Vt)&&(Xe[Vt]=Mt[Vt])}return Xe},ge="@@redux-saga/CHANNEL_END",Se={type:ge},Le=function(Qe){return Qe&&Qe.type===ge};function $e(){var Xe=[];function Qe(Vt){return Xe.push(Vt),function(){return G(Xe,Vt)}}function Mt(Vt){for(var br=Xe.slice(),Mr=0,Zr=br.length;Mr<Zr;Mr++)br[Mr](Vt)}return{subscribe:Qe,emit:Mt}}var We="invalid buffer passed to channel factory function",rt="Saga was provided with an undefined action";function ot(){var Xe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:fr.fixed(),Qe=!1,Mt=[];P(Xe,N.buffer,We);function Vt(){if(Qe&&Mt.length)throw ie("Cannot have a closed channel with pending takers");if(Mt.length&&!Xe.isEmpty())throw ie("Cannot have pending takers with non empty buffer")}function br(ln){if(Vt(),P(ln,N.notUndef,rt),!Qe){if(!Mt.length)return Xe.put(ln);for(var xn=0;xn<Mt.length;xn++){var ai=Mt[xn];if(!ai[x]||ai[x](ln))return Mt.splice(xn,1),ai(ln)}}}function Mr(ln){Vt(),P(ln,N.func,"channel.take's callback must be a function"),Qe&&Xe.isEmpty()?ln(Se):Xe.isEmpty()?(Mt.push(ln),ln.cancel=function(){return G(Mt,ln)}):ln(Xe.take())}function Zr(ln){if(Vt(),P(ln,N.func,"channel.flush' callback must be a function"),Qe&&Xe.isEmpty()){ln(Se);return}ln(Xe.flush())}function bn(){if(Vt(),!Qe&&(Qe=!0,Mt.length)){var ln=Mt;Mt=[];for(var xn=0,ai=ln.length;xn<ai;xn++)ln[xn](Se)}}return{take:Mr,put:br,flush:Zr,close:bn,get __takers__(){return Mt},get __closed__(){return Qe}}}function Kt(Xe){var Qe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:fr.none(),Mt=arguments[2];arguments.length>2&&P(Mt,N.func,"Invalid match function passed to eventChannel");var Vt=ot(Qe),br=function(){Vt.__closed__||(Mr&&Mr(),Vt.close())},Mr=Xe(function(Zr){if(Le(Zr)){br();return}Mt&&!Mt(Zr)||Vt.put(Zr)});if(Vt.__closed__&&Mr(),!N.func(Mr))throw new Error("in eventChannel: subscribe should return a function to unsubscribe");return{take:Vt.take,flush:Vt.flush,close:br}}function Wt(Xe){var Qe=Kt(function(Mt){return Xe(function(Vt){if(Vt[y]){Mt(Vt);return}nt(function(){return Mt(Vt)})})});return ze({},Qe,{take:function(Vt,br){arguments.length>1&&(P(br,N.func,"channel.take's matcher argument must be a function"),Vt[x]=br),Qe.take(Vt)}})}var Ce=h("IO"),Je="TAKE",Yt="PUT",kt="ALL",Ht="RACE",$t="CALL",tr="CPS",Gt="FORK",Me="JOIN",ce="CANCEL",he="SELECT",Pt="ACTION_CHANNEL",Te="CANCELLED",ct="FLUSH",Zt="GET_CONTEXT",wt="SET_CONTEXT",Ie=`
|
|
|
(HINT: if you are getting this errors in tests, consider using createMockTask from redux-saga/utils)`,xt=function(Qe,Mt){var Vt;return Vt={},Vt[Ce]=!0,Vt[Qe]=Mt,Vt},be=function(Qe){return P(yr.fork(Qe),N.object,"detach(eff): argument must be a fork effect"),Qe[Gt].detached=!0,Qe};function Ye(){var Xe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"*";if(arguments.length&&P(arguments[0],N.notUndef,"take(patternOrChannel): patternOrChannel is undefined"),N.pattern(Xe))return xt(Je,{pattern:Xe});if(N.channel(Xe))return xt(Je,{channel:Xe});throw new Error("take(patternOrChannel): argument "+String(Xe)+" is not valid channel or a valid pattern")}Ye.maybe=function(){var Xe=Ye.apply(void 0,arguments);return Xe[Je].maybe=!0,Xe};var mt=U(Ye.maybe,$("takem","take.maybe"));function Lt(Xe,Qe){return arguments.length>1?(P(Xe,N.notUndef,"put(channel, action): argument channel is undefined"),P(Xe,N.channel,"put(channel, action): argument "+Xe+" is not a valid channel"),P(Qe,N.notUndef,"put(channel, action): argument action is undefined")):(P(Xe,N.notUndef,"put(action): argument action is undefined"),Qe=Xe,Xe=null),xt(Yt,{channel:Xe,action:Qe})}Lt.resolve=function(){var Xe=Lt.apply(void 0,arguments);return Xe[Yt].resolve=!0,Xe},Lt.sync=U(Lt.resolve,$("put.sync","put.resolve"));function Fe(Xe){return xt(kt,Xe)}function Or(Xe){return xt(Ht,Xe)}function St(Xe,Qe,Mt){P(Qe,N.notUndef,Xe+": argument fn is undefined");var Vt=null;if(N.array(Qe)){var br=Qe;Vt=br[0],Qe=br[1]}else if(Qe.fn){var Mr=Qe;Vt=Mr.context,Qe=Mr.fn}return Vt&&N.string(Qe)&&N.func(Vt[Qe])&&(Qe=Vt[Qe]),P(Qe,N.func,Xe+": argument "+Qe+" is not a function"),{context:Vt,fn:Qe,args:Mt}}function Vr(Xe){for(var Qe=arguments.length,Mt=Array(Qe>1?Qe-1:0),Vt=1;Vt<Qe;Vt++)Mt[Vt-1]=arguments[Vt];return xt($t,St("call",Xe,Mt))}function tn(Xe,Qe){var Mt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[];return xt($t,St("apply",{context:Xe,fn:Qe},Mt))}function wr(Xe){for(var Qe=arguments.length,Mt=Array(Qe>1?Qe-1:0),Vt=1;Vt<Qe;Vt++)Mt[Vt-1]=arguments[Vt];return xt(tr,St("cps",Xe,Mt))}function Nr(Xe){for(var Qe=arguments.length,Mt=Array(Qe>1?Qe-1:0),Vt=1;Vt<Qe;Vt++)Mt[Vt-1]=arguments[Vt];return xt(Gt,St("fork",Xe,Mt))}function gr(Xe){for(var Qe=arguments.length,Mt=Array(Qe>1?Qe-1:0),Vt=1;Vt<Qe;Vt++)Mt[Vt-1]=arguments[Vt];return be(Nr.apply(void 0,[Xe].concat(Mt)))}function Ur(){for(var Xe=arguments.length,Qe=Array(Xe),Mt=0;Mt<Xe;Mt++)Qe[Mt]=arguments[Mt];if(Qe.length>1)return Fe(Qe.map(function(br){return Ur(br)}));var Vt=Qe[0];return P(Vt,N.notUndef,"join(task): argument task is undefined"),P(Vt,N.task,"join(task): argument "+Vt+" is not a valid Task object "+Ie),xt(Me,Vt)}function cn(){for(var Xe=arguments.length,Qe=Array(Xe),Mt=0;Mt<Xe;Mt++)Qe[Mt]=arguments[Mt];if(Qe.length>1)return Fe(Qe.map(function(br){return cn(br)}));var Vt=Qe[0];return Qe.length===1&&(P(Vt,N.notUndef,"cancel(task): argument task is undefined"),P(Vt,N.task,"cancel(task): argument "+Vt+" is not a valid Task object "+Ie)),xt(ce,Vt||_)}function hn(Xe){for(var Qe=arguments.length,Mt=Array(Qe>1?Qe-1:0),Vt=1;Vt<Qe;Vt++)Mt[Vt-1]=arguments[Vt];return arguments.length===0?Xe=A:(P(Xe,N.notUndef,"select(selector,[...]): argument selector is undefined"),P(Xe,N.func,"select(selector,[...]): argument "+Xe+" is not a function")),xt(he,{selector:Xe,args:Mt})}function ur(Xe,Qe){return P(Xe,N.notUndef,"actionChannel(pattern,...): argument pattern is undefined"),arguments.length>1&&(P(Qe,N.notUndef,"actionChannel(pattern, buffer): argument buffer is undefined"),P(Qe,N.buffer,"actionChannel(pattern, buffer): argument "+Qe+" is not a valid buffer")),xt(Pt,{pattern:Xe,buffer:Qe})}function Rt(){return xt(Te,{})}function _t(Xe){return P(Xe,N.channel,"flush(channel): argument "+Xe+" is not valid channel"),xt(ct,Xe)}function vt(Xe){return P(Xe,N.string,"getContext(prop): argument "+Xe+" is not a string"),xt(Zt,Xe)}function jt(Xe){return P(Xe,N.object,_e(null,Xe)),xt(wt,Xe)}var Cr=function(Qe){return function(Mt){return Mt&&Mt[Ce]&&Mt[Qe]}},yr={take:Cr(Je),put:Cr(Yt),all:Cr(kt),race:Cr(Ht),call:Cr($t),cps:Cr(tr),fork:Cr(Gt),join:Cr(Me),cancel:Cr(ce),select:Cr(he),actionChannel:Cr(Pt),cancelled:Cr(Te),flush:Cr(ct),getContext:Cr(Zt),setContext:Cr(wt)},nn=Object.assign||function(Xe){for(var Qe=1;Qe<arguments.length;Qe++){var Mt=arguments[Qe];for(var Vt in Mt)Object.prototype.hasOwnProperty.call(Mt,Vt)&&(Xe[Vt]=Mt[Vt])}return Xe},Kr=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(Xe){return typeof Xe}:function(Xe){return Xe&&typeof Symbol=="function"&&Xe.constructor===Symbol&&Xe!==Symbol.prototype?"symbol":typeof Xe};function Ln(Xe,Qe){for(var Mt in Qe){var Vt=Qe[Mt];Vt.configurable=Vt.enumerable=!0,"value"in Vt&&(Vt.writable=!0),Object.defineProperty(Xe,Mt,Vt)}return Xe}var At="proc first argument (Saga function result) must be an iterator",cr={toString:function(){return"@@redux-saga/CHANNEL_END"}},Qr={toString:function(){return"@@redux-saga/TASK_CANCEL"}},yn={wildcard:function(){return S},default:function(Qe){return(typeof Qe=="undefined"?"undefined":Kr(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(Vt){return Gn(Vt)(Mt)})}},predicate:function(Qe){return function(Mt){return Qe(Mt)}}};function Gn(Xe){return(Xe==="*"?yn.wildcard:N.array(Xe)?yn.array:N.stringableFunc(Xe)?yn.default:N.func(Xe)?yn.predicate:yn.default)(Xe)}function fi(Xe,Qe,Mt){var Vt=[],br=void 0,Mr=!1;bn(Qe);function Zr(xn){ln(),Mt(xn,!0)}function bn(xn){Vt.push(xn),xn.cont=function(ai,ui){Mr||(G(Vt,xn),xn.cont=R,ui?Zr(ai):(xn===Qe&&(br=ai),Vt.length||(Mr=!0,Mt(br))))}}function ln(){Mr||(Mr=!0,Vt.forEach(function(xn){xn.cont=R,xn.cancel()}),Vt=[])}return{addTask:bn,cancelAll:ln,abort:Zr,getTasks:function(){return Vt},taskNames:function(){return Vt.map(function(ai){return ai.name})}}}function Xn(Xe){var Qe=Xe.context,Mt=Xe.fn,Vt=Xe.args;if(N.iterator(Mt))return Mt;var br=void 0,Mr=void 0;try{br=Mt.apply(Qe,Vt)}catch(Zr){Mr=Zr}return N.iterator(br)?br:Q(Mr?function(){throw Mr}:function(){var Zr=void 0,bn={done:!1,value:br},ln=function(ai){return{done:!0,value:ai}};return function(xn){return Zr?ln(xn):(Zr=!0,bn)}}())}var Ki=function(Qe){return{fn:Qe}};function hi(Xe){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,Vt=arguments.length>3&&arguments[3]!==void 0?arguments[3]:R,br=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,bn=arguments.length>7&&arguments[7]!==void 0?arguments[7]:"anonymous",ln=arguments[8];P(Xe,N.iterator,At);var xn="[...effects]",ai=U(ks,$(xn,"all("+xn+")")),ui=Mr.sagaMonitor,Pi=Mr.logger,Mi=Mr.onError,ra=Pi||ue,Xi=function(Jr){var Dn=Jr.sagaStack;!Dn&&Jr.stack&&(Dn=Jr.stack.split(`
|
|
|
`)[0].indexOf(Jr.message)!==-1?Jr.stack:"Error: "+Jr.message+`
|
|
|
`+Jr.stack),ra("error","uncaught at "+bn,Dn||Jr.message||Jr)},ki=Wt(Qe),Da=Object.create(br);na.cancel=R;var Ri=rn(Zr,bn,Xe,ln),Si={name:bn,cancel:bo,isRunning:!0},Sa=fi(bn,Si,Qa);function bo(){Si.isRunning&&!Si.isCancelled&&(Si.isCancelled=!0,na(Qr))}function Gs(){Xe._isRunning&&!Xe._isCancelled&&(Xe._isCancelled=!0,Sa.cancelAll(),Qa(Qr))}return ln&&(ln.cancel=Gs),Xe._isRunning=!0,na(),Ri;function na(xr,Jr){if(!Si.isRunning)throw new Error("Trying to resume an already finished generator");try{var Dn=void 0;Jr?Dn=Xe.throw(xr):xr===Qr?(Si.isCancelled=!0,na.cancel(),Dn=N.func(Xe.return)?Xe.return(Qr):{done:!0,value:Qr}):xr===cr?Dn=N.func(Xe.return)?Xe.return():{done:!0}:Dn=Xe.next(xr),Dn.done?(Si.isMainRunning=!1,Si.cont&&Si.cont(Dn.value)):pa(Dn.value,Zr,"",na)}catch(si){Si.isCancelled&&Xi(si),Si.isMainRunning=!1,Si.cont(si,!0)}}function Qa(xr,Jr){Xe._isRunning=!1,ki.close(),Jr?(xr instanceof Error&&Object.defineProperty(xr,"sagaStack",{value:"at "+bn+`
|
|
|
`+(xr.sagaStack||xr.stack),configurable:!0}),Ri.cont||(xr instanceof Error&&Mi?Mi(xr):Xi(xr)),Xe._error=xr,Xe._isAborted=!0,Xe._deferredEnd&&Xe._deferredEnd.reject(xr)):(Xe._result=xr,Xe._deferredEnd&&Xe._deferredEnd.resolve(xr)),Ri.cont&&Ri.cont(xr,Jr),Ri.joiners.forEach(function(Dn){return Dn.cb(xr,Jr)}),Ri.joiners=null}function pa(xr,Jr){var Dn=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"",si=arguments[3],Vi=V();ui&&ui.effectTriggered({effectId:Vi,parentEffectId:Jr,label:Dn,effect:xr});var jn=void 0;function Mn(ba,ia){jn||(jn=!0,si.cancel=R,ui&&(ia?ui.effectRejected(Vi,ba):ui.effectResolved(Vi,ba)),si(ba,ia))}Mn.cancel=R,si.cancel=function(){if(!jn){jn=!0;try{Mn.cancel()}catch(ba){Xi(ba)}Mn.cancel=R,ui&&ui.effectCancelled(Vi)}};var Vn=void 0;return N.promise(xr)?Hi(xr,Mn):N.helper(xr)?ko(Ki(xr),Vi,Mn):N.iterator(xr)?Ra(xr,Vi,bn,Mn):N.array(xr)?ai(xr,Vi,Mn):(Vn=yr.take(xr))?qa(Vn,Mn):(Vn=yr.put(xr))?hs(Vn,Mn):(Vn=yr.all(xr))?ks(Vn,Vi,Mn):(Vn=yr.race(xr))?ga(Vn,Vi,Mn):(Vn=yr.call(xr))?xo(Vn,Vi,Mn):(Vn=yr.cps(xr))?ps(Vn,Mn):(Vn=yr.fork(xr))?ko(Vn,Vi,Mn):(Vn=yr.join(xr))?os(Vn,Mn):(Vn=yr.cancel(xr))?_s(Vn,Mn):(Vn=yr.select(xr))?us(Vn,Mn):(Vn=yr.actionChannel(xr))?$s(Vn,Mn):(Vn=yr.flush(xr))?ye(Vn,Mn):(Vn=yr.cancelled(xr))?La(Vn,Mn):(Vn=yr.getContext(xr))?we(Vn,Mn):(Vn=yr.setContext(xr))?Ar(Vn,Mn):Mn(xr)}function Hi(xr,Jr){var Dn=xr[p];N.func(Dn)?Jr.cancel=Dn:N.func(xr.abort)&&(Jr.cancel=function(){return xr.abort()}),xr.then(Jr,function(si){return Jr(si,!0)})}function Ra(xr,Jr,Dn,si){hi(xr,Qe,Mt,Vt,Da,Mr,Jr,Dn,si)}function qa(xr,Jr){var Dn=xr.channel,si=xr.pattern,Vi=xr.maybe;Dn=Dn||ki;var jn=function(Vn){return Vn instanceof Error?Jr(Vn,!0):Le(Vn)&&!Vi?Jr(cr):Jr(Vn)};try{Dn.take(jn,Gn(si))}catch(Mn){return Jr(Mn,!0)}Jr.cancel=jn.cancel}function hs(xr,Jr){var Dn=xr.channel,si=xr.action,Vi=xr.resolve;nt(function(){var jn=void 0;try{jn=(Dn?Dn.put:Mt)(si)}catch(Mn){if(Dn||Vi)return Jr(Mn,!0);Xi(Mn)}if(Vi&&N.promise(jn))Hi(jn,Jr);else return Jr(jn)})}function xo(xr,Jr,Dn){var si=xr.context,Vi=xr.fn,jn=xr.args,Mn=void 0;try{Mn=Vi.apply(si,jn)}catch(Vn){return Dn(Vn,!0)}return N.promise(Mn)?Hi(Mn,Dn):N.iterator(Mn)?Ra(Mn,Jr,Vi.name,Dn):Dn(Mn)}function ps(xr,Jr){var Dn=xr.context,si=xr.fn,Vi=xr.args;try{var jn=function(Vn,ba){return N.undef(Vn)?Jr(ba):Jr(Vn,!0)};si.apply(Dn,Vi.concat(jn)),jn.cancel&&(Jr.cancel=function(){return jn.cancel()})}catch(Mn){return Jr(Mn,!0)}}function ko(xr,Jr,Dn){var si=xr.context,Vi=xr.fn,jn=xr.args,Mn=xr.detached,Vn=Xn({context:si,fn:Vi,args:jn});try{bt();var ba=hi(Vn,Qe,Mt,Vt,Da,Mr,Jr,Vi.name,Mn?null:R);Mn?Dn(ba):Vn._isRunning?(Sa.addTask(ba),Dn(ba)):Vn._error?Sa.abort(Vn._error):Dn(ba)}finally{et()}}function os(xr,Jr){if(xr.isRunning()){var Dn={task:Ri,cb:Jr};Jr.cancel=function(){return G(xr.joiners,Dn)},xr.joiners.push(Dn)}else xr.isAborted()?Jr(xr.error(),!0):Jr(xr.result())}function _s(xr,Jr){xr===_&&(xr=Ri),xr.isRunning()&&xr.cancel(),Jr()}function ks(xr,Jr,Dn){var si=Object.keys(xr);if(!si.length)return Dn(N.array(xr)?[]:{});var Vi=0,jn=void 0,Mn={},Vn={};function ba(){Vi===si.length&&(jn=!0,Dn(N.array(xr)?H.from(nn({},Mn,{length:si.length})):Mn))}si.forEach(function(ia){var No=function(yu,Ml){jn||(Ml||Le(yu)||yu===cr||yu===Qr?(Dn.cancel(),Dn(yu,Ml)):(Mn[ia]=yu,Vi++,ba()))};No.cancel=R,Vn[ia]=No}),Dn.cancel=function(){jn||(jn=!0,si.forEach(function(ia){return Vn[ia].cancel()}))},si.forEach(function(ia){return pa(xr[ia],Jr,ia,Vn[ia])})}function ga(xr,Jr,Dn){var si=void 0,Vi=Object.keys(xr),jn={};Vi.forEach(function(Mn){var Vn=function(ia,No){if(!si){if(No)Dn.cancel(),Dn(ia,!0);else if(!Le(ia)&&ia!==cr&&ia!==Qr){var To;Dn.cancel(),si=!0;var yu=(To={},To[Mn]=ia,To);Dn(N.array(xr)?[].slice.call(nn({},yu,{length:Vi.length})):yu)}}};Vn.cancel=R,jn[Mn]=Vn}),Dn.cancel=function(){si||(si=!0,Vi.forEach(function(Mn){return jn[Mn].cancel()}))},Vi.forEach(function(Mn){si||pa(xr[Mn],Jr,Mn,jn[Mn])})}function us(xr,Jr){var Dn=xr.selector,si=xr.args;try{var Vi=Dn.apply(void 0,[Vt()].concat(si));Jr(Vi)}catch(jn){Jr(jn,!0)}}function $s(xr,Jr){var Dn=xr.pattern,si=xr.buffer,Vi=Gn(Dn);Vi.pattern=Dn,Jr(Kt(Qe,si||fr.fixed(),Vi))}function La(xr,Jr){Jr(!!Si.isCancelled)}function ye(xr,Jr){xr.flush(Jr)}function we(xr,Jr){Jr(Da[xr])}function Ar(xr,Jr){K.assign(Da,xr),Jr()}function rn(xr,Jr,Dn,si){var Vi,jn,Mn;return Dn._deferredEnd=null,jn={},jn[u]=!0,jn.id=xr,jn.name=Jr,Vi="done",Mn={},Mn[Vi]=Mn[Vi]||{},Mn[Vi].get=function(){if(Dn._deferredEnd)return Dn._deferredEnd.promise;var Vn=ae();return Dn._deferredEnd=Vn,Dn._isRunning||(Dn._error?Vn.reject(Dn._error):Vn.resolve(Dn._result)),Vn.promise},jn.cont=si,jn.joiners=[],jn.cancel=Gs,jn.isRunning=function(){return Dn._isRunning},jn.isCancelled=function(){return Dn._isCancelled},jn.isAborted=function(){return Dn._isAborted},jn.result=function(){return Dn._result},jn.error=function(){return Dn._error},jn.setContext=function(ba){P(ba,N.object,_e("task",ba)),K.assign(Da,ba)},Ln(jn,Mn),jn}}var bi="runSaga(storeInterface, saga, ...args)",Di=bi+": saga argument must be a Generator function!";function wi(Xe,Qe){for(var Mt=arguments.length,Vt=Array(Mt>2?Mt-2:0),br=2;br<Mt;br++)Vt[br-2]=arguments[br];var Mr=void 0;N.iterator(Xe)?(Mr=Xe,Xe=Qe):(P(Qe,N.func,Di),Mr=Qe.apply(void 0,Vt),P(Mr,N.iterator,Di));var Zr=Xe,bn=Zr.subscribe,ln=Zr.dispatch,xn=Zr.getState,ai=Zr.context,ui=Zr.sagaMonitor,Pi=Zr.logger,Mi=Zr.onError,ra=V();ui&&(ui.effectTriggered=ui.effectTriggered||R,ui.effectResolved=ui.effectResolved||R,ui.effectRejected=ui.effectRejected||R,ui.effectCancelled=ui.effectCancelled||R,ui.actionDispatched=ui.actionDispatched||R,ui.effectTriggered({effectId:ra,root:!0,parentEffectId:0,effect:{root:!0,saga:Qe,args:Vt}}));var Xi=hi(Mr,bn,Pe(ln),xn,ai,{sagaMonitor:ui,logger:Pi,onError:Mi},ra,Qe.name);return ui&&ui.effectResolved(ra,Xi),Xi}function fa(Xe,Qe){var Mt={};for(var Vt in Xe)Qe.indexOf(Vt)>=0||Object.prototype.hasOwnProperty.call(Xe,Vt)&&(Mt[Vt]=Xe[Vt]);return Mt}function ri(){var Xe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},Qe=Xe.context,Mt=Qe===void 0?{}:Qe,Vt=fa(Xe,["context"]),br=Vt.sagaMonitor,Mr=Vt.logger,Zr=Vt.onError;if(N.func(Vt))throw new Error("Saga middleware no longer accept Generator functions. Use sagaMiddleware.run instead");if(Mr&&!N.func(Mr))throw new Error("`options.logger` passed to the Saga middleware is not a function!");if(Zr&&!N.func(Zr))throw new Error("`options.onError` passed to the Saga middleware is not a function!");if(Vt.emitter&&!N.func(Vt.emitter))throw new Error("`options.emitter` passed to the Saga middleware is not a function!");function bn(ln){var xn=ln.getState,ai=ln.dispatch,ui=$e();return ui.emit=(Vt.emitter||A)(ui.emit),bn.run=wi.bind(null,{context:Mt,subscribe:ui.subscribe,dispatch:ai,getState:xn,sagaMonitor:br,logger:Mr,onError:Zr}),function(Pi){return function(Mi){br&&br.actionDispatched&&br.actionDispatched(Mi);var ra=Pi(Mi);return ui.emit(Mi),ra}}}return bn.run=function(){throw new Error("Before running a Saga, you must mount the Saga middleware on the Store using applyMiddleware")},bn.setContext=function(ln){P(ln,N.object,_e("sagaMiddleware",ln)),K.assign(Mt,ln)},bn}var la={done:!0,value:void 0},Et={};function it(Xe){return N.channel(Xe)?"channel":Array.isArray(Xe)?String(Xe.map(function(Qe){return String(Qe)})):String(Xe)}function ni(Xe,Qe){var Mt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"iterator",Vt=void 0,br=Qe;function Mr(Zr,bn){if(br===Et)return la;if(bn)throw br=Et,bn;Vt&&Vt(Zr);var ln=Xe[br](),xn=ln[0],ai=ln[1],ui=ln[2];return br=xn,Vt=ui,br===Et?la:ai}return Q(Mr,function(Zr){return Mr(null,Zr)},Mt,!0)}function Oi(Xe,Qe){for(var Mt=arguments.length,Vt=Array(Mt>2?Mt-2:0),br=2;br<Mt;br++)Vt[br-2]=arguments[br];var Mr={done:!1,value:Ye(Xe)},Zr=function(ai){return{done:!1,value:Nr.apply(void 0,[Qe].concat(Vt,[ai]))}},bn=void 0,ln=function(ai){return bn=ai};return ni({q1:function(){return["q2",Mr,ln]},q2:function(){return bn===Se?[Et]:["q1",Zr(bn)]}},"q1","takeEvery("+it(Xe)+", "+Qe.name+")")}function ii(Xe,Qe){for(var Mt=arguments.length,Vt=Array(Mt>2?Mt-2:0),br=2;br<Mt;br++)Vt[br-2]=arguments[br];var Mr={done:!1,value:Ye(Xe)},Zr=function(Mi){return{done:!1,value:Nr.apply(void 0,[Qe].concat(Vt,[Mi]))}},bn=function(Mi){return{done:!1,value:cn(Mi)}},ln=void 0,xn=void 0,ai=function(Mi){return ln=Mi},ui=function(Mi){return xn=Mi};return ni({q1:function(){return["q2",Mr,ui]},q2:function(){return xn===Se?[Et]:ln?["q3",bn(ln)]:["q1",Zr(xn),ai]},q3:function(){return["q1",Zr(xn),ai]}},"q1","takeLatest("+it(Xe)+", "+Qe.name+")")}function sa(Xe,Qe,Mt){for(var Vt=arguments.length,br=Array(Vt>3?Vt-3:0),Mr=3;Mr<Vt;Mr++)br[Mr-3]=arguments[Mr];var Zr=void 0,bn=void 0,ln={done:!1,value:ur(Qe,fr.sliding(1))},xn=function(){return{done:!1,value:Ye(bn)}},ai=function(Xi){return{done:!1,value:Nr.apply(void 0,[Mt].concat(br,[Xi]))}},ui={done:!1,value:Vr(oe,Xe)},Pi=function(Xi){return Zr=Xi},Mi=function(Xi){return bn=Xi};return ni({q1:function(){return["q2",ln,Mi]},q2:function(){return["q3",xn(),Pi]},q3:function(){return Zr===Se?[Et]:["q4",ai(Zr)]},q4:function(){return["q2",ui]}},"q1","throttle("+it(Qe)+", "+Mt.name+")")}var Ti=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."},ci=null,An=null,er=null;function pt(Xe,Qe){for(var Mt=arguments.length,Vt=Array(Mt>2?Mt-2:0),br=2;br<Mt;br++)Vt[br-2]=arguments[br];return Nr.apply(void 0,[Oi,Xe,Qe].concat(Vt))}function tt(Xe,Qe){for(var Mt=arguments.length,Vt=Array(Mt>2?Mt-2:0),br=2;br<Mt;br++)Vt[br-2]=arguments[br];return Nr.apply(void 0,[ii,Xe,Qe].concat(Vt))}function Ot(Xe,Qe,Mt){for(var Vt=arguments.length,br=Array(Vt>3?Vt-3:0),Mr=3;Mr<Vt;Mr++)br[Mr-3]=arguments[Mr];return Nr.apply(void 0,[sa,Xe,Qe,Mt].concat(br))}var ft=ri,lr=e(44520),dr=e.n(lr),Pr=e(26420),zr=e(78639),Ze=e.n(zr),qe=e(15142),xe=e(57879),at=e(56754),ar=e.n(at),Er=e(42573),kr=e(58698),Ir=e(89381),jr=e.n(Ir),wn=e(60288),Sr=e(16886),pn=e(9478),on=e.n(pn),dn=Array.isArray.bind(Array),In=function(Qe){return typeof Qe=="function"},Ia=function(Qe){return Qe},Ni=function(){},gi=function(Qe,Mt){for(var Vt=0,br=Qe.length;Vt<br;Vt+=1)if(Mt(Qe[Vt],Vt))return Vt;return-1},En=Object.freeze({isPlainObject:Ze(),isArray:dn,isFunction:In,returnSelf:Ia,noop:Ni,findIndex:gi});function pi(Xe,Qe){var Mt=Xe.namespace,Vt=Xe.reducers,br=Xe.effects,Mr=Xe.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"),Vt&&(invariant(isPlainObject(Vt)||dn(Vt),"[app.model] reducers should be plain object or array, but got ".concat(_typeof(Vt))),invariant(!dn(Vt)||isPlainObject(Vt[0])&&In(Vt[1]),"[app.model] reducers with array should be [Object, Function]")),br&&invariant(isPlainObject(br),"[app.model] effects should be plain object, but got ".concat(_typeof(br))),Mr&&(invariant(isPlainObject(Mr),"[app.model] subscriptions should be plain object, but got ".concat(_typeof(Mr))),invariant(Qi(Mr),"[app.model] subscription should be function"))}function Qi(Xe){return Object.keys(Xe).every(function(Qe){return In(Xe[Qe])})}var Ea="/";function Vs(Xe,Qe,Mt){return Object.keys(Xe).reduce(function(Vt,br){ar()(br.indexOf("".concat(Qe).concat(Ea))!==0,"[prefixNamespace]: ".concat(Mt," ").concat(br," should not be prefixed with namespace ").concat(Qe));var Mr="".concat(Qe).concat(Ea).concat(br);return Vt[Mr]=Xe[br],Vt},{})}function wa(Xe){var Qe=Xe.namespace,Mt=Xe.reducers,Vt=Xe.effects;if(Mt)if(dn(Mt)){var br=(0,xe.Z)(Mt),Mr=br[0],Zr=br.slice(1);Xe.reducers=[Vs(Mr,Qe,"reducer")].concat((0,qe.Z)(Zr))}else Xe.reducers=Vs(Mt,Qe,"reducer");return Vt&&(Xe.effects=Vs(Vt,Qe,"effect")),Xe}var Fs=["onError","onStateChange","onAction","onHmr","onReducer","onEffect","extraReducers","extraEnhancers","_handleActions"];function Ks(Xe){return Object.keys(Xe).reduce(function(Qe,Mt){return Fs.indexOf(Mt)>-1&&(Qe[Mt]=Xe[Mt]),Qe},{})}var es=function(){function Xe(){(0,Er.Z)(this,Xe),this._handleActions=null,this.hooks=Fs.reduce(function(Qe,Mt){return Qe[Mt]=[],Qe},{})}return(0,kr.Z)(Xe,[{key:"use",value:function(Mt){dr()(Ze()(Mt),"plugin.use: plugin should be plain object");var Vt=this.hooks;for(var br in Mt)Object.prototype.hasOwnProperty.call(Mt,br)&&(dr()(Vt[br],"plugin.use: unknown plugin property: ".concat(br)),br==="_handleActions"?this._handleActions=Mt[br]:br==="extraEnhancers"?Vt[br]=Mt[br]:Vt[br].push(Mt[br]))}},{key:"apply",value:function(Mt,Vt){var br=this.hooks,Mr=["onError","onHmr"];dr()(Mr.indexOf(Mt)>-1,"plugin.apply: hook ".concat(Mt," cannot be applied"));var Zr=br[Mt];return function(){if(Zr.length){var bn=!0,ln=!1,xn=void 0;try{for(var ai=Zr[Symbol.iterator](),ui;!(bn=(ui=ai.next()).done);bn=!0){var Pi=ui.value;Pi.apply(void 0,arguments)}}catch(Mi){ln=!0,xn=Mi}finally{try{!bn&&ai.return!=null&&ai.return()}finally{if(ln)throw xn}}}else Vt&&Vt.apply(void 0,arguments)}}},{key:"get",value:function(Mt){var Vt=this.hooks;return dr()(Mt in Vt,"plugin.get: hook ".concat(Mt," cannot be got")),Mt==="extraReducers"?Hs(Vt[Mt]):Mt==="onReducer"?Jn(Vt[Mt]):Vt[Mt]}}]),Xe}();function Hs(Xe){var Qe={},Mt=!0,Vt=!1,br=void 0;try{for(var Mr=Xe[Symbol.iterator](),Zr;!(Mt=(Zr=Mr.next()).done);Mt=!0){var bn=Zr.value;Qe=(0,l.Z)({},Qe,bn)}}catch(ln){Vt=!0,br=ln}finally{try{!Mt&&Mr.return!=null&&Mr.return()}finally{if(Vt)throw br}}return Qe}function Jn(Xe){return function(Qe){var Mt=!0,Vt=!1,br=void 0;try{for(var Mr=Xe[Symbol.iterator](),Zr;!(Mt=(Zr=Mr.next()).done);Mt=!0){var bn=Zr.value;Qe=bn(Qe)}}catch(ln){Vt=!0,br=ln}finally{try{!Mt&&Mr.return!=null&&Mr.return()}finally{if(Vt)throw br}}return Qe}}function ws(Xe){var Qe=Xe.reducers,Mt=Xe.initialState,Vt=Xe.plugin,br=Xe.sagaMiddleware,Mr=Xe.promiseMiddleware,Zr=Xe.createOpts.setupMiddlewares,bn=Zr===void 0?Ia:Zr,ln=Vt.get("extraEnhancers");dr()(dn(ln),"[app.start] extraEnhancers should be array, but got ".concat((0,Pr.Z)(ln)));var xn=Vt.get("onAction"),ai=bn([Mr,br].concat((0,qe.Z)(jr()(xn)))),ui=c.qC,Pi=[c.md.apply(void 0,(0,qe.Z)(ai))].concat((0,qe.Z)(ln));return(0,c.MT)(Qe,Mt,ui.apply(void 0,(0,qe.Z)(Pi)))}function fs(Xe,Qe){var Mt="".concat(Qe.namespace).concat(Ea).concat(Xe),Vt=Mt.replace(/\/@@[^/]+?$/,""),br=Array.isArray(Qe.reducers)?Qe.reducers[0][Vt]:Qe.reducers&&Qe.reducers[Vt];return br||Qe.effects&&Qe.effects[Vt]?Mt:Xe}function Ys(Xe,Qe,Mt,Vt){var br=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{};return on().mark(function Mr(){var Zr;return on().wrap(function(ln){for(;;)switch(ln.prev=ln.next){case 0:ln.t0=on().keys(Xe);case 1:if((ln.t1=ln.t0()).done){ln.next=7;break}if(Zr=ln.t1.value,!Object.prototype.hasOwnProperty.call(Xe,Zr)){ln.next=5;break}return ln.delegateYield(on().mark(function xn(){var ai,ui;return on().wrap(function(Mi){for(;;)switch(Mi.prev=Mi.next){case 0:return ai=ea(Zr,Xe[Zr],Qe,Mt,Vt,br),Mi.next=3,Nr(ai);case 3:return ui=Mi.sent,Mi.next=6,Nr(on().mark(function ra(){return on().wrap(function(ki){for(;;)switch(ki.prev=ki.next){case 0:return ki.next=2,Ye("".concat(Qe.namespace,"/@@CANCEL_EFFECTS"));case 2:return ki.next=4,cn(ui);case 4:case"end":return ki.stop()}},ra)}));case 6:case"end":return Mi.stop()}},xn)})(),"t2",5);case 5:ln.next=1;break;case 7:case"end":return ln.stop()}},Mr)})}function ea(Xe,Qe,Mt,Vt,br,Mr){var Zr=on().mark(ra),bn=Qe,ln="takeEvery",xn,ai;if(Array.isArray(Qe)){var ui=(0,Sr.Z)(Qe,1);bn=ui[0];var Pi=Qe[1];Pi&&Pi.type&&(ln=Pi.type,ln==="throttle"&&(dr()(Pi.ms,"app.start: opts.ms should be defined if type is throttle"),xn=Pi.ms),ln==="poll"&&(dr()(Pi.delay,"app.start: opts.delay should be defined if type is poll"),ai=Pi.delay)),dr()(["watcher","takeEvery","takeLatest","throttle","poll"].indexOf(ln)>-1,"app.start: effect type should be takeEvery, takeLatest, throttle, poll or watcher")}function Mi(){}function ra(){var ki,Da,Ri,Si,Sa,bo,Gs,na,Qa,pa=arguments;return on().wrap(function(Ra){for(;;)switch(Ra.prev=Ra.next){case 0:for(ki=pa.length,Da=new Array(ki),Ri=0;Ri<ki;Ri++)Da[Ri]=pa[Ri];return Si=Da.length>0?Da[0]:{},Sa=Si.__dva_resolve,bo=Sa===void 0?Mi:Sa,Gs=Si.__dva_reject,na=Gs===void 0?Mi:Gs,Ra.prev=2,Ra.next=5,Lt({type:"".concat(Xe).concat(Ea,"@@start")});case 5:return Ra.next=7,bn.apply(void 0,(0,qe.Z)(Da.concat(Bs(Mt,Mr))));case 7:return Qa=Ra.sent,Ra.next=10,Lt({type:"".concat(Xe).concat(Ea,"@@end")});case 10:bo(Qa),Ra.next=17;break;case 13:Ra.prev=13,Ra.t0=Ra.catch(2),Vt(Ra.t0,{key:Xe,effectArgs:Da}),Ra.t0._dontReject||na(Ra.t0);case 17:case"end":return Ra.stop()}},Zr,null,[[2,13]])}var Xi=Vo(br,ra,Mt,Xe);switch(ln){case"watcher":return ra;case"takeLatest":return on().mark(function ki(){return on().wrap(function(Ri){for(;;)switch(Ri.prev=Ri.next){case 0:return Ri.next=2,tt(Xe,Xi);case 2:case"end":return Ri.stop()}},ki)});case"throttle":return on().mark(function ki(){return on().wrap(function(Ri){for(;;)switch(Ri.prev=Ri.next){case 0:return Ri.next=2,Ot(xn,Xe,Xi);case 2:case"end":return Ri.stop()}},ki)});case"poll":return on().mark(function ki(){var Da,Ri,Si,Sa,bo,Gs,na;return on().wrap(function(pa){for(;;)switch(pa.prev=pa.next){case 0:Si=function(Ra,qa){var hs;return on().wrap(function(ps){for(;;)switch(ps.prev=ps.next){case 0:hs=Ra.call;case 1:return ps.next=4,hs(Xi,qa);case 4:return ps.next=6,hs(Ri,ai);case 6:ps.next=1;break;case 8:case"end":return ps.stop()}},Da)},Ri=function(Ra){return new Promise(function(qa){return setTimeout(qa,Ra)})},Da=on().mark(Si),Sa=Vr,bo=Ye,Gs=Or;case 4:return pa.next=7,bo("".concat(Xe,"-start"));case 7:return na=pa.sent,pa.next=10,Gs([Sa(Si,r,na),bo("".concat(Xe,"-stop"))]);case 10:pa.next=4;break;case 12:case"end":return pa.stop()}},ki)});default:return on().mark(function ki(){return on().wrap(function(Ri){for(;;)switch(Ri.prev=Ri.next){case 0:return Ri.next=2,pt(Xe,Xi);case 2:case"end":return Ri.stop()}},ki)})}}function Bs(Xe,Qe){function Mt(Zr,bn){dr()(Zr,"dispatch: action should be a plain Object with type");var ln=Qe.namespacePrefixWarning,xn=ln===void 0?!0:ln;xn&&ar()(Zr.indexOf("".concat(Xe.namespace).concat(Ea))!==0,"[".concat(bn,"] ").concat(Zr," should not be prefixed with namespace ").concat(Xe.namespace))}function Vt(Zr){var bn=Zr.type;return Mt(bn,"sagaEffects.put"),Lt((0,l.Z)({},Zr,{type:fs(bn,Xe)}))}function br(Zr){var bn=Zr.type;return Mt(bn,"sagaEffects.put.resolve"),Lt.resolve((0,l.Z)({},Zr,{type:fs(bn,Xe)}))}Vt.resolve=br;function Mr(Zr){return typeof Zr=="string"?(Mt(Zr,"sagaEffects.take"),Ye(fs(Zr,Xe))):Array.isArray(Zr)?Ye(Zr.map(function(bn){return typeof bn=="string"?(Mt(bn,"sagaEffects.take"),fs(bn,Xe)):bn})):Ye(Zr)}return(0,l.Z)({},r,{put:Vt,take:Mr})}function Vo(Xe,Qe,Mt,Vt){var br=!0,Mr=!1,Zr=void 0;try{for(var bn=Xe[Symbol.iterator](),ln;!(br=(ln=bn.next()).done);br=!0){var xn=ln.value;Qe=xn(Qe,r,Mt,Vt)}}catch(ai){Mr=!0,Zr=ai}finally{try{!br&&bn.return!=null&&bn.return()}finally{if(Mr)throw Zr}}return Qe}function Ka(Xe){return Xe}function va(Xe){var Qe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Ka;return function(Mt,Vt){var br=Vt.type;return dr()(br,"dispatch: action should be a plain Object with type"),Xe===br?Qe(Mt,Vt):Mt}}function is(){for(var Xe=arguments.length,Qe=new Array(Xe),Mt=0;Mt<Xe;Mt++)Qe[Mt]=arguments[Mt];return function(Vt,br){return Qe.reduce(function(Mr,Zr){return Zr(Mr,br)},Vt)}}function mo(Xe,Qe){var Mt=Object.keys(Xe).map(function(br){return va(br,Xe[br])}),Vt=is.apply(void 0,(0,qe.Z)(Mt));return function(){var br=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Qe,Mr=arguments.length>1?arguments[1]:void 0;return Vt(br,Mr)}}function Nn(Xe,Qe,Mt){return Array.isArray(Xe)?Xe[1]((Mt||mo)(Xe[0],Qe)):(Mt||mo)(Xe||{},Qe)}function ts(Xe){return function(){return function(Mt){return function(Vt){var br=Vt.type;return Qe(br)?new Promise(function(Mr,Zr){Mt((0,l.Z)({__dva_resolve:Mr,__dva_reject:Zr},Vt))}):Mt(Vt)}}};function Qe(Mt){if(!Mt||typeof Mt!="string")return!1;var Vt=Mt.split(Ea),br=(0,Sr.Z)(Vt,1),Mr=br[0],Zr=Xe._models.filter(function(bn){return bn.namespace===Mr})[0];return!!(Zr&&Zr.effects&&Zr.effects[Mt])}}function Ps(Xe,Qe){return function(Mt){var Vt=Mt.type;return dr()(Vt,"dispatch: action should be a plain Object with type"),ar()(Vt.indexOf("".concat(Qe.namespace).concat(Ea))!==0,"dispatch: ".concat(Vt," should not be prefixed with namespace ").concat(Qe.namespace)),Xe((0,l.Z)({},Mt,{type:fs(Vt,Qe)}))}}function Is(Xe,Qe,Mt,Vt){var br=[],Mr=[];for(var Zr in Xe)if(Object.prototype.hasOwnProperty.call(Xe,Zr)){var bn=Xe[Zr],ln=bn({dispatch:Ps(Mt._store.dispatch,Qe),history:Mt._history},Vt);In(ln)?br.push(ln):Mr.push(Zr)}return{funcs:br,nonFuncs:Mr}}function Yi(Xe,Qe){if(Xe[Qe]){var Mt=Xe[Qe],Vt=Mt.funcs,br=Mt.nonFuncs;ar()(br.length===0,"[app.unmodel] subscription should return unlistener function, check these subscriptions ".concat(br.join(", ")));var Mr=!0,Zr=!1,bn=void 0;try{for(var ln=Vt[Symbol.iterator](),xn;!(Mr=(xn=ln.next()).done);Mr=!0){var ai=xn.value;ai()}}catch(ui){Zr=!0,bn=ui}finally{try{!Mr&&ln.return!=null&&ln.return()}finally{if(Zr)throw bn}}delete Xe[Qe]}}var Xa=Ni,Ha=gi,Rs={namespace:"@@dva",state:0,reducers:{UPDATE:function(Qe){return Qe+1}}};function vo(){var Xe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},Qe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},Mt=Qe.initialReducer,Vt=Qe.setupApp,br=Vt===void 0?Xa:Vt,Mr=new es;Mr.use(Ks(Xe));var Zr={_models:[wa((0,l.Z)({},Rs))],_store:null,_plugin:Mr,use:Mr.use.bind(Mr),model:bn,start:ui};return Zr;function bn(Pi){var Mi=wa((0,l.Z)({},Pi));return Zr._models.push(Mi),Mi}function ln(Pi,Mi,ra,Xi){Xi=bn(Xi);var ki=Zr._store;ki.asyncReducers[Xi.namespace]=Nn(Xi.reducers,Xi.state,Mr._handleActions),ki.replaceReducer(Pi()),Xi.effects&&ki.runSaga(Zr._getSaga(Xi.effects,Xi,Mi,Mr.get("onEffect"),Xe)),Xi.subscriptions&&(ra[Xi.namespace]=Is(Xi.subscriptions,Xi,Zr,Mi))}function xn(Pi,Mi,ra,Xi){var ki=Zr._store;delete ki.asyncReducers[Xi],delete Mi[Xi],ki.replaceReducer(Pi()),ki.dispatch({type:"@@dva/UPDATE"}),ki.dispatch({type:"".concat(Xi,"/@@CANCEL_EFFECTS")}),Yi(ra,Xi),Zr._models=Zr._models.filter(function(Da){return Da.namespace!==Xi})}function ai(Pi,Mi,ra,Xi,ki){var Da=Zr._store,Ri=ki.namespace,Si=Ha(Zr._models,function(Sa){return Sa.namespace===Ri});~Si&&(Da.dispatch({type:"".concat(Ri,"/@@CANCEL_EFFECTS")}),delete Da.asyncReducers[Ri],delete Mi[Ri],Yi(ra,Ri),Zr._models.splice(Si,1)),Zr.model(ki),Da.dispatch({type:"@@dva/UPDATE"})}function ui(){var Pi=function(Ar,rn){Ar&&(typeof Ar=="string"&&(Ar=new Error(Ar)),Ar.preventDefault=function(){Ar._dontReject=!0},Mr.apply("onError",function(xr){throw new Error(xr.stack||xr)})(Ar,Zr._store.dispatch,rn))},Mi=ft(),ra=ts(Zr);Zr._getSaga=Ys.bind(null);var Xi=[],ki=(0,l.Z)({},Mt),Da=!0,Ri=!1,Si=void 0;try{for(var Sa=Zr._models[Symbol.iterator](),bo;!(Da=(bo=Sa.next()).done);Da=!0){var Gs=bo.value;ki[Gs.namespace]=Nn(Gs.reducers,Gs.state,Mr._handleActions),Gs.effects&&Xi.push(Zr._getSaga(Gs.effects,Gs,Pi,Mr.get("onEffect"),Xe))}}catch(we){Ri=!0,Si=we}finally{try{!Da&&Sa.return!=null&&Sa.return()}finally{if(Ri)throw Si}}var na=Mr.get("onReducer"),Qa=Mr.get("extraReducers");dr()(Object.keys(Qa).every(function(we){return!(we in ki)}),"[app.start] extraReducers is conflict with other reducers, reducers list: ".concat(Object.keys(ki).join(", "))),Zr._store=ws({reducers:ye(),initialState:Xe.initialState||{},plugin:Mr,createOpts:Qe,sagaMiddleware:Mi,promiseMiddleware:ra});var pa=Zr._store;pa.runSaga=Mi.run,pa.asyncReducers={};var Hi=Mr.get("onStateChange"),Ra=!0,qa=!1,hs=void 0;try{for(var xo=function(){var Ar=ko.value;pa.subscribe(function(){Ar(pa.getState())})},ps=Hi[Symbol.iterator](),ko;!(Ra=(ko=ps.next()).done);Ra=!0)xo()}catch(we){qa=!0,hs=we}finally{try{!Ra&&ps.return!=null&&ps.return()}finally{if(qa)throw hs}}Xi.forEach(Mi.run),br(Zr);var os={},_s=!0,ks=!1,ga=void 0;try{for(var us=this._models[Symbol.iterator](),$s;!(_s=($s=us.next()).done);_s=!0){var La=$s.value;La.subscriptions&&(os[La.namespace]=Is(La.subscriptions,La,Zr,Pi))}}catch(we){ks=!0,ga=we}finally{try{!_s&&us.return!=null&&us.return()}finally{if(ks)throw ga}}Zr.model=ln.bind(Zr,ye,Pi,os),Zr.unmodel=xn.bind(Zr,ye,ki,os),Zr.replaceModel=ai.bind(Zr,ye,ki,os,Pi);function ye(){return na((0,c.UY)((0,l.Z)({},ki,Qa,Zr._store?Zr._store.asyncReducers:{})))}}}var zo=e(37573),Ko=e(45097),Yo=e(4676);function rs(Xe){Xe()}let vs=rs;const Ao=Xe=>vs=Xe,Zo=()=>vs,Lo=Symbol.for("react-redux-context"),Xo=typeof globalThis!="undefined"?globalThis:{};function xi(){var Xe;if(!i.createContext)return{};const Qe=(Xe=Xo[Lo])!=null?Xe:Xo[Lo]=new Map;let Mt=Qe.get(i.createContext);return Mt||(Mt=i.createContext(null),Qe.set(i.createContext,Mt)),Mt}const _i=xi();var as=null;function ds(Xe=_i){return function(){return(0,i.useContext)(Xe)}}const ss=ds(),go=()=>{throw new Error("uSES not initialized!")};let Ho=go;const du=Xe=>{Ho=Xe},Ls=(Xe,Qe)=>Xe===Qe;function tu(Xe=_i){const Qe=Xe===_i?ss:ds(Xe);return function(Vt,br={}){const{equalityFn:Mr=Ls,stabilityCheck:Zr=void 0,noopCheck:bn=void 0}=typeof br=="function"?{equalityFn:br}:br,{store:ln,subscription:xn,getServerState:ai,stabilityCheck:ui,noopCheck:Pi}=Qe(),Mi=(0,i.useRef)(!0),ra=(0,i.useCallback)({[Vt.name](ki){return Vt(ki)}}[Vt.name],[Vt,ui,Zr]),Xi=Ho(xn.addNestedSub,ln.getState,ai||ln.getState,ra,Mr);return(0,i.useDebugValue)(Xi),Xi}}const hu=tu();var Iu=e(67711),Mo=e(12359),Ju=e(94266),Fo=e.n(Ju),_o=e(23265);const gu=["initMapStateToProps","initMapDispatchToProps","initMergeProps"];function Bu(Xe,Qe,Mt,Vt,{areStatesEqual:br,areOwnPropsEqual:Mr,areStatePropsEqual:Zr}){let bn=!1,ln,xn,ai,ui,Pi;function Mi(Ri,Si){return ln=Ri,xn=Si,ai=Xe(ln,xn),ui=Qe(Vt,xn),Pi=Mt(ai,ui,xn),bn=!0,Pi}function ra(){return ai=Xe(ln,xn),Qe.dependsOnOwnProps&&(ui=Qe(Vt,xn)),Pi=Mt(ai,ui,xn),Pi}function Xi(){return Xe.dependsOnOwnProps&&(ai=Xe(ln,xn)),Qe.dependsOnOwnProps&&(ui=Qe(Vt,xn)),Pi=Mt(ai,ui,xn),Pi}function ki(){const Ri=Xe(ln,xn),Si=!Zr(Ri,ai);return ai=Ri,Si&&(Pi=Mt(ai,ui,xn)),Pi}function Da(Ri,Si){const Sa=!Mr(Si,xn),bo=!br(Ri,ln,Si,xn);return ln=Ri,xn=Si,Sa&&bo?ra():Sa?Xi():bo?ki():Pi}return function(Si,Sa){return bn?Da(Si,Sa):Mi(Si,Sa)}}function Oo(Xe,Qe){let{initMapStateToProps:Mt,initMapDispatchToProps:Vt,initMergeProps:br}=Qe,Mr=(0,Mo.Z)(Qe,gu);const Zr=Mt(Xe,Mr),bn=Vt(Xe,Mr),ln=br(Xe,Mr);return Bu(Zr,bn,ln,Xe,Mr)}function Bo(Xe,Qe){const Mt={};for(const Vt in Xe){const br=Xe[Vt];typeof br=="function"&&(Mt[Vt]=(...Mr)=>Qe(br(...Mr)))}return Mt}function Du(Xe){return function(Mt){const Vt=Xe(Mt);function br(){return Vt}return br.dependsOnOwnProps=!1,br}}function Qo(Xe){return Xe.dependsOnOwnProps?!!Xe.dependsOnOwnProps:Xe.length!==1}function ru(Xe,Qe){return function(Vt,{displayName:br}){const Mr=function(bn,ln){return Mr.dependsOnOwnProps?Mr.mapToProps(bn,ln):Mr.mapToProps(bn,void 0)};return Mr.dependsOnOwnProps=!0,Mr.mapToProps=function(bn,ln){Mr.mapToProps=Xe,Mr.dependsOnOwnProps=Qo(Xe);let xn=Mr(bn,ln);return typeof xn=="function"&&(Mr.mapToProps=xn,Mr.dependsOnOwnProps=Qo(xn),xn=Mr(bn,ln)),xn},Mr}}function Ds(Xe,Qe){return(Mt,Vt)=>{throw new Error(`Invalid value of type ${typeof Xe} for ${Qe} argument when connecting component ${Vt.wrappedComponentName}.`)}}function Wo(Xe){return Xe&&typeof Xe=="object"?Du(Qe=>Bo(Xe,Qe)):Xe?typeof Xe=="function"?ru(Xe,"mapDispatchToProps"):Ds(Xe,"mapDispatchToProps"):Du(Qe=>({dispatch:Qe}))}function Nu(Xe){return Xe?typeof Xe=="function"?ru(Xe,"mapStateToProps"):Ds(Xe,"mapStateToProps"):Du(()=>({}))}function qt(Xe,Qe,Mt){return(0,Iu.Z)({},Mt,Xe,Qe)}function _r(Xe){return function(Mt,{displayName:Vt,areMergedPropsEqual:br}){let Mr=!1,Zr;return function(ln,xn,ai){const ui=Xe(ln,xn,ai);return Mr?br(ui,Zr)||(Zr=ui):(Mr=!0,Zr=ui),Zr}}}function or(Xe){return Xe?typeof Xe=="function"?_r(Xe):Ds(Xe,"mergeProps"):()=>qt}function mr(){const Xe=Zo();let Qe=null,Mt=null;return{clear(){Qe=null,Mt=null},notify(){Xe(()=>{let Vt=Qe;for(;Vt;)Vt.callback(),Vt=Vt.next})},get(){let Vt=[],br=Qe;for(;br;)Vt.push(br),br=br.next;return Vt},subscribe(Vt){let br=!0,Mr=Mt={callback:Vt,next:null,prev:Mt};return Mr.prev?Mr.prev.next=Mr:Qe=Mr,function(){!br||Qe===null||(br=!1,Mr.next?Mr.next.prev=Mr.prev:Mt=Mr.prev,Mr.prev?Mr.prev.next=Mr.next:Qe=Mr.next)}}}}const Tr={notify(){},get:()=>[]};function gn(Xe,Qe){let Mt,Vt=Tr,br=0,Mr=!1;function Zr(Xi){ai();const ki=Vt.subscribe(Xi);let Da=!1;return()=>{Da||(Da=!0,ki(),ui())}}function bn(){Vt.notify()}function ln(){ra.onStateChange&&ra.onStateChange()}function xn(){return Mr}function ai(){br++,Mt||(Mt=Qe?Qe.addNestedSub(ln):Xe.subscribe(ln),Vt=mr())}function ui(){br--,Mt&&br===0&&(Mt(),Mt=void 0,Vt.clear(),Vt=Tr)}function Pi(){Mr||(Mr=!0,ai())}function Mi(){Mr&&(Mr=!1,ui())}const ra={addNestedSub:Zr,notifyNestedSubs:bn,handleChangeWrapper:ln,isSubscribed:xn,trySubscribe:Pi,tryUnsubscribe:Mi,getListeners:()=>Vt};return ra}const kn=typeof window!="undefined"&&typeof window.document!="undefined"&&typeof window.document.createElement!="undefined"?i.useLayoutEffect:i.useEffect;function Hn(Xe,Qe){return Xe===Qe?Xe!==0||Qe!==0||1/Xe===1/Qe:Xe!==Xe&&Qe!==Qe}function li(Xe,Qe){if(Hn(Xe,Qe))return!0;if(typeof Xe!="object"||Xe===null||typeof Qe!="object"||Qe===null)return!1;const Mt=Object.keys(Xe),Vt=Object.keys(Qe);if(Mt.length!==Vt.length)return!1;for(let br=0;br<Mt.length;br++)if(!Object.prototype.hasOwnProperty.call(Qe,Mt[br])||!Hn(Xe[Mt[br]],Qe[Mt[br]]))return!1;return!0}const oi=["reactReduxForwardedRef"];let hr=go;const Br=Xe=>{hr=Xe},Rr=null,Cn=[null,null],Tn=Xe=>{try{return JSON.stringify(Xe)}catch(Qe){return String(Xe)}};function ht(Xe,Qe,Mt){kn(()=>Xe(...Qe),Mt)}function $n(Xe,Qe,Mt,Vt,br,Mr){Xe.current=Vt,Mt.current=!1,br.current&&(br.current=null,Mr())}function Wn(Xe,Qe,Mt,Vt,br,Mr,Zr,bn,ln,xn,ai){if(!Xe)return()=>{};let ui=!1,Pi=null;const Mi=()=>{if(ui||!bn.current)return;const Xi=Qe.getState();let ki,Da;try{ki=Vt(Xi,br.current)}catch(Ri){Da=Ri,Pi=Ri}Da||(Pi=null),ki===Mr.current?Zr.current||xn():(Mr.current=ki,ln.current=ki,Zr.current=!0,ai())};return Mt.onStateChange=Mi,Mt.trySubscribe(),Mi(),()=>{if(ui=!0,Mt.tryUnsubscribe(),Mt.onStateChange=null,Pi)throw Pi}}const Li=()=>Rr;function ta(Xe,Qe){return Xe===Qe}let Jt=!1;function oa(Xe,Qe,Mt,{pure:Vt,areStatesEqual:br=ta,areOwnPropsEqual:Mr=li,areStatePropsEqual:Zr=li,areMergedPropsEqual:bn=li,forwardRef:ln=!1,context:xn=_i}={}){const ai=xn,ui=Nu(Xe),Pi=Wo(Qe),Mi=or(Mt),ra=!!Xe;return ki=>{const Da=ki.displayName||ki.name||"Component",Ri=`Connect(${Da})`,Si={shouldHandleStateChanges:ra,displayName:Ri,wrappedComponentName:Da,WrappedComponent:ki,initMapStateToProps:ui,initMapDispatchToProps:Pi,initMergeProps:Mi,areStatesEqual:br,areStatePropsEqual:Zr,areOwnPropsEqual:Mr,areMergedPropsEqual:bn};function Sa(na){const[Qa,pa,Hi]=i.useMemo(()=>{const{reactReduxForwardedRef:jn}=na,Mn=(0,Mo.Z)(na,oi);return[na.context,jn,Mn]},[na]),Ra=i.useMemo(()=>Qa&&Qa.Consumer&&(0,_o.isContextConsumer)(i.createElement(Qa.Consumer,null))?Qa:ai,[Qa,ai]),qa=i.useContext(Ra),hs=!!na.store&&!!na.store.getState&&!!na.store.dispatch,xo=!!qa&&!!qa.store,ps=hs?na.store:qa.store,ko=xo?qa.getServerState:ps.getState,os=i.useMemo(()=>Oo(ps.dispatch,Si),[ps]),[_s,ks]=i.useMemo(()=>{if(!ra)return Cn;const jn=gn(ps,hs?void 0:qa.subscription),Mn=jn.notifyNestedSubs.bind(jn);return[jn,Mn]},[ps,hs,qa]),ga=i.useMemo(()=>hs?qa:(0,Iu.Z)({},qa,{subscription:_s}),[hs,qa,_s]),us=i.useRef(),$s=i.useRef(Hi),La=i.useRef(),ye=i.useRef(!1),we=i.useRef(!1),Ar=i.useRef(!1),rn=i.useRef();kn(()=>(Ar.current=!0,()=>{Ar.current=!1}),[]);const xr=i.useMemo(()=>()=>La.current&&Hi===$s.current?La.current:os(ps.getState(),Hi),[ps,Hi]),Jr=i.useMemo(()=>Mn=>_s?Wn(ra,ps,_s,os,$s,us,ye,Ar,La,ks,Mn):()=>{},[_s]);ht($n,[$s,us,ye,Hi,La,ks]);let Dn;try{Dn=hr(Jr,xr,ko?()=>os(ko(),Hi):xr)}catch(jn){throw rn.current&&(jn.message+=`
|
|
|
The error may be correlated with this previous error:
|
|
|
${rn.current.stack}
|
|
|
|
|
|
`),jn}kn(()=>{rn.current=void 0,La.current=void 0,us.current=Dn});const si=i.useMemo(()=>i.createElement(ki,(0,Iu.Z)({},Dn,{ref:pa})),[pa,ki,Dn]);return i.useMemo(()=>ra?i.createElement(Ra.Provider,{value:ga},si):si,[Ra,si,ga])}const Gs=i.memo(Sa);if(Gs.WrappedComponent=ki,Gs.displayName=Sa.displayName=Ri,ln){const Qa=i.forwardRef(function(Hi,Ra){return i.createElement(Gs,(0,Iu.Z)({},Hi,{reactReduxForwardedRef:Ra}))});return Qa.displayName=Ri,Qa.WrappedComponent=ki,Fo()(Qa,ki)}return Fo()(Gs,ki)}}var qi=oa;function Ta({store:Xe,context:Qe,children:Mt,serverState:Vt,stabilityCheck:br="once",noopCheck:Mr="once"}){const Zr=i.useMemo(()=>{const xn=gn(Xe);return{store:Xe,subscription:xn,getServerState:Vt?()=>Vt:void 0,stabilityCheck:br,noopCheck:Mr}},[Xe,Vt,br,Mr]),bn=i.useMemo(()=>Xe.getState(),[Xe]);kn(()=>{const{subscription:xn}=Zr;return xn.onStateChange=xn.notifyNestedSubs,xn.trySubscribe(),bn!==Xe.getState()&&xn.notifyNestedSubs(),()=>{xn.tryUnsubscribe(),xn.onStateChange=void 0}},[Zr,bn]);const ln=Qe||_i;return i.createElement(ln.Provider,{value:Zr},Mt)}var gs=Ta;function Ns(Xe=_i){const Qe=Xe===_i?ss:ds(Xe);return function(){const{store:Vt}=Qe();return Vt}}const $i=Ns();function Co(Xe=_i){const Qe=Xe===_i?$i:Ns(Xe);return function(){return Qe().dispatch}}const oo=Co();du(Ko.useSyncExternalStoreWithSelector),Br(zo.useSyncExternalStore),Ao(Yo.unstable_batchedUpdates);var Ms=Object.defineProperty,Fa=Object.getOwnPropertySymbols,Os=Object.prototype.hasOwnProperty,yo=Object.prototype.propertyIsEnumerable,zn=(Xe,Qe,Mt)=>Qe in Xe?Ms(Xe,Qe,{enumerable:!0,configurable:!0,writable:!0,value:Mt}):Xe[Qe]=Mt,Ws=(Xe,Qe)=>{for(var Mt in Qe||(Qe={}))Os.call(Qe,Mt)&&zn(Xe,Mt,Qe[Mt]);if(Fa)for(var Mt of Fa(Qe))yo.call(Qe,Mt)&&zn(Xe,Mt,Qe[Mt]);return Xe};function uo(Xe){const Qe=create(Xe,{initialReducer:{},setupApp(){}}),Mt=Qe.start;return Qe.router=Vt,Qe.start=br,Qe;function Vt(Mr){Qe._router=Mr}function br(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,bn=Qe._router;return ln=>React.createElement(Provider,{store:Zr},bn(Ws({app:Qe},ln)))}}},59098: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,P)=>A in R?i(R,A,{enumerable:!0,configurable:!0,writable:!0,value:P}):R[A]=P,a=(R,A)=>{for(var P in A||(A={}))o.call(A,P)&&u(R,P,A[P]);if(f)for(var P of f(A))h.call(A,P)&&u(R,P,A[P]);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(P,M){A.push(S(P,A),M)},replace(P,M){A.replace(S(P,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 P=A.location.pathname;return x(a({},R),{pathname:R.pathname?`${k(y)}${R.pathname}`:P})}else throw new Error(`Unexpected to: ${R}`)}function k(R){return R.slice(-1)==="/"?R.slice(0,-1):R}},19964:function(d,v,e){"use strict";e.d(v,{gD:function(){return hn},We:function(){return ur}});var r={};e.r(r),e.d(r,{dva:function(){return a}});var i={};e.r(i),e.d(i,{innerProvider:function(){return We}});var l={};e.r(l),e.d(l,{rootContainer:function(){return Te}});var c={};e.r(c),e.d(c,{dataflowProvider:function(){return Zt}});var f={};e.r(f),e.d(f,{i18nProvider:function(){return wr}});var o=e(8591),h=e(61186),u=e.n(h);u().locale("ZH-cn");const a={config:{onError(Rt){o.ZP.error(Rt.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 P(){return P=Object.assign||function(Rt){for(var _t=1;_t<arguments.length;_t++){var vt=arguments[_t];for(var jt in vt)Object.prototype.hasOwnProperty.call(vt,jt)&&(Rt[jt]=vt[jt])}return Rt},P.apply(this,arguments)}function M(Rt,_t){Rt.prototype=Object.create(_t.prototype),Rt.prototype.constructor=Rt,B(Rt,_t)}function B(Rt,_t){return B=Object.setPrototypeOf||function(vt,jt){return vt.__proto__=jt,vt},B(Rt,_t)}function N(Rt,_t){if(Rt==null)return{};var vt,jt,Cr={},yr=Object.keys(Rt);for(jt=0;jt<yr.length;jt++)_t.indexOf(vt=yr[jt])>=0||(Cr[vt]=Rt[vt]);return Cr}var K={BASE:"base",BODY:"body",HEAD:"head",HTML:"html",LINK:"link",META:"meta",NOSCRIPT:"noscript",SCRIPT:"script",STYLE:"style",TITLE:"title",FRAGMENT:"Symbol(react.fragment)"},G={rel:["amphtml","canonical","alternate"]},H={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"]},ne=Object.keys(K).map(function(Rt){return K[Rt]}),oe={accesskey:"accessKey",charset:"charSet",class:"className",contenteditable:"contentEditable",contextmenu:"contextMenu","http-equiv":"httpEquiv",itemprop:"itemProp",tabindex:"tabIndex"},q=Object.keys(oe).reduce(function(Rt,_t){return Rt[oe[_t]]=_t,Rt},{}),J=function(Rt,_t){for(var vt=Rt.length-1;vt>=0;vt-=1){var jt=Rt[vt];if(Object.prototype.hasOwnProperty.call(jt,_t))return jt[_t]}return null},V=function(Rt){var _t=J(Rt,K.TITLE),vt=J(Rt,"titleTemplate");if(Array.isArray(_t)&&(_t=_t.join("")),vt&&_t)return vt.replace(/%s/g,function(){return _t});var jt=J(Rt,"defaultTitle");return _t||jt||void 0},se=function(Rt){return J(Rt,"onChangeClientState")||function(){}},ee=function(Rt,_t){return _t.filter(function(vt){return vt[Rt]!==void 0}).map(function(vt){return vt[Rt]}).reduce(function(vt,jt){return P({},vt,jt)},{})},Q=function(Rt,_t){return _t.filter(function(vt){return vt[K.BASE]!==void 0}).map(function(vt){return vt[K.BASE]}).reverse().reduce(function(vt,jt){if(!vt.length)for(var Cr=Object.keys(jt),yr=0;yr<Cr.length;yr+=1){var nn=Cr[yr].toLowerCase();if(Rt.indexOf(nn)!==-1&&jt[nn])return vt.concat(jt)}return vt},[])},ue=function(Rt,_t,vt){var jt={};return vt.filter(function(Cr){return!!Array.isArray(Cr[Rt])||(Cr[Rt]!==void 0&&console&&typeof console.warn=="function"&&console.warn("Helmet: "+Rt+' should be of type "Array". Instead found type "'+typeof Cr[Rt]+'"'),!1)}).map(function(Cr){return Cr[Rt]}).reverse().reduce(function(Cr,yr){var nn={};yr.filter(function(Qr){for(var yn,Gn=Object.keys(Qr),fi=0;fi<Gn.length;fi+=1){var Xn=Gn[fi],Ki=Xn.toLowerCase();_t.indexOf(Ki)===-1||yn==="rel"&&Qr[yn].toLowerCase()==="canonical"||Ki==="rel"&&Qr[Ki].toLowerCase()==="stylesheet"||(yn=Ki),_t.indexOf(Xn)===-1||Xn!=="innerHTML"&&Xn!=="cssText"&&Xn!=="itemprop"||(yn=Xn)}if(!yn||!Qr[yn])return!1;var hi=Qr[yn].toLowerCase();return jt[yn]||(jt[yn]={}),nn[yn]||(nn[yn]={}),!jt[yn][hi]&&(nn[yn][hi]=!0,!0)}).reverse().forEach(function(Qr){return Cr.push(Qr)});for(var Kr=Object.keys(nn),Ln=0;Ln<Kr.length;Ln+=1){var At=Kr[Ln],cr=P({},jt[At],nn[At]);jt[At]=cr}return Cr},[]).reverse()},U=function(Rt,_t){if(Array.isArray(Rt)&&Rt.length){for(var vt=0;vt<Rt.length;vt+=1)if(Rt[vt][_t])return!0}return!1},$=function(Rt){return Array.isArray(Rt)?Rt.join(""):Rt},ie=function(Rt,_t){return Array.isArray(Rt)?Rt.reduce(function(vt,jt){return function(Cr,yr){for(var nn=Object.keys(Cr),Kr=0;Kr<nn.length;Kr+=1)if(yr[nn[Kr]]&&yr[nn[Kr]].includes(Cr[nn[Kr]]))return!0;return!1}(jt,_t)?vt.priority.push(jt):vt.default.push(jt),vt},{priority:[],default:[]}):{default:Rt}},_e=function(Rt,_t){var vt;return P({},Rt,((vt={})[_t]=void 0,vt))},Pe=[K.NOSCRIPT,K.SCRIPT,K.STYLE],De=function(Rt,_t){return _t===void 0&&(_t=!0),_t===!1?String(Rt):String(Rt).replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")},He=function(Rt){return Object.keys(Rt).reduce(function(_t,vt){var jt=Rt[vt]!==void 0?vt+'="'+Rt[vt]+'"':""+vt;return _t?_t+" "+jt:jt},"")},Ne=function(Rt,_t){return _t===void 0&&(_t={}),Object.keys(Rt).reduce(function(vt,jt){return vt[oe[jt]||jt]=Rt[jt],vt},_t)},Ft=function(Rt,_t){return _t.map(function(vt,jt){var Cr,yr=((Cr={key:jt})["data-rh"]=!0,Cr);return Object.keys(vt).forEach(function(nn){var Kr=oe[nn]||nn;Kr==="innerHTML"||Kr==="cssText"?yr.dangerouslySetInnerHTML={__html:vt.innerHTML||vt.cssText}:yr[Kr]=vt[nn]}),x.createElement(Rt,yr)})},gt=function(Rt,_t,vt){switch(Rt){case K.TITLE:return{toComponent:function(){return Cr=_t.titleAttributes,(yr={key:jt=_t.title})["data-rh"]=!0,nn=Ne(Cr,yr),[x.createElement(K.TITLE,nn,jt)];var jt,Cr,yr,nn},toString:function(){return function(jt,Cr,yr,nn){var Kr=He(yr),Ln=$(Cr);return Kr?"<"+jt+' data-rh="true" '+Kr+">"+De(Ln,nn)+"</"+jt+">":"<"+jt+' data-rh="true">'+De(Ln,nn)+"</"+jt+">"}(Rt,_t.title,_t.titleAttributes,vt)}};case"bodyAttributes":case"htmlAttributes":return{toComponent:function(){return Ne(_t)},toString:function(){return He(_t)}};default:return{toComponent:function(){return Ft(Rt,_t)},toString:function(){return function(jt,Cr,yr){return Cr.reduce(function(nn,Kr){var Ln=Object.keys(Kr).filter(function(Qr){return!(Qr==="innerHTML"||Qr==="cssText")}).reduce(function(Qr,yn){var Gn=Kr[yn]===void 0?yn:yn+'="'+De(Kr[yn],yr)+'"';return Qr?Qr+" "+Gn:Gn},""),At=Kr.innerHTML||Kr.cssText||"",cr=Pe.indexOf(jt)===-1;return nn+"<"+jt+' data-rh="true" '+Ln+(cr?"/>":">"+At+"</"+jt+">")},"")}(Rt,_t,vt)}}}},Dt=function(Rt){var _t=Rt.baseTag,vt=Rt.bodyAttributes,jt=Rt.encode,Cr=Rt.htmlAttributes,yr=Rt.noscriptTags,nn=Rt.styleTags,Kr=Rt.title,Ln=Kr===void 0?"":Kr,At=Rt.titleAttributes,cr=Rt.linkTags,Qr=Rt.metaTags,yn=Rt.scriptTags,Gn={toComponent:function(){},toString:function(){return""}};if(Rt.prioritizeSeoTags){var fi=function(Xn){var Ki=Xn.linkTags,hi=Xn.scriptTags,bi=Xn.encode,Di=ie(Xn.metaTags,ae),wi=ie(Ki,G),fa=ie(hi,H);return{priorityMethods:{toComponent:function(){return[].concat(Ft(K.META,Di.priority),Ft(K.LINK,wi.priority),Ft(K.SCRIPT,fa.priority))},toString:function(){return gt(K.META,Di.priority,bi)+" "+gt(K.LINK,wi.priority,bi)+" "+gt(K.SCRIPT,fa.priority,bi)}},metaTags:Di.default,linkTags:wi.default,scriptTags:fa.default}}(Rt);Gn=fi.priorityMethods,cr=fi.linkTags,Qr=fi.metaTags,yn=fi.scriptTags}return{priority:Gn,base:gt(K.BASE,_t,jt),bodyAttributes:gt("bodyAttributes",vt,jt),htmlAttributes:gt("htmlAttributes",Cr,jt),link:gt(K.LINK,cr,jt),meta:gt(K.META,Qr,jt),noscript:gt(K.NOSCRIPT,yr,jt),script:gt(K.SCRIPT,yn,jt),style:gt(K.STYLE,nn,jt),title:gt(K.TITLE,{title:Ln,titleAttributes:At},jt)}},rr=[],Xt=function(Rt,_t){var vt=this;_t===void 0&&(_t=typeof document!="undefined"),this.instances=[],this.value={setHelmet:function(jt){vt.context.helmet=jt},helmetInstances:{get:function(){return vt.canUseDOM?rr:vt.instances},add:function(jt){(vt.canUseDOM?rr:vt.instances).push(jt)},remove:function(jt){var Cr=(vt.canUseDOM?rr:vt.instances).indexOf(jt);(vt.canUseDOM?rr:vt.instances).splice(Cr,1)}}},this.context=Rt,this.canUseDOM=_t,_t||(Rt.helmet=Dt({baseTag:[],bodyAttributes:{},encodeSpecialCharacters:!0,htmlAttributes:{},linkTags:[],metaTags:[],noscriptTags:[],scriptTags:[],styleTags:[],title:"",titleAttributes:{}}))},fr=x.createContext({}),Ge=y().shape({setHelmet:y().func,helmetInstances:y().shape({get:y().func,add:y().func,remove:y().func})}),Tt=typeof document!="undefined",zt=function(Rt){function _t(vt){var jt;return(jt=Rt.call(this,vt)||this).helmetData=new Xt(jt.props.context,_t.canUseDOM),jt}return M(_t,Rt),_t.prototype.render=function(){return x.createElement(fr.Provider,{value:this.helmetData.value},this.props.children)},_t}(x.Component);zt.canUseDOM=Tt,zt.propTypes={context:y().shape({helmet:y().shape()}),children:y().node.isRequired},zt.defaultProps={context:{}},zt.displayName="HelmetProvider";var nt=function(Rt,_t){var vt,jt=document.head||document.querySelector(K.HEAD),Cr=jt.querySelectorAll(Rt+"[data-rh]"),yr=[].slice.call(Cr),nn=[];return _t&&_t.length&&_t.forEach(function(Kr){var Ln=document.createElement(Rt);for(var At in Kr)Object.prototype.hasOwnProperty.call(Kr,At)&&(At==="innerHTML"?Ln.innerHTML=Kr.innerHTML:At==="cssText"?Ln.styleSheet?Ln.styleSheet.cssText=Kr.cssText:Ln.appendChild(document.createTextNode(Kr.cssText)):Ln.setAttribute(At,Kr[At]===void 0?"":Kr[At]));Ln.setAttribute("data-rh","true"),yr.some(function(cr,Qr){return vt=Qr,Ln.isEqualNode(cr)})?yr.splice(vt,1):nn.push(Ln)}),yr.forEach(function(Kr){return Kr.parentNode.removeChild(Kr)}),nn.forEach(function(Kr){return jt.appendChild(Kr)}),{oldTags:yr,newTags:nn}},bt=function(Rt,_t){var vt=document.getElementsByTagName(Rt)[0];if(vt){for(var jt=vt.getAttribute("data-rh"),Cr=jt?jt.split(","):[],yr=[].concat(Cr),nn=Object.keys(_t),Kr=0;Kr<nn.length;Kr+=1){var Ln=nn[Kr],At=_t[Ln]||"";vt.getAttribute(Ln)!==At&&vt.setAttribute(Ln,At),Cr.indexOf(Ln)===-1&&Cr.push(Ln);var cr=yr.indexOf(Ln);cr!==-1&&yr.splice(cr,1)}for(var Qr=yr.length-1;Qr>=0;Qr-=1)vt.removeAttribute(yr[Qr]);Cr.length===yr.length?vt.removeAttribute("data-rh"):vt.getAttribute("data-rh")!==nn.join(",")&&vt.setAttribute("data-rh",nn.join(","))}},dt=function(Rt,_t){var vt=Rt.baseTag,jt=Rt.htmlAttributes,Cr=Rt.linkTags,yr=Rt.metaTags,nn=Rt.noscriptTags,Kr=Rt.onChangeClientState,Ln=Rt.scriptTags,At=Rt.styleTags,cr=Rt.title,Qr=Rt.titleAttributes;bt(K.BODY,Rt.bodyAttributes),bt(K.HTML,jt),function(Xn,Ki){Xn!==void 0&&document.title!==Xn&&(document.title=$(Xn)),bt(K.TITLE,Ki)}(cr,Qr);var yn={baseTag:nt(K.BASE,vt),linkTags:nt(K.LINK,Cr),metaTags:nt(K.META,yr),noscriptTags:nt(K.NOSCRIPT,nn),scriptTags:nt(K.SCRIPT,Ln),styleTags:nt(K.STYLE,At)},Gn={},fi={};Object.keys(yn).forEach(function(Xn){var Ki=yn[Xn],hi=Ki.newTags,bi=Ki.oldTags;hi.length&&(Gn[Xn]=hi),bi.length&&(fi[Xn]=yn[Xn].oldTags)}),_t&&_t(),Kr(Rt,Gn,fi)},et=null,ze=function(Rt){function _t(){for(var jt,Cr=arguments.length,yr=new Array(Cr),nn=0;nn<Cr;nn++)yr[nn]=arguments[nn];return(jt=Rt.call.apply(Rt,[this].concat(yr))||this).rendered=!1,jt}M(_t,Rt);var vt=_t.prototype;return vt.shouldComponentUpdate=function(jt){return!A()(jt,this.props)},vt.componentDidUpdate=function(){this.emitChange()},vt.componentWillUnmount=function(){this.props.context.helmetInstances.remove(this),this.emitChange()},vt.emitChange=function(){var jt,Cr,yr=this.props.context,nn=yr.setHelmet,Kr=null,Ln=(jt=yr.helmetInstances.get().map(function(At){var cr=P({},At.props);return delete cr.context,cr}),{baseTag:Q(["href"],jt),bodyAttributes:ee("bodyAttributes",jt),defer:J(jt,"defer"),encode:J(jt,"encodeSpecialCharacters"),htmlAttributes:ee("htmlAttributes",jt),linkTags:ue(K.LINK,["rel","href"],jt),metaTags:ue(K.META,["name","charset","http-equiv","property","itemprop"],jt),noscriptTags:ue(K.NOSCRIPT,["innerHTML"],jt),onChangeClientState:se(jt),scriptTags:ue(K.SCRIPT,["src","innerHTML"],jt),styleTags:ue(K.STYLE,["cssText"],jt),title:V(jt),titleAttributes:ee("titleAttributes",jt),prioritizeSeoTags:U(jt,"prioritizeSeoTags")});zt.canUseDOM?(Cr=Ln,et&&cancelAnimationFrame(et),Cr.defer?et=requestAnimationFrame(function(){dt(Cr,function(){et=null})}):(dt(Cr),et=null)):Dt&&(Kr=Dt(Ln)),nn(Kr)},vt.init=function(){this.rendered||(this.rendered=!0,this.props.context.helmetInstances.add(this),this.emitChange())},vt.render=function(){return this.init(),null},_t}(x.Component);ze.propTypes={context:Ge.isRequired},ze.displayName="HelmetDispatcher";var ge=["children"],Se=["children"],Le=function(Rt){function _t(){return Rt.apply(this,arguments)||this}M(_t,Rt);var vt=_t.prototype;return vt.shouldComponentUpdate=function(jt){return!b()(_e(this.props,"helmetData"),_e(jt,"helmetData"))},vt.mapNestedChildrenToProps=function(jt,Cr){if(!Cr)return null;switch(jt.type){case K.SCRIPT:case K.NOSCRIPT:return{innerHTML:Cr};case K.STYLE:return{cssText:Cr};default:throw new Error("<"+jt.type+" /> elements are self-closing and can not contain children. Refer to our API for more information.")}},vt.flattenArrayTypeChildren=function(jt){var Cr,yr=jt.child,nn=jt.arrayTypeChildren;return P({},nn,((Cr={})[yr.type]=[].concat(nn[yr.type]||[],[P({},jt.newChildProps,this.mapNestedChildrenToProps(yr,jt.nestedChildren))]),Cr))},vt.mapObjectTypeChildren=function(jt){var Cr,yr,nn=jt.child,Kr=jt.newProps,Ln=jt.newChildProps,At=jt.nestedChildren;switch(nn.type){case K.TITLE:return P({},Kr,((Cr={})[nn.type]=At,Cr.titleAttributes=P({},Ln),Cr));case K.BODY:return P({},Kr,{bodyAttributes:P({},Ln)});case K.HTML:return P({},Kr,{htmlAttributes:P({},Ln)});default:return P({},Kr,((yr={})[nn.type]=P({},Ln),yr))}},vt.mapArrayTypeChildrenToProps=function(jt,Cr){var yr=P({},Cr);return Object.keys(jt).forEach(function(nn){var Kr;yr=P({},yr,((Kr={})[nn]=jt[nn],Kr))}),yr},vt.warnOnInvalidChildren=function(jt,Cr){return k()(ne.some(function(yr){return jt.type===yr}),typeof jt.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 "+ne.join(", ")+" are allowed. Helmet does not support rendering <"+jt.type+"> elements. Refer to our API for more information."),k()(!Cr||typeof Cr=="string"||Array.isArray(Cr)&&!Cr.some(function(yr){return typeof yr!="string"}),"Helmet expects a string as a child of <"+jt.type+">. Did you forget to wrap your children in braces? ( <"+jt.type+">{``}</"+jt.type+"> ) Refer to our API for more information."),!0},vt.mapChildrenToProps=function(jt,Cr){var yr=this,nn={};return x.Children.forEach(jt,function(Kr){if(Kr&&Kr.props){var Ln=Kr.props,At=Ln.children,cr=N(Ln,ge),Qr=Object.keys(cr).reduce(function(Gn,fi){return Gn[q[fi]||fi]=cr[fi],Gn},{}),yn=Kr.type;switch(typeof yn=="symbol"?yn=yn.toString():yr.warnOnInvalidChildren(Kr,At),yn){case K.FRAGMENT:Cr=yr.mapChildrenToProps(At,Cr);break;case K.LINK:case K.META:case K.NOSCRIPT:case K.SCRIPT:case K.STYLE:nn=yr.flattenArrayTypeChildren({child:Kr,arrayTypeChildren:nn,newChildProps:Qr,nestedChildren:At});break;default:Cr=yr.mapObjectTypeChildren({child:Kr,newProps:Cr,newChildProps:Qr,nestedChildren:At})}}}),this.mapArrayTypeChildrenToProps(nn,Cr)},vt.render=function(){var jt=this.props,Cr=jt.children,yr=N(jt,Se),nn=P({},yr),Kr=yr.helmetData;return Cr&&(nn=this.mapChildrenToProps(Cr,nn)),!Kr||Kr instanceof Xt||(Kr=new Xt(Kr.context,Kr.instances)),Kr?x.createElement(ze,P({},nn,{context:Kr.value,helmetData:void 0})):x.createElement(fr.Consumer,null,function(Ln){return x.createElement(ze,P({},nn,{context:Ln}))})},_t}(x.Component);Le.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},Le.defaultProps={defer:!0,encodeSpecialCharacters:!0,prioritizeSeoTags:!1},Le.displayName="Helmet";const $e={},We=Rt=>x.createElement(zt,{context:$e},Rt);var rt=e(92736),ot=e(76560),Kt=e(36237),Wt=e(21384),Ce=e(28440),Je=e.n(Ce),Yt=Object.defineProperty,kt=Object.getOwnPropertySymbols,Ht=Object.prototype.hasOwnProperty,$t=Object.prototype.propertyIsEnumerable,tr=(Rt,_t,vt)=>_t in Rt?Yt(Rt,_t,{enumerable:!0,configurable:!0,writable:!0,value:vt}):Rt[_t]=vt,Gt=(Rt,_t)=>{for(var vt in _t||(_t={}))Ht.call(_t,vt)&&tr(Rt,vt,_t[vt]);if(kt)for(var vt of kt(_t))$t.call(_t,vt)&&tr(Rt,vt,_t[vt]);return Rt},Me=(Rt,_t)=>{var vt={};for(var jt in Rt)Ht.call(Rt,jt)&&_t.indexOf(jt)<0&&(vt[jt]=Rt[jt]);if(Rt!=null&&kt)for(var jt of kt(Rt))_t.indexOf(jt)<0&&$t.call(Rt,jt)&&(vt[jt]=Rt[jt]);return vt};let ce=null;const he=()=>(ce||(ce=ur().applyPlugins({key:"antd",type:ot.ApplyPluginsType.modify,initialValue:Gt({},{componentSize:"middle"})})),ce);function Pt({children:Rt}){let _t=Rt;const[vt,jt]=x.useState(()=>{const yr=he(),{appConfig:nn}=yr;return Me(yr,["appConfig"])}),Cr=yr=>{jt(nn=>Je()({},nn,typeof yr=="function"?yr(nn):yr))};return vt.prefixCls&&rt.ZP.config({prefixCls:vt.prefixCls}),vt.iconPrefixCls&&rt.ZP.config({iconPrefixCls:vt.iconPrefixCls}),vt.theme&&rt.ZP.config({theme:vt.theme}),_t=x.createElement(rt.ZP,Gt({},vt),_t),_t=x.createElement(Kt.StyleProvider,{hashPriority:"high"},_t),_t=x.createElement(Wt.C.Provider,{value:Cr},x.createElement(Wt.S.Provider,{value:vt},_t)),_t}function Te(Rt){return x.createElement(Pt,null,Rt)}var ct=e(55610);function Zt(Rt,_t){return x.createElement(ct.j,_t,Rt)}var wt=e(65517),Ie=e(26108),xt=e(81863),be=Object.defineProperty,Ye=Object.getOwnPropertySymbols,mt=Object.prototype.hasOwnProperty,Lt=Object.prototype.propertyIsEnumerable,Fe=(Rt,_t,vt)=>_t in Rt?be(Rt,_t,{enumerable:!0,configurable:!0,writable:!0,value:vt}):Rt[_t]=vt,Or=(Rt,_t)=>{for(var vt in _t||(_t={}))mt.call(_t,vt)&&Fe(Rt,vt,_t[vt]);if(Ye)for(var vt of Ye(_t))Lt.call(_t,vt)&&Fe(Rt,vt,_t[vt]);return Rt};function St(){var Rt,_t;const vt=getLocale();(Rt=moment)!=null&&Rt.locale&&moment.locale(((_t=localeInfo[vt])==null?void 0:_t.momentLocale)||"zh-cn"),setIntl(vt)}const Vr=typeof window!="undefined"&&typeof window.document!="undefined"&&typeof window.document.createElement!="undefined"?x.useLayoutEffect:x.useEffect,tn=Rt=>{var _t;const vt=(0,Ie.Kd)(),[jt,Cr]=x.useState(vt),[yr,nn]=x.useState(()=>(0,Ie.lw)(jt,!0)),Kr=cr=>{var Qr,yn;(Qr=u())!=null&&Qr.locale&&u().locale(((yn=Ie.H8[cr])==null?void 0:yn.momentLocale)||"en"),Cr(cr),nn((0,Ie.lw)(cr))};Vr(()=>(Ie.B.on(Ie.PZ,Kr),()=>{Ie.B.off(Ie.PZ,Kr)}),[]);const Ln=Or({},xt.Z),At=(0,Ie.Mg)();return x.createElement(rt.ZP,{direction:At,locale:((_t=Ie.H8[jt])==null?void 0:_t.antd)||Ln},x.createElement(Ie.eU,{value:yr},Rt.children))};function wr(Rt){return x.createElement(tn,null,Rt)}function Nr(Rt){return Rt.default?typeof Rt.default=="function"?Rt.default():Rt.default:Rt}function gr(){return[{apply:Nr(r),path:void 0},{apply:i,path:void 0},{apply:l,path:void 0},{apply:c,path:void 0},{apply:f,path:void 0}]}function Ur(){return["patchRoutes","patchClientRoutes","modifyContextOpts","modifyClientRenderOpts","rootContainer","innerProvider","i18nProvider","accessProvider","dataflowProvider","outerProvider","render","onRouteChange","antd","dva","locale","qiankun"]}let cn=null;function hn(){return cn=ot.PluginManager.create({plugins:gr(),validKeys:Ur()}),cn}function ur(){return cn}},76560:function(d,v,e){"use strict";e.d(v,{ApplyPluginsType:function(){return Tt},Link:function(){return J},Outlet:function(){return V.j3},PluginManager:function(){return zt},connect:function(){return f.$j},getDvaApp:function(){return o.Q},history:function(){return nt.m8},useAppData:function(){return H.Ov},useDispatch:function(){return f.I0},useLocation:function(){return V.TH},useOutletContext:function(){return V.bx},useParams:function(){return V.UO},useSearchParams:function(){return G.lr},useSelector:function(){return f.v9}});var r=e(59301),i=e(21384);function l(){return React.useContext(AntdConfigContext)}function c(){return React.useContext(AntdConfigContextSetter)}var f=e(45434),o=e(55610),h=e(26108),u=Object.defineProperty,a=Object.defineProperties,x=Object.getOwnPropertyDescriptors,p=Object.getOwnPropertySymbols,y=Object.prototype.hasOwnProperty,_=Object.prototype.propertyIsEnumerable,b=(We,rt,ot)=>rt in We?u(We,rt,{enumerable:!0,configurable:!0,writable:!0,value:ot}):We[rt]=ot,S=(We,rt)=>{for(var ot in rt||(rt={}))y.call(rt,ot)&&b(We,ot,rt[ot]);if(p)for(var ot of p(rt))_.call(rt,ot)&&b(We,ot,rt[ot]);return We},k=(We,rt)=>a(We,x(rt)),R=(We,rt)=>{var ot={};for(var Kt in We)y.call(We,Kt)&&rt.indexOf(Kt)<0&&(ot[Kt]=We[Kt]);if(We!=null&&p)for(var Kt of p(We))rt.indexOf(Kt)<0&&_.call(We,Kt)&&(ot[Kt]=We[Kt]);return ot};const A=We=>{var rt=We,{overlayClassName:ot}=rt,Kt=R(rt,["overlayClassName"]);return React.createElement(Dropdown,S({overlayClassName:ot},Kt))},P=We=>We.reduce((rt,ot)=>ot.lang?k(S({},rt),{[ot.lang]:ot}):rt,{}),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=We=>React.createElement(React.Fragment,null);var N=e(38329),K=e(38127),G=e(32451),H=e(9139),ae=e(87296);function ne(We,rt){var ot=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},Kt=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};if(typeof IntersectionObserver!="function")return null;var Wt=r.useRef(typeof IntersectionObserver=="function"),Ce=r.useRef(null);return r.useEffect(function(){if(!(!We.current||!Wt.current||Kt.disabled))return Ce.current=new IntersectionObserver(function(Je){var Yt=(0,ae.Z)(Je,1),kt=Yt[0];rt(kt)},ot),Ce.current.observe(We.current),function(){var Je;(Je=Ce.current)===null||Je===void 0||Je.disconnect()}},[rt,ot,Kt.disabled,We]),Ce.current}var oe=["prefetch"];function q(We){var rt=r.useRef(null);return r.useEffect(function(){We&&(typeof We=="function"?We(rt.current):We.current=rt.current)}),rt}var J=r.forwardRef(function(We,rt){var ot,Kt=We.prefetch,Wt=(0,K.Z)(We,oe),Ce=typeof window!="undefined"&&window.__umi_route_prefetch__||{defaultPrefetch:"none",defaultPrefetchTimeout:50},Je=Ce.defaultPrefetch,Yt=Ce.defaultPrefetchTimeout,kt=(Kt===!0?"intent":Kt===!1?"none":Kt)||Je;if(!["intent","render","viewport","none"].includes(kt))throw new Error("Invalid prefetch value ".concat(kt," found in Link component"));var Ht=(0,H.Ov)(),$t=typeof We.to=="string"?We.to:(ot=We.to)===null||ot===void 0?void 0:ot.pathname,tr=r.useRef(!1),Gt=q(rt),Me=function(Pt){if(kt==="intent"){var Te=Pt.target||{};Te.preloadTimeout||(Te.preloadTimeout=setTimeout(function(){var ct;Te.preloadTimeout=null,(ct=Ht.preloadRoute)===null||ct===void 0||ct.call(Ht,$t)},We.prefetchTimeout||Yt))}},ce=function(Pt){if(kt==="intent"){var Te=Pt.target||{};Te.preloadTimeout&&(clearTimeout(Te.preloadTimeout),Te.preloadTimeout=null)}};return(0,r.useLayoutEffect)(function(){if(kt==="render"&&!tr.current){var he;(he=Ht.preloadRoute)===null||he===void 0||he.call(Ht,$t),tr.current=!0}},[kt,$t]),ne(Gt,function(he){if(he!=null&&he.isIntersecting){var Pt;(Pt=Ht.preloadRoute)===null||Pt===void 0||Pt.call(Ht,$t)}},{rootMargin:"100px"},{disabled:kt!=="viewport"}),$t?r.createElement(G.rU,(0,N.Z)({onMouseEnter:Me,onMouseLeave:ce,ref:Gt},Wt),We.children):null}),V=e(35338),se=e(8616);function ee(){"use strict";ee=function(){return rt};var We,rt={},ot=Object.prototype,Kt=ot.hasOwnProperty,Wt=Object.defineProperty||function(wr,Nr,gr){wr[Nr]=gr.value},Ce=typeof Symbol=="function"?Symbol:{},Je=Ce.iterator||"@@iterator",Yt=Ce.asyncIterator||"@@asyncIterator",kt=Ce.toStringTag||"@@toStringTag";function Ht(wr,Nr,gr){return Object.defineProperty(wr,Nr,{value:gr,enumerable:!0,configurable:!0,writable:!0}),wr[Nr]}try{Ht({},"")}catch(wr){Ht=function(gr,Ur,cn){return gr[Ur]=cn}}function $t(wr,Nr,gr,Ur){var cn=Nr&&Nr.prototype instanceof Te?Nr:Te,hn=Object.create(cn.prototype),ur=new Vr(Ur||[]);return Wt(hn,"_invoke",{value:Lt(wr,gr,ur)}),hn}function tr(wr,Nr,gr){try{return{type:"normal",arg:wr.call(Nr,gr)}}catch(Ur){return{type:"throw",arg:Ur}}}rt.wrap=$t;var Gt="suspendedStart",Me="suspendedYield",ce="executing",he="completed",Pt={};function Te(){}function ct(){}function Zt(){}var wt={};Ht(wt,Je,function(){return this});var Ie=Object.getPrototypeOf,xt=Ie&&Ie(Ie(tn([])));xt&&xt!==ot&&Kt.call(xt,Je)&&(wt=xt);var be=Zt.prototype=Te.prototype=Object.create(wt);function Ye(wr){["next","throw","return"].forEach(function(Nr){Ht(wr,Nr,function(gr){return this._invoke(Nr,gr)})})}function mt(wr,Nr){function gr(cn,hn,ur,Rt){var _t=tr(wr[cn],wr,hn);if(_t.type!=="throw"){var vt=_t.arg,jt=vt.value;return jt&&(0,se.Z)(jt)=="object"&&Kt.call(jt,"__await")?Nr.resolve(jt.__await).then(function(Cr){gr("next",Cr,ur,Rt)},function(Cr){gr("throw",Cr,ur,Rt)}):Nr.resolve(jt).then(function(Cr){vt.value=Cr,ur(vt)},function(Cr){return gr("throw",Cr,ur,Rt)})}Rt(_t.arg)}var Ur;Wt(this,"_invoke",{value:function(hn,ur){function Rt(){return new Nr(function(_t,vt){gr(hn,ur,_t,vt)})}return Ur=Ur?Ur.then(Rt,Rt):Rt()}})}function Lt(wr,Nr,gr){var Ur=Gt;return function(cn,hn){if(Ur===ce)throw new Error("Generator is already running");if(Ur===he){if(cn==="throw")throw hn;return{value:We,done:!0}}for(gr.method=cn,gr.arg=hn;;){var ur=gr.delegate;if(ur){var Rt=Fe(ur,gr);if(Rt){if(Rt===Pt)continue;return Rt}}if(gr.method==="next")gr.sent=gr._sent=gr.arg;else if(gr.method==="throw"){if(Ur===Gt)throw Ur=he,gr.arg;gr.dispatchException(gr.arg)}else gr.method==="return"&&gr.abrupt("return",gr.arg);Ur=ce;var _t=tr(wr,Nr,gr);if(_t.type==="normal"){if(Ur=gr.done?he:Me,_t.arg===Pt)continue;return{value:_t.arg,done:gr.done}}_t.type==="throw"&&(Ur=he,gr.method="throw",gr.arg=_t.arg)}}}function Fe(wr,Nr){var gr=Nr.method,Ur=wr.iterator[gr];if(Ur===We)return Nr.delegate=null,gr==="throw"&&wr.iterator.return&&(Nr.method="return",Nr.arg=We,Fe(wr,Nr),Nr.method==="throw")||gr!=="return"&&(Nr.method="throw",Nr.arg=new TypeError("The iterator does not provide a '"+gr+"' method")),Pt;var cn=tr(Ur,wr.iterator,Nr.arg);if(cn.type==="throw")return Nr.method="throw",Nr.arg=cn.arg,Nr.delegate=null,Pt;var hn=cn.arg;return hn?hn.done?(Nr[wr.resultName]=hn.value,Nr.next=wr.nextLoc,Nr.method!=="return"&&(Nr.method="next",Nr.arg=We),Nr.delegate=null,Pt):hn:(Nr.method="throw",Nr.arg=new TypeError("iterator result is not an object"),Nr.delegate=null,Pt)}function Or(wr){var Nr={tryLoc:wr[0]};1 in wr&&(Nr.catchLoc=wr[1]),2 in wr&&(Nr.finallyLoc=wr[2],Nr.afterLoc=wr[3]),this.tryEntries.push(Nr)}function St(wr){var Nr=wr.completion||{};Nr.type="normal",delete Nr.arg,wr.completion=Nr}function Vr(wr){this.tryEntries=[{tryLoc:"root"}],wr.forEach(Or,this),this.reset(!0)}function tn(wr){if(wr||wr===""){var Nr=wr[Je];if(Nr)return Nr.call(wr);if(typeof wr.next=="function")return wr;if(!isNaN(wr.length)){var gr=-1,Ur=function cn(){for(;++gr<wr.length;)if(Kt.call(wr,gr))return cn.value=wr[gr],cn.done=!1,cn;return cn.value=We,cn.done=!0,cn};return Ur.next=Ur}}throw new TypeError((0,se.Z)(wr)+" is not iterable")}return ct.prototype=Zt,Wt(be,"constructor",{value:Zt,configurable:!0}),Wt(Zt,"constructor",{value:ct,configurable:!0}),ct.displayName=Ht(Zt,kt,"GeneratorFunction"),rt.isGeneratorFunction=function(wr){var Nr=typeof wr=="function"&&wr.constructor;return!!Nr&&(Nr===ct||(Nr.displayName||Nr.name)==="GeneratorFunction")},rt.mark=function(wr){return Object.setPrototypeOf?Object.setPrototypeOf(wr,Zt):(wr.__proto__=Zt,Ht(wr,kt,"GeneratorFunction")),wr.prototype=Object.create(be),wr},rt.awrap=function(wr){return{__await:wr}},Ye(mt.prototype),Ht(mt.prototype,Yt,function(){return this}),rt.AsyncIterator=mt,rt.async=function(wr,Nr,gr,Ur,cn){cn===void 0&&(cn=Promise);var hn=new mt($t(wr,Nr,gr,Ur),cn);return rt.isGeneratorFunction(Nr)?hn:hn.next().then(function(ur){return ur.done?ur.value:hn.next()})},Ye(be),Ht(be,kt,"Generator"),Ht(be,Je,function(){return this}),Ht(be,"toString",function(){return"[object Generator]"}),rt.keys=function(wr){var Nr=Object(wr),gr=[];for(var Ur in Nr)gr.push(Ur);return gr.reverse(),function cn(){for(;gr.length;){var hn=gr.pop();if(hn in Nr)return cn.value=hn,cn.done=!1,cn}return cn.done=!0,cn}},rt.values=tn,Vr.prototype={constructor:Vr,reset:function(Nr){if(this.prev=0,this.next=0,this.sent=this._sent=We,this.done=!1,this.delegate=null,this.method="next",this.arg=We,this.tryEntries.forEach(St),!Nr)for(var gr in this)gr.charAt(0)==="t"&&Kt.call(this,gr)&&!isNaN(+gr.slice(1))&&(this[gr]=We)},stop:function(){this.done=!0;var Nr=this.tryEntries[0].completion;if(Nr.type==="throw")throw Nr.arg;return this.rval},dispatchException:function(Nr){if(this.done)throw Nr;var gr=this;function Ur(vt,jt){return ur.type="throw",ur.arg=Nr,gr.next=vt,jt&&(gr.method="next",gr.arg=We),!!jt}for(var cn=this.tryEntries.length-1;cn>=0;--cn){var hn=this.tryEntries[cn],ur=hn.completion;if(hn.tryLoc==="root")return Ur("end");if(hn.tryLoc<=this.prev){var Rt=Kt.call(hn,"catchLoc"),_t=Kt.call(hn,"finallyLoc");if(Rt&&_t){if(this.prev<hn.catchLoc)return Ur(hn.catchLoc,!0);if(this.prev<hn.finallyLoc)return Ur(hn.finallyLoc)}else if(Rt){if(this.prev<hn.catchLoc)return Ur(hn.catchLoc,!0)}else{if(!_t)throw new Error("try statement without catch or finally");if(this.prev<hn.finallyLoc)return Ur(hn.finallyLoc)}}}},abrupt:function(Nr,gr){for(var Ur=this.tryEntries.length-1;Ur>=0;--Ur){var cn=this.tryEntries[Ur];if(cn.tryLoc<=this.prev&&Kt.call(cn,"finallyLoc")&&this.prev<cn.finallyLoc){var hn=cn;break}}hn&&(Nr==="break"||Nr==="continue")&&hn.tryLoc<=gr&&gr<=hn.finallyLoc&&(hn=null);var ur=hn?hn.completion:{};return ur.type=Nr,ur.arg=gr,hn?(this.method="next",this.next=hn.finallyLoc,Pt):this.complete(ur)},complete:function(Nr,gr){if(Nr.type==="throw")throw Nr.arg;return Nr.type==="break"||Nr.type==="continue"?this.next=Nr.arg:Nr.type==="return"?(this.rval=this.arg=Nr.arg,this.method="return",this.next="end"):Nr.type==="normal"&&gr&&(this.next=gr),Pt},finish:function(Nr){for(var gr=this.tryEntries.length-1;gr>=0;--gr){var Ur=this.tryEntries[gr];if(Ur.finallyLoc===Nr)return this.complete(Ur.completion,Ur.afterLoc),St(Ur),Pt}},catch:function(Nr){for(var gr=this.tryEntries.length-1;gr>=0;--gr){var Ur=this.tryEntries[gr];if(Ur.tryLoc===Nr){var cn=Ur.completion;if(cn.type==="throw"){var hn=cn.arg;St(Ur)}return hn}}throw new Error("illegal catch attempt")},delegateYield:function(Nr,gr,Ur){return this.delegate={iterator:tn(Nr),resultName:gr,nextLoc:Ur},this.method==="next"&&(this.arg=We),Pt}},rt}var Q=e(63579);function ue(We,rt,ot,Kt,Wt,Ce,Je){try{var Yt=We[Ce](Je),kt=Yt.value}catch(Ht){ot(Ht);return}Yt.done?rt(kt):Promise.resolve(kt).then(Kt,Wt)}function U(We){return function(){var rt=this,ot=arguments;return new Promise(function(Kt,Wt){var Ce=We.apply(rt,ot);function Je(kt){ue(Ce,Kt,Wt,Je,Yt,"next",kt)}function Yt(kt){ue(Ce,Kt,Wt,Je,Yt,"throw",kt)}Je(void 0)})}}var $=e(99227);function ie(We,rt){var ot=typeof Symbol!="undefined"&&We[Symbol.iterator]||We["@@iterator"];if(!ot){if(Array.isArray(We)||(ot=(0,$.Z)(We))||rt&&We&&typeof We.length=="number"){ot&&(We=ot);var Kt=0,Wt=function(){};return{s:Wt,n:function(){return Kt>=We.length?{done:!0}:{done:!1,value:We[Kt++]}},e:function(Ht){throw Ht},f:Wt}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var Ce=!0,Je=!1,Yt;return{s:function(){ot=ot.call(We)},n:function(){var Ht=ot.next();return Ce=Ht.done,Ht},e:function(Ht){Je=!0,Yt=Ht},f:function(){try{!Ce&&ot.return!=null&&ot.return()}finally{if(Je)throw Yt}}}}var _e=e(73825);function Pe(We){if(typeof Symbol!="undefined"&&We[Symbol.iterator]!=null||We["@@iterator"]!=null)return Array.from(We)}var De=e(66160);function He(We){return(0,_e.Z)(We)||Pe(We)||(0,$.Z)(We)||(0,De.Z)()}function Ne(We,rt){if(!(We instanceof rt))throw new TypeError("Cannot call a class as a function")}var Ft=e(89878);function gt(We,rt){for(var ot=0;ot<rt.length;ot++){var Kt=rt[ot];Kt.enumerable=Kt.enumerable||!1,Kt.configurable=!0,"value"in Kt&&(Kt.writable=!0),Object.defineProperty(We,(0,Ft.Z)(Kt.key),Kt)}}function Dt(We,rt,ot){return rt&>(We.prototype,rt),ot&>(We,ot),Object.defineProperty(We,"prototype",{writable:!1}),We}var rr=e(65873);function Xt(We,rt){if(!We)throw new Error(rt)}function fr(We){var rt=We.fns,ot=We.args;if(rt.length===1)return rt[0];var Kt=rt.pop();return rt.reduce(function(Wt,Ce){return function(){return Ce(Wt,ot)}},Kt)}function Ge(We){return!!We&&(0,se.Z)(We)==="object"&&typeof We.then=="function"}var Tt=function(We){return We.compose="compose",We.modify="modify",We.event="event",We}({}),zt=function(){function We(rt){Ne(this,We),(0,rr.Z)(this,"opts",void 0),(0,rr.Z)(this,"hooks",{}),this.opts=rt}return Dt(We,[{key:"register",value:function(ot){var Kt=this;Xt(ot.apply,"plugin register failed, apply must supplied"),Object.keys(ot.apply).forEach(function(Wt){Xt(Kt.opts.validKeys.indexOf(Wt)>-1,"register failed, invalid key ".concat(Wt," ").concat(ot.path?"from plugin ".concat(ot.path):"",".")),Kt.hooks[Wt]=(Kt.hooks[Wt]||[]).concat(ot.apply[Wt])})}},{key:"getHooks",value:function(ot){var Kt=ot.split("."),Wt=He(Kt),Ce=Wt[0],Je=Wt.slice(1),Yt=this.hooks[Ce]||[];return Je.length&&(Yt=Yt.map(function(kt){try{var Ht=kt,$t=ie(Je),tr;try{for($t.s();!(tr=$t.n()).done;){var Gt=tr.value;Ht=Ht[Gt]}}catch(Me){$t.e(Me)}finally{$t.f()}return Ht}catch(Me){return null}}).filter(Boolean)),Yt}},{key:"applyPlugins",value:function(ot){var Kt=ot.key,Wt=ot.type,Ce=ot.initialValue,Je=ot.args,Yt=ot.async,kt=this.getHooks(Kt)||[];switch(Je&&Xt((0,se.Z)(Je)==="object","applyPlugins failed, args must be plain object."),Yt&&Xt(Wt===Tt.modify||Wt===Tt.event,"async only works with modify and event type."),Wt){case Tt.modify:return Yt?kt.reduce(function(){var Ht=U(ee().mark(function $t(tr,Gt){var Me;return ee().wrap(function(he){for(;;)switch(he.prev=he.next){case 0:if(Xt(typeof Gt=="function"||(0,se.Z)(Gt)==="object"||Ge(Gt),"applyPlugins failed, all hooks for key ".concat(Kt," must be function, plain object or Promise.")),!Ge(tr)){he.next=5;break}return he.next=4,tr;case 4:tr=he.sent;case 5:if(typeof Gt!="function"){he.next=16;break}if(Me=Gt(tr,Je),!Ge(Me)){he.next=13;break}return he.next=10,Me;case 10:return he.abrupt("return",he.sent);case 13:return he.abrupt("return",Me);case 14:he.next=21;break;case 16:if(!Ge(Gt)){he.next=20;break}return he.next=19,Gt;case 19:Gt=he.sent;case 20:return he.abrupt("return",(0,Q.Z)((0,Q.Z)({},tr),Gt));case 21:case"end":return he.stop()}},$t)}));return function($t,tr){return Ht.apply(this,arguments)}}(),Ge(Ce)?Ce:Promise.resolve(Ce)):kt.reduce(function(Ht,$t){return Xt(typeof $t=="function"||(0,se.Z)($t)==="object","applyPlugins failed, all hooks for key ".concat(Kt," must be function or plain object.")),typeof $t=="function"?$t(Ht,Je):(0,Q.Z)((0,Q.Z)({},Ht),$t)},Ce);case Tt.event:return U(ee().mark(function Ht(){var $t,tr,Gt,Me;return ee().wrap(function(he){for(;;)switch(he.prev=he.next){case 0:$t=ie(kt),he.prev=1,$t.s();case 3:if((tr=$t.n()).done){he.next=12;break}if(Gt=tr.value,Xt(typeof Gt=="function","applyPlugins failed, all hooks for key ".concat(Kt," must be function.")),Me=Gt(Je),!(Yt&&Ge(Me))){he.next=10;break}return he.next=10,Me;case 10:he.next=3;break;case 12:he.next=17;break;case 14:he.prev=14,he.t0=he.catch(1),$t.e(he.t0);case 17:return he.prev=17,$t.f(),he.finish(17);case 20:case"end":return he.stop()}},Ht,null,[[1,14,17,20]])}))();case Tt.compose:return function(){return fr({fns:kt.concat(Ce),args:Je})()}}}}],[{key:"create",value:function(ot){var Kt=new We({validKeys:ot.validKeys});return ot.plugins.forEach(function(Wt){Kt.register(Wt)}),Kt}}]),We}(),nt=e(59098);let bt=0,dt=0;function et(We,rt){}function ze(We){return JSON.stringify(We,null,2)}function ge(We){const rt=We.length>1?We.map(Se).join(" "):We[0];return typeof rt=="object"?`${ze(rt)}`:rt.toString()}function Se(We){return typeof We=="object"?`${JSON.stringify(We)}`:We.toString()}const Le={log(...We){ge(We)},info(...We){ge(We)},warn(...We){ge(We)},error(...We){ge(We)},group(){dt++},groupCollapsed(){dt++},groupEnd(){dt&&--dt},clear(){},trace(...We){console.trace(...We)},profile(...We){console.profile(...We)},profileEnd(...We){console.profileEnd(...We)}},$e=()=>{}},21384: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.")})},55610:function(d,v,e){"use strict";e.d(v,{j:function(){return Lc},Q:function(){return Ef}});var r=e(45434),i=e(89880),l=e.n(i),c=e(59301),f=e(76560),o=e(96047),h=Object.defineProperty,u=Object.getOwnPropertySymbols,a=Object.prototype.hasOwnProperty,x=Object.prototype.propertyIsEnumerable,p=(T,D,L)=>D in T?h(T,D,{enumerable:!0,configurable:!0,writable:!0,value:L}):T[D]=L,y=(T,D)=>{for(var L in D||(D={}))a.call(D,L)&&p(T,L,D[L]);if(u)for(var L of u(D))x.call(D,L)&&p(T,L,D[L]);return T},b={namespace:"account",state:{basicInfo:void 0,actionTabs:{key:"",params:{}}},effects:{*updateAvatar({payload:T},{call:D,put:L}){return yield D(o.n1,T)},*appplySchool({payload:T},{call:D,put:L}){return yield D(o.bz,T)},*getSchoolOption({payload:T},{call:D,put:L}){return yield D(o.GY,T)},*getDepartmentOption({payload:T},{call:D,put:L}){return yield D(o.Ql,T)},*appplyDepartment({payload:T},{call:D,put:L}){return yield D(o.Zm,T)},*updateAccount({payload:T},{call:D,put:L}){return yield D(o.sG,T)},*cancelRealNameAuth({payload:T},{call:D,put:L}){return yield D(o.P,T)},*cancelProfessionalAuth({payload:T},{call:D,put:L}){return yield D(o.$f,T)},*applyProfessionalAuth({payload:T},{call:D,put:L}){return yield D(o.Ow,T)},*applyRealNameAuth({payload:T},{call:D,put:L}){return yield D(o.ht,T)},*getCode({payload:T},{call:D,put:L}){return yield D(o.Cq,T)},*bindPhone({payload:T},{call:D,put:L}){return yield D(o.eF,T)},*bindEmail({payload:T},{call:D,put:L}){return yield D(o.I8,T)},*updatePassword({payload:T},{call:D,put:L}){return yield D(o.gQ,T)},*unbindAccount({payload:T},{call:D,put:L}){return yield D(o.wi,T)},*getBasicInfo({payload:T},{call:D,put:L}){const me=yield D(o.o9,T);return yield L({type:"save",payload:{basicInfo:y({},me)}}),me},*setActionTabs({payload:T},{call:D,put:L}){yield L({type:"save",payload:{actionTabs:y({},T)}})}},reducers:{save(T,D){return y(y({},T),D.payload)}},subscriptions:{setup({dispatch:T,history:D}){return D.listen(({pathname:L})=>{L==="/"&&T({type:"query"})})}}},S=e(1754),k=Object.defineProperty,R=Object.getOwnPropertySymbols,A=Object.prototype.hasOwnProperty,P=Object.prototype.propertyIsEnumerable,M=(T,D,L)=>D in T?k(T,D,{enumerable:!0,configurable:!0,writable:!0,value:L}):T[D]=L,B=(T,D)=>{for(var L in D||(D={}))A.call(D,L)&&M(T,L,D[L]);if(R)for(var L of R(D))P.call(D,L)&&M(T,L,D[L]);return T},K={namespace:"announcement",state:{name:"\u666E\u901A\u8BD5\u5377\uFF0C\u968F\u673A\u8BD5\u5377\u8BE6\u60C5\u9875\u9762",loading:!0,actionTabs:{}},effects:{*informDown({payload:T,callback:D},{call:L,put:me}){return yield L(S.nZ,T)},*informUp({payload:T,callback:D},{call:L,put:me}){return yield L(S.TO,T)},*setActionTabs({payload:T},{call:D,put:L}){yield L({type:"save",payload:{actionTabs:B({},T)}})}},reducers:{save(T,D){return B(B({},T),D.payload)}},subscriptions:{setup({dispatch:T,history:D}){}}},G=e(14794),H=Object.defineProperty,ae=Object.getOwnPropertySymbols,ne=Object.prototype.hasOwnProperty,oe=Object.prototype.propertyIsEnumerable,q=(T,D,L)=>D in T?H(T,D,{enumerable:!0,configurable:!0,writable:!0,value:L}):T[D]=L,J=(T,D)=>{for(var L in D||(D={}))ne.call(D,L)&&q(T,L,D[L]);if(ae)for(var L of ae(D))oe.call(D,L)&&q(T,L,D[L]);return T},se={namespace:"attachment",state:{name:"\u8D44\u6E90",loading:!0,detail:{},actionTabs:{}},effects:{*allAttachment({payload:T,callback:D},{call:L,put:me}){const ke=yield L(G.SV,T);return yield me({type:"save",payload:{allList:J({},ke)}}),ke},*mineAttachment({payload:T,callback:D},{call:L,put:me}){const ke=yield L(G.zI,T);return yield me({type:"save",payload:{mineList:J({},ke)}}),ke},*fileImport({payload:T,callback:D},{call:L,put:me}){return yield L(G.tO,T)},*getDetail({payload:T,callback:D},{call:L,put:me}){const ke=yield L(G.Nm,T);return yield me({type:"save",payload:{detail:J({},ke)}}),ke},*updateVisits({payload:T,callback:D},{call:L,put:me}){return yield L(G.H,T)},*setActionTabs({payload:T},{call:D,put:L}){yield L({type:"save",payload:{actionTabs:J({},T)}})}},reducers:{save(T,D){return J(J({},T),D.payload)}},subscriptions:{setup({dispatch:T,history:D}){}}},ee=e(74891),Q=Object.defineProperty,ue=Object.getOwnPropertySymbols,U=Object.prototype.hasOwnProperty,$=Object.prototype.propertyIsEnumerable,ie=(T,D,L)=>D in T?Q(T,D,{enumerable:!0,configurable:!0,writable:!0,value:L}):T[D]=L,_e=(T,D)=>{for(var L in D||(D={}))U.call(D,L)&&ie(T,L,D[L]);if(ue)for(var L of ue(D))$.call(D,L)&&ie(T,L,D[L]);return T},De={namespace:"boards",state:{name:"\u8BA8\u8BBA",loading:!0,actionTabs:{},boardsDetail:{},boardsCategoryList:{}},effects:{*getBoardsCategoryList({payload:T,callback:D},{call:L,put:me}){const ke=yield L(ee.yq,T);return yield me({type:"save",payload:{boardsCategoryList:_e({},ke.data)}}),ke.data},*getBoardsDetail({payload:T,callback:D},{call:L,put:me}){const ke=yield L(ee.dI,T);return yield me({type:"save",payload:{boardsDetail:_e({},ke.data)}}),ke.data},*setTopping({payload:T,callback:D},{call:L,put:me}){return yield L(ee.cc,T)},*escTopping({payload:T,callback:D},{call:L,put:me}){return yield L(ee.CJ,T)},*getReplyList({payload:T,callback:D},{call:L,put:me}){const ke=yield L(ee.PC,T);yield me({type:"save",payload:{replyList:_e({},ke.data)}})},*createReply({payload:T,callback:D},{call:L,put:me}){return yield L(ee.PP,T)},*replyLike({payload:T,callback:D},{call:L,put:me}){return yield L(ee.NA,T)},*replyUnLike({payload:T,callback:D},{call:L,put:me}){return yield L(ee.YQ,T)},*deleteReply({payload:T,callback:D},{call:L,put:me}){return yield L(ee.Mf,T)},*setActionTabs({payload:T},{call:D,put:L}){yield L({type:"save",payload:{actionTabs:_e({},T)}})}},reducers:{save(T,D){return _e(_e({},T),D.payload)}},subscriptions:{setup({dispatch:T,history:D}){}}},He=e(72664),Ne=Object.defineProperty,Ft=Object.getOwnPropertySymbols,gt=Object.prototype.hasOwnProperty,Dt=Object.prototype.propertyIsEnumerable,rr=(T,D,L)=>D in T?Ne(T,D,{enumerable:!0,configurable:!0,writable:!0,value:L}):T[D]=L,Xt=(T,D)=>{for(var L in D||(D={}))gt.call(D,L)&&rr(T,L,D[L]);if(Ft)for(var L of Ft(D))Dt.call(D,L)&&rr(T,L,D[L]);return T},Ge={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:T,callback:D},{call:L,put:me}){const ke=yield L(He.$Q,T);return yield me({type:"save",payload:{ScoreRangesData:ke==null?void 0:ke.data}}),ke},*getQuestionResult({payload:T,callback:D},{call:L,put:me}){const ke=yield L(He._U,T);return yield me({type:"save",payload:{NormalResult:ke}}),ke},*getUserExercise({payload:T,callback:D},{call:L,put:me}){const ke=yield L(He.xA,T);return yield me({type:"save",payload:{userExerciseList:Xt({},(ke==null?void 0:ke.data)||{})}}),console.log("getUserExercise-res:",ke),ke==null?void 0:ke.data},*getExerciseIdentityPhotos({payload:T,callback:D},{call:L,put:me}){const ke=yield L(He.J,T);return yield me({type:"save",payload:{exerciseIdentityPhotos:Xt({},(ke==null?void 0:ke.data)||{})}}),ke==null?void 0:ke.data},*getExerciseExportHeadData({payload:T,callback:D},{call:L,put:me}){const ke=yield L(He.iw,T);return yield me({type:"save",payload:{exerciseExportHeadData:Xt({},ke)}}),ke},*getExerciseUserInfo({payload:T,callback:D},{call:L,put:me}){const ke=yield L(He.Ty,T);return(ke==null?void 0:ke.status)===0&&(yield me({type:"save",payload:Xt({},{exerciseUserInfo:Xt({},ke.data)})})),ke},*getExaminationIntelligentSettings({payload:T,callback:D},{call:L,put:me}){const ke=yield L(He.sA,T);return yield me({type:"save",payload:{examinationIntelligentSettings:Xt({},ke)}}),ke},*getRandomEditExercises({payload:T,callback:D},{call:L,put:me}){const ke=yield L(He.yu,T);return yield me({type:"save",payload:{editRandomExercises:Xt({},ke)}}),ke},*getExerciseList({payload:T,callback:D},{call:L,put:me}){const ke=yield L(He.G$,T);if(ke!=null&&ke.total_exercise_users)try{localStorage.total_exercise_users=JSON.stringify(ke.total_exercise_users)}catch(sn){}return yield me({type:"save",payload:{exerciseList:Xt({},ke)}}),yield me({type:"save",payload:{order_type:T.order_type,order:T.order}}),ke},*getExerciseStatistics({payload:T,callback:D},{call:L,put:me}){const ke=yield L(He._u,T);return yield me({type:"save",payload:{statisticsList:Xt({},ke)}}),ke},*getBrankList({payload:T,callback:D},{call:L,put:me}){const ke=yield L(He.n$,T);return yield me({type:"save",payload:{brankList:Xt({},ke)}}),ke},*saveBanks({payload:T,callback:D},{call:L,put:me}){return yield L(He.lf,T)},*getExerciseCourses({payload:T,callback:D},{call:L,put:me}){const ke=yield L(He.N3,T);return yield me({type:"save",payload:{exerciseCoursesList:Xt({},ke)}}),ke},*addExercise({payload:T,callback:D},{call:L,put:me}){return yield L(He.uR,T)},*editExercise({payload:T,callback:D},{call:L,put:me}){const ke=yield L(He.qf,T);return yield me({type:"save",payload:{editData:Xt({},ke)}}),ke},*getTagDiscipline({payload:T,callback:D},{call:L,put:me}){const ke=yield L(He.YY,T);return yield me({type:"save",payload:{tagDisciplineData:Xt({},ke)}}),ke},*editExerciseQuestion({payload:T,callback:D},{call:L,put:me}){return yield L(He.Di,T)},*addExerciseQuestion({payload:T,callback:D},{call:L,put:me}){return yield L(He.MK,T)},*exeriseMoveUpDown({payload:T,callback:D},{call:L,put:me}){return yield L(He.GK,T)},*getEndGroups({payload:T,callback:D},{call:L,put:me}){const ke=yield L(He.KE,T);return yield me({type:"save",payload:{endGroups:Xt({},ke)}}),ke},*getPublishGroups({payload:T,callback:D},{call:L,put:me}){const ke=yield L(He.ux,T);return yield me({type:"save",payload:{publishGroups:Xt({},ke)}}),ke},*getCommonHeader({payload:T,callback:D},{call:L,put:me}){const ke=yield L(He.UK,T);return yield me({type:"save",payload:{commonHeader:Xt({},ke)}}),ke},*getReviewExercise({payload:T,callback:D},{call:L,put:me}){const ke=yield L(He.BJ,T);return yield me({type:"save",payload:{reviewExercise:Xt({},ke)}}),ke},*postReviewExercise({payload:T,callback:D},{call:L,put:me}){const ke=yield L(He.pu,T);return yield me({type:"save",payload:{reviewExercise:Xt({},ke)}}),ke},*getCentralizeReviewExercise({payload:T,callback:D},{call:L,put:me}){const ke=yield L(He.X4,T);return yield me({type:"save",payload:{reviewExercise:Xt({},ke)}}),ke},*clearData({payload:T,callback:D},{call:L,put:me}){yield me({type:"save",payload:{[T.key]:{}}})},*getReviewGroupExercise({payload:T,callback:D},{call:L,put:me}){const ke=yield L(He.W4,T);return yield me({type:"save",payload:{reviewGroupExercise:Xt({},ke)}}),ke},*getWorkSetting({payload:T,callback:D},{call:L,put:me}){const ke=yield L(He.Ul,T);return yield me({type:"save",payload:{workSetting:Xt({},ke)}}),ke},*getRedoModal({payload:T,callback:D},{call:L,put:me}){const ke=yield L(He.tX,T);return yield me({type:"save",payload:{redoModal:Xt({},ke)}}),ke},*getRedoListModal({payload:T,callback:D},{call:L,put:me}){const ke=yield L(He.s,T);return yield me({type:"save",payload:{redoModal:Xt({},ke)}}),ke},*getCodeReviewDetail({payload:T,callback:D},{call:L,put:me}){const ke=yield L(He.Xn,T);return yield me({type:"save",payload:{codeReviewDetail:Xt({},ke)}}),ke},*changeScore({payload:T,callback:D},{call:L,put:me}){return yield L(He.gG,T)},*setActionTabs({payload:T},{call:D,put:L}){yield L({type:"save",payload:{actionTabs:Xt({},T)}})},*setUpdateIndex({payload:T},{call:D,put:L}){yield L({type:"save",payload:{updateIndex:T==="clear"?null:Math.random()}})},*setSaveExerciseDownUsers({payload:T},{call:D,put:L}){yield L({type:"save",payload:{saveExerciseDownUsers:T}})}},reducers:{save(T,D){return Xt(Xt({},T),D.payload)}},subscriptions:{setup({dispatch:T,history:D}){}}},Tt=e(65583),zt=Object.defineProperty,nt=Object.getOwnPropertySymbols,bt=Object.prototype.hasOwnProperty,dt=Object.prototype.propertyIsEnumerable,et=(T,D,L)=>D in T?zt(T,D,{enumerable:!0,configurable:!0,writable:!0,value:L}):T[D]=L,ze=(T,D)=>{for(var L in D||(D={}))bt.call(D,L)&&et(T,L,D[L]);if(nt)for(var L of nt(D))dt.call(D,L)&&et(T,L,D[L]);return T},Se={namespace:"graduation",state:{name:"\u6BD5\u4E1A\u8BBE\u8BA1",loading:!0,actionTabs:{},detailList:{},detailTaskList:{},replyList:{},detail:{},addTopicData:{},editTopicData:{},editTasksData:{}},effects:{*getTopisDetailList({payload:T,callback:D},{call:L,put:me}){const ke=yield L(Tt.x_,T);return yield me({type:"save",payload:{detailList:ze({},ke)}}),ke},*getTasksListDetail({payload:T,callback:D},{call:L,put:me}){const ke=yield L(Tt.QA,T);return yield me({type:"save",payload:{detailTaskList:ze({},ke)}}),ke},*getTopisDetail({payload:T,callback:D},{call:L,put:me}){const ke=yield L(Tt.B6,T);return yield me({type:"save",payload:{detail:ze({},ke)}}),ke},*getTasksDetail({payload:T,callback:D},{call:L,put:me}){const ke=yield L(Tt.y3,T);return yield me({type:"save",payload:{tasksDetail:ze({},ke)}}),ke},*refuseTopic({payload:T,callback:D},{call:L,put:me}){return yield L(Tt.mM,T)},*agreeTopic({payload:T,callback:D},{call:L,put:me}){return yield L(Tt.je,T)},*getReplyList({payload:T,callback:D},{call:L,put:me}){const ke=yield L(Tt.PC,T);yield me({type:"save",payload:{replyList:ze({},ke)}})},*createReply({payload:T,callback:D},{call:L,put:me}){return yield L(Tt.PP,T)},*replyLike({payload:T,callback:D},{call:L,put:me}){return yield L(Tt.NA,T)},*replyUnLike({payload:T,callback:D},{call:L,put:me}){return yield L(Tt.YQ,T)},*deleteReply({payload:T,callback:D},{call:L,put:me}){return yield L(Tt.Mf,T)},*addTopicDefaultData({payload:T,callback:D},{call:L,put:me}){const ke=yield L(Tt.y0,T);yield me({type:"save",payload:{addTopicData:ze({},ke)}})},*editTopicDefaultData({payload:T,callback:D},{call:L,put:me}){const ke=yield L(Tt.hL,T);return yield me({type:"save",payload:{editTopicData:ze({},ke)}}),ke},*editTasksDefaultData({payload:T,callback:D},{call:L,put:me}){const ke=yield L(Tt._n,T);return yield me({type:"save",payload:{editTasksData:ze({},ke)}}),ke},*addTopic({payload:T,callback:D},{call:L,put:me}){return yield L(Tt.Gr,T)},*editTopic({payload:T,callback:D},{call:L,put:me}){return yield L(Tt.wA,T)},*addTasks({payload:T,callback:D},{call:L,put:me}){return yield L(Tt.Sv,T)},*editTasks({payload:T,callback:D},{call:L,put:me}){return yield L(Tt.RP,T)},*setActionTabs({payload:T},{call:D,put:L}){yield L({type:"save",payload:{actionTabs:ze({},T)}})}},reducers:{save(T,D){return ze(ze({},T),D.payload)}},subscriptions:{setup({dispatch:T,history:D}){}}},Le=e(89392),$e=e(45278),We=Object.defineProperty,rt=Object.getOwnPropertySymbols,ot=Object.prototype.hasOwnProperty,Kt=Object.prototype.propertyIsEnumerable,Wt=(T,D,L)=>D in T?We(T,D,{enumerable:!0,configurable:!0,writable:!0,value:L}):T[D]=L,Ce=(T,D)=>{for(var L in D||(D={}))ot.call(D,L)&&Wt(T,L,D[L]);if(rt)for(var L of rt(D))Kt.call(D,L)&&Wt(T,L,D[L]);return T},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:T,callback:D},{call:L,put:me}){const ke=yield L($e.h$,T);try{sessionStorage.all_student_works=JSON.stringify(ke.all_student_works),sessionStorage.all_student_works_params=JSON.stringify(T),localStorage.setItem("all_student_works_param",JSON.stringify(T))}catch(sn){}return yield me({type:"save",payload:{workList:Ce({},ke)}}),ke},*getShixunWorkHeadInfo({payload:T,callback:D},{call:L,put:me}){const ke=yield L($e.fK,T);try{}catch(sn){}return yield me({type:"save",payload:{headerInfo:ke==null?void 0:ke.data}}),ke},*getShixunWorkList({payload:T,callback:D},{call:L,put:me}){const ke=yield L($e.Z8,T);try{sessionStorage.all_student_works=JSON.stringify(ke.all_student_works),sessionStorage.all_student_works_params=JSON.stringify(T),localStorage.setItem("all_student_works_param",JSON.stringify(T))}catch(sn){}return yield me({type:"save",payload:{shixunWorkList:ke==null?void 0:ke.data,homeworkAssistantPermissions:ke.homework_assistant_permissions,shixunAssistantPermission:ke.shixun_assistant_permission,courseAssistantPermission:ke.course_assistant_permission}}),ke},*getCodeReview({payload:T,callback:D},{call:L,put:me}){const ke=yield L($e.RP,T);return yield me({type:"save",payload:{codeReview:Ce({},ke)}}),ke},*getCodeReviewDetail({payload:T,callback:D},{call:L,put:me}){const ke=yield L($e.Xn,T);return yield me({type:"save",payload:{codeReviewDetail:Ce({},ke)}}),ke},*getWorkDetail({payload:T,callback:D},{call:L,put:me}){const ke=yield L($e.to,T);return yield me({type:"save",payload:{workDetail:Ce({},ke)}}),ke},*updateWork({payload:T,callback:D},{call:L,put:me}){return yield L($e.H,T)},*getShixunWorkReport({payload:T,callback:D},{call:L,put:me}){const ke=yield L($e.sw,T);try{ke.all_student_works=JSON.parse(sessionStorage.all_student_works||"[]")}catch(sn){}return yield me({type:"save",payload:{shixunWorkReport:Ce({},ke)}}),ke},*getShixunWorkReports({payload:T,callback:D},{call:L,put:me}){const ke=yield L($e.cz,T);try{ke.all_student_works=JSON.parse(sessionStorage.all_student_works||"[]")}catch(sn){}return yield me({type:"save",payload:{shixunWorkReport:Ce({},ke)}}),ke},*getWorkSetting({payload:T,callback:D},{call:L,put:me}){var ke,sn;const Yn=yield L($e.Ul,T);(ke=Yn==null?void 0:Yn.group_settings)==null||ke.map(ji=>{ji.value=ji.group_name,ji.id=ji.group_id,ji.group_id=[ji.group_id]}),(sn=Yn==null?void 0:Yn.allow_late_settings)==null||sn.map(ji=>{ji.value=ji.group_name,ji.id=ji.group_id,ji.group_id=[ji.group_id]});const mn={shixun_evaluation:Yn.shixun_evaluation,challenge_settings:Yn.challenge_settings};return yield me({type:"save",payload:{workSetting:Ce({},Yn),changeData:(0,Le.cloneDeep)(mn)}}),Yn},*updateSetting({payload:T,callback:D},{call:L,put:me}){return yield L($e.m7,T)},*getCodeReviewCourse({payload:T,callback:D},{call:L,put:me}){const ke=yield L($e.JG,T);return yield me({type:"save",payload:{codeReviewCourse:Ce({},ke)}}),ke},*exportShixunWorks({payload:T,callback:D},{call:L,put:me}){const ke=yield L($e.Dx,T)},*getReferenceAnswer({payload:T,callback:D},{call:L,put:me}){const ke=yield L($e.Q3,T);return yield me({type:"save",payload:{referenceAnswer:Ce({},ke)}}),ke},*getPublishGroups({payload:T,callback:D},{call:L,put:me}){const ke=yield L($e.ux,T);return yield me({type:"save",payload:{publishGroups:Ce({},ke)}}),ke},*getEndGroups({payload:T,callback:D},{call:L,put:me}){const ke=yield L($e.KE,T);return yield me({type:"save",payload:{endGroups:Ce({},ke)}}),ke},*getBrankList({payload:T,callback:D},{call:L,put:me}){const ke=yield L($e.n$,T);return yield me({type:"save",payload:{brankList:Ce({},ke)}}),ke},*changeScore({payload:T,callback:D},{call:L,put:me}){return yield L($e.gG,T)},*saveBanks({payload:T,callback:D},{call:L,put:me}){return yield L($e.lf,T)},*addCommonHomeWorkDefaultData({payload:T,callback:D},{call:L,put:me}){const ke=yield L($e.Qt,T);return yield me({type:"save",payload:{commonHomeWorkAddDefaultData:Ce({},ke)}}),ke},*getSearchMemberList({payload:T,callback:D},{call:L,put:me}){const ke=yield L($e.Lz,T);return yield me({type:"save",payload:{searchMemberList:Ce({},ke)}}),ke},*getProjectList({payload:T,callback:D},{call:L,put:me}){const ke=yield L($e.ku,T);return yield me({type:"save",payload:{searchProjectList:Ce({},ke)}}),ke},*addStudentWorkDefaultData({payload:T,callback:D},{call:L,put:me}){const ke=yield L($e.ak,T);return yield me({type:"save",payload:{studentWorkAddDefaultData:Ce({},ke)}}),ke},*editStudentWorkDefaultData({payload:T,callback:D},{call:L,put:me}){const ke=yield L($e.PW,T);return yield me({type:"save",payload:{studentWorkEditDefaultData:Ce({},ke)}}),ke},*editCommonHomeWorkDefaultData({payload:T,callback:D},{call:L,put:me}){const ke=yield L($e.BD,T);return yield me({type:"save",payload:{commonHomeWorkEditDefaultData:Ce({},ke)}}),ke},*editCommonHomeWorkDefaultBankData({payload:T,callback:D},{call:L,put:me}){const ke=yield L($e.pH,T);return yield me({type:"save",payload:{commonHomeWorkEditDefaultData:Ce({},ke)}}),ke},*getReplyList({payload:T,callback:D},{call:L,put:me}){const ke=yield L($e.PC,T);yield me({type:"save",payload:{replyList:Ce({},ke)}})},*getStudentWorkDetail({payload:T,callback:D},{call:L,put:me}){const ke=yield L($e.Hj,T);yield me({type:"save",payload:{studentWorkDetail:Ce({},ke)}})},*getStudentWorkSupplyDetail({payload:T,callback:D},{call:L,put:me}){const ke=yield L($e.ub,T);yield me({type:"save",payload:{studentWorkSupplyDetail:Ce({},ke)}})},*getStudentWorkCommon({payload:T,callback:D},{call:L,put:me}){const ke=yield L($e.JA,T);yield me({type:"save",payload:{studentWorkCommon:Ce({},ke)}})},*getAllStudentWorks({payload:T,callback:D},{call:L,put:me}){const ke=yield L($e.ql,T);return yield me({type:"save",payload:{allStudentWorks:Ce({},ke)}}),ke},*getFileRepeatResult({payload:T,callback:D},{call:L,put:me}){const ke=yield L($e.oN,T);return yield me({type:"save",payload:{codeReview:Ce({},ke)}}),ke},*getFileRepeatDetail({payload:T,callback:D},{call:L,put:me}){const ke=yield L($e.Ti,T);return yield me({type:"save",payload:{codeReviewDetail:Ce({},ke)}}),ke},*createReply({payload:T,callback:D},{call:L,put:me}){return yield L($e.PP,T)},*replyLike({payload:T,callback:D},{call:L,put:me}){return yield L($e.NA,T)},*replyUnLike({payload:T,callback:D},{call:L,put:me}){return yield L($e.YQ,T)},*deleteReply({payload:T,callback:D},{call:L,put:me}){return yield L($e.Mf,T)},*setActionTabs({payload:T},{call:D,put:L}){yield L({type:"save",payload:{actionTabs:Ce({},T)}})}},reducers:{save(T,D){return Ce(Ce({},T),D.payload)}},subscriptions:{setup({dispatch:T,history:D}){return D.listen(({pathname:L})=>{L==="/"&&T({type:"query"})})}}},kt=e(64948),Ht=e(34055),$t=Object.defineProperty,tr=Object.getOwnPropertySymbols,Gt=Object.prototype.hasOwnProperty,Me=Object.prototype.propertyIsEnumerable,ce=(T,D,L)=>D in T?$t(T,D,{enumerable:!0,configurable:!0,writable:!0,value:L}):T[D]=L,he=(T,D)=>{for(var L in D||(D={}))Gt.call(D,L)&&ce(T,L,D[L]);if(tr)for(var L of tr(D))Me.call(D,L)&&ce(T,L,D[L]);return T},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:T},{call:D,put:L}){yield D(kt.gq,T)},*getAssistantPermissions({payload:T},{call:D,put:L}){if(!(0,Ht.eB)())return;const me=yield D(kt.rS,T);yield L({type:"save",payload:{AssistantObject:me.permissions}})},*getAiStatusQuery({payload:T},{call:D,put:L}){const me=yield D(kt.LH,T);return yield L({type:"save",payload:{cal_finish_if:me.cal_finish_if}}),me},*updateCoursePortraitData({payload:T},{call:D,put:L}){return yield D(kt.Z_,T)},*getUserPortraitConfig({payload:T},{call:D,put:L}){const me=yield D(kt._0,T);return yield L({type:"save",payload:{userPortraitConfig:me.data}}),me},*updateUserPortraitConfig({payload:T},{call:D,put:L}){return yield D(kt.r2,T)},*getClassroom({payload:T},{call:D,put:L}){const me=T,ke=yield D(kt.V8,T);return yield L({type:"save",payload:he({listParams:me},ke)}),ke},*getClassroomTopBanner({payload:T},{call:D,put:L}){const me=yield D(kt.U_,T);return yield L({type:"save",payload:{detailTopBanner:me.status?{copy_completed:!0}:he({},me)}}),me.status?{copy_completed:!0}:me},*getClassroomLeftMenus({payload:T},{call:D,put:L}){const me=yield D(kt.w9,T);let ke=[...(me==null?void 0:me.course_modules)||[],...(me==null?void 0:me.hidden_modules)||[]],sn={};return ke==null||ke.forEach(Yn=>{sn[Yn.type]=Yn.name}),yield L({type:"save",payload:{detailLeftMenus:he({},me),detailLeftMenusNames:sn}}),me},*getClassroomShixunsList({payload:T},{call:D,put:L}){const me=yield D(kt.Nd,T);yield L({type:"save",payload:{detailShixunsList:he({},me)}})},*getClassroomTeacherShixunsList({payload:T},{call:D,put:L}){const me=yield D(kt.Gk,T);return yield L({type:"save",payload:{detailShixunsList:he({},me)}}),me},*getClassroomCommonList({payload:T},{call:D,put:L}){const me=yield D(kt.Nd,T);yield L({type:"save",payload:{detailCommonHomeworksList:he({},me)}})},*getClassroomTeacherCommonList({payload:T},{call:D,put:L}){const me=yield D(kt.Gk,T);return yield L({type:"save",payload:{detailCommonHomeworksList:he({},me)}}),me},*getClassroomGraduationTopicsList({payload:T},{call:D,put:L}){const me=yield D(kt.yV,T);yield L({type:"save",payload:{detailGraduationTopicsList:he({},me)}})},*getClassroomGraduationTaskList({payload:T},{call:D,put:L}){const me=yield D(kt.R2,T);yield L({type:"save",payload:{detailGraduationTaskList:he({},me)}})},*getClassroomExercisesList({payload:T},{call:D,put:L}){const me=yield D(kt.N7,T);yield L({type:"save",payload:{detailExerciseList:he({},me)}})},*getClassroomPollsList({payload:T},{call:D,put:L}){const me=yield D(kt.BR,T);yield L({type:"save",payload:{detailPollsList:he({},me)}})},*getCourseGroups({payload:T},{call:D,put:L}){const me=yield D(kt.qB,T);yield L({type:"save",payload:{courseGroups:he({},me)}})},*getAllCourseGroup({payload:T},{call:D,put:L}){const me=yield D(kt.c_,T);return yield L({type:"save",payload:{allCourseGroups:he({},me)}}),me},*getClassroomCommonHomeworksList({payload:T},{call:D,put:L}){const me=yield D(kt.Al,T);yield L({type:"save",payload:{detailCommonHomeworksList:he({},me)}})},*getClassroomAttendancesList({payload:T},{call:D,put:L}){const me=yield D(kt.Vw,T);yield L({type:"save",payload:{detailAttendancesList:he({},me)}})},*getClassroomAttendancesStatistic({payload:T},{call:D,put:L}){const me=yield D(kt.Ls,T);yield L({type:"save",payload:{detailAttendancesStatistic:he({},me)}})},*getAttendanceDetail({payload:T},{call:D,put:L}){const me=yield D(kt.zg,T);return yield L({type:"save",payload:{detailAttendancesDetail:he({},me)}}),me},*getAnnouncementList({payload:T},{call:D,put:L}){const me=yield D(kt.QZ,T);yield L({type:"save",payload:{detailAnnouncementList:he({},me)}})},*getAttachmentList({payload:T},{call:D,put:L}){const me=yield D(kt.KT,T);yield L({type:"save",payload:{detailAttachmentList:he({},me.data)}})},*getCourseware({payload:T},{call:D,put:L}){const me=yield D(kt.ZT,T);yield L({type:"save",payload:{detailCourseware:he({},me.data)}})},*getVideoList({payload:T},{call:D,put:L}){const me=yield D(kt.O3,T);yield L({type:"save",payload:{detailVideoList:he({},me)}})},*getLiveVideoList({payload:T},{call:D,put:L}){const me=yield D(kt.DJ,T);yield L({type:"save",payload:{detailLiveVideoList:he({},me)}})},*getCoursesMine({payload:T,callback:D},{call:L,put:me}){const ke=yield L(kt.Ed,T);return yield me({type:"save",payload:{courseMine:he({},ke)}}),ke.data},*getBoardList({payload:T,callback:D},{call:L,put:me}){const ke=yield L(kt.KP,T);return yield me({type:"save",payload:{detailBoardList:he({},ke.data)}}),ke.data},*getCourseGroupsList({payload:T,callback:D},{call:L,put:me}){const ke=yield L(kt.kW,T);return yield me({type:"save",payload:{detailCourseGroupsList:he({},ke)}}),ke},*getCourseStudentsList({payload:T,callback:D},{call:L,put:me}){const ke=yield L(kt.J2,T);return yield me({type:"save",payload:{detailCoursStudentsList:he({},ke)}}),ke.data},*getCourseStatistics({payload:T,callback:D},{call:L,put:me}){const ke=yield L(kt.g4,T);return yield me({type:"save",payload:{detailCourseStatisticsList:he({},ke)}}),ke},*getCourseActscore({payload:T,callback:D},{call:L,put:me}){const ke=yield L(kt.t1,T);return yield me({type:"save",payload:{detailCourseActscore:he({},ke)}}),ke},*getCourseWorkscore({payload:T,callback:D},{call:L,put:me}){const ke=yield L(kt.GV,T);return yield me({type:"save",payload:{detailCourseWorkscore:he({},ke)}}),ke},*getShixunLists({payload:T,callback:D},{call:L,put:me}){const ke=yield L(kt.Pj,T);return yield me({type:"save",payload:{shixunLists:he({},ke)}}),ke},*getExperimentLists({payload:T,callback:D},{call:L,put:me}){const ke=yield L(kt._9,T);return yield me({type:"save",payload:{shixunLists:he({},ke)}}),ke},*getShixunAiRecommendLists({payload:T,callback:D},{call:L,put:me}){const ke=yield L(kt.Hn,T);return yield me({type:"save",payload:{shixunAiRecommendLists:he({},ke)}}),ke},*getCoursesLists({payload:T,callback:D},{call:L,put:me}){const ke=yield L(kt.W7,T);return yield me({type:"save",payload:{coursesLists:he({},ke)}}),ke},*createCoursesHomework({payload:T,callback:D},{call:L,put:me}){return yield L(kt.Ds,T)},*createShixunHomework({payload:T,callback:D},{call:L,put:me}){return yield L(kt.aQ,T)},*createExperiment({payload:T,callback:D},{call:L,put:me}){return yield L(kt.BQ,T)},*getSchoolList({payload:T,callback:D},{call:L,put:me}){const ke=yield L(kt.K$,T);return yield me({type:"save",payload:{schoolList:he({},ke.school_names)}}),ke.school_names},*searchSchoolTeacherList({payload:T,callback:D},{call:L,put:me}){const ke=yield L(kt.nQ,T);return yield me({type:"save",payload:{searchMemberList:he({},ke)}}),ke},*getAllTaskList({payload:T,callback:D},{call:L,put:me}){const ke=yield L(kt.km,T);return yield me({type:"save",payload:{taskList:[...ke.tasks]}}),ke},*updateTaskPosition({payload:T,callback:D},{call:L,put:me}){const ke=yield L(kt.U8,T);return yield me({type:"save",payload:{actionTabs:{key:""}}}),ke},*setActionTabs({payload:T},{call:D,put:L}){yield L({type:"save",payload:{actionTabs:he({},T)}})},*setUpdateData({payload:T},{call:D,put:L}){yield L({type:"save",payload:{updateData:T}})}},reducers:{save(T,D){return he(he({},T),D.payload)}},subscriptions:{setup({dispatch:T,history:D}){return D.listen(({pathname:L})=>{L==="/"&&T({type:"query"})})}}},ct=Object.defineProperty,Zt=Object.getOwnPropertySymbols,wt=Object.prototype.hasOwnProperty,Ie=Object.prototype.propertyIsEnumerable,xt=(T,D,L)=>D in T?ct(T,D,{enumerable:!0,configurable:!0,writable:!0,value:L}):T[D]=L,be=(T,D)=>{for(var L in D||(D={}))wt.call(D,L)&&xt(T,L,D[L]);if(Zt)for(var L of Zt(D))Ie.call(D,L)&&xt(T,L,D[L]);return T},mt={namespace:"newClassroom",state:{schoolList:[],searchCourseList:[],actionTabs:{key:"",params:{}}},effects:{*getSchoolList({payload:T},{call:D,put:L}){const me=yield D(kt.K$,T);yield L({type:"save",payload:{schoolList:(me==null?void 0:me.school_names)||[]}})},*getSearchCourseList({payload:T},{call:D,put:L}){const me=yield D(kt.oM,T);yield L({type:"save",payload:{searchCourseList:(me==null?void 0:me.course_lists)||[]}})},*submitCourses({payload:T},{call:D,put:L}){return yield D(kt.Bn,T)},*appplySchool({payload:T},{call:D,put:L}){return yield D(kt.bz,T)},*setActionTabs({payload:T},{call:D,put:L}){yield L({type:"save",payload:{actionTabs:be({},T)}})},*joincoursegroup({payload:T},{call:D,put:L}){return yield D(kt.WK,T)}},reducers:{save(T,D){return be(be({},T),D.payload)}},subscriptions:{setup({dispatch:T,history:D}){}}},Lt=Object.defineProperty,Fe=Object.getOwnPropertySymbols,Or=Object.prototype.hasOwnProperty,St=Object.prototype.propertyIsEnumerable,Vr=(T,D,L)=>D in T?Lt(T,D,{enumerable:!0,configurable:!0,writable:!0,value:L}):T[D]=L,tn=(T,D)=>{for(var L in D||(D={}))Or.call(D,L)&&Vr(T,L,D[L]);if(Fe)for(var L of Fe(D))St.call(D,L)&&Vr(T,L,D[L]);return T},Nr={namespace:"classroomsOverview",state:{},effects:{*getCourseUseInfos({payload:T},{call:D,put:L}){const me=yield D(kt.Dd,T);yield L({type:"save",payload:{CourseUseInfos:me}})},*getRankList({payload:T},{call:D,put:L}){const me=yield D(kt.Fg,T);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:T},{call:D,put:L}){const me=yield D(kt.Gz,T);yield L({type:"save",payload:{SBody:me}})},*getStatisticsHeader({payload:T},{call:D,put:L}){const me=yield D(kt.Hl,T);yield L({type:"save",payload:{SHeader:me}})}},reducers:{save(T,D){return tn(tn({},T),D.payload)}},subscriptions:{setup({dispatch:T,history:D}){return D.listen(({pathname:L})=>{L==="/"&&T({type:"query"})})}}},gr=e(79763),Ur=Object.defineProperty,cn=Object.getOwnPropertySymbols,hn=Object.prototype.hasOwnProperty,ur=Object.prototype.propertyIsEnumerable,Rt=(T,D,L)=>D in T?Ur(T,D,{enumerable:!0,configurable:!0,writable:!0,value:L}):T[D]=L,_t=(T,D)=>{for(var L in D||(D={}))hn.call(D,L)&&Rt(T,L,D[L]);if(cn)for(var L of cn(D))ur.call(D,L)&&Rt(T,L,D[L]);return T},jt={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:T,callback:D},{call:L,put:me}){const ke=yield L(gr.s3,T);return yield me({type:"save",payload:{pollsList:_t({},ke)}}),ke},*getCommonHeader({payload:T,callback:D},{call:L,put:me}){const ke=yield L(gr.UK,T);return yield me({type:"save",payload:{commonHeader:_t({},ke)}}),ke},*getPollsStatistics({payload:T,callback:D},{call:L,put:me}){const ke=yield L(gr.Qn,T);return yield me({type:"save",payload:{statisticsList:_t({},ke)}}),ke},*getBrankList({payload:T,callback:D},{call:L,put:me}){const ke=yield L(gr.n$,T);return yield me({type:"save",payload:{brankList:_t({},ke)}}),ke},*saveBanks({payload:T,callback:D},{call:L,put:me}){return yield L(gr.lf,T)},*getPollsCourses({payload:T,callback:D},{call:L,put:me}){const ke=yield L(gr.Q9,T);return yield me({type:"save",payload:{pollsCoursesList:_t({},ke)}}),ke},*getPollsSetting({payload:T,callback:D},{call:L,put:me}){const ke=yield L(gr.Hi,T);return yield me({type:"save",payload:{pollSetting:_t({},ke)}}),ke},*editPolls({payload:T,callback:D},{call:L,put:me}){const ke=yield L(gr.Ye,T);return yield me({type:"save",payload:{editData:_t({},JSON.parse(JSON.stringify(ke)))}}),ke},*getEndGroups({payload:T,callback:D},{call:L,put:me}){const ke=yield L(gr.KE,T);return yield me({type:"save",payload:{endGroups:_t({},ke)}}),ke},*getPublishGroups({payload:T,callback:D},{call:L,put:me}){const ke=yield L(gr.ux,T);return yield me({type:"save",payload:{publishGroups:_t({},ke)}}),ke},*getExerciseBanks({payload:T,callback:D},{call:L,put:me}){const ke=yield L(gr.kp,T);return yield me({type:"save",payload:{exerciseBanks:_t({},ke)}}),ke},*setActionTabs({payload:T},{call:D,put:L}){yield L({type:"save",payload:{actionTabs:_t({},T)}})}},reducers:{save(T,D){return _t(_t({},T),D.payload)}},subscriptions:{setup({dispatch:T,history:D}){}}},Cr=e(92982),yr=Object.defineProperty,nn=Object.getOwnPropertySymbols,Kr=Object.prototype.hasOwnProperty,Ln=Object.prototype.propertyIsEnumerable,At=(T,D,L)=>D in T?yr(T,D,{enumerable:!0,configurable:!0,writable:!0,value:L}):T[D]=L,cr=(T,D)=>{for(var L in D||(D={}))Kr.call(D,L)&&At(T,L,D[L]);if(nn)for(var L of nn(D))Ln.call(D,L)&&At(T,L,D[L]);return T},yn={namespace:"teachers",state:{list:{},applyList:{},allCourseGroups:{},graduationGroupList:{},studentsList:{},actionTabs:{key:"",params:{}},updateIndex:1},effects:{*getList({payload:T},{call:D,put:L}){var me;const ke=yield D(Cr.gp,T);return(me=ke==null?void 0:ke.teacher_list)==null||me.map(sn=>(sn.key=sn.course_member_id,sn)),yield L({type:"save",payload:{list:ke}}),ke},*getStudentsList({payload:T},{call:D,put:L}){var me;const ke=yield D(Cr.ur,T);return(me=ke==null?void 0:ke.students)==null||me.map(sn=>(sn.key=sn.user_id,sn)),yield L({type:"save",payload:{studentsList:ke}}),ke},*getApplyList({payload:T},{call:D,put:L}){const me=yield D(Cr.s,T);return yield L({type:"save",payload:{applyList:me}}),me},*getAllCourseGroups({payload:T},{call:D,put:L}){const me=yield D(Cr.xV,T);return yield L({type:"save",payload:{allCourseGroups:me}}),me},*getGraduationGroupList({payload:T},{call:D,put:L}){const me=yield D(Cr.Bg,T);return yield L({type:"save",payload:{graduationGroupList:me}}),me},*setAllCourseGroups({payload:T},{call:D,put:L}){const me=yield D(Cr.oZ,T);return yield L({type:"save",payload:{setAllCourseGroups:me}}),me},*setActionTabs({payload:T},{call:D,put:L}){yield L({type:"save",payload:{actionTabs:cr({},T)}})},*setUpdateIndex({payload:T},{call:D,put:L}){yield L({type:"save",payload:{updateIndex:Math.random()}})}},reducers:{save(T,D){return cr(cr({},T),D.payload)}},subscriptions:{setup({dispatch:T,history:D}){}}},Gn=e(80541),fi=Object.defineProperty,Xn=Object.getOwnPropertySymbols,Ki=Object.prototype.hasOwnProperty,hi=Object.prototype.propertyIsEnumerable,bi=(T,D,L)=>D in T?fi(T,D,{enumerable:!0,configurable:!0,writable:!0,value:L}):T[D]=L,Di=(T,D)=>{for(var L in D||(D={}))Ki.call(D,L)&&bi(T,L,D[L]);if(Xn)for(var L of Xn(D))hi.call(D,L)&&bi(T,L,D[L]);return T},fa={namespace:"video",state:{name:"\u8D44\u6E90",loading:!0,actionTabs:{},videoStatisticsList:{},newVideoStatisticsList:{},videoDurationStatics:{},StudentvideoStatistics:{},videoPeopleStatics:{},videoStatistics:{},oneVideoStatisticsList:{}},effects:{*getVideoStatisticsList({payload:T,callback:D},{call:L,put:me}){const ke=yield L(Gn.BQ,T);return yield me({type:"save",payload:{videoStatisticsList:Di({},ke)}}),ke},*getNewVideoStatisticsList({payload:T,callback:D},{call:L,put:me}){const ke=yield L(Gn.cU,T);return yield me({type:"save",payload:{newVideoStatisticsList:Di({},ke)}}),ke},*getVideoPeopleStatics({payload:T,callback:D},{call:L,put:me}){const ke=yield L(Gn.Zx,T);return yield me({type:"save",payload:{videoPeopleStatics:Di({},ke)}}),ke},*getVideoDurationStatics({payload:T,callback:D},{call:L,put:me}){const ke=yield L(Gn.Mz,T);return yield me({type:"save",payload:{videoDurationStatics:Di({},ke)}}),ke},*getVideoStatistics({payload:T,callback:D},{call:L,put:me}){const ke=yield L(Gn.ZY,T);return yield me({type:"save",payload:{videoStatistics:Di({},ke)}}),ke},*getOneVideoStatisticsList({payload:T,callback:D},{call:L,put:me}){const ke=yield L(Gn.cU,T);return yield me({type:"save",payload:{oneVideoStatisticsList:Di({},ke)}}),ke},*setActionTabs({payload:T},{call:D,put:L}){yield L({type:"save",payload:{actionTabs:Di({},T)}})},*getStudentVideoStatisticsList({payload:T,callback:D},{call:L,put:me}){const ke=yield L(Gn.Vg,T);return yield me({type:"save",payload:{StudentvideoStatistics:Di({},ke)}}),ke}},reducers:{save(T,D){return Di(Di({},T),D.payload)}},subscriptions:{setup({dispatch:T,history:D}){}}},ri=e(65906),la=Object.defineProperty,Et=Object.getOwnPropertySymbols,it=Object.prototype.hasOwnProperty,ni=Object.prototype.propertyIsEnumerable,Oi=(T,D,L)=>D in T?la(T,D,{enumerable:!0,configurable:!0,writable:!0,value:L}):T[D]=L,ii=(T,D)=>{for(var L in D||(D={}))it.call(D,L)&&Oi(T,L,D[L]);if(Et)for(var L of Et(D))ni.call(D,L)&&Oi(T,L,D[L]);return T},Ti={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:T,callback:D},{call:L,put:me}){return yield L(ri.cC,T)},*getGuides({payload:T,callback:D},{call:L,put:me}){const ke=yield L(ri.Ax,T);return yield me({type:"save",payload:{GuidesData:ke}}),ke},*getWorkSubmitUpdateRes({payload:T,callback:D},{call:L,put:me}){return yield L(ri.zF,T)},*getList({payload:T},{call:D,put:L}){const me=T,ke=yield D(ri.bQ,T);return yield L({type:"save",payload:ii({listParams:me},ke)}),ke},*getMemberWorks({payload:T},{call:D,put:L}){const me=yield D(ri.xx,T);return yield L({type:"save",payload:{MemberWorks:me||{}}}),me},*addApplytojoincourse({payload:T,callback:D},{call:L,put:me}){return yield L(ri.qS,T)},*competitionTeams({payload:T,callback:D},{call:L,put:me}){return yield L(ri.Pt,T)},*getStaff({payload:T,callback:D},{call:L,put:me}){const ke=yield L(ri.Dh,T);return yield me({type:"save",payload:{Staff:ke}}),ke},*getHeader({payload:T,callback:D},{call:L,put:me}){const ke=yield L(ri.Pg,T);return yield me({type:"save",payload:{Header:ke}}),ke},*getItem({payload:T,callback:D},{call:L,put:me}){const ke=yield L(ri.rV,T);return yield me({type:"save",payload:{RightItems:ke}}),ke},*updateMdContent({payload:T,callback:D},{call:L,put:me}){return yield L(ri.zj,T)},*getTeamList({payload:T,callback:D},{call:L,put:me}){return yield L(ri.aq,T)},*getTeamDetail({payload:T,callback:D},{call:L,put:me}){return yield L(ri.Ze,T)},*UpTeam({payload:T,callback:D},{call:L,put:me}){return yield L(ri.yS,T)},*DeleteTeam({payload:T,callback:D},{call:L,put:me}){return yield L(ri.ps,T)},*ExitTeam({payload:T,callback:D},{call:L,put:me}){return yield L(ri.vV,T)},*AddTeam({payload:T,callback:D},{call:L,put:me}){return yield L(ri.FU,T)},*AddPersonnel({payload:T,callback:D},{call:L,put:me}){return yield L(ri.R9,T)},*JoinTeam({payload:T,callback:D},{call:L,put:me}){return yield L(ri.zc,T)},*getTeacher({payload:T,callback:D},{call:L,put:me}){return yield L(ri.jS,T)},*getStudents({payload:T,callback:D},{call:L,put:me}){return yield L(ri.sK,T)},*SubmitTeam({payload:T,callback:D},{call:L,put:me}){return yield L(ri.rm,T)},*Reward({payload:T,callback:D},{call:L,put:me}){return yield L(ri.Qp,T)},*ChartRules({payload:T,callback:D},{call:L,put:me}){return yield L(ri.Ux,T)},*Charts({payload:T,callback:D},{call:L,put:me}){return yield L(ri.GQ,T)},*TabResults({payload:T,callback:D},{call:L,put:me}){const ke=yield L(ri.ml,T);return yield me({type:"save",payload:{TabResultList:ke}}),ke},*setActionTabs({payload:T},{call:D,put:L}){yield L({type:"save",payload:{actionTabs:ii({},T)}})},*Results({payload:T,callback:D},{call:L,put:me}){return yield L(ri.u9,T)},*Prize({payload:T,callback:D},{call:L,put:me}){const ke=yield L(ri.pU,T);return yield me({type:"save",payload:{Prizes:ke}}),ke},*Accounts({payload:T,callback:D},{call:L,put:me}){const ke=yield L(ri.XJ,T);return yield me({type:"save",payload:{Account:ke}}),ke},*getVerification({payload:T,callback:D},{call:L,put:me}){return yield L(ri.Ni,T)},*PhoneBind({payload:T,callback:D},{call:L,put:me}){return yield L(ri.uZ,T)},*EmailBind({payload:T,callback:D},{call:L,put:me}){return yield L(ri.rk,T)},*Authentication({payload:T,callback:D},{call:L,put:me}){return yield L(ri.Vy,T)},*Professional({payload:T,callback:D},{call:L,put:me}){return yield L(ri.tC,T)},*setleader({payload:T,callback:D},{call:L,put:me}){return yield L(ri.tO,T)},*getShixun({payload:T,callback:D},{call:L,put:me}){return yield L(ri.qj,T)},*getCourse({payload:T,callback:D},{call:L,put:me}){return yield L(ri.XR,T)},*competition_teams({payload:T,callback:D},{call:L,put:me}){const ke=yield L(ri.zz,T);return yield me({type:"save",payload:{competition_team:ke}}),ke},*all_team_members({payload:T,callback:D},{call:L,put:me}){const ke=yield L(ri.$P,T);return yield me({type:"save",payload:{all_team_member:ke}}),ke}},reducers:{save(T,D){return ii(ii({},T),D.payload)}},subscriptions:{setup({dispatch:T,history:D}){return D.listen(({pathname:L})=>{L==="/"&&T({type:"query"})})}}},ci=e(83325),An=e(97760),er=Object.defineProperty,pt=Object.defineProperties,tt=Object.getOwnPropertyDescriptors,Ot=Object.getOwnPropertySymbols,ft=Object.prototype.hasOwnProperty,lr=Object.prototype.propertyIsEnumerable,dr=(T,D,L)=>D in T?er(T,D,{enumerable:!0,configurable:!0,writable:!0,value:L}):T[D]=L,Pr=(T,D)=>{for(var L in D||(D={}))ft.call(D,L)&&dr(T,L,D[L]);if(Ot)for(var L of Ot(D))lr.call(D,L)&&dr(T,L,D[L]);return T},zr=(T,D)=>pt(T,tt(D)),qe={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:T},{call:D,put:L}){yield L({type:"save",payload:{actionTabs:Pr({},T)}})},*getMajorList({payload:T},{call:D,put:L,select:me}){const{userInfo:ke}=yield me(sn=>sn.user);if(ke!=null&&ke.school_id){const sn=yield D(ci.BA,ke.school_id);sn&&sn.data&&(yield L({type:"setMajorOrYearDataSource",payload:{key:An.k[0],value:sn.data.map(Yn=>({label:Yn.name,value:Yn.ec_major_school_id}))}}))}},*getYearList({payload:T},{call:D,put:L}){const me=yield D(ci.Nx,T);me&&me.data&&(yield L({type:"setMajorOrYearDataSource",payload:{key:An.k[1],value:me.data.map(ke=>({label:ke.year,value:ke.ec_year_id}))}}))},*getCourseResultDetail({payload:T},{call:D,put:L}){console.log(T,"payload");const me=yield D(ci.p1,T);me&&me.ec_course_target&&(yield L({type:"setEchartsData",payload:me}))},*getCourseResultDetailClass({payload:T},{call:D,put:L}){const me=yield D(ci.ff,T);me&&me.class_name&&(yield L({type:"save",payload:{classDataSource:{active:null,dataList:[...me.class_name]}}}))},*setClassActive({payload:T},{call:D,put:L}){yield L({type:"save",payload:{classDataSource:Pr({},T)}})}},reducers:{save(T,D){return Pr(Pr({},T),D.payload)},setMajorOrYearDataSource(T,{payload:D}){return zr(Pr({},T),{headerData:zr(Pr({},T.headerData),{dataSource:zr(Pr({},T.headerData.dataSource),{[D.key]:zr(Pr({},T.headerData.dataSource[D.key]),{dataList:D.value})})})})},setMajorOrYearActive(T,{payload:D}){return zr(Pr({},T),{headerData:zr(Pr({},T.headerData),{active:zr(Pr({},T.headerData.active),{[D.key]:D.value})})})},setEchartsData(T,{payload:D}){let L={name:D.course_name||"",dataSource:{xData:[],yBarData:[],yLineData:[]}},me={name:D.course_name||"",xData:[],seriesData:[]},ke={};return D.ec_course_target.forEach((sn,Yn)=>{sn.position=Yn+1,L=zr(Pr({},L),{dataSource:{xData:[...L.dataSource.xData,Yn+1],yBarData:[...L.dataSource.yBarData,sn.actual_grade],yLineData:[...L.dataSource.yLineData,sn.standard_grade]}});let mn=[],ji={min:[],max:[]},Wa=[],Ga=[],Uo=[];sn.student_data.detail.forEach((Ss,Qs)=>{let zs=Ss.score;mn.push(Qs+1),ji.max.push(zs>=sn.student_data.goal_score?zs:null),ji.min.push(zs>=sn.student_data.goal_score?null:zs),Wa.push(Ss.name),Ga.push(Ss.student_id),Uo.push(Ss.clazz)}),ke[Yn+1]={name:Yn+1,average_score:sn.student_data.average_score,goal_score:sn.student_data.goal_score,xData:mn,yData:ji,name_data:Wa,student_ids:Ga,class_data:Uo,goal_scoreData:new Array(sn.student_data.detail.length).fill(sn.student_data.goal_score),average_scoreData:new Array(sn.student_data.detail.length).fill(sn.student_data.average_score)}}),D.history.forEach(sn=>{me=zr(Pr({},me),{xData:[...me.xData,sn.year],seriesData:[...me.seriesData,sn.total_score]})}),zr(Pr({},T),{name:D.course_name||"",tabListData:D.ec_course_target,echartsData:{barData:L,lineData:me,scatterData:ke}})}},subscriptions:{setup({dispatch:T,history:D}){return D.listen(({pathname:L})=>{L==="/"&&T({type:"query"})})}}},xe=Object.defineProperty,at=Object.getOwnPropertySymbols,ar=Object.prototype.hasOwnProperty,Er=Object.prototype.propertyIsEnumerable,kr=(T,D,L)=>D in T?xe(T,D,{enumerable:!0,configurable:!0,writable:!0,value:L}):T[D]=L,Ir=(T,D)=>{for(var L in D||(D={}))ar.call(D,L)&&kr(T,L,D[L]);if(at)for(var L of at(D))Er.call(D,L)&&kr(T,L,D[L]);return T},wn={namespace:"engineering",state:{showMenu:!0,matrixVerify:{key:!1,params:{}},actionTabs:{key:"",params:{}}},effects:{*setActionTabs({payload:T},{call:D,put:L}){yield L({type:"save",payload:{actionTabs:Ir({},T)}})},*setShowMenu({payload:T},{call:D,put:L}){yield L({type:"save",payload:{showMenu:T}})},*setMatrixVerify({payload:T},{call:D,put:L}){yield L({type:"save",payload:{matrixVerify:Ir({},T)}})}},reducers:{save(T,D){return Ir(Ir({},T),D.payload)}},subscriptions:{setup({dispatch:T,history:D}){return D.listen(({pathname:L})=>{L==="/"&&T({type:"query"})})}}},Sr=e(56854),pn=Object.defineProperty,on=Object.defineProperties,dn=Object.getOwnPropertyDescriptors,In=Object.getOwnPropertySymbols,Ia=Object.prototype.hasOwnProperty,Ni=Object.prototype.propertyIsEnumerable,gi=(T,D,L)=>D in T?pn(T,D,{enumerable:!0,configurable:!0,writable:!0,value:L}):T[D]=L,En=(T,D)=>{for(var L in D||(D={}))Ia.call(D,L)&&gi(T,L,D[L]);if(In)for(var L of In(D))Ni.call(D,L)&&gi(T,L,D[L]);return T},pi=(T,D)=>on(T,dn(D)),Ea={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:T},{call:D,put:L}){yield L({type:"save",payload:{actionTabs:En({},T)}})},*getMajorList({},{call:T,put:D,select:L}){const{userInfo:me}=yield L(ke=>ke.user);if(me!=null&&me.school_id){const ke=yield T(ci.BA,me.school_id);if(ke&&ke.data){const sn=Sr.U.getItem(me==null?void 0:me.login);yield D({type:"setMajorOrYearDataSource",payload:{key:An.k[0],value:ke.data.map(Yn=>({label:Yn.name,value:Yn.ec_major_school_id})),active:ke.data.length>0?sn[0]||ke.data[0].ec_major_school_id:void 0}})}}},*getYearList({payload:T},{call:D,put:L,select:me}){const ke=yield D(ci.Nx,T.id),{userInfo:sn}=yield me(Yn=>Yn.user);if(ke&&ke.data){const Yn=Sr.U.getItem(sn==null?void 0:sn.login);yield L({type:"setMajorOrYearDataSource",payload:{key:An.k[1],value:ke.data.map(mn=>({label:mn.year,value:mn.ec_year_id})),active:ke.data.length>0?T.firstEnter?Yn[1]:ke.data[0].ec_year_id:void 0}})}},*getTopPage({},{call:T,put:D,select:L}){const{headerData:me}=yield L(Yn=>Yn.engineeringNavigtion),{userInfo:ke}=yield L(Yn=>Yn.user);let sn={};if(me.active[An.k[1]]&&ke.school_id){const Yn=[me.active[An.k[0]],me.active[An.k[1]]];Sr.U.setItem(ke==null?void 0:ke.login,Yn);const mn=yield T(ci.bA,{ec_year_id:me.active[An.k[1]],school_id:ke.school_id});mn&&mn.data&&(sn=mn.data),yield D({type:"setTopPage",payload:sn})}},*putTopPageName({payload:T,callback:D},{call:L,put:me}){try{const ke=yield L(ci.ay,T);D(ke)}catch(ke){let sn="";ke&&(sn=JSON.stringify(ke),ke.message&&(sn=ke.message)),D({message:sn,status:999})}}},reducers:{save(T,D){return En(En({},T),D.payload)},setMajorOrYearDataSource(T,{payload:D}){let L=T.headerData.active;return D.active&&(L=pi(En({},L),{[D.key]:D.active})),pi(En({},T),{headerData:pi(En({},T.headerData),{dataSource:pi(En({},T.headerData.dataSource),{[D.key]:pi(En({},T.headerData.dataSource[D.key]),{dataList:D.value})}),active:L})})},setMajorOrYearActive(T,{payload:D}){return pi(En({},T),{headerData:pi(En({},T.headerData),{active:pi(En({},T.headerData.active),{[D.key]:D.value})})})},setTopPage(T,{payload:D}){return pi(En({},T),{headerData:pi(En({},T.headerData),{name:D.name,tabBarContent:{user_name:D.user_name,user_school:D.user_school,user_type:D.user_type}}),cardListData:pi(En({},T.cardListData),{appraiseData:pi(En({},T.cardListData.appraiseData),{norm:pi(En({},T.cardListData.appraiseData.norm),{result:D.graduaiton_result,listData:T.cardListData.appraiseData.norm.listData.map(L=>pi(En({},L),{value:D[L.key]||0}))}),course:pi(En({},T.cardListData.appraiseData.course),{result:D.course_result,listData:T.cardListData.appraiseData.course.listData.map(L=>pi(En({},L),{value:D[L.key]||0}))})}),teamData:{teach:pi(En({},T.cardListData.teamData.teach),{tabBarContent:`${D.course_teachers?D.course_teachers.length:0}\u4EBA`,listData:D.course_teachers||[]}),work:pi(En({},T.cardListData.teamData.work),{tabBarContent:`${D.work_teachers?D.work_teachers.length:0}\u4EBA`,listData:D.work_teachers||[]})}}),totalListData:T.totalListData.map(L=>pi(En({},L),{value:D[L.key]||0}))})}},subscriptions:{setup({dispatch:T,history:D}){return D.listen(({pathname:L})=>{L==="/"&&T({type:"query"})})}}},Vs=Object.defineProperty,wa=Object.defineProperties,Fs=Object.getOwnPropertyDescriptors,Ks=Object.getOwnPropertySymbols,es=Object.prototype.hasOwnProperty,Hs=Object.prototype.propertyIsEnumerable,Jn=(T,D,L)=>D in T?Vs(T,D,{enumerable:!0,configurable:!0,writable:!0,value:L}):T[D]=L,ws=(T,D)=>{for(var L in D||(D={}))es.call(D,L)&&Jn(T,L,D[L]);if(Ks)for(var L of Ks(D))Hs.call(D,L)&&Jn(T,L,D[L]);return T},fs=(T,D)=>wa(T,Fs(D)),ea={namespace:"engineeringNormDetail",state:{actionTabs:{key:"",params:{}},dataSource:{name:"",goal_value:0,actual_value:0,subitems:[]}},effects:{*setActionTabs({payload:T},{call:D,put:L}){yield L({type:"save",payload:{actionTabs:ws({},T)}})},*getGraduationResultDetail({payload:T},{call:D,put:L}){const me=yield D(ci.gq,T);yield L({type:"save",payload:{dataSource:me}})}},reducers:{save(T,D){return ws(ws({},T),D.payload)},setDataSource(T,{payload:D}){let L=D;return fs(ws({},T),{dataSource:L})}},subscriptions:{setup({dispatch:T,history:D}){return D.listen(({pathname:L})=>{L==="/"&&T({type:"query"})})}}},Bs=e(8591),Vo=Object.defineProperty,Ka=Object.defineProperties,va=Object.getOwnPropertyDescriptors,is=Object.getOwnPropertySymbols,mo=Object.prototype.hasOwnProperty,Nn=Object.prototype.propertyIsEnumerable,ts=(T,D,L)=>D in T?Vo(T,D,{enumerable:!0,configurable:!0,writable:!0,value:L}):T[D]=L,Ps=(T,D)=>{for(var L in D||(D={}))mo.call(D,L)&&ts(T,L,D[L]);if(is)for(var L of is(D))Nn.call(D,L)&&ts(T,L,D[L]);return T},Is=(T,D)=>Ka(T,va(D)),Yi=(T,D)=>{var L={};for(var me in T)mo.call(T,me)&&D.indexOf(me)<0&&(L[me]=T[me]);if(T!=null&&is)for(var me of is(T))D.indexOf(me)<0&&Nn.call(T,me)&&(L[me]=T[me]);return L},Ha={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:T},{call:D,put:L}){yield L({type:"save",payload:{actionTabs:Ps({},T)}})},*getMajorList({},{call:T,put:D,select:L}){const{userInfo:me}=yield L(ke=>ke.user);if(me!=null&&me.school_id){const ke=yield T(ci.BA,me.school_id);if(ke&&ke.data){const sn=Sr.U.getItem(me==null?void 0:me.login);yield D({type:"setMajorOrYearDataSource",payload:{key:An.k[0],value:ke.data.map(Yn=>({label:Yn.name,value:Yn.ec_major_school_id})),active:ke.data.length>0?sn[0]||ke.data[0].ec_major_school_id:void 0}})}}},*getYearList({payload:T},{call:D,put:L,select:me}){const ke=yield D(ci.Nx,T.id),{userInfo:sn}=yield me(Yn=>Yn.user);if(ke&&ke.data){const Yn=Sr.U.getItem(sn==null?void 0:sn.login);yield L({type:"setMajorOrYearDataSource",payload:{key:An.k[1],value:ke.data.map(mn=>({label:mn.year,value:mn.ec_year_id})),active:ke.data.length>0?T.firstEnter?Yn[1]:ke.data[0].ec_year_id:void 0}})}},*getGraduationResults({},{call:T,put:D,select:L}){const{headerData:me}=yield L(Wa=>Wa.engineeringNormList),{userInfo:ke}=yield L(Wa=>Wa.user);let sn=[],Yn=[],mn="";const ji=me.active[An.k[1]];if(ji){const Wa=[me.active[An.k[0]],me.active[An.k[1]]];Sr.U.setItem(ke==null?void 0:ke.login,Wa);const Ga=yield T(ci.eM,ji);Ga&&Ga.graduation_requirements&&(mn=Ga.all_goal_value||"",sn=Ga.graduation_requirements.map(Uo=>{var Ss=Uo,{subitems:Qs}=Ss,zs=Yi(Ss,["subitems"]);return Yn.push(zs.id),Is(Ps({},zs),{children:Qs})}))}yield D({type:"save",payload:{tabListData:sn,all_goal_value:mn,expandedRowKeys:Yn}})},*exportGraduation({},{call:T,select:D}){const{headerData:L}=yield D(me=>me.engineeringNormList);L.active[An.k[1]]&&(yield T(ci.OE,L.active[An.k[1]]))},*compute({payload:T},{call:D,put:L}){const me=T,{all:ke}=me,sn=Yi(me,["all"]),Yn=yield D(ke?ci.Qx:ci.Xl,sn);Yn&&Yn.status===0?(Bs.ZP.success("\u8BA1\u7B97\u5B8C\u6210"),yield L({type:"getGraduationResults"})):Bs.ZP.error(Yn.message)},*getFormulas({callback:T},{call:D,select:L}){const{headerData:me}=yield L(ke=>ke.engineeringNormList);if(me.active[An.k[1]]){const ke=yield D(ci.mK,me.active[An.k[1]]);T(ke)}},*setFormulas({payload:T,callback:D},{call:L}){const me=yield L(ci.y9,T);D(me)},*putGoalValue({payload:T},{call:D,put:L}){const me=yield D(ci.No,T);if(me&&me.status===0)Bs.ZP.success("\u4FDD\u5B58\u6210\u529F"),yield L({type:"save",payload:{actionTabs:{key:"",params:{}}}}),yield L({type:"getGraduationResults"});else{let ke="\u4FDD\u5B58\u5931\u8D25";me&&me.message&&(ke=me.message),Bs.ZP.error(ke)}}},reducers:{save(T,D){return Ps(Ps({},T),D.payload)},setMajorOrYearDataSource(T,{payload:D}){let L=T.headerData.active;return D.active&&(L=Is(Ps({},L),{[D.key]:D.active})),Is(Ps({},T),{headerData:Is(Ps({},T.headerData),{dataSource:Is(Ps({},T.headerData.dataSource),{[D.key]:Is(Ps({},T.headerData.dataSource[D.key]),{dataList:D.value})}),active:L})})},setMajorOrYearActive(T,{payload:D}){return Is(Ps({},T),{headerData:Is(Ps({},T.headerData),{active:Is(Ps({},T.headerData.active),{[D.key]:D.value})})})}},subscriptions:{setup({dispatch:T,history:D}){return D.listen(({pathname:L})=>{L==="/"&&T({type:"query"})})}}},Rs=e(14195),vo=Object.defineProperty,zo=Object.getOwnPropertySymbols,Ko=Object.prototype.hasOwnProperty,Yo=Object.prototype.propertyIsEnumerable,rs=(T,D,L)=>D in T?vo(T,D,{enumerable:!0,configurable:!0,writable:!0,value:L}):T[D]=L,vs=(T,D)=>{for(var L in D||(D={}))Ko.call(D,L)&&rs(T,L,D[L]);if(zo)for(var L of zo(D))Yo.call(D,L)&&rs(T,L,D[L]);return T},Zo={namespace:"forumsDetail",state:{forumsDetailData:{}},effects:{*getForumsDetailData({payload:T},{call:D,put:L}){const me=yield D(Rs.Si,T);return yield L({type:"save",payload:{forumsDetailData:vs({},me)}}),me},*setForumsDetailData({payload:T},{call:D,put:L}){yield L({type:"save",payload:{forumsDetailData:vs({},T)}})}},reducers:{save(T,D){return vs(vs({},T),D.payload)}},subscriptions:{setup({dispatch:T,history:D}){return D.listen(({pathname:L})=>{L==="/"&&T({type:"query"})})}}},Lo=Object.defineProperty,Xo=Object.getOwnPropertySymbols,xi=Object.prototype.hasOwnProperty,_i=Object.prototype.propertyIsEnumerable,as=(T,D,L)=>D in T?Lo(T,D,{enumerable:!0,configurable:!0,writable:!0,value:L}):T[D]=L,ds=(T,D)=>{for(var L in D||(D={}))xi.call(D,L)&&as(T,L,D[L]);if(Xo)for(var L of Xo(D))_i.call(D,L)&&as(T,L,D[L]);return T},go={namespace:"forumsList",state:{forumsData:{},listParams:{page:1,order:"updated_at"}},effects:{*getForumsData({payload:T},{call:D,put:L}){const me=yield D(T.memoType==="shixun_discuss"?Rs.kd:Rs.bc,T);return delete T.memoType,yield L({type:"save",payload:{listParams:T,forumsData:ds({},me)}}),me}},reducers:{save(T,D){return ds(ds({},T),D.payload)}},subscriptions:{setup({dispatch:T,history:D}){return D.listen(({pathname:L})=>{L==="/"&&T({type:"query"})})}}},Ho=e(92890),du=e(90524),Ls=e(28209),tu=e.n(Ls),hu=Object.defineProperty,Iu=Object.getOwnPropertySymbols,Mo=Object.prototype.hasOwnProperty,Ju=Object.prototype.propertyIsEnumerable,Fo=(T,D,L)=>D in T?hu(T,D,{enumerable:!0,configurable:!0,writable:!0,value:L}):T[D]=L,_o=(T,D)=>{for(var L in D||(D={}))Mo.call(D,L)&&Fo(T,L,D[L]);if(Iu)for(var L of Iu(D))Ju.call(D,L)&&Fo(T,L,D[L]);return T},Bu={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:T},{call:D,put:L}){var me,ke;const sn=yield D(Ho.D2,T);du.Z.ONLYOFFICE=(me=sn==null?void 0:sn.setting)==null?void 0:me.office_server_url,Oo(sn);try{const ji="5183666c72eec9e4",Wa="5183666c72eec9e4";var Yn=tu().enc.Utf8.parse(ji);let Ga=tu().enc.Utf8.parse(Wa);var mn=tu().AES.decrypt(((ke=sn==null?void 0:sn.setting)==null?void 0:ke.user_default_password)||"",Yn,{iv:Ga,mode:tu().mode.CBC});sn.setting.user_default_password=mn.toString(tu().enc.Utf8)}catch(ji){}yield L({type:"save",payload:_o({},sn)})},*getSystemUpdate({payload:T},{call:D,put:L}){const me=yield D(Ho.n0,T);yield L({type:"save",payload:{updateData:_o({},me)}})},*setTheme({payload:T},{call:D,put:L}){const me=yield D(Ho.n0,T);yield L({type:"save",payload:{theme:T||"default"}})},*setShareData({payload:T},{call:D,put:L}){yield L({type:"save",payload:{shareData:T}})},*setGlobalLoading({payload:T},{call:D,put:L}){yield L({type:"save",payload:{globalLoading:_o({},T)}})},*delayTipToggle({payload:T},{call:D,put:L}){yield L({type:"save",payload:{showTip:T}})},*headerToggle({payload:T},{call:D,put:L}){yield L({type:"save",payload:{showHeader:T}})},*footerToggle({payload:T},{call:D,put:L}){yield L({type:"save",payload:{showFooter:T}})},*headerFooterToggle({payload:T},{call:D,put:L}){yield L({type:"save",payload:{showHeaderFooter:T}})},*delayTipToggle({payload:T},{call:D,put:L}){yield L({type:"save",payload:{showTip:T}})},*headerFixedToggle({payload:T},{call:D,put:L}){yield L({type:"save",payload:{showHeaderFixed:T}})},*onlyShowBackTopToggle({payload:T},{call:D,put:L}){yield L({type:"save",payload:{onlyShowBackTop:T}})},*onlyShowBackTopIconToggle({payload:T},{call:D,put:L}){yield L({type:"save",payload:{onlyShowBackTopIcons:T}})},*setOperateModel({payload:T},{call:D,put:L}){yield L({type:"save",payload:{operateModel:T}})},*setOperateModelPath({payload:T},{call:D,put:L}){yield L({type:"save",payload:{operateModelPath:T}})},*setShowQuestionBackTop({payload:T},{call:D,put:L}){yield L({type:"save",payload:{showQuestionBackTop:T}})},*setInfoData({payload:T},{call:D,put:L}){yield L({type:"save",payload:{infoData:_o({},T)}})},*setActionTabs({payload:T},{call:D,put:L}){yield L({type:"save",payload:{actionTabs:_o({},T)}})}},reducers:{save(T,D){return _o(_o({},T),D.payload)}},subscriptions:{setup({dispatch:T,history:D}){return D.listen(({pathname:L})=>{})}}};const Oo=(T={})=>{var D,L,me,ke,sn;if(window.self!==window.top||!((D=T.setting)!=null&&D.tab_logo_url))return;const Yn=document.createElement("link"),mn=document.getElementById("dynamic-favicon");Yn.id="dynamic-favicon",Yn.rel="shortcut icon",Yn.href=(L=T.setting)!=null&&L.tab_logo_url?`${du.Z.IMG_SERVER}/${(me=T.setting)==null?void 0:me.tab_logo_url}`:"",mn&&document.head.removeChild(mn),document.head.appendChild(Yn);try{(ke=T.setting)!=null&&ke.main_site||(document.querySelector('meta[name="keywords"]').content=(sn=T.setting)==null?void 0:sn.name,document.querySelector('meta[name="description"]').remove())}catch(ji){}};var Bo=e(86645),Du=Object.defineProperty,Qo=Object.getOwnPropertySymbols,ru=Object.prototype.hasOwnProperty,Ds=Object.prototype.propertyIsEnumerable,Wo=(T,D,L)=>D in T?Du(T,D,{enumerable:!0,configurable:!0,writable:!0,value:L}):T[D]=L,Nu=(T,D)=>{for(var L in D||(D={}))ru.call(D,L)&&Wo(T,L,D[L]);if(Qo)for(var L of Qo(D))Ds.call(D,L)&&Wo(T,L,D[L]);return T},_r={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:T},{call:D,put:L}){return yield D(Bo.Xh,T)},*getGraduationsFinalScore({payload:T},{call:D,put:L}){return yield D(Bo.H3,T)},*getDelGraduationsTasks({payload:T},{call:D,put:L}){return yield D(Bo.km,T)},*getGraduationsTasks({payload:T},{call:D,put:L}){const me=yield D(Bo.Xw,T);yield L({type:"save",payload:{Tasks:me}})},*getGraduationsTeachers({payload:T},{call:D,put:L}){var me;const ke=yield D(Bo.AA,T);return(me=ke==null?void 0:ke.data)==null||me.map(sn=>(sn.key=sn.id,sn)),yield L({type:"save",payload:{teachers:ke}}),ke},*getGraduationsStudents({payload:T},{call:D,put:L}){var me;const ke=yield D(Bo.eh,T);(me=ke==null?void 0:ke.data)==null||me.map(sn=>(sn.key=sn.id,sn)),yield L({type:"save",payload:{students:ke}})},*getGraduationsNotices({payload:T},{call:D,put:L}){const me=yield D(Bo.Rk,T);yield L({type:"save",payload:{Notices:me}})},*getGraduationsInfo({payload:T},{call:D,put:L}){const me=yield D(Bo.F7,T);yield L({type:"save",payload:{graduation:me.graduation}})},*setActionTabs({payload:T},{call:D,put:L}){yield L({type:"save",payload:{actionTabs:Nu({},T)}})},*setUpdateIndex({payload:T},{call:D,put:L}){yield L({type:"save",payload:{updateIndex:Math.random()}})},*getGraduationsDetails({payload:T},{call:D,put:L}){const me=yield D(Bo.Ou,T);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(T,D){return Nu(Nu({},T),D.payload)}}},or=e(55480),mr=Object.defineProperty,Tr=Object.defineProperties,gn=Object.getOwnPropertyDescriptors,Zn=Object.getOwnPropertySymbols,kn=Object.prototype.hasOwnProperty,Hn=Object.prototype.propertyIsEnumerable,li=(T,D,L)=>D in T?mr(T,D,{enumerable:!0,configurable:!0,writable:!0,value:L}):T[D]=L,oi=(T,D)=>{for(var L in D||(D={}))kn.call(D,L)&&li(T,L,D[L]);if(Zn)for(var L of Zn(D))Hn.call(D,L)&&li(T,L,D[L]);return T},hr=(T,D)=>Tr(T,gn(D)),Rr={namespace:"homePage",state:{name:"\u9996\u9875",loading:!0},effects:{*home({payload:T},{call:D,put:L}){const me=yield D(or.Tt,{payload:T});yield L({type:"save",payload:hr(oi({},me),{isloading:!0})})},*query({payload:T},{call:D,put:L}){yield L({type:"save",payload:{name:"linlu"}})},*getHomeNotice({payload:T,callback:D},{call:L,put:me}){return yield L(or.LA,T)},*UploadNotice({payload:T,callback:D},{call:L,put:me}){return yield L(or.S_,T)}},reducers:{save(T,D){return oi(oi({},T),D.payload)}},subscriptions:{setup({dispatch:T,history:D}){return D.listen(({pathname:L})=>{L==="/"&&T({type:"query"})})}}},Cn=Object.defineProperty,Tn=Object.defineProperties,ht=Object.getOwnPropertyDescriptors,$n=Object.getOwnPropertySymbols,Wn=Object.prototype.hasOwnProperty,Li=Object.prototype.propertyIsEnumerable,ta=(T,D,L)=>D in T?Cn(T,D,{enumerable:!0,configurable:!0,writable:!0,value:L}):T[D]=L,Jt=(T,D)=>{for(var L in D||(D={}))Wn.call(D,L)&&ta(T,L,D[L]);if($n)for(var L of $n(D))Li.call(D,L)&&ta(T,L,D[L]);return T},oa=(T,D)=>Tn(T,ht(D)),Ta={namespace:"innovation",state:{visibleModalName:"",hideRemindModal:!0,openForkModalPosition:"forkButton",simpleModalProps:{visible:!1}},reducers:{save(T,D){return Jt(Jt({},T),D.payload)},openModal(T,D){return oa(Jt({},T),{visibleModalName:D.payload})},closeModal(T){return oa(Jt({},T),{visibleModalName:""})},openSimpleModal(T,D){return oa(Jt({},T),{simpleModalProps:Jt({visible:!0},D.payload)})},closeSimpleModal(T){return oa(Jt({},T),{simpleModalProps:{visible:!1}})}}},gs=e(82093),Ns=Object.defineProperty,$i=Object.getOwnPropertySymbols,Co=Object.prototype.hasOwnProperty,oo=Object.prototype.propertyIsEnumerable,Ms=(T,D,L)=>D in T?Ns(T,D,{enumerable:!0,configurable:!0,writable:!0,value:L}):T[D]=L,Fa=(T,D)=>{for(var L in D||(D={}))Co.call(D,L)&&Ms(T,L,D[L]);if($i)for(var L of $i(D))oo.call(D,L)&&Ms(T,L,D[L]);return T},Os=(T,D,L)=>new Promise((me,ke)=>{var sn=ji=>{try{mn(L.next(ji))}catch(Wa){ke(Wa)}},Yn=ji=>{try{mn(L.throw(ji))}catch(Wa){ke(Wa)}},mn=ji=>ji.done?me(ji.value):Promise.resolve(ji.value).then(sn,Yn);mn((L=L.apply(T,D)).next())});const yo=T=>Os(void 0,null,function*(){return(0,gs.ZP)("/api/paid_subjects/banner.json",{method:"get",params:Fa({},T)})}),zn=T=>Os(void 0,null,function*(){return(0,gs.ZP)("/api/paid_subjects/top_category.json",{method:"get",params:Fa({},T)})}),Ws=T=>Os(void 0,null,function*(){return(0,gs.ZP)("/api/paid_subjects/hot_recommend_subjects.json",{method:"get",params:Fa({},T)})}),uo=T=>Os(void 0,null,function*(){return(0,gs.ZP)("/api/paid_subjects/time_discount_subjects.json",{method:"get",params:Fa({},T)})}),Xe=T=>Os(void 0,null,function*(){return(0,gs.ZP)("/api/paid_subjects.json",{method:"post",body:Fa({},T)})}),Qe=T=>Os(void 0,null,function*(){return(0,gs.ZP)("/api/paid_subjects/all_tags.json",{method:"get",params:Fa({},T)})}),Mt=T=>Os(void 0,null,function*(){return(0,gs.ZP)("/api/paid_subjects/user_comments.json",{method:"get",params:Fa({},T)})}),Vt=T=>Os(void 0,null,function*(){return(0,gs.ZP)("/api/paid_subjects/info_show.json",{method:"get",params:Fa({},T)})});var br=Object.defineProperty,Mr=Object.getOwnPropertySymbols,Zr=Object.prototype.hasOwnProperty,bn=Object.prototype.propertyIsEnumerable,ln=(T,D,L)=>D in T?br(T,D,{enumerable:!0,configurable:!0,writable:!0,value:L}):T[D]=L,xn=(T,D)=>{for(var L in D||(D={}))Zr.call(D,L)&&ln(T,L,D[L]);if(Mr)for(var L of Mr(D))bn.call(D,L)&&ln(T,L,D[L]);return T},ui={namespace:"intraincourse",state:{name:"\u7528\u6237\u767B\u5F55\u6A21\u5757",BannerList:[],Adv:{},TopCategoryList:[],HotList:[],DiscountList:[],SubjectList:{},Tags:[],UserComments:[],InfoShow:{}},effects:{*getBannerList({payload:T},{call:D,put:L}){const{data:{adv:me,top_banner:ke}}=yield D(yo,T);yield L({type:"save",payload:{BannerList:ke,Adv:me}})},*getTopCategoryList({payload:T},{call:D,put:L}){const{data:{top_category_list:me}}=yield D(zn,T);yield L({type:"save",payload:{TopCategoryList:[{id:-1,name:"\u5168\u90E8"},...me]}})},*getHotList({payload:T},{call:D,put:L}){const{data:{hot_list:me}}=yield D(Ws,T);yield L({type:"save",payload:{HotList:me}})},*getDiscountList({payload:T},{call:D,put:L}){const{data:{discount_list:me}}=yield D(uo,T);yield L({type:"save",payload:{DiscountList:me}})},*getPaidSubjects({payload:T},{call:D,put:L}){const{data:me}=yield D(Xe,T);yield L({type:"save",payload:{SubjectList:me}})},*getTags({payload:T},{call:D,put:L}){const{data:{list:me}}=yield D(Qe,T);yield L({type:"save",payload:{Tags:me}})},*getUserComments({payload:T},{call:D,put:L}){const{data:{list:me}}=yield D(Mt,T);yield L({type:"save",payload:{UserComments:me}})},*getInfoShow({payload:T},{call:D,put:L}){const{data:me}=yield D(Vt,T);yield L({type:"save",payload:{InfoShow:me}})}},reducers:{save(T,D){return xn(xn({},T),D.payload)}}},Mi={namespace:"loadingss",state:{global:!1,effects:{},models:{}}},ra=e(93440),Xi=Object.defineProperty,ki=Object.getOwnPropertySymbols,Da=Object.prototype.hasOwnProperty,Ri=Object.prototype.propertyIsEnumerable,Si=(T,D,L)=>D in T?Xi(T,D,{enumerable:!0,configurable:!0,writable:!0,value:L}):T[D]=L,Sa=(T,D)=>{for(var L in D||(D={}))Da.call(D,L)&&Si(T,L,D[L]);if(ki)for(var L of ki(D))Ri.call(D,L)&&Si(T,L,D[L]);return T},Gs={namespace:"messages",state:{tidingsList:[],privateMessage:[],unreadInfo:[],recentContacts:{},privateMessageDetails:{},userPrivateMessage:{},actionTabs:{key:"",params:{}}},effects:{*getPrivateMessageDetails({payload:T},{call:D,put:L}){const me=yield D(ra.Ub,T);return yield L({type:"save",payload:{privateMessageDetails:me||[]}}),me},*getTidings({payload:T},{call:D,put:L}){const me=yield D(ra.AD,T);yield L({type:"save",payload:{tidingsList:me||[]}})},*getPrivateMessages({payload:T},{call:D,put:L}){const me=yield D(ra.V8,T);return yield L({type:"save",payload:{privateMessage:me||[]}}),me},*getUsersForPrivateMessages({payload:T},{call:D,put:L}){const me=yield D(ra.QJ,T);return yield L({type:"save",payload:{userPrivateMessage:me||[]}}),me},*unreadMessageInfo({payload:T},{call:D,put:L}){const me=yield D(ra.Ig,T);yield L({type:"save",payload:{unreadInfo:me||[]}})},*getRecentContacts({payload:T},{call:D,put:L}){const me=yield D(ra.Ko,T);return yield L({type:"save",payload:{recentContacts:me||[]}}),me},*setActionTabs({payload:T},{call:D,put:L}){yield L({type:"save",payload:{actionTabs:Sa({},T)}})}},reducers:{save(T,D){return Sa(Sa({},T),D.payload)}},subscriptions:{setup({dispatch:T,history:D}){}}},na=e(47580),Qa=e(49661),pa=e(22688),Hi=Object.defineProperty,Ra=Object.defineProperties,qa=Object.getOwnPropertyDescriptors,hs=Object.getOwnPropertySymbols,xo=Object.prototype.hasOwnProperty,ps=Object.prototype.propertyIsEnumerable,ko=(T,D,L)=>D in T?Hi(T,D,{enumerable:!0,configurable:!0,writable:!0,value:L}):T[D]=L,os=(T,D)=>{for(var L in D||(D={}))xo.call(D,L)&&ko(T,L,D[L]);if(hs)for(var L of hs(D))ps.call(D,L)&&ko(T,L,D[L]);return T},_s=(T,D)=>Ra(T,qa(D));const ks=(T,D)=>{var L,me,ke,sn,Yn,mn,ji,Wa,Ga;if(!T)return;const{exam:Uo,single_questions:Ss,multiple_questions:Qs,judgement_questions:zs,program_questions:Mc,completion_questions:tf,subjective_questions:vc,practical_questions:rf,combination_questions:Dl,bprogram_questions:Ui}=T||{},Xl=[os({type:"SINGLE",question_type:0,name:((L=D==null?void 0:D.find(bs=>bs.value==pa.fw[0].nameType))==null?void 0:L.name)||pa.fw[0].name},Ss),os({type:"MULTIPLE",question_type:1,name:((me=D==null?void 0:D.find(bs=>bs.value==pa.fw[1].nameType))==null?void 0:me.name)||pa.fw[1].name},Qs),os({type:"JUDGMENT",question_type:2,name:((ke=D==null?void 0:D.find(bs=>bs.value==pa.fw[2].nameType))==null?void 0:ke.name)||pa.fw[2].name},zs),os({type:"PROGRAM",question_type:6,name:((sn=D==null?void 0:D.find(bs=>bs.value==pa.fw[6].nameType))==null?void 0:sn.name)||pa.fw[6].name},Mc),os({type:"COMPLETION",question_type:3,name:((Yn=D==null?void 0:D.find(bs=>bs.value==pa.fw[3].nameType))==null?void 0:Yn.name)||pa.fw[3].name},tf),os({type:"SUBJECTIVE",question_type:4,name:((mn=D==null?void 0:D.find(bs=>bs.value==pa.fw[4].nameType))==null?void 0:mn.name)||pa.fw[4].name},vc),os({type:"PRACTICAL",question_type:5,name:((ji=D==null?void 0:D.find(bs=>bs.value==pa.fw[5].nameType))==null?void 0:ji.name)||pa.fw[5].name},rf),os({type:"COMBINATION",question_type:7,name:((Wa=D==null?void 0:D.find(bs=>bs.value==pa.fw[7].nameType))==null?void 0:Wa.name)||pa.fw[7].name},Dl),os({type:"BPROGRAM",question_type:8,name:((Ga=D==null?void 0:D.find(bs=>bs.value==pa.fw[8].nameType))==null?void 0:Ga.name)||pa.fw[8].name},Ui)],Cu=[];if(T.sort_by_qustion_type)for(const bs of T.qustion_type_order_name_en)Cu.push(Xl.find(Ol=>Ol.type===bs));const wo=(T.sort_by_qustion_type?Cu:Xl).filter(bs=>(bs==null?void 0:bs.questions_count)>0).map((bs,Ol)=>{var Ql;return os(os({},bs),{number:(0,Qa.EM)(Ol+1),questions:(Ql=bs==null?void 0:bs.questions)==null?void 0:Ql.map(Fc=>_s(os({},Fc),{shixun:Fc.examination_bank_shixun_challenges,question_type:bs.question_type}))})});return{exam:Uo,questionList:wo}};var ga=e(37798),us=Object.defineProperty,$s=Object.getOwnPropertySymbols,La=Object.prototype.hasOwnProperty,ye=Object.prototype.propertyIsEnumerable,we=(T,D,L)=>D in T?us(T,D,{enumerable:!0,configurable:!0,writable:!0,value:L}):T[D]=L,Ar=(T,D)=>{for(var L in D||(D={}))La.call(D,L)&&we(T,L,D[L]);if($s)for(var L of $s(D))ye.call(D,L)&&we(T,L,D[L]);return T},xr={namespace:"paperlibrary",state:{paperData:void 0,disciplinesData:void 0,teachGroupData:void 0,courseOptions:[],actionTabs:{key:"",params:{}}},effects:{*postExistCourse({payload:T},{call:D,put:L}){return yield D(na.a2,T)},*postCheckExaminationBanks({payload:T},{call:D,put:L}){return yield D(na.q$,T)},*postPaperlibraryCopy({payload:T},{call:D,put:L}){return yield D(na.ID,T)},*getDisciplines({payload:T},{call:D,put:L}){const me=yield D(na.d1,T);return yield L({type:"save",payload:{disciplinesData:Ar({},me)}}),me},*getCustomDisciplines({payload:T},{call:D,put:L}){const me=yield D(na.ar,T);return yield L({type:"save",payload:{disciplinesData:Ar({},me)}}),me},*getEditDisciplines({payload:T},{call:D,put:L}){const me=yield D(na.d1,T),ke=me==null?void 0:me.disciplines,sn=(0,ga.L)(ke);return yield L({type:"save",payload:{courseOptions:sn,disciplinesData:Ar({},me)}}),me},*getTeachGroupData({payload:T},{call:D,put:L}){const me=yield D(na.Dm,T);return yield L({type:"save",payload:{teachGroupData:Ar({},me)}}),me},*getPaperData({payload:T},{call:D,put:L}){const me=yield D(na.iT,T),ke=yield D(na.cV,T),sn=ks(me,ke.data);return yield L({type:"save",payload:{paperData:sn}}),me},*getPaperlibraryList({payload:T},{call:D,put:L}){return yield D(na.Gd,T)},*setPublic({payload:T},{call:D,put:L}){return yield D(na.DF,T)},*handleDelete({payload:T},{call:D,put:L}){return yield D(na.fn,T)},*getCourseList({payload:T},{call:D,put:L}){return yield D(na.tS,T)},*postBatchSendToCourse({payload:T},{call:D,put:L}){return yield D(na.lc,T)},*sendToClass({payload:T},{call:D,put:L}){return yield D(na.kp,T)},*adjustPosition({payload:T},{call:D,put:L}){return yield D(na.qN,T)},*setScore({payload:T},{call:D,put:L}){return yield D(na.ts,T)},*handleDeleteEditQuestion({payload:T},{call:D,put:L}){return yield D(na.NC,T)},*batchSetScore({payload:T},{call:D,put:L}){return yield D(na.YP,T)},*batchDelete({payload:T},{call:D,put:L}){return yield D(na.Hm,T)},*updatePaper({payload:T},{call:D,put:L}){return yield D(na.jK,T)},*setActionTabs({payload:T},{call:D,put:L}){yield L({type:"save",payload:{actionTabs:Ar({},T)}})}},reducers:{save(T,D){return Ar(Ar({},T),D.payload)}},subscriptions:{setup({dispatch:T,history:D}){return D.listen(({pathname:L})=>{L==="/"&&T({type:"query"})})}}},Jr=Object.defineProperty,Dn=Object.getOwnPropertySymbols,si=Object.prototype.hasOwnProperty,Vi=Object.prototype.propertyIsEnumerable,jn=(T,D,L)=>D in T?Jr(T,D,{enumerable:!0,configurable:!0,writable:!0,value:L}):T[D]=L,Mn=(T,D)=>{for(var L in D||(D={}))si.call(D,L)&&jn(T,L,D[L]);if(Dn)for(var L of Dn(D))Vi.call(D,L)&&jn(T,L,D[L]);return T},ba={namespace:"newExercisePaper",state:{loading:!0,exerciseExportHeadData:{},tagDisciplineData:{},editData:{},actionTabs:{removeEventListenerExitScreen:!1}},effects:{*getExerciseExportHeadData({payload:T,callback:D},{call:L,put:me}){const ke=yield L(na.Dq,T);return yield me({type:"save",payload:{exerciseExportHeadData:Mn({},ke)}}),ke},*editExercise({payload:T,callback:D},{call:L,put:me}){const ke=yield L(na.Di,T);return yield me({type:"save",payload:{editData:Mn({},ke)}}),ke},*getTagDiscipline({payload:T,callback:D},{call:L,put:me}){const ke=yield L(He.YY,T);return yield me({type:"save",payload:{tagDisciplineData:Mn({},ke)}}),ke},*editExerciseQuestion({payload:T,callback:D},{call:L,put:me}){return yield L(na.oF,T)},*addExerciseQuestion({payload:T,callback:D},{call:L,put:me}){return yield L(na.oF,T)},*setActionTabs({payload:T},{call:D,put:L}){yield L({type:"save",payload:{actionTabs:Mn({},T)}})}},reducers:{save(T,D){return Mn(Mn({},T),D.payload)},modifyTitle(T,D){const L=(0,Le.cloneDeep)(T);return L.editData.exercise.exercise_name=D.payload,L}},subscriptions:{setup({dispatch:T,history:D}){}}},ia=e(37034),No=Object.defineProperty,To=Object.getOwnPropertySymbols,yu=Object.prototype.hasOwnProperty,Ml=Object.prototype.propertyIsEnumerable,ul=(T,D,L)=>D in T?No(T,D,{enumerable:!0,configurable:!0,writable:!0,value:L}):T[D]=L,bu=(T,D)=>{for(var L in D||(D={}))yu.call(D,L)&&ul(T,L,D[L]);if(To)for(var L of To(D))Ml.call(D,L)&&ul(T,L,D[L]);return T},el={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:T},{call:D,put:L}){const me=yield D(ia.Ax,T);yield L({type:"save",payload:{discusses:bu({},me)}})},*getPathsDetail({payload:T},{call:D,put:L}){const me=yield D(ia.lk,T);return yield L({type:"save",payload:{detail:bu({},me)}}),me},*getCourseDetail({payload:T},{call:D,put:L}){const me=yield D(ia.Sp,T);return yield L({type:"save",payload:{detail:bu({},me)}}),me},*getRightData({payload:T},{call:D,put:L}){const me=yield D(ia.AQ,T);yield L({type:"save",payload:{rightData:bu({},me)}})},*getCoureses({payload:T},{call:D,put:L}){const me=yield D(ia.ue,T);yield L({type:"save",payload:{Courses:bu({},me)}})},*getStageChildrenData({payload:T},{call:D,put:L}){const me=yield D(ia.w4,T);return yield L({type:"save",payload:{StageChildrenData:me}}),me},*getStageData({payload:T},{call:D,put:L}){var me,ke;let sn=null;T!=null&&T.show_course_section?sn=yield D(ia.yN,T):sn=yield D(ia.p,T),yield L({type:"save",payload:{stageData:((me=sn==null?void 0:sn.data)==null?void 0:me.stages)||(sn==null?void 0:sn.stages)||[],isShowSchedule:((ke=sn==null?void 0:sn.data)==null?void 0:ke.is_show_schedule)||(sn==null?void 0:sn.is_show_schedule)||!1}})},*setActionTabs({payload:T},{call:D,put:L}){yield L({type:"save",payload:{actionTabs:bu({},T)}})}},reducers:{save(T,D){return bu(bu({},T),D.payload)}}},Ve=Object.defineProperty,Z=Object.getOwnPropertySymbols,Y=Object.prototype.hasOwnProperty,te=Object.prototype.propertyIsEnumerable,de=(T,D,L)=>D in T?Ve(T,D,{enumerable:!0,configurable:!0,writable:!0,value:L}):T[D]=L,Ae=(T,D)=>{for(var L in D||(D={}))Y.call(D,L)&&de(T,L,D[L]);if(Z)for(var L of Z(D))te.call(D,L)&&de(T,L,D[L]);return T},Ct={namespace:"pathsList",state:{name:"",loading:!0,actionTabs:{key:"",params:{}},listParams:{sort:"desc",order:"new",page:1,limit:16,keyword:""}},effects:{*getCourse({payload:T},{call:D,put:L}){const me=T,ke=yield D(ia.tS,T);return yield L({type:"save",payload:Ae({listParams:me},ke)}),ke},*getMenus({payload:T},{call:D,put:L}){const me=yield D(ia.fh,T);yield L({type:"save",payload:{menus:me}})},*setActionTabs({payload:T},{call:D,put:L}){yield L({type:"save",payload:{actionTabs:Ae({},T)}})},*clearListParams({payload:T},{call:D,put:L}){yield L({type:"save",payload:{listParams:{sort:"desc",order:"new",page:1,limit:16,keyword:""}}})}},reducers:{save(T,D){return Ae(Ae({},T),D.payload)}},subscriptions:{setup({dispatch:T,history:D}){return D.listen(({pathname:L})=>{L==="/"&&T({type:"query"})})}}},Ut=Object.defineProperty,nr=Object.getOwnPropertySymbols,It=Object.prototype.hasOwnProperty,Hr=Object.prototype.propertyIsEnumerable,un=(T,D,L)=>D in T?Ut(T,D,{enumerable:!0,configurable:!0,writable:!0,value:L}):T[D]=L,Pn=(T,D)=>{for(var L in D||(D={}))It.call(D,L)&&un(T,L,D[L]);if(nr)for(var L of nr(D))Hr.call(D,L)&&un(T,L,D[L]);return T},ei={namespace:"newCourse",state:{actionTabs:{key:"",params:{}}},effects:{*editCourse({payload:T},{call:D,put:L}){return yield D(ia.tu,T)},*submitCourse({payload:T},{call:D,put:L}){return yield D(ia.pU,T)},*getEditCourseData({payload:T},{call:D,put:L}){return yield D(ia.mQ,T)},*getSchoolOption({payload:T},{call:D,put:L}){return yield D(ia.GY,T)},*appplySchool({payload:T},{call:D,put:L}){return yield D(ia.bz,T)},*setActionTabs({payload:T},{call:D,put:L}){yield L({type:"save",payload:{actionTabs:Pn({},T)}})}},reducers:{save(T,D){return Pn(Pn({},T),D.payload)}},subscriptions:{setup({dispatch:T,history:D}){return D.listen(({pathname:L})=>{L==="/"&&T({type:"query"})})}}},Fi=Object.defineProperty,Pa=Object.defineProperties,xa=Object.getOwnPropertyDescriptors,Aa=Object.getOwnPropertySymbols,ns=Object.prototype.hasOwnProperty,ys=Object.prototype.propertyIsEnumerable,js=(T,D,L)=>D in T?Fi(T,D,{enumerable:!0,configurable:!0,writable:!0,value:L}):T[D]=L,ls=(T,D)=>{for(var L in D||(D={}))ns.call(D,L)&&js(T,L,D[L]);if(Aa)for(var L of Aa(D))ys.call(D,L)&&js(T,L,D[L]);return T},ha=(T,D)=>Pa(T,xa(D)),Xs={namespace:"pathsOverview",state:{},effects:{*getSubjectUseInfos({payload:T},{call:D,put:L}){const me=yield D(ia.nq,T);yield L({type:"save",payload:{SubjectUseInfos:me}})},*getRankList({payload:T},{call:D,put:L}){const me=yield D(ia.Fg,T);yield L({type:"save",payload:{RankList:ha(ls({},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:T},{call:D,put:L}){const me=yield D(ia.Gz,T);yield L({type:"save",payload:{SBody:me}})},*getOnlineCount({payload:T},{call:D,put:L}){const me=yield D(ia.hS,T);yield L({type:"save",payload:{OnlineCount:me==null?void 0:me.data}})},*getStatisticsHeader({payload:T},{call:D,put:L}){const me=yield D(ia.Hl,T);yield L({type:"save",payload:{SHeader:me}})}},reducers:{save(T,D){return ls(ls({},T),D.payload)}},subscriptions:{setup({dispatch:T,history:D}){return D.listen(({pathname:L})=>{L==="/"&&T({type:"query"})})}}},Ai=e(70610),Ro=Object.defineProperty,Po=Object.getOwnPropertySymbols,xu=Object.prototype.hasOwnProperty,eo=Object.prototype.propertyIsEnumerable,to=(T,D,L)=>D in T?Ro(T,D,{enumerable:!0,configurable:!0,writable:!0,value:L}):T[D]=L,ao=(T,D)=>{for(var L in D||(D={}))xu.call(D,L)&&to(T,L,D[L]);if(Po)for(var L of Po(D))eo.call(D,L)&&to(T,L,D[L]);return T},gl={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:T},{call:D,put:L}){const me=yield D(Ai.ex,T);return yield L({type:"save",payload:{groupfolderList:me}}),me},*getDisciplines({payload:T},{call:D,put:L}){const me=yield D(Ai.d1,T);return yield L({type:"save",payload:{disciplinesData:ao({},me)}}),me},*getEditDisciplines({payload:T},{call:D,put:L}){const me=yield D(Ai.d1,T),ke=me==null?void 0:me.disciplines,sn=(0,ga.L)(ke);return yield L({type:"save",payload:{courseOptions:sn,disciplinesData:ao({},me)}}),me},*getBasketList({payload:T},{call:D,put:L}){const me=yield D(Ai.Qj,T);return yield L({type:"save",payload:{basketData:ao({},me)}}),me},*getTeachGroupData({payload:T},{call:D,put:L}){const me=yield D(Ai.Dm,T);return yield L({type:"save",payload:{teachGroupData:ao({},me)}}),me},*getEditData({payload:T},{call:D,put:L}){const me=yield D(Ai.FG,T);return yield L({type:"save",payload:{editData:ao({},me)}}),me},*getEditDataBprogram({payload:T},{call:D,put:L}){const me=yield D(Ai.Bo,T);return yield L({type:"save",payload:{editData:ao({},me)}}),me},*getGroupData({payload:T},{call:D,put:L}){const me=yield D(Ai.hI,T);return yield L({type:"save",payload:{groupData:ao({},me)}}),me},*getItemBanks({payload:T},{call:D,put:L}){const me=yield D(Ai.Of,T);return yield L({type:"save",payload:{itemBanks:ao({},me)}}),me},*setPrivate({payload:T},{call:D,put:L}){return yield D(Ai.Pl,T)},*revokePublish({payload:T},{call:D,put:L}){return yield D(Ai.IJ,T)},*setPublic({payload:T},{call:D,put:L}){return yield D(Ai.DF,T)},*handleDelete({payload:T},{call:D,put:L}){return yield D(Ai.fn,T)},*startExperience({payload:T},{call:D,put:L}){return yield D(Ai.Bd,T)},*cancel({payload:T},{call:D,put:L}){return yield D(Ai.al,T)},*select({payload:T},{call:D,put:L}){return yield D(Ai.Ys,T)},*examUnselectAll({payload:T},{call:D,put:L}){return yield D(Ai.rV,T)},*basketDelete({payload:T},{call:D,put:L}){return yield D(Ai.x5,T)},*unselectAll({payload:T},{call:D,put:L}){return yield D(Ai.HF,T)},*addKnowledge({payload:T},{call:D,put:L}){return yield D(Ai.U6,T)},*editProblemset({payload:T},{call:D,put:L}){return yield D(Ai.Wk,T)},*addProblemset({payload:T},{call:D,put:L}){return yield D(Ai.Mr,T)},*setActionTabs({payload:T},{call:D,put:L}){yield L({type:"save",payload:{actionTabs:ao({},T)}})}},reducers:{save(T,D){return ao(ao({},T),D.payload)}},subscriptions:{setup({dispatch:T,history:D}){return D.listen(({pathname:L})=>{L==="/"&&T({type:"query"})})}}},tl=Object.defineProperty,Eu=Object.getOwnPropertySymbols,lo=Object.prototype.hasOwnProperty,ll=Object.prototype.propertyIsEnumerable,Zu=(T,D,L)=>D in T?tl(T,D,{enumerable:!0,configurable:!0,writable:!0,value:L}):T[D]=L,$o=(T,D)=>{for(var L in D||(D={}))lo.call(D,L)&&Zu(T,L,D[L]);if(Eu)for(var L of Eu(D))ll.call(D,L)&&Zu(T,L,D[L]);return T},Bl={namespace:"problemsetPreview",state:{disciplinesData:void 0,courseOptions:[],paperData:void 0,actionTabs:{key:"",params:{}}},effects:{*getPaperData({payload:T},{call:D,put:L}){const me=yield D(Ai.iT,T),ke=(0,ga.r)(me);return yield L({type:"save",payload:{paperData:ke}}),me},*getEditDisciplines({payload:T},{call:D,put:L}){const me=yield D(Ai.d1,T),ke=me==null?void 0:me.disciplines,sn=(0,ga.L)(ke);return yield L({type:"save",payload:{courseOptions:sn,disciplinesData:$o({},me)}}),me},*setScore({payload:T},{call:D,put:L}){return yield D(Ai.ts,T)},*handleDelete({payload:T},{call:D,put:L}){return yield D(Ai.Cn,T)},*batchSetScore({payload:T},{call:D,put:L}){return yield D(Ai.YP,T)},*batchDelete({payload:T},{call:D,put:L}){return yield D(Ai.Hm,T)},*adjustPosition({payload:T},{call:D,put:L}){return yield D(Ai.qN,T)},*newPreviewProblemset({payload:T},{call:D,put:L}){return yield D(Ai.et,T)},*setActionTabs({payload:T},{call:D,put:L}){yield L({type:"save",payload:{actionTabs:$o({},T)}})}},reducers:{save(T,D){return $o($o({},T),D.payload)}},subscriptions:{setup({dispatch:T,history:D}){return D.listen(({pathname:L})=>{L==="/"&&T({type:"query"})})}}},nu=e(5707),Nl=Object.defineProperty,ro=Object.getOwnPropertySymbols,iu=Object.prototype.hasOwnProperty,cl=Object.prototype.propertyIsEnumerable,oc=(T,D,L)=>D in T?Nl(T,D,{enumerable:!0,configurable:!0,writable:!0,value:L}):T[D]=L,Hu=(T,D)=>{for(var L in D||(D={}))iu.call(D,L)&&oc(T,L,D[L]);if(ro)for(var L of ro(D))cl.call(D,L)&&oc(T,L,D[L]);return T},uc={namespace:"restful",state:{restful:void 0,restfulDetail:{},actionTabs:{key:"",params:{}}},effects:{*getRestful({payload:T},{call:D,put:L}){const me=yield D(nu.Go,T);return yield L({type:"save",payload:{restful:Hu({},me)}}),me},*getRestfulDetail({payload:T},{call:D,put:L}){const me=yield D(nu.H5,T);return yield L({type:"save",payload:{restfulDetail:Hu({},(me==null?void 0:me.data)||{})}}),(me==null?void 0:me.data)||{}},*setActionTabs({payload:T},{call:D,put:L}){yield L({type:"save",payload:{actionTabs:Hu({},T)}})}},reducers:{save(T,D){return Hu(Hu({},T),D.payload)}},subscriptions:{setup({dispatch:T,history:D}){return D.listen(({pathname:L})=>{L==="/"&&T({type:"query"})})}}},di=e(67135);const Ac=(T={})=>{var D,L,me,ke,sn,Yn;return[{name:"\u5185\u5BB9\u5BA1\u6838\u60C5\u51B5",id:"Content",status:(D=T==null?void 0:T.content_info)==null?void 0:D.status,username:(L=T==null?void 0:T.content_info)==null?void 0:L.username,time:(me=T==null?void 0:T.content_info)==null?void 0:me.time},{name:"\u6027\u80FD\u5BA1\u6838\u60C5\u51B5",id:"Performance",status:(ke=T==null?void 0:T.perference_info)==null?void 0:ke.status,username:(sn=T==null?void 0:T.perference_info)==null?void 0:sn.username,time:(Yn=T==null?void 0:T.perference_info)==null?void 0:Yn.time}]};var Io=Object.defineProperty,lc=Object.defineProperties,wu=Object.getOwnPropertyDescriptors,Sl=Object.getOwnPropertySymbols,Eo=Object.prototype.hasOwnProperty,mf=Object.prototype.propertyIsEnumerable,zc=(T,D,L)=>D in T?Io(T,D,{enumerable:!0,configurable:!0,writable:!0,value:L}):T[D]=L,Us=(T,D)=>{for(var L in D||(D={}))Eo.call(D,L)&&zc(T,L,D[L]);if(Sl)for(var L of Sl(D))mf.call(D,L)&&zc(T,L,D[L]);return T},vf=(T,D)=>lc(T,wu(D)),Zc={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:T},{call:D,put:L}){const me=yield D(di.Po,T);return yield L({type:"save",payload:{detail:Us({},me)}}),me},*getMirrorApplies({payload:T},{call:D,put:L}){const me=yield D(di.tX,T);return yield L({type:"save",payload:{mirrorApplies:Us({},(me==null?void 0:me.data)||{})}}),me},*getRightData({payload:T},{call:D,put:L}){const me=yield D(di.AQ,T);yield L({type:"save",payload:{rightData:Us({},me)}})},*getChallengesData({payload:T},{call:D,put:L}){const me=yield D(di.n5,T);yield L({type:"save",payload:{challenges:Us({},me)}})},*saveCopyForExercise({payload:T},{call:D,put:L}){return yield D(di.FB,T)},*execJupyter({payload:T},{call:D,put:L}){return yield D(di.BK,T)},*execShixun({payload:T},{call:D,put:L}){const me=yield D(di.Ir,T);return(me==null?void 0:me.status)===-3&&(0,Qa.eF)(),me},*openChallenge({payload:T},{call:D,put:L}){return yield D(di.dK,T)},*challengeMoveUp({payload:T},{call:D,put:L}){return yield D(di.zD,T)},*challengeMoveDown({payload:T},{call:D,put:L}){return yield D(di.hn,T)},*cancelCollect({payload:T},{call:D,put:L}){return yield D(di.rs,T)},*collect({payload:T},{call:D,put:L}){return yield D(di.KM,T)},*searchUserCourses({payload:T},{call:D,put:L}){return yield D(di._7,T)},*sendToCourse({payload:T},{call:D,put:L}){return yield D(di.Q,T)},*cancelRelease({payload:T},{call:D,put:L}){return yield D(di.Ne,T)},*cancelPublic({payload:T},{call:D,put:L}){return yield D(di.Er,T)},*applyPublic({payload:T},{call:D,put:L}){return yield D(di.WO,T)},*release({payload:T},{call:D,put:L}){return yield D(di.Ar,T)},*updateAuditSituation({payload:T},{call:D,put:L}){return yield D(di.LP,T)},*getCollaboratorsData({payload:T},{call:D,put:L}){return yield D(di.j8,T)},*addCollaborator({payload:T},{call:D,put:L}){return yield D(di.OV,T)},*addTeachGroupMember({payload:T},{call:D,put:L}){return yield D(di.l3,T)},*getChangeManager({payload:T},{call:D,put:L}){return yield D(di.P2,T)},*changeManager({payload:T},{call:D,put:L}){return yield D(di.X$,T)},*deleteCollaborators({payload:T},{call:D,put:L}){return yield D(di.xk,T)},*getRankingList({payload:T},{call:D,put:L}){return yield D(di.E4,T)},*getMirrorScript({payload:T},{call:D,put:L}){return yield D(di.Z2,T)},*getScriptContent({payload:T},{call:D,put:L}){return yield D(di.Bj,T)},*getCustomScript({payload:T},{call:D,put:L}){return yield D(di.Wi,T)},*updateSettingBasicInfo({payload:T},{call:D,put:L}){return yield D(di.ZO,T)},*getShixunQuote({payload:T},{call:D,put:L}){return yield D(di.Gr,T)},*deleteShixun({payload:T},{call:D,put:L}){return yield D(di.Ps,T)},*permanentClose({payload:T},{call:D,put:L}){return yield D(di.U9,T)},*getDepartments({payload:T},{call:D,put:L}){return yield D(di.Ql,T)},*updatePermissionSetting({payload:T},{call:D,put:L}){return yield D(di.aH,T)},*updateLearnSetting({payload:T},{call:D,put:L}){return yield D(di.yE,T)},*updateSetting({payload:T},{call:D,put:L}){return yield D(di.m7,T)},*getSetData({payload:T},{call:D,put:L}){return yield D(di.U0,T)},*deleteDataSet({payload:T},{call:D,put:L}){return yield D(di.uo,T)},*deleteGitFile({payload:T},{call:D,put:L}){return yield D(di.sr,T)},*deleteGitFiles({payload:T},{call:D,put:L}){return yield D(di.p0,T)},*moveGitFile({payload:T},{call:D,put:L}){return yield D(di.IT,T)},*moveGitFiles({payload:T},{call:D,put:L}){return yield D(di.t2,T)},*getRepository({payload:T},{call:D,put:L}){const me=yield D(di.Ag,T);return yield L({type:"save",payload:{repository:Us({},me)}}),Us({},me)},*getRepositorys({payload:T},{call:D,put:L}){const me=yield D(di.Wl,T);return yield L({type:"save",payload:{repository:Us({},me)}}),Us({},me)},*getRepositorys({payload:T},{call:D,put:L}){const me=yield D(di.Wl,T);return yield L({type:"save",payload:{repository:Us({},me)}}),Us({},me)},*getSecretRepository({payload:T},{call:D,put:L}){const me=yield D(di.w,T);return yield L({type:"save",payload:{secretRepository:Us({},me)}}),me},*addRepositoryFile({payload:T},{call:D,put:L}){return yield D(di.v3,T)},*addRepositoryFiles({payload:T},{call:D,put:L}){return yield D(di.fL,T)},*getRepositoryCommit({payload:T},{call:D,put:L}){return yield D(di.Je,T)},*getFileContent({payload:T},{call:D,put:L}){const me=yield D(di.LK,T);return yield L({type:"save",payload:{fileContent:vf(Us({},me),{params:T})}}),me},*getFileContents({payload:T},{call:D,put:L}){const me=yield D(di.nu,T);return yield L({type:"save",payload:{fileContent:vf(Us({},me),{params:T})}}),me},*updateRepositoryFile({payload:T},{call:D,put:L}){return yield D(di.kF,T)},*updateRepositoryFiles({payload:T},{call:D,put:L}){return yield D(di.jq,T)},*uploadGitFolder({payload:T},{call:D,put:L}){return yield D(di.Op,T)},*updateCollaboratorEditable({payload:T},{call:D,put:L}){return yield D(di.Dz,T)},*getSettingsData({payload:T},{call:D,put:L}){const me=yield D(di.DC,T);yield L({type:"save",payload:{setting:Us({},me)}})},*getChallengesNew({payload:T},{call:D,put:L}){const me=yield D(di.km,T);yield L({type:"save",payload:{challengesNew:Us({},me)}})},*getChallengesEdit({payload:T},{call:D,put:L}){const me=yield D(di.q0,T);return yield L({type:"save",payload:{challengesEdit:Us({},me)}}),me},*getAuditSituationData({payload:T},{call:D,put:L}){const me=yield D(di.GI,T),ke=Ac(me);yield L({type:"save",payload:{auditSituationData:ke}})},*getEditChallengesQuestion({payload:T},{call:D,put:L}){const me=yield D(di.UQ,T);return yield L({type:"save",payload:{editChallengesQuestion:me}}),me},*getInfoWithJupyterLab({payload:T},{call:D,put:L}){const me=yield D(di.mI,T);return yield L({type:"save",payload:{infoWithJupyterLab:me}}),me},*setActionTabs({payload:T},{call:D,put:L}){yield L({type:"save",payload:{actionTabs:Us({},T)}})}},reducers:{save(T,D){return console.log("reducers:",T,D),Us(Us({},T),D.payload)}},subscriptions:{setup({dispatch:T,history:D}){return D.listen(({pathname:L})=>{L==="/"&&T({type:"query"})})}}},au=Object.defineProperty,Cc=Object.getOwnPropertySymbols,Al=Object.prototype.hasOwnProperty,$u=Object.prototype.propertyIsEnumerable,$l=(T,D,L)=>D in T?au(T,D,{enumerable:!0,configurable:!0,writable:!0,value:L}):T[D]=L,co=(T,D)=>{for(var L in D||(D={}))Al.call(D,L)&&$l(T,L,D[L]);if(Cc)for(var L of Cc(D))$u.call(D,L)&&$l(T,L,D[L]);return T},su={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:T},{call:D,put:L}){const me=yield D(di.he,T),ke=co({},T);return yield L({type:"save",payload:co({listParams:ke},me)}),me},*getMenus({payload:T},{call:D,put:L}){var me;const ke=yield D(di.I_,T);(me=ke==null?void 0:ke.disciplines)==null||me.map(sn=>(sn.sub_repertoires=sn.sub_disciplines,sn)),yield L({type:"save",payload:{menus:[...(ke==null?void 0:ke.disciplines)||[]]}})},*clearListParams({payload:T},{call:D,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(T,D){return co(co({},T),D.payload)}},subscriptions:{setup({dispatch:T,history:D}){return D.listen(({pathname:L})=>{L==="/"&&T({type:"query"})})}}},Tc=Object.defineProperty,jl=Object.getOwnPropertySymbols,Su=Object.prototype.hasOwnProperty,Hc=Object.prototype.propertyIsEnumerable,Pc=(T,D,L)=>D in T?Tc(T,D,{enumerable:!0,configurable:!0,writable:!0,value:L}):T[D]=L,Ou=(T,D)=>{for(var L in D||(D={}))Su.call(D,L)&&Pc(T,L,D[L]);if(jl)for(var L of jl(D))Hc.call(D,L)&&Pc(T,L,D[L]);return T},Wu={namespace:"newShixuns",state:{newData:{},actionTabs:{key:"",params:{}},environmentData:{}},effects:{*getNewShixunsData({payload:T},{call:D,put:L}){const me=yield D(di.b8,T);return yield L({type:"save",payload:{newData:Ou({},me)}}),me},*deleteAttachment({payload:T},{call:D,put:L}){return yield D(di.OW,T)},*applyShixunMirror({payload:T},{call:D,put:L}){return yield D(di.EH,T)},*submitShixuns({payload:T},{call:D,put:L}){return yield D(di.eX,T)},*getShixunsJupyterLab({payload:T},{call:D,put:L}){const me=yield D(di.Gu,T);return yield L({type:"save",payload:{newData:Ou({},me)}}),me},*setActionTabs({payload:T},{call:D,put:L}){yield L({type:"save",payload:{actionTabs:Ou({},T)}})},*getEnvironmentData({payload:T},{call:D,put:L}){const me=yield D(di.K,T);return console.log(me,"response"),yield L({type:"save",payload:{environmentData:Ou({},me.data)}}),me}},reducers:{save(T,D){return Ou(Ou({},T),D.payload)}},subscriptions:{setup({dispatch:T,history:D}){}}},Ic=Object.defineProperty,Cl=Object.getOwnPropertySymbols,Ya=Object.prototype.hasOwnProperty,If=Object.prototype.propertyIsEnumerable,Wc=(T,D,L)=>D in T?Ic(T,D,{enumerable:!0,configurable:!0,writable:!0,value:L}):T[D]=L,Gu=(T,D)=>{for(var L in D||(D={}))Ya.call(D,L)&&Wc(T,L,D[L]);if(Cl)for(var L of Cl(D))If.call(D,L)&&Wc(T,L,D[L]);return T},Vc={namespace:"shixunsOverview",state:{},effects:{*getShixunUseInfos({payload:T},{call:D,put:L}){const me=yield D(di.e,T);yield L({type:"save",payload:{ShixunUseInfos:me}})},*getRankList({payload:T},{call:D,put:L}){const me=yield D(di.Fg,T);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:T},{call:D,put:L}){const me=yield D(di.Gz,T);yield L({type:"save",payload:{SBody:me}})},*getOnlineCount({payload:T},{call:D,put:L}){const me=yield D(di.hS,T);yield L({type:"save",payload:{OnlineCount:me==null?void 0:me.data}})},*getStatisticsHeader({payload:T},{call:D,put:L}){const me=yield D(di.Hl,T);yield L({type:"save",payload:{SHeader:me}})}},reducers:{save(T,D){return Gu(Gu({},T),D.payload)}},subscriptions:{setup({dispatch:T,history:D}){return D.listen(({pathname:L})=>{L==="/"&&T({type:"query"})})}}},zl=(T,D,L)=>new Promise((me,ke)=>{var sn=ji=>{try{mn(L.next(ji))}catch(Wa){ke(Wa)}},Yn=ji=>{try{mn(L.throw(ji))}catch(Wa){ke(Wa)}},mn=ji=>ji.done?me(ji.value):Promise.resolve(ji.value).then(sn,Yn);mn((L=L.apply(T,D)).next())});function Au(T){return zl(this,null,function*(){return(0,gs.ZP)("/api/shixuns/new.json",{method:"Get",params:T})})}function yf(T){return zl(this,null,function*(){return(0,gs.ZP)(`/api/shixuns/${T.id}/required_status.json`,{method:"Get",params:{}})})}var Dc=Object.defineProperty,Zl=Object.defineProperties,Vu=Object.getOwnPropertyDescriptors,fo=Object.getOwnPropertySymbols,jo=Object.prototype.hasOwnProperty,ou=Object.prototype.propertyIsEnumerable,Oc=(T,D,L)=>D in T?Dc(T,D,{enumerable:!0,configurable:!0,writable:!0,value:L}):T[D]=L,fl=(T,D)=>{for(var L in D||(D={}))jo.call(D,L)&&Oc(T,L,D[L]);if(fo)for(var L of fo(D))ou.call(D,L)&&Oc(T,L,D[L]);return T},Kc=(T,D)=>Zl(T,Vu(D)),cc={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:T},{call:D,put:L}){yield L({type:"save",payload:fl({},T)})},*getTestData({payload:T},{call:D,put:L}){const me=yield D(Au,T);yield L({type:"save",payload:{data:me}})},*setUpdateIndex({payload:T},{call:D,put:L}){yield L({type:"save",payload:{updateIndex:Math.random()}})},*getCommonData({payload:T},{call:D,put:L}){const me=yield D(yf,T);yield L({type:"save",payload:fl({},me.data)})},*setSideBarTabs({payload:T},{call:D,put:L}){yield L({type:"sideBar",payload:fl({},T)})}},reducers:{save(T,D){return fl(fl({},T),D.payload)},sideBar(T,D){return Kc(fl({},T),{sideBar:fl(fl({},T.sideBar),D.payload)})}},subscriptions:{setup({dispatch:T,history:D}){}}},Do=e(63423),Yc=Object.defineProperty,Xc=Object.getOwnPropertySymbols,rl=Object.prototype.hasOwnProperty,ju=Object.prototype.propertyIsEnumerable,ho=(T,D,L)=>D in T?Yc(T,D,{enumerable:!0,configurable:!0,writable:!0,value:L}):T[D]=L,Hl=(T,D)=>{for(var L in D||(D={}))rl.call(D,L)&&ho(T,L,D[L]);if(Xc)for(var L of Xc(D))ju.call(D,L)&&ho(T,L,D[L]);return T},kc={namespace:"userDetail",state:{systemUpdate:void 0,homepageInfo:void 0,homeworkBanksDetail:{},actionTabs:{key:"",params:{}}},effects:{*getHomeworkBanksDetail({payload:T},{call:D,put:L}){const me=yield D(Do.JJ,T);return yield L({type:"save",payload:{homeworkBanksDetail:Hl({},me)}}),me},*getSystemUpdate({payload:T},{call:D,put:L}){const me=yield D(Do.n0,T);return yield L({type:"save",payload:{systemUpdate:Hl({},me)}}),me},*getHomepageInfo({payload:T},{call:D,put:L}){const me=yield D(Do.DA,T);return yield L({type:"save",payload:{homepageInfo:Hl({},me)}}),me},*signed({payload:T},{call:D,put:L}){return yield D(Do.qN,T)},*getCourses({payload:T},{call:D,put:L}){return yield D(Do.Ho,T)},*getShixuns({payload:T},{call:D,put:L}){return yield D(Do.rV,T)},*getPaths({payload:T},{call:D,put:L}){return yield D(Do.w3,T)},*getProjects({payload:T},{call:D,put:L}){return yield D(Do.mW,T)},*getVideos({payload:T},{call:D,put:L}){return yield D(Do.WY,T)},*getReviewVideos({payload:T},{call:D,put:L}){return yield D(Do.Qx,T)},*deleteVideo({payload:T},{call:D,put:L}){return yield D(Do.FM,T)},*getQuestionBanks({payload:T},{call:D,put:L}){return yield D(Do.ai,T)},*topicsSetPublic({payload:T},{call:D,put:L}){return yield D(Do.Cx,T)},*topicsDelete({payload:T},{call:D,put:L}){return yield D(Do.WS,T)},*topicGetCourseList({payload:T},{call:D,put:L}){return yield D(Do.gI,T)},*topicSendToClass({payload:T},{call:D,put:L}){return T.object_type==="videos"?yield D(Do.Fn,T):yield D(Do.Ef,T)},*logWatchHistory({payload:T},{call:D,put:L}){const me=yield D(Do.lO,T);return me==null?void 0:me.log_id},*setActionTabs({payload:T},{call:D,put:L}){yield L({type:"save",payload:{actionTabs:Hl({},T)}})}},reducers:{save(T,D){return Hl(Hl({},T),D.payload)}},subscriptions:{setup({dispatch:T,history:D}){return D.listen(({pathname:L})=>{L==="/"&&T({type:"query"})})}}},Qc=Object.defineProperty,dl=Object.getOwnPropertySymbols,Jo=Object.prototype.hasOwnProperty,Wl=Object.prototype.propertyIsEnumerable,je=(T,D,L)=>D in T?Qc(T,D,{enumerable:!0,configurable:!0,writable:!0,value:L}):T[D]=L,Ku=(T,D)=>{for(var L in D||(D={}))Jo.call(D,L)&&je(T,L,D[L]);if(dl)for(var L of dl(D))Wl.call(D,L)&&je(T,L,D[L]);return T},pu=(T,D)=>{var L={};for(var me in T)Jo.call(T,me)&&D.indexOf(me)<0&&(L[me]=T[me]);if(T!=null&&dl)for(var me of dl(T))D.indexOf(me)<0&&Wl.call(T,me)&&(L[me]=T[me]);return L},uu={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:T},{call:D,put:L}){const me=T,{to:ke}=me,sn=pu(me,["to"]);if(!(yield D(Do.Es,sn)).status)try{ke?f.history.replace(ke):location.reload()}catch(mn){}},*showPopLogin({payload:T},{put:D}){yield D({type:"save",payload:{showPopLogin:T.showPopLogin,showClosable:T.showClosable}})},*setBindAccountModal({payload:T},{put:D}){yield D({type:"save",payload:{bindAccountModalVisible:T.bindAccountModalVisible,userInfoForBindAccountModal:T.userInfoForBindAccountModal,loginInfo:T.loginInfo}})},*getUserInfo({payload:T},{call:D,put:L}){const me=yield D(Do.bG,Ku({},T));return localStorage.userInfo=JSON.stringify(me),yield L({type:"save",payload:{userInfo:Ku({},me)}}),me},*getNavigationInfo({payload:T},{call:D,put:L}){const me=yield D(Do.x4,Ku({},T));yield L({type:"save",payload:{navigationInfo:Ku({},me)}})},*setActionTabs({payload:T},{call:D,put:L}){yield L({type:"save",payload:{actionTabs:Ku({},T)}})}},reducers:{save(T,D){return Ku(Ku({},T),D.payload)}}},Yu=e(38746),Rc=Object.defineProperty,dc=Object.defineProperties,Tl=Object.getOwnPropertyDescriptors,hl=Object.getOwnPropertySymbols,nl=Object.prototype.hasOwnProperty,qc=Object.prototype.propertyIsEnumerable,hc=(T,D,L)=>D in T?Rc(T,D,{enumerable:!0,configurable:!0,writable:!0,value:L}):T[D]=L,ku=(T,D)=>{for(var L in D||(D={}))nl.call(D,L)&&hc(T,L,D[L]);if(hl)for(var L of hl(D))qc.call(D,L)&&hc(T,L,D[L]);return T},yl=(T,D)=>dc(T,Tl(D));const Xu=()=>{var T,D,L,me,ke,sn,Yn;let mn=window.location.href.split("/");if(!mn.includes("video"))return;let ji=(T=mn[mn.length-1])==null?void 0:T.split("?")[0];ji=Number(ji);const Wa=(L=(D=mn[mn.length-1])==null?void 0:D.split("?")[1])==null?void 0:L.split("=")[1];return((ke=(me=mn[mn.length-1])==null?void 0:me.split("?")[1])==null?void 0:ke.split("=")[0])==="subject_id"?{videoId:ji,subject_id:Wa}:((Yn=(sn=mn[mn.length-1])==null?void 0:sn.split("?")[1])==null?void 0:Yn.split("=")[0])==="new_video_id"?{videoId:ji,new_video_id:Wa}:{videoId:ji,course_id:Wa}};var xf={namespace:"videoDetail",state:{detail:{},actionTabs:{key:"",params:{}},videoTabs:{key:"",params:{}},stages:[],cust_seq:0,queryParams:Xu(),videoList:[],attachmentList:[],selectParams:{checkBoxValue:!1,radioValue:1},active:{}},effects:{*getVideoDetail({payload:T,callback:D},{call:L,put:me}){const ke=yield L(Gn.O2,T);return D?D(ke):yield me({type:"save",payload:{detail:ku({},ke)}}),ke},*setVideoValue({payload:T},{call:D,put:L}){yield L({type:"save",payload:{detail:ku({},T)}})},*setActionTabs({payload:T},{call:D,put:L}){yield L({type:"save",payload:{actionTabs:ku({},T)}})},*setVideoTabs({payload:T},{call:D,put:L}){yield L({type:"save",payload:{videoTabs:ku({},T)}})},*setSelectValue({payload:T},{call:D,put:L}){yield L({type:"save",payload:{selectParams:ku({},T)}})},*getStageData({payload:T},{call:D,put:L,select:me}){const ke=yield D(Gn.yN,T),sn=yield D(ia.lk,{id:T.subject_id}),{queryParams:Yn}=yield me(Ss=>Ss.videoDetail),{stages:mn=[]}=ke,ji=[];let Wa=[],Ga={};const Uo=Ss=>{Ss.forEach(Qs=>{String(Qs.id)===String(Yn.videoId)&&(Ga=Qs),Qs.item_type==="VideoItem"?ji.push(Qs):Qs.item_type==="Attachment"&&Wa.push(Qs),Qs.children&&Qs.children.length&&Uo(Qs.children)})};mn==null||mn.forEach(Ss=>{Uo(Ss.items)}),window.filterVideoSign=[...ji],yield L({type:"save",payload:{stages:mn,active:Ga,cust_seq:sn.cust_seq,videoList:ji,attachmentList:Wa}})},*getVideoData({payload:T},{call:D,put:L,select:me}){const ke=yield D(Gn.fn,T),{categories:sn=[],coruse_videos:Yn=[]}=ke;yield L({type:"save",payload:{stages:(sn==null?void 0:sn.length)>0?sn:[{coruse_videos:Yn,name:"\u672A\u5206\u914D\u76EE\u5F55"}]}})},*getCourseStageData({payload:T},{call:D,put:L,select:me}){const ke=yield D(Yu.R7,T),{queryParams:sn}=yield me(Uo=>Uo.videoDetail),{stages:Yn}=ke;let mn=[],ji=[],Wa={};const Ga=Uo=>{Uo.forEach(Ss=>{String(Ss.id)===String(sn.videoId)&&(Wa=Ss),Ss.item_type==="VideoItem"?mn.push(Ss):Ss.item_type==="Attachment"&&ji.push(Ss),Ss.children&&Ss.children.length&&Ga(Ss.children)})};Yn==null||Yn.forEach(Uo=>{Ga(Uo.items)}),window.filterVideoSign=[...mn],yield L({type:"save",payload:{active:Wa,stages:Yn,cust_seq:!0,videoList:mn,attachmentList:ji}})}},reducers:{save(T,D){return ku(ku({},T),D.payload)},handleListItemClick(T,D){const{videoList:L,attachmentList:me}=T,ke=D.payload.videoId||D.payload.attachmentId,sn=[...L,...me].find(Yn=>`${Yn.id}`==`${ke}`);return yl(ku({},T),{active:sn,queryParams:ku(ku({},Xu()),D.payload)})}},subscriptions:{setup({dispatch:T,history:D}){return D.listen(({pathname:L})=>{L==="/"&&T({type:"query"})})}}},lu=e(19985),Pl=Object.defineProperty,Jc=Object.getOwnPropertySymbols,Gl=Object.prototype.hasOwnProperty,Vl=Object.prototype.propertyIsEnumerable,eu=(T,D,L)=>D in T?Pl(T,D,{enumerable:!0,configurable:!0,writable:!0,value:L}):T[D]=L,cu=(T,D)=>{for(var L in D||(D={}))Gl.call(D,L)&&eu(T,L,D[L]);if(Jc)for(var L of Jc(D))Vl.call(D,L)&&eu(T,L,D[L]);return T},_u={namespace:"virtualSpaces",state:{showMenu:!0,loading:!0,actionTabs:{key:"",params:{},module_id:""},virtualSpacesDetails:{},menus:[],LessonsList:{},LessonDetail:{},LessonResList:{},DiscussionList:{},DiscussionDetail:{},Workplace:{BaseData:{}}},effects:{*getBaseStatisticData({payload:T},{call:D,put:L}){const me=yield D(lu.y2,T);return yield L({type:"save",payload:{Workplace:{BaseData:me.data}}}),me},*putEditDiscussion({payload:T},{call:D,put:L}){return yield D(lu.CH,T)},*getDiscussionDetail({payload:T},{call:D,put:L}){const me=yield D(lu.XQ,T);return yield L({type:"save",payload:{DiscussionDetail:me}}),me},*postDiscussionList({payload:T},{call:D,put:L}){return yield D(lu.Ll,T)},*getDiscussionList({payload:T},{call:D,put:L}){const me=yield D(lu.EA,T);return yield L({type:"save",payload:{DiscussionList:me}}),me},*postAddLessonRes({payload:T},{call:D,put:L}){return yield D(lu.cZ,T)},*getLessonResourcesList({payload:T},{call:D,put:L}){const me=yield D(lu.b,T);return yield L({type:"save",payload:{LessonResList:me}}),me},*putGoodLessonsDetail({payload:T},{call:D,put:L}){return yield D(lu.To,T)},*getGoodLessonsDetail({payload:T},{call:D,put:L}){const me=yield D(lu.FU,T);return yield L({type:"save",payload:{LessonDetail:me}}),me},*postGoodLessonsList({payload:T},{call:D,put:L}){return yield D(lu.Vf,T)},*getGoodLessonsList({payload:T},{call:D,put:L}){const me=yield D(lu.G_,T);return yield L({type:"save",payload:{LessonsList:me}}),me},*setActionTabs({payload:T},{call:D,put:L}){yield L({type:"save",payload:{actionTabs:cu({},T)}})},*setShowMenu({payload:T},{call:D,put:L}){yield L({type:"save",payload:{showMenu:T}})},*getVirtualSpacesDetails({payload:T},{call:D,put:L}){const me=yield D(lu.sT,T);yield L({type:"save",payload:{virtualSpacesDetails:cu({},me)}})},*setVirtualSpacesLoading({payload:T},{call:D,put:L}){yield L({type:"save",payload:{loading:T}})},*getVirtualSpacesMenus({payload:T},{call:D,put:L}){const me=yield D(lu.Sl,T);return yield L({type:"save",payload:{menus:me}}),me}},reducers:{save(T,D){return cu(cu({},T),D.payload)}},subscriptions:{setup({dispatch:T,history:D}){return D.listen(({pathname:L})=>{L==="/"&&T({type:"query"})})}}};const pc={model_1:{namespace:"account.index",model:b},model_2:{namespace:"classrooms.announcement",model:K},model_3:{namespace:"classrooms.attachment",model:se},model_4:{namespace:"classrooms.boards",model:De},model_5:{namespace:"classrooms.exercise",model:Ge},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:mt},model_10:{namespace:"classrooms.overview",model:Nr},model_11:{namespace:"classrooms.polls",model:jt},model_12:{namespace:"classrooms.teacher",model:yn},model_13:{namespace:"classrooms.video",model:fa},model_14:{namespace:"competitions.index",model:Ti},model_15:{namespace:"engineering.evaluateDetail",model:qe},model_16:{namespace:"engineering.evaluateList",model:An.Z},model_17:{namespace:"engineering.index",model:wn},model_18:{namespace:"engineering.navigation",model:Ea},model_19:{namespace:"engineering.normDetail",model:ea},model_20:{namespace:"engineering.normList",model:Ha},model_21:{namespace:"forums.detail",model:Zo},model_22:{namespace:"forums.index",model:go},model_23:{namespace:"globalSetting",model:Bu},model_24:{namespace:"graduations.index",model:_r},model_25:{namespace:"homePage",model:Rr},model_26:{namespace:"innovation.index",model:Ta},model_27:{namespace:"intraincourse.index",model:ui},model_28:{namespace:"loading",model:Mi},model_29:{namespace:"messages.index",model:Gs},model_30:{namespace:"paperlibrary.index",model:xr},model_31:{namespace:"paperlibrary.newPaper",model:ba},model_32:{namespace:"paths.detail",model:el},model_33:{namespace:"paths.index",model:Ct},model_34:{namespace:"paths.new",model:ei},model_35:{namespace:"paths.overview",model:Xs},model_36:{namespace:"problemset.index",model:gl},model_37:{namespace:"problemset.preview",model:Bl},model_38:{namespace:"resetFul.index",model:uc},model_39:{namespace:"shixuns.detail",model:Zc},model_40:{namespace:"shixuns.index",model:su},model_41:{namespace:"shixuns.new",model:Wu},model_42:{namespace:"shixuns.overview",model:Vc},model_43:{namespace:"shixuns.practiceSetting",model:cc},model_44:{namespace:"user.detail",model:kc},model_45:{namespace:"user.index",model:uu},model_46:{namespace:"video.detail",model:xf},model_47:{namespace:"virtualSpaces.index",model:_u}};var Il=Object.defineProperty,ef=Object.getOwnPropertySymbols,bl=Object.prototype.hasOwnProperty,Uu=Object.prototype.propertyIsEnumerable,_c=(T,D,L)=>D in T?Il(T,D,{enumerable:!0,configurable:!0,writable:!0,value:L}):T[D]=L,mc=(T,D)=>{for(var L in D||(D={}))bl.call(D,L)&&_c(T,L,D[L]);if(ef)for(var L of ef(D))Uu.call(D,L)&&_c(T,L,D[L]);return T};let Yl;function Lc(T){const{pluginManager:D}=(0,f.useAppData)(),L=(0,c.useRef)(),me=D.applyPlugins({key:"dva",type:f.ApplyPluginsType.modify,initialValue:{}});if(!L.current){L.current=(0,r.Ue)(mc({history:f.history},me.config||{}),{initialReducer:{},setupMiddlewares(ke){return[...ke]},setupApp(ke){ke._history=f.history}}),Yl=L.current,L.current.use(l()()),(me.plugins||[]).forEach(ke=>{L.current.use(ke)});for(const ke of Object.keys(pc))L.current.model(mc({namespace:pc[ke].namespace},pc[ke].model));L.current.start()}return c.createElement(r.zt,{store:L.current._store},T.children)}function Ef(){return Yl}},26108:function(d,v,e){"use strict";e.d(v,{PZ:function(){return ii},eU:function(){return a},B:function(){return Oi},Mg:function(){return ft},lw:function(){return pt},Kd:function(){return Ot},H8:function(){return Ti}});var r=e(59301),i=e(94266),l=e.n(i);const c=l()||i;function f(Ze){return Ze.displayName||Ze.name||"Component"}const o=r.createContext(null),{Consumer:h,Provider:u}=o,a=u,x=null;function p(Ze,qe){const{intlPropName:xe="intl",forwardRef:at=!1,enforceContext:ar=!0}=qe||{},Er=kr=>React.createElement(h,null,Ir=>(ar&&invariantIntlContext(Ir),React.createElement(Ze,Object.assign({},kr,{[xe]:Ir},{ref:at?kr.forwardedRef:null}))));return Er.displayName=`injectIntl(${f(Ze)})`,Er.WrappedComponent=Ze,c(at?React.forwardRef((kr,Ir)=>React.createElement(Er,Object.assign({},kr,{forwardedRef:Ir}))):Er,Ze)}var y;(function(Ze){Ze[Ze.literal=0]="literal",Ze[Ze.argument=1]="argument",Ze[Ze.number=2]="number",Ze[Ze.date=3]="date",Ze[Ze.time=4]="time",Ze[Ze.select=5]="select",Ze[Ze.plural=6]="plural",Ze[Ze.pound=7]="pound"})(y||(y={}));function _(Ze){return Ze.type===y.literal}function b(Ze){return Ze.type===y.argument}function S(Ze){return Ze.type===y.number}function k(Ze){return Ze.type===y.date}function R(Ze){return Ze.type===y.time}function A(Ze){return Ze.type===y.select}function P(Ze){return Ze.type===y.plural}function M(Ze){return Ze.type===y.pound}function B(Ze){return!!(Ze&&typeof Ze=="object"&&Ze.type===0)}function N(Ze){return!!(Ze&&typeof Ze=="object"&&Ze.type===1)}function K(Ze){return{type:y.literal,value:Ze}}function G(Ze,qe){return{type:y.number,value:Ze,style:qe}}var H=function(){var Ze=function(qe,xe){return Ze=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(at,ar){at.__proto__=ar}||function(at,ar){for(var Er in ar)ar.hasOwnProperty(Er)&&(at[Er]=ar[Er])},Ze(qe,xe)};return function(qe,xe){Ze(qe,xe);function at(){this.constructor=qe}qe.prototype=xe===null?Object.create(xe):(at.prototype=xe.prototype,new at)}}(),ae=function(){return ae=Object.assign||function(Ze){for(var qe,xe=1,at=arguments.length;xe<at;xe++){qe=arguments[xe];for(var ar in qe)Object.prototype.hasOwnProperty.call(qe,ar)&&(Ze[ar]=qe[ar])}return Ze},ae.apply(this,arguments)},ne=function(Ze){H(qe,Ze);function qe(xe,at,ar,Er){var kr=Ze.call(this)||this;return kr.message=xe,kr.expected=at,kr.found=ar,kr.location=Er,kr.name="SyntaxError",typeof Error.captureStackTrace=="function"&&Error.captureStackTrace(kr,qe),kr}return qe.buildMessage=function(xe,at){function ar(Sr){return Sr.charCodeAt(0).toString(16).toUpperCase()}function Er(Sr){return Sr.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(pn){return"\\x0"+ar(pn)}).replace(/[\x10-\x1F\x7F-\x9F]/g,function(pn){return"\\x"+ar(pn)})}function kr(Sr){return Sr.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(pn){return"\\x0"+ar(pn)}).replace(/[\x10-\x1F\x7F-\x9F]/g,function(pn){return"\\x"+ar(pn)})}function Ir(Sr){switch(Sr.type){case"literal":return'"'+Er(Sr.text)+'"';case"class":var pn=Sr.parts.map(function(on){return Array.isArray(on)?kr(on[0])+"-"+kr(on[1]):kr(on)});return"["+(Sr.inverted?"^":"")+pn+"]";case"any":return"any character";case"end":return"end of input";case"other":return Sr.description}}function jr(Sr){var pn=Sr.map(Ir),on,dn;if(pn.sort(),pn.length>0){for(on=1,dn=1;on<pn.length;on++)pn[on-1]!==pn[on]&&(pn[dn]=pn[on],dn++);pn.length=dn}switch(pn.length){case 1:return pn[0];case 2:return pn[0]+" or "+pn[1];default:return pn.slice(0,-1).join(", ")+", or "+pn[pn.length-1]}}function wn(Sr){return Sr?'"'+Er(Sr)+'"':"end of input"}return"Expected "+jr(xe)+" but "+wn(at)+" found."},qe}(Error);function oe(Ze,qe){qe=qe!==void 0?qe:{};var xe={},at={start:Xe},ar=Xe,Er=function(ye){return ye.join("")},kr=function(ye){return ae({type:y.literal,value:ye},La())},Ir="#",jr=$i("#",!1),wn=function(){return ae({type:y.pound},La())},Sr=Fa("argumentElement"),pn="{",on=$i("{",!1),dn="}",In=$i("}",!1),Ia=function(ye){return ae({type:y.argument,value:ye},La())},Ni=Fa("numberSkeletonId"),gi=/^['\/{}]/,En=Co(["'","/","{","}"],!1,!1),pi=oo(),Qi=Fa("numberSkeletonTokenOption"),Ea="/",Vs=$i("/",!1),wa=function(ye){return ye},Fs=Fa("numberSkeletonToken"),Ks=function(ye,we){return{stem:ye,options:we}},es=function(ye){return ae({type:0,tokens:ye},La())},Hs="::",Jn=$i("::",!1),ws=function(ye){return ye},fs=function(){return ga.push("numberArgStyle"),!0},Ys=function(ye){return ga.pop(),ye.replace(/\s*$/,"")},ea=",",Bs=$i(",",!1),Vo="number",Ka=$i("number",!1),va=function(ye,we,Ar){return ae({type:we==="number"?y.number:we==="date"?y.date:y.time,style:Ar&&Ar[2],value:ye},La())},is="'",mo=$i("'",!1),Nn=/^[^']/,ts=Co(["'"],!0,!1),Ps=/^[^a-zA-Z'{}]/,Is=Co([["a","z"],["A","Z"],"'","{","}"],!0,!1),Yi=/^[a-zA-Z]/,Xa=Co([["a","z"],["A","Z"]],!1,!1),Ha=function(ye){return ae({type:1,pattern:ye},La())},Rs=function(){return ga.push("dateOrTimeArgStyle"),!0},vo="date",zo=$i("date",!1),Ko="time",Yo=$i("time",!1),rs="plural",vs=$i("plural",!1),Ao="selectordinal",Zo=$i("selectordinal",!1),Lo="offset:",Xo=$i("offset:",!1),xi=function(ye,we,Ar,rn){return ae({type:y.plural,pluralType:we==="plural"?"cardinal":"ordinal",value:ye,offset:Ar?Ar[2]:0,options:rn.reduce(function(xr,Jr){var Dn=Jr.id,si=Jr.value,Vi=Jr.location;return Dn in xr&&Ns('Duplicate option "'+Dn+'" in plural element: "'+qi()+'"',Ta()),xr[Dn]={value:si,location:Vi},xr},{})},La())},_i="select",as=$i("select",!1),ds=function(ye,we){return ae({type:y.select,value:ye,options:we.reduce(function(Ar,rn){var xr=rn.id,Jr=rn.value,Dn=rn.location;return xr in Ar&&Ns('Duplicate option "'+xr+'" in select element: "'+qi()+'"',Ta()),Ar[xr]={value:Jr,location:Dn},Ar},{})},La())},ss="=",go=$i("=",!1),Ho=function(ye){return ga.push("select"),!0},du=function(ye,we){return ga.pop(),ae({id:ye,value:we},La())},Ls=function(ye){return ga.push("plural"),!0},tu=function(ye,we){return ga.pop(),ae({id:ye,value:we},La())},hu=Fa("whitespace"),Iu=/^[\t-\r \x85\xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/,Mo=Co([[" ","\r"]," ","\x85","\xA0","\u1680",["\u2000","\u200A"],"\u2028","\u2029","\u202F","\u205F","\u3000"],!1,!1),Ju=Fa("syntax pattern"),Fo=/^[!-\/:-@[-\^`{-~\xA1-\xA7\xA9\xAB\xAC\xAE\xB0\xB1\xB6\xBB\xBF\xD7\xF7\u2010-\u2027\u2030-\u203E\u2041-\u2053\u2055-\u205E\u2190-\u245F\u2500-\u2775\u2794-\u2BFF\u2E00-\u2E7F\u3001-\u3003\u3008-\u3020\u3030\uFD3E\uFD3F\uFE45\uFE46]/,_o=Co([["!","/"],[":","@"],["[","^"],"`",["{","~"],["\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),gu=Fa("optional whitespace"),Bu=Fa("number"),Oo="-",Bo=$i("-",!1),Du=function(ye,we){return we?ye?-we:we:0},Qo=Fa("apostrophe"),ru=Fa("double apostrophes"),Ds="''",Wo=$i("''",!1),Nu=function(){return"'"},qt=function(ye,we){return ye+we.replace("''","'")},_r=function(ye){return ye!=="{"&&!($s()&&ye==="#")&&!(us()&&ye==="}")},or=`
|
|
|
`,mr=$i(`
|
|
|
`,!1),Tr=function(ye){return ye==="{"||ye==="}"||$s()&&ye==="#"},gn=Fa("argNameOrNumber"),Zn=Fa("argNumber"),kn="0",Hn=$i("0",!1),li=function(){return 0},oi=/^[1-9]/,hr=Co([["1","9"]],!1,!1),Br=/^[0-9]/,Rr=Co([["0","9"]],!1,!1),Cn=function(ye){return parseInt(ye.join(""),10)},Tn=Fa("argName"),ht=0,$n=0,Wn=[{line:1,column:1}],Li=0,ta=[],Jt=0,oa;if(qe.startRule!==void 0){if(!(qe.startRule in at))throw new Error(`Can't start parsing from rule "`+qe.startRule+'".');ar=at[qe.startRule]}function qi(){return Ze.substring($n,ht)}function Ta(){return yo($n,ht)}function gs(ye,we){throw we=we!==void 0?we:yo($n,ht),uo([Fa(ye)],Ze.substring($n,ht),we)}function Ns(ye,we){throw we=we!==void 0?we:yo($n,ht),Ws(ye,we)}function $i(ye,we){return{type:"literal",text:ye,ignoreCase:we}}function Co(ye,we,Ar){return{type:"class",parts:ye,inverted:we,ignoreCase:Ar}}function oo(){return{type:"any"}}function Ms(){return{type:"end"}}function Fa(ye){return{type:"other",description:ye}}function Os(ye){var we=Wn[ye],Ar;if(we)return we;for(Ar=ye-1;!Wn[Ar];)Ar--;for(we=Wn[Ar],we={line:we.line,column:we.column};Ar<ye;)Ze.charCodeAt(Ar)===10?(we.line++,we.column=1):we.column++,Ar++;return Wn[ye]=we,we}function yo(ye,we){var Ar=Os(ye),rn=Os(we);return{start:{offset:ye,line:Ar.line,column:Ar.column},end:{offset:we,line:rn.line,column:rn.column}}}function zn(ye){ht<Li||(ht>Li&&(Li=ht,ta=[]),ta.push(ye))}function Ws(ye,we){return new ne(ye,[],"",we)}function uo(ye,we,Ar){return new ne(ne.buildMessage(ye,we),ye,we,Ar)}function Xe(){var ye;return ye=Qe(),ye}function Qe(){var ye,we;for(ye=[],we=Mt();we!==xe;)ye.push(we),we=Mt();return ye}function Mt(){var ye;return ye=br(),ye===xe&&(ye=Zr(),ye===xe&&(ye=Ri(),ye===xe&&(ye=Si(),ye===xe&&(ye=Sa(),ye===xe&&(ye=Mr()))))),ye}function Vt(){var ye,we,Ar;if(ye=ht,we=[],Ar=hs(),Ar===xe&&(Ar=xo(),Ar===xe&&(Ar=ps())),Ar!==xe)for(;Ar!==xe;)we.push(Ar),Ar=hs(),Ar===xe&&(Ar=xo(),Ar===xe&&(Ar=ps()));else we=xe;return we!==xe&&($n=ye,we=Er(we)),ye=we,ye}function br(){var ye,we;return ye=ht,we=Vt(),we!==xe&&($n=ye,we=kr(we)),ye=we,ye}function Mr(){var ye,we;return ye=ht,Ze.charCodeAt(ht)===35?(we=Ir,ht++):(we=xe,Jt===0&&zn(jr)),we!==xe&&($n=ye,we=wn()),ye=we,ye}function Zr(){var ye,we,Ar,rn,xr,Jr;return Jt++,ye=ht,Ze.charCodeAt(ht)===123?(we=pn,ht++):(we=xe,Jt===0&&zn(on)),we!==xe?(Ar=Hi(),Ar!==xe?(rn=os(),rn!==xe?(xr=Hi(),xr!==xe?(Ze.charCodeAt(ht)===125?(Jr=dn,ht++):(Jr=xe,Jt===0&&zn(In)),Jr!==xe?($n=ye,we=Ia(rn),ye=we):(ht=ye,ye=xe)):(ht=ye,ye=xe)):(ht=ye,ye=xe)):(ht=ye,ye=xe)):(ht=ye,ye=xe),Jt--,ye===xe&&(we=xe,Jt===0&&zn(Sr)),ye}function bn(){var ye,we,Ar,rn,xr;if(Jt++,ye=ht,we=[],Ar=ht,rn=ht,Jt++,xr=Qa(),xr===xe&&(gi.test(Ze.charAt(ht))?(xr=Ze.charAt(ht),ht++):(xr=xe,Jt===0&&zn(En))),Jt--,xr===xe?rn=void 0:(ht=rn,rn=xe),rn!==xe?(Ze.length>ht?(xr=Ze.charAt(ht),ht++):(xr=xe,Jt===0&&zn(pi)),xr!==xe?(rn=[rn,xr],Ar=rn):(ht=Ar,Ar=xe)):(ht=Ar,Ar=xe),Ar!==xe)for(;Ar!==xe;)we.push(Ar),Ar=ht,rn=ht,Jt++,xr=Qa(),xr===xe&&(gi.test(Ze.charAt(ht))?(xr=Ze.charAt(ht),ht++):(xr=xe,Jt===0&&zn(En))),Jt--,xr===xe?rn=void 0:(ht=rn,rn=xe),rn!==xe?(Ze.length>ht?(xr=Ze.charAt(ht),ht++):(xr=xe,Jt===0&&zn(pi)),xr!==xe?(rn=[rn,xr],Ar=rn):(ht=Ar,Ar=xe)):(ht=Ar,Ar=xe);else we=xe;return we!==xe?ye=Ze.substring(ye,ht):ye=we,Jt--,ye===xe&&(we=xe,Jt===0&&zn(Ni)),ye}function ln(){var ye,we,Ar;return Jt++,ye=ht,Ze.charCodeAt(ht)===47?(we=Ea,ht++):(we=xe,Jt===0&&zn(Vs)),we!==xe?(Ar=bn(),Ar!==xe?($n=ye,we=wa(Ar),ye=we):(ht=ye,ye=xe)):(ht=ye,ye=xe),Jt--,ye===xe&&(we=xe,Jt===0&&zn(Qi)),ye}function xn(){var ye,we,Ar,rn,xr;if(Jt++,ye=ht,we=Hi(),we!==xe)if(Ar=bn(),Ar!==xe){for(rn=[],xr=ln();xr!==xe;)rn.push(xr),xr=ln();rn!==xe?($n=ye,we=Ks(Ar,rn),ye=we):(ht=ye,ye=xe)}else ht=ye,ye=xe;else ht=ye,ye=xe;return Jt--,ye===xe&&(we=xe,Jt===0&&zn(Fs)),ye}function ai(){var ye,we,Ar;if(ye=ht,we=[],Ar=xn(),Ar!==xe)for(;Ar!==xe;)we.push(Ar),Ar=xn();else we=xe;return we!==xe&&($n=ye,we=es(we)),ye=we,ye}function ui(){var ye,we,Ar;return ye=ht,Ze.substr(ht,2)===Hs?(we=Hs,ht+=2):(we=xe,Jt===0&&zn(Jn)),we!==xe?(Ar=ai(),Ar!==xe?($n=ye,we=ws(Ar),ye=we):(ht=ye,ye=xe)):(ht=ye,ye=xe),ye===xe&&(ye=ht,$n=ht,we=fs(),we?we=void 0:we=xe,we!==xe?(Ar=Vt(),Ar!==xe?($n=ye,we=Ys(Ar),ye=we):(ht=ye,ye=xe)):(ht=ye,ye=xe)),ye}function Pi(){var ye,we,Ar,rn,xr,Jr,Dn,si,Vi,jn,Mn,Vn,ba;return ye=ht,Ze.charCodeAt(ht)===123?(we=pn,ht++):(we=xe,Jt===0&&zn(on)),we!==xe?(Ar=Hi(),Ar!==xe?(rn=os(),rn!==xe?(xr=Hi(),xr!==xe?(Ze.charCodeAt(ht)===44?(Jr=ea,ht++):(Jr=xe,Jt===0&&zn(Bs)),Jr!==xe?(Dn=Hi(),Dn!==xe?(Ze.substr(ht,6)===Vo?(si=Vo,ht+=6):(si=xe,Jt===0&&zn(Ka)),si!==xe?(Vi=Hi(),Vi!==xe?(jn=ht,Ze.charCodeAt(ht)===44?(Mn=ea,ht++):(Mn=xe,Jt===0&&zn(Bs)),Mn!==xe?(Vn=Hi(),Vn!==xe?(ba=ui(),ba!==xe?(Mn=[Mn,Vn,ba],jn=Mn):(ht=jn,jn=xe)):(ht=jn,jn=xe)):(ht=jn,jn=xe),jn===xe&&(jn=null),jn!==xe?(Mn=Hi(),Mn!==xe?(Ze.charCodeAt(ht)===125?(Vn=dn,ht++):(Vn=xe,Jt===0&&zn(In)),Vn!==xe?($n=ye,we=va(rn,si,jn),ye=we):(ht=ye,ye=xe)):(ht=ye,ye=xe)):(ht=ye,ye=xe)):(ht=ye,ye=xe)):(ht=ye,ye=xe)):(ht=ye,ye=xe)):(ht=ye,ye=xe)):(ht=ye,ye=xe)):(ht=ye,ye=xe)):(ht=ye,ye=xe)):(ht=ye,ye=xe),ye}function Mi(){var ye,we,Ar,rn;if(ye=ht,Ze.charCodeAt(ht)===39?(we=is,ht++):(we=xe,Jt===0&&zn(mo)),we!==xe){if(Ar=[],rn=hs(),rn===xe&&(Nn.test(Ze.charAt(ht))?(rn=Ze.charAt(ht),ht++):(rn=xe,Jt===0&&zn(ts))),rn!==xe)for(;rn!==xe;)Ar.push(rn),rn=hs(),rn===xe&&(Nn.test(Ze.charAt(ht))?(rn=Ze.charAt(ht),ht++):(rn=xe,Jt===0&&zn(ts)));else Ar=xe;Ar!==xe?(Ze.charCodeAt(ht)===39?(rn=is,ht++):(rn=xe,Jt===0&&zn(mo)),rn!==xe?(we=[we,Ar,rn],ye=we):(ht=ye,ye=xe)):(ht=ye,ye=xe)}else ht=ye,ye=xe;if(ye===xe)if(ye=[],we=hs(),we===xe&&(Ps.test(Ze.charAt(ht))?(we=Ze.charAt(ht),ht++):(we=xe,Jt===0&&zn(Is))),we!==xe)for(;we!==xe;)ye.push(we),we=hs(),we===xe&&(Ps.test(Ze.charAt(ht))?(we=Ze.charAt(ht),ht++):(we=xe,Jt===0&&zn(Is)));else ye=xe;return ye}function ra(){var ye,we;if(ye=[],Yi.test(Ze.charAt(ht))?(we=Ze.charAt(ht),ht++):(we=xe,Jt===0&&zn(Xa)),we!==xe)for(;we!==xe;)ye.push(we),Yi.test(Ze.charAt(ht))?(we=Ze.charAt(ht),ht++):(we=xe,Jt===0&&zn(Xa));else ye=xe;return ye}function Xi(){var ye,we,Ar,rn;if(ye=ht,we=ht,Ar=[],rn=Mi(),rn===xe&&(rn=ra()),rn!==xe)for(;rn!==xe;)Ar.push(rn),rn=Mi(),rn===xe&&(rn=ra());else Ar=xe;return Ar!==xe?we=Ze.substring(we,ht):we=Ar,we!==xe&&($n=ye,we=Ha(we)),ye=we,ye}function ki(){var ye,we,Ar;return ye=ht,Ze.substr(ht,2)===Hs?(we=Hs,ht+=2):(we=xe,Jt===0&&zn(Jn)),we!==xe?(Ar=Xi(),Ar!==xe?($n=ye,we=ws(Ar),ye=we):(ht=ye,ye=xe)):(ht=ye,ye=xe),ye===xe&&(ye=ht,$n=ht,we=Rs(),we?we=void 0:we=xe,we!==xe?(Ar=Vt(),Ar!==xe?($n=ye,we=Ys(Ar),ye=we):(ht=ye,ye=xe)):(ht=ye,ye=xe)),ye}function Da(){var ye,we,Ar,rn,xr,Jr,Dn,si,Vi,jn,Mn,Vn,ba;return ye=ht,Ze.charCodeAt(ht)===123?(we=pn,ht++):(we=xe,Jt===0&&zn(on)),we!==xe?(Ar=Hi(),Ar!==xe?(rn=os(),rn!==xe?(xr=Hi(),xr!==xe?(Ze.charCodeAt(ht)===44?(Jr=ea,ht++):(Jr=xe,Jt===0&&zn(Bs)),Jr!==xe?(Dn=Hi(),Dn!==xe?(Ze.substr(ht,4)===vo?(si=vo,ht+=4):(si=xe,Jt===0&&zn(zo)),si===xe&&(Ze.substr(ht,4)===Ko?(si=Ko,ht+=4):(si=xe,Jt===0&&zn(Yo))),si!==xe?(Vi=Hi(),Vi!==xe?(jn=ht,Ze.charCodeAt(ht)===44?(Mn=ea,ht++):(Mn=xe,Jt===0&&zn(Bs)),Mn!==xe?(Vn=Hi(),Vn!==xe?(ba=ki(),ba!==xe?(Mn=[Mn,Vn,ba],jn=Mn):(ht=jn,jn=xe)):(ht=jn,jn=xe)):(ht=jn,jn=xe),jn===xe&&(jn=null),jn!==xe?(Mn=Hi(),Mn!==xe?(Ze.charCodeAt(ht)===125?(Vn=dn,ht++):(Vn=xe,Jt===0&&zn(In)),Vn!==xe?($n=ye,we=va(rn,si,jn),ye=we):(ht=ye,ye=xe)):(ht=ye,ye=xe)):(ht=ye,ye=xe)):(ht=ye,ye=xe)):(ht=ye,ye=xe)):(ht=ye,ye=xe)):(ht=ye,ye=xe)):(ht=ye,ye=xe)):(ht=ye,ye=xe)):(ht=ye,ye=xe)):(ht=ye,ye=xe),ye}function Ri(){var ye;return ye=Pi(),ye===xe&&(ye=Da()),ye}function Si(){var ye,we,Ar,rn,xr,Jr,Dn,si,Vi,jn,Mn,Vn,ba,ia,No,To;if(ye=ht,Ze.charCodeAt(ht)===123?(we=pn,ht++):(we=xe,Jt===0&&zn(on)),we!==xe)if(Ar=Hi(),Ar!==xe)if(rn=os(),rn!==xe)if(xr=Hi(),xr!==xe)if(Ze.charCodeAt(ht)===44?(Jr=ea,ht++):(Jr=xe,Jt===0&&zn(Bs)),Jr!==xe)if(Dn=Hi(),Dn!==xe)if(Ze.substr(ht,6)===rs?(si=rs,ht+=6):(si=xe,Jt===0&&zn(vs)),si===xe&&(Ze.substr(ht,13)===Ao?(si=Ao,ht+=13):(si=xe,Jt===0&&zn(Zo))),si!==xe)if(Vi=Hi(),Vi!==xe)if(Ze.charCodeAt(ht)===44?(jn=ea,ht++):(jn=xe,Jt===0&&zn(Bs)),jn!==xe)if(Mn=Hi(),Mn!==xe)if(Vn=ht,Ze.substr(ht,7)===Lo?(ba=Lo,ht+=7):(ba=xe,Jt===0&&zn(Xo)),ba!==xe?(ia=Hi(),ia!==xe?(No=Ra(),No!==xe?(ba=[ba,ia,No],Vn=ba):(ht=Vn,Vn=xe)):(ht=Vn,Vn=xe)):(ht=Vn,Vn=xe),Vn===xe&&(Vn=null),Vn!==xe)if(ba=Hi(),ba!==xe){if(ia=[],No=na(),No!==xe)for(;No!==xe;)ia.push(No),No=na();else ia=xe;ia!==xe?(No=Hi(),No!==xe?(Ze.charCodeAt(ht)===125?(To=dn,ht++):(To=xe,Jt===0&&zn(In)),To!==xe?($n=ye,we=xi(rn,si,Vn,ia),ye=we):(ht=ye,ye=xe)):(ht=ye,ye=xe)):(ht=ye,ye=xe)}else ht=ye,ye=xe;else ht=ye,ye=xe;else ht=ye,ye=xe;else ht=ye,ye=xe;else ht=ye,ye=xe;else ht=ye,ye=xe;else ht=ye,ye=xe;else ht=ye,ye=xe;else ht=ye,ye=xe;else ht=ye,ye=xe;else ht=ye,ye=xe;else ht=ye,ye=xe;return ye}function Sa(){var ye,we,Ar,rn,xr,Jr,Dn,si,Vi,jn,Mn,Vn,ba,ia;if(ye=ht,Ze.charCodeAt(ht)===123?(we=pn,ht++):(we=xe,Jt===0&&zn(on)),we!==xe)if(Ar=Hi(),Ar!==xe)if(rn=os(),rn!==xe)if(xr=Hi(),xr!==xe)if(Ze.charCodeAt(ht)===44?(Jr=ea,ht++):(Jr=xe,Jt===0&&zn(Bs)),Jr!==xe)if(Dn=Hi(),Dn!==xe)if(Ze.substr(ht,6)===_i?(si=_i,ht+=6):(si=xe,Jt===0&&zn(as)),si!==xe)if(Vi=Hi(),Vi!==xe)if(Ze.charCodeAt(ht)===44?(jn=ea,ht++):(jn=xe,Jt===0&&zn(Bs)),jn!==xe)if(Mn=Hi(),Mn!==xe){if(Vn=[],ba=Gs(),ba!==xe)for(;ba!==xe;)Vn.push(ba),ba=Gs();else Vn=xe;Vn!==xe?(ba=Hi(),ba!==xe?(Ze.charCodeAt(ht)===125?(ia=dn,ht++):(ia=xe,Jt===0&&zn(In)),ia!==xe?($n=ye,we=ds(rn,Vn),ye=we):(ht=ye,ye=xe)):(ht=ye,ye=xe)):(ht=ye,ye=xe)}else ht=ye,ye=xe;else ht=ye,ye=xe;else ht=ye,ye=xe;else ht=ye,ye=xe;else ht=ye,ye=xe;else ht=ye,ye=xe;else ht=ye,ye=xe;else ht=ye,ye=xe;else ht=ye,ye=xe;else ht=ye,ye=xe;return ye}function bo(){var ye,we,Ar,rn;return ye=ht,we=ht,Ze.charCodeAt(ht)===61?(Ar=ss,ht++):(Ar=xe,Jt===0&&zn(go)),Ar!==xe?(rn=Ra(),rn!==xe?(Ar=[Ar,rn],we=Ar):(ht=we,we=xe)):(ht=we,we=xe),we!==xe?ye=Ze.substring(ye,ht):ye=we,ye===xe&&(ye=ks()),ye}function Gs(){var ye,we,Ar,rn,xr,Jr,Dn,si;return ye=ht,we=Hi(),we!==xe?(Ar=ks(),Ar!==xe?(rn=Hi(),rn!==xe?(Ze.charCodeAt(ht)===123?(xr=pn,ht++):(xr=xe,Jt===0&&zn(on)),xr!==xe?($n=ht,Jr=Ho(Ar),Jr?Jr=void 0:Jr=xe,Jr!==xe?(Dn=Qe(),Dn!==xe?(Ze.charCodeAt(ht)===125?(si=dn,ht++):(si=xe,Jt===0&&zn(In)),si!==xe?($n=ye,we=du(Ar,Dn),ye=we):(ht=ye,ye=xe)):(ht=ye,ye=xe)):(ht=ye,ye=xe)):(ht=ye,ye=xe)):(ht=ye,ye=xe)):(ht=ye,ye=xe)):(ht=ye,ye=xe),ye}function na(){var ye,we,Ar,rn,xr,Jr,Dn,si;return ye=ht,we=Hi(),we!==xe?(Ar=bo(),Ar!==xe?(rn=Hi(),rn!==xe?(Ze.charCodeAt(ht)===123?(xr=pn,ht++):(xr=xe,Jt===0&&zn(on)),xr!==xe?($n=ht,Jr=Ls(Ar),Jr?Jr=void 0:Jr=xe,Jr!==xe?(Dn=Qe(),Dn!==xe?(Ze.charCodeAt(ht)===125?(si=dn,ht++):(si=xe,Jt===0&&zn(In)),si!==xe?($n=ye,we=tu(Ar,Dn),ye=we):(ht=ye,ye=xe)):(ht=ye,ye=xe)):(ht=ye,ye=xe)):(ht=ye,ye=xe)):(ht=ye,ye=xe)):(ht=ye,ye=xe)):(ht=ye,ye=xe),ye}function Qa(){var ye,we;return Jt++,Iu.test(Ze.charAt(ht))?(ye=Ze.charAt(ht),ht++):(ye=xe,Jt===0&&zn(Mo)),Jt--,ye===xe&&(we=xe,Jt===0&&zn(hu)),ye}function pa(){var ye,we;return Jt++,Fo.test(Ze.charAt(ht))?(ye=Ze.charAt(ht),ht++):(ye=xe,Jt===0&&zn(_o)),Jt--,ye===xe&&(we=xe,Jt===0&&zn(Ju)),ye}function Hi(){var ye,we,Ar;for(Jt++,ye=ht,we=[],Ar=Qa();Ar!==xe;)we.push(Ar),Ar=Qa();return we!==xe?ye=Ze.substring(ye,ht):ye=we,Jt--,ye===xe&&(we=xe,Jt===0&&zn(gu)),ye}function Ra(){var ye,we,Ar;return Jt++,ye=ht,Ze.charCodeAt(ht)===45?(we=Oo,ht++):(we=xe,Jt===0&&zn(Bo)),we===xe&&(we=null),we!==xe?(Ar=_s(),Ar!==xe?($n=ye,we=Du(we,Ar),ye=we):(ht=ye,ye=xe)):(ht=ye,ye=xe),Jt--,ye===xe&&(we=xe,Jt===0&&zn(Bu)),ye}function qa(){var ye,we;return Jt++,Ze.charCodeAt(ht)===39?(ye=is,ht++):(ye=xe,Jt===0&&zn(mo)),Jt--,ye===xe&&(we=xe,Jt===0&&zn(Qo)),ye}function hs(){var ye,we;return Jt++,ye=ht,Ze.substr(ht,2)===Ds?(we=Ds,ht+=2):(we=xe,Jt===0&&zn(Wo)),we!==xe&&($n=ye,we=Nu()),ye=we,Jt--,ye===xe&&(we=xe,Jt===0&&zn(ru)),ye}function xo(){var ye,we,Ar,rn,xr,Jr;if(ye=ht,Ze.charCodeAt(ht)===39?(we=is,ht++):(we=xe,Jt===0&&zn(mo)),we!==xe)if(Ar=ko(),Ar!==xe){for(rn=ht,xr=[],Ze.substr(ht,2)===Ds?(Jr=Ds,ht+=2):(Jr=xe,Jt===0&&zn(Wo)),Jr===xe&&(Nn.test(Ze.charAt(ht))?(Jr=Ze.charAt(ht),ht++):(Jr=xe,Jt===0&&zn(ts)));Jr!==xe;)xr.push(Jr),Ze.substr(ht,2)===Ds?(Jr=Ds,ht+=2):(Jr=xe,Jt===0&&zn(Wo)),Jr===xe&&(Nn.test(Ze.charAt(ht))?(Jr=Ze.charAt(ht),ht++):(Jr=xe,Jt===0&&zn(ts)));xr!==xe?rn=Ze.substring(rn,ht):rn=xr,rn!==xe?(Ze.charCodeAt(ht)===39?(xr=is,ht++):(xr=xe,Jt===0&&zn(mo)),xr===xe&&(xr=null),xr!==xe?($n=ye,we=qt(Ar,rn),ye=we):(ht=ye,ye=xe)):(ht=ye,ye=xe)}else ht=ye,ye=xe;else ht=ye,ye=xe;return ye}function ps(){var ye,we,Ar,rn;return ye=ht,we=ht,Ze.length>ht?(Ar=Ze.charAt(ht),ht++):(Ar=xe,Jt===0&&zn(pi)),Ar!==xe?($n=ht,rn=_r(Ar),rn?rn=void 0:rn=xe,rn!==xe?(Ar=[Ar,rn],we=Ar):(ht=we,we=xe)):(ht=we,we=xe),we===xe&&(Ze.charCodeAt(ht)===10?(we=or,ht++):(we=xe,Jt===0&&zn(mr))),we!==xe?ye=Ze.substring(ye,ht):ye=we,ye}function ko(){var ye,we,Ar,rn;return ye=ht,we=ht,Ze.length>ht?(Ar=Ze.charAt(ht),ht++):(Ar=xe,Jt===0&&zn(pi)),Ar!==xe?($n=ht,rn=Tr(Ar),rn?rn=void 0:rn=xe,rn!==xe?(Ar=[Ar,rn],we=Ar):(ht=we,we=xe)):(ht=we,we=xe),we!==xe?ye=Ze.substring(ye,ht):ye=we,ye}function os(){var ye,we;return Jt++,ye=ht,we=_s(),we===xe&&(we=ks()),we!==xe?ye=Ze.substring(ye,ht):ye=we,Jt--,ye===xe&&(we=xe,Jt===0&&zn(gn)),ye}function _s(){var ye,we,Ar,rn,xr;if(Jt++,ye=ht,Ze.charCodeAt(ht)===48?(we=kn,ht++):(we=xe,Jt===0&&zn(Hn)),we!==xe&&($n=ye,we=li()),ye=we,ye===xe){if(ye=ht,we=ht,oi.test(Ze.charAt(ht))?(Ar=Ze.charAt(ht),ht++):(Ar=xe,Jt===0&&zn(hr)),Ar!==xe){for(rn=[],Br.test(Ze.charAt(ht))?(xr=Ze.charAt(ht),ht++):(xr=xe,Jt===0&&zn(Rr));xr!==xe;)rn.push(xr),Br.test(Ze.charAt(ht))?(xr=Ze.charAt(ht),ht++):(xr=xe,Jt===0&&zn(Rr));rn!==xe?(Ar=[Ar,rn],we=Ar):(ht=we,we=xe)}else ht=we,we=xe;we!==xe&&($n=ye,we=Cn(we)),ye=we}return Jt--,ye===xe&&(we=xe,Jt===0&&zn(Zn)),ye}function ks(){var ye,we,Ar,rn,xr;if(Jt++,ye=ht,we=[],Ar=ht,rn=ht,Jt++,xr=Qa(),xr===xe&&(xr=pa()),Jt--,xr===xe?rn=void 0:(ht=rn,rn=xe),rn!==xe?(Ze.length>ht?(xr=Ze.charAt(ht),ht++):(xr=xe,Jt===0&&zn(pi)),xr!==xe?(rn=[rn,xr],Ar=rn):(ht=Ar,Ar=xe)):(ht=Ar,Ar=xe),Ar!==xe)for(;Ar!==xe;)we.push(Ar),Ar=ht,rn=ht,Jt++,xr=Qa(),xr===xe&&(xr=pa()),Jt--,xr===xe?rn=void 0:(ht=rn,rn=xe),rn!==xe?(Ze.length>ht?(xr=Ze.charAt(ht),ht++):(xr=xe,Jt===0&&zn(pi)),xr!==xe?(rn=[rn,xr],Ar=rn):(ht=Ar,Ar=xe)):(ht=Ar,Ar=xe);else we=xe;return we!==xe?ye=Ze.substring(ye,ht):ye=we,Jt--,ye===xe&&(we=xe,Jt===0&&zn(Tn)),ye}var ga=["root"];function us(){return ga.length>1}function $s(){return ga[ga.length-1]==="plural"}function La(){return qe&&qe.captureLocation?{location:Ta()}:{}}if(oa=ar(),oa!==xe&&ht===Ze.length)return oa;throw oa!==xe&&ht<Ze.length&&zn(Ms()),uo(ta,Li<Ze.length?Ze.charAt(Li):null,Li<Ze.length?yo(Li,Li+1):yo(Li,Li))}var q=oe,J=function(){for(var Ze=0,qe=0,xe=arguments.length;qe<xe;qe++)Ze+=arguments[qe].length;for(var at=Array(Ze),ar=0,qe=0;qe<xe;qe++)for(var Er=arguments[qe],kr=0,Ir=Er.length;kr<Ir;kr++,ar++)at[ar]=Er[kr];return at},V=/(^|[^\\])#/g;function se(Ze){Ze.forEach(function(qe){!P(qe)&&!A(qe)||Object.keys(qe.options).forEach(function(xe){for(var at,ar=qe.options[xe],Er=-1,kr=void 0,Ir=0;Ir<ar.value.length;Ir++){var jr=ar.value[Ir];if(_(jr)&&V.test(jr.value)){Er=Ir,kr=jr;break}}if(kr){var wn=kr.value.replace(V,"$1{"+qe.value+", number}"),Sr=q(wn);(at=ar.value).splice.apply(at,J([Er,1],Sr))}se(ar.value)})})}function ee(Ze,qe){var xe=q(Ze,qe);return(!qe||qe.normalizeHashtagInPlural!==!1)&&se(xe),xe}var Q=function(){for(var Ze=0,qe=0,xe=arguments.length;qe<xe;qe++)Ze+=arguments[qe].length;for(var at=Array(Ze),ar=0,qe=0;qe<xe;qe++)for(var Er=arguments[qe],kr=0,Ir=Er.length;kr<Ir;kr++,ar++)at[ar]=Er[kr];return at};function ue(Ze){return JSON.stringify(Ze.map(function(qe){return qe&&typeof qe=="object"?U(qe):qe}))}function U(Ze){return Object.keys(Ze).sort().map(function(qe){var xe;return xe={},xe[qe]=Ze[qe],xe})}var $=function(Ze,qe){return qe===void 0&&(qe={}),function(){for(var xe,at=[],ar=0;ar<arguments.length;ar++)at[ar]=arguments[ar];var Er=ue(at),kr=Er&&qe[Er];return kr||(kr=new((xe=Ze).bind.apply(xe,Q([void 0],at))),Er&&(qe[Er]=kr)),kr}},ie=$,_e=function(){return _e=Object.assign||function(Ze){for(var qe,xe=1,at=arguments.length;xe<at;xe++){qe=arguments[xe];for(var ar in qe)Object.prototype.hasOwnProperty.call(qe,ar)&&(Ze[ar]=qe[ar])}return Ze},_e.apply(this,arguments)},Pe=/(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;function De(Ze){var qe={};return Ze.replace(Pe,function(xe){var at=xe.length;switch(xe[0]){case"G":qe.era=at===4?"long":at===5?"narrow":"short";break;case"y":qe.year=at===2?"2-digit":"numeric";break;case"Y":case"u":case"U":case"r":throw new RangeError("`Y/u/U/r` (year) patterns are not supported, use `y` instead");case"q":case"Q":throw new RangeError("`q/Q` (quarter) patterns are not supported");case"M":case"L":qe.month=["numeric","2-digit","short","long","narrow"][at-1];break;case"w":case"W":throw new RangeError("`w/W` (week) patterns are not supported");case"d":qe.day=["numeric","2-digit"][at-1];break;case"D":case"F":case"g":throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");case"E":qe.weekday=at===4?"short":at===5?"narrow":"short";break;case"e":if(at<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");qe.weekday=["short","long","narrow","short"][at-4];break;case"c":if(at<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");qe.weekday=["short","long","narrow","short"][at-4];break;case"a":qe.hour12=!0;break;case"b":case"B":throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":qe.hourCycle="h12",qe.hour=["numeric","2-digit"][at-1];break;case"H":qe.hourCycle="h23",qe.hour=["numeric","2-digit"][at-1];break;case"K":qe.hourCycle="h11",qe.hour=["numeric","2-digit"][at-1];break;case"k":qe.hourCycle="h24",qe.hour=["numeric","2-digit"][at-1];break;case"j":case"J":case"C":throw new RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");case"m":qe.minute=["numeric","2-digit"][at-1];break;case"s":qe.second=["numeric","2-digit"][at-1];break;case"S":case"A":throw new RangeError("`S/A` (second) pattenrs are not supported, use `s` instead");case"z":qe.timeZoneName=at<4?"short":"long";break;case"Z":case"O":case"v":case"V":case"X":case"x":throw new RangeError("`Z/O/v/V/X/x` (timeZone) pattenrs are not supported, use `z` instead")}return""}),qe}function He(Ze){return Ze.replace(/^(.*?)-/,"")}var Ne=/^\.(?:(0+)(\+|#+)?)?$/g,Ft=/^(@+)?(\+|#+)?$/g;function gt(Ze){var qe={};return Ze.replace(Ft,function(xe,at,ar){return typeof ar!="string"?(qe.minimumSignificantDigits=at.length,qe.maximumSignificantDigits=at.length):ar==="+"?qe.minimumSignificantDigits=at.length:at[0]==="#"?qe.maximumSignificantDigits=at.length:(qe.minimumSignificantDigits=at.length,qe.maximumSignificantDigits=at.length+(typeof ar=="string"?ar.length:0)),""}),qe}function Dt(Ze){switch(Ze){case"sign-auto":return{signDisplay:"auto"};case"sign-accounting":return{currencySign:"accounting"};case"sign-always":return{signDisplay:"always"};case"sign-accounting-always":return{signDisplay:"always",currencySign:"accounting"};case"sign-except-zero":return{signDisplay:"exceptZero"};case"sign-accounting-except-zero":return{signDisplay:"exceptZero",currencySign:"accounting"};case"sign-never":return{signDisplay:"never"}}}function rr(Ze){var qe={},xe=Dt(Ze);return xe||qe}function Xt(Ze){for(var qe={},xe=0,at=Ze;xe<at.length;xe++){var ar=at[xe];switch(ar.stem){case"percent":qe.style="percent";continue;case"currency":qe.style="currency",qe.currency=ar.options[0];continue;case"group-off":qe.useGrouping=!1;continue;case"precision-integer":qe.maximumFractionDigits=0;continue;case"measure-unit":qe.style="unit",qe.unit=He(ar.options[0]);continue;case"compact-short":qe.notation="compact",qe.compactDisplay="short";continue;case"compact-long":qe.notation="compact",qe.compactDisplay="long";continue;case"scientific":qe=_e(_e(_e({},qe),{notation:"scientific"}),ar.options.reduce(function(kr,Ir){return _e(_e({},kr),rr(Ir))},{}));continue;case"engineering":qe=_e(_e(_e({},qe),{notation:"engineering"}),ar.options.reduce(function(kr,Ir){return _e(_e({},kr),rr(Ir))},{}));continue;case"notation-simple":qe.notation="standard";continue;case"unit-width-narrow":qe.currencyDisplay="narrowSymbol",qe.unitDisplay="narrow";continue;case"unit-width-short":qe.currencyDisplay="code",qe.unitDisplay="short";continue;case"unit-width-full-name":qe.currencyDisplay="name",qe.unitDisplay="long";continue;case"unit-width-iso-code":qe.currencyDisplay="symbol";continue}if(Ne.test(ar.stem)){if(ar.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");ar.stem.replace(Ne,function(kr,Ir,jr){return kr==="."?qe.maximumFractionDigits=0:jr==="+"?qe.minimumFractionDigits=jr.length:Ir[0]==="#"?qe.maximumFractionDigits=Ir.length:(qe.minimumFractionDigits=Ir.length,qe.maximumFractionDigits=Ir.length+(typeof jr=="string"?jr.length:0)),""}),ar.options.length&&(qe=_e(_e({},qe),gt(ar.options[0])));continue}if(Ft.test(ar.stem)){qe=_e(_e({},qe),gt(ar.stem));continue}var Er=Dt(ar.stem);Er&&(qe=_e(_e({},qe),Er))}return qe}var fr=function(){var Ze=function(qe,xe){return Ze=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(at,ar){at.__proto__=ar}||function(at,ar){for(var Er in ar)ar.hasOwnProperty(Er)&&(at[Er]=ar[Er])},Ze(qe,xe)};return function(qe,xe){Ze(qe,xe);function at(){this.constructor=qe}qe.prototype=xe===null?Object.create(xe):(at.prototype=xe.prototype,new at)}}(),Ge=function(){for(var Ze=0,qe=0,xe=arguments.length;qe<xe;qe++)Ze+=arguments[qe].length;for(var at=Array(Ze),ar=0,qe=0;qe<xe;qe++)for(var Er=arguments[qe],kr=0,Ir=Er.length;kr<Ir;kr++,ar++)at[ar]=Er[kr];return at},Tt=function(Ze){fr(qe,Ze);function qe(xe,at){var ar=Ze.call(this,xe)||this;return ar.variableId=at,ar}return qe}(Error);function zt(Ze){return Ze.length<2?Ze:Ze.reduce(function(qe,xe){var at=qe[qe.length-1];return!at||at.type!==0||xe.type!==0?qe.push(xe):at.value+=xe.value,qe},[])}function nt(Ze,qe,xe,at,ar,Er,kr){if(Ze.length===1&&_(Ze[0]))return[{type:0,value:Ze[0].value}];for(var Ir=[],jr=0,wn=Ze;jr<wn.length;jr++){var Sr=wn[jr];if(_(Sr)){Ir.push({type:0,value:Sr.value});continue}if(M(Sr)){typeof Er=="number"&&Ir.push({type:0,value:xe.getNumberFormat(qe).format(Er)});continue}var pn=Sr.value;if(!(ar&&pn in ar))throw new Tt('The intl string context variable "'+pn+'" was not provided to the string "'+kr+'"');var on=ar[pn];if(b(Sr)){(!on||typeof on=="string"||typeof on=="number")&&(on=typeof on=="string"||typeof on=="number"?String(on):""),Ir.push({type:1,value:on});continue}if(k(Sr)){var dn=typeof Sr.style=="string"?at.date[Sr.style]:void 0;Ir.push({type:0,value:xe.getDateTimeFormat(qe,dn).format(on)});continue}if(R(Sr)){var dn=typeof Sr.style=="string"?at.time[Sr.style]:N(Sr.style)?De(Sr.style.pattern):void 0;Ir.push({type:0,value:xe.getDateTimeFormat(qe,dn).format(on)});continue}if(S(Sr)){var dn=typeof Sr.style=="string"?at.number[Sr.style]:B(Sr.style)?Xt(Sr.style.tokens):void 0;Ir.push({type:0,value:xe.getNumberFormat(qe,dn).format(on)});continue}if(A(Sr)){var In=Sr.options[on]||Sr.options.other;if(!In)throw new RangeError('Invalid values for "'+Sr.value+'": "'+on+'". Options are "'+Object.keys(Sr.options).join('", "')+'"');Ir.push.apply(Ir,nt(In.value,qe,xe,at,ar));continue}if(P(Sr)){var In=Sr.options["="+on];if(!In){if(!Intl.PluralRules)throw new Tt(`Intl.PluralRules is not available in this environment.
|
|
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
|
`);var Ia=xe.getPluralRules(qe,{type:Sr.pluralType}).select(on-(Sr.offset||0));In=Sr.options[Ia]||Sr.options.other}if(!In)throw new RangeError('Invalid values for "'+Sr.value+'": "'+on+'". Options are "'+Object.keys(Sr.options).join('", "')+'"');Ir.push.apply(Ir,nt(In.value,qe,xe,at,ar,on-(Sr.offset||0)));continue}}return zt(Ir)}function bt(Ze,qe,xe,at,ar,Er){var kr=nt(Ze,qe,xe,at,ar,void 0,Er);return kr.length===1?kr[0].value:kr.reduce(function(Ir,jr){return Ir+=jr.value},"")}var dt,et="@@",ze=/@@(\d+_\d+)@@/g,ge=0;function Se(){return Date.now()+"_"+ ++ge}function Le(Ze,qe){return Ze.split(ze).filter(Boolean).map(function(xe){return qe[xe]!=null?qe[xe]:xe}).reduce(function(xe,at){return xe.length&&typeof at=="string"&&typeof xe[xe.length-1]=="string"?xe[xe.length-1]+=at:xe.push(at),xe},[])}var $e=/(<([0-9a-zA-Z-_]*?)>(.*?)<\/([0-9a-zA-Z-_]*?)>)|(<[0-9a-zA-Z-_]*?\/>)/,We=Date.now()+"@@",rt=["area","base","br","col","embed","hr","img","input","link","meta","param","source","track","wbr"];function ot(Ze,qe,xe){var at=Ze.tagName,ar=Ze.outerHTML,Er=Ze.textContent,kr=Ze.childNodes;if(!at)return Le(Er||"",qe);at=at.toLowerCase();var Ir=~rt.indexOf(at),jr=xe[at];if(jr&&Ir)throw new Tt(at+" is a self-closing tag and can not be used, please use another tag name.");if(!kr.length)return[ar];var wn=Array.prototype.slice.call(kr).reduce(function(Sr,pn){return Sr.concat(ot(pn,qe,xe))},[]);return jr?typeof jr=="function"?[jr.apply(void 0,wn)]:[jr]:Ge(["<"+at+">"],wn,["</"+at+">"])}function Kt(Ze,qe,xe,at,ar,Er){var kr=nt(Ze,qe,xe,at,ar,void 0,Er),Ir={},jr=kr.reduce(function(on,dn){if(dn.type===0)return on+=dn.value;var In=Se();return Ir[In]=dn.value,on+=""+et+In+et},"");if(!$e.test(jr))return Le(jr,Ir);if(!ar)throw new Tt("Message has placeholders but no values was given");if(typeof DOMParser=="undefined")throw new Tt("Cannot format XML message without DOMParser");dt||(dt=new DOMParser);var wn=dt.parseFromString('<formatted-message id="'+We+'">'+jr+"</formatted-message>","text/html").getElementById(We);if(!wn)throw new Tt("Malformed HTML message "+jr);var Sr=Object.keys(ar).filter(function(on){return!!wn.getElementsByTagName(on).length});if(!Sr.length)return Le(jr,Ir);var pn=Sr.filter(function(on){return on!==on.toLowerCase()});if(pn.length)throw new Tt("HTML tag must be lowercased but the following tags are not: "+pn.join(", "));return Array.prototype.slice.call(wn.childNodes).reduce(function(on,dn){return on.concat(ot(dn,Ir,ar))},[])}var Wt=function(){return Wt=Object.assign||function(Ze){for(var qe,xe=1,at=arguments.length;xe<at;xe++){qe=arguments[xe];for(var ar in qe)Object.prototype.hasOwnProperty.call(qe,ar)&&(Ze[ar]=qe[ar])}return Ze},Wt.apply(this,arguments)};function Ce(Ze,qe){return qe?Wt(Wt(Wt({},Ze||{}),qe||{}),Object.keys(Ze).reduce(function(xe,at){return xe[at]=Wt(Wt({},Ze[at]),qe[at]||{}),xe},{})):Ze}function Je(Ze,qe){return qe?Object.keys(Ze).reduce(function(xe,at){return xe[at]=Ce(Ze[at],qe[at]),xe},Wt({},Ze)):Ze}function Yt(Ze){return Ze===void 0&&(Ze={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:ie(Intl.NumberFormat,Ze.number),getDateTimeFormat:ie(Intl.DateTimeFormat,Ze.dateTime),getPluralRules:ie(Intl.PluralRules,Ze.pluralRules)}}var kt=function(){function Ze(qe,xe,at,ar){var Er=this;if(xe===void 0&&(xe=Ze.defaultLocale),this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(kr){return bt(Er.ast,Er.locales,Er.formatters,Er.formats,kr,Er.message)},this.formatToParts=function(kr){return nt(Er.ast,Er.locales,Er.formatters,Er.formats,kr,void 0,Er.message)},this.formatHTMLMessage=function(kr){return Kt(Er.ast,Er.locales,Er.formatters,Er.formats,kr,Er.message)},this.resolvedOptions=function(){return{locale:Intl.NumberFormat.supportedLocalesOf(Er.locales)[0]}},this.getAst=function(){return Er.ast},typeof qe=="string"){if(this.message=qe,!Ze.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");this.ast=Ze.__parse(qe,{normalizeHashtagInPlural:!1})}else this.ast=qe;if(!Array.isArray(this.ast))throw new TypeError("A message must be provided as a String or AST.");this.formats=Je(Ze.formats,at),this.locales=xe,this.formatters=ar&&ar.formatters||Yt(this.formatterCache)}return Ze.defaultLocale=new Intl.NumberFormat().resolvedOptions().locale,Ze.__parse=ee,Ze.formats={number:{currency:{style:"currency"},percent:{style:"percent"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}},Ze}(),Ht=kt,$t=Ht;function tr(Ze,qe,xe){if(xe===void 0&&(xe=Error),!Ze)throw new xe(qe)}const Gt={38:"&",62:">",60:"<",34:""",39:"'"},Me=/[&><"']/g;function ce(Ze){return(""+Ze).replace(Me,qe=>Gt[qe.charCodeAt(0)])}function he(Ze,qe,xe={}){return qe.reduce((at,ar)=>(ar in Ze?at[ar]=Ze[ar]:ar in xe&&(at[ar]=xe[ar]),at),{})}function Pt(Ze){tr(Ze,"[React Intl] Could not find required `intl` object. <IntlProvider> needs to exist in the component ancestry.")}function Te(Ze,qe){const xe=qe?`
|
|
|
${qe.stack}`:"";return`[React Intl] ${Ze}${xe}`}function ct(Ze){}const Zt={formats:{},messages:{},timeZone:void 0,textComponent:r.Fragment,defaultLocale:"en",defaultFormats:{},onError:ct};function wt(){return{dateTime:{},number:{},message:{},relativeTime:{},pluralRules:{},list:{},displayNames:{}}}function Ie(Ze=wt()){const qe=Intl.RelativeTimeFormat,xe=Intl.ListFormat,at=Intl.DisplayNames;return{getDateTimeFormat:ie(Intl.DateTimeFormat,Ze.dateTime),getNumberFormat:ie(Intl.NumberFormat,Ze.number),getMessageFormat:ie($t,Ze.message),getRelativeTimeFormat:ie(qe,Ze.relativeTime),getPluralRules:ie(Intl.PluralRules,Ze.pluralRules),getListFormat:ie(xe,Ze.list),getDisplayNames:ie(at,Ze.displayNames)}}function xt(Ze,qe,xe,at){const ar=Ze&&Ze[qe];let Er;if(ar&&(Er=ar[xe]),Er)return Er;at(Te(`No ${qe} format named: ${xe}`))}const be=["localeMatcher","style","currency","currencyDisplay","unit","unitDisplay","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","currencyDisplay","currencySign","notation","signDisplay","unit","unitDisplay"];function Ye({locale:Ze,formats:qe,onError:xe},at,ar={}){const{format:Er}=ar,kr=Er&&xt(qe,"number",Er,xe)||{},Ir=he(ar,be,kr);return at(Ze,Ir)}function mt(Ze,qe,xe,at={}){try{return Ye(Ze,qe,at).format(xe)}catch(ar){Ze.onError(Te("Error formatting number.",ar))}return String(xe)}function Lt(Ze,qe,xe,at={}){try{return Ye(Ze,qe,at).formatToParts(xe)}catch(ar){Ze.onError(Te("Error formatting number.",ar))}return[]}const Fe=["numeric","style"];function Or({locale:Ze,formats:qe,onError:xe},at,ar={}){const{format:Er}=ar,kr=!!Er&&xt(qe,"relative",Er,xe)||{},Ir=he(ar,Fe,kr);return at(Ze,Ir)}function St(Ze,qe,xe,at,ar={}){at||(at="second"),Intl.RelativeTimeFormat||Ze.onError(Te(`Intl.RelativeTimeFormat is not available in this environment.
|
|
|
Try polyfilling it using "@formatjs/intl-relativetimeformat"
|
|
|
`));try{return Or(Ze,qe,ar).format(xe,at)}catch(kr){Ze.onError(Te("Error formatting relative time.",kr))}return String(xe)}const Vr=["localeMatcher","formatMatcher","timeZone","hour12","weekday","era","year","month","day","hour","minute","second","timeZoneName"];function tn({locale:Ze,formats:qe,onError:xe,timeZone:at},ar,Er,kr={}){const{format:Ir}=kr,jr=Object.assign(Object.assign({},at&&{timeZone:at}),Ir&&xt(qe,ar,Ir,xe));let wn=he(kr,Vr,jr);return ar==="time"&&!wn.hour&&!wn.minute&&!wn.second&&(wn=Object.assign(Object.assign({},wn),{hour:"numeric",minute:"numeric"})),Er(Ze,wn)}function wr(Ze,qe,xe,at={}){const ar=typeof xe=="string"?new Date(xe||0):xe;try{return tn(Ze,"date",qe,at).format(ar)}catch(Er){Ze.onError(Te("Error formatting date.",Er))}return String(ar)}function Nr(Ze,qe,xe,at={}){const ar=typeof xe=="string"?new Date(xe||0):xe;try{return tn(Ze,"time",qe,at).format(ar)}catch(Er){Ze.onError(Te("Error formatting time.",Er))}return String(ar)}function gr(Ze,qe,xe,at={}){const ar=typeof xe=="string"?new Date(xe||0):xe;try{return tn(Ze,"date",qe,at).formatToParts(ar)}catch(Er){Ze.onError(Te("Error formatting date.",Er))}return[]}function Ur(Ze,qe,xe,at={}){const ar=typeof xe=="string"?new Date(xe||0):xe;try{return tn(Ze,"time",qe,at).formatToParts(ar)}catch(Er){Ze.onError(Te("Error formatting time.",Er))}return[]}const cn=["localeMatcher","type"];function hn({locale:Ze,onError:qe},xe,at,ar={}){Intl.PluralRules||qe(Te(`Intl.PluralRules is not available in this environment.
|
|
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
|
`));const Er=he(ar,cn);try{return xe(Ze,Er).select(at)}catch(kr){qe(Te("Error formatting plural.",kr))}return"other"}function ur(Ze,qe){return Object.keys(Ze).reduce((xe,at)=>(xe[at]=Object.assign({timeZone:qe},Ze[at]),xe),{})}function Rt(Ze,qe){return Object.keys(Object.assign(Object.assign({},Ze),qe)).reduce((at,ar)=>(at[ar]=Object.assign(Object.assign({},Ze[ar]||{}),qe[ar]||{}),at),{})}function _t(Ze,qe){if(!qe)return Ze;const xe=$t.formats;return Object.assign(Object.assign(Object.assign({},xe),Ze),{date:Rt(ur(xe.date,qe),ur(Ze.date||{},qe)),time:Rt(ur(xe.time,qe),ur(Ze.time||{},qe))})}const vt=Ze=>r.createElement(r.Fragment,null,...Ze);function jt({locale:Ze,formats:qe,messages:xe,defaultLocale:at,defaultFormats:ar,onError:Er,timeZone:kr},Ir,jr={id:""},wn={}){const{id:Sr,defaultMessage:pn}=jr;tr(!!Sr,"[React Intl] An `id` must be provided to format a message.");const on=xe&&xe[String(Sr)];qe=_t(qe,kr),ar=_t(ar,kr);let dn=[];if(on)try{dn=Ir.getMessageFormat(on,Ze,qe,{formatters:Ir}).formatHTMLMessage(wn)}catch(In){Er(Te(`Error formatting message: "${Sr}" for locale: "${Ze}"`+(pn?", using default message as fallback.":""),In))}else(!pn||Ze&&Ze.toLowerCase()!==at.toLowerCase())&&Er(Te(`Missing message: "${Sr}" for locale: "${Ze}"`+(pn?", using default message as fallback.":"")));if(!dn.length&&pn)try{dn=Ir.getMessageFormat(pn,at,ar).formatHTMLMessage(wn)}catch(In){Er(Te(`Error formatting the default message for: "${Sr}"`,In))}return dn.length?dn.length===1&&typeof dn[0]=="string"?dn[0]||pn||String(Sr):vt(dn):(Er(Te(`Cannot format message: "${Sr}", using message ${on||pn?"source":"id"} as fallback.`)),typeof on=="string"?on||pn||String(Sr):pn||String(Sr))}function Cr(Ze,qe,xe={id:""},at={}){const ar=Object.keys(at).reduce((Er,kr)=>{const Ir=at[kr];return Er[kr]=typeof Ir=="string"?ce(Ir):Ir,Er},{});return jt(Ze,qe,xe,ar)}var yr=e(18947),nn=e.n(yr);const Kr=["localeMatcher","type","style"],Ln=Date.now();function At(Ze){return`${Ln}_${Ze}_${Ln}`}function cr({locale:Ze,onError:qe},xe,at,ar={}){Intl.ListFormat||qe(Te(`Intl.ListFormat is not available in this environment.
|
|
|
Try polyfilling it using "@formatjs/intl-listformat"
|
|
|
`));const kr=he(ar,Kr);try{const Ir={},jr=at.map((Sr,pn)=>{if(typeof Sr=="object"){const on=At(pn);return Ir[on]=Sr,on}return String(Sr)});return Object.keys(Ir).length?xe(Ze,kr).formatToParts(jr).reduce((Sr,pn)=>{const on=pn.value;return Ir[on]?Sr.push(Ir[on]):typeof Sr[Sr.length-1]=="string"?Sr[Sr.length-1]+=on:Sr.push(on),Sr},[]):xe(Ze,kr).format(jr)}catch(Ir){qe(Te("Error formatting list.",Ir))}return at}const Qr=["localeMatcher","style","type","fallback"];function yn({locale:Ze,onError:qe},xe,at,ar={}){Intl.DisplayNames||qe(Te(`Intl.DisplayNames is not available in this environment.
|
|
|
Try polyfilling it using "@formatjs/intl-displaynames"
|
|
|
`));const kr=he(ar,Qr);try{return xe(Ze,kr).of(at)}catch(Ir){qe(Te("Error formatting display name.",Ir))}}const Gn=nn()||yr;function fi(Ze){return{locale:Ze.locale,timeZone:Ze.timeZone,formats:Ze.formats,textComponent:Ze.textComponent,messages:Ze.messages,defaultLocale:Ze.defaultLocale,defaultFormats:Ze.defaultFormats,onError:Ze.onError}}function Xn(Ze,qe){const xe=Ie(qe),at=Object.assign(Object.assign({},Zt),Ze),{locale:ar,defaultLocale:Er,onError:kr}=at;return ar?!Intl.NumberFormat.supportedLocalesOf(ar).length&&kr?kr(Te(`Missing locale data for locale: "${ar}" in Intl.NumberFormat. Using default locale: "${Er}" as fallback. See https://github.com/formatjs/react-intl/blob/master/docs/Getting-Started.md#runtime-requirements for more details`)):!Intl.DateTimeFormat.supportedLocalesOf(ar).length&&kr&&kr(Te(`Missing locale data for locale: "${ar}" in Intl.DateTimeFormat. Using default locale: "${Er}" as fallback. See https://github.com/formatjs/react-intl/blob/master/docs/Getting-Started.md#runtime-requirements for more details`)):(kr&&kr(Te(`"locale" was not configured, using "${Er}" as fallback. See https://github.com/formatjs/react-intl/blob/master/docs/API.md#intlshape for more details`)),at.locale=at.defaultLocale||"en"),Object.assign(Object.assign({},at),{formatters:xe,formatNumber:mt.bind(null,at,xe.getNumberFormat),formatNumberToParts:Lt.bind(null,at,xe.getNumberFormat),formatRelativeTime:St.bind(null,at,xe.getRelativeTimeFormat),formatDate:wr.bind(null,at,xe.getDateTimeFormat),formatDateToParts:gr.bind(null,at,xe.getDateTimeFormat),formatTime:Nr.bind(null,at,xe.getDateTimeFormat),formatTimeToParts:Ur.bind(null,at,xe.getDateTimeFormat),formatPlural:hn.bind(null,at,xe.getPluralRules),formatMessage:jt.bind(null,at,xe),formatHTMLMessage:Cr.bind(null,at,xe),formatList:cr.bind(null,at,xe.getListFormat),formatDisplayName:yn.bind(null,at,xe.getDisplayNames)})}class Ki extends r.PureComponent{constructor(){super(...arguments),this.cache=wt(),this.state={cache:this.cache,intl:Xn(fi(this.props),this.cache),prevConfig:fi(this.props)}}static getDerivedStateFromProps(qe,{prevConfig:xe,cache:at}){const ar=fi(qe);return Gn(xe,ar)?null:{intl:Xn(ar,at),prevConfig:ar}}render(){return Pt(this.state.intl),r.createElement(a,{value:this.state.intl},this.props.children)}}Ki.displayName="IntlProvider",Ki.defaultProps=Zt;var hi=e(19964),bi=e(3424),Di=e.n(bi),wi=e(85239),fa=Object.getOwnPropertySymbols,ri=Object.prototype.hasOwnProperty,la=Object.prototype.propertyIsEnumerable,Et=(Ze,qe)=>{var xe={};for(var at in Ze)ri.call(Ze,at)&&qe.indexOf(at)<0&&(xe[at]=Ze[at]);if(Ze!=null&&fa)for(var at of fa(Ze))qe.indexOf(at)<0&&la.call(Ze,at)&&(xe[at]=Ze[at]);return xe};let it;const ni=!0,Oi=new(Di()),ii=Symbol("LANG_CHANGE"),sa=(Ze,qe="")=>Object.keys(Ze).reduce((xe,at)=>{const ar=Ze[at],Er=qe?`${qe}.${at}`:at;return typeof ar=="string"?xe[Er]=ar:Object.assign(xe,sa(ar,Er)),xe},{}),Ti={},ci=(Ze,qe,xe)=>{var at,ar,Er,kr;if(!Ze)return;const Ir=(at=Ti[Ze])!=null&&at.messages?Object.assign({},Ti[Ze].messages,qe):qe,{momentLocale:jr=(ar=Ti[Ze])==null?void 0:ar.momentLocale,antd:wn=(Er=Ti[Ze])==null?void 0:Er.antd}=xe||{},Sr=(kr=Ze.split("-"))==null?void 0:kr.join("-");Ti[Ze]={messages:Ir,locale:Sr,momentLocale:jr,antd:wn},Sr===Ot()&&Oi.emit(ii,Sr)},An=Ze=>(0,hi.We)().applyPlugins({key:"locale",type:"modify",initialValue:Ze}),er=Ze=>{const xe=An(Ti[Ze]),{cache:at}=xe,ar=Et(xe,["cache"]);return Xn(ar,at)},pt=(Ze,qe)=>it&&!qe&&!Ze?it:(Ze||(Ze=Ot()),Ze&&Ti[Ze]?er(Ze):Ti["zh-CN"]?er("zh-CN"):Xn({locale:"zh-CN",messages:{}})),tt=Ze=>{it=pt(Ze,!0)},Ot=()=>{const Ze=An({});return typeof(Ze==null?void 0:Ze.getLocale)=="function"?Ze.getLocale():(navigator.cookieEnabled&&typeof localStorage!="undefined"&&ni?window.localStorage.getItem("umi_locale"):"")||void 0||"zh-CN"},ft=()=>{const Ze=Ot();return["he","ar","fa","ku"].filter(at=>Ze.startsWith(at)).length?"rtl":"ltr"},lr=(Ze,qe=!0)=>{(()=>{if(Ot()!==Ze){if(navigator.cookieEnabled&&typeof window.localStorage!="undefined"&&ni&&window.localStorage.setItem("umi_locale",Ze||""),tt(Ze),qe)window.location.reload();else if(Oi.emit(ii,Ze),window.dispatchEvent){const at=new Event("languagechange");window.dispatchEvent(at)}}})()};let dr=!0;const Pr=(Ze,qe)=>(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),it||tt(Ot()),it.formatMessage(Ze,qe)),zr=()=>Object.keys(Ti)},15610: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(93490),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 H=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:()=>H.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 G=p.filter(H=>(0,c.t)(H));return!G||!G.length?a("IP\u83B7\u53D6\u5931\u8D25"):u(G.join(""))}let b=y.candidate.candidate.split(" "),[S,k,R,A,P,M,,B,...N]=b,K=["rtp","rtpc"];if(console.log("event:",y),p.some(G=>G==P)||p.push(P),console.log(" candidate: "+S.split(":")[1]),console.log(" component: "+K[k-1]),console.log(" protocol: "+R),console.log(" priority: "+A),console.log(" ip: "+P),console.log(" port: "+M),console.log(" type: "+B),N.length){console.log("attributes: ");for(let G=0;G<N.length;G+=2)console.log("> "+N[G]+": "+N[G+1])}}})},57884: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:P,Buttonclass:M,ButtonTwo:B,imgStyles:N,loading:K=!1})=>r.createElement("section",{className:"tc animated fadeIn",style:p(p({},{color:"#999",margin:"100px auto",visibility:K?"hidden":"visible"}),k)},r.createElement("img",{src:b||i,style:y(p({},N),{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:P},S),A),B&&B);v.Z=_},10825: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(67711),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(oe,q){return r.createElement(h.Z,(0,c.Z)({},oe,{ref:q,icon:o}))},a=r.forwardRef(u),x=a,p=e(51124),y=e(6848),_=e(49661),b=e(72664),S=e(57884),k=e(90524),R=e(14794),A=e(59301),P=Object.defineProperty,M=Object.getOwnPropertySymbols,B=Object.prototype.hasOwnProperty,N=Object.prototype.propertyIsEnumerable,K=(ne,oe,q)=>oe in ne?P(ne,oe,{enumerable:!0,configurable:!0,writable:!0,value:q}):ne[oe]=q,G=(ne,oe)=>{for(var q in oe||(oe={}))B.call(oe,q)&&K(ne,q,oe[q]);if(M)for(var q of M(oe))N.call(oe,q)&&K(ne,q,oe[q]);return ne},H=(ne,oe,q)=>new Promise((J,V)=>{var se=ue=>{try{Q(q.next(ue))}catch(U){V(U)}},ee=ue=>{try{Q(q.throw(ue))}catch(U){V(U)}},Q=ue=>ue.done?J(ue.value):Promise.resolve(ue.value).then(se,ee);Q((q=q.apply(ne,oe)).next())}),ae=({editOffice:ne="view",data:oe,theme:q,type:J,filename:V,monacoEditor:se,className:ee,style:Q,close:ue,onClose:U,hasMask:$,disabledDownload:ie,onImgDimensions:_e,showNodata:Pe,recordInfo:De})=>{const[He,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"),[Ft,gt]=(0,r.useState)(""),[Dt,rr]=(0,r.useState)(),Xt=window.ENV==="build"?"/react/build":"",fr=location.host.startsWith("localhost")?k.Z.PROXY_SERVER:k.Z.API_SERVER,Tt=10*(1024*1024),zt=(0,r.useRef)();oe!=null&&oe.startsWith("/api")&&J!=="txt"&&(oe=k.Z.API_SERVER+oe);const nt=ze=>ze.substring(ze.lastIndexOf("/")+1).split(".").pop();V&&se&&(se.filename=V),(0,r.useEffect)(()=>{var ze,ge;const Se=(ge=(ze=document.cookie)==null?void 0:ze.replace(/\s/g,""))==null?void 0:ge.split(";");Se==null||Se.map(Le=>{let $e=Le.split("=");$e[0]==="_educoder_session"&>($e[1])})},[]),(0,r.useEffect)(()=>{J==="office"&&(oe.indexOf("bigfilescdn.")>-1||oe.indexOf("bigfiles1")>-1?rr({url:oe,fileType:nt(oe),model:oe.indexOf("model=edit")?"edit":"view"}):bt())},[J,oe]);const bt=()=>H(void 0,null,function*(){console.log("data:",oe);let ze=oe;oe.startsWith("http")||(ze=location.origin+ze);let ge=new URL(ze).pathname.split("/").pop();const Se=yield(0,b.gJ)({attachment_id:ge});Se.url=fr+Se.url,rr(Se)}),dt=()=>{if(oe.startsWith("http")||oe.startsWith("blob:")){et();return}(0,_.Nd)(V||"educoder",decodeURIComponent(oe))},et=()=>{De&&(0,R.fc)({id:De==null?void 0:De.id,watch_type:1,course_id:De==null?void 0:De.course_id}),(0,_.Nd)(V||"educoder",decodeURIComponent(oe))};return console.log(oe,"data"),A.createElement("div",{style:G({},Q||{}),className:`${$&&i.bgBlack} ${J?i.wrp:"hide"}`},ue&&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:()=>{U(),_e()}},A.createElement("i",{className:"icon-yulanpizhu"}))),!ie&&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:U},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,G({},se)))),J==="audio"&&A.createElement("audio",{src:(oe==null?void 0:oe.indexOf("http"))>-1||oe!=null&&oe.startsWith("/api")?oe:`data:image/png;base64,${oe}`,autoPlay:!0}),J==="video"&&A.createElement(A.Fragment,null,(oe==null?void 0:oe.indexOf("http"))>-1||oe!=null&&oe.startsWith("/api")?A.createElement("video",{controls:!0,src:`${oe}`,autoPlay:!0}):A.createElement("video",{controls:!0,src:`data:video/mp4;base64,${oe}`,autoPlay:!0})),J==="office"&&Dt&&A.createElement("iframe",{src:`${Xt}/office.html?key=${Dt.key}&url=${btoa(Dt.url)}&callbackUrl=${fr+(Dt.callbackUrl||"")}&fileType=${Dt.fileType}&title=${Dt.title||""}&model=${ne}&officeServer=${k.Z.ONLYOFFICE}&disabledDownload=${!!ie}`}),J==="html"&&A.createElement("iframe",{src:oe+"&disposition=inline"}),J==="pdf"&&A.createElement("iframe",{src:`${Xt}/js/pdfview/index.html?filename=${V||"educoder.pdf"}&url=${encodeURIComponent(oe)}&disabledDownload=${!!ie}`}),J==="image"&&A.createElement("img",{src:(oe==null?void 0:oe.indexOf("http"))>-1||oe!=null&&oe.startsWith("/api")?oe:`data:image/png;base64,${oe}`}),(J==="other"||J==="download")&&A.createElement(A.Fragment,null,Pe?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:dt,disabled:ie},"\u4E0B\u8F7D")}):A.createElement(l.ZP,{type:"primary",size:"middle",onClick:dt,disabled:ie},A.createElement(x,null),"\u70B9\u51FB\u4E0B\u8F7D")))}},7664:function(d,v,e){"use strict";e.d(v,{z:function(){return G},Z:function(){return H}});var r=e(59301),i=e(88831),l=e(90290),c=e(64018),f=e(78666),o=e(90524),h=e(49661),u=e(15342),a=e(1012),x=e(10825),p=e(59301),_=({html:ae})=>{const ne=(0,r.useRef)(null),oe=(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=ne.current.attachShadow({mode:"open"});oe.current=document.createElement("div"),oe.current.className="markdown-body",oe.current.innerHTML=ae,J.appendChild(oe.current);const V=document.createElement("style");return V.textContent=q,J.appendChild(V),()=>{J.innerHTML=""}},[]),(0,r.useEffect)(()=>{oe.current&&(oe.current.innerHTML=ae)},[ae]),p.createElement("div",{ref:ne})},b=Object.defineProperty,S=Object.getOwnPropertySymbols,k=Object.prototype.hasOwnProperty,R=Object.prototype.propertyIsEnumerable,A=(ae,ne,oe)=>ne in ae?b(ae,ne,{enumerable:!0,configurable:!0,writable:!0,value:oe}):ae[ne]=oe,P=(ae,ne)=>{for(var oe in ne||(ne={}))k.call(ne,oe)&&A(ae,oe,ne[oe]);if(S)for(var oe of S(ne))R.call(ne,oe)&&A(ae,oe,ne[oe]);return ae};const M="@\u2581\u2581@",B="@\u2581@",N=/<pre[^>]*>/g;function K(ae){let ne=document.createElement("div");return ne.innerHTML=ae,ne.childNodes.length===0?"":ne.childNodes[0].nodeValue}const G=(ae,ne)=>{ae=ae||"";const oe=/(?: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,V=/(?:https?:\/\/[^\/]+)?\/attachments\/download\/([A-Za-z0-9+/=]+)(\?.*?)?\//g;return ne?ae.replaceAll("https://www.educoder.net","").replaceAll("https://www-cdn.educoder.net","").replaceAll("//api/attachments","/api/attachments").replace(oe,(se,ee,Q,ue,U,$,ie)=>{const _e=ee||ue||$,Pe=Q||U||ie||"?";return o.Z.API_SERVER+"/api/attachments/"+_e+Pe+"&t="+(0,h.Jn)(_e,Date.now())+(se.indexOf(")")>-1?")":"&")}).replaceAll('src="(','src="').replaceAll("src='(",'src="'):(ae=ae.replace(V,(se,ee,Q,ue,U,$,ie)=>{const _e=ee||ue||$,Pe=Q||U||ie||"?";return o.Z.API_SERVER+"/attachments/download/"+_e+Pe+"&t="+(0,h.Jn)(_e,Date.now())+(se.indexOf(")")>-1?")":"&")}).replace(oe,(se,ee,Q,ue,U,$,ie)=>{const _e=ee||ue||$,Pe=Q||U||ie||"?";return o.Z.API_SERVER+"/api/attachments/"+_e+Pe+"&t="+(0,h.Jn)(_e,Date.now())+(se.indexOf(")")>-1?")":"&")}).replace(q,(se,ee,Q,ue,U)=>{const $=ee||ue,ie=Q||U||"";return'"'+o.Z.API_SERVER+"/api/attachments/"+$+ie+$+ie+"&t="+(0,h.Jn)($,Date.now())}).replace(J,(se,ee,Q,ue,U)=>{const $=ee||ue,ie=Q||U||"";return"("+o.Z.API_SERVER+"/files/uploads/"+$+ie+$+ie+"&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 H=({value:ae="",className:ne,showTextOnly:oe,showLines:q,style:J={},stylesPrev:V={},highlightKeywords:se,showProgramFill:ee,isProgramFill:Q,disabledFill:ue=!1,programFillValue:U,onFillChange:$=Pe=>{},onFillBlur:ie=()=>{},onFillFocus:_e=()=>{}})=>{let Pe=String(ae);const[De,He]=(0,r.useState)(""),[Ne,Ft]=(0,r.useState)("office"),[gt,Dt]=(0,r.useState)([]),rr=(0,r.useRef)("a"+(0,a.Z)()),Xt={},fr=($e,We,rt)=>{const ot=document.createElement($e===B?"input":"textarea");ot.style.width="100%",ot.style.height=$e===B?"40px":"151px",ot.rows=5,ot.spellcheck=!1,ot.name="edu-program-fill",ot.placeholder="\u8BF7\u8F93\u5165",ot.dataset.id=We;const Kt=Object.keys(Xt).length;return Xt[Kt]=ot,`<span class="edu-program-fill-wrap ${$e===B?"":"show"}" style="width:${$e===B?"400px":"100%"}" title=${rt||""}><span>${ot.outerHTML}<span class="edu-program-fill-score" style="margin:0 6px"></span></span></span>`};function Ge($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 Tt=$e=>$e.replace(/<style.*?>([\s\S]+?)<\/style>/gim,function(We,rt){let ot=rt.replace(/(\n|\r)/g,"").split("}"),Kt=[];return ot.map(Wt=>{Wt!=""&&Kt.push(`.${rr.current} ${Wt}`)}),`<style>${Kt.join("}")}</style>`}),zt=(0,r.useMemo)(()=>{try{const ot=/\(\s+\/api\/attachments\/|\(\/api\/attachments\//g,Kt=/\"\/api\/attachments\/|\"\/attachments\/download\//g,Wt=/\(\s+\/files\/uploads\/|\"\/files\/uploads\//g,Ce=/\(\/attachments\/download\//g;Pe=Pe.replace(Ce,"("+o.Z.API_SERVER+"/attachments/download/").replace(ot,"("+o.Z.API_SERVER+"/api/attachments/").replace(Kt,'"'+o.Z.API_SERVER+"/api/attachments/").replace(Wt,'"'+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(ot){}if(ee){let ot=-1;return Pe=Pe.replaceAll("<","<").replaceAll(">",">").replace(/(@▁▁@|@▁@)/g,function(Kt,Wt,Ce){var Je;return++ot,fr(Kt,ot,(Je=U==null?void 0:U[ot])==null?void 0:Je.value.replaceAll("<","<").replaceAll(">",">"))}),`<pre style="background:#fff;padding:4px">${Tt(Pe||"")}</pre>`}let $e=Tt(Pe);$e=(0,l.ZP)($e);const We=(0,l.ez)();Pe.match(/\[TOC\]/)&&($e=$e.replace("<p>[TOC]</p>",(0,l.Qv)()),(0,l.Iy)()),$e=$e.replace(/(__special_katext_id_\d+__)/g,(ot,Kt)=>{const{type:Wt,expression:Ce}=We[Kt];return(0,u.renderToString)(K(Ce)||"",{displayMode:Wt==="block",throwOnError:!1,output:"html"})}),$e=$e.replace(/▁/g,"\u2581\u2581\u2581\u2581\u2581"),(0,l.AL)();const rt=document.createElement("div");if(rt.innerHTML=$e,oe)return rt.innerText;if(se){const ot=se.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");return et(rt,ot),rt.innerHTML}return setTimeout(()=>Se(),500),rt.innerHTML},[Pe,se]);(0,r.useEffect)(()=>{ze.current&&ze.current.querySelectorAll(["input","textarea"]).forEach(We=>{We.oninput=nt,We.onblur=bt,We.onfocus=dt})},[gt]),(0,r.useEffect)(()=>{var $e,We,rt,ot,Kt;if(U!=null&&U.length)try{const Wt=ze.current.querySelectorAll(".edu-program-fill-score"),Ce=ze.current.querySelectorAll('[name="edu-program-fill"]');for(const[Je,Yt]of Ce.entries())Yt.value=(($e=U==null?void 0:U[Je])==null?void 0:$e.value)||"",((We=U==null?void 0:U[Je])==null?void 0:We.type)==="warning"?Yt.className="program-fill-warning":((rt=U==null?void 0:U[Je])==null?void 0:rt.type)==="success"?Yt.className="program-fill-success":Yt.className="";for(const[Je,Yt]of Wt.entries())Yt.innerHTML=(ot=U==null?void 0:U[Je])!=null&&ot.score?`${(Kt=U==null?void 0:U[Je])==null?void 0:Kt.score}\u5206`:"";Dt(U)}catch(Wt){console.log(Wt,"error")}},[U]);const nt=$e=>{gt[$e.target.dataset.id]=gt[$e.target.dataset.id]||{},gt[$e.target.dataset.id].value=$e.target.value,Dt([...gt]),$(gt,$e.target.dataset.id)},bt=$e=>{gt[$e.target.dataset.id]=gt[$e.target.dataset.id]||{},gt[$e.target.dataset.id].value=$e.target.value,Dt([...gt]),ie(gt,$e.target.dataset.id)},dt=$e=>{gt[$e.target.dataset.id]=gt[$e.target.dataset.id]||{},gt[$e.target.dataset.id].value=$e.target.value,Dt([...gt]),_e(gt,$e.target.dataset.id)};function et($e,We){return $e.childNodes.forEach(rt=>{var ot;if(rt.childNodes.length>0)et(rt,We);else if(rt.nodeName!=="IMG")if(rt.innerHTML)rt.innerHTML=(ot=rt.innerHTML)==null?void 0:ot.replace(new RegExp(We,"gi"),'<span style="color:#0152d9;background-color:#1890ff33">$&</span>');else{const Kt=document.createElement("span");Kt.innerHTML=rt.textContent.replace(new RegExp(We,"gi"),'<span style="color:#0152d9;background-color:#1890ff33">$&</span>'),rt.replaceWith(Kt)}})}const ze=(0,r.useRef)();l.jb.WebkitLineClamp=q,q&&(J=P(P({},J),l.jb));function ge($e){let We=$e.target;if(We.tagName.toUpperCase()==="A"){let rt=We.getAttribute("href");if(rt.indexOf("office")>-1)$e.preventDefault(),He(rt),Ft("office");else if(rt.indexOf("application/pdf")>-1)$e.preventDefault(),He(rt),Ft("pdf");else if(rt.indexOf("text/html")>-1)$e.preventDefault(),He(rt),Ft("html");else if(rt.startsWith("#")){$e.preventDefault();let ot=document.getElementById(rt.replace("#",""));ot&&ot.scrollIntoView(!0)}}}const Se=()=>{var $e;const We=($e=ze.current)==null?void 0:$e.querySelectorAll("video");We==null||We.forEach(rt=>{if(rt.oncontextmenu=()=>!1,rt.src.indexOf(".m3u8")>-1&&!rt.canPlayType("application/vnd.apple.mpegurl")){if(f.ZP.isSupported()){var ot=new f.ZP;ot.loadSource(rt.src),ot.attachMedia(rt)}}})};(0,r.useEffect)(()=>{if(ze.current&&zt&&zt.match(N)&&window.PR.prettyPrint(),ze.current)return ze.current.addEventListener("click",ge),()=>{var $e;($e=ze.current)==null||$e.removeEventListener("click",ge),(0,l.AL)(),(0,l.Iy)()}},[zt,ze.current,ge]),(0,r.useEffect)(()=>{var $e;const We=rt=>{rt.preventDefault(),rt.clipboardData.setData("text",window.getSelection().toString())};return($e=ze.current)==null||$e.addEventListener("copy",We),()=>{var rt;(rt=ze.current)==null||rt.removeEventListener("copy",We)}},[ze.current]);const Le=$e=>/<style[\s\S]*?>/i.test($e||"");return r.createElement(r.Fragment,null,oe&&r.createElement("div",{ref:ze},zt),!oe&&!Le(zt)&&r.createElement("div",{ref:ze,style:P({},J),className:`${ne||""} ${ue?"disabled-fill":""} markdown-body ${rr.current}`,dangerouslySetInnerHTML:{__html:zt}}),!oe&&Le(zt)&&r.createElement(_,{html:zt}),r.createElement(x.Z,{close:!0,data:De,type:De!=null&&De.length?Ne:"",style:P({},V),onClose:()=>He("")}))}},51124:function(d,v,e){"use strict";e.d(v,{SV:function(){return ze},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,Le)=>Se in ge?x(ge,Se,{enumerable:!0,configurable:!0,writable:!0,value:Le}):ge[Se]=Le,R=(ge,Se)=>{for(var Le in Se||(Se={}))b.call(Se,Le)&&k(ge,Le,Se[Le]);if(_)for(var Le of _(Se))S.call(Se,Le)&&k(ge,Le,Se[Le]);return ge},A=(ge,Se)=>p(ge,y(Se)),P=(ge,Se,Le)=>new Promise(($e,We)=>{var rt=Wt=>{try{Kt(Le.next(Wt))}catch(Ce){We(Ce)}},ot=Wt=>{try{Kt(Le.throw(Wt))}catch(Ce){We(Ce)}},Kt=Wt=>Wt.done?$e(Wt.value):Promise.resolve(Wt.value).then(rt,ot);Kt((Le=Le.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(Le=>({label:Le,kind:ge.languages.CompletionItemKind.Keyword,insertText:Le})),N=ge=>Object.keys(M.tables).map(Se=>({label:Se,kind:ge.languages.CompletionItemKind.Variable,insertText:Se})),K=(ge,Se)=>{const Le=M.tables[ge];return Le?Le.map($e=>({label:$e,kind:Se.languages.CompletionItemKind.Field,insertText:$e})):[]};function G(ge,Se,Le,$e,We){let rt=Se.getWordUntilPosition(Le),ot={startLineNumber:Le.lineNumber,endLineNumber:Le.lineNumber,startColumn:rt.startColumn,endColumn:rt.endColumn},Kt=$e.map(Wt=>({label:Wt,kind:ge.languages.CompletionItemKind.Keyword,insertText:Wt,insertTextRules:ge.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:ot}));return We.map(Wt=>{Kt.push(A(R({},Wt),{range:ot}))}),Kt}var H=ge=>{M.languages.map(We=>(ge.languages.registerDocumentFormattingEditProvider(We,{provideDocumentFormattingEdits(rt,ot,Kt){return P(this,null,function*(){const Wt=a()(rt.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:rt.getFullModelRange(),text:Wt}]})}}),We));const Se=f.quickKey.map(We=>({label:We.label,kind:ge.languages.CompletionItemKind.Method,insertText:We.content,insertTextRules:ge.languages.CompletionItemInsertTextRule.InsertAsSnippet})),Le=o.quickKey.map(We=>({label:We.label,kind:ge.languages.CompletionItemKind.Method,insertText:We.content,insertTextRules:ge.languages.CompletionItemInsertTextRule.InsertAsSnippet})),$e=c.quickKey.map(We=>({label:We.label,kind:ge.languages.CompletionItemKind.Method,insertText:We.content,insertTextRules:ge.languages.CompletionItemInsertTextRule.InsertAsSnippet}));ge.languages.registerCompletionItemProvider("cpp",{provideCompletionItems:function(We,rt){var ot=We.getWordUntilPosition(rt),Kt={startLineNumber:rt.lineNumber,endLineNumber:rt.lineNumber,startColumn:ot.startColumn,endColumn:ot.endColumn},Wt=We.getLineContent(rt.lineNumber).substring(ot.startColumn-2,ot.endColumn);return{suggestions:[...f.keywords.map(Ce=>({label:Ce,kind:ge.languages.CompletionItemKind.Function,documentation:Ce,insertText:Ce,insertTextRules:ge.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:Kt})),...f.quickKey.map(Ce=>({label:Ce.label,kind:ge.languages.CompletionItemKind.Function,documentation:Ce.content,insertText:Wt.startsWith("#")?Ce.content.replace(/#/,""):Ce.content,insertTextRules:ge.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:Kt}))]}}}),ge.languages.registerCompletionItemProvider("c",{provideCompletionItems:function(We,rt){var ot=We.getWordUntilPosition(rt),Kt={startLineNumber:rt.lineNumber,endLineNumber:rt.lineNumber,startColumn:ot.startColumn,endColumn:ot.endColumn};return{suggestions:[...l.keywords.map(Wt=>({label:Wt,kind:ge.languages.CompletionItemKind.Function,documentation:Wt,insertText:Wt,insertTextRules:ge.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:Kt}))]}}}),ge.languages.registerCompletionItemProvider("java",{provideCompletionItems:function(We,rt){var ot=We.getWordUntilPosition(rt),Kt={startLineNumber:rt.lineNumber,endLineNumber:rt.lineNumber,startColumn:ot.startColumn,endColumn:ot.endColumn},Wt=We.getLineContent(rt.lineNumber).substring(ot.startColumn-2,ot.endColumn);return{suggestions:[...c.keywords.map(Ce=>({label:Ce,kind:ge.languages.CompletionItemKind.Function,documentation:Ce,insertText:Ce,insertTextRules:ge.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:Kt})),...c.quickKey.map(Ce=>({label:Ce.label,kind:ge.languages.CompletionItemKind.Function,documentation:Ce.content,insertText:Wt.startsWith("#")?Ce.content.replace(/#/,""):Ce.content,insertTextRules:ge.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:Kt}))]}}}),ge.languages.registerCompletionItemProvider("scala",{provideCompletionItems:function(We,rt){var ot=We.getWordUntilPosition(rt),Kt={startLineNumber:rt.lineNumber,endLineNumber:rt.lineNumber,startColumn:ot.startColumn,endColumn:ot.endColumn},Wt=We.getLineContent(rt.lineNumber).substring(ot.startColumn-2,ot.endColumn);return{suggestions:[...h.keywords.map(Ce=>({label:Ce,kind:ge.languages.CompletionItemKind.Function,documentation:Ce,insertText:Ce,insertTextRules:ge.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:Kt})),...h.quickKey.map(Ce=>({label:Ce.label,kind:ge.languages.CompletionItemKind.Function,documentation:Ce.content,insertText:Wt.startsWith("#")?Ce.content.replace(/#/,""):Ce.content,insertTextRules:ge.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:Kt}))]}}}),ge.languages.registerCompletionItemProvider("python",{provideCompletionItems:function(We,rt){var ot=We.getWordUntilPosition(rt),Kt={startLineNumber:rt.lineNumber,endLineNumber:rt.lineNumber,startColumn:ot.startColumn,endColumn:ot.endColumn},Wt=We.getLineContent(rt.lineNumber).substring(ot.startColumn-2,ot.endColumn);return{suggestions:[...o.keywords.map(Ce=>({label:Ce,kind:ge.languages.CompletionItemKind.Function,documentation:Ce,insertText:Ce,insertTextRules:ge.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:Kt})),...o.quickKey.map(Ce=>({label:Ce.label,kind:ge.languages.CompletionItemKind.Function,documentation:Ce.content,insertText:Wt.startsWith("#")?Ce.content.replace(/#/,""):Ce.content,insertTextRules:ge.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:Kt}))]}}})};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 ne=Object.defineProperty,oe=(ge,Se,Le)=>Se in ge?ne(ge,Se,{enumerable:!0,configurable:!0,writable:!0,value:Le}):ge[Se]=Le,q=(ge,Se,Le)=>oe(ge,typeof Se!="symbol"?Se+"":Se,Le);const J=class Vd{constructor(Se,Le,$e){this.placeholder=Se,this.editor=Le,this.monaco=$e,Le.onDidChangeModelContent(()=>this.onDidChangeModelContent()),this.onDidChangeModelContent()}onDidChangeModelContent(){this.editor.getValue()===""?this.editor.addContentWidget(this):this.editor.removeContentWidget(this)}getId(){return Vd.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 se=J,ee=e(96236),Q=e(8591),ue=e(6848),U=e(89392),$=e(33796),ie=e(56102),_e=Object.defineProperty,Pe=Object.defineProperties,De=Object.getOwnPropertyDescriptors,He=Object.getOwnPropertySymbols,Ne=Object.prototype.hasOwnProperty,Ft=Object.prototype.propertyIsEnumerable,gt=(ge,Se,Le)=>Se in ge?_e(ge,Se,{enumerable:!0,configurable:!0,writable:!0,value:Le}):ge[Se]=Le,Dt=(ge,Se)=>{for(var Le in Se||(Se={}))Ne.call(Se,Le)&>(ge,Le,Se[Le]);if(He)for(var Le of He(Se))Ft.call(Se,Le)&>(ge,Le,Se[Le]);return ge},rr=(ge,Se)=>Pe(ge,De(Se)),Xt=(ge,Se)=>{var Le={};for(var $e in ge)Ne.call(ge,$e)&&Se.indexOf($e)<0&&(Le[$e]=ge[$e]);if(ge!=null&&He)for(var $e of He(ge))Se.indexOf($e)<0&&Ft.call(ge,$e)&&(Le[$e]=ge[$e]);return Le},fr=(ge,Se,Le)=>new Promise(($e,We)=>{var rt=Wt=>{try{Kt(Le.next(Wt))}catch(Ce){We(Ce)}},ot=Wt=>{try{Kt(Le.throw(Wt))}catch(Ce){We(Ce)}},Kt=Wt=>Wt.done?$e(Wt.value):Promise.resolve(Wt.value).then(rt,ot);Kt((Le=Le.apply(ge,Se)).next())});function Ge(ge){return/^\d+$/.test(ge)?`${ge}px`:ge}function Tt(){}let zt=!1;const nt={"Python3.6":"python","Python2.7":"python",Dynamips:"cpp",Java:"java",Web:"php",Html:"html",Hive:"sql",Hadoop:"java",SDL:"cpp",PHP:"php",Matlab:"python",Git:"python",Python:"python","C/C++":"cpp","C++":"cpp",C:"cpp",Ruby:"ruby",Shell:"shell",JavaScript:"javascript",Perl6:"perl",Kotlin:"kotlin",Elixir:"elixir",Android:"java",JavaWeb:"java",Go:"go",Spark:"sql",MachineLearning:"python",Verilog:"xml","Verilog/VNC":"xml",Docker:"dockerfile","C#":"csharp",SQLite3:"sql",Oracle:"sql",Vhdl:"vhdl",R:"r",Swift:"swift",SQLServer:"mysql",MySQL:"mysql",Mongo:"sql",PostgreSql:"pgsql",Hbase:"powershell",Sqoop:"sql",Nasm:"cpp",Kafka:"java",Flink:"java",Sml:"javascript",OpenGL:"cpp",Perl5:"perl",Orange:"python",Scala:"scale",solidity:"sol"};function bt(ge=[]){let Se=ge;if(Array.isArray(ge)){for(let Le=0;Le<ge.length;Le++){let $e=nt[ge[Le]];if($e)return $e}return Se[0]}return nt[Se]||Se}let dt=null;var et=ge=>{var Se=ge,{width:Le="100%",height:$e="100%",value:We,language:rt="javascript",style:ot={},options:Kt={},overrideServices:Wt={},theme:Ce="vs-dark",onEditBlur:Je,isCopy:Yt=!1,onSave:kt,autoHeight:Ht=!1,forbidCopy:$t=!1,onChange:tr=Tt,editorDidMount:Gt=Tt,onFocus:Me=Tt,onBreakPoint:ce=Tt,breakPointValue:he=[],filename:Pt="educoder.txt",errorLine:Te,errorContent:ct="",highlightLine:Zt,openBreakPoint:wt=!1,placeholder:Ie=""}=Se,xt=Xt(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)(),Ye=(0,r.useRef)({}),mt=(0,r.useRef)(),Lt=(0,r.useRef)(),Fe=(0,r.useRef)([]),Or=(0,r.useRef)(!1),St=(0,r.useRef)(),Vr=(0,r.useRef)(),tn=(0,r.useRef)(!1),[wr,Nr]=(0,r.useState)(!1);function gr(){let cr;return be.current&&(cr=new i.Z(Qr=>{for(let yn of Qr)(yn.target.offsetHeight>0||yn.target.offsetWidth>0)&&Ye.current.instance.layout()}),cr.observe(be.current)),cr}function Ur(){Q.ZP.warning({content:decodeURIComponent(ae),key:"monaco-editor-tip"})}const cn=()=>{let cr=Ye.current.instance;if(We!=null&&cr&&wr){const Qr=cr.getModel();Qr&&We!==Qr.getValue()&&(zt=!0,Qr.setValue(We),cr.layout(),zt=!1)}};(0,r.useEffect)(()=>{const cr=$.Z.subscribe("formatDocument",Qr=>{var yn;let Gn=Ye.current.instance;(yn=Gn==null?void 0:Gn.getAction)==null||yn.call(Gn,"editor.action.formatDocument").run()});return window.updateMonacoValue=Qr=>{tr(Qr)},cr},[]),(0,r.useEffect)(()=>{var cr;let Qr=Ye.current.instance;Lt.current&&clearTimeout(Lt.current),Lt.current=setTimeout(()=>{cn()},500),We&&(We!=null&&We.length)&&((cr=Qr==null?void 0:Qr.updateOptions)==null||cr.call(Qr,{lineNumbersMinChars:Math.max(Math.floor(Math.log10(We.split(/\r\n|\r|\n/g).length))+3,5)}))},[We,wr,Ye.current]),(0,r.useEffect)(()=>{if(Te&&Ye.current&&Ye.current.instance){let Qr=Ye.current.instance;Qr.changeViewZones(function(yn){var Gn=document.createElement("div");Gn.style.padding="10px 20px",Gn.style.width="calc(100% - 20px)",Gn.className="my-error-line-wrp",Gn.innerHTML=ct,yn.addZone({afterLineNumber:Te||11,heightInLines:3,domNode:Gn})});var cr={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}};Qr.addOverlayWidget(cr),Qr.revealPositionInCenter({lineNumber:20,column:1})}},[Te,Ye.current,wr]);const hn=(cr="",Qr)=>{if(!cr||cr.trim()==="")return!0;const Gn=Ye.current.instance.getModel().getLineTokens(Qr);let fi=!1;for(let Xn=0;Xn<2;Xn++)Gn.getStandardTokenType(Xn)===1&&(fi=!0);return fi};(0,r.useEffect)(()=>{var cr;const Qr=(cr=Ye.current)==null?void 0:cr.instance;if(Qr&&wr&&$t){const yn=Qr.onDidBlurEditorWidget(()=>{tn.current=!1}),Gn=Qr.onDidFocusEditorText(()=>{tn.current=!0});return()=>{yn.dispose(),Gn.dispose()}}},[Ye.current,wr,$t]),(0,r.useEffect)(()=>{var cr;if((cr=Ye.current)!=null&&cr.instance&&wr&&wt){let Qr=Ye.current.instance,yn=Qr.getModel();if(!yn)return;(()=>{var Et;let it=[],ni=[];const Oi=yn.getAllDecorations();for(let sa of Oi)sa.options.className==="highlighted-line"&&(it.push((Et=sa==null?void 0:sa.range)==null?void 0:Et.startLineNumber),ni.push(sa==null?void 0:sa.id));if(Zt===it[0])return;yn.deltaDecorations(ni,[]);const ii=yn.getLineCount();Zt&&Zt<=ii&&(Qr.deltaDecorations([],[{range:new dt.Range(Zt,1,Zt,yn.getLineMaxColumn(Zt)),options:{isWholeLine:!0,className:"highlighted-line"}}]),Qr.revealLineInCenter(Zt))})();const fi=(Et=!1)=>{var it;let ni=[],Oi=[];const ii=yn.getAllDecorations();for(let sa of ii)sa.options.linesDecorationsClassName==="breakpoints-select"&&(ni.push((it=sa==null?void 0:sa.range)==null?void 0:it.startLineNumber),Oi.push(sa==null?void 0:sa.id));if(Et)return{lines:ni,ids:Oi};ce(ni)},Xn=Et=>fr(void 0,null,function*(){let it={range:new dt.Range(Et,1,Et,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-select"}};yield yn.deltaDecorations([],[it]),fi()}),Ki=Et=>fr(void 0,null,function*(){let it=[];const ni=Qr.getLineDecorations(Et);for(let Oi of ni)Oi.options.linesDecorationsClassName==="breakpoints-select"&&it.push(Oi.id);yield yn.deltaDecorations(it,[]),fi()}),hi=Et=>{let it=Qr.getLineDecorations(Et);for(let ni of it)if(ni.options.linesDecorationsClassName==="breakpoints-select")return!0;return!1};if(!(0,U.isEqual)(he,fi(!0).lines)){yn.deltaDecorations(fi(!0).ids,[]);const Et=he.map(it=>({range:new dt.Range(it,1,it,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-select"}}));yn.deltaDecorations([],Et)}const bi=Qr.onDidChangeModelContent(Et=>{let it=Qr.getPosition();if(it){let ni=it.lineNumber;clearTimeout(Vr.current),Vr.current=setTimeout(()=>{hn(yn.getLineContent(ni),ni)?Ki(ni):hi(ni)?(Ki(ni),Xn(ni)):fi()},100)}}),Di=Qr.onMouseDown(Et=>{var it,ni,Oi;if(Et.target.detail&&((Oi=(ni=(it=Et.target)==null?void 0:it.element)==null?void 0:ni.className)!=null&&Oi.includes("line-numbers"))){let ii=Et.target.position.lineNumber;if(hn(yn.getLineContent(ii),ii))return;hi(ii)?Ki(ii):Xn(ii)}}),wi=Et=>{let it={range:new dt.Range(Et,1,Et,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-fake"}};Fe.current=Qr.deltaDecorations(Fe.current,[it])},fa=()=>{Fe.current=Qr.deltaDecorations(Fe.current,[])},ri=Qr.onMouseMove(Et=>{var it,ni,Oi;if(fa(),Et.target.detail&&((Oi=(ni=(it=Et.target)==null?void 0:it.element)==null?void 0:ni.className)!=null&&Oi.includes("line-numbers"))){let ii=Et.target.position.lineNumber;if(hn(yn.getLineContent(ii),ii))return;wi(ii)}}),la=Qr.onMouseLeave(()=>{fa()});return()=>{bi.dispose(),Di.dispose(),ri.dispose(),la.dispose()}}},[Ye.current,wr,he,Zt,wt,rt]),(0,r.useEffect)(()=>{var cr;(cr=Ye.current)!=null&&cr.instance&&wt&&Ye.current.instance.setPosition({lineNumber:0,column:0})},[Zt]);function ur(){let cr=Ye.current.instance;if(cr){const Qr=cr.getSelection(),yn=Ye.current.pastePos||{},Gn=new dt.Range(yn.startLineNumber||Qr.endLineNumber,yn.startColumn||Qr.endColumn,yn.endLineNumber||Qr.endLineNumber,yn.endColumn||Qr.endColumn);setTimeout(()=>{cr.executeEdits("",[{range:Gn,text:""}])},300)}}function Rt(cr){(window.navigator.platform.match("Mac")?cr.metaKey:cr.ctrlKey)&&cr.keyCode==83&&(cr.preventDefault(),kt())}const _t=()=>{if(Ht&&Ye.current.instance){const cr=Ye.current.instance.getContentHeight();Ln(cr<$e?$e:cr)}else Ln($e)};function vt(cr){var Qr=document.createEvent("MouseEvents");Qr.initMouseEvent("click",!0,!1,window,0,0,0,0,0,!1,!1,!1,!1,0,null),cr.dispatchEvent(Qr)}const jt=cr=>{if(!tn.current)return;const{keyCode:Qr,ctrlKey:yn,metaKey:Gn,target:fi,type:Xn}=cr;return(Xn==="paste"||(Qr===67||Qr===86)&&(Gn||yn))&&fi.nodeName==="TEXTAREA"&&(Ur(),cr.preventDefault()),!1};function Cr(cr,Qr){var yn=window.URL||window.webkitURL||window,Gn=new Blob([Qr]),fi=document.createElementNS("http://www.w3.org/1999/xhtml","a");fi.href=yn.createObjectURL(Gn),fi.download=cr,vt(fi)}(0,r.useEffect)(()=>{_t()},[_t]),(0,r.useEffect)(()=>{be.current&&!wr&&Promise.all([e.e(8909),e.e(5028)]).then(e.bind(e,71448)).then(cr=>{try{dt=cr,Ye.current.instance=dt.editor.create(be.current,{value:We,language:bt(rt),theme:Ce,requireConfig:{"vs/nls":{availableLanguages:{"*":"zh-cn"}}},wordWrap:!0,autoIndent:!0,contextmenu:!0,formatOnType:!0},Wt);const Qr=Ye.current.instance;let fi=[...ee.BH._menuItems].find(bi=>bi[0]._debugName=="EditorContext")[1],Xn=["editor.action.clipboardCopyWithSyntaxHighlightingAction","editor.action.quickCommand","editor.action.clipboardCopyAction","editor.action.clipboardPasteAction","editor.action.clipboardCutAction"],Ki=(bi,Di)=>{var wi,fa;let ri=bi._first;do Di.includes((fa=(wi=ri.element)==null?void 0:wi.command)==null?void 0:fa.id)&&bi._remove(ri);while(ri=ri.next)};if(Gt(Qr,dt),setTimeout(()=>{_t(),Ye.current.instance.addAction({id:"d123123",label:"Download File",contextMenuGroupId:"9_cutcopypaste",run:()=>{Cr(Pt||"educoder.txt",Qr.getValue())}})},500),Ye.current.subscription=Qr.onDidChangeModelContent(bi=>{Or.current?clearTimeout(St.current):(_t(),tr(Qr.getValue(),bi)),St.current=setTimeout(()=>{Or.current=!1},500)}),window.Monaco||H(dt,bt(rt)),$t&&(Ki(fi,Xn),be.current.classList.add("noCopyPaste"),window.removeEventListener("keydown",jt),window.removeEventListener("paste",jt),window.addEventListener("keydown",jt),window.addEventListener("paste",jt)),window.Monaco=dt,Je&&Qr.onDidBlurEditorWidget(()=>{Je(Qr.getValue())}),Me&&Qr.onDidFocusEditorText(()=>{Me(Qr.getValue())}),$t)try{Qr.onDidPaste(bi=>{const Di=Qr.getSelection(),wi=Ye.current.pastePos||{},fa=new dt.Range(wi.startLineNumber||Di.endLineNumber,wi.startColumn||Di.endColumn,wi.endLineNumber||Di.endLineNumber,wi.endColumn||Di.endColumn);Qr.executeEdits("",[{range:bi.range,text:""}])})}catch(bi){}let hi=gr();return Ie&&typeof Ie=="string"&&new se(Ie,Qr,dt),Nr(!0),()=>{const bi=Ye.current.instance;bi.dispose();const Di=bi.getModel();Di&&Di.dispose(),Ye.current.subscription&&Ye.current.subscription.dispose(),hi.unobserve(be.current)}}catch(Qr){}})},[]),(0,r.useEffect)(()=>{if(Ye.current.instance&&wr)return document.addEventListener("keydown",Rt,!1),()=>{document.removeEventListener("keydown",Rt)}},[kt,wr]),(0,r.useEffect)(()=>{let cr=Ye.current.instance;if(cr&&wr){let Qr=bt(rt);dt.editor.setModelLanguage(cr.getModel(),Qr)}},[rt,wr]),(0,r.useEffect)(()=>{Ye.current.instance&&wr&&dt.editor.setTheme(Ce)},[Ce,wr]),(0,r.useEffect)(()=>{let cr=Ye.current.instance;mt.current=Kt,cr&&wr&&(cr.updateOptions(Dt({},Kt)),setTimeout(()=>{cr.getModel().updateOptions(Dt({},Kt))},200))},[JSON.stringify(Kt),wr]),(0,r.useEffect)(()=>{let cr=Ye.current.instance;cr&&wr&&cr.layout()},[Le,$e,wr]);const[yr,nn]=(0,r.useState)(Ge(Le)),[Kr,Ln]=(0,r.useState)(Ge($e)),At=rr(Dt({},ot),{width:yr,height:Kr,position:"relative"});return r.createElement("div",{className:"my-monaco-editor",ref:be,style:At},Yt&&r.createElement(ie.CopyToClipboard,{text:We,onCopy:()=>Q.ZP.success("\u590D\u5236\u6210\u529F")},r.createElement(ue.Z,{title:"\u590D\u5236\u4EE3\u7801"},r.createElement("div",{style:{position:"absolute",top:0,right:10,cursor:"pointer",zIndex:10,color:"#165DFF"}},r.createElement("i",{className:"iconfont icon-fuzhi8",style:{fontSize:14}})," \u590D\u5236\u4EE3\u7801"))))};function ze({width:ge="100%",height:Se="100%",original:Le,modified:$e,language:We,options:rt={}}){const ot=(0,r.useRef)(),[Kt,Wt]=(0,r.useState)(null);function Ce(Ht){let $t;return ot.current&&($t=new i.Z(tr=>{for(let Gt of tr)(Gt.target.offsetHeight>0||Gt.target.offsetWidth>0)&&Ht.layout()}),$t.observe(ot.current)),$t}(0,r.useEffect)(()=>(ot.current&&Promise.all([e.e(8909),e.e(9404)]).then(e.bind(e,2550)).then(Ht=>{dt=Ht;const $t=dt.editor.createDiffEditor(ot.current,rr(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},rt),{wordWrap:!0}));Wt($t);let tr=Ce($t);return()=>{$t.dispose();const Gt=$t.getModel();Gt&&Gt.dispose(),tr.unobserve(ot.current)}}),()=>{window.removeEventListener("keydown",checkPaste),window.removeEventListener("paste",checkPaste)}),[]),(0,r.useEffect)(()=>{Kt&&Kt.setModel({original:dt.editor.createModel(Le,We),modified:dt.editor.createModel($e,We)})},[Le,$e,We,Kt]);const Je=Ge(ge),Yt=Ge(Se),kt={width:Je,height:Yt};return r.createElement("div",{className:"my-diff-editor",ref:ot,style:kt})}},97760:function(d,v,e){"use strict";e.d(v,{k:function(){return b}});var r=e(83325),i=e(8591),l=e(56854),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 P in k)u.call(k,P)&&R.indexOf(P)<0&&(A[P]=k[P]);if(k!=null&&h)for(var P of h(k))R.indexOf(P)<0&&a.call(k,P)&&(A[P]=k[P]);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:P}){const{userInfo:M}=yield P(B=>B.user);if(M!=null&&M.school_id){const B=yield R(r.BA,M.school_id);if(B&&B.data){const N=l.U.getItem(M==null?void 0:M.login);yield A({type:"setMajorOrYearDataSource",payload:{key:b[0],value:B.data.map(K=>({label:K.name,value:K.ec_major_school_id})),active:B.data.length>0?N[0]||B.data[0].ec_major_school_id:void 0}})}}},*getYearList({payload:k},{call:R,put:A,select:P}){const M=yield R(r.Nx,k.id),{userInfo:B}=yield P(N=>N.user);if(M&&M.data){const N=l.U.getItem(B==null?void 0:B.login);yield A({type:"setMajorOrYearDataSource",payload:{key:b[1],value:M.data.map(K=>({label:K.year,value:K.ec_year_id})),active:M.data.length>0?k.firstEnter?N[1]:M.data[0].ec_year_id:void 0}})}},*getCourseResults({payload:k={}},{call:R,put:A,select:P}){const{calc:M,page:B,per_page:N}=k,{headerData:K,tabListData:G}=yield P(ne=>ne.engineeringEvaluteList),{userInfo:H}=yield P(ne=>ne.user);let ae=K.active[b[1]];if(ae){let ne={id:ae,page:B||1,per_page:N||G.pageSize};M&&(ne=y(p({},ne),{page:G.pageNo}));const oe=yield R(r._y,ne),q=[K.active[b[0]],K.active[b[1]]];l.U.setItem(H==null?void 0:H.login,q),oe&&oe.ec_courses&&(yield A({type:"setCourseResults",payload:y(p({},G),{pageNo:ne.page,total:oe.count,pageSize:ne.per_page||G.pageSize,dataSource:oe.ec_courses.map((J,V)=>y(p({},J),{key:ne.page>1?(ne.page-1)*ne.per_page+V+1:V+1}))})}))}else yield A({type:"setCourseResults",payload:y(p({},G),{pageNo:1,total:0,dataSource:[]})})},*exportCourse({payload:k},{call:R,select:A}){const{headerData:P}=yield A(M=>M.engineeringEvaluteList);P.active[b[1]]&&(yield R(r.F,P.active[b[1]]))},*compute({payload:k},{call:R,put:A}){const P=k,{all:M}=P,B=_(P,["all"]),N=yield R(M?r.At:r.PX,B);N&&N.status===0?(i.ZP.success("\u8BA1\u7B97\u5B8C\u6210"),yield A({type:"getCourseResults",payload:{calc:!0}})):i.ZP.error(N.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},37798: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:P,combination_questions:M}=x||{},N=[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"},P),o({type:"COMBINATION",name:"\u7EC4\u5408\u9898"},M)].filter(K=>K.questions_count>0).map((K,G)=>o(o({},K),{number:u[G+1]}));return{all_questions_count:p,all_score:y,questionList:N}}},56854:function(d,v,e){"use strict";e.d(v,{U:function(){return c},t:function(){return l}});var r=e(43418),i=e(34055);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)}}},96047: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 P},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(82093),i=(N,K,G)=>new Promise((H,ae)=>{var ne=J=>{try{q(G.next(J))}catch(V){ae(V)}},oe=J=>{try{q(G.throw(J))}catch(V){ae(V)}},q=J=>J.done?H(J.value):Promise.resolve(J.value).then(ne,oe);q((G=G.apply(N,K)).next())});function l(N){return i(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${N.login}/avatar.json`,{method:"put",body:N})})}function c(N){return i(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${N.login}.json`,{method:"get"})})}function f(N){return i(this,null,function*(){return(0,r.ZP)("/api/add_school_applies.json",{method:"post",body:N})})}function o(N){return i(this,null,function*(){return(0,r.ZP)("/api/schools/limit_list.json",{method:"get",params:N})})}function h(N){return i(this,null,function*(){return(0,r.ZP)(`/api/schools/${N.id}/departments/for_option.json`,{method:"get",params:N})})}function u(N){return i(this,null,function*(){return(0,r.ZP)("/api/add_department_applies.json",{method:"post",body:N})})}function a(N){return i(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${N.id}.json`,{method:"put",body:N})})}function x(N){return i(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${N.login}/authentication_apply.json`,{method:"delete"})})}function p(N){return i(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${N.login}/professional_auth_apply.json`,{method:"delete"})})}function y(N){return i(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${N.id}/professional_auth_apply.json`,{method:"post",body:N})})}function _(N){return i(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${N.id}/authentication_apply.json`,{method:"post",body:N})})}function b(N){return i(this,null,function*(){return(0,r.ZP)("/api/accounts/get_verification_code.json",{method:"get",params:N})})}function S(N){return i(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${N.login}/phone_bind.json`,{method:"post",body:N})})}function k(N){return i(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${N.login}/email_bind.json`,{method:"post",body:N})})}function R(N){return i(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${N.login}/password.json`,{method:"put",body:N})})}function A(N){return i(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${N.basicInfoId}/open_users/${N.id}.json`,{method:"delete"})})}function P(N){return i(this,null,function*(){return(0,r.ZP)(`/api/users/${N.login}/cancel_authentication.json`,{method:"post",body:N})})}function M(N){return i(this,null,function*(){return(0,r.ZP)(`/api/users/${N.login}/cancel_professional_certification.json`,{method:"post",body:N})})}function B(N,K){return i(this,null,function*(){return(0,r.ZP)(`/api/users/${N.login}/videos/${N.id}/create_subject_video.json`,{method:"post",body:K})})}},1754: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(82093),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(N){R(N)}},P=B=>{try{M(S.throw(B))}catch(N){R(N)}},M=B=>B.done?k(B.value):Promise.resolve(B.value).then(A,P);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({},_)})})}},14794: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(82093),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,o=(A,P,M)=>P in A?i(A,P,{enumerable:!0,configurable:!0,writable:!0,value:M}):A[P]=M,h=(A,P)=>{for(var M in P||(P={}))c.call(P,M)&&o(A,M,P[M]);if(l)for(var M of l(P))f.call(P,M)&&o(A,M,P[M]);return A},u=(A,P,M)=>new Promise((B,N)=>{var K=ae=>{try{H(M.next(ae))}catch(ne){N(ne)}},G=ae=>{try{H(M.throw(ae))}catch(ne){N(ne)}},H=ae=>ae.done?B(ae.value):Promise.resolve(ae.value).then(K,G);H((M=M.apply(A,P)).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:P}=A;return delete A.id,(0,r.ZP)(`/api/files/${P}.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)})})}},74891: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(82093),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,o=(A,P,M)=>P in A?i(A,P,{enumerable:!0,configurable:!0,writable:!0,value:M}):A[P]=M,h=(A,P)=>{for(var M in P||(P={}))c.call(P,M)&&o(A,M,P[M]);if(l)for(var M of l(P))f.call(P,M)&&o(A,M,P[M]);return A},u=(A,P,M)=>new Promise((B,N)=>{var K=ae=>{try{H(M.next(ae))}catch(ne){N(ne)}},G=ae=>{try{H(M.throw(ae))}catch(ne){N(ne)}},H=ae=>ae.done?B(ae.value):Promise.resolve(ae.value).then(K,G);H((M=M.apply(A,P)).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)})})}},64948:function(d,v,e){"use strict";e.d(v,{$T:function(){return yr},A:function(){return $t},Ab:function(){return hi},Al:function(){return Q},BQ:function(){return dt},BR:function(){return ee},Bn:function(){return Le},Cq:function(){return jt},DJ:function(){return Ne},Dd:function(){return _},Ds:function(){return ze},EO:function(){return tr},Ed:function(){return Ft},F9:function(){return rt},FU:function(){return Kt},Fg:function(){return b},GV:function(){return fr},Gk:function(){return q},Gm:function(){return zt},Gz:function(){return S},Hl:function(){return k},Hn:function(){return G},ID:function(){return cn},IU:function(){return Te},J2:function(){return rr},K$:function(){return ge},KP:function(){return gt},KT:function(){return De},L$:function(){return Yt},LH:function(){return P},Lk:function(){return la},Ls:function(){return ie},MA:function(){return At},Mc:function(){return ri},N7:function(){return se},Nd:function(){return oe},Nl:function(){return Pt},Ns:function(){return hn},O3:function(){return He},Pj:function(){return Tt},QX:function(){return he},QZ:function(){return Pe},R2:function(){return V},Rk:function(){return Cr},S9:function(){return kt},U8:function(){return Rt},UD:function(){return wr},U_:function(){return ae},Uy:function(){return gr},V8:function(){return K},Vw:function(){return $},W0:function(){return Zt},W7:function(){return et},WK:function(){return cr},Wr:function(){return Ki},YR:function(){return Me},Z0:function(){return mt},ZL:function(){return xt},ZT:function(){return bi},ZX:function(){return yn},Z_:function(){return M},_0:function(){return B},_9:function(){return nt},_B:function(){return wi},aP:function(){return wt},aQ:function(){return bt},aZ:function(){return Ce},al:function(){return Ht},bm:function(){return tn},bz:function(){return $e},c_:function(){return vt},ds:function(){return Vr},fN:function(){return Qr},fr:function(){return Gt},g4:function(){return Xt},gq:function(){return R},hf:function(){return U},i:function(){return Lt},i6:function(){return Kr},i7:function(){return Ur},iE:function(){return a},ih:function(){return Gn},kW:function(){return Dt},km:function(){return ur},nP:function(){return p},nQ:function(){return We},nX:function(){return Or},oM:function(){return Se},oR:function(){return fa},o_:function(){return Ie},pf:function(){return St},pr:function(){return Di},pv:function(){return nn},qB:function(){return ue},r2:function(){return N},rS:function(){return A},s:function(){return fi},sb:function(){return Je},sm:function(){return y},t1:function(){return Ge},tB:function(){return Xn},tR:function(){return ot},td:function(){return ct},uh:function(){return Wt},up:function(){return _t},v2:function(){return x},vV:function(){return be},w9:function(){return ne},wR:function(){return Ln},yS:function(){return ce},yV:function(){return J},yd:function(){return Fe},zg:function(){return _e}});var r=e(82093),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,o=(Et,it,ni)=>it in Et?i(Et,it,{enumerable:!0,configurable:!0,writable:!0,value:ni}):Et[it]=ni,h=(Et,it)=>{for(var ni in it||(it={}))c.call(it,ni)&&o(Et,ni,it[ni]);if(l)for(var ni of l(it))f.call(it,ni)&&o(Et,ni,it[ni]);return Et},u=(Et,it,ni)=>new Promise((Oi,ii)=>{var sa=An=>{try{ci(ni.next(An))}catch(er){ii(er)}},Ti=An=>{try{ci(ni.throw(An))}catch(er){ii(er)}},ci=An=>An.done?Oi(An.value):Promise.resolve(An.value).then(sa,Ti);ci((ni=ni.apply(Et,it)).next())});const a=Et=>u(void 0,null,function*(){return(0,r.ZP)(`/api/courses/${Et==null?void 0:Et.course_id}/course_videos/configs.json`,{method:"put",body:Et})}),x=Et=>u(void 0,null,function*(){return(0,r.ZP)(`/api/courses/${Et==null?void 0:Et.course_id}/course_videos/list_for_config.json`,{method:"Get",params:Et})}),p=Et=>u(void 0,null,function*(){return(0,r.ZP)(`/api/courses/${Et==null?void 0:Et.course_id}/homework_commons/max_late_time.json`,{method:"Get",params:Et})}),y=Et=>u(void 0,null,function*(){return(0,r.ZP)(`/api/courses/${Et==null?void 0:Et.course_id}/homework_commons/batch_late_setting`,{method:"post",body:Et})}),_=Et=>u(void 0,null,function*(){return(0,r.ZP)("/api/course_statistics/course_use_infos.json",{method:"Get",params:Et})}),b=Et=>u(void 0,null,function*(){return(0,r.ZP)("/api/course_statistics/rank_list.json",{method:"Get",params:Et})}),S=Et=>u(void 0,null,function*(){return(0,r.ZP)("/api/course_statistics/statistics_body.json",{method:"Get",params:Et})}),k=Et=>u(void 0,null,function*(){return(0,r.ZP)("/api/course_statistics/statistics_header.json",{method:"Get",params:Et})});function R(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.course_id}/set_assistant_permissions.json`,{method:"post",body:h({},Et.permissions)})})}function A(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.course_id}/assistant_permissions.json`,{method:"Get",params:h({},Et)})})}function P(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.id}/ai_status_query.json`,{method:"Get",params:Et})})}function M(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.coursesId}/update_course_portrait_data.json`,{method:"post",body:h({},Et)})})}function B(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.id}/get_user_portrait_config.json`,{method:"Get",params:Et})})}function N(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.coursesId}/update_user_portrait_config.json?id=${Et.coursesId}`,{method:"put",body:h({},Et)})})}function K(Et){return u(this,null,function*(){return(0,r.ZP)("/api/courses.json",{method:"Get",params:h({},Et)})})}function G(Et){return u(this,null,function*(){return(0,r.ZP)("/api/intelligent_recommendations/according_course_recommend_shixuns.json",{method:"Get",params:h({},Et)})})}function H(Et){return u(this,null,function*(){return Fetch("/api/disciplines.json",{method:"Get",params:h({},Et)})})}function ae(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.id}/top_banner.json`,{method:"get",params:h({},Et)})})}function ne(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.id||Et.coursesId}/left_banner.json`,{method:"get",params:h({},Et)})})}function oe(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.id}/homework_commons.json`,{method:"get",params:h({},Et)})})}function q(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.id}/homework_commons/list.json`,{method:"get",params:h({},Et)})})}function J(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.id}/graduation_topics.json`,{method:"get",params:h({},Et)})})}function V(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.id}/graduation_tasks.json`,{method:"get",params:h({},Et)})})}function se(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/v2/courses/${Et.id}/exercises.json`,{method:"get",params:h({},Et)})})}function ee(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.id}/polls.json`,{method:"get",params:h({},Et)})})}function Q(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.id}/homework_commons.json`,{method:"get",params:h({},Et)})})}function ue(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.id}/course_groups.json`,{method:"get",params:h({},Et)})})}function U(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.id}/all_course_groups.json`,{method:"get",params:h({},Et)})})}function $(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.id}/attendances.json`,{method:"get",params:h({},Et)})})}function ie(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/weapps/courses/${Et.coursesId}/attendances.json`,{method:"get",params:h({},Et)})})}function _e(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/attendances/${Et.id}/edit.json`,{method:"get",params:h({},Et)})})}function Pe(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.id}/informs.json`,{method:"get",params:h({},Et)})})}function De(Et){return u(this,null,function*(){return(0,r.ZP)("/api/files.json",{method:"get",params:h({},Et)})})}function He(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.id}/course_videos.json`,{method:"get",params:h({},Et)})})}function Ne(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.id}/live_links.json`,{method:"get",params:h({},Et)})})}function Ft(Et){return u(this,null,function*(){return(0,r.ZP)("/api/courses/mine.json",{method:"get",params:h({},Et)})})}function gt(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/boards/${Et.categoryId}/messages.json`,{method:"get",params:h({},Et)})})}function Dt(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.id}/course_groups.json`,{method:"get",params:h({},Et)})})}function rr(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.id}/students.json`,{method:"get",params:h({},Et)})})}function Xt(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.coursesId}/statistics.json`,{method:"get",params:h({},Et)})})}function fr(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.coursesId}/work_score.json`,{method:"get",params:h({},Et)})})}function Ge(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.coursesId}/act_score.json`,{method:"get",params:h({},Et)})})}function Tt(Et){return u(this,null,function*(){return(0,r.ZP)("/api/shixun_lists.json",{method:"get",params:h({},Et)})})}function zt(Et){return u(this,null,function*(){return(0,r.ZP)("/api/item_banks.json",{method:"get",params:h({},Et)})})}function nt(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et==null?void 0:Et.course_id}/homework_commons/impersonal_list.json`,{method:"get",params:h({},Et)})})}function bt(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.coursesId}/homework_commons/create_shixun_homework.json`,{method:"post",body:h({},Et)})})}function dt(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et==null?void 0:Et.course_id}/homework_commons/create_collaborators.json`,{method:"post",body:h({},Et)})})}function et(Et){return u(this,null,function*(){return(0,r.ZP)("/api/subject_lists.json",{method:"get",params:h({},Et)})})}function ze(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.coursesId}/homework_commons/create_subject_homework.json`,{method:"post",body:h({},Et)})})}function ge(Et){return u(this,null,function*(){return(0,r.ZP)("/api/schools/school_list.json",{method:"get",params:Et})})}function Se(Et){return u(this,null,function*(){return(0,r.ZP)("/api/courses/search_course_list.json",{method:"post",body:Et})})}function Le(Et){return u(this,null,function*(){return(0,r.ZP)("/api/courses.json",{method:"post",body:Et})})}function $e(Et){return u(this,null,function*(){return(0,r.ZP)("/api/add_school_applies.json",{method:"post",body:Et})})}function We(Et){return u(this,null,function*(){return(0,r.ZP)("/api/users/member_search.json",{method:"get",params:Et})})}function rt(Et){return u(this,null,function*(){return(0,r.ZP)("/api/student_groups.json",{method:"get",params:h({page:1,limit:1e3},Et)})})}function ot(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.identifier}/add_student_groups.json`,{method:"post",body:Et})})}function Kt(Et){return u(this,null,function*(){return(0,r.ZP)("/api/courses/search_all.json",{method:"get",params:Et})})}function Wt(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.coursesId}/add_teacher.json`,{method:"post",body:Et})})}function Ce(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.coursesId}/add_students_by_search.json`,{method:"post",body:Et})})}function Je(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.coursesId}/set_public_or_private.json`,{method:"post",body:Et})})}function Yt(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.coursesId}/set_invite_code_halt.json`,{method:"post",body:Et})})}function kt(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.coursesId}/duplicate_course.json`,{method:"post",body:Et})})}function Ht(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.coursesId}/update_end_date.json`,{method:"put",body:Et})})}function $t(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.coursesId}.json`,{method:"delete",body:Et})})}function tr(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.coursesId}/settings.json`,{method:"get",params:h({},Et)})})}function Gt(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.coursesId}.json`,{method:"put",body:Et})})}function Me(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.coursesId}/export_couser_info.json`,{method:"get",params:{export:!0}})})}function ce(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.coursesId}/export_member_act_score_async.json`,{method:"get",params:h({export:!0},Et)})})}function he(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.coursesId}/export_total_homework_commons_score.json`,{method:"get",params:h({export:!0},Et)})})}function Pt(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.coursesId}/export_total_exercises_and_other_score.json`,{method:"get",params:h({export:!0},Et)})})}function Te(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.coursesId}/export_star_user.json`,{method:"get",params:h({export:!0},Et)})})}function ct(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.coursesId}/export_mooc_records.json`,{method:"get",params:h({export:!0},Et)})})}function Zt(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.coursesId}/export_total_course_score.json`,{method:"get",params:h({export:!0},Et)})})}function wt(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Et.categoryId}/export_scores.json`,{method:"get",params:h({export:!0},Et)})})}function Ie(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Et.categoryId}/export_shixun_report.json`,{method:"get",params:h({export:!0},Et)})})}function xt(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/exercises/${Et.categoryId}/export_exercise_users.json`,{method:"get",params:h({export:!0},Et)})})}function be(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/exercises/${Et.categoryId}/export_exercise_word.json`,{method:"get",params:h({export:!0},Et)})})}function Ye(Et){return u(this,null,function*(){return Fetch(`/api/homework_commons/${Et.categoryId}/works_list.zip`,{method:"get",params:h({export:!0},Et)})})}function mt(Et){return u(this,null,function*(){return(0,r.ZP)(`/api//course_second_categories/${Et.id}.json`,{method:"delete",params:{export:!0}})})}function Lt(Et){return u(this,null,function*(){return(0,r.ZP)(`/api//boards/${Et.id}.json`,{method:"delete",params:{export:!0}})})}function Fe(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/course_modules/${Et.id}/sticky_module.json`,{method:"get"})})}function Or(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/course_modules/${Et.id}/hidden_module.json`,{method:"get"})})}function St(Et){return u(this,null,function*(){return(0,r.ZP)("/api/courses/new.json",{method:"get",params:Et})})}function Vr(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/weapps/attendances/${Et.id}.json`,{method:"get",params:Et})})}function tn(Et){return u(this,null,function*(){return(0,r.ZP)("/api/weapps/course_member_attendances.json",{method:"get",params:Et})})}function wr(Et){return u(this,null,function*(){return(0,r.ZP)("/api/weapps/course_member_attendances/update_status.json",{method:"post",body:Et})})}function Nr(Et){return u(this,null,function*(){return Fetch(`/api/polls/${Et.categoryId}/commit_result.xlsx`,{method:"get",params:h({export:!0},Et)})})}function gr(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/exercises/${Et.categoryId}/export_scores.json`,{method:"get",params:h({export:!0},Et)})})}function Ur(Et){return(0,r.ZP)(`/api/polls/${Et.categoryId}/start_answer.json`,{method:"get",params:h({},Et)})}function cn(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/poll_questions/${Et.questionId}/poll_votes.json`,{method:"post",body:Et})})}function hn(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/polls/${Et.categoryId}/commit_poll.json`,{method:"post",body:Et})})}function ur(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.courseId}/tasks_list.json`,{method:"get",params:Et})})}function Rt(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.courseId}/update_task_position.json`,{method:"post",body:Et})})}function _t(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.coursesId}/calculate_all_shixun_scores.json`,{method:"get",params:Et})})}function vt(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.coursesId}/all_course_groups.json`,{method:"get",params:Et})})}function jt(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.coursesId}/polls/all_course_groups.json`,{method:"get",params:Et})})}function Cr(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.coursesId}/students.json`,{method:"get",params:Et})})}function yr(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/course_groups/${Et.categoryId}/rename_group.json`,{method:"POST",body:Et})})}function nn(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/course_groups/${Et.categoryId}.json`,{method:"delete",body:Et})})}function Kr(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.coursesId}/join_course_group.json`,{method:"POST",body:Et})})}function Ln(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.coursesId}/transfer_to_course_group.json`,{method:"post",body:Et})})}function At(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.coursesId}/delete_from_course.json`,{method:"post",body:Et})})}function cr(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.coursesId}/join_course_group.json`,{method:"post",body:Et})})}function Qr(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.coursesId}/exit_course.json`,{method:"post"})})}function yn(Et){return u(this,null,function*(){return(0,r.ZP)("/api/weapps/course_member_attendances.json",{method:"post",body:h({},Et)})})}function Gn(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.coursesId}/mooc_users/${Et.user_id}/edit.json`,{method:"get",params:Et})})}function fi(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.coursesId}/mooc_users.json`,{method:"post",body:Et})})}function Xn(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.coursesId}/mooc_users/${Et.user_id}.json`,{method:"put",body:Et})})}function Ki(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/course_second_categories/${Et.id}/move_category.json`,{method:"post",body:Et})})}function hi(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/boards/${Et.id}/move_category.json`,{method:"post",body:Et})})}function bi(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.id}/courseware.json`,{method:"get",params:Et})})}function Di(Et,it){return u(this,null,function*(){return(0,r.ZP)(`/api/exercises/${Et}/mark_wrong_topic.json`,{method:"get",params:it})})}function wi(Et,it){return u(this,null,function*(){return(0,r.ZP)(`/api/exercises/${Et}/cancel_wrong_topic.json`,{method:"get",params:it})})}function fa(Et,it){return u(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Et}/allow_end_group.json`,{method:"get",params:it})})}function ri(Et,it){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et}/homework_commons/end_with_homework_list_position.json`,{method:"post",body:it})})}function la(Et,it){return u(this,null,function*(){return(0,r.ZP)(`/api/tasks/${Et}/get_content_for_commit_id.json`,{method:"get",params:it})})}},65906:function(d,v,e){"use strict";e.d(v,{$M:function(){return Xt},$P:function(){return Kt},Ax:function(){return x},Dh:function(){return k},FU:function(){return H},GQ:function(){return ee},IN:function(){return ze},JM:function(){return $e},Ju:function(){return rr},Mn:function(){return et},Ni:function(){return ie},Pg:function(){return R},Pt:function(){return S},Qp:function(){return V},R9:function(){return ae},Ux:function(){return se},Vy:function(){return He},XJ:function(){return $},XR:function(){return gt},Ze:function(){return B},aq:function(){return M},bQ:function(){return _},bu:function(){return p},cC:function(){return a},jS:function(){return oe},lm:function(){return ge},ml:function(){return ue},o3:function(){return Ge},pA:function(){return zt},pS:function(){return Le},pU:function(){return U},ps:function(){return G},q0:function(){return bt},qN:function(){return dt},qS:function(){return b},qj:function(){return Ft},qt:function(){return rt},rV:function(){return A},rZ:function(){return We},rk:function(){return Pe},rm:function(){return J},sK:function(){return q},sL:function(){return nt},su:function(){return Se},tC:function(){return De},tO:function(){return Ne},u9:function(){return Q},uZ:function(){return _e},vV:function(){return K},xx:function(){return Wt},y8:function(){return Dt},yS:function(){return N},zF:function(){return y},zc:function(){return ne},zj:function(){return P},zz:function(){return ot}});var r=e(82093),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,o=(Ce,Je,Yt)=>Je in Ce?i(Ce,Je,{enumerable:!0,configurable:!0,writable:!0,value:Yt}):Ce[Je]=Yt,h=(Ce,Je)=>{for(var Yt in Je||(Je={}))c.call(Je,Yt)&&o(Ce,Yt,Je[Yt]);if(l)for(var Yt of l(Je))f.call(Je,Yt)&&o(Ce,Yt,Je[Yt]);return Ce},u=(Ce,Je,Yt)=>new Promise((kt,Ht)=>{var $t=Me=>{try{Gt(Yt.next(Me))}catch(ce){Ht(ce)}},tr=Me=>{try{Gt(Yt.throw(Me))}catch(ce){Ht(ce)}},Gt=Me=>Me.done?kt(Me.value):Promise.resolve(Me.value).then($t,tr);Gt((Yt=Yt.apply(Ce,Je)).next())});const a=Ce=>(0,r.ZP)(`/api/competitions/${Ce.identifier}/create_guide.json`,{method:"post",body:Ce}),x=Ce=>(0,r.ZP)(`/api/competitions/${Ce.identifier}/guides.json`,{method:"get",params:Ce}),p=Ce=>(0,r.ZP)(`/api/competitions/${Ce.identifier}/competition_teams/${Ce.competition_team_id}/edit_info.json`,{method:"put",body:Ce});function y(Ce){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Ce.identifier}/update_result.json`,{method:"post",body:Ce})})}function _(Ce){return u(this,null,function*(){return(0,r.ZP)("/api/competitions.json",{method:"Get",params:h({},Ce)})})}function b(Ce){return u(this,null,function*(){return(0,r.ZP)("/api/courses/apply_to_join_course.json",{method:"post",body:Ce})})}function S(Ce){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Ce.identifier}/competition_teams.json`,{method:"post"})})}function k(Ce){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Ce.identifier}/competition_staff.json`,{method:"get"})})}function R(Ce){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Ce.identifier}/common_header.json`,{method:"get"})})}function A(Ce){return u(this,null,function*(){return(0,r.ZP)(`/api/${Ce.url}`,{method:"get",params:h({},Ce)})})}function P(Ce){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Ce.identifier}/update_md_content.json`,{method:"post",body:Ce})})}function M(Ce){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Ce.identifier}/competition_teams.json`,{method:"get",params:Ce})})}function B(Ce){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Ce.identifier}/competition_teams/${Ce.Teannameid}/edit.json`,{method:"get",params:Ce})})}function N(Ce){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Ce.identifier}/competition_teams/${Ce.Teannameid}.json`,{method:"put",body:Ce})})}function K(Ce){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Ce.identifier}/competition_teams/${Ce.id}/leave.json`,{method:"post",body:Ce})})}function G(Ce){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Ce.identifier}/competition_teams/${Ce.id}.json`,{method:"delete"})})}function H(Ce){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Ce.identifier}/competition_teams.json`,{method:"post",body:Ce})})}function ae(Ce){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Ce.id}/add_managers.json`,{method:"post",body:Ce})})}function ne(Ce){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Ce.identifier}/competition_teams/join.json`,{method:"post",body:Ce})})}function oe(Ce){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Ce.identifier}/teachers.json`,{method:"get",params:Ce})})}function q(Ce){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Ce.identifier}/students.json`,{method:"get",params:Ce})})}function J(Ce){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Ce.identifier}/competition_teams/${Ce.teamid}/crud_team_members.json`,{method:"post",body:Ce})})}function V(Ce){return u(this,null,function*(){return(0,r.ZP)("/api/users/competition_reward.json",{method:"post",body:Ce})})}function se(Ce){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Ce.identifier}/chart_rules.json`,{method:"get"})})}function ee(Ce){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Ce.identifier}/charts.json`,{method:"get",params:Ce})})}function Q(Ce){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Ce.identifier}/results.json`,{method:"get",params:Ce})})}function ue(Ce){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Ce.identifier}/md_tab_rules.json`,{method:"get",params:Ce})})}function U(Ce){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Ce.identifier}/prize.json`,{method:"get",params:Ce})})}function $(Ce){return u(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${Ce.id}.json`,{method:"get",params:Ce})})}function ie(Ce){return u(this,null,function*(){return(0,r.ZP)("/api/accounts/get_verification_code.json",{method:"get",params:Ce})})}function _e(Ce){return u(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${Ce.userid}/phone_bind.json`,{method:"post",body:Ce})})}function Pe(Ce){return u(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${Ce.userid}/email_bind.json`,{method:"post",body:Ce})})}function De(Ce){return u(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${Ce.userid}/professional_auth_apply.json`,{method:"delete"})})}function He(Ce){return u(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${Ce.userid}/authentication_apply.json`,{method:"delete"})})}function Ne(Ce){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Ce.identifier}/prize_leader_account.json`,{method:"put",body:Ce})})}function Ft(Ce){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Ce.identifier}/competition_teams/${Ce.teamid}/shixun_detail.json`,{method:"get"})})}function gt(Ce){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Ce.identifier}/competition_teams/${Ce.teamid}/course_detail.json`,{method:"get"})})}function Dt(Ce){return u(this,null,function*(){return(0,r.ZP)(`/api/attachments/${Ce.id}.json`,{method:"delete"})})}function rr(Ce){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Ce.id}/get_certificate_info.json`,{method:"get",params:Ce})})}function Xt(Ce){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Ce.id}/basic_setting.json`,{method:"post",body:Ce})})}function fr(){return u(this,null,function*(){return Fetch("/api/competitions/download_template",{method:"get",responseType:"arraybuffer"})})}function Ge(Ce){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Ce}/common_header.json`,{method:"get"})})}function Tt(Ce){return u(this,null,function*(){return Fetch("/api/competitions.json",{method:"post",body:Ce})})}function zt(Ce){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Ce==null?void 0:Ce.id}/search_managers.json`,{method:"get",params:Ce})})}function nt(Ce){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Ce}/get_managers.json`,{method:"get"})})}function bt(Ce){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Ce==null?void 0:Ce.id}/add_managers.json`,{method:"post",body:Ce})})}function dt(Ce){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Ce==null?void 0:Ce.id}/delete_managers.json`,{method:"delete",body:Ce})})}function et(Ce){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Ce}/get_picture.json`,{method:"get"})})}function ze(Ce){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Ce==null?void 0:Ce.id}/identifier_exist.json`,{method:"post",body:Ce})})}function ge(Ce){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Ce}/get_shixun_settings.json`,{method:"get"})})}function Se(Ce){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Ce==null?void 0:Ce.id}/shixun_add.json`,{method:"post",body:Ce})})}function Le(Ce){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Ce==null?void 0:Ce.id}/shixun_delete.json`,{method:"delete",body:Ce})})}function $e(Ce){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Ce==null?void 0:Ce.id}/shixun_select.json`,{method:"post",body:Ce})})}function We(Ce){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Ce}/info_finish.json`,{method:"get"})})}function rt(Ce){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Ce==null?void 0:Ce.id}/competition_review.json`,{method:"post",body:h({},Ce)})})}function ot(Ce){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Ce.identifier}/competition_teams.json`,{method:"get",params:Ce})})}function Kt(Ce){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Ce.identifier}/all_team_members.json`,{method:"get",params:Ce})})}function Wt(Ce){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Ce.identifier}/competition_commit_records/member_works.json`,{method:"get",params:Ce})})}},83325:function(d,v,e){"use strict";e.d(v,{F:function(){return b},OE:function(){return P},ff:function(){return S},p1:function(){return k},_y:function(){return _},mK:function(){return K},gq:function(){return H},eM:function(){return N},BA:function(){return oe},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 G},No:function(){return ae},ay:function(){return V}});var r=e(82093),i=Object.defineProperty,l=Object.defineProperties,c=Object.getOwnPropertyDescriptors,f=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,h=Object.prototype.propertyIsEnumerable,u=(se,ee,Q)=>ee in se?i(se,ee,{enumerable:!0,configurable:!0,writable:!0,value:Q}):se[ee]=Q,a=(se,ee)=>{for(var Q in ee||(ee={}))o.call(ee,Q)&&u(se,Q,ee[Q]);if(f)for(var Q of f(ee))h.call(ee,Q)&&u(se,Q,ee[Q]);return se},x=(se,ee)=>l(se,c(ee)),p=(se,ee)=>{var Q={};for(var ue in se)o.call(se,ue)&&ee.indexOf(ue)<0&&(Q[ue]=se[ue]);if(se!=null&&f)for(var ue of f(se))ee.indexOf(ue)<0&&h.call(se,ue)&&(Q[ue]=se[ue]);return Q},y=(se,ee,Q)=>new Promise((ue,U)=>{var $=Pe=>{try{_e(Q.next(Pe))}catch(De){U(De)}},ie=Pe=>{try{_e(Q.throw(Pe))}catch(De){U(De)}},_e=Pe=>Pe.done?ue(Pe.value):Promise.resolve(Pe.value).then($,ie);_e((Q=Q.apply(se,ee)).next())});const _=se=>y(void 0,null,function*(){var ee=se,{id:Q}=ee,ue=p(ee,["id"]);return(0,r.ZP)(`/api/ec_years/${Q}/course_results.json`,{method:"get",params:ue})}),b=se=>{let ee=document.createElement("iframe");ee.src=`/api/ec_years/${se}/course_results.xlsx`,ee.style.display="none",document.body.appendChild(ee)},S=({ec_year_id:se})=>(0,r.ZP)(`/api/ec_years/${se}/course_results/get_class.json`,{method:"get"}),k=({ec_year_id:se,id:ee,class_name:Q=null})=>(0,r.ZP)(`/api/ec_years/${se}/course_results/${ee}.json`,{method:"get",params:{class_name:Q}}),R=({ec_year_id:se})=>(0,r.ZP)("/api/ec_courses/1/evaluations/compute_all_courses_data",{method:"post",body:{ec_year_id:se}}),A=({ec_course_id:se})=>(0,r.ZP)(`/api/ec_courses/${se}/evaluations/evaluation_data`,{method:"POST"}),P=se=>{let ee=document.createElement("iframe");ee.src=`/api/ec_years/${se}/ec_graduation_results.xlsx`,ee.style.display="none",document.body.appendChild(ee)},M=({ec_year_id:se})=>(0,r.ZP)(`/api/ec_years/${se}/ec_graduation_results/compute_all`,{method:"post"}),B=({ec_year_id:se,id:ee})=>(0,r.ZP)(`/api/ec_years/${se}/ec_graduation_results/compute_single?id=${ee}`,{method:"POST"}),N=se=>(0,r.ZP)(`/api/ec_years/${se}/ec_graduation_results.json`,{method:"get"}),K=se=>(0,r.ZP)(`/api/ec_years/${se}/ec_graduation_results/get_formulas.json`,{method:"get"}),G=({ec_year_id:se,formula_one:ee,formula_two:Q,formula_three:ue})=>(0,r.ZP)(`/api/ec_years/${se}/ec_graduation_results/set_formulas.json`,{method:"PUT",body:{formula_one_id:ee,formula_two_id:Q,formula_three_id:ue}}),H=({ec_year_id:se,id:ee})=>(0,r.ZP)(`/api/ec_years/${se}/ec_graduation_results/${ee}.json`,{method:"get"}),ae=se=>{var ee=se,{ec_year_id:Q,type:ue,goal_value:U}=ee,$=p(ee,["ec_year_id","type","goal_value"]);let ie=`?type=${ue}`,_e={method:"PUT"};return ue==="all"&&(ie+=`&goal_value=${U}`),ue==="each"&&(_e=x(a({},_e),{body:$})),(0,r.ZP)(`/api/ec_years/${Q}/ec_graduation_results/set_goal_value${ie}`,_e)};var ne=(se,ee,Q)=>new Promise((ue,U)=>{var $=Pe=>{try{_e(Q.next(Pe))}catch(De){U(De)}},ie=Pe=>{try{_e(Q.throw(Pe))}catch(De){U(De)}},_e=Pe=>Pe.done?ue(Pe.value):Promise.resolve(Pe.value).then($,ie);_e((Q=Q.apply(se,ee)).next())});const oe=se=>ne(void 0,null,function*(){return(0,r.ZP)(`/api/schools/${se}/ec_majors/get_major_list.json`,{method:"get"})}),q=se=>ne(void 0,null,function*(){return(0,r.ZP)(`/api/ec_major_schools/${se}/ec_years/get_year_list.json`,{method:"get"})}),J=({ec_year_id:se,school_id:ee})=>(0,r.ZP)(`/api/ec_years/${se}/top_pages.json`,{method:"get",params:{school_id:ee}}),V=({id:se,name:ee})=>(0,r.ZP)(`/api/ec_years/1/top_pages/${se}?name=${ee}`,{method:"PUT"})},72664:function(d,v,e){"use strict";e.d(v,{$Q:function(){return P},$l:function(){return yr},BJ:function(){return dt},CD:function(){return Je},Cd:function(){return rt},Cl:function(){return Fe},Di:function(){return fr},Fl:function(){return zt},G$:function(){return ue},GK:function(){return Tt},Ip:function(){return ge},J:function(){return U},KE:function(){return nt},L8:function(){return Gt},LP:function(){return Se},MK:function(){return Ge},Mb:function(){return wr},N0:function(){return G},N3:function(){return Ne},OO:function(){return R},P8:function(){return hn},PJ:function(){return ie},PT:function(){return gr},Qc:function(){return ae},RK:function(){return Q},Ty:function(){return Ye},UH:function(){return ct},UK:function(){return Ft},Uj:function(){return Wt},Ul:function(){return We},VL:function(){return Ht},Vj:function(){return ce},W4:function(){return Kt},WL:function(){return he},Wj:function(){return ee},X4:function(){return ze},Xn:function(){return Vr},Xo:function(){return oe},YY:function(){return Xt},Ym:function(){return N},Yu:function(){return ur},ZD:function(){return cn},Zg:function(){return Or},_B:function(){return Ce},_F:function(){return Nr},_U:function(){return J},_u:function(){return _e},aU:function(){return K},ab:function(){return Lt},cC:function(){return be},cV:function(){return V},ck:function(){return Ur},dp:function(){return H},eA:function(){return jt},fG:function(){return S},gA:function(){return se},gG:function(){return tn},gJ:function(){return Rt},hk:function(){return y},hv:function(){return _},iB:function(){return b},iU:function(){return k},iw:function(){return xt},kp:function(){return $t},lL:function(){return A},lf:function(){return He},n$:function(){return De},n7:function(){return q},nF:function(){return Me},o3:function(){return _t},oS:function(){return Le},oX:function(){return kt},oy:function(){return mt},p7:function(){return B},pL:function(){return Yt},pu:function(){return et},q6:function(){return tr},qf:function(){return rr},qz:function(){return $e},s:function(){return wt},sA:function(){return Pt},sS:function(){return vt},tX:function(){return Zt},uR:function(){return gt},ux:function(){return bt},wy:function(){return Dt},xA:function(){return Ie},yE:function(){return ne},yu:function(){return Te},zP:function(){return M},zR:function(){return Cr}});var r=e(82093),i=Object.defineProperty,l=Object.defineProperties,c=Object.getOwnPropertyDescriptors,f=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,h=Object.prototype.propertyIsEnumerable,u=(At,cr,Qr)=>cr in At?i(At,cr,{enumerable:!0,configurable:!0,writable:!0,value:Qr}):At[cr]=Qr,a=(At,cr)=>{for(var Qr in cr||(cr={}))o.call(cr,Qr)&&u(At,Qr,cr[Qr]);if(f)for(var Qr of f(cr))h.call(cr,Qr)&&u(At,Qr,cr[Qr]);return At},x=(At,cr)=>l(At,c(cr)),p=(At,cr,Qr)=>new Promise((yn,Gn)=>{var fi=hi=>{try{Ki(Qr.next(hi))}catch(bi){Gn(bi)}},Xn=hi=>{try{Ki(Qr.throw(hi))}catch(bi){Gn(bi)}},Ki=hi=>hi.done?yn(hi.value):Promise.resolve(hi.value).then(fi,Xn);Ki((Qr=Qr.apply(At,cr)).next())});const y=At=>(0,r.ZP)(`/api/exercises/${At==null?void 0:At.exercise_id}/statistics/list_student_score_by_question_type.json`,{method:"get",params:At}),_=At=>(0,r.ZP)(`/api/exercises/${At==null?void 0:At.exercise_id}/statistics/list_student_score_by_question.json`,{method:"get",params:At}),b=At=>(0,r.ZP)(`/api/exercises/${At.exercise_id}/statistics/export_class_compare.xlsl`,{method:"get",params:At}),S=At=>(0,r.ZP)(`/api/exercises/${At.exercise_id}/statistics/class_question_compare.json`,{method:"get",params:At}),k=At=>(0,r.ZP)(`/api/exercises/${At==null?void 0:At.exercise_id}/statistics/class_score_distribution.json`,{method:"get",params:At}),R=At=>(0,r.ZP)(`/api/exercises/${At==null?void 0:At.exercise_id}/statistics/list_student_score.json`,{method:"get",params:At}),A=At=>(0,r.ZP)(`/api/exercises/${At==null?void 0:At.exercise_id}/statistics/set_score_ranges.json`,{method:"put",body:At}),P=At=>(0,r.ZP)(`/api/exercises/${At==null?void 0:At.exercise_id}/statistics/score_ranges.json`,{method:"get",params:At}),M=At=>(0,r.ZP)(`/api/exercises/${At.id}/sava_exam_summary.json`,{method:"post",body:At}),B=At=>(0,r.ZP)("/api/intelligent_reviews/exam_summary.json",{method:"post",body:At}),N=At=>(0,r.ZP)(`/api/exercises/${At.id}/generate_exam_summary.json`,{method:"post",body:At}),K=At=>(0,r.ZP)(`/api/exercises/${At.id}/exam_summary_settings.json`,{method:"post",body:At}),G=At=>p(void 0,null,function*(){return(0,r.ZP)(`/api/exercises/${At==null?void 0:At.exercise_id}/review_exercise_user.json`,{method:"post",body:At})}),H=At=>(0,r.ZP)(`/api/exercises/${At==null?void 0:At.id}/code_check.json`,{method:"get",params:At}),ae=At=>(0,r.ZP)(`/api/exercises/${At.id}/reset_pwd.json`,{method:"post",body:At}),ne=At=>(0,r.ZP)(`/api/exercises/${At.id}/encrypt_or_decrypt.json`,{method:"post",body:At}),oe=At=>p(void 0,null,function*(){return(0,r.ZP)(`/api/exercises/${At.id}/delayed_time_or_force.json`,{method:"post",body:At})}),q=At=>p(void 0,null,function*(){return(0,r.ZP)(`/api/exercises/${At==null?void 0:At.id}/exercise_time.json`,{method:"Get",params:At})}),J=At=>(0,r.ZP)(`/api/exercises/${At==null?void 0:At.id}/exercise_question_result.json`,{method:"get",params:At}),V=At=>(0,r.ZP)(`/api/exercises/${At.id}/get_question_type_alias.json`,{method:"get",params:At});function se(At){return p(this,null,function*(){return(0,r.ZP)(`/api/exercise_questions/${At==null?void 0:At.id}/teacher_update.json`,{method:"post",body:a({},At)})})}function ee(At){return p(this,null,function*(){return(0,r.ZP)(`/api/exercise_questions/${At==null?void 0:At.id}/adjust_comment.json`,{method:"post",body:a({},At)})})}function Q(At){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${At.id}/edit_question_type_alias.json`,{method:"POST",body:At})})}function ue(At){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${At.categoryId}/exercise_lists.json`,{method:"get",params:a({},At)})})}function U(At){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${At.categoryId}/exercise_identity_photos.json`,{method:"get",params:a({},At)})})}function $(At){return p(this,null,function*(){return Fetch(`/api/exercises/${At.categoryId}/video_push_url.json`,{method:"get",params:a({},At)})})}function ie(At){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${At.categoryId}/query_identity_photo_state.json`,{method:"get",params:a({},At)})})}function _e(At){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${At.categoryId}/exercise_result.json`,{method:"get",params:a({},At)})})}function Pe(At){return p(this,null,function*(){return Fetch(`/api/exercises/${At.categoryId}/exercise_score_area_setting.json`,{method:"post",body:a({},At)})})}function De(At){return p(this,null,function*(){return(0,r.ZP)("/api/question_banks/bank_list.json",{method:"get",params:a({},At)})})}function He(At){return p(this,null,function*(){return(0,r.ZP)("/api/question_banks/save_banks.json",{method:"POST",body:a({},At)})})}function Ne(At){return p(this,null,function*(){return(0,r.ZP)(`/api/courses/${At.coursesId}/exercises/publish_modal.json`,{method:"get",params:a({},At)})})}function Ft(At){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${At.categoryId}/common_header.json`,{method:"get",params:a({},At)})})}function gt(At){return p(this,null,function*(){return(0,r.ZP)(`/api/courses/${At.coursesId}/exercises.json`,{method:"post",body:a({},At)})})}function Dt(At){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${At.exerciseId}.json`,{method:"put",body:a({},At)})})}function rr(At){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${At.categoryId}.json`,{method:"get",params:a({},At)})})}function Xt(At){return p(this,null,function*(){return(0,r.ZP)("/api/tag_disciplines.json",{method:"get",params:a({},At)})})}function fr(At){return p(this,null,function*(){const{id:cr}=At;return delete At.id,(0,r.ZP)(`/api/exercise_questions/${cr}.json`,{method:"put",body:a({},At)})})}function Ge(At){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${At.categoryId}/exercise_questions.json`,{method:"post",body:a({},At)})})}function Tt(At){return p(this,null,function*(){return(0,r.ZP)(`/api/exercise_questions/${At.id}/up_down.json`,{method:"post",body:a({},At)})})}function zt(At){return p(this,null,function*(){return(0,r.ZP)(`/api/exercise_questions/${At.id}.json`,{method:"delete"})})}function nt(At){return p(this,null,function*(){return(0,r.ZP)(`/api/courses/${At.coursesId}/exercises/end_modal.json`,{method:"get",params:a({},At)})})}function bt(At){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${At.categoryId}/publish_groups.json`,{method:"get",params:a({},At)})})}function dt(At){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${At.exerciseId}/user_exercise_detail.json`,{method:"get",params:a({},At)})})}function et(At){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${At.exerciseId}/consult_exercise.json`,{method:"post",body:a({},At)})})}function ze(At){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${At.exerciseId}/teacher_appraise.json`,{method:"get",params:a({},At)})})}function ge(At){return p(this,null,function*(){return(0,r.ZP)(`/api/exercise_questions/${At.id}/adjust_score.json`,{method:"post",body:a({},At)})})}function Se(At){return p(this,null,function*(){return(0,r.ZP)(`/api/exercise_questions/${At.id}/batch_adjust_score.json`,{method:"post",body:a({},At)})})}function Le(At){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${At.id}/adjust_score.json`,{method:"post",body:a({},At)})})}function $e(At){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${At.id}/delayed_time.json`,{method:"post",body:a({},At)})})}function We(At){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${At.categoryId}/exercise_setting.json`,{method:"get",params:a({},At)})})}function rt(At){return p(this,null,function*(){return(0,r.ZP)(`/api/v2/exercises/${At.categoryId}/exercise_setting.json`,{method:"get",params:a({},At)})})}function ot(At){return p(this,null,function*(){return Fetch(`/api/exercises/${At.categoryId}/commit_setting.json`,{method:"post",body:a({},At)})})}function Kt(At){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${At.exerciseId}/review_exercises_by_students.json`,{method:"post",body:a({},At)})})}function Wt(At){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${At.categoryId}/exercise_lists.xlsx`,{method:"get",params:x(a({},At),{export:!0})})})}function Ce(At){return(0,r.ZP)(`/api/exercises/${At.categoryId}/user_exercise_detail.json`,{method:"get",params:x(a({},At),{login:null})})}function Je(At){return(0,r.ZP)(`/api/exercises/${At.categoryId}/start.json`,{method:"get",params:a({},At)})}function Yt(At){return(0,r.ZP)(`/api/exercises/${At.categoryId}/start_unlock.json`,{method:"post",body:a({},At)})}function kt(At){return p(this,null,function*(){return(0,r.ZP)(`/api/exercise_questions/${At.questionId}/exercise_answers.json`,{method:"post",body:At})})}function Ht(At){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${At.categoryId}/commit_exercise.json`,{method:"post",body:At})})}function $t(At){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${At.categoryId}/simulate_commit_exercise.json`,{method:"post",body:At})})}function tr(At){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${At.categoryId}/redo_exercise.json`,{method:"post",body:At})})}function Gt(At){return(0,r.ZP)(`/api/${At.url}`,{method:"get",params:a({},At)})}function Me(At){return(0,r.ZP)(`/api/problems/${At.id}/start.json`,{method:"get",params:a({},At)})}function ce(At){return(0,r.ZP)(`/api/exercises/${At.id}/begin_commit.json`,{method:"get",params:a({},At)})}function he(At){return(0,r.ZP)(`/api/exercises/${At.id}/simulate_begin_commit.json`,{method:"get",params:a({},At)})}function Pt(At){return(0,r.ZP)("/api/examination_intelligent_settings/optional_items.json",{method:"post",body:a({},At)})}function Te(At){return console.log("params:",At),(0,r.ZP)(`/api/exercises/${At.categoryId}/edit.json`,{method:"get",params:a({},At)})}function ct(At){return(0,r.ZP)(`/api/exercises/${At.id}/get_objective_scores.json`,{method:"get",params:a({},At)})}function Zt(At){return(0,r.ZP)(`/api/exercises/${At.categoryId}/redo_modal.json`,{method:"get",params:a({},At)})}function wt(At){return(0,r.ZP)(`/api/exercises/${At.categoryId}/student_redo_lists.json`,{method:"get",params:a({},At)})}function Ie(At){return(0,r.ZP)("/api/exercises/get_user_exercises.json",{method:"get",params:At})}function xt(At){return(0,r.ZP)(`/api/exercises/${At.id}/exercise_header.json`,{method:"get",params:a({},At)})}function be(At){return(0,r.ZP)(`/api/exercises/${At.categoryId}/allow_close_camera.json`,{method:"post",body:a({},At)})}function Ye(At){return(0,r.ZP)(`/api/exercises/${At.categoryId}/get_exercise_user_info.json`,{method:"get",params:a({},At)})}function mt(At){return(0,r.ZP)(`/api/exercises/${At.id}/record_screen`,{method:"post",params:a({},At)})}function Lt(At){return(0,r.ZP)(`/api/exercises/${At.id}/unbind_ip.json`,{method:"post",body:a({},At)})}function Fe(At){return(0,r.ZP)(`/api/exercises/${At.id}/check_ip.json`,{method:"get",params:a({},At)})}function Or(At){return(0,r.ZP)(`/api/exercises/${At==null?void 0:At.id}/check_user_exercise.json`,{method:"get",params:a({},At)})}function St(At){return Fetch(`/api/exercises/${At.id}/make_up_students.json`,{method:"get",params:a({},At)})}function Vr(At){return p(this,null,function*(){return(0,r.ZP)(`/api/courses/${At.coursesId}/exercises/code_review_detail.json`,{method:"get",params:a({},At)})})}function tn(At){return p(this,null,function*(){return(0,r.ZP)(`/api/exercise_questions/${At.question_id}/adjust_score.json`,{method:"post",body:a({},At)})})}function wr(At){return p(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${At.categoryId}/simulate_exercise.json`,{method:"post",body:a({},At)})})}function Nr(At){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${At.categoryId}/simulate_start_answer.json`,{method:"get",params:a({},At)})})}function gr(At){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${At.categoryId}/exercise_time.json`,{method:"get",params:a({},At)})})}function Ur(At){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${At.categoryId}/commit_screen_at.json`,{method:"post",body:a({},At)})})}function cn(At,cr){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${At}/unlock_user`,{method:"post",body:cr})})}function hn(At,cr){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${At}/save_screen_record.json`,{method:"post",body:cr})})}function ur(At,cr){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${At}/screen_record_list.json`,{method:"get",params:cr})})}function Rt(At){return p(this,null,function*(){return(0,r.ZP)("/api/attachments/set_ecs_attachment.json",{method:"get",params:a({},At)})})}function _t(At){return p(this,null,function*(){return(0,r.ZP)("/api/exercises/need_redo.json",{method:"get",params:At})})}function vt(At,cr){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${At}/mark.json`,{method:"post",body:cr})})}function jt(At){return p(this,null,function*(){return(0,r.ZP)(`/api/myshixuns/${At}/exit_delete_pod.json`,{method:"post",body:At})})}function Cr(At){return p(this,null,function*(){return(0,r.ZP)("/api/users/change_exercise_score.json",{method:"put",body:At})})}function yr(At){return p(this,null,function*(){return(0,r.ZP)(`/api/exercise_questions/${At==null?void 0:At.id}/send_to_item_bank.json`,{method:"post",body:a({},At)})})}function nn(At){return p(this,null,function*(){return Fetch(`/api/ai/wrong_question_push_charts/${At.exercise_id}/wrong_details.json`,{method:"get",params:a({},At)})})}function Kr(At){return p(this,null,function*(){return Fetch(`/api/ai/wrong_question_push_charts/${At.exercise_id}/wrong_question.json`,{method:"get",params:a({},At)})})}function Ln(At){return p(this,null,function*(){return Fetch(`/api/ai/wrong_question_push_charts/${At.exercise_id}/wrong_question_lists.json`,{method:"get",params:a({},At)})})}},14195:function(d,v,e){"use strict";e.d(v,{B0:function(){return p},Si:function(){return R},Sr:function(){return P},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 N},vL:function(){return B},z5:function(){return K}});var r=e(82093),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,o=(G,H,ae)=>H in G?i(G,H,{enumerable:!0,configurable:!0,writable:!0,value:ae}):G[H]=ae,h=(G,H)=>{for(var ae in H||(H={}))c.call(H,ae)&&o(G,ae,H[ae]);if(l)for(var ae of l(H))f.call(H,ae)&&o(G,ae,H[ae]);return G},u=(G,H,ae)=>new Promise((ne,oe)=>{var q=se=>{try{V(ae.next(se))}catch(ee){oe(ee)}},J=se=>{try{V(ae.throw(se))}catch(ee){oe(ee)}},V=se=>se.done?ne(se.value):Promise.resolve(se.value).then(q,J);V((ae=ae.apply(G,H)).next())});function a(G){return u(this,null,function*(){return(0,r.ZP)("/api/memos.json",{method:"get",params:G})})}function x(G){return u(this,null,function*(){return(0,r.ZP)("/api/discusses/forum_discusses.json",{method:"get",params:G})})}function p(G){return u(this,null,function*(){return(0,r.ZP)(`/api/memos/${G.id}/sticky_or_cancel.json`,{method:"post",body:G})})}function y(G){return u(this,null,function*(){return(0,r.ZP)(`/api/memos/${G.id}.json`,{method:"delete",body:G})})}function _(G){return u(this,null,function*(){return(0,r.ZP)("/api/memos/new.json",{method:"get",params:G})})}function b(G){return u(this,null,function*(){return(0,r.ZP)(`/api/memos/${G.id}/edit.json`,{method:"get",params:G})})}function S(G){return u(this,null,function*(){return(0,r.ZP)("/api/memos.json",{method:"post",body:h({},G)})})}function k(G){return u(this,null,function*(){return(0,r.ZP)(`/api/memos/${G.id}.json`,{method:"put",body:h({},G)})})}function R(G){return u(this,null,function*(){return(0,r.ZP)(`/api/memos/${G.id}.json`,{method:"get",params:G})})}function A(G){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${G.user_id}/watch.json`,{method:"post",body:G})})}function P(G){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${G.user_id}/watch.json`,{method:"delete",body:h({},G)})})}function M(G){return u(this,null,function*(){return(0,r.ZP)(`/api/discusses/${G.id}/reward_code.json`,{method:"post",body:G})})}function B(G){return u(this,null,function*(){return(0,r.ZP)(`/api/discusses/${G.id}/plus.json`,{method:"post",body:G})})}function N(G){return u(this,null,function*(){return(0,r.ZP)("/api/memos/reply.json",{method:"post",body:G})})}function K(G){return u(this,null,function*(){return(0,r.ZP)(`/api/memos/${G.id}/more_reply.json`,{method:"get",params:G})})}},92890:function(d,v,e){"use strict";e.d(v,{D2:function(){return a},n0:function(){return x},tk:function(){return p}});var r=e(82093),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{P(b.next(M))}catch(B){k(B)}},A=M=>{try{P(b.throw(M))}catch(B){k(B)}},P=M=>M.done?S(M.value):Promise.resolve(M.value).then(R,A);P((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})})}},65583:function(d,v,e){"use strict";e.d(v,{B6:function(){return p},Gr:function(){return N},Mf:function(){return P},NA:function(){return R},PC:function(){return S},PP:function(){return k},QA:function(){return x},RP:function(){return H},Sv:function(){return G},YQ:function(){return A},_n:function(){return ae},hL:function(){return B},je:function(){return b},mM:function(){return _},wA:function(){return K},x_:function(){return y},y0:function(){return M},y3:function(){return a}});var r=e(82093),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,o=(ne,oe,q)=>oe in ne?i(ne,oe,{enumerable:!0,configurable:!0,writable:!0,value:q}):ne[oe]=q,h=(ne,oe)=>{for(var q in oe||(oe={}))c.call(oe,q)&&o(ne,q,oe[q]);if(l)for(var q of l(oe))f.call(oe,q)&&o(ne,q,oe[q]);return ne},u=(ne,oe,q)=>new Promise((J,V)=>{var se=ue=>{try{Q(q.next(ue))}catch(U){V(U)}},ee=ue=>{try{Q(q.throw(ue))}catch(U){V(U)}},Q=ue=>ue.done?J(ue.value):Promise.resolve(ue.value).then(se,ee);Q((q=q.apply(ne,oe)).next())});function a(ne){return u(this,null,function*(){return(0,r.ZP)(`/api/graduation_tasks/${ne.categoryId}.json`,{method:"get",params:h({},ne)})})}function x(ne){return u(this,null,function*(){return(0,r.ZP)(`/api/graduation_tasks/${ne.categoryId}/tasks_list.json`,{method:"get",params:h({},ne)})})}function p(ne){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${ne.coursesId}/graduation_topics/${ne.categoryId}/show_detail.json`,{method:"get",params:h({},ne)})})}function y(ne){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${ne.coursesId}/graduation_topics/${ne.categoryId}.json`,{method:"get",params:h({},ne)})})}function _(ne){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${ne.coursesId}/graduation_topics/${ne.categoryId}/refuse_student_topic.json`,{method:"post",body:h({},ne)})})}function b(ne){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${ne.coursesId}/graduation_topics/${ne.categoryId}/accept_student_topic.json`,{method:"post",body:h({},ne)})})}function S(ne){return u(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${ne.categoryId}/show_comment.json`,{method:"get",params:h({},ne)})})}function k(ne){return u(this,null,function*(){return(0,r.ZP)("/api/users/reply_message.json",{method:"post",body:h({},ne)})})}function R(ne){return u(this,null,function*(){return(0,r.ZP)("/api/praise_tread/like.json",{method:"post",body:h({},ne)})})}function A(ne){return u(this,null,function*(){return(0,r.ZP)("/api/praise_tread/unlike.json",{method:"delete",body:h({},ne)})})}function P(ne){return u(this,null,function*(){return(0,r.ZP)("/api/commons/delete.json",{method:"delete",body:h({},ne)})})}function M(ne){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${ne.coursesId}/graduation_topics/new.json`,{method:"get",params:h({},ne)})})}function B(ne){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${ne.coursesId}/graduation_topics/${ne.categoryId}/edit.json`,{method:"get",params:h({},ne)})})}function N(ne){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${ne.coursesId}/graduation_topics`,{method:"post",body:h({},ne)})})}function K(ne){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${ne.coursesId}/graduation_topics/${ne.categoryId}`,{method:"put",body:h({},ne)})})}function G(ne){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${ne.coursesId}/graduation_tasks`,{method:"post",body:h({},ne)})})}function H(ne){return u(this,null,function*(){return(0,r.ZP)(`/api/graduation_tasks/${ne.categoryId}.json`,{method:"put",body:h({},ne)})})}function ae(ne){return u(this,null,function*(){return(0,r.ZP)(`/api/graduation_tasks/${ne.categoryId}/edit.json`,{method:"get",params:h({},ne)})})}},86645:function(d,v,e){"use strict";e.d(v,{AA:function(){return K},Db:function(){return x},Dd:function(){return b},F7:function(){return q},Fi:function(){return ue},H3:function(){return _},HF:function(){return k},HH:function(){return y},Ib:function(){return se},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 oe},Tz:function(){return a},V1:function(){return ee},Wz:function(){return f},Xh:function(){return p},Xw:function(){return ne},YS:function(){return H},Zd:function(){return Q},bS:function(){return P},ck:function(){return S},eh:function(){return N},il:function(){return h},j7:function(){return u},jW:function(){return G},km:function(){return ae},l5:function(){return B},rU:function(){return U},xF:function(){return M},zC:function(){return V},zT:function(){return $}});var r=e(82093),i=(ie,_e,Pe)=>new Promise((De,He)=>{var Ne=Dt=>{try{gt(Pe.next(Dt))}catch(rr){He(rr)}},Ft=Dt=>{try{gt(Pe.throw(Dt))}catch(rr){He(rr)}},gt=Dt=>Dt.done?De(Dt.value):Promise.resolve(Dt.value).then(Ne,Ft);gt((Pe=Pe.apply(ie,_e)).next())});function l(ie){return(0,r.ZP)("/api/schools/search.json",{method:"get",params:ie})}function c(ie){return(0,r.ZP)(`/api/schools/${ie.id}/departments/for_option.json`,{method:"get",params:ie})}function f(ie){return(0,r.ZP)("/api/graduations.json",{method:"POST",body:ie})}function o(ie){return(0,r.ZP)("/api/graduations.json",{method:"get",params:ie})}function h(ie){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ie.identifier}/graduation_stages/${ie.stageid}/authorized_redelivery.json`,{method:"POST",body:ie})})}function u(ie){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ie.identifier}/graduation_stages/${ie.stageid}/submit.json`,{method:"POST",body:ie})})}function a(ie){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ie.id}/student_tasks/export_status.json`,{method:"get",params:ie})})}function x(ie){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ie.id}/student_tasks/export_all_attachments.json`,{method:"get",params:ie})})}function p(ie){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ie.identifier}/graduation_stages/${ie.id}.json`,{method:"get",params:ie})})}function y(ie){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ie.id}/student_tasks/set_final_score.json`,{method:"POST",body:ie})})}function _(ie){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ie.id}/student_tasks/final_score.json`,{method:"get",params:ie})})}function b(ie){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ie.id}/set_novice_guide.json`,{method:"POST",body:ie})})}function S(ie){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ie.id}/graduation_notices/${ie.doid}/set_do.json`,{method:"POST",body:ie})})}function k(ie){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ie.id}/graduation_teachers.json`,{method:"POST",body:ie})})}function R(ie){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ie.identifier}/graduation_students/${ie.id}/update_major.json`,{method:"PUT",body:ie})})}function A(ie){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ie.id}/graduation_students.json`,{method:"POST",body:ie})})}function P(ie){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ie.id}/graduation_teachers/search.json`,{method:"get",params:ie})})}function M(ie){return i(this,null,function*(){return(0,r.ZP)("/api/schools/search.json",{method:"get",params:ie})})}function B(ie){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ie.id}/graduation_students/search.json`,{method:"get",params:ie})})}function N(ie){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ie.id}/graduation_students.json`,{method:"get",params:ie})})}function K(ie){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ie.id}/graduation_teachers.json`,{method:"get",params:ie})})}function G(ie){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ie.graduation_id}/graduation_tasks.json`,{method:"POST",body:ie})})}function H(ie){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ie.graduation_id}/graduation_tasks/${ie.id}.json`,{method:"PUT",body:ie})})}function ae(ie){return i(this,null,function*(){var _e;return(0,r.ZP)(`/api/graduations/${ie.id}/graduation_tasks/${(_e=ie.ids)==null?void 0:_e[0]}`,{method:"DELETE",body:{ids:ie.ids}})})}function ne(ie){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ie.id}/graduation_tasks.json`,{method:"get",params:ie})})}function oe(ie){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ie.id}/graduation_notices.json`,{method:"get",params:ie})})}function q(ie){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ie.id}.json`,{method:"get"})})}function J(ie){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ie==null?void 0:ie.id}/common_header.json`,{method:"get"})})}function V(ie,_e){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ie}/preview.json`,{method:"get"})})}function se(ie,_e){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ie}/graduation_teachers/not_pass.json`,{method:"post",body:_e})})}function ee(ie,_e){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ie}/graduation_teachers/pass.json`,{method:"post",body:_e})})}function Q(ie,_e){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ie}/graduation_students/not_pass.json`,{method:"post",body:_e})})}function ue(ie,_e){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ie}/graduation_students/pass.json`,{method:"post",body:_e})})}function U(ie,_e){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ie}/graduation_students/batch_delete`,{method:"delete",body:_e})})}function $(ie,_e){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ie}/graduation_teachers/batch_delete`,{method:"delete",body:_e})})}},55480: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(82093),i=(p,y,_)=>new Promise((b,S)=>{var k=P=>{try{A(_.next(P))}catch(M){S(M)}},R=P=>{try{A(_.throw(P))}catch(M){S(M)}},A=P=>P.done?b(P.value):Promise.resolve(P.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})})}},93440: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(82093),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,o=(R,A,P)=>A in R?i(R,A,{enumerable:!0,configurable:!0,writable:!0,value:P}):R[A]=P,h=(R,A)=>{for(var P in A||(A={}))c.call(A,P)&&o(R,P,A[P]);if(l)for(var P of l(A))f.call(A,P)&&o(R,P,A[P]);return R},u=(R,A,P)=>new Promise((M,B)=>{var N=H=>{try{G(P.next(H))}catch(ae){B(ae)}},K=H=>{try{G(P.throw(H))}catch(ae){B(ae)}},G=H=>H.done?M(H.value):Promise.resolve(H.value).then(N,K);G((P=P.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"})})}},38746: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 P},ms:function(){return R},s0:function(){return S},vf:function(){return y},xn:function(){return x},yy:function(){return A}});var r=e(82093),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,o=(N,K,G)=>K in N?i(N,K,{enumerable:!0,configurable:!0,writable:!0,value:G}):N[K]=G,h=(N,K)=>{for(var G in K||(K={}))c.call(K,G)&&o(N,G,K[G]);if(l)for(var G of l(K))f.call(K,G)&&o(N,G,K[G]);return N},u=(N,K,G)=>new Promise((H,ae)=>{var ne=J=>{try{q(G.next(J))}catch(V){ae(V)}},oe=J=>{try{q(G.throw(J))}catch(V){ae(V)}},q=J=>J.done?H(J.value):Promise.resolve(J.value).then(ne,oe);q((G=G.apply(N,K)).next())});function a(N){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${N.coursesId}/online_learning.json`,{method:"get"})})}function x(N){return u(this,null,function*(){return(0,r.ZP)(`/api/course_stages/${N.id}.json`,{method:"put",body:N})})}function p(N){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${N.coursesId}/course_stages.json`,{method:"post",body:N})})}function y(N){return u(this,null,function*(){return(0,r.ZP)(`/api/course_stages/${N.id}/add_shixun_to_stage.json`,{method:"post",body:N})})}function _(N){return u(this,null,function*(){return(0,r.ZP)(`/api/course_stages/${N.id}/select_shixun_to_stage.json`,{method:"post",body:N})})}function b(N){return u(this,null,function*(){return(0,r.ZP)(`/api/course_stages/${N.id}/add_video_to_stage.json`,{method:"post",body:N})})}function S(N){return u(this,null,function*(){return(0,r.ZP)(`/api/course_stages/${N.id}/add_attachment_to_stage.json`,{method:"post",body:N})})}function k(N){return u(this,null,function*(){return Fetch("/api/paths/add_shixun_to_stage.json",{method:"post",body:N})})}function R(N){return u(this,null,function*(){return(0,r.ZP)(`/api/course_stages/${N.id}/up_position.json`,{method:"post"})})}function A(N){return u(this,null,function*(){return(0,r.ZP)(`/api/course_stages/${N.id}/down_position.json`,{method:"post"})})}function P(N){return u(this,null,function*(){return(0,r.ZP)(`/api/course_stages/${N.id}.json`,{method:"delete"})})}function M(N){return u(this,null,function*(){return(0,r.ZP)(`/api/course_stages/${N.stage_id}/items/move_position.json`,{method:"post",body:h({},N)})})}function B(N){return u(this,null,function*(){return(0,r.ZP)(`/api/course_stages/${N.stage_id}/items/${N.id}`,{method:"delete"})})}},47580:function(d,v,e){"use strict";e.d(v,{DF:function(){return b},Di:function(){return ee},Dm:function(){return oe},Dq:function(){return Pe},Gd:function(){return _},Hb:function(){return De},Hm:function(){return H},ID:function(){return u},JP:function(){return _e},NC:function(){return K},Pl:function(){return S},Qc:function(){return c},Qp:function(){return q},RK:function(){return x},YP:function(){return G},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 ne},kF:function(){return He},kp:function(){return P},lc:function(){return A},oF:function(){return ue},q$:function(){return h},qN:function(){return ae},tS:function(){return R},ts:function(){return B},un:function(){return V},w0:function(){return se},wX:function(){return J},yE:function(){return f}});var r=e(82093),i=(Ne,Ft,gt)=>new Promise((Dt,rr)=>{var Xt=Tt=>{try{Ge(gt.next(Tt))}catch(zt){rr(zt)}},fr=Tt=>{try{Ge(gt.throw(Tt))}catch(zt){rr(zt)}},Ge=Tt=>Tt.done?Dt(Tt.value):Promise.resolve(Tt.value).then(Xt,fr);Ge((gt=gt.apply(Ne,Ft)).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 P(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 N(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 K(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 G(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 H(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 ne(Ne){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${Ne.id}.json`,{method:"put",body:Ne})})}function oe(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 V(Ne){return i(this,null,function*(){return(0,r.ZP)("/api/examination_banks/create_exam.json",{method:"post",body:Ne})})}function se(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,Ft){return i(this,null,function*(){return Fetch(`/api/examination_banks/${Ne}/examination_banks_item_banks.json`,{method:"post",body:Ft})})}function ue(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 U(Ne,Ft){return i(this,null,function*(){return Fetch(`/api/examination_banks/${Ne}/sort_question_type.json`,{method:"post",body:Ft})})}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 ie(Ne,Ft){return i(this,null,function*(){return Fetch(`/api/examination_banks/${Ne}/batch_set_score.json`,{method:"post",body:Ft})})}function _e(Ne){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${Ne}/simulate_exercise.json`,{method:"post"})})}function Pe(Ne){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${Ne}/exercise_header.json`,{method:"get"})})}function De(Ne,Ft,gt){return i(this,null,function*(){const Dt=new FormData;return Dt.append("file",Ft),Dt.append("sub_discipline_id",gt),(0,r.ZP)(`/api/examination_banks/${Ne}/import_item_banks.json`,{method:"post",body:Dt},!0)})}function He(Ne){return i(this,null,function*(){return(0,r.ZP)("/api/users/change_exam_score.json",{method:"put",body:Ne})})}},37034:function(d,v,e){"use strict";e.d(v,{$D:function(){return q},A2:function(){return ge},A7:function(){return Zt},AQ:function(){return N},Ax:function(){return Ce},Bn:function(){return xt},CI:function(){return We},DQ:function(){return he},DU:function(){return zt},EP:function(){return oe},Ep:function(){return ze},Er:function(){return ie},Ex:function(){return kt},FD:function(){return Pt},F_:function(){return Tt},Fg:function(){return x},GY:function(){return Gt},Go:function(){return ue},Gz:function(){return p},Hl:function(){return y},JS:function(){return gt},KM:function(){return se},M2:function(){return Le},MO:function(){return _e},Mt:function(){return $e},Mu:function(){return Je},NV:function(){return Ie},Q:function(){return Pe},Sp:function(){return B},VO:function(){return Te},WD:function(){return tr},WO:function(){return $},WW:function(){return Ht},_C:function(){return wt},_V:function(){return Wt},bw:function(){return ne},bz:function(){return ce},c3:function(){return Ft},eJ:function(){return Q},ef:function(){return Ge},fh:function(){return k},fj:function(){return U},hS:function(){return _},jT:function(){return ct},ke:function(){return $t},lk:function(){return M},mQ:function(){return P},ms:function(){return ot},mx:function(){return He},nq:function(){return a},ol:function(){return Me},p:function(){return G},p4:function(){return De},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 K},vf:function(){return dt},w4:function(){return H},xG:function(){return et},xn:function(){return bt},yN:function(){return ae},yy:function(){return Kt}});var r=e(82093),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,o=(be,Ye,mt)=>Ye in be?i(be,Ye,{enumerable:!0,configurable:!0,writable:!0,value:mt}):be[Ye]=mt,h=(be,Ye)=>{for(var mt in Ye||(Ye={}))c.call(Ye,mt)&&o(be,mt,Ye[mt]);if(l)for(var mt of l(Ye))f.call(Ye,mt)&&o(be,mt,Ye[mt]);return be},u=(be,Ye,mt)=>new Promise((Lt,Fe)=>{var Or=tn=>{try{Vr(mt.next(tn))}catch(wr){Fe(wr)}},St=tn=>{try{Vr(mt.throw(tn))}catch(wr){Fe(wr)}},Vr=tn=>tn.done?Lt(tn.value):Promise.resolve(tn.value).then(Or,St);Vr((mt=mt.apply(be,Ye)).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 P(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 N(be){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${be.id}/right_banner.json`,{method:"get",params:be})})}function K(be){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${be.id}/spoc_courses.json`,{method:"get",params:be})})}const G=be=>u(void 0,null,function*(){return(0,r.ZP)("/api/v2/stages.json",{method:"Get",params:be})}),H=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 ne(be){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${be.id}/update_team_title.json`,{method:"post",body:be})})}function oe(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 V(be){return u(this,null,function*(){return Fetch(`/api/paths/${be.id}/down_member_position.json`,{method:"post",body:be})})}function se(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 ue(be){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${be.id}/publish.json`,{method:"post",body:be})})}function U(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 ie(be){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${be.id}/cancel_public.json`,{method:"post",body:be})})}function _e(be){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${be.id}/choose_course.json`,{method:"get",params:be})})}function Pe(be){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${be.id}/send_to_course.json`,{method:"post",body:be})})}function De(be){return u(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${be.id}/send_to_course.json`,{method:"post",body:be})})}function He(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 Ft(be){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${be.id}/appointment.json`,{method:"post",body:be})})}function gt(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 rr(be){return u(this,null,function*(){return Fetch(`/api/paths/${be.id}/statistics_info.json`,{method:"get",params:be})})}function Xt(be){return u(this,null,function*(){return Fetch(`/api/paths/${be.id}/shixun_analyze.json`,{method:"get",params:be})})}function fr(be){return u(this,null,function*(){return Fetch(`/api/paths/${be.id}/learning_analyze.json`,{method:"get",params:be})})}function Ge(be){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${be.id}/learning_statistics.json`,{method:"get",params:be})})}function Tt(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 nt(be){return u(this,null,function*(){return Fetch("/api/paths/append_to_stage.json",{method:"post",body:be})})}function bt(be){return u(this,null,function*(){return(0,r.ZP)(`/api/stages/${be.id}.json`,{method:"put",body:be})})}function dt(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 ze(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 Le(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 We(be){return u(this,null,function*(){return(0,r.ZP)("/api/stages.json",{method:"post",body:be})})}function rt(be){return u(this,null,function*(){return Fetch("/api/paths/add_shixun_to_stage.json",{method:"post",body:be})})}function ot(be){return u(this,null,function*(){return(0,r.ZP)(`/api/stages/${be.id}/up_position.json`,{method:"get"})})}function Kt(be){return u(this,null,function*(){return(0,r.ZP)(`/api/stages/${be.id}/down_position.json`,{method:"get"})})}function Wt(be){return u(this,null,function*(){return(0,r.ZP)(`/api/stages/${be.id}.json`,{method:"delete"})})}function Ce(be){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${be.pathId}/discusses.json`,{method:"get",params:h({},be)})})}function Je(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 kt(be){return u(this,null,function*(){return(0,r.ZP)(`/api/stages/${be.stage_id}/items/move_position`,{method:"post",body:h({},be)})})}function Ht(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 tr(be){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${be.id}/post_discuss`,{method:"post",body:h({},be)})})}function Gt(be){return u(this,null,function*(){return(0,r.ZP)("/api/schools/for_option.json",{method:"get",params:be})})}function Me(be){return u(this,null,function*(){return(0,r.ZP)("/api/schools/province_data.json",{method:"get",params:be})})}function ce(be){return u(this,null,function*(){return(0,r.ZP)("/api/add_school_applies.json",{method:"post",body:be})})}function he(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 Pt(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 ct(be){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${be==null?void 0:be.user_id}/subjects/subject_homework.json`,{method:"get",params:be})})}function Zt(be){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${be==null?void 0:be.user_id}/courses/course_homework.json`,{method:"get",params:be})})}function wt(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 Ie(be){return u(this,null,function*(){return(0,r.ZP)("/api/paths/get_homework_detail.json",{method:"get",params:be})})}function xt(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})})}},79763:function(d,v,e){"use strict";e.d(v,{Fd:function(){return se},Hi:function(){return y},IU:function(){return K},KE:function(){return b},Kc:function(){return Q},MK:function(){return G},Q9:function(){return P},Qg:function(){return N},Qn:function(){return k},UK:function(){return p},W:function(){return U},Ye:function(){return B},_c:function(){return a},hO:function(){return oe},iV:function(){return ue},jy:function(){return H},kp:function(){return ne},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 V},wh:function(){return ae},wo:function(){return ee},x$:function(){return J}});var r=e(82093),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,o=($,ie,_e)=>ie in $?i($,ie,{enumerable:!0,configurable:!0,writable:!0,value:_e}):$[ie]=_e,h=($,ie)=>{for(var _e in ie||(ie={}))c.call(ie,_e)&&o($,_e,ie[_e]);if(l)for(var _e of l(ie))f.call(ie,_e)&&o($,_e,ie[_e]);return $},u=($,ie,_e)=>new Promise((Pe,De)=>{var He=gt=>{try{Ft(_e.next(gt))}catch(Dt){De(Dt)}},Ne=gt=>{try{Ft(_e.throw(gt))}catch(Dt){De(Dt)}},Ft=gt=>gt.done?Pe(gt.value):Promise.resolve(gt.value).then(He,Ne);Ft((_e=_e.apply($,ie)).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 P($){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 N($){return u(this,null,function*(){return(0,r.ZP)(`/api/polls/${$.pollsId}.json`,{method:"put",body:h({},$)})})}function K($){return u(this,null,function*(){return(0,r.ZP)(`/api/poll_questions/${$.pollsId}.json`,{method:"put",body:h({},$)})})}function G($){return u(this,null,function*(){return(0,r.ZP)(`/api/polls/${$.pollsId}/poll_questions.json`,{method:"post",body:h({},$)})})}function H($){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 ne($){return u(this,null,function*(){return(0,r.ZP)(`/api/exercise_banks/${$.topicId}.json`,{method:"get"})})}function oe($){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 V($){return u(this,null,function*(){return(0,r.ZP)(`/api/poll_questions/${$.pollsId}/up_down.json`,{method:"post",body:h({},$)})})}function se($){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 ue($){return u(this,null,function*(){return(0,r.ZP)("/api/exercise_bank_questions.json",{method:"post",body:h({},$)})})}function U($){return u(this,null,function*(){return(0,r.ZP)(`/api/exercise_bank_questions/${$.exerciseId}/up_down.json`,{method:"post",body:h({},$)})})}},70610:function(d,v,e){"use strict";e.d(v,{$c:function(){return rt},A1:function(){return $e},Bd:function(){return P},Bo:function(){return q},Cc:function(){return se},Cn:function(){return ue},DF:function(){return R},Dm:function(){return Ge},FG:function(){return oe},GW:function(){return Tt},HF:function(){return G},Hm:function(){return $},IJ:function(){return Le},L5:function(){return fr},LS:function(){return nt},MZ:function(){return ge},Mr:function(){return ne},NZ:function(){return Ft},Of:function(){return S},Pl:function(){return k},Qj:function(){return _},Qp:function(){return dt},RT:function(){return Ce},Rp:function(){return bt},U6:function(){return H},Vl:function(){return ee},Wk:function(){return ae},YP:function(){return U},Ys:function(){return B},al:function(){return M},bF:function(){return ot},d1:function(){return y},dt:function(){return Kt},et:function(){return _e},ex:function(){return b},fY:function(){return Pe},fn:function(){return A},hI:function(){return gt},hg:function(){return ze},iT:function(){return J},lS:function(){return Ne},nD:function(){return zt},qN:function(){return ie},rV:function(){return N},s:function(){return He},sD:function(){return Se},sS:function(){return Xt},ts:function(){return V},vi:function(){return We},wX:function(){return et},x5:function(){return K},zh:function(){return De}});var r=e(82093),i=Object.defineProperty,l=Object.defineProperties,c=Object.getOwnPropertyDescriptors,f=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,h=Object.prototype.propertyIsEnumerable,u=(Je,Yt,kt)=>Yt in Je?i(Je,Yt,{enumerable:!0,configurable:!0,writable:!0,value:kt}):Je[Yt]=kt,a=(Je,Yt)=>{for(var kt in Yt||(Yt={}))o.call(Yt,kt)&&u(Je,kt,Yt[kt]);if(f)for(var kt of f(Yt))h.call(Yt,kt)&&u(Je,kt,Yt[kt]);return Je},x=(Je,Yt)=>l(Je,c(Yt)),p=(Je,Yt,kt)=>new Promise((Ht,$t)=>{var tr=ce=>{try{Me(kt.next(ce))}catch(he){$t(he)}},Gt=ce=>{try{Me(kt.throw(ce))}catch(he){$t(he)}},Me=ce=>ce.done?Ht(ce.value):Promise.resolve(ce.value).then(tr,Gt);Me((kt=kt.apply(Je,Yt)).next())});function y(Je){return p(this,null,function*(){return(0,r.ZP)("/api/disciplines.json",{method:"get",params:x(a({},Je),{clazz:"ItemBanksGroup"})})})}function _(Je){return p(this,null,function*(){return(0,r.ZP)("/api/item_baskets/basket_list.json",{method:"get",params:Je})})}function b(Je){return p(this,null,function*(){return(0,r.ZP)("/api/item_banks_groups/for_problemset.json",{method:"post",body:Je})})}function S(Je){return p(this,null,function*(){return(0,r.ZP)("/api/item_banks/list.json",{method:"post",body:Je})})}function k(Je){return p(this,null,function*(){return(0,r.ZP)(`/api/item_banks/${Je.id}/set_private.json`,{method:"post"})})}function R(Je){return p(this,null,function*(){return(0,r.ZP)(`/api/item_banks/${Je.id}/set_public.json`,{method:"post"})})}function A(Je){return p(this,null,function*(){return(0,r.ZP)(`/api/item_banks/${Je.id}.json`,{method:"delete"})})}function P(Je){return p(this,null,function*(){return(0,r.ZP)(`/api/problems/${Je.id}/start.json`,{method:"get"})})}function M(Je){return p(this,null,function*(){return(0,r.ZP)(`/api/item_baskets/${Je.id}.json`,{method:"delete",body:a({},Je)})})}function B(Je){return p(this,null,function*(){return(0,r.ZP)("/api/item_baskets.json",{method:"post",body:Je})})}function N(Je){return p(this,null,function*(){return(0,r.ZP)("/api/examination_banks/cancel_items.json",{method:"post",body:Je})})}function K(Je){return p(this,null,function*(){return(0,r.ZP)("/api/item_baskets/delete_item_type.json",{method:"delete",body:{item_type:Je.type}})})}function G(Je){return p(this,null,function*(){return(0,r.ZP)("/api/examination_banks/cancel_items.json",{method:"post",body:Je})})}function H(Je){return p(this,null,function*(){return(0,r.ZP)("/api/tag_disciplines.json",{method:"post",body:Je})})}function ae(Je){return p(this,null,function*(){return(0,r.ZP)(`/api/item_banks/${Je.id}.json`,{method:"put",body:Je})})}function ne(Je){return p(this,null,function*(){return(0,r.ZP)("/api/item_banks.json",{method:"post",body:Je})})}function oe(Je){return p(this,null,function*(){return(0,r.ZP)(`/api/item_banks/${Je.id}/edit.json`,{method:"get"})})}function q(Je){return p(this,null,function*(){return(0,r.ZP)(`/api/problems/${Je.id}/edit.json`,{method:"get"})})}function J(Je){return p(this,null,function*(){return(0,r.ZP)("/api/item_baskets.json",{method:"get",params:Je})})}function V(Je){return p(this,null,function*(){return(0,r.ZP)(`/api/item_baskets/${Je.id}/set_score.json`,{method:"post",body:Je})})}function se(Je){return p(this,null,function*(){return(0,r.ZP)(`/api/item_baskets/${Je.id}/set_challenge_score.json`,{method:"post",body:Je})})}function ee(Je){return p(this,null,function*(){return(0,r.ZP)(`/api/item_baskets/${Je.id}/combination_set_score.json`,{method:"post",body:Je})})}function Q(Je){return p(this,null,function*(){return Fetch(`/api/examination_banks//${Je.exerid}/examination_banks_item_banks/${Je.id}/combination_set_score.json`,{method:"post",body:Je})})}function ue(Je){return p(this,null,function*(){return(0,r.ZP)(`/api/item_baskets/${Je.id}.json`,{method:"delete"})})}function U(Je){return p(this,null,function*(){return(0,r.ZP)("/api/item_baskets/batch_set_score.json",{method:"post",body:Je})})}function $(Je){return p(this,null,function*(){return(0,r.ZP)("/api/item_baskets/delete_item_type.json",{method:"delete",body:Je})})}function ie(Je){return p(this,null,function*(){return(0,r.ZP)(`/api/item_baskets/${Je.id}/adjust_position.json`,{method:"post",body:Je})})}function _e(Je){return p(this,null,function*(){return(0,r.ZP)("/api/examination_banks.json",{method:"post",body:Je})})}function Pe(Je){return p(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${Je.id}/revoke_item.json`,{method:"delete",body:Je})})}function De(Je){return p(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${Je.exam_id}/examination_banks_item_banks.json`,{method:"post",body:Je})})}function He(Je){return p(this,null,function*(){return(0,r.ZP)(`/api/item_banks/${Je.id}/join_to_collection.json`,{method:"post",params:Je})})}function Ne(Je){return p(this,null,function*(){return(0,r.ZP)(`/api/item_banks/${Je.id}/cancel_collection.json`,{method:"post",params:Je})})}function Ft(Je){return p(this,null,function*(){return(0,r.ZP)("/api/item_banks_groups.json",{method:"get",params:Je})})}function gt(Je){return p(this,null,function*(){return(0,r.ZP)("/api/item_banks_groups/mine.json",{method:"get",params:Je})})}function Dt(Je){return p(this,null,function*(){return Fetch(`/api/item_banks/${Je.id}/join_to_group.json`,{method:"post",body:Je})})}function rr(Je){return p(this,null,function*(){return Fetch(`/api/item_banks_groups/${Je.id}.json`,{method:"put",body:Je})})}function Xt(Je){return p(this,null,function*(){return(0,r.ZP)("/api/item_banks_groups.json",{method:"post",body:Je})})}function fr(Je){return p(this,null,function*(){return(0,r.ZP)(`/api/item_banks/${Je.id}/feedback.json`,{method:"post",body:Je})})}function Ge(Je){return p(this,null,function*(){return(0,r.ZP)("/api/teach_group_shares.json",{method:"get",params:Je})})}function Tt(Je){return p(this,null,function*(){return(0,r.ZP)("/api/teach_group_shares.json",{method:"post",body:Je})})}function zt(Je){return p(this,null,function*(){return(0,r.ZP)("/api/item_banks/batch_delete.json",{method:"post",body:Je})})}function nt(Je){return p(this,null,function*(){return(0,r.ZP)("/api/item_banks/batch_to_group.json",{method:"post",body:Je})})}function bt(Je){return p(this,null,function*(){return(0,r.ZP)("/api/item_banks/add_to_mine.json",{method:"post",body:Je})})}function dt(Je){return p(this,null,function*(){return(0,r.ZP)("/api/item_banks/set_batch_public.json",{method:"post",body:Je})})}function et(Je){return p(this,null,function*(){return(0,r.ZP)(`/api/item_banks/${Je==null?void 0:Je.id}/set_public.json`,{method:"post",body:Je})})}function ze(Je){return p(this,null,function*(){return(0,r.ZP)("/api/teach_group_shares/show_groups.json",{method:"get",params:Je})})}function ge(Je){return(0,r.ZP)(`/api/problems/${Je.identifier}/publish.json`,{method:"post",body:Je})}function Se(Je){return(0,r.ZP)(`/api/problems/${Je.identifier}/cancel_publish.json`,{method:"post",body:Je})}function Le(Je){return(0,r.ZP)("/api/item_banks/cancel_public.json",{method:"post",body:{ids:[...Je.id]}})}function $e(Je){return p(this,null,function*(){return(0,r.ZP)(`/api/item_banks_groups/${Je.id}/up_position.json`,{method:"get",params:Je})})}function We(Je){return p(this,null,function*(){return(0,r.ZP)(`/api/item_banks_groups/${Je.id}/down_position.json`,{method:"get",params:Je})})}function rt(Je){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Je.id}/edit_hack.json`,{method:"get",params:Je})})}function ot(Je){return p(this,null,function*(){return(0,r.ZP)("/api/problems/batch_publish_condition.json",{method:"post",body:Je})})}function Kt(Je){return p(this,null,function*(){return(0,r.ZP)("/api/problems/batch_publish.json",{method:"post",body:Je})})}function Wt(Je){return p(this,null,function*(){return Fetch("/api/item_banks/get_groups.json",{method:"get",params:Je})})}function Ce(){return p(this,null,function*(){return(0,r.ZP)("/api/item_baskets/delete_all_items.json",{method:"delete"})})}},5707:function(d,v,e){"use strict";e.d(v,{E1:function(){return f},Go:function(){return l},H5:function(){return c}});var r=e(82093),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})})}},45278:function(d,v,e){"use strict";e.d(v,{Am:function(){return _},Ar:function(){return Ge},BD:function(){return We},Be:function(){return et},Dx:function(){return ee},Fr:function(){return he},G$:function(){return k},GS:function(){return H},Gw:function(){return S},H:function(){return Xt},H1:function(){return fr},Hj:function(){return ot},JA:function(){return Wt},JG:function(){return se},KE:function(){return U},Lz:function(){return Le},Mf:function(){return rr},NA:function(){return gt},PC:function(){return Ne},PP:function(){return Ft},PW:function(){return nt},Q3:function(){return Q},QC:function(){return Ce},Qt:function(){return $e},Qz:function(){return P},R$:function(){return Me},RP:function(){return oe},Ti:function(){return wt},Uc:function(){return Ht},Ul:function(){return J},VB:function(){return ct},Vs:function(){return $t},Wr:function(){return R},Xn:function(){return q},YQ:function(){return Dt},Yn:function(){return b},Z8:function(){return K},ak:function(){return zt},cN:function(){return B},co:function(){return ze},cz:function(){return De},fK:function(){return G},gG:function(){return He},gZ:function(){return kt},h$:function(){return N},ku:function(){return Se},lf:function(){return ie},m7:function(){return V},mQ:function(){return M},mz:function(){return dt},n$:function(){return $},oK:function(){return y},oN:function(){return Zt},pH:function(){return rt},pb:function(){return Te},qP:function(){return Je},ql:function(){return Yt},rN:function(){return ge},sw:function(){return _e},t1:function(){return Pe},to:function(){return ne},ub:function(){return Kt},ux:function(){return ue},wS:function(){return Pt},wT:function(){return A},yT:function(){return Tt},yy:function(){return tr},z2:function(){return bt}});var r=e(82093),i=Object.defineProperty,l=Object.defineProperties,c=Object.getOwnPropertyDescriptors,f=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,h=Object.prototype.propertyIsEnumerable,u=(Ie,xt,be)=>xt in Ie?i(Ie,xt,{enumerable:!0,configurable:!0,writable:!0,value:be}):Ie[xt]=be,a=(Ie,xt)=>{for(var be in xt||(xt={}))o.call(xt,be)&&u(Ie,be,xt[be]);if(f)for(var be of f(xt))h.call(xt,be)&&u(Ie,be,xt[be]);return Ie},x=(Ie,xt)=>l(Ie,c(xt)),p=(Ie,xt,be)=>new Promise((Ye,mt)=>{var Lt=St=>{try{Or(be.next(St))}catch(Vr){mt(Vr)}},Fe=St=>{try{Or(be.throw(St))}catch(Vr){mt(Vr)}},Or=St=>St.done?Ye(St.value):Promise.resolve(St.value).then(Lt,Fe);Or((be=be.apply(Ie,xt)).next())});const y=Ie=>p(void 0,null,function*(){return(0,r.ZP)(`/api/student_works/${Ie.id}/update_journals.json`,{method:"post",body:Ie})}),_=Ie=>p(void 0,null,function*(){return(0,r.ZP)(`/api/student_works/${Ie==null?void 0:Ie.homeworkId}/change_score.json`,{method:"post",body:Ie})}),b=Ie=>p(void 0,null,function*(){return(0,r.ZP)(`/api/student_works/${Ie==null?void 0:Ie.homeworkId}/history_comment`,{method:"Get",params:Ie})}),S=Ie=>p(void 0,null,function*(){return(0,r.ZP)(`/api/student_works/${Ie==null?void 0:Ie.homeworkId}/feedback_know`,{method:"Get",params:Ie})}),k=Ie=>p(void 0,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Ie==null?void 0:Ie.userId}/student_work_feedbacks.json`,{method:"POST",body:Ie})}),R=Ie=>p(void 0,null,function*(){return(0,r.ZP)(`/api/student_works/${Ie==null?void 0:Ie.userId}/feedback_list.json`,{method:"Get",params:Ie})}),A=Ie=>p(void 0,null,function*(){return(0,r.ZP)(`/api/student_works/${Ie==null?void 0:Ie.userId}/histories.json`,{method:"Get",params:Ie})}),P=Ie=>p(void 0,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Ie==null?void 0:Ie.homeworkId}/feedback_list`,{method:"Get",params:Ie})}),M=Ie=>p(void 0,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Ie==null?void 0:Ie.homeworkId}/anonymous_exception_list.json`,{method:"Get",params:Ie})}),B=Ie=>p(void 0,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Ie==null?void 0:Ie.homeworkId}/appeal_list`,{method:"Get",params:Ie})});function N(Ie){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Ie.categoryId}/works_list.json`,{method:"post",body:a({},Ie)})})}function K(Ie){return p(this,null,function*(){return(0,r.ZP)(`/api/shixun_homeworks/${Ie.categoryId}/student_works.json`,{method:"get",params:a({},Ie)})})}function G(Ie){return p(this,null,function*(){return(0,r.ZP)(`/api/shixun_homeworks/${Ie.categoryId}/header_info.json`,{method:"get",params:a({},Ie)})})}function H(Ie){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${Ie}/query_game_url.json`,{method:"get"})})}function ae(Ie){return p(this,null,function*(){return Fetch(`/api/student_works/${Ie}/get_newest_shixun_work_comments.json`,{method:"get"})})}function ne(Ie){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Ie.categoryId}.json`,{method:"get"})})}function oe(Ie){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Ie.categoryId}/code_review_results.json`,{method:"get",params:a({},Ie)})})}function q(Ie){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Ie.categoryId}/code_review_detail.json`,{method:"get",params:a({},Ie)})})}function J(Ie){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Ie.categoryId}/settings.json`,{method:"get",params:a({},Ie)})})}function V(Ie){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Ie.categoryId}/update_settings.json`,{method:"post",body:a({},Ie)})})}function se(Ie){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Ie.categoryId}/group_list.json`,{method:"get",params:a({},Ie)})})}function ee(Ie){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Ie.categoryId}/works_list.xlsx`,{method:"get",params:a({},Ie)})})}function Q(Ie){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Ie.coursesId}/reference_answer.json`,{method:"get",params:a({},Ie)})})}function ue(Ie){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Ie.categoryId}/publish_groups.json`,{method:"get",params:a({},Ie)})})}function U(Ie){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Ie.categoryId}/end_groups.json`,{method:"get",params:a({},Ie)})})}function $(Ie){return p(this,null,function*(){return(0,r.ZP)("/api/question_banks/bank_list.json",{method:"get",params:a({},Ie)})})}function ie(Ie){return p(this,null,function*(){return(0,r.ZP)("/api/question_banks/save_banks.json",{method:"post",body:a({},Ie)})})}function _e(Ie){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${Ie.homeworkId}/shixun_work_report.json`,{method:"get",params:Ie})})}function Pe(Ie){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${Ie.homeworkId}/shixun_work_report_echart_data.json`,{method:"get",params:Ie})})}function De(Ie){return p(this,null,function*(){return(0,r.ZP)(`/api/courses/${Ie.coursesId}/homework_commons/user_hack_detail.json`,{method:"get",params:x(a({},Ie),{id:Ie.categoryId})})})}function He(Ie){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${Ie.categoryId}/adjust_review_score.json`,{method:"post",body:a({},Ie)})})}function Ne(Ie){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Ie.categoryId}/show_comment.json`,{method:"get",params:a({},Ie)})})}function Ft(Ie){return p(this,null,function*(){return(0,r.ZP)("/api/users/reply_message.json",{method:"post",body:a({},Ie)})})}function gt(Ie){return p(this,null,function*(){return(0,r.ZP)("/api/praise_tread/like.json",{method:"post",body:a({},Ie)})})}function Dt(Ie){return p(this,null,function*(){return(0,r.ZP)("/api/praise_tread/unlike.json",{method:"delete",body:a({},Ie)})})}function rr(Ie){return p(this,null,function*(){return(0,r.ZP)("/api/commons/delete.json",{method:"delete",body:a({},Ie)})})}function Xt(Ie){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Ie.categoryId}/update_explanation.json`,{method:"post",body:a({},Ie)})})}function fr(Ie){return p(this,null,function*(){return(0,r.ZP)(`/api/courses/${Ie.coursesId}/homework_commons.json`,{method:"post",body:a({},Ie)})})}function Ge(Ie){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Ie.categoryId}.json`,{method:"put",body:a({},Ie)})})}function Tt(Ie){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_banks/${Ie.id}.json`,{method:"put",body:a({},Ie)})})}function zt(Ie){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Ie.commonHomeworkId}/student_works/new.json`,{method:"get",params:a({},Ie)})})}function nt(Ie){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${Ie.homeworkId}/edit.json`,{method:"get",params:a({},Ie)})})}function bt(Ie){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${Ie.homeworkId}.json`,{method:"put",body:a({},Ie)})})}function dt(Ie){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${Ie.homeworkId}/revise_attachment.json`,{method:"post",body:a({},Ie)})})}function et(Ie){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Ie.commonHomeworkId}/student_works.json`,{method:"post",body:a({},Ie)})})}function ze(Ie){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Ie.homeworkId}/student_works/relate_project.json`,{method:"post",body:a({},Ie)})})}function ge(Ie){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Ie.homeworkId}/student_works/cancel_relate_project.json`,{method:"get"})})}function Se(Ie){return p(this,null,function*(){return(0,r.ZP)("/api/users/projects/search.json",{method:"get",params:a({},Ie)})})}function Le(Ie){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Ie.commonHomeworkId}/student_works/search_member_list.json`,{method:"get",params:a({},Ie)})})}function $e(Ie){return p(this,null,function*(){return(0,r.ZP)(`/api/courses/${Ie.coursesId}/homework_commons/new.json`,{method:"get",params:a({},Ie)})})}function We(Ie){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Ie.categoryId}/edit.json`,{method:"get",params:a({},Ie)})})}function rt(Ie){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_banks/${Ie.id}.json`,{method:"get",params:a({},Ie)})})}function ot(Ie){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${Ie.userId}.json`,{method:"get",params:a({},Ie)})})}function Kt(Ie){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${Ie.userId}/supply_attachments.json`,{method:"get",params:a({},Ie)})})}function Wt(Ie){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${Ie.userId}/comment_list.json`,{method:"get",params:a({},Ie)})})}function Ce(Ie){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${Ie.userId}/destroy_score.json`,{method:"delete",body:a({},Ie)})})}function Je(Ie){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${Ie.userId}/add_score_reply.json`,{method:"post",body:a({},Ie)})})}function Yt(Ie){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Ie.categoryId}/all_student_works.json`,{method:"get",params:a({},Ie)})})}function kt(Ie){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${Ie.homeworkId}/destroy_work_comment.json`,{method:"delete",body:a({},Ie)})})}function Ht(Ie){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Ie.categoryId}/score_status.json`,{method:"get",params:a({},Ie)})})}function $t(Ie){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Ie.categoryId}/update_score.json`,{method:"get",params:a({},Ie)})})}function tr(Ie){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${Ie.userId}/add_score.json`,{method:"post",body:a({},Ie)})})}function Gt(Ie){return p(this,null,function*(){return Fetch(`/api/student_works/${Ie.userId}/cancel_appeal.json`,{method:"post",body:a({},Ie)})})}function Me(Ie){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${Ie.userId}/appeal_anonymous_score.json`,{method:"post",body:a({},Ie)})})}function ce(Ie){return p(this,null,function*(){return Fetch(`/api/student_works/${Ie.userId}/deal_appeal_score.json`,{method:"post",body:a({},Ie)})})}function he(Ie){return p(this,null,function*(){return(0,r.ZP)(`/api/myshixuns/${Ie.id}/reset_my_game.json`,{method:"get",params:a({},Ie)})})}function Pt(Ie){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${Ie.homeworkId}/commit_des.json`,{method:"get",params:a({},Ie)})})}function Te(Ie){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${Ie.homeworkId}/update_des.json`,{method:"post",body:a({},Ie)})})}function ct(Ie){return p(this,null,function*(){return(0,r.ZP)(`/api/courses/${Ie.coursesId}/homework_commons/file_repeat_list.json`,{method:"get",params:a({},Ie)})})}function Zt(Ie){return p(this,null,function*(){return(0,r.ZP)(`/api/courses/${Ie.coursesId}/homework_commons/file_repeat_result.json`,{method:"get",params:a({},Ie)})})}function wt(Ie){return p(this,null,function*(){return(0,r.ZP)(`/api/courses/${Ie.course_id}/homework_commons/file_repeat_detail.json`,{method:"get",params:a({},Ie)})})}},67135:function(d,v,e){"use strict";e.d(v,{$Q:function(){return Nr},AE:function(){return $t},AQ:function(){return M},Ag:function(){return xt},Ar:function(){return ue},At:function(){return Rt},BK:function(){return K},Bj:function(){return zt},DC:function(){return Ge},Dz:function(){return _t},E4:function(){return fr},EH:function(){return ie},Ee:function(){return Ln},Er:function(){return ee},FB:function(){return N},Fg:function(){return S},GI:function(){return De},Gr:function(){return dt},Gu:function(){return Pe},Gz:function(){return b},HS:function(){return Et},Hl:function(){return y},IT:function(){return wt},I_:function(){return A},Ir:function(){return G},Je:function(){return Fe},K:function(){return jt},K0:function(){return Kr},KM:function(){return q},K_:function(){return Ur},LK:function(){return Or},LP:function(){return He},Ne:function(){return se},OV:function(){return Ft},OW:function(){return $},Op:function(){return wr},P2:function(){return Dt},Po:function(){return P},Ps:function(){return et},Q:function(){return V},Q1:function(){return Cr},QA:function(){return Di},Ql:function(){return ge},Rs:function(){return Ce},SG:function(){return la},Tn:function(){return Gt},Tr:function(){return wi},U0:function(){return We},U9:function(){return ze},UQ:function(){return Te},Ui:function(){return gr},Vx:function(){return nn},WO:function(){return Q},WT:function(){return fa},Wi:function(){return nt},Wl:function(){return be},X$:function(){return rr},Yn:function(){return ce},Z2:function(){return Tt},ZO:function(){return bt},Zt:function(){return vt},_7:function(){return J},_9:function(){return he},aH:function(){return Se},al:function(){return Kt},b8:function(){return U},bq:function(){return Me},dK:function(){return H},e:function(){return k},eX:function(){return _e},eb:function(){return Je},fL:function(){return Lt},h4:function(){return yr},hS:function(){return _},he:function(){return R},hn:function(){return ne},ii:function(){return Wt},im:function(){return Pt},j8:function(){return Ne},jq:function(){return tn},kF:function(){return Vr},km:function(){return ot},l3:function(){return gt},m7:function(){return $e},mI:function(){return bi},n5:function(){return B},nu:function(){return St},p0:function(){return Zt},q0:function(){return Ht},q9:function(){return ur},qA:function(){return hn},rO:function(){return kt},rs:function(){return oe},sr:function(){return ct},t2:function(){return Ie},tX:function(){return At},uo:function(){return rt},v3:function(){return mt},w:function(){return Ye},xK:function(){return tr},xg:function(){return Yt},xk:function(){return Xt},yE:function(){return Le},yx:function(){return hi},zD:function(){return ae},zH:function(){return cn}});var r=e(82093),i=Object.defineProperty,l=Object.defineProperties,c=Object.getOwnPropertyDescriptors,f=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,h=Object.prototype.propertyIsEnumerable,u=(it,ni,Oi)=>ni in it?i(it,ni,{enumerable:!0,configurable:!0,writable:!0,value:Oi}):it[ni]=Oi,a=(it,ni)=>{for(var Oi in ni||(ni={}))o.call(ni,Oi)&&u(it,Oi,ni[Oi]);if(f)for(var Oi of f(ni))h.call(ni,Oi)&&u(it,Oi,ni[Oi]);return it},x=(it,ni)=>l(it,c(ni)),p=(it,ni,Oi)=>new Promise((ii,sa)=>{var Ti=er=>{try{An(Oi.next(er))}catch(pt){sa(pt)}},ci=er=>{try{An(Oi.throw(er))}catch(pt){sa(pt)}},An=er=>er.done?ii(er.value):Promise.resolve(er.value).then(Ti,ci);An((Oi=Oi.apply(it,ni)).next())});const y=it=>p(void 0,null,function*(){return(0,r.ZP)("/api/shixun_statistics/statistics_header.json",{method:"Get",params:it})}),_=it=>p(void 0,null,function*(){return(0,r.ZP)("/api/shixun_statistics/online_count.json",{method:"Get",params:it})}),b=it=>p(void 0,null,function*(){return(0,r.ZP)("/api/shixun_statistics/statistics_body.json",{method:"Get",params:it})}),S=it=>p(void 0,null,function*(){return(0,r.ZP)("/api/shixun_statistics/rank_list.json",{method:"Get",params:it})}),k=it=>p(void 0,null,function*(){return(0,r.ZP)("/api/shixun_statistics/shixun_use_infos.json",{method:"Get",params:it})});function R(it){return p(this,null,function*(){return(0,r.ZP)("/api/shixuns.json",{method:"Get",params:a({},it)})})}function A(it){return p(this,null,function*(){return(0,r.ZP)("/api/disciplines.json",{method:"Get",params:a({source:"shixun"},it||{})})})}function P(it){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${it.id}.json`,{method:"Get",params:it})})}function M(it){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${it.id}/show_right.json`,{method:"Get"})})}function B(it){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${it.id}/challenges.json`,{method:"Get"})})}function N(it){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${it.id}/save_copy_for_exercise.json`,{method:"post",body:{save_type:it.save_type}})})}function K(it){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${it.id}/jupyter_exec.json${it.reset?`?reset=${it.reset}`:""}`,{method:"Get",params:it})})}function G(it){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${it.id}/shixun_exec.json${it.reset?`?reset=${it.reset}`:""}`,{method:"Get",params:it})})}function H(it){return p(this,null,function*(){return(0,r.ZP)(it.url,{method:"Get"})})}function ae(it){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${it.shixun_identifier}/challenges/${it.challenge_id}/index_up.json`,{method:"Get"})})}function ne(it){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${it.shixun_identifier}/challenges/${it.challenge_id}/index_down.json`,{method:"Get"})})}function oe(it){return p(this,null,function*(){return(0,r.ZP)("/api/collections/cancel.json",{method:"Delete",body:{container_id:it.container_id,container_type:it.container_type}})})}function q(it){return p(this,null,function*(){return(0,r.ZP)("/api/collections.json",{method:"Post",body:{container_id:it.container_id,container_type:it.container_type}})})}function J(it){return p(this,null,function*(){const{id:ni}=it||{};return(0,r.ZP)(`/api/shixuns/${ni}/search_user_courses.json`,{method:"Get",params:it})})}function V(it){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${it==null?void 0:it.id}/send_to_course.json`,{method:"Post",body:a({},it)})})}function se(it){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${it.id}/cancel_publish.json`,{method:"Get"})})}function ee(it){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${it.id}/cancel_apply_public.json`,{method:"Get"})})}function Q(it){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${it.id}/apply_public.json`,{method:"post",body:a({},it)})})}function ue(it){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${it.id}/publish.json`,{method:"Get"})})}function U(it){return p(this,null,function*(){return(0,r.ZP)("/api/shixuns/jupyter_new.json",{method:"Get"})})}function $(it){return p(this,null,function*(){return(0,r.ZP)(`/api/attachments/${it.id}.json`,{method:"delete"})})}function ie(it){return p(this,null,function*(){return(0,r.ZP)("/api/shixuns/apply_shixun_mirror.json",{method:"post",body:it})})}function _e(it){return p(this,null,function*(){return(0,r.ZP)("/api/shixuns.json",{method:"post",body:it})})}function Pe(it){return p(this,null,function*(){return(0,r.ZP)("/api/shixuns/jupyter_lab_new.json",{method:"get",params:it})})}function De(it){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${it.id}/review_newest_record.json`,{method:"Get"})})}function He(it){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${it.id}/review_shixun.json`,{method:"post",body:it})})}function Ne(it){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${it.id}/collaborators.json`,{method:"Get",params:it})})}function Ft(it){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${it.id}/shixun_members_added.json`,{method:"post",body:it})})}function gt(it){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${it.identifier}/add_members_group.json`,{method:"post",body:it})})}function Dt(it){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${it.id}/change_manager.json`,{method:"Get",params:it})})}function rr(it){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${it.id}/change_manager.json`,{method:"post",body:it})})}function Xt(it){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${it.id}/collaborators_delete.json`,{method:"delete",body:{user_id:it.userId}})})}function fr(it){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${it.id}/ranking_list.json`,{method:"Get"})})}function Ge(it){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${it.id}/settings.json`,{method:"Get"})})}function Tt(it){return p(this,null,function*(){return(0,r.ZP)("/api/shixuns/get_mirror_script.json",{method:"Get",params:{mirror_id:it.mirror_id}})})}function zt(it){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${it.id}/get_script_contents.json`,{method:"Get",params:it})})}function nt(it){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${it.id}/get_custom_script.json`,{method:"Get",params:it})})}function bt(it){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${it.id}/update_for_jupyter.json`,{method:"put",body:it})})}function dt(it){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${it.id}/shixun_quotes.json`,{method:"Get"})})}function et(it){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${it.id}.json`,{method:"delete"})})}function ze(it){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${it.id}/close.json`,{method:"post",body:it})})}function ge(it){return p(this,null,function*(){return(0,r.ZP)("/api/shixuns/departments.json",{method:"Get",params:it})})}function Se(it){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${it.id}/update_permission_setting.json`,{method:"post",body:it})})}function Le(it){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${it.id}/update_learn_setting.json`,{method:"post",body:it})})}function $e(it){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${it.id}/update_setting`,{method:"post",body:it})})}function We(it){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${it.id}/get_data_sets.json`,{method:"Get",params:it})})}function rt(it){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${it.id}/destroy_data_sets.json`,{method:"Delete",body:{id:it.deleteId}})})}function ot(it){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${it.id}/challenges/new.json`,{method:"get"})})}function Kt(it){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${it.identifier}/challenges.json`,{method:"post",body:a({},it)})})}function Wt(it){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${it.id}/challenges/${it.challengeId}/edit.json`,{method:"get",params:{tab:it.tab}})})}function Ce(it){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${it.id}/challenges/${it.challengesId}.json`,{method:"put",body:a({},it)})})}function Je(it){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${it.id}/challenges/${it.challengesId}/choose_questions.json`,{method:"get"})})}function Yt(it){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${it.id}/challenges/move_position.json`,{method:"post",body:a({},it)})})}function kt(it){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${it.id}/challenges/${it.challengesId}.json`,{method:"delete",body:a({},it)})})}function Ht(it){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${it.id}/challenges/${it.challengesId}/edit.json`,{method:"get",params:a({},it)})})}function $t(it){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${it.id}/challenges/${it.challengeId}/answer.json`,{method:"get",params:a({},it)})})}function tr(it){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${it.id}/challenges/${it.challengeId}/crud_answer.json`,{method:"post",body:a({},it)})})}function Gt(it){return p(this,null,function*(){if(it.type===1)return(0,r.ZP)(`/api/shixuns/${it.id}/challenges/${it.challengesId}/create_choose_question.json`,{method:"post",body:a({},it)});if(it.type===2)return(0,r.ZP)(`/api/shixuns/${it.id}/challenges/${it.challengesId}/create_blank_question.json`,{method:"post",body:a({},it)});if(it.type===3)return(0,r.ZP)(`/api/shixuns/${it.id}/challenges/${it.challengesId}/create_judge_question.json`,{method:"post",body:a({},it)})})}function Me(it){return p(this,null,function*(){if(it.type===1)return(0,r.ZP)(`/api/shixuns/${it.id}/challenges/${it.challengesId}/update_choose_question.json`,{method:"post",body:x(a({},it),{choose_id:it.questionId})});if(it.type===2)return(0,r.ZP)(`/api/shixuns/${it.id}/challenges/${it.challengesId}/update_blank_question.json`,{method:"put",body:x(a({},it),{choose_id:it.questionId})});if(it.type===3)return(0,r.ZP)(`/api/shixuns/${it.id}/challenges/${it.challengesId}/update_judge_question.json`,{method:"put",body:x(a({},it),{choose_id:it.questionId})})})}function ce(it){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${it.id}/challenges/${it.challengesId}/destroy_challenge_choose.json`,{method:"Delete",body:{choose_id:it.questionId}})})}function he(it){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${it.id}/challenges/${it.challengesId}/choose_question_up_position.json`,{method:"post",body:{challenge_choose_id:it.questionId}})})}function Pt(it){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${it.id}/challenges/${it.challengesId}/choose_question_down_position.json`,{method:"post",body:{challenge_choose_id:it.questionId}})})}function Te(it){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${it.id}/challenges/${it.challengesId}/edit_choose_question.json`,{method:"get",params:x(a({},it),{choose_id:it.questionId})})})}function ct(it){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${it.id}/delete_git_file.json`,{method:"Delete",body:it})})}function Zt(it){return p(this,null,function*(){return(0,r.ZP)(`/api/sci/projects/${it.id}/delete_git_file.json`,{method:"Delete",body:it})})}function wt(it){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${it.id}/mv_file.json`,{method:"post",body:it})})}function Ie(it){return p(this,null,function*(){return(0,r.ZP)(`/api/sci/projects/${it.id}/mv_file.json`,{method:"post",body:it})})}function xt(it){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${it.id}/repository.json`,{method:"post",body:it})})}function be(it){return p(this,null,function*(){return(0,r.ZP)(`/api/sci/projects/${it.id}/repository.json`,{method:"post",body:it})})}function Ye(it){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${it.id}/secret_repository.json`,{method:"post",body:it})})}function mt(it){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${it.id}/add_file.json`,{method:"post",body:it})})}function Lt(it){return p(this,null,function*(){return(0,r.ZP)(`/api/sci/projects/${it.id}/add_file.json`,{method:"post",body:it})})}function Fe(it){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${it.id}/commits.json`,{method:"post",body:it})})}function Or(it){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${it.id}/file_content.json`,{method:"post",body:it})})}function St(it){return p(this,null,function*(){return(0,r.ZP)(`/api/sci/projects/${it.id}/file_content.json`,{method:"post",body:it})})}function Vr(it){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${it.id}/update_file.json`,{method:"post",body:it})})}function tn(it){return p(this,null,function*(){return(0,r.ZP)(`/api/sci/projects/${it.id}/update_file.json`,{method:"post",body:it})})}function wr(it){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${it.id}/upload_git_folder.json`,{method:"post",body:{path:it.path,secret_repository:it.secret_repository}})})}function Nr(it){return p(this,null,function*(){return(0,r.ZP)(`/api/${it.url}`,{method:"Get"})})}function gr(it){return p(this,null,function*(){return(0,r.ZP)("/api/jupyters/get_info_with_tpm.json",{method:"Get",params:it})})}function Ur(it){return p(this,null,function*(){return(0,r.ZP)("/api/jupyters/timeinfo_with_tpm.json",{method:"Get",params:it})})}function cn(it){return p(this,null,function*(){return(0,r.ZP)("/api/jupyters/reset_with_tpm.json",{method:"Get",params:it})})}function hn(it){return p(this,null,function*(){return(0,r.ZP)("/api/jupyters/save_with_tpm.json",{method:"Get",params:it})})}function ur(it){return p(this,null,function*(){return(0,r.ZP)("/api/jupyters/active_with_tpm.json",{method:"Get",params:it})})}function Rt(it){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${it.id}/fork_list.json`,{method:"Get",params:it})})}function _t(it){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${it.identifier}/change_editable.json`,{method:"put",body:a({},it)})})}function vt(it){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${it.id}/set_secret_dir.json`,{method:"post",body:a({},it)})})}function jt(it){return p(this,null,function*(){return(0,r.ZP)("/api/shixuns/new.json",{method:"Get",params:it})})}function Cr(it){return p(this,null,function*(){return(0,r.ZP)("/api/shixuns/environment_info",{method:"Get",params:it})})}function yr(it){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${it.id}/init_repository.json`,{method:"post",body:a({},it)})})}function nn(it){return p(this,null,function*(){return(0,r.ZP)(`/api/sci/projects/${it.id}/init_repository.json`,{method:"post",body:a({},it)})})}function Kr(it){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${it.id}/update_secret_repository.json`,{method:"post",body:a({},it)})})}function Ln(it){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${it.id}/exist_exercise.json`,{method:"get",params:a({},it)})})}function At(it){return p(this,null,function*(){return(0,r.ZP)(`/api/mirror_applies/${it.id}.json`,{method:"get",params:a({},it)})})}function cr(it){return p(this,null,function*(){return Fetch(`/api/mirror_applies/${it.id}/publish.json`,{method:"post",body:a({},it)})})}function Qr(it){return p(this,null,function*(){return Fetch(`/api/mirror_applies/${it.id}/open_vnc.json`,{method:"post",params:a({},it)})})}function yn(it){return p(this,null,function*(){return Fetch(`/api/mirror_applies/${it.id}/open_webssh.json`,{method:"post",params:a({},it)})})}function Gn(it){return p(this,null,function*(){return Fetch(`/api/mirror_applies/${it.id}/save_image.json`,{method:"post",body:a({},it)})})}function fi(it){return p(this,null,function*(){return Fetch(`/api/mirror_applies/${it.id}/delete_image.json`,{method:"post",body:a({},it)})})}function Xn(it){return p(this,null,function*(){return Fetch(`/api/mirror_applies/${it.id}/extend_vnc.json`,{method:"post",body:a({},it)})})}function Ki(it){return p(this,null,function*(){return Fetch(`/api/mirror_applies/${it.id}/reset_vnc_link.json`,{method:"post",body:a({},it)})})}function hi(it){return p(this,null,function*(){return(0,r.ZP)("/api/paths/get_task_pass.json",{method:"get",params:a({},it)})})}function bi(it){return p(this,null,function*(){return(0,r.ZP)("/api/jupyters/get_info_with_jupyter_lab.json",{method:"get",params:a({},it)})})}function Di(it){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${it.id}/update_jupyter_lab_setting.json`,{method:"post",body:a({},it)})})}function wi(it){return p(this,null,function*(){return(0,r.ZP)("/api/shixuns/check_shixun_copy.json",{method:"post",body:it})})}function fa(it){return p(this,null,function*(){return(0,r.ZP)(`/api/progress_homeworks/${it}`,{method:"get",params:{is_initiative_study:1}})})}function ri(it){return p(this,null,function*(){return Fetch(`/api/shixuns/${it.id}/update_shixun_study_num.json`,{method:"post",body:a({},it)})})}function la(it){return p(this,null,function*(){return(0,r.ZP)("/api/jupyters/preview.json",{method:"get",params:it})})}function Et(it){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${it}/recommend_config.json`,{method:"get"})})}},92982: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 G},gp:function(){return a},iU:function(){return N},l3:function(){return R},mw:function(){return A},oZ:function(){return _},rM:function(){return P},r_:function(){return K},s:function(){return x},ur:function(){return B},xV:function(){return y},yb:function(){return k}});var r=e(82093),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,o=(H,ae,ne)=>ae in H?i(H,ae,{enumerable:!0,configurable:!0,writable:!0,value:ne}):H[ae]=ne,h=(H,ae)=>{for(var ne in ae||(ae={}))c.call(ae,ne)&&o(H,ne,ae[ne]);if(l)for(var ne of l(ae))f.call(ae,ne)&&o(H,ne,ae[ne]);return H},u=(H,ae,ne)=>new Promise((oe,q)=>{var J=ee=>{try{se(ne.next(ee))}catch(Q){q(Q)}},V=ee=>{try{se(ne.throw(ee))}catch(Q){q(Q)}},se=ee=>ee.done?oe(ee.value):Promise.resolve(ee.value).then(J,V);se((ne=ne.apply(H,ae)).next())});function a(H){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${H.coursesId}/teachers.json`,{method:"get",params:h({},H)})})}function x(H){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${H.coursesId}/apply_teachers.json`,{method:"get",params:h({},H)})})}function p(H){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${H.coursesId}/graduation_group_list.json`,{method:"get",params:h({},H)})})}function y(H){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${H.coursesId}/all_course_groups.json`,{method:"get",params:h({},H)})})}function _(H){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${H.coursesId}/set_course_group.json`,{method:"post",body:h({},H)})})}function b(H){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${H.coursesId}/join_graduation_group.json`,{method:"post",body:h({},H)})})}function S(H){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${H.coursesId}/create_graduation_group.json`,{method:"post",body:h({},H)})})}function k(H){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${H.coursesId}/delete_course_teacher.json`,{method:"post",body:h({},H)})})}function R(H){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${H.coursesId}/delete_from_course.json`,{method:"post",body:h({},H)})})}function A(H){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${H.coursesId}/change_member_role.json`,{method:"post",body:h({},H)})})}function P(H){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${H.coursesId}/change_course_admin.json`,{method:"post",body:h({},H)})})}function M(H){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${H.coursesId}/teacher_application_review.json`,{method:"post",body:h({},H)})})}function B(H){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${H.coursesId}/students.json`,{method:"get",params:h({},H)})})}function N(H,ae){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${H}/apply_students.json`,{method:"get",params:ae})})}function K(H,ae){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${H}/join_student_checkout.json`,{method:"get",params:ae})})}function G(H,ae){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${H}/student_application_review.json`,{method:"post",body:ae})})}},63423:function(d,v,e){"use strict";e.d(v,{B$:function(){return y},Cx:function(){return J},DA:function(){return P},DH:function(){return p},Ef:function(){return ee},Es:function(){return b},Ex:function(){return rr},FM:function(){return ne},Fn:function(){return Q},Gq:function(){return fr},Ho:function(){return B},IU:function(){return _e},JJ:function(){return ue},Ol:function(){return Ne},Qx:function(){return ae},Tv:function(){return U},V8:function(){return x},WS:function(){return V},WY:function(){return H},ai:function(){return q},bG:function(){return k},bJ:function(){return a},c0:function(){return Xt},dE:function(){return ie},dt:function(){return $},gI:function(){return se},lO:function(){return oe},mW:function(){return G},n0:function(){return A},nV:function(){return He},o1:function(){return Ft},qE:function(){return _},qN:function(){return M},rV:function(){return N},sh:function(){return De},vR:function(){return S},w3:function(){return K},x4:function(){return R},z2:function(){return gt}});var r=e(82093),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,o=(Ge,Tt,zt)=>Tt in Ge?i(Ge,Tt,{enumerable:!0,configurable:!0,writable:!0,value:zt}):Ge[Tt]=zt,h=(Ge,Tt)=>{for(var zt in Tt||(Tt={}))c.call(Tt,zt)&&o(Ge,zt,Tt[zt]);if(l)for(var zt of l(Tt))f.call(Tt,zt)&&o(Ge,zt,Tt[zt]);return Ge},u=(Ge,Tt,zt)=>new Promise((nt,bt)=>{var dt=ge=>{try{ze(zt.next(ge))}catch(Se){bt(Se)}},et=ge=>{try{ze(zt.throw(ge))}catch(Se){bt(Se)}},ze=ge=>ge.done?nt(ge.value):Promise.resolve(ge.value).then(dt,et);ze((zt=zt.apply(Ge,Tt)).next())});const a=Ge=>u(void 0,null,function*(){return(0,r.ZP)(`/api/common_comments/${Ge.id}/move.json`,{method:"post",body:Ge})}),x=Ge=>u(void 0,null,function*(){return(0,r.ZP)(`/api/common_comments/${Ge.id}.json`,{method:"delete",body:Ge})}),p=Ge=>u(void 0,null,function*(){return(0,r.ZP)(`/api/common_comments/${Ge.id}.json`,{method:"put",body:Ge})}),y=Ge=>u(void 0,null,function*(){return(0,r.ZP)("/api/common_comments.json",{method:"post",body:Ge})}),_=Ge=>u(void 0,null,function*(){return(0,r.ZP)("/api/common_comments.json",{method:"Get",params:Ge})});function b(Ge){return u(this,null,function*(){return(0,r.ZP)("/api/accounts/login.json",{method:"post",body:h({},Ge)})})}function S(Ge){return u(this,null,function*(){return(0,r.ZP)("/api/accounts/logout.json",{method:"get"})})}function k(Ge){return u(this,null,function*(){return(0,r.ZP)("/api/users/get_user_info.json",{method:"get",params:h({},Ge)})})}function R(Ge){return u(this,null,function*(){return(0,r.ZP)("/api/users/get_notice.json",{method:"get",params:h({},Ge)})})}function A(){return u(this,null,function*(){return(0,r.ZP)("/api/users/system_update.json",{method:"get"})})}function P(Ge){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${Ge.username}/homepage_info.json`,{method:"get"})})}function M(Ge){return u(this,null,function*(){return(0,r.ZP)("/api/users/attendance.json",{method:"post"})})}function B(Ge){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${Ge.username}/courses.json`,{method:"get",params:Ge})})}function N(Ge){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${Ge.username}/shixuns.json`,{method:"get",params:Ge})})}function K(Ge){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${Ge.username}/subjects.json`,{method:"get",params:Ge})})}function G(Ge){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${Ge.username}/projects.json`,{method:"get",params:Ge})})}function H(Ge){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${Ge.username}/videos.json`,{method:"get",params:Ge})})}function ae(Ge){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${Ge.username}/videos/review.json`,{method:"get",params:Ge})})}function ne(Ge){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${Ge.username}/videos/${Ge.id}.json`,{method:"delete"})})}function oe(Ge){return u(this,null,function*(){return(0,r.ZP)("/api/watch_video_histories.json",{method:"post",body:Ge})})}function q(Ge){return u(this,null,function*(){return(0,r.ZP)("/api/users/question_banks.json",{method:"get",params:Ge})})}function J(Ge){return u(this,null,function*(){return(0,r.ZP)("/api/question_banks/multi_public.json",{method:"post",body:Ge})})}function V(Ge){return u(this,null,function*(){return(0,r.ZP)("/api/question_banks/multi_delete.json",{method:"delete",body:Ge})})}function se(Ge){return u(this,null,function*(){return(0,r.ZP)("/api/question_banks/my_courses.json",{method:"get",params:Ge})})}function ee(Ge){return u(this,null,function*(){return(0,r.ZP)("/api/question_banks/send_to_course.json",{method:"post",body:Ge})})}function Q(Ge){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${Ge.username}/videos/${Ge.object_id}/create_course_video.json`,{method:"post",body:Ge})})}function ue(Ge){return u(this,null,function*(){return(0,r.ZP)(`/api/homework_banks/${Ge.topicId}.json`,{method:"get",params:Ge})})}function U(Ge){return u(this,null,function*(){return(0,r.ZP)("/api/question_banks/multi_delete.json",{method:"delete",body:h({},Ge)})})}function $(Ge){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${Ge.username}/videos/batch_publish.json`,{method:"post",body:Ge})})}function ie(Ge){return u(this,null,function*(){return(0,r.ZP)(`/api/myshixuns/${Ge.identifier}/cancel.json`,{method:"delete",body:h({},Ge)})})}function _e(Ge){return u(this,null,function*(){return(0,r.ZP)("/api/users/get_engineer_url.json",{method:"get",params:h({},Ge)})})}function Pe(Ge){return u(this,null,function*(){return Fetch("/api/intelligent_recommendations/user_choice_learn_path.json",{method:"post",body:h({},Ge)})})}function De(){return u(this,null,function*(){return(0,r.ZP)("/api/intelligent_recommendations/persona.json",{method:"get"})})}function He(){return u(this,null,function*(){return(0,r.ZP)("/api/intelligent_recommendations/user_learn_path.json",{method:"get"})})}function Ne(Ge){return(0,r.ZP)("/api/accounts/valid_email_and_phone.json",{method:"get",params:Ge})}function Ft(Ge){return(0,r.ZP)("/api/accounts/get_verification_code.json",{method:"get",params:Ge})}function gt(Ge){return(0,r.ZP)("/api/accounts/register.json",{method:"post",body:h({},Ge)})}function Dt(Ge){return Fetch("/api/weapps/register.json",{method:"post",body:h({},Ge)})}function rr(Ge){return(0,r.ZP)(`/api/users/accounts/${Ge.login}/password.json`,{method:"put",body:h({},Ge)})}function Xt(Ge){return(0,r.ZP)("/api/accounts/reset_password.json",{method:"post",body:h({},Ge)})}function fr(Ge){return(0,r.ZP)("/api/accounts/login_for_phone.json",{method:"get",params:h({},Ge)})}},80541:function(d,v,e){"use strict";e.d(v,{BQ:function(){return a},DH:function(){return B},Db:function(){return oe},Ju:function(){return ne},Mz:function(){return G},O2:function(){return _},TJ:function(){return k},Vg:function(){return y},ZY:function(){return x},Zx:function(){return K},cU:function(){return p},fn:function(){return ae},jK:function(){return R},yN:function(){return H}});var r=e(82093),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,o=(q,J,V)=>J in q?i(q,J,{enumerable:!0,configurable:!0,writable:!0,value:V}):q[J]=V,h=(q,J)=>{for(var V in J||(J={}))c.call(J,V)&&o(q,V,J[V]);if(l)for(var V of l(J))f.call(J,V)&&o(q,V,J[V]);return q},u=(q,J,V)=>new Promise((se,ee)=>{var Q=$=>{try{U(V.next($))}catch(ie){ee(ie)}},ue=$=>{try{U(V.throw($))}catch(ie){ee(ie)}},U=$=>$.done?se($.value):Promise.resolve($.value).then(Q,ue);U((V=V.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 P(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 N(q){return u(this,null,function*(){return Fetch(`/api/video_items/${q.id}/add_school.json`,{method:"post",body:q})})}function K(q){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${q.course_id}/video_people_statics.json`,{method:"get",params:q})})}function G(q){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${q.course_id}/video_duration_statics.json`,{method:"get",params:q})})}function H(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 ne(q){return u(this,null,function*(){return(0,r.ZP)("/api/study_action_analyses.json",{method:"post",body:q})})}function oe(q){return u(this,null,function*(){return(0,r.ZP)("/api/study_action_analyses/detail.json",{method:"post",body:q})})}},19985:function(d,v,e){"use strict";e.d(v,{A:function(){return G},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 K},cZ:function(){return u},rV:function(){return P},sT:function(){return b},tS:function(){return N},xt:function(){return A},y2:function(){return l}});var r=e(82093),i=(H,ae,ne)=>new Promise((oe,q)=>{var J=ee=>{try{se(ne.next(ee))}catch(Q){q(Q)}},V=ee=>{try{se(ne.throw(ee))}catch(Q){q(Q)}},se=ee=>ee.done?oe(ee.value):Promise.resolve(ee.value).then(J,V);se((ne=ne.apply(H,ae)).next())});const l=H=>i(void 0,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${H.virtual_spacesId}/base_statistic_data.json`,{method:"Get",params:H})});function c(H){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${H.virtual_spacesId}/discussions/${H.id}.json`,{method:"put",body:H})})}function f(H){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${H.virtual_spacesId}/discussions/${H.id}.json`,{method:"get",params:H})})}function o(H){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${H.virtual_spacesId}/discussions.json`,{method:"post",body:H})})}function h(H){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${H.virtual_spacesId}/discussions.json`,{method:"get",params:H})})}function u(H){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${H.virtual_spacesId}/good_lessons/${H.id}/add_resources.json`,{method:"post",body:H})})}function a(H){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${H.virtual_spacesId}/good_lessons/${H.id}/lesson_resources_list.json`,{method:"get",params:H})})}function x(H){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${H.virtual_spacesId}/good_lessons/${H.id}.json`,{method:"get",params:H})})}function p(H){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${H.virtual_spacesId}/good_lessons/${H.id}.json`,{method:"put",body:H})})}function y(H){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${H.virtual_spacesId}/good_lessons.json`,{method:"post",body:H})})}function _(H){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${H.virtual_spacesId}/good_lessons.json`,{method:"get",params:H})})}function b(H){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${H==null?void 0:H.id}.json`,{method:"get"})})}function S(H){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${H==null?void 0:H.id}/modules.json`,{method:"get"})})}function k(H){return i(this,null,function*(){return Fetch(`/api/virtual_classrooms/${H.id}/videos/batch_publish.json`,{method:"post",body:H})})}function R(H){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${H.virtual_spacesId}/members.json`,{method:"post",body:H})})}function A(H){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${H.virtual_spacesId}/members/${H.id}/change_creator.json`,{method:"post",body:H})})}function P(H,ae){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${H}/shixuns.json`,{method:"get",params:ae})})}function M(H,ae){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${H}/shixuns`,{method:"post",body:ae})})}function B(H){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${H.virtual_classroom_id}/shixuns/${H.shixun_id}.json`,{method:"delete"})})}function N(H,ae){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${H}/subjects.json`,{method:"get",params:ae})})}function K(H,ae){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${H}/subjects.json`,{method:"post",body:ae})})}function G(H){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${H.virtual_classroom_id}/subjects/${H.subject_id}.json`,{method:"delete"})})}},34055:function(d,v,e){"use strict";e.d(v,{$O:function(){return J},EO:function(){return ot},G5:function(){return K},GD:function(){return i},GJ:function(){return x},Gg:function(){return p},I2:function(){return f},IR:function(){return H},JA:function(){return rt},JL:function(){return A},Jd:function(){return q},Ny:function(){return k},RV:function(){return ne},Rb:function(){return N},Rm:function(){return G},V9:function(){return ie},Yh:function(){return ue},aN:function(){return b},aQ:function(){return u},ag:function(){return We},bg:function(){return Wt},d8:function(){return B},dE:function(){return ae},eB:function(){return oe},eY:function(){return Ce},fn:function(){return $e},h:function(){return tr},j5:function(){return _},m$:function(){return Je},oF:function(){return y},qz:function(){return h},t_:function(){return S},tu:function(){return kt},y8:function(){return Kt}});var r=e(76560),i=(Gt=>(Gt[Gt.SuperAdmin=1]="SuperAdmin",Gt[Gt.Operation=2]="Operation",Gt[Gt.CertifiedTeacher=5]="CertifiedTeacher",Gt[Gt.TrainingProduction=8]="TrainingProduction",Gt[Gt.UncertifiedTeacher=12]="UncertifiedTeacher",Gt[Gt.Student=15]="Student",Gt))(i||{}),l=(Gt=>(Gt[Gt.SuperAdmin=1]="SuperAdmin",Gt[Gt.Operation=2]="Operation",Gt[Gt.Admin=5]="Admin",Gt[Gt.Teacher=8]="Teacher",Gt[Gt.Assistant=12]="Assistant",Gt[Gt.Student=15]="Student",Gt))(l||{}),c=(Gt=>(Gt[Gt.SuperAdmin=0]="SuperAdmin",Gt[Gt.Teacher=1]="Teacher",Gt[Gt.Student=2]="Student",Gt))(c||{});const f=Gt=>{const{user:Me}=(0,r.getDvaApp)()._store.getState(),{userInfo:ce}=Me;return Gt.some(he=>he==(ce==null?void 0:ce.role))},o=Gt=>{const{user:Me}=(0,r.getDvaApp)()._store.getState(),{userInfo:ce}=Me;return ce!=null&&ce.own?!0:Gt.some(he=>{var Pt;return he==((Pt=ce==null?void 0:ce.course)==null?void 0:Pt.course_role)})},h=()=>{const{user:Gt}=(0,r.getDvaApp)()._store.getState(),{userInfo:Me}=Gt;return Me.main_site},u=()=>{var Gt;const{user:Me}=(0,r.getDvaApp)()._store.getState(),{userInfo:ce}=Me;return(Gt=ce==null?void 0:ce.course)==null?void 0:Gt.course_is_end},a=()=>{const{user:Gt}=getDvaApp()._store.getState(),{userInfo:Me}=Gt;return Me.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]),P=()=>o([1,5]),M=()=>o([5,8]),B=()=>o([5]),N=()=>o([1,5,2]),K=()=>o([1,2,5,8]),G=()=>o([12]),H=()=>o([8]),ae=()=>o([15]),ne=()=>o([1,2,5,8,12,15]),oe=()=>o([1,2,5,8,12]),q=()=>{var Gt;const{user:Me}=(0,r.getDvaApp)()._store.getState(),{userInfo:ce}=Me;return((Gt=ce==null?void 0:ce.course)==null?void 0:Gt.course_role)===null},J=()=>{const{user:Gt}=(0,r.getDvaApp)()._store.getState(),{userInfo:Me}=Gt;return Me==null?void 0:Me.has_big_model_permission},V=()=>{const{user:Gt}=getDvaApp()._store.getState(),{userInfo:Me}=Gt;return Me==null?void 0:Me.big_model_user_unlimited},se=(Gt=!0,Me=!1)=>f([1,2,5,8,12,15]),ee=(Gt=!0,Me=!1)=>Me||!Me&&f([1]),Q=(Gt=!0,Me=!1)=>Me||!Me&&f([1,2]),ue=()=>f([15]),U=(Gt=!0,Me=!1)=>Gt?f([1,2,5,8,12,15]):Me||!Me&&f([1,2]),$=(Gt=!0,Me=!1)=>Gt?f([1,2,5,8,12,15]):Me||!Me&&f([1,2]),ie=(Gt=!0,Me=!1)=>{const{user:ce}=(0,r.getDvaApp)()._store.getState(),{userInfo:he}=ce;return he!=null&&he.is_shixun_marker?!0:f([1,2,5,8])},_e=(Gt=!0,Me=!1)=>Gt?f([1]):Me||!Me&&f([1]),Pe=(Gt=!0,Me=!1)=>Gt?f([1,2]):Me||!Me&&f([1,2]),De=(Gt=!0,Me=!1)=>Gt?f([1,2,5,8,12,15]):Me||!Me&&f([1,2]),He=(Gt=!0,Me=!1)=>Gt?f([1,2,5,8,12]):Me||!Me&&f([1,2]),Ne=(Gt=!0,Me=!1)=>Gt?f([1,2,5]):Me||!Me&&f([1,2]),Ft=(Gt=!0,Me=!1)=>Gt?f([1]):!1,gt=(Gt=!0,Me=!1)=>f([1,2,5,8,12,15]),Dt=(Gt=!0,Me=!1)=>Gt?f([1]):Me||!Me&&f([1]),rr=(Gt=!0,Me=!1)=>Gt?f([1,2]):Me||!Me&&f([1,2]),Xt=(Gt=!0,Me=!1)=>Gt?f([1,2,5,8,12,15]):Me||!Me&&f([1,2]),fr=(Gt=!0,Me=!1)=>Gt?!1:Me||!Me&&f([1,2]),Ge=(Gt=!0,Me=!1)=>Gt?Me||!Me&&f([1,2]):!1,Tt=(Gt=!0,Me=!1)=>Gt?f([1,2,5,8,12]):!1,zt=(Gt=!0,Me=!1)=>Gt?!Me&&f([1,2,5,8,12]):!1,nt=(Gt=!0,Me=!1)=>Gt?f([1,2,5]):Me||!Me&&f([1,2]),bt=(Gt=!0,Me=!1)=>f([1,2,5,8,12]),dt=(Gt=!0,Me=!1)=>Gt?f([1]):Me||!Me&&f([1]),et=(Gt=!0,Me=!1)=>Gt?f([1,2]):Me||!Me&&f([1,2]),ze=(Gt=!0,Me=!1)=>Gt?f([1,2,5,8,12]):Me||!Me&&f([1,2]),ge=(Gt=!0,Me=!1)=>Gt?Me||!Me&&f([1,2]):!1,Se=(Gt=!0,Me=!1)=>Gt?f([1,2,5,8,12]):Me||!Me&&f([1,2]),Le=(Gt=!0,Me=!1)=>o([8]),$e=()=>f([1]),We=()=>f([1,2]),rt=()=>f([15]),ot=()=>f([1,2,5]),Kt=()=>f([1,2,5,12]),Wt=()=>{var Gt;const{user:Me}=(0,r.getDvaApp)()._store.getState();return!!((Gt=Me.userInfo)!=null&&Gt.login)},Ce=()=>{const{user:Gt}=(0,r.getDvaApp)()._store.getState();return Gt.userInfo},Je=()=>{var Gt,Me;const{user:ce}=(0,r.getDvaApp)()._store.getState();return!!((Me=(Gt=ce.userInfo)==null?void 0:Gt.path)!=null&&Me.own)},Yt=Gt=>{const{graduations:Me}=(0,r.getDvaApp)()._store.getState(),{details:ce}=Me;return Gt.some(he=>he===(ce==null?void 0:ce.user_identity))},kt=()=>Yt([0,1]),Ht=()=>Yt([0]),$t=()=>Yt([1]),tr=()=>Yt([2])},22688: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||{})},28048: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"}},90524: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.14",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"]},82093:function(d,v,e){"use strict";e.d(v,{IV:function(){return U},U2:function(){return se},ZP:function(){return oe},d4:function(){return ee},gz:function(){return ue},rz:function(){return ne},v_:function(){return Q}});var r=e(90524),i=e(28909),l=e(43418),c=e(8591),f=e(85582),o=e.n(f),h=e(59301),u=e(76560),a=e(49661),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=($,ie,_e)=>ie in $?y($,ie,{enumerable:!0,configurable:!0,writable:!0,value:_e}):$[ie]=_e,P=($,ie)=>{for(var _e in ie||(ie={}))k.call(ie,_e)&&A($,_e,ie[_e]);if(S)for(var _e of S(ie))R.call(ie,_e)&&A($,_e,ie[_e]);return $},M=($,ie)=>_($,b(ie)),B=($,ie,_e)=>new Promise((Pe,De)=>{var He=gt=>{try{Ft(_e.next(gt))}catch(Dt){De(Dt)}},Ne=gt=>{try{Ft(_e.throw(gt))}catch(Dt){De(Dt)}},Ft=gt=>gt.done?Pe(gt.value):Promise.resolve(gt.value).then(He,Ne);Ft((_e=_e.apply($,ie)).next())});let N;const K={200:"\u670D\u52A1\u5668\u6210\u529F\u8FD4\u56DE\u8BF7\u6C42\u7684\u6570\u636E\u3002",201:"\u65B0\u5EFA\u6216\u4FEE\u6539\u6570\u636E\u6210\u529F\u3002",202:"\u4E00\u4E2A\u8BF7\u6C42\u5DF2\u7ECF\u8FDB\u5165\u540E\u53F0\u6392\u961F\uFF08\u5F02\u6B65\u4EFB\u52A1\uFF09\u3002",204:"\u5220\u9664\u6570\u636E\u6210\u529F\u3002",400:"\u53D1\u51FA\u7684\u8BF7\u6C42\u6709\u9519\u8BEF\uFF0C\u670D\u52A1\u5668\u6CA1\u6709\u8FDB\u884C\u65B0\u5EFA\u6216\u4FEE\u6539\u6570\u636E\u7684\u64CD\u4F5C\u3002",401:"\u7528\u6237\u6CA1\u6709\u6743\u9650\uFF08\u4EE4\u724C\u3001\u7528\u6237\u540D\u3001\u5BC6\u7801\u9519\u8BEF\uFF09\u3002",403:"\u7528\u6237\u5F97\u5230\u6388\u6743\uFF0C\u4F46\u662F\u8BBF\u95EE\u662F\u88AB\u7981\u6B62\u7684\u3002",404:"\u53D1\u51FA\u7684\u8BF7\u6C42\u9488\u5BF9\u7684\u662F\u4E0D\u5B58\u5728\u7684\u8BB0\u5F55\uFF0C\u670D\u52A1\u5668\u6CA1\u6709\u8FDB\u884C\u64CD\u4F5C\u3002",406:"\u8BF7\u6C42\u7684\u683C\u5F0F\u4E0D\u53EF\u5F97\u3002",410:"\u8BF7\u6C42\u7684\u8D44\u6E90\u88AB\u6C38\u4E45\u5220\u9664\uFF0C\u4E14\u4E0D\u4F1A\u518D\u5F97\u5230\u7684\u3002",422:"\u5F53\u521B\u5EFA\u4E00\u4E2A\u5BF9\u8C61\u65F6\uFF0C\u53D1\u751F\u4E00\u4E2A\u9A8C\u8BC1\u9519\u8BEF\u3002",500:"\u670D\u52A1\u5668\u53D1\u751F\u9519\u8BEF\uFF0C\u8BF7\u68C0\u67E5\u670D\u52A1\u5668\u3002",502:"\u7F51\u5173\u9519\u8BEF\u3002",503:"\u670D\u52A1\u4E0D\u53EF\u7528\uFF0C\u670D\u52A1\u5668\u6682\u65F6\u8FC7\u8F7D\u6216\u7EF4\u62A4\u3002",504:"\u7F51\u5173\u8D85\u65F6\u3002"},G=($,ie)=>B(void 0,null,function*(){if($.status>=200&&$.status<300)return $;const _e=K[$.status]||$.statusText;let Pe;var De=$.json();yield De.then((Ne,Ft)=>{setTimeout(()=>{let gt=(0,u.getDvaApp)()},400),Pe=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 He=new Error(_e);throw He.name=$.status,He.response=$,{data:$,code:$.status,message:Pe||_e}}),H=($,ie)=>{const _e=$.headers.get("Content-Type");return _e&&_e.match(/application\/json/i)&&$.clone().text().then(()=>{}),$};function ae($){try{return decodeURIComponent($),decodeURIComponent(encodeURIComponent($))===$}catch(ie){return!1}}const ne=$=>{$=$||{};let ie="";for(let _e in $)typeof $[_e]=="object"?Array.isArray($[_e])&&$[_e].forEach((Pe,De)=>{ie+="&"+_e+"[]="+Pe}):$[_e]!==void 0&&(ie+="&"+_e+"="+(ae($[_e])?$[_e]:encodeURIComponent($[_e])));return ie.substr(1)};function oe($,ie,_e,Pe){ie.method||(ie.method="get"),ie.method=ie.method.toUpperCase(),ie.mode="cors";const De=P({},ie),{user:He}=(0,u.getDvaApp)()._store.getState(),{userInfo:Ne}=He,Ft=$+(De.body?JSON.stringify(De.body):""),gt=o().sha256().update(Ft).digest("hex"),Dt={credentials:"include",withCredentials:!0},rr={};Ne!=null&&Ne.login&&(rr.zzud=Ne==null?void 0:Ne.login,Ne!=null&&Ne.school_id&&(rr.zzsud=Ne==null?void 0:Ne.school_id),De.params=P(P({},De.params||{}),rr));let Xt=P(P({},Dt),(0,x.cloneDeep)(De));(Xt.method==="POST"||Xt.method==="PUT"||Xt.method==="PATCH"||Xt.method==="DELETE")&&(_e?(Xt.headers=M(P({_method:ie.method.toUpperCase()},Xt.headers),{"Pc-Authorization":(0,a.ej)("_educoder_session"),"X-Original-Protocol":location.protocol,"X-Original-Host":location.host}),Xt.body=De.body):(Xt.headers=P({Accept:"application/json",_method:ie.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},Xt.headers),Xt.body=JSON.stringify(De.body))),Xt.method=="GET"?(Xt.headers=M(P({Accept:"application/json","Content-Type":"application/json; charset=utf-8",_method:ie.method.toUpperCase()},Xt.headers),{"Pc-Authorization":(0,a.ej)("_educoder_session"),"X-Original-Protocol":location.protocol,"X-Original-Host":location.host}),De.params&&ne(De.params)&&($+="?"+ne(De.params))):rr.zzud&&($+="?"+ne(P({},rr)));const fr=De.expirys&&60;let Ge;(bt=>{bt.json="application/json;charset=UTF-8",bt.form="application/x-www-form-urlencoded; charset=UTF-8"})(Ge||(Ge={}));let Tt;(bt=>{bt.get="GET",bt.post="POST"})(Tt||(Tt={}));const zt=bt=>B(this,null,function*(){const dt=yield bt.arrayBuffer();let et;const ze=new Blob([dt]);try{et=bt.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(ze),Le=et;return ge.href=Se,ge.download=Le,ge.click(),window.URL.revokeObjectURL(Se),dt});let nt=r.Z.API_SERVER;return(window.ENV==="dev"||$.startsWith("http"))&&(nt=""),Xt.method=="GET"&&Xt.params&&Object.keys(Xt.params).map(bt=>{if(Xt.params[bt]&&!Array.isArray(Xt.params[bt]))try{Xt.params[bt]=encodeURIComponent(decodeURIComponent(Xt.params[bt]))}catch(dt){Xt.params[bt]=encodeURIComponent(Xt.params[bt])}}),(0,a.Ec)(Xt,$),Pe&&(nt=""),Xt.headers._method=Xt.method,Xt.headers["X-HTTP-Method-Override"]=Xt.method,Xt.method!=="GET"&&(Xt.method="POST"),fetch(nt+$,Xt).then(bt=>G(bt,P({url:r.Z.API_SERVER+$},Xt))).then(bt=>H(bt,gt)).then(bt=>B(this,null,function*(){var dt,et,ze,ge;try{const Le=bt.headers.get("cs");Le&&(0,a.d8)("_educoder_session",Le,1)}catch(Le){}if(bt.status===204)return bt.text();let Se;if(bt.headers.get("content-type").indexOf("application/json")>-1){Se=yield bt.json();try{const Le=/\(\s+\/api\/attachments\/(\d+)|\(\/api\/attachments\/(\d+)\//g,$e=/\"\/api\/attachments\/(\d+)\//g,We=/\(\s+\/files\/uploads\/(\d+)|\"\/files\/uploads\/(\d+)\//g,rt=/\/api\/attachments\/(\d+)/g,ot=/\/attachments\/download\/(\d+)/g;let Kt=JSON.stringify(Se).replace(rt,(Wt,Ce,Je,Yt)=>{const kt=Ce||Je||Yt;return"/api/attachments/"+(0,a.Jn)(kt)}).replace(ot,(Wt,Ce,Je)=>{const Yt=Ce||Je;return"/attachments/download/"+(0,a.Jn)(Yt)}).replace(Le,(Wt,Ce,Je,Yt)=>{const kt=Ce||Je||Yt;return"(/api/attachments/"+(0,a.Jn)(kt)}).replace($e,(Wt,Ce,Je)=>{const Yt=Ce||Je;return'"/api/attachments/'+(0,a.Jn)(Yt)}).replace(We,(Wt,Ce,Je)=>{const Yt=Ce||Je;return"(/files/uploads/"+(0,a.Jn)(Yt)}).replace(/\r\n/g,`
|
|
|
`);Se=JSON.parse(Kt)}catch(Le){}}else Xt.headers["Content-Type"]==="application/xml"?Se=yield bt.text():(dt=De.body)!=null&&dt.autoDownload||(et=De.params)!=null&&et.autoDownload?Se=yield zt(bt):Se=yield bt.arrayBuffer();try{Se.status===401&&(!((ze=Xt.params)!=null&&ze.hidePopLogin)||!((ge=Xt.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"}}):(N=N||l.default.confirm({visible:!1,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88"}),N.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(Le){console.log("fetcherr",Le)}return V(Se,$),Se})).catch(bt=>{try{const dt=bt.code;if(bt instanceof TypeError&&window.showNetworkErrorTip(`${$}<span class="ml10">${bt.message}</span>`),dt){if(dt===401){(0,u.getDvaApp)()._store.dispatch({type:"user/showPopLogin",payload:{showPopLogin:!0,showClosable:!0}});return}V(bt,$)}else $.includes("/file/filePatchMerge")?(0,u.getDvaApp)()._store.dispatch({type:"shixunHomeworks/setActionTabs",payload:{key:"\u5206\u7247\u4E13\u7528504",params:Xt.body}}):bt.message!=="403"&&window.showNetworkErrorTip(`${$}<span class="ml10">${bt.message}</span>`);return bt}catch(dt){}})}let q=!1,J=!1;const V=($,ie)=>{var _e,Pe,De;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&&((De=(Pe=$==null?void 0:$.data)==null?void 0:Pe.exercise_list)==null||De.map(Ft=>{Ne+=`<a target="_blank" href="/classrooms/${Ft.identifier}/exercise">\u300A${Ft.exercise_name}\u300B</a>`})),l.default.info({title:"\u63D0\u793A",content:h.createElement("div",{id:"fetchStatus7",className:"fetchStatus7"},""),maskClosable:!1,closeIcon:!1,width:550,maskStyle:{background:"#000"},okText:"\u8FD4\u56DE\u9996\u9875",onOk:()=>{window.location.href="/"}}),setTimeout(()=>{document.getElementById("fetchStatus7").innerHTML=`<div>\u60A8\u5F53\u524D\u6709\u6B63\u5728\u8FDB\u884C\u7684\u8003\u8BD5 ${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 He={403:"/403",404:"/404",500:"/500"};if(He[$.status]&&!q){const{user:Ne}=(0,u.getDvaApp)()._store.getState(),{userInfo:Ft}=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(He).includes(window.location.pathname)?console.log("\u5F53\u524D\u8DEF\u5F84\u5B58\u5728\u4E8E mapping \u4E2D, \u4E0D\u518D\u6267\u884C\u8DF3\u8F6C"):location.replace(He[$.status]),new Error("403")}};function se($,ie){return oe(`/api/${$}`,{method:"Get",params:ie||{}})}function ee($,ie){return oe(`/${$}`,{method:"Get",params:ie})}function Q($,ie){return oe(`/api/${$}`,{method:"Post",body:P({},ie)})}function ue($,ie){return oe(`/api/${$}`,{method:"Put",body:P({},ie)})}function U($,ie){return oe(`/api/${$}`,{method:"delete",body:P({},ie||{})})}},77976: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="},90290: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,ne){const oe=ae.match(/^(\s+)(?:```)/);if(oe===null)return ne;const q=oe[1];return ne.split(`
|
|
|
`).map(J=>{const V=J.match(/^\s+/);if(V===null)return J;const[se]=V;return se.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,ne,oe,q){if(ne>=ae.length||ae[ne].level<=oe)return ne;var J=ae[ne];q.push("<li><a href='#"+f+J.anchor+"'>"+J.text+"</a>"),ne++;var V=[];return ne=_(ae,ne,J.level,V),V.length>0&&(q.push("<ul>"),V.forEach(function(se){q.push(se)}),q.push("</ul>")),q.push("</li>"),ne=_(ae,ne,oe,q),ne}function b(){return _(h,0,0,u),u.push("</ul>"),u.join("")}const S={heading(ae){const ne=x.exec(ae);if(f+=1,ne)return{type:"heading",raw:ne[0],depth:ne[1].length,text:ne[2]}},fences(ae){const ne=this.rules.block.fences.exec(ae);if(ne){const oe=ne[0];let q=o(oe,ne[3]||"");const J=ne[2]?ne[2].trim():ne[2];if(["latex","katex","math"].indexOf(J)>=0){const V=A(),se=q;q=V,P[V]={type:"block",expression:se}}return{type:"code",raw:oe,lang:J,text:q}}}},k=/(?:\${2})([^\n`]+?)(?:\${2})/gi;let R=0;const A=()=>`__special_katext_id_${R++}__`;let P={};function M(){return P}function B(){R=0,P={}}function N(ae){return ae=ae.replace(k,(ne,oe)=>{const q=A();return P[q]={type:"inline",expression:oe},q}),ae}const K=a.listitem;a.listitem=function(ae){return K(N(ae))};const G=a.paragraph;a.paragraph=function(ae){return G(N(ae))};const H=a.tablecell;a.tablecell=function(ae,ne){return H(N(ae),ne)},a.code=function(ae,ne,oe){const q=(ne||"").match(/\S*/)[0];return q?["latex","katex","math"].indexOf(q)>=0?`<p class='editormd-tex'>${ae}</p>`:`<pre class="prettyprint linenums"><code class="language-${ne}">${oe?ae:(0,l.escape)(ae,!0)}</code></pre>
|
|
|
`:'<pre class="prettyprint linenums"><code>'+(oe?ae:(0,l.escape)(ae,!0))+"</code></pre>"},a.heading=function(ae,ne,oe){let q=this.options.headerPrefix+oe.toLowerCase().replace(/[^\w\\u4e00-\\u9fa5]]+/g,"-");return h.push({anchor:q,level:ne,text:ae}),"<h"+ne+' id="'+f+q+'">'+ae+"</h"+ne+">"},i().setOptions({silent:!0,gfm:!0,pedantic:!1}),i().use({tokenizer:S,renderer:a}),v.ZP=i()},49661: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 aiReviewConfigformatChecks},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__(34055),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__(15610),_service_exercise__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(72664),_contentType__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(28048),umi__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__(76560),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__(90524),_components_mediator__WEBPACK_IMPORTED_MODULE_8__=__webpack_require__(33796),_components_RenderHtml__WEBPACK_IMPORTED_MODULE_9__=__webpack_require__(7664),_utils_fetch__WEBPACK_IMPORTED_MODULE_10__=__webpack_require__(82093),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__(77976),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((P,M)=>{R.type===P.type&&y.push(P)})});const _=[];let b=0,S=0;const k=y.filter(R=>R.questions_count>0).map((R,A)=>{var P;return(P=R.questions)==null||P.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,aiReviewConfigformatChecks=d=>{if(!d||d.length===0)return!0;const v=new Set,e=new Set;let r=!0,i=!0;const l=d==null?void 0:d.reduce((c,f)=>{v!=null&&v.has(f.name)&&(r=!1),v==null||v.add(f.name),e!=null&&e.has(f.content)&&(i=!1),e==null||e.add(f.content);const o=parseFloat(f.weight);return c+o},0);return r?i?parseFloat(l.toFixed(2))!=100?(antd__WEBPACK_IMPORTED_MODULE_14__.ZP.warning("\u6240\u6709\u8BC4\u5206\u9879\u76EE\u7684\u6743\u91CD\u4E4B\u548C\u5FC5\u987B\u4E3A100%"),!1):!0:(antd__WEBPACK_IMPORTED_MODULE_14__.ZP.warning("\u8BC4\u5206\u6807\u51C6\u5185\u5BB9\u4E0D\u80FD\u91CD\u590D!"),!1):(antd__WEBPACK_IMPORTED_MODULE_14__.ZP.warning("\u8BC4\u5206\u9879\u76EE\u5185\u5BB9\u4E0D\u80FD\u91CD\u590D!"),!1)}},93490: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)}},9139: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(N){var K=b[N.route.id];K&&(Object.assign(M,K),B=!0)}),B?M:void 0}),R=_slicedToArray(k,2),A=R[0],P=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(N){Object.assign(B,N)}),P(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),P=i.useRef(null),[M,B]=(0,r.Z)(!1),N=function(){y==null||y.apply(void 0,arguments)};i.useEffect(()=>{let H=null;return _&&(H=setTimeout(()=>{var ae;(ae=P.current)===null||ae===void 0||ae.focus()})),()=>{H&&clearTimeout(H)}},[]);const K=H=>{f(H)&&(B(!0),H.then(function(){B(!1,!0),N.apply(void 0,arguments),A.current=!1},ae=>{if(B(!1,!0),A.current=!1,!(S!=null&&S()))return Promise.reject(ae)}))},G=H=>{if(A.current)return;if(A.current=!0,!R){N();return}let ae;if(b){if(ae=R(H),k&&!f(ae)){A.current=!1,N(H);return}}else if(R.length)ae=R(y),A.current=!1;else if(ae=R(),!ae){N();return}K(ae)};return i.createElement(l.ZP,Object.assign({},(0,c.n)(u),{onClick:G,loading:M,prefixCls:x},p,{ref:P}),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,P]=i.useState(0),[M,B]=(0,r.Z)(!1,{value:y.open}),{getPrefixCls:N}=i.useContext(c.E_),K=N(u||"select",_);i.useEffect(()=>{if(B(!0),typeof ResizeObserver!="undefined"){const H=new ResizeObserver(ne=>{const oe=ne[0].target;R(oe.offsetHeight+8),P(oe.offsetWidth)}),ae=setInterval(()=>{var ne;const oe=a?`.${a(K)}`:`.${K}-dropdown`,q=(ne=S.current)===null||ne===void 0?void 0:ne.querySelector(oe);q&&(clearInterval(ae),H.observe(q))},10);return()=>{clearInterval(ae),H.disconnect()}}},[]);let G=Object.assign(Object.assign({},y),{style:Object.assign(Object.assign({},b),{margin:0}),open:M,visible:M,getPopupContainer:()=>S.current});return x&&(G=x(G)),i.createElement("div",{ref:S,style:{paddingBottom:k,position:"relative",minWidth:A}},i.createElement(h,Object.assign({},G)))}return f(p)}},36785:function(d,v,e){"use strict";e.d(v,{o2:function(){return f},yT:function(){return o}});var r=e(15142),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 P=(0,r.fS)({contentRadius:y,limitVerticalRadius:!0});if(x)switch(k){case"topLeft":case"bottomLeft":A.offset[0]=-P.dropdownArrowOffset-b;break;case"topRight":case"bottomRight":A.offset[0]=P.dropdownArrowOffset+b;break;case"leftTop":case"rightTop":A.offset[1]=-P.dropdownArrowOffset-b;break;case"leftBottom":case"rightBottom":A.offset[1]=P.dropdownArrowOffset+b;break}A.overflow=i(k,P,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=ne=>{const{componentCls:oe,colorPrimary:q}=ne;return{[oe]:{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 ${ne.motionEaseOutCirc}`,`opacity 2s ${ne.motionEaseOutCirc}`].join(","),"&-active":{boxShadow:"0 0 0 6px currentcolor",opacity:0},"&.wave-quick":{transition:[`box-shadow 0.3s ${ne.motionEaseInOut}`,`opacity 0.35s ${ne.motionEaseInOut}`].join(",")}}}}};var x=(0,u.Z)("Wave",ne=>[a(ne)]),p=e(70425),y=e(16089),_=e(77900),b=e(1585);function S(ne){const oe=(ne||"").match(/rgba?\((\d*), (\d*), (\d*)(, [\d.]*)?\)/);return oe&&oe[1]&&oe[2]&&oe[3]?!(oe[1]===oe[2]&&oe[2]===oe[3]):!0}function k(ne){return ne&&ne!=="#fff"&&ne!=="#ffffff"&&ne!=="rgb(255, 255, 255)"&&ne!=="rgba(255, 255, 255, 1)"&&S(ne)&&!/rgba\((?:\d*, ){3}0\)/.test(ne)&&ne!=="transparent"}function R(ne){const{borderTopColor:oe,borderColor:q,backgroundColor:J}=getComputedStyle(ne);return k(oe)?oe:k(q)?q:k(J)?J:null}var A=e(4572);function P(ne){return Number.isNaN(ne)?0:ne}const M=ne=>{const{className:oe,target:q,component:J}=ne,V=f.useRef(null),[se,ee]=f.useState(null),[Q,ue]=f.useState([]),[U,$]=f.useState(0),[ie,_e]=f.useState(0),[Pe,De]=f.useState(0),[He,Ne]=f.useState(0),[Ft,gt]=f.useState(!1),Dt={left:U,top:ie,width:Pe,height:He,borderRadius:Q.map(fr=>`${fr}px`).join(" ")};se&&(Dt["--wave-color"]=se);function rr(){const fr=getComputedStyle(q);ee(R(q));const Ge=fr.position==="static",{borderLeftWidth:Tt,borderTopWidth:zt}=fr;$(Ge?q.offsetLeft:P(-parseFloat(Tt))),_e(Ge?q.offsetTop:P(-parseFloat(zt))),De(q.offsetWidth),Ne(q.offsetHeight);const{borderTopLeftRadius:nt,borderTopRightRadius:bt,borderBottomLeftRadius:dt,borderBottomRightRadius:et}=fr;ue([nt,bt,et,dt].map(ze=>P(parseFloat(ze))))}if(f.useEffect(()=>{if(q){const fr=(0,y.Z)(()=>{rr(),gt(!0)});let Ge;return typeof ResizeObserver!="undefined"&&(Ge=new ResizeObserver(rr),Ge.observe(q)),()=>{y.Z.cancel(fr),Ge==null||Ge.disconnect()}}},[]),!Ft)return null;const Xt=(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:(fr,Ge)=>{var Tt;if(Ge.deadline||Ge.propertyName==="opacity"){const zt=(Tt=V.current)===null||Tt===void 0?void 0:Tt.parentElement;(0,b.v)(zt).then(()=>{zt==null||zt.remove()})}return!1}},fr=>{let{className:Ge}=fr;return f.createElement("div",{ref:V,className:i()(oe,{"wave-quick":Xt},Ge),style:Dt})})};var N=(ne,oe)=>{var q;const{component:J}=oe;if(J==="Checkbox"&&!(!((q=ne.querySelector("input"))===null||q===void 0)&&q.checked))return;const V=document.createElement("div");V.style.position="absolute",V.style.left="0px",V.style.top="0px",ne==null||ne.insertBefore(V,ne==null?void 0:ne.firstChild),(0,b.s)(f.createElement(M,Object.assign({},oe,{target:ne})),V)},K=e(88088);function G(ne,oe,q){const{wave:J}=f.useContext(o.E_),[,V,se]=(0,K.Z)(),ee=(0,p.useEvent)(U=>{const $=ne.current;if(J!=null&&J.disabled||!$)return;const ie=$.querySelector(`.${A.A}`)||$,{showEffect:_e}=J||{};(_e||N)(ie,{className:oe,token:V,component:q,event:U,hashId:se})}),Q=f.useRef();return U=>{y.Z.cancel(Q.current),Q.current=(0,y.Z)(()=>{ee(U)})}}var ae=ne=>{const{children:oe,disabled:q,component:J}=ne,{getPrefixCls:V}=(0,f.useContext)(o.E_),se=(0,f.useRef)(null),ee=V("wave"),[,Q]=x(ee),ue=G(se,i()(ee,Q),J);if(f.useEffect(()=>{const $=se.current;if(!$||$.nodeType!==1||q)return;const ie=_e=>{!(0,c.Z)(_e.target)||!$.getAttribute||$.getAttribute("disabled")||$.disabled||$.className.includes("disabled")||$.className.includes("-leave")||ue(_e)};return $.addEventListener("click",ie,!0),()=>{$.removeEventListener("click",ie,!0)}},[q]),!f.isValidElement(oe))return oe!=null?oe:null;const U=(0,l.Yr)(oe)?(0,l.sQ)(oe.ref,se):se;return(0,h.Tm)(oe,{ref:U})}},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 kt},Z:function(){return Gt}});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(Me,ce){var he={};for(var Pt in Me)Object.prototype.hasOwnProperty.call(Me,Pt)&&ce.indexOf(Pt)<0&&(he[Pt]=Me[Pt]);if(Me!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Te=0,Pt=Object.getOwnPropertySymbols(Me);Te<Pt.length;Te++)ce.indexOf(Pt[Te])<0&&Object.prototype.propertyIsEnumerable.call(Me,Pt[Te])&&(he[Pt[Te]]=Me[Pt[Te]]);return he};const _=r.createContext(void 0);var S=Me=>{const{getPrefixCls:ce,direction:he}=r.useContext(h.E_),{prefixCls:Pt,size:Te,className:ct}=Me,Zt=y(Me,["prefixCls","size","className"]),wt=ce("btn-group",Pt),[,,Ie]=(0,p.Z)();let xt="";switch(Te){case"large":xt="lg";break;case"small":xt="sm";break;case"middle":case void 0:break;default:}const be=l()(wt,{[`${wt}-${xt}`]:xt,[`${wt}-rtl`]:he==="rtl"},ct,Ie);return r.createElement(_.Provider,{value:Te},r.createElement("div",Object.assign({},Zt,{className:be})))},k=e(92343);const R=/^[\u4e00-\u9fa5]{2}$/,A=R.test.bind(R);function P(Me){return typeof Me=="string"}function M(Me){return Me==="text"||Me==="link"}function B(Me,ce){if(Me==null)return;const he=ce?" ":"";return typeof Me!="string"&&typeof Me!="number"&&P(Me.type)&&A(Me.props.children)?(0,k.Tm)(Me,{children:Me.props.children.split("").join(he)}):P(Me)?A(Me)?r.createElement("span",null,Me.split("").join(he)):r.createElement("span",null,Me):(0,k.M2)(Me)?r.createElement("span",null,Me):Me}function N(Me,ce){let he=!1;const Pt=[];return r.Children.forEach(Me,Te=>{const ct=typeof Te,Zt=ct==="string"||ct==="number";if(he&&Zt){const wt=Pt.length-1,Ie=Pt[wt];Pt[wt]=`${Ie}${Te}`}else Pt.push(Te);he=Zt}),r.Children.map(Pt,Te=>B(Te,ce))}const K=null,G=null,H=null;var ne=(0,r.forwardRef)((Me,ce)=>{const{className:he,style:Pt,children:Te,prefixCls:ct}=Me,Zt=l()(`${ct}-icon`,he);return r.createElement("span",{ref:ce,className:Zt,style:Pt},Te)}),oe=e(58617),q=e(77900);const J=(0,r.forwardRef)((Me,ce)=>{let{prefixCls:he,className:Pt,style:Te,iconClassName:ct}=Me;const Zt=l()(`${he}-loading-icon`,Pt);return r.createElement(ne,{prefixCls:he,className:Zt,style:Te,ref:ce},r.createElement(oe.Z,{className:ct}))}),V=()=>({width:0,opacity:0,transform:"scale(0)"}),se=Me=>({width:Me.scrollWidth,opacity:1,transform:"scale(1)"});var Q=Me=>{const{prefixCls:ce,loading:he,existIcon:Pt,className:Te,style:ct}=Me,Zt=!!he;return Pt?r.createElement(J,{prefixCls:ce,className:Te,style:ct}):r.createElement(q.default,{visible:Zt,motionName:`${ce}-loading-icon-motion`,removeOnLeave:!0,onAppearStart:V,onAppearActive:se,onEnterStart:V,onEnterActive:se,onLeaveStart:se,onLeaveActive:V},(wt,Ie)=>{let{className:xt,style:be}=wt;return r.createElement(J,{prefixCls:ce,className:Te,style:Object.assign(Object.assign({},ct),be),ref:Ie,iconClassName:xt})})},ue=e(17313),U=e(37613),$=e(83116);const ie=(Me,ce)=>({[`> span, > ${Me}`]:{"&:not(:last-child)":{[`&, & > ${Me}`]:{"&:not(:disabled)":{borderInlineEndColor:ce}}},"&:not(:first-child)":{[`&, & > ${Me}`]:{"&:not(:disabled)":{borderInlineStartColor:ce}}}}});var Pe=Me=>{const{componentCls:ce,fontSize:he,lineWidth:Pt,groupBorderColor:Te,colorErrorHover:ct}=Me;return{[`${ce}-group`]:[{position:"relative",display:"inline-flex",[`> span, > ${ce}`]:{"&:not(:last-child)":{[`&, & > ${ce}`]:{borderStartEndRadius:0,borderEndEndRadius:0}},"&:not(:first-child)":{marginInlineStart:-Pt,[`&, & > ${ce}`]:{borderStartStartRadius:0,borderEndStartRadius:0}}},[ce]:{position:"relative",zIndex:1,"&:hover,\n &:focus,\n &:active":{zIndex:2},"&[disabled]":{zIndex:0}},[`${ce}-icon-only`]:{fontSize:he}},ie(`${ce}-primary`,Te),ie(`${ce}-danger`,ct)]}};const De=Me=>{const{componentCls:ce,iconCls:he,fontWeight:Pt}=Me;return{[ce]:{outline:"none",position:"relative",display:"inline-block",fontWeight:Pt,whiteSpace:"nowrap",textAlign:"center",backgroundImage:"none",backgroundColor:"transparent",border:`${Me.lineWidth}px ${Me.lineType} transparent`,cursor:"pointer",transition:`all ${Me.motionDurationMid} ${Me.motionEaseInOut}`,userSelect:"none",touchAction:"manipulation",lineHeight:Me.lineHeight,color:Me.colorText,"&:disabled > *":{pointerEvents:"none"},"> span":{display:"inline-block"},[`${ce}-icon`]:{lineHeight:0},[`> ${he} + span, > span + ${he}`]:{marginInlineStart:Me.marginXS},[`&:not(${ce}-icon-only) > ${ce}-icon`]:{[`&${ce}-loading-icon, &:not(:last-child)`]:{marginInlineEnd:Me.marginXS}},"> a":{color:"currentColor"},"&:not(:disabled)":Object.assign({},(0,ue.Qy)(Me)),[`&-icon-only${ce}-compact-item`]:{flex:"none"},[`&-compact-item${ce}-primary`]:{[`&:not([disabled]) + ${ce}-compact-item${ce}-primary:not([disabled])`]:{position:"relative","&:before":{position:"absolute",top:-Me.lineWidth,insetInlineStart:-Me.lineWidth,display:"inline-block",width:Me.lineWidth,height:`calc(100% + ${Me.lineWidth*2}px)`,backgroundColor:Me.colorPrimaryHover,content:'""'}}},"&-compact-vertical-item":{[`&${ce}-primary`]:{[`&:not([disabled]) + ${ce}-compact-vertical-item${ce}-primary:not([disabled])`]:{position:"relative","&:before":{position:"absolute",top:-Me.lineWidth,insetInlineStart:-Me.lineWidth,display:"inline-block",width:`calc(100% + ${Me.lineWidth*2}px)`,height:Me.lineWidth,backgroundColor:Me.colorPrimaryHover,content:'""'}}}}}}},He=(Me,ce,he)=>({[`&:not(:disabled):not(${Me}-disabled)`]:{"&:hover":ce,"&:active":he}}),Ne=Me=>({minWidth:Me.controlHeight,paddingInlineStart:0,paddingInlineEnd:0,borderRadius:"50%"}),Ft=Me=>({borderRadius:Me.controlHeight,paddingInlineStart:Me.controlHeight/2,paddingInlineEnd:Me.controlHeight/2}),gt=Me=>({cursor:"not-allowed",borderColor:Me.borderColorDisabled,color:Me.colorTextDisabled,backgroundColor:Me.colorBgContainerDisabled,boxShadow:"none"}),Dt=(Me,ce,he,Pt,Te,ct,Zt,wt)=>({[`&${Me}-background-ghost`]:Object.assign(Object.assign({color:he||void 0,backgroundColor:ce,borderColor:Pt||void 0,boxShadow:"none"},He(Me,Object.assign({backgroundColor:ce},Zt),Object.assign({backgroundColor:ce},wt))),{"&:disabled":{cursor:"not-allowed",color:Te||void 0,borderColor:ct||void 0}})}),rr=Me=>({[`&:disabled, &${Me.componentCls}-disabled`]:Object.assign({},gt(Me))}),Xt=Me=>Object.assign({},rr(Me)),fr=Me=>({[`&:disabled, &${Me.componentCls}-disabled`]:{cursor:"not-allowed",color:Me.colorTextDisabled}}),Ge=Me=>Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},Xt(Me)),{backgroundColor:Me.defaultBg,borderColor:Me.defaultBorderColor,color:Me.defaultColor,boxShadow:Me.defaultShadow}),He(Me.componentCls,{color:Me.colorPrimaryHover,borderColor:Me.colorPrimaryHover},{color:Me.colorPrimaryActive,borderColor:Me.colorPrimaryActive})),Dt(Me.componentCls,Me.ghostBg,Me.defaultGhostColor,Me.defaultGhostBorderColor,Me.colorTextDisabled,Me.colorBorder)),{[`&${Me.componentCls}-dangerous`]:Object.assign(Object.assign(Object.assign({color:Me.colorError,borderColor:Me.colorError},He(Me.componentCls,{color:Me.colorErrorHover,borderColor:Me.colorErrorBorderHover},{color:Me.colorErrorActive,borderColor:Me.colorErrorActive})),Dt(Me.componentCls,Me.ghostBg,Me.colorError,Me.colorError,Me.colorTextDisabled,Me.colorBorder)),rr(Me))}),Tt=Me=>Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},Xt(Me)),{color:Me.primaryColor,backgroundColor:Me.colorPrimary,boxShadow:Me.primaryShadow}),He(Me.componentCls,{color:Me.colorTextLightSolid,backgroundColor:Me.colorPrimaryHover},{color:Me.colorTextLightSolid,backgroundColor:Me.colorPrimaryActive})),Dt(Me.componentCls,Me.ghostBg,Me.colorPrimary,Me.colorPrimary,Me.colorTextDisabled,Me.colorBorder,{color:Me.colorPrimaryHover,borderColor:Me.colorPrimaryHover},{color:Me.colorPrimaryActive,borderColor:Me.colorPrimaryActive})),{[`&${Me.componentCls}-dangerous`]:Object.assign(Object.assign(Object.assign({backgroundColor:Me.colorError,boxShadow:Me.dangerShadow,color:Me.dangerColor},He(Me.componentCls,{backgroundColor:Me.colorErrorHover},{backgroundColor:Me.colorErrorActive})),Dt(Me.componentCls,Me.ghostBg,Me.colorError,Me.colorError,Me.colorTextDisabled,Me.colorBorder,{color:Me.colorErrorHover,borderColor:Me.colorErrorHover},{color:Me.colorErrorActive,borderColor:Me.colorErrorActive})),rr(Me))}),zt=Me=>Object.assign(Object.assign({},Ge(Me)),{borderStyle:"dashed"}),nt=Me=>Object.assign(Object.assign(Object.assign({color:Me.colorLink},He(Me.componentCls,{color:Me.colorLinkHover,backgroundColor:Me.linkHoverBg},{color:Me.colorLinkActive})),fr(Me)),{[`&${Me.componentCls}-dangerous`]:Object.assign(Object.assign({color:Me.colorError},He(Me.componentCls,{color:Me.colorErrorHover},{color:Me.colorErrorActive})),fr(Me))}),bt=Me=>Object.assign(Object.assign(Object.assign({},He(Me.componentCls,{color:Me.colorText,backgroundColor:Me.textHoverBg},{color:Me.colorText,backgroundColor:Me.colorBgTextActive})),fr(Me)),{[`&${Me.componentCls}-dangerous`]:Object.assign(Object.assign({color:Me.colorError},fr(Me)),He(Me.componentCls,{color:Me.colorErrorHover,backgroundColor:Me.colorErrorBg},{color:Me.colorErrorHover,backgroundColor:Me.colorErrorBg}))}),dt=Me=>{const{componentCls:ce}=Me;return{[`${ce}-default`]:Ge(Me),[`${ce}-primary`]:Tt(Me),[`${ce}-dashed`]:zt(Me),[`${ce}-link`]:nt(Me),[`${ce}-text`]:bt(Me),[`${ce}-ghost`]:Dt(Me.componentCls,Me.ghostBg,Me.colorBgContainer,Me.colorBgContainer,Me.colorTextDisabled,Me.colorBorder)}},et=function(Me){let ce=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";const{componentCls:he,controlHeight:Pt,fontSize:Te,lineHeight:ct,lineWidth:Zt,borderRadius:wt,buttonPaddingHorizontal:Ie,iconCls:xt}=Me,be=Math.max(0,(Pt-Te*ct)/2-Zt),Ye=`${he}-icon-only`;return[{[`${he}${ce}`]:{fontSize:Te,height:Pt,padding:`${be}px ${Ie}px`,borderRadius:wt,[`&${Ye}`]:{width:Pt,paddingInlineStart:0,paddingInlineEnd:0,[`&${he}-round`]:{width:"auto"},[xt]:{fontSize:Me.buttonIconOnlyFontSize}},[`&${he}-loading`]:{opacity:Me.opacityLoading,cursor:"default"},[`${he}-loading-icon`]:{transition:`width ${Me.motionDurationSlow} ${Me.motionEaseInOut}, opacity ${Me.motionDurationSlow} ${Me.motionEaseInOut}`}}},{[`${he}${he}-circle${ce}`]:Ne(Me)},{[`${he}${he}-round${ce}`]:Ft(Me)}]},ze=Me=>et((0,U.TS)(Me,{fontSize:Me.contentFontSize})),ge=Me=>{const ce=(0,U.TS)(Me,{controlHeight:Me.controlHeightSM,fontSize:Me.contentFontSizeSM,padding:Me.paddingXS,buttonPaddingHorizontal:Me.paddingInlineSM,borderRadius:Me.borderRadiusSM,buttonIconOnlyFontSize:Me.onlyIconSizeSM});return et(ce,`${Me.componentCls}-sm`)},Se=Me=>{const ce=(0,U.TS)(Me,{controlHeight:Me.controlHeightLG,fontSize:Me.contentFontSizeLG,buttonPaddingHorizontal:Me.paddingInlineLG,borderRadius:Me.borderRadiusLG,buttonIconOnlyFontSize:Me.onlyIconSizeLG});return et(ce,`${Me.componentCls}-lg`)},Le=Me=>{const{componentCls:ce}=Me;return{[ce]:{[`&${ce}-block`]:{width:"100%"}}}},$e=Me=>{const{paddingInline:ce,onlyIconSize:he}=Me;return(0,U.TS)(Me,{buttonPaddingHorizontal:ce,buttonIconOnlyFontSize:he})},We=Me=>({fontWeight:400,defaultShadow:`0 ${Me.controlOutlineWidth}px 0 ${Me.controlTmpOutline}`,primaryShadow:`0 ${Me.controlOutlineWidth}px 0 ${Me.controlOutline}`,dangerShadow:`0 ${Me.controlOutlineWidth}px 0 ${Me.colorErrorOutline}`,primaryColor:Me.colorTextLightSolid,dangerColor:Me.colorTextLightSolid,borderColorDisabled:Me.colorBorder,defaultGhostColor:Me.colorBgContainer,ghostBg:"transparent",defaultGhostBorderColor:Me.colorBgContainer,paddingInline:Me.paddingContentHorizontal-Me.lineWidth,paddingInlineLG:Me.paddingContentHorizontal-Me.lineWidth,paddingInlineSM:8-Me.lineWidth,onlyIconSize:Me.fontSizeLG,onlyIconSizeSM:Me.fontSizeLG-2,onlyIconSizeLG:Me.fontSizeLG+2,groupBorderColor:Me.colorPrimaryHover,linkHoverBg:"transparent",textHoverBg:Me.colorBgTextHover,defaultColor:Me.colorText,defaultBg:Me.colorBgContainer,defaultBorderColor:Me.colorBorder,defaultBorderColorDisabled:Me.colorBorder,contentFontSize:Me.fontSize,contentFontSizeSM:Me.fontSize,contentFontSizeLG:Me.fontSizeLG});var rt=(0,$.Z)("Button",Me=>{const ce=$e(Me);return[De(ce),ge(ce),ze(ce),Se(ce),Le(ce),dt(ce),Pe(ce)]},We),ot=e(74207);function Kt(Me,ce){return{[`&-item:not(${ce}-last-item)`]:{marginBottom:-Me.lineWidth},"&-item":{"&:hover,&:focus,&:active":{zIndex:2},"&[disabled]":{zIndex:0}}}}function Wt(Me,ce){return{[`&-item:not(${ce}-first-item):not(${ce}-last-item)`]:{borderRadius:0},[`&-item${ce}-first-item:not(${ce}-last-item)`]:{[`&, &${Me}-sm, &${Me}-lg`]:{borderEndEndRadius:0,borderEndStartRadius:0}},[`&-item${ce}-last-item:not(${ce}-first-item)`]:{[`&, &${Me}-sm, &${Me}-lg`]:{borderStartStartRadius:0,borderStartEndRadius:0}}}}function Ce(Me){const ce=`${Me.componentCls}-compact-vertical`;return{[ce]:Object.assign(Object.assign({},Kt(Me,ce)),Wt(Me.componentCls,ce))}}var Je=(0,$.b)(["Button","compact"],Me=>{const ce=$e(Me);return[(0,ot.c)(ce),Ce(ce)]},We),Yt=function(Me,ce){var he={};for(var Pt in Me)Object.prototype.hasOwnProperty.call(Me,Pt)&&ce.indexOf(Pt)<0&&(he[Pt]=Me[Pt]);if(Me!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Te=0,Pt=Object.getOwnPropertySymbols(Me);Te<Pt.length;Te++)ce.indexOf(Pt[Te])<0&&Object.prototype.propertyIsEnumerable.call(Me,Pt[Te])&&(he[Pt[Te]]=Me[Pt[Te]]);return he};function kt(Me){return Me==="danger"?{danger:!0}:{type:Me}}function Ht(Me){if(typeof Me=="object"&&Me){const ce=Me==null?void 0:Me.delay;return{loading:!1,delay:!Number.isNaN(ce)&&typeof ce=="number"?ce:0}}return{loading:!!Me,delay:0}}const $t=(Me,ce)=>{var he,Pt;const{loading:Te=!1,prefixCls:ct,type:Zt="default",danger:wt,shape:Ie="default",size:xt,styles:be,disabled:Ye,className:mt,rootClassName:Lt,children:Fe,icon:Or,ghost:St=!1,block:Vr=!1,htmlType:tn="button",classNames:wr,style:Nr={}}=Me,gr=Yt(Me,["loading","prefixCls","type","danger","shape","size","styles","disabled","className","rootClassName","children","icon","ghost","block","htmlType","classNames","style"]),{getPrefixCls:Ur,autoInsertSpaceInButton:cn,direction:hn,button:ur}=(0,r.useContext)(h.E_),Rt=Ur("btn",ct),[_t,vt]=rt(Rt),jt=(0,r.useContext)(u.Z),Cr=Ye!=null?Ye:jt,yr=(0,r.useContext)(_),nn=(0,r.useMemo)(()=>Ht(Te),[Te]),[Kr,Ln]=(0,r.useState)(nn.loading),[At,cr]=(0,r.useState)(!1),Qr=(0,r.createRef)(),yn=(0,f.sQ)(ce,Qr),Gn=r.Children.count(Fe)===1&&!Or&&!M(Zt);(0,r.useEffect)(()=>{let Ti=null;nn.delay>0?Ti=setTimeout(()=>{Ti=null,Ln(!0)},nn.delay):Ln(nn.loading);function ci(){Ti&&(clearTimeout(Ti),Ti=null)}return ci},[nn]),(0,r.useEffect)(()=>{if(!yn||!yn.current||cn===!1)return;const Ti=yn.current.textContent;Gn&&A(Ti)?At||cr(!0):At&&cr(!1)},[yn]);const fi=Ti=>{const{onClick:ci}=Me;if(Kr||Cr){Ti.preventDefault();return}ci==null||ci(Ti)},Xn=cn!==!1,{compactSize:Ki,compactItemClassnames:hi}=(0,x.ri)(Rt,hn),bi={large:"lg",small:"sm",middle:void 0},Di=(0,a.Z)(Ti=>{var ci,An;return(An=(ci=xt!=null?xt:Ki)!==null&&ci!==void 0?ci:yr)!==null&&An!==void 0?An:Ti}),wi=Di&&bi[Di]||"",fa=Kr?"loading":Or,ri=(0,c.Z)(gr,["navigate"]),la=l()(Rt,vt,{[`${Rt}-${Ie}`]:Ie!=="default"&&Ie,[`${Rt}-${Zt}`]:Zt,[`${Rt}-${wi}`]:wi,[`${Rt}-icon-only`]:!Fe&&Fe!==0&&!!fa,[`${Rt}-background-ghost`]:St&&!M(Zt),[`${Rt}-loading`]:Kr,[`${Rt}-two-chinese-chars`]:At&&Xn&&!Kr,[`${Rt}-block`]:Vr,[`${Rt}-dangerous`]:!!wt,[`${Rt}-rtl`]:hn==="rtl"},hi,mt,Lt,ur==null?void 0:ur.className),Et=Object.assign(Object.assign({},ur==null?void 0:ur.style),Nr),it=l()(wr==null?void 0:wr.icon,(he=ur==null?void 0:ur.classNames)===null||he===void 0?void 0:he.icon),ni=Object.assign(Object.assign({},(be==null?void 0:be.icon)||{}),((Pt=ur==null?void 0:ur.styles)===null||Pt===void 0?void 0:Pt.icon)||{}),Oi=Or&&!Kr?r.createElement(ne,{prefixCls:Rt,className:it,style:ni},Or):r.createElement(Q,{existIcon:!!Or,prefixCls:Rt,loading:!!Kr}),ii=Fe||Fe===0?N(Fe,Gn&&Xn):null;if(ri.href!==void 0)return _t(r.createElement("a",Object.assign({},ri,{className:l()(la,{[`${Rt}-disabled`]:Cr}),style:Et,onClick:fi,ref:yn}),Oi,ii));let sa=r.createElement("button",Object.assign({},gr,{type:tn,className:la,style:Et,onClick:fi,disabled:Cr,ref:yn}),Oi,ii,hi&&r.createElement(Je,{key:"compact",prefixCls:Rt}));return M(Zt)||(sa=r.createElement(o.Z,{component:"Button",disabled:!!Kr},sa)),_t(sa)},tr=(0,r.forwardRef)($t);tr.Group=S,tr.__ANT_BUTTON=!0;var Gt=tr},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 fr},w6:function(){return Dt}});var r=e(36237),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=Ge=>{const{locale:Tt={},children:zt,_ANT_MARK__:nt}=Ge;f.useEffect(()=>(0,h.f)(Tt&&Tt.Modal),[Tt]);const bt=f.useMemo(()=>Object.assign(Object.assign({},Tt),{exist:!0}),[Tt]);return f.createElement(u.Z.Provider,{value:bt},zt)},y=e(31724),_=e(45246),b=e(34117),S=e(36355),k=e(30071),R=e(64993),A=e(47273),P=e(810);const M=`-ant-${Date.now()}-${Math.random()}`;function B(Ge,Tt){const zt={},nt=(et,ze)=>{let ge=et.clone();return ge=(ze==null?void 0:ze(ge))||ge,ge.toRgbString()},bt=(et,ze)=>{const ge=new R.C(et),Se=(0,k.generate)(ge.toRgbString());zt[`${ze}-color`]=nt(ge),zt[`${ze}-color-disabled`]=Se[1],zt[`${ze}-color-hover`]=Se[4],zt[`${ze}-color-active`]=Se[6],zt[`${ze}-color-outline`]=ge.clone().setAlpha(.2).toRgbString(),zt[`${ze}-color-deprecated-bg`]=Se[0],zt[`${ze}-color-deprecated-border`]=Se[2]};if(Tt.primaryColor){bt(Tt.primaryColor,"primary");const et=new R.C(Tt.primaryColor),ze=(0,k.generate)(et.toRgbString());ze.forEach((Se,Le)=>{zt[`primary-${Le+1}`]=Se}),zt["primary-color-deprecated-l-35"]=nt(et,Se=>Se.lighten(35)),zt["primary-color-deprecated-l-20"]=nt(et,Se=>Se.lighten(20)),zt["primary-color-deprecated-t-20"]=nt(et,Se=>Se.tint(20)),zt["primary-color-deprecated-t-50"]=nt(et,Se=>Se.tint(50)),zt["primary-color-deprecated-f-12"]=nt(et,Se=>Se.setAlpha(Se.getAlpha()*.12));const ge=new R.C(ze[0]);zt["primary-color-active-deprecated-f-30"]=nt(ge,Se=>Se.setAlpha(Se.getAlpha()*.3)),zt["primary-color-active-deprecated-d-02"]=nt(ge,Se=>Se.darken(2))}return Tt.successColor&&bt(Tt.successColor,"success"),Tt.warningColor&&bt(Tt.warningColor,"warning"),Tt.errorColor&&bt(Tt.errorColor,"error"),Tt.infoColor&&bt(Tt.infoColor,"info"),`
|
|
|
:root {
|
|
|
${Object.keys(zt).map(et=>`--${Ge}-${et}: ${zt[et]};`).join(`
|
|
|
`)}
|
|
|
}
|
|
|
`.trim()}function N(Ge,Tt){const zt=B(Ge,Tt);(0,A.Z)()&&(0,P.hq)(zt,`${M}-dynamic-theme`)}var K=e(1684),G=e(52946);function H(){const Ge=(0,f.useContext)(K.Z),Tt=(0,f.useContext)(G.Z);return{componentDisabled:Ge,componentSize:Tt}}var ae=H,ne=e(13697);function oe(Ge,Tt){const zt=Ge||{},nt=zt.inherit===!1||!Tt?_.u_:Tt;return(0,l.Z)(()=>{if(!Ge)return Tt;const bt=Object.assign({},nt.components);return Object.keys(Ge.components||{}).forEach(dt=>{bt[dt]=Object.assign(Object.assign({},bt[dt]),Ge.components[dt])}),Object.assign(Object.assign(Object.assign({},nt),zt),{token:Object.assign(Object.assign({},nt.token),zt.token),components:bt})},[zt,nt],(bt,dt)=>bt.some((et,ze)=>{const ge=dt[ze];return!(0,ne.Z)(et,ge,!0)}))}var q=e(77900),J=e(88088);function V(Ge){const{children:Tt}=Ge,[,zt]=(0,J.Z)(),{motion:nt}=zt,bt=f.useRef(!1);return bt.current=bt.current||nt===!1,bt.current?f.createElement(q.Provider,{motion:nt},Tt):Tt}var se=e(73040),ee=function(Ge,Tt){var zt={};for(var nt in Ge)Object.prototype.hasOwnProperty.call(Ge,nt)&&Tt.indexOf(nt)<0&&(zt[nt]=Ge[nt]);if(Ge!=null&&typeof Object.getOwnPropertySymbols=="function")for(var bt=0,nt=Object.getOwnPropertySymbols(Ge);bt<nt.length;bt++)Tt.indexOf(nt[bt])<0&&Object.prototype.propertyIsEnumerable.call(Ge,nt[bt])&&(zt[nt[bt]]=Ge[nt[bt]]);return zt};let Q=!1;const ue=null,U=null,$=["getTargetContainer","getPopupContainer","renderEmpty","pageHeader","input","pagination","form","select","button"],ie="ant";let _e,Pe,De;function He(){return _e||ie}function Ne(){return Pe||S.oR}function Ft(Ge){return Object.keys(Ge).some(Tt=>Tt.endsWith("Color"))}const gt=Ge=>{let{prefixCls:Tt,iconPrefixCls:zt,theme:nt}=Ge;Tt!==void 0&&(_e=Tt),zt!==void 0&&(Pe=zt),nt&&(Ft(nt)?N(He(),nt):De=nt)},Dt=()=>({getPrefixCls:(Ge,Tt)=>Tt||(Ge?`${He()}-${Ge}`:He()),getIconPrefixCls:Ne,getRootPrefixCls:()=>_e||He(),getTheme:()=>De}),rr=Ge=>{const{children:Tt,csp:zt,autoInsertSpaceInButton:nt,alert:bt,anchor:dt,form:et,locale:ze,componentSize:ge,direction:Se,space:Le,virtual:$e,dropdownMatchSelectWidth:We,popupMatchSelectWidth:rt,popupOverflow:ot,legacyLocale:Kt,parentContext:Wt,iconPrefixCls:Ce,theme:Je,componentDisabled:Yt,segmented:kt,statistic:Ht,spin:$t,calendar:tr,carousel:Gt,cascader:Me,collapse:ce,typography:he,checkbox:Pt,descriptions:Te,divider:ct,drawer:Zt,skeleton:wt,steps:Ie,image:xt,layout:be,list:Ye,mentions:mt,modal:Lt,progress:Fe,result:Or,slider:St,breadcrumb:Vr,menu:tn,pagination:wr,input:Nr,empty:gr,badge:Ur,radio:cn,rate:hn,switch:ur,transfer:Rt,avatar:_t,message:vt,tag:jt,table:Cr,card:yr,tabs:nn,timeline:Kr,timePicker:Ln,upload:At,notification:cr,tree:Qr,colorPicker:yn,datePicker:Gn,wave:fi}=Ge,Xn=f.useCallback((ii,sa)=>{const{prefixCls:Ti}=Ge;if(sa)return sa;const ci=Ti||Wt.getPrefixCls("");return ii?`${ci}-${ii}`:ci},[Wt.getPrefixCls,Ge.prefixCls]),Ki=Ce||Wt.iconPrefixCls||S.oR,hi=Ki!==Wt.iconPrefixCls,bi=zt||Wt.csp,Di=(0,se.Z)(Ki,bi),wi=oe(Je,Wt.theme),fa={csp:bi,autoInsertSpaceInButton:nt,alert:bt,anchor:dt,locale:ze||Kt,direction:Se,space:Le,virtual:$e,popupMatchSelectWidth:rt!=null?rt:We,popupOverflow:ot,getPrefixCls:Xn,iconPrefixCls:Ki,theme:wi,segmented:kt,statistic:Ht,spin:$t,calendar:tr,carousel:Gt,cascader:Me,collapse:ce,typography:he,checkbox:Pt,descriptions:Te,divider:ct,drawer:Zt,skeleton:wt,steps:Ie,image:xt,input:Nr,layout:be,list:Ye,mentions:mt,modal:Lt,progress:Fe,result:Or,slider:St,breadcrumb:Vr,menu:tn,pagination:wr,empty:gr,badge:Ur,radio:cn,rate:hn,switch:ur,transfer:Rt,avatar:_t,message:vt,tag:jt,table:Cr,card:yr,tabs:nn,timeline:Kr,timePicker:Ln,upload:At,notification:cr,tree:Qr,colorPicker:yn,datePicker:Gn,wave:fi},ri=Object.assign({},Wt);Object.keys(fa).forEach(ii=>{fa[ii]!==void 0&&(ri[ii]=fa[ii])}),$.forEach(ii=>{const sa=Ge[ii];sa&&(ri[ii]=sa)});const la=(0,l.Z)(()=>ri,ri,(ii,sa)=>{const Ti=Object.keys(ii),ci=Object.keys(sa);return Ti.length!==ci.length||Ti.some(An=>ii[An]!==sa[An])}),Et=f.useMemo(()=>({prefixCls:Ki,csp:bi}),[Ki,bi]);let it=hi?Di(Tt):Tt;const ni=f.useMemo(()=>{var ii,sa,Ti,ci;return(0,c.T)(((ii=y.Z.Form)===null||ii===void 0?void 0:ii.defaultValidateMessages)||{},((Ti=(sa=la.locale)===null||sa===void 0?void 0:sa.Form)===null||Ti===void 0?void 0:Ti.defaultValidateMessages)||{},((ci=la.form)===null||ci===void 0?void 0:ci.validateMessages)||{},(et==null?void 0:et.validateMessages)||{})},[la,et==null?void 0:et.validateMessages]);Object.keys(ni).length>0&&(it=f.createElement(o.Z.Provider,{value:ni},Tt)),ze&&(it=f.createElement(p,{locale:ze,_ANT_MARK__:a},it)),(Ki||bi)&&(it=f.createElement(i.Z.Provider,{value:Et},it)),ge&&(it=f.createElement(G.q,{size:ge},it)),it=f.createElement(V,null,it);const Oi=f.useMemo(()=>{const ii=wi||{},{algorithm:sa,token:Ti,components:ci}=ii,An=ee(ii,["algorithm","token","components"]),er=sa&&(!Array.isArray(sa)||sa.length>0)?(0,r.createTheme)(sa):_.uH,pt={};return Object.entries(ci||{}).forEach(tt=>{let[Ot,ft]=tt;const lr=Object.assign({},ft);"algorithm"in lr&&(lr.algorithm===!0?lr.theme=er:(Array.isArray(lr.algorithm)||typeof lr.algorithm=="function")&&(lr.theme=(0,r.createTheme)(lr.algorithm)),delete lr.algorithm),pt[Ot]=lr}),Object.assign(Object.assign({},An),{theme:er,token:Object.assign(Object.assign({},b.Z),Ti),components:pt})},[wi]);return Je&&(it=f.createElement(_.Mj.Provider,{value:Oi},it)),Yt!==void 0&&(it=f.createElement(K.n,{disabled:Yt},it)),f.createElement(S.E_.Provider,{value:la},it)},Xt=Ge=>{const Tt=f.useContext(S.E_),zt=f.useContext(u.Z);return f.createElement(rr,Object.assign({parentContext:Tt,legacyLocale:zt},Ge))};Xt.ConfigContext=S.E_,Xt.SizeContext=G.Z,Xt.config=gt,Xt.useConfig=ae,Object.defineProperty(Xt,"SizeContext",{get:()=>G.Z});var fr=Xt},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:P,offset:M,push:B,pull:N,className:K,children:G,flex:H,style:ae}=p,ne=h(p,["prefixCls","span","order","offset","push","pull","className","children","flex","style"]),oe=_("col",R),[q,J]=(0,o.c)(oe);let V={};a.forEach(Q=>{let ue={};const U=p[Q];typeof U=="number"?ue.span=U:typeof U=="object"&&(ue=U||{}),delete ne[Q],V=Object.assign(Object.assign({},V),{[`${oe}-${Q}-${ue.span}`]:ue.span!==void 0,[`${oe}-${Q}-order-${ue.order}`]:ue.order||ue.order===0,[`${oe}-${Q}-offset-${ue.offset}`]:ue.offset||ue.offset===0,[`${oe}-${Q}-push-${ue.push}`]:ue.push||ue.push===0,[`${oe}-${Q}-pull-${ue.pull}`]:ue.pull||ue.pull===0,[`${oe}-${Q}-flex-${ue.flex}`]:ue.flex||ue.flex==="auto",[`${oe}-rtl`]:b==="rtl"})});const se=l()(oe,{[`${oe}-${A}`]:A!==void 0,[`${oe}-order-${P}`]:P,[`${oe}-offset-${M}`]:M,[`${oe}-push-${B}`]:B,[`${oe}-pull-${N}`]:N},K,V,J),ee={};if(S&&S[0]>0){const Q=S[0]/2;ee.paddingLeft=Q,ee.paddingRight=Q}return H&&(ee.flex=u(H),k===!1&&!ee.minWidth&&(ee.minWidth=0)),q(r.createElement("div",Object.assign({},ne,{style:Object.assign(Object.assign({},ee),ae),className:se,ref:y}),G))});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 P=c.c4[A];if(!b[P])continue;const M=_[P];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:P,children:M,gutter:B=0,wrap:N}=_,K=u(_,["prefixCls","justify","align","className","style","children","gutter","wrap"]),{getPrefixCls:G,direction:H}=r.useContext(f.E_),[ae,ne]=r.useState({xs:!0,sm:!0,md:!0,lg:!0,xl:!0,xxl:!0}),[oe,q]=r.useState({xs:!1,sm:!1,md:!1,lg:!1,xl:!1,xxl:!1}),J=p(R,oe),V=p(k,oe),se=r.useRef(B),ee=(0,c.ZP)();r.useEffect(()=>{const gt=ee.subscribe(Dt=>{q(Dt);const rr=se.current||0;(!Array.isArray(rr)&&typeof rr=="object"||Array.isArray(rr)&&(typeof rr[0]=="object"||typeof rr[1]=="object"))&&ne(Dt)});return()=>ee.unsubscribe(gt)},[]);const Q=()=>{const gt=[void 0,void 0];return(Array.isArray(B)?B:[B,void 0]).forEach((rr,Xt)=>{if(typeof rr=="object")for(let fr=0;fr<c.c4.length;fr++){const Ge=c.c4[fr];if(ae[Ge]&&rr[Ge]!==void 0){gt[Xt]=rr[Ge];break}}else gt[Xt]=rr}),gt},ue=G("row",S),[U,$]=(0,h.V)(ue),ie=Q(),_e=l()(ue,{[`${ue}-no-wrap`]:N===!1,[`${ue}-${V}`]:V,[`${ue}-${J}`]:J,[`${ue}-rtl`]:H==="rtl"},A,$),Pe={},De=ie[0]!=null&&ie[0]>0?ie[0]/-2:void 0;De&&(Pe.marginLeft=De,Pe.marginRight=De),[,Pe.rowGap]=ie;const[He,Ne]=ie,Ft=r.useMemo(()=>({gutter:[He,Ne],wrap:N}),[He,Ne,N]);return U(r.createElement(o.Z.Provider,{value:Ft},r.createElement("div",Object.assign({},K,{className:_e,style:Object.assign(Object.assign({},Pe),P),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 bt}});var r=e(15142),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(36237),S=e(17313),k=e(83116),R=e(37613);const A=dt=>{const{componentCls:et,iconCls:ze,boxShadow:ge,colorText:Se,colorSuccess:Le,colorError:$e,colorWarning:We,colorInfo:rt,fontSizeLG:ot,motionEaseInOutCirc:Kt,motionDurationSlow:Wt,marginXS:Ce,paddingXS:Je,borderRadiusLG:Yt,zIndexPopup:kt,contentPadding:Ht,contentBg:$t}=dt,tr=`${et}-notice`,Gt=new b.Keyframes("MessageMoveIn",{"0%":{padding:0,transform:"translateY(-100%)",opacity:0},"100%":{padding:Je,transform:"translateY(0)",opacity:1}}),Me=new b.Keyframes("MessageMoveOut",{"0%":{maxHeight:dt.height,padding:Je,opacity:1},"100%":{maxHeight:0,padding:0,opacity:0}}),ce={padding:Je,textAlign:"center",[`${et}-custom-content > ${ze}`]:{verticalAlign:"text-bottom",marginInlineEnd:Ce,fontSize:ot},[`${tr}-content`]:{display:"inline-block",padding:Ht,background:$t,borderRadius:Yt,boxShadow:ge,pointerEvents:"all"},[`${et}-success > ${ze}`]:{color:Le},[`${et}-error > ${ze}`]:{color:$e},[`${et}-warning > ${ze}`]:{color:We},[`${et}-info > ${ze},
|
|
|
${et}-loading > ${ze}`]:{color:rt}};return[{[et]:Object.assign(Object.assign({},(0,S.Wf)(dt)),{color:Se,position:"fixed",top:Ce,width:"100%",pointerEvents:"none",zIndex:kt,[`${et}-move-up`]:{animationFillMode:"forwards"},[`
|
|
|
${et}-move-up-appear,
|
|
|
${et}-move-up-enter
|
|
|
`]:{animationName:Gt,animationDuration:Wt,animationPlayState:"paused",animationTimingFunction:Kt},[`
|
|
|
${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:Me,animationDuration:Wt,animationPlayState:"paused",animationTimingFunction:Kt},[`${et}-move-up-leave${et}-move-up-leave-active`]:{animationPlayState:"running"},"&-rtl":{direction:"rtl",span:{direction:"rtl"}}})},{[et]:{[tr]:Object.assign({},ce)}},{[`${et}-notice-pure-panel`]:Object.assign(Object.assign({},ce),{padding:0,textAlign:"start"})}]};var P=(0,k.Z)("Message",dt=>{const et=(0,R.TS)(dt,{height:150});return[A(et)]},dt=>({zIndexPopup:dt.zIndexPopupBase+10,contentBg:dt.colorBgElevated,contentPadding:`${(dt.controlHeightLG-dt.fontSize*dt.lineHeight)/2}px ${dt.paddingSM}px`})),M=function(dt,et){var ze={};for(var ge in dt)Object.prototype.hasOwnProperty.call(dt,ge)&&et.indexOf(ge)<0&&(ze[ge]=dt[ge]);if(dt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Se=0,ge=Object.getOwnPropertySymbols(dt);Se<ge.length;Se++)et.indexOf(ge[Se])<0&&Object.prototype.propertyIsEnumerable.call(dt,ge[Se])&&(ze[ge[Se]]=dt[ge[Se]]);return ze};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)},N=dt=>{let{prefixCls:et,type:ze,icon:ge,children:Se}=dt;return i.createElement("div",{className:p()(`${et}-custom-content`,`${et}-${ze}`)},ge||B[ze],i.createElement("span",null,Se))};var G=dt=>{const{prefixCls:et,className:ze,type:ge,icon:Se,content:Le}=dt,$e=M(dt,["prefixCls","className","type","icon","content"]),{getPrefixCls:We}=i.useContext(_.E_),rt=et||We("message"),[,ot]=P(rt);return i.createElement(y.qX,Object.assign({},$e,{prefixCls:rt,className:p()(ze,ot,`${rt}-notice-pure-panel`),eventKey:"pure",duration:null,content:i.createElement(N,{prefixCls:rt,type:ge,icon:Se},Le)}))},H=e(99267);function ae(dt,et){return{motionName:et!=null?et:`${dt}-move-up`}}function ne(dt){let et;const ze=new Promise(Se=>{et=dt(()=>{Se(!0)})}),ge=()=>{et==null||et()};return ge.then=(Se,Le)=>ze.then(Se,Le),ge.promise=ze,ge}var oe=function(dt,et){var ze={};for(var ge in dt)Object.prototype.hasOwnProperty.call(dt,ge)&&et.indexOf(ge)<0&&(ze[ge]=dt[ge]);if(dt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Se=0,ge=Object.getOwnPropertySymbols(dt);Se<ge.length;Se++)et.indexOf(ge[Se])<0&&Object.prototype.propertyIsEnumerable.call(dt,ge[Se])&&(ze[ge[Se]]=dt[ge[Se]]);return ze};const q=8,J=3,V=dt=>{let{children:et,prefixCls:ze}=dt;const[,ge]=P(ze);return i.createElement(y.JB,{classNames:{list:ge,notice:ge}},et)},se=(dt,et)=>{let{prefixCls:ze,key:ge}=et;return i.createElement(V,{prefixCls:ze,key:ge},dt)},ee=i.forwardRef((dt,et)=>{const{top:ze,prefixCls:ge,getContainer:Se,maxCount:Le,duration:$e=J,rtl:We,transitionName:rt,onAllRemoved:ot}=dt,{getPrefixCls:Kt,getPopupContainer:Wt,message:Ce}=i.useContext(_.E_),Je=ge||Kt("message"),Yt=()=>({left:"50%",transform:"translateX(-50%)",top:ze!=null?ze:q}),kt=()=>p()({[`${Je}-rtl`]:We}),Ht=()=>ae(Je,rt),$t=i.createElement("span",{className:`${Je}-close-x`},i.createElement(H.Z,{className:`${Je}-close-icon`})),[tr,Gt]=(0,y.lm)({prefixCls:Je,style:Yt,className:kt,motion:Ht,closable:!1,closeIcon:$t,duration:$e,getContainer:()=>(Se==null?void 0:Se())||(Wt==null?void 0:Wt())||document.body,maxCount:Le,onAllRemoved:ot,renderNotifications:se});return i.useImperativeHandle(et,()=>Object.assign(Object.assign({},tr),{prefixCls:Je,message:Ce})),Gt});let Q=0;function ue(dt){const et=i.useRef(null);return[i.useMemo(()=>{const ge=rt=>{var ot;(ot=et.current)===null||ot===void 0||ot.close(rt)},Se=rt=>{if(!et.current){const he=()=>{};return he.then=()=>{},he}const{open:ot,prefixCls:Kt,message:Wt}=et.current,Ce=`${Kt}-notice`,{content:Je,icon:Yt,type:kt,key:Ht,className:$t,style:tr,onClose:Gt}=rt,Me=oe(rt,["content","icon","type","key","className","style","onClose"]);let ce=Ht;return ce==null&&(Q+=1,ce=`antd-message-${Q}`),ne(he=>(ot(Object.assign(Object.assign({},Me),{key:ce,content:i.createElement(N,{prefixCls:Kt,type:kt,icon:Yt},Je),placement:"top",className:p()(kt&&`${Ce}-${kt}`,$t,Wt==null?void 0:Wt.className),style:Object.assign(Object.assign({},Wt==null?void 0:Wt.style),tr),onClose:()=>{Gt==null||Gt(),he()}})),()=>{ge(ce)}))},$e={open:Se,destroy:rt=>{var ot;rt!==void 0?ge(rt):(ot=et.current)===null||ot===void 0||ot.destroy()}};return["info","success","warning","error","loading"].forEach(rt=>{const ot=(Kt,Wt,Ce)=>{let Je;Kt&&typeof Kt=="object"&&"content"in Kt?Je=Kt:Je={content:Kt};let Yt,kt;typeof Wt=="function"?kt=Wt:(Yt=Wt,kt=Ce);const Ht=Object.assign(Object.assign({onClose:kt,duration:Yt},Je),{type:rt});return Se(Ht)};$e[rt]=ot}),$e},[]),i.createElement(ee,Object.assign({key:"message-holder"},dt,{ref:et}))]}function U(dt){return ue(dt)}let $=null,ie=dt=>dt(),_e=[],Pe={};function De(){const{prefixCls:dt,getContainer:et,duration:ze,rtl:ge,maxCount:Se,top:Le}=Pe,$e=dt!=null?dt:(0,c.w6)().getPrefixCls("message"),We=(et==null?void 0:et())||document.body;return{prefixCls:$e,getContainer:()=>We,duration:ze,rtl:ge,maxCount:Se,top:Le}}const He=i.forwardRef((dt,et)=>{const[ze,ge]=i.useState(De),[Se,Le]=ue(ze),$e=(0,c.w6)(),We=$e.getRootPrefixCls(),rt=$e.getIconPrefixCls(),ot=$e.getTheme(),Kt=()=>{ge(De)};return i.useEffect(Kt,[]),i.useImperativeHandle(et,()=>{const Wt=Object.assign({},Se);return Object.keys(Wt).forEach(Ce=>{Wt[Ce]=function(){return Kt(),Se[Ce].apply(Se,arguments)}}),{instance:Wt,sync:Kt}}),i.createElement(c.ZP,{prefixCls:We,iconPrefixCls:rt,theme:ot},Le)});function Ne(){if(!$){const dt=document.createDocumentFragment(),et={fragment:dt};$=et,ie(()=>{(0,l.s)(i.createElement(He,{ref:ze=>{const{instance:ge,sync:Se}=ze||{};Promise.resolve().then(()=>{!et.instance&&ge&&(et.instance=ge,et.sync=Se,Ne())})}}),dt)});return}$.instance&&(_e.forEach(dt=>{const{type:et,skipped:ze}=dt;if(!ze)switch(et){case"open":{ie(()=>{const ge=$.instance.open(Object.assign(Object.assign({},Pe),dt.config));ge==null||ge.then(dt.resolve),dt.setCloseFn(ge)});break}case"destroy":ie(()=>{$==null||$.instance.destroy(dt.key)});break;default:ie(()=>{var ge;const Se=(ge=$.instance)[et].apply(ge,(0,r.Z)(dt.args));Se==null||Se.then(dt.resolve),dt.setCloseFn(Se)})}}),_e=[])}function Ft(dt){Pe=Object.assign(Object.assign({},Pe),dt),ie(()=>{var et;(et=$==null?void 0:$.sync)===null||et===void 0||et.call($)})}function gt(dt){const et=ne(ze=>{let ge;const Se={type:"open",config:dt,resolve:ze,setCloseFn:Le=>{ge=Le}};return _e.push(Se),()=>{ge?ie(()=>{ge()}):Se.skipped=!0}});return Ne(),et}function Dt(dt,et){const ze=ne(ge=>{let Se;const Le={type:dt,args:et,resolve:ge,setCloseFn:$e=>{Se=$e}};return _e.push(Le),()=>{Se?ie(()=>{Se()}):Le.skipped=!0}});return Ne(),ze}function rr(dt){_e.push({type:"destroy",key:dt}),Ne()}const Xt=["success","info","warning","error","loading"],Ge={open:gt,destroy:rr,config:Ft,useMessage:U,_InternalPanelDoNotUseOrYouWillBeFired:G};Xt.forEach(dt=>{Ge[dt]=function(){for(var et=arguments.length,ze=new Array(et),ge=0;ge<et;ge++)ze[ge]=arguments[ge];return Dt(dt,ze)}});const Tt=()=>{};let zt=null,nt=null;var bt=Ge},43418:function(d,v,e){"use strict";e.d(v,{default:function(){return ct}});var r=e(15142),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:Zt,cancelButtonProps:wt,cancelTextLocale:Ie,isSilent:xt,mergedOkCancel:be,rootPrefixCls:Ye,close:mt,onCancel:Lt,onConfirm:Fe}=(0,l.useContext)(b);return be?l.createElement(_.Z,{isSilent:xt,actionFn:Lt,close:function(){mt==null||mt.apply(void 0,arguments),Fe==null||Fe(!1)},autoFocus:Zt==="cancel",buttonProps:wt,prefixCls:`${Ye}-btn`},Ie):null},P=()=>{const{autoFocusButton:Zt,close:wt,isSilent:Ie,okButtonProps:xt,rootPrefixCls:be,okTextLocale:Ye,okType:mt,onConfirm:Lt,onOk:Fe}=(0,l.useContext)(b);return l.createElement(_.Z,{isSilent:Ie,type:mt||"primary",actionFn:Fe,close:function(){wt==null||wt.apply(void 0,arguments),Lt==null||Lt(!0)},autoFocus:Zt==="ok",buttonProps:xt,prefixCls:`${be}-btn`},Ye)},M=e(99267),B=e(86923),N=e(47729),K=e(47273);const G=()=>(0,K.Z)()&&window.document.documentElement;var H=e(36355),ae=e(32441),ne=e(33234),oe=e(11575),q=e(1684),J=e(3113),se=()=>{const{cancelButtonProps:Zt,cancelTextLocale:wt,onCancel:Ie}=(0,l.useContext)(b);return l.createElement(J.ZP,Object.assign({onClick:Ie},Zt),wt)},ee=e(67797),ue=()=>{const{confirmLoading:Zt,okButtonProps:wt,okType:Ie,okTextLocale:xt,onOk:be}=(0,l.useContext)(b);return l.createElement(J.ZP,Object.assign({},(0,ee.n)(Ie),{loading:Zt,onClick:be},wt),xt)},U=e(98044);function $(Zt,wt){return l.createElement("span",{className:`${Zt}-close-x`},wt||l.createElement(M.Z,{className:`${Zt}-close-icon`}))}const ie=Zt=>{const{okText:wt,okType:Ie="primary",cancelText:xt,confirmLoading:be,onOk:Ye,onCancel:mt,okButtonProps:Lt,cancelButtonProps:Fe,footer:Or}=Zt,[St]=(0,y.Z)("Modal",(0,U.A)()),Vr=wt||(St==null?void 0:St.okText),tn=xt||(St==null?void 0:St.cancelText),wr={confirmLoading:be,okButtonProps:Lt,cancelButtonProps:Fe,okTextLocale:Vr,cancelTextLocale:tn,okType:Ie,onOk:Ye,onCancel:mt},Nr=l.useMemo(()=>wr,(0,r.Z)(Object.values(wr)));let gr;return typeof Or=="function"||typeof Or=="undefined"?(gr=l.createElement(S,{value:Nr},l.createElement(se,null),l.createElement(ue,null)),typeof Or=="function"&&(gr=Or(gr,{OkBtn:ue,CancelBtn:se}))):gr=Or,l.createElement(q.n,{disabled:!1},gr)};var _e=e(73819),Pe=function(Zt,wt){var Ie={};for(var xt in Zt)Object.prototype.hasOwnProperty.call(Zt,xt)&&wt.indexOf(xt)<0&&(Ie[xt]=Zt[xt]);if(Zt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var be=0,xt=Object.getOwnPropertySymbols(Zt);be<xt.length;be++)wt.indexOf(xt[be])<0&&Object.prototype.propertyIsEnumerable.call(Zt,xt[be])&&(Ie[xt[be]]=Zt[xt[be]]);return Ie};let De;const He=Zt=>{De={x:Zt.pageX,y:Zt.pageY},setTimeout(()=>{De=null},100)};G()&&document.documentElement.addEventListener("click",He,!0);var Ft=Zt=>{var wt;const{getPopupContainer:Ie,getPrefixCls:xt,direction:be,modal:Ye}=l.useContext(H.E_),mt=yn=>{const{onCancel:Gn}=Zt;Gn==null||Gn(yn)},Lt=yn=>{const{onOk:Gn}=Zt;Gn==null||Gn(yn)},{prefixCls:Fe,className:Or,rootClassName:St,open:Vr,wrapClassName:tn,centered:wr,getContainer:Nr,closeIcon:gr,closable:Ur,focusTriggerAfterClose:cn=!0,style:hn,visible:ur,width:Rt=520,footer:_t}=Zt,vt=Pe(Zt,["prefixCls","className","rootClassName","open","wrapClassName","centered","getContainer","closeIcon","closable","focusTriggerAfterClose","style","visible","width","footer"]),jt=xt("modal",Fe),Cr=xt(),[yr,nn]=(0,_e.ZP)(jt),Kr=x()(tn,{[`${jt}-centered`]:!!wr,[`${jt}-wrap-rtl`]:be==="rtl"}),Ln=_t!==null&&l.createElement(ie,Object.assign({},Zt,{onOk:Lt,onCancel:mt})),[At,cr]=(0,N.Z)(Ur,gr,yn=>$(jt,yn),l.createElement(M.Z,{className:`${jt}-close-icon`}),!0),Qr=(0,oe.H)(`.${jt}-content`);return yr(l.createElement(ne.BR,null,l.createElement(ae.Ux,{status:!0,override:!0},l.createElement(B.Z,Object.assign({width:Rt},vt,{getContainer:Nr===void 0?Ie:Nr,prefixCls:jt,rootClassName:x()(nn,St),wrapClassName:Kr,footer:Ln,visible:Vr!=null?Vr:ur,mousePosition:(wt=vt.mousePosition)!==null&&wt!==void 0?wt:De,onClose:mt,closable:At,closeIcon:cr,focusTriggerAfterClose:cn,transitionName:(0,p.m)(Cr,"zoom",Zt.transitionName),maskTransitionName:(0,p.m)(Cr,"fade",Zt.maskTransitionName),className:x()(nn,Or,Ye==null?void 0:Ye.className),style:Object.assign(Object.assign({},Ye==null?void 0:Ye.style),hn),panelRef:Qr})))))},gt=e(17313),Dt=e(83116);const rr=Zt=>{const{componentCls:wt,titleFontSize:Ie,titleLineHeight:xt,modalConfirmIconSize:be,fontSize:Ye,lineHeight:mt}=Zt,Lt=`${wt}-confirm`,Fe=Math.round(Ie*xt),Or=Math.round(Ye*mt);return{[Lt]:{"&-rtl":{direction:"rtl"},[`${Zt.antCls}-modal-header`]:{display:"none"},[`${Lt}-body-wrapper`]:Object.assign({},(0,gt.dF)()),[`${Lt}-body`]:{display:"flex",flexWrap:"nowrap",alignItems:"start",[`> ${Zt.iconCls}`]:{flex:"none",fontSize:be,marginInlineEnd:Zt.marginSM,marginTop:(Or-be)/2},[`&-has-title > ${Zt.iconCls}`]:{marginTop:(Fe-be)/2}},[`${Lt}-paragraph`]:{display:"flex",flexDirection:"column",flex:"auto",rowGap:Zt.marginXS},[`${Lt}-title`]:{color:Zt.colorTextHeading,fontWeight:Zt.fontWeightStrong,fontSize:Ie,lineHeight:xt},[`${Lt}-content`]:{color:Zt.colorText,fontSize:Ye,lineHeight:mt},[`${Lt}-btns`]:{textAlign:"end",marginTop:Zt.marginSM,[`${Zt.antCls}-btn + ${Zt.antCls}-btn`]:{marginBottom:0,marginInlineStart:Zt.marginXS}}},[`${Lt}-error ${Lt}-body > ${Zt.iconCls}`]:{color:Zt.colorError},[`${Lt}-warning ${Lt}-body > ${Zt.iconCls},
|
|
|
${Lt}-confirm ${Lt}-body > ${Zt.iconCls}`]:{color:Zt.colorWarning},[`${Lt}-info ${Lt}-body > ${Zt.iconCls}`]:{color:Zt.colorInfo},[`${Lt}-success ${Lt}-body > ${Zt.iconCls}`]:{color:Zt.colorSuccess}}};var Xt=(0,Dt.b)(["Modal","confirm"],Zt=>{const wt=(0,_e.B4)(Zt);return[rr(wt)]},_e.eh,{order:-1e3}),fr=function(Zt,wt){var Ie={};for(var xt in Zt)Object.prototype.hasOwnProperty.call(Zt,xt)&&wt.indexOf(xt)<0&&(Ie[xt]=Zt[xt]);if(Zt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var be=0,xt=Object.getOwnPropertySymbols(Zt);be<xt.length;be++)wt.indexOf(xt[be])<0&&Object.prototype.propertyIsEnumerable.call(Zt,xt[be])&&(Ie[xt[be]]=Zt[xt[be]]);return Ie};function Ge(Zt){const{prefixCls:wt,icon:Ie,okText:xt,cancelText:be,confirmPrefixCls:Ye,type:mt,okCancel:Lt,footer:Fe,locale:Or}=Zt,St=fr(Zt,["prefixCls","icon","okText","cancelText","confirmPrefixCls","type","okCancel","footer","locale"]);let Vr=Ie;if(!Ie&&Ie!==null)switch(mt){case"info":Vr=l.createElement(u.Z,null);break;case"success":Vr=l.createElement(f.Z,null);break;case"error":Vr=l.createElement(o.Z,null);break;default:Vr=l.createElement(h.Z,null)}const tn=Lt!=null?Lt:mt==="confirm",wr=Zt.autoFocusButton===null?!1:Zt.autoFocusButton||"ok",[Nr]=(0,y.Z)("Modal"),gr=Or||Nr,Ur=xt||(tn?gr==null?void 0:gr.okText:gr==null?void 0:gr.justOkText),cn=be||(gr==null?void 0:gr.cancelText),hn=Object.assign({autoFocusButton:wr,cancelTextLocale:cn,okTextLocale:Ur,mergedOkCancel:tn},St),ur=l.useMemo(()=>hn,(0,r.Z)(Object.values(hn))),Rt=l.createElement(l.Fragment,null,l.createElement(R,null),l.createElement(P,null)),_t=Zt.title!==void 0&&Zt.title!==null,vt=`${Ye}-body`;return l.createElement("div",{className:`${Ye}-body-wrapper`},l.createElement("div",{className:x()(vt,{[`${vt}-has-title`]:_t})},Vr,l.createElement("div",{className:`${Ye}-paragraph`},_t&&l.createElement("span",{className:`${Ye}-title`},Zt.title),l.createElement("div",{className:`${Ye}-content`},Zt.content))),Fe===void 0||typeof Fe=="function"?l.createElement(S,{value:ur},l.createElement("div",{className:`${Ye}-btns`},typeof Fe=="function"?Fe(Rt,{OkBtn:P,CancelBtn:R}):Rt)):Fe,l.createElement(Xt,{prefixCls:wt}))}var zt=Zt=>{const{close:wt,zIndex:Ie,afterClose:xt,visible:be,open:Ye,keyboard:mt,centered:Lt,getContainer:Fe,maskStyle:Or,direction:St,prefixCls:Vr,wrapClassName:tn,rootPrefixCls:wr,iconPrefixCls:Nr,theme:gr,bodyStyle:Ur,closable:cn=!1,closeIcon:hn,modalRender:ur,focusTriggerAfterClose:Rt,onConfirm:_t}=Zt,vt=`${Vr}-confirm`,jt=Zt.width||416,Cr=Zt.style||{},yr=Zt.mask===void 0?!0:Zt.mask,nn=Zt.maskClosable===void 0?!1:Zt.maskClosable,Kr=x()(vt,`${vt}-${Zt.type}`,{[`${vt}-rtl`]:St==="rtl"},Zt.className);return l.createElement(c.ZP,{prefixCls:wr,iconPrefixCls:Nr,direction:St,theme:gr},l.createElement(Ft,{prefixCls:Vr,className:Kr,wrapClassName:x()({[`${vt}-centered`]:!!Zt.centered},tn),onCancel:()=>{wt==null||wt({triggerCancel:!0}),_t==null||_t(!1)},open:Ye,title:"",footer:null,transitionName:(0,p.m)(wr||"","zoom",Zt.transitionName),maskTransitionName:(0,p.m)(wr||"","fade",Zt.maskTransitionName),mask:yr,maskClosable:nn,maskStyle:Or,style:Cr,bodyStyle:Ur,width:jt,zIndex:Ie,afterClose:xt,keyboard:mt,centered:Lt,getContainer:Fe,closable:cn,closeIcon:hn,modalRender:ur,focusTriggerAfterClose:Rt},l.createElement(Ge,Object.assign({},Zt,{confirmPrefixCls:vt}))))},bt=[],dt=function(Zt,wt){var Ie={};for(var xt in Zt)Object.prototype.hasOwnProperty.call(Zt,xt)&&wt.indexOf(xt)<0&&(Ie[xt]=Zt[xt]);if(Zt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var be=0,xt=Object.getOwnPropertySymbols(Zt);be<xt.length;be++)wt.indexOf(xt[be])<0&&Object.prototype.propertyIsEnumerable.call(Zt,xt[be])&&(Ie[xt[be]]=Zt[xt[be]]);return Ie};let et="";function ze(){return et}function ge(Zt){const wt=document.createDocumentFragment();let Ie=Object.assign(Object.assign({},Zt),{close:mt,open:!0}),xt;function be(){for(var Fe=arguments.length,Or=new Array(Fe),St=0;St<Fe;St++)Or[St]=arguments[St];const Vr=Or.some(tn=>tn&&tn.triggerCancel);Zt.onCancel&&Vr&&Zt.onCancel.apply(Zt,[()=>{}].concat((0,r.Z)(Or.slice(1))));for(let tn=0;tn<bt.length;tn++)if(bt[tn]===mt){bt.splice(tn,1);break}(0,i.v)(wt)}function Ye(Fe){var{okText:Or,cancelText:St,prefixCls:Vr,getContainer:tn}=Fe,wr=dt(Fe,["okText","cancelText","prefixCls","getContainer"]);clearTimeout(xt),xt=setTimeout(()=>{const Nr=(0,U.A)(),{getPrefixCls:gr,getIconPrefixCls:Ur,getTheme:cn}=(0,c.w6)(),hn=gr(void 0,ze()),ur=Vr||`${hn}-modal`,Rt=Ur(),_t=cn();let vt=tn;vt===!1&&(vt=void 0),(0,i.s)(l.createElement(zt,Object.assign({},wr,{getContainer:vt,prefixCls:ur,rootPrefixCls:hn,iconPrefixCls:Rt,okText:Or,locale:Nr,theme:_t,cancelText:St||Nr.cancelText})),wt)})}function mt(){for(var Fe=arguments.length,Or=new Array(Fe),St=0;St<Fe;St++)Or[St]=arguments[St];Ie=Object.assign(Object.assign({},Ie),{open:!1,afterClose:()=>{typeof Zt.afterClose=="function"&&Zt.afterClose(),be.apply(this,Or)}}),Ie.visible&&delete Ie.visible,Ye(Ie)}function Lt(Fe){typeof Fe=="function"?Ie=Fe(Ie):Ie=Object.assign(Object.assign({},Ie),Fe),Ye(Ie)}return Ye(Ie),bt.push(mt),{destroy:mt,update:Lt}}function Se(Zt){return Object.assign(Object.assign({},Zt),{type:"warning"})}function Le(Zt){return Object.assign(Object.assign({},Zt),{type:"info"})}function $e(Zt){return Object.assign(Object.assign({},Zt),{type:"success"})}function We(Zt){return Object.assign(Object.assign({},Zt),{type:"error"})}function rt(Zt){return Object.assign(Object.assign({},Zt),{type:"confirm"})}function ot(Zt){let{rootPrefixCls:wt}=Zt;et=wt}var Kt=e(53487),Wt=function(Zt,wt){var Ie={};for(var xt in Zt)Object.prototype.hasOwnProperty.call(Zt,xt)&&wt.indexOf(xt)<0&&(Ie[xt]=Zt[xt]);if(Zt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var be=0,xt=Object.getOwnPropertySymbols(Zt);be<xt.length;be++)wt.indexOf(xt[be])<0&&Object.prototype.propertyIsEnumerable.call(Zt,xt[be])&&(Ie[xt[be]]=Zt[xt[be]]);return Ie};const Ce=Zt=>{const{prefixCls:wt,className:Ie,closeIcon:xt,closable:be,type:Ye,title:mt,children:Lt}=Zt,Fe=Wt(Zt,["prefixCls","className","closeIcon","closable","type","title","children"]),{getPrefixCls:Or}=l.useContext(H.E_),St=Or(),Vr=wt||Or("modal"),[,tn]=(0,_e.ZP)(Vr),wr=`${Vr}-confirm`;let Nr={};return Ye?Nr={closable:be!=null?be:!1,title:"",footer:"",children:l.createElement(Ge,Object.assign({},Zt,{prefixCls:Vr,confirmPrefixCls:wr,rootPrefixCls:St,content:Lt}))}:Nr={closable:be!=null?be:!0,title:mt,footer:Zt.footer===void 0?l.createElement(ie,Object.assign({},Zt)):Zt.footer,children:Lt},l.createElement(B.s,Object.assign({prefixCls:Vr,className:x()(tn,`${Vr}-pure-panel`,Ye&&wr,Ye&&`${wr}-${Ye}`,Ie)},Fe,{closeIcon:$(Vr,xt),closable:be},Nr))};var Je=(0,Kt.i)(Ce);function Yt(){const[Zt,wt]=l.useState([]),Ie=l.useCallback(xt=>(wt(be=>[].concat((0,r.Z)(be),[xt])),()=>{wt(be=>be.filter(Ye=>Ye!==xt))}),[]);return[Zt,Ie]}var kt=e(31724),Ht=function(Zt,wt){var Ie={};for(var xt in Zt)Object.prototype.hasOwnProperty.call(Zt,xt)&&wt.indexOf(xt)<0&&(Ie[xt]=Zt[xt]);if(Zt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var be=0,xt=Object.getOwnPropertySymbols(Zt);be<xt.length;be++)wt.indexOf(xt[be])<0&&Object.prototype.propertyIsEnumerable.call(Zt,xt[be])&&(Ie[xt[be]]=Zt[xt[be]]);return Ie};const $t=(Zt,wt)=>{var Ie,{afterClose:xt,config:be}=Zt,Ye=Ht(Zt,["afterClose","config"]);const[mt,Lt]=l.useState(!0),[Fe,Or]=l.useState(be),{direction:St,getPrefixCls:Vr}=l.useContext(H.E_),tn=Vr("modal"),wr=Vr(),Nr=()=>{var hn;xt(),(hn=Fe.afterClose)===null||hn===void 0||hn.call(Fe)},gr=function(){Lt(!1);for(var hn=arguments.length,ur=new Array(hn),Rt=0;Rt<hn;Rt++)ur[Rt]=arguments[Rt];const _t=ur.some(vt=>vt&&vt.triggerCancel);Fe.onCancel&&_t&&Fe.onCancel.apply(Fe,[()=>{}].concat((0,r.Z)(ur.slice(1))))};l.useImperativeHandle(wt,()=>({destroy:gr,update:hn=>{Or(ur=>Object.assign(Object.assign({},ur),hn))}}));const Ur=(Ie=Fe.okCancel)!==null&&Ie!==void 0?Ie:Fe.type==="confirm",[cn]=(0,y.Z)("Modal",kt.Z.Modal);return l.createElement(zt,Object.assign({prefixCls:tn,rootPrefixCls:wr},Fe,{close:gr,open:mt,afterClose:Nr,okText:Fe.okText||(Ur?cn==null?void 0:cn.okText:cn==null?void 0:cn.justOkText),direction:Fe.direction||St,cancelText:Fe.cancelText||(cn==null?void 0:cn.cancelText)},Ye))};var tr=l.forwardRef($t);let Gt=0;const Me=l.memo(l.forwardRef((Zt,wt)=>{const[Ie,xt]=Yt();return l.useImperativeHandle(wt,()=>({patchElement:xt}),[]),l.createElement(l.Fragment,null,Ie)}));function ce(){const Zt=l.useRef(null),[wt,Ie]=l.useState([]);l.useEffect(()=>{wt.length&&((0,r.Z)(wt).forEach(mt=>{mt()}),Ie([]))},[wt]);const xt=l.useCallback(Ye=>function(Lt){var Fe;Gt+=1;const Or=l.createRef();let St;const Vr=new Promise(Ur=>{St=Ur});let tn=!1,wr;const Nr=l.createElement(tr,{key:`modal-${Gt}`,config:Ye(Lt),ref:Or,afterClose:()=>{wr==null||wr()},isSilent:()=>tn,onConfirm:Ur=>{St(Ur)}});return wr=(Fe=Zt.current)===null||Fe===void 0?void 0:Fe.patchElement(Nr),wr&&bt.push(wr),{destroy:()=>{function Ur(){var cn;(cn=Or.current)===null||cn===void 0||cn.destroy()}Or.current?Ur():Ie(cn=>[].concat((0,r.Z)(cn),[Ur]))},update:Ur=>{function cn(){var hn;(hn=Or.current)===null||hn===void 0||hn.update(Ur)}Or.current?cn():Ie(hn=>[].concat((0,r.Z)(hn),[cn]))},then:Ur=>(tn=!0,Vr.then(Ur))}},[]);return[l.useMemo(()=>({info:xt(Le),success:xt($e),error:xt(We),warning:xt(Se),confirm:xt(rt)}),[]),l.createElement(Me,{key:"modal-holder",ref:Zt})]}var he=ce;function Pt(Zt){return ge(Se(Zt))}const Te=Ft;Te.useModal=he,Te.info=function(wt){return ge(Le(wt))},Te.success=function(wt){return ge($e(wt))},Te.error=function(wt){return ge(We(wt))},Te.warning=Pt,Te.warn=Pt,Te.confirm=function(wt){return ge(rt(wt))},Te.destroyAll=function(){for(;bt.length;){const wt=bt.pop();wt&&wt()}},Te.config=ot,Te._InternalPanelDoNotUseOrYouWillBeFired=Je;var ct=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 dt}});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(36237),S=e(17313),k=e(83116),R=e(37613),P=et=>{const{componentCls:ze,width:ge,notificationMarginEdge:Se}=et,Le=new b.Keyframes("antNotificationTopFadeIn",{"0%":{marginTop:"-100%",opacity:0},"100%":{marginTop:0,opacity:1}}),$e=new b.Keyframes("antNotificationBottomFadeIn",{"0%":{marginBottom:"-100%",opacity:0},"100%":{marginBottom:0,opacity:1}}),We=new b.Keyframes("antNotificationLeftFadeIn",{"0%":{right:{_skip_check_:!0,value:ge},opacity:0},"100%":{right:{_skip_check_:!0,value:0},opacity:1}});return{[`&${ze}-top, &${ze}-bottom`]:{marginInline:0},[`&${ze}-top`]:{[`${ze}-fade-enter${ze}-fade-enter-active, ${ze}-fade-appear${ze}-fade-appear-active`]:{animationName:Le}},[`&${ze}-bottom`]:{[`${ze}-fade-enter${ze}-fade-enter-active, ${ze}-fade-appear${ze}-fade-appear-active`]:{animationName:$e}},[`&${ze}-topLeft, &${ze}-bottomLeft`]:{marginInlineEnd:0,marginInlineStart:Se,[`${ze}-fade-enter${ze}-fade-enter-active, ${ze}-fade-appear${ze}-fade-appear-active`]:{animationName:We}}}};const M=et=>{const{iconCls:ze,componentCls:ge,boxShadow:Se,fontSizeLG:Le,notificationMarginBottom:$e,borderRadiusLG:We,colorSuccess:rt,colorInfo:ot,colorWarning:Kt,colorError:Wt,colorTextHeading:Ce,notificationBg:Je,notificationPadding:Yt,notificationMarginEdge:kt,motionDurationMid:Ht,motionEaseInOut:$t,fontSize:tr,lineHeight:Gt,width:Me,notificationIconSize:ce,colorText:he}=et,Pt=`${ge}-notice`,Te=new b.Keyframes("antNotificationFadeIn",{"0%":{left:{_skip_check_:!0,value:Me},opacity:0},"100%":{left:{_skip_check_:!0,value:0},opacity:1}}),ct=new b.Keyframes("antNotificationFadeOut",{"0%":{maxHeight:et.animationMaxHeight,marginBottom:$e,opacity:1},"100%":{maxHeight:0,marginBottom:0,paddingTop:0,paddingBottom:0,opacity:0}}),Zt={position:"relative",width:Me,maxWidth:`calc(100vw - ${kt*2}px)`,marginBottom:$e,marginInlineStart:"auto",padding:Yt,overflow:"hidden",lineHeight:Gt,wordWrap:"break-word",background:Je,borderRadius:We,boxShadow:Se,[`${ge}-close-icon`]:{fontSize:tr,cursor:"pointer"},[`${Pt}-message`]:{marginBottom:et.marginXS,color:Ce,fontSize:Le,lineHeight:et.lineHeightLG},[`${Pt}-description`]:{fontSize:tr,color:he},[`&${Pt}-closable ${Pt}-message`]:{paddingInlineEnd:et.paddingLG},[`${Pt}-with-icon ${Pt}-message`]:{marginBottom:et.marginXS,marginInlineStart:et.marginSM+ce,fontSize:Le},[`${Pt}-with-icon ${Pt}-description`]:{marginInlineStart:et.marginSM+ce,fontSize:tr},[`${Pt}-icon`]:{position:"absolute",fontSize:ce,lineHeight:0,[`&-success${ze}`]:{color:rt},[`&-info${ze}`]:{color:ot},[`&-warning${ze}`]:{color:Kt},[`&-error${ze}`]:{color:Wt}},[`${Pt}-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}},[`${Pt}-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:kt,[`${ge}-hook-holder`]:{position:"relative"},[`&${ge}-top, &${ge}-bottom`]:{[Pt]:{marginInline:"auto auto"}},[`&${ge}-topLeft, &${ge}-bottomLeft`]:{[Pt]:{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:Ht,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:ct,animationPlayState:"running"}}),P(et)),{"&-rtl":{direction:"rtl",[`${Pt}-btn`]:{float:"left"}}})},{[ge]:{[Pt]:Object.assign({},Zt)}},{[`${Pt}-pure-panel`]:Object.assign(Object.assign({},Zt),{margin:0})}]};var B=(0,k.Z)("Notification",et=>{const ze=et.paddingMD,ge=et.paddingLG,Se=(0,R.TS)(et,{notificationBg:et.colorBgElevated,notificationPaddingVertical:ze,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})),N=function(et,ze){var ge={};for(var Se in et)Object.prototype.hasOwnProperty.call(et,Se)&&ze.indexOf(Se)<0&&(ge[Se]=et[Se]);if(et!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Le=0,Se=Object.getOwnPropertySymbols(et);Le<Se.length;Le++)ze.indexOf(Se[Le])<0&&Object.prototype.propertyIsEnumerable.call(et,Se[Le])&&(ge[Se[Le]]=et[Se[Le]]);return ge};const K={info:r.createElement(u.Z,null),success:r.createElement(c.Z,null),error:r.createElement(f.Z,null),warning:r.createElement(h.Z,null),loading:r.createElement(a.Z,null)};function G(et,ze){return ze===null||ze===!1?null:ze||r.createElement("span",{className:`${et}-close-x`},r.createElement(o.Z,{className:`${et}-close-icon`}))}const H={success:c.Z,info:u.Z,error:f.Z,warning:h.Z},ae=et=>{const{prefixCls:ze,icon:ge,type:Se,message:Le,description:$e,btn:We,role:rt="alert"}=et;let ot=null;return ge?ot=r.createElement("span",{className:`${ze}-icon`},ge):Se&&(ot=r.createElement(H[Se]||null,{className:p()(`${ze}-icon`,`${ze}-icon-${Se}`)})),r.createElement("div",{className:p()({[`${ze}-with-icon`]:ot}),role:rt},ot,r.createElement("div",{className:`${ze}-message`},Le),r.createElement("div",{className:`${ze}-description`},$e),We&&r.createElement("div",{className:`${ze}-btn`},We))};var oe=et=>{const{prefixCls:ze,className:ge,icon:Se,type:Le,message:$e,description:We,btn:rt,closable:ot=!0,closeIcon:Kt}=et,Wt=N(et,["prefixCls","className","icon","type","message","description","btn","closable","closeIcon"]),{getPrefixCls:Ce}=r.useContext(_.E_),Je=ze||Ce("notification"),Yt=`${Je}-notice`,[,kt]=B(Je);return r.createElement(y.qX,Object.assign({},Wt,{prefixCls:Je,className:p()(ge,kt,`${Yt}-pure-panel`),eventKey:"pure",duration:null,closable:ot,closeIcon:G(Je,Kt),content:r.createElement(ae,{prefixCls:Yt,icon:Se,type:Le,message:$e,description:We,btn:rt})}))};function q(et,ze,ge){let Se;switch(et){case"top":Se={left:"50%",transform:"translateX(-50%)",right:"auto",top:ze,bottom:"auto"};break;case"topLeft":Se={left:0,top:ze,bottom:"auto"};break;case"topRight":Se={right:0,top:ze,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 V=function(et,ze){var ge={};for(var Se in et)Object.prototype.hasOwnProperty.call(et,Se)&&ze.indexOf(Se)<0&&(ge[Se]=et[Se]);if(et!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Le=0,Se=Object.getOwnPropertySymbols(et);Le<Se.length;Le++)ze.indexOf(Se[Le])<0&&Object.prototype.propertyIsEnumerable.call(et,Se[Le])&&(ge[Se[Le]]=et[Se[Le]]);return ge};const se=24,ee=4.5,Q="topRight",ue=et=>{let{children:ze,prefixCls:ge}=et;const[,Se]=B(ge);return r.createElement(y.JB,{classNames:{list:Se,notice:Se}},ze)},U=(et,ze)=>{let{prefixCls:ge,key:Se}=ze;return r.createElement(ue,{prefixCls:ge,key:Se},et)},$=r.forwardRef((et,ze)=>{const{top:ge,bottom:Se,prefixCls:Le,getContainer:$e,maxCount:We,rtl:rt,onAllRemoved:ot}=et,{getPrefixCls:Kt,getPopupContainer:Wt,notification:Ce}=r.useContext(_.E_),Je=Le||Kt("notification"),Yt=Gt=>q(Gt,ge!=null?ge:se,Se!=null?Se:se),kt=()=>p()({[`${Je}-rtl`]:rt}),Ht=()=>J(Je),[$t,tr]=(0,y.lm)({prefixCls:Je,style:Yt,className:kt,motion:Ht,closable:!0,closeIcon:G(Je),duration:ee,getContainer:()=>($e==null?void 0:$e())||(Wt==null?void 0:Wt())||document.body,maxCount:We,onAllRemoved:ot,renderNotifications:U});return r.useImperativeHandle(ze,()=>Object.assign(Object.assign({},$t),{prefixCls:Je,notification:Ce})),tr});function ie(et){const ze=r.useRef(null);return[r.useMemo(()=>{const Se=rt=>{var ot;if(!ze.current)return;const{open:Kt,prefixCls:Wt,notification:Ce}=ze.current,Je=`${Wt}-notice`,{message:Yt,description:kt,icon:Ht,type:$t,btn:tr,className:Gt,style:Me,role:ce="alert",closeIcon:he}=rt,Pt=V(rt,["message","description","icon","type","btn","className","style","role","closeIcon"]),Te=G(Je,he);return Kt(Object.assign(Object.assign({placement:(ot=et==null?void 0:et.placement)!==null&&ot!==void 0?ot:Q},Pt),{content:r.createElement(ae,{prefixCls:Je,icon:Ht,type:$t,message:Yt,description:kt,btn:tr,role:ce}),className:p()($t&&`${Je}-${$t}`,Gt,Ce==null?void 0:Ce.className),style:Object.assign(Object.assign({},Ce==null?void 0:Ce.style),Me),closeIcon:Te,closable:!!Te}))},$e={open:Se,destroy:rt=>{var ot,Kt;rt!==void 0?(ot=ze.current)===null||ot===void 0||ot.close(rt):(Kt=ze.current)===null||Kt===void 0||Kt.destroy()}};return["success","info","warning","error"].forEach(rt=>{$e[rt]=ot=>Se(Object.assign(Object.assign({},ot),{type:rt}))}),$e},[]),r.createElement($,Object.assign({key:"notification-holder"},et,{ref:ze}))]}function _e(et){return ie(et)}let Pe=null,De=et=>et(),He=[],Ne={};function Ft(){const{prefixCls:et,getContainer:ze,rtl:ge,maxCount:Se,top:Le,bottom:$e}=Ne,We=et!=null?et:(0,l.w6)().getPrefixCls("notification"),rt=(ze==null?void 0:ze())||document.body;return{prefixCls:We,getContainer:()=>rt,rtl:ge,maxCount:Se,top:Le,bottom:$e}}const gt=r.forwardRef((et,ze)=>{const[ge,Se]=r.useState(Ft),[Le,$e]=ie(ge),We=(0,l.w6)(),rt=We.getRootPrefixCls(),ot=We.getIconPrefixCls(),Kt=We.getTheme(),Wt=()=>{Se(Ft)};return r.useEffect(Wt,[]),r.useImperativeHandle(ze,()=>{const Ce=Object.assign({},Le);return Object.keys(Ce).forEach(Je=>{Ce[Je]=function(){return Wt(),Le[Je].apply(Le,arguments)}}),{instance:Ce,sync:Wt}}),r.createElement(l.ZP,{prefixCls:rt,iconPrefixCls:ot,theme:Kt},$e)});function Dt(){if(!Pe){const et=document.createDocumentFragment(),ze={fragment:et};Pe=ze,De(()=>{(0,i.s)(r.createElement(gt,{ref:ge=>{const{instance:Se,sync:Le}=ge||{};Promise.resolve().then(()=>{!ze.instance&&Se&&(ze.instance=Se,ze.sync=Le,Dt())})}}),et)});return}Pe.instance&&(He.forEach(et=>{switch(et.type){case"open":{De(()=>{Pe.instance.open(Object.assign(Object.assign({},Ne),et.config))});break}case"destroy":De(()=>{Pe==null||Pe.instance.destroy(et.key)});break}}),He=[])}function rr(et){Ne=Object.assign(Object.assign({},Ne),et),De(()=>{var ze;(ze=Pe==null?void 0:Pe.sync)===null||ze===void 0||ze.call(Pe)})}function Xt(et){He.push({type:"open",config:et}),Dt()}function fr(et){He.push({type:"destroy",key:et}),Dt()}const Ge=["success","info","warning","error"],zt={open:Xt,destroy:fr,config:rr,useNotification:_e,_InternalPanelDoNotUseOrYouWillBeFired:oe};Ge.forEach(et=>{zt[et]=ze=>Xt(Object.assign(Object.assign({},ze),{type:et}))});const nt=()=>{};let bt=null;var dt=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:P,isLastItem:M}=k,B=A==="vertical"?"-vertical-":"-";return i()(`${b}-compact${B}item`,{[`${b}-compact${B}first-item`]:P,[`${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:P,prefixCls:M,className:B,rootClassName:N,children:K}=b,G=u(b,["size","direction","block","prefixCls","className","rootClassName","children"]),H=(0,o.Z)(ee=>R!=null?R:ee),ae=S("space-compact",M),[ne,oe]=(0,h.Z)(ae),q=i()(ae,oe,{[`${ae}-rtl`]:k==="rtl",[`${ae}-block`]:P,[`${ae}-vertical`]:A==="vertical"},B,N),J=c.useContext(a),V=(0,l.Z)(K),se=c.useMemo(()=>V.map((ee,Q)=>{const ue=ee&&ee.key||`${ae}-item-${Q}`;return c.createElement(y,{key:ue,compactSize:H,compactDirection:A,isFirstItem:Q===0&&(!J||(J==null?void 0:J.isFirstItem)),isLastItem:Q===V.length-1&&(!J||(J==null?void 0:J.isLastItem))},ee)}),[R,V,J]);return V.length===0?null:ne(c.createElement("div",Object.assign({className:q},G),se))};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 K}});var r=e(92310),i=e.n(r),l=e(2738),c=e(59301),f=e(53280),o=e(92343),h=e(36355),u=e(36237),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=G=>({[`${G.componentCls}`]:Object.assign(Object.assign({},(0,a.Wf)(G)),{position:"absolute",display:"none",color:G.colorPrimary,fontSize:0,textAlign:"center",verticalAlign:"middle",opacity:0,transition:`transform ${G.motionDurationSlow} ${G.motionEaseInOutCirc}`,"&-spinning":{position:"static",display:"inline-block",opacity:1},"&-nested-loading":{position:"relative",[`> div > ${G.componentCls}`]:{position:"absolute",top:0,insetInlineStart:0,zIndex:4,display:"block",width:"100%",height:"100%",maxHeight:G.contentHeight,[`${G.componentCls}-dot`]:{position:"absolute",top:"50%",insetInlineStart:"50%",margin:-G.dotSize/2},[`${G.componentCls}-text`]:{position:"absolute",top:"50%",width:"100%",paddingTop:(G.dotSize-G.fontSize)/2+2,textShadow:`0 1px 2px ${G.colorBgContainer}`,fontSize:G.fontSize},[`&${G.componentCls}-show-text ${G.componentCls}-dot`]:{marginTop:-(G.dotSize/2)-10},"&-sm":{[`${G.componentCls}-dot`]:{margin:-G.dotSizeSM/2},[`${G.componentCls}-text`]:{paddingTop:(G.dotSizeSM-G.fontSize)/2+2},[`&${G.componentCls}-show-text ${G.componentCls}-dot`]:{marginTop:-(G.dotSizeSM/2)-10}},"&-lg":{[`${G.componentCls}-dot`]:{margin:-(G.dotSizeLG/2)},[`${G.componentCls}-text`]:{paddingTop:(G.dotSizeLG-G.fontSize)/2+2},[`&${G.componentCls}-show-text ${G.componentCls}-dot`]:{marginTop:-(G.dotSizeLG/2)-10}}},[`${G.componentCls}-container`]:{position:"relative",transition:`opacity ${G.motionDurationSlow}`,"&::after":{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,zIndex:10,width:"100%",height:"100%",background:G.colorBgContainer,opacity:0,transition:`all ${G.motionDurationSlow}`,content:'""',pointerEvents:"none"}},[`${G.componentCls}-blur`]:{clear:"both",opacity:.5,userSelect:"none",pointerEvents:"none","&::after":{opacity:.4,pointerEvents:"auto"}}},"&-tip":{color:G.spinDotDefault},[`${G.componentCls}-dot`]:{position:"relative",display:"inline-block",fontSize:G.dotSize,width:"1em",height:"1em","&-item":{position:"absolute",display:"block",width:(G.dotSize-G.marginXXS/2)/2,height:(G.dotSize-G.marginXXS/2)/2,backgroundColor:G.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 ${G.componentCls}-dot`]:{fontSize:G.dotSizeSM,i:{width:(G.dotSizeSM-G.marginXXS/2)/2,height:(G.dotSizeSM-G.marginXXS/2)/2}},[`&-lg ${G.componentCls}-dot`]:{fontSize:G.dotSizeLG,i:{width:(G.dotSizeLG-G.marginXXS)/2,height:(G.dotSizeLG-G.marginXXS)/2}},[`&${G.componentCls}-show-text ${G.componentCls}-text`]:{display:"block"}})});var S=(0,x.Z)("Spin",G=>{const H=(0,p.TS)(G,{spinDotDefault:G.colorTextDescription});return[b(H)]},G=>({contentHeight:400,dotSize:G.controlHeightLG/2,dotSizeSM:G.controlHeightLG*.35,dotSizeLG:G.controlHeight})),k=function(G,H){var ae={};for(var ne in G)Object.prototype.hasOwnProperty.call(G,ne)&&H.indexOf(ne)<0&&(ae[ne]=G[ne]);if(G!=null&&typeof Object.getOwnPropertySymbols=="function")for(var oe=0,ne=Object.getOwnPropertySymbols(G);oe<ne.length;oe++)H.indexOf(ne[oe])<0&&Object.prototype.propertyIsEnumerable.call(G,ne[oe])&&(ae[ne[oe]]=G[ne[oe]]);return ae};const R=null;let A=null;function P(G,H){const{indicator:ae}=H,ne=`${G}-dot`;return ae===null?null:(0,o.l$)(ae)?(0,o.Tm)(ae,{className:i()(ae.props.className,ne)}):(0,o.l$)(A)?(0,o.Tm)(A,{className:i()(A.props.className,ne)}):c.createElement("span",{className:i()(ne,`${G}-dot-spin`)},c.createElement("i",{className:`${G}-dot-item`,key:1}),c.createElement("i",{className:`${G}-dot-item`,key:2}),c.createElement("i",{className:`${G}-dot-item`,key:3}),c.createElement("i",{className:`${G}-dot-item`,key:4}))}function M(G,H){return!!G&&!!H&&!isNaN(Number(H))}const B=G=>{const{spinPrefixCls:H,spinning:ae=!0,delay:ne=0,className:oe,rootClassName:q,size:J="default",tip:V,wrapperClassName:se,style:ee,children:Q,hashId:ue}=G,U=k(G,["spinPrefixCls","spinning","delay","className","rootClassName","size","tip","wrapperClassName","style","children","hashId"]),[$,ie]=c.useState(()=>ae&&!M(ae,ne));c.useEffect(()=>{if(ae){const rr=(0,f.D)(ne,()=>{ie(!0)});return rr(),()=>{var Xt;(Xt=rr==null?void 0:rr.cancel)===null||Xt===void 0||Xt.call(rr)}}ie(!1)},[ne,ae]);const _e=c.useMemo(()=>typeof Q!="undefined",[Q]),{direction:Pe,spin:De}=c.useContext(h.E_),He=i()(H,De==null?void 0:De.className,{[`${H}-sm`]:J==="small",[`${H}-lg`]:J==="large",[`${H}-spinning`]:$,[`${H}-show-text`]:!!V,[`${H}-rtl`]:Pe==="rtl"},oe,q,ue),Ne=i()(`${H}-container`,{[`${H}-blur`]:$}),Ft=(0,l.Z)(U,["indicator","prefixCls"]),gt=Object.assign(Object.assign({},De==null?void 0:De.style),ee),Dt=c.createElement("div",Object.assign({},Ft,{style:gt,className:He,"aria-live":"polite","aria-busy":$}),P(H,G),V&&_e?c.createElement("div",{className:`${H}-text`},V):null);return _e?c.createElement("div",Object.assign({},Ft,{className:i()(`${H}-nested-loading`,se,ue)}),$&&c.createElement("div",{key:"loading"},Dt),c.createElement("div",{className:Ne,key:"container"},Q)):Dt},N=G=>{const{prefixCls:H}=G,{getPrefixCls:ae}=c.useContext(h.E_),ne=ae("spin",H),[oe,q]=S(ne),J=Object.assign(Object.assign({},G),{spinPrefixCls:ne,hashId:q});return oe(c.createElement(B,Object.assign({},J)))};N.setDefaultIndicator=G=>{A=G};var K=N},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(36237),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(36237),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:P}=R,M=`${P}-${A}`,{inKeyframes:B,outKeyframes:N}=S[A];return[(0,i.R)(M,B,N,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:P}=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:P}},[`&-placement-topRight ${u}-arrow`]:{right:{_skip_check_:!0,value:P}}})),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:P}},[`&-placement-bottomRight ${u}-arrow`]:{right:{_skip_check_:!0,value:P}}})),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,P=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} ${P} 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 K},u_:function(){return N},uH:function(){return B}});var r=e(36237),i=e(59301),l=e(30071),f=G=>{const{controlHeight:H}=G;return{controlHeightSM:H*.75,controlHeightXS:H*.5,controlHeightLG:H*1.25}};function o(G){const{sizeUnit:H,sizeStep:ae}=G;return{sizeXXL:H*(ae+8),sizeXL:H*(ae+4),sizeLG:H*(ae+2),sizeMD:H*(ae+1),sizeMS:H*ae,size:H*ae,sizeSM:H*(ae-1),sizeXS:H*(ae-2),sizeXXS:H*(ae-3)}}var h=e(34117),u=e(64993);function a(G,H){let{generateColorPalettes:ae,generateNeutralColorPalettes:ne}=H;const{colorSuccess:oe,colorWarning:q,colorError:J,colorInfo:V,colorPrimary:se,colorBgBase:ee,colorTextBase:Q}=G,ue=ae(se),U=ae(oe),$=ae(q),ie=ae(J),_e=ae(V),Pe=ne(ee,Q),De=G.colorLink||G.colorInfo,He=ae(De);return Object.assign(Object.assign({},Pe),{colorPrimaryBg:ue[1],colorPrimaryBgHover:ue[2],colorPrimaryBorder:ue[3],colorPrimaryBorderHover:ue[4],colorPrimaryHover:ue[5],colorPrimary:ue[6],colorPrimaryActive:ue[7],colorPrimaryTextHover:ue[8],colorPrimaryText:ue[9],colorPrimaryTextActive:ue[10],colorSuccessBg:U[1],colorSuccessBgHover:U[2],colorSuccessBorder:U[3],colorSuccessBorderHover:U[4],colorSuccessHover:U[4],colorSuccess:U[6],colorSuccessActive:U[7],colorSuccessTextHover:U[8],colorSuccessText:U[9],colorSuccessTextActive:U[10],colorErrorBg:ie[1],colorErrorBgHover:ie[2],colorErrorBorder:ie[3],colorErrorBorderHover:ie[4],colorErrorHover:ie[5],colorError:ie[6],colorErrorActive:ie[7],colorErrorTextHover:ie[8],colorErrorText:ie[9],colorErrorTextActive:ie[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:He[4],colorLink:He[6],colorLinkActive:He[7],colorBgMask:new u.C("#000").setAlpha(.45).toRgbString(),colorWhite:"#fff"})}var p=G=>{let H=G,ae=G,ne=G,oe=G;return G<6&&G>=5?H=G+1:G<16&&G>=6?H=G+2:G>=16&&(H=16),G<7&&G>=5?ae=4:G<8&&G>=7?ae=5:G<14&&G>=8?ae=6:G<16&&G>=14?ae=7:G>=16&&(ae=8),G<6&&G>=2?ne=1:G>=6&&(ne=2),G>4&&G<8?oe=4:G>=8&&(oe=6),{borderRadius:G>16?16:G,borderRadiusXS:ne,borderRadiusSM:ae,borderRadiusLG:H,borderRadiusOuter:oe}};function y(G){const{motionUnit:H,motionBase:ae,borderRadius:ne,lineWidth:oe}=G;return Object.assign({motionDurationFast:`${(ae+H).toFixed(1)}s`,motionDurationMid:`${(ae+H*2).toFixed(1)}s`,motionDurationSlow:`${(ae+H*3).toFixed(1)}s`,lineWidthBold:oe+1},p(ne))}const _=(G,H)=>new u.C(G).setAlpha(H).toRgbString(),b=(G,H)=>new u.C(G).darken(H).toHexString(),S=G=>{const H=(0,l.generate)(G);return{1:H[0],2:H[1],3:H[2],4:H[3],5:H[4],6:H[5],7:H[6],8:H[4],9:H[5],10:H[6]}},k=(G,H)=>{const ae=G||"#fff",ne=H||"#000";return{colorBgBase:ae,colorTextBase:ne,colorText:_(ne,.88),colorTextSecondary:_(ne,.65),colorTextTertiary:_(ne,.45),colorTextQuaternary:_(ne,.25),colorFill:_(ne,.15),colorFillSecondary:_(ne,.06),colorFillTertiary:_(ne,.04),colorFillQuaternary:_(ne,.02),colorBgLayout:b(ae,4),colorBgContainer:b(ae,0),colorBgElevated:b(ae,0),colorBgSpotlight:_(ne,.85),colorBorder:b(ae,15),colorBorderSecondary:b(ae,6)}};function R(G){const H=new Array(10).fill(null).map((ae,ne)=>{const oe=ne-1,q=G*Math.pow(2.71828,oe/5),J=ne>1?Math.floor(q):Math.ceil(q);return Math.floor(J/2)*2});return H[1]=G,H.map(ae=>{const ne=ae+8;return{size:ae,lineHeight:ne/ae}})}var P=G=>{const H=R(G),ae=H.map(oe=>oe.size),ne=H.map(oe=>oe.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:ne[1],lineHeightLG:ne[2],lineHeightSM:ne[0],lineHeightHeading1:ne[6],lineHeightHeading2:ne[5],lineHeightHeading3:ne[4],lineHeightHeading4:ne[3],lineHeightHeading5:ne[2]}};function M(G){const H=Object.keys(h.M).map(ae=>{const ne=(0,l.generate)(G[ae]);return new Array(10).fill(1).reduce((oe,q,J)=>(oe[`${ae}-${J+1}`]=ne[J],oe[`${ae}${J+1}`]=ne[J],oe),{})}).reduce((ae,ne)=>(ae=Object.assign(Object.assign({},ae),ne),ae),{});return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},G),H),a(G,{generateColorPalettes:S,generateNeutralColorPalettes:k})),P(G.fontSize)),o(G)),f(G)),y(G))}const B=(0,r.createTheme)(M),N={token:h.Z,hashed:!0},K=i.createContext(N)},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(36237),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:P,b:M,a:B}=new h.C(k).toRgb();if(B<1)return k;const{r:N,g:K,b:G}=new h.C(R).toRgb();for(let H=.01;H<=1;H+=.01){const ae=Math.round((A-N*(1-H))/H),ne=Math.round((P-K*(1-H))/H),oe=Math.round((M-G*(1-H))/H);if(u(ae)&&u(ne)&&u(oe))return new h.C({r:ae,g:ne,b:oe,a:Math.round(H*100)/100}).toRgbString()}return new h.C({r:A,g:P,b:M,a:1}).toRgbString()}var x=a,p=function(k,R){var A={};for(var P in k)Object.prototype.hasOwnProperty.call(k,P)&&R.indexOf(P)<0&&(A[P]=k[P]);if(k!=null&&typeof Object.getOwnPropertySymbols=="function")for(var M=0,P=Object.getOwnPropertySymbols(k);M<P.length;M++)R.indexOf(P[M])<0&&Object.prototype.propertyIsEnumerable.call(k,P[M])&&(A[P[M]]=k[P[M]]);return A};function y(k){const{override:R}=k,A=p(k,["override"]),P=Object.assign({},R);Object.keys(o.Z).forEach(oe=>{delete P[oe]});const M=Object.assign(Object.assign({},A),P),B=480,N=576,K=768,G=992,H=1200,ae=1600;if(M.motion===!1){const oe="0s";M.motionDurationFast=oe,M.motionDurationMid=oe,M.motionDurationSlow=oe}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:N-1,screenSM:N,screenSMMin:N,screenSMMax:K-1,screenMD:K,screenMDMin:K,screenMDMax:G-1,screenLG:G,screenLGMin:G,screenLGMax:H-1,screenXL:H,screenXLMin:H,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)"}),P)}var _=function(k,R){var A={};for(var P in k)Object.prototype.hasOwnProperty.call(k,P)&&R.indexOf(P)<0&&(A[P]=k[P]);if(k!=null&&typeof Object.getOwnPropertySymbols=="function")for(var M=0,P=Object.getOwnPropertySymbols(k);M<P.length;M++)R.indexOf(P[M])<0&&Object.prototype.propertyIsEnumerable.call(k,P[M])&&(A[P[M]]=k[P[M]]);return A};const b=(k,R,A)=>{const P=A.getDerivativeToken(k),{override:M}=R,B=_(R,["override"]);let N=Object.assign(Object.assign({},P),{override:M});return N=y(N),B&&Object.entries(B).forEach(K=>{let[G,H]=K;const{theme:ae}=H,ne=_(H,["theme"]);let oe=ne;ae&&(oe=b(Object.assign(Object.assign({},N),ne),{override:ne},ae)),N[G]=oe}),N};function S(){const{token:k,hashed:R,theme:A,components:P}=i.useContext(f.Mj),M=`${c}-${R||""}`,B=A||f.uH,[N,K]=(0,r.useCacheToken)(B,[o.Z,k],{salt:M,override:Object.assign({override:k},P),getComputedToken:b,formatToken:y});return[B,N,R?K:""]}},83116:function(d,v,e){"use strict";e.d(v,{Z:function(){return a},b:function(){return x}});var r=e(59301),i=e(36237),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[P,M,B]=(0,o.Z)(),{getPrefixCls:N,iconPrefixCls:K,csp:G}=(0,r.useContext)(c.E_),H=N(),ae={theme:P,token:M,hashId:B,nonce:()=>G==null?void 0:G.nonce,clientOnly:b.clientOnly,order:b.order||-999};return(0,i.useStyleRegister)(Object.assign(Object.assign({},ae),{clientOnly:!1,path:["Shared",H]}),()=>[{"&":(0,f.Lx)(M)}]),(0,u.Z)(K),[(0,i.useStyleRegister)(Object.assign(Object.assign({},ae),{path:[R,A,K]}),()=>{const{token:ne,flush:oe}=(0,h.ZP)(M),q=Object.assign({},M[k]);if(b.deprecatedTokens){const{deprecatedTokens:ue}=b;ue.forEach(U=>{let[$,ie]=U;var _e;(q!=null&&q[$]||q!=null&&q[ie])&&((_e=q[ie])!==null&&_e!==void 0||(q[ie]=q==null?void 0:q[$]))})}const J=typeof _=="function"?_((0,h.TS)(ne,q!=null?q:{})):_,V=Object.assign(Object.assign({},J),q),se=`.${A}`,ee=(0,h.TS)(ne,{componentCls:se,prefixCls:A,iconCls:`.${K}`,antCls:`.${H}`},V),Q=y(ee,{hashId:B,prefixCls:A,rootPrefixCls:H,iconPrefixCls:K,overrideComponentToken:q});return oe(k,V),[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(36237),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 oe}});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:V,tooltipColor:se,tooltipBg:ee,tooltipBorderRadius:Q,zIndexPopup:ue,controlHeight:U,boxShadowSecondary:$,paddingSM:ie,paddingXS:_e,tooltipRadiusOuter:Pe}=q;return[{[J]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,y.Wf)(q)),{position:"absolute",zIndex:ue,display:"block",width:"max-content",maxWidth:V,visibility:"visible",transformOrigin:"var(--arrow-x, 50%) var(--arrow-y, 50%)","&-hidden":{display:"none"},"--antd-arrow-background-color":ee,[`${J}-inner`]:{minWidth:U,minHeight:U,padding:`${ie/2}px ${_e}px`,color:se,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,(De,He)=>{let{darkColor:Ne}=He;return{[`&${J}-${De}`]:{[`${J}-inner`]:{backgroundColor:Ne},[`${J}-arrow`]:{"--antd-arrow-background-color":Ne}}}})),{"&-rtl":{direction:"rtl"}})},(0,b.ZP)((0,k.TS)(q,{borderRadiusOuter:Pe}),{colorBg:"var(--antd-arrow-background-color)",contentRadius:Q,limitVerticalRadius:!0}),{[`${J}-pure`]:{position:"relative",maxWidth:"none",margin:q.sizePopupArrow}}]};var P=(q,J)=>(0,R.Z)("Tooltip",se=>{if(J===!1)return[];const{borderRadius:ee,colorTextLightSolid:Q,colorBgDefault:ue,borderRadiusOuter:U}=se,$=(0,k.TS)(se,{tooltipMaxWidth:250,tooltipColor:Q,tooltipBorderRadius:ee,tooltipBg:ue,tooltipRadiusOuter:U>4?4:U});return[A($),(0,_._y)(se,"zoom-big-fast")]},se=>{let{zIndexPopupBase:ee,colorBgSpotlight:Q}=se;return{zIndexPopup:ee+70,colorBgDefault:Q}},{resetStyle:!1})(q),M=e(36785);function B(q,J){const V=(0,M.o2)(J),se=l()({[`${q}-${J}`]:J&&V}),ee={},Q={};return J&&!V&&(ee.background=J,Q["--antd-arrow-background-color"]=J),{className:se,overlayStyle:ee,arrowStyle:Q}}var K=q=>{const{prefixCls:J,className:V,placement:se="top",title:ee,color:Q,overlayInnerStyle:ue}=q,{getPrefixCls:U}=r.useContext(a.E_),$=U("tooltip",J),[ie,_e]=P($,!0),Pe=B($,Q),De=Pe.arrowStyle,He=Object.assign(Object.assign({},ue),Pe.overlayStyle),Ne=l()(_e,$,`${$}-pure`,`${$}-placement-${se}`,V,Pe.className);return ie(r.createElement("div",{className:Ne,style:De},r.createElement("div",{className:`${$}-arrow`}),r.createElement(c.G,Object.assign({},q,{className:_e,prefixCls:$,overlayInnerStyle:He}),ee)))},G=function(q,J){var V={};for(var se in q)Object.prototype.hasOwnProperty.call(q,se)&&J.indexOf(se)<0&&(V[se]=q[se]);if(q!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ee=0,se=Object.getOwnPropertySymbols(q);ee<se.length;ee++)J.indexOf(se[ee])<0&&Object.prototype.propertyIsEnumerable.call(q,se[ee])&&(V[se[ee]]=q[se[ee]]);return V};const H=(q,J)=>{const V={},se=Object.assign({},q);return J.forEach(ee=>{q&&ee in q&&(V[ee]=q[ee],delete se[ee])}),{picked:V,omitted:se}};function ae(q,J){const V=q.type;if((V.__ANT_BUTTON===!0||q.type==="button")&&q.props.disabled||V.__ANT_SWITCH===!0&&(q.props.disabled||q.props.loading)||V.__ANT_RADIO===!0&&q.props.disabled){const{picked:se,omitted:ee}=H(q.props.style,["position","left","right","top","bottom","float","display","zIndex"]),Q=Object.assign(Object.assign({display:"inline-block"},se),{cursor:"not-allowed",width:q.props.block?"100%":void 0}),ue=Object.assign(Object.assign({},ee),{pointerEvents:"none"}),U=(0,u.Tm)(q,{style:ue,className:null});return r.createElement("span",{style:Q,className:l()(q.props.className,`${J}-disabled-compatible-wrapper`)},U)}return q}const ne=r.forwardRef((q,J)=>{var V,se;const{prefixCls:ee,openClassName:Q,getTooltipContainer:ue,overlayClassName:U,color:$,overlayInnerStyle:ie,children:_e,afterOpenChange:Pe,afterVisibleChange:De,destroyTooltipOnHide:He,arrow:Ne=!0,title:Ft,overlay:gt,builtinPlacements:Dt,arrowPointAtCenter:rr=!1,autoAdjustOverflow:Xt=!0}=q,fr=!!Ne,[,Ge]=(0,p.Z)(),{getPopupContainer:Tt,getPrefixCls:zt,direction:nt}=r.useContext(a.E_),bt=r.useRef(null),dt=()=>{var Ie;(Ie=bt.current)===null||Ie===void 0||Ie.forceAlign()};r.useImperativeHandle(J,()=>({forceAlign:dt,forcePopupAlign:()=>{dt()}}));const[et,ze]=(0,f.Z)(!1,{value:(V=q.open)!==null&&V!==void 0?V:q.visible,defaultValue:(se=q.defaultOpen)!==null&&se!==void 0?se:q.defaultVisible}),ge=!Ft&&!gt&&Ft!==0,Se=Ie=>{var xt,be;ze(ge?!1:Ie),ge||((xt=q.onOpenChange)===null||xt===void 0||xt.call(q,Ie),(be=q.onVisibleChange)===null||be===void 0||be.call(q,Ie))},Le=r.useMemo(()=>{var Ie,xt;let be=rr;return typeof Ne=="object"&&(be=(xt=(Ie=Ne.pointAtCenter)!==null&&Ie!==void 0?Ie:Ne.arrowPointAtCenter)!==null&&xt!==void 0?xt:rr),Dt||(0,h.Z)({arrowPointAtCenter:be,autoAdjustOverflow:Xt,arrowWidth:fr?Ge.sizePopupArrow:0,borderRadius:Ge.borderRadius,offset:Ge.marginXXS,visibleFirst:!0})},[rr,Ne,Dt,Ge]),$e=r.useMemo(()=>Ft===0?Ft:gt||Ft||"",[gt,Ft]),We=r.createElement(x.BR,null,typeof $e=="function"?$e():$e),{getPopupContainer:rt,placement:ot="top",mouseEnterDelay:Kt=.1,mouseLeaveDelay:Wt=.1,overlayStyle:Ce,rootClassName:Je}=q,Yt=G(q,["getPopupContainer","placement","mouseEnterDelay","mouseLeaveDelay","overlayStyle","rootClassName"]),kt=zt("tooltip",ee),Ht=zt(),$t=q["data-popover-inject"];let tr=et;!("open"in q)&&!("visible"in q)&&ge&&(tr=!1);const Gt=ae((0,u.l$)(_e)&&!(0,u.M2)(_e)?_e:r.createElement("span",null,_e),kt),Me=Gt.props,ce=!Me.className||typeof Me.className=="string"?l()(Me.className,Q||`${kt}-open`):Me.className,[he,Pt]=P(kt,!$t),Te=B(kt,$),ct=Te.arrowStyle,Zt=Object.assign(Object.assign({},ie),Te.overlayStyle),wt=l()(U,{[`${kt}-rtl`]:nt==="rtl"},Te.className,Je,Pt);return he(r.createElement(c.Z,Object.assign({},Yt,{showArrow:fr,placement:ot,mouseEnterDelay:Kt,mouseLeaveDelay:Wt,prefixCls:kt,overlayClassName:wt,overlayStyle:Object.assign(Object.assign({},ct),Ce),getTooltipContainer:rt||ue||Tt,ref:bt,builtinPlacements:Le,overlay:We,visible:tr,onVisibleChange:Se,afterVisibleChange:Pe!=null?Pe:De,overlayInnerStyle:Zt,arrowContent:r.createElement("span",{className:`${kt}-arrow-content`}),motion:{motionName:(0,o.m)(Ht,"zoom-big-fast",q.transitionName),motionDeadline:1e3},destroyTooltipOnHide:!!He}),tr?(0,u.Tm)(Gt,{className:ce}):Gt))});ne._InternalPanelDoNotUseOrYouWillBeFired=K;var oe=ne},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"],P=[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",N="kwd",K="com",G="typ",H="lit",ae="pun",ne="pln",oe="tag",q="dec",J="src",V="atn",se="atv",ee="nocode",Q="(?:^^\\.?|[+-]|[!=]=?=?|\\#|%=?|&&?=?|\\(|\\*=?|[+\\-]=|->|\\/=?|::?|<<?=?|>>?>?=?|,|;|\\?|@|\\[|~|{|\\^\\^?=?|\\|\\|?=?|break|case|continue|delete|do|else|finally|instanceof|return|throw|try|typeof)\\s*";function ue(nt){for(var bt=0,dt=!1,et=!1,ze=0,ge=nt.length;ze<ge;++ze){var Se=nt[ze];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,""))){dt=!0,et=!1;break}}var Le={b:8,t:9,n:10,v:11,f:12,r:13};function $e(Wt){var Ce=Wt.charCodeAt(0);if(Ce!==92)return Ce;var Je=Wt.charAt(1);return Ce=Le[Je],Ce||("0"<=Je&&Je<="7"?parseInt(Wt.substring(1),8):Je==="u"||Je==="x"?parseInt(Wt.substring(2),16):Wt.charCodeAt(1))}function We(Wt){if(Wt<32)return(Wt<16?"\\x0":"\\x")+Wt.toString(16);var Ce=String.fromCharCode(Wt);return Ce==="\\"||Ce==="-"||Ce==="]"||Ce==="^"?"\\"+Ce:Ce}function rt(Wt){var Ce=Wt.substring(1,Wt.length-1).match(new RegExp("\\\\u[0-9A-Fa-f]{4}|\\\\x[0-9A-Fa-f]{2}|\\\\[0-3][0-7]{0,2}|\\\\[0-7]{1,2}|\\\\[\\s\\S]|-|[^-\\\\]","g")),Je=[],Yt=Ce[0]==="^",kt=["["];Yt&&kt.push("^");for(var Ht=Yt?1:0,$t=Ce.length;Ht<$t;++Ht){var tr=Ce[Ht];if(/\\[bdsw]/i.test(tr))kt.push(tr);else{var Gt=$e(tr),Me;Ht+2<$t&&Ce[Ht+1]==="-"?(Me=$e(Ce[Ht+2]),Ht+=2):Me=Gt,Je.push([Gt,Me]),Me<65||Gt>122||(Me<65||Gt>90||Je.push([Math.max(65,Gt)|32,Math.min(Me,90)|32]),Me<97||Gt>122||Je.push([Math.max(97,Gt)&-33,Math.min(Me,122)&-33]))}}Je.sort(function(Te,ct){return Te[0]-ct[0]||ct[1]-Te[1]});for(var ce=[],he=[],Ht=0;Ht<Je.length;++Ht){var Pt=Je[Ht];Pt[0]<=he[1]+1?he[1]=Math.max(he[1],Pt[1]):ce.push(he=Pt)}for(var Ht=0;Ht<ce.length;++Ht){var Pt=ce[Ht];kt.push(We(Pt[0])),Pt[1]>Pt[0]&&(Pt[1]+1>Pt[0]&&kt.push("-"),kt.push(We(Pt[1])))}return kt.push("]"),kt.join("")}function ot(Wt){for(var Ce=Wt.source.match(new RegExp("(?:\\[(?:[^\\x5C\\x5D]|\\\\[\\s\\S])*\\]|\\\\u[A-Fa-f0-9]{4}|\\\\x[A-Fa-f0-9]{2}|\\\\[0-9]+|\\\\[^ux0-9]|\\(\\?[:!=]|[\\(\\)\\^]|[^\\x5B\\x5C\\(\\)\\^]+)","g")),Je=Ce.length,Yt=[],kt=0,Ht=0;kt<Je;++kt){var $t=Ce[kt];if($t==="(")++Ht;else if($t.charAt(0)==="\\"){var tr=+$t.substring(1);tr&&(tr<=Ht?Yt[tr]=-1:Ce[kt]=We(tr))}}for(var kt=1;kt<Yt.length;++kt)Yt[kt]===-1&&(Yt[kt]=++bt);for(var kt=0,Ht=0;kt<Je;++kt){var $t=Ce[kt];if($t==="(")++Ht,Yt[Ht]||(Ce[kt]="(?:");else if($t.charAt(0)==="\\"){var tr=+$t.substring(1);tr&&tr<=Ht&&(Ce[kt]="\\"+Yt[tr])}}for(var kt=0;kt<Je;++kt)Ce[kt]==="^"&&Ce[kt+1]!=="^"&&(Ce[kt]="");if(Wt.ignoreCase&&dt)for(var kt=0;kt<Je;++kt){var $t=Ce[kt],Gt=$t.charAt(0);$t.length>=2&&Gt==="["?Ce[kt]=rt($t):Gt!=="\\"&&(Ce[kt]=$t.replace(/[a-zA-Z]/g,function(he){var Pt=he.charCodeAt(0);return"["+String.fromCharCode(Pt&-33,Pt|32)+"]"}))}return Ce.join("")}for(var Kt=[],ze=0,ge=nt.length;ze<ge;++ze){var Se=nt[ze];if(Se.global||Se.multiline)throw new Error(""+Se);Kt.push("(?:"+ot(Se)+")")}return new RegExp(Kt.join("|"),et?"gi":"g")}function U(nt,bt){var dt=/(?:^|\s)nocode(?:\s|$)/,et=[],ze=0,ge=[],Se=0;function Le($e){var We=$e.nodeType;if(We==1){if(dt.test($e.className))return;for(var rt=$e.firstChild;rt;rt=rt.nextSibling)Le(rt);var ot=$e.nodeName.toLowerCase();(ot==="br"||ot==="li")&&(et[Se]=`
|
|
|
`,ge[Se<<1]=ze++,ge[Se++<<1|1]=$e)}else if(We==3||We==4){var Kt=$e.nodeValue;Kt.length&&(bt?Kt=Kt.replace(/\r\n?/g,`
|
|
|
`):Kt=Kt.replace(/[ \t\r\n]+/g," "),et[Se]=Kt,ge[Se<<1]=ze,ze+=Kt.length,ge[Se++<<1|1]=$e)}}return Le(nt),{sourceCode:et.join("").replace(/\n$/,""),spans:ge}}function $(nt,bt,dt,et,ze){if(dt){var ge={sourceNode:nt,pre:1,langExtension:null,numberLines:null,sourceCode:dt,spans:null,basePos:bt,decorations:null};et(ge),ze.push.apply(ze,ge.decorations)}}var ie=/\S/;function _e(nt){for(var bt=void 0,dt=nt.firstChild;dt;dt=dt.nextSibling){var et=dt.nodeType;bt=et===1?bt?nt:dt:et===3&&ie.test(dt.nodeValue)?nt:bt}return bt===nt?void 0:bt}function Pe(nt,bt){var dt={},et;(function(){for(var Se=nt.concat(bt),Le=[],$e={},We=0,rt=Se.length;We<rt;++We){var ot=Se[We],Kt=ot[3];if(Kt)for(var Wt=Kt.length;--Wt>=0;)dt[Kt.charAt(Wt)]=ot;var Ce=ot[1],Je=""+Ce;$e.hasOwnProperty(Je)||(Le.push(Ce),$e[Je]=null)}Le.push(/[\0-\uffff]/),et=ue(Le)})();var ze=bt.length,ge=function(Se){for(var Le=Se.sourceCode,$e=Se.basePos,We=Se.sourceNode,rt=[$e,ne],ot=0,Kt=Le.match(et)||[],Wt={},Ce=0,Je=Kt.length;Ce<Je;++Ce){var Yt=Kt[Ce],kt=Wt[Yt],Ht=void 0,$t;if(typeof kt=="string")$t=!1;else{var tr=dt[Yt.charAt(0)];if(tr)Ht=Yt.match(tr[1]),kt=tr[0];else{for(var Gt=0;Gt<ze;++Gt)if(tr=bt[Gt],Ht=Yt.match(tr[1]),Ht){kt=tr[0];break}Ht||(kt=ne)}$t=kt.length>=5&&kt.substring(0,5)==="lang-",$t&&!(Ht&&typeof Ht[1]=="string")&&($t=!1,kt=J),$t||(Wt[Yt]=kt)}var Me=ot;if(ot+=Yt.length,!$t)rt.push($e+Me,kt);else{var ce=Ht[1],he=Yt.indexOf(ce),Pt=he+ce.length;Ht[2]&&(Pt=Yt.length-Ht[2].length,he=Pt-ce.length);var Te=kt.substring(5);$(We,$e+Me,Yt.substring(0,he),ge,rt),$(We,$e+Me+he,ce,rr(Te,ce),rt),$(We,$e+Me+Pt,Yt.substring(Pt),ge,rt)}}Se.decorations=rt};return ge}function De(nt){var bt=[],dt=[];nt.tripleQuotedStrings?bt.push([B,/^(?:\'\'\'(?:[^\'\\]|\\[\s\S]|\'{1,2}(?=[^\']))*(?:\'\'\'|$)|\"\"\"(?:[^\"\\]|\\[\s\S]|\"{1,2}(?=[^\"]))*(?:\"\"\"|$)|\'(?:[^\\\']|\\[\s\S])*(?:\'|$)|\"(?:[^\\\"]|\\[\s\S])*(?:\"|$))/,null,`'"`]):nt.multiLineStrings?bt.push([B,/^(?:\'(?:[^\\\']|\\[\s\S])*(?:\'|$)|\"(?:[^\\\"]|\\[\s\S])*(?:\"|$)|\`(?:[^\\\`]|\\[\s\S])*(?:\`|$))/,null,"'\"`"]):bt.push([B,/^(?:\'(?:[^\\\'\r\n]|\\.)*(?:\'|$)|\"(?:[^\\\"\r\n]|\\.)*(?:\"|$))/,null,`"'`]),nt.verbatimStrings&&dt.push([B,/^@\"(?:[^\"]|\"\")*(?:\"|$)/,null]);var et=nt.hashComments;et&&(nt.cStyleComments?(et>1?bt.push([K,/^#(?:##(?:[^#]|#(?!##))*(?:###|$)|.*)/,null,"#"]):bt.push([K,/^#(?:(?:define|e(?:l|nd)if|else|error|ifn?def|include|line|pragma|undef|warning)\b|[^\r\n]*)/,null,"#"]),dt.push([B,/^<(?:(?:(?:\.\.\/)*|\/?)(?:[\w-]+(?:\/[\w-]+)+)?[\w-]+\.h(?:h|pp|\+\+)?|[a-z]\w*)>/,null])):bt.push([K,/^#[^\r\n]*/,null,"#"])),nt.cStyleComments&&(dt.push([K,/^\/\/[^\r\n]*/,null]),dt.push([K,/^\/\*[\s\S]*?(?:\*\/|$)/,null]));var ze=nt.regexLiterals;if(ze){var ge=ze>1?"":`
|
|
|
\r`,Se=ge?".":"[\\S\\s]",Le="/(?=[^/*"+ge+"])(?:[^/\\x5B\\x5C"+ge+"]|\\x5C"+Se+"|\\x5B(?:[^\\x5C\\x5D"+ge+"]|\\x5C"+Se+")*(?:\\x5D|$))+/";dt.push(["lang-regex",RegExp("^"+Q+"("+Le+")")])}var $e=nt.types;$e&&dt.push([G,$e]);var We=(""+nt.keywords).replace(/^ | $/g,"");We.length&&dt.push([N,new RegExp("^(?:"+We.replace(/[\s,]+/g,"|")+")\\b"),null]),bt.push([ne,/^\s+/,null,` \r
|
|
|
\xA0`]);var rt="^.[^\\s\\w.$@'\"`/\\\\]*";return nt.regexLiterals&&(rt+="(?!s*/)"),dt.push([H,/^@[a-z_$][a-z_$@0-9]*/i,null],[G,/^(?:[@_]?[A-Z]+[a-z][A-Za-z_$@0-9]*|\w+_t\b)/,null],[ne,/^[a-z_$][a-z_$@0-9]*/i,null],[H,new RegExp("^(?:0x[a-f0-9]+|(?:\\d(?:_\\d+)*\\d*(?:\\.\\d*)?|\\.\\d\\+)(?:e[+\\-]?\\d+)?)[a-z]*","i"),null,"0123456789"],[ne,/^\\[\s\S]?/,null],[ae,new RegExp(rt),null]),Pe(bt,dt)}var He=De({keywords:P,hashComments:!0,cStyleComments:!0,multiLineStrings:!0,regexLiterals:!0});function Ne(nt,bt,dt){for(var et=/(?:^|\s)nocode(?:\s|$)/,ze=/\r\n?|\n/,ge=nt.ownerDocument,Se=ge.createElement("li");nt.firstChild;)Se.appendChild(nt.firstChild);var Le=[Se];function $e(Ce){var Je=Ce.nodeType;if(Je==1&&!et.test(Ce.className))if(Ce.nodeName==="br")We(Ce),Ce.parentNode&&Ce.parentNode.removeChild(Ce);else for(var Yt=Ce.firstChild;Yt;Yt=Yt.nextSibling)$e(Yt);else if((Je==3||Je==4)&&dt){var kt=Ce.nodeValue,Ht=kt.match(ze);if(Ht){var $t=kt.substring(0,Ht.index);Ce.nodeValue=$t;var tr=kt.substring(Ht.index+Ht[0].length);if(tr){var Gt=Ce.parentNode;Gt.insertBefore(ge.createTextNode(tr),Ce.nextSibling)}We(Ce),$t||Ce.parentNode.removeChild(Ce)}}}function We(Ce){for(;!Ce.nextSibling;)if(Ce=Ce.parentNode,!Ce)return;function Je(Ht,$t){var tr=$t?Ht.cloneNode(!1):Ht,Gt=Ht.parentNode;if(Gt){var Me=Je(Gt,1),ce=Ht.nextSibling;Me.appendChild(tr);for(var he=ce;he;he=ce)ce=he.nextSibling,Me.appendChild(he)}return tr}for(var Yt=Je(Ce.nextSibling,0),kt;(kt=Yt.parentNode)&&kt.nodeType===1;)Yt=kt;Le.push(Yt)}for(var rt=0;rt<Le.length;++rt)$e(Le[rt]);bt===(bt|0)&&Le[0].setAttribute("value",bt);var ot=ge.createElement("ol");ot.className="linenums";for(var Kt=Math.max(0,bt-1|0)||0,rt=0,Wt=Le.length;rt<Wt;++rt)Se=Le[rt],Se.className="L"+(rt+Kt)%10,Se.firstChild||Se.appendChild(ge.createTextNode("\xA0")),ot.appendChild(Se);nt.appendChild(ot)}function Ft(nt){var bt=/\bMSIE\s(\d+)/.exec(navigator.userAgent);bt=bt&&+bt[1]<=8;var dt=/\n/g,et=nt.sourceCode,ze=et.length,ge=0,Se=nt.spans,Le=Se.length,$e=0,We=nt.decorations,rt=We.length,ot=0;We[rt]=ze;var Kt,Wt;for(Wt=Kt=0;Wt<rt;)We[Wt]!==We[Wt+2]?(We[Kt++]=We[Wt++],We[Kt++]=We[Wt++]):Wt+=2;for(rt=Kt,Wt=Kt=0;Wt<rt;){for(var Ce=We[Wt],Je=We[Wt+1],Yt=Wt+2;Yt+2<=rt&&We[Yt+1]===Je;)Yt+=2;We[Kt++]=Ce,We[Kt++]=Je,Wt=Yt}rt=We.length=Kt;var kt=nt.sourceNode,Ht="";kt&&(Ht=kt.style.display,kt.style.display="none");try{for(var $t=null;$e<Le;){var tr=Se[$e],Gt=Se[$e+2]||ze,Me=We[ot+2]||ze,Yt=Math.min(Gt,Me),ce=Se[$e+1],he;if(ce.nodeType!==1&&(he=et.substring(ge,Yt))){bt&&(he=he.replace(dt,"\r")),ce.nodeValue=he;var Pt=ce.ownerDocument,Te=Pt.createElement("span");Te.className=We[ot+1];var ct=ce.parentNode;ct.replaceChild(Te,ce),Te.appendChild(ce),ge<Gt&&(Se[$e+1]=ce=Pt.createTextNode(et.substring(Yt,Gt)),ct.insertBefore(ce,Te.nextSibling))}ge=Yt,ge>=Gt&&($e+=2),ge>=Me&&(ot+=2)}}finally{kt&&(kt.style.display=Ht)}}var gt={};function Dt(nt,bt){for(var dt=bt.length;--dt>=0;){var et=bt[dt];gt.hasOwnProperty(et)?o.console&&console.warn("cannot override language handler %s",et):gt[et]=nt}}function rr(nt,bt){return nt&>.hasOwnProperty(nt)||(nt=/^\s*</.test(bt)?"default-markup":"default-code"),gt[nt]}Dt(He,["default-code"]),Dt(Pe([],[[ne,/^[^<?]+/],[q,/^<!\w[^>]*(?:>|$)/],[K,/^<\!--[\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(Pe([[ne,/^[\s]+/,null,` \r
|
|
|
`],[se,/^(?:\"[^\"]*\"?|\'[^\']*\'?)/,null,`"'`]],[[oe,/^^<\/?[a-z](?:[\w.:-]*\w)?|\/?>$/i],[V,/^(?!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(Pe([],[[se,/^[\s\S]+/]]),["uq.val"]),Dt(De({keywords:x,hashComments:!0,cStyleComments:!0,types:M}),["c","cc","cpp","cxx","cyc","m"]),Dt(De({keywords:"null,true,false"}),["json"]),Dt(De({keywords:y,hashComments:!0,cStyleComments:!0,verbatimStrings:!0,types:M}),["cs"]),Dt(De({keywords:p,cStyleComments:!0}),["java"]),Dt(De({keywords:A,hashComments:!0,multiLineStrings:!0}),["bash","bsh","csh","sh"]),Dt(De({keywords:k,hashComments:!0,multiLineStrings:!0,tripleQuotedStrings:!0}),["cv","py","python"]),Dt(De({keywords:S,hashComments:!0,multiLineStrings:!0,regexLiterals:2}),["perl","pl","pm"]),Dt(De({keywords:R,hashComments:!0,multiLineStrings:!0,regexLiterals:!0}),["rb","ruby"]),Dt(De({keywords:b,cStyleComments:!0,regexLiterals:!0}),["javascript","js","ts","typescript"]),Dt(De({keywords:_,hashComments:3,cStyleComments:!0,multilineStrings:!0,tripleQuotedStrings:!0,regexLiterals:!0}),["coffee"]),Dt(Pe([],[[B,/^[\s\S]+/]]),["regex"]);function Xt(nt){var bt=nt.langExtension;try{var dt=U(nt.sourceNode,nt.pre),et=dt.sourceCode;nt.sourceCode=et,nt.spans=dt.spans,nt.basePos=0,rr(bt,et)(nt),Ft(nt)}catch(ze){o.console&&console.log(ze&&ze.stack||ze)}}function fr(nt,bt,dt){var et=dt||!1,ze=bt||null,ge=document.createElement("div");ge.innerHTML="<pre>"+nt+"</pre>",ge=ge.firstChild,et&&Ne(ge,et,!0);var Se={langExtension:ze,numberLines:et,sourceNode:ge,pre:1,sourceCode:null,basePos:null,spans:null,decorations:null};return Xt(Se),ge.innerHTML}function Ge(nt,bt){var dt=bt||document.body,et=dt.ownerDocument||document;function ze(tr){return dt.getElementsByTagName(tr)}for(var ge=[ze("pre"),ze("code"),ze("xmp")],Se=[],Le=0;Le<ge.length;++Le)for(var $e=0,We=ge[Le].length;$e<We;++$e)Se.push(ge[Le][$e]);ge=null;var rt=Date;rt.now||(rt={now:function(){return+new Date}});var ot=0,Kt=/\blang(?:uage)?-([\w.]+)(?!\S)/,Wt=/\bprettyprint\b/,Ce=/\bprettyprinted\b/,Je=/pre|xmp/i,Yt=/^code$/i,kt=/^(?:pre|code|xmp)$/i,Ht={};function $t(){for(var tr=o.PR_SHOULD_USE_CONTINUATION?rt.now()+250:1/0;ot<Se.length&&rt.now()<tr;ot++){for(var Gt=Se[ot],Me=Ht,ce=Gt;ce=ce.previousSibling;){var he=ce.nodeType,Pt=(he===7||he===8)&&ce.nodeValue;if(Pt?!/^\??prettify\b/.test(Pt):he!==3||/\S/.test(ce.nodeValue))break;if(Pt){Me={},Pt.replace(/\b(\w+)=([\w:.%+-]+)/g,function(St,Vr,tn){Me[Vr]=tn});break}}var Te=Gt.className;if((Me!==Ht||Wt.test(Te))&&!Ce.test(Te)){for(var ct=!1,Zt=Gt.parentNode;Zt;Zt=Zt.parentNode){var wt=Zt.tagName;if(kt.test(wt)&&Zt.className&&Wt.test(Zt.className)){ct=!0;break}}if(!ct){Gt.className+=" prettyprinted";var Ie=Me.lang;if(!Ie){Ie=Te.match(Kt);var xt;!Ie&&(xt=_e(Gt))&&Yt.test(xt.tagName)&&(Ie=xt.className.match(Kt)),Ie&&(Ie=Ie[1])}var be;if(Je.test(Gt.tagName))be=1;else{var Ye=Gt.currentStyle,mt=et.defaultView,Lt=Ye?Ye.whiteSpace:mt&&mt.getComputedStyle?mt.getComputedStyle(Gt,null).getPropertyValue("white-space"):0;be=Lt&&Lt.substring(0,3)==="pre"}var Fe=Me.linenums;(Fe=Fe==="true"||+Fe)||(Fe=Te.match(/\blinenums\b(?::(\d+))?/),Fe=Fe?Fe[1]&&Fe[1].length?+Fe[1]:!0:!1),Fe&&Ne(Gt,Fe,be);var Or={langExtension:Ie,sourceNode:Gt,numberLines:Fe,pre:be,sourceCode:null,basePos:null,spans:null,decorations:null};Xt(Or)}}}ot<Se.length?o.setTimeout($t,250):typeof nt=="function"&&nt()}$t()}var Tt=o.PR={createSimpleLexer:Pe,registerLangHandler:Dt,sourceDecorator:De,PR_ATTRIB_NAME:V,PR_ATTRIB_VALUE:se,PR_COMMENT:K,PR_DECLARATION:q,PR_KEYWORD:N,PR_LITERAL:H,PR_NOCODE:ee,PR_PLAIN:ne,PR_PUNCTUATION:ae,PR_SOURCE:J,PR_STRING:B,PR_TAG:oe,PR_TYPE:G,prettyPrintOne:r?o.prettyPrintOne=fr:c=fr,prettyPrint:f=r?o.prettyPrint=Ge:f=Ge},zt=o.define;typeof zt=="function"&&zt.amd&&zt("google-code-prettify",[],function(){return Tt})})()},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=[],P=0;P<256;P++)P<128?A[P]=P<<1:A[P]=P<<1^283;for(var M=0,B=0,P=0;P<256;P++){var N=B^B<<1^B<<2^B<<3^B<<4;N=N>>>8^N&255^99,o[M]=N,h[N]=M;var K=A[M],G=A[K],H=A[G],ae=A[N]*257^N*16843008;u[M]=ae<<24|ae>>>8,a[M]=ae<<16|ae>>>16,x[M]=ae<<8|ae>>>24,p[M]=ae;var ae=H*16843009^G*65537^K*257^M*16843008;y[N]=ae<<24|ae>>>8,_[N]=ae<<16|ae>>>16,b[N]=ae<<8|ae>>>24,S[N]=ae,M?(M=K^A[A[A[H^K]]],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 P=this._keyPriorReset=this._key,M=P.words,B=P.sigBytes/4,N=this._nRounds=B+6,K=(N+1)*4,G=this._keySchedule=[],H=0;H<K;H++)H<B?G[H]=M[H]:(A=G[H-1],H%B?B>6&&H%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[H/B|0]<<24),G[H]=G[H-B]^A);for(var ae=this._invKeySchedule=[],ne=0;ne<K;ne++){var H=K-ne;if(ne%4)var A=G[H];else var A=G[H-4];ne<4||H<=4?ae[ne]=A:ae[ne]=y[o[A>>>24]]^_[o[A>>>16&255]]^b[o[A>>>8&255]]^S[o[A&255]]}}},encryptBlock:function(A,P){this._doCryptBlock(A,P,this._keySchedule,u,a,x,p,o)},decryptBlock:function(A,P){var M=A[P+1];A[P+1]=A[P+3],A[P+3]=M,this._doCryptBlock(A,P,this._invKeySchedule,y,_,b,S,h);var M=A[P+1];A[P+1]=A[P+3],A[P+3]=M},_doCryptBlock:function(A,P,M,B,N,K,G,H){for(var ae=this._nRounds,ne=A[P]^M[0],oe=A[P+1]^M[1],q=A[P+2]^M[2],J=A[P+3]^M[3],V=4,se=1;se<ae;se++){var ee=B[ne>>>24]^N[oe>>>16&255]^K[q>>>8&255]^G[J&255]^M[V++],Q=B[oe>>>24]^N[q>>>16&255]^K[J>>>8&255]^G[ne&255]^M[V++],ue=B[q>>>24]^N[J>>>16&255]^K[ne>>>8&255]^G[oe&255]^M[V++],U=B[J>>>24]^N[ne>>>16&255]^K[oe>>>8&255]^G[q&255]^M[V++];ne=ee,oe=Q,q=ue,J=U}var ee=(H[ne>>>24]<<24|H[oe>>>16&255]<<16|H[q>>>8&255]<<8|H[J&255])^M[V++],Q=(H[oe>>>24]<<24|H[q>>>16&255]<<16|H[J>>>8&255]<<8|H[ne&255])^M[V++],ue=(H[q>>>24]<<24|H[J>>>16&255]<<16|H[ne>>>8&255]<<8|H[oe&255])^M[V++],U=(H[J>>>24]<<24|H[ne>>>16&255]<<16|H[oe>>>8&255]<<8|H[q&255])^M[V++];A[P]=ee,A[P+1]=Q,A[P+2]=ue,A[P+3]=U},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(oe,q){return this.create(this._ENC_XFORM_MODE,oe,q)},createDecryptor:function(oe,q){return this.create(this._DEC_XFORM_MODE,oe,q)},init:function(oe,q,J){this.cfg=this.cfg.extend(J),this._xformMode=oe,this._key=q,this.reset()},reset:function(){h.reset.call(this),this._doReset()},process:function(oe){return this._append(oe),this._process()},finalize:function(oe){oe&&this._append(oe);var q=this._doFinalize();return q},keySize:128/32,ivSize:128/32,_ENC_XFORM_MODE:1,_DEC_XFORM_MODE:2,_createHelper:function(){function oe(q){return typeof q=="string"?ne:G}return function(q){return{encrypt:function(J,V,se){return oe(V).encrypt(q,J,V,se)},decrypt:function(J,V,se){return oe(V).decrypt(q,J,V,se)}}}}()}),b=c.StreamCipher=_.extend({_doFinalize:function(){var oe=this._process(!0);return oe},blockSize:1}),S=l.mode={},k=c.BlockCipherMode=f.extend({createEncryptor:function(oe,q){return this.Encryptor.create(oe,q)},createDecryptor:function(oe,q){return this.Decryptor.create(oe,q)},init:function(oe,q){this._cipher=oe,this._iv=q}}),R=S.CBC=function(){var oe=k.extend();oe.Encryptor=oe.extend({processBlock:function(J,V){var se=this._cipher,ee=se.blockSize;q.call(this,J,V,ee),se.encryptBlock(J,V),this._prevBlock=J.slice(V,V+ee)}}),oe.Decryptor=oe.extend({processBlock:function(J,V){var se=this._cipher,ee=se.blockSize,Q=J.slice(V,V+ee);se.decryptBlock(J,V),q.call(this,J,V,ee),this._prevBlock=Q}});function q(J,V,se){var ee,Q=this._iv;Q?(ee=Q,this._iv=i):ee=this._prevBlock;for(var ue=0;ue<se;ue++)J[V+ue]^=ee[ue]}return oe}(),A=l.pad={},P=A.Pkcs7={pad:function(oe,q){for(var J=q*4,V=J-oe.sigBytes%J,se=V<<24|V<<16|V<<8|V,ee=[],Q=0;Q<V;Q+=4)ee.push(se);var ue=o.create(ee,V);oe.concat(ue)},unpad:function(oe){var q=oe.words[oe.sigBytes-1>>>2]&255;oe.sigBytes-=q}},M=c.BlockCipher=_.extend({cfg:_.cfg.extend({mode:R,padding:P}),reset:function(){var oe;_.reset.call(this);var q=this.cfg,J=q.iv,V=q.mode;this._xformMode==this._ENC_XFORM_MODE?oe=V.createEncryptor:(oe=V.createDecryptor,this._minBufferSize=1),this._mode&&this._mode.__creator==oe?this._mode.init(this,J&&J.words):(this._mode=oe.call(V,this,J&&J.words),this._mode.__creator=oe)},_doProcessBlock:function(oe,q){this._mode.processBlock(oe,q)},_doFinalize:function(){var oe,q=this.cfg.padding;return this._xformMode==this._ENC_XFORM_MODE?(q.pad(this._data,this.blockSize),oe=this._process(!0)):(oe=this._process(!0),q.unpad(oe)),oe},blockSize:128/32}),B=c.CipherParams=f.extend({init:function(oe){this.mixIn(oe)},toString:function(oe){return(oe||this.formatter).stringify(this)}}),N=l.format={},K=N.OpenSSL={stringify:function(oe){var q,J=oe.ciphertext,V=oe.salt;return V?q=o.create([1398893684,1701076831]).concat(V).concat(J):q=J,q.toString(x)},parse:function(oe){var q,J=x.parse(oe),V=J.words;return V[0]==1398893684&&V[1]==1701076831&&(q=o.create(V.slice(2,4)),V.splice(0,4),J.sigBytes-=16),B.create({ciphertext:J,salt:q})}},G=c.SerializableCipher=f.extend({cfg:f.extend({format:K}),encrypt:function(oe,q,J,V){V=this.cfg.extend(V);var se=oe.createEncryptor(J,V),ee=se.finalize(q),Q=se.cfg;return B.create({ciphertext:ee,key:J,iv:Q.iv,algorithm:oe,mode:Q.mode,padding:Q.padding,blockSize:oe.blockSize,formatter:V.format})},decrypt:function(oe,q,J,V){V=this.cfg.extend(V),q=this._parse(q,V.format);var se=oe.createDecryptor(J,V).finalize(q.ciphertext);return se},_parse:function(oe,q){return typeof oe=="string"?q.parse(oe,this):oe}}),H=l.kdf={},ae=H.OpenSSL={execute:function(oe,q,J,V){V||(V=o.random(64/8));var se=y.create({keySize:q+J}).compute(oe,V),ee=o.create(se.words.slice(q),J*4);return se.sigBytes=q*4,B.create({key:se,iv:ee,salt:V})}},ne=c.PasswordBasedCipher=G.extend({cfg:G.cfg.extend({kdf:ae}),encrypt:function(oe,q,J,V){V=this.cfg.extend(V);var se=V.kdf.execute(J,oe.keySize,oe.ivSize);V.iv=se.iv;var ee=G.encrypt.call(this,oe,q,se.key,V);return ee.mixIn(se),ee},decrypt:function(oe,q,J,V){V=this.cfg.extend(V),q=this._parse(q,V.format);var se=V.kdf.execute(J,oe.keySize,oe.ivSize,q.salt);V.iv=se.iv;var ee=G.decrypt.call(this,oe,q,se.key,V);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(P){var M;return A.prototype=P,M=new A,A.prototype=null,M}}(),h={},u=h.lib={},a=u.Base=function(){return{extend:function(A){var P=o(this);return A&&P.mixIn(A),(!P.hasOwnProperty("init")||this.init===P.init)&&(P.init=function(){P.$super.init.apply(this,arguments)}),P.init.prototype=P,P.$super=this,P},create:function(){var A=this.extend();return A.init.apply(A,arguments),A},init:function(){},mixIn:function(A){for(var P in A)A.hasOwnProperty(P)&&(this[P]=A[P]);A.hasOwnProperty("toString")&&(this.toString=A.toString)},clone:function(){return this.init.prototype.extend(this)}}}(),x=u.WordArray=a.extend({init:function(A,P){A=this.words=A||[],P!=l?this.sigBytes=P:this.sigBytes=A.length*4},toString:function(A){return(A||y).stringify(this)},concat:function(A){var P=this.words,M=A.words,B=this.sigBytes,N=A.sigBytes;if(this.clamp(),B%4)for(var K=0;K<N;K++){var G=M[K>>>2]>>>24-K%4*8&255;P[B+K>>>2]|=G<<24-(B+K)%4*8}else for(var H=0;H<N;H+=4)P[B+H>>>2]=M[H>>>2];return this.sigBytes+=N,this},clamp:function(){var A=this.words,P=this.sigBytes;A[P>>>2]&=4294967295<<32-P%4*8,A.length=i.ceil(P/4)},clone:function(){var A=a.clone.call(this);return A.words=this.words.slice(0),A},random:function(A){for(var P=[],M=0;M<A;M+=4)P.push(f());return new x.init(P,A)}}),p=h.enc={},y=p.Hex={stringify:function(A){for(var P=A.words,M=A.sigBytes,B=[],N=0;N<M;N++){var K=P[N>>>2]>>>24-N%4*8&255;B.push((K>>>4).toString(16)),B.push((K&15).toString(16))}return B.join("")},parse:function(A){for(var P=A.length,M=[],B=0;B<P;B+=2)M[B>>>3]|=parseInt(A.substr(B,2),16)<<24-B%8*4;return new x.init(M,P/2)}},_=p.Latin1={stringify:function(A){for(var P=A.words,M=A.sigBytes,B=[],N=0;N<M;N++){var K=P[N>>>2]>>>24-N%4*8&255;B.push(String.fromCharCode(K))}return B.join("")},parse:function(A){for(var P=A.length,M=[],B=0;B<P;B++)M[B>>>2]|=(A.charCodeAt(B)&255)<<24-B%4*8;return new x.init(M,P)}},b=p.Utf8={stringify:function(A){try{return decodeURIComponent(escape(_.stringify(A)))}catch(P){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 P,M=this._data,B=M.words,N=M.sigBytes,K=this.blockSize,G=K*4,H=N/G;A?H=i.ceil(H):H=i.max((H|0)-this._minBufferSize,0);var ae=H*K,ne=i.min(ae*4,N);if(ae){for(var oe=0;oe<ae;oe+=K)this._doProcessBlock(B,oe);P=B.splice(0,ae),M.sigBytes-=ne}return new x.init(P,ne)},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 P=this._doFinalize();return P},blockSize:512/32,_createHelper:function(A){return function(P,M){return new A.init(M).finalize(P)}},_createHmacHelper:function(A){return function(P,M){return new R.HMAC.init(A,M).finalize(P)}}}),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 P=p.charAt(64);if(P)for(;y.length%4;)y.push(P);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,P=0;P<4&&b+P*.75<p;P++)_.push(y.charAt(A>>>6*(3-P)&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 P=this._hash.words,M=b[S+0],B=b[S+1],N=b[S+2],K=b[S+3],G=b[S+4],H=b[S+5],ae=b[S+6],ne=b[S+7],oe=b[S+8],q=b[S+9],J=b[S+10],V=b[S+11],se=b[S+12],ee=b[S+13],Q=b[S+14],ue=b[S+15],U=P[0],$=P[1],ie=P[2],_e=P[3];U=x(U,$,ie,_e,M,7,u[0]),_e=x(_e,U,$,ie,B,12,u[1]),ie=x(ie,_e,U,$,N,17,u[2]),$=x($,ie,_e,U,K,22,u[3]),U=x(U,$,ie,_e,G,7,u[4]),_e=x(_e,U,$,ie,H,12,u[5]),ie=x(ie,_e,U,$,ae,17,u[6]),$=x($,ie,_e,U,ne,22,u[7]),U=x(U,$,ie,_e,oe,7,u[8]),_e=x(_e,U,$,ie,q,12,u[9]),ie=x(ie,_e,U,$,J,17,u[10]),$=x($,ie,_e,U,V,22,u[11]),U=x(U,$,ie,_e,se,7,u[12]),_e=x(_e,U,$,ie,ee,12,u[13]),ie=x(ie,_e,U,$,Q,17,u[14]),$=x($,ie,_e,U,ue,22,u[15]),U=p(U,$,ie,_e,B,5,u[16]),_e=p(_e,U,$,ie,ae,9,u[17]),ie=p(ie,_e,U,$,V,14,u[18]),$=p($,ie,_e,U,M,20,u[19]),U=p(U,$,ie,_e,H,5,u[20]),_e=p(_e,U,$,ie,J,9,u[21]),ie=p(ie,_e,U,$,ue,14,u[22]),$=p($,ie,_e,U,G,20,u[23]),U=p(U,$,ie,_e,q,5,u[24]),_e=p(_e,U,$,ie,Q,9,u[25]),ie=p(ie,_e,U,$,K,14,u[26]),$=p($,ie,_e,U,oe,20,u[27]),U=p(U,$,ie,_e,ee,5,u[28]),_e=p(_e,U,$,ie,N,9,u[29]),ie=p(ie,_e,U,$,ne,14,u[30]),$=p($,ie,_e,U,se,20,u[31]),U=y(U,$,ie,_e,H,4,u[32]),_e=y(_e,U,$,ie,oe,11,u[33]),ie=y(ie,_e,U,$,V,16,u[34]),$=y($,ie,_e,U,Q,23,u[35]),U=y(U,$,ie,_e,B,4,u[36]),_e=y(_e,U,$,ie,G,11,u[37]),ie=y(ie,_e,U,$,ne,16,u[38]),$=y($,ie,_e,U,J,23,u[39]),U=y(U,$,ie,_e,ee,4,u[40]),_e=y(_e,U,$,ie,M,11,u[41]),ie=y(ie,_e,U,$,K,16,u[42]),$=y($,ie,_e,U,ae,23,u[43]),U=y(U,$,ie,_e,q,4,u[44]),_e=y(_e,U,$,ie,se,11,u[45]),ie=y(ie,_e,U,$,ue,16,u[46]),$=y($,ie,_e,U,N,23,u[47]),U=_(U,$,ie,_e,M,6,u[48]),_e=_(_e,U,$,ie,ne,10,u[49]),ie=_(ie,_e,U,$,Q,15,u[50]),$=_($,ie,_e,U,H,21,u[51]),U=_(U,$,ie,_e,se,6,u[52]),_e=_(_e,U,$,ie,K,10,u[53]),ie=_(ie,_e,U,$,J,15,u[54]),$=_($,ie,_e,U,B,21,u[55]),U=_(U,$,ie,_e,oe,6,u[56]),_e=_(_e,U,$,ie,ue,10,u[57]),ie=_(ie,_e,U,$,ae,15,u[58]),$=_($,ie,_e,U,ee,21,u[59]),U=_(U,$,ie,_e,G,6,u[60]),_e=_(_e,U,$,ie,V,10,u[61]),ie=_(ie,_e,U,$,N,15,u[62]),$=_($,ie,_e,U,q,21,u[63]),P[0]=P[0]+U|0,P[1]=P[1]+$|0,P[2]=P[2]+ie|0,P[3]=P[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),P=k;S[(R+64>>>9<<4)+15]=(A<<8|A>>>24)&16711935|(A<<24|A>>>8)&4278255360,S[(R+64>>>9<<4)+14]=(P<<8|P>>>24)&16711935|(P<<24|P>>>8)&4278255360,b.sigBytes=(S.length+1)*4,this._process();for(var M=this._hash,B=M.words,N=0;N<4;N++){var K=B[N];B[N]=(K<<8|K>>>24)&16711935|(K<<24|K>>>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,P,M){var B=b+(S&k|~S&R)+A+M;return(B<<P|B>>>32-P)+S}function p(b,S,k,R,A,P,M){var B=b+(S&R|k&~R)+A+M;return(B<<P|B>>>32-P)+S}function y(b,S,k,R,A,P,M){var B=b+(S^k^R)+A+M;return(B<<P|B>>>32-P)+S}function _(b,S,k,R,A,P,M){var B=b+(k^(S|~R))+A+M;return(B<<P|B>>>32-P)+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,P=y.iterations;k.length<A;){var M=_.update(p).finalize(S);_.reset();for(var B=M.words,N=B.length,K=M,G=1;G<P;G++){K=_.finalize(K),_.reset();for(var H=K.words,ae=0;ae<N;ae++)B[ae]^=H[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],P=(R<<8|R>>>24)&16711935|(R<<24|R>>>8)&4278255360,M=(A<<8|A>>>24)&16711935|(A<<24|A>>>8)&4278255360,B=P>>>16|M&4294901760,N=M<<16|P&65535;b[0]^=P,b[1]^=B,b[2]^=M,b[3]^=N,b[4]^=P,b[5]^=B,b[6]^=M,b[7]^=N;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],P=(R<<8|R>>>24)&16711935|(R<<24|R>>>8)&4278255360,M=(A<<8|A>>>24)&16711935|(A<<24|A>>>8)&4278255360,B=P>>>16|M&4294901760,N=M<<16|P&65535;S[0]^=P,S[1]^=B,S[2]^=M,S[3]^=N,S[4]^=P,S[5]^=B,S[6]^=M,S[7]^=N;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,N){for(var K=0;K<16;K++){var G=N+K,H=B[G];B[G]=(H<<8|H>>>24)&16711935|(H<<24|H>>>8)&4278255360}var ae=this._hash.words,ne=y.words,oe=_.words,q=u.words,J=a.words,V=x.words,se=p.words,ee,Q,ue,U,$,ie,_e,Pe,De,He;ie=ee=ae[0],_e=Q=ae[1],Pe=ue=ae[2],De=U=ae[3],He=$=ae[4];for(var Ne,K=0;K<80;K+=1)Ne=ee+B[N+q[K]]|0,K<16?Ne+=S(Q,ue,U)+ne[0]:K<32?Ne+=k(Q,ue,U)+ne[1]:K<48?Ne+=R(Q,ue,U)+ne[2]:K<64?Ne+=A(Q,ue,U)+ne[3]:Ne+=P(Q,ue,U)+ne[4],Ne=Ne|0,Ne=M(Ne,V[K]),Ne=Ne+$|0,ee=$,$=U,U=M(ue,10),ue=Q,Q=Ne,Ne=ie+B[N+J[K]]|0,K<16?Ne+=P(_e,Pe,De)+oe[0]:K<32?Ne+=A(_e,Pe,De)+oe[1]:K<48?Ne+=R(_e,Pe,De)+oe[2]:K<64?Ne+=k(_e,Pe,De)+oe[3]:Ne+=S(_e,Pe,De)+oe[4],Ne=Ne|0,Ne=M(Ne,se[K]),Ne=Ne+He|0,ie=He,He=De,De=M(Pe,10),Pe=_e,_e=Ne;Ne=ae[1]+ue+De|0,ae[1]=ae[2]+U+He|0,ae[2]=ae[3]+$+ie|0,ae[3]=ae[4]+ee+_e|0,ae[4]=ae[0]+Q+Pe|0,ae[0]=Ne},_doFinalize:function(){var B=this._data,N=B.words,K=this._nDataBytes*8,G=B.sigBytes*8;N[G>>>5]|=128<<24-G%32,N[(G+64>>>9<<4)+14]=(K<<8|K>>>24)&16711935|(K<<24|K>>>8)&4278255360,B.sigBytes=(N.length+1)*4,this._process();for(var H=this._hash,ae=H.words,ne=0;ne<5;ne++){var oe=ae[ne];ae[ne]=(oe<<8|oe>>>24)&16711935|(oe<<24|oe>>>8)&4278255360}return H},clone:function(){var B=o.clone.call(this);return B._hash=this._hash.clone(),B}});function S(B,N,K){return B^N^K}function k(B,N,K){return B&N|~B&K}function R(B,N,K){return(B|~N)^K}function A(B,N,K){return B&K|N&~K}function P(B,N,K){return B^(N|~K)}function M(B,N){return B<<N|B>>>32-N}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 P=(y<<5|y>>>27)+k+h[R];R<20?P+=(_&b|~_&S)+1518500249:R<40?P+=(_^b^S)+1859775393:R<60?P+=(_&b|_&S|b&S)-1894007588:P+=(_^b^S)-899497514,k=S,S=b,b=_<<30|_>>>2,_=y,y=P}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],P=b[4],M=b[5],B=b[6],N=b[7],K=0;K<64;K++){if(K<16)x[K]=y[_+K]|0;else{var G=x[K-15],H=(G<<25|G>>>7)^(G<<14|G>>>18)^G>>>3,ae=x[K-2],ne=(ae<<15|ae>>>17)^(ae<<13|ae>>>19)^ae>>>10;x[K]=H+x[K-7]+ne+x[K-16]}var oe=P&M^~P&B,q=S&k^S&R^k&R,J=(S<<30|S>>>2)^(S<<19|S>>>13)^(S<<10|S>>>22),V=(P<<26|P>>>6)^(P<<21|P>>>11)^(P<<7|P>>>25),se=N+V+oe+a[K]+x[K],ee=J+q;N=B,B=M,M=P,P=A+se|0,A=R,R=k,k=S,S=se+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]+P|0,b[5]=b[5]+M|0,b[6]=b[6]+B|0,b[7]=b[7]+N|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,P=(2*S+3*k)%5;S=A,k=P}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 N=0,K=0,G=0;G<7;G++){if(M&1){var H=(1<<G)-1;H<32?K^=1<<H:N^=1<<H-32}M&128?M=M<<1^113:M<<=1}y[B]=u.create(N,K)}})();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,P=0;P<A;P++){var M=S[k+2*P],B=S[k+2*P+1];M=(M<<8|M>>>24)&16711935|(M<<24|M>>>8)&4278255360,B=(B<<8|B>>>24)&16711935|(B<<24|B>>>8)&4278255360;var N=R[P];N.high^=B,N.low^=M}for(var K=0;K<24;K++){for(var G=0;G<5;G++){for(var H=0,ae=0,ne=0;ne<5;ne++){var N=R[G+5*ne];H^=N.high,ae^=N.low}var oe=_[G];oe.high=H,oe.low=ae}for(var G=0;G<5;G++)for(var q=_[(G+4)%5],J=_[(G+1)%5],V=J.high,se=J.low,H=q.high^(V<<1|se>>>31),ae=q.low^(se<<1|V>>>31),ne=0;ne<5;ne++){var N=R[G+5*ne];N.high^=H,N.low^=ae}for(var ee=1;ee<25;ee++){var H,ae,N=R[ee],Q=N.high,ue=N.low,U=x[ee];U<32?(H=Q<<U|ue>>>32-U,ae=ue<<U|Q>>>32-U):(H=ue<<U-32|Q>>>64-U,ae=Q<<U-32|ue>>>64-U);var $=_[p[ee]];$.high=H,$.low=ae}var ie=_[0],_e=R[0];ie.high=_e.high,ie.low=_e.low;for(var G=0;G<5;G++)for(var ne=0;ne<5;ne++){var ee=G+5*ne,N=R[ee],Pe=_[ee],De=_[(G+1)%5+5*ne],He=_[(G+2)%5+5*ne];N.high=Pe.high^~De.high&He.high,N.low=Pe.low^~De.low&He.low}var N=R[0],Ne=y[K];N.high^=Ne.high,N.low^=Ne.low}},_doFinalize:function(){var S=this._data,k=S.words,R=this._nDataBytes*8,A=S.sigBytes*8,P=this.blockSize*32;k[A>>>5]|=1<<24-A%32,k[(i.ceil((A+1)/P)*P>>>5)-1]|=128,S.sigBytes=k.length*4,this._process();for(var M=this._state,B=this.cfg.outputLength/8,N=B/8,K=[],G=0;G<N;G++){var H=M[G],ae=H.high,ne=H.low;ae=(ae<<8|ae>>>24)&16711935|(ae<<24|ae>>>8)&4278255360,ne=(ne<<8|ne>>>24)&16711935|(ne<<24|ne>>>8)&4278255360,K.push(ne),K.push(ae)}return new f.init(K,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],P=S[3],M=S[4],B=S[5],N=S[6],K=S[7],G=k.high,H=k.low,ae=R.high,ne=R.low,oe=A.high,q=A.low,J=P.high,V=P.low,se=M.high,ee=M.low,Q=B.high,ue=B.low,U=N.high,$=N.low,ie=K.high,_e=K.low,Pe=G,De=H,He=ae,Ne=ne,Ft=oe,gt=q,Dt=J,rr=V,Xt=se,fr=ee,Ge=Q,Tt=ue,zt=U,nt=$,bt=ie,dt=_e,et=0;et<80;et++){var ze,ge,Se=p[et];if(et<16)ge=Se.high=_[b+et*2]|0,ze=Se.low=_[b+et*2+1]|0;else{var Le=p[et-15],$e=Le.high,We=Le.low,rt=($e>>>1|We<<31)^($e>>>8|We<<24)^$e>>>7,ot=(We>>>1|$e<<31)^(We>>>8|$e<<24)^(We>>>7|$e<<25),Kt=p[et-2],Wt=Kt.high,Ce=Kt.low,Je=(Wt>>>19|Ce<<13)^(Wt<<3|Ce>>>29)^Wt>>>6,Yt=(Ce>>>19|Wt<<13)^(Ce<<3|Wt>>>29)^(Ce>>>6|Wt<<26),kt=p[et-7],Ht=kt.high,$t=kt.low,tr=p[et-16],Gt=tr.high,Me=tr.low;ze=ot+$t,ge=rt+Ht+(ze>>>0<ot>>>0?1:0),ze=ze+Yt,ge=ge+Je+(ze>>>0<Yt>>>0?1:0),ze=ze+Me,ge=ge+Gt+(ze>>>0<Me>>>0?1:0),Se.high=ge,Se.low=ze}var ce=Xt&Ge^~Xt&zt,he=fr&Tt^~fr&nt,Pt=Pe&He^Pe&Ft^He&Ft,Te=De&Ne^De>^Ne>,ct=(Pe>>>28|De<<4)^(Pe<<30|De>>>2)^(Pe<<25|De>>>7),Zt=(De>>>28|Pe<<4)^(De<<30|Pe>>>2)^(De<<25|Pe>>>7),wt=(Xt>>>14|fr<<18)^(Xt>>>18|fr<<14)^(Xt<<23|fr>>>9),Ie=(fr>>>14|Xt<<18)^(fr>>>18|Xt<<14)^(fr<<23|Xt>>>9),xt=x[et],be=xt.high,Ye=xt.low,mt=dt+Ie,Lt=bt+wt+(mt>>>0<dt>>>0?1:0),mt=mt+he,Lt=Lt+ce+(mt>>>0<he>>>0?1:0),mt=mt+Ye,Lt=Lt+be+(mt>>>0<Ye>>>0?1:0),mt=mt+ze,Lt=Lt+ge+(mt>>>0<ze>>>0?1:0),Fe=Zt+Te,Or=ct+Pt+(Fe>>>0<Zt>>>0?1:0);bt=zt,dt=nt,zt=Ge,nt=Tt,Ge=Xt,Tt=fr,fr=rr+mt|0,Xt=Dt+Lt+(fr>>>0<rr>>>0?1:0)|0,Dt=Ft,rr=gt,Ft=He,gt=Ne,He=Pe,Ne=De,De=mt+Fe|0,Pe=Lt+Or+(De>>>0<mt>>>0?1:0)|0}H=k.low=H+De,k.high=G+Pe+(H>>>0<De>>>0?1:0),ne=R.low=ne+Ne,R.high=ae+He+(ne>>>0<Ne>>>0?1:0),q=A.low=q+gt,A.high=oe+Ft+(q>>>0<gt>>>0?1:0),V=P.low=V+rr,P.high=J+Dt+(V>>>0<rr>>>0?1:0),ee=M.low=ee+fr,M.high=se+Xt+(ee>>>0<fr>>>0?1:0),ue=B.low=ue+Tt,B.high=Q+Ge+(ue>>>0<Tt>>>0?1:0),$=N.low=$+nt,N.high=U+zt+($>>>0<nt>>>0?1:0),_e=K.low=_e+dt,K.high=ie+bt+(_e>>>0<dt>>>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=[],P=0;P<56;P++){var M=h[P]-1;A[P]=R[M>>>5]>>>31-M%32&1}for(var B=this._subKeys=[],N=0;N<16;N++){for(var K=B[N]=[],G=a[N],P=0;P<24;P++)K[P/6|0]|=A[(u[P]-1+G)%28]<<31-P%6,K[4+(P/6|0)]|=A[28+(u[P+24]-1+G)%28]<<31-P%6;K[0]=K[0]<<1|K[0]>>>31;for(var P=1;P<7;P++)K[P]=K[P]>>>(P-1)*4+3;K[7]=K[7]<<5|K[7]>>>27}for(var H=this._invSubKeys=[],P=0;P<16;P++)H[P]=B[15-P]},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 P=0;P<16;P++){for(var M=A[P],B=this._lBlock,N=this._rBlock,K=0,G=0;G<8;G++)K|=x[G][((N^M[G])&p[G])>>>0];this._lBlock=N,this._rBlock=B^K}var H=this._lBlock;this._lBlock=this._rBlock,this._rBlock=H,_.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),P=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(P)),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(ne){var oe=["th","st","nd","rd"],q=ne%100;return"["+ne+(oe[(q-20)%10]||oe[q]||oe[0])+"]"}},k=function(ne,oe,q){var J=String(ne);return!J||J.length>=oe?ne:""+Array(oe+1-J.length).join(q)+ne},R={s:k,z:function(ne){var oe=-ne.utcOffset(),q=Math.abs(oe),J=Math.floor(q/60),V=q%60;return(oe<=0?"+":"-")+k(J,2,"0")+":"+k(V,2,"0")},m:function ne(oe,q){if(oe.date()<q.date())return-ne(q,oe);var J=12*(q.year()-oe.year())+(q.month()-oe.month()),V=oe.clone().add(J,u),se=q-V<0,ee=oe.clone().add(J+(se?-1:1),u);return+(-(J+(q-V)/(se?V-ee:ee-V))||0)},a:function(ne){return ne<0?Math.ceil(ne)||0:Math.floor(ne)},p:function(ne){return{M:u,y:x,w:h,d:o,D:p,h:f,m:c,s:l,ms:i,Q:a}[ne]||String(ne||"").toLowerCase().replace(/s$/,"")},u:function(ne){return ne===void 0}},A="en",P={};P[A]=S;var M="$isDayjsObject",B=function(ne){return ne instanceof H||!(!ne||!ne[M])},N=function ne(oe,q,J){var V;if(!oe)return A;if(typeof oe=="string"){var se=oe.toLowerCase();P[se]&&(V=se),q&&(P[se]=q,V=se);var ee=oe.split("-");if(!V&&ee.length>1)return ne(ee[0])}else{var Q=oe.name;P[Q]=oe,V=Q}return!J&&V&&(A=V),V||!J&&A},K=function(ne,oe){if(B(ne))return ne.clone();var q=typeof oe=="object"?oe:{};return q.date=ne,q.args=arguments,new H(q)},G=R;G.l=N,G.i=B,G.w=function(ne,oe){return K(ne,{locale:oe.$L,utc:oe.$u,x:oe.$x,$offset:oe.$offset})};var H=function(){function ne(q){this.$L=N(q.locale,null,!0),this.parse(q),this.$x=this.$x||q.x||{},this[M]=!0}var oe=ne.prototype;return oe.parse=function(q){this.$d=function(J){var V=J.date,se=J.utc;if(V===null)return new Date(NaN);if(G.u(V))return new Date;if(V instanceof Date)return new Date(V);if(typeof V=="string"&&!/Z$/i.test(V)){var ee=V.match(_);if(ee){var Q=ee[2]-1||0,ue=(ee[7]||"0").substring(0,3);return se?new Date(Date.UTC(ee[1],Q,ee[3]||1,ee[4]||0,ee[5]||0,ee[6]||0,ue)):new Date(ee[1],Q,ee[3]||1,ee[4]||0,ee[5]||0,ee[6]||0,ue)}}return new Date(V)}(q),this.init()},oe.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()},oe.$utils=function(){return G},oe.isValid=function(){return this.$d.toString()!==y},oe.isSame=function(q,J){var V=K(q);return this.startOf(J)<=V&&V<=this.endOf(J)},oe.isAfter=function(q,J){return K(q)<this.startOf(J)},oe.isBefore=function(q,J){return this.endOf(J)<K(q)},oe.$g=function(q,J,V){return G.u(q)?this[J]:this.set(V,q)},oe.unix=function(){return Math.floor(this.valueOf()/1e3)},oe.valueOf=function(){return this.$d.getTime()},oe.startOf=function(q,J){var V=this,se=!!G.u(J)||J,ee=G.p(q),Q=function(He,Ne){var Ft=G.w(V.$u?Date.UTC(V.$y,Ne,He):new Date(V.$y,Ne,He),V);return se?Ft:Ft.endOf(o)},ue=function(He,Ne){return G.w(V.toDate()[He].apply(V.toDate("s"),(se?[0,0,0,0]:[23,59,59,999]).slice(Ne)),V)},U=this.$W,$=this.$M,ie=this.$D,_e="set"+(this.$u?"UTC":"");switch(ee){case x:return se?Q(1,0):Q(31,11);case u:return se?Q(1,$):Q(0,$+1);case h:var Pe=this.$locale().weekStart||0,De=(U<Pe?U+7:U)-Pe;return Q(se?ie-De:ie+(6-De),$);case o:case p:return ue(_e+"Hours",0);case f:return ue(_e+"Minutes",1);case c:return ue(_e+"Seconds",2);case l:return ue(_e+"Milliseconds",3);default:return this.clone()}},oe.endOf=function(q){return this.startOf(q,!1)},oe.$set=function(q,J){var V,se=G.p(q),ee="set"+(this.$u?"UTC":""),Q=(V={},V[o]=ee+"Date",V[p]=ee+"Date",V[u]=ee+"Month",V[x]=ee+"FullYear",V[f]=ee+"Hours",V[c]=ee+"Minutes",V[l]=ee+"Seconds",V[i]=ee+"Milliseconds",V)[se],ue=se===o?this.$D+(J-this.$W):J;if(se===u||se===x){var U=this.clone().set(p,1);U.$d[Q](ue),U.init(),this.$d=U.set(p,Math.min(this.$D,U.daysInMonth())).$d}else Q&&this.$d[Q](ue);return this.init(),this},oe.set=function(q,J){return this.clone().$set(q,J)},oe.get=function(q){return this[G.p(q)]()},oe.add=function(q,J){var V,se=this;q=Number(q);var ee=G.p(J),Q=function($){var ie=K(se);return G.w(ie.date(ie.date()+Math.round($*q)),se)};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 ue=(V={},V[c]=e,V[f]=r,V[l]=v,V)[ee]||1,U=this.$d.getTime()+q*ue;return G.w(U,this)},oe.subtract=function(q,J){return this.add(-1*q,J)},oe.format=function(q){var J=this,V=this.$locale();if(!this.isValid())return V.invalidDate||y;var se=q||"YYYY-MM-DDTHH:mm:ssZ",ee=G.z(this),Q=this.$H,ue=this.$m,U=this.$M,$=V.weekdays,ie=V.months,_e=V.meridiem,Pe=function(Ne,Ft,gt,Dt){return Ne&&(Ne[Ft]||Ne(J,se))||gt[Ft].slice(0,Dt)},De=function(Ne){return G.s(Q%12||12,Ne,"0")},He=_e||function(Ne,Ft,gt){var Dt=Ne<12?"AM":"PM";return gt?Dt.toLowerCase():Dt};return se.replace(b,function(Ne,Ft){return Ft||function(gt){switch(gt){case"YY":return String(J.$y).slice(-2);case"YYYY":return G.s(J.$y,4,"0");case"M":return U+1;case"MM":return G.s(U+1,2,"0");case"MMM":return Pe(V.monthsShort,U,ie,3);case"MMMM":return Pe(ie,U);case"D":return J.$D;case"DD":return G.s(J.$D,2,"0");case"d":return String(J.$W);case"dd":return Pe(V.weekdaysMin,J.$W,$,2);case"ddd":return Pe(V.weekdaysShort,J.$W,$,3);case"dddd":return $[J.$W];case"H":return String(Q);case"HH":return G.s(Q,2,"0");case"h":return De(1);case"hh":return De(2);case"a":return He(Q,ue,!0);case"A":return He(Q,ue,!1);case"m":return String(ue);case"mm":return G.s(ue,2,"0");case"s":return String(J.$s);case"ss":return G.s(J.$s,2,"0");case"SSS":return G.s(J.$ms,3,"0");case"Z":return ee}return null}(Ne)||ee.replace(":","")})},oe.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},oe.diff=function(q,J,V){var se,ee=this,Q=G.p(J),ue=K(q),U=(ue.utcOffset()-this.utcOffset())*e,$=this-ue,ie=function(){return G.m(ee,ue)};switch(Q){case x:se=ie()/12;break;case u:se=ie();break;case a:se=ie()/3;break;case h:se=($-U)/6048e5;break;case o:se=($-U)/864e5;break;case f:se=$/r;break;case c:se=$/e;break;case l:se=$/v;break;default:se=$}return V?se:G.a(se)},oe.daysInMonth=function(){return this.endOf(u).$D},oe.$locale=function(){return P[this.$L]},oe.locale=function(q,J){if(!q)return this.$L;var V=this.clone(),se=N(q,J,!0);return se&&(V.$L=se),V},oe.clone=function(){return G.w(this.$d,this)},oe.toDate=function(){return new Date(this.valueOf())},oe.toJSON=function(){return this.isValid()?this.toISOString():null},oe.toISOString=function(){return this.$d.toISOString()},oe.toString=function(){return this.$d.toUTCString()},ne}(),ae=H.prototype;return K.prototype=ae,[["$ms",i],["$s",l],["$m",c],["$H",f],["$W",o],["$M",u],["$y",x],["$D",p]].forEach(function(ne){ae[ne[1]]=function(oe){return this.$g(oe,ne[0],ne[1])}}),K.extend=function(ne,oe){return ne.$i||(ne(oe,H,K),ne.$i=!0),K},K.locale=N,K.isDayjs=B,K.unix=function(ne){return K(1e3*ne)},K.en=P[A],K.Ls=P,K.p={},K})},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(K,G,H){var ae=H&&H.toUpperCase();return G||S[H]||v[H]||S[ae].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(ne,oe,q){return oe||q.slice(1)})})).match(e),R=k.length,A=0;A<R;A+=1){var P=k[A],M=p[P],B=M&&M[0],N=M&&M[1];k[A]=N?{regex:B,parser:N}:P.replace(/^\[|\]$/g,"")}return function(K){for(var G={},H=0,ae=0;H<R;H+=1){var ne=k[H];if(typeof ne=="string")ae+=ne.length;else{var oe=ne.regex,q=ne.parser,J=K.slice(ae),V=oe.exec(J)[0];q.call(G,V),K=K.replace(V,"")}}return function(se){var ee=se.afternoon;if(ee!==void 0){var Q=se.hours;ee?Q<12&&(se.hours+=12):Q===12&&(se.hours=0),delete se.afternoon}}(G),G}}return function(_,b,S){S.p.customParseFormat=!0,_&&_.parseTwoDigitYear&&(o=_.parseTwoDigitYear);var k=b.prototype,R=k.parse;k.parse=function(A){var P=A.date,M=A.utc,B=A.args;this.$u=M;var N=B[1];if(typeof N=="string"){var K=B[2]===!0,G=B[3]===!0,H=K||G,ae=B[2];G&&(ae=B[2]),f=this.$locale(),!K&&ae&&(f=S.Ls[ae]),this.$d=function(J,V,se,ee){try{if(["x","X"].indexOf(V)>-1)return new Date((V==="X"?1e3:1)*J);var Q=y(V)(J),ue=Q.year,U=Q.month,$=Q.day,ie=Q.hours,_e=Q.minutes,Pe=Q.seconds,De=Q.milliseconds,He=Q.zone,Ne=Q.week,Ft=new Date,gt=$||(ue||U?1:Ft.getDate()),Dt=ue||Ft.getFullYear(),rr=0;ue&&!U||(rr=U>0?U-1:Ft.getMonth());var Xt,fr=ie||0,Ge=_e||0,Tt=Pe||0,zt=De||0;return He?new Date(Date.UTC(Dt,rr,gt,fr,Ge,Tt,zt+60*He.offset*1e3)):se?new Date(Date.UTC(Dt,rr,gt,fr,Ge,Tt,zt)):(Xt=new Date(Dt,rr,gt,fr,Ge,Tt,zt),Ne&&(Xt=ee(Xt).week(Ne).toDate()),Xt)}catch(nt){return new Date("")}}(P,N,M,S),this.init(),ae&&ae!==!0&&(this.$L=this.locale(ae).$L),H&&P!=this.format(N)&&(this.$d=new Date("")),f={}}else if(N instanceof Array)for(var ne=N.length,oe=1;oe<=ne;oe+=1){B[1]=N[oe-1];var q=S.apply(this,B);if(q.isValid()){this.$d=q.$d,this.$L=q.$L,this.init();break}oe===ne&&(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(P){return P instanceof R},p=function(P,M,B){return new R(P,B,M.$l)},y=function(P){return e.p(P)+"s"},_=function(P){return P<0},b=function(P){return _(P)?Math.ceil(P):Math.floor(P)},S=function(P){return Math.abs(P)},k=function(P,M){return P?_(P)?{negative:!0,format:""+S(P)+M}:{negative:!1,format:""+P+M}:{negative:!1,format:""}},R=function(){function P(B,N,K){var G=this;if(this.$d={},this.$l=K,B===void 0&&(this.$ms=0,this.parseFromMilliseconds()),N)return p(B*a[y(N)],this);if(typeof B=="number")return this.$ms=B,this.parseFromMilliseconds(),this;if(typeof B=="object")return Object.keys(B).forEach(function(ne){G.$d[y(ne)]=B[ne]}),this.calMilliseconds(),this;if(typeof B=="string"){var H=B.match(u);if(H){var ae=H.slice(2).map(function(ne){return ne!=null?Number(ne):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=P.prototype;return M.calMilliseconds=function(){var B=this;this.$ms=Object.keys(this.$d).reduce(function(N,K){return N+(B.$d[K]||0)*a[K]},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"),N=k(this.$d.months,"M"),K=+this.$d.days||0;this.$d.weeks&&(K+=7*this.$d.weeks);var G=k(K,"D"),H=k(this.$d.hours,"H"),ae=k(this.$d.minutes,"M"),ne=this.$d.seconds||0;this.$d.milliseconds&&(ne+=this.$d.milliseconds/1e3,ne=Math.round(1e3*ne)/1e3);var oe=k(ne,"S"),q=B.negative||N.negative||G.negative||H.negative||ae.negative||oe.negative,J=H.format||ae.format||oe.format?"T":"",V=(q?"-":"")+"P"+B.format+N.format+G.format+J+H.format+ae.format+oe.format;return V==="P"||V==="-P"?"P0D":V},M.toJSON=function(){return this.toISOString()},M.format=function(B){var N=B||"YYYY-MM-DDTHH:mm:ss",K={Y:this.$d.years,YY:e.s(this.$d.years,2,"0"),YYYY:e.s(this.$d.years,4,"0"),M:this.$d.months,MM:e.s(this.$d.months,2,"0"),D:this.$d.days,DD:e.s(this.$d.days,2,"0"),H:this.$d.hours,HH:e.s(this.$d.hours,2,"0"),m:this.$d.minutes,mm:e.s(this.$d.minutes,2,"0"),s:this.$d.seconds,ss:e.s(this.$d.seconds,2,"0"),SSS:e.s(this.$d.milliseconds,3,"0")};return N.replace(f,function(G,H){return H||String(K[G])})},M.as=function(B){return this.$ms/a[y(B)]},M.get=function(B){var N=this.$ms,K=y(B);return K==="milliseconds"?N%=1e3:N=K==="weeks"?b(N/a[K]):this.$d[K],N||0},M.add=function(B,N,K){var G;return G=N?B*a[y(N)]:x(B)?B.$ms:p(B,this).$ms,p(this.$ms+G*(K?-1:1),this)},M.subtract=function(B,N){return this.add(B,N,!0)},M.locale=function(B){var N=this.clone();return N.$l=B,N},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")},P}(),A=function(P,M,B){return P.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(P,M,B){v=B,e=B().$utils(),B.duration=function(G,H){var ae=B.locale();return p(G,{$l:ae},H)},B.isDuration=x;var N=M.prototype.add,K=M.prototype.subtract;M.prototype.add=function(G,H){return x(G)?A(this,G,1):N.bind(this)(G,H)},M.prototype.subtract=function(G,H){return x(G)?A(this,G,-1):K.bind(this)(G,H)}}})},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,P){return k[(P+(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 P=(v.rounding||Math.round)(Math.abs(p));if(_=p>0,P<=A.r||!A.r){P<=1&&R>0&&(A=S[R-1]);var M=b[A.l];x&&(P=x(""+P)),y=typeof M=="string"?M.replace("%d",P):M(P,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,P=A||{},M=P.namespace,B=P.actionType,N;switch(R){case i:N=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 K=r(r({},S.effects),{},v({},B,!1)),G=r(r({},S.models),{},v({},M,Object.keys(K).some(function(ae){var ne=ae.split("/")[0];return ne!==M?!1:K[ae]}))),H=Object.keys(G).some(function(ae){return G[ae]});N=r(r({},S),{},{global:H,models:G,effects:K});break}default:N=S;break}return N});function b(S,k,R,A){var P=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 N=arguments;return regeneratorRuntime.wrap(function(G){for(;;)switch(G.prev=G.next){case 0:return G.next=2,P({type:i,payload:{namespace:M,actionType:A}});case 2:return G.next=4,S.apply(void 0,N);case 4:return G.next=6,P({type:l,payload:{namespace:M,actionType:A}});case 6:case"end":return G.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 P;return i(A),u.call(this,"__ee__")?P=this.__ee__:(P=a.value=f(null),o(this,"__ee__",a),a.value=null),P[R]?typeof P[R]=="object"?P[R].push(A):P[R]=[P[R],A]:P[R]=A,this},p=function(R,A){var P,M;return i(A),M=this,x.call(this,R,P=function(){y.call(M,R,P),l.call(A,this,arguments)}),P.__eeOnceListener__=A,this},y=function(R,A){var P,M,B,N;if(i(A),!u.call(this,"__ee__"))return this;if(P=this.__ee__,!P[R])return this;if(M=P[R],typeof M=="object")for(N=0;B=M[N];++N)(B===A||B.__eeOnceListener__===A)&&(M.length===2?P[R]=M[N?0:1]:M.splice(N,1));else(M===A||M.__eeOnceListener__===A)&&delete P[R];return this},_=function(R){var A,P,M,B,N;if(u.call(this,"__ee__")&&(B=this.__ee__[R],!!B))if(typeof B=="object"){for(P=arguments.length,N=new Array(P-1),A=1;A<P;++A)N[A-1]=arguments[A];for(B=B.slice(),A=0;M=B[A];++A)l.call(M,this,N)}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(P=arguments.length,N=new Array(P-1),A=1;A<P;++A)N[A-1]=arguments[A];l.call(B,this,N)}},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 P=this.h[0],M=this.h[1],B=this.h[2],N=this.h[3],K=this.h[4],G=P,H=M,ae=B,ne=N,oe=K,q=0;q<80;q++){var J=c(l(o(P,a(q,M,B,N),R[y[q]+A],x(q)),b[q]),K);P=K,K=N,N=l(B,10),B=M,M=J,J=c(l(o(G,a(79-q,H,ae,ne),R[_[q]+A],p(q)),S[q]),oe),G=oe,oe=ne,ne=l(ae,10),ae=H,H=J}J=f(this.h[1],B,ne),this.h[1]=f(this.h[2],N,oe),this.h[2]=f(this.h[3],K,G),this.h[3]=f(this.h[4],P,H),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,P){return k<=15?R^A^P:k<=31?R&A|~R&P:k<=47?(R|~A)^P:k<=63?R&P|A&~P:R^(A|~P)}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],P=this.h[3],M=this.h[4];for(S=0;S<b.length;S++){var B=~~(S/20),N=o(c(k,5),h(B,R,A,P),M,b[S],a[B]);M=P,P=A,A=c(R,30),R=k,k=N}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],P),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,P){for(var M=this.W,B=0;B<16;B++)M[B]=A[P+B];for(;B<M.length;B++)M[B]=o(_(M[B-2]),M[B-7],y(M[B-15]),M[B-16]);var N=this.h[0],K=this.h[1],G=this.h[2],H=this.h[3],ae=this.h[4],ne=this.h[5],oe=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,ne,oe),this.k[B],M[B]),V=f(x(N),a(N,K,G));q=oe,oe=ne,ne=ae,ae=f(H,J),H=G,G=K,K=N,N=f(J,V)}this.h[0]=f(this.h[0],N),this.h[1]=f(this.h[1],K),this.h[2]=f(this.h[2],G),this.h[3]=f(this.h[3],H),this.h[4]=f(this.h[4],ae),this.h[5]=f(this.h[5],ne),this.h[6]=f(this.h[6],oe),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(V,se){for(var ee=this.W,Q=0;Q<32;Q++)ee[Q]=V[se+Q];for(;Q<ee.length;Q+=2){var ue=oe(ee[Q-4],ee[Q-3]),U=q(ee[Q-4],ee[Q-3]),$=ee[Q-14],ie=ee[Q-13],_e=ae(ee[Q-30],ee[Q-29]),Pe=ne(ee[Q-30],ee[Q-29]),De=ee[Q-32],He=ee[Q-31];ee[Q]=p(ue,U,$,ie,_e,Pe,De,He),ee[Q+1]=y(ue,U,$,ie,_e,Pe,De,He)}},R.prototype._update=function(V,se){this._prepareBlock(V,se);var ee=this.W,Q=this.h[0],ue=this.h[1],U=this.h[2],$=this.h[3],ie=this.h[4],_e=this.h[5],Pe=this.h[6],De=this.h[7],He=this.h[8],Ne=this.h[9],Ft=this.h[10],gt=this.h[11],Dt=this.h[12],rr=this.h[13],Xt=this.h[14],fr=this.h[15];l(this.k.length===ee.length);for(var Ge=0;Ge<ee.length;Ge+=2){var Tt=Xt,zt=fr,nt=G(He,Ne),bt=H(He,Ne),dt=A(He,Ne,Ft,gt,Dt,rr),et=P(He,Ne,Ft,gt,Dt,rr),ze=this.k[Ge],ge=this.k[Ge+1],Se=ee[Ge],Le=ee[Ge+1],$e=_(Tt,zt,nt,bt,dt,et,ze,ge,Se,Le),We=b(Tt,zt,nt,bt,dt,et,ze,ge,Se,Le);Tt=N(Q,ue),zt=K(Q,ue),nt=M(Q,ue,U,$,ie,_e),bt=B(Q,ue,U,$,ie,_e);var rt=a(Tt,zt,nt,bt),ot=x(Tt,zt,nt,bt);Xt=Dt,fr=rr,Dt=Ft,rr=gt,Ft=He,gt=Ne,He=a(Pe,De,$e,We),Ne=x(De,De,$e,We),Pe=ie,De=_e,ie=U,_e=$,U=Q,$=ue,Q=a($e,We,rt,ot),ue=x($e,We,rt,ot)}u(this.h,0,Q,ue),u(this.h,2,U,$),u(this.h,4,ie,_e),u(this.h,6,Pe,De),u(this.h,8,He,Ne),u(this.h,10,Ft,gt),u(this.h,12,Dt,rr),u(this.h,14,Xt,fr)},R.prototype._digest=function(V){return V==="hex"?r.toHex32(this.h,"big"):r.split32(this.h,"big")};function A(J,V,se,ee,Q){var ue=J&se^~J&Q;return ue<0&&(ue+=4294967296),ue}function P(J,V,se,ee,Q,ue){var U=V&ee^~V&ue;return U<0&&(U+=4294967296),U}function M(J,V,se,ee,Q){var ue=J&se^J&Q^se&Q;return ue<0&&(ue+=4294967296),ue}function B(J,V,se,ee,Q,ue){var U=V&ee^V&ue^ee&ue;return U<0&&(U+=4294967296),U}function N(J,V){var se=c(J,V,28),ee=c(V,J,2),Q=c(V,J,7),ue=se^ee^Q;return ue<0&&(ue+=4294967296),ue}function K(J,V){var se=f(J,V,28),ee=f(V,J,2),Q=f(V,J,7),ue=se^ee^Q;return ue<0&&(ue+=4294967296),ue}function G(J,V){var se=c(J,V,14),ee=c(J,V,18),Q=c(V,J,9),ue=se^ee^Q;return ue<0&&(ue+=4294967296),ue}function H(J,V){var se=f(J,V,14),ee=f(J,V,18),Q=f(V,J,9),ue=se^ee^Q;return ue<0&&(ue+=4294967296),ue}function ae(J,V){var se=c(J,V,1),ee=c(J,V,8),Q=o(J,V,7),ue=se^ee^Q;return ue<0&&(ue+=4294967296),ue}function ne(J,V){var se=f(J,V,1),ee=f(J,V,8),Q=h(J,V,7),ue=se^ee^Q;return ue<0&&(ue+=4294967296),ue}function oe(J,V){var se=c(J,V,19),ee=c(V,J,29),Q=o(J,V,6),ue=se^ee^Q;return ue<0&&(ue+=4294967296),ue}function q(J,V){var se=f(J,V,19),ee=f(V,J,29),Q=h(J,V,6),ue=se^ee^Q;return ue<0&&(ue+=4294967296),ue}},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 V=[];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)V.push(parseInt(q[ee]+q[ee+1],16))}else for(var se=0,ee=0;ee<q.length;ee++){var Q=q.charCodeAt(ee);Q<128?V[se++]=Q:Q<2048?(V[se++]=Q>>6|192,V[se++]=Q&63|128):l(q,ee)?(Q=65536+((Q&1023)<<10)+(q.charCodeAt(++ee)&1023),V[se++]=Q>>18|240,V[se++]=Q>>12&63|128,V[se++]=Q>>6&63|128,V[se++]=Q&63|128):(V[se++]=Q>>12|224,V[se++]=Q>>6&63|128,V[se++]=Q&63|128)}else for(ee=0;ee<q.length;ee++)V[ee]=q[ee]|0;return V}v.toArray=c;function f(q){for(var J="",V=0;V<q.length;V++)J+=u(q[V].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 V="",se=0;se<q.length;se++){var ee=q[se];J==="little"&&(ee=o(ee)),V+=a(ee.toString(16))}return V}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,V,se){var ee=V-J;r(ee%4===0);for(var Q=new Array(ee/4),ue=0,U=J;ue<Q.length;ue++,U+=4){var $;se==="big"?$=q[U]<<24|q[U+1]<<16|q[U+2]<<8|q[U+3]:$=q[U+3]<<24|q[U+2]<<16|q[U+1]<<8|q[U],Q[ue]=$>>>0}return Q}v.join32=x;function p(q,J){for(var V=new Array(q.length*4),se=0,ee=0;se<q.length;se++,ee+=4){var Q=q[se];J==="big"?(V[ee]=Q>>>24,V[ee+1]=Q>>>16&255,V[ee+2]=Q>>>8&255,V[ee+3]=Q&255):(V[ee+3]=Q>>>24,V[ee+2]=Q>>>16&255,V[ee+1]=Q>>>8&255,V[ee]=Q&255)}return V}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,V){return q+J+V>>>0}v.sum32_3=S;function k(q,J,V,se){return q+J+V+se>>>0}v.sum32_4=k;function R(q,J,V,se,ee){return q+J+V+se+ee>>>0}v.sum32_5=R;function A(q,J,V,se){var ee=q[J],Q=q[J+1],ue=se+Q>>>0,U=(ue<se?1:0)+V+ee;q[J]=U>>>0,q[J+1]=ue}v.sum64=A;function P(q,J,V,se){var ee=J+se>>>0,Q=(ee<J?1:0)+q+V;return Q>>>0}v.sum64_hi=P;function M(q,J,V,se){var ee=J+se;return ee>>>0}v.sum64_lo=M;function B(q,J,V,se,ee,Q,ue,U){var $=0,ie=J;ie=ie+se>>>0,$+=ie<J?1:0,ie=ie+Q>>>0,$+=ie<Q?1:0,ie=ie+U>>>0,$+=ie<U?1:0;var _e=q+V+ee+ue+$;return _e>>>0}v.sum64_4_hi=B;function N(q,J,V,se,ee,Q,ue,U){var $=J+se+Q+U;return $>>>0}v.sum64_4_lo=N;function K(q,J,V,se,ee,Q,ue,U,$,ie){var _e=0,Pe=J;Pe=Pe+se>>>0,_e+=Pe<J?1:0,Pe=Pe+Q>>>0,_e+=Pe<Q?1:0,Pe=Pe+U>>>0,_e+=Pe<U?1:0,Pe=Pe+ie>>>0,_e+=Pe<ie?1:0;var De=q+V+ee+ue+$+_e;return De>>>0}v.sum64_5_hi=K;function G(q,J,V,se,ee,Q,ue,U,$,ie){var _e=J+se+Q+U+ie;return _e>>>0}v.sum64_5_lo=G;function H(q,J,V){var se=J<<32-V|q>>>V;return se>>>0}v.rotr64_hi=H;function ae(q,J,V){var se=q<<32-V|J>>>V;return se>>>0}v.rotr64_lo=ae;function ne(q,J,V){return q>>>V}v.shr64_hi=ne;function oe(q,J,V){var se=q<<32-V|J>>>V;return se>>>0}v.shr64_lo=oe},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(67711),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(P){}}}var f="beforeunload",o="hashchange",h="popstate";function u(R){R===void 0&&(R={});var A=R,P=A.window,M=P===void 0?document.defaultView:P,B=M.history;function N(){var Pe=M.location,De=Pe.pathname,He=Pe.search,Ne=Pe.hash,Ft=B.state||{};return[Ft.idx,l({pathname:De,search:He,hash:Ne,state:Ft.usr||null,key:Ft.key||"default"})]}var K=null;function G(){if(K)J.call(K),K=null;else{var Pe=i.Pop,De=N(),He=De[0],Ne=De[1];if(J.length){if(He!=null){var Ft=ne-He;Ft&&(K={action:Pe,location:Ne,retry:function(){ie(Ft*-1)}},ie(Ft))}}else ue(Pe)}}M.addEventListener(h,G);var H=i.Pop,ae=N(),ne=ae[0],oe=ae[1],q=_(),J=_();ne==null&&(ne=0,B.replaceState((0,r.Z)({},B.state,{idx:ne}),""));function V(Pe){return typeof Pe=="string"?Pe:S(Pe)}function se(Pe,De){return De===void 0&&(De=null),l((0,r.Z)({pathname:oe.pathname,hash:"",search:""},typeof Pe=="string"?k(Pe):Pe,{state:De,key:b()}))}function ee(Pe,De){return[{usr:Pe.state,key:Pe.key,idx:De},V(Pe)]}function Q(Pe,De,He){return!J.length||(J.call({action:Pe,location:De,retry:He}),!1)}function ue(Pe){H=Pe;var De=N();ne=De[0],oe=De[1],q.call({action:H,location:oe})}function U(Pe,De){var He=i.Push,Ne=se(Pe,De);function Ft(){U(Pe,De)}if(Q(He,Ne,Ft)){var gt=ee(Ne,ne+1),Dt=gt[0],rr=gt[1];try{B.pushState(Dt,"",rr)}catch(Xt){M.location.assign(rr)}ue(He)}}function $(Pe,De){var He=i.Replace,Ne=se(Pe,De);function Ft(){$(Pe,De)}if(Q(He,Ne,Ft)){var gt=ee(Ne,ne),Dt=gt[0],rr=gt[1];B.replaceState(Dt,"",rr),ue(He)}}function ie(Pe){B.go(Pe)}var _e={get action(){return H},get location(){return oe},createHref:V,push:U,replace:$,go:ie,back:function(){ie(-1)},forward:function(){ie(1)},listen:function(De){return q.push(De)},block:function(De){var He=J.push(De);return J.length===1&&M.addEventListener(f,y),function(){He(),J.length||M.removeEventListener(f,y)}}};return _e}function a(R){R===void 0&&(R={});var A=R,P=A.window,M=P===void 0?document.defaultView:P,B=M.history;function N(){var De=k(M.location.hash.substr(1)),He=De.pathname,Ne=He===void 0?"/":He,Ft=De.search,gt=Ft===void 0?"":Ft,Dt=De.hash,rr=Dt===void 0?"":Dt,Xt=B.state||{};return[Xt.idx,l({pathname:Ne,search:gt,hash:rr,state:Xt.usr||null,key:Xt.key||"default"})]}var K=null;function G(){if(K)J.call(K),K=null;else{var De=i.Pop,He=N(),Ne=He[0],Ft=He[1];if(J.length){if(Ne!=null){var gt=ne-Ne;gt&&(K={action:De,location:Ft,retry:function(){_e(gt*-1)}},_e(gt))}}else U(De)}}M.addEventListener(h,G),M.addEventListener(o,function(){var De=N(),He=De[1];S(He)!==S(oe)&&G()});var H=i.Pop,ae=N(),ne=ae[0],oe=ae[1],q=_(),J=_();ne==null&&(ne=0,B.replaceState((0,r.Z)({},B.state,{idx:ne}),""));function V(){var De=document.querySelector("base"),He="";if(De&&De.getAttribute("href")){var Ne=M.location.href,Ft=Ne.indexOf("#");He=Ft===-1?Ne:Ne.slice(0,Ft)}return He}function se(De){return V()+"#"+(typeof De=="string"?De:S(De))}function ee(De,He){return He===void 0&&(He=null),l((0,r.Z)({pathname:oe.pathname,hash:"",search:""},typeof De=="string"?k(De):De,{state:He,key:b()}))}function Q(De,He){return[{usr:De.state,key:De.key,idx:He},se(De)]}function ue(De,He,Ne){return!J.length||(J.call({action:De,location:He,retry:Ne}),!1)}function U(De){H=De;var He=N();ne=He[0],oe=He[1],q.call({action:H,location:oe})}function $(De,He){var Ne=i.Push,Ft=ee(De,He);function gt(){$(De,He)}if(ue(Ne,Ft,gt)){var Dt=Q(Ft,ne+1),rr=Dt[0],Xt=Dt[1];try{B.pushState(rr,"",Xt)}catch(fr){M.location.assign(Xt)}U(Ne)}}function ie(De,He){var Ne=i.Replace,Ft=ee(De,He);function gt(){ie(De,He)}if(ue(Ne,Ft,gt)){var Dt=Q(Ft,ne),rr=Dt[0],Xt=Dt[1];B.replaceState(rr,"",Xt),U(Ne)}}function _e(De){B.go(De)}var Pe={get action(){return H},get location(){return oe},createHref:se,push:$,replace:ie,go:_e,back:function(){_e(-1)},forward:function(){_e(1)},listen:function(He){return q.push(He)},block:function(He){var Ne=J.push(He);return J.length===1&&M.addEventListener(f,y),function(){Ne(),J.length||M.removeEventListener(f,y)}}};return Pe}function x(R){R===void 0&&(R={});var A=R,P=A.initialEntries,M=P===void 0?["/"]:P,B=A.initialIndex,N=M.map(function(U){var $=l((0,r.Z)({pathname:"/",search:"",hash:"",state:null,key:b()},typeof U=="string"?k(U):U));return $}),K=p(B==null?N.length-1:B,0,N.length-1),G=i.Pop,H=N[K],ae=_(),ne=_();function oe(U){return typeof U=="string"?U:S(U)}function q(U,$){return $===void 0&&($=null),l((0,r.Z)({pathname:H.pathname,search:"",hash:""},typeof U=="string"?k(U):U,{state:$,key:b()}))}function J(U,$,ie){return!ne.length||(ne.call({action:U,location:$,retry:ie}),!1)}function V(U,$){G=U,H=$,ae.call({action:G,location:H})}function se(U,$){var ie=i.Push,_e=q(U,$);function Pe(){se(U,$)}J(ie,_e,Pe)&&(K+=1,N.splice(K,N.length,_e),V(ie,_e))}function ee(U,$){var ie=i.Replace,_e=q(U,$);function Pe(){ee(U,$)}J(ie,_e,Pe)&&(N[K]=_e,V(ie,_e))}function Q(U){var $=p(K+U,0,N.length-1),ie=i.Pop,_e=N[$];function Pe(){Q(U)}J(ie,_e,Pe)&&(K=$,V(ie,_e))}var ue={get index(){return K},get action(){return G},get location(){return H},createHref:oe,push:se,replace:ee,go:Q,back:function(){Q(-1)},forward:function(){Q(1)},listen:function($){return ae.push($)},block:function($){return ne.push($)}};return ue}function p(R,A,P){return Math.min(Math.max(R,A),P)}function y(R){R.preventDefault(),R.returnValue=""}function _(){var R=[];return{get length(){return R.length},push:function(P){return R.push(P),function(){R=R.filter(function(M){return M!==P})}},call:function(P){R.forEach(function(M){return M&&M(P)})}}}function b(){return Math.random().toString(36).substr(2,8)}function S(R){var A=R.pathname,P=A===void 0?"/":A,M=R.search,B=M===void 0?"":M,N=R.hash,K=N===void 0?"":N;return B&&B!=="?"&&(P+=B.charAt(0)==="?"?B:"?"+B),K&&K!=="#"&&(P+=K.charAt(0)==="#"?K:"#"+K),P}function k(R){var A={};if(R){var P=R.indexOf("#");P>=0&&(A.hash=R.substr(P),R=R.substr(0,P));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 P=a(k);x&&(P=P.concat(x(k)));for(var M=h(S),B=h(k),N=0;N<P.length;++N){var K=P[N];if(!l[K]&&!(R&&R[K])&&!(B&&B[K])&&!(M&&M[K])){var G=p(k,K);try{u(S,K,G)}catch(H){}}}}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/,P=/(?:\s|\n)+/g,M=/\/\*(?:[\s\S]*?)((?:\*\/)|$)/g,B=/\/\/(?:[^\n\r\u2028\u2029]*)/g;function N(K,G){this._source_text=K||"",this._options=new p(G),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"]}N.prototype.eatString=function(K){var G="";for(this._ch=this._input.next();this._ch;){if(G+=this._ch,this._ch==="\\")G+=this._input.next();else if(K.indexOf(this._ch)!==-1||this._ch===`
|
|
|
`)break;this._ch=this._input.next()}return G},N.prototype.eatWhitespace=function(K){for(var G=A.test(this._input.peek()),H=0;A.test(this._input.peek());)this._ch=this._input.next(),K&&this._ch===`
|
|
|
`&&(H===0||H<this._options.max_preserve_newlines)&&(H++,this._output.add_new_line(!0));return G},N.prototype.foundNestedPseudoClass=function(){for(var K=0,G=1,H=this._input.peek(G);H;){if(H==="{")return!0;if(H==="(")K+=1;else if(H===")"){if(K===0)return!1;K-=1}else if(H===";"||H==="}")return!1;G++,H=this._input.peek(G)}return!1},N.prototype.print_string=function(K){this._output.set_indent(this._indentLevel),this._output.non_breaking_space=!0,this._output.add_token(K)},N.prototype.preserveSingleSpace=function(K){K&&(this._output.space_before_token=!0)},N.prototype.indent=function(){this._indentLevel++},N.prototype.outdent=function(){this._indentLevel>0&&this._indentLevel--},N.prototype.beautify=function(){if(this._options.disabled)return this._source_text;var K=this._source_text,G=this._options.eol;G==="auto"&&(G=`
|
|
|
`,K&&k.test(K||"")&&(G=K.match(k)[0])),K=K.replace(R,`
|
|
|
`);var H=K.match(/^[\t ]*/)[0];this._output=new y(this._options,H),this._input=new _(K),this._indentLevel=0,this._nestedLevel=0,this._ch=null;for(var ae=0,ne=!1,oe=!1,q=!1,J=!1,V=!1,se=this._ch,ee=!1,Q,ue,U;Q=this._input.read(P),ue=Q!=="",U=se,this._ch=this._input.next(),this._ch==="\\"&&this._input.hasNext()&&(this._ch+=this._input.next()),se=this._ch,this._ch;)if(this._ch==="/"&&this._input.peek()==="*"){this._output.add_new_line(),this._input.back();var $=this._input.read(M),ie=S.get_directives($);ie&&ie.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(ue),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&&(oe=!0,this.indent())}else if(this._ch==="@")if(this.preserveSingleSpace(ue),this._input.peek()==="{")this.print_string(this._ch+this.eatString("}"));else{this.print_string(this._ch);var Pe=this._input.peekUntilAfter(/[: ,;{}()[\]\/='"]/g);Pe.match(/[ :]$/)&&(Pe=this.eatString(": ").replace(/\s+$/,""),this.print_string(Pe),this._output.space_before_token=!0),ae===0&&Pe.indexOf(":")!==-1?(oe=!0,this.indent()):Pe in this.NESTED_AT_RULE?(this._nestedLevel+=1,Pe in this.CONDITIONAL_GROUP_RULE&&(q=!0)):ae===0&&!oe&&(J=!0)}else if(this._ch==="#"&&this._input.peek()==="{")this.preserveSingleSpace(ue),this.print_string(this._ch+this.eatString("}"));else if(this._ch==="{")oe&&(oe=!1,this.outdent()),J=!1,q?(q=!1,ne=this._indentLevel>=this._nestedLevel):ne=this._indentLevel>=this._nestedLevel-1,this._options.newline_between_rules&&ne&&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)):(U==="("?this._output.space_before_token=!1:U!==","&&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(),U==="{"&&this._output.trim(!0),oe&&(this.outdent(),oe=!1),this.print_string(this._ch),ne=!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 De=0;De<this.NON_SEMICOLON_NEWLINE_PROPERTY.length;De++)if(this._input.lookBack(this.NON_SEMICOLON_NEWLINE_PROPERTY[De])){ee=!0;break}(ne||q)&&!(this._input.lookBack("&")||this.foundNestedPseudoClass())&&!this._input.lookBack("(")&&!J&&ae===0?(this.print_string(":"),oe||(oe=!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 He=U==='"'||U==="'";this.preserveSingleSpace(He||ue),this.print_string(this._ch+this.eatString(this._ch)),this.eatWhitespace(!0)}else if(this._ch===";")ee=!1,ae===0?(oe&&(this.outdent(),oe=!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(ue||Ne),this.print_string(this._ch),oe&&U==="$"&&this._options.selector_separator_newline?(this._output.add_new_line(),V=!0):(this.eatWhitespace(),ae++,this.indent())}else if(this._ch===")")ae&&(ae--,this.outdent()),V&&this._input.peek()===";"&&this._options.selector_separator_newline&&(V=!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&&(!oe||V)&&ae===0&&!J?this._output.add_new_line():this._output.space_before_token=!0;else if((this._ch===">"||this._ch==="+"||this._ch==="~")&&!oe&&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(ue),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 Ft=U==='"'||U==="'";this.preserveSingleSpace(Ft||ue),this.print_string(this._ch),!this._output.just_added_newline()&&this._input.peek()===`
|
|
|
`&&ee&&this._output.add_new_line()}var gt=this._output.get_code(G);return gt},u.exports.Beautifier=N},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"},P=function(M,B){this._input=new b(M),this._options=B||{},this.__tokens=null,this._patterns={},this._patterns.whitespace=new R(this._input)};P.prototype.tokenize=function(){this._input.restart(),this.__tokens=new k,this._reset();for(var M,B=new S(A.START,""),N=null,K=[],G=new k;B.type!==A.EOF;){for(M=this._get_next_token(B,N);this._is_comment(M);)G.add(M),M=this._get_next_token(B,N);G.isEmpty()||(M.comments_before=G,G=new k),M.parent=N,this._is_opening(M)?(K.push(N),N=M):N&&this._is_closing(M,N)&&(M.opened=N,N.closed=M,N=K.pop(),M.parent=N),M.previous=B,B.next=M,this.__tokens.add(M),B=M}return this.__tokens},P.prototype._is_first_token=function(){return this.__tokens.isEmpty()},P.prototype._reset=function(){},P.prototype._get_next_token=function(M,B){this._readWhitespace();var N=this._input.read(/.+/g);return N?this._create_token(A.RAW,N):this._create_token(A.EOF,"")},P.prototype._is_comment=function(M){return!1},P.prototype._is_opening=function(M){return!1},P.prototype._is_closing=function(M,B){return!1},P.prototype._create_token=function(M,B){var N=new S(M,B,this._patterns.whitespace.newline_count,this._patterns.whitespace.whitespace_before_token);return N},P.prototype._readWhitespace=function(){return this._patterns.whitespace.read()},p.exports.Tokenizer=P,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,P=[],M=k.exec(R);M;)P.push(R.substring(A,M.index)),A=M.index+M[0].length,M=k.exec(R);return A<R.length?P.push(R.substring(A,R.length)):P.push(""),P},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 P=new b(R);this.__patterns={handlebars_comment:P.starting_with(/{{!--/).until_after(/--}}/),handlebars_unescaped:P.starting_with(/{{{/).until_after(/}}}/),handlebars:P.starting_with(/{{/).until_after(/}}/),php:P.starting_with(/<\?(?:[= ]|php)/).until_after(/\?>/),erb:P.starting_with(/<%[^%]/).until_after(/[^%]%>/),django:P.starting_with(/{%/).until_after(/%}/),django_value:P.starting_with(/{{/).until_after(/}}/),django_comment:P.starting_with(/{#/).until_after(/#}/),smarty:P.starting_with(/{(?=[^}{\s\n])/).until_after(/[^\s\n]}/),smarty_comment:P.starting_with(/{\*/).until_after(/\*}/),smarty_literal:P.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 P in S)A._disabled[P]=R.templating.indexOf(P)===-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 P=this._input.peek(1);!this._disabled.php&&!this._excluded.php&&P==="?"&&(R=R||this.__patterns.php.read()),!this._disabled.erb&&!this._excluded.erb&&P==="%"&&(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,P,M){var B=new b(R,A,P,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]/,P=/\r\n|[\r\n]/g,M=function(J,V){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,V)};M.prototype.current_line_has_match=function(J){return this._output.current_line.has_match(J)},M.prototype.set_space_before_token=function(J,V){this._output.space_before_token=J,this._output.non_breaking_space=V},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 V=0;J.type!==R.TEXT&&J.previous.type!==R.TEXT&&(V=J.newlines?1:0),this.preserve_newlines&&(V=J.newlines<this.max_preserve_newlines+1?J.newlines:this.max_preserve_newlines+1);for(var se=0;se<V;se++)this.print_newline(se>0);return V!==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 V=null,se=J.next;se.type!==R.EOF&&J.closed!==se;){if(se.type===R.ATTRIBUTE&&se.text==="type"){se.next&&se.next.type===R.EQUALS&&se.next.next&&se.next.next.type===R.VALUE&&(V=se.next.next.text);break}se=se.next}return V},N=function(J,V){var se=null,ee=null;return V.closed?(J==="script"?se="text/javascript":J==="style"&&(se="text/css"),se=B(V)||se,se.search("text/css")>-1?ee="css":se.search(/module|((text|application|dojo)\/(x-)?(javascript|ecmascript|jscript|livescript|(ld\+)?json|method|aspect))/)>-1?ee="javascript":se.search(/(text|application|dojo)\/(x-)?(html)/)>-1?ee="html":se.search(/test\/null/)>-1&&(ee="null"),ee):null};function K(J,V){return V.indexOf(J)!==-1}function G(J,V,se){this.parent=J||null,this.tag=V?V.tag_name:"",this.indent_level=se||0,this.parser_token=V||null}function H(J){this._printer=J,this._current_frame=null}H.prototype.get_parser_token=function(){return this._current_frame?this._current_frame.parser_token:null},H.prototype.record_tag=function(J){var V=new G(this._current_frame,J,this._printer.indent_level);this._current_frame=V},H.prototype._try_pop_frame=function(J){var V=null;return J&&(V=J.parser_token,this._printer.indent_level=J.indent_level,this._current_frame=J.parent),V},H.prototype._get_frame=function(J,V){for(var se=this._current_frame;se&&J.indexOf(se.tag)===-1;){if(V&&V.indexOf(se.tag)!==-1){se=null;break}se=se.parent}return se},H.prototype.try_pop=function(J,V){var se=this._get_frame([J],V);return this._try_pop_frame(se)},H.prototype.indent_to_tag=function(J){var V=this._get_frame(J);V&&(this._printer.indent_level=V.indent_level)};function ae(J,V,se,ee){this._source_text=J||"",V=V||{},this._js_beautify=se,this._css_beautify=ee,this._tag_stack=null;var Q=new b(V,"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,V=this._options.eol;this._options.eol==="auto"&&(V=`
|
|
|
`,J&&A.test(J)&&(V=J.match(A)[0])),J=J.replace(P,`
|
|
|
`);var se=J.match(/^[\t ]*/)[0],ee={text:"",type:""},Q=new ne(this._options),ue=new M(this._options,se),U=new k(J,this._options).tokenize();this._tag_stack=new H(ue);for(var $=null,ie=U.next();ie.type!==R.EOF;)ie.type===R.TAG_OPEN||ie.type===R.COMMENT?($=this._handle_tag_open(ue,ie,Q,ee,U),Q=$):ie.type===R.ATTRIBUTE||ie.type===R.EQUALS||ie.type===R.VALUE||ie.type===R.TEXT&&!Q.tag_complete?$=this._handle_inside_tag(ue,ie,Q,ee):ie.type===R.TAG_CLOSE?$=this._handle_tag_close(ue,ie,Q):ie.type===R.TEXT?$=this._handle_text(ue,ie,Q):ie.type===R.CONTROL_FLOW_OPEN?$=this._handle_control_flow_open(ue,ie):ie.type===R.CONTROL_FLOW_CLOSE?$=this._handle_control_flow_close(ue,ie):ue.add_raw_token(ie),ee=$,ie=U.next();var _e=ue._output.get_code(V);return _e},ae.prototype._handle_control_flow_open=function(J,V){var se={text:V.text,type:V.type};return J.set_space_before_token(V.newlines||V.whitespace_before!=="",!0),V.newlines?J.print_preserved_newlines(V):J.set_space_before_token(V.newlines||V.whitespace_before!=="",!0),J.print_token(V),J.indent(),se},ae.prototype._handle_control_flow_close=function(J,V){var se={text:V.text,type:V.type};return J.deindent(),V.newlines?J.print_preserved_newlines(V):J.set_space_before_token(V.newlines||V.whitespace_before!=="",!0),J.print_token(V),se},ae.prototype._handle_tag_close=function(J,V,se){var ee={text:V.text,type:V.type};return J.alignment_size=0,se.tag_complete=!0,J.set_space_before_token(V.newlines||V.whitespace_before!=="",!0),se.is_unformatted?J.add_raw_token(V):(se.tag_start_char==="<"&&(J.set_space_before_token(V.text[0]==="/",!0),this._is_wrap_attributes_force_expand_multiline&&se.has_wrapped_attrs&&J.print_newline(!1)),J.print_token(V)),se.indent_content&&!(se.is_unformatted||se.is_content_unformatted)&&(J.indent(),se.indent_content=!1),!se.is_inline_element&&!(se.is_unformatted||se.is_content_unformatted)&&J.set_wrap_point(),ee},ae.prototype._handle_inside_tag=function(J,V,se,ee){var Q=se.has_wrapped_attrs,ue={text:V.text,type:V.type};return J.set_space_before_token(V.newlines||V.whitespace_before!=="",!0),se.is_unformatted?J.add_raw_token(V):se.tag_start_char==="{"&&V.type===R.TEXT?J.print_preserved_newlines(V)?(V.newlines=0,J.add_raw_token(V)):J.print_token(V):(V.type===R.ATTRIBUTE?J.set_space_before_token(!0):(V.type===R.EQUALS||V.type===R.VALUE&&V.previous.type===R.EQUALS)&&J.set_space_before_token(!1),V.type===R.ATTRIBUTE&&se.tag_start_char==="<"&&((this._is_wrap_attributes_preserve||this._is_wrap_attributes_preserve_aligned)&&(J.traverse_whitespace(V),Q=Q||V.newlines!==0),this._is_wrap_attributes_force&&se.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(V),Q=Q||J.previous_token_wrapped(),se.has_wrapped_attrs=Q),ue},ae.prototype._handle_text=function(J,V,se){var ee={text:V.text,type:"TK_CONTENT"};return se.custom_beautifier_name?this._print_custom_beatifier_text(J,V,se):se.is_unformatted||se.is_content_unformatted?J.add_raw_token(V):(J.traverse_whitespace(V),J.print_token(V)),ee},ae.prototype._print_custom_beatifier_text=function(J,V,se){var ee=this;if(V.text!==""){var Q=V.text,ue,U=1,$="",ie="";se.custom_beautifier_name==="javascript"&&typeof this._js_beautify=="function"?ue=this._js_beautify:se.custom_beautifier_name==="css"&&typeof this._css_beautify=="function"?ue=this._css_beautify:se.custom_beautifier_name==="html"&&(ue=function(Ft,gt){var Dt=new ae(Ft,gt,ee._js_beautify,ee._css_beautify);return Dt.beautify()}),this._options.indent_scripts==="keep"?U=0:this._options.indent_scripts==="separate"&&(U=-J.indent_level);var _e=J.get_full_indent(U);if(Q=Q.replace(/\n[ \t]*$/,""),se.custom_beautifier_name!=="html"&&Q[0]==="<"&&Q.match(/^(<!--|<!\[CDATA\[)/)){var Pe=/^(<!--[^\n]*|<!\[CDATA\[)(\n?)([ \t\n]*)([\s\S]*)(-->|]]>)$/.exec(Q);if(!Pe){J.add_raw_token(V);return}$=_e+Pe[1]+`
|
|
|
`,Q=Pe[4],Pe[5]&&(ie=_e+Pe[5]),Q=Q.replace(/\n[ \t]*$/,""),(Pe[2]||Pe[3].indexOf(`
|
|
|
`)!==-1)&&(Pe=Pe[3].match(/[ \t]+$/),Pe&&(V.whitespace_before=Pe[0]))}if(Q)if(ue){var De=function(){this.eol=`
|
|
|
`};De.prototype=this._options.raw_options;var He=new De;Q=ue(_e+Q,He)}else{var Ne=V.whitespace_before;Ne&&(Q=Q.replace(new RegExp(`
|
|
|
(`+Ne+")?","g"),`
|
|
|
`)),Q=_e+Q.replace(/\n/g,`
|
|
|
`+_e)}$&&(Q?Q=$+Q+`
|
|
|
`+ie:Q=$+ie),J.print_newline(!1),Q&&(V.text=Q,V.whitespace_before="",V.newlines=0,J.add_raw_token(V),J.print_newline(!0))}},ae.prototype._handle_tag_open=function(J,V,se,ee,Q){var ue=this._get_tag_open_token(V);if((se.is_unformatted||se.is_content_unformatted)&&!se.is_empty_element&&V.type===R.TAG_OPEN&&!ue.is_start_tag?(J.add_raw_token(V),ue.start_tag_token=this._tag_stack.try_pop(ue.tag_name)):(J.traverse_whitespace(V),this._set_tag_position(J,V,ue,se,ee),ue.is_inline_element||J.set_wrap_point(),J.print_token(V)),ue.is_start_tag&&this._is_wrap_attributes_force){var U=0,$;do $=Q.peek(U),$.type===R.ATTRIBUTE&&(ue.attr_count+=1),U+=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)&&(ue.alignment_size=V.text.length+1),!ue.tag_complete&&!ue.is_unformatted&&(J.alignment_size=ue.alignment_size),ue};var ne=function(J,V,se){if(this.parent=V||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="",!se)this.tag_complete=!0;else{var ee;this.tag_start_char=se.text[0],this.text=se.text,this.tag_start_char==="<"?(ee=se.text.match(/^<([^\s>]*)/),this.tag_check=ee?ee[1]:""):(ee=se.text.match(/^{{~?(?:[\^]|#\*?)?([^\s}]+)/),this.tag_check=ee?ee[1]:"",(se.text.startsWith("{{#>")||se.text.startsWith("{{~#>"))&&this.tag_check[0]===">"&&(this.tag_check===">"&&se.next!==null?this.tag_check=se.next.text.split(" ")[0]:this.tag_check=se.text.split(">")[1])),this.tag_check=this.tag_check.toLowerCase(),se.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||se.closed&&se.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 V=new ne(this._options,this._tag_stack.get_parser_token(),J);return V.alignment_size=this._options.wrap_attributes_indent_size,V.is_end_tag=V.is_end_tag||K(V.tag_check,this._options.void_elements),V.is_empty_element=V.tag_complete||V.is_start_tag&&V.is_end_tag,V.is_unformatted=!V.tag_complete&&K(V.tag_check,this._options.unformatted),V.is_content_unformatted=!V.is_empty_element&&K(V.tag_check,this._options.content_unformatted),V.is_inline_element=K(V.tag_name,this._options.inline)||this._options.inline_custom_elements&&V.tag_name.includes("-")||V.tag_start_char==="{",V},ae.prototype._set_tag_position=function(J,V,se,ee,Q){if(se.is_empty_element||(se.is_end_tag?se.start_tag_token=this._tag_stack.try_pop(se.tag_name):(this._do_optional_end_element(se)&&(se.is_inline_element||J.print_newline(!1)),this._tag_stack.record_tag(se),(se.tag_name==="script"||se.tag_name==="style")&&!(se.is_unformatted||se.is_content_unformatted)&&(se.custom_beautifier_name=N(se.tag_check,V)))),K(se.tag_check,this._options.extra_liners)&&(J.print_newline(!1),J._output.just_added_blankline()||J.print_newline(!0)),se.is_empty_element){if(se.tag_start_char==="{"&&se.tag_check==="else"){this._tag_stack.indent_to_tag(["if","unless","each"]),se.indent_content=!0;var ue=J.current_line_has_match(/{{#if/);ue||J.print_newline(!1)}se.tag_name==="!--"&&Q.type===R.TAG_CLOSE&&ee.is_end_tag&&se.text.indexOf(`
|
|
|
`)===-1||(se.is_inline_element||se.is_unformatted||J.print_newline(!1),this._calcluate_parent_multiline(J,se))}else if(se.is_end_tag){var U=!1;U=se.start_tag_token&&se.start_tag_token.multiline_content,U=U||!se.is_inline_element&&!(ee.is_inline_element||ee.is_unformatted)&&!(Q.type===R.TAG_CLOSE&&se.start_tag_token===ee)&&Q.type!=="TK_CONTENT",(se.is_content_unformatted||se.is_unformatted)&&(U=!1),U&&J.print_newline(!1)}else se.indent_content=!se.custom_beautifier_name,se.tag_start_char==="<"&&(se.tag_name==="html"?se.indent_content=this._options.indent_inner_html:se.tag_name==="head"?se.indent_content=this._options.indent_head_inner_html:se.tag_name==="body"&&(se.indent_content=this._options.indent_body_inner_html)),!(se.is_inline_element||se.is_unformatted)&&(Q.type!=="TK_CONTENT"||se.is_content_unformatted)&&J.print_newline(!1),this._calcluate_parent_multiline(J,se)},ae.prototype._calcluate_parent_multiline=function(J,V){V.parent&&J._output.just_added_newline()&&!((V.is_inline_element||V.is_unformatted)&&V.parent.is_inline_element)&&(V.parent.multiline_content=!0)};var oe=["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 V=null;if(!(J.is_empty_element||!J.is_start_tag||!J.parent)){if(J.tag_name==="body")V=V||this._tag_stack.try_pop("head");else if(J.tag_name==="li")V=V||this._tag_stack.try_pop("li",["ol","ul","menu"]);else if(J.tag_name==="dd"||J.tag_name==="dt")V=V||this._tag_stack.try_pop("dt",["dl"]),V=V||this._tag_stack.try_pop("dd",["dl"]);else if(J.parent.tag_name==="p"&&oe.indexOf(J.tag_name)!==-1){var se=J.parent.parent;(!se||q.indexOf(se.tag_name)===-1)&&(V=V||this._tag_stack.try_pop("p"))}else J.tag_name==="rp"||J.tag_name==="rt"?(V=V||this._tag_stack.try_pop("rt",["ruby","rtc"]),V=V||this._tag_stack.try_pop("rp",["ruby","rtc"])):J.tag_name==="optgroup"?V=V||this._tag_stack.try_pop("optgroup",["select"]):J.tag_name==="option"?V=V||this._tag_stack.try_pop("option",["select","datalist","optgroup"]):J.tag_name==="colgroup"?V=V||this._tag_stack.try_pop("caption",["table"]):J.tag_name==="thead"?(V=V||this._tag_stack.try_pop("caption",["table"]),V=V||this._tag_stack.try_pop("colgroup",["table"])):J.tag_name==="tbody"||J.tag_name==="tfoot"?(V=V||this._tag_stack.try_pop("caption",["table"]),V=V||this._tag_stack.try_pop("colgroup",["table"]),V=V||this._tag_stack.try_pop("thead",["table"]),V=V||this._tag_stack.try_pop("tbody",["table"])):J.tag_name==="tr"?(V=V||this._tag_stack.try_pop("caption",["table"]),V=V||this._tag_stack.try_pop("colgroup",["table"]),V=V||this._tag_stack.try_pop("tr",["table","thead","tbody","tfoot"])):(J.tag_name==="th"||J.tag_name==="td")&&(V=V||this._tag_stack.try_pop("td",["table","thead","tbody","tfoot","tr"]),V=V||this._tag_stack.try_pop("th",["table","thead","tbody","tfoot","tr"]));return J.parent=this._tag_stack.get_parser_token(),V}},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,P={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(N,K){b.call(this,N,K),this._current_tag_name="";var G=new R(this._input).read_options(this._options),H=new A(this._input);if(this.__patterns={word:G.until(/[\n\r\t <]/),word_control_flow_close_excluded:G.until(/[\n\r\t <}]/),single_quote:G.until_after(/'/),double_quote:G.until_after(/"/),attribute:G.until(/[\n\r\t =>]|\/>/),element_name:G.until(/[\n\r\t >\/]/),angular_control_flow_start:H.matching(/\@[a-zA-Z]+[^({]*[({]/),handlebars_comment:H.starting_with(/{{!--/).until_after(/--}}/),handlebars:H.starting_with(/{{/).until_after(/}}/),handlebars_open:H.until(/[\n\r\t }]/),handlebars_raw_close:H.until(/}}/),comment:H.starting_with(/<!--/).until_after(/-->/),cdata:H.starting_with(/<!\[CDATA\[/).until_after(/]]>/),conditional_comment:H.starting_with(/<!\[/).until_after(/]>/),processing:H.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=H.matching(ae).until_after(ae)}};B.prototype=new b,B.prototype._is_comment=function(N){return!1},B.prototype._is_opening=function(N){return N.type===P.TAG_OPEN||N.type===P.CONTROL_FLOW_OPEN},B.prototype._is_closing=function(N,K){return N.type===P.TAG_CLOSE&&K&&((N.text===">"||N.text==="/>")&&K.text[0]==="<"||N.text==="}}"&&K.text[0]==="{"&&K.text[1]==="{")||N.type===P.CONTROL_FLOW_CLOSE&&N.text==="}"&&K.text.endsWith("{")},B.prototype._reset=function(){this._current_tag_name=""},B.prototype._get_next_token=function(N,K){var G=null;this._readWhitespace();var H=this._input.peek();return H===null?this._create_token(P.EOF,""):(G=G||this._read_open_handlebars(H,K),G=G||this._read_attribute(H,N,K),G=G||this._read_close(H,K),G=G||this._read_script_and_style(H,N),G=G||this._read_control_flows(H,K),G=G||this._read_raw_content(H,N,K),G=G||this._read_content_word(H,K),G=G||this._read_comment_or_cdata(H),G=G||this._read_processing(H),G=G||this._read_open(H,K),G=G||this._create_token(P.UNKNOWN,this._input.next()),G)},B.prototype._read_comment_or_cdata=function(N){var K=null,G=null,H=null;if(N==="<"){var ae=this._input.peek(1);ae==="!"&&(G=this.__patterns.comment.read(),G?(H=M.get_directives(G),H&&H.ignore==="start"&&(G+=M.readIgnored(this._input))):G=this.__patterns.cdata.read()),G&&(K=this._create_token(P.COMMENT,G),K.directives=H)}return K},B.prototype._read_processing=function(N){var K=null,G=null,H=null;if(N==="<"){var ae=this._input.peek(1);(ae==="!"||ae==="?")&&(G=this.__patterns.conditional_comment.read(),G=G||this.__patterns.processing.read()),G&&(K=this._create_token(P.COMMENT,G),K.directives=H)}return K},B.prototype._read_open=function(N,K){var G=null,H=null;return(!K||K.type===P.CONTROL_FLOW_OPEN)&&N==="<"&&(G=this._input.next(),this._input.peek()==="/"&&(G+=this._input.next()),G+=this.__patterns.element_name.read(),H=this._create_token(P.TAG_OPEN,G)),H},B.prototype._read_open_handlebars=function(N,K){var G=null,H=null;return(!K||K.type===P.CONTROL_FLOW_OPEN)&&(this._options.templating.includes("angular")||this._options.indent_handlebars)&&N==="{"&&this._input.peek(1)==="{"&&(this._options.indent_handlebars&&this._input.peek(2)==="!"?(G=this.__patterns.handlebars_comment.read(),G=G||this.__patterns.handlebars.read(),H=this._create_token(P.COMMENT,G)):(G=this.__patterns.handlebars_open.read(),H=this._create_token(P.TAG_OPEN,G))),H},B.prototype._read_control_flows=function(N,K){var G="",H=null;if(!this._options.templating.includes("angular"))return H;if(N==="@"){if(G=this.__patterns.angular_control_flow_start.read(),G==="")return H;for(var ae=G.endsWith("(")?1:0,ne=0;!(G.endsWith("{")&&ae===ne);){var oe=this._input.next();if(oe===null)break;oe==="("?ae++:oe===")"&&ne++,G+=oe}H=this._create_token(P.CONTROL_FLOW_OPEN,G)}else N==="}"&&K&&K.type===P.CONTROL_FLOW_OPEN&&(G=this._input.next(),H=this._create_token(P.CONTROL_FLOW_CLOSE,G));return H},B.prototype._read_close=function(N,K){var G=null,H=null;return K&&K.type===P.TAG_OPEN&&(K.text[0]==="<"&&(N===">"||N==="/"&&this._input.peek(1)===">")?(G=this._input.next(),N==="/"&&(G+=this._input.next()),H=this._create_token(P.TAG_CLOSE,G)):K.text[0]==="{"&&N==="}"&&this._input.peek(1)==="}"&&(this._input.next(),this._input.next(),H=this._create_token(P.TAG_CLOSE,"}}"))),H},B.prototype._read_attribute=function(N,K,G){var H=null,ae="";if(G&&G.text[0]==="<")if(N==="=")H=this._create_token(P.EQUALS,this._input.next());else if(N==='"'||N==="'"){var ne=this._input.next();N==='"'?ne+=this.__patterns.double_quote.read():ne+=this.__patterns.single_quote.read(),H=this._create_token(P.VALUE,ne)}else ae=this.__patterns.attribute.read(),ae&&(K.type===P.EQUALS?H=this._create_token(P.VALUE,ae):H=this._create_token(P.ATTRIBUTE,ae));return H},B.prototype._is_content_unformatted=function(N){return this._options.void_elements.indexOf(N)===-1&&(this._options.content_unformatted.indexOf(N)!==-1||this._options.unformatted.indexOf(N)!==-1)},B.prototype._read_raw_content=function(N,K,G){var H="";if(G&&G.text[0]==="{")H=this.__patterns.handlebars_raw_close.read();else if(K.type===P.TAG_CLOSE&&K.opened.text[0]==="<"&&K.text[0]!=="/"){var ae=K.opened.text.substr(1).toLowerCase();this._is_content_unformatted(ae)&&(H=this._input.readUntil(new RegExp("</"+ae+"[\\n\\r\\t ]*?>","ig")))}return H?this._create_token(P.TEXT,H):null},B.prototype._read_script_and_style=function(N,K){if(K.type===P.TAG_CLOSE&&K.opened.text[0]==="<"&&K.text[0]!=="/"){var G=K.opened.text.substr(1).toLowerCase();if(G==="script"||G==="style"){var H=this._read_comment_or_cdata(N);if(H)return H.type=P.TEXT,H;var ae=this._input.readUntil(new RegExp("</"+G+"[\\n\\r\\t ]*?>","ig"));if(ae)return this._create_token(P.TEXT,ae)}}return null},B.prototype._read_content_word=function(N,K){var G="";return this._options.unformatted_content_delimiter&&N===this._options.unformatted_content_delimiter[0]&&(G=this.__patterns.unformatted_content_delimiter.read()),G||(G=K&&K.type===P.CONTROL_FLOW_OPEN?this.__patterns.word_control_flow_close_excluded.read():this.__patterns.word.read()),G?this._create_token(P.TEXT,G):null},p.exports.Tokenizer=B,p.exports.TOKEN=P}],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 P($,ie){return ie.indexOf($)!==-1}function M($){return $.replace(/^\s+/g,"")}function B($){for(var ie={},_e=0;_e<$.length;_e++)ie[$[_e].replace(/-/g,"_")]=$[_e];return ie}function N($,ie){return $&&$.type===A.RESERVED&&$.text===ie}function K($,ie){return $&&$.type===A.RESERVED&&P($.text,ie)}var G=["case","return","do","if","throw","else","await","break","continue","async"],H=["before-newline","after-newline","preserve-newline"],ae=B(H),ne=[ae.before_newline,ae.preserve_newline],oe={BlockStatement:"BlockStatement",Statement:"Statement",ObjectLiteral:"ObjectLiteral",ArrayLiteral:"ArrayLiteral",ForInitializer:"ForInitializer",Conditional:"Conditional",Expression:"Expression"};function q($,ie){ie.multiline_frame||ie.mode===oe.ForInitializer||ie.mode===oe.Conditional||$.remove_indent(ie.start_line_index)}function J($){$=$.replace(_.allLineBreaks,`
|
|
|
`);for(var ie=[],_e=$.indexOf(`
|
|
|
`);_e!==-1;)ie.push($.substring(0,_e)),$=$.substring(_e+1),_e=$.indexOf(`
|
|
|
`);return $.length&&ie.push($),ie}function V($){return $===oe.ArrayLiteral}function se($){return P($,[oe.Expression,oe.ForInitializer,oe.Conditional])}function ee($,ie){for(var _e=0;_e<$.length;_e++){var Pe=$[_e].trim();if(Pe.charAt(0)!==ie)return!1}return!0}function Q($,ie){for(var _e=0,Pe=$.length,De;_e<Pe;_e++)if(De=$[_e],De&&De.indexOf(ie)!==0)return!1;return!0}function ue($,ie){ie=ie||{},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(ie)}ue.prototype.create_flags=function($,ie){var _e=0;$&&(_e=$.indentation_level,!this._output.just_added_newline()&&$.line_indent_level>_e&&(_e=$.line_indent_level));var Pe={mode:ie,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 Pe},ue.prototype._reset=function($){var ie=$.match(/^[\t ]*/)[0];this._last_last_text="",this._output=new p(this._options,ie),this._output.raw=this._options.test_output_raw,this._flag_store=[],this.set_mode(oe.BlockStatement);var _e=new S($,this._options);return this._tokens=_e.tokenize(),$},ue.prototype.beautify=function(){if(this._options.disabled)return this._source_text;var $,ie=this._reset(this._source_text),_e=this._options.eol;this._options.eol==="auto"&&(_e=`
|
|
|
`,ie&&_.lineBreak.test(ie||"")&&(_e=ie.match(_.lineBreak)[0]));for(var Pe=this._tokens.next();Pe;)this.handle_token(Pe),this._last_last_text=this._flags.last_token.text,this._flags.last_token=Pe,Pe=this._tokens.next();return $=this._output.get_code(_e),$},ue.prototype.handle_token=function($,ie){$.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($,ie):$.type===A.COMMENT?this.handle_comment($,ie):$.type===A.DOT?this.handle_dot($):$.type===A.EOF?this.handle_eof($):$.type===A.UNKNOWN?this.handle_unknown($,ie):this.handle_unknown($,ie)},ue.prototype.handle_whitespace_and_comments=function($,ie){var _e=$.newlines,Pe=this._options.keep_array_indentation&&V(this._flags.mode);if($.comments_before)for(var De=$.comments_before.next();De;)this.handle_whitespace_and_comments(De,ie),this.handle_token(De,ie),De=$.comments_before.next();if(Pe)for(var He=0;He<_e;He+=1)this.print_newline(He>0,ie);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,ie);for(var Ne=1;Ne<_e;Ne+=1)this.print_newline(!0,ie)}};var U=["async","break","continue","return","throw","yield"];ue.prototype.allow_wrap_or_preserved_newline=function($,ie){if(ie=ie===void 0?!1:ie,!this._output.just_added_newline()){var _e=this._options.preserve_newlines&&$.newlines||ie,Pe=P(this._flags.last_token.text,R)||P($.text,R);if(Pe){var De=P(this._flags.last_token.text,R)&&P(this._options.operator_position,ne)||P($.text,R);_e=_e&&De}if(_e)this.print_newline(!1,!0);else if(this._options.wrap_line_length){if(K(this._flags.last_token,U))return;this._output.set_wrap_point()}}},ue.prototype.print_newline=function($,ie){if(!ie&&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===oe.Statement&&!(this._flags.if_block&&N(_e,"else"))&&!this._flags.do_block;)this.restore_mode();this._output.add_new_line($)&&(this._flags.multiline_frame=!0)},ue.prototype.print_token_line_indentation=function($){this._output.just_added_newline()&&(this._options.keep_array_indentation&&$.newlines&&($.text==="["||V(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))},ue.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 ie=this._output.previous_line.pop();this._output.previous_line.is_empty()&&(this._output.previous_line.push(ie),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)},ue.prototype.indent=function(){this._flags.indentation_level+=1,this._output.set_indent(this._flags.indentation_level,this._flags.alignment)},ue.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))},ue.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)},ue.prototype.restore_mode=function(){this._flag_store.length>0&&(this._previous_flags=this._flags,this._flags=this._flag_store.pop(),this._previous_flags.mode===oe.Statement&&q(this._output,this._previous_flags),this._output.set_indent(this._flags.indentation_level,this._flags.alignment))},ue.prototype.start_of_object_property=function(){return this._flags.parent.mode===oe.ObjectLiteral&&this._flags.mode===oe.Statement&&(this._flags.last_token.text===":"&&this._flags.ternary_depth===0||K(this._flags.last_token,["get","set"]))},ue.prototype.start_of_statement=function($){var ie=!1;return ie=ie||K(this._flags.last_token,["var","let","const"])&&$.type===A.WORD,ie=ie||N(this._flags.last_token,"do"),ie=ie||!(this._flags.parent.mode===oe.ObjectLiteral&&this._flags.mode===oe.Statement)&&K(this._flags.last_token,U)&&!$.newlines,ie=ie||N(this._flags.last_token,"else")&&!(N($,"if")&&!$.comments_before),ie=ie||this._flags.last_token.type===A.END_EXPR&&(this._previous_flags.mode===oe.ForInitializer||this._previous_flags.mode===oe.Conditional),ie=ie||this._flags.last_token.type===A.WORD&&this._flags.mode===oe.BlockStatement&&!this._flags.in_case&&!($.text==="--"||$.text==="++")&&this._last_last_text!=="function"&&$.type!==A.WORD&&$.type!==A.RESERVED,ie=ie||this._flags.mode===oe.ObjectLiteral&&(this._flags.last_token.text===":"&&this._flags.ternary_depth===0||K(this._flags.last_token,["get","set"])),ie?(this.set_mode(oe.Statement),this.indent(),this.handle_whitespace_and_comments($,!0),this.start_of_object_property()||this.allow_wrap_or_preserved_newline($,K($,["do","for","if","while"])),!0):!1},ue.prototype.handle_start_expr=function($){this.start_of_statement($)||this.handle_whitespace_and_comments($);var ie=oe.Expression;if($.text==="["){if(this._flags.last_token.type===A.WORD||this._flags.last_token.text===")"){K(this._flags.last_token,k)&&(this._output.space_before_token=!0),this.print_token($),this.set_mode(ie),this.indent(),this._options.space_in_paren&&(this._output.space_before_token=!0);return}ie=oe.ArrayLiteral,V(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()),P(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,ie=oe.ForInitializer):P(this._flags.last_token.text,["if","while","switch"])?(this._output.space_before_token=this._options.space_before_conditional,ie=oe.Conditional):P(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:(P(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 Pe=this._tokens.peek(-4);K(_e,["async","function"])||_e.text==="*"&&K(Pe,["async","function"])?this._output.space_before_token=!0:this._flags.mode===oe.ObjectLiteral?(_e.text==="{"||_e.text===","||_e.text==="*"&&(Pe.text==="{"||Pe.text===","))&&(this._output.space_before_token=!0):this._flags.parent&&this._flags.parent.class_start_block&&(this._output.space_before_token=!0)}}else this.allow_wrap_or_preserved_newline($);(this._flags.last_token.type===A.RESERVED&&(this._flags.last_word==="function"||this._flags.last_word==="typeof")||this._flags.last_token.text==="*"&&(P(this._last_last_text,["function","yield"])||this._flags.mode===oe.ObjectLiteral&&P(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(ie),this._options.space_in_paren&&(this._output.space_before_token=!0),this.indent()},ue.prototype.handle_end_expr=function($){for(;this._flags.mode===oe.Statement;)this.restore_mode();this.handle_whitespace_and_comments($),this._flags.multiline_frame&&this.allow_wrap_or_preserved_newline($,$.text==="]"&&V(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===oe.Conditional&&(this._previous_flags.mode=oe.Expression,this._flags.do_block=!1,this._flags.do_while=!1)},ue.prototype.handle_start_block=function($){this.handle_whitespace_and_comments($);var ie=this._tokens.peek(),_e=this._tokens.peek(1);this._flags.last_word==="switch"&&this._flags.last_token.type===A.END_EXPR?(this.set_mode(oe.BlockStatement),this._flags.in_case_statement=!0):this._flags.case_body?this.set_mode(oe.BlockStatement):_e&&(P(_e.text,[":",","])&&P(ie.type,[A.STRING,A.WORD,A.RESERVED])||P(ie.text,["get","set","..."])&&P(_e.type,[A.WORD,A.RESERVED]))?P(this._last_last_text,["class","interface"])&&!P(_e.text,[":",","])?this.set_mode(oe.BlockStatement):this.set_mode(oe.ObjectLiteral):this._flags.last_token.type===A.OPERATOR&&this._flags.last_token.text==="=>"?this.set_mode(oe.BlockStatement):P(this._flags.last_token.type,[A.EQUALS,A.START_EXPR,A.COMMA,A.OPERATOR])||K(this._flags.last_token,["return","throw","import","default"])?this.set_mode(oe.ObjectLiteral):this.set_mode(oe.BlockStatement),this._flags.last_token&&K(this._flags.last_token.previous,["class","extends"])&&(this._flags.class_start_block=!0);var Pe=!ie.comments_before&&ie.text==="}",De=Pe&&this._flags.last_word==="function"&&this._flags.last_token.type===A.END_EXPR;if(this._options.brace_preserve_inline){var He=0,Ne=null;this._flags.inline_frame=!0;do if(He+=1,Ne=this._tokens.peek(He-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&&(De||this._flags.last_token.type===A.EQUALS||K(this._flags.last_token,G)&&this._flags.last_token.text!=="else")?this._output.space_before_token=!0:this.print_newline(!1,!0):(V(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&&(P(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(),!Pe&&!(this._options.brace_preserve_inline&&this._flags.inline_frame)&&this.print_newline()},ue.prototype.handle_end_block=function($){for(this.handle_whitespace_and_comments($);this._flags.mode===oe.Statement;)this.restore_mode();var ie=this._flags.last_token.type===A.START_BLOCK;this._flags.inline_frame&&!ie?this._output.space_before_token=!0:this._options.brace_style==="expand"?ie||this.print_newline():ie||(V(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($)},ue.prototype.handle_word=function($){if($.type===A.RESERVED){if(P($.text,["set","get"])&&this._flags.mode!==oe.ObjectLiteral)$.type=A.WORD;else if($.text==="import"&&P(this._tokens.peek().text,["(","."]))$.type=A.WORD;else if(P($.text,["as","from"])&&!this._flags.import_block)$.type=A.WORD;else if(this._flags.mode===oe.ObjectLiteral){var ie=this._tokens.peek();ie.text===":"&&($.type=A.WORD)}}if(this.start_of_statement($)?K(this._flags.last_token,["var","let","const"])&&$.type===A.WORD&&(this._flags.declaration_statement=!0):$.newlines&&!se(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||!K(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(N($,"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&&N($,"else"))this._flags.else_block=!0;else{for(;this._flags.mode===oe.Statement;)this.restore_mode();this._flags.if_block=!1,this._flags.else_block=!1}if(this._flags.in_case_statement&&K($,["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()&&!(P(this._flags.last_token.text,["+","-"])&&this._last_last_text===":"&&this._flags.parent.mode===oe.ObjectLiteral)&&this.allow_wrap_or_preserved_newline($),N($,"function")){(P(this._flags.last_token.text,["}",";"])||this._output.just_added_newline()&&!(P(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?K(this._flags.last_token,["get","set","new","export"])||K(this._flags.last_token,U)?this._output.space_before_token=!0:N(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&&(se(this._flags.mode)||V(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":K($,["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===oe.BlockStatement?_e="NEWLINE":this._flags.last_token.type===A.SEMICOLON&&se(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==="*"&&(P(this._last_last_text,["function","yield"])||this._flags.mode===oe.ObjectLiteral&&P(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"),K($,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"),K($,["else","catch","finally"]))if((!(this._flags.last_token.type===A.END_BLOCK&&this._previous_flags.mode===oe.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 Pe=this._output.current_line;Pe.last()!=="}"&&this.print_newline(),this._output.space_before_token=!0}else _e==="NEWLINE"?K(this._flags.last_token,G)?this._output.space_before_token=!0:this._flags.last_token.text==="declare"&&K($,["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||!K($,["var","let","const"]))&&this._flags.last_token.text!==":"&&(N($,"if")&&N($.previous,"else")?this._output.space_before_token=!0:this.print_newline()):K($,k)&&this._flags.last_token.text!==")"&&this.print_newline():this._flags.multiline_frame&&V(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&&N($,"from")&&(this._flags.import_block=!1))},ue.prototype.handle_semicolon=function($){this.start_of_statement($)?this._output.space_before_token=!1:this.handle_whitespace_and_comments($);for(var ie=this._tokens.peek();this._flags.mode===oe.Statement&&!(this._flags.if_block&&N(ie,"else"))&&!this._flags.do_block;)this.restore_mode();this._flags.import_block&&(this._flags.import_block=!1),this.print_token($)},ue.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($)},ue.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},ue.prototype.handle_comma=function($){this.handle_whitespace_and_comments($,!0),this.print_token($),this._output.space_before_token=!0,this._flags.declaration_statement?(se(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===oe.ObjectLiteral||this._flags.mode===oe.Statement&&this._flags.parent.mode===oe.ObjectLiteral?(this._flags.mode===oe.Statement&&this.restore_mode(),this._flags.inline_frame||this.print_newline()):this._options.comma_first&&this.allow_wrap_or_preserved_newline($)},ue.prototype.handle_operator=function($){var ie=$.text==="*"&&(K(this._flags.last_token,["function","yield"])||P(this._flags.last_token.type,[A.START_BLOCK,A.COMMA,A.END_BLOCK,A.SEMICOLON])),_e=P($.text,["-","+"])&&(P(this._flags.last_token.type,[A.START_BLOCK,A.START_EXPR,A.EQUALS,A.OPERATOR])||P(this._flags.last_token.text,k)||this._flags.last_token.text===",");if(!this.start_of_statement($)){var Pe=!ie;this.handle_whitespace_and_comments($,Pe)}if($.text==="*"&&this._flags.last_token.type===A.DOT){this.print_token($);return}if($.text==="::"){this.print_token($);return}if(P($.text,["-","+"])&&this.start_of_object_property()){this.print_token($);return}if(this._flags.last_token.type===A.OPERATOR&&P(this._options.operator_position,ne)&&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 De=!0,He=!0,Ne=!1;if($.text===":"?this._flags.ternary_depth===0?De=!1:(this._flags.ternary_depth-=1,Ne=!0):$.text==="?"&&(this._flags.ternary_depth+=1),!_e&&!ie&&this._options.preserve_newlines&&P($.text,R)){var Ft=$.text===":",gt=Ft&&Ne,Dt=Ft&&!Ne;switch(this._options.operator_position){case ae.before_newline:this._output.space_before_token=!Dt,this.print_token($),(!Ft||gt)&&this.allow_wrap_or_preserved_newline($),this._output.space_before_token=!0;return;case ae.after_newline:this._output.space_before_token=!0,!Ft||gt?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($),De=!(this._output.just_added_newline()||Dt),this._output.space_before_token=De,this.print_token($),this._output.space_before_token=!0;return}}if(ie){this.allow_wrap_or_preserved_newline($),De=!1;var rr=this._tokens.peek();He=rr&&P(rr.type,[A.WORD,A.RESERVED])}else if($.text==="...")this.allow_wrap_or_preserved_newline($),De=this._flags.last_token.type===A.START_BLOCK,He=!1;else if(P($.text,["--","++","!","~"])||_e){if((this._flags.last_token.type===A.COMMA||this._flags.last_token.type===A.START_EXPR)&&this.allow_wrap_or_preserved_newline($),De=!1,He=!1,$.newlines&&($.text==="--"||$.text==="++"||$.text==="~")){var Xt=K(this._flags.last_token,G)&&$.newlines;Xt&&(this._previous_flags.if_block||this._previous_flags.else_block)&&this.restore_mode(),this.print_newline(Xt,!0)}this._flags.last_token.text===";"&&se(this._flags.mode)&&(De=!0),this._flags.last_token.type===A.RESERVED?De=!0:this._flags.last_token.type===A.END_EXPR?De=!(this._flags.last_token.text==="]"&&($.text==="--"||$.text==="++")):this._flags.last_token.type===A.OPERATOR&&(De=P($.text,["--","-","++","+"])&&P(this._flags.last_token.text,["--","-","++","+"]),P($.text,["+","-"])&&P(this._flags.last_token.text,["--","++"])&&(He=!0)),(this._flags.mode===oe.BlockStatement&&!this._flags.inline_frame||this._flags.mode===oe.Statement)&&(this._flags.last_token.text==="{"||this._flags.last_token.text===";")&&this.print_newline()}this._output.space_before_token=this._output.space_before_token||De,this.print_token($),this._output.space_before_token=He},ue.prototype.handle_block_comment=function($,ie){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,ie),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($,ie)},ue.prototype.print_block_commment=function($,ie){var _e=J($.text),Pe,De=!1,He=!1,Ne=$.whitespace_before,Ft=Ne.length;if(this.print_newline(!1,ie),this.print_token_line_indentation($),this._output.add_token(_e[0]),this.print_newline(!1,ie),_e.length>1){for(_e=_e.slice(1),De=ee(_e,"*"),He=Q(_e,Ne),De&&(this._flags.alignment=1),Pe=0;Pe<_e.length;Pe++)De?(this.print_token_line_indentation($),this._output.add_token(M(_e[Pe]))):He&&_e[Pe]?(this.print_token_line_indentation($),this._output.add_token(_e[Pe].substring(Ft))):(this._output.current_line.set_indent(-1),this._output.add_token(_e[Pe])),this.print_newline(!1,ie);this._flags.alignment=0}},ue.prototype.handle_comment=function($,ie){$.newlines?this.print_newline(!1,ie):this._output.trim(!0),this._output.space_before_token=!0,this.print_token($),this.print_newline(!1,ie)},ue.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),K(this._flags.last_token,G)?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($)},ue.prototype.handle_unknown=function($,ie){this.print_token($),$.text[$.text.length-1]===`
|
|
|
`&&this.print_newline(!1,ie)},ue.prototype.handle_eof=function($){for(;this._flags.mode===oe.Statement;)this.restore_mode();this.handle_whitespace_and_comments($)},u.exports.Beautifier=ue},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 P={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_]+)?/,N=/[0-9]/,K=/[^\d\.]/,G=">>> === !== &&= ??= ||= << && >= ** != == <= >> || ?? |> < / - + > : & % ? ^ | *".split(" "),H=">>>= ... >>= <<= === >>> !== **= &&= ??= ||= => ^= :: /= << <= == && -= >= >> != -- += ** || ?? ++ %= &= *= |= |> = ! ? > < : / ^ - + * & % ~ |";H=H.replace(/[-[\]{}()*+?.,\\^$|#]/g,"\\$&"),H="\\?\\.(?!\\d) "+H,H=H.replace(/ /g,"|");var ae=new RegExp(H),ne="continue,try,throw,return,var,let,const,if,switch,case,default,for,while,break,function,import,export".split(","),oe=ne.concat(["do","in","of","else","get","set","new","catch","finally","typeof","yield","async","await","from","as","class","extends"]),q=new RegExp("^(?:"+oe.join("|")+")$"),J,V=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 ue=new k(this._input),U=new R(this._input).read_options(this._options);this.__patterns={template:U,identifier:U.starting_with(S.identifier).matching(S.identifierMatch),number:ue.matching(B),punct:ue.matching(ae),comment:ue.starting_with(/\/\//).until(/[\n\r\u2028\u2029]/),block_comment:ue.starting_with(/\/\*/).until_after(/\*\//),html_comment_start:ue.matching(/<!--/),html_comment_end:ue.matching(/-->/),include:ue.starting_with(/#include/).until_after(S.lineBreak),shebang:ue.starting_with(/#!/).until_after(S.lineBreak),xml:ue.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:U.until(/['\\\n\r\u2028\u2029]/),double_quote:U.until(/["\\\n\r\u2028\u2029]/),template_text:U.until(/[`\\$]/),template_expression:U.until(/[`}\\]/)}};V.prototype=new y,V.prototype._is_comment=function(ee){return ee.type===P.COMMENT||ee.type===P.BLOCK_COMMENT||ee.type===P.UNKNOWN},V.prototype._is_opening=function(ee){return ee.type===P.START_BLOCK||ee.type===P.START_EXPR},V.prototype._is_closing=function(ee,Q){return(ee.type===P.END_BLOCK||ee.type===P.END_EXPR)&&Q&&(ee.text==="]"&&Q.text==="["||ee.text===")"&&Q.text==="("||ee.text==="}"&&Q.text==="{")},V.prototype._reset=function(){J=!1},V.prototype._get_next_token=function(ee,Q){var ue=null;this._readWhitespace();var U=this._input.peek();return U===null?this._create_token(P.EOF,""):(ue=ue||this._read_non_javascript(U),ue=ue||this._read_string(U),ue=ue||this._read_pair(U,this._input.peek(1)),ue=ue||this._read_word(ee),ue=ue||this._read_singles(U),ue=ue||this._read_comment(U),ue=ue||this._read_regexp(U,ee),ue=ue||this._read_xml(U,ee),ue=ue||this._read_punctuation(),ue=ue||this._create_token(P.UNKNOWN,this._input.next()),ue)},V.prototype._read_word=function(ee){var Q;if(Q=this.__patterns.identifier.read(),Q!=="")return Q=Q.replace(S.allLineBreaks,`
|
|
|
`),!(ee.type===P.DOT||ee.type===P.RESERVED&&(ee.text==="set"||ee.text==="get"))&&q.test(Q)?(Q==="in"||Q==="of")&&(ee.type===P.WORD||ee.type===P.STRING)?this._create_token(P.OPERATOR,Q):this._create_token(P.RESERVED,Q):this._create_token(P.WORD,Q);if(Q=this.__patterns.number.read(),Q!=="")return this._create_token(P.WORD,Q)},V.prototype._read_singles=function(ee){var Q=null;return ee==="("||ee==="["?Q=this._create_token(P.START_EXPR,ee):ee===")"||ee==="]"?Q=this._create_token(P.END_EXPR,ee):ee==="{"?Q=this._create_token(P.START_BLOCK,ee):ee==="}"?Q=this._create_token(P.END_BLOCK,ee):ee===";"?Q=this._create_token(P.SEMICOLON,ee):ee==="."&&K.test(this._input.peek(1))?Q=this._create_token(P.DOT,ee):ee===","&&(Q=this._create_token(P.COMMA,ee)),Q&&this._input.next(),Q},V.prototype._read_pair=function(ee,Q){var ue=null;return ee==="#"&&Q==="{"&&(ue=this._create_token(P.START_BLOCK,ee+Q)),ue&&(this._input.next(),this._input.next()),ue},V.prototype._read_punctuation=function(){var ee=this.__patterns.punct.read();if(ee!=="")return ee==="="?this._create_token(P.EQUALS,ee):ee==="?."?this._create_token(P.DOT,ee):this._create_token(P.OPERATOR,ee)},V.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(P.UNKNOWN,Q.trim()+`
|
|
|
`);if(Q=this.__patterns.include.read(),Q)return this._create_token(P.UNKNOWN,Q.trim()+`
|
|
|
`);ee=this._input.next();var ue="#";if(this._input.hasNext()&&this._input.testChar(N)){do ee=this._input.next(),ue+=ee;while(this._input.hasNext()&&ee!=="#"&&ee!=="=");return ee==="#"||(this._input.peek()==="["&&this._input.peek(1)==="]"?(ue+="[]",this._input.next(),this._input.next()):this._input.peek()==="{"&&this._input.peek(1)==="}"&&(ue+="{}",this._input.next(),this._input.next())),this._create_token(P.WORD,ue)}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(P.COMMENT,Q)}}else if(J&&ee==="-"&&(Q=this.__patterns.html_comment_end.read(),Q))return J=!1,this._create_token(P.COMMENT,Q);return null},V.prototype._read_comment=function(ee){var Q=null;if(ee==="/"){var ue="";if(this._input.peek(1)==="*"){ue=this.__patterns.block_comment.read();var U=M.get_directives(ue);U&&U.ignore==="start"&&(ue+=M.readIgnored(this._input)),ue=ue.replace(S.allLineBreaks,`
|
|
|
`),Q=this._create_token(P.BLOCK_COMMENT,ue),Q.directives=U}else this._input.peek(1)==="/"&&(ue=this.__patterns.comment.read(),Q=this._create_token(P.COMMENT,ue))}return Q},V.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=se(Q)),this._input.peek()===ee&&(Q+=this._input.next()),Q=Q.replace(S.allLineBreaks,`
|
|
|
`),this._create_token(P.STRING,Q)}return null},V.prototype._allow_regexp_or_xml=function(ee){return ee.type===P.RESERVED&&A(ee.text,["return","case","throw","else","do","typeof","yield"])||ee.type===P.END_EXPR&&ee.text===")"&&ee.opened.previous.type===P.RESERVED&&A(ee.opened.previous.text,["if","while","for"])||A(ee.type,[P.COMMENT,P.START_EXPR,P.START_BLOCK,P.START,P.END_BLOCK,P.OPERATOR,P.EQUALS,P.EOF,P.SEMICOLON,P.COMMA])},V.prototype._read_regexp=function(ee,Q){if(ee==="/"&&this._allow_regexp_or_xml(Q)){for(var ue=this._input.next(),U=!1,$=!1;this._input.hasNext()&&(U||$||this._input.peek()!==ee)&&!this._input.testChar(S.newline);)ue+=this._input.peek(),U?U=!1:(U=this._input.peek()==="\\",this._input.peek()==="["?$=!0:this._input.peek()==="]"&&($=!1)),this._input.next();return this._input.peek()===ee&&(ue+=this._input.next(),ue+=this._input.read(S.identifier)),this._create_token(P.STRING,ue)}return null},V.prototype._read_xml=function(ee,Q){if(this._options.e4x&&ee==="<"&&this._allow_regexp_or_xml(Q)){var ue="",U=this.__patterns.xml.read_match();if(U){for(var $=U[2].replace(/^{\s+/,"{").replace(/\s+}$/,"}"),ie=$.indexOf("{")===0,_e=0;U;){var Pe=!!U[1],De=U[2],He=!!U[U.length-1]||De.slice(0,8)==="![CDATA[";if(!He&&(De===$||ie&&De.replace(/^{\s+/,"{").replace(/\s+}$/,"}"))&&(Pe?--_e:++_e),ue+=U[0],_e<=0)break;U=this.__patterns.xml.read_match()}return U||(ue+=this._input.match(/[\s\S]*/g)[0]),ue=ue.replace(S.allLineBreaks,`
|
|
|
`),this._create_token(P.STRING,ue)}}return null};function se(ee){for(var Q="",ue=0,U=new p(ee),$=null;U.hasNext();)if($=U.match(/([\s]|[^\\]|\\\\)+/g),$&&(Q+=$[0]),U.peek()==="\\"){if(U.next(),U.peek()==="x")$=U.match(/x([0-9A-Fa-f]{2})/g);else if(U.peek()==="u")$=U.match(/u([0-9A-Fa-f]{4})/g),$||($=U.match(/u\{([0-9A-Fa-f]+)\}/g));else{Q+="\\",U.hasNext()&&(Q+=U.next());continue}if(!$||(ue=parseInt($[1],16),ue>126&&ue<=255&&$[0].indexOf("x")===0))return ee;ue>=0&&ue<32||ue>1114111?Q+="\\"+$[0]:ue===34||ue===39||ue===92?Q+="\\"+String.fromCharCode(ue):Q+=String.fromCharCode(ue)}return Q}V.prototype._read_string_recursive=function(ee,Q,ue){var U,$;ee==="'"?$=this.__patterns.single_quote:ee==='"'?$=this.__patterns.double_quote:ee==="`"?$=this.__patterns.template_text:ee==="}"&&($=this.__patterns.template_expression);for(var ie=$.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()?(U=this._input.peek(),U==="x"||U==="u"?this.has_char_escapes=!0:U==="\r"&&this._input.peek(1)===`
|
|
|
`&&this._input.next(),_e+=this._input.next()):ue&&(ue==="${"&&_e==="$"&&this._input.peek()==="{"&&(_e+=this._input.next()),ue===_e&&(ee==="`"?_e+=this._read_string_recursive("}",Q,"`"):_e+=this._read_string_recursive("`",Q,"${"),this._input.hasNext()&&(_e+=this._input.next())));_e+=$.read(),ie+=_e}return ie},u.exports.Tokenizer=V,u.exports.TOKEN=P,u.exports.positionable_operators=G.slice(),u.exports.line_starters=ne.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,""),P=null,M=[],B=new _;A.type!==S.EOF;){for(R=this._get_next_token(A,P);this._is_comment(R);)B.add(R),R=this._get_next_token(A,P);B.isEmpty()||(R.comments_before=B,B=new _),R.parent=P,this._is_opening(R)?(M.push(P),P=R):P&&this._is_closing(R,P)&&(R.opened=P,P.closed=R,P=M.pop(),R.parent=P),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 P=this._input.read(/.+/g);return P?this._create_token(S.RAW,P):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 P=new y(R,A,this._patterns.whitespace.newline_count,this._patterns.whitespace.whitespace_before_token);return P},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(Z,Y,te){this.lexer=void 0,this.start=void 0,this.end=void 0,this.lexer=Z,this.start=Y,this.end=te}return Ve.range=function(Y,te){return te?!Y||!Y.loc||!te.loc||Y.loc.lexer!==te.loc.lexer?null:new Ve(Y.loc.lexer,Y.loc.start,te.loc.end):Y&&Y.loc},Ve}(),c=function(){function Ve(Y,te){this.text=void 0,this.loc=void 0,this.text=Y,this.loc=te}var Z=Ve.prototype;return Z.range=function(te,de){return new Ve(de,l.range(this,te))},Ve}(),f=function Ve(Z,Y){this.position=void 0;var te="KaTeX parse error: "+Z,de,Ae=Y&&Y.loc;if(Ae&&Ae.start<=Ae.end){var Ke=Ae.lexer.input;de=Ae.start;var Ct=Ae.end;de===Ke.length?te+=" at end of input: ":te+=" at position "+(de+1)+": ";var Ut=Ke.slice(de,Ct).replace(/[^]/g,"$&\u0332"),nr;de>15?nr="\u2026"+Ke.slice(de-15,de):nr=Ke.slice(0,de);var It;Ct+15<Ke.length?It=Ke.slice(Ct,Ct+15)+"\u2026":It=Ke.slice(Ct),te+=nr+Ut+It}var Hr=new Error(te);return Hr.name="ParseError",Hr.__proto__=Ve.prototype,Hr.position=de,Hr};f.prototype.__proto__=Error.prototype;var o=f,h=function(Z,Y){return Z.indexOf(Y)!==-1},u=function(Z,Y){return Z===void 0?Y:Z},a=/([A-Z])/g,x=function(Z){return Z.replace(a,"-$1").toLowerCase()},p={"&":"&",">":">","<":"<",'"':""","'":"'"},y=/[&><"']/g;function _(Ve){return String(Ve).replace(y,function(Z){return p[Z]})}var b=function Ve(Z){return Z.type==="ordgroup"||Z.type==="color"?Z.body.length===1?Ve(Z.body[0]):Z:Z.type==="font"?Ve(Z.body):Z},S=function(Z){var Y=b(Z);return Y.type==="mathord"||Y.type==="textord"||Y.type==="atom"},k=function(Z){if(!Z)throw new Error("Expected non-null, but got "+String(Z));return Z},R=function(Z){var Y=/^\s*([^\\/#]*?)(?::|�*58|�*3a)/i.exec(Z);return Y!=null?Y[1]:"_relative"},A={contains:h,deflt:u,escape:_,hyphenate:x,getBaseElem:b,isCharacterBox:S,protocolFromUrl:R},P=function(){function Ve(Y){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,Y=Y||{},this.displayMode=A.deflt(Y.displayMode,!1),this.output=A.deflt(Y.output,"htmlAndMathml"),this.leqno=A.deflt(Y.leqno,!1),this.fleqn=A.deflt(Y.fleqn,!1),this.throwOnError=A.deflt(Y.throwOnError,!0),this.errorColor=A.deflt(Y.errorColor,"#cc0000"),this.macros=Y.macros||{},this.minRuleThickness=Math.max(0,A.deflt(Y.minRuleThickness,0)),this.colorIsTextColor=A.deflt(Y.colorIsTextColor,!1),this.strict=A.deflt(Y.strict,"warn"),this.trust=A.deflt(Y.trust,!1),this.maxSize=Math.max(0,A.deflt(Y.maxSize,1/0)),this.maxExpand=Math.max(0,A.deflt(Y.maxExpand,1e3))}var Z=Ve.prototype;return Z.reportNonstrict=function(te,de,Ae){var Ke=this.strict;if(typeof Ke=="function"&&(Ke=Ke(te,de,Ae)),!(!Ke||Ke==="ignore")){if(Ke===!0||Ke==="error")throw new o("LaTeX-incompatible input and strict mode is set to 'error': "+(de+" ["+te+"]"),Ae);Ke==="warn"?typeof console!="undefined"&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+(de+" ["+te+"]")):typeof console!="undefined"&&console.warn("LaTeX-incompatible input and strict mode is set to "+("unrecognized '"+Ke+"': "+de+" ["+te+"]"))}},Z.useStrictBehavior=function(te,de,Ae){var Ke=this.strict;if(typeof Ke=="function")try{Ke=Ke(te,de,Ae)}catch(Ct){Ke="error"}return!Ke||Ke==="ignore"?!1:Ke===!0||Ke==="error"?!0:Ke==="warn"?(typeof console!="undefined"&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+(de+" ["+te+"]")),!1):(typeof console!="undefined"&&console.warn("LaTeX-incompatible input and strict mode is set to "+("unrecognized '"+Ke+"': "+de+" ["+te+"]")),!1)},Z.isTrusted=function(te){te.url&&!te.protocol&&(te.protocol=A.protocolFromUrl(te.url));var de=typeof this.trust=="function"?this.trust(te):this.trust;return!!de},Ve}(),M=function(){function Ve(Y,te,de){this.id=void 0,this.size=void 0,this.cramped=void 0,this.id=Y,this.size=te,this.cramped=de}var Z=Ve.prototype;return Z.sup=function(){return q[J[this.id]]},Z.sub=function(){return q[V[this.id]]},Z.fracNum=function(){return q[se[this.id]]},Z.fracDen=function(){return q[ee[this.id]]},Z.cramp=function(){return q[Q[this.id]]},Z.text=function(){return q[ue[this.id]]},Z.isTight=function(){return this.size>=2},Ve}(),B=0,N=1,K=2,G=3,H=4,ae=5,ne=6,oe=7,q=[new M(B,0,!1),new M(N,0,!0),new M(K,1,!1),new M(G,1,!0),new M(H,2,!1),new M(ae,2,!0),new M(ne,3,!1),new M(oe,3,!0)],J=[H,ae,H,ae,ne,oe,ne,oe],V=[ae,ae,ae,ae,oe,oe,oe,oe],se=[K,G,H,ae,ne,oe,ne,oe],ee=[G,G,ae,ae,oe,oe,oe,oe],Q=[N,N,G,G,ae,ae,oe,oe],ue=[B,N,K,G,K,G,K,G],U={DISPLAY:q[B],TEXT:q[K],SCRIPT:q[H],SCRIPTSCRIPT:q[ne]},$=[{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 ie(Ve){for(var Z=0;Z<$.length;Z++)for(var Y=$[Z],te=0;te<Y.blocks.length;te++){var de=Y.blocks[te];if(Ve>=de[0]&&Ve<=de[1])return Y.name}return null}var _e=[];$.forEach(function(Ve){return Ve.blocks.forEach(function(Z){return _e.push.apply(_e,Z)})});function Pe(Ve){for(var Z=0;Z<_e.length;Z+=2)if(Ve>=_e[Z]&&Ve<=_e[Z+1])return!0;return!1}var De=80,He=function(Z,Y){return"M95,"+(622+Z+Y)+`
|
|
|
c-2.7,0,-7.17,-2.7,-13.5,-8c-5.8,-5.3,-9.5,-10,-9.5,-14
|
|
|
c0,-2,0.3,-3.3,1,-4c1.3,-2.7,23.83,-20.7,67.5,-54
|
|
|
c44.2,-33.3,65.8,-50.3,66.5,-51c1.3,-1.3,3,-2,5,-2c4.7,0,8.7,3.3,12,10
|
|
|
s173,378,173,378c0.7,0,35.3,-71,104,-213c68.7,-142,137.5,-285,206.5,-429
|
|
|
c69,-144,104.5,-217.7,106.5,-221
|
|
|
l`+Z/2.075+" -"+Z+`
|
|
|
c5.3,-9.3,12,-14,20,-14
|
|
|
H400000v`+(40+Z)+`H845.2724
|
|
|
s-225.272,467,-225.272,467s-235,486,-235,486c-2.7,4.7,-9,7,-19,7
|
|
|
c-6,0,-10,-1,-12,-3s-194,-422,-194,-422s-65,47,-65,47z
|
|
|
M`+(834+Z)+" "+Y+"h400000v"+(40+Z)+"h-400000z"},Ne=function(Z,Y){return"M263,"+(601+Z+Y)+`c0.7,0,18,39.7,52,119
|
|
|
c34,79.3,68.167,158.7,102.5,238c34.3,79.3,51.8,119.3,52.5,120
|
|
|
c340,-704.7,510.7,-1060.3,512,-1067
|
|
|
l`+Z/2.084+" -"+Z+`
|
|
|
c4.7,-7.3,11,-11,19,-11
|
|
|
H40000v`+(40+Z)+`H1012.3
|
|
|
s-271.3,567,-271.3,567c-38.7,80.7,-84,175,-136,283c-52,108,-89.167,185.3,-111.5,232
|
|
|
c-22.3,46.7,-33.8,70.3,-34.5,71c-4.7,4.7,-12.3,7,-23,7s-12,-1,-12,-1
|
|
|
s-109,-253,-109,-253c-72.7,-168,-109.3,-252,-110,-252c-10.7,8,-22,16.7,-34,26
|
|
|
c-22,17.3,-33.3,26,-34,26s-26,-26,-26,-26s76,-59,76,-59s76,-60,76,-60z
|
|
|
M`+(1001+Z)+" "+Y+"h400000v"+(40+Z)+"h-400000z"},Ft=function(Z,Y){return"M983 "+(10+Z+Y)+`
|
|
|
l`+Z/3.13+" -"+Z+`
|
|
|
c4,-6.7,10,-10,18,-10 H400000v`+(40+Z)+`
|
|
|
H1013.1s-83.4,268,-264.1,840c-180.7,572,-277,876.3,-289,913c-4.7,4.7,-12.7,7,-24,7
|
|
|
s-12,0,-12,0c-1.3,-3.3,-3.7,-11.7,-7,-25c-35.3,-125.3,-106.7,-373.3,-214,-744
|
|
|
c-10,12,-21,25,-33,39s-32,39,-32,39c-6,-5.3,-15,-14,-27,-26s25,-30,25,-30
|
|
|
c26.7,-32.7,52,-63,76,-91s52,-60,52,-60s208,722,208,722
|
|
|
c56,-175.3,126.3,-397.3,211,-666c84.7,-268.7,153.8,-488.2,207.5,-658.5
|
|
|
c53.7,-170.3,84.5,-266.8,92.5,-289.5z
|
|
|
M`+(1001+Z)+" "+Y+"h400000v"+(40+Z)+"h-400000z"},gt=function(Z,Y){return"M424,"+(2398+Z+Y)+`
|
|
|
c-1.3,-0.7,-38.5,-172,-111.5,-514c-73,-342,-109.8,-513.3,-110.5,-514
|
|
|
c0,-2,-10.7,14.3,-32,49c-4.7,7.3,-9.8,15.7,-15.5,25c-5.7,9.3,-9.8,16,-12.5,20
|
|
|
s-5,7,-5,7c-4,-3.3,-8.3,-7.7,-13,-13s-13,-13,-13,-13s76,-122,76,-122s77,-121,77,-121
|
|
|
s209,968,209,968c0,-2,84.7,-361.7,254,-1079c169.3,-717.3,254.7,-1077.7,256,-1081
|
|
|
l`+Z/4.223+" -"+Z+`c4,-6.7,10,-10,18,-10 H400000
|
|
|
v`+(40+Z)+`H1014.6
|
|
|
s-87.3,378.7,-272.6,1166c-185.3,787.3,-279.3,1182.3,-282,1185
|
|
|
c-2,6,-10,9,-24,9
|
|
|
c-8,0,-12,-0.7,-12,-2z M`+(1001+Z)+" "+Y+`
|
|
|
h400000v`+(40+Z)+"h-400000z"},Dt=function(Z,Y){return"M473,"+(2713+Z+Y)+`
|
|
|
c339.3,-1799.3,509.3,-2700,510,-2702 l`+Z/5.298+" -"+Z+`
|
|
|
c3.3,-7.3,9.3,-11,18,-11 H400000v`+(40+Z)+`H1017.7
|
|
|
s-90.5,478,-276.2,1466c-185.7,988,-279.5,1483,-281.5,1485c-2,6,-10,9,-24,9
|
|
|
c-8,0,-12,-0.7,-12,-2c0,-1.3,-5.3,-32,-16,-92c-50.7,-293.3,-119.7,-693.3,-207,-1200
|
|
|
c0,-1.3,-5.3,8.7,-16,30c-10.7,21.3,-21.3,42.7,-32,64s-16,33,-16,33s-26,-26,-26,-26
|
|
|
s76,-153,76,-153s77,-151,77,-151c0.7,0.7,35.7,202,105,604c67.3,400.7,102,602.7,104,
|
|
|
606zM`+(1001+Z)+" "+Y+"h400000v"+(40+Z)+"H1017.7z"},rr=function(Z,Y,te){var de=te-54-Y-Z;return"M702 "+(Z+Y)+"H400000"+(40+Z)+`
|
|
|
H742v`+de+`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 `+Y+"H400000v"+(40+Z)+"H742z"},Xt=function(Z,Y,te){Y=1e3*Y;var de="";switch(Z){case"sqrtMain":de=He(Y,De);break;case"sqrtSize1":de=Ne(Y,De);break;case"sqrtSize2":de=Ft(Y,De);break;case"sqrtSize3":de=gt(Y,De);break;case"sqrtSize4":de=Dt(Y,De);break;case"sqrtTall":de=rr(Y,De,te)}return de},fr={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`},Ge=function(){function Ve(Y){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=Y,this.classes=[],this.height=0,this.depth=0,this.maxFontSize=0,this.style={}}var Z=Ve.prototype;return Z.hasClass=function(te){return A.contains(this.classes,te)},Z.toNode=function(){for(var te=document.createDocumentFragment(),de=0;de<this.children.length;de++)te.appendChild(this.children[de].toNode());return te},Z.toMarkup=function(){for(var te="",de=0;de<this.children.length;de++)te+=this.children[de].toMarkup();return te},Z.toText=function(){var te=function(Ae){return Ae.toText()};return this.children.map(te).join("")},Ve}(),Tt=function(Z){return Z.filter(function(Y){return Y}).join(" ")},zt=function(Z,Y,te){if(this.classes=Z||[],this.attributes={},this.height=0,this.depth=0,this.maxFontSize=0,this.style=te||{},Y){Y.style.isTight()&&this.classes.push("mtight");var de=Y.getColor();de&&(this.style.color=de)}},nt=function(Z){var Y=document.createElement(Z);Y.className=Tt(this.classes);for(var te in this.style)this.style.hasOwnProperty(te)&&(Y.style[te]=this.style[te]);for(var de in this.attributes)this.attributes.hasOwnProperty(de)&&Y.setAttribute(de,this.attributes[de]);for(var Ae=0;Ae<this.children.length;Ae++)Y.appendChild(this.children[Ae].toNode());return Y},bt=function(Z){var Y="<"+Z;this.classes.length&&(Y+=' class="'+A.escape(Tt(this.classes))+'"');var te="";for(var de in this.style)this.style.hasOwnProperty(de)&&(te+=A.hyphenate(de)+":"+this.style[de]+";");te&&(Y+=' style="'+A.escape(te)+'"');for(var Ae in this.attributes)this.attributes.hasOwnProperty(Ae)&&(Y+=" "+Ae+'="'+A.escape(this.attributes[Ae])+'"');Y+=">";for(var Ke=0;Ke<this.children.length;Ke++)Y+=this.children[Ke].toMarkup();return Y+="</"+Z+">",Y},dt=function(){function Ve(Y,te,de,Ae){this.children=void 0,this.attributes=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.width=void 0,this.maxFontSize=void 0,this.style=void 0,zt.call(this,Y,de,Ae),this.children=te||[]}var Z=Ve.prototype;return Z.setAttribute=function(te,de){this.attributes[te]=de},Z.hasClass=function(te){return A.contains(this.classes,te)},Z.toNode=function(){return nt.call(this,"span")},Z.toMarkup=function(){return bt.call(this,"span")},Ve}(),et=function(){function Ve(Y,te,de,Ae){this.children=void 0,this.attributes=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,zt.call(this,te,Ae),this.children=de||[],this.setAttribute("href",Y)}var Z=Ve.prototype;return Z.setAttribute=function(te,de){this.attributes[te]=de},Z.hasClass=function(te){return A.contains(this.classes,te)},Z.toNode=function(){return nt.call(this,"a")},Z.toMarkup=function(){return bt.call(this,"a")},Ve}(),ze=function(){function Ve(Y,te,de){this.src=void 0,this.alt=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,this.alt=te,this.src=Y,this.classes=["mord"],this.style=de}var Z=Ve.prototype;return Z.hasClass=function(te){return A.contains(this.classes,te)},Z.toNode=function(){var te=document.createElement("img");te.src=this.src,te.alt=this.alt,te.className="mord";for(var de in this.style)this.style.hasOwnProperty(de)&&(te.style[de]=this.style[de]);return te},Z.toMarkup=function(){var te="<img src='"+this.src+" 'alt='"+this.alt+"' ",de="";for(var Ae in this.style)this.style.hasOwnProperty(Ae)&&(de+=A.hyphenate(Ae)+":"+this.style[Ae]+";");return de&&(te+=' style="'+A.escape(de)+'"'),te+="'/>",te},Ve}(),ge={\u00EE:"\u0131\u0302",\u00EF:"\u0131\u0308",\u00ED:"\u0131\u0301",\u00EC:"\u0131\u0300"},Se=function(){function Ve(Y,te,de,Ae,Ke,Ct,Ut,nr){this.text=void 0,this.height=void 0,this.depth=void 0,this.italic=void 0,this.skew=void 0,this.width=void 0,this.maxFontSize=void 0,this.classes=void 0,this.style=void 0,this.text=Y,this.height=te||0,this.depth=de||0,this.italic=Ae||0,this.skew=Ke||0,this.width=Ct||0,this.classes=Ut||[],this.style=nr||{},this.maxFontSize=0;var It=ie(this.text.charCodeAt(0));It&&this.classes.push(It+"_fallback"),/[îïíì]/.test(this.text)&&(this.text=ge[this.text])}var Z=Ve.prototype;return Z.hasClass=function(te){return A.contains(this.classes,te)},Z.toNode=function(){var te=document.createTextNode(this.text),de=null;this.italic>0&&(de=document.createElement("span"),de.style.marginRight=this.italic+"em"),this.classes.length>0&&(de=de||document.createElement("span"),de.className=Tt(this.classes));for(var Ae in this.style)this.style.hasOwnProperty(Ae)&&(de=de||document.createElement("span"),de.style[Ae]=this.style[Ae]);return de?(de.appendChild(te),de):te},Z.toMarkup=function(){var te=!1,de="<span";this.classes.length&&(te=!0,de+=' class="',de+=A.escape(Tt(this.classes)),de+='"');var Ae="";this.italic>0&&(Ae+="margin-right:"+this.italic+"em;");for(var Ke in this.style)this.style.hasOwnProperty(Ke)&&(Ae+=A.hyphenate(Ke)+":"+this.style[Ke]+";");Ae&&(te=!0,de+=' style="'+A.escape(Ae)+'"');var Ct=A.escape(this.text);return te?(de+=">",de+=Ct,de+="</span>",de):Ct},Ve}(),Le=function(){function Ve(Y,te){this.children=void 0,this.attributes=void 0,this.children=Y||[],this.attributes=te||{}}var Z=Ve.prototype;return Z.toNode=function(){var te="http://www.w3.org/2000/svg",de=document.createElementNS(te,"svg");for(var Ae in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,Ae)&&de.setAttribute(Ae,this.attributes[Ae]);for(var Ke=0;Ke<this.children.length;Ke++)de.appendChild(this.children[Ke].toNode());return de},Z.toMarkup=function(){var te="<svg";for(var de in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,de)&&(te+=" "+de+"='"+this.attributes[de]+"'");te+=">";for(var Ae=0;Ae<this.children.length;Ae++)te+=this.children[Ae].toMarkup();return te+="</svg>",te},Ve}(),$e=function(){function Ve(Y,te){this.pathName=void 0,this.alternate=void 0,this.pathName=Y,this.alternate=te}var Z=Ve.prototype;return Z.toNode=function(){var te="http://www.w3.org/2000/svg",de=document.createElementNS(te,"path");return this.alternate?de.setAttribute("d",this.alternate):de.setAttribute("d",fr[this.pathName]),de},Z.toMarkup=function(){return this.alternate?"<path d='"+this.alternate+"'/>":"<path d='"+fr[this.pathName]+"'/>"},Ve}(),We=function(){function Ve(Y){this.attributes=void 0,this.attributes=Y||{}}var Z=Ve.prototype;return Z.toNode=function(){var te="http://www.w3.org/2000/svg",de=document.createElementNS(te,"line");for(var Ae in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,Ae)&&de.setAttribute(Ae,this.attributes[Ae]);return de},Z.toMarkup=function(){var te="<line";for(var de in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,de)&&(te+=" "+de+"='"+this.attributes[de]+"'");return te+="/>",te},Ve}();function rt(Ve){if(Ve instanceof Se)return Ve;throw new Error("Expected symbolNode but got "+String(Ve)+".")}function ot(Ve){if(Ve instanceof dt)return Ve;throw new Error("Expected span<HtmlDomNode> but got "+String(Ve)+".")}var Kt={"AMS-Regular":{65:[0,.68889,0,0,.72222],66:[0,.68889,0,0,.66667],67:[0,.68889,0,0,.72222],68:[0,.68889,0,0,.72222],69:[0,.68889,0,0,.66667],70:[0,.68889,0,0,.61111],71:[0,.68889,0,0,.77778],72:[0,.68889,0,0,.77778],73:[0,.68889,0,0,.38889],74:[.16667,.68889,0,0,.5],75:[0,.68889,0,0,.77778],76:[0,.68889,0,0,.66667],77:[0,.68889,0,0,.94445],78:[0,.68889,0,0,.72222],79:[.16667,.68889,0,0,.77778],80:[0,.68889,0,0,.61111],81:[.16667,.68889,0,0,.77778],82:[0,.68889,0,0,.72222],83:[0,.68889,0,0,.55556],84:[0,.68889,0,0,.66667],85:[0,.68889,0,0,.72222],86:[0,.68889,0,0,.72222],87:[0,.68889,0,0,1],88:[0,.68889,0,0,.72222],89:[0,.68889,0,0,.72222],90:[0,.68889,0,0,.66667],107:[0,.68889,0,0,.55556],165:[0,.675,.025,0,.75],174:[.15559,.69224,0,0,.94666],240:[0,.68889,0,0,.55556],295:[0,.68889,0,0,.54028],710:[0,.825,0,0,2.33334],732:[0,.9,0,0,2.33334],770:[0,.825,0,0,2.33334],771:[0,.9,0,0,2.33334],989:[.08167,.58167,0,0,.77778],1008:[0,.43056,.04028,0,.66667],8245:[0,.54986,0,0,.275],8463:[0,.68889,0,0,.54028],8487:[0,.68889,0,0,.72222],8498:[0,.68889,0,0,.55556],8502:[0,.68889,0,0,.66667],8503:[0,.68889,0,0,.44445],8504:[0,.68889,0,0,.66667],8513:[0,.68889,0,0,.63889],8592:[-.03598,.46402,0,0,.5],8594:[-.03598,.46402,0,0,.5],8602:[-.13313,.36687,0,0,1],8603:[-.13313,.36687,0,0,1],8606:[.01354,.52239,0,0,1],8608:[.01354,.52239,0,0,1],8610:[.01354,.52239,0,0,1.11111],8611:[.01354,.52239,0,0,1.11111],8619:[0,.54986,0,0,1],8620:[0,.54986,0,0,1],8621:[-.13313,.37788,0,0,1.38889],8622:[-.13313,.36687,0,0,1],8624:[0,.69224,0,0,.5],8625:[0,.69224,0,0,.5],8630:[0,.43056,0,0,1],8631:[0,.43056,0,0,1],8634:[.08198,.58198,0,0,.77778],8635:[.08198,.58198,0,0,.77778],8638:[.19444,.69224,0,0,.41667],8639:[.19444,.69224,0,0,.41667],8642:[.19444,.69224,0,0,.41667],8643:[.19444,.69224,0,0,.41667],8644:[.1808,.675,0,0,1],8646:[.1808,.675,0,0,1],8647:[.1808,.675,0,0,1],8648:[.19444,.69224,0,0,.83334],8649:[.1808,.675,0,0,1],8650:[.19444,.69224,0,0,.83334],8651:[.01354,.52239,0,0,1],8652:[.01354,.52239,0,0,1],8653:[-.13313,.36687,0,0,1],8654:[-.13313,.36687,0,0,1],8655:[-.13313,.36687,0,0,1],8666:[.13667,.63667,0,0,1],8667:[.13667,.63667,0,0,1],8669:[-.13313,.37788,0,0,1],8672:[-.064,.437,0,0,1.334],8674:[-.064,.437,0,0,1.334],8705:[0,.825,0,0,.5],8708:[0,.68889,0,0,.55556],8709:[.08167,.58167,0,0,.77778],8717:[0,.43056,0,0,.42917],8722:[-.03598,.46402,0,0,.5],8724:[.08198,.69224,0,0,.77778],8726:[.08167,.58167,0,0,.77778],8733:[0,.69224,0,0,.77778],8736:[0,.69224,0,0,.72222],8737:[0,.69224,0,0,.72222],8738:[.03517,.52239,0,0,.72222],8739:[.08167,.58167,0,0,.22222],8740:[.25142,.74111,0,0,.27778],8741:[.08167,.58167,0,0,.38889],8742:[.25142,.74111,0,0,.5],8756:[0,.69224,0,0,.66667],8757:[0,.69224,0,0,.66667],8764:[-.13313,.36687,0,0,.77778],8765:[-.13313,.37788,0,0,.77778],8769:[-.13313,.36687,0,0,.77778],8770:[-.03625,.46375,0,0,.77778],8774:[.30274,.79383,0,0,.77778],8776:[-.01688,.48312,0,0,.77778],8778:[.08167,.58167,0,0,.77778],8782:[.06062,.54986,0,0,.77778],8783:[.06062,.54986,0,0,.77778],8785:[.08198,.58198,0,0,.77778],8786:[.08198,.58198,0,0,.77778],8787:[.08198,.58198,0,0,.77778],8790:[0,.69224,0,0,.77778],8791:[.22958,.72958,0,0,.77778],8796:[.08198,.91667,0,0,.77778],8806:[.25583,.75583,0,0,.77778],8807:[.25583,.75583,0,0,.77778],8808:[.25142,.75726,0,0,.77778],8809:[.25142,.75726,0,0,.77778],8812:[.25583,.75583,0,0,.5],8814:[.20576,.70576,0,0,.77778],8815:[.20576,.70576,0,0,.77778],8816:[.30274,.79383,0,0,.77778],8817:[.30274,.79383,0,0,.77778],8818:[.22958,.72958,0,0,.77778],8819:[.22958,.72958,0,0,.77778],8822:[.1808,.675,0,0,.77778],8823:[.1808,.675,0,0,.77778],8828:[.13667,.63667,0,0,.77778],8829:[.13667,.63667,0,0,.77778],8830:[.22958,.72958,0,0,.77778],8831:[.22958,.72958,0,0,.77778],8832:[.20576,.70576,0,0,.77778],8833:[.20576,.70576,0,0,.77778],8840:[.30274,.79383,0,0,.77778],8841:[.30274,.79383,0,0,.77778],8842:[.13597,.63597,0,0,.77778],8843:[.13597,.63597,0,0,.77778],8847:[.03517,.54986,0,0,.77778],8848:[.03517,.54986,0,0,.77778],8858:[.08198,.58198,0,0,.77778],8859:[.08198,.58198,0,0,.77778],8861:[.08198,.58198,0,0,.77778],8862:[0,.675,0,0,.77778],8863:[0,.675,0,0,.77778],8864:[0,.675,0,0,.77778],8865:[0,.675,0,0,.77778],8872:[0,.69224,0,0,.61111],8873:[0,.69224,0,0,.72222],8874:[0,.69224,0,0,.88889],8876:[0,.68889,0,0,.61111],8877:[0,.68889,0,0,.61111],8878:[0,.68889,0,0,.72222],8879:[0,.68889,0,0,.72222],8882:[.03517,.54986,0,0,.77778],8883:[.03517,.54986,0,0,.77778],8884:[.13667,.63667,0,0,.77778],8885:[.13667,.63667,0,0,.77778],8888:[0,.54986,0,0,1.11111],8890:[.19444,.43056,0,0,.55556],8891:[.19444,.69224,0,0,.61111],8892:[.19444,.69224,0,0,.61111],8901:[0,.54986,0,0,.27778],8903:[.08167,.58167,0,0,.77778],8905:[.08167,.58167,0,0,.77778],8906:[.08167,.58167,0,0,.77778],8907:[0,.69224,0,0,.77778],8908:[0,.69224,0,0,.77778],8909:[-.03598,.46402,0,0,.77778],8910:[0,.54986,0,0,.76042],8911:[0,.54986,0,0,.76042],8912:[.03517,.54986,0,0,.77778],8913:[.03517,.54986,0,0,.77778],8914:[0,.54986,0,0,.66667],8915:[0,.54986,0,0,.66667],8916:[0,.69224,0,0,.66667],8918:[.0391,.5391,0,0,.77778],8919:[.0391,.5391,0,0,.77778],8920:[.03517,.54986,0,0,1.33334],8921:[.03517,.54986,0,0,1.33334],8922:[.38569,.88569,0,0,.77778],8923:[.38569,.88569,0,0,.77778],8926:[.13667,.63667,0,0,.77778],8927:[.13667,.63667,0,0,.77778],8928:[.30274,.79383,0,0,.77778],8929:[.30274,.79383,0,0,.77778],8934:[.23222,.74111,0,0,.77778],8935:[.23222,.74111,0,0,.77778],8936:[.23222,.74111,0,0,.77778],8937:[.23222,.74111,0,0,.77778],8938:[.20576,.70576,0,0,.77778],8939:[.20576,.70576,0,0,.77778],8940:[.30274,.79383,0,0,.77778],8941:[.30274,.79383,0,0,.77778],8994:[.19444,.69224,0,0,.77778],8995:[.19444,.69224,0,0,.77778],9416:[.15559,.69224,0,0,.90222],9484:[0,.69224,0,0,.5],9488:[0,.69224,0,0,.5],9492:[0,.37788,0,0,.5],9496:[0,.37788,0,0,.5],9585:[.19444,.68889,0,0,.88889],9586:[.19444,.74111,0,0,.88889],9632:[0,.675,0,0,.77778],9633:[0,.675,0,0,.77778],9650:[0,.54986,0,0,.72222],9651:[0,.54986,0,0,.72222],9654:[.03517,.54986,0,0,.77778],9660:[0,.54986,0,0,.72222],9661:[0,.54986,0,0,.72222],9664:[.03517,.54986,0,0,.77778],9674:[.11111,.69224,0,0,.66667],9733:[.19444,.69224,0,0,.94445],10003:[0,.69224,0,0,.83334],10016:[0,.69224,0,0,.83334],10731:[.11111,.69224,0,0,.66667],10846:[.19444,.75583,0,0,.61111],10877:[.13667,.63667,0,0,.77778],10878:[.13667,.63667,0,0,.77778],10885:[.25583,.75583,0,0,.77778],10886:[.25583,.75583,0,0,.77778],10887:[.13597,.63597,0,0,.77778],10888:[.13597,.63597,0,0,.77778],10889:[.26167,.75726,0,0,.77778],10890:[.26167,.75726,0,0,.77778],10891:[.48256,.98256,0,0,.77778],10892:[.48256,.98256,0,0,.77778],10901:[.13667,.63667,0,0,.77778],10902:[.13667,.63667,0,0,.77778],10933:[.25142,.75726,0,0,.77778],10934:[.25142,.75726,0,0,.77778],10935:[.26167,.75726,0,0,.77778],10936:[.26167,.75726,0,0,.77778],10937:[.26167,.75726,0,0,.77778],10938:[.26167,.75726,0,0,.77778],10949:[.25583,.75583,0,0,.77778],10950:[.25583,.75583,0,0,.77778],10955:[.28481,.79383,0,0,.77778],10956:[.28481,.79383,0,0,.77778],57350:[.08167,.58167,0,0,.22222],57351:[.08167,.58167,0,0,.38889],57352:[.08167,.58167,0,0,.77778],57353:[0,.43056,.04028,0,.66667],57356:[.25142,.75726,0,0,.77778],57357:[.25142,.75726,0,0,.77778],57358:[.41951,.91951,0,0,.77778],57359:[.30274,.79383,0,0,.77778],57360:[.30274,.79383,0,0,.77778],57361:[.41951,.91951,0,0,.77778],57366:[.25142,.75726,0,0,.77778],57367:[.25142,.75726,0,0,.77778],57368:[.25142,.75726,0,0,.77778],57369:[.25142,.75726,0,0,.77778],57370:[.13597,.63597,0,0,.77778],57371:[.13597,.63597,0,0,.77778]},"Caligraphic-Regular":{48:[0,.43056,0,0,.5],49:[0,.43056,0,0,.5],50:[0,.43056,0,0,.5],51:[.19444,.43056,0,0,.5],52:[.19444,.43056,0,0,.5],53:[.19444,.43056,0,0,.5],54:[0,.64444,0,0,.5],55:[.19444,.43056,0,0,.5],56:[0,.64444,0,0,.5],57:[.19444,.43056,0,0,.5],65:[0,.68333,0,.19445,.79847],66:[0,.68333,.03041,.13889,.65681],67:[0,.68333,.05834,.13889,.52653],68:[0,.68333,.02778,.08334,.77139],69:[0,.68333,.08944,.11111,.52778],70:[0,.68333,.09931,.11111,.71875],71:[.09722,.68333,.0593,.11111,.59487],72:[0,.68333,.00965,.11111,.84452],73:[0,.68333,.07382,0,.54452],74:[.09722,.68333,.18472,.16667,.67778],75:[0,.68333,.01445,.05556,.76195],76:[0,.68333,0,.13889,.68972],77:[0,.68333,0,.13889,1.2009],78:[0,.68333,.14736,.08334,.82049],79:[0,.68333,.02778,.11111,.79611],80:[0,.68333,.08222,.08334,.69556],81:[.09722,.68333,0,.11111,.81667],82:[0,.68333,0,.08334,.8475],83:[0,.68333,.075,.13889,.60556],84:[0,.68333,.25417,0,.54464],85:[0,.68333,.09931,.08334,.62583],86:[0,.68333,.08222,0,.61278],87:[0,.68333,.08222,.08334,.98778],88:[0,.68333,.14643,.13889,.7133],89:[.09722,.68333,.08222,.08334,.66834],90:[0,.68333,.07944,.13889,.72473]},"Fraktur-Regular":{33:[0,.69141,0,0,.29574],34:[0,.69141,0,0,.21471],38:[0,.69141,0,0,.73786],39:[0,.69141,0,0,.21201],40:[.24982,.74947,0,0,.38865],41:[.24982,.74947,0,0,.38865],42:[0,.62119,0,0,.27764],43:[.08319,.58283,0,0,.75623],44:[0,.10803,0,0,.27764],45:[.08319,.58283,0,0,.75623],46:[0,.10803,0,0,.27764],47:[.24982,.74947,0,0,.50181],48:[0,.47534,0,0,.50181],49:[0,.47534,0,0,.50181],50:[0,.47534,0,0,.50181],51:[.18906,.47534,0,0,.50181],52:[.18906,.47534,0,0,.50181],53:[.18906,.47534,0,0,.50181],54:[0,.69141,0,0,.50181],55:[.18906,.47534,0,0,.50181],56:[0,.69141,0,0,.50181],57:[.18906,.47534,0,0,.50181],58:[0,.47534,0,0,.21606],59:[.12604,.47534,0,0,.21606],61:[-.13099,.36866,0,0,.75623],63:[0,.69141,0,0,.36245],65:[0,.69141,0,0,.7176],66:[0,.69141,0,0,.88397],67:[0,.69141,0,0,.61254],68:[0,.69141,0,0,.83158],69:[0,.69141,0,0,.66278],70:[.12604,.69141,0,0,.61119],71:[0,.69141,0,0,.78539],72:[.06302,.69141,0,0,.7203],73:[0,.69141,0,0,.55448],74:[.12604,.69141,0,0,.55231],75:[0,.69141,0,0,.66845],76:[0,.69141,0,0,.66602],77:[0,.69141,0,0,1.04953],78:[0,.69141,0,0,.83212],79:[0,.69141,0,0,.82699],80:[.18906,.69141,0,0,.82753],81:[.03781,.69141,0,0,.82699],82:[0,.69141,0,0,.82807],83:[0,.69141,0,0,.82861],84:[0,.69141,0,0,.66899],85:[0,.69141,0,0,.64576],86:[0,.69141,0,0,.83131],87:[0,.69141,0,0,1.04602],88:[0,.69141,0,0,.71922],89:[.18906,.69141,0,0,.83293],90:[.12604,.69141,0,0,.60201],91:[.24982,.74947,0,0,.27764],93:[.24982,.74947,0,0,.27764],94:[0,.69141,0,0,.49965],97:[0,.47534,0,0,.50046],98:[0,.69141,0,0,.51315],99:[0,.47534,0,0,.38946],100:[0,.62119,0,0,.49857],101:[0,.47534,0,0,.40053],102:[.18906,.69141,0,0,.32626],103:[.18906,.47534,0,0,.5037],104:[.18906,.69141,0,0,.52126],105:[0,.69141,0,0,.27899],106:[0,.69141,0,0,.28088],107:[0,.69141,0,0,.38946],108:[0,.69141,0,0,.27953],109:[0,.47534,0,0,.76676],110:[0,.47534,0,0,.52666],111:[0,.47534,0,0,.48885],112:[.18906,.52396,0,0,.50046],113:[.18906,.47534,0,0,.48912],114:[0,.47534,0,0,.38919],115:[0,.47534,0,0,.44266],116:[0,.62119,0,0,.33301],117:[0,.47534,0,0,.5172],118:[0,.52396,0,0,.5118],119:[0,.52396,0,0,.77351],120:[.18906,.47534,0,0,.38865],121:[.18906,.47534,0,0,.49884],122:[.18906,.47534,0,0,.39054],8216:[0,.69141,0,0,.21471],8217:[0,.69141,0,0,.21471],58112:[0,.62119,0,0,.49749],58113:[0,.62119,0,0,.4983],58114:[.18906,.69141,0,0,.33328],58115:[.18906,.69141,0,0,.32923],58116:[.18906,.47534,0,0,.50343],58117:[0,.69141,0,0,.33301],58118:[0,.62119,0,0,.33409],58119:[0,.47534,0,0,.50073]},"Main-Bold":{33:[0,.69444,0,0,.35],34:[0,.69444,0,0,.60278],35:[.19444,.69444,0,0,.95833],36:[.05556,.75,0,0,.575],37:[.05556,.75,0,0,.95833],38:[0,.69444,0,0,.89444],39:[0,.69444,0,0,.31944],40:[.25,.75,0,0,.44722],41:[.25,.75,0,0,.44722],42:[0,.75,0,0,.575],43:[.13333,.63333,0,0,.89444],44:[.19444,.15556,0,0,.31944],45:[0,.44444,0,0,.38333],46:[0,.15556,0,0,.31944],47:[.25,.75,0,0,.575],48:[0,.64444,0,0,.575],49:[0,.64444,0,0,.575],50:[0,.64444,0,0,.575],51:[0,.64444,0,0,.575],52:[0,.64444,0,0,.575],53:[0,.64444,0,0,.575],54:[0,.64444,0,0,.575],55:[0,.64444,0,0,.575],56:[0,.64444,0,0,.575],57:[0,.64444,0,0,.575],58:[0,.44444,0,0,.31944],59:[.19444,.44444,0,0,.31944],60:[.08556,.58556,0,0,.89444],61:[-.10889,.39111,0,0,.89444],62:[.08556,.58556,0,0,.89444],63:[0,.69444,0,0,.54305],64:[0,.69444,0,0,.89444],65:[0,.68611,0,0,.86944],66:[0,.68611,0,0,.81805],67:[0,.68611,0,0,.83055],68:[0,.68611,0,0,.88194],69:[0,.68611,0,0,.75555],70:[0,.68611,0,0,.72361],71:[0,.68611,0,0,.90416],72:[0,.68611,0,0,.9],73:[0,.68611,0,0,.43611],74:[0,.68611,0,0,.59444],75:[0,.68611,0,0,.90138],76:[0,.68611,0,0,.69166],77:[0,.68611,0,0,1.09166],78:[0,.68611,0,0,.9],79:[0,.68611,0,0,.86388],80:[0,.68611,0,0,.78611],81:[.19444,.68611,0,0,.86388],82:[0,.68611,0,0,.8625],83:[0,.68611,0,0,.63889],84:[0,.68611,0,0,.8],85:[0,.68611,0,0,.88472],86:[0,.68611,.01597,0,.86944],87:[0,.68611,.01597,0,1.18888],88:[0,.68611,0,0,.86944],89:[0,.68611,.02875,0,.86944],90:[0,.68611,0,0,.70277],91:[.25,.75,0,0,.31944],92:[.25,.75,0,0,.575],93:[.25,.75,0,0,.31944],94:[0,.69444,0,0,.575],95:[.31,.13444,.03194,0,.575],97:[0,.44444,0,0,.55902],98:[0,.69444,0,0,.63889],99:[0,.44444,0,0,.51111],100:[0,.69444,0,0,.63889],101:[0,.44444,0,0,.52708],102:[0,.69444,.10903,0,.35139],103:[.19444,.44444,.01597,0,.575],104:[0,.69444,0,0,.63889],105:[0,.69444,0,0,.31944],106:[.19444,.69444,0,0,.35139],107:[0,.69444,0,0,.60694],108:[0,.69444,0,0,.31944],109:[0,.44444,0,0,.95833],110:[0,.44444,0,0,.63889],111:[0,.44444,0,0,.575],112:[.19444,.44444,0,0,.63889],113:[.19444,.44444,0,0,.60694],114:[0,.44444,0,0,.47361],115:[0,.44444,0,0,.45361],116:[0,.63492,0,0,.44722],117:[0,.44444,0,0,.63889],118:[0,.44444,.01597,0,.60694],119:[0,.44444,.01597,0,.83055],120:[0,.44444,0,0,.60694],121:[.19444,.44444,.01597,0,.60694],122:[0,.44444,0,0,.51111],123:[.25,.75,0,0,.575],124:[.25,.75,0,0,.31944],125:[.25,.75,0,0,.575],126:[.35,.34444,0,0,.575],168:[0,.69444,0,0,.575],172:[0,.44444,0,0,.76666],176:[0,.69444,0,0,.86944],177:[.13333,.63333,0,0,.89444],184:[.17014,0,0,0,.51111],198:[0,.68611,0,0,1.04166],215:[.13333,.63333,0,0,.89444],216:[.04861,.73472,0,0,.89444],223:[0,.69444,0,0,.59722],230:[0,.44444,0,0,.83055],247:[.13333,.63333,0,0,.89444],248:[.09722,.54167,0,0,.575],305:[0,.44444,0,0,.31944],338:[0,.68611,0,0,1.16944],339:[0,.44444,0,0,.89444],567:[.19444,.44444,0,0,.35139],710:[0,.69444,0,0,.575],711:[0,.63194,0,0,.575],713:[0,.59611,0,0,.575],714:[0,.69444,0,0,.575],715:[0,.69444,0,0,.575],728:[0,.69444,0,0,.575],729:[0,.69444,0,0,.31944],730:[0,.69444,0,0,.86944],732:[0,.69444,0,0,.575],733:[0,.69444,0,0,.575],915:[0,.68611,0,0,.69166],916:[0,.68611,0,0,.95833],920:[0,.68611,0,0,.89444],923:[0,.68611,0,0,.80555],926:[0,.68611,0,0,.76666],928:[0,.68611,0,0,.9],931:[0,.68611,0,0,.83055],933:[0,.68611,0,0,.89444],934:[0,.68611,0,0,.83055],936:[0,.68611,0,0,.89444],937:[0,.68611,0,0,.83055],8211:[0,.44444,.03194,0,.575],8212:[0,.44444,.03194,0,1.14999],8216:[0,.69444,0,0,.31944],8217:[0,.69444,0,0,.31944],8220:[0,.69444,0,0,.60278],8221:[0,.69444,0,0,.60278],8224:[.19444,.69444,0,0,.51111],8225:[.19444,.69444,0,0,.51111],8242:[0,.55556,0,0,.34444],8407:[0,.72444,.15486,0,.575],8463:[0,.69444,0,0,.66759],8465:[0,.69444,0,0,.83055],8467:[0,.69444,0,0,.47361],8472:[.19444,.44444,0,0,.74027],8476:[0,.69444,0,0,.83055],8501:[0,.69444,0,0,.70277],8592:[-.10889,.39111,0,0,1.14999],8593:[.19444,.69444,0,0,.575],8594:[-.10889,.39111,0,0,1.14999],8595:[.19444,.69444,0,0,.575],8596:[-.10889,.39111,0,0,1.14999],8597:[.25,.75,0,0,.575],8598:[.19444,.69444,0,0,1.14999],8599:[.19444,.69444,0,0,1.14999],8600:[.19444,.69444,0,0,1.14999],8601:[.19444,.69444,0,0,1.14999],8636:[-.10889,.39111,0,0,1.14999],8637:[-.10889,.39111,0,0,1.14999],8640:[-.10889,.39111,0,0,1.14999],8641:[-.10889,.39111,0,0,1.14999],8656:[-.10889,.39111,0,0,1.14999],8657:[.19444,.69444,0,0,.70277],8658:[-.10889,.39111,0,0,1.14999],8659:[.19444,.69444,0,0,.70277],8660:[-.10889,.39111,0,0,1.14999],8661:[.25,.75,0,0,.70277],8704:[0,.69444,0,0,.63889],8706:[0,.69444,.06389,0,.62847],8707:[0,.69444,0,0,.63889],8709:[.05556,.75,0,0,.575],8711:[0,.68611,0,0,.95833],8712:[.08556,.58556,0,0,.76666],8715:[.08556,.58556,0,0,.76666],8722:[.13333,.63333,0,0,.89444],8723:[.13333,.63333,0,0,.89444],8725:[.25,.75,0,0,.575],8726:[.25,.75,0,0,.575],8727:[-.02778,.47222,0,0,.575],8728:[-.02639,.47361,0,0,.575],8729:[-.02639,.47361,0,0,.575],8730:[.18,.82,0,0,.95833],8733:[0,.44444,0,0,.89444],8734:[0,.44444,0,0,1.14999],8736:[0,.69224,0,0,.72222],8739:[.25,.75,0,0,.31944],8741:[.25,.75,0,0,.575],8743:[0,.55556,0,0,.76666],8744:[0,.55556,0,0,.76666],8745:[0,.55556,0,0,.76666],8746:[0,.55556,0,0,.76666],8747:[.19444,.69444,.12778,0,.56875],8764:[-.10889,.39111,0,0,.89444],8768:[.19444,.69444,0,0,.31944],8771:[.00222,.50222,0,0,.89444],8776:[.02444,.52444,0,0,.89444],8781:[.00222,.50222,0,0,.89444],8801:[.00222,.50222,0,0,.89444],8804:[.19667,.69667,0,0,.89444],8805:[.19667,.69667,0,0,.89444],8810:[.08556,.58556,0,0,1.14999],8811:[.08556,.58556,0,0,1.14999],8826:[.08556,.58556,0,0,.89444],8827:[.08556,.58556,0,0,.89444],8834:[.08556,.58556,0,0,.89444],8835:[.08556,.58556,0,0,.89444],8838:[.19667,.69667,0,0,.89444],8839:[.19667,.69667,0,0,.89444],8846:[0,.55556,0,0,.76666],8849:[.19667,.69667,0,0,.89444],8850:[.19667,.69667,0,0,.89444],8851:[0,.55556,0,0,.76666],8852:[0,.55556,0,0,.76666],8853:[.13333,.63333,0,0,.89444],8854:[.13333,.63333,0,0,.89444],8855:[.13333,.63333,0,0,.89444],8856:[.13333,.63333,0,0,.89444],8857:[.13333,.63333,0,0,.89444],8866:[0,.69444,0,0,.70277],8867:[0,.69444,0,0,.70277],8868:[0,.69444,0,0,.89444],8869:[0,.69444,0,0,.89444],8900:[-.02639,.47361,0,0,.575],8901:[-.02639,.47361,0,0,.31944],8902:[-.02778,.47222,0,0,.575],8968:[.25,.75,0,0,.51111],8969:[.25,.75,0,0,.51111],8970:[.25,.75,0,0,.51111],8971:[.25,.75,0,0,.51111],8994:[-.13889,.36111,0,0,1.14999],8995:[-.13889,.36111,0,0,1.14999],9651:[.19444,.69444,0,0,1.02222],9657:[-.02778,.47222,0,0,.575],9661:[.19444,.69444,0,0,1.02222],9667:[-.02778,.47222,0,0,.575],9711:[.19444,.69444,0,0,1.14999],9824:[.12963,.69444,0,0,.89444],9825:[.12963,.69444,0,0,.89444],9826:[.12963,.69444,0,0,.89444],9827:[.12963,.69444,0,0,.89444],9837:[0,.75,0,0,.44722],9838:[.19444,.69444,0,0,.44722],9839:[.19444,.69444,0,0,.44722],10216:[.25,.75,0,0,.44722],10217:[.25,.75,0,0,.44722],10815:[0,.68611,0,0,.9],10927:[.19667,.69667,0,0,.89444],10928:[.19667,.69667,0,0,.89444],57376:[.19444,.69444,0,0,0]},"Main-BoldItalic":{33:[0,.69444,.11417,0,.38611],34:[0,.69444,.07939,0,.62055],35:[.19444,.69444,.06833,0,.94444],37:[.05556,.75,.12861,0,.94444],38:[0,.69444,.08528,0,.88555],39:[0,.69444,.12945,0,.35555],40:[.25,.75,.15806,0,.47333],41:[.25,.75,.03306,0,.47333],42:[0,.75,.14333,0,.59111],43:[.10333,.60333,.03306,0,.88555],44:[.19444,.14722,0,0,.35555],45:[0,.44444,.02611,0,.41444],46:[0,.14722,0,0,.35555],47:[.25,.75,.15806,0,.59111],48:[0,.64444,.13167,0,.59111],49:[0,.64444,.13167,0,.59111],50:[0,.64444,.13167,0,.59111],51:[0,.64444,.13167,0,.59111],52:[.19444,.64444,.13167,0,.59111],53:[0,.64444,.13167,0,.59111],54:[0,.64444,.13167,0,.59111],55:[.19444,.64444,.13167,0,.59111],56:[0,.64444,.13167,0,.59111],57:[0,.64444,.13167,0,.59111],58:[0,.44444,.06695,0,.35555],59:[.19444,.44444,.06695,0,.35555],61:[-.10889,.39111,.06833,0,.88555],63:[0,.69444,.11472,0,.59111],64:[0,.69444,.09208,0,.88555],65:[0,.68611,0,0,.86555],66:[0,.68611,.0992,0,.81666],67:[0,.68611,.14208,0,.82666],68:[0,.68611,.09062,0,.87555],69:[0,.68611,.11431,0,.75666],70:[0,.68611,.12903,0,.72722],71:[0,.68611,.07347,0,.89527],72:[0,.68611,.17208,0,.8961],73:[0,.68611,.15681,0,.47166],74:[0,.68611,.145,0,.61055],75:[0,.68611,.14208,0,.89499],76:[0,.68611,0,0,.69777],77:[0,.68611,.17208,0,1.07277],78:[0,.68611,.17208,0,.8961],79:[0,.68611,.09062,0,.85499],80:[0,.68611,.0992,0,.78721],81:[.19444,.68611,.09062,0,.85499],82:[0,.68611,.02559,0,.85944],83:[0,.68611,.11264,0,.64999],84:[0,.68611,.12903,0,.7961],85:[0,.68611,.17208,0,.88083],86:[0,.68611,.18625,0,.86555],87:[0,.68611,.18625,0,1.15999],88:[0,.68611,.15681,0,.86555],89:[0,.68611,.19803,0,.86555],90:[0,.68611,.14208,0,.70888],91:[.25,.75,.1875,0,.35611],93:[.25,.75,.09972,0,.35611],94:[0,.69444,.06709,0,.59111],95:[.31,.13444,.09811,0,.59111],97:[0,.44444,.09426,0,.59111],98:[0,.69444,.07861,0,.53222],99:[0,.44444,.05222,0,.53222],100:[0,.69444,.10861,0,.59111],101:[0,.44444,.085,0,.53222],102:[.19444,.69444,.21778,0,.4],103:[.19444,.44444,.105,0,.53222],104:[0,.69444,.09426,0,.59111],105:[0,.69326,.11387,0,.35555],106:[.19444,.69326,.1672,0,.35555],107:[0,.69444,.11111,0,.53222],108:[0,.69444,.10861,0,.29666],109:[0,.44444,.09426,0,.94444],110:[0,.44444,.09426,0,.64999],111:[0,.44444,.07861,0,.59111],112:[.19444,.44444,.07861,0,.59111],113:[.19444,.44444,.105,0,.53222],114:[0,.44444,.11111,0,.50167],115:[0,.44444,.08167,0,.48694],116:[0,.63492,.09639,0,.385],117:[0,.44444,.09426,0,.62055],118:[0,.44444,.11111,0,.53222],119:[0,.44444,.11111,0,.76777],120:[0,.44444,.12583,0,.56055],121:[.19444,.44444,.105,0,.56166],122:[0,.44444,.13889,0,.49055],126:[.35,.34444,.11472,0,.59111],163:[0,.69444,0,0,.86853],168:[0,.69444,.11473,0,.59111],176:[0,.69444,0,0,.94888],184:[.17014,0,0,0,.53222],198:[0,.68611,.11431,0,1.02277],216:[.04861,.73472,.09062,0,.88555],223:[.19444,.69444,.09736,0,.665],230:[0,.44444,.085,0,.82666],248:[.09722,.54167,.09458,0,.59111],305:[0,.44444,.09426,0,.35555],338:[0,.68611,.11431,0,1.14054],339:[0,.44444,.085,0,.82666],567:[.19444,.44444,.04611,0,.385],710:[0,.69444,.06709,0,.59111],711:[0,.63194,.08271,0,.59111],713:[0,.59444,.10444,0,.59111],714:[0,.69444,.08528,0,.59111],715:[0,.69444,0,0,.59111],728:[0,.69444,.10333,0,.59111],729:[0,.69444,.12945,0,.35555],730:[0,.69444,0,0,.94888],732:[0,.69444,.11472,0,.59111],733:[0,.69444,.11472,0,.59111],915:[0,.68611,.12903,0,.69777],916:[0,.68611,0,0,.94444],920:[0,.68611,.09062,0,.88555],923:[0,.68611,0,0,.80666],926:[0,.68611,.15092,0,.76777],928:[0,.68611,.17208,0,.8961],931:[0,.68611,.11431,0,.82666],933:[0,.68611,.10778,0,.88555],934:[0,.68611,.05632,0,.82666],936:[0,.68611,.10778,0,.88555],937:[0,.68611,.0992,0,.82666],8211:[0,.44444,.09811,0,.59111],8212:[0,.44444,.09811,0,1.18221],8216:[0,.69444,.12945,0,.35555],8217:[0,.69444,.12945,0,.35555],8220:[0,.69444,.16772,0,.62055],8221:[0,.69444,.07939,0,.62055]},"Main-Italic":{33:[0,.69444,.12417,0,.30667],34:[0,.69444,.06961,0,.51444],35:[.19444,.69444,.06616,0,.81777],37:[.05556,.75,.13639,0,.81777],38:[0,.69444,.09694,0,.76666],39:[0,.69444,.12417,0,.30667],40:[.25,.75,.16194,0,.40889],41:[.25,.75,.03694,0,.40889],42:[0,.75,.14917,0,.51111],43:[.05667,.56167,.03694,0,.76666],44:[.19444,.10556,0,0,.30667],45:[0,.43056,.02826,0,.35778],46:[0,.10556,0,0,.30667],47:[.25,.75,.16194,0,.51111],48:[0,.64444,.13556,0,.51111],49:[0,.64444,.13556,0,.51111],50:[0,.64444,.13556,0,.51111],51:[0,.64444,.13556,0,.51111],52:[.19444,.64444,.13556,0,.51111],53:[0,.64444,.13556,0,.51111],54:[0,.64444,.13556,0,.51111],55:[.19444,.64444,.13556,0,.51111],56:[0,.64444,.13556,0,.51111],57:[0,.64444,.13556,0,.51111],58:[0,.43056,.0582,0,.30667],59:[.19444,.43056,.0582,0,.30667],61:[-.13313,.36687,.06616,0,.76666],63:[0,.69444,.1225,0,.51111],64:[0,.69444,.09597,0,.76666],65:[0,.68333,0,0,.74333],66:[0,.68333,.10257,0,.70389],67:[0,.68333,.14528,0,.71555],68:[0,.68333,.09403,0,.755],69:[0,.68333,.12028,0,.67833],70:[0,.68333,.13305,0,.65277],71:[0,.68333,.08722,0,.77361],72:[0,.68333,.16389,0,.74333],73:[0,.68333,.15806,0,.38555],74:[0,.68333,.14028,0,.525],75:[0,.68333,.14528,0,.76888],76:[0,.68333,0,0,.62722],77:[0,.68333,.16389,0,.89666],78:[0,.68333,.16389,0,.74333],79:[0,.68333,.09403,0,.76666],80:[0,.68333,.10257,0,.67833],81:[.19444,.68333,.09403,0,.76666],82:[0,.68333,.03868,0,.72944],83:[0,.68333,.11972,0,.56222],84:[0,.68333,.13305,0,.71555],85:[0,.68333,.16389,0,.74333],86:[0,.68333,.18361,0,.74333],87:[0,.68333,.18361,0,.99888],88:[0,.68333,.15806,0,.74333],89:[0,.68333,.19383,0,.74333],90:[0,.68333,.14528,0,.61333],91:[.25,.75,.1875,0,.30667],93:[.25,.75,.10528,0,.30667],94:[0,.69444,.06646,0,.51111],95:[.31,.12056,.09208,0,.51111],97:[0,.43056,.07671,0,.51111],98:[0,.69444,.06312,0,.46],99:[0,.43056,.05653,0,.46],100:[0,.69444,.10333,0,.51111],101:[0,.43056,.07514,0,.46],102:[.19444,.69444,.21194,0,.30667],103:[.19444,.43056,.08847,0,.46],104:[0,.69444,.07671,0,.51111],105:[0,.65536,.1019,0,.30667],106:[.19444,.65536,.14467,0,.30667],107:[0,.69444,.10764,0,.46],108:[0,.69444,.10333,0,.25555],109:[0,.43056,.07671,0,.81777],110:[0,.43056,.07671,0,.56222],111:[0,.43056,.06312,0,.51111],112:[.19444,.43056,.06312,0,.51111],113:[.19444,.43056,.08847,0,.46],114:[0,.43056,.10764,0,.42166],115:[0,.43056,.08208,0,.40889],116:[0,.61508,.09486,0,.33222],117:[0,.43056,.07671,0,.53666],118:[0,.43056,.10764,0,.46],119:[0,.43056,.10764,0,.66444],120:[0,.43056,.12042,0,.46389],121:[.19444,.43056,.08847,0,.48555],122:[0,.43056,.12292,0,.40889],126:[.35,.31786,.11585,0,.51111],163:[0,.69444,0,0,.76909],168:[0,.66786,.10474,0,.51111],176:[0,.69444,0,0,.83129],184:[.17014,0,0,0,.46],198:[0,.68333,.12028,0,.88277],216:[.04861,.73194,.09403,0,.76666],223:[.19444,.69444,.10514,0,.53666],230:[0,.43056,.07514,0,.71555],248:[.09722,.52778,.09194,0,.51111],305:[0,.43056,0,.02778,.32246],338:[0,.68333,.12028,0,.98499],339:[0,.43056,.07514,0,.71555],567:[.19444,.43056,0,.08334,.38403],710:[0,.69444,.06646,0,.51111],711:[0,.62847,.08295,0,.51111],713:[0,.56167,.10333,0,.51111],714:[0,.69444,.09694,0,.51111],715:[0,.69444,0,0,.51111],728:[0,.69444,.10806,0,.51111],729:[0,.66786,.11752,0,.30667],730:[0,.69444,0,0,.83129],732:[0,.66786,.11585,0,.51111],733:[0,.69444,.1225,0,.51111],915:[0,.68333,.13305,0,.62722],916:[0,.68333,0,0,.81777],920:[0,.68333,.09403,0,.76666],923:[0,.68333,0,0,.69222],926:[0,.68333,.15294,0,.66444],928:[0,.68333,.16389,0,.74333],931:[0,.68333,.12028,0,.71555],933:[0,.68333,.11111,0,.76666],934:[0,.68333,.05986,0,.71555],936:[0,.68333,.11111,0,.76666],937:[0,.68333,.10257,0,.71555],8211:[0,.43056,.09208,0,.51111],8212:[0,.43056,.09208,0,1.02222],8216:[0,.69444,.12417,0,.30667],8217:[0,.69444,.12417,0,.30667],8220:[0,.69444,.1685,0,.51444],8221:[0,.69444,.06961,0,.51444],8463:[0,.68889,0,0,.54028]},"Main-Regular":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.27778],34:[0,.69444,0,0,.5],35:[.19444,.69444,0,0,.83334],36:[.05556,.75,0,0,.5],37:[.05556,.75,0,0,.83334],38:[0,.69444,0,0,.77778],39:[0,.69444,0,0,.27778],40:[.25,.75,0,0,.38889],41:[.25,.75,0,0,.38889],42:[0,.75,0,0,.5],43:[.08333,.58333,0,0,.77778],44:[.19444,.10556,0,0,.27778],45:[0,.43056,0,0,.33333],46:[0,.10556,0,0,.27778],47:[.25,.75,0,0,.5],48:[0,.64444,0,0,.5],49:[0,.64444,0,0,.5],50:[0,.64444,0,0,.5],51:[0,.64444,0,0,.5],52:[0,.64444,0,0,.5],53:[0,.64444,0,0,.5],54:[0,.64444,0,0,.5],55:[0,.64444,0,0,.5],56:[0,.64444,0,0,.5],57:[0,.64444,0,0,.5],58:[0,.43056,0,0,.27778],59:[.19444,.43056,0,0,.27778],60:[.0391,.5391,0,0,.77778],61:[-.13313,.36687,0,0,.77778],62:[.0391,.5391,0,0,.77778],63:[0,.69444,0,0,.47222],64:[0,.69444,0,0,.77778],65:[0,.68333,0,0,.75],66:[0,.68333,0,0,.70834],67:[0,.68333,0,0,.72222],68:[0,.68333,0,0,.76389],69:[0,.68333,0,0,.68056],70:[0,.68333,0,0,.65278],71:[0,.68333,0,0,.78472],72:[0,.68333,0,0,.75],73:[0,.68333,0,0,.36111],74:[0,.68333,0,0,.51389],75:[0,.68333,0,0,.77778],76:[0,.68333,0,0,.625],77:[0,.68333,0,0,.91667],78:[0,.68333,0,0,.75],79:[0,.68333,0,0,.77778],80:[0,.68333,0,0,.68056],81:[.19444,.68333,0,0,.77778],82:[0,.68333,0,0,.73611],83:[0,.68333,0,0,.55556],84:[0,.68333,0,0,.72222],85:[0,.68333,0,0,.75],86:[0,.68333,.01389,0,.75],87:[0,.68333,.01389,0,1.02778],88:[0,.68333,0,0,.75],89:[0,.68333,.025,0,.75],90:[0,.68333,0,0,.61111],91:[.25,.75,0,0,.27778],92:[.25,.75,0,0,.5],93:[.25,.75,0,0,.27778],94:[0,.69444,0,0,.5],95:[.31,.12056,.02778,0,.5],97:[0,.43056,0,0,.5],98:[0,.69444,0,0,.55556],99:[0,.43056,0,0,.44445],100:[0,.69444,0,0,.55556],101:[0,.43056,0,0,.44445],102:[0,.69444,.07778,0,.30556],103:[.19444,.43056,.01389,0,.5],104:[0,.69444,0,0,.55556],105:[0,.66786,0,0,.27778],106:[.19444,.66786,0,0,.30556],107:[0,.69444,0,0,.52778],108:[0,.69444,0,0,.27778],109:[0,.43056,0,0,.83334],110:[0,.43056,0,0,.55556],111:[0,.43056,0,0,.5],112:[.19444,.43056,0,0,.55556],113:[.19444,.43056,0,0,.52778],114:[0,.43056,0,0,.39167],115:[0,.43056,0,0,.39445],116:[0,.61508,0,0,.38889],117:[0,.43056,0,0,.55556],118:[0,.43056,.01389,0,.52778],119:[0,.43056,.01389,0,.72222],120:[0,.43056,0,0,.52778],121:[.19444,.43056,.01389,0,.52778],122:[0,.43056,0,0,.44445],123:[.25,.75,0,0,.5],124:[.25,.75,0,0,.27778],125:[.25,.75,0,0,.5],126:[.35,.31786,0,0,.5],160:[0,0,0,0,.25],167:[.19444,.69444,0,0,.44445],168:[0,.66786,0,0,.5],172:[0,.43056,0,0,.66667],176:[0,.69444,0,0,.75],177:[.08333,.58333,0,0,.77778],182:[.19444,.69444,0,0,.61111],184:[.17014,0,0,0,.44445],198:[0,.68333,0,0,.90278],215:[.08333,.58333,0,0,.77778],216:[.04861,.73194,0,0,.77778],223:[0,.69444,0,0,.5],230:[0,.43056,0,0,.72222],247:[.08333,.58333,0,0,.77778],248:[.09722,.52778,0,0,.5],305:[0,.43056,0,0,.27778],338:[0,.68333,0,0,1.01389],339:[0,.43056,0,0,.77778],567:[.19444,.43056,0,0,.30556],710:[0,.69444,0,0,.5],711:[0,.62847,0,0,.5],713:[0,.56778,0,0,.5],714:[0,.69444,0,0,.5],715:[0,.69444,0,0,.5],728:[0,.69444,0,0,.5],729:[0,.66786,0,0,.27778],730:[0,.69444,0,0,.75],732:[0,.66786,0,0,.5],733:[0,.69444,0,0,.5],915:[0,.68333,0,0,.625],916:[0,.68333,0,0,.83334],920:[0,.68333,0,0,.77778],923:[0,.68333,0,0,.69445],926:[0,.68333,0,0,.66667],928:[0,.68333,0,0,.75],931:[0,.68333,0,0,.72222],933:[0,.68333,0,0,.77778],934:[0,.68333,0,0,.72222],936:[0,.68333,0,0,.77778],937:[0,.68333,0,0,.72222],8211:[0,.43056,.02778,0,.5],8212:[0,.43056,.02778,0,1],8216:[0,.69444,0,0,.27778],8217:[0,.69444,0,0,.27778],8220:[0,.69444,0,0,.5],8221:[0,.69444,0,0,.5],8224:[.19444,.69444,0,0,.44445],8225:[.19444,.69444,0,0,.44445],8230:[0,.12,0,0,1.172],8242:[0,.55556,0,0,.275],8407:[0,.71444,.15382,0,.5],8463:[0,.68889,0,0,.54028],8465:[0,.69444,0,0,.72222],8467:[0,.69444,0,.11111,.41667],8472:[.19444,.43056,0,.11111,.63646],8476:[0,.69444,0,0,.72222],8501:[0,.69444,0,0,.61111],8592:[-.13313,.36687,0,0,1],8593:[.19444,.69444,0,0,.5],8594:[-.13313,.36687,0,0,1],8595:[.19444,.69444,0,0,.5],8596:[-.13313,.36687,0,0,1],8597:[.25,.75,0,0,.5],8598:[.19444,.69444,0,0,1],8599:[.19444,.69444,0,0,1],8600:[.19444,.69444,0,0,1],8601:[.19444,.69444,0,0,1],8614:[.011,.511,0,0,1],8617:[.011,.511,0,0,1.126],8618:[.011,.511,0,0,1.126],8636:[-.13313,.36687,0,0,1],8637:[-.13313,.36687,0,0,1],8640:[-.13313,.36687,0,0,1],8641:[-.13313,.36687,0,0,1],8652:[.011,.671,0,0,1],8656:[-.13313,.36687,0,0,1],8657:[.19444,.69444,0,0,.61111],8658:[-.13313,.36687,0,0,1],8659:[.19444,.69444,0,0,.61111],8660:[-.13313,.36687,0,0,1],8661:[.25,.75,0,0,.61111],8704:[0,.69444,0,0,.55556],8706:[0,.69444,.05556,.08334,.5309],8707:[0,.69444,0,0,.55556],8709:[.05556,.75,0,0,.5],8711:[0,.68333,0,0,.83334],8712:[.0391,.5391,0,0,.66667],8715:[.0391,.5391,0,0,.66667],8722:[.08333,.58333,0,0,.77778],8723:[.08333,.58333,0,0,.77778],8725:[.25,.75,0,0,.5],8726:[.25,.75,0,0,.5],8727:[-.03472,.46528,0,0,.5],8728:[-.05555,.44445,0,0,.5],8729:[-.05555,.44445,0,0,.5],8730:[.2,.8,0,0,.83334],8733:[0,.43056,0,0,.77778],8734:[0,.43056,0,0,1],8736:[0,.69224,0,0,.72222],8739:[.25,.75,0,0,.27778],8741:[.25,.75,0,0,.5],8743:[0,.55556,0,0,.66667],8744:[0,.55556,0,0,.66667],8745:[0,.55556,0,0,.66667],8746:[0,.55556,0,0,.66667],8747:[.19444,.69444,.11111,0,.41667],8764:[-.13313,.36687,0,0,.77778],8768:[.19444,.69444,0,0,.27778],8771:[-.03625,.46375,0,0,.77778],8773:[-.022,.589,0,0,1],8776:[-.01688,.48312,0,0,.77778],8781:[-.03625,.46375,0,0,.77778],8784:[-.133,.67,0,0,.778],8801:[-.03625,.46375,0,0,.77778],8804:[.13597,.63597,0,0,.77778],8805:[.13597,.63597,0,0,.77778],8810:[.0391,.5391,0,0,1],8811:[.0391,.5391,0,0,1],8826:[.0391,.5391,0,0,.77778],8827:[.0391,.5391,0,0,.77778],8834:[.0391,.5391,0,0,.77778],8835:[.0391,.5391,0,0,.77778],8838:[.13597,.63597,0,0,.77778],8839:[.13597,.63597,0,0,.77778],8846:[0,.55556,0,0,.66667],8849:[.13597,.63597,0,0,.77778],8850:[.13597,.63597,0,0,.77778],8851:[0,.55556,0,0,.66667],8852:[0,.55556,0,0,.66667],8853:[.08333,.58333,0,0,.77778],8854:[.08333,.58333,0,0,.77778],8855:[.08333,.58333,0,0,.77778],8856:[.08333,.58333,0,0,.77778],8857:[.08333,.58333,0,0,.77778],8866:[0,.69444,0,0,.61111],8867:[0,.69444,0,0,.61111],8868:[0,.69444,0,0,.77778],8869:[0,.69444,0,0,.77778],8872:[.249,.75,0,0,.867],8900:[-.05555,.44445,0,0,.5],8901:[-.05555,.44445,0,0,.27778],8902:[-.03472,.46528,0,0,.5],8904:[.005,.505,0,0,.9],8942:[.03,.9,0,0,.278],8943:[-.19,.31,0,0,1.172],8945:[-.1,.82,0,0,1.282],8968:[.25,.75,0,0,.44445],8969:[.25,.75,0,0,.44445],8970:[.25,.75,0,0,.44445],8971:[.25,.75,0,0,.44445],8994:[-.14236,.35764,0,0,1],8995:[-.14236,.35764,0,0,1],9136:[.244,.744,0,0,.412],9137:[.244,.744,0,0,.412],9651:[.19444,.69444,0,0,.88889],9657:[-.03472,.46528,0,0,.5],9661:[.19444,.69444,0,0,.88889],9667:[-.03472,.46528,0,0,.5],9711:[.19444,.69444,0,0,1],9824:[.12963,.69444,0,0,.77778],9825:[.12963,.69444,0,0,.77778],9826:[.12963,.69444,0,0,.77778],9827:[.12963,.69444,0,0,.77778],9837:[0,.75,0,0,.38889],9838:[.19444,.69444,0,0,.38889],9839:[.19444,.69444,0,0,.38889],10216:[.25,.75,0,0,.38889],10217:[.25,.75,0,0,.38889],10222:[.244,.744,0,0,.412],10223:[.244,.744,0,0,.412],10229:[.011,.511,0,0,1.609],10230:[.011,.511,0,0,1.638],10231:[.011,.511,0,0,1.859],10232:[.024,.525,0,0,1.609],10233:[.024,.525,0,0,1.638],10234:[.024,.525,0,0,1.858],10236:[.011,.511,0,0,1.638],10815:[0,.68333,0,0,.75],10927:[.13597,.63597,0,0,.77778],10928:[.13597,.63597,0,0,.77778],57376:[.19444,.69444,0,0,0]},"Math-BoldItalic":{65:[0,.68611,0,0,.86944],66:[0,.68611,.04835,0,.8664],67:[0,.68611,.06979,0,.81694],68:[0,.68611,.03194,0,.93812],69:[0,.68611,.05451,0,.81007],70:[0,.68611,.15972,0,.68889],71:[0,.68611,0,0,.88673],72:[0,.68611,.08229,0,.98229],73:[0,.68611,.07778,0,.51111],74:[0,.68611,.10069,0,.63125],75:[0,.68611,.06979,0,.97118],76:[0,.68611,0,0,.75555],77:[0,.68611,.11424,0,1.14201],78:[0,.68611,.11424,0,.95034],79:[0,.68611,.03194,0,.83666],80:[0,.68611,.15972,0,.72309],81:[.19444,.68611,0,0,.86861],82:[0,.68611,.00421,0,.87235],83:[0,.68611,.05382,0,.69271],84:[0,.68611,.15972,0,.63663],85:[0,.68611,.11424,0,.80027],86:[0,.68611,.25555,0,.67778],87:[0,.68611,.15972,0,1.09305],88:[0,.68611,.07778,0,.94722],89:[0,.68611,.25555,0,.67458],90:[0,.68611,.06979,0,.77257],97:[0,.44444,0,0,.63287],98:[0,.69444,0,0,.52083],99:[0,.44444,0,0,.51342],100:[0,.69444,0,0,.60972],101:[0,.44444,0,0,.55361],102:[.19444,.69444,.11042,0,.56806],103:[.19444,.44444,.03704,0,.5449],104:[0,.69444,0,0,.66759],105:[0,.69326,0,0,.4048],106:[.19444,.69326,.0622,0,.47083],107:[0,.69444,.01852,0,.6037],108:[0,.69444,.0088,0,.34815],109:[0,.44444,0,0,1.0324],110:[0,.44444,0,0,.71296],111:[0,.44444,0,0,.58472],112:[.19444,.44444,0,0,.60092],113:[.19444,.44444,.03704,0,.54213],114:[0,.44444,.03194,0,.5287],115:[0,.44444,0,0,.53125],116:[0,.63492,0,0,.41528],117:[0,.44444,0,0,.68102],118:[0,.44444,.03704,0,.56666],119:[0,.44444,.02778,0,.83148],120:[0,.44444,0,0,.65903],121:[.19444,.44444,.03704,0,.59028],122:[0,.44444,.04213,0,.55509],915:[0,.68611,.15972,0,.65694],916:[0,.68611,0,0,.95833],920:[0,.68611,.03194,0,.86722],923:[0,.68611,0,0,.80555],926:[0,.68611,.07458,0,.84125],928:[0,.68611,.08229,0,.98229],931:[0,.68611,.05451,0,.88507],933:[0,.68611,.15972,0,.67083],934:[0,.68611,0,0,.76666],936:[0,.68611,.11653,0,.71402],937:[0,.68611,.04835,0,.8789],945:[0,.44444,0,0,.76064],946:[.19444,.69444,.03403,0,.65972],947:[.19444,.44444,.06389,0,.59003],948:[0,.69444,.03819,0,.52222],949:[0,.44444,0,0,.52882],950:[.19444,.69444,.06215,0,.50833],951:[.19444,.44444,.03704,0,.6],952:[0,.69444,.03194,0,.5618],953:[0,.44444,0,0,.41204],954:[0,.44444,0,0,.66759],955:[0,.69444,0,0,.67083],956:[.19444,.44444,0,0,.70787],957:[0,.44444,.06898,0,.57685],958:[.19444,.69444,.03021,0,.50833],959:[0,.44444,0,0,.58472],960:[0,.44444,.03704,0,.68241],961:[.19444,.44444,0,0,.6118],962:[.09722,.44444,.07917,0,.42361],963:[0,.44444,.03704,0,.68588],964:[0,.44444,.13472,0,.52083],965:[0,.44444,.03704,0,.63055],966:[.19444,.44444,0,0,.74722],967:[.19444,.44444,0,0,.71805],968:[.19444,.69444,.03704,0,.75833],969:[0,.44444,.03704,0,.71782],977:[0,.69444,0,0,.69155],981:[.19444,.69444,0,0,.7125],982:[0,.44444,.03194,0,.975],1009:[.19444,.44444,0,0,.6118],1013:[0,.44444,0,0,.48333]},"Math-Italic":{65:[0,.68333,0,.13889,.75],66:[0,.68333,.05017,.08334,.75851],67:[0,.68333,.07153,.08334,.71472],68:[0,.68333,.02778,.05556,.82792],69:[0,.68333,.05764,.08334,.7382],70:[0,.68333,.13889,.08334,.64306],71:[0,.68333,0,.08334,.78625],72:[0,.68333,.08125,.05556,.83125],73:[0,.68333,.07847,.11111,.43958],74:[0,.68333,.09618,.16667,.55451],75:[0,.68333,.07153,.05556,.84931],76:[0,.68333,0,.02778,.68056],77:[0,.68333,.10903,.08334,.97014],78:[0,.68333,.10903,.08334,.80347],79:[0,.68333,.02778,.08334,.76278],80:[0,.68333,.13889,.08334,.64201],81:[.19444,.68333,0,.08334,.79056],82:[0,.68333,.00773,.08334,.75929],83:[0,.68333,.05764,.08334,.6132],84:[0,.68333,.13889,.08334,.58438],85:[0,.68333,.10903,.02778,.68278],86:[0,.68333,.22222,0,.58333],87:[0,.68333,.13889,0,.94445],88:[0,.68333,.07847,.08334,.82847],89:[0,.68333,.22222,0,.58056],90:[0,.68333,.07153,.08334,.68264],97:[0,.43056,0,0,.52859],98:[0,.69444,0,0,.42917],99:[0,.43056,0,.05556,.43276],100:[0,.69444,0,.16667,.52049],101:[0,.43056,0,.05556,.46563],102:[.19444,.69444,.10764,.16667,.48959],103:[.19444,.43056,.03588,.02778,.47697],104:[0,.69444,0,0,.57616],105:[0,.65952,0,0,.34451],106:[.19444,.65952,.05724,0,.41181],107:[0,.69444,.03148,0,.5206],108:[0,.69444,.01968,.08334,.29838],109:[0,.43056,0,0,.87801],110:[0,.43056,0,0,.60023],111:[0,.43056,0,.05556,.48472],112:[.19444,.43056,0,.08334,.50313],113:[.19444,.43056,.03588,.08334,.44641],114:[0,.43056,.02778,.05556,.45116],115:[0,.43056,0,.05556,.46875],116:[0,.61508,0,.08334,.36111],117:[0,.43056,0,.02778,.57246],118:[0,.43056,.03588,.02778,.48472],119:[0,.43056,.02691,.08334,.71592],120:[0,.43056,0,.02778,.57153],121:[.19444,.43056,.03588,.05556,.49028],122:[0,.43056,.04398,.05556,.46505],915:[0,.68333,.13889,.08334,.61528],916:[0,.68333,0,.16667,.83334],920:[0,.68333,.02778,.08334,.76278],923:[0,.68333,0,.16667,.69445],926:[0,.68333,.07569,.08334,.74236],928:[0,.68333,.08125,.05556,.83125],931:[0,.68333,.05764,.08334,.77986],933:[0,.68333,.13889,.05556,.58333],934:[0,.68333,0,.08334,.66667],936:[0,.68333,.11,.05556,.61222],937:[0,.68333,.05017,.08334,.7724],945:[0,.43056,.0037,.02778,.6397],946:[.19444,.69444,.05278,.08334,.56563],947:[.19444,.43056,.05556,0,.51773],948:[0,.69444,.03785,.05556,.44444],949:[0,.43056,0,.08334,.46632],950:[.19444,.69444,.07378,.08334,.4375],951:[.19444,.43056,.03588,.05556,.49653],952:[0,.69444,.02778,.08334,.46944],953:[0,.43056,0,.05556,.35394],954:[0,.43056,0,0,.57616],955:[0,.69444,0,0,.58334],956:[.19444,.43056,0,.02778,.60255],957:[0,.43056,.06366,.02778,.49398],958:[.19444,.69444,.04601,.11111,.4375],959:[0,.43056,0,.05556,.48472],960:[0,.43056,.03588,0,.57003],961:[.19444,.43056,0,.08334,.51702],962:[.09722,.43056,.07986,.08334,.36285],963:[0,.43056,.03588,0,.57141],964:[0,.43056,.1132,.02778,.43715],965:[0,.43056,.03588,.02778,.54028],966:[.19444,.43056,0,.08334,.65417],967:[.19444,.43056,0,.05556,.62569],968:[.19444,.69444,.03588,.11111,.65139],969:[0,.43056,.03588,0,.62245],977:[0,.69444,0,.08334,.59144],981:[.19444,.69444,0,.08334,.59583],982:[0,.43056,.02778,0,.82813],1009:[.19444,.43056,0,.08334,.51702],1013:[0,.43056,0,.05556,.4059]},"Math-Regular":{65:[0,.68333,0,.13889,.75],66:[0,.68333,.05017,.08334,.75851],67:[0,.68333,.07153,.08334,.71472],68:[0,.68333,.02778,.05556,.82792],69:[0,.68333,.05764,.08334,.7382],70:[0,.68333,.13889,.08334,.64306],71:[0,.68333,0,.08334,.78625],72:[0,.68333,.08125,.05556,.83125],73:[0,.68333,.07847,.11111,.43958],74:[0,.68333,.09618,.16667,.55451],75:[0,.68333,.07153,.05556,.84931],76:[0,.68333,0,.02778,.68056],77:[0,.68333,.10903,.08334,.97014],78:[0,.68333,.10903,.08334,.80347],79:[0,.68333,.02778,.08334,.76278],80:[0,.68333,.13889,.08334,.64201],81:[.19444,.68333,0,.08334,.79056],82:[0,.68333,.00773,.08334,.75929],83:[0,.68333,.05764,.08334,.6132],84:[0,.68333,.13889,.08334,.58438],85:[0,.68333,.10903,.02778,.68278],86:[0,.68333,.22222,0,.58333],87:[0,.68333,.13889,0,.94445],88:[0,.68333,.07847,.08334,.82847],89:[0,.68333,.22222,0,.58056],90:[0,.68333,.07153,.08334,.68264],97:[0,.43056,0,0,.52859],98:[0,.69444,0,0,.42917],99:[0,.43056,0,.05556,.43276],100:[0,.69444,0,.16667,.52049],101:[0,.43056,0,.05556,.46563],102:[.19444,.69444,.10764,.16667,.48959],103:[.19444,.43056,.03588,.02778,.47697],104:[0,.69444,0,0,.57616],105:[0,.65952,0,0,.34451],106:[.19444,.65952,.05724,0,.41181],107:[0,.69444,.03148,0,.5206],108:[0,.69444,.01968,.08334,.29838],109:[0,.43056,0,0,.87801],110:[0,.43056,0,0,.60023],111:[0,.43056,0,.05556,.48472],112:[.19444,.43056,0,.08334,.50313],113:[.19444,.43056,.03588,.08334,.44641],114:[0,.43056,.02778,.05556,.45116],115:[0,.43056,0,.05556,.46875],116:[0,.61508,0,.08334,.36111],117:[0,.43056,0,.02778,.57246],118:[0,.43056,.03588,.02778,.48472],119:[0,.43056,.02691,.08334,.71592],120:[0,.43056,0,.02778,.57153],121:[.19444,.43056,.03588,.05556,.49028],122:[0,.43056,.04398,.05556,.46505],915:[0,.68333,.13889,.08334,.61528],916:[0,.68333,0,.16667,.83334],920:[0,.68333,.02778,.08334,.76278],923:[0,.68333,0,.16667,.69445],926:[0,.68333,.07569,.08334,.74236],928:[0,.68333,.08125,.05556,.83125],931:[0,.68333,.05764,.08334,.77986],933:[0,.68333,.13889,.05556,.58333],934:[0,.68333,0,.08334,.66667],936:[0,.68333,.11,.05556,.61222],937:[0,.68333,.05017,.08334,.7724],945:[0,.43056,.0037,.02778,.6397],946:[.19444,.69444,.05278,.08334,.56563],947:[.19444,.43056,.05556,0,.51773],948:[0,.69444,.03785,.05556,.44444],949:[0,.43056,0,.08334,.46632],950:[.19444,.69444,.07378,.08334,.4375],951:[.19444,.43056,.03588,.05556,.49653],952:[0,.69444,.02778,.08334,.46944],953:[0,.43056,0,.05556,.35394],954:[0,.43056,0,0,.57616],955:[0,.69444,0,0,.58334],956:[.19444,.43056,0,.02778,.60255],957:[0,.43056,.06366,.02778,.49398],958:[.19444,.69444,.04601,.11111,.4375],959:[0,.43056,0,.05556,.48472],960:[0,.43056,.03588,0,.57003],961:[.19444,.43056,0,.08334,.51702],962:[.09722,.43056,.07986,.08334,.36285],963:[0,.43056,.03588,0,.57141],964:[0,.43056,.1132,.02778,.43715],965:[0,.43056,.03588,.02778,.54028],966:[.19444,.43056,0,.08334,.65417],967:[.19444,.43056,0,.05556,.62569],968:[.19444,.69444,.03588,.11111,.65139],969:[0,.43056,.03588,0,.62245],977:[0,.69444,0,.08334,.59144],981:[.19444,.69444,0,.08334,.59583],982:[0,.43056,.02778,0,.82813],1009:[.19444,.43056,0,.08334,.51702],1013:[0,.43056,0,.05556,.4059]},"SansSerif-Bold":{33:[0,.69444,0,0,.36667],34:[0,.69444,0,0,.55834],35:[.19444,.69444,0,0,.91667],36:[.05556,.75,0,0,.55],37:[.05556,.75,0,0,1.02912],38:[0,.69444,0,0,.83056],39:[0,.69444,0,0,.30556],40:[.25,.75,0,0,.42778],41:[.25,.75,0,0,.42778],42:[0,.75,0,0,.55],43:[.11667,.61667,0,0,.85556],44:[.10556,.13056,0,0,.30556],45:[0,.45833,0,0,.36667],46:[0,.13056,0,0,.30556],47:[.25,.75,0,0,.55],48:[0,.69444,0,0,.55],49:[0,.69444,0,0,.55],50:[0,.69444,0,0,.55],51:[0,.69444,0,0,.55],52:[0,.69444,0,0,.55],53:[0,.69444,0,0,.55],54:[0,.69444,0,0,.55],55:[0,.69444,0,0,.55],56:[0,.69444,0,0,.55],57:[0,.69444,0,0,.55],58:[0,.45833,0,0,.30556],59:[.10556,.45833,0,0,.30556],61:[-.09375,.40625,0,0,.85556],63:[0,.69444,0,0,.51945],64:[0,.69444,0,0,.73334],65:[0,.69444,0,0,.73334],66:[0,.69444,0,0,.73334],67:[0,.69444,0,0,.70278],68:[0,.69444,0,0,.79445],69:[0,.69444,0,0,.64167],70:[0,.69444,0,0,.61111],71:[0,.69444,0,0,.73334],72:[0,.69444,0,0,.79445],73:[0,.69444,0,0,.33056],74:[0,.69444,0,0,.51945],75:[0,.69444,0,0,.76389],76:[0,.69444,0,0,.58056],77:[0,.69444,0,0,.97778],78:[0,.69444,0,0,.79445],79:[0,.69444,0,0,.79445],80:[0,.69444,0,0,.70278],81:[.10556,.69444,0,0,.79445],82:[0,.69444,0,0,.70278],83:[0,.69444,0,0,.61111],84:[0,.69444,0,0,.73334],85:[0,.69444,0,0,.76389],86:[0,.69444,.01528,0,.73334],87:[0,.69444,.01528,0,1.03889],88:[0,.69444,0,0,.73334],89:[0,.69444,.0275,0,.73334],90:[0,.69444,0,0,.67223],91:[.25,.75,0,0,.34306],93:[.25,.75,0,0,.34306],94:[0,.69444,0,0,.55],95:[.35,.10833,.03056,0,.55],97:[0,.45833,0,0,.525],98:[0,.69444,0,0,.56111],99:[0,.45833,0,0,.48889],100:[0,.69444,0,0,.56111],101:[0,.45833,0,0,.51111],102:[0,.69444,.07639,0,.33611],103:[.19444,.45833,.01528,0,.55],104:[0,.69444,0,0,.56111],105:[0,.69444,0,0,.25556],106:[.19444,.69444,0,0,.28611],107:[0,.69444,0,0,.53056],108:[0,.69444,0,0,.25556],109:[0,.45833,0,0,.86667],110:[0,.45833,0,0,.56111],111:[0,.45833,0,0,.55],112:[.19444,.45833,0,0,.56111],113:[.19444,.45833,0,0,.56111],114:[0,.45833,.01528,0,.37222],115:[0,.45833,0,0,.42167],116:[0,.58929,0,0,.40417],117:[0,.45833,0,0,.56111],118:[0,.45833,.01528,0,.5],119:[0,.45833,.01528,0,.74445],120:[0,.45833,0,0,.5],121:[.19444,.45833,.01528,0,.5],122:[0,.45833,0,0,.47639],126:[.35,.34444,0,0,.55],168:[0,.69444,0,0,.55],176:[0,.69444,0,0,.73334],180:[0,.69444,0,0,.55],184:[.17014,0,0,0,.48889],305:[0,.45833,0,0,.25556],567:[.19444,.45833,0,0,.28611],710:[0,.69444,0,0,.55],711:[0,.63542,0,0,.55],713:[0,.63778,0,0,.55],728:[0,.69444,0,0,.55],729:[0,.69444,0,0,.30556],730:[0,.69444,0,0,.73334],732:[0,.69444,0,0,.55],733:[0,.69444,0,0,.55],915:[0,.69444,0,0,.58056],916:[0,.69444,0,0,.91667],920:[0,.69444,0,0,.85556],923:[0,.69444,0,0,.67223],926:[0,.69444,0,0,.73334],928:[0,.69444,0,0,.79445],931:[0,.69444,0,0,.79445],933:[0,.69444,0,0,.85556],934:[0,.69444,0,0,.79445],936:[0,.69444,0,0,.85556],937:[0,.69444,0,0,.79445],8211:[0,.45833,.03056,0,.55],8212:[0,.45833,.03056,0,1.10001],8216:[0,.69444,0,0,.30556],8217:[0,.69444,0,0,.30556],8220:[0,.69444,0,0,.55834],8221:[0,.69444,0,0,.55834]},"SansSerif-Italic":{33:[0,.69444,.05733,0,.31945],34:[0,.69444,.00316,0,.5],35:[.19444,.69444,.05087,0,.83334],36:[.05556,.75,.11156,0,.5],37:[.05556,.75,.03126,0,.83334],38:[0,.69444,.03058,0,.75834],39:[0,.69444,.07816,0,.27778],40:[.25,.75,.13164,0,.38889],41:[.25,.75,.02536,0,.38889],42:[0,.75,.11775,0,.5],43:[.08333,.58333,.02536,0,.77778],44:[.125,.08333,0,0,.27778],45:[0,.44444,.01946,0,.33333],46:[0,.08333,0,0,.27778],47:[.25,.75,.13164,0,.5],48:[0,.65556,.11156,0,.5],49:[0,.65556,.11156,0,.5],50:[0,.65556,.11156,0,.5],51:[0,.65556,.11156,0,.5],52:[0,.65556,.11156,0,.5],53:[0,.65556,.11156,0,.5],54:[0,.65556,.11156,0,.5],55:[0,.65556,.11156,0,.5],56:[0,.65556,.11156,0,.5],57:[0,.65556,.11156,0,.5],58:[0,.44444,.02502,0,.27778],59:[.125,.44444,.02502,0,.27778],61:[-.13,.37,.05087,0,.77778],63:[0,.69444,.11809,0,.47222],64:[0,.69444,.07555,0,.66667],65:[0,.69444,0,0,.66667],66:[0,.69444,.08293,0,.66667],67:[0,.69444,.11983,0,.63889],68:[0,.69444,.07555,0,.72223],69:[0,.69444,.11983,0,.59722],70:[0,.69444,.13372,0,.56945],71:[0,.69444,.11983,0,.66667],72:[0,.69444,.08094,0,.70834],73:[0,.69444,.13372,0,.27778],74:[0,.69444,.08094,0,.47222],75:[0,.69444,.11983,0,.69445],76:[0,.69444,0,0,.54167],77:[0,.69444,.08094,0,.875],78:[0,.69444,.08094,0,.70834],79:[0,.69444,.07555,0,.73611],80:[0,.69444,.08293,0,.63889],81:[.125,.69444,.07555,0,.73611],82:[0,.69444,.08293,0,.64584],83:[0,.69444,.09205,0,.55556],84:[0,.69444,.13372,0,.68056],85:[0,.69444,.08094,0,.6875],86:[0,.69444,.1615,0,.66667],87:[0,.69444,.1615,0,.94445],88:[0,.69444,.13372,0,.66667],89:[0,.69444,.17261,0,.66667],90:[0,.69444,.11983,0,.61111],91:[.25,.75,.15942,0,.28889],93:[.25,.75,.08719,0,.28889],94:[0,.69444,.0799,0,.5],95:[.35,.09444,.08616,0,.5],97:[0,.44444,.00981,0,.48056],98:[0,.69444,.03057,0,.51667],99:[0,.44444,.08336,0,.44445],100:[0,.69444,.09483,0,.51667],101:[0,.44444,.06778,0,.44445],102:[0,.69444,.21705,0,.30556],103:[.19444,.44444,.10836,0,.5],104:[0,.69444,.01778,0,.51667],105:[0,.67937,.09718,0,.23889],106:[.19444,.67937,.09162,0,.26667],107:[0,.69444,.08336,0,.48889],108:[0,.69444,.09483,0,.23889],109:[0,.44444,.01778,0,.79445],110:[0,.44444,.01778,0,.51667],111:[0,.44444,.06613,0,.5],112:[.19444,.44444,.0389,0,.51667],113:[.19444,.44444,.04169,0,.51667],114:[0,.44444,.10836,0,.34167],115:[0,.44444,.0778,0,.38333],116:[0,.57143,.07225,0,.36111],117:[0,.44444,.04169,0,.51667],118:[0,.44444,.10836,0,.46111],119:[0,.44444,.10836,0,.68334],120:[0,.44444,.09169,0,.46111],121:[.19444,.44444,.10836,0,.46111],122:[0,.44444,.08752,0,.43472],126:[.35,.32659,.08826,0,.5],168:[0,.67937,.06385,0,.5],176:[0,.69444,0,0,.73752],184:[.17014,0,0,0,.44445],305:[0,.44444,.04169,0,.23889],567:[.19444,.44444,.04169,0,.26667],710:[0,.69444,.0799,0,.5],711:[0,.63194,.08432,0,.5],713:[0,.60889,.08776,0,.5],714:[0,.69444,.09205,0,.5],715:[0,.69444,0,0,.5],728:[0,.69444,.09483,0,.5],729:[0,.67937,.07774,0,.27778],730:[0,.69444,0,0,.73752],732:[0,.67659,.08826,0,.5],733:[0,.69444,.09205,0,.5],915:[0,.69444,.13372,0,.54167],916:[0,.69444,0,0,.83334],920:[0,.69444,.07555,0,.77778],923:[0,.69444,0,0,.61111],926:[0,.69444,.12816,0,.66667],928:[0,.69444,.08094,0,.70834],931:[0,.69444,.11983,0,.72222],933:[0,.69444,.09031,0,.77778],934:[0,.69444,.04603,0,.72222],936:[0,.69444,.09031,0,.77778],937:[0,.69444,.08293,0,.72222],8211:[0,.44444,.08616,0,.5],8212:[0,.44444,.08616,0,1],8216:[0,.69444,.07816,0,.27778],8217:[0,.69444,.07816,0,.27778],8220:[0,.69444,.14205,0,.5],8221:[0,.69444,.00316,0,.5]},"SansSerif-Regular":{33:[0,.69444,0,0,.31945],34:[0,.69444,0,0,.5],35:[.19444,.69444,0,0,.83334],36:[.05556,.75,0,0,.5],37:[.05556,.75,0,0,.83334],38:[0,.69444,0,0,.75834],39:[0,.69444,0,0,.27778],40:[.25,.75,0,0,.38889],41:[.25,.75,0,0,.38889],42:[0,.75,0,0,.5],43:[.08333,.58333,0,0,.77778],44:[.125,.08333,0,0,.27778],45:[0,.44444,0,0,.33333],46:[0,.08333,0,0,.27778],47:[.25,.75,0,0,.5],48:[0,.65556,0,0,.5],49:[0,.65556,0,0,.5],50:[0,.65556,0,0,.5],51:[0,.65556,0,0,.5],52:[0,.65556,0,0,.5],53:[0,.65556,0,0,.5],54:[0,.65556,0,0,.5],55:[0,.65556,0,0,.5],56:[0,.65556,0,0,.5],57:[0,.65556,0,0,.5],58:[0,.44444,0,0,.27778],59:[.125,.44444,0,0,.27778],61:[-.13,.37,0,0,.77778],63:[0,.69444,0,0,.47222],64:[0,.69444,0,0,.66667],65:[0,.69444,0,0,.66667],66:[0,.69444,0,0,.66667],67:[0,.69444,0,0,.63889],68:[0,.69444,0,0,.72223],69:[0,.69444,0,0,.59722],70:[0,.69444,0,0,.56945],71:[0,.69444,0,0,.66667],72:[0,.69444,0,0,.70834],73:[0,.69444,0,0,.27778],74:[0,.69444,0,0,.47222],75:[0,.69444,0,0,.69445],76:[0,.69444,0,0,.54167],77:[0,.69444,0,0,.875],78:[0,.69444,0,0,.70834],79:[0,.69444,0,0,.73611],80:[0,.69444,0,0,.63889],81:[.125,.69444,0,0,.73611],82:[0,.69444,0,0,.64584],83:[0,.69444,0,0,.55556],84:[0,.69444,0,0,.68056],85:[0,.69444,0,0,.6875],86:[0,.69444,.01389,0,.66667],87:[0,.69444,.01389,0,.94445],88:[0,.69444,0,0,.66667],89:[0,.69444,.025,0,.66667],90:[0,.69444,0,0,.61111],91:[.25,.75,0,0,.28889],93:[.25,.75,0,0,.28889],94:[0,.69444,0,0,.5],95:[.35,.09444,.02778,0,.5],97:[0,.44444,0,0,.48056],98:[0,.69444,0,0,.51667],99:[0,.44444,0,0,.44445],100:[0,.69444,0,0,.51667],101:[0,.44444,0,0,.44445],102:[0,.69444,.06944,0,.30556],103:[.19444,.44444,.01389,0,.5],104:[0,.69444,0,0,.51667],105:[0,.67937,0,0,.23889],106:[.19444,.67937,0,0,.26667],107:[0,.69444,0,0,.48889],108:[0,.69444,0,0,.23889],109:[0,.44444,0,0,.79445],110:[0,.44444,0,0,.51667],111:[0,.44444,0,0,.5],112:[.19444,.44444,0,0,.51667],113:[.19444,.44444,0,0,.51667],114:[0,.44444,.01389,0,.34167],115:[0,.44444,0,0,.38333],116:[0,.57143,0,0,.36111],117:[0,.44444,0,0,.51667],118:[0,.44444,.01389,0,.46111],119:[0,.44444,.01389,0,.68334],120:[0,.44444,0,0,.46111],121:[.19444,.44444,.01389,0,.46111],122:[0,.44444,0,0,.43472],126:[.35,.32659,0,0,.5],168:[0,.67937,0,0,.5],176:[0,.69444,0,0,.66667],184:[.17014,0,0,0,.44445],305:[0,.44444,0,0,.23889],567:[.19444,.44444,0,0,.26667],710:[0,.69444,0,0,.5],711:[0,.63194,0,0,.5],713:[0,.60889,0,0,.5],714:[0,.69444,0,0,.5],715:[0,.69444,0,0,.5],728:[0,.69444,0,0,.5],729:[0,.67937,0,0,.27778],730:[0,.69444,0,0,.66667],732:[0,.67659,0,0,.5],733:[0,.69444,0,0,.5],915:[0,.69444,0,0,.54167],916:[0,.69444,0,0,.83334],920:[0,.69444,0,0,.77778],923:[0,.69444,0,0,.61111],926:[0,.69444,0,0,.66667],928:[0,.69444,0,0,.70834],931:[0,.69444,0,0,.72222],933:[0,.69444,0,0,.77778],934:[0,.69444,0,0,.72222],936:[0,.69444,0,0,.77778],937:[0,.69444,0,0,.72222],8211:[0,.44444,.02778,0,.5],8212:[0,.44444,.02778,0,1],8216:[0,.69444,0,0,.27778],8217:[0,.69444,0,0,.27778],8220:[0,.69444,0,0,.5],8221:[0,.69444,0,0,.5]},"Script-Regular":{65:[0,.7,.22925,0,.80253],66:[0,.7,.04087,0,.90757],67:[0,.7,.1689,0,.66619],68:[0,.7,.09371,0,.77443],69:[0,.7,.18583,0,.56162],70:[0,.7,.13634,0,.89544],71:[0,.7,.17322,0,.60961],72:[0,.7,.29694,0,.96919],73:[0,.7,.19189,0,.80907],74:[.27778,.7,.19189,0,1.05159],75:[0,.7,.31259,0,.91364],76:[0,.7,.19189,0,.87373],77:[0,.7,.15981,0,1.08031],78:[0,.7,.3525,0,.9015],79:[0,.7,.08078,0,.73787],80:[0,.7,.08078,0,1.01262],81:[0,.7,.03305,0,.88282],82:[0,.7,.06259,0,.85],83:[0,.7,.19189,0,.86767],84:[0,.7,.29087,0,.74697],85:[0,.7,.25815,0,.79996],86:[0,.7,.27523,0,.62204],87:[0,.7,.27523,0,.80532],88:[0,.7,.26006,0,.94445],89:[0,.7,.2939,0,.70961],90:[0,.7,.24037,0,.8212]},"Size1-Regular":{40:[.35001,.85,0,0,.45834],41:[.35001,.85,0,0,.45834],47:[.35001,.85,0,0,.57778],91:[.35001,.85,0,0,.41667],92:[.35001,.85,0,0,.57778],93:[.35001,.85,0,0,.41667],123:[.35001,.85,0,0,.58334],125:[.35001,.85,0,0,.58334],710:[0,.72222,0,0,.55556],732:[0,.72222,0,0,.55556],770:[0,.72222,0,0,.55556],771:[0,.72222,0,0,.55556],8214:[-99e-5,.601,0,0,.77778],8593:[1e-5,.6,0,0,.66667],8595:[1e-5,.6,0,0,.66667],8657:[1e-5,.6,0,0,.77778],8659:[1e-5,.6,0,0,.77778],8719:[.25001,.75,0,0,.94445],8720:[.25001,.75,0,0,.94445],8721:[.25001,.75,0,0,1.05556],8730:[.35001,.85,0,0,1],8739:[-.00599,.606,0,0,.33333],8741:[-.00599,.606,0,0,.55556],8747:[.30612,.805,.19445,0,.47222],8748:[.306,.805,.19445,0,.47222],8749:[.306,.805,.19445,0,.47222],8750:[.30612,.805,.19445,0,.47222],8896:[.25001,.75,0,0,.83334],8897:[.25001,.75,0,0,.83334],8898:[.25001,.75,0,0,.83334],8899:[.25001,.75,0,0,.83334],8968:[.35001,.85,0,0,.47222],8969:[.35001,.85,0,0,.47222],8970:[.35001,.85,0,0,.47222],8971:[.35001,.85,0,0,.47222],9168:[-99e-5,.601,0,0,.66667],10216:[.35001,.85,0,0,.47222],10217:[.35001,.85,0,0,.47222],10752:[.25001,.75,0,0,1.11111],10753:[.25001,.75,0,0,1.11111],10754:[.25001,.75,0,0,1.11111],10756:[.25001,.75,0,0,.83334],10758:[.25001,.75,0,0,.83334]},"Size2-Regular":{40:[.65002,1.15,0,0,.59722],41:[.65002,1.15,0,0,.59722],47:[.65002,1.15,0,0,.81111],91:[.65002,1.15,0,0,.47222],92:[.65002,1.15,0,0,.81111],93:[.65002,1.15,0,0,.47222],123:[.65002,1.15,0,0,.66667],125:[.65002,1.15,0,0,.66667],710:[0,.75,0,0,1],732:[0,.75,0,0,1],770:[0,.75,0,0,1],771:[0,.75,0,0,1],8719:[.55001,1.05,0,0,1.27778],8720:[.55001,1.05,0,0,1.27778],8721:[.55001,1.05,0,0,1.44445],8730:[.65002,1.15,0,0,1],8747:[.86225,1.36,.44445,0,.55556],8748:[.862,1.36,.44445,0,.55556],8749:[.862,1.36,.44445,0,.55556],8750:[.86225,1.36,.44445,0,.55556],8896:[.55001,1.05,0,0,1.11111],8897:[.55001,1.05,0,0,1.11111],8898:[.55001,1.05,0,0,1.11111],8899:[.55001,1.05,0,0,1.11111],8968:[.65002,1.15,0,0,.52778],8969:[.65002,1.15,0,0,.52778],8970:[.65002,1.15,0,0,.52778],8971:[.65002,1.15,0,0,.52778],10216:[.65002,1.15,0,0,.61111],10217:[.65002,1.15,0,0,.61111],10752:[.55001,1.05,0,0,1.51112],10753:[.55001,1.05,0,0,1.51112],10754:[.55001,1.05,0,0,1.51112],10756:[.55001,1.05,0,0,1.11111],10758:[.55001,1.05,0,0,1.11111]},"Size3-Regular":{40:[.95003,1.45,0,0,.73611],41:[.95003,1.45,0,0,.73611],47:[.95003,1.45,0,0,1.04445],91:[.95003,1.45,0,0,.52778],92:[.95003,1.45,0,0,1.04445],93:[.95003,1.45,0,0,.52778],123:[.95003,1.45,0,0,.75],125:[.95003,1.45,0,0,.75],710:[0,.75,0,0,1.44445],732:[0,.75,0,0,1.44445],770:[0,.75,0,0,1.44445],771:[0,.75,0,0,1.44445],8730:[.95003,1.45,0,0,1],8968:[.95003,1.45,0,0,.58334],8969:[.95003,1.45,0,0,.58334],8970:[.95003,1.45,0,0,.58334],8971:[.95003,1.45,0,0,.58334],10216:[.95003,1.45,0,0,.75],10217:[.95003,1.45,0,0,.75]},"Size4-Regular":{40:[1.25003,1.75,0,0,.79167],41:[1.25003,1.75,0,0,.79167],47:[1.25003,1.75,0,0,1.27778],91:[1.25003,1.75,0,0,.58334],92:[1.25003,1.75,0,0,1.27778],93:[1.25003,1.75,0,0,.58334],123:[1.25003,1.75,0,0,.80556],125:[1.25003,1.75,0,0,.80556],710:[0,.825,0,0,1.8889],732:[0,.825,0,0,1.8889],770:[0,.825,0,0,1.8889],771:[0,.825,0,0,1.8889],8730:[1.25003,1.75,0,0,1],8968:[1.25003,1.75,0,0,.63889],8969:[1.25003,1.75,0,0,.63889],8970:[1.25003,1.75,0,0,.63889],8971:[1.25003,1.75,0,0,.63889],9115:[.64502,1.155,0,0,.875],9116:[1e-5,.6,0,0,.875],9117:[.64502,1.155,0,0,.875],9118:[.64502,1.155,0,0,.875],9119:[1e-5,.6,0,0,.875],9120:[.64502,1.155,0,0,.875],9121:[.64502,1.155,0,0,.66667],9122:[-99e-5,.601,0,0,.66667],9123:[.64502,1.155,0,0,.66667],9124:[.64502,1.155,0,0,.66667],9125:[-99e-5,.601,0,0,.66667],9126:[.64502,1.155,0,0,.66667],9127:[1e-5,.9,0,0,.88889],9128:[.65002,1.15,0,0,.88889],9129:[.90001,0,0,0,.88889],9130:[0,.3,0,0,.88889],9131:[1e-5,.9,0,0,.88889],9132:[.65002,1.15,0,0,.88889],9133:[.90001,0,0,0,.88889],9143:[.88502,.915,0,0,1.05556],10216:[1.25003,1.75,0,0,.80556],10217:[1.25003,1.75,0,0,.80556],57344:[-.00499,.605,0,0,1.05556],57345:[-.00499,.605,0,0,1.05556],57680:[0,.12,0,0,.45],57681:[0,.12,0,0,.45],57682:[0,.12,0,0,.45],57683:[0,.12,0,0,.45]},"Typewriter-Regular":{32:[0,0,0,0,.525],33:[0,.61111,0,0,.525],34:[0,.61111,0,0,.525],35:[0,.61111,0,0,.525],36:[.08333,.69444,0,0,.525],37:[.08333,.69444,0,0,.525],38:[0,.61111,0,0,.525],39:[0,.61111,0,0,.525],40:[.08333,.69444,0,0,.525],41:[.08333,.69444,0,0,.525],42:[0,.52083,0,0,.525],43:[-.08056,.53055,0,0,.525],44:[.13889,.125,0,0,.525],45:[-.08056,.53055,0,0,.525],46:[0,.125,0,0,.525],47:[.08333,.69444,0,0,.525],48:[0,.61111,0,0,.525],49:[0,.61111,0,0,.525],50:[0,.61111,0,0,.525],51:[0,.61111,0,0,.525],52:[0,.61111,0,0,.525],53:[0,.61111,0,0,.525],54:[0,.61111,0,0,.525],55:[0,.61111,0,0,.525],56:[0,.61111,0,0,.525],57:[0,.61111,0,0,.525],58:[0,.43056,0,0,.525],59:[.13889,.43056,0,0,.525],60:[-.05556,.55556,0,0,.525],61:[-.19549,.41562,0,0,.525],62:[-.05556,.55556,0,0,.525],63:[0,.61111,0,0,.525],64:[0,.61111,0,0,.525],65:[0,.61111,0,0,.525],66:[0,.61111,0,0,.525],67:[0,.61111,0,0,.525],68:[0,.61111,0,0,.525],69:[0,.61111,0,0,.525],70:[0,.61111,0,0,.525],71:[0,.61111,0,0,.525],72:[0,.61111,0,0,.525],73:[0,.61111,0,0,.525],74:[0,.61111,0,0,.525],75:[0,.61111,0,0,.525],76:[0,.61111,0,0,.525],77:[0,.61111,0,0,.525],78:[0,.61111,0,0,.525],79:[0,.61111,0,0,.525],80:[0,.61111,0,0,.525],81:[.13889,.61111,0,0,.525],82:[0,.61111,0,0,.525],83:[0,.61111,0,0,.525],84:[0,.61111,0,0,.525],85:[0,.61111,0,0,.525],86:[0,.61111,0,0,.525],87:[0,.61111,0,0,.525],88:[0,.61111,0,0,.525],89:[0,.61111,0,0,.525],90:[0,.61111,0,0,.525],91:[.08333,.69444,0,0,.525],92:[.08333,.69444,0,0,.525],93:[.08333,.69444,0,0,.525],94:[0,.61111,0,0,.525],95:[.09514,0,0,0,.525],96:[0,.61111,0,0,.525],97:[0,.43056,0,0,.525],98:[0,.61111,0,0,.525],99:[0,.43056,0,0,.525],100:[0,.61111,0,0,.525],101:[0,.43056,0,0,.525],102:[0,.61111,0,0,.525],103:[.22222,.43056,0,0,.525],104:[0,.61111,0,0,.525],105:[0,.61111,0,0,.525],106:[.22222,.61111,0,0,.525],107:[0,.61111,0,0,.525],108:[0,.61111,0,0,.525],109:[0,.43056,0,0,.525],110:[0,.43056,0,0,.525],111:[0,.43056,0,0,.525],112:[.22222,.43056,0,0,.525],113:[.22222,.43056,0,0,.525],114:[0,.43056,0,0,.525],115:[0,.43056,0,0,.525],116:[0,.55358,0,0,.525],117:[0,.43056,0,0,.525],118:[0,.43056,0,0,.525],119:[0,.43056,0,0,.525],120:[0,.43056,0,0,.525],121:[.22222,.43056,0,0,.525],122:[0,.43056,0,0,.525],123:[.08333,.69444,0,0,.525],124:[.08333,.69444,0,0,.525],125:[.08333,.69444,0,0,.525],126:[0,.61111,0,0,.525],127:[0,.61111,0,0,.525],160:[0,0,0,0,.525],176:[0,.61111,0,0,.525],184:[.19445,0,0,0,.525],305:[0,.43056,0,0,.525],567:[.22222,.43056,0,0,.525],711:[0,.56597,0,0,.525],713:[0,.56555,0,0,.525],714:[0,.61111,0,0,.525],715:[0,.61111,0,0,.525],728:[0,.61111,0,0,.525],730:[0,.61111,0,0,.525],770:[0,.61111,0,0,.525],771:[0,.61111,0,0,.525],776:[0,.61111,0,0,.525],915:[0,.61111,0,0,.525],916:[0,.61111,0,0,.525],920:[0,.61111,0,0,.525],923:[0,.61111,0,0,.525],926:[0,.61111,0,0,.525],928:[0,.61111,0,0,.525],931:[0,.61111,0,0,.525],933:[0,.61111,0,0,.525],934:[0,.61111,0,0,.525],936:[0,.61111,0,0,.525],937:[0,.61111,0,0,.525],8216:[0,.61111,0,0,.525],8217:[0,.61111,0,0,.525],8242:[0,.61111,0,0,.525],9251:[.11111,.21944,0,0,.525]}},Wt={slant:[.25,.25,.25],space:[0,0,0],stretch:[0,0,0],shrink:[0,0,0],xHeight:[.431,.431,.431],quad:[1,1.171,1.472],extraSpace:[0,0,0],num1:[.677,.732,.925],num2:[.394,.384,.387],num3:[.444,.471,.504],denom1:[.686,.752,1.025],denom2:[.345,.344,.532],sup1:[.413,.503,.504],sup2:[.363,.431,.404],sup3:[.289,.286,.294],sub1:[.15,.143,.2],sub2:[.247,.286,.4],supDrop:[.386,.353,.494],subDrop:[.05,.071,.1],delim1:[2.39,1.7,1.98],delim2:[1.01,1.157,1.42],axisHeight:[.25,.25,.25],defaultRuleThickness:[.04,.049,.049],bigOpSpacing1:[.111,.111,.111],bigOpSpacing2:[.166,.166,.166],bigOpSpacing3:[.2,.2,.2],bigOpSpacing4:[.6,.611,.611],bigOpSpacing5:[.1,.143,.143],sqrtRuleThickness:[.04,.04,.04],ptPerEm:[10,10,10],doubleRuleSep:[.2,.2,.2],arrayRuleWidth:[.04,.04,.04],fboxsep:[.3,.3,.3],fboxrule:[.04,.04,.04]},Ce={\u00C5:"A",\u00C7:"C",\u00D0:"D",\u00DE:"o",\u00E5:"a",\u00E7:"c",\u00F0:"d",\u00FE:"o",\u0410:"A",\u0411:"B",\u0412:"B",\u0413:"F",\u0414:"A",\u0415:"E",\u0416:"K",\u0417:"3",\u0418:"N",\u0419:"N",\u041A:"K",\u041B:"N",\u041C:"M",\u041D:"H",\u041E:"O",\u041F:"N",\u0420:"P",\u0421:"C",\u0422:"T",\u0423:"y",\u0424:"O",\u0425:"X",\u0426:"U",\u0427:"h",\u0428:"W",\u0429:"W",\u042A:"B",\u042B:"X",\u042C:"B",\u042D:"3",\u042E:"X",\u042F:"R",\u0430:"a",\u0431:"b",\u0432:"a",\u0433:"r",\u0434:"y",\u0435:"e",\u0436:"m",\u0437:"e",\u0438:"n",\u0439:"n",\u043A:"n",\u043B:"n",\u043C:"m",\u043D:"n",\u043E:"o",\u043F:"n",\u0440:"p",\u0441:"c",\u0442:"o",\u0443:"y",\u0444:"b",\u0445:"x",\u0446:"n",\u0447:"n",\u0448:"w",\u0449:"w",\u044A:"a",\u044B:"m",\u044C:"a",\u044D:"e",\u044E:"m",\u044F:"r"};function Je(Ve,Z){Kt[Ve]=Z}function Yt(Ve,Z,Y){if(!Kt[Z])throw new Error("Font metrics not found for font: "+Z+".");var te=Ve.charCodeAt(0),de=Kt[Z][te];if(!de&&Ve[0]in Ce&&(te=Ce[Ve[0]].charCodeAt(0),de=Kt[Z][te]),!de&&Y==="text"&&Pe(te)&&(de=Kt[Z][77]),de)return{depth:de[0],height:de[1],italic:de[2],skew:de[3],width:de[4]}}var kt={};function Ht(Ve){var Z;if(Ve>=5?Z=0:Ve>=3?Z=1:Z=2,!kt[Z]){var Y=kt[Z]={cssEmPerMu:Wt.quad[Z]/18};for(var te in Wt)Wt.hasOwnProperty(te)&&(Y[te]=Wt[te][Z])}return kt[Z]}var $t={bin:1,close:1,inner:1,open:1,punct:1,rel:1},tr={"accent-token":1,mathord:1,"op-token":1,spacing:1,textord:1},Gt={math:{},text:{}},Me=Gt;function ce(Ve,Z,Y,te,de,Ae){Gt[Ve][de]={font:Z,group:Y,replace:te},Ae&&te&&(Gt[Ve][te]=Gt[Ve][de])}var he="math",Pt="text",Te="main",ct="ams",Zt="accent-token",wt="bin",Ie="close",xt="inner",be="mathord",Ye="op-token",mt="open",Lt="punct",Fe="rel",Or="spacing",St="textord";ce(he,Te,Fe,"\u2261","\\equiv",!0),ce(he,Te,Fe,"\u227A","\\prec",!0),ce(he,Te,Fe,"\u227B","\\succ",!0),ce(he,Te,Fe,"\u223C","\\sim",!0),ce(he,Te,Fe,"\u22A5","\\perp"),ce(he,Te,Fe,"\u2AAF","\\preceq",!0),ce(he,Te,Fe,"\u2AB0","\\succeq",!0),ce(he,Te,Fe,"\u2243","\\simeq",!0),ce(he,Te,Fe,"\u2223","\\mid",!0),ce(he,Te,Fe,"\u226A","\\ll",!0),ce(he,Te,Fe,"\u226B","\\gg",!0),ce(he,Te,Fe,"\u224D","\\asymp",!0),ce(he,Te,Fe,"\u2225","\\parallel"),ce(he,Te,Fe,"\u22C8","\\bowtie",!0),ce(he,Te,Fe,"\u2323","\\smile",!0),ce(he,Te,Fe,"\u2291","\\sqsubseteq",!0),ce(he,Te,Fe,"\u2292","\\sqsupseteq",!0),ce(he,Te,Fe,"\u2250","\\doteq",!0),ce(he,Te,Fe,"\u2322","\\frown",!0),ce(he,Te,Fe,"\u220B","\\ni",!0),ce(he,Te,Fe,"\u221D","\\propto",!0),ce(he,Te,Fe,"\u22A2","\\vdash",!0),ce(he,Te,Fe,"\u22A3","\\dashv",!0),ce(he,Te,Fe,"\u220B","\\owns"),ce(he,Te,Lt,".","\\ldotp"),ce(he,Te,Lt,"\u22C5","\\cdotp"),ce(he,Te,St,"#","\\#"),ce(Pt,Te,St,"#","\\#"),ce(he,Te,St,"&","\\&"),ce(Pt,Te,St,"&","\\&"),ce(he,Te,St,"\u2135","\\aleph",!0),ce(he,Te,St,"\u2200","\\forall",!0),ce(he,Te,St,"\u210F","\\hbar",!0),ce(he,Te,St,"\u2203","\\exists",!0),ce(he,Te,St,"\u2207","\\nabla",!0),ce(he,Te,St,"\u266D","\\flat",!0),ce(he,Te,St,"\u2113","\\ell",!0),ce(he,Te,St,"\u266E","\\natural",!0),ce(he,Te,St,"\u2663","\\clubsuit",!0),ce(he,Te,St,"\u2118","\\wp",!0),ce(he,Te,St,"\u266F","\\sharp",!0),ce(he,Te,St,"\u2662","\\diamondsuit",!0),ce(he,Te,St,"\u211C","\\Re",!0),ce(he,Te,St,"\u2661","\\heartsuit",!0),ce(he,Te,St,"\u2111","\\Im",!0),ce(he,Te,St,"\u2660","\\spadesuit",!0),ce(Pt,Te,St,"\xA7","\\S",!0),ce(Pt,Te,St,"\xB6","\\P",!0),ce(he,Te,St,"\u2020","\\dag"),ce(Pt,Te,St,"\u2020","\\dag"),ce(Pt,Te,St,"\u2020","\\textdagger"),ce(he,Te,St,"\u2021","\\ddag"),ce(Pt,Te,St,"\u2021","\\ddag"),ce(Pt,Te,St,"\u2021","\\textdaggerdbl"),ce(he,Te,Ie,"\u23B1","\\rmoustache",!0),ce(he,Te,mt,"\u23B0","\\lmoustache",!0),ce(he,Te,Ie,"\u27EF","\\rgroup",!0),ce(he,Te,mt,"\u27EE","\\lgroup",!0),ce(he,Te,wt,"\u2213","\\mp",!0),ce(he,Te,wt,"\u2296","\\ominus",!0),ce(he,Te,wt,"\u228E","\\uplus",!0),ce(he,Te,wt,"\u2293","\\sqcap",!0),ce(he,Te,wt,"\u2217","\\ast"),ce(he,Te,wt,"\u2294","\\sqcup",!0),ce(he,Te,wt,"\u25EF","\\bigcirc"),ce(he,Te,wt,"\u2219","\\bullet"),ce(he,Te,wt,"\u2021","\\ddagger"),ce(he,Te,wt,"\u2240","\\wr",!0),ce(he,Te,wt,"\u2A3F","\\amalg"),ce(he,Te,wt,"&","\\And"),ce(he,Te,Fe,"\u27F5","\\longleftarrow",!0),ce(he,Te,Fe,"\u21D0","\\Leftarrow",!0),ce(he,Te,Fe,"\u27F8","\\Longleftarrow",!0),ce(he,Te,Fe,"\u27F6","\\longrightarrow",!0),ce(he,Te,Fe,"\u21D2","\\Rightarrow",!0),ce(he,Te,Fe,"\u27F9","\\Longrightarrow",!0),ce(he,Te,Fe,"\u2194","\\leftrightarrow",!0),ce(he,Te,Fe,"\u27F7","\\longleftrightarrow",!0),ce(he,Te,Fe,"\u21D4","\\Leftrightarrow",!0),ce(he,Te,Fe,"\u27FA","\\Longleftrightarrow",!0),ce(he,Te,Fe,"\u21A6","\\mapsto",!0),ce(he,Te,Fe,"\u27FC","\\longmapsto",!0),ce(he,Te,Fe,"\u2197","\\nearrow",!0),ce(he,Te,Fe,"\u21A9","\\hookleftarrow",!0),ce(he,Te,Fe,"\u21AA","\\hookrightarrow",!0),ce(he,Te,Fe,"\u2198","\\searrow",!0),ce(he,Te,Fe,"\u21BC","\\leftharpoonup",!0),ce(he,Te,Fe,"\u21C0","\\rightharpoonup",!0),ce(he,Te,Fe,"\u2199","\\swarrow",!0),ce(he,Te,Fe,"\u21BD","\\leftharpoondown",!0),ce(he,Te,Fe,"\u21C1","\\rightharpoondown",!0),ce(he,Te,Fe,"\u2196","\\nwarrow",!0),ce(he,Te,Fe,"\u21CC","\\rightleftharpoons",!0),ce(he,ct,Fe,"\u226E","\\nless",!0),ce(he,ct,Fe,"\uE010","\\@nleqslant"),ce(he,ct,Fe,"\uE011","\\@nleqq"),ce(he,ct,Fe,"\u2A87","\\lneq",!0),ce(he,ct,Fe,"\u2268","\\lneqq",!0),ce(he,ct,Fe,"\uE00C","\\@lvertneqq"),ce(he,ct,Fe,"\u22E6","\\lnsim",!0),ce(he,ct,Fe,"\u2A89","\\lnapprox",!0),ce(he,ct,Fe,"\u2280","\\nprec",!0),ce(he,ct,Fe,"\u22E0","\\npreceq",!0),ce(he,ct,Fe,"\u22E8","\\precnsim",!0),ce(he,ct,Fe,"\u2AB9","\\precnapprox",!0),ce(he,ct,Fe,"\u2241","\\nsim",!0),ce(he,ct,Fe,"\uE006","\\@nshortmid"),ce(he,ct,Fe,"\u2224","\\nmid",!0),ce(he,ct,Fe,"\u22AC","\\nvdash",!0),ce(he,ct,Fe,"\u22AD","\\nvDash",!0),ce(he,ct,Fe,"\u22EA","\\ntriangleleft"),ce(he,ct,Fe,"\u22EC","\\ntrianglelefteq",!0),ce(he,ct,Fe,"\u228A","\\subsetneq",!0),ce(he,ct,Fe,"\uE01A","\\@varsubsetneq"),ce(he,ct,Fe,"\u2ACB","\\subsetneqq",!0),ce(he,ct,Fe,"\uE017","\\@varsubsetneqq"),ce(he,ct,Fe,"\u226F","\\ngtr",!0),ce(he,ct,Fe,"\uE00F","\\@ngeqslant"),ce(he,ct,Fe,"\uE00E","\\@ngeqq"),ce(he,ct,Fe,"\u2A88","\\gneq",!0),ce(he,ct,Fe,"\u2269","\\gneqq",!0),ce(he,ct,Fe,"\uE00D","\\@gvertneqq"),ce(he,ct,Fe,"\u22E7","\\gnsim",!0),ce(he,ct,Fe,"\u2A8A","\\gnapprox",!0),ce(he,ct,Fe,"\u2281","\\nsucc",!0),ce(he,ct,Fe,"\u22E1","\\nsucceq",!0),ce(he,ct,Fe,"\u22E9","\\succnsim",!0),ce(he,ct,Fe,"\u2ABA","\\succnapprox",!0),ce(he,ct,Fe,"\u2246","\\ncong",!0),ce(he,ct,Fe,"\uE007","\\@nshortparallel"),ce(he,ct,Fe,"\u2226","\\nparallel",!0),ce(he,ct,Fe,"\u22AF","\\nVDash",!0),ce(he,ct,Fe,"\u22EB","\\ntriangleright"),ce(he,ct,Fe,"\u22ED","\\ntrianglerighteq",!0),ce(he,ct,Fe,"\uE018","\\@nsupseteqq"),ce(he,ct,Fe,"\u228B","\\supsetneq",!0),ce(he,ct,Fe,"\uE01B","\\@varsupsetneq"),ce(he,ct,Fe,"\u2ACC","\\supsetneqq",!0),ce(he,ct,Fe,"\uE019","\\@varsupsetneqq"),ce(he,ct,Fe,"\u22AE","\\nVdash",!0),ce(he,ct,Fe,"\u2AB5","\\precneqq",!0),ce(he,ct,Fe,"\u2AB6","\\succneqq",!0),ce(he,ct,Fe,"\uE016","\\@nsubseteqq"),ce(he,ct,wt,"\u22B4","\\unlhd"),ce(he,ct,wt,"\u22B5","\\unrhd"),ce(he,ct,Fe,"\u219A","\\nleftarrow",!0),ce(he,ct,Fe,"\u219B","\\nrightarrow",!0),ce(he,ct,Fe,"\u21CD","\\nLeftarrow",!0),ce(he,ct,Fe,"\u21CF","\\nRightarrow",!0),ce(he,ct,Fe,"\u21AE","\\nleftrightarrow",!0),ce(he,ct,Fe,"\u21CE","\\nLeftrightarrow",!0),ce(he,ct,Fe,"\u25B3","\\vartriangle"),ce(he,ct,St,"\u210F","\\hslash"),ce(he,ct,St,"\u25BD","\\triangledown"),ce(he,ct,St,"\u25CA","\\lozenge"),ce(he,ct,St,"\u24C8","\\circledS"),ce(he,ct,St,"\xAE","\\circledR"),ce(Pt,ct,St,"\xAE","\\circledR"),ce(he,ct,St,"\u2221","\\measuredangle",!0),ce(he,ct,St,"\u2204","\\nexists"),ce(he,ct,St,"\u2127","\\mho"),ce(he,ct,St,"\u2132","\\Finv",!0),ce(he,ct,St,"\u2141","\\Game",!0),ce(he,ct,St,"\u2035","\\backprime"),ce(he,ct,St,"\u25B2","\\blacktriangle"),ce(he,ct,St,"\u25BC","\\blacktriangledown"),ce(he,ct,St,"\u25A0","\\blacksquare"),ce(he,ct,St,"\u29EB","\\blacklozenge"),ce(he,ct,St,"\u2605","\\bigstar"),ce(he,ct,St,"\u2222","\\sphericalangle",!0),ce(he,ct,St,"\u2201","\\complement",!0),ce(he,ct,St,"\xF0","\\eth",!0),ce(he,ct,St,"\u2571","\\diagup"),ce(he,ct,St,"\u2572","\\diagdown"),ce(he,ct,St,"\u25A1","\\square"),ce(he,ct,St,"\u25A1","\\Box"),ce(he,ct,St,"\u25CA","\\Diamond"),ce(he,ct,St,"\xA5","\\yen",!0),ce(Pt,ct,St,"\xA5","\\yen",!0),ce(he,ct,St,"\u2713","\\checkmark",!0),ce(Pt,ct,St,"\u2713","\\checkmark"),ce(he,ct,St,"\u2136","\\beth",!0),ce(he,ct,St,"\u2138","\\daleth",!0),ce(he,ct,St,"\u2137","\\gimel",!0),ce(he,ct,St,"\u03DD","\\digamma",!0),ce(he,ct,St,"\u03F0","\\varkappa"),ce(he,ct,mt,"\u250C","\\ulcorner",!0),ce(he,ct,Ie,"\u2510","\\urcorner",!0),ce(he,ct,mt,"\u2514","\\llcorner",!0),ce(he,ct,Ie,"\u2518","\\lrcorner",!0),ce(he,ct,Fe,"\u2266","\\leqq",!0),ce(he,ct,Fe,"\u2A7D","\\leqslant",!0),ce(he,ct,Fe,"\u2A95","\\eqslantless",!0),ce(he,ct,Fe,"\u2272","\\lesssim",!0),ce(he,ct,Fe,"\u2A85","\\lessapprox",!0),ce(he,ct,Fe,"\u224A","\\approxeq",!0),ce(he,ct,wt,"\u22D6","\\lessdot"),ce(he,ct,Fe,"\u22D8","\\lll",!0),ce(he,ct,Fe,"\u2276","\\lessgtr",!0),ce(he,ct,Fe,"\u22DA","\\lesseqgtr",!0),ce(he,ct,Fe,"\u2A8B","\\lesseqqgtr",!0),ce(he,ct,Fe,"\u2251","\\doteqdot"),ce(he,ct,Fe,"\u2253","\\risingdotseq",!0),ce(he,ct,Fe,"\u2252","\\fallingdotseq",!0),ce(he,ct,Fe,"\u223D","\\backsim",!0),ce(he,ct,Fe,"\u22CD","\\backsimeq",!0),ce(he,ct,Fe,"\u2AC5","\\subseteqq",!0),ce(he,ct,Fe,"\u22D0","\\Subset",!0),ce(he,ct,Fe,"\u228F","\\sqsubset",!0),ce(he,ct,Fe,"\u227C","\\preccurlyeq",!0),ce(he,ct,Fe,"\u22DE","\\curlyeqprec",!0),ce(he,ct,Fe,"\u227E","\\precsim",!0),ce(he,ct,Fe,"\u2AB7","\\precapprox",!0),ce(he,ct,Fe,"\u22B2","\\vartriangleleft"),ce(he,ct,Fe,"\u22B4","\\trianglelefteq"),ce(he,ct,Fe,"\u22A8","\\vDash",!0),ce(he,ct,Fe,"\u22AA","\\Vvdash",!0),ce(he,ct,Fe,"\u2323","\\smallsmile"),ce(he,ct,Fe,"\u2322","\\smallfrown"),ce(he,ct,Fe,"\u224F","\\bumpeq",!0),ce(he,ct,Fe,"\u224E","\\Bumpeq",!0),ce(he,ct,Fe,"\u2267","\\geqq",!0),ce(he,ct,Fe,"\u2A7E","\\geqslant",!0),ce(he,ct,Fe,"\u2A96","\\eqslantgtr",!0),ce(he,ct,Fe,"\u2273","\\gtrsim",!0),ce(he,ct,Fe,"\u2A86","\\gtrapprox",!0),ce(he,ct,wt,"\u22D7","\\gtrdot"),ce(he,ct,Fe,"\u22D9","\\ggg",!0),ce(he,ct,Fe,"\u2277","\\gtrless",!0),ce(he,ct,Fe,"\u22DB","\\gtreqless",!0),ce(he,ct,Fe,"\u2A8C","\\gtreqqless",!0),ce(he,ct,Fe,"\u2256","\\eqcirc",!0),ce(he,ct,Fe,"\u2257","\\circeq",!0),ce(he,ct,Fe,"\u225C","\\triangleq",!0),ce(he,ct,Fe,"\u223C","\\thicksim"),ce(he,ct,Fe,"\u2248","\\thickapprox"),ce(he,ct,Fe,"\u2AC6","\\supseteqq",!0),ce(he,ct,Fe,"\u22D1","\\Supset",!0),ce(he,ct,Fe,"\u2290","\\sqsupset",!0),ce(he,ct,Fe,"\u227D","\\succcurlyeq",!0),ce(he,ct,Fe,"\u22DF","\\curlyeqsucc",!0),ce(he,ct,Fe,"\u227F","\\succsim",!0),ce(he,ct,Fe,"\u2AB8","\\succapprox",!0),ce(he,ct,Fe,"\u22B3","\\vartriangleright"),ce(he,ct,Fe,"\u22B5","\\trianglerighteq"),ce(he,ct,Fe,"\u22A9","\\Vdash",!0),ce(he,ct,Fe,"\u2223","\\shortmid"),ce(he,ct,Fe,"\u2225","\\shortparallel"),ce(he,ct,Fe,"\u226C","\\between",!0),ce(he,ct,Fe,"\u22D4","\\pitchfork",!0),ce(he,ct,Fe,"\u221D","\\varpropto"),ce(he,ct,Fe,"\u25C0","\\blacktriangleleft"),ce(he,ct,Fe,"\u2234","\\therefore",!0),ce(he,ct,Fe,"\u220D","\\backepsilon"),ce(he,ct,Fe,"\u25B6","\\blacktriangleright"),ce(he,ct,Fe,"\u2235","\\because",!0),ce(he,ct,Fe,"\u22D8","\\llless"),ce(he,ct,Fe,"\u22D9","\\gggtr"),ce(he,ct,wt,"\u22B2","\\lhd"),ce(he,ct,wt,"\u22B3","\\rhd"),ce(he,ct,Fe,"\u2242","\\eqsim",!0),ce(he,Te,Fe,"\u22C8","\\Join"),ce(he,ct,Fe,"\u2251","\\Doteq",!0),ce(he,ct,wt,"\u2214","\\dotplus",!0),ce(he,ct,wt,"\u2216","\\smallsetminus"),ce(he,ct,wt,"\u22D2","\\Cap",!0),ce(he,ct,wt,"\u22D3","\\Cup",!0),ce(he,ct,wt,"\u2A5E","\\doublebarwedge",!0),ce(he,ct,wt,"\u229F","\\boxminus",!0),ce(he,ct,wt,"\u229E","\\boxplus",!0),ce(he,ct,wt,"\u22C7","\\divideontimes",!0),ce(he,ct,wt,"\u22C9","\\ltimes",!0),ce(he,ct,wt,"\u22CA","\\rtimes",!0),ce(he,ct,wt,"\u22CB","\\leftthreetimes",!0),ce(he,ct,wt,"\u22CC","\\rightthreetimes",!0),ce(he,ct,wt,"\u22CF","\\curlywedge",!0),ce(he,ct,wt,"\u22CE","\\curlyvee",!0),ce(he,ct,wt,"\u229D","\\circleddash",!0),ce(he,ct,wt,"\u229B","\\circledast",!0),ce(he,ct,wt,"\u22C5","\\centerdot"),ce(he,ct,wt,"\u22BA","\\intercal",!0),ce(he,ct,wt,"\u22D2","\\doublecap"),ce(he,ct,wt,"\u22D3","\\doublecup"),ce(he,ct,wt,"\u22A0","\\boxtimes",!0),ce(he,ct,Fe,"\u21E2","\\dashrightarrow",!0),ce(he,ct,Fe,"\u21E0","\\dashleftarrow",!0),ce(he,ct,Fe,"\u21C7","\\leftleftarrows",!0),ce(he,ct,Fe,"\u21C6","\\leftrightarrows",!0),ce(he,ct,Fe,"\u21DA","\\Lleftarrow",!0),ce(he,ct,Fe,"\u219E","\\twoheadleftarrow",!0),ce(he,ct,Fe,"\u21A2","\\leftarrowtail",!0),ce(he,ct,Fe,"\u21AB","\\looparrowleft",!0),ce(he,ct,Fe,"\u21CB","\\leftrightharpoons",!0),ce(he,ct,Fe,"\u21B6","\\curvearrowleft",!0),ce(he,ct,Fe,"\u21BA","\\circlearrowleft",!0),ce(he,ct,Fe,"\u21B0","\\Lsh",!0),ce(he,ct,Fe,"\u21C8","\\upuparrows",!0),ce(he,ct,Fe,"\u21BF","\\upharpoonleft",!0),ce(he,ct,Fe,"\u21C3","\\downharpoonleft",!0),ce(he,ct,Fe,"\u22B8","\\multimap",!0),ce(he,ct,Fe,"\u21AD","\\leftrightsquigarrow",!0),ce(he,ct,Fe,"\u21C9","\\rightrightarrows",!0),ce(he,ct,Fe,"\u21C4","\\rightleftarrows",!0),ce(he,ct,Fe,"\u21A0","\\twoheadrightarrow",!0),ce(he,ct,Fe,"\u21A3","\\rightarrowtail",!0),ce(he,ct,Fe,"\u21AC","\\looparrowright",!0),ce(he,ct,Fe,"\u21B7","\\curvearrowright",!0),ce(he,ct,Fe,"\u21BB","\\circlearrowright",!0),ce(he,ct,Fe,"\u21B1","\\Rsh",!0),ce(he,ct,Fe,"\u21CA","\\downdownarrows",!0),ce(he,ct,Fe,"\u21BE","\\upharpoonright",!0),ce(he,ct,Fe,"\u21C2","\\downharpoonright",!0),ce(he,ct,Fe,"\u21DD","\\rightsquigarrow",!0),ce(he,ct,Fe,"\u21DD","\\leadsto"),ce(he,ct,Fe,"\u21DB","\\Rrightarrow",!0),ce(he,ct,Fe,"\u21BE","\\restriction"),ce(he,Te,St,"\u2018","`"),ce(he,Te,St,"$","\\$"),ce(Pt,Te,St,"$","\\$"),ce(Pt,Te,St,"$","\\textdollar"),ce(he,Te,St,"%","\\%"),ce(Pt,Te,St,"%","\\%"),ce(he,Te,St,"_","\\_"),ce(Pt,Te,St,"_","\\_"),ce(Pt,Te,St,"_","\\textunderscore"),ce(he,Te,St,"\u2220","\\angle",!0),ce(he,Te,St,"\u221E","\\infty",!0),ce(he,Te,St,"\u2032","\\prime"),ce(he,Te,St,"\u25B3","\\triangle"),ce(he,Te,St,"\u0393","\\Gamma",!0),ce(he,Te,St,"\u0394","\\Delta",!0),ce(he,Te,St,"\u0398","\\Theta",!0),ce(he,Te,St,"\u039B","\\Lambda",!0),ce(he,Te,St,"\u039E","\\Xi",!0),ce(he,Te,St,"\u03A0","\\Pi",!0),ce(he,Te,St,"\u03A3","\\Sigma",!0),ce(he,Te,St,"\u03A5","\\Upsilon",!0),ce(he,Te,St,"\u03A6","\\Phi",!0),ce(he,Te,St,"\u03A8","\\Psi",!0),ce(he,Te,St,"\u03A9","\\Omega",!0),ce(he,Te,St,"A","\u0391"),ce(he,Te,St,"B","\u0392"),ce(he,Te,St,"E","\u0395"),ce(he,Te,St,"Z","\u0396"),ce(he,Te,St,"H","\u0397"),ce(he,Te,St,"I","\u0399"),ce(he,Te,St,"K","\u039A"),ce(he,Te,St,"M","\u039C"),ce(he,Te,St,"N","\u039D"),ce(he,Te,St,"O","\u039F"),ce(he,Te,St,"P","\u03A1"),ce(he,Te,St,"T","\u03A4"),ce(he,Te,St,"X","\u03A7"),ce(he,Te,St,"\xAC","\\neg",!0),ce(he,Te,St,"\xAC","\\lnot"),ce(he,Te,St,"\u22A4","\\top"),ce(he,Te,St,"\u22A5","\\bot"),ce(he,Te,St,"\u2205","\\emptyset"),ce(he,ct,St,"\u2205","\\varnothing"),ce(he,Te,be,"\u03B1","\\alpha",!0),ce(he,Te,be,"\u03B2","\\beta",!0),ce(he,Te,be,"\u03B3","\\gamma",!0),ce(he,Te,be,"\u03B4","\\delta",!0),ce(he,Te,be,"\u03F5","\\epsilon",!0),ce(he,Te,be,"\u03B6","\\zeta",!0),ce(he,Te,be,"\u03B7","\\eta",!0),ce(he,Te,be,"\u03B8","\\theta",!0),ce(he,Te,be,"\u03B9","\\iota",!0),ce(he,Te,be,"\u03BA","\\kappa",!0),ce(he,Te,be,"\u03BB","\\lambda",!0),ce(he,Te,be,"\u03BC","\\mu",!0),ce(he,Te,be,"\u03BD","\\nu",!0),ce(he,Te,be,"\u03BE","\\xi",!0),ce(he,Te,be,"\u03BF","\\omicron",!0),ce(he,Te,be,"\u03C0","\\pi",!0),ce(he,Te,be,"\u03C1","\\rho",!0),ce(he,Te,be,"\u03C3","\\sigma",!0),ce(he,Te,be,"\u03C4","\\tau",!0),ce(he,Te,be,"\u03C5","\\upsilon",!0),ce(he,Te,be,"\u03D5","\\phi",!0),ce(he,Te,be,"\u03C7","\\chi",!0),ce(he,Te,be,"\u03C8","\\psi",!0),ce(he,Te,be,"\u03C9","\\omega",!0),ce(he,Te,be,"\u03B5","\\varepsilon",!0),ce(he,Te,be,"\u03D1","\\vartheta",!0),ce(he,Te,be,"\u03D6","\\varpi",!0),ce(he,Te,be,"\u03F1","\\varrho",!0),ce(he,Te,be,"\u03C2","\\varsigma",!0),ce(he,Te,be,"\u03C6","\\varphi",!0),ce(he,Te,wt,"\u2217","*"),ce(he,Te,wt,"+","+"),ce(he,Te,wt,"\u2212","-"),ce(he,Te,wt,"\u22C5","\\cdot",!0),ce(he,Te,wt,"\u2218","\\circ"),ce(he,Te,wt,"\xF7","\\div",!0),ce(he,Te,wt,"\xB1","\\pm",!0),ce(he,Te,wt,"\xD7","\\times",!0),ce(he,Te,wt,"\u2229","\\cap",!0),ce(he,Te,wt,"\u222A","\\cup",!0),ce(he,Te,wt,"\u2216","\\setminus"),ce(he,Te,wt,"\u2227","\\land"),ce(he,Te,wt,"\u2228","\\lor"),ce(he,Te,wt,"\u2227","\\wedge",!0),ce(he,Te,wt,"\u2228","\\vee",!0),ce(he,Te,St,"\u221A","\\surd"),ce(he,Te,mt,"(","("),ce(he,Te,mt,"[","["),ce(he,Te,mt,"\u27E8","\\langle",!0),ce(he,Te,mt,"\u2223","\\lvert"),ce(he,Te,mt,"\u2225","\\lVert"),ce(he,Te,Ie,")",")"),ce(he,Te,Ie,"]","]"),ce(he,Te,Ie,"?","?"),ce(he,Te,Ie,"!","!"),ce(he,Te,Ie,"\u27E9","\\rangle",!0),ce(he,Te,Ie,"\u2223","\\rvert"),ce(he,Te,Ie,"\u2225","\\rVert"),ce(he,Te,Fe,"=","="),ce(he,Te,Fe,"<","<"),ce(he,Te,Fe,">",">"),ce(he,Te,Fe,":",":"),ce(he,Te,Fe,"\u2248","\\approx",!0),ce(he,Te,Fe,"\u2245","\\cong",!0),ce(he,Te,Fe,"\u2265","\\ge"),ce(he,Te,Fe,"\u2265","\\geq",!0),ce(he,Te,Fe,"\u2190","\\gets"),ce(he,Te,Fe,">","\\gt"),ce(he,Te,Fe,"\u2208","\\in",!0),ce(he,Te,Fe,"\uE020","\\@not"),ce(he,Te,Fe,"\u2282","\\subset",!0),ce(he,Te,Fe,"\u2283","\\supset",!0),ce(he,Te,Fe,"\u2286","\\subseteq",!0),ce(he,Te,Fe,"\u2287","\\supseteq",!0),ce(he,ct,Fe,"\u2288","\\nsubseteq",!0),ce(he,ct,Fe,"\u2289","\\nsupseteq",!0),ce(he,Te,Fe,"\u22A8","\\models"),ce(he,Te,Fe,"\u2190","\\leftarrow",!0),ce(he,Te,Fe,"\u2264","\\le"),ce(he,Te,Fe,"\u2264","\\leq",!0),ce(he,Te,Fe,"<","\\lt"),ce(he,Te,Fe,"\u2192","\\rightarrow",!0),ce(he,Te,Fe,"\u2192","\\to"),ce(he,ct,Fe,"\u2271","\\ngeq",!0),ce(he,ct,Fe,"\u2270","\\nleq",!0),ce(he,Te,Or,"\xA0","\\ "),ce(he,Te,Or,"\xA0","~"),ce(he,Te,Or,"\xA0","\\space"),ce(he,Te,Or,"\xA0","\\nobreakspace"),ce(Pt,Te,Or,"\xA0","\\ "),ce(Pt,Te,Or,"\xA0","~"),ce(Pt,Te,Or,"\xA0","\\space"),ce(Pt,Te,Or,"\xA0","\\nobreakspace"),ce(he,Te,Or,null,"\\nobreak"),ce(he,Te,Or,null,"\\allowbreak"),ce(he,Te,Lt,",",","),ce(he,Te,Lt,";",";"),ce(he,ct,wt,"\u22BC","\\barwedge",!0),ce(he,ct,wt,"\u22BB","\\veebar",!0),ce(he,Te,wt,"\u2299","\\odot",!0),ce(he,Te,wt,"\u2295","\\oplus",!0),ce(he,Te,wt,"\u2297","\\otimes",!0),ce(he,Te,St,"\u2202","\\partial",!0),ce(he,Te,wt,"\u2298","\\oslash",!0),ce(he,ct,wt,"\u229A","\\circledcirc",!0),ce(he,ct,wt,"\u22A1","\\boxdot",!0),ce(he,Te,wt,"\u25B3","\\bigtriangleup"),ce(he,Te,wt,"\u25BD","\\bigtriangledown"),ce(he,Te,wt,"\u2020","\\dagger"),ce(he,Te,wt,"\u22C4","\\diamond"),ce(he,Te,wt,"\u22C6","\\star"),ce(he,Te,wt,"\u25C3","\\triangleleft"),ce(he,Te,wt,"\u25B9","\\triangleright"),ce(he,Te,mt,"{","\\{"),ce(Pt,Te,St,"{","\\{"),ce(Pt,Te,St,"{","\\textbraceleft"),ce(he,Te,Ie,"}","\\}"),ce(Pt,Te,St,"}","\\}"),ce(Pt,Te,St,"}","\\textbraceright"),ce(he,Te,mt,"{","\\lbrace"),ce(he,Te,Ie,"}","\\rbrace"),ce(he,Te,mt,"[","\\lbrack"),ce(Pt,Te,St,"[","\\lbrack"),ce(he,Te,Ie,"]","\\rbrack"),ce(Pt,Te,St,"]","\\rbrack"),ce(he,Te,mt,"(","\\lparen"),ce(he,Te,Ie,")","\\rparen"),ce(Pt,Te,St,"<","\\textless"),ce(Pt,Te,St,">","\\textgreater"),ce(he,Te,mt,"\u230A","\\lfloor",!0),ce(he,Te,Ie,"\u230B","\\rfloor",!0),ce(he,Te,mt,"\u2308","\\lceil",!0),ce(he,Te,Ie,"\u2309","\\rceil",!0),ce(he,Te,St,"\\","\\backslash"),ce(he,Te,St,"\u2223","|"),ce(he,Te,St,"\u2223","\\vert"),ce(Pt,Te,St,"|","\\textbar"),ce(he,Te,St,"\u2225","\\|"),ce(he,Te,St,"\u2225","\\Vert"),ce(Pt,Te,St,"\u2225","\\textbardbl"),ce(Pt,Te,St,"~","\\textasciitilde"),ce(Pt,Te,St,"\\","\\textbackslash"),ce(Pt,Te,St,"^","\\textasciicircum"),ce(he,Te,Fe,"\u2191","\\uparrow",!0),ce(he,Te,Fe,"\u21D1","\\Uparrow",!0),ce(he,Te,Fe,"\u2193","\\downarrow",!0),ce(he,Te,Fe,"\u21D3","\\Downarrow",!0),ce(he,Te,Fe,"\u2195","\\updownarrow",!0),ce(he,Te,Fe,"\u21D5","\\Updownarrow",!0),ce(he,Te,Ye,"\u2210","\\coprod"),ce(he,Te,Ye,"\u22C1","\\bigvee"),ce(he,Te,Ye,"\u22C0","\\bigwedge"),ce(he,Te,Ye,"\u2A04","\\biguplus"),ce(he,Te,Ye,"\u22C2","\\bigcap"),ce(he,Te,Ye,"\u22C3","\\bigcup"),ce(he,Te,Ye,"\u222B","\\int"),ce(he,Te,Ye,"\u222B","\\intop"),ce(he,Te,Ye,"\u222C","\\iint"),ce(he,Te,Ye,"\u222D","\\iiint"),ce(he,Te,Ye,"\u220F","\\prod"),ce(he,Te,Ye,"\u2211","\\sum"),ce(he,Te,Ye,"\u2A02","\\bigotimes"),ce(he,Te,Ye,"\u2A01","\\bigoplus"),ce(he,Te,Ye,"\u2A00","\\bigodot"),ce(he,Te,Ye,"\u222E","\\oint"),ce(he,Te,Ye,"\u222F","\\oiint"),ce(he,Te,Ye,"\u2230","\\oiiint"),ce(he,Te,Ye,"\u2A06","\\bigsqcup"),ce(he,Te,Ye,"\u222B","\\smallint"),ce(Pt,Te,xt,"\u2026","\\textellipsis"),ce(he,Te,xt,"\u2026","\\mathellipsis"),ce(Pt,Te,xt,"\u2026","\\ldots",!0),ce(he,Te,xt,"\u2026","\\ldots",!0),ce(he,Te,xt,"\u22EF","\\@cdots",!0),ce(he,Te,xt,"\u22F1","\\ddots",!0),ce(he,Te,St,"\u22EE","\\varvdots"),ce(he,Te,Zt,"\u02CA","\\acute"),ce(he,Te,Zt,"\u02CB","\\grave"),ce(he,Te,Zt,"\xA8","\\ddot"),ce(he,Te,Zt,"~","\\tilde"),ce(he,Te,Zt,"\u02C9","\\bar"),ce(he,Te,Zt,"\u02D8","\\breve"),ce(he,Te,Zt,"\u02C7","\\check"),ce(he,Te,Zt,"^","\\hat"),ce(he,Te,Zt,"\u20D7","\\vec"),ce(he,Te,Zt,"\u02D9","\\dot"),ce(he,Te,Zt,"\u02DA","\\mathring"),ce(he,Te,be,"\u0131","\\imath",!0),ce(he,Te,be,"\u0237","\\jmath",!0),ce(Pt,Te,St,"\u0131","\\i",!0),ce(Pt,Te,St,"\u0237","\\j",!0),ce(Pt,Te,St,"\xDF","\\ss",!0),ce(Pt,Te,St,"\xE6","\\ae",!0),ce(Pt,Te,St,"\xE6","\\ae",!0),ce(Pt,Te,St,"\u0153","\\oe",!0),ce(Pt,Te,St,"\xF8","\\o",!0),ce(Pt,Te,St,"\xC6","\\AE",!0),ce(Pt,Te,St,"\u0152","\\OE",!0),ce(Pt,Te,St,"\xD8","\\O",!0),ce(Pt,Te,Zt,"\u02CA","\\'"),ce(Pt,Te,Zt,"\u02CB","\\`"),ce(Pt,Te,Zt,"\u02C6","\\^"),ce(Pt,Te,Zt,"\u02DC","\\~"),ce(Pt,Te,Zt,"\u02C9","\\="),ce(Pt,Te,Zt,"\u02D8","\\u"),ce(Pt,Te,Zt,"\u02D9","\\."),ce(Pt,Te,Zt,"\u02DA","\\r"),ce(Pt,Te,Zt,"\u02C7","\\v"),ce(Pt,Te,Zt,"\xA8",'\\"'),ce(Pt,Te,Zt,"\u02DD","\\H"),ce(Pt,Te,Zt,"\u25EF","\\textcircled");var Vr={"--":!0,"---":!0,"``":!0,"''":!0};ce(Pt,Te,St,"\u2013","--"),ce(Pt,Te,St,"\u2013","\\textendash"),ce(Pt,Te,St,"\u2014","---"),ce(Pt,Te,St,"\u2014","\\textemdash"),ce(Pt,Te,St,"\u2018","`"),ce(Pt,Te,St,"\u2018","\\textquoteleft"),ce(Pt,Te,St,"\u2019","'"),ce(Pt,Te,St,"\u2019","\\textquoteright"),ce(Pt,Te,St,"\u201C","``"),ce(Pt,Te,St,"\u201C","\\textquotedblleft"),ce(Pt,Te,St,"\u201D","''"),ce(Pt,Te,St,"\u201D","\\textquotedblright"),ce(he,Te,St,"\xB0","\\degree",!0),ce(Pt,Te,St,"\xB0","\\degree"),ce(Pt,Te,St,"\xB0","\\textdegree",!0),ce(he,Te,be,"\xA3","\\pounds"),ce(he,Te,be,"\xA3","\\mathsterling",!0),ce(Pt,Te,be,"\xA3","\\pounds"),ce(Pt,Te,be,"\xA3","\\textsterling",!0),ce(he,ct,St,"\u2720","\\maltese"),ce(Pt,ct,St,"\u2720","\\maltese"),ce(Pt,Te,Or,"\xA0","\\ "),ce(Pt,Te,Or,"\xA0"," "),ce(Pt,Te,Or,"\xA0","~");for(var tn='0123456789/@."',wr=0;wr<tn.length;wr++){var Nr=tn.charAt(wr);ce(he,Te,St,Nr,Nr)}for(var gr='0123456789!@*()-=+[]<>|";:?/.,',Ur=0;Ur<gr.length;Ur++){var cn=gr.charAt(Ur);ce(Pt,Te,St,cn,cn)}for(var hn="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz",ur=0;ur<hn.length;ur++){var Rt=hn.charAt(ur);ce(he,Te,be,Rt,Rt),ce(Pt,Te,St,Rt,Rt)}ce(he,ct,St,"C","\u2102"),ce(Pt,ct,St,"C","\u2102"),ce(he,ct,St,"H","\u210D"),ce(Pt,ct,St,"H","\u210D"),ce(he,ct,St,"N","\u2115"),ce(Pt,ct,St,"N","\u2115"),ce(he,ct,St,"P","\u2119"),ce(Pt,ct,St,"P","\u2119"),ce(he,ct,St,"Q","\u211A"),ce(Pt,ct,St,"Q","\u211A"),ce(he,ct,St,"R","\u211D"),ce(Pt,ct,St,"R","\u211D"),ce(he,ct,St,"Z","\u2124"),ce(Pt,ct,St,"Z","\u2124"),ce(he,Te,be,"h","\u210E"),ce(Pt,Te,be,"h","\u210E");for(var _t="",vt=0;vt<hn.length;vt++){var jt=hn.charAt(vt);_t=String.fromCharCode(55349,56320+vt),ce(he,Te,be,jt,_t),ce(Pt,Te,St,jt,_t),_t=String.fromCharCode(55349,56372+vt),ce(he,Te,be,jt,_t),ce(Pt,Te,St,jt,_t),_t=String.fromCharCode(55349,56424+vt),ce(he,Te,be,jt,_t),ce(Pt,Te,St,jt,_t),_t=String.fromCharCode(55349,56580+vt),ce(he,Te,be,jt,_t),ce(Pt,Te,St,jt,_t),_t=String.fromCharCode(55349,56736+vt),ce(he,Te,be,jt,_t),ce(Pt,Te,St,jt,_t),_t=String.fromCharCode(55349,56788+vt),ce(he,Te,be,jt,_t),ce(Pt,Te,St,jt,_t),_t=String.fromCharCode(55349,56840+vt),ce(he,Te,be,jt,_t),ce(Pt,Te,St,jt,_t),_t=String.fromCharCode(55349,56944+vt),ce(he,Te,be,jt,_t),ce(Pt,Te,St,jt,_t),vt<26&&(_t=String.fromCharCode(55349,56632+vt),ce(he,Te,be,jt,_t),ce(Pt,Te,St,jt,_t),_t=String.fromCharCode(55349,56476+vt),ce(he,Te,be,jt,_t),ce(Pt,Te,St,jt,_t))}_t="\u{1D55C}",ce(he,Te,be,"k",_t),ce(Pt,Te,St,"k",_t);for(var Cr=0;Cr<10;Cr++){var yr=Cr.toString();_t=String.fromCharCode(55349,57294+Cr),ce(he,Te,be,yr,_t),ce(Pt,Te,St,yr,_t),_t=String.fromCharCode(55349,57314+Cr),ce(he,Te,be,yr,_t),ce(Pt,Te,St,yr,_t),_t=String.fromCharCode(55349,57324+Cr),ce(he,Te,be,yr,_t),ce(Pt,Te,St,yr,_t),_t=String.fromCharCode(55349,57334+Cr),ce(he,Te,be,yr,_t),ce(Pt,Te,St,yr,_t)}for(var nn="\xC7\xD0\xDE\xE7\xFE",Kr=0;Kr<nn.length;Kr++){var Ln=nn.charAt(Kr);ce(he,Te,be,Ln,Ln),ce(Pt,Te,St,Ln,Ln)}ce(Pt,Te,St,"\xF0","\xF0"),ce(Pt,Te,St,"\u2013","\u2013"),ce(Pt,Te,St,"\u2014","\u2014"),ce(Pt,Te,St,"\u2018","\u2018"),ce(Pt,Te,St,"\u2019","\u2019"),ce(Pt,Te,St,"\u201C","\u201C"),ce(Pt,Te,St,"\u201D","\u201D");var At=[["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"]],cr=[["mathbf","textbf","Main-Bold"],["","",""],["mathsf","textsf","SansSerif-Regular"],["mathboldsf","textboldsf","SansSerif-Bold"],["mathtt","texttt","Typewriter-Regular"]],Qr=function(Z,Y){var te=Z.charCodeAt(0),de=Z.charCodeAt(1),Ae=(te-55296)*1024+(de-56320)+65536,Ke=Y==="math"?0:1;if(119808<=Ae&&Ae<120484){var Ct=Math.floor((Ae-119808)/26);return[At[Ct][2],At[Ct][Ke]]}else if(120782<=Ae&&Ae<=120831){var Ut=Math.floor((Ae-120782)/10);return[cr[Ut][2],cr[Ut][Ke]]}else{if(Ae===120485||Ae===120486)return[At[0][2],At[0][Ke]];if(120486<Ae&&Ae<120782)return["",""];throw new o("Unsupported character: "+Z)}},yn=[[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]],Gn=[.5,.6,.7,.8,.9,1,1.2,1.44,1.728,2.074,2.488],fi=function(Z,Y){return Y.size<2?Z:yn[Z-1][Y.size-1]},Xn=function(){function Ve(Y){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=Y.style,this.color=Y.color,this.size=Y.size||Ve.BASESIZE,this.textSize=Y.textSize||this.size,this.phantom=!!Y.phantom,this.font=Y.font||"",this.fontFamily=Y.fontFamily||"",this.fontWeight=Y.fontWeight||"",this.fontShape=Y.fontShape||"",this.sizeMultiplier=Gn[this.size-1],this.maxSize=Y.maxSize,this.minRuleThickness=Y.minRuleThickness,this._fontMetrics=void 0}var Z=Ve.prototype;return Z.extend=function(te){var de={style:this.style,size:this.size,textSize:this.textSize,color:this.color,phantom:this.phantom,font:this.font,fontFamily:this.fontFamily,fontWeight:this.fontWeight,fontShape:this.fontShape,maxSize:this.maxSize,minRuleThickness:this.minRuleThickness};for(var Ae in te)te.hasOwnProperty(Ae)&&(de[Ae]=te[Ae]);return new Ve(de)},Z.havingStyle=function(te){return this.style===te?this:this.extend({style:te,size:fi(this.textSize,te)})},Z.havingCrampedStyle=function(){return this.havingStyle(this.style.cramp())},Z.havingSize=function(te){return this.size===te&&this.textSize===te?this:this.extend({style:this.style.text(),size:te,textSize:te,sizeMultiplier:Gn[te-1]})},Z.havingBaseStyle=function(te){te=te||this.style.text();var de=fi(Ve.BASESIZE,te);return this.size===de&&this.textSize===Ve.BASESIZE&&this.style===te?this:this.extend({style:te,size:de})},Z.havingBaseSizing=function(){var te;switch(this.style.id){case 4:case 5:te=3;break;case 6:case 7:te=1;break;default:te=6}return this.extend({style:this.style.text(),size:te})},Z.withColor=function(te){return this.extend({color:te})},Z.withPhantom=function(){return this.extend({phantom:!0})},Z.withFont=function(te){return this.extend({font:te})},Z.withTextFontFamily=function(te){return this.extend({fontFamily:te,font:""})},Z.withTextFontWeight=function(te){return this.extend({fontWeight:te,font:""})},Z.withTextFontShape=function(te){return this.extend({fontShape:te,font:""})},Z.sizingClasses=function(te){return te.size!==this.size?["sizing","reset-size"+te.size,"size"+this.size]:[]},Z.baseSizingClasses=function(){return this.size!==Ve.BASESIZE?["sizing","reset-size"+this.size,"size"+Ve.BASESIZE]:[]},Z.fontMetrics=function(){return this._fontMetrics||(this._fontMetrics=Ht(this.size)),this._fontMetrics},Z.getColor=function(){return this.phantom?"transparent":this.color},Ve}();Xn.BASESIZE=6;var Ki=Xn,hi={pt:1,mm:7227/2540,cm:7227/254,in:72.27,bp:803/800,pc:12,dd:1238/1157,cc:14856/1157,nd:685/642,nc:1370/107,sp:1/65536,px:803/800},bi={ex:!0,em:!0,mu:!0},Di=function(Z){return typeof Z!="string"&&(Z=Z.unit),Z in hi||Z in bi||Z==="ex"},wi=function(Z,Y){var te;if(Z.unit in hi)te=hi[Z.unit]/Y.fontMetrics().ptPerEm/Y.sizeMultiplier;else if(Z.unit==="mu")te=Y.fontMetrics().cssEmPerMu;else{var de;if(Y.style.isTight()?de=Y.havingStyle(Y.style.text()):de=Y,Z.unit==="ex")te=de.fontMetrics().xHeight;else if(Z.unit==="em")te=de.fontMetrics().quad;else throw new o("Invalid unit: '"+Z.unit+"'");de!==Y&&(te*=de.sizeMultiplier/Y.sizeMultiplier)}return Math.min(Z.number*te,Y.maxSize)},fa=["\\imath","\u0131","\\jmath","\u0237","\\pounds","\\mathsterling","\\textsterling","\xA3"],ri=function(Z,Y,te){return Me[te][Z]&&Me[te][Z].replace&&(Z=Me[te][Z].replace),{value:Z,metrics:Yt(Z,Y,te)}},la=function(Z,Y,te,de,Ae){var Ke=ri(Z,Y,te),Ct=Ke.metrics;Z=Ke.value;var Ut;if(Ct){var nr=Ct.italic;(te==="text"||de&&de.font==="mathit")&&(nr=0),Ut=new Se(Z,Ct.height,Ct.depth,nr,Ct.skew,Ct.width,Ae)}else typeof console!="undefined"&&console.warn("No character metrics "+("for '"+Z+"' in style '"+Y+"' and mode '"+te+"'")),Ut=new Se(Z,0,0,0,0,0,Ae);if(de){Ut.maxFontSize=de.sizeMultiplier,de.style.isTight()&&Ut.classes.push("mtight");var It=de.getColor();It&&(Ut.style.color=It)}return Ut},Et=function(Z,Y,te,de){return de===void 0&&(de=[]),te.font==="boldsymbol"&&ri(Z,"Main-Bold",Y).metrics?la(Z,"Main-Bold",Y,te,de.concat(["mathbf"])):Z==="\\"||Me[Y][Z].font==="main"?la(Z,"Main-Regular",Y,te,de):la(Z,"AMS-Regular",Y,te,de.concat(["amsrm"]))},it=function(Z,Y,te,de){return/[0-9]/.test(Z.charAt(0))||A.contains(fa,Z)?{fontName:"Main-Italic",fontClass:"mathit"}:{fontName:"Math-Italic",fontClass:"mathdefault"}},ni=function(Z,Y,te,de){return A.contains(fa,Z)?{fontName:"Main-Italic",fontClass:"mathit"}:/[0-9]/.test(Z.charAt(0))?{fontName:"Caligraphic-Regular",fontClass:"mathcal"}:{fontName:"Math-Italic",fontClass:"mathdefault"}},Oi=function(Z,Y,te,de){return ri(Z,"Math-BoldItalic",Y).metrics?{fontName:"Math-BoldItalic",fontClass:"boldsymbol"}:{fontName:"Main-Bold",fontClass:"mathbf"}},ii=function(Z,Y,te){var de=Z.mode,Ae=Z.text,Ke=["mord"],Ct=de==="math"||de==="text"&&Y.font,Ut=Ct?Y.font:Y.fontFamily;if(Ae.charCodeAt(0)===55349){var nr=Qr(Ae,de),It=nr[0],Hr=nr[1];return la(Ae,It,de,Y,Ke.concat(Hr))}else if(Ut){var un,Pn;if(Ut==="boldsymbol"||Ut==="mathnormal"){var Kn=Ut==="boldsymbol"?Oi(Ae,de,Y,Ke):ni(Ae,de,Y,Ke);un=Kn.fontName,Pn=[Kn.fontClass]}else A.contains(fa,Ae)?(un="Main-Italic",Pn=["mathit"]):Ct?(un=Ze[Ut].fontName,Pn=[Ut]):(un=zr(Ut,Y.fontWeight,Y.fontShape),Pn=[Ut,Y.fontWeight,Y.fontShape]);if(ri(Ae,un,de).metrics)return la(Ae,un,de,Y,Ke.concat(Pn));if(Vr.hasOwnProperty(Ae)&&un.substr(0,10)==="Typewriter"){for(var ei=[],Fi=0;Fi<Ae.length;Fi++)ei.push(la(Ae[Fi],un,de,Y,Ke.concat(Pn)));return Ot(ei)}}if(te==="mathord"){var Pa=it(Ae,de,Y,Ke);return la(Ae,Pa.fontName,de,Y,Ke.concat([Pa.fontClass]))}else if(te==="textord"){var xa=Me[de][Ae]&&Me[de][Ae].font;if(xa==="ams"){var Aa=zr("amsrm",Y.fontWeight,Y.fontShape);return la(Ae,Aa,de,Y,Ke.concat("amsrm",Y.fontWeight,Y.fontShape))}else if(xa==="main"||!xa){var ns=zr("textrm",Y.fontWeight,Y.fontShape);return la(Ae,ns,de,Y,Ke.concat(Y.fontWeight,Y.fontShape))}else{var ys=zr(xa,Y.fontWeight,Y.fontShape);return la(Ae,ys,de,Y,Ke.concat(ys,Y.fontWeight,Y.fontShape))}}else throw new Error("unexpected type: "+te+" in makeOrd")},sa=function(Z,Y){if(Tt(Z.classes)!==Tt(Y.classes)||Z.skew!==Y.skew||Z.maxFontSize!==Y.maxFontSize)return!1;for(var te in Z.style)if(Z.style.hasOwnProperty(te)&&Z.style[te]!==Y.style[te])return!1;for(var de in Y.style)if(Y.style.hasOwnProperty(de)&&Z.style[de]!==Y.style[de])return!1;return!0},Ti=function(Z){for(var Y=0;Y<Z.length-1;Y++){var te=Z[Y],de=Z[Y+1];te instanceof Se&&de instanceof Se&&sa(te,de)&&(te.text+=de.text,te.height=Math.max(te.height,de.height),te.depth=Math.max(te.depth,de.depth),te.italic=de.italic,Z.splice(Y+1,1),Y--)}return Z},ci=function(Z){for(var Y=0,te=0,de=0,Ae=0;Ae<Z.children.length;Ae++){var Ke=Z.children[Ae];Ke.height>Y&&(Y=Ke.height),Ke.depth>te&&(te=Ke.depth),Ke.maxFontSize>de&&(de=Ke.maxFontSize)}Z.height=Y,Z.depth=te,Z.maxFontSize=de},An=function(Z,Y,te,de){var Ae=new dt(Z,Y,te,de);return ci(Ae),Ae},er=function(Z,Y,te,de){return new dt(Z,Y,te,de)},pt=function(Z,Y,te){var de=An([Z],[],Y);return de.height=Math.max(te||Y.fontMetrics().defaultRuleThickness,Y.minRuleThickness),de.style.borderBottomWidth=de.height+"em",de.maxFontSize=1,de},tt=function(Z,Y,te,de){var Ae=new et(Z,Y,te,de);return ci(Ae),Ae},Ot=function(Z){var Y=new Ge(Z);return ci(Y),Y},ft=function(Z,Y){return Z instanceof Ge?An([],[Z],Y):Z},lr=function(Z){if(Z.positionType==="individualShift"){for(var Y=Z.children,te=[Y[0]],de=-Y[0].shift-Y[0].elem.depth,Ae=de,Ke=1;Ke<Y.length;Ke++){var Ct=-Y[Ke].shift-Ae-Y[Ke].elem.depth,Ut=Ct-(Y[Ke-1].elem.height+Y[Ke-1].elem.depth);Ae=Ae+Ct,te.push({type:"kern",size:Ut}),te.push(Y[Ke])}return{children:te,depth:de}}var nr;if(Z.positionType==="top"){for(var It=Z.positionData,Hr=0;Hr<Z.children.length;Hr++){var un=Z.children[Hr];It-=un.type==="kern"?un.size:un.elem.height+un.elem.depth}nr=It}else if(Z.positionType==="bottom")nr=-Z.positionData;else{var Pn=Z.children[0];if(Pn.type!=="elem")throw new Error('First child must have type "elem".');if(Z.positionType==="shift")nr=-Pn.elem.depth-Z.positionData;else if(Z.positionType==="firstBaseline")nr=-Pn.elem.depth;else throw new Error("Invalid positionType "+Z.positionType+".")}return{children:Z.children,depth:nr}},dr=function(Z,Y){for(var te=lr(Z),de=te.children,Ae=te.depth,Ke=0,Ct=0;Ct<de.length;Ct++){var Ut=de[Ct];if(Ut.type==="elem"){var nr=Ut.elem;Ke=Math.max(Ke,nr.maxFontSize,nr.height)}}Ke+=2;var It=An(["pstrut"],[]);It.style.height=Ke+"em";for(var Hr=[],un=Ae,Pn=Ae,Kn=Ae,ei=0;ei<de.length;ei++){var Fi=de[ei];if(Fi.type==="kern")Kn+=Fi.size;else{var Pa=Fi.elem,xa=Fi.wrapperClasses||[],Aa=Fi.wrapperStyle||{},ns=An(xa,[It,Pa],void 0,Aa);ns.style.top=-Ke-Kn-Pa.depth+"em",Fi.marginLeft&&(ns.style.marginLeft=Fi.marginLeft),Fi.marginRight&&(ns.style.marginRight=Fi.marginRight),Hr.push(ns),Kn+=Pa.height+Pa.depth}un=Math.min(un,Kn),Pn=Math.max(Pn,Kn)}var ys=An(["vlist"],Hr);ys.style.height=Pn+"em";var js;if(un<0){var ls=An([],[]),ha=An(["vlist"],[ls]);ha.style.height=-un+"em";var io=An(["vlist-s"],[new Se("\u200B")]);js=[An(["vlist-r"],[ys,io]),An(["vlist-r"],[ha])]}else js=[An(["vlist-r"],[ys])];var Xs=An(["vlist-t"],js);return js.length===2&&Xs.classes.push("vlist-t2"),Xs.height=Pn,Xs.depth=-un,Xs},Pr=function(Z,Y){var te=An(["mspace"],[],Y),de=wi(Z,Y);return te.style.marginRight=de+"em",te},zr=function(Z,Y,te){var de="";switch(Z){case"amsrm":de="AMS";break;case"textrm":de="Main";break;case"textsf":de="SansSerif";break;case"texttt":de="Typewriter";break;default:de=Z}var Ae;return Y==="textbf"&&te==="textit"?Ae="BoldItalic":Y==="textbf"?Ae="Bold":Y==="textit"?Ae="Italic":Ae="Regular",de+"-"+Ae},Ze={mathbf:{variant:"bold",fontName:"Main-Bold"},mathrm:{variant:"normal",fontName:"Main-Regular"},textit:{variant:"italic",fontName:"Main-Italic"},mathit:{variant:"italic",fontName:"Main-Italic"},mathbb:{variant:"double-struck",fontName:"AMS-Regular"},mathcal:{variant:"script",fontName:"Caligraphic-Regular"},mathfrak:{variant:"fraktur",fontName:"Fraktur-Regular"},mathscr:{variant:"script",fontName:"Script-Regular"},mathsf:{variant:"sans-serif",fontName:"SansSerif-Regular"},mathtt:{variant:"monospace",fontName:"Typewriter-Regular"}},qe={vec:["vec",.471,.714],oiintSize1:["oiintSize1",.957,.499],oiintSize2:["oiintSize2",1.472,.659],oiiintSize1:["oiiintSize1",1.304,.499],oiiintSize2:["oiiintSize2",1.98,.659]},xe=function(Z,Y){var te=qe[Z],de=te[0],Ae=te[1],Ke=te[2],Ct=new $e(de),Ut=new Le([Ct],{width:Ae+"em",height:Ke+"em",style:"width:"+Ae+"em",viewBox:"0 0 "+1e3*Ae+" "+1e3*Ke,preserveAspectRatio:"xMinYMin"}),nr=er(["overlay"],[Ut],Y);return nr.height=Ke,nr.style.height=Ke+"em",nr.style.width=Ae+"em",nr},at={fontMap:Ze,makeSymbol:la,mathsym:Et,makeSpan:An,makeSvgSpan:er,makeLineSpan:pt,makeAnchor:tt,makeFragment:Ot,wrapFragment:ft,makeVList:dr,makeOrd:ii,makeGlue:Pr,staticSvg:xe,svgData:qe,tryCombineChars:Ti};function ar(Ve,Z){var Y=Er(Ve,Z);if(!Y)throw new Error("Expected node of type "+Z+", but got "+(Ve?"node of type "+Ve.type:String(Ve)));return Y}function Er(Ve,Z){return Ve&&Ve.type===Z?Ve:null}function kr(Ve,Z){var Y=Ir(Ve,Z);if(!Y)throw new Error('Expected node of type "atom" and family "'+Z+'", but got '+(Ve?Ve.type==="atom"?"atom of family "+Ve.family:"node of type "+Ve.type:String(Ve)));return Y}function Ir(Ve,Z){return Ve&&Ve.type==="atom"&&Ve.family===Z?Ve:null}function jr(Ve){var Z=wn(Ve);if(!Z)throw new Error("Expected node of symbol group type, but got "+(Ve?"node of type "+Ve.type:String(Ve)));return Z}function wn(Ve){return Ve&&(Ve.type==="atom"||tr.hasOwnProperty(Ve.type))?Ve:null}var Sr={number:3,unit:"mu"},pn={number:4,unit:"mu"},on={number:5,unit:"mu"},dn={mord:{mop:Sr,mbin:pn,mrel:on,minner:Sr},mop:{mord:Sr,mop:Sr,mrel:on,minner:Sr},mbin:{mord:pn,mop:pn,mopen:pn,minner:pn},mrel:{mord:on,mop:on,mopen:on,minner:on},mopen:{},mclose:{mop:Sr,mbin:pn,mrel:on,minner:Sr},mpunct:{mord:Sr,mop:Sr,mrel:on,mopen:Sr,mclose:Sr,mpunct:Sr,minner:Sr},minner:{mord:Sr,mop:Sr,mbin:pn,mrel:on,mopen:Sr,mpunct:Sr,minner:Sr}},In={mord:{mop:Sr},mop:{mord:Sr,mop:Sr},mbin:{},mrel:{},mopen:{},mclose:{mop:Sr},mpunct:{},minner:{mop:Sr}},Ia={},Ni={},gi={};function En(Ve){for(var Z=Ve.type,Y=Ve.names,te=Ve.props,de=Ve.handler,Ae=Ve.htmlBuilder,Ke=Ve.mathmlBuilder,Ct={type:Z,numArgs:te.numArgs,argTypes:te.argTypes,greediness:te.greediness===void 0?1:te.greediness,allowedInText:!!te.allowedInText,allowedInMath:te.allowedInMath===void 0?!0:te.allowedInMath,numOptionalArgs:te.numOptionalArgs||0,infix:!!te.infix,handler:de},Ut=0;Ut<Y.length;++Ut)Ia[Y[Ut]]=Ct;Z&&(Ae&&(Ni[Z]=Ae),Ke&&(gi[Z]=Ke))}function pi(Ve){var Z=Ve.type,Y=Ve.htmlBuilder,te=Ve.mathmlBuilder;En({type:Z,names:[],props:{numArgs:0},handler:function(){throw new Error("Should never be called.")},htmlBuilder:Y,mathmlBuilder:te})}var Qi=function(Z){var Y=Er(Z,"ordgroup");return Y?Y.body:[Z]},Ea=at.makeSpan,Vs=["leftmost","mbin","mopen","mrel","mop","mpunct"],wa=["rightmost","mrel","mclose","mpunct"],Fs={display:U.DISPLAY,text:U.TEXT,script:U.SCRIPT,scriptscript:U.SCRIPTSCRIPT},Ks={mord:"mord",mop:"mop",mbin:"mbin",mrel:"mrel",mopen:"mopen",mclose:"mclose",mpunct:"mpunct",minner:"minner"},es=function(Z,Y,te,de){de===void 0&&(de=[null,null]);for(var Ae=[],Ke=0;Ke<Z.length;Ke++){var Ct=ea(Z[Ke],Y);if(Ct instanceof Ge){var Ut=Ct.children;Ae.push.apply(Ae,Ut)}else Ae.push(Ct)}if(!te)return Ae;var nr=Y;if(Z.length===1){var It=Er(Z[0],"sizing")||Er(Z[0],"styling");It&&(It.type==="sizing"?nr=Y.havingSize(It.size):It.type==="styling"&&(nr=Y.havingStyle(Fs[It.style])))}var Hr=Ea([de[0]||"leftmost"],[],Y),un=Ea([de[1]||"rightmost"],[],Y);return Hs(Ae,function(Pn,Kn){var ei=Kn.classes[0],Fi=Pn.classes[0];ei==="mbin"&&A.contains(wa,Fi)?Kn.classes[0]="mord":Fi==="mbin"&&A.contains(Vs,ei)&&(Pn.classes[0]="mord")},{node:Hr},un),Hs(Ae,function(Pn,Kn){var ei=fs(Kn),Fi=fs(Pn),Pa=ei&&Fi?Pn.hasClass("mtight")?In[ei][Fi]:dn[ei][Fi]:null;if(Pa)return at.makeGlue(Pa,nr)},{node:Hr},un),Ae},Hs=function Ve(Z,Y,te,de){de&&Z.push(de);for(var Ae=0;Ae<Z.length;Ae++){var Ke=Z[Ae],Ct=Jn(Ke);if(Ct){Ve(Ct.children,Y,te);continue}if(Ke.classes[0]!=="mspace"){var Ut=Y(Ke,te.node);Ut&&(te.insertAfter?te.insertAfter(Ut):(Z.unshift(Ut),Ae++)),te.node=Ke,te.insertAfter=function(nr){return function(It){Z.splice(nr+1,0,It),Ae++}}(Ae)}}de&&Z.pop()},Jn=function(Z){return Z instanceof Ge||Z instanceof et?Z:null},ws=function Ve(Z,Y){var te=Jn(Z);if(te){var de=te.children;if(de.length){if(Y==="right")return Ve(de[de.length-1],"right");if(Y==="left")return Ve(de[0],"left")}}return Z},fs=function(Z,Y){return Z?(Y&&(Z=ws(Z,Y)),Ks[Z.classes[0]]||null):null},Ys=function(Z,Y){var te=["nulldelimiter"].concat(Z.baseSizingClasses());return Ea(Y.concat(te))},ea=function(Z,Y,te){if(!Z)return Ea();if(Ni[Z.type]){var de=Ni[Z.type](Z,Y);if(te&&Y.size!==te.size){de=Ea(Y.sizingClasses(te),[de],Y);var Ae=Y.sizeMultiplier/te.sizeMultiplier;de.height*=Ae,de.depth*=Ae}return de}else throw new o("Got group of unknown type: '"+Z.type+"'")};function Bs(Ve,Z){var Y=Ea(["base"],Ve,Z),te=Ea(["strut"]);return te.style.height=Y.height+Y.depth+"em",te.style.verticalAlign=-Y.depth+"em",Y.children.unshift(te),Y}function Vo(Ve,Z){var Y=null;Ve.length===1&&Ve[0].type==="tag"&&(Y=Ve[0].tag,Ve=Ve[0].body);for(var te=es(Ve,Z,!0),de=[],Ae=[],Ke=0;Ke<te.length;Ke++)if(Ae.push(te[Ke]),te[Ke].hasClass("mbin")||te[Ke].hasClass("mrel")||te[Ke].hasClass("allowbreak")){for(var Ct=!1;Ke<te.length-1&&te[Ke+1].hasClass("mspace")&&!te[Ke+1].hasClass("newline");)Ke++,Ae.push(te[Ke]),te[Ke].hasClass("nobreak")&&(Ct=!0);Ct||(de.push(Bs(Ae,Z)),Ae=[])}else te[Ke].hasClass("newline")&&(Ae.pop(),Ae.length>0&&(de.push(Bs(Ae,Z)),Ae=[]),de.push(te[Ke]));Ae.length>0&&de.push(Bs(Ae,Z));var Ut;Y&&(Ut=Bs(es(Y,Z,!0)),Ut.classes=["tag"],de.push(Ut));var nr=Ea(["katex-html"],de);if(nr.setAttribute("aria-hidden","true"),Ut){var It=Ut.children[0];It.style.height=nr.height+nr.depth+"em",It.style.verticalAlign=-nr.depth+"em"}return nr}function Ka(Ve){return new Ge(Ve)}var va=function(){function Ve(Y,te){this.type=void 0,this.attributes=void 0,this.children=void 0,this.type=Y,this.attributes={},this.children=te||[]}var Z=Ve.prototype;return Z.setAttribute=function(te,de){this.attributes[te]=de},Z.getAttribute=function(te){return this.attributes[te]},Z.toNode=function(){var te=document.createElementNS("http://www.w3.org/1998/Math/MathML",this.type);for(var de in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,de)&&te.setAttribute(de,this.attributes[de]);for(var Ae=0;Ae<this.children.length;Ae++)te.appendChild(this.children[Ae].toNode());return te},Z.toMarkup=function(){var te="<"+this.type;for(var de in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,de)&&(te+=" "+de+'="',te+=A.escape(this.attributes[de]),te+='"');te+=">";for(var Ae=0;Ae<this.children.length;Ae++)te+=this.children[Ae].toMarkup();return te+="</"+this.type+">",te},Z.toText=function(){return this.children.map(function(te){return te.toText()}).join("")},Ve}(),is=function(){function Ve(Y){this.text=void 0,this.text=Y}var Z=Ve.prototype;return Z.toNode=function(){return document.createTextNode(this.text)},Z.toMarkup=function(){return A.escape(this.toText())},Z.toText=function(){return this.text},Ve}(),mo=function(){function Ve(Y){this.width=void 0,this.character=void 0,this.width=Y,Y>=.05555&&Y<=.05556?this.character="\u200A":Y>=.1666&&Y<=.1667?this.character="\u2009":Y>=.2222&&Y<=.2223?this.character="\u2005":Y>=.2777&&Y<=.2778?this.character="\u2005\u200A":Y>=-.05556&&Y<=-.05555?this.character="\u200A\u2063":Y>=-.1667&&Y<=-.1666?this.character="\u2009\u2063":Y>=-.2223&&Y<=-.2222?this.character="\u205F\u2063":Y>=-.2778&&Y<=-.2777?this.character="\u2005\u2063":this.character=null}var Z=Ve.prototype;return Z.toNode=function(){if(this.character)return document.createTextNode(this.character);var te=document.createElementNS("http://www.w3.org/1998/Math/MathML","mspace");return te.setAttribute("width",this.width+"em"),te},Z.toMarkup=function(){return this.character?"<mtext>"+this.character+"</mtext>":'<mspace width="'+this.width+'em"/>'},Z.toText=function(){return this.character?this.character:" "},Ve}(),Nn={MathNode:va,TextNode:is,SpaceNode:mo,newDocumentFragment:Ka},ts=function(Z,Y,te){return Me[Y][Z]&&Me[Y][Z].replace&&Z.charCodeAt(0)!==55349&&!(Vr.hasOwnProperty(Z)&&te&&(te.fontFamily&&te.fontFamily.substr(4,2)==="tt"||te.font&&te.font.substr(4,2)==="tt"))&&(Z=Me[Y][Z].replace),new Nn.TextNode(Z)},Ps=function(Z){return Z.length===1?Z[0]:new Nn.MathNode("mrow",Z)},Is=function(Z,Y){if(Y.fontFamily==="texttt")return"monospace";if(Y.fontFamily==="textsf")return Y.fontShape==="textit"&&Y.fontWeight==="textbf"?"sans-serif-bold-italic":Y.fontShape==="textit"?"sans-serif-italic":Y.fontWeight==="textbf"?"bold-sans-serif":"sans-serif";if(Y.fontShape==="textit"&&Y.fontWeight==="textbf")return"bold-italic";if(Y.fontShape==="textit")return"italic";if(Y.fontWeight==="textbf")return"bold";var te=Y.font;if(!te||te==="mathnormal")return null;var de=Z.mode;if(te==="mathit")return"italic";if(te==="boldsymbol")return"bold-italic";if(te==="mathbf")return"bold";if(te==="mathbb")return"double-struck";if(te==="mathfrak")return"fraktur";if(te==="mathscr"||te==="mathcal")return"script";if(te==="mathsf")return"sans-serif";if(te==="mathtt")return"monospace";var Ae=Z.text;if(A.contains(["\\imath","\\jmath"],Ae))return null;Me[de][Ae]&&Me[de][Ae].replace&&(Ae=Me[de][Ae].replace);var Ke=at.fontMap[te].fontName;return Yt(Ae,Ke,de)?at.fontMap[te].variant:null},Yi=function(Z,Y,te){if(Z.length===1){var de=Ha(Z[0],Y);return te&&de instanceof va&&de.type==="mo"&&(de.setAttribute("lspace","0em"),de.setAttribute("rspace","0em")),[de]}for(var Ae=[],Ke,Ct=0;Ct<Z.length;Ct++){var Ut=Ha(Z[Ct],Y);if(Ut instanceof va&&Ke instanceof va){if(Ut.type==="mtext"&&Ke.type==="mtext"&&Ut.getAttribute("mathvariant")===Ke.getAttribute("mathvariant")){var nr;(nr=Ke.children).push.apply(nr,Ut.children);continue}else if(Ut.type==="mn"&&Ke.type==="mn"){var It;(It=Ke.children).push.apply(It,Ut.children);continue}else if(Ut.type==="mi"&&Ut.children.length===1&&Ke.type==="mn"){var Hr=Ut.children[0];if(Hr instanceof is&&Hr.text==="."){var un;(un=Ke.children).push.apply(un,Ut.children);continue}}else if(Ke.type==="mi"&&Ke.children.length===1){var Pn=Ke.children[0];if(Pn instanceof is&&Pn.text==="\u0338"&&(Ut.type==="mo"||Ut.type==="mi"||Ut.type==="mn")){var Kn=Ut.children[0];Kn instanceof is&&Kn.text.length>0&&(Kn.text=Kn.text.slice(0,1)+"\u0338"+Kn.text.slice(1),Ae.pop())}}}Ae.push(Ut),Ke=Ut}return Ae},Xa=function(Z,Y,te){return Ps(Yi(Z,Y,te))},Ha=function(Z,Y){if(!Z)return new Nn.MathNode("mrow");if(gi[Z.type]){var te=gi[Z.type](Z,Y);return te}else throw new o("Got group of unknown type: '"+Z.type+"'")};function Rs(Ve,Z,Y,te){var de=Yi(Ve,Y),Ae;de.length===1&&de[0]instanceof va&&A.contains(["mrow","mtable"],de[0].type)?Ae=de[0]:Ae=new Nn.MathNode("mrow",de);var Ke=new Nn.MathNode("annotation",[new Nn.TextNode(Z)]);Ke.setAttribute("encoding","application/x-tex");var Ct=new Nn.MathNode("semantics",[Ae,Ke]),Ut=new Nn.MathNode("math",[Ct]);Ut.setAttribute("xmlns","http://www.w3.org/1998/Math/MathML");var nr=te?"katex":"katex-mathml";return at.makeSpan([nr],[Ut])}var vo=function(Z){return new Ki({style:Z.displayMode?U.DISPLAY:U.TEXT,maxSize:Z.maxSize,minRuleThickness:Z.minRuleThickness})},zo=function(Z,Y){if(Y.displayMode){var te=["katex-display"];Y.leqno&&te.push("leqno"),Y.fleqn&&te.push("fleqn"),Z=at.makeSpan(te,[Z])}return Z},Ko=function(Z,Y,te){var de=vo(te),Ae;if(te.output==="mathml")return Rs(Z,Y,de,!0);if(te.output==="html"){var Ke=Vo(Z,de);Ae=at.makeSpan(["katex"],[Ke])}else{var Ct=Rs(Z,Y,de,!1),Ut=Vo(Z,de);Ae=at.makeSpan(["katex"],[Ct,Ut])}return zo(Ae,te)},Yo=function(Z,Y,te){var de=vo(te),Ae=Vo(Z,de),Ke=at.makeSpan(["katex"],[Ae]);return zo(Ke,te)},rs=Ko,vs={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"},Ao=function(Z){var Y=new Nn.MathNode("mo",[new Nn.TextNode(vs[Z.substr(1)])]);return Y.setAttribute("stretchy","true"),Y},Zo={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]},Lo=function(Z){return Z.type==="ordgroup"?Z.body.length:1},Xo=function(Z,Y){function te(){var Ut=4e5,nr=Z.label.substr(1);if(A.contains(["widehat","widecheck","widetilde","utilde"],nr)){var It=Z,Hr=Lo(It.base),un,Pn,Kn;if(Hr>5)nr==="widehat"||nr==="widecheck"?(un=420,Ut=2364,Kn=.42,Pn=nr+"4"):(un=312,Ut=2340,Kn=.34,Pn="tilde4");else{var ei=[1,1,2,2,3,3][Hr];nr==="widehat"||nr==="widecheck"?(Ut=[0,1062,2364,2364,2364][ei],un=[0,239,300,360,420][ei],Kn=[0,.24,.3,.3,.36,.42][ei],Pn=nr+ei):(Ut=[0,600,1033,2339,2340][ei],un=[0,260,286,306,312][ei],Kn=[0,.26,.286,.3,.306,.34][ei],Pn="tilde"+ei)}var Fi=new $e(Pn),Pa=new Le([Fi],{width:"100%",height:Kn+"em",viewBox:"0 0 "+Ut+" "+un,preserveAspectRatio:"none"});return{span:at.makeSvgSpan([],[Pa],Y),minWidth:0,height:Kn}}else{var xa=[],Aa=Zo[nr],ns=Aa[0],ys=Aa[1],js=Aa[2],ls=js/1e3,ha=ns.length,io,Xs;if(ha===1){var Ai=Aa[3];io=["hide-tail"],Xs=[Ai]}else if(ha===2)io=["halfarrow-left","halfarrow-right"],Xs=["xMinYMin","xMaxYMin"];else if(ha===3)io=["brace-left","brace-center","brace-right"],Xs=["xMinYMin","xMidYMin","xMaxYMin"];else throw new Error(`Correct katexImagesData or update code here to support
|
|
|
`+ha+" children.");for(var Ro=0;Ro<ha;Ro++){var Po=new $e(ns[Ro]),xu=new Le([Po],{width:"400em",height:ls+"em",viewBox:"0 0 "+Ut+" "+js,preserveAspectRatio:Xs[Ro]+" slice"}),eo=at.makeSvgSpan([io[Ro]],[xu],Y);if(ha===1)return{span:eo,minWidth:ys,height:ls};eo.style.height=ls+"em",xa.push(eo)}return{span:at.makeSpan(["stretchy"],xa,Y),minWidth:ys,height:ls}}}var de=te(),Ae=de.span,Ke=de.minWidth,Ct=de.height;return Ae.height=Ct,Ae.style.height=Ct+"em",Ke>0&&(Ae.style.minWidth=Ke+"em"),Ae},xi=function(Z,Y,te,de){var Ae,Ke=Z.height+Z.depth+2*te;if(/fbox|color/.test(Y)){if(Ae=at.makeSpan(["stretchy",Y],[],de),Y==="fbox"){var Ct=de.color&&de.getColor();Ct&&(Ae.style.borderColor=Ct)}}else{var Ut=[];/^[bx]cancel$/.test(Y)&&Ut.push(new We({x1:"0",y1:"0",x2:"100%",y2:"100%","stroke-width":"0.046em"})),/^x?cancel$/.test(Y)&&Ut.push(new We({x1:"0",y1:"100%",x2:"100%",y2:"0","stroke-width":"0.046em"}));var nr=new Le(Ut,{width:"100%",height:Ke+"em"});Ae=at.makeSvgSpan([],[nr],de)}return Ae.height=Ke,Ae.style.height=Ke+"em",Ae},_i={encloseSpan:xi,mathMLnode:Ao,svgSpan:Xo},as=function(Z,Y){var te,de,Ae=Er(Z,"supsub"),Ke;Ae?(de=ar(Ae.base,"accent"),te=de.base,Ae.base=te,Ke=ot(ea(Ae,Y)),Ae.base=de):(de=ar(Z,"accent"),te=de.base);var Ct=ea(te,Y.havingCrampedStyle()),Ut=de.isShifty&&A.isCharacterBox(te),nr=0;if(Ut){var It=A.getBaseElem(te),Hr=ea(It,Y.havingCrampedStyle());nr=rt(Hr).skew}var un=Math.min(Ct.height,Y.fontMetrics().xHeight),Pn;if(de.isStretchy)Pn=_i.svgSpan(de,Y),Pn=at.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:Ct},{type:"elem",elem:Pn,wrapperClasses:["svg-align"],wrapperStyle:nr>0?{width:"calc(100% - "+2*nr+"em)",marginLeft:2*nr+"em"}:void 0}]},Y);else{var Kn,ei;de.label==="\\vec"?(Kn=at.staticSvg("vec",Y),ei=at.svgData.vec[1]):(Kn=at.makeOrd({mode:de.mode,text:de.label},Y,"textord"),Kn=rt(Kn),Kn.italic=0,ei=Kn.width),Pn=at.makeSpan(["accent-body"],[Kn]);var Fi=de.label==="\\textcircled";Fi&&(Pn.classes.push("accent-full"),un=Ct.height);var Pa=nr;Fi||(Pa-=ei/2),Pn.style.left=Pa+"em",de.label==="\\textcircled"&&(Pn.style.top=".2em"),Pn=at.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:Ct},{type:"kern",size:-un},{type:"elem",elem:Pn}]},Y)}var xa=at.makeSpan(["mord","accent"],[Pn],Y);return Ke?(Ke.children[0]=xa,Ke.height=Math.max(xa.height,Ke.height),Ke.classes[0]="mord",Ke):xa},ds=function(Z,Y){var te=Z.isStretchy?_i.mathMLnode(Z.label):new Nn.MathNode("mo",[ts(Z.label,Z.mode)]),de=new Nn.MathNode("mover",[Ha(Z.base,Y),te]);return de.setAttribute("accent","true"),de},ss=new RegExp(["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring"].map(function(Ve){return"\\"+Ve}).join("|"));En({type:"accent",names:["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring","\\widecheck","\\widehat","\\widetilde","\\overrightarrow","\\overleftarrow","\\Overrightarrow","\\overleftrightarrow","\\overgroup","\\overlinesegment","\\overleftharpoon","\\overrightharpoon"],props:{numArgs:1},handler:function(Z,Y){var te=Y[0],de=!ss.test(Z.funcName),Ae=!de||Z.funcName==="\\widehat"||Z.funcName==="\\widetilde"||Z.funcName==="\\widecheck";return{type:"accent",mode:Z.parser.mode,label:Z.funcName,isStretchy:de,isShifty:Ae,base:te}},htmlBuilder:as,mathmlBuilder:ds}),En({type:"accent",names:["\\'","\\`","\\^","\\~","\\=","\\u","\\.",'\\"',"\\r","\\H","\\v","\\textcircled"],props:{numArgs:1,allowedInText:!0,allowedInMath:!1},handler:function(Z,Y){var te=Y[0];return{type:"accent",mode:Z.parser.mode,label:Z.funcName,isStretchy:!1,isShifty:!0,base:te}},htmlBuilder:as,mathmlBuilder:ds}),En({type:"accentUnder",names:["\\underleftarrow","\\underrightarrow","\\underleftrightarrow","\\undergroup","\\underlinesegment","\\utilde"],props:{numArgs:1},handler:function(Z,Y){var te=Z.parser,de=Z.funcName,Ae=Y[0];return{type:"accentUnder",mode:te.mode,label:de,base:Ae}},htmlBuilder:function(Z,Y){var te=ea(Z.base,Y),de=_i.svgSpan(Z,Y),Ae=Z.label==="\\utilde"?.12:0,Ke=at.makeVList({positionType:"bottom",positionData:de.height+Ae,children:[{type:"elem",elem:de,wrapperClasses:["svg-align"]},{type:"kern",size:Ae},{type:"elem",elem:te}]},Y);return at.makeSpan(["mord","accentunder"],[Ke],Y)},mathmlBuilder:function(Z,Y){var te=_i.mathMLnode(Z.label),de=new Nn.MathNode("munder",[Ha(Z.base,Y),te]);return de.setAttribute("accentunder","true"),de}});var go=function(Z){var Y=new Nn.MathNode("mpadded",Z?[Z]:[]);return Y.setAttribute("width","+0.6em"),Y.setAttribute("lspace","0.3em"),Y};En({type:"xArrow",names:["\\xleftarrow","\\xrightarrow","\\xLeftarrow","\\xRightarrow","\\xleftrightarrow","\\xLeftrightarrow","\\xhookleftarrow","\\xhookrightarrow","\\xmapsto","\\xrightharpoondown","\\xrightharpoonup","\\xleftharpoondown","\\xleftharpoonup","\\xrightleftharpoons","\\xleftrightharpoons","\\xlongequal","\\xtwoheadrightarrow","\\xtwoheadleftarrow","\\xtofrom","\\xrightleftarrows","\\xrightequilibrium","\\xleftequilibrium"],props:{numArgs:1,numOptionalArgs:1},handler:function(Z,Y,te){var de=Z.parser,Ae=Z.funcName;return{type:"xArrow",mode:de.mode,label:Ae,body:Y[0],below:te[0]}},htmlBuilder:function(Z,Y){var te=Y.style,de=Y.havingStyle(te.sup()),Ae=at.wrapFragment(ea(Z.body,de,Y),Y);Ae.classes.push("x-arrow-pad");var Ke;Z.below&&(de=Y.havingStyle(te.sub()),Ke=at.wrapFragment(ea(Z.below,de,Y),Y),Ke.classes.push("x-arrow-pad"));var Ct=_i.svgSpan(Z,Y),Ut=-Y.fontMetrics().axisHeight+.5*Ct.height,nr=-Y.fontMetrics().axisHeight-.5*Ct.height-.111;(Ae.depth>.25||Z.label==="\\xleftequilibrium")&&(nr-=Ae.depth);var It;if(Ke){var Hr=-Y.fontMetrics().axisHeight+Ke.height+.5*Ct.height+.111;It=at.makeVList({positionType:"individualShift",children:[{type:"elem",elem:Ae,shift:nr},{type:"elem",elem:Ct,shift:Ut},{type:"elem",elem:Ke,shift:Hr}]},Y)}else It=at.makeVList({positionType:"individualShift",children:[{type:"elem",elem:Ae,shift:nr},{type:"elem",elem:Ct,shift:Ut}]},Y);return It.children[0].children[0].children[1].classes.push("svg-align"),at.makeSpan(["mrel","x-arrow"],[It],Y)},mathmlBuilder:function(Z,Y){var te=_i.mathMLnode(Z.label),de;if(Z.body){var Ae=go(Ha(Z.body,Y));if(Z.below){var Ke=go(Ha(Z.below,Y));de=new Nn.MathNode("munderover",[te,Ke,Ae])}else de=new Nn.MathNode("mover",[te,Ae])}else if(Z.below){var Ct=go(Ha(Z.below,Y));de=new Nn.MathNode("munder",[te,Ct])}else de=go(),de=new Nn.MathNode("mover",[te,de]);return de}}),En({type:"textord",names:["\\@char"],props:{numArgs:1,allowedInText:!0},handler:function(Z,Y){for(var te=Z.parser,de=ar(Y[0],"ordgroup"),Ae=de.body,Ke="",Ct=0;Ct<Ae.length;Ct++){var Ut=ar(Ae[Ct],"textord");Ke+=Ut.text}var nr=parseInt(Ke);if(isNaN(nr))throw new o("\\@char has non-numeric argument "+Ke);return{type:"textord",mode:te.mode,text:String.fromCharCode(nr)}}});var Ho=function(Z,Y){var te=es(Z.body,Y.withColor(Z.color),!1);return at.makeFragment(te)},du=function(Z,Y){var te=Yi(Z.body,Y.withColor(Z.color)),de=new Nn.MathNode("mstyle",te);return de.setAttribute("mathcolor",Z.color),de};En({type:"color",names:["\\textcolor"],props:{numArgs:2,allowedInText:!0,greediness:3,argTypes:["color","original"]},handler:function(Z,Y){var te=Z.parser,de=ar(Y[0],"color-token").color,Ae=Y[1];return{type:"color",mode:te.mode,color:de,body:Qi(Ae)}},htmlBuilder:Ho,mathmlBuilder:du}),En({type:"color",names:["\\color"],props:{numArgs:1,allowedInText:!0,greediness:3,argTypes:["color"]},handler:function(Z,Y){var te=Z.parser,de=Z.breakOnTokenText,Ae=ar(Y[0],"color-token").color;te.gullet.macros.set("\\current@color",Ae);var Ke=te.parseExpression(!0,de);return{type:"color",mode:te.mode,color:Ae,body:Ke}},htmlBuilder:Ho,mathmlBuilder:du}),En({type:"cr",names:["\\cr","\\newline"],props:{numArgs:0,numOptionalArgs:1,argTypes:["size"],allowedInText:!0},handler:function(Z,Y,te){var de=Z.parser,Ae=Z.funcName,Ke=te[0],Ct=Ae==="\\cr",Ut=!1;return Ct||(de.settings.displayMode&&de.settings.useStrictBehavior("newLineInDisplayMode","In LaTeX, \\\\ or \\newline does nothing in display mode")?Ut=!1:Ut=!0),{type:"cr",mode:de.mode,newLine:Ut,newRow:Ct,size:Ke&&ar(Ke,"size").value}},htmlBuilder:function(Z,Y){if(Z.newRow)throw new o("\\cr valid only within a tabular/array environment");var te=at.makeSpan(["mspace"],[],Y);return Z.newLine&&(te.classes.push("newline"),Z.size&&(te.style.marginTop=wi(Z.size,Y)+"em")),te},mathmlBuilder:function(Z,Y){var te=new Nn.MathNode("mspace");return Z.newLine&&(te.setAttribute("linebreak","newline"),Z.size&&te.setAttribute("height",wi(Z.size,Y)+"em")),te}});var Ls=function(Z,Y,te){var de=Me.math[Z]&&Me.math[Z].replace,Ae=Yt(de||Z,Y,te);if(!Ae)throw new Error("Unsupported symbol "+Z+" and font size "+Y+".");return Ae},tu=function(Z,Y,te,de){var Ae=te.havingBaseStyle(Y),Ke=at.makeSpan(de.concat(Ae.sizingClasses(te)),[Z],te),Ct=Ae.sizeMultiplier/te.sizeMultiplier;return Ke.height*=Ct,Ke.depth*=Ct,Ke.maxFontSize=Ae.sizeMultiplier,Ke},hu=function(Z,Y,te){var de=Y.havingBaseStyle(te),Ae=(1-Y.sizeMultiplier/de.sizeMultiplier)*Y.fontMetrics().axisHeight;Z.classes.push("delimcenter"),Z.style.top=Ae+"em",Z.height-=Ae,Z.depth+=Ae},Iu=function(Z,Y,te,de,Ae,Ke){var Ct=at.makeSymbol(Z,"Main-Regular",Ae,de),Ut=tu(Ct,Y,de,Ke);return te&&hu(Ut,de,Y),Ut},Mo=function(Z,Y,te,de){return at.makeSymbol(Z,"Size"+Y+"-Regular",te,de)},Ju=function(Z,Y,te,de,Ae,Ke){var Ct=Mo(Z,Y,Ae,de),Ut=tu(at.makeSpan(["delimsizing","size"+Y],[Ct],de),U.TEXT,de,Ke);return te&&hu(Ut,de,U.TEXT),Ut},Fo=function(Z,Y,te){var de;Y==="Size1-Regular"?de="delim-size1":de="delim-size4";var Ae=at.makeSpan(["delimsizinginner",de],[at.makeSpan([],[at.makeSymbol(Z,Y,te)])]);return{type:"elem",elem:Ae}},_o={type:"kern",size:-.005},gu=function(Z,Y,te,de,Ae,Ke){var Ct,Ut,nr,It;Ct=nr=It=Z,Ut=null;var Hr="Size1-Regular";Z==="\\uparrow"?nr=It="\u23D0":Z==="\\Uparrow"?nr=It="\u2016":Z==="\\downarrow"?Ct=nr="\u23D0":Z==="\\Downarrow"?Ct=nr="\u2016":Z==="\\updownarrow"?(Ct="\\uparrow",nr="\u23D0",It="\\downarrow"):Z==="\\Updownarrow"?(Ct="\\Uparrow",nr="\u2016",It="\\Downarrow"):Z==="["||Z==="\\lbrack"?(Ct="\u23A1",nr="\u23A2",It="\u23A3",Hr="Size4-Regular"):Z==="]"||Z==="\\rbrack"?(Ct="\u23A4",nr="\u23A5",It="\u23A6",Hr="Size4-Regular"):Z==="\\lfloor"||Z==="\u230A"?(nr=Ct="\u23A2",It="\u23A3",Hr="Size4-Regular"):Z==="\\lceil"||Z==="\u2308"?(Ct="\u23A1",nr=It="\u23A2",Hr="Size4-Regular"):Z==="\\rfloor"||Z==="\u230B"?(nr=Ct="\u23A5",It="\u23A6",Hr="Size4-Regular"):Z==="\\rceil"||Z==="\u2309"?(Ct="\u23A4",nr=It="\u23A5",Hr="Size4-Regular"):Z==="("||Z==="\\lparen"?(Ct="\u239B",nr="\u239C",It="\u239D",Hr="Size4-Regular"):Z===")"||Z==="\\rparen"?(Ct="\u239E",nr="\u239F",It="\u23A0",Hr="Size4-Regular"):Z==="\\{"||Z==="\\lbrace"?(Ct="\u23A7",Ut="\u23A8",It="\u23A9",nr="\u23AA",Hr="Size4-Regular"):Z==="\\}"||Z==="\\rbrace"?(Ct="\u23AB",Ut="\u23AC",It="\u23AD",nr="\u23AA",Hr="Size4-Regular"):Z==="\\lgroup"||Z==="\u27EE"?(Ct="\u23A7",It="\u23A9",nr="\u23AA",Hr="Size4-Regular"):Z==="\\rgroup"||Z==="\u27EF"?(Ct="\u23AB",It="\u23AD",nr="\u23AA",Hr="Size4-Regular"):Z==="\\lmoustache"||Z==="\u23B0"?(Ct="\u23A7",It="\u23AD",nr="\u23AA",Hr="Size4-Regular"):(Z==="\\rmoustache"||Z==="\u23B1")&&(Ct="\u23AB",It="\u23A9",nr="\u23AA",Hr="Size4-Regular");var un=Ls(Ct,Hr,Ae),Pn=un.height+un.depth,Kn=Ls(nr,Hr,Ae),ei=Kn.height+Kn.depth,Fi=Ls(It,Hr,Ae),Pa=Fi.height+Fi.depth,xa=0,Aa=1;if(Ut!==null){var ns=Ls(Ut,Hr,Ae);xa=ns.height+ns.depth,Aa=2}var ys=Pn+Pa+xa,js=Math.max(0,Math.ceil((Y-ys)/(Aa*ei))),ls=ys+js*Aa*ei,ha=de.fontMetrics().axisHeight;te&&(ha*=de.sizeMultiplier);var io=ls/2-ha,Xs=(js+1)*.005-ei,Ai=[];if(Ai.push(Fo(It,Hr,Ae)),Ut===null)for(var Ro=0;Ro<js;Ro++)Ai.push(_o),Ai.push(Fo(nr,Hr,Ae));else{for(var Po=0;Po<js;Po++)Ai.push(_o),Ai.push(Fo(nr,Hr,Ae));Ai.push({type:"kern",size:Xs}),Ai.push(Fo(nr,Hr,Ae)),Ai.push(_o),Ai.push(Fo(Ut,Hr,Ae));for(var xu=0;xu<js;xu++)Ai.push(_o),Ai.push(Fo(nr,Hr,Ae))}Ai.push({type:"kern",size:Xs}),Ai.push(Fo(nr,Hr,Ae)),Ai.push(_o),Ai.push(Fo(Ct,Hr,Ae));var eo=de.havingBaseStyle(U.TEXT),to=at.makeVList({positionType:"bottom",positionData:io,children:Ai},eo);return tu(at.makeSpan(["delimsizing","mult"],[to],eo),U.TEXT,de,Ke)},Bu=80,Oo=.08,Bo=function(Z,Y,te,de,Ae){var Ke=Xt(Z,de,te),Ct=new $e(Z,Ke),Ut=new Le([Ct],{width:"400em",height:Y+"em",viewBox:"0 0 400000 "+te,preserveAspectRatio:"xMinYMin slice"});return at.makeSvgSpan(["hide-tail"],[Ut],Ae)},Du=function(Z,Y){var te=Y.havingBaseSizing(),de=Tr("\\surd",Z*te.sizeMultiplier,or,te),Ae=te.sizeMultiplier,Ke=Math.max(0,Y.minRuleThickness-Y.fontMetrics().sqrtRuleThickness),Ct,Ut=0,nr=0,It=0,Hr;return de.type==="small"?(It=1e3+1e3*Ke+Bu,Z<1?Ae=1:Z<1.4&&(Ae=.7),Ut=(1+Ke+Oo)/Ae,nr=(1+Ke)/Ae,Ct=Bo("sqrtMain",Ut,It,Ke,Y),Ct.style.minWidth="0.853em",Hr=.833/Ae):de.type==="large"?(It=(1e3+Bu)*Wo[de.size],nr=(Wo[de.size]+Ke)/Ae,Ut=(Wo[de.size]+Ke+Oo)/Ae,Ct=Bo("sqrtSize"+de.size,Ut,It,Ke,Y),Ct.style.minWidth="1.02em",Hr=1/Ae):(Ut=Z+Ke+Oo,nr=Z+Ke,It=Math.floor(1e3*Z+Ke)+Bu,Ct=Bo("sqrtTall",Ut,It,Ke,Y),Ct.style.minWidth="0.742em",Hr=1.056),Ct.height=nr,Ct.style.height=Ut+"em",{span:Ct,advanceWidth:Hr,ruleWidth:(Y.fontMetrics().sqrtRuleThickness+Ke)*Ae}},Qo=["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","\u230A","\u230B","\\lceil","\\rceil","\u2308","\u2309","\\surd"],ru=["\\uparrow","\\downarrow","\\updownarrow","\\Uparrow","\\Downarrow","\\Updownarrow","|","\\|","\\vert","\\Vert","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","\u27EE","\u27EF","\\lmoustache","\\rmoustache","\u23B0","\u23B1"],Ds=["<",">","\\langle","\\rangle","/","\\backslash","\\lt","\\gt"],Wo=[0,1.2,1.8,2.4,3],Nu=function(Z,Y,te,de,Ae){if(Z==="<"||Z==="\\lt"||Z==="\u27E8"?Z="\\langle":(Z===">"||Z==="\\gt"||Z==="\u27E9")&&(Z="\\rangle"),A.contains(Qo,Z)||A.contains(Ds,Z))return Ju(Z,Y,!1,te,de,Ae);if(A.contains(ru,Z))return gu(Z,Wo[Y],!1,te,de,Ae);throw new o("Illegal delimiter: '"+Z+"'")},qt=[{type:"small",style:U.SCRIPTSCRIPT},{type:"small",style:U.SCRIPT},{type:"small",style:U.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4}],_r=[{type:"small",style:U.SCRIPTSCRIPT},{type:"small",style:U.SCRIPT},{type:"small",style:U.TEXT},{type:"stack"}],or=[{type:"small",style:U.SCRIPTSCRIPT},{type:"small",style:U.SCRIPT},{type:"small",style:U.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4},{type:"stack"}],mr=function(Z){if(Z.type==="small")return"Main-Regular";if(Z.type==="large")return"Size"+Z.size+"-Regular";if(Z.type==="stack")return"Size4-Regular";throw new Error("Add support for delim type '"+Z.type+"' here.")},Tr=function(Z,Y,te,de){for(var Ae=Math.min(2,3-de.style.size),Ke=Ae;Ke<te.length&&te[Ke].type!=="stack";Ke++){var Ct=Ls(Z,mr(te[Ke]),"math"),Ut=Ct.height+Ct.depth;if(te[Ke].type==="small"){var nr=de.havingBaseStyle(te[Ke].style);Ut*=nr.sizeMultiplier}if(Ut>Y)return te[Ke]}return te[te.length-1]},gn=function(Z,Y,te,de,Ae,Ke){Z==="<"||Z==="\\lt"||Z==="\u27E8"?Z="\\langle":(Z===">"||Z==="\\gt"||Z==="\u27E9")&&(Z="\\rangle");var Ct;A.contains(Ds,Z)?Ct=qt:A.contains(Qo,Z)?Ct=or:Ct=_r;var Ut=Tr(Z,Y,Ct,de);return Ut.type==="small"?Iu(Z,Ut.style,te,de,Ae,Ke):Ut.type==="large"?Ju(Z,Ut.size,te,de,Ae,Ke):gu(Z,Y,te,de,Ae,Ke)},Zn=function(Z,Y,te,de,Ae,Ke){var Ct=de.fontMetrics().axisHeight*de.sizeMultiplier,Ut=901,nr=5/de.fontMetrics().ptPerEm,It=Math.max(Y-Ct,te+Ct),Hr=Math.max(It/500*Ut,2*It-nr);return gn(Z,Hr,!0,de,Ae,Ke)},kn={sqrtImage:Du,sizedDelim:Nu,customSizedDelim:gn,leftRightDelim:Zn},Hn={"\\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}},li=["(","\\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 oi(Ve,Z){var Y=wn(Ve);if(Y&&A.contains(li,Y.text))return Y;throw new o("Invalid delimiter: '"+(Y?Y.text:JSON.stringify(Ve))+"' after '"+Z.funcName+"'",Ve)}En({type:"delimsizing",names:["\\bigl","\\Bigl","\\biggl","\\Biggl","\\bigr","\\Bigr","\\biggr","\\Biggr","\\bigm","\\Bigm","\\biggm","\\Biggm","\\big","\\Big","\\bigg","\\Bigg"],props:{numArgs:1},handler:function(Z,Y){var te=oi(Y[0],Z);return{type:"delimsizing",mode:Z.parser.mode,size:Hn[Z.funcName].size,mclass:Hn[Z.funcName].mclass,delim:te.text}},htmlBuilder:function(Z,Y){return Z.delim==="."?at.makeSpan([Z.mclass]):kn.sizedDelim(Z.delim,Z.size,Y,Z.mode,[Z.mclass])},mathmlBuilder:function(Z){var Y=[];Z.delim!=="."&&Y.push(ts(Z.delim,Z.mode));var te=new Nn.MathNode("mo",Y);return Z.mclass==="mopen"||Z.mclass==="mclose"?te.setAttribute("fence","true"):te.setAttribute("fence","false"),te}});function hr(Ve){if(!Ve.body)throw new Error("Bug: The leftright ParseNode wasn't fully parsed.")}En({type:"leftright-right",names:["\\right"],props:{numArgs:1},handler:function(Z,Y){var te=Z.parser.gullet.macros.get("\\current@color");if(te&&typeof te!="string")throw new o("\\current@color set to non-string in \\right");return{type:"leftright-right",mode:Z.parser.mode,delim:oi(Y[0],Z).text,color:te}}}),En({type:"leftright",names:["\\left"],props:{numArgs:1},handler:function(Z,Y){var te=oi(Y[0],Z),de=Z.parser;++de.leftrightDepth;var Ae=de.parseExpression(!1);--de.leftrightDepth,de.expect("\\right",!1);var Ke=ar(de.parseFunction(),"leftright-right");return{type:"leftright",mode:de.mode,body:Ae,left:te.text,right:Ke.delim,rightColor:Ke.color}},htmlBuilder:function(Z,Y){hr(Z);for(var te=es(Z.body,Y,!0,["mopen","mclose"]),de=0,Ae=0,Ke=!1,Ct=0;Ct<te.length;Ct++)te[Ct].isMiddle?Ke=!0:(de=Math.max(te[Ct].height,de),Ae=Math.max(te[Ct].depth,Ae));de*=Y.sizeMultiplier,Ae*=Y.sizeMultiplier;var Ut;if(Z.left==="."?Ut=Ys(Y,["mopen"]):Ut=kn.leftRightDelim(Z.left,de,Ae,Y,Z.mode,["mopen"]),te.unshift(Ut),Ke)for(var nr=1;nr<te.length;nr++){var It=te[nr],Hr=It.isMiddle;Hr&&(te[nr]=kn.leftRightDelim(Hr.delim,de,Ae,Hr.options,Z.mode,[]))}var un;if(Z.right===".")un=Ys(Y,["mclose"]);else{var Pn=Z.rightColor?Y.withColor(Z.rightColor):Y;un=kn.leftRightDelim(Z.right,de,Ae,Pn,Z.mode,["mclose"])}return te.push(un),at.makeSpan(["minner"],te,Y)},mathmlBuilder:function(Z,Y){hr(Z);var te=Yi(Z.body,Y);if(Z.left!=="."){var de=new Nn.MathNode("mo",[ts(Z.left,Z.mode)]);de.setAttribute("fence","true"),te.unshift(de)}if(Z.right!=="."){var Ae=new Nn.MathNode("mo",[ts(Z.right,Z.mode)]);Ae.setAttribute("fence","true"),Z.rightColor&&Ae.setAttribute("mathcolor",Z.rightColor),te.push(Ae)}return Ps(te)}}),En({type:"middle",names:["\\middle"],props:{numArgs:1},handler:function(Z,Y){var te=oi(Y[0],Z);if(!Z.parser.leftrightDepth)throw new o("\\middle without preceding \\left",te);return{type:"middle",mode:Z.parser.mode,delim:te.text}},htmlBuilder:function(Z,Y){var te;if(Z.delim===".")te=Ys(Y,[]);else{te=kn.sizedDelim(Z.delim,1,Y,Z.mode,[]);var de={delim:Z.delim,options:Y};te.isMiddle=de}return te},mathmlBuilder:function(Z,Y){var te=Z.delim==="\\vert"||Z.delim==="|"?ts("|","text"):ts(Z.delim,Z.mode),de=new Nn.MathNode("mo",[te]);return de.setAttribute("fence","true"),de.setAttribute("lspace","0.05em"),de.setAttribute("rspace","0.05em"),de}});var Br=function(Z,Y){var te=at.wrapFragment(ea(Z.body,Y),Y),de=Z.label.substr(1),Ae=Y.sizeMultiplier,Ke,Ct=0,Ut=A.isCharacterBox(Z.body);if(de==="sout")Ke=at.makeSpan(["stretchy","sout"]),Ke.height=Y.fontMetrics().defaultRuleThickness/Ae,Ct=-.5*Y.fontMetrics().xHeight;else{/cancel/.test(de)?Ut||te.classes.push("cancel-pad"):te.classes.push("boxpad");var nr=0,It=0;/box/.test(de)?(It=Math.max(Y.fontMetrics().fboxrule,Y.minRuleThickness),nr=Y.fontMetrics().fboxsep+(de==="colorbox"?0:It)):nr=Ut?.2:0,Ke=_i.encloseSpan(te,de,nr,Y),/fbox|boxed|fcolorbox/.test(de)&&(Ke.style.borderStyle="solid",Ke.style.borderWidth=It+"em"),Ct=te.depth+nr,Z.backgroundColor&&(Ke.style.backgroundColor=Z.backgroundColor,Z.borderColor&&(Ke.style.borderColor=Z.borderColor))}var Hr;return Z.backgroundColor?Hr=at.makeVList({positionType:"individualShift",children:[{type:"elem",elem:Ke,shift:Ct},{type:"elem",elem:te,shift:0}]},Y):Hr=at.makeVList({positionType:"individualShift",children:[{type:"elem",elem:te,shift:0},{type:"elem",elem:Ke,shift:Ct,wrapperClasses:/cancel/.test(de)?["svg-align"]:[]}]},Y),/cancel/.test(de)&&(Hr.height=te.height,Hr.depth=te.depth),/cancel/.test(de)&&!Ut?at.makeSpan(["mord","cancel-lap"],[Hr],Y):at.makeSpan(["mord"],[Hr],Y)},Rr=function(Z,Y){var te=0,de=new Nn.MathNode(Z.label.indexOf("colorbox")>-1?"mpadded":"menclose",[Ha(Z.body,Y)]);switch(Z.label){case"\\cancel":de.setAttribute("notation","updiagonalstrike");break;case"\\bcancel":de.setAttribute("notation","downdiagonalstrike");break;case"\\sout":de.setAttribute("notation","horizontalstrike");break;case"\\fbox":de.setAttribute("notation","box");break;case"\\fcolorbox":case"\\colorbox":if(te=Y.fontMetrics().fboxsep*Y.fontMetrics().ptPerEm,de.setAttribute("width","+"+2*te+"pt"),de.setAttribute("height","+"+2*te+"pt"),de.setAttribute("lspace",te+"pt"),de.setAttribute("voffset",te+"pt"),Z.label==="\\fcolorbox"){var Ae=Math.max(Y.fontMetrics().fboxrule,Y.minRuleThickness);de.setAttribute("style","border: "+Ae+"em solid "+String(Z.borderColor))}break;case"\\xcancel":de.setAttribute("notation","updiagonalstrike downdiagonalstrike");break}return Z.backgroundColor&&de.setAttribute("mathbackground",Z.backgroundColor),de};En({type:"enclose",names:["\\colorbox"],props:{numArgs:2,allowedInText:!0,greediness:3,argTypes:["color","text"]},handler:function(Z,Y,te){var de=Z.parser,Ae=Z.funcName,Ke=ar(Y[0],"color-token").color,Ct=Y[1];return{type:"enclose",mode:de.mode,label:Ae,backgroundColor:Ke,body:Ct}},htmlBuilder:Br,mathmlBuilder:Rr}),En({type:"enclose",names:["\\fcolorbox"],props:{numArgs:3,allowedInText:!0,greediness:3,argTypes:["color","color","text"]},handler:function(Z,Y,te){var de=Z.parser,Ae=Z.funcName,Ke=ar(Y[0],"color-token").color,Ct=ar(Y[1],"color-token").color,Ut=Y[2];return{type:"enclose",mode:de.mode,label:Ae,backgroundColor:Ct,borderColor:Ke,body:Ut}},htmlBuilder:Br,mathmlBuilder:Rr}),En({type:"enclose",names:["\\fbox"],props:{numArgs:1,argTypes:["hbox"],allowedInText:!0},handler:function(Z,Y){var te=Z.parser;return{type:"enclose",mode:te.mode,label:"\\fbox",body:Y[0]}}}),En({type:"enclose",names:["\\cancel","\\bcancel","\\xcancel","\\sout"],props:{numArgs:1},handler:function(Z,Y,te){var de=Z.parser,Ae=Z.funcName,Ke=Y[0];return{type:"enclose",mode:de.mode,label:Ae,body:Ke}},htmlBuilder:Br,mathmlBuilder:Rr});var Cn={};function Tn(Ve){for(var Z=Ve.type,Y=Ve.names,te=Ve.props,de=Ve.handler,Ae=Ve.htmlBuilder,Ke=Ve.mathmlBuilder,Ct={type:Z,numArgs:te.numArgs||0,greediness:1,allowedInText:!1,numOptionalArgs:0,handler:de},Ut=0;Ut<Y.length;++Ut)Cn[Y[Ut]]=Ct;Ae&&(Ni[Z]=Ae),Ke&&(gi[Z]=Ke)}function ht(Ve){var Z=[];Ve.consumeSpaces();for(var Y=Ve.fetch().text;Y==="\\hline"||Y==="\\hdashline";)Ve.consume(),Z.push(Y==="\\hdashline"),Ve.consumeSpaces(),Y=Ve.fetch().text;return Z}function $n(Ve,Z,Y){var te=Z.hskipBeforeAndAfter,de=Z.addJot,Ae=Z.cols,Ke=Z.arraystretch,Ct=Z.colSeparationType;if(Ve.gullet.beginGroup(),Ve.gullet.macros.set("\\\\","\\cr"),!Ke){var Ut=Ve.gullet.expandMacroAsText("\\arraystretch");if(Ut==null)Ke=1;else if(Ke=parseFloat(Ut),!Ke||Ke<0)throw new o("Invalid \\arraystretch: "+Ut)}Ve.gullet.beginGroup();var nr=[],It=[nr],Hr=[],un=[];for(un.push(ht(Ve));;){var Pn=Ve.parseExpression(!1,"\\cr");Ve.gullet.endGroup(),Ve.gullet.beginGroup(),Pn={type:"ordgroup",mode:Ve.mode,body:Pn},Y&&(Pn={type:"styling",mode:Ve.mode,style:Y,body:[Pn]}),nr.push(Pn);var Kn=Ve.fetch().text;if(Kn==="&")Ve.consume();else if(Kn==="\\end"){nr.length===1&&Pn.type==="styling"&&Pn.body[0].body.length===0&&It.pop(),un.length<It.length+1&&un.push([]);break}else if(Kn==="\\cr"){var ei=ar(Ve.parseFunction(),"cr");Hr.push(ei.size),un.push(ht(Ve)),nr=[],It.push(nr)}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:de,arraystretch:Ke,body:It,cols:Ae,rowGaps:Hr,hskipBeforeAndAfter:te,hLinesBeforeRow:un,colSeparationType:Ct}}function Wn(Ve){return Ve.substr(0,1)==="d"?"display":"text"}var Li=function(Z,Y){var te,de,Ae=Z.body.length,Ke=Z.hLinesBeforeRow,Ct=0,Ut=new Array(Ae),nr=[],It=Math.max(Y.fontMetrics().arrayRuleWidth,Y.minRuleThickness),Hr=1/Y.fontMetrics().ptPerEm,un=5*Hr;if(Z.colSeparationType&&Z.colSeparationType==="small"){var Pn=Y.havingStyle(U.SCRIPT).sizeMultiplier;un=.2778*(Pn/Y.sizeMultiplier)}var Kn=12*Hr,ei=3*Hr,Fi=Z.arraystretch*Kn,Pa=.7*Fi,xa=.3*Fi,Aa=0;function ns(iu){for(var cl=0;cl<iu.length;++cl)cl>0&&(Aa+=.25),nr.push({pos:Aa,isDashed:iu[cl]})}for(ns(Ke[0]),te=0;te<Z.body.length;++te){var ys=Z.body[te],js=Pa,ls=xa;Ct<ys.length&&(Ct=ys.length);var ha=new Array(ys.length);for(de=0;de<ys.length;++de){var io=ea(ys[de],Y);ls<io.depth&&(ls=io.depth),js<io.height&&(js=io.height),ha[de]=io}var Xs=Z.rowGaps[te],Ai=0;Xs&&(Ai=wi(Xs,Y),Ai>0&&(Ai+=xa,ls<Ai&&(ls=Ai),Ai=0)),Z.addJot&&(ls+=ei),ha.height=js,ha.depth=ls,Aa+=js,ha.pos=Aa,Aa+=ls+Ai,Ut[te]=ha,ns(Ke[te+1])}var Ro=Aa/2+Y.fontMetrics().axisHeight,Po=Z.cols||[],xu=[],eo,to;for(de=0,to=0;de<Ct||to<Po.length;++de,++to){for(var ao=Po[to]||{},Fl=!0;ao.type==="separator";){if(Fl||(eo=at.makeSpan(["arraycolsep"],[]),eo.style.width=Y.fontMetrics().doubleRuleSep+"em",xu.push(eo)),ao.separator==="|"||ao.separator===":"){var gl=ao.separator==="|"?"solid":"dashed",tl=at.makeSpan(["vertical-separator"],[],Y);tl.style.height=Aa+"em",tl.style.borderRightWidth=It+"em",tl.style.borderRightStyle=gl,tl.style.margin="0 -"+It/2+"em",tl.style.verticalAlign=-(Aa-Ro)+"em",xu.push(tl)}else throw new o("Invalid separator type: "+ao.separator);to++,ao=Po[to]||{},Fl=!1}if(!(de>=Ct)){var Eu=void 0;(de>0||Z.hskipBeforeAndAfter)&&(Eu=A.deflt(ao.pregap,un),Eu!==0&&(eo=at.makeSpan(["arraycolsep"],[]),eo.style.width=Eu+"em",xu.push(eo)));var lo=[];for(te=0;te<Ae;++te){var ll=Ut[te],Zu=ll[de];if(Zu){var $o=ll.pos-Ro;Zu.depth=ll.depth,Zu.height=ll.height,lo.push({type:"elem",elem:Zu,shift:$o})}}lo=at.makeVList({positionType:"individualShift",children:lo},Y),lo=at.makeSpan(["col-align-"+(ao.align||"c")],[lo]),xu.push(lo),(de<Ct-1||Z.hskipBeforeAndAfter)&&(Eu=A.deflt(ao.postgap,un),Eu!==0&&(eo=at.makeSpan(["arraycolsep"],[]),eo.style.width=Eu+"em",xu.push(eo)))}}if(Ut=at.makeSpan(["mtable"],xu),nr.length>0){for(var wl=at.makeLineSpan("hline",Y,It),Bl=at.makeLineSpan("hdashline",Y,It),nu=[{type:"elem",elem:Ut,shift:0}];nr.length>0;){var Nl=nr.pop(),ro=Nl.pos-Ro;Nl.isDashed?nu.push({type:"elem",elem:Bl,shift:ro}):nu.push({type:"elem",elem:wl,shift:ro})}Ut=at.makeVList({positionType:"individualShift",children:nu},Y)}return at.makeSpan(["mord"],[Ut],Y)},ta={c:"center ",l:"left ",r:"right "},Jt=function(Z,Y){var te=new Nn.MathNode("mtable",Z.body.map(function(Aa){return new Nn.MathNode("mtr",Aa.map(function(ns){return new Nn.MathNode("mtd",[Ha(ns,Y)])}))})),de=Z.arraystretch===.5?.1:.16+Z.arraystretch-1+(Z.addJot?.09:0);te.setAttribute("rowspacing",de+"em");var Ae="",Ke="";if(Z.cols){var Ct=Z.cols,Ut="",nr=!1,It=0,Hr=Ct.length;Ct[0].type==="separator"&&(Ae+="top ",It=1),Ct[Ct.length-1].type==="separator"&&(Ae+="bottom ",Hr-=1);for(var un=It;un<Hr;un++)Ct[un].type==="align"?(Ke+=ta[Ct[un].align],nr&&(Ut+="none "),nr=!0):Ct[un].type==="separator"&&nr&&(Ut+=Ct[un].separator==="|"?"solid ":"dashed ",nr=!1);te.setAttribute("columnalign",Ke.trim()),/[sd]/.test(Ut)&&te.setAttribute("columnlines",Ut.trim())}if(Z.colSeparationType==="align"){for(var Pn=Z.cols||[],Kn="",ei=1;ei<Pn.length;ei++)Kn+=ei%2?"0em ":"1em ";te.setAttribute("columnspacing",Kn.trim())}else Z.colSeparationType==="alignat"?te.setAttribute("columnspacing","0em"):Z.colSeparationType==="small"?te.setAttribute("columnspacing","0.2778em"):te.setAttribute("columnspacing","1em");var Fi="",Pa=Z.hLinesBeforeRow;Ae+=Pa[0].length>0?"left ":"",Ae+=Pa[Pa.length-1].length>0?"right ":"";for(var xa=1;xa<Pa.length-1;xa++)Fi+=Pa[xa].length===0?"none ":Pa[xa][0]?"dashed ":"solid ";return/[sd]/.test(Fi)&&te.setAttribute("rowlines",Fi.trim()),Ae!==""&&(te=new Nn.MathNode("menclose",[te]),te.setAttribute("notation",Ae.trim())),Z.arraystretch&&Z.arraystretch<1&&(te=new Nn.MathNode("mstyle",[te]),te.setAttribute("scriptlevel","1")),te},oa=function(Z,Y){var te=[],de=$n(Z.parser,{cols:te,addJot:!0},"display"),Ae,Ke=0,Ct={type:"ordgroup",mode:Z.mode,body:[]},Ut=Er(Y[0],"ordgroup");if(Ut){for(var nr="",It=0;It<Ut.body.length;It++){var Hr=ar(Ut.body[It],"textord");nr+=Hr.text}Ae=Number(nr),Ke=Ae*2}var un=!Ke;de.body.forEach(function(Fi){for(var Pa=1;Pa<Fi.length;Pa+=2){var xa=ar(Fi[Pa],"styling"),Aa=ar(xa.body[0],"ordgroup");Aa.body.unshift(Ct)}if(un)Ke<Fi.length&&(Ke=Fi.length);else{var ns=Fi.length/2;if(Ae<ns)throw new o("Too many math in a row: "+("expected "+Ae+", but got "+ns),Fi[0])}});for(var Pn=0;Pn<Ke;++Pn){var Kn="r",ei=0;Pn%2===1?Kn="l":Pn>0&&un&&(ei=1),te[Pn]={type:"align",align:Kn,pregap:ei,postgap:0}}return de.colSeparationType=un?"align":"alignat",de};Tn({type:"array",names:["array","darray"],props:{numArgs:1},handler:function(Z,Y){var te=wn(Y[0]),de=te?[Y[0]]:ar(Y[0],"ordgroup").body,Ae=de.map(function(Ct){var Ut=jr(Ct),nr=Ut.text;if("lcr".indexOf(nr)!==-1)return{type:"align",align:nr};if(nr==="|")return{type:"separator",separator:"|"};if(nr===":")return{type:"separator",separator:":"};throw new o("Unknown column alignment: "+nr,Ct)}),Ke={cols:Ae,hskipBeforeAndAfter:!0};return $n(Z.parser,Ke,Wn(Z.envName))},htmlBuilder:Li,mathmlBuilder:Jt}),Tn({type:"array",names:["matrix","pmatrix","bmatrix","Bmatrix","vmatrix","Vmatrix"],props:{numArgs:0},handler:function(Z){var Y={matrix:null,pmatrix:["(",")"],bmatrix:["[","]"],Bmatrix:["\\{","\\}"],vmatrix:["|","|"],Vmatrix:["\\Vert","\\Vert"]}[Z.envName],te={hskipBeforeAndAfter:!1},de=$n(Z.parser,te,Wn(Z.envName));return Y?{type:"leftright",mode:Z.mode,body:[de],left:Y[0],right:Y[1],rightColor:void 0}:de},htmlBuilder:Li,mathmlBuilder:Jt}),Tn({type:"array",names:["smallmatrix"],props:{numArgs:0},handler:function(Z){var Y={arraystretch:.5},te=$n(Z.parser,Y,"script");return te.colSeparationType="small",te},htmlBuilder:Li,mathmlBuilder:Jt}),Tn({type:"array",names:["subarray"],props:{numArgs:1},handler:function(Z,Y){var te=wn(Y[0]),de=te?[Y[0]]:ar(Y[0],"ordgroup").body,Ae=de.map(function(Ct){var Ut=jr(Ct),nr=Ut.text;if("lc".indexOf(nr)!==-1)return{type:"align",align:nr};throw new o("Unknown column alignment: "+nr,Ct)});if(Ae.length>1)throw new o("{subarray} can contain only one column");var Ke={cols:Ae,hskipBeforeAndAfter:!1,arraystretch:.5};if(Ke=$n(Z.parser,Ke,"script"),Ke.body[0].length>1)throw new o("{subarray} can contain only one column");return Ke},htmlBuilder:Li,mathmlBuilder:Jt}),Tn({type:"array",names:["cases","dcases"],props:{numArgs:0},handler:function(Z){var Y={arraystretch:1.2,cols:[{type:"align",align:"l",pregap:0,postgap:1},{type:"align",align:"l",pregap:0,postgap:0}]},te=$n(Z.parser,Y,Wn(Z.envName));return{type:"leftright",mode:Z.mode,body:[te],left:"\\{",right:".",rightColor:void 0}},htmlBuilder:Li,mathmlBuilder:Jt}),Tn({type:"array",names:["aligned"],props:{numArgs:0},handler:oa,htmlBuilder:Li,mathmlBuilder:Jt}),Tn({type:"array",names:["gathered"],props:{numArgs:0},handler:function(Z){var Y={cols:[{type:"align",align:"c"}],addJot:!0};return $n(Z.parser,Y,"display")},htmlBuilder:Li,mathmlBuilder:Jt}),Tn({type:"array",names:["alignedat"],props:{numArgs:1},handler:oa,htmlBuilder:Li,mathmlBuilder:Jt}),En({type:"text",names:["\\hline","\\hdashline"],props:{numArgs:0,allowedInText:!0,allowedInMath:!0},handler:function(Z,Y){throw new o(Z.funcName+" valid only within array environment")}});var qi=Cn,Ta=qi;En({type:"environment",names:["\\begin","\\end"],props:{numArgs:1,argTypes:["text"]},handler:function(Z,Y){var te=Z.parser,de=Z.funcName,Ae=Y[0];if(Ae.type!=="ordgroup")throw new o("Invalid environment name",Ae);for(var Ke="",Ct=0;Ct<Ae.body.length;++Ct)Ke+=ar(Ae.body[Ct],"textord").text;if(de==="\\begin"){if(!Ta.hasOwnProperty(Ke))throw new o("No such environment: "+Ke,Ae);var Ut=Ta[Ke],nr=te.parseArguments("\\begin{"+Ke+"}",Ut),It=nr.args,Hr=nr.optArgs,un={mode:te.mode,envName:Ke,parser:te},Pn=Ut.handler(un,It,Hr);te.expect("\\end",!1);var Kn=te.nextToken,ei=ar(te.parseFunction(),"environment");if(ei.name!==Ke)throw new o("Mismatch: \\begin{"+Ke+"} matched by \\end{"+ei.name+"}",Kn);return Pn}return{type:"environment",mode:te.mode,name:Ke,nameGroup:Ae}}});var gs=at.makeSpan;function Ns(Ve,Z){var Y=es(Ve.body,Z,!0);return gs([Ve.mclass],Y,Z)}function $i(Ve,Z){var Y,te=Yi(Ve.body,Z);return Ve.mclass==="minner"?Nn.newDocumentFragment(te):(Ve.mclass==="mord"?Ve.isCharacterBox?(Y=te[0],Y.type="mi"):Y=new Nn.MathNode("mi",te):(Ve.isCharacterBox?(Y=te[0],Y.type="mo"):Y=new Nn.MathNode("mo",te),Ve.mclass==="mbin"?(Y.attributes.lspace="0.22em",Y.attributes.rspace="0.22em"):Ve.mclass==="mpunct"?(Y.attributes.lspace="0em",Y.attributes.rspace="0.17em"):(Ve.mclass==="mopen"||Ve.mclass==="mclose")&&(Y.attributes.lspace="0em",Y.attributes.rspace="0em")),Y)}En({type:"mclass",names:["\\mathord","\\mathbin","\\mathrel","\\mathopen","\\mathclose","\\mathpunct","\\mathinner"],props:{numArgs:1},handler:function(Z,Y){var te=Z.parser,de=Z.funcName,Ae=Y[0];return{type:"mclass",mode:te.mode,mclass:"m"+de.substr(5),body:Qi(Ae),isCharacterBox:A.isCharacterBox(Ae)}},htmlBuilder:Ns,mathmlBuilder:$i});var Co=function(Z){var Y=Z.type==="ordgroup"&&Z.body.length?Z.body[0]:Z;return Y.type==="atom"&&(Y.family==="bin"||Y.family==="rel")?"m"+Y.family:"mord"};En({type:"mclass",names:["\\@binrel"],props:{numArgs:2},handler:function(Z,Y){var te=Z.parser;return{type:"mclass",mode:te.mode,mclass:Co(Y[0]),body:[Y[1]],isCharacterBox:A.isCharacterBox(Y[1])}}}),En({type:"mclass",names:["\\stackrel","\\overset","\\underset"],props:{numArgs:2},handler:function(Z,Y){var te=Z.parser,de=Z.funcName,Ae=Y[1],Ke=Y[0],Ct;de!=="\\stackrel"?Ct=Co(Ae):Ct="mrel";var Ut={type:"op",mode:Ae.mode,limits:!0,alwaysHandleSupSub:!0,parentIsSupSub:!1,symbol:!1,suppressBaseShift:de!=="\\stackrel",body:Qi(Ae)},nr={type:"supsub",mode:Ke.mode,base:Ut,sup:de==="\\underset"?null:Ke,sub:de==="\\underset"?Ke:null};return{type:"mclass",mode:te.mode,mclass:Ct,body:[nr],isCharacterBox:A.isCharacterBox(nr)}},htmlBuilder:Ns,mathmlBuilder:$i});var oo=function(Z,Y){var te=Z.font,de=Y.withFont(te);return ea(Z.body,de)},Ms=function(Z,Y){var te=Z.font,de=Y.withFont(te);return Ha(Z.body,de)},Fa={"\\Bbb":"\\mathbb","\\bold":"\\mathbf","\\frak":"\\mathfrak","\\bm":"\\boldsymbol"};En({type:"font",names:["\\mathrm","\\mathit","\\mathbf","\\mathnormal","\\mathbb","\\mathcal","\\mathfrak","\\mathscr","\\mathsf","\\mathtt","\\Bbb","\\bold","\\frak"],props:{numArgs:1,greediness:2},handler:function(Z,Y){var te=Z.parser,de=Z.funcName,Ae=Y[0],Ke=de;return Ke in Fa&&(Ke=Fa[Ke]),{type:"font",mode:te.mode,font:Ke.slice(1),body:Ae}},htmlBuilder:oo,mathmlBuilder:Ms}),En({type:"mclass",names:["\\boldsymbol","\\bm"],props:{numArgs:1,greediness:2},handler:function(Z,Y){var te=Z.parser,de=Y[0],Ae=A.isCharacterBox(de);return{type:"mclass",mode:te.mode,mclass:Co(de),body:[{type:"font",mode:te.mode,font:"boldsymbol",body:de}],isCharacterBox:Ae}}}),En({type:"font",names:["\\rm","\\sf","\\tt","\\bf","\\it"],props:{numArgs:0,allowedInText:!0},handler:function(Z,Y){var te=Z.parser,de=Z.funcName,Ae=Z.breakOnTokenText,Ke=te.mode,Ct=te.parseExpression(!0,Ae),Ut="math"+de.slice(1);return{type:"font",mode:Ke,font:Ut,body:{type:"ordgroup",mode:te.mode,body:Ct}}},htmlBuilder:oo,mathmlBuilder:Ms});var Os=function(Z,Y){var te=Y;return Z==="display"?te=te.id>=U.SCRIPT.id?te.text():U.DISPLAY:Z==="text"&&te.size===U.DISPLAY.size?te=U.TEXT:Z==="script"?te=U.SCRIPT:Z==="scriptscript"&&(te=U.SCRIPTSCRIPT),te},yo=function(Z,Y){var te=Os(Z.size,Y.style),de=te.fracNum(),Ae=te.fracDen(),Ke;Ke=Y.havingStyle(de);var Ct=ea(Z.numer,Ke,Y);if(Z.continued){var Ut=8.5/Y.fontMetrics().ptPerEm,nr=3.5/Y.fontMetrics().ptPerEm;Ct.height=Ct.height<Ut?Ut:Ct.height,Ct.depth=Ct.depth<nr?nr:Ct.depth}Ke=Y.havingStyle(Ae);var It=ea(Z.denom,Ke,Y),Hr,un,Pn;Z.hasBarLine?(Z.barSize?(un=wi(Z.barSize,Y),Hr=at.makeLineSpan("frac-line",Y,un)):Hr=at.makeLineSpan("frac-line",Y),un=Hr.height,Pn=Hr.height):(Hr=null,un=0,Pn=Y.fontMetrics().defaultRuleThickness);var Kn,ei,Fi;te.size===U.DISPLAY.size||Z.size==="display"?(Kn=Y.fontMetrics().num1,un>0?ei=3*Pn:ei=7*Pn,Fi=Y.fontMetrics().denom1):(un>0?(Kn=Y.fontMetrics().num2,ei=Pn):(Kn=Y.fontMetrics().num3,ei=3*Pn),Fi=Y.fontMetrics().denom2);var Pa;if(Hr){var Aa=Y.fontMetrics().axisHeight;Kn-Ct.depth-(Aa+.5*un)<ei&&(Kn+=ei-(Kn-Ct.depth-(Aa+.5*un))),Aa-.5*un-(It.height-Fi)<ei&&(Fi+=ei-(Aa-.5*un-(It.height-Fi)));var ns=-(Aa-.5*un);Pa=at.makeVList({positionType:"individualShift",children:[{type:"elem",elem:It,shift:Fi},{type:"elem",elem:Hr,shift:ns},{type:"elem",elem:Ct,shift:-Kn}]},Y)}else{var xa=Kn-Ct.depth-(It.height-Fi);xa<ei&&(Kn+=.5*(ei-xa),Fi+=.5*(ei-xa)),Pa=at.makeVList({positionType:"individualShift",children:[{type:"elem",elem:It,shift:Fi},{type:"elem",elem:Ct,shift:-Kn}]},Y)}Ke=Y.havingStyle(te),Pa.height*=Ke.sizeMultiplier/Y.sizeMultiplier,Pa.depth*=Ke.sizeMultiplier/Y.sizeMultiplier;var ys;te.size===U.DISPLAY.size?ys=Y.fontMetrics().delim1:ys=Y.fontMetrics().delim2;var js,ls;return Z.leftDelim==null?js=Ys(Y,["mopen"]):js=kn.customSizedDelim(Z.leftDelim,ys,!0,Y.havingStyle(te),Z.mode,["mopen"]),Z.continued?ls=at.makeSpan([]):Z.rightDelim==null?ls=Ys(Y,["mclose"]):ls=kn.customSizedDelim(Z.rightDelim,ys,!0,Y.havingStyle(te),Z.mode,["mclose"]),at.makeSpan(["mord"].concat(Ke.sizingClasses(Y)),[js,at.makeSpan(["mfrac"],[Pa]),ls],Y)},zn=function(Z,Y){var te=new Nn.MathNode("mfrac",[Ha(Z.numer,Y),Ha(Z.denom,Y)]);if(!Z.hasBarLine)te.setAttribute("linethickness","0px");else if(Z.barSize){var de=wi(Z.barSize,Y);te.setAttribute("linethickness",de+"em")}var Ae=Os(Z.size,Y.style);if(Ae.size!==Y.style.size){te=new Nn.MathNode("mstyle",[te]);var Ke=Ae.size===U.DISPLAY.size?"true":"false";te.setAttribute("displaystyle",Ke),te.setAttribute("scriptlevel","0")}if(Z.leftDelim!=null||Z.rightDelim!=null){var Ct=[];if(Z.leftDelim!=null){var Ut=new Nn.MathNode("mo",[new Nn.TextNode(Z.leftDelim.replace("\\",""))]);Ut.setAttribute("fence","true"),Ct.push(Ut)}if(Ct.push(te),Z.rightDelim!=null){var nr=new Nn.MathNode("mo",[new Nn.TextNode(Z.rightDelim.replace("\\",""))]);nr.setAttribute("fence","true"),Ct.push(nr)}return Ps(Ct)}return te};En({type:"genfrac",names:["\\cfrac","\\dfrac","\\frac","\\tfrac","\\dbinom","\\binom","\\tbinom","\\\\atopfrac","\\\\bracefrac","\\\\brackfrac"],props:{numArgs:2,greediness:2},handler:function(Z,Y){var te=Z.parser,de=Z.funcName,Ae=Y[0],Ke=Y[1],Ct,Ut=null,nr=null,It="auto";switch(de){case"\\cfrac":case"\\dfrac":case"\\frac":case"\\tfrac":Ct=!0;break;case"\\\\atopfrac":Ct=!1;break;case"\\dbinom":case"\\binom":case"\\tbinom":Ct=!1,Ut="(",nr=")";break;case"\\\\bracefrac":Ct=!1,Ut="\\{",nr="\\}";break;case"\\\\brackfrac":Ct=!1,Ut="[",nr="]";break;default:throw new Error("Unrecognized genfrac command")}switch(de){case"\\cfrac":case"\\dfrac":case"\\dbinom":It="display";break;case"\\tfrac":case"\\tbinom":It="text";break}return{type:"genfrac",mode:te.mode,continued:de==="\\cfrac",numer:Ae,denom:Ke,hasBarLine:Ct,leftDelim:Ut,rightDelim:nr,size:It,barSize:null}},htmlBuilder:yo,mathmlBuilder:zn}),En({type:"infix",names:["\\over","\\choose","\\atop","\\brace","\\brack"],props:{numArgs:0,infix:!0},handler:function(Z){var Y=Z.parser,te=Z.funcName,de=Z.token,Ae;switch(te){case"\\over":Ae="\\frac";break;case"\\choose":Ae="\\binom";break;case"\\atop":Ae="\\\\atopfrac";break;case"\\brace":Ae="\\\\bracefrac";break;case"\\brack":Ae="\\\\brackfrac";break;default:throw new Error("Unrecognized infix genfrac command")}return{type:"infix",mode:Y.mode,replaceWith:Ae,token:de}}});var Ws=["display","text","script","scriptscript"],uo=function(Z){var Y=null;return Z.length>0&&(Y=Z,Y=Y==="."?null:Y),Y};En({type:"genfrac",names:["\\genfrac"],props:{numArgs:6,greediness:6,argTypes:["math","math","size","text","math","math"]},handler:function(Z,Y){var te=Z.parser,de=Y[4],Ae=Y[5],Ke=Er(Y[0],"atom");Ke&&(Ke=kr(Y[0],"open"));var Ct=Ke?uo(Ke.text):null,Ut=Er(Y[1],"atom");Ut&&(Ut=kr(Y[1],"close"));var nr=Ut?uo(Ut.text):null,It=ar(Y[2],"size"),Hr,un=null;It.isBlank?Hr=!0:(un=It.value,Hr=un.number>0);var Pn="auto",Kn=Er(Y[3],"ordgroup");if(Kn){if(Kn.body.length>0){var ei=ar(Kn.body[0],"textord");Pn=Ws[Number(ei.text)]}}else Kn=ar(Y[3],"textord"),Pn=Ws[Number(Kn.text)];return{type:"genfrac",mode:te.mode,numer:de,denom:Ae,continued:!1,hasBarLine:Hr,barSize:un,leftDelim:Ct,rightDelim:nr,size:Pn}},htmlBuilder:yo,mathmlBuilder:zn}),En({type:"infix",names:["\\above"],props:{numArgs:1,argTypes:["size"],infix:!0},handler:function(Z,Y){var te=Z.parser,de=Z.funcName,Ae=Z.token;return{type:"infix",mode:te.mode,replaceWith:"\\\\abovefrac",size:ar(Y[0],"size").value,token:Ae}}}),En({type:"genfrac",names:["\\\\abovefrac"],props:{numArgs:3,argTypes:["math","size","math"]},handler:function(Z,Y){var te=Z.parser,de=Z.funcName,Ae=Y[0],Ke=k(ar(Y[1],"infix").size),Ct=Y[2],Ut=Ke.number>0;return{type:"genfrac",mode:te.mode,numer:Ae,denom:Ct,continued:!1,hasBarLine:Ut,barSize:Ke,leftDelim:null,rightDelim:null,size:"auto"}},htmlBuilder:yo,mathmlBuilder:zn});var Xe=function(Z,Y){var te=Y.style,de,Ae,Ke=Er(Z,"supsub");Ke?(de=Ke.sup?ea(Ke.sup,Y.havingStyle(te.sup()),Y):ea(Ke.sub,Y.havingStyle(te.sub()),Y),Ae=ar(Ke.base,"horizBrace")):Ae=ar(Z,"horizBrace");var Ct=ea(Ae.base,Y.havingBaseStyle(U.DISPLAY)),Ut=_i.svgSpan(Ae,Y),nr;if(Ae.isOver?(nr=at.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:Ct},{type:"kern",size:.1},{type:"elem",elem:Ut}]},Y),nr.children[0].children[0].children[1].classes.push("svg-align")):(nr=at.makeVList({positionType:"bottom",positionData:Ct.depth+.1+Ut.height,children:[{type:"elem",elem:Ut},{type:"kern",size:.1},{type:"elem",elem:Ct}]},Y),nr.children[0].children[0].children[0].classes.push("svg-align")),de){var It=at.makeSpan(["mord",Ae.isOver?"mover":"munder"],[nr],Y);Ae.isOver?nr=at.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:It},{type:"kern",size:.2},{type:"elem",elem:de}]},Y):nr=at.makeVList({positionType:"bottom",positionData:It.depth+.2+de.height+de.depth,children:[{type:"elem",elem:de},{type:"kern",size:.2},{type:"elem",elem:It}]},Y)}return at.makeSpan(["mord",Ae.isOver?"mover":"munder"],[nr],Y)},Qe=function(Z,Y){var te=_i.mathMLnode(Z.label);return new Nn.MathNode(Z.isOver?"mover":"munder",[Ha(Z.base,Y),te])};En({type:"horizBrace",names:["\\overbrace","\\underbrace"],props:{numArgs:1},handler:function(Z,Y){var te=Z.parser,de=Z.funcName;return{type:"horizBrace",mode:te.mode,label:de,isOver:/^\\over/.test(de),base:Y[0]}},htmlBuilder:Xe,mathmlBuilder:Qe}),En({type:"href",names:["\\href"],props:{numArgs:2,argTypes:["url","original"],allowedInText:!0},handler:function(Z,Y){var te=Z.parser,de=Y[1],Ae=ar(Y[0],"url").url;return te.settings.isTrusted({command:"\\href",url:Ae})?{type:"href",mode:te.mode,href:Ae,body:Qi(de)}:te.formatUnsupportedCmd("\\href")},htmlBuilder:function(Z,Y){var te=es(Z.body,Y,!1);return at.makeAnchor(Z.href,[],te,Y)},mathmlBuilder:function(Z,Y){var te=Xa(Z.body,Y);return te instanceof va||(te=new va("mrow",[te])),te.setAttribute("href",Z.href),te}}),En({type:"href",names:["\\url"],props:{numArgs:1,argTypes:["url"],allowedInText:!0},handler:function(Z,Y){var te=Z.parser,de=ar(Y[0],"url").url;if(!te.settings.isTrusted({command:"\\url",url:de}))return te.formatUnsupportedCmd("\\url");for(var Ae=[],Ke=0;Ke<de.length;Ke++){var Ct=de[Ke];Ct==="~"&&(Ct="\\textasciitilde"),Ae.push({type:"textord",mode:"text",text:Ct})}var Ut={type:"text",mode:te.mode,font:"\\texttt",body:Ae};return{type:"href",mode:te.mode,href:de,body:Qi(Ut)}}}),En({type:"htmlmathml",names:["\\html@mathml"],props:{numArgs:2,allowedInText:!0},handler:function(Z,Y){var te=Z.parser;return{type:"htmlmathml",mode:te.mode,html:Qi(Y[0]),mathml:Qi(Y[1])}},htmlBuilder:function(Z,Y){var te=es(Z.html,Y,!1);return at.makeFragment(te)},mathmlBuilder:function(Z,Y){return Xa(Z.mathml,Y)}});var Mt=function(Z){if(/^[-+]? *(\d+(\.\d*)?|\.\d+)$/.test(Z))return{number:+Z,unit:"bp"};var Y=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(Z);if(!Y)throw new o("Invalid size: '"+Z+"' in \\includegraphics");var te={number:+(Y[1]+Y[2]),unit:Y[3]};if(!Di(te))throw new o("Invalid unit: '"+te.unit+"' in \\includegraphics.");return te};En({type:"includegraphics",names:["\\includegraphics"],props:{numArgs:1,numOptionalArgs:1,argTypes:["raw","url"],allowedInText:!1},handler:function(Z,Y,te){var de=Z.parser,Ae={number:0,unit:"em"},Ke={number:.9,unit:"em"},Ct={number:0,unit:"em"},Ut="";if(te[0])for(var nr=ar(te[0],"raw").string,It=nr.split(","),Hr=0;Hr<It.length;Hr++){var un=It[Hr].split("=");if(un.length===2){var Pn=un[1].trim();switch(un[0].trim()){case"alt":Ut=Pn;break;case"width":Ae=Mt(Pn);break;case"height":Ke=Mt(Pn);break;case"totalheight":Ct=Mt(Pn);break;default:throw new o("Invalid key: '"+un[0]+"' in \\includegraphics.")}}}var Kn=ar(Y[0],"url").url;return Ut===""&&(Ut=Kn,Ut=Ut.replace(/^.*[\\/]/,""),Ut=Ut.substring(0,Ut.lastIndexOf("."))),de.settings.isTrusted({command:"\\includegraphics",url:Kn})?{type:"includegraphics",mode:de.mode,alt:Ut,width:Ae,height:Ke,totalheight:Ct,src:Kn}:de.formatUnsupportedCmd("\\includegraphics")},htmlBuilder:function(Z,Y){var te=wi(Z.height,Y),de=0;Z.totalheight.number>0&&(de=wi(Z.totalheight,Y)-te,de=Number(de.toFixed(2)));var Ae=0;Z.width.number>0&&(Ae=wi(Z.width,Y));var Ke={height:te+de+"em"};Ae>0&&(Ke.width=Ae+"em"),de>0&&(Ke.verticalAlign=-de+"em");var Ct=new ze(Z.src,Z.alt,Ke);return Ct.height=te,Ct.depth=de,Ct},mathmlBuilder:function(Z,Y){var te=new Nn.MathNode("mglyph",[]);te.setAttribute("alt",Z.alt);var de=wi(Z.height,Y),Ae=0;if(Z.totalheight.number>0&&(Ae=wi(Z.totalheight,Y)-de,Ae=Ae.toFixed(2),te.setAttribute("valign","-"+Ae+"em")),te.setAttribute("height",de+Ae+"em"),Z.width.number>0){var Ke=wi(Z.width,Y);te.setAttribute("width",Ke+"em")}return te.setAttribute("src",Z.src),te}}),En({type:"kern",names:["\\kern","\\mkern","\\hskip","\\mskip"],props:{numArgs:1,argTypes:["size"],allowedInText:!0},handler:function(Z,Y){var te=Z.parser,de=Z.funcName,Ae=ar(Y[0],"size");if(te.settings.strict){var Ke=de[1]==="m",Ct=Ae.value.unit==="mu";Ke?(Ct||te.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+de+" supports only mu units, "+("not "+Ae.value.unit+" units")),te.mode!=="math"&&te.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+de+" works only in math mode")):Ct&&te.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+de+" doesn't support mu units")}return{type:"kern",mode:te.mode,dimension:Ae.value}},htmlBuilder:function(Z,Y){return at.makeGlue(Z.dimension,Y)},mathmlBuilder:function(Z,Y){var te=wi(Z.dimension,Y);return new Nn.SpaceNode(te)}}),En({type:"lap",names:["\\mathllap","\\mathrlap","\\mathclap"],props:{numArgs:1,allowedInText:!0},handler:function(Z,Y){var te=Z.parser,de=Z.funcName,Ae=Y[0];return{type:"lap",mode:te.mode,alignment:de.slice(5),body:Ae}},htmlBuilder:function(Z,Y){var te;Z.alignment==="clap"?(te=at.makeSpan([],[ea(Z.body,Y)]),te=at.makeSpan(["inner"],[te],Y)):te=at.makeSpan(["inner"],[ea(Z.body,Y)]);var de=at.makeSpan(["fix"],[]),Ae=at.makeSpan([Z.alignment],[te,de],Y),Ke=at.makeSpan(["strut"]);return Ke.style.height=Ae.height+Ae.depth+"em",Ke.style.verticalAlign=-Ae.depth+"em",Ae.children.unshift(Ke),Ae=at.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:Ae}]},Y),at.makeSpan(["mord"],[Ae],Y)},mathmlBuilder:function(Z,Y){var te=new Nn.MathNode("mpadded",[Ha(Z.body,Y)]);if(Z.alignment!=="rlap"){var de=Z.alignment==="llap"?"-1":"-0.5";te.setAttribute("lspace",de+"width")}return te.setAttribute("width","0px"),te}}),En({type:"styling",names:["\\(","$"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler:function(Z,Y){var te=Z.funcName,de=Z.parser,Ae=de.mode;de.switchMode("math");var Ke=te==="\\("?"\\)":"$",Ct=de.parseExpression(!1,Ke);return de.expect(Ke),de.switchMode(Ae),{type:"styling",mode:de.mode,style:"text",body:Ct}}}),En({type:"text",names:["\\)","\\]"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler:function(Z,Y){throw new o("Mismatched "+Z.funcName)}});var Vt=function(Z,Y){switch(Y.style.size){case U.DISPLAY.size:return Z.display;case U.TEXT.size:return Z.text;case U.SCRIPT.size:return Z.script;case U.SCRIPTSCRIPT.size:return Z.scriptscript;default:return Z.text}};En({type:"mathchoice",names:["\\mathchoice"],props:{numArgs:4},handler:function(Z,Y){var te=Z.parser;return{type:"mathchoice",mode:te.mode,display:Qi(Y[0]),text:Qi(Y[1]),script:Qi(Y[2]),scriptscript:Qi(Y[3])}},htmlBuilder:function(Z,Y){var te=Vt(Z,Y),de=es(te,Y,!1);return at.makeFragment(de)},mathmlBuilder:function(Z,Y){var te=Vt(Z,Y);return Xa(te,Y)}});var br=function(Z,Y,te,de,Ae,Ke,Ct){Z=at.makeSpan([],[Z]);var Ut,nr;if(Y){var It=ea(Y,de.havingStyle(Ae.sup()),de);nr={elem:It,kern:Math.max(de.fontMetrics().bigOpSpacing1,de.fontMetrics().bigOpSpacing3-It.depth)}}if(te){var Hr=ea(te,de.havingStyle(Ae.sub()),de);Ut={elem:Hr,kern:Math.max(de.fontMetrics().bigOpSpacing2,de.fontMetrics().bigOpSpacing4-Hr.height)}}var un;if(nr&&Ut){var Pn=de.fontMetrics().bigOpSpacing5+Ut.elem.height+Ut.elem.depth+Ut.kern+Z.depth+Ct;un=at.makeVList({positionType:"bottom",positionData:Pn,children:[{type:"kern",size:de.fontMetrics().bigOpSpacing5},{type:"elem",elem:Ut.elem,marginLeft:-Ke+"em"},{type:"kern",size:Ut.kern},{type:"elem",elem:Z},{type:"kern",size:nr.kern},{type:"elem",elem:nr.elem,marginLeft:Ke+"em"},{type:"kern",size:de.fontMetrics().bigOpSpacing5}]},de)}else if(Ut){var Kn=Z.height-Ct;un=at.makeVList({positionType:"top",positionData:Kn,children:[{type:"kern",size:de.fontMetrics().bigOpSpacing5},{type:"elem",elem:Ut.elem,marginLeft:-Ke+"em"},{type:"kern",size:Ut.kern},{type:"elem",elem:Z}]},de)}else if(nr){var ei=Z.depth+Ct;un=at.makeVList({positionType:"bottom",positionData:ei,children:[{type:"elem",elem:Z},{type:"kern",size:nr.kern},{type:"elem",elem:nr.elem,marginLeft:Ke+"em"},{type:"kern",size:de.fontMetrics().bigOpSpacing5}]},de)}else return Z;return at.makeSpan(["mop","op-limits"],[un],de)},Mr=["\\smallint"],Zr=function(Z,Y){var te,de,Ae=!1,Ke,Ct=Er(Z,"supsub");Ct?(te=Ct.sup,de=Ct.sub,Ke=ar(Ct.base,"op"),Ae=!0):Ke=ar(Z,"op");var Ut=Y.style,nr=!1;Ut.size===U.DISPLAY.size&&Ke.symbol&&!A.contains(Mr,Ke.name)&&(nr=!0);var It;if(Ke.symbol){var Hr=nr?"Size2-Regular":"Size1-Regular",un="";if((Ke.name==="\\oiint"||Ke.name==="\\oiiint")&&(un=Ke.name.substr(1),Ke.name=un==="oiint"?"\\iint":"\\iiint"),It=at.makeSymbol(Ke.name,Hr,"math",Y,["mop","op-symbol",nr?"large-op":"small-op"]),un.length>0){var Pn=It.italic,Kn=at.staticSvg(un+"Size"+(nr?"2":"1"),Y);It=at.makeVList({positionType:"individualShift",children:[{type:"elem",elem:It,shift:0},{type:"elem",elem:Kn,shift:nr?.08:0}]},Y),Ke.name="\\"+un,It.classes.unshift("mop"),It.italic=Pn}}else if(Ke.body){var ei=es(Ke.body,Y,!0);ei.length===1&&ei[0]instanceof Se?(It=ei[0],It.classes[0]="mop"):It=at.makeSpan(["mop"],at.tryCombineChars(ei),Y)}else{for(var Fi=[],Pa=1;Pa<Ke.name.length;Pa++)Fi.push(at.mathsym(Ke.name[Pa],Ke.mode,Y));It=at.makeSpan(["mop"],Fi,Y)}var xa=0,Aa=0;return(It instanceof Se||Ke.name==="\\oiint"||Ke.name==="\\oiiint")&&!Ke.suppressBaseShift&&(xa=(It.height-It.depth)/2-Y.fontMetrics().axisHeight,Aa=It.italic),Ae?br(It,te,de,Y,Ut,Aa,xa):(xa&&(It.style.position="relative",It.style.top=xa+"em"),It)},bn=function(Z,Y){var te;if(Z.symbol)te=new va("mo",[ts(Z.name,Z.mode)]),A.contains(Mr,Z.name)&&te.setAttribute("largeop","false");else if(Z.body)te=new va("mo",Yi(Z.body,Y));else{te=new va("mi",[new is(Z.name.slice(1))]);var de=new va("mo",[ts("\u2061","text")]);Z.parentIsSupSub?te=new va("mo",[te,de]):te=Ka([te,de])}return te},ln={"\u220F":"\\prod","\u2210":"\\coprod","\u2211":"\\sum","\u22C0":"\\bigwedge","\u22C1":"\\bigvee","\u22C2":"\\bigcap","\u22C3":"\\bigcup","\u2A00":"\\bigodot","\u2A01":"\\bigoplus","\u2A02":"\\bigotimes","\u2A04":"\\biguplus","\u2A06":"\\bigsqcup"};En({type:"op",names:["\\coprod","\\bigvee","\\bigwedge","\\biguplus","\\bigcap","\\bigcup","\\intop","\\prod","\\sum","\\bigotimes","\\bigoplus","\\bigodot","\\bigsqcup","\\smallint","\u220F","\u2210","\u2211","\u22C0","\u22C1","\u22C2","\u22C3","\u2A00","\u2A01","\u2A02","\u2A04","\u2A06"],props:{numArgs:0},handler:function(Z,Y){var te=Z.parser,de=Z.funcName,Ae=de;return Ae.length===1&&(Ae=ln[Ae]),{type:"op",mode:te.mode,limits:!0,parentIsSupSub:!1,symbol:!0,name:Ae}},htmlBuilder:Zr,mathmlBuilder:bn}),En({type:"op",names:["\\mathop"],props:{numArgs:1},handler:function(Z,Y){var te=Z.parser,de=Y[0];return{type:"op",mode:te.mode,limits:!1,parentIsSupSub:!1,symbol:!1,body:Qi(de)}},htmlBuilder:Zr,mathmlBuilder:bn});var xn={"\u222B":"\\int","\u222C":"\\iint","\u222D":"\\iiint","\u222E":"\\oint","\u222F":"\\oiint","\u2230":"\\oiiint"};En({type:"op",names:["\\arcsin","\\arccos","\\arctan","\\arctg","\\arcctg","\\arg","\\ch","\\cos","\\cosec","\\cosh","\\cot","\\cotg","\\coth","\\csc","\\ctg","\\cth","\\deg","\\dim","\\exp","\\hom","\\ker","\\lg","\\ln","\\log","\\sec","\\sin","\\sinh","\\sh","\\tan","\\tanh","\\tg","\\th"],props:{numArgs:0},handler:function(Z){var Y=Z.parser,te=Z.funcName;return{type:"op",mode:Y.mode,limits:!1,parentIsSupSub:!1,symbol:!1,name:te}},htmlBuilder:Zr,mathmlBuilder:bn}),En({type:"op",names:["\\det","\\gcd","\\inf","\\lim","\\max","\\min","\\Pr","\\sup"],props:{numArgs:0},handler:function(Z){var Y=Z.parser,te=Z.funcName;return{type:"op",mode:Y.mode,limits:!0,parentIsSupSub:!1,symbol:!1,name:te}},htmlBuilder:Zr,mathmlBuilder:bn}),En({type:"op",names:["\\int","\\iint","\\iiint","\\oint","\\oiint","\\oiiint","\u222B","\u222C","\u222D","\u222E","\u222F","\u2230"],props:{numArgs:0},handler:function(Z){var Y=Z.parser,te=Z.funcName,de=te;return de.length===1&&(de=xn[de]),{type:"op",mode:Y.mode,limits:!1,parentIsSupSub:!1,symbol:!0,name:de}},htmlBuilder:Zr,mathmlBuilder:bn});var ai=function(Z,Y){var te,de,Ae=!1,Ke,Ct=Er(Z,"supsub");Ct?(te=Ct.sup,de=Ct.sub,Ke=ar(Ct.base,"operatorname"),Ae=!0):Ke=ar(Z,"operatorname");var Ut;if(Ke.body.length>0){for(var nr=Ke.body.map(function(Pn){var Kn=Pn.text;return typeof Kn=="string"?{type:"textord",mode:Pn.mode,text:Kn}:Pn}),It=es(nr,Y.withFont("mathrm"),!0),Hr=0;Hr<It.length;Hr++){var un=It[Hr];un instanceof Se&&(un.text=un.text.replace(/\u2212/,"-").replace(/\u2217/,"*"))}Ut=at.makeSpan(["mop"],It,Y)}else Ut=at.makeSpan(["mop"],[],Y);return Ae?br(Ut,te,de,Y,Y.style,0,0):Ut},ui=function(Z,Y){for(var te=Yi(Z.body,Y.withFont("mathrm")),de=!0,Ae=0;Ae<te.length;Ae++){var Ke=te[Ae];if(!(Ke instanceof Nn.SpaceNode))if(Ke instanceof Nn.MathNode)switch(Ke.type){case"mi":case"mn":case"ms":case"mspace":case"mtext":break;case"mo":{var Ct=Ke.children[0];Ke.children.length===1&&Ct instanceof Nn.TextNode?Ct.text=Ct.text.replace(/\u2212/,"-").replace(/\u2217/,"*"):de=!1;break}default:de=!1}else de=!1}if(de){var Ut=te.map(function(Hr){return Hr.toText()}).join("");te=[new Nn.TextNode(Ut)]}var nr=new Nn.MathNode("mi",te);nr.setAttribute("mathvariant","normal");var It=new Nn.MathNode("mo",[ts("\u2061","text")]);return Z.parentIsSupSub?new Nn.MathNode("mo",[nr,It]):Nn.newDocumentFragment([nr,It])};En({type:"operatorname",names:["\\operatorname","\\operatorname*"],props:{numArgs:1},handler:function(Z,Y){var te=Z.parser,de=Z.funcName,Ae=Y[0];return{type:"operatorname",mode:te.mode,body:Qi(Ae),alwaysHandleSupSub:de==="\\operatorname*",limits:!1,parentIsSupSub:!1}},htmlBuilder:ai,mathmlBuilder:ui}),pi({type:"ordgroup",htmlBuilder:function(Z,Y){return Z.semisimple?at.makeFragment(es(Z.body,Y,!1)):at.makeSpan(["mord"],es(Z.body,Y,!0),Y)},mathmlBuilder:function(Z,Y){return Xa(Z.body,Y,!0)}}),En({type:"overline",names:["\\overline"],props:{numArgs:1},handler:function(Z,Y){var te=Z.parser,de=Y[0];return{type:"overline",mode:te.mode,body:de}},htmlBuilder:function(Z,Y){var te=ea(Z.body,Y.havingCrampedStyle()),de=at.makeLineSpan("overline-line",Y),Ae=Y.fontMetrics().defaultRuleThickness,Ke=at.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:te},{type:"kern",size:3*Ae},{type:"elem",elem:de},{type:"kern",size:Ae}]},Y);return at.makeSpan(["mord","overline"],[Ke],Y)},mathmlBuilder:function(Z,Y){var te=new Nn.MathNode("mo",[new Nn.TextNode("\u203E")]);te.setAttribute("stretchy","true");var de=new Nn.MathNode("mover",[Ha(Z.body,Y),te]);return de.setAttribute("accent","true"),de}}),En({type:"phantom",names:["\\phantom"],props:{numArgs:1,allowedInText:!0},handler:function(Z,Y){var te=Z.parser,de=Y[0];return{type:"phantom",mode:te.mode,body:Qi(de)}},htmlBuilder:function(Z,Y){var te=es(Z.body,Y.withPhantom(),!1);return at.makeFragment(te)},mathmlBuilder:function(Z,Y){var te=Yi(Z.body,Y);return new Nn.MathNode("mphantom",te)}}),En({type:"hphantom",names:["\\hphantom"],props:{numArgs:1,allowedInText:!0},handler:function(Z,Y){var te=Z.parser,de=Y[0];return{type:"hphantom",mode:te.mode,body:de}},htmlBuilder:function(Z,Y){var te=at.makeSpan([],[ea(Z.body,Y.withPhantom())]);if(te.height=0,te.depth=0,te.children)for(var de=0;de<te.children.length;de++)te.children[de].height=0,te.children[de].depth=0;return te=at.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:te}]},Y),at.makeSpan(["mord"],[te],Y)},mathmlBuilder:function(Z,Y){var te=Yi(Qi(Z.body),Y),de=new Nn.MathNode("mphantom",te),Ae=new Nn.MathNode("mpadded",[de]);return Ae.setAttribute("height","0px"),Ae.setAttribute("depth","0px"),Ae}}),En({type:"vphantom",names:["\\vphantom"],props:{numArgs:1,allowedInText:!0},handler:function(Z,Y){var te=Z.parser,de=Y[0];return{type:"vphantom",mode:te.mode,body:de}},htmlBuilder:function(Z,Y){var te=at.makeSpan(["inner"],[ea(Z.body,Y.withPhantom())]),de=at.makeSpan(["fix"],[]);return at.makeSpan(["mord","rlap"],[te,de],Y)},mathmlBuilder:function(Z,Y){var te=Yi(Qi(Z.body),Y),de=new Nn.MathNode("mphantom",te),Ae=new Nn.MathNode("mpadded",[de]);return Ae.setAttribute("width","0px"),Ae}}),En({type:"raisebox",names:["\\raisebox"],props:{numArgs:2,argTypes:["size","hbox"],allowedInText:!0},handler:function(Z,Y){var te=Z.parser,de=ar(Y[0],"size").value,Ae=Y[1];return{type:"raisebox",mode:te.mode,dy:de,body:Ae}},htmlBuilder:function(Z,Y){var te=ea(Z.body,Y),de=wi(Z.dy,Y);return at.makeVList({positionType:"shift",positionData:-de,children:[{type:"elem",elem:te}]},Y)},mathmlBuilder:function(Z,Y){var te=new Nn.MathNode("mpadded",[Ha(Z.body,Y)]),de=Z.dy.number+Z.dy.unit;return te.setAttribute("voffset",de),te}}),En({type:"rule",names:["\\rule"],props:{numArgs:2,numOptionalArgs:1,argTypes:["size","size","size"]},handler:function(Z,Y,te){var de=Z.parser,Ae=te[0],Ke=ar(Y[0],"size"),Ct=ar(Y[1],"size");return{type:"rule",mode:de.mode,shift:Ae&&ar(Ae,"size").value,width:Ke.value,height:Ct.value}},htmlBuilder:function(Z,Y){var te=at.makeSpan(["mord","rule"],[],Y),de=wi(Z.width,Y),Ae=wi(Z.height,Y),Ke=Z.shift?wi(Z.shift,Y):0;return te.style.borderRightWidth=de+"em",te.style.borderTopWidth=Ae+"em",te.style.bottom=Ke+"em",te.width=de,te.height=Ae+Ke,te.depth=-Ke,te.maxFontSize=Ae*1.125*Y.sizeMultiplier,te},mathmlBuilder:function(Z,Y){var te=wi(Z.width,Y),de=wi(Z.height,Y),Ae=Z.shift?wi(Z.shift,Y):0,Ke=Y.color&&Y.getColor()||"black",Ct=new Nn.MathNode("mspace");Ct.setAttribute("mathbackground",Ke),Ct.setAttribute("width",te+"em"),Ct.setAttribute("height",de+"em");var Ut=new Nn.MathNode("mpadded",[Ct]);return Ae>=0?Ut.setAttribute("height","+"+Ae+"em"):(Ut.setAttribute("height",Ae+"em"),Ut.setAttribute("depth","+"+-Ae+"em")),Ut.setAttribute("voffset",Ae+"em"),Ut}});function Pi(Ve,Z,Y){for(var te=es(Ve,Z,!1),de=Z.sizeMultiplier/Y.sizeMultiplier,Ae=0;Ae<te.length;Ae++){var Ke=te[Ae].classes.indexOf("sizing");Ke<0?Array.prototype.push.apply(te[Ae].classes,Z.sizingClasses(Y)):te[Ae].classes[Ke+1]==="reset-size"+Z.size&&(te[Ae].classes[Ke+1]="reset-size"+Y.size),te[Ae].height*=de,te[Ae].depth*=de}return at.makeFragment(te)}var Mi=["\\tiny","\\sixptsize","\\scriptsize","\\footnotesize","\\small","\\normalsize","\\large","\\Large","\\LARGE","\\huge","\\Huge"],ra=function(Z,Y){var te=Y.havingSize(Z.size);return Pi(Z.body,te,Y)};En({type:"sizing",names:Mi,props:{numArgs:0,allowedInText:!0},handler:function(Z,Y){var te=Z.breakOnTokenText,de=Z.funcName,Ae=Z.parser,Ke=Ae.parseExpression(!1,te);return{type:"sizing",mode:Ae.mode,size:Mi.indexOf(de)+1,body:Ke}},htmlBuilder:ra,mathmlBuilder:function(Z,Y){var te=Y.havingSize(Z.size),de=Yi(Z.body,te),Ae=new Nn.MathNode("mstyle",de);return Ae.setAttribute("mathsize",te.sizeMultiplier+"em"),Ae}}),En({type:"smash",names:["\\smash"],props:{numArgs:1,numOptionalArgs:1,allowedInText:!0},handler:function(Z,Y,te){var de=Z.parser,Ae=!1,Ke=!1,Ct=te[0]&&ar(te[0],"ordgroup");if(Ct)for(var Ut="",nr=0;nr<Ct.body.length;++nr){var It=Ct.body[nr];if(Ut=It.text,Ut==="t")Ae=!0;else if(Ut==="b")Ke=!0;else{Ae=!1,Ke=!1;break}}else Ae=!0,Ke=!0;var Hr=Y[0];return{type:"smash",mode:de.mode,body:Hr,smashHeight:Ae,smashDepth:Ke}},htmlBuilder:function(Z,Y){var te=at.makeSpan([],[ea(Z.body,Y)]);if(!Z.smashHeight&&!Z.smashDepth)return te;if(Z.smashHeight&&(te.height=0,te.children))for(var de=0;de<te.children.length;de++)te.children[de].height=0;if(Z.smashDepth&&(te.depth=0,te.children))for(var Ae=0;Ae<te.children.length;Ae++)te.children[Ae].depth=0;var Ke=at.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:te}]},Y);return at.makeSpan(["mord"],[Ke],Y)},mathmlBuilder:function(Z,Y){var te=new Nn.MathNode("mpadded",[Ha(Z.body,Y)]);return Z.smashHeight&&te.setAttribute("height","0px"),Z.smashDepth&&te.setAttribute("depth","0px"),te}}),En({type:"sqrt",names:["\\sqrt"],props:{numArgs:1,numOptionalArgs:1},handler:function(Z,Y,te){var de=Z.parser,Ae=te[0],Ke=Y[0];return{type:"sqrt",mode:de.mode,body:Ke,index:Ae}},htmlBuilder:function(Z,Y){var te=ea(Z.body,Y.havingCrampedStyle());te.height===0&&(te.height=Y.fontMetrics().xHeight),te=at.wrapFragment(te,Y);var de=Y.fontMetrics(),Ae=de.defaultRuleThickness,Ke=Ae;Y.style.id<U.TEXT.id&&(Ke=Y.fontMetrics().xHeight);var Ct=Ae+Ke/4,Ut=te.height+te.depth+Ct+Ae,nr=kn.sqrtImage(Ut,Y),It=nr.span,Hr=nr.ruleWidth,un=nr.advanceWidth,Pn=It.height-Hr;Pn>te.height+te.depth+Ct&&(Ct=(Ct+Pn-te.height-te.depth)/2);var Kn=It.height-te.height-Ct-Hr;te.style.paddingLeft=un+"em";var ei=at.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:te,wrapperClasses:["svg-align"]},{type:"kern",size:-(te.height+Kn)},{type:"elem",elem:It},{type:"kern",size:Hr}]},Y);if(Z.index){var Fi=Y.havingStyle(U.SCRIPTSCRIPT),Pa=ea(Z.index,Fi,Y),xa=.6*(ei.height-ei.depth),Aa=at.makeVList({positionType:"shift",positionData:-xa,children:[{type:"elem",elem:Pa}]},Y),ns=at.makeSpan(["root"],[Aa]);return at.makeSpan(["mord","sqrt"],[ns,ei],Y)}else return at.makeSpan(["mord","sqrt"],[ei],Y)},mathmlBuilder:function(Z,Y){var te=Z.body,de=Z.index;return de?new Nn.MathNode("mroot",[Ha(te,Y),Ha(de,Y)]):new Nn.MathNode("msqrt",[Ha(te,Y)])}});var Xi={display:U.DISPLAY,text:U.TEXT,script:U.SCRIPT,scriptscript:U.SCRIPTSCRIPT};En({type:"styling",names:["\\displaystyle","\\textstyle","\\scriptstyle","\\scriptscriptstyle"],props:{numArgs:0,allowedInText:!0},handler:function(Z,Y){var te=Z.breakOnTokenText,de=Z.funcName,Ae=Z.parser,Ke=Ae.parseExpression(!0,te),Ct=de.slice(1,de.length-5);return{type:"styling",mode:Ae.mode,style:Ct,body:Ke}},htmlBuilder:function(Z,Y){var te=Xi[Z.style],de=Y.havingStyle(te).withFont("");return Pi(Z.body,de,Y)},mathmlBuilder:function(Z,Y){var te=Xi[Z.style],de=Y.havingStyle(te),Ae=Yi(Z.body,de),Ke=new Nn.MathNode("mstyle",Ae),Ct={display:["0","true"],text:["0","false"],script:["1","false"],scriptscript:["2","false"]},Ut=Ct[Z.style];return Ke.setAttribute("scriptlevel",Ut[0]),Ke.setAttribute("displaystyle",Ut[1]),Ke}});var ki=function(Z,Y){var te=Z.base;if(te)if(te.type==="op"){var de=te.limits&&(Y.style.size===U.DISPLAY.size||te.alwaysHandleSupSub);return de?Zr:null}else if(te.type==="operatorname"){var Ae=te.alwaysHandleSupSub&&(Y.style.size===U.DISPLAY.size||te.limits);return Ae?ai:null}else{if(te.type==="accent")return A.isCharacterBox(te.base)?as:null;if(te.type==="horizBrace"){var Ke=!Z.sub;return Ke===te.isOver?Xe:null}else return null}else return null};pi({type:"supsub",htmlBuilder:function(Z,Y){var te=ki(Z,Y);if(te)return te(Z,Y);var de=Z.base,Ae=Z.sup,Ke=Z.sub,Ct=ea(de,Y),Ut,nr,It=Y.fontMetrics(),Hr=0,un=0,Pn=de&&A.isCharacterBox(de);if(Ae){var Kn=Y.havingStyle(Y.style.sup());Ut=ea(Ae,Kn,Y),Pn||(Hr=Ct.height-Kn.fontMetrics().supDrop*Kn.sizeMultiplier/Y.sizeMultiplier)}if(Ke){var ei=Y.havingStyle(Y.style.sub());nr=ea(Ke,ei,Y),Pn||(un=Ct.depth+ei.fontMetrics().subDrop*ei.sizeMultiplier/Y.sizeMultiplier)}var Fi;Y.style===U.DISPLAY?Fi=It.sup1:Y.style.cramped?Fi=It.sup3:Fi=It.sup2;var Pa=Y.sizeMultiplier,xa=.5/It.ptPerEm/Pa+"em",Aa=null;if(nr){var ns=Z.base&&Z.base.type==="op"&&Z.base.name&&(Z.base.name==="\\oiint"||Z.base.name==="\\oiiint");(Ct instanceof Se||ns)&&(Aa=-Ct.italic+"em")}var ys;if(Ut&&nr){Hr=Math.max(Hr,Fi,Ut.depth+.25*It.xHeight),un=Math.max(un,It.sub2);var js=It.defaultRuleThickness,ls=4*js;if(Hr-Ut.depth-(nr.height-un)<ls){un=ls-(Hr-Ut.depth)+nr.height;var ha=.8*It.xHeight-(Hr-Ut.depth);ha>0&&(Hr+=ha,un-=ha)}var io=[{type:"elem",elem:nr,shift:un,marginRight:xa,marginLeft:Aa},{type:"elem",elem:Ut,shift:-Hr,marginRight:xa}];ys=at.makeVList({positionType:"individualShift",children:io},Y)}else if(nr){un=Math.max(un,It.sub1,nr.height-.8*It.xHeight);var Xs=[{type:"elem",elem:nr,marginLeft:Aa,marginRight:xa}];ys=at.makeVList({positionType:"shift",positionData:un,children:Xs},Y)}else if(Ut)Hr=Math.max(Hr,Fi,Ut.depth+.25*It.xHeight),ys=at.makeVList({positionType:"shift",positionData:-Hr,children:[{type:"elem",elem:Ut,marginRight:xa}]},Y);else throw new Error("supsub must have either sup or sub.");var Ai=fs(Ct,"right")||"mord";return at.makeSpan([Ai],[Ct,at.makeSpan(["msupsub"],[ys])],Y)},mathmlBuilder:function(Z,Y){var te=!1,de,Ae,Ke=Er(Z.base,"horizBrace");Ke&&(Ae=!!Z.sup,Ae===Ke.isOver&&(te=!0,de=Ke.isOver)),Z.base&&(Z.base.type==="op"||Z.base.type==="operatorname")&&(Z.base.parentIsSupSub=!0);var Ct=[Ha(Z.base,Y)];Z.sub&&Ct.push(Ha(Z.sub,Y)),Z.sup&&Ct.push(Ha(Z.sup,Y));var Ut;if(te)Ut=de?"mover":"munder";else if(Z.sub)if(Z.sup){var Hr=Z.base;Hr&&Hr.type==="op"&&Hr.limits&&Y.style===U.DISPLAY||Hr&&Hr.type==="operatorname"&&Hr.alwaysHandleSupSub&&(Y.style===U.DISPLAY||Hr.limits)?Ut="munderover":Ut="msubsup"}else{var It=Z.base;It&&It.type==="op"&&It.limits&&(Y.style===U.DISPLAY||It.alwaysHandleSupSub)||It&&It.type==="operatorname"&&It.alwaysHandleSupSub&&(It.limits||Y.style===U.DISPLAY)?Ut="munder":Ut="msub"}else{var nr=Z.base;nr&&nr.type==="op"&&nr.limits&&(Y.style===U.DISPLAY||nr.alwaysHandleSupSub)||nr&&nr.type==="operatorname"&&nr.alwaysHandleSupSub&&(nr.limits||Y.style===U.DISPLAY)?Ut="mover":Ut="msup"}var un=new Nn.MathNode(Ut,Ct);return un}}),pi({type:"atom",htmlBuilder:function(Z,Y){return at.mathsym(Z.text,Z.mode,Y,["m"+Z.family])},mathmlBuilder:function(Z,Y){var te=new Nn.MathNode("mo",[ts(Z.text,Z.mode)]);if(Z.family==="bin"){var de=Is(Z,Y);de==="bold-italic"&&te.setAttribute("mathvariant",de)}else Z.family==="punct"?te.setAttribute("separator","true"):(Z.family==="open"||Z.family==="close")&&te.setAttribute("stretchy","false");return te}});var Da={mi:"italic",mn:"normal",mtext:"normal"};pi({type:"mathord",htmlBuilder:function(Z,Y){return at.makeOrd(Z,Y,"mathord")},mathmlBuilder:function(Z,Y){var te=new Nn.MathNode("mi",[ts(Z.text,Z.mode,Y)]),de=Is(Z,Y)||"italic";return de!==Da[te.type]&&te.setAttribute("mathvariant",de),te}}),pi({type:"textord",htmlBuilder:function(Z,Y){return at.makeOrd(Z,Y,"textord")},mathmlBuilder:function(Z,Y){var te=ts(Z.text,Z.mode,Y),de=Is(Z,Y)||"normal",Ae;return Z.mode==="text"?Ae=new Nn.MathNode("mtext",[te]):/[0-9]/.test(Z.text)?Ae=new Nn.MathNode("mn",[te]):Z.text==="\\prime"?Ae=new Nn.MathNode("mo",[te]):Ae=new Nn.MathNode("mi",[te]),de!==Da[Ae.type]&&Ae.setAttribute("mathvariant",de),Ae}});var Ri={"\\nobreak":"nobreak","\\allowbreak":"allowbreak"},Si={" ":{},"\\ ":{},"~":{className:"nobreak"},"\\space":{},"\\nobreakspace":{className:"nobreak"}};pi({type:"spacing",htmlBuilder:function(Z,Y){if(Si.hasOwnProperty(Z.text)){var te=Si[Z.text].className||"";if(Z.mode==="text"){var de=at.makeOrd(Z,Y,"textord");return de.classes.push(te),de}else return at.makeSpan(["mspace",te],[at.mathsym(Z.text,Z.mode,Y)],Y)}else{if(Ri.hasOwnProperty(Z.text))return at.makeSpan(["mspace",Ri[Z.text]],[],Y);throw new o('Unknown type of space "'+Z.text+'"')}},mathmlBuilder:function(Z,Y){var te;if(Si.hasOwnProperty(Z.text))te=new Nn.MathNode("mtext",[new Nn.TextNode("\xA0")]);else{if(Ri.hasOwnProperty(Z.text))return new Nn.MathNode("mspace");throw new o('Unknown type of space "'+Z.text+'"')}return te}});var Sa=function(){var Z=new Nn.MathNode("mtd",[]);return Z.setAttribute("width","50%"),Z};pi({type:"tag",mathmlBuilder:function(Z,Y){var te=new Nn.MathNode("mtable",[new Nn.MathNode("mtr",[Sa(),new Nn.MathNode("mtd",[Xa(Z.body,Y)]),Sa(),new Nn.MathNode("mtd",[Xa(Z.tag,Y)])])]);return te.setAttribute("width","100%"),te}});var bo={"\\text":void 0,"\\textrm":"textrm","\\textsf":"textsf","\\texttt":"texttt","\\textnormal":"textrm"},Gs={"\\textbf":"textbf","\\textmd":"textmd"},na={"\\textit":"textit","\\textup":"textup"},Qa=function(Z,Y){var te=Z.font;return te?bo[te]?Y.withTextFontFamily(bo[te]):Gs[te]?Y.withTextFontWeight(Gs[te]):Y.withTextFontShape(na[te]):Y};En({type:"text",names:["\\text","\\textrm","\\textsf","\\texttt","\\textnormal","\\textbf","\\textmd","\\textit","\\textup"],props:{numArgs:1,argTypes:["text"],greediness:2,allowedInText:!0},handler:function(Z,Y){var te=Z.parser,de=Z.funcName,Ae=Y[0];return{type:"text",mode:te.mode,body:Qi(Ae),font:de}},htmlBuilder:function(Z,Y){var te=Qa(Z,Y),de=es(Z.body,te,!0);return at.makeSpan(["mord","text"],at.tryCombineChars(de),te)},mathmlBuilder:function(Z,Y){var te=Qa(Z,Y);return Xa(Z.body,te)}}),En({type:"underline",names:["\\underline"],props:{numArgs:1,allowedInText:!0},handler:function(Z,Y){var te=Z.parser;return{type:"underline",mode:te.mode,body:Y[0]}},htmlBuilder:function(Z,Y){var te=ea(Z.body,Y),de=at.makeLineSpan("underline-line",Y),Ae=Y.fontMetrics().defaultRuleThickness,Ke=at.makeVList({positionType:"top",positionData:te.height,children:[{type:"kern",size:Ae},{type:"elem",elem:de},{type:"kern",size:3*Ae},{type:"elem",elem:te}]},Y);return at.makeSpan(["mord","underline"],[Ke],Y)},mathmlBuilder:function(Z,Y){var te=new Nn.MathNode("mo",[new Nn.TextNode("\u203E")]);te.setAttribute("stretchy","true");var de=new Nn.MathNode("munder",[Ha(Z.body,Y),te]);return de.setAttribute("accentunder","true"),de}}),En({type:"verb",names:["\\verb"],props:{numArgs:0,allowedInText:!0},handler:function(Z,Y,te){throw new o("\\verb ended by end of line instead of matching delimiter")},htmlBuilder:function(Z,Y){for(var te=pa(Z),de=[],Ae=Y.havingStyle(Y.style.text()),Ke=0;Ke<te.length;Ke++){var Ct=te[Ke];Ct==="~"&&(Ct="\\textasciitilde"),de.push(at.makeSymbol(Ct,"Typewriter-Regular",Z.mode,Ae,["mord","texttt"]))}return at.makeSpan(["mord","text"].concat(Ae.sizingClasses(Y)),at.tryCombineChars(de),Ae)},mathmlBuilder:function(Z,Y){var te=new Nn.TextNode(pa(Z)),de=new Nn.MathNode("mtext",[te]);return de.setAttribute("mathvariant","monospace"),de}});var pa=function(Z){return Z.body.replace(/ /g,Z.star?"\u2423":"\xA0")},Hi=Ia,Ra=Hi,qa=`[ \r
|
|
|
]`,hs="\\\\[a-zA-Z@]+",xo="\\\\[^\uD800-\uDFFF]",ps=""+hs+qa+"*",ko=new RegExp("^("+hs+")"+qa+"*$"),os="[\u0300-\u036F]",_s=new RegExp(os+"+$"),ks="("+qa+"+)|([!-\\[\\]-\u2027\u202A-\uD7FF\uF900-\uFFFF]"+(os+"*")+"|[\uD800-\uDBFF][\uDC00-\uDFFF]"+(os+"*")+"|\\\\verb\\*([^]).*?\\3|\\\\verb([^*a-zA-Z]).*?\\4|\\\\operatorname\\*"+("|"+ps)+("|"+xo+")"),ga=function(){function Ve(Y,te){this.input=void 0,this.settings=void 0,this.tokenRegex=void 0,this.catcodes=void 0,this.input=Y,this.settings=te,this.tokenRegex=new RegExp(ks,"g"),this.catcodes={"%":14}}var Z=Ve.prototype;return Z.setCatcode=function(te,de){this.catcodes[te]=de},Z.lex=function(){var te=this.input,de=this.tokenRegex.lastIndex;if(de===te.length)return new c("EOF",new l(this,de,de));var Ae=this.tokenRegex.exec(te);if(Ae===null||Ae.index!==de)throw new o("Unexpected character: '"+te[de]+"'",new c(te[de],new l(this,de,de+1)));var Ke=Ae[2]||" ";if(this.catcodes[Ke]===14){var Ct=te.indexOf(`
|
|
|
`,this.tokenRegex.lastIndex);return Ct===-1?(this.tokenRegex.lastIndex=te.length,this.settings.reportNonstrict("commentAtEnd","% comment has no terminating newline; LaTeX would fail because of commenting the end of math mode (e.g. $)")):this.tokenRegex.lastIndex=Ct+1,this.lex()}var Ut=Ke.match(ko);return Ut&&(Ke=Ut[1]),new c(Ke,new l(this,de,this.tokenRegex.lastIndex))},Ve}(),us=function(){function Ve(Y,te){Y===void 0&&(Y={}),te===void 0&&(te={}),this.current=void 0,this.builtins=void 0,this.undefStack=void 0,this.current=te,this.builtins=Y,this.undefStack=[]}var Z=Ve.prototype;return Z.beginGroup=function(){this.undefStack.push({})},Z.endGroup=function(){if(this.undefStack.length===0)throw new o("Unbalanced namespace destruction: attempt to pop global namespace; please report this as a bug");var te=this.undefStack.pop();for(var de in te)te.hasOwnProperty(de)&&(te[de]===void 0?delete this.current[de]:this.current[de]=te[de])},Z.has=function(te){return this.current.hasOwnProperty(te)||this.builtins.hasOwnProperty(te)},Z.get=function(te){return this.current.hasOwnProperty(te)?this.current[te]:this.builtins[te]},Z.set=function(te,de,Ae){if(Ae===void 0&&(Ae=!1),Ae){for(var Ke=0;Ke<this.undefStack.length;Ke++)delete this.undefStack[Ke][te];this.undefStack.length>0&&(this.undefStack[this.undefStack.length-1][te]=de)}else{var Ct=this.undefStack[this.undefStack.length-1];Ct&&!Ct.hasOwnProperty(te)&&(Ct[te]=this.current[te])}this.current[te]=de},Ve}(),$s={},La=$s;function ye(Ve,Z){$s[Ve]=Z}ye("\\@firstoftwo",function(Ve){var Z=Ve.consumeArgs(2);return{tokens:Z[0],numArgs:0}}),ye("\\@secondoftwo",function(Ve){var Z=Ve.consumeArgs(2);return{tokens:Z[1],numArgs:0}}),ye("\\@ifnextchar",function(Ve){var Z=Ve.consumeArgs(3),Y=Ve.future();return Z[0].length===1&&Z[0][0].text===Y.text?{tokens:Z[1],numArgs:0}:{tokens:Z[2],numArgs:0}}),ye("\\@ifstar","\\@ifnextchar *{\\@firstoftwo{#1}}"),ye("\\TextOrMath",function(Ve){var Z=Ve.consumeArgs(2);return Ve.mode==="text"?{tokens:Z[0],numArgs:0}:{tokens:Z[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 Z=Ve.popToken(),Y,te="";if(Z.text==="'")Y=8,Z=Ve.popToken();else if(Z.text==='"')Y=16,Z=Ve.popToken();else if(Z.text==="`")if(Z=Ve.popToken(),Z.text[0]==="\\")te=Z.text.charCodeAt(1);else{if(Z.text==="EOF")throw new o("\\char` missing argument");te=Z.text.charCodeAt(0)}else Y=10;if(Y){if(te=we[Z.text],te==null||te>=Y)throw new o("Invalid base-"+Y+" digit "+Z.text);for(var de;(de=we[Ve.future().text])!=null&&de<Y;)te*=Y,te+=de,Ve.popToken()}return"\\@char{"+te+"}"});var Ar=function(Z,Y){var te=Z.consumeArgs(1)[0];if(te.length!==1)throw new o("\\gdef's first argument must be a macro name");var de=te[0].text,Ae=0;for(te=Z.consumeArgs(1)[0];te.length===1&&te[0].text==="#";){if(te=Z.consumeArgs(1)[0],te.length!==1)throw new o('Invalid argument number length "'+te.length+'"');if(!/^[1-9]$/.test(te[0].text))throw new o('Invalid argument number "'+te[0].text+'"');if(Ae++,parseInt(te[0].text)!==Ae)throw new o('Argument number "'+te[0].text+'" out of order');te=Z.consumeArgs(1)[0]}return Z.macros.set(de,{tokens:te,numArgs:Ae},Y),""};ye("\\gdef",function(Ve){return Ar(Ve,!0)}),ye("\\def",function(Ve){return Ar(Ve,!1)}),ye("\\global",function(Ve){var Z=Ve.consumeArgs(1)[0];if(Z.length!==1)throw new o("Invalid command after \\global");var Y=Z[0].text;if(Y==="\\def")return Ar(Ve,!0);throw new o("Invalid command '"+Y+"' after \\global")});var rn=function(Z,Y,te){var de=Z.consumeArgs(1)[0];if(de.length!==1)throw new o("\\newcommand's first argument must be a macro name");var Ae=de[0].text,Ke=Z.isDefined(Ae);if(Ke&&!Y)throw new o("\\newcommand{"+Ae+"} attempting to redefine "+(Ae+"; use \\renewcommand"));if(!Ke&&!te)throw new o("\\renewcommand{"+Ae+"} when command "+Ae+" does not yet exist; use \\newcommand");var Ct=0;if(de=Z.consumeArgs(1)[0],de.length===1&&de[0].text==="["){for(var Ut="",nr=Z.expandNextToken();nr.text!=="]"&&nr.text!=="EOF";)Ut+=nr.text,nr=Z.expandNextToken();if(!Ut.match(/^\s*[0-9]+\s*$/))throw new o("Invalid number of arguments: "+Ut);Ct=parseInt(Ut),de=Z.consumeArgs(1)[0]}return Z.macros.set(Ae,{tokens:de,numArgs:Ct}),""};ye("\\newcommand",function(Ve){return rn(Ve,!1,!0)}),ye("\\renewcommand",function(Ve){return rn(Ve,!0,!1)}),ye("\\providecommand",function(Ve){return rn(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 xr={",":"\\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 Z="\\dotso",Y=Ve.expandAfterFuture().text;return Y in xr?Z=xr[Y]:(Y.substr(0,4)==="\\not"||Y in Me.math&&A.contains(["bin","rel"],Me.math[Y].group))&&(Z="\\dotsb"),Z});var Jr={")":!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 Z=Ve.future().text;return Z in Jr?"\\ldots\\,":"\\ldots"}),ye("\\dotsc",function(Ve){var Z=Ve.future().text;return Z in Jr&&Z!==","?"\\ldots\\,":"\\ldots"}),ye("\\cdots",function(Ve){var Z=Ve.future().text;return Z in Jr?"\\@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 Dn=Kt["Main-Regular"][84][1]-.7*Kt["Main-Regular"][65][1]+"em";ye("\\LaTeX","\\textrm{\\html@mathml{"+("L\\kern-.36em\\raisebox{"+Dn+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{LaTeX}}"),ye("\\KaTeX","\\textrm{\\html@mathml{"+("K\\kern-.17em\\raisebox{"+Dn+"}{\\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 si={"\\relax":!0,"^":!0,_:!0,"\\limits":!0,"\\nolimits":!0},Vi=function(){function Ve(Y,te,de){this.settings=void 0,this.expansionCount=void 0,this.lexer=void 0,this.macros=void 0,this.stack=void 0,this.mode=void 0,this.settings=te,this.expansionCount=0,this.feed(Y),this.macros=new us(La,te.macros),this.mode=de,this.stack=[]}var Z=Ve.prototype;return Z.feed=function(te){this.lexer=new ga(te,this.settings)},Z.switchMode=function(te){this.mode=te},Z.beginGroup=function(){this.macros.beginGroup()},Z.endGroup=function(){this.macros.endGroup()},Z.future=function(){return this.stack.length===0&&this.pushToken(this.lexer.lex()),this.stack[this.stack.length-1]},Z.popToken=function(){return this.future(),this.stack.pop()},Z.pushToken=function(te){this.stack.push(te)},Z.pushTokens=function(te){var de;(de=this.stack).push.apply(de,te)},Z.consumeSpaces=function(){for(;;){var te=this.future();if(te.text===" ")this.stack.pop();else break}},Z.consumeArgs=function(te){for(var de=[],Ae=0;Ae<te;++Ae){this.consumeSpaces();var Ke=this.popToken();if(Ke.text==="{"){for(var Ct=[],Ut=1;Ut!==0;){var nr=this.popToken();if(Ct.push(nr),nr.text==="{")++Ut;else if(nr.text==="}")--Ut;else if(nr.text==="EOF")throw new o("End of input in macro argument",Ke)}Ct.pop(),Ct.reverse(),de[Ae]=Ct}else{if(Ke.text==="EOF")throw new o("End of input expecting macro argument");de[Ae]=[Ke]}}return de},Z.expandOnce=function(){var te=this.popToken(),de=te.text,Ae=this._getExpansion(de);if(Ae==null)return this.pushToken(te),te;if(this.expansionCount++,this.expansionCount>this.settings.maxExpand)throw new o("Too many expansions: infinite loop or need to increase maxExpand setting");var Ke=Ae.tokens;if(Ae.numArgs){var Ct=this.consumeArgs(Ae.numArgs);Ke=Ke.slice();for(var Ut=Ke.length-1;Ut>=0;--Ut){var nr=Ke[Ut];if(nr.text==="#"){if(Ut===0)throw new o("Incomplete placeholder at end of macro body",nr);if(nr=Ke[--Ut],nr.text==="#")Ke.splice(Ut+1,1);else if(/^[1-9]$/.test(nr.text)){var It;(It=Ke).splice.apply(It,[Ut,2].concat(Ct[+nr.text-1]))}else throw new o("Not a valid argument number",nr)}}}return this.pushTokens(Ke),Ke},Z.expandAfterFuture=function(){return this.expandOnce(),this.future()},Z.expandNextToken=function(){for(;;){var te=this.expandOnce();if(te instanceof c)if(te.text==="\\relax")this.stack.pop();else return this.stack.pop()}throw new Error},Z.expandMacro=function(te){if(this.macros.get(te)){var de=[],Ae=this.stack.length;for(this.pushToken(new c(te));this.stack.length>Ae;){var Ke=this.expandOnce();Ke instanceof c&&de.push(this.stack.pop())}return de}},Z.expandMacroAsText=function(te){var de=this.expandMacro(te);return de&&de.map(function(Ae){return Ae.text}).join("")},Z._getExpansion=function(te){var de=this.macros.get(te);if(de==null)return de;var Ae=typeof de=="function"?de(this):de;if(typeof Ae=="string"){var Ke=0;if(Ae.indexOf("#")!==-1)for(var Ct=Ae.replace(/##/g,"");Ct.indexOf("#"+(Ke+1))!==-1;)++Ke;for(var Ut=new ga(Ae,this.settings),nr=[],It=Ut.lex();It.text!=="EOF";)nr.push(It),It=Ut.lex();nr.reverse();var Hr={tokens:nr,numArgs:Ke};return Hr}return Ae},Z.isDefined=function(te){return this.macros.has(te)||Ra.hasOwnProperty(te)||Me.math.hasOwnProperty(te)||Me.text.hasOwnProperty(te)||si.hasOwnProperty(te)},Ve}(),jn={"\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"}},Mn={\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"},Vn=function(){function Ve(Y,te){this.mode=void 0,this.gullet=void 0,this.settings=void 0,this.leftrightDepth=void 0,this.nextToken=void 0,this.mode="math",this.gullet=new Vi(Y,te,this.mode),this.settings=te,this.leftrightDepth=0}var Z=Ve.prototype;return Z.expect=function(te,de){if(de===void 0&&(de=!0),this.fetch().text!==te)throw new o("Expected '"+te+"', got '"+this.fetch().text+"'",this.fetch());de&&this.consume()},Z.consume=function(){this.nextToken=null},Z.fetch=function(){return this.nextToken==null&&(this.nextToken=this.gullet.expandNextToken()),this.nextToken},Z.switchMode=function(te){this.mode=te,this.gullet.switchMode(te)},Z.parse=function(){this.gullet.beginGroup(),this.settings.colorIsTextColor&&this.gullet.macros.set("\\color","\\textcolor");var te=this.parseExpression(!1);return this.expect("EOF"),this.gullet.endGroup(),te},Z.parseExpression=function(te,de){for(var Ae=[];;){this.mode==="math"&&this.consumeSpaces();var Ke=this.fetch();if(Ve.endOfExpression.indexOf(Ke.text)!==-1||de&&Ke.text===de||te&&Ra[Ke.text]&&Ra[Ke.text].infix)break;var Ct=this.parseAtom(de);if(!Ct)break;Ae.push(Ct)}return this.mode==="text"&&this.formLigatures(Ae),this.handleInfixNodes(Ae)},Z.handleInfixNodes=function(te){for(var de=-1,Ae,Ke=0;Ke<te.length;Ke++){var Ct=Er(te[Ke],"infix");if(Ct){if(de!==-1)throw new o("only one infix operator per group",Ct.token);de=Ke,Ae=Ct.replaceWith}}if(de!==-1&&Ae){var Ut,nr,It=te.slice(0,de),Hr=te.slice(de+1);It.length===1&&It[0].type==="ordgroup"?Ut=It[0]:Ut={type:"ordgroup",mode:this.mode,body:It},Hr.length===1&&Hr[0].type==="ordgroup"?nr=Hr[0]:nr={type:"ordgroup",mode:this.mode,body:Hr};var un;return Ae==="\\\\abovefrac"?un=this.callFunction(Ae,[Ut,te[de],nr],[]):un=this.callFunction(Ae,[Ut,nr],[]),[un]}else return te},Z.handleSupSubscript=function(te){var de=this.fetch(),Ae=de.text;this.consume();var Ke=this.parseGroup(te,!1,Ve.SUPSUB_GREEDINESS,void 0,void 0,!0);if(!Ke)throw new o("Expected group after '"+Ae+"'",de);return Ke},Z.formatUnsupportedCmd=function(te){for(var de=[],Ae=0;Ae<te.length;Ae++)de.push({type:"textord",mode:"text",text:te[Ae]});var Ke={type:"text",mode:this.mode,body:de},Ct={type:"color",mode:this.mode,color:this.settings.errorColor,body:[Ke]};return Ct},Z.parseAtom=function(te){var de=this.parseGroup("atom",!1,null,te);if(this.mode==="text")return de;for(var Ae,Ke;;){this.consumeSpaces();var Ct=this.fetch();if(Ct.text==="\\limits"||Ct.text==="\\nolimits"){var Ut=Er(de,"op");if(Ut){var nr=Ct.text==="\\limits";Ut.limits=nr,Ut.alwaysHandleSupSub=!0}else if(Ut=Er(de,"operatorname"),Ut&&Ut.alwaysHandleSupSub){var It=Ct.text==="\\limits";Ut.limits=It}else throw new o("Limit controls must follow a math operator",Ct);this.consume()}else if(Ct.text==="^"){if(Ae)throw new o("Double superscript",Ct);Ae=this.handleSupSubscript("superscript")}else if(Ct.text==="_"){if(Ke)throw new o("Double subscript",Ct);Ke=this.handleSupSubscript("subscript")}else if(Ct.text==="'"){if(Ae)throw new o("Double superscript",Ct);var Hr={type:"textord",mode:this.mode,text:"\\prime"},un=[Hr];for(this.consume();this.fetch().text==="'";)un.push(Hr),this.consume();this.fetch().text==="^"&&un.push(this.handleSupSubscript("superscript")),Ae={type:"ordgroup",mode:this.mode,body:un}}else break}return Ae||Ke?{type:"supsub",mode:this.mode,base:de,sup:Ae,sub:Ke}:de},Z.parseFunction=function(te,de,Ae){var Ke=this.fetch(),Ct=Ke.text,Ut=Ra[Ct];if(!Ut)return null;if(this.consume(),Ae!=null&&Ut.greediness<=Ae)throw new o("Got function '"+Ct+"' with no arguments"+(de?" as "+de:""),Ke);if(this.mode==="text"&&!Ut.allowedInText)throw new o("Can't use function '"+Ct+"' in text mode",Ke);if(this.mode==="math"&&Ut.allowedInMath===!1)throw new o("Can't use function '"+Ct+"' in math mode",Ke);var nr=this.parseArguments(Ct,Ut),It=nr.args,Hr=nr.optArgs;return this.callFunction(Ct,It,Hr,Ke,te)},Z.callFunction=function(te,de,Ae,Ke,Ct){var Ut={funcName:te,parser:this,token:Ke,breakOnTokenText:Ct},nr=Ra[te];if(nr&&nr.handler)return nr.handler(Ut,de,Ae);throw new o("No function handler for "+te)},Z.parseArguments=function(te,de){var Ae=de.numArgs+de.numOptionalArgs;if(Ae===0)return{args:[],optArgs:[]};for(var Ke=de.greediness,Ct=[],Ut=[],nr=0;nr<Ae;nr++){var It=de.argTypes&&de.argTypes[nr],Hr=nr<de.numOptionalArgs,un=nr>0&&!Hr||nr===0&&!Hr&&this.mode==="math",Pn=this.parseGroupOfType("argument to '"+te+"'",It,Hr,Ke,un);if(!Pn){if(Hr){Ut.push(null);continue}throw new o("Expected group after '"+te+"'",this.fetch())}(Hr?Ut:Ct).push(Pn)}return{args:Ct,optArgs:Ut}},Z.parseGroupOfType=function(te,de,Ae,Ke,Ct){switch(de){case"color":return Ct&&this.consumeSpaces(),this.parseColorGroup(Ae);case"size":return Ct&&this.consumeSpaces(),this.parseSizeGroup(Ae);case"url":return this.parseUrlGroup(Ae,Ct);case"math":case"text":return this.parseGroup(te,Ae,Ke,void 0,de,Ct);case"hbox":{var Ut=this.parseGroup(te,Ae,Ke,void 0,"text",Ct);if(!Ut)return Ut;var nr={type:"styling",mode:Ut.mode,body:[Ut],style:"text"};return nr}case"raw":{if(Ct&&this.consumeSpaces(),Ae&&this.fetch().text==="{")return null;var It=this.parseStringGroup("raw",Ae,!0);if(It)return{type:"raw",mode:"text",string:It.text};throw new o("Expected raw group",this.fetch())}case"original":case null:case void 0:return this.parseGroup(te,Ae,Ke,void 0,void 0,Ct);default:throw new o("Unknown group type as "+te,this.fetch())}},Z.consumeSpaces=function(){for(;this.fetch().text===" ";)this.consume()},Z.parseStringGroup=function(te,de,Ae){var Ke=de?"[":"{",Ct=de?"]":"}",Ut=this.fetch();if(Ut.text!==Ke){if(de)return null;if(Ae&&Ut.text!=="EOF"&&/[^{}[\]]/.test(Ut.text))return this.consume(),Ut}var nr=this.mode;this.mode="text",this.expect(Ke);for(var It="",Hr=this.fetch(),un=0,Pn=Hr,Kn;(Kn=this.fetch()).text!==Ct||Ae&&un>0;){switch(Kn.text){case"EOF":throw new o("Unexpected end of input in "+te,Hr.range(Pn,It));case Ke:un++;break;case Ct:un--;break}Pn=Kn,It+=Pn.text,this.consume()}return this.expect(Ct),this.mode=nr,Hr.range(Pn,It)},Z.parseRegexGroup=function(te,de){var Ae=this.mode;this.mode="text";for(var Ke=this.fetch(),Ct=Ke,Ut="",nr;(nr=this.fetch()).text!=="EOF"&&te.test(Ut+nr.text);)Ct=nr,Ut+=Ct.text,this.consume();if(Ut==="")throw new o("Invalid "+de+": '"+Ke.text+"'",Ke);return this.mode=Ae,Ke.range(Ct,Ut)},Z.parseColorGroup=function(te){var de=this.parseStringGroup("color",te);if(!de)return null;var Ae=/^(#[a-f0-9]{3}|#?[a-f0-9]{6}|[a-z]+)$/i.exec(de.text);if(!Ae)throw new o("Invalid color: '"+de.text+"'",de);var Ke=Ae[0];return/^[0-9a-f]{6}$/i.test(Ke)&&(Ke="#"+Ke),{type:"color-token",mode:this.mode,color:Ke}},Z.parseSizeGroup=function(te){var de,Ae=!1;if(!te&&this.fetch().text!=="{"?de=this.parseRegexGroup(/^[-+]? *(?:$|\d+|\d+\.\d*|\.\d*) *[a-z]{0,2} *$/,"size"):de=this.parseStringGroup("size",te),!de)return null;!te&&de.text.length===0&&(de.text="0pt",Ae=!0);var Ke=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(de.text);if(!Ke)throw new o("Invalid size: '"+de.text+"'",de);var Ct={number:+(Ke[1]+Ke[2]),unit:Ke[3]};if(!Di(Ct))throw new o("Invalid unit: '"+Ct.unit+"'",de);return{type:"size",mode:this.mode,value:Ct,isBlank:Ae}},Z.parseUrlGroup=function(te,de){this.gullet.lexer.setCatcode("%",13);var Ae=this.parseStringGroup("url",te,!0);if(this.gullet.lexer.setCatcode("%",14),!Ae)return null;var Ke=Ae.text.replace(/\\([#$%&~_^{}])/g,"$1");return{type:"url",mode:this.mode,url:Ke}},Z.parseGroup=function(te,de,Ae,Ke,Ct,Ut){var nr=this.mode;Ct&&this.switchMode(Ct),Ut&&this.consumeSpaces();var It=this.fetch(),Hr=It.text,un;if(de?Hr==="[":Hr==="{"||Hr==="\\begingroup"){this.consume();var Pn=Ve.endOfGroup[Hr];this.gullet.beginGroup();var Kn=this.parseExpression(!1,Pn),ei=this.fetch();this.expect(Pn),this.gullet.endGroup(),un={type:"ordgroup",mode:this.mode,loc:l.range(It,ei),body:Kn,semisimple:Hr==="\\begingroup"||void 0}}else if(de)un=null;else if(un=this.parseFunction(Ke,te,Ae)||this.parseSymbol(),un==null&&Hr[0]==="\\"&&!si.hasOwnProperty(Hr)){if(this.settings.throwOnError)throw new o("Undefined control sequence: "+Hr,It);un=this.formatUnsupportedCmd(Hr),this.consume()}return Ct&&this.switchMode(nr),un},Z.formLigatures=function(te){for(var de=te.length-1,Ae=0;Ae<de;++Ae){var Ke=te[Ae],Ct=Ke.text;Ct==="-"&&te[Ae+1].text==="-"&&(Ae+1<de&&te[Ae+2].text==="-"?(te.splice(Ae,3,{type:"textord",mode:"text",loc:l.range(Ke,te[Ae+2]),text:"---"}),de-=2):(te.splice(Ae,2,{type:"textord",mode:"text",loc:l.range(Ke,te[Ae+1]),text:"--"}),de-=1)),(Ct==="'"||Ct==="`")&&te[Ae+1].text===Ct&&(te.splice(Ae,2,{type:"textord",mode:"text",loc:l.range(Ke,te[Ae+1]),text:Ct+Ct}),de-=1)}},Z.parseSymbol=function(){var te=this.fetch(),de=te.text;if(/^\\verb[^a-zA-Z]/.test(de)){this.consume();var Ae=de.slice(5),Ke=Ae.charAt(0)==="*";if(Ke&&(Ae=Ae.slice(1)),Ae.length<2||Ae.charAt(0)!==Ae.slice(-1))throw new o(`\\verb assertion failed --
|
|
|
please report what input caused this bug`);return Ae=Ae.slice(1,-1),{type:"verb",mode:"text",body:Ae,star:Ke}}Mn.hasOwnProperty(de[0])&&!Me[this.mode][de[0]]&&(this.settings.strict&&this.mode==="math"&&this.settings.reportNonstrict("unicodeTextInMathMode",'Accented Unicode text character "'+de[0]+'" used in math mode',te),de=Mn[de[0]]+de.substr(1));var Ct=_s.exec(de);Ct&&(de=de.substring(0,Ct.index),de==="i"?de="\u0131":de==="j"&&(de="\u0237"));var Ut;if(Me[this.mode][de]){this.settings.strict&&this.mode==="math"&&nn.indexOf(de)>=0&&this.settings.reportNonstrict("unicodeTextInMathMode",'Latin-1/Unicode text character "'+de[0]+'" used in math mode',te);var nr=Me[this.mode][de].group,It=l.range(te),Hr;if($t.hasOwnProperty(nr)){var un=nr;Hr={type:"atom",mode:this.mode,family:un,loc:It,text:de}}else Hr={type:nr,mode:this.mode,loc:It,text:de};Ut=Hr}else if(de.charCodeAt(0)>=128)this.settings.strict&&(Pe(de.charCodeAt(0))?this.mode==="math"&&this.settings.reportNonstrict("unicodeTextInMathMode",'Unicode text character "'+de[0]+'" used in math mode',te):this.settings.reportNonstrict("unknownSymbol",'Unrecognized Unicode character "'+de[0]+'"'+(" ("+de.charCodeAt(0)+")"),te)),Ut={type:"textord",mode:"text",loc:l.range(te),text:de};else return null;if(this.consume(),Ct)for(var Pn=0;Pn<Ct[0].length;Pn++){var Kn=Ct[0][Pn];if(!jn[Kn])throw new o("Unknown accent ' "+Kn+"'",te);var ei=jn[Kn][this.mode];if(!ei)throw new o("Accent "+Kn+" unsupported in "+this.mode+" mode",te);Ut={type:"accent",mode:this.mode,loc:l.range(te),label:ei,isStretchy:!1,isShifty:!0,base:Ut}}return Ut},Ve}();Vn.endOfExpression=["}","\\endgroup","\\end","\\right","&"],Vn.endOfGroup={"[":"]","{":"}","\\begingroup":"\\endgroup"},Vn.SUPSUB_GREEDINESS=1;var ba=function(Z,Y){if(!(typeof Z=="string"||Z instanceof String))throw new TypeError("KaTeX can only parse string typed expression");var te=new Vn(Z,Y);delete te.gullet.macros.current["\\df@tag"];var de=te.parse();if(te.gullet.macros.get("\\df@tag")){if(!Y.displayMode)throw new o("\\tag works only in display equations");te.gullet.feed("\\df@tag"),de=[{type:"tag",mode:"text",body:de,tag:te.parse()}]}return de},ia=ba,No=function(Z,Y,te){Y.textContent="";var de=ul(Z,te).toNode();Y.appendChild(de)};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."),No=function(){throw new o("KaTeX doesn't work in quirks mode.")});var To=function(Z,Y){var te=ul(Z,Y).toMarkup();return te},yu=function(Z,Y){var te=new P(Y);return ia(Z,te)},Ml=function(Z,Y,te){if(te.throwOnError||!(Z instanceof o))throw Z;var de=at.makeSpan(["katex-error"],[new Se(Y)]);return de.setAttribute("title",Z.toString()),de.setAttribute("style","color:"+te.errorColor),de},ul=function(Z,Y){var te=new P(Y);try{var de=ia(Z,te);return Ko(de,Z,te)}catch(Ae){return Ml(Ae,Z,te)}},bu=function(Z,Y){var te=new P(Y);try{var de=ia(Z,te);return Yo(de,Z,te)}catch(Ae){return Ml(Ae,Z,te)}},_f={version:"0.11.1",render:No,renderToString:To,ParseError:o,__parse:yu,__renderToDomTree:ul,__renderToHTMLTree:bu,__setFontMetrics:Je,__defineSymbol:ce,__defineMacro:ye,__domTree:{Span:dt,Anchor:et,SymbolNode:Se,SvgNode:Le,PathNode:$e,LineNode:We}},el=e.default=_f}]).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 P in x)(p||u.call(x,P))&&!(k&&(P=="length"||b&&(P=="offset"||P=="parent")||S&&(P=="buffer"||P=="byteLength"||P=="byteOffset")||f(P,A)))&&R.push(P);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]",P="[object Float32Array]",M="[object Float64Array]",B="[object Int8Array]",N="[object Int16Array]",K="[object Int32Array]",G="[object Uint8Array]",H="[object Uint8ClampedArray]",ae="[object Uint16Array]",ne="[object Uint32Array]",oe={};oe[P]=oe[M]=oe[B]=oe[N]=oe[K]=oe[G]=oe[H]=oe[ae]=oe[ne]=!0,oe[c]=oe[f]=oe[R]=oe[o]=oe[A]=oe[h]=oe[u]=oe[a]=oe[x]=oe[p]=oe[y]=oe[_]=oe[b]=oe[S]=oe[k]=!1;function q(J){return l(J)&&i(J.length)&&!!oe[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,P,M,B,N,K){var G=b(R,P),H=b(A,P),ae=K.get(H);if(ae){r(R,P,ae);return}var ne=N?N(G,H,P+"",R,A,K):void 0,oe=ne===void 0;if(oe){var q=h(H),J=!q&&a(H),V=!q&&!J&&_(H);ne=H,q||J||V?h(G)?ne=G:u(G)?ne=c(G):J?(oe=!1,ne=i(H,!0)):V?(oe=!1,ne=l(H,!0)):ne=[]:y(H)||o(H)?(ne=G,o(G)?ne=S(G):(!p(G)||x(G))&&(ne=f(H))):oe=!1}oe&&(K.set(H,ne),B(ne,H,M,N,K),K.delete(H)),r(R,P,ne)}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,P=8,M=16,B=32,N=64,K=128,G=256,H=512,ae=30,ne="...",oe=800,q=16,J=1,V=2,se=3,ee=1/0,Q=9007199254740991,ue=17976931348623157e292,U=NaN,$=4294967295,ie=$-1,_e=$>>>1,Pe=[["ary",K],["bind",k],["bindKey",R],["curry",P],["curryRight",M],["flip",H],["partial",B],["partialRight",N],["rearg",G]],De="[object Arguments]",He="[object Array]",Ne="[object AsyncFunction]",Ft="[object Boolean]",gt="[object Date]",Dt="[object DOMException]",rr="[object Error]",Xt="[object Function]",fr="[object GeneratorFunction]",Ge="[object Map]",Tt="[object Number]",zt="[object Null]",nt="[object Object]",bt="[object Promise]",dt="[object Proxy]",et="[object RegExp]",ze="[object Set]",ge="[object String]",Se="[object Symbol]",Le="[object Undefined]",$e="[object WeakMap]",We="[object WeakSet]",rt="[object ArrayBuffer]",ot="[object DataView]",Kt="[object Float32Array]",Wt="[object Float64Array]",Ce="[object Int8Array]",Je="[object Int16Array]",Yt="[object Int32Array]",kt="[object Uint8Array]",Ht="[object Uint8ClampedArray]",$t="[object Uint16Array]",tr="[object Uint32Array]",Gt=/\b__p \+= '';/g,Me=/\b(__p \+=) '' \+/g,ce=/(__e\(.*?\)|\b__t\)) \+\n'';/g,he=/&(?:amp|lt|gt|quot|#39);/g,Pt=/[&<>"']/g,Te=RegExp(he.source),ct=RegExp(Pt.source),Zt=/<%-([\s\S]+?)%>/g,wt=/<%([\s\S]+?)%>/g,Ie=/<%=([\s\S]+?)%>/g,xt=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,be=/^\w*$/,Ye=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,mt=/[\\^$.*+?()[\]{}|]/g,Lt=RegExp(mt.source),Fe=/^\s+/,Or=/\s/,St=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,Vr=/\{\n\/\* \[wrapped with (.+)\] \*/,tn=/,? & /,wr=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,Nr=/[()=,{}\[\]\/\s]/,gr=/\\(\\)?/g,Ur=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,cn=/\w*$/,hn=/^[-+]0x[0-9a-f]+$/i,ur=/^0b[01]+$/i,Rt=/^\[object .+?Constructor\]$/,_t=/^0o[0-7]+$/i,vt=/^(?:0|[1-9]\d*)$/,jt=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Cr=/($^)/,yr=/['\n\r\u2028\u2029\\]/g,nn="\\ud800-\\udfff",Kr="\\u0300-\\u036f",Ln="\\ufe20-\\ufe2f",At="\\u20d0-\\u20ff",cr=Kr+Ln+At,Qr="\\u2700-\\u27bf",yn="a-z\\xdf-\\xf6\\xf8-\\xff",Gn="\\xac\\xb1\\xd7\\xf7",fi="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",Xn="\\u2000-\\u206f",Ki=" \\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",hi="A-Z\\xc0-\\xd6\\xd8-\\xde",bi="\\ufe0e\\ufe0f",Di=Gn+fi+Xn+Ki,wi="['\u2019]",fa="["+nn+"]",ri="["+Di+"]",la="["+cr+"]",Et="\\d+",it="["+Qr+"]",ni="["+yn+"]",Oi="[^"+nn+Di+Et+Qr+yn+hi+"]",ii="\\ud83c[\\udffb-\\udfff]",sa="(?:"+la+"|"+ii+")",Ti="[^"+nn+"]",ci="(?:\\ud83c[\\udde6-\\uddff]){2}",An="[\\ud800-\\udbff][\\udc00-\\udfff]",er="["+hi+"]",pt="\\u200d",tt="(?:"+ni+"|"+Oi+")",Ot="(?:"+er+"|"+Oi+")",ft="(?:"+wi+"(?:d|ll|m|re|s|t|ve))?",lr="(?:"+wi+"(?:D|LL|M|RE|S|T|VE))?",dr=sa+"?",Pr="["+bi+"]?",zr="(?:"+pt+"(?:"+[Ti,ci,An].join("|")+")"+Pr+dr+")*",Ze="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",qe="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",xe=Pr+dr+zr,at="(?:"+[it,ci,An].join("|")+")"+xe,ar="(?:"+[Ti+la+"?",la,ci,An,fa].join("|")+")",Er=RegExp(wi,"g"),kr=RegExp(la,"g"),Ir=RegExp(ii+"(?="+ii+")|"+ar+xe,"g"),jr=RegExp([er+"?"+ni+"+"+ft+"(?="+[ri,er,"$"].join("|")+")",Ot+"+"+lr+"(?="+[ri,er+tt,"$"].join("|")+")",er+"?"+tt+"+"+ft,er+"+"+lr,qe,Ze,Et,at].join("|"),"g"),wn=RegExp("["+pt+nn+cr+bi+"]"),Sr=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,pn=["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"],on=-1,dn={};dn[Kt]=dn[Wt]=dn[Ce]=dn[Je]=dn[Yt]=dn[kt]=dn[Ht]=dn[$t]=dn[tr]=!0,dn[De]=dn[He]=dn[rt]=dn[Ft]=dn[ot]=dn[gt]=dn[rr]=dn[Xt]=dn[Ge]=dn[Tt]=dn[nt]=dn[et]=dn[ze]=dn[ge]=dn[$e]=!1;var In={};In[De]=In[He]=In[rt]=In[ot]=In[Ft]=In[gt]=In[Kt]=In[Wt]=In[Ce]=In[Je]=In[Yt]=In[Ge]=In[Tt]=In[nt]=In[et]=In[ze]=In[ge]=In[Se]=In[kt]=In[Ht]=In[$t]=In[tr]=!0,In[rr]=In[Xt]=In[$e]=!1;var Ia={\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"},Ni={"&":"&","<":"<",">":">",'"':""","'":"'"},gi={"&":"&","<":"<",">":">",""":'"',"'":"'"},En={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},pi=parseFloat,Qi=parseInt,Ea=typeof e.g=="object"&&e.g&&e.g.Object===Object&&e.g,Vs=typeof self=="object"&&self&&self.Object===Object&&self,wa=Ea||Vs||Function("return this")(),Fs=v&&!v.nodeType&&v,Ks=Fs&&!0&&d&&!d.nodeType&&d,es=Ks&&Ks.exports===Fs,Hs=es&&Ea.process,Jn=function(){try{var hr=Ks&&Ks.require&&Ks.require("util").types;return hr||Hs&&Hs.binding&&Hs.binding("util")}catch(Br){}}(),ws=Jn&&Jn.isArrayBuffer,fs=Jn&&Jn.isDate,Ys=Jn&&Jn.isMap,ea=Jn&&Jn.isRegExp,Bs=Jn&&Jn.isSet,Vo=Jn&&Jn.isTypedArray;function Ka(hr,Br,Rr){switch(Rr.length){case 0:return hr.call(Br);case 1:return hr.call(Br,Rr[0]);case 2:return hr.call(Br,Rr[0],Rr[1]);case 3:return hr.call(Br,Rr[0],Rr[1],Rr[2])}return hr.apply(Br,Rr)}function va(hr,Br,Rr,Cn){for(var Tn=-1,ht=hr==null?0:hr.length;++Tn<ht;){var $n=hr[Tn];Br(Cn,$n,Rr($n),hr)}return Cn}function is(hr,Br){for(var Rr=-1,Cn=hr==null?0:hr.length;++Rr<Cn&&Br(hr[Rr],Rr,hr)!==!1;);return hr}function mo(hr,Br){for(var Rr=hr==null?0:hr.length;Rr--&&Br(hr[Rr],Rr,hr)!==!1;);return hr}function Nn(hr,Br){for(var Rr=-1,Cn=hr==null?0:hr.length;++Rr<Cn;)if(!Br(hr[Rr],Rr,hr))return!1;return!0}function ts(hr,Br){for(var Rr=-1,Cn=hr==null?0:hr.length,Tn=0,ht=[];++Rr<Cn;){var $n=hr[Rr];Br($n,Rr,hr)&&(ht[Tn++]=$n)}return ht}function Ps(hr,Br){var Rr=hr==null?0:hr.length;return!!Rr&&Ao(hr,Br,0)>-1}function Is(hr,Br,Rr){for(var Cn=-1,Tn=hr==null?0:hr.length;++Cn<Tn;)if(Rr(Br,hr[Cn]))return!0;return!1}function Yi(hr,Br){for(var Rr=-1,Cn=hr==null?0:hr.length,Tn=Array(Cn);++Rr<Cn;)Tn[Rr]=Br(hr[Rr],Rr,hr);return Tn}function Xa(hr,Br){for(var Rr=-1,Cn=Br.length,Tn=hr.length;++Rr<Cn;)hr[Tn+Rr]=Br[Rr];return hr}function Ha(hr,Br,Rr,Cn){var Tn=-1,ht=hr==null?0:hr.length;for(Cn&&ht&&(Rr=hr[++Tn]);++Tn<ht;)Rr=Br(Rr,hr[Tn],Tn,hr);return Rr}function Rs(hr,Br,Rr,Cn){var Tn=hr==null?0:hr.length;for(Cn&&Tn&&(Rr=hr[--Tn]);Tn--;)Rr=Br(Rr,hr[Tn],Tn,hr);return Rr}function vo(hr,Br){for(var Rr=-1,Cn=hr==null?0:hr.length;++Rr<Cn;)if(Br(hr[Rr],Rr,hr))return!0;return!1}var zo=xi("length");function Ko(hr){return hr.split("")}function Yo(hr){return hr.match(wr)||[]}function rs(hr,Br,Rr){var Cn;return Rr(hr,function(Tn,ht,$n){if(Br(Tn,ht,$n))return Cn=ht,!1}),Cn}function vs(hr,Br,Rr,Cn){for(var Tn=hr.length,ht=Rr+(Cn?1:-1);Cn?ht--:++ht<Tn;)if(Br(hr[ht],ht,hr))return ht;return-1}function Ao(hr,Br,Rr){return Br===Br?qt(hr,Br,Rr):vs(hr,Lo,Rr)}function Zo(hr,Br,Rr,Cn){for(var Tn=Rr-1,ht=hr.length;++Tn<ht;)if(Cn(hr[Tn],Br))return Tn;return-1}function Lo(hr){return hr!==hr}function Xo(hr,Br){var Rr=hr==null?0:hr.length;return Rr?ss(hr,Br)/Rr:U}function xi(hr){return function(Br){return Br==null?i:Br[hr]}}function _i(hr){return function(Br){return hr==null?i:hr[Br]}}function as(hr,Br,Rr,Cn,Tn){return Tn(hr,function(ht,$n,Wn){Rr=Cn?(Cn=!1,ht):Br(Rr,ht,$n,Wn)}),Rr}function ds(hr,Br){var Rr=hr.length;for(hr.sort(Br);Rr--;)hr[Rr]=hr[Rr].value;return hr}function ss(hr,Br){for(var Rr,Cn=-1,Tn=hr.length;++Cn<Tn;){var ht=Br(hr[Cn]);ht!==i&&(Rr=Rr===i?ht:Rr+ht)}return Rr}function go(hr,Br){for(var Rr=-1,Cn=Array(hr);++Rr<hr;)Cn[Rr]=Br(Rr);return Cn}function Ho(hr,Br){return Yi(Br,function(Rr){return[Rr,hr[Rr]]})}function du(hr){return hr&&hr.slice(0,Tr(hr)+1).replace(Fe,"")}function Ls(hr){return function(Br){return hr(Br)}}function tu(hr,Br){return Yi(Br,function(Rr){return hr[Rr]})}function hu(hr,Br){return hr.has(Br)}function Iu(hr,Br){for(var Rr=-1,Cn=hr.length;++Rr<Cn&&Ao(Br,hr[Rr],0)>-1;);return Rr}function Mo(hr,Br){for(var Rr=hr.length;Rr--&&Ao(Br,hr[Rr],0)>-1;);return Rr}function Ju(hr,Br){for(var Rr=hr.length,Cn=0;Rr--;)hr[Rr]===Br&&++Cn;return Cn}var Fo=_i(Ia),_o=_i(Ni);function gu(hr){return"\\"+En[hr]}function Bu(hr,Br){return hr==null?i:hr[Br]}function Oo(hr){return wn.test(hr)}function Bo(hr){return Sr.test(hr)}function Du(hr){for(var Br,Rr=[];!(Br=hr.next()).done;)Rr.push(Br.value);return Rr}function Qo(hr){var Br=-1,Rr=Array(hr.size);return hr.forEach(function(Cn,Tn){Rr[++Br]=[Tn,Cn]}),Rr}function ru(hr,Br){return function(Rr){return hr(Br(Rr))}}function Ds(hr,Br){for(var Rr=-1,Cn=hr.length,Tn=0,ht=[];++Rr<Cn;){var $n=hr[Rr];($n===Br||$n===x)&&(hr[Rr]=x,ht[Tn++]=Rr)}return ht}function Wo(hr){var Br=-1,Rr=Array(hr.size);return hr.forEach(function(Cn){Rr[++Br]=Cn}),Rr}function Nu(hr){var Br=-1,Rr=Array(hr.size);return hr.forEach(function(Cn){Rr[++Br]=[Cn,Cn]}),Rr}function qt(hr,Br,Rr){for(var Cn=Rr-1,Tn=hr.length;++Cn<Tn;)if(hr[Cn]===Br)return Cn;return-1}function _r(hr,Br,Rr){for(var Cn=Rr+1;Cn--;)if(hr[Cn]===Br)return Cn;return Cn}function or(hr){return Oo(hr)?Zn(hr):zo(hr)}function mr(hr){return Oo(hr)?kn(hr):Ko(hr)}function Tr(hr){for(var Br=hr.length;Br--&&Or.test(hr.charAt(Br)););return Br}var gn=_i(gi);function Zn(hr){for(var Br=Ir.lastIndex=0;Ir.test(hr);)++Br;return Br}function kn(hr){return hr.match(Ir)||[]}function Hn(hr){return hr.match(jr)||[]}var li=function hr(Br){Br=Br==null?wa:oi.defaults(wa.Object(),Br,oi.pick(wa,pn));var Rr=Br.Array,Cn=Br.Date,Tn=Br.Error,ht=Br.Function,$n=Br.Math,Wn=Br.Object,Li=Br.RegExp,ta=Br.String,Jt=Br.TypeError,oa=Rr.prototype,qi=ht.prototype,Ta=Wn.prototype,gs=Br["__core-js_shared__"],Ns=qi.toString,$i=Ta.hasOwnProperty,Co=0,oo=function(){var w=/[^.]+$/.exec(gs&&gs.keys&&gs.keys.IE_PROTO||"");return w?"Symbol(src)_1."+w:""}(),Ms=Ta.toString,Fa=Ns.call(Wn),Os=wa._,yo=Li("^"+Ns.call($i).replace(mt,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),zn=es?Br.Buffer:i,Ws=Br.Symbol,uo=Br.Uint8Array,Xe=zn?zn.allocUnsafe:i,Qe=ru(Wn.getPrototypeOf,Wn),Mt=Wn.create,Vt=Ta.propertyIsEnumerable,br=oa.splice,Mr=Ws?Ws.isConcatSpreadable:i,Zr=Ws?Ws.iterator:i,bn=Ws?Ws.toStringTag:i,ln=function(){try{var w=Ga(Wn,"defineProperty");return w({},"",{}),w}catch(F){}}(),xn=Br.clearTimeout!==wa.clearTimeout&&Br.clearTimeout,ai=Cn&&Cn.now!==wa.Date.now&&Cn.now,ui=Br.setTimeout!==wa.setTimeout&&Br.setTimeout,Pi=$n.ceil,Mi=$n.floor,ra=Wn.getOwnPropertySymbols,Xi=zn?zn.isBuffer:i,ki=Br.isFinite,Da=oa.join,Ri=ru(Wn.keys,Wn),Si=$n.max,Sa=$n.min,bo=Cn.now,Gs=Br.parseInt,na=$n.random,Qa=oa.reverse,pa=Ga(Br,"DataView"),Hi=Ga(Br,"Map"),Ra=Ga(Br,"Promise"),qa=Ga(Br,"Set"),hs=Ga(Br,"WeakMap"),xo=Ga(Wn,"create"),ps=hs&&new hs,ko={},os=Ca(pa),_s=Ca(Hi),ks=Ca(Ra),ga=Ca(qa),us=Ca(hs),$s=Ws?Ws.prototype:i,La=$s?$s.valueOf:i,ye=$s?$s.toString:i;function we(w){if(Pu(w)&&!Ja(w)&&!(w instanceof Jr)){if(w instanceof xr)return w;if($i.call(w,"__wrapped__"))return As(w)}return new xr(w)}var Ar=function(){function w(){}return function(F){if(!vu(F))return{};if(Mt)return Mt(F);w.prototype=F;var fe=new w;return w.prototype=i,fe}}();function rn(){}function xr(w,F){this.__wrapped__=w,this.__actions__=[],this.__chain__=!!F,this.__index__=0,this.__values__=i}we.templateSettings={escape:Zt,evaluate:wt,interpolate:Ie,variable:"",imports:{_:we}},we.prototype=rn.prototype,we.prototype.constructor=we,xr.prototype=Ar(rn.prototype),xr.prototype.constructor=xr;function Jr(w){this.__wrapped__=w,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=$,this.__views__=[]}function Dn(){var w=new Jr(this.__wrapped__);return w.__actions__=uu(this.__actions__),w.__dir__=this.__dir__,w.__filtered__=this.__filtered__,w.__iteratees__=uu(this.__iteratees__),w.__takeCount__=this.__takeCount__,w.__views__=uu(this.__views__),w}function si(){if(this.__filtered__){var w=new Jr(this);w.__dir__=-1,w.__filtered__=!0}else w=this.clone(),w.__dir__*=-1;return w}function Vi(){var w=this.__wrapped__.value(),F=this.__dir__,fe=Ja(w),Be=F<0,yt=fe?w.length:0,Qt=Mc(0,yt,this.__views__),vr=Qt.start,Lr=Qt.end,Xr=Lr-vr,Fn=Be?Lr:vr-1,Bn=this.__iteratees__,qn=Bn.length,Bi=0,ma=Sa(Xr,this.__takeCount__);if(!fe||!Be&&yt==Xr&&ma==Xr)return bf(w,this.__actions__);var Ua=[];e:for(;Xr--&&Bi<ma;){Fn+=F;for(var Ts=-1,za=w[Fn];++Ts<qn;){var Zs=Bn[Ts],Js=Zs.iteratee,Ec=Zs.type,Ll=Js(za);if(Ec==V)za=Ll;else if(!Ll){if(Ec==J)continue e;break e}}Ua[Bi++]=za}return Ua}Jr.prototype=Ar(rn.prototype),Jr.prototype.constructor=Jr;function jn(w){var F=-1,fe=w==null?0:w.length;for(this.clear();++F<fe;){var Be=w[F];this.set(Be[0],Be[1])}}function Mn(){this.__data__=xo?xo(null):{},this.size=0}function Vn(w){var F=this.has(w)&&delete this.__data__[w];return this.size-=F?1:0,F}function ba(w){var F=this.__data__;if(xo){var fe=F[w];return fe===u?i:fe}return $i.call(F,w)?F[w]:i}function ia(w){var F=this.__data__;return xo?F[w]!==i:$i.call(F,w)}function No(w,F){var fe=this.__data__;return this.size+=this.has(w)?0:1,fe[w]=xo&&F===i?u:F,this}jn.prototype.clear=Mn,jn.prototype.delete=Vn,jn.prototype.get=ba,jn.prototype.has=ia,jn.prototype.set=No;function To(w){var F=-1,fe=w==null?0:w.length;for(this.clear();++F<fe;){var Be=w[F];this.set(Be[0],Be[1])}}function yu(){this.__data__=[],this.size=0}function Ml(w){var F=this.__data__,fe=ns(F,w);if(fe<0)return!1;var Be=F.length-1;return fe==Be?F.pop():br.call(F,fe,1),--this.size,!0}function ul(w){var F=this.__data__,fe=ns(F,w);return fe<0?i:F[fe][1]}function bu(w){return ns(this.__data__,w)>-1}function _f(w,F){var fe=this.__data__,Be=ns(fe,w);return Be<0?(++this.size,fe.push([w,F])):fe[Be][1]=F,this}To.prototype.clear=yu,To.prototype.delete=Ml,To.prototype.get=ul,To.prototype.has=bu,To.prototype.set=_f;function el(w){var F=-1,fe=w==null?0:w.length;for(this.clear();++F<fe;){var Be=w[F];this.set(Be[0],Be[1])}}function Ve(){this.size=0,this.__data__={hash:new jn,map:new(Hi||To),string:new jn}}function Z(w){var F=ji(this,w).delete(w);return this.size-=F?1:0,F}function Y(w){return ji(this,w).get(w)}function te(w){return ji(this,w).has(w)}function de(w,F){var fe=ji(this,w),Be=fe.size;return fe.set(w,F),this.size+=fe.size==Be?0:1,this}el.prototype.clear=Ve,el.prototype.delete=Z,el.prototype.get=Y,el.prototype.has=te,el.prototype.set=de;function Ae(w){var F=-1,fe=w==null?0:w.length;for(this.__data__=new el;++F<fe;)this.add(w[F])}function Ke(w){return this.__data__.set(w,u),this}function Ct(w){return this.__data__.has(w)}Ae.prototype.add=Ae.prototype.push=Ke,Ae.prototype.has=Ct;function Ut(w){var F=this.__data__=new To(w);this.size=F.size}function nr(){this.__data__=new To,this.size=0}function It(w){var F=this.__data__,fe=F.delete(w);return this.size=F.size,fe}function Hr(w){return this.__data__.get(w)}function un(w){return this.__data__.has(w)}function Pn(w,F){var fe=this.__data__;if(fe instanceof To){var Be=fe.__data__;if(!Hi||Be.length<c-1)return Be.push([w,F]),this.size=++fe.size,this;fe=this.__data__=new el(Be)}return fe.set(w,F),this.size=fe.size,this}Ut.prototype.clear=nr,Ut.prototype.delete=It,Ut.prototype.get=Hr,Ut.prototype.has=un,Ut.prototype.set=Pn;function Kn(w,F){var fe=Ja(w),Be=!fe&&jf(w),yt=!fe&&!Be&&Vf(w),Qt=!fe&&!Be&&!yt&&td(w),vr=fe||Be||yt||Qt,Lr=vr?go(w.length,ta):[],Xr=Lr.length;for(var Fn in w)(F||$i.call(w,Fn))&&!(vr&&(Fn=="length"||yt&&(Fn=="offset"||Fn=="parent")||Qt&&(Fn=="buffer"||Fn=="byteLength"||Fn=="byteOffset")||so(Fn,Xr)))&&Lr.push(Fn);return Lr}function ei(w){var F=w.length;return F?w[Wu(0,F-1)]:i}function Fi(w,F){return Wi(uu(w),Xs(F,0,w.length))}function Pa(w){return Wi(uu(w))}function xa(w,F,fe){(fe!==i&&!ic(w[F],fe)||fe===i&&!(F in w))&&ha(w,F,fe)}function Aa(w,F,fe){var Be=w[F];(!($i.call(w,F)&&ic(Be,fe))||fe===i&&!(F in w))&&ha(w,F,fe)}function ns(w,F){for(var fe=w.length;fe--;)if(ic(w[fe][0],F))return fe;return-1}function ys(w,F,fe,Be){return to(w,function(yt,Qt,vr){F(Be,yt,fe(yt),vr)}),Be}function js(w,F){return w&&Yu(F,ol(F),w)}function ls(w,F){return w&&Yu(F,ac(F),w)}function ha(w,F,fe){F=="__proto__"&&ln?ln(w,F,{configurable:!0,enumerable:!0,value:fe,writable:!0}):w[F]=fe}function io(w,F){for(var fe=-1,Be=F.length,yt=Rr(Be),Qt=w==null;++fe<Be;)yt[fe]=Qt?i:yd(w,F[fe]);return yt}function Xs(w,F,fe){return w===w&&(fe!==i&&(w=w<=fe?w:fe),F!==i&&(w=w>=F?w:F)),w}function Ai(w,F,fe,Be,yt,Qt){var vr,Lr=F&p,Xr=F&y,Fn=F&_;if(fe&&(vr=yt?fe(w,Be,yt,Qt):fe(w)),vr!==i)return vr;if(!vu(w))return w;var Bn=Ja(w);if(Bn){if(vr=rf(w),!Lr)return uu(w,vr)}else{var qn=zs(w),Bi=qn==Xt||qn==fr;if(Vf(w))return Df(w,Lr);if(qn==nt||qn==De||Bi&&!yt){if(vr=Xr||Bi?{}:Dl(w),!Lr)return Xr?dc(w,ls(vr,w)):Rc(w,js(vr,w))}else{if(!In[qn])return yt?w:{};vr=Ui(w,qn,Lr)}}Qt||(Qt=new Ut);var ma=Qt.get(w);if(ma)return ma;Qt.set(w,vr),kd(w)?w.forEach(function(za){vr.add(Ai(za,F,fe,za,w,Qt))}):Dd(w)&&w.forEach(function(za,Zs){vr.set(Zs,Ai(za,F,fe,Zs,w,Qt))});var Ua=Fn?Xr?me:L:Xr?ac:ol,Ts=Bn?i:Ua(w);return is(Ts||w,function(za,Zs){Ts&&(Zs=za,za=w[Zs]),Aa(vr,Zs,Ai(za,F,fe,Zs,w,Qt))}),vr}function Ro(w){var F=ol(w);return function(fe){return Po(fe,w,F)}}function Po(w,F,fe){var Be=fe.length;if(w==null)return!Be;for(w=Wn(w);Be--;){var yt=fe[Be],Qt=F[yt],vr=w[yt];if(vr===i&&!(yt in w)||!Qt(vr))return!1}return!0}function xu(w,F,fe){if(typeof w!="function")throw new Jt(o);return yc(function(){w.apply(i,fe)},F)}function eo(w,F,fe,Be){var yt=-1,Qt=Ps,vr=!0,Lr=w.length,Xr=[],Fn=F.length;if(!Lr)return Xr;fe&&(F=Yi(F,Ls(fe))),Be?(Qt=Is,vr=!1):F.length>=c&&(Qt=hu,vr=!1,F=new Ae(F));e:for(;++yt<Lr;){var Bn=w[yt],qn=fe==null?Bn:fe(Bn);if(Bn=Be||Bn!==0?Bn:0,vr&&qn===qn){for(var Bi=Fn;Bi--;)if(F[Bi]===qn)continue e;Xr.push(Bn)}else Qt(F,qn,Be)||Xr.push(Bn)}return Xr}var to=nl($o),ao=nl(wl,!0);function Fl(w,F){var fe=!0;return to(w,function(Be,yt,Qt){return fe=!!F(Be,yt,Qt),fe}),fe}function gl(w,F,fe){for(var Be=-1,yt=w.length;++Be<yt;){var Qt=w[Be],vr=F(Qt);if(vr!=null&&(Lr===i?vr===vr&&!xc(vr):fe(vr,Lr)))var Lr=vr,Xr=Qt}return Xr}function tl(w,F,fe,Be){var yt=w.length;for(fe=Es(fe),fe<0&&(fe=-fe>yt?0:yt+fe),Be=Be===i||Be>yt?yt:Es(Be),Be<0&&(Be+=yt),Be=fe>Be?0:Ld(Be);fe<Be;)w[fe++]=F;return w}function Eu(w,F){var fe=[];return to(w,function(Be,yt,Qt){F(Be,yt,Qt)&&fe.push(Be)}),fe}function lo(w,F,fe,Be,yt){var Qt=-1,vr=w.length;for(fe||(fe=Cu),yt||(yt=[]);++Qt<vr;){var Lr=w[Qt];F>0&&fe(Lr)?F>1?lo(Lr,F-1,fe,Be,yt):Xa(yt,Lr):Be||(yt[yt.length]=Lr)}return yt}var ll=qc(),Zu=qc(!0);function $o(w,F){return w&&ll(w,F,ol)}function wl(w,F){return w&&Zu(w,F,ol)}function Bl(w,F){return ts(F,function(fe){return Uf(w[fe])})}function nu(w,F){F=rl(F,w);for(var fe=0,Be=F.length;w!=null&&fe<Be;)w=w[aa(F[fe++])];return fe&&fe==Be?w:i}function Nl(w,F,fe){var Be=F(w);return Ja(w)?Be:Xa(Be,fe(w))}function ro(w){return w==null?w===i?Le:zt:bn&&bn in Wn(w)?Uo(w):sf(w)}function iu(w,F){return w>F}function cl(w,F){return w!=null&&$i.call(w,F)}function oc(w,F){return w!=null&&F in Wn(w)}function Hu(w,F,fe){return w>=Sa(F,fe)&&w<Si(F,fe)}function Sc(w,F,fe){for(var Be=fe?Is:Ps,yt=w[0].length,Qt=w.length,vr=Qt,Lr=Rr(Qt),Xr=1/0,Fn=[];vr--;){var Bn=w[vr];vr&&F&&(Bn=Yi(Bn,Ls(F))),Xr=Sa(Bn.length,Xr),Lr[vr]=!fe&&(F||yt>=120&&Bn.length>=120)?new Ae(vr&&Bn):i}Bn=w[0];var qn=-1,Bi=Lr[0];e:for(;++qn<yt&&Fn.length<Xr;){var ma=Bn[qn],Ua=F?F(ma):ma;if(ma=fe||ma!==0?ma:0,!(Bi?hu(Bi,Ua):Be(Fn,Ua,fe))){for(vr=Qt;--vr;){var Ts=Lr[vr];if(!(Ts?hu(Ts,Ua):Be(w[vr],Ua,fe)))continue e}Bi&&Bi.push(Ua),Fn.push(ma)}}return Fn}function uc(w,F,fe,Be){return $o(w,function(yt,Qt,vr){F(Be,fe(yt),Qt,vr)}),Be}function di(w,F,fe){F=rl(F,w),w=xl(w,F);var Be=w==null?w:w[aa(fu(F))];return Be==null?i:Ka(Be,w,fe)}function Ac(w){return Pu(w)&&ro(w)==De}function Io(w){return Pu(w)&&ro(w)==rt}function lc(w){return Pu(w)&&ro(w)==gt}function wu(w,F,fe,Be,yt){return w===F?!0:w==null||F==null||!Pu(w)&&!Pu(F)?w!==w&&F!==F:Sl(w,F,fe,Be,wu,yt)}function Sl(w,F,fe,Be,yt,Qt){var vr=Ja(w),Lr=Ja(F),Xr=vr?He:zs(w),Fn=Lr?He:zs(F);Xr=Xr==De?nt:Xr,Fn=Fn==De?nt:Fn;var Bn=Xr==nt,qn=Fn==nt,Bi=Xr==Fn;if(Bi&&Vf(w)){if(!Vf(F))return!1;vr=!0,Bn=!1}if(Bi&&!Bn)return Qt||(Qt=new Ut),vr||td(w)?Lc(w,F,fe,Be,yt,Qt):Ef(w,F,Xr,fe,Be,yt,Qt);if(!(fe&b)){var ma=Bn&&$i.call(w,"__wrapped__"),Ua=qn&&$i.call(F,"__wrapped__");if(ma||Ua){var Ts=ma?w.value():w,za=Ua?F.value():F;return Qt||(Qt=new Ut),yt(Ts,za,fe,Be,Qt)}}return Bi?(Qt||(Qt=new Ut),T(w,F,fe,Be,yt,Qt)):!1}function Eo(w){return Pu(w)&&zs(w)==Ge}function mf(w,F,fe,Be){var yt=fe.length,Qt=yt,vr=!Be;if(w==null)return!Qt;for(w=Wn(w);yt--;){var Lr=fe[yt];if(vr&&Lr[2]?Lr[1]!==w[Lr[0]]:!(Lr[0]in w))return!1}for(;++yt<Qt;){Lr=fe[yt];var Xr=Lr[0],Fn=w[Xr],Bn=Lr[1];if(vr&&Lr[2]){if(Fn===i&&!(Xr in w))return!1}else{var qn=new Ut;if(Be)var Bi=Be(Fn,Bn,Xr,w,F,qn);if(!(Bi===i?wu(Bn,Fn,b|S,Be,qn):Bi))return!1}}return!0}function zc(w){if(!vu(w)||Fc(w))return!1;var F=Uf(w)?yo:Rt;return F.test(Ca(w))}function Us(w){return Pu(w)&&ro(w)==et}function vf(w){return Pu(w)&&zs(w)==ze}function gf(w){return Pu(w)&&pd(w.length)&&!!dn[ro(w)]}function Zc(w){return typeof w=="function"?w:w==null?sc:typeof w=="object"?Ja(w)?co(w[0],w[1]):$l(w):Wd(w)}function au(w){if(!Ru(w))return Ri(w);var F=[];for(var fe in Wn(w))$i.call(w,fe)&&fe!="constructor"&&F.push(fe);return F}function Cc(w){if(!vu(w))return gc(w);var F=Ru(w),fe=[];for(var Be in w)Be=="constructor"&&(F||!$i.call(w,Be))||fe.push(Be);return fe}function Al(w,F){return w<F}function $u(w,F){var fe=-1,Be=zu(w)?Rr(w.length):[];return to(w,function(yt,Qt,vr){Be[++fe]=F(yt,Qt,vr)}),Be}function $l(w){var F=Wa(w);return F.length==1&&F[0][2]?af(F[0][0],F[0][1]):function(fe){return fe===w||mf(fe,w,F)}}function co(w,F){return bs(w)&&nf(F)?af(aa(w),F):function(fe){var Be=yd(fe,w);return Be===i&&Be===F?bd(fe,w):wu(F,Be,b|S)}}function qo(w,F,fe,Be,yt){w!==F&&ll(F,function(Qt,vr){if(yt||(yt=new Ut),vu(Qt))su(w,F,vr,fe,qo,Be,yt);else{var Lr=Be?Be(Jl(w,vr),Qt,vr+"",w,F,yt):i;Lr===i&&(Lr=Qt),xa(w,vr,Lr)}},ac)}function su(w,F,fe,Be,yt,Qt,vr){var Lr=Jl(w,fe),Xr=Jl(F,fe),Fn=vr.get(Xr);if(Fn){xa(w,fe,Fn);return}var Bn=Qt?Qt(Lr,Xr,fe+"",w,F,vr):i,qn=Bn===i;if(qn){var Bi=Ja(Xr),ma=!Bi&&Vf(Xr),Ua=!Bi&&!ma&&td(Xr);Bn=Xr,Bi||ma||Ua?Ja(Lr)?Bn=Lr:Mu(Lr)?Bn=uu(Lr):ma?(qn=!1,Bn=Df(Xr,!0)):Ua?(qn=!1,Bn=Wl(Xr,!0)):Bn=[]:ld(Xr)||jf(Xr)?(Bn=Lr,jf(Lr)?Bn=Md(Lr):(!vu(Lr)||Uf(Lr))&&(Bn=Dl(Xr))):qn=!1}qn&&(vr.set(Xr,Bn),yt(Bn,Xr,Be,Qt,vr),vr.delete(Xr)),xa(w,fe,Bn)}function Tc(w,F){var fe=w.length;if(fe)return F+=F<0?fe:0,so(F,fe)?w[F]:i}function jl(w,F,fe){F.length?F=Yi(F,function(Qt){return Ja(Qt)?function(vr){return nu(vr,Qt.length===1?Qt[0]:Qt)}:Qt}):F=[sc];var Be=-1;F=Yi(F,Ls(mn()));var yt=$u(w,function(Qt,vr,Lr){var Xr=Yi(F,function(Fn){return Fn(Qt)});return{criteria:Xr,index:++Be,value:Qt}});return ds(yt,function(Qt,vr){return Ku(Qt,vr,fe)})}function Su(w,F){return Hc(w,F,function(fe,Be){return bd(w,Be)})}function Hc(w,F,fe){for(var Be=-1,yt=F.length,Qt={};++Be<yt;){var vr=F[Be],Lr=nu(w,vr);fe(Lr,vr)&&Gu(Qt,rl(vr,w),Lr)}return Qt}function Pc(w){return function(F){return nu(F,w)}}function Ou(w,F,fe,Be){var yt=Be?Zo:Ao,Qt=-1,vr=F.length,Lr=w;for(w===F&&(F=uu(F)),fe&&(Lr=Yi(w,Ls(fe)));++Qt<vr;)for(var Xr=0,Fn=F[Qt],Bn=fe?fe(Fn):Fn;(Xr=yt(Lr,Bn,Xr,Be))>-1;)Lr!==w&&br.call(Lr,Xr,1),br.call(w,Xr,1);return w}function Ul(w,F){for(var fe=w?F.length:0,Be=fe-1;fe--;){var yt=F[fe];if(fe==Be||yt!==Qt){var Qt=yt;so(yt)?br.call(w,yt,1):Oc(w,yt)}}return w}function Wu(w,F){return w+Mi(na()*(F-w+1))}function Ic(w,F,fe,Be){for(var yt=-1,Qt=Si(Pi((F-w)/(fe||1)),0),vr=Rr(Qt);Qt--;)vr[Be?Qt:++yt]=w,w+=fe;return vr}function Cl(w,F){var fe="";if(!w||F<1||F>Q)return fe;do F%2&&(fe+=w),F=Mi(F/2),F&&(w+=w);while(F);return fe}function Ya(w,F){return ec(mu(w,F,sc),w+"")}function If(w){return ei(rd(w))}function Wc(w,F){var fe=rd(w);return Wi(fe,Xs(F,0,fe.length))}function Gu(w,F,fe,Be){if(!vu(w))return w;F=rl(F,w);for(var yt=-1,Qt=F.length,vr=Qt-1,Lr=w;Lr!=null&&++yt<Qt;){var Xr=aa(F[yt]),Fn=fe;if(Xr==="__proto__"||Xr==="constructor"||Xr==="prototype")return w;if(yt!=vr){var Bn=Lr[Xr];Fn=Be?Be(Bn,Xr,Lr):i,Fn===i&&(Fn=vu(Bn)?Bn:so(F[yt+1])?[]:{})}Aa(Lr,Xr,Fn),Lr=Lr[Xr]}return w}var Gc=ps?function(w,F){return ps.set(w,F),w}:sc,Vc=ln?function(w,F){return ln(w,"toString",{configurable:!0,enumerable:!1,value:Ed(F),writable:!0})}:sc;function zl(w){return Wi(rd(w))}function Au(w,F,fe){var Be=-1,yt=w.length;F<0&&(F=-F>yt?0:yt+F),fe=fe>yt?yt:fe,fe<0&&(fe+=yt),yt=F>fe?0:fe-F>>>0,F>>>=0;for(var Qt=Rr(yt);++Be<yt;)Qt[Be]=w[Be+F];return Qt}function yf(w,F){var fe;return to(w,function(Be,yt,Qt){return fe=F(Be,yt,Qt),!fe}),!!fe}function Dc(w,F,fe){var Be=0,yt=w==null?Be:w.length;if(typeof F=="number"&&F===F&&yt<=_e){for(;Be<yt;){var Qt=Be+yt>>>1,vr=w[Qt];vr!==null&&!xc(vr)&&(fe?vr<=F:vr<F)?Be=Qt+1:yt=Qt}return yt}return Zl(w,F,sc,fe)}function Zl(w,F,fe,Be){var yt=0,Qt=w==null?0:w.length;if(Qt===0)return 0;F=fe(F);for(var vr=F!==F,Lr=F===null,Xr=xc(F),Fn=F===i;yt<Qt;){var Bn=Mi((yt+Qt)/2),qn=fe(w[Bn]),Bi=qn!==i,ma=qn===null,Ua=qn===qn,Ts=xc(qn);if(vr)var za=Be||Ua;else Fn?za=Ua&&(Be||Bi):Lr?za=Ua&&Bi&&(Be||!ma):Xr?za=Ua&&Bi&&!ma&&(Be||!Ts):ma||Ts?za=!1:za=Be?qn<=F:qn<F;za?yt=Bn+1:Qt=Bn}return Sa(Qt,ie)}function Vu(w,F){for(var fe=-1,Be=w.length,yt=0,Qt=[];++fe<Be;){var vr=w[fe],Lr=F?F(vr):vr;if(!fe||!ic(Lr,Xr)){var Xr=Lr;Qt[yt++]=vr===0?0:vr}}return Qt}function fo(w){return typeof w=="number"?w:xc(w)?U:+w}function jo(w){if(typeof w=="string")return w;if(Ja(w))return Yi(w,jo)+"";if(xc(w))return ye?ye.call(w):"";var F=w+"";return F=="0"&&1/w==-ee?"-0":F}function ou(w,F,fe){var Be=-1,yt=Ps,Qt=w.length,vr=!0,Lr=[],Xr=Lr;if(fe)vr=!1,yt=Is;else if(Qt>=c){var Fn=F?null:ef(w);if(Fn)return Wo(Fn);vr=!1,yt=hu,Xr=new Ae}else Xr=F?[]:Lr;e:for(;++Be<Qt;){var Bn=w[Be],qn=F?F(Bn):Bn;if(Bn=fe||Bn!==0?Bn:0,vr&&qn===qn){for(var Bi=Xr.length;Bi--;)if(Xr[Bi]===qn)continue e;F&&Xr.push(qn),Lr.push(Bn)}else yt(Xr,qn,fe)||(Xr!==Lr&&Xr.push(qn),Lr.push(Bn))}return Lr}function Oc(w,F){return F=rl(F,w),w=xl(w,F),w==null||delete w[aa(fu(F))]}function fl(w,F,fe,Be){return Gu(w,F,fe(nu(w,F)),Be)}function Kc(w,F,fe,Be){for(var yt=w.length,Qt=Be?yt:-1;(Be?Qt--:++Qt<yt)&&F(w[Qt],Qt,w););return fe?Au(w,Be?0:Qt,Be?Qt+1:yt):Au(w,Be?Qt+1:0,Be?yt:Qt)}function bf(w,F){var fe=w;return fe instanceof Jr&&(fe=fe.value()),Ha(F,function(Be,yt){return yt.func.apply(yt.thisArg,Xa([Be],yt.args))},fe)}function cc(w,F,fe){var Be=w.length;if(Be<2)return Be?ou(w[0]):[];for(var yt=-1,Qt=Rr(Be);++yt<Be;)for(var vr=w[yt],Lr=-1;++Lr<Be;)Lr!=yt&&(Qt[yt]=eo(Qt[yt]||vr,w[Lr],F,fe));return ou(lo(Qt,1),F,fe)}function Do(w,F,fe){for(var Be=-1,yt=w.length,Qt=F.length,vr={};++Be<yt;){var Lr=Be<Qt?F[Be]:i;fe(vr,w[Be],Lr)}return vr}function Yc(w){return Mu(w)?w:[]}function Xc(w){return typeof w=="function"?w:sc}function rl(w,F){return Ja(w)?w:bs(w,F)?[w]:Ba(So(w))}var ju=Ya;function ho(w,F,fe){var Be=w.length;return fe=fe===i?Be:fe,!F&&fe>=Be?w:Au(w,F,fe)}var Hl=xn||function(w){return wa.clearTimeout(w)};function Df(w,F){if(F)return w.slice();var fe=w.length,Be=Xe?Xe(fe):new w.constructor(fe);return w.copy(Be),Be}function kc(w){var F=new w.constructor(w.byteLength);return new uo(F).set(new uo(w)),F}function Qc(w,F){var fe=F?kc(w.buffer):w.buffer;return new w.constructor(fe,w.byteOffset,w.byteLength)}function dl(w){var F=new w.constructor(w.source,cn.exec(w));return F.lastIndex=w.lastIndex,F}function Jo(w){return La?Wn(La.call(w)):{}}function Wl(w,F){var fe=F?kc(w.buffer):w.buffer;return new w.constructor(fe,w.byteOffset,w.length)}function je(w,F){if(w!==F){var fe=w!==i,Be=w===null,yt=w===w,Qt=xc(w),vr=F!==i,Lr=F===null,Xr=F===F,Fn=xc(F);if(!Lr&&!Fn&&!Qt&&w>F||Qt&&vr&&Xr&&!Lr&&!Fn||Be&&vr&&Xr||!fe&&Xr||!yt)return 1;if(!Be&&!Qt&&!Fn&&w<F||Fn&&fe&&yt&&!Be&&!Qt||Lr&&fe&&yt||!vr&&yt||!Xr)return-1}return 0}function Ku(w,F,fe){for(var Be=-1,yt=w.criteria,Qt=F.criteria,vr=yt.length,Lr=fe.length;++Be<vr;){var Xr=je(yt[Be],Qt[Be]);if(Xr){if(Be>=Lr)return Xr;var Fn=fe[Be];return Xr*(Fn=="desc"?-1:1)}}return w.index-F.index}function pu(w,F,fe,Be){for(var yt=-1,Qt=w.length,vr=fe.length,Lr=-1,Xr=F.length,Fn=Si(Qt-vr,0),Bn=Rr(Xr+Fn),qn=!Be;++Lr<Xr;)Bn[Lr]=F[Lr];for(;++yt<vr;)(qn||yt<Qt)&&(Bn[fe[yt]]=w[yt]);for(;Fn--;)Bn[Lr++]=w[yt++];return Bn}function fc(w,F,fe,Be){for(var yt=-1,Qt=w.length,vr=-1,Lr=fe.length,Xr=-1,Fn=F.length,Bn=Si(Qt-Lr,0),qn=Rr(Bn+Fn),Bi=!Be;++yt<Bn;)qn[yt]=w[yt];for(var ma=yt;++Xr<Fn;)qn[ma+Xr]=F[Xr];for(;++vr<Lr;)(Bi||yt<Qt)&&(qn[ma+fe[vr]]=w[yt++]);return qn}function uu(w,F){var fe=-1,Be=w.length;for(F||(F=Rr(Be));++fe<Be;)F[fe]=w[fe];return F}function Yu(w,F,fe,Be){var yt=!fe;fe||(fe={});for(var Qt=-1,vr=F.length;++Qt<vr;){var Lr=F[Qt],Xr=Be?Be(fe[Lr],w[Lr],Lr,fe,w):i;Xr===i&&(Xr=w[Lr]),yt?ha(fe,Lr,Xr):Aa(fe,Lr,Xr)}return fe}function Rc(w,F){return Yu(w,Ss(w),F)}function dc(w,F){return Yu(w,Qs(w),F)}function Tl(w,F){return function(fe,Be){var yt=Ja(fe)?va:ys,Qt=F?F():{};return yt(fe,w,mn(Be,2),Qt)}}function hl(w){return Ya(function(F,fe){var Be=-1,yt=fe.length,Qt=yt>1?fe[yt-1]:i,vr=yt>2?fe[2]:i;for(Qt=w.length>3&&typeof Qt=="function"?(yt--,Qt):i,vr&&wo(fe[0],fe[1],vr)&&(Qt=yt<3?i:Qt,yt=1),F=Wn(F);++Be<yt;){var Lr=fe[Be];Lr&&w(F,Lr,Be,Qt)}return F})}function nl(w,F){return function(fe,Be){if(fe==null)return fe;if(!zu(fe))return w(fe,Be);for(var yt=fe.length,Qt=F?yt:-1,vr=Wn(fe);(F?Qt--:++Qt<yt)&&Be(vr[Qt],Qt,vr)!==!1;);return fe}}function qc(w){return function(F,fe,Be){for(var yt=-1,Qt=Wn(F),vr=Be(F),Lr=vr.length;Lr--;){var Xr=vr[w?Lr:++yt];if(fe(Qt[Xr],Xr,Qt)===!1)break}return F}}function hc(w,F,fe){var Be=F&k,yt=Xu(w);function Qt(){var vr=this&&this!==wa&&this instanceof Qt?yt:w;return vr.apply(Be?fe:this,arguments)}return Qt}function ku(w){return function(F){F=So(F);var fe=Oo(F)?mr(F):i,Be=fe?fe[0]:F.charAt(0),yt=fe?ho(fe,1).join(""):F.slice(1);return Be[w]()+yt}}function yl(w){return function(F){return Ha(Zd(zd(F).replace(Er,"")),w,"")}}function Xu(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 fe=Ar(w.prototype),Be=w.apply(fe,F);return vu(Be)?Be:fe}}function Of(w,F,fe){var Be=Xu(w);function yt(){for(var Qt=arguments.length,vr=Rr(Qt),Lr=Qt,Xr=Yn(yt);Lr--;)vr[Lr]=arguments[Lr];var Fn=Qt<3&&vr[0]!==Xr&&vr[Qt-1]!==Xr?[]:Ds(vr,Xr);if(Qt-=Fn.length,Qt<fe)return pc(w,F,Pl,yt.placeholder,i,vr,Fn,i,i,fe-Qt);var Bn=this&&this!==wa&&this instanceof yt?Be:w;return Ka(Bn,this,vr)}return yt}function xf(w){return function(F,fe,Be){var yt=Wn(F);if(!zu(F)){var Qt=mn(fe,3);F=ol(F),fe=function(Lr){return Qt(yt[Lr],Lr,yt)}}var vr=w(F,fe,Be);return vr>-1?yt[Qt?F[vr]:vr]:i}}function lu(w){return D(function(F){var fe=F.length,Be=fe,yt=xr.prototype.thru;for(w&&F.reverse();Be--;){var Qt=F[Be];if(typeof Qt!="function")throw new Jt(o);if(yt&&!vr&&sn(Qt)=="wrapper")var vr=new xr([],!0)}for(Be=vr?Be:fe;++Be<fe;){Qt=F[Be];var Lr=sn(Qt),Xr=Lr=="wrapper"?ke(Qt):i;Xr&&Ql(Xr[0])&&Xr[1]==(K|P|B|G)&&!Xr[4].length&&Xr[9]==1?vr=vr[sn(Xr[0])].apply(vr,Xr[3]):vr=Qt.length==1&&Ql(Qt)?vr[Lr]():vr.thru(Qt)}return function(){var Fn=arguments,Bn=Fn[0];if(vr&&Fn.length==1&&Ja(Bn))return vr.plant(Bn).value();for(var qn=0,Bi=fe?F[qn].apply(this,Fn):Bn;++qn<fe;)Bi=F[qn].call(this,Bi);return Bi}})}function Pl(w,F,fe,Be,yt,Qt,vr,Lr,Xr,Fn){var Bn=F&K,qn=F&k,Bi=F&R,ma=F&(P|M),Ua=F&H,Ts=Bi?i:Xu(w);function za(){for(var Zs=arguments.length,Js=Rr(Zs),Ec=Zs;Ec--;)Js[Ec]=arguments[Ec];if(ma)var Ll=Yn(za),wc=Ju(Js,Ll);if(Be&&(Js=pu(Js,Be,yt,ma)),Qt&&(Js=fc(Js,Qt,vr,ma)),Zs-=wc,ma&&Zs<Fn){var Fu=Ds(Js,Ll);return pc(w,F,Pl,za.placeholder,fe,Js,Fu,Lr,Xr,Fn-Zs)}var pf=qn?fe:this,Zf=Bi?pf[w]:w;return Zs=Js.length,Lr?Js=ql(Js,Lr):Ua&&Zs>1&&Js.reverse(),Bn&&Xr<Zs&&(Js.length=Xr),this&&this!==wa&&this instanceof za&&(Zf=Ts||Xu(Zf)),Zf.apply(pf,Js)}return za}function Jc(w,F){return function(fe,Be){return uc(fe,w,F(Be),{})}}function Gl(w,F){return function(fe,Be){var yt;if(fe===i&&Be===i)return F;if(fe!==i&&(yt=fe),Be!==i){if(yt===i)return Be;typeof fe=="string"||typeof Be=="string"?(fe=jo(fe),Be=jo(Be)):(fe=fo(fe),Be=fo(Be)),yt=w(fe,Be)}return yt}}function Vl(w){return D(function(F){return F=Yi(F,Ls(mn())),Ya(function(fe){var Be=this;return w(F,function(yt){return Ka(yt,Be,fe)})})})}function eu(w,F){F=F===i?" ":jo(F);var fe=F.length;if(fe<2)return fe?Cl(F,w):F;var Be=Cl(F,Pi(w/or(F)));return Oo(F)?ho(mr(Be),0,w).join(""):Be.slice(0,w)}function cu(w,F,fe,Be){var yt=F&k,Qt=Xu(w);function vr(){for(var Lr=-1,Xr=arguments.length,Fn=-1,Bn=Be.length,qn=Rr(Bn+Xr),Bi=this&&this!==wa&&this instanceof vr?Qt:w;++Fn<Bn;)qn[Fn]=Be[Fn];for(;Xr--;)qn[Fn++]=arguments[++Lr];return Ka(Bi,yt?fe:this,qn)}return vr}function Kl(w){return function(F,fe,Be){return Be&&typeof Be!="number"&&wo(F,fe,Be)&&(fe=Be=i),F=zf(F),fe===i?(fe=F,F=0):fe=zf(fe),Be=Be===i?F<fe?1:-1:zf(Be),Ic(F,fe,Be,w)}}function _u(w){return function(F,fe){return typeof F=="string"&&typeof fe=="string"||(F=Uc(F),fe=Uc(fe)),w(F,fe)}}function pc(w,F,fe,Be,yt,Qt,vr,Lr,Xr,Fn){var Bn=F&P,qn=Bn?vr:i,Bi=Bn?i:vr,ma=Bn?Qt:i,Ua=Bn?i:Qt;F|=Bn?B:N,F&=~(Bn?N:B),F&A||(F&=~(k|R));var Ts=[w,F,yt,ma,qn,Ua,Bi,Lr,Xr,Fn],za=fe.apply(i,Ts);return Ql(w)&&Qu(za,Ts),za.placeholder=Be,Rn(za,w,F)}function Il(w){var F=$n[w];return function(fe,Be){if(fe=Uc(fe),Be=Be==null?0:Sa(Es(Be),292),Be&&ki(fe)){var yt=(So(fe)+"e").split("e"),Qt=F(yt[0]+"e"+(+yt[1]+Be));return yt=(So(Qt)+"e").split("e"),+(yt[0]+"e"+(+yt[1]-Be))}return F(fe)}}var ef=qa&&1/Wo(new qa([,-0]))[1]==ee?function(w){return new qa(w)}:Ad;function bl(w){return function(F){var fe=zs(F);return fe==Ge?Qo(F):fe==ze?Nu(F):Ho(F,w(F))}}function Uu(w,F,fe,Be,yt,Qt,vr,Lr){var Xr=F&R;if(!Xr&&typeof w!="function")throw new Jt(o);var Fn=Be?Be.length:0;if(Fn||(F&=~(B|N),Be=yt=i),vr=vr===i?vr:Si(Es(vr),0),Lr=Lr===i?Lr:Es(Lr),Fn-=yt?yt.length:0,F&N){var Bn=Be,qn=yt;Be=yt=i}var Bi=Xr?i:ke(w),ma=[w,F,fe,Be,yt,Bn,qn,Qt,vr,Lr];if(Bi&&Bc(ma,Bi),w=ma[0],F=ma[1],fe=ma[2],Be=ma[3],yt=ma[4],Lr=ma[9]=ma[9]===i?Xr?0:w.length:Si(ma[9]-Fn,0),!Lr&&F&(P|M)&&(F&=~(P|M)),!F||F==k)var Ua=hc(w,F,fe);else F==P||F==M?Ua=Of(w,F,Lr):(F==B||F==(k|B))&&!yt.length?Ua=cu(w,F,fe,Be):Ua=Pl.apply(i,ma);var Ts=Bi?Gc:Qu;return Rn(Ts(Ua,ma),w,F)}function _c(w,F,fe,Be){return w===i||ic(w,Ta[fe])&&!$i.call(Be,fe)?F:w}function mc(w,F,fe,Be,yt,Qt){return vu(w)&&vu(F)&&(Qt.set(F,w),qo(w,F,i,mc,Qt),Qt.delete(F)),w}function Yl(w){return ld(w)?i:w}function Lc(w,F,fe,Be,yt,Qt){var vr=fe&b,Lr=w.length,Xr=F.length;if(Lr!=Xr&&!(vr&&Xr>Lr))return!1;var Fn=Qt.get(w),Bn=Qt.get(F);if(Fn&&Bn)return Fn==F&&Bn==w;var qn=-1,Bi=!0,ma=fe&S?new Ae:i;for(Qt.set(w,F),Qt.set(F,w);++qn<Lr;){var Ua=w[qn],Ts=F[qn];if(Be)var za=vr?Be(Ts,Ua,qn,F,w,Qt):Be(Ua,Ts,qn,w,F,Qt);if(za!==i){if(za)continue;Bi=!1;break}if(ma){if(!vo(F,function(Zs,Js){if(!hu(ma,Js)&&(Ua===Zs||yt(Ua,Zs,fe,Be,Qt)))return ma.push(Js)})){Bi=!1;break}}else if(!(Ua===Ts||yt(Ua,Ts,fe,Be,Qt))){Bi=!1;break}}return Qt.delete(w),Qt.delete(F),Bi}function Ef(w,F,fe,Be,yt,Qt,vr){switch(fe){case ot:if(w.byteLength!=F.byteLength||w.byteOffset!=F.byteOffset)return!1;w=w.buffer,F=F.buffer;case rt:return!(w.byteLength!=F.byteLength||!Qt(new uo(w),new uo(F)));case Ft:case gt:case Tt:return ic(+w,+F);case rr:return w.name==F.name&&w.message==F.message;case et:case ge:return w==F+"";case Ge:var Lr=Qo;case ze:var Xr=Be&b;if(Lr||(Lr=Wo),w.size!=F.size&&!Xr)return!1;var Fn=vr.get(w);if(Fn)return Fn==F;Be|=S,vr.set(w,F);var Bn=Lc(Lr(w),Lr(F),Be,yt,Qt,vr);return vr.delete(w),Bn;case Se:if(La)return La.call(w)==La.call(F)}return!1}function T(w,F,fe,Be,yt,Qt){var vr=fe&b,Lr=L(w),Xr=Lr.length,Fn=L(F),Bn=Fn.length;if(Xr!=Bn&&!vr)return!1;for(var qn=Xr;qn--;){var Bi=Lr[qn];if(!(vr?Bi in F:$i.call(F,Bi)))return!1}var ma=Qt.get(w),Ua=Qt.get(F);if(ma&&Ua)return ma==F&&Ua==w;var Ts=!0;Qt.set(w,F),Qt.set(F,w);for(var za=vr;++qn<Xr;){Bi=Lr[qn];var Zs=w[Bi],Js=F[Bi];if(Be)var Ec=vr?Be(Js,Zs,Bi,F,w,Qt):Be(Zs,Js,Bi,w,F,Qt);if(!(Ec===i?Zs===Js||yt(Zs,Js,fe,Be,Qt):Ec)){Ts=!1;break}za||(za=Bi=="constructor")}if(Ts&&!za){var Ll=w.constructor,wc=F.constructor;Ll!=wc&&"constructor"in w&&"constructor"in F&&!(typeof Ll=="function"&&Ll instanceof Ll&&typeof wc=="function"&&wc instanceof wc)&&(Ts=!1)}return Qt.delete(w),Qt.delete(F),Ts}function D(w){return ec(mu(w,i,Rf),w+"")}function L(w){return Nl(w,ol,Ss)}function me(w){return Nl(w,ac,Qs)}var ke=ps?function(w){return ps.get(w)}:Ad;function sn(w){for(var F=w.name+"",fe=ko[F],Be=$i.call(ko,F)?fe.length:0;Be--;){var yt=fe[Be],Qt=yt.func;if(Qt==null||Qt==w)return yt.name}return F}function Yn(w){var F=$i.call(we,"placeholder")?we:w;return F.placeholder}function mn(){var w=we.iteratee||wd;return w=w===wd?Zc:w,arguments.length?w(arguments[0],arguments[1]):w}function ji(w,F){var fe=w.__data__;return Ol(F)?fe[typeof F=="string"?"string":"hash"]:fe.map}function Wa(w){for(var F=ol(w),fe=F.length;fe--;){var Be=F[fe],yt=w[Be];F[fe]=[Be,yt,nf(yt)]}return F}function Ga(w,F){var fe=Bu(w,F);return zc(fe)?fe:i}function Uo(w){var F=$i.call(w,bn),fe=w[bn];try{w[bn]=i;var Be=!0}catch(Qt){}var yt=Ms.call(w);return Be&&(F?w[bn]=fe:delete w[bn]),yt}var Ss=ra?function(w){return w==null?[]:(w=Wn(w),ts(ra(w),function(F){return Vt.call(w,F)}))}:Cd,Qs=ra?function(w){for(var F=[];w;)Xa(F,Ss(w)),w=Qe(w);return F}:Cd,zs=ro;(pa&&zs(new pa(new ArrayBuffer(1)))!=ot||Hi&&zs(new Hi)!=Ge||Ra&&zs(Ra.resolve())!=bt||qa&&zs(new qa)!=ze||hs&&zs(new hs)!=$e)&&(zs=function(w){var F=ro(w),fe=F==nt?w.constructor:i,Be=fe?Ca(fe):"";if(Be)switch(Be){case os:return ot;case _s:return Ge;case ks:return bt;case ga:return ze;case us:return $e}return F});function Mc(w,F,fe){for(var Be=-1,yt=fe.length;++Be<yt;){var Qt=fe[Be],vr=Qt.size;switch(Qt.type){case"drop":w+=vr;break;case"dropRight":F-=vr;break;case"take":F=Sa(F,w+vr);break;case"takeRight":w=Si(w,F-vr);break}}return{start:w,end:F}}function tf(w){var F=w.match(Vr);return F?F[1].split(tn):[]}function vc(w,F,fe){F=rl(F,w);for(var Be=-1,yt=F.length,Qt=!1;++Be<yt;){var vr=aa(F[Be]);if(!(Qt=w!=null&&fe(w,vr)))break;w=w[vr]}return Qt||++Be!=yt?Qt:(yt=w==null?0:w.length,!!yt&&pd(yt)&&so(vr,yt)&&(Ja(w)||jf(w)))}function rf(w){var F=w.length,fe=new w.constructor(F);return F&&typeof w[0]=="string"&&$i.call(w,"index")&&(fe.index=w.index,fe.input=w.input),fe}function Dl(w){return typeof w.constructor=="function"&&!Ru(w)?Ar(Qe(w)):{}}function Ui(w,F,fe){var Be=w.constructor;switch(F){case rt:return kc(w);case Ft:case gt:return new Be(+w);case ot:return Qc(w,fe);case Kt:case Wt:case Ce:case Je:case Yt:case kt:case Ht:case $t:case tr:return Wl(w,fe);case Ge:return new Be;case Tt:case ge:return new Be(w);case et:return dl(w);case ze:return new Be;case Se:return Jo(w)}}function Xl(w,F){var fe=F.length;if(!fe)return w;var Be=fe-1;return F[Be]=(fe>1?"& ":"")+F[Be],F=F.join(fe>2?", ":" "),w.replace(St,`{
|
|
|
/* [wrapped with `+F+`] */
|
|
|
`)}function Cu(w){return Ja(w)||jf(w)||!!(Mr&&w&&w[Mr])}function so(w,F){var fe=typeof w;return F=F==null?Q:F,!!F&&(fe=="number"||fe!="symbol"&&vt.test(w))&&w>-1&&w%1==0&&w<F}function wo(w,F,fe){if(!vu(fe))return!1;var Be=typeof F;return(Be=="number"?zu(fe)&&so(F,fe.length):Be=="string"&&F in fe)?ic(fe[F],w):!1}function bs(w,F){if(Ja(w))return!1;var fe=typeof w;return fe=="number"||fe=="symbol"||fe=="boolean"||w==null||xc(w)?!0:be.test(w)||!xt.test(w)||F!=null&&w in Wn(F)}function Ol(w){var F=typeof w;return F=="string"||F=="number"||F=="symbol"||F=="boolean"?w!=="__proto__":w===null}function Ql(w){var F=sn(w),fe=we[F];if(typeof fe!="function"||!(F in Jr.prototype))return!1;if(w===fe)return!0;var Be=ke(fe);return!!Be&&w===Be[0]}function Fc(w){return!!oo&&oo in w}var kl=gs?Uf:Td;function Ru(w){var F=w&&w.constructor,fe=typeof F=="function"&&F.prototype||Ta;return w===fe}function nf(w){return w===w&&!vu(w)}function af(w,F){return function(fe){return fe==null?!1:fe[w]===F&&(F!==i||w in Wn(fe))}}function Rl(w){var F=Lu(w,function(Be){return fe.size===a&&fe.clear(),Be}),fe=F.cache;return F}function Bc(w,F){var fe=w[1],Be=F[1],yt=fe|Be,Qt=yt<(k|R|K),vr=Be==K&&fe==P||Be==K&&fe==G&&w[7].length<=F[8]||Be==(K|G)&&F[7].length<=F[8]&&fe==P;if(!(Qt||vr))return w;Be&k&&(w[2]=F[2],yt|=fe&k?0:A);var Lr=F[3];if(Lr){var Xr=w[3];w[3]=Xr?pu(Xr,Lr,F[4]):Lr,w[4]=Xr?Ds(w[3],x):F[4]}return Lr=F[5],Lr&&(Xr=w[5],w[5]=Xr?fc(Xr,Lr,F[6]):Lr,w[6]=Xr?Ds(w[5],x):F[6]),Lr=F[7],Lr&&(w[7]=Lr),Be&K&&(w[8]=w[8]==null?F[8]:Sa(w[8],F[8])),w[9]==null&&(w[9]=F[9]),w[0]=F[0],w[1]=yt,w}function gc(w){var F=[];if(w!=null)for(var fe in Wn(w))F.push(fe);return F}function sf(w){return Ms.call(w)}function mu(w,F,fe){return F=Si(F===i?w.length-1:F,0),function(){for(var Be=arguments,yt=-1,Qt=Si(Be.length-F,0),vr=Rr(Qt);++yt<Qt;)vr[yt]=Be[F+yt];yt=-1;for(var Lr=Rr(F+1);++yt<F;)Lr[yt]=Be[yt];return Lr[F]=fe(vr),Ka(w,this,Lr)}}function xl(w,F){return F.length<2?w:nu(w,Au(F,0,-1))}function ql(w,F){for(var fe=w.length,Be=Sa(F.length,fe),yt=uu(w);Be--;){var Qt=F[Be];w[Be]=so(Qt,fe)?yt[Qt]:i}return w}function Jl(w,F){if(!(F==="constructor"&&typeof w[F]=="function")&&F!="__proto__")return w[F]}var Qu=ti(Gc),yc=ui||function(w,F){return wa.setTimeout(w,F)},ec=ti(Vc);function Rn(w,F,fe){var Be=F+"";return ec(w,Xl(Be,Oa(tf(Be),fe)))}function ti(w){var F=0,fe=0;return function(){var Be=bo(),yt=q-(Be-fe);if(fe=Be,yt>0){if(++F>=oe)return arguments[0]}else F=0;return w.apply(i,arguments)}}function Wi(w,F){var fe=-1,Be=w.length,yt=Be-1;for(F=F===i?Be:F;++fe<F;){var Qt=Wu(fe,yt),vr=w[Qt];w[Qt]=w[fe],w[fe]=vr}return w.length=F,w}var Ba=Rl(function(w){var F=[];return w.charCodeAt(0)===46&&F.push(""),w.replace(Ye,function(fe,Be,yt,Qt){F.push(yt?Qt.replace(gr,"$1"):Be||fe)}),F});function aa(w){if(typeof w=="string"||xc(w))return w;var F=w+"";return F=="0"&&1/w==-ee?"-0":F}function Ca(w){if(w!=null){try{return Ns.call(w)}catch(F){}try{return w+""}catch(F){}}return""}function Oa(w,F){return is(Pe,function(fe){var Be="_."+fe[0];F&fe[1]&&!Ps(w,Be)&&w.push(Be)}),w.sort()}function As(w){if(w instanceof Jr)return w.clone();var F=new xr(w.__wrapped__,w.__chain__);return F.__actions__=uu(w.__actions__),F.__index__=w.__index__,F.__values__=w.__values__,F}function ua(w,F,fe){(fe?wo(w,F,fe):F===i)?F=1:F=Si(Es(F),0);var Be=w==null?0:w.length;if(!Be||F<1)return[];for(var yt=0,Qt=0,vr=Rr(Pi(Be/F));yt<Be;)vr[Qt++]=Au(w,yt,yt+=F);return vr}function Cs(w){for(var F=-1,fe=w==null?0:w.length,Be=0,yt=[];++F<fe;){var Qt=w[F];Qt&&(yt[Be++]=Qt)}return yt}function pl(){var w=arguments.length;if(!w)return[];for(var F=Rr(w-1),fe=arguments[0],Be=w;Be--;)F[Be-1]=arguments[Be];return Xa(Ja(fe)?uu(fe):[fe],lo(F,1))}var _l=Ya(function(w,F){return Mu(w)?eo(w,lo(F,1,Mu,!0)):[]}),il=Ya(function(w,F){var fe=fu(F);return Mu(fe)&&(fe=i),Mu(w)?eo(w,lo(F,1,Mu,!0),mn(fe,2)):[]}),ml=Ya(function(w,F){var fe=fu(F);return Mu(fe)&&(fe=i),Mu(w)?eo(w,lo(F,1,Mu,!0),i,fe):[]});function El(w,F,fe){var Be=w==null?0:w.length;return Be?(F=fe||F===i?1:Es(F),Au(w,F<0?0:F,Be)):[]}function Kf(w,F,fe){var Be=w==null?0:w.length;return Be?(F=fe||F===i?1:Es(F),F=Be-F,Au(w,0,F<0?0:F)):[]}function kf(w,F){return w&&w.length?Kc(w,mn(F,3),!0,!0):[]}function tc(w,F){return w&&w.length?Kc(w,mn(F,3),!0):[]}function wf(w,F,fe,Be){var yt=w==null?0:w.length;return yt?(fe&&typeof fe!="number"&&wo(w,F,fe)&&(fe=0,Be=yt),tl(w,F,fe,Be)):[]}function Nc(w,F,fe){var Be=w==null?0:w.length;if(!Be)return-1;var yt=fe==null?0:Es(fe);return yt<0&&(yt=Si(Be+yt,0)),vs(w,mn(F,3),yt)}function of(w,F,fe){var Be=w==null?0:w.length;if(!Be)return-1;var yt=Be-1;return fe!==i&&(yt=Es(fe),yt=fe<0?Si(Be+yt,0):Sa(yt,Be-1)),vs(w,mn(F,3),yt,!0)}function Rf(w){var F=w==null?0:w.length;return F?lo(w,1):[]}function al(w){var F=w==null?0:w.length;return F?lo(w,ee):[]}function Hf(w,F){var fe=w==null?0:w.length;return fe?(F=F===i?1:Es(F),lo(w,F)):[]}function qu(w){for(var F=-1,fe=w==null?0:w.length,Be={};++F<fe;){var yt=w[F];Be[yt[0]]=yt[1]}return Be}function uf(w){return w&&w.length?w[0]:i}function Lf(w,F,fe){var Be=w==null?0:w.length;if(!Be)return-1;var yt=fe==null?0:Es(fe);return yt<0&&(yt=Si(Be+yt,0)),Ao(w,F,yt)}function Go(w){var F=w==null?0:w.length;return F?Au(w,0,-1):[]}var Sf=Ya(function(w){var F=Yi(w,Yc);return F.length&&F[0]===w[0]?Sc(F):[]}),Af=Ya(function(w){var F=fu(w),fe=Yi(w,Yc);return F===fu(fe)?F=i:fe.pop(),fe.length&&fe[0]===w[0]?Sc(fe,mn(F,2)):[]}),vl=Ya(function(w){var F=fu(w),fe=Yi(w,Yc);return F=typeof F=="function"?F:i,F&&fe.pop(),fe.length&&fe[0]===w[0]?Sc(fe,i,F):[]});function $c(w,F){return w==null?"":Da.call(w,F)}function fu(w){var F=w==null?0:w.length;return F?w[F-1]:i}function Mf(w,F,fe){var Be=w==null?0:w.length;if(!Be)return-1;var yt=Be;return fe!==i&&(yt=Es(fe),yt=yt<0?Si(Be+yt,0):Sa(yt,Be-1)),F===F?_r(w,F,yt):vs(w,Lo,yt,!0)}function Ff(w,F){return w&&w.length?Tc(w,Es(F)):i}var lf=Ya(cf);function cf(w,F){return w&&w.length&&F&&F.length?Ou(w,F):w}function Cf(w,F,fe){return w&&w.length&&F&&F.length?Ou(w,F,mn(fe,2)):w}function Tf(w,F,fe){return w&&w.length&&F&&F.length?Ou(w,F,i,fe):w}var Yf=D(function(w,F){var fe=w==null?0:w.length,Be=io(w,F);return Ul(w,Yi(F,function(yt){return so(yt,fe)?+yt:yt}).sort(je)),Be});function qf(w,F){var fe=[];if(!(w&&w.length))return fe;var Be=-1,yt=[],Qt=w.length;for(F=mn(F,3);++Be<Qt;){var vr=w[Be];F(vr,Be,w)&&(fe.push(vr),yt.push(Be))}return Ul(w,yt),fe}function Bf(w){return w==null?w:Qa.call(w)}function nd(w,F,fe){var Be=w==null?0:w.length;return Be?(fe&&typeof fe!="number"&&wo(w,F,fe)?(F=0,fe=Be):(F=F==null?0:Es(F),fe=fe===i?Be:Es(fe)),Au(w,F,fe)):[]}function Xf(w,F){return Dc(w,F)}function Pf(w,F,fe){return Zl(w,F,mn(fe,2))}function id(w,F){var fe=w==null?0:w.length;if(fe){var Be=Dc(w,F);if(Be<fe&&ic(w[Be],F))return Be}return-1}function Wf(w,F){return Dc(w,F,!0)}function Jf(w,F,fe){return Zl(w,F,mn(fe,2),!0)}function ad(w,F){var fe=w==null?0:w.length;if(fe){var Be=Dc(w,F,!0)-1;if(ic(w[Be],F))return Be}return-1}function ff(w){return w&&w.length?Vu(w):[]}function sd(w,F){return w&&w.length?Vu(w,mn(F,2)):[]}function df(w){var F=w==null?0:w.length;return F?Au(w,1,F):[]}function g(w,F,fe){return w&&w.length?(F=fe||F===i?1:Es(F),Au(w,0,F<0?0:F)):[]}function C(w,F,fe){var Be=w==null?0:w.length;return Be?(F=fe||F===i?1:Es(F),F=Be-F,Au(w,F<0?0:F,Be)):[]}function j(w,F){return w&&w.length?Kc(w,mn(F,3),!1,!0):[]}function ve(w,F){return w&&w.length?Kc(w,mn(F,3)):[]}var Re=Ya(function(w){return ou(lo(w,1,Mu,!0))}),st=Ya(function(w){var F=fu(w);return Mu(F)&&(F=i),ou(lo(w,1,Mu,!0),mn(F,2))}),Bt=Ya(function(w){var F=fu(w);return F=typeof F=="function"?F:i,ou(lo(w,1,Mu,!0),i,F)});function ir(w){return w&&w.length?ou(w):[]}function Dr(w,F){return w&&w.length?ou(w,mn(F,2)):[]}function _n(w,F){return F=typeof F=="function"?F:i,w&&w.length?ou(w,i,F):[]}function Ci(w){if(!(w&&w.length))return[];var F=0;return w=ts(w,function(fe){if(Mu(fe))return F=Si(fe.length,F),!0}),go(F,function(fe){return Yi(w,xi(fe))})}function $a(w,F){if(!(w&&w.length))return[];var fe=Ci(w);return F==null?fe:Yi(fe,function(Be){return Ka(F,i,Be)})}var Qn=Ya(function(w,F){return Mu(w)?eo(w,F):[]}),ca=Ya(function(w){return cc(ts(w,Mu))}),Na=Ya(function(w){var F=fu(w);return Mu(F)&&(F=i),cc(ts(w,Mu),mn(F,2))}),ka=Ya(function(w){var F=fu(w);return F=typeof F=="function"?F:i,cc(ts(w,Mu),i,F)}),en=Ya(Ci);function $r(w,F){return Do(w||[],F||[],Aa)}function qr(w,F){return Do(w||[],F||[],Gu)}var On=Ya(function(w){var F=w.length,fe=F>1?w[F-1]:i;return fe=typeof fe=="function"?(w.pop(),fe):i,$a(w,fe)});function Un(w){var F=we(w);return F.__chain__=!0,F}function Va(w,F){return F(w),w}function Gi(w,F){return F(w)}var ja=D(function(w){var F=w.length,fe=F?w[0]:0,Be=this.__wrapped__,yt=function(Qt){return io(Qt,w)};return F>1||this.__actions__.length||!(Be instanceof Jr)||!so(fe)?this.thru(yt):(Be=Be.slice(fe,+fe+(F?1:0)),Be.__actions__.push({func:Gi,args:[yt],thisArg:i}),new xr(Be,this.__chain__).thru(function(Qt){return F&&!Qt.length&&Qt.push(i),Qt}))});function ms(){return Un(this)}function Ma(){return new xr(this.value(),this.__chain__)}function O(){this.__values__===i&&(this.__values__=Rd(this.value()));var w=this.__index__>=this.__values__.length,F=w?i:this.__values__[this.__index__++];return{done:w,value:F}}function t(){return this}function n(w){for(var F,fe=this;fe instanceof rn;){var Be=As(fe);Be.__index__=0,Be.__values__=i,F?yt.__wrapped__=Be:F=Be;var yt=Be;fe=fe.__wrapped__}return yt.__wrapped__=w,F}function s(){var w=this.__wrapped__;if(w instanceof Jr){var F=w;return this.__actions__.length&&(F=new Jr(this)),F=F.reverse(),F.__actions__.push({func:Gi,args:[Bf],thisArg:i}),new xr(F,this.__chain__)}return this.thru(Bf)}function m(){return bf(this.__wrapped__,this.__actions__)}var E=Tl(function(w,F,fe){$i.call(w,fe)?++w[fe]:ha(w,fe,1)});function I(w,F,fe){var Be=Ja(w)?Nn:Fl;return fe&&wo(w,F,fe)&&(F=i),Be(w,mn(F,3))}function z(w,F){var fe=Ja(w)?ts:Eu;return fe(w,mn(F,3))}var X=xf(Nc),W=xf(of);function le(w,F){return lo(sr(w,F),1)}function pe(w,F){return lo(sr(w,F),ee)}function Ee(w,F,fe){return fe=fe===i?1:Es(fe),lo(sr(w,F),fe)}function Oe(w,F){var fe=Ja(w)?is:to;return fe(w,mn(F,3))}function Ue(w,F){var fe=Ja(w)?mo:ao;return fe(w,mn(F,3))}var ut=Tl(function(w,F,fe){$i.call(w,fe)?w[fe].push(F):ha(w,fe,[F])});function lt(w,F,fe,Be){w=zu(w)?w:rd(w),fe=fe&&!Be?Es(fe):0;var yt=w.length;return fe<0&&(fe=Si(yt+fe,0)),_d(w)?fe<=yt&&w.indexOf(F,fe)>-1:!!yt&&Ao(w,F,fe)>-1}var Nt=Ya(function(w,F,fe){var Be=-1,yt=typeof F=="function",Qt=zu(w)?Rr(w.length):[];return to(w,function(vr){Qt[++Be]=yt?Ka(F,vr,fe):di(vr,F,fe)}),Qt}),pr=Tl(function(w,F,fe){ha(w,fe,F)});function sr(w,F){var fe=Ja(w)?Yi:$u;return fe(w,mn(F,3))}function Fr(w,F,fe,Be){return w==null?[]:(Ja(F)||(F=F==null?[]:[F]),fe=Be?i:fe,Ja(fe)||(fe=fe==null?[]:[fe]),jl(w,F,fe))}var Yr=Tl(function(w,F,fe){w[fe?0:1].push(F)},function(){return[[],[]]});function vn(w,F,fe){var Be=Ja(w)?Ha:as,yt=arguments.length<3;return Be(w,mn(F,4),fe,yt,to)}function Wr(w,F,fe){var Be=Ja(w)?Rs:as,yt=arguments.length<3;return Be(w,mn(F,4),fe,yt,ao)}function an(w,F){var fe=Ja(w)?ts:Eu;return fe(w,Tu(mn(F,3)))}function fn(w){var F=Ja(w)?ei:If;return F(w)}function Gr(w,F,fe){(fe?wo(w,F,fe):F===i)?F=1:F=Es(F);var Be=Ja(w)?Fi:Wc;return Be(w,F)}function Sn(w){var F=Ja(w)?Pa:zl;return F(w)}function yi(w){if(w==null)return 0;if(zu(w))return _d(w)?or(w):w.length;var F=zs(w);return F==Ge||F==ze?w.size:au(w).length}function Ji(w,F,fe){var Be=Ja(w)?vo:yf;return fe&&wo(w,F,fe)&&(F=i),Be(w,mn(F,3))}var da=Ya(function(w,F){if(w==null)return[];var fe=F.length;return fe>1&&wo(w,F[0],F[1])?F=[]:fe>2&&wo(F[0],F[1],F[2])&&(F=[F[0]]),jl(w,lo(F,1),[])}),Ei=ai||function(){return wa.Date.now()};function Ii(w,F){if(typeof F!="function")throw new Jt(o);return w=Es(w),function(){if(--w<1)return F.apply(this,arguments)}}function zi(w,F,fe){return F=fe?i:F,F=w&&F==null?w.length:F,Uu(w,K,i,i,i,i,F)}function Zi(w,F){var fe;if(typeof F!="function")throw new Jt(o);return w=Es(w),function(){return--w>0&&(fe=F.apply(this,arguments)),w<=1&&(F=i),fe}}var ya=Ya(function(w,F,fe){var Be=k;if(fe.length){var yt=Ds(fe,Yn(ya));Be|=B}return Uu(w,Be,F,fe,yt)}),Za=Ya(function(w,F,fe){var Be=k|R;if(fe.length){var yt=Ds(fe,Yn(Za));Be|=B}return Uu(F,Be,w,fe,yt)});function mi(w,F,fe){F=fe?i:F;var Be=Uu(w,P,i,i,i,i,i,F);return Be.placeholder=mi.placeholder,Be}function vi(w,F,fe){F=fe?i:F;var Be=Uu(w,M,i,i,i,i,i,F);return Be.placeholder=vi.placeholder,Be}function cs(w,F,fe){var Be,yt,Qt,vr,Lr,Xr,Fn=0,Bn=!1,qn=!1,Bi=!0;if(typeof w!="function")throw new Jt(o);F=Uc(F)||0,vu(fe)&&(Bn=!!fe.leading,qn="maxWait"in fe,Qt=qn?Si(Uc(fe.maxWait)||0,F):Qt,Bi="trailing"in fe?!!fe.trailing:Bi);function ma(Fu){var pf=Be,Zf=yt;return Be=yt=i,Fn=Fu,vr=w.apply(Zf,pf),vr}function Ua(Fu){return Fn=Fu,Lr=yc(Zs,F),Bn?ma(Fu):vr}function Ts(Fu){var pf=Fu-Xr,Zf=Fu-Fn,Gd=F-pf;return qn?Sa(Gd,Qt-Zf):Gd}function za(Fu){var pf=Fu-Xr,Zf=Fu-Fn;return Xr===i||pf>=F||pf<0||qn&&Zf>=Qt}function Zs(){var Fu=Ei();if(za(Fu))return Js(Fu);Lr=yc(Zs,Ts(Fu))}function Js(Fu){return Lr=i,Bi&&Be?ma(Fu):(Be=yt=i,vr)}function Ec(){Lr!==i&&Hl(Lr),Fn=0,Be=Xr=yt=Lr=i}function Ll(){return Lr===i?vr:Js(Ei())}function wc(){var Fu=Ei(),pf=za(Fu);if(Be=arguments,yt=this,Xr=Fu,pf){if(Lr===i)return Ua(Xr);if(qn)return Hl(Lr),Lr=yc(Zs,F),ma(Xr)}return Lr===i&&(Lr=yc(Zs,F)),vr}return wc.cancel=Ec,wc.flush=Ll,wc}var po=Ya(function(w,F){return xu(w,1,F)}),xs=Ya(function(w,F,fe){return xu(w,Uc(F)||0,fe)});function qs(w){return Uu(w,H)}function Lu(w,F){if(typeof w!="function"||F!=null&&typeof F!="function")throw new Jt(o);var fe=function(){var Be=arguments,yt=F?F.apply(this,Be):Be[0],Qt=fe.cache;if(Qt.has(yt))return Qt.get(yt);var vr=w.apply(this,Be);return fe.cache=Qt.set(yt,vr)||Qt,vr};return fe.cache=new(Lu.Cache||el),fe}Lu.Cache=el;function Tu(w){if(typeof w!="function")throw new Jt(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 rc(w){return Zi(2,w)}var jc=ju(function(w,F){F=F.length==1&&Ja(F[0])?Yi(F[0],Ls(mn())):Yi(lo(F,1),Ls(mn()));var fe=F.length;return Ya(function(Be){for(var yt=-1,Qt=Sa(Be.length,fe);++yt<Qt;)Be[yt]=F[yt].call(this,Be[yt]);return Ka(w,this,Be)})}),hf=Ya(function(w,F){var fe=Ds(F,Yn(hf));return Uu(w,B,i,F,fe)}),cd=Ya(function(w,F){var fe=Ds(F,Yn(cd));return Uu(w,N,i,F,fe)}),od=D(function(w,F){return Uu(w,G,i,i,i,F)});function ud(w,F){if(typeof w!="function")throw new Jt(o);return F=F===i?F:Es(F),Ya(w,F)}function Pd(w,F){if(typeof w!="function")throw new Jt(o);return F=F==null?0:Si(Es(F),0),Ya(function(fe){var Be=fe[F],yt=ho(fe,0,F);return Be&&Xa(yt,Be),Ka(w,this,yt)})}function no(w,F,fe){var Be=!0,yt=!0;if(typeof w!="function")throw new Jt(o);return vu(fe)&&(Be="leading"in fe?!!fe.leading:Be,yt="trailing"in fe?!!fe.trailing:yt),cs(w,F,{leading:Be,maxWait:F,trailing:yt})}function sl(w){return zi(w,1)}function nc(w,F){return hf(Xc(F),w)}function Nf(){if(!arguments.length)return[];var w=arguments[0];return Ja(w)?w:[w]}function bc(w){return Ai(w,_)}function Gf(w,F){return F=typeof F=="function"?F:i,Ai(w,_,F)}function $f(w){return Ai(w,p|_)}function fd(w,F){return F=typeof F=="function"?F:i,Ai(w,p|_,F)}function ed(w,F){return F==null||Po(w,F,ol(F))}function ic(w,F){return w===F||w!==w&&F!==F}var Qf=_u(iu),dd=_u(function(w,F){return w>=F}),jf=Ac(function(){return arguments}())?Ac:function(w){return Pu(w)&&$i.call(w,"callee")&&!Vt.call(w,"callee")},Ja=Rr.isArray,hd=ws?Ls(ws):Io;function zu(w){return w!=null&&pd(w.length)&&!Uf(w)}function Mu(w){return Pu(w)&&zu(w)}function Yd(w){return w===!0||w===!1||Pu(w)&&ro(w)==Ft}var Vf=Xi||Td,Xd=fs?Ls(fs):lc;function Qd(w){return Pu(w)&&w.nodeType===1&&!ld(w)}function qd(w){if(w==null)return!0;if(zu(w)&&(Ja(w)||typeof w=="string"||typeof w.splice=="function"||Vf(w)||td(w)||jf(w)))return!w.length;var F=zs(w);if(F==Ge||F==ze)return!w.size;if(Ru(w))return!au(w).length;for(var fe in w)if($i.call(w,fe))return!1;return!0}function Jd(w,F){return wu(w,F)}function e0(w,F,fe){fe=typeof fe=="function"?fe:i;var Be=fe?fe(w,F):i;return Be===i?wu(w,F,i,fe):!!Be}function vd(w){if(!Pu(w))return!1;var F=ro(w);return F==rr||F==Dt||typeof w.message=="string"&&typeof w.name=="string"&&!ld(w)}function t0(w){return typeof w=="number"&&ki(w)}function Uf(w){if(!vu(w))return!1;var F=ro(w);return F==Xt||F==fr||F==Ne||F==dt}function Id(w){return typeof w=="number"&&w==Es(w)}function pd(w){return typeof w=="number"&&w>-1&&w%1==0&&w<=Q}function vu(w){var F=typeof w;return w!=null&&(F=="object"||F=="function")}function Pu(w){return w!=null&&typeof w=="object"}var Dd=Ys?Ls(Ys):Eo;function r0(w,F){return w===F||mf(w,F,Wa(F))}function n0(w,F,fe){return fe=typeof fe=="function"?fe:i,mf(w,F,Wa(F),fe)}function i0(w){return Od(w)&&w!=+w}function a0(w){if(kl(w))throw new Tn(f);return zc(w)}function s0(w){return w===null}function o0(w){return w==null}function Od(w){return typeof w=="number"||Pu(w)&&ro(w)==Tt}function ld(w){if(!Pu(w)||ro(w)!=nt)return!1;var F=Qe(w);if(F===null)return!0;var fe=$i.call(F,"constructor")&&F.constructor;return typeof fe=="function"&&fe instanceof fe&&Ns.call(fe)==Fa}var gd=ea?Ls(ea):Us;function u0(w){return Id(w)&&w>=-Q&&w<=Q}var kd=Bs?Ls(Bs):vf;function _d(w){return typeof w=="string"||!Ja(w)&&Pu(w)&&ro(w)==ge}function xc(w){return typeof w=="symbol"||Pu(w)&&ro(w)==Se}var td=Vo?Ls(Vo):gf;function l0(w){return w===i}function c0(w){return Pu(w)&&zs(w)==$e}function f0(w){return Pu(w)&&ro(w)==We}var d0=_u(Al),h0=_u(function(w,F){return w<=F});function Rd(w){if(!w)return[];if(zu(w))return _d(w)?mr(w):uu(w);if(Zr&&w[Zr])return Du(w[Zr]());var F=zs(w),fe=F==Ge?Qo:F==ze?Wo:rd;return fe(w)}function zf(w){if(!w)return w===0?w:0;if(w=Uc(w),w===ee||w===-ee){var F=w<0?-1:1;return F*ue}return w===w?w:0}function Es(w){var F=zf(w),fe=F%1;return F===F?fe?F-fe:F:0}function Ld(w){return w?Xs(Es(w),0,$):0}function Uc(w){if(typeof w=="number")return w;if(xc(w))return U;if(vu(w)){var F=typeof w.valueOf=="function"?w.valueOf():w;w=vu(F)?F+"":F}if(typeof w!="string")return w===0?w:+w;w=du(w);var fe=ur.test(w);return fe||_t.test(w)?Qi(w.slice(2),fe?2:8):hn.test(w)?U:+w}function Md(w){return Yu(w,ac(w))}function p0(w){return w?Xs(Es(w),-Q,Q):w===0?w:0}function So(w){return w==null?"":jo(w)}var _0=hl(function(w,F){if(Ru(F)||zu(F)){Yu(F,ol(F),w);return}for(var fe in F)$i.call(F,fe)&&Aa(w,fe,F[fe])}),Fd=hl(function(w,F){Yu(F,ac(F),w)}),md=hl(function(w,F,fe,Be){Yu(F,ac(F),w,Be)}),m0=hl(function(w,F,fe,Be){Yu(F,ol(F),w,Be)}),v0=D(io);function g0(w,F){var fe=Ar(w);return F==null?fe:js(fe,F)}var y0=Ya(function(w,F){w=Wn(w);var fe=-1,Be=F.length,yt=Be>2?F[2]:i;for(yt&&wo(F[0],F[1],yt)&&(Be=1);++fe<Be;)for(var Qt=F[fe],vr=ac(Qt),Lr=-1,Xr=vr.length;++Lr<Xr;){var Fn=vr[Lr],Bn=w[Fn];(Bn===i||ic(Bn,Ta[Fn])&&!$i.call(w,Fn))&&(w[Fn]=Qt[Fn])}return w}),b0=Ya(function(w){return w.push(i,mc),Ka(Bd,i,w)});function x0(w,F){return rs(w,mn(F,3),$o)}function E0(w,F){return rs(w,mn(F,3),wl)}function w0(w,F){return w==null?w:ll(w,mn(F,3),ac)}function S0(w,F){return w==null?w:Zu(w,mn(F,3),ac)}function A0(w,F){return w&&$o(w,mn(F,3))}function C0(w,F){return w&&wl(w,mn(F,3))}function T0(w){return w==null?[]:Bl(w,ol(w))}function P0(w){return w==null?[]:Bl(w,ac(w))}function yd(w,F,fe){var Be=w==null?i:nu(w,F);return Be===i?fe:Be}function I0(w,F){return w!=null&&vc(w,F,cl)}function bd(w,F){return w!=null&&vc(w,F,oc)}var D0=Jc(function(w,F,fe){F!=null&&typeof F.toString!="function"&&(F=Ms.call(F)),w[F]=fe},Ed(sc)),O0=Jc(function(w,F,fe){F!=null&&typeof F.toString!="function"&&(F=Ms.call(F)),$i.call(w,F)?w[F].push(fe):w[F]=[fe]},mn),k0=Ya(di);function ol(w){return zu(w)?Kn(w):au(w)}function ac(w){return zu(w)?Kn(w,!0):Cc(w)}function R0(w,F){var fe={};return F=mn(F,3),$o(w,function(Be,yt,Qt){ha(fe,F(Be,yt,Qt),Be)}),fe}function L0(w,F){var fe={};return F=mn(F,3),$o(w,function(Be,yt,Qt){ha(fe,yt,F(Be,yt,Qt))}),fe}var M0=hl(function(w,F,fe){qo(w,F,fe)}),Bd=hl(function(w,F,fe,Be){qo(w,F,fe,Be)}),F0=D(function(w,F){var fe={};if(w==null)return fe;var Be=!1;F=Yi(F,function(Qt){return Qt=rl(Qt,w),Be||(Be=Qt.length>1),Qt}),Yu(w,me(w),fe),Be&&(fe=Ai(fe,p|y|_,Yl));for(var yt=F.length;yt--;)Oc(fe,F[yt]);return fe});function B0(w,F){return Nd(w,Tu(mn(F)))}var N0=D(function(w,F){return w==null?{}:Su(w,F)});function Nd(w,F){if(w==null)return{};var fe=Yi(me(w),function(Be){return[Be]});return F=mn(F),Hc(w,fe,function(Be,yt){return F(Be,yt[0])})}function $0(w,F,fe){F=rl(F,w);var Be=-1,yt=F.length;for(yt||(yt=1,w=i);++Be<yt;){var Qt=w==null?i:w[aa(F[Be])];Qt===i&&(Be=yt,Qt=fe),w=Uf(Qt)?Qt.call(w):Qt}return w}function j0(w,F,fe){return w==null?w:Gu(w,F,fe)}function U0(w,F,fe,Be){return Be=typeof Be=="function"?Be:i,w==null?w:Gu(w,F,fe,Be)}var $d=bl(ol),jd=bl(ac);function z0(w,F,fe){var Be=Ja(w),yt=Be||Vf(w)||td(w);if(F=mn(F,4),fe==null){var Qt=w&&w.constructor;yt?fe=Be?new Qt:[]:vu(w)?fe=Uf(Qt)?Ar(Qe(w)):{}:fe={}}return(yt?is:$o)(w,function(vr,Lr,Xr){return F(fe,vr,Lr,Xr)}),fe}function Z0(w,F){return w==null?!0:Oc(w,F)}function H0(w,F,fe){return w==null?w:fl(w,F,Xc(fe))}function W0(w,F,fe,Be){return Be=typeof Be=="function"?Be:i,w==null?w:fl(w,F,Xc(fe),Be)}function rd(w){return w==null?[]:tu(w,ol(w))}function G0(w){return w==null?[]:tu(w,ac(w))}function V0(w,F,fe){return fe===i&&(fe=F,F=i),fe!==i&&(fe=Uc(fe),fe=fe===fe?fe:0),F!==i&&(F=Uc(F),F=F===F?F:0),Xs(Uc(w),F,fe)}function K0(w,F,fe){return F=zf(F),fe===i?(fe=F,F=0):fe=zf(fe),w=Uc(w),Hu(w,F,fe)}function Y0(w,F,fe){if(fe&&typeof fe!="boolean"&&wo(w,F,fe)&&(F=fe=i),fe===i&&(typeof F=="boolean"?(fe=F,F=i):typeof w=="boolean"&&(fe=w,w=i)),w===i&&F===i?(w=0,F=1):(w=zf(w),F===i?(F=w,w=0):F=zf(F)),w>F){var Be=w;w=F,F=Be}if(fe||w%1||F%1){var yt=na();return Sa(w+yt*(F-w+pi("1e-"+((yt+"").length-1))),F)}return Wu(w,F)}var X0=yl(function(w,F,fe){return F=F.toLowerCase(),w+(fe?Ud(F):F)});function Ud(w){return xd(So(w).toLowerCase())}function zd(w){return w=So(w),w&&w.replace(jt,Fo).replace(kr,"")}function Q0(w,F,fe){w=So(w),F=jo(F);var Be=w.length;fe=fe===i?Be:Xs(Es(fe),0,Be);var yt=fe;return fe-=F.length,fe>=0&&w.slice(fe,yt)==F}function q0(w){return w=So(w),w&&ct.test(w)?w.replace(Pt,_o):w}function J0(w){return w=So(w),w&&Lt.test(w)?w.replace(mt,"\\$&"):w}var eh=yl(function(w,F,fe){return w+(fe?"-":"")+F.toLowerCase()}),th=yl(function(w,F,fe){return w+(fe?" ":"")+F.toLowerCase()}),rh=ku("toLowerCase");function nh(w,F,fe){w=So(w),F=Es(F);var Be=F?or(w):0;if(!F||Be>=F)return w;var yt=(F-Be)/2;return eu(Mi(yt),fe)+w+eu(Pi(yt),fe)}function ih(w,F,fe){w=So(w),F=Es(F);var Be=F?or(w):0;return F&&Be<F?w+eu(F-Be,fe):w}function ah(w,F,fe){w=So(w),F=Es(F);var Be=F?or(w):0;return F&&Be<F?eu(F-Be,fe)+w:w}function sh(w,F,fe){return fe||F==null?F=0:F&&(F=+F),Gs(So(w).replace(Fe,""),F||0)}function oh(w,F,fe){return(fe?wo(w,F,fe):F===i)?F=1:F=Es(F),Cl(So(w),F)}function uh(){var w=arguments,F=So(w[0]);return w.length<3?F:F.replace(w[1],w[2])}var lh=yl(function(w,F,fe){return w+(fe?"_":"")+F.toLowerCase()});function ch(w,F,fe){return fe&&typeof fe!="number"&&wo(w,F,fe)&&(F=fe=i),fe=fe===i?$:fe>>>0,fe?(w=So(w),w&&(typeof F=="string"||F!=null&&!gd(F))&&(F=jo(F),!F&&Oo(w))?ho(mr(w),0,fe):w.split(F,fe)):[]}var fh=yl(function(w,F,fe){return w+(fe?" ":"")+xd(F)});function dh(w,F,fe){return w=So(w),fe=fe==null?0:Xs(Es(fe),0,w.length),F=jo(F),w.slice(fe,fe+F.length)==F}function hh(w,F,fe){var Be=we.templateSettings;fe&&wo(w,F,fe)&&(F=i),w=So(w),F=md({},F,Be,_c);var yt=md({},F.imports,Be.imports,_c),Qt=ol(yt),vr=tu(yt,Qt),Lr,Xr,Fn=0,Bn=F.interpolate||Cr,qn="__p += '",Bi=Li((F.escape||Cr).source+"|"+Bn.source+"|"+(Bn===Ie?Ur:Cr).source+"|"+(F.evaluate||Cr).source+"|$","g"),ma="//# sourceURL="+($i.call(F,"sourceURL")?(F.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++on+"]")+`
|
|
|
`;w.replace(Bi,function(za,Zs,Js,Ec,Ll,wc){return Js||(Js=Ec),qn+=w.slice(Fn,wc).replace(yr,gu),Zs&&(Lr=!0,qn+=`' +
|
|
|
__e(`+Zs+`) +
|
|
|
'`),Ll&&(Xr=!0,qn+=`';
|
|
|
`+Ll+`;
|
|
|
__p += '`),Js&&(qn+=`' +
|
|
|
((__t = (`+Js+`)) == null ? '' : __t) +
|
|
|
'`),Fn=wc+za.length,za}),qn+=`';
|
|
|
`;var Ua=$i.call(F,"variable")&&F.variable;if(!Ua)qn=`with (obj) {
|
|
|
`+qn+`
|
|
|
}
|
|
|
`;else if(Nr.test(Ua))throw new Tn(h);qn=(Xr?qn.replace(Gt,""):qn).replace(Me,"$1").replace(ce,"$1;"),qn="function("+(Ua||"obj")+`) {
|
|
|
`+(Ua?"":`obj || (obj = {});
|
|
|
`)+"var __t, __p = ''"+(Lr?", __e = _.escape":"")+(Xr?`, __j = Array.prototype.join;
|
|
|
function print() { __p += __j.call(arguments, '') }
|
|
|
`:`;
|
|
|
`)+qn+`return __p
|
|
|
}`;var Ts=Hd(function(){return ht(Qt,ma+"return "+qn).apply(i,vr)});if(Ts.source=qn,vd(Ts))throw Ts;return Ts}function ph(w){return So(w).toLowerCase()}function _h(w){return So(w).toUpperCase()}function mh(w,F,fe){if(w=So(w),w&&(fe||F===i))return du(w);if(!w||!(F=jo(F)))return w;var Be=mr(w),yt=mr(F),Qt=Iu(Be,yt),vr=Mo(Be,yt)+1;return ho(Be,Qt,vr).join("")}function vh(w,F,fe){if(w=So(w),w&&(fe||F===i))return w.slice(0,Tr(w)+1);if(!w||!(F=jo(F)))return w;var Be=mr(w),yt=Mo(Be,mr(F))+1;return ho(Be,0,yt).join("")}function gh(w,F,fe){if(w=So(w),w&&(fe||F===i))return w.replace(Fe,"");if(!w||!(F=jo(F)))return w;var Be=mr(w),yt=Iu(Be,mr(F));return ho(Be,yt).join("")}function yh(w,F){var fe=ae,Be=ne;if(vu(F)){var yt="separator"in F?F.separator:yt;fe="length"in F?Es(F.length):fe,Be="omission"in F?jo(F.omission):Be}w=So(w);var Qt=w.length;if(Oo(w)){var vr=mr(w);Qt=vr.length}if(fe>=Qt)return w;var Lr=fe-or(Be);if(Lr<1)return Be;var Xr=vr?ho(vr,0,Lr).join(""):w.slice(0,Lr);if(yt===i)return Xr+Be;if(vr&&(Lr+=Xr.length-Lr),gd(yt)){if(w.slice(Lr).search(yt)){var Fn,Bn=Xr;for(yt.global||(yt=Li(yt.source,So(cn.exec(yt))+"g")),yt.lastIndex=0;Fn=yt.exec(Bn);)var qn=Fn.index;Xr=Xr.slice(0,qn===i?Lr:qn)}}else if(w.indexOf(jo(yt),Lr)!=Lr){var Bi=Xr.lastIndexOf(yt);Bi>-1&&(Xr=Xr.slice(0,Bi))}return Xr+Be}function bh(w){return w=So(w),w&&Te.test(w)?w.replace(he,gn):w}var xh=yl(function(w,F,fe){return w+(fe?" ":"")+F.toUpperCase()}),xd=ku("toUpperCase");function Zd(w,F,fe){return w=So(w),F=fe?i:F,F===i?Bo(w)?Hn(w):Yo(w):w.match(F)||[]}var Hd=Ya(function(w,F){try{return Ka(w,i,F)}catch(fe){return vd(fe)?fe:new Tn(fe)}}),Eh=D(function(w,F){return is(F,function(fe){fe=aa(fe),ha(w,fe,ya(w[fe],w))}),w});function wh(w){var F=w==null?0:w.length,fe=mn();return w=F?Yi(w,function(Be){if(typeof Be[1]!="function")throw new Jt(o);return[fe(Be[0]),Be[1]]}):[],Ya(function(Be){for(var yt=-1;++yt<F;){var Qt=w[yt];if(Ka(Qt[0],this,Be))return Ka(Qt[1],this,Be)}})}function Sh(w){return Ro(Ai(w,p))}function Ed(w){return function(){return w}}function Ah(w,F){return w==null||w!==w?F:w}var Ch=lu(),Th=lu(!0);function sc(w){return w}function wd(w){return Zc(typeof w=="function"?w:Ai(w,p))}function Ph(w){return $l(Ai(w,p))}function Ih(w,F){return co(w,Ai(F,p))}var Dh=Ya(function(w,F){return function(fe){return di(fe,w,F)}}),Oh=Ya(function(w,F){return function(fe){return di(w,fe,F)}});function Sd(w,F,fe){var Be=ol(F),yt=Bl(F,Be);fe==null&&!(vu(F)&&(yt.length||!Be.length))&&(fe=F,F=w,w=this,yt=Bl(F,ol(F)));var Qt=!(vu(fe)&&"chain"in fe)||!!fe.chain,vr=Uf(w);return is(yt,function(Lr){var Xr=F[Lr];w[Lr]=Xr,vr&&(w.prototype[Lr]=function(){var Fn=this.__chain__;if(Qt||Fn){var Bn=w(this.__wrapped__),qn=Bn.__actions__=uu(this.__actions__);return qn.push({func:Xr,args:arguments,thisArg:w}),Bn.__chain__=Fn,Bn}return Xr.apply(w,Xa([this.value()],arguments))})}),w}function kh(){return wa._===this&&(wa._=Os),this}function Ad(){}function Rh(w){return w=Es(w),Ya(function(F){return Tc(F,w)})}var Lh=Vl(Yi),Mh=Vl(Nn),Fh=Vl(vo);function Wd(w){return bs(w)?xi(aa(w)):Pc(w)}function Bh(w){return function(F){return w==null?i:nu(w,F)}}var Nh=Kl(),$h=Kl(!0);function Cd(){return[]}function Td(){return!1}function jh(){return{}}function Uh(){return""}function zh(){return!0}function Zh(w,F){if(w=Es(w),w<1||w>Q)return[];var fe=$,Be=Sa(w,$);F=mn(F),w-=$;for(var yt=go(Be,F);++fe<w;)F(fe);return yt}function Hh(w){return Ja(w)?Yi(w,aa):xc(w)?[w]:uu(Ba(So(w)))}function Wh(w){var F=++Co;return So(w)+F}var Gh=Gl(function(w,F){return w+F},0),Vh=Il("ceil"),Kh=Gl(function(w,F){return w/F},1),Yh=Il("floor");function Xh(w){return w&&w.length?gl(w,sc,iu):i}function Qh(w,F){return w&&w.length?gl(w,mn(F,2),iu):i}function qh(w){return Xo(w,sc)}function Jh(w,F){return Xo(w,mn(F,2))}function ep(w){return w&&w.length?gl(w,sc,Al):i}function tp(w,F){return w&&w.length?gl(w,mn(F,2),Al):i}var rp=Gl(function(w,F){return w*F},1),np=Il("round"),ip=Gl(function(w,F){return w-F},0);function ap(w){return w&&w.length?ss(w,sc):0}function sp(w,F){return w&&w.length?ss(w,mn(F,2)):0}return we.after=Ii,we.ary=zi,we.assign=_0,we.assignIn=Fd,we.assignInWith=md,we.assignWith=m0,we.at=v0,we.before=Zi,we.bind=ya,we.bindAll=Eh,we.bindKey=Za,we.castArray=Nf,we.chain=Un,we.chunk=ua,we.compact=Cs,we.concat=pl,we.cond=wh,we.conforms=Sh,we.constant=Ed,we.countBy=E,we.create=g0,we.curry=mi,we.curryRight=vi,we.debounce=cs,we.defaults=y0,we.defaultsDeep=b0,we.defer=po,we.delay=xs,we.difference=_l,we.differenceBy=il,we.differenceWith=ml,we.drop=El,we.dropRight=Kf,we.dropRightWhile=kf,we.dropWhile=tc,we.fill=wf,we.filter=z,we.flatMap=le,we.flatMapDeep=pe,we.flatMapDepth=Ee,we.flatten=Rf,we.flattenDeep=al,we.flattenDepth=Hf,we.flip=qs,we.flow=Ch,we.flowRight=Th,we.fromPairs=qu,we.functions=T0,we.functionsIn=P0,we.groupBy=ut,we.initial=Go,we.intersection=Sf,we.intersectionBy=Af,we.intersectionWith=vl,we.invert=D0,we.invertBy=O0,we.invokeMap=Nt,we.iteratee=wd,we.keyBy=pr,we.keys=ol,we.keysIn=ac,we.map=sr,we.mapKeys=R0,we.mapValues=L0,we.matches=Ph,we.matchesProperty=Ih,we.memoize=Lu,we.merge=M0,we.mergeWith=Bd,we.method=Dh,we.methodOf=Oh,we.mixin=Sd,we.negate=Tu,we.nthArg=Rh,we.omit=F0,we.omitBy=B0,we.once=rc,we.orderBy=Fr,we.over=Lh,we.overArgs=jc,we.overEvery=Mh,we.overSome=Fh,we.partial=hf,we.partialRight=cd,we.partition=Yr,we.pick=N0,we.pickBy=Nd,we.property=Wd,we.propertyOf=Bh,we.pull=lf,we.pullAll=cf,we.pullAllBy=Cf,we.pullAllWith=Tf,we.pullAt=Yf,we.range=Nh,we.rangeRight=$h,we.rearg=od,we.reject=an,we.remove=qf,we.rest=ud,we.reverse=Bf,we.sampleSize=Gr,we.set=j0,we.setWith=U0,we.shuffle=Sn,we.slice=nd,we.sortBy=da,we.sortedUniq=ff,we.sortedUniqBy=sd,we.split=ch,we.spread=Pd,we.tail=df,we.take=g,we.takeRight=C,we.takeRightWhile=j,we.takeWhile=ve,we.tap=Va,we.throttle=no,we.thru=Gi,we.toArray=Rd,we.toPairs=$d,we.toPairsIn=jd,we.toPath=Hh,we.toPlainObject=Md,we.transform=z0,we.unary=sl,we.union=Re,we.unionBy=st,we.unionWith=Bt,we.uniq=ir,we.uniqBy=Dr,we.uniqWith=_n,we.unset=Z0,we.unzip=Ci,we.unzipWith=$a,we.update=H0,we.updateWith=W0,we.values=rd,we.valuesIn=G0,we.without=Qn,we.words=Zd,we.wrap=nc,we.xor=ca,we.xorBy=Na,we.xorWith=ka,we.zip=en,we.zipObject=$r,we.zipObjectDeep=qr,we.zipWith=On,we.entries=$d,we.entriesIn=jd,we.extend=Fd,we.extendWith=md,Sd(we,we),we.add=Gh,we.attempt=Hd,we.camelCase=X0,we.capitalize=Ud,we.ceil=Vh,we.clamp=V0,we.clone=bc,we.cloneDeep=$f,we.cloneDeepWith=fd,we.cloneWith=Gf,we.conformsTo=ed,we.deburr=zd,we.defaultTo=Ah,we.divide=Kh,we.endsWith=Q0,we.eq=ic,we.escape=q0,we.escapeRegExp=J0,we.every=I,we.find=X,we.findIndex=Nc,we.findKey=x0,we.findLast=W,we.findLastIndex=of,we.findLastKey=E0,we.floor=Yh,we.forEach=Oe,we.forEachRight=Ue,we.forIn=w0,we.forInRight=S0,we.forOwn=A0,we.forOwnRight=C0,we.get=yd,we.gt=Qf,we.gte=dd,we.has=I0,we.hasIn=bd,we.head=uf,we.identity=sc,we.includes=lt,we.indexOf=Lf,we.inRange=K0,we.invoke=k0,we.isArguments=jf,we.isArray=Ja,we.isArrayBuffer=hd,we.isArrayLike=zu,we.isArrayLikeObject=Mu,we.isBoolean=Yd,we.isBuffer=Vf,we.isDate=Xd,we.isElement=Qd,we.isEmpty=qd,we.isEqual=Jd,we.isEqualWith=e0,we.isError=vd,we.isFinite=t0,we.isFunction=Uf,we.isInteger=Id,we.isLength=pd,we.isMap=Dd,we.isMatch=r0,we.isMatchWith=n0,we.isNaN=i0,we.isNative=a0,we.isNil=o0,we.isNull=s0,we.isNumber=Od,we.isObject=vu,we.isObjectLike=Pu,we.isPlainObject=ld,we.isRegExp=gd,we.isSafeInteger=u0,we.isSet=kd,we.isString=_d,we.isSymbol=xc,we.isTypedArray=td,we.isUndefined=l0,we.isWeakMap=c0,we.isWeakSet=f0,we.join=$c,we.kebabCase=eh,we.last=fu,we.lastIndexOf=Mf,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=Cd,we.stubFalse=Td,we.stubObject=jh,we.stubString=Uh,we.stubTrue=zh,we.multiply=rp,we.nth=Ff,we.noConflict=kh,we.noop=Ad,we.now=Ei,we.pad=nh,we.padEnd=ih,we.padStart=ah,we.parseInt=sh,we.random=Y0,we.reduce=vn,we.reduceRight=Wr,we.repeat=oh,we.replace=uh,we.result=$0,we.round=np,we.runInContext=hr,we.sample=fn,we.size=yi,we.snakeCase=lh,we.some=Ji,we.sortedIndex=Xf,we.sortedIndexBy=Pf,we.sortedIndexOf=id,we.sortedLastIndex=Wf,we.sortedLastIndexBy=Jf,we.sortedLastIndexOf=ad,we.startCase=fh,we.startsWith=dh,we.subtract=ip,we.sum=ap,we.sumBy=sp,we.template=hh,we.times=Zh,we.toFinite=zf,we.toInteger=Es,we.toLength=Ld,we.toLower=ph,we.toNumber=Uc,we.toSafeInteger=p0,we.toString=So,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=xd,we.each=Oe,we.eachRight=Ue,we.first=uf,Sd(we,function(){var w={};return $o(we,function(F,fe){$i.call(we.prototype,fe)||(w[fe]=F)}),w}(),{chain:!1}),we.VERSION=l,is(["bind","bindKey","curry","curryRight","partial","partialRight"],function(w){we[w].placeholder=we}),is(["drop","take"],function(w,F){Jr.prototype[w]=function(fe){fe=fe===i?1:Si(Es(fe),0);var Be=this.__filtered__&&!F?new Jr(this):this.clone();return Be.__filtered__?Be.__takeCount__=Sa(fe,Be.__takeCount__):Be.__views__.push({size:Sa(fe,$),type:w+(Be.__dir__<0?"Right":"")}),Be},Jr.prototype[w+"Right"]=function(fe){return this.reverse()[w](fe).reverse()}}),is(["filter","map","takeWhile"],function(w,F){var fe=F+1,Be=fe==J||fe==se;Jr.prototype[w]=function(yt){var Qt=this.clone();return Qt.__iteratees__.push({iteratee:mn(yt,3),type:fe}),Qt.__filtered__=Qt.__filtered__||Be,Qt}}),is(["head","last"],function(w,F){var fe="take"+(F?"Right":"");Jr.prototype[w]=function(){return this[fe](1).value()[0]}}),is(["initial","tail"],function(w,F){var fe="drop"+(F?"":"Right");Jr.prototype[w]=function(){return this.__filtered__?new Jr(this):this[fe](1)}}),Jr.prototype.compact=function(){return this.filter(sc)},Jr.prototype.find=function(w){return this.filter(w).head()},Jr.prototype.findLast=function(w){return this.reverse().find(w)},Jr.prototype.invokeMap=Ya(function(w,F){return typeof w=="function"?new Jr(this):this.map(function(fe){return di(fe,w,F)})}),Jr.prototype.reject=function(w){return this.filter(Tu(mn(w)))},Jr.prototype.slice=function(w,F){w=Es(w);var fe=this;return fe.__filtered__&&(w>0||F<0)?new Jr(fe):(w<0?fe=fe.takeRight(-w):w&&(fe=fe.drop(w)),F!==i&&(F=Es(F),fe=F<0?fe.dropRight(-F):fe.take(F-w)),fe)},Jr.prototype.takeRightWhile=function(w){return this.reverse().takeWhile(w).reverse()},Jr.prototype.toArray=function(){return this.take($)},$o(Jr.prototype,function(w,F){var fe=/^(?:filter|find|map|reject)|While$/.test(F),Be=/^(?:head|last)$/.test(F),yt=we[Be?"take"+(F=="last"?"Right":""):F],Qt=Be||/^find/.test(F);yt&&(we.prototype[F]=function(){var vr=this.__wrapped__,Lr=Be?[1]:arguments,Xr=vr instanceof Jr,Fn=Lr[0],Bn=Xr||Ja(vr),qn=function(Zs){var Js=yt.apply(we,Xa([Zs],Lr));return Be&&Bi?Js[0]:Js};Bn&&fe&&typeof Fn=="function"&&Fn.length!=1&&(Xr=Bn=!1);var Bi=this.__chain__,ma=!!this.__actions__.length,Ua=Qt&&!Bi,Ts=Xr&&!ma;if(!Qt&&Bn){vr=Ts?vr:new Jr(this);var za=w.apply(vr,Lr);return za.__actions__.push({func:Gi,args:[qn],thisArg:i}),new xr(za,Bi)}return Ua&&Ts?w.apply(this,Lr):(za=this.thru(qn),Ua?Be?za.value()[0]:za.value():za)})}),is(["pop","push","shift","sort","splice","unshift"],function(w){var F=oa[w],fe=/^(?:push|sort|unshift)$/.test(w)?"tap":"thru",Be=/^(?:pop|shift)$/.test(w);we.prototype[w]=function(){var yt=arguments;if(Be&&!this.__chain__){var Qt=this.value();return F.apply(Ja(Qt)?Qt:[],yt)}return this[fe](function(vr){return F.apply(Ja(vr)?vr:[],yt)})}}),$o(Jr.prototype,function(w,F){var fe=we[F];if(fe){var Be=fe.name+"";$i.call(ko,Be)||(ko[Be]=[]),ko[Be].push({name:F,func:fe})}}),ko[Pl(i,R).name]=[{name:"wrapper",func:i}],Jr.prototype.clone=Dn,Jr.prototype.reverse=si,Jr.prototype.value=Vi,we.prototype.at=ja,we.prototype.chain=ms,we.prototype.commit=Ma,we.prototype.next=O,we.prototype.plant=n,we.prototype.reverse=s,we.prototype.toJSON=we.prototype.valueOf=we.prototype.value=m,we.prototype.first=we.prototype.head,Zr&&(we.prototype[Zr]=t),we},oi=li();wa._=oi,r=function(){return oi}.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(wt,Ie){for(var xt=0;xt<Ie.length;xt++){var be=Ie[xt];be.enumerable=be.enumerable||!1,be.configurable=!0,"value"in be&&(be.writable=!0),Object.defineProperty(wt,be.key,be)}}function e(wt,Ie,xt){return Ie&&v(wt.prototype,Ie),xt&&v(wt,xt),wt}function r(wt,Ie){if(wt){if(typeof wt=="string")return i(wt,Ie);var xt=Object.prototype.toString.call(wt).slice(8,-1);if(xt==="Object"&&wt.constructor&&(xt=wt.constructor.name),xt==="Map"||xt==="Set")return Array.from(wt);if(xt==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(xt))return i(wt,Ie)}}function i(wt,Ie){(Ie==null||Ie>wt.length)&&(Ie=wt.length);for(var xt=0,be=new Array(Ie);xt<Ie;xt++)be[xt]=wt[xt];return be}function l(wt,Ie){var xt=typeof Symbol!="undefined"&&wt[Symbol.iterator]||wt["@@iterator"];if(xt)return(xt=xt.call(wt)).next.bind(xt);if(Array.isArray(wt)||(xt=r(wt))||Ie&&wt&&typeof wt.length=="number"){xt&&(wt=xt);var be=0;return function(){return be>=wt.length?{done:!0}:{done:!1,value:wt[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(wt){c.exports.defaults=wt}c.exports={defaults:f(),getDefaults:f,changeDefaults:o};var h=/[&<>"']/,u=/[&<>"']/g,a=/[<>"']|&(?!#?\w+;)/,x=/[<>"']|&(?!#?\w+;)/g,p={"&":"&","<":"<",">":">",'"':""","'":"'"},y=function(Ie){return p[Ie]};function _(wt,Ie){if(Ie){if(h.test(wt))return wt.replace(u,y)}else if(a.test(wt))return wt.replace(x,y);return wt}var b=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig;function S(wt){return wt.replace(b,function(Ie,xt){return xt=xt.toLowerCase(),xt==="colon"?":":xt.charAt(0)==="#"?xt.charAt(1)==="x"?String.fromCharCode(parseInt(xt.substring(2),16)):String.fromCharCode(+xt.substring(1)):""})}var k=/(^|[^\[])\^/g;function R(wt,Ie){wt=wt.source||wt,Ie=Ie||"";var xt={replace:function(Ye,mt){return mt=mt.source||mt,mt=mt.replace(k,"$1"),wt=wt.replace(Ye,mt),xt},getRegex:function(){return new RegExp(wt,Ie)}};return xt}var A=/[^\w:]/g,P=/^$|^[a-z][a-z0-9+.-]*:|^[?#]/i;function M(wt,Ie,xt){if(wt){var be;try{be=decodeURIComponent(S(xt)).replace(A,"").toLowerCase()}catch(Ye){return null}if(be.indexOf("javascript:")===0||be.indexOf("vbscript:")===0||be.indexOf("data:")===0)return null}Ie&&!P.test(xt)&&(xt=H(Ie,xt));try{xt=encodeURI(xt).replace(/%25/g,"%")}catch(Ye){return null}return xt}var B={},N=/^[^:]+:\/*[^/]*$/,K=/^([^:]+:)[\s\S]*$/,G=/^([^:]+:\/*[^/]*)[\s\S]*$/;function H(wt,Ie){B[" "+wt]||(N.test(wt)?B[" "+wt]=wt+"/":B[" "+wt]=q(wt,"/",!0)),wt=B[" "+wt];var xt=wt.indexOf(":")===-1;return Ie.substring(0,2)==="//"?xt?Ie:wt.replace(K,"$1")+Ie:Ie.charAt(0)==="/"?xt?Ie:wt.replace(G,"$1")+Ie:wt+Ie}var ae={exec:function(){}};function ne(wt){for(var Ie=1,xt,be;Ie<arguments.length;Ie++){xt=arguments[Ie];for(be in xt)Object.prototype.hasOwnProperty.call(xt,be)&&(wt[be]=xt[be])}return wt}function oe(wt,Ie){var xt=wt.replace(/\|/g,function(mt,Lt,Fe){for(var Or=!1,St=Lt;--St>=0&&Fe[St]==="\\";)Or=!Or;return Or?"|":" |"}),be=xt.split(/ \|/),Ye=0;if(be.length>Ie)be.splice(Ie);else for(;be.length<Ie;)be.push("");for(;Ye<be.length;Ye++)be[Ye]=be[Ye].trim().replace(/\\\|/g,"|");return be}function q(wt,Ie,xt){var be=wt.length;if(be===0)return"";for(var Ye=0;Ye<be;){var mt=wt.charAt(be-Ye-1);if(mt===Ie&&!xt)Ye++;else if(mt!==Ie&&xt)Ye++;else break}return wt.substr(0,be-Ye)}function J(wt,Ie){if(wt.indexOf(Ie[1])===-1)return-1;for(var xt=wt.length,be=0,Ye=0;Ye<xt;Ye++)if(wt[Ye]==="\\")Ye++;else if(wt[Ye]===Ie[0])be++;else if(wt[Ye]===Ie[1]&&(be--,be<0))return Ye;return-1}function V(wt){wt&&wt.sanitize&&!wt.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 se(wt,Ie){if(Ie<1)return"";for(var xt="";Ie>1;)Ie&1&&(xt+=wt),Ie>>=1,wt+=wt;return xt+wt}var ee={escape:_,unescape:S,edit:R,cleanUrl:M,resolveUrl:H,noopTest:ae,merge:ne,splitCells:oe,rtrim:q,findClosingBracket:J,checkSanitizeDeprecation:V,repeatString:se},Q=c.exports.defaults,ue=ee.rtrim,U=ee.splitCells,$=ee.escape,ie=ee.findClosingBracket;function _e(wt,Ie,xt){var be=Ie.href,Ye=Ie.title?$(Ie.title):null,mt=wt[1].replace(/\\([\[\]])/g,"$1");return wt[0].charAt(0)!=="!"?{type:"link",raw:xt,href:be,title:Ye,text:mt}:{type:"image",raw:xt,href:be,title:Ye,text:$(mt)}}function Pe(wt,Ie){var xt=wt.match(/^(\s+)(?:```)/);if(xt===null)return Ie;var be=xt[1];return Ie.split(`
|
|
|
`).map(function(Ye){var mt=Ye.match(/^\s+/);if(mt===null)return Ye;var Lt=mt[0];return Lt.length>=be.length?Ye.slice(be.length):Ye}).join(`
|
|
|
`)}var De=function(){function wt(xt){this.options=xt||Q}var Ie=wt.prototype;return Ie.space=function(be){var Ye=this.rules.block.newline.exec(be);if(Ye)return Ye[0].length>1?{type:"space",raw:Ye[0]}:{raw:`
|
|
|
`}},Ie.code=function(be){var Ye=this.rules.block.code.exec(be);if(Ye){var mt=Ye[0].replace(/^ {1,4}/gm,"");return{type:"code",raw:Ye[0],codeBlockStyle:"indented",text:this.options.pedantic?mt:ue(mt,`
|
|
|
`)}}},Ie.fences=function(be){var Ye=this.rules.block.fences.exec(be);if(Ye){var mt=Ye[0],Lt=Pe(mt,Ye[3]||"");return{type:"code",raw:mt,lang:Ye[2]?Ye[2].trim():Ye[2],text:Lt}}},Ie.heading=function(be){var Ye=this.rules.block.heading.exec(be);if(Ye){var mt=Ye[2].trim();if(/#$/.test(mt)){var Lt=ue(mt,"#");(this.options.pedantic||!Lt||/ $/.test(Lt))&&(mt=Lt.trim())}return{type:"heading",raw:Ye[0],depth:Ye[1].length,text:mt}}},Ie.nptable=function(be){var Ye=this.rules.block.nptable.exec(be);if(Ye){var mt={type:"table",header:U(Ye[1].replace(/^ *| *\| *$/g,"")),align:Ye[2].replace(/^ *|\| *$/g,"").split(/ *\| */),cells:Ye[3]?Ye[3].replace(/\n$/,"").split(`
|
|
|
`):[],raw:Ye[0]};if(mt.header.length===mt.align.length){var Lt=mt.align.length,Fe;for(Fe=0;Fe<Lt;Fe++)/^ *-+: *$/.test(mt.align[Fe])?mt.align[Fe]="right":/^ *:-+: *$/.test(mt.align[Fe])?mt.align[Fe]="center":/^ *:-+ *$/.test(mt.align[Fe])?mt.align[Fe]="left":mt.align[Fe]=null;for(Lt=mt.cells.length,Fe=0;Fe<Lt;Fe++)mt.cells[Fe]=U(mt.cells[Fe],mt.header.length);return mt}}},Ie.hr=function(be){var Ye=this.rules.block.hr.exec(be);if(Ye)return{type:"hr",raw:Ye[0]}},Ie.blockquote=function(be){var Ye=this.rules.block.blockquote.exec(be);if(Ye){var mt=Ye[0].replace(/^ *> ?/gm,"");return{type:"blockquote",raw:Ye[0],text:mt}}},Ie.list=function(be){var Ye=this.rules.block.list.exec(be);if(Ye){var mt=Ye[0],Lt=Ye[2],Fe=Lt.length>1,Or={type:"list",raw:mt,ordered:Fe,start:Fe?+Lt.slice(0,-1):"",loose:!1,items:[]},St=Ye[0].match(this.rules.block.item),Vr=!1,tn,wr,Nr,gr,Ur,cn,hn,ur,Rt,_t=St.length;Nr=this.rules.block.listItemStart.exec(St[0]);for(var vt=0;vt<_t;vt++){if(tn=St[vt],mt=tn,this.options.pedantic||(Rt=tn.match(new RegExp("\\n\\s*\\n {0,"+(Nr[0].length-1)+"}\\S")),Rt&&(Ur=tn.length-Rt.index+St.slice(vt+1).join(`
|
|
|
`).length,Or.raw=Or.raw.substring(0,Or.raw.length-Ur),tn=tn.substring(0,Rt.index),mt=tn,_t=vt+1)),vt!==_t-1){if(gr=this.rules.block.listItemStart.exec(St[vt+1]),this.options.pedantic?gr[1].length>Nr[1].length:gr[1].length>=Nr[0].length||gr[1].length>3){St.splice(vt,2,St[vt]+(!this.options.pedantic&&gr[1].length<Nr[0].length&&!St[vt].match(/\n$/)?"":`
|
|
|
`)+St[vt+1]),vt--,_t--;continue}else(!this.options.pedantic||this.options.smartLists?gr[2][gr[2].length-1]!==Lt[Lt.length-1]:Fe===(gr[2].length===1))&&(Ur=St.slice(vt+1).join(`
|
|
|
`).length,Or.raw=Or.raw.substring(0,Or.raw.length-Ur),vt=_t-1);Nr=gr}wr=tn.length,tn=tn.replace(/^ *([*+-]|\d+[.)]) ?/,""),~tn.indexOf(`
|
|
|
`)&&(wr-=tn.length,tn=this.options.pedantic?tn.replace(/^ {1,4}/gm,""):tn.replace(new RegExp("^ {1,"+wr+"}","gm"),"")),tn=ue(tn,`
|
|
|
`),vt!==_t-1&&(mt=mt+`
|
|
|
`),cn=Vr||/\n\n(?!\s*$)/.test(mt),vt!==_t-1&&(Vr=mt.slice(-2)===`
|
|
|
|
|
|
`,cn||(cn=Vr)),cn&&(Or.loose=!0),this.options.gfm&&(hn=/^\[[ xX]\] /.test(tn),ur=void 0,hn&&(ur=tn[1]!==" ",tn=tn.replace(/^\[[ xX]\] +/,""))),Or.items.push({type:"list_item",raw:mt,task:hn,checked:ur,loose:cn,text:tn})}return Or}},Ie.html=function(be){var Ye=this.rules.block.html.exec(be);if(Ye)return{type:this.options.sanitize?"paragraph":"html",raw:Ye[0],pre:!this.options.sanitizer&&(Ye[1]==="pre"||Ye[1]==="script"||Ye[1]==="style"),text:this.options.sanitize?this.options.sanitizer?this.options.sanitizer(Ye[0]):$(Ye[0]):Ye[0]}},Ie.def=function(be){var Ye=this.rules.block.def.exec(be);if(Ye){Ye[3]&&(Ye[3]=Ye[3].substring(1,Ye[3].length-1));var mt=Ye[1].toLowerCase().replace(/\s+/g," ");return{type:"def",tag:mt,raw:Ye[0],href:Ye[2],title:Ye[3]}}},Ie.table=function(be){var Ye=this.rules.block.table.exec(be);if(Ye){var mt={type:"table",header:U(Ye[1].replace(/^ *| *\| *$/g,"")),align:Ye[2].replace(/^ *|\| *$/g,"").split(/ *\| */),cells:Ye[3]?Ye[3].replace(/\n$/,"").split(`
|
|
|
`):[]};if(mt.header.length===mt.align.length){mt.raw=Ye[0];var Lt=mt.align.length,Fe;for(Fe=0;Fe<Lt;Fe++)/^ *-+: *$/.test(mt.align[Fe])?mt.align[Fe]="right":/^ *:-+: *$/.test(mt.align[Fe])?mt.align[Fe]="center":/^ *:-+ *$/.test(mt.align[Fe])?mt.align[Fe]="left":mt.align[Fe]=null;for(Lt=mt.cells.length,Fe=0;Fe<Lt;Fe++)mt.cells[Fe]=U(mt.cells[Fe].replace(/^ *\| *| *\| *$/g,""),mt.header.length);return mt}}},Ie.lheading=function(be){var Ye=this.rules.block.lheading.exec(be);if(Ye)return{type:"heading",raw:Ye[0],depth:Ye[2].charAt(0)==="="?1:2,text:Ye[1]}},Ie.paragraph=function(be){var Ye=this.rules.block.paragraph.exec(be);if(Ye)return{type:"paragraph",raw:Ye[0],text:Ye[1].charAt(Ye[1].length-1)===`
|
|
|
`?Ye[1].slice(0,-1):Ye[1]}},Ie.text=function(be){var Ye=this.rules.block.text.exec(be);if(Ye)return{type:"text",raw:Ye[0],text:Ye[0]}},Ie.escape=function(be){var Ye=this.rules.inline.escape.exec(be);if(Ye)return{type:"escape",raw:Ye[0],text:$(Ye[1])}},Ie.tag=function(be,Ye,mt){var Lt=this.rules.inline.tag.exec(be);if(Lt)return!Ye&&/^<a /i.test(Lt[0])?Ye=!0:Ye&&/^<\/a>/i.test(Lt[0])&&(Ye=!1),!mt&&/^<(pre|code|kbd|script)(\s|>)/i.test(Lt[0])?mt=!0:mt&&/^<\/(pre|code|kbd|script)(\s|>)/i.test(Lt[0])&&(mt=!1),{type:this.options.sanitize?"text":"html",raw:Lt[0],inLink:Ye,inRawBlock:mt,text:this.options.sanitize?this.options.sanitizer?this.options.sanitizer(Lt[0]):$(Lt[0]):Lt[0]}},Ie.link=function(be){var Ye=this.rules.inline.link.exec(be);if(Ye){var mt=Ye[2].trim();if(!this.options.pedantic&&/^</.test(mt)){if(!/>$/.test(mt))return;var Lt=ue(mt.slice(0,-1),"\\");if((mt.length-Lt.length)%2===0)return}else{var Fe=ie(Ye[2],"()");if(Fe>-1){var Or=Ye[0].indexOf("!")===0?5:4,St=Or+Ye[1].length+Fe;Ye[2]=Ye[2].substring(0,Fe),Ye[0]=Ye[0].substring(0,St).trim(),Ye[3]=""}}var Vr=Ye[2],tn="";if(this.options.pedantic){var wr=/^([^'"]*[^\s])\s+(['"])(.*)\2/.exec(Vr);wr&&(Vr=wr[1],tn=wr[3])}else tn=Ye[3]?Ye[3].slice(1,-1):"";return Vr=Vr.trim(),/^</.test(Vr)&&(this.options.pedantic&&!/>$/.test(mt)?Vr=Vr.slice(1):Vr=Vr.slice(1,-1)),_e(Ye,{href:Vr&&Vr.replace(this.rules.inline._escapes,"$1"),title:tn&&tn.replace(this.rules.inline._escapes,"$1")},Ye[0])}},Ie.reflink=function(be,Ye){var mt;if((mt=this.rules.inline.reflink.exec(be))||(mt=this.rules.inline.nolink.exec(be))){var Lt=(mt[2]||mt[1]).replace(/\s+/g," ");if(Lt=Ye[Lt.toLowerCase()],!Lt||!Lt.href){var Fe=mt[0].charAt(0);return{type:"text",raw:Fe,text:Fe}}return _e(mt,Lt,mt[0])}},Ie.emStrong=function(be,Ye,mt){mt===void 0&&(mt="");var Lt=this.rules.inline.emStrong.lDelim.exec(be);if(Lt&&!(Lt[3]&&mt.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=Lt[1]||Lt[2]||"";if(!Fe||Fe&&(mt===""||this.rules.inline.punctuation.exec(mt))){var Or=Lt[0].length-1,St,Vr,tn=Or,wr=0,Nr=Lt[0][0]==="*"?this.rules.inline.emStrong.rDelimAst:this.rules.inline.emStrong.rDelimUnd;for(Nr.lastIndex=0,Ye=Ye.slice(-1*be.length+Or);(Lt=Nr.exec(Ye))!=null;)if(St=Lt[1]||Lt[2]||Lt[3]||Lt[4]||Lt[5]||Lt[6],!!St){if(Vr=St.length,Lt[3]||Lt[4]){tn+=Vr;continue}else if((Lt[5]||Lt[6])&&Or%3&&!((Or+Vr)%3)){wr+=Vr;continue}if(tn-=Vr,!(tn>0))return Vr=Math.min(Vr,Vr+tn+wr),Math.min(Or,Vr)%2?{type:"em",raw:be.slice(0,Or+Lt.index+Vr+1),text:be.slice(1,Or+Lt.index+Vr)}:{type:"strong",raw:be.slice(0,Or+Lt.index+Vr+1),text:be.slice(2,Or+Lt.index+Vr-1)}}}}},Ie.codespan=function(be){var Ye=this.rules.inline.code.exec(be);if(Ye){var mt=Ye[2].replace(/\n/g," "),Lt=/[^ ]/.test(mt),Fe=/^ /.test(mt)&&/ $/.test(mt);return Lt&&Fe&&(mt=mt.substring(1,mt.length-1)),mt=$(mt,!0),{type:"codespan",raw:Ye[0],text:mt}}},Ie.br=function(be){var Ye=this.rules.inline.br.exec(be);if(Ye)return{type:"br",raw:Ye[0]}},Ie.del=function(be){var Ye=this.rules.inline.del.exec(be);if(Ye)return{type:"del",raw:Ye[0],text:Ye[2]}},Ie.autolink=function(be,Ye){var mt=this.rules.inline.autolink.exec(be);if(mt){var Lt,Fe;return mt[2]==="@"?(Lt=$(this.options.mangle?Ye(mt[1]):mt[1]),Fe="mailto:"+Lt):(Lt=$(mt[1]),Fe=Lt),{type:"link",raw:mt[0],text:Lt,href:Fe,tokens:[{type:"text",raw:Lt,text:Lt}]}}},Ie.url=function(be,Ye){var mt;if(mt=this.rules.inline.url.exec(be)){var Lt,Fe;if(mt[2]==="@")Lt=$(this.options.mangle?Ye(mt[0]):mt[0]),Fe="mailto:"+Lt;else{var Or;do Or=mt[0],mt[0]=this.rules.inline._backpedal.exec(mt[0])[0];while(Or!==mt[0]);Lt=$(mt[0]),mt[1]==="www."?Fe="http://"+Lt:Fe=Lt}return{type:"link",raw:mt[0],text:Lt,href:Fe,tokens:[{type:"text",raw:Lt,text:Lt}]}}},Ie.inlineText=function(be,Ye,mt){var Lt=this.rules.inline.text.exec(be);if(Lt){var Fe;return Ye?Fe=this.options.sanitize?this.options.sanitizer?this.options.sanitizer(Lt[0]):$(Lt[0]):Lt[0]:Fe=$(this.options.smartypants?mt(Lt[0]):Lt[0]),{type:"text",raw:Lt[0],text:Fe}}},wt}(),He=ee.noopTest,Ne=ee.edit,Ft=ee.merge,gt={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:He,table:He,lheading:/^([^\n]+)\n {0,3}(=+|-+) *(?:\n+|$)/,_paragraph:/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html| +\n)[^\n]+)*)/,text:/^[^\n]+/};gt._label=/(?!\s*\])(?:\\[\[\]]|[^\[\]])+/,gt._title=/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/,gt.def=Ne(gt.def).replace("label",gt._label).replace("title",gt._title).getRegex(),gt.bullet=/(?:[*+-]|\d{1,9}[.)])/,gt.item=/^( *)(bull) ?[^\n]*(?:\n(?! *bull ?)[^\n]*)*/,gt.item=Ne(gt.item,"gm").replace(/bull/g,gt.bullet).getRegex(),gt.listItemStart=Ne(/^( *)(bull) */).replace("bull",gt.bullet).getRegex(),gt.list=Ne(gt.list).replace(/bull/g,gt.bullet).replace("hr","\\n+(?=\\1?(?:(?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$))").replace("def","\\n+(?="+gt.def.source+")").getRegex(),gt._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",gt._comment=/<!--(?!-?>)[\s\S]*?(?:-->|$)/,gt.html=Ne(gt.html,"i").replace("comment",gt._comment).replace("tag",gt._tag).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),gt.paragraph=Ne(gt._paragraph).replace("hr",gt.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",gt._tag).getRegex(),gt.blockquote=Ne(gt.blockquote).replace("paragraph",gt.paragraph).getRegex(),gt.normal=Ft({},gt),gt.gfm=Ft({},gt.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*|$)"}),gt.gfm.nptable=Ne(gt.gfm.nptable).replace("hr",gt.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",gt._tag).getRegex(),gt.gfm.table=Ne(gt.gfm.table).replace("hr",gt.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",gt._tag).getRegex(),gt.pedantic=Ft({},gt.normal,{html:Ne(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:"[^"]*"|'[^']*'|\\s[^'"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`).replace("comment",gt._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:He,paragraph:Ne(gt.normal._paragraph).replace("hr",gt.hr).replace("heading",` *#{1,6} *[^
|
|
|
]`).replace("lheading",gt.lheading).replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").getRegex()});var Dt={escape:/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,autolink:/^<(scheme:[^\s\x00-\x1f<>]*|email)>/,url:He,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:He,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(gt._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=Ft({},Dt),Dt.pedantic=Ft({},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=Ft({},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=Ft({},Dt.gfm,{br:Ne(Dt.br).replace("{2,}","*").getRegex(),text:Ne(Dt.gfm.text).replace("\\b_","\\b_| {2,}\\n").replace(/\{2,\}/g,"*").getRegex()});var rr={block:gt,inline:Dt},Xt=De,fr=c.exports.defaults,Ge=rr.block,Tt=rr.inline,zt=ee.repeatString;function nt(wt){return wt.replace(/---/g,"\u2014").replace(/--/g,"\u2013").replace(/(^|[-\u2014/(\[{"\s])'/g,"$1\u2018").replace(/'/g,"\u2019").replace(/(^|[-\u2014/(\[{\u2018\s])"/g,"$1\u201C").replace(/"/g,"\u201D").replace(/\.{3}/g,"\u2026")}function bt(wt){var Ie="",xt,be,Ye=wt.length;for(xt=0;xt<Ye;xt++)be=wt.charCodeAt(xt),Math.random()>.5&&(be="x"+be.toString(16)),Ie+="&#"+be+";";return Ie}var dt=function(){function wt(xt){this.tokens=[],this.tokens.links=Object.create(null),this.options=xt||fr,this.options.tokenizer=this.options.tokenizer||new Xt,this.tokenizer=this.options.tokenizer,this.tokenizer.options=this.options;var be={block:Ge.normal,inline:Tt.normal};this.options.pedantic?(be.block=Ge.pedantic,be.inline=Tt.pedantic):this.options.gfm&&(be.block=Ge.gfm,this.options.breaks?be.inline=Tt.breaks:be.inline=Tt.gfm),this.tokenizer.rules=be}wt.lex=function(be,Ye){var mt=new wt(Ye);return mt.lex(be)},wt.lexInline=function(be,Ye){var mt=new wt(Ye);return mt.inlineTokens(be)};var Ie=wt.prototype;return Ie.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},Ie.blockTokens=function(be,Ye,mt){Ye===void 0&&(Ye=[]),mt===void 0&&(mt=!0),this.options.pedantic&&(be=be.replace(/^ +$/gm,""));for(var Lt,Fe,Or,St;be;){if(Lt=this.tokenizer.space(be)){be=be.substring(Lt.raw.length),Lt.type&&Ye.push(Lt);continue}if(Lt=this.tokenizer.code(be)){be=be.substring(Lt.raw.length),St=Ye[Ye.length-1],St&&St.type==="paragraph"?(St.raw+=`
|
|
|
`+Lt.raw,St.text+=`
|
|
|
`+Lt.text):Ye.push(Lt);continue}if(Lt=this.tokenizer.fences(be)){be=be.substring(Lt.raw.length),Ye.push(Lt);continue}if(Lt=this.tokenizer.heading(be)){be=be.substring(Lt.raw.length),Ye.push(Lt);continue}if(Lt=this.tokenizer.nptable(be)){be=be.substring(Lt.raw.length),Ye.push(Lt);continue}if(Lt=this.tokenizer.hr(be)){be=be.substring(Lt.raw.length),Ye.push(Lt);continue}if(Lt=this.tokenizer.blockquote(be)){be=be.substring(Lt.raw.length),Lt.tokens=this.blockTokens(Lt.text,[],mt),Ye.push(Lt);continue}if(Lt=this.tokenizer.list(be)){for(be=be.substring(Lt.raw.length),Or=Lt.items.length,Fe=0;Fe<Or;Fe++)Lt.items[Fe].tokens=this.blockTokens(Lt.items[Fe].text,[],!1);Ye.push(Lt);continue}if(Lt=this.tokenizer.html(be)){be=be.substring(Lt.raw.length),Ye.push(Lt);continue}if(mt&&(Lt=this.tokenizer.def(be))){be=be.substring(Lt.raw.length),this.tokens.links[Lt.tag]||(this.tokens.links[Lt.tag]={href:Lt.href,title:Lt.title});continue}if(Lt=this.tokenizer.table(be)){be=be.substring(Lt.raw.length),Ye.push(Lt);continue}if(Lt=this.tokenizer.lheading(be)){be=be.substring(Lt.raw.length),Ye.push(Lt);continue}if(mt&&(Lt=this.tokenizer.paragraph(be))){be=be.substring(Lt.raw.length),Ye.push(Lt);continue}if(Lt=this.tokenizer.text(be)){be=be.substring(Lt.raw.length),St=Ye[Ye.length-1],St&&St.type==="text"?(St.raw+=`
|
|
|
`+Lt.raw,St.text+=`
|
|
|
`+Lt.text):Ye.push(Lt);continue}if(be){var Vr="Infinite loop on byte: "+be.charCodeAt(0);if(this.options.silent){console.error(Vr);break}else throw new Error(Vr)}}return Ye},Ie.inline=function(be){var Ye,mt,Lt,Fe,Or,St,Vr=be.length;for(Ye=0;Ye<Vr;Ye++)switch(St=be[Ye],St.type){case"paragraph":case"text":case"heading":{St.tokens=[],this.inlineTokens(St.text,St.tokens);break}case"table":{for(St.tokens={header:[],cells:[]},Fe=St.header.length,mt=0;mt<Fe;mt++)St.tokens.header[mt]=[],this.inlineTokens(St.header[mt],St.tokens.header[mt]);for(Fe=St.cells.length,mt=0;mt<Fe;mt++)for(Or=St.cells[mt],St.tokens.cells[mt]=[],Lt=0;Lt<Or.length;Lt++)St.tokens.cells[mt][Lt]=[],this.inlineTokens(Or[Lt],St.tokens.cells[mt][Lt]);break}case"blockquote":{this.inline(St.tokens);break}case"list":{for(Fe=St.items.length,mt=0;mt<Fe;mt++)this.inline(St.items[mt].tokens);break}}return be},Ie.inlineTokens=function(be,Ye,mt,Lt){Ye===void 0&&(Ye=[]),mt===void 0&&(mt=!1),Lt===void 0&&(Lt=!1);var Fe,Or,St=be,Vr,tn,wr;if(this.tokens.links){var Nr=Object.keys(this.tokens.links);if(Nr.length>0)for(;(Vr=this.tokenizer.rules.inline.reflinkSearch.exec(St))!=null;)Nr.includes(Vr[0].slice(Vr[0].lastIndexOf("[")+1,-1))&&(St=St.slice(0,Vr.index)+"["+zt("a",Vr[0].length-2)+"]"+St.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;(Vr=this.tokenizer.rules.inline.blockSkip.exec(St))!=null;)St=St.slice(0,Vr.index)+"["+zt("a",Vr[0].length-2)+"]"+St.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);for(;(Vr=this.tokenizer.rules.inline.escapedEmSt.exec(St))!=null;)St=St.slice(0,Vr.index)+"++"+St.slice(this.tokenizer.rules.inline.escapedEmSt.lastIndex);for(;be;){if(tn||(wr=""),tn=!1,Fe=this.tokenizer.escape(be)){be=be.substring(Fe.raw.length),Ye.push(Fe);continue}if(Fe=this.tokenizer.tag(be,mt,Lt)){be=be.substring(Fe.raw.length),mt=Fe.inLink,Lt=Fe.inRawBlock;var gr=Ye[Ye.length-1];gr&&Fe.type==="text"&&gr.type==="text"?(gr.raw+=Fe.raw,gr.text+=Fe.text):Ye.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,Lt)),Ye.push(Fe);continue}if(Fe=this.tokenizer.reflink(be,this.tokens.links)){be=be.substring(Fe.raw.length);var Ur=Ye[Ye.length-1];Fe.type==="link"?(Fe.tokens=this.inlineTokens(Fe.text,[],!0,Lt),Ye.push(Fe)):Ur&&Fe.type==="text"&&Ur.type==="text"?(Ur.raw+=Fe.raw,Ur.text+=Fe.text):Ye.push(Fe);continue}if(Fe=this.tokenizer.emStrong(be,St,wr)){be=be.substring(Fe.raw.length),Fe.tokens=this.inlineTokens(Fe.text,[],mt,Lt),Ye.push(Fe);continue}if(Fe=this.tokenizer.codespan(be)){be=be.substring(Fe.raw.length),Ye.push(Fe);continue}if(Fe=this.tokenizer.br(be)){be=be.substring(Fe.raw.length),Ye.push(Fe);continue}if(Fe=this.tokenizer.del(be)){be=be.substring(Fe.raw.length),Fe.tokens=this.inlineTokens(Fe.text,[],mt,Lt),Ye.push(Fe);continue}if(Fe=this.tokenizer.autolink(be,bt)){be=be.substring(Fe.raw.length),Ye.push(Fe);continue}if(!mt&&(Fe=this.tokenizer.url(be,bt))){be=be.substring(Fe.raw.length),Ye.push(Fe);continue}if(Fe=this.tokenizer.inlineText(be,Lt,nt)){be=be.substring(Fe.raw.length),Fe.raw.slice(-1)!=="_"&&(wr=Fe.raw.slice(-1)),tn=!0,Or=Ye[Ye.length-1],Or&&Or.type==="text"?(Or.raw+=Fe.raw,Or.text+=Fe.text):Ye.push(Fe);continue}if(be){var cn="Infinite loop on byte: "+be.charCodeAt(0);if(this.options.silent){console.error(cn);break}else throw new Error(cn)}}return Ye},e(wt,null,[{key:"rules",get:function(){return{block:Ge,inline:Tt}}}]),wt}(),et=c.exports.defaults,ze=ee.cleanUrl,ge=ee.escape,Se=function(){function wt(xt){this.options=xt||et}var Ie=wt.prototype;return Ie.code=function(be,Ye,mt){var Lt=(Ye||"").match(/\S*/)[0];if(this.options.highlight){var Fe=this.options.highlight(be,Lt);Fe!=null&&Fe!==be&&(mt=!0,be=Fe)}return be=be.replace(/\n$/,"")+`
|
|
|
`,Lt?'<pre><code class="'+this.options.langPrefix+ge(Lt,!0)+'">'+(mt?be:ge(be,!0))+`</code></pre>
|
|
|
`:"<pre><code>"+(mt?be:ge(be,!0))+`</code></pre>
|
|
|
`},Ie.blockquote=function(be){return`<blockquote>
|
|
|
`+be+`</blockquote>
|
|
|
`},Ie.html=function(be){return be},Ie.heading=function(be,Ye,mt,Lt){return this.options.headerIds?"<h"+Ye+' id="'+this.options.headerPrefix+Lt.slug(mt)+'">'+be+"</h"+Ye+`>
|
|
|
`:"<h"+Ye+">"+be+"</h"+Ye+`>
|
|
|
`},Ie.hr=function(){return this.options.xhtml?`<hr/>
|
|
|
`:`<hr>
|
|
|
`},Ie.list=function(be,Ye,mt){var Lt=Ye?"ol":"ul",Fe=Ye&&mt!==1?' start="'+mt+'"':"";return"<"+Lt+Fe+`>
|
|
|
`+be+"</"+Lt+`>
|
|
|
`},Ie.listitem=function(be){return"<li>"+be+`</li>
|
|
|
`},Ie.checkbox=function(be){return"<input "+(be?'checked="" ':"")+'disabled="" type="checkbox"'+(this.options.xhtml?" /":"")+"> "},Ie.paragraph=function(be){return"<p>"+be+`</p>
|
|
|
`},Ie.table=function(be,Ye){return Ye&&(Ye="<tbody>"+Ye+"</tbody>"),`<table>
|
|
|
<thead>
|
|
|
`+be+`</thead>
|
|
|
`+Ye+`</table>
|
|
|
`},Ie.tablerow=function(be){return`<tr>
|
|
|
`+be+`</tr>
|
|
|
`},Ie.tablecell=function(be,Ye){var mt=Ye.header?"th":"td",Lt=Ye.align?"<"+mt+' align="'+Ye.align+'">':"<"+mt+">";return Lt+be+"</"+mt+`>
|
|
|
`},Ie.strong=function(be){return"<strong>"+be+"</strong>"},Ie.em=function(be){return"<em>"+be+"</em>"},Ie.codespan=function(be){return"<code>"+be+"</code>"},Ie.br=function(){return this.options.xhtml?"<br/>":"<br>"},Ie.del=function(be){return"<del>"+be+"</del>"},Ie.link=function(be,Ye,mt){if(be=ze(this.options.sanitize,this.options.baseUrl,be),be===null)return mt;var Lt='<a href="'+ge(be)+'"';return Ye&&(Lt+=' title="'+Ye+'"'),Lt+=">"+mt+"</a>",Lt},Ie.image=function(be,Ye,mt){if(be=ze(this.options.sanitize,this.options.baseUrl,be),be===null)return mt;var Lt='<img src="'+be+'" alt="'+mt+'"';return Ye&&(Lt+=' title="'+Ye+'"'),Lt+=this.options.xhtml?"/>":">",Lt},Ie.text=function(be){return be},wt}(),Le=function(){function wt(){}var Ie=wt.prototype;return Ie.strong=function(be){return be},Ie.em=function(be){return be},Ie.codespan=function(be){return be},Ie.del=function(be){return be},Ie.html=function(be){return be},Ie.text=function(be){return be},Ie.link=function(be,Ye,mt){return""+mt},Ie.image=function(be,Ye,mt){return""+mt},Ie.br=function(){return""},wt}(),$e=function(){function wt(){this.seen={}}var Ie=wt.prototype;return Ie.serialize=function(be){return be.toLowerCase().trim().replace(/<[!\/a-z].*?>/ig,"").replace(/[\u2000-\u206F\u2E00-\u2E7F\\'!"#$%&()*+,./:;<=>?@[\]^`{|}~]/g,"").replace(/\s/g,"-")},Ie.getNextSafeSlug=function(be,Ye){var mt=be,Lt=0;if(this.seen.hasOwnProperty(mt)){Lt=this.seen[be];do Lt++,mt=be+"-"+Lt;while(this.seen.hasOwnProperty(mt))}return Ye||(this.seen[be]=Lt,this.seen[mt]=0),mt},Ie.slug=function(be,Ye){Ye===void 0&&(Ye={});var mt=this.serialize(be);return this.getNextSafeSlug(mt,Ye.dryrun)},wt}(),We=Se,rt=Le,ot=$e,Kt=c.exports.defaults,Wt=ee.unescape,Ce=function(){function wt(xt){this.options=xt||Kt,this.options.renderer=this.options.renderer||new We,this.renderer=this.options.renderer,this.renderer.options=this.options,this.textRenderer=new rt,this.slugger=new ot}wt.parse=function(be,Ye){var mt=new wt(Ye);return mt.parse(be)},wt.parseInline=function(be,Ye){var mt=new wt(Ye);return mt.parseInline(be)};var Ie=wt.prototype;return Ie.parse=function(be,Ye){Ye===void 0&&(Ye=!0);var mt="",Lt,Fe,Or,St,Vr,tn,wr,Nr,gr,Ur,cn,hn,ur,Rt,_t,vt,jt,Cr,yr=be.length;for(Lt=0;Lt<yr;Lt++)switch(Ur=be[Lt],Ur.type){case"space":continue;case"hr":{mt+=this.renderer.hr();continue}case"heading":{mt+=this.renderer.heading(this.parseInline(Ur.tokens),Ur.depth,Wt(this.parseInline(Ur.tokens,this.textRenderer)),this.slugger);continue}case"code":{mt+=this.renderer.code(Ur.text,Ur.lang,Ur.escaped);continue}case"table":{for(Nr="",wr="",St=Ur.header.length,Fe=0;Fe<St;Fe++)wr+=this.renderer.tablecell(this.parseInline(Ur.tokens.header[Fe]),{header:!0,align:Ur.align[Fe]});for(Nr+=this.renderer.tablerow(wr),gr="",St=Ur.cells.length,Fe=0;Fe<St;Fe++){for(tn=Ur.tokens.cells[Fe],wr="",Vr=tn.length,Or=0;Or<Vr;Or++)wr+=this.renderer.tablecell(this.parseInline(tn[Or]),{header:!1,align:Ur.align[Or]});gr+=this.renderer.tablerow(wr)}mt+=this.renderer.table(Nr,gr);continue}case"blockquote":{gr=this.parse(Ur.tokens),mt+=this.renderer.blockquote(gr);continue}case"list":{for(cn=Ur.ordered,hn=Ur.start,ur=Ur.loose,St=Ur.items.length,gr="",Fe=0;Fe<St;Fe++)_t=Ur.items[Fe],vt=_t.checked,jt=_t.task,Rt="",_t.task&&(Cr=this.renderer.checkbox(vt),ur?_t.tokens.length>0&&_t.tokens[0].type==="text"?(_t.tokens[0].text=Cr+" "+_t.tokens[0].text,_t.tokens[0].tokens&&_t.tokens[0].tokens.length>0&&_t.tokens[0].tokens[0].type==="text"&&(_t.tokens[0].tokens[0].text=Cr+" "+_t.tokens[0].tokens[0].text)):_t.tokens.unshift({type:"text",text:Cr}):Rt+=Cr),Rt+=this.parse(_t.tokens,ur),gr+=this.renderer.listitem(Rt,jt,vt);mt+=this.renderer.list(gr,cn,hn);continue}case"html":{mt+=this.renderer.html(Ur.text);continue}case"paragraph":{mt+=this.renderer.paragraph(this.parseInline(Ur.tokens));continue}case"text":{for(gr=Ur.tokens?this.parseInline(Ur.tokens):Ur.text;Lt+1<yr&&be[Lt+1].type==="text";)Ur=be[++Lt],gr+=`
|
|
|
`+(Ur.tokens?this.parseInline(Ur.tokens):Ur.text);mt+=Ye?this.renderer.paragraph(gr):gr;continue}default:{var nn='Token with "'+Ur.type+'" type was not found.';if(this.options.silent){console.error(nn);return}else throw new Error(nn)}}return mt},Ie.parseInline=function(be,Ye){Ye=Ye||this.renderer;var mt="",Lt,Fe,Or=be.length;for(Lt=0;Lt<Or;Lt++)switch(Fe=be[Lt],Fe.type){case"escape":{mt+=Ye.text(Fe.text);break}case"html":{mt+=Ye.html(Fe.text);break}case"link":{mt+=Ye.link(Fe.href,Fe.title,this.parseInline(Fe.tokens,Ye));break}case"image":{mt+=Ye.image(Fe.href,Fe.title,Fe.text);break}case"strong":{mt+=Ye.strong(this.parseInline(Fe.tokens,Ye));break}case"em":{mt+=Ye.em(this.parseInline(Fe.tokens,Ye));break}case"codespan":{mt+=Ye.codespan(Fe.text);break}case"br":{mt+=Ye.br();break}case"del":{mt+=Ye.del(this.parseInline(Fe.tokens,Ye));break}case"text":{mt+=Ye.text(Fe.text);break}default:{var St='Token with "'+Fe.type+'" type was not found.';if(this.options.silent){console.error(St);return}else throw new Error(St)}}return mt},wt}(),Je=dt,Yt=Ce,kt=De,Ht=Se,$t=Le,tr=$e,Gt=ee.merge,Me=ee.checkSanitizeDeprecation,ce=ee.escape,he=c.exports.getDefaults,Pt=c.exports.changeDefaults,Te=c.exports.defaults;function ct(wt,Ie,xt){if(typeof wt=="undefined"||wt===null)throw new Error("marked(): input parameter is undefined or null");if(typeof wt!="string")throw new Error("marked(): input parameter is of type "+Object.prototype.toString.call(wt)+", string expected");if(typeof Ie=="function"&&(xt=Ie,Ie=null),Ie=Gt({},ct.defaults,Ie||{}),Me(Ie),xt){var be=Ie.highlight,Ye;try{Ye=Je.lex(wt,Ie)}catch(Or){return xt(Or)}var mt=function(St){var Vr;if(!St)try{Ie.walkTokens&&ct.walkTokens(Ye,Ie.walkTokens),Vr=Yt.parse(Ye,Ie)}catch(tn){St=tn}return Ie.highlight=be,St?xt(St):xt(null,Vr)};if(!be||be.length<3||(delete Ie.highlight,!Ye.length))return mt();var Lt=0;ct.walkTokens(Ye,function(Or){Or.type==="code"&&(Lt++,setTimeout(function(){be(Or.text,Or.lang,function(St,Vr){if(St)return mt(St);Vr!=null&&Vr!==Or.text&&(Or.text=Vr,Or.escaped=!0),Lt--,Lt===0&&mt()})},0))}),Lt===0&&mt();return}try{var Fe=Je.lex(wt,Ie);return Ie.walkTokens&&ct.walkTokens(Fe,Ie.walkTokens),Yt.parse(Fe,Ie)}catch(Or){if(Or.message+=`
|
|
|
Please report this to https://github.com/markedjs/marked.`,Ie.silent)return"<p>An error occurred:</p><pre>"+ce(Or.message+"",!0)+"</pre>";throw Or}}ct.options=ct.setOptions=function(wt){return Gt(ct.defaults,wt),Pt(ct.defaults),ct},ct.getDefaults=he,ct.defaults=Te,ct.use=function(wt){var Ie=Gt({},wt);if(wt.renderer&&function(){var be=ct.defaults.renderer||new Ht,Ye=function(Fe){var Or=be[Fe];be[Fe]=function(){for(var St=arguments.length,Vr=new Array(St),tn=0;tn<St;tn++)Vr[tn]=arguments[tn];var wr=wt.renderer[Fe].apply(be,Vr);return wr===!1&&(wr=Or.apply(be,Vr)),wr}};for(var mt in wt.renderer)Ye(mt);Ie.renderer=be}(),wt.tokenizer&&function(){var be=ct.defaults.tokenizer||new kt,Ye=function(Fe){var Or=be[Fe];be[Fe]=function(){for(var St=arguments.length,Vr=new Array(St),tn=0;tn<St;tn++)Vr[tn]=arguments[tn];var wr=wt.tokenizer[Fe].apply(be,Vr);return wr===!1&&(wr=Or.apply(be,Vr)),wr}};for(var mt in wt.tokenizer)Ye(mt);Ie.tokenizer=be}(),wt.walkTokens){var xt=ct.defaults.walkTokens;Ie.walkTokens=function(be){wt.walkTokens(be),xt&&xt(be)}}ct.setOptions(Ie)},ct.walkTokens=function(wt,Ie){for(var xt=l(wt),be;!(be=xt()).done;){var Ye=be.value;switch(Ie(Ye),Ye.type){case"table":{for(var mt=l(Ye.tokens.header),Lt;!(Lt=mt()).done;){var Fe=Lt.value;ct.walkTokens(Fe,Ie)}for(var Or=l(Ye.tokens.cells),St;!(St=Or()).done;)for(var Vr=St.value,tn=l(Vr),wr;!(wr=tn()).done;){var Nr=wr.value;ct.walkTokens(Nr,Ie)}break}case"list":{ct.walkTokens(Ye.items,Ie);break}default:Ye.tokens&&ct.walkTokens(Ye.tokens,Ie)}}},ct.parseInline=function(wt,Ie){if(typeof wt=="undefined"||wt===null)throw new Error("marked.parseInline(): input parameter is undefined or null");if(typeof wt!="string")throw new Error("marked.parseInline(): input parameter is of type "+Object.prototype.toString.call(wt)+", string expected");Ie=Gt({},ct.defaults,Ie||{}),Me(Ie);try{var xt=Je.lexInline(wt,Ie);return Ie.walkTokens&&ct.walkTokens(xt,Ie.walkTokens),Yt.parseInline(xt,Ie)}catch(be){if(be.message+=`
|
|
|
Please report this to https://github.com/markedjs/marked.`,Ie.silent)return"<p>An error occurred:</p><pre>"+ce(be.message+"",!0)+"</pre>";throw be}},ct.Parser=Yt,ct.parser=Yt.parse,ct.Renderer=Ht,ct.TextRenderer=$t,ct.Lexer=Je,ct.lexer=Je.lex,ct.Tokenizer=kt,ct.Slugger=tr,ct.parse=ct;var Zt=ct;return Zt})},11690:function(d){const v=/[&<>"']/,e=/[&<>"']/g,r=/[<>"']|&(?!#?\w+;)/,i=/[<>"']|&(?!#?\w+;)/g,l={"&":"&","<":"<",">":">",'"':""","'":"'"},c=H=>l[H];function f(H,ae){if(ae){if(v.test(H))return H.replace(e,c)}else if(r.test(H))return H.replace(i,c);return H}const o=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig;function h(H){return H.replace(o,(ae,ne)=>(ne=ne.toLowerCase(),ne==="colon"?":":ne.charAt(0)==="#"?ne.charAt(1)==="x"?String.fromCharCode(parseInt(ne.substring(2),16)):String.fromCharCode(+ne.substring(1)):""))}const u=/(^|[^\[])\^/g;function a(H,ae){H=H.source||H,ae=ae||"";const ne={replace:(oe,q)=>(q=q.source||q,q=q.replace(u,"$1"),H=H.replace(oe,q),ne),getRegex:()=>new RegExp(H,ae)};return ne}const x=/[^\w:]/g,p=/^$|^[a-z][a-z0-9+.-]*:|^[?#]/i;function y(H,ae,ne){if(H){let oe;try{oe=decodeURIComponent(h(ne)).replace(x,"").toLowerCase()}catch(q){return null}if(oe.indexOf("javascript:")===0||oe.indexOf("vbscript:")===0||oe.indexOf("data:")===0)return null}ae&&!p.test(ne)&&(ne=R(ae,ne));try{ne=encodeURI(ne).replace(/%25/g,"%")}catch(oe){return null}return ne}const _={},b=/^[^:]+:\/*[^/]*$/,S=/^([^:]+:)[\s\S]*$/,k=/^([^:]+:\/*[^/]*)[\s\S]*$/;function R(H,ae){_[" "+H]||(b.test(H)?_[" "+H]=H+"/":_[" "+H]=B(H,"/",!0)),H=_[" "+H];const ne=H.indexOf(":")===-1;return ae.substring(0,2)==="//"?ne?ae:H.replace(S,"$1")+ae:ae.charAt(0)==="/"?ne?ae:H.replace(k,"$1")+ae:H+ae}const A={exec:function(){}};function P(H){let ae=1,ne,oe;for(;ae<arguments.length;ae++){ne=arguments[ae];for(oe in ne)Object.prototype.hasOwnProperty.call(ne,oe)&&(H[oe]=ne[oe])}return H}function M(H,ae){const ne=H.replace(/\|/g,(J,V,se)=>{let ee=!1,Q=V;for(;--Q>=0&&se[Q]==="\\";)ee=!ee;return ee?"|":" |"}),oe=ne.split(/ \|/);let q=0;if(oe.length>ae)oe.splice(ae);else for(;oe.length<ae;)oe.push("");for(;q<oe.length;q++)oe[q]=oe[q].trim().replace(/\\\|/g,"|");return oe}function B(H,ae,ne){const oe=H.length;if(oe===0)return"";let q=0;for(;q<oe;){const J=H.charAt(oe-q-1);if(J===ae&&!ne)q++;else if(J!==ae&&ne)q++;else break}return H.substr(0,oe-q)}function N(H,ae){if(H.indexOf(ae[1])===-1)return-1;const ne=H.length;let oe=0,q=0;for(;q<ne;q++)if(H[q]==="\\")q++;else if(H[q]===ae[0])oe++;else if(H[q]===ae[1]&&(oe--,oe<0))return q;return-1}function K(H){H&&H.sanitize&&!H.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 G(H,ae){if(ae<1)return"";let ne="";for(;ae>1;)ae&1&&(ne+=H),ae>>=1,H+=H;return ne+H}d.exports={escape:f,unescape:h,edit:a,cleanUrl:y,resolveUrl:R,noopTest:A,merge:P,splitCells:M,rtrim:B,findClosingBracket:N,checkSanitizeDeprecation:K,repeatString:G}},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 P=x,M=p,B=y,N=_;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+P>>>0,p=p+M>>>0,y=y+B>>>0,_=_+N>>>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{P(_.next(M))}catch(B){k(B)}}function A(M){try{P(_.throw(M))}catch(B){k(B)}}function P(M){M.done?S(M.value):b(M.value).then(R,A)}P((_=_.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(se){return(ee,Q=null,ue)=>{let U=!1,$;return $=se(ie=>{if(!U)return $?$.dispose():U=!0,ee.call(Q,ie)},null,ue),U&&$.dispose(),$}}b.once=S;function k(se,ee){return N((Q,ue=null,U)=>se($=>Q.call(ue,ee($)),null,U))}b.map=k;function R(se,ee){return N((Q,ue=null,U)=>se($=>{ee($),Q.call(ue,$)},null,U))}b.forEach=R;function A(se,ee){return N((Q,ue=null,U)=>se($=>ee($)&&Q.call(ue,$),null,U))}b.filter=A;function P(se){return se}b.signal=P;function M(...se){return(ee,Q=null,ue)=>(0,i.F8)(...se.map(U=>U($=>ee.call(Q,$),null,ue)))}b.any=M;function B(se,ee,Q){let ue=Q;return k(se,U=>(ue=ee(ue,U),ue))}b.reduce=B;function N(se){let ee;const Q=new a({onFirstListenerAdd(){ee=se(Q.fire,Q)},onLastListenerRemove(){ee.dispose()}});return Q.event}function K(se,ee,Q=100,ue=!1,U){let $,ie,_e,Pe=0;const De=new a({leakWarningThreshold:U,onFirstListenerAdd(){$=se(He=>{Pe++,ie=ee(ie,He),ue&&!_e&&(De.fire(ie),ie=void 0),clearTimeout(_e),_e=setTimeout(()=>{const Ne=ie;ie=void 0,_e=void 0,(!ue||Pe>1)&&De.fire(Ne),Pe=0},Q)})},onLastListenerRemove(){$.dispose()}});return De.event}b.debounce=K;function G(se,ee=(Q,ue)=>Q===ue){let Q=!0,ue;return A(se,U=>{const $=Q||!ee(U,ue);return Q=!1,ue=U,$})}b.latch=G;function H(se,ee){return[b.filter(se,ee),b.filter(se,Q=>!ee(Q))]}b.split=H;function ae(se,ee=!1,Q=[]){let ue=Q.slice(),U=se(_e=>{ue?ue.push(_e):ie.fire(_e)});const $=()=>{ue&&ue.forEach(_e=>ie.fire(_e)),ue=null},ie=new a({onFirstListenerAdd(){U||(U=se(_e=>ie.fire(_e)))},onFirstListenerDidAdd(){ue&&(ee?setTimeout($):$())},onLastListenerRemove(){U&&U.dispose(),U=null}});return ie.event}b.buffer=ae;class ne{constructor(ee){this.event=ee}map(ee){return new ne(k(this.event,ee))}forEach(ee){return new ne(R(this.event,ee))}filter(ee){return new ne(A(this.event,ee))}reduce(ee,Q){return new ne(B(this.event,ee,Q))}latch(){return new ne(G(this.event))}debounce(ee,Q=100,ue=!1,U){return new ne(K(this.event,ee,Q,ue,U))}on(ee,Q,ue){return this.event(ee,Q,ue)}once(ee,Q,ue){return S(this.event)(ee,Q,ue)}}function oe(se){return new ne(se)}b.chain=oe;function q(se,ee,Q=ue=>ue){const ue=(..._e)=>ie.fire(Q(..._e)),U=()=>se.on(ee,ue),$=()=>se.removeListener(ee,ue),ie=new a({onFirstListenerAdd:U,onLastListenerRemove:$});return ie.event}b.fromNodeEventEmitter=q;function J(se,ee,Q=ue=>ue){const ue=(..._e)=>ie.fire(Q(..._e)),U=()=>se.addEventListener(ee,ue),$=()=>se.removeEventListener(ee,ue),ie=new a({onFirstListenerAdd:U,onLastListenerRemove:$});return ie.event}b.fromDOMEventEmitter=J;function V(se){return new Promise(ee=>S(se)(ee))}b.toPromise=V})(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 P,M=0;for(const[B,N]of this._stacks)(!P||M<N)&&(P=B,M=N);console.warn(`[${this.name}] potential listener LEAK detected, having ${S} listeners already. MOST frequent listener (${M}):`),console.warn(P)}return()=>{const P=this._stacks.get(R)||0;this._stacks.set(R,P-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 P=this._listeners.isEmpty();P&&this._options&&this._options.onFirstListenerAdd&&this._options.onFirstListenerAdd(this);const M=this._listeners.push(k?[S,k]:S);P&&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),N=(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(N):Array.isArray(R)&&R.push(N),N}),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,P]=this._deliveryQueue.shift();try{typeof A=="function"?A.call(void 0,P):A[0].call(A[1],P)}catch(M){(0,r.dL)(M)}}(R=this._perfMon)===null||R===void 0||R.stop()}}dispose(){var S,k,R,A,P;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),(P=this._leakageMon)===null||P===void 0||P.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(P=>{const M=this.buffers[this.buffers.length-1];M?M.push(()=>k.call(R,P)):k.call(R,P)},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 N of M)if(B(N))return!0;return!1}i.some=x;function p(M,B){for(const N of M)if(B(N))return N}i.find=p;function*y(M,B){for(const N of M)B(N)&&(yield N)}i.filter=y;function*_(M,B){let N=0;for(const K of M)yield B(K,N++)}i.map=_;function*b(...M){for(const B of M)for(const N of B)yield N}i.concat=b;function*S(M){for(const B of M)for(const N of B)yield N}i.concatNested=S;function k(M,B,N){let K=N;for(const G of M)K=B(K,G);return K}i.reduce=k;function*R(M,B,N=M.length){for(B<0&&(B+=M.length),N<0?N+=M.length:N>M.length&&(N=M.length);B<N;B++)yield M[B]}i.slice=R;function A(M,B=Number.POSITIVE_INFINITY){const N=[];if(B===0)return[N,M];const K=M[Symbol.iterator]();for(let G=0;G<B;G++){const H=K.next();if(H.done)return[N,i.empty()];N.push(H.value)}return[N,{[Symbol.iterator](){return K}}]}i.consume=A;function P(M,B,N=(K,G)=>K===G){const K=M[Symbol.iterator](),G=B[Symbol.iterator]();for(;;){const H=K.next(),ae=G.next();if(H.done!==ae.done)return!1;if(H.done)return!0;if(!N(H.value,ae.value))return!1}}i.equals=P})(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 P},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 N=new Error("Potentially leaked disposable").stack;setTimeout(()=>{B[M]||console.log(N)},3e3)}setParent(B,N){if(B&&B!==R.None)try{B[M]=!0}catch(K){}}markAsDisposed(B){if(B&&B!==R.None)try{B[M]=!0}catch(N){}}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 N of M)c.setParent(N,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 N of M)if(N)try{N.dispose()}catch(K){B.push(K)}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 N;this._isDisposed||B===this._value||((N=this._value)===null||N===void 0||N.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 P{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 K},ED:function(){return P},IJ:function(){return B},OS:function(){return ne},WE:function(){return H},dz:function(){return M},gn:function(){return G},li:function(){return S},r:function(){return J},tY:function(){return N},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 V=k.env.VSCODE_NLS_CONFIG;if(V)try{const se=JSON.parse(V),ee=se.availableLanguages["*"];p=se.locale,y=ee||l,_=se._translationsConfigFile}catch(se){}u=!0}else console.error("Unable to resolve platform.");let A=0;f?A=1:c?A=3:o&&(A=2);const P=c,M=f,B=o,N=u,K=a,G=x,H=b,ae=function(){if(S.setImmediate)return S.setImmediate.bind(S);if(typeof S.postMessage=="function"&&!S.importScripts){let ee=[];S.addEventListener("message",ue=>{if(ue.data&&ue.data.vscodeSetImmediateId)for(let U=0,$=ee.length;U<$;U++){const ie=ee[U];if(ie.id===ue.data.vscodeSetImmediateId){ee.splice(U,1),ie.callback();return}}});let Q=0;return ue=>{const U=++Q;ee.push({id:U,callback:ue}),S.postMessage({vscodeSetImmediateId:U},"*")}}if(typeof(k==null?void 0:k.nextTick)=="function")return k.nextTick.bind(k);const se=Promise.resolve();return ee=>se.then(ee)}(),ne=f||x?2:c?1:3;let oe=!0,q=!1;function J(){if(!q){q=!0;const V=new Uint8Array(2);V[0]=1,V[1]=2,oe=new Uint16Array(V.buffer)[0]===513}return oe}},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 Pe},C8:function(){return gt},GF:function(){return p},HO:function(){return Q},IO:function(){return y},K7:function(){return Ft},Kw:function(){return Xt},LC:function(){return S},Mh:function(){return ae},P1:function(){return ne},PJ:function(){return fr},Qe:function(){return De},R1:function(){return x},RP:function(){return ie},S6:function(){return Ge},TT:function(){return P},Ut:function(){return U},V8:function(){return k},WU:function(){return l},YK:function(){return q},YU:function(){return c},ZG:function(){return oe},ZH:function(){return V},ab:function(){return He},c1:function(){return Dt},df:function(){return K},ec:function(){return f},fi:function(){return Tt},fy:function(){return o},j3:function(){return h},j_:function(){return B},m5:function(){return r},mK:function(){return N},mr:function(){return _},oH:function(){return bt},oL:function(){return u},ok:function(){return H},ow:function(){return R},qq:function(){return G},qu:function(){return A},rL:function(){return J},uS:function(){return rr},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(Le,$e){const We=parseInt($e,10);return isNaN(We)||We<0||We>=Se.length?Le:Se[We]})}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 Le=h(ge,Se);return u(Le,Se)}function h(ge,Se){if(!ge||!Se)return ge;const Le=Se.length;if(Le===0||ge.length===0)return ge;let $e=0;for(;ge.indexOf(Se,$e)===$e;)$e=$e+Le;return ge.substring($e)}function u(ge,Se){if(!ge||!Se)return ge;const Le=Se.length,$e=ge.length;if(Le===0||$e===0)return ge;let We=$e,rt=-1;for(;rt=ge.lastIndexOf(Se,We-1),!(rt===-1||rt+Le!==We);){if(rt===0)return"";We=rt}return ge.substring(0,We)}function a(ge){return ge.replace(/[\-\\\{\}\+\?\|\^\$\.\,\[\]\(\)\#\s]/g,"\\$&").replace(/[\*]/g,".*")}function x(ge){return ge.replace(/\*/g,"")}function p(ge,Se,Le={}){if(!ge)throw new Error("Cannot create regex from empty string");Se||(ge=f(ge)),Le.wholeWord&&(/\B/.test(ge.charAt(0))||(ge="\\b"+ge),/\B/.test(ge.charAt(ge.length-1))||(ge=ge+"\\b"));let $e="";return Le.global&&($e+="g"),Le.matchCase||($e+="i"),Le.multiline&&($e+="m"),Le.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,Le=ge.length;Se<Le;Se++){const $e=ge.charCodeAt(Se);if($e!==32&&$e!==9)return Se}return-1}function k(ge,Se=0,Le=ge.length){for(let $e=Se;$e<Le;$e++){const We=ge.charCodeAt($e);if(We!==32&&We!==9)return ge.substring(Se,$e)}return ge.substring(Se,Le)}function R(ge,Se=ge.length-1){for(let Le=Se;Le>=0;Le--){const $e=ge.charCodeAt(Le);if($e!==32&&$e!==9)return Le}return-1}function A(ge,Se){return ge<Se?-1:ge>Se?1:0}function P(ge,Se,Le=0,$e=ge.length,We=0,rt=Se.length){for(;Le<$e&&We<rt;Le++,We++){let Wt=ge.charCodeAt(Le),Ce=Se.charCodeAt(We);if(Wt<Ce)return-1;if(Wt>Ce)return 1}const ot=$e-Le,Kt=rt-We;return ot<Kt?-1:ot>Kt?1:0}function M(ge,Se){return B(ge,Se,0,ge.length,0,Se.length)}function B(ge,Se,Le=0,$e=ge.length,We=0,rt=Se.length){for(;Le<$e&&We<rt;Le++,We++){let Wt=ge.charCodeAt(Le),Ce=Se.charCodeAt(We);if(Wt===Ce)continue;if(Wt>=128||Ce>=128)return P(ge.toLowerCase(),Se.toLowerCase(),Le,$e,We,rt);N(Wt)&&(Wt-=32),N(Ce)&&(Ce-=32);const Je=Wt-Ce;if(Je!==0)return Je}const ot=$e-Le,Kt=rt-We;return ot<Kt?-1:ot>Kt?1:0}function N(ge){return ge>=97&&ge<=122}function K(ge){return ge>=65&&ge<=90}function G(ge,Se){return ge.length===Se.length&&B(ge,Se)===0}function H(ge,Se){const Le=Se.length;return Se.length>ge.length?!1:B(ge,Se,0,Le)===0}function ae(ge,Se){let Le,$e=Math.min(ge.length,Se.length);for(Le=0;Le<$e;Le++)if(ge.charCodeAt(Le)!==Se.charCodeAt(Le))return Le;return $e}function ne(ge,Se){let Le,$e=Math.min(ge.length,Se.length);const We=ge.length-1,rt=Se.length-1;for(Le=0;Le<$e;Le++)if(ge.charCodeAt(We-Le)!==Se.charCodeAt(rt-Le))return Le;return $e}function oe(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 V(ge,Se,Le){const $e=ge.charCodeAt(Le);if(oe($e)&&Le+1<Se){const We=ge.charCodeAt(Le+1);if(q(We))return J($e,We)}return $e}function se(ge,Se){const Le=ge.charCodeAt(Se-1);if(q(Le)&&Se>1){const $e=ge.charCodeAt(Se-2);if(oe($e))return J($e,Le)}return Le}function ee(ge,Se){const Le=zt.getInstance(),$e=Se,We=ge.length,rt=V(ge,We,Se);Se+=rt>=65536?2:1;let ot=Le.getGraphemeBreakType(rt);for(;Se<We;){const Kt=V(ge,We,Se),Wt=Le.getGraphemeBreakType(Kt);if(Tt(ot,Wt))break;Se+=Kt>=65536?2:1,ot=Wt}return Se-$e}function Q(ge,Se){const Le=zt.getInstance(),$e=Se,We=se(ge,Se);Se-=We>=65536?2:1;let rt=Le.getGraphemeBreakType(We);for(;Se>0;){const ot=se(ge,Se),Kt=Le.getGraphemeBreakType(ot);if(Tt(Kt,rt))break;Se-=ot>=65536?2:1,rt=Kt}return $e-Se}const ue=/(?:[\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 U(ge){return ue.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 ie(ge){return $.test(ge)}const _e=/^[\t\n\r\x20-\x7E]*$/;function Pe(ge){return _e.test(ge)}const De=/[\u2028\u2029]/;function He(ge){return De.test(ge)}function Ne(ge){for(let Se=0,Le=ge.length;Se<Le;Se++)if(Ft(ge.charCodeAt(Se)))return!0;return!1}function Ft(ge){return ge=+ge,ge>=11904&&ge<=55215||ge>=63744&&ge<=64255||ge>=65281&&ge<=65374}function gt(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 rr(ge){return!!(ge&&ge.length>0&&ge.charCodeAt(0)===65279)}function Xt(ge,Se=!1){return ge?(Se&&(ge=ge.replace(/\\./g,"")),ge.toLowerCase()!==ge):!1}function fr(ge){return ge=ge%52,ge<26?String.fromCharCode(97+ge):String.fromCharCode(65+ge-26)}function Ge(ge){return zt.getInstance().getGraphemeBreakType(ge)}function Tt(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=nt()}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 Le=this._data,$e=Le.length/3;let We=1;for(;We<=$e;)if(Se<Le[3*We])We=2*We;else if(Se>Le[3*We+1])We=2*We+1;else return Le[3*We+2];return 0}}zt._INSTANCE=null;function nt(){return JSON.parse("[0,0,0,51592,51592,11,44424,44424,11,72251,72254,5,7150,7150,7,48008,48008,11,55176,55176,11,128420,128420,14,3276,3277,5,9979,9980,14,46216,46216,11,49800,49800,11,53384,53384,11,70726,70726,5,122915,122916,5,129320,129327,14,2558,2558,5,5906,5908,5,9762,9763,14,43360,43388,8,45320,45320,11,47112,47112,11,48904,48904,11,50696,50696,11,52488,52488,11,54280,54280,11,70082,70083,1,71350,71350,7,73111,73111,5,127892,127893,14,128726,128727,14,129473,129474,14,2027,2035,5,2901,2902,5,3784,3789,5,6754,6754,5,8418,8420,5,9877,9877,14,11088,11088,14,44008,44008,5,44872,44872,11,45768,45768,11,46664,46664,11,47560,47560,11,48456,48456,11,49352,49352,11,50248,50248,11,51144,51144,11,52040,52040,11,52936,52936,11,53832,53832,11,54728,54728,11,69811,69814,5,70459,70460,5,71096,71099,7,71998,71998,5,72874,72880,5,119149,119149,7,127374,127374,14,128335,128335,14,128482,128482,14,128765,128767,14,129399,129400,14,129680,129685,14,1476,1477,5,2377,2380,7,2759,2760,5,3137,3140,7,3458,3459,7,4153,4154,5,6432,6434,5,6978,6978,5,7675,7679,5,9723,9726,14,9823,9823,14,9919,9923,14,10035,10036,14,42736,42737,5,43596,43596,5,44200,44200,11,44648,44648,11,45096,45096,11,45544,45544,11,45992,45992,11,46440,46440,11,46888,46888,11,47336,47336,11,47784,47784,11,48232,48232,11,48680,48680,11,49128,49128,11,49576,49576,11,50024,50024,11,50472,50472,11,50920,50920,11,51368,51368,11,51816,51816,11,52264,52264,11,52712,52712,11,53160,53160,11,53608,53608,11,54056,54056,11,54504,54504,11,54952,54952,11,68108,68111,5,69933,69940,5,70197,70197,7,70498,70499,7,70845,70845,5,71229,71229,5,71727,71735,5,72154,72155,5,72344,72345,5,73023,73029,5,94095,94098,5,121403,121452,5,126981,127182,14,127538,127546,14,127990,127990,14,128391,128391,14,128445,128449,14,128500,128505,14,128752,128752,14,129160,129167,14,129356,129356,14,129432,129442,14,129648,129651,14,129751,131069,14,173,173,4,1757,1757,1,2274,2274,1,2494,2494,5,2641,2641,5,2876,2876,5,3014,3016,7,3262,3262,7,3393,3396,5,3570,3571,7,3968,3972,5,4228,4228,7,6086,6086,5,6679,6680,5,6912,6915,5,7080,7081,5,7380,7392,5,8252,8252,14,9096,9096,14,9748,9749,14,9784,9786,14,9833,9850,14,9890,9894,14,9938,9938,14,9999,9999,14,10085,10087,14,12349,12349,14,43136,43137,7,43454,43456,7,43755,43755,7,44088,44088,11,44312,44312,11,44536,44536,11,44760,44760,11,44984,44984,11,45208,45208,11,45432,45432,11,45656,45656,11,45880,45880,11,46104,46104,11,46328,46328,11,46552,46552,11,46776,46776,11,47000,47000,11,47224,47224,11,47448,47448,11,47672,47672,11,47896,47896,11,48120,48120,11,48344,48344,11,48568,48568,11,48792,48792,11,49016,49016,11,49240,49240,11,49464,49464,11,49688,49688,11,49912,49912,11,50136,50136,11,50360,50360,11,50584,50584,11,50808,50808,11,51032,51032,11,51256,51256,11,51480,51480,11,51704,51704,11,51928,51928,11,52152,52152,11,52376,52376,11,52600,52600,11,52824,52824,11,53048,53048,11,53272,53272,11,53496,53496,11,53720,53720,11,53944,53944,11,54168,54168,11,54392,54392,11,54616,54616,11,54840,54840,11,55064,55064,11,65438,65439,5,69633,69633,5,69837,69837,1,70018,70018,7,70188,70190,7,70368,70370,7,70465,70468,7,70712,70719,5,70835,70840,5,70850,70851,5,71132,71133,5,71340,71340,7,71458,71461,5,71985,71989,7,72002,72002,7,72193,72202,5,72281,72283,5,72766,72766,7,72885,72886,5,73104,73105,5,92912,92916,5,113824,113827,4,119173,119179,5,121505,121519,5,125136,125142,5,127279,127279,14,127489,127490,14,127570,127743,14,127900,127901,14,128254,128254,14,128369,128370,14,128400,128400,14,128425,128432,14,128468,128475,14,128489,128494,14,128715,128720,14,128745,128745,14,128759,128760,14,129004,129023,14,129296,129304,14,129340,129342,14,129388,129392,14,129404,129407,14,129454,129455,14,129485,129487,14,129659,129663,14,129719,129727,14,917536,917631,5,13,13,2,1160,1161,5,1564,1564,4,1807,1807,1,2085,2087,5,2363,2363,7,2402,2403,5,2507,2508,7,2622,2624,7,2691,2691,7,2786,2787,5,2881,2884,5,3006,3006,5,3072,3072,5,3170,3171,5,3267,3268,7,3330,3331,7,3406,3406,1,3538,3540,5,3655,3662,5,3897,3897,5,4038,4038,5,4184,4185,5,4352,4447,8,6068,6069,5,6155,6157,5,6448,6449,7,6742,6742,5,6783,6783,5,6966,6970,5,7042,7042,7,7143,7143,7,7212,7219,5,7412,7412,5,8206,8207,4,8294,8303,4,8596,8601,14,9410,9410,14,9742,9742,14,9757,9757,14,9770,9770,14,9794,9794,14,9828,9828,14,9855,9855,14,9882,9882,14,9900,9903,14,9929,9933,14,9963,9967,14,9987,9988,14,10006,10006,14,10062,10062,14,10175,10175,14,11744,11775,5,42607,42607,5,43043,43044,7,43263,43263,5,43444,43445,7,43569,43570,5,43698,43700,5,43766,43766,5,44032,44032,11,44144,44144,11,44256,44256,11,44368,44368,11,44480,44480,11,44592,44592,11,44704,44704,11,44816,44816,11,44928,44928,11,45040,45040,11,45152,45152,11,45264,45264,11,45376,45376,11,45488,45488,11,45600,45600,11,45712,45712,11,45824,45824,11,45936,45936,11,46048,46048,11,46160,46160,11,46272,46272,11,46384,46384,11,46496,46496,11,46608,46608,11,46720,46720,11,46832,46832,11,46944,46944,11,47056,47056,11,47168,47168,11,47280,47280,11,47392,47392,11,47504,47504,11,47616,47616,11,47728,47728,11,47840,47840,11,47952,47952,11,48064,48064,11,48176,48176,11,48288,48288,11,48400,48400,11,48512,48512,11,48624,48624,11,48736,48736,11,48848,48848,11,48960,48960,11,49072,49072,11,49184,49184,11,49296,49296,11,49408,49408,11,49520,49520,11,49632,49632,11,49744,49744,11,49856,49856,11,49968,49968,11,50080,50080,11,50192,50192,11,50304,50304,11,50416,50416,11,50528,50528,11,50640,50640,11,50752,50752,11,50864,50864,11,50976,50976,11,51088,51088,11,51200,51200,11,51312,51312,11,51424,51424,11,51536,51536,11,51648,51648,11,51760,51760,11,51872,51872,11,51984,51984,11,52096,52096,11,52208,52208,11,52320,52320,11,52432,52432,11,52544,52544,11,52656,52656,11,52768,52768,11,52880,52880,11,52992,52992,11,53104,53104,11,53216,53216,11,53328,53328,11,53440,53440,11,53552,53552,11,53664,53664,11,53776,53776,11,53888,53888,11,54000,54000,11,54112,54112,11,54224,54224,11,54336,54336,11,54448,54448,11,54560,54560,11,54672,54672,11,54784,54784,11,54896,54896,11,55008,55008,11,55120,55120,11,64286,64286,5,66272,66272,5,68900,68903,5,69762,69762,7,69817,69818,5,69927,69931,5,70003,70003,5,70070,70078,5,70094,70094,7,70194,70195,7,70206,70206,5,70400,70401,5,70463,70463,7,70475,70477,7,70512,70516,5,70722,70724,5,70832,70832,5,70842,70842,5,70847,70848,5,71088,71089,7,71102,71102,7,71219,71226,5,71231,71232,5,71342,71343,7,71453,71455,5,71463,71467,5,71737,71738,5,71995,71996,5,72000,72000,7,72145,72147,7,72160,72160,5,72249,72249,7,72273,72278,5,72330,72342,5,72752,72758,5,72850,72871,5,72882,72883,5,73018,73018,5,73031,73031,5,73109,73109,5,73461,73462,7,94031,94031,5,94192,94193,7,119142,119142,7,119155,119162,4,119362,119364,5,121476,121476,5,122888,122904,5,123184,123190,5,126976,126979,14,127184,127231,14,127344,127345,14,127405,127461,14,127514,127514,14,127561,127567,14,127778,127779,14,127896,127896,14,127985,127986,14,127995,127999,5,128326,128328,14,128360,128366,14,128378,128378,14,128394,128397,14,128405,128406,14,128422,128423,14,128435,128443,14,128453,128464,14,128479,128480,14,128484,128487,14,128496,128498,14,128640,128709,14,128723,128724,14,128736,128741,14,128747,128748,14,128755,128755,14,128762,128762,14,128981,128991,14,129096,129103,14,129292,129292,14,129311,129311,14,129329,129330,14,129344,129349,14,129360,129374,14,129394,129394,14,129402,129402,14,129413,129425,14,129445,129450,14,129466,129471,14,129483,129483,14,129511,129535,14,129653,129655,14,129667,129670,14,129705,129711,14,129731,129743,14,917505,917505,4,917760,917999,5,10,10,3,127,159,4,768,879,5,1471,1471,5,1536,1541,1,1648,1648,5,1767,1768,5,1840,1866,5,2070,2073,5,2137,2139,5,2307,2307,7,2366,2368,7,2382,2383,7,2434,2435,7,2497,2500,5,2519,2519,5,2563,2563,7,2631,2632,5,2677,2677,5,2750,2752,7,2763,2764,7,2817,2817,5,2879,2879,5,2891,2892,7,2914,2915,5,3008,3008,5,3021,3021,5,3076,3076,5,3146,3149,5,3202,3203,7,3264,3265,7,3271,3272,7,3298,3299,5,3390,3390,5,3402,3404,7,3426,3427,5,3535,3535,5,3544,3550,7,3635,3635,7,3763,3763,7,3893,3893,5,3953,3966,5,3981,3991,5,4145,4145,7,4157,4158,5,4209,4212,5,4237,4237,5,4520,4607,10,5970,5971,5,6071,6077,5,6089,6099,5,6277,6278,5,6439,6440,5,6451,6456,7,6683,6683,5,6744,6750,5,6765,6770,7,6846,6846,5,6964,6964,5,6972,6972,5,7019,7027,5,7074,7077,5,7083,7085,5,7146,7148,7,7154,7155,7,7222,7223,5,7394,7400,5,7416,7417,5,8204,8204,5,8233,8233,4,8288,8292,4,8413,8416,5,8482,8482,14,8986,8987,14,9193,9203,14,9654,9654,14,9733,9733,14,9745,9745,14,9752,9752,14,9760,9760,14,9766,9766,14,9774,9775,14,9792,9792,14,9800,9811,14,9825,9826,14,9831,9831,14,9852,9853,14,9872,9873,14,9880,9880,14,9885,9887,14,9896,9897,14,9906,9916,14,9926,9927,14,9936,9936,14,9941,9960,14,9974,9974,14,9982,9985,14,9992,9997,14,10002,10002,14,10017,10017,14,10055,10055,14,10071,10071,14,10145,10145,14,11013,11015,14,11503,11505,5,12334,12335,5,12951,12951,14,42612,42621,5,43014,43014,5,43047,43047,7,43204,43205,5,43335,43345,5,43395,43395,7,43450,43451,7,43561,43566,5,43573,43574,5,43644,43644,5,43710,43711,5,43758,43759,7,44005,44005,5,44012,44012,7,44060,44060,11,44116,44116,11,44172,44172,11,44228,44228,11,44284,44284,11,44340,44340,11,44396,44396,11,44452,44452,11,44508,44508,11,44564,44564,11,44620,44620,11,44676,44676,11,44732,44732,11,44788,44788,11,44844,44844,11,44900,44900,11,44956,44956,11,45012,45012,11,45068,45068,11,45124,45124,11,45180,45180,11,45236,45236,11,45292,45292,11,45348,45348,11,45404,45404,11,45460,45460,11,45516,45516,11,45572,45572,11,45628,45628,11,45684,45684,11,45740,45740,11,45796,45796,11,45852,45852,11,45908,45908,11,45964,45964,11,46020,46020,11,46076,46076,11,46132,46132,11,46188,46188,11,46244,46244,11,46300,46300,11,46356,46356,11,46412,46412,11,46468,46468,11,46524,46524,11,46580,46580,11,46636,46636,11,46692,46692,11,46748,46748,11,46804,46804,11,46860,46860,11,46916,46916,11,46972,46972,11,47028,47028,11,47084,47084,11,47140,47140,11,47196,47196,11,47252,47252,11,47308,47308,11,47364,47364,11,47420,47420,11,47476,47476,11,47532,47532,11,47588,47588,11,47644,47644,11,47700,47700,11,47756,47756,11,47812,47812,11,47868,47868,11,47924,47924,11,47980,47980,11,48036,48036,11,48092,48092,11,48148,48148,11,48204,48204,11,48260,48260,11,48316,48316,11,48372,48372,11,48428,48428,11,48484,48484,11,48540,48540,11,48596,48596,11,48652,48652,11,48708,48708,11,48764,48764,11,48820,48820,11,48876,48876,11,48932,48932,11,48988,48988,11,49044,49044,11,49100,49100,11,49156,49156,11,49212,49212,11,49268,49268,11,49324,49324,11,49380,49380,11,49436,49436,11,49492,49492,11,49548,49548,11,49604,49604,11,49660,49660,11,49716,49716,11,49772,49772,11,49828,49828,11,49884,49884,11,49940,49940,11,49996,49996,11,50052,50052,11,50108,50108,11,50164,50164,11,50220,50220,11,50276,50276,11,50332,50332,11,50388,50388,11,50444,50444,11,50500,50500,11,50556,50556,11,50612,50612,11,50668,50668,11,50724,50724,11,50780,50780,11,50836,50836,11,50892,50892,11,50948,50948,11,51004,51004,11,51060,51060,11,51116,51116,11,51172,51172,11,51228,51228,11,51284,51284,11,51340,51340,11,51396,51396,11,51452,51452,11,51508,51508,11,51564,51564,11,51620,51620,11,51676,51676,11,51732,51732,11,51788,51788,11,51844,51844,11,51900,51900,11,51956,51956,11,52012,52012,11,52068,52068,11,52124,52124,11,52180,52180,11,52236,52236,11,52292,52292,11,52348,52348,11,52404,52404,11,52460,52460,11,52516,52516,11,52572,52572,11,52628,52628,11,52684,52684,11,52740,52740,11,52796,52796,11,52852,52852,11,52908,52908,11,52964,52964,11,53020,53020,11,53076,53076,11,53132,53132,11,53188,53188,11,53244,53244,11,53300,53300,11,53356,53356,11,53412,53412,11,53468,53468,11,53524,53524,11,53580,53580,11,53636,53636,11,53692,53692,11,53748,53748,11,53804,53804,11,53860,53860,11,53916,53916,11,53972,53972,11,54028,54028,11,54084,54084,11,54140,54140,11,54196,54196,11,54252,54252,11,54308,54308,11,54364,54364,11,54420,54420,11,54476,54476,11,54532,54532,11,54588,54588,11,54644,54644,11,54700,54700,11,54756,54756,11,54812,54812,11,54868,54868,11,54924,54924,11,54980,54980,11,55036,55036,11,55092,55092,11,55148,55148,11,55216,55238,9,65056,65071,5,65529,65531,4,68097,68099,5,68159,68159,5,69446,69456,5,69688,69702,5,69808,69810,7,69815,69816,7,69821,69821,1,69888,69890,5,69932,69932,7,69957,69958,7,70016,70017,5,70067,70069,7,70079,70080,7,70089,70092,5,70095,70095,5,70191,70193,5,70196,70196,5,70198,70199,5,70367,70367,5,70371,70378,5,70402,70403,7,70462,70462,5,70464,70464,5,70471,70472,7,70487,70487,5,70502,70508,5,70709,70711,7,70720,70721,7,70725,70725,7,70750,70750,5,70833,70834,7,70841,70841,7,70843,70844,7,70846,70846,7,70849,70849,7,71087,71087,5,71090,71093,5,71100,71101,5,71103,71104,5,71216,71218,7,71227,71228,7,71230,71230,7,71339,71339,5,71341,71341,5,71344,71349,5,71351,71351,5,71456,71457,7,71462,71462,7,71724,71726,7,71736,71736,7,71984,71984,5,71991,71992,7,71997,71997,7,71999,71999,1,72001,72001,1,72003,72003,5,72148,72151,5,72156,72159,7,72164,72164,7,72243,72248,5,72250,72250,1,72263,72263,5,72279,72280,7,72324,72329,1,72343,72343,7,72751,72751,7,72760,72765,5,72767,72767,5,72873,72873,7,72881,72881,7,72884,72884,7,73009,73014,5,73020,73021,5,73030,73030,1,73098,73102,7,73107,73108,7,73110,73110,7,73459,73460,5,78896,78904,4,92976,92982,5,94033,94087,7,94180,94180,5,113821,113822,5,119141,119141,5,119143,119145,5,119150,119154,5,119163,119170,5,119210,119213,5,121344,121398,5,121461,121461,5,121499,121503,5,122880,122886,5,122907,122913,5,122918,122922,5,123628,123631,5,125252,125258,5,126980,126980,14,127183,127183,14,127245,127247,14,127340,127343,14,127358,127359,14,127377,127386,14,127462,127487,6,127491,127503,14,127535,127535,14,127548,127551,14,127568,127569,14,127744,127777,14,127780,127891,14,127894,127895,14,127897,127899,14,127902,127984,14,127987,127989,14,127991,127994,14,128000,128253,14,128255,128317,14,128329,128334,14,128336,128359,14,128367,128368,14,128371,128377,14,128379,128390,14,128392,128393,14,128398,128399,14,128401,128404,14,128407,128419,14,128421,128421,14,128424,128424,14,128433,128434,14,128444,128444,14,128450,128452,14,128465,128467,14,128476,128478,14,128481,128481,14,128483,128483,14,128488,128488,14,128495,128495,14,128499,128499,14,128506,128591,14,128710,128714,14,128721,128722,14,128725,128725,14,128728,128735,14,128742,128744,14,128746,128746,14,128749,128751,14,128753,128754,14,128756,128758,14,128761,128761,14,128763,128764,14,128884,128895,14,128992,129003,14,129036,129039,14,129114,129119,14,129198,129279,14,129293,129295,14,129305,129310,14,129312,129319,14,129328,129328,14,129331,129338,14,129343,129343,14,129351,129355,14,129357,129359,14,129375,129387,14,129393,129393,14,129395,129398,14,129401,129401,14,129403,129403,14,129408,129412,14,129426,129431,14,129443,129444,14,129451,129453,14,129456,129465,14,129472,129472,14,129475,129482,14,129484,129484,14,129488,129510,14,129536,129647,14,129652,129652,14,129656,129658,14,129664,129666,14,129671,129679,14,129686,129704,14,129712,129718,14,129728,129730,14,129744,129750,14,917504,917504,4,917506,917535,4,917632,917759,4,918000,921599,4,0,9,4,11,12,4,14,31,4,169,169,14,174,174,14,1155,1159,5,1425,1469,5,1473,1474,5,1479,1479,5,1552,1562,5,1611,1631,5,1750,1756,5,1759,1764,5,1770,1773,5,1809,1809,5,1958,1968,5,2045,2045,5,2075,2083,5,2089,2093,5,2259,2273,5,2275,2306,5,2362,2362,5,2364,2364,5,2369,2376,5,2381,2381,5,2385,2391,5,2433,2433,5,2492,2492,5,2495,2496,7,2503,2504,7,2509,2509,5,2530,2531,5,2561,2562,5,2620,2620,5,2625,2626,5,2635,2637,5,2672,2673,5,2689,2690,5,2748,2748,5,2753,2757,5,2761,2761,7,2765,2765,5,2810,2815,5,2818,2819,7,2878,2878,5,2880,2880,7,2887,2888,7,2893,2893,5,2903,2903,5,2946,2946,5,3007,3007,7,3009,3010,7,3018,3020,7,3031,3031,5,3073,3075,7,3134,3136,5,3142,3144,5,3157,3158,5,3201,3201,5,3260,3260,5,3263,3263,5,3266,3266,5,3270,3270,5,3274,3275,7,3285,3286,5,3328,3329,5,3387,3388,5,3391,3392,7,3398,3400,7,3405,3405,5,3415,3415,5,3457,3457,5,3530,3530,5,3536,3537,7,3542,3542,5,3551,3551,5,3633,3633,5,3636,3642,5,3761,3761,5,3764,3772,5,3864,3865,5,3895,3895,5,3902,3903,7,3967,3967,7,3974,3975,5,3993,4028,5,4141,4144,5,4146,4151,5,4155,4156,7,4182,4183,7,4190,4192,5,4226,4226,5,4229,4230,5,4253,4253,5,4448,4519,9,4957,4959,5,5938,5940,5,6002,6003,5,6070,6070,7,6078,6085,7,6087,6088,7,6109,6109,5,6158,6158,4,6313,6313,5,6435,6438,7,6441,6443,7,6450,6450,5,6457,6459,5,6681,6682,7,6741,6741,7,6743,6743,7,6752,6752,5,6757,6764,5,6771,6780,5,6832,6845,5,6847,6848,5,6916,6916,7,6965,6965,5,6971,6971,7,6973,6977,7,6979,6980,7,7040,7041,5,7073,7073,7,7078,7079,7,7082,7082,7,7142,7142,5,7144,7145,5,7149,7149,5,7151,7153,5,7204,7211,7,7220,7221,7,7376,7378,5,7393,7393,7,7405,7405,5,7415,7415,7,7616,7673,5,8203,8203,4,8205,8205,13,8232,8232,4,8234,8238,4,8265,8265,14,8293,8293,4,8400,8412,5,8417,8417,5,8421,8432,5,8505,8505,14,8617,8618,14,9000,9000,14,9167,9167,14,9208,9210,14,9642,9643,14,9664,9664,14,9728,9732,14,9735,9741,14,9743,9744,14,9746,9746,14,9750,9751,14,9753,9756,14,9758,9759,14,9761,9761,14,9764,9765,14,9767,9769,14,9771,9773,14,9776,9783,14,9787,9791,14,9793,9793,14,9795,9799,14,9812,9822,14,9824,9824,14,9827,9827,14,9829,9830,14,9832,9832,14,9851,9851,14,9854,9854,14,9856,9861,14,9874,9876,14,9878,9879,14,9881,9881,14,9883,9884,14,9888,9889,14,9895,9895,14,9898,9899,14,9904,9905,14,9917,9918,14,9924,9925,14,9928,9928,14,9934,9935,14,9937,9937,14,9939,9940,14,9961,9962,14,9968,9973,14,9975,9978,14,9981,9981,14,9986,9986,14,9989,9989,14,9998,9998,14,10000,10001,14,10004,10004,14,10013,10013,14,10024,10024,14,10052,10052,14,10060,10060,14,10067,10069,14,10083,10084,14,10133,10135,14,10160,10160,14,10548,10549,14,11035,11036,14,11093,11093,14,11647,11647,5,12330,12333,5,12336,12336,14,12441,12442,5,12953,12953,14,42608,42610,5,42654,42655,5,43010,43010,5,43019,43019,5,43045,43046,5,43052,43052,5,43188,43203,7,43232,43249,5,43302,43309,5,43346,43347,7,43392,43394,5,43443,43443,5,43446,43449,5,43452,43453,5,43493,43493,5,43567,43568,7,43571,43572,7,43587,43587,5,43597,43597,7,43696,43696,5,43703,43704,5,43713,43713,5,43756,43757,5,43765,43765,7,44003,44004,7,44006,44007,7,44009,44010,7,44013,44013,5,44033,44059,12,44061,44087,12,44089,44115,12,44117,44143,12,44145,44171,12,44173,44199,12,44201,44227,12,44229,44255,12,44257,44283,12,44285,44311,12,44313,44339,12,44341,44367,12,44369,44395,12,44397,44423,12,44425,44451,12,44453,44479,12,44481,44507,12,44509,44535,12,44537,44563,12,44565,44591,12,44593,44619,12,44621,44647,12,44649,44675,12,44677,44703,12,44705,44731,12,44733,44759,12,44761,44787,12,44789,44815,12,44817,44843,12,44845,44871,12,44873,44899,12,44901,44927,12,44929,44955,12,44957,44983,12,44985,45011,12,45013,45039,12,45041,45067,12,45069,45095,12,45097,45123,12,45125,45151,12,45153,45179,12,45181,45207,12,45209,45235,12,45237,45263,12,45265,45291,12,45293,45319,12,45321,45347,12,45349,45375,12,45377,45403,12,45405,45431,12,45433,45459,12,45461,45487,12,45489,45515,12,45517,45543,12,45545,45571,12,45573,45599,12,45601,45627,12,45629,45655,12,45657,45683,12,45685,45711,12,45713,45739,12,45741,45767,12,45769,45795,12,45797,45823,12,45825,45851,12,45853,45879,12,45881,45907,12,45909,45935,12,45937,45963,12,45965,45991,12,45993,46019,12,46021,46047,12,46049,46075,12,46077,46103,12,46105,46131,12,46133,46159,12,46161,46187,12,46189,46215,12,46217,46243,12,46245,46271,12,46273,46299,12,46301,46327,12,46329,46355,12,46357,46383,12,46385,46411,12,46413,46439,12,46441,46467,12,46469,46495,12,46497,46523,12,46525,46551,12,46553,46579,12,46581,46607,12,46609,46635,12,46637,46663,12,46665,46691,12,46693,46719,12,46721,46747,12,46749,46775,12,46777,46803,12,46805,46831,12,46833,46859,12,46861,46887,12,46889,46915,12,46917,46943,12,46945,46971,12,46973,46999,12,47001,47027,12,47029,47055,12,47057,47083,12,47085,47111,12,47113,47139,12,47141,47167,12,47169,47195,12,47197,47223,12,47225,47251,12,47253,47279,12,47281,47307,12,47309,47335,12,47337,47363,12,47365,47391,12,47393,47419,12,47421,47447,12,47449,47475,12,47477,47503,12,47505,47531,12,47533,47559,12,47561,47587,12,47589,47615,12,47617,47643,12,47645,47671,12,47673,47699,12,47701,47727,12,47729,47755,12,47757,47783,12,47785,47811,12,47813,47839,12,47841,47867,12,47869,47895,12,47897,47923,12,47925,47951,12,47953,47979,12,47981,48007,12,48009,48035,12,48037,48063,12,48065,48091,12,48093,48119,12,48121,48147,12,48149,48175,12,48177,48203,12,48205,48231,12,48233,48259,12,48261,48287,12,48289,48315,12,48317,48343,12,48345,48371,12,48373,48399,12,48401,48427,12,48429,48455,12,48457,48483,12,48485,48511,12,48513,48539,12,48541,48567,12,48569,48595,12,48597,48623,12,48625,48651,12,48653,48679,12,48681,48707,12,48709,48735,12,48737,48763,12,48765,48791,12,48793,48819,12,48821,48847,12,48849,48875,12,48877,48903,12,48905,48931,12,48933,48959,12,48961,48987,12,48989,49015,12,49017,49043,12,49045,49071,12,49073,49099,12,49101,49127,12,49129,49155,12,49157,49183,12,49185,49211,12,49213,49239,12,49241,49267,12,49269,49295,12,49297,49323,12,49325,49351,12,49353,49379,12,49381,49407,12,49409,49435,12,49437,49463,12,49465,49491,12,49493,49519,12,49521,49547,12,49549,49575,12,49577,49603,12,49605,49631,12,49633,49659,12,49661,49687,12,49689,49715,12,49717,49743,12,49745,49771,12,49773,49799,12,49801,49827,12,49829,49855,12,49857,49883,12,49885,49911,12,49913,49939,12,49941,49967,12,49969,49995,12,49997,50023,12,50025,50051,12,50053,50079,12,50081,50107,12,50109,50135,12,50137,50163,12,50165,50191,12,50193,50219,12,50221,50247,12,50249,50275,12,50277,50303,12,50305,50331,12,50333,50359,12,50361,50387,12,50389,50415,12,50417,50443,12,50445,50471,12,50473,50499,12,50501,50527,12,50529,50555,12,50557,50583,12,50585,50611,12,50613,50639,12,50641,50667,12,50669,50695,12,50697,50723,12,50725,50751,12,50753,50779,12,50781,50807,12,50809,50835,12,50837,50863,12,50865,50891,12,50893,50919,12,50921,50947,12,50949,50975,12,50977,51003,12,51005,51031,12,51033,51059,12,51061,51087,12,51089,51115,12,51117,51143,12,51145,51171,12,51173,51199,12,51201,51227,12,51229,51255,12,51257,51283,12,51285,51311,12,51313,51339,12,51341,51367,12,51369,51395,12,51397,51423,12,51425,51451,12,51453,51479,12,51481,51507,12,51509,51535,12,51537,51563,12,51565,51591,12,51593,51619,12,51621,51647,12,51649,51675,12,51677,51703,12,51705,51731,12,51733,51759,12,51761,51787,12,51789,51815,12,51817,51843,12,51845,51871,12,51873,51899,12,51901,51927,12,51929,51955,12,51957,51983,12,51985,52011,12,52013,52039,12,52041,52067,12,52069,52095,12,52097,52123,12,52125,52151,12,52153,52179,12,52181,52207,12,52209,52235,12,52237,52263,12,52265,52291,12,52293,52319,12,52321,52347,12,52349,52375,12,52377,52403,12,52405,52431,12,52433,52459,12,52461,52487,12,52489,52515,12,52517,52543,12,52545,52571,12,52573,52599,12,52601,52627,12,52629,52655,12,52657,52683,12,52685,52711,12,52713,52739,12,52741,52767,12,52769,52795,12,52797,52823,12,52825,52851,12,52853,52879,12,52881,52907,12,52909,52935,12,52937,52963,12,52965,52991,12,52993,53019,12,53021,53047,12,53049,53075,12,53077,53103,12,53105,53131,12,53133,53159,12,53161,53187,12,53189,53215,12,53217,53243,12,53245,53271,12,53273,53299,12,53301,53327,12,53329,53355,12,53357,53383,12,53385,53411,12,53413,53439,12,53441,53467,12,53469,53495,12,53497,53523,12,53525,53551,12,53553,53579,12,53581,53607,12,53609,53635,12,53637,53663,12,53665,53691,12,53693,53719,12,53721,53747,12,53749,53775,12,53777,53803,12,53805,53831,12,53833,53859,12,53861,53887,12,53889,53915,12,53917,53943,12,53945,53971,12,53973,53999,12,54001,54027,12,54029,54055,12,54057,54083,12,54085,54111,12,54113,54139,12,54141,54167,12,54169,54195,12,54197,54223,12,54225,54251,12,54253,54279,12,54281,54307,12,54309,54335,12,54337,54363,12,54365,54391,12,54393,54419,12,54421,54447,12,54449,54475,12,54477,54503,12,54505,54531,12,54533,54559,12,54561,54587,12,54589,54615,12,54617,54643,12,54645,54671,12,54673,54699,12,54701,54727,12,54729,54755,12,54757,54783,12,54785,54811,12,54813,54839,12,54841,54867,12,54869,54895,12,54897,54923,12,54925,54951,12,54953,54979,12,54981,55007,12,55009,55035,12,55037,55063,12,55065,55091,12,55093,55119,12,55121,55147,12,55149,55175,12,55177,55203,12,55243,55291,10,65024,65039,5,65279,65279,4,65520,65528,4,66045,66045,5,66422,66426,5,68101,68102,5,68152,68154,5,68325,68326,5,69291,69292,5,69632,69632,7,69634,69634,7,69759,69761,5]")}function bt(ge,Se){if(ge===0)return 0;const Le=dt(ge,Se);if(Le!==void 0)return Le;const $e=se(Se,ge);return ge-=et($e),ge}function dt(ge,Se){let Le=se(Se,ge);for(ge-=et(Le);ze(Le)||Le===65039||Le===8419;){if(ge===0)return;Le=se(Se,ge),ge-=et(Le)}if(gt(Le)){if(ge>=0){const $e=se(Se,ge);$e===8205&&(ge-=et($e))}return ge}}function et(ge){return ge>=65536?2:1}function ze(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(P){return Array.isArray(P)}function i(P){return typeof P=="string"}function l(P){return typeof P=="object"&&P!==null&&!Array.isArray(P)&&!(P instanceof RegExp)&&!(P instanceof Date)}function c(P){return typeof P=="number"&&!isNaN(P)}function f(P){return P===!0||P===!1}function o(P){return typeof P=="undefined"}function h(P){return!u(P)}function u(P){return o(P)||P===null}function a(P,M){if(!P)throw new Error(M?`Unexpected type, expected '${M}'`:"Unexpected type")}function x(P){if(u(P))throw new Error("Assertion Failed: argument is undefined or null");return P}function p(P){return typeof P=="function"}function y(P,M){const B=Math.min(P.length,M.length);for(let N=0;N<B;N++)_(P[N],M[N])}function _(P,M){if(i(M)){if(typeof P!==M)throw new Error(`argument does not match constraint: typeof ${M}`)}else if(p(M)){try{if(P instanceof M)return}catch(B){}if(!u(P)&&P.constructor===M||M.length===1&&M.call(void 0,P)===!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(P){let M=[],B=Object.getPrototypeOf(P);for(;Object.prototype!==B;)M=M.concat(Object.getOwnPropertyNames(B)),B=Object.getPrototypeOf(B);return M}function S(P){const M=[];for(const B of b(P))typeof P[B]=="function"&&M.push(B);return M}function k(P,M){const B=K=>function(){const G=Array.prototype.slice.call(arguments,0);return M(K,G)};let N={};for(const K of P)N[K]=B(K);return N}function R(P){return P===null?void 0:P}function A(P,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(P,M,B,N){var K=arguments.length,G=K<3?M:N===null?N=Object.getOwnPropertyDescriptor(M,B):N,H;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")G=Reflect.decorate(P,M,B,N);else for(var ae=P.length-1;ae>=0;ae--)(H=P[ae])&&(G=(K<3?H(G):K>3?H(M,B,G):H(M,B))||G);return K>3&&G&&Object.defineProperty(M,B,G),G},y=function(P,M){return function(B,N){M(B,N,P)}};function _(P){return P.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:P=>P===b.CommandPalette}}addCommand(P){return this.addCommands(c.$.single(P))}addCommands(P){for(const M of P)this._commands.set(M.id,M);return this._onDidChangeMenu.fire(this._commandPaletteChangeEvent),(0,f.OF)(()=>{let M=!1;for(const B of P)M=this._commands.delete(B.id)||M;M&&this._onDidChangeMenu.fire(this._commandPaletteChangeEvent)})}getCommand(P){return this._commands.get(P)}getCommands(){const P=new Map;return this._commands.forEach((M,B)=>P.set(B,M)),P}appendMenuItem(P,M){return this.appendMenuItems(c.$.single({id:P,item:M}))}appendMenuItems(P){const M=new Set,B=new o.S;for(const{id:N,item:K}of P){let G=this._menuItems.get(N);G||(G=new o.S,this._menuItems.set(N,G)),B.push(G.push(K)),M.add(N)}return this._onDidChangeMenu.fire(M),(0,f.OF)(()=>{if(B.size>0){for(let N of B)N();this._onDidChangeMenu.fire(M),B.clear()}})}getMenuItems(P){let M;return this._menuItems.has(P)?M=[...this._menuItems.get(P)]:M=[],P===b.CommandPalette&&this._appendImplicitItems(M),M}_appendImplicitItems(P){const M=new Set;for(const B of P)_(B)&&(M.add(B.command.id),B.alt&&M.add(B.alt.id));this._commands.forEach((B,N)=>{M.has(N)||P.push({command:B})})}};class R extends r.wY{constructor(M,B,N,K){super(`submenuitem.${M.submenu.id}`,typeof M.title=="string"?M.title:M.title.value,[],"submenu"),this.item=M,this._menuService=B,this._contextKeyService=N,this._options=K}get actions(){const M=[],B=this._menuService.createMenu(this.item.submenu,this._contextKeyService),N=B.getActions(this._options);B.dispose();for(const[,K]of N)K.length>0&&(M.push(...K),M.push(new r.Z0));return M.length&&M.pop(),M}}let A=class Kd{constructor(M,B,N,K,G){var H,ae;if(this._commandService=G,this.id=M.id,this.label=N!=null&&N.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:(H=M.tooltip)===null||H===void 0?void 0:H.value)!==null&&ae!==void 0?ae:"",this.enabled=!M.precondition||K.contextMatchesRules(M.precondition),this.checked=void 0,M.toggled){const ne=M.toggled.condition?M.toggled:{condition:M.toggled};this.checked=K.contextMatchesRules(ne.condition),this.checked&&ne.tooltip&&(this.tooltip=typeof ne.tooltip=="string"?ne.tooltip:ne.tooltip.value),ne.title&&(this.label=typeof ne.title=="string"?ne.title:ne.title.value)}this.item=M,this.alt=B?new Kd(B,void 0,N,K,G):void 0,this._options=N,x.kS.isThemeIcon(M.icon)&&(this.class=i.dT.asClassName(M.icon))}dispose(){}run(...M){var B,N;let K=[];return!((B=this._options)===null||B===void 0)&&B.arg&&(K=[...K,this._options.arg]),!((N=this._options)===null||N===void 0)&&N.shouldForwardArgs&&(K=[...K,...M]),this._commandService.executeCommand(this.id,...K)}};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 oe}});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(U){return y.create(U)}static equals(U,$){return _.create(U,$)}static regex(U,$){return K.create(U,$)}static not(U){return R.create(U)}static and(...U){return ae.create(U,null)}static or(...U){return ne.create(U,null,!0)}static deserialize(U,$=!1){if(U)return this._deserializeOrExpression(U,$)}static _deserializeOrExpression(U,$){let ie=U.split("||");return ne.create(ie.map(_e=>this._deserializeAndExpression(_e,$)),null,!0)}static _deserializeAndExpression(U,$){let ie=U.split("&&");return ae.create(ie.map(_e=>this._deserializeOne(_e,$)),null)}static _deserializeOne(U,$){if(U=U.trim(),U.indexOf("!=")>=0){let ie=U.split("!=");return k.create(ie[0].trim(),this._deserializeValue(ie[1],$))}if(U.indexOf("==")>=0){let ie=U.split("==");return _.create(ie[0].trim(),this._deserializeValue(ie[1],$))}if(U.indexOf("=~")>=0){let ie=U.split("=~");return K.create(ie[0].trim(),this._deserializeRegexValue(ie[1],$))}if(U.indexOf(" in ")>=0){let ie=U.split(" in ");return b.create(ie[0].trim(),ie[1].trim())}if(/^[^<=>]+>=[^<=>]+$/.test(U)){const ie=U.split(">=");return M.create(ie[0].trim(),ie[1].trim())}if(/^[^<=>]+>[^<=>]+$/.test(U)){const ie=U.split(">");return P.create(ie[0].trim(),ie[1].trim())}if(/^[^<=>]+<=[^<=>]+$/.test(U)){const ie=U.split("<=");return N.create(ie[0].trim(),ie[1].trim())}if(/^[^<=>]+<[^<=>]+$/.test(U)){const ie=U.split("<");return B.create(ie[0].trim(),ie[1].trim())}return/^\!\s*/.test(U)?R.create(U.substr(1).trim()):y.create(U)}static _deserializeValue(U,$){if(U=U.trim(),U==="true")return!0;if(U==="false")return!1;let ie=/^'([^']*)'$/.exec(U);return ie?ie[1].trim():U}static _deserializeRegexValue(U,$){if((0,i.m5)(U)){if($)throw new Error("missing regexp-value for =~-expression");return console.warn("missing regexp-value for =~-expression"),null}let ie=U.indexOf("/"),_e=U.lastIndexOf("/");if(ie===_e||ie<0){if($)throw new Error(`bad regexp-value '${U}', missing /-enclosure`);return console.warn(`bad regexp-value '${U}', missing /-enclosure`),null}let Pe=U.slice(ie+1,_e),De=U[_e+1]==="i"?"i":"";try{return new RegExp(Pe,De)}catch(He){if($)throw new Error(`bad regexp-value '${U}', parse error: ${He}`);return console.warn(`bad regexp-value '${U}', parse error: ${He}`),null}}}function u(ue,U){const $=ue?ue.substituteConstants():void 0,ie=U?U.substituteConstants():void 0;return!$&&!ie?!0:!$||!ie?!1:$.equals(ie)}function a(ue,U){return ue.cmp(U)}class x{constructor(){this.type=0}cmp(U){return this.type-U.type}equals(U){return U.type===this.type}substituteConstants(){return this}evaluate(U){return!1}serialize(){return"false"}keys(){return[]}negate(){return p.INSTANCE}}x.INSTANCE=new x;class p{constructor(){this.type=1}cmp(U){return this.type-U.type}equals(U){return U.type===this.type}substituteConstants(){return this}evaluate(U){return!0}serialize(){return"true"}keys(){return[]}negate(){return x.INSTANCE}}p.INSTANCE=new p;class y{constructor(U,$){this.key=U,this.negated=$,this.type=2}static create(U,$=null){const ie=f.get(U);return typeof ie=="boolean"?ie?p.INSTANCE:x.INSTANCE:new y(U,$)}cmp(U){return U.type!==this.type?this.type-U.type:V(this.key,U.key)}equals(U){return U.type===this.type?this.key===U.key:!1}substituteConstants(){const U=f.get(this.key);return typeof U=="boolean"?U?p.INSTANCE:x.INSTANCE:this}evaluate(U){return!!U.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(U,$,ie){this.key=U,this.value=$,this.negated=ie,this.type=4}static create(U,$,ie=null){if(typeof $=="boolean")return $?y.create(U,ie):R.create(U,ie);const _e=f.get(U);return typeof _e=="boolean"?$===(_e?"true":"false")?p.INSTANCE:x.INSTANCE:new _(U,$,ie)}cmp(U){return U.type!==this.type?this.type-U.type:se(this.key,this.value,U.key,U.value)}equals(U){return U.type===this.type?this.key===U.key&&this.value===U.value:!1}substituteConstants(){const U=f.get(this.key);if(typeof U=="boolean"){const $=U?"true":"false";return this.value===$?p.INSTANCE:x.INSTANCE}return this}evaluate(U){return U.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(U,$){this.key=U,this.valueKey=$,this.type=10,this.negated=null}static create(U,$){return new b(U,$)}cmp(U){return U.type!==this.type?this.type-U.type:se(this.key,this.valueKey,U.key,U.valueKey)}equals(U){return U.type===this.type?this.key===U.key&&this.valueKey===U.valueKey:!1}substituteConstants(){return this}evaluate(U){const $=U.getValue(this.valueKey),ie=U.getValue(this.key);return Array.isArray($)?$.indexOf(ie)>=0:typeof ie=="string"&&typeof $=="object"&&$!==null?o.call($,ie):!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(U){this._actual=U,this.type=11}static create(U){return new S(U)}cmp(U){return U.type!==this.type?this.type-U.type:this._actual.cmp(U._actual)}equals(U){return U.type===this.type?this._actual.equals(U._actual):!1}substituteConstants(){return this}evaluate(U){return!this._actual.evaluate(U)}serialize(){throw new Error("Method not implemented.")}keys(){return this._actual.keys()}negate(){return this._actual}}class k{constructor(U,$,ie){this.key=U,this.value=$,this.negated=ie,this.type=5}static create(U,$,ie=null){if(typeof $=="boolean")return $?R.create(U,ie):y.create(U,ie);const _e=f.get(U);return typeof _e=="boolean"?$===(_e?"true":"false")?x.INSTANCE:p.INSTANCE:new k(U,$,ie)}cmp(U){return U.type!==this.type?this.type-U.type:se(this.key,this.value,U.key,U.value)}equals(U){return U.type===this.type?this.key===U.key&&this.value===U.value:!1}substituteConstants(){const U=f.get(this.key);if(typeof U=="boolean"){const $=U?"true":"false";return this.value===$?x.INSTANCE:p.INSTANCE}return this}evaluate(U){return U.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(U,$){this.key=U,this.negated=$,this.type=3}static create(U,$=null){const ie=f.get(U);return typeof ie=="boolean"?ie?x.INSTANCE:p.INSTANCE:new R(U,$)}cmp(U){return U.type!==this.type?this.type-U.type:V(this.key,U.key)}equals(U){return U.type===this.type?this.key===U.key:!1}substituteConstants(){const U=f.get(this.key);return typeof U=="boolean"?U?x.INSTANCE:p.INSTANCE:this}evaluate(U){return!U.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(ue,U){if(typeof ue=="string"){const $=parseFloat(ue);isNaN($)||(ue=$)}return typeof ue=="string"||typeof ue=="number"?U(ue):x.INSTANCE}class P{constructor(U,$,ie){this.key=U,this.value=$,this.negated=ie,this.type=12}static create(U,$,ie=null){return A($,_e=>new P(U,_e,ie))}cmp(U){return U.type!==this.type?this.type-U.type:se(this.key,this.value,U.key,U.value)}equals(U){return U.type===this.type?this.key===U.key&&this.value===U.value:!1}substituteConstants(){return this}evaluate(U){return typeof this.value=="string"?!1:parseFloat(U.getValue(this.key))>this.value}serialize(){return`${this.key} > ${this.value}`}keys(){return[this.key]}negate(){return this.negated||(this.negated=N.create(this.key,this.value,this)),this.negated}}class M{constructor(U,$,ie){this.key=U,this.value=$,this.negated=ie,this.type=13}static create(U,$,ie=null){return A($,_e=>new M(U,_e,ie))}cmp(U){return U.type!==this.type?this.type-U.type:se(this.key,this.value,U.key,U.value)}equals(U){return U.type===this.type?this.key===U.key&&this.value===U.value:!1}substituteConstants(){return this}evaluate(U){return typeof this.value=="string"?!1:parseFloat(U.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(U,$,ie){this.key=U,this.value=$,this.negated=ie,this.type=14}static create(U,$,ie=null){return A($,_e=>new B(U,_e,ie))}cmp(U){return U.type!==this.type?this.type-U.type:se(this.key,this.value,U.key,U.value)}equals(U){return U.type===this.type?this.key===U.key&&this.value===U.value:!1}substituteConstants(){return this}evaluate(U){return typeof this.value=="string"?!1:parseFloat(U.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 N{constructor(U,$,ie){this.key=U,this.value=$,this.negated=ie,this.type=15}static create(U,$,ie=null){return A($,_e=>new N(U,_e,ie))}cmp(U){return U.type!==this.type?this.type-U.type:se(this.key,this.value,U.key,U.value)}equals(U){return U.type===this.type?this.key===U.key&&this.value===U.value:!1}substituteConstants(){return this}evaluate(U){return typeof this.value=="string"?!1:parseFloat(U.getValue(this.key))<=this.value}serialize(){return`${this.key} <= ${this.value}`}keys(){return[this.key]}negate(){return this.negated||(this.negated=P.create(this.key,this.value,this)),this.negated}}class K{constructor(U,$){this.key=U,this.regexp=$,this.type=7,this.negated=null}static create(U,$){return new K(U,$)}cmp(U){if(U.type!==this.type)return this.type-U.type;if(this.key<U.key)return-1;if(this.key>U.key)return 1;const $=this.regexp?this.regexp.source:"",ie=U.regexp?U.regexp.source:"";return $<ie?-1:$>ie?1:0}equals(U){if(U.type===this.type){const $=this.regexp?this.regexp.source:"",ie=U.regexp?U.regexp.source:"";return this.key===U.key&&$===ie}return!1}substituteConstants(){return this}evaluate(U){let $=U.getValue(this.key);return this.regexp?this.regexp.test($):!1}serialize(){const U=this.regexp?`/${this.regexp.source}/${this.regexp.ignoreCase?"i":""}`:"/invalid/";return`${this.key} =~ ${U}`}keys(){return[this.key]}negate(){return this.negated||(this.negated=G.create(this)),this.negated}}class G{constructor(U){this._actual=U,this.type=8}static create(U){return new G(U)}cmp(U){return U.type!==this.type?this.type-U.type:this._actual.cmp(U._actual)}equals(U){return U.type===this.type?this._actual.equals(U._actual):!1}substituteConstants(){return this}evaluate(U){return!this._actual.evaluate(U)}serialize(){throw new Error("Method not implemented.")}keys(){return this._actual.keys()}negate(){return this._actual}}function H(ue){let U=null;for(let $=0,ie=ue.length;$<ie;$++){const _e=ue[$].substituteConstants();if(ue[$]!==_e&&U===null){U=[];for(let Pe=0;Pe<$;Pe++)U[Pe]=ue[Pe]}U!==null&&(U[$]=_e)}return U===null?ue:U}class ae{constructor(U,$){this.expr=U,this.negated=$,this.type=6}static create(U,$){return ae._normalizeArr(U,$)}cmp(U){if(U.type!==this.type)return this.type-U.type;if(this.expr.length<U.expr.length)return-1;if(this.expr.length>U.expr.length)return 1;for(let $=0,ie=this.expr.length;$<ie;$++){const _e=a(this.expr[$],U.expr[$]);if(_e!==0)return _e}return 0}equals(U){if(U.type===this.type){if(this.expr.length!==U.expr.length)return!1;for(let $=0,ie=this.expr.length;$<ie;$++)if(!this.expr[$].equals(U.expr[$]))return!1;return!0}return!1}substituteConstants(){const U=H(this.expr);return U===this.expr?this:ae.create(U,this.negated)}evaluate(U){for(let $=0,ie=this.expr.length;$<ie;$++)if(!this.expr[$].evaluate(U))return!1;return!0}static _normalizeArr(U,$){const ie=[];let _e=!1;for(const Pe of U)if(Pe){if(Pe.type===1){_e=!0;continue}if(Pe.type===0)return x.INSTANCE;if(Pe.type===6){ie.push(...Pe.expr);continue}ie.push(Pe)}if(ie.length===0&&_e)return p.INSTANCE;if(ie.length!==0){if(ie.length===1)return ie[0];ie.sort(a);for(let Pe=1;Pe<ie.length;Pe++)ie[Pe-1].equals(ie[Pe])&&(ie.splice(Pe,1),Pe--);if(ie.length===1)return ie[0];for(;ie.length>1;){const Pe=ie[ie.length-1];if(Pe.type!==9)break;ie.pop();const De=ie.pop(),He=ie.length===0,Ne=ne.create(Pe.expr.map(Ft=>ae.create([Ft,De],null)),null,He);Ne&&(ie.push(Ne),ie.sort(a))}return ie.length===1?ie[0]:new ae(ie,$)}}serialize(){return this.expr.map(U=>U.serialize()).join(" && ")}keys(){const U=[];for(let $ of this.expr)U.push(...$.keys());return U}negate(){if(!this.negated){const U=[];for(let $ of this.expr)U.push($.negate());this.negated=ne.create(U,this,!0)}return this.negated}}class ne{constructor(U,$){this.expr=U,this.negated=$,this.type=9}static create(U,$,ie){return ne._normalizeArr(U,$,ie)}cmp(U){if(U.type!==this.type)return this.type-U.type;if(this.expr.length<U.expr.length)return-1;if(this.expr.length>U.expr.length)return 1;for(let $=0,ie=this.expr.length;$<ie;$++){const _e=a(this.expr[$],U.expr[$]);if(_e!==0)return _e}return 0}equals(U){if(U.type===this.type){if(this.expr.length!==U.expr.length)return!1;for(let $=0,ie=this.expr.length;$<ie;$++)if(!this.expr[$].equals(U.expr[$]))return!1;return!0}return!1}substituteConstants(){const U=H(this.expr);return U===this.expr?this:ne.create(U,this.negated,!1)}evaluate(U){for(let $=0,ie=this.expr.length;$<ie;$++)if(this.expr[$].evaluate(U))return!0;return!1}static _normalizeArr(U,$,ie){let _e=[],Pe=!1;if(U){for(let De=0,He=U.length;De<He;De++){const Ne=U[De];if(Ne){if(Ne.type===0){Pe=!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&&Pe)return x.INSTANCE;_e.sort(a)}if(_e.length!==0){if(_e.length===1)return _e[0];for(let De=1;De<_e.length;De++)_e[De-1].equals(_e[De])&&(_e.splice(De,1),De--);if(_e.length===1)return _e[0];if(ie){for(let De=0;De<_e.length;De++)for(let He=De+1;He<_e.length;He++)ee(_e[De],_e[He])&&(_e.splice(He,1),He--);if(_e.length===1)return _e[0]}return new ne(_e,$)}}serialize(){return this.expr.map(U=>U.serialize()).join(" || ")}keys(){const U=[];for(let $ of this.expr)U.push(...$.keys());return U}negate(){if(!this.negated){let U=[];for(let $ of this.expr)U.push($.negate());for(;U.length>1;){const $=U.shift(),ie=U.shift(),_e=[];for(const De of Q($))for(const He of Q(ie))_e.push(ae.create([De,He],null));const Pe=U.length===0;U.unshift(ne.create(_e,null,Pe))}this.negated=U[0]}return this.negated}}class oe extends y{constructor(U,$,ie){super(U,null),this._defaultValue=$,typeof ie=="object"?oe._info.push(Object.assign(Object.assign({},ie),{key:U})):ie!==!0&&oe._info.push({key:U,description:ie,type:$!=null?typeof $:void 0})}static all(){return oe._info.values()}bindTo(U){return U.createKey(this.key,this._defaultValue)}getValue(U){return U.getContextKeyValue(this.key)}toNegated(){return this.negate()}isEqualTo(U){return _.create(this.key,U)}}oe._info=[];const q=(0,l.yh)("contextKeyService"),J="setContext";function V(ue,U){return ue<U?-1:ue>U?1:0}function se(ue,U,$,ie){return ue<$?-1:ue>$?1:U<ie?-1:U>ie?1:0}function ee(ue,U){if(U.type===6&&ue.type!==9&&ue.type!==6){for(const _e of U.expr)if(ue.equals(_e))return!0}const $=ue.negate(),ie=Q($).concat(Q(U));ie.sort(a);for(let _e=0;_e<ie.length;_e++){const De=ie[_e].negate();for(let He=_e+1;He<ie.length;He++){const Ne=ie[He];if(De.equals(Ne))return!0}}return!1}function Q(ue){return ue.type===9?ue.expr:[ue]}},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(P){return P&&typeof P=="object"&&typeof P.id=="string"}R.isThemeColor=A})(u||(u={}));function a(R){return{id:R}}var x;(function(R){function A(G){return G&&typeof G=="object"&&typeof G.id=="string"&&(typeof G.color=="undefined"||u.isThemeColor(G.color))}R.isThemeIcon=A;const P=new RegExp(`^\\$\\((${r.dT.iconNameExpression}(?:${r.dT.iconModifierExpression})?)\\)$`);function M(G){const H=P.exec(G);if(!H)return;let[,ae]=H;return{id:ae}}R.fromString=M;function B(G,H){let ae=G.id;const ne=ae.lastIndexOf("~");return ne!==-1&&(ae=ae.substring(0,ne)),H&&(ae=`${ae}~${H}`),{id:ae}}R.modify=B;function N(G,H){var ae,ne;return G.id===H.id&&((ae=G.color)===null||ae===void 0?void 0:ae.id)===((ne=H.color)===null||ne===void 0?void 0:ne.id)}R.isEqual=N;function K(G,H){return{id:G.id,color:H?a(H):void 0}}R.asThemeIcon=K,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 P=this.themingParticipants.indexOf(A);this.themingParticipants.splice(P,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(P=>this.onThemeChange(P)))}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 oe}});var r=e(67711),i=e(16886),l=e(43403),c=e(59301),f=c.createContext({}),o=e(98506),h=e(92310),u=e.n(h),a=e(48519),x=e(80402),p=e(10228),y=e(26112);function _(q,J,V){var se=J;return!se&&V&&(se="".concat(q,"-").concat(V)),se}function b(q,J){var V=q["page".concat(J?"Y":"X","Offset")],se="scroll".concat(J?"Top":"Left");if(typeof V!="number"){var ee=q.document;V=ee.documentElement[se],typeof V!="number"&&(V=ee.body[se])}return V}function S(q){var J=q.getBoundingClientRect(),V={left:J.left,top:J.top},se=q.ownerDocument,ee=se.defaultView||se.parentWindow;return V.left+=b(ee),V.top+=b(ee,!0),V}var k=e(77900),R=e(8654),A=c.memo(function(q){var J=q.children;return J},function(q,J){var V=J.shouldUpdate;return!V}),P={width:0,height:0,overflow:"hidden",outline:"none"},M=c.forwardRef(function(q,J){var V=q.prefixCls,se=q.className,ee=q.style,Q=q.title,ue=q.ariaId,U=q.footer,$=q.closable,ie=q.closeIcon,_e=q.onClose,Pe=q.children,De=q.bodyStyle,He=q.bodyProps,Ne=q.modalRender,Ft=q.onMouseDown,gt=q.onMouseUp,Dt=q.holderRef,rr=q.visible,Xt=q.forceRender,fr=q.width,Ge=q.height,Tt=c.useContext(f),zt=Tt.panel,nt=(0,R.x1)(Dt,zt),bt=(0,c.useRef)(),dt=(0,c.useRef)();c.useImperativeHandle(J,function(){return{focus:function(){var We;(We=bt.current)===null||We===void 0||We.focus()},changeActive:function(We){var rt=document,ot=rt.activeElement;We&&ot===dt.current?bt.current.focus():!We&&ot===bt.current&&dt.current.focus()}}});var et={};fr!==void 0&&(et.width=fr),Ge!==void 0&&(et.height=Ge);var ze;U&&(ze=c.createElement("div",{className:"".concat(V,"-footer")},U));var ge;Q&&(ge=c.createElement("div",{className:"".concat(V,"-header")},c.createElement("div",{className:"".concat(V,"-title"),id:ue},Q)));var Se;$&&(Se=c.createElement("button",{type:"button",onClick:_e,"aria-label":"Close",className:"".concat(V,"-close")},ie||c.createElement("span",{className:"".concat(V,"-close-x")})));var Le=c.createElement("div",{className:"".concat(V,"-content")},Se,ge,c.createElement("div",(0,r.Z)({className:"".concat(V,"-body"),style:De},He),Pe),ze);return c.createElement("div",{key:"dialog-element",role:"dialog","aria-labelledby":Q?ue:null,"aria-modal":"true",ref:nt,style:(0,o.Z)((0,o.Z)({},ee),et),className:u()(V,se),onMouseDown:Ft,onMouseUp:gt},c.createElement("div",{tabIndex:0,ref:bt,style:P,"aria-hidden":"true"}),c.createElement(A,{shouldUpdate:rr||Xt},Ne?Ne(Le):Le),c.createElement("div",{tabIndex:0,ref:dt,style:P,"aria-hidden":"true"}))}),B=M,N=c.forwardRef(function(q,J){var V=q.prefixCls,se=q.title,ee=q.style,Q=q.className,ue=q.visible,U=q.forceRender,$=q.destroyOnClose,ie=q.motionName,_e=q.ariaId,Pe=q.onVisibleChanged,De=q.mousePosition,He=(0,c.useRef)(),Ne=c.useState(),Ft=(0,i.Z)(Ne,2),gt=Ft[0],Dt=Ft[1],rr={};gt&&(rr.transformOrigin=gt);function Xt(){var fr=S(He.current);Dt(De?"".concat(De.x-fr.left,"px ").concat(De.y-fr.top,"px"):"")}return c.createElement(k.default,{visible:ue,onVisibleChanged:Pe,onAppearPrepare:Xt,onEnterPrepare:Xt,forceRender:U,motionName:ie,removeOnLeave:$,ref:He},function(fr,Ge){var Tt=fr.className,zt=fr.style;return c.createElement(B,(0,r.Z)({},q,{ref:J,title:se,ariaId:_e,prefixCls:V,holderRef:Ge,style:(0,o.Z)((0,o.Z)((0,o.Z)({},zt),ee),rr),className:u()(Q,Tt)}))})});N.displayName="Content";var K=N;function G(q){var J=q.prefixCls,V=q.style,se=q.visible,ee=q.maskProps,Q=q.motionName;return c.createElement(k.default,{key:"mask",visible:se,motionName:Q,leavedClassName:"".concat(J,"-mask-hidden")},function(ue,U){var $=ue.className,ie=ue.style;return c.createElement("div",(0,r.Z)({ref:U,style:(0,o.Z)((0,o.Z)({},ie),V),className:u()("".concat(J,"-mask"),$)},ee))})}function H(q){var J=q.prefixCls,V=J===void 0?"rc-dialog":J,se=q.zIndex,ee=q.visible,Q=ee===void 0?!1:ee,ue=q.keyboard,U=ue===void 0?!0:ue,$=q.focusTriggerAfterClose,ie=$===void 0?!0:$,_e=q.wrapStyle,Pe=q.wrapClassName,De=q.wrapProps,He=q.onClose,Ne=q.afterOpenChange,Ft=q.afterClose,gt=q.transitionName,Dt=q.animation,rr=q.closable,Xt=rr===void 0?!0:rr,fr=q.mask,Ge=fr===void 0?!0:fr,Tt=q.maskTransitionName,zt=q.maskAnimation,nt=q.maskClosable,bt=nt===void 0?!0:nt,dt=q.maskStyle,et=q.maskProps,ze=q.rootClassName,ge=(0,c.useRef)(),Se=(0,c.useRef)(),Le=(0,c.useRef)(),$e=c.useState(Q),We=(0,i.Z)($e,2),rt=We[0],ot=We[1],Kt=(0,x.Z)();function Wt(){(0,a.Z)(Se.current,document.activeElement)||(ge.current=document.activeElement)}function Ce(){if(!(0,a.Z)(Se.current,document.activeElement)){var ce;(ce=Le.current)===null||ce===void 0||ce.focus()}}function Je(ce){if(ce)Ce();else{if(ot(!1),Ge&&ge.current&&ie){try{ge.current.focus({preventScroll:!0})}catch(he){}ge.current=null}rt&&(Ft==null||Ft())}Ne==null||Ne(ce)}function Yt(ce){He==null||He(ce)}var kt=(0,c.useRef)(!1),Ht=(0,c.useRef)(),$t=function(){clearTimeout(Ht.current),kt.current=!0},tr=function(){Ht.current=setTimeout(function(){kt.current=!1})},Gt=null;bt&&(Gt=function(he){kt.current?kt.current=!1:Se.current===he.target&&Yt(he)});function Me(ce){if(U&&ce.keyCode===p.Z.ESC){ce.stopPropagation(),Yt(ce);return}Q&&ce.keyCode===p.Z.TAB&&Le.current.changeActive(!ce.shiftKey)}return(0,c.useEffect)(function(){Q&&(ot(!0),Wt())},[Q]),(0,c.useEffect)(function(){return function(){clearTimeout(Ht.current)}},[]),c.createElement("div",(0,r.Z)({className:u()("".concat(V,"-root"),ze)},(0,y.Z)(q,{data:!0})),c.createElement(G,{prefixCls:V,visible:Ge&&Q,motionName:_(V,Tt,zt),style:(0,o.Z)({zIndex:se},dt),maskProps:et}),c.createElement("div",(0,r.Z)({tabIndex:-1,onKeyDown:Me,className:u()("".concat(V,"-wrap"),Pe),ref:Se,onClick:Gt,style:(0,o.Z)((0,o.Z)({zIndex:se},_e),{},{display:rt?null:"none"})},De),c.createElement(K,(0,r.Z)({},q,{onMouseDown:$t,onMouseUp:tr,ref:Le,closable:Xt,ariaId:Kt,prefixCls:V,visible:Q&&rt,onClose:Yt,onVisibleChanged:Je,motionName:_(V,gt,Dt)}))))}var ae=function(J){var V=J.visible,se=J.getContainer,ee=J.forceRender,Q=J.destroyOnClose,ue=Q===void 0?!1:Q,U=J.afterClose,$=J.panelRef,ie=c.useState(V),_e=(0,i.Z)(ie,2),Pe=_e[0],De=_e[1],He=c.useMemo(function(){return{panel:$}},[$]);return c.useEffect(function(){V&&De(!0)},[V]),!ee&&ue&&!Pe?null:c.createElement(f.Provider,{value:He},c.createElement(l.Z,{open:V||ee||Pe,autoDestroy:!1,getContainer:se,autoLock:V||Pe},c.createElement(H,(0,r.Z)({},J,{destroyOnClose:ue,afterClose:function(){U==null||U(),De(!1)}}))))};ae.displayName="Dialog";var ne=ae,oe=ne},95013:function(d,v,e){"use strict";e.r(v),e.d(v,{Field:function(){return Kr},FieldContext:function(){return M},FormProvider:function(){return fa},List:function(){return At},ListContext:function(){return N},default:function(){return An},useForm:function(){return Di},useWatch:function(){return sa}});var r=e(59301),i=e(67711),l=e(33346),c=e(77910),f=e(51343),o=e(98506),h=e(15142),u=e(42573),a=e(58698),x=e(62437),p=e(74700),y=e(45080),_=e(52873),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.")},P=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=P,B=r.createContext(null),N=B;function K(er){return er==null?[]:Array.isArray(er)?er:[er]}function G(er){return er&&!!er._init}var H=e(97671);function ae(){return ae=Object.assign?Object.assign.bind():function(er){for(var pt=1;pt<arguments.length;pt++){var tt=arguments[pt];for(var Ot in tt)Object.prototype.hasOwnProperty.call(tt,Ot)&&(er[Ot]=tt[Ot])}return er},ae.apply(this,arguments)}function ne(er,pt){er.prototype=Object.create(pt.prototype),er.prototype.constructor=er,q(er,pt)}function oe(er){return oe=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(tt){return tt.__proto__||Object.getPrototypeOf(tt)},oe(er)}function q(er,pt){return q=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(Ot,ft){return Ot.__proto__=ft,Ot},q(er,pt)}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(er){return!1}}function V(er,pt,tt){return J()?V=Reflect.construct.bind():V=function(ft,lr,dr){var Pr=[null];Pr.push.apply(Pr,lr);var zr=Function.bind.apply(ft,Pr),Ze=new zr;return dr&&q(Ze,dr.prototype),Ze},V.apply(null,arguments)}function se(er){return Function.toString.call(er).indexOf("[native code]")!==-1}function ee(er){var pt=typeof Map=="function"?new Map:void 0;return ee=function(Ot){if(Ot===null||!se(Ot))return Ot;if(typeof Ot!="function")throw new TypeError("Super expression must either be null or a function");if(typeof pt!="undefined"){if(pt.has(Ot))return pt.get(Ot);pt.set(Ot,ft)}function ft(){return V(Ot,arguments,oe(this).constructor)}return ft.prototype=Object.create(Ot.prototype,{constructor:{value:ft,enumerable:!1,writable:!0,configurable:!0}}),q(ft,Ot)},ee(er)}var Q=/%[sdj%]/g,ue=function(){};function U(er){if(!er||!er.length)return null;var pt={};return er.forEach(function(tt){var Ot=tt.field;pt[Ot]=pt[Ot]||[],pt[Ot].push(tt)}),pt}function $(er){for(var pt=arguments.length,tt=new Array(pt>1?pt-1:0),Ot=1;Ot<pt;Ot++)tt[Ot-1]=arguments[Ot];var ft=0,lr=tt.length;if(typeof er=="function")return er.apply(null,tt);if(typeof er=="string"){var dr=er.replace(Q,function(Pr){if(Pr==="%%")return"%";if(ft>=lr)return Pr;switch(Pr){case"%s":return String(tt[ft++]);case"%d":return Number(tt[ft++]);case"%j":try{return JSON.stringify(tt[ft++])}catch(zr){return"[Circular]"}break;default:return Pr}});return dr}return er}function ie(er){return er==="string"||er==="url"||er==="hex"||er==="email"||er==="date"||er==="pattern"}function _e(er,pt){return!!(er==null||pt==="array"&&Array.isArray(er)&&!er.length||ie(pt)&&typeof er=="string"&&!er)}function Pe(er,pt,tt){var Ot=[],ft=0,lr=er.length;function dr(Pr){Ot.push.apply(Ot,Pr||[]),ft++,ft===lr&&tt(Ot)}er.forEach(function(Pr){pt(Pr,dr)})}function De(er,pt,tt){var Ot=0,ft=er.length;function lr(dr){if(dr&&dr.length){tt(dr);return}var Pr=Ot;Ot=Ot+1,Pr<ft?pt(er[Pr],lr):tt([])}lr([])}function He(er){var pt=[];return Object.keys(er).forEach(function(tt){pt.push.apply(pt,er[tt]||[])}),pt}var Ne=function(er){ne(pt,er);function pt(tt,Ot){var ft;return ft=er.call(this,"Async Validation Error")||this,ft.errors=tt,ft.fields=Ot,ft}return pt}(ee(Error));function Ft(er,pt,tt,Ot,ft){if(pt.first){var lr=new Promise(function(at,ar){var Er=function(jr){return Ot(jr),jr.length?ar(new Ne(jr,U(jr))):at(ft)},kr=He(er);De(kr,tt,Er)});return lr.catch(function(at){return at}),lr}var dr=pt.firstFields===!0?Object.keys(er):pt.firstFields||[],Pr=Object.keys(er),zr=Pr.length,Ze=0,qe=[],xe=new Promise(function(at,ar){var Er=function(Ir){if(qe.push.apply(qe,Ir),Ze++,Ze===zr)return Ot(qe),qe.length?ar(new Ne(qe,U(qe))):at(ft)};Pr.length||(Ot(qe),at(ft)),Pr.forEach(function(kr){var Ir=er[kr];dr.indexOf(kr)!==-1?De(Ir,tt,Er):Pe(Ir,tt,Er)})});return xe.catch(function(at){return at}),xe}function gt(er){return!!(er&&er.message!==void 0)}function Dt(er,pt){for(var tt=er,Ot=0;Ot<pt.length;Ot++){if(tt==null)return tt;tt=tt[pt[Ot]]}return tt}function rr(er,pt){return function(tt){var Ot;return er.fullFields?Ot=Dt(pt,er.fullFields):Ot=pt[tt.field||er.fullField],gt(tt)?(tt.field=tt.field||er.fullField,tt.fieldValue=Ot,tt):{message:typeof tt=="function"?tt():tt,fieldValue:Ot,field:tt.field||er.fullField}}}function Xt(er,pt){if(pt){for(var tt in pt)if(pt.hasOwnProperty(tt)){var Ot=pt[tt];typeof Ot=="object"&&typeof er[tt]=="object"?er[tt]=ae({},er[tt],Ot):er[tt]=Ot}}return er}var fr=function(pt,tt,Ot,ft,lr,dr){pt.required&&(!Ot.hasOwnProperty(pt.field)||_e(tt,dr||pt.type))&&ft.push($(lr.messages.required,pt.fullField))},Ge=function(pt,tt,Ot,ft,lr){(/^\s+$/.test(tt)||tt==="")&&ft.push($(lr.messages.whitespace,pt.fullField))},Tt,zt=function(){if(Tt)return Tt;var er="[a-fA-F\\d:]",pt=function(pn){return pn&&pn.includeBoundaries?"(?:(?<=\\s|^)(?="+er+")|(?<="+er+")(?=\\s|$))":""},tt="(?: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}",Ot="[a-fA-F\\d]{1,4}",ft=(`
|
|
|
(?:
|
|
|
(?:`+Ot+":){7}(?:"+Ot+`|:)| // 1:2:3:4:5:6:7:: 1:2:3:4:5:6:7:8
|
|
|
(?:`+Ot+":){6}(?:"+tt+"|:"+Ot+`|:)| // 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
|
|
|
(?:`+Ot+":){5}(?::"+tt+"|(?::"+Ot+`){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
|
|
|
(?:`+Ot+":){4}(?:(?::"+Ot+"){0,1}:"+tt+"|(?::"+Ot+`){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
|
|
|
(?:`+Ot+":){3}(?:(?::"+Ot+"){0,2}:"+tt+"|(?::"+Ot+`){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
|
|
|
(?:`+Ot+":){2}(?:(?::"+Ot+"){0,3}:"+tt+"|(?::"+Ot+`){1,5}|:)| // 1:2:: 1:2::4:5:6:7:8 1:2::8 1:2::4:5:6:7:1.2.3.4
|
|
|
(?:`+Ot+":){1}(?:(?::"+Ot+"){0,4}:"+tt+"|(?::"+Ot+`){1,6}|:)| // 1:: 1::3:4:5:6:7:8 1::8 1::3:4:5:6:7:1.2.3.4
|
|
|
(?::(?:(?::`+Ot+"){0,5}:"+tt+"|(?::"+Ot+`){1,7}|:)) // ::2:3:4:5:6:7:8 ::2:3:4:5:6:7:8 ::8 ::1.2.3.4
|
|
|
)(?:%[0-9a-zA-Z]{1,})? // %eth0 %1
|
|
|
`).replace(/\s*\/\/.*$/gm,"").replace(/\n/g,"").trim(),lr=new RegExp("(?:^"+tt+"$)|(?:^"+ft+"$)"),dr=new RegExp("^"+tt+"$"),Pr=new RegExp("^"+ft+"$"),zr=function(pn){return pn&&pn.exact?lr:new RegExp("(?:"+pt(pn)+tt+pt(pn)+")|(?:"+pt(pn)+ft+pt(pn)+")","g")};zr.v4=function(Sr){return Sr&&Sr.exact?dr:new RegExp(""+pt(Sr)+tt+pt(Sr),"g")},zr.v6=function(Sr){return Sr&&Sr.exact?Pr:new RegExp(""+pt(Sr)+ft+pt(Sr),"g")};var Ze="(?:(?:[a-z]+:)?//)",qe="(?:\\S+(?::\\S*)?@)?",xe=zr.v4().source,at=zr.v6().source,ar="(?:(?:[a-z\\u00a1-\\uffff0-9][-_]*)*[a-z\\u00a1-\\uffff0-9]+)",Er="(?:\\.(?:[a-z\\u00a1-\\uffff0-9]-*)*[a-z\\u00a1-\\uffff0-9]+)*",kr="(?:\\.(?:[a-z\\u00a1-\\uffff]{2,}))",Ir="(?::\\d{2,5})?",jr='(?:[/?#][^\\s"]*)?',wn="(?:"+Ze+"|www\\.)"+qe+"(?:localhost|"+xe+"|"+at+"|"+ar+Er+kr+")"+Ir+jr;return Tt=new RegExp("(?:^"+wn+"$)","i"),Tt},nt={email:/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+\.)+[a-zA-Z\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]{2,}))$/,hex:/^#?([a-f0-9]{6}|[a-f0-9]{3})$/i},bt={integer:function(pt){return bt.number(pt)&&parseInt(pt,10)===pt},float:function(pt){return bt.number(pt)&&!bt.integer(pt)},array:function(pt){return Array.isArray(pt)},regexp:function(pt){if(pt instanceof RegExp)return!0;try{return!!new RegExp(pt)}catch(tt){return!1}},date:function(pt){return typeof pt.getTime=="function"&&typeof pt.getMonth=="function"&&typeof pt.getYear=="function"&&!isNaN(pt.getTime())},number:function(pt){return isNaN(pt)?!1:typeof pt=="number"},object:function(pt){return typeof pt=="object"&&!bt.array(pt)},method:function(pt){return typeof pt=="function"},email:function(pt){return typeof pt=="string"&&pt.length<=320&&!!pt.match(nt.email)},url:function(pt){return typeof pt=="string"&&pt.length<=2048&&!!pt.match(zt())},hex:function(pt){return typeof pt=="string"&&!!pt.match(nt.hex)}},dt=function(pt,tt,Ot,ft,lr){if(pt.required&&tt===void 0){fr(pt,tt,Ot,ft,lr);return}var dr=["integer","float","array","regexp","object","method","email","number","date","url","hex"],Pr=pt.type;dr.indexOf(Pr)>-1?bt[Pr](tt)||ft.push($(lr.messages.types[Pr],pt.fullField,pt.type)):Pr&&typeof tt!==pt.type&&ft.push($(lr.messages.types[Pr],pt.fullField,pt.type))},et=function(pt,tt,Ot,ft,lr){var dr=typeof pt.len=="number",Pr=typeof pt.min=="number",zr=typeof pt.max=="number",Ze=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,qe=tt,xe=null,at=typeof tt=="number",ar=typeof tt=="string",Er=Array.isArray(tt);if(at?xe="number":ar?xe="string":Er&&(xe="array"),!xe)return!1;Er&&(qe=tt.length),ar&&(qe=tt.replace(Ze,"_").length),dr?qe!==pt.len&&ft.push($(lr.messages[xe].len,pt.fullField,pt.len)):Pr&&!zr&&qe<pt.min?ft.push($(lr.messages[xe].min,pt.fullField,pt.min)):zr&&!Pr&&qe>pt.max?ft.push($(lr.messages[xe].max,pt.fullField,pt.max)):Pr&&zr&&(qe<pt.min||qe>pt.max)&&ft.push($(lr.messages[xe].range,pt.fullField,pt.min,pt.max))},ze="enum",ge=function(pt,tt,Ot,ft,lr){pt[ze]=Array.isArray(pt[ze])?pt[ze]:[],pt[ze].indexOf(tt)===-1&&ft.push($(lr.messages[ze],pt.fullField,pt[ze].join(", ")))},Se=function(pt,tt,Ot,ft,lr){if(pt.pattern){if(pt.pattern instanceof RegExp)pt.pattern.lastIndex=0,pt.pattern.test(tt)||ft.push($(lr.messages.pattern.mismatch,pt.fullField,tt,pt.pattern));else if(typeof pt.pattern=="string"){var dr=new RegExp(pt.pattern);dr.test(tt)||ft.push($(lr.messages.pattern.mismatch,pt.fullField,tt,pt.pattern))}}},Le={required:fr,whitespace:Ge,type:dt,range:et,enum:ge,pattern:Se},$e=function(pt,tt,Ot,ft,lr){var dr=[],Pr=pt.required||!pt.required&&ft.hasOwnProperty(pt.field);if(Pr){if(_e(tt,"string")&&!pt.required)return Ot();Le.required(pt,tt,ft,dr,lr,"string"),_e(tt,"string")||(Le.type(pt,tt,ft,dr,lr),Le.range(pt,tt,ft,dr,lr),Le.pattern(pt,tt,ft,dr,lr),pt.whitespace===!0&&Le.whitespace(pt,tt,ft,dr,lr))}Ot(dr)},We=function(pt,tt,Ot,ft,lr){var dr=[],Pr=pt.required||!pt.required&&ft.hasOwnProperty(pt.field);if(Pr){if(_e(tt)&&!pt.required)return Ot();Le.required(pt,tt,ft,dr,lr),tt!==void 0&&Le.type(pt,tt,ft,dr,lr)}Ot(dr)},rt=function(pt,tt,Ot,ft,lr){var dr=[],Pr=pt.required||!pt.required&&ft.hasOwnProperty(pt.field);if(Pr){if(tt===""&&(tt=void 0),_e(tt)&&!pt.required)return Ot();Le.required(pt,tt,ft,dr,lr),tt!==void 0&&(Le.type(pt,tt,ft,dr,lr),Le.range(pt,tt,ft,dr,lr))}Ot(dr)},ot=function(pt,tt,Ot,ft,lr){var dr=[],Pr=pt.required||!pt.required&&ft.hasOwnProperty(pt.field);if(Pr){if(_e(tt)&&!pt.required)return Ot();Le.required(pt,tt,ft,dr,lr),tt!==void 0&&Le.type(pt,tt,ft,dr,lr)}Ot(dr)},Kt=function(pt,tt,Ot,ft,lr){var dr=[],Pr=pt.required||!pt.required&&ft.hasOwnProperty(pt.field);if(Pr){if(_e(tt)&&!pt.required)return Ot();Le.required(pt,tt,ft,dr,lr),_e(tt)||Le.type(pt,tt,ft,dr,lr)}Ot(dr)},Wt=function(pt,tt,Ot,ft,lr){var dr=[],Pr=pt.required||!pt.required&&ft.hasOwnProperty(pt.field);if(Pr){if(_e(tt)&&!pt.required)return Ot();Le.required(pt,tt,ft,dr,lr),tt!==void 0&&(Le.type(pt,tt,ft,dr,lr),Le.range(pt,tt,ft,dr,lr))}Ot(dr)},Ce=function(pt,tt,Ot,ft,lr){var dr=[],Pr=pt.required||!pt.required&&ft.hasOwnProperty(pt.field);if(Pr){if(_e(tt)&&!pt.required)return Ot();Le.required(pt,tt,ft,dr,lr),tt!==void 0&&(Le.type(pt,tt,ft,dr,lr),Le.range(pt,tt,ft,dr,lr))}Ot(dr)},Je=function(pt,tt,Ot,ft,lr){var dr=[],Pr=pt.required||!pt.required&&ft.hasOwnProperty(pt.field);if(Pr){if(tt==null&&!pt.required)return Ot();Le.required(pt,tt,ft,dr,lr,"array"),tt!=null&&(Le.type(pt,tt,ft,dr,lr),Le.range(pt,tt,ft,dr,lr))}Ot(dr)},Yt=function(pt,tt,Ot,ft,lr){var dr=[],Pr=pt.required||!pt.required&&ft.hasOwnProperty(pt.field);if(Pr){if(_e(tt)&&!pt.required)return Ot();Le.required(pt,tt,ft,dr,lr),tt!==void 0&&Le.type(pt,tt,ft,dr,lr)}Ot(dr)},kt="enum",Ht=function(pt,tt,Ot,ft,lr){var dr=[],Pr=pt.required||!pt.required&&ft.hasOwnProperty(pt.field);if(Pr){if(_e(tt)&&!pt.required)return Ot();Le.required(pt,tt,ft,dr,lr),tt!==void 0&&Le[kt](pt,tt,ft,dr,lr)}Ot(dr)},$t=function(pt,tt,Ot,ft,lr){var dr=[],Pr=pt.required||!pt.required&&ft.hasOwnProperty(pt.field);if(Pr){if(_e(tt,"string")&&!pt.required)return Ot();Le.required(pt,tt,ft,dr,lr),_e(tt,"string")||Le.pattern(pt,tt,ft,dr,lr)}Ot(dr)},tr=function(pt,tt,Ot,ft,lr){var dr=[],Pr=pt.required||!pt.required&&ft.hasOwnProperty(pt.field);if(Pr){if(_e(tt,"date")&&!pt.required)return Ot();if(Le.required(pt,tt,ft,dr,lr),!_e(tt,"date")){var zr;tt instanceof Date?zr=tt:zr=new Date(tt),Le.type(pt,zr,ft,dr,lr),zr&&Le.range(pt,zr.getTime(),ft,dr,lr)}}Ot(dr)},Gt=function(pt,tt,Ot,ft,lr){var dr=[],Pr=Array.isArray(tt)?"array":typeof tt;Le.required(pt,tt,ft,dr,lr,Pr),Ot(dr)},Me=function(pt,tt,Ot,ft,lr){var dr=pt.type,Pr=[],zr=pt.required||!pt.required&&ft.hasOwnProperty(pt.field);if(zr){if(_e(tt,dr)&&!pt.required)return Ot();Le.required(pt,tt,ft,Pr,lr,dr),_e(tt,dr)||Le.type(pt,tt,ft,Pr,lr)}Ot(Pr)},ce=function(pt,tt,Ot,ft,lr){var dr=[],Pr=pt.required||!pt.required&&ft.hasOwnProperty(pt.field);if(Pr){if(_e(tt)&&!pt.required)return Ot();Le.required(pt,tt,ft,dr,lr)}Ot(dr)},he={string:$e,method:We,number:rt,boolean:ot,regexp:Kt,integer:Wt,float:Ce,array:Je,object:Yt,enum:Ht,pattern:$t,date:tr,url:Me,hex:Me,email:Me,required:Gt,any:ce};function Pt(){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 pt=JSON.parse(JSON.stringify(this));return pt.clone=this.clone,pt}}}var Te=Pt(),ct=function(){function er(tt){this.rules=null,this._messages=Te,this.define(tt)}var pt=er.prototype;return pt.define=function(Ot){var ft=this;if(!Ot)throw new Error("Cannot configure a schema with no rules");if(typeof Ot!="object"||Array.isArray(Ot))throw new Error("Rules must be an object");this.rules={},Object.keys(Ot).forEach(function(lr){var dr=Ot[lr];ft.rules[lr]=Array.isArray(dr)?dr:[dr]})},pt.messages=function(Ot){return Ot&&(this._messages=Xt(Pt(),Ot)),this._messages},pt.validate=function(Ot,ft,lr){var dr=this;ft===void 0&&(ft={}),lr===void 0&&(lr=function(){});var Pr=Ot,zr=ft,Ze=lr;if(typeof zr=="function"&&(Ze=zr,zr={}),!this.rules||Object.keys(this.rules).length===0)return Ze&&Ze(null,Pr),Promise.resolve(Pr);function qe(kr){var Ir=[],jr={};function wn(pn){if(Array.isArray(pn)){var on;Ir=(on=Ir).concat.apply(on,pn)}else Ir.push(pn)}for(var Sr=0;Sr<kr.length;Sr++)wn(kr[Sr]);Ir.length?(jr=U(Ir),Ze(Ir,jr)):Ze(null,Pr)}if(zr.messages){var xe=this.messages();xe===Te&&(xe=Pt()),Xt(xe,zr.messages),zr.messages=xe}else zr.messages=this.messages();var at={},ar=zr.keys||Object.keys(this.rules);ar.forEach(function(kr){var Ir=dr.rules[kr],jr=Pr[kr];Ir.forEach(function(wn){var Sr=wn;typeof Sr.transform=="function"&&(Pr===Ot&&(Pr=ae({},Pr)),jr=Pr[kr]=Sr.transform(jr)),typeof Sr=="function"?Sr={validator:Sr}:Sr=ae({},Sr),Sr.validator=dr.getValidationMethod(Sr),Sr.validator&&(Sr.field=kr,Sr.fullField=Sr.fullField||kr,Sr.type=dr.getType(Sr),at[kr]=at[kr]||[],at[kr].push({rule:Sr,value:jr,source:Pr,field:kr}))})});var Er={};return Ft(at,zr,function(kr,Ir){var jr=kr.rule,wn=(jr.type==="object"||jr.type==="array")&&(typeof jr.fields=="object"||typeof jr.defaultField=="object");wn=wn&&(jr.required||!jr.required&&kr.value),jr.field=kr.field;function Sr(dn,In){return ae({},In,{fullField:jr.fullField+"."+dn,fullFields:jr.fullFields?[].concat(jr.fullFields,[dn]):[dn]})}function pn(dn){dn===void 0&&(dn=[]);var In=Array.isArray(dn)?dn:[dn];!zr.suppressWarning&&In.length&&er.warning("async-validator:",In),In.length&&jr.message!==void 0&&(In=[].concat(jr.message));var Ia=In.map(rr(jr,Pr));if(zr.first&&Ia.length)return Er[jr.field]=1,Ir(Ia);if(!wn)Ir(Ia);else{if(jr.required&&!kr.value)return jr.message!==void 0?Ia=[].concat(jr.message).map(rr(jr,Pr)):zr.error&&(Ia=[zr.error(jr,$(zr.messages.required,jr.field))]),Ir(Ia);var Ni={};jr.defaultField&&Object.keys(kr.value).map(function(pi){Ni[pi]=jr.defaultField}),Ni=ae({},Ni,kr.rule.fields);var gi={};Object.keys(Ni).forEach(function(pi){var Qi=Ni[pi],Ea=Array.isArray(Qi)?Qi:[Qi];gi[pi]=Ea.map(Sr.bind(null,pi))});var En=new er(gi);En.messages(zr.messages),kr.rule.options&&(kr.rule.options.messages=zr.messages,kr.rule.options.error=zr.error),En.validate(kr.value,kr.rule.options||zr,function(pi){var Qi=[];Ia&&Ia.length&&Qi.push.apply(Qi,Ia),pi&&pi.length&&Qi.push.apply(Qi,pi),Ir(Qi.length?Qi:null)})}}var on;if(jr.asyncValidator)on=jr.asyncValidator(jr,kr.value,pn,kr.source,zr);else if(jr.validator){try{on=jr.validator(jr,kr.value,pn,kr.source,zr)}catch(dn){console.error==null||console.error(dn),zr.suppressValidatorError||setTimeout(function(){throw dn},0),pn(dn.message)}on===!0?pn():on===!1?pn(typeof jr.message=="function"?jr.message(jr.fullField||jr.field):jr.message||(jr.fullField||jr.field)+" fails"):on instanceof Array?pn(on):on instanceof Error&&pn(on.message)}on&&on.then&&on.then(function(){return pn()},function(dn){return pn(dn)})},function(kr){qe(kr)},Pr)},pt.getType=function(Ot){if(Ot.type===void 0&&Ot.pattern instanceof RegExp&&(Ot.type="pattern"),typeof Ot.validator!="function"&&Ot.type&&!he.hasOwnProperty(Ot.type))throw new Error($("Unknown rule type %s",Ot.type));return Ot.type||"string"},pt.getValidationMethod=function(Ot){if(typeof Ot.validator=="function")return Ot.validator;var ft=Object.keys(Ot),lr=ft.indexOf("message");return lr!==-1&&ft.splice(lr,1),ft.length===1&&ft[0]==="required"?he.required:he[this.getType(Ot)]||void 0},er}();ct.register=function(pt,tt){if(typeof tt!="function")throw new Error("Cannot register a validator by type, validator is not a function");he[pt]=tt},ct.warning=ue,ct.messages=Te,ct.validators=he;var Zt="'${name}' is not a valid ${type}",wt={default:"Validation error on field '${name}'",required:"'${name}' is required",enum:"'${name}' must be one of [${enum}]",whitespace:"'${name}' cannot be empty",date:{format:"'${name}' is invalid for format date",parse:"'${name}' could not be parsed as date",invalid:"'${name}' is invalid date"},types:{string:Zt,method:Zt,array:Zt,object:Zt,number:Zt,date:Zt,boolean:Zt,integer:Zt,float:Zt,regexp:Zt,email:Zt,url:Zt,hex:Zt},string:{len:"'${name}' must be exactly ${len} characters",min:"'${name}' must be at least ${min} characters",max:"'${name}' cannot be longer than ${max} characters",range:"'${name}' must be between ${min} and ${max} characters"},number:{len:"'${name}' must equal ${len}",min:"'${name}' cannot be less than ${min}",max:"'${name}' cannot be greater than ${max}",range:"'${name}' must be between ${min} and ${max}"},array:{len:"'${name}' must be exactly ${len} in length",min:"'${name}' cannot be less than ${min} in length",max:"'${name}' cannot be greater than ${max} in length",range:"'${name}' must be between ${min} and ${max} in length"},pattern:{mismatch:"'${name}' does not match pattern ${pattern}"}},Ie=e(24434),xt=ct;function be(er,pt){return er.replace(/\$\{\w+\}/g,function(tt){var Ot=tt.slice(2,-1);return pt[Ot]})}var Ye="CODE_LOGIC_ERROR";function mt(er,pt,tt,Ot,ft){return Lt.apply(this,arguments)}function Lt(){return Lt=(0,f.Z)((0,c.Z)().mark(function er(pt,tt,Ot,ft,lr){var dr,Pr,zr,Ze,qe,xe,at,ar,Er;return(0,c.Z)().wrap(function(Ir){for(;;)switch(Ir.prev=Ir.next){case 0:return dr=(0,o.Z)({},Ot),delete dr.ruleIndex,xt.warning=function(){},dr.validator&&(Pr=dr.validator,dr.validator=function(){try{return Pr.apply(void 0,arguments)}catch(jr){return console.error(jr),Promise.reject(Ye)}}),zr=null,dr&&dr.type==="array"&&dr.defaultField&&(zr=dr.defaultField,delete dr.defaultField),Ze=new xt((0,_.Z)({},pt,[dr])),qe=(0,Ie.T)(wt,ft.validateMessages),Ze.messages(qe),xe=[],Ir.prev=10,Ir.next=13,Promise.resolve(Ze.validate((0,_.Z)({},pt,tt),(0,o.Z)({},ft)));case 13:Ir.next=18;break;case 15:Ir.prev=15,Ir.t0=Ir.catch(10),Ir.t0.errors&&(xe=Ir.t0.errors.map(function(jr,wn){var Sr=jr.message,pn=Sr===Ye?qe.default:Sr;return r.isValidElement(pn)?r.cloneElement(pn,{key:"error_".concat(wn)}):pn}));case 18:if(!(!xe.length&&zr)){Ir.next=23;break}return Ir.next=21,Promise.all(tt.map(function(jr,wn){return mt("".concat(pt,".").concat(wn),jr,zr,ft,lr)}));case 21:return at=Ir.sent,Ir.abrupt("return",at.reduce(function(jr,wn){return[].concat((0,h.Z)(jr),(0,h.Z)(wn))},[]));case 23:return ar=(0,o.Z)((0,o.Z)({},Ot),{},{name:pt,enum:(Ot.enum||[]).join(", ")},lr),Er=xe.map(function(jr){return typeof jr=="string"?be(jr,ar):jr}),Ir.abrupt("return",Er);case 26:case"end":return Ir.stop()}},er,null,[[10,15]])})),Lt.apply(this,arguments)}function Fe(er,pt,tt,Ot,ft,lr){var dr=er.join("."),Pr=tt.map(function(qe,xe){var at=qe.validator,ar=(0,o.Z)((0,o.Z)({},qe),{},{ruleIndex:xe});return at&&(ar.validator=function(Er,kr,Ir){var jr=!1,wn=function(){for(var on=arguments.length,dn=new Array(on),In=0;In<on;In++)dn[In]=arguments[In];Promise.resolve().then(function(){(0,k.ZP)(!jr,"Your validator function has already return a promise. `callback` will be ignored."),jr||Ir.apply(void 0,dn)})},Sr=at(Er,kr,wn);jr=Sr&&typeof Sr.then=="function"&&typeof Sr.catch=="function",(0,k.ZP)(jr,"`callback` is deprecated. Please return a promise instead."),jr&&Sr.then(function(){Ir()}).catch(function(pn){Ir(pn||" ")})}),ar}).sort(function(qe,xe){var at=qe.warningOnly,ar=qe.ruleIndex,Er=xe.warningOnly,kr=xe.ruleIndex;return!!at==!!Er?ar-kr:at?1:-1}),zr;if(ft===!0)zr=new Promise(function(){var qe=(0,f.Z)((0,c.Z)().mark(function xe(at,ar){var Er,kr,Ir;return(0,c.Z)().wrap(function(wn){for(;;)switch(wn.prev=wn.next){case 0:Er=0;case 1:if(!(Er<Pr.length)){wn.next=12;break}return kr=Pr[Er],wn.next=5,mt(dr,pt,kr,Ot,lr);case 5:if(Ir=wn.sent,!Ir.length){wn.next=9;break}return ar([{errors:Ir,rule:kr}]),wn.abrupt("return");case 9:Er+=1,wn.next=1;break;case 12:at([]);case 13:case"end":return wn.stop()}},xe)}));return function(xe,at){return qe.apply(this,arguments)}}());else{var Ze=Pr.map(function(qe){return mt(dr,pt,qe,Ot,lr).then(function(xe){return{errors:xe,rule:qe}})});zr=(ft?Vr(Ze):Or(Ze)).then(function(qe){return Promise.reject(qe)})}return zr.catch(function(qe){return qe}),zr}function Or(er){return St.apply(this,arguments)}function St(){return St=(0,f.Z)((0,c.Z)().mark(function er(pt){return(0,c.Z)().wrap(function(Ot){for(;;)switch(Ot.prev=Ot.next){case 0:return Ot.abrupt("return",Promise.all(pt).then(function(ft){var lr,dr=(lr=[]).concat.apply(lr,(0,h.Z)(ft));return dr}));case 1:case"end":return Ot.stop()}},er)})),St.apply(this,arguments)}function Vr(er){return tn.apply(this,arguments)}function tn(){return tn=(0,f.Z)((0,c.Z)().mark(function er(pt){var tt;return(0,c.Z)().wrap(function(ft){for(;;)switch(ft.prev=ft.next){case 0:return tt=0,ft.abrupt("return",new Promise(function(lr){pt.forEach(function(dr){dr.then(function(Pr){Pr.errors.length&&lr([Pr]),tt+=1,tt===pt.length&&lr([])})})}));case 2:case"end":return ft.stop()}},er)})),tn.apply(this,arguments)}var wr=e(26420),Nr=e(97938);function gr(er){return K(er)}function Ur(er,pt){var tt={};return pt.forEach(function(Ot){var ft=(0,Nr.Z)(er,Ot);tt=(0,Ie.Z)(tt,Ot,ft)}),tt}function cn(er,pt){var tt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;return er&&er.some(function(Ot){return hn(pt,Ot,tt)})}function hn(er,pt){var tt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;return!er||!pt||!tt&&er.length!==pt.length?!1:pt.every(function(Ot,ft){return er[ft]===Ot})}function ur(er,pt){if(er===pt)return!0;if(!er&&pt||er&&!pt||!er||!pt||(0,wr.Z)(er)!=="object"||(0,wr.Z)(pt)!=="object")return!1;var tt=Object.keys(er),Ot=Object.keys(pt),ft=new Set([].concat(tt,Ot));return(0,h.Z)(ft).every(function(lr){var dr=er[lr],Pr=pt[lr];return typeof dr=="function"&&typeof Pr=="function"?!0:dr===Pr})}function Rt(er){var pt=arguments.length<=1?void 0:arguments[1];return pt&&pt.target&&(0,wr.Z)(pt.target)==="object"&&er in pt.target?pt.target[er]:pt}function _t(er,pt,tt){var Ot=er.length;if(pt<0||pt>=Ot||tt<0||tt>=Ot)return er;var ft=er[pt],lr=pt-tt;return lr>0?[].concat((0,h.Z)(er.slice(0,tt)),[ft],(0,h.Z)(er.slice(tt,pt)),(0,h.Z)(er.slice(pt+1,Ot))):lr<0?[].concat((0,h.Z)(er.slice(0,pt)),(0,h.Z)(er.slice(pt+1,tt+1)),[ft],(0,h.Z)(er.slice(tt+1,Ot))):er}var vt=["name"],jt=[];function Cr(er,pt,tt,Ot,ft,lr){return typeof er=="function"?er(pt,tt,"source"in lr?{source:lr.source}:{}):Ot!==ft}var yr=function(er){(0,p.Z)(tt,er);var pt=(0,y.Z)(tt);function tt(Ot){var ft;if((0,u.Z)(this,tt),ft=pt.call(this,Ot),(0,_.Z)((0,x.Z)(ft),"state",{resetCount:0}),(0,_.Z)((0,x.Z)(ft),"cancelRegisterFunc",null),(0,_.Z)((0,x.Z)(ft),"mounted",!1),(0,_.Z)((0,x.Z)(ft),"touched",!1),(0,_.Z)((0,x.Z)(ft),"dirty",!1),(0,_.Z)((0,x.Z)(ft),"validatePromise",void 0),(0,_.Z)((0,x.Z)(ft),"prevValidating",void 0),(0,_.Z)((0,x.Z)(ft),"errors",jt),(0,_.Z)((0,x.Z)(ft),"warnings",jt),(0,_.Z)((0,x.Z)(ft),"cancelRegister",function(){var zr=ft.props,Ze=zr.preserve,qe=zr.isListField,xe=zr.name;ft.cancelRegisterFunc&&ft.cancelRegisterFunc(qe,Ze,gr(xe)),ft.cancelRegisterFunc=null}),(0,_.Z)((0,x.Z)(ft),"getNamePath",function(){var zr=ft.props,Ze=zr.name,qe=zr.fieldContext,xe=qe.prefixName,at=xe===void 0?[]:xe;return Ze!==void 0?[].concat((0,h.Z)(at),(0,h.Z)(Ze)):[]}),(0,_.Z)((0,x.Z)(ft),"getRules",function(){var zr=ft.props,Ze=zr.rules,qe=Ze===void 0?[]:Ze,xe=zr.fieldContext;return qe.map(function(at){return typeof at=="function"?at(xe):at})}),(0,_.Z)((0,x.Z)(ft),"refresh",function(){ft.mounted&&ft.setState(function(zr){var Ze=zr.resetCount;return{resetCount:Ze+1}})}),(0,_.Z)((0,x.Z)(ft),"metaCache",null),(0,_.Z)((0,x.Z)(ft),"triggerMetaEvent",function(zr){var Ze=ft.props.onMetaChange;if(Ze){var qe=(0,o.Z)((0,o.Z)({},ft.getMeta()),{},{destroy:zr});(0,S.Z)(ft.metaCache,qe)||Ze(qe),ft.metaCache=qe}else ft.metaCache=null}),(0,_.Z)((0,x.Z)(ft),"onStoreChange",function(zr,Ze,qe){var xe=ft.props,at=xe.shouldUpdate,ar=xe.dependencies,Er=ar===void 0?[]:ar,kr=xe.onReset,Ir=qe.store,jr=ft.getNamePath(),wn=ft.getValue(zr),Sr=ft.getValue(Ir),pn=Ze&&cn(Ze,jr);switch(qe.type==="valueUpdate"&&qe.source==="external"&&wn!==Sr&&(ft.touched=!0,ft.dirty=!0,ft.validatePromise=null,ft.errors=jt,ft.warnings=jt,ft.triggerMetaEvent()),qe.type){case"reset":if(!Ze||pn){ft.touched=!1,ft.dirty=!1,ft.validatePromise=void 0,ft.errors=jt,ft.warnings=jt,ft.triggerMetaEvent(),kr==null||kr(),ft.refresh();return}break;case"remove":{if(at){ft.reRender();return}break}case"setField":{var on=qe.data;if(pn){"touched"in on&&(ft.touched=on.touched),"validating"in on&&!("originRCField"in on)&&(ft.validatePromise=on.validating?Promise.resolve([]):null),"errors"in on&&(ft.errors=on.errors||jt),"warnings"in on&&(ft.warnings=on.warnings||jt),ft.dirty=!0,ft.triggerMetaEvent(),ft.reRender();return}else if("value"in on&&cn(Ze,jr,!0)){ft.reRender();return}if(at&&!jr.length&&Cr(at,zr,Ir,wn,Sr,qe)){ft.reRender();return}break}case"dependenciesUpdate":{var dn=Er.map(gr);if(dn.some(function(In){return cn(qe.relatedFields,In)})){ft.reRender();return}break}default:if(pn||(!Er.length||jr.length||at)&&Cr(at,zr,Ir,wn,Sr,qe)){ft.reRender();return}break}at===!0&&ft.reRender()}),(0,_.Z)((0,x.Z)(ft),"validateRules",function(zr){var Ze=ft.getNamePath(),qe=ft.getValue(),xe=zr||{},at=xe.triggerName,ar=xe.validateOnly,Er=ar===void 0?!1:ar,kr=Promise.resolve().then((0,f.Z)((0,c.Z)().mark(function Ir(){var jr,wn,Sr,pn,on,dn,In;return(0,c.Z)().wrap(function(Ni){for(;;)switch(Ni.prev=Ni.next){case 0:if(ft.mounted){Ni.next=2;break}return Ni.abrupt("return",[]);case 2:if(jr=ft.props,wn=jr.validateFirst,Sr=wn===void 0?!1:wn,pn=jr.messageVariables,on=jr.validateDebounce,dn=ft.getRules(),at&&(dn=dn.filter(function(gi){return gi}).filter(function(gi){var En=gi.validateTrigger;if(!En)return!0;var pi=K(En);return pi.includes(at)})),!(on&&at)){Ni.next=10;break}return Ni.next=8,new Promise(function(gi){setTimeout(gi,on)});case 8:if(ft.validatePromise===kr){Ni.next=10;break}return Ni.abrupt("return",[]);case 10:return In=Fe(Ze,qe,dn,zr,Sr,pn),In.catch(function(gi){return gi}).then(function(){var gi=arguments.length>0&&arguments[0]!==void 0?arguments[0]:jt;if(ft.validatePromise===kr){var En;ft.validatePromise=null;var pi=[],Qi=[];(En=gi.forEach)===null||En===void 0||En.call(gi,function(Ea){var Vs=Ea.rule.warningOnly,wa=Ea.errors,Fs=wa===void 0?jt:wa;Vs?Qi.push.apply(Qi,(0,h.Z)(Fs)):pi.push.apply(pi,(0,h.Z)(Fs))}),ft.errors=pi,ft.warnings=Qi,ft.triggerMetaEvent(),ft.reRender()}}),Ni.abrupt("return",In);case 13:case"end":return Ni.stop()}},Ir)})));return Er||(ft.validatePromise=kr,ft.dirty=!0,ft.errors=jt,ft.warnings=jt,ft.triggerMetaEvent(),ft.reRender()),kr}),(0,_.Z)((0,x.Z)(ft),"isFieldValidating",function(){return!!ft.validatePromise}),(0,_.Z)((0,x.Z)(ft),"isFieldTouched",function(){return ft.touched}),(0,_.Z)((0,x.Z)(ft),"isFieldDirty",function(){if(ft.dirty||ft.props.initialValue!==void 0)return!0;var zr=ft.props.fieldContext,Ze=zr.getInternalHooks(R),qe=Ze.getInitialValue;return qe(ft.getNamePath())!==void 0}),(0,_.Z)((0,x.Z)(ft),"getErrors",function(){return ft.errors}),(0,_.Z)((0,x.Z)(ft),"getWarnings",function(){return ft.warnings}),(0,_.Z)((0,x.Z)(ft),"isListField",function(){return ft.props.isListField}),(0,_.Z)((0,x.Z)(ft),"isList",function(){return ft.props.isList}),(0,_.Z)((0,x.Z)(ft),"isPreserve",function(){return ft.props.preserve}),(0,_.Z)((0,x.Z)(ft),"getMeta",function(){ft.prevValidating=ft.isFieldValidating();var zr={touched:ft.isFieldTouched(),validating:ft.prevValidating,errors:ft.errors,warnings:ft.warnings,name:ft.getNamePath(),validated:ft.validatePromise===null};return zr}),(0,_.Z)((0,x.Z)(ft),"getOnlyChild",function(zr){if(typeof zr=="function"){var Ze=ft.getMeta();return(0,o.Z)((0,o.Z)({},ft.getOnlyChild(zr(ft.getControlled(),Ze,ft.props.fieldContext))),{},{isFunction:!0})}var qe=(0,b.Z)(zr);return qe.length!==1||!r.isValidElement(qe[0])?{child:qe,isFunction:!1}:{child:qe[0],isFunction:!1}}),(0,_.Z)((0,x.Z)(ft),"getValue",function(zr){var Ze=ft.props.fieldContext.getFieldsValue,qe=ft.getNamePath();return(0,Nr.Z)(zr||Ze(!0),qe)}),(0,_.Z)((0,x.Z)(ft),"getControlled",function(){var zr=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},Ze=ft.props,qe=Ze.trigger,xe=Ze.validateTrigger,at=Ze.getValueFromEvent,ar=Ze.normalize,Er=Ze.valuePropName,kr=Ze.getValueProps,Ir=Ze.fieldContext,jr=xe!==void 0?xe:Ir.validateTrigger,wn=ft.getNamePath(),Sr=Ir.getInternalHooks,pn=Ir.getFieldsValue,on=Sr(R),dn=on.dispatch,In=ft.getValue(),Ia=kr||function(pi){return(0,_.Z)({},Er,pi)},Ni=zr[qe],gi=(0,o.Z)((0,o.Z)({},zr),Ia(In));gi[qe]=function(){ft.touched=!0,ft.dirty=!0,ft.triggerMetaEvent();for(var pi,Qi=arguments.length,Ea=new Array(Qi),Vs=0;Vs<Qi;Vs++)Ea[Vs]=arguments[Vs];at?pi=at.apply(void 0,Ea):pi=Rt.apply(void 0,[Er].concat(Ea)),ar&&(pi=ar(pi,In,pn(!0))),dn({type:"updateValue",namePath:wn,value:pi}),Ni&&Ni.apply(void 0,Ea)};var En=K(jr||[]);return En.forEach(function(pi){var Qi=gi[pi];gi[pi]=function(){Qi&&Qi.apply(void 0,arguments);var Ea=ft.props.rules;Ea&&Ea.length&&dn({type:"validateField",namePath:wn,triggerName:pi})}}),gi}),Ot.fieldContext){var lr=Ot.fieldContext.getInternalHooks,dr=lr(R),Pr=dr.initEntityValue;Pr((0,x.Z)(ft))}return ft}return(0,a.Z)(tt,[{key:"componentDidMount",value:function(){var ft=this.props,lr=ft.shouldUpdate,dr=ft.fieldContext;if(this.mounted=!0,dr){var Pr=dr.getInternalHooks,zr=Pr(R),Ze=zr.registerField;this.cancelRegisterFunc=Ze(this)}lr===!0&&this.reRender()}},{key:"componentWillUnmount",value:function(){this.cancelRegister(),this.triggerMetaEvent(!0),this.mounted=!1}},{key:"reRender",value:function(){this.mounted&&this.forceUpdate()}},{key:"render",value:function(){var ft=this.state.resetCount,lr=this.props.children,dr=this.getOnlyChild(lr),Pr=dr.child,zr=dr.isFunction,Ze;return zr?Ze=Pr:r.isValidElement(Pr)?Ze=r.cloneElement(Pr,this.getControlled(Pr.props)):((0,k.ZP)(!Pr,"`children` of Field is not validate ReactElement."),Ze=Pr),r.createElement(r.Fragment,{key:ft},Ze)}}]),tt}(r.Component);(0,_.Z)(yr,"contextType",M),(0,_.Z)(yr,"defaultProps",{trigger:"onChange",valuePropName:"value"});function nn(er){var pt=er.name,tt=(0,l.Z)(er,vt),Ot=r.useContext(M),ft=r.useContext(N),lr=pt!==void 0?gr(pt):void 0,dr="keep";return tt.isListField||(dr="_".concat((lr||[]).join("_"))),r.createElement(yr,(0,i.Z)({key:dr,name:lr,isListField:!!ft},tt,{fieldContext:Ot}))}var Kr=nn;function Ln(er){var pt=er.name,tt=er.initialValue,Ot=er.children,ft=er.rules,lr=er.validateTrigger,dr=er.isListField,Pr=r.useContext(M),zr=r.useContext(N),Ze=r.useRef({keys:[],id:0}),qe=Ze.current,xe=r.useMemo(function(){var kr=gr(Pr.prefixName)||[];return[].concat((0,h.Z)(kr),(0,h.Z)(gr(pt)))},[Pr.prefixName,pt]),at=r.useMemo(function(){return(0,o.Z)((0,o.Z)({},Pr),{},{prefixName:xe})},[Pr,xe]),ar=r.useMemo(function(){return{getKey:function(Ir){var jr=xe.length,wn=Ir[jr];return[qe.keys[wn],Ir.slice(jr+1)]}}},[xe]);if(typeof Ot!="function")return(0,k.ZP)(!1,"Form.List only accepts function as children."),null;var Er=function(Ir,jr,wn){var Sr=wn.source;return Sr==="internal"?!1:Ir!==jr};return r.createElement(N.Provider,{value:ar},r.createElement(M.Provider,{value:at},r.createElement(Kr,{name:[],shouldUpdate:Er,rules:ft,validateTrigger:lr,initialValue:tt,isList:!0,isListField:dr!=null?dr:!!zr},function(kr,Ir){var jr=kr.value,wn=jr===void 0?[]:jr,Sr=kr.onChange,pn=Pr.getFieldValue,on=function(){var Ni=pn(xe||[]);return Ni||[]},dn={add:function(Ni,gi){var En=on();gi>=0&&gi<=En.length?(qe.keys=[].concat((0,h.Z)(qe.keys.slice(0,gi)),[qe.id],(0,h.Z)(qe.keys.slice(gi))),Sr([].concat((0,h.Z)(En.slice(0,gi)),[Ni],(0,h.Z)(En.slice(gi))))):(qe.keys=[].concat((0,h.Z)(qe.keys),[qe.id]),Sr([].concat((0,h.Z)(En),[Ni]))),qe.id+=1},remove:function(Ni){var gi=on(),En=new Set(Array.isArray(Ni)?Ni:[Ni]);En.size<=0||(qe.keys=qe.keys.filter(function(pi,Qi){return!En.has(Qi)}),Sr(gi.filter(function(pi,Qi){return!En.has(Qi)})))},move:function(Ni,gi){if(Ni!==gi){var En=on();Ni<0||Ni>=En.length||gi<0||gi>=En.length||(qe.keys=_t(qe.keys,Ni,gi),Sr(_t(En,Ni,gi)))}}},In=wn||[];return Array.isArray(In)||(In=[]),Ot(In.map(function(Ia,Ni){var gi=qe.keys[Ni];return gi===void 0&&(qe.keys[Ni]=qe.id,gi=qe.keys[Ni],qe.id+=1),{name:Ni,key:gi,isListField:!0}}),dn,Ir)})))}var At=Ln,cr=e(16886);function Qr(er){var pt=!1,tt=er.length,Ot=[];return er.length?new Promise(function(ft,lr){er.forEach(function(dr,Pr){dr.catch(function(zr){return pt=!0,zr}).then(function(zr){tt-=1,Ot[Pr]=zr,!(tt>0)&&(pt&&lr(Ot),ft(Ot))})})}):Promise.resolve([])}var yn="__@field_split__";function Gn(er){return er.map(function(pt){return"".concat((0,wr.Z)(pt),":").concat(pt)}).join(yn)}var fi=function(){function er(){(0,u.Z)(this,er),(0,_.Z)(this,"kvs",new Map)}return(0,a.Z)(er,[{key:"set",value:function(tt,Ot){this.kvs.set(Gn(tt),Ot)}},{key:"get",value:function(tt){return this.kvs.get(Gn(tt))}},{key:"update",value:function(tt,Ot){var ft=this.get(tt),lr=Ot(ft);lr?this.set(tt,lr):this.delete(tt)}},{key:"delete",value:function(tt){this.kvs.delete(Gn(tt))}},{key:"map",value:function(tt){return(0,h.Z)(this.kvs.entries()).map(function(Ot){var ft=(0,cr.Z)(Ot,2),lr=ft[0],dr=ft[1],Pr=lr.split(yn);return tt({key:Pr.map(function(zr){var Ze=zr.match(/^([^:]*):(.*)$/),qe=(0,cr.Z)(Ze,3),xe=qe[1],at=qe[2];return xe==="number"?Number(at):at}),value:dr})})}},{key:"toJSON",value:function(){var tt={};return this.map(function(Ot){var ft=Ot.key,lr=Ot.value;return tt[ft.join(".")]=lr,null}),tt}}]),er}(),Xn=fi,Ki=["name"],hi=(0,a.Z)(function er(pt){var tt=this;(0,u.Z)(this,er),(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:tt.getFieldValue,getFieldsValue:tt.getFieldsValue,getFieldError:tt.getFieldError,getFieldWarning:tt.getFieldWarning,getFieldsError:tt.getFieldsError,isFieldsTouched:tt.isFieldsTouched,isFieldTouched:tt.isFieldTouched,isFieldValidating:tt.isFieldValidating,isFieldsValidating:tt.isFieldsValidating,resetFields:tt.resetFields,setFields:tt.setFields,setFieldValue:tt.setFieldValue,setFieldsValue:tt.setFieldsValue,validateFields:tt.validateFields,submit:tt.submit,_init:!0,getInternalHooks:tt.getInternalHooks}}),(0,_.Z)(this,"getInternalHooks",function(Ot){return Ot===R?(tt.formHooked=!0,{dispatch:tt.dispatch,initEntityValue:tt.initEntityValue,registerField:tt.registerField,useSubscribe:tt.useSubscribe,setInitialValues:tt.setInitialValues,destroyForm:tt.destroyForm,setCallbacks:tt.setCallbacks,setValidateMessages:tt.setValidateMessages,getFields:tt.getFields,setPreserve:tt.setPreserve,getInitialValue:tt.getInitialValue,registerWatch:tt.registerWatch}):((0,k.ZP)(!1,"`getInternalHooks` is internal usage. Should not call directly."),null)}),(0,_.Z)(this,"useSubscribe",function(Ot){tt.subscribable=Ot}),(0,_.Z)(this,"prevWithoutPreserves",null),(0,_.Z)(this,"setInitialValues",function(Ot,ft){if(tt.initialValues=Ot||{},ft){var lr,dr=(0,Ie.T)(Ot,tt.store);(lr=tt.prevWithoutPreserves)===null||lr===void 0||lr.map(function(Pr){var zr=Pr.key;dr=(0,Ie.Z)(dr,zr,(0,Nr.Z)(Ot,zr))}),tt.prevWithoutPreserves=null,tt.updateStore(dr)}}),(0,_.Z)(this,"destroyForm",function(){var Ot=new Xn;tt.getFieldEntities(!0).forEach(function(ft){tt.isMergedPreserve(ft.isPreserve())||Ot.set(ft.getNamePath(),!0)}),tt.prevWithoutPreserves=Ot}),(0,_.Z)(this,"getInitialValue",function(Ot){var ft=(0,Nr.Z)(tt.initialValues,Ot);return Ot.length?(0,Ie.T)(ft):ft}),(0,_.Z)(this,"setCallbacks",function(Ot){tt.callbacks=Ot}),(0,_.Z)(this,"setValidateMessages",function(Ot){tt.validateMessages=Ot}),(0,_.Z)(this,"setPreserve",function(Ot){tt.preserve=Ot}),(0,_.Z)(this,"watchList",[]),(0,_.Z)(this,"registerWatch",function(Ot){return tt.watchList.push(Ot),function(){tt.watchList=tt.watchList.filter(function(ft){return ft!==Ot})}}),(0,_.Z)(this,"notifyWatch",function(){var Ot=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];if(tt.watchList.length){var ft=tt.getFieldsValue(),lr=tt.getFieldsValue(!0);tt.watchList.forEach(function(dr){dr(ft,lr,Ot)})}}),(0,_.Z)(this,"timeoutId",null),(0,_.Z)(this,"warningUnhooked",function(){}),(0,_.Z)(this,"updateStore",function(Ot){tt.store=Ot}),(0,_.Z)(this,"getFieldEntities",function(){var Ot=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;return Ot?tt.fieldEntities.filter(function(ft){return ft.getNamePath().length}):tt.fieldEntities}),(0,_.Z)(this,"getFieldsMap",function(){var Ot=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,ft=new Xn;return tt.getFieldEntities(Ot).forEach(function(lr){var dr=lr.getNamePath();ft.set(dr,lr)}),ft}),(0,_.Z)(this,"getFieldEntitiesForNamePathList",function(Ot){if(!Ot)return tt.getFieldEntities(!0);var ft=tt.getFieldsMap(!0);return Ot.map(function(lr){var dr=gr(lr);return ft.get(dr)||{INVALIDATE_NAME_PATH:gr(lr)}})}),(0,_.Z)(this,"getFieldsValue",function(Ot,ft){tt.warningUnhooked();var lr,dr,Pr;if(Ot===!0||Array.isArray(Ot)?(lr=Ot,dr=ft):Ot&&(0,wr.Z)(Ot)==="object"&&(Pr=Ot.strict,dr=Ot.filter),lr===!0&&!dr)return tt.store;var zr=tt.getFieldEntitiesForNamePathList(Array.isArray(lr)?lr:null),Ze=[];return zr.forEach(function(qe){var xe,at,ar="INVALIDATE_NAME_PATH"in qe?qe.INVALIDATE_NAME_PATH:qe.getNamePath();if(Pr){var Er,kr;if((Er=(kr=qe).isList)!==null&&Er!==void 0&&Er.call(kr))return}else if(!lr&&(xe=(at=qe).isListField)!==null&&xe!==void 0&&xe.call(at))return;if(!dr)Ze.push(ar);else{var Ir="getMeta"in qe?qe.getMeta():null;dr(Ir)&&Ze.push(ar)}}),Ur(tt.store,Ze.map(gr))}),(0,_.Z)(this,"getFieldValue",function(Ot){tt.warningUnhooked();var ft=gr(Ot);return(0,Nr.Z)(tt.store,ft)}),(0,_.Z)(this,"getFieldsError",function(Ot){tt.warningUnhooked();var ft=tt.getFieldEntitiesForNamePathList(Ot);return ft.map(function(lr,dr){return lr&&!("INVALIDATE_NAME_PATH"in lr)?{name:lr.getNamePath(),errors:lr.getErrors(),warnings:lr.getWarnings()}:{name:gr(Ot[dr]),errors:[],warnings:[]}})}),(0,_.Z)(this,"getFieldError",function(Ot){tt.warningUnhooked();var ft=gr(Ot),lr=tt.getFieldsError([ft])[0];return lr.errors}),(0,_.Z)(this,"getFieldWarning",function(Ot){tt.warningUnhooked();var ft=gr(Ot),lr=tt.getFieldsError([ft])[0];return lr.warnings}),(0,_.Z)(this,"isFieldsTouched",function(){tt.warningUnhooked();for(var Ot=arguments.length,ft=new Array(Ot),lr=0;lr<Ot;lr++)ft[lr]=arguments[lr];var dr=ft[0],Pr=ft[1],zr,Ze=!1;ft.length===0?zr=null:ft.length===1?Array.isArray(dr)?(zr=dr.map(gr),Ze=!1):(zr=null,Ze=dr):(zr=dr.map(gr),Ze=Pr);var qe=tt.getFieldEntities(!0),xe=function(Ir){return Ir.isFieldTouched()};if(!zr)return Ze?qe.every(xe):qe.some(xe);var at=new Xn;zr.forEach(function(kr){at.set(kr,[])}),qe.forEach(function(kr){var Ir=kr.getNamePath();zr.forEach(function(jr){jr.every(function(wn,Sr){return Ir[Sr]===wn})&&at.update(jr,function(wn){return[].concat((0,h.Z)(wn),[kr])})})});var ar=function(Ir){return Ir.some(xe)},Er=at.map(function(kr){var Ir=kr.value;return Ir});return Ze?Er.every(ar):Er.some(ar)}),(0,_.Z)(this,"isFieldTouched",function(Ot){return tt.warningUnhooked(),tt.isFieldsTouched([Ot])}),(0,_.Z)(this,"isFieldsValidating",function(Ot){tt.warningUnhooked();var ft=tt.getFieldEntities();if(!Ot)return ft.some(function(dr){return dr.isFieldValidating()});var lr=Ot.map(gr);return ft.some(function(dr){var Pr=dr.getNamePath();return cn(lr,Pr)&&dr.isFieldValidating()})}),(0,_.Z)(this,"isFieldValidating",function(Ot){return tt.warningUnhooked(),tt.isFieldsValidating([Ot])}),(0,_.Z)(this,"resetWithFieldInitialValue",function(){var Ot=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},ft=new Xn,lr=tt.getFieldEntities(!0);lr.forEach(function(zr){var Ze=zr.props.initialValue,qe=zr.getNamePath();if(Ze!==void 0){var xe=ft.get(qe)||new Set;xe.add({entity:zr,value:Ze}),ft.set(qe,xe)}});var dr=function(Ze){Ze.forEach(function(qe){var xe=qe.props.initialValue;if(xe!==void 0){var at=qe.getNamePath(),ar=tt.getInitialValue(at);if(ar!==void 0)(0,k.ZP)(!1,"Form already set 'initialValues' with path '".concat(at.join("."),"'. Field can not overwrite it."));else{var Er=ft.get(at);if(Er&&Er.size>1)(0,k.ZP)(!1,"Multiple Field with path '".concat(at.join("."),"' set 'initialValue'. Can not decide which one to pick."));else if(Er){var kr=tt.getFieldValue(at);(!Ot.skipExist||kr===void 0)&&tt.updateStore((0,Ie.Z)(tt.store,at,(0,h.Z)(Er)[0].value))}}}})},Pr;Ot.entities?Pr=Ot.entities:Ot.namePathList?(Pr=[],Ot.namePathList.forEach(function(zr){var Ze=ft.get(zr);if(Ze){var qe;(qe=Pr).push.apply(qe,(0,h.Z)((0,h.Z)(Ze).map(function(xe){return xe.entity})))}})):Pr=lr,dr(Pr)}),(0,_.Z)(this,"resetFields",function(Ot){tt.warningUnhooked();var ft=tt.store;if(!Ot){tt.updateStore((0,Ie.T)(tt.initialValues)),tt.resetWithFieldInitialValue(),tt.notifyObservers(ft,null,{type:"reset"}),tt.notifyWatch();return}var lr=Ot.map(gr);lr.forEach(function(dr){var Pr=tt.getInitialValue(dr);tt.updateStore((0,Ie.Z)(tt.store,dr,Pr))}),tt.resetWithFieldInitialValue({namePathList:lr}),tt.notifyObservers(ft,lr,{type:"reset"}),tt.notifyWatch(lr)}),(0,_.Z)(this,"setFields",function(Ot){tt.warningUnhooked();var ft=tt.store,lr=[];Ot.forEach(function(dr){var Pr=dr.name,zr=(0,l.Z)(dr,Ki),Ze=gr(Pr);lr.push(Ze),"value"in zr&&tt.updateStore((0,Ie.Z)(tt.store,Ze,zr.value)),tt.notifyObservers(ft,[Ze],{type:"setField",data:dr})}),tt.notifyWatch(lr)}),(0,_.Z)(this,"getFields",function(){var Ot=tt.getFieldEntities(!0),ft=Ot.map(function(lr){var dr=lr.getNamePath(),Pr=lr.getMeta(),zr=(0,o.Z)((0,o.Z)({},Pr),{},{name:dr,value:tt.getFieldValue(dr)});return Object.defineProperty(zr,"originRCField",{value:!0}),zr});return ft}),(0,_.Z)(this,"initEntityValue",function(Ot){var ft=Ot.props.initialValue;if(ft!==void 0){var lr=Ot.getNamePath(),dr=(0,Nr.Z)(tt.store,lr);dr===void 0&&tt.updateStore((0,Ie.Z)(tt.store,lr,ft))}}),(0,_.Z)(this,"isMergedPreserve",function(Ot){var ft=Ot!==void 0?Ot:tt.preserve;return ft!=null?ft:!0}),(0,_.Z)(this,"registerField",function(Ot){tt.fieldEntities.push(Ot);var ft=Ot.getNamePath();if(tt.notifyWatch([ft]),Ot.props.initialValue!==void 0){var lr=tt.store;tt.resetWithFieldInitialValue({entities:[Ot],skipExist:!0}),tt.notifyObservers(lr,[Ot.getNamePath()],{type:"valueUpdate",source:"internal"})}return function(dr,Pr){var zr=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[];if(tt.fieldEntities=tt.fieldEntities.filter(function(xe){return xe!==Ot}),!tt.isMergedPreserve(Pr)&&(!dr||zr.length>1)){var Ze=dr?void 0:tt.getInitialValue(ft);if(ft.length&&tt.getFieldValue(ft)!==Ze&&tt.fieldEntities.every(function(xe){return!hn(xe.getNamePath(),ft)})){var qe=tt.store;tt.updateStore((0,Ie.Z)(qe,ft,Ze,!0)),tt.notifyObservers(qe,[ft],{type:"remove"}),tt.triggerDependenciesUpdate(qe,ft)}}tt.notifyWatch([ft])}}),(0,_.Z)(this,"dispatch",function(Ot){switch(Ot.type){case"updateValue":{var ft=Ot.namePath,lr=Ot.value;tt.updateValue(ft,lr);break}case"validateField":{var dr=Ot.namePath,Pr=Ot.triggerName;tt.validateFields([dr],{triggerName:Pr});break}default:}}),(0,_.Z)(this,"notifyObservers",function(Ot,ft,lr){if(tt.subscribable){var dr=(0,o.Z)((0,o.Z)({},lr),{},{store:tt.getFieldsValue(!0)});tt.getFieldEntities().forEach(function(Pr){var zr=Pr.onStoreChange;zr(Ot,ft,dr)})}else tt.forceRootUpdate()}),(0,_.Z)(this,"triggerDependenciesUpdate",function(Ot,ft){var lr=tt.getDependencyChildrenFields(ft);return lr.length&&tt.validateFields(lr),tt.notifyObservers(Ot,lr,{type:"dependenciesUpdate",relatedFields:[ft].concat((0,h.Z)(lr))}),lr}),(0,_.Z)(this,"updateValue",function(Ot,ft){var lr=gr(Ot),dr=tt.store;tt.updateStore((0,Ie.Z)(tt.store,lr,ft)),tt.notifyObservers(dr,[lr],{type:"valueUpdate",source:"internal"}),tt.notifyWatch([lr]);var Pr=tt.triggerDependenciesUpdate(dr,lr),zr=tt.callbacks.onValuesChange;if(zr){var Ze=Ur(tt.store,[lr]);zr(Ze,tt.getFieldsValue())}tt.triggerOnFieldsChange([lr].concat((0,h.Z)(Pr)))}),(0,_.Z)(this,"setFieldsValue",function(Ot){tt.warningUnhooked();var ft=tt.store;if(Ot){var lr=(0,Ie.T)(tt.store,Ot);tt.updateStore(lr)}tt.notifyObservers(ft,null,{type:"valueUpdate",source:"external"}),tt.notifyWatch()}),(0,_.Z)(this,"setFieldValue",function(Ot,ft){tt.setFields([{name:Ot,value:ft}])}),(0,_.Z)(this,"getDependencyChildrenFields",function(Ot){var ft=new Set,lr=[],dr=new Xn;tt.getFieldEntities().forEach(function(zr){var Ze=zr.props.dependencies;(Ze||[]).forEach(function(qe){var xe=gr(qe);dr.update(xe,function(){var at=arguments.length>0&&arguments[0]!==void 0?arguments[0]:new Set;return at.add(zr),at})})});var Pr=function zr(Ze){var qe=dr.get(Ze)||new Set;qe.forEach(function(xe){if(!ft.has(xe)){ft.add(xe);var at=xe.getNamePath();xe.isFieldDirty()&&at.length&&(lr.push(at),zr(at))}})};return Pr(Ot),lr}),(0,_.Z)(this,"triggerOnFieldsChange",function(Ot,ft){var lr=tt.callbacks.onFieldsChange;if(lr){var dr=tt.getFields();if(ft){var Pr=new Xn;ft.forEach(function(Ze){var qe=Ze.name,xe=Ze.errors;Pr.set(qe,xe)}),dr.forEach(function(Ze){Ze.errors=Pr.get(Ze.name)||Ze.errors})}var zr=dr.filter(function(Ze){var qe=Ze.name;return cn(Ot,qe)});zr.length&&lr(zr,dr)}}),(0,_.Z)(this,"validateFields",function(Ot,ft){var lr;tt.warningUnhooked();var dr,Pr;Array.isArray(Ot)||typeof Ot=="string"||typeof ft=="string"?(dr=Ot,Pr=ft):Pr=Ot;var zr=!!dr,Ze=zr?dr.map(gr):[],qe=[],xe=String(Date.now()),at=new Set,ar=(lr=Pr)===null||lr===void 0?void 0:lr.recursive;tt.getFieldEntities(!0).forEach(function(jr){if(zr||Ze.push(jr.getNamePath()),!(!jr.props.rules||!jr.props.rules.length)){var wn=jr.getNamePath();if(at.add(wn.join(xe)),!zr||cn(Ze,wn,ar)){var Sr=jr.validateRules((0,o.Z)({validateMessages:(0,o.Z)((0,o.Z)({},wt),tt.validateMessages)},Pr));qe.push(Sr.then(function(){return{name:wn,errors:[],warnings:[]}}).catch(function(pn){var on,dn=[],In=[];return(on=pn.forEach)===null||on===void 0||on.call(pn,function(Ia){var Ni=Ia.rule.warningOnly,gi=Ia.errors;Ni?In.push.apply(In,(0,h.Z)(gi)):dn.push.apply(dn,(0,h.Z)(gi))}),dn.length?Promise.reject({name:wn,errors:dn,warnings:In}):{name:wn,errors:dn,warnings:In}}))}}});var Er=Qr(qe);tt.lastValidatePromise=Er,Er.catch(function(jr){return jr}).then(function(jr){var wn=jr.map(function(Sr){var pn=Sr.name;return pn});tt.notifyObservers(tt.store,wn,{type:"validateFinish"}),tt.triggerOnFieldsChange(wn,jr)});var kr=Er.then(function(){return tt.lastValidatePromise===Er?Promise.resolve(tt.getFieldsValue(Ze)):Promise.reject([])}).catch(function(jr){var wn=jr.filter(function(Sr){return Sr&&Sr.errors.length});return Promise.reject({values:tt.getFieldsValue(Ze),errorFields:wn,outOfDate:tt.lastValidatePromise!==Er})});kr.catch(function(jr){return jr});var Ir=Ze.filter(function(jr){return at.has(jr.join(xe))});return tt.triggerOnFieldsChange(Ir),kr}),(0,_.Z)(this,"submit",function(){tt.warningUnhooked(),tt.validateFields().then(function(Ot){var ft=tt.callbacks.onFinish;if(ft)try{ft(Ot)}catch(lr){console.error(lr)}}).catch(function(Ot){var ft=tt.callbacks.onFinishFailed;ft&&ft(Ot)})}),this.forceRootUpdate=pt});function bi(er){var pt=r.useRef(),tt=r.useState({}),Ot=(0,cr.Z)(tt,2),ft=Ot[1];if(!pt.current)if(er)pt.current=er;else{var lr=function(){ft({})},dr=new hi(lr);pt.current=dr.getForm()}return[pt.current]}var Di=bi,wi=r.createContext({triggerFormChange:function(){},triggerFormFinish:function(){},registerForm:function(){},unregisterForm:function(){}}),fa=function(pt){var tt=pt.validateMessages,Ot=pt.onFormChange,ft=pt.onFormFinish,lr=pt.children,dr=r.useContext(wi),Pr=r.useRef({});return r.createElement(wi.Provider,{value:(0,o.Z)((0,o.Z)({},dr),{},{validateMessages:(0,o.Z)((0,o.Z)({},dr.validateMessages),tt),triggerFormChange:function(Ze,qe){Ot&&Ot(Ze,{changedFields:qe,forms:Pr.current}),dr.triggerFormChange(Ze,qe)},triggerFormFinish:function(Ze,qe){ft&&ft(Ze,{values:qe,forms:Pr.current}),dr.triggerFormFinish(Ze,qe)},registerForm:function(Ze,qe){Ze&&(Pr.current=(0,o.Z)((0,o.Z)({},Pr.current),{},(0,_.Z)({},Ze,qe))),dr.registerForm(Ze,qe)},unregisterForm:function(Ze){var qe=(0,o.Z)({},Pr.current);delete qe[Ze],Pr.current=qe,dr.unregisterForm(Ze)}})},lr)},ri=wi,la=["name","initialValues","fields","form","preserve","children","component","validateMessages","validateTrigger","onValuesChange","onFieldsChange","onFinish","onFinishFailed"],Et=function(pt,tt){var Ot=pt.name,ft=pt.initialValues,lr=pt.fields,dr=pt.form,Pr=pt.preserve,zr=pt.children,Ze=pt.component,qe=Ze===void 0?"form":Ze,xe=pt.validateMessages,at=pt.validateTrigger,ar=at===void 0?"onChange":at,Er=pt.onValuesChange,kr=pt.onFieldsChange,Ir=pt.onFinish,jr=pt.onFinishFailed,wn=(0,l.Z)(pt,la),Sr=r.useContext(ri),pn=Di(dr),on=(0,cr.Z)(pn,1),dn=on[0],In=dn.getInternalHooks(R),Ia=In.useSubscribe,Ni=In.setInitialValues,gi=In.setCallbacks,En=In.setValidateMessages,pi=In.setPreserve,Qi=In.destroyForm;r.useImperativeHandle(tt,function(){return dn}),r.useEffect(function(){return Sr.registerForm(Ot,dn),function(){Sr.unregisterForm(Ot)}},[Sr,dn,Ot]),En((0,o.Z)((0,o.Z)({},Sr.validateMessages),xe)),gi({onValuesChange:Er,onFieldsChange:function(ws){if(Sr.triggerFormChange(Ot,ws),kr){for(var fs=arguments.length,Ys=new Array(fs>1?fs-1:0),ea=1;ea<fs;ea++)Ys[ea-1]=arguments[ea];kr.apply(void 0,[ws].concat(Ys))}},onFinish:function(ws){Sr.triggerFormFinish(Ot,ws),Ir&&Ir(ws)},onFinishFailed:jr}),pi(Pr);var Ea=r.useRef(null);Ni(ft,!Ea.current),Ea.current||(Ea.current=!0),r.useEffect(function(){return Qi},[]);var Vs,wa=typeof zr=="function";if(wa){var Fs=dn.getFieldsValue(!0);Vs=zr(Fs,dn)}else Vs=zr;Ia(!wa);var Ks=r.useRef();r.useEffect(function(){ur(Ks.current||[],lr||[])||dn.setFields(lr||[]),Ks.current=lr},[lr,dn]);var es=r.useMemo(function(){return(0,o.Z)((0,o.Z)({},dn),{},{validateTrigger:ar})},[dn,ar]),Hs=r.createElement(N.Provider,{value:null},r.createElement(M.Provider,{value:es},Vs));return qe===!1?Hs:r.createElement(qe,(0,i.Z)({},wn,{onSubmit:function(ws){ws.preventDefault(),ws.stopPropagation(),dn.submit()},onReset:function(ws){var fs;ws.preventDefault(),dn.resetFields(),(fs=wn.onReset)===null||fs===void 0||fs.call(wn,ws)}}),Hs)},it=Et;function ni(er){try{return JSON.stringify(er)}catch(pt){return Math.random()}}var Oi=function(){};function ii(){for(var er=arguments.length,pt=new Array(er),tt=0;tt<er;tt++)pt[tt]=arguments[tt];var Ot=pt[0],ft=Ot===void 0?[]:Ot,lr=pt[1],dr=lr===void 0?{}:lr,Pr=G(dr)?{form:dr}:dr,zr=Pr.form,Ze=(0,r.useState)(),qe=(0,cr.Z)(Ze,2),xe=qe[0],at=qe[1],ar=(0,r.useMemo)(function(){return ni(xe)},[xe]),Er=(0,r.useRef)(ar);Er.current=ar;var kr=(0,r.useContext)(M),Ir=zr||kr,jr=Ir&&Ir._init,wn=gr(ft),Sr=(0,r.useRef)(wn);return Sr.current=wn,Oi(wn),(0,r.useEffect)(function(){if(jr){var pn=Ir.getFieldsValue,on=Ir.getInternalHooks,dn=on(R),In=dn.registerWatch,Ia=In(function(gi,En){var pi=(0,Nr.Z)(Pr.preserve?En:gi,Sr.current),Qi=ni(pi);Er.current!==Qi&&(Er.current=Qi,at(pi))}),Ni=(0,Nr.Z)(Pr.preserve?pn(!0):pn(),Sr.current);return xe!==Ni&&at(Ni),Ia}},[jr]),xe}var sa=ii,Ti=r.forwardRef(it),ci=Ti;ci.FormProvider=fa,ci.Field=Kr,ci.List=At,ci.useForm=Di,ci.useWatch=sa;var An=ci},77900:function(d,v,e){"use strict";e.r(v),e.d(v,{CSSMotionList:function(){return Me},Provider:function(){return _},default:function(){return ce}});var r=e(52873),i=e(98506),l=e(16886),c=e(26420),f=e(92310),o=e.n(f),h=e(76846),u=e(8654),a=e(59301),x=e(33346),p=["children"],y=a.createContext({});function _(he){var Pt=he.children,Te=(0,x.Z)(he,p);return a.createElement(y.Provider,{value:Te},Pt)}var b=e(42573),S=e(58698),k=e(74700),R=e(45080),A=function(he){(0,k.Z)(Te,he);var Pt=(0,R.Z)(Te);function Te(){return(0,b.Z)(this,Te),Pt.apply(this,arguments)}return(0,S.Z)(Te,[{key:"render",value:function(){return this.props.children}}]),Te}(a.Component),P=A,M=e(70425),B=e(41799),N=e(6089);function K(he){var Pt=a.useReducer(function(xt){return xt+1},0),Te=(0,l.Z)(Pt,2),ct=Te[1],Zt=a.useRef(he),wt=(0,N.Z)(function(){return Zt.current}),Ie=(0,N.Z)(function(xt){Zt.current=typeof xt=="function"?xt(Zt.current):xt,ct()});return[wt,Ie]}var G="none",H="appear",ae="enter",ne="leave",oe="none",q="prepare",J="start",V="active",se="end",ee="prepared",Q=e(47273);function ue(he,Pt){var Te={};return Te[he.toLowerCase()]=Pt.toLowerCase(),Te["Webkit".concat(he)]="webkit".concat(Pt),Te["Moz".concat(he)]="moz".concat(Pt),Te["ms".concat(he)]="MS".concat(Pt),Te["O".concat(he)]="o".concat(Pt.toLowerCase()),Te}function U(he,Pt){var Te={animationend:ue("Animation","AnimationEnd"),transitionend:ue("Transition","TransitionEnd")};return he&&("AnimationEvent"in Pt||delete Te.animationend.animation,"TransitionEvent"in Pt||delete Te.transitionend.transition),Te}var $=U((0,Q.Z)(),typeof window!="undefined"?window:{}),ie={};if((0,Q.Z)()){var _e=document.createElement("div");ie=_e.style}var Pe={};function De(he){if(Pe[he])return Pe[he];var Pt=$[he];if(Pt)for(var Te=Object.keys(Pt),ct=Te.length,Zt=0;Zt<ct;Zt+=1){var wt=Te[Zt];if(Object.prototype.hasOwnProperty.call(Pt,wt)&&wt in ie)return Pe[he]=Pt[wt],Pe[he]}return""}var He=De("animationend"),Ne=De("transitionend"),Ft=!!(He&&Ne),gt=He||"animationend",Dt=Ne||"transitionend";function rr(he,Pt){if(!he)return null;if((0,c.Z)(he)==="object"){var Te=Pt.replace(/-\w/g,function(ct){return ct[1].toUpperCase()});return he[Te]}return"".concat(he,"-").concat(Pt)}var Xt=function(he){var Pt=(0,a.useRef)();function Te(Zt){Zt&&(Zt.removeEventListener(Dt,he),Zt.removeEventListener(gt,he))}function ct(Zt){Pt.current&&Pt.current!==Zt&&Te(Pt.current),Zt&&Zt!==Pt.current&&(Zt.addEventListener(Dt,he),Zt.addEventListener(gt,he),Pt.current=Zt)}return a.useEffect(function(){return function(){Te(Pt.current)}},[]),[ct,Te]},fr=(0,Q.Z)()?a.useLayoutEffect:a.useEffect,Ge=fr,Tt=e(16089),zt=function(){var he=a.useRef(null);function Pt(){Tt.Z.cancel(he.current)}function Te(ct){var Zt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:2;Pt();var wt=(0,Tt.Z)(function(){Zt<=1?ct({isCanceled:function(){return wt!==he.current}}):Te(ct,Zt-1)});he.current=wt}return a.useEffect(function(){return function(){Pt()}},[]),[Te,Pt]},nt=[q,J,V,se],bt=[q,ee],dt=!1,et=!0;function ze(he){return he===V||he===se}var ge=function(he,Pt,Te){var ct=(0,B.Z)(oe),Zt=(0,l.Z)(ct,2),wt=Zt[0],Ie=Zt[1],xt=zt(),be=(0,l.Z)(xt,2),Ye=be[0],mt=be[1];function Lt(){Ie(q,!0)}var Fe=Pt?bt:nt;return Ge(function(){if(wt!==oe&&wt!==se){var Or=Fe.indexOf(wt),St=Fe[Or+1],Vr=Te(wt);Vr===dt?Ie(St,!0):St&&Ye(function(tn){function wr(){tn.isCanceled()||Ie(St,!0)}Vr===!0?wr():Promise.resolve(Vr).then(wr)})}},[he,wt]),a.useEffect(function(){return function(){mt()}},[]),[Lt,wt]};function Se(he,Pt,Te,ct){var Zt=ct.motionEnter,wt=Zt===void 0?!0:Zt,Ie=ct.motionAppear,xt=Ie===void 0?!0:Ie,be=ct.motionLeave,Ye=be===void 0?!0:be,mt=ct.motionDeadline,Lt=ct.motionLeaveImmediately,Fe=ct.onAppearPrepare,Or=ct.onEnterPrepare,St=ct.onLeavePrepare,Vr=ct.onAppearStart,tn=ct.onEnterStart,wr=ct.onLeaveStart,Nr=ct.onAppearActive,gr=ct.onEnterActive,Ur=ct.onLeaveActive,cn=ct.onAppearEnd,hn=ct.onEnterEnd,ur=ct.onLeaveEnd,Rt=ct.onVisibleChanged,_t=(0,B.Z)(),vt=(0,l.Z)(_t,2),jt=vt[0],Cr=vt[1],yr=K(G),nn=(0,l.Z)(yr,2),Kr=nn[0],Ln=nn[1],At=(0,B.Z)(null),cr=(0,l.Z)(At,2),Qr=cr[0],yn=cr[1],Gn=Kr(),fi=(0,a.useRef)(!1),Xn=(0,a.useRef)(null);function Ki(){return Te()}var hi=(0,a.useRef)(!1);function bi(){Ln(G),yn(null,!0)}var Di=(0,M.useEvent)(function(er){var pt=Kr();if(pt!==G){var tt=Ki();if(!(er&&!er.deadline&&er.target!==tt)){var Ot=hi.current,ft;pt===H&&Ot?ft=cn==null?void 0:cn(tt,er):pt===ae&&Ot?ft=hn==null?void 0:hn(tt,er):pt===ne&&Ot&&(ft=ur==null?void 0:ur(tt,er)),Ot&&ft!==!1&&bi()}}}),wi=Xt(Di),fa=(0,l.Z)(wi,1),ri=fa[0],la=function(pt){switch(pt){case H:return(0,r.Z)((0,r.Z)((0,r.Z)({},q,Fe),J,Vr),V,Nr);case ae:return(0,r.Z)((0,r.Z)((0,r.Z)({},q,Or),J,tn),V,gr);case ne:return(0,r.Z)((0,r.Z)((0,r.Z)({},q,St),J,wr),V,Ur);default:return{}}},Et=a.useMemo(function(){return la(Gn)},[Gn]),it=ge(Gn,!he,function(er){if(er===q){var pt=Et[q];return pt?pt(Ki()):dt}if(ii in Et){var tt;yn(((tt=Et[ii])===null||tt===void 0?void 0:tt.call(Et,Ki(),null))||null)}return ii===V&&Gn!==G&&(ri(Ki()),mt>0&&(clearTimeout(Xn.current),Xn.current=setTimeout(function(){Di({deadline:!0})},mt))),ii===ee&&bi(),et}),ni=(0,l.Z)(it,2),Oi=ni[0],ii=ni[1],sa=ze(ii);hi.current=sa;var Ti=(0,a.useRef)(null);Ge(function(){if(!(fi.current&&Ti.current===Pt)){Cr(Pt);var er=fi.current;fi.current=!0;var pt;!er&&Pt&&xt&&(pt=H),er&&Pt&&wt&&(pt=ae),(er&&!Pt&&Ye||!er&&Lt&&!Pt&&Ye)&&(pt=ne);var tt=la(pt);pt&&(he||tt[q])?(Ln(pt),Oi()):Ln(G),Ti.current=Pt}},[Pt]),(0,a.useEffect)(function(){(Gn===H&&!xt||Gn===ae&&!wt||Gn===ne&&!Ye)&&Ln(G)},[xt,wt,Ye]),(0,a.useEffect)(function(){return function(){fi.current=!1,clearTimeout(Xn.current)}},[]);var ci=a.useRef(!1);(0,a.useEffect)(function(){jt&&(ci.current=!0),jt!==void 0&&Gn===G&&((ci.current||jt)&&(Rt==null||Rt(jt)),ci.current=!0)},[jt,Gn]);var An=Qr;return Et[q]&&ii===J&&(An=(0,i.Z)({transition:"none"},An)),[Gn,ii,An,jt!=null?jt:Pt]}function Le(he){var Pt=he;(0,c.Z)(he)==="object"&&(Pt=he.transitionSupport);function Te(Zt,wt){return!!(Zt.motionName&&Pt&&wt!==!1)}var ct=a.forwardRef(function(Zt,wt){var Ie=Zt.visible,xt=Ie===void 0?!0:Ie,be=Zt.removeOnLeave,Ye=be===void 0?!0:be,mt=Zt.forceRender,Lt=Zt.children,Fe=Zt.motionName,Or=Zt.leavedClassName,St=Zt.eventProps,Vr=a.useContext(y),tn=Vr.motion,wr=Te(Zt,tn),Nr=(0,a.useRef)(),gr=(0,a.useRef)();function Ur(){try{return Nr.current instanceof HTMLElement?Nr.current:(0,h.ZP)(gr.current)}catch(cr){return null}}var cn=Se(wr,xt,Ur,Zt),hn=(0,l.Z)(cn,4),ur=hn[0],Rt=hn[1],_t=hn[2],vt=hn[3],jt=a.useRef(vt);vt&&(jt.current=!0);var Cr=a.useCallback(function(cr){Nr.current=cr,(0,u.mH)(wt,cr)},[wt]),yr,nn=(0,i.Z)((0,i.Z)({},St),{},{visible:xt});if(!Lt)yr=null;else if(ur===G)vt?yr=Lt((0,i.Z)({},nn),Cr):!Ye&&jt.current&&Or?yr=Lt((0,i.Z)((0,i.Z)({},nn),{},{className:Or}),Cr):mt||!Ye&&!Or?yr=Lt((0,i.Z)((0,i.Z)({},nn),{},{style:{display:"none"}}),Cr):yr=null;else{var Kr;Rt===q?Kr="prepare":ze(Rt)?Kr="active":Rt===J&&(Kr="start");var Ln=rr(Fe,"".concat(ur,"-").concat(Kr));yr=Lt((0,i.Z)((0,i.Z)({},nn),{},{className:o()(rr(Fe,ur),(0,r.Z)((0,r.Z)({},Ln,Ln&&Kr),Fe,typeof Fe=="string")),style:_t}),Cr)}if(a.isValidElement(yr)&&(0,u.Yr)(yr)){var At=(0,u.C4)(yr);At||(yr=a.cloneElement(yr,{ref:Cr}))}return a.createElement(P,{ref:gr},yr)});return ct.displayName="CSSMotion",ct}var $e=Le(Ft),We=e(67711),rt=e(62437),ot="add",Kt="keep",Wt="remove",Ce="removed";function Je(he){var Pt;return he&&(0,c.Z)(he)==="object"&&"key"in he?Pt=he:Pt={key:he},(0,i.Z)((0,i.Z)({},Pt),{},{key:String(Pt.key)})}function Yt(){var he=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];return he.map(Je)}function kt(){var he=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],Pt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],Te=[],ct=0,Zt=Pt.length,wt=Yt(he),Ie=Yt(Pt);wt.forEach(function(Ye){for(var mt=!1,Lt=ct;Lt<Zt;Lt+=1){var Fe=Ie[Lt];if(Fe.key===Ye.key){ct<Lt&&(Te=Te.concat(Ie.slice(ct,Lt).map(function(Or){return(0,i.Z)((0,i.Z)({},Or),{},{status:ot})})),ct=Lt),Te.push((0,i.Z)((0,i.Z)({},Fe),{},{status:Kt})),ct+=1,mt=!0;break}}mt||Te.push((0,i.Z)((0,i.Z)({},Ye),{},{status:Wt}))}),ct<Zt&&(Te=Te.concat(Ie.slice(ct).map(function(Ye){return(0,i.Z)((0,i.Z)({},Ye),{},{status:ot})})));var xt={};Te.forEach(function(Ye){var mt=Ye.key;xt[mt]=(xt[mt]||0)+1});var be=Object.keys(xt).filter(function(Ye){return xt[Ye]>1});return be.forEach(function(Ye){Te=Te.filter(function(mt){var Lt=mt.key,Fe=mt.status;return Lt!==Ye||Fe!==Wt}),Te.forEach(function(mt){mt.key===Ye&&(mt.status=Kt)})}),Te}var Ht=["component","children","onVisibleChanged","onAllRemoved"],$t=["status"],tr=["eventProps","visible","children","motionName","motionAppear","motionEnter","motionLeave","motionLeaveImmediately","motionDeadline","removeOnLeave","leavedClassName","onAppearPrepare","onAppearStart","onAppearActive","onAppearEnd","onEnterStart","onEnterActive","onEnterEnd","onLeaveStart","onLeaveActive","onLeaveEnd"];function Gt(he){var Pt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:$e,Te=function(ct){(0,k.Z)(wt,ct);var Zt=(0,R.Z)(wt);function wt(){var Ie;(0,b.Z)(this,wt);for(var xt=arguments.length,be=new Array(xt),Ye=0;Ye<xt;Ye++)be[Ye]=arguments[Ye];return Ie=Zt.call.apply(Zt,[this].concat(be)),(0,r.Z)((0,rt.Z)(Ie),"state",{keyEntities:[]}),(0,r.Z)((0,rt.Z)(Ie),"removeKey",function(mt){Ie.setState(function(Lt){var Fe=Lt.keyEntities.map(function(Or){return Or.key!==mt?Or:(0,i.Z)((0,i.Z)({},Or),{},{status:Ce})});return{keyEntities:Fe}},function(){var Lt=Ie.state.keyEntities,Fe=Lt.filter(function(Or){var St=Or.status;return St!==Ce}).length;Fe===0&&Ie.props.onAllRemoved&&Ie.props.onAllRemoved()})}),Ie}return(0,S.Z)(wt,[{key:"render",value:function(){var xt=this,be=this.state.keyEntities,Ye=this.props,mt=Ye.component,Lt=Ye.children,Fe=Ye.onVisibleChanged,Or=Ye.onAllRemoved,St=(0,x.Z)(Ye,Ht),Vr=mt||a.Fragment,tn={};return tr.forEach(function(wr){tn[wr]=St[wr],delete St[wr]}),delete St.keys,a.createElement(Vr,St,be.map(function(wr,Nr){var gr=wr.status,Ur=(0,x.Z)(wr,$t),cn=gr===ot||gr===Kt;return a.createElement(Pt,(0,We.Z)({},tn,{key:Ur.key,visible:cn,eventProps:Ur,onVisibleChanged:function(ur){Fe==null||Fe(ur,{key:Ur.key}),ur||xt.removeKey(Ur.key)}}),function(hn,ur){return Lt((0,i.Z)((0,i.Z)({},hn),{},{index:Nr}),ur)})}))}}],[{key:"getDerivedStateFromProps",value:function(xt,be){var Ye=xt.keys,mt=be.keyEntities,Lt=Yt(Ye),Fe=kt(mt,Lt);return{keyEntities:Fe.filter(function(Or){var St=mt.find(function(Vr){var tn=Vr.key;return Or.key===tn});return!(St&&St.status===Ce&&Or.status===Wt)})}}}]),wt}(a.Component);return(0,r.Z)(Te,"defaultProps",{component:"div"}),Te}var Me=Gt(Ft),ce=$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(15142),i=e(16886),l=e(33346),c=e(59301),f=e(98506),o=e(4676),h=e(67711),u=e(92310),a=e.n(u),x=e(77900),p=e(52873),y=e(10228),_=c.forwardRef(function(ne,oe){var q=ne.prefixCls,J=ne.style,V=ne.className,se=ne.duration,ee=se===void 0?4.5:se,Q=ne.eventKey,ue=ne.content,U=ne.closable,$=ne.closeIcon,ie=$===void 0?"x":$,_e=ne.props,Pe=ne.onClick,De=ne.onNoticeClose,He=ne.times,Ne=c.useState(!1),Ft=(0,i.Z)(Ne,2),gt=Ft[0],Dt=Ft[1],rr=function(){De(Q)},Xt=function(Tt){(Tt.key==="Enter"||Tt.code==="Enter"||Tt.keyCode===y.Z.ENTER)&&rr()};c.useEffect(function(){if(!gt&&ee>0){var Ge=setTimeout(function(){rr()},ee*1e3);return function(){clearTimeout(Ge)}}},[ee,gt,He]);var fr="".concat(q,"-notice");return c.createElement("div",(0,h.Z)({},_e,{ref:oe,className:a()(fr,V,(0,p.Z)({},"".concat(fr,"-closable"),U)),style:J,onMouseEnter:function(){Dt(!0)},onMouseLeave:function(){Dt(!1)},onClick:Pe}),c.createElement("div",{className:"".concat(fr,"-content")},ue),U&&c.createElement("a",{tabIndex:0,className:"".concat(fr,"-close"),onKeyDown:Xt,onClick:function(Tt){Tt.preventDefault(),Tt.stopPropagation(),rr()}},ie))}),b=_,S=c.createContext({}),k=function(oe){var q=oe.children,J=oe.classNames;return c.createElement(S.Provider,{value:{classNames:J}},q)},R=k,A=function(oe){var q=oe.configList,J=oe.placement,V=oe.prefixCls,se=oe.className,ee=oe.style,Q=oe.motion,ue=oe.onAllNoticeRemoved,U=oe.onNoticeClose,$=(0,c.useContext)(S),ie=$.classNames,_e=q.map(function(De){return{config:De,key:De.key}}),Pe=typeof Q=="function"?Q(J):Q;return c.createElement(x.CSSMotionList,(0,h.Z)({key:J,className:a()(V,"".concat(V,"-").concat(J),ie==null?void 0:ie.list,se),style:ee,keys:_e,motionAppear:!0},Pe,{onAllRemoved:function(){ue(J)}}),function(De,He){var Ne=De.config,Ft=De.className,gt=De.style,Dt=Ne,rr=Dt.key,Xt=Dt.times,fr=Ne,Ge=fr.className,Tt=fr.style;return c.createElement(b,(0,h.Z)({},Ne,{ref:He,prefixCls:V,className:a()(Ft,Ge,ie==null?void 0:ie.notice),style:(0,f.Z)((0,f.Z)({},gt),Tt),times:Xt,key:rr,eventKey:rr,onNoticeClose:U}))})},P=A,M=c.forwardRef(function(ne,oe){var q=ne.prefixCls,J=q===void 0?"rc-notification":q,V=ne.container,se=ne.motion,ee=ne.maxCount,Q=ne.className,ue=ne.style,U=ne.onAllRemoved,$=ne.renderNotifications,ie=c.useState([]),_e=(0,i.Z)(ie,2),Pe=_e[0],De=_e[1],He=function(Tt){var zt,nt=Pe.find(function(bt){return bt.key===Tt});nt==null||(zt=nt.onClose)===null||zt===void 0||zt.call(nt),De(function(bt){return bt.filter(function(dt){return dt.key!==Tt})})};c.useImperativeHandle(oe,function(){return{open:function(Tt){De(function(zt){var nt=(0,r.Z)(zt),bt=nt.findIndex(function(ze){return ze.key===Tt.key}),dt=(0,f.Z)({},Tt);if(bt>=0){var et;dt.times=(((et=zt[bt])===null||et===void 0?void 0:et.times)||0)+1,nt[bt]=dt}else dt.times=0,nt.push(dt);return ee>0&&nt.length>ee&&(nt=nt.slice(-ee)),nt})},close:function(Tt){He(Tt)},destroy:function(){De([])}}});var Ne=c.useState({}),Ft=(0,i.Z)(Ne,2),gt=Ft[0],Dt=Ft[1];c.useEffect(function(){var Ge={};Pe.forEach(function(Tt){var zt=Tt.placement,nt=zt===void 0?"topRight":zt;nt&&(Ge[nt]=Ge[nt]||[],Ge[nt].push(Tt))}),Object.keys(gt).forEach(function(Tt){Ge[Tt]=Ge[Tt]||[]}),Dt(Ge)},[Pe]);var rr=function(Tt){Dt(function(zt){var nt=(0,f.Z)({},zt),bt=nt[Tt]||[];return bt.length||delete nt[Tt],nt})},Xt=c.useRef(!1);if(c.useEffect(function(){Object.keys(gt).length>0?Xt.current=!0:Xt.current&&(U==null||U(),Xt.current=!1)},[gt]),!V)return null;var fr=Object.keys(gt);return(0,o.createPortal)(c.createElement(c.Fragment,null,fr.map(function(Ge){var Tt=gt[Ge],zt=c.createElement(P,{key:Ge,configList:Tt,placement:Ge,prefixCls:J,className:Q==null?void 0:Q(Ge),style:ue==null?void 0:ue(Ge),motion:se,onNoticeClose:He,onAllNoticeRemoved:rr});return $?$(zt,{prefixCls:J,key:Ge}):zt})),V)}),B=M,N=["getContainer","motion","prefixCls","maxCount","className","style","onAllRemoved","renderNotifications"],K=function(){return document.body},G=0;function H(){for(var ne={},oe=arguments.length,q=new Array(oe),J=0;J<oe;J++)q[J]=arguments[J];return q.forEach(function(V){V&&Object.keys(V).forEach(function(se){var ee=V[se];ee!==void 0&&(ne[se]=ee)})}),ne}function ae(){var ne=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},oe=ne.getContainer,q=oe===void 0?K:oe,J=ne.motion,V=ne.prefixCls,se=ne.maxCount,ee=ne.className,Q=ne.style,ue=ne.onAllRemoved,U=ne.renderNotifications,$=(0,l.Z)(ne,N),ie=c.useState(),_e=(0,i.Z)(ie,2),Pe=_e[0],De=_e[1],He=c.useRef(),Ne=c.createElement(B,{container:Pe,ref:He,prefixCls:V,motion:J,maxCount:se,className:ee,style:Q,onAllRemoved:ue,renderNotifications:U}),Ft=c.useState([]),gt=(0,i.Z)(Ft,2),Dt=gt[0],rr=gt[1],Xt=c.useMemo(function(){return{open:function(Ge){var Tt=H($,Ge);(Tt.key===null||Tt.key===void 0)&&(Tt.key="rc-notification-".concat(G),G+=1),rr(function(zt){return[].concat((0,r.Z)(zt),[{type:"open",config:Tt}])})},close:function(Ge){rr(function(Tt){return[].concat((0,r.Z)(Tt),[{type:"close",key:Ge}])})},destroy:function(){rr(function(Ge){return[].concat((0,r.Z)(Ge),[{type:"destroy"}])})}}},[]);return c.useEffect(function(){De(q())}),c.useEffect(function(){He.current&&Dt.length&&(Dt.forEach(function(fr){switch(fr.type){case"open":He.current.open(fr.config);break;case"close":He.current.close(fr.key);break;case"destroy":He.current.destroy();break}}),rr(function(fr){return fr.filter(function(Ge){return!Dt.includes(Ge)})}))},[Dt]),[Xt,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(67711),i=e(59301),l=e(11592),c=e(48736),f=e(98506),o=e(26420),h=e(76846),u=e(8654),a=i.createContext(null);function x(V){var se=V.children,ee=V.onBatchResize,Q=i.useRef(0),ue=i.useRef([]),U=i.useContext(a),$=i.useCallback(function(ie,_e,Pe){Q.current+=1;var De=Q.current;ue.current.push({size:ie,element:_e,data:Pe}),Promise.resolve().then(function(){De===Q.current&&(ee==null||ee(ue.current),ue.current=[])}),U==null||U(ie,_e,Pe)},[ee,U]);return i.createElement(a.Provider,{value:$},se)}var p=e(76374),y=new Map;function _(V){V.forEach(function(se){var ee,Q=se.target;(ee=y.get(Q))===null||ee===void 0||ee.forEach(function(ue){return ue(Q)})})}var b=new p.Z(_),S=null,k=null;function R(V,se){y.has(V)||(y.set(V,new Set),b.observe(V)),y.get(V).add(se)}function A(V,se){y.has(V)&&(y.get(V).delete(se),y.get(V).size||(b.unobserve(V),y.delete(V)))}var P=e(42573),M=e(58698),B=e(74700),N=e(45080),K=function(V){(0,B.Z)(ee,V);var se=(0,N.Z)(ee);function ee(){return(0,P.Z)(this,ee),se.apply(this,arguments)}return(0,M.Z)(ee,[{key:"render",value:function(){return this.props.children}}]),ee}(i.Component);function G(V,se){var ee=V.children,Q=V.disabled,ue=i.useRef(null),U=i.useRef(null),$=i.useContext(a),ie=typeof ee=="function",_e=ie?ee(ue):ee,Pe=i.useRef({width:-1,height:-1,offsetWidth:-1,offsetHeight:-1}),De=!ie&&i.isValidElement(_e)&&(0,u.Yr)(_e),He=De?(0,u.C4)(_e):null,Ne=(0,u.x1)(He,ue),Ft=function(){var Xt;return(0,h.ZP)(ue.current)||(ue.current&&(0,o.Z)(ue.current)==="object"?(0,h.ZP)((Xt=ue.current)===null||Xt===void 0?void 0:Xt.nativeElement):null)||(0,h.ZP)(U.current)};i.useImperativeHandle(se,function(){return Ft()});var gt=i.useRef(V);gt.current=V;var Dt=i.useCallback(function(rr){var Xt=gt.current,fr=Xt.onResize,Ge=Xt.data,Tt=rr.getBoundingClientRect(),zt=Tt.width,nt=Tt.height,bt=rr.offsetWidth,dt=rr.offsetHeight,et=Math.floor(zt),ze=Math.floor(nt);if(Pe.current.width!==et||Pe.current.height!==ze||Pe.current.offsetWidth!==bt||Pe.current.offsetHeight!==dt){var ge={width:et,height:ze,offsetWidth:bt,offsetHeight:dt};Pe.current=ge;var Se=bt===Math.round(zt)?zt:bt,Le=dt===Math.round(nt)?nt:dt,$e=(0,f.Z)((0,f.Z)({},ge),{},{offsetWidth:Se,offsetHeight:Le});$==null||$($e,rr,Ge),fr&&Promise.resolve().then(function(){fr($e,rr)})}},[]);return i.useEffect(function(){var rr=Ft();return rr&&!Q&&R(rr,Dt),function(){return A(rr,Dt)}},[ue.current,Q]),i.createElement(K,{ref:U},De?i.cloneElement(_e,{ref:Ne}):_e)}var H=i.forwardRef(G),ae=H,ne="rc-observer-key";function oe(V,se){var ee=V.children,Q=typeof ee=="function"?[ee]:(0,l.Z)(ee);return Q.map(function(ue,U){var $=(ue==null?void 0:ue.key)||"".concat(ne,"-").concat(U);return i.createElement(ae,(0,r.Z)({},V,{key:$,ref:U===0?se:void 0}),ue)})}var q=i.forwardRef(oe);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(67711),i=e(98506),l=e(33346),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 P=A.children,M=A.prefixCls,B=A.id,N=A.overlayInnerStyle,K=A.className,G=A.style;return f.createElement("div",{className:y()("".concat(M,"-content"),K),style:G},f.createElement("div",{className:"".concat(M,"-inner"),id:B,role:"tooltip",style:N},typeof P=="function"?P():P))}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(P,M){var B=P.overlayClassName,N=P.trigger,K=N===void 0?["hover"]:N,G=P.mouseEnterDelay,H=G===void 0?0:G,ae=P.mouseLeaveDelay,ne=ae===void 0?.1:ae,oe=P.overlayStyle,q=P.prefixCls,J=q===void 0?"rc-tooltip":q,V=P.children,se=P.onVisibleChange,ee=P.afterVisibleChange,Q=P.transitionName,ue=P.animation,U=P.motion,$=P.placement,ie=$===void 0?"right":$,_e=P.align,Pe=_e===void 0?{}:_e,De=P.destroyTooltipOnHide,He=De===void 0?!1:De,Ne=P.defaultVisible,Ft=P.getTooltipContainer,gt=P.overlayInnerStyle,Dt=P.arrowContent,rr=P.overlay,Xt=P.id,fr=P.showArrow,Ge=fr===void 0?!0:fr,Tt=(0,l.Z)(P,b),zt=(0,f.useRef)(null);(0,f.useImperativeHandle)(M,function(){return zt.current});var nt=(0,i.Z)({},Tt);"visible"in P&&(nt.popupVisible=P.visible);var bt=function(){return f.createElement(_,{key:"content",prefixCls:J,id:Xt,overlayInnerStyle:gt},rr)};return f.createElement(c.Z,(0,r.Z)({popupClassName:B,prefixCls:J,popup:bt,action:K,builtinPlacements:a,popupPlacement:ie,ref:zt,popupAlign:Pe,getPopupContainer:Ft,onPopupVisibleChange:se,afterPopupVisibleChange:ee,popupTransitionName:Q,popupAnimation:ue,popupMotion:U,defaultPopupVisible:Ne,autoDestroy:He,mouseLeaveDelay:ne,popupStyle:oe,mouseEnterDelay:H,arrow:Ge},nt),V)},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(98506),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]:{},P=A.mark;return P?P.startsWith("data-")?P:"data-".concat(P):o}function a(A){if(A.attachTo)return A.attachTo;var P=document.querySelector("head");return P||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(P){return P.tagName==="STYLE"})}function y(A){var P=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!(0,i.Z)())return null;var M=P.csp,B=P.prepend,N=P.priority,K=N===void 0?0:N,G=x(B),H=G==="prependQueue",ae=document.createElement("style");ae.setAttribute(c,G),H&&K&&ae.setAttribute(f,"".concat(K)),M!=null&&M.nonce&&(ae.nonce=M==null?void 0:M.nonce),ae.innerHTML=A;var ne=a(P),oe=ne.firstChild;if(B){if(H){var q=(P.styles||p(ne)).filter(function(J){if(!["prepend","prependQueue"].includes(J.getAttribute(c)))return!1;var V=Number(J.getAttribute(f)||0);return K>=V});if(q.length)return ne.insertBefore(ae,q[q.length-1].nextSibling),ae}ne.insertBefore(ae,oe)}else ne.appendChild(ae);return ae}function _(A){var P=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},M=a(P);return(P.styles||p(M)).find(function(B){return B.getAttribute(u(P))===A})}function b(A){var P=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},M=_(A,P);if(M){var B=a(P);B.removeChild(M)}}function S(A,P){var M=h.get(A);if(!M||!(0,l.Z)(document,M)){var B=y("",P),N=B.parentNode;h.set(A,N),A.removeChild(B)}}function k(){h.clear()}function R(A,P){var M=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},B=a(M),N=p(B),K=(0,r.Z)((0,r.Z)({},M),{},{styles:N});S(B,K);var G=_(P,K);if(G){var H,ae;if((H=K.csp)!==null&&H!==void 0&&H.nonce&&G.nonce!==((ae=K.csp)===null||ae===void 0?void 0:ae.nonce)){var ne;G.nonce=(ne=K.csp)===null||ne===void 0?void 0:ne.nonce}return G.innerHTML!==A&&(G.innerHTML=A),G}var oe=y(A,K);return oe.setAttribute(u(K),P),oe}},76846:function(d,v,e){"use strict";e.d(v,{Sh:function(){return c},ZP:function(){return o}});var r=e(26420),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(26420),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 K}});var i=e(77910),l=e(51343),c=e(26420),f=e(98506),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(H){}function _(H){var ae=h.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;ae&&(0,c.Z)(ae)==="object"&&(ae.usingClientEntryPoint=H)}var b="__rc_react_root__";function S(H,ae){_(!0);var ne=ae[b]||p(ae);_(!1),ne.render(H),ae[b]=ne}function k(H,ae){a==null||a(H,ae)}function R(H,ae){}function A(H,ae){if(p){S(H,ae);return}k(H,ae)}function P(H){return M.apply(this,arguments)}function M(){return M=(0,l.Z)((0,i.Z)().mark(function H(ae){return(0,i.Z)().wrap(function(oe){for(;;)switch(oe.prev=oe.next){case 0:return oe.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 oe.stop()}},H)})),M.apply(this,arguments)}function B(H){x(H)}function N(H){}function K(H){return G.apply(this,arguments)}function G(){return G=(0,l.Z)((0,i.Z)().mark(function H(ae){return(0,i.Z)().wrap(function(oe){for(;;)switch(oe.prev=oe.next){case 0:if(p===void 0){oe.next=2;break}return oe.abrupt("return",P(ae));case 2:B(ae);case 3:case"end":return oe.stop()}},H)})),G.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,P=o&&p&&!isNaN(p)?p:u.offsetHeight-u.clientHeight;return document.body.removeChild(u),(0,r.jL)(h),{width:A,height:P}}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(16886),l=e(98506),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(16886),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,P=_?_(A):A,M=(0,i.Z)(y),B=(0,c.Z)([A]),N=(0,r.Z)(B,2),K=N[0],G=N[1];(0,l.o)(function(){var ae=K[0];k!==ae&&M(k,ae)},[K]),(0,l.o)(function(){f(p)||R(p)},[p]);var H=(0,i.Z)(function(ae,ne){R(ae,ne),G([A],ne)});return[P,H]}},41799:function(d,v,e){"use strict";e.d(v,{Z:function(){return l}});var r=e(16886),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(26420),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(98506),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(26420),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(P){k.forEach(function(M){h(M,P)})}},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,P){return A.length!==P.length||A.every(function(M,B){return M!==P[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(26420),i=e(98506),l=e(15142),c=e(57879),f=e(97938);function o(y,_,b,S){if(!_.length)return b;var k=(0,c.Z)(_),R=k[0],A=k.slice(1),P;return!y&&typeof R=="number"?P=[]:Array.isArray(y)?P=(0,l.Z)(y):P=(0,i.Z)({},y),S&&b===void 0&&A.length===1?delete P[R][A[0]]:P[R]=o(P[R],A,b,S),P}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,P){var M=new Set(P),B=(0,f.Z)(k,A),N=Array.isArray(B);if(N||u(B)){if(!M.has(B)){M.add(B);var K=(0,f.Z)(S,A);N?S=h(S,A,[]):(!K||(0,r.Z)(K)!=="object")&&(S=h(S,A,a(B))),x(B).forEach(function(G){R([].concat((0,l.Z)(A),[G]),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(P){return P&&P.__esModule?P:{default:P}}function c(P){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(P)}function f(P,M){var B=Object.keys(P);if(Object.getOwnPropertySymbols){var N=Object.getOwnPropertySymbols(P);M&&(N=N.filter(function(K){return Object.getOwnPropertyDescriptor(P,K).enumerable})),B.push.apply(B,N)}return B}function o(P){for(var M=1;M<arguments.length;M++){var B=arguments[M]!=null?arguments[M]:{};M%2?f(B,!0).forEach(function(N){R(P,N,B[N])}):Object.getOwnPropertyDescriptors?Object.defineProperties(P,Object.getOwnPropertyDescriptors(B)):f(B).forEach(function(N){Object.defineProperty(P,N,Object.getOwnPropertyDescriptor(B,N))})}return P}function h(P,M){if(P==null)return{};var B=u(P,M),N,K;if(Object.getOwnPropertySymbols){var G=Object.getOwnPropertySymbols(P);for(K=0;K<G.length;K++)N=G[K],!(M.indexOf(N)>=0)&&Object.prototype.propertyIsEnumerable.call(P,N)&&(B[N]=P[N])}return B}function u(P,M){if(P==null)return{};var B={},N=Object.keys(P),K,G;for(G=0;G<N.length;G++)K=N[G],!(M.indexOf(K)>=0)&&(B[K]=P[K]);return B}function a(P,M){if(!(P instanceof M))throw new TypeError("Cannot call a class as a function")}function x(P,M){for(var B=0;B<M.length;B++){var N=M[B];N.enumerable=N.enumerable||!1,N.configurable=!0,"value"in N&&(N.writable=!0),Object.defineProperty(P,N.key,N)}}function p(P,M,B){return M&&x(P.prototype,M),B&&x(P,B),P}function y(P,M){return M&&(c(M)==="object"||typeof M=="function")?M:b(P)}function _(P){return _=Object.setPrototypeOf?Object.getPrototypeOf:function(B){return B.__proto__||Object.getPrototypeOf(B)},_(P)}function b(P){if(P===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return P}function S(P,M){if(typeof M!="function"&&M!==null)throw new TypeError("Super expression must either be null or a function");P.prototype=Object.create(M&&M.prototype,{constructor:{value:P,writable:!0,configurable:!0}}),M&&k(P,M)}function k(P,M){return k=Object.setPrototypeOf||function(N,K){return N.__proto__=K,N},k(P,M)}function R(P,M,B){return M in P?Object.defineProperty(P,M,{value:B,enumerable:!0,configurable:!0,writable:!0}):P[M]=B,P}var A=function(P){S(M,P);function M(){var B,N;a(this,M);for(var K=arguments.length,G=new Array(K),H=0;H<K;H++)G[H]=arguments[H];return N=y(this,(B=_(M)).call.apply(B,[this].concat(G))),R(b(N),"onClick",function(ae){var ne=N.props,oe=ne.text,q=ne.onCopy,J=ne.children,V=ne.options,se=r.default.Children.only(J),ee=(0,i.default)(oe,V);q&&q(oe,ee),se&&se.props&&typeof se.props.onClick=="function"&&se.props.onClick(ae)}),N}return p(M,[{key:"render",value:function(){var N=this.props,K=N.text,G=N.onCopy,H=N.options,ae=N.children,ne=h(N,["text","onCopy","options","children"]),oe=r.default.Children.only(ae);return r.default.cloneElement(oe,o({},ne,{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,j=1;j<arguments.length;j++)C+="&args[]="+encodeURIComponent(arguments[j]);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,j,ve){if(j!==null&&j.type===0)return!1;switch(typeof C){case"function":case"symbol":return!0;case"boolean":return ve?!1:j!==null?!j.acceptsBooleans:(g=g.toLowerCase().slice(0,5),g!=="data-"&&g!=="aria-");default:return!1}}function k(g,C,j,ve){if(C===null||typeof C=="undefined"||S(g,C,j,ve))return!0;if(ve)return!1;if(j!==null)switch(j.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,j,ve,Re,st,Bt){this.acceptsBooleans=C===2||C===3||C===4,this.attributeName=ve,this.attributeNamespace=Re,this.mustUseProperty=j,this.propertyName=g,this.type=C,this.sanitizeURL=st,this.removeEmptyString=Bt}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 P=/[\-:]([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(P,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(P,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(P,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,j,ve){var Re=A.hasOwnProperty(C)?A[C]:null,st=Re!==null?Re.type===0:ve?!1:!(!(2<C.length)||C[0]!=="o"&&C[0]!=="O"||C[1]!=="n"&&C[1]!=="N");st||(k(C,j,Re,ve)&&(j=null),ve||Re===null?b(C)&&(j===null?g.removeAttribute(C):g.setAttribute(C,""+j)):Re.mustUseProperty?g[Re.propertyName]=j===null?Re.type===3?!1:"":j:(C=Re.attributeName,ve=Re.attributeNamespace,j===null?g.removeAttribute(C):(Re=Re.type,j=Re===3||Re===4&&j===!0?"":""+j,ve?g.setAttributeNS(ve,C,j):g.setAttribute(C,j))))}var N=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,K=60103,G=60106,H=60107,ae=60108,ne=60114,oe=60109,q=60110,J=60112,V=60113,se=60120,ee=60115,Q=60116,ue=60121,U=60128,$=60129,ie=60130,_e=60131;if(typeof Symbol=="function"&&Symbol.for){var Pe=Symbol.for;K=Pe("react.element"),G=Pe("react.portal"),H=Pe("react.fragment"),ae=Pe("react.strict_mode"),ne=Pe("react.profiler"),oe=Pe("react.provider"),q=Pe("react.context"),J=Pe("react.forward_ref"),V=Pe("react.suspense"),se=Pe("react.suspense_list"),ee=Pe("react.memo"),Q=Pe("react.lazy"),ue=Pe("react.block"),Pe("react.scope"),U=Pe("react.opaque.id"),$=Pe("react.debug_trace_mode"),ie=Pe("react.offscreen"),_e=Pe("react.legacy_hidden")}var De=typeof Symbol=="function"&&Symbol.iterator;function He(g){return g===null||typeof g!="object"?null:(g=De&&g[De]||g["@@iterator"],typeof g=="function"?g:null)}var Ne;function Ft(g){if(Ne===void 0)try{throw Error()}catch(j){var C=j.stack.trim().match(/\n( *(at )?)/);Ne=C&&C[1]||""}return`
|
|
|
`+Ne+g}var gt=!1;function Dt(g,C){if(!g||gt)return"";gt=!0;var j=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(Dr){var ve=Dr}Reflect.construct(g,[],C)}else{try{C.call()}catch(Dr){ve=Dr}g.call(C.prototype)}else{try{throw Error()}catch(Dr){ve=Dr}g()}}catch(Dr){if(Dr&&ve&&typeof Dr.stack=="string"){for(var Re=Dr.stack.split(`
|
|
|
`),st=ve.stack.split(`
|
|
|
`),Bt=Re.length-1,ir=st.length-1;1<=Bt&&0<=ir&&Re[Bt]!==st[ir];)ir--;for(;1<=Bt&&0<=ir;Bt--,ir--)if(Re[Bt]!==st[ir]){if(Bt!==1||ir!==1)do if(Bt--,ir--,0>ir||Re[Bt]!==st[ir])return`
|
|
|
`+Re[Bt].replace(" at new "," at ");while(1<=Bt&&0<=ir);break}}}finally{gt=!1,Error.prepareStackTrace=j}return(g=g?g.displayName||g.name:"")?Ft(g):""}function rr(g){switch(g.tag){case 5:return Ft(g.type);case 16:return Ft("Lazy");case 13:return Ft("Suspense");case 19:return Ft("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 Xt(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 H:return"Fragment";case G:return"Portal";case ne:return"Profiler";case ae:return"StrictMode";case V:return"Suspense";case se:return"SuspenseList"}if(typeof g=="object")switch(g.$$typeof){case q:return(g.displayName||"Context")+".Consumer";case oe: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 Xt(g.type);case ue:return Xt(g._render);case Q:C=g._payload,g=g._init;try{return Xt(g(C))}catch(j){}}return null}function fr(g){switch(typeof g){case"boolean":case"number":case"object":case"string":case"undefined":return g;default:return""}}function Ge(g){var C=g.type;return(g=g.nodeName)&&g.toLowerCase()==="input"&&(C==="checkbox"||C==="radio")}function Tt(g){var C=Ge(g)?"checked":"value",j=Object.getOwnPropertyDescriptor(g.constructor.prototype,C),ve=""+g[C];if(!g.hasOwnProperty(C)&&typeof j!="undefined"&&typeof j.get=="function"&&typeof j.set=="function"){var Re=j.get,st=j.set;return Object.defineProperty(g,C,{configurable:!0,get:function(){return Re.call(this)},set:function(Bt){ve=""+Bt,st.call(this,Bt)}}),Object.defineProperty(g,C,{enumerable:j.enumerable}),{getValue:function(){return ve},setValue:function(Bt){ve=""+Bt},stopTracking:function(){g._valueTracker=null,delete g[C]}}}}function zt(g){g._valueTracker||(g._valueTracker=Tt(g))}function nt(g){if(!g)return!1;var C=g._valueTracker;if(!C)return!0;var j=C.getValue(),ve="";return g&&(ve=Ge(g)?g.checked?"true":"false":g.value),g=ve,g!==j?(C.setValue(g),!0):!1}function bt(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 dt(g,C){var j=C.checked;return i({},C,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:j!=null?j:g._wrapperState.initialChecked})}function et(g,C){var j=C.defaultValue==null?"":C.defaultValue,ve=C.checked!=null?C.checked:C.defaultChecked;j=fr(C.value!=null?C.value:j),g._wrapperState={initialChecked:ve,initialValue:j,controlled:C.type==="checkbox"||C.type==="radio"?C.checked!=null:C.value!=null}}function ze(g,C){C=C.checked,C!=null&&B(g,"checked",C,!1)}function ge(g,C){ze(g,C);var j=fr(C.value),ve=C.type;if(j!=null)ve==="number"?(j===0&&g.value===""||g.value!=j)&&(g.value=""+j):g.value!==""+j&&(g.value=""+j);else if(ve==="submit"||ve==="reset"){g.removeAttribute("value");return}C.hasOwnProperty("value")?Le(g,C.type,j):C.hasOwnProperty("defaultValue")&&Le(g,C.type,fr(C.defaultValue)),C.checked==null&&C.defaultChecked!=null&&(g.defaultChecked=!!C.defaultChecked)}function Se(g,C,j){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,j||C===g.value||(g.value=C),g.defaultValue=C}j=g.name,j!==""&&(g.name=""),g.defaultChecked=!!g._wrapperState.initialChecked,j!==""&&(g.name=j)}function Le(g,C,j){(C!=="number"||bt(g.ownerDocument)!==g)&&(j==null?g.defaultValue=""+g._wrapperState.initialValue:g.defaultValue!==""+j&&(g.defaultValue=""+j))}function $e(g){var C="";return r.Children.forEach(g,function(j){j!=null&&(C+=j)}),C}function We(g,C){return g=i({children:void 0},C),(C=$e(C.children))&&(g.children=C),g}function rt(g,C,j,ve){if(g=g.options,C){C={};for(var Re=0;Re<j.length;Re++)C["$"+j[Re]]=!0;for(j=0;j<g.length;j++)Re=C.hasOwnProperty("$"+g[j].value),g[j].selected!==Re&&(g[j].selected=Re),Re&&ve&&(g[j].defaultSelected=!0)}else{for(j=""+fr(j),C=null,Re=0;Re<g.length;Re++){if(g[Re].value===j){g[Re].selected=!0,ve&&(g[Re].defaultSelected=!0);return}C!==null||g[Re].disabled||(C=g[Re])}C!==null&&(C.selected=!0)}}function ot(g,C){if(C.dangerouslySetInnerHTML!=null)throw Error(c(91));return i({},C,{value:void 0,defaultValue:void 0,children:""+g._wrapperState.initialValue})}function Kt(g,C){var j=C.value;if(j==null){if(j=C.children,C=C.defaultValue,j!=null){if(C!=null)throw Error(c(92));if(Array.isArray(j)){if(!(1>=j.length))throw Error(c(93));j=j[0]}C=j}C==null&&(C=""),j=C}g._wrapperState={initialValue:fr(j)}}function Wt(g,C){var j=fr(C.value),ve=fr(C.defaultValue);j!=null&&(j=""+j,j!==g.value&&(g.value=j),C.defaultValue==null&&g.defaultValue!==j&&(g.defaultValue=j)),ve!=null&&(g.defaultValue=""+ve)}function Ce(g){var C=g.textContent;C===g._wrapperState.initialValue&&C!==""&&C!==null&&(g.value=C)}var Je={html:"http://www.w3.org/1999/xhtml",mathml:"http://www.w3.org/1998/Math/MathML",svg:"http://www.w3.org/2000/svg"};function 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 kt(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 Ht,$t=function(g){return typeof MSApp!="undefined"&&MSApp.execUnsafeLocalFunction?function(C,j,ve,Re){MSApp.execUnsafeLocalFunction(function(){return g(C,j,ve,Re)})}:g}(function(g,C){if(g.namespaceURI!==Je.svg||"innerHTML"in g)g.innerHTML=C;else{for(Ht=Ht||document.createElement("div"),Ht.innerHTML="<svg>"+C.valueOf().toString()+"</svg>",C=Ht.firstChild;g.firstChild;)g.removeChild(g.firstChild);for(;C.firstChild;)g.appendChild(C.firstChild)}});function tr(g,C){if(C){var j=g.firstChild;if(j&&j===g.lastChild&&j.nodeType===3){j.nodeValue=C;return}}g.textContent=C}var Gt={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},Me=["Webkit","ms","Moz","O"];Object.keys(Gt).forEach(function(g){Me.forEach(function(C){C=C+g.charAt(0).toUpperCase()+g.substring(1),Gt[C]=Gt[g]})});function ce(g,C,j){return C==null||typeof C=="boolean"||C===""?"":j||typeof C!="number"||C===0||Gt.hasOwnProperty(g)&&Gt[g]?(""+C).trim():C+"px"}function he(g,C){g=g.style;for(var j in C)if(C.hasOwnProperty(j)){var ve=j.indexOf("--")===0,Re=ce(j,C[j],ve);j==="float"&&(j="cssFloat"),ve?g.setProperty(j,Re):g[j]=Re}}var Pt=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(Pt[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 ct(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 Zt(g){return g=g.target||g.srcElement||window,g.correspondingUseElement&&(g=g.correspondingUseElement),g.nodeType===3?g.parentNode:g}var wt=null,Ie=null,xt=null;function be(g){if(g=hs(g)){if(typeof wt!="function")throw Error(c(280));var C=g.stateNode;C&&(C=ps(C),wt(g.stateNode,g.type,C))}}function Ye(g){Ie?xt?xt.push(g):xt=[g]:Ie=g}function mt(){if(Ie){var g=Ie,C=xt;if(xt=Ie=null,be(g),C)for(g=0;g<C.length;g++)be(C[g])}}function Lt(g,C){return g(C)}function Fe(g,C,j,ve,Re){return g(C,j,ve,Re)}function Or(){}var St=Lt,Vr=!1,tn=!1;function wr(){(Ie!==null||xt!==null)&&(Or(),mt())}function Nr(g,C,j){if(tn)return g(C,j);tn=!0;try{return St(g,C,j)}finally{tn=!1,wr()}}function gr(g,C){var j=g.stateNode;if(j===null)return null;var ve=ps(j);if(ve===null)return null;j=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(j&&typeof j!="function")throw Error(c(231,C,typeof j));return j}var Ur=!1;if(a)try{var cn={};Object.defineProperty(cn,"passive",{get:function(){Ur=!0}}),window.addEventListener("test",cn,cn),window.removeEventListener("test",cn,cn)}catch(g){Ur=!1}function hn(g,C,j,ve,Re,st,Bt,ir,Dr){var _n=Array.prototype.slice.call(arguments,3);try{C.apply(j,_n)}catch(Ci){this.onError(Ci)}}var ur=!1,Rt=null,_t=!1,vt=null,jt={onError:function(g){ur=!0,Rt=g}};function Cr(g,C,j,ve,Re,st,Bt,ir,Dr){ur=!1,Rt=null,hn.apply(jt,arguments)}function yr(g,C,j,ve,Re,st,Bt,ir,Dr){if(Cr.apply(this,arguments),ur){if(ur){var _n=Rt;ur=!1,Rt=null}else throw Error(c(198));_t||(_t=!0,vt=_n)}}function nn(g){var C=g,j=g;if(g.alternate)for(;C.return;)C=C.return;else{g=C;do C=g,C.flags&1026&&(j=C.return),g=C.return;while(g)}return C.tag===3?j:null}function Kr(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 Ln(g){if(nn(g)!==g)throw Error(c(188))}function At(g){var C=g.alternate;if(!C){if(C=nn(g),C===null)throw Error(c(188));return C!==g?null:g}for(var j=g,ve=C;;){var Re=j.return;if(Re===null)break;var st=Re.alternate;if(st===null){if(ve=Re.return,ve!==null){j=ve;continue}break}if(Re.child===st.child){for(st=Re.child;st;){if(st===j)return Ln(Re),g;if(st===ve)return Ln(Re),C;st=st.sibling}throw Error(c(188))}if(j.return!==ve.return)j=Re,ve=st;else{for(var Bt=!1,ir=Re.child;ir;){if(ir===j){Bt=!0,j=Re,ve=st;break}if(ir===ve){Bt=!0,ve=Re,j=st;break}ir=ir.sibling}if(!Bt){for(ir=st.child;ir;){if(ir===j){Bt=!0,j=st,ve=Re;break}if(ir===ve){Bt=!0,ve=st,j=Re;break}ir=ir.sibling}if(!Bt)throw Error(c(189))}}if(j.alternate!==ve)throw Error(c(190))}if(j.tag!==3)throw Error(c(188));return j.stateNode.current===j?g:C}function cr(g){if(g=At(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 Qr(g,C){for(var j=g.alternate;C!==null;){if(C===g||C===j)return!0;C=C.return}return!1}var yn,Gn,fi,Xn,Ki=!1,hi=[],bi=null,Di=null,wi=null,fa=new Map,ri=new Map,la=[],Et="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");function it(g,C,j,ve,Re){return{blockedOn:g,domEventName:C,eventSystemFlags:j|16,nativeEvent:Re,targetContainers:[ve]}}function ni(g,C){switch(g){case"focusin":case"focusout":bi=null;break;case"dragenter":case"dragleave":Di=null;break;case"mouseover":case"mouseout":wi=null;break;case"pointerover":case"pointerout":fa.delete(C.pointerId);break;case"gotpointercapture":case"lostpointercapture":ri.delete(C.pointerId)}}function Oi(g,C,j,ve,Re,st){return g===null||g.nativeEvent!==st?(g=it(C,j,ve,Re,st),C!==null&&(C=hs(C),C!==null&&Gn(C)),g):(g.eventSystemFlags|=ve,C=g.targetContainers,Re!==null&&C.indexOf(Re)===-1&&C.push(Re),g)}function ii(g,C,j,ve,Re){switch(C){case"focusin":return bi=Oi(bi,g,C,j,ve,Re),!0;case"dragenter":return Di=Oi(Di,g,C,j,ve,Re),!0;case"mouseover":return wi=Oi(wi,g,C,j,ve,Re),!0;case"pointerover":var st=Re.pointerId;return fa.set(st,Oi(fa.get(st)||null,g,C,j,ve,Re)),!0;case"gotpointercapture":return st=Re.pointerId,ri.set(st,Oi(ri.get(st)||null,g,C,j,ve,Re)),!0}return!1}function sa(g){var C=qa(g.target);if(C!==null){var j=nn(C);if(j!==null){if(C=j.tag,C===13){if(C=Kr(j),C!==null){g.blockedOn=C,Xn(g.lanePriority,function(){l.unstable_runWithPriority(g.priority,function(){fi(j)})});return}}else if(C===3&&j.stateNode.hydrate){g.blockedOn=j.tag===3?j.stateNode.containerInfo:null;return}}}g.blockedOn=null}function Ti(g){if(g.blockedOn!==null)return!1;for(var C=g.targetContainers;0<C.length;){var j=Hs(g.domEventName,g.eventSystemFlags,C[0],g.nativeEvent);if(j!==null)return C=hs(j),C!==null&&Gn(C),g.blockedOn=j,!1;C.shift()}return!0}function ci(g,C,j){Ti(g)&&j.delete(C)}function An(){for(Ki=!1;0<hi.length;){var g=hi[0];if(g.blockedOn!==null){g=hs(g.blockedOn),g!==null&&yn(g);break}for(var C=g.targetContainers;0<C.length;){var j=Hs(g.domEventName,g.eventSystemFlags,C[0],g.nativeEvent);if(j!==null){g.blockedOn=j;break}C.shift()}g.blockedOn===null&&hi.shift()}bi!==null&&Ti(bi)&&(bi=null),Di!==null&&Ti(Di)&&(Di=null),wi!==null&&Ti(wi)&&(wi=null),fa.forEach(ci),ri.forEach(ci)}function er(g,C){g.blockedOn===C&&(g.blockedOn=null,Ki||(Ki=!0,l.unstable_scheduleCallback(l.unstable_NormalPriority,An)))}function pt(g){function C(Re){return er(Re,g)}if(0<hi.length){er(hi[0],g);for(var j=1;j<hi.length;j++){var ve=hi[j];ve.blockedOn===g&&(ve.blockedOn=null)}}for(bi!==null&&er(bi,g),Di!==null&&er(Di,g),wi!==null&&er(wi,g),fa.forEach(C),ri.forEach(C),j=0;j<la.length;j++)ve=la[j],ve.blockedOn===g&&(ve.blockedOn=null);for(;0<la.length&&(j=la[0],j.blockedOn===null);)sa(j),j.blockedOn===null&&la.shift()}function tt(g,C){var j={};return j[g.toLowerCase()]=C.toLowerCase(),j["Webkit"+g]="webkit"+C,j["Moz"+g]="moz"+C,j}var Ot={animationend:tt("Animation","AnimationEnd"),animationiteration:tt("Animation","AnimationIteration"),animationstart:tt("Animation","AnimationStart"),transitionend:tt("Transition","TransitionEnd")},ft={},lr={};a&&(lr=document.createElement("div").style,"AnimationEvent"in window||(delete Ot.animationend.animation,delete Ot.animationiteration.animation,delete Ot.animationstart.animation),"TransitionEvent"in window||delete Ot.transitionend.transition);function dr(g){if(ft[g])return ft[g];if(!Ot[g])return g;var C=Ot[g],j;for(j in C)if(C.hasOwnProperty(j)&&j in lr)return ft[g]=C[j];return g}var Pr=dr("animationend"),zr=dr("animationiteration"),Ze=dr("animationstart"),qe=dr("transitionend"),xe=new Map,at=new Map,ar=["abort","abort",Pr,"animationEnd",zr,"animationIteration",Ze,"animationStart","canplay","canPlay","canplaythrough","canPlayThrough","durationchange","durationChange","emptied","emptied","encrypted","encrypted","ended","ended","error","error","gotpointercapture","gotPointerCapture","load","load","loadeddata","loadedData","loadedmetadata","loadedMetadata","loadstart","loadStart","lostpointercapture","lostPointerCapture","playing","playing","progress","progress","seeking","seeking","stalled","stalled","suspend","suspend","timeupdate","timeUpdate",qe,"transitionEnd","waiting","waiting"];function Er(g,C){for(var j=0;j<g.length;j+=2){var ve=g[j],Re=g[j+1];Re="on"+(Re[0].toUpperCase()+Re.slice(1)),at.set(ve,C),xe.set(ve,Re),h(Re,[ve])}}var kr=l.unstable_now;kr();var Ir=8;function jr(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 wn(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 Sr(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 pn(g,C){var j=g.pendingLanes;if(j===0)return Ir=0;var ve=0,Re=0,st=g.expiredLanes,Bt=g.suspendedLanes,ir=g.pingedLanes;if(st!==0)ve=st,Re=Ir=15;else if(st=j&134217727,st!==0){var Dr=st&~Bt;Dr!==0?(ve=jr(Dr),Re=Ir):(ir&=st,ir!==0&&(ve=jr(ir),Re=Ir))}else st=j&~Bt,st!==0?(ve=jr(st),Re=Ir):ir!==0&&(ve=jr(ir),Re=Ir);if(ve===0)return 0;if(ve=31-gi(ve),ve=j&((0>ve?0:1<<ve)<<1)-1,C!==0&&C!==ve&&!(C&Bt)){if(jr(C),Re<=Ir)return C;Ir=Re}if(C=g.entangledLanes,C!==0)for(g=g.entanglements,C&=ve;0<C;)j=31-gi(C),Re=1<<j,ve|=g[j],C&=~Re;return ve}function on(g){return g=g.pendingLanes&-1073741825,g!==0?g:g&1073741824?1073741824:0}function dn(g,C){switch(g){case 15:return 1;case 14:return 2;case 12:return g=In(24&~C),g===0?dn(10,C):g;case 10:return g=In(192&~C),g===0?dn(8,C):g;case 8:return g=In(3584&~C),g===0&&(g=In(4186112&~C),g===0&&(g=512)),g;case 2:return C=In(805306368&~C),C===0&&(C=268435456),C}throw Error(c(358,g))}function In(g){return g&-g}function Ia(g){for(var C=[],j=0;31>j;j++)C.push(g);return C}function Ni(g,C,j){g.pendingLanes|=C;var ve=C-1;g.suspendedLanes&=ve,g.pingedLanes&=ve,g=g.eventTimes,C=31-gi(C),g[C]=j}var gi=Math.clz32?Math.clz32:Qi,En=Math.log,pi=Math.LN2;function Qi(g){return g===0?32:31-(En(g)/pi|0)|0}var Ea=l.unstable_UserBlockingPriority,Vs=l.unstable_runWithPriority,wa=!0;function Fs(g,C,j,ve){Vr||Or();var Re=es,st=Vr;Vr=!0;try{Fe(Re,g,C,j,ve)}finally{(Vr=st)||wr()}}function Ks(g,C,j,ve){Vs(Ea,es.bind(null,g,C,j,ve))}function es(g,C,j,ve){if(wa){var Re;if((Re=(C&4)===0)&&0<hi.length&&-1<Et.indexOf(g))g=it(null,g,C,j,ve),hi.push(g);else{var st=Hs(g,C,j,ve);if(st===null)Re&&ni(g,ve);else{if(Re){if(-1<Et.indexOf(g)){g=it(st,g,C,j,ve),hi.push(g);return}if(ii(st,g,C,j,ve))return;ni(g,ve)}Zr(g,C,ve,null,j)}}}}function Hs(g,C,j,ve){var Re=Zt(ve);if(Re=qa(Re),Re!==null){var st=nn(Re);if(st===null)Re=null;else{var Bt=st.tag;if(Bt===13){if(Re=Kr(st),Re!==null)return Re;Re=null}else if(Bt===3){if(st.stateNode.hydrate)return st.tag===3?st.stateNode.containerInfo:null;Re=null}else st!==Re&&(Re=null)}}return Zr(g,C,ve,Re,j),null}var Jn=null,ws=null,fs=null;function Ys(){if(fs)return fs;var g,C=ws,j=C.length,ve,Re="value"in Jn?Jn.value:Jn.textContent,st=Re.length;for(g=0;g<j&&C[g]===Re[g];g++);var Bt=j-g;for(ve=1;ve<=Bt&&C[j-ve]===Re[st-ve];ve++);return fs=Re.slice(g,1<ve?1-ve:void 0)}function ea(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 Bs(){return!0}function Vo(){return!1}function Ka(g){function C(j,ve,Re,st,Bt){this._reactName=j,this._targetInst=Re,this.type=ve,this.nativeEvent=st,this.target=Bt,this.currentTarget=null;for(var ir in g)g.hasOwnProperty(ir)&&(j=g[ir],this[ir]=j?j(st):st[ir]);return this.isDefaultPrevented=(st.defaultPrevented!=null?st.defaultPrevented:st.returnValue===!1)?Bs:Vo,this.isPropagationStopped=Vo,this}return i(C.prototype,{preventDefault:function(){this.defaultPrevented=!0;var j=this.nativeEvent;j&&(j.preventDefault?j.preventDefault():typeof j.returnValue!="unknown"&&(j.returnValue=!1),this.isDefaultPrevented=Bs)},stopPropagation:function(){var j=this.nativeEvent;j&&(j.stopPropagation?j.stopPropagation():typeof j.cancelBubble!="unknown"&&(j.cancelBubble=!0),this.isPropagationStopped=Bs)},persist:function(){},isPersistent:Bs}),C}var va={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(g){return g.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},is=Ka(va),mo=i({},va,{view:0,detail:0}),Nn=Ka(mo),ts,Ps,Is,Yi=i({},mo,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:as,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!==Is&&(Is&&g.type==="mousemove"?(ts=g.screenX-Is.screenX,Ps=g.screenY-Is.screenY):Ps=ts=0,Is=g),ts)},movementY:function(g){return"movementY"in g?g.movementY:Ps}}),Xa=Ka(Yi),Ha=i({},Yi,{dataTransfer:0}),Rs=Ka(Ha),vo=i({},mo,{relatedTarget:0}),zo=Ka(vo),Ko=i({},va,{animationName:0,elapsedTime:0,pseudoElement:0}),Yo=Ka(Ko),rs=i({},va,{clipboardData:function(g){return"clipboardData"in g?g.clipboardData:window.clipboardData}}),vs=Ka(rs),Ao=i({},va,{data:0}),Zo=Ka(Ao),Lo={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Xo={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},xi={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function _i(g){var C=this.nativeEvent;return C.getModifierState?C.getModifierState(g):(g=xi[g])?!!C[g]:!1}function as(){return _i}var ds=i({},mo,{key:function(g){if(g.key){var C=Lo[g.key]||g.key;if(C!=="Unidentified")return C}return g.type==="keypress"?(g=ea(g),g===13?"Enter":String.fromCharCode(g)):g.type==="keydown"||g.type==="keyup"?Xo[g.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:as,charCode:function(g){return g.type==="keypress"?ea(g):0},keyCode:function(g){return g.type==="keydown"||g.type==="keyup"?g.keyCode:0},which:function(g){return g.type==="keypress"?ea(g):g.type==="keydown"||g.type==="keyup"?g.keyCode:0}}),ss=Ka(ds),go=i({},Yi,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Ho=Ka(go),du=i({},mo,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:as}),Ls=Ka(du),tu=i({},va,{propertyName:0,elapsedTime:0,pseudoElement:0}),hu=Ka(tu),Iu=i({},Yi,{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}),Mo=Ka(Iu),Ju=[9,13,27,32],Fo=a&&"CompositionEvent"in window,_o=null;a&&"documentMode"in document&&(_o=document.documentMode);var gu=a&&"TextEvent"in window&&!_o,Bu=a&&(!Fo||_o&&8<_o&&11>=_o),Oo=" ",Bo=!1;function Du(g,C){switch(g){case"keyup":return Ju.indexOf(C.keyCode)!==-1;case"keydown":return C.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Qo(g){return g=g.detail,typeof g=="object"&&"data"in g?g.data:null}var ru=!1;function Ds(g,C){switch(g){case"compositionend":return Qo(C);case"keypress":return C.which!==32?null:(Bo=!0,Oo);case"textInput":return g=C.data,g===Oo&&Bo?null:g;default:return null}}function Wo(g,C){if(ru)return g==="compositionend"||!Fo&&Du(g,C)?(g=Ys(),fs=ws=Jn=null,ru=!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 Bu&&C.locale!=="ko"?null:C.data;default:return null}}var Nu={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 qt(g){var C=g&&g.nodeName&&g.nodeName.toLowerCase();return C==="input"?!!Nu[g.type]:C==="textarea"}function _r(g,C,j,ve){Ye(ve),C=ln(C,"onChange"),0<C.length&&(j=new is("onChange","change",null,j,ve),g.push({event:j,listeners:C}))}var or=null,mr=null;function Tr(g){Xe(g,0)}function gn(g){var C=xo(g);if(nt(C))return g}function Zn(g,C){if(g==="change")return C}var kn=!1;if(a){var Hn;if(a){var li="oninput"in document;if(!li){var oi=document.createElement("div");oi.setAttribute("oninput","return;"),li=typeof oi.oninput=="function"}Hn=li}else Hn=!1;kn=Hn&&(!document.documentMode||9<document.documentMode)}function hr(){or&&(or.detachEvent("onpropertychange",Br),mr=or=null)}function Br(g){if(g.propertyName==="value"&&gn(mr)){var C=[];if(_r(C,mr,g,Zt(g)),g=Tr,Vr)g(C);else{Vr=!0;try{Lt(g,C)}finally{Vr=!1,wr()}}}}function Rr(g,C,j){g==="focusin"?(hr(),or=C,mr=j,or.attachEvent("onpropertychange",Br)):g==="focusout"&&hr()}function Cn(g){if(g==="selectionchange"||g==="keyup"||g==="keydown")return gn(mr)}function Tn(g,C){if(g==="click")return gn(C)}function ht(g,C){if(g==="input"||g==="change")return gn(C)}function $n(g,C){return g===C&&(g!==0||1/g===1/C)||g!==g&&C!==C}var Wn=typeof Object.is=="function"?Object.is:$n,Li=Object.prototype.hasOwnProperty;function ta(g,C){if(Wn(g,C))return!0;if(typeof g!="object"||g===null||typeof C!="object"||C===null)return!1;var j=Object.keys(g),ve=Object.keys(C);if(j.length!==ve.length)return!1;for(ve=0;ve<j.length;ve++)if(!Li.call(C,j[ve])||!Wn(g[j[ve]],C[j[ve]]))return!1;return!0}function Jt(g){for(;g&&g.firstChild;)g=g.firstChild;return g}function oa(g,C){var j=Jt(g);g=0;for(var ve;j;){if(j.nodeType===3){if(ve=g+j.textContent.length,g<=C&&ve>=C)return{node:j,offset:C-g};g=ve}e:{for(;j;){if(j.nextSibling){j=j.nextSibling;break e}j=j.parentNode}j=void 0}j=Jt(j)}}function qi(g,C){return g&&C?g===C?!0:g&&g.nodeType===3?!1:C&&C.nodeType===3?qi(g,C.parentNode):"contains"in g?g.contains(C):g.compareDocumentPosition?!!(g.compareDocumentPosition(C)&16):!1:!1}function Ta(){for(var g=window,C=bt();C instanceof g.HTMLIFrameElement;){try{var j=typeof C.contentWindow.location.href=="string"}catch(ve){j=!1}if(j)g=C.contentWindow;else break;C=bt(g.document)}return C}function gs(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 Ns=a&&"documentMode"in document&&11>=document.documentMode,$i=null,Co=null,oo=null,Ms=!1;function Fa(g,C,j){var ve=j.window===j?j.document:j.nodeType===9?j:j.ownerDocument;Ms||$i==null||$i!==bt(ve)||(ve=$i,"selectionStart"in ve&&gs(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}),oo&&ta(oo,ve)||(oo=ve,ve=ln(Co,"onSelect"),0<ve.length&&(C=new is("onSelect","select",null,C,j),g.push({event:C,listeners:ve}),C.target=$i)))}Er("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),Er("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),Er(ar,2);for(var Os="change selectionchange textInput compositionstart compositionend compositionupdate".split(" "),yo=0;yo<Os.length;yo++)at.set(Os[yo],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 zn="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),Ws=new Set("cancel close invalid load scroll toggle".split(" ").concat(zn));function uo(g,C,j){var ve=g.type||"unknown-event";g.currentTarget=j,yr(ve,C,void 0,g),g.currentTarget=null}function Xe(g,C){C=(C&4)!==0;for(var j=0;j<g.length;j++){var ve=g[j],Re=ve.event;ve=ve.listeners;e:{var st=void 0;if(C)for(var Bt=ve.length-1;0<=Bt;Bt--){var ir=ve[Bt],Dr=ir.instance,_n=ir.currentTarget;if(ir=ir.listener,Dr!==st&&Re.isPropagationStopped())break e;uo(Re,ir,_n),st=Dr}else for(Bt=0;Bt<ve.length;Bt++){if(ir=ve[Bt],Dr=ir.instance,_n=ir.currentTarget,ir=ir.listener,Dr!==st&&Re.isPropagationStopped())break e;uo(Re,ir,_n),st=Dr}}}if(_t)throw g=vt,_t=!1,vt=null,g}function Qe(g,C){var j=ko(C),ve=g+"__bubble";j.has(ve)||(Mr(C,g,2,!1),j.add(ve))}var Mt="_reactListening"+Math.random().toString(36).slice(2);function Vt(g){g[Mt]||(g[Mt]=!0,f.forEach(function(C){Ws.has(C)||br(C,!1,g,null),br(C,!0,g,null)}))}function br(g,C,j,ve){var Re=4<arguments.length&&arguments[4]!==void 0?arguments[4]:0,st=j;if(g==="selectionchange"&&j.nodeType!==9&&(st=j.ownerDocument),ve!==null&&!C&&Ws.has(g)){if(g!=="scroll")return;Re|=2,st=ve}var Bt=ko(st),ir=g+"__"+(C?"capture":"bubble");Bt.has(ir)||(C&&(Re|=4),Mr(st,g,Re,C),Bt.add(ir))}function Mr(g,C,j,ve){var Re=at.get(C);switch(Re===void 0?2:Re){case 0:Re=Fs;break;case 1:Re=Ks;break;default:Re=es}j=Re.bind(null,C,j,g),Re=void 0,!Ur||C!=="touchstart"&&C!=="touchmove"&&C!=="wheel"||(Re=!0),ve?Re!==void 0?g.addEventListener(C,j,{capture:!0,passive:Re}):g.addEventListener(C,j,!0):Re!==void 0?g.addEventListener(C,j,{passive:Re}):g.addEventListener(C,j,!1)}function Zr(g,C,j,ve,Re){var st=ve;if(!(C&1)&&!(C&2)&&ve!==null)e:for(;;){if(ve===null)return;var Bt=ve.tag;if(Bt===3||Bt===4){var ir=ve.stateNode.containerInfo;if(ir===Re||ir.nodeType===8&&ir.parentNode===Re)break;if(Bt===4)for(Bt=ve.return;Bt!==null;){var Dr=Bt.tag;if((Dr===3||Dr===4)&&(Dr=Bt.stateNode.containerInfo,Dr===Re||Dr.nodeType===8&&Dr.parentNode===Re))return;Bt=Bt.return}for(;ir!==null;){if(Bt=qa(ir),Bt===null)return;if(Dr=Bt.tag,Dr===5||Dr===6){ve=st=Bt;continue e}ir=ir.parentNode}}ve=ve.return}Nr(function(){var _n=st,Ci=Zt(j),$a=[];e:{var Qn=xe.get(g);if(Qn!==void 0){var ca=is,Na=g;switch(g){case"keypress":if(ea(j)===0)break e;case"keydown":case"keyup":ca=ss;break;case"focusin":Na="focus",ca=zo;break;case"focusout":Na="blur",ca=zo;break;case"beforeblur":case"afterblur":ca=zo;break;case"click":if(j.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":ca=Xa;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":ca=Rs;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":ca=Ls;break;case Pr:case zr:case Ze:ca=Yo;break;case qe:ca=hu;break;case"scroll":ca=Nn;break;case"wheel":ca=Mo;break;case"copy":case"cut":case"paste":ca=vs;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":ca=Ho}var ka=(C&4)!==0,en=!ka&&g==="scroll",$r=ka?Qn!==null?Qn+"Capture":null:Qn;ka=[];for(var qr=_n,On;qr!==null;){On=qr;var Un=On.stateNode;if(On.tag===5&&Un!==null&&(On=Un,$r!==null&&(Un=gr(qr,$r),Un!=null&&ka.push(bn(qr,Un,On)))),en)break;qr=qr.return}0<ka.length&&(Qn=new ca(Qn,Na,null,j,Ci),$a.push({event:Qn,listeners:ka}))}}if(!(C&7)){e:{if(Qn=g==="mouseover"||g==="pointerover",ca=g==="mouseout"||g==="pointerout",Qn&&!(C&16)&&(Na=j.relatedTarget||j.fromElement)&&(qa(Na)||Na[Hi]))break e;if((ca||Qn)&&(Qn=Ci.window===Ci?Ci:(Qn=Ci.ownerDocument)?Qn.defaultView||Qn.parentWindow:window,ca?(Na=j.relatedTarget||j.toElement,ca=_n,Na=Na?qa(Na):null,Na!==null&&(en=nn(Na),Na!==en||Na.tag!==5&&Na.tag!==6)&&(Na=null)):(ca=null,Na=_n),ca!==Na)){if(ka=Xa,Un="onMouseLeave",$r="onMouseEnter",qr="mouse",(g==="pointerout"||g==="pointerover")&&(ka=Ho,Un="onPointerLeave",$r="onPointerEnter",qr="pointer"),en=ca==null?Qn:xo(ca),On=Na==null?Qn:xo(Na),Qn=new ka(Un,qr+"leave",ca,j,Ci),Qn.target=en,Qn.relatedTarget=On,Un=null,qa(Ci)===_n&&(ka=new ka($r,qr+"enter",Na,j,Ci),ka.target=On,ka.relatedTarget=en,Un=ka),en=Un,ca&&Na)t:{for(ka=ca,$r=Na,qr=0,On=ka;On;On=xn(On))qr++;for(On=0,Un=$r;Un;Un=xn(Un))On++;for(;0<qr-On;)ka=xn(ka),qr--;for(;0<On-qr;)$r=xn($r),On--;for(;qr--;){if(ka===$r||$r!==null&&ka===$r.alternate)break t;ka=xn(ka),$r=xn($r)}ka=null}else ka=null;ca!==null&&ai($a,Qn,ca,ka,!1),Na!==null&&en!==null&&ai($a,en,Na,ka,!0)}}e:{if(Qn=_n?xo(_n):window,ca=Qn.nodeName&&Qn.nodeName.toLowerCase(),ca==="select"||ca==="input"&&Qn.type==="file")var Va=Zn;else if(qt(Qn))if(kn)Va=ht;else{Va=Cn;var Gi=Rr}else(ca=Qn.nodeName)&&ca.toLowerCase()==="input"&&(Qn.type==="checkbox"||Qn.type==="radio")&&(Va=Tn);if(Va&&(Va=Va(g,_n))){_r($a,Va,j,Ci);break e}Gi&&Gi(g,Qn,_n),g==="focusout"&&(Gi=Qn._wrapperState)&&Gi.controlled&&Qn.type==="number"&&Le(Qn,"number",Qn.value)}switch(Gi=_n?xo(_n):window,g){case"focusin":(qt(Gi)||Gi.contentEditable==="true")&&($i=Gi,Co=_n,oo=null);break;case"focusout":oo=Co=$i=null;break;case"mousedown":Ms=!0;break;case"contextmenu":case"mouseup":case"dragend":Ms=!1,Fa($a,j,Ci);break;case"selectionchange":if(Ns)break;case"keydown":case"keyup":Fa($a,j,Ci)}var ja;if(Fo)e:{switch(g){case"compositionstart":var ms="onCompositionStart";break e;case"compositionend":ms="onCompositionEnd";break e;case"compositionupdate":ms="onCompositionUpdate";break e}ms=void 0}else ru?Du(g,j)&&(ms="onCompositionEnd"):g==="keydown"&&j.keyCode===229&&(ms="onCompositionStart");ms&&(Bu&&j.locale!=="ko"&&(ru||ms!=="onCompositionStart"?ms==="onCompositionEnd"&&ru&&(ja=Ys()):(Jn=Ci,ws="value"in Jn?Jn.value:Jn.textContent,ru=!0)),Gi=ln(_n,ms),0<Gi.length&&(ms=new Zo(ms,g,null,j,Ci),$a.push({event:ms,listeners:Gi}),ja?ms.data=ja:(ja=Qo(j),ja!==null&&(ms.data=ja)))),(ja=gu?Ds(g,j):Wo(g,j))&&(_n=ln(_n,"onBeforeInput"),0<_n.length&&(Ci=new Zo("onBeforeInput","beforeinput",null,j,Ci),$a.push({event:Ci,listeners:_n}),Ci.data=ja))}Xe($a,C)})}function bn(g,C,j){return{instance:g,listener:C,currentTarget:j}}function ln(g,C){for(var j=C+"Capture",ve=[];g!==null;){var Re=g,st=Re.stateNode;Re.tag===5&&st!==null&&(Re=st,st=gr(g,j),st!=null&&ve.unshift(bn(g,st,Re)),st=gr(g,C),st!=null&&ve.push(bn(g,st,Re))),g=g.return}return ve}function xn(g){if(g===null)return null;do g=g.return;while(g&&g.tag!==5);return g||null}function ai(g,C,j,ve,Re){for(var st=C._reactName,Bt=[];j!==null&&j!==ve;){var ir=j,Dr=ir.alternate,_n=ir.stateNode;if(Dr!==null&&Dr===ve)break;ir.tag===5&&_n!==null&&(ir=_n,Re?(Dr=gr(j,st),Dr!=null&&Bt.unshift(bn(j,Dr,ir))):Re||(Dr=gr(j,st),Dr!=null&&Bt.push(bn(j,Dr,ir)))),j=j.return}Bt.length!==0&&g.push({event:C,listeners:Bt})}function ui(){}var Pi=null,Mi=null;function ra(g,C){switch(g){case"button":case"input":case"select":case"textarea":return!!C.autoFocus}return!1}function Xi(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 ki=typeof setTimeout=="function"?setTimeout:void 0,Da=typeof clearTimeout=="function"?clearTimeout:void 0;function Ri(g){g.nodeType===1?g.textContent="":g.nodeType===9&&(g=g.body,g!=null&&(g.textContent=""))}function Si(g){for(;g!=null;g=g.nextSibling){var C=g.nodeType;if(C===1||C===3)break}return g}function Sa(g){g=g.previousSibling;for(var C=0;g;){if(g.nodeType===8){var j=g.data;if(j==="$"||j==="$!"||j==="$?"){if(C===0)return g;C--}else j==="/$"&&C++}g=g.previousSibling}return null}var bo=0;function Gs(g){return{$$typeof:U,toString:g,valueOf:g}}var na=Math.random().toString(36).slice(2),Qa="__reactFiber$"+na,pa="__reactProps$"+na,Hi="__reactContainer$"+na,Ra="__reactEvents$"+na;function qa(g){var C=g[Qa];if(C)return C;for(var j=g.parentNode;j;){if(C=j[Hi]||j[Qa]){if(j=C.alternate,C.child!==null||j!==null&&j.child!==null)for(g=Sa(g);g!==null;){if(j=g[Qa])return j;g=Sa(g)}return C}g=j,j=g.parentNode}return null}function hs(g){return g=g[Qa]||g[Hi],!g||g.tag!==5&&g.tag!==6&&g.tag!==13&&g.tag!==3?null:g}function xo(g){if(g.tag===5||g.tag===6)return g.stateNode;throw Error(c(33))}function ps(g){return g[pa]||null}function ko(g){var C=g[Ra];return C===void 0&&(C=g[Ra]=new Set),C}var os=[],_s=-1;function ks(g){return{current:g}}function ga(g){0>_s||(g.current=os[_s],os[_s]=null,_s--)}function us(g,C){_s++,os[_s]=g.current,g.current=C}var $s={},La=ks($s),ye=ks(!1),we=$s;function Ar(g,C){var j=g.type.contextTypes;if(!j)return $s;var ve=g.stateNode;if(ve&&ve.__reactInternalMemoizedUnmaskedChildContext===C)return ve.__reactInternalMemoizedMaskedChildContext;var Re={},st;for(st in j)Re[st]=C[st];return ve&&(g=g.stateNode,g.__reactInternalMemoizedUnmaskedChildContext=C,g.__reactInternalMemoizedMaskedChildContext=Re),Re}function rn(g){return g=g.childContextTypes,g!=null}function xr(){ga(ye),ga(La)}function Jr(g,C,j){if(La.current!==$s)throw Error(c(168));us(La,C),us(ye,j)}function Dn(g,C,j){var ve=g.stateNode;if(g=C.childContextTypes,typeof ve.getChildContext!="function")return j;ve=ve.getChildContext();for(var Re in ve)if(!(Re in g))throw Error(c(108,Xt(C)||"Unknown",Re));return i({},j,ve)}function si(g){return g=(g=g.stateNode)&&g.__reactInternalMemoizedMergedChildContext||$s,we=La.current,us(La,g),us(ye,ye.current),!0}function Vi(g,C,j){var ve=g.stateNode;if(!ve)throw Error(c(169));j?(g=Dn(g,C,we),ve.__reactInternalMemoizedMergedChildContext=g,ga(ye),ga(La),us(La,g)):ga(ye),us(ye,j)}var jn=null,Mn=null,Vn=l.unstable_runWithPriority,ba=l.unstable_scheduleCallback,ia=l.unstable_cancelCallback,No=l.unstable_shouldYield,To=l.unstable_requestPaint,yu=l.unstable_now,Ml=l.unstable_getCurrentPriorityLevel,ul=l.unstable_ImmediatePriority,bu=l.unstable_UserBlockingPriority,_f=l.unstable_NormalPriority,el=l.unstable_LowPriority,Ve=l.unstable_IdlePriority,Z={},Y=To!==void 0?To:function(){},te=null,de=null,Ae=!1,Ke=yu(),Ct=1e4>Ke?yu:function(){return yu()-Ke};function Ut(){switch(Ml()){case ul:return 99;case bu:return 98;case _f:return 97;case el:return 96;case Ve:return 95;default:throw Error(c(332))}}function nr(g){switch(g){case 99:return ul;case 98:return bu;case 97:return _f;case 96:return el;case 95:return Ve;default:throw Error(c(332))}}function It(g,C){return g=nr(g),Vn(g,C)}function Hr(g,C,j){return g=nr(g),ba(g,C,j)}function un(){if(de!==null){var g=de;de=null,ia(g)}Pn()}function Pn(){if(!Ae&&te!==null){Ae=!0;var g=0;try{var C=te;It(99,function(){for(;g<C.length;g++){var j=C[g];do j=j(!0);while(j!==null)}}),te=null}catch(j){throw te!==null&&(te=te.slice(g+1)),ba(ul,un),j}finally{Ae=!1}}}var Kn=N.ReactCurrentBatchConfig;function ei(g,C){if(g&&g.defaultProps){C=i({},C),g=g.defaultProps;for(var j in g)C[j]===void 0&&(C[j]=g[j]);return C}return C}var Fi=ks(null),Pa=null,xa=null,Aa=null;function ns(){Aa=xa=Pa=null}function ys(g){var C=Fi.current;ga(Fi),g.type._context._currentValue=C}function js(g,C){for(;g!==null;){var j=g.alternate;if((g.childLanes&C)===C){if(j===null||(j.childLanes&C)===C)break;j.childLanes|=C}else g.childLanes|=C,j!==null&&(j.childLanes|=C);g=g.return}}function ls(g,C){Pa=g,Aa=xa=null,g=g.dependencies,g!==null&&g.firstContext!==null&&(g.lanes&C&&(ju=!0),g.firstContext=null)}function ha(g,C){if(Aa!==g&&C!==!1&&C!==0)if((typeof C!="number"||C===1073741823)&&(Aa=g,C=1073741823),C={context:g,observedBits:C,next:null},xa===null){if(Pa===null)throw Error(c(308));xa=C,Pa.dependencies={lanes:0,firstContext:C,responders:null}}else xa=xa.next=C;return g._currentValue}var io=!1;function Xs(g){g.updateQueue={baseState:g.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null},effects:null}}function Ai(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 Ro(g,C){return{eventTime:g,lane:C,tag:0,payload:null,callback:null,next:null}}function Po(g,C){if(g=g.updateQueue,g!==null){g=g.shared;var j=g.pending;j===null?C.next=C:(C.next=j.next,j.next=C),g.pending=C}}function xu(g,C){var j=g.updateQueue,ve=g.alternate;if(ve!==null&&(ve=ve.updateQueue,j===ve)){var Re=null,st=null;if(j=j.firstBaseUpdate,j!==null){do{var Bt={eventTime:j.eventTime,lane:j.lane,tag:j.tag,payload:j.payload,callback:j.callback,next:null};st===null?Re=st=Bt:st=st.next=Bt,j=j.next}while(j!==null);st===null?Re=st=C:st=st.next=C}else Re=st=C;j={baseState:ve.baseState,firstBaseUpdate:Re,lastBaseUpdate:st,shared:ve.shared,effects:ve.effects},g.updateQueue=j;return}g=j.lastBaseUpdate,g===null?j.firstBaseUpdate=C:g.next=C,j.lastBaseUpdate=C}function eo(g,C,j,ve){var Re=g.updateQueue;io=!1;var st=Re.firstBaseUpdate,Bt=Re.lastBaseUpdate,ir=Re.shared.pending;if(ir!==null){Re.shared.pending=null;var Dr=ir,_n=Dr.next;Dr.next=null,Bt===null?st=_n:Bt.next=_n,Bt=Dr;var Ci=g.alternate;if(Ci!==null){Ci=Ci.updateQueue;var $a=Ci.lastBaseUpdate;$a!==Bt&&($a===null?Ci.firstBaseUpdate=_n:$a.next=_n,Ci.lastBaseUpdate=Dr)}}if(st!==null){$a=Re.baseState,Bt=0,Ci=_n=Dr=null;do{ir=st.lane;var Qn=st.eventTime;if((ve&ir)===ir){Ci!==null&&(Ci=Ci.next={eventTime:Qn,lane:0,tag:st.tag,payload:st.payload,callback:st.callback,next:null});e:{var ca=g,Na=st;switch(ir=C,Qn=j,Na.tag){case 1:if(ca=Na.payload,typeof ca=="function"){$a=ca.call(Qn,$a,ir);break e}$a=ca;break e;case 3:ca.flags=ca.flags&-4097|64;case 0:if(ca=Na.payload,ir=typeof ca=="function"?ca.call(Qn,$a,ir):ca,ir==null)break e;$a=i({},$a,ir);break e;case 2:io=!0}}st.callback!==null&&(g.flags|=32,ir=Re.effects,ir===null?Re.effects=[st]:ir.push(st))}else Qn={eventTime:Qn,lane:ir,tag:st.tag,payload:st.payload,callback:st.callback,next:null},Ci===null?(_n=Ci=Qn,Dr=$a):Ci=Ci.next=Qn,Bt|=ir;if(st=st.next,st===null){if(ir=Re.shared.pending,ir===null)break;st=ir.next,ir.next=null,Re.lastBaseUpdate=ir,Re.shared.pending=null}}while(!0);Ci===null&&(Dr=$a),Re.baseState=Dr,Re.firstBaseUpdate=_n,Re.lastBaseUpdate=Ci,Qs|=Bt,g.lanes=Bt,g.memoizedState=$a}}function to(g,C,j){if(g=C.effects,C.effects=null,g!==null)for(C=0;C<g.length;C++){var ve=g[C],Re=ve.callback;if(Re!==null){if(ve.callback=null,ve=j,typeof Re!="function")throw Error(c(191,Re));Re.call(ve)}}}var ao=new r.Component().refs;function Fl(g,C,j,ve){C=g.memoizedState,j=j(ve,C),j=j==null?C:i({},C,j),g.memoizedState=j,g.lanes===0&&(g.updateQueue.baseState=j)}var gl={isMounted:function(g){return(g=g._reactInternals)?nn(g)===g:!1},enqueueSetState:function(g,C,j){g=g._reactInternals;var ve=mu(),Re=xl(g),st=Ro(ve,Re);st.payload=C,j!=null&&(st.callback=j),Po(g,st),ql(g,Re,ve)},enqueueReplaceState:function(g,C,j){g=g._reactInternals;var ve=mu(),Re=xl(g),st=Ro(ve,Re);st.tag=1,st.payload=C,j!=null&&(st.callback=j),Po(g,st),ql(g,Re,ve)},enqueueForceUpdate:function(g,C){g=g._reactInternals;var j=mu(),ve=xl(g),Re=Ro(j,ve);Re.tag=2,C!=null&&(Re.callback=C),Po(g,Re),ql(g,ve,j)}};function tl(g,C,j,ve,Re,st,Bt){return g=g.stateNode,typeof g.shouldComponentUpdate=="function"?g.shouldComponentUpdate(ve,st,Bt):C.prototype&&C.prototype.isPureReactComponent?!ta(j,ve)||!ta(Re,st):!0}function Eu(g,C,j){var ve=!1,Re=$s,st=C.contextType;return typeof st=="object"&&st!==null?st=ha(st):(Re=rn(C)?we:La.current,ve=C.contextTypes,st=(ve=ve!=null)?Ar(g,Re):$s),C=new C(j,st),g.memoizedState=C.state!==null&&C.state!==void 0?C.state:null,C.updater=gl,g.stateNode=C,C._reactInternals=g,ve&&(g=g.stateNode,g.__reactInternalMemoizedUnmaskedChildContext=Re,g.__reactInternalMemoizedMaskedChildContext=st),C}function lo(g,C,j,ve){g=C.state,typeof C.componentWillReceiveProps=="function"&&C.componentWillReceiveProps(j,ve),typeof C.UNSAFE_componentWillReceiveProps=="function"&&C.UNSAFE_componentWillReceiveProps(j,ve),C.state!==g&&gl.enqueueReplaceState(C,C.state,null)}function ll(g,C,j,ve){var Re=g.stateNode;Re.props=j,Re.state=g.memoizedState,Re.refs=ao,Xs(g);var st=C.contextType;typeof st=="object"&&st!==null?Re.context=ha(st):(st=rn(C)?we:La.current,Re.context=Ar(g,st)),eo(g,j,Re,ve),Re.state=g.memoizedState,st=C.getDerivedStateFromProps,typeof st=="function"&&(Fl(g,C,st,j),Re.state=g.memoizedState),typeof C.getDerivedStateFromProps=="function"||typeof Re.getSnapshotBeforeUpdate=="function"||typeof Re.UNSAFE_componentWillMount!="function"&&typeof Re.componentWillMount!="function"||(C=Re.state,typeof Re.componentWillMount=="function"&&Re.componentWillMount(),typeof Re.UNSAFE_componentWillMount=="function"&&Re.UNSAFE_componentWillMount(),C!==Re.state&&gl.enqueueReplaceState(Re,Re.state,null),eo(g,j,Re,ve),Re.state=g.memoizedState),typeof Re.componentDidMount=="function"&&(g.flags|=4)}var Zu=Array.isArray;function $o(g,C,j){if(g=j.ref,g!==null&&typeof g!="function"&&typeof g!="object"){if(j._owner){if(j=j._owner,j){if(j.tag!==1)throw Error(c(309));var ve=j.stateNode}if(!ve)throw Error(c(147,g));var Re=""+g;return C!==null&&C.ref!==null&&typeof C.ref=="function"&&C.ref._stringRef===Re?C.ref:(C=function(st){var Bt=ve.refs;Bt===ao&&(Bt=ve.refs={}),st===null?delete Bt[Re]:Bt[Re]=st},C._stringRef=Re,C)}if(typeof g!="string")throw Error(c(284));if(!j._owner)throw Error(c(290,g))}return g}function wl(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 Bl(g){function C(en,$r){if(g){var qr=en.lastEffect;qr!==null?(qr.nextEffect=$r,en.lastEffect=$r):en.firstEffect=en.lastEffect=$r,$r.nextEffect=null,$r.flags=8}}function j(en,$r){if(!g)return null;for(;$r!==null;)C(en,$r),$r=$r.sibling;return null}function ve(en,$r){for(en=new Map;$r!==null;)$r.key!==null?en.set($r.key,$r):en.set($r.index,$r),$r=$r.sibling;return en}function Re(en,$r){return en=vl(en,$r),en.index=0,en.sibling=null,en}function st(en,$r,qr){return en.index=qr,g?(qr=en.alternate,qr!==null?(qr=qr.index,qr<$r?(en.flags=2,$r):qr):(en.flags=2,$r)):$r}function Bt(en){return g&&en.alternate===null&&(en.flags=2),en}function ir(en,$r,qr,On){return $r===null||$r.tag!==6?($r=Ff(qr,en.mode,On),$r.return=en,$r):($r=Re($r,qr),$r.return=en,$r)}function Dr(en,$r,qr,On){return $r!==null&&$r.elementType===qr.type?(On=Re($r,qr.props),On.ref=$o(en,$r,qr),On.return=en,On):(On=$c(qr.type,qr.key,qr.props,null,en.mode,On),On.ref=$o(en,$r,qr),On.return=en,On)}function _n(en,$r,qr,On){return $r===null||$r.tag!==4||$r.stateNode.containerInfo!==qr.containerInfo||$r.stateNode.implementation!==qr.implementation?($r=lf(qr,en.mode,On),$r.return=en,$r):($r=Re($r,qr.children||[]),$r.return=en,$r)}function Ci(en,$r,qr,On,Un){return $r===null||$r.tag!==7?($r=fu(qr,en.mode,On,Un),$r.return=en,$r):($r=Re($r,qr),$r.return=en,$r)}function $a(en,$r,qr){if(typeof $r=="string"||typeof $r=="number")return $r=Ff(""+$r,en.mode,qr),$r.return=en,$r;if(typeof $r=="object"&&$r!==null){switch($r.$$typeof){case K:return qr=$c($r.type,$r.key,$r.props,null,en.mode,qr),qr.ref=$o(en,null,$r),qr.return=en,qr;case G:return $r=lf($r,en.mode,qr),$r.return=en,$r}if(Zu($r)||He($r))return $r=fu($r,en.mode,qr,null),$r.return=en,$r;wl(en,$r)}return null}function Qn(en,$r,qr,On){var Un=$r!==null?$r.key:null;if(typeof qr=="string"||typeof qr=="number")return Un!==null?null:ir(en,$r,""+qr,On);if(typeof qr=="object"&&qr!==null){switch(qr.$$typeof){case K:return qr.key===Un?qr.type===H?Ci(en,$r,qr.props.children,On,Un):Dr(en,$r,qr,On):null;case G:return qr.key===Un?_n(en,$r,qr,On):null}if(Zu(qr)||He(qr))return Un!==null?null:Ci(en,$r,qr,On,null);wl(en,qr)}return null}function ca(en,$r,qr,On,Un){if(typeof On=="string"||typeof On=="number")return en=en.get(qr)||null,ir($r,en,""+On,Un);if(typeof On=="object"&&On!==null){switch(On.$$typeof){case K:return en=en.get(On.key===null?qr:On.key)||null,On.type===H?Ci($r,en,On.props.children,Un,On.key):Dr($r,en,On,Un);case G:return en=en.get(On.key===null?qr:On.key)||null,_n($r,en,On,Un)}if(Zu(On)||He(On))return en=en.get(qr)||null,Ci($r,en,On,Un,null);wl($r,On)}return null}function Na(en,$r,qr,On){for(var Un=null,Va=null,Gi=$r,ja=$r=0,ms=null;Gi!==null&&ja<qr.length;ja++){Gi.index>ja?(ms=Gi,Gi=null):ms=Gi.sibling;var Ma=Qn(en,Gi,qr[ja],On);if(Ma===null){Gi===null&&(Gi=ms);break}g&&Gi&&Ma.alternate===null&&C(en,Gi),$r=st(Ma,$r,ja),Va===null?Un=Ma:Va.sibling=Ma,Va=Ma,Gi=ms}if(ja===qr.length)return j(en,Gi),Un;if(Gi===null){for(;ja<qr.length;ja++)Gi=$a(en,qr[ja],On),Gi!==null&&($r=st(Gi,$r,ja),Va===null?Un=Gi:Va.sibling=Gi,Va=Gi);return Un}for(Gi=ve(en,Gi);ja<qr.length;ja++)ms=ca(Gi,en,ja,qr[ja],On),ms!==null&&(g&&ms.alternate!==null&&Gi.delete(ms.key===null?ja:ms.key),$r=st(ms,$r,ja),Va===null?Un=ms:Va.sibling=ms,Va=ms);return g&&Gi.forEach(function(O){return C(en,O)}),Un}function ka(en,$r,qr,On){var Un=He(qr);if(typeof Un!="function")throw Error(c(150));if(qr=Un.call(qr),qr==null)throw Error(c(151));for(var Va=Un=null,Gi=$r,ja=$r=0,ms=null,Ma=qr.next();Gi!==null&&!Ma.done;ja++,Ma=qr.next()){Gi.index>ja?(ms=Gi,Gi=null):ms=Gi.sibling;var O=Qn(en,Gi,Ma.value,On);if(O===null){Gi===null&&(Gi=ms);break}g&&Gi&&O.alternate===null&&C(en,Gi),$r=st(O,$r,ja),Va===null?Un=O:Va.sibling=O,Va=O,Gi=ms}if(Ma.done)return j(en,Gi),Un;if(Gi===null){for(;!Ma.done;ja++,Ma=qr.next())Ma=$a(en,Ma.value,On),Ma!==null&&($r=st(Ma,$r,ja),Va===null?Un=Ma:Va.sibling=Ma,Va=Ma);return Un}for(Gi=ve(en,Gi);!Ma.done;ja++,Ma=qr.next())Ma=ca(Gi,en,ja,Ma.value,On),Ma!==null&&(g&&Ma.alternate!==null&&Gi.delete(Ma.key===null?ja:Ma.key),$r=st(Ma,$r,ja),Va===null?Un=Ma:Va.sibling=Ma,Va=Ma);return g&&Gi.forEach(function(t){return C(en,t)}),Un}return function(en,$r,qr,On){var Un=typeof qr=="object"&&qr!==null&&qr.type===H&&qr.key===null;Un&&(qr=qr.props.children);var Va=typeof qr=="object"&&qr!==null;if(Va)switch(qr.$$typeof){case K:e:{for(Va=qr.key,Un=$r;Un!==null;){if(Un.key===Va){switch(Un.tag){case 7:if(qr.type===H){j(en,Un.sibling),$r=Re(Un,qr.props.children),$r.return=en,en=$r;break e}break;default:if(Un.elementType===qr.type){j(en,Un.sibling),$r=Re(Un,qr.props),$r.ref=$o(en,Un,qr),$r.return=en,en=$r;break e}}j(en,Un);break}else C(en,Un);Un=Un.sibling}qr.type===H?($r=fu(qr.props.children,en.mode,On,qr.key),$r.return=en,en=$r):(On=$c(qr.type,qr.key,qr.props,null,en.mode,On),On.ref=$o(en,$r,qr),On.return=en,en=On)}return Bt(en);case G:e:{for(Un=qr.key;$r!==null;){if($r.key===Un)if($r.tag===4&&$r.stateNode.containerInfo===qr.containerInfo&&$r.stateNode.implementation===qr.implementation){j(en,$r.sibling),$r=Re($r,qr.children||[]),$r.return=en,en=$r;break e}else{j(en,$r);break}else C(en,$r);$r=$r.sibling}$r=lf(qr,en.mode,On),$r.return=en,en=$r}return Bt(en)}if(typeof qr=="string"||typeof qr=="number")return qr=""+qr,$r!==null&&$r.tag===6?(j(en,$r.sibling),$r=Re($r,qr),$r.return=en,en=$r):(j(en,$r),$r=Ff(qr,en.mode,On),$r.return=en,en=$r),Bt(en);if(Zu(qr))return Na(en,$r,qr,On);if(He(qr))return ka(en,$r,qr,On);if(Va&&wl(en,qr),typeof qr=="undefined"&&!Un)switch(en.tag){case 1:case 22:case 0:case 11:case 15:throw Error(c(152,Xt(en.type)||"Component"))}return j(en,$r)}}var nu=Bl(!0),Nl=Bl(!1),ro={},iu=ks(ro),cl=ks(ro),oc=ks(ro);function Hu(g){if(g===ro)throw Error(c(174));return g}function Sc(g,C){switch(us(oc,C),us(cl,g),us(iu,ro),g=C.nodeType,g){case 9:case 11:C=(C=C.documentElement)?C.namespaceURI:kt(null,"");break;default:g=g===8?C.parentNode:C,C=g.namespaceURI||null,g=g.tagName,C=kt(C,g)}ga(iu),us(iu,C)}function uc(){ga(iu),ga(cl),ga(oc)}function di(g){Hu(oc.current);var C=Hu(iu.current),j=kt(C,g.type);C!==j&&(us(cl,g),us(iu,j))}function Ac(g){cl.current===g&&(ga(iu),ga(cl))}var Io=ks(0);function lc(g){for(var C=g;C!==null;){if(C.tag===13){var j=C.memoizedState;if(j!==null&&(j=j.dehydrated,j===null||j.data==="$?"||j.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 wu=null,Sl=null,Eo=!1;function mf(g,C){var j=Go(5,null,null,0);j.elementType="DELETED",j.type="DELETED",j.stateNode=C,j.return=g,j.flags=8,g.lastEffect!==null?(g.lastEffect.nextEffect=j,g.lastEffect=j):g.firstEffect=g.lastEffect=j}function zc(g,C){switch(g.tag){case 5:var j=g.type;return C=C.nodeType!==1||j.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 Us(g){if(Eo){var C=Sl;if(C){var j=C;if(!zc(g,C)){if(C=Si(j.nextSibling),!C||!zc(g,C)){g.flags=g.flags&-1025|2,Eo=!1,wu=g;return}mf(wu,j)}wu=g,Sl=Si(C.firstChild)}else g.flags=g.flags&-1025|2,Eo=!1,wu=g}}function vf(g){for(g=g.return;g!==null&&g.tag!==5&&g.tag!==3&&g.tag!==13;)g=g.return;wu=g}function gf(g){if(g!==wu)return!1;if(!Eo)return vf(g),Eo=!0,!1;var C=g.type;if(g.tag!==5||C!=="head"&&C!=="body"&&!Xi(C,g.memoizedProps))for(C=Sl;C;)mf(g,C),C=Si(C.nextSibling);if(vf(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 j=g.data;if(j==="/$"){if(C===0){Sl=Si(g.nextSibling);break e}C--}else j!=="$"&&j!=="$!"&&j!=="$?"||C++}g=g.nextSibling}Sl=null}}else Sl=wu?Si(g.stateNode.nextSibling):null;return!0}function Zc(){Sl=wu=null,Eo=!1}var au=[];function Cc(){for(var g=0;g<au.length;g++)au[g]._workInProgressVersionPrimary=null;au.length=0}var Al=N.ReactCurrentDispatcher,$u=N.ReactCurrentBatchConfig,$l=0,co=null,qo=null,su=null,Tc=!1,jl=!1;function Su(){throw Error(c(321))}function Hc(g,C){if(C===null)return!1;for(var j=0;j<C.length&&j<g.length;j++)if(!Wn(g[j],C[j]))return!1;return!0}function Pc(g,C,j,ve,Re,st){if($l=st,co=C,C.memoizedState=null,C.updateQueue=null,C.lanes=0,Al.current=g===null||g.memoizedState===null?Do:Yc,g=j(ve,Re),jl){st=0;do{if(jl=!1,!(25>st))throw Error(c(301));st+=1,su=qo=null,C.updateQueue=null,Al.current=Xc,g=j(ve,Re)}while(jl)}if(Al.current=cc,C=qo!==null&&qo.next!==null,$l=0,su=qo=co=null,Tc=!1,C)throw Error(c(300));return g}function Ou(){var g={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return su===null?co.memoizedState=su=g:su=su.next=g,su}function Ul(){if(qo===null){var g=co.alternate;g=g!==null?g.memoizedState:null}else g=qo.next;var C=su===null?co.memoizedState:su.next;if(C!==null)su=C,qo=g;else{if(g===null)throw Error(c(310));qo=g,g={memoizedState:qo.memoizedState,baseState:qo.baseState,baseQueue:qo.baseQueue,queue:qo.queue,next:null},su===null?co.memoizedState=su=g:su=su.next=g}return su}function Wu(g,C){return typeof C=="function"?C(g):C}function Ic(g){var C=Ul(),j=C.queue;if(j===null)throw Error(c(311));j.lastRenderedReducer=g;var ve=qo,Re=ve.baseQueue,st=j.pending;if(st!==null){if(Re!==null){var Bt=Re.next;Re.next=st.next,st.next=Bt}ve.baseQueue=Re=st,j.pending=null}if(Re!==null){Re=Re.next,ve=ve.baseState;var ir=Bt=st=null,Dr=Re;do{var _n=Dr.lane;if(($l&_n)===_n)ir!==null&&(ir=ir.next={lane:0,action:Dr.action,eagerReducer:Dr.eagerReducer,eagerState:Dr.eagerState,next:null}),ve=Dr.eagerReducer===g?Dr.eagerState:g(ve,Dr.action);else{var Ci={lane:_n,action:Dr.action,eagerReducer:Dr.eagerReducer,eagerState:Dr.eagerState,next:null};ir===null?(Bt=ir=Ci,st=ve):ir=ir.next=Ci,co.lanes|=_n,Qs|=_n}Dr=Dr.next}while(Dr!==null&&Dr!==Re);ir===null?st=ve:ir.next=Bt,Wn(ve,C.memoizedState)||(ju=!0),C.memoizedState=ve,C.baseState=st,C.baseQueue=ir,j.lastRenderedState=ve}return[C.memoizedState,j.dispatch]}function Cl(g){var C=Ul(),j=C.queue;if(j===null)throw Error(c(311));j.lastRenderedReducer=g;var ve=j.dispatch,Re=j.pending,st=C.memoizedState;if(Re!==null){j.pending=null;var Bt=Re=Re.next;do st=g(st,Bt.action),Bt=Bt.next;while(Bt!==Re);Wn(st,C.memoizedState)||(ju=!0),C.memoizedState=st,C.baseQueue===null&&(C.baseState=st),j.lastRenderedState=st}return[st,ve]}function Ya(g,C,j){var ve=C._getVersion;ve=ve(C._source);var Re=C._workInProgressVersionPrimary;if(Re!==null?g=Re===ve:(g=g.mutableReadLanes,(g=($l&g)===g)&&(C._workInProgressVersionPrimary=ve,au.push(C))),g)return j(C._source);throw au.push(C),Error(c(350))}function If(g,C,j,ve){var Re=sn;if(Re===null)throw Error(c(349));var st=C._getVersion,Bt=st(C._source),ir=Al.current,Dr=ir.useState(function(){return Ya(Re,C,j)}),_n=Dr[1],Ci=Dr[0];Dr=su;var $a=g.memoizedState,Qn=$a.refs,ca=Qn.getSnapshot,Na=$a.source;$a=$a.subscribe;var ka=co;return g.memoizedState={refs:Qn,source:C,subscribe:ve},ir.useEffect(function(){Qn.getSnapshot=j,Qn.setSnapshot=_n;var en=st(C._source);if(!Wn(Bt,en)){en=j(C._source),Wn(Ci,en)||(_n(en),en=xl(ka),Re.mutableReadLanes|=en&Re.pendingLanes),en=Re.mutableReadLanes,Re.entangledLanes|=en;for(var $r=Re.entanglements,qr=en;0<qr;){var On=31-gi(qr),Un=1<<On;$r[On]|=en,qr&=~Un}}},[j,C,ve]),ir.useEffect(function(){return ve(C._source,function(){var en=Qn.getSnapshot,$r=Qn.setSnapshot;try{$r(en(C._source));var qr=xl(ka);Re.mutableReadLanes|=qr&Re.pendingLanes}catch(On){$r(function(){throw On})}})},[C,ve]),Wn(ca,j)&&Wn(Na,C)&&Wn($a,ve)||(g={pending:null,dispatch:null,lastRenderedReducer:Wu,lastRenderedState:Ci},g.dispatch=_n=bf.bind(null,co,g),Dr.queue=g,Dr.baseQueue=null,Ci=Ya(Re,C,j),Dr.memoizedState=Dr.baseState=Ci),Ci}function Wc(g,C,j){var ve=Ul();return If(ve,g,C,j)}function Gu(g){var C=Ou();return typeof g=="function"&&(g=g()),C.memoizedState=C.baseState=g,g=C.queue={pending:null,dispatch:null,lastRenderedReducer:Wu,lastRenderedState:g},g=g.dispatch=bf.bind(null,co,g),[C.memoizedState,g]}function Gc(g,C,j,ve){return g={tag:g,create:C,destroy:j,deps:ve,next:null},C=co.updateQueue,C===null?(C={lastEffect:null},co.updateQueue=C,C.lastEffect=g.next=g):(j=C.lastEffect,j===null?C.lastEffect=g.next=g:(ve=j.next,j.next=g,g.next=ve,C.lastEffect=g)),g}function Vc(g){var C=Ou();return g={current:g},C.memoizedState=g}function zl(){return Ul().memoizedState}function Au(g,C,j,ve){var Re=Ou();co.flags|=g,Re.memoizedState=Gc(1|C,j,void 0,ve===void 0?null:ve)}function yf(g,C,j,ve){var Re=Ul();ve=ve===void 0?null:ve;var st=void 0;if(qo!==null){var Bt=qo.memoizedState;if(st=Bt.destroy,ve!==null&&Hc(ve,Bt.deps)){Gc(C,j,st,ve);return}}co.flags|=g,Re.memoizedState=Gc(1|C,j,st,ve)}function Dc(g,C){return Au(516,4,g,C)}function Zl(g,C){return yf(516,4,g,C)}function Vu(g,C){return yf(4,2,g,C)}function fo(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 jo(g,C,j){return j=j!=null?j.concat([g]):null,yf(4,2,fo.bind(null,C,g),j)}function ou(){}function Oc(g,C){var j=Ul();C=C===void 0?null:C;var ve=j.memoizedState;return ve!==null&&C!==null&&Hc(C,ve[1])?ve[0]:(j.memoizedState=[g,C],g)}function fl(g,C){var j=Ul();C=C===void 0?null:C;var ve=j.memoizedState;return ve!==null&&C!==null&&Hc(C,ve[1])?ve[0]:(g=g(),j.memoizedState=[g,C],g)}function Kc(g,C){var j=Ut();It(98>j?98:j,function(){g(!0)}),It(97<j?97:j,function(){var ve=$u.transition;$u.transition=1;try{g(!1),C()}finally{$u.transition=ve}})}function bf(g,C,j){var ve=mu(),Re=xl(g),st={lane:Re,action:j,eagerReducer:null,eagerState:null,next:null},Bt=C.pending;if(Bt===null?st.next=st:(st.next=Bt.next,Bt.next=st),C.pending=st,Bt=g.alternate,g===co||Bt!==null&&Bt===co)jl=Tc=!0;else{if(g.lanes===0&&(Bt===null||Bt.lanes===0)&&(Bt=C.lastRenderedReducer,Bt!==null))try{var ir=C.lastRenderedState,Dr=Bt(ir,j);if(st.eagerReducer=Bt,st.eagerState=Dr,Wn(Dr,ir))return}catch(_n){}finally{}ql(g,Re,ve)}}var cc={readContext:ha,useCallback:Su,useContext:Su,useEffect:Su,useImperativeHandle:Su,useLayoutEffect:Su,useMemo:Su,useReducer:Su,useRef:Su,useState:Su,useDebugValue:Su,useDeferredValue:Su,useTransition:Su,useMutableSource:Su,useOpaqueIdentifier:Su,unstable_isNewReconciler:!1},Do={readContext:ha,useCallback:function(g,C){return Ou().memoizedState=[g,C===void 0?null:C],g},useContext:ha,useEffect:Dc,useImperativeHandle:function(g,C,j){return j=j!=null?j.concat([g]):null,Au(4,2,fo.bind(null,C,g),j)},useLayoutEffect:function(g,C){return Au(4,2,g,C)},useMemo:function(g,C){var j=Ou();return C=C===void 0?null:C,g=g(),j.memoizedState=[g,C],g},useReducer:function(g,C,j){var ve=Ou();return C=j!==void 0?j(C):C,ve.memoizedState=ve.baseState=C,g=ve.queue={pending:null,dispatch:null,lastRenderedReducer:g,lastRenderedState:C},g=g.dispatch=bf.bind(null,co,g),[ve.memoizedState,g]},useRef:Vc,useState:Gu,useDebugValue:ou,useDeferredValue:function(g){var C=Gu(g),j=C[0],ve=C[1];return Dc(function(){var Re=$u.transition;$u.transition=1;try{ve(g)}finally{$u.transition=Re}},[g]),j},useTransition:function(){var g=Gu(!1),C=g[0];return g=Kc.bind(null,g[1]),Vc(g),[g,C]},useMutableSource:function(g,C,j){var ve=Ou();return ve.memoizedState={refs:{getSnapshot:C,setSnapshot:null},source:g,subscribe:j},If(ve,g,C,j)},useOpaqueIdentifier:function(){if(Eo){var g=!1,C=Gs(function(){throw g||(g=!0,j("r:"+(bo++).toString(36))),Error(c(355))}),j=Gu(C)[1];return!(co.mode&2)&&(co.flags|=516,Gc(5,function(){j("r:"+(bo++).toString(36))},void 0,null)),C}return C="r:"+(bo++).toString(36),Gu(C),C},unstable_isNewReconciler:!1},Yc={readContext:ha,useCallback:Oc,useContext:ha,useEffect:Zl,useImperativeHandle:jo,useLayoutEffect:Vu,useMemo:fl,useReducer:Ic,useRef:zl,useState:function(){return Ic(Wu)},useDebugValue:ou,useDeferredValue:function(g){var C=Ic(Wu),j=C[0],ve=C[1];return Zl(function(){var Re=$u.transition;$u.transition=1;try{ve(g)}finally{$u.transition=Re}},[g]),j},useTransition:function(){var g=Ic(Wu)[0];return[zl().current,g]},useMutableSource:Wc,useOpaqueIdentifier:function(){return Ic(Wu)[0]},unstable_isNewReconciler:!1},Xc={readContext:ha,useCallback:Oc,useContext:ha,useEffect:Zl,useImperativeHandle:jo,useLayoutEffect:Vu,useMemo:fl,useReducer:Cl,useRef:zl,useState:function(){return Cl(Wu)},useDebugValue:ou,useDeferredValue:function(g){var C=Cl(Wu),j=C[0],ve=C[1];return Zl(function(){var Re=$u.transition;$u.transition=1;try{ve(g)}finally{$u.transition=Re}},[g]),j},useTransition:function(){var g=Cl(Wu)[0];return[zl().current,g]},useMutableSource:Wc,useOpaqueIdentifier:function(){return Cl(Wu)[0]},unstable_isNewReconciler:!1},rl=N.ReactCurrentOwner,ju=!1;function ho(g,C,j,ve){C.child=g===null?Nl(C,null,j,ve):nu(C,g.child,j,ve)}function Hl(g,C,j,ve,Re){j=j.render;var st=C.ref;return ls(C,Re),ve=Pc(g,C,j,ve,st,Re),g!==null&&!ju?(C.updateQueue=g.updateQueue,C.flags&=-517,g.lanes&=~Re,nl(g,C,Re)):(C.flags|=1,ho(g,C,ve,Re),C.child)}function Df(g,C,j,ve,Re,st){if(g===null){var Bt=j.type;return typeof Bt=="function"&&!Sf(Bt)&&Bt.defaultProps===void 0&&j.compare===null&&j.defaultProps===void 0?(C.tag=15,C.type=Bt,kc(g,C,Bt,ve,Re,st)):(g=$c(j.type,null,ve,C,C.mode,st),g.ref=C.ref,g.return=C,C.child=g)}return Bt=g.child,!(Re&st)&&(Re=Bt.memoizedProps,j=j.compare,j=j!==null?j:ta,j(Re,ve)&&g.ref===C.ref)?nl(g,C,st):(C.flags|=1,g=vl(Bt,ve),g.ref=C.ref,g.return=C,C.child=g)}function kc(g,C,j,ve,Re,st){if(g!==null&&ta(g.memoizedProps,ve)&&g.ref===C.ref)if(ju=!1,(st&Re)!==0)g.flags&16384&&(ju=!0);else return C.lanes=g.lanes,nl(g,C,st);return Jo(g,C,j,ve,st)}function Qc(g,C,j){var ve=C.pendingProps,Re=ve.children,st=g!==null?g.memoizedState:null;if(ve.mode==="hidden"||ve.mode==="unstable-defer-without-hiding")if(!(C.mode&4))C.memoizedState={baseLanes:0},aa(C,j);else if(j&1073741824)C.memoizedState={baseLanes:0},aa(C,st!==null?st.baseLanes:j);else return g=st!==null?st.baseLanes|j:j,C.lanes=C.childLanes=1073741824,C.memoizedState={baseLanes:g},aa(C,g),null;else st!==null?(ve=st.baseLanes|j,C.memoizedState=null):ve=j,aa(C,ve);return ho(g,C,Re,j),C.child}function dl(g,C){var j=C.ref;(g===null&&j!==null||g!==null&&g.ref!==j)&&(C.flags|=128)}function Jo(g,C,j,ve,Re){var st=rn(j)?we:La.current;return st=Ar(C,st),ls(C,Re),j=Pc(g,C,j,ve,st,Re),g!==null&&!ju?(C.updateQueue=g.updateQueue,C.flags&=-517,g.lanes&=~Re,nl(g,C,Re)):(C.flags|=1,ho(g,C,j,Re),C.child)}function Wl(g,C,j,ve,Re){if(rn(j)){var st=!0;si(C)}else st=!1;if(ls(C,Re),C.stateNode===null)g!==null&&(g.alternate=null,C.alternate=null,C.flags|=2),Eu(C,j,ve),ll(C,j,ve,Re),ve=!0;else if(g===null){var Bt=C.stateNode,ir=C.memoizedProps;Bt.props=ir;var Dr=Bt.context,_n=j.contextType;typeof _n=="object"&&_n!==null?_n=ha(_n):(_n=rn(j)?we:La.current,_n=Ar(C,_n));var Ci=j.getDerivedStateFromProps,$a=typeof Ci=="function"||typeof Bt.getSnapshotBeforeUpdate=="function";$a||typeof Bt.UNSAFE_componentWillReceiveProps!="function"&&typeof Bt.componentWillReceiveProps!="function"||(ir!==ve||Dr!==_n)&&lo(C,Bt,ve,_n),io=!1;var Qn=C.memoizedState;Bt.state=Qn,eo(C,ve,Bt,Re),Dr=C.memoizedState,ir!==ve||Qn!==Dr||ye.current||io?(typeof Ci=="function"&&(Fl(C,j,Ci,ve),Dr=C.memoizedState),(ir=io||tl(C,j,ir,ve,Qn,Dr,_n))?($a||typeof Bt.UNSAFE_componentWillMount!="function"&&typeof Bt.componentWillMount!="function"||(typeof Bt.componentWillMount=="function"&&Bt.componentWillMount(),typeof Bt.UNSAFE_componentWillMount=="function"&&Bt.UNSAFE_componentWillMount()),typeof Bt.componentDidMount=="function"&&(C.flags|=4)):(typeof Bt.componentDidMount=="function"&&(C.flags|=4),C.memoizedProps=ve,C.memoizedState=Dr),Bt.props=ve,Bt.state=Dr,Bt.context=_n,ve=ir):(typeof Bt.componentDidMount=="function"&&(C.flags|=4),ve=!1)}else{Bt=C.stateNode,Ai(g,C),ir=C.memoizedProps,_n=C.type===C.elementType?ir:ei(C.type,ir),Bt.props=_n,$a=C.pendingProps,Qn=Bt.context,Dr=j.contextType,typeof Dr=="object"&&Dr!==null?Dr=ha(Dr):(Dr=rn(j)?we:La.current,Dr=Ar(C,Dr));var ca=j.getDerivedStateFromProps;(Ci=typeof ca=="function"||typeof Bt.getSnapshotBeforeUpdate=="function")||typeof Bt.UNSAFE_componentWillReceiveProps!="function"&&typeof Bt.componentWillReceiveProps!="function"||(ir!==$a||Qn!==Dr)&&lo(C,Bt,ve,Dr),io=!1,Qn=C.memoizedState,Bt.state=Qn,eo(C,ve,Bt,Re);var Na=C.memoizedState;ir!==$a||Qn!==Na||ye.current||io?(typeof ca=="function"&&(Fl(C,j,ca,ve),Na=C.memoizedState),(_n=io||tl(C,j,_n,ve,Qn,Na,Dr))?(Ci||typeof Bt.UNSAFE_componentWillUpdate!="function"&&typeof Bt.componentWillUpdate!="function"||(typeof Bt.componentWillUpdate=="function"&&Bt.componentWillUpdate(ve,Na,Dr),typeof Bt.UNSAFE_componentWillUpdate=="function"&&Bt.UNSAFE_componentWillUpdate(ve,Na,Dr)),typeof Bt.componentDidUpdate=="function"&&(C.flags|=4),typeof Bt.getSnapshotBeforeUpdate=="function"&&(C.flags|=256)):(typeof Bt.componentDidUpdate!="function"||ir===g.memoizedProps&&Qn===g.memoizedState||(C.flags|=4),typeof Bt.getSnapshotBeforeUpdate!="function"||ir===g.memoizedProps&&Qn===g.memoizedState||(C.flags|=256),C.memoizedProps=ve,C.memoizedState=Na),Bt.props=ve,Bt.state=Na,Bt.context=Dr,ve=_n):(typeof Bt.componentDidUpdate!="function"||ir===g.memoizedProps&&Qn===g.memoizedState||(C.flags|=4),typeof Bt.getSnapshotBeforeUpdate!="function"||ir===g.memoizedProps&&Qn===g.memoizedState||(C.flags|=256),ve=!1)}return je(g,C,j,ve,st,Re)}function je(g,C,j,ve,Re,st){dl(g,C);var Bt=(C.flags&64)!==0;if(!ve&&!Bt)return Re&&Vi(C,j,!1),nl(g,C,st);ve=C.stateNode,rl.current=C;var ir=Bt&&typeof j.getDerivedStateFromError!="function"?null:ve.render();return C.flags|=1,g!==null&&Bt?(C.child=nu(C,g.child,null,st),C.child=nu(C,null,ir,st)):ho(g,C,ir,st),C.memoizedState=ve.state,Re&&Vi(C,j,!0),C.child}function Ku(g){var C=g.stateNode;C.pendingContext?Jr(g,C.pendingContext,C.pendingContext!==C.context):C.context&&Jr(g,C.context,!1),Sc(g,C.containerInfo)}var pu={dehydrated:null,retryLane:0};function fc(g,C,j){var ve=C.pendingProps,Re=Io.current,st=!1,Bt;return(Bt=(C.flags&64)!==0)||(Bt=g!==null&&g.memoizedState===null?!1:(Re&2)!==0),Bt?(st=!0,C.flags&=-65):g!==null&&g.memoizedState===null||ve.fallback===void 0||ve.unstable_avoidThisFallback===!0||(Re|=1),us(Io,Re&1),g===null?(ve.fallback!==void 0&&Us(C),g=ve.children,Re=ve.fallback,st?(g=uu(C,g,Re,j),C.child.memoizedState={baseLanes:j},C.memoizedState=pu,g):typeof ve.unstable_expectedLoadTime=="number"?(g=uu(C,g,Re,j),C.child.memoizedState={baseLanes:j},C.memoizedState=pu,C.lanes=33554432,g):(j=Mf({mode:"visible",children:g},C.mode,j,null),j.return=C,C.child=j)):g.memoizedState!==null?st?(ve=Rc(g,C,ve.children,ve.fallback,j),st=C.child,Re=g.child.memoizedState,st.memoizedState=Re===null?{baseLanes:j}:{baseLanes:Re.baseLanes|j},st.childLanes=g.childLanes&~j,C.memoizedState=pu,ve):(j=Yu(g,C,ve.children,j),C.memoizedState=null,j):st?(ve=Rc(g,C,ve.children,ve.fallback,j),st=C.child,Re=g.child.memoizedState,st.memoizedState=Re===null?{baseLanes:j}:{baseLanes:Re.baseLanes|j},st.childLanes=g.childLanes&~j,C.memoizedState=pu,ve):(j=Yu(g,C,ve.children,j),C.memoizedState=null,j)}function uu(g,C,j,ve){var Re=g.mode,st=g.child;return C={mode:"hidden",children:C},!(Re&2)&&st!==null?(st.childLanes=0,st.pendingProps=C):st=Mf(C,Re,0,null),j=fu(j,Re,ve,null),st.return=g,j.return=g,st.sibling=j,g.child=st,j}function Yu(g,C,j,ve){var Re=g.child;return g=Re.sibling,j=vl(Re,{mode:"visible",children:j}),!(C.mode&2)&&(j.lanes=ve),j.return=C,j.sibling=null,g!==null&&(g.nextEffect=null,g.flags=8,C.firstEffect=C.lastEffect=g),C.child=j}function Rc(g,C,j,ve,Re){var st=C.mode,Bt=g.child;g=Bt.sibling;var ir={mode:"hidden",children:j};return!(st&2)&&C.child!==Bt?(j=C.child,j.childLanes=0,j.pendingProps=ir,Bt=j.lastEffect,Bt!==null?(C.firstEffect=j.firstEffect,C.lastEffect=Bt,Bt.nextEffect=null):C.firstEffect=C.lastEffect=null):j=vl(Bt,ir),g!==null?ve=vl(g,ve):(ve=fu(ve,st,Re,null),ve.flags|=2),ve.return=C,j.return=C,j.sibling=ve,C.child=j,ve}function dc(g,C){g.lanes|=C;var j=g.alternate;j!==null&&(j.lanes|=C),js(g.return,C)}function Tl(g,C,j,ve,Re,st){var Bt=g.memoizedState;Bt===null?g.memoizedState={isBackwards:C,rendering:null,renderingStartTime:0,last:ve,tail:j,tailMode:Re,lastEffect:st}:(Bt.isBackwards=C,Bt.rendering=null,Bt.renderingStartTime=0,Bt.last=ve,Bt.tail=j,Bt.tailMode=Re,Bt.lastEffect=st)}function hl(g,C,j){var ve=C.pendingProps,Re=ve.revealOrder,st=ve.tail;if(ho(g,C,ve.children,j),ve=Io.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&&dc(g,j);else if(g.tag===19)dc(g,j);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(us(Io,ve),!(C.mode&2))C.memoizedState=null;else switch(Re){case"forwards":for(j=C.child,Re=null;j!==null;)g=j.alternate,g!==null&&lc(g)===null&&(Re=j),j=j.sibling;j=Re,j===null?(Re=C.child,C.child=null):(Re=j.sibling,j.sibling=null),Tl(C,!1,Re,j,st,C.lastEffect);break;case"backwards":for(j=null,Re=C.child,C.child=null;Re!==null;){if(g=Re.alternate,g!==null&&lc(g)===null){C.child=Re;break}g=Re.sibling,Re.sibling=j,j=Re,Re=g}Tl(C,!0,j,null,st,C.lastEffect);break;case"together":Tl(C,!1,null,null,void 0,C.lastEffect);break;default:C.memoizedState=null}return C.child}function nl(g,C,j){if(g!==null&&(C.dependencies=g.dependencies),Qs|=C.lanes,j&C.childLanes){if(g!==null&&C.child!==g.child)throw Error(c(153));if(C.child!==null){for(g=C.child,j=vl(g,g.pendingProps),C.child=j,j.return=C;g.sibling!==null;)g=g.sibling,j=j.sibling=vl(g,g.pendingProps),j.return=C;j.sibling=null}return C.child}return null}var qc,hc,ku,yl;qc=function(g,C){for(var j=C.child;j!==null;){if(j.tag===5||j.tag===6)g.appendChild(j.stateNode);else if(j.tag!==4&&j.child!==null){j.child.return=j,j=j.child;continue}if(j===C)break;for(;j.sibling===null;){if(j.return===null||j.return===C)return;j=j.return}j.sibling.return=j.return,j=j.sibling}},hc=function(){},ku=function(g,C,j,ve){var Re=g.memoizedProps;if(Re!==ve){g=C.stateNode,Hu(iu.current);var st=null;switch(j){case"input":Re=dt(g,Re),ve=dt(g,ve),st=[];break;case"option":Re=We(g,Re),ve=We(g,ve),st=[];break;case"select":Re=i({},Re,{value:void 0}),ve=i({},ve,{value:void 0}),st=[];break;case"textarea":Re=ot(g,Re),ve=ot(g,ve),st=[];break;default:typeof Re.onClick!="function"&&typeof ve.onClick=="function"&&(g.onclick=ui)}Te(j,ve);var Bt;j=null;for(_n in Re)if(!ve.hasOwnProperty(_n)&&Re.hasOwnProperty(_n)&&Re[_n]!=null)if(_n==="style"){var ir=Re[_n];for(Bt in ir)ir.hasOwnProperty(Bt)&&(j||(j={}),j[Bt]="")}else _n!=="dangerouslySetInnerHTML"&&_n!=="children"&&_n!=="suppressContentEditableWarning"&&_n!=="suppressHydrationWarning"&&_n!=="autoFocus"&&(o.hasOwnProperty(_n)?st||(st=[]):(st=st||[]).push(_n,null));for(_n in ve){var Dr=ve[_n];if(ir=Re!=null?Re[_n]:void 0,ve.hasOwnProperty(_n)&&Dr!==ir&&(Dr!=null||ir!=null))if(_n==="style")if(ir){for(Bt in ir)!ir.hasOwnProperty(Bt)||Dr&&Dr.hasOwnProperty(Bt)||(j||(j={}),j[Bt]="");for(Bt in Dr)Dr.hasOwnProperty(Bt)&&ir[Bt]!==Dr[Bt]&&(j||(j={}),j[Bt]=Dr[Bt])}else j||(st||(st=[]),st.push(_n,j)),j=Dr;else _n==="dangerouslySetInnerHTML"?(Dr=Dr?Dr.__html:void 0,ir=ir?ir.__html:void 0,Dr!=null&&ir!==Dr&&(st=st||[]).push(_n,Dr)):_n==="children"?typeof Dr!="string"&&typeof Dr!="number"||(st=st||[]).push(_n,""+Dr):_n!=="suppressContentEditableWarning"&&_n!=="suppressHydrationWarning"&&(o.hasOwnProperty(_n)?(Dr!=null&&_n==="onScroll"&&Qe("scroll",g),st||ir===Dr||(st=[])):typeof Dr=="object"&&Dr!==null&&Dr.$$typeof===U?Dr.toString():(st=st||[]).push(_n,Dr))}j&&(st=st||[]).push("style",j);var _n=st;(C.updateQueue=_n)&&(C.flags|=4)}},yl=function(g,C,j,ve){j!==ve&&(C.flags|=4)};function Xu(g,C){if(!Eo)switch(g.tailMode){case"hidden":C=g.tail;for(var j=null;C!==null;)C.alternate!==null&&(j=C),C=C.sibling;j===null?g.tail=null:j.sibling=null;break;case"collapsed":j=g.tail;for(var ve=null;j!==null;)j.alternate!==null&&(ve=j),j=j.sibling;ve===null?C||g.tail===null?g.tail=null:g.tail.sibling=null:ve.sibling=null}}function Of(g,C,j){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 rn(C.type)&&xr(),null;case 3:return uc(),ga(ye),ga(La),Cc(),ve=C.stateNode,ve.pendingContext&&(ve.context=ve.pendingContext,ve.pendingContext=null),(g===null||g.child===null)&&(gf(C)?C.flags|=4:ve.hydrate||(C.flags|=256)),hc(C),null;case 5:Ac(C);var Re=Hu(oc.current);if(j=C.type,g!==null&&C.stateNode!=null)ku(g,C,j,ve,Re),g.ref!==C.ref&&(C.flags|=128);else{if(!ve){if(C.stateNode===null)throw Error(c(166));return null}if(g=Hu(iu.current),gf(C)){ve=C.stateNode,j=C.type;var st=C.memoizedProps;switch(ve[Qa]=C,ve[pa]=st,j){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<zn.length;g++)Qe(zn[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,st),Qe("invalid",ve);break;case"select":ve._wrapperState={wasMultiple:!!st.multiple},Qe("invalid",ve);break;case"textarea":Kt(ve,st),Qe("invalid",ve)}Te(j,st),g=null;for(var Bt in st)st.hasOwnProperty(Bt)&&(Re=st[Bt],Bt==="children"?typeof Re=="string"?ve.textContent!==Re&&(g=["children",Re]):typeof Re=="number"&&ve.textContent!==""+Re&&(g=["children",""+Re]):o.hasOwnProperty(Bt)&&Re!=null&&Bt==="onScroll"&&Qe("scroll",ve));switch(j){case"input":zt(ve),Se(ve,st,!0);break;case"textarea":zt(ve),Ce(ve);break;case"select":case"option":break;default:typeof st.onClick=="function"&&(ve.onclick=ui)}ve=g,C.updateQueue=ve,ve!==null&&(C.flags|=4)}else{switch(Bt=Re.nodeType===9?Re:Re.ownerDocument,g===Je.html&&(g=Yt(j)),g===Je.html?j==="script"?(g=Bt.createElement("div"),g.innerHTML="<script><\/script>",g=g.removeChild(g.firstChild)):typeof ve.is=="string"?g=Bt.createElement(j,{is:ve.is}):(g=Bt.createElement(j),j==="select"&&(Bt=g,ve.multiple?Bt.multiple=!0:ve.size&&(Bt.size=ve.size))):g=Bt.createElementNS(g,j),g[Qa]=C,g[pa]=ve,qc(g,C,!1,!1),C.stateNode=g,Bt=ct(j,ve),j){case"dialog":Qe("cancel",g),Qe("close",g),Re=ve;break;case"iframe":case"object":case"embed":Qe("load",g),Re=ve;break;case"video":case"audio":for(Re=0;Re<zn.length;Re++)Qe(zn[Re],g);Re=ve;break;case"source":Qe("error",g),Re=ve;break;case"img":case"image":case"link":Qe("error",g),Qe("load",g),Re=ve;break;case"details":Qe("toggle",g),Re=ve;break;case"input":et(g,ve),Re=dt(g,ve),Qe("invalid",g);break;case"option":Re=We(g,ve);break;case"select":g._wrapperState={wasMultiple:!!ve.multiple},Re=i({},ve,{value:void 0}),Qe("invalid",g);break;case"textarea":Kt(g,ve),Re=ot(g,ve),Qe("invalid",g);break;default:Re=ve}Te(j,Re);var ir=Re;for(st in ir)if(ir.hasOwnProperty(st)){var Dr=ir[st];st==="style"?he(g,Dr):st==="dangerouslySetInnerHTML"?(Dr=Dr?Dr.__html:void 0,Dr!=null&&$t(g,Dr)):st==="children"?typeof Dr=="string"?(j!=="textarea"||Dr!=="")&&tr(g,Dr):typeof Dr=="number"&&tr(g,""+Dr):st!=="suppressContentEditableWarning"&&st!=="suppressHydrationWarning"&&st!=="autoFocus"&&(o.hasOwnProperty(st)?Dr!=null&&st==="onScroll"&&Qe("scroll",g):Dr!=null&&B(g,st,Dr,Bt))}switch(j){case"input":zt(g),Se(g,ve,!1);break;case"textarea":zt(g),Ce(g);break;case"option":ve.value!=null&&g.setAttribute("value",""+fr(ve.value));break;case"select":g.multiple=!!ve.multiple,st=ve.value,st!=null?rt(g,!!ve.multiple,st,!1):ve.defaultValue!=null&&rt(g,!!ve.multiple,ve.defaultValue,!0);break;default:typeof Re.onClick=="function"&&(g.onclick=ui)}ra(j,ve)&&(C.flags|=4)}C.ref!==null&&(C.flags|=128)}return null;case 6:if(g&&C.stateNode!=null)yl(g,C,g.memoizedProps,ve);else{if(typeof ve!="string"&&C.stateNode===null)throw Error(c(166));j=Hu(oc.current),Hu(iu.current),gf(C)?(ve=C.stateNode,j=C.memoizedProps,ve[Qa]=C,ve.nodeValue!==j&&(C.flags|=4)):(ve=(j.nodeType===9?j:j.ownerDocument).createTextNode(ve),ve[Qa]=C,C.stateNode=ve)}return null;case 13:return ga(Io),ve=C.memoizedState,C.flags&64?(C.lanes=j,C):(ve=ve!==null,j=!1,g===null?C.memoizedProps.fallback!==void 0&&gf(C):j=g.memoizedState!==null,ve&&!j&&C.mode&2&&(g===null&&C.memoizedProps.unstable_avoidThisFallback!==!0||Io.current&1?Ga===0&&(Ga=3):((Ga===0||Ga===3)&&(Ga=4),sn===null||!(Qs&134217727)&&!(zs&134217727)||ec(sn,mn))),(ve||j)&&(C.flags|=4),null);case 4:return uc(),hc(C),g===null&&Vt(C.stateNode.containerInfo),null;case 10:return ys(C),null;case 17:return rn(C.type)&&xr(),null;case 19:if(ga(Io),ve=C.memoizedState,ve===null)return null;if(st=(C.flags&64)!==0,Bt=ve.rendering,Bt===null)if(st)Xu(ve,!1);else{if(Ga!==0||g!==null&&g.flags&64)for(g=C.child;g!==null;){if(Bt=lc(g),Bt!==null){for(C.flags|=64,Xu(ve,!1),st=Bt.updateQueue,st!==null&&(C.updateQueue=st,C.flags|=4),ve.lastEffect===null&&(C.firstEffect=null),C.lastEffect=ve.lastEffect,ve=j,j=C.child;j!==null;)st=j,g=ve,st.flags&=2,st.nextEffect=null,st.firstEffect=null,st.lastEffect=null,Bt=st.alternate,Bt===null?(st.childLanes=0,st.lanes=g,st.child=null,st.memoizedProps=null,st.memoizedState=null,st.updateQueue=null,st.dependencies=null,st.stateNode=null):(st.childLanes=Bt.childLanes,st.lanes=Bt.lanes,st.child=Bt.child,st.memoizedProps=Bt.memoizedProps,st.memoizedState=Bt.memoizedState,st.updateQueue=Bt.updateQueue,st.type=Bt.type,g=Bt.dependencies,st.dependencies=g===null?null:{lanes:g.lanes,firstContext:g.firstContext}),j=j.sibling;return us(Io,Io.current&1|2),C.child}g=g.sibling}ve.tail!==null&&Ct()>rf&&(C.flags|=64,st=!0,Xu(ve,!1),C.lanes=33554432)}else{if(!st)if(g=lc(Bt),g!==null){if(C.flags|=64,st=!0,j=g.updateQueue,j!==null&&(C.updateQueue=j,C.flags|=4),Xu(ve,!0),ve.tail===null&&ve.tailMode==="hidden"&&!Bt.alternate&&!Eo)return C=C.lastEffect=ve.lastEffect,C!==null&&(C.nextEffect=null),null}else 2*Ct()-ve.renderingStartTime>rf&&j!==1073741824&&(C.flags|=64,st=!0,Xu(ve,!1),C.lanes=33554432);ve.isBackwards?(Bt.sibling=C.child,C.child=Bt):(j=ve.last,j!==null?j.sibling=Bt:C.child=Bt,ve.last=Bt)}return ve.tail!==null?(j=ve.tail,ve.rendering=j,ve.tail=j.sibling,ve.lastEffect=C.lastEffect,ve.renderingStartTime=Ct(),j.sibling=null,C=Io.current,us(Io,st?C&1|2:C&1),j):null;case 23:case 24:return Ca(),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 xf(g){switch(g.tag){case 1:rn(g.type)&&xr();var C=g.flags;return C&4096?(g.flags=C&-4097|64,g):null;case 3:if(uc(),ga(ye),ga(La),Cc(),C=g.flags,C&64)throw Error(c(285));return g.flags=C&-4097|64,g;case 5:return Ac(g),null;case 13:return ga(Io),C=g.flags,C&4096?(g.flags=C&-4097|64,g):null;case 19:return ga(Io),null;case 4:return uc(),null;case 10:return ys(g),null;case 23:case 24:return Ca(),null;default:return null}}function lu(g,C){try{var j="",ve=C;do j+=rr(ve),ve=ve.return;while(ve);var Re=j}catch(st){Re=`
|
|
|
Error generating stack: `+st.message+`
|
|
|
`+st.stack}return{value:g,source:C,stack:Re}}function Pl(g,C){try{console.error(C.value)}catch(j){setTimeout(function(){throw j})}}var Jc=typeof WeakMap=="function"?WeakMap:Map;function Gl(g,C,j){j=Ro(-1,j),j.tag=3,j.payload={element:null};var ve=C.value;return j.callback=function(){Xl||(Xl=!0,Cu=ve),Pl(g,C)},j}function Vl(g,C,j){j=Ro(-1,j),j.tag=3;var ve=g.type.getDerivedStateFromError;if(typeof ve=="function"){var Re=C.value;j.payload=function(){return Pl(g,C),ve(Re)}}var st=g.stateNode;return st!==null&&typeof st.componentDidCatch=="function"&&(j.callback=function(){typeof ve!="function"&&(so===null?so=new Set([this]):so.add(this),Pl(g,C));var Bt=C.stack;this.componentDidCatch(C.value,{componentStack:Bt!==null?Bt:""})}),j}var eu=typeof WeakSet=="function"?WeakSet:Set;function cu(g){var C=g.ref;if(C!==null)if(typeof C=="function")try{C(null)}catch(j){al(g,j)}else C.current=null}function Kl(g,C){switch(C.tag){case 0:case 11:case 15:case 22:return;case 1:if(C.flags&256&&g!==null){var j=g.memoizedProps,ve=g.memoizedState;g=C.stateNode,C=g.getSnapshotBeforeUpdate(C.elementType===C.type?j:ei(C.type,j),ve),g.__reactInternalSnapshotBeforeUpdate=C}return;case 3:C.flags&256&&Ri(C.stateNode.containerInfo);return;case 5:case 6:case 4:case 17:return}throw Error(c(163))}function _u(g,C,j){switch(j.tag){case 0:case 11:case 15:case 22:if(C=j.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=j.updateQueue,C=C!==null?C.lastEffect:null,C!==null){g=C=C.next;do{var Re=g;ve=Re.next,Re=Re.tag,Re&4&&Re&1&&(Nc(j,g),wf(j,g)),g=ve}while(g!==C)}return;case 1:g=j.stateNode,j.flags&4&&(C===null?g.componentDidMount():(ve=j.elementType===j.type?C.memoizedProps:ei(j.type,C.memoizedProps),g.componentDidUpdate(ve,C.memoizedState,g.__reactInternalSnapshotBeforeUpdate))),C=j.updateQueue,C!==null&&to(j,C,g);return;case 3:if(C=j.updateQueue,C!==null){if(g=null,j.child!==null)switch(j.child.tag){case 5:g=j.child.stateNode;break;case 1:g=j.child.stateNode}to(j,C,g)}return;case 5:g=j.stateNode,C===null&&j.flags&4&&ra(j.type,j.memoizedProps)&&g.focus();return;case 6:return;case 4:return;case 12:return;case 13:j.memoizedState===null&&(j=j.alternate,j!==null&&(j=j.memoizedState,j!==null&&(j=j.dehydrated,j!==null&&pt(j))));return;case 19:case 17:case 20:case 21:case 23:case 24:return}throw Error(c(163))}function pc(g,C){for(var j=g;;){if(j.tag===5){var ve=j.stateNode;if(C)ve=ve.style,typeof ve.setProperty=="function"?ve.setProperty("display","none","important"):ve.display="none";else{ve=j.stateNode;var Re=j.memoizedProps.style;Re=Re!=null&&Re.hasOwnProperty("display")?Re.display:null,ve.style.display=ce("display",Re)}}else if(j.tag===6)j.stateNode.nodeValue=C?"":j.memoizedProps;else if((j.tag!==23&&j.tag!==24||j.memoizedState===null||j===g)&&j.child!==null){j.child.return=j,j=j.child;continue}if(j===g)break;for(;j.sibling===null;){if(j.return===null||j.return===g)return;j=j.return}j.sibling.return=j.return,j=j.sibling}}function Il(g,C){if(Mn&&typeof Mn.onCommitFiberUnmount=="function")try{Mn.onCommitFiberUnmount(jn,C)}catch(st){}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 j=g=g.next;do{var ve=j,Re=ve.destroy;if(ve=ve.tag,Re!==void 0)if(ve&4)Nc(C,j);else{ve=C;try{Re()}catch(st){al(ve,st)}}j=j.next}while(j!==g)}break;case 1:if(cu(C),g=C.stateNode,typeof g.componentWillUnmount=="function")try{g.props=C.memoizedProps,g.state=C.memoizedState,g.componentWillUnmount()}catch(st){al(C,st)}break;case 5:cu(C);break;case 4:Yl(g,C)}}function ef(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 bl(g){return g.tag===5||g.tag===3||g.tag===4}function Uu(g){e:{for(var C=g.return;C!==null;){if(bl(C))break e;C=C.return}throw Error(c(160))}var j=C;switch(C=j.stateNode,j.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))}j.flags&16&&(tr(C,""),j.flags&=-17);e:t:for(j=g;;){for(;j.sibling===null;){if(j.return===null||bl(j.return)){j=null;break e}j=j.return}for(j.sibling.return=j.return,j=j.sibling;j.tag!==5&&j.tag!==6&&j.tag!==18;){if(j.flags&2||j.child===null||j.tag===4)continue t;j.child.return=j,j=j.child}if(!(j.flags&2)){j=j.stateNode;break e}}ve?_c(g,j,C):mc(g,j,C)}function _c(g,C,j){var ve=g.tag,Re=ve===5||ve===6;if(Re)g=Re?g.stateNode:g.stateNode.instance,C?j.nodeType===8?j.parentNode.insertBefore(g,C):j.insertBefore(g,C):(j.nodeType===8?(C=j.parentNode,C.insertBefore(g,j)):(C=j,C.appendChild(g)),j=j._reactRootContainer,j!=null||C.onclick!==null||(C.onclick=ui));else if(ve!==4&&(g=g.child,g!==null))for(_c(g,C,j),g=g.sibling;g!==null;)_c(g,C,j),g=g.sibling}function mc(g,C,j){var ve=g.tag,Re=ve===5||ve===6;if(Re)g=Re?g.stateNode:g.stateNode.instance,C?j.insertBefore(g,C):j.appendChild(g);else if(ve!==4&&(g=g.child,g!==null))for(mc(g,C,j),g=g.sibling;g!==null;)mc(g,C,j),g=g.sibling}function Yl(g,C){for(var j=C,ve=!1,Re,st;;){if(!ve){ve=j.return;e:for(;;){if(ve===null)throw Error(c(160));switch(Re=ve.stateNode,ve.tag){case 5:st=!1;break e;case 3:Re=Re.containerInfo,st=!0;break e;case 4:Re=Re.containerInfo,st=!0;break e}ve=ve.return}ve=!0}if(j.tag===5||j.tag===6){e:for(var Bt=g,ir=j,Dr=ir;;)if(Il(Bt,Dr),Dr.child!==null&&Dr.tag!==4)Dr.child.return=Dr,Dr=Dr.child;else{if(Dr===ir)break e;for(;Dr.sibling===null;){if(Dr.return===null||Dr.return===ir)break e;Dr=Dr.return}Dr.sibling.return=Dr.return,Dr=Dr.sibling}st?(Bt=Re,ir=j.stateNode,Bt.nodeType===8?Bt.parentNode.removeChild(ir):Bt.removeChild(ir)):Re.removeChild(j.stateNode)}else if(j.tag===4){if(j.child!==null){Re=j.stateNode.containerInfo,st=!0,j.child.return=j,j=j.child;continue}}else if(Il(g,j),j.child!==null){j.child.return=j,j=j.child;continue}if(j===C)break;for(;j.sibling===null;){if(j.return===null||j.return===C)return;j=j.return,j.tag===4&&(ve=!1)}j.sibling.return=j.return,j=j.sibling}}function Lc(g,C){switch(C.tag){case 0:case 11:case 14:case 15:case 22:var j=C.updateQueue;if(j=j!==null?j.lastEffect:null,j!==null){var ve=j=j.next;do(ve.tag&3)===3&&(g=ve.destroy,ve.destroy=void 0,g!==void 0&&g()),ve=ve.next;while(ve!==j)}return;case 1:return;case 5:if(j=C.stateNode,j!=null){ve=C.memoizedProps;var Re=g!==null?g.memoizedProps:ve;g=C.type;var st=C.updateQueue;if(C.updateQueue=null,st!==null){for(j[pa]=ve,g==="input"&&ve.type==="radio"&&ve.name!=null&&ze(j,ve),ct(g,Re),C=ct(g,ve),Re=0;Re<st.length;Re+=2){var Bt=st[Re],ir=st[Re+1];Bt==="style"?he(j,ir):Bt==="dangerouslySetInnerHTML"?$t(j,ir):Bt==="children"?tr(j,ir):B(j,Bt,ir,C)}switch(g){case"input":ge(j,ve);break;case"textarea":Wt(j,ve);break;case"select":g=j._wrapperState.wasMultiple,j._wrapperState.wasMultiple=!!ve.multiple,st=ve.value,st!=null?rt(j,!!ve.multiple,st,!1):g!==!!ve.multiple&&(ve.defaultValue!=null?rt(j,!!ve.multiple,ve.defaultValue,!0):rt(j,!!ve.multiple,ve.multiple?[]:"",!1))}}}return;case 6:if(C.stateNode===null)throw Error(c(162));C.stateNode.nodeValue=C.memoizedProps;return;case 3:j=C.stateNode,j.hydrate&&(j.hydrate=!1,pt(j.containerInfo));return;case 12:return;case 13:C.memoizedState!==null&&(vc=Ct(),pc(C.child,!0)),Ef(C);return;case 19:Ef(C);return;case 17:return;case 23:case 24:pc(C,C.memoizedState!==null);return}throw Error(c(163))}function Ef(g){var C=g.updateQueue;if(C!==null){g.updateQueue=null;var j=g.stateNode;j===null&&(j=g.stateNode=new eu),C.forEach(function(ve){var Re=qu.bind(null,g,ve);j.has(ve)||(j.add(ve),ve.then(Re,Re))})}}function T(g,C){return g!==null&&(g=g.memoizedState,g===null||g.dehydrated!==null)?(C=C.memoizedState,C!==null&&C.dehydrated===null):!1}var D=Math.ceil,L=N.ReactCurrentDispatcher,me=N.ReactCurrentOwner,ke=0,sn=null,Yn=null,mn=0,ji=0,Wa=ks(0),Ga=0,Uo=null,Ss=0,Qs=0,zs=0,Mc=0,tf=null,vc=0,rf=1/0;function Dl(){rf=Ct()+500}var Ui=null,Xl=!1,Cu=null,so=null,wo=!1,bs=null,Ol=90,Ql=[],Fc=[],kl=null,Ru=0,nf=null,af=-1,Rl=0,Bc=0,gc=null,sf=!1;function mu(){return ke&48?Ct():af!==-1?af:af=Ct()}function xl(g){if(g=g.mode,!(g&2))return 1;if(!(g&4))return Ut()===99?1:2;if(Rl===0&&(Rl=Ss),Kn.transition!==0){Bc!==0&&(Bc=tf!==null?tf.pendingLanes:0),g=Rl;var C=4186112&~Bc;return C&=-C,C===0&&(g=4186112&~g,C=g&-g,C===0&&(C=8192)),C}return g=Ut(),ke&4&&g===98?g=dn(12,Rl):(g=wn(g),g=dn(g,Rl)),g}function ql(g,C,j){if(50<Ru)throw Ru=0,nf=null,Error(c(185));if(g=Jl(g,C),g===null)return null;Ni(g,C,j),g===sn&&(zs|=C,Ga===4&&ec(g,mn));var ve=Ut();C===1?ke&8&&!(ke&48)?Rn(g):(Qu(g,j),ke===0&&(Dl(),un())):(!(ke&4)||ve!==98&&ve!==99||(kl===null?kl=new Set([g]):kl.add(g)),Qu(g,j)),tf=g}function Jl(g,C){g.lanes|=C;var j=g.alternate;for(j!==null&&(j.lanes|=C),j=g,g=g.return;g!==null;)g.childLanes|=C,j=g.alternate,j!==null&&(j.childLanes|=C),j=g,g=g.return;return j.tag===3?j.stateNode:null}function Qu(g,C){for(var j=g.callbackNode,ve=g.suspendedLanes,Re=g.pingedLanes,st=g.expirationTimes,Bt=g.pendingLanes;0<Bt;){var ir=31-gi(Bt),Dr=1<<ir,_n=st[ir];if(_n===-1){if(!(Dr&ve)||Dr&Re){_n=C,jr(Dr);var Ci=Ir;st[ir]=10<=Ci?_n+250:6<=Ci?_n+5e3:-1}}else _n<=C&&(g.expiredLanes|=Dr);Bt&=~Dr}if(ve=pn(g,g===sn?mn:0),C=Ir,ve===0)j!==null&&(j!==Z&&ia(j),g.callbackNode=null,g.callbackPriority=0);else{if(j!==null){if(g.callbackPriority===C)return;j!==Z&&ia(j)}C===15?(j=Rn.bind(null,g),te===null?(te=[j],de=ba(ul,Pn)):te.push(j),j=Z):C===14?j=Hr(99,Rn.bind(null,g)):(j=Sr(C),j=Hr(j,yc.bind(null,g))),g.callbackPriority=C,g.callbackNode=j}}function yc(g){if(af=-1,Bc=Rl=0,ke&48)throw Error(c(327));var C=g.callbackNode;if(tc()&&g.callbackNode!==C)return null;var j=pn(g,g===sn?mn:0);if(j===0)return null;var ve=j,Re=ke;ke|=16;var st=ua();(sn!==g||mn!==ve)&&(Dl(),Oa(g,ve));do try{_l();break}catch(ir){As(g,ir)}while(!0);if(ns(),L.current=st,ke=Re,Yn!==null?ve=0:(sn=null,mn=0,ve=Ga),Ss&zs)Oa(g,0);else if(ve!==0){if(ve===2&&(ke|=64,g.hydrate&&(g.hydrate=!1,Ri(g.containerInfo)),j=on(g),j!==0&&(ve=Cs(g,j))),ve===1)throw C=Uo,Oa(g,0),ec(g,j),Qu(g,Ct()),C;switch(g.finishedWork=g.current.alternate,g.finishedLanes=j,ve){case 0:case 1:throw Error(c(345));case 2:El(g);break;case 3:if(ec(g,j),(j&62914560)===j&&(ve=vc+500-Ct(),10<ve)){if(pn(g,0)!==0)break;if(Re=g.suspendedLanes,(Re&j)!==j){mu(),g.pingedLanes|=g.suspendedLanesℜbreak}g.timeoutHandle=ki(El.bind(null,g),ve);break}El(g);break;case 4:if(ec(g,j),(j&4186112)===j)break;for(ve=g.eventTimes,Re=-1;0<j;){var Bt=31-gi(j);st=1<<Bt,Bt=ve[Bt],Bt>Re&&(Re=Bt),j&=~st}if(j=Re,j=Ct()-j,j=(120>j?120:480>j?480:1080>j?1080:1920>j?1920:3e3>j?3e3:4320>j?4320:1960*D(j/1960))-j,10<j){g.timeoutHandle=ki(El.bind(null,g),j);break}El(g);break;case 5:El(g);break;default:throw Error(c(329))}}return Qu(g,Ct()),g.callbackNode===C?yc.bind(null,g):null}function ec(g,C){for(C&=~Mc,C&=~zs,g.suspendedLanes|=C,g.pingedLanes&=~C,g=g.expirationTimes;0<C;){var j=31-gi(C),ve=1<<j;g[j]=-1,C&=~ve}}function Rn(g){if(ke&48)throw Error(c(327));if(tc(),g===sn&&g.expiredLanes&mn){var C=mn,j=Cs(g,C);Ss&zs&&(C=pn(g,C),j=Cs(g,C))}else C=pn(g,0),j=Cs(g,C);if(g.tag!==0&&j===2&&(ke|=64,g.hydrate&&(g.hydrate=!1,Ri(g.containerInfo)),C=on(g),C!==0&&(j=Cs(g,C))),j===1)throw j=Uo,Oa(g,0),ec(g,C),Qu(g,Ct()),j;return g.finishedWork=g.current.alternate,g.finishedLanes=C,El(g),Qu(g,Ct()),null}function ti(){if(kl!==null){var g=kl;kl=null,g.forEach(function(C){C.expiredLanes|=24&C.pendingLanes,Qu(C,Ct())})}un()}function Wi(g,C){var j=ke;ke|=1;try{return g(C)}finally{ke=j,ke===0&&(Dl(),un())}}function Ba(g,C){var j=ke;ke&=-2,ke|=8;try{return g(C)}finally{ke=j,ke===0&&(Dl(),un())}}function aa(g,C){us(Wa,ji),ji|=C,Ss|=C}function Ca(){ji=Wa.current,ga(Wa)}function Oa(g,C){g.finishedWork=null,g.finishedLanes=0;var j=g.timeoutHandle;if(j!==-1&&(g.timeoutHandle=-1,Da(j)),Yn!==null)for(j=Yn.return;j!==null;){var ve=j;switch(ve.tag){case 1:ve=ve.type.childContextTypes,ve!=null&&xr();break;case 3:uc(),ga(ye),ga(La),Cc();break;case 5:Ac(ve);break;case 4:uc();break;case 13:ga(Io);break;case 19:ga(Io);break;case 10:ys(ve);break;case 23:case 24:Ca()}j=j.return}sn=g,Yn=vl(g.current,null),mn=ji=Ss=C,Ga=0,Uo=null,Mc=zs=Qs=0}function As(g,C){do{var j=Yn;try{if(ns(),Al.current=cc,Tc){for(var ve=co.memoizedState;ve!==null;){var Re=ve.queue;Re!==null&&(Re.pending=null),ve=ve.next}Tc=!1}if($l=0,su=qo=co=null,jl=!1,me.current=null,j===null||j.return===null){Ga=1,Uo=C,Yn=null;break}e:{var st=g,Bt=j.return,ir=j,Dr=C;if(C=mn,ir.flags|=2048,ir.firstEffect=ir.lastEffect=null,Dr!==null&&typeof Dr=="object"&&typeof Dr.then=="function"){var _n=Dr;if(!(ir.mode&2)){var Ci=ir.alternate;Ci?(ir.updateQueue=Ci.updateQueue,ir.memoizedState=Ci.memoizedState,ir.lanes=Ci.lanes):(ir.updateQueue=null,ir.memoizedState=null)}var $a=(Io.current&1)!==0,Qn=Bt;do{var ca;if(ca=Qn.tag===13){var Na=Qn.memoizedState;if(Na!==null)ca=Na.dehydrated!==null;else{var ka=Qn.memoizedProps;ca=ka.fallback===void 0?!1:ka.unstable_avoidThisFallback!==!0?!0:!$a}}if(ca){var en=Qn.updateQueue;if(en===null){var $r=new Set;$r.add(_n),Qn.updateQueue=$r}else en.add(_n);if(!(Qn.mode&2)){if(Qn.flags|=64,ir.flags|=16384,ir.flags&=-2981,ir.tag===1)if(ir.alternate===null)ir.tag=17;else{var qr=Ro(-1,1);qr.tag=2,Po(ir,qr)}ir.lanes|=1;break e}Dr=void 0,ir=C;var On=st.pingCache;if(On===null?(On=st.pingCache=new Jc,Dr=new Set,On.set(_n,Dr)):(Dr=On.get(_n),Dr===void 0&&(Dr=new Set,On.set(_n,Dr))),!Dr.has(ir)){Dr.add(ir);var Un=Hf.bind(null,st,_n,ir);_n.then(Un,Un)}Qn.flags|=4096,Qn.lanes=C;break e}Qn=Qn.return}while(Qn!==null);Dr=Error((Xt(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.`)}Ga!==5&&(Ga=2),Dr=lu(Dr,ir),Qn=Bt;do{switch(Qn.tag){case 3:st=Dr,Qn.flags|=4096,C&=-C,Qn.lanes|=C;var Va=Gl(Qn,st,C);xu(Qn,Va);break e;case 1:st=Dr;var Gi=Qn.type,ja=Qn.stateNode;if(!(Qn.flags&64)&&(typeof Gi.getDerivedStateFromError=="function"||ja!==null&&typeof ja.componentDidCatch=="function"&&(so===null||!so.has(ja)))){Qn.flags|=4096,C&=-C,Qn.lanes|=C;var ms=Vl(Qn,st,C);xu(Qn,ms);break e}}Qn=Qn.return}while(Qn!==null)}ml(j)}catch(Ma){C=Ma,Yn===j&&j!==null&&(Yn=j=j.return);continue}break}while(!0)}function ua(){var g=L.current;return L.current=cc,g===null?cc:g}function Cs(g,C){var j=ke;ke|=16;var ve=ua();sn===g&&mn===C||Oa(g,C);do try{pl();break}catch(Re){As(g,Re)}while(!0);if(ns(),ke=j,L.current=ve,Yn!==null)throw Error(c(261));return sn=null,mn=0,Ga}function pl(){for(;Yn!==null;)il(Yn)}function _l(){for(;Yn!==null&&!No();)il(Yn)}function il(g){var C=uf(g.alternate,g,ji);g.memoizedProps=g.pendingProps,C===null?ml(g):Yn=C,me.current=null}function ml(g){var C=g;do{var j=C.alternate;if(g=C.return,C.flags&2048){if(j=xf(C),j!==null){j.flags&=2047,Yn=j;return}g!==null&&(g.firstEffect=g.lastEffect=null,g.flags|=2048)}else{if(j=Of(j,C,ji),j!==null){Yn=j;return}if(j=C,j.tag!==24&&j.tag!==23||j.memoizedState===null||ji&1073741824||!(j.mode&4)){for(var ve=0,Re=j.child;Re!==null;)ve|=Re.lanes|Re.childLanes,Re=Re.sibling;j.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){Yn=C;return}Yn=C=g}while(C!==null);Ga===0&&(Ga=5)}function El(g){var C=Ut();return It(99,Kf.bind(null,g,C)),null}function Kf(g,C){do tc();while(bs!==null);if(ke&48)throw Error(c(327));var j=g.finishedWork;if(j===null)return null;if(g.finishedWork=null,g.finishedLanes=0,j===g.current)throw Error(c(177));g.callbackNode=null;var ve=j.lanes|j.childLanes,Re=ve,st=g.pendingLanes&~Re;g.pendingLanes=Re,g.suspendedLanes=0,g.pingedLanes=0,g.expiredLanes&=Re,g.mutableReadLanes&=Re,g.entangledLanes&=Re,Re=g.entanglements;for(var Bt=g.eventTimes,ir=g.expirationTimes;0<st;){var Dr=31-gi(st),_n=1<<Dr;Re[Dr]=0,Bt[Dr]=-1,ir[Dr]=-1,st&=~_n}if(kl!==null&&!(ve&24)&&kl.has(g)&&kl.delete(g),g===sn&&(Yn=sn=null,mn=0),1<j.flags?j.lastEffect!==null?(j.lastEffect.nextEffect=j,ve=j.firstEffect):ve=j:ve=j.firstEffect,ve!==null){if(Re=ke,ke|=32,me.current=null,Pi=wa,Bt=Ta(),gs(Bt)){if("selectionStart"in Bt)ir={start:Bt.selectionStart,end:Bt.selectionEnd};else e:if(ir=(ir=Bt.ownerDocument)&&ir.defaultView||window,(_n=ir.getSelection&&ir.getSelection())&&_n.rangeCount!==0){ir=_n.anchorNode,st=_n.anchorOffset,Dr=_n.focusNode,_n=_n.focusOffset;try{ir.nodeType,Dr.nodeType}catch(Ma){ir=null;break e}var Ci=0,$a=-1,Qn=-1,ca=0,Na=0,ka=Bt,en=null;t:for(;;){for(var $r;ka!==ir||st!==0&&ka.nodeType!==3||($a=Ci+st),ka!==Dr||_n!==0&&ka.nodeType!==3||(Qn=Ci+_n),ka.nodeType===3&&(Ci+=ka.nodeValue.length),($r=ka.firstChild)!==null;)en=ka,ka=$r;for(;;){if(ka===Bt)break t;if(en===ir&&++ca===st&&($a=Ci),en===Dr&&++Na===_n&&(Qn=Ci),($r=ka.nextSibling)!==null)break;ka=en,en=ka.parentNode}ka=$r}ir=$a===-1||Qn===-1?null:{start:$a,end:Qn}}else ir=null;ir=ir||{start:0,end:0}}else ir=null;Mi={focusedElem:Bt,selectionRange:ir},wa=!1,gc=null,sf=!1,Ui=ve;do try{kf()}catch(Ma){if(Ui===null)throw Error(c(330));al(Ui,Ma),Ui=Ui.nextEffect}while(Ui!==null);gc=null,Ui=ve;do try{for(Bt=g;Ui!==null;){var qr=Ui.flags;if(qr&16&&tr(Ui.stateNode,""),qr&128){var On=Ui.alternate;if(On!==null){var Un=On.ref;Un!==null&&(typeof Un=="function"?Un(null):Un.current=null)}}switch(qr&1038){case 2:Uu(Ui),Ui.flags&=-3;break;case 6:Uu(Ui),Ui.flags&=-3,Lc(Ui.alternate,Ui);break;case 1024:Ui.flags&=-1025;break;case 1028:Ui.flags&=-1025,Lc(Ui.alternate,Ui);break;case 4:Lc(Ui.alternate,Ui);break;case 8:ir=Ui,Yl(Bt,ir);var Va=ir.alternate;ef(ir),Va!==null&&ef(Va)}Ui=Ui.nextEffect}}catch(Ma){if(Ui===null)throw Error(c(330));al(Ui,Ma),Ui=Ui.nextEffect}while(Ui!==null);if(Un=Mi,On=Ta(),qr=Un.focusedElem,Bt=Un.selectionRange,On!==qr&&qr&&qr.ownerDocument&&qi(qr.ownerDocument.documentElement,qr)){for(Bt!==null&&gs(qr)&&(On=Bt.start,Un=Bt.end,Un===void 0&&(Un=On),"selectionStart"in qr?(qr.selectionStart=On,qr.selectionEnd=Math.min(Un,qr.value.length)):(Un=(On=qr.ownerDocument||document)&&On.defaultView||window,Un.getSelection&&(Un=Un.getSelection(),ir=qr.textContent.length,Va=Math.min(Bt.start,ir),Bt=Bt.end===void 0?Va:Math.min(Bt.end,ir),!Un.extend&&Va>Bt&&(ir=Bt,Bt=Va,Va=ir),ir=oa(qr,Va),st=oa(qr,Bt),ir&&st&&(Un.rangeCount!==1||Un.anchorNode!==ir.node||Un.anchorOffset!==ir.offset||Un.focusNode!==st.node||Un.focusOffset!==st.offset)&&(On=On.createRange(),On.setStart(ir.node,ir.offset),Un.removeAllRanges(),Va>Bt?(Un.addRange(On),Un.extend(st.node,st.offset)):(On.setEnd(st.node,st.offset),Un.addRange(On)))))),On=[],Un=qr;Un=Un.parentNode;)Un.nodeType===1&&On.push({element:Un,left:Un.scrollLeft,top:Un.scrollTop});for(typeof qr.focus=="function"&&qr.focus(),qr=0;qr<On.length;qr++)Un=On[qr],Un.element.scrollLeft=Un.left,Un.element.scrollTop=Un.top}wa=!!Pi,Mi=Pi=null,g.current=j,Ui=ve;do try{for(qr=g;Ui!==null;){var Gi=Ui.flags;if(Gi&36&&_u(qr,Ui.alternate,Ui),Gi&128){On=void 0;var ja=Ui.ref;if(ja!==null){var ms=Ui.stateNode;switch(Ui.tag){case 5:On=ms;break;default:On=ms}typeof ja=="function"?ja(On):ja.current=On}}Ui=Ui.nextEffect}}catch(Ma){if(Ui===null)throw Error(c(330));al(Ui,Ma),Ui=Ui.nextEffect}while(Ui!==null);Ui=null,Y(),ke=Re}else g.current=j;if(wo)wo=!1,bs=g,Ol=C;else for(Ui=ve;Ui!==null;)C=Ui.nextEffect,Ui.nextEffect=null,Ui.flags&8&&(Gi=Ui,Gi.sibling=null,Gi.stateNode=null),Ui=C;if(ve=g.pendingLanes,ve===0&&(so=null),ve===1?g===nf?Ru++:(Ru=0,nf=g):Ru=0,j=j.stateNode,Mn&&typeof Mn.onCommitFiberRoot=="function")try{Mn.onCommitFiberRoot(jn,j,void 0,(j.current.flags&64)===64)}catch(Ma){}if(Qu(g,Ct()),Xl)throw Xl=!1,g=Cu,Cu=null,g;return ke&8||un(),null}function kf(){for(;Ui!==null;){var g=Ui.alternate;sf||gc===null||(Ui.flags&8?Qr(Ui,gc)&&(sf=!0):Ui.tag===13&&T(g,Ui)&&Qr(Ui,gc)&&(sf=!0));var C=Ui.flags;C&256&&Kl(g,Ui),!(C&512)||wo||(wo=!0,Hr(97,function(){return tc(),null})),Ui=Ui.nextEffect}}function tc(){if(Ol!==90){var g=97<Ol?97:Ol;return Ol=90,It(g,of)}return!1}function wf(g,C){Ql.push(C,g),wo||(wo=!0,Hr(97,function(){return tc(),null}))}function Nc(g,C){Fc.push(C,g),wo||(wo=!0,Hr(97,function(){return tc(),null}))}function of(){if(bs===null)return!1;var g=bs;if(bs=null,ke&48)throw Error(c(331));var C=ke;ke|=32;var j=Fc;Fc=[];for(var ve=0;ve<j.length;ve+=2){var Re=j[ve],st=j[ve+1],Bt=Re.destroy;if(Re.destroy=void 0,typeof Bt=="function")try{Bt()}catch(Dr){if(st===null)throw Error(c(330));al(st,Dr)}}for(j=Ql,Ql=[],ve=0;ve<j.length;ve+=2){Re=j[ve],st=j[ve+1];try{var ir=Re.create;Re.destroy=ir()}catch(Dr){if(st===null)throw Error(c(330));al(st,Dr)}}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 ke=C,un(),!0}function Rf(g,C,j){C=lu(j,C),C=Gl(g,C,1),Po(g,C),C=mu(),g=Jl(g,1),g!==null&&(Ni(g,1,C),Qu(g,C))}function al(g,C){if(g.tag===3)Rf(g,g,C);else for(var j=g.return;j!==null;){if(j.tag===3){Rf(j,g,C);break}else if(j.tag===1){var ve=j.stateNode;if(typeof j.type.getDerivedStateFromError=="function"||typeof ve.componentDidCatch=="function"&&(so===null||!so.has(ve))){g=lu(C,g);var Re=Vl(j,g,1);if(Po(j,Re),Re=mu(),j=Jl(j,1),j!==null)Ni(j,1,Re),Qu(j,Re);else if(typeof ve.componentDidCatch=="function"&&(so===null||!so.has(ve)))try{ve.componentDidCatch(C,g)}catch(st){}break}}j=j.return}}function Hf(g,C,j){var ve=g.pingCache;ve!==null&&ve.delete(C),C=mu(),g.pingedLanes|=g.suspendedLanes&j,sn===g&&(mn&j)===j&&(Ga===4||Ga===3&&(mn&62914560)===mn&&500>Ct()-vc?Oa(g,0):Mc|=j),Qu(g,C)}function qu(g,C){var j=g.stateNode;j!==null&&j.delete(C),C=0,C===0&&(C=g.mode,C&2?C&4?(Rl===0&&(Rl=Ss),C=In(62914560&~Rl),C===0&&(C=4194304)):C=Ut()===99?1:2:C=1),j=mu(),g=Jl(g,C),g!==null&&(Ni(g,C,j),Qu(g,j))}var uf;uf=function(g,C,j){var ve=C.lanes;if(g!==null)if(g.memoizedProps!==C.pendingProps||ye.current)ju=!0;else if(j&ve)ju=!!(g.flags&16384);else{switch(ju=!1,C.tag){case 3:Ku(C),Zc();break;case 5:di(C);break;case 1:rn(C.type)&&si(C);break;case 4:Sc(C,C.stateNode.containerInfo);break;case 10:ve=C.memoizedProps.value;var Re=C.type._context;us(Fi,Re._currentValue),Re._currentValue=ve;break;case 13:if(C.memoizedState!==null)return j&C.child.childLanes?fc(g,C,j):(us(Io,Io.current&1),C=nl(g,C,j),C!==null?C.sibling:null);us(Io,Io.current&1);break;case 19:if(ve=(j&C.childLanes)!==0,g.flags&64){if(ve)return hl(g,C,j);C.flags|=64}if(Re=C.memoizedState,Re!==null&&(Re.rendering=null,Re.tail=null,Re.lastEffect=null),us(Io,Io.current),ve)break;return null;case 23:case 24:return C.lanes=0,Qc(g,C,j)}return nl(g,C,j)}else ju=!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,Re=Ar(C,La.current),ls(C,j),Re=Pc(null,C,ve,g,Re,j),C.flags|=1,typeof Re=="object"&&Re!==null&&typeof Re.render=="function"&&Re.$$typeof===void 0){if(C.tag=1,C.memoizedState=null,C.updateQueue=null,rn(ve)){var st=!0;si(C)}else st=!1;C.memoizedState=Re.state!==null&&Re.state!==void 0?Re.state:null,Xs(C);var Bt=ve.getDerivedStateFromProps;typeof Bt=="function"&&Fl(C,ve,Bt,g),Re.updater=gl,C.stateNode=Re,Re._reactInternals=C,ll(C,ve,g,j),C=je(null,C,ve,!0,st,j)}else C.tag=0,ho(null,C,Re,j),C=C.child;return C;case 16:Re=C.elementType;e:{switch(g!==null&&(g.alternate=null,C.alternate=null,C.flags|=2),g=C.pendingProps,st=Re._init,Re=st(Re._payload),C.type=Re,st=C.tag=Af(Re),g=ei(Re,g),st){case 0:C=Jo(null,C,Re,g,j);break e;case 1:C=Wl(null,C,Re,g,j);break e;case 11:C=Hl(null,C,Re,g,j);break e;case 14:C=Df(null,C,Re,ei(Re.type,g),ve,j);break e}throw Error(c(306,Re,""))}return C;case 0:return ve=C.type,Re=C.pendingProps,Re=C.elementType===ve?Re:ei(ve,Re),Jo(g,C,ve,Re,j);case 1:return ve=C.type,Re=C.pendingProps,Re=C.elementType===ve?Re:ei(ve,Re),Wl(g,C,ve,Re,j);case 3:if(Ku(C),ve=C.updateQueue,g===null||ve===null)throw Error(c(282));if(ve=C.pendingProps,Re=C.memoizedState,Re=Re!==null?Re.element:null,Ai(g,C),eo(C,ve,null,j),ve=C.memoizedState.element,ve===Re)Zc(),C=nl(g,C,j);else{if(Re=C.stateNode,(st=Re.hydrate)&&(Sl=Si(C.stateNode.containerInfo.firstChild),wu=C,st=Eo=!0),st){if(g=Re.mutableSourceEagerHydrationData,g!=null)for(Re=0;Re<g.length;Re+=2)st=g[Re],st._workInProgressVersionPrimary=g[Re+1],au.push(st);for(j=Nl(C,null,ve,j),C.child=j;j;)j.flags=j.flags&-3|1024,j=j.sibling}else ho(g,C,ve,j),Zc();C=C.child}return C;case 5:return di(C),g===null&&Us(C),ve=C.type,Re=C.pendingProps,st=g!==null?g.memoizedProps:null,Bt=Re.children,Xi(ve,Re)?Bt=null:st!==null&&Xi(ve,st)&&(C.flags|=16),dl(g,C),ho(g,C,Bt,j),C.child;case 6:return g===null&&Us(C),null;case 13:return fc(g,C,j);case 4:return Sc(C,C.stateNode.containerInfo),ve=C.pendingProps,g===null?C.child=nu(C,null,ve,j):ho(g,C,ve,j),C.child;case 11:return ve=C.type,Re=C.pendingProps,Re=C.elementType===ve?Re:ei(ve,Re),Hl(g,C,ve,Re,j);case 7:return ho(g,C,C.pendingProps,j),C.child;case 8:return ho(g,C,C.pendingProps.children,j),C.child;case 12:return ho(g,C,C.pendingProps.children,j),C.child;case 10:e:{ve=C.type._context,Re=C.pendingProps,Bt=C.memoizedProps,st=Re.value;var ir=C.type._context;if(us(Fi,ir._currentValue),ir._currentValue=st,Bt!==null)if(ir=Bt.value,st=Wn(ir,st)?0:(typeof ve._calculateChangedBits=="function"?ve._calculateChangedBits(ir,st):1073741823)|0,st===0){if(Bt.children===Re.children&&!ye.current){C=nl(g,C,j);break e}}else for(ir=C.child,ir!==null&&(ir.return=C);ir!==null;){var Dr=ir.dependencies;if(Dr!==null){Bt=ir.child;for(var _n=Dr.firstContext;_n!==null;){if(_n.context===ve&&_n.observedBits&st){ir.tag===1&&(_n=Ro(-1,j&-j),_n.tag=2,Po(ir,_n)),ir.lanes|=j,_n=ir.alternate,_n!==null&&(_n.lanes|=j),js(ir.return,j),Dr.lanes|=j;break}_n=_n.next}}else Bt=ir.tag===10&&ir.type===C.type?null:ir.child;if(Bt!==null)Bt.return=ir;else for(Bt=ir;Bt!==null;){if(Bt===C){Bt=null;break}if(ir=Bt.sibling,ir!==null){ir.return=Bt.return,Bt=ir;break}Bt=Bt.return}ir=Bt}ho(g,C,Re.children,j),C=C.child}return C;case 9:return Re=C.type,st=C.pendingProps,ve=st.children,ls(C,j),Re=ha(Re,st.unstable_observedBits),ve=ve(Re),C.flags|=1,ho(g,C,ve,j),C.child;case 14:return Re=C.type,st=ei(Re,C.pendingProps),st=ei(Re.type,st),Df(g,C,Re,st,ve,j);case 15:return kc(g,C,C.type,C.pendingProps,ve,j);case 17:return ve=C.type,Re=C.pendingProps,Re=C.elementType===ve?Re:ei(ve,Re),g!==null&&(g.alternate=null,C.alternate=null,C.flags|=2),C.tag=1,rn(ve)?(g=!0,si(C)):g=!1,ls(C,j),Eu(C,ve,Re),ll(C,ve,Re,j),je(null,C,ve,!0,g,j);case 19:return hl(g,C,j);case 23:return Qc(g,C,j);case 24:return Qc(g,C,j)}throw Error(c(156,C.tag))};function Lf(g,C,j,ve){this.tag=g,this.key=j,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 Go(g,C,j,ve){return new Lf(g,C,j,ve)}function Sf(g){return g=g.prototype,!(!g||!g.isReactComponent)}function Af(g){if(typeof g=="function")return Sf(g)?1:0;if(g!=null){if(g=g.$$typeof,g===J)return 11;if(g===ee)return 14}return 2}function vl(g,C){var j=g.alternate;return j===null?(j=Go(g.tag,C,g.key,g.mode),j.elementType=g.elementType,j.type=g.type,j.stateNode=g.stateNode,j.alternate=g,g.alternate=j):(j.pendingProps=C,j.type=g.type,j.flags=0,j.nextEffect=null,j.firstEffect=null,j.lastEffect=null),j.childLanes=g.childLanes,j.lanes=g.lanes,j.child=g.child,j.memoizedProps=g.memoizedProps,j.memoizedState=g.memoizedState,j.updateQueue=g.updateQueue,C=g.dependencies,j.dependencies=C===null?null:{lanes:C.lanes,firstContext:C.firstContext},j.sibling=g.sibling,j.index=g.index,j.ref=g.ref,j}function $c(g,C,j,ve,Re,st){var Bt=2;if(ve=g,typeof g=="function")Sf(g)&&(Bt=1);else if(typeof g=="string")Bt=5;else e:switch(g){case H:return fu(j.children,Re,st,C);case $:Bt=8,Re|=16;break;case ae:Bt=8,Re|=1;break;case ne:return g=Go(12,j,C,Re|8),g.elementType=ne,g.type=ne,g.lanes=st,g;case V:return g=Go(13,j,C,Re),g.type=V,g.elementType=V,g.lanes=st,g;case se:return g=Go(19,j,C,Re),g.elementType=se,g.lanes=st,g;case ie:return Mf(j,Re,st,C);case _e:return g=Go(24,j,C,Re),g.elementType=_e,g.lanes=st,g;default:if(typeof g=="object"&&g!==null)switch(g.$$typeof){case oe:Bt=10;break e;case q:Bt=9;break e;case J:Bt=11;break e;case ee:Bt=14;break e;case Q:Bt=16,ve=null;break e;case ue:Bt=22;break e}throw Error(c(130,g==null?g:typeof g,""))}return C=Go(Bt,j,C,Re),C.elementType=g,C.type=ve,C.lanes=st,C}function fu(g,C,j,ve){return g=Go(7,g,ve,C),g.lanes=j,g}function Mf(g,C,j,ve){return g=Go(23,g,ve,C),g.elementType=ie,g.lanes=j,g}function Ff(g,C,j){return g=Go(6,g,null,C),g.lanes=j,g}function lf(g,C,j){return C=Go(4,g.children!==null?g.children:[],g.key,C),C.lanes=j,C.stateNode={containerInfo:g.containerInfo,pendingChildren:null,implementation:g.implementation},C}function cf(g,C,j){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=j,this.callbackNode=null,this.callbackPriority=0,this.eventTimes=Ia(0),this.expirationTimes=Ia(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Ia(0),this.mutableSourceEagerHydrationData=null}function Cf(g,C,j){var ve=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:G,key:ve==null?null:""+ve,children:g,containerInfo:C,implementation:j}}function Tf(g,C,j,ve){var Re=C.current,st=mu(),Bt=xl(Re);e:if(j){j=j._reactInternals;t:{if(nn(j)!==j||j.tag!==1)throw Error(c(170));var ir=j;do{switch(ir.tag){case 3:ir=ir.stateNode.context;break t;case 1:if(rn(ir.type)){ir=ir.stateNode.__reactInternalMemoizedMergedChildContext;break t}}ir=ir.return}while(ir!==null);throw Error(c(171))}if(j.tag===1){var Dr=j.type;if(rn(Dr)){j=Dn(j,Dr,ir);break e}}j=ir}else j=$s;return C.context===null?C.context=j:C.pendingContext=j,C=Ro(st,Bt),C.payload={element:g},ve=ve===void 0?null:ve,ve!==null&&(C.callback=ve),Po(Re,C),ql(Re,Bt,st),Bt}function Yf(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 qf(g,C){if(g=g.memoizedState,g!==null&&g.dehydrated!==null){var j=g.retryLane;g.retryLane=j!==0&&j<C?j:C}}function Bf(g,C){qf(g,C),(g=g.alternate)&&qf(g,C)}function nd(){return null}function Xf(g,C,j){var ve=j!=null&&j.hydrationOptions!=null&&j.hydrationOptions.mutableSources||null;if(j=new cf(g,C,j!=null&&j.hydrate===!0),C=Go(3,null,null,C===2?7:C===1?3:0),j.current=C,C.stateNode=j,Xs(C),g[Hi]=j.current,Vt(g.nodeType===8?g.parentNode:g),ve)for(g=0;g<ve.length;g++){C=ve[g];var Re=C._getVersion;Re=Re(C._source),j.mutableSourceEagerHydrationData==null?j.mutableSourceEagerHydrationData=[C,Re]:j.mutableSourceEagerHydrationData.push(C,Re)}this._internalRoot=j}Xf.prototype.render=function(g){Tf(g,this._internalRoot,null,null)},Xf.prototype.unmount=function(){var g=this._internalRoot,C=g.containerInfo;Tf(null,g,null,function(){C[Hi]=null})};function Pf(g){return!(!g||g.nodeType!==1&&g.nodeType!==9&&g.nodeType!==11&&(g.nodeType!==8||g.nodeValue!==" react-mount-point-unstable "))}function id(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 j;j=g.lastChild;)g.removeChild(j);return new Xf(g,0,C?{hydrate:!0}:void 0)}function Wf(g,C,j,ve,Re){var st=j._reactRootContainer;if(st){var Bt=st._internalRoot;if(typeof Re=="function"){var ir=Re;Re=function(){var _n=Yf(Bt);ir.call(_n)}}Tf(C,Bt,g,Re)}else{if(st=j._reactRootContainer=id(j,ve),Bt=st._internalRoot,typeof Re=="function"){var Dr=Re;Re=function(){var _n=Yf(Bt);Dr.call(_n)}}Ba(function(){Tf(C,Bt,g,Re)})}return Yf(Bt)}yn=function(g){if(g.tag===13){var C=mu();ql(g,4,C),Bf(g,4)}},Gn=function(g){if(g.tag===13){var C=mu();ql(g,67108864,C),Bf(g,67108864)}},fi=function(g){if(g.tag===13){var C=mu(),j=xl(g);ql(g,j,C),Bf(g,j)}},Xn=function(g,C){return C()},wt=function(g,C,j){switch(C){case"input":if(ge(g,j),C=j.name,j.type==="radio"&&C!=null){for(j=g;j.parentNode;)j=j.parentNode;for(j=j.querySelectorAll("input[name="+JSON.stringify(""+C)+'][type="radio"]'),C=0;C<j.length;C++){var ve=j[C];if(ve!==g&&ve.form===g.form){var Re=ps(ve);if(!Re)throw Error(c(90));nt(ve),ge(ve,Re)}}}break;case"textarea":Wt(g,j);break;case"select":C=j.value,C!=null&&rt(g,!!j.multiple,C,!1)}},Lt=Wi,Fe=function(g,C,j,ve,Re){var st=ke;ke|=4;try{return It(98,g.bind(null,C,j,ve,Re))}finally{ke=st,ke===0&&(Dl(),un())}},Or=function(){!(ke&49)&&(ti(),tc())},St=function(g,C){var j=ke;ke|=2;try{return g(C)}finally{ke=j,ke===0&&(Dl(),un())}};function Jf(g,C){var j=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!Pf(C))throw Error(c(200));return Cf(g,C,null,j)}var ad={Events:[hs,xo,ps,Ye,mt,tc,{current:!1}]},ff={findFiberByHostInstance:qa,bundleType:0,version:"17.0.2",rendererPackageName:"react-dom"},sd={bundleType:ff.bundleType,version:ff.version,rendererPackageName:ff.rendererPackageName,rendererConfig:ff.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:N.ReactCurrentDispatcher,findHostInstanceByFiber:function(g){return g=cr(g),g===null?null:g.stateNode},findFiberByHostInstance:ff.findFiberByHostInstance||nd,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__!="undefined"){var df=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!df.isDisabled&&df.supportsFiber)try{jn=df.inject(sd),Mn=df}catch(g){}}v.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=ad,v.createPortal=Jf,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=cr(C),g=g===null?null:g.stateNode,g},v.flushSync=function(g,C){var j=ke;if(j&48)return g(C);ke|=1;try{if(g)return It(99,g.bind(null,C))}finally{ke=j,un()}},v.hydrate=function(g,C,j){if(!Pf(C))throw Error(c(200));return Wf(null,g,C,!0,j)},v.render=function(g,C,j){if(!Pf(C))throw Error(c(200));return Wf(null,g,C,!1,j)},v.unmountComponentAtNode=function(g){if(!Pf(g))throw Error(c(40));return g._reactRootContainer?(Ba(function(){Wf(null,null,g,!1,function(){g._reactRootContainer=null,g[Hi]=null})}),!0):!1},v.unstable_batchedUpdates=Wi,v.unstable_createPortal=function(g,C){return Jf(g,C,2<arguments.length&&arguments[2]!==void 0?arguments[2]:null)},v.unstable_renderSubtreeIntoContainer=function(g,C,j,ve){if(!Pf(j))throw Error(c(200));if(g==null||g._reactInternals===void 0)throw Error(c(38));return Wf(g,C,j,!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 P(B){if(typeof B=="object"&&B!==null){var N=B.$$typeof;switch(N){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 N}}case i:return N}}}function M(B){return P(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)||P(B)===u},v.isConcurrentMode=M,v.isContextConsumer=function(B){return P(B)===h},v.isContextProvider=function(B){return P(B)===o},v.isElement=function(B){return typeof B=="object"&&B!==null&&B.$$typeof===r},v.isForwardRef=function(B){return P(B)===x},v.isFragment=function(B){return P(B)===l},v.isLazy=function(B){return P(B)===b},v.isMemo=function(B){return P(B)===_},v.isPortal=function(B){return P(B)===i},v.isProfiler=function(B){return P(B)===f},v.isStrictMode=function(B){return P(B)===c},v.isSuspense=function(B){return P(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=P},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 P=1;P<arguments.length;P++){var M=arguments[P];for(var B in M)Object.prototype.hasOwnProperty.call(M,B)&&(A[B]=M[B])}return A},c.apply(this,arguments)}function f(A,P){if(A==null)return{};var M={},B=Object.keys(A),N,K;for(K=0;K<B.length;K++)N=B[K],!(P.indexOf(N)>=0)&&(M[N]=A[N]);return M}const o=["onClick","reloadDocument","replace","state","target","to"],h=null;function u(A,P){if(!A){typeof console!="undefined"&&console.warn(P);try{throw new Error(P)}catch(M){}}}function a(A){let{basename:P,children:M,window:B}=A,N=useRef();N.current==null&&(N.current=createBrowserHistory({window:B}));let K=N.current,[G,H]=useState({action:K.action,location:K.location});return useLayoutEffect(()=>K.listen(H),[K]),createElement(Router,{basename:P,children:M,location:G.location,navigationType:G.action,navigator:K})}function x(A){let{basename:P,children:M,window:B}=A,N=useRef();N.current==null&&(N.current=createHashHistory({window:B}));let K=N.current,[G,H]=useState({action:K.action,location:K.location});return useLayoutEffect(()=>K.listen(H),[K]),createElement(Router,{basename:P,children:M,location:G.location,navigationType:G.action,navigator:K})}function p(A){let{basename:P,children:M,history:B}=A;const[N,K]=useState({action:B.action,location:B.location});return useLayoutEffect(()=>B.listen(K),[B]),createElement(Router,{basename:P,children:M,location:N.location,navigationType:N.action,navigator:B})}function y(A){return!!(A.metaKey||A.altKey||A.ctrlKey||A.shiftKey)}const _=(0,r.forwardRef)(function(P,M){let{onClick:B,reloadDocument:N,replace:K=!1,state:G,target:H,to:ae}=P,ne=f(P,o),oe=(0,i.oQ)(ae),q=S(ae,{replace:K,state:G,target:H});function J(V){B&&B(V),!V.defaultPrevented&&!N&&q(V)}return(0,r.createElement)("a",c({},ne,{href:oe,onClick:J,ref:M,target:H}))}),b=null;function S(A,P){let{target:M,replace:B,state:N}=P===void 0?{}:P,K=(0,i.s0)(),G=(0,i.TH)(),H=(0,i.WU)(A);return(0,r.useCallback)(ae=>{if(ae.button===0&&(!M||M==="_self")&&!y(ae)){ae.preventDefault();let ne=!!B||(0,l.Ep)(G)===(0,l.Ep)(H);K(A,{replace:ne,state:N})}},[G,K,H,B,N,M,A])}function k(A){let P=(0,r.useRef)(R(A)),M=(0,i.TH)(),B=(0,r.useMemo)(()=>{let G=R(M.search);for(let H of P.current.keys())G.has(H)||P.current.getAll(H).forEach(ae=>{G.append(H,ae)});return G},[M.search]),N=(0,i.s0)(),K=(0,r.useCallback)((G,H)=>{N("?"+R(G),H)},[N]);return[B,K]}function R(A){return A===void 0&&(A=""),new URLSearchParams(typeof A=="string"||Array.isArray(A)||A instanceof URLSearchParams?A:Object.keys(A).reduce((P,M)=>{let B=A[M];return P.concat(Array.isArray(B)?B.map(N=>[M,N]):[[M,B]])},[]))}},35338:function(d,v,e){"use strict";e.d(v,{F0:function(){return nt},Fg:function(){return Ge},Gn:function(){return x},TH:function(){return ie},UO:function(){return gt},V$:function(){return rr},WU:function(){return Dt},bx:function(){return Ne},fp:function(){return p},j3:function(){return Tt},oQ:function(){return U},s0:function(){return De}});var r=e(19340),i=e(59301);const l=(0,i.createContext)(null),c=(0,i.createContext)(null),f=(0,i.createContext)({outlet:null,matches:[]});function o(ze,ge){if(!ze)throw new Error(ge)}function h(ze,ge){if(!ze){typeof console!="undefined"&&console.warn(ge);try{throw new Error(ge)}catch(Se){}}}const u={};function a(ze,ge,Se){!ge&&!u[ze]&&(u[ze]=!0)}function x(ze,ge){return ge===void 0&&(ge={}),ze.replace(/:(\w+)/g,(Se,Le)=>(ge[Le]==null&&o(!1),ge[Le])).replace(/\/*\*$/,Se=>ge["*"]==null?"":ge["*"].replace(/^\/*/,"/"))}function p(ze,ge,Se){Se===void 0&&(Se="/");let Le=typeof ge=="string"?(0,r.cP)(ge):ge,$e=V(Le.pathname||"/",Se);if($e==null)return null;let We=y(ze);_(We);let rt=null;for(let ot=0;rt==null&&ot<We.length;++ot)rt=K(We[ot],$e);return rt}function y(ze,ge,Se,Le){return ge===void 0&&(ge=[]),Se===void 0&&(Se=[]),Le===void 0&&(Le=""),ze.forEach(($e,We)=>{let rt={relativePath:$e.path||"",caseSensitive:$e.caseSensitive===!0,childrenIndex:We,route:$e};rt.relativePath.startsWith("/")&&(rt.relativePath.startsWith(Le)||o(!1),rt.relativePath=rt.relativePath.slice(Le.length));let ot=se([Le,rt.relativePath]),Kt=Se.concat(rt);$e.children&&$e.children.length>0&&($e.index===!0&&o(!1),y($e.children,ge,Kt,ot)),!($e.path==null&&!$e.index)&&ge.push({path:ot,score:B(ot,$e.index),routesMeta:Kt})}),ge}function _(ze){ze.sort((ge,Se)=>ge.score!==Se.score?Se.score-ge.score:N(ge.routesMeta.map(Le=>Le.childrenIndex),Se.routesMeta.map(Le=>Le.childrenIndex)))}const b=/^:\w+$/,S=3,k=2,R=1,A=10,P=-2,M=ze=>ze==="*";function B(ze,ge){let Se=ze.split("/"),Le=Se.length;return Se.some(M)&&(Le+=P),ge&&(Le+=k),Se.filter($e=>!M($e)).reduce(($e,We)=>$e+(b.test(We)?S:We===""?R:A),Le)}function N(ze,ge){return ze.length===ge.length&&ze.slice(0,-1).every((Le,$e)=>Le===ge[$e])?ze[ze.length-1]-ge[ge.length-1]:0}function K(ze,ge){let{routesMeta:Se}=ze,Le={},$e="/",We=[];for(let rt=0;rt<Se.length;++rt){let ot=Se[rt],Kt=rt===Se.length-1,Wt=$e==="/"?ge:ge.slice($e.length)||"/",Ce=G({path:ot.relativePath,caseSensitive:ot.caseSensitive,end:Kt},Wt);if(!Ce)return null;Object.assign(Le,Ce.params);let Je=ot.route;We.push({params:Le,pathname:se([$e,Ce.pathname]),pathnameBase:ee(se([$e,Ce.pathnameBase])),route:Je}),Ce.pathnameBase!=="/"&&($e=se([$e,Ce.pathnameBase]))}return We}function G(ze,ge){typeof ze=="string"&&(ze={path:ze,caseSensitive:!1,end:!0});let[Se,Le]=H(ze.path,ze.caseSensitive,ze.end),$e=ge.match(Se);if(!$e)return null;let We=$e[0],rt=We.replace(/(.)\/+$/,"$1"),ot=$e.slice(1);return{params:Le.reduce((Wt,Ce,Je)=>{if(Ce==="*"){let Yt=ot[Je]||"";rt=We.slice(0,We.length-Yt.length).replace(/(.)\/+$/,"$1")}return Wt[Ce]=ae(ot[Je]||"",Ce),Wt},{}),pathname:We,pathnameBase:rt,pattern:ze}}function H(ze,ge,Se){ge===void 0&&(ge=!1),Se===void 0&&(Se=!0);let Le=[],$e="^"+ze.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^$?{}|()[\]]/g,"\\$&").replace(/:(\w+)/g,(rt,ot)=>(Le.push(ot),"([^\\/]+)"));return ze.endsWith("*")?(Le.push("*"),$e+=ze==="*"||ze==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):$e+=Se?"\\/*$":"(?:(?=[.~-]|%[0-9A-F]{2})|\\b|\\/|$)",[new RegExp($e,ge?void 0:"i"),Le]}function ae(ze,ge){try{return decodeURIComponent(ze)}catch(Se){return ze}}function ne(ze,ge){ge===void 0&&(ge="/");let{pathname:Se,search:Le="",hash:$e=""}=typeof ze=="string"?(0,r.cP)(ze):ze;return{pathname:Se?Se.startsWith("/")?Se:oe(Se,ge):ge,search:Q(Le),hash:ue($e)}}function oe(ze,ge){let Se=ge.replace(/\/+$/,"").split("/");return ze.split("/").forEach($e=>{$e===".."?Se.length>1&&Se.pop():$e!=="."&&Se.push($e)}),Se.length>1?Se.join("/"):"/"}function q(ze,ge,Se){let Le=typeof ze=="string"?(0,r.cP)(ze):ze,$e=ze===""||Le.pathname===""?"/":Le.pathname,We;if($e==null)We=Se;else{let ot=ge.length-1;if($e.startsWith("..")){let Kt=$e.split("/");for(;Kt[0]==="..";)Kt.shift(),ot-=1;Le.pathname=Kt.join("/")}We=ot>=0?ge[ot]:"/"}let rt=ne(Le,We);return $e&&$e!=="/"&&$e.endsWith("/")&&!rt.pathname.endsWith("/")&&(rt.pathname+="/"),rt}function J(ze){return ze===""||ze.pathname===""?"/":typeof ze=="string"?(0,r.cP)(ze).pathname:ze.pathname}function V(ze,ge){if(ge==="/")return ze;if(!ze.toLowerCase().startsWith(ge.toLowerCase()))return null;let Se=ze.charAt(ge.length);return Se&&Se!=="/"?null:ze.slice(ge.length)||"/"}const se=ze=>ze.join("/").replace(/\/\/+/g,"/"),ee=ze=>ze.replace(/\/+$/,"").replace(/^\/*/,"/"),Q=ze=>!ze||ze==="?"?"":ze.startsWith("?")?ze:"?"+ze,ue=ze=>!ze||ze==="#"?"":ze.startsWith("#")?ze:"#"+ze;function U(ze){$()||o(!1);let{basename:ge,navigator:Se}=(0,i.useContext)(l),{hash:Le,pathname:$e,search:We}=Dt(ze),rt=$e;if(ge!=="/"){let ot=J(ze),Kt=ot!=null&&ot.endsWith("/");rt=$e==="/"?ge+(Kt?"/":""):se([ge,$e])}return Se.createHref({pathname:rt,search:We,hash:Le})}function $(){return(0,i.useContext)(c)!=null}function ie(){return $()||o(!1),(0,i.useContext)(c).location}function _e(){return useContext(c).navigationType}function Pe(ze){$()||o(!1);let{pathname:ge}=ie();return useMemo(()=>G(ze,ge),[ge,ze])}function De(){$()||o(!1);let{basename:ze,navigator:ge}=(0,i.useContext)(l),{matches:Se}=(0,i.useContext)(f),{pathname:Le}=ie(),$e=JSON.stringify(Se.map(ot=>ot.pathnameBase)),We=(0,i.useRef)(!1);return(0,i.useEffect)(()=>{We.current=!0}),(0,i.useCallback)(function(ot,Kt){if(Kt===void 0&&(Kt={}),!We.current)return;if(typeof ot=="number"){ge.go(ot);return}let Wt=q(ot,JSON.parse($e),Le);ze!=="/"&&(Wt.pathname=se([ze,Wt.pathname])),(Kt.replace?ge.replace:ge.push)(Wt,Kt.state)},[ze,ge,$e,Le])}const He=(0,i.createContext)(null);function Ne(){return(0,i.useContext)(He)}function Ft(ze){let ge=(0,i.useContext)(f).outlet;return ge&&(0,i.createElement)(He.Provider,{value:ze},ge)}function gt(){let{matches:ze}=(0,i.useContext)(f),ge=ze[ze.length-1];return ge?ge.params:{}}function Dt(ze){let{matches:ge}=(0,i.useContext)(f),{pathname:Se}=ie(),Le=JSON.stringify(ge.map($e=>$e.pathnameBase));return(0,i.useMemo)(()=>q(ze,JSON.parse(Le),Se),[ze,Le,Se])}function rr(ze,ge){$()||o(!1);let{matches:Se}=(0,i.useContext)(f),Le=Se[Se.length-1],$e=Le?Le.params:{},We=Le?Le.pathname:"/",rt=Le?Le.pathnameBase:"/",ot=Le&&Le.route,Kt=ie(),Wt;if(ge){var Ce;let Ht=typeof ge=="string"?(0,r.cP)(ge):ge;rt==="/"||(Ce=Ht.pathname)!=null&&Ce.startsWith(rt)||o(!1),Wt=Ht}else Wt=Kt;let Je=Wt.pathname||"/",Yt=rt==="/"?Je:Je.slice(rt.length)||"/",kt=p(ze,{pathname:Yt});return Xt(kt&&kt.map(Ht=>Object.assign({},Ht,{params:Object.assign({},$e,Ht.params),pathname:se([rt,Ht.pathname]),pathnameBase:Ht.pathnameBase==="/"?rt:se([rt,Ht.pathnameBase])})),Se)}function Xt(ze,ge){return ge===void 0&&(ge=[]),ze==null?null:ze.reduceRight((Se,Le,$e)=>(0,i.createElement)(f.Provider,{children:Le.route.element!==void 0?Le.route.element:Se,value:{outlet:Se,matches:ge.concat(ze.slice(0,$e+1))}}),null)}function fr(ze){let{basename:ge,children:Se,initialEntries:Le,initialIndex:$e}=ze,We=useRef();We.current==null&&(We.current=createMemoryHistory({initialEntries:Le,initialIndex:$e}));let rt=We.current,[ot,Kt]=useState({action:rt.action,location:rt.location});return useLayoutEffect(()=>rt.listen(Kt),[rt]),createElement(nt,{basename:ge,children:Se,location:ot.location,navigationType:ot.action,navigator:rt})}function Ge(ze){let{to:ge,replace:Se,state:Le}=ze;$()||o(!1);let $e=De();return(0,i.useEffect)(()=>{$e(ge,{replace:Se,state:Le})}),null}function Tt(ze){return Ft(ze.context)}function zt(ze){o(!1)}function nt(ze){let{basename:ge="/",children:Se=null,location:Le,navigationType:$e=r.aU.Pop,navigator:We,static:rt=!1}=ze;$()&&o(!1);let ot=ee(ge),Kt=(0,i.useMemo)(()=>({basename:ot,navigator:We,static:rt}),[ot,We,rt]);typeof Le=="string"&&(Le=(0,r.cP)(Le));let{pathname:Wt="/",search:Ce="",hash:Je="",state:Yt=null,key:kt="default"}=Le,Ht=(0,i.useMemo)(()=>{let $t=V(Wt,ot);return $t==null?null:{pathname:$t,search:Ce,hash:Je,state:Yt,key:kt}},[ot,Wt,Ce,Je,Yt,kt]);return Ht==null?null:(0,i.createElement)(l.Provider,{value:Kt},(0,i.createElement)(c.Provider,{children:Se,value:{location:Ht,navigationType:$e}}))}function bt(ze){let{children:ge,location:Se}=ze;return rr(dt(ge),Se)}function dt(ze){let ge=[];return Children.forEach(ze,Se=>{if(!isValidElement(Se))return;if(Se.type===Fragment){ge.push.apply(ge,dt(Se.props.children));return}Se.type!==zt&&o(!1);let Le={caseSensitive:Se.props.caseSensitive,element:Se.props.element,index:Se.props.index,path:Se.props.path};Se.props.children&&(Le.children=dt(Se.props.children)),ge.push(Le)}),ge}function et(ze){return Xt(ze)}},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 ue="https://reactjs.org/docs/error-decoder.html?invariant="+Q,U=1;U<arguments.length;U++)ue+="&args[]="+encodeURIComponent(arguments[U]);return"Minified React error #"+Q+"; visit "+ue+" 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,ue,U){this.props=Q,this.context=ue,this.refs=b,this.updater=U||_}S.prototype.isReactComponent={},S.prototype.setState=function(Q,ue){if(typeof Q!="object"&&typeof Q!="function"&&Q!=null)throw Error(y(85));this.updater.enqueueSetState(this,Q,ue,"setState")},S.prototype.forceUpdate=function(Q){this.updater.enqueueForceUpdate(this,Q,"forceUpdate")};function k(){}k.prototype=S.prototype;function R(Q,ue,U){this.props=Q,this.context=ue,this.refs=b,this.updater=U||_}var A=R.prototype=new k;A.constructor=R,r(A,S.prototype),A.isPureReactComponent=!0;var P={current:null},M=Object.prototype.hasOwnProperty,B={key:!0,ref:!0,__self:!0,__source:!0};function N(Q,ue,U){var $,ie={},_e=null,Pe=null;if(ue!=null)for($ in ue.ref!==void 0&&(Pe=ue.ref),ue.key!==void 0&&(_e=""+ue.key),ue)M.call(ue,$)&&!B.hasOwnProperty($)&&(ie[$]=ue[$]);var De=arguments.length-2;if(De===1)ie.children=U;else if(1<De){for(var He=Array(De),Ne=0;Ne<De;Ne++)He[Ne]=arguments[Ne+2];ie.children=He}if(Q&&Q.defaultProps)for($ in De=Q.defaultProps,De)ie[$]===void 0&&(ie[$]=De[$]);return{$$typeof:i,type:Q,key:_e,ref:Pe,props:ie,_owner:P.current}}function K(Q,ue){return{$$typeof:i,type:Q.type,key:ue,ref:Q.ref,props:Q.props,_owner:Q._owner}}function G(Q){return typeof Q=="object"&&Q!==null&&Q.$$typeof===i}function H(Q){var ue={"=":"=0",":":"=2"};return"$"+Q.replace(/[=:]/g,function(U){return ue[U]})}var ae=/\/+/g;function ne(Q,ue){return typeof Q=="object"&&Q!==null&&Q.key!=null?H(""+Q.key):ue.toString(36)}function oe(Q,ue,U,$,ie){var _e=typeof Q;(_e==="undefined"||_e==="boolean")&&(Q=null);var Pe=!1;if(Q===null)Pe=!0;else switch(_e){case"string":case"number":Pe=!0;break;case"object":switch(Q.$$typeof){case i:case l:Pe=!0}}if(Pe)return Pe=Q,ie=ie(Pe),Q=$===""?"."+ne(Pe,0):$,Array.isArray(ie)?(U="",Q!=null&&(U=Q.replace(ae,"$&/")+"/"),oe(ie,ue,U,"",function(Ne){return Ne})):ie!=null&&(G(ie)&&(ie=K(ie,U+(!ie.key||Pe&&Pe.key===ie.key?"":(""+ie.key).replace(ae,"$&/")+"/")+Q)),ue.push(ie)),1;if(Pe=0,$=$===""?".":$+":",Array.isArray(Q))for(var De=0;De<Q.length;De++){_e=Q[De];var He=$+ne(_e,De);Pe+=oe(_e,ue,U,He,ie)}else if(He=p(Q),typeof He=="function")for(Q=He.call(Q),De=0;!(_e=Q.next()).done;)_e=_e.value,He=$+ne(_e,De++),Pe+=oe(_e,ue,U,He,ie);else if(_e==="object")throw ue=""+Q,Error(y(31,ue==="[object Object]"?"object with keys {"+Object.keys(Q).join(", ")+"}":ue));return Pe}function q(Q,ue,U){if(Q==null)return Q;var $=[],ie=0;return oe(Q,$,"","",function(_e){return ue.call(U,_e,ie++)}),$}function J(Q){if(Q._status===-1){var ue=Q._result;ue=ue(),Q._status=0,Q._result=ue,ue.then(function(U){Q._status===0&&(U=U.default,Q._status=1,Q._result=U)},function(U){Q._status===0&&(Q._status=2,Q._result=U)})}if(Q._status===1)return Q._result;throw Q._result}var V={current:null};function se(){var Q=V.current;if(Q===null)throw Error(y(321));return Q}var ee={ReactCurrentDispatcher:V,ReactCurrentBatchConfig:{transition:0},ReactCurrentOwner:P,IsSomeRendererActing:{current:!1},assign:r};v.Children={map:q,forEach:function(Q,ue,U){q(Q,function(){ue.apply(this,arguments)},U)},count:function(Q){var ue=0;return q(Q,function(){ue++}),ue},toArray:function(Q){return q(Q,function(ue){return ue})||[]},only:function(Q){if(!G(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,ue,U){if(Q==null)throw Error(y(267,Q));var $=r({},Q.props),ie=Q.key,_e=Q.ref,Pe=Q._owner;if(ue!=null){if(ue.ref!==void 0&&(_e=ue.ref,Pe=P.current),ue.key!==void 0&&(ie=""+ue.key),Q.type&&Q.type.defaultProps)var De=Q.type.defaultProps;for(He in ue)M.call(ue,He)&&!B.hasOwnProperty(He)&&($[He]=ue[He]===void 0&&De!==void 0?De[He]:ue[He])}var He=arguments.length-2;if(He===1)$.children=U;else if(1<He){De=Array(He);for(var Ne=0;Ne<He;Ne++)De[Ne]=arguments[Ne+2];$.children=De}return{$$typeof:i,type:Q.type,key:ie,ref:_e,props:$,_owner:Pe}},v.createContext=function(Q,ue){return ue===void 0&&(ue=null),Q={$$typeof:f,_calculateChangedBits:ue,_currentValue:Q,_currentValue2:Q,_threadCount:0,Provider:null,Consumer:null},Q.Provider={$$typeof:c,_context:Q},Q.Consumer=Q},v.createElement=N,v.createFactory=function(Q){var ue=N.bind(null,Q);return ue.type=Q,ue},v.createRef=function(){return{current:null}},v.forwardRef=function(Q){return{$$typeof:o,render:Q}},v.isValidElement=G,v.lazy=function(Q){return{$$typeof:u,_payload:{_status:-1,_result:Q},_init:J}},v.memo=function(Q,ue){return{$$typeof:h,type:Q,compare:ue===void 0?null:ue}},v.useCallback=function(Q,ue){return se().useCallback(Q,ue)},v.useContext=function(Q,ue){return se().useContext(Q,ue)},v.useDebugValue=function(){},v.useEffect=function(Q,ue){return se().useEffect(Q,ue)},v.useImperativeHandle=function(Q,ue,U){return se().useImperativeHandle(Q,ue,U)},v.useLayoutEffect=function(Q,ue){return se().useLayoutEffect(Q,ue)},v.useMemo=function(Q,ue){return se().useMemo(Q,ue)},v.useReducer=function(Q,ue,U){return se().useReducer(Q,ue,U)},v.useRef=function(Q){return se().useRef(Q)},v.useState=function(Q){return se().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 P},MT:function(){return y},UY:function(){return R},md:function(){return B},qC:function(){return M}});var r=e(98506);function i(N){return"Minified Redux error #"+N+"; visit https://redux.js.org/Errors?code="+N+" 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(N){if(typeof N!="object"||N===null)return!1;for(var K=N;Object.getPrototypeOf(K)!==null;)K=Object.getPrototypeOf(K);return Object.getPrototypeOf(N)===K}function h(N){if(N===void 0)return"undefined";if(N===null)return"null";var K=typeof N;switch(K){case"boolean":case"string":case"number":case"symbol":case"function":return K}if(Array.isArray(N))return"array";if(x(N))return"date";if(a(N))return"error";var G=u(N);switch(G){case"Symbol":case"Promise":case"WeakMap":case"WeakSet":case"Map":case"Set":return G}return K.slice(8,-1).toLowerCase().replace(/\s/g,"")}function u(N){return typeof N.constructor=="function"?N.constructor.name:null}function a(N){return N instanceof Error||typeof N.message=="string"&&N.constructor&&typeof N.constructor.stackTraceLimit=="number"}function x(N){return N instanceof Date?!0:typeof N.toDateString=="function"&&typeof N.getDate=="function"&&typeof N.setDate=="function"}function p(N){var K=typeof N;return K}function y(N,K,G){var H;if(typeof K=="function"&&typeof G=="function"||typeof G=="function"&&typeof arguments[3]=="function")throw new Error(i(0));if(typeof K=="function"&&typeof G=="undefined"&&(G=K,K=void 0),typeof G!="undefined"){if(typeof G!="function")throw new Error(i(1));return G(y)(N,K)}if(typeof N!="function")throw new Error(i(2));var ae=N,ne=K,oe=[],q=oe,J=!1;function V(){q===oe&&(q=oe.slice())}function se(){if(J)throw new Error(i(3));return ne}function ee($){if(typeof $!="function")throw new Error(i(4));if(J)throw new Error(i(5));var ie=!0;return V(),q.push($),function(){if(ie){if(J)throw new Error(i(6));ie=!1,V();var Pe=q.indexOf($);q.splice(Pe,1),oe=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,ne=ae(ne,$)}finally{J=!1}for(var ie=oe=q,_e=0;_e<ie.length;_e++){var Pe=ie[_e];Pe()}return $}function ue($){if(typeof $!="function")throw new Error(i(10));ae=$,Q({type:f.REPLACE})}function U(){var $,ie=ee;return $={subscribe:function(Pe){if(typeof Pe!="object"||Pe===null)throw new Error(i(11));function De(){Pe.next&&Pe.next(se())}De();var He=ie(De);return{unsubscribe:He}}},$[l]=function(){return this},$}return Q({type:f.INIT}),H={dispatch:Q,subscribe:ee,getState:se,replaceReducer:ue},H[l]=U,H}var _=null;function b(N){typeof console!="undefined"&&typeof console.error=="function"&&console.error(N);try{throw new Error(N)}catch(K){}}function S(N,K,G,H){var ae=Object.keys(K),ne=G&&G.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(N))return"The "+ne+' has unexpected type of "'+p(N)+'". Expected argument to be an object with the following '+('keys: "'+ae.join('", "')+'"');var oe=Object.keys(N).filter(function(q){return!K.hasOwnProperty(q)&&!H[q]});if(oe.forEach(function(q){H[q]=!0}),!(G&&G.type===f.REPLACE)&&oe.length>0)return"Unexpected "+(oe.length>1?"keys":"key")+" "+('"'+oe.join('", "')+'" found in '+ne+". ")+"Expected to find one of the known reducer keys instead: "+('"'+ae.join('", "')+'". Unexpected keys will be ignored.')}function k(N){Object.keys(N).forEach(function(K){var G=N[K],H=G(void 0,{type:f.INIT});if(typeof H=="undefined")throw new Error(i(12));if(typeof G(void 0,{type:f.PROBE_UNKNOWN_ACTION()})=="undefined")throw new Error(i(13))})}function R(N){for(var K=Object.keys(N),G={},H=0;H<K.length;H++){var ae=K[H];typeof N[ae]=="function"&&(G[ae]=N[ae])}var ne=Object.keys(G),oe,q;try{k(G)}catch(J){q=J}return function(V,se){if(V===void 0&&(V={}),q)throw q;if(0)var ee;for(var Q=!1,ue={},U=0;U<ne.length;U++){var $=ne[U],ie=G[$],_e=V[$],Pe=ie(_e,se);if(typeof Pe=="undefined"){var De=se&&se.type;throw new Error(i(14))}ue[$]=Pe,Q=Q||Pe!==_e}return Q=Q||ne.length!==Object.keys(V).length,Q?ue:V}}function A(N,K){return function(){return K(N.apply(this,arguments))}}function P(N,K){if(typeof N=="function")return A(N,K);if(typeof N!="object"||N===null)throw new Error(i(16));var G={};for(var H in N){var ae=N[H];typeof ae=="function"&&(G[H]=A(ae,K))}return G}function M(){for(var N=arguments.length,K=new Array(N),G=0;G<N;G++)K[G]=arguments[G];return K.length===0?function(H){return H}:K.length===1?K[0]:K.reduce(function(H,ae){return function(){return H(ae.apply(void 0,arguments))}})}function B(){for(var N=arguments.length,K=new Array(N),G=0;G<N;G++)K[G]=arguments[G];return function(H){return function(){var ae=H.apply(void 0,arguments),ne=function(){throw new Error(i(15))},oe={getState:ae.getState,dispatch:function(){return ne.apply(void 0,arguments)}},q=K.map(function(J){return J(oe)});return ne=M.apply(void 0,q)(ae.dispatch),(0,r.Z)((0,r.Z)({},ae),{},{dispatch:ne})}}}},58246:function(d){var v=function(e){"use strict";var r=Object.prototype,i=r.hasOwnProperty,l=Object.defineProperty||function(ee,Q,ue){ee[Q]=ue.value},c,f=typeof Symbol=="function"?Symbol:{},o=f.iterator||"@@iterator",h=f.asyncIterator||"@@asyncIterator",u=f.toStringTag||"@@toStringTag";function a(ee,Q,ue){return Object.defineProperty(ee,Q,{value:ue,enumerable:!0,configurable:!0,writable:!0}),ee[Q]}try{a({},"")}catch(ee){a=function(Q,ue,U){return Q[ue]=U}}function x(ee,Q,ue,U){var $=Q&&Q.prototype instanceof R?Q:R,ie=Object.create($.prototype),_e=new J(U||[]);return l(ie,"_invoke",{value:ae(ee,ue,_e)}),ie}e.wrap=x;function p(ee,Q,ue){try{return{type:"normal",arg:ee.call(Q,ue)}}catch(U){return{type:"throw",arg:U}}}var y="suspendedStart",_="suspendedYield",b="executing",S="completed",k={};function R(){}function A(){}function P(){}var M={};a(M,o,function(){return this});var B=Object.getPrototypeOf,N=B&&B(B(V([])));N&&N!==r&&i.call(N,o)&&(M=N);var K=P.prototype=R.prototype=Object.create(M);A.prototype=P,l(K,"constructor",{value:P,configurable:!0}),l(P,"constructor",{value:A,configurable:!0}),A.displayName=a(P,u,"GeneratorFunction");function G(ee){["next","throw","return"].forEach(function(Q){a(ee,Q,function(ue){return this._invoke(Q,ue)})})}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,P):(ee.__proto__=P,a(ee,u,"GeneratorFunction")),ee.prototype=Object.create(K),ee},e.awrap=function(ee){return{__await:ee}};function H(ee,Q){function ue(ie,_e,Pe,De){var He=p(ee[ie],ee,_e);if(He.type==="throw")De(He.arg);else{var Ne=He.arg,Ft=Ne.value;return Ft&&typeof Ft=="object"&&i.call(Ft,"__await")?Q.resolve(Ft.__await).then(function(gt){ue("next",gt,Pe,De)},function(gt){ue("throw",gt,Pe,De)}):Q.resolve(Ft).then(function(gt){Ne.value=gt,Pe(Ne)},function(gt){return ue("throw",gt,Pe,De)})}}var U;function $(ie,_e){function Pe(){return new Q(function(De,He){ue(ie,_e,De,He)})}return U=U?U.then(Pe,Pe):Pe()}l(this,"_invoke",{value:$})}G(H.prototype),a(H.prototype,h,function(){return this}),e.AsyncIterator=H,e.async=function(ee,Q,ue,U,$){$===void 0&&($=Promise);var ie=new H(x(ee,Q,ue,U),$);return e.isGeneratorFunction(Q)?ie:ie.next().then(function(_e){return _e.done?_e.value:ie.next()})};function ae(ee,Q,ue){var U=y;return function(ie,_e){if(U===b)throw new Error("Generator is already running");if(U===S){if(ie==="throw")throw _e;return se()}for(ue.method=ie,ue.arg=_e;;){var Pe=ue.delegate;if(Pe){var De=ne(Pe,ue);if(De){if(De===k)continue;return De}}if(ue.method==="next")ue.sent=ue._sent=ue.arg;else if(ue.method==="throw"){if(U===y)throw U=S,ue.arg;ue.dispatchException(ue.arg)}else ue.method==="return"&&ue.abrupt("return",ue.arg);U=b;var He=p(ee,Q,ue);if(He.type==="normal"){if(U=ue.done?S:_,He.arg===k)continue;return{value:He.arg,done:ue.done}}else He.type==="throw"&&(U=S,ue.method="throw",ue.arg=He.arg)}}}function ne(ee,Q){var ue=Q.method,U=ee.iterator[ue];if(U===c)return Q.delegate=null,ue==="throw"&&ee.iterator.return&&(Q.method="return",Q.arg=c,ne(ee,Q),Q.method==="throw")||ue!=="return"&&(Q.method="throw",Q.arg=new TypeError("The iterator does not provide a '"+ue+"' method")),k;var $=p(U,ee.iterator,Q.arg);if($.type==="throw")return Q.method="throw",Q.arg=$.arg,Q.delegate=null,k;var ie=$.arg;if(!ie)return Q.method="throw",Q.arg=new TypeError("iterator result is not an object"),Q.delegate=null,k;if(ie.done)Q[ee.resultName]=ie.value,Q.next=ee.nextLoc,Q.method!=="return"&&(Q.method="next",Q.arg=c);else return ie;return Q.delegate=null,k}G(K),a(K,u,"Generator"),a(K,o,function(){return this}),a(K,"toString",function(){return"[object Generator]"});function oe(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(oe,this),this.reset(!0)}e.keys=function(ee){var Q=Object(ee),ue=[];for(var U in Q)ue.push(U);return ue.reverse(),function $(){for(;ue.length;){var ie=ue.pop();if(ie in Q)return $.value=ie,$.done=!1,$}return $.done=!0,$}};function V(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 ue=-1,U=function $(){for(;++ue<ee.length;)if(i.call(ee,ue))return $.value=ee[ue],$.done=!1,$;return $.value=c,$.done=!0,$};return U.next=U}}return{next:se}}e.values=V;function se(){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 ue(De,He){return ie.type="throw",ie.arg=ee,Q.next=De,He&&(Q.method="next",Q.arg=c),!!He}for(var U=this.tryEntries.length-1;U>=0;--U){var $=this.tryEntries[U],ie=$.completion;if($.tryLoc==="root")return ue("end");if($.tryLoc<=this.prev){var _e=i.call($,"catchLoc"),Pe=i.call($,"finallyLoc");if(_e&&Pe){if(this.prev<$.catchLoc)return ue($.catchLoc,!0);if(this.prev<$.finallyLoc)return ue($.finallyLoc)}else if(_e){if(this.prev<$.catchLoc)return ue($.catchLoc,!0)}else if(Pe){if(this.prev<$.finallyLoc)return ue($.finallyLoc)}else throw new Error("try statement without catch or finally")}}},abrupt:function(ee,Q){for(var ue=this.tryEntries.length-1;ue>=0;--ue){var U=this.tryEntries[ue];if(U.tryLoc<=this.prev&&i.call(U,"finallyLoc")&&this.prev<U.finallyLoc){var $=U;break}}$&&(ee==="break"||ee==="continue")&&$.tryLoc<=Q&&Q<=$.finallyLoc&&($=null);var ie=$?$.completion:{};return ie.type=ee,ie.arg=Q,$?(this.method="next",this.next=$.finallyLoc,k):this.complete(ie)},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 ue=this.tryEntries[Q];if(ue.finallyLoc===ee)return this.complete(ue.completion,ue.afterLoc),q(ue),k}},catch:function(ee){for(var Q=this.tryEntries.length-1;Q>=0;--Q){var ue=this.tryEntries[Q];if(ue.tryLoc===ee){var U=ue.completion;if(U.type==="throw"){var $=U.arg;q(ue)}return $}}throw new Error("illegal catch attempt")},delegateYield:function(ee,Q,ue){return this.delegate={iterator:V(ee),resultName:Q,nextLoc:ue},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(V,se){var ee=-1;return V.some(function(Q,ue){return Q[0]===se?(ee=ue,!0):!1}),ee}return function(){function V(){this.__entries__=[]}return Object.defineProperty(V.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),V.prototype.get=function(se){var ee=J(this.__entries__,se),Q=this.__entries__[ee];return Q&&Q[1]},V.prototype.set=function(se,ee){var Q=J(this.__entries__,se);~Q?this.__entries__[Q][1]=ee:this.__entries__.push([se,ee])},V.prototype.delete=function(se){var ee=this.__entries__,Q=J(ee,se);~Q&&ee.splice(Q,1)},V.prototype.has=function(se){return!!~J(this.__entries__,se)},V.prototype.clear=function(){this.__entries__.splice(0)},V.prototype.forEach=function(se,ee){ee===void 0&&(ee=null);for(var Q=0,ue=this.__entries__;Q<ue.length;Q++){var U=ue[Q];se.call(ee,U[1],U[0])}},V}()}(),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,V){var se=!1,ee=!1,Q=0;function ue(){se&&(se=!1,J()),ee&&$()}function U(){c(ue)}function $(){var ie=Date.now();if(se){if(ie-Q<f)return;ee=!0}else se=!0,ee=!1,setTimeout(U,V);Q=ie}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(V){~this.observers_.indexOf(V)||this.observers_.push(V),this.connected_||this.connect_()},J.prototype.removeObserver=function(V){var se=this.observers_,ee=se.indexOf(V);~ee&&se.splice(ee,1),!se.length&&this.connected_&&this.disconnect_()},J.prototype.refresh=function(){var V=this.updateObservers_();V&&this.refresh()},J.prototype.updateObservers_=function(){var V=this.observers_.filter(function(se){return se.gatherActive(),se.hasActive()});return V.forEach(function(se){return se.broadcastActive()}),V.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(V){var se=V.propertyName,ee=se===void 0?"":se,Q=u.some(function(ue){return!!~ee.indexOf(ue)});Q&&this.refresh()},J.getInstance=function(){return this.instance_||(this.instance_=new J),this.instance_},J.instance_=null,J}(),p=function(J,V){for(var se=0,ee=Object.keys(V);se<ee.length;se++){var Q=ee[se];Object.defineProperty(J,Q,{value:V[Q],enumerable:!1,writable:!1,configurable:!0})}return J},y=function(J){var V=J&&J.ownerDocument&&J.ownerDocument.defaultView;return V||l},_=K(0,0,0,0);function b(J){return parseFloat(J)||0}function S(J){for(var V=[],se=1;se<arguments.length;se++)V[se-1]=arguments[se];return V.reduce(function(ee,Q){var ue=J["border-"+Q+"-width"];return ee+b(ue)},0)}function k(J){for(var V=["top","right","bottom","left"],se={},ee=0,Q=V;ee<Q.length;ee++){var ue=Q[ee],U=J["padding-"+ue];se[ue]=b(U)}return se}function R(J){var V=J.getBBox();return K(0,0,V.width,V.height)}function A(J){var V=J.clientWidth,se=J.clientHeight;if(!V&&!se)return _;var ee=y(J).getComputedStyle(J),Q=k(ee),ue=Q.left+Q.right,U=Q.top+Q.bottom,$=b(ee.width),ie=b(ee.height);if(ee.boxSizing==="border-box"&&(Math.round($+ue)!==V&&($-=S(ee,"left","right")+ue),Math.round(ie+U)!==se&&(ie-=S(ee,"top","bottom")+U)),!M(J)){var _e=Math.round($+ue)-V,Pe=Math.round(ie+U)-se;Math.abs(_e)!==1&&($-=_e),Math.abs(Pe)!==1&&(ie-=Pe)}return K(Q.left,Q.top,$,ie)}var P=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?P(J)?R(J):A(J):_}function N(J){var V=J.x,se=J.y,ee=J.width,Q=J.height,ue=typeof DOMRectReadOnly!="undefined"?DOMRectReadOnly:Object,U=Object.create(ue.prototype);return p(U,{x:V,y:se,width:ee,height:Q,top:se,right:V+ee,bottom:Q+se,left:V}),U}function K(J,V,se,ee){return{x:J,y:V,width:se,height:ee}}var G=function(){function J(V){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=K(0,0,0,0),this.target=V}return J.prototype.isActive=function(){var V=B(this.target);return this.contentRect_=V,V.width!==this.broadcastWidth||V.height!==this.broadcastHeight},J.prototype.broadcastRect=function(){var V=this.contentRect_;return this.broadcastWidth=V.width,this.broadcastHeight=V.height,V},J}(),H=function(){function J(V,se){var ee=N(se);p(this,{target:V,contentRect:ee})}return J}(),ae=function(){function J(V,se,ee){if(this.activeObservations_=[],this.observations_=new r,typeof V!="function")throw new TypeError("The callback provided as parameter 1 is not a function.");this.callback_=V,this.controller_=se,this.callbackCtx_=ee}return J.prototype.observe=function(V){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if(!(typeof Element=="undefined"||!(Element instanceof Object))){if(!(V instanceof y(V).Element))throw new TypeError('parameter 1 is not of type "Element".');var se=this.observations_;se.has(V)||(se.set(V,new G(V)),this.controller_.addObserver(this),this.controller_.refresh())}},J.prototype.unobserve=function(V){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if(!(typeof Element=="undefined"||!(Element instanceof Object))){if(!(V instanceof y(V).Element))throw new TypeError('parameter 1 is not of type "Element".');var se=this.observations_;se.has(V)&&(se.delete(V),se.size||this.controller_.removeObserver(this))}},J.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},J.prototype.gatherActive=function(){var V=this;this.clearActive(),this.observations_.forEach(function(se){se.isActive()&&V.activeObservations_.push(se)})},J.prototype.broadcastActive=function(){if(this.hasActive()){var V=this.callbackCtx_,se=this.activeObservations_.map(function(ee){return new H(ee.target,ee.broadcastRect())});this.callback_.call(V,se,V),this.clearActive()}},J.prototype.clearActive=function(){this.activeObservations_.splice(0)},J.prototype.hasActive=function(){return this.activeObservations_.length>0},J}(),ne=typeof WeakMap!="undefined"?new WeakMap:new r,oe=function(){function J(V){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 se=x.getInstance(),ee=new ae(V,se,this);ne.set(this,ee)}return J}();["observe","unobserve","disconnect"].forEach(function(J){oe.prototype[J]=function(){var V;return(V=ne.get(this))[J].apply(V,arguments)}});var q=function(){return typeof l.ResizeObserver!="undefined"?l.ResizeObserver:oe}();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 U=v.unstable_now();h(!0,U),h=null}catch($){throw setTimeout(a,0),$}};e=function(U){h!==null?setTimeout(e,0,U):(h=U,setTimeout(a,0))},r=function(U,$){u=setTimeout(U,$)},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(U){0>U||125<U?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):k=0<U?Math.floor(1e3/U):5};var A=new MessageChannel,P=A.port2;A.port1.onmessage=function(){if(b!==null){var U=v.unstable_now();R=U+k;try{b(!0,U)?P.postMessage(null):(_=!1,b=null)}catch($){throw P.postMessage(null),$}}else _=!1},e=function(U){b=U,_||(_=!0,P.postMessage(null))},r=function(U,$){S=x(function(){U(v.unstable_now())},$)},i=function(){p(S),S=-1}}function M(U,$){var ie=U.length;U.push($);e:for(;;){var _e=ie-1>>>1,Pe=U[_e];if(Pe!==void 0&&0<K(Pe,$))U[_e]=$,U[ie]=Pe,ie=_e;else break e}}function B(U){return U=U[0],U===void 0?null:U}function N(U){var $=U[0];if($!==void 0){var ie=U.pop();if(ie!==$){U[0]=ie;e:for(var _e=0,Pe=U.length;_e<Pe;){var De=2*(_e+1)-1,He=U[De],Ne=De+1,Ft=U[Ne];if(He!==void 0&&0>K(He,ie))Ft!==void 0&&0>K(Ft,He)?(U[_e]=Ft,U[Ne]=ie,_e=Ne):(U[_e]=He,U[De]=ie,_e=De);else if(Ft!==void 0&&0>K(Ft,ie))U[_e]=Ft,U[Ne]=ie,_e=Ne;else break e}}return $}return null}function K(U,$){var ie=U.sortIndex-$.sortIndex;return ie!==0?ie:U.id-$.id}var G=[],H=[],ae=1,ne=null,oe=3,q=!1,J=!1,V=!1;function se(U){for(var $=B(H);$!==null;){if($.callback===null)N(H);else if($.startTime<=U)N(H),$.sortIndex=$.expirationTime,M(G,$);else break;$=B(H)}}function ee(U){if(V=!1,se(U),!J)if(B(G)!==null)J=!0,e(Q);else{var $=B(H);$!==null&&r(ee,$.startTime-U)}}function Q(U,$){J=!1,V&&(V=!1,i()),q=!0;var ie=oe;try{for(se($),ne=B(G);ne!==null&&(!(ne.expirationTime>$)||U&&!v.unstable_shouldYield());){var _e=ne.callback;if(typeof _e=="function"){ne.callback=null,oe=ne.priorityLevel;var Pe=_e(ne.expirationTime<=$);$=v.unstable_now(),typeof Pe=="function"?ne.callback=Pe:ne===B(G)&&N(G),se($)}else N(G);ne=B(G)}if(ne!==null)var De=!0;else{var He=B(H);He!==null&&r(ee,He.startTime-$),De=!1}return De}finally{ne=null,oe=ie,q=!1}}var ue=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(U){U.callback=null},v.unstable_continueExecution=function(){J||q||(J=!0,e(Q))},v.unstable_getCurrentPriorityLevel=function(){return oe},v.unstable_getFirstCallbackNode=function(){return B(G)},v.unstable_next=function(U){switch(oe){case 1:case 2:case 3:var $=3;break;default:$=oe}var ie=oe;oe=$;try{return U()}finally{oe=ie}},v.unstable_pauseExecution=function(){},v.unstable_requestPaint=ue,v.unstable_runWithPriority=function(U,$){switch(U){case 1:case 2:case 3:case 4:case 5:break;default:U=3}var ie=oe;oe=U;try{return $()}finally{oe=ie}},v.unstable_scheduleCallback=function(U,$,ie){var _e=v.unstable_now();switch(typeof ie=="object"&&ie!==null?(ie=ie.delay,ie=typeof ie=="number"&&0<ie?_e+ie:_e):ie=_e,U){case 1:var Pe=-1;break;case 2:Pe=250;break;case 5:Pe=1073741823;break;case 4:Pe=1e4;break;default:Pe=5e3}return Pe=ie+Pe,U={id:ae++,callback:$,priorityLevel:U,startTime:ie,expirationTime:Pe,sortIndex:-1},ie>_e?(U.sortIndex=ie,M(H,U),B(G)===null&&U===B(H)&&(V?i():V=!0,r(ee,ie-_e))):(U.sortIndex=Pe,M(G,U),J||q||(J=!0,e(Q))),U},v.unstable_wrapCallback=function(U){var $=oe;return function(){var ie=oe;oe=$;try{return U.apply(this,arguments)}finally{oe=ie}}}},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(K){if(!P){if(P=!0,M=K,K=_(K),b!==void 0&&k.hasValue){var G=k.value;if(b(G,K))return B=G}return B=K}if(G=B,c(M,K))return G;var H=_(K);return b!==void 0&&b(G,H)?(M=K,G):(M=K,B=H)}var P=!1,M,B,N=y===void 0?null:y;return[function(){return A(p())},N===null?void 0:function(){return A(N())}]},[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(){},45689:function(d){function v(e,r){this.v=e,this.k=r}d.exports=v,d.exports.__esModule=!0,d.exports.default=d.exports},76400:function(d,v,e){var r=e(72952);function i(){var l,c,f=typeof Symbol=="function"?Symbol:{},o=f.iterator||"@@iterator",h=f.toStringTag||"@@toStringTag";function u(k,R,A,P){var M=R&&R.prototype instanceof x?R:x,B=Object.create(M.prototype);return r(B,"_invoke",function(N,K,G){var H,ae,ne,oe=0,q=G||[],J=!1,V={p:0,n:0,v:l,a:se,f:se.bind(l,4),d:function(Q,ue){return H=Q,ae=0,ne=l,V.n=ue,a}};function se(ee,Q){for(ae=ee,ne=Q,c=0;!J&&oe&&!ue&&c<q.length;c++){var ue,U=q[c],$=V.p,ie=U[2];ee>3?(ue=ie===Q)&&(ne=U[(ae=U[4])?5:(ae=3,3)],U[4]=U[5]=l):U[0]<=$&&((ue=ee<2&&$<U[1])?(ae=0,V.v=Q,V.n=U[1]):$<ie&&(ue=ee<3||U[0]>Q||Q>ie)&&(U[4]=ee,U[5]=Q,V.n=ie,ae=0))}if(ue||ee>1)return a;throw J=!0,Q}return function(ee,Q,ue){if(oe>1)throw TypeError("Generator is already running");for(J&&Q===1&&se(Q,ue),ae=Q,ne=ue;(c=ae<2?l:ne)||!J;){H||(ae?ae<3?(ae>1&&(V.n=-1),se(ae,ne)):V.n=ne:V.v=ne);try{if(oe=2,H){if(ae||(ee="next"),c=H[ee]){if(!(c=c.call(H,ne)))throw TypeError("iterator result is not an object");if(!c.done)return c;ne=c.value,ae<2&&(ae=0)}else ae===1&&(c=H.return)&&c.call(H),ae<2&&(ne=TypeError("The iterator does not provide a '"+ee+"' method"),ae=1);H=l}else if((c=(J=V.n<0)?ne:N.call(K,V))!==a)break}catch(U){H=l,ae=1,ne=U}finally{oe=1}}return{value:c,done:J}}}(k,A,P),!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},94877:function(d,v,e){var r=e(42730);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},42730:function(d,v,e){var r=e(76400),i=e(18857);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},18857:function(d,v,e){var r=e(45689),i=e(72952);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},72952: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){function x(p,y){v(o,p,function(_){return this._invoke(p,y,_)})}h?c?c(o,h,{value:u,enumerable:!a,configurable:!a,writable:!a}):o[h]=u:(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},41589: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},20872:function(d,v,e){var r=e(45689),i=e(76400),l=e(94877),c=e(42730),f=e(18857),o=e(41589),h=e(93825);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,N){return k.resultName=B,R(A.d,h(M),N)},finish:function(M){return R(A.f,M)}},R=function(M,B,N){A.p=k.prev,A.n=k.next;try{return M(B,N)}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,P,M){return a.w(b(R),A,P,M&&M.reverse())},isGeneratorFunction:y,mark:a.m,awrap:function(R,A){return new r(R,A)},AsyncIterator:f,async:function(R,A,P,M,B){return(y(A)?c:l)(b(R),A,P,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},93825:function(d,v,e){var r=e(46218).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},46218: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},9478:function(d,v,e){var r=e(20872)();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"),P=i(S.getInt8),M=i(S.setInt8);d.exports=(u||h)&&function(B,N,K){var G=o(B),H=N===void 0?G:c(N),ae=!R||!R(B),ne;if(f(B))throw new y("ArrayBuffer is detached");if(u&&(B=a(B,{transfer:[B]}),G===H&&(K||ae)))return B;if(G>=H&&(!K||ae))ne=k(B,0,H);else{var oe=K&&!ae&&A?{maxByteLength:A(B)}:void 0;ne=new x(H,oe);for(var q=new p(B),J=new p(ne),V=_(H,G),se=0;se<V;se++)M(J,se,P(q,se))}return u||h(B),ne}},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,P=R.get,M=l.Int8Array,B=M&&M.prototype,N=l.Uint8ClampedArray,K=N&&N.prototype,G=M&&_(M),H=B&&_(B),ae=Object.prototype,ne=l.TypeError,oe=S("toStringTag"),q=k("TYPED_ARRAY_TAG"),J="TypedArrayConstructor",V=r&&!!b&&h(l.opera)!=="Opera",se=!1,ee,Q,ue,U={Int8Array:1,Uint8Array:1,Uint8ClampedArray:1,Int16Array:2,Uint16Array:2,Int32Array:4,Uint32Array:4,Float32Array:4,Float64Array:8},$={BigInt64Array:8,BigUint64Array:8},ie=function(Dt){if(!f(Dt))return!1;var rr=h(Dt);return rr==="DataView"||o(U,rr)||o($,rr)},_e=function(gt){var Dt=_(gt);if(f(Dt)){var rr=P(Dt);return rr&&o(rr,J)?rr[J]:_e(Dt)}},Pe=function(gt){if(!f(gt))return!1;var Dt=h(gt);return o(U,Dt)||o($,Dt)},De=function(gt){if(Pe(gt))return gt;throw new ne("Target is not a typed array")},He=function(gt){if(c(gt)&&(!b||y(G,gt)))return gt;throw new ne(u(gt)+" is not a typed array constructor")},Ne=function(gt,Dt,rr,Xt){if(i){if(rr)for(var fr in U){var Ge=l[fr];if(Ge&&o(Ge.prototype,gt))try{delete Ge.prototype[gt]}catch(Tt){try{Ge.prototype[gt]=Dt}catch(zt){}}}(!H[gt]||rr)&&x(H,gt,rr?Dt:V&&B[gt]||Dt,Xt)}},Ft=function(gt,Dt,rr){var Xt,fr;if(i){if(b){if(rr){for(Xt in U)if(fr=l[Xt],fr&&o(fr,gt))try{delete fr[gt]}catch(Ge){}}if(!G[gt]||rr)try{return x(G,gt,rr?Dt:V&&G[gt]||Dt)}catch(Ge){}else return}for(Xt in U)fr=l[Xt],fr&&(!fr[gt]||rr)&&x(fr,gt,Dt)}};for(ee in U)Q=l[ee],ue=Q&&Q.prototype,ue?A(ue)[J]=Q:V=!1;for(ee in $)Q=l[ee],ue=Q&&Q.prototype,ue&&(A(ue)[J]=Q);if((!V||!c(G)||G===Function.prototype)&&(G=function(){throw new ne("Incorrect invocation")},V))for(ee in U)l[ee]&&b(l[ee],G);if((!V||!H||H===ae)&&(H=G.prototype,V))for(ee in U)l[ee]&&b(l[ee].prototype,H);if(V&&_(K)!==H&&b(K,H),i&&!o(H,oe)){se=!0,p(H,oe,{configurable:!0,get:function(){return f(this)?this[q]:void 0}});for(ee in U)l[ee]&&a(l[ee],q,ee)}d.exports={NATIVE_ARRAY_BUFFER_VIEWS:V,TYPED_ARRAY_TAG:se&&q,aTypedArray:De,aTypedArrayConstructor:He,exportTypedArrayMethod:Ne,exportTypedArrayStaticMethod:Ft,getTypedArrayConstructor:_e,isView:ie,isTypedArray:Pe,TypedArray:G,TypedArrayPrototype:H}},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,P=e(75202),M=e(71698),B=e(94573),N=e(94844),K=f.PROPER,G=f.CONFIGURABLE,H="ArrayBuffer",ae="DataView",ne="prototype",oe="Wrong length",q="Wrong index",J=N.getterFor(H),V=N.getterFor(ae),se=N.set,ee=r[H],Q=ee,ue=Q&&Q[ne],U=r[ae],$=U&&U[ne],ie=Object.prototype,_e=r.Array,Pe=r.RangeError,De=i(P),He=i([].reverse),Ne=S.pack,Ft=S.unpack,gt=function(Le){return[Le&255]},Dt=function(Le){return[Le&255,Le>>8&255]},rr=function(Le){return[Le&255,Le>>8&255,Le>>16&255,Le>>24&255]},Xt=function(Le){return Le[3]<<24|Le[2]<<16|Le[1]<<8|Le[0]},fr=function(Le){return Ne(b(Le),23,4)},Ge=function(Le){return Ne(Le,52,8)},Tt=function(Le,$e,We){h(Le[ne],$e,{configurable:!0,get:function(){return We(this)[$e]}})},zt=function(Le,$e,We,rt){var ot=V(Le),Kt=_(We),Wt=!!rt;if(Kt+$e>ot.byteLength)throw new Pe(q);var Ce=ot.bytes,Je=Kt+ot.byteOffset,Yt=M(Ce,Je,Je+$e);return Wt?Yt:He(Yt)},nt=function(Le,$e,We,rt,ot,Kt){var Wt=V(Le),Ce=_(We),Je=rt(+ot),Yt=!!Kt;if(Ce+$e>Wt.byteLength)throw new Pe(q);for(var kt=Wt.bytes,Ht=Ce+Wt.byteOffset,$t=0;$t<$e;$t++)kt[Ht+$t]=Je[Yt?$t:$e-$t-1]};if(!c)Q=function($e){x(this,ue);var We=_($e);se(this,{type:H,bytes:De(_e(We),0),byteLength:We}),l||(this.byteLength=We,this.detached=!1)},ue=Q[ne],U=function($e,We,rt){x(this,$),x($e,ue);var ot=J($e),Kt=ot.byteLength,Wt=p(We);if(Wt<0||Wt>Kt)throw new Pe("Wrong offset");if(rt=rt===void 0?Kt-Wt:y(rt),Wt+rt>Kt)throw new Pe(oe);se(this,{type:ae,buffer:$e,byteLength:rt,byteOffset:Wt,bytes:ot.bytes}),l||(this.buffer=$e,this.byteLength=rt,this.byteOffset=Wt)},$=U[ne],l&&(Tt(Q,"byteLength",J),Tt(U,"buffer",V),Tt(U,"byteLength",V),Tt(U,"byteOffset",V)),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 We=zt(this,2,$e,arguments.length>1?arguments[1]:!1);return(We[1]<<8|We[0])<<16>>16},getUint16:function($e){var We=zt(this,2,$e,arguments.length>1?arguments[1]:!1);return We[1]<<8|We[0]},getInt32:function($e){return Xt(zt(this,4,$e,arguments.length>1?arguments[1]:!1))},getUint32:function($e){return Xt(zt(this,4,$e,arguments.length>1?arguments[1]:!1))>>>0},getFloat32:function($e){return Ft(zt(this,4,$e,arguments.length>1?arguments[1]:!1),23)},getFloat64:function($e){return Ft(zt(this,8,$e,arguments.length>1?arguments[1]:!1),52)},setInt8:function($e,We){nt(this,1,$e,gt,We)},setUint8:function($e,We){nt(this,1,$e,gt,We)},setInt16:function($e,We){nt(this,2,$e,Dt,We,arguments.length>2?arguments[2]:!1)},setUint16:function($e,We){nt(this,2,$e,Dt,We,arguments.length>2?arguments[2]:!1)},setInt32:function($e,We){nt(this,4,$e,rr,We,arguments.length>2?arguments[2]:!1)},setUint32:function($e,We){nt(this,4,$e,rr,We,arguments.length>2?arguments[2]:!1)},setFloat32:function($e,We){nt(this,4,$e,fr,We,arguments.length>2?arguments[2]:!1)},setFloat64:function($e,We){nt(this,8,$e,Ge,We,arguments.length>2?arguments[2]:!1)}});else{var bt=K&&ee.name!==H;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||bt&&!G})){Q=function($e){return x(this,ue),new ee(_($e))},Q[ne]=ue;for(var dt=A(ee),et=0,ze;dt.length>et;)(ze=dt[et++])in Q||o(Q,ze,ee[ze]);ue.constructor=Q}else bt&&G&&o(ee,"name",H);R&&k($)!==ie&&R($,ie);var ge=new U(new Q(2)),Se=i($.setInt8);ge.setInt8(0,2147483648),ge.setInt8(1,2147483649),(ge.getInt8(0)||!ge.getInt8(1))&&u($,{setInt8:function($e,We){Se(this,$e,We<<24>>24)},setUint8:function($e,We){Se(this,$e,We<<24>>24)}},{unsafe:!0})}B(Q,H),B(U,ae),d.exports={ArrayBuffer:Q,DataView:U}},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 P(this)},P=function(M){this.iterator=k(M)};P.prototype.next=function(){return R(this.iterator)},d.exports=function(B){var N=this,K=arguments.length,G=K>1?arguments[1]:void 0,H=K>2?arguments[2]:void 0;return new(x("Promise"))(function(ae){var ne=l(B);G!==void 0&&(G=r(G,H));var oe=a(ne,S),q=oe?void 0:u(ne)||A,J=c(N)?new N:[],V=oe?f(ne,oe):new _(h(o(ne,q)));ae(b(V,G,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 P=x(b),M=0,B,N,K,G,H,ae;if(P&&!(this===p&&f(P)))for(G=a(b,P),H=G.next,N=S?new this:[];!(K=i(H,G)).done;M++)ae=A?c(G,R,[K.value,M],!0):K.value,u(N,M,ae);else for(B=h(b),N=S?new this(B):p(B);B>M;M++)ae=A?R(b[M],M):b[M],u(N,M,ae);return N.length=M,N}},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),P=0,M,B;A>P;P++)B=S[P],M=k(B,P,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),P=o(k),M=0,B,N,K;P>M;M++)K=k[M],N=f(R(K,M,S)),N in A?x(A[N],K):A[N]=[K];if(b&&(B=b(S),B!==a))for(N in A)A[N]=u(B,A[N]);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,P,M){for(var B=c(R),N=l(B),K=f(N),G=r(A,P),H=0,ae=M||o,ne=x?ae(R,K):p||S?ae(R,0):void 0,oe,q;K>H;H++)if((k||H in N)&&(oe=N[H],q=G(oe,H,B),a))if(x)ne[H]=q;else if(q)switch(a){case 3:return!0;case 5:return oe;case 6:return H;case 2:h(ne,oe)}else switch(a){case 4:return!1;case 7:h(ne,oe)}return b?-1:y||_?_:ne}};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(N){return N}:i(_),P,M,B;for(P=0;P<S;P++)M=b[P],B=A(M),a(R,B)||x(R,B,M);return h(R,function(N){p(k,N)}),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 P=k.done;x.resolve(k.value).then(function(M){R(a(M,P))},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,P){var M=i(r(R.next,R.iterator));b(M,A,P)})},return:function(){var k=_(this).iterator;return new x(function(R,A){var P=c(k,"return");if(P===void 0)return R(a(void 0,!0));var M=i(r(P,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,P=function(N){var K=!N,G=u.getterFor(N?R:k),H=function(ae){var ne=i(function(){return G(ae)}),oe=ne.error,q=ne.value;return oe||K&&q.done?{exit:!0,value:oe?b.reject(q):b.resolve(y(void 0,!0))}:{exit:!1,value:q}};return o(c(p),{next:function(){var ne=H(this),oe=ne.value;if(ne.exit)return oe;var q=i(function(){return l(oe.nextHandler(b))}),J=q.error,V=q.value;return J&&(oe.done=!0),J?b.reject(V):b.resolve(V)},return:function(){var ae=H(this),ne=ae.value;if(ae.exit)return ne;ne.done=!0;var oe=ne.iterator,q,J,V=i(function(){if(ne.inner)try{_(ne.inner.iterator,"normal")}catch(se){return _(oe,"throw",se)}return x(oe,"return")});return q=J=V.value,V.error?b.reject(J):q===void 0?b.resolve(y(void 0,!0)):(V=i(function(){return r(q,oe)}),J=V.value,V.error?b.reject(J):N?b.resolve(J):b.resolve(J).then(function(se){return l(se),y(void 0,!0)}))}})},M=P(!0),B=P(!1);f(B,S,"Async Iterator Helper"),d.exports=function(N,K){var G=function(ae,ne){ne?(ne.iterator=ae.iterator,ne.next=ae.next):ne=ae,ne.type=K?R:k,ne.nextHandler=N,ne.counter=0,ne.done=!1,A(this,ne)};return G.prototype=K?M:B,G}},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 P=h(S),M=o("Promise"),B=P.iterator,N=P.next,K=0;return new M(function(G,H){var ae=function(oe){u(B,H,oe,H)},ne=function(){try{if(A)try{f(K)}catch(oe){ae(oe)}M.resolve(l(r(N,B))).then(function(oe){try{if(l(oe).done)p?(R.length=K,G(R)):G(b?!1:_||void 0);else{var q=oe.value;try{if(A){var J=k(q,K),V=function(se){if(y)ne();else if(_)se?ne():u(B,G,!1,H);else if(p)try{R[K++]=se,ne()}catch(ee){ae(ee)}else se?u(B,G,b||q,H):ne()};c(J)?M.resolve(J).then(V,ae):V(J)}else R[K++]=q,ne()}catch(se){ae(se)}}}catch(se){H(se)}},H)}catch(oe){H(oe)}};ne()})}};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 P=A.value;try{var M=_(P,p.counter++),B=function(N){b(h(N,!1))};c(M)?x.resolve(M).then(B,R):B(M)}catch(N){R(N)}}}catch(N){k(N)}},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,P){var M=k(function(H,ae){f(H,B),b(H,{type:R,index:r(null),first:void 0,last:void 0,size:0}),p||(H.size=0),o(ae)||h(ae,H[P],{that:H,AS_ENTRIES:A})}),B=M.prototype,N=S(R),K=function(H,ae,ne){var oe=N(H),q=G(H,ae),J,V;return q?q.value=ne:(oe.last=q={index:V=y(ae,!0),key:ae,value:ne,previous:J=oe.last,next:void 0,removed:!1},oe.first||(oe.first=q),J&&(J.next=q),p?oe.size++:H.size++,V!=="F"&&(oe.index[V]=q)),H},G=function(H,ae){var ne=N(H),oe=y(ae),q;if(oe!=="F")return ne.index[oe];for(q=ne.first;q;q=q.next)if(q.key===ae)return q};return l(B,{clear:function(){for(var ae=this,ne=N(ae),oe=ne.index,q=ne.first;q;)q.removed=!0,q.previous&&(q.previous=q.previous.next=void 0),delete oe[q.index],q=q.next;ne.first=ne.last=void 0,p?ne.size=0:ae.size=0},delete:function(H){var ae=this,ne=N(ae),oe=G(ae,H);if(oe){var q=oe.next,J=oe.previous;delete ne.index[oe.index],oe.removed=!0,J&&(J.next=q),q&&(q.previous=J),ne.first===oe&&(ne.first=q),ne.last===oe&&(ne.last=J),p?ne.size--:ae.size--}return!!oe},forEach:function(ae){for(var ne=N(this),oe=c(ae,arguments.length>1?arguments[1]:void 0),q;q=q?q.next:ne.first;)for(oe(q.value,q.key,this);q&&q.removed;)q=q.previous},has:function(ae){return!!G(this,ae)}}),l(B,A?{get:function(ae){var ne=G(this,ae);return ne&&ne.value},set:function(ae,ne){return K(this,ae===0?0:ae,ne)}}:{add:function(ae){return K(this,ae=ae===0?0:ae,ae)}}),p&&i(B,"size",{configurable:!0,get:function(){return N(this).size}}),M},setStrong:function(k,R,A){var P=R+" Iterator",M=S(R),B=S(P);u(k,R,function(N,K){b(this,{type:P,target:N,state:M(N),kind:K,last:void 0})},function(){for(var N=B(this),K=N.kind,G=N.last;G&&G.removed;)G=G.previous;return!N.target||!(N.last=G=G?G.next:N.state.first)?(N.target=void 0,a(void 0,!0)):a(K==="keys"?G.key:K==="values"?G.value:[G.key,G.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 P)},P=function(){this.entries=[]},M=function(B,N){return b(B.entries,function(K){return K[0]===N})};P.prototype={get:function(B){var N=M(this,B);if(N)return N[1]},has:function(B){return!!M(this,B)},set:function(B,N){var K=M(this,B);K?K[1]=N:this.entries.push([B,N])},delete:function(B){var N=S(this.entries,function(K){return K[0]===B});return~N&&k(this.entries,N,1),!!~N}},d.exports={getConstructor:function(B,N,K,G){var H=B(function(q,J){c(q,ae),y(q,{type:N,id:R++,frozen:void 0}),o(J)||u(J,q[G],{that:q,AS_ENTRIES:K})}),ae=H.prototype,ne=_(N),oe=function(q,J,V){var se=ne(q),ee=l(f(J),!0);return ee===!0?A(se).set(J,V):ee[se.id]=V,q};return i(ae,{delete:function(q){var J=ne(this);if(!h(q))return!1;var V=l(q);return V===!0?A(J).delete(q):V&&x(V,J.id)&&delete V[J.id]},has:function(J){var V=ne(this);if(!h(J))return!1;var se=l(J);return se===!0?A(V).has(J):se&&x(se,V.id)}}),i(ae,K?{get:function(J){var V=ne(this);if(h(J)){var se=l(J);return se===!0?A(V).get(J):se?se[V.id]:void 0}},set:function(J,V){return oe(this,J,V)}}:{add:function(J){return oe(this,J,!0)}}),H}}},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 P=k.indexOf("Map")!==-1,M=k.indexOf("Weak")!==-1,B=P?"set":"add",N=i[k],K=N&&N.prototype,G=N,H={},ae=function(ee){var Q=l(K[ee]);f(K,ee,ee==="add"?function(U){return Q(this,U===0?0:U),this}:ee==="delete"?function(ue){return M&&!p(ue)?!1:Q(this,ue===0?0:ue)}:ee==="get"?function(U){return M&&!p(U)?void 0:Q(this,U===0?0:U)}:ee==="has"?function(U){return M&&!p(U)?!1:Q(this,U===0?0:U)}:function(U,$){return Q(this,U===0?0:U,$),this})},ne=c(k,!a(N)||!(M||K.forEach&&!y(function(){new N().entries().next()})));if(ne)G=A.getConstructor(R,k,P,B),o.enable();else if(c(k,!0)){var oe=new G,q=oe[B](M?{}:-0,1)!==oe,J=y(function(){oe.has(1)}),V=_(function(ee){new N(ee)}),se=!M&&y(function(){for(var ee=new N,Q=5;Q--;)ee[B](Q,Q);return!ee.has(-0)});V||(G=R(function(ee,Q){u(ee,K);var ue=S(new N,ee,G);return x(Q)||h(Q,ue[B],{that:ue,AS_ENTRIES:P}),ue}),G.prototype=K,K.constructor=G),(J||se)&&(ae("delete"),ae("has"),P&&ae("get")),(se||q)&&ae(B),M&&K.clear&&delete K.clear}return H[k]=G,r({global:!0,constructor:!0,forced:G!==N},H),b(G,k),M||A.setStrong(G,k,P),G}},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,P=p(A),M=_(A),B=P<0?"-":P>9999?"+":"";return B+l(o(P),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,P=/a/;return a==="split"&&(P={},P.constructor={},P.constructor[h]=function(){return P},P.flags="",P[_]=/./[_]),P.exec=function(){return A=!0,null},P[_](""),!A});if(!b||!S||p){var k=r(/./[_]),R=x(_,""[a],function(A,P,M,B,N){var K=r(A),G=P.exec;return G===l||G===u.exec?b&&!N?{done:!0,value:k(P,M,B)}:{done:!0,value:K(M,P,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 P=u(k,f(arguments));return this instanceof R?p(b,P.length,P):b.apply(_,P)};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,P){var M;switch(c(P,0)){case"$":return"$";case"&":return a;case"`":return o(x,0,p);case"'":return o(x,S);case"<":M=_[o(P,1,-1)];break;default:var B=+P;if(B===0)return A;if(B>k){var N=l(B/10);return N===0?A:N<=k?y[N-1]===void 0?c(P,1):y[N-1]+c(P,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,P;for(h=e(h),h!==h||h===1/0?(A=h!==h?1:0,R=y):(R=i(l(h)/c),P=r(2,-R),h*P<1&&(R--,P*=2),R+_>=1?h+=b/P:h+=b*r(2,1-_),h*P>=2&&(R++,P/=2),R+_>=y?(A=0,R=y):R+_>=1?(A=(h*P-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,N){if(!c(B))return typeof B=="symbol"?B:(typeof B=="string"?"S":"P")+B;if(!f(B,_)){if(!a(B))return"F";if(!N)return"E";S(B)}return B[_].objectID},R=function(B,N){if(!f(B,_)){if(!a(B))return!0;if(!N)return!1;S(B)}return B[_].weakData},A=function(B){return p&&y&&a(B)&&!f(B,_)&&S(B),B},P=function(){M.enable=function(){},y=!0;var B=h.f,N=i([].splice),K={};K[_]=1,B(K).length&&(h.f=function(G){for(var H=B(G),ae=0,ne=H.length;ae<ne;ae++)if(H[ae]===_){N(H,ae,1);break}return H},r({target:"Object",stat:!0,forced:!0},{getOwnPropertyNames:u.f}))},M=d.exports={enable:P,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(P){return b(P)?_(P):y(P,{})},k=function(P){return function(M){var B;if(!l(M)||(B=_(M)).type!==P)throw new x("Incompatible receiver, "+P+" 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(P,M){if(R.has(P))throw new x(a);return M.facade=P,R.set(P,M),M},_=function(P){return R.get(P)||{}},b=function(P){return R.has(P)}}else{var A=h("state");u[A]=!0,y=function(P,M){if(f(P,A))throw new x(a);return M.facade=P,c(P,A,M),M},_=function(P){return f(P,A)?P[A]:{}},b=function(P){return f(P,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),P=!!(k&&k.IS_RECORD),M=!!(k&&k.IS_ITERATOR),B=!!(k&&k.INTERRUPTED),N=r(S,R),K,G,H,ae,ne,oe,q,J=function(se){return K&&x(K,"normal",se),new y(!0,se)},V=function(se){return A?(l(se),B?N(se[0],se[1],J):N(se[0],se[1])):B?N(se,J):N(se)};if(P)K=b.iterator;else if(M)K=b;else{if(G=a(b),!G)throw new p(c(b)+" is not iterable");if(f(G)){for(H=0,ae=o(b);ae>H;H++)if(ne=V(b[H]),ne&&h(_,ne))return ne;return new y(!1)}K=u(b,G)}for(oe=P?b.next:K.next;!(q=i(oe,K)).done;){try{ne=V(q.value)}catch(se){x(K,"throw",se)}if(typeof ne=="object"&&ne&&h(_,ne))return ne}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 P=o.getterFor(A?_:y);return c(i(u),{next:function(){var B=P(this);if(A)return B.nextHandler();try{var N=B.done?void 0:B.nextHandler();return a(N,B.done)}catch(K){throw B.done=!0,K}},return:function(){var M=P(this),B=M.iterator;if(M.done=!0,A){var N=h(B,"return");return N?r(N,B):a(void 0,!0)}if(M.inner)try{x(M.inner.iterator,"normal")}catch(K){return x(B,"throw",K)}return x(B,"normal"),a(void 0,!0)}})},k=S(!0),R=S(!1);l(R,p,"Iterator Helper"),d.exports=function(A,P){var M=function(N,K){K?(K.iterator=N.iterator,K.next=N.next):K=N,K.type=P?_:y,K.nextHandler=A,K.counter=0,K.done=!1,b(this,K)};return M.prototype=P?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,P=y("iterator"),M="keys",B="values",N="entries",K=function(){return this};d.exports=function(G,H,ae,ne,oe,q,J){o(ae,H,ne);var V=function(De){if(De===oe&&U)return U;if(!A&&De&&De in Q)return Q[De];switch(De){case M:return function(){return new ae(this,De)};case B:return function(){return new ae(this,De)};case N:return function(){return new ae(this,De)}}return function(){return new ae(this)}},se=H+" Iterator",ee=!1,Q=G.prototype,ue=Q[P]||Q["@@iterator"]||oe&&Q[oe],U=!A&&ue||V(oe),$=H==="Array"&&Q.entries||ue,ie,_e,Pe;if($&&(ie=h($.call(new G)),ie!==Object.prototype&&ie.next&&(!l&&h(ie)!==R&&(u?u(ie,R):f(ie[P])||p(ie,P,K)),a(ie,se,!0,!0),l&&(_[se]=K))),S&&oe===B&&ue&&ue.name!==B&&(!l&&k?x(Q,"name",B):(ee=!0,U=function(){return i(ue,this)})),oe)if(_e={values:V(B),keys:q?U:V(M),entries:V(N)},J)for(Pe in _e)(A||ee||!(Pe in Q))&&p(Q,Pe,_e[Pe]);else r({target:H,proto:!0,forced:A||ee},_e);return(!l||J)&&Q[P]!==U&&p(Q,P,U,{name:oe}),_[H]=U,_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(P,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(P,"name")||o&&P.name!==M)&&(f?y(P,"name",{value:M,configurable:!0}):P.name=M),k&&B&&c(B,"arity")&&P.length!==B.arity&&y(P,"length",{value:B.arity});try{B&&c(B,"constructor")&&B.constructor?f&&y(P,"prototype",{writable:!1}):P.prototype&&(P.prototype=void 0)}catch(K){}var N=a(P);return c(N,"source")||(N.source=S(R,typeof M=="string"?M:"")),P};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,P,M;if(!S){var B=new f,N=function(){var K,G;for(a&&(K=y.domain)&&K.exit();G=B.get();)try{G()}catch(H){throw B.head&&k(),H}K&&K.enter()};!o&&!a&&!u&&x&&p?(R=!0,A=p.createTextNode(""),new x(N).observe(A,{characterData:!0}),k=function(){A.data=R=!R}):!h&&_&&_.resolve?(P=_.resolve(void 0),P.constructor=_,M=i(P.then,P),k=function(){M(N)}):a?k=function(){y.nextTick(N)}:(c=i(c,r),k=function(){c(N)}),S=function(K){B.head||k(),B.add(K)}}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,P,M,B,N){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 K=A>R,G=!1,H;if(P===void 0)H=void 0;else if(f(P))H=P.step,G=!!P.inclusive;else if(typeof P==M)H=P;else throw new _(u);if(c(H)&&(H=K?N:-N),typeof H!=M)throw new _(u);if(H===1/0||H===-1/0||H===B&&R!==A)throw new y(u);var ae=R!==R||A!==A||H!==H||A>R!=H>B;x(this,{type:a,start:R,end:A,step:H,inclusive:G,hitsEnd:ae,currentCount:B,zero:B}),h||(this.start=R,this.end=A,this.step=H,this.inclusive=G)},a,function(){var R=p(this);if(R.hitsEnd)return l(void 0,!0);var A=R.start,P=R.end,M=R.step,B=A+M*R.currentCount++;B===P&&(R.hitsEnd=!0);var N=R.inclusive,K;return P>A?K=N?B>P:B>=P:K=N?P>B:P>=B,K?(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,P=o.f,M=h.f;R>A;)for(var B=a(arguments[A++]),N=P?y(f(B),P(B)):f(B),K=N.length,G=0,H;K>G;)H=N[G++],(!r||l(M,B,H))&&(k[H]=B[H]);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(P){return a+p+u+P+a+"/"+p+u},S=function(P){P.write(b("")),P.close();var M=P.parentWindow.Object;return P=null,M},k=function(){var P=o("iframe"),M="java"+p+":",B;return P.style.display="none",f.appendChild(P),P.src=String(M),B=P.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 P=l.length;P--;)delete A[x][l[P]];return A()};c[y]=!0,d.exports=Object.create||function(M,B){var N;return M!==null?(_[x]=r(M),N=new _,_[x]=null,N[y]=M):N=A(),B===void 0?N:i.f(N,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,P=[],M;R>A;)M=S[A++],(!r||(k?M in b:u(b,M)))&&a(P,y?[M,b[M]]:b[M]);return P}};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)}),P=function(B){B(function(){},function(){})},M=A.constructor={};if(M[y]=P,_=A.then(function(){})instanceof P,!_)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 P=A.get(k);if(!P){if(!R)return;A.set(k,P=new c)}return P},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(P,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 N=/a/,K=/b*/g;return r(y,N,"a"),r(y,K,"a"),N.lastIndex!==0||K.lastIndex!==0}(),P=f.BROKEN_CARET,M=/()??/.exec("")[1]!==void 0,B=A||M||P||a||x;B&&(_=function(K){var G=this,H=u(G),ae=l(K),ne=H.raw,oe,q,J,V,se,ee,Q;if(ne)return ne.lastIndex=G.lastIndex,oe=r(_,ne,ae),G.lastIndex=ne.lastIndex,oe;var ue=H.groups,U=P&&G.sticky,$=r(c,G),ie=G.source,_e=0,Pe=ae;if(U&&($=k($,"y",""),S($,"g")===-1&&($+="g"),Pe=R(ae,G.lastIndex),G.lastIndex>0&&(!G.multiline||G.multiline&&b(ae,G.lastIndex-1)!==`
|
|
|
`)&&(ie="(?: "+ie+")",Pe=" "+Pe,_e++),q=new RegExp("^(?:"+ie+")",$)),M&&(q=new RegExp("^"+ie+"$(?!\\s)",$)),A&&(J=G.lastIndex),V=r(y,U?q:G,Pe),U?V?(V.input=R(V.input,_e),V[0]=R(V[0],_e),V.index=G.lastIndex,G.lastIndex+=V[0].length):G.lastIndex=0:A&&V&&(G.lastIndex=G.global?V.index+V[0].length:J),M&&V&&V.length>1&&r(p,V[0],q,function(){for(se=1;se<arguments.length-2;se++)arguments[se]===void 0&&(V[se]=void 0)}),V&&ue)for(V.groups=ee=h(null),se=0;se<ue.length;se++)Q=ue[se],ee[Q[0]]=V[Q[1]];return V}),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,P;return S<=k||R===""?b:(A=S-k,P=o(R,u(A/R.length)),P.length>A&&(P=h(P,0,A)),x?b+P:P+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,P){var M=o(A,P);return M>=a&&M<=x},k=function(A,P,M){if(M>=A.length)return-1;for(var B=0;P<M;P++){var N=R(o(A,P));if(N===-1)return-1;B=B*16+N}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 P="",M=0,B=0,N;(B=h(A,"\\",B))>-1;){if(P+=u(A,M,B),++B===A.length)return;var K=f(A,B++);switch(K){case"b":P+="\b";break;case"t":P+=" ";break;case"n":P+=`
|
|
|
`;break;case"v":P+="\v";break;case"f":P+="\f";break;case"r":P+="\r";break;case"\r":B<A.length&&f(A,B)===`
|
|
|
`&&++B;case`
|
|
|
`:case"\u2028":case"\u2029":break;case"0":if(S(A,B))return;P+="\0";break;case"x":if(N=k(A,B,B+2),N===-1)return;B+=2,P+=l(N);break;case"u":if(B<A.length&&f(A,B)==="{"){var G=h(A,"}",++B);if(G===-1)return;N=k(A,B,G),B=G+1}else N=k(A,B,B+4),B+=4;if(N===-1||N>1114111)return;P+=c(N);break;default:if(S(K,0))return;P+=K}M=B}return P+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,P=r("".charCodeAt),M=r([].join),B=r([].push),N=r("".replace),K=r("".split),G=r("".toLowerCase),H=function(q){for(var J=[],V=0,se=q.length;V<se;){var ee=P(q,V++);if(ee>=55296&&ee<=56319&&V<se){var Q=P(q,V++);(Q&64512)===56320?B(J,((ee&1023)<<10)+(Q&1023)+65536):(B(J,ee),V--)}else B(J,ee)}return J},ae=function(q){return q+22+75*(q<26)},ne=function(q,J,V){var se=0;for(q=V?R(q/h):q>>1,q+=R(q/J);q>b*f>>1;)q=R(q/b),se+=l;return R(se+(b+1)*q/(q+o))},oe=function(q){var J=[];q=H(q);var V=q.length,se=a,ee=0,Q=u,ue,U;for(ue=0;ue<q.length;ue++)U=q[ue],U<128&&B(J,A(U));var $=J.length,ie=$;for($&&B(J,x);ie<V;){var _e=i;for(ue=0;ue<q.length;ue++)U=q[ue],U>=se&&U<_e&&(_e=U);var Pe=ie+1;if(_e-se>R((i-ee)/Pe))throw new S(_);for(ee+=(_e-se)*Pe,se=_e,ue=0;ue<q.length;ue++){if(U=q[ue],U<se&&++ee>i)throw new S(_);if(U===se){for(var De=ee,He=l;;){var Ne=He<=Q?c:He>=Q+f?f:He-Q;if(De<Ne)break;var Ft=De-Ne,gt=l-Ne;B(J,A(ae(Ne+Ft%gt))),De=R(Ft/gt),He+=l}B(J,A(ae(De))),Q=ne(ee,Pe,ie===$),ee=0,ie++}}ee++,se++}return M(J,"")};d.exports=function(q){var J=[],V=K(N(G(q),y,"."),"."),se,ee;for(se=0;se<V.length;se++)ee=V[se],B(J,k(p,ee)?"xn--"+oe(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,P=u(x),M=P.length;A<M;A++)if(x[P[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,P=r.String,M=0,B={},N="onreadystatechange",K,G,H,ae;o(function(){K=r.location});var ne=function(V){if(f(B,V)){var se=B[V];delete B[V],se()}},oe=function(V){return function(){ne(V)}},q=function(V){ne(V.data)},J=function(V){r.postMessage(P(V),K.protocol+"//"+K.host)};(!_||!b)&&(_=function(se){x(arguments.length,1);var ee=c(se)?se:R(se),Q=u(arguments,1);return B[++M]=function(){i(ee,void 0,Q)},G(M),M},b=function(se){delete B[se]},y?G=function(V){S.nextTick(oe(V))}:k&&k.now?G=function(V){k.now(oe(V))}:A&&!p?(H=new A,ae=H.port2,H.port1.onmessage=q,G=l(ae.postMessage,ae)):r.addEventListener&&c(r.postMessage)&&!r.importScripts&&K&&K.protocol!=="file:"&&!o(J)?(G=J,r.addEventListener("message",q,!1)):N in a("script")?G=function(V){h.appendChild(a("script"))[N]=function(){h.removeChild(this),ne(V)}}:G=function(V){setTimeout(oe(V),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),P=e(31946),M=e(18446),B=e(20132),N=e(16332),K=e(58218),G=e(80689).f,H=e(50706),ae=e(90560).forEach,ne=e(51996),oe=e(64110),q=e(37691),J=e(71256),V=e(94844),se=e(25576),ee=V.get,Q=V.set,ue=V.enforce,U=q.f,$=J.f,ie=i.RangeError,_e=h.ArrayBuffer,Pe=_e.prototype,De=h.DataView,He=o.NATIVE_ARRAY_BUFFER_VIEWS,Ne=o.TYPED_ARRAY_TAG,Ft=o.TypedArray,gt=o.TypedArrayPrototype,Dt=o.aTypedArrayConstructor,rr=o.isTypedArray,Xt="BYTES_PER_ELEMENT",fr="Wrong length",Ge=function(et,ze){Dt(et);for(var ge=0,Se=ze.length,Le=new et(Se);Se>ge;)Le[ge]=ze[ge++];return Le},Tt=function(et,ze){oe(et,ze,{configurable:!0,get:function(){return ee(this)[ze]}})},zt=function(et){var ze;return N(Pe,et)||(ze=A(et))==="ArrayBuffer"||ze==="SharedArrayBuffer"},nt=function(et,ze){return rr(et)&&!M(ze)&&ze in et&&p(+ze)&&ze>=0},bt=function(ze,ge){return ge=k(ge),nt(ze,ge)?a(2,ze[ge]):$(ze,ge)},dt=function(ze,ge,Se){return ge=k(ge),nt(ze,ge)&&P(Se)&&R(Se,"value")&&!R(Se,"get")&&!R(Se,"set")&&!Se.configurable&&(!R(Se,"writable")||Se.writable)&&(!R(Se,"enumerable")||Se.enumerable)?(ze[ge]=Se.value,ze):U(ze,ge,Se)};c?(He||(J.f=bt,q.f=dt,Tt(gt,"buffer"),Tt(gt,"byteOffset"),Tt(gt,"byteLength"),Tt(gt,"length")),r({target:"Object",stat:!0,forced:!He},{getOwnPropertyDescriptor:bt,defineProperty:dt}),d.exports=function(et,ze,ge){var Se=et.match(/\d+/)[0]/8,Le=et+(ge?"Clamped":"")+"Array",$e="get"+et,We="set"+et,rt=i[Le],ot=rt,Kt=ot&&ot.prototype,Wt={},Ce=function(Ht,$t){var tr=ee(Ht);return tr.view[$e]($t*Se+tr.byteOffset,!0)},Je=function(Ht,$t,tr){var Gt=ee(Ht);Gt.view[We]($t*Se+Gt.byteOffset,ge?S(tr):tr,!0)},Yt=function(Ht,$t){U(Ht,$t,{get:function(){return Ce(this,$t)},set:function(tr){return Je(this,$t,tr)},enumerable:!0})};He?f&&(ot=ze(function(Ht,$t,tr,Gt){return u(Ht,Kt),se(function(){return P($t)?zt($t)?Gt!==void 0?new rt($t,b(tr,Se),Gt):tr!==void 0?new rt($t,b(tr,Se)):new rt($t):rr($t)?Ge(ot,$t):l(H,ot,$t):new rt(_($t))}(),Ht,ot)}),K&&K(ot,Ft),ae(G(rt),function(Ht){Ht in ot||x(ot,Ht,rt[Ht])}),ot.prototype=Kt):(ot=ze(function(Ht,$t,tr,Gt){u(Ht,Kt);var Me=0,ce=0,he,Pt,Te;if(!P($t))Te=_($t),Pt=Te*Se,he=new _e(Pt);else if(zt($t)){he=$t,ce=b(tr,Se);var ct=$t.byteLength;if(Gt===void 0){if(ct%Se)throw new ie(fr);if(Pt=ct-ce,Pt<0)throw new ie(fr)}else if(Pt=y(Gt)*Se,Pt+ce>ct)throw new ie(fr);Te=Pt/Se}else return rr($t)?Ge(ot,$t):l(H,ot,$t);for(Q(Ht,{buffer:he,byteOffset:ce,byteLength:Pt,length:Te,view:new De(he)});Me<Te;)Yt(Ht,Me++)}),K&&K(ot,Ft),Kt=ot.prototype=B(gt)),Kt.constructor!==ot&&x(Kt,"constructor",ot),ue(Kt).TypedArrayConstructor=ot,Ne&&x(Kt,Ne,Le);var kt=ot!==rt;Wt[Le]=ot,r({global:!0,constructor:!0,forced:kt,sham:!He},Wt),Xt in ot||x(ot,Xt,Se),Xt in Kt||x(Kt,Xt,Se),ne(Le)}):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,P=h(S),M,B,N,K,G,H,ae,ne;if(P&&!u(P))for(ae=o(S,P),ne=ae.next,S=[];!(H=i(ne,ae)).done;)S.push(H.value);for(A&&k>2&&(R=r(R,arguments[2])),B=f(S),N=new(x(b))(B),K=a(N),M=0;B>M;M++)G=A?R(S[M],M):S[M],N[M]=K?p(G):+G;return N}},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",P=R?2:1,M=b.split("."),B=M[M.length-1],N=r.apply(null,M);if(N){var K=N.prototype;if(!_&&i(K,"cause")&&delete K.cause,!k)return N;var G=r("Error"),H=S(function(ae,ne){var oe=a(R?ne:ae,void 0),q=R?new N(ae):new N;return oe!==void 0&&l(q,"message",oe),p(q,H,q.stack,2),this&&c(K,this)&&u(q,this,H),arguments.length>P&&x(q,arguments[P]),q});if(H.prototype=K,B!=="Error"?f?f(H,G):o(H,G,{name:!0}):y&&A in N&&(h(H,N,A),h(H,N,"prepareStackTrace")),o(H,N),!_)try{K.name!==B&&l(K,"name",B),K.constructor=H}catch(ae){}return H}}},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 N=i(A,this),K;c?K=c(new S,N?l(this):A):(K=N?this:o(A),h(K,b,"Error")),B!==void 0&&h(K,"message",y(B)),x(K,R,K.stack,1),arguments.length>2&&a(K,arguments[2]);var G=[];return p(M,k,{that:G}),h(K,"errors",G),K};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 P=f(this).byteLength,M=o(R,P),B=o(A===void 0?P:A,P),N=new(u(this,a))(h(B-M)),K=new x(this),G=new x(N),H=0;M<B;)b(G,H++,_(K,M++));return N}})},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 P=f(this),M=a(P,0),B=0,N,K,G,H,ae;for(N=-1,G=arguments.length;N<G;N++)if(ae=N===-1?P:arguments[N],S(ae))for(H=o(ae),h(B+H),K=0;K<H;K++,B++)K in ae&&u(M,B,ae[K]);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 P=h(this),M=o(P),B=f(R,M),N=f(A===void 0?M:A,M),K,G,H;if(i(P)&&(K=P.constructor,l(K)&&(K===b||i(K.prototype))?K=void 0:c(K)&&(K=K[_],K===null&&(K=void 0)),K===b||K===void 0))return p(P,B,N);for(G=new(K===void 0?b:K)(S(N-B,0)),H=0;B<N;B++,H++)B in P&&u(G,H,P[B]);return G.length=H,G}})},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)}),P=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 G="",H,ae,ne,oe;for(H=65;H<76;H++){switch(ae=String.fromCharCode(H),H){case 66:case 69:case 70:case 72:ne=3;break;case 68:case 71:ne=4;break;default:ne=2}for(oe=0;oe<47;oe++)S.push({k:ae+oe,v:ne})}for(S.sort(function(q,J){return J.v-q.v}),oe=0;oe<S.length;oe++)ae=S[oe].k.charAt(0),G.charAt(G.length-1)!==ae&&(G+=ae);return G!=="DGBEFHACIJK"}}),N=A||!P||!M||!B,K=function(G){return function(H,ae){return ae===void 0?-1:H===void 0?1:G!==void 0?+G(H,ae)||0:h(H)>h(ae)?1:-1}};r({target:"Array",proto:!0,forced:N},{sort:function(H){H!==void 0&&l(H);var ae=c(this);if(B)return H===void 0?k(ae):k(ae,H);var ne=[],oe=f(ae),q,J;for(J=0;J<oe;J++)J in ae&&R(ne,ae[J]);for(a(ne,K(H)),q=f(ne),J=0;J<q;)ae[J]=ne[J++];for(;J<oe;)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),P=f(A),M=l(k,P),B=arguments.length,N,K,G,H,ae,ne;for(B===0?N=K=0:B===1?(N=0,K=P-M):(N=B-2,K=b(_(c(R),0),P-M)),h(P+N-K),G=u(A,K),H=0;H<K;H++)ae=M+H,ae in A&&a(G,H,A[ae]);if(G.length=K,N<K){for(H=M;H<P-K;H++)ae=H+K,ne=H+N,ae in A?A[ne]=A[ae]:x(A,ne);for(H=P;H>P-K+N;H--)x(A,H-1)}else if(N>K)for(H=P-K;H>M;H--)ae=H+K-1,ne=H+N-1,ae in A?A[ne]=A[ae]:x(A,ne);for(H=0;H<N;H++)A[H+M]=arguments[H+2];return o(A,P-K+N),G}})},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,P,M,B,N;for(R===0?P=M=0:R===1?(P=0,M=S-k):(P=R-2,M=x(a(h(_),0),S-k)),B=l(S+P-M),N=u(B);A<k;A++)N[A]=b[A];for(;A<k+P;A++)N[A]=arguments[A-k+2];for(;A<B;A++)N[A]=b[A+M-P];return N}}),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),P=/[\uD800-\uDFFF]/g,M=/^[\uD800-\uDBFF]$/,B=/^[\uDC00-\uDFFF]$/,N=!p||o(function(){var ae=i("Symbol")("stringify detection");return _([ae])!=="[null]"||_({a:ae})!=="{}"||_(Object(ae))!=="{}"}),K=o(function(){return _("\uDF06\uD834")!=='"\\udf06\\ud834"'||_("\uDEAD")!=='"\\udead"'}),G=function(ae,ne){var oe=a(arguments),q=x(ne);if(!(!h(q)&&(ae===void 0||u(ae))))return oe[1]=function(J,V){if(h(q)&&(V=c(q,this,y(J),V)),!u(V))return V},l(_,null,oe)},H=function(ae,ne,oe){var q=S(oe,ne-1),J=S(oe,ne+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:N||K},{stringify:function(ne,oe,q){var J=a(arguments),V=l(N?G:_,null,J);return K&&typeof V=="string"?R(V,P,H):V}})},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 P=S(A,R++);a(k,P)?y(x(k,P),A):p(k,P,[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,P="Number",M=c[P],B=f[P],N=M.prototype,K=c.TypeError,G=o("".slice),H=o("".charCodeAt),ae=function(se){var ee=y(se,"number");return typeof ee=="bigint"?ee:ne(ee)},ne=function(se){var ee=y(se,"number"),Q,ue,U,$,ie,_e,Pe,De;if(p(ee))throw new K("Cannot convert a Symbol value to a number");if(typeof ee=="string"&&ee.length>2){if(ee=A(ee),Q=H(ee,0),Q===43||Q===45){if(ue=H(ee,2),ue===88||ue===120)return NaN}else if(Q===48){switch(H(ee,1)){case 66:case 98:U=2,$=49;break;case 79:case 111:U=8,$=55;break;default:return+ee}for(ie=G(ee,2),_e=ie.length,Pe=0;Pe<_e;Pe++)if(De=H(ie,Pe),De<48||De>$)return NaN;return parseInt(ie,U)}}return+ee},oe=h(P,!M(" 0o1")||!M("0b1")||M("+0x1")),q=function(se){return x(N,se)&&_(function(){R(se)})},J=function(ee){var Q=arguments.length<1?0:M(ae(ee));return q(this)?a(Object(Q),this,J):Q};J.prototype=N,oe&&!i&&(N.constructor=J),r({global:!0,constructor:!0,wrap:!0,forced:oe},{Number:J});var V=function(se,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(","),ue=0,U;Q.length>ue;ue++)u(ee,U=Q[ue])&&!u(se,U)&&k(se,U,S(ee,U))};i&&B&&V(f[P],B),(oe||i)&&V(f[P],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",P=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||!P()||!M();r({target:"Number",proto:!0,forced:B},{toExponential:function(K){var G=c(this);if(K===void 0)return S(G);var H=l(K);if(!x(G))return String(G);if(H<0||H>20)throw new u("Incorrect fraction digits");if(A)return S(G,H);var ae="",ne="",oe=0,q="",J="";if(G<0&&(ae="-",G=-G),G===0)oe=0,ne=k("0",H+1);else{var V=o(G);oe=y(V);var se=0,ee=_(10,oe-H);se=b(G/ee),2*G>=(2*se+1)*ee&&(se+=1),se>=_(10,H+1)&&(se/=10,oe+=1),ne=a(se)}return H!==0&&(ne=R(ne,0,1)+"."+R(ne,1)),oe===0?(q="+",J="0"):(q=oe>0?"+":"-",J=a(p(oe))),ne+="e"+q+J,ae+ne}})},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(P,M,B){return M===0?B:M%2===1?_(P,M-1,B*P):_(P*P,M/2,B)},b=function(P){for(var M=0,B=P;B>=4096;)M+=12,B/=4096;for(;B>=2;)M+=1,B/=2;return M},S=function(P,M,B){for(var N=-1,K=B;++N<6;)K+=M*P[N],P[N]=K%1e7,K=a(K/1e7)},k=function(P,M){for(var B=6,N=0;--B>=0;)N+=P[B],P[B]=a(N/M),N=N%M*1e7},R=function(P){for(var M=6,B="";--M>=0;)if(B!==""||M===0||P[M]!==0){var N=u(P[M]);B=B===""?N:B+x("0",7-N.length)+N}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),N=l(M),K=[0,0,0,0,0,0],G="",H="0",ae,ne,oe,q;if(N<0||N>20)throw new h("Incorrect fraction digits");if(B!==B)return"NaN";if(B<=-1e21||B>=1e21)return u(B);if(B<0&&(G="-",B=-B),B>1e-21)if(ae=b(B*_(2,69,1))-69,ne=ae<0?B*_(2,-ae,1):B/_(2,ae,1),ne*=4503599627370496,ae=52-ae,ae>0){for(S(K,0,ne),oe=N;oe>=7;)S(K,1e7,0),oe-=7;for(S(K,_(10,oe,1),0),oe=ae-1;oe>=23;)k(K,8388608),oe-=23;k(K,1<<oe),S(K,1,1),k(K,2),H=R(K)}else S(K,0,ne),S(K,1<<-ae,0),H=R(K)+x("0",N);return N>0?(q=H.length,H=G+(q<=N?"0."+x("0",N-q)+H:p(H,0,q-N)+"."+p(H,q-N))):H=G+H,H}})},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(P){var M=R++,B=!1;A++,i(S,x,P).then(function(N){B||(B=!0,k[M]={status:"fulfilled",value:N},--A||y(k))},function(N){B||(B=!0,k[M]={status:"rejected",reason:N},--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(P){var M=R++,B=!1;A++,i(S,x,P).then(function(N){B||(B=!0,k[M]=N,--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),P=[],M=0,B=1,N=!1;h(p,function(K){var G=M++,H=!1;B++,i(A,y,K).then(function(ae){H||N||(N=!0,S(ae))},function(ae){H||N||(H=!0,P[G]=ae,--B||k(new _(P,a)))})}),--B||k(new _(P,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),P=e(66790),M=e(94844),B=e(2451),N=e(82830),K=e(73446),G="Promise",H=N.CONSTRUCTOR,ae=N.REJECTION_EVENT,ne=N.SUBCLASSING,oe=M.getterFor(G),q=M.set,J=B&&B.prototype,V=B,se=J,ee=c.TypeError,Q=c.document,ue=c.process,U=K.f,$=U,ie=!!(Q&&Q.createEvent&&c.dispatchEvent),_e="unhandledrejection",Pe="rejectionhandled",De=0,He=1,Ne=2,Ft=1,gt=2,Dt,rr,Xt,fr,Ge=function(Le){var $e;return y(Le)&&p($e=Le.then)?$e:!1},Tt=function(Le,$e){var We=$e.value,rt=$e.state===He,ot=rt?Le.ok:Le.fail,Kt=Le.resolve,Wt=Le.reject,Ce=Le.domain,Je,Yt,kt;try{ot?(rt||($e.rejection===gt&&et($e),$e.rejection=Ft),ot===!0?Je=We:(Ce&&Ce.enter(),Je=ot(We),Ce&&(Ce.exit(),kt=!0)),Je===Le.promise?Wt(new ee("Promise-chain cycle")):(Yt=Ge(Je))?f(Yt,Je,Kt,Wt):Kt(Je)):Wt(We)}catch(Ht){Ce&&!kt&&Ce.exit(),Wt(Ht)}},zt=function(Le,$e){Le.notified||(Le.notified=!0,k(function(){for(var We=Le.reactions,rt;rt=We.get();)Tt(rt,Le);Le.notified=!1,$e&&!Le.rejection&&bt(Le)}))},nt=function(Le,$e,We){var rt,ot;ie?(rt=Q.createEvent("Event"),rt.promise=$e,rt.reason=We,rt.initEvent(Le,!1,!0),c.dispatchEvent(rt)):rt={promise:$e,reason:We},!ae&&(ot=c["on"+Le])?ot(rt):Le===_e&&R("Unhandled promise rejection",We)},bt=function(Le){f(S,c,function(){var $e=Le.facade,We=Le.value,rt=dt(Le),ot;if(rt&&(ot=A(function(){l?ue.emit("unhandledRejection",We,$e):nt(_e,$e,We)}),Le.rejection=l||dt(Le)?gt:Ft,ot.error))throw ot.value})},dt=function(Le){return Le.rejection!==Ft&&!Le.parent},et=function(Le){f(S,c,function(){var $e=Le.facade;l?ue.emit("rejectionHandled",$e):nt(Pe,$e,Le.value)})},ze=function(Le,$e,We){return function(rt){Le($e,rt,We)}},ge=function(Le,$e,We){Le.done||(Le.done=!0,We&&(Le=We),Le.value=$e,Le.state=Ne,zt(Le,!0))},Se=function(Le,$e,We){if(!Le.done){Le.done=!0,We&&(Le=We);try{if(Le.facade===$e)throw new ee("Promise can't be resolved itself");var rt=Ge($e);rt?k(function(){var ot={done:!1};try{f(rt,$e,ze(Se,ot,Le),ze(ge,ot,Le))}catch(Kt){ge(ot,Kt,Le)}}):(Le.value=$e,Le.state=He,zt(Le,!1))}catch(ot){ge({done:!1},ot,Le)}}};if(H&&(V=function($e){_(this,se),x($e),f(Dt,this);var We=oe(this);try{$e(ze(Se,We),ze(ge,We))}catch(rt){ge(We,rt)}},se=V.prototype,Dt=function($e){q(this,{type:G,done:!1,notified:!1,parent:!1,reactions:new P,rejection:!1,state:De,value:void 0})},Dt.prototype=o(se,"then",function($e,We){var rt=oe(this),ot=U(b(this,V));return rt.parent=!0,ot.ok=p($e)?$e:!0,ot.fail=p(We)&&We,ot.domain=l?ue.domain:void 0,rt.state===De?rt.reactions.add(ot):k(function(){Tt(ot,rt)}),ot.promise}),rr=function(){var Le=new Dt,$e=oe(Le);this.promise=Le,this.resolve=ze(Se,$e),this.reject=ze(ge,$e)},K.f=U=function(Le){return Le===V||Le===Xt?new rr(Le):$(Le)},!i&&p(B)&&J!==Object.prototype)){fr=J.then,ne||o(J,"then",function($e,We){var rt=this;return new V(function(ot,Kt){f(fr,rt,ot,Kt)}).then($e,We)},{unsafe:!0});try{delete J.constructor}catch(Le){}h&&h(J,se)}r({global:!0,constructor:!0,wrap:!0,forced:H},{Promise:V}),u(V,G,!1,!0),a(G)},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 P=arguments.length<3?R:f(arguments[2]);if(b&&!_)return x(R,A,P);if(R===P){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=P.prototype,N=u(h(B)?B:p),K=l(R,N,A);return h(K)?K:N}})},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,P,M;if(!R){if(c(P=a(_)))return p(P,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,P=e(51996),M=e(59893),B=e(6041),N=e(51224),K=M("match"),G=i.RegExp,H=G.prototype,ae=i.SyntaxError,ne=l(H.exec),oe=l("".charAt),q=l("".replace),J=l("".indexOf),V=l("".slice),se=/^\?<[^\s\d!#%&*+<=>@^][^\s!#%&*+<=>@^]*>/,ee=/a/g,Q=/a/g,ue=new G(ee)!==ee,U=_.MISSED_STICKY,$=_.UNSUPPORTED_Y,ie=r&&(!ue||U||B||N||k(function(){return Q[K]=!1,G(ee)!==ee||G(Q)===Q||String(G(ee,"i"))!=="/a/i"})),_e=function(Ft){for(var gt=Ft.length,Dt=0,rr="",Xt=!1,fr;Dt<=gt;Dt++){if(fr=oe(Ft,Dt),fr==="\\"){rr+=fr+oe(Ft,++Dt);continue}!Xt&&fr==="."?rr+="[\\s\\S]":(fr==="["?Xt=!0:fr==="]"&&(Xt=!1),rr+=fr)}return rr},Pe=function(Ft){for(var gt=Ft.length,Dt=0,rr="",Xt=[],fr=h(null),Ge=!1,Tt=!1,zt=0,nt="",bt;Dt<=gt;Dt++){if(bt=oe(Ft,Dt),bt==="\\")bt+=oe(Ft,++Dt);else if(bt==="]")Ge=!1;else if(!Ge)switch(!0){case bt==="[":Ge=!0;break;case bt==="(":ne(se,V(Ft,Dt+1))&&(Dt+=2,Tt=!0),rr+=bt,zt++;continue;case(bt===">"&&Tt):if(nt===""||R(fr,nt))throw new ae("Invalid capture group name");fr[nt]=!0,Xt[Xt.length]=[nt,zt],Tt=!1,nt="";continue}Tt?nt+=bt:rr+=bt}return[rr,Xt]};if(c("RegExp",ie)){for(var De=function(gt,Dt){var rr=a(H,this),Xt=x(gt),fr=Dt===void 0,Ge=[],Tt=gt,zt,nt,bt,dt,et,ze;if(!rr&&Xt&&fr&>.constructor===De)return gt;if((Xt||a(H,gt))&&(gt=gt.source,fr&&(Dt=y(Tt))),gt=gt===void 0?"":p(gt),Dt=Dt===void 0?"":p(Dt),Tt=gt,B&&"dotAll"in ee&&(nt=!!Dt&&J(Dt,"s")>-1,nt&&(Dt=q(Dt,/s/g,""))),zt=Dt,U&&"sticky"in ee&&(bt=!!Dt&&J(Dt,"y")>-1,bt&&$&&(Dt=q(Dt,/y/g,""))),N&&(dt=Pe(gt),gt=dt[0],Ge=dt[1]),et=f(G(gt,Dt),rr?this:H,De),(nt||bt||Ge.length)&&(ze=A(et),nt&&(ze.dotAll=!0,ze.raw=De(_e(gt),zt)),bt&&(ze.sticky=!0),Ge.length&&(ze.groups=Ge)),gt!==Tt)try{o(et,"source",Tt===""?"(?:)":Tt)}catch(ge){}return et},He=u(G),Ne=0;He.length>Ne;)b(De,G,He[Ne++]);H.constructor=De,De.prototype=H,S(i,"RegExp",De,{constructor:!0})}P("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,P=R.length,M=A===void 0?P:y(c(A),P),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),P=e(52216),M=e(94338),B=e(94844),N=e(16697),K=R("matchAll"),G="RegExp String",H=G+" Iterator",ae=B.set,ne=B.getterFor(H),oe=RegExp.prototype,q=TypeError,J=l("".indexOf),V=l("".matchAll),se=!!V&&!k(function(){V("a",/./)}),ee=c(function(U,$,ie,_e){ae(this,{type:H,regexp:U,string:$,global:ie,unicode:_e,done:!1})},G,function(){var U=ne(this);if(U.done)return f(void 0,!0);var $=U.regexp,ie=U.string,_e=M($,ie);return _e===null?(U.done=!0,f(void 0,!0)):U.global?(u(_e[0])===""&&($.lastIndex=P(ie,h($.lastIndex),U.unicode)),f(_e,!1)):(U.done=!0,f(_e,!1))}),Q=function(ue){var U=a(this),$=u(ue),ie=A(U,RegExp),_e=u(_(U)),Pe,De,He;return Pe=new ie(ie===RegExp?U.source:U,_e),De=!!~J(_e,"g"),He=!!~J(_e,"u"),Pe.lastIndex=h(U.lastIndex),new ee(Pe,$,De,He)};r({target:"String",proto:!0,forced:se},{matchAll:function(U){var $=o(this),ie,_e,Pe,De;if(x(U)){if(se)return V($,U)}else{if(y(U)&&(ie=u(o(_(U))),!~J(ie,"g")))throw new q("`.matchAll` does not allow non-global regexes");if(se)return V($,U);if(Pe=b(U,K),Pe===void 0&&N&&p(U)==="RegExp"&&(Pe=Q),Pe)return i(Pe,U,$)}return _e=u($),De=new RegExp(U,"g"),N?i(Q,De,_e):De[K](_e)}}),N||K in oe||S(oe,K,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 P=[],M=0,B;(B=x(S,k))!==null;){var N=o(B[0]);P[M]=N,N===""&&(S.lastIndex=a(k,f(S.lastIndex),A)),M++}return M===0?null:P}]})},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),P=Math.max,M=function(B,N,K){return K>B.length?-1:N===""?K:k(B,N,K)};r({target:"String",proto:!0},{replaceAll:function(N,K){var G=c(this),H,ae,ne,oe,q,J,V,se,ee,Q=0,ue=0,U="";if(!o(N)){if(H=h(N),H&&(ae=u(c(x(N))),!~k(ae,"g")))throw new S("`.replaceAll` does not allow non-global regexes");if(ne=a(N,b),ne)return i(ne,N,G,K);if(_&&H)return R(u(G),N,K)}for(oe=u(G),q=u(N),J=f(K),J||(K=u(K)),V=q.length,se=P(1,V),Q=M(oe,q,0);Q!==-1;)ee=J?u(K(q,Q,oe)):p(q,oe,Q,[],void 0,K),U+=A(oe,ue,Q)+ee,ue=Q+V,Q=M(oe,q,Q+se);return ue<oe.length&&(U+=A(oe,ue)),U}})},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"),P=Math.max,M=Math.min,B=l([].concat),N=l([].push),K=l("".indexOf),G=l("".slice),H=function(q){return q===void 0?q:String(q)},ae=function(){return"a".replace(/./,"$0")==="$0"}(),ne=function(){return/./[A]?/./[A]("a","$0")==="":!1}(),oe=!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,V){var se=ne?"$":"$0";return[function(Q,ue){var U=y(this),$=u(Q)?void 0:b(Q,A);return $?i($,Q,U,ue):i(J,p(U),Q,ue)},function(ee,Q){var ue=o(this),U=p(ee);if(typeof Q=="string"&&K(Q,se)===-1&&K(Q,"$<")===-1){var $=V(J,ue,U,Q);if($.done)return $.value}var ie=h(Q);ie||(Q=p(Q));var _e=ue.global,Pe;_e&&(Pe=ue.unicode,ue.lastIndex=0);for(var De=[],He;He=k(ue,U),!(He===null||(N(De,He),!_e));){var Ne=p(He[0]);Ne===""&&(ue.lastIndex=_(U,x(ue.lastIndex),Pe))}for(var Ft="",gt=0,Dt=0;Dt<De.length;Dt++){He=De[Dt];for(var rr=p(He[0]),Xt=P(M(a(He.index),U.length),0),fr=[],Ge,Tt=1;Tt<He.length;Tt++)N(fr,H(He[Tt]));var zt=He.groups;if(ie){var nt=B([rr],fr,Xt,U);zt!==void 0&&N(nt,zt),Ge=p(r(Q,void 0,nt))}else Ge=S(rr,U,Xt,fr,zt,Q);Xt>=gt&&(Ft+=G(U,gt,Xt)+Ge,gt=Xt+rr.length)}return Ft+G(U,gt)}]},!oe||!ae||ne)},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),P=R.UNSUPPORTED_Y,M=4294967295,B=Math.min,N=[].push,K=l(/./.exec),G=l(N),H=l("".slice),ae=!A(function(){var ne=/(?:)/,oe=ne.exec;ne.exec=function(){return oe.apply(this,arguments)};var q="ab".split(ne);return q.length!==2||q[0]!=="a"||q[1]!=="b"});c("split",function(ne,oe,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(V,se){var ee=y(u(this)),Q=se===void 0?M:se>>>0;if(Q===0)return[];if(V===void 0)return[ee];if(!h(V))return i(oe,ee,V,Q);for(var ue=[],U=(V.ignoreCase?"i":"")+(V.multiline?"m":"")+(V.unicode?"u":"")+(V.sticky?"y":""),$=0,ie=new RegExp(V.source,U+"g"),_e,Pe,De;(_e=i(k,ie,ee))&&(Pe=ie.lastIndex,!(Pe>$&&(G(ue,H(ee,$,_e.index)),_e.length>1&&_e.index<ee.length&&r(N,ue,b(_e,1)),De=_e[0].length,$=Pe,ue.length>=Q)));)ie.lastIndex===_e.index&&ie.lastIndex++;return $===ee.length?(De||!K(ie,""))&&G(ue,""):G(ue,H(ee,$)),ue.length>Q?b(ue,0,Q):ue}:"0".split(void 0,0).length?J=function(V,se){return V===void 0&&se===0?[]:i(oe,this,V,se)}:J=oe,[function(se,ee){var Q=u(this),ue=o(se)?void 0:_(se,ne);return ue?i(ue,se,Q,ee):i(J,y(Q),se,ee)},function(V,se){var ee=f(this),Q=y(V),ue=q(J,ee,Q,se,J!==oe);if(ue.done)return ue.value;var U=a(ee,RegExp),$=ee.unicode,ie=(ee.ignoreCase?"i":"")+(ee.multiline?"m":"")+(ee.unicode?"u":"")+(P?"g":"y"),_e=new U(P?"^(?:"+ee.source+")":ee,ie),Pe=se===void 0?M:se>>>0;if(Pe===0)return[];if(Q.length===0)return S(_e,Q)===null?[Q]:[];for(var De=0,He=0,Ne=[];He<Q.length;){_e.lastIndex=P?0:He;var Ft=S(_e,P?H(Q,He):Q),gt;if(Ft===null||(gt=B(p(_e.lastIndex+(P?He:0)),Q.length))===De)He=x(Q,He,$);else{if(G(Ne,H(Q,De,He)),Ne.length===Pe)return Ne;for(var Dt=1;Dt<=Ft.length-1;Dt++)if(G(Ne,Ft[Dt]),Ne.length===Pe)return Ne;He=De=gt}}return G(Ne,H(Q,De)),Ne}]},!ae,P)},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)),P=f(k);return x?x(R,P,A):p(R,A,A+P.length)===P}})},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 P=a(S,A);(P&63488)!==55296?R[A]=u(S,A):P>=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),P=e(53393),M=e(92635),B=e(71256),N=e(37691),K=e(55666),G=e(27597),H=e(2291),ae=e(64110),ne=e(77898),oe=e(11898),q=e(54406),J=e(6145),V=e(59893),se=e(38282),ee=e(94674),Q=e(14311),ue=e(94573),U=e(94844),$=e(90560).forEach,ie=oe("hidden"),_e="Symbol",Pe="prototype",De=U.set,He=U.getterFor(_e),Ne=Object[Pe],Ft=i.Symbol,gt=Ft&&Ft[Pe],Dt=i.RangeError,rr=i.TypeError,Xt=i.QObject,fr=B.f,Ge=N.f,Tt=P.f,zt=G.f,nt=c([].push),bt=ne("symbols"),dt=ne("op-symbols"),et=ne("wks"),ze=!Xt||!Xt[Pe]||!Xt[Pe].findChild,ge=function(Je,Yt,kt){var Ht=fr(Ne,Yt);Ht&&delete Ne[Yt],Ge(Je,Yt,kt),Ht&&Je!==Ne&&Ge(Ne,Yt,Ht)},Se=o&&u(function(){return k(Ge({},"a",{get:function(){return Ge(this,"a",{value:7}).a}})).a!==7})?ge:Ge,Le=function(Je,Yt){var kt=bt[Je]=k(gt);return De(kt,{type:_e,tag:Je,description:Yt}),o||(kt.description=Yt),kt},$e=function(Yt,kt,Ht){Yt===Ne&&$e(dt,kt,Ht),p(Yt);var $t=_(kt);return p(Ht),a(bt,$t)?(Ht.enumerable?(a(Yt,ie)&&Yt[ie][$t]&&(Yt[ie][$t]=!1),Ht=k(Ht,{enumerable:S(0,!1)})):(a(Yt,ie)||Ge(Yt,ie,S(1,{})),Yt[ie][$t]=!0),Se(Yt,$t,Ht)):Ge(Yt,$t,Ht)},We=function(Yt,kt){p(Yt);var Ht=y(kt),$t=R(Ht).concat(Ce(Ht));return $($t,function(tr){(!o||l(ot,Ht,tr))&&$e(Yt,tr,Ht[tr])}),Yt},rt=function(Yt,kt){return kt===void 0?k(Yt):We(k(Yt),kt)},ot=function(Yt){var kt=_(Yt),Ht=l(zt,this,kt);return this===Ne&&a(bt,kt)&&!a(dt,kt)?!1:Ht||!a(this,kt)||!a(bt,kt)||a(this,ie)&&this[ie][kt]?Ht:!0},Kt=function(Yt,kt){var Ht=y(Yt),$t=_(kt);if(!(Ht===Ne&&a(bt,$t)&&!a(dt,$t))){var tr=fr(Ht,$t);return tr&&a(bt,$t)&&!(a(Ht,ie)&&Ht[ie][$t])&&(tr.enumerable=!0),tr}},Wt=function(Yt){var kt=Tt(y(Yt)),Ht=[];return $(kt,function($t){!a(bt,$t)&&!a(q,$t)&&nt(Ht,$t)}),Ht},Ce=function(Je){var Yt=Je===Ne,kt=Tt(Yt?dt:y(Je)),Ht=[];return $(kt,function($t){a(bt,$t)&&(!Yt||a(Ne,$t))&&nt(Ht,bt[$t])}),Ht};h||(Ft=function(){if(x(gt,this))throw new rr("Symbol is not a constructor");var Yt=!arguments.length||arguments[0]===void 0?void 0:b(arguments[0]),kt=J(Yt),Ht=function($t){var tr=this===void 0?i:this;tr===Ne&&l(Ht,dt,$t),a(tr,ie)&&a(tr[ie],kt)&&(tr[ie][kt]=!1);var Gt=S(1,$t);try{Se(tr,kt,Gt)}catch(Me){if(!(Me instanceof Dt))throw Me;ge(tr,kt,Gt)}};return o&&ze&&Se(Ne,kt,{configurable:!0,set:Ht}),Le(kt,Yt)},gt=Ft[Pe],H(gt,"toString",function(){return He(this).tag}),H(Ft,"withoutSetter",function(Je){return Le(J(Je),Je)}),G.f=ot,N.f=$e,K.f=We,B.f=Kt,A.f=P.f=Wt,M.f=Ce,se.f=function(Je){return Le(V(Je),Je)},o&&(ae(gt,"description",{configurable:!0,get:function(){return He(this).description}}),f||H(Ne,"propertyIsEnumerable",ot,{unsafe:!0}))),r({global:!0,constructor:!0,wrap:!0,forced:!h,sham:!h},{Symbol:Ft}),$(R(et),function(Je){ee(Je)}),r({target:_e,stat:!0,forced:!h},{useSetter:function(){ze=!0},useSimple:function(){ze=!1}}),r({target:"Object",stat:!0,forced:!h,sham:!o},{create:rt,defineProperty:$e,defineProperties:We,getOwnPropertyDescriptor:Kt}),r({target:"Object",stat:!0,forced:!h},{getOwnPropertyNames:Wt}),Q(),ue(Ft,_e),q[ie]=!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 N=arguments.length<1||arguments[0]===void 0?void 0:u(arguments[0]),K=h(y,this)?new p(N):N===void 0?p():p(N);return N===""&&(_[K]=!0),K};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\((.*)\)[^)]+$/,P=c("".replace),M=c("".slice);a(y,"description",{configurable:!0,get:function(){var N=k(this);if(f(_,N))return"";var K=R(N),G=S?M(K,7,-1):P(K,A,"$1");return G===""?void 0:G}}),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),P=o(R);if(b)return i(p,this,P,A);var M=this.length,B=c(P),N=0;if(B+A>M)throw new u("Wrong length");for(;N<B;)this[A+N]=P[N++]},!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),P=Array(516),M,B;for(M=0;M<516;M++)B=M%4,A[M]=515-M,P[M]=M-2*B+3;for(b(A,function(N,K){return(N/4|0)-(K/4|0)}),M=0;M<516;M++)if(A[M]!==P[M])return!0}),R=function(A){return function(P,M){return A!==void 0?+A(P,M)||0:M!==M?-1:P!==P?1:P===0&&M===0?1/P>0&&1/M<0?1:-1:P>M}};y("sort",function(P){return P!==void 0&&c(P),k?b(this,P):f(p(this),R(P))},!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,P={},M={},B=!i.ActiveXObject&&"ActiveXObject"in i,N,K=function(V){return function(){return V(this,arguments.length?arguments[0]:void 0)}},G=o("WeakMap",K,h),H=G.prototype,ae=l(H.set),ne=function(){return r&&x(function(){var V=R([]);return ae(new G,V,1),!S(V)})};if(p)if(B){N=h.getConstructor(K,"WeakMap",!0),f.enable();var oe=l(H.delete),q=l(H.has),J=l(H.get);c(H,{delete:function(V){if(u(V)&&!b(V)){var se=a(this);return se.frozen||(se.frozen=new N),oe(this,V)||se.frozen.delete(V)}return oe(this,V)},has:function(se){if(u(se)&&!b(se)){var ee=a(this);return ee.frozen||(ee.frozen=new N),q(this,se)||ee.frozen.has(se)}return q(this,se)},get:function(se){if(u(se)&&!b(se)){var ee=a(this);return ee.frozen||(ee.frozen=new N),q(this,se)?J(this,se):ee.frozen.get(se)}return J(this,se)},set:function(se,ee){if(u(se)&&!b(se)){var Q=a(this);Q.frozen||(Q.frozen=new N),q(this,se)?ae(this,se,ee):Q.frozen.set(se,ee)}else ae(this,se,ee);return this}})}else ne()&&c(H,{set:function(se,ee){var Q;return _(se)&&(S(se)?Q=P:k(se)&&(Q=M)),ae(this,se,ee),Q===P&&R(se),Q===M&&A(se),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,P=x.getterFor(R),M="async-dispose",B="disposed",N="pending",K=function(ae){var ne=P(ae);if(ne.state===B)throw new b(R+" already disposed");return ne},G=function(){A(f(this,H),{type:R,state:N,stack:[]}),i||(this.disposed=!1)},H=G.prototype;h(H,{disposeAsync:function(){var ne=this;return new y(function(oe,q){var J=P(ne);if(J.state===B)return oe(void 0);J.state=B,i||(ne.disposed=!0);var V=J.stack,se=V.length,ee=!1,Q,ue=function($){ee?Q=new _($,Q):(ee=!0,Q=$),U()},U=function(){if(se){var $=V[--se];V[se]=null;try{y.resolve($()).then(U,ue)}catch(ie){ue(ie)}}else J.stack=null,ee?q(Q):oe(void 0)};U()})},use:function(ne){return p(K(this),ne,M),ne},adopt:function(ne,oe){var q=K(this);return c(oe),p(q,void 0,M,function(){return oe(ne)}),ne},defer:function(ne){var oe=K(this);c(ne),p(oe,void 0,M,ne)},move:function(){var ne=K(this),oe=new G;return P(oe).stack=ne.stack,ne.stack=[],ne.state=B,i||(this.disposed=!0),oe}}),i&&u(H,"disposed",{configurable:!0,get:function(){return P(this).state===B}}),o(H,S,H.disposeAsync,{name:"disposeAsync"}),o(H,k,R,{nonWritable:!0}),r({global:!0,constructor:!0},{AsyncDisposableStack:G})},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)},P=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 N=B.value;try{var K=S(N,_.counter++),G=function(H){H?k(u(N,!1)):M()};f(K)?y.resolve(K).then(G,P):G(K)}catch(H){P(H)}}}catch(H){A(H)}},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 P=function(K){b.done=!0,A(K)},M=function(K){x(S,P,K,P)},B=function(){try{_.resolve(c(i(b.next,S))).then(function(K){try{if(c(K).done)b.done=!0,R(u(void 0,!0));else{var G=K.value;try{var H=k(G,b.counter++),ae=function(ne){try{b.inner=a(ne),N()}catch(oe){M(oe)}};f(H)?_.resolve(H).then(ae,M):ae(H)}catch(ne){M(ne)}}}catch(ne){P(ne)}},P)}catch(K){P(K)}},N=function(){var K=b.inner;if(K)try{_.resolve(c(i(K.next,K.iterator))).then(function(G){try{c(G).done?(b.inner=null,B()):R(u(G.value,!1))}catch(H){M(H)}},M)}catch(G){M(G)}else B()};N()})});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(P,M){var B=function(K){u(b,M,K,M)},N=function(){try{a.resolve(c(i(S,b))).then(function(K){try{if(c(K).done)k?M(new x("Reduce of empty iterator with no initial value")):P(R);else{var G=K.value;if(k)k=!1,R=G,N();else try{var H=y(R,G,A),ae=function(ne){R=ne,N()};f(H)?a.resolve(H).then(ae,B):ae(H)}catch(ne){B(ne)}}A++}catch(ne){M(ne)}},M)}catch(K){M(K)}};N()})}})},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),P="sync-dispose",M="disposed",B="pending",N=function(H){var ae=A(H);if(ae.state===M)throw new _(k+" already disposed");return ae},K=function(){R(f(this,G),{type:k,state:B,stack:[]}),i||(this.disposed=!1)},G=K.prototype;h(G,{dispose:function(){var ae=A(this);if(ae.state!==M){ae.state=M,i||(this.disposed=!0);for(var ne=ae.stack,oe=ne.length,q=!1,J;oe;){var V=ne[--oe];ne[oe]=null;try{V()}catch(se){q?J=new y(se,J):(q=!0,J=se)}}if(ae.stack=null,q)throw J}},use:function(ae){return p(N(this),ae,P),ae},adopt:function(ae,ne){var oe=N(this);return c(ne),p(oe,void 0,P,function(){ne(ae)}),ae},defer:function(ae){var ne=N(this);c(ae),p(ne,void 0,P,ae)},move:function(){var ae=N(this),ne=new K;return A(ne).stack=ae.stack,ae.stack=[],ae.state=M,i||(this.disposed=!0),ne}}),i&&u(G,"disposed",{configurable:!0,get:function(){return A(this).state===M}}),o(G,b,G.dispose,{name:"dispose"}),o(G,S,k,{nonWritable:!0}),r({global:!0,constructor:!0},{DisposableStack:K})},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,P=i[k],M=b||!f(P)||P.prototype!==y||!a(function(){P({})}),B=function(){if(l(this,y),o(this)===y)throw new A("Abstract class Iterator not directly constructable")},N=function(K,G){_?h(y,K,{configurable:!0,get:function(){return G},set:function(H){if(c(this),this===y)throw new A("You can't redefine this property");x(this,K)?this[K]=H:u(this,K,H)}}):y[K]=G};x(y,R)||N(R,k),(M||!x(y,S)||y[S]===Object)&&N(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,P=l.SyntaxError,M=R&&R.parse,B=c("Object","keys"),N=Object.getOwnPropertyDescriptor,K=f("".charAt),G=f("".slice),H=f(/./.exec),ae=f([].push),ne=/^\d$/,oe=/^[1-9]$/,q=/^(?:-|\d)$/,J=/^[\t\n\r ]$/,V=0,se=1,ee=function(Pe,De){Pe=p(Pe);var He=new $(Pe,0,""),Ne=He.parse(),Ft=Ne.value,gt=He.skip(J,Ne.end);if(gt<Pe.length)throw new P('Unexpected extra character: "'+K(Pe,gt)+'" after the parsed data at: '+gt);return h(De)?Q({"":Ft},"",De,Ne):Ft},Q=function(Pe,De,He,Ne){var Ft=Pe[De],gt=Ne&&Ft===Ne.value,Dt=gt&&typeof Ne.source=="string"?{source:Ne.source}:{},rr,Xt,fr,Ge,Tt;if(u(Ft)){var zt=a(Ft),nt=gt?Ne.nodes:zt?[]:{};if(zt)for(rr=nt.length,fr=y(Ft),Ge=0;Ge<fr;Ge++)ue(Ft,Ge,Q(Ft,""+Ge,He,Ge<rr?nt[Ge]:void 0));else for(Xt=B(Ft),fr=y(Xt),Ge=0;Ge<fr;Ge++)Tt=Xt[Ge],ue(Ft,Tt,Q(Ft,Tt,He,x(nt,Tt)?nt[Tt]:void 0))}return o(He,Pe,De,Ft,Dt)},ue=function(Pe,De,He){if(i){var Ne=N(Pe,De);if(Ne&&!Ne.configurable)return}He===void 0?delete Pe[De]:_(Pe,De,He)},U=function(Pe,De,He,Ne){this.value=Pe,this.end=De,this.source=He,this.nodes=Ne},$=function(Pe,De){this.source=Pe,this.index=De};$.prototype={fork:function(Pe){return new $(this.source,Pe)},parse:function(){var Pe=this.source,De=this.skip(J,this.index),He=this.fork(De),Ne=K(Pe,De);if(H(q,Ne))return He.number();switch(Ne){case"{":return He.object();case"[":return He.array();case'"':return He.string();case"t":return He.keyword(!0);case"f":return He.keyword(!1);case"n":return He.keyword(null)}throw new P('Unexpected character: "'+Ne+'" at: '+De)},node:function(Pe,De,He,Ne,Ft){return new U(De,Ne,Pe?null:G(this.source,He,Ne),Ft)},object:function(){for(var Pe=this.source,De=this.index+1,He=!1,Ne={},Ft={};De<Pe.length;){if(De=this.until(['"',"}"],De),K(Pe,De)==="}"&&!He){De++;break}var gt=this.fork(De).string(),Dt=gt.value;De=gt.end,De=this.until([":"],De)+1,De=this.skip(J,De),gt=this.fork(De).parse(),_(Ft,Dt,gt),_(Ne,Dt,gt.value),De=this.until([",","}"],gt.end);var rr=K(Pe,De);if(rr===",")He=!0,De++;else if(rr==="}"){De++;break}}return this.node(se,Ne,this.index,De,Ft)},array:function(){for(var Pe=this.source,De=this.index+1,He=!1,Ne=[],Ft=[];De<Pe.length;){if(De=this.skip(J,De),K(Pe,De)==="]"&&!He){De++;break}var gt=this.fork(De).parse();if(ae(Ft,gt),ae(Ne,gt.value),De=this.until([",","]"],gt.end),K(Pe,De)===",")He=!0,De++;else if(K(Pe,De)==="]"){De++;break}}return this.node(se,Ne,this.index,De,Ft)},string:function(){var Pe=this.index,De=S(this.source,this.index+1);return this.node(V,De.value,Pe,De.end)},number:function(){var Pe=this.source,De=this.index,He=De;if(K(Pe,He)==="-"&&He++,K(Pe,He)==="0")He++;else if(H(oe,K(Pe,He)))He=this.skip(ne,++He);else throw new P("Failed to parse number at: "+He);if(K(Pe,He)==="."&&(He=this.skip(ne,++He)),K(Pe,He)==="e"||K(Pe,He)==="E"){He++,(K(Pe,He)==="+"||K(Pe,He)==="-")&&He++;var Ne=He;if(He=this.skip(ne,He),Ne===He)throw new P("Failed to parse number's exponent value at: "+He)}return this.node(V,A(G(Pe,De,He)),De,He)},keyword:function(Pe){var De=""+Pe,He=this.index,Ne=He+De.length;if(G(this.source,He,Ne)!==De)throw new P("Failed to parse value at: "+He);return this.node(V,Pe,He,Ne)},skip:function(Pe,De){for(var He=this.source;De<He.length&&H(Pe,K(He,De));De++);return De},until:function(Pe,De){De=this.skip(J,De);for(var He=K(this.source,De),Ne=0;Ne<Pe.length;Ne++)if(Pe[Ne]===He)return De;throw new P('Unexpected character: "'+He+'" at: '+De)}};var ie=b(function(){var Pe="9007199254740993",De;return M(Pe,function(He,Ne,Ft){De=Ft.source}),De!==Pe}),_e=k&&!b(function(){return 1/M("-0 ")!==-1/0});r({target:"JSON",stat:!0,forced:ie},{parse:function(De,He){return _e&&!h(He)?M(De):ee(De,He)}})},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"),P=c("Object","create"),M=c("Object","freeze"),B=o("".charAt),N=o("".slice),K=o(/./.exec),G=o([].push),H=_(),ae=H.length,ne="Unacceptable as raw JSON",oe=/^[\t\n\r ]$/;r({target:"JSON",stat:!0,forced:!l},{rawJSON:function(J){var V=a(J);if(V===""||K(oe,B(V,0))||K(oe,B(V,V.length-1)))throw new k(ne);var se=R(V);if(typeof se=="object"&&se!==null)throw new k(ne);var ee=P(null);return b(ee,{type:"RawJSON"}),x(ee,"rawJSON",V),i?M(ee):ee}}),A&&r({target:"JSON",stat:!0,arity:3,forced:!l},{stringify:function(J,V,se){var ee=y(V),Q=[],ue=A(J,function(He,Ne){var Ft=h(ee)?f(ee,this,S(He),Ne):Ne;return u(Ft)?H+(G(Q,Ft.rawJSON)-1):Ft},se);if(typeof ue!="string")return ue;for(var U="",$=ue.length,ie=0;ie<$;ie++){var _e=B(ue,ie);if(_e==='"'){var Pe=p(ue,++ie).end-1,De=N(ue,ie,Pe);U+=N(De,0,ae)===H?Q[N(De,ae)]:'"'+De+'"',ie=Pe}else U+=_e}return U}})},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,P){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=P===void 0?10:l(P);if(B<2||B>36)throw new o(f);if(!_(p,A))throw new h(c);var N=k(A,"."),K=a(N[0],B);if(N.length>1&&(K+=a(N[1],B)/x(B,N[1].length)),B===10&&b(K,B)!==A)throw new h(c);return M*K}})},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"),P="Observable",M="Subscription",B="SubscriptionObserver",N=R.getterFor,K=R.set,G=N(P),H=N(M),ae=N(B),ne=function(se){this.observer=o(se),this.cleanup=void 0,this.subscriptionObserver=void 0};ne.prototype={type:M,clean:function(){var se=this.cleanup;if(se){this.cleanup=void 0;try{se()}catch(ee){S(ee)}}},close:function(){if(!l){var se=this.facade,ee=this.subscriptionObserver;se.closed=!0,ee&&(ee.closed=!0)}this.observer=void 0},isClosed:function(){return this.observer===void 0}};var oe=function(se,ee){var Q=K(this,new ne(se)),ue;l||(this.closed=!1);try{(ue=p(se,"start"))&&i(ue,se,this)}catch(_e){S(_e)}if(!Q.isClosed()){var U=Q.subscriptionObserver=new q(Q);try{var $=ee(U),ie=$;a($)||(Q.cleanup=u($.unsubscribe)?function(){ie.unsubscribe()}:f($))}catch(_e){U.error(_e);return}Q.isClosed()&&Q.clean()}};oe.prototype=_({},{unsubscribe:function(){var ee=H(this);ee.isClosed()||(ee.close(),ee.clean())}}),l&&b(oe.prototype,"closed",{configurable:!0,get:function(){return H(this).isClosed()}});var q=function(se){K(this,{type:B,subscriptionState:se}),l||(this.closed=!1)};q.prototype=_({},{next:function(ee){var Q=ae(this).subscriptionState;if(!Q.isClosed()){var ue=Q.observer;try{var U=p(ue,"next");U&&i(U,ue,ee)}catch($){S($)}}},error:function(ee){var Q=ae(this).subscriptionState;if(!Q.isClosed()){var ue=Q.observer;Q.close();try{var U=p(ue,"error");U?i(U,ue,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 ue=p(Q,"complete");ue&&i(ue,Q)}catch(U){S(U)}ee.clean()}}}),l&&b(q.prototype,"closed",{configurable:!0,get:function(){return ae(this).subscriptionState.isClosed()}});var J=function(ee){h(this,V),K(this,{type:P,subscriber:f(ee)})},V=J.prototype;_(V,{subscribe:function(ee){var Q=arguments.length;return new oe(u(ee)?{next:ee,error:Q>1?arguments[1]:void 0,complete:Q>2?arguments[2]:void 0}:x(ee)?ee:{},G(this).subscriber)}}),y(V,A,function(){return this}),r({global:!0,constructor:!0,forced:!0},{Observable:J}),c(P)},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,P){if(R.next(A),R.closed)return P()},{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,P=y.set,M=Array,B=TypeError,N=Object.freeze||Object,K=Object.isFrozen,G=Math.min,H=c("".charAt),ae=c("".slice),ne=c("".split),oe=c(/./.exec),q=/([\n\u2028\u2029]|\r\n?)/g,J=RegExp("^["+S+"]*"),V=RegExp("[^"+S+"]"),se="Invalid tag",ee="Invalid opening line",Q="Invalid closing line",ue=function(De){var He=De.raw;if(r&&!K(He))throw new B("Raw template should be frozen");if(A(k,He))return R(k,He);var Ne=U(He),Ft=ie(Ne);return x(Ft,"raw",{value:N(Ne)}),N(Ft),P(k,He,Ft),Ft},U=function(De){var He=h(De),Ne=a(He),Ft=M(Ne),gt=M(Ne),Dt=0,rr,Xt,fr,Ge;if(!Ne)throw new B(se);for(;Dt<Ne;Dt++){var Tt=He[Dt];if(typeof Tt=="string")Ft[Dt]=ne(Tt,q);else throw new B(se)}for(Dt=0;Dt<Ne;Dt++){var zt=Dt+1===Ne;if(rr=Ft[Dt],Dt===0){if(rr.length===1||rr[0].length>0)throw new B(ee);rr[1]=""}if(zt){if(rr.length===1||oe(V,rr[rr.length-1]))throw new B(Q);rr[rr.length-2]="",rr[rr.length-1]=""}for(var nt=2;nt<rr.length;nt+=2){var bt=rr[nt],dt=nt+1===rr.length&&!zt,et=oe(J,bt)[0];if(!dt&&et.length===bt.length){rr[nt]="";continue}Xt=$(et,Xt)}}var ze=Xt?Xt.length:0;for(Dt=0;Dt<Ne;Dt++){for(rr=Ft[Dt],fr=rr[0],Ge=1;Ge<rr.length;Ge+=2)fr+=rr[Ge]+ae(rr[Ge+1],ze);gt[Dt]=fr}return gt},$=function(De,He){if(He===void 0||De===He)return De;for(var Ne=0,Ft=G(De.length,He.length);Ne<Ft&&H(De,Ne)===H(He,Ne);Ne++);return ae(De,0,Ne)},ie=function(De){for(var He=0,Ne=De.length,Ft=M(Ne);He<Ne;He++)Ft[He]=b(De[He]);return Ft},_e=function(De){return l(function(He){var Ne=p(arguments);return Ne[0]=ue(o(He)),f(De,this,Ne)},"")},Pe=_e(_);i({target:"String",stat:!0,forced:!0},{dedent:function(He){return o(He),u(He)?_e(He):f(Pe,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,P){var M=i(S,this),B;return c?B=c(new _,M?l(this):S):(B=M?this:o(S),h(B,y,"Error")),P!==void 0&&h(B,"message",x(P)),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),P=i(R),M=c(S,P),B=arguments.length,N=0,K,G,H,ae,ne,oe,q;if(B===0)K=G=0;else if(B===1)K=0,G=P-M;else if(G=y(p(o(k),0),P-M),K=B-2,K){ae=new A(K),H=l(ae);for(var J=2;J<B;J++)ne=arguments[J],ae[J-2]=H?f(ne):+ne}for(oe=P+K-G,q=new A(oe);N<M;N++)q[N]=R[N];for(;N<M+K;N++)q[N]=ae[N-M];for(;N<oe;N++)q[N]=R[N+G-K];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,P="Extra bits";y&&r({target:"Uint8Array",stat:!0,forced:!0},{fromBase64:function(B){f(B);var N=arguments.length>1?c(arguments[1]):void 0,K=a(N)==="base64"?x:p,G=N?!!N.strict:!1,H=G?B:S(B,A,"");if(H.length%4===0)k(H,-2)==="=="?H=k(H,0,-2):k(H,-1)==="="&&(H=k(H,0,-1));else if(G)throw new _("Input is not correctly padded");var ae=H.length%4;switch(ae){case 1:throw new _("Bad input length");case 2:H+="AA";break;case 3:H+="A"}for(var ne=[],oe=0,q=H.length,J=function(ee){var Q=b(H,oe+ee);if(!o(K,Q))throw new _('Bad char in input: "'+Q+'"');return K[Q]<<18-6*ee};oe<q;oe+=4){var V=J(0)+J(1)+J(2)+J(3);R(ne,V>>16&255,V>>8&255,V&255)}var se=ne.length;if(ae===2){if(G&&ne[se-2]!==0)throw new _(P);se-=2}else if(ae===3){if(G&&ne[se-1]!==0)throw new _(P);se--}return h(y,ne,se)}})},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,P,M=function(B){return p(S,P>>6*B&63)};R+2<A;R+=3)P=(_[R]<<16)+(_[R+1]<<8)+_[R+2],k+=M(3)+M(2)+M(1)+M(0);return R+2===A?(P=(_[R]<<16)+(_[R+1]<<8),k+=M(3)+M(2)+M(1)+"="):R+1===A&&(P=_[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"}),P=A&&o(function(){return _(" ")!==""}),M=A&&!o(function(){_("a")}),B=A&&!o(function(){_()}),N=A&&_.length!==1,K=!A||P||M||B||N;r({global:!0,bind:!0,enumerable:!0,forced:K},{atob:function(H){if(u(arguments.length,1),A&&!P&&!M)return f(_,i,H);var ae=k(h(H),p,""),ne="",oe=0,q=0,J,V,se;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(;oe<J;)V=S(ae,oe++),se=q%4?se*64+a[V]:a[V],q++%4&&(ne+=b(255&se>>(-2*q&6)));return ne}})},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 P=h(A),M="",B=0,N=a,K,G;p(P,B)||(N="=",B%1);){if(G=y(P,B+=.75),G>255)throw new(l("DOMException"))("The string contains characters outside of the Latin1 range","InvalidCharacterError");K=K<<8|G,M+=p(N,63&K>>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),P=e(16697),M="DOMException",B="DATA_CLONE_ERR",N=l("Error"),K=l(M)||function(){try{var gt=l("MessageChannel")||i("worker_threads").MessageChannel;new gt().port1.postMessage(new WeakMap)}catch(Dt){if(Dt.name===B&&Dt.code===25)return Dt.constructor}}(),G=K&&K.prototype,H=N.prototype,ae=R.set,ne=R.getterFor(M),oe="stack"in new N(M),q=function(gt){return x(S,gt)&&S[gt].m?S[gt].c:0},J=function(){p(this,V);var Dt=arguments.length,rr=b(Dt<1?void 0:arguments[0]),Xt=b(Dt<2?void 0:arguments[1],"Error"),fr=q(Xt);if(ae(this,{type:M,name:Xt,message:rr,code:fr}),A||(this.name=Xt,this.message=rr,this.code=fr),oe){var Ge=new N(rr);Ge.name=M,h(this,"stack",o(1,k(Ge.stack,1)))}},V=J.prototype=f(H),se=function(gt){return{enumerable:!0,configurable:!0,get:gt}},ee=function(gt){return se(function(){return ne(this)[gt]})};A&&(a(V,"code",ee("code")),a(V,"message",ee("message")),a(V,"name",ee("name"))),h(V,"constructor",o(1,J));var Q=c(function(){return!(new K instanceof N)}),ue=Q||c(function(){return H.toString!==_||String(new K(1,2))!=="2: 1"}),U=Q||c(function(){return new K(1,"DataCloneError").code!==25}),$=Q||K[B]!==25||G[B]!==25,ie=P?ue||U||$:Q;r({global:!0,constructor:!0,forced:ie},{DOMException:ie?J:K});var _e=l(M),Pe=_e.prototype;ue&&(P||K===_e)&&u(Pe,"toString",_),U&&A&&K===_e&&a(Pe,"code",se(function(){return q(y(this).name)}));for(var De in S)if(x(S,De)){var He=S[De],Ne=He.s,Ft=o(6,He.c);x(_e,Ne)||h(_e,Ne,Ft),x(Pe,Ne)||h(Pe,Ne,Ft)}},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,V=a(J<1?void 0:arguments[0]),se=a(J<2?void 0:arguments[1],"Error"),ee=new k(V,se),Q=new S(V);return Q.name=b,f(ee,"stack",c(1,p(Q.stack,1))),u(ee,this,R),ee},A=R.prototype=k.prototype,P="stack"in new S(b),M="stack"in new k(1,2),B=k&&y&&Object.getOwnPropertyDescriptor(i,b),N=!!B&&!(B.writable&&B.configurable),K=P&&!N&&!M;r({global:!0,constructor:!0,forced:_||K},{DOMException:K?R:k});var G=l(b),H=G.prototype;if(H.constructor!==G){_||f(H,"constructor",c(1,G));for(var ae in x)if(o(x,ae)){var ne=x[ae],oe=ne.s;o(G,oe)||f(G,oe,c(6,ne.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),P=e(82762),M=e(57106),B=e(81644),N=e(2786),K=e(19691),G=e(57002),H=e(39311),ae=e(25406),ne=e(80426),oe=l.Object,q=l.Array,J=l.Date,V=l.Error,se=l.TypeError,ee=l.PerformanceMark,Q=c("DOMException"),ue=N.Map,U=N.has,$=N.get,ie=N.set,_e=K.Set,Pe=K.add,De=K.has,He=c("Object","keys"),Ne=f([].push),Ft=f((!0).valueOf),gt=f(1 .valueOf),Dt=f("".valueOf),rr=f(J.prototype.getTime),Xt=h("structuredClone"),fr="DataCloneError",Ge="Transferring",Tt=function(Ce){return!o(function(){var Je=new l.Set([7]),Yt=Ce(Je),kt=Ce(oe(7));return Yt===Je||!Yt.has(7)||!p(kt)||+kt!=7})&&Ce},zt=function(Ce,Je){return!o(function(){var Yt=new Je,kt=Ce({a:Yt,b:Yt});return!(kt&&kt.a===kt.b&&kt.a instanceof Je&&kt.a.stack===Yt.stack)})},nt=function(Ce){return!o(function(){var Je=Ce(new l.AggregateError([1],Xt,{cause:3}));return Je.name!=="AggregateError"||Je.errors[0]!==1||Je.message!==Xt||Je.cause!==3})},bt=l.structuredClone,dt=r||!zt(bt,V)||!zt(bt,Q)||!nt(bt),et=!bt&&Tt(function(Ce){return new ee(Xt,{detail:Ce}).detail}),ze=Tt(bt)||et,ge=function(Ce){throw new Q("Uncloneable type: "+Ce,fr)},Se=function(Ce,Je){throw new Q((Je||"Cloning")+" of "+Ce+" cannot be properly polyfilled in this engine",fr)},Le=function(Ce,Je){return ze||Se(Je),ze(Ce)},$e=function(){var Ce;try{Ce=new l.DataTransfer}catch(Je){try{Ce=new l.ClipboardEvent("").clipboardData}catch(Yt){}}return Ce&&Ce.items&&Ce.files?Ce:null},We=function(Ce,Je,Yt){if(U(Je,Ce))return $(Je,Ce);var kt=Yt||S(Ce),Ht,$t,tr,Gt,Me,ce;if(kt==="SharedArrayBuffer")ze?Ht=ze(Ce):Ht=Ce;else{var he=l.DataView;!he&&!u(Ce.slice)&&Se("ArrayBuffer");try{if(u(Ce.slice)&&!Ce.resizable)Ht=Ce.slice(0);else for($t=Ce.byteLength,tr=("maxByteLength"in Ce)?{maxByteLength:Ce.maxByteLength}:void 0,Ht=new ArrayBuffer($t,tr),Gt=new he(Ce),Me=new he(Ht),ce=0;ce<$t;ce++)Me.setUint8(ce,Gt.getUint8(ce))}catch(Pt){throw new Q("ArrayBuffer is detached",fr)}}return ie(Je,Ce,Ht),Ht},rt=function(Ce,Je,Yt,kt,Ht){var $t=l[Je];return p($t)||Se(Je),new $t(We(Ce.buffer,Ht),Yt,kt)},ot=function(Ce,Je){if(y(Ce)&&ge("Symbol"),!p(Ce))return Ce;if(Je){if(U(Je,Ce))return $(Je,Ce)}else Je=new ue;var Yt=S(Ce),kt,Ht,$t,tr,Gt,Me,ce,he;switch(Yt){case"Array":$t=q(P(Ce));break;case"Object":$t={};break;case"Map":$t=new ue;break;case"Set":$t=new _e;break;case"RegExp":$t=new RegExp(Ce.source,B(Ce));break;case"Error":switch(Ht=Ce.name,Ht){case"AggregateError":$t=new(c(Ht))([]);break;case"EvalError":case"RangeError":case"ReferenceError":case"SuppressedError":case"SyntaxError":case"TypeError":case"URIError":$t=new(c(Ht));break;case"CompileError":case"LinkError":case"RuntimeError":$t=new(c("WebAssembly",Ht));break;default:$t=new V}break;case"DOMException":$t=new Q(Ce.message,Ce.name);break;case"ArrayBuffer":case"SharedArrayBuffer":$t=We(Ce,Je,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":Me=Yt==="DataView"?Ce.byteLength:Ce.length,$t=rt(Ce,Yt,Ce.byteOffset,Me,Je);break;case"DOMQuad":try{$t=new DOMQuad(ot(Ce.p1,Je),ot(Ce.p2,Je),ot(Ce.p3,Je),ot(Ce.p4,Je))}catch(Pt){$t=Le(Ce,Yt)}break;case"File":if(ze)try{$t=ze(Ce),S($t)!==Yt&&($t=void 0)}catch(Pt){}if(!$t)try{$t=new File([Ce],Ce.name,Ce)}catch(Pt){}$t||Se(Yt);break;case"FileList":if(tr=$e(),tr){for(Gt=0,Me=P(Ce);Gt<Me;Gt++)tr.items.add(ot(Ce[Gt],Je));$t=tr.files}else $t=Le(Ce,Yt);break;case"ImageData":try{$t=new ImageData(ot(Ce.data,Je),Ce.width,Ce.height,{colorSpace:Ce.colorSpace})}catch(Pt){$t=Le(Ce,Yt)}break;default:if(ze)$t=ze(Ce);else switch(Yt){case"BigInt":$t=oe(Ce.valueOf());break;case"Boolean":$t=oe(Ft(Ce));break;case"Number":$t=oe(gt(Ce));break;case"String":$t=oe(Dt(Ce));break;case"Date":$t=new J(rr(Ce));break;case"Blob":try{$t=Ce.slice(0,Ce.size,Ce.type)}catch(Pt){Se(Yt)}break;case"DOMPoint":case"DOMPointReadOnly":kt=l[Yt];try{$t=kt.fromPoint?kt.fromPoint(Ce):new kt(Ce.x,Ce.y,Ce.z,Ce.w)}catch(Pt){Se(Yt)}break;case"DOMRect":case"DOMRectReadOnly":kt=l[Yt];try{$t=kt.fromRect?kt.fromRect(Ce):new kt(Ce.x,Ce.y,Ce.width,Ce.height)}catch(Pt){Se(Yt)}break;case"DOMMatrix":case"DOMMatrixReadOnly":kt=l[Yt];try{$t=kt.fromMatrix?kt.fromMatrix(Ce):new kt(Ce)}catch(Pt){Se(Yt)}break;case"AudioData":case"VideoFrame":u(Ce.clone)||Se(Yt);try{$t=Ce.clone()}catch(Pt){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(ie(Je,Ce,$t),Yt){case"Array":case"Object":for(ce=He(Ce),Gt=0,Me=P(ce);Gt<Me;Gt++)he=ce[Gt],R($t,he,ot(Ce[he],Je));break;case"Map":Ce.forEach(function(Pt,Te){ie($t,ot(Te,Je),ot(Pt,Je))});break;case"Set":Ce.forEach(function(Pt){Pe($t,ot(Pt,Je))});break;case"Error":A($t,"message",ot(Ce.message,Je)),k(Ce,"cause")&&A($t,"cause",ot(Ce.cause,Je)),Ht==="AggregateError"?$t.errors=ot(Ce.errors,Je):Ht==="SuppressedError"&&($t.error=ot(Ce.error,Je),$t.suppressed=ot(Ce.suppressed,Je));case"DOMException":ae&&A($t,"stack",ot(Ce.stack,Je))}return $t},Kt=function(Ce,Je){if(!p(Ce))throw new se("Transfer option cannot be converted to a sequence");var Yt=[];_(Ce,function(Te){Ne(Yt,b(Te))});for(var kt=0,Ht=P(Yt),$t=new _e,tr,Gt,Me,ce,he,Pt;kt<Ht;){if(tr=Yt[kt++],Gt=S(tr),Gt==="ArrayBuffer"?De($t,tr):U(Je,tr))throw new Q("Duplicate transferable",fr);if(Gt==="ArrayBuffer"){Pe($t,tr);continue}if(ne)ce=bt(tr,{transfer:[tr]});else switch(Gt){case"ImageBitmap":Me=l.OffscreenCanvas,a(Me)||Se(Gt,Ge);try{he=new Me(tr.width,tr.height),Pt=he.getContext("bitmaprenderer"),Pt.transferFromImageBitmap(tr),ce=he.transferToImageBitmap()}catch(Te){}break;case"AudioData":case"VideoFrame":(!u(tr.clone)||!u(tr.close))&&Se(Gt,Ge);try{ce=tr.clone(),tr.close()}catch(Te){}break;case"MediaSourceHandle":case"MessagePort":case"OffscreenCanvas":case"ReadableStream":case"TransformStream":case"WritableStream":Se(Gt,Ge)}if(ce===void 0)throw new Q("This object cannot be transferred: "+Gt,fr);ie(Je,tr,ce)}return $t},Wt=function(Ce){G(Ce,function(Je){ne?ze(Je,{transfer:[Je]}):u(Je.transfer)?Je.transfer():H?H(Je):Se("ArrayBuffer",Ge)})};i({global:!0,enumerable:!0,sham:!ne,forced:dt},{structuredClone:function(Je){var Yt=M(arguments.length,1)>1&&!x(arguments[1])?b(arguments[1]):void 0,kt=Yt?Yt.transfer:void 0,Ht,$t;kt!==void 0&&(Ht=new ue,$t=Kt(kt,Ht));var tr=ot(Je,Ht);return $t&&Wt($t),tr}})},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),P=e(31946),M=e(69905),B=e(20132),N=e(35012),K=e(85428),G=e(26006),H=e(25587),ae=e(57106),ne=e(59893),oe=e(63668),q=ne("iterator"),J="URLSearchParams",V=J+"Iterator",se=y.set,ee=y.getterFor(J),Q=y.getterFor(V),ue=Object.getOwnPropertyDescriptor,U=function(Ht){if(!f)return i[Ht];var $t=ue(i,Ht);return $t&&$t.value},$=U("fetch"),ie=U("Request"),_e=U("Headers"),Pe=ie&&ie.prototype,De=_e&&_e.prototype,He=i.RegExp,Ne=i.TypeError,Ft=i.decodeURIComponent,gt=i.encodeURIComponent,Dt=c("".charAt),rr=c([].join),Xt=c([].push),fr=c("".replace),Ge=c([].shift),Tt=c([].splice),zt=c("".split),nt=c("".slice),bt=/\+/g,dt=Array(4),et=function(Ht){return dt[Ht-1]||(dt[Ht-1]=He("((?:%[\\da-f]{2}){"+Ht+"})","gi"))},ze=function(Ht){try{return Ft(Ht)}catch($t){return Ht}},ge=function(Ht){var $t=fr(Ht,bt," "),tr=4;try{return Ft($t)}catch(Gt){for(;tr;)$t=fr($t,et(tr--),ze);return $t}},Se=/[!'()~]|%20/g,Le={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"},$e=function(Ht){return Le[Ht]},We=function(Ht){return fr(gt(Ht),Se,$e)},rt=p(function($t,tr){se(this,{type:V,target:ee($t).entries,index:0,kind:tr})},J,function(){var $t=Q(this),tr=$t.target,Gt=$t.index++;if(!tr||Gt>=tr.length)return $t.target=void 0,H(void 0,!0);var Me=tr[Gt];switch($t.kind){case"keys":return H(Me.key,!1);case"values":return H(Me.value,!1)}return H([Me.key,Me.value],!1)},!0),ot=function(Ht){this.entries=[],this.url=null,Ht!==void 0&&(P(Ht)?this.parseObject(Ht):this.parseQuery(typeof Ht=="string"?Dt(Ht,0)==="?"?nt(Ht,1):Ht:M(Ht)))};ot.prototype={type:J,bindURL:function(Ht){this.url=Ht,this.update()},parseObject:function(Ht){var $t=this.entries,tr=G(Ht),Gt,Me,ce,he,Pt,Te,ct;if(tr)for(Gt=K(Ht,tr),Me=Gt.next;!(ce=l(Me,Gt)).done;){if(he=K(A(ce.value)),Pt=he.next,(Te=l(Pt,he)).done||(ct=l(Pt,he)).done||!l(Pt,he).done)throw new Ne("Expected sequence with length 2");Xt($t,{key:M(Te.value),value:M(ct.value)})}else for(var Zt in Ht)S(Ht,Zt)&&Xt($t,{key:Zt,value:M(Ht[Zt])})},parseQuery:function(Ht){if(Ht)for(var $t=this.entries,tr=zt(Ht,"&"),Gt=0,Me,ce;Gt<tr.length;)Me=tr[Gt++],Me.length&&(ce=zt(Me,"="),Xt($t,{key:ge(Ge(ce)),value:ge(rr(ce,"="))}))},serialize:function(){for(var Ht=this.entries,$t=[],tr=0,Gt;tr<Ht.length;)Gt=Ht[tr++],Xt($t,We(Gt.key)+"="+We(Gt.value));return rr($t,"&")},update:function(){this.entries.length=0,this.parseQuery(this.url.query)},updateURL:function(){this.url&&this.url.update()}};var Kt=function(){_(this,Wt);var $t=arguments.length>0?arguments[0]:void 0,tr=se(this,new ot($t));f||(this.size=tr.entries.length)},Wt=Kt.prototype;if(a(Wt,{append:function($t,tr){var Gt=ee(this);ae(arguments.length,2),Xt(Gt.entries,{key:M($t),value:M(tr)}),f||this.length++,Gt.updateURL()},delete:function(Ht){for(var $t=ee(this),tr=ae(arguments.length,1),Gt=$t.entries,Me=M(Ht),ce=tr<2?void 0:arguments[1],he=ce===void 0?ce:M(ce),Pt=0;Pt<Gt.length;){var Te=Gt[Pt];if(Te.key===Me&&(he===void 0||Te.value===he)){if(Tt(Gt,Pt,1),he!==void 0)break}else Pt++}f||(this.size=Gt.length),$t.updateURL()},get:function($t){var tr=ee(this).entries;ae(arguments.length,1);for(var Gt=M($t),Me=0;Me<tr.length;Me++)if(tr[Me].key===Gt)return tr[Me].value;return null},getAll:function($t){var tr=ee(this).entries;ae(arguments.length,1);for(var Gt=M($t),Me=[],ce=0;ce<tr.length;ce++)tr[ce].key===Gt&&Xt(Me,tr[ce].value);return Me},has:function($t){for(var tr=ee(this).entries,Gt=ae(arguments.length,1),Me=M($t),ce=Gt<2?void 0:arguments[1],he=ce===void 0?ce:M(ce),Pt=0;Pt<tr.length;){var Te=tr[Pt++];if(Te.key===Me&&(he===void 0||Te.value===he))return!0}return!1},set:function($t,tr){var Gt=ee(this);ae(arguments.length,1);for(var Me=Gt.entries,ce=!1,he=M($t),Pt=M(tr),Te=0,ct;Te<Me.length;Te++)ct=Me[Te],ct.key===he&&(ce?Tt(Me,Te--,1):(ce=!0,ct.value=Pt));ce||Xt(Me,{key:he,value:Pt}),f||(this.size=Me.length),Gt.updateURL()},sort:function(){var $t=ee(this);oe($t.entries,function(tr,Gt){return tr.key>Gt.key?1:-1}),$t.updateURL()},forEach:function($t){for(var tr=ee(this).entries,Gt=k($t,arguments.length>1?arguments[1]:void 0),Me=0,ce;Me<tr.length;)ce=tr[Me++],Gt(ce.value,ce.key,this)},keys:function(){return new rt(this,"keys")},values:function(){return new rt(this,"values")},entries:function(){return new rt(this,"entries")}},{enumerable:!0}),h(Wt,q,Wt.entries,{name:"entries"}),h(Wt,"toString",function(){return ee(this).serialize()},{enumerable:!0}),f&&u(Wt,"size",{get:function(){return ee(this).entries.length},configurable:!0,enumerable:!0}),x(Kt,J),r({global:!0,constructor:!0,forced:!o},{URLSearchParams:Kt}),!o&&b(_e)){var Ce=c(De.has),Je=c(De.set),Yt=function(Ht){if(P(Ht)){var $t=Ht.body,tr;if(R($t)===J)return tr=Ht.headers?new _e(Ht.headers):new _e,Ce(tr,"content-type")||Je(tr,"content-type","application/x-www-form-urlencoded;charset=UTF-8"),B(Ht,{body:N(0,M($t)),headers:N(0,tr)})}return Ht};if(b($)&&r({global:!0,enumerable:!0,dontCallGetSet:!0,forced:!0},{fetch:function($t){return $($t,arguments.length>1?Yt(arguments[1]):{})}}),b(ie)){var kt=function($t){return _(this,Pe),new ie($t,arguments.length>1?Yt(arguments[1]):{})};Pe.constructor=kt,kt.prototype=Pe,r({global:!0,constructor:!0,dontCallGetSet:!0,forced:!0},{Request:kt})}}d.exports={URLSearchParams:Kt,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(K,G){x(S,{key:G,value:K})}),c(_,1);for(var k=l(y),R=l(b),A=0,P=0,M=!1,B=S.length,N;A<B;)N=S[A++],M||N.key===k?(M=!0,u(this,N.key)):P++;for(;P<B;)N=S[P++],N.key===k&&N.value===R||h(this,N.key,N.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),P=e(91340),M=e(94844),B=M.set,N=M.getterFor("URL"),K=P.URLSearchParams,G=P.getState,H=c.URL,ae=c.TypeError,ne=c.parseInt,oe=Math.floor,q=Math.pow,J=o("".charAt),V=o(/./.exec),se=o([].join),ee=o(1 .toString),Q=o([].pop),ue=o([].push),U=o("".replace),$=o([].shift),ie=o("".split),_e=o("".slice),Pe=o("".toLowerCase),De=o([].unshift),He="Invalid authority",Ne="Invalid scheme",Ft="Invalid host",gt="Invalid port",Dt=/[a-z]/i,rr=/[\d+-.a-z]/i,Xt=/\d/,fr=/^0x/i,Ge=/^[0-7]+$/,Tt=/^\d+$/,zt=/^[\da-f]+$/i,nt=/[\0\t\n\r #%/:<>?@[\\\]^|]/,bt=/[\0\t\n\r #/:<>?@[\\\]^|]/,dt=/^[\u0000-\u0020]+/,et=/(^|[^\u0000-\u0020])[\u0000-\u0020]+$/,ze=/[\t\n\r]/g,ge,Se=function(ur){var Rt=ie(ur,"."),_t,vt,jt,Cr,yr,nn,Kr;if(Rt.length&&Rt[Rt.length-1]===""&&Rt.length--,_t=Rt.length,_t>4)return ur;for(vt=[],jt=0;jt<_t;jt++){if(Cr=Rt[jt],Cr==="")return ur;if(yr=10,Cr.length>1&&J(Cr,0)==="0"&&(yr=V(fr,Cr)?16:8,Cr=_e(Cr,yr===8?1:2)),Cr==="")nn=0;else{if(!V(yr===10?Tt:yr===8?Ge:zt,Cr))return ur;nn=ne(Cr,yr)}ue(vt,nn)}for(jt=0;jt<_t;jt++)if(nn=vt[jt],jt===_t-1){if(nn>=q(256,5-_t))return null}else if(nn>255)return null;for(Kr=Q(vt),jt=0;jt<vt.length;jt++)Kr+=vt[jt]*q(256,3-jt);return Kr},Le=function(ur){var Rt=[0,0,0,0,0,0,0,0],_t=0,vt=null,jt=0,Cr,yr,nn,Kr,Ln,At,cr,Qr=function(){return J(ur,jt)};if(Qr()===":"){if(J(ur,1)!==":")return;jt+=2,_t++,vt=_t}for(;Qr();){if(_t===8)return;if(Qr()===":"){if(vt!==null)return;jt++,_t++,vt=_t;continue}for(Cr=yr=0;yr<4&&V(zt,Qr());)Cr=Cr*16+ne(Qr(),16),jt++,yr++;if(Qr()==="."){if(yr===0||(jt-=yr,_t>6))return;for(nn=0;Qr();){if(Kr=null,nn>0)if(Qr()==="."&&nn<4)jt++;else return;if(!V(Xt,Qr()))return;for(;V(Xt,Qr());){if(Ln=ne(Qr(),10),Kr===null)Kr=Ln;else{if(Kr===0)return;Kr=Kr*10+Ln}if(Kr>255)return;jt++}Rt[_t]=Rt[_t]*256+Kr,nn++,(nn===2||nn===4)&&_t++}if(nn!==4)return;break}else if(Qr()===":"){if(jt++,!Qr())return}else if(Qr())return;Rt[_t++]=Cr}if(vt!==null)for(At=_t-vt,_t=7;_t!==0&&At>0;)cr=Rt[_t],Rt[_t--]=Rt[vt+At-1],Rt[vt+--At]=cr;else if(_t!==8)return;return Rt},$e=function(ur){for(var Rt=null,_t=1,vt=null,jt=0,Cr=0;Cr<8;Cr++)ur[Cr]!==0?(jt>_t&&(Rt=vt,_t=jt),vt=null,jt=0):(vt===null&&(vt=Cr),++jt);return jt>_t&&(Rt=vt,_t=jt),Rt},We=function(ur){var Rt,_t,vt,jt;if(typeof ur=="number"){for(Rt=[],_t=0;_t<4;_t++)De(Rt,ur%256),ur=oe(ur/256);return se(Rt,".")}else if(typeof ur=="object"){for(Rt="",vt=$e(ur),_t=0;_t<8;_t++)jt&&ur[_t]===0||(jt&&(jt=!1),vt===_t?(Rt+=_t?":":"::",jt=!0):(Rt+=ee(ur[_t],16),_t<7&&(Rt+=":")));return"["+Rt+"]"}return ur},rt={},ot=p({},rt,{" ":1,'"':1,"<":1,">":1,"`":1}),Kt=p({},ot,{"#":1,"?":1,"{":1,"}":1}),Wt=p({},Kt,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),Ce=function(ur,Rt){var _t=b(ur,0);return _t>32&&_t<127&&!x(Rt,ur)?ur:encodeURIComponent(ur)},Je={ftp:21,file:null,http:80,https:443,ws:80,wss:443},Yt=function(ur,Rt){var _t;return ur.length===2&&V(Dt,J(ur,0))&&((_t=J(ur,1))===":"||!Rt&&_t==="|")},kt=function(ur){var Rt;return ur.length>1&&Yt(_e(ur,0,2))&&(ur.length===2||(Rt=J(ur,2))==="/"||Rt==="\\"||Rt==="?"||Rt==="#")},Ht=function(ur){return ur==="."||Pe(ur)==="%2e"},$t=function(ur){return ur=Pe(ur),ur===".."||ur==="%2e."||ur===".%2e"||ur==="%2e%2e"},tr={},Gt={},Me={},ce={},he={},Pt={},Te={},ct={},Zt={},wt={},Ie={},xt={},be={},Ye={},mt={},Lt={},Fe={},Or={},St={},Vr={},tn={},wr=function(ur,Rt,_t){var vt=k(ur),jt,Cr,yr;if(Rt){if(Cr=this.parse(vt),Cr)throw new ae(Cr);this.searchParams=null}else{if(_t!==void 0&&(jt=new wr(_t,!0)),Cr=this.parse(vt,null,jt),Cr)throw new ae(Cr);yr=G(new K),yr.bindURL(this),this.searchParams=yr}};wr.prototype={type:"URL",parse:function(ur,Rt,_t){var vt=this,jt=Rt||tr,Cr=0,yr="",nn=!1,Kr=!1,Ln=!1,At,cr,Qr,yn;for(ur=k(ur),Rt||(vt.scheme="",vt.username="",vt.password="",vt.host=null,vt.port=null,vt.path=[],vt.query=null,vt.fragment=null,vt.cannotBeABaseURL=!1,ur=U(ur,dt,""),ur=U(ur,et,"$1")),ur=U(ur,ze,""),At=y(ur);Cr<=At.length;){switch(cr=At[Cr],jt){case tr:if(cr&&V(Dt,cr))yr+=Pe(cr),jt=Gt;else{if(Rt)return Ne;jt=Me;continue}break;case Gt:if(cr&&(V(rr,cr)||cr==="+"||cr==="-"||cr==="."))yr+=Pe(cr);else if(cr===":"){if(Rt&&(vt.isSpecial()!==x(Je,yr)||yr==="file"&&(vt.includesCredentials()||vt.port!==null)||vt.scheme==="file"&&!vt.host))return;if(vt.scheme=yr,Rt){vt.isSpecial()&&Je[vt.scheme]===vt.port&&(vt.port=null);return}yr="",vt.scheme==="file"?jt=Ye:vt.isSpecial()&&_t&&_t.scheme===vt.scheme?jt=ce:vt.isSpecial()?jt=ct:At[Cr+1]==="/"?(jt=he,Cr++):(vt.cannotBeABaseURL=!0,ue(vt.path,""),jt=St)}else{if(Rt)return Ne;yr="",jt=Me,Cr=0;continue}break;case Me:if(!_t||_t.cannotBeABaseURL&&cr!=="#")return Ne;if(_t.cannotBeABaseURL&&cr==="#"){vt.scheme=_t.scheme,vt.path=_(_t.path),vt.query=_t.query,vt.fragment="",vt.cannotBeABaseURL=!0,jt=tn;break}jt=_t.scheme==="file"?Ye:Pt;continue;case ce:if(cr==="/"&&At[Cr+1]==="/")jt=Zt,Cr++;else{jt=Pt;continue}break;case he:if(cr==="/"){jt=wt;break}else{jt=Or;continue}case Pt:if(vt.scheme=_t.scheme,cr===ge)vt.username=_t.username,vt.password=_t.password,vt.host=_t.host,vt.port=_t.port,vt.path=_(_t.path),vt.query=_t.query;else if(cr==="/"||cr==="\\"&&vt.isSpecial())jt=Te;else if(cr==="?")vt.username=_t.username,vt.password=_t.password,vt.host=_t.host,vt.port=_t.port,vt.path=_(_t.path),vt.query="",jt=Vr;else if(cr==="#")vt.username=_t.username,vt.password=_t.password,vt.host=_t.host,vt.port=_t.port,vt.path=_(_t.path),vt.query=_t.query,vt.fragment="",jt=tn;else{vt.username=_t.username,vt.password=_t.password,vt.host=_t.host,vt.port=_t.port,vt.path=_(_t.path),vt.path.length--,jt=Or;continue}break;case Te:if(vt.isSpecial()&&(cr==="/"||cr==="\\"))jt=Zt;else if(cr==="/")jt=wt;else{vt.username=_t.username,vt.password=_t.password,vt.host=_t.host,vt.port=_t.port,jt=Or;continue}break;case ct:if(jt=Zt,cr!=="/"||J(yr,Cr+1)!=="/")continue;Cr++;break;case Zt:if(cr!=="/"&&cr!=="\\"){jt=wt;continue}break;case wt:if(cr==="@"){nn&&(yr="%40"+yr),nn=!0,Qr=y(yr);for(var Gn=0;Gn<Qr.length;Gn++){var fi=Qr[Gn];if(fi===":"&&!Ln){Ln=!0;continue}var Xn=Ce(fi,Wt);Ln?vt.password+=Xn:vt.username+=Xn}yr=""}else if(cr===ge||cr==="/"||cr==="?"||cr==="#"||cr==="\\"&&vt.isSpecial()){if(nn&&yr==="")return He;Cr-=y(yr).length+1,yr="",jt=Ie}else yr+=cr;break;case Ie:case xt:if(Rt&&vt.scheme==="file"){jt=Lt;continue}else if(cr===":"&&!Kr){if(yr==="")return Ft;if(yn=vt.parseHost(yr),yn)return yn;if(yr="",jt=be,Rt===xt)return}else if(cr===ge||cr==="/"||cr==="?"||cr==="#"||cr==="\\"&&vt.isSpecial()){if(vt.isSpecial()&&yr==="")return Ft;if(Rt&&yr===""&&(vt.includesCredentials()||vt.port!==null))return;if(yn=vt.parseHost(yr),yn)return yn;if(yr="",jt=Fe,Rt)return;continue}else cr==="["?Kr=!0:cr==="]"&&(Kr=!1),yr+=cr;break;case be:if(V(Xt,cr))yr+=cr;else if(cr===ge||cr==="/"||cr==="?"||cr==="#"||cr==="\\"&&vt.isSpecial()||Rt){if(yr!==""){var Ki=ne(yr,10);if(Ki>65535)return gt;vt.port=vt.isSpecial()&&Ki===Je[vt.scheme]?null:Ki,yr=""}if(Rt)return;jt=Fe;continue}else return gt;break;case Ye:if(vt.scheme="file",cr==="/"||cr==="\\")jt=mt;else if(_t&&_t.scheme==="file")switch(cr){case ge:vt.host=_t.host,vt.path=_(_t.path),vt.query=_t.query;break;case"?":vt.host=_t.host,vt.path=_(_t.path),vt.query="",jt=Vr;break;case"#":vt.host=_t.host,vt.path=_(_t.path),vt.query=_t.query,vt.fragment="",jt=tn;break;default:kt(se(_(At,Cr),""))||(vt.host=_t.host,vt.path=_(_t.path),vt.shortenPath()),jt=Or;continue}else{jt=Or;continue}break;case mt:if(cr==="/"||cr==="\\"){jt=Lt;break}_t&&_t.scheme==="file"&&!kt(se(_(At,Cr),""))&&(Yt(_t.path[0],!0)?ue(vt.path,_t.path[0]):vt.host=_t.host),jt=Or;continue;case Lt:if(cr===ge||cr==="/"||cr==="\\"||cr==="?"||cr==="#"){if(!Rt&&Yt(yr))jt=Or;else if(yr===""){if(vt.host="",Rt)return;jt=Fe}else{if(yn=vt.parseHost(yr),yn)return yn;if(vt.host==="localhost"&&(vt.host=""),Rt)return;yr="",jt=Fe}continue}else yr+=cr;break;case Fe:if(vt.isSpecial()){if(jt=Or,cr!=="/"&&cr!=="\\")continue}else if(!Rt&&cr==="?")vt.query="",jt=Vr;else if(!Rt&&cr==="#")vt.fragment="",jt=tn;else if(cr!==ge&&(jt=Or,cr!=="/"))continue;break;case Or:if(cr===ge||cr==="/"||cr==="\\"&&vt.isSpecial()||!Rt&&(cr==="?"||cr==="#")){if($t(yr)?(vt.shortenPath(),cr!=="/"&&!(cr==="\\"&&vt.isSpecial())&&ue(vt.path,"")):Ht(yr)?cr!=="/"&&!(cr==="\\"&&vt.isSpecial())&&ue(vt.path,""):(vt.scheme==="file"&&!vt.path.length&&Yt(yr)&&(vt.host&&(vt.host=""),yr=J(yr,0)+":"),ue(vt.path,yr)),yr="",vt.scheme==="file"&&(cr===ge||cr==="?"||cr==="#"))for(;vt.path.length>1&&vt.path[0]==="";)$(vt.path);cr==="?"?(vt.query="",jt=Vr):cr==="#"&&(vt.fragment="",jt=tn)}else yr+=Ce(cr,Kt);break;case St:cr==="?"?(vt.query="",jt=Vr):cr==="#"?(vt.fragment="",jt=tn):cr!==ge&&(vt.path[0]+=Ce(cr,rt));break;case Vr:!Rt&&cr==="#"?(vt.fragment="",jt=tn):cr!==ge&&(cr==="'"&&vt.isSpecial()?vt.query+="%27":cr==="#"?vt.query+="%23":vt.query+=Ce(cr,rt));break;case tn:cr!==ge&&(vt.fragment+=Ce(cr,ot));break}Cr++}},parseHost:function(ur){var Rt,_t,vt;if(J(ur,0)==="["){if(J(ur,ur.length-1)!=="]"||(Rt=Le(_e(ur,1,-1)),!Rt))return Ft;this.host=Rt}else if(this.isSpecial()){if(ur=S(ur),V(nt,ur)||(Rt=Se(ur),Rt===null))return Ft;this.host=Rt}else{if(V(bt,ur))return Ft;for(Rt="",_t=y(ur),vt=0;vt<_t.length;vt++)Rt+=Ce(_t[vt],rt);this.host=Rt}},cannotHaveUsernamePasswordPort:function(){return!this.host||this.cannotBeABaseURL||this.scheme==="file"},includesCredentials:function(){return this.username!==""||this.password!==""},isSpecial:function(){return x(Je,this.scheme)},shortenPath:function(){var ur=this.path,Rt=ur.length;Rt&&(this.scheme!=="file"||Rt!==1||!Yt(ur[0],!0))&&ur.length--},serialize:function(){var ur=this,Rt=ur.scheme,_t=ur.username,vt=ur.password,jt=ur.host,Cr=ur.port,yr=ur.path,nn=ur.query,Kr=ur.fragment,Ln=Rt+":";return jt!==null?(Ln+="//",ur.includesCredentials()&&(Ln+=_t+(vt?":"+vt:"")+"@"),Ln+=We(jt),Cr!==null&&(Ln+=":"+Cr)):Rt==="file"&&(Ln+="//"),Ln+=ur.cannotBeABaseURL?yr[0]:yr.length?"/"+se(yr,"/"):"",nn!==null&&(Ln+="?"+nn),Kr!==null&&(Ln+="#"+Kr),Ln},setHref:function(ur){var Rt=this.parse(ur);if(Rt)throw new ae(Rt);this.searchParams.update()},getOrigin:function(){var ur=this.scheme,Rt=this.port;if(ur==="blob")try{return new Nr(ur.path[0]).origin}catch(_t){return"null"}return ur==="file"||!this.isSpecial()?"null":ur+"://"+We(this.host)+(Rt!==null?":"+Rt:"")},getProtocol:function(){return this.scheme+":"},setProtocol:function(ur){this.parse(k(ur)+":",tr)},getUsername:function(){return this.username},setUsername:function(ur){var Rt=y(k(ur));if(!this.cannotHaveUsernamePasswordPort()){this.username="";for(var _t=0;_t<Rt.length;_t++)this.username+=Ce(Rt[_t],Wt)}},getPassword:function(){return this.password},setPassword:function(ur){var Rt=y(k(ur));if(!this.cannotHaveUsernamePasswordPort()){this.password="";for(var _t=0;_t<Rt.length;_t++)this.password+=Ce(Rt[_t],Wt)}},getHost:function(){var ur=this.host,Rt=this.port;return ur===null?"":Rt===null?We(ur):We(ur)+":"+Rt},setHost:function(ur){this.cannotBeABaseURL||this.parse(ur,Ie)},getHostname:function(){var ur=this.host;return ur===null?"":We(ur)},setHostname:function(ur){this.cannotBeABaseURL||this.parse(ur,xt)},getPort:function(){var ur=this.port;return ur===null?"":k(ur)},setPort:function(ur){this.cannotHaveUsernamePasswordPort()||(ur=k(ur),ur===""?this.port=null:this.parse(ur,be))},getPathname:function(){var ur=this.path;return this.cannotBeABaseURL?ur[0]:ur.length?"/"+se(ur,"/"):""},setPathname:function(ur){this.cannotBeABaseURL||(this.path=[],this.parse(ur,Fe))},getSearch:function(){var ur=this.query;return ur?"?"+ur:""},setSearch:function(ur){ur=k(ur),ur===""?this.query=null:(J(ur,0)==="?"&&(ur=_e(ur,1)),this.query="",this.parse(ur,Vr)),this.searchParams.update()},getSearchParams:function(){return this.searchParams.facade},getHash:function(){var ur=this.fragment;return ur?"#"+ur:""},setHash:function(ur){if(ur=k(ur),ur===""){this.fragment=null;return}J(ur,0)==="#"&&(ur=_e(ur,1)),this.fragment="",this.parse(ur,tn)},update:function(){this.query=this.searchParams.serialize()||null}};var Nr=function(Rt){var _t=a(this,gr),vt=A(arguments.length,1)>1?arguments[1]:void 0,jt=B(_t,new wr(Rt,!1,vt));i||(_t.href=jt.serialize(),_t.origin=jt.getOrigin(),_t.protocol=jt.getProtocol(),_t.username=jt.getUsername(),_t.password=jt.getPassword(),_t.host=jt.getHost(),_t.hostname=jt.getHostname(),_t.port=jt.getPort(),_t.pathname=jt.getPathname(),_t.search=jt.getSearch(),_t.searchParams=jt.getSearchParams(),_t.hash=jt.getHash())},gr=Nr.prototype,Ur=function(ur,Rt){return{get:function(){return N(this)[ur]()},set:Rt&&function(_t){return N(this)[Rt](_t)},configurable:!0,enumerable:!0}};if(i&&(u(gr,"href",Ur("serialize","setHref")),u(gr,"origin",Ur("getOrigin")),u(gr,"protocol",Ur("getProtocol","setProtocol")),u(gr,"username",Ur("getUsername","setUsername")),u(gr,"password",Ur("getPassword","setPassword")),u(gr,"host",Ur("getHost","setHost")),u(gr,"hostname",Ur("getHostname","setHostname")),u(gr,"port",Ur("getPort","setPort")),u(gr,"pathname",Ur("getPathname","setPathname")),u(gr,"search",Ur("getSearch","setSearch")),u(gr,"searchParams",Ur("getSearchParams")),u(gr,"hash",Ur("getHash","setHash"))),h(gr,"toJSON",function(){return N(this).serialize()},{enumerable:!0}),h(gr,"toString",function(){return N(this).serialize()},{enumerable:!0}),H){var cn=H.createObjectURL,hn=H.revokeObjectURL;cn&&h(Nr,"createObjectURL",f(cn,H)),hn&&h(Nr,"revokeObjectURL",f(hn,H))}R(Nr,"URL"),r({global:!0,constructor:!0,forced:!l,sham:!i},{URL:Nr})},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)}}},22363: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}},36824:function(d,v,e){"use strict";e.d(v,{Z:function(){return r}});function r(i){if(Array.isArray(i))return i}},62437: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}},51343: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)})}}},42573: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")}},58698:function(d,v,e){"use strict";e.d(v,{Z:function(){return l}});var r=e(51333);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}},45080:function(d,v,e){"use strict";e.d(v,{Z:function(){return c}});var r=e(20456),i=e(87042),l=e(43011);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)}}},52873:function(d,v,e){"use strict";e.d(v,{Z:function(){return i}});var r=e(51333);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}},67711: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)}},20456: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)}},74700:function(d,v,e){"use strict";e.d(v,{Z:function(){return i}});var r=e(90691);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)}},87042: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})()}},23841: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)}},82763: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.`)}},19456:function(d,v,e){"use strict";e.d(v,{Z:function(){return i}});var r=e(52873);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}},98506:function(d,v,e){"use strict";e.d(v,{Z:function(){return l}});var r=e(52873);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}},33346:function(d,v,e){"use strict";e.d(v,{Z:function(){return i}});var r=e(12359);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}},12359: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}},43011:function(d,v,e){"use strict";e.d(v,{Z:function(){return l}});var r=e(26420),i=e(62437);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)}},77910: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,P,M){function B(N,K){i(R,N,function(G){return this._invoke(N,K,G)})}A?S?S(R,A,{value:P,enumerable:!M,configurable:!M,writable:!M}):R[A]=P:(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(G,H,ae,ne){var oe=H&&H.prototype instanceof A?H:A,q=Object.create(oe.prototype);return i(q,"_invoke",function(J,V,se){var ee,Q,ue,U=0,$=se||[],ie=!1,_e={p:0,n:0,v:p,a:Pe,f:Pe.bind(p,4),d:function(He,Ne){return ee=He,Q=0,ue=p,_e.n=Ne,R}};function Pe(De,He){for(Q=De,ue=He,y=0;!ie&&U&&!Ne&&y<$.length;y++){var Ne,Ft=$[y],gt=_e.p,Dt=Ft[2];De>3?(Ne=Dt===He)&&(ue=Ft[(Q=Ft[4])?5:(Q=3,3)],Ft[4]=Ft[5]=p):Ft[0]<=gt&&((Ne=De<2&><Ft[1])?(Q=0,_e.v=He,_e.n=Ft[1]):gt<Dt&&(Ne=De<3||Ft[0]>He||He>Dt)&&(Ft[4]=De,Ft[5]=He,_e.n=Dt,Q=0))}if(Ne||De>1)return R;throw ie=!0,He}return function(De,He,Ne){if(U>1)throw TypeError("Generator is already running");for(ie&&He===1&&Pe(He,Ne),Q=He,ue=Ne;(y=Q<2?p:ue)||!ie;){ee||(Q?Q<3?(Q>1&&(_e.n=-1),Pe(Q,ue)):_e.n=ue:_e.v=ue);try{if(U=2,ee){if(Q||(De="next"),y=ee[De]){if(!(y=y.call(ee,ue)))throw TypeError("iterator result is not an object");if(!y.done)return y;ue=y.value,Q<2&&(Q=0)}else Q===1&&(y=ee.return)&&y.call(ee),Q<2&&(ue=TypeError("The iterator does not provide a '"+De+"' method"),Q=1);ee=p}else if((y=(ie=_e.n<0)?ue:J.call(V,_e))!==R)break}catch(Ft){ee=p,Q=1,ue=Ft}finally{U=1}}return{value:y,done:ie}}}(G,ae,ne),!0),q}var R={};function A(){}function P(){}function M(){}y=Object.getPrototypeOf;var B=[][b]?y(y([][b]())):(i(y={},b,function(){return this}),y),N=M.prototype=A.prototype=Object.create(B);function K(G){return Object.setPrototypeOf?Object.setPrototypeOf(G,M):(G.__proto__=M,i(G,S,"GeneratorFunction")),G.prototype=Object.create(N),G}return P.prototype=M,i(N,"constructor",M),i(M,"constructor",P),P.displayName="GeneratorFunction",i(M,S,"GeneratorFunction"),i(N),i(N,S,"Generator"),i(N,b,function(){return this}),i(N,"toString",function(){return"[object Generator]"}),(l=function(){return{w:k,m:K}})()}function c(p,y){function _(S,k,R,A){try{var P=p[S](k),M=P.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){P.value=B,R(P)},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(P,M){_(S,R,P,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(26420);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,P;return function(M){A||(A={stop:function(){return P(M.a,2)},catch:function(){return M.v},abrupt:function(N,K){return P(M.a,S[N],K)},delegateYield:function(N,K,G){return A.resultName=K,P(M.d,a(N),G)},finish:function(N){return P(M.f,N)}},P=function(N,K,G){M.p=A.prev,M.n=A.next;try{return N(K,G)}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(P,M,B,N){return p.w(k(P),M,B,N&&N.reverse())},isGeneratorFunction:b,mark:p.m,awrap:function(P,M){return new r(P,M)},AsyncIterator:c,async:function(P,M,B,N,K){return(b(M)?f:o)(k(P),M,B,N,K)},keys:h,values:a}})()}},90691: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)}},16886:function(d,v,e){"use strict";e.d(v,{Z:function(){return f}});var r=e(36824);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(42913),c=e(82763);function f(o,h){return(0,r.Z)(o)||i(o,h)||(0,l.Z)(o,h)||(0,c.Z)()}},57879:function(d,v,e){"use strict";e.d(v,{Z:function(){return f}});var r=e(36824),i=e(23841),l=e(42913),c=e(82763);function f(o){return(0,r.Z)(o)||(0,i.Z)(o)||(0,l.Z)(o)||(0,c.Z)()}},15142:function(d,v,e){"use strict";e.d(v,{Z:function(){return o}});var r=e(22363);function i(h){if(Array.isArray(h))return(0,r.Z)(h)}var l=e(23841),c=e(42913);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()}},51333:function(d,v,e){"use strict";e.d(v,{Z:function(){return l}});var r=e(26420);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+""}},26420: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)}},42913:function(d,v,e){"use strict";e.d(v,{Z:function(){return i}});var r=e(22363);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}}},78666:function(d,v,e){"use strict";e.d(v,{ZP:function(){return Ma}});const r=Number.isFinite||function(O){return typeof O=="number"&&isFinite(O)},i=Number.isSafeInteger||function(O){return typeof O=="number"&&Math.abs(O)<=l},l=Number.MAX_SAFE_INTEGER||9007199254740991;let c=function(O){return O.NETWORK_ERROR="networkError",O.MEDIA_ERROR="mediaError",O.KEY_SYSTEM_ERROR="keySystemError",O.MUX_ERROR="muxError",O.OTHER_ERROR="otherError",O}({}),f=function(O){return O.KEY_SYSTEM_NO_KEYS="keySystemNoKeys",O.KEY_SYSTEM_NO_ACCESS="keySystemNoAccess",O.KEY_SYSTEM_NO_SESSION="keySystemNoSession",O.KEY_SYSTEM_NO_CONFIGURED_LICENSE="keySystemNoConfiguredLicense",O.KEY_SYSTEM_LICENSE_REQUEST_FAILED="keySystemLicenseRequestFailed",O.KEY_SYSTEM_SERVER_CERTIFICATE_REQUEST_FAILED="keySystemServerCertificateRequestFailed",O.KEY_SYSTEM_SERVER_CERTIFICATE_UPDATE_FAILED="keySystemServerCertificateUpdateFailed",O.KEY_SYSTEM_SESSION_UPDATE_FAILED="keySystemSessionUpdateFailed",O.KEY_SYSTEM_STATUS_OUTPUT_RESTRICTED="keySystemStatusOutputRestricted",O.KEY_SYSTEM_STATUS_INTERNAL_ERROR="keySystemStatusInternalError",O.KEY_SYSTEM_DESTROY_MEDIA_KEYS_ERROR="keySystemDestroyMediaKeysError",O.KEY_SYSTEM_DESTROY_CLOSE_SESSION_ERROR="keySystemDestroyCloseSessionError",O.KEY_SYSTEM_DESTROY_REMOVE_SESSION_ERROR="keySystemDestroyRemoveSessionError",O.MANIFEST_LOAD_ERROR="manifestLoadError",O.MANIFEST_LOAD_TIMEOUT="manifestLoadTimeOut",O.MANIFEST_PARSING_ERROR="manifestParsingError",O.MANIFEST_INCOMPATIBLE_CODECS_ERROR="manifestIncompatibleCodecsError",O.LEVEL_EMPTY_ERROR="levelEmptyError",O.LEVEL_LOAD_ERROR="levelLoadError",O.LEVEL_LOAD_TIMEOUT="levelLoadTimeOut",O.LEVEL_PARSING_ERROR="levelParsingError",O.LEVEL_SWITCH_ERROR="levelSwitchError",O.AUDIO_TRACK_LOAD_ERROR="audioTrackLoadError",O.AUDIO_TRACK_LOAD_TIMEOUT="audioTrackLoadTimeOut",O.SUBTITLE_LOAD_ERROR="subtitleTrackLoadError",O.SUBTITLE_TRACK_LOAD_TIMEOUT="subtitleTrackLoadTimeOut",O.FRAG_LOAD_ERROR="fragLoadError",O.FRAG_LOAD_TIMEOUT="fragLoadTimeOut",O.FRAG_DECRYPT_ERROR="fragDecryptError",O.FRAG_PARSING_ERROR="fragParsingError",O.FRAG_GAP="fragGap",O.REMUX_ALLOC_ERROR="remuxAllocError",O.KEY_LOAD_ERROR="keyLoadError",O.KEY_LOAD_TIMEOUT="keyLoadTimeOut",O.BUFFER_ADD_CODEC_ERROR="bufferAddCodecError",O.BUFFER_INCOMPATIBLE_CODECS_ERROR="bufferIncompatibleCodecsError",O.BUFFER_APPEND_ERROR="bufferAppendError",O.BUFFER_APPENDING_ERROR="bufferAppendingError",O.BUFFER_STALLED_ERROR="bufferStalledError",O.BUFFER_FULL_ERROR="bufferFullError",O.BUFFER_SEEK_OVER_HOLE="bufferSeekOverHole",O.BUFFER_NUDGE_ON_STALL="bufferNudgeOnStall",O.ASSET_LIST_LOAD_ERROR="assetListLoadError",O.ASSET_LIST_LOAD_TIMEOUT="assetListLoadTimeout",O.ASSET_LIST_PARSING_ERROR="assetListParsingError",O.INTERSTITIAL_ASSET_ITEM_ERROR="interstitialAssetItemError",O.INTERNAL_EXCEPTION="internalException",O.INTERNAL_ABORTED="aborted",O.ATTACH_MEDIA_ERROR="attachMediaError",O.UNKNOWN="unknown",O}({}),o=function(O){return O.MEDIA_ATTACHING="hlsMediaAttaching",O.MEDIA_ATTACHED="hlsMediaAttached",O.MEDIA_DETACHING="hlsMediaDetaching",O.MEDIA_DETACHED="hlsMediaDetached",O.MEDIA_ENDED="hlsMediaEnded",O.STALL_RESOLVED="hlsStallResolved",O.BUFFER_RESET="hlsBufferReset",O.BUFFER_CODECS="hlsBufferCodecs",O.BUFFER_CREATED="hlsBufferCreated",O.BUFFER_APPENDING="hlsBufferAppending",O.BUFFER_APPENDED="hlsBufferAppended",O.BUFFER_EOS="hlsBufferEos",O.BUFFERED_TO_END="hlsBufferedToEnd",O.BUFFER_FLUSHING="hlsBufferFlushing",O.BUFFER_FLUSHED="hlsBufferFlushed",O.MANIFEST_LOADING="hlsManifestLoading",O.MANIFEST_LOADED="hlsManifestLoaded",O.MANIFEST_PARSED="hlsManifestParsed",O.LEVEL_SWITCHING="hlsLevelSwitching",O.LEVEL_SWITCHED="hlsLevelSwitched",O.LEVEL_LOADING="hlsLevelLoading",O.LEVEL_LOADED="hlsLevelLoaded",O.LEVEL_UPDATED="hlsLevelUpdated",O.LEVEL_PTS_UPDATED="hlsLevelPtsUpdated",O.LEVELS_UPDATED="hlsLevelsUpdated",O.AUDIO_TRACKS_UPDATED="hlsAudioTracksUpdated",O.AUDIO_TRACK_SWITCHING="hlsAudioTrackSwitching",O.AUDIO_TRACK_SWITCHED="hlsAudioTrackSwitched",O.AUDIO_TRACK_LOADING="hlsAudioTrackLoading",O.AUDIO_TRACK_LOADED="hlsAudioTrackLoaded",O.AUDIO_TRACK_UPDATED="hlsAudioTrackUpdated",O.SUBTITLE_TRACKS_UPDATED="hlsSubtitleTracksUpdated",O.SUBTITLE_TRACKS_CLEARED="hlsSubtitleTracksCleared",O.SUBTITLE_TRACK_SWITCH="hlsSubtitleTrackSwitch",O.SUBTITLE_TRACK_LOADING="hlsSubtitleTrackLoading",O.SUBTITLE_TRACK_LOADED="hlsSubtitleTrackLoaded",O.SUBTITLE_TRACK_UPDATED="hlsSubtitleTrackUpdated",O.SUBTITLE_FRAG_PROCESSED="hlsSubtitleFragProcessed",O.CUES_PARSED="hlsCuesParsed",O.NON_NATIVE_TEXT_TRACKS_FOUND="hlsNonNativeTextTracksFound",O.INIT_PTS_FOUND="hlsInitPtsFound",O.FRAG_LOADING="hlsFragLoading",O.FRAG_LOAD_EMERGENCY_ABORTED="hlsFragLoadEmergencyAborted",O.FRAG_LOADED="hlsFragLoaded",O.FRAG_DECRYPTED="hlsFragDecrypted",O.FRAG_PARSING_INIT_SEGMENT="hlsFragParsingInitSegment",O.FRAG_PARSING_USERDATA="hlsFragParsingUserdata",O.FRAG_PARSING_METADATA="hlsFragParsingMetadata",O.FRAG_PARSED="hlsFragParsed",O.FRAG_BUFFERED="hlsFragBuffered",O.FRAG_CHANGED="hlsFragChanged",O.FPS_DROP="hlsFpsDrop",O.FPS_DROP_LEVEL_CAPPING="hlsFpsDropLevelCapping",O.MAX_AUTO_LEVEL_UPDATED="hlsMaxAutoLevelUpdated",O.ERROR="hlsError",O.DESTROYING="hlsDestroying",O.KEY_LOADING="hlsKeyLoading",O.KEY_LOADED="hlsKeyLoaded",O.LIVE_BACK_BUFFER_REACHED="hlsLiveBackBufferReached",O.BACK_BUFFER_REACHED="hlsBackBufferReached",O.STEERING_MANIFEST_LOADED="hlsSteeringManifestLoaded",O.ASSET_LIST_LOADING="hlsAssetListLoading",O.ASSET_LIST_LOADED="hlsAssetListLoaded",O.INTERSTITIALS_UPDATED="hlsInterstitialsUpdated",O.INTERSTITIALS_BUFFERED_TO_BOUNDARY="hlsInterstitialsBufferedToBoundary",O.INTERSTITIAL_ASSET_PLAYER_CREATED="hlsInterstitialAssetPlayerCreated",O.INTERSTITIAL_STARTED="hlsInterstitialStarted",O.INTERSTITIAL_ASSET_STARTED="hlsInterstitialAssetStarted",O.INTERSTITIAL_ASSET_ENDED="hlsInterstitialAssetEnded",O.INTERSTITIAL_ASSET_ERROR="hlsInterstitialAssetError",O.INTERSTITIAL_ENDED="hlsInterstitialEnded",O.INTERSTITIALS_PRIMARY_RESUMED="hlsInterstitialsPrimaryResumed",O.PLAYOUT_LIMIT_REACHED="hlsPlayoutLimitReached",O.EVENT_CUE_ENTER="hlsEventCueEnter",O}({});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(O,t,n){return(t=k(t))in O?Object.defineProperty(O,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):O[t]=n,O}function y(){return y=Object.assign?Object.assign.bind():function(O){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var s in n)({}).hasOwnProperty.call(n,s)&&(O[s]=n[s])}return O},y.apply(null,arguments)}function _(O,t){var n=Object.keys(O);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(O);t&&(s=s.filter(function(m){return Object.getOwnPropertyDescriptor(O,m).enumerable})),n.push.apply(n,s)}return n}function b(O){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?_(Object(n),!0).forEach(function(s){p(O,s,n[s])}):Object.getOwnPropertyDescriptors?Object.defineProperties(O,Object.getOwnPropertyDescriptors(n)):_(Object(n)).forEach(function(s){Object.defineProperty(O,s,Object.getOwnPropertyDescriptor(n,s))})}return O}function S(O,t){if(typeof O!="object"||!O)return O;var n=O[Symbol.toPrimitive];if(n!==void 0){var s=n.call(O,t);if(typeof s!="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(O)}function k(O){var t=S(O,"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(){},P={trace:A,debug:A,log:A,warn:A,info:A,error:A};function M(){return y({},P)}function B(O,t){const n=self.console[O];return n?n.bind(self.console,`${t?"["+t+"] ":""}[${O}] >`):A}function N(O,t,n){return t[O]?t[O].bind(t):B(O,n)}const K=M();function G(O,t,n){const s=M();if(typeof console=="object"&&O===!0||typeof O=="object"){const m=["debug","log","info","warn","error"];m.forEach(E=>{s[E]=N(E,O,n)});try{s.log(`Debug logs enabled for "${t}" in hls.js version 1.6.8`)}catch(E){return M()}m.forEach(E=>{K[E]=N(E,O)})}else y(K,s);return s}const H=K;function ae(O=!0){return typeof self=="undefined"?void 0:(O||!self.MediaSource)&&self.ManagedMediaSource||self.MediaSource||self.WebKitMediaSource}function ne(O){return typeof self!="undefined"&&O===self.ManagedMediaSource}function oe(O,t){const n=Object.keys(O),s=Object.keys(t),m=n.length,E=s.length;return!m||!E||m===E&&!n.some(I=>s.indexOf(I)===-1)}function q(O,t=!1){if(typeof TextDecoder!="undefined"){const W=new TextDecoder("utf-8").decode(O);if(t){const le=W.indexOf("\0");return le!==-1?W.substring(0,le):W}return W.replace(/\0/g,"")}const n=O.length;let s,m,E,I="",z=0;for(;z<n;){if(s=O[z++],s===0&&t)return I;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:I+=String.fromCharCode(s);break;case 12:case 13:m=O[z++],I+=String.fromCharCode((s&31)<<6|m&63);break;case 14:m=O[z++],E=O[z++],I+=String.fromCharCode((s&15)<<12|(m&63)<<6|(E&63)<<0);break}}return I}const J={hexDump:function(O){let t="";for(let n=0;n<O.length;n++){let s=O[n].toString(16);s.length<2&&(s="0"+s),t+=s}return t}};function V(O){return Uint8Array.from(O.replace(/^0x/,"").replace(/([\da-fA-F]{2}) ?/g,"0x$1 ").replace(/ +$/,"").split(" ")).buffer}function se(O){return O&&O.__esModule&&Object.prototype.hasOwnProperty.call(O,"default")?O.default:O}var ee={exports:{}},Q;function ue(){return Q||(Q=1,function(O,t){(function(n){var s=/^(?=((?:[a-zA-Z0-9+\-.]+:)?))\1(?=((?:\/\/[^\/?#]*)?))\2(?=((?:(?:[^?#\/]*\/)*[^;?#\/]*)?))\3((?:;[^?#]*)?)(\?[^#]*)?(#[^]*)?$/,m=/^(?=([^\/?#]*))\1([^]*)$/,E=/(?:\/|^)\.(?=\/)/g,I=/(?:\/|^)\.\.\/(?!\.\.\/)[^\/]*(?=\/)/g,z={buildAbsoluteURL:function(X,W,le){if(le=le||{},X=X.trim(),W=W.trim(),!W){if(!le.alwaysNormalize)return X;var pe=z.parseURL(X);if(!pe)throw new Error("Error trying to parse base URL.");return pe.path=z.normalizePath(pe.path),z.buildURLFromParts(pe)}var Ee=z.parseURL(W);if(!Ee)throw new Error("Error trying to parse relative URL.");if(Ee.scheme)return le.alwaysNormalize?(Ee.path=z.normalizePath(Ee.path),z.buildURLFromParts(Ee)):W;var Oe=z.parseURL(X);if(!Oe)throw new Error("Error trying to parse base URL.");if(!Oe.netLoc&&Oe.path&&Oe.path[0]!=="/"){var Ue=m.exec(Oe.path);Oe.netLoc=Ue[1],Oe.path=Ue[2]}Oe.netLoc&&!Oe.path&&(Oe.path="/");var ut={scheme:Oe.scheme,netLoc:Ee.netLoc,path:null,params:Ee.params,query:Ee.query,fragment:Ee.fragment};if(!Ee.netLoc&&(ut.netLoc=Oe.netLoc,Ee.path[0]!=="/"))if(!Ee.path)ut.path=Oe.path,Ee.params||(ut.params=Oe.params,Ee.query||(ut.query=Oe.query));else{var lt=Oe.path,Nt=lt.substring(0,lt.lastIndexOf("/")+1)+Ee.path;ut.path=z.normalizePath(Nt)}return ut.path===null&&(ut.path=le.alwaysNormalize?z.normalizePath(Ee.path):Ee.path),z.buildURLFromParts(ut)},parseURL:function(X){var W=s.exec(X);return W?{scheme:W[1]||"",netLoc:W[2]||"",path:W[3]||"",params:W[4]||"",query:W[5]||"",fragment:W[6]||""}:null},normalizePath:function(X){for(X=X.split("").reverse().join("").replace(E,"");X.length!==(X=X.replace(I,"")).length;);return X.split("").reverse().join("")},buildURLFromParts:function(X){return X.scheme+X.netLoc+X.path+X.params+X.query+X.fragment}};O.exports=z})()}(ee)),ee.exports}var U=ue();class ${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 ie={AUDIO:"audio",VIDEO:"video",AUDIOVIDEO:"audiovideo"};class _e{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,Ft(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={[ie.AUDIO]:null,[ie.VIDEO]:null,[ie.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 $),this._stats}set stats(t){this._stats=t}get url(){return!this._url&&this.baseurl&&this.relurl&&(this._url=U.buildAbsoluteURL(this.baseurl,this.relurl,{alwaysNormalize:!0})),this._url||""}set url(t){this._url=t}clearElementaryStreamInfo(){const{elementaryStreams:t}=this;t[ie.AUDIO]=null,t[ie.VIDEO]=null,t[ie.AUDIOVIDEO]=null}}function Pe(O){return O.sn!=="initSegment"}class De extends _e{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.length){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){const m=this._decryptdata=this.levelkeys[s[0]]||null;if(m)return m.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){var n;const s=Object.keys(this.levelkeys),m=s.length;if(m>1||m===1&&(n=this.levelkeys[s[0]])!=null&&n.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 Pe(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,I=!1){const{elementaryStreams:z}=this,X=z[t];if(!X){z[t]={startPTS:n,endPTS:s,startDTS:m,endDTS:E,partial:I};return}X.startPTS=Math.min(X.startPTS,n),X.endPTS=Math.max(X.endPTS,s),X.startDTS=Math.min(X.startDTS,m),X.endDTS=Math.max(X.endDTS,E)}}class He extends _e{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 I=t.enumeratedString("BYTERANGE");I&&this.setByteRange(I,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 Ne(O,t){const n=Object.getPrototypeOf(O);if(n){const s=Object.getOwnPropertyDescriptor(n,t);return s||Ne(n,t)}}function Ft(O,t){const n=Ne(O,t);n&&(n.enumerable=!0,Object.defineProperty(O,t,n))}const gt=Math.pow(2,32)-1,Dt=[].push,rr={video:1,audio:2,id3:3,text:4};function Xt(O){return String.fromCharCode.apply(null,O)}function fr(O,t){const n=O[t]<<8|O[t+1];return n<0?65536+n:n}function Ge(O,t){const n=zt(O,t);return n<0?4294967296+n:n}function Tt(O,t){let n=Ge(O,t);return n*=Math.pow(2,32),n+=Ge(O,t+4),n}function zt(O,t){return O[t]<<24|O[t+1]<<16|O[t+2]<<8|O[t+3]}function nt(O){const t=O.byteLength;for(let n=0;n<t;){const s=Ge(O,n);if(s>8&&O[n+4]===109&&O[n+5]===111&&O[n+6]===111&&O[n+7]===102)return!0;n=s>1?n+s:t}return!1}function bt(O,t){const n=[];if(!t.length)return n;const s=O.byteLength;for(let m=0;m<s;){const E=Ge(O,m),I=Xt(O.subarray(m+4,m+8)),z=E>1?m+E:s;if(I===t[0])if(t.length===1)n.push(O.subarray(m+8,z));else{const X=bt(O.subarray(m+8,z),t.slice(1));X.length&&Dt.apply(n,X)}m=z}return n}function dt(O){const t=[],n=O[0];let s=8;const m=Ge(O,s);s+=4;let E=0,I=0;n===0?(E=Ge(O,s),I=Ge(O,s+4),s+=8):(E=Tt(O,s),I=Tt(O,s+8),s+=16),s+=2;let z=O.length+I;const X=fr(O,s);s+=2;for(let W=0;W<X;W++){let le=s;const pe=Ge(O,le);le+=4;const Ee=pe&2147483647;if((pe&2147483648)>>>31===1)return H.warn("SIDX has hierarchical references (not supported)"),null;const Ue=Ge(O,le);le+=4,t.push({referenceSize:Ee,subsegmentDuration:Ue,info:{duration:Ue/m,start:z,end:z+Ee-1}}),z+=Ee,le+=4,s=le}return{earliestPresentationTime:E,timescale:m,version:n,referencesCount:X,references:t}}function et(O){const t=[],n=bt(O,["moov","trak"]);for(let m=0;m<n.length;m++){const E=n[m],I=bt(E,["tkhd"])[0];if(I){let z=I[0];const X=Ge(I,z===0?12:20),W=bt(E,["mdia","mdhd"])[0];if(W){z=W[0];const le=Ge(W,z===0?12:20),pe=bt(E,["mdia","hdlr"])[0];if(pe){const Ee=Xt(pe.subarray(8,12)),Oe={soun:ie.AUDIO,vide:ie.VIDEO}[Ee],Ue=bt(E,["mdia","minf","stbl","stsd"])[0],ut=ze(Ue);Oe?(t[X]={timescale:le,type:Oe,stsd:ut},t[Oe]=b({timescale:le,id:X},ut)):t[X]={timescale:le,type:Ee,stsd:ut}}}}}return bt(O,["moov","mvex","trex"]).forEach(m=>{const E=Ge(m,4),I=t[E];I&&(I.default={duration:Ge(m,12),flags:Ge(m,20)})}),t}function ze(O){const t=O.subarray(8),n=t.subarray(86),s=Xt(t.subarray(4,8));let m=s,E;const I=s==="enca"||s==="encv";if(I){const W=bt(t,[s])[0].subarray(s==="enca"?28:78);bt(W,["sinf"]).forEach(pe=>{const Ee=bt(pe,["schm"])[0];if(Ee){const Oe=Xt(Ee.subarray(4,8));if(Oe==="cbcs"||Oe==="cenc"){const Ue=bt(pe,["frma"])[0];Ue&&(m=Xt(Ue))}}})}const z=m;switch(m){case"avc1":case"avc2":case"avc3":case"avc4":{const X=bt(n,["avcC"])[0];X&&X.length>3&&(m+="."+$e(X[1])+$e(X[2])+$e(X[3]),E=ge(z==="avc1"?"dva1":"dvav",n));break}case"mp4a":{const X=bt(t,[s])[0],W=bt(X.subarray(28),["esds"])[0];if(W&&W.length>7){let le=4;if(W[le++]!==3)break;le=Le(W,le),le+=2;const pe=W[le++];if(pe&128&&(le+=2),pe&64&&(le+=W[le++]),W[le++]!==4)break;le=Le(W,le);const Ee=W[le++];if(Ee===64)m+="."+$e(Ee);else break;if(le+=12,W[le++]!==5)break;le=Le(W,le);const Oe=W[le++];let Ue=(Oe&248)>>3;Ue===31&&(Ue+=1+((Oe&7)<<3)+((W[le]&224)>>5)),m+="."+Ue}break}case"hvc1":case"hev1":{const X=bt(n,["hvcC"])[0];if(X&&X.length>12){const W=X[1],le=["","A","B","C"][W>>6],pe=W&31,Ee=Ge(X,2),Oe=(W&32)>>5?"H":"L",Ue=X[12],ut=X.subarray(6,12);m+="."+le+pe,m+="."+Se(Ee).toString(16).toUpperCase(),m+="."+Oe+Ue;let lt="";for(let Nt=ut.length;Nt--;){const pr=ut[Nt];(pr||lt)&&(lt="."+pr.toString(16).toUpperCase()+lt)}m+=lt}E=ge(z=="hev1"?"dvhe":"dvh1",n);break}case"dvh1":case"dvhe":case"dvav":case"dva1":case"dav1":{m=ge(m,n)||m;break}case"vp09":{const X=bt(n,["vpcC"])[0];if(X&&X.length>6){const W=X[4],le=X[5],pe=X[6]>>4&15;m+="."+We(W)+"."+We(le)+"."+We(pe)}break}case"av01":{const X=bt(n,["av1C"])[0];if(X&&X.length>2){const W=X[1]>>>5,le=X[1]&31,pe=X[2]>>>7?"H":"M",Ee=(X[2]&64)>>6,Oe=(X[2]&32)>>5,Ue=W===2&&Ee?Oe?12:10:Ee?10:8,ut=(X[2]&16)>>4,lt=(X[2]&8)>>3,Nt=(X[2]&4)>>2,pr=X[2]&3;m+="."+W+"."+We(le)+pe+"."+We(Ue)+"."+ut+"."+lt+Nt+pr+"."+We(1)+"."+We(1)+"."+We(1)+"."+0,E=ge("dav1",n)}break}}return{codec:m,encrypted:I,supplemental:E}}function ge(O,t){const n=bt(t,["dvvC"]),s=n.length?n[0]:bt(t,["dvcC"])[0];if(s){const m=s[2]>>1&127,E=s[2]<<5&32|s[3]>>3&31;return O+"."+We(m)+"."+We(E)}}function Se(O){let t=0;for(let n=0;n<32;n++)t|=(O>>n&1)<<31-n;return t>>>0}function Le(O,t){const n=t+5;for(;O[t++]&128&&t<n;);return t}function $e(O){return("0"+O.toString(16).toUpperCase()).slice(-2)}function We(O){return(O<10?"0":"")+O}function rt(O,t){if(!O||!t)return O;const n=t.keyId;return n&&t.isCommonEncryption&&bt(O,["moov","trak"]).forEach(m=>{const I=bt(m,["mdia","minf","stbl","stsd"])[0].subarray(8);let z=bt(I,["enca"]);const X=z.length>0;X||(z=bt(I,["encv"])),z.forEach(W=>{const le=X?W.subarray(28):W.subarray(78);bt(le,["sinf"]).forEach(Ee=>{const Oe=ot(Ee);if(Oe){const Ue=Oe.subarray(8,24);Ue.some(ut=>ut!==0)||(H.log(`[eme] Patching keyId in 'enc${X?"a":"v"}>sinf>>tenc' box: ${J.hexDump(Ue)} -> ${J.hexDump(n)}`),Oe.set(n,8))}})})}),O}function ot(O){const t=bt(O,["schm"])[0];if(t){const n=Xt(t.subarray(4,8));if(n==="cbcs"||n==="cenc")return bt(O,["schi","tenc"])[0]}return null}function Kt(O,t,n){const s={},m=bt(O,["moof","traf"]);for(let E=0;E<m.length;E++){const I=m[E],z=bt(I,["tfhd"])[0],X=Ge(z,4),W=t[X];if(!W)continue;const le=s[X]||(s[X]={start:NaN,duration:0,sampleCount:0,timescale:W.timescale,type:W.type}),pe=bt(I,["tfdt"])[0];if(pe){const sr=pe[0];let Fr=Ge(pe,4);sr===1&&(Fr===gt?n.warn("[mp4-demuxer]: Ignoring assumed invalid signed 64-bit track fragment decode time"):(Fr*=gt+1,Fr+=Ge(pe,8))),r(Fr)&&(!r(le.start)||Fr<le.start)&&(le.start=Fr)}const Ee=W.default,Oe=Ge(z,0)|(Ee==null?void 0:Ee.flags);let Ue=(Ee==null?void 0:Ee.duration)||0;Oe&8&&(Oe&2?Ue=Ge(z,12):Ue=Ge(z,8));const ut=bt(I,["trun"]);let lt=le.start||0,Nt=0,pr=Ue;for(let sr=0;sr<ut.length;sr++){const Fr=ut[sr],Yr=Ge(Fr,4),vn=le.sampleCount;le.sampleCount+=Yr;const Wr=Fr[3]&1,an=Fr[3]&4,fn=Fr[2]&1,Gr=Fr[2]&2,Sn=Fr[2]&4,yi=Fr[2]&8;let Ji=8,da=Yr;for(Wr&&(Ji+=4),an&&Yr&&(!(Fr[Ji+1]&1)&&le.keyFrameIndex===void 0&&(le.keyFrameIndex=vn),Ji+=4,fn?(pr=Ge(Fr,Ji),Ji+=4):pr=Ue,Gr&&(Ji+=4),yi&&(Ji+=4),lt+=pr,Nt+=pr,da--);da--;)fn?(pr=Ge(Fr,Ji),Ji+=4):pr=Ue,Gr&&(Ji+=4),Sn&&(Fr[Ji+1]&1||le.keyFrameIndex===void 0&&(le.keyFrameIndex=le.sampleCount-(da+1),le.keyFrameStart=lt),Ji+=4),yi&&(Ji+=4),lt+=pr,Nt+=pr;!Nt&&Ue&&(Nt+=Ue*Yr)}le.duration+=Nt}if(!Object.keys(s).some(E=>s[E].duration)){let E=1/0,I=0;const z=bt(O,["sidx"]);for(let X=0;X<z.length;X++){const W=dt(z[X]);if(W!=null&&W.references){E=Math.min(E,W.earliestPresentationTime/W.timescale);const le=W.references.reduce((pe,Ee)=>pe+Ee.info.duration||0,0);I=Math.max(I,le+W.earliestPresentationTime/W.timescale)}}I&&r(I)&&Object.keys(s).forEach(X=>{s[X].duration||(s[X].duration=I*s[X].timescale-s[X].start)})}return s}function Wt(O){const t={valid:null,remainder:null},n=bt(O,["moof"]);if(n.length<2)return t.remainder=O,t;const s=n[n.length-1];return t.valid=O.slice(0,s.byteOffset-8),t.remainder=O.slice(s.byteOffset-8),t}function Ce(O,t){const n=new Uint8Array(O.length+t.length);return n.set(O),n.set(t,O.length),n}function Je(O,t){const n=[],s=t.samples,m=t.timescale,E=t.id;let I=!1;return bt(s,["moof"]).map(X=>{const W=X.byteOffset-8;bt(X,["traf"]).map(pe=>{const Ee=bt(pe,["tfdt"]).map(Oe=>{const Ue=Oe[0];let ut=Ge(Oe,4);return Ue===1&&(ut*=Math.pow(2,32),ut+=Ge(Oe,8)),ut/m})[0];return Ee!==void 0&&(O=Ee),bt(pe,["tfhd"]).map(Oe=>{const Ue=Ge(Oe,4),ut=Ge(Oe,0)&16777215,lt=(ut&1)!==0,Nt=(ut&2)!==0,pr=(ut&8)!==0;let sr=0;const Fr=(ut&16)!==0;let Yr=0;const vn=(ut&32)!==0;let Wr=8;Ue===E&&(lt&&(Wr+=8),Nt&&(Wr+=4),pr&&(sr=Ge(Oe,Wr),Wr+=4),Fr&&(Yr=Ge(Oe,Wr),Wr+=4),vn&&(Wr+=4),t.type==="video"&&(I=Yt(t.codec)),bt(pe,["trun"]).map(an=>{const fn=an[0],Gr=Ge(an,0)&16777215,Sn=(Gr&1)!==0;let yi=0;const Ji=(Gr&4)!==0,da=(Gr&256)!==0;let Ei=0;const Ii=(Gr&512)!==0;let zi=0;const Zi=(Gr&1024)!==0,ya=(Gr&2048)!==0;let Za=0;const mi=Ge(an,4);let vi=8;Sn&&(yi=Ge(an,vi),vi+=4),Ji&&(vi+=4);let cs=yi+W;for(let po=0;po<mi;po++){if(da?(Ei=Ge(an,vi),vi+=4):Ei=sr,Ii?(zi=Ge(an,vi),vi+=4):zi=Yr,Zi&&(vi+=4),ya&&(fn===0?Za=Ge(an,vi):Za=zt(an,vi),vi+=4),t.type===ie.VIDEO){let xs=0;for(;xs<zi;){const qs=Ge(s,cs);if(cs+=4,kt(I,s[cs])){const Lu=s.subarray(cs,cs+qs);Ht(Lu,I?2:1,O+Za/m,n)}cs+=qs,xs+=qs+4}}O+=Ei/m}}))})})}),n}function Yt(O){if(!O)return!1;const t=O.substring(0,4);return t==="hvc1"||t==="hev1"||t==="dvh1"||t==="dvhe"}function kt(O,t){if(O){const n=t>>1&63;return n===39||n===40}else return(t&31)===6}function Ht(O,t,n,s){const m=$t(O);let E=0;E+=t;let I=0,z=0,X=0;for(;E<m.length;){I=0;do{if(E>=m.length)break;X=m[E++],I+=X}while(X===255);z=0;do{if(E>=m.length)break;X=m[E++],z+=X}while(X===255);const W=m.length-E;let le=E;if(z<W)E+=z;else if(z>W){H.error(`Malformed SEI payload. ${z} is too small, only ${W} bytes left to parse.`);break}if(I===4){if(m[le++]===181){const Ee=fr(m,le);if(le+=2,Ee===49){const Oe=Ge(m,le);if(le+=4,Oe===1195456820){const Ue=m[le++];if(Ue===3){const ut=m[le++],lt=31&ut,Nt=64&ut,pr=Nt?2+lt*3:0,sr=new Uint8Array(pr);if(Nt){sr[0]=ut;for(let Fr=1;Fr<pr;Fr++)sr[Fr]=m[le++]}s.push({type:Ue,payloadType:I,pts:n,bytes:sr})}}}}}else if(I===5&&z>16){const pe=[];for(let Ue=0;Ue<16;Ue++){const ut=m[le++].toString(16);pe.push(ut.length==1?"0"+ut:ut),(Ue===3||Ue===5||Ue===7||Ue===9)&&pe.push("-")}const Ee=z-16,Oe=new Uint8Array(Ee);for(let Ue=0;Ue<Ee;Ue++)Oe[Ue]=m[le++];s.push({payloadType:I,pts:n,uuid:pe.join(""),userData:q(Oe),userDataBytes:Oe})}}}function $t(O){const t=O.byteLength,n=[];let s=1;for(;s<t-2;)O[s]===0&&O[s+1]===0&&O[s+2]===3?(n.push(s+2),s+=2):s++;if(n.length===0)return O;const m=t-n.length,E=new Uint8Array(m);let I=0;for(s=0;s<m;I++,s++)I===n[0]&&(I++,n.shift()),E[s]=O[I];return E}function tr(O){const t=O[0];let n="",s="",m=0,E=0,I=0,z=0,X=0,W=0;if(t===0){for(;Xt(O.subarray(W,W+1))!=="\0";)n+=Xt(O.subarray(W,W+1)),W+=1;for(n+=Xt(O.subarray(W,W+1)),W+=1;Xt(O.subarray(W,W+1))!=="\0";)s+=Xt(O.subarray(W,W+1)),W+=1;s+=Xt(O.subarray(W,W+1)),W+=1,m=Ge(O,12),E=Ge(O,16),z=Ge(O,20),X=Ge(O,24),W=28}else if(t===1){W+=4,m=Ge(O,W),W+=4;const pe=Ge(O,W);W+=4;const Ee=Ge(O,W);for(W+=4,I=4294967296*pe+Ee,i(I)||(I=Number.MAX_SAFE_INTEGER,H.warn("Presentation time exceeds safe integer limit and wrapped to max safe integer in parsing emsg box")),z=Ge(O,W),W+=4,X=Ge(O,W),W+=4;Xt(O.subarray(W,W+1))!=="\0";)n+=Xt(O.subarray(W,W+1)),W+=1;for(n+=Xt(O.subarray(W,W+1)),W+=1;Xt(O.subarray(W,W+1))!=="\0";)s+=Xt(O.subarray(W,W+1)),W+=1;s+=Xt(O.subarray(W,W+1)),W+=1}const le=O.subarray(W,O.byteLength);return{schemeIdUri:n,value:s,timeScale:m,presentationTime:I,presentationTimeDelta:E,eventDuration:z,id:X,payload:le}}function Gt(O,...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(O,4),m=0,s=8;m<n;m++)E.set(t[m],s),s+=t[m].byteLength;return E}function Me(O,t,n){if(O.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 I=new Uint8Array(4);return n&&n.byteLength>0&&new DataView(I.buffer).setUint32(0,n.byteLength,!1),Gt([112,115,115,104],new Uint8Array([s,0,0,0]),O,E,m,I,n||new Uint8Array)}const ce=()=>/\(Windows.+Firefox\//i.test(navigator.userAgent),he={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 Pt(O,t){const n=he[t];return!!n&&!!n[O.slice(0,4)]}function Te(O,t,n=!0){return!O.split(",").some(s=>!ct(s,t,n))}function ct(O,t,n=!0){var s;const m=ae(n);return(s=m==null?void 0:m.isTypeSupported(Zt(O,t)))!=null?s:!1}function Zt(O,t){return`${t}/mp4;codecs=${O}`}function wt(O){if(O){const t=O.substring(0,4);return he.video[t]}return 2}function Ie(O){const t=ce();return O.split(",").reduce((n,s)=>{const E=t&&Yt(s)?9:he.video[s];return E?(E*2+n)/(n?3:2):(he.audio[s]+n)/(n?2:1)},0)}const xt={};function be(O,t=!0){if(xt[O])return xt[O];const n={flac:["flac","fLaC","FLAC"],opus:["opus","Opus"],"mp4a.40.34":["mp3"]}[O];for(let m=0;m<n.length;m++){var s;if(ct(n[m],"audio",t))return xt[O]=n[m],n[m];if(n[m]==="mp3"&&(s=ae(t))!=null&&s.isTypeSupported("audio/mpeg"))return""}return O}const Ye=/flac|opus|mp4a\.40\.34/i;function mt(O,t=!0){return O.replace(Ye,n=>be(n.toLowerCase(),t))}function Lt(O,t){const n=[];if(O){const s=O.split(",");for(let m=0;m<s.length;m++)Pt(s[m],"video")||n.push(s[m])}return t&&n.push(t),n.join(",")}function Fe(O,t){if(O&&(O.length>4||["ac-3","ec-3","alac","fLaC","Opus"].indexOf(O)!==-1)&&(Or(O,"audio")||Or(O,"video")))return O;if(t){const n=t.split(",");if(n.length>1){if(O){for(let s=n.length;s--;)if(n[s].substring(0,4)===O.substring(0,4))return n[s]}return n[0]}}return t||O}function Or(O,t){return Pt(O,t)&&ct(O,t)}function St(O){const t=O.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 Vr(O){if(O.startsWith("av01.")){const t=O.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 O}function tn(O){const t=ae(O)||{isTypeSupported:()=>!1};return{mpeg:t.isTypeSupported("audio/mpeg"),mp3:t.isTypeSupported('audio/mp4; codecs="mp3"'),ac3:t.isTypeSupported('audio/mp4; codecs="ac-3"')}}function wr(O){return O.replace(/^.+codecs=["']?([^"']+).*$/,"$1")}const Nr={supported:!0,configurations:[],decodingInfoResults:[{supported:!0,powerEfficient:!0,smooth:!0}]};function gr(O,t){return{supported:!1,configurations:t,decodingInfoResults:[{supported:!1,smooth:!1,powerEfficient:!1}],error:O}}function Ur(O,t,n,s,m,E){const I=O.videoCodec,z=O.audioCodec?O.audioGroups:null,X=E==null?void 0:E.audioCodec,W=E==null?void 0:E.channels,le=W?parseInt(W):X?1/0:2;let pe=null;if(z!=null&&z.length)try{z.length===1&&z[0]?pe=t.groups[z[0]].channels:pe=z.reduce((Ee,Oe)=>{if(Oe){const Ue=t.groups[Oe];if(!Ue)throw new Error(`Audio track group ${Oe} not found`);Object.keys(Ue.channels).forEach(ut=>{Ee[ut]=(Ee[ut]||0)+Ue.channels[ut]})}return Ee},{2:0})}catch(Ee){return!0}return I!==void 0&&(I.split(",").some(Ee=>Yt(Ee))||O.width>1920&&O.height>1088||O.height>1920&&O.width>1088||O.frameRate>Math.max(s,30)||O.videoRange!=="SDR"&&O.videoRange!==n||O.bitrate>Math.max(m,8e6))||!!pe&&r(le)&&Object.keys(pe).some(Ee=>parseInt(Ee)>le)}function cn(O,t,n,s={}){const m=O.videoCodec;if(!m&&!O.audioCodec||!n)return Promise.resolve(Nr);const E=[],I=hn(O),z=I.length,X=ur(O,t,z>0),W=X.length;for(let le=z||1*W||1;le--;){const pe={type:"media-source"};if(z&&(pe.video=I[le%z]),W){pe.audio=X[le%W];const Ee=pe.audio.bitrate;pe.video&&Ee&&(pe.video.bitrate-=Ee)}E.push(pe)}if(m){const le=navigator.userAgent;if(m.split(",").some(pe=>Yt(pe))&&ce())return Promise.resolve(gr(new Error(`Overriding Windows Firefox HEVC MediaCapabilities result based on user-agent string: (${le})`),E))}return Promise.all(E.map(le=>{const pe=vt(le);return s[pe]||(s[pe]=n.decodingInfo(le))})).then(le=>({supported:!le.some(pe=>!pe.supported),configurations:E,decodingInfoResults:le})).catch(le=>({supported:!1,configurations:E,decodingInfoResults:[],error:le}))}function hn(O){var t;const n=(t=O.videoCodec)==null?void 0:t.split(","),s=_t(O),m=O.width||640,E=O.height||480,I=O.frameRate||30,z=O.videoRange.toLowerCase();return n?n.map(X=>{const W={contentType:Zt(Vr(X),"video"),width:m,height:E,bitrate:s,framerate:I};return z!=="sdr"&&(W.transferFunction=z),W}):[]}function ur(O,t,n){var s;const m=(s=O.audioCodec)==null?void 0:s.split(","),E=_t(O);return m&&O.audioGroups?O.audioGroups.reduce((I,z)=>{var X;const W=z?(X=t.groups[z])==null?void 0:X.tracks:null;return W?W.reduce((le,pe)=>{if(pe.groupId===z){const Ee=parseFloat(pe.channels||"");m.forEach(Oe=>{const Ue={contentType:Zt(Oe,"audio"),bitrate:n?Rt(Oe,E):E};Ee&&(Ue.channels=""+Ee),le.push(Ue)})}return le},I):I},[]):[]}function Rt(O,t){if(t<=1)return 1;let n=128e3;return O==="ec-3"?n=768e3:O==="ac-3"&&(n=64e4),Math.min(t/2,n)}function _t(O){return Math.ceil(Math.max(O.bitrate*.9,O.averageBitrate)/1e3)*1e3||1}function vt(O){let t="";const{audio:n,video:s}=O;if(s){const m=wr(s.contentType);t+=`${m}_r${s.height}x${s.width}f${Math.ceil(s.framerate)}${s.transferFunction||"sd"}_${Math.ceil(s.bitrate/1e5)}`}if(n){const m=wr(n.contentType);t+=`${s?"_":""}${m}_c${n.channels}`}return t}const jt=["NONE","TYPE-0","TYPE-1",null];function Cr(O){return jt.indexOf(O)>-1}const yr=["SDR","PQ","HLG"];function nn(O){return!!O&&yr.indexOf(O)>-1}var Kr={No:"",Yes:"YES",v2:"v2"};function Ln(O){const{canSkipUntil:t,canSkipDateRanges:n,age:s}=O,m=s<t/2;return t&&m?n?Kr.v2:Kr.Yes:Kr.No}class At{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 cr{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 Qr(this._audioGroups,t)}hasSubtitleGroup(t){return Qr(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 Qr(O,t){return!t||!O?!1:O.indexOf(t)!==-1}function yn(){if(typeof matchMedia=="function"){const O=matchMedia("(dynamic-range: high)"),t=matchMedia("bad query");if(O.media!==t.media)return O.matches===!0}return!1}function Gn(O,t){let n=!1,s=[];if(O&&(n=O!=="SDR",s=[O]),t){s=t.allowedVideoRanges||yr.slice(0);const m=s.join("")!=="SDR"&&!t.videoCodec;n=t.preferHDR!==void 0?t.preferHDR:m&&yn(),n||(s=["SDR"])}return{preferHDR:n,allowedVideoRanges:s}}const fi=O=>{const t=new WeakSet;return(n,s)=>{if(O&&(s=O(n,s)),typeof s=="object"&&s!==null){if(t.has(s))return;t.add(s)}return s}},Xn=(O,t)=>JSON.stringify(O,fi(t));function Ki(O,t,n,s,m){const E=Object.keys(O),I=s==null?void 0:s.channels,z=s==null?void 0:s.audioCodec,X=m==null?void 0:m.videoCodec,W=I&&parseInt(I)===2;let le=!1,pe=!1,Ee=1/0,Oe=1/0,Ue=1/0,ut=1/0,lt=0,Nt=[];const{preferHDR:pr,allowedVideoRanges:sr}=Gn(t,m);for(let an=E.length;an--;){const fn=O[E[an]];le||(le=fn.channels[2]>0),Ee=Math.min(Ee,fn.minHeight),Oe=Math.min(Oe,fn.minFramerate),Ue=Math.min(Ue,fn.minBitrate),sr.filter(Sn=>fn.videoRanges[Sn]>0).length>0&&(pe=!0)}Ee=r(Ee)?Ee:0,Oe=r(Oe)?Oe:0;const Fr=Math.max(1080,Ee),Yr=Math.max(30,Oe);Ue=r(Ue)?Ue:n,n=Math.max(Ue,n),pe||(t=void 0);const vn=E.length>1;return{codecSet:E.reduce((an,fn)=>{const Gr=O[fn];if(fn===an)return an;if(Nt=pe?sr.filter(Sn=>Gr.videoRanges[Sn]>0):[],vn){if(Gr.minBitrate>n)return hi(fn,`min bitrate of ${Gr.minBitrate} > current estimate of ${n}`),an;if(!Gr.hasDefaultAudio)return hi(fn,"no renditions with default or auto-select sound found"),an;if(z&&fn.indexOf(z.substring(0,4))%5!==0)return hi(fn,`audio codec preference "${z}" not found`),an;if(I&&!W){if(!Gr.channels[I])return hi(fn,`no renditions with ${I} channel sound found (channels options: ${Object.keys(Gr.channels)})`),an}else if((!z||W)&&le&&Gr.channels[2]===0)return hi(fn,"no renditions with stereo sound found"),an;if(Gr.minHeight>Fr)return hi(fn,`min resolution of ${Gr.minHeight} > maximum of ${Fr}`),an;if(Gr.minFramerate>Yr)return hi(fn,`min framerate of ${Gr.minFramerate} > maximum of ${Yr}`),an;if(!Nt.some(Sn=>Gr.videoRanges[Sn]>0))return hi(fn,`no variants with VIDEO-RANGE of ${Xn(Nt)} found`),an;if(X&&fn.indexOf(X.substring(0,4))%5!==0)return hi(fn,`video codec preference "${X}" not found`),an;if(Gr.maxScore<lt)return hi(fn,`max score of ${Gr.maxScore} < selected max of ${lt}`),an}return an&&(Ie(fn)>=Ie(an)||Gr.fragmentError>O[an].fragmentError)?an:(ut=Gr.minIndex,lt=Gr.maxScore,fn)},void 0),videoRanges:Nt,preferHDR:pr,minFramerate:Oe,minBitrate:Ue,minIndex:ut}}function hi(O,t){H.log(`[abr] start candidates with "${O}" ignored because ${t}`)}function bi(O){return O.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 Di(O,t,n,s){return O.slice(n,s+1).reduce((m,E,I)=>{if(!E.codecSet)return m;const z=E.audioGroups;let X=m[E.codecSet];X||(m[E.codecSet]=X={minBitrate:1/0,minHeight:1/0,minFramerate:1/0,minIndex:I,maxScore:0,videoRanges:{SDR:0},channels:{2:0},hasDefaultAudio:!z,fragmentError:0}),X.minBitrate=Math.min(X.minBitrate,E.bitrate);const W=Math.min(E.height,E.width);return X.minHeight=Math.min(X.minHeight,W),X.minFramerate=Math.min(X.minFramerate,E.frameRate),X.minIndex=Math.min(X.minIndex,I),X.maxScore=Math.max(X.maxScore,E.score),X.fragmentError+=E.fragmentError,X.videoRanges[E.videoRange]=(X.videoRanges[E.videoRange]||0)+1,z&&z.forEach(le=>{if(!le)return;const pe=t.groups[le];pe&&(X.hasDefaultAudio=X.hasDefaultAudio||t.hasDefaultAudio?pe.hasDefault:pe.hasAutoSelect||!t.hasDefaultAudio&&!t.hasAutoSelectAudio,Object.keys(pe.channels).forEach(Ee=>{X.channels[Ee]=(X.channels[Ee]||0)+pe.channels[Ee]}))}),m},{})}function wi(O){if(!O)return O;const{lang:t,assocLang:n,characteristics:s,channels:m,audioCodec:E}=O;return{lang:t,assocLang:n,characteristics:s,channels:m,audioCodec:E}}function fa(O,t,n){if("attrs"in O){const s=t.indexOf(O);if(s!==-1)return s}for(let s=0;s<t.length;s++){const m=t[s];if(ri(O,m,n))return s}return-1}function ri(O,t,n){const{groupId:s,name:m,lang:E,assocLang:I,default:z}=O,X=O.forced;return(s===void 0||t.groupId===s)&&(m===void 0||t.name===m)&&(E===void 0||la(E,t.lang))&&(E===void 0||t.assocLang===I)&&(z===void 0||t.default===z)&&(X===void 0||t.forced===X)&&(!("characteristics"in O)||Et(O.characteristics||"",t.characteristics))&&(n===void 0||n(O,t))}function la(O,t="--"){return O.length===t.length?O===t:O.startsWith(t)||t.startsWith(O)}function Et(O,t=""){const n=O.split(","),s=t.split(",");return n.length===s.length&&!n.some(m=>s.indexOf(m)===-1)}function it(O,t){const{audioCodec:n,channels:s}=O;return(n===void 0||(t.audioCodec||"").substring(0,4)===n.substring(0,4))&&(s===void 0||s===(t.channels||"2"))}function ni(O,t,n,s,m){const E=t[s],z=t.reduce((Ee,Oe,Ue)=>{const ut=Oe.uri;return(Ee[ut]||(Ee[ut]=[])).push(Ue),Ee},{})[E.uri];z.length>1&&(s=Math.max.apply(Math,z));const X=E.videoRange,W=E.frameRate,le=E.codecSet.substring(0,4),pe=Oi(t,s,Ee=>{if(Ee.videoRange!==X||Ee.frameRate!==W||Ee.codecSet.substring(0,4)!==le)return!1;const Oe=Ee.audioGroups,Ue=n.filter(ut=>!Oe||Oe.indexOf(ut.groupId)!==-1);return fa(O,Ue,m)>-1});return pe>-1?pe:Oi(t,s,Ee=>{const Oe=Ee.audioGroups,Ue=n.filter(ut=>!Oe||Oe.indexOf(ut.groupId)!==-1);return fa(O,Ue,m)>-1})}function Oi(O,t,n){for(let s=t;s>-1;s--)if(n(O[s]))return s;for(let s=t+1;s<O.length;s++)if(n(O[s]))return s;return-1}function ii(O,t){var n;return!!O&&O!==((n=t.loadLevelObj)==null?void 0:n.uri)}class sa 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.supportedCache={},this.bwEstimator=void 0,this._abandonRulesCheck=n=>{var s;const{fragCurrent:m,partCurrent:E,hls:I}=this,{autoLevelEnabled:z,media:X}=I;if(!m||!X)return;const W=performance.now(),le=E?E.stats:m.stats,pe=E?E.duration:m.duration,Ee=W-le.loading.start,Oe=I.minAutoLevel,Ue=m.level,ut=this._nextAutoLevel;if(le.aborted||le.loaded&&le.loaded===le.total||Ue<=Oe){this.clearTimer(),this._nextAutoLevel=-1;return}if(!z)return;const lt=ut>-1&&ut!==Ue,Nt=!!n||lt;if(!Nt&&(X.paused||!X.playbackRate||!X.readyState))return;const pr=I.mainForwardBufferInfo;if(!Nt&&pr===null)return;const sr=this.bwEstimator.getEstimateTTFB(),Fr=Math.abs(X.playbackRate);if(Ee<=Math.max(sr,1e3*(pe/(Fr*2))))return;const Yr=pr?pr.len/Fr:0,vn=le.loading.first?le.loading.first-le.loading.start:-1,Wr=le.loaded&&vn>-1,an=this.getBwEstimate(),fn=I.levels,Gr=fn[Ue],Sn=Math.max(le.loaded,Math.round(pe*(m.bitrate||Gr.averageBitrate)/8));let yi=Wr?Ee-vn:Ee;yi<1&&Wr&&(yi=Math.min(Ee,le.loaded*8/an));const Ji=Wr?le.loaded*1e3/yi:0,da=sr/1e3,Ei=Ji?(Sn-le.loaded)/Ji:Sn*8/an+da;if(Ei<=Yr)return;const Ii=Ji?Ji*8:an,zi=((s=(n==null?void 0:n.details)||this.hls.latestLevelDetails)==null?void 0:s.live)===!0,Zi=this.hls.config.abrBandWidthUpFactor;let ya=Number.POSITIVE_INFINITY,Za;for(Za=Ue-1;Za>Oe;Za--){const po=fn[Za].maxBitrate,xs=!fn[Za].details||zi;if(ya=this.getTimeToLoadFrag(da,Ii,pe*po,xs),ya<Math.min(Yr,pe+da))break}if(ya>=Ei||ya>pe*10)return;Wr?this.bwEstimator.sample(Ee-Math.min(sr,vn),le.loaded):this.bwEstimator.sampleTTFB(Ee);const mi=fn[Za].maxBitrate;this.getBwEstimate()*Zi>mi&&this.resetEstimator(mi);const vi=this.findBestLevel(mi,Oe,Za,0,Yr,1,1);vi>-1&&(Za=vi),this.warn(`Fragment ${m.sn}${E?" part "+E.index:""} of level ${Ue} is loading too slowly;
|
|
|
Fragment duration: ${m.duration.toFixed(3)}
|
|
|
Time to underbuffer: ${Yr.toFixed(3)} s
|
|
|
Estimated load time for current fragment: ${Ei.toFixed(3)} s
|
|
|
Estimated load time for down switch fragment: ${ya.toFixed(3)} s
|
|
|
TTFB estimate: ${vn|0} ms
|
|
|
Current BW estimate: ${r(an)?an|0:"Unknown"} bps
|
|
|
New BW estimate: ${this.getBwEstimate()|0} bps
|
|
|
Switching to level ${Za} @ ${mi|0} bps`),I.nextLoadLevel=I.nextAutoLevel=Za,this.clearTimer();const cs=()=>{if(this.clearTimer(),this.fragCurrent===m&&this.hls.loadLevel===Za&&Za>0){const po=this.getStarvationDelay();if(this.warn(`Aborting inflight request ${Za>0?"and switching down":""}
|
|
|
Fragment duration: ${m.duration.toFixed(3)} s
|
|
|
Time to underbuffer: ${po.toFixed(3)} s`),m.abortRequests(),this.fragCurrent=this.partCurrent=null,Za>Oe){let xs=this.findBestLevel(this.hls.levels[Oe].bitrate,Oe,Za,0,po,1,1);xs===-1&&(xs=Oe),this.hls.nextLoadLevel=this.hls.nextAutoLevel=xs,this.resetEstimator(this.hls.levels[xs].bitrate)}}};lt||Ei>ya*2?cs():this.timer=self.setInterval(cs,ya*1e3),I.trigger(o.FRAG_LOAD_EMERGENCY_ABORTED,{frag:m,part:E,stats:le})},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=this.supportedCache=null,this.fragCurrent=this.partCurrent=null}onManifestLoading(t,n){this.lastLoadedFragLevel=-1,this.firstSelection=-1,this.lastLevelLoadSec=0,this.supportedCache={},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 I=performance.now(),z=E?E.stats:s.stats,X=I-z.loading.start,W=z.loading.first?z.loading.first-z.loading.start:-1;if(z.loaded&&W>-1){const pe=this.bwEstimator.getEstimateTTFB();this.bwEstimator.sample(X-Math.min(pe,W),z.loaded)}else this.bwEstimator.sampleTTFB(X)}break}}}getTimeToLoadFrag(t,n,s,m){const E=t+s/n,I=m?t+this.lastLevelLoadSec:0;return E+I}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,I=this.hls.levels[n.level],z=(I.loaded?I.loaded.bytes:0)+m.loaded,X=(I.loaded?I.loaded.duration:0)+E;I.loaded={bytes:z,duration:X},I.realBitrate=Math.round(8*z/X)}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 I=E.parsing.end-E.loading.start-Math.min(E.loading.first-E.loading.start,this.bwEstimator.getEstimateTTFB());this.bwEstimator.sample(I,E.loaded),E.bwEstimate=this.getBwEstimate(),s.bitrateTest?this.bitrateTestDelay=I/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 I=this.hls.firstLevel,z=Math.min(Math.max(I,n),t);return this.warn(`Could not find best starting auto level. Defaulting to first in playlist ${I} clamped to ${z}`),z}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 I=this.hls.levels;if(I.length>Math.max(t,E)&&I[t].loadError<=I[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:I}=s,z=n?n.duration:t?t.duration:0,X=this.getBwEstimate(),W=this.getStarvationDelay();let le=E.abrBandWidthFactor,pe=E.abrBandWidthUpFactor;if(W){const lt=this.findBestLevel(X,I,m,W,0,le,pe);if(lt>=0)return this.rebufferNotice=-1,lt}let Ee=z?Math.min(z,E.maxStarvationDelay):E.maxStarvationDelay;if(!W){const lt=this.bitrateTestDelay;lt&&(Ee=(z?Math.min(z,E.maxLoadingDelay):E.maxLoadingDelay)-lt,this.info(`bitrate test took ${Math.round(1e3*lt)}ms, set first fragment max fetchDuration to ${Math.round(1e3*Ee)} ms`),le=pe=1)}const Oe=this.findBestLevel(X,I,m,W,Ee,le,pe);if(this.rebufferNotice!==Oe&&(this.rebufferNotice=Oe,this.info(`${W?"rebuffering expected":"buffer is empty"}, optimal quality level ${Oe}`)),Oe>-1)return Oe;const Ue=s.levels[I],ut=s.loadLevelObj;return ut&&(Ue==null?void 0:Ue.bitrate)<ut.bitrate?I: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,I,z){var X;const W=m+E,le=this.lastLoadedFragLevel,pe=le===-1?this.hls.firstLevel:le,{fragCurrent:Ee,partCurrent:Oe}=this,{levels:Ue,allAudioTracks:ut,loadLevel:lt,config:Nt}=this.hls;if(Ue.length===1)return 0;const pr=Ue[pe],sr=!!((X=this.hls.latestLevelDetails)!=null&&X.live),Fr=lt===-1||le===-1;let Yr,vn="SDR",Wr=(pr==null?void 0:pr.frameRate)||0;const{audioPreference:an,videoPreference:fn}=Nt,Gr=this.audioTracksByGroup||(this.audioTracksByGroup=bi(ut));let Sn=-1;if(Fr){if(this.firstSelection!==-1)return this.firstSelection;const Ii=this.codecTiers||(this.codecTiers=Di(Ue,Gr,n,s)),zi=Ki(Ii,vn,t,an,fn),{codecSet:Zi,videoRanges:ya,minFramerate:Za,minBitrate:mi,minIndex:vi,preferHDR:cs}=zi;Sn=vi,Yr=Zi,vn=cs?ya[ya.length-1]:ya[0],Wr=Za,t=Math.max(t,mi),this.log(`picked start tier ${Xn(zi)}`)}else Yr=pr==null?void 0:pr.codecSet,vn=pr==null?void 0:pr.videoRange;const yi=Oe?Oe.duration:Ee?Ee.duration:0,Ji=this.bwEstimator.getEstimateTTFB()/1e3,da=[];for(let Ii=s;Ii>=n;Ii--){var Ei;const zi=Ue[Ii],Zi=Ii>pe;if(!zi)continue;if(Nt.useMediaCapabilities&&!zi.supportedResult&&!zi.supportedPromise){const xs=navigator.mediaCapabilities;typeof(xs==null?void 0:xs.decodingInfo)=="function"&&Ur(zi,Gr,vn,Wr,t,an)?(zi.supportedPromise=cn(zi,Gr,xs,this.supportedCache),zi.supportedPromise.then(qs=>{if(!this.hls)return;zi.supportedResult=qs;const Lu=this.hls.levels,Tu=Lu.indexOf(zi);qs.error?this.warn(`MediaCapabilities decodingInfo error: "${qs.error}" for level ${Tu} ${Xn(qs)}`):qs.supported?qs.decodingInfoResults.some(rc=>rc.smooth===!1||rc.powerEfficient===!1)&&this.log(`MediaCapabilities decodingInfo for level ${Tu} not smooth or powerEfficient: ${Xn(qs)}`):(this.warn(`Unsupported MediaCapabilities decodingInfo result for level ${Tu} ${Xn(qs)}`),Tu>-1&&Lu.length>1&&(this.log(`Removing unsupported level ${Tu}`),this.hls.removeLevel(Tu),this.hls.loadLevel===-1&&(this.hls.nextLoadLevel=0)))})):zi.supportedResult=Nr}if((Yr&&zi.codecSet!==Yr||vn&&zi.videoRange!==vn||Zi&&Wr>zi.frameRate||!Zi&&Wr>0&&Wr<zi.frameRate||(Ei=zi.supportedResult)!=null&&(Ei=Ei.decodingInfoResults)!=null&&Ei.some(xs=>xs.smooth===!1))&&(!Fr||Ii!==Sn)){da.push(Ii);continue}const ya=zi.details,Za=(Oe?ya==null?void 0:ya.partTarget:ya==null?void 0:ya.averagetargetduration)||yi;let mi;Zi?mi=z*t:mi=I*t;const vi=yi&&m>=yi*2&&E===0?zi.averageBitrate:zi.maxBitrate,cs=this.getTimeToLoadFrag(Ji,mi,vi*Za,ya===void 0);if(mi>=vi&&(Ii===le||zi.loadError===0&&zi.fragmentError===0)&&(cs<=Ji||!r(cs)||sr&&!this.bitrateTestDelay||cs<W)){const xs=this.forcedAutoLevel;return Ii!==lt&&(xs===-1||xs!==lt)&&(da.length&&this.trace(`Skipped level(s) ${da.join(",")} of ${s} max with CODECS and VIDEO-RANGE:"${Ue[da[0]].codecs}" ${Ue[da[0]].videoRange}; not compatible with "${Yr}" ${vn}`),this.info(`switch candidate:${pe}->${Ii} adjustedbw(${Math.round(mi)})-bitrate=${Math.round(mi-vi)} ttfb:${Ji.toFixed(1)} avgDuration:${Za.toFixed(1)} maxFetchDuration:${W.toFixed(1)} fetchDuration:${cs.toFixed(1)} firstSelection:${Fr} codecSet:${zi.codecSet} videoRange:${zi.videoRange} hls.loadLevel:${lt}`)),Fr&&(this.firstSelection=Ii),Ii}}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 Ti={search:function(O,t){let n=0,s=O.length-1,m=null,E=null;for(;n<=s;){m=(n+s)/2|0,E=O[m];const I=t(E);if(I>0)n=m+1;else if(I<0)s=m-1;else return E}return null}};function ci(O,t,n){if(t===null||!Array.isArray(O)||!O.length||!r(t))return null;const s=O[0].programDateTime;if(t<(s||0))return null;const m=O[O.length-1].endProgramDateTime;if(t>=(m||0))return null;for(let E=0;E<O.length;++E){const I=O[E];if(tt(t,n,I))return I}return null}function An(O,t,n=0,s=0,m=.005){let E=null;if(O){E=t[1+O.sn-t[0].sn]||null;const z=O.endDTS-n;z>0&&z<15e-7&&(n+=15e-7),E&&O.level!==E.level&&E.end<=O.end&&(E=t[2+O.sn-t[0].sn]||null)}else n===0&&t[0].start===0&&(E=t[0]);if(E&&((!O||O.level===E.level)&&pt(n,s,E)===0||er(E,O,Math.min(m,s))))return E;const I=Ti.search(t,pt.bind(null,n,s));return I&&(I!==O||!E)?I:E}function er(O,t,n){if(t&&t.start===0&&t.level<O.level&&(t.endPTS||0)>0){const s=t.tagList.reduce((m,E)=>(E[0]==="INF"&&(m+=parseFloat(E[1])),m),n);return O.start<=s}return!1}function pt(O=0,t=0,n){if(n.start<=O&&n.start+n.duration>O)return 0;const s=Math.min(t,n.duration+(n.deltaPTS?n.deltaPTS:0));return n.start+n.duration-s<=O?1:n.start-s>O&&n.start?-1:0}function tt(O,t,n){const s=Math.min(t,n.duration+(n.deltaPTS?n.deltaPTS:0))*1e3;return(n.endProgramDateTime||0)-s>O}function Ot(O,t,n){if(O&&O.startCC<=t&&O.endCC>=t){let s=O.fragments;const{fragmentHint:m}=O;m&&(s=s.concat(m));let E;return Ti.search(s,I=>I.cc<t?1:I.cc>t?-1:(E=I,I.end<=n?1:I.start>n?-1:0)),E||null}return null}function ft(O){switch(O.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 lr(O,t){const n=ft(t);return O.default[`${n?"timeout":"error"}Retry`]}function dr(O,t){const n=O.backoff==="linear"?1:Math.pow(2,t);return Math.min(n*O.retryDelayMs,O.maxRetryDelayMs)}function Pr(O){return b(b({},O),{errorRetry:null,timeoutRetry:null})}function zr(O,t,n,s){if(!O)return!1;const m=s==null?void 0:s.code,E=t<O.maxNumRetry&&(Ze(m)||!!n);return O.shouldRetry?O.shouldRetry(O,t,n,s,E):E}function Ze(O){return O===0&&navigator.onLine===!1||!!O&&(O<400||O>499)}var qe={DoNothing:0,SendEndCallback:1,SendAlternateToPenaltyBox:2,RemoveAlternatePermanently:3,InsertDiscontinuity:4,RetryRequest:5},xe={None:0,MoveAllAlternatesMatchingHost:1,MoveAllAlternatesMatchingHDCP:2,SwitchToSDR:4};class at 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=ar();return}case f.FRAG_GAP:case f.FRAG_DECRYPT_ERROR:{n.errorAction=this.getFragRetryOrSwitchAction(n),n.errorAction.action=qe.SendAlternateToPenaltyBox;return}case f.LEVEL_EMPTY_ERROR:case f.LEVEL_PARSING_ERROR:{var I;const X=n.parent===u.MAIN?n.level:m.loadLevel;n.details===f.LEVEL_EMPTY_ERROR&&((I=n.context)!=null&&(I=I.levelDetails)!=null&&I.live)?n.errorAction=this.getPlaylistRetryOrSwitchAction(n,X):(n.levelRetry=!1,n.errorAction=this.getLevelSwitchAction(n,X))}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 X=m.loadLevelObj;if(X&&(E.type===h.AUDIO_TRACK&&X.hasAudioGroup(E.groupId)||E.type===h.SUBTITLE_TRACK&&X.hasSubtitleGroup(E.groupId))){n.errorAction=this.getPlaylistRetryOrSwitchAction(n,m.loadLevel),n.errorAction.action=qe.SendAlternateToPenaltyBox,n.errorAction.flags=xe.MoveAllAlternatesMatchingHost;return}}return;case f.KEY_SYSTEM_STATUS_OUTPUT_RESTRICTED:{const X=m.loadLevelObj,W=X==null?void 0:X.attrs["HDCP-LEVEL"];W?n.errorAction={action:qe.SendAlternateToPenaltyBox,flags:xe.MoveAllAlternatesMatchingHDCP,hdcpLevel:W}:this.keySystemError(n)}return;case f.BUFFER_ADD_CODEC_ERROR:case f.REMUX_ALLOC_ERROR:case f.BUFFER_APPEND_ERROR:if(!n.errorAction){var z;n.errorAction=this.getLevelSwitchAction(n,(z=n.level)!=null?z: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=ar();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=lr(s.config.playlistLoadPolicy,t),E=this.playlistError++;if(zr(m,E,ft(t),t.response))return{action:qe.RetryRequest,flags:xe.None,retryConfig:m,retryCount:E};const z=this.getLevelSwitchAction(t,n);return m&&(z.retryConfig=m,z.retryCount=E),z}getFragRetryOrSwitchAction(t){const n=this.hls,s=this.getVariantLevelIndex(t.frag),m=n.levels[s],{fragLoadPolicy:E,keyLoadPolicy:I}=n.config,z=lr(t.details.startsWith("key")?I:E,t),X=n.levels.reduce((le,pe)=>le+pe.fragmentError,0);if(m&&(t.details!==f.FRAG_GAP&&m.fragmentError++,zr(z,X,ft(t),t.response)))return{action:qe.RetryRequest,flags:xe.None,retryConfig:z,retryCount:X};const W=this.getLevelSwitchAction(t,s);return z&&(W.retryConfig=z,W.retryCount=X),W}getLevelSwitchAction(t,n){const s=this.hls;n==null&&(n=s.loadLevel);const m=this.hls.levels[n];if(m){var E,I;const W=t.details;m.loadError++,W===f.BUFFER_APPEND_ERROR&&m.fragmentError++;let le=-1;const{levels:pe,loadLevel:Ee,minAutoLevel:Oe,maxAutoLevel:Ue}=s;!s.autoLevelEnabled&&!s.config.preserveManualLevelOnError&&(s.loadLevel=-1);const ut=(E=t.frag)==null?void 0:E.type,Nt=(ut===u.AUDIO&&W===f.FRAG_PARSING_ERROR||t.sourceBufferName==="audio"&&(W===f.BUFFER_ADD_CODEC_ERROR||W===f.BUFFER_APPEND_ERROR))&&pe.some(({audioCodec:vn})=>m.audioCodec!==vn),sr=t.sourceBufferName==="video"&&(W===f.BUFFER_ADD_CODEC_ERROR||W===f.BUFFER_APPEND_ERROR)&&pe.some(({codecSet:vn,audioCodec:Wr})=>m.codecSet!==vn&&m.audioCodec===Wr),{type:Fr,groupId:Yr}=(I=t.context)!=null?I:{};for(let vn=pe.length;vn--;){const Wr=(vn+Ee)%pe.length;if(Wr!==Ee&&Wr>=Oe&&Wr<=Ue&&pe[Wr].loadError===0){var z,X;const an=pe[Wr];if(W===f.FRAG_GAP&&ut===u.MAIN&&t.frag){const fn=pe[Wr].details;if(fn){const Gr=An(t.frag,fn.fragments,t.frag.start);if(Gr!=null&&Gr.gap)continue}}else{if(Fr===h.AUDIO_TRACK&&an.hasAudioGroup(Yr)||Fr===h.SUBTITLE_TRACK&&an.hasSubtitleGroup(Yr))continue;if(ut===u.AUDIO&&(z=m.audioGroups)!=null&&z.some(fn=>an.hasAudioGroup(fn))||ut===u.SUBTITLE&&(X=m.subtitleGroups)!=null&&X.some(fn=>an.hasSubtitleGroup(fn))||Nt&&m.audioCodec===an.audioCodec||!Nt&&m.audioCodec!==an.audioCodec||sr&&m.codecSet===an.codecSet)continue}le=Wr;break}}if(le>-1&&s.loadLevel!==le)return t.levelRetry=!0,this.playlistError=0,{action:qe.SendAlternateToPenaltyBox,flags:xe.None,nextAutoLevel:le}}return{action:qe.SendAlternateToPenaltyBox,flags:xe.MoveAllAlternatesMatchingHost}}onErrorOut(t,n){var s;switch((s=n.errorAction)==null?void 0:s.action){case qe.DoNothing:break;case qe.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 qe.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:I}=s;switch(m){case xe.None:this.switchLevel(t,I);break;case xe.MoveAllAlternatesMatchingHDCP:E&&(n.maxHdcpLevel=jt[jt.indexOf(E)-1],s.resolved=!0),this.warn(`Restricting playback to HDCP-LEVEL of "${n.maxHdcpLevel}" or lower`);break}s.resolved||this.switchLevel(t,I)}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=wr(t.mimeType),m=this.hls.levels;for(let E=m.length;E--;)m[E][`${t.sourceBufferName}Codec`]===s&&this.hls.removeLevel(E)}}}function ar(O){const t={action:qe.DoNothing,flags:xe.None};return O&&(t.resolved=!0),t}var Er={NOT_LOADED:"NOT_LOADED",APPENDING:"APPENDING",PARTIAL:"PARTIAL",OK:"OK"};class kr{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&&(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&&(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.hls=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;if(E.start<=t&&t<=E.end&&E.loaded)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 I=E.length;I--;){const z=m[E[I]];if((z==null?void 0:z.body.type)===n&&(!s||z.buffered)){const X=z.body;if(X.start<=t&&t<=X.end)return X}}return null}detectEvictedFragments(t,n,s,m,E){this.timeRanges&&(this.timeRanges[t]=n);const I=(m==null?void 0:m.fragment.sn)||-1;Object.keys(this.fragments).forEach(z=>{const X=this.fragments[z];if(!X||I>=X.body.sn)return;if(!X.buffered&&(!X.loaded||E)){X.body.type===s&&this.removeFragment(X.body);return}const W=X.range[t];if(W){if(W.time.length===0){this.removeFragment(X.body);return}W.time.some(le=>{const pe=!this.isTimeBuffered(le.startPTS,le.endPTS,n);return pe&&this.removeFragment(X.body),pe})}})}detectPartialFragments(t){const n=this.timeRanges;if(!n||t.frag.sn==="initSegment")return;const s=t.frag,m=jr(s),E=this.fragments[m];if(!E||E.buffered&&s.gap)return;const I=!s.relurl;Object.keys(n).forEach(z=>{const X=s.elementaryStreams[z];if(!X)return;const W=n[z],le=I||X.partial===!0;E.range[z]=this.getBufferedTimes(s,t.part,le,W)}),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),Ir(E)||this.removeParts(s.sn-1,s.type)):this.removeFragment(E.body)}removeParts(t,n){const s=this.activePartLists[n];s&&(this.activePartLists[n]=wn(s,m=>m.fragment.sn>=t))}fragBuffered(t,n){const s=jr(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},I=t.start,z=t.end,X=t.minEndPTS||z,W=t.maxStartPTS||I;for(let le=0;le<m.length;le++){const pe=m.start(le)-this.bufferPadding,Ee=m.end(le)+this.bufferPadding;if(W>=pe&&X<=Ee){E.time.push({startPTS:Math.max(I,m.start(le)),endPTS:Math.min(z,m.end(le))});break}else if(I<Ee&&z>pe){const Oe=Math.max(I,m.start(le)),Ue=Math.min(z,m.end(le));Ue>Oe&&(E.partial=!0,E.time.push({startPTS:Oe,endPTS:Ue}))}else if(z<=pe)break}return E}getPartialFragment(t){let n=null,s,m,E,I=0;const{bufferPadding:z,fragments:X}=this;return Object.keys(X).forEach(W=>{const le=X[W];le&&Ir(le)&&(m=le.body.start-z,E=le.body.end+z,t>=m&&t<=E&&(s=Math.min(t-m,E-t),I<=s&&(n=le.body,I=s)))}),n}isEndListAppended(t){const n=this.endListFragments[t];return n!==void 0&&(n.buffered||Ir(n))}getState(t){const n=jr(t),s=this.fragments[n];return s?s.buffered?Ir(s)?Er.PARTIAL:Er.OK:Er.APPENDING:Er.NOT_LOADED}isTimeBuffered(t,n,s){let m,E;for(let I=0;I<s.length;I++){if(m=s.start(I)-this.bufferPadding,E=s.end(I)+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=jr(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:I}=n;if(s.sn==="initSegment")return;const z=s.type;if(m){let W=this.activePartLists[z];W||(this.activePartLists[z]=W=[]),W.push(m)}this.timeRanges=E;const X=E[I];this.detectEvictedFragments(I,X,z,m)}onFragBuffered(t,n){this.detectPartialFragments(n)}hasFragment(t){const n=jr(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(I=>{const z=this.fragments[I];if(!z)return;const X=z.body;X.type!==s||m&&!X.gap||X.start<n&&X.end>t&&(z.buffered||E)&&this.removeFragment(X)})}removeFragment(t){const n=jr(t);t.clearElementaryStreamInfo();const s=this.activePartLists[t.type];if(s){const m=t.sn;this.activePartLists[t.type]=wn(s,E=>E.fragment.sn!==m)}delete this.fragments[n],t.endList&&delete this.endListFragments[t.type]}removeAllFragments(){var t;this.fragments=Object.create(null),this.endListFragments=Object.create(null),this.activePartLists=Object.create(null),this.hasGaps=!1;const n=(t=this.hls)==null||(t=t.latestLevelDetails)==null?void 0:t.partList;n&&n.forEach(s=>s.clearElementaryStreamInfo())}}function Ir(O){var t,n,s;return O.buffered&&!!(O.body.gap||(t=O.range.video)!=null&&t.partial||(n=O.range.audio)!=null&&n.partial||(s=O.range.audiovideo)!=null&&s.partial)}function jr(O){return`${O.type}_${O.level}_${O.sn}`}function wn(O,t){return O.filter(n=>{const s=t(n);return s||n.clearElementaryStreamInfo(),s})}var Sr={cbc:0,ctr:1};class pn{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 Sr.cbc:return this.subtle.decrypt({name:"AES-CBC",iv:this.aesIV},n,t);case Sr.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 on(O){const t=O.byteLength,n=t&&new DataView(O.buffer).getUint8(t-1);return n?O.slice(0,t-n):O}class dn{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],I=s[2],z=s[3],X=this.invSubMix,W=X[0],le=X[1],pe=X[2],Ee=X[3],Oe=new Uint32Array(256);let Ue=0,ut=0,lt=0;for(lt=0;lt<256;lt++)lt<128?Oe[lt]=lt<<1:Oe[lt]=lt<<1^283;for(lt=0;lt<256;lt++){let Nt=ut^ut<<1^ut<<2^ut<<3^ut<<4;Nt=Nt>>>8^Nt&255^99,t[Ue]=Nt,n[Nt]=Ue;const pr=Oe[Ue],sr=Oe[pr],Fr=Oe[sr];let Yr=Oe[Nt]*257^Nt*16843008;m[Ue]=Yr<<24|Yr>>>8,E[Ue]=Yr<<16|Yr>>>16,I[Ue]=Yr<<8|Yr>>>24,z[Ue]=Yr,Yr=Fr*16843009^sr*65537^pr*257^Ue*16843008,W[Nt]=Yr<<24|Yr>>>8,le[Nt]=Yr<<16|Yr>>>16,pe[Nt]=Yr<<8|Yr>>>24,Ee[Nt]=Yr,Ue?(Ue=pr^Oe[Oe[Oe[Fr^pr]]],ut^=Oe[Oe[ut]]):Ue=ut=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 I=this.ksRows=(E+6+1)*4;let z,X;const W=this.keySchedule=new Uint32Array(I),le=this.invKeySchedule=new Uint32Array(I),pe=this.sBox,Ee=this.rcon,Oe=this.invSubMix,Ue=Oe[0],ut=Oe[1],lt=Oe[2],Nt=Oe[3];let pr,sr;for(z=0;z<I;z++){if(z<E){pr=W[z]=n[z];continue}sr=pr,z%E===0?(sr=sr<<8|sr>>>24,sr=pe[sr>>>24]<<24|pe[sr>>>16&255]<<16|pe[sr>>>8&255]<<8|pe[sr&255],sr^=Ee[z/E|0]<<24):E>6&&z%E===4&&(sr=pe[sr>>>24]<<24|pe[sr>>>16&255]<<16|pe[sr>>>8&255]<<8|pe[sr&255]),W[z]=pr=(W[z-E]^sr)>>>0}for(X=0;X<I;X++)z=I-X,X&3?sr=W[z]:sr=W[z-4],X<4||z<=4?le[X]=sr:le[X]=Ue[pe[sr>>>24]]^ut[pe[sr>>>16&255]]^lt[pe[sr>>>8&255]]^Nt[pe[sr&255]],le[X]=le[X]>>>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,I=this.invSBox,z=this.invSubMix,X=z[0],W=z[1],le=z[2],pe=z[3],Ee=this.uint8ArrayToUint32Array_(s);let Oe=Ee[0],Ue=Ee[1],ut=Ee[2],lt=Ee[3];const Nt=new Int32Array(t),pr=new Int32Array(Nt.length);let sr,Fr,Yr,vn,Wr,an,fn,Gr,Sn,yi,Ji,da,Ei,Ii;const zi=this.networkToHostOrderSwap;for(;n<Nt.length;){for(Sn=zi(Nt[n]),yi=zi(Nt[n+1]),Ji=zi(Nt[n+2]),da=zi(Nt[n+3]),Wr=Sn^E[0],an=da^E[1],fn=Ji^E[2],Gr=yi^E[3],Ei=4,Ii=1;Ii<m;Ii++)sr=X[Wr>>>24]^W[an>>16&255]^le[fn>>8&255]^pe[Gr&255]^E[Ei],Fr=X[an>>>24]^W[fn>>16&255]^le[Gr>>8&255]^pe[Wr&255]^E[Ei+1],Yr=X[fn>>>24]^W[Gr>>16&255]^le[Wr>>8&255]^pe[an&255]^E[Ei+2],vn=X[Gr>>>24]^W[Wr>>16&255]^le[an>>8&255]^pe[fn&255]^E[Ei+3],Wr=sr,an=Fr,fn=Yr,Gr=vn,Ei=Ei+4;sr=I[Wr>>>24]<<24^I[an>>16&255]<<16^I[fn>>8&255]<<8^I[Gr&255]^E[Ei],Fr=I[an>>>24]<<24^I[fn>>16&255]<<16^I[Gr>>8&255]<<8^I[Wr&255]^E[Ei+1],Yr=I[fn>>>24]<<24^I[Gr>>16&255]<<16^I[Wr>>8&255]<<8^I[an&255]^E[Ei+2],vn=I[Gr>>>24]<<24^I[Wr>>16&255]<<16^I[an>>8&255]<<8^I[fn&255]^E[Ei+3],pr[n]=zi(sr^Oe),pr[n+1]=zi(vn^Ue),pr[n+2]=zi(Yr^ut),pr[n+3]=zi(Fr^lt),Oe=Sn,Ue=yi,ut=Ji,lt=da,n=n+4}return pr.buffer}}class In{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=Ia(this.aesMode);return this.subtle.importKey("raw",this.key,{name:t},!1,["encrypt","decrypt"])}}function Ia(O){switch(O){case Sr.cbc:return"AES-CBC";case Sr.ctr:return"AES-CTR";default:throw new Error(`[FastAESKey] invalid aes mode ${O}`)}}const Ni=16;class gi{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?on(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,I)=>{const z=ArrayBuffer.isView(t)?t:new Uint8Array(t);this.softwareDecrypt(z,n,s,m);const X=this.flush();X?E(X.buffer):I(new Error("[softwareDecrypt] Failed to decrypt data"))}):this.webCryptoDecrypt(new Uint8Array(t),n,s,m)}softwareDecrypt(t,n,s,m){const{currentIV:E,currentResult:I,remainderData:z}=this;if(m!==Sr.cbc||n.byteLength!==16)return H.warn("SoftwareDecrypt: can only handle AES-128-CBC"),null;this.logOnce("JS AES decrypt"),z&&(t=Ce(z,t),this.remainderData=null);const X=this.getValidChunk(t);if(!X.length)return null;E&&(s=E);let W=this.softwareDecrypter;W||(W=this.softwareDecrypter=new dn),W.expandKey(n);const le=I;return this.currentResult=W.decrypt(X.buffer,0,s),this.currentIV=X.slice(-16).buffer,le||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 In(this.subtle,n,m)}return this.fastAesKey.expandKey().then(E=>this.subtle?(this.logOnce("WebCrypto AES decrypt"),new pn(this.subtle,new Uint8Array(s),m).decrypt(t.buffer,E)):Promise.reject(new Error("web crypto not initialized"))).catch(E=>(H.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 I=this.flush();if(I)return I.buffer}throw new Error("WebCrypto"+(E?" and softwareDecrypt":"")+": failed to decrypt data")}getValidChunk(t){let n=t;const s=t.length-t.length%Ni;return s!==t.length&&(n=t.slice(0,s),this.remainderData=t.slice(s)),n}logOnce(t){this.logEnabled&&(H.log(`[decrypter]: ${t}`),this.logEnabled=!1)}}const En=Math.pow(2,17);class pi{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 wa({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,I=m.loader;return new Promise((z,X)=>{if(this.loader&&this.loader.destroy(),t.gap)if(t.tagList.some(Ue=>Ue[0]==="GAP")){X(Ea(t));return}else t.gap=!1;const W=this.loader=E?new E(m):new I(m),le=Qi(t);t.loader=W;const pe=Pr(m.fragLoadPolicy.default),Ee={loadPolicy:pe,timeout:pe.maxLoadTimeMs,maxRetry:0,retryDelay:0,maxRetryDelay:0,highWaterMark:t.sn==="initSegment"?1/0:En};t.stats=W.stats;const Oe={onSuccess:(Ue,ut,lt,Nt)=>{this.resetLoader(t,W);let pr=Ue.data;lt.resetIV&&t.decryptdata&&(t.decryptdata.iv=new Uint8Array(pr.slice(0,16)),pr=pr.slice(16)),z({frag:t,part:null,payload:pr,networkDetails:Nt})},onError:(Ue,ut,lt,Nt)=>{this.resetLoader(t,W),X(new wa({type:c.NETWORK_ERROR,details:f.FRAG_LOAD_ERROR,fatal:!1,frag:t,response:b({url:s,data:void 0},Ue),error:new Error(`HTTP Error ${Ue.code} ${Ue.text}`),networkDetails:lt,stats:Nt}))},onAbort:(Ue,ut,lt)=>{this.resetLoader(t,W),X(new wa({type:c.NETWORK_ERROR,details:f.INTERNAL_ABORTED,fatal:!1,frag:t,error:new Error("Aborted"),networkDetails:lt,stats:Ue}))},onTimeout:(Ue,ut,lt)=>{this.resetLoader(t,W),X(new wa({type:c.NETWORK_ERROR,details:f.FRAG_LOAD_TIMEOUT,fatal:!1,frag:t,error:new Error(`Timeout after ${Ee.timeout}ms`),networkDetails:lt,stats:Ue}))}};n&&(Oe.onProgress=(Ue,ut,lt,Nt)=>n({frag:t,part:null,payload:lt,networkDetails:Nt})),W.load(le,Ee,Oe)})}loadPart(t,n,s){this.abort();const m=this.config,E=m.fLoader,I=m.loader;return new Promise((z,X)=>{if(this.loader&&this.loader.destroy(),t.gap||n.gap){X(Ea(t,n));return}const W=this.loader=E?new E(m):new I(m),le=Qi(t,n);t.loader=W;const pe=Pr(m.fragLoadPolicy.default),Ee={loadPolicy:pe,timeout:pe.maxLoadTimeMs,maxRetry:0,retryDelay:0,maxRetryDelay:0,highWaterMark:En};n.stats=W.stats,W.load(le,Ee,{onSuccess:(Oe,Ue,ut,lt)=>{this.resetLoader(t,W),this.updateStatsFromPart(t,n);const Nt={frag:t,part:n,payload:Oe.data,networkDetails:lt};s(Nt),z(Nt)},onError:(Oe,Ue,ut,lt)=>{this.resetLoader(t,W),X(new wa({type:c.NETWORK_ERROR,details:f.FRAG_LOAD_ERROR,fatal:!1,frag:t,part:n,response:b({url:le.url,data:void 0},Oe),error:new Error(`HTTP Error ${Oe.code} ${Oe.text}`),networkDetails:ut,stats:lt}))},onAbort:(Oe,Ue,ut)=>{t.stats.aborted=n.stats.aborted,this.resetLoader(t,W),X(new wa({type:c.NETWORK_ERROR,details:f.INTERNAL_ABORTED,fatal:!1,frag:t,part:n,error:new Error("Aborted"),networkDetails:ut,stats:Oe}))},onTimeout:(Oe,Ue,ut)=>{this.resetLoader(t,W),X(new wa({type:c.NETWORK_ERROR,details:f.FRAG_LOAD_TIMEOUT,fatal:!1,frag:t,part:n,error:new Error(`Timeout after ${Ee.timeout}ms`),networkDetails:ut,stats:Oe}))}})})}updateStatsFromPart(t,n){const s=t.stats,m=n.stats,E=m.total;if(s.loaded+=m.loaded,E){const X=Math.round(t.duration/n.duration),W=Math.min(Math.round(s.loaded/E),X),pe=(X-W)*Math.round(s.loaded/W);s.total=s.loaded+pe}else s.total=Math.max(s.loaded,s.total);const I=s.loading,z=m.loading;I.start?I.first+=z.first-z.start:(I.start=z.start,I.first=z.first),I.end=z.end}resetLoader(t,n){t.loader=null,this.loader===n&&(self.clearTimeout(this.partLoadTimeout),this.loader=null),n.destroy()}}function Qi(O,t=null){const n=t||O,s={frag:O,part:t,responseType:"arraybuffer",url:n.url,headers:{},rangeStart:0,rangeEnd:0},m=n.byteRangeStartOffset,E=n.byteRangeEndOffset;if(r(m)&&r(E)){var I;let z=m,X=E;if(O.sn==="initSegment"&&Vs((I=O.decryptdata)==null?void 0:I.method)){const W=E-m;W%16&&(X=E+(16-W%16)),m!==0&&(s.resetIV=!0,z=m-16)}s.rangeStart=z,s.rangeEnd=X}return s}function Ea(O,t){const n=new Error(`GAP ${O.gap?"tag":"attribute"} found`),s={type:c.MEDIA_ERROR,details:f.FRAG_GAP,fatal:!1,frag:O,error:n,networkDetails:null};return t&&(s.part=t),(t||O).stats.aborted=!0,new wa(s)}function Vs(O){return O==="AES-128"||O==="AES-256"}class wa extends Error{constructor(t){super(t.error.message),this.data=void 0,this.data=t}}class Fs 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 Ks{constructor(t,n,s,m=0,E=-1,I=!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=I}}function es(){return{start:0,executeStart:0,executeEnd:0,end:0}}const Hs={length:0,start:()=>0,end:()=>0};class Jn{static isBuffered(t,n){if(t){const s=Jn.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=Jn.getBuffered(t);return Jn.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=Jn.bufferedRanges(t);if(m.length)return Jn.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((le,pe)=>le.start-pe.start||pe.end-le.end);let m=-1,E=[];if(s)for(let le=0;le<t.length;le++){n>=t[le].start&&n<=t[le].end&&(m=le);const pe=E.length;if(pe){const Ee=E[pe-1].end;t[le].start-Ee<s?t[le].end>Ee&&(E[pe-1].end=t[le].end):E.push(t[le])}else E.push(t[le])}else E=t;let I=0,z,X=n,W=n;for(let le=0;le<E.length;le++){const pe=E[le].start,Ee=E[le].end;if(m===-1&&n>=pe&&n<=Ee&&(m=le),n+s>=pe&&n<Ee)X=pe,W=Ee,I=W-n;else if(n+s<pe){z=pe;break}}return{len:I,start:X||0,end:W||0,nextStart:z,buffered:t,bufferedIndex:m}}static getBuffered(t){try{return t.buffered||Hs}catch(n){return H.log("failed to get media.buffered",n),Hs}}}const ws=/\{\$([a-zA-Z0-9-_]+)\}/g;function fs(O){return ws.test(O)}function Ys(O,t){if(O.variableList!==null||O.hasVariableRefs){const n=O.variableList;return t.replace(ws,s=>{const m=s.substring(2,s.length-1),E=n==null?void 0:n[m];return E===void 0?(O.playlistParsingError||(O.playlistParsingError=new Error(`Missing preceding EXT-X-DEFINE tag for Variable Reference: "${m}"`)),s):E})}return t}function ea(O,t,n){let s=O.variableList;s||(O.variableList=s={});let m,E;if("QUERYPARAM"in t){m=t.QUERYPARAM;try{const I=new self.URL(n).searchParams;if(I.has(m))E=I.get(m);else throw new Error(`"${m}" does not match any query parameter in URI: "${n}"`)}catch(I){O.playlistParsingError||(O.playlistParsingError=new Error(`EXT-X-DEFINE QUERYPARAM: ${I.message}`))}}else m=t.NAME,E=t.VALUE;m in s?O.playlistParsingError||(O.playlistParsingError=new Error(`EXT-X-DEFINE duplicate Variable Name declarations: "${m}"`)):s[m]=E||""}function Bs(O,t,n){const s=t.IMPORT;if(n&&s in n){let m=O.variableList;m||(O.variableList=m={}),m[s]=n[s]}else O.playlistParsingError||(O.playlistParsingError=new Error(`EXT-X-DEFINE IMPORT attribute not found in Multivariant Playlist: "${s}"`))}const Vo=/^(\d+)x(\d+)$/,Ka=/(.+?)=(".*?"|.*?)(?:,|$)/g;class va{constructor(t,n){typeof t=="string"&&(t=va.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=Vo.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(Ka.lastIndex=0;(s=Ka.exec(t))!==null;){const I=s[1].trim();let z=s[2];const X=z.indexOf(E)===0&&z.lastIndexOf(E)===z.length-1;let W=!1;if(X)z=z.slice(1,-1);else switch(I){case"IV":case"SCTE35-CMD":case"SCTE35-IN":case"SCTE35-OUT":W=!0}if(n&&(X||W))z=Ys(n,z);else if(!W&&!X)switch(I){case"CLOSED-CAPTIONS":if(z==="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":H.warn(`${t}: attribute ${I} is missing quotes`)}m[I]=z}return m}}const is="com.apple.hls.interstitial";function mo(O){return O!=="ID"&&O!=="CLASS"&&O!=="CUE"&&O!=="START-DATE"&&O!=="DURATION"&&O!=="END-DATE"&&O!=="END-ON-NEXT"}function Nn(O){return O==="SCTE35-OUT"||O==="SCTE35-IN"||O==="SCTE35-CMD"}class ts{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 I in E)if(Object.prototype.hasOwnProperty.call(t,I)&&t[I]!==E[I]){H.warn(`DATERANGE tag attribute: "${I}" does not match for tags with ID: "${t.ID}"`),this._badValueForSameId=I;break}t=y(new va({}),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?(H.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===is}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 Ps=10;class Is{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||Ps}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 Yi(O){return O==="AES-128"||O==="AES-256"||O==="AES-256-CTR"}function Xa(O){switch(O){case"AES-128":case"AES-256":return Sr.cbc;case"AES-256-CTR":return Sr.ctr;default:throw new Error(`invalid full segment method ${O}`)}}function Ha(O){return Uint8Array.from(atob(O),t=>t.charCodeAt(0))}function Rs(O){return Uint8Array.from(unescape(encodeURIComponent(O)),t=>t.charCodeAt(0))}function vo(O){const t=Rs(O).subarray(0,16),n=new Uint8Array(16);return n.set(t,16-t.length),n}function zo(O){const t=function(s,m,E){const I=s[m];s[m]=s[E],s[E]=I};t(O,0,3),t(O,1,2),t(O,4,5),t(O,6,7)}function Ko(O){const t=O.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",I=m[1];E?(s.splice(-1,1),n=Ha(I)):n=vo(I)}}return n}const Yo=typeof self!="undefined"?self:void 0;var rs={CLEARKEY:"org.w3.clearkey",FAIRPLAY:"com.apple.fps",PLAYREADY:"com.microsoft.playready",WIDEVINE:"com.widevine.alpha"},vs={CLEARKEY:"org.w3.clearkey",FAIRPLAY:"com.apple.streamingkeydelivery",PLAYREADY:"com.microsoft.playready",WIDEVINE:"urn:uuid:edef8ba9-79d6-4ace-a3c8-27dcd51d21ed"};function Ao(O){switch(O){case vs.FAIRPLAY:return rs.FAIRPLAY;case vs.PLAYREADY:return rs.PLAYREADY;case vs.WIDEVINE:return rs.WIDEVINE;case vs.CLEARKEY:return rs.CLEARKEY}}function Zo(O){switch(O){case rs.FAIRPLAY:return vs.FAIRPLAY;case rs.PLAYREADY:return vs.PLAYREADY;case rs.WIDEVINE:return vs.WIDEVINE;case rs.CLEARKEY:return vs.CLEARKEY}}function Lo(O){const{drmSystems:t,widevineLicenseUrl:n}=O,s=t?[rs.FAIRPLAY,rs.WIDEVINE,rs.PLAYREADY,rs.CLEARKEY].filter(m=>!!t[m]):[];return!s[rs.WIDEVINE]&&n&&s.push(rs.WIDEVINE),s}const Xo=function(O){return Yo!=null&&(O=Yo.navigator)!=null&&O.requestMediaKeySystemAccess?self.navigator.requestMediaKeySystemAccess.bind(self.navigator):null}();function xi(O,t,n,s){let m;switch(O){case rs.FAIRPLAY:m=["cenc","sinf"];break;case rs.WIDEVINE:case rs.PLAYREADY:m=["cenc"];break;case rs.CLEARKEY:m=["cenc","keyids"];break;default:throw new Error(`Unknown key-system: ${O}`)}return _i(m,t,n,s)}function _i(O,t,n,s){return[{initDataTypes:O,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 as(O){var t;return O.sessionType==="persistent-license"||!!((t=O.sessionTypes)!=null&&t.some(n=>n==="persistent-license"))}function ds(O){const t=new Uint16Array(O.buffer,O.byteOffset,O.byteLength/2),n=String.fromCharCode.apply(null,Array.from(t)),s=n.substring(n.indexOf("<"),n.length),I=new DOMParser().parseFromString(s,"text/xml").getElementsByTagName("KID")[0];if(I){const z=I.childNodes[0]?I.childNodes[0].nodeValue:I.getAttribute("VALUE");if(z){const X=Ha(z).subarray(0,16);return zo(X),X}}return null}let ss={};class go{static clearKeyUriToKeyIdMap(){ss={}}constructor(t,n,s,m=[1],E=null,I){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&&!Yi(t),I!=null&&I.startsWith("0x")&&(this.keyId=new Uint8Array(V(I)))}matches(t){var n,s;return t.uri===this.uri&&t.method===this.method&&t.encrypted===this.encrypted&&t.keyFormat===this.keyFormat&&t.keyFormatVersions.join(",")===this.keyFormatVersions.join(",")&&((n=t.iv)==null?void 0:n.join(","))===((s=this.iv)==null?void 0:s.join(","))}isSupported(){if(this.method){if(Yi(this.method)||this.method==="NONE")return!0;if(this.keyFormat==="identity")return this.method==="SAMPLE-AES";switch(this.keyFormat){case vs.FAIRPLAY:case vs.WIDEVINE:case vs.PLAYREADY:case vs.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(Yi(this.method)&&this.uri&&!this.iv){typeof t!="number"&&(H.warn(`missing IV for initialization segment with method="${this.method}" - compliance issue`),t=0);const s=Ho(t);return new go(this.method,this.uri,"identity",this.keyFormatVersions,s)}if(this.pssh&&this.keyId)return this;const n=Ko(this.uri);if(n)switch(this.keyFormat){case vs.WIDEVINE:if(this.pssh=n,!this.keyId&&n.length>=22){const s=n.length-22;this.keyId=n.subarray(s,s+16)}break;case vs.PLAYREADY:{const s=new Uint8Array([154,4,240,121,152,64,66,134,171,146,230,91,224,136,95,149]);this.pssh=Me(s,null,n),this.keyId=ds(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=ss[this.uri];if(!s){const m=Object.keys(ss).length%Number.MAX_SAFE_INTEGER;s=new Uint8Array(16),new DataView(s.buffer,12,4).setUint32(0,m),ss[this.uri]=s}this.keyId=s}return this}}function Ho(O){const t=new Uint8Array(16);for(let n=12;n<16;n++)t[n]=O>>8*(15-n)&255;return t}const du=/#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,Ls=/#EXT-X-MEDIA:(.*)/g,tu=/^#EXT(?:INF|-X-TARGETDURATION):/m,hu=new RegExp([/#EXTINF:\s*(\d*(?:\.\d+)?)(?:,(.*)\s+)?/.source,/(?!#) *(\S[^\r\n]*)/.source,/#.*/.source].join("|"),"g"),Iu=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 Mo{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 U.buildAbsoluteURL(n,t,{alwaysNormalize:!0})}static isMediaPlaylist(t){return tu.test(t)}static parseMasterPlaylist(t,n){const s=fs(t),m={contentSteering:null,levels:[],playlistParsingError:null,sessionData:null,sessionKeys:null,startTimeOffset:null,variableList:null,hasVariableRefs:s},E=[];du.lastIndex=0;let I;for(;(I=du.exec(t))!=null;)if(I[1]){var z;const W=new va(I[1],m),le=Ys(m,I[2]),pe={attrs:W,bitrate:W.decimalInteger("BANDWIDTH")||W.decimalInteger("AVERAGE-BANDWIDTH"),name:W.NAME,url:Mo.resolve(le,n)},Ee=W.decimalResolution("RESOLUTION");Ee&&(pe.width=Ee.width,pe.height=Ee.height),Bu(W.CODECS,pe);const Oe=W["SUPPLEMENTAL-CODECS"];Oe&&(pe.supplemental={},Bu(Oe,pe.supplemental)),(z=pe.unknownCodecs)!=null&&z.length||E.push(pe),m.levels.push(pe)}else if(I[3]){const W=I[3],le=I[4];switch(W){case"SESSION-DATA":{const pe=new va(le,m),Ee=pe["DATA-ID"];Ee&&(m.sessionData===null&&(m.sessionData={}),m.sessionData[Ee]=pe);break}case"SESSION-KEY":{const pe=_o(le,n,m);pe.encrypted&&pe.isSupported()?(m.sessionKeys===null&&(m.sessionKeys=[]),m.sessionKeys.push(pe)):H.warn(`[Keys] Ignoring invalid EXT-X-SESSION-KEY tag: "${le}"`);break}case"DEFINE":{{const pe=new va(le,m);ea(m,pe,n)}break}case"CONTENT-STEERING":{const pe=new va(le,m);m.contentSteering={uri:Mo.resolve(pe["SERVER-URI"],n),pathwayId:pe["PATHWAY-ID"]||"."};break}case"START":{m.startTimeOffset=gu(le);break}}}const X=E.length>0&&E.length<m.levels.length;return m.levels=X?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={},I=s.levels,z={AUDIO:I.map(W=>({id:W.attrs.AUDIO,audioCodec:W.audioCodec})),SUBTITLES:I.map(W=>({id:W.attrs.SUBTITLES,textCodec:W.textCodec})),"CLOSED-CAPTIONS":[]};let X=0;for(Ls.lastIndex=0;(m=Ls.exec(t))!==null;){const W=new va(m[1],s),le=W.TYPE;if(le){const pe=z[le],Ee=E[le]||[];E[le]=Ee;const Oe=W.LANGUAGE,Ue=W["ASSOC-LANGUAGE"],ut=W.CHANNELS,lt=W.CHARACTERISTICS,Nt=W["INSTREAM-ID"],pr={attrs:W,bitrate:0,id:X++,groupId:W["GROUP-ID"]||"",name:W.NAME||Oe||"",type:le,default:W.bool("DEFAULT"),autoselect:W.bool("AUTOSELECT"),forced:W.bool("FORCED"),lang:Oe,url:W.URI?Mo.resolve(W.URI,n):""};if(Ue&&(pr.assocLang=Ue),ut&&(pr.channels=ut),lt&&(pr.characteristics=lt),Nt&&(pr.instreamId=Nt),pe!=null&&pe.length){const sr=Mo.findGroup(pe,pr.groupId)||pe[0];Oo(pr,sr,"audioCodec"),Oo(pr,sr,"textCodec")}Ee.push(pr)}}return E}static parseLevelPlaylist(t,n,s,m,E,I){var z;const X={url:n},W=new Is(n),le=W.fragments,pe=[];let Ee=null,Oe=0,Ue=0,ut=0,lt=0,Nt=0,pr=null,sr=new De(m,X),Fr,Yr,vn,Wr=-1,an=!1,fn=null,Gr;if(hu.lastIndex=0,W.m3u8=t,W.hasVariableRefs=fs(t),((z=hu.exec(t))==null?void 0:z[0])!=="#EXTM3U")return W.playlistParsingError=new Error("Missing format identifier #EXTM3U"),W;for(;(Fr=hu.exec(t))!==null;){an&&(an=!1,sr=new De(m,X),sr.playlistOffset=ut,sr.setStart(ut),sr.sn=Oe,sr.cc=lt,Nt&&(sr.bitrate=Nt),sr.level=s,Ee&&(sr.initSegment=Ee,Ee.rawProgramDateTime&&(sr.rawProgramDateTime=Ee.rawProgramDateTime,Ee.rawProgramDateTime=null),fn&&(sr.setByteRange(fn),fn=null)));const da=Fr[1];if(da){sr.duration=parseFloat(da);const Ei=(" "+Fr[2]).slice(1);sr.title=Ei||null,sr.tagList.push(Ei?["INF",da,Ei]:["INF",da])}else if(Fr[3]){if(r(sr.duration)){sr.playlistOffset=ut,sr.setStart(ut),vn&&ru(sr,vn,W),sr.sn=Oe,sr.level=s,sr.cc=lt,le.push(sr);const Ei=(" "+Fr[3]).slice(1);sr.relurl=Ys(W,Ei),Du(sr,pr,pe),pr=sr,ut+=sr.duration,Oe++,Ue=0,an=!0}}else{if(Fr=Fr[0].match(Iu),!Fr){H.warn("No matches on slow regex match for level playlist!");continue}for(Yr=1;Yr<Fr.length&&Fr[Yr]===void 0;Yr++);const Ei=(" "+Fr[Yr]).slice(1),Ii=(" "+Fr[Yr+1]).slice(1),zi=Fr[Yr+2]?(" "+Fr[Yr+2]).slice(1):null;switch(Ei){case"BYTERANGE":pr?sr.setByteRange(Ii,pr):sr.setByteRange(Ii);break;case"PROGRAM-DATE-TIME":sr.rawProgramDateTime=Ii,sr.tagList.push(["PROGRAM-DATE-TIME",Ii]),Wr===-1&&(Wr=le.length);break;case"PLAYLIST-TYPE":W.type&&Ds(W,Ei,Fr),W.type=Ii.toUpperCase();break;case"MEDIA-SEQUENCE":W.startSN!==0?Ds(W,Ei,Fr):le.length>0&&Wo(W,Ei,Fr),Oe=W.startSN=parseInt(Ii);break;case"SKIP":{W.skippedSegments&&Ds(W,Ei,Fr);const Zi=new va(Ii,W),ya=Zi.decimalInteger("SKIPPED-SEGMENTS");if(r(ya)){W.skippedSegments+=ya;for(let mi=ya;mi--;)le.push(null);Oe+=ya}const Za=Zi.enumeratedString("RECENTLY-REMOVED-DATERANGES");Za&&(W.recentlyRemovedDateranges=(W.recentlyRemovedDateranges||[]).concat(Za.split(" ")));break}case"TARGETDURATION":W.targetduration!==0&&Ds(W,Ei,Fr),W.targetduration=Math.max(parseInt(Ii),1);break;case"VERSION":W.version!==null&&Ds(W,Ei,Fr),W.version=parseInt(Ii);break;case"INDEPENDENT-SEGMENTS":break;case"ENDLIST":W.live||Ds(W,Ei,Fr),W.live=!1;break;case"#":(Ii||zi)&&sr.tagList.push(zi?[Ii,zi]:[Ii]);break;case"DISCONTINUITY":lt++,sr.tagList.push(["DIS"]);break;case"GAP":sr.gap=!0,sr.tagList.push([Ei]);break;case"BITRATE":sr.tagList.push([Ei,Ii]),Nt=parseInt(Ii)*1e3,r(Nt)?sr.bitrate=Nt:Nt=0;break;case"DATERANGE":{const Zi=new va(Ii,W),ya=new ts(Zi,W.dateRanges[Zi.ID],W.dateRangeTagCount);W.dateRangeTagCount++,ya.isValid||W.skippedSegments?W.dateRanges[ya.id]=ya:H.warn(`Ignoring invalid DATERANGE tag: "${Ii}"`),sr.tagList.push(["EXT-X-DATERANGE",Ii]);break}case"DEFINE":{{const Zi=new va(Ii,W);"IMPORT"in Zi?Bs(W,Zi,I):ea(W,Zi,n)}break}case"DISCONTINUITY-SEQUENCE":W.startCC!==0?Ds(W,Ei,Fr):le.length>0&&Wo(W,Ei,Fr),W.startCC=lt=parseInt(Ii);break;case"KEY":{const Zi=_o(Ii,n,W);if(Zi.isSupported()){if(Zi.method==="NONE"){vn=void 0;break}vn||(vn={});const ya=vn[Zi.keyFormat];ya!=null&&ya.matches(Zi)||(ya&&(vn=y({},vn)),vn[Zi.keyFormat]=Zi)}else H.warn(`[Keys] Ignoring invalid EXT-X-KEY tag: "${Ii}"`);break}case"START":W.startTimeOffset=gu(Ii);break;case"MAP":{const Zi=new va(Ii,W);if(sr.duration){const ya=new De(m,X);Qo(ya,Zi,s,vn),Ee=ya,sr.initSegment=Ee,Ee.rawProgramDateTime&&!sr.rawProgramDateTime&&(sr.rawProgramDateTime=Ee.rawProgramDateTime)}else{const ya=sr.byteRangeEndOffset;if(ya){const Za=sr.byteRangeStartOffset;fn=`${ya-Za}@${Za}`}else fn=null;Qo(sr,Zi,s,vn),Ee=sr,an=!0}Ee.cc=lt;break}case"SERVER-CONTROL":{Gr&&Ds(W,Ei,Fr),Gr=new va(Ii),W.canBlockReload=Gr.bool("CAN-BLOCK-RELOAD"),W.canSkipUntil=Gr.optionalFloat("CAN-SKIP-UNTIL",0),W.canSkipDateRanges=W.canSkipUntil>0&&Gr.bool("CAN-SKIP-DATERANGES"),W.partHoldBack=Gr.optionalFloat("PART-HOLD-BACK",0),W.holdBack=Gr.optionalFloat("HOLD-BACK",0);break}case"PART-INF":{W.partTarget&&Ds(W,Ei,Fr);const Zi=new va(Ii);W.partTarget=Zi.decimalFloatingPoint("PART-TARGET");break}case"PART":{let Zi=W.partList;Zi||(Zi=W.partList=[]);const ya=Ue>0?Zi[Zi.length-1]:void 0,Za=Ue++,mi=new va(Ii,W),vi=new He(mi,sr,X,Za,ya);Zi.push(vi),sr.duration+=vi.duration;break}case"PRELOAD-HINT":{const Zi=new va(Ii,W);W.preloadHint=Zi;break}case"RENDITION-REPORT":{const Zi=new va(Ii,W);W.renditionReports=W.renditionReports||[],W.renditionReports.push(Zi);break}default:H.warn(`line parsed but not handled: ${Fr}`);break}}}pr&&!pr.relurl?(le.pop(),ut-=pr.duration,W.partList&&(W.fragmentHint=pr)):W.partList&&(Du(sr,pr,pe),sr.cc=lt,W.fragmentHint=sr,vn&&ru(sr,vn,W)),W.targetduration||(W.playlistParsingError=new Error("#EXT-X-TARGETDURATION is required"));const Sn=le.length,yi=le[0],Ji=le[Sn-1];if(ut+=W.skippedSegments*W.targetduration,ut>0&&Sn&&Ji){W.averagetargetduration=ut/Sn;const da=Ji.sn;W.endSN=da!=="initSegment"?da:0,W.live||(Ji.endList=!0),Wr>0&&(Bo(le,Wr),yi&&pe.unshift(yi))}return W.fragmentHint&&(ut+=W.fragmentHint.duration),W.totalduration=ut,pe.length&&W.dateRangeTagCount&&yi&&Ju(pe,W),W.endCC=lt,W}}function Ju(O,t){const n=O.length;if(!n)return;const s=O[n-1],m=t.live?1/0:t.totalduration,E=Object.keys(t.dateRanges);for(let I=E.length;I--;){const z=t.dateRanges[E[I]],X=z.startDate.getTime();z.tagAnchor=s.ref;for(let W=n;W--;){const le=Fo(t,X,O,W,m);if(le!==-1){z.tagAnchor=t.fragments[le].ref;break}}}}function Fo(O,t,n,s,m){const E=n[s];if(E){const z=E.programDateTime;if(t>=z||s===0){var I;const X=(((I=n[s+1])==null?void 0:I.start)||m)-E.start;if(t<=z+X*1e3){const W=n[s].sn-O.startSN,le=O.fragments;if(le.length>n.length){const Ee=(n[s+1]||le[le.length-1]).sn-O.startSN;for(let Oe=Ee;Oe>W;Oe--){const Ue=le[Oe].programDateTime;if(t>=Ue&&t<Ue+le[Oe].duration*1e3)return Oe}}return W}}}return-1}function _o(O,t,n){var s,m;const E=new va(O,n),I=(s=E.METHOD)!=null?s:"",z=E.URI,X=E.hexadecimalInteger("IV"),W=E.KEYFORMATVERSIONS,le=(m=E.KEYFORMAT)!=null?m:"identity";z&&E.IV&&!X&&H.error(`Invalid IV: ${E.IV}`);const pe=z?Mo.resolve(z,t):"",Ee=(W||"1").split("/").map(Number).filter(Number.isFinite);return new go(I,pe,le,Ee,X,E.KEYID)}function gu(O){const n=new va(O).decimalFloatingPoint("TIME-OFFSET");return r(n)?n:null}function Bu(O,t){let n=(O||"").split(/[ ,]+/).filter(s=>s);["video","audio","text"].forEach(s=>{const m=n.filter(E=>Pt(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 Oo(O,t,n){const s=t[n];s&&(O[n]=s)}function Bo(O,t){let n=O[t];for(let s=t;s--;){const m=O[s];if(!m)return;m.programDateTime=n.programDateTime-m.duration*1e3,n=m}}function Du(O,t,n){O.rawProgramDateTime?n.push(O):t!=null&&t.programDateTime&&(O.programDateTime=t.endProgramDateTime)}function Qo(O,t,n,s){O.relurl=t.URI,t.BYTERANGE&&O.setByteRange(t.BYTERANGE),O.level=n,O.sn="initSegment",s&&(O.levelkeys=s),O.initSegment=null}function ru(O,t,n){O.levelkeys=t;const{encryptedFragments:s}=n;(!s.length||s[s.length-1].levelkeys!==t)&&Object.keys(t).some(m=>t[m].isCommonEncryption)&&s.push(O)}function Ds(O,t,n){O.playlistParsingError=new Error(`#EXT-X-${t} must not appear more than once (${n[0]})`)}function Wo(O,t,n){O.playlistParsingError=new Error(`#EXT-X-${t} must appear before the first Media Segment (${n[0]})`)}function Nu(O,t){const n=t.startPTS;if(r(n)){let s=0,m;t.sn>O.sn?(s=n-O.start,m=O):(s=O.start-n,m=t),m.duration!==s&&m.setDuration(s)}else t.sn>O.sn?O.cc===t.cc&&O.minEndPTS?t.setStart(O.start+(O.minEndPTS-O.start)):t.setStart(O.start+O.duration):t.setStart(Math.max(O.start-t.duration,0))}function qt(O,t,n,s,m,E){s-n<=0&&(H.warn("Fragment should have a positive duration",t),s=n+t.duration,E=m+t.duration);let z=n,X=s;const W=t.startPTS,le=t.endPTS;if(r(W)){const lt=Math.abs(W-n);r(t.deltaPTS)?t.deltaPTS=Math.max(lt,t.deltaPTS):t.deltaPTS=lt,z=Math.max(n,W),n=Math.min(n,W),m=Math.min(m,t.startDTS),X=Math.min(s,le),s=Math.max(s,le),E=Math.max(E,t.endDTS)}const pe=n-t.start;t.start!==0&&t.setStart(n),t.setDuration(s-t.start),t.startPTS=n,t.maxStartPTS=z,t.startDTS=m,t.endPTS=s,t.minEndPTS=X,t.endDTS=E;const Ee=t.sn;if(!O||Ee<O.startSN||Ee>O.endSN)return 0;let Oe;const Ue=Ee-O.startSN,ut=O.fragments;for(ut[Ue]=t,Oe=Ue;Oe>0;Oe--)Nu(ut[Oe],ut[Oe-1]);for(Oe=Ue;Oe<ut.length-1;Oe++)Nu(ut[Oe],ut[Oe+1]);return O.fragmentHint&&Nu(ut[ut.length-1],O.fragmentHint),O.PTSKnown=O.alignedSliding=!0,pe}function _r(O,t){if(O===t)return;let n=null;const s=O.fragments;for(let W=s.length-1;W>=0;W--){const le=s[W].initSegment;if(le){n=le;break}}O.fragmentHint&&delete O.fragmentHint.endPTS;let m;Tr(O,t,(W,le,pe,Ee)=>{if((!t.startCC||t.skippedSegments)&&le.cc!==W.cc){const Oe=W.cc-le.cc;for(let Ue=pe;Ue<Ee.length;Ue++)Ee[Ue].cc+=Oe;t.endCC=Ee[Ee.length-1].cc}r(W.startPTS)&&r(W.endPTS)&&(le.setStart(le.startPTS=W.startPTS),le.startDTS=W.startDTS,le.maxStartPTS=W.maxStartPTS,le.endPTS=W.endPTS,le.endDTS=W.endDTS,le.minEndPTS=W.minEndPTS,le.setDuration(W.endPTS-W.startPTS),le.duration&&(m=le),t.PTSKnown=t.alignedSliding=!0),W.hasStreams&&(le.elementaryStreams=W.elementaryStreams),le.loader=W.loader,W.hasStats&&(le.stats=W.stats),W.initSegment&&(le.initSegment=W.initSegment,n=W.initSegment)});const E=t.fragments,I=t.fragmentHint?E.concat(t.fragmentHint):E;if(n&&I.forEach(W=>{var le;W&&(!W.initSegment||W.initSegment.relurl===((le=n)==null?void 0:le.relurl))&&(W.initSegment=n)}),t.skippedSegments){if(t.deltaUpdateFailed=E.some(W=>!W),t.deltaUpdateFailed){H.warn("[level-helper] Previous playlist missing segments skipped in delta playlist");for(let W=t.skippedSegments;W--;)E.shift();t.startSN=E[0].sn}else{t.canSkipDateRanges&&(t.dateRanges=or(O.dateRanges,t));const W=O.fragments.filter(le=>le.rawProgramDateTime);if(O.hasProgramDateTime&&!t.hasProgramDateTime)for(let le=1;le<I.length;le++)I[le].programDateTime===null&&Du(I[le],I[le-1],W);Ju(W,t)}t.endCC=E[E.length-1].cc}if(!t.startCC){var z;const W=li(O,t.startSN-1);t.startCC=(z=W==null?void 0:W.cc)!=null?z:E[0].cc}mr(O.partList,t.partList,(W,le)=>{le.elementaryStreams=W.elementaryStreams,le.stats=W.stats}),m?qt(t,m,m.startPTS,m.endPTS,m.startDTS,m.endDTS):Zn(O,t),E.length&&(t.totalduration=t.edge-E[0].start),t.driftStartTime=O.driftStartTime,t.driftStart=O.driftStart;const X=t.advancedDateTime;if(t.advanced&&X){const W=t.edge;t.driftStart||(t.driftStartTime=X,t.driftStart=W),t.driftEndTime=X,t.driftEnd=W}else t.driftEndTime=O.driftEndTime,t.driftEnd=O.driftEnd,t.advancedDateTime=O.advancedDateTime;t.requestScheduled===-1&&(t.requestScheduled=O.requestScheduled)}function or(O,t){const{dateRanges:n,recentlyRemovedDateranges:s}=t,m=y({},O);s&&s.forEach(z=>{delete m[z]});const I=Object.keys(m).length;return I&&Object.keys(n).forEach(z=>{const X=m[z],W=new ts(n[z].attr,X);W.isValid?(m[z]=W,X||(W.tagOrder+=I)):H.warn(`Ignoring invalid Playlist Delta Update DATERANGE tag: "${Xn(n[z].attr)}"`)}),m}function mr(O,t,n){if(O&&t){let s=0;for(let m=0,E=O.length;m<=E;m++){const I=O[m],z=t[m+s];I&&z&&I.index===z.index&&I.fragment.sn===z.fragment.sn?n(I,z):s--}}}function Tr(O,t,n){const s=t.skippedSegments,m=Math.max(O.startSN,t.startSN)-t.startSN,E=(O.fragmentHint?1:0)+(s?t.endSN:Math.min(O.endSN,t.endSN))-t.startSN,I=t.startSN-O.startSN,z=t.fragmentHint?t.fragments.concat(t.fragmentHint):t.fragments,X=O.fragmentHint?O.fragments.concat(O.fragmentHint):O.fragments;for(let W=m;W<=E;W++){const le=X[I+W];let pe=z[W];if(s&&!pe&&le&&(pe=t.fragments[W]=le),le&&pe){if(n(le,pe,W,z),le.url&&le.url!==pe.url){t.playlistParsingError=gn(`media sequence mismatch ${pe.sn}:`,O,t,le,pe);return}else if(le.cc!==pe.cc){t.playlistParsingError=gn(`discontinuity sequence mismatch (${le.cc}!=${pe.cc})`,O,t,le,pe);return}}}}function gn(O,t,n,s,m){return new Error(`${O} ${m.url}
|
|
|
Playlist starting @${t.startSN}
|
|
|
${t.m3u8}
|
|
|
|
|
|
Playlist starting @${n.startSN}
|
|
|
${n.m3u8}`)}function Zn(O,t,n=!0){const s=t.startSN+t.skippedSegments-O.startSN,m=O.fragments,E=s>=0;let I=0;if(E&&s<m.length)I=m[s].start;else if(E&&t.startSN===O.endSN+1)I=O.fragmentEnd;else if(E&&n)I=O.fragmentStart+s*t.levelTargetDuration;else if(!t.skippedSegments&&t.fragmentStart===0)I=O.fragmentStart;else return;kn(t,I)}function kn(O,t){if(t){const n=O.fragments;for(let s=O.skippedSegments;s<n.length;s++)n[s].addStart(t);O.fragmentHint&&O.fragmentHint.addStart(t)}}function Hn(O,t=1/0){let n=1e3*O.targetduration;if(O.updated){const s=O.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 li(O,t,n){if(!O)return null;let s=O.fragments[t-O.startSN];return s||(s=O.fragmentHint,s&&s.sn===t)?s:t<O.startSN&&n&&n.sn===t?n:null}function oi(O,t,n){return O?hr(O.partList,t,n):null}function hr(O,t,n){if(O)for(let s=O.length;s--;){const m=O[s];if(m.index===n&&m.fragment.sn===t)return m}return null}function Br(O){O.forEach((t,n)=>{var s;(s=t.details)==null||s.fragments.forEach(m=>{m.level=n,m.initSegment&&(m.initSegment.level=n)})})}function Rr(O,t){for(let s=0,m=O.length;s<m;s++){var n;if(((n=O[s])==null?void 0:n.cc)===t)return O[s]}return null}function Cn(O,t){return!!(O&&t.startCC<O.endCC&&t.endCC>O.startCC)}function Tn(O,t){const n=O.start+t;O.startPTS=n,O.setStart(n),O.endPTS=n+O.duration}function ht(O,t){const n=t.fragments;for(let s=0,m=n.length;s<m;s++)Tn(n[s],O);t.fragmentHint&&Tn(t.fragmentHint,O),t.alignedSliding=!0}function $n(O,t){O&&(Wn(t,O),t.alignedSliding||Li(t,O),!t.alignedSliding&&!t.skippedSegments&&Zn(O,t,!1))}function Wn(O,t){if(!Cn(t,O))return;const n=Math.min(t.endCC,O.endCC),s=Rr(t.fragments,n),m=Rr(O.fragments,n);if(!s||!m)return;H.log(`Aligning playlist at start of dicontinuity sequence ${n}`);const E=s.start-m.start;ht(E,O)}function Li(O,t){if(!O.hasProgramDateTime||!t.hasProgramDateTime)return;const n=O.fragments,s=t.fragments;if(!n.length||!s.length)return;let m,E;const I=Math.min(t.endCC,O.endCC);t.startCC<I&&O.startCC<I&&(m=Rr(s,I),E=Rr(n,I)),(!m||!E)&&(m=s[Math.floor(s.length/2)],E=Rr(n,m.cc)||n[Math.floor(n.length/2)]);const z=m.programDateTime,X=E.programDateTime;if(!z||!X)return;const W=(X-z)/1e3-(E.start-m.start);ht(W,O)}const ta={toString:function(O){let t="";const n=O.length;for(let s=0;s<n;s++)t+=`[${O.start(s).toFixed(3)}-${O.end(s).toFixed(3)}]`;return t}},Jt={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 oa extends Fs{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=Jt.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:I,fragCurrent:z,media:X,mediaBuffer:W,state:le}=this,pe=X?X.currentTime:0,Ee=Jn.bufferInfo(W||X,pe,I.maxBufferHole),Oe=!Ee.len;if(this.log(`Media seeking to ${r(pe)?pe.toFixed(3):pe}, state: ${le}, ${Oe?"out of":"in"} buffer`),this.state===Jt.ENDED)this.resetLoadingState();else if(z){const Ue=I.maxFragLookUpTolerance,ut=z.start-Ue,lt=z.start+z.duration+Ue;if(Oe||lt<Ee.start||ut>Ee.end){const Nt=pe>lt;(pe<ut||Nt)&&(Nt&&z.loader&&(this.log(`Cancelling fragment load for seek (sn: ${z.sn})`),z.abortRequests(),this.resetLoadingState()),this.fragPrevious=null)}}if(X){this.fragmentTracker.removeFragmentsInRange(pe,1/0,this.playlistType,!0);const Ue=this.lastCurrentTime;if(pe>Ue&&(this.lastCurrentTime=pe),!this.loadingParts){const ut=Math.max(Ee.end,pe),lt=this.shouldLoadParts(this.getLevelDetails(),ut);lt&&(this.log(`LL-Part loading ON after seeking to ${pe.toFixed(2)} with buffer @${ut.toFixed(2)}`),this.loadingParts=lt)}}this.hls.hasEnoughToStart||(this.log(`Setting ${Oe?"startPosition":"nextLoadPosition"} to ${pe} for seek without enough to start`),this.nextLoadPosition=pe,Oe&&(this.startPosition=pe)),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 pi(t.config),this.keyLoader=s,this.fragmentTracker=n,this.config=t.config,this.decrypter=new gi(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===Jt.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=Jt.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=Jn.bufferedInfo(E,t.start,0));const I=t.nextStart;if(I&&I>m&&I<n.edge||this.media.currentTime<t.start)return!1;const X=n.partList;if(X!=null&&X.length){const le=X[X.length-1];return Jn.isBuffered(this.media,le.start+le.duration/2)}const W=n.fragments[n.fragments.length-1].type;return this.fragmentTracker.isEndListAppended(W)}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===Jt.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=Jt.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 I=E.frag;if(this.fragContextChanged(I)){this.warn(`${I.type} sn: ${I.sn}${E.part?" part: "+E.part.index:""} of ${this.fragInfo(I,!1,E.part)}) was dropped during download.`),this.fragmentTracker.removeFragment(I);return}I.stats.chunkCount++,this._handleFragmentLoadProgress(E)};this._doFragLoad(t,n,s,m).then(E=>{if(!E)return;const I=this.state,z=E.frag;if(this.fragContextChanged(z)){(I===Jt.FRAG_LOADING||!this.fragCurrent&&I===Jt.PARSING)&&(this.fragmentTracker.removeFragment(z),this.state=Jt.IDLE);return}"payload"in E&&(this.log(`Loaded ${z.type} sn: ${z.sn} of ${this.playlistLabel()} ${z.level}`),this.hls.trigger(o.FRAG_LOADED,E)),this._handleFragmentLoadComplete(E)}).catch(E=>{this.state===Jt.STOPPED||this.state===Jt.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)===Er.APPENDING){const E=t.type,I=this.getFwdBufferInfo(this.mediaBuffer,E),z=Math.max(t.duration,I?I.len:this.config.maxBufferLength),X=this.backtrackFragment;((X?t.sn-X.sn:0)===1||this.reduceMaxBufferLength(z,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)===Er.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:I}=s,z=E.decryptdata;if(I&&I.byteLength>0&&z!=null&&z.key&&z.iv&&Yi(z.method)){const X=self.performance.now();return this.decrypter.decrypt(new Uint8Array(I),z.key.buffer,z.iv.buffer,Xa(z.method)).catch(W=>{throw m.trigger(o.ERROR,{type:c.MEDIA_ERROR,details:f.FRAG_DECRYPT_ERROR,fatal:!1,error:W,reason:W.message,frag:E}),W}).then(W=>{const le=self.performance.now();return m.trigger(o.FRAG_DECRYPTED,{frag:E,payload:W,stats:{tstart:X,tdecrypt:le}}),s.payload=W,this.completeInitSegmentLoad(s)})}return this.completeInitSegmentLoad(s)}).catch(s=>{this.state===Jt.STOPPED||this.state===Jt.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!==Jt.STOPPED&&(this.state=Jt.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?ta.toString(Jn.getBuffered(s)):"(detached)"})`),Pe(t)){var m;if(t.type!==u.SUBTITLE){const I=t.elementaryStreams;if(!Object.keys(I).some(z=>!!I[z])){this.state=Jt.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=Jt.IDLE}_handleFragmentLoadComplete(t){const{transmuxer:n}=this;if(!n)return;const{frag:s,part:m,partsLoaded:E}=t,I=!E||E.length===0||E.some(X=>!X),z=new Ks(s.level,s.sn,s.stats.chunkCount+1,0,m?m.index:-1,!I);n.flush(z)}_handleFragmentLoadProgress(t){}_doFragLoad(t,n,s=null,m){var E;this.fragCurrent=t;const I=n==null?void 0:n.details;if(!this.levels||!I)throw new Error(`frag load aborted, missing level${I?"":" detail"}s`);let z=null;t.encrypted&&!((E=t.decryptdata)!=null&&E.key)?(this.log(`Loading key for ${t.sn} of [${I.startSN}-${I.endSN}], ${this.playlistLabel()} ${t.level}`),this.state=Jt.KEY_LOADING,this.fragCurrent=t,z=this.keyLoader.load(t).then(Ee=>{if(!this.fragContextChanged(Ee.frag))return this.hls.trigger(o.KEY_LOADED,Ee),this.state===Jt.KEY_LOADING&&(this.state=Jt.IDLE),Ee}),this.hls.trigger(o.KEY_LOADING,{frag:t}),this.fragCurrent===null&&(z=Promise.reject(new Error("frag load aborted, context changed in KEY_LOADING")))):t.encrypted||(z=this.keyLoader.loadClear(t,I.encryptedFragments,this.startFragRequested),z&&this.log("[eme] blocking frag load until media-keys acquired"));const X=this.fragPrevious;if(Pe(t)&&(!X||t.sn!==X.sn)){const Ee=this.shouldLoadParts(n.details,t.end);Ee!==this.loadingParts&&(this.log(`LL-Part loading ${Ee?"ON":"OFF"} loading sn ${X==null?void 0:X.sn}->${t.sn}`),this.loadingParts=Ee)}if(s=Math.max(t.start,s||0),this.loadingParts&&Pe(t)){const Ee=I.partList;if(Ee&&m){s>t.end&&I.fragmentHint&&(t=I.fragmentHint);const Oe=this.getNextPart(Ee,t,s);if(Oe>-1){const Ue=Ee[Oe];t=this.fragCurrent=Ue.fragment,this.log(`Loading ${t.type} sn: ${t.sn} part: ${Ue.index} (${Oe}/${Ee.length-1}) of ${this.fragInfo(t,!1,Ue)}) cc: ${t.cc} [${I.startSN}-${I.endSN}], target: ${parseFloat(s.toFixed(3))}`),this.nextLoadPosition=Ue.start+Ue.duration,this.state=Jt.FRAG_LOADING;let ut;return z?ut=z.then(lt=>!lt||this.fragContextChanged(lt.frag)?null:this.doFragPartsLoad(t,Ue,n,m)).catch(lt=>this.handleFragLoadError(lt)):ut=this.doFragPartsLoad(t,Ue,n,m).catch(lt=>this.handleFragLoadError(lt)),this.hls.trigger(o.FRAG_LOADING,{frag:t,part:Ue,targetBufferTime:s}),this.fragCurrent===null?Promise.reject(new Error("frag load aborted, context changed in FRAG_LOADING parts")):ut}else if(!t.url||this.loadedEndOfParts(Ee,s))return Promise.resolve(null)}}if(Pe(t)&&this.loadingParts){var W;this.log(`LL-Part loading OFF after next part miss @${s.toFixed(2)} Check buffer at sn: ${t.sn} loaded parts: ${(W=I.partList)==null?void 0:W.filter(Ee=>Ee.loaded).map(Ee=>`[${Ee.start}-${Ee.end}]`)}`),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} ${I?"["+I.startSN+"-"+I.endSN+"]":""}, target: ${parseFloat(s.toFixed(3))}`),r(t.sn)&&!this.bitrateTest&&(this.nextLoadPosition=t.start+t.duration),this.state=Jt.FRAG_LOADING;const le=this.config.progressive;let pe;return le&&z?pe=z.then(Ee=>!Ee||this.fragContextChanged(Ee==null?void 0:Ee.frag)?null:this.fragmentLoader.load(t,m)).catch(Ee=>this.handleFragLoadError(Ee)):pe=Promise.all([this.fragmentLoader.load(t,le?m:void 0),z]).then(([Ee])=>(!le&&Ee&&m&&m(Ee),Ee)).catch(Ee=>this.handleFragLoadError(Ee)),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")):pe}doFragPartsLoad(t,n,s,m){return new Promise((E,I)=>{var z;const X=[],W=(z=s.details)==null?void 0:z.partList,le=pe=>{this.fragmentLoader.loadPart(t,pe,m).then(Ee=>{X[pe.index]=Ee;const Oe=Ee.part;this.hls.trigger(o.FRAG_LOADED,Ee);const Ue=oi(s.details,t.sn,pe.index+1)||hr(W,t.sn,pe.index+1);if(Ue)le(Ue);else return E({frag:t,part:Oe,partsLoaded:X})}).catch(I)};le(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!==Jt.PARSING){!this.fragCurrent&&this.state!==Jt.STOPPED&&this.state!==Jt.ERROR&&(this.state=Jt.IDLE);return}const{frag:s,part:m,level:E}=n,I=self.performance.now();s.stats.parsing.end=I,m&&(m.stats.parsing.end=I);const z=this.getLevelDetails(),W=z&&s.sn>z.endSN||this.shouldLoadParts(z,s.end);W!==this.loadingParts&&(this.log(`LL-Part loading ${W?"ON":"OFF"} after parsing segment ending @${s.end.toFixed(2)}`),this.loadingParts=W),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],I=E.end+(((s=t.fragmentHint)==null?void 0:s.duration)||0);if(n>=I){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:I}=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 z=n[m],X=z.details,W=I>-1?oi(X,E,I):null,le=W?W.fragment:li(X,E,s);return le?(s&&s!==le&&(le.stats=s.stats),{frag:le,part:W,level:z}):null}bufferFragmentData(t,n,s,m,E){var I;if(!t||this.state!==Jt.PARSING)return;const{data1:z,data2:X}=t;let W=z;if(z&&X&&(W=Ce(z,X)),!((I=W)!=null&&I.length))return;const le=this.initPTS[n.cc],pe=le?-le.baseTime/le.timescale:void 0,Ee={type:t.type,frag:n,part:s,chunkMeta:m,offset:pe,parent:n.type,data:W};if(this.hls.trigger(o.BUFFER_APPENDING,Ee),t.dropped&&t.independent&&!s){if(E)return;this.flushBufferGap(n)}}flushBufferGap(t){const n=this.media;if(!n)return;if(!Jn.isBuffered(n,n.currentTime)){this.flushMainBuffer(0,t.start);return}const s=n.currentTime,m=Jn.bufferInfo(n,s,0),E=t.duration,I=Math.min(this.config.maxFragLookUpTolerance*2,E*.25),z=Math.max(Math.min(t.start-I,m.end-I),s+I);t.start-z>I&&this.flushMainBuffer(z,t.start)}getFwdBufferInfo(t,n){var s;const m=this.getLoadPosition();if(!r(m))return null;const I=this.lastCurrentTime>m||(s=this.media)!=null&&s.paused?0:this.config.maxBufferHole;return this.getFwdBufferInfoAtPos(t,m,n,I)}getFwdBufferInfoAtPos(t,n,s,m){const E=Jn.bufferInfo(t,n,m);if(E.len===0&&E.nextStart!==void 0){const I=this.fragmentTracker.getBufferedFrag(n,s);if(I&&(E.nextStart<=I.end||I.gap)){const z=Math.max(Math.min(E.nextStart,I.end)-n,m);return Jn.bufferInfo(t,n,z)}}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,I=s[0].start,z=E.lowLatencyMode&&!!n.partList;let X=null;if(n.live){const pe=E.initialLiveManifestSize;if(m<pe)return this.warn(`Not enough fragments to start playback (have: ${m}, need: ${pe})`),null;if(!n.PTSKnown&&!this.startFragRequested&&this.startPosition===-1||t<I){var W;z&&!this.loadingParts&&(this.log("LL-Part loading ON for initial live fragment"),this.loadingParts=!0),X=this.getInitialLiveFragment(n);const Ee=this.hls.startPosition,Oe=this.hls.liveSyncPosition,Ue=X?(Ee!==-1&&Ee>=I?Ee:Oe)||X.start:t;this.log(`Setting startPosition to ${Ue} to match start frag at live edge. mainStart: ${Ee} liveSyncPosition: ${Oe} frag.start: ${(W=X)==null?void 0:W.start}`),this.startPosition=this.nextLoadPosition=Ue}}else t<=I&&(X=s[0]);if(!X){const pe=this.loadingParts?n.partEnd:n.fragmentEnd;X=this.getFragmentAtPosition(t,pe,n)}let le=this.filterReplacedPrimary(X,n);if(!le&&X){const pe=X.sn-n.startSN;le=this.filterReplacedPrimary(s[pe+1]||null,n)}return this.mapToInitFragWhenRequired(le)}isLoopLoading(t,n){const s=this.fragmentTracker.getState(t);return(s===Er.OK||s===Er.PARTIAL&&!!t.gap)&&this.nextLoadPosition>n}getNextFragmentLoopLoading(t,n,s,m,E){let I=null;if(t.gap&&(I=this.getNextFragment(this.nextLoadPosition,n),I&&!I.gap&&s.nextStart)){const z=this.getFwdBufferInfoAtPos(this.mediaBuffer?this.mediaBuffer:this.media,s.nextStart,m,0);if(z!==null&&s.len+z.len>=E){const X=I.sn;return this.loopSn!==X&&(this.log(`buffer full after gaps in "${m}" playlist starting at sn: ${X}`),this.loopSn=X),null}}return this.loopSn=void 0,I}get primaryPrefetch(){if(qi(this.config)){var t;if((t=this.hls.interstitialsManager)==null||(t=t.playingItem)==null?void 0:t.event)return!0}return!1}filterReplacedPrimary(t,n){if(!t)return t;if(qi(this.config)&&t.type!==u.SUBTITLE){const s=this.hls.interstitialsManager,m=s==null?void 0:s.bufferingItem;if(m){const I=m.event;if(I){if(I.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 I=E.length;I--;){const z=E[I].interstitial;if(z.appendInPlace&&t.start>=z.startTime&&t.end<=z.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,I=!0;for(let z=0,X=t.length;z<X;z++){const W=t[z];if(I=I&&!W.independent,m>-1&&s<W.start)break;const le=W.loaded;le?m=-1:(E||(W.independent||I)&&W.fragment===n)&&(W.fragment!==n&&this.warn(`Need buffer at ${s} but next unloaded part starts at ${W.start}`),m=z),E=le}return m}loadedEndOfParts(t,n){let s;for(let m=t.length;m--;){if(s=t[m],!s.loaded)return!1;if(n>s.start)return!0}return!1}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=ci(n,s.endProgramDateTime,this.config.maxFragLookUpTolerance)),!m){const E=s.sn+1;if(E>=t.startSN&&E<=t.endSN){const I=n[E-t.startSN];s.cc===I.cc&&(m=I,this.log(`Live playlist, switching playlist, load frag with next SN: ${m.sn}`))}m||(m=Ot(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:I,endSN:z}=s;const{fragmentHint:X}=s,{maxFragLookUpTolerance:W}=m,le=s.partList,pe=!!(this.loadingParts&&le!=null&&le.length&&X);pe&&X&&!this.bitrateTest&&le[le.length-1].fragment.sn===X.sn&&(I=I.concat(X),z=X.sn);let Ee;if(t<n){var Oe;const ut=t<this.lastCurrentTime||t>n-W||(Oe=this.media)!=null&&Oe.paused||!this.startFragRequested?0:W;Ee=An(E,I,t,ut)}else Ee=I[I.length-1];if(Ee){const Ue=Ee.sn-s.startSN,ut=this.fragmentTracker.getState(Ee);if((ut===Er.OK||ut===Er.PARTIAL&&Ee.gap)&&(E=Ee),E&&Ee.sn===E.sn&&(!pe||le[0].fragment.sn>Ee.sn||!s.live&&!pe)&&E&&Ee.level===E.level){const Nt=I[Ue+1];Ee.sn<z&&this.fragmentTracker.getState(Nt)!==Er.OK?Ee=Nt:Ee=null}}return Ee}alignPlaylists(t,n,s){const m=t.fragments.length;if(!m)return this.warn("No fragments in live playlist"),0;const E=t.fragmentStart,I=!n,z=t.alignedSliding&&r(E);if(I||!z&&!E){$n(s,t);const X=t.fragmentStart;return this.log(`Live playlist sliding: ${X.toFixed(2)} start-sn: ${n?n.startSN:"na"}->${t.startSN} fragments: ${m}`),X}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,I=E?this.startTimeOffset:t.startTimeOffset;I!==null&&r(I)?(s=n+I,I<0&&(s+=t.edge),s=Math.min(Math.max(n,s),n+t.totalduration),this.log(`Setting startPosition to ${s} for start time offset ${I} 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&&Pe(t)&&t.stats.aborted&&(this.log(`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!==Jt.FRAG_LOADING_WAITING_RETRY)&&(this.state=Jt.IDLE)}onFragmentOrKeyLoadError(t,n){if(n.chunkMeta&&!n.frag){const Ue=this.getCurrentContext(n.chunkMeta);Ue&&(n.frag=Ue.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 I=n.errorAction,{action:z,flags:X,retryCount:W=0,retryConfig:le}=I||{},pe=!!I&&!!le,Ee=pe&&z===qe.RetryRequest,Oe=pe&&!I.resolved&&X===xe.MoveAllAlternatesMatchingHost;if(!Ee&&Oe&&Pe(s)&&!s.endList)this.resetFragmentErrors(t),this.treatAsGap(s),I.resolved=!0;else if((Ee||Oe)&&W<le.maxNumRetry){this.resetStartWhenNotLoaded(this.levelLastLoaded);const Ue=dr(le,W);this.warn(`Fragment ${s.sn} of ${t} ${s.level} errored with ${n.details}, retrying loading ${W+1}/${le.maxNumRetry} in ${Ue}ms`),I.resolved=!0,this.retryDate=self.performance.now()+Ue,this.state=Jt.FRAG_LOADING_WAITING_RETRY}else if(le&&I)if(this.resetFragmentErrors(t),W<le.maxNumRetry)!E&&z!==qe.RemoveAlternatePermanently&&(I.resolved=!0);else{this.warn(`${n.details} reached or exceeded max retry (${W})`);return}else z===qe.SendAlternateToPenaltyBox?this.state=Jt.WAITING_LEVEL:this.state=Jt.ERROR;this.tickImmediate()}reduceLengthAndFlushBuffer(t){if(this.state===Jt.PARSING||this.state===Jt.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 I=!E;return I&&this.warn(`Buffer full error while media.currentTime (${this.getLoadPosition()}) is not buffered, flush ${s} buffer`),n&&(this.fragmentTracker.removeFragment(n),this.nextLoadPosition=n.start),this.resetLoadingState(),I}return!1}resetFragmentErrors(t){t===u.AUDIO&&(this.fragCurrent=null),this.hls.hasEnoughToStart||(this.startFragRequested=!1),this.state!==Jt.STOPPED&&(this.state=Jt.IDLE)}afterBufferFlushed(t,n,s){if(!t)return;const m=Jn.getBuffered(t);this.fragmentTracker.detectEvictedFragments(n,m,s),this.state===Jt.ENDED&&this.resetLoadingState()}resetLoadingState(){this.log("Reset loading state"),this.fragCurrent=null,this.fragPrevious=null,this.state!==Jt.STOPPED&&(this.state=Jt.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((X,W)=>{const le=t.elementaryStreams[W];if(le){const pe=le.endPTS-le.startPTS;if(pe<=0)return this.warn(`Could not parse fragment ${t.sn} ${W} duration reliably (${pe})`),X||!1;const Ee=m?0:qt(E,t,le.startPTS,le.endPTS,le.startDTS,le.endDTS);return this.hls.trigger(o.LEVEL_PTS_UPDATED,{details:E,level:s,drift:Ee,type:W,frag:t,start:le.startPTS,end:le.endPTS}),!0}return X},!1)){var z;if(s.fragmentError===0&&this.treatAsGap(t,s),((z=this.transmuxer)==null?void 0:z.error)===null){const X=new Error(`Found no media in fragment ${t.sn} of ${this.playlistLabel()} ${t.level} resetting transmuxer to fallback to playlist timing`);if(this.warn(X.message),this.hls.trigger(o.ERROR,{type:c.MEDIA_ERROR,details:f.FRAG_PARSING_ERROR,fatal:!1,error:X,frag:t,reason:`Found no media in msn ${t.sn} of ${this.playlistLabel()} "${s.url}"`}),!this.hls)return;this.resetTransmuxer()}}this.state=Jt.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 qi(O){return!!O.interstitialsController&&O.enableInterstitialPlayback!==!1}class Ta{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=gs(t,n);else return new Uint8Array(0);return this.reset(),s}reset(){this.chunks.length=0,this.dataLength=0}}function gs(O,t){const n=new Uint8Array(t);let s=0;for(let m=0;m<O.length;m++){const E=O[m];n.set(E,s),s+=E.length}return n}var Ns={exports:{}},$i;function Co(){return $i||($i=1,function(O){var t=Object.prototype.hasOwnProperty,n="~";function s(){}Object.create&&(s.prototype=Object.create(null),new s().__proto__||(n=!1));function m(X,W,le){this.fn=X,this.context=W,this.once=le||!1}function E(X,W,le,pe,Ee){if(typeof le!="function")throw new TypeError("The listener must be a function");var Oe=new m(le,pe||X,Ee),Ue=n?n+W:W;return X._events[Ue]?X._events[Ue].fn?X._events[Ue]=[X._events[Ue],Oe]:X._events[Ue].push(Oe):(X._events[Ue]=Oe,X._eventsCount++),X}function I(X,W){--X._eventsCount===0?X._events=new s:delete X._events[W]}function z(){this._events=new s,this._eventsCount=0}z.prototype.eventNames=function(){var W=[],le,pe;if(this._eventsCount===0)return W;for(pe in le=this._events)t.call(le,pe)&&W.push(n?pe.slice(1):pe);return Object.getOwnPropertySymbols?W.concat(Object.getOwnPropertySymbols(le)):W},z.prototype.listeners=function(W){var le=n?n+W:W,pe=this._events[le];if(!pe)return[];if(pe.fn)return[pe.fn];for(var Ee=0,Oe=pe.length,Ue=new Array(Oe);Ee<Oe;Ee++)Ue[Ee]=pe[Ee].fn;return Ue},z.prototype.listenerCount=function(W){var le=n?n+W:W,pe=this._events[le];return pe?pe.fn?1:pe.length:0},z.prototype.emit=function(W,le,pe,Ee,Oe,Ue){var ut=n?n+W:W;if(!this._events[ut])return!1;var lt=this._events[ut],Nt=arguments.length,pr,sr;if(lt.fn){switch(lt.once&&this.removeListener(W,lt.fn,void 0,!0),Nt){case 1:return lt.fn.call(lt.context),!0;case 2:return lt.fn.call(lt.context,le),!0;case 3:return lt.fn.call(lt.context,le,pe),!0;case 4:return lt.fn.call(lt.context,le,pe,Ee),!0;case 5:return lt.fn.call(lt.context,le,pe,Ee,Oe),!0;case 6:return lt.fn.call(lt.context,le,pe,Ee,Oe,Ue),!0}for(sr=1,pr=new Array(Nt-1);sr<Nt;sr++)pr[sr-1]=arguments[sr];lt.fn.apply(lt.context,pr)}else{var Fr=lt.length,Yr;for(sr=0;sr<Fr;sr++)switch(lt[sr].once&&this.removeListener(W,lt[sr].fn,void 0,!0),Nt){case 1:lt[sr].fn.call(lt[sr].context);break;case 2:lt[sr].fn.call(lt[sr].context,le);break;case 3:lt[sr].fn.call(lt[sr].context,le,pe);break;case 4:lt[sr].fn.call(lt[sr].context,le,pe,Ee);break;default:if(!pr)for(Yr=1,pr=new Array(Nt-1);Yr<Nt;Yr++)pr[Yr-1]=arguments[Yr];lt[sr].fn.apply(lt[sr].context,pr)}}return!0},z.prototype.on=function(W,le,pe){return E(this,W,le,pe,!1)},z.prototype.once=function(W,le,pe){return E(this,W,le,pe,!0)},z.prototype.removeListener=function(W,le,pe,Ee){var Oe=n?n+W:W;if(!this._events[Oe])return this;if(!le)return I(this,Oe),this;var Ue=this._events[Oe];if(Ue.fn)Ue.fn===le&&(!Ee||Ue.once)&&(!pe||Ue.context===pe)&&I(this,Oe);else{for(var ut=0,lt=[],Nt=Ue.length;ut<Nt;ut++)(Ue[ut].fn!==le||Ee&&!Ue[ut].once||pe&&Ue[ut].context!==pe)&<.push(Ue[ut]);lt.length?this._events[Oe]=lt.length===1?lt[0]:lt:I(this,Oe)}return this},z.prototype.removeAllListeners=function(W){var le;return W?(le=n?n+W:W,this._events[le]&&I(this,le)):(this._events=new s,this._eventsCount=0),this},z.prototype.off=z.prototype.removeListener,z.prototype.addListener=z.prototype.on,z.prefixed=n,z.EventEmitter=z,O.exports=z}(Ns)),Ns.exports}var oo=Co(),Ms=se(oo);const Fa="1.6.8",Os={};function yo(){return typeof __HLS_WORKER_BUNDLE__=="function"}function zn(){const O=Os[Fa];if(O)return O.clientCount++,O;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 Os[Fa]=m,m}function Ws(O){const t=Os[O];if(t)return t.clientCount++,t;const n=new self.URL(O,self.location.href).href,m={worker:new self.Worker(n),scriptURL:n,clientCount:1};return Os[O]=m,m}function uo(O){const t=Os[O||Fa];if(t&&t.clientCount--===1){const{worker:s,objectURL:m}=t;delete Os[O||Fa],m&&self.URL.revokeObjectURL(m),s.terminate()}}function Xe(O,t){return t+10<=O.length&&O[t]===51&&O[t+1]===68&&O[t+2]===73&&O[t+3]<255&&O[t+4]<255&&O[t+6]<128&&O[t+7]<128&&O[t+8]<128&&O[t+9]<128}function Qe(O,t){return t+10<=O.length&&O[t]===73&&O[t+1]===68&&O[t+2]===51&&O[t+3]<255&&O[t+4]<255&&O[t+6]<128&&O[t+7]<128&&O[t+8]<128&&O[t+9]<128}function Mt(O,t){let n=0;return n=(O[t]&127)<<21,n|=(O[t+1]&127)<<14,n|=(O[t+2]&127)<<7,n|=O[t+3]&127,n}function Vt(O,t){const n=t;let s=0;for(;Qe(O,t);){s+=10;const m=Mt(O,t+6);s+=m,Xe(O,t+10)&&(s+=10),t+=s}if(s>0)return O.subarray(n,n+s)}function br(O,t,n,s){const m=[96e3,88200,64e3,48e3,44100,32e3,24e3,22050,16e3,12e3,11025,8e3,7350],E=t[n+2],I=E>>2&15;if(I>12){const Oe=new Error(`invalid ADTS sampling index:${I}`);O.emit(o.ERROR,o.ERROR,{type:c.MEDIA_ERROR,details:f.FRAG_PARSING_ERROR,fatal:!0,error:Oe,reason:Oe.message});return}const z=(E>>6&3)+1,X=t[n+3]>>6&3|(E&1)<<2,W="mp4a.40."+z,le=m[I];let pe=I;(z===5||z===29)&&(pe-=3);const Ee=[z<<3|(pe&14)>>1,(pe&1)<<7|X<<3];return H.log(`manifest codec:${s}, parsed codec:${W}, channels:${X}, rate:${le} (ADTS object type:${z} sampling index:${I})`),{config:Ee,samplerate:le,channelCount:X,codec:W,parsedCodec:W,manifestCodec:s}}function Mr(O,t){return O[t]===255&&(O[t+1]&246)===240}function Zr(O,t){return O[t+1]&1?7:9}function bn(O,t){return(O[t+3]&3)<<11|O[t+4]<<3|(O[t+5]&224)>>>5}function ln(O,t){return t+5<O.length}function xn(O,t){return t+1<O.length&&Mr(O,t)}function ai(O,t){return ln(O,t)&&Mr(O,t)&&bn(O,t)<=O.length-t}function ui(O,t){if(xn(O,t)){const n=Zr(O,t);if(t+n>=O.length)return!1;const s=bn(O,t);if(s<=n)return!1;const m=t+s;return m===O.length||xn(O,m)}return!1}function Pi(O,t,n,s,m){if(!O.samplerate){const E=br(t,n,s,m);if(!E)return;y(O,E)}}function Mi(O){return 9216e4/O}function ra(O,t){const n=Zr(O,t);if(t+n<=O.length){const s=bn(O,t)-n;if(s>0)return{headerLength:n,frameLength:s}}}function Xi(O,t,n,s,m){const E=Mi(O.samplerate),I=s+m*E,z=ra(t,n);let X;if(z){const{frameLength:pe,headerLength:Ee}=z,Oe=Ee+pe,Ue=Math.max(0,n+Oe-t.length);Ue?(X=new Uint8Array(Oe-Ee),X.set(t.subarray(n+Ee,t.length),0)):X=t.subarray(n+Ee,n+Oe);const ut={unit:X,pts:I};return Ue||O.samples.push(ut),{sample:ut,length:Oe,missing:Ue}}const W=t.length-n;return X=new Uint8Array(W),X.set(t.subarray(n,t.length),0),{sample:{unit:X,pts:I},length:W,missing:-1}}function ki(O,t){return Qe(O,t)&&Mt(O,t+6)+10<=O.length-t}function Da(O){return O instanceof ArrayBuffer?O:O.byteOffset==0&&O.byteLength==O.buffer.byteLength?O.buffer:new Uint8Array(O).buffer}function Ri(O,t=0,n=1/0){return Si(O,t,n,Uint8Array)}function Si(O,t,n,s){const m=Sa(O);let E=1;"BYTES_PER_ELEMENT"in s&&(E=s.BYTES_PER_ELEMENT);const I=bo(O)?O.byteOffset:0,z=(I+O.byteLength)/E,X=(I+t)/E,W=Math.floor(Math.max(0,Math.min(X,z))),le=Math.floor(Math.min(W+Math.max(n,0),z));return new s(m,W,le-W)}function Sa(O){return O instanceof ArrayBuffer?O:O.buffer}function bo(O){return O&&O.buffer instanceof ArrayBuffer&&O.byteLength!==void 0&&O.byteOffset!==void 0}function Gs(O){const t={key:O.type,description:"",data:"",mimeType:null,pictureType:null},n=3;if(O.size<2)return;if(O.data[0]!==n){console.log("Ignore frame with unrecognized character encoding");return}const s=O.data.subarray(1).indexOf(0);if(s===-1)return;const m=q(Ri(O.data,1,s)),E=O.data[2+s],I=O.data.subarray(3+s).indexOf(0);if(I===-1)return;const z=q(Ri(O.data,3+s,I));let X;return m==="-->"?X=q(Ri(O.data,4+s+I)):X=Da(O.data.subarray(4+s+I)),t.mimeType=m,t.pictureType=E,t.description=z,t.data=X,t}function na(O){if(O.size<2)return;const t=q(O.data,!0),n=new Uint8Array(O.data.subarray(t.length+1));return{key:O.type,info:t,data:n.buffer}}function Qa(O){if(O.size<2)return;if(O.type==="TXXX"){let n=1;const s=q(O.data.subarray(n),!0);n+=s.length+1;const m=q(O.data.subarray(n));return{key:O.type,info:s,data:m}}const t=q(O.data.subarray(1));return{key:O.type,info:"",data:t}}function pa(O){if(O.type==="WXXX"){if(O.size<2)return;let n=1;const s=q(O.data.subarray(n),!0);n+=s.length+1;const m=q(O.data.subarray(n));return{key:O.type,info:s,data:m}}const t=q(O.data);return{key:O.type,info:"",data:t}}function Hi(O){return O.type==="PRIV"?na(O):O.type[0]==="W"?pa(O):O.type==="APIC"?Gs(O):Qa(O)}function Ra(O){const t=String.fromCharCode(O[0],O[1],O[2],O[3]),n=Mt(O,4),s=10;return{type:t,size:n,data:O.subarray(s,s+n)}}const qa=10,hs=10;function xo(O){let t=0;const n=[];for(;Qe(O,t);){const s=Mt(O,t+6);O[t+5]>>6&1&&(t+=qa),t+=qa;const m=t+s;for(;t+hs<m;){const E=Ra(O.subarray(t)),I=Hi(E);I&&n.push(I),t+=E.size+qa}Xe(O,t)&&(t+=qa)}return n}function ps(O){return O&&O.key==="PRIV"&&O.info==="com.apple.streaming.transportStreamTimestamp"}function ko(O){if(O.data.byteLength===8){const t=new Uint8Array(O.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 os(O){const t=xo(O);for(let n=0;n<t.length;n++){const s=t[n];if(ps(s))return ko(s)}}let _s=function(O){return O.audioId3="org.id3",O.dateRange="com.apple.quicktime.HLS",O.emsg="https://aomedia.org/emsg/ID3",O.misbklv="urn:misb:KLV:bin:1910.1",O}({});function ks(O="",t=9e4){return{type:O,id:-1,pid:-1,inputTimeScale:t,sequenceNumber:-1,samples:[],dropped:0}}class ga{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=Ce(this.cachedData,t),this.cachedData=null);let s=Vt(t,0),m=s?s.length:0,E;const I=this._audioTrack,z=this._id3Track,X=s?os(s):void 0,W=t.length;for((this.basePTS===null||this.frameIndex===0&&r(X))&&(this.basePTS=us(X,n,this.initPTS),this.lastPTS=this.basePTS),this.lastPTS===null&&(this.lastPTS=this.basePTS),s&&s.length>0&&z.samples.push({pts:this.lastPTS,dts:this.lastPTS,data:s,type:_s.audioId3,duration:Number.POSITIVE_INFINITY});m<W;){if(this.canParse(t,m)){const le=this.appendFrame(I,t,m);le?(this.frameIndex++,this.lastPTS=le.sample.pts,m+=le.length,E=m):m=W}else ki(t,m)?(s=Vt(t,m),z.samples.push({pts:this.lastPTS,dts:this.lastPTS,data:s,type:_s.audioId3,duration:Number.POSITIVE_INFINITY}),m+=s.length,E=m):m++;if(m===W&&E!==W){const le=t.slice(E);this.cachedData?this.cachedData=Ce(this.cachedData,le):this.cachedData=le}}return{audioTrack:I,videoTrack:ks(),id3Track:z,textTrack:ks()}}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:ks(),id3Track:this._id3Track,textTrack:ks()}}destroy(){this.cachedData=null,this._audioTrack=this._id3Track=void 0}}const us=(O,t,n)=>{if(r(O))return O*90;const s=n?n.baseTime*9e4/n.timescale:0;return t*9e4+s};let $s=null;const La=[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],ye=[44100,48e3,32e3,22050,24e3,16e3,11025,12e3,8e3],we=[[0,72,144,12],[0,0,0,0],[0,72,144,12],[0,144,144,12]],Ar=[0,1,1,4];function rn(O,t,n,s,m){if(n+24>t.length)return;const E=xr(t,n);if(E&&n+E.frameLength<=t.length){const I=E.samplesPerFrame*9e4/E.sampleRate,z=s+m*I,X={unit:t.subarray(n,n+E.frameLength),pts:z,dts:z};return O.config=[],O.channelCount=E.channelCount,O.samplerate=E.sampleRate,O.samples.push(X),{sample:X,length:E.frameLength,missing:0}}}function xr(O,t){const n=O[t+1]>>3&3,s=O[t+1]>>1&3,m=O[t+2]>>4&15,E=O[t+2]>>2&3;if(n!==1&&m!==0&&m!==15&&E!==3){const I=O[t+2]>>1&1,z=O[t+3]>>6,X=n===3?3-s:s===3?3:4,W=La[X*14+m-1]*1e3,pe=ye[(n===3?0:n===2?1:2)*3+E],Ee=z===3?1:2,Oe=we[n][s],Ue=Ar[s],ut=Oe*8*Ue,lt=Math.floor(Oe*W/pe+I)*Ue;if($s===null){const sr=(navigator.userAgent||"").match(/Chrome\/(\d+)/i);$s=sr?parseInt(sr[1]):0}return!!$s&&$s<=87&&s===2&&W>=224e3&&z===0&&(O[t+3]=O[t+3]|128),{sampleRate:pe,channelCount:Ee,frameLength:lt,samplesPerFrame:ut}}}function Jr(O,t){return O[t]===255&&(O[t+1]&224)===224&&(O[t+1]&6)!==0}function Dn(O,t){return t+1<O.length&&Jr(O,t)}function si(O,t){return Jr(O,t)&&4<=O.length-t}function Vi(O,t){if(t+1<O.length&&Jr(O,t)){const s=xr(O,t);let m=4;s!=null&&s.frameLength&&(m=s.frameLength);const E=t+m;return E===O.length||Dn(O,E)}return!1}class jn extends ga{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=Vt(t,0);let m=(s==null?void 0:s.length)||0;if(Vi(t,m))return!1;for(let E=t.length;m<E;m++)if(ui(t,m))return n.log("ADTS sync word found !"),!0;return!1}canParse(t,n){return ai(t,n)}appendFrame(t,n,s){Pi(t,this.observer,n,s,t.manifestCodec);const m=Xi(t,n,s,this.basePTS,this.frameIndex);if(m&&m.missing===0)return m}}const Mn=(O,t)=>{let n=0,s=5;t+=s;const m=new Uint32Array(1),E=new Uint32Array(1),I=new Uint8Array(1);for(;s>0;){I[0]=O[t];const z=Math.min(s,8),X=8-z;E[0]=4278190080>>>24+X<<X,m[0]=(I[0]&E[0])>>X,n=n?n<<z|m[0]:m[0],t+=1,s-=z}return n};class Vn extends ga{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=ba(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=Vt(t,0);if(!n)return!1;const s=n.length;return t[s]===11&&t[s+1]===119&&os(n)!==void 0&&Mn(t,s)<16}}function ba(O,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 z=[48e3,44100,32e3][E],X=t[n+4]&63,le=[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][X*3+E]*2;if(n+le>t.length)return-1;const pe=t[n+6]>>5;let Ee=0;pe===2?Ee+=2:(pe&1&&pe!==1&&(Ee+=2),pe&4&&(Ee+=2));const Oe=(t[n+6]<<8|t[n+7])>>12-Ee&1,ut=[2,1,2,3,3,4,4,5][pe]+Oe,lt=t[n+5]>>3,Nt=t[n+5]&7,pr=new Uint8Array([E<<6|lt<<1|Nt>>2,(Nt&3)<<6|pe<<3|Oe<<2|X>>4,X<<4&224]),sr=1536/z*9e4,Fr=s+m*sr,Yr=t.subarray(n,n+le);return O.config=pr,O.channelCount=ut,O.samplerate=z,O.samples.push({unit:Yr,pts:Fr}),le}class ia extends ga{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=Vt(t,0);let s=(n==null?void 0:n.length)||0;if(n&&t[s]===11&&t[s+1]===119&&os(n)!==void 0&&Mn(t,s)<=16)return!1;for(let m=t.length;s<m;s++)if(Vi(t,s))return H.log("MPEG Audio sync word found !"),!0;return!1}canParse(t,n){return si(t,n)}appendFrame(t,n,s){if(this.basePTS!==null)return rn(t,n,s,this.basePTS,this.frameIndex)}}const No=/\/emsg[-/]ID3/i;class To{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=ks("video",1),I=this.audioTrack=ks("audio",1),z=this.txtTrack=ks("text",1);if(this.id3Track=ks("id3",1),this.timeOffset=0,!(t!=null&&t.byteLength))return;const X=et(t);if(X.video){const{id:W,timescale:le,codec:pe,supplemental:Ee}=X.video;E.id=W,E.timescale=z.timescale=le,E.codec=pe,E.supplemental=Ee}if(X.audio){const{id:W,timescale:le,codec:pe}=X.audio;I.id=W,I.timescale=le,I.codec=pe}z.id=rr.text,E.sampleDuration=0,E.duration=I.duration=m}resetContiguity(){this.remainderData=null}static probe(t){return nt(t)}demux(t,n){this.timeOffset=n;let s=t;const m=this.videoTrack,E=this.txtTrack;if(this.config.progressive){this.remainderData&&(s=Ce(this.remainderData,t));const z=Wt(s);this.remainderData=z.remainder,m.samples=z.valid||new Uint8Array}else m.samples=s;const I=this.extractID3Track(m,n);return E.samples=Je(n,m),{videoTrack:m,audioTrack:this.audioTrack,id3Track:I,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=Je(t,n),{videoTrack:n,audioTrack:ks(),id3Track:m,textTrack:ks()}}extractID3Track(t,n){const s=this.id3Track;if(t.samples.length){const m=bt(t.samples,["emsg"]);m&&m.forEach(E=>{const I=tr(E);if(No.test(I.schemeIdUri)){const z=yu(I,n);let X=I.eventDuration===4294967295?Number.POSITIVE_INFINITY:I.eventDuration/I.timeScale;X<=.001&&(X=Number.POSITIVE_INFINITY);const W=I.payload;s.samples.push({data:W,len:W.byteLength,dts:z,pts:z,type:_s.emsg,duration:X})}else if(this.config.enableEmsgKLVMetadata&&I.schemeIdUri.startsWith("urn:misb:KLV:bin:1910.1")){const z=yu(I,n);s.samples.push({data:I.payload,len:I.payload.byteLength,dts:z,pts:z,type:_s.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 yu(O,t){return r(O.presentationTime)?O.presentationTime/O.timeScale:t+O.presentationTimeDelta/O.timeScale}class Ml{constructor(t,n,s){this.keyData=void 0,this.decrypter=void 0,this.keyData=s,this.decrypter=new gi(n,{removePKCS7Padding:!1})}decryptBuffer(t){return this.decrypter.decrypt(t,this.keyData.key.buffer,this.keyData.iv.buffer,Sr.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),I=E.buffer.slice(E.byteOffset,E.byteOffset+E.length);this.decryptBuffer(I).then(z=>{const X=new Uint8Array(z);m.set(X,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 I=$t(E.data),z=this.getAvcEncryptedData(I);this.decryptBuffer(z.buffer).then(X=>{E.data=this.getAvcDecryptedUnit(I,X),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 I=E[s];if(!(I.data.length<=48||I.type!==1&&I.type!==5)&&(this.decryptAvcSample(t,n,s,m,I),!this.decrypter.isSync()))return}}}}class ul{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 I=E,z=[];let X=0,W,le,pe,Ee=-1,Oe=0;for(E===-1&&(Ee=0,Oe=this.getNALuType(n,0),E=0,X=1);X<m;){if(W=n[X++],!E){E=W?0:1;continue}if(E===1){E=W?0:2;continue}if(!W)E=3;else if(W===1){if(le=X-E-1,Ee>=0){const Ue={data:n.subarray(Ee,le),type:Oe};z.push(Ue)}else{const Ue=this.getLastNalUnit(t.samples);Ue&&(I&&X<=4-I&&Ue.state&&(Ue.data=Ue.data.subarray(0,Ue.data.byteLength-I)),le>0&&(Ue.data=Ce(Ue.data,n.subarray(0,le)),Ue.state=0))}X<m?(pe=this.getNALuType(n,X),Ee=X,Oe=pe,E=0):E=-1}else E=0}if(Ee>=0&&E>=0){const Ue={data:n.subarray(Ee,m),type:Oe,state:E};z.push(Ue)}if(z.length===0){const Ue=this.getLastNalUnit(t.samples);Ue&&(Ue.data=Ce(Ue.data,n))}return t.naluState=E,z}}class bu{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&&H.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 _f extends ul{parsePES(t,n,s,m){const E=this.parseNALu(t,s.data,m);let I=this.VideoSample,z,X=!1;s.data=null,I&&E.length&&!t.audFound&&(this.pushAccessUnit(I,t),I=this.VideoSample=this.createVideoSample(!1,s.pts,s.dts)),E.forEach(W=>{var le,pe;switch(W.type){case 1:{let ut=!1;z=!0;const lt=W.data;if(X&<.length>4){const Nt=this.readSliceType(lt);(Nt===2||Nt===4||Nt===7||Nt===9)&&(ut=!0)}if(ut){var Ee;(Ee=I)!=null&&Ee.frame&&!I.key&&(this.pushAccessUnit(I,t),I=this.VideoSample=null)}I||(I=this.VideoSample=this.createVideoSample(!0,s.pts,s.dts)),I.frame=!0,I.key=ut;break}case 5:z=!0,(le=I)!=null&&le.frame&&!I.key&&(this.pushAccessUnit(I,t),I=this.VideoSample=null),I||(I=this.VideoSample=this.createVideoSample(!0,s.pts,s.dts)),I.key=!0,I.frame=!0;break;case 6:{z=!0,Ht(W.data,1,s.pts,n.samples);break}case 7:{var Oe,Ue;z=!0,X=!0;const ut=W.data,lt=this.readSPS(ut);if(!t.sps||t.width!==lt.width||t.height!==lt.height||((Oe=t.pixelRatio)==null?void 0:Oe[0])!==lt.pixelRatio[0]||((Ue=t.pixelRatio)==null?void 0:Ue[1])!==lt.pixelRatio[1]){t.width=lt.width,t.height=lt.height,t.pixelRatio=lt.pixelRatio,t.sps=[ut];const Nt=ut.subarray(1,4);let pr="avc1.";for(let sr=0;sr<3;sr++){let Fr=Nt[sr].toString(16);Fr.length<2&&(Fr="0"+Fr),pr+=Fr}t.codec=pr}break}case 8:z=!0,t.pps=[W.data];break;case 9:z=!0,t.audFound=!0,(pe=I)!=null&&pe.frame&&(this.pushAccessUnit(I,t),I=null),I||(I=this.VideoSample=this.createVideoSample(!1,s.pts,s.dts));break;case 12:z=!0;break;default:z=!1;break}I&&z&&I.units.push(W)}),m&&I&&(this.pushAccessUnit(I,t),this.VideoSample=null)}getNALuType(t,n){return t[n]&31}readSliceType(t){const n=new bu(t);return n.readUByte(),n.readUEG(),n.readUEG()}skipScalingList(t,n){let s=8,m=8,E;for(let I=0;I<t;I++)m!==0&&(E=n.readEG(),m=(s+E+256)%256),s=m===0?s:m}readSPS(t){const n=new bu(t);let s=0,m=0,E=0,I=0,z,X,W;const le=n.readUByte.bind(n),pe=n.readBits.bind(n),Ee=n.readUEG.bind(n),Oe=n.readBoolean.bind(n),Ue=n.skipBits.bind(n),ut=n.skipEG.bind(n),lt=n.skipUEG.bind(n),Nt=this.skipScalingList.bind(this);le();const pr=le();if(pe(5),Ue(3),le(),lt(),pr===100||pr===110||pr===122||pr===244||pr===44||pr===83||pr===86||pr===118||pr===128){const an=Ee();if(an===3&&Ue(1),lt(),lt(),Ue(1),Oe())for(X=an!==3?8:12,W=0;W<X;W++)Oe()&&(W<6?Nt(16,n):Nt(64,n))}lt();const sr=Ee();if(sr===0)Ee();else if(sr===1)for(Ue(1),ut(),ut(),z=Ee(),W=0;W<z;W++)ut();lt(),Ue(1);const Fr=Ee(),Yr=Ee(),vn=pe(1);vn===0&&Ue(1),Ue(1),Oe()&&(s=Ee(),m=Ee(),E=Ee(),I=Ee());let Wr=[1,1];if(Oe()&&Oe())switch(le()){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=[le()<<8|le(),le()<<8|le()];break}}return{width:Math.ceil((Fr+1)*16-s*2-m*2),height:(2-vn)*(Yr+1)*16-(vn?2:4)*(E+I),pixelRatio:Wr}}}class el extends ul{constructor(...t){super(...t),this.initVPS=null}parsePES(t,n,s,m){const E=this.parseNALu(t,s.data,m);let I=this.VideoSample,z,X=!1;s.data=null,I&&E.length&&!t.audFound&&(this.pushAccessUnit(I,t),I=this.VideoSample=this.createVideoSample(!1,s.pts,s.dts)),E.forEach(W=>{var le,pe;switch(W.type){case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:I||(I=this.VideoSample=this.createVideoSample(!1,s.pts,s.dts)),I.frame=!0,z=!0;break;case 16:case 17:case 18:case 21:if(z=!0,X){var Ee;(Ee=I)!=null&&Ee.frame&&!I.key&&(this.pushAccessUnit(I,t),I=this.VideoSample=null)}I||(I=this.VideoSample=this.createVideoSample(!0,s.pts,s.dts)),I.key=!0,I.frame=!0;break;case 19:case 20:z=!0,(le=I)!=null&&le.frame&&!I.key&&(this.pushAccessUnit(I,t),I=this.VideoSample=null),I||(I=this.VideoSample=this.createVideoSample(!0,s.pts,s.dts)),I.key=!0,I.frame=!0;break;case 39:z=!0,Ht(W.data,2,s.pts,n.samples);break;case 32:z=!0,t.vps||(typeof t.params!="object"&&(t.params={}),t.params=y(t.params,this.readVPS(W.data)),this.initVPS=W.data),t.vps=[W.data];break;case 33:if(z=!0,X=!0,t.vps!==void 0&&t.vps[0]!==this.initVPS&&t.sps!==void 0&&!this.matchSPS(t.sps[0],W.data)&&(this.initVPS=t.vps[0],t.sps=t.pps=void 0),!t.sps){const Oe=this.readSPS(W.data);t.width=Oe.width,t.height=Oe.height,t.pixelRatio=Oe.pixelRatio,t.codec=Oe.codecString,t.sps=[],typeof t.params!="object"&&(t.params={});for(const Ue in Oe.params)t.params[Ue]=Oe.params[Ue]}this.pushParameterSet(t.sps,W.data,t.vps),I||(I=this.VideoSample=this.createVideoSample(!0,s.pts,s.dts)),I.key=!0;break;case 34:if(z=!0,typeof t.params=="object"){if(!t.pps){t.pps=[];const Oe=this.readPPS(W.data);for(const Ue in Oe)t.params[Ue]=Oe[Ue]}this.pushParameterSet(t.pps,W.data,t.vps)}break;case 35:z=!0,t.audFound=!0,(pe=I)!=null&&pe.frame&&(this.pushAccessUnit(I,t),I=null),I||(I=this.VideoSample=this.createVideoSample(!1,s.pts,s.dts));break;default:z=!1;break}I&&z&&I.units.push(W)}),m&&I&&(this.pushAccessUnit(I,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 bu(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 bu(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(),I=n.readBits(5),z=n.readUByte(),X=n.readUByte(),W=n.readUByte(),le=n.readUByte(),pe=n.readUByte(),Ee=n.readUByte(),Oe=n.readUByte(),Ue=n.readUByte(),ut=n.readUByte(),lt=n.readUByte(),Nt=n.readUByte(),pr=[],sr=[];for(let no=0;no<s;no++)pr.push(n.readBoolean()),sr.push(n.readBoolean());if(s>0)for(let no=s;no<8;no++)n.readBits(2);for(let no=0;no<s;no++)pr[no]&&(n.readUByte(),n.readUByte(),n.readUByte(),n.readUByte(),n.readUByte(),n.readUByte(),n.readUByte(),n.readUByte(),n.readUByte(),n.readUByte(),n.readUByte()),sr[no]&&n.readUByte();n.readUEG();const Fr=n.readUEG();Fr==3&&n.skipBits(1);const Yr=n.readUEG(),vn=n.readUEG(),Wr=n.readBoolean();let an=0,fn=0,Gr=0,Sn=0;Wr&&(an+=n.readUEG(),fn+=n.readUEG(),Gr+=n.readUEG(),Sn+=n.readUEG());const yi=n.readUEG(),Ji=n.readUEG(),da=n.readUEG(),Ei=n.readBoolean();for(let no=Ei?0:s;no<=s;no++)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 sl=0;sl<4;sl++)for(let nc=0;nc<(sl===3?2:6);nc++)if(!n.readBoolean())n.readUEG();else{const bc=Math.min(64,1<<4+(sl<<1));sl>1&&n.readEG();for(let Gf=0;Gf<bc;Gf++)n.readEG()}n.readBoolean(),n.readBoolean(),n.readBoolean()&&(n.readUByte(),n.skipUEG(),n.skipUEG(),n.readBoolean());const Zi=n.readUEG();let ya=0;for(let no=0;no<Zi;no++){let sl=!1;if(no!==0&&(sl=n.readBoolean()),sl){no===Zi&&n.readUEG(),n.readBoolean(),n.readUEG();let nc=0;for(let Nf=0;Nf<=ya;Nf++){const bc=n.readBoolean();let Gf=!1;bc||(Gf=n.readBoolean()),(bc||Gf)&&nc++}ya=nc}else{const nc=n.readUEG(),Nf=n.readUEG();ya=nc+Nf;for(let bc=0;bc<nc;bc++)n.readUEG(),n.readBoolean();for(let bc=0;bc<Nf;bc++)n.readUEG(),n.readBoolean()}}if(n.readBoolean()){const no=n.readUEG();for(let sl=0;sl<no;sl++){for(let nc=0;nc<da+4;nc++)n.readBits(1);n.readBits(1)}}let mi=0,vi=1,cs=1,po=!0,xs=1,qs=0;n.readBoolean(),n.readBoolean();let Lu=!1;if(n.readBoolean()){if(n.readBoolean()){const $f=n.readUByte(),fd=[1,12,10,16,40,24,20,32,80,18,15,64,160,4,3,2],ed=[1,11,11,11,33,11,11,11,33,11,11,33,99,3,2,1];$f>0&&$f<16?(vi=fd[$f-1],cs=ed[$f-1]):$f===255&&(vi=n.readBits(16),cs=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(),Lu=n.readBoolean(),Lu&&(n.skipUEG(),n.skipUEG(),n.skipUEG(),n.skipUEG()),n.readBoolean()&&(xs=n.readBits(32),qs=n.readBits(32),n.readBoolean()&&n.readUEG(),n.readBoolean())){const ed=n.readBoolean(),ic=n.readBoolean();let Qf=!1;(ed||ic)&&(Qf=n.readBoolean(),Qf&&(n.readUByte(),n.readBits(5),n.readBoolean(),n.readBits(5)),n.readBits(4),n.readBits(4),Qf&&n.readBits(4),n.readBits(5),n.readBits(5),n.readBits(5));for(let dd=0;dd<=s;dd++){po=n.readBoolean();const jf=po||n.readBoolean();let Ja=!1;jf?n.readEG():Ja=n.readBoolean();const hd=Ja?1:n.readUEG()+1;if(ed)for(let zu=0;zu<hd;zu++)n.readUEG(),n.readUEG(),Qf&&(n.readUEG(),n.readUEG()),n.skipBits(1);if(ic)for(let zu=0;zu<hd;zu++)n.readUEG(),n.readUEG(),Qf&&(n.readUEG(),n.readUEG()),n.skipBits(1)}}n.readBoolean()&&(n.readBoolean(),n.readBoolean(),n.readBoolean(),mi=n.readUEG())}let rc=Yr,jc=vn;if(Wr){let no=1,sl=1;Fr===1?no=sl=2:Fr==2&&(no=2),rc=Yr-no*fn-no*an,jc=vn-sl*Sn-sl*Gr}const hf=m?["A","B","C"][m]:"",cd=z<<24|X<<16|W<<8|le;let od=0;for(let no=0;no<32;no++)od=(od|(cd>>no&1)<<31-no)>>>0;let ud=od.toString(16);return I===1&&ud==="2"&&(ud="6"),{codecString:`hvc1.${hf}${I}.${ud}.${E?"H":"L"}${Nt}.B0`,params:{general_tier_flag:E,general_profile_idc:I,general_profile_space:m,general_profile_compatibility_flags:[z,X,W,le],general_constraint_indicator_flags:[pe,Ee,Oe,Ue,ut,lt],general_level_idc:Nt,bit_depth:yi+8,bit_depth_luma_minus8:yi,bit_depth_chroma_minus8:Ji,min_spatial_segmentation_idc:mi,chroma_format_idc:Fr,frame_rate:{fixed:po,fps:qs/xs}},width:rc,height:jc,pixelRatio:[vi,cs]}}readPPS(t){const n=new bu(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 I=1;return E&&m?I=0:E?I=3:m&&(I=2),{parallelismType:I}}matchSPS(t,n){return String.fromCharCode.apply(null,t).substr(3)===String.fromCharCode.apply(null,n).substr(3)}}const Ve=188;class Z{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=Z.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(Ve*5,n-Ve)+1,m=0;for(;m<s;){let E=!1,I=-1,z=0;for(let X=m;X<n;X+=Ve)if(t[X]===71&&(n-X===Ve||t[X+Ve]===71)){if(z++,I===-1&&(I=X,I!==0&&(s=Math.min(I+Ve*99,t.length-Ve)+1)),E||(E=Y(t,X)===0),E&&z>1&&(I===0&&z>2||X+Ve>s))return I}else{if(z)return-1;break}m++}return-1}static createTrack(t,n){return{container:t==="video"||t==="audio"?"video/mp2t":void 0,type:t,id:rr[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=Z.createTrack("video"),this._videoTrack.duration=m,this._audioTrack=Z.createTrack("audio",m),this._id3Track=Z.createTrack("id3"),this._txtTrack=Z.createTrack("text"),this._audioTrack.segmentCodec="aac",this.videoParser=null,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 I=this._videoTrack,z=this._audioTrack,X=this._id3Track,W=this._txtTrack;let le=I.pid,pe=I.pesData,Ee=z.pid,Oe=X.pid,Ue=z.pesData,ut=X.pesData,lt=null,Nt=this.pmtParsed,pr=this._pmtId,sr=t.length;if(this.remainderData&&(t=Ce(this.remainderData,t),sr=t.length,this.remainderData=null),sr<Ve&&!m)return this.remainderData=t,{audioTrack:z,videoTrack:I,id3Track:X,textTrack:W};const Fr=Math.max(0,Z.syncOffset(t));sr-=(sr-Fr)%Ve,sr<t.byteLength&&!m&&(this.remainderData=new Uint8Array(t.buffer,sr,t.buffer.byteLength-sr));let Yr=0;for(let Wr=Fr;Wr<sr;Wr+=Ve)if(t[Wr]===71){const an=!!(t[Wr+1]&64),fn=Y(t,Wr),Gr=(t[Wr+3]&48)>>4;let Sn;if(Gr>1){if(Sn=Wr+5+t[Wr+4],Sn===Wr+Ve)continue}else Sn=Wr+4;switch(fn){case le:an&&(pe&&(E=Ct(pe,this.logger))&&(this.readyVideoParser(I.segmentCodec),this.videoParser!==null&&this.videoParser.parsePES(I,W,E,!1)),pe={data:[],size:0}),pe&&(pe.data.push(t.subarray(Sn,Wr+Ve)),pe.size+=Wr+Ve-Sn);break;case Ee:if(an){if(Ue&&(E=Ct(Ue,this.logger)))switch(z.segmentCodec){case"aac":this.parseAACPES(z,E);break;case"mp3":this.parseMPEGPES(z,E);break;case"ac3":this.parseAC3PES(z,E);break}Ue={data:[],size:0}}Ue&&(Ue.data.push(t.subarray(Sn,Wr+Ve)),Ue.size+=Wr+Ve-Sn);break;case Oe:an&&(ut&&(E=Ct(ut,this.logger))&&this.parseID3PES(X,E),ut={data:[],size:0}),ut&&(ut.data.push(t.subarray(Sn,Wr+Ve)),ut.size+=Wr+Ve-Sn);break;case 0:an&&(Sn+=t[Sn]+1),pr=this._pmtId=te(t,Sn);break;case pr:{an&&(Sn+=t[Sn]+1);const yi=de(t,Sn,this.typeSupported,s,this.observer,this.logger);le=yi.videoPid,le>0&&(I.pid=le,I.segmentCodec=yi.segmentVideoCodec),Ee=yi.audioPid,Ee>0&&(z.pid=Ee,z.segmentCodec=yi.segmentAudioCodec),Oe=yi.id3Pid,Oe>0&&(X.pid=Oe),lt!==null&&!Nt&&(this.logger.warn(`MPEG-TS PMT found at ${Wr} after unknown PID '${lt}'. Backtracking to sync byte @${Fr} to parse all TS packets.`),lt=null,Wr=Fr-188),Nt=this.pmtParsed=!0;break}case 17:case 8191:break;default:lt=fn;break}}else Yr++;Yr>0&&Ae(this.observer,new Error(`Found ${Yr} TS packet/s that do not start with 0x47`),void 0,this.logger),I.pesData=pe,z.pesData=Ue,X.pesData=ut;const vn={audioTrack:z,videoTrack:I,id3Track:X,textTrack:W};return m&&this.extractRemainingSamples(vn),vn}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,I=s.pesData,z=n.pesData,X=m.pesData;let W;if(I&&(W=Ct(I,this.logger))?(this.readyVideoParser(s.segmentCodec),this.videoParser!==null&&(this.videoParser.parsePES(s,E,W,!0),s.pesData=null)):s.pesData=I,z&&(W=Ct(z,this.logger))){switch(n.segmentCodec){case"aac":this.parseAACPES(n,W);break;case"mp3":this.parseMPEGPES(n,W);break;case"ac3":this.parseAC3PES(n,W);break}n.pesData=null}else z!=null&&z.size&&this.logger.log("last AAC PES packet truncated,might overlap between fragments"),n.pesData=z;X&&(W=Ct(X,this.logger))?(this.parseID3PES(m,W),m.pesData=null):m.pesData=X}demuxSampleAes(t,n,s){const m=this.demux(t,s,!0,!this.config.progressive),E=this.sampleAes=new Ml(this.observer,this.config,n);return this.decrypt(m,E)}readyVideoParser(t){this.videoParser===null&&(t==="avc"?this.videoParser=new _f:t==="hevc"&&(this.videoParser=new el))}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 pe=m.missing,Ee=m.sample.unit.byteLength;if(pe===-1)E=Ce(m.sample.unit,E);else{const Oe=Ee-pe;m.sample.unit.set(E.subarray(0,pe),Oe),t.samples.push(m.sample),s=m.missing}}let I,z;for(I=s,z=E.length;I<z-1&&!xn(E,I);I++);if(I!==s){let pe;const Ee=I<z-1;if(Ee?pe=`AAC PES did not start with ADTS header,offset:${I}`:pe="No ADTS header found in AAC PES",Ae(this.observer,new Error(pe),Ee,this.logger),!Ee)return}Pi(t,this.observer,E,I,this.audioCodec);let X;if(n.pts!==void 0)X=n.pts;else if(m){const pe=Mi(t.samplerate);X=m.sample.pts+pe}else{this.logger.warn("[tsdemuxer]: AAC PES unknown PTS");return}let W=0,le;for(;I<z;)if(le=Xi(t,E,I,X,W),I+=le.length,le.missing){this.aacOverFlow=le;break}else for(W++;I<z-1&&!xn(E,I);I++);}parseMPEGPES(t,n){const s=n.data,m=s.length;let E=0,I=0;const z=n.pts;if(z===void 0){this.logger.warn("[tsdemuxer]: MPEG PES unknown PTS");return}for(;I<m;)if(Dn(s,I)){const X=rn(t,s,I,z,E);if(X)I+=X.length,E++;else break}else I++}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 I=0,z=0,X;for(;z<E&&(X=ba(t,s,z,m,I++))>0;)z+=X}}parseID3PES(t,n){if(n.pts===void 0){this.logger.warn("[tsdemuxer]: ID3 PES unknown PTS");return}const s=y({},n,{type:this._videoTrack?_s.emsg:_s.audioId3,duration:Number.POSITIVE_INFINITY});t.samples.push(s)}}function Y(O,t){return((O[t+1]&31)<<8)+O[t+2]}function te(O,t){return(O[t+10]&31)<<8|O[t+11]}function de(O,t,n,s,m,E){const I={audioPid:-1,videoPid:-1,id3Pid:-1,segmentVideoCodec:"avc",segmentAudioCodec:"aac"},z=(O[t+1]&15)<<8|O[t+2],X=t+3+z-4,W=(O[t+10]&15)<<8|O[t+11];for(t+=12+W;t<X;){const le=Y(O,t),pe=(O[t+3]&15)<<8|O[t+4];switch(O[t]){case 207:if(!s){Ke("ADTS AAC",E);break}case 15:I.audioPid===-1&&(I.audioPid=le);break;case 21:I.id3Pid===-1&&(I.id3Pid=le);break;case 219:if(!s){Ke("H.264",E);break}case 27:I.videoPid===-1&&(I.videoPid=le);break;case 3:case 4:!n.mpeg&&!n.mp3?E.log("MPEG audio found, not supported in this browser"):I.audioPid===-1&&(I.audioPid=le,I.segmentAudioCodec="mp3");break;case 193:if(!s){Ke("AC-3",E);break}case 129:n.ac3?I.audioPid===-1&&(I.audioPid=le,I.segmentAudioCodec="ac3"):E.log("AC-3 audio found, not supported in this browser");break;case 6:if(I.audioPid===-1&&pe>0){let Ee=t+5,Oe=pe;for(;Oe>2;){switch(O[Ee]){case 106:n.ac3!==!0?E.log("AC-3 audio found, not supported in this browser for now"):(I.audioPid=le,I.segmentAudioCodec="ac3");break}const ut=O[Ee+1]+2;Ee+=ut,Oe-=ut}}break;case 194:case 135:return Ae(m,new Error("Unsupported EC-3 in M2TS found"),void 0,E),I;case 36:I.videoPid===-1&&(I.videoPid=le,I.segmentVideoCodec="hevc",E.log("HEVC in M2TS found"));break}t+=pe+5}return I}function Ae(O,t,n,s){s.warn(`parsing error: ${t.message}`),O.emit(o.ERROR,o.ERROR,{type:c.MEDIA_ERROR,details:f.FRAG_PARSING_ERROR,fatal:!1,levelRetry:n,error:t,reason:t.message})}function Ke(O,t){t.log(`${O} with AES-128-CBC encryption found in unencrypted stream`)}function Ct(O,t){let n=0,s,m,E,I,z;const X=O.data;if(!O||O.size===0)return null;for(;X[0].length<19&&X.length>1;)X[0]=Ce(X[0],X[1]),X.splice(1,1);if(s=X[0],(s[0]<<16)+(s[1]<<8)+s[2]===1){if(m=(s[4]<<8)+s[5],m&&m>O.size-6)return null;const le=s[7];le&192&&(I=(s[9]&14)*536870912+(s[10]&255)*4194304+(s[11]&254)*16384+(s[12]&255)*128+(s[13]&254)/2,le&64?(z=(s[14]&14)*536870912+(s[15]&255)*4194304+(s[16]&254)*16384+(s[17]&255)*128+(s[18]&254)/2,I-z>54e5&&(t.warn(`${Math.round((I-z)/9e4)}s delta between PTS and DTS, align them`),I=z)):z=I),E=s[8];let pe=E+9;if(O.size<=pe)return null;O.size-=pe;const Ee=new Uint8Array(O.size);for(let Oe=0,Ue=X.length;Oe<Ue;Oe++){s=X[Oe];let ut=s.byteLength;if(pe)if(pe>ut){pe-=ut;continue}else s=s.subarray(pe),ut-=pe,pe=0;Ee.set(s,n),n+=ut}return m&&(m-=E+3),{data:Ee,pts:I,dts:z,len:m}}return null}class Ut{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 nr=Math.pow(2,32)-1;class It{static init(){It.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 It.types)It.types.hasOwnProperty(t)&&(It.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]);It.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]);It.STTS=It.STSC=It.STCO=E,It.STSZ=new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0]),It.VMHD=new Uint8Array([0,0,0,1,0,0,0,0,0,0,0,0]),It.SMHD=new Uint8Array([0,0,0,0,0,0,0,0]),It.STSD=new Uint8Array([0,0,0,0,0,0,0,1]);const I=new Uint8Array([105,115,111,109]),z=new Uint8Array([97,118,99,49]),X=new Uint8Array([0,0,0,1]);It.FTYP=It.box(It.types.ftyp,I,X,I,z),It.DINF=It.box(It.types.dinf,It.box(It.types.dref,m))}static box(t,...n){let s=8,m=n.length;const E=m;for(;m--;)s+=n[m].byteLength;const I=new Uint8Array(s);for(I[0]=s>>24&255,I[1]=s>>16&255,I[2]=s>>8&255,I[3]=s&255,I.set(t,4),m=0,s=8;m<E;m++)I.set(n[m],s),s+=n[m].byteLength;return I}static hdlr(t){return It.box(It.types.hdlr,It.HDLR_TYPES[t])}static mdat(t){return It.box(It.types.mdat,t)}static mdhd(t,n){n*=t;const s=Math.floor(n/(nr+1)),m=Math.floor(n%(nr+1));return It.box(It.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 It.box(It.types.mdia,It.mdhd(t.timescale||0,t.duration||0),It.hdlr(t.type),It.minf(t))}static mfhd(t){return It.box(It.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"?It.box(It.types.minf,It.box(It.types.smhd,It.SMHD),It.DINF,It.stbl(t)):It.box(It.types.minf,It.box(It.types.vmhd,It.VMHD),It.DINF,It.stbl(t))}static moof(t,n,s){return It.box(It.types.moof,It.mfhd(t),It.traf(s,n))}static moov(t){let n=t.length;const s=[];for(;n--;)s[n]=It.trak(t[n]);return It.box.apply(null,[It.types.moov,It.mvhd(t[0].timescale||0,t[0].duration||0)].concat(s).concat(It.mvex(t)))}static mvex(t){let n=t.length;const s=[];for(;n--;)s[n]=It.trex(t[n]);return It.box.apply(null,[It.types.mvex,...s])}static mvhd(t,n){n*=t;const s=Math.floor(n/(nr+1)),m=Math.floor(n%(nr+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 It.box(It.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 It.box(It.types.sdtp,s)}static stbl(t){return It.box(It.types.stbl,It.stsd(t),It.box(It.types.stts,It.STTS),It.box(It.types.stsc,It.STSC),It.box(It.types.stsz,It.STSZ),It.box(It.types.stco,It.STCO))}static avc1(t){let n=[],s=[],m,E,I;for(m=0;m<t.sps.length;m++)E=t.sps[m],I=E.byteLength,n.push(I>>>8&255),n.push(I&255),n=n.concat(Array.prototype.slice.call(E));for(m=0;m<t.pps.length;m++)E=t.pps[m],I=E.byteLength,s.push(I>>>8&255),s.push(I&255),s=s.concat(Array.prototype.slice.call(E));const z=It.box(It.types.avcC,new Uint8Array([1,n[3],n[4],n[5],255,224|t.sps.length].concat(n).concat([t.pps.length]).concat(s))),X=t.width,W=t.height,le=t.pixelRatio[0],pe=t.pixelRatio[1];return It.box(It.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,X>>8&255,X&255,W>>8&255,W&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]),z,It.box(It.types.btrt,new Uint8Array([0,28,156,128,0,45,198,192,0,45,198,192])),It.box(It.types.pasp,new Uint8Array([le>>24,le>>16&255,le>>8&255,le&255,pe>>24,pe>>16&255,pe>>8&255,pe&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 It.box(It.types.mp4a,It.audioStsd(t),It.box(It.types.esds,It.esds(t)))}static mp3(t){return It.box(It.types[".mp3"],It.audioStsd(t))}static ac3(t){return It.box(It.types["ac-3"],It.audioStsd(t),It.box(It.types.dac3,t.config))}static stsd(t){const{segmentCodec:n}=t;if(t.type==="audio"){if(n==="aac")return It.box(It.types.stsd,It.STSD,It.mp4a(t));if(n==="ac3"&&t.config)return It.box(It.types.stsd,It.STSD,It.ac3(t));if(n==="mp3"&&t.codec==="mp3")return It.box(It.types.stsd,It.STSD,It.mp3(t))}else if(t.pps&&t.sps){if(n==="avc")return It.box(It.types.stsd,It.STSD,It.avc1(t));if(n==="hevc"&&t.vps)return It.box(It.types.stsd,It.STSD,It.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,I=Math.floor(s/(nr+1)),z=Math.floor(s%(nr+1));return It.box(It.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,I>>24,I>>16&255,I>>8&255,I&255,z>>24,z>>16&255,z>>8&255,z&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=It.sdtp(t),m=t.id,E=Math.floor(n/(nr+1)),I=Math.floor(n%(nr+1));return It.box(It.types.traf,It.box(It.types.tfhd,new Uint8Array([0,0,0,0,m>>24,m>>16&255,m>>8&255,m&255])),It.box(It.types.tfdt,new Uint8Array([1,0,0,0,E>>24,E>>16&255,E>>8&255,E&255,I>>24,I>>16&255,I>>8&255,I&255])),It.trun(t,s.length+16+20+8+16+8+8),s)}static trak(t){return t.duration=t.duration||4294967295,It.box(It.types.trak,It.tkhd(t),It.mdia(t))}static trex(t){const n=t.id;return It.box(It.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,I=new Uint8Array(E);let z,X,W,le,pe,Ee;for(n+=8+E,I.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),z=0;z<m;z++)X=s[z],W=X.duration,le=X.size,pe=X.flags,Ee=X.cts,I.set([W>>>24&255,W>>>16&255,W>>>8&255,W&255,le>>>24&255,le>>>16&255,le>>>8&255,le&255,pe.isLeading<<2|pe.dependsOn,pe.isDependedOn<<6|pe.hasRedundancy<<4|pe.paddingValue<<1|pe.isNonSync,pe.degradPrio&61440,pe.degradPrio&15,Ee>>>24&255,Ee>>>16&255,Ee>>>8&255,Ee&255],12+16*z);return It.box(It.types.trun,I)}static initSegment(t){It.types||It.init();const n=It.moov(t);return Ce(It.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 I=E.length;for(let Ue=0;Ue<s.length;Ue+=1){I+=3;for(let ut=0;ut<s[Ue].length;ut+=1)I+=2+s[Ue][ut].length}const z=new Uint8Array(I);z.set(E,0),I=E.length;const X=s.length-1;for(let Ue=0;Ue<s.length;Ue+=1){z.set(new Uint8Array([32+Ue|(Ue===X?128:0),0,s[Ue].length]),I),I+=3;for(let ut=0;ut<s[Ue].length;ut+=1)z.set(new Uint8Array([s[Ue][ut].length>>8,s[Ue][ut].length&255]),I),I+=2,z.set(s[Ue][ut],I),I+=s[Ue][ut].length}const W=It.box(It.types.hvcC,z),le=t.width,pe=t.height,Ee=t.pixelRatio[0],Oe=t.pixelRatio[1];return It.box(It.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,le>>8&255,le&255,pe>>8&255,pe&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]),W,It.box(It.types.btrt,new Uint8Array([0,28,156,128,0,45,198,192,0,45,198,192])),It.box(It.types.pasp,new Uint8Array([Ee>>24,Ee>>16&255,Ee>>8&255,Ee&255,Oe>>24,Oe>>16&255,Oe>>8&255,Oe&255])))}}It.types=void 0,It.HDLR_TYPES=void 0,It.STTS=void 0,It.STSC=void 0,It.STCO=void 0,It.STSZ=void 0,It.VMHD=void 0,It.SMHD=void 0,It.STSD=void 0,It.FTYP=void 0,It.DINF=void 0;const Hr=9e4;function un(O,t,n=1,s=!1){const m=O*t*n;return s?Math.round(m):m}function Pn(O,t,n=1,s=!1){return un(O,t,1/n,s)}function Kn(O,t=!1){return un(O,1e3,1/Hr,t)}function ei(O,t=1){return un(O,Hr,1/t)}const Fi=10*1e3,Pa=1024,xa=1152,Aa=1536;let ns=null,ys=null;function js(O,t,n,s){return{duration:t,size:n,cts:s,flags:{isLeading:0,isDependedOn:0,hasRedundancy:0,degradPrio:0,dependsOn:O?2:1,isNonSync:O?0:1}}}class ls extends R{constructor(t,n,s,m){if(super("mp4-remuxer",m),this.observer=void 0,this.config=void 0,this.typeSupported=void 0,this.ISGenerated=!1,this._initPTS=null,this._initDTS=null,this.nextVideoTs=null,this.nextAudioTs=null,this.videoSampleDuration=null,this.isAudioContiguous=!1,this.isVideoContiguous=!1,this.videoTrackConfig=void 0,this.observer=t,this.config=n,this.typeSupported=s,this.ISGenerated=!1,ns===null){const I=(navigator.userAgent||"").match(/Chrome\/(\d+)/i);ns=I?parseInt(I[1]):0}if(ys===null){const E=navigator.userAgent.match(/Safari\/(\d+)/i);ys=E?parseInt(E[1]):0}}destroy(){this.config=this.videoTrackConfig=this._initPTS=this._initDTS=null}resetTimeStamp(t){this.log("initPTS & initDTS reset"),this._initPTS=this._initDTS=t}resetNextTimestamp(){this.log("reset next timestamp"),this.isVideoContiguous=!1,this.isAudioContiguous=!1}resetInitSegment(){this.log("ISGenerated flag reset"),this.ISGenerated=!1,this.videoTrackConfig=void 0}getVideoStartPts(t){let n=!1;const s=t[0].pts,m=t.reduce((E,I)=>{let z=I.pts,X=z-E;return X<-4294967296&&(n=!0,z=ha(z,s),X=z-E),X>0?E:z},s);return n&&this.debug("PTS rollover detected"),m}remux(t,n,s,m,E,I,z,X){let W,le,pe,Ee,Oe,Ue,ut=E,lt=E;const Nt=t.pid>-1,pr=n.pid>-1,sr=n.samples.length,Fr=t.samples.length>0,Yr=z&&sr>0||sr>1;if((!Nt||Fr)&&(!pr||Yr)||this.ISGenerated||z){if(this.ISGenerated){var Wr,an,fn,Gr;const da=this.videoTrackConfig;(da&&(n.width!==da.width||n.height!==da.height||((Wr=n.pixelRatio)==null?void 0:Wr[0])!==((an=da.pixelRatio)==null?void 0:an[0])||((fn=n.pixelRatio)==null?void 0:fn[1])!==((Gr=da.pixelRatio)==null?void 0:Gr[1]))||!da&&Yr||this.nextAudioTs===null&&Fr)&&this.resetInitSegment()}this.ISGenerated||(pe=this.generateIS(t,n,E,I));const Sn=this.isVideoContiguous;let yi=-1,Ji;if(Yr&&(yi=io(n.samples),!Sn&&this.config.forceKeyFrameOnDiscontinuity))if(Ue=!0,yi>0){this.warn(`Dropped ${yi} out of ${sr} video samples due to a missing keyframe`);const da=this.getVideoStartPts(n.samples);n.samples=n.samples.slice(yi),n.dropped+=yi,lt+=(n.samples[0].pts-da)/n.inputTimeScale,Ji=lt}else yi===-1&&(this.warn(`No keyframe found out of ${sr} video samples`),Ue=!1);if(this.ISGenerated){if(Fr&&Yr){const da=this.getVideoStartPts(n.samples),Ii=(ha(t.samples[0].pts,da)-da)/n.inputTimeScale;ut+=Math.max(0,Ii),lt+=Math.max(0,-Ii)}if(Fr){if(t.samplerate||(this.warn("regenerate InitSegment as audio detected"),pe=this.generateIS(t,n,E,I)),le=this.remuxAudio(t,ut,this.isAudioContiguous,I,pr||Yr||X===u.AUDIO?lt:void 0),Yr){const da=le?le.endPTS-le.startPTS:0;n.inputTimeScale||(this.warn("regenerate InitSegment as video detected"),pe=this.generateIS(t,n,E,I)),W=this.remuxVideo(n,lt,Sn,da)}}else Yr&&(W=this.remuxVideo(n,lt,Sn,0));W&&(W.firstKeyFrame=yi,W.independent=yi!==-1,W.firstKeyFramePTS=Ji)}}return this.ISGenerated&&this._initPTS&&this._initDTS&&(s.samples.length&&(Oe=Xs(s,E,this._initPTS,this._initDTS)),m.samples.length&&(Ee=Ai(m,E,this._initPTS))),{audio:le,video:W,initSegment:pe,independent:Ue,text:Ee,id3:Oe}}generateIS(t,n,s,m){const E=t.samples,I=n.samples,z=this.typeSupported,X={},W=this._initPTS;let le=!W||m,pe="audio/mp4",Ee,Oe,Ue,ut=-1;if(le&&(Ee=Oe=1/0),t.config&&E.length){switch(t.timescale=t.samplerate,t.segmentCodec){case"mp3":z.mpeg?(pe="audio/mpeg",t.codec=""):z.mp3&&(t.codec="mp3");break;case"ac3":t.codec="ac-3";break}X.audio={id:"audio",container:pe,codec:t.codec,initSegment:t.segmentCodec==="mp3"&&z.mpeg?new Uint8Array(0):It.initSegment([t]),metadata:{channelCount:t.channelCount}},le&&(ut=t.id,Ue=t.inputTimeScale,!W||Ue!==W.timescale?Ee=Oe=E[0].pts-Math.round(Ue*s):le=!1)}if(n.sps&&n.pps&&I.length){if(n.timescale=n.inputTimeScale,X.video={id:"main",container:"video/mp4",codec:n.codec,initSegment:It.initSegment([n]),metadata:{width:n.width,height:n.height}},le)if(ut=n.id,Ue=n.inputTimeScale,!W||Ue!==W.timescale){const lt=this.getVideoStartPts(I),Nt=Math.round(Ue*s);Oe=Math.min(Oe,ha(I[0].dts,lt)-Nt),Ee=Math.min(Ee,lt-Nt)}else le=!1;this.videoTrackConfig={width:n.width,height:n.height,pixelRatio:n.pixelRatio}}if(Object.keys(X).length)return this.ISGenerated=!0,le?(W&&this.warn(`Timestamps at playlist time: ${m?"":"~"}${s} ${Ee/Ue} != initPTS: ${W.baseTime/W.timescale} (${W.baseTime}/${W.timescale}) trackId: ${W.trackId}`),this.log(`Found initPTS at playlist time: ${s} offset: ${Ee/Ue} (${Ee}/${Ue}) trackId: ${ut}`),this._initPTS={baseTime:Ee,timescale:Ue,trackId:ut},this._initDTS={baseTime:Oe,timescale:Ue,trackId:ut}):Ee=Ue=void 0,{tracks:X,initPTS:Ee,timescale:Ue,trackId:ut}}remuxVideo(t,n,s,m){const E=t.inputTimeScale,I=t.samples,z=[],X=I.length,W=this._initPTS,le=W.baseTime*E/W.timescale;let pe=this.nextVideoTs,Ee=8,Oe=this.videoSampleDuration,Ue,ut,lt=Number.POSITIVE_INFINITY,Nt=Number.NEGATIVE_INFINITY,pr=!1;if(!s||pe===null){const mi=le+n*E,vi=I[0].pts-ha(I[0].dts,I[0].pts);ns&&pe!==null&&Math.abs(mi-vi-(pe+le))<15e3?s=!0:pe=mi-vi-le}const sr=pe+le;for(let mi=0;mi<X;mi++){const vi=I[mi];vi.pts=ha(vi.pts,sr),vi.dts=ha(vi.dts,sr),vi.dts<I[mi>0?mi-1:mi].dts&&(pr=!0)}pr&&I.sort(function(mi,vi){const cs=mi.dts-vi.dts,po=mi.pts-vi.pts;return cs||po}),Ue=I[0].dts,ut=I[I.length-1].dts;const Fr=ut-Ue,Yr=Fr?Math.round(Fr/(X-1)):Oe||t.inputTimeScale/30;if(s){const mi=Ue-sr,vi=mi>Yr,cs=mi<-1;if((vi||cs)&&(vi?this.warn(`${(t.segmentCodec||"").toUpperCase()}: ${Kn(mi,!0)} ms (${mi}dts) hole between fragments detected at ${n.toFixed(3)}`):this.warn(`${(t.segmentCodec||"").toUpperCase()}: ${Kn(-mi,!0)} ms (${mi}dts) overlapping between fragments detected at ${n.toFixed(3)}`),!cs||sr>=I[0].pts||ns)){Ue=sr;const po=I[0].pts-mi;if(vi)I[0].dts=Ue,I[0].pts=po;else{let xs=!0;for(let qs=0;qs<I.length&&!(I[qs].dts>po&&xs);qs++){const Lu=I[qs].pts;if(I[qs].dts-=mi,I[qs].pts-=mi,qs<I.length-1){const Tu=I[qs+1].pts,rc=I[qs].pts,jc=Tu<=rc,hf=Tu<=Lu;xs=jc==hf}}}this.log(`Video: Initial PTS/DTS adjusted: ${Kn(po,!0)}/${Kn(Ue,!0)}, delta: ${Kn(mi,!0)} ms`)}}Ue=Math.max(0,Ue);let vn=0,Wr=0,an=Ue;for(let mi=0;mi<X;mi++){const vi=I[mi],cs=vi.units,po=cs.length;let xs=0;for(let qs=0;qs<po;qs++)xs+=cs[qs].data.length;Wr+=xs,vn+=po,vi.length=xs,vi.dts<an?(vi.dts=an,an+=Yr/4|0||1):an=vi.dts,lt=Math.min(vi.pts,lt),Nt=Math.max(vi.pts,Nt)}ut=I[X-1].dts;const fn=Wr+4*vn+8;let Gr;try{Gr=new Uint8Array(fn)}catch(mi){this.observer.emit(o.ERROR,o.ERROR,{type:c.MUX_ERROR,details:f.REMUX_ALLOC_ERROR,fatal:!1,error:mi,bytes:fn,reason:`fail allocating video mdat ${fn}`});return}const Sn=new DataView(Gr.buffer);Sn.setUint32(0,fn),Gr.set(It.types.mdat,4);let yi=!1,Ji=Number.POSITIVE_INFINITY,da=Number.POSITIVE_INFINITY,Ei=Number.NEGATIVE_INFINITY,Ii=Number.NEGATIVE_INFINITY;for(let mi=0;mi<X;mi++){const vi=I[mi],cs=vi.units;let po=0;for(let Lu=0,Tu=cs.length;Lu<Tu;Lu++){const rc=cs[Lu],jc=rc.data,hf=rc.data.byteLength;Sn.setUint32(Ee,hf),Ee+=4,Gr.set(jc,Ee),Ee+=hf,po+=4+hf}let xs;if(mi<X-1)Oe=I[mi+1].dts-vi.dts,xs=I[mi+1].pts-vi.pts;else{const Lu=this.config,Tu=mi>0?vi.dts-I[mi-1].dts:Yr;if(xs=mi>0?vi.pts-I[mi-1].pts:Yr,Lu.stretchShortVideoTrack&&this.nextAudioTs!==null){const rc=Math.floor(Lu.maxBufferHole*E),jc=(m?lt+m*E:this.nextAudioTs+le)-vi.pts;jc>rc?(Oe=jc-Tu,Oe<0?Oe=Tu:yi=!0,this.log(`It is approximately ${jc/90} ms to the next segment; using duration ${Oe/90} ms for the last video frame.`)):Oe=Tu}else Oe=Tu}const qs=Math.round(vi.pts-vi.dts);Ji=Math.min(Ji,Oe),Ei=Math.max(Ei,Oe),da=Math.min(da,xs),Ii=Math.max(Ii,xs),z.push(js(vi.key,Oe,po,qs))}if(z.length){if(ns){if(ns<70){const mi=z[0].flags;mi.dependsOn=2,mi.isNonSync=0}}else if(ys&&Ii-da<Ei-Ji&&Yr/Ei<.025&&z[0].cts===0){this.warn("Found irregular gaps in sample duration. Using PTS instead of DTS to determine MP4 sample duration.");let mi=Ue;for(let vi=0,cs=z.length;vi<cs;vi++){const po=mi+z[vi].duration,xs=mi+z[vi].cts;if(vi<cs-1){const qs=po+z[vi+1].cts;z[vi].duration=qs-xs}else z[vi].duration=vi?z[vi-1].duration:Yr;z[vi].cts=0,mi=po}}}Oe=yi||!Oe?Yr:Oe;const zi=ut+Oe;this.nextVideoTs=pe=zi-le,this.videoSampleDuration=Oe,this.isVideoContiguous=!0;const Za={data1:It.moof(t.sequenceNumber++,Ue,y(t,{samples:z})),data2:Gr,startPTS:(lt-le)/E,endPTS:(Nt+Oe-le)/E,startDTS:(Ue-le)/E,endDTS:pe/E,type:"video",hasAudio:!1,hasVideo:!0,nb:z.length,dropped:t.dropped};return t.samples=[],t.dropped=0,Za}getSamplesPerFrame(t){switch(t.segmentCodec){case"mp3":return xa;case"ac3":return Aa;default:return Pa}}remuxAudio(t,n,s,m,E){const I=t.inputTimeScale,z=t.samplerate?t.samplerate:I,X=I/z,W=this.getSamplesPerFrame(t),le=W*X,pe=this._initPTS,Ee=t.segmentCodec==="mp3"&&this.typeSupported.mpeg,Oe=[],Ue=E!==void 0;let ut=t.samples,lt=Ee?0:8,Nt=this.nextAudioTs||-1;const pr=pe.baseTime*I/pe.timescale,sr=pr+n*I;if(this.isAudioContiguous=s=s||ut.length&&Nt>0&&(m&&Math.abs(sr-(Nt+pr))<9e3||Math.abs(ha(ut[0].pts,sr)-(Nt+pr))<20*le),ut.forEach(function(Ii){Ii.pts=ha(Ii.pts,sr)}),!s||Nt<0){if(ut=ut.filter(Ii=>Ii.pts>=0),!ut.length)return;E===0?Nt=0:m&&!Ue?Nt=Math.max(0,sr-pr):Nt=ut[0].pts-pr}if(t.segmentCodec==="aac"){const Ii=this.config.maxAudioFramesDrift;for(let zi=0,Zi=Nt+pr;zi<ut.length;zi++){const ya=ut[zi],Za=ya.pts,mi=Za-Zi,vi=Math.abs(1e3*mi/I);if(mi<=-Ii*le&&Ue)zi===0&&(this.warn(`Audio frame @ ${(Za/I).toFixed(3)}s overlaps marker by ${Math.round(1e3*mi/I)} ms.`),this.nextAudioTs=Nt=Za-pr,Zi=Za);else if(mi>=Ii*le&&vi<Fi&&Ue){let cs=Math.round(mi/le);for(Zi=Za-cs*le;Zi<0&&cs&≤)cs--,Zi+=le;zi===0&&(this.nextAudioTs=Nt=Zi-pr),this.warn(`Injecting ${cs} audio frames @ ${((Zi-pr)/I).toFixed(3)}s due to ${Math.round(1e3*mi/I)} ms gap.`);for(let po=0;po<cs;po++){let xs=Ut.getSilentFrame(t.parsedCodec||t.manifestCodec||t.codec,t.channelCount);xs||(this.log("Unable to get silent frame for given audio codec; duplicating last frame instead."),xs=ya.unit.subarray()),ut.splice(zi,0,{unit:xs,pts:Zi}),Zi+=le,zi++}}ya.pts=Zi,Zi+=le}}let Fr=null,Yr=null,vn,Wr=0,an=ut.length;for(;an--;)Wr+=ut[an].unit.byteLength;for(let Ii=0,zi=ut.length;Ii<zi;Ii++){const Zi=ut[Ii],ya=Zi.unit;let Za=Zi.pts;if(Yr!==null){const vi=Oe[Ii-1];vi.duration=Math.round((Za-Yr)/X)}else if(s&&t.segmentCodec==="aac"&&(Za=Nt+pr),Fr=Za,Wr>0){Wr+=lt;try{vn=new Uint8Array(Wr)}catch(vi){this.observer.emit(o.ERROR,o.ERROR,{type:c.MUX_ERROR,details:f.REMUX_ALLOC_ERROR,fatal:!1,error:vi,bytes:Wr,reason:`fail allocating audio mdat ${Wr}`});return}Ee||(new DataView(vn.buffer).setUint32(0,Wr),vn.set(It.types.mdat,4))}else return;vn.set(ya,lt);const mi=ya.byteLength;lt+=mi,Oe.push(js(!0,W,mi,0)),Yr=Za}const fn=Oe.length;if(!fn)return;const Gr=Oe[Oe.length-1];Nt=Yr-pr,this.nextAudioTs=Nt+X*Gr.duration;const Sn=Ee?new Uint8Array(0):It.moof(t.sequenceNumber++,Fr/X,y({},t,{samples:Oe}));t.samples=[];const yi=(Fr-pr)/I,Ji=Nt/I,Ei={data1:Sn,data2:vn,startPTS:yi,endPTS:Ji,startDTS:yi,endDTS:Ji,type:"audio",hasAudio:!0,hasVideo:!1,nb:fn};return this.isAudioContiguous=!0,Ei}}function ha(O,t){let n;if(t===null)return O;for(t<O?n=-8589934592:n=8589934592;Math.abs(O-t)>4294967296;)O+=n;return O}function io(O){for(let t=0;t<O.length;t++)if(O[t].key)return t;return-1}function Xs(O,t,n,s){const m=O.samples.length;if(!m)return;const E=O.inputTimeScale;for(let z=0;z<m;z++){const X=O.samples[z];X.pts=ha(X.pts-n.baseTime*E/n.timescale,t*E)/E,X.dts=ha(X.dts-s.baseTime*E/s.timescale,t*E)/E}const I=O.samples;return O.samples=[],{samples:I}}function Ai(O,t,n){const s=O.samples.length;if(!s)return;const m=O.inputTimeScale;for(let I=0;I<s;I++){const z=O.samples[I];z.pts=ha(z.pts-n.baseTime*m/n.timescale,t*m)/m}O.samples.sort((I,z)=>I.pts-z.pts);const E=O.samples;return O.samples=[],{samples:E}}class Ro extends R{constructor(t,n,s,m){super("passthrough-remuxer",m),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}destroy(){}resetTimeStamp(t){this.lastEndTime=null;const n=this.initPTS;n&&t&&n.baseTime===t.baseTime&&n.timescale===t.timescale||(this.initPTS=t)}resetNextTimestamp(){this.isVideoContiguous=!1,this.lastEndTime=null}resetInitSegment(t,n,s,m){this.audioCodec=n,this.videoCodec=s,this.generateInitSegment(rt(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=eo(m.audio,ie.AUDIO,this)),m.video&&(s=eo(m.video,ie.VIDEO,this));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.warn("initSegment does not contain moov or trak boxes."),this.initTracks=E}remux(t,n,s,m,E,I){var z,X;let{initPTS:W,lastEndTime:le}=this;const pe={audio:void 0,video:void 0,text:m,id3:s,initSegment:void 0};r(le)||(le=this.lastEndTime=E||0);const Ee=n.samples;if(!(Ee!=null&&Ee.length))return pe;const Oe={initPTS:void 0,timescale:void 0,trackId:void 0};let Ue=this.initData;if((z=Ue)!=null&&z.length||(this.generateInitSegment(Ee),Ue=this.initData),!((X=Ue)!=null&&X.length))return this.warn("Failed to generate initSegment."),pe;this.emitInitSegment&&(Oe.tracks=this.initTracks,this.emitInitSegment=!1);const ut=Kt(Ee,Ue,this),lt=Ue.audio?ut[Ue.audio.id]:null,Nt=Ue.video?ut[Ue.video.id]:null,pr=Po(Nt,1/0),sr=Po(lt,1/0),Fr=Po(Nt,0,!0),Yr=Po(lt,0,!0);let vn=E,Wr=0;const an=lt&&(!Nt||!W&&sr<pr||W&&W.trackId===Ue.audio.id),fn=an?lt:Nt;if(fn){const zi=fn.timescale,Zi=fn.start-E*zi,ya=an?Ue.audio.id:Ue.video.id;vn=fn.start/zi,Wr=an?Yr-sr:Fr-pr,(I||!W)&&(xu(W,vn,E,Wr)||zi!==W.timescale)&&(W&&this.warn(`Timestamps at playlist time: ${I?"":"~"}${E} ${Zi/zi} != initPTS: ${W.baseTime/W.timescale} (${W.baseTime}/${W.timescale}) trackId: ${W.trackId}`),this.log(`Found initPTS at playlist time: ${E} offset: ${vn-E} (${Zi}/${zi}) trackId: ${ya}`),W=null,Oe.initPTS=Zi,Oe.timescale=zi,Oe.trackId=ya)}else this.warn(`No audio or video samples found for initPTS at playlist time: ${E}`);W?(Oe.initPTS=W.baseTime,Oe.timescale=W.timescale,Oe.trackId=W.trackId):((!Oe.timescale||Oe.trackId===void 0||Oe.initPTS===void 0)&&(this.warn("Could not set initPTS"),Oe.initPTS=vn,Oe.timescale=1,Oe.trackId=-1),this.initPTS=W={baseTime:Oe.initPTS,timescale:Oe.timescale,trackId:Oe.trackId});const Gr=t?vn-W.baseTime/W.timescale:le,Sn=Gr+Wr;Wr>0?this.lastEndTime=Sn:(this.warn("Duration parsed from mp4 should be greater than zero"),this.resetNextTimestamp());const yi=!!Ue.audio,Ji=!!Ue.video;let da="";yi&&(da+="audio"),Ji&&(da+="video");const Ei={data1:Ee,startPTS:Gr,startDTS:Gr,endPTS:Sn,endDTS:Sn,type:da,hasAudio:yi,hasVideo:Ji,nb:1,dropped:0};pe.audio=yi&&!Ji?Ei:void 0,pe.video=Ji?Ei:void 0;const Ii=Nt==null?void 0:Nt.sampleCount;if(Ii){const zi=Nt.keyFrameIndex,Zi=zi!==-1;Ei.nb=Ii,Ei.dropped=zi===0||this.isVideoContiguous?0:Zi?zi:Ii,Ei.independent=Zi,Ei.firstKeyFrame=zi,Zi&&Nt.keyFrameStart&&(Ei.firstKeyFramePTS=(Nt.keyFrameStart-W.baseTime)/W.timescale),this.isVideoContiguous||(pe.independent=Zi),this.isVideoContiguous||(this.isVideoContiguous=Zi),Ei.dropped&&this.warn(`fmp4 does not start with IDR: firstIDR ${zi}/${Ii} dropped: ${Ei.dropped} start: ${Ei.firstKeyFramePTS||"NA"}`)}return pe.initSegment=Oe,pe.id3=Xs(s,E,W,W),m.samples.length&&(pe.text=Ai(m,E,W)),pe}}function Po(O,t,n=!1){return(O==null?void 0:O.start)!==void 0?(O.start+(n?O.duration:0))/O.timescale:t}function xu(O,t,n,s){if(O===null)return!0;const m=Math.max(s,1),E=t-O.baseTime/O.timescale;return Math.abs(E-n)>m}function eo(O,t,n){const s=O==null?void 0:O.codec;return s&&s.length>4?s:t===ie.AUDIO?s==="ec-3"||s==="ac-3"||s==="alac"?s:s==="fLaC"||s==="Opus"?mt(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 to;try{to=self.performance.now.bind(self.performance)}catch(O){to=Date.now}const ao=[{demux:To,remux:Ro},{demux:Z,remux:ls},{demux:jn,remux:ls},{demux:ia,remux:ls}];ao.splice(2,0,{demux:Vn,remux:ls});class Fl{constructor(t,n,s,m,E,I){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=I}configure(t){this.transmuxConfig=t,this.decrypter&&this.decrypter.reset()}push(t,n,s,m){const E=s.transmuxing;E.executeStart=to();let I=new Uint8Array(t);const{currentTransmuxState:z,transmuxConfig:X}=this;m&&(this.currentTransmuxState=m);const{contiguous:W,discontinuity:le,trackSwitch:pe,accurateTimeOffset:Ee,timeOffset:Oe,initSegmentChange:Ue}=m||z,{audioCodec:ut,videoCodec:lt,defaultInitPts:Nt,duration:pr,initSegmentData:sr}=X,Fr=gl(I,n);if(Fr&&Yi(Fr.method)){const an=this.getDecrypter(),fn=Xa(Fr.method);if(an.isSync()){let Gr=an.softwareDecrypt(I,Fr.key.buffer,Fr.iv.buffer,fn);if(s.part>-1){const yi=an.flush();Gr=yi&&yi.buffer}if(!Gr)return E.executeEnd=to(),tl(s);I=new Uint8Array(Gr)}else return this.asyncResult=!0,this.decryptionPromise=an.webCryptoDecrypt(I,Fr.key.buffer,Fr.iv.buffer,fn).then(Gr=>{const Sn=this.push(Gr,null,s);return this.decryptionPromise=null,Sn}),this.decryptionPromise}const Yr=this.needsProbing(le,pe);if(Yr){const an=this.configureTransmuxer(I);if(an)return this.logger.warn(`[transmuxer] ${an.message}`),this.observer.emit(o.ERROR,o.ERROR,{type:c.MEDIA_ERROR,details:f.FRAG_PARSING_ERROR,fatal:!1,error:an,reason:an.message}),E.executeEnd=to(),tl(s)}(le||pe||Ue||Yr)&&this.resetInitSegment(sr,ut,lt,pr,n),(le||Ue||Yr)&&this.resetInitialTimestamp(Nt),W||this.resetContiguity();const vn=this.transmux(I,Fr,Oe,Ee,s);this.asyncResult=Eu(vn);const Wr=this.currentTransmuxState;return Wr.contiguous=!0,Wr.discontinuity=!1,Wr.trackSwitch=!1,E.executeEnd=to(),vn}flush(t){const n=t.transmuxing;n.executeStart=to();const{decrypter:s,currentTransmuxState:m,decryptionPromise:E}=this;if(E)return this.asyncResult=!0,E.then(()=>this.flush(t));const I=[],{timeOffset:z}=m;if(s){const pe=s.flush();pe&&I.push(this.push(pe.buffer,null,t))}const{demuxer:X,remuxer:W}=this;if(!X||!W){n.executeEnd=to();const pe=[tl(t)];return this.asyncResult?Promise.resolve(pe):pe}const le=X.flush(z);return Eu(le)?(this.asyncResult=!0,le.then(pe=>(this.flushRemux(I,pe,t),I))):(this.flushRemux(I,le,t),this.asyncResult?Promise.resolve(I):I)}flushRemux(t,n,s){const{audioTrack:m,videoTrack:E,id3Track:I,textTrack:z}=n,{accurateTimeOffset:X,timeOffset:W}=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 le=this.remuxer.remux(m,E,I,z,W,X,!0,this.id);t.push({remuxResult:le,chunkMeta:s}),s.transmuxing.executeEnd=to()}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:I,remuxer:z}=this;!I||!z||(I.resetInitSegment(t,n,s,m),z.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 I;return n&&n.method==="SAMPLE-AES"?I=this.transmuxSampleAes(t,n,s,m,E):I=this.transmuxUnencrypted(t,s,m,E),I}transmuxUnencrypted(t,n,s,m){const{audioTrack:E,videoTrack:I,id3Track:z,textTrack:X}=this.demuxer.demux(t,n,!1,!this.config.progressive);return{remuxResult:this.remuxer.remux(E,I,z,X,n,s,!1,this.id),chunkMeta:m}}transmuxSampleAes(t,n,s,m,E){return this.demuxer.demuxSampleAes(t,n,s).then(I=>({remuxResult:this.remuxer.remux(I.audioTrack,I.videoTrack,I.id3Track,I.textTrack,s,m,!1,this.id),chunkMeta:E}))}configureTransmuxer(t){const{config:n,observer:s,typeSupported:m}=this;let E;for(let pe=0,Ee=ao.length;pe<Ee;pe++){var I;if((I=ao[pe].demux)!=null&&I.probe(t,this.logger)){E=ao[pe];break}}if(!E)return new Error("Failed to find demuxer by probing fragment data");const z=this.demuxer,X=this.remuxer,W=E.remux,le=E.demux;(!X||!(X instanceof W))&&(this.remuxer=new W(s,n,m,this.logger)),(!z||!(z instanceof le))&&(this.demuxer=new le(s,n,m,this.logger),this.probe=le.probe)}needsProbing(t,n){return!this.demuxer||!this.remuxer||t||n}getDecrypter(){let t=this.decrypter;return t||(t=this.decrypter=new gi(this.config)),t}}function gl(O,t){let n=null;return O.byteLength>0&&(t==null?void 0:t.key)!=null&&t.iv!==null&&t.method!=null&&(n=t),n}const tl=O=>({remuxResult:{},chunkMeta:O});function Eu(O){return"then"in O&&O.then instanceof Function}class lo{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 ll{constructor(t,n,s,m,E,I){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=I}}let Zu=0;class $o{constructor(t,n,s,m){this.error=null,this.hls=void 0,this.id=void 0,this.instanceNo=Zu++,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=X=>{const W=X.data,le=this.hls;if(!(!le||!(W!=null&&W.event)||W.instanceNo!==this.instanceNo))switch(W.event){case"init":{var pe;const Ee=(pe=this.workerContext)==null?void 0:pe.objectURL;Ee&&self.URL.revokeObjectURL(Ee);break}case"transmuxComplete":{this.handleTransmuxComplete(W.data);break}case"flush":{this.onFlush(W.data);break}case"workerLog":{le.logger[W.data.logType]&&le.logger[W.data.logType](W.data.message);break}default:{W.data=W.data||{},W.data.frag=this.frag,W.data.part=this.part,W.data.id=this.id,le.trigger(W.event,W.data);break}}},this.onWorkerError=X=>{if(!this.hls)return;const W=new Error(`${X.message} (${X.filename}:${X.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:W})};const E=t.config;this.hls=t,this.id=n,this.useWorker=!!E.enableWorker,this.onTransmuxComplete=s,this.onFlush=m;const I=(X,W)=>{W=W||{},W.frag=this.frag||void 0,X===o.ERROR&&(W=W,W.parent=this.id,W.part=this.part,this.error=W.error),this.hls.trigger(X,W)};this.observer=new Ms,this.observer.on(o.FRAG_DECRYPTED,I),this.observer.on(o.ERROR,I);const z=tn(E.preferManagedMediaSource);if(this.useWorker&&typeof Worker!="undefined"){const X=this.hls.logger;if(E.workerPath||yo()){try{E.workerPath?(X.log(`loading Web Worker ${E.workerPath} for "${n}"`),this.workerContext=Ws(E.workerPath)):(X.log(`injecting Web Worker for "${n}"`),this.workerContext=zn());const{worker:le}=this.workerContext;le.addEventListener("message",this.onWorkerMessage),le.addEventListener("error",this.onWorkerError),le.postMessage({instanceNo:this.instanceNo,cmd:"init",typeSupported:z,id:n,config:Xn(E)})}catch(le){X.warn(`Error setting up "${n}" Web Worker, fallback to inline`,le),this.terminateWorker(),this.error=null,this.transmuxer=new Fl(this.observer,z,E,"",n,t.logger)}return}}this.transmuxer=new Fl(this.observer,z,E,"",n,t.logger)}reset(){if(this.frag=null,this.part=null,this.workerContext){const t=this.instanceNo;this.instanceNo=Zu++;const n=this.hls.config,s=tn(n.preferManagedMediaSource);this.workerContext.worker.postMessage({instanceNo:this.instanceNo,cmd:"reset",resetNo:t,typeSupported:s,id:this.id,config:Xn(n)})}}terminateWorker(){if(this.workerContext){const{worker:t}=this.workerContext;this.workerContext=null,t.removeEventListener("message",this.onWorkerMessage),t.removeEventListener("error",this.onWorkerError),uo(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,I,z,X,W,le){var pe,Ee;W.transmuxing.start=self.performance.now();const{instanceNo:Oe,transmuxer:Ue}=this,ut=I?I.start:E.start,lt=E.decryptdata,Nt=this.frag,pr=!(Nt&&E.cc===Nt.cc),sr=!(Nt&&W.level===Nt.level),Fr=Nt?W.sn-Nt.sn:-1,Yr=this.part?W.part-this.part.index:-1,vn=Fr===0&&W.id>1&&W.id===(Nt==null?void 0:Nt.stats.chunkCount),Wr=!sr&&(Fr===1||Fr===0&&(Yr===1||vn&&Yr<=0)),an=self.performance.now();(sr||Fr||E.stats.parsing.start===0)&&(E.stats.parsing.start=an),I&&(Yr||!Wr)&&(I.stats.parsing.start=an);const fn=!(Nt&&((pe=E.initSegment)==null?void 0:pe.url)===((Ee=Nt.initSegment)==null?void 0:Ee.url)),Gr=new ll(pr,Wr,X,sr,ut,fn);if(!Wr||pr||fn){this.hls.logger.log(`[transmuxer-interface]: Starting new transmux session for ${E.type} sn: ${W.sn}${W.part>-1?" part: "+W.part:""} ${this.id===u.MAIN?"level":"track"}: ${W.level} id: ${W.id}
|
|
|
discontinuity: ${pr}
|
|
|
trackSwitch: ${sr}
|
|
|
contiguous: ${Wr}
|
|
|
accurateTimeOffset: ${X}
|
|
|
timeOffset: ${ut}
|
|
|
initSegmentChange: ${fn}`);const Sn=new lo(s,m,n,z,le);this.configureTransmuxer(Sn)}if(this.frag=E,this.part=I,this.workerContext)this.workerContext.worker.postMessage({instanceNo:Oe,cmd:"demux",data:t,decryptdata:lt,chunkMeta:W,state:Gr},t instanceof ArrayBuffer?[t]:[]);else if(Ue){const Sn=Ue.push(t,lt,W,Gr);Eu(Sn)?Sn.then(yi=>{this.handleTransmuxComplete(yi)}).catch(yi=>{this.transmuxerError(yi,W,"transmuxer-interface push error")}):this.handleTransmuxComplete(Sn)}}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);Eu(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 wl=100;class Bl extends oa{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,trackId:I}){if(s===u.MAIN){const z=n.cc,X=this.fragCurrent;if(this.initPTS[z]={baseTime:m,timescale:E,trackId:I},this.log(`InitPTS for cc: ${z} found from main: ${m/E} (${m}/${E}) trackId: ${I}`),this.mainAnchor=n,this.state===Jt.WAITING_INIT_PTS){const W=this.waitingData;(!W&&!this.loadingParts||W&&W.frag.cc!==z)&&this.syncWithAnchor(n,W==null?void 0:W.frag)}else!this.hls.hasEnoughToStart&&X&&X.cc!==z?(X.abortRequests(),this.syncWithAnchor(n,X)):this.state===Jt.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,I=this.getLevelDetails(),z=this.getLoadPosition(),X=Ot(I,E,z);X&&(this.log(`Syncing with main frag at ${X.start} cc ${X.cc}`),this.startFragRequested=!1,this.nextLoadPosition=X.start,this.resetLoadingState(),this.state===Jt.IDLE&&this.doTickIdle())}startLoad(t,n){if(!this.levels){this.startPosition=t,this.state=Jt.STOPPED;return}const s=this.lastCurrentTime;this.stopLoad(),this.setInterval(wl),s>0&&t===-1?(this.log(`Override startPosition with lastCurrentTime @${s.toFixed(3)}`),t=s,this.state=Jt.IDLE):this.state=Jt.WAITING_TRACK,this.nextLoadPosition=this.lastCurrentTime=t+this.timelineOffset,this.startPosition=n?-1:t,this.tick()}doTick(){switch(this.state){case Jt.IDLE:this.doTickIdle();break;case Jt.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=Jt.WAITING_INIT_PTS}break}case Jt.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=Jt.IDLE}break}case Jt.WAITING_INIT_PTS:{const n=this.waitingData;if(n){const{frag:s,part:m,cache:E,complete:I}=n,z=this.mainAnchor;if(this.initPTS[s.cc]!==void 0){this.waitingData=null,this.state=Jt.FRAG_LOADING;const X=E.flush().buffer,W={frag:s,part:m,payload:X,networkDetails:null};this._handleFragmentLoadProgress(W),I&&super._handleFragmentLoadComplete(W)}else z&&z.cc!==n.frag.cc&&this.syncWithAnchor(z,n.frag)}else this.state=Jt.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,I=n.config;if(!this.buffering||!m&&!this.primaryPrefetch&&(this.startFragRequested||!I.startFragPrefetch)||!(s!=null&&s[E]))return;const z=s[E],X=z.details;if(!X||this.waitForLive(z)||this.waitForCdnTuneIn(X)){this.state=Jt.WAITING_TRACK,this.startFragRequested=!1;return}const W=this.mediaBuffer?this.mediaBuffer:this.media;this.bufferFlushed&&W&&(this.bufferFlushed=!1,this.afterBufferFlushed(W,ie.AUDIO,u.AUDIO));const le=this.getFwdBufferInfo(W,u.AUDIO);if(le===null)return;if(!this.switchingTrack&&this._streamEnded(le,X)){n.trigger(o.BUFFER_EOS,{type:"audio"}),this.state=Jt.ENDED;return}const pe=le.len,Ee=n.maxBufferLength,Oe=X.fragments,Ue=Oe[0].start,ut=this.getLoadPosition(),lt=this.flushing?ut:le.end;if(this.switchingTrack&&m){const sr=ut;X.PTSKnown&&sr<Ue&&(le.end>Ue||le.nextStart)&&(this.log("Alt audio track ahead of main track, seek to start of alt audio track"),m.currentTime=Ue+.05)}if(pe>=Ee&&!this.switchingTrack&<<Oe[Oe.length-1].start)return;let Nt=this.getNextFragment(lt,X);if(Nt&&this.isLoopLoading(Nt,lt)&&(Nt=this.getNextFragmentLoopLoading(Nt,X,le,u.MAIN,Ee)),!Nt){this.bufferFlushed=!0;return}let pr=((t=this.mainFragLoading)==null?void 0:t.frag)||null;if(!this.audioOnly&&this.startFragRequested&&pr&&Pe(Nt)&&!Nt.endList&&(!X.live||!this.loadingParts&<<this.hls.liveSyncPosition)&&(this.fragmentTracker.getState(pr)===Er.OK&&(this.mainFragLoading=pr=null),pr&&Pe(pr))){if(Nt.start>pr.end){const Fr=this.fragmentTracker.getFragAtPos(lt,u.MAIN);Fr&&Fr.end>pr.end&&(pr=Fr,this.mainFragLoading={frag:Fr,targetBufferTime:null})}if(Nt.start>pr.end)return}this.loadFragment(Nt,z,lt)}onMediaDetaching(t,n){this.bufferFlushed=this.flushing=!1,super.onMediaDetaching(t,n)}onAudioTracksUpdated(t,{audioTracks:n}){this.resetTransmuxer(),this.levels=n.map(s=>new cr(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!==Jt.STOPPED&&(this.setInterval(wl),this.state=Jt.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:I,groupId:z,track:X}=n;if(!m){this.warn(`Audio tracks reset while loading track ${I} "${X.name}" of "${z}"`);return}const W=this.mainDetails;if(!W||E.endCC>W.endCC||W.expired){this.cachedTrackLoadedData=n,this.state!==Jt.STOPPED&&(this.state=Jt.WAITING_TRACK);return}this.cachedTrackLoadedData=null,this.log(`Audio track ${I} "${X.name}" of "${z}" loaded [${E.startSN},${E.endSN}]${E.lastPartSn?`[part-${E.lastPartSn}-${E.lastPartIndex}]`:""},duration:${E.totalduration}`);const le=m[I];let pe=0;if(E.live||(s=le.details)!=null&&s.live){if(this.checkLiveUpdate(E),E.deltaUpdateFailed)return;if(le.details){var Ee;pe=this.alignPlaylists(E,le.details,(Ee=this.levelLastLoaded)==null?void 0:Ee.details)}E.alignedSliding||(Wn(E,W),E.alignedSliding||Li(E,W),pe=E.fragmentStart)}le.details=E,this.levelLastLoaded=le,this.startFragRequested||this.setStartPosition(W,pe),this.hls.trigger(o.AUDIO_TRACK_UPDATED,{details:E,id:I,groupId:n.groupId}),this.state===Jt.WAITING_TRACK&&!this.waitForCdnTuneIn(E)&&(this.state=Jt.IDLE),this.tick()}_handleFragmentLoadProgress(t){var n;const s=t.frag,{part:m,payload:E}=t,{config:I,trackId:z,levels:X}=this;if(!X){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 W=X[z];if(!W){this.warn("Audio track is undefined on fragment load progress");return}const le=W.details;if(!le){this.warn("Audio track details undefined on fragment load progress"),this.removeUnbufferedFrags(s.start);return}const pe=I.defaultAudioCodec||W.audioCodec||"mp4a.40.2";let Ee=this.transmuxer;Ee||(Ee=this.transmuxer=new $o(this.hls,u.AUDIO,this._handleTransmuxComplete.bind(this),this._handleTransmuxerFlush.bind(this)));const Oe=this.initPTS[s.cc],Ue=(n=s.initSegment)==null?void 0:n.data;if(Oe!==void 0){const lt=m?m.index:-1,Nt=lt!==-1,pr=new Ks(s.level,s.sn,s.stats.chunkCount,E.byteLength,lt,Nt);Ee.push(E,Ue,pe,"",s,m,le.totalduration,!1,pr,Oe)}else{this.log(`Unknown video PTS for cc ${s.cc}, waiting for video PTS before demuxing audio frag ${s.sn} of [${le.startSN} ,${le.endSN}],track ${z}`);const{cache:ut}=this.waitingData=this.waitingData||{frag:s,part:m,cache:new Ta,complete:!1};ut.push(new Uint8Array(E)),this.state!==Jt.STOPPED&&(this.state=Jt.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&&Pe(n.frag)&&(this.mainFragLoading=n,this.state===Jt.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(Pe(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=Jt.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===Jt.WAITING_TRACK&&((s=n.context)==null?void 0:s.type)===h.AUDIO_TRACK&&(this.state=Jt.IDLE);break;case f.BUFFER_ADD_CODEC_ERROR:case f.BUFFER_APPEND_ERROR:if(n.parent!=="audio")return;this.reduceLengthAndFlushBuffer(n)||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!==ie.VIDEO&&(this.flushing=!0)}onBufferFlushed(t,{type:n}){if(n!==ie.VIDEO){this.flushing=!1,this.bufferFlushed=!0,this.state===Jt.ENDED&&(this.state=Jt.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:I}=t,z=this.getCurrentContext(I);if(!z){this.resetWhenMissingContext(I);return}const{frag:X,part:W,level:le}=z,{details:pe}=le,{audio:Ee,text:Oe,id3:Ue,initSegment:ut}=E;if(this.fragContextChanged(X)||!pe){this.fragmentTracker.removeFragment(X);return}if(this.state=Jt.PARSING,this.switchingTrack&&Ee&&this.completeAudioSwitch(this.switchingTrack),ut!=null&&ut.tracks){const lt=X.initSegment||X;this._bufferInitSegment(le,ut.tracks,lt,I),m.trigger(o.FRAG_PARSING_INIT_SEGMENT,{frag:lt,id:s,tracks:ut.tracks})}if(Ee){const{startPTS:lt,endPTS:Nt,startDTS:pr,endDTS:sr}=Ee;W&&(W.elementaryStreams[ie.AUDIO]={startPTS:lt,endPTS:Nt,startDTS:pr,endDTS:sr}),X.setElementaryStreamInfo(ie.AUDIO,lt,Nt,pr,sr),this.bufferFragmentData(Ee,X,W,I)}if(Ue!=null&&(n=Ue.samples)!=null&&n.length){const lt=y({id:s,frag:X,details:pe},Ue);m.trigger(o.FRAG_PARSING_METADATA,lt)}if(Oe){const lt=y({id:s,frag:X,details:pe},Oe);m.trigger(o.FRAG_PARSING_USERDATA,lt)}}_bufferInitSegment(t,n,s,m){if(this.state!==Jt.PARSING||(n.video&&delete n.video,n.audiovideo&&delete n.audiovideo,!n.audio))return;const E=n.audio;E.id=u.AUDIO;const I=t.audioCodec;this.log(`Init audio buffer, container:${E.container}, codecs[level/parsed]=[${I}/${E.codec}]`),I&&I.split(",").length===1&&(E.levelCodec=I),this.hls.trigger(o.BUFFER_CODECS,n);const z=E.initSegment;if(z!=null&&z.byteLength){const X={type:"audio",frag:s,part:null,chunkMeta:m,parent:s.type,data:z};this.hls.trigger(o.BUFFER_APPENDING,X)}this.tickImmediate()}loadFragment(t,n,s){const m=this.fragmentTracker.getState(t);if(this.switchingTrack||m===Er.NOT_LOADED||m===Er.PARTIAL){var E;if(!Pe(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=Jt.WAITING_INIT_PTS;const I=this.mainDetails;I&&I.fragmentStart!==n.details.fragmentStart&&Li(n.details,I)}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:I,channels:z}=this.bufferedTrack;ri({name:n,lang:s,assocLang:m,characteristics:E,audioCodec:I,channels:z},t,it)||(ii(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 nu 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 I=0;I<m.length;I++){const z=m[I];let X;try{X=new self.URL(z.URI,n.url).href}catch(W){this.warn(`Could not construct new URL for Rendition Report: ${W}`),X=z.URI||""}if(X===t){E=I;break}else X===t.substring(0,X.length)&&(E=I)}if(E!==-1){const I=m[E],z=parseInt(I["LAST-MSN"])||n.lastPartSn;let X=parseInt(I["LAST-PART"])||n.lastPartIndex;if(this.hls.config.lowLatencyMode){const le=Math.min(n.age-n.partTarget,n.targetduration);X>=0&&le>n.partTarget&&(X+=1)}const W=s&&Ln(s);return new At(z,X>=0?X:void 0,W)}}}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,I=self.performance.now(),z=E.loading.first?Math.max(0,I-E.loading.first):0;m.advancedDateTime=Date.now()-z;const X=this.hls.config.timelineOffset;if(X!==m.appliedTimelineOffset){const le=Math.max(X||0,0);m.appliedTimelineOffset=le,m.fragments.forEach(pe=>{pe.setStart(pe.playlistOffset+le)})}if(m.live||s!=null&&s.live){const le="levelInfo"in n?n.levelInfo:n.track;if(m.reloaded(s),s&&m.fragments.length>0){_r(s,m);const pr=m.playlistParsingError;if(pr){this.warn(pr);const sr=this.hls;if(!sr.config.ignorePlaylistParsingErrors){var W;const{networkDetails:Fr}=n;sr.trigger(o.ERROR,{type:c.NETWORK_ERROR,details:f.LEVEL_PARSING_ERROR,fatal:!1,url:m.url,error:pr,reason:pr.message,level:n.level||void 0,parent:(W=m.fragments[0])==null?void 0:W.type,networkDetails:Fr,stats:E});return}m.playlistParsingError=null}}m.requestScheduled===-1&&(m.requestScheduled=E.loading.start);const pe=this.hls.mainForwardBufferInfo,Ee=pe?pe.end-pe.len:0,Oe=(m.edge-Ee)*1e3,Ue=Hn(m,Oe);if(m.requestScheduled+Ue<I?m.requestScheduled=I:m.requestScheduled+=Ue,this.log(`live playlist ${t} ${m.advanced?"REFRESHED "+m.lastPartSn+"-"+m.lastPartIndex:m.updated?"UPDATED":"MISSED"}`),!this.canLoad||!m.live)return;let ut,lt,Nt;if(m.canBlockReload&&m.endSN&&m.advanced){const pr=this.hls.config.lowLatencyMode,sr=m.lastPartSn,Fr=m.endSN,Yr=m.lastPartIndex,vn=Yr!==-1,Wr=sr===Fr;vn?Wr?(lt=Fr+1,Nt=pr?0:Yr):(lt=sr,Nt=pr?Yr+1:m.maxPartIndex):lt=Fr+1;const an=m.age,fn=an+m.ageHeader;let Gr=Math.min(fn-m.partTarget,m.targetduration*1.5);if(Gr>0){if(fn>m.targetduration*3)this.log(`Playlist last advanced ${an.toFixed(2)}s ago. Omitting segment and part directives.`),lt=void 0,Nt=void 0;else if(s!=null&&s.tuneInGoal&&fn-m.partTarget>s.tuneInGoal)this.warn(`CDN Tune-in goal increased from: ${s.tuneInGoal} to: ${Gr} with playlist age: ${m.age}`),Gr=0;else{const Sn=Math.floor(Gr/m.targetduration);if(lt+=Sn,Nt!==void 0){const yi=Math.round(Gr%m.targetduration/m.partTarget);Nt+=yi}this.log(`CDN Tune-in age: ${m.ageHeader}s last advanced ${an.toFixed(2)}s goal: ${Gr} skip sn ${Sn} to part ${Nt}`)}m.tuneInGoal=Gr}if(ut=this.getDeliveryDirectives(m,n.deliveryDirectives,lt,Nt),pr||!Wr){m.requestScheduled=I,this.loadingPlaylist(le,ut);return}}else(m.canBlockReload||m.canSkipUntil)&&(ut=this.getDeliveryDirectives(m,n.deliveryDirectives,lt,Nt));ut&<!==void 0&&m.canBlockReload&&(m.requestScheduled=E.loading.first+Math.max(Ue-z*2,Ue/2)),this.scheduleLoading(le,ut,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(),I=m.requestScheduled;if(E>=I){this.loadingPlaylist(t,n);return}const z=I-E;this.log(`reload live playlist ${t.name||t.bitrate+"bps"} in ${Math.round(z)} ms`),this.clearTimer(),this.timer=self.setTimeout(()=>this.loadingPlaylist(t,n),z)}getDeliveryDirectives(t,n,s,m){let E=Ln(t);return n!=null&&n.skip&&t.deltaUpdateFailed&&(s=n.msn,m=n.part,E=Kr.No),new At(s,m,E)}checkRetry(t){const n=t.details,s=ft(t),m=t.errorAction,{action:E,retryCount:I=0,retryConfig:z}=m||{},X=!!m&&!!z&&(E===qe.RetryRequest||!m.resolved&&E===qe.SendAlternateToPenaltyBox);if(X){var W;if(I>=z.maxNumRetry)return!1;if(s&&(W=t.context)!=null&&W.deliveryDirectives)this.warn(`Retrying playlist loading ${I+1}/${z.maxNumRetry} after "${n}" without delivery-directives`),this.loadPlaylist();else{const le=dr(z,I);this.clearTimer(),this.timer=self.setTimeout(()=>this.loadPlaylist(),le),this.warn(`Retrying playlist loading ${I+1}/${z.maxNumRetry} after "${n}" in ${le}ms`)}t.levelRetry=!0,m.resolved=!0}return X}}function Nl(O,t){if(O.length!==t.length)return!1;for(let n=0;n<O.length;n++)if(!ro(O[n].attrs,t[n].attrs))return!1;return!0}function ro(O,t,n){const s=O["STABLE-RENDITION-ID"];return s&&!n?s===t["STABLE-RENDITION-ID"]:!(n||["LANGUAGE","NAME","CHARACTERISTICS","AUTOSELECT","DEFAULT","FORCED","ASSOC-LANGUAGE"]).some(m=>O[m]!==t[m])}function iu(O,t){return t.label.toLowerCase()===O.name.toLowerCase()&&(!t.language||t.language.toLowerCase()===(O.lang||"").toLowerCase())}class cl extends nu{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,I=this.tracksInGroup[s];if(!I||I.groupId!==m){this.warn(`Audio track with id:${s} and group:${m} not found in active group ${I==null?void 0:I.groupId}`);return}const z=I.details;I.details=n.details,this.log(`Audio track ${s} "${I.name}" lang:${I.lang} group:${m} loaded [${E.startSN}-${E.endSN}]`),s===this.trackId&&this.playlistLoaded(s,n,z)}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(z=>(m==null?void 0:m.indexOf(z))===-1)){this.groupIds=s,this.trackId=-1,this.currentTrack=null;const z=this.tracks.filter(Ee=>!s||s.indexOf(Ee.groupId)!==-1);if(z.length)this.selectDefaultTrack&&!z.some(Ee=>Ee.default)&&(this.selectDefaultTrack=!1),z.forEach((Ee,Oe)=>{Ee.id=Oe});else if(!E&&!this.tracksInGroup.length)return;this.tracksInGroup=z;const X=this.hls.config.audioPreference;if(!E&&X){const Ee=fa(X,z,it);if(Ee>-1)E=z[Ee];else{const Oe=fa(X,this.tracks);E=this.tracks[Oe]}}let W=this.findTrackId(E);W===-1&&E&&(W=this.findTrackId(null));const le={audioTracks:z};this.log(`Updating audio tracks, ${z.length} track(s) found in group(s): ${s==null?void 0:s.join(",")}`),this.hls.trigger(o.AUDIO_TRACKS_UPDATED,le);const pe=this.trackId;if(W!==-1&&pe===-1)this.setAudioTrack(W);else if(z.length&&pe===-1){var I;const Ee=new Error(`No audio track selected for current audio group-ID(s): ${(I=this.groupIds)==null?void 0:I.join(",")} track count: ${z.length}`);this.warn(Ee.message),this.hls.trigger(o.ERROR,{type:c.MEDIA_ERROR,details:f.AUDIO_TRACK_LOAD_ERROR,fatal:!0,error:Ee})}}}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&&ri(t,m,it))return m;const E=fa(t,this.tracksInGroup,it);if(E>-1){const I=this.tracksInGroup[E];return this.setAudioTrack(E),I}else if(m){let I=n.loadLevel;I===-1&&(I=n.firstAutoLevel);const z=ni(t,n.levels,s,I,it);if(z===-1)return null;n.nextLoadLevel=z}if(t.channels||t.audioCodec){const I=fa(t,s);if(I>-1)return s[I]}}}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 I=this.switchParams(m.url,s==null?void 0:s.details,m.details);this.loadPlaylist(I)}findTrackId(t){const n=this.tracksInGroup;for(let s=0;s<n.length;s++){const m=n[s];if(!(this.selectDefaultTrack&&!m.default)&&(!t||ri(t,m,it)))return s}if(t){const{name:s,lang:m,assocLang:E,characteristics:I,audioCodec:z,channels:X}=t;for(let W=0;W<n.length;W++){const le=n[W];if(ri({name:s,lang:m,assocLang:E,characteristics:I,audioCodec:z,channels:X},le,it))return W}for(let W=0;W<n.length;W++){const le=n[W];if(ro(t.attrs,le.attrs,["LANGUAGE","ASSOC-LANGUAGE","CHARACTERISTICS"]))return W}for(let W=0;W<n.length;W++){const le=n[W];if(ro(t.attrs,le.attrs,["LANGUAGE"]))return W}}return-1}loadPlaylist(t){super.loadPlaylist();const n=this.currentTrack;this.shouldLoadPlaylist(n)&&ii(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),I=t.details,z=I==null?void 0:I.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:""}${z&&I.live?" age "+z.toFixed(1)+(I.type?" "+I.type||0:""):""} ${E}`),this.hls.trigger(o.AUDIO_TRACK_LOADING,{url:E,id:s,groupId:m,deliveryDirectives:n||null,track:t})}}class oc{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 I=(s=this.tracks[t])==null?void 0:s.buffer;I!=null&&I.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 Hu=/(avc[1234]|hvc1|hev1|dvh[1e]|vp09|av01)(?:\.[^.,]+)+/,Sc="HlsJsTrackRemovedError";class uc extends Error{constructor(t){super(t),this.name=Sc}}class di 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=ne(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 I=this.isQueued();(E||I)&&this.warn(`Transfering MediaSource with${I?" 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[I]=E;I&&(s[I]=y({},this.tracks[I]),this.removeBuffer(I)),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;this.transferData=this.overrides=void 0;const m=ae(this.appendSource);if(m){const E=!!n.mediaSource;(E||n.overrides)&&(this.transferData=n,this.overrides=n.overrides);const I=this.mediaSource=n.mediaSource||new m;if(this.assignMediaSource(I),E)this._objectUrl=s.src,this.attachTransferred();else{const z=this._objectUrl=self.URL.createObjectURL(I);if(this.appendSource)try{s.removeAttribute("src");const X=self.ManagedMediaSource;s.disableRemotePlayback=s.disableRemotePlayback||X&&I instanceof X,Ac(s),Io(s,z),s.load()}catch(X){s.src=z}else s.src=z}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,I=E?E.length:0,z=()=>{Promise.resolve().then(()=>{this.media&&this.mediaSourceOpenOrEnded&&this._onMediaSourceOpen()})};if(m&&E&&I){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: ${Xn(s,(X,W)=>X==="initSegment"?void 0:W)};
|
|
|
transfer tracks: ${Xn(m,(X,W)=>X==="initSegment"?void 0:W)}}`),!oe(m,s)){n.mediaSource=null,n.tracks=void 0;const X=t.currentTime,W=this.details,le=Math.max(X,(W==null?void 0:W.fragments[0].start)||0);if(le-X>1){this.log(`attachTransferred: waiting for playback to reach new tracks start time ${X} -> ${le}`);return}this.warn(`attachTransferred: resetting MediaSource for incompatible tracks ("${Object.keys(m)}"->"${Object.keys(s)}") start time: ${le} currentTime: ${X}`),this.onMediaDetaching(o.MEDIA_DETACHING,{}),this.onMediaAttaching(o.MEDIA_ATTACHING,n),t.currentTime=le;return}this.transferData=void 0,E.forEach(X=>{const W=X,le=m[W];if(le){const pe=le.buffer;if(pe){const Ee=this.fragmentTracker,Oe=le.id;if(Ee.hasFragments(Oe)||Ee.hasParts(Oe)){const lt=Jn.getBuffered(pe);Ee.detectEvictedFragments(W,lt,Oe,null,!0)}const Ue=lc(W),ut=[W,pe];this.sourceBuffers[Ue]=ut,pe.updating&&this.operationQueue&&this.operationQueue.prependBlocker(W),this.trackSourceBuffer(W,le)}}}),z(),this.bufferCreated()}else this.log("attachTransferred: MediaSource w/o SourceBuffers"),z()}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:I}=this;if(E){if(this.log(`media source ${s?"transferring":"detaching"}`),s)this.sourceBuffers.forEach(([z])=>{z&&this.removeBuffer(z)}),this.resetQueue();else{if(this.mediaSourceOpenOrEnded){const z=E.readyState==="open";try{const X=E.sourceBuffers;for(let W=X.length;W--;)z&&X[W].abort(),E.removeSourceBuffer(X[W]);z&&E.endOfStream()}catch(X){this.warn(`onMediaDetaching: ${X.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||(I&&self.URL.revokeObjectURL(I),this.mediaSrc===I?(m.removeAttribute("src"),this.appendSource&&Ac(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[lc(t)]=[null,null];const n=this.tracks[t];n&&(n.buffer=void 0)}resetQueue(){this.operationQueue&&this.operationQueue.destroy(),this.operationQueue=new oc(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),I=!E&&this.sourceBufferCount&&this.media&&m.some(z=>!s[z]);if(E||I){this.warn(`Unsupported transition between "${Object.keys(s)}" and "${m}" SourceBuffers`);return}m.forEach(z=>{var X,W;const le=n[z],{id:pe,codec:Ee,levelCodec:Oe,container:Ue,metadata:ut,supplemental:lt}=le;let Nt=s[z];const pr=(X=this.transferData)==null||(X=X.tracks)==null?void 0:X[z],sr=pr!=null&&pr.buffer?pr:Nt,Fr=(sr==null?void 0:sr.pendingCodec)||(sr==null?void 0:sr.codec),Yr=sr==null?void 0:sr.levelCodec;Nt||(Nt=s[z]={buffer:void 0,listeners:[],codec:Ee,supplemental:lt,container:Ue,levelCodec:Oe,metadata:ut,id:pe});const vn=Fe(Fr,Yr),Wr=vn==null?void 0:vn.replace(Hu,"$1");let an=Fe(Ee,Oe);const fn=(W=an)==null?void 0:W.replace(Hu,"$1");an&&vn&&Wr!==fn&&(z.slice(0,5)==="audio"&&(an=mt(an,this.appendSource)),this.log(`switching codec ${Fr} to ${an}`),an!==(Nt.pendingCodec||Nt.codec)&&(Nt.pendingCodec=an),Nt.container=Ue,this.appendChangeType(z,Ue,an))}),(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 I=this.tracks[t];if(I){const z=I.buffer;z!=null&&z.changeType&&(this.log(`changing ${t} sourceBuffer type to ${m}`),z.changeType(m),I.codec=s,I.container=n)}this.shiftAndExecuteNext(t)},onStart:()=>{},onComplete:()=>{},onError:I=>{this.warn(`Failed to change ${t} SourceBuffer type`,I)}};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 I={label:"block-audio",execute:()=>{var z;const X=this.tracks.video;(this.lastVideoAppendEnd>m||X!=null&&X.buffer&&Jn.isBuffered(X.buffer,m)||((z=this.fragmentTracker.getAppendedFrag(m,u.MAIN))==null?void 0:z.gap)===!0)&&(this.blockedAudioAppend=null,this.shiftAndExecuteNext("audio"))},onStart:()=>{},onComplete:()=>{},onError:z=>{this.warn("Error executing block-audio operation",z)}};this.blockedAudioAppend={op:I,frag:t},this.append(I,"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:I,frag:z,part:X,chunkMeta:W,offset:le}=n,pe=W.buffering[E],{sn:Ee,cc:Oe}=z,Ue=self.performance.now();pe.start=Ue;const ut=z.stats.buffering,lt=X?X.stats.buffering:null;ut.start===0&&(ut.start=Ue),lt&<.start===0&&(lt.start=Ue);const Nt=s.audio;let pr=!1;E==="audio"&&(Nt==null?void 0:Nt.container)==="audio/mpeg"&&(pr=!this.lastMpegAudioChunk||W.id===1||this.lastMpegAudioChunk.sn!==W.sn,this.lastMpegAudioChunk=W);const sr=s.video,Fr=sr==null?void 0:sr.buffer;if(Fr&&Ee!=="initSegment"){const Wr=X||z,an=this.blockedAudioAppend;if(E==="audio"&&I!=="main"&&!this.blockedAudioAppend&&!(sr.ending||sr.ended)){const Gr=Wr.start+Wr.duration*.05,Sn=Fr.buffered,yi=this.currentOp("video");!Sn.length&&!yi?this.blockAudio(Wr):!yi&&!Jn.isBuffered(Fr,Gr)&&this.lastVideoAppendEnd<Gr&&this.blockAudio(Wr)}else if(E==="video"){const fn=Wr.end;if(an){const Gr=an.frag.start;(fn>Gr||fn<this.lastVideoAppendEnd||Jn.isBuffered(Fr,Gr))&&this.unblockAudio()}this.lastVideoAppendEnd=fn}}const Yr=(X||z).start,vn={label:`append-${E}`,execute:()=>{var Wr;pe.executeStart=self.performance.now();const an=(Wr=this.tracks[E])==null?void 0:Wr.buffer;an&&(pr?this.updateTimestampOffset(an,Yr,.1,E,Ee,Oe):le!==void 0&&r(le)&&this.updateTimestampOffset(an,le,1e-6,E,Ee,Oe)),this.appendExecutor(m,E)},onStart:()=>{},onComplete:()=>{const Wr=self.performance.now();pe.executeEnd=pe.end=Wr,ut.first===0&&(ut.first=Wr),lt&<.first===0&&(lt.first=Wr);const an={};this.sourceBuffers.forEach(([fn,Gr])=>{fn&&(an[fn]=Jn.getBuffered(Gr))}),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:z,part:X,chunkMeta:W,parent:z.type,timeRanges:an})},onError:Wr=>{var an;const fn={type:c.MEDIA_ERROR,parent:z.type,details:f.BUFFER_APPEND_ERROR,sourceBufferName:E,frag:z,part:X,chunkMeta:W,error:Wr,err:Wr,fatal:!1},Gr=(an=this.media)==null?void 0:an.error;if(Wr.code===DOMException.QUOTA_EXCEEDED_ERR||Wr.name=="QuotaExceededError"||"quota"in Wr)fn.details=f.BUFFER_FULL_ERROR;else if(Wr.code===DOMException.INVALID_STATE_ERR&&this.mediaSourceOpenOrEnded&&!Gr)fn.errorAction=ar(!0);else if(Wr.name===Sc&&this.sourceBufferCount===0)fn.errorAction=ar(!0);else{const Sn=++this.appendErrors[E];this.warn(`Failed ${Sn}/${this.hls.config.appendErrorMaxRetry} times to append segment in "${E}" sourceBuffer (${Gr||"no media error"})`),(Sn>=this.hls.config.appendErrorMaxRetry||Gr)&&(fn.fatal=!0)}this.hls.trigger(o.ERROR,fn)}};this.append(vn,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(([I])=>{I&&this.append(this.getFlushOp(I,m,E),I)})}onFragParsed(t,n){const{frag:s,part:m}=n,E=[],I=m?m.elementaryStreams:s.elementaryStreams;I[ie.AUDIOVIDEO]?E.push("audiovideo"):(I[ie.AUDIO]&&E.push("audio"),I[ie.VIDEO]&&E.push("video"));const z=()=>{const X=self.performance.now();s.stats.buffering.end=X,m&&(m.stats.buffering.end=X);const W=m?m.stats:s.stats;this.hls.trigger(o.FRAG_BUFFERED,{frag:s,part:m,stats:W,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(z,E).catch(X=>{this.warn(`Fragment buffered callback ${X}`),this.stepOperationQueue(this.sourceBufferTypes)})}onFragChanged(t,n){this.trimBuffers()}get bufferedToEnd(){return this.sourceBufferCount>0&&!this.sourceBuffers.some(([t])=>{if(t){const n=this.tracks[t];if(n)return!n.ended||n.ending}return!1})}onBufferEos(t,n){var s;this.sourceBuffers.forEach(([I])=>{if(I){const z=this.tracks[I];(!n.type||n.type===I)&&(z.ending=!0,z.ended||(z.ended=!0,this.log(`${I} buffer reached EOS`)))}});const m=((s=this.overrides)==null?void 0:s.endOfStream)!==!1;this.sourceBufferCount>0&&!this.sourceBuffers.some(([I])=>{var z;return I&&!((z=this.tracks[I])!=null&&z.ended)})?m?(this.log("Queueing EOS"),this.blockUntilOpen(()=>{this.tracksEnded();const{mediaSource:I}=this;if(!I||I.readyState!=="open"){I&&this.log(`Could not call mediaSource.endOfStream(). mediaSource.readyState: ${I.readyState}`);return}this.log("Calling mediaSource.endOfStream()"),I.endOfStream(),this.hls.trigger(o.BUFFERED_TO_END,void 0)})):(this.tracksEnded(),this.hls.trigger(o.BUFFERED_TO_END,void 0)):n.type==="video"&&this.unblockAudio()}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(){this.blockUntilOpen(()=>{const t=this.getDurationAndRange();t&&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,I=n.levelTargetDuration,z=n.live&&m.liveBackBufferLength!==null?m.liveBackBufferLength:m.backBufferLength;if(r(z)&&z>=0){const W=Math.max(z,I),le=Math.floor(E/I)*I-W;this.flushBackBuffer(E,I,le)}const X=m.frontBufferFlushThreshold;if(r(X)&&X>0){const W=Math.max(m.maxBufferLength,X),le=Math.max(W,I),pe=Math.floor(E/I)*I+le;this.flushFrontBuffer(E,I,pe)}}flushBackBuffer(t,n,s){this.sourceBuffers.forEach(([m,E])=>{if(E){const z=Jn.getBuffered(E);if(z.length>0&&s>z.start(0)){var I;this.hls.trigger(o.BACK_BUFFER_REACHED,{bufferEnd:s});const X=this.tracks[m];if((I=this.details)!=null&&I.live)this.hls.trigger(o.LIVE_BACK_BUFFER_REACHED,{bufferEnd:s});else if(X!=null&&X.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 I=Jn.getBuffered(E),z=I.length;if(z<2)return;const X=I.start(z-1),W=I.end(z-1);if(s>X||t>=X&&t<=W)return;this.hls.trigger(o.BUFFER_FLUSHING,{startOffset:X,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&&s.setLiveSeekableRange){const W=Math.max(0,n.fragmentStart),le=Math.max(W,m);return{duration:1/0,start:W,end:le}}return{duration:1/0}}const E=(t=this.overrides)==null?void 0:t.duration;if(E)return r(E)?{duration:E}:null;const I=this.media.duration,z=r(s.duration)?s.duration:0;return m>z&&m>I||!r(I)?{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}) ${Xn(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 I=E,z=t[I];if(this.isPending(z)){const X=this.getTrackCodec(z,I),W=`${z.container};codecs=${X}`;z.codec=X,this.log(`creating sourceBuffer(${W})${this.currentOp(I)?" Queued":""} ${Xn(z)}`);try{const le=s.addSourceBuffer(W),pe=lc(I),Ee=[I,le];n[pe]=Ee,z.buffer=le}catch(le){var m;this.error(`error while trying to add sourceBuffer: ${le.message}`),this.shiftAndExecuteNext(I),(m=this.operationQueue)==null||m.removeBlockers(),delete this.tracks[I],this.hls.trigger(o.ERROR,{type:c.MEDIA_ERROR,details:f.BUFFER_ADD_CODEC_ERROR,fatal:!1,error:le,sourceBufferName:I,mimeType:W,parent:z.id});return}this.trackSourceBuffer(I,z)}}this.bufferCreated()}getTrackCodec(t,n){const s=t.supplemental;let m=t.codec;s&&(n==="video"||n==="audiovideo")&&Te(s,"video")&&(m=Lt(m,s));const E=Fe(m,t.levelCodec);return E?n.slice(0,5)==="audio"?mt(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,I)=>{const z=I.removedRanges;z!=null&&z.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)}updateTimestampOffset(t,n,s,m,E,I){const z=n-t.timestampOffset;Math.abs(z)>=s&&(this.log(`Updating ${m} SourceBuffer timestampOffset to ${n} (sn: ${E} cc: ${I})`),t.timestampOffset=n)}removeExecutor(t,n,s){const{media:m,mediaSource:E}=this,I=this.tracks[t],z=I==null?void 0:I.buffer;if(!m||!E||!z){this.warn(`Attempting to remove from the ${t} SourceBuffer, but it does not exist`),this.shiftAndExecuteNext(t);return}const X=r(m.duration)?m.duration:1/0,W=r(E.duration)?E.duration:1/0,le=Math.max(0,n),pe=Math.min(s,X,W);pe>le&&(!I.ending||I.ended)?(I.ended=!1,this.log(`Removing [${le},${pe}] from the ${t} SourceBuffer`),z.remove(le,pe)):this.shiftAndExecuteNext(t)}appendExecutor(t,n){const s=this.tracks[n],m=s==null?void 0:s.buffer;if(!m)throw new uc(`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(I=>this.appendBlocker(I));return n.length>1&&!!this.blockedAudioAppend&&this.unblockAudio(),Promise.all(m).then(I=>{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 I=s.bind(this,t);m.listeners.push({event:n,listener:I}),E.addEventListener(n,I)}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 Ac(O){const t=O.querySelectorAll("source");[].slice.call(t).forEach(n=>{O.removeChild(n)})}function Io(O,t){const n=self.document.createElement("source");n.type="video/mp4",n.src=t,O.appendChild(n)}function lc(O){return O==="audio"?1:0}class wu{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,wu.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=(z,X)=>X?z.width!==X.width||z.height!==X.height:!0;let E=t.length-1;const I=Math.max(n,s);for(let z=0;z<t.length;z+=1){const X=t[z];if((X.width>=I||X.height>=I)&&m(X,t[z+1])){E=z;break}}return E}}const Eo={MANIFEST:"m",AUDIO:"a",VIDEO:"v",MUXED:"av",INIT:"i",CAPTION:"c",TIMED_TEXT:"tt",KEY:"k",OTHER:"o"},zc={HLS:"h"};class Us{constructor(t,n){Array.isArray(t)&&(t=t.map(s=>s instanceof Us?s:new Us(s))),this.value=t,this.params=n}}const vf="Dict";function gf(O){return Array.isArray(O)?JSON.stringify(O):O instanceof Map?"Map{}":O instanceof Set?"Set{}":typeof O=="object"?JSON.stringify(O):String(O)}function Zc(O,t,n,s){return new Error(`failed to ${O} "${gf(t)}" as ${n}`,{cause:s})}function au(O,t,n){return Zc("serialize",O,t,n)}class Cc{constructor(t){this.description=t}}const Al="Bare Item",$u="Boolean";function $l(O){if(typeof O!="boolean")throw au(O,$u);return O?"?1":"?0"}function co(O){return btoa(String.fromCharCode(...O))}const qo="Byte Sequence";function su(O){if(ArrayBuffer.isView(O)===!1)throw au(O,qo);return`:${co(O)}:`}const Tc="Integer";function jl(O){return O<-999999999999999||999999999999999<O}function Su(O){if(jl(O))throw au(O,Tc);return O.toString()}function Hc(O){return`@${Su(O.getTime()/1e3)}`}function Pc(O,t){if(O<0)return-Pc(-O,t);const n=Math.pow(10,t);if(Math.abs(O*n%1-.5)<Number.EPSILON){const m=Math.floor(O*n);return(m%2===0?m:m+1)/n}else return Math.round(O*n)/n}const Ou="Decimal";function Ul(O){const t=Pc(O,3);if(Math.floor(Math.abs(t)).toString().length>12)throw au(O,Ou);const n=t.toString();return n.includes(".")?n:`${n}.0`}const Wu="String",Ic=/[\x00-\x1f\x7f]+/;function Cl(O){if(Ic.test(O))throw au(O,Wu);return`"${O.replace(/\\/g,"\\\\").replace(/"/g,'\\"')}"`}function Ya(O){return O.description||O.toString().slice(7,-1)}const If="Token";function Wc(O){const t=Ya(O);if(/^([a-zA-Z*])([!#$%&'*+\-.^_`|~\w:/]*)$/.test(t)===!1)throw au(t,If);return t}function Gu(O){switch(typeof O){case"number":if(!r(O))throw au(O,Al);return Number.isInteger(O)?Su(O):Ul(O);case"string":return Cl(O);case"symbol":return Wc(O);case"boolean":return $l(O);case"object":if(O instanceof Date)return Hc(O);if(O instanceof Uint8Array)return su(O);if(O instanceof Cc)return Wc(O);default:throw au(O,Al)}}const Gc="Key";function Vc(O){if(/^[a-z*][a-z0-9\-_.*]*$/.test(O)===!1)throw au(O,Gc);return O}function zl(O){return O==null?"":Object.entries(O).map(([t,n])=>n===!0?`;${Vc(t)}`:`;${Vc(t)}=${Gu(n)}`).join("")}function Au(O){return O instanceof Us?`${Gu(O.value)}${zl(O.params)}`:Gu(O)}function yf(O){return`(${O.value.map(Au).join(" ")})${zl(O.params)}`}function Dc(O,t={whitespace:!0}){if(typeof O!="object"||O==null)throw au(O,vf);const n=O instanceof Map?O.entries():Object.entries(O),s=t!=null&&t.whitespace?" ":"";return Array.from(n).map(([m,E])=>{E instanceof Us||(E=new Us(E));let I=Vc(m);return E.value===!0?I+=zl(E.params):(I+="=",Array.isArray(E.value)?I+=yf(E):I+=Au(E)),I}).join(`,${s}`)}function Zl(O,t){return Dc(O,t)}const Vu="CMCD-Object",fo="CMCD-Request",jo="CMCD-Session",ou="CMCD-Status",Oc={br:Vu,ab:Vu,d:Vu,ot:Vu,tb:Vu,tpb:Vu,lb:Vu,tab:Vu,lab:Vu,url:Vu,pb:fo,bl:fo,tbl:fo,dl:fo,ltc:fo,mtp:fo,nor:fo,nrr:fo,rc:fo,sn:fo,sta:fo,su:fo,ttfb:fo,ttfbb:fo,ttlb:fo,cmsdd:fo,cmsds:fo,smrt:fo,df:fo,cs:fo,ts:fo,cid:jo,pr:jo,sf:jo,sid:jo,st:jo,v:jo,msd:jo,bs:ou,bsd:ou,cdn:ou,rtp:ou,bg:ou,pt:ou,ec:ou,e:ou},fl={REQUEST:fo};function Kc(O){return Object.keys(O).reduce((t,n)=>{var s;return(s=O[n])===null||s===void 0||s.forEach(m=>t[m]=n),t},{})}function bf(O,t){const n={};if(!O)return n;const s=Object.keys(O),m=t?Kc(t):{};return s.reduce((E,I)=>{var z;const X=Oc[I]||m[I]||fl.REQUEST,W=(z=E[X])!==null&&z!==void 0?z:E[X]={};return W[I]=O[I],E},n)}function cc(O){return["ot","sf","st","e","sta"].includes(O)}function Do(O){return typeof O=="number"?r(O):O!=null&&O!==""&&O!==!1}const Yc="event";function Xc(O,t){const n=new URL(O),s=new URL(t);if(n.origin!==s.origin)return O;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("/")+n.search+n.hash}const rl=O=>Math.round(O),ju=(O,t)=>Array.isArray(O)?O.map(n=>ju(n,t)):O instanceof Us&&typeof O.value=="string"?new Us(ju(O.value,t),O.params):(t.baseUrl&&(O=Xc(O,t.baseUrl)),t.version===1?encodeURIComponent(O):O),ho=O=>rl(O/100)*100,Df={br:rl,d:rl,bl:ho,dl:ho,mtp:ho,nor:(O,t)=>{let n=O;return t.version>=2&&(O instanceof Us&&typeof O.value=="string"?n=new Us([O]):typeof O=="string"&&(n=[O])),ju(n,t)},rtp:ho,tb:rl},kc="request",Qc="response",dl=["ab","bg","bl","br","bs","bsd","cdn","cid","cs","df","ec","lab","lb","ltc","msd","mtp","pb","pr","pt","sf","sid","sn","st","sta","tab","tb","tbl","tpb","ts","v"],Jo=["e"],Wl=/^[a-zA-Z0-9-.]+-[a-zA-Z0-9-.]+$/;function je(O){return Wl.test(O)}function Ku(O){return dl.includes(O)||Jo.includes(O)||je(O)}const pu=["d","dl","nor","ot","rtp","su"];function fc(O){return dl.includes(O)||pu.includes(O)||je(O)}const uu=["cmsdd","cmsds","rc","smrt","ttfb","ttfbb","ttlb","url"];function Yu(O){return dl.includes(O)||pu.includes(O)||uu.includes(O)||je(O)}const Rc=["bl","br","bs","cid","d","dl","mtp","nor","nrr","ot","pr","rtp","sf","sid","st","su","tb","v"];function dc(O){return Rc.includes(O)||je(O)}const Tl={[Qc]:Yu,[Yc]:Ku,[kc]:fc};function hl(O,t={}){const n={};if(O==null||typeof O!="object")return n;const s=t.version||O.v||1,m=t.reportingMode||kc,E=s===1?dc:Tl[m];let I=Object.keys(O).filter(E);const z=t.filter;typeof z=="function"&&(I=I.filter(z));const X=m===Qc||m===Yc;X&&!I.includes("ts")&&I.push("ts"),s>1&&!I.includes("v")&&I.push("v");const W=y({},Df,t.formatters),le={version:s,reportingMode:m,baseUrl:t.baseUrl};return I.sort().forEach(pe=>{let Ee=O[pe];const Oe=W[pe];if(typeof Oe=="function"&&(Ee=Oe(Ee,le)),pe==="v"){if(s===1)return;Ee=s}pe=="pr"&&Ee===1||(X&&pe==="ts"&&!r(Ee)&&(Ee=Date.now()),Do(Ee)&&(cc(pe)&&typeof Ee=="string"&&(Ee=new Cc(Ee)),n[pe]=Ee))}),n}function nl(O,t={}){const n={};if(!O)return n;const s=hl(O,t),m=bf(s,t==null?void 0:t.customHeaderMap);return Object.entries(m).reduce((E,[I,z])=>{const X=Zl(z,{whitespace:!1});return X&&(E[I]=X),E},n)}function qc(O,t,n){return y(O,nl(t,n))}const hc="CMCD";function ku(O,t={}){return O?Zl(hl(O,t),{whitespace:!1}):""}function yl(O,t={}){if(!O)return"";const n=ku(O,t);return encodeURIComponent(n)}function Xu(O,t={}){if(!O)return"";const n=yl(O,t);return`${hc}=${n}`}const Of=/CMCD=[^&#]+/;function xf(O,t,n){const s=Xu(t,n);if(!s)return O;if(Of.test(O))return O.replace(Of,s);const m=O.includes("?")?"&":"?";return`${O}${m}${s}`}class lu{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:Eo.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:I}=m,z=this.hls.levels[E.level],X=this.getObjectType(E),W={d:(I||E).duration*1e3,ot:X};(X===Eo.VIDEO||X===Eo.AUDIO||X==Eo.MUXED)&&(W.br=z.bitrate/1e3,W.tb=this.getTopBandwidth(X)/1e3,W.bl=this.getBufferLength(X));const le=I?this.getNextPart(I):this.getNextFrag(E);le!=null&&le.url&&le.url!==E.url&&(W.nor=le.url),this.apply(m,W)}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:zc.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===Eo.INIT||n.ot===Eo.VIDEO||n.ot===Eo.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((I,z)=>(m.includes(z)&&(I[z]=n[z]),I),{}));const E={baseUrl:t.url};this.useHeaders?(t.headers||(t.headers={}),qc(t.headers,n,E)):t.url=xf(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;const{index:s,fragment:m}=t,E=(n=this.hls.levels[m.level])==null||(n=n.details)==null?void 0:n.partList;if(E){const{sn:I}=m;for(let z=E.length-1;z>=0;z--){const X=E[z];if(X.index===s&&X.fragment.sn===I)return E[z+1]}}}getObjectType(t){const{type:n}=t;if(n==="subtitle")return Eo.TIMED_TEXT;if(t.sn==="initSegment")return Eo.INIT;if(n==="audio")return Eo.AUDIO;if(n==="main")return this.hls.audioTracks.length?Eo.VIDEO:Eo.MUXED}getTopBandwidth(t){let n=0,s;const m=this.hls;if(t===Eo.AUDIO)s=m.audioTracks;else{const E=m.maxAutoLevel,I=E>-1?E+1:m.levels.length;s=m.levels.slice(0,I)}return s.forEach(E=>{E.bitrate>n&&(n=E.bitrate)}),n>0?n:NaN}getBufferLength(t){const n=this.media,s=t===Eo.AUDIO?this.audioBuffer:this.videoBuffer;return!s||!n?NaN:Jn.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,I,z){n(E),this.loader.load(E,I,z)}}}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,I,z){n(E),this.loader.load(E,I,z)}}}}const Pl=3e5;class Jc 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)===qe.SendAlternateToPenaltyBox&&s.flags===xe.MoveAllAlternatesMatchingHost){const m=this.levels;let E=this._pathwayPriority,I=this.pathwayId;if(n.context){const{groupId:z,pathwayId:X,type:W}=n.context;z&&m?I=this.getPathwayForGroupId(z,W,I):X&&(I=X)}I in this.penalizedPathways||(this.penalizedPathways[I]=performance.now()),!E&&m&&(E=this.pathways()),E&&E.length>1&&(this.updatePathwayPriority(E),s.resolved=this.pathwayId!==I),n.details===f.BUFFER_APPEND_ERROR&&!n.fatal?s.resolved=!0:s.resolved||this.warn(`Could not resolve ${n.details} ("${n.error.message}") with content-steering for Pathway: ${I} levels: ${m&&m.length} priorities: ${Xn(E)} penalized: ${Xn(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]>Pl&&delete s[E]});for(let E=0;E<t.length;E++){const I=t[E];if(I in s)continue;if(I===this.pathwayId)return;const z=this.hls.nextLoadLevel,X=this.hls.levels[z];if(n=this.getLevelsForPathway(I),n.length>0){this.log(`Setting Pathway to "${I}"`),this.pathwayId=I,Br(n),this.hls.trigger(o.LEVELS_UPDATED,{levels:n});const W=this.hls.levels[z];X&&W&&this.levels&&(W.attrs["STABLE-VARIANT-ID"]!==X.attrs["STABLE-VARIANT-ID"]&&W.bitrate!==X.bitrate&&this.log(`Unstable Pathways change from bitrate ${X.bitrate} to ${W.bitrate}`),this.hls.nextLoadLevel=z);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:I,"BASE-ID":z,"URI-REPLACEMENT":X}=E;if(n.some(le=>le.pathwayId===I))return;const W=this.getLevelsForPathway(z).map(le=>{const pe=new va(le.attrs);pe["PATHWAY-ID"]=I;const Ee=pe.AUDIO&&`${pe.AUDIO}_clone_${I}`,Oe=pe.SUBTITLES&&`${pe.SUBTITLES}_clone_${I}`;Ee&&(s[pe.AUDIO]=Ee,pe.AUDIO=Ee),Oe&&(m[pe.SUBTITLES]=Oe,pe.SUBTITLES=Oe);const Ue=Vl(le.uri,pe["STABLE-VARIANT-ID"],"PER-VARIANT-URIS",X),ut=new cr({attrs:pe,audioCodec:le.audioCodec,bitrate:le.bitrate,height:le.height,name:le.name,url:Ue,videoCodec:le.videoCodec,width:le.width});if(le.audioGroups)for(let lt=1;lt<le.audioGroups.length;lt++)ut.addGroupId("audio",`${le.audioGroups[lt]}_clone_${I}`);if(le.subtitleGroups)for(let lt=1;lt<le.subtitleGroups.length;lt++)ut.addGroupId("text",`${le.subtitleGroups[lt]}_clone_${I}`);return ut});n.push(...W),Gl(this.audioTracks,s,X,I),Gl(this.subtitleTracks,m,X,I)})}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(le){this.enabled=!1,this.log(`Failed to parse Steering Manifest URI: ${t}`);return}if(m.protocol!=="data:"){const le=(this.hls.bandwidthEstimate||n.abrEwmaDefaultEstimate)|0;m.searchParams.set("_HLS_pathway",this.pathwayId),m.searchParams.set("_HLS_throughput",""+le)}const E={responseType:"json",url:m.href},I=n.steeringManifestLoadPolicy.default,z=I.errorRetry||I.timeoutRetry||{},X={loadPolicy:I,timeout:I.maxLoadTimeMs,maxRetry:z.maxNumRetry||0,retryDelay:z.retryDelayMs||0,maxRetryDelay:z.maxRetryDelayMs||0},W={onSuccess:(le,pe,Ee,Oe)=>{this.log(`Loaded steering manifest: "${m}"`);const Ue=le.data;if((Ue==null?void 0:Ue.VERSION)!==1){this.log(`Steering VERSION ${Ue.VERSION} not supported!`);return}this.updated=performance.now(),this.timeToLoad=Ue.TTL;const{"RELOAD-URI":ut,"PATHWAY-CLONES":lt,"PATHWAY-PRIORITY":Nt}=Ue;if(ut)try{this.uri=new self.URL(ut,m).href}catch(sr){this.enabled=!1,this.log(`Failed to parse Steering Manifest RELOAD-URI: ${ut}`);return}this.scheduleRefresh(this.uri||Ee.url),lt&&this.clonePathways(lt);const pr={steeringManifest:Ue,url:m.toString()};this.hls.trigger(o.STEERING_MANIFEST_LOADED,pr),Nt&&this.updatePathwayPriority(Nt)},onError:(le,pe,Ee,Oe)=>{if(this.log(`Error loading steering manifest: ${le.code} ${le.text} (${pe.url})`),this.stopLoad(),le.code===410){this.enabled=!1,this.log(`Steering manifest ${pe.url} no longer available`);return}let Ue=this.timeToLoad*1e3;if(le.code===429){const ut=this.loader;if(typeof(ut==null?void 0:ut.getResponseHeader)=="function"){const lt=ut.getResponseHeader("Retry-After");lt&&(Ue=parseFloat(lt)*1e3)}this.log(`Steering manifest ${pe.url} rate limited`);return}this.scheduleRefresh(this.uri||pe.url,Ue)},onTimeout:(le,pe,Ee)=>{this.log(`Timeout loading steering manifest (${pe.url})`),this.scheduleRefresh(this.uri||pe.url)}};this.log(`Requesting steering manifest: ${m}`),this.loader.load(E,X,W)}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 Gl(O,t,n,s){O&&Object.keys(t).forEach(m=>{const E=O.filter(I=>I.groupId===m).map(I=>{const z=y({},I);return z.details=void 0,z.attrs=new va(z.attrs),z.url=z.attrs.URI=Vl(I.url,I.attrs["STABLE-RENDITION-ID"],"PER-RENDITION-URIS",n),z.groupId=z.attrs["GROUP-ID"]=t[m],z.attrs["PATHWAY-ID"]=s,z});O.push(...E)})}function Vl(O,t,n,s){const{HOST:m,PARAMS:E,[n]:I}=s;let z;t&&(z=I==null?void 0:I[t],z&&(O=z));const X=new self.URL(O);return m&&!z&&(X.host=m),E&&Object.keys(E).sort().forEach(W=>{W&&X.searchParams.set(W,E[W])}),X.href}function eu(O,t,n){cu(O,t,n),O.addEventListener(t,n)}function cu(O,t,n){O.removeEventListener(t,n)}class Kl 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=Kl.CDMCleanupPromise?[Kl.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 I=Object.keys(this.keySystemAccessPromises);I.length||(I=Lo(this.config));const z=I.map(Zo).filter(X=>!!X);this.keyFormatPromise=this.getKeyFormatPromise(z)}this.keyFormatPromise.then(I=>{const z=Ao(I);if(s!=="sinf"||z!==rs.FAIRPLAY){this.log(`Ignoring "${n.type}" event with init data type: "${s}" for selected key-system ${z}`);return}let X;try{const Oe=Xt(new Uint8Array(m)),Ue=Ha(JSON.parse(Oe).sinf),ut=ot(Ue);if(!ut)throw new Error("'schm' box missing or not cbcs/cenc with schi > tenc");X=new Uint8Array(ut.subarray(8,24))}catch(Oe){this.warn(`${E} Failed to parse sinf: ${Oe}`);return}const W=J.hexDump(X),{keyIdToKeySessionPromise:le,mediaKeySessions:pe}=this;let Ee=le[W];for(let Oe=0;Oe<pe.length;Oe++){const Ue=pe[Oe],ut=Ue.decryptdata;if(!ut.keyId)continue;const lt=J.hexDump(ut.keyId);if(W===lt||ut.uri.replace(/-/g,"").indexOf(W)!==-1){if(Ee=le[lt],!Ee)continue;if(ut.pssh)break;delete le[lt],ut.pssh=new Uint8Array(m),ut.keyId=X,Ee=le[W]=Ee.then(()=>this.generateRequestWithPreferredKeySession(Ue,s,m,"encrypted-event-key-match")),Ee.catch(Nt=>this.handleError(Nt));break}}Ee||this.handleError(new Error(`Key ID ${W} not encountered in playlist. Key-system sessions ${pe.length}.`))})}},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.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===rs.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=(I,z,X)=>!!I&&X.indexOf(I)===z,m=n.map(I=>I.audioCodec).filter(s),E=n.map(I=>I.videoCodec).filter(s);return m.length+E.length===0&&E.push("avc1.42e01e"),new Promise((I,z)=>{const X=W=>{const le=W.shift();this.getMediaKeysPromise(le,m,E).then(pe=>I({keySystem:le,mediaKeys:pe})).catch(pe=>{W.length?X(W):pe instanceof _u?z(pe):z(new _u({type:c.KEY_SYSTEM_ERROR,details:f.KEY_SYSTEM_NO_ACCESS,error:pe,fatal:!0},pe.message))})};X(t)})}requestMediaKeySystemAccess(t,n){const{requestMediaKeySystemAccessFunc:s}=this.config;if(typeof s!="function"){let m=`Configured requestMediaKeySystemAccess is not a function ${s}`;return Xo===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=xi(t,n,s,this.config.drmSystemOptions),E=this.keySystemAccessPromises[t];let I=E==null?void 0:E.keySystemAccess;if(!I){this.log(`Requesting encrypted media "${t}" key-system access with config: ${Xn(m)}`),I=this.requestMediaKeySystemAccess(t,m);const z=this.keySystemAccessPromises[t]={keySystemAccess:I};return I.catch(X=>{this.log(`Failed to obtain access to key-system "${t}": ${X}`)}),I.then(X=>{this.log(`Access for key-system "${X.keySystem}" obtained`);const W=this.fetchServerCertificate(t);return this.log(`Create media-keys for "${t}"`),z.mediaKeys=X.createMediaKeys().then(le=>(this.log(`Media-keys created for "${t}"`),z.hasMediaKeys=!0,W.then(pe=>pe?this.setMediaKeysServerCertificate(le,t,pe):le))),z.mediaKeys.catch(le=>{this.error(`Failed to create media-keys for "${t}"}: ${le}`)}),z.mediaKeys})}return I.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})=>Zo(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=Zo(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=Lo(this.config),s=t.map(Ao).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:z,mediaKeys:X})=>(this.throwIfDestroyed(),this.log(`Handle encrypted media sn: ${t.frag.sn} ${t.frag.type}: ${t.frag.level} using key ${m}`),this.attemptSetMediaKeys(z,X).then(()=>(this.throwIfDestroyed(),this.createMediaKeySessionContext({keySystem:z,mediaKeys:X,decryptdata:n}))))),(this.keyIdToKeySessionPromise[s]=E.then(z=>{const X="cenc",W=n.pssh?n.pssh.buffer:null;return this.generateRequestWithPreferredKeySession(z,X,W,"playlist-key")})).catch(z=>this.handleError(z))),E}throwIfDestroyed(t="Invalid state"){if(!this.hls)throw new Error("invalid state")}handleError(t){this.hls&&(this.error(t.message),t instanceof _u?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=Ao(t.keyFormat),E=m?[m]:Lo(this.config);return this.attemptKeySystemAccess(E)}return s}getKeySystemSelectionPromise(t){if(t.length||(t=Lo(this.config)),t.length===0)throw new _u({type:c.KEY_SYSTEM_ERROR,details:f.KEY_SYSTEM_NO_CONFIGURED_LICENSE,fatal:!0},`Missing key-system license configuration options ${Xn({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;const I=(E=this.config.drmSystems)==null||(E=E[t.keySystem])==null?void 0:E.generateRequest;if(I)try{const Oe=I.call(this.hls,n,s,t);if(!Oe)throw new Error("Invalid response from configured generateRequest filter");n=Oe.initDataType,s=Oe.initData?Oe.initData:null,t.decryptdata.pssh=s?new Uint8Array(s):null}catch(Oe){var z;if(this.warn(Oe.message),(z=this.hls)!=null&&z.config.debug)throw Oe}if(s===null)return this.log(`Skipping key-session request for "${m}" (no initData)`),Promise.resolve(t);const X=this.getKeyIdString(t.decryptdata);this.log(`Generating key-session request for "${m}": ${X} (init data type: ${n} length: ${s?s.byteLength:null})`);const W=new Ms,le=t._onmessage=Oe=>{const Ue=t.mediaKeysSession;if(!Ue){W.emit("error",new Error("invalid state"));return}const{messageType:ut,message:lt}=Oe;this.log(`"${ut}" message event for session "${Ue.sessionId}" message size: ${lt.byteLength}`),ut==="license-request"||ut==="license-renewal"?this.renewLicense(t,lt).catch(Nt=>{W.eventNames().length?W.emit("error",Nt):this.handleError(Nt)}):ut==="license-release"?t.keySystem===rs.FAIRPLAY&&(this.updateKeySession(t,Rs("acknowledged")),this.removeSession(t)):this.warn(`unhandled media key message type "${ut}"`)},pe=t._onkeystatuseschange=Oe=>{if(!t.mediaKeysSession){W.emit("error",new Error("invalid state"));return}this.onKeyStatusChange(t);const ut=t.keyStatus;W.emit("keyStatus",ut),ut==="expired"&&(this.warn(`${t.keySystem} expired for key ${X}`),this.renewKeySession(t))};eu(t.mediaKeysSession,"message",le),eu(t.mediaKeysSession,"keystatuseschange",pe);const Ee=new Promise((Oe,Ue)=>{W.on("error",Ue),W.on("keyStatus",ut=>{ut.startsWith("usable")?Oe():ut==="output-restricted"?Ue(new _u({type:c.KEY_SYSTEM_ERROR,details:f.KEY_SYSTEM_STATUS_OUTPUT_RESTRICTED,fatal:!1},"HDCP level output restricted")):ut==="internal-error"?Ue(new _u({type:c.KEY_SYSTEM_ERROR,details:f.KEY_SYSTEM_STATUS_INTERNAL_ERROR,fatal:!0},`key status changed to "${ut}"`)):ut==="expired"?Ue(new Error("key expired while generating request")):this.warn(`unhandled key status change "${ut}"`)})});return t.mediaKeysSession.generateRequest(n,s).then(()=>{var Oe;this.log(`Request generated for key-session "${(Oe=t.mediaKeysSession)==null?void 0:Oe.sessionId}" keyId: ${X}`)}).catch(Oe=>{throw new _u({type:c.KEY_SYSTEM_ERROR,details:f.KEY_SYSTEM_NO_SESSION,error:Oe,fatal:!1},`Error generating key-session request: ${Oe}`)}).then(()=>Ee).catch(Oe=>{throw W.removeAllListeners(),this.removeSession(t),Oe}).then(()=>(W.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((I,z)=>{const X={responseType:"arraybuffer",url:E},W=n.certLoadPolicy.default,le={loadPolicy:W,timeout:W.maxLoadTimeMs,maxRetry:0,retryDelay:0,maxRetryDelay:0},pe={onSuccess:(Ee,Oe,Ue,ut)=>{I(Ee.data)},onError:(Ee,Oe,Ue,ut)=>{z(new _u({type:c.KEY_SYSTEM_ERROR,details:f.KEY_SYSTEM_SERVER_CERTIFICATE_REQUEST_FAILED,fatal:!0,networkDetails:Ue,response:b({url:X.url,data:void 0},Ee)},`"${t}" certificate request failed (${E}). Status: ${Ee.code} (${Ee.text})`))},onTimeout:(Ee,Oe,Ue)=>{z(new _u({type:c.KEY_SYSTEM_ERROR,details:f.KEY_SYSTEM_SERVER_CERTIFICATE_REQUEST_FAILED,fatal:!0,networkDetails:Ue,response:{url:X.url,data:void 0}},`"${t}" certificate request timed out (${E})`))},onAbort:(Ee,Oe,Ue)=>{z(new Error("aborted"))}};m.load(X,le,pe)})):Promise.resolve()}setMediaKeysServerCertificate(t,n,s){return new Promise((m,E)=>{t.setServerCertificate(s).then(I=>{this.log(`setServerCertificate ${I?"success":"not supported by CDM"} (${s==null?void 0:s.byteLength}) on "${n}"`),m(t)}).catch(I=>{E(new _u({type:c.KEY_SYSTEM_ERROR,details:f.KEY_SYSTEM_SERVER_CERTIFICATE_UPDATE_FAILED,error:I,fatal:!0},I.message))})})}renewLicense(t,n){return this.requestLicense(t,new Uint8Array(n)).then(s=>this.updateKeySession(t,new Uint8Array(s)).catch(m=>{throw new _u({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 le;for(let pe=0,Ee=E.length;pe<Ee;pe++){var I,z;le=E[pe];const Oe=(I=le.querySelector("name"))==null?void 0:I.textContent,Ue=(z=le.querySelector("value"))==null?void 0:z.textContent;Oe&&Ue&&t.setRequestHeader(Oe,Ue)}}const X=m.querySelector("Challenge"),W=X==null?void 0:X.textContent;if(!W)throw new Error("Cannot find <Challenge> in key message");return Rs(atob(W))}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(I=>{if(!s.decryptdata)throw I;return t.open("POST",n,!0),E.call(this.hls,t,n,s,m)}).then(I=>(t.readyState||t.open("POST",n,!0),{xhr:t,licenseChallenge:I||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 I=this.getLicenseServerUrlOrThrow(t.keySystem);this.log(`Sending license request to URL: ${I}`);const z=new XMLHttpRequest;z.responseType="arraybuffer",z.onreadystatechange=()=>{if(!this.hls||!t.mediaKeysSession)return E(new Error("invalid state"));if(z.readyState===4)if(z.status===200){this._requestLicenseFailureCount=0;let X=z.response;this.log(`License received ${X instanceof ArrayBuffer?X.byteLength:X}`);const W=this.config.licenseResponseCallback;if(W)try{X=W.call(this.hls,z,I,t)}catch(le){this.error(le)}m(X)}else{const X=s.errorRetry,W=X?X.maxNumRetry:0;if(this._requestLicenseFailureCount++,this._requestLicenseFailureCount>W||z.status>=400&&z.status<500)E(new _u({type:c.KEY_SYSTEM_ERROR,details:f.KEY_SYSTEM_LICENSE_REQUEST_FAILED,fatal:!0,networkDetails:z,response:{url:I,data:void 0,code:z.status,text:z.statusText}},`License Request XHR failed (${I}). Status: ${z.status} (${z.statusText})`));else{const le=W-this._requestLicenseFailureCount+1;this.warn(`Retrying license request, ${le} attempts left`),this.requestLicense(t,n).then(m,E)}}},t.licenseXhr&&t.licenseXhr.readyState!==XMLHttpRequest.DONE&&t.licenseXhr.abort(),t.licenseXhr=z,this.setupLicenseXHR(z,I,t,n).then(({xhr:X,licenseChallenge:W})=>{t.keySystem==rs.PLAYREADY&&(W=this.unpackPlayReadyKeyMessage(X,W)),X.send(W)})})}onDestroying(){this.unregisterListeners(),this._clear()}onMediaAttached(t,n){if(!this.config.emeEnabled)return;const s=n.media;this.media=s,eu(s,"encrypted",this.onMediaEncrypted),eu(s,"waitingforkey",this.onWaitingForKey)}onMediaDetached(){const t=this.media;t&&(cu(t,"encrypted",this.onMediaEncrypted),cu(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,go.clearKeyUriToKeyIdMap();const m=s.length;Kl.CDMCleanupPromise=Promise.all(s.map(E=>this.removeSession(E)).concat(n==null||(t=n.setMediaKeys(null))==null?void 0:t.catch(E=>{var I;this.log(`Could not clear media keys: ${E}`),(I=this.hls)==null||I.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 I;this.log(`Could not close sessions and clear media keys: ${E}`),(I=this.hls)==null||I.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(as(E)?new Promise((z,X)=>{self.setTimeout(()=>X(new Error("MediaKeySession.remove() timeout")),8e3),n.remove().then(z)}):Promise.resolve()).catch(z=>{var X;this.log(`Could not remove session: ${z}`),(X=this.hls)==null||X.trigger(o.ERROR,{type:c.OTHER_ERROR,details:f.KEY_SYSTEM_DESTROY_REMOVE_SESSION_ERROR,fatal:!1,error:new Error(`Could not remove session: ${z}`)})}).then(()=>n.close()).catch(z=>{var X;this.log(`Could not close session: ${z}`),(X=this.hls)==null||X.trigger(o.ERROR,{type:c.OTHER_ERROR,details:f.KEY_SYSTEM_DESTROY_CLOSE_SESSION_ERROR,fatal:!1,error:new Error(`Could not close session: ${z}`)})})}}}Kl.CDMCleanupPromise=void 0;class _u 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 pc{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,I=s-this.lastDroppedFrames,z=n-this.lastDecodedFrames,X=1e3*I/E,W=this.hls;if(W.trigger(o.FPS_DROP,{currentDropped:I,currentDecoded:z,totalDroppedFrames:s}),X>0&&I>W.config.fpsDroppedMonitoringThreshold*z){let le=W.currentLevel;W.logger.warn("drop FPS ratio greater than max allowed value for currentLevel: "+le),le>0&&(W.autoLevelCapping===-1||W.autoLevelCapping>=le)&&(le=le-1,W.trigger(o.FPS_DROP_LEVEL_CAPPING,{level:le,droppedLevel:W.currentLevel}),W.autoLevelCapping=le,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 Il(O,t){let n;try{n=new Event("addtrack")}catch(s){n=document.createEvent("Event"),n.initEvent("addtrack",!1,!1)}n.track=O,t.dispatchEvent(n)}function ef(O,t){const n=O.mode;if(n==="disabled"&&(O.mode="hidden"),O.cues&&!O.cues.getCueById(t.id))try{if(O.addCue(t),!O.cues.getCueById(t.id))throw new Error(`addCue is failed for: ${t}`)}catch(s){H.debug(`[texttrack-utils]: ${s}`);try{const m=new self.TextTrackCue(t.startTime,t.endTime,t.text);m.id=t.id,O.addCue(m)}catch(m){H.debug(`[texttrack-utils]: Legacy TextTrackCue fallback failed: ${m}`)}}n==="disabled"&&(O.mode=n)}function bl(O,t){const n=O.mode;if(n==="disabled"&&(O.mode="hidden"),O.cues)for(let s=O.cues.length;s--;)t&&O.cues[s].removeEventListener("enter",t),O.removeCue(O.cues[s]);n==="disabled"&&(O.mode=n)}function Uu(O,t,n,s){const m=O.mode;if(m==="disabled"&&(O.mode="hidden"),O.cues&&O.cues.length>0){const E=mc(O.cues,t,n);for(let I=0;I<E.length;I++)(!s||s(E[I]))&&O.removeCue(E[I])}m==="disabled"&&(O.mode=m)}function _c(O,t){if(t<=O[0].startTime)return 0;const n=O.length-1;if(t>O[n].endTime)return-1;let s=0,m=n,E;for(;s<=m;)if(E=Math.floor((m+s)/2),t<O[E].startTime)m=E-1;else if(t>O[E].startTime&&s<n)s=E+1;else return E;return O[s].startTime-t<t-O[m].startTime?s:m}function mc(O,t,n){const s=[],m=_c(O,t);if(m>-1)for(let E=m,I=O.length;E<I;E++){const z=O[E];if(z.startTime>=t&&z.endTime<=n)s.push(z);else if(z.startTime>n)return s}return s}function Yl(O){const t=[];for(let n=0;n<O.length;n++){const s=O[n];(s.kind==="subtitles"||s.kind==="captions")&&s.label&&t.push(O[n])}return t}class Lc extends nu{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=Yl(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;Yl(s.textTracks).forEach(I=>{bl(I)})}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,I=this.tracksInGroup[s];if(!I||I.groupId!==m){this.warn(`Subtitle track with id:${s} and group:${m} not found in active group ${I==null?void 0:I.groupId}`);return}const z=I.details;I.details=n.details,this.log(`Subtitle track ${s} "${I.name}" lang:${I.lang} group:${m} loaded [${E.startSN}-${E.endSN}]`),s===this.trackId&&this.playlistLoaded(s,n,z)}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(I=>(m==null?void 0:m.indexOf(I))===-1)){this.groupIds=s,this.trackId=-1,this.currentTrack=null;const I=this.tracks.filter(le=>!s||s.indexOf(le.groupId)!==-1);if(I.length)this.selectDefaultTrack&&!I.some(le=>le.default)&&(this.selectDefaultTrack=!1),I.forEach((le,pe)=>{le.id=pe});else if(!E&&!this.tracksInGroup.length)return;this.tracksInGroup=I;const z=this.hls.config.subtitlePreference;if(!E&&z){this.selectDefaultTrack=!1;const le=fa(z,I);if(le>-1)E=I[le];else{const pe=fa(z,this.tracks);E=this.tracks[pe]}}let X=this.findTrackId(E);X===-1&&E&&(X=this.findTrackId(null));const W={subtitleTracks:I};this.log(`Updating subtitle tracks, ${I.length} track(s) found in "${s==null?void 0:s.join(",")}" group-id`),this.hls.trigger(o.SUBTITLE_TRACKS_UPDATED,W),X!==-1&&this.trackId===-1&&this.setSubtitleTrack(X)}}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||ri(E,t)))return m}if(t){for(let m=0;m<n.length;m++){const E=n[m];if(ro(t.attrs,E.attrs,["LANGUAGE","ASSOC-LANGUAGE","CHARACTERISTICS"]))return m}for(let m=0;m<n.length;m++){const E=n[m];if(ro(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(iu(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&&ri(t,s))return s;const m=fa(t,this.tracksInGroup);if(m>-1){const E=this.tracksInGroup[m];return this.setSubtitleTrack(m),E}else{if(s)return null;{const E=fa(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),I=t.details,z=I==null?void 0:I.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:""}${z&&I.live?" age "+z.toFixed(1)+(I.type?" "+I.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=Yl(t.textTracks),s=this.currentTrack;let m;if(s&&(m=n.filter(E=>iu(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:I,groupId:z="",name:X,type:W,url:le}=m;this.hls.trigger(o.SUBTITLE_TRACK_SWITCH,{id:I,groupId:z,name:X,type:W,url:le});const pe=this.switchParams(m.url,s==null?void 0:s.details,m.details);this.loadPlaylist(pe)}}function Ef(){try{return crypto.randomUUID()}catch(O){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 T(O){let t=5381,n=O.length;for(;n;)t=t*33^O.charCodeAt(--n);return(t>>>0).toString()}const D=.025;let L=function(O){return O[O.Point=0]="Point",O[O.Range=1]="Range",O}({});function me(O,t,n){return`${O.identifier}-${n+1}-${T(t)}`}class ke{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 sn(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=sn(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 sn(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)<D))}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"?L.Range:L.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 ji(this)}}function sn(O,t){return O-t.start<t.duration/2&&!(Math.abs(O-(t.start+t.duration))<D)?t.start:t.start+t.duration}function Yn(O,t,n){const s=new self.URL(O,n);return s.protocol!=="data:"&&s.searchParams.set("_HLS_primary_id",t),s}function mn(O,t){for(;(n=O.assetList[++t])!=null&&n.error;)var n;return t}function ji(O){return`["${O.identifier}" ${O.cue.pre?"<pre>":O.cue.post?"<post>":""}${O.timelineStart.toFixed(2)}-${O.resumeTime.toFixed(2)}]`}function Wa(O){const t=O.timelineStart,n=O.duration||0;return`["${O.identifier}" ${t.toFixed(2)}-${(t+n).toFixed(2)}]`}class Ga{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&&this.hls.trigger(o.PLAYOUT_LIMIT_REACHED,{})};const E=this.hls=new t(n);this.interstitial=s,this.assetItem=m;const I=()=>{this.hasDetails=!0};E.once(o.LEVEL_LOADED,I),E.once(o.AUDIO_TRACK_LOADED,I),E.once(o.SUBTITLE_TRACK_LOADED,I),E.on(o.MEDIA_ATTACHING,(z,{media:X})=>{this.removeMediaListeners(),this.mediaAttached=X,this.interstitial.playoutLimit&&(X.addEventListener("timeupdate",this.checkPlayout),this.appendInPlace&&E.on(o.BUFFER_APPENDED,()=>{const le=this.bufferedEnd;this.reachedPlayout(le)&&(this._bufferedEosTime=le,E.trigger(o.BUFFERED_TO_END,void 0))}))})}get appendInPlace(){return this.interstitial.appendInPlace}loadSource(){const t=this.hls;if(t&&!t.url){let n=this.assetItem.uri;try{n=Yn(n,t.config.primarySessionId||"").href}catch(s){}t.loadSource(n)}}bufferedInPlaceToEnd(t){var n;if(!this.appendInPlace)return!1;if((n=this.hls)!=null&&n.bufferedToEnd)return!0;if(!t)return!1;const s=this._bufferedEosTime||this.duration,m=this.timelineOffset,E=Jn.bufferInfo(t,m,0);return this.getAssetTime(E.end)>=s-.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=Jn.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&&this.hls){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&&this.hls.destroy(),this.hls=null,this.tracks=this.mediaAttached=this.checkPlayout=null}attachMedia(t){var n;this.loadSource(),(n=this.hls)==null||n.attachMedia(t)}detachMedia(){var t;this.removeMediaListeners(),this.mediaAttached=null,(t=this.hls)==null||t.detachMedia()}resumeBuffering(){var t;(t=this.hls)==null||t.resumeBuffering()}pauseBuffering(){var t;(t=this.hls)==null||t.pauseBuffering()}transferMedia(){var t;return this.bufferSnapShot(),((t=this.hls)==null?void 0:t.transferMedia())||null}resetDetails(){const t=this.hls;if(t&&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){var m;(m=this.hls)==null||m.on(t,n)}once(t,n,s){var m;(m=this.hls)==null||m.once(t,n)}off(t,n,s){var m;(m=this.hls)==null||m.off(t,n)}toString(){var t;return`HlsAssetPlayer: ${Wa(this.assetItem)} ${(t=this.hls)==null?void 0:t.sessionId} ${this.appendInPlace?"append-in-place":""}`}}const Uo=.033;class Ss 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 I=s[E];if(!I.error){const z=I.timelineStart;if(n===z||n>z&&(n<z+(I.duration||0)||E===m-1))return E}}return 0}get assetIdAtEnd(){var t;const n=(t=this.items)==null||(t=t[this.length-1])==null?void 0:t.event;if(n){const s=n.assetList,m=s[s.length-1];if(m)return m.identifier}return null}parseInterstitialDateRanges(t,n){const s=t.main.details,{dateRanges:m}=s,E=this.events,I=this.parseDateRanges(m,{url:s.url},n),z=Object.keys(m),X=E?E.filter(W=>!z.includes(W.identifier)):[];I.length&&I.sort((W,le)=>{const pe=W.cue.pre,Ee=W.cue.post,Oe=le.cue.pre,Ue=le.cue.post;if(pe&&!Oe)return-1;if(Oe&&!pe||Ee&&!Ue)return 1;if(Ue&&!Ee)return-1;if(!pe&&!Oe&&!Ee&&!Ue){const ut=W.startTime,lt=le.startTime;if(ut!==lt)return ut-lt}return W.dateRange.tagOrder-le.dateRange.tagOrder}),this.events=I,X.forEach(W=>{this.removeEvent(W)}),this.updateSchedule(t,X)}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((z,X)=>Math.abs(z.playout.start-m[X].playout.start)>.005||Math.abs(z.playout.end-m[X].playout.end)>.005))&&(this.items=E,this.onScheduleUpdate(n,m))}}parseDateRanges(t,n,s){const m=[],E=Object.keys(t);for(let I=0;I<E.length;I++){const z=E[I],X=t[z];if(X.isInterstitial){let W=this.eventMap[z];W?W.setDateRange(X):(W=new ke(X,n),this.eventMap[z]=W,s===!1&&(W.appendInPlace=s)),m.push(W)}}return m}parseSchedule(t,n){const s=[],m=n.main.details,E=m.live?1/0:m.edge;let I=0;if(t=t.filter(X=>!X.error&&!(X.cue.once&&X.hasPlayed)),t.length){this.resolveOffsets(t,n);let X=0,W=0;if(t.forEach((le,pe)=>{const Ee=le.cue.pre,Oe=le.cue.post,Ue=t[pe-1]||null,ut=le.appendInPlace,lt=Oe?E:le.startOffset,Nt=le.duration,pr=le.timelineOccupancy===L.Range?Nt:0,sr=le.resumptionOffset,Fr=(Ue==null?void 0:Ue.startTime)===lt,Yr=lt+le.cumulativeDuration;let vn=ut?Yr+Nt:lt+sr;if(Ee||!Oe&<<=0){const an=W;W+=pr,le.timelineStart=Yr;const fn=I;I+=Nt,s.push({event:le,start:Yr,end:vn,playout:{start:fn,end:I},integrated:{start:an,end:W}})}else if(lt<=E){if(!Fr){const Gr=lt-X;if(Gr>Uo){const Sn=X,yi=W;W+=Gr;const Ji=I;I+=Gr;const da={previousEvent:t[pe-1]||null,nextEvent:le,start:Sn,end:Sn+Gr,playout:{start:Ji,end:I},integrated:{start:yi,end:W}};s.push(da)}else Gr>0&&Ue&&(Ue.cumulativeDuration+=Gr,s[s.length-1].end=lt)}Oe&&(vn=Yr),le.timelineStart=Yr;const an=W;W+=pr;const fn=I;I+=Nt,s.push({event:le,start:Yr,end:vn,playout:{start:fn,end:I},integrated:{start:an,end:W}})}else return;const Wr=le.resumeTime;Oe||Wr>E?X=E:X=Wr}),X<E){var z;const le=X,pe=W,Ee=E-X;W+=Ee;const Oe=I;I+=Ee,s.push({previousEvent:((z=s[s.length-1])==null?void 0:z.event)||null,nextEvent:null,start:X,end:le+Ee,playout:{start:Oe,end:I},integrated:{start:pe,end:W}})}this.setDurations(E,I,W)}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,I=-1;t.forEach((z,X)=>{const W=z.cue.pre,le=z.cue.post,pe=W?0:le?m:z.startTime;this.updateAssetDurations(z),I===pe?z.cumulativeDuration=E:(E=0,I=pe),!le&&z.snapOptions.in&&(z.resumeAnchor=An(null,s.fragments,z.startOffset+z.resumptionOffset,0,0)||void 0),z.appendInPlace&&!z.appendInPlaceStarted&&(this.primaryCanResumeInPlaceAt(z,n)||(z.appendInPlace=!1)),!z.appendInPlace&&X+1<t.length&&t[X+1].startTime-t[X].resumeTime<Uo&&(t[X+1].appendInPlace=!1,t[X+1].appendInPlace&&this.warn(`Could not change append strategy for abutting event ${z}`));const Oe=r(z.resumeOffset)?z.resumeOffset:z.duration;E+=Oe})}primaryCanResumeInPlaceAt(t,n){const s=t.resumeTime,m=t.startTime+t.resumptionOffset;return Math.abs(s-m)>D?(this.log(`"${t.identifier}" resumption ${s} not aligned with estimated timeline end ${m}`),!1):n?!Object.keys(n).some(I=>{const z=n[I].details,X=z.edge;if(s>=X)return this.log(`"${t.identifier}" resumption ${s} past ${I} playlist end ${X}`),!1;const W=An(null,z.fragments,s);if(!W)return this.log(`"${t.identifier}" resumption ${s} does not align with any fragments in ${I} playlist (${z.fragStart}-${z.fragmentEnd})`),!0;const le=I==="audio"?.175:0;return Math.abs(W.start-s)<D+le||Math.abs(W.end-s)<D+le?!1:(this.log(`"${t.identifier}" resumption ${s} not aligned with ${I} fragment bounds (${W.start}-${W.end} sn: ${W.sn} cc: ${W.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((I,z)=>{const X=n+s;I.startOffset=s,I.timelineStart=X,m||(m=I.duration===null),E||(E=!!I.error);const W=I.error?0:I.duration||0;s+=W}),m&&!E?t.duration=Math.max(s,t.duration):t.duration=s}removeEvent(t){t.reset(),delete this.eventMap[t.identifier]}}function Qs(O){return`[${O.event?'"'+O.event.identifier+'"':"primary"}: ${O.start.toFixed(2)}-${O.end.toFixed(2)}]`}class zs{constructor(t){this.hls=void 0,this.hls=t}destroy(){this.hls=null}loadAssetList(t,n){const s=t.assetListUrl;let m;try{m=Yn(s,this.hls.sessionId,t.baseUrl)}catch(Ee){const Oe=this.assignAssetListError(t,f.ASSET_LIST_LOAD_ERROR,Ee,s);this.hls.trigger(o.ERROR,Oe);return}n&&m.protocol!=="data:"&&m.searchParams.set("_HLS_start_offset",""+n);const E=this.hls.config,I=E.loader,z=new I(E),X={responseType:"json",url:m.href},W=E.interstitialAssetListLoadPolicy.default,le={loadPolicy:W,timeout:W.maxLoadTimeMs,maxRetry:0,retryDelay:0,maxRetryDelay:0},pe={onSuccess:(Ee,Oe,Ue,ut)=>{const lt=Ee.data,Nt=lt==null?void 0:lt.ASSETS;if(!Array.isArray(Nt)){const pr=this.assignAssetListError(t,f.ASSET_LIST_PARSING_ERROR,new Error("Invalid interstitial asset list"),Ue.url,Oe,ut);this.hls.trigger(o.ERROR,pr);return}t.assetListResponse=lt,this.hls.trigger(o.ASSET_LIST_LOADED,{event:t,assetListResponse:lt,networkDetails:ut})},onError:(Ee,Oe,Ue,ut)=>{const lt=this.assignAssetListError(t,f.ASSET_LIST_LOAD_ERROR,new Error(`Error loading X-ASSET-LIST: HTTP status ${Ee.code} ${Ee.text} (${Oe.url})`),Oe.url,ut,Ue);this.hls.trigger(o.ERROR,lt)},onTimeout:(Ee,Oe,Ue)=>{const ut=this.assignAssetListError(t,f.ASSET_LIST_LOAD_TIMEOUT,new Error(`Timeout loading X-ASSET-LIST (${Oe.url})`),Oe.url,Ee,Ue);this.hls.trigger(o.ERROR,ut)}};return z.load(X,le,pe),this.hls.trigger(o.ASSET_LIST_LOADING,{event:t}),z}assignAssetListError(t,n,s,m,E,I){return t.error=s,{type:c.NETWORK_ERROR,details:n,fatal:!1,interstitial:t,url:m,error:s,networkDetails:I,stats:E}}}function Mc(O){O==null||O.play().catch(()=>{})}class tf 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||!this.schedule)return;const m=s-this.timelinePos;if(Math.abs(m)<1/7056e5)return;const I=m<=-.01;this.timelinePos=s,this.bufferedPos=s;const z=this.playingItem;if(!z){this.checkBuffer();return}if(I&&this.schedule.resetErrorsInRange(s,s-m)&&this.updateSchedule(),this.checkBuffer(),I&&s<z.start||s>=z.end){var X;const Ee=this.findItemIndex(z);let Oe=this.schedule.findItemIndexAtTime(s);if(Oe===-1&&(Oe=Ee+(I?-1:1),this.log(`seeked ${I?"back ":""}to position not covered by schedule ${s} (resolving from ${Ee} to ${Oe})`)),!this.isInterstitial(z)&&(X=this.media)!=null&&X.paused&&(this.shouldPlay=!1),!I&&Oe>Ee){const Ue=this.schedule.findJumpRestrictedIndex(Ee+1,Oe);if(Ue>Ee){this.setSchedulePosition(Ue);return}}this.setSchedulePosition(Oe);return}const W=this.playingAsset;if(!W){if(this.playingLastItem&&this.isInterstitial(z)){const Ee=z.event.assetList[0];Ee&&(this.endedItem=this.playingItem,this.playingItem=null,this.setScheduleToAssetAtTime(s,Ee))}return}const le=W.timelineStart,pe=W.duration||0;(I&&s<le||s>=le+pe)&&this.setScheduleToAssetAtTime(s,W)},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 z=this.findItemIndex(m);this.setSchedulePosition(z+1)}const E=this.playingAsset;if(!E)return;const I=E.timelineStart+(E.duration||0);s>=I&&this.setScheduleToAssetAtTime(s,E)},this.onScheduleUpdate=(s,m)=>{const E=this.schedule;if(!E)return;const I=this.playingItem,z=E.events||[],X=E.items||[],W=E.durations,le=s.map(ut=>ut.identifier),pe=!!(z.length||le.length);(pe||m)&&this.log(`INTERSTITIALS_UPDATED (${z.length}): ${z}
|
|
|
Schedule: ${X.map(ut=>Qs(ut))} pos: ${this.timelinePos}`),le.length&&this.log(`Removed events ${le}`);let Ee=null,Oe=null;I&&(Ee=this.updateItem(I,this.timelinePos),this.itemsMatch(I,Ee)?this.playingItem=Ee:this.waitingItem=this.endedItem=null),this.waitingItem=this.updateItem(this.waitingItem),this.endedItem=this.updateItem(this.endedItem);const Ue=this.bufferingItem;if(Ue&&(Oe=this.updateItem(Ue,this.bufferedPos),this.itemsMatch(Ue,Oe)?this.bufferingItem=Oe:Ue.event&&(this.bufferingItem=this.playingItem,this.clearInterstitial(Ue.event,null))),s.forEach(ut=>{ut.assetList.forEach(lt=>{this.clearAssetPlayer(lt.identifier,null)})}),this.playerQueue.forEach(ut=>{if(ut.interstitial.appendInPlace){const lt=ut.assetItem.timelineStart,Nt=ut.timelineOffset-lt;if(Nt)try{ut.timelineOffset=lt}catch(pr){Math.abs(Nt)>D&&this.warn(`${pr} ("${ut.assetId}" ${ut.timelineOffset}->${lt})`)}}}),pe||m){if(this.hls.trigger(o.INTERSTITIALS_UPDATED,{events:z.slice(0),schedule:X.slice(0),durations:W,removedIds:le}),this.isInterstitial(I)&&le.includes(I.event.identifier)){this.warn(`Interstitial "${I.event.identifier}" removed while playing`),this.primaryFallback(I.event);return}I&&this.trimInPlace(Ee,I),Ue&&this.trimInPlace(Oe,Ue),this.checkBuffer()}},this.hls=t,this.HlsPlayerClass=n,this.assetListLoader=new zs(t),this.schedule=new Ss(this.onScheduleUpdate,t.logger),this.registerListeners()}registerListeners(){const t=this.hls;t&&(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.schedule=this.manager=null,this.hls=this.HlsPlayerClass=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){cu(t,"play",this.onPlay),cu(t,"pause",this.onPause),cu(t,"seeking",this.onSeeking),cu(t,"timeupdate",this.onTimeupdate)}onMediaAttaching(t,n){const s=this.media=n.media;eu(s,"seeking",this.onSeeking),eu(s,"timeupdate",this.onTimeupdate),eu(s,"play",this.onPlay),eu(s,"pause",this.onPause)}onMediaAttached(t,n){const s=this.effectivePlayingItem,m=this.detachedData;if(this.detachedData=null,s===null)this.checkStart();else if(!m){this.clearScheduleState();const E=this.findItemIndex(s);this.setSchedulePosition(E)}}clearScheduleState(){this.playingItem=this.bufferingItem=this.waitingItem=this.endedItem=this.playingAsset=this.endedAsset=this.bufferingAsset=null}onMediaDetaching(t,n){const s=!!n.transferMedia,m=this.media;if(this.media=null,!s&&(m&&this.removeMediaListeners(m),this.detachedData)){const E=this.getBufferingPlayer();E&&(this.playingAsset=this.endedAsset=this.bufferingAsset=this.bufferingItem=this.waitingItem=this.detachedData=null,E.detachMedia()),this.shouldPlay=!1}}get interstitialsManager(){if(!this.hls)return null;if(this.manager)return this.manager;const t=this,n=()=>t.bufferingItem||t.waitingItem,s=pe=>pe&&t.getAssetPlayer(pe.identifier),m=(pe,Ee,Oe,Ue,ut)=>{if(pe){let lt=pe[Ee].start;const Nt=pe.event;if(Nt){if(Ee==="playout"||Nt.timelineOccupancy!==L.Point){const pr=s(Oe);(pr==null?void 0:pr.interstitial)===Nt&&(lt+=pr.assetItem.startOffset+pr[ut])}}else{const pr=Ue==="bufferedPos"?I():t[Ue];lt+=pr-pe.start}return lt}return 0},E=(pe,Ee)=>{var Oe;if(pe!==0&&Ee!=="primary"&&(Oe=t.schedule)!=null&&Oe.length){var Ue;const ut=t.schedule.findItemIndexAtTime(pe),lt=(Ue=t.schedule.items)==null?void 0:Ue[ut];if(lt){const Nt=lt[Ee].start-lt.start;return pe+Nt}}return pe},I=()=>{const pe=t.bufferedPos;return pe===Number.MAX_VALUE?z("primary"):Math.max(pe,0)},z=pe=>{var Ee,Oe;return(Ee=t.primaryDetails)!=null&&Ee.live?t.primaryDetails.edge:((Oe=t.schedule)==null?void 0:Oe.durations[pe])||0},X=(pe,Ee)=>{var Oe,Ue;const ut=t.effectivePlayingItem;if(ut!=null&&(Oe=ut.event)!=null&&Oe.restrictions.skip||!t.schedule)return;t.log(`seek to ${pe} "${Ee}"`);const lt=t.effectivePlayingItem,Nt=t.schedule.findItemIndexAtTime(pe,Ee),pr=(Ue=t.schedule.items)==null?void 0:Ue[Nt],sr=t.getBufferingPlayer(),Fr=sr==null?void 0:sr.interstitial,Yr=Fr==null?void 0:Fr.appendInPlace,vn=lt&&t.itemsMatch(lt,pr);if(lt&&(Yr||vn)){const Wr=s(t.playingAsset),an=(Wr==null?void 0:Wr.media)||t.primaryMedia;if(an){const fn=Ee==="primary"?an.currentTime:m(lt,Ee,t.playingAsset,"timelinePos","currentTime"),Gr=pe-fn,Sn=(Yr?fn:an.currentTime)+Gr;if(Sn>=0&&(!Wr||Yr||Sn<=Wr.duration)){an.currentTime=Sn;return}}}if(pr){let Wr=pe;if(Ee!=="primary"){const fn=pr[Ee].start,Gr=pe-fn;Wr=pr.start+Gr}const an=!t.isInterstitial(pr);if((!t.isInterstitial(lt)||lt.event.appendInPlace)&&(an||pr.event.appendInPlace)){const fn=t.media||(Yr?sr==null?void 0:sr.media:null);fn&&(fn.currentTime=Wr)}else if(lt){const fn=t.findItemIndex(lt);if(Nt>fn){const Sn=t.schedule.findJumpRestrictedIndex(fn+1,Nt);if(Sn>fn){t.setSchedulePosition(Sn);return}}let Gr=0;if(an)t.timelinePos=Wr,t.checkBuffer();else{const Sn=pr.event.assetList,yi=pe-(pr[Ee]||pr).start;for(let Ji=Sn.length;Ji--;){const da=Sn[Ji];if(da.duration&&yi>=da.startOffset&&yi<da.startOffset+da.duration){Gr=Ji;break}}}t.setSchedulePosition(Nt,Gr)}}},W=()=>{const pe=t.effectivePlayingItem;if(t.isInterstitial(pe))return pe;const Ee=n();return t.isInterstitial(Ee)?Ee:null},le={get bufferedEnd(){const pe=n(),Ee=t.bufferingItem;if(Ee&&Ee===pe){var Oe;return m(Ee,"playout",t.bufferingAsset,"bufferedPos","bufferedEnd")-Ee.playout.start||((Oe=t.bufferingAsset)==null?void 0:Oe.startOffset)||0}return 0},get currentTime(){const pe=W(),Ee=t.effectivePlayingItem;return Ee&&Ee===pe?m(Ee,"playout",t.effectivePlayingAsset,"timelinePos","currentTime")-Ee.playout.start:0},set currentTime(pe){const Ee=W(),Oe=t.effectivePlayingItem;Oe&&Oe===Ee&&X(pe+Oe.playout.start,"playout")},get duration(){const pe=W();return pe?pe.playout.end-pe.playout.start:0},get assetPlayers(){var pe;const Ee=(pe=W())==null?void 0:pe.event.assetList;return Ee?Ee.map(Oe=>t.getAssetPlayer(Oe.identifier)):[]},get playingIndex(){var pe;const Ee=(pe=W())==null?void 0:pe.event;return Ee&&t.effectivePlayingAsset?Ee.findAssetIndex(t.effectivePlayingAsset):-1},get scheduleItem(){return W()}};return this.manager={get events(){var pe;return((pe=t.schedule)==null||(pe=pe.events)==null?void 0:pe.slice(0))||[]},get schedule(){var pe;return((pe=t.schedule)==null||(pe=pe.items)==null?void 0:pe.slice(0))||[]},get interstitialPlayer(){return W()?le:null},get playerQueue(){return t.playerQueue.slice(0)},get bufferingAsset(){return t.bufferingAsset},get bufferingItem(){return n()},get bufferingIndex(){const pe=n();return t.findItemIndex(pe)},get playingAsset(){return t.effectivePlayingAsset},get playingItem(){return t.effectivePlayingItem},get playingIndex(){const pe=t.effectivePlayingItem;return t.findItemIndex(pe)},primary:{get bufferedEnd(){return I()},get currentTime(){const pe=t.timelinePos;return pe>0?pe:0},set currentTime(pe){X(pe,"primary")},get duration(){return z("primary")},get seekableStart(){var pe;return((pe=t.primaryDetails)==null?void 0:pe.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(pe){X(pe,"integrated")},get duration(){return z("integrated")},get seekableStart(){var pe;return E(((pe=t.primaryDetails)==null?void 0:pe.fragmentStart)||0,"integrated")}},skip:()=>{const pe=t.effectivePlayingItem,Ee=pe==null?void 0:pe.event;if(Ee&&!Ee.restrictions.skip){const Oe=t.findItemIndex(pe);if(Ee.appendInPlace){const Ue=pe.playout.start+pe.event.duration;X(Ue+.001,"playout")}else t.advanceAfterAssetEnded(Ee,Oe,1/0)}}}}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;if(this.mediaSelection===null)return;const s=this.waitingItem||this.playingItem;if(this.isInterstitial(s)&&!s.event.appendInPlace)return;let m=this.media;!m&&(t=this.bufferingItem)!=null&&(t=t.event)!=null&&t.appendInPlace&&(m=this.primaryMedia);const E=(n=m)==null?void 0:n.currentTime;if(!(E===void 0||!r(E)))return E}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} ${Xn(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 I=this.hls,z=t!==I,X=z&&t.interstitial.appendInPlace,W=(s=this.detachedData)==null?void 0:s.mediaSource;let le;if(I.media)X&&(E=I.transferMedia(),this.detachedData=E),le="Primary";else if(W){const Ue=this.getBufferingPlayer();Ue?(E=Ue.transferMedia(),le=`${Ue}`):le="detached MediaSource"}else le="detached media";if(!E){if(W)E=this.detachedData,this.log(`using detachedData: MediaSource ${Xn(E)}`);else if(!this.detachedData||I.media===n){const Ue=this.playerQueue;Ue.length>1&&Ue.forEach(ut=>{if(z&&ut.interstitial.appendInPlace!==X){const lt=ut.interstitial;this.clearInterstitial(ut.interstitial,null),lt.appendInPlace=!1,lt.appendInPlace&&this.warn(`Could not change append strategy for queued assets ${lt}`)}}),this.hls.detachMedia(),this.detachedData={media:n}}}const pe=E&&"mediaSource"in E&&((m=E.mediaSource)==null?void 0:m.readyState)!=="closed",Ee=pe&&E?E:n;this.log(`${pe?"transfering MediaSource":"attaching media"} to ${z?t:"Primary"} from ${le} (media.currentTime: ${n.currentTime})`);const Oe=this.schedule;if(Ee===E&&Oe){const Ue=z&&t.assetId===Oe.assetIdAtEnd;Ee.overrides={duration:Oe.duration,endOfStream:!z||Ue,cueRemoval:!z}}t.attachMedia(Ee)}onInterstitialCueEnter(){this.onTimeupdate()}checkStart(){const t=this.schedule,n=t==null?void 0: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 I=t.findEventIndex(n[0].identifier);this.setSchedulePosition(I)}else if(E>=0||!this.primaryLive){const I=this.timelinePos=E>0?E:0,z=t.findItemIndexAtTime(I);this.setSchedulePosition(z)}}else if(m&&!this.playingItem){const E=t.findItemIndex(m);this.setSchedulePosition(E)}}advanceAssetBuffering(t,n){const s=t.event,m=s.findAssetIndex(n),E=mn(s,m);if(!s.isAssetPastPlayoutLimit(E))this.bufferedToEvent(t,E);else if(this.schedule){var I;const z=(I=this.schedule.items)==null?void 0:I[this.findItemIndex(t)+1];z&&this.bufferedToItem(z)}}advanceAfterAssetEnded(t,n,s){const m=mn(t,s);if(t.isAssetPastPlayoutLimit(m)){if(this.schedule){const E=this.schedule.items;if(E){const I=n+1,z=E.length;if(I>=z){this.setSchedulePosition(-1);return}const X=t.resumeTime;this.timelinePos<X&&(this.timelinePos=X,t.appendInPlace&&this.advanceInPlace(X),this.checkBuffer(this.bufferedPos<X)),this.setSchedulePosition(I)}}}else{if(t.appendInPlace){const E=t.assetList[m];E&&this.advanceInPlace(E.timelineStart)}this.setSchedulePosition(n,m)}}setScheduleToAssetAtTime(t,n){const s=this.schedule;if(!s)return;const m=n.parentIdentifier,E=s.getEvent(m);if(E){const I=s.findEventIndex(m),z=s.findAssetIndex(E,t);this.advanceAfterAssetEnded(E,I,z-1)}}setSchedulePosition(t,n){var s;const m=(s=this.schedule)==null?void 0:s.items;if(!m||this.playbackDisabled)return;this.log(`setSchedulePosition ${t}, ${n}`);const E=t>=0?m[t]:null,I=this.waitingItem||this.playingItem,z=this.playingLastItem;if(this.isInterstitial(I)){const le=I.event,pe=this.playingAsset,Ee=pe==null?void 0:pe.identifier,Oe=Ee?this.getAssetPlayer(Ee):null;if(Oe&&Ee&&(!this.eventItemsMatch(I,E)||n!==void 0&&Ee!==le.assetList[n].identifier)){var X;const Ue=le.findAssetIndex(pe);if(this.log(`INTERSTITIAL_ASSET_ENDED ${Ue+1}/${le.assetList.length} ${Wa(pe)}`),this.endedAsset=pe,this.playingAsset=null,this.hls.trigger(o.INTERSTITIAL_ASSET_ENDED,{asset:pe,assetListIndex:Ue,event:le,schedule:m.slice(0),scheduleIndex:t,player:Oe}),I!==this.playingItem){this.itemsMatch(I,this.playingItem)&&!this.playingAsset&&this.advanceAfterAssetEnded(le,this.findItemIndex(this.playingItem),Ue);return}this.retreiveMediaSource(Ee,E),Oe.media&&!((X=this.detachedData)!=null&&X.mediaSource)&&Oe.detachMedia()}if(!this.eventItemsMatch(I,E)&&(this.endedItem=I,this.playingItem=null,this.log(`INTERSTITIAL_ENDED ${le} ${Qs(I)}`),le.hasPlayed=!0,this.hls.trigger(o.INTERSTITIAL_ENDED,{event:le,schedule:m.slice(0),scheduleIndex:t}),le.cue.once)){var W;this.updateSchedule();const Ue=(W=this.schedule)==null?void 0:W.items;if(E&&Ue){const ut=this.findItemIndex(E);this.advanceSchedule(ut,Ue,n,I,z)}return}}this.advanceSchedule(t,m,n,I,z)}advanceSchedule(t,n,s,m,E){const I=this.schedule;if(!I)return;const z=t>=0?n[t]:null,X=this.primaryMedia,W=this.playerQueue;if(W.length&&W.forEach(le=>{const pe=le.interstitial,Ee=I.findEventIndex(pe.identifier);(Ee<t||Ee>t+1)&&this.clearInterstitial(pe,z)}),this.isInterstitial(z)){this.timelinePos=Math.min(Math.max(this.timelinePos,z.start),z.end);const le=z.event;if(s===void 0){s=I.findAssetIndex(le,this.timelinePos);const Ue=mn(le,s-1);if(le.isAssetPastPlayoutLimit(Ue)||le.appendInPlace&&this.timelinePos===z.end){this.advanceAfterAssetEnded(le,t,s);return}s=Ue}const pe=this.waitingItem;this.assetsBuffered(z,X)||this.setBufferingItem(z);let Ee=this.preloadAssets(le,s);if(this.eventItemsMatch(z,pe||m)||(this.waitingItem=z,this.log(`INTERSTITIAL_STARTED ${Qs(z)} ${le.appendInPlace?"append in place":""}`),this.hls.trigger(o.INTERSTITIAL_STARTED,{event:le,schedule:n.slice(0),scheduleIndex:t})),!le.assetListLoaded){this.log(`Waiting for ASSET-LIST to complete loading ${le}`);return}if(le.assetListLoader&&(le.assetListLoader.destroy(),le.assetListLoader=void 0),!X){this.log(`Waiting for attachMedia to start Interstitial ${le}`);return}this.waitingItem=this.endedItem=null,this.playingItem=z;const Oe=le.assetList[s];if(!Oe){this.advanceAfterAssetEnded(le,t,s||0);return}if(Ee||(Ee=this.getAssetPlayer(Oe.identifier)),Ee===null||Ee.destroyed){const Ue=le.assetList.length;this.warn(`asset ${s+1}/${Ue} player destroyed ${le}`),Ee=this.createAssetPlayer(le,Oe,s),Ee.loadSource()}if(!this.eventItemsMatch(z,this.bufferingItem)&&le.appendInPlace&&this.isAssetBuffered(Oe))return;this.startAssetPlayer(Ee,s,n,t,X),this.shouldPlay&&Mc(Ee.media)}else z!==null?(this.resumePrimary(z,t,m),this.shouldPlay&&Mc(this.hls.media)):E&&this.isInterstitial(m)&&(this.endedItem=null,this.playingItem=m,m.event.appendInPlace||this.attachPrimary(I.durations.primary,null))}get playbackDisabled(){return this.hls.config.enableInterstitialPlayback===!1}get primaryDetails(){var t;return(t=this.mediaSelection)==null?void 0:t.main.details}get primaryLive(){var t;return!!((t=this.primaryDetails)!=null&&t.live)}resumePrimary(t,n,s){var m,E;if(this.playingItem=t,this.playingAsset=this.endedAsset=null,this.waitingItem=this.endedItem=null,this.bufferedToItem(t),this.log(`resuming ${Qs(t)}`),!((m=this.detachedData)!=null&&m.mediaSource)){let z=this.timelinePos;(z<t.start||z>=t.end)&&(z=this.getPrimaryResumption(t,n),this.timelinePos=z),this.attachPrimary(z,t)}if(!s)return;const I=(E=this.schedule)==null?void 0:E.items;I&&(this.log(`INTERSTITIALS_PRIMARY_RESUMED ${Qs(t)}`),this.hls.trigger(o.INTERSTITIALS_PRIMARY_RESUMED,{schedule:I.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:Jn.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(){var t;this.stopLoad(),(t=this.schedule)==null||t.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||!this.schedule)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=wi(n);this.playerQueue.forEach(({hls:m})=>m&&(m.setAudioOption(n)||m.setAudioOption(s)))}onSubtitleTrackSwitch(t,n){const s=wi(n);this.playerQueue.forEach(({hls:m})=>m&&(m.setSubtitleOption(n)||n.id!==-1&&m.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){if(!this.schedule)return;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 I=this.schedule.findEventIndex(E.identifier),z=(s=this.schedule.items)==null?void 0:s[I];this.isInterstitial(z)&&this.eventItemsMatch(z,this.bufferingItem)&&this.bufferedToItem(z,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){var s;const m=(s=this.schedule)==null?void 0:s.items;if(t&&m){const E=this.findItemIndex(t,n);return m[E]||null}return null}trimInPlace(t,n){if(this.isInterstitial(t)&&t.event.appendInPlace&&n.end-t.end>.25){t.event.assetList.forEach((E,I)=>{t.event.isAssetPastPlayoutLimit(I)&&this.clearAssetPlayer(E.identifier,null)});const s=t.end+.25,m=Jn.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?this.schedule.findItemIndex(t,n):-1}updateSchedule(){var t;const n=this.mediaSelection;n&&((t=this.schedule)==null||t.updateSchedule(n,[]))}checkBuffer(t){var n;const s=(n=this.schedule)==null?void 0:n.items;if(!s)return;const m=Jn.bufferInfo(this.primaryMedia,this.timelinePos,0);t&&(this.bufferedPos=this.timelinePos),t||(t=m.len<1),this.updateBufferedPos(m.end,s,t)}updateBufferedPos(t,n,s){const m=this.schedule,E=this.bufferingItem;if(this.bufferedPos>t||!m)return;if(n.length===1&&this.itemsMatch(n[0],E)){this.bufferedPos=t;return}const I=this.playingItem,z=this.findItemIndex(I);let X=m.findItemIndexAtTime(t);if(this.bufferedPos<t){var W;const le=this.findItemIndex(E),pe=Math.min(le+1,n.length-1),Ee=n[pe];if((X===-1&&E&&t>=E.end||(W=Ee.event)!=null&&W.appendInPlace&&t+.01>=Ee.start)&&(X=pe),this.isInterstitial(E)){const Oe=E.event;if(pe-z>1&&Oe.appendInPlace===!1||Oe.assetList.length===0&&Oe.assetListLoader)return}if(this.bufferedPos=t,X>le&&X>z)this.bufferedToItem(Ee);else{const Oe=this.primaryDetails;this.primaryLive&&Oe&&t>Oe.edge-Oe.targetduration&&Ee.start<Oe.edge+this.hls.config.interstitialLiveLookAhead&&this.isInterstitial(Ee)&&this.preloadAssets(Ee.event,0)}}else s&&I&&!this.itemsMatch(I,E)&&(X===z?this.bufferedToItem(I):X===z+1&&this.bufferedToItem(n[X]))}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)&&s){const{items:m,events:E}=s;if(!m||!E)return n;const I=this.isInterstitial(t),z=this.getBufferingPlayer();this.bufferingItem=t,this.bufferedPos=Math.max(t.start,Math.min(t.end,this.timelinePos));const X=z?z.remaining:n?n.end-this.timelinePos:0;if(this.log(`INTERSTITIALS_BUFFERED_TO_BOUNDARY ${Qs(t)}`+(n?` (${X.toFixed(2)} remaining)`:"")),!this.playbackDisabled)if(I){const W=s.findAssetIndex(t.event,this.bufferedPos);t.event.assetList.forEach((le,pe)=>{const Ee=this.getAssetPlayer(le.identifier);Ee&&(pe===W&&Ee.loadSource(),Ee.resumeBuffering())})}else this.hls.resumeBuffering(),this.playerQueue.forEach(W=>W.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)})}else this.bufferingItem!==t&&(this.bufferingItem=t);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 I=this.preloadAssets(s,n);if(I!=null&&I.interstitial.appendInPlace){const z=this.primaryMedia;z&&this.bufferAssetPlayer(I,z)}}}preloadAssets(t,n){const s=t.assetUrl,m=t.assetList.length,E=m===0&&!t.assetListLoader,I=t.cue.once;if(E){const X=t.timelineStart;if(t.appendInPlace){var z;const Ee=this.playingItem;!this.isInterstitial(Ee)&&(Ee==null||(z=Ee.nextEvent)==null?void 0:z.identifier)===t.identifier&&this.flushFrontBuffer(X+.25)}let W,le=0;if(!this.playingItem&&this.primaryLive&&(le=this.hls.startPosition,le===-1&&(le=this.hls.liveSyncPosition||0)),le&&!(t.cue.pre||t.cue.post)){const Ee=le-X;Ee>0&&(W=Math.round(Ee*1e3)/1e3)}if(this.log(`Load interstitial asset ${n+1}/${s?1:m} ${t}${W?` live-start: ${le} start-offset: ${W}`:""}`),s)return this.createAsset(t,0,0,X,t.duration,s);const pe=this.assetListLoader.loadAssetList(t,W);pe&&(t.assetListLoader=pe)}else if(!I&&m){for(let W=n;W<m;W++){const le=t.assetList[W],pe=this.getAssetPlayerQueueIndex(le.identifier);(pe===-1||this.playerQueue[pe].destroyed)&&!le.error&&this.createAssetPlayer(t,le,W)}const X=t.assetList[n];if(X){const W=this.getAssetPlayer(X.identifier);return W&&W.loadSource(),W}}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,I){const z={parentIdentifier:t.identifier,identifier:me(t,I,n),duration:E,startOffset:s,timelineStart:m,uri:I};return this.createAssetPlayer(t,z,n)}createAssetPlayer(t,n,s){const m=this.hls,E=m.userConfig;let I=E.videoPreference;const z=m.loadLevelObj||m.levels[m.currentLevel];(I||z)&&(I=y({},I),z.videoCodec&&(I.videoCodec=z.videoCodec),z.videoRange&&(I.allowedVideoRanges=[z.videoRange]));const X=m.audioTracks[m.audioTrack],W=m.subtitleTracks[m.subtitleTrack];let le=0;if(this.primaryLive||t.appendInPlace){const Fr=this.timelinePos-n.timelineStart;if(Fr>1){const Yr=n.duration;Yr&&Fr<Yr&&(le=Fr)}}const pe=n.identifier,Ee=b(b({},E),{},{maxMaxBufferLength:Math.min(180,m.config.maxMaxBufferLength),autoStartLoad:!0,startFragPrefetch:!0,primarySessionId:m.sessionId,assetPlayerId:pe,abrEwmaDefaultEstimate:m.bandwidthEstimate,interstitialsController:void 0,startPosition:le,liveDurationInfinity:!1,testBandwidth:!1,videoPreference:I,audioPreference:X||E.audioPreference,subtitlePreference:W||E.subtitlePreference});t.appendInPlace&&(t.appendInPlaceStarted=!0,n.timelineStart&&(Ee.timelineOffset=n.timelineStart));const Oe=Ee.cmcd;Oe!=null&&Oe.sessionId&&Oe.contentId&&(Ee.cmcd=y({},Oe,{contentId:T(n.uri)})),this.getAssetPlayer(pe)&&this.warn(`Duplicate date range identifier ${t} and asset ${pe}`);const Ue=new Ga(this.HlsPlayerClass,Ee,t,n);this.playerQueue.push(Ue),t.assetList[s]=n;let ut=!0;const lt=Fr=>{if(Fr.live){var Yr;const an=new Error(`Interstitials MUST be VOD assets ${t}`),fn={fatal:!0,type:c.OTHER_ERROR,details:f.INTERSTITIAL_ASSET_ITEM_ERROR,error:an},Gr=((Yr=this.schedule)==null?void 0:Yr.findEventIndex(t.identifier))||-1;this.handleAssetItemError(fn,t,Gr,s,an.message);return}const vn=Fr.edge-Fr.fragmentStart,Wr=n.duration;(ut||Wr===null||vn>Wr)&&(ut=!1,this.log(`Interstitial asset "${pe}" duration change ${Wr} > ${vn}`),n.duration=vn,this.updateSchedule())};Ue.on(o.LEVEL_UPDATED,(Fr,{details:Yr})=>lt(Yr)),Ue.on(o.LEVEL_PTS_UPDATED,(Fr,{details:Yr})=>lt(Yr)),Ue.on(o.EVENT_CUE_ENTER,()=>this.onInterstitialCueEnter());const Nt=(Fr,Yr)=>{const vn=this.getAssetPlayer(pe);if(vn&&Yr.tracks){vn.off(o.BUFFER_CODECS,Nt),vn.tracks=Yr.tracks;const Wr=this.primaryMedia;this.bufferingAsset===vn.assetItem&&Wr&&!vn.media&&this.bufferAssetPlayer(vn,Wr)}};Ue.on(o.BUFFER_CODECS,Nt);const pr=()=>{var Fr;const Yr=this.getAssetPlayer(pe);if(this.log(`buffered to end of asset ${Yr}`),!Yr||!this.schedule)return;const vn=this.schedule.findEventIndex(t.identifier),Wr=(Fr=this.schedule.items)==null?void 0:Fr[vn];this.isInterstitial(Wr)&&this.advanceAssetBuffering(Wr,n)};Ue.on(o.BUFFERED_TO_END,pr);const sr=Fr=>()=>{if(!this.getAssetPlayer(pe)||!this.schedule)return;this.shouldPlay=!0;const vn=this.schedule.findEventIndex(t.identifier);this.advanceAfterAssetEnded(t,vn,Fr)};return Ue.once(o.MEDIA_ENDED,sr(s)),Ue.once(o.PLAYOUT_LIMIT_REACHED,sr(1/0)),Ue.on(o.ERROR,(Fr,Yr)=>{if(!this.schedule)return;const vn=this.getAssetPlayer(pe);if(Yr.details===f.BUFFER_STALLED_ERROR){if(vn!=null&&vn.appendInPlace){this.handleInPlaceStall(t);return}this.onTimeupdate(),this.checkBuffer(!0);return}this.handleAssetItemError(Yr,t,this.schedule.findEventIndex(t.identifier),s,`Asset player error ${Yr.error} ${t}`)}),Ue.on(o.DESTROYING,()=>{if(!this.getAssetPlayer(pe)||!this.schedule)return;const Yr=new Error(`Asset player destroyed unexpectedly ${pe}`),vn={fatal:!0,type:c.OTHER_ERROR,details:f.INTERSTITIAL_ASSET_ITEM_ERROR,error:Yr};this.handleAssetItemError(vn,t,this.schedule.findEventIndex(t.identifier),s,Yr.message)}),this.log(`INTERSTITIAL_ASSET_PLAYER_CREATED ${Wa(n)}`),this.hls.trigger(o.INTERSTITIAL_ASSET_PLAYER_CREATED,{asset:n,assetListIndex:s,event:t,player:Ue}),Ue}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&&Qs(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:I,assetItem:z,assetId:X}=t,W=I.assetList.length,le=this.playingAsset;this.endedAsset=null,this.playingAsset=z,(!le||le.identifier!==X)&&(le&&(this.clearAssetPlayer(le.identifier,s[m]),delete le.error),this.log(`INTERSTITIAL_ASSET_STARTED ${n+1}/${W} ${Wa(z)}`),this.hls.trigger(o.INTERSTITIAL_ASSET_STARTED,{asset:z,assetListIndex:n,event:I,schedule:s.slice(0),scheduleIndex:m,player:t})),this.bufferAssetPlayer(t,E)}bufferAssetPlayer(t,n){var s,m;if(!this.schedule)return;const{interstitial:E,assetItem:I}=t,z=this.schedule.findEventIndex(E.identifier),X=(s=this.schedule.items)==null?void 0:s[z];if(!X)return;t.loadSource(),this.setBufferingItem(X),this.bufferingAsset=I;const W=this.getBufferingPlayer();if(W===t)return;const le=E.appendInPlace;if(le&&(W==null?void 0:W.interstitial.appendInPlace)===!1)return;const pe=(W==null?void 0:W.tracks)||((m=this.detachedData)==null?void 0:m.tracks)||this.requiredTracks;if(le&&I!==this.playingAsset){if(!t.tracks){this.log(`Waiting for track info before buffering ${t}`);return}if(pe&&!oe(pe,t.tracks)){const Ee=new Error(`Asset ${Wa(I)} SourceBuffer tracks ('${Object.keys(t.tracks)}') are not compatible with primary content tracks ('${Object.keys(pe)}')`),Oe={fatal:!0,type:c.OTHER_ERROR,details:f.INTERSTITIAL_ASSET_ITEM_ERROR,error:Ee},Ue=E.findAssetIndex(I);this.handleAssetItemError(Oe,E,z,Ue,Ee.message);return}}this.transferMediaTo(t,n)}handleInPlaceStall(t){const n=this.schedule,s=this.primaryMedia;if(!n||!s)return;const m=s.currentTime,E=n.findAssetIndex(t,m),I=t.assetList[E];if(I){const z=this.getAssetPlayer(I.identifier);if(z){const X=z.currentTime||m-I.timelineStart,W=z.duration-X;if(this.warn(`Stalled at ${X} of ${X+W} in ${z} ${t} (media.currentTime: ${m})`),X&&(W/s.playbackRate<.5||z.bufferedInPlaceToEnd(s))&&z.hls){const le=n.findEventIndex(t.identifier);this.advanceAfterAssetEnded(t,le,E)}}}}advanceInPlace(t){const n=this.primaryMedia;n&&n.currentTime<t&&(n.currentTime=t)}handleAssetItemError(t,n,s,m,E){if(t.details===f.BUFFER_STALLED_ERROR)return;const I=n.assetList[m]||null;if(this.warn(`INTERSTITIAL_ASSET_ERROR ${I&&Wa(I)} ${t.error}`),!this.schedule)return;const z=(I==null?void 0:I.identifier)||"",X=this.getAssetPlayerQueueIndex(z),W=this.playerQueue[X]||null,le=this.schedule.items,pe=y({},t,{fatal:!1,errorAction:ar(!0),asset:I,assetListIndex:m,event:n,schedule:le,scheduleIndex:s,player:W});if(this.hls.trigger(o.INTERSTITIAL_ASSET_ERROR,pe),!t.fatal)return;const Ee=this.playingAsset,Oe=this.bufferingAsset,Ue=new Error(E);if(I&&(this.clearAssetPlayer(z,null),I.error=Ue),!n.assetList.some(ut=>!ut.error))n.error=Ue;else{for(let ut=m;ut<n.assetList.length;ut++)this.resetAssetPlayer(n.assetList[ut].identifier);this.updateSchedule()}n.error?this.primaryFallback(n):Ee&&Ee.identifier===z?this.advanceAfterAssetEnded(n,s,m):Oe&&Oe.identifier===z&&this.isInterstitial(this.bufferingItem)&&this.advanceAssetBuffering(this.bufferingItem,Oe)}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: ${Qs(s)} error: ${t.error}`);let m=this.timelinePos;m===-1&&(m=this.hls.startPosition);const E=this.updateItem(s,m);if(this.itemsMatch(s,E)&&this.clearInterstitial(t,null),t.appendInPlace&&(this.attachPrimary(n,null),this.flushFrontBuffer(n)),!this.schedule)return;const I=this.schedule.findItemIndexAtTime(m);this.setSchedulePosition(I)}else this.checkStart()}onAssetListLoaded(t,n){var s,m;const E=n.event,I=E.identifier,z=n.assetListResponse.ASSETS;if(!((s=this.schedule)!=null&&s.hasEvent(I)))return;const X=E.timelineStart,W=E.duration;let le=0;z.forEach((ut,lt)=>{const Nt=parseFloat(ut.DURATION);this.createAsset(E,lt,le,X+le,Nt,ut.URI),le+=Nt}),E.duration=le,this.log(`Loaded asset-list with duration: ${le} (was: ${W}) ${E}`);const pe=this.waitingItem,Ee=(pe==null?void 0:pe.event.identifier)===I;this.updateSchedule();const Oe=(m=this.bufferingItem)==null?void 0:m.event;if(Ee){var Ue;const ut=this.schedule.findEventIndex(I),lt=(Ue=this.schedule.items)==null?void 0:Ue[ut];if(lt){if(!this.playingItem&&this.timelinePos>lt.end&&this.schedule.findItemIndexAtTime(this.timelinePos)!==ut){E.error=new Error(`Interstitial no longer within playback range ${this.timelinePos} ${E}`),this.primaryFallback(E);return}this.setBufferingItem(lt)}this.setSchedulePosition(ut)}else if((Oe==null?void 0:Oe.identifier)===I){const ut=E.assetList[0];if(ut){const lt=this.getAssetPlayer(ut.identifier);if(Oe.appendInPlace){const Nt=this.primaryMedia;lt&&Nt&&this.bufferAssetPlayer(lt,Nt)}else lt&<.loadSource()}}}onError(t,n){if(this.schedule)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:{const s=this.endedItem||this.waitingItem||this.playingItem;if(this.isInterstitial(s)&&s.event.appendInPlace){this.handleInPlaceStall(s.event);return}this.log(`Primary player stall @${this.timelinePos} bufferedPos: ${this.bufferedPos}`),this.onTimeupdate(),this.checkBuffer(!0);break}}}}const vc=500;class rf extends oa{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=Jt.IDLE,this.setInterval(vc),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(this.fragContextChanged(s)||(Pe(s)&&(this.fragPrevious=s),this.state=Jt.IDLE),!m)return;const E=this.tracksBuffered[this.currentTrackId];if(!E)return;let I;const z=s.start;for(let W=0;W<E.length;W++)if(z>=E[W].start&&z<=E[W].end){I=E[W];break}const X=s.start+s.duration;I?I.end=X:(I={start:z,end:X},E.push(I)),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(I=>{for(let z=0;z<I.length;){if(I[z].end<=E){I.shift();continue}else if(I[z].start<E)I[z].start=E;else break;z++}}),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!==Jt.STOPPED&&(this.state=Jt.IDLE))}onSubtitleTracksUpdated(t,{subtitleTracks:n}){if(this.levels&&Nl(this.levels,n)){this.levels=n.map(s=>new cr(s));return}this.tracksBuffered=[],this.levels=n.map(s=>{const m=new cr(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!==Jt.STOPPED&&this.setInterval(vc)}onSubtitleTrackLoaded(t,n){var s;const{currentTrackId:m,levels:E}=this,{details:I,id:z}=n;if(!E){this.warn(`Subtitle tracks were reset while loading level ${z}`);return}const X=E[z];if(z>=E.length||!X)return;this.log(`Subtitle track ${z} loaded [${I.startSN},${I.endSN}]${I.lastPartSn?`[part-${I.lastPartSn}-${I.lastPartIndex}]`:""},duration:${I.totalduration}`),this.mediaBuffer=this.mediaBufferTimeRanges;let W=0;if(I.live||(s=X.details)!=null&&s.live){if(I.deltaUpdateFailed)return;const pe=this.mainDetails;if(!pe){this.startFragRequested=!1;return}const Ee=pe.fragments[0];if(!X.details)I.hasProgramDateTime&&pe.hasProgramDateTime?(Li(I,pe),W=I.fragmentStart):Ee&&(W=Ee.start,kn(I,W));else{var le;W=this.alignPlaylists(I,X.details,(le=this.levelLastLoaded)==null?void 0:le.details),W===0&&Ee&&(W=Ee.start,kn(I,W))}pe&&!this.startFragRequested&&this.setStartPosition(pe,W)}X.details=I,this.levelLastLoaded=X,z===m&&(this.hls.trigger(o.SUBTITLE_TRACK_UPDATED,{details:I,id:z,groupId:n.groupId}),this.tick(),I.live&&!this.fragCurrent&&this.media&&this.state===Jt.IDLE&&(An(null,I.fragments,this.media.currentTime,0)||(this.warn("Subtitle playlist not aligned with playback"),X.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&&Yi(m.method)){const I=performance.now();this.decrypter.decrypt(new Uint8Array(s),m.key.buffer,m.iv.buffer,Xa(m.method)).catch(z=>{throw E.trigger(o.ERROR,{type:c.MEDIA_ERROR,details:f.FRAG_DECRYPT_ERROR,fatal:!1,error:z,reason:z.message,frag:n}),z}).then(z=>{const X=performance.now();E.trigger(o.FRAG_DECRYPTED,{frag:n,payload:z,stats:{tstart:I,tdecrypt:X}})}).catch(z=>{this.warn(`${z.name}: ${z.message}`),this.state=Jt.IDLE})}}doTick(){if(!this.media){this.state=Jt.IDLE;return}if(this.state===Jt.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(),I=Jn.bufferedInfo(this.tracksBuffered[this.currentTrackId]||[],E,m.maxBufferHole),{end:z,len:X}=I,W=s.details,le=this.hls.maxBufferLength+W.levelTargetDuration;if(X>le)return;const pe=W.fragments,Ee=pe.length,Oe=W.edge;let Ue=null;const ut=this.fragPrevious;if(z<Oe){const pr=m.maxFragLookUpTolerance,sr=z>Oe-pr?0:pr;Ue=An(ut,pe,Math.max(pe[0].start,z),sr),!Ue&&ut&&ut.start<pe[0].start&&(Ue=pe[0])}else Ue=pe[Ee-1];if(Ue=this.filterReplacedPrimary(Ue,s.details),!Ue)return;const lt=Ue.sn-W.startSN,Nt=pe[lt-1];if(Nt&&Nt.cc===Ue.cc&&this.fragmentTracker.getState(Nt)===Er.NOT_LOADED&&(Ue=Nt),this.fragmentTracker.getState(Ue)===Er.NOT_LOADED){const pr=this.mapToInitFragWhenRequired(Ue);pr&&this.loadFragment(pr,s,z)}}}loadFragment(t,n,s){Pe(t)?super.loadFragment(t,n,s):this._loadInitSegment(t,n)}get mediaBufferTimeRanges(){return new Dl(this.tracksBuffered[this.currentTrackId]||[])}}class Dl{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 Ui={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},Xl=O=>String.fromCharCode(Ui[O]||O),Cu=15,so=100,wo={17:1,18:3,21:5,22:7,23:9,16:11,19:12,20:14},bs={17:2,18:4,21:6,22:8,23:10,19:13,20:15},Ol={25:1,26:3,29:5,30:7,31:9,24:11,27:12,28:14},Ql={25:2,26:4,29:6,30:8,31:10,27:13,28:15},Fc=["white","green","blue","cyan","red","yellow","magenta","black","transparent"];class kl{constructor(){this.time=null,this.verboseLevel=0}log(t,n){if(this.verboseLevel>=t){const s=typeof n=="function"?n():n;H.log(`${this.time} [${t}] ${s}`)}}}const Ru=function(t){const n=[];for(let s=0;s<t.length;s++)n.push(t[s].toString(16));return n};class nf{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 af{constructor(){this.uchar=" ",this.penState=new nf}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 Rl{constructor(t){this.chars=[],this.pos=0,this.currPenState=new nf,this.cueStartTime=null,this.logger=void 0;for(let n=0;n<so;n++)this.chars.push(new af);this.logger=t}equals(t){for(let n=0;n<so;n++)if(!this.chars[n].equals(t.chars[n]))return!1;return!0}copy(t){for(let n=0;n<so;n++)this.chars[n].copy(t.chars[n])}isEmpty(){let t=!0;for(let n=0;n<so;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>so&&(this.logger.log(3,"Too large cursor position "+this.pos),this.pos=so)}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=Xl(t);if(this.pos>=so){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<so;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<so;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 Bc{constructor(t){this.rows=[],this.currRow=Cu-1,this.nrRollUpRows=null,this.lastOutputScreen=null,this.logger=void 0;for(let n=0;n<Cu;n++)this.rows.push(new Rl(t));this.logger=t}reset(){for(let t=0;t<Cu;t++)this.rows[t].clear();this.currRow=Cu-1}equals(t){let n=!0;for(let s=0;s<Cu;s++)if(!this.rows[s].equals(t.rows[s])){n=!1;break}return n}copy(t){for(let n=0;n<Cu;n++)this.rows[n].copy(t.rows[n])}isEmpty(){let t=!0;for(let n=0;n<Cu;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 = "+Xn(t));let n=t.row-1;if(this.nrRollUpRows&&n<this.nrRollUpRows-1&&(n=this.nrRollUpRows-1),this.nrRollUpRows&&this.currRow!==n){for(let z=0;z<Cu;z++)this.rows[z].clear();const E=this.currRow+1-this.nrRollUpRows,I=this.lastOutputScreen;if(I){const z=I.rows[E].cueStartTime,X=this.logger.time;if(z!==null&&X!==null&&z<X)for(let W=0;W<this.nrRollUpRows;W++)this.rows[n-this.nrRollUpRows+W+1].copy(I.rows[E+W])}}this.currRow=n;const s=this.rows[this.currRow];if(t.indent!==null){const E=t.indent,I=Math.max(E-1,0);s.setCursor(t.indent),t.color=s.chars[I].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 = "+Xn(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<Cu;E++){const I=this.rows[E].getTextString();I&&(m=E+1,t?n.push("Row "+m+": '"+I+"'"):n.push(I.trim()))}return n.length>0&&(t?s="["+n.join(" | ")+"]":s=n.join(`
|
|
|
`)),s}getTextAndFormat(){return this.rows}}class gc{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 Bc(s),this.nonDisplayedMemory=new Bc(s),this.lastOutputScreen=new Bc(s),this.currRollUpRow=this.displayedMemory.rows[Cu-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[Cu-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: "+Xn(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 sf{constructor(t,n,s){this.channels=void 0,this.currentChannel=0,this.cmdHistory=ql(),this.logger=void 0;const m=this.logger=new kl;this.channels=[null,new gc(t,n,m),new gc(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 I=!1,z=null;if(m===0&&E===0)continue;this.logger.log(3,()=>"["+Ru([n[s],n[s+1]])+"] -> ("+Ru([m,E])+")");const X=this.cmdHistory;if(m>=16&&m<=31){if(xl(m,E,X)){mu(null,null,X),this.logger.log(3,()=>"Repeated command ("+Ru([m,E])+") is dropped");continue}mu(m,E,this.cmdHistory),I=this.parseCmd(m,E),I||(I=this.parseMidrow(m,E)),I||(I=this.parsePAC(m,E)),I||(I=this.parseBackgroundAttributes(m,E))}else mu(null,null,X);if(!I&&(z=this.parseChars(m,E),z)){const le=this.currentChannel;le&&le>0?this.channels[le].insertChars(z):this.logger.log(2,"No channel found yet. TEXT-MODE?")}!I&&!z&&this.logger.log(2,()=>"Couldn't parse cleaned data "+Ru([m,E])+" orig: "+Ru([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,I=this.channels[E];return t===20||t===21||t===28||t===29?n===32?I.ccRCL():n===33?I.ccBS():n===34?I.ccAOF():n===35?I.ccAON():n===36?I.ccDER():n===37?I.ccRU(2):n===38?I.ccRU(3):n===39?I.ccRU(4):n===40?I.ccFON():n===41?I.ccRDC():n===42?I.ccTR():n===43?I.ccRTD():n===44?I.ccEDM():n===45?I.ccCR():n===46?I.ccENM():n===47&&I.ccEOC():I.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 ("+Ru([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 I=t<=23?1:2;n>=64&&n<=95?s=I===1?wo[t]:Ol[t]:s=I===1?bs[t]:Ql[t];const z=this.channels[I];return z?(z.setPAC(this.interpretPAC(s,n)),this.currentChannel=I,!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 I;E===17?I=n+80:E===18?I=n+112:I=n+144,this.logger.log(2,()=>"Special char '"+Xl(I)+"' in channel "+s),m=[I]}else t>=32&&t<=127&&(m=n===0?[t]:[t,n]);return m&&this.logger.log(3,()=>"Char codes = "+Ru(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 I={};t===16||t===24?(E=Math.floor((n-32)/2),I.background=Fc[E],n%2===1&&(I.background=I.background+"_semi")):n===45?I.background="transparent":(I.foreground="black",n===47&&(I.underline=!0));const z=t<=23?1:2;return this.channels[z].setBkgData(I),!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(O,t,n){n.a=O,n.b=t}function xl(O,t,n){return n.a===O&&n.b===t}function ql(){return{a:null,b:null}}var Jl=function(){if(Yo!=null&&Yo.VTTCue)return self.VTTCue;const O=["","lr","rl"],t=["start","middle","end","left","right"];function n(z,X){if(typeof X!="string"||!Array.isArray(z))return!1;const W=X.toLowerCase();return~z.indexOf(W)?W:!1}function s(z){return n(O,z)}function m(z){return n(t,z)}function E(z,...X){let W=1;for(;W<arguments.length;W++){const le=arguments[W];for(const pe in le)z[pe]=le[pe]}return z}function I(z,X,W){const le=this,pe={enumerable:!0};le.hasBeenReset=!1;let Ee="",Oe=!1,Ue=z,ut=X,lt=W,Nt=null,pr="",sr=!0,Fr="auto",Yr="start",vn=50,Wr="middle",an=50,fn="middle";Object.defineProperty(le,"id",E({},pe,{get:function(){return Ee},set:function(Gr){Ee=""+Gr}})),Object.defineProperty(le,"pauseOnExit",E({},pe,{get:function(){return Oe},set:function(Gr){Oe=!!Gr}})),Object.defineProperty(le,"startTime",E({},pe,{get:function(){return Ue},set:function(Gr){if(typeof Gr!="number")throw new TypeError("Start time must be set to a number.");Ue=Gr,this.hasBeenReset=!0}})),Object.defineProperty(le,"endTime",E({},pe,{get:function(){return ut},set:function(Gr){if(typeof Gr!="number")throw new TypeError("End time must be set to a number.");ut=Gr,this.hasBeenReset=!0}})),Object.defineProperty(le,"text",E({},pe,{get:function(){return lt},set:function(Gr){lt=""+Gr,this.hasBeenReset=!0}})),Object.defineProperty(le,"region",E({},pe,{get:function(){return Nt},set:function(Gr){Nt=Gr,this.hasBeenReset=!0}})),Object.defineProperty(le,"vertical",E({},pe,{get:function(){return pr},set:function(Gr){const Sn=s(Gr);if(Sn===!1)throw new SyntaxError("An invalid or illegal string was specified.");pr=Sn,this.hasBeenReset=!0}})),Object.defineProperty(le,"snapToLines",E({},pe,{get:function(){return sr},set:function(Gr){sr=!!Gr,this.hasBeenReset=!0}})),Object.defineProperty(le,"line",E({},pe,{get:function(){return Fr},set:function(Gr){if(typeof Gr!="number"&&Gr!=="auto")throw new SyntaxError("An invalid number or illegal string was specified.");Fr=Gr,this.hasBeenReset=!0}})),Object.defineProperty(le,"lineAlign",E({},pe,{get:function(){return Yr},set:function(Gr){const Sn=m(Gr);if(!Sn)throw new SyntaxError("An invalid or illegal string was specified.");Yr=Sn,this.hasBeenReset=!0}})),Object.defineProperty(le,"position",E({},pe,{get:function(){return vn},set:function(Gr){if(Gr<0||Gr>100)throw new Error("Position must be between 0 and 100.");vn=Gr,this.hasBeenReset=!0}})),Object.defineProperty(le,"positionAlign",E({},pe,{get:function(){return Wr},set:function(Gr){const Sn=m(Gr);if(!Sn)throw new SyntaxError("An invalid or illegal string was specified.");Wr=Sn,this.hasBeenReset=!0}})),Object.defineProperty(le,"size",E({},pe,{get:function(){return an},set:function(Gr){if(Gr<0||Gr>100)throw new Error("Size must be between 0 and 100.");an=Gr,this.hasBeenReset=!0}})),Object.defineProperty(le,"align",E({},pe,{get:function(){return fn},set:function(Gr){const Sn=m(Gr);if(!Sn)throw new SyntaxError("An invalid or illegal string was specified.");fn=Sn,this.hasBeenReset=!0}})),le.displayState=void 0}return I.prototype.getCueAsHTML=function(){return self.WebVTT.convertCueToDOMTree(self,this.text)},I}();class Qu{decode(t,n){if(!t)return"";if(typeof t!="string")throw new Error("Error - expected string data.");return decodeURIComponent(encodeURIComponent(t))}}function yc(O){function t(s,m,E,I){return(s|0)*3600+(m|0)*60+(E|0)+parseFloat(I||0)}const n=O.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 ec{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 Rn(O,t,n,s){const m=s?O.split(s):[O];for(const E in m){if(typeof m[E]!="string")continue;const I=m[E].split(n);if(I.length!==2)continue;const z=I[0],X=I[1];t(z,X)}}const ti=new Jl(0,0,""),Wi=ti.align==="middle"?"middle":"center";function Ba(O,t,n){const s=O;function m(){const z=yc(O);if(z===null)throw new Error("Malformed timestamp: "+s);return O=O.replace(/^[^\sa-zA-Z-]+/,""),z}function E(z,X){const W=new ec;Rn(z,function(Ee,Oe){let Ue;switch(Ee){case"region":for(let ut=n.length-1;ut>=0;ut--)if(n[ut].id===Oe){W.set(Ee,n[ut].region);break}break;case"vertical":W.alt(Ee,Oe,["rl","lr"]);break;case"line":Ue=Oe.split(","),W.integer(Ee,Ue[0]),W.percent(Ee,Ue[0])&&W.set("snapToLines",!1),W.alt(Ee,Ue[0],["auto"]),Ue.length===2&&W.alt("lineAlign",Ue[1],["start",Wi,"end"]);break;case"position":Ue=Oe.split(","),W.percent(Ee,Ue[0]),Ue.length===2&&W.alt("positionAlign",Ue[1],["start",Wi,"end","line-left","line-right","auto"]);break;case"size":W.percent(Ee,Oe);break;case"align":W.alt(Ee,Oe,["start",Wi,"end","left","right"]);break}},/:/,/\s/),X.region=W.get("region",null),X.vertical=W.get("vertical","");let le=W.get("line","auto");le==="auto"&&ti.line===-1&&(le=-1),X.line=le,X.lineAlign=W.get("lineAlign","start"),X.snapToLines=W.get("snapToLines",!0),X.size=W.get("size",100),X.align=W.get("align",Wi);let pe=W.get("position","auto");pe==="auto"&&ti.position===50&&(pe=X.align==="start"||X.align==="left"?0:X.align==="end"||X.align==="right"?100:50),X.position=pe}function I(){O=O.replace(/^\s+/,"")}if(I(),t.startTime=m(),I(),O.slice(0,3)!=="-->")throw new Error("Malformed time stamp (time stamps must be separated by '-->'): "+s);O=O.slice(3),I(),t.endTime=m(),I(),E(O,t)}function aa(O){return O.replace(/<br(?: \/)?>/gi,`
|
|
|
`)}class Ca{constructor(){this.state="INITIAL",this.buffer="",this.decoder=new Qu,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,I=0;for(E=aa(E);I<E.length&&E[I]!=="\r"&&E[I]!==`
|
|
|
`;)++I;const z=E.slice(0,I);return E[I]==="\r"&&++I,E[I]===`
|
|
|
`&&++I,n.buffer=E.slice(I),z}function m(E){Rn(E,function(I,z){},/:/)}try{let E="";if(n.state==="INITIAL"){if(!/\r\n|\n/.test(n.buffer))return this;E=s();const z=E.match(/^()?WEBVTT([ \t].*)?$/);if(!(z!=null&&z[0]))throw new Error("Malformed WebVTT signature.");n.state="HEADER"}let I=!1;for(;n.buffer;){if(!/\r\n|\n/.test(n.buffer))return this;switch(I?I=!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 Jl(0,0,""),n.state="CUE",E.indexOf("-->")===-1){n.cue.id=E;continue}case"CUE":if(!n.cue){n.state="BADCUE";continue}try{Ba(E,n.cue,n.regionList)}catch(z){n.cue=null,n.state="BADCUE";continue}n.state="CUETEXT";continue;case"CUETEXT":{const z=E.indexOf("-->")!==-1;if(!E||z&&(I=!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 Oa=/\r\n|\n\r|\n|\r/g,As=function(t,n,s=0){return t.slice(s,s+n.length)===n},ua=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 Cs(O,t,n){return T(O.toString())+T(t.toString())+T(n)}const pl=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(;(I=E)!=null&&I.new;){var I;t.ccOffset+=m.start-E.start,m.new=!1,m=E,E=t[m.prevCC]}t.presentationOffset=s};function _l(O,t,n,s,m,E,I){const z=new Ca,X=q(new Uint8Array(O)).trim().replace(Oa,`
|
|
|
`).split(`
|
|
|
`),W=[],le=t?ei(t.baseTime,t.timescale):0;let pe="00:00.000",Ee=0,Oe=0,Ue,ut=!0;z.oncue=function(lt){const Nt=n[s];let pr=n.ccOffset;const sr=(Ee-le)/9e4;if(Nt!=null&&Nt.new&&(Oe!==void 0?pr=n.ccOffset=Nt.start:pl(n,s,sr)),sr){if(!t){Ue=new Error("Missing initPTS for VTT MPEGTS");return}pr=sr-n.presentationOffset}const Fr=lt.endTime-lt.startTime,Yr=ha((lt.startTime+pr-Oe)*9e4,m*9e4)/9e4;lt.startTime=Math.max(Yr,0),lt.endTime=Math.max(Yr+Fr,0);const vn=lt.text.trim();lt.text=decodeURIComponent(encodeURIComponent(vn)),lt.id||(lt.id=Cs(lt.startTime,lt.endTime,vn)),lt.endTime>0&&W.push(lt)},z.onparsingerror=function(lt){Ue=lt},z.onflush=function(){if(Ue){I(Ue);return}E(W)},X.forEach(lt=>{if(ut)if(As(lt,"X-TIMESTAMP-MAP=")){ut=!1,lt.slice(16).split(",").forEach(Nt=>{As(Nt,"LOCAL:")?pe=Nt.slice(6):As(Nt,"MPEGTS:")&&(Ee=parseInt(Nt.slice(7)))});try{Oe=ua(pe)/1e3}catch(Nt){Ue=Nt}return}else lt===""&&(ut=!1);z.parse(lt+`
|
|
|
`)}),z.flush()}const il="stpp.ttml.im1t",ml=/^(\d{2,}):(\d{2}):(\d{2}):(\d{2})\.?(\d+)?$/,El=/^(\d*(?:\.\d*)?)(h|m|s|ms|f|t)$/,Kf={left:"start",center:"center",right:"end",start:"start",end:"end"};function kf(O,t,n,s){const m=bt(new Uint8Array(O),["mdat"]);if(m.length===0){s(new Error("Could not parse IMSC1 mdat"));return}const E=m.map(z=>q(z)),I=Pn(t.baseTime,1,t.timescale);try{E.forEach(z=>n(tc(z,I)))}catch(z){s(z)}}function tc(O,t){const m=new DOMParser().parseFromString(O,"text/xml").getElementsByTagName("tt")[0];if(!m)throw new Error("Invalid ttml");const E={frameRate:30,subFrameRate:1,frameRateMultiplier:0,tickRate:0},I=Object.keys(E).reduce((pe,Ee)=>(pe[Ee]=m.getAttribute(`ttp:${Ee}`)||E[Ee],pe),{}),z=m.getAttribute("xml:space")!=="preserve",X=Nc(wf(m,"styling","style")),W=Nc(wf(m,"layout","region")),le=wf(m,"body","[begin]");return[].map.call(le,pe=>{const Ee=of(pe,z);if(!Ee||!pe.hasAttribute("begin"))return null;const Oe=qu(pe.getAttribute("begin"),I),Ue=qu(pe.getAttribute("dur"),I);let ut=qu(pe.getAttribute("end"),I);if(Oe===null)throw Hf(pe);if(ut===null){if(Ue===null)throw Hf(pe);ut=Oe+Ue}const lt=new Jl(Oe-t,ut-t,Ee);lt.id=Cs(lt.startTime,lt.endTime,lt.text);const Nt=W[pe.getAttribute("region")],pr=X[pe.getAttribute("style")],sr=Rf(Nt,pr,X),{textAlign:Fr}=sr;if(Fr){const Yr=Kf[Fr];Yr&&(lt.lineAlign=Yr),lt.align=Fr}return y(lt,sr),lt}).filter(pe=>pe!==null)}function wf(O,t,n){const s=O.getElementsByTagName(t)[0];return s?[].slice.call(s.querySelectorAll(n)):[]}function Nc(O){return O.reduce((t,n)=>{const s=n.getAttribute("xml:id");return s&&(t[s]=n),t},{})}function of(O,t){return[].slice.call(O.childNodes).reduce((n,s,m)=>{var E;return s.nodeName==="br"&&m?n+`
|
|
|
`:(E=s.childNodes)!=null&&E.length?of(s,t):t?n+s.textContent.trim().replace(/\s+/g," "):n+s.textContent},"")}function Rf(O,t,n){const s="http://www.w3.org/ns/ttml#styling";let m=null;const E=["displayAlign","textAlign","color","backgroundColor","fontSize","fontFamily"],I=O!=null&&O.hasAttribute("style")?O.getAttribute("style"):null;return I&&n.hasOwnProperty(I)&&(m=n[I]),E.reduce((z,X)=>{const W=al(t,s,X)||al(O,s,X)||al(m,s,X);return W&&(z[X]=W),z},{})}function al(O,t,n){return O&&O.hasAttributeNS(t,n)?O.getAttributeNS(t,n):null}function Hf(O){return new Error(`Could not parse ttml timestamp ${O}`)}function qu(O,t){if(!O)return null;let n=yc(O);return n===null&&(ml.test(O)?n=uf(O,t):El.test(O)&&(n=Lf(O,t))),n}function uf(O,t){const n=ml.exec(O),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 Lf(O,t){const n=El.exec(O),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 Go{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 Sf{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=fu(),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 Go(this,"textTrack1"),n=new Go(this,"textTrack2"),s=new Go(this,"textTrack3"),m=new Go(this,"textTrack4");this.cea608Parser1=new sf(1,t,n),this.cea608Parser2=new sf(3,s,m)}addCues(t,n,s,m,E){let I=!1;for(let z=E.length;z--;){const X=E[z],W=$c(X[0],X[1],n,s);if(W>=0&&(X[0]=Math.min(X[0],n),X[1]=Math.max(X[1],s),I=!0,W/(s-n)>.5))return}if(I||E.push([n,s]),this.config.renderTextTracksNatively){const z=this.captionsTracks[t];this.Cues.newCue(z,n,s,m)}else{const z=this.Cues.newCue(null,n,s,m);this.hls.trigger(o.CUES_PARSED,{type:"captions",cues:z,track:t})}}onInitPtsFound(t,{frag:n,id:s,initPTS:m,timescale:E,trackId:I}){const{unparsedVttFrags:z}=this;s===u.MAIN&&(this.initPTS[n.cc]={baseTime:m,timescale:E,trackId:I}),z.length&&(this.unparsedVttFrags=[],z.forEach(X=>{this.initPTS[X.frag.cc]?this.onFragLoaded(o.FRAG_LOADED,X):this.hls.trigger(o.SUBTITLE_FRAG_PROCESSED,{success:!1,frag:X.frag,error:new Error("Subtitle discontinuity domain does not match main")})}))}getExistingTrack(t,n){const{media:s}=this;if(s)for(let m=0;m<s.textTracks.length;m++){const E=s.textTracks[m];if(vl(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:I}=n[t],z=this.getExistingTrack(E,I);if(z)s[t]=z,bl(s[t]),Il(s[t],m);else{const X=this.createTextTrack("captions",E,I);X&&(X[t]=!0,s[t]=X)}}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=>{bl(m[E]),delete m[E]}),this.nonNativeCaptionsTracks={}}onManifestLoading(){this.lastCc=-1,this.lastSn=-1,this.lastPartIndex=-1,this.prevCC=-1,this.vttCCs=fu(),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++)bl(n[s])}onSubtitleTracksUpdated(t,n){const s=n.subtitleTracks||[],m=s.some(E=>E.textCodec===il);if(this.config.enableWebVTT||m&&this.config.enableIMSC1){if(Nl(this.tracks,s)){this.tracks=s;return}if(this.textTracks=[],this.tracks=s,this.config.renderTextTracksNatively){const I=this.media,z=I?Yl(I.textTracks):null;if(this.tracks.forEach((X,W)=>{let le;if(z){let pe=null;for(let Ee=0;Ee<z.length;Ee++)if(z[Ee]&&vl(z[Ee],X)){pe=z[Ee],z[Ee]=null;break}pe&&(le=pe)}if(le)bl(le);else{const pe=Af(X);le=this.createTextTrack(pe,X.name,X.lang),le&&(le.mode="disabled")}le&&this.textTracks.push(le)}),z!=null&&z.length){const X=z.filter(W=>W!==null).map(W=>W.label);X.length&&this.hls.logger.warn(`Media element contains unused subtitle tracks: ${X.join(", ")}. Replace media element for each source to clear TextTracks and captions menu.`)}}else if(this.tracks.length){const I=this.tracks.map(z=>({label:z.name,kind:z.type.toLowerCase(),default:z.default,subtitleTrack:z}));this.hls.trigger(o.NON_NATIVE_TEXT_TRACKS_FOUND,{tracks:I})}}}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]}`,I=this.captionsProperties[E];I&&(I.label=s.name,s.lang&&(I.languageCode=s.lang),I.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:I,lastSn:z}=this,{cc:X,sn:W}=n.frag,le=(s=(m=n.part)==null?void 0:m.index)!=null?s:-1;E&&I&&(W!==z+1||W===z&&le!==this.lastPartIndex+1||X!==this.lastCc)&&(E.reset(),I.reset()),this.lastCc=X,this.lastSn=W,this.lastPartIndex=le}}onFragLoaded(t,n){const{frag:s,payload:m}=n;if(s.type===u.SUBTITLE)if(m.byteLength){const E=s.decryptdata,I="stats"in n;if(E==null||!E.encrypted||I){const z=this.tracks[s.level],X=this.vttCCs;X[s.cc]||(X[s.cc]={start:s.start,prevCC:this.prevCC,new:!0},this.prevCC=s.cc),z&&z.textCodec===il?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;kf(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:I}=this,z=E.length-1;if(!E[s.cc]&&z===-1){I.push(t);return}const X=this.hls,W=(n=s.initSegment)!=null&&n.data?Ce(s.initSegment.data,new Uint8Array(m)).buffer:m;_l(W,this.initPTS[s.cc],this.vttCCs,s.cc,s.start,le=>{this._appendCues(le,s.level),X.trigger(o.SUBTITLE_FRAG_PROCESSED,{success:!0,frag:s})},le=>{const pe=le.message==="Missing initPTS for VTT MPEGTS";pe?I.push(t):this._fallbackToIMSC1(s,m),X.logger.log(`Failed to parse VTT cue: ${le}`),!(pe&&z>s.cc)&&X.trigger(o.SUBTITLE_FRAG_PROCESSED,{success:!1,frag:s,error:le})})}_fallbackToIMSC1(t,n){const s=this.tracks[t.level];s.textCodec||kf(n,this.initPTS[t.cc],()=>{s.textCodec=il,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=>ef(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 I=m[E].bytes;if(I){this.cea608Parser1||this.initCea608Parsers();const z=this.extractCea608Data(I);this.cea608Parser1.addData(m[E].pts,z[0]),this.cea608Parser2.addData(m[E].pts,z[1])}}}onBufferFlushing(t,{startOffset:n,endOffset:s,endOffsetSubtitles:m,type:E}){const{media:I}=this;if(!(!I||I.currentTime<s)){if(!E||E==="video"){const{captionsTracks:z}=this;Object.keys(z).forEach(X=>Uu(z[X],n,s))}if(this.config.renderTextTracksNatively&&n===0&&m!==void 0){const{textTracks:z}=this;Object.keys(z).forEach(X=>Uu(z[X],n,m))}}}extractCea608Data(t){const n=[[],[]],s=t[0]&31;let m=2;for(let E=0;E<s;E++){const I=t[m++],z=127&t[m++],X=127&t[m++];if(z===0&&X===0)continue;if((4&I)!==0){const le=3&I;(le===0||le===1)&&(n[le].push(z),n[le].push(X))}}return n}}function Af(O){return O.characteristics&&/transcribes-spoken-dialog/gi.test(O.characteristics)&&/describes-music-and-sound/gi.test(O.characteristics)?"captions":"subtitles"}function vl(O,t){return!!O&&O.kind===Af(t)&&iu(t,O)}function $c(O,t,n,s){return Math.min(t,s)-Math.max(O,n)}function fu(){return{ccOffset:0,presentationOffset:0,0:{start:0,prevCC:-1,new:!0}}}const Mf=/\s/,Ff={newCue(O,t,n,s){const m=[];let E,I,z,X,W;const le=self.VTTCue||self.TextTrackCue;for(let Ee=0;Ee<s.rows.length;Ee++)if(E=s.rows[Ee],z=!0,X=0,W="",!E.isEmpty()){var pe;for(let ut=0;ut<E.chars.length;ut++)Mf.test(E.chars[ut].uchar)&&z?X++:(W+=E.chars[ut].uchar,z=!1);E.cueStartTime=t,t===n&&(n+=1e-4),X>=16?X--:X++;const Oe=aa(W.trim()),Ue=Cs(t,n,Oe);O!=null&&(pe=O.cues)!=null&&pe.getCueById(Ue)||(I=new le(t,n,Oe),I.id=Ue,I.line=Ee+1,I.align="left",I.position=10+Math.min(80,Math.floor(X*8/32)*10),m.push(I))}return O&&m.length&&(m.sort((Ee,Oe)=>Ee.line==="auto"||Oe.line==="auto"?0:Ee.line>8&&Oe.line>8?Oe.line-Ee.line:Ee.line-Oe.line),m.forEach(Ee=>ef(O,Ee))),m}};function lf(){if(self.fetch&&self.AbortController&&self.ReadableStream&&self.Request)try{return new self.ReadableStream({}),!0}catch(O){}return!1}const cf=/(\d+)-(\d+)\/(\d+)/;class Cf{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||Bf,this.controller=new self.AbortController,this.stats=new $}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=Tf(t,this.controller.signal),I=t.responseType==="arraybuffer",z=I?"byteLength":"length",{maxTimeToFirstByteMs:X,maxLoadTimeMs:W}=n.loadPolicy;this.context=t,this.config=n,this.callbacks=s,this.request=this.fetchSetup(t,E),self.clearTimeout(this.requestTimeout),n.timeout=X&&r(X)?X:W,this.requestTimeout=self.setTimeout(()=>{this.callbacks&&(this.abortInternal(),this.callbacks.onTimeout(m,t,this.response))},n.timeout),(Eu(this.request)?this.request.then(self.fetch):self.fetch(this.request)).then(pe=>{var Ee;this.response=this.loader=pe;const Oe=Math.max(self.performance.now(),m.loading.start);if(self.clearTimeout(this.requestTimeout),n.timeout=W,this.requestTimeout=self.setTimeout(()=>{this.callbacks&&(this.abortInternal(),this.callbacks.onTimeout(m,t,this.response))},W-(Oe-m.loading.start)),!pe.ok){const{status:ut,statusText:lt}=pe;throw new nd(lt||"fetch, bad network response",ut,pe)}m.loading.first=Oe,m.total=qf(pe.headers)||m.total;const Ue=(Ee=this.callbacks)==null?void 0:Ee.onProgress;return Ue&&r(n.highWaterMark)?this.loadProgressively(pe,m,t,n.highWaterMark,Ue):I?pe.arrayBuffer():t.responseType==="json"?pe.json():pe.text()}).then(pe=>{var Ee,Oe;const Ue=this.response;if(!Ue)throw new Error("loader destroyed");self.clearTimeout(this.requestTimeout),m.loading.end=Math.max(self.performance.now(),m.loading.first);const ut=pe[z];ut&&(m.loaded=m.total=ut);const lt={url:Ue.url,data:pe,code:Ue.status},Nt=(Ee=this.callbacks)==null?void 0:Ee.onProgress;Nt&&!r(n.highWaterMark)&&Nt(m,t,pe,Ue),(Oe=this.callbacks)==null||Oe.onSuccess(lt,m,t,Ue)}).catch(pe=>{var Ee;if(self.clearTimeout(this.requestTimeout),m.aborted)return;const Oe=pe&&pe.code||0,Ue=pe?pe.message:null;(Ee=this.callbacks)==null||Ee.onError({code:Oe,text:Ue},t,pe?pe.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 I=new Ta,z=t.body.getReader(),X=()=>z.read().then(W=>{if(W.done)return I.dataLength&&E(n,s,I.flush().buffer,t),Promise.resolve(new ArrayBuffer(0));const le=W.value,pe=le.length;return n.loaded+=pe,pe<m||I.dataLength?(I.push(le),I.dataLength>=m&&E(n,s,I.flush().buffer,t)):E(n,s,le.buffer,t),X()}).catch(()=>Promise.reject());return X()}}function Tf(O,t){const n={method:"GET",mode:"cors",credentials:"same-origin",signal:t,headers:new self.Headers(y({},O.headers))};return O.rangeEnd&&n.headers.set("Range","bytes="+O.rangeStart+"-"+String(O.rangeEnd-1)),n}function Yf(O){const t=cf.exec(O);if(t)return parseInt(t[2])-parseInt(t[1])+1}function qf(O){const t=O.get("Content-Range");if(t){const s=Yf(t);if(r(s))return s}const n=O.get("Content-Length");if(n)return parseInt(n)}function Bf(O,t){return new self.Request(O.url,t)}class nd extends Error{constructor(t,n,s){super(t),this.code=void 0,this.details=void 0,this.code=n,this.details=s}}const Xf=/^age:\s*[\d.]+\s*$/im;class Pf{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 $,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(I=>{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(I=>{var z;(z=this.callbacks)==null||z.onError({code:s.status,text:I.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:I}=s.loadPolicy;if(m)for(const z in m)t.setRequestHeader(z,m[z]);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:I,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 W=n.status,le=n.responseType==="text"?n.responseText:null;if(W>=200&&W<300){const Ue=le!=null?le:n.response;if(Ue!=null){var I,z;s.loading.end=Math.max(self.performance.now(),s.loading.first);const ut=n.responseType==="arraybuffer"?Ue.byteLength:Ue.length;s.loaded=s.total=ut,s.bwEstimate=s.total*8e3/(s.loading.end-s.loading.first);const lt=(I=this.callbacks)==null?void 0:I.onProgress;lt&<(s,t,Ue,n);const Nt={url:n.responseURL,data:Ue,code:W};(z=this.callbacks)==null||z.onSuccess(Nt,s,t,n);return}}const pe=E.loadPolicy.errorRetry,Ee=s.retry,Oe={url:t.url,data:void 0,code:W};if(zr(pe,Ee,!1,Oe))this.retry(pe);else{var X;H.error(`${W} while loading ${t.url}`),(X=this.callbacks)==null||X.onError({code:W,text:n.statusText},t,n,s)}}}loadtimeout(){if(!this.config)return;const t=this.config.loadPolicy.timeoutRetry,n=this.stats.retry;if(zr(t,n,!0))this.retry(t);else{var s;H.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=dr(t,s.retry),s.retry++,H.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&&Xf.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 id={maxTimeToFirstByteMs:8e3,maxLoadTimeMs:2e4,timeoutRetry:null,errorRetry:null},Wf=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:Pf,fLoader:void 0,pLoader:void 0,xhrSetup:void 0,licenseXhrSetup:void 0,licenseResponseCallback:void 0,abrController:sa,bufferController:di,capLevelController:wu,errorController:at,fpsController:pc,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:Xo,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:id},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},Jf()),{},{subtitleStreamController:rf,subtitleTrackController:Lc,timelineController:Sf,audioStreamController:Bl,audioTrackController:cl,emeController:Kl,cmcdController:lu,contentSteeringController:Jc,interstitialsController:tf});function Jf(){return{cueHandler:Ff,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 ad(O,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=ff(O),m=["manifest","level","frag"],E=["TimeOut","MaxRetry","RetryDelay","MaxRetryTimeout"];return m.forEach(I=>{const z=`${I==="level"?"playlist":I}LoadPolicy`,X=t[z]===void 0,W=[];E.forEach(le=>{const pe=`${I}Loading${le}`,Ee=t[pe];if(Ee!==void 0&&X){W.push(pe);const Oe=s[z].default;switch(t[z]={default:Oe},le){case"TimeOut":Oe.maxLoadTimeMs=Ee,Oe.maxTimeToFirstByteMs=Ee;break;case"MaxRetry":Oe.errorRetry.maxNumRetry=Ee,Oe.timeoutRetry.maxNumRetry=Ee;break;case"RetryDelay":Oe.errorRetry.retryDelayMs=Ee,Oe.timeoutRetry.retryDelayMs=Ee;break;case"MaxRetryTimeout":Oe.errorRetry.maxRetryDelayMs=Ee,Oe.timeoutRetry.maxRetryDelayMs=Ee;break}}}),W.length&&n.warn(`hls.js config: "${W.join('", "')}" setting(s) are deprecated, use "${z}": ${Xn(t[z])}`)}),b(b({},s),t)}function ff(O){return O&&typeof O=="object"?Array.isArray(O)?O.map(ff):Object.keys(O).reduce((t,n)=>(t[n]=ff(O[n]),t),{}):O}function sd(O,t){const n=O.loader;n!==Cf&&n!==Pf?(t.log("[config]: Custom loader detected, cannot enable progressive streaming"),O.progressive=!1):lf()&&(O.loader=Cf,O.progressive=!0,O.enableSoftwareAES=!0,t.log("[config]: Progressive streaming enabled, using FetchLoader"))}const df=2,g=.1,C=.05,j=100;class ve extends Fs{constructor(t,n){super("gap-controller",t.logger),this.hls=void 0,this.fragmentTracker=void 0,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(j),this.mediaSource=n.mediaSource;const s=this.media=n.media;eu(s,"playing",this.onMediaPlaying),eu(s,"waiting",this.onMediaWaiting),eu(s,"ended",this.onMediaEnded)}onMediaDetaching(t,n){this.clearInterval();const{media:s}=this;s&&(cu(s,"playing",this.onMediaPlaying),cu(s,"waiting",this.onMediaWaiting),cu(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 I=this.media;if(!I)return;const{seeking:z}=I,X=this.seeking&&!z,W=!this.seeking&&z,le=I.paused&&!z||I.ended||I.playbackRate===0;if(this.seeking=z,t!==n){n&&(this.ended=0),this.moved=!0,z||(this.nudgeRetry=0,E.nudgeOnVideoHole&&!le&&t>n&&this.nudgeOnVideoHole(t,n)),this.waiting===0&&this.stallResolved(t);return}if(W||X){X&&this.stallResolved(t);return}if(le){this.nudgeRetry=0,this.stallResolved(t),!this.ended&&I.ended&&this.hls&&(this.ended=t||1,this.hls.trigger(o.MEDIA_ENDED,{stalled:!1}));return}if(!Jn.getBuffered(I).length){this.nudgeRetry=0;return}const pe=Jn.bufferInfo(I,t,0),Ee=pe.nextStart||0,Oe=this.fragmentTracker;if(z&&Oe&&this.hls){const vn=Re(this.hls.inFlightFragments,t),Wr=pe.len>df,an=!Ee||vn||Ee-t>df&&!Oe.getPartialFragment(t);if(Wr||an)return;this.moved=!1}const Ue=(m=this.hls)==null?void 0:m.latestLevelDetails;if(!this.moved&&this.stalled!==null&&Oe){if(!(pe.len>0)&&!Ee)return;const Wr=Math.max(Ee,pe.start||0)-t,fn=!!(Ue!=null&&Ue.live)?Ue.targetduration*2:df,Gr=Bt(t,Oe);if(Wr>0&&(Wr<=fn||Gr)){I.paused||this._trySkipBufferHole(Gr);return}}const ut=E.detectStallWithCurrentTimeMs,lt=self.performance.now(),Nt=this.waiting;let pr=this.stalled;if(pr===null)if(Nt>0&<-Nt<ut)pr=this.stalled=Nt;else{this.stalled=lt;return}const sr=lt-pr;if(!z&&(sr>=ut||Nt)&&this.hls){var Fr;if(((Fr=this.mediaSource)==null?void 0:Fr.readyState)==="ended"&&!(Ue!=null&&Ue.live)&&Math.abs(t-((Ue==null?void 0:Ue.edge)||0))<1){if(this.ended)return;this.ended=t||1,this.hls.trigger(o.MEDIA_ENDED,{stalled:!0});return}if(this._reportStall(pe),!this.media||!this.hls)return}const Yr=Jn.bufferInfo(I,t,E.maxBufferHole);this._tryFixBufferStall(Yr,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=Jn.bufferedInfo(Jn.timeRangesToArray(this.buffered.audio),t,0);if(E.len>1&&n>=E.start){const I=Jn.timeRangesToArray(m),z=Jn.bufferedInfo(I,n,0).bufferedIndex;if(z>-1&&z<I.length-1){const X=Jn.bufferedInfo(I,t,0).bufferedIndex,W=I[z].end,le=I[z+1].start;if((X===-1||X>z)&&le-W<1&&t-W<2){const pe=new Error(`nudging playhead to flush pipeline after video hole. currentTime: ${t} hole: ${W} -> ${le} buffered index: ${X}`);this.warn(pe.message),this.media.currentTime+=1e-6;let Ee=Bt(t,this.fragmentTracker);Ee&&"fragment"in Ee?Ee=Ee.fragment:Ee||(Ee=void 0);const Oe=Jn.bufferInfo(this.media,t,0);this.hls.trigger(o.ERROR,{type:c.MEDIA_ERROR,details:f.BUFFER_SEEK_OVER_HOLE,fatal:!1,error:pe,reason:pe.message,frag:Ee,buffer:Oe.len,bufferInfo:Oe})}}}}}_tryFixBufferStall(t,n,s){var m,E;const{fragmentTracker:I,media:z}=this,X=(m=this.hls)==null?void 0:m.config;if(!z||!I||!X)return;const W=(E=this.hls)==null?void 0:E.latestLevelDetails,le=Bt(s,I);if((le||W!=null&&W.live&&s<W.fragmentStart)&&(this._trySkipBufferHole(le)||!this.media))return;const pe=t.buffered,Ee=this.adjacentTraversal(t,s);(pe&&pe.length>1&&t.len>X.maxBufferHole||t.nextStart&&(t.nextStart-s<X.maxBufferHole||Ee))&&(n>X.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),I=s.getFragAtPos(m,u.MAIN);if(E&&I)return I.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 I=new Error(`Playback stalling at @${s.currentTime} due to low buffer (${Xn(t)})`);this.warn(I.message),n.trigger(o.ERROR,{type:c.MEDIA_ERROR,details:f.BUFFER_STALLED_ERROR,fatal:!1,error:I,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 I=m.currentTime,z=Jn.bufferInfo(m,I,0),X=I<z.start?z.start:z.nextStart;if(X&&this.hls){const le=z.len<=E.maxBufferHole,pe=z.len>0&&z.len<1&&m.readyState<3,Ee=X-I;if(Ee>0&&(le||pe)){if(Ee>E.maxBufferHole){let Ue=!1;if(I===0){const ut=s.getAppendedFrag(0,u.MAIN);ut&&X<ut.end&&(Ue=!0)}if(!Ue&&t){var W;if(!((W=this.hls.loadLevelObj)!=null&&W.details)||Re(this.hls.inFlightFragments,X))return 0;let lt=!1,Nt=t.end;for(;Nt<X;){const pr=Bt(Nt,s);if(pr)Nt+=pr.duration;else{lt=!0;break}}if(lt)return 0}}const Oe=Math.max(X+C,I+g);if(this.warn(`skipping hole, adjusting currentTime from ${I} to ${Oe}`),this.moved=!0,m.currentTime=Oe,!(t!=null&&t.gap)){const Ue=new Error(`fragment loaded with buffer holes, seeking from ${I} to ${Oe}`),ut={type:c.MEDIA_ERROR,details:f.BUFFER_SEEK_OVER_HOLE,fatal:!1,error:Ue,reason:Ue.message,buffer:z.len,bufferInfo:z};t&&("fragment"in t?ut.part=t:ut.frag=t),this.hls.trigger(o.ERROR,ut)}return Oe}}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 I=s.currentTime;if(this.nudgeRetry++,m<E.nudgeMaxRetry){const z=I+(m+1)*E.nudgeOffset,X=new Error(`Nudging 'currentTime' from ${I} to ${z}`);this.warn(X.message),s.currentTime=z,n.trigger(o.ERROR,{type:c.MEDIA_ERROR,details:f.BUFFER_NUDGE_ON_STALL,error:X,fatal:!1,buffer:t.len,bufferInfo:t})}else{const z=new Error(`Playhead still not moving while enough data buffered @${I} after ${E.nudgeMaxRetry} nudges`);this.error(z.message),n.trigger(o.ERROR,{type:c.MEDIA_ERROR,details:f.BUFFER_STALLED_ERROR,error:z,fatal:!0,buffer:t.len,bufferInfo:t})}}}function Re(O,t){const n=st(O.main);if(n&&n.start<=t)return n;const s=st(O.audio);return s&&s.start<=t?s:null}function st(O){if(!O)return null;switch(O.state){case Jt.IDLE:case Jt.STOPPED:case Jt.ENDED:case Jt.ERROR:return null}return O.frag}function Bt(O,t){return t.getAppendedFrag(O,u.MAIN)||t.getPartialFragment(O)}const ir=.25;function Dr(){if(typeof self!="undefined")return self.VTTCue||self.TextTrackCue}function _n(O,t,n,s,m){let E=new O(t,n,"");try{E.value=s,m&&(E.type=m)}catch(I){E=new O(t,n,Xn(m?b({type:m},s):s))}return E}const Ci=(()=>{const O=Dr();try{O&&new O(0,Number.POSITIVE_INFINITY,"")}catch(t){return Number.MAX_VALUE}return Number.POSITIVE_INFINITY})();class $a{constructor(t){this.hls=void 0,this.id3Track=null,this.media=null,this.dateRangeCuesAppended={},this.removeCues=!0,this.assetCue=void 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&&(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&&(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(){var t;const n=(t=this.hls)==null?void 0:t.latestLevelDetails;n&&this.updateDateRangeCues(n)}onMediaDetaching(t,n){this.media=null,!n.transferMedia&&(this.id3Track&&(this.removeCues&&bl(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 Il(s,this.media),s}return this.media.addTextTrack("metadata","id3")}}onFragParsingMetadata(t,n){if(!this.media||!this.hls)return;const{enableEmsgMetadataCues:s,enableID3MetadataCues:m}=this.hls.config;if(!s&&!m)return;const{samples:E}=n;this.id3Track||(this.id3Track=this.createTrack(this.media));const I=Dr();if(I)for(let z=0;z<E.length;z++){const X=E[z].type;if(X===_s.emsg&&!s||!m)continue;const W=xo(E[z].data),le=E[z].pts;let pe=le+E[z].duration;pe>Ci&&(pe=Ci),pe-le<=0&&(pe=le+ir);for(let Oe=0;Oe<W.length;Oe++){const Ue=W[Oe];if(!ps(Ue)){this.updateId3CueEnds(le,X);const ut=_n(I,le,pe,Ue,X);ut&&this.id3Track.addCue(ut)}}}}updateId3CueEnds(t,n){var s;const m=(s=this.id3Track)==null?void 0:s.cues;if(m)for(let E=m.length;E--;){const I=m[E];I.type===n&&I.startTime<t&&I.endTime===Ci&&(I.endTime=t)}}onBufferFlushing(t,{startOffset:n,endOffset:s,type:m}){const{id3Track:E,hls:I}=this;if(!I)return;const{config:{enableEmsgMetadataCues:z,enableID3MetadataCues:X}}=I;if(E&&(z||X)){let W;m==="audio"?W=le=>le.type===_s.audioId3&&X:m==="video"?W=le=>le.type===_s.emsg&&z:W=le=>le.type===_s.audioId3&&X||le.type===_s.emsg&&z,Uu(E,n,s,W)}}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.hls||!this.media)return;const{assetPlayerId:s,timelineOffset:m,enableDateRangeMetadataCues:E,interstitialsController:I}=this.hls.config;if(!E)return;const z=Dr();if(s&&m&&!I){const{fragmentStart:ut,fragmentEnd:lt}=t;let Nt=this.assetCue;Nt?(Nt.startTime=ut,Nt.endTime=lt):z&&(Nt=this.assetCue=_n(z,ut,lt,{assetPlayerId:this.hls.config.assetPlayerId},"hlsjs.interstitial.asset"),Nt&&(Nt.id=s,this.id3Track||(this.id3Track=this.createTrack(this.media)),this.id3Track.addCue(Nt),Nt.addEventListener("enter",this.onEventCueEnter)))}if(!t.hasProgramDateTime)return;const{id3Track:X}=this,{dateRanges:W}=t,le=Object.keys(W);let pe=this.dateRangeCuesAppended;if(X&&n){var Ee;if((Ee=X.cues)!=null&&Ee.length){const ut=Object.keys(pe).filter(lt=>!le.includes(lt));for(let lt=ut.length;lt--;){var Oe;const Nt=ut[lt],pr=(Oe=pe[Nt])==null?void 0:Oe.cues;delete pe[Nt],pr&&Object.keys(pr).forEach(sr=>{const Fr=pr[sr];if(Fr){Fr.removeEventListener("enter",this.onEventCueEnter);try{X.removeCue(Fr)}catch(Yr){}}})}}else pe=this.dateRangeCuesAppended={}}const Ue=t.fragments[t.fragments.length-1];if(!(le.length===0||!r(Ue==null?void 0:Ue.programDateTime))){this.id3Track||(this.id3Track=this.createTrack(this.media));for(let ut=0;ut<le.length;ut++){const lt=le[ut],Nt=W[lt],pr=Nt.startTime,sr=pe[lt],Fr=(sr==null?void 0:sr.cues)||{};let Yr=(sr==null?void 0:sr.durationKnown)||!1,vn=Ci;const{duration:Wr,endDate:an}=Nt;if(an&&Wr!==null)vn=pr+Wr,Yr=!0;else if(Nt.endOnNext&&!Yr){const Gr=le.reduce((Sn,yi)=>{if(yi!==Nt.id){const Ji=W[yi];if(Ji.class===Nt.class&&Ji.startDate>Nt.startDate&&(!Sn||Nt.startDate<Sn.startDate))return Ji}return Sn},null);Gr&&(vn=Gr.startTime,Yr=!0)}const fn=Object.keys(Nt.attr);for(let Gr=0;Gr<fn.length;Gr++){const Sn=fn[Gr];if(!mo(Sn))continue;const yi=Fr[Sn];if(yi)Yr&&!(sr!=null&&sr.durationKnown)?yi.endTime=vn:Math.abs(yi.startTime-pr)>.01&&(yi.startTime=pr,yi.endTime=vn);else if(z){let Ji=Nt.attr[Sn];Nn(Sn)&&(Ji=V(Ji));const Ei=_n(z,pr,vn,{key:Sn,data:Ji},_s.dateRange);Ei&&(Ei.id=lt,this.id3Track.addCue(Ei),Fr[Sn]=Ei,I&&(Sn==="X-ASSET-LIST"||Sn==="X-ASSET-URL")&&Ei.addEventListener("enter",this.onEventCueEnter))}}pe[lt]={cues:Fr,dateRange:Nt,durationKnown:Yr}}}}}class Qn{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:I}=this.config;if(!E||I===1||!s.live)return;const z=this.targetLatency;if(z===null)return;const X=m-z,W=Math.min(this.maxLatency,z+s.targetduration);if(X<W&&X>.05&&this.forwardBufferLength>1){const pe=Math.min(2,Math.max(1,I)),Ee=Math.round(2/(1+Math.exp(-.75*X-this.edgeStalled))*20)/20,Oe=Math.min(pe,Math.max(1,Ee));this.changeMediaPlaybackRate(n,Oe)}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:I,lowLatencyMode:z}=this.config,X=this.hls.userConfig;let W=z&&s||n;(this._targetLatencyUpdated||X.liveSyncDuration||X.liveSyncDurationCount||W===0)&&(W=E!==void 0?E:I*m);const le=m;return W+Math.min(this.stallCount*this.config.liveSyncOnStallIncrease,le)}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,I=m-s.totalduration,z=m-(this.config.lowLatencyMode&&s.partTarget||s.targetduration);return Math.min(Math.max(I,E),z)}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 ca extends nu{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={},I={};let z=!1,X=!1,W=!1;n.levels.forEach(le=>{const pe=le.attrs;let{audioCodec:Ee,videoCodec:Oe}=le;Ee&&(le.audioCodec=Ee=mt(Ee,s)||void 0),Oe&&(Oe=le.videoCodec=St(Oe));const{width:Ue,height:ut,unknownCodecs:lt}=le;let Nt=lt?lt.length:0;if(lt)for(let Gr=Nt;Gr--;){const Sn=lt[Gr];this.isAudioSupported(Sn)?(le.audioCodec=Ee=Ee?`${Ee},${Sn}`:Sn,Nt--,he.audio[Ee.substring(0,4)]=2):this.isVideoSupported(Sn)&&(le.videoCodec=Oe=Oe?`${Oe},${Sn}`:Sn,Nt--,he.video[Oe.substring(0,4)]=2)}if(z||(z=!!(Ue&&ut)),X||(X=!!Oe),W||(W=!!Ee),Nt||Ee&&!this.isAudioSupported(Ee)||Oe&&!this.isVideoSupported(Oe)){this.log(`Some or all CODECS not supported "${pe.CODECS}"`);return}const{CODECS:pr,"FRAME-RATE":sr,"HDCP-LEVEL":Fr,"PATHWAY-ID":Yr,RESOLUTION:vn,"VIDEO-RANGE":Wr}=pe,fn=`${`${Yr||"."}-`}${le.bitrate}-${vn}-${sr}-${pr}-${Wr}-${Fr}`;if(E[fn])if(E[fn].uri!==le.url&&!le.attrs["PATHWAY-ID"]){const Gr=I[fn]+=1;le.attrs["PATHWAY-ID"]=new Array(Gr+1).join(".");const Sn=this.createLevel(le);E[fn]=Sn,m.push(Sn)}else E[fn].addGroupId("audio",pe.AUDIO),E[fn].addGroupId("text",pe.SUBTITLES);else{const Gr=this.createLevel(le);E[fn]=Gr,I[fn]=1,m.push(Gr)}}),this.filterAndSortMediaOptions(m,n,z,X,W)}createLevel(t){const n=new cr(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=gr(m,[])}return n}isAudioSupported(t){return Te(t,"audio",this.hls.config.preferManagedMediaSource)}isVideoSupported(t){return Te(t,"video",this.hls.config.preferManagedMediaSource)}filterAndSortMediaOptions(t,n,s,m,E){let I=[],z=[],X=t;if((s||m)&&E&&(X=X.filter(({videoCodec:lt,videoRange:Nt,width:pr,height:sr})=>(!!lt||!!(pr&&sr))&&nn(Nt))),X.length===0){Promise.resolve().then(()=>{if(this.hls){let lt="no level with compatible codecs found in manifest",Nt=lt;n.levels.length&&(Nt=`one or more CODECS in variant not supported: ${Xn(n.levels.map(sr=>sr.attrs.CODECS).filter((sr,Fr,Yr)=>Yr.indexOf(sr)===Fr))}`,this.warn(Nt),lt+=` (${Nt})`);const pr=new Error(lt);this.hls.trigger(o.ERROR,{type:c.MEDIA_ERROR,details:f.MANIFEST_INCOMPATIBLE_CODECS_ERROR,fatal:!0,url:n.url,error:pr,reason:Nt})}});return}n.audioTracks&&(I=n.audioTracks.filter(lt=>!lt.audioCodec||this.isAudioSupported(lt.audioCodec)),Na(I)),n.subtitles&&(z=n.subtitles,Na(z));const W=X.slice(0);X.sort((lt,Nt)=>{if(lt.attrs["HDCP-LEVEL"]!==Nt.attrs["HDCP-LEVEL"])return(lt.attrs["HDCP-LEVEL"]||"")>(Nt.attrs["HDCP-LEVEL"]||"")?1:-1;if(s&<.height!==Nt.height)return lt.height-Nt.height;if(lt.frameRate!==Nt.frameRate)return lt.frameRate-Nt.frameRate;if(lt.videoRange!==Nt.videoRange)return yr.indexOf(lt.videoRange)-yr.indexOf(Nt.videoRange);if(lt.videoCodec!==Nt.videoCodec){const pr=wt(lt.videoCodec),sr=wt(Nt.videoCodec);if(pr!==sr)return sr-pr}if(lt.uri===Nt.uri&<.codecSet!==Nt.codecSet){const pr=Ie(lt.codecSet),sr=Ie(Nt.codecSet);if(pr!==sr)return sr-pr}return lt.averageBitrate!==Nt.averageBitrate?lt.averageBitrate-Nt.averageBitrate:0});let le=W[0];if(this.steering&&(X=this.steering.filterParsedLevels(X),X.length!==W.length)){for(let lt=0;lt<W.length;lt++)if(W[lt].pathwayId===X[0].pathwayId){le=W[lt];break}}this._levels=X;for(let lt=0;lt<X.length;lt++)if(X[lt]===le){var pe;this._firstLevel=lt;const Nt=le.bitrate,pr=this.hls.bandwidthEstimate;if(this.log(`manifest loaded, ${X.length} level(s) found, first bitrate: ${Nt}`),((pe=this.hls.userConfig)==null?void 0:pe.abrEwmaDefaultEstimate)===void 0){const sr=Math.min(Nt,this.hls.config.abrEwmaDefaultEstimateMax);sr>pr&&pr===this.hls.abrEwmaDefaultEstimate&&(this.hls.bandwidthEstimate=sr)}break}const Ee=E&&!m,Oe=this.hls.config,Ue=!!(Oe.audioStreamController&&Oe.audioTrackController),ut={levels:X,audioTracks:I,subtitleTracks:z,sessionData:n.sessionData,sessionKeys:n.sessionKeys,firstLevel:this._firstLevel,stats:n.stats,audio:E,video:m,altAudio:Ue&&!Ee&&I.some(lt=>!!lt.url)};this.hls.trigger(o.MANIFEST_PARSED,ut)}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 le=new Error("invalid level idx"),pe=t<0;if(this.hls.trigger(o.ERROR,{type:c.OTHER_ERROR,details:f.LEVEL_SWITCH_ERROR,level:t,fatal:pe,error:le,reason:le.message}),pe)return;t=Math.min(t,n.length-1)}const s=this.currentLevelIndex,m=this.currentLevel,E=m?m.attrs["PATHWAY-ID"]:void 0,I=n[t],z=I.attrs["PATHWAY-ID"];if(this.currentLevelIndex=t,this.currentLevel=I,s===t&&m&&E===z)return;this.log(`Switching to level ${t} (${I.height?I.height+"p ":""}${I.videoRange?I.videoRange+" ":""}${I.codecSet?I.codecSet+" ":""}@${I.bitrate})${z?" with Pathway "+z:""} from level ${s}${E?" with Pathway "+E:""}`);const X={level:t,attrs:I.attrs,details:I.details,bitrate:I.bitrate,averageBitrate:I.averageBitrate,maxBitrate:I.maxBitrate,realBitrate:I.realBitrate,width:I.width,height:I.height,codecSet:I.codecSet,audioCodec:I.audioCodec,videoCodec:I.videoCodec,audioGroups:I.audioGroups,subtitleGroups:I.subtitleGroups,loaded:I.loaded,loadError:I.loadError,fragmentError:I.fragmentError,name:I.name,id:I.id,uri:I.uri,url:I.url,urlId:0,audioGroupIds:I.audioGroupIds,textGroupIds:I.textGroupIds};this.hls.trigger(o.LEVEL_SWITCHING,X);const W=I.details;if(!W||W.live){const le=this.switchParams(I.uri,m==null?void 0:m.details,W);this.loadPlaylist(le)}}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,I=n.levelInfo;if(!I){var z;this.warn(`Invalid level index ${m}`),(z=n.deliveryDirectives)!=null&&z.skip&&(E.deltaUpdateFailed=!0);return}if(I===this.currentLevel||n.withoutMultiVariant){I.fragmentError===0&&(I.loadError=0);let X=I.details;X===n.details&&X.advanced&&(X=void 0),this.playlistLoaded(m,n,X)}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"],I=t.details,z=I==null?void 0:I.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:""}${z&&I.live?" age "+z.toFixed(1)+(I.type?" "+I.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,I)=>I!==t?!0:(this.steering&&this.steering.removeLevel(E),E===this.currentLevel&&(this.currentLevel=null,this.currentLevelIndex=-1,E.details&&E.details.fragments.forEach(z=>z.level=-1)),!1));Br(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 Na(O){const t={};O.forEach(n=>{const s=n.groupId||"";n.id=t[s]=t[s]||0,t[s]++})}function ka(){return self.SourceBuffer||self.WebKitSourceBuffer}function en(){if(!ae())return!1;const t=ka();return!t||t.prototype&&typeof t.prototype.appendBuffer=="function"&&typeof t.prototype.remove=="function"}function $r(){if(!en())return!1;const O=ae();return typeof(O==null?void 0:O.isTypeSupported)=="function"&&(["avc1.42E01E,mp4a.40.2","av01.0.01M.08","vp09.00.50.08"].some(t=>O.isTypeSupported(Zt(t,"video")))||["mp4a.40.2","fLaC"].some(t=>O.isTypeSupported(Zt(t,"audio"))))}function qr(){var O;const t=ka();return typeof(t==null||(O=t.prototype)==null?void 0:O.changeType)=="function"}const On=100;class Un extends oa{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 I=this.getFwdBufferInfoAtPos(m,E,u.MAIN,0);if(I===null||I.len===0){this.warn(`Main forward buffer length at ${E} on "seeked" event ${I?I.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(On),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=Jt.IDLE,this.nextLoadPosition=this.lastCurrentTime=t+this.timelineOffset,this.startPosition=n?-1:t,this.tick()}else this._forceStartLoad=!0,this.state=Jt.STOPPED}stopLoad(){this._forceStartLoad=!1,super.stopLoad()}doTick(){switch(this.state){case Jt.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=Jt.IDLE;break}else if(this.hls.nextLoadLevel!==this.level){this.state=Jt.IDLE;break}break}case Jt.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,I=m==null?void 0:m[E];this.resetStartWhenNotLoaded(I||null),this.state=Jt.IDLE}}break}this.state===Jt.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 I=s[E],z=this.getMainFwdBufferInfo();if(z===null)return;const X=this.getLevelDetails();if(X&&this._streamEnded(z,X)){const ut={};this.altAudio===2&&(ut.type="video"),this.hls.trigger(o.BUFFER_EOS,ut),this.state=Jt.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 W=I.details;if(!W||this.state===Jt.WAITING_LEVEL||this.waitForLive(I)){this.level=E,this.state=Jt.WAITING_LEVEL,this.startFragRequested=!1;return}const le=z.len,pe=this.getMaxBufferLength(I.maxBitrate);if(le>=pe)return;this.backtrackFragment&&this.backtrackFragment.start>z.end&&(this.backtrackFragment=null);const Ee=this.backtrackFragment?this.backtrackFragment.start:z.end;let Oe=this.getNextFragment(Ee,W);if(this.couldBacktrack&&!this.fragPrevious&&Oe&&Pe(Oe)&&this.fragmentTracker.getState(Oe)!==Er.OK){var Ue;const lt=((Ue=this.backtrackFragment)!=null?Ue:Oe).sn-W.startSN,Nt=W.fragments[lt-1];Nt&&Oe.cc===Nt.cc&&(Oe=Nt,this.fragmentTracker.removeFragment(Nt))}else this.backtrackFragment&&z.len&&(this.backtrackFragment=null);if(Oe&&this.isLoopLoading(Oe,Ee)){if(!Oe.gap){const lt=this.audioOnly&&!this.altAudio?ie.AUDIO:ie.VIDEO,Nt=(lt===ie.VIDEO?this.videoBuffer:this.mediaBuffer)||this.media;Nt&&this.afterBufferFlushed(Nt,lt,u.MAIN)}Oe=this.getNextFragmentLoopLoading(Oe,W,z,u.MAIN,pe)}Oe&&(Oe.initSegment&&!Oe.initSegment.data&&!this.bitrateTest&&(Oe=Oe.initSegment),this.loadFragment(Oe,I,Ee))}loadFragment(t,n,s){const m=this.fragmentTracker.getState(t);m===Er.NOT_LOADED||m===Er.PARTIAL?Pe(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 z=this.getMainFwdBufferInfo();if(!z||z.len<E.targetduration*2)return}if(!n.paused&&t){const z=this.hls.nextLoadLevel,X=t[z],W=this.fragLastKbps;W&&this.fragCurrent?s=this.fragCurrent.duration*X.maxBitrate/(1e3*W)+1:s=0}else s=0;const I=this.getBufferedFrag(n.currentTime+s);if(I){const z=this.followingBufferedFrag(I);if(z){this.abortCurrentFrag();const X=z.maxStartPTS?z.maxStartPTS:z.start,W=z.duration,le=Math.max(I.end,X+Math.min(Math.max(W-this.config.maxFragLookUpTolerance,W*(this.couldBacktrack?.5:.125)),W*(this.couldBacktrack?.75:.25)));this.flushMainBuffer(le,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 Jt.KEY_LOADING:case Jt.FRAG_LOADING:case Jt.FRAG_LOADING_WAITING_RETRY:case Jt.PARSING:case Jt.PARSED:this.state=Jt.IDLE;break}this.nextLoadPosition=this.getLoadPosition()}flushMainBuffer(t,n){super.flushMainBuffer(t,n,this.altAudio===2?"video":null)}onMediaAttached(t,n){super.onMediaAttached(t,n);const s=n.media;eu(s,"playing",this.onMediaPlaying),eu(s,"seeked",this.onMediaSeeked)}onMediaDetaching(t,n){const{media:s}=this;s&&(cu(s,"playing",this.onMediaPlaying),cu(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 I=E.audioCodec;I&&(s=s||I.indexOf("mp4a.40.2")!==-1,m=m||I.indexOf("mp4a.40.5")!==-1)}),this.audioCodecSwitch=s&&m&&!qr(),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!==Jt.IDLE)return;const m=n.levelInfo;(!m.details||m.details.live&&(this.levelLastLoaded!==m||m.details.expired)||this.waitForCdnTuneIn(m.details))&&(this.state=Jt.WAITING_LEVEL)}onLevelLoaded(t,n){var s;const{levels:m,startFragRequested:E}=this,I=n.level,z=n.details,X=z.totalduration;if(!m){this.warn(`Levels were reset while loading level ${I}`);return}this.log(`Level ${I} loaded [${z.startSN},${z.endSN}]${z.lastPartSn?`[part-${z.lastPartSn}-${z.lastPartIndex}]`:""}, cc [${z.startCC}, ${z.endCC}] duration:${X}`);const W=n.levelInfo,le=this.fragCurrent;le&&(this.state===Jt.FRAG_LOADING||this.state===Jt.FRAG_LOADING_WAITING_RETRY)&&le.level!==n.level&&le.loader&&this.abortCurrentFrag();let pe=0;if(z.live||(s=W.details)!=null&&s.live){var Ee;if(this.checkLiveUpdate(z),z.deltaUpdateFailed)return;pe=this.alignPlaylists(z,W.details,(Ee=this.levelLastLoaded)==null?void 0:Ee.details)}if(W.details=z,this.levelLastLoaded=W,E||this.setStartPosition(z,pe),this.hls.trigger(o.LEVEL_UPDATED,{details:z,level:I}),this.state===Jt.WAITING_LEVEL){if(this.waitForCdnTuneIn(z))return;this.state=Jt.IDLE}E&&z.live&&this.synchronizeToLiveEdge(z),this.tick()}synchronizeToLiveEdge(t){const{config:n,media:s}=this;if(!s)return;const m=this.hls.liveSyncPosition,E=this.getLoadPosition(),I=t.fragmentStart,z=t.edge,X=E>=I-n.maxFragLookUpTolerance&&E<=z;if(m!==null&&s.duration>m&&(E<m||!X)){const le=n.liveMaxLatencyDuration!==void 0?n.liveMaxLatencyDuration:n.liveMaxLatencyDurationCount*t.targetduration;if((!X&&s.readyState<4||E<z-le)&&(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: ${z}, reset currentTime to : ${m.toFixed(3)}`),this.config.liveSyncMode==="buffered"){var W;const pe=Jn.bufferInfo(s,m,0);if(!(pe!=null&&(W=pe.buffered)!=null&&W.length)){s.currentTime=m;return}if(pe.start<=E){s.currentTime=m;return}const{nextStart:Oe}=Jn.bufferedInfo(pe.buffered,E,0);Oe&&(s.currentTime=Oe)}else s.currentTime=m}}_handleFragmentLoadProgress(t){var n;const s=t.frag,{part:m,payload:E}=t,{levels:I}=this;if(!I){this.warn(`Levels were reset while fragment load was in progress. Fragment ${s.sn} of level ${s.level} will not be buffered`);return}const z=I[s.level];if(!z){this.warn(`Level ${s.level} not found on progress`);return}const X=z.details;if(!X){this.warn(`Dropping fragment ${s.sn} of level ${s.level} after level details were reset`),this.fragmentTracker.removeFragment(s);return}const W=z.videoCodec,le=X.PTSKnown||!X.live,pe=(n=s.initSegment)==null?void 0:n.data,Ee=this._getAudioCodec(z),Oe=this.transmuxer=this.transmuxer||new $o(this.hls,u.MAIN,this._handleTransmuxComplete.bind(this),this._handleTransmuxerFlush.bind(this)),Ue=m?m.index:-1,ut=Ue!==-1,lt=new Ks(s.level,s.sn,s.stats.chunkCount,E.byteLength,Ue,ut),Nt=this.initPTS[s.cc];Oe.push(E,pe,Ee,W,s,m,X.totalduration,le,lt,Nt)}onAudioTrackSwitching(t,n){const s=this.hls,m=this.altAudio===2;if(ii(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 I=this.fragCurrent;I&&(this.log("Switching to main audio track, cancel main fragment load"),I.abortRequests(),this.fragmentTracker.removeFragment(I)),this.resetTransmuxer(),this.resetLoadingState()}else this.audioOnly&&this.resetTransmuxer();if(m){this.fragmentTracker.removeAllFragments(),s.once(o.BUFFER_FLUSHED,()=>{var I;(I=this.hls)==null||I.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=ii(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,I=!1;for(const z in s){const X=s[z];if(X.id==="main"){if(E=z,m=X,z==="video"){const W=s[z];W&&(this.videoBuffer=W.buffer)}}else I=!0}I&&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===Jt.PARSED&&(this.state=Jt.IDLE);return}const z=m?m.stats:s.stats;this.fragLastKbps=Math.round(8*z.total/(z.buffering.end-z.loading.first)),Pe(s)&&(this.fragPrevious=s),this.fragBufferedComplete(s,m)}const I=this.media;I&&(!this._hasEnoughToStart&&Jn.getBuffered(I).length&&(this._hasEnoughToStart=!0,this.seekToStartPos()),E&&this.tick())}get hasEnoughToStart(){return this._hasEnoughToStart}onError(t,n){var s;if(n.fatal){this.state=Jt.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===Jt.WAITING_LEVEL&&((s=n.context)==null?void 0:s.type)===h.LEVEL&&(this.state=Jt.IDLE);break;case f.BUFFER_ADD_CODEC_ERROR:case f.BUFFER_APPEND_ERROR:if(n.parent!=="main")return;this.reduceLengthAndFlushBuffer(n)&&this.resetLoadingState();break;case f.BUFFER_FULL_ERROR:if(n.parent!=="main")return;this.reduceLengthAndFlushBuffer(n)&&(!this.config.interstitialsController&&this.config.assetPlayerId?this._hasEnoughToStart=!0:this.flushMainBuffer(0,Number.POSITIVE_INFINITY));break;case f.INTERNAL_EXCEPTION:this.recoverWorkerError(n);break}}onFragLoadEmergencyAborted(){this.state=Jt.IDLE,this._hasEnoughToStart||(this.startFragRequested=!1,this.nextLoadPosition=this.lastCurrentTime),this.tickImmediate()}onBufferFlushed(t,{type:n}){if(n!==ie.AUDIO||!this.altAudio){const s=(n===ie.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(),I=Jn.getBuffered(t),z=I.length?I.start(0):0,X=z-s,W=Math.max(this.config.maxBufferHole,this.config.maxFragLookUpTolerance);(this.config.startOnSegmentBoundary||X>0&&(X<W||this.loadingParts&&X<2*((E==null?void 0:E.partTarget)||0)))&&(this.log(`adjusting start position by ${X} to match buffer start`),s+=X,this.startPosition=s),n<s&&(this.log(`seek to target start position ${s} from current time ${n} buffer start ${z}`),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=Jt.IDLE,this.startFragRequested=!1,this.bitrateTest=!1;const I=E.stats;I.parsing.start=I.parsing.end=I.buffering.start=I.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:I}=t,z=this.getCurrentContext(I);if(!z){this.resetWhenMissingContext(I);return}const{frag:X,part:W,level:le}=z,{video:pe,text:Ee,id3:Oe,initSegment:Ue}=E,{details:ut}=le,lt=this.altAudio?void 0:E.audio;if(this.fragContextChanged(X)){this.fragmentTracker.removeFragment(X);return}if(this.state=Jt.PARSING,Ue){if(Ue!=null&&Ue.tracks){const Fr=X.initSegment||X;this._bufferInitSegment(le,Ue.tracks,Fr,I),m.trigger(o.FRAG_PARSING_INIT_SEGMENT,{frag:Fr,id:s,tracks:Ue.tracks})}const Nt=Ue.initPTS,pr=Ue.timescale,sr=this.initPTS[X.cc];if(r(Nt)&&(!sr||sr.baseTime!==Nt||sr.timescale!==pr)){const Fr=Ue.trackId;this.initPTS[X.cc]={baseTime:Nt,timescale:pr,trackId:Fr},m.trigger(o.INIT_PTS_FOUND,{frag:X,id:s,initPTS:Nt,timescale:pr,trackId:Fr})}}if(pe&&ut){lt&&pe.type==="audiovideo"&&this.logMuxedErr(X);const Nt=ut.fragments[X.sn-1-ut.startSN],pr=X.sn===ut.startSN,sr=!Nt||X.cc>Nt.cc;if(E.independent!==!1){const{startPTS:Fr,endPTS:Yr,startDTS:vn,endDTS:Wr}=pe;if(W)W.elementaryStreams[pe.type]={startPTS:Fr,endPTS:Yr,startDTS:vn,endDTS:Wr};else if(pe.firstKeyFrame&&pe.independent&&I.id===1&&!sr&&(this.couldBacktrack=!0),pe.dropped&&pe.independent){const an=this.getMainFwdBufferInfo(),fn=(an?an.end:this.getLoadPosition())+this.config.maxBufferHole,Gr=pe.firstKeyFramePTS?pe.firstKeyFramePTS:Fr;if(!pr&&fn<Gr-this.config.maxBufferHole&&!sr){this.backtrack(X);return}else sr&&(X.gap=!0);X.setElementaryStreamInfo(pe.type,X.start,Yr,X.start,Wr,!0)}else pr&&Fr-(ut.appliedTimelineOffset||0)>df&&(X.gap=!0);X.setElementaryStreamInfo(pe.type,Fr,Yr,vn,Wr),this.backtrackFragment&&(this.backtrackFragment=X),this.bufferFragmentData(pe,X,W,I,pr||sr)}else if(pr||sr)X.gap=!0;else{this.backtrack(X);return}}if(lt){const{startPTS:Nt,endPTS:pr,startDTS:sr,endDTS:Fr}=lt;W&&(W.elementaryStreams[ie.AUDIO]={startPTS:Nt,endPTS:pr,startDTS:sr,endDTS:Fr}),X.setElementaryStreamInfo(ie.AUDIO,Nt,pr,sr,Fr),this.bufferFragmentData(lt,X,W,I)}if(ut&&Oe!=null&&(n=Oe.samples)!=null&&n.length){const Nt={id:s,frag:X,details:ut,samples:Oe.samples};m.trigger(o.FRAG_PARSING_METADATA,Nt)}if(ut&&Ee){const Nt={id:s,frag:X,details:ut,samples:Ee.samples};m.trigger(o.FRAG_PARSING_USERDATA,Nt)}}logMuxedErr(t){this.warn(`${Pe(t)?"Media":"Init"} segment with muxed audiovideo where only video expected: ${t.url}`)}_bufferInitSegment(t,n,s,m){if(this.state!==Jt.PARSING)return;this.audioOnly=!!n.audio&&!n.video,this.altAudio&&!this.audioOnly&&(delete n.audio,n.audiovideo&&this.logMuxedErr(s));const{audio:E,video:I,audiovideo:z}=n;if(E){const W=t.audioCodec;let le=Fe(E.codec,W);le==="mp4a"&&(le="mp4a.40.5");const pe=navigator.userAgent.toLowerCase();if(this.audioCodecSwitch){le&&(le.indexOf("mp4a.40.5")!==-1?le="mp4a.40.2":le="mp4a.40.5");const Ee=E.metadata;Ee&&"channelCount"in Ee&&(Ee.channelCount||1)!==1&&pe.indexOf("firefox")===-1&&(le="mp4a.40.5")}le&&le.indexOf("mp4a.40.5")!==-1&&pe.indexOf("android")!==-1&&E.container!=="audio/mpeg"&&(le="mp4a.40.2",this.log(`Android: force audio codec to ${le}`)),W&&W!==le&&this.log(`Swapping manifest audio codec "${W}" for "${le}"`),E.levelCodec=le,E.id=u.MAIN,this.log(`Init audio buffer, container:${E.container}, codecs[selected/level/parsed]=[${le||""}/${W||""}/${E.codec}]`),delete n.audiovideo}if(I){I.levelCodec=t.videoCodec,I.id=u.MAIN;const W=I.codec;if((W==null?void 0:W.length)===4)switch(W){case"hvc1":case"hev1":I.codec="hvc1.1.6.L120.90";break;case"av01":I.codec="av01.0.04M.08";break;case"avc1":I.codec="avc1.42e01e";break}this.log(`Init video buffer, container:${I.container}, codecs[level/parsed]=[${t.videoCodec||""}/${W}]${I.codec!==W?" parsed-corrected="+I.codec:""}${I.supplemental?" supplemental="+I.supplemental:""}`),delete n.audiovideo}z&&(this.log(`Init audiovideo buffer, container:${z.container}, codecs[level/parsed]=[${t.codecs}/${z.codec}]`),delete n.video,delete n.audio);const X=Object.keys(n);if(X.length){if(this.hls.trigger(o.BUFFER_CODECS,n),!this.hls)return;X.forEach(W=>{const pe=n[W].initSegment;pe!=null&&pe.byteLength&&this.hls.trigger(o.BUFFER_APPENDING,{type:W,data:pe,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=Jt.IDLE}checkFragmentChanged(){const t=this.media;let n=null;if(t&&t.readyState>1&&t.seeking===!1){const s=t.currentTime;if(Jn.isBuffered(t,s)?n=this.getAppendedFrag(s):Jn.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?An(null,s.fragments,n):null);if(m){const E=m.programDateTime;if(E!==null){const I=E+(n-m.start)*1e3;return new Date(I)}}}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 Va{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 wa({type:c.NETWORK_ERROR,details:n,fatal:!1,frag:t,response:E,error:s,networkDetails:m})}loadClear(t,n,s){if(this.emeController&&this.config.emeEnabled&&!this.emeController.getSelectedKeySystemFormats().length){if(n.length)for(let m=0,E=n.length;m<E;m++){const I=n[m];if(t.cc<=I.cc&&(!Pe(t)||!Pe(I)||t.sn<I.sn)||!s&&m==E-1)return this.emeController.selectKeySystemFormat(I).then(z=>{if(!this.emeController)return;I.setKeyFormat(z);const X=Ao(z);if(X)return this.emeController.getKeySystemAccess([X])})}if(this.config.requireKeySystemAccessOnStart){const m=Lo(this.config);if(m.length)return this.emeController.getKeySystemAccess(m)}}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 W=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,W))}const I=E.uri;if(!I)return Promise.reject(this.createKeyLoadError(t,f.KEY_LOAD_ERROR,new Error(`Invalid key URI: "${I}"`)));let z=this.keyUriToKeyInfo[I];if((s=z)!=null&&s.decryptdata.key)return E.key=z.decryptdata.key,Promise.resolve({frag:t,keyInfo:z});if((m=z)!=null&&m.keyLoadPromise){var X;switch((X=z.mediaKeySessionContext)==null?void 0:X.keyStatus){case void 0:case"status-pending":case"usable":case"usable-in-future":return z.keyLoadPromise.then(W=>(E.key=W.keyInfo.decryptdata.key,{frag:t,keyInfo:z}))}}switch(z=this.keyUriToKeyInfo[I]={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(z,t):this.loadKeyEME(z,t);case"AES-128":case"AES-256":case"AES-256-CTR":return this.loadKeyHTTP(z,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((I,z)=>{const X={keyInfo:t,frag:n,responseType:"arraybuffer",url:t.decryptdata.uri},W=s.keyLoadPolicy.default,le={loadPolicy:W,timeout:W.maxLoadTimeMs,maxRetry:0,retryDelay:0,maxRetryDelay:0},pe={onSuccess:(Ee,Oe,Ue,ut)=>{const{frag:lt,keyInfo:Nt,url:pr}=Ue;if(!lt.decryptdata||Nt!==this.keyUriToKeyInfo[pr])return z(this.createKeyLoadError(lt,f.KEY_LOAD_ERROR,new Error("after key load, decryptdata unset or changed"),ut));Nt.decryptdata.key=lt.decryptdata.key=new Uint8Array(Ee.data),lt.keyLoader=null,Nt.loader=null,I({frag:lt,keyInfo:Nt})},onError:(Ee,Oe,Ue,ut)=>{this.resetLoader(Oe),z(this.createKeyLoadError(n,f.KEY_LOAD_ERROR,new Error(`HTTP Error ${Ee.code} loading key ${Ee.text}`),Ue,b({url:X.url,data:void 0},Ee)))},onTimeout:(Ee,Oe,Ue)=>{this.resetLoader(Oe),z(this.createKeyLoadError(n,f.KEY_LOAD_TIMEOUT,new Error("key loading timed out"),Ue))},onAbort:(Ee,Oe,Ue)=>{this.resetLoader(Oe),z(this.createKeyLoadError(n,f.INTERNAL_ABORTED,new Error("key loading aborted"),Ue))}};E.load(X,le,pe)})}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 Gi(O){const{type:t}=O;switch(t){case h.AUDIO_TRACK:return u.AUDIO;case h.SUBTITLE_TRACK:return u.SUBTITLE;default:return u.MAIN}}function ja(O,t){let n=O.url;return(n===void 0||n.indexOf("data:")===0)&&(n=t.url),n}class ms{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,I=new E(n);return this.loaders[t.type]=I,I}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:I,deliveryDirectives:z,levelInfo:X}=n;this.load({id:s,level:m,pathwayId:E,responseType:"text",type:h.LEVEL,url:I,deliveryDirectives:z,levelOrTrack:X})}onAudioTrackLoading(t,n){const{id:s,groupId:m,url:E,deliveryDirectives:I,track:z}=n;this.load({id:s,groupId:m,level:null,responseType:"text",type:h.AUDIO_TRACK,url:E,deliveryDirectives:I,levelOrTrack:z})}onSubtitleTrackLoading(t,n){const{id:s,groupId:m,url:E,deliveryDirectives:I,track:z}=n;this.load({id:s,groupId:m,level:null,responseType:"text",type:h.SUBTITLE_TRACK,url:E,deliveryDirectives:I,levelOrTrack:z})}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 W=this.hls.logger,le=m.context;if(le&&le.levelOrTrack===t.levelOrTrack&&(le.url===t.url||le.deliveryDirectives&&!t.deliveryDirectives)){le.url===t.url?W.log(`[playlist-loader]: ignore ${t.url} ongoing request`):W.log(`[playlist-loader]: ignore ${t.url} in favor of ${le.url}`);return}W.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 W;if(t.type===h.LEVEL&&t.level!==null?W=this.hls.levels[t.level].details:t.type===h.AUDIO_TRACK&&t.id!==null?W=this.hls.audioTracks[t.id].details:t.type===h.SUBTITLE_TRACK&&t.id!==null&&(W=this.hls.subtitleTracks[t.id].details),W){const le=W.partTarget,pe=W.targetduration;if(le&&pe){const Ee=Math.max(le*3,pe*.8)*1e3;E=y({},E,{maxTimeToFirstByteMs:Math.min(Ee,E.maxTimeToFirstByteMs),maxLoadTimeMs:Math.min(Ee,E.maxTimeToFirstByteMs)})}}}const I=E.errorRetry||E.timeoutRetry||{},z={loadPolicy:E,timeout:E.maxLoadTimeMs,maxRetry:I.maxNumRetry||0,retryDelay:I.retryDelayMs||0,maxRetryDelay:I.maxRetryDelayMs||0},X={onSuccess:(W,le,pe,Ee)=>{const Oe=this.getInternalLoader(pe);this.resetInternalLoader(pe.type);const Ue=W.data;if(Ue.indexOf("#EXTM3U")!==0){this.handleManifestParsingError(W,pe,new Error("no EXTM3U delimiter"),Ee||null,le);return}le.parsing.start=performance.now(),Mo.isMediaPlaylist(Ue)||pe.type!==h.MANIFEST?this.handleTrackOrLevelPlaylist(W,le,pe,Ee||null,Oe):this.handleMasterPlaylist(W,le,pe,Ee)},onError:(W,le,pe,Ee)=>{this.handleNetworkError(le,pe,!1,W,Ee)},onTimeout:(W,le,pe)=>{this.handleNetworkError(le,pe,!0,void 0,W)}};m.load(t,z,X)}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,I=t.data,z=ja(t,s),X=Mo.parseMasterPlaylist(I,z);if(X.playlistParsingError){this.handleManifestParsingError(t,s,X.playlistParsingError,m,n);return}const{contentSteering:W,levels:le,sessionData:pe,sessionKeys:Ee,startTimeOffset:Oe,variableList:Ue}=X;this.variableList=Ue;const{AUDIO:ut=[],SUBTITLES:lt,"CLOSED-CAPTIONS":Nt}=Mo.parseMasterPlaylistMedia(I,z,X);ut.length&&!ut.some(sr=>!sr.url)&&le[0].audioCodec&&!le[0].attrs.AUDIO&&(this.hls.logger.log("[playlist-loader]: audio codec signaled in quality level, but no embedded audio track signaled, create one"),ut.unshift({type:"main",name:"main",groupId:"main",default:!1,autoselect:!1,forced:!1,id:-1,attrs:new va({}),bitrate:0,url:""})),E.trigger(o.MANIFEST_LOADED,{levels:le,audioTracks:ut,subtitles:lt,captions:Nt,contentSteering:W,url:z,stats:n,networkDetails:m,sessionData:pe,sessionKeys:Ee,startTimeOffset:Oe,variableList:Ue})}handleTrackOrLevelPlaylist(t,n,s,m,E){const I=this.hls,{id:z,level:X,type:W}=s,le=ja(t,s),pe=r(X)?X:r(z)?z:0,Ee=Gi(s),Oe=Mo.parseLevelPlaylist(t.data,le,pe,Ee,0,this.variableList);if(W===h.MANIFEST){const Ue={attrs:new va({}),bitrate:0,details:Oe,name:"",url:le};Oe.requestScheduled=n.loading.start+Hn(Oe,0),I.trigger(o.MANIFEST_LOADED,{levels:[Ue],audioTracks:[],url:le,stats:n,networkDetails:m,sessionData:null,sessionKeys:null,contentSteering:null,startTimeOffset:null,variableList:null})}n.parsing.end=performance.now(),s.levelDetails=Oe,this.handlePlaylistLoaded(Oe,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 I=`A network ${s?"timeout":"error"+(m?" (status "+m.code+")":"")} occurred while loading ${t.type}`;t.type===h.LEVEL?I+=`: ${t.level} id: ${t.id}`:(t.type===h.AUDIO_TRACK||t.type===h.SUBTITLE_TRACK)&&(I+=` id: ${t.id} group-id: "${t.groupId}"`);const z=new Error(I);this.hls.logger.warn(`[playlist-loader]: ${I}`);let X=f.UNKNOWN,W=!1;const le=this.getInternalLoader(t);switch(t.type){case h.MANIFEST:X=s?f.MANIFEST_LOAD_TIMEOUT:f.MANIFEST_LOAD_ERROR,W=!0;break;case h.LEVEL:X=s?f.LEVEL_LOAD_TIMEOUT:f.LEVEL_LOAD_ERROR,W=!1;break;case h.AUDIO_TRACK:X=s?f.AUDIO_TRACK_LOAD_TIMEOUT:f.AUDIO_TRACK_LOAD_ERROR,W=!1;break;case h.SUBTITLE_TRACK:X=s?f.SUBTITLE_TRACK_LOAD_TIMEOUT:f.SUBTITLE_LOAD_ERROR,W=!1;break}le&&this.resetInternalLoader(t.type);const pe={type:c.NETWORK_ERROR,details:X,fatal:W,url:t.url,loader:le,context:t,error:z,networkDetails:n,stats:E};if(m){const Ee=(n==null?void 0:n.url)||t.url;pe.response=b({url:Ee,data:void 0},m)}this.hls.trigger(o.ERROR,pe)}handlePlaylistLoaded(t,n,s,m,E,I){const z=this.hls,{type:X,level:W,id:le,groupId:pe,deliveryDirectives:Ee}=m,Oe=ja(n,m),Ue=Gi(m),ut=typeof m.level=="number"&&Ue===u.MAIN?W:void 0;if(!t.fragments.length){const Nt=t.playlistParsingError=new Error("No Segments found in Playlist");z.trigger(o.ERROR,{type:c.NETWORK_ERROR,details:f.LEVEL_EMPTY_ERROR,fatal:!1,url:Oe,error:Nt,reason:Nt.message,response:n,context:m,level:ut,parent:Ue,networkDetails:E,stats:s});return}t.targetduration||(t.playlistParsingError=new Error("Missing Target Duration"));const lt=t.playlistParsingError;if(lt){if(this.hls.logger.warn(`${lt} ${t.url}`),!z.config.ignorePlaylistParsingErrors){z.trigger(o.ERROR,{type:c.NETWORK_ERROR,details:f.LEVEL_PARSING_ERROR,fatal:!1,url:Oe,error:lt,reason:lt.message,response:n,context:m,level:ut,parent:Ue,networkDetails:E,stats:s});return}t.playlistParsingError=null}switch(t.live&&I&&(I.getCacheAge&&(t.ageHeader=I.getCacheAge()||0),(!I.getCacheAge||isNaN(t.ageHeader))&&(t.ageHeader=0)),X){case h.MANIFEST:case h.LEVEL:z.trigger(o.LEVEL_LOADED,{details:t,levelInfo:m.levelOrTrack||z.levels[0],level:ut||0,id:le||0,stats:s,networkDetails:E,deliveryDirectives:Ee,withoutMultiVariant:X===h.MANIFEST});break;case h.AUDIO_TRACK:z.trigger(o.AUDIO_TRACK_LOADED,{details:t,track:m.levelOrTrack,id:le||0,groupId:pe||"",stats:s,networkDetails:E,deliveryDirectives:Ee});break;case h.SUBTITLE_TRACK:z.trigger(o.SUBTITLE_TRACK_LOADED,{details:t,track:m.levelOrTrack,id:le||0,groupId:pe||"",stats:s,networkDetails:E,deliveryDirectives:Ee});break}}}class Ma{static get version(){return Fa}static isMSESupported(){return en()}static isSupported(){return $r()}static getMediaSource(){return ae()}static get Events(){return o}static get MetadataSchema(){return _s}static get ErrorTypes(){return c}static get ErrorDetails(){return f}static get DefaultConfig(){return Ma.defaultConfig?Ma.defaultConfig:Wf}static set DefaultConfig(t){Ma.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 Ms,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=G(t.debug||!1,"Hls instance",t.assetPlayerId),s=this.config=ad(Ma.DefaultConfig,t,n);this.userConfig=t,s.progressive&&sd(s,n);const{abrController:m,bufferController:E,capLevelController:I,errorController:z,fpsController:X}=s,W=new z(this),le=this.abrController=new m(this),pe=new kr(this),Ee=s.interstitialsController,Oe=Ee?this.interstitialsController=new Ee(this,Ma):null,Ue=this.bufferController=new E(this,pe),ut=this.capLevelController=new I(this),lt=new X(this),Nt=new ms(this),pr=s.contentSteeringController,sr=pr?new pr(this):null,Fr=this.levelController=new ca(this,sr),Yr=new $a(this),vn=new Va(this.config),Wr=this.streamController=new Un(this,pe,vn),an=this.gapController=new ve(this,pe);ut.setStreamController(Wr),lt.setStreamController(Wr);const fn=[Nt,Fr,Wr];Oe&&fn.splice(1,0,Oe),sr&&fn.splice(1,0,sr),this.networkControllers=fn;const Gr=[le,Ue,an,ut,lt,Yr,pe];this.audioTrackController=this.createController(s.audioTrackController,fn);const Sn=s.audioStreamController;Sn&&fn.push(this.audioStreamController=new Sn(this,pe,vn)),this.subtitleTrackController=this.createController(s.subtitleTrackController,fn);const yi=s.subtitleStreamController;yi&&fn.push(this.subtititleStreamController=new yi(this,pe,vn)),this.createController(s.timelineController,Gr),vn.emeController=this.emeController=this.createController(s.emeController,Gr),this.cmcdController=this.createController(s.cmcdController,Gr),this.latencyController=this.createController(Qn,Gr),this.coreComponents=Gr,fn.push(W);const Ji=W.onErrorOut;typeof Ji=="function"&&this.on(o.ERROR,Ji,W),this.on(o.MANIFEST_LOADED,Nt.onManifestLoaded,Nt)}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=U.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=Ef()),t}get levels(){const t=this.levelController.levels;return t||[]}get latestLevelDetails(){return this.streamController.getLevelDetails()||null}get loadLevelObj(){return this.levelController.loadLevelObj}get currentLevel(){return this.streamController.currentLevel}set currentLevel(t){this.logger.log(`set currentLevel:${t}`),this.levelController.manualLevel=t,this.streamController.immediateLevelSwitch()}get nextLevel(){return this.streamController.nextLevel}set nextLevel(t){this.logger.log(`set nextLevel:${t}`),this.levelController.manualLevel=t,this.streamController.nextLevelSwitch()}get loadLevel(){return this.levelController.level}set loadLevel(t){this.logger.log(`set loadLevel:${t}`),this.levelController.manualLevel=t}get nextLoadLevel(){return this.levelController.nextLoadLevel}set nextLoadLevel(t){this.levelController.nextLoadLevel=t}get firstLevel(){return Math.max(this.levelController.firstLevel,this.minAutoLevel)}set firstLevel(t){this.logger.log(`set firstLevel:${t}`),this.levelController.firstLevel=t}get startLevel(){const t=this.levelController.startLevel;return t===-1&&this.abrController.forcedAutoLevel>-1?this.abrController.forcedAutoLevel:t}set startLevel(t){this.logger.log(`set startLevel:${t}`),t!==-1&&(t=Math.max(t,this.minAutoLevel)),this.levelController.startLevel=t}get capLevelToPlayerSize(){return this.config.capLevelToPlayerSize}set capLevelToPlayerSize(t){const n=!!t;n!==this.config.capLevelToPlayerSize&&(n?this.capLevelController.startCapping():(this.capLevelController.stopCapping(),this.autoLevelCapping=-1,this.streamController.nextLevelSwitch()),this.config.capLevelToPlayerSize=n)}get autoLevelCapping(){return this._autoLevelCapping}get bandwidthEstimate(){const{bwEstimator:t}=this.abrController;return t?t.getEstimate():NaN}set bandwidthEstimate(t){this.abrController.resetEstimator(t)}get abrEwmaDefaultEstimate(){const{bwEstimator:t}=this.abrController;return t?t.defaultEstimate:NaN}get ttfbEstimate(){const{bwEstimator:t}=this.abrController;return t?t.getEstimateTTFB():NaN}set autoLevelCapping(t){this._autoLevelCapping!==t&&(this.logger.log(`set autoLevelCapping:${t}`),this._autoLevelCapping=t,this.levelController.checkMaxAutoUpdated())}get maxHdcpLevel(){return this._maxHdcpLevel}set maxHdcpLevel(t){Cr(t)&&this._maxHdcpLevel!==t&&(this._maxHdcpLevel=t,this.levelController.checkMaxAutoUpdated())}get autoLevelEnabled(){return this.levelController.manualLevel===-1}get manualLevel(){return this.levelController.manualLevel}get minAutoLevel(){const{levels:t,config:{minAutoBitrate:n}}=this;if(!t)return 0;const s=t.length;for(let m=0;m<s;m++)if(t[m].maxBitrate>=n)return m;return 0}get maxAutoLevel(){const{levels:t,autoLevelCapping:n,maxHdcpLevel:s}=this;let m;if(n===-1&&t!=null&&t.length?m=t.length-1:m=n,s)for(let E=m;E--;){const I=t[E].attrs["HDCP-LEVEL"];if(I&&I<=s)return E}return m}get firstAutoLevel(){return this.abrController.firstAutoLevel}get nextAutoLevel(){return this.abrController.nextAutoLevel}set nextAutoLevel(t){this.abrController.nextAutoLevel=t}get playingDate(){return this.streamController.currentProgramDateTime}get mainForwardBufferInfo(){return this.streamController.getMainFwdBufferInfo()}get maxBufferLength(){return this.streamController.maxBufferLength}setAudioOption(t){var n;return((n=this.audioTrackController)==null?void 0:n.setAudioOption(t))||null}setSubtitleOption(t){var n;return((n=this.subtitleTrackController)==null?void 0:n.setSubtitleOption(t))||null}get allAudioTracks(){const t=this.audioTrackController;return t?t.allAudioTracks:[]}get audioTracks(){const t=this.audioTrackController;return t?t.audioTracks:[]}get audioTrack(){const t=this.audioTrackController;return t?t.audioTrack:-1}set audioTrack(t){const n=this.audioTrackController;n&&(n.audioTrack=t)}get allSubtitleTracks(){const t=this.subtitleTrackController;return t?t.allSubtitleTracks:[]}get subtitleTracks(){const t=this.subtitleTrackController;return t?t.subtitleTracks:[]}get subtitleTrack(){const t=this.subtitleTrackController;return t?t.subtitleTrack:-1}get media(){return this._media}set subtitleTrack(t){const n=this.subtitleTrackController;n&&(n.subtitleTrack=t)}get subtitleDisplay(){const t=this.subtitleTrackController;return t?t.subtitleDisplay:!1}set subtitleDisplay(t){const n=this.subtitleTrackController;n&&(n.subtitleDisplay=t)}get lowLatencyMode(){return this.config.lowLatencyMode}set lowLatencyMode(t){this.config.lowLatencyMode=t}get liveSyncPosition(){return this.latencyController.liveSyncPosition}get latency(){return this.latencyController.latency}get maxLatency(){return this.latencyController.maxLatency}get targetLatency(){return this.latencyController.targetLatency}set targetLatency(t){this.latencyController.targetLatency=t}get drift(){return this.latencyController.drift}get forceStartLoad(){return this.streamController.forceStartLoad}get pathways(){return this.levelController.pathways}get pathwayPriority(){return this.levelController.pathwayPriority}set pathwayPriority(t){this.levelController.pathwayPriority=t}get bufferedToEnd(){var t;return!!((t=this.bufferController)!=null&&t.bufferedToEnd)}get interstitialsManager(){var t;return((t=this.interstitialsController)==null?void 0:t.interstitialsManager)||null}getMediaDecodingInfo(t,n=this.allAudioTracks){const s=bi(n);return cn(t,s,navigator.mediaCapabilities)}}Ma.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(P){var M=P||{},B=M.upcomingOnly,N=B===void 0?!1:B;k(),b=!N}function A(){for(var P=arguments.length,M=new Array(P),B=0;B<P;B++)M[B]=arguments[B];var N=this,K=Date.now()-S;if(b)return;function G(){S=Date.now(),c.apply(N,M)}function H(){_=void 0}!x&&y&&!_&&G(),k(),y===void 0&&K>l?x?(S=Date.now(),u||(_=setTimeout(y?H:G,l))):G():u!==!0&&(_=setTimeout(y?H:G,y===void 0?l-K: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",1344:"p__Hami__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",4495:"p__Account__Resource__index",4496:"p__HttpStatus__HpcCourse",4498:"p__Shixuns__Edit__body__Level__Challenges__NewPractice__index",4504:"p__virtualSpaces__Lists__Survey__index",4514:"p__Account__Results__index",4520:"p__Account__Secure__index",4546:"p__Engineering__Lists__TrainingProgram__Add__index",4565:"p__HttpStatus__500",4572:"p__Classrooms__Lists__ExportList__index",4599:"p__Problemset__index",4601:"p__Paths__Detail__Statistics__index",4610:"p__User__Detail__LearningPath__index",4621:"p__Administration__Profession__index",4662:"p__Classrooms__Lists__GroupHomework__Review__index",4715:"p__virtualSpaces__Lists__Material__Detail__index",4736:"p__User__Detail__Projects__index",4741:"p__Problems__OjForm__NewEdit__index",4757:"p__virtualSpaces__Lists__Workplace__index",4766:"p__Administration__index",4770:"p__Classrooms__Lists__ProgramHomework__Detail__answer__index",4795:"p__Classrooms__Lists__Graduation__Tasks__Add__index",4800:"p__Engineering__Lists__GraduatedMatrix__index",4849:"p__User__Detail__ExperImentImg__index",4862:"p__Paperlibrary__index",4884:"p__Shixuns__Detail__Repository__Commit__index",4889:"p__Classrooms__Lists__Exercise__ImitateAnswer__index",4928:"p__Classrooms__Lists__LearningPath__index",4973:"p__Engineering__Evaluate__List__index",4994:"p__Problems__OjForm__index",5022:"p__Graduations__Lists__Settings__index",5043:"p__User__Detail__Topics__Poll__Edit__index",5048:"p__Classrooms__Lists__Graduation__Topics__index",5096:"p__Shixuns__Detail__AuditSituation__index",5111:"p__Terminal__index",5125:"p__Classrooms__Lists__Exercise__DetailedAnalysis__index",5148:"p__Classrooms__Lists__Polls__Answer__index",5176:"p__User__Detail__Videos__Protocol__index",5179:"p__Administration__Student__Edit__index",5186:"p__Classrooms__Overview__index",5191:"p__User__Detail__Certificate__index",5238:"p__virtualSpaces__Lists__Material__index",5297:"p__Classrooms__Lists__Exercise__Detail__components__DuplicateChecking__CheckDetail__index",5319:"p__Classrooms__Lists__ProgramHomework__Detail__answer__Detail__index",5335:"p__Engineering__Lists__CourseMatrix__index",5357:"p__Engineering__Lists__TrainingProgram__Edit__index",5359:"p__Messages__Detail__index",5382:"p__DataSet__Detail__index",5402:"p__User__Detail__Topics__Detail__index",5470:"p__Shixuns__Detail__Collaborators__index",5518:"p__Classrooms__Lists__Template__index",5549:"p__Shixuns__New__CreateImg__index",5572:"p__Paths__HigherVocationalEducation__index",5573:"p__Shixuns__Detail__Merge__index",5599:"p__User__Detail__Paths__index",5624:"p__Graduations__Lists__Index__index",5650:"p__Competitions__Update__index",5705:"p__virtualSpaces__Lists__Construction__index",5729:"p__Help__Index",5775:"p__Engineering__Lists__Document__index",5786:"layouts__LoginAndRegister__index",5798:"p__Classrooms__Lists__Video__Statistics__UserDetail__index",5816:"p__Paperlibrary__Random__Edit__index",5825:"p__Classrooms__Lists__Exercise__index",5888:"p__Classrooms__Lists__CommonHomework__Add__index",5891:"p__virtualSpaces__Lists__Resources__index",5895:"p__User__Detail__AccountInfo__Profile__Edit__index",5902:"p__Classrooms__Lists__Exercise__Sumup__index",5915:"p__knowledgegraph__Detail__Statistics__index",5972:"layouts__user__index",5992:"p__Classrooms__Lists__Exercise__ReviewGroup__index",6029:"p__Administration__Student__index",6034:"p__HttpStatus__UserAgents",6052:"p__Paths__Index__index",6063:"p__Graduations__Lists__Personmanage__index",6069:"p__virtualSpaces__Lists__Lesson__Detail__index",6127:"p__Classrooms__Lists__ProgramHomework__Ranking__index",6170:"p__HttpStatus__downloadStudent",6265:"p__virtualSpaces__Lists__Discussion__index",6270:"p__MyProblem__index",6277:"p__Shixuns__Edit__index",6328:"p__Shixuns__Edit__body__Warehouse__index",6366:"p__Innovation__PublicProject__index",6434:"p__User__Detail__Order__pages__records__index",6444:"p__Video__Detail__id",6452:"p__Innovation__PublicDataSet__index",6531:"p__HttpStatus__404",6541:"p__Shixuns__Detail__Dataset__index",6583:"p__User__Detail__Classrooms__index",6587:"p__User__Detail__Videos__Protocol__resource",6634:"p__Innovation__Tasks__index",6651:"p__Engineering__Evaluate__Detail__index",6685:"p__Classrooms__Index__index",6729:"p__Classrooms__Lists__GroupHomework__Edit__index",6741:"p__Engineering__Norm__List__index",6758:"p__Classrooms__Lists__Attachment__index",6784:"p__Innovation__Edit__index",6788:"p__Classrooms__Lists__ProgramHomework__index",6796:"p__virtualSpaces__Lists__Announcement__Detail__index",6805:"p__User__Detail__AccountInfo__RealNameCertification__index",6820:"p__User__Detail__Topics__Normal__index",6845:"p__Shixuns__Detail__Settings__index",6882:"p__Classrooms__New__StartClass__index",6883:"p__Competitions__Index__index",6904:"p__MoopCases__FormPanel__index",6913:"p__Question__AddOrEdit__index",6963:"p__Classrooms__Lists__Engineering__Detail__index",6982:"p__User__Detail__AccountInfo__Profile__index",7008:"p__Shixuns__New__index",7043:"p__User__Detail__Topics__Exercise__Edit__index",7045:"p__Classrooms__Lists__CommonHomework__SubmitWork__index",7046:"p__Shixuns__Detail__Repository__AddFile__index",7058:"p__virtualSpaces__Lists__Survey__Detail__index",7062:"layouts__SimpleLayouts",7178:"p__User__BindAccount__index",7182:"p__User__ResetPassword__index",7242:"p__Innovation__MyProject__index",7260:"p__Account__Certification__index",7333:"p__User__WechatLogin__index",7395:"p__Classrooms__Lists__Statistics__StudentDetail__index",7460:"p__Question__OjProblem__index",7477:"p__virtualSpaces__Lists__Announcement__index",7482:"p__Classrooms__Lists__Exercise__Notice__index",7527:"p__MyProblem__RecordDetail__index",7545:"p__Graduations__Lists__Archives__index",7560:"p__Administration__College__index",7589:"p__virtualSpaces__Lists__DigitalTopics__index",7614:"p__Shixuns__Edit__body__Level__Challenges__RankingSetting__index",7622:"p__Classrooms__Lists__Polls__Detail__index",7806:"p__Classrooms__Lists__Statistics__StatisticsQuality__index",7852:"p__Classrooms__Lists__ShixunHomeworks__index",7855:"p__User__Detail__ResourcesCenter__Detail__index",7857:"p__Shixuns__Edit__body__Level__Challenges__NewQuestion__index",7878:"p__Classrooms__Lists__LiveVideo__index",7883:"p__Classrooms__Lists__Exercise__WrongAnswer__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:"77b05949",67:"bb1d37d2",109:"f31fa3b2",195:"1947074a",264:"15abec88",265:"42ff7a03",292:"6d41cf22",310:"3baa3c1b",316:"1f60ada6",337:"35799946",342:"3454a425",354:"d4d139cf",479:"bbbecdff",485:"4f2fe9b0",508:"31fc7f6c",532:"e52bbb7d",533:"6acf4ec9",547:"e8b72cd0",556:"0bf50254",559:"133feaf4",570:"c33684df",576:"6384d70c",629:"44a1d9a5",643:"260f3bc5",671:"4a609b8d",672:"d4d23fc8",680:"facf4a8a",700:"ac08e4ef",737:"8ee24fb4",741:"ac5fd360",799:"2c1c14ee",869:"12ac8b14",895:"9226b825",921:"4e62e0cc",928:"e3aeb36d",981:"2191a42e",1006:"145daa24",1043:"5071ae62",1045:"19614059",1048:"542892b1",1070:"a02734fb",1144:"c90eccaf",1148:"3a0677a3",1154:"8cb80842",1211:"8f7b2cb1",1253:"816f8f83",1257:"ed38a265",1265:"86bf3d7a",1274:"5f6ea65a",1276:"88dabcba",1343:"7b7927aa",1344:"2ea86a19",1416:"fbe9b363",1423:"41512d57",1427:"5844fbb7",1450:"2bda2a06",1461:"4acfcd2a",1462:"fcf08abc",1470:"a932e843",1475:"a213cab7",1482:"5fbfa232",1512:"34f54884",1520:"53827d8c",1545:"4a837c8a",1555:"64c919dd",1578:"53a90f28",1581:"c055f88c",1582:"679edb53",1646:"e6e27b60",1657:"ccc23f77",1660:"f84f79b8",1674:"4300a145",1702:"7b45a019",1713:"84890043",1717:"21b2e261",1727:"412396fe",1783:"b289c875",1799:"5bcb69b9",1831:"146dd812",1836:"52c2ee13",1855:"94a447bd",1880:"62d7d522",1881:"b236f49a",1939:"10e034fa",1953:"76ac826e",1962:"13b9080f",2011:"59d51f98",2045:"ac0f8ed2",2076:"aa565607",2102:"669d1005",2141:"e8d91b8d",2216:"9c5d84ae",2240:"1f73e74c",2249:"f4830452",2254:"516f7b54",2300:"f77c7faa",2303:"83b305fd",2307:"2383d9eb",2338:"0c927fc9",2339:"1a764d99",2364:"f89faf70",2386:"192e235c",2396:"7ac26fa5",2404:"bbda3700",2412:"590a7d56",2425:"70737e39",2443:"beac6ce8",2476:"5a02c625",2494:"68080a87",2501:"eeb35268",2529:"44b4afe7",2538:"de4a3723",2539:"81a9c124",2548:"68aff200",2570:"516787ad",2594:"e87d3761",2603:"7c095397",2659:"4be0fdb0",2707:"8f7322f6",2806:"d8eab900",2819:"2aff48c9",2823:"577e5721",2826:"f0069339",2829:"fcf4cfad",2837:"54a82605",2865:"6fbc1322",2875:"f0ac6090",2884:"8b8c7773",2969:"ab3357d7",2983:"0062bd1a",3006:"da23520e",3133:"9bf3f89c",3141:"029ee6cd",3157:"75d5ded0",3183:"8c1a876c",3198:"8e655451",3212:"54e196ec",3220:"1ff6a993",3247:"95d6b94e",3260:"12c965eb",3276:"94de3143",3282:"0f97d050",3317:"881bb1f5",3332:"954c601d",3355:"e4e0a747",3356:"e42209eb",3391:"f6d53071",3433:"b42a0368",3442:"5c7583a3",3447:"78e993d8",3451:"034c5cef",3496:"c9cfb901",3509:"72acd816",3550:"3dc83156",3581:"49684ae8",3585:"227c148c",3665:"70e0c7a2",3668:"3cc2d69d",3697:"481a10d9",3747:"cc53c81d",3754:"2a754961",3777:"d5b0f2f1",3784:"0f7f8e6f",3805:"9dbcb95e",3862:"8be7610c",3873:"5e3444c9",3885:"f87f7f15",3910:"f05d04f2",3935:"23f5794f",3951:"c3820906",3987:"5cecd51b",4014:"27a8e97c",4017:"eb7a8c4f",4030:"8af3be95",4056:"32869e05",4058:"53d5c932",4078:"32c13081",4088:"236723f3",4093:"d8ecf663",4105:"af144ea5",4144:"88b98370",4164:"fe7a74fd",4216:"96957053",4217:"ba2a7962",4227:"b7b993a8",4259:"ad84a109",4264:"dc604639",4347:"ce21ef2e",4354:"140899b7",4360:"cf5efa52",4449:"6e833d43",4492:"7f24aa82",4495:"fe36c11e",4496:"14147e2a",4498:"eef66f86",4504:"778496dc",4514:"a8493370",4520:"8514ce4b",4546:"91b5ac1f",4553:"52b0f5f6",4565:"4a4bbd08",4572:"11a841b3",4599:"61def4cb",4601:"72effa04",4610:"60893b8c",4621:"aa90e21c",4628:"ece2c60c",4662:"8f38b4a9",4671:"d5009609",4685:"c33f1528",4715:"456659c1",4736:"b150de94",4741:"b1024cb8",4757:"d99979db",4766:"6aefd62d",4770:"46b5b65b",4790:"619413e4",4795:"68cb90e1",4797:"a24e92db",4800:"c6f8d0ec",4849:"1d7743dd",4850:"1edda4b7",4862:"009a8e82",4884:"197d1ec1",4889:"aedac9f0",4928:"5f713d6b",4973:"5028707d",4994:"0e5076dc",5022:"2b888e32",5028:"c7566c9a",5043:"c677c85e",5048:"9838652e",5060:"85dafcc6",5096:"29f3940d",5111:"7275f825",5125:"ea041e97",5148:"8cfcb426",5176:"d344e232",5179:"ba4164a0",5186:"ff9a06aa",5191:"ddc2d438",5238:"21f344e6",5290:"5dabcdc2",5297:"ff2a79c7",5319:"308008ee",5321:"1163c84e",5335:"266465da",5354:"7ae70604",5357:"554c8c43",5359:"ba9d59ac",5382:"9d28c789",5402:"08243abe",5416:"454536b7",5434:"38b302a6",5470:"05fbc8c5",5494:"d89549c4",5518:"adcd2669",5549:"134d7cc6",5572:"a58c5aaf",5573:"9fc1d744",5599:"969b5f9e",5624:"44f80ead",5631:"e00d3d36",5650:"c407cc48",5679:"4a090bef",5705:"af671053",5729:"64f03175",5764:"e0d7e586",5775:"9b9516eb",5786:"985dcf32",5798:"0da8aa17",5816:"9ad366a4",5825:"8966adb5",5876:"5eded409",5888:"1e19b71e",5891:"3e8603d4",5895:"9979986f",5902:"31a5e412",5915:"7683a718",5972:"389846b8",5992:"9599e41c",6029:"d7ec0ee2",6034:"4ec1de14",6045:"d268f87f",6047:"3ce45acd",6052:"94ec747f",6063:"396e14ab",6069:"da21d343",6126:"99519171",6127:"29fab549",6170:"2a7a348c",6200:"97a204c5",6265:"2ab492dd",6270:"77db1f37",6277:"6dc133d4",6316:"62c746ee",6328:"8e93fb40",6366:"83841eb7",6378:"7f3a946a",6411:"dd61567d",6434:"2a66058b",6444:"6a6067e9",6452:"29860504",6531:"9c174eba",6541:"ad70595e",6583:"fa1c5ade",6587:"2767b132",6634:"0737c16a",6651:"ce4fb278",6685:"4c6f7eb8",6729:"30c15020",6741:"4657404b",6758:"df4a81eb",6774:"59d4d618",6784:"66b4d539",6788:"0c512706",6796:"53774bef",6805:"c8bbe612",6820:"7b500952",6845:"4ab52f41",6882:"58e036a4",6883:"6cb80143",6904:"a710d75f",6913:"5e74d661",6963:"7fad4d96",6982:"ffa6dc39",7008:"994dac71",7043:"8218bf7b",7045:"f8510d4e",7046:"660d53a1",7058:"d950ed65",7062:"c191c81f",7084:"46ccce72",7121:"902ecbe9",7156:"e7466006",7178:"e8e98255",7182:"dd2dc9cf",7242:"7778e5e7",7260:"0ddf2b22",7331:"2e27a23b",7333:"33300fe2",7365:"1005464f",7395:"916963e7",7460:"b74fac2f",7477:"dc53b1c4",7482:"406d072d",7527:"da5932a8",7533:"fbf12be4",7545:"cbff207e",7556:"ae09a732",7560:"e4b22056",7589:"1681ceed",7591:"c8233ce9",7614:"d5a37884",7622:"1973fc68",7686:"4fcec9f9",7706:"c2a79e40",7806:"14156ddf",7852:"5bd3bfbb",7855:"56a46844",7857:"56a325f4",7878:"ffe79194",7883:"ca4c397e",7884:"bb306b18",7922:"85e73a01",7948:"be8daa9c",7964:"29aed9a1",7999:"8a41a45e",8014:"b785ea51",8062:"ea0e5083",8072:"8ac8b940",8077:"75930897",8085:"1f260111",8089:"d536b13a",8143:"1b7f0c6c",8155:"c47c3cf0",8161:"83c5fa9a",8237:"1cab47a4",8241:"70fda74e",8302:"cf14db41",8307:"89b34cc6",8340:"8679dde5",8350:"07df8a75",8365:"f6b83452",8398:"97d9e8f6",8431:"b09e3e8c",8435:"2f3b5544",8447:"e0529787",8517:"f27c6419",8561:"4339de84",8563:"81c5b03c",8634:"b91ab28e",8639:"374b258d",8665:"9a28866d",8688:"54b6b0be",8689:"42dffa9f",8723:"674e361a",8737:"ce7dad23",8776:"0ad26240",8782:"8fc73415",8787:"1e30c008",8797:"3dea5862",8823:"77f4d18f",8827:"9d641082",8842:"9f25a3e2",8866:"fe4f3a3e",8871:"690fa8cb",8882:"e2b94547",8885:"3791b69d",8898:"d002bcd8",8909:"880d45dd",8920:"7f82440c",8963:"790aecdd",8982:"0600f9b1",8999:"74575e3c",9076:"dc3da45e",9104:"bbcb2345",9133:"426c74f4",9205:"c0109c69",9215:"b6b8fcc3",9252:"0d791a59",9260:"cf5f8140",9332:"c7ad347c",9360:"3dfdf407",9366:"a2ba3392",9391:"b2c30714",9404:"9fcc3d3e",9408:"fd2d3bb5",9416:"619b4ff8",9487:"c3e9d6d1",9489:"8e824364",9507:"bc88d6e1",9519:"586122f3",9554:"ed358e7b",9559:"f794af19",9590:"89965d39",9647:"8fc3f74e",9649:"9a0c0646",9674:"8750b147",9677:"d08498c3",9695:"fd05e4e3",9715:"f23961bc",9716:"0bf9eb66",9785:"dcd257fd",9788:"0eebfa94",9890:"bde1ba2f",9891:"7b9b004e",9895:"b8e31ff2",9921:"1543a187",9922:"7c354a7d",9928:"5989f5e0",9944:"e244a999",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",4495:"p__Account__Resource__index",4496:"p__HttpStatus__HpcCourse",4498:"p__Shixuns__Edit__body__Level__Challenges__NewPractice__index",4504:"p__virtualSpaces__Lists__Survey__index",4514:"p__Account__Results__index",4520:"p__Account__Secure__index",4546:"p__Engineering__Lists__TrainingProgram__Add__index",4572:"p__Classrooms__Lists__ExportList__index",4599:"p__Problemset__index",4601:"p__Paths__Detail__Statistics__index",4610:"p__User__Detail__LearningPath__index",4621:"p__Administration__Profession__index",4662:"p__Classrooms__Lists__GroupHomework__Review__index",4715:"p__virtualSpaces__Lists__Material__Detail__index",4736:"p__User__Detail__Projects__index",4741:"p__Problems__OjForm__NewEdit__index",4757:"p__virtualSpaces__Lists__Workplace__index",4766:"p__Administration__index",4770:"p__Classrooms__Lists__ProgramHomework__Detail__answer__index",4795:"p__Classrooms__Lists__Graduation__Tasks__Add__index",4800:"p__Engineering__Lists__GraduatedMatrix__index",4849:"p__User__Detail__ExperImentImg__index",4862:"p__Paperlibrary__index",4884:"p__Shixuns__Detail__Repository__Commit__index",4889:"p__Classrooms__Lists__Exercise__ImitateAnswer__index",4928:"p__Classrooms__Lists__LearningPath__index",4973:"p__Engineering__Evaluate__List__index",4994:"p__Problems__OjForm__index",5022:"p__Graduations__Lists__Settings__index",5043:"p__User__Detail__Topics__Poll__Edit__index",5048:"p__Classrooms__Lists__Graduation__Topics__index",5096:"p__Shixuns__Detail__AuditSituation__index",5111:"p__Terminal__index",5125:"p__Classrooms__Lists__Exercise__DetailedAnalysis__index",5148:"p__Classrooms__Lists__Polls__Answer__index",5176:"p__User__Detail__Videos__Protocol__index",5179:"p__Administration__Student__Edit__index",5186:"p__Classrooms__Overview__index",5191:"p__User__Detail__Certificate__index",5238:"p__virtualSpaces__Lists__Material__index",5297:"p__Classrooms__Lists__Exercise__Detail__components__DuplicateChecking__CheckDetail__index",5319:"p__Classrooms__Lists__ProgramHomework__Detail__answer__Detail__index",5335:"p__Engineering__Lists__CourseMatrix__index",5357:"p__Engineering__Lists__TrainingProgram__Edit__index",5359:"p__Messages__Detail__index",5382:"p__DataSet__Detail__index",5402:"p__User__Detail__Topics__Detail__index",5470:"p__Shixuns__Detail__Collaborators__index",5518:"p__Classrooms__Lists__Template__index",5549:"p__Shixuns__New__CreateImg__index",5572:"p__Paths__HigherVocationalEducation__index",5573:"p__Shixuns__Detail__Merge__index",5599:"p__User__Detail__Paths__index",5624:"p__Graduations__Lists__Index__index",5650:"p__Competitions__Update__index",5705:"p__virtualSpaces__Lists__Construction__index",5729:"p__Help__Index",5775:"p__Engineering__Lists__Document__index",5786:"layouts__LoginAndRegister__index",5798:"p__Classrooms__Lists__Video__Statistics__UserDetail__index",5816:"p__Paperlibrary__Random__Edit__index",5825:"p__Classrooms__Lists__Exercise__index",5888:"p__Classrooms__Lists__CommonHomework__Add__index",5891:"p__virtualSpaces__Lists__Resources__index",5895:"p__User__Detail__AccountInfo__Profile__Edit__index",5915:"p__knowledgegraph__Detail__Statistics__index",5972:"layouts__user__index",5992:"p__Classrooms__Lists__Exercise__ReviewGroup__index",6029:"p__Administration__Student__index",6052:"p__Paths__Index__index",6063:"p__Graduations__Lists__Personmanage__index",6069:"p__virtualSpaces__Lists__Lesson__Detail__index",6127:"p__Classrooms__Lists__ProgramHomework__Ranking__index",6265:"p__virtualSpaces__Lists__Discussion__index",6270:"p__MyProblem__index",6277:"p__Shixuns__Edit__index",6328:"p__Shixuns__Edit__body__Warehouse__index",6366:"p__Innovation__PublicProject__index",6434:"p__User__Detail__Order__pages__records__index",6444:"p__Video__Detail__id",6452:"p__Innovation__PublicDataSet__index",6541:"p__Shixuns__Detail__Dataset__index",6583:"p__User__Detail__Classrooms__index",6587:"p__User__Detail__Videos__Protocol__resource",6634:"p__Innovation__Tasks__index",6651:"p__Engineering__Evaluate__Detail__index",6685:"p__Classrooms__Index__index",6729:"p__Classrooms__Lists__GroupHomework__Edit__index",6741:"p__Engineering__Norm__List__index",6758:"p__Classrooms__Lists__Attachment__index",6784:"p__Innovation__Edit__index",6788:"p__Classrooms__Lists__ProgramHomework__index",6796:"p__virtualSpaces__Lists__Announcement__Detail__index",6805:"p__User__Detail__AccountInfo__RealNameCertification__index",6820:"p__User__Detail__Topics__Normal__index",6845:"p__Shixuns__Detail__Settings__index",6882:"p__Classrooms__New__StartClass__index",6883:"p__Competitions__Index__index",6904:"p__MoopCases__FormPanel__index",6913:"p__Question__AddOrEdit__index",6963:"p__Classrooms__Lists__Engineering__Detail__index",6982:"p__User__Detail__AccountInfo__Profile__index",7008:"p__Shixuns__New__index",7043:"p__User__Detail__Topics__Exercise__Edit__index",7045:"p__Classrooms__Lists__CommonHomework__SubmitWork__index",7046:"p__Shixuns__Detail__Repository__AddFile__index",7058:"p__virtualSpaces__Lists__Survey__Detail__index",7062:"layouts__SimpleLayouts",7178:"p__User__BindAccount__index",7182:"p__User__ResetPassword__index",7242:"p__Innovation__MyProject__index",7260:"p__Account__Certification__index",7395:"p__Classrooms__Lists__Statistics__StudentDetail__index",7460:"p__Question__OjProblem__index",7477:"p__virtualSpaces__Lists__Announcement__index",7482:"p__Classrooms__Lists__Exercise__Notice__index",7527:"p__MyProblem__RecordDetail__index",7545:"p__Graduations__Lists__Archives__index",7560:"p__Administration__College__index",7589:"p__virtualSpaces__Lists__DigitalTopics__index",7614:"p__Shixuns__Edit__body__Level__Challenges__RankingSetting__index",7622:"p__Classrooms__Lists__Polls__Detail__index",7806:"p__Classrooms__Lists__Statistics__StatisticsQuality__index",7852:"p__Classrooms__Lists__ShixunHomeworks__index",7855:"p__User__Detail__ResourcesCenter__Detail__index",7857:"p__Shixuns__Edit__body__Level__Challenges__NewQuestion__index",7878:"p__Classrooms__Lists__LiveVideo__index",7883:"p__Classrooms__Lists__Exercise__WrongAnswer__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:"a0b7e5dd",264:"5fd9b3fc",265:"d92c6f86",292:"e8d22ed4",310:"06815302",337:"ee05039e",342:"e9b270bd",479:"bba9e475",485:"d63578fe",508:"82593858",532:"c829a014",533:"5fee20bc",547:"5581debc",556:"892f4292",559:"c49aa5ba",576:"e4f97d42",643:"22ded693",680:"e67e9e01",700:"e8adbc3d",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:"8eeeaccf",1578:"efcb0bdc",1581:"efffd7c0",1582:"8e45b6ff",1657:"cb817d3a",1674:"fdbc1e05",1702:"fca45632",1713:"5ed278a4",1717:"08a9e890",1727:"de83767d",1783:"47d0320e",1831:"8d05bf11",1836:"5f0d3f7f",1855:"b92cccb4",1880:"f67d7892",1939:"48e30d48",1953:"82125cfd",1962:"84e145fa",2045:"dcfad42d",2076:"09b07fa0",2102:"ec61f9f0",2141:"5eb2f330",2216:"e3ba73cf",2240:"e7cce869",2254:"ccda836f",2303:"66c77d21",2307:"b2c54321",2338:"e4bb0d0f",2339:"d90c9bd2",2396:"e70f11d6",2404:"08d36549",2412:"6b6ca0ef",2425:"47b23ee4",2443:"8fb7c26b",2476:"cf85a190",2501:"2441982c",2529:"9d9944da",2539:"43d36117",2548:"75182034",2570:"3dbc6300",2603:"0277270a",2659:"f6071a36",2707:"cabcb16e",2806:"2c7248b3",2819:"9455b08a",2823:"a13b21fb",2826:"0b6be43b",2829:"a5909474",2865:"6ef3cf6b",2875:"d6c8355d",2884:"904823c3",2983:"c8c482f7",3006:"7fce4e74",3141:"72791f8b",3157:"2038b5dc",3183:"b2253f40",3212:"ad1521c1",3220:"a5be3990",3247:"50105eb7",3260:"1847b79c",3276:"7bbb651d",3282:"2dff97e8",3317:"137440b7",3332:"5035a343",3355:"77baa15e",3356:"c6a4098f",3391:"f0e498fe",3433:"e6919a98",3442:"bdf7849c",3447:"1653d818",3451:"e3a31387",3496:"44bf4044",3509:"70043ca5",3581:"f545d6a6",3585:"5f288e7b",3665:"2d037be9",3668:"a1c98b04",3747:"e06419ae",3784:"c81d4a51",3873:"bbd9808d",3910:"658d457f",3935:"9a4efbda",3951:"9b11b034",4030:"7614a85c",4056:"10eacfff",4078:"aa54548e",4093:"c1f29d01",4105:"e39011c7",4144:"f10aa199",4164:"ad1c3799",4216:"0277270a",4217:"387bf824",4227:"79c3b323",4259:"ebd953ac",4264:"36917df0",4449:"e68d8d58",4492:"0677fa39",4495:"da48110d",4496:"77babddd",4498:"d086de31",4504:"466a61af",4514:"887bdbb6",4520:"e86d61a1",4546:"4101a1f2",4572:"70e5675d",4599:"14597c83",4601:"3c8ac557",4610:"687005a6",4621:"ead619d7",4662:"4e7b8c12",4715:"45efe14a",4736:"2968553b",4741:"afeb6eca",4757:"73b754d2",4766:"b5df5a8e",4770:"674b2d2a",4795:"939f9f81",4800:"f50302a4",4849:"2a1dc219",4862:"e5826b73",4884:"bd293d3b",4889:"db5cf2c9",4928:"a4b1a237",4973:"129c56e8",4994:"50caae56",5022:"81b1b86b",5028:"03cdfb68",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:"5de2fd4d",5650:"f8f63f4b",5705:"df6bf207",5729:"46f9b5d4",5775:"8945cad2",5786:"37a81eaa",5798:"ce1cf7da",5816:"d749b200",5825:"738960a3",5888:"193a7f8f",5891:"3b7a128f",5895:"9ddd624a",5915:"bc9c3e69",5972:"c7a91e8e",5992:"419f5d2f",6029:"2ded5a5a",6052:"59cb6398",6063:"a5f0409a",6069:"b4a6d2ab",6127:"f31505a8",6265:"9459eb93",6270:"cc24b0fc",6277:"12e50919",6328:"de2b9d62",6366:"079fc2d8",6434:"0112f8db",6444:"fd46d237",6452:"50a6d310",6541:"d1c967cd",6583:"7d33505d",6587:"9c49e7fa",6634:"df151169",6651:"b07fe216",6685:"f5f5b969",6729:"aea3b7f5",6741:"b838eb14",6758:"1c10a6da",6784:"1affe817",6788:"bde794d4",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:"8c29c203",7178:"6e47d75d",7182:"183c9793",7242:"4f353f61",7260:"2c380d56",7395:"5c10e8d8",7460:"dedd2038",7477:"832457fc",7482:"c37a3f01",7527:"6b64ff47",7545:"59925dd9",7560:"d82e43ca",7589:"2a3e68f3",7614:"de9ee12f",7622:"33da27d4",7806:"80b7b1d6",7852:"ee98efe7",7855:"3970a709",7857:"13a29416",7878:"8dfa25f5",7883:"44658a32",7884:"1ca6cde0",7922:"c1d9e2f3",7948:"bed733e5",8014:"9ef39203",8062:"8e384b9f",8072:"540f746b",8077:"0b2c51d9",8085:"c625f85e",8143:"b6ca83ad",8155:"d345abd7",8237:"44654223",8241:"02a0cb2f",8302:"b4649ac5",8307:"02e15761",8398:"cf8eb735",8431:"7f5bd176",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:"72de0470",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:"a204e6fe",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:"3ac78858",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,4495: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,5028:1,5043:1,5048:1,5096:1,5111:1,5125:1,5148:1,5176:1,5179:1,5186:1,5191:1,5238:1,5297:1,5319:1,5335:1,5357:1,5359:1,5382:1,5402:1,5470:1,5518:1,5549:1,5572:1,5573:1,5599:1,5624:1,5650:1,5705:1,5729:1,5775:1,5786:1,5798:1,5816:1,5825:1,5888:1,5891:1,5895:1,5915:1,5972:1,5992:1,6029:1,6052:1,6063:1,6069:1,6127:1,6265:1,6270:1,6277:1,6328:1,6366:1,6434:1,6444:1,6452:1,6541:1,6583:1,6587:1,6634:1,6651:1,6685:1,6729:1,6741:1,6758:1,6784:1,6788:1,6796:1,6805:1,6820:1,6845:1,6882:1,6883:1,6904:1,6913:1,6963:1,6982:1,7008:1,7043:1,7045:1,7046:1,7058:1,7062:1,7178:1,7182:1,7242:1,7260:1,7395:1,7460:1,7477:1,7482:1,7527:1,7545:1,7560:1,7589:1,7614:1,7622:1,7806:1,7852:1,7855:1,7857:1,7878:1,7883: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),P=__webpack_require__(26425),M=__webpack_require__(32125),B=__webpack_require__(16137),N=__webpack_require__(48435),K=__webpack_require__(11553),G=__webpack_require__(70365),H=__webpack_require__(33717),ae=__webpack_require__(17482),ne=__webpack_require__(23708),oe=__webpack_require__(65033),q=__webpack_require__(52732),J=__webpack_require__(99382),V=__webpack_require__(88437),se=__webpack_require__(68440),ee=__webpack_require__(13412),Q=__webpack_require__(11005),ue=__webpack_require__(70348),U=__webpack_require__(19801),$=__webpack_require__(91550),ie=__webpack_require__(85223),_e=__webpack_require__(7154),Pe=__webpack_require__(67788),De=__webpack_require__(96009),He=__webpack_require__(9402),Ne=__webpack_require__(62489),Ft=__webpack_require__(80881),gt=__webpack_require__(62837),Dt=__webpack_require__(4705),rr=__webpack_require__(13941),Xt=__webpack_require__(1148),fr=__webpack_require__(82445),Ge=__webpack_require__(27267),Tt=__webpack_require__(96353),zt=__webpack_require__(90308),nt=__webpack_require__(84818),bt=__webpack_require__(80585),dt=__webpack_require__(89170),et=__webpack_require__(71012),ze=__webpack_require__(84203),ge=__webpack_require__(22112),Se=__webpack_require__(81440),Le=__webpack_require__(25430),$e=__webpack_require__(70105),We=__webpack_require__(71390),rt=__webpack_require__(96844),ot=__webpack_require__(83578),Kt=__webpack_require__(69762),Wt=__webpack_require__(76880),Ce=__webpack_require__(65009),Je=__webpack_require__(28796),Yt=__webpack_require__(56450),kt=__webpack_require__(78342),Ht=__webpack_require__(13161),$t=__webpack_require__(54226),tr=__webpack_require__(70201),Gt=__webpack_require__(34941),Me=__webpack_require__(85671),ce=__webpack_require__(35152),he=__webpack_require__(85660),Pt=__webpack_require__(80031),Te=__webpack_require__(34434),ct=__webpack_require__(83579),Zt=__webpack_require__(74307),wt=__webpack_require__(97423),Ie=__webpack_require__(93321),xt=__webpack_require__(82277),be=__webpack_require__(61425),Ye=__webpack_require__(61873),mt=__webpack_require__(9307),Lt=__webpack_require__(8821),Fe=__webpack_require__(64385),Or=__webpack_require__(64099),St=__webpack_require__(62455),Vr=__webpack_require__(79965),tn=__webpack_require__(59118),wr=__webpack_require__(275),Nr=__webpack_require__(31919),gr=__webpack_require__(51284),Ur=__webpack_require__(10177),cn=__webpack_require__(85690),hn=__webpack_require__(92114),ur=__webpack_require__(1017),Rt=__webpack_require__(14480),_t=__webpack_require__(40516),vt=__webpack_require__(76345),jt=__webpack_require__(7282),Cr=__webpack_require__(58055),yr=__webpack_require__(93547),nn=__webpack_require__(31237),Kr=__webpack_require__(17954),Ln=__webpack_require__(58580),At=__webpack_require__(47146),cr=__webpack_require__(40416),Qr=__webpack_require__(7615),yn=__webpack_require__(72820),Gn=__webpack_require__(86070),fi=__webpack_require__(23569),Xn=__webpack_require__(55639),Ki=__webpack_require__(63046),hi=__webpack_require__(464),bi=__webpack_require__(51082),Di=__webpack_require__(83850),wi=__webpack_require__(41990),fa=__webpack_require__(15787),ri=__webpack_require__(55888),la=__webpack_require__(53827),Et=__webpack_require__(78143),it=__webpack_require__(66419),ni=__webpack_require__(75765),Oi=__webpack_require__(14645),ii=__webpack_require__(71122),sa=__webpack_require__(42084),Ti=__webpack_require__(25070),ci=__webpack_require__(77140),An=__webpack_require__(15954),er=__webpack_require__(4266),pt=__webpack_require__(49988),tt=__webpack_require__(38823),Ot=__webpack_require__(24627),ft=__webpack_require__(4045),lr=__webpack_require__(50747),dr=__webpack_require__(43595),Pr=__webpack_require__(92324),zr=__webpack_require__(23551),Ze=__webpack_require__(74521),qe=__webpack_require__(57891),xe=__webpack_require__(84138),at=__webpack_require__(51832),ar=__webpack_require__(37135),Er=__webpack_require__(6474),kr=__webpack_require__(40135),Ir=__webpack_require__(7982),jr=__webpack_require__(14893),wn=__webpack_require__(49233),Sr=__webpack_require__(92130),pn=__webpack_require__(42844),on=__webpack_require__(6536),dn=__webpack_require__(27228),In=__webpack_require__(62921),Ia=__webpack_require__(44001),Ni=__webpack_require__(92262),gi=__webpack_require__(54744),En=__webpack_require__(38214),pi=__webpack_require__(12756),Qi=__webpack_require__(93379),Ea=__webpack_require__(62007),Vs=__webpack_require__(90572),wa=__webpack_require__(37343),Fs=__webpack_require__(45945),Ks=__webpack_require__(75551),es=__webpack_require__(32493),Hs=__webpack_require__(20852),Jn=__webpack_require__(46302),ws=__webpack_require__(18827),fs=__webpack_require__(76718),Ys=__webpack_require__(79172),ea=__webpack_require__(32192),Bs=__webpack_require__(42828),Vo=__webpack_require__(5658),Ka=__webpack_require__(55629),va=__webpack_require__(62925),is=__webpack_require__(9595),mo=__webpack_require__(58127),Nn=__webpack_require__(70917),ts=__webpack_require__(53427),Ps=__webpack_require__(70878),Is=__webpack_require__(49257),Yi=__webpack_require__(72910),Xa=__webpack_require__(34932),Ha=__webpack_require__(81046),Rs=__webpack_require__(85744),vo=__webpack_require__(13494),zo=__webpack_require__(56338),Ko=__webpack_require__(66755),Yo=__webpack_require__(68709),rs=__webpack_require__(4939),vs=__webpack_require__(81927),Ao=__webpack_require__(60462),Zo=__webpack_require__(72571),Lo=__webpack_require__(71200),Xo=__webpack_require__(85767),xi=__webpack_require__(84432),_i=__webpack_require__(59022),as=__webpack_require__(19363),ds=__webpack_require__(51054),ss=__webpack_require__(60330),go=__webpack_require__(55234),Ho=__webpack_require__(88104),du=__webpack_require__(64336),Ls=__webpack_require__(63914),tu=__webpack_require__(35246),hu=__webpack_require__(83470),Iu=__webpack_require__(79641),Mo=__webpack_require__(72397),Ju=__webpack_require__(24860),Fo=__webpack_require__(19320),_o=__webpack_require__(56233),gu=__webpack_require__(59419),Bu=__webpack_require__(64344),Oo=__webpack_require__(5316),Bo=__webpack_require__(93744),Du=__webpack_require__(19299),Qo=__webpack_require__(15286),ru=__webpack_require__(91927),Ds=__webpack_require__(27730),Wo=__webpack_require__(58707),Nu=__webpack_require__(41356),qt=__webpack_require__(51606),_r=__webpack_require__(8966),or=__webpack_require__(38458),mr=__webpack_require__(71957),Tr=__webpack_require__(89466),gn=__webpack_require__(69653),Zn=__webpack_require__(96519),kn=__webpack_require__(95576),Hn=__webpack_require__(63079),li=__webpack_require__(8995),oi=__webpack_require__(23080),hr=__webpack_require__(74701),Br=__webpack_require__(91809),Rr=__webpack_require__(77517),Cn=__webpack_require__(30149),Tn=__webpack_require__(55410),ht=__webpack_require__(46161),$n=__webpack_require__(14800),Wn=__webpack_require__(91130),Li=__webpack_require__(2722),ta=__webpack_require__(55885),Jt=__webpack_require__(39034),oa=__webpack_require__(8604),qi=__webpack_require__(64963),Ta=__webpack_require__(25178),gs=__webpack_require__(1905),Ns=__webpack_require__(94306),$i=__webpack_require__(11762),Co=__webpack_require__(93164),oo=__webpack_require__(88900),Ms=__webpack_require__(54815),Fa=__webpack_require__(81138),Os=__webpack_require__(37252),yo=__webpack_require__(81673),zn=__webpack_require__(48966),Ws=__webpack_require__(13015),uo=__webpack_require__(78527),Xe=__webpack_require__(20511),Qe=__webpack_require__(78366),Mt=__webpack_require__(27427),Vt=__webpack_require__(43890),br=__webpack_require__(55844),Mr=__webpack_require__(71361),Zr=__webpack_require__(44550),bn=__webpack_require__(413),ln=__webpack_require__(77464),xn=__webpack_require__(77703),ai=__webpack_require__(93854),ui=__webpack_require__(962),Pi=__webpack_require__(44169),Mi=__webpack_require__(56272),ra=__webpack_require__(43466),Xi=__webpack_require__(48156),ki=__webpack_require__(93236),Da=__webpack_require__(42212),Ri=__webpack_require__(63923),Si=__webpack_require__(2278),Sa=__webpack_require__(36955),bo=__webpack_require__(77326),Gs=__webpack_require__(53571),na=__webpack_require__(28670),Qa=__webpack_require__(31050),pa=__webpack_require__(25321),Hi=__webpack_require__(96364),Ra=__webpack_require__(46304),qa=__webpack_require__(55163),hs=__webpack_require__(78722),xo=__webpack_require__(35977),ps=__webpack_require__(81848),ko=__webpack_require__(52867),os=__webpack_require__(72211),_s=__webpack_require__(84862),ks=__webpack_require__(92381),ga=__webpack_require__(19517),us=__webpack_require__(69667),$s=__webpack_require__(80820),La=__webpack_require__(87873),ye=__webpack_require__(54609),we=__webpack_require__(28566),Ar=__webpack_require__(51697),rn=__webpack_require__(61872),xr=__webpack_require__(76077),Jr=__webpack_require__(9196),Dn=__webpack_require__(5369),si=__webpack_require__(26259),Vi=__webpack_require__(47736),jn=__webpack_require__(28220),Mn=__webpack_require__(62060),Vn=__webpack_require__(49350),ba=__webpack_require__(20126),ia=__webpack_require__(18090),No=__webpack_require__(14309),To=__webpack_require__(17822),yu=__webpack_require__(83543),Ml=__webpack_require__(13853),ul=__webpack_require__(25188),bu=__webpack_require__(10215),_f=__webpack_require__(3432),el=__webpack_require__(90486),Ve=__webpack_require__(6736),Z=__webpack_require__(8774),Y=__webpack_require__(94065),te=__webpack_require__(93036),de=__webpack_require__(75708),Ae=__webpack_require__(84624),Ke=__webpack_require__(66233),Ct=__webpack_require__(43710),Ut=__webpack_require__(92762),nr=__webpack_require__(24467),It=__webpack_require__(68465),Hr=__webpack_require__(77004),un=__webpack_require__(83925),Pn=__webpack_require__(51117),Kn=__webpack_require__(87236),ei=__webpack_require__(83733),Fi=__webpack_require__(92044),Pa=__webpack_require__(29190),xa=__webpack_require__(10775),Aa=__webpack_require__(19593),ns=__webpack_require__(26502),ys=__webpack_require__(10174),js=__webpack_require__(96378),ls=__webpack_require__(58216),ha=__webpack_require__(41401),io=__webpack_require__(79908),Xs=__webpack_require__(82531),Ai=__webpack_require__(79890),Ro=__webpack_require__(88472),Po=__webpack_require__(38944),xu=__webpack_require__(78423),eo=__webpack_require__(65713),to=__webpack_require__(22968),ao=__webpack_require__(17564),Fl=__webpack_require__(1220),gl=__webpack_require__(44886),tl=__webpack_require__(57019),Eu=__webpack_require__(35295),lo=__webpack_require__(80286),ll=__webpack_require__(38487),Zu=__webpack_require__(29916),$o=__webpack_require__(25541),wl=__webpack_require__(45612),Bl=__webpack_require__(34926),nu=__webpack_require__(98080),Nl=__webpack_require__(68255),ro=__webpack_require__(96351),iu=__webpack_require__(16450),cl=__webpack_require__(60244),oc=__webpack_require__(86921),Hu=__webpack_require__(82928),Sc=__webpack_require__(42947),uc=__webpack_require__(71568),di=__webpack_require__(94194),Ac=__webpack_require__(30556),Io=__webpack_require__(32100),lc=__webpack_require__(93102),wu=__webpack_require__(1821),Sl=__webpack_require__(82074),Eo=__webpack_require__(13578),mf=__webpack_require__(59348),zc=__webpack_require__(62882),Us=__webpack_require__(37457),vf=__webpack_require__(70654),gf=__webpack_require__(90252),Zc=__webpack_require__(29482),au=__webpack_require__(51630),Cc=__webpack_require__(61933),Al=__webpack_require__(619),$u=__webpack_require__(99675),$l=__webpack_require__(52548),co=__webpack_require__(53637),qo=__webpack_require__(57482),su=__webpack_require__(59725),Tc=__webpack_require__(17610),jl=__webpack_require__(56966),Su=__webpack_require__(11507),Hc=__webpack_require__(16315),Pc=__webpack_require__(60239),Ou=__webpack_require__(49381),Ul=__webpack_require__(17230),Wu=__webpack_require__(62720),Ic=__webpack_require__(57151),Cl=__webpack_require__(48732),Ya=__webpack_require__(18481),If=__webpack_require__(55055),Wc=__webpack_require__(7195),Gu=__webpack_require__(89179),Gc=__webpack_require__(90965),Vc=__webpack_require__(67725),zl=__webpack_require__(59884),Au=__webpack_require__(89202),yf=__webpack_require__(97815),Dc=__webpack_require__(11593),Zl=__webpack_require__(7597),Vu=__webpack_require__(55182),fo=__webpack_require__(34366),jo=__webpack_require__(85425),ou=__webpack_require__(64522),Oc=__webpack_require__(41599),fl=__webpack_require__(86465),Kc=__webpack_require__(78437),bf=__webpack_require__(73624),cc=__webpack_require__(62059),Do=__webpack_require__(10305),Yc=__webpack_require__(41208),Xc=__webpack_require__(25204),rl=__webpack_require__(40061),ju=__webpack_require__(47803),ho=__webpack_require__(7893),Hl=__webpack_require__(4890),Df=__webpack_require__(5340),kc=__webpack_require__(61650),Qc=__webpack_require__(58246),dl=__webpack_require__(65873),Jo=__webpack_require__(63579),Wl=__webpack_require__(87296),je=__webpack_require__(59301),Ku=__webpack_require__(4676),pu=__webpack_require__(35338),fc=__webpack_require__(9139);function uu(Rn){var ti=Rn.id,Wi=Rn.basename,Ba=Rn.cb,aa=new URLSearchParams({route:ti,url:window.location.href}).toString(),Ca="".concat(Yu(window.umiServerLoaderPath||Wi),"__serverLoader?").concat(aa);fetch(Ca,{credentials:"include"}).then(function(Oa){return Oa.json()}).then(Ba).catch(console.error)}function Yu(){var Rn=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return Rn.endsWith("/")?Rn:"".concat(Rn,"/")}var Rc=__webpack_require__(38127),dc=__webpack_require__(38329),Tl=__webpack_require__(8616),hl=["content"],nl=["content"],qc=/^(http:|https:)?\/\//;function hc(Rn){return qc.test(Rn)||Rn.startsWith("/")&&!Rn.startsWith("/*")||Rn.startsWith("./")||Rn.startsWith("../")}var ku=function(){return je.createElement("noscript",{dangerouslySetInnerHTML:{__html:"<b>Enable JavaScript to run this app.</b>"}})},yl=function(ti){var Wi,Ba=ti.loaderData,aa=ti.htmlPageOpts,Ca=ti.manifest,Oa=(Ca==null||(Wi=Ca.assets)===null||Wi===void 0?void 0:Wi["umi.css"])||"";return je.createElement("script",{suppressHydrationWarning:!0,dangerouslySetInnerHTML:{__html:"window.__UMI_LOADER_DATA__ = ".concat(JSON.stringify(Ba||{}),"; window.__UMI_METADATA_LOADER_DATA__ = ").concat(JSON.stringify(aa||{}),"; window.__UMI_BUILD_ClIENT_CSS__ = '").concat(Oa,"'")}})};function Xu(Rn){var ti=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(typeof Rn=="string")return hc(Rn)?(0,Jo.Z)({src:Rn},ti):{content:Rn};if((0,Tl.Z)(Rn)==="object")return(0,Jo.Z)((0,Jo.Z)({},Rn),ti);throw new Error("Invalid script type: ".concat((0,Tl.Z)(Rn)))}function Of(Rn){return hc(Rn)?{type:"link",href:Rn}:{type:"style",content:Rn}}var xf=function(ti){var Wi,Ba,aa,Ca,Oa,As,ua=ti.htmlPageOpts;return je.createElement(je.Fragment,null,(ua==null?void 0:ua.title)&&je.createElement("title",null,ua.title),ua==null||(Wi=ua.favicons)===null||Wi===void 0?void 0:Wi.map(function(Cs,pl){return je.createElement("link",{key:pl,rel:"shortcut icon",href:Cs})}),(ua==null?void 0:ua.description)&&je.createElement("meta",{name:"description",content:ua.description}),(ua==null||(Ba=ua.keywords)===null||Ba===void 0?void 0:Ba.length)&&je.createElement("meta",{name:"keywords",content:ua.keywords.join(",")}),ua==null||(aa=ua.metas)===null||aa===void 0?void 0:aa.map(function(Cs){return je.createElement("meta",{key:Cs.name,name:Cs.name,content:Cs.content})}),ua==null||(Ca=ua.links)===null||Ca===void 0?void 0:Ca.map(function(Cs,pl){return je.createElement("link",(0,dc.Z)({key:pl},Cs))}),ua==null||(Oa=ua.styles)===null||Oa===void 0?void 0:Oa.map(function(Cs,pl){var _l=Of(Cs),il=_l.type,ml=_l.href,El=_l.content;if(il==="link")return je.createElement("link",{key:pl,rel:"stylesheet",href:ml});if(il==="style")return je.createElement("style",{key:pl},El)}),ua==null||(As=ua.headScripts)===null||As===void 0?void 0:As.map(function(Cs,pl){var _l=Xu(Cs),il=_l.content,ml=(0,Rc.Z)(_l,hl);return je.createElement("script",(0,dc.Z)({dangerouslySetInnerHTML:{__html:il},key:pl},ml))}))};function lu(Rn){var ti,Wi=Rn.children,Ba=Rn.loaderData,aa=Rn.manifest,Ca=Rn.htmlPageOpts,Oa=Rn.__INTERNAL_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,As=Rn.mountElementId;if(Oa!=null&&Oa.pureHtml)return je.createElement("html",null,je.createElement("head",null),je.createElement("body",null,je.createElement(ku,null),je.createElement("div",{id:As},Wi),je.createElement(yl,{manifest:aa,loaderData:Ba,htmlPageOpts:Ca})));if(Oa!=null&&Oa.pureApp)return je.createElement(je.Fragment,null,Wi);var ua=typeof window=="undefined"?aa==null?void 0:aa.assets["umi.css"]:window.__UMI_BUILD_ClIENT_CSS__;return je.createElement("html",{suppressHydrationWarning:!0,lang:(Ca==null?void 0:Ca.lang)||"en"},je.createElement("head",null,je.createElement("meta",{charSet:"utf-8"}),je.createElement("meta",{name:"viewport",content:"width=device-width, initial-scale=1"}),ua&&je.createElement("link",{suppressHydrationWarning:!0,rel:"stylesheet",href:ua}),je.createElement(xf,{htmlPageOpts:Ca})),je.createElement("body",null,je.createElement(ku,null),je.createElement("div",{id:As},Wi),je.createElement(yl,{manifest:aa,loaderData:Ba,htmlPageOpts:Ca}),Ca==null||(ti=Ca.scripts)===null||ti===void 0?void 0:ti.map(function(Cs,pl){var _l=Xu(Cs),il=_l.content,ml=(0,Rc.Z)(_l,nl);return je.createElement("script",(0,dc.Z)({dangerouslySetInnerHTML:{__html:il},key:pl},ml))})))}var Pl=je.createContext(void 0);function Jc(){return je.useContext(Pl)}var Gl=["redirect"];function Vl(Rn){var ti=Rn.routesById,Wi=Rn.parentId,Ba=Rn.routeComponents,aa=Rn.useStream,Ca=aa===void 0?!0:aa;return Object.keys(ti).filter(function(Oa){return ti[Oa].parentId===Wi}).map(function(Oa){var As=cu((0,Jo.Z)((0,Jo.Z)({route:ti[Oa],routeComponent:Ba[Oa],loadingComponent:Rn.loadingComponent,reactRouter5Compat:Rn.reactRouter5Compat},Rn.reactRouter5Compat&&{hasChildren:Object.keys(ti).filter(function(Cs){return ti[Cs].parentId===Oa}).length>0}),{},{useStream:Ca})),ua=Vl({routesById:ti,routeComponents:Ba,parentId:As.id,loadingComponent:Rn.loadingComponent,reactRouter5Compat:Rn.reactRouter5Compat,useStream:Ca});return ua.length>0&&(As.children=ua,As.routes=ua),As})}function eu(Rn){var ti=(0,pu.UO)(),Wi=(0,pu.Gn)(Rn.to,ti),Ba=(0,fc.T$)(),aa=(0,pu.TH)();if(Ba!=null&&Ba.keepQuery){var Ca=aa.search+aa.hash;Wi+=Ca}var Oa=(0,Jo.Z)((0,Jo.Z)({},Rn),{},{to:Wi});return je.createElement(pu.Fg,(0,dc.Z)({replace:!0},Oa))}function cu(Rn){var ti=Rn.route,Wi=Rn.useStream,Ba=Wi===void 0?!0:Wi,aa=ti.redirect,Ca=(0,Rc.Z)(ti,Gl),Oa=Rn.reactRouter5Compat?_u:pc;return(0,Jo.Z)({element:aa?je.createElement(eu,{to:aa}):je.createElement(Pl.Provider,{value:{route:Rn.route}},je.createElement(Oa,{loader:je.memo(Rn.routeComponent),loadingComponent:Rn.loadingComponent||Kl,hasChildren:Rn.hasChildren,useStream:Ba}))},Ca)}function Kl(){return je.createElement("div",null)}function _u(Rn){var ti=Jc(),Wi=ti.route,Ba=(0,fc.Ov)(),aa=Ba.history,Ca=Ba.clientRoutes,Oa=(0,pu.UO)(),As={params:Oa,isExact:!0,path:Wi.path,url:aa.location.pathname},ua=Rn.loader,Cs={location:aa.location,match:As,history:aa,params:Oa,route:Wi,routes:Ca};return Rn.useStream?je.createElement(je.Suspense,{fallback:je.createElement(Rn.loadingComponent,null)},je.createElement(ua,Cs,Rn.hasChildren&&je.createElement(pu.j3,null))):je.createElement(ua,Cs,Rn.hasChildren&&je.createElement(pu.j3,null))}function pc(Rn){var ti=Rn.loader;return Rn.useStream?je.createElement(je.Suspense,{fallback:je.createElement(Rn.loadingComponent,null)},je.createElement(ti,null)):je.createElement(ti,null)}var Il=null;function ef(){return Il}function bl(Rn){var ti=Rn.history,Wi=je.useState({action:ti.action,location:ti.location}),Ba=(0,Wl.Z)(Wi,2),aa=Ba[0],Ca=Ba[1];return(0,je.useLayoutEffect)(function(){return ti.listen(Ca)},[ti]),(0,je.useLayoutEffect)(function(){function Oa(As){Rn.pluginManager.applyPlugins({key:"onRouteChange",type:"event",args:{routes:Rn.routes,clientRoutes:Rn.clientRoutes,location:As.location,action:As.action,basename:Rn.basename,isFirst:!!As.isFirst}})}return Oa({location:aa.location,action:aa.action,isFirst:!0}),ti.listen(Oa)},[ti,Rn.routes,Rn.clientRoutes]),je.createElement(pu.F0,{navigator:ti,location:aa.location,basename:Rn.basename},Rn.children)}function Uu(){var Rn=(0,fc.Ov)(),ti=Rn.clientRoutes;return(0,pu.V$)(ti)}var _c=["innerProvider","i18nProvider","accessProvider","dataflowProvider","outerProvider","rootContainer"],mc=function(ti,Wi){var Ba=ti.basename||"/",aa=Vl({routesById:ti.routes,routeComponents:ti.routeComponents,loadingComponent:ti.loadingComponent,reactRouter5Compat:ti.reactRouter5Compat,useStream:ti.useStream});ti.pluginManager.applyPlugins({key:"patchClientRoutes",type:"event",args:{routes:aa}});for(var Ca=je.createElement(bl,{basename:Ba,pluginManager:ti.pluginManager,routes:ti.routes,clientRoutes:aa,history:ti.history},Wi),Oa=0,As=_c;Oa<As.length;Oa++){var ua=As[Oa];Ca=ti.pluginManager.applyPlugins({type:"modify",key:ua,initialValue:Ca,args:{routes:ti.routes,history:ti.history,plugin:ti.pluginManager}})}var Cs=function(){var _l=(0,je.useState)({}),il=(0,Wl.Z)(_l,2),ml=il[0],El=il[1],Kf=(0,je.useState)(window.__UMI_LOADER_DATA__||{}),kf=(0,Wl.Z)(Kf,2),tc=kf[0],wf=kf[1],Nc=(0,je.useCallback)(function(of,Rf){var al,Hf=(((al=(0,pu.fp)(aa,of,Ba))===null||al===void 0?void 0:al.map(function(qu){return qu.route.id}))||[]).filter(Boolean);Hf.forEach(function(qu){var uf,Lf;if(window.__umi_route_prefetch__){var Go,Sf=(Go=ti.routeComponents[qu])===null||Go===void 0||(Go=Go._payload)===null||Go===void 0?void 0:Go._result;typeof Sf=="function"&&Sf()}var Af=(uf=ti.routes[qu])===null||uf===void 0?void 0:uf.clientLoader,vl=!!Af,$c=(Lf=ti.routes[qu])===null||Lf===void 0?void 0:Lf.hasServerLoader;!Rf&&$c&&!vl&&!window.__UMI_LOADER_DATA__&&uu({id:qu,basename:Ba,cb:function(cf){je.startTransition(function(){wf(function(Cf){return(0,Jo.Z)((0,Jo.Z)({},Cf),{},(0,dl.Z)({},qu,cf))})})}});var fu=!!ml[qu],Mf=vl&&Af.hydrate||!$c,Ff=$c&&!window.__UMI_LOADER_DATA__;vl&&!fu&&(Mf||Ff)&&Af({serverLoader:function(){return uu({id:qu,basename:Ba,cb:function(Cf){je.startTransition(function(){wf(function(Tf){return(0,Jo.Z)((0,Jo.Z)({},Tf),{},(0,dl.Z)({},qu,Cf))})})}})}}).then(function(lf){El(function(cf){return(0,Jo.Z)((0,Jo.Z)({},cf),{},(0,dl.Z)({},qu,lf))})})})},[ml]);return(0,je.useEffect)(function(){return Nc(window.location.pathname,!0),ti.history.listen(function(of){Nc(of.location.pathname)})},[]),(0,je.useLayoutEffect)(function(){typeof ti.callback=="function"&&ti.callback()},[]),je.createElement(fc.Il.Provider,{value:{routes:ti.routes,routeComponents:ti.routeComponents,clientRoutes:aa,pluginManager:ti.pluginManager,rootElement:ti.rootElement,basename:Ba,clientLoaderData:ml,serverLoaderData:tc,preloadRoute:Nc,history:ti.history}},Ca)};return Cs};function Yl(Rn){var ti=Rn.rootElement||document.getElementById("root"),Wi=mc(Rn,je.createElement(Uu,null));if(Rn.components)return Wi;if(Rn.hydrate){var Ba=window.__UMI_LOADER_DATA__||{},aa=window.__UMI_METADATA_LOADER_DATA__||{},Ca={metadata:aa,loaderData:Ba,mountElementId:Rn.mountElementId},Oa=Rn.__INTERNAL_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.pureApp||Rn.__INTERNAL_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.pureHtml;Ku.hydrateRoot(Oa?ti:document,Oa?je.createElement(Wi,null):je.createElement(lu,Ca,je.createElement(Wi,null)));return}if(Ku.createRoot){Il=Ku.createRoot(ti),Il.render(je.createElement(Wi,null));return}Ku.render(je.createElement(Wi,null),ti)}var Lc=(Rn,ti,Wi)=>new Promise((Ba,aa)=>{var Ca=ua=>{try{As(Wi.next(ua))}catch(Cs){aa(Cs)}},Oa=ua=>{try{As(Wi.throw(ua))}catch(Cs){aa(Cs)}},As=ua=>ua.done?Ba(ua.value):Promise.resolve(ua.value).then(Ca,Oa);As((Wi=Wi.apply(Rn,ti)).next())});function Ef(){return Lc(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/exercise/:categoryId/wrongAnswer/:login",parentId:"19",id:"46"},47:{path:"/classrooms/:coursesId/exercisenotice/:categoryId/users/:login",parentId:"19",id:"47"},48:{path:"/classrooms/:coursesId/exercise/:categoryId/random/edit",parentId:"19",id:"48"},49:{path:"/classrooms/:coursesId/exercise/:categoryId/random/preview",parentId:"19",id:"49"},50:{path:"/classrooms/:coursesId/exercise/add",parentId:"19",id:"50"},51:{path:"/classrooms/:coursesId/exercise/add/:exerciseId",parentId:"19",id:"51"},52:{path:"/classrooms/:coursesId/exercise/:exerciseId/reviews/group",parentId:"19",id:"52"},53:{path:"/classrooms/:coursesId/exercise/:exerciseId/review/:userId",parentId:"19",id:"53"},54:{path:"/classrooms/:coursesId/exercise/:exerciseId/centralizeReview/:userId",parentId:"19",id:"54"},55:{path:"/classrooms/:coursesId/exercise/:exerciseId/export_blank",parentId:"19",id:"55"},56:{path:"/classrooms/:coursesId/exercise/:exerciseId/sumup",parentId:"19",id:"56"},57:{path:"/classrooms/:coursesId/exercise/:exerciseId/sumup/edit",parentId:"19",id:"57"},58:{path:"/classrooms/:coursesId/exercise/:exerciseId/analysis/:studentId",parentId:"19",id:"58"},59:{path:"/classrooms/:coursesId/shixun_homework/:exerciseId/analysis/:studentId",parentId:"19",id:"59"},60:{path:"/classrooms/:coursesId/exercise/:exerciseId/analysis/:studentId/code",parentId:"19",id:"60"},61:{path:"/classrooms/:coursesId/shixun_homework/:exerciseId/analysis/:studentId/code",parentId:"19",id:"61"},62:{path:"/classrooms/:coursesId/graduation_topics/:categoryId/detail",parentId:"19",id:"62"},63:{path:"/classrooms/:coursesId/graduation_topics/:categoryId/add",parentId:"19",id:"63"},64:{path:"/classrooms/:coursesId/graduation_topics/:categoryId/edit",parentId:"19",id:"64"},65:{path:"/classrooms/:coursesId/graduation_tasks/:categoryId/add",parentId:"19",id:"65"},66:{path:"/classrooms/:coursesId/graduation_tasks/:categoryId/edit",parentId:"19",id:"66"},67:{path:"/classrooms/:coursesId/graduation_tasks/:categoryId/detail",parentId:"19",id:"67"},68:{path:"/classrooms/:coursesId/common_homework/:categoryId/add",parentId:"19",id:"68"},69:{path:"/classrooms/:coursesId/common_homework/:categoryId/edit",parentId:"19",id:"69"},70:{path:"/classrooms/:coursesId/common_homework/:commonHomeworkId/post",parentId:"19",id:"70"},71:{path:"/classrooms/:coursesId/common_homework/:commonHomeworkId/:homeworkId/edit",parentId:"19",id:"71"},72:{path:"/classrooms/:coursesId/group_homework/:categoryId/add",parentId:"19",id:"72"},73:{path:"/classrooms/:coursesId/group_homework/:categoryId/edit",parentId:"19",id:"73"},74:{path:"/classrooms/:coursesId/poll/:categoryId/add",parentId:"19",id:"74"},75:{path:"/classrooms/:coursesId/poll/:categoryId/edit",parentId:"19",id:"75"},76:{path:"/classrooms/:coursesId/poll/:categoryId/detail",parentId:"19",id:"76"},77:{path:"/classrooms/:coursesId/poll/:categoryId/users/:login",parentId:"19",id:"77"},78:{path:"/classrooms/:coursesId/poll/:categoryId/questionnaireInfo/:login",parentId:"19",id:"78"},79:{path:"/classrooms/:coursesId/board/:categoryId/Add",parentId:"19",id:"79"},80:{path:"/classrooms/:coursesId/board/:categoryId/Edit/:boardId",parentId:"19",id:"80"},81:{path:"/classrooms/:coursesId/board/:categoryId/Detail/:boardId",parentId:"19",id:"81"},82:{path:"/classrooms/:courseId/template/:templateId",parentId:"19",id:"82"},83:{path:"/classrooms/:courseId/common_homework/:homeworkId/lab-report/:reportId",parentId:"19",id:"83"},84:{path:"/classrooms/guidance",parentId:"19",id:"84"},85:{path:"/classrooms/:courseId/common_homework/:homeworkId/lab-report-view/:workId",parentId:"19",id:"85"},86:{path:"/classrooms/:coursesId/exercise/:categoryId/users/:login/check",parentId:"19",id:"86"},87:{path:"/classrooms/:coursesId/Studentdetail/:login",parentId:"19",id:"87"},88:{path:"/classrooms/:coursesId/StudentSituation/:categoryId/:login",parentId:"19",id:"88"},89:{path:"/classrooms/:coursesId/engineering/datail",parentId:"19",id:"89"},90:{path:"/classrooms/:coursesId/program_homework/:categoryId/add",parentId:"19",id:"90"},91:{path:"/classrooms/:coursesId/program_homework/:categoryId/edit",parentId:"19",id:"91"},92:{path:"/classrooms/:coursesId/program_homework/ranking",parentId:"19",id:"92"},93:{path:"/classrooms/:coursesId/program_homework/:categoryId/detail",parentId:"19",id:"93"},94:{path:"/classrooms/:coursesId/program_homework/:categoryId/:homeworkId/ranking",parentId:"19",id:"94"},95:{path:"/classrooms/:coursesId/program_homework/:categoryId/:homeworkId/:user_id/comment",parentId:"19",id:"95"},96:{path:"/classrooms/:coursesId/program_homework/:categoryId/answer",parentId:"19",id:"96"},97:{path:"/classrooms/:coursesId/program_homework/:categoryId/answer/add",parentId:"19",id:"97"},98:{path:"/classrooms/:coursesId/program_homework/:categoryId/answer/:answerid/edit",parentId:"19",id:"98"},99:{path:"/classrooms/:coursesId/program_homework/:categoryId/answer/:answerid/detail",parentId:"19",id:"99"},100:{path:"/classrooms/:videoId/video_info",parentId:"19",id:"100"},101:{path:"/classrooms/",parentId:"19",id:"101"},102:{path:"/classrooms/:coursesId/shixun_homework/:categoryId",parentId:"101",id:"102"},103:{path:"/classrooms/:coursesId/shixun_homework",parentId:"101",id:"103"},104:{path:"/classrooms/:coursesId/graduation_topics/:categoryId",parentId:"101",id:"104"},105:{path:"/classrooms/:coursesId/graduation_tasks/:categoryId",parentId:"101",id:"105"},106:{path:"/classrooms/:coursesId/graduation_tasks/:categoryId",parentId:"101",id:"106"},107:{path:"/classrooms/:coursesId/exercise/:categoryId",parentId:"101",id:"107"},108:{path:"/classrooms/:coursesId/exercise",parentId:"101",id:"108"},109:{path:"/classrooms/:coursesId/poll/:categoryId",parentId:"101",id:"109"},110:{path:"/classrooms/:coursesId/poll",parentId:"101",id:"110"},111:{path:"/classrooms/:coursesId/common_homework/:categoryId",parentId:"101",id:"111"},112:{path:"/classrooms/:coursesId/common_homework",parentId:"101",id:"112"},113:{path:"/classrooms/:coursesId/group_homework/:categoryId",parentId:"101",id:"113"},114:{path:"/classrooms/:coursesId/group_homework",parentId:"101",id:"114"},115:{path:"/classrooms/:coursesId/teachers",parentId:"101",id:"115"},116:{path:"/classrooms/:coursesId/students",parentId:"101",id:"116"},117:{path:"/classrooms/:coursesId/assistant",parentId:"101",id:"117"},118:{path:"/classrooms/:coursesId/program_homework",parentId:"101",id:"118"},119:{path:"/classrooms/:coursesId/program_homework/:categoryId",parentId:"101",id:"119"},120:{path:"/classrooms/:coursesId/engineering",parentId:"101",id:"120"},121:{path:"/classrooms/:coursesId/learning_path",parentId:"101",id:"121"},122:{path:"/classrooms/:coursesId/resource_recommend",parentId:"101",id:"122"},123:{path:"/classrooms/:coursesId/attendance",parentId:"101",id:"123"},124:{path:"/classrooms/:coursesId/attendance/StudetnSign",parentId:"101",id:"124"},125:{path:"/classrooms/:coursesId/attendance/:categoryId/:tabId/detail",parentId:"101",id:"125"},126:{path:"/classrooms/:coursesId/announcement",parentId:"101",id:"126"},127:{path:"/classrooms/:coursesId/announcement/:categoryId",parentId:"101",id:"127"},128:{path:"/classrooms/:coursesId/online_learning",parentId:"101",id:"128"},129:{path:"/classrooms/:coursesId/online_learning/:categoryId",parentId:"101",id:"129"},130:{path:"/classrooms/:coursesId/attachment/:categoryId",parentId:"101",id:"130"},131:{path:"/classrooms/:coursesId/attachment",parentId:"101",id:"131"},132:{path:"/classrooms/:coursesId/video",parentId:"101",id:"132"},133:{path:"/classrooms/:coursesId/video/:categoryId",parentId:"101",id:"133"},134:{path:"/classrooms/:coursesId/video/:categoryId/statistics",parentId:"101",id:"134"},135:{path:"/classrooms/:coursesId/video/:username/upload",parentId:"101",id:"135"},136:{path:"/classrooms/:coursesId/video/:categoryId/statistics/:videoId",parentId:"101",id:"136"},137:{path:"/classrooms/:coursesId/video/:categoryId/statistics/:videoId/:userId",parentId:"101",id:"137"},138:{path:"/classrooms/:coursesId/live_video/:categoryId",parentId:"101",id:"138"},139:{path:"/classrooms/:coursesId/live_video",parentId:"101",id:"139"},140:{path:"/classrooms/:coursesId/video/:categoryId/studentstatistics",parentId:"101",id:"140"},141:{path:"/classrooms/:coursesId/board/:categoryId",parentId:"101",id:"141"},142:{path:"/classrooms/:coursesId/board",parentId:"101",id:"142"},143:{path:"/classrooms/:coursesId/course_group",parentId:"101",id:"143"},144:{path:"/classrooms/:coursesId/course_group/:categoryId",parentId:"101",id:"144"},145:{path:"/classrooms/:coursesId/course_group/:categoryId/detail",parentId:"101",id:"145"},146:{path:"/classrooms/:coursesId/not_course_group/:categoryId",parentId:"101",id:"146"},147:{path:"/classrooms/:coursesId/not_course_group",parentId:"101",id:"147"},148:{path:"/classrooms/:coursesId/statistics/",parentId:"101",id:"148"},149:{path:"/classrooms/:coursesId/statistics/:categoryId",parentId:"101",id:"149"},150:{path:"/classrooms/:coursesId/statistics_video/:categoryId",parentId:"101",id:"150"},151:{path:"/classrooms/:coursesId/statistics_quality/:categoryId",parentId:"101",id:"151"},152:{path:"/classrooms/:coursesId/statistics_user_portrait/:categoryId",parentId:"101",id:"152"},153:{path:"/classrooms/:coursesId/student_statistics/:categoryId",parentId:"101",id:"153"},154:{path:"/classrooms/:coursesId/student_statistics/:categoryId/:listId/:type",parentId:"101",id:"154"},155:{path:"/classrooms/:coursesId/video_statistics/:categoryId/Student/:studentid",parentId:"101",id:"155"},156:{path:"/classrooms/:coursesId/exportlist/:type",parentId:"101",id:"156"},157:{path:"/classrooms/:coursesId",parentId:"101",id:"157"},158:{path:"/classrooms/:coursesId/template",parentId:"101",id:"158"},159:{path:"/competitions",parentId:"1",id:"159"},160:{path:"/competitions/index",parentId:"159",id:"160"},161:{path:"/competitions/:identifier/list",parentId:"159",id:"161"},162:{path:"/competitions/exports",parentId:"159",id:"162"},163:{path:"/competitions",parentId:"159",id:"163"},164:{path:"/competitions/:identifier",parentId:"159",id:"164"},165:{path:"/competitions/index/:identifier",parentId:"159",id:"165"},166:{path:"/competitions/:identifier/detail/enroll",parentId:"159",id:"166"},167:{path:"/competitions/:identifier/detail/UpdateTeanname/:Teannameid",parentId:"159",id:"167"},168:{path:"/competitions/:identifier/detail/teamDetail/:Teamid",parentId:"159",id:"168"},169:{path:"/competitions/detail/:identifier",parentId:"159",id:"169"},170:{path:"/forums",parentId:"1",id:"170"},171:{path:"/forums",parentId:"170",id:"171"},172:{path:"/forums/categories/:memoType",parentId:"170",id:"172"},173:{path:"/forums/new",parentId:"170",id:"173"},174:{path:"/forums/:memoId/edit",parentId:"170",id:"174"},175:{path:"/forums/:memoId",parentId:"170",id:"175"},176:{path:"/problemset",parentId:"1",id:"176"},177:{path:"/problemset",parentId:"176",id:"177"},178:{path:"/problemset/newitem",parentId:"176",id:"178"},179:{path:"/problemset/:type/:id",parentId:"176",id:"179"},180:{path:"/problemset/preview",parentId:"176",id:"180"},181:{path:"/problemset/preview_new",parentId:"176",id:"181"},182:{path:"/problemset/preview_select",parentId:"176",id:"182"},183:{path:"/shixuns",parentId:"1",id:"183"},184:{path:"/shixuns",parentId:"183",id:"184"},185:{path:"/shixuns/exports",parentId:"183",id:"185"},186:{path:"/shixuns/new",parentId:"183",id:"186"},187:{path:"/shixuns/new/CreateImg",parentId:"183",id:"187"},188:{path:"/shixuns/new/:id/imagepreview",parentId:"183",id:"188"},189:{path:"/shixuns/:id/Merge",parentId:"183",id:"189"},190:{path:"/shixuns/:id/Split",parentId:"183",id:"190"},191:{path:"/shixuns/:id/edit",parentId:"183",id:"191"},192:{path:"shixuns/:id/edit/warehouse",parentId:"191",id:"192"},193:{path:"/shixuns/:id/edit/newquestion",parentId:"191",id:"193"},194:{path:"/shixuns/:id/edit/:challengesId/editquestion",parentId:"191",id:"194"},195:{path:"/shixuns/:id/edit/:challengesId/editquestion/:questionId",parentId:"191",id:"195"},196:{path:"/shixuns/:id/edit/new",parentId:"191",id:"196"},197:{path:"/shixuns/:id/edit/:challengesId/editcheckpoint",parentId:"191",id:"197"},198:{path:"/shixuns/:id/edit/:challengesId/tab=2",parentId:"191",id:"198"},199:{path:"/shixuns/:id/edit/:challengesId/tab=3",parentId:"191",id:"199"},200:{path:"/shixuns/:id/edit/:challengesId/tab=4",parentId:"191",id:"200"},201:{path:"/shixuns/:id",parentId:"183",id:"201"},202:{path:"/shixuns/:id/challenges",parentId:"201",id:"202"},203:{path:"/shixuns/:id/repository",parentId:"201",id:"203"},204:{path:"/shixuns/:id/secret_repository",parentId:"201",id:"204"},205:{path:"/shixuns/:id/collaborators",parentId:"201",id:"205"},206:{path:"/shixuns/:id/dataset",parentId:"201",id:"206"},207:{path:"/shixuns/:id/dataset/jupyterEdit",parentId:"201",id:"207"},208:{path:"/shixuns/:id/shixun_discuss",parentId:"201",id:"208"},209:{path:"/shixuns/:id/ranking_list",parentId:"201",id:"209"},210:{path:"/shixuns/:id/settings",parentId:"201",id:"210"},211:{path:"/shixuns/:id/repository/:repoId/commits",parentId:"201",id:"211"},212:{path:"/shixuns/:id/secret_repository/:repoId/commits",parentId:"201",id:"212"},213:{path:"/shixuns/:id/repository/upload_file",parentId:"201",id:"213"},214:{path:"/shixuns/:id/secret_repository/upload_file",parentId:"201",id:"214"},215:{path:"/shixuns/:id/repository/add_file",parentId:"201",id:"215"},216:{path:"/shixuns/:id/secret_repository/add_file",parentId:"201",id:"216"},217:{path:"/shixuns/:id/repository/master/shixun_show/:fileId",exact:!1,parentId:"201",id:"217"},218:{path:"/shixuns/:id/secret_repository/master/shixun_show/:fileId",exact:!1,parentId:"201",id:"218"},219:{path:"/shixuns/:id/audit_situation",parentId:"201",id:"219"},220:{path:"/shixuns/:id/fork_list",parentId:"201",id:"220"},221:{path:"/users",parentId:"1",id:"221"},222:{path:"/users/:username/videos/protocol",parentId:"221",id:"222"},223:{path:"/users/:username/videos/resourceProtocol",parentId:"221",id:"223"},224:{path:"/users/:username/videos/success",parentId:"221",id:"224"},225:{path:"/users/:username/topicbank/:topicstype",parentId:"221",id:"225"},226:{path:"/users/:username/topics/:topicId/:topictype/normal/detail",parentId:"221",id:"226"},227:{path:"/users/:username/topics/:topicId/:topictype/group/detail",parentId:"221",id:"227"},228:{path:"/users/:username/topics/:topicId/:topictype/normal/edit",parentId:"221",id:"228"},229:{path:"/users/:username/topics/:topicId/:topictype/group/edit",parentId:"221",id:"229"},230:{path:"/users/:username/topics/:topicId/:topictype/exercise/edit",parentId:"221",id:"230"},231:{path:"/users/:username/topics/:topicId/:topictype/exercise/detail",parentId:"221",id:"231"},232:{path:"/users/:username/topics/:topicId/:topictype/poll/edit",parentId:"221",id:"232"},233:{path:"/users/:username/topics/:topicId/:topictype/poll/detail",parentId:"221",id:"233"},234:{path:"/users/:username/experiment-img/add",parentId:"221",id:"234"},235:{path:"/users/:username",parentId:"221",id:"235"},236:{path:"/users/:username",parentId:"235",id:"236"},237:{path:"/users/:username/baseInfo/edit",parentId:"235",id:"237"},238:{path:"/users/:username/baseInfo",parentId:"235",id:"238"},239:{path:"/users/:username/realNameCertification",parentId:"235",id:"239"},240:{path:"/users/:username/careerCertification",parentId:"235",id:"240"},241:{path:"/users/:username/classrooms",parentId:"235",id:"241"},242:{path:"/users/:username/shixuns",parentId:"235",id:"242"},243:{path:"/users/:username/dataSet",parentId:"235",id:"243"},244:{path:"/users/:username/userPortrait",parentId:"235",id:"244"},245:{path:"/users/:username/learningPath",parentId:"235",id:"245"},246:{path:"/users/:username/teach-group",parentId:"235",id:"246"},247:{path:"/users/:username/competitions",parentId:"235",id:"247"},248:{path:"/users/:username/experiment-img",parentId:"235",id:"248"},249:{path:"/users/:username/experiment-img/:experid/detail",parentId:"235",id:"249"},250:{path:"/users/:username/certificate",parentId:"235",id:"250"},251:{path:"/users/:username/otherResources",parentId:"235",id:"251"},252:{path:"/users/:username/classmanagement",parentId:"235",id:"252"},253:{path:"/users/:username/classmanagement/:couserid",parentId:"235",id:"253"},254:{path:"/users/:username/paths",parentId:"235",id:"254"},255:{path:"/users/:username/projects",parentId:"235",id:"255"},256:{path:"/users/:username/videos",parentId:"235",id:"256"},257:{path:"/users/:username/videos/upload",parentId:"235",id:"257"},258:{path:"/users/:username/topics/:topicstype",parentId:"235",id:"258"},259:{path:"/users/:username/vspaces",parentId:"235",id:"259"},260:{path:"/users/:username/resourcesCenter",parentId:"235",id:"260"},261:{path:"/users/:username/resourcesCenter/:id/detail",parentId:"235",id:"261"},262:{path:"/users/:username/resourceGuarantee",parentId:"235",id:"262"},263:{path:"/users/:username/resourceAllocation",parentId:"235",id:"263"},264:{parentId:"1",id:"264"},265:{path:"/problems",parentId:"264",id:"265"},266:{path:"/problems",parentId:"265",id:"266"},267:{path:"/problems/batchAdd",parentId:"265",id:"267"},268:{path:"/problems/newcreate",parentId:"264",id:"268"},269:{path:"/problems/newedit/:id",exact:!0,parentId:"264",id:"269"},270:{path:"/problems/:id/edit",exact:!0,parentId:"264",id:"270"},271:{path:"/problems/new",exact:!0,parentId:"264",id:"271"},272:{path:"/problems/:id/oj/:save_identifier",parentId:"264",id:"272"},273:{path:"/problems/:id/record-detail/:submitId",parentId:"264",id:"273"},274:{path:"/problems/add",parentId:"264",id:"274"},275:{path:"/problems/:id/ojedit",parentId:"264",id:"275"},276:{path:"/engineering",parentId:"1",id:"276"},277:{path:"/engineering",parentId:"276",id:"277"},278:{path:"/engineering/teacherList",parentId:"277",id:"278"},279:{path:"/engineering/studentList",parentId:"277",id:"279"},280:{path:"/engineering/training/program",parentId:"277",id:"280"},281:{path:"/engineering/training/program/add",parentId:"277",id:"281"},282:{path:"/engineering/training/program/edit",parentId:"277",id:"282"},283:{path:"/engineering/training/objectives",parentId:"277",id:"283"},284:{path:"/engineering/graduated/index",parentId:"277",id:"284"},285:{path:"/engineering/graduated/matrix",parentId:"277",id:"285"},286:{path:"/engineering/course/list",parentId:"277",id:"286"},287:{path:"/engineering/course/setting",parentId:"277",id:"287"},288:{path:"/engineering/course/matrix",parentId:"277",id:"288"},289:{path:"/engineering/navigation",parentId:"277",id:"289"},290:{path:"/engineering/evaluate/course",parentId:"277",id:"290"},291:{path:"/engineering/evaluate/course/:ec_year_id/:id",parentId:"277",id:"291"},292:{path:"/engineering/evaluate/norm",parentId:"277",id:"292"},293:{path:"/engineering/evaluate/document",parentId:"277",id:"293"},294:{path:"/engineering/evaluate/norm/:ec_year_id/:id",parentId:"277",id:"294"},295:{path:"/engineering/*",redirect:"/404",parentId:"277",id:"295"},296:{path:"/innovation",parentId:"1",id:"296"},297:{path:"/innovation/tasks/:taskId",parentId:"296",id:"297"},298:{path:"/innovation",parentId:"296",id:"298"},299:{path:"/innovation/project",parentId:"298",id:"299"},300:{path:"/innovation/dataset",parentId:"298",id:"300"},301:{path:"/innovation/mirror",parentId:"298",id:"301"},302:{path:"/innovation/my-project",parentId:"298",id:"302"},303:{path:"/innovation/my-dataset",parentId:"298",id:"303"},304:{path:"/innovation/my-mirror",parentId:"298",id:"304"},305:{path:"/innovation/project/create",parentId:"298",id:"305"},306:{path:"/innovation/project/edit/:id",parentId:"298",id:"306"},307:{path:"/innovation/project/detail/:taskId",parentId:"298",id:"307"},308:{path:"/tasks",parentId:"1",id:"308"},309:{path:"/tasks/:taskId",exact:!0,parentId:"308",id:"309"},310:{path:"/tasks/:identifier/jupyter/",exact:!0,parentId:"308",id:"310"},311:{path:"/tasks/:courseId/:homeworkId/:taskId",exact:!0,parentId:"308",id:"311"},312:{path:"/tasks/jupyter/:courseId/:homeworkId/:identifier",exact:!0,parentId:"308",id:"312"},313:{path:"/tasks/:courseId/:exerciseId/:taskId/exercise",exact:!0,parentId:"308",id:"313"},314:{path:"/myproblems",parentId:"1",id:"314"},315:{path:"/myproblems/:id/record-detail/:submitId",exact:!0,parentId:"314",id:"315"},316:{path:"/myproblems/:id",exact:!0,parentId:"314",id:"316"},317:{path:"/account",parentId:"1",id:"317"},318:{path:"/account",parentId:"317",id:"318"},319:{path:"/account/profile",parentId:"318",id:"319"},320:{path:"/account/profile/edit",parentId:"318",id:"320"},321:{path:"/account/certification",parentId:"318",id:"321"},322:{path:"/account/secure",parentId:"318",id:"322"},323:{path:"/account/binding",parentId:"318",id:"323"},324:{path:"/account/Results",parentId:"318",id:"324"},325:{path:"/account/resource",parentId:"318",id:"325"},326:{path:"/ch",parentId:"1",id:"326"},327:{path:"/ch/rest/edit/:categoryId/:id",exact:!0,parentId:"326",id:"327"},328:{path:"/ch/rest/",exact:!0,parentId:"326",id:"328"},329:{path:"/ch/rest/:id",exact:!0,parentId:"326",id:"329"},330:{path:"/order",parentId:"1",id:"330"},331:{path:"/order",parentId:"330",id:"331"},332:{path:"/order/invoice",parentId:"330",id:"332"},333:{path:"/order/records",parentId:"330",id:"333"},334:{path:"/order/apply",parentId:"330",id:"334"},335:{path:"/order/view",parentId:"330",id:"335"},336:{path:"/order/:courseId/information",parentId:"330",id:"336"},337:{path:"/order/:courseId/pay",parentId:"330",id:"337"},338:{path:"/order/:orderNum/result",parentId:"330",id:"338"},339:{path:"/messages",parentId:"1",id:"339"},340:{path:"/messages/:userId/user_tidings",parentId:"339",id:"340"},341:{path:"/messages/:userId/private_messages",parentId:"339",id:"341"},342:{path:"/messages/:userId/message_detail",parentId:"339",id:"342"},343:{path:"/vtrs",parentId:"1",id:"343"},344:{path:"/vtrs/:virtual_spacesId",parentId:"343",id:"344"},345:{path:"/vtrs/:virtual_spacesId",exact:!0,parentId:"344",id:"345"},346:{path:"/vtrs/:virtual_spacesId/workplace",exact:!0,parentId:"344",id:"346"},347:{path:"/vtrs/:virtual_spacesId/experiment",parentId:"344",id:"347"},348:{path:"/vtrs/:virtual_spacesId/announcement",parentId:"344",id:"348"},349:{path:"/vtrs/:virtual_spacesId/announcement/add",parentId:"344",id:"349"},350:{path:"/vtrs/:virtual_spacesId/announcement/:id/edit",parentId:"344",id:"350"},351:{path:"/vtrs/:virtual_spacesId/announcement/:id/detail",parentId:"344",id:"351"},352:{path:"/vtrs/:virtual_spacesId/survey",parentId:"344",id:"352"},353:{path:"/vtrs/:virtual_spacesId/survey/:id/detail",parentId:"344",id:"353"},354:{path:"/vtrs/:virtual_spacesId/knowledge",parentId:"344",id:"354"},355:{path:"/vtrs/:virtual_spacesId/knowledge/add",parentId:"344",id:"355"},356:{path:"/vtrs/:virtual_spacesId/knowledge/:id/edit",parentId:"344",id:"356"},357:{path:"/vtrs/:virtual_spacesId/material",parentId:"344",id:"357"},358:{path:"/vtrs/:virtual_spacesId/material/:id/detail",parentId:"344",id:"358"},359:{path:"/vtrs/:virtual_spacesId/lesson",parentId:"344",id:"359"},360:{path:"/vtrs/:virtual_spacesId/lesson/:id/detail",parentId:"344",id:"360"},361:{path:"/vtrs/:virtual_spacesId/lesson/:id/detail/:fileid",parentId:"344",id:"361"},362:{path:"/vtrs/:virtual_spacesId/discussion",parentId:"344",id:"362"},363:{path:"/vtrs/:virtual_spacesId/discussion/:id/detail",parentId:"344",id:"363"},364:{path:"/vtrs/:virtual_spacesId/discussion/:id/detail/:fileid",parentId:"344",id:"364"},365:{path:"/vtrs/:virtual_spacesId/settings",parentId:"344",id:"365"},366:{path:"/vtrs/:virtual_spacesId/resources",parentId:"344",id:"366"},367:{path:"/vtrs/:virtual_spacesId/resources/:id/detail",parentId:"344",id:"367"},368:{path:"/vtrs/:virtual_spacesId/Plan",parentId:"344",id:"368"},369:{path:"/vtrs/:virtual_spacesId/plan/:id/detail",parentId:"344",id:"369"},370:{path:"/vtrs/:virtual_spacesId/digtal",parentId:"344",id:"370"},371:{path:"/vtrs/:virtual_spacesId/homepage",parentId:"344",id:"371"},372:{path:"/vtrs/:virtual_spacesId/*",parentId:"344",id:"372"},373:{path:"/101",parentId:"1",id:"373"},374:{path:"/101/:virtual_spacesId",parentId:"373",id:"374"},375:{path:"/101/:virtual_spacesId",exact:!0,parentId:"374",id:"375"},376:{path:"/101/:virtual_spacesId/workplace",exact:!0,parentId:"374",id:"376"},377:{path:"/101/:virtual_spacesId/experiment",parentId:"374",id:"377"},378:{path:"/101/:virtual_spacesId/announcement",parentId:"374",id:"378"},379:{path:"/101/:virtual_spacesId/announcement/add",parentId:"374",id:"379"},380:{path:"/101/:virtual_spacesId/announcement/:id/edit",parentId:"374",id:"380"},381:{path:"/101/:virtual_spacesId/announcement/:id/detail",parentId:"374",id:"381"},382:{path:"/101/:virtual_spacesId/survey",parentId:"374",id:"382"},383:{path:"/101/:virtual_spacesId/survey/:id/detail",parentId:"374",id:"383"},384:{path:"/101/:virtual_spacesId/knowledge",parentId:"374",id:"384"},385:{path:"/101/:virtual_spacesId/knowledge/add",parentId:"374",id:"385"},386:{path:"/101/:virtual_spacesId/knowledge/:id/edit",parentId:"374",id:"386"},387:{path:"/101/:virtual_spacesId/material",parentId:"374",id:"387"},388:{path:"/101/:virtual_spacesId/material/:id/detail",parentId:"374",id:"388"},389:{path:"/101/:virtual_spacesId/lesson",parentId:"374",id:"389"},390:{path:"/101/:virtual_spacesId/lesson/:id/detail",parentId:"374",id:"390"},391:{path:"/101/:virtual_spacesId/lesson/:id/detail/:fileid",parentId:"374",id:"391"},392:{path:"/101/:virtual_spacesId/discussion",parentId:"374",id:"392"},393:{path:"/101/:virtual_spacesId/discussion/:id/detail",parentId:"374",id:"393"},394:{path:"/101/:virtual_spacesId/discussion/:id/detail/:fileid",parentId:"374",id:"394"},395:{path:"/101/:virtual_spacesId/settings",parentId:"374",id:"395"},396:{path:"/101/:virtual_spacesId/resources",parentId:"374",id:"396"},397:{path:"/101/:virtual_spacesId/resources/:id/detail",parentId:"374",id:"397"},398:{path:"/101/:virtual_spacesId/Plan",parentId:"374",id:"398"},399:{path:"/101/:virtual_spacesId/plan/:id/detail",parentId:"374",id:"399"},400:{path:"/101/:virtual_spacesId/digtal",parentId:"374",id:"400"},401:{path:"/101/:virtual_spacesId/homepage",parentId:"374",id:"401"},402:{path:"/101/:virtual_spacesId/*",parentId:"374",id:"402"},403:{path:"/administration",parentId:"1",id:"403"},404:{path:"/administration",parentId:"403",id:"404"},405:{path:"/administration/college",parentId:"404",id:"405"},406:{path:"/administration/student",parentId:"404",id:"406"},407:{path:"/administration/student/:studentId/edit",parentId:"404",id:"407"},408:{path:"/administration/profession",parentId:"404",id:"408"},409:{path:"/graduations",parentId:"1",id:"409"},410:{path:"/graduations",exact:!0,parentId:"409",id:"410"},411:{path:"/graduations/:id/:moduleKey/:moduleId/review/:itemId",exact:!0,parentId:"409",id:"411"},412:{path:"/graduations/:id",parentId:"409",id:"412"},413:{path:"/graduations/:id/index",parentId:"412",id:"413"},414:{path:"/graduations/:id/topics",parentId:"412",id:"414"},415:{path:"/graduations/:id/student_selection",parentId:"412",id:"415"},416:{path:"/graduations/:id/tasks",parentId:"412",id:"416"},417:{path:"/graduations/:id/opening_report",parentId:"412",id:"417"},418:{path:"/graduations/:id/midterm_report",parentId:"412",id:"418"},419:{path:"/graduations/:id/thesis",parentId:"412",id:"419"},420:{path:"/graduations/:id/final_defense",parentId:"412",id:"420"},421:{path:"/graduations/:id/final_thesis",parentId:"412",id:"421"},422:{path:"/graduations/:id/settings",parentId:"412",id:"422"},423:{path:"/graduations/:id/teachers",parentId:"412",id:"423"},424:{path:"/graduations/:id/students",parentId:"412",id:"424"},425:{path:"/graduations/:id/archives",parentId:"412",id:"425"},426:{path:"/graduations/:id/grading_summary",parentId:"412",id:"426"},427:{path:"/dataset",parentId:"1",id:"427"},428:{path:"/dataset",exact:!0,parentId:"427",id:"428"},429:{path:"/dataset/:id/detail",exact:!0,parentId:"427",id:"429"},430:{path:"/knowledgegraph",parentId:"1",id:"430"},431:{path:"/knowledgegraph/:pathId",parentId:"430",id:"431"},432:{path:"/knowledgegraph/:pathId/statistics",parentId:"430",id:"432"},433:{path:"/onlinenum",parentId:"1",id:"433"},434:{path:"/onlinenum",parentId:"433",id:"434"},435:{path:"/shixuncontext",parentId:"1",id:"435"},436:{path:"/shixuncontext",parentId:"435",id:"436"},437:{path:"/shixuncontext/:Id/detail",parentId:"435",id:"437"},438:{path:"/educoder-demo",exact:!0,parentId:"1",id:"438"},439:{path:"/training",parentId:"1",id:"439"},440:{name:"\u7CBE\u57F9\u8BFE\u7A0B",path:"/training",parentId:"439",id:"440"},441:{path:"/largeScreen",exact:!0,parentId:"1",id:"441"},442:{path:"/quality",parentId:"1",id:"442"},443:{name:"\u7CBE\u54C1\u8BFE\u7A0B",path:"/quality",parentId:"442",id:"443"},444:{path:"/otherlogin",exact:!0,parentId:"1",id:"444"},445:{path:"/otherloginqq",exact:!0,parentId:"1",id:"445"},446:{path:"/otherloginstart",exact:!0,parentId:"1",id:"446"},447:{path:"/pathsoverview",exact:!0,parentId:"1",id:"447"},448:{path:"/shixunsoverview",exact:!0,parentId:"1",id:"448"},449:{path:"/classroomsoverview",exact:!0,parentId:"1",id:"449"},450:{path:"/login",parentId:"1",id:"450"},451:{path:"/login",parentId:"450",id:"451"},452:{path:"/user",parentId:"1",id:"452"},453:{path:"/user/login",parentId:"452",id:"453"},454:{path:"/user/register",parentId:"452",id:"454"},455:{path:"/user/reset-password",parentId:"452",id:"455"},456:{path:"/colleges",parentId:"1",id:"456"},457:{path:"/colleges/:id/statistics",parentId:"456",id:"457"},458:{path:"/help",parentId:"1",id:"458"},459:{path:"/help/:id",parentId:"458",id:"459"},460:{path:"/video",parentId:"1",id:"460"},461:{path:"/video/:videoId",parentId:"460",id:"461"},462:{path:"/terminal",parentId:"1",id:"462"},463:{path:"/report/:taskId/:game_report_id",parentId:"1",id:"463"},464:{path:"/",parentId:"1",id:"464"},465:{path:"/",exact:!0,parentId:"464",id:"465"},466:{path:"/api/*",exact:!0,parentId:"464",id:"466"},467:{path:"/search",exact:!0,parentId:"464",id:"467"},468:{path:"/moop_cases",exact:!0,parentId:"464",id:"468"},469:{path:"/moop_cases/new",exact:!0,parentId:"464",id:"469"},470:{path:"/moop_cases/:caseId",exact:!0,parentId:"464",id:"470"},471:{path:"/moop_cases/:caseId/edit",exact:!0,parentId:"464",id:"471"},472:{path:"/moop_cases/:caseId/publish-success",exact:!0,parentId:"464",id:"472"},473:{path:"/randompaper",exact:!0,parentId:"464",id:"473"},474:{path:"/randompaper/edit/:id",exact:!0,parentId:"464",id:"474"},475:{path:"/randompaper/detail/:id",exact:!0,parentId:"464",id:"475"},476:{path:"/403",parentId:"464",id:"476"},477:{path:"/500",parentId:"464",id:"477"},478:{path:"/404",parentId:"464",id:"478"},479:{path:"/download",parentId:"464",id:"479"},480:{path:"/iwce",parentId:"464",id:"480"},481:{path:"/classrooms/:coursesId/attendance/TeacherSign",parentId:"464",id:"481"},482:{path:"/classrooms/:coursesId/attendance/:categoryId",parentId:"464",id:"482"},483:{path:"/Activities",parentId:"464",id:"483"},484:{path:"/admin/vgpu/:path*",parentId:"464",id:"484"},485:{path:"/iwce/:itemname",parentId:"464",id:"485"},486:{path:"/hpc-course",parentId:"464",id:"486"},487:{path:"/user_agents",parentId:"464",id:"487"},488:{path:"/three",parentId:"464",id:"488"},489:{path:"/introduction",parentId:"464",id:"489"},490:{path:"/chatgpt",parentId:"464",id:"490"},491:{path:"/*",parentId:"464",id:"491"},"@@/global-layout":{id:"@@/global-layout",path:"/",isLayout:!0}},routeComponents:{1:je.lazy(()=>__webpack_require__.e(7121).then(__webpack_require__.bind(__webpack_require__,17121))),2:je.lazy(()=>Promise.all([__webpack_require__.e(7533),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,28662))),3:je.lazy(()=>Promise.all([__webpack_require__.e(7533),__webpack_require__.e(4862)]).then(__webpack_require__.bind(__webpack_require__,90243))),4:je.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(7533),__webpack_require__.e(3260)]).then(__webpack_require__.bind(__webpack_require__,20556))),5:je.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(7533),__webpack_require__.e(3260)]).then(__webpack_require__.bind(__webpack_require__,20556))),6:je.lazy(()=>__webpack_require__.e(3247).then(__webpack_require__.bind(__webpack_require__,80291))),7:je.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(7533),__webpack_require__.e(6200),__webpack_require__.e(4599)]).then(__webpack_require__.bind(__webpack_require__,68587))),8:je.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(7533),__webpack_require__.e(6200),__webpack_require__.e(1545)]).then(__webpack_require__.bind(__webpack_require__,93114))),9:je.lazy(()=>Promise.all([__webpack_require__.e(7533),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,28662))),10:je.lazy(()=>__webpack_require__.e(6052).then(__webpack_require__.bind(__webpack_require__,57655))),11:je.lazy(()=>__webpack_require__.e(5572).then(__webpack_require__.bind(__webpack_require__,51221))),12:je.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(8982)]).then(__webpack_require__.bind(__webpack_require__,1916))),13:je.lazy(()=>__webpack_require__.e(869).then(__webpack_require__.bind(__webpack_require__,85941))),14:je.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(6411),__webpack_require__.e(3332)]).then(__webpack_require__.bind(__webpack_require__,81477))),15:je.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(4601)]).then(__webpack_require__.bind(__webpack_require__,25953))),16:je.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(8982)]).then(__webpack_require__.bind(__webpack_require__,1916))),17:je.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(7533),__webpack_require__.e(6200),__webpack_require__.e(4599)]).then(__webpack_require__.bind(__webpack_require__,68587))),18:je.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(7533),__webpack_require__.e(6200),__webpack_require__.e(4599)]).then(__webpack_require__.bind(__webpack_require__,68587))),19:je.lazy(()=>Promise.all([__webpack_require__.e(7533),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,28662))),20:je.lazy(()=>__webpack_require__.e(6685).then(__webpack_require__.bind(__webpack_require__,59799))),21:je.lazy(()=>__webpack_require__.e(9921).then(__webpack_require__.bind(__webpack_require__,99603))),22:je.lazy(()=>__webpack_require__.e(1674).then(__webpack_require__.bind(__webpack_require__,85412))),23:je.lazy(()=>__webpack_require__.e(6685).then(__webpack_require__.bind(__webpack_require__,59799))),24:je.lazy(()=>__webpack_require__.e(1702).then(__webpack_require__.bind(__webpack_require__,48749))),25:je.lazy(()=>__webpack_require__.e(1702).then(__webpack_require__.bind(__webpack_require__,48749))),26:je.lazy(()=>__webpack_require__.e(6882).then(__webpack_require__.bind(__webpack_require__,29187))),27:je.lazy(()=>__webpack_require__.e(6882).then(__webpack_require__.bind(__webpack_require__,29187))),28:je.lazy(()=>__webpack_require__.e(109).then(__webpack_require__.bind(__webpack_require__,42978))),29:je.lazy(()=>__webpack_require__.e(737).then(__webpack_require__.bind(__webpack_require__,20408))),30:je.lazy(()=>__webpack_require__.e(3391).then(__webpack_require__.bind(__webpack_require__,39539))),31:je.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(6411),__webpack_require__.e(3581)]).then(__webpack_require__.bind(__webpack_require__,72189))),32:je.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(6411),__webpack_require__.e(342)]).then(__webpack_require__.bind(__webpack_require__,17578))),33:je.lazy(()=>Promise.all([__webpack_require__.e(7533),__webpack_require__.e(2303)]).then(__webpack_require__.bind(__webpack_require__,53281))),34:je.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(1450)]).then(__webpack_require__.bind(__webpack_require__,11749))),35:je.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(195)]).then(__webpack_require__.bind(__webpack_require__,26847))),36:je.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(3668)]).then(__webpack_require__.bind(__webpack_require__,17849))),37:je.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(7533),__webpack_require__.e(2338)]).then(__webpack_require__.bind(__webpack_require__,53612))),38:je.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(4662)]).then(__webpack_require__.bind(__webpack_require__,52786))),39:je.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(8072)]).then(__webpack_require__.bind(__webpack_require__,68698))),40:je.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(479)]).then(__webpack_require__.bind(__webpack_require__,12459))),41:je.lazy(()=>__webpack_require__.e(5297).then(__webpack_require__.bind(__webpack_require__,57806))),42:je.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(6411),__webpack_require__.e(4164)]).then(__webpack_require__.bind(__webpack_require__,75774))),43:je.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(7533),__webpack_require__.e(6200),__webpack_require__.e(4599)]).then(__webpack_require__.bind(__webpack_require__,68587))),44:je.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(4553),__webpack_require__.e(4889)]).then(__webpack_require__.bind(__webpack_require__,83624))),45:je.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(4553),__webpack_require__.e(4105)]).then(__webpack_require__.bind(__webpack_require__,58232))),46:je.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(7883)]).then(__webpack_require__.bind(__webpack_require__,5781))),47:je.lazy(()=>__webpack_require__.e(7482).then(__webpack_require__.bind(__webpack_require__,92235))),48:je.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(5816)]).then(__webpack_require__.bind(__webpack_require__,35199))),49:je.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(337)]).then(__webpack_require__.bind(__webpack_require__,98580))),50:je.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(7533),__webpack_require__.e(292)]).then(__webpack_require__.bind(__webpack_require__,83927))),51:je.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(7533),__webpack_require__.e(292)]).then(__webpack_require__.bind(__webpack_require__,83927))),52:je.lazy(()=>__webpack_require__.e(5992).then(__webpack_require__.bind(__webpack_require__,92974))),53:je.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(6411),__webpack_require__.e(7533),__webpack_require__.e(8085)]).then(__webpack_require__.bind(__webpack_require__,94113))),54:je.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(6411),__webpack_require__.e(7533),__webpack_require__.e(8085)]).then(__webpack_require__.bind(__webpack_require__,94113))),55:je.lazy(()=>__webpack_require__.e(8431).then(__webpack_require__.bind(__webpack_require__,89607))),56:je.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(5902)]).then(__webpack_require__.bind(__webpack_require__,34887))),57:je.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(3433)]).then(__webpack_require__.bind(__webpack_require__,36755))),58:je.lazy(()=>__webpack_require__.e(5125).then(__webpack_require__.bind(__webpack_require__,23888))),59:je.lazy(()=>__webpack_require__.e(5125).then(__webpack_require__.bind(__webpack_require__,23888))),60:je.lazy(()=>__webpack_require__.e(921).then(__webpack_require__.bind(__webpack_require__,20861))),61:je.lazy(()=>__webpack_require__.e(921).then(__webpack_require__.bind(__webpack_require__,20861))),62:je.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(1578)]).then(__webpack_require__.bind(__webpack_require__,78348))),63:je.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(3317)]).then(__webpack_require__.bind(__webpack_require__,57383))),64:je.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(1482)]).then(__webpack_require__.bind(__webpack_require__,86608))),65:je.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(4795)]).then(__webpack_require__.bind(__webpack_require__,23279))),66:je.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(26)]).then(__webpack_require__.bind(__webpack_require__,17747))),67:je.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(8882)]).then(__webpack_require__.bind(__webpack_require__,25585))),68:je.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(5888)]).then(__webpack_require__.bind(__webpack_require__,18647))),69:je.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(9715)]).then(__webpack_require__.bind(__webpack_require__,96377))),70:je.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(7045)]).then(__webpack_require__.bind(__webpack_require__,83537))),71:je.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(1211)]).then(__webpack_require__.bind(__webpack_require__,50475))),72:je.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(1582)]).then(__webpack_require__.bind(__webpack_require__,13511))),73:je.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(6729)]).then(__webpack_require__.bind(__webpack_require__,25981))),74:je.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(9695)]).then(__webpack_require__.bind(__webpack_require__,74410))),75:je.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(8723)]).then(__webpack_require__.bind(__webpack_require__,70829))),76:je.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(7622)]).then(__webpack_require__.bind(__webpack_require__,23396))),77:je.lazy(()=>__webpack_require__.e(5148).then(__webpack_require__.bind(__webpack_require__,97862))),78:je.lazy(()=>__webpack_require__.e(643).then(__webpack_require__.bind(__webpack_require__,60038))),79:je.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(3442)]).then(__webpack_require__.bind(__webpack_require__,77678))),80:je.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(2102)]).then(__webpack_require__.bind(__webpack_require__,94544))),81:je.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(2425)]).then(__webpack_require__.bind(__webpack_require__,31345))),82:je.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(2404)]).then(__webpack_require__.bind(__webpack_require__,37165))),83:je.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(9785)]).then(__webpack_require__.bind(__webpack_require__,47590))),84:je.lazy(()=>__webpack_require__.e(869).then(__webpack_require__.bind(__webpack_require__,85941))),85:je.lazy(()=>__webpack_require__.e(2819).then(__webpack_require__.bind(__webpack_require__,79991))),86:je.lazy(()=>__webpack_require__.e(1512).then(__webpack_require__.bind(__webpack_require__,7351))),87:je.lazy(()=>__webpack_require__.e(7395).then(__webpack_require__.bind(__webpack_require__,63257))),88:je.lazy(()=>__webpack_require__.e(3585).then(__webpack_require__.bind(__webpack_require__,11956))),89:je.lazy(()=>__webpack_require__.e(6963).then(__webpack_require__.bind(__webpack_require__,25421))),90:je.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(4030)]).then(__webpack_require__.bind(__webpack_require__,58021))),91:je.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(4030)]).then(__webpack_require__.bind(__webpack_require__,58021))),92:je.lazy(()=>__webpack_require__.e(6127).then(__webpack_require__.bind(__webpack_require__,73947))),93:je.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(3951)]).then(__webpack_require__.bind(__webpack_require__,93931))),94:je.lazy(()=>__webpack_require__.e(1048).then(__webpack_require__.bind(__webpack_require__,8361))),95:je.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(2884)]).then(__webpack_require__.bind(__webpack_require__,21524))),96:je.lazy(()=>__webpack_require__.e(4770).then(__webpack_require__.bind(__webpack_require__,3237))),97:je.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(2603)]).then(__webpack_require__.bind(__webpack_require__,13269))),98:je.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(4216)]).then(__webpack_require__.bind(__webpack_require__,46738))),99:je.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(5319)]).then(__webpack_require__.bind(__webpack_require__,9064))),100:je.lazy(()=>__webpack_require__.e(895).then(__webpack_require__.bind(__webpack_require__,71973))),101:je.lazy(()=>__webpack_require__.e(3282).then(__webpack_require__.bind(__webpack_require__,5613))),102:je.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(7852)]).then(__webpack_require__.bind(__webpack_require__,29887))),103:je.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(7852)]).then(__webpack_require__.bind(__webpack_require__,29887))),104:je.lazy(()=>__webpack_require__.e(5048).then(__webpack_require__.bind(__webpack_require__,92518))),105:je.lazy(()=>__webpack_require__.e(1043).then(__webpack_require__.bind(__webpack_require__,85207))),106:je.lazy(()=>__webpack_require__.e(1043).then(__webpack_require__.bind(__webpack_require__,85207))),107:je.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(5825)]).then(__webpack_require__.bind(__webpack_require__,27069))),108:je.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(5825)]).then(__webpack_require__.bind(__webpack_require__,27069))),109:je.lazy(()=>__webpack_require__.e(3355).then(__webpack_require__.bind(__webpack_require__,30341))),110:je.lazy(()=>__webpack_require__.e(3355).then(__webpack_require__.bind(__webpack_require__,30341))),111:je.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(7556),__webpack_require__.e(9890)]).then(__webpack_require__.bind(__webpack_require__,59349))),112:je.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(7556),__webpack_require__.e(9890)]).then(__webpack_require__.bind(__webpack_require__,59349))),113:je.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(7556),__webpack_require__.e(3935)]).then(__webpack_require__.bind(__webpack_require__,7321))),114:je.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(7556),__webpack_require__.e(3935)]).then(__webpack_require__.bind(__webpack_require__,7321))),115:je.lazy(()=>__webpack_require__.e(8014).then(__webpack_require__.bind(__webpack_require__,61089))),116:je.lazy(()=>__webpack_require__.e(8077).then(__webpack_require__.bind(__webpack_require__,2042))),117:je.lazy(()=>__webpack_require__.e(3356).then(__webpack_require__.bind(__webpack_require__,63725))),118:je.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(6788)]).then(__webpack_require__.bind(__webpack_require__,62733))),119:je.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(6788)]).then(__webpack_require__.bind(__webpack_require__,62733))),120:je.lazy(()=>__webpack_require__.e(1962).then(__webpack_require__.bind(__webpack_require__,96221))),121:je.lazy(()=>__webpack_require__.e(4928).then(__webpack_require__.bind(__webpack_require__,35207))),122:je.lazy(()=>__webpack_require__.e(1257).then(__webpack_require__.bind(__webpack_require__,8467))),123:je.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(8435)]).then(__webpack_require__.bind(__webpack_require__,61356))),124:je.lazy(()=>__webpack_require__.e(8340).then(__webpack_require__.bind(__webpack_require__,16974))),125:je.lazy(()=>__webpack_require__.e(4093).then(__webpack_require__.bind(__webpack_require__,83330))),126:je.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(1265)]).then(__webpack_require__.bind(__webpack_require__,93108))),127:je.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(1265)]).then(__webpack_require__.bind(__webpack_require__,93108))),128:je.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(8827)]).then(__webpack_require__.bind(__webpack_require__,33003))),129:je.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(8827)]).then(__webpack_require__.bind(__webpack_require__,33003))),130:je.lazy(()=>__webpack_require__.e(6758).then(__webpack_require__.bind(__webpack_require__,47608))),131:je.lazy(()=>__webpack_require__.e(6758).then(__webpack_require__.bind(__webpack_require__,47608))),132:je.lazy(()=>__webpack_require__.e(9332).then(__webpack_require__.bind(__webpack_require__,95732))),133:je.lazy(()=>__webpack_require__.e(9332).then(__webpack_require__.bind(__webpack_require__,95732))),134:je.lazy(()=>__webpack_require__.e(4217).then(__webpack_require__.bind(__webpack_require__,94094))),135:je.lazy(()=>__webpack_require__.e(3220).then(__webpack_require__.bind(__webpack_require__,88644))),136:je.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(533)]).then(__webpack_require__.bind(__webpack_require__,89459))),137:je.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(5798)]).then(__webpack_require__.bind(__webpack_require__,74818))),138:je.lazy(()=>__webpack_require__.e(7878).then(__webpack_require__.bind(__webpack_require__,99155))),139:je.lazy(()=>__webpack_require__.e(7878).then(__webpack_require__.bind(__webpack_require__,99155))),140:je.lazy(()=>__webpack_require__.e(9944).then(__webpack_require__.bind(__webpack_require__,58660))),141:je.lazy(()=>__webpack_require__.e(8302).then(__webpack_require__.bind(__webpack_require__,65218))),142:je.lazy(()=>__webpack_require__.e(8302).then(__webpack_require__.bind(__webpack_require__,65218))),143:je.lazy(()=>__webpack_require__.e(8634).then(__webpack_require__.bind(__webpack_require__,42141))),144:je.lazy(()=>__webpack_require__.e(8634).then(__webpack_require__.bind(__webpack_require__,42141))),145:je.lazy(()=>__webpack_require__.e(7922).then(__webpack_require__.bind(__webpack_require__,15182))),146:je.lazy(()=>__webpack_require__.e(1727).then(__webpack_require__.bind(__webpack_require__,12097))),147:je.lazy(()=>__webpack_require__.e(1727).then(__webpack_require__.bind(__webpack_require__,12097))),148:je.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(1427)]).then(__webpack_require__.bind(__webpack_require__,55733))),149:je.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(1427)]).then(__webpack_require__.bind(__webpack_require__,55733))),150:je.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(8689)]).then(__webpack_require__.bind(__webpack_require__,30927))),151:je.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(7806)]).then(__webpack_require__.bind(__webpack_require__,67718))),152:je.lazy(()=>__webpack_require__.e(3276).then(__webpack_require__.bind(__webpack_require__,24309))),153:je.lazy(()=>__webpack_require__.e(8885).then(__webpack_require__.bind(__webpack_require__,23571))),154:je.lazy(()=>__webpack_require__.e(3451).then(__webpack_require__.bind(__webpack_require__,6011))),155:je.lazy(()=>__webpack_require__.e(9922).then(__webpack_require__.bind(__webpack_require__,50376))),156:je.lazy(()=>__webpack_require__.e(4572).then(__webpack_require__.bind(__webpack_require__,25156))),157:je.lazy(()=>__webpack_require__.e(4017).then(__webpack_require__.bind(__webpack_require__,1505))),158:je.lazy(()=>__webpack_require__.e(5518).then(__webpack_require__.bind(__webpack_require__,13595))),159:je.lazy(()=>Promise.all([__webpack_require__.e(7533),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,28662))),160:je.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(4671),__webpack_require__.e(6883)]).then(__webpack_require__.bind(__webpack_require__,63170))),161:je.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(4671),__webpack_require__.e(6883)]).then(__webpack_require__.bind(__webpack_require__,63170))),162:je.lazy(()=>__webpack_require__.e(4449).then(__webpack_require__.bind(__webpack_require__,79650))),163:je.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(4671),__webpack_require__.e(6883)]).then(__webpack_require__.bind(__webpack_require__,63170))),164:je.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(1555),__webpack_require__.e(2570)]).then(__webpack_require__.bind(__webpack_require__,72581))),165:je.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(1555),__webpack_require__.e(2570)]).then(__webpack_require__.bind(__webpack_require__,72581))),166:je.lazy(()=>__webpack_require__.e(8787).then(__webpack_require__.bind(__webpack_require__,83644))),167:je.lazy(()=>__webpack_require__.e(5650).then(__webpack_require__.bind(__webpack_require__,37509))),168:je.lazy(()=>__webpack_require__.e(1799).then(__webpack_require__.bind(__webpack_require__,50072))),169:je.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(1555),__webpack_require__.e(8797)]).then(__webpack_require__.bind(__webpack_require__,28512))),170:je.lazy(()=>Promise.all([__webpack_require__.e(7533),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,28662))),171:je.lazy(()=>__webpack_require__.e(8639).then(__webpack_require__.bind(__webpack_require__,84108))),172:je.lazy(()=>__webpack_require__.e(2983).then(__webpack_require__.bind(__webpack_require__,87119))),173:je.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(4264)]).then(__webpack_require__.bind(__webpack_require__,8979))),174:je.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(4264)]).then(__webpack_require__.bind(__webpack_require__,8979))),175:je.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(508)]).then(__webpack_require__.bind(__webpack_require__,67810))),176:je.lazy(()=>Promise.all([__webpack_require__.e(7533),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,28662))),177:je.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(7533),__webpack_require__.e(6200),__webpack_require__.e(4599)]).then(__webpack_require__.bind(__webpack_require__,68587))),178:je.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(7533),__webpack_require__.e(1953)]).then(__webpack_require__.bind(__webpack_require__,73271))),179:je.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(7533),__webpack_require__.e(1953)]).then(__webpack_require__.bind(__webpack_require__,73271))),180:je.lazy(()=>__webpack_require__.e(1581).then(__webpack_require__.bind(__webpack_require__,70768))),181:je.lazy(()=>__webpack_require__.e(4144).then(__webpack_require__.bind(__webpack_require__,83839))),182:je.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(7533),__webpack_require__.e(6200),__webpack_require__.e(4599)]).then(__webpack_require__.bind(__webpack_require__,68587))),183:je.lazy(()=>Promise.all([__webpack_require__.e(7533),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,28662))),184:je.lazy(()=>__webpack_require__.e(8782).then(__webpack_require__.bind(__webpack_require__,23186))),185:je.lazy(()=>__webpack_require__.e(7884).then(__webpack_require__.bind(__webpack_require__,86754))),186:je.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(7008)]).then(__webpack_require__.bind(__webpack_require__,75894))),187:je.lazy(()=>__webpack_require__.e(5549).then(__webpack_require__.bind(__webpack_require__,57587))),188:je.lazy(()=>__webpack_require__.e(9674).then(__webpack_require__.bind(__webpack_require__,20097))),189:je.lazy(()=>__webpack_require__.e(5573).then(__webpack_require__.bind(__webpack_require__,92169))),190:je.lazy(()=>__webpack_require__.e(2141).then(__webpack_require__.bind(__webpack_require__,8655))),191:je.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(6411),__webpack_require__.e(6316),__webpack_require__.e(6277)]).then(__webpack_require__.bind(__webpack_require__,68014))),192:je.lazy(()=>__webpack_require__.e(6328).then(__webpack_require__.bind(__webpack_require__,26595))),193:je.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(7857)]).then(__webpack_require__.bind(__webpack_require__,38498))),194:je.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(7533),__webpack_require__.e(1657)]).then(__webpack_require__.bind(__webpack_require__,32116))),195:je.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(7533),__webpack_require__.e(1657)]).then(__webpack_require__.bind(__webpack_require__,32116))),196:je.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(7533),__webpack_require__.e(4498)]).then(__webpack_require__.bind(__webpack_require__,33712))),197:je.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(7533),__webpack_require__.e(4498)]).then(__webpack_require__.bind(__webpack_require__,33712))),198:je.lazy(()=>__webpack_require__.e(9205).then(__webpack_require__.bind(__webpack_require__,15392))),199:je.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(1423)]).then(__webpack_require__.bind(__webpack_require__,64425))),200:je.lazy(()=>__webpack_require__.e(7614).then(__webpack_require__.bind(__webpack_require__,21646))),201:je.lazy(()=>__webpack_require__.e(2875).then(__webpack_require__.bind(__webpack_require__,52938))),202:je.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(9133)]).then(__webpack_require__.bind(__webpack_require__,99178))),203:je.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(8688)]).then(__webpack_require__.bind(__webpack_require__,66997))),204:je.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(8688)]).then(__webpack_require__.bind(__webpack_require__,66997))),205:je.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(5470)]).then(__webpack_require__.bind(__webpack_require__,52956))),206:je.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(6541)]).then(__webpack_require__.bind(__webpack_require__,81872))),207:je.lazy(()=>Promise.all([__webpack_require__.e(6316),__webpack_require__.e(1475)]).then(__webpack_require__.bind(__webpack_require__,33336))),208:je.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(6411),__webpack_require__.e(2254)]).then(__webpack_require__.bind(__webpack_require__,12053))),209:je.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(9408)]).then(__webpack_require__.bind(__webpack_require__,46817))),210:je.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(6411),__webpack_require__.e(6845)]).then(__webpack_require__.bind(__webpack_require__,76892))),211:je.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(4884)]).then(__webpack_require__.bind(__webpack_require__,98385))),212:je.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(4884)]).then(__webpack_require__.bind(__webpack_require__,98385))),213:je.lazy(()=>__webpack_require__.e(1148).then(__webpack_require__.bind(__webpack_require__,90638))),214:je.lazy(()=>__webpack_require__.e(1148).then(__webpack_require__.bind(__webpack_require__,90638))),215:je.lazy(()=>__webpack_require__.e(7046).then(__webpack_require__.bind(__webpack_require__,61026))),216:je.lazy(()=>__webpack_require__.e(7046).then(__webpack_require__.bind(__webpack_require__,61026))),217:je.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(8688)]).then(__webpack_require__.bind(__webpack_require__,66997))),218:je.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(8688)]).then(__webpack_require__.bind(__webpack_require__,66997))),219:je.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(5096)]).then(__webpack_require__.bind(__webpack_require__,84348))),220:je.lazy(()=>__webpack_require__.e(9215).then(__webpack_require__.bind(__webpack_require__,84622))),221:je.lazy(()=>Promise.all([__webpack_require__.e(7533),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,28662))),222:je.lazy(()=>__webpack_require__.e(5176).then(__webpack_require__.bind(__webpack_require__,85271))),223:je.lazy(()=>__webpack_require__.e(6587).then(__webpack_require__.bind(__webpack_require__,27239))),224:je.lazy(()=>__webpack_require__.e(9891).then(__webpack_require__.bind(__webpack_require__,44680))),225:je.lazy(()=>__webpack_require__.e(8062).then(__webpack_require__.bind(__webpack_require__,25682))),226:je.lazy(()=>__webpack_require__.e(5402).then(__webpack_require__.bind(__webpack_require__,25166))),227:je.lazy(()=>__webpack_require__.e(5402).then(__webpack_require__.bind(__webpack_require__,25166))),228:je.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(6820)]).then(__webpack_require__.bind(__webpack_require__,8450))),229:je.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(8517)]).then(__webpack_require__.bind(__webpack_require__,15612))),230:je.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(7043)]).then(__webpack_require__.bind(__webpack_require__,99667))),231:je.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(2806)]).then(__webpack_require__.bind(__webpack_require__,81279))),232:je.lazy(()=>__webpack_require__.e(5043).then(__webpack_require__.bind(__webpack_require__,67391))),233:je.lazy(()=>__webpack_require__.e(799).then(__webpack_require__.bind(__webpack_require__,61121))),234:je.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(3157)]).then(__webpack_require__.bind(__webpack_require__,98216))),235:je.lazy(()=>__webpack_require__.e(2529).then(__webpack_require__.bind(__webpack_require__,12473))),236:je.lazy(()=>__webpack_require__.e(6583).then(__webpack_require__.bind(__webpack_require__,92490))),237:je.lazy(()=>__webpack_require__.e(5895).then(__webpack_require__.bind(__webpack_require__,69555))),238:je.lazy(()=>__webpack_require__.e(6982).then(__webpack_require__.bind(__webpack_require__,87644))),239:je.lazy(()=>__webpack_require__.e(6805).then(__webpack_require__.bind(__webpack_require__,71954))),240:je.lazy(()=>__webpack_require__.e(1416).then(__webpack_require__.bind(__webpack_require__,15501))),241:je.lazy(()=>__webpack_require__.e(6583).then(__webpack_require__.bind(__webpack_require__,92490))),242:je.lazy(()=>__webpack_require__.e(8307).then(__webpack_require__.bind(__webpack_require__,35216))),243:je.lazy(()=>__webpack_require__.e(2826).then(__webpack_require__.bind(__webpack_require__,19907))),244:je.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(2659)]).then(__webpack_require__.bind(__webpack_require__,79838))),245:je.lazy(()=>__webpack_require__.e(4610).then(__webpack_require__.bind(__webpack_require__,76584))),246:je.lazy(()=>__webpack_require__.e(9590).then(__webpack_require__.bind(__webpack_require__,12876))),247:je.lazy(()=>__webpack_require__.e(2076).then(__webpack_require__.bind(__webpack_require__,70567))),248:je.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(4849)]).then(__webpack_require__.bind(__webpack_require__,62135))),249:je.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(310)]).then(__webpack_require__.bind(__webpack_require__,38903))),250:je.lazy(()=>__webpack_require__.e(5191).then(__webpack_require__.bind(__webpack_require__,64001))),251:je.lazy(()=>__webpack_require__.e(3496).then(__webpack_require__.bind(__webpack_require__,62629))),252:je.lazy(()=>__webpack_require__.e(7948).then(__webpack_require__.bind(__webpack_require__,7494))),253:je.lazy(()=>__webpack_require__.e(9519).then(__webpack_require__.bind(__webpack_require__,12817))),254:je.lazy(()=>__webpack_require__.e(5599).then(__webpack_require__.bind(__webpack_require__,52832))),255:je.lazy(()=>__webpack_require__.e(4736).then(__webpack_require__.bind(__webpack_require__,23e3))),256:je.lazy(()=>__webpack_require__.e(2412).then(__webpack_require__.bind(__webpack_require__,42496))),257:je.lazy(()=>__webpack_require__.e(2240).then(__webpack_require__.bind(__webpack_require__,51891))),258:je.lazy(()=>__webpack_require__.e(265).then(__webpack_require__.bind(__webpack_require__,31159))),259:je.lazy(()=>__webpack_require__.e(9360).then(__webpack_require__.bind(__webpack_require__,56773))),260:je.lazy(()=>__webpack_require__.e(2396).then(__webpack_require__.bind(__webpack_require__,88126))),261:je.lazy(()=>__webpack_require__.e(7855).then(__webpack_require__.bind(__webpack_require__,30139))),262:je.lazy(()=>__webpack_require__.e(9507).then(__webpack_require__.bind(__webpack_require__,25656))),263:je.lazy(()=>__webpack_require__.e(1343).then(__webpack_require__.bind(__webpack_require__,87030))),264:je.lazy(()=>__webpack_require__.e(7121).then(__webpack_require__.bind(__webpack_require__,17121))),265:je.lazy(()=>Promise.all([__webpack_require__.e(7533),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,28662))),266:je.lazy(()=>__webpack_require__.e(9647).then(__webpack_require__.bind(__webpack_require__,22691))),267:je.lazy(()=>__webpack_require__.e(485).then(__webpack_require__.bind(__webpack_require__,19428))),268:je.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(4741)]).then(__webpack_require__.bind(__webpack_require__,28013))),269:je.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(4741)]).then(__webpack_require__.bind(__webpack_require__,28013))),270:je.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(4994)]).then(__webpack_require__.bind(__webpack_require__,94038))),271:je.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(4994)]).then(__webpack_require__.bind(__webpack_require__,94038))),272:je.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(7460)]).then(__webpack_require__.bind(__webpack_require__,63342))),273:je.lazy(()=>__webpack_require__.e(9716).then(__webpack_require__.bind(__webpack_require__,12889))),274:je.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(6913)]).then(__webpack_require__.bind(__webpack_require__,29499))),275:je.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(6913)]).then(__webpack_require__.bind(__webpack_require__,29499))),276:je.lazy(()=>Promise.all([__webpack_require__.e(7533),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,28662))),277:je.lazy(()=>__webpack_require__.e(3006).then(__webpack_require__.bind(__webpack_require__,28960))),278:je.lazy(()=>__webpack_require__.e(2045).then(__webpack_require__.bind(__webpack_require__,41826))),279:je.lazy(()=>__webpack_require__.e(1520).then(__webpack_require__.bind(__webpack_require__,7355))),280:je.lazy(()=>__webpack_require__.e(9649).then(__webpack_require__.bind(__webpack_require__,93477))),281:je.lazy(()=>__webpack_require__.e(4546).then(__webpack_require__.bind(__webpack_require__,82739))),282:je.lazy(()=>__webpack_require__.e(5357).then(__webpack_require__.bind(__webpack_require__,77325))),283:je.lazy(()=>__webpack_require__.e(8665).then(__webpack_require__.bind(__webpack_require__,84547))),284:je.lazy(()=>__webpack_require__.e(3183).then(__webpack_require__.bind(__webpack_require__,37010))),285:je.lazy(()=>__webpack_require__.e(4800).then(__webpack_require__.bind(__webpack_require__,65831))),286:je.lazy(()=>__webpack_require__.e(9489).then(__webpack_require__.bind(__webpack_require__,17025))),287:je.lazy(()=>__webpack_require__.e(9391).then(__webpack_require__.bind(__webpack_require__,18186))),288:je.lazy(()=>__webpack_require__.e(5335).then(__webpack_require__.bind(__webpack_require__,40548))),289:je.lazy(()=>__webpack_require__.e(2823).then(__webpack_require__.bind(__webpack_require__,96906))),290:je.lazy(()=>__webpack_require__.e(4973).then(__webpack_require__.bind(__webpack_require__,66395))),291:je.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(6651)]).then(__webpack_require__.bind(__webpack_require__,4186))),292:je.lazy(()=>__webpack_require__.e(6741).then(__webpack_require__.bind(__webpack_require__,55527))),293:je.lazy(()=>__webpack_require__.e(5775).then(__webpack_require__.bind(__webpack_require__,3238))),294:je.lazy(()=>__webpack_require__.e(2548).then(__webpack_require__.bind(__webpack_require__,11955))),295:je.lazy(()=>__webpack_require__.e(7121).then(__webpack_require__.bind(__webpack_require__,17121))),296:je.lazy(()=>Promise.all([__webpack_require__.e(7533),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,28662))),297:je.lazy(()=>__webpack_require__.e(6634).then(__webpack_require__.bind(__webpack_require__,40825))),298:je.lazy(()=>__webpack_require__.e(680).then(__webpack_require__.bind(__webpack_require__,98874))),299:je.lazy(()=>__webpack_require__.e(6366).then(__webpack_require__.bind(__webpack_require__,39434))),300:je.lazy(()=>__webpack_require__.e(6452).then(__webpack_require__.bind(__webpack_require__,1189))),301:je.lazy(()=>__webpack_require__.e(1070).then(__webpack_require__.bind(__webpack_require__,48910))),302:je.lazy(()=>__webpack_require__.e(7242).then(__webpack_require__.bind(__webpack_require__,16075))),303:je.lazy(()=>__webpack_require__.e(2707).then(__webpack_require__.bind(__webpack_require__,56890))),304:je.lazy(()=>__webpack_require__.e(2865).then(__webpack_require__.bind(__webpack_require__,94574))),305:je.lazy(()=>__webpack_require__.e(6784).then(__webpack_require__.bind(__webpack_require__,12337))),306:je.lazy(()=>__webpack_require__.e(6784).then(__webpack_require__.bind(__webpack_require__,12337))),307:je.lazy(()=>__webpack_require__.e(3141).then(__webpack_require__.bind(__webpack_require__,54573))),308:je.lazy(()=>__webpack_require__.e(7121).then(__webpack_require__.bind(__webpack_require__,17121))),309:je.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(6411),__webpack_require__.e(7533),__webpack_require__.e(3665)]).then(__webpack_require__.bind(__webpack_require__,39660))),310:je.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(7533),__webpack_require__.e(700)]).then(__webpack_require__.bind(__webpack_require__,36402))),311:je.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(6411),__webpack_require__.e(7533),__webpack_require__.e(3665)]).then(__webpack_require__.bind(__webpack_require__,39660))),312:je.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(7533),__webpack_require__.e(700)]).then(__webpack_require__.bind(__webpack_require__,36402))),313:je.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(6411),__webpack_require__.e(7533),__webpack_require__.e(3665)]).then(__webpack_require__.bind(__webpack_require__,39660))),314:je.lazy(()=>__webpack_require__.e(7121).then(__webpack_require__.bind(__webpack_require__,17121))),315:je.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(7527)]).then(__webpack_require__.bind(__webpack_require__,58193))),316:je.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(6270)]).then(__webpack_require__.bind(__webpack_require__,91153))),317:je.lazy(()=>Promise.all([__webpack_require__.e(7533),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,28662))),318:je.lazy(()=>__webpack_require__.e(547).then(__webpack_require__.bind(__webpack_require__,15534))),319:je.lazy(()=>__webpack_require__.e(9788).then(__webpack_require__.bind(__webpack_require__,80222))),320:je.lazy(()=>__webpack_require__.e(576).then(__webpack_require__.bind(__webpack_require__,45929))),321:je.lazy(()=>__webpack_require__.e(7260).then(__webpack_require__.bind(__webpack_require__,30112))),322:je.lazy(()=>__webpack_require__.e(4520).then(__webpack_require__.bind(__webpack_require__,14620))),323:je.lazy(()=>__webpack_require__.e(9076).then(__webpack_require__.bind(__webpack_require__,8182))),324:je.lazy(()=>__webpack_require__.e(4514).then(__webpack_require__.bind(__webpack_require__,42910))),325:je.lazy(()=>__webpack_require__.e(4495).then(__webpack_require__.bind(__webpack_require__,43111))),326:je.lazy(()=>Promise.all([__webpack_require__.e(7533),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,28662))),327:je.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(928)]).then(__webpack_require__.bind(__webpack_require__,31160))),328:je.lazy(()=>__webpack_require__.e(1006).then(__webpack_require__.bind(__webpack_require__,76122))),329:je.lazy(()=>__webpack_require__.e(1006).then(__webpack_require__.bind(__webpack_require__,76122))),330:je.lazy(()=>Promise.all([__webpack_require__.e(7533),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,28662))),331:je.lazy(()=>__webpack_require__.e(1939).then(__webpack_require__.bind(__webpack_require__,49142))),332:je.lazy(()=>__webpack_require__.e(556).then(__webpack_require__.bind(__webpack_require__,56316))),333:je.lazy(()=>__webpack_require__.e(6434).then(__webpack_require__.bind(__webpack_require__,61244))),334:je.lazy(()=>__webpack_require__.e(1880).then(__webpack_require__.bind(__webpack_require__,7076))),335:je.lazy(()=>__webpack_require__.e(8237).then(__webpack_require__.bind(__webpack_require__,55642))),336:je.lazy(()=>__webpack_require__.e(3447).then(__webpack_require__.bind(__webpack_require__,38587))),337:je.lazy(()=>__webpack_require__.e(264).then(__webpack_require__.bind(__webpack_require__,93304))),338:je.lazy(()=>__webpack_require__.e(4259).then(__webpack_require__.bind(__webpack_require__,33253))),339:je.lazy(()=>Promise.all([__webpack_require__.e(7533),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,28662))),340:je.lazy(()=>__webpack_require__.e(4078).then(__webpack_require__.bind(__webpack_require__,29192))),341:je.lazy(()=>__webpack_require__.e(2829).then(__webpack_require__.bind(__webpack_require__,30750))),342:je.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(5359)]).then(__webpack_require__.bind(__webpack_require__,15331))),343:je.lazy(()=>Promise.all([__webpack_require__.e(7533),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,28662))),344:je.lazy(()=>__webpack_require__.e(559).then(__webpack_require__.bind(__webpack_require__,99643))),345:je.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(3747)]).then(__webpack_require__.bind(__webpack_require__,375))),346:je.lazy(()=>__webpack_require__.e(4757).then(__webpack_require__.bind(__webpack_require__,71535))),347:je.lazy(()=>__webpack_require__.e(1783).then(__webpack_require__.bind(__webpack_require__,3578))),348:je.lazy(()=>__webpack_require__.e(7477).then(__webpack_require__.bind(__webpack_require__,40728))),349:je.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(9677)]).then(__webpack_require__.bind(__webpack_require__,19707))),350:je.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(9677)]).then(__webpack_require__.bind(__webpack_require__,19707))),351:je.lazy(()=>__webpack_require__.e(6796).then(__webpack_require__.bind(__webpack_require__,87567))),352:je.lazy(()=>__webpack_require__.e(4504).then(__webpack_require__.bind(__webpack_require__,28045))),353:je.lazy(()=>__webpack_require__.e(7058).then(__webpack_require__.bind(__webpack_require__,3566))),354:je.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(8447)]).then(__webpack_require__.bind(__webpack_require__,58863))),355:je.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(1045)]).then(__webpack_require__.bind(__webpack_require__,29572))),356:je.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(1045)]).then(__webpack_require__.bind(__webpack_require__,29572))),357:je.lazy(()=>__webpack_require__.e(5238).then(__webpack_require__.bind(__webpack_require__,44145))),358:je.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(4715)]).then(__webpack_require__.bind(__webpack_require__,30237))),359:je.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(3873)]).then(__webpack_require__.bind(__webpack_require__,2334))),360:je.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(6069)]).then(__webpack_require__.bind(__webpack_require__,89431))),361:je.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(6069)]).then(__webpack_require__.bind(__webpack_require__,89431))),362:je.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(6265)]).then(__webpack_require__.bind(__webpack_require__,94395))),363:je.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(8563)]).then(__webpack_require__.bind(__webpack_require__,82167))),364:je.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(8563)]).then(__webpack_require__.bind(__webpack_require__,82167))),365:je.lazy(()=>__webpack_require__.e(1713).then(__webpack_require__.bind(__webpack_require__,29542))),366:je.lazy(()=>__webpack_require__.e(5891).then(__webpack_require__.bind(__webpack_require__,86082))),367:je.lazy(()=>__webpack_require__.e(8398).then(__webpack_require__.bind(__webpack_require__,49700))),368:je.lazy(()=>__webpack_require__.e(8241).then(__webpack_require__.bind(__webpack_require__,146))),369:je.lazy(()=>__webpack_require__.e(2339).then(__webpack_require__.bind(__webpack_require__,72997))),370:je.lazy(()=>__webpack_require__.e(7589).then(__webpack_require__.bind(__webpack_require__,1067))),371:je.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(3747)]).then(__webpack_require__.bind(__webpack_require__,375))),372:je.lazy(()=>__webpack_require__.e(5705).then(__webpack_require__.bind(__webpack_require__,91854))),373:je.lazy(()=>Promise.all([__webpack_require__.e(7533),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,28662))),374:je.lazy(()=>__webpack_require__.e(559).then(__webpack_require__.bind(__webpack_require__,99643))),375:je.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(3747)]).then(__webpack_require__.bind(__webpack_require__,375))),376:je.lazy(()=>__webpack_require__.e(4757).then(__webpack_require__.bind(__webpack_require__,71535))),377:je.lazy(()=>__webpack_require__.e(1783).then(__webpack_require__.bind(__webpack_require__,3578))),378:je.lazy(()=>__webpack_require__.e(7477).then(__webpack_require__.bind(__webpack_require__,40728))),379:je.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(9677)]).then(__webpack_require__.bind(__webpack_require__,19707))),380:je.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(9677)]).then(__webpack_require__.bind(__webpack_require__,19707))),381:je.lazy(()=>__webpack_require__.e(6796).then(__webpack_require__.bind(__webpack_require__,87567))),382:je.lazy(()=>__webpack_require__.e(4504).then(__webpack_require__.bind(__webpack_require__,28045))),383:je.lazy(()=>__webpack_require__.e(7058).then(__webpack_require__.bind(__webpack_require__,3566))),384:je.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(8447)]).then(__webpack_require__.bind(__webpack_require__,58863))),385:je.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(1045)]).then(__webpack_require__.bind(__webpack_require__,29572))),386:je.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(1045)]).then(__webpack_require__.bind(__webpack_require__,29572))),387:je.lazy(()=>__webpack_require__.e(5238).then(__webpack_require__.bind(__webpack_require__,44145))),388:je.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(4715)]).then(__webpack_require__.bind(__webpack_require__,30237))),389:je.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(3873)]).then(__webpack_require__.bind(__webpack_require__,2334))),390:je.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(6069)]).then(__webpack_require__.bind(__webpack_require__,89431))),391:je.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(6069)]).then(__webpack_require__.bind(__webpack_require__,89431))),392:je.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(6265)]).then(__webpack_require__.bind(__webpack_require__,94395))),393:je.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(8563)]).then(__webpack_require__.bind(__webpack_require__,82167))),394:je.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(8563)]).then(__webpack_require__.bind(__webpack_require__,82167))),395:je.lazy(()=>__webpack_require__.e(1713).then(__webpack_require__.bind(__webpack_require__,29542))),396:je.lazy(()=>__webpack_require__.e(5891).then(__webpack_require__.bind(__webpack_require__,86082))),397:je.lazy(()=>__webpack_require__.e(8398).then(__webpack_require__.bind(__webpack_require__,49700))),398:je.lazy(()=>__webpack_require__.e(8241).then(__webpack_require__.bind(__webpack_require__,146))),399:je.lazy(()=>__webpack_require__.e(2339).then(__webpack_require__.bind(__webpack_require__,72997))),400:je.lazy(()=>__webpack_require__.e(7589).then(__webpack_require__.bind(__webpack_require__,1067))),401:je.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(3747)]).then(__webpack_require__.bind(__webpack_require__,375))),402:je.lazy(()=>__webpack_require__.e(5705).then(__webpack_require__.bind(__webpack_require__,91854))),403:je.lazy(()=>Promise.all([__webpack_require__.e(7533),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,28662))),404:je.lazy(()=>__webpack_require__.e(4766).then(__webpack_require__.bind(__webpack_require__,1182))),405:je.lazy(()=>__webpack_require__.e(7560).then(__webpack_require__.bind(__webpack_require__,44094))),406:je.lazy(()=>__webpack_require__.e(6029).then(__webpack_require__.bind(__webpack_require__,64695))),407:je.lazy(()=>__webpack_require__.e(5179).then(__webpack_require__.bind(__webpack_require__,66218))),408:je.lazy(()=>__webpack_require__.e(4621).then(__webpack_require__.bind(__webpack_require__,56162))),409:je.lazy(()=>Promise.all([__webpack_require__.e(7533),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,28662))),410:je.lazy(()=>__webpack_require__.e(1831).then(__webpack_require__.bind(__webpack_require__,27732))),411:je.lazy(()=>__webpack_require__.e(2539).then(__webpack_require__.bind(__webpack_require__,97450))),412:je.lazy(()=>__webpack_require__.e(8143).then(__webpack_require__.bind(__webpack_require__,7772))),413:je.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(5624)]).then(__webpack_require__.bind(__webpack_require__,21401))),414:je.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(1461)]).then(__webpack_require__.bind(__webpack_require__,95200))),415:je.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(4492)]).then(__webpack_require__.bind(__webpack_require__,59463))),416:je.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(9416)]).then(__webpack_require__.bind(__webpack_require__,89898))),417:je.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(2443)]).then(__webpack_require__.bind(__webpack_require__,18113))),418:je.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(2443)]).then(__webpack_require__.bind(__webpack_require__,18113))),419:je.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(2443)]).then(__webpack_require__.bind(__webpack_require__,18113))),420:je.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(2443)]).then(__webpack_require__.bind(__webpack_require__,18113))),421:je.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(2443)]).then(__webpack_require__.bind(__webpack_require__,18113))),422:je.lazy(()=>__webpack_require__.e(5022).then(__webpack_require__.bind(__webpack_require__,55879))),423:je.lazy(()=>__webpack_require__.e(6063).then(__webpack_require__.bind(__webpack_require__,2389))),424:je.lazy(()=>__webpack_require__.e(6063).then(__webpack_require__.bind(__webpack_require__,2389))),425:je.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(7545)]).then(__webpack_require__.bind(__webpack_require__,68232))),426:je.lazy(()=>__webpack_require__.e(1253).then(__webpack_require__.bind(__webpack_require__,7220))),427:je.lazy(()=>Promise.all([__webpack_require__.e(7533),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,28662))),428:je.lazy(()=>__webpack_require__.e(2216).then(__webpack_require__.bind(__webpack_require__,36981))),429:je.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(5382)]).then(__webpack_require__.bind(__webpack_require__,25469))),430:je.lazy(()=>Promise.all([__webpack_require__.e(7533),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,28662))),431:je.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(6411),__webpack_require__.e(8823)]).then(__webpack_require__.bind(__webpack_require__,29500))),432:je.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(5915)]).then(__webpack_require__.bind(__webpack_require__,15843))),433:je.lazy(()=>Promise.all([__webpack_require__.e(7533),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,28662))),434:je.lazy(()=>__webpack_require__.e(570).then(__webpack_require__.bind(__webpack_require__,29625))),435:je.lazy(()=>Promise.all([__webpack_require__.e(7533),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,28662))),436:je.lazy(()=>__webpack_require__.e(8365).then(__webpack_require__.bind(__webpack_require__,72812))),437:je.lazy(()=>__webpack_require__.e(672).then(__webpack_require__.bind(__webpack_require__,42198))),438:je.lazy(()=>__webpack_require__.e(4058).then(__webpack_require__.bind(__webpack_require__,75779))),439:je.lazy(()=>Promise.all([__webpack_require__.e(7533),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,28662))),440:je.lazy(()=>__webpack_require__.e(4056).then(__webpack_require__.bind(__webpack_require__,19077))),441:je.lazy(()=>__webpack_require__.e(9487).then(__webpack_require__.bind(__webpack_require__,3184))),442:je.lazy(()=>Promise.all([__webpack_require__.e(7533),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,28662))),443:je.lazy(()=>__webpack_require__.e(532).then(__webpack_require__.bind(__webpack_require__,91437))),444:je.lazy(()=>__webpack_require__.e(7178).then(__webpack_require__.bind(__webpack_require__,23437))),445:je.lazy(()=>__webpack_require__.e(1660).then(__webpack_require__.bind(__webpack_require__,51106))),446:je.lazy(()=>__webpack_require__.e(7333).then(__webpack_require__.bind(__webpack_require__,80947))),447:je.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(4227)]).then(__webpack_require__.bind(__webpack_require__,85338))),448:je.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(8155)]).then(__webpack_require__.bind(__webpack_require__,91307))),449:je.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(5186)]).then(__webpack_require__.bind(__webpack_require__,43725))),450:je.lazy(()=>__webpack_require__.e(5786).then(__webpack_require__.bind(__webpack_require__,49426))),451:je.lazy(()=>__webpack_require__.e(9366).then(__webpack_require__.bind(__webpack_require__,54860))),452:je.lazy(()=>__webpack_require__.e(5972).then(__webpack_require__.bind(__webpack_require__,55782))),453:je.lazy(()=>__webpack_require__.e(9366).then(__webpack_require__.bind(__webpack_require__,54860))),454:je.lazy(()=>__webpack_require__.e(1470).then(__webpack_require__.bind(__webpack_require__,14209))),455:je.lazy(()=>__webpack_require__.e(7182).then(__webpack_require__.bind(__webpack_require__,48333))),456:je.lazy(()=>Promise.all([__webpack_require__.e(7533),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,28662))),457:je.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(2476)]).then(__webpack_require__.bind(__webpack_require__,26891))),458:je.lazy(()=>Promise.all([__webpack_require__.e(7533),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,28662))),459:je.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(5729)]).then(__webpack_require__.bind(__webpack_require__,16949))),460:je.lazy(()=>Promise.all([__webpack_require__.e(7533),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,28662))),461:je.lazy(()=>__webpack_require__.e(6444).then(__webpack_require__.bind(__webpack_require__,45233))),462:je.lazy(()=>__webpack_require__.e(5111).then(__webpack_require__.bind(__webpack_require__,49254))),463:je.lazy(()=>__webpack_require__.e(2307).then(__webpack_require__.bind(__webpack_require__,56737))),464:je.lazy(()=>Promise.all([__webpack_require__.e(7533),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,28662))),465:je.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(4671),__webpack_require__.e(8866)]).then(__webpack_require__.bind(__webpack_require__,35248))),466:je.lazy(()=>__webpack_require__.e(2300).then(__webpack_require__.bind(__webpack_require__,94371))),467:je.lazy(()=>__webpack_require__.e(2501).then(__webpack_require__.bind(__webpack_require__,88975))),468:je.lazy(()=>__webpack_require__.e(3212).then(__webpack_require__.bind(__webpack_require__,66062))),469:je.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(6904)]).then(__webpack_require__.bind(__webpack_require__,81055))),470:je.lazy(()=>__webpack_require__.e(1855).then(__webpack_require__.bind(__webpack_require__,62422))),471:je.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(6904)]).then(__webpack_require__.bind(__webpack_require__,81055))),472:je.lazy(()=>__webpack_require__.e(1276).then(__webpack_require__.bind(__webpack_require__,65433))),473:je.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(5816)]).then(__webpack_require__.bind(__webpack_require__,35199))),474:je.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(5816)]).then(__webpack_require__.bind(__webpack_require__,35199))),475:je.lazy(()=>__webpack_require__.e(3784).then(__webpack_require__.bind(__webpack_require__,81867))),476:je.lazy(()=>__webpack_require__.e(3862).then(__webpack_require__.bind(__webpack_require__,95545))),477:je.lazy(()=>__webpack_require__.e(4565).then(__webpack_require__.bind(__webpack_require__,69711))),478:je.lazy(()=>__webpack_require__.e(6531).then(__webpack_require__.bind(__webpack_require__,725))),479:je.lazy(()=>__webpack_require__.e(6170).then(__webpack_require__.bind(__webpack_require__,84891))),480:je.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(4496)]).then(__webpack_require__.bind(__webpack_require__,63276))),481:je.lazy(()=>__webpack_require__.e(1836).then(__webpack_require__.bind(__webpack_require__,42797))),482:je.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(8435)]).then(__webpack_require__.bind(__webpack_require__,61356))),483:je.lazy(()=>__webpack_require__.e(3509).then(__webpack_require__.bind(__webpack_require__,88650))),484:je.lazy(()=>__webpack_require__.e(1344).then(__webpack_require__.bind(__webpack_require__,96046))),485:je.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(4496)]).then(__webpack_require__.bind(__webpack_require__,63276))),486:je.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(4496)]).then(__webpack_require__.bind(__webpack_require__,63276))),487:je.lazy(()=>__webpack_require__.e(6034).then(__webpack_require__.bind(__webpack_require__,76665))),488:je.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(8999)]).then(__webpack_require__.bind(__webpack_require__,66427))),489:je.lazy(()=>__webpack_require__.e(3910).then(__webpack_require__.bind(__webpack_require__,8390))),490:je.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(67)]).then(__webpack_require__.bind(__webpack_require__,57892))),491:je.lazy(()=>__webpack_require__.e(6531).then(__webpack_require__.bind(__webpack_require__,725))),"@@/global-layout":je.lazy(()=>__webpack_require__.e(1717).then(__webpack_require__.bind(__webpack_require__,41492)))}}})}var T=__webpack_require__(19964),D=__webpack_require__(59098),L=__webpack_require__(71418),me=__webpack_require__(24957),ke=()=>je.createElement(L.Z,{size:"middle",className:me.Z.loading}),sn=__webpack_require__(76560),Yn=__webpack_require__(61186),mn=__webpack_require__.n(Yn),ji=__webpack_require__(91392),Wa=__webpack_require__.n(ji),Ga=__webpack_require__(34749),Uo=__webpack_require__.n(Ga),Ss=__webpack_require__(19277),Qs=__webpack_require__.n(Ss),zs=__webpack_require__(10238),Mc=__webpack_require__.n(zs),tf=__webpack_require__(33656),vc=__webpack_require__.n(tf),rf=__webpack_require__(90111),Dl=__webpack_require__.n(rf),Ui=__webpack_require__(74959),Xl=__webpack_require__.n(Ui),Cu=__webpack_require__(23250),so=__webpack_require__.n(Cu),wo=__webpack_require__(58862),bs=__webpack_require__.n(wo),Ol=__webpack_require__(58319),Ql=__webpack_require__.n(Ol),Fc=__webpack_require__(62053),kl=__webpack_require__.n(Fc),Ru=__webpack_require__(47477),nf=__webpack_require__.n(Ru),af=__webpack_require__(59717),Rl=__webpack_require__.n(af);mn().extend(Uo()),mn().extend(Qs()),mn().extend(Mc()),mn().extend(vc()),mn().extend(Dl()),mn().extend(Xl()),mn().extend(so()),mn().extend(bs()),mn().extend(Ql()),mn().extend(kl()),mn().extend(nf()),mn().extend(Rl()),mn().extend(Wa());var Bc=Object.defineProperty,gc=Object.getOwnPropertySymbols,sf=Object.prototype.hasOwnProperty,mu=Object.prototype.propertyIsEnumerable,xl=(Rn,ti,Wi)=>ti in Rn?Bc(Rn,ti,{enumerable:!0,configurable:!0,writable:!0,value:Wi}):Rn[ti]=Wi,ql=(Rn,ti)=>{for(var Wi in ti||(ti={}))sf.call(ti,Wi)&&xl(Rn,Wi,ti[Wi]);if(gc)for(var Wi of gc(ti))mu.call(ti,Wi)&&xl(Rn,Wi,ti[Wi]);return Rn},Jl=(Rn,ti,Wi)=>new Promise((Ba,aa)=>{var Ca=ua=>{try{As(Wi.next(ua))}catch(Cs){aa(Cs)}},Oa=ua=>{try{As(Wi.throw(ua))}catch(Cs){aa(Cs)}},As=ua=>ua.done?Ba(ua.value):Promise.resolve(ua.value).then(Ca,Oa);As((Wi=Wi.apply(Rn,ti)).next())});const Qu="/react/build/",yc=!1;function ec(){return Jl(this,null,function*(){const Rn=(0,T.gD)(),{routes:ti,routeComponents:Wi}=yield Ef(Rn);yield Rn.applyPlugins({key:"patchRoutes",type:sn.ApplyPluginsType.event,args:{routes:ti,routeComponents:Wi}});const Ba=Rn.applyPlugins({key:"modifyContextOpts",type:sn.ApplyPluginsType.modify,initialValue:{}}),aa=Ba.basename||"/",Ca=Ba.historyType||"browser",Oa=(0,D.fi)(ql({type:Ca,basename:aa},Ba.historyOpts));return Rn.applyPlugins({key:"render",type:sn.ApplyPluginsType.compose,initialValue(){const As={useStream:!0,routes:ti,routeComponents:Wi,pluginManager:Rn,mountElementId:"root",rootElement:Ba.rootElement||document.getElementById("root"),loadingComponent:ke,publicPath:Qu,runtimePublicPath:yc,history:Oa,historyType:Ca,basename:aa,__INTERNAL_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:{pureApp:!1,pureHtml:!1},callback:Ba.callback},ua=Rn.applyPlugins({key:"modifyClientRenderOpts",type:sn.ApplyPluginsType.modify,initialValue:As});return Yl(ua)}})()})}ec(),typeof window!="undefined"&&(window.g_umi={version:"4.4.12"})})()})();
|