|
|
(function(){var __webpack_modules__={30071:function(d,v,e){"use strict";e.r(v),e.d(v,{blue:function(){return le},blueDark:function(){return $e},cyan:function(){return ie},cyanDark:function(){return He},geekblue:function(){return q},geekblueDark:function(){return Bt},generate:function(){return C},gold:function(){return K},goldDark:function(){return ae},gray:function(){return ee},green:function(){return se},greenDark:function(){return ke},grey:function(){return ue},greyDark:function(){return nr},lime:function(){return W},limeDark:function(){return De},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 D},purple:function(){return J},purpleDark:function(){return gt},red:function(){return M},redDark:function(){return ce},volcano:function(){return B},volcanoDark:function(){return z},yellow:function(){return G},yellowDark:function(){return _e}});var r=e(4635);const i=Math.round;function l(cr,Ge){const Tt=cr.replace(/^[^(]*\((.*)/,"$1").replace(/\).*/,"").match(/\d*\.?\d+%?/g)||[],Ut=Tt.map(at=>parseFloat(at));for(let at=0;at<3;at+=1)Ut[at]=Ge(Ut[at]||0,Tt[at]||"",at);return Tt[3]?Ut[3]=Tt[3].includes("%")?Ut[3]/100:Ut[3]:Ut[3]=1,Ut}const c=(cr,Ge,Tt)=>Tt===0?cr:cr/100;function f(cr,Ge){const Tt=Ge||255;return cr>Tt?Tt:cr<0?0:cr}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(Ut){return Ut[0]in Ge&&Ut[1]in Ge&&Ut[2]in Ge}if(Ge)if(typeof Ge=="string"){let at=function(bt){return Ut.startsWith(bt)};const Ut=Ge.trim();/^#?[A-F\d]{3,8}$/i.test(Ut)?this.fromHexString(Ut):at("rgb")?this.fromRgbString(Ut):at("hsl")?this.fromHslString(Ut):(at("hsv")||at("hsb"))&&this.fromHsvString(Ut)}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),Ut=Ge(this.g),at=Ge(this.b);return .2126*Tt+.7152*Ut+.0722*at}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(),Ut=this.getSaturation();let at=this.getLightness()-Ge/100;return at<0&&(at=0),this._c({h:Tt,s:Ut,l:at,a:this.a})}lighten(Ge=10){const Tt=this.getHue(),Ut=this.getSaturation();let at=this.getLightness()+Ge/100;return at>1&&(at=1),this._c({h:Tt,s:Ut,l:at,a:this.a})}mix(Ge,Tt=50){const Ut=this._c(Ge),at=Tt/100,bt=tt=>(Ut[tt]-this[tt])*at+this[tt],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),Ut=this.a+Tt.a*(1-this.a),at=bt=>i((this[bt]*this.a+Tt[bt]*Tt.a*(1-this.a))/Ut);return this._c({r:at("r"),g:at("g"),b:at("b"),a:Ut})}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 Ut=(this.g||0).toString(16);Ge+=Ut.length===2?Ut:"0"+Ut;const at=(this.b||0).toString(16);if(Ge+=at.length===2?at:"0"+at,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),Ut=i(this.getLightness()*100);return this.a!==1?`hsla(${Ge},${Tt}%,${Ut}%,${this.a})`:`hsl(${Ge},${Tt}%,${Ut}%)`}toHsv(){return{h:this.getHue(),s:this.getSaturation(),v:this.getValue(),a:this.a}}toRgb(){return{r:this.r,g:this.g,b:this.b,a:this.a}}toRgbString(){return this.a!==1?`rgba(${this.r},${this.g},${this.b},${this.a})`:`rgb(${this.r},${this.g},${this.b})`}toString(){return this.toRgbString()}_sc(Ge,Tt,Ut){const at=this.clone();return at[Ge]=f(Tt,Ut),at}_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 Ut(at,bt){return parseInt(Tt[at]+Tt[bt||at],16)}Tt.length<6?(this.r=Ut(0),this.g=Ut(1),this.b=Ut(2),this.a=Tt[3]?Ut(3)/255:1):(this.r=Ut(0,1),this.g=Ut(2,3),this.b=Ut(4,5),this.a=Tt[6]?Ut(6,7)/255:1)}fromHsl({h:Ge,s:Tt,l:Ut,a:at}){if(this._h=Ge%360,this._s=Tt,this._l=Ut,this.a=typeof at=="number"?at:1,Tt<=0){const je=i(Ut*255);this.r=je,this.g=je,this.b=je}let bt=0,dt=0,tt=0;const Ue=Ge/60,ye=(1-Math.abs(2*Ut-1))*Tt,Ce=ye*(1-Math.abs(Ue%2-1));Ue>=0&&Ue<1?(bt=ye,dt=Ce):Ue>=1&&Ue<2?(bt=Ce,dt=ye):Ue>=2&&Ue<3?(dt=ye,tt=Ce):Ue>=3&&Ue<4?(dt=Ce,tt=ye):Ue>=4&&Ue<5?(bt=Ce,tt=ye):Ue>=5&&Ue<6&&(bt=ye,tt=Ce);const Me=Ut-ye/2;this.r=i((bt+Me)*255),this.g=i((dt+Me)*255),this.b=i((tt+Me)*255)}fromHsv({h:Ge,s:Tt,v:Ut,a:at}){this._h=Ge%360,this._s=Tt,this._v=Ut,this.a=typeof at=="number"?at:1;const bt=i(Ut*255);if(this.r=bt,this.g=bt,this.b=bt,Tt<=0)return;const dt=Ge/60,tt=Math.floor(dt),Ue=dt-tt,ye=i(Ut*(1-Tt)*255),Ce=i(Ut*(1-Tt*Ue)*255),Me=i(Ut*(1-Tt*(1-Ue))*255);switch(tt){case 0:this.g=Me,this.b=ye;break;case 1:this.r=Ce,this.b=ye;break;case 2:this.r=ye,this.b=Me;break;case 3:this.r=ye,this.g=Ce;break;case 4:this.r=Me,this.g=ye;break;case 5:default:this.g=ye,this.b=Ce;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,(Ut,at)=>at.includes("%")?i(Ut/100*255):Ut);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 A(cr,Ge,Tt){var Ut;return Math.round(cr.h)>=60&&Math.round(cr.h)<=240?Ut=Tt?Math.round(cr.h)-h*Ge:Math.round(cr.h)+h*Ge:Ut=Tt?Math.round(cr.h)+h*Ge:Math.round(cr.h)-h*Ge,Ut<0?Ut+=360:Ut>=360&&(Ut-=360),Ut}function k(cr,Ge,Tt){if(cr.h===0&&cr.s===0)return cr.s;var Ut;return Tt?Ut=cr.s-u*Ge:Ge===_?Ut=cr.s+u:Ut=cr.s+a*Ge,Ut>1&&(Ut=1),Tt&&Ge===y&&Ut>.1&&(Ut=.1),Ut<.06&&(Ut=.06),Math.round(Ut*100)/100}function R(cr,Ge,Tt){var Ut;return Tt?Ut=cr.v+x*Ge:Ut=cr.v-p*Ge,Ut=Math.max(0,Math.min(1,Ut)),Math.round(Ut*100)/100}function C(cr){for(var Ge=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},Tt=[],Ut=new o(cr),at=Ut.toHsv(),bt=y;bt>0;bt-=1){var dt=new o({h:A(at,bt,!0),s:k(at,bt,!0),v:R(at,bt,!0)});Tt.push(dt)}Tt.push(Ut);for(var tt=1;tt<=_;tt+=1){var Ue=new o({h:A(at,tt),s:k(at,tt),v:R(at,tt)});Tt.push(Ue)}return Ge.theme==="dark"?b.map(function(ye){var Ce=ye.index,Me=ye.amount;return new o(Ge.backgroundColor||"#141414").mix(Tt[Ce],Me).toHexString()}):Tt.map(function(ye){return ye.toHexString()})}var D={red:"#F5222D",volcano:"#FA541C",orange:"#FA8C16",gold:"#FAAD14",yellow:"#FADB14",lime:"#A0D911",green:"#52C41A",cyan:"#13C2C2",blue:"#1677FF",geekblue:"#2F54EB",purple:"#722ED1",magenta:"#EB2F96",grey:"#666666"},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 W=["#fcffe6","#f4ffb8","#eaff8f","#d3f261","#bae637","#a0d911","#7cb305","#5b8c00","#3f6600","#254000"];W.primary=W[5];var se=["#f6ffed","#d9f7be","#b7eb8f","#95de64","#73d13d","#52c41a","#389e0d","#237804","#135200","#092b00"];se.primary=se[5];var ie=["#e6fffb","#b5f5ec","#87e8de","#5cdbd3","#36cfc9","#13c2c2","#08979c","#006d75","#00474f","#002329"];ie.primary=ie[5];var le=["#e6f4ff","#bae0ff","#91caff","#69b1ff","#4096ff","#1677ff","#0958d9","#003eb3","#002c8c","#001d66"];le.primary=le[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 ue=["#a6a6a6","#999999","#8c8c8c","#808080","#737373","#666666","#404040","#1a1a1a","#000000","#000000"];ue.primary=ue[5];var ee=ue,Q={red:M,volcano:B,orange:N,gold:K,yellow:G,lime:W,green:se,cyan:ie,blue:le,geekblue:q,purple:J,magenta:V,grey:ue},ce=["#2a1215","#431418","#58181c","#791a1f","#a61d24","#d32029","#e84749","#f37370","#f89f9a","#fac8c3"];ce.primary=ce[5];var z=["#2b1611","#441d12","#592716","#7c3118","#aa3e19","#d84a1b","#e87040","#f3956a","#f8b692","#fad4bc"];z.primary=z[5];var $=["#2b1d11","#442a11","#593815","#7c4a15","#aa6215","#d87a16","#e89a3c","#f3b765","#f8cf8d","#fae3b7"];$.primary=$[5];var ae=["#2b2111","#443111","#594214","#7c5914","#aa7714","#d89614","#e8b339","#f3cc62","#f8df8b","#faedb5"];ae.primary=ae[5];var _e=["#2b2611","#443b11","#595014","#7c6e14","#aa9514","#d8bd14","#e8d639","#f3ea62","#f8f48b","#fafab5"];_e.primary=_e[5];var De=["#1f2611","#2e3c10","#3e4f13","#536d13","#6f9412","#8bbb11","#a9d134","#c9e75d","#e4f88b","#f0fab5"];De.primary=De[5];var ke=["#162312","#1d3712","#274916","#306317","#3c8618","#49aa19","#6abe39","#8fd460","#b2e58b","#d5f2bb"];ke.primary=ke[5];var He=["#112123","#113536","#144848","#146262","#138585","#13a8a8","#33bcb7","#58d1c9","#84e2d8","#b2f1e8"];He.primary=He[5];var $e=["#111a2c","#112545","#15325b","#15417e","#1554ad","#1668dc","#3c89e8","#65a9f3","#8dc5f8","#b7dcfa"];$e.primary=$e[5];var Bt=["#131629","#161d40","#1c2755","#203175","#263ea0","#2b4acb","#5273e0","#7f9ef3","#a8c1f8","#d2e0fa"];Bt.primary=Bt[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 nr=["#151515","#1f1f1f","#2d2d2d","#393939","#494949","#5a5a5a","#6a6a6a","#7b7b7b","#888888","#969696"];nr.primary=nr[5];var Xt={red:ce,volcano:z,orange:$,gold:ae,yellow:_e,lime:De,green:ke,cyan:He,blue:$e,geekblue:Bt,purple:gt,magenta:Dt,grey:nr}},36237:function(d,v,e){"use strict";e.r(v),e.d(v,{Keyframes:function(){return vo},NaNLinter:function(){return La},StyleContext:function(){return ie},StyleProvider:function(){return se},Theme:function(){return Dt},_experimental:function(){return hu},createCache:function(){return G},createTheme:function(){return Xt},extractStyle:function(){return mo},genCalc:function(){return ke},getComputedToken:function(){return mr},legacyLogicalPropertiesTransformer:function(){return au},legacyNotSelectorLinter:function(){return ta},logicalPropertiesLinter:function(){return Ks},parentSelectorLinter:function(){return ss},px2remTransformer:function(){return Ao},token2CSSVar:function(){return Pe},unit:function(){return Vt},useCSSVarRegister:function(){return No},useCacheToken:function(){return nn},useStyleRegister:function(){return $a}});var r=e(50298),i=e(4635),l=e(95190),c=e(20439);function f(qt){for(var hr=0,sr,pr=0,Ar=qt.length;Ar>=4;++pr,Ar-=4)sr=qt.charCodeAt(pr)&255|(qt.charCodeAt(++pr)&255)<<8|(qt.charCodeAt(++pr)&255)<<16|(qt.charCodeAt(++pr)&255)<<24,sr=(sr&65535)*1540483477+((sr>>>16)*59797<<16),sr^=sr>>>24,hr=(sr&65535)*1540483477+((sr>>>16)*59797<<16)^(hr&65535)*1540483477+((hr>>>16)*59797<<16);switch(Ar){case 3:hr^=(qt.charCodeAt(pr+2)&255)<<16;case 2:hr^=(qt.charCodeAt(pr+1)&255)<<8;case 1:hr^=qt.charCodeAt(pr)&255,hr=(hr&65535)*1540483477+((hr>>>16)*59797<<16)}return hr^=hr>>>13,hr=(hr&65535)*1540483477+((hr>>>16)*59797<<16),((hr^hr>>>15)>>>0).toString(36)}var o=f,h=e(810),u=e(59301),a=e.t(u,2),x=e(62646),p=e(80547),y=e(13697),_=e(99153),b=e(84851),A="%";function k(qt){return qt.join(A)}var R=function(){function qt(hr){(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=hr}return(0,b.Z)(qt,[{key:"get",value:function(sr){return this.opGet(k(sr))}},{key:"opGet",value:function(sr){return this.cache.get(sr)||null}},{key:"update",value:function(sr,pr){return this.opUpdate(k(sr),pr)}},{key:"opUpdate",value:function(sr,pr){var Ar=this.cache.get(sr),fn=pr(Ar);fn===null?this.cache.delete(sr):this.cache.set(sr,fn)}}]),qt}(),C=R,D=["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 hr=document.body.querySelectorAll("style[".concat(B,"]"))||[],sr=document.head.firstChild;Array.from(hr).forEach(function(Ar){Ar[K]=Ar[K]||qt,Ar[K]===qt&&document.head.insertBefore(Ar,sr)});var pr={};Array.from(document.querySelectorAll("style[".concat(B,"]"))).forEach(function(Ar){var fn=Ar.getAttribute(B);if(pr[fn]){if(Ar[K]===qt){var Rn;(Rn=Ar.parentNode)===null||Rn===void 0||Rn.removeChild(Ar)}}else pr[fn]=!0})}return new C(qt)}var W=u.createContext({hashPriority:"low",cache:G(),defaultCache:!0}),se=function(hr){var sr=hr.children,pr=(0,x.Z)(hr,D),Ar=u.useContext(W),fn=(0,p.Z)(function(){var Rn=(0,c.Z)({},Ar);Object.keys(pr).forEach(function(Ln){var Jn=pr[Ln];pr[Ln]!==void 0&&(Rn[Ln]=Jn)});var wn=pr.cache;return Rn.cache=Rn.cache||G(),Rn.defaultCache=!wn&&Ar.defaultCache,Rn},[Ar,pr],function(Rn,wn){return!(0,y.Z)(Rn[0],wn[0],!0)||!(0,y.Z)(Rn[1],wn[1],!0)});return u.createElement(W.Provider,{value:fn},sr)},ie=W,le=e(93664),q=e(47273),J=e(13028),V=e(19257),ue=e(93046),ee=(0,b.Z)(function qt(){(0,_.Z)(this,qt)}),Q=ee,ce="CALC_UNIT",z=new RegExp(ce,"g");function $(qt){return typeof qt=="number"?"".concat(qt).concat(ce):qt}var ae=function(qt){(0,V.Z)(sr,qt);var hr=(0,ue.Z)(sr);function sr(pr,Ar){var fn;(0,_.Z)(this,sr),fn=hr.call(this),(0,i.Z)((0,J.Z)(fn),"result",""),(0,i.Z)((0,J.Z)(fn),"unitlessCssVar",void 0),(0,i.Z)((0,J.Z)(fn),"lowPriority",void 0);var Rn=(0,le.Z)(pr);return fn.unitlessCssVar=Ar,pr instanceof sr?fn.result="(".concat(pr.result,")"):Rn==="number"?fn.result=$(pr):Rn==="string"&&(fn.result=pr),fn}return(0,b.Z)(sr,[{key:"add",value:function(Ar){return Ar instanceof sr?this.result="".concat(this.result," + ").concat(Ar.getResult()):(typeof Ar=="number"||typeof Ar=="string")&&(this.result="".concat(this.result," + ").concat($(Ar))),this.lowPriority=!0,this}},{key:"sub",value:function(Ar){return Ar instanceof sr?this.result="".concat(this.result," - ").concat(Ar.getResult()):(typeof Ar=="number"||typeof Ar=="string")&&(this.result="".concat(this.result," - ").concat($(Ar))),this.lowPriority=!0,this}},{key:"mul",value:function(Ar){return this.lowPriority&&(this.result="(".concat(this.result,")")),Ar instanceof sr?this.result="".concat(this.result," * ").concat(Ar.getResult(!0)):(typeof Ar=="number"||typeof Ar=="string")&&(this.result="".concat(this.result," * ").concat(Ar)),this.lowPriority=!1,this}},{key:"div",value:function(Ar){return this.lowPriority&&(this.result="(".concat(this.result,")")),Ar instanceof sr?this.result="".concat(this.result," / ").concat(Ar.getResult(!0)):(typeof Ar=="number"||typeof Ar=="string")&&(this.result="".concat(this.result," / ").concat(Ar)),this.lowPriority=!1,this}},{key:"getResult",value:function(Ar){return this.lowPriority||Ar?"(".concat(this.result,")"):this.result}},{key:"equal",value:function(Ar){var fn=this,Rn=Ar||{},wn=Rn.unit,Ln=!0;return typeof wn=="boolean"?Ln=wn:Array.from(this.unitlessCssVar).some(function(Jn){return fn.result.includes(Jn)})&&(Ln=!1),this.result=this.result.replace(z,Ln?"px":""),typeof this.lowPriority!="undefined"?"calc(".concat(this.result,")"):this.result}}]),sr}(Q),_e=function(qt){(0,V.Z)(sr,qt);var hr=(0,ue.Z)(sr);function sr(pr){var Ar;return(0,_.Z)(this,sr),Ar=hr.call(this),(0,i.Z)((0,J.Z)(Ar),"result",0),pr instanceof sr?Ar.result=pr.result:typeof pr=="number"&&(Ar.result=pr),Ar}return(0,b.Z)(sr,[{key:"add",value:function(Ar){return Ar instanceof sr?this.result+=Ar.result:typeof Ar=="number"&&(this.result+=Ar),this}},{key:"sub",value:function(Ar){return Ar instanceof sr?this.result-=Ar.result:typeof Ar=="number"&&(this.result-=Ar),this}},{key:"mul",value:function(Ar){return Ar instanceof sr?this.result*=Ar.result:typeof Ar=="number"&&(this.result*=Ar),this}},{key:"div",value:function(Ar){return Ar instanceof sr?this.result/=Ar.result:typeof Ar=="number"&&(this.result/=Ar),this}},{key:"equal",value:function(){return this.result}}]),sr}(Q),De=function(hr,sr){var pr=hr==="css"?ae:_e;return function(Ar){return new pr(Ar,sr)}},ke=De;function He(qt,hr){if(qt.length!==hr.length)return!1;for(var sr=0;sr<qt.length;sr++)if(qt[sr]!==hr[sr])return!1;return!0}var $e=function(){function qt(){(0,_.Z)(this,qt),(0,i.Z)(this,"cache",void 0),(0,i.Z)(this,"keys",void 0),(0,i.Z)(this,"cacheCallTimes",void 0),this.cache=new Map,this.keys=[],this.cacheCallTimes=0}return(0,b.Z)(qt,[{key:"size",value:function(){return this.keys.length}},{key:"internalGet",value:function(sr){var pr,Ar,fn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Rn={map:this.cache};return sr.forEach(function(wn){if(!Rn)Rn=void 0;else{var Ln;Rn=(Ln=Rn)===null||Ln===void 0||(Ln=Ln.map)===null||Ln===void 0?void 0:Ln.get(wn)}}),(pr=Rn)!==null&&pr!==void 0&&pr.value&&fn&&(Rn.value[1]=this.cacheCallTimes++),(Ar=Rn)===null||Ar===void 0?void 0:Ar.value}},{key:"get",value:function(sr){var pr;return(pr=this.internalGet(sr,!0))===null||pr===void 0?void 0:pr[0]}},{key:"has",value:function(sr){return!!this.internalGet(sr)}},{key:"set",value:function(sr,pr){var Ar=this;if(!this.has(sr)){if(this.size()+1>qt.MAX_CACHE_SIZE+qt.MAX_CACHE_OFFSET){var fn=this.keys.reduce(function(Jn,Qn){var dr=(0,r.Z)(Jn,2),Lr=dr[1];return Ar.internalGet(Qn)[1]<Lr?[Qn,Ar.internalGet(Qn)[1]]:Jn},[this.keys[0],this.cacheCallTimes]),Rn=(0,r.Z)(fn,1),wn=Rn[0];this.delete(wn)}this.keys.push(sr)}var Ln=this.cache;sr.forEach(function(Jn,Qn){if(Qn===sr.length-1)Ln.set(Jn,{value:[pr,Ar.cacheCallTimes++]});else{var dr=Ln.get(Jn);dr?dr.map||(dr.map=new Map):Ln.set(Jn,{map:new Map}),Ln=Ln.get(Jn).map}})}},{key:"deleteByPath",value:function(sr,pr){var Ar=sr.get(pr[0]);if(pr.length===1){var fn;return Ar.map?sr.set(pr[0],{map:Ar.map}):sr.delete(pr[0]),(fn=Ar.value)===null||fn===void 0?void 0:fn[0]}var Rn=this.deleteByPath(Ar.map,pr.slice(1));return(!Ar.map||Ar.map.size===0)&&!Ar.value&&sr.delete(pr[0]),Rn}},{key:"delete",value:function(sr){if(this.has(sr))return this.keys=this.keys.filter(function(pr){return!He(pr,sr)}),this.deleteByPath(this.cache,sr)}}]),qt}();(0,i.Z)($e,"MAX_CACHE_SIZE",20),(0,i.Z)($e,"MAX_CACHE_OFFSET",5);var Bt=e(48736),gt=0,Dt=function(){function qt(hr){(0,_.Z)(this,qt),(0,i.Z)(this,"derivatives",void 0),(0,i.Z)(this,"id",void 0),this.derivatives=Array.isArray(hr)?hr:[hr],this.id=gt,hr.length===0&&(0,Bt.Kp)(hr.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(sr){return this.derivatives.reduce(function(pr,Ar){return Ar(sr,pr)},void 0)}}]),qt}(),nr=new $e;function Xt(qt){var hr=Array.isArray(qt)?qt:[qt];return nr.has(hr)||nr.set(hr,new Dt(hr)),nr.get(hr)}var cr=new WeakMap,Ge={};function Tt(qt,hr){for(var sr=cr,pr=0;pr<hr.length;pr+=1){var Ar=hr[pr];sr.has(Ar)||sr.set(Ar,new WeakMap),sr=sr.get(Ar)}return sr.has(Ge)||sr.set(Ge,qt()),sr.get(Ge)}var Ut=new WeakMap;function at(qt){var hr=Ut.get(qt)||"";return hr||(Object.keys(qt).forEach(function(sr){var pr=qt[sr];hr+=sr,pr instanceof Dt?hr+=pr.id:pr&&(0,le.Z)(pr)==="object"?hr+=at(pr):hr+=pr}),hr=o(hr),Ut.set(qt,hr)),hr}function bt(qt,hr){return o("".concat(hr,"_").concat(at(qt)))}var dt="random-".concat(Date.now(),"-").concat(Math.random()).replace(/\./g,""),tt="_bAmBoO_";function Ue(qt,hr,sr){if((0,q.Z)()){var pr,Ar;(0,h.hq)(qt,dt);var fn=document.createElement("div");fn.style.position="fixed",fn.style.left="0",fn.style.top="0",hr==null||hr(fn),document.body.appendChild(fn);var Rn=sr?sr(fn):(pr=getComputedStyle(fn).content)===null||pr===void 0?void 0:pr.includes(tt);return(Ar=fn.parentNode)===null||Ar===void 0||Ar.removeChild(fn),(0,h.jL)(dt),Rn}return!1}var ye=null;function Ce(){return ye===void 0&&(ye=Ue("@layer ".concat(dt," { .").concat(dt,' { content: "').concat(tt,'"!important; } }'),function(qt){qt.className=dt})),ye}var Me=void 0;function je(){return Me===void 0&&(Me=Ue(":where(.".concat(dt,') { content: "').concat(tt,'"!important; }'),function(qt){qt.className=dt})),Me}var We=void 0;function nt(){return We===void 0&&(We=Ue(".".concat(dt," { inset-block: 93px !important; }"),function(qt){qt.className=dt},function(qt){return getComputedStyle(qt).bottom==="93px"})),We}var lt=(0,q.Z)();function Vt(qt){return typeof qt=="number"?"".concat(qt,"px"):qt}function Ht(qt,hr,sr){var pr=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},Ar=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!1;if(Ar)return qt;var fn=(0,c.Z)((0,c.Z)({},pr),{},(0,i.Z)((0,i.Z)({},M,hr),B,sr)),Rn=Object.keys(fn).map(function(wn){var Ln=fn[wn];return Ln?"".concat(wn,'="').concat(Ln,'"'):null}).filter(function(wn){return wn}).join(" ");return"<style ".concat(Rn,">").concat(qt,"</style>")}var Pe=function(hr){var sr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";return"--".concat(sr?"".concat(sr,"-"):"").concat(hr).replace(/([a-z0-9])([A-Z])/g,"$1-$2").replace(/([A-Z]+)([A-Z][a-z0-9]+)/g,"$1-$2").replace(/([a-z])([A-Z0-9])/g,"$1-$2").toLowerCase()},et=function(hr,sr,pr){return Object.keys(hr).length?".".concat(sr).concat(pr!=null&&pr.scope?".".concat(pr.scope):"","{").concat(Object.entries(hr).map(function(Ar){var fn=(0,r.Z)(Ar,2),Rn=fn[0],wn=fn[1];return"".concat(Rn,":").concat(wn,";")}).join(""),"}"):""},Kt=function(hr,sr,pr){var Ar={},fn={};return Object.entries(hr).forEach(function(Rn){var wn,Ln,Jn=(0,r.Z)(Rn,2),Qn=Jn[0],dr=Jn[1];if(pr!=null&&(wn=pr.preserve)!==null&&wn!==void 0&&wn[Qn])fn[Qn]=dr;else if((typeof dr=="string"||typeof dr=="number")&&!(pr!=null&&(Ln=pr.ignore)!==null&&Ln!==void 0&&Ln[Qn])){var Lr,Or=Pe(Qn,pr==null?void 0:pr.prefix);Ar[Or]=typeof dr=="number"&&!(pr!=null&&(Lr=pr.unitless)!==null&&Lr!==void 0&&Lr[Qn])?"".concat(dr,"px"):String(dr),fn[Qn]="var(".concat(Or,")")}}),[fn,et(Ar,sr,{scope:pr==null?void 0:pr.scope})]},kt=e(34280),Zt=(0,c.Z)({},a),Nt=Zt.useInsertionEffect,tr=function(hr,sr,pr){u.useMemo(hr,pr),(0,kt.Z)(function(){return sr(!0)},pr)},Wt=Nt?function(qt,hr,sr){return Nt(function(){return qt(),hr()},sr)}:tr,Fe=Wt,fe=(0,c.Z)({},a),pe=fe.useInsertionEffect,Pt=function(hr){var sr=[],pr=!1;function Ar(fn){pr||sr.push(fn)}return u.useEffect(function(){return pr=!1,function(){pr=!0,sr.length&&sr.forEach(function(fn){return fn()})}},hr),Ar},Ie=function(){return function(hr){hr()}},ct=typeof pe!="undefined"?Pt:Ie,zt=ct;function wt(){return!1}var Oe=!1;function xt(){return Oe}var xe=wt;if(0)var Ye,mt;function Mt(qt,hr,sr,pr,Ar){var fn=u.useContext(ie),Rn=fn.cache,wn=[qt].concat((0,l.Z)(hr)),Ln=k(wn),Jn=zt([Ln]),Qn=xe(),dr=function(yn){Rn.opUpdate(Ln,function(ht){var Dn=ht||[void 0,void 0],Mn=(0,r.Z)(Dn,2),Ei=Mn[0],Zi=Ei===void 0?0:Ei,Jt=Mn[1],Yi=Jt,Bi=Yi||sr(),fa=[Zi,Bi];return yn?yn(fa):fa})};u.useMemo(function(){dr()},[Ln]);var Lr=Rn.opGet(Ln),Or=Lr[1];return Fe(function(){Ar==null||Ar(Or)},function(gn){return dr(function(yn){var ht=(0,r.Z)(yn,2),Dn=ht[0],Mn=ht[1];return gn&&Dn===0&&(Ar==null||Ar(Or)),[Dn+1,Mn]}),function(){Rn.opUpdate(Ln,function(yn){var ht=yn||[],Dn=(0,r.Z)(ht,2),Mn=Dn[0],Ei=Mn===void 0?0:Mn,Zi=Dn[1],Jt=Ei-1;return Jt===0?(Jn(function(){(gn||!Rn.opGet(Ln))&&(pr==null||pr(Zi,!1))}),null):[Ei-1,Zi]})}},[Ln]),Or}var Be={},Ir="css",St=new Map;function Zr(qt){St.set(qt,(St.get(qt)||0)+1)}function Yr(qt,hr){if(typeof document!="undefined"){var sr=document.querySelectorAll("style[".concat(M,'="').concat(qt,'"]'));sr.forEach(function(pr){if(pr[K]===hr){var Ar;(Ar=pr.parentNode)===null||Ar===void 0||Ar.removeChild(pr)}})}}var xr=0;function Mr(qt,hr){St.set(qt,(St.get(qt)||0)-1);var sr=new Set;St.forEach(function(pr,Ar){pr<=0&&sr.add(Ar)}),St.size-sr.size>xr&&sr.forEach(function(pr){Yr(pr,hr),St.delete(pr)})}var mr=function(hr,sr,pr,Ar){var fn=pr.getDerivativeToken(hr),Rn=(0,c.Z)((0,c.Z)({},fn),sr);return Ar&&(Rn=Ar(Rn)),Rn},Nr="token";function nn(qt,hr){var sr=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},pr=(0,u.useContext)(ie),Ar=pr.cache.instanceId,fn=pr.container,Rn=sr.salt,wn=Rn===void 0?"":Rn,Ln=sr.override,Jn=Ln===void 0?Be:Ln,Qn=sr.formatToken,dr=sr.getComputedToken,Lr=sr.cssVar,Or=Tt(function(){return Object.assign.apply(Object,[{}].concat((0,l.Z)(hr)))},hr),gn=at(Or),yn=at(Jn),ht=Lr?at(Lr):"",Dn=Mt(Nr,[wn,qt.id,gn,yn,ht],function(){var Mn,Ei=dr?dr(Or,Jn,qt):mr(Or,Jn,qt,Qn),Zi=(0,c.Z)({},Ei),Jt="";if(Lr){var Yi=Kt(Ei,Lr.key,{prefix:Lr.prefix,ignore:Lr.ignore,unitless:Lr.unitless,preserve:Lr.preserve}),Bi=(0,r.Z)(Yi,2);Ei=Bi[0],Jt=Bi[1]}var fa=bt(Ei,wn);Ei._tokenKey=fa,Zi._tokenKey=bt(Zi,wn);var Ja=(Mn=Lr==null?void 0:Lr.key)!==null&&Mn!==void 0?Mn:fa;Ei._themeKey=Ja,Zr(Ja);var gs="".concat(Ir,"-").concat(o(fa));return Ei._hashId=gs,[Ei,gs,Zi,Jt,(Lr==null?void 0:Lr.key)||""]},function(Mn){Mr(Mn[0]._themeKey,Ar)},function(Mn){var Ei=(0,r.Z)(Mn,4),Zi=Ei[0],Jt=Ei[3];if(Lr&&Jt){var Yi=(0,h.hq)(Jt,o("css-variables-".concat(Zi._themeKey)),{mark:B,prepend:"queue",attachTo:fn,priority:-999});Yi[K]=Ar,Yi.setAttribute(M,Zi._themeKey)}});return Dn}var on=function(hr,sr,pr){var Ar=(0,r.Z)(hr,5),fn=Ar[2],Rn=Ar[3],wn=Ar[4],Ln=pr||{},Jn=Ln.plain;if(!Rn)return null;var Qn=fn._tokenKey,dr=-999,Lr={"data-rc-order":"prependQueue","data-rc-priority":"".concat(dr)},Or=Ht(Rn,wn,Qn,Lr,Jn);return[dr,Qn,Or]},or=e(14809),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-",$t="-moz-",Sr="-webkit-",vr="comm",Qr="rule",Wr="decl",An="@page",At="@media",lr="@import",Vr="@charset",dn="@viewport",Bn="@supports",ti="@document",Un="@namespace",Ri="@keyframes",ni="@font-face",ci="@counter-style",gi="@font-feature-values",di="@layer",Qi="@scope",Gn=Math.abs,Xi=String.fromCharCode,Et=Object.assign;function st(qt,hr){return _i(qt,0)^45?(((hr<<2^_i(qt,0))<<2^_i(qt,1))<<2^_i(qt,2))<<2^_i(qt,3):0}function Vn(qt){return qt.trim()}function yi(qt,hr){return(qt=hr.exec(qt))?qt[0]:qt}function Kn(qt,hr,sr){return qt.replace(hr,sr)}function Ki(qt,hr,sr){return qt.indexOf(hr,sr)}function _i(qt,hr){return qt.charCodeAt(hr)|0}function ei(qt,hr,sr){return qt.slice(hr,sr)}function vn(qt){return qt.length}function er(qt){return qt.length}function pt(qt,hr){return hr.push(qt),qt}function rt(qt,hr){return qt.map(hr).join("")}function Ot(qt,hr){return qt.filter(function(sr){return!yi(sr,hr)})}function ft(qt,hr){for(var sr="",pr=0;pr<qt.length;pr++)sr+=hr(qt[pr],pr,qt,hr)||"";return sr}function ur(qt,hr,sr,pr){switch(qt.type){case di:if(qt.children.length)break;case lr:case Un:case Wr:return qt.return=qt.return||qt.value;case vr:return"";case Ri:return qt.return=qt.value+"{"+ft(qt.children,pr)+"}";case Qr:if(!vn(qt.value=qt.props.join(",")))return""}return vn(sr=ft(qt.children,pr))?qt.return=qt.value+"{"+sr+"}":""}var fr=1,Tr=1,$r=0,Ze=0,qe=0,Ee="";function ot(qt,hr,sr,pr,Ar,fn,Rn,wn){return{value:qt,root:hr,parent:sr,type:pr,props:Ar,children:fn,line:fr,column:Tr,length:Rn,return:"",siblings:wn}}function ar(qt,hr){return assign(ot("",null,null,"",null,null,0,qt.siblings),qt,{length:-qt.length},hr)}function br(qt){for(;qt.root;)qt=ar(qt.root,{children:[qt]});append(qt,qt.siblings)}function Dr(){return qe}function Pr(){return qe=Ze>0?_i(Ee,--Ze):0,Tr--,qe===10&&(Tr=1,fr--),qe}function Fr(){return qe=Ze<$r?_i(Ee,Ze++):0,Tr++,qe===10&&(Tr=1,fr++),qe}function mn(){return _i(Ee,Ze)}function Er(){return Ze}function un(qt,hr){return ei(Ee,qt,hr)}function Jr(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 sn(qt){return fr=Tr=1,$r=vn(Ee=qt),Ze=0,[]}function xn(qt){return Ee="",qt}function ha(qt){return Vn(un(Ze-1,Fi(qt===91?qt+2:qt===40?qt+1:qt)))}function Ci(qt){return xn(_n(sn(qt)))}function li(qt){for(;(qe=mn())&&qe<33;)Fr();return Jr(qt)>2||Jr(qe)>3?"":" "}function _n(qt){for(;Fr();)switch(Jr(qe)){case 0:append(Cs(Ze-1),qt);break;case 2:append(ha(qe),qt);break;default:append(from(qe),qt)}return qt}function ai(qt,hr){for(;--hr&&Fr()&&!(qe<48||qe>102||qe>57&&qe<65||qe>70&&qe<97););return un(qt,Er()+(hr<6&&mn()==32&&Fr()==32))}function Fi(qt){for(;Fr();)switch(qe){case qt:return Ze;case 34:case 39:qt!==34&&qt!==39&&Fi(qe);break;case 40:qt===41&&Fi(qt);break;case 92:Fr();break}return Ze}function oa(qt,hr){for(;Fr()&&qt+qe!==57;)if(qt+qe===84&&mn()===47)break;return"/*"+un(hr,Ze-1)+"*"+Xi(qt===47?qt:Fr())}function Cs(qt){for(;!Jr(mn());)Fr();return un(qt,Ze)}function ua(qt){return xn(ms("",null,null,null,[""],qt=sn(qt),0,[0],qt))}function ms(qt,hr,sr,pr,Ar,fn,Rn,wn,Ln){for(var Jn=0,Qn=0,dr=Rn,Lr=0,Or=0,gn=0,yn=1,ht=1,Dn=1,Mn=0,Ei="",Zi=Ar,Jt=fn,Yi=pr,Bi=Ei;ht;)switch(gn=Mn,Mn=Fr()){case 40:if(gn!=108&&_i(Bi,dr-1)==58){Ki(Bi+=Kn(ha(Mn),"&","&\f"),"&\f",Gn(Jn?wn[Jn-1]:0))!=-1&&(Dn=-1);break}case 34:case 39:case 91:Bi+=ha(Mn);break;case 9:case 10:case 13:case 32:Bi+=li(gn);break;case 92:Bi+=ai(Er()-1,7);continue;case 47:switch(mn()){case 42:case 47:pt(Ra(oa(Fr(),Er()),hr,sr,Ln),Ln),(Jr(gn||1)==5||Jr(mn()||1)==5)&&vn(Bi)&&ei(Bi,-1,void 0)!==" "&&(Bi+=" ");break;default:Bi+="/"}break;case 123*yn:wn[Jn++]=vn(Bi)*Dn;case 125*yn:case 59:case 0:switch(Mn){case 0:case 125:ht=0;case 59+Qn:Dn==-1&&(Bi=Kn(Bi,/\f/g,"")),Or>0&&(vn(Bi)-dr||yn===0&&gn===47)&&pt(Or>32?ws(Bi+";",pr,sr,dr-1,Ln):ws(Kn(Bi," ","")+";",pr,sr,dr-2,Ln),Ln);break;case 59:Bi+=";";default:if(pt(Yi=Ts(Bi,hr,sr,Jn,Qn,Ar,wn,Ei,Zi=[],Jt=[],dr,fn),fn),Mn===123)if(Qn===0)ms(Bi,hr,Yi,Yi,Zi,fn,dr,wn,Jt);else{switch(Lr){case 99:if(_i(Bi,3)===110)break;case 108:if(_i(Bi,2)===97)break;default:Qn=0;case 100:case 109:case 115:}Qn?ms(qt,Yi,Yi,pr&&pt(Ts(qt,Yi,Yi,0,0,Ar,wn,Ei,Ar,Zi=[],dr,Jt),Jt),Ar,Jt,dr,wn,pr?Zi:Jt):ms(Bi,Yi,Yi,Yi,[""],Jt,0,wn,Jt)}}Jn=Qn=Or=0,yn=Dn=1,Ei=Bi="",dr=Rn;break;case 58:dr=1+vn(Bi),Or=gn;default:if(yn<1){if(Mn==123)--yn;else if(Mn==125&&yn++==0&&Pr()==125)continue}switch(Bi+=Xi(Mn),Mn*yn){case 38:Dn=Qn>0?1:(Bi+="\f",-1);break;case 44:wn[Jn++]=(vn(Bi)-1)*Dn,Dn=1;break;case 64:mn()===45&&(Bi+=ha(Fr())),Lr=mn(),Qn=dr=vn(Ei=Bi+=Cs(Er())),Mn++;break;case 45:gn===45&&vn(Bi)==2&&(yn=0)}}return fn}function Ts(qt,hr,sr,pr,Ar,fn,Rn,wn,Ln,Jn,Qn,dr){for(var Lr=Ar-1,Or=Ar===0?fn:[""],gn=er(Or),yn=0,ht=0,Dn=0;yn<pr;++yn)for(var Mn=0,Ei=ei(qt,Lr+1,Lr=Gn(ht=Rn[yn])),Zi=qt;Mn<gn;++Mn)(Zi=Vn(ht>0?Or[Mn]+" "+Ei:Kn(Ei,/&\f/g,Or[Mn])))&&(Ln[Dn++]=Zi);return ot(qt,hr,sr,Ar===0?Qr:wn,Ln,Jn,Qn,dr)}function Ra(qt,hr,sr,pr){return ot(qt,hr,sr,vr,Xi(Dr()),ei(qt,2,-2),0,pr)}function ws(qt,hr,sr,pr,Ar){return ot(qt,hr,sr,Wr,ei(qt,0,pr),ei(qt,pr+1,-1),pr,Ar)}function Zn(qt,hr){var sr=hr.path,pr=hr.parentSelectors;(0,Bt.ZP)(!1,"[Ant Design CSS-in-JS] ".concat(sr?"Error in ".concat(sr,": "):"").concat(qt).concat(pr.length?" Selector: ".concat(pr.join(" | ")):""))}var ns=function(hr,sr,pr){if(hr==="content"){var Ar=/(attr|counters?|url|(((repeating-)?(linear|radial))|conic)-gradient)\(|(no-)?(open|close)-quote/,fn=["normal","none","initial","inherit","unset"];(typeof sr!="string"||fn.indexOf(sr)===-1&&!Ar.test(sr)&&(sr.charAt(0)!==sr.charAt(sr.length-1)||sr.charAt(0)!=='"'&&sr.charAt(0)!=="'"))&&lintWarning("You seem to be using a value for 'content' without quotes, try replacing it with `content: '\"".concat(sr,"\"'`."),pr)}},Ga=null,Ps=function(hr,sr,pr){hr==="animation"&&pr.hashId&&sr!=="none"&&lintWarning("You seem to be using hashed animation '".concat(sr,"', in which case 'animationName' with Keyframe as value is recommended."),pr)},zi=null;function vs(qt){var hr,sr=((hr=qt.match(/:not\(([^)]*)\)/))===null||hr===void 0?void 0:hr[1])||"",pr=sr.split(/(\[[^[]*])|(?=[.#])/).filter(function(Ar){return Ar});return pr.length>1}function Po(qt){return qt.parentSelectors.reduce(function(hr,sr){return hr?sr.includes("&")?sr.replace(/&/g,hr):"".concat(hr," ").concat(sr):sr},"")}var Pa=function(hr,sr,pr){var Ar=Po(pr),fn=Ar.match(/:not\([^)]*\)/g)||[];fn.length>0&&fn.some(vs)&&Zn("Concat ':not' selector not support in legacy browsers.",pr)},ta=Pa,Fa=function(hr,sr,pr){switch(hr){case"marginLeft":case"marginRight":case"paddingLeft":case"paddingRight":case"left":case"right":case"borderLeft":case"borderLeftWidth":case"borderLeftStyle":case"borderLeftColor":case"borderRight":case"borderRightWidth":case"borderRightStyle":case"borderRightColor":case"borderTopLeftRadius":case"borderTopRightRadius":case"borderBottomLeftRadius":case"borderBottomRightRadius":Zn("You seem to be using non-logical property '".concat(hr,"' which is not compatible with RTL mode. Please use logical properties and values instead. For more information: https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Logical_Properties."),pr);return;case"margin":case"padding":case"borderWidth":case"borderStyle":if(typeof sr=="string"){var Ar=sr.split(" ").map(function(wn){return wn.trim()});Ar.length===4&&Ar[1]!==Ar[3]&&Zn("You seem to be using '".concat(hr,"' property with different left ").concat(hr," and right ").concat(hr,", which is not compatible with RTL mode. Please use logical properties and values instead. For more information: https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Logical_Properties."),pr)}return;case"clear":case"textAlign":(sr==="left"||sr==="right")&&Zn("You seem to be using non-logical value '".concat(sr,"' of ").concat(hr,", which is not compatible with RTL mode. Please use logical properties and values instead. For more information: https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Logical_Properties."),pr);return;case"borderRadius":if(typeof sr=="string"){var fn=sr.split("/").map(function(wn){return wn.trim()}),Rn=fn.reduce(function(wn,Ln){if(wn)return wn;var Jn=Ln.split(" ").map(function(Qn){return Qn.trim()});return Jn.length>=2&&Jn[0]!==Jn[1]||Jn.length===3&&Jn[1]!==Jn[2]||Jn.length===4&&Jn[2]!==Jn[3]?!0:wn},!1);Rn&&Zn("You seem to be using non-logical value '".concat(sr,"' of ").concat(hr,", which is not compatible with RTL mode. Please use logical properties and values instead. For more information: https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Logical_Properties."),pr)}return;default:}},Ks=Fa,In=function(hr,sr,pr){(typeof sr=="string"&&/NaN/g.test(sr)||Number.isNaN(sr))&&Zn("Unexpected 'NaN' in property '".concat(hr,": ").concat(sr,"'."),pr)},La=In,as=function(hr,sr,pr){pr.parentSelectors.some(function(Ar){var fn=Ar.split(",");return fn.some(function(Rn){return Rn.split("&").length>2})})&&Zn("Should not use more than one `&` in a selector.",pr)},ss=as,Li="data-ant-cssinjs-cache-path",Da="_FILE_STYLE__";function Ia(qt){return Object.keys(qt).map(function(hr){var sr=qt[hr];return"".concat(hr,":").concat(sr)}).join(";")}var cs,Ys=!0;function Eo(qt){var hr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;cs=qt,Ys=hr}function Io(){if(!cs&&(cs={},(0,q.Z)())){var qt=document.createElement("div");qt.className=Li,qt.style.position="fixed",qt.style.visibility="hidden",qt.style.top="-9999px",document.body.appendChild(qt);var hr=getComputedStyle(qt).content||"";hr=hr.replace(/^"/,"").replace(/"$/,""),hr.split(";").forEach(function(Ar){var fn=Ar.split(":"),Rn=(0,r.Z)(fn,2),wn=Rn[0],Ln=Rn[1];cs[wn]=Ln});var sr=document.querySelector("style[".concat(Li,"]"));if(sr){var pr;Ys=!1,(pr=sr.parentNode)===null||pr===void 0||pr.removeChild(sr)}document.body.removeChild(qt)}}function Do(qt){return Io(),!!cs[qt]}function Ba(qt){var hr=cs[qt],sr=null;if(hr&&(0,q.Z)())if(Ys)sr=Da;else{var pr=document.querySelector("style[".concat(B,'="').concat(cs[qt],'"]'));pr?sr=pr.innerHTML:delete cs[qt]}return[sr,hr]}var qa="_skip_check_",lo="_multi_value_";function Oo(qt){var hr=ft(ua(qt),ur);return hr.replace(/\{%%%\:[^;];}/g,";")}function wo(qt){return(0,le.Z)(qt)==="object"&&qt&&(qa in qt||lo in qt)}function ko(qt,hr,sr){if(!hr)return qt;var pr=".".concat(hr),Ar=sr==="low"?":where(".concat(pr,")"):pr,fn=qt.split(",").map(function(Rn){var wn,Ln=Rn.trim().split(/\s+/),Jn=Ln[0]||"",Qn=((wn=Jn.match(/^\w+/))===null||wn===void 0?void 0:wn[0])||"";return Jn="".concat(Qn).concat(Ar).concat(Jn.slice(Qn.length)),[Jn].concat((0,l.Z)(Ln.slice(1))).join(" ")});return fn.join(",")}var fi=function qt(hr){var sr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},pr=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{root:!0,parentSelectors:[]},Ar=pr.root,fn=pr.injectHash,Rn=pr.parentSelectors,wn=sr.hashId,Ln=sr.layer,Jn=sr.path,Qn=sr.hashPriority,dr=sr.transformers,Lr=dr===void 0?[]:dr,Or=sr.linters,gn=Or===void 0?[]:Or,yn="",ht={};function Dn(Zi){var Jt=Zi.getName(wn);if(!ht[Jt]){var Yi=qt(Zi.style,sr,{root:!1,parentSelectors:Rn}),Bi=(0,r.Z)(Yi,1),fa=Bi[0];ht[Jt]="@keyframes ".concat(Zi.getName(wn)).concat(fa)}}function Mn(Zi){var Jt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[];return Zi.forEach(function(Yi){Array.isArray(Yi)?Mn(Yi,Jt):Yi&&Jt.push(Yi)}),Jt}var Ei=Mn(Array.isArray(hr)?hr:[hr]);return Ei.forEach(function(Zi){var Jt=typeof Zi=="string"&&!Ar?{}:Zi;if(typeof Jt=="string")yn+="".concat(Jt,`
|
|
|
`);else if(Jt._keyframe)Dn(Jt);else{var Yi=Lr.reduce(function(Bi,fa){var Ja;return(fa==null||(Ja=fa.visit)===null||Ja===void 0?void 0:Ja.call(fa,Bi))||Bi},Jt);Object.keys(Yi).forEach(function(Bi){var fa=Yi[Bi];if((0,le.Z)(fa)==="object"&&fa&&(Bi!=="animationName"||!fa._keyframe)&&!wo(fa)){var Ja=!1,gs=Bi.trim(),Ti=!1;(Ar||fn)&&wn?gs.startsWith("@")?Ja=!0:gs==="&"?gs=ko("",wn,Qn):gs=ko(Bi,wn,Qn):Ar&&!wn&&(gs==="&"||gs==="")&&(gs="",Ti=!0);var io=qt(fa,sr,{root:Ti,injectHash:Ja,parentSelectors:[].concat((0,l.Z)(Rn),[gs])}),Us=(0,r.Z)(io,2),ds=Us[0],Ea=Us[1];ht=(0,c.Z)((0,c.Z)({},ht),Ea),yn+="".concat(gs).concat(ds)}else{let kn=function(Ss,zs){var Xe=Ss.replace(/[A-Z]/g,function(Ft){return"-".concat(Ft.toLowerCase())}),Qe=zs;!_t[Ss]&&typeof Qe=="number"&&Qe!==0&&(Qe="".concat(Qe,"px")),Ss==="animationName"&&zs!==null&&zs!==void 0&&zs._keyframe&&(Dn(zs),Qe=zs.getName(wn)),yn+="".concat(Xe,":").concat(Qe,";")};var us,Qs=(us=fa==null?void 0:fa.value)!==null&&us!==void 0?us:fa;(0,le.Z)(fa)==="object"&&fa!==null&&fa!==void 0&&fa[lo]&&Array.isArray(Qs)?Qs.forEach(function(Ss){kn(Bi,Ss)}):kn(Bi,Qs)}})}}),Ar?Ln&&(yn&&(yn="@layer ".concat(Ln.name," {").concat(yn,"}")),Ln.dependencies&&(ht["@layer ".concat(Ln.name)]=Ln.dependencies.map(function(Zi){return"@layer ".concat(Zi,", ").concat(Ln.name,";")}).join(`
|
|
|
`))):yn="{".concat(yn,"}"),[yn,ht]};function si(qt,hr){return o("".concat(qt.join("%")).concat(hr))}function Na(){return null}var Va="style";function $a(qt,hr){var sr=qt.token,pr=qt.path,Ar=qt.hashId,fn=qt.layer,Rn=qt.nonce,wn=qt.clientOnly,Ln=qt.order,Jn=Ln===void 0?0:Ln,Qn=u.useContext(ie),dr=Qn.autoClear,Lr=Qn.mock,Or=Qn.defaultCache,gn=Qn.hashPriority,yn=Qn.container,ht=Qn.ssrInline,Dn=Qn.transformers,Mn=Qn.linters,Ei=Qn.cache,Zi=Qn.layer,Jt=sr._tokenKey,Yi=[Jt];Zi&&Yi.push("layer"),Yi.push.apply(Yi,(0,l.Z)(pr));var Bi=lt,fa=Mt(Va,Yi,function(){var Us=Yi.join("|");if(Do(Us)){var ds=Ba(Us),Ea=(0,r.Z)(ds,2),us=Ea[0],Qs=Ea[1];if(us)return[us,Jt,Qs,{},wn,Jn]}var kn=hr(),Ss=fi(kn,{hashId:Ar,hashPriority:gn,layer:Zi?fn:void 0,path:pr.join("-"),transformers:Dn,linters:Mn}),zs=(0,r.Z)(Ss,2),Xe=zs[0],Qe=zs[1],Ft=Oo(Xe),Gt=si(Yi,Ft);return[Ft,Jt,Gt,Qe,wn,Jn]},function(Us,ds){var Ea=(0,r.Z)(Us,3),us=Ea[2];(ds||dr)&<&&(0,h.jL)(us,{mark:B,attachTo:yn})},function(Us){var ds=(0,r.Z)(Us,4),Ea=ds[0],us=ds[1],Qs=ds[2],kn=ds[3];if(Bi&&Ea!==Da){var Ss={mark:B,prepend:Zi?!1:"queue",attachTo:yn,priority:Jn},zs=typeof Rn=="function"?Rn():Rn;zs&&(Ss.csp={nonce:zs});var Xe=[],Qe=[];Object.keys(kn).forEach(function(Gt){Gt.startsWith("@layer")?Xe.push(Gt):Qe.push(Gt)}),Xe.forEach(function(Gt){(0,h.hq)(Oo(kn[Gt]),"_layer-".concat(Gt),(0,c.Z)((0,c.Z)({},Ss),{},{prepend:!0}))});var Ft=(0,h.hq)(Ea,Qs,Ss);Ft[K]=Ei.instanceId,Ft.setAttribute(M,Jt),Qe.forEach(function(Gt){(0,h.hq)(Oo(kn[Gt]),"_effect-".concat(Gt),Ss)})}}),Ja=(0,r.Z)(fa,3),gs=Ja[0],Ti=Ja[1],io=Ja[2];return function(Us){var ds;return!ht||Bi||!Or?ds=u.createElement(Na,null):ds=u.createElement("style",(0,or.Z)({},(0,i.Z)((0,i.Z)({},M,Ti),B,io),{dangerouslySetInnerHTML:{__html:gs}})),u.createElement(u.Fragment,null,ds,Us)}}var Xs=function(hr,sr,pr){var Ar=(0,r.Z)(hr,6),fn=Ar[0],Rn=Ar[1],wn=Ar[2],Ln=Ar[3],Jn=Ar[4],Qn=Ar[5],dr=pr||{},Lr=dr.plain;if(Jn)return null;var Or=fn,gn={"data-rc-order":"prependQueue","data-rc-priority":"".concat(Qn)};return Or=Ht(fn,Rn,wn,gn,Lr),Ln&&Object.keys(Ln).forEach(function(yn){if(!sr[yn]){sr[yn]=!0;var ht=Oo(Ln[yn]),Dn=Ht(ht,Rn,"_effect-".concat(yn),gn,Lr);yn.startsWith("@layer")?Or=Dn+Or:Or+=Dn}}),[Qn,wn,Or]},So="cssVar",Zo=function(hr,sr){var pr=hr.key,Ar=hr.prefix,fn=hr.unitless,Rn=hr.ignore,wn=hr.token,Ln=hr.scope,Jn=Ln===void 0?"":Ln,Qn=(0,u.useContext)(ie),dr=Qn.cache.instanceId,Lr=Qn.container,Or=wn._tokenKey,gn=[].concat((0,l.Z)(hr.path),[pr,Jn,Or]),yn=Mt(So,gn,function(){var ht=sr(),Dn=Kt(ht,pr,{prefix:Ar,unitless:fn,ignore:Rn,scope:Jn}),Mn=(0,r.Z)(Dn,2),Ei=Mn[0],Zi=Mn[1],Jt=si(gn,Zi);return[Ei,Zi,Jt,pr]},function(ht){var Dn=(0,r.Z)(ht,3),Mn=Dn[2];lt&&(0,h.jL)(Mn,{mark:B,attachTo:Lr})},function(ht){var Dn=(0,r.Z)(ht,3),Mn=Dn[1],Ei=Dn[2];if(Mn){var Zi=(0,h.hq)(Mn,Ei,{mark:B,prepend:"queue",attachTo:Lr,priority:-999});Zi[K]=dr,Zi.setAttribute(M,pr)}});return yn},fs=function(hr,sr,pr){var Ar=(0,r.Z)(hr,4),fn=Ar[1],Rn=Ar[2],wn=Ar[3],Ln=pr||{},Jn=Ln.plain;if(!fn)return null;var Qn=-999,dr={"data-rc-order":"prependQueue","data-rc-priority":"".concat(Qn)},Lr=Ht(fn,wn,Rn,dr,Jn);return[Qn,Rn,Lr]},No=Zo,Ho=(0,i.Z)((0,i.Z)((0,i.Z)({},Va,Xs),Nr,on),So,fs);function iu(qt){return qt!==null}function mo(qt,hr){var sr=typeof hr=="boolean"?{plain:hr}:hr||{},pr=sr.plain,Ar=pr===void 0?!1:pr,fn=sr.types,Rn=fn===void 0?["style","token","cssVar"]:fn,wn=sr.once,Ln=wn===void 0?!1:wn,Jn=new RegExp("^(".concat((typeof Rn=="string"?[Rn]:Rn).join("|"),")%")),Qn=Array.from(qt.cache.keys()).filter(function(gn){return Jn.test(gn)}),dr={},Lr={},Or="";return Qn.map(function(gn){if(Ln&&qt.extracted.has(gn))return null;var yn=gn.replace(Jn,"").replace(/%/g,"|"),ht=gn.split("%"),Dn=(0,r.Z)(ht,1),Mn=Dn[0],Ei=Ho[Mn],Zi=Ei(qt.cache.get(gn)[1],dr,{plain:Ar});if(!Zi)return null;var Jt=(0,r.Z)(Zi,3),Yi=Jt[0],Bi=Jt[1],fa=Jt[2];return gn.startsWith("style")&&(Lr[yn]=Bi),qt.extracted.add(gn),[Yi,fa]}).filter(iu).sort(function(gn,yn){var ht=(0,r.Z)(gn,1),Dn=ht[0],Mn=(0,r.Z)(yn,1),Ei=Mn[0];return Dn-Ei}).forEach(function(gn){var yn=(0,r.Z)(gn,2),ht=yn[1];Or+=ht}),Or+=Ht(".".concat(Li,'{content:"').concat(Ia(Lr),'";}'),void 0,void 0,(0,i.Z)({},Li,Li),Ar),Or}var Cu=function(){function qt(hr,sr){(0,_.Z)(this,qt),(0,i.Z)(this,"name",void 0),(0,i.Z)(this,"style",void 0),(0,i.Z)(this,"_keyframe",!0),this.name=hr,this.style=sr}return(0,b.Z)(qt,[{key:"getName",value:function(){var sr=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return sr?"".concat(sr,"-").concat(this.name):this.name}}]),qt}(),vo=Cu;function Vs(qt){if(typeof qt=="number")return[[qt],!1];var hr=String(qt).trim(),sr=hr.match(/(.*)(!important)/),pr=(sr?sr[1]:hr).trim().split(/\s+/),Ar=[],fn=0;return[pr.reduce(function(Rn,wn){if(wn.includes("(")||wn.includes(")")){var Ln=wn.split("(").length-1,Jn=wn.split(")").length-1;fn+=Ln-Jn}return fn>=0&&Ar.push(wn),fn===0&&(Rn.push(Ar.join(" ")),Ar=[]),Rn},[]),!!sr]}function Ko(qt){return qt.notSplit=!0,qt}var du={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:Ko(["borderTop","borderBottom"]),borderBlockStart:Ko(["borderTop"]),borderBlockEnd:Ko(["borderBottom"]),borderInline:Ko(["borderLeft","borderRight"]),borderInlineStart:Ko(["borderLeft"]),borderInlineEnd:Ko(["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 co(qt,hr){var sr=qt;return hr&&(sr="".concat(sr," !important")),{_skip_check_:!0,value:sr}}var go={visit:function(hr){var sr={};return Object.keys(hr).forEach(function(pr){var Ar=hr[pr],fn=du[pr];if(fn&&(typeof Ar=="number"||typeof Ar=="string")){var Rn=Vs(Ar),wn=(0,r.Z)(Rn,2),Ln=wn[0],Jn=wn[1];fn.length&&fn.notSplit?fn.forEach(function(Qn){sr[Qn]=co(Ar,Jn)}):fn.length===1?sr[fn[0]]=co(Ln[0],Jn):fn.length===2?fn.forEach(function(Qn,dr){var Lr;sr[Qn]=co((Lr=Ln[dr])!==null&&Lr!==void 0?Lr:Ln[0],Jn)}):fn.length===4?fn.forEach(function(Qn,dr){var Lr,Or;sr[Qn]=co((Lr=(Or=Ln[dr])!==null&&Or!==void 0?Or:Ln[dr-2])!==null&&Lr!==void 0?Lr:Ln[0],Jn)}):sr[pr]=Ar}else sr[pr]=Ar}),sr}},au=go,Ro=/url\([^)]+\)|var\([^)]+\)|(\d*\.?\d+)px/g;function $o(qt,hr){var sr=Math.pow(10,hr+1),pr=Math.floor(qt*sr);return Math.round(pr/10)*10/sr}var os=function(){var hr=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},sr=hr.rootValue,pr=sr===void 0?16:sr,Ar=hr.precision,fn=Ar===void 0?5:Ar,Rn=hr.mediaQuery,wn=Rn===void 0?!1:Rn,Ln=function(dr,Lr){if(!Lr)return dr;var Or=parseFloat(Lr);if(Or<=1)return dr;var gn=$o(Or/pr,fn);return"".concat(gn,"rem")},Jn=function(dr){var Lr=(0,c.Z)({},dr);return Object.entries(dr).forEach(function(Or){var gn=(0,r.Z)(Or,2),yn=gn[0],ht=gn[1];if(typeof ht=="string"&&ht.includes("px")){var Dn=ht.replace(Ro,Ln);Lr[yn]=Dn}!_t[yn]&&typeof ht=="number"&&ht!==0&&(Lr[yn]="".concat(ht,"px").replace(Ro,Ln));var Mn=yn.trim();if(Mn.startsWith("@")&&Mn.includes("px")&&wn){var Ei=yn.replace(Ro,Ln);Lr[Ei]=Lr[yn],delete Lr[yn]}}),Lr};return{visit:Jn}},Ao=os,hu={supportModernCSS:function(){return je()&&nt()}}},7657:function(d,v,e){"use strict";e.d(v,{Z:function(){return ce}});var r=e(14809),i=e(50298),l=e(4635),c=e(62646),f=e(59301),o=e(92310),h=e.n(o),u=e(30071),a=e(18418),x=e(20439),p=e(93664),y=e(810),_=e(96452),b=e(48736);function A(z){return z.replace(/-(.)/g,function($,ae){return ae.toUpperCase()})}function k(z,$){(0,b.ZP)(z,"[@ant-design/icons] ".concat($))}function R(z){return(0,p.Z)(z)==="object"&&typeof z.name=="string"&&typeof z.theme=="string"&&((0,p.Z)(z.icon)==="object"||typeof z.icon=="function")}function C(){var z=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return Object.keys(z).reduce(function($,ae){var _e=z[ae];switch(ae){case"class":$.className=_e,delete $.class;break;default:delete $[ae],$[A(ae)]=_e}return $},{})}function D(z,$,ae){return ae?f.createElement(z.tag,(0,x.Z)((0,x.Z)({key:$},C(z.attrs)),ae),(z.children||[]).map(function(_e,De){return D(_e,"".concat($,"-").concat(z.tag,"-").concat(De))})):f.createElement(z.tag,(0,x.Z)({key:$},C(z.attrs)),(z.children||[]).map(function(_e,De){return D(_e,"".concat($,"-").concat(z.tag,"-").concat(De))}))}function M(z){return(0,u.generate)(z)[0]}function B(z){return z?Array.isArray(z)?z:[z]:[]}var 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 ae=(0,f.useContext)(a.Z),_e=ae.csp,De=ae.prefixCls,ke=ae.layer,He=K;De&&(He=He.replace(/anticon/g,De)),ke&&(He="@layer ".concat(ke,` {
|
|
|
`).concat(He,`
|
|
|
}`)),(0,f.useEffect)(function(){var $e=$.current,Bt=(0,_.A)($e);(0,y.hq)(He,"@ant-design-icons",{prepend:!ke,csp:_e,attachTo:Bt})},[])},W=["icon","className","onClick","style","primaryColor","secondaryColor"],se={primaryColor:"#333",secondaryColor:"#E6E6E6",calculated:!1};function ie(z){var $=z.primaryColor,ae=z.secondaryColor;se.primaryColor=$,se.secondaryColor=ae||M($),se.calculated=!!ae}function le(){return(0,x.Z)({},se)}var q=function($){var ae=$.icon,_e=$.className,De=$.onClick,ke=$.style,He=$.primaryColor,$e=$.secondaryColor,Bt=(0,c.Z)($,W),gt=f.useRef(),Dt=se;if(He&&(Dt={primaryColor:He,secondaryColor:$e||M(He)}),G(gt),k(R(ae),"icon should be icon definiton, but got ".concat(ae)),!R(ae))return null;var nr=ae;return nr&&typeof nr.icon=="function"&&(nr=(0,x.Z)((0,x.Z)({},nr),{},{icon:nr.icon(Dt.primaryColor,Dt.secondaryColor)})),D(nr.icon,"svg-".concat(nr.name),(0,x.Z)((0,x.Z)({className:_e,onClick:De,style:ke,"data-icon":nr.name,width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true"},Bt),{},{ref:gt}))};q.displayName="IconReact",q.getTwoToneColors=le,q.setTwoToneColors=ie;var J=q;function V(z){var $=B(z),ae=(0,i.Z)($,2),_e=ae[0],De=ae[1];return J.setTwoToneColors({primaryColor:_e,secondaryColor:De})}function ue(){var z=J.getTwoToneColors();return z.calculated?[z.primaryColor,z.secondaryColor]:z.primaryColor}var ee=["className","icon","spin","rotate","tabIndex","onClick","twoToneColor"];V(u.blue.primary);var Q=f.forwardRef(function(z,$){var ae=z.className,_e=z.icon,De=z.spin,ke=z.rotate,He=z.tabIndex,$e=z.onClick,Bt=z.twoToneColor,gt=(0,c.Z)(z,ee),Dt=f.useContext(a.Z),nr=Dt.prefixCls,Xt=nr===void 0?"anticon":nr,cr=Dt.rootClassName,Ge=h()(cr,Xt,(0,l.Z)((0,l.Z)({},"".concat(Xt,"-").concat(_e.name),!!_e.name),"".concat(Xt,"-spin"),!!De||_e.name==="loading"),ae),Tt=He;Tt===void 0&&$e&&(Tt=-1);var Ut=ke?{msTransform:"rotate(".concat(ke,"deg)"),transform:"rotate(".concat(ke,"deg)")}:void 0,at=B(Bt),bt=(0,i.Z)(at,2),dt=bt[0],tt=bt[1];return f.createElement("span",(0,r.Z)({role:"img","aria-label":_e.name},gt,{ref:$,tabIndex:Tt,onClick:$e,className:Ge}),f.createElement(J,{icon:_e,primaryColor:dt,secondaryColor:tt,style:Ut}))});Q.displayName="AntdIcon",Q.getTwoToneColor=ue,Q.setTwoToneColor=V;var ce=Q},18418:function(d,v,e){"use strict";var r=e(59301),i=(0,r.createContext)({});v.Z=i},29679:function(d,v,e){"use strict";e.d(v,{Z:function(){return u}});var r=e(14809),i=e(59301),l={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm193.5 301.7l-210.6 292a31.8 31.8 0 01-51.7 0L318.5 484.9c-3.8-5.3 0-12.7 6.5-12.7h46.9c10.2 0 19.9 4.9 25.9 13.3l71.2 98.8 157.2-218c6-8.3 15.6-13.3 25.9-13.3H699c6.5 0 10.3 7.4 6.5 12.7z"}}]},name:"check-circle",theme:"filled"},c=l,f=e(7657),o=function(x,p){return i.createElement(f.Z,(0,r.Z)({},x,{ref:p,icon:c}))},h=i.forwardRef(o),u=h},19248:function(d,v,e){"use strict";e.d(v,{Z:function(){return u}});var r=e(14809),i=e(59301),l={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64c247.4 0 448 200.6 448 448S759.4 960 512 960 64 759.4 64 512 264.6 64 512 64zm127.98 274.82h-.04l-.08.06L512 466.75 384.14 338.88c-.04-.05-.06-.06-.08-.06a.12.12 0 00-.07 0c-.03 0-.05.01-.09.05l-45.02 45.02a.2.2 0 00-.05.09.12.12 0 000 .07v.02a.27.27 0 00.06.06L466.75 512 338.88 639.86c-.05.04-.06.06-.06.08a.12.12 0 000 .07c0 .03.01.05.05.09l45.02 45.02a.2.2 0 00.09.05.12.12 0 00.07 0c.02 0 .04-.01.08-.05L512 557.25l127.86 127.87c.04.04.06.05.08.05a.12.12 0 00.07 0c.03 0 .05-.01.09-.05l45.02-45.02a.2.2 0 00.05-.09.12.12 0 000-.07v-.02a.27.27 0 00-.05-.06L557.25 512l127.87-127.86c.04-.04.05-.06.05-.08a.12.12 0 000-.07c0-.03-.01-.05-.05-.09l-45.02-45.02a.2.2 0 00-.09-.05.12.12 0 00-.07 0z"}}]},name:"close-circle",theme:"filled"},c=l,f=e(7657),o=function(x,p){return i.createElement(f.Z,(0,r.Z)({},x,{ref:p,icon:c}))},h=i.forwardRef(o),u=h},99267:function(d,v,e){"use strict";e.d(v,{Z:function(){return u}});var r=e(14809),i=e(59301),l={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M799.86 166.31c.02 0 .04.02.08.06l57.69 57.7c.04.03.05.05.06.08a.12.12 0 010 .06c0 .03-.02.05-.06.09L569.93 512l287.7 287.7c.04.04.05.06.06.09a.12.12 0 010 .07c0 .02-.02.04-.06.08l-57.7 57.69c-.03.04-.05.05-.07.06a.12.12 0 01-.07 0c-.03 0-.05-.02-.09-.06L512 569.93l-287.7 287.7c-.04.04-.06.05-.09.06a.12.12 0 01-.07 0c-.02 0-.04-.02-.08-.06l-57.69-57.7c-.04-.03-.05-.05-.06-.07a.12.12 0 010-.07c0-.03.02-.05.06-.09L454.07 512l-287.7-287.7c-.04-.04-.05-.06-.06-.09a.12.12 0 010-.07c0-.02.02-.04.06-.08l57.7-57.69c.03-.04.05-.05.07-.06a.12.12 0 01.07 0c.03 0 .05.02.09.06L512 454.07l287.7-287.7c.04-.04.06-.05.09-.06a.12.12 0 01.07 0z"}}]},name:"close",theme:"outlined"},c=l,f=e(7657),o=function(x,p){return i.createElement(f.Z,(0,r.Z)({},x,{ref:p,icon:c}))},h=i.forwardRef(o),u=h},96512:function(d,v,e){"use strict";e.d(v,{Z:function(){return u}});var r=e(14809),i=e(59301),l={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm-32 232c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v272c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V296zm32 440a48.01 48.01 0 010-96 48.01 48.01 0 010 96z"}}]},name:"exclamation-circle",theme:"filled"},c=l,f=e(7657),o=function(x,p){return i.createElement(f.Z,(0,r.Z)({},x,{ref:p,icon:c}))},h=i.forwardRef(o),u=h},78987:function(d,v,e){"use strict";e.d(v,{Z:function(){return u}});var r=e(14809),i=e(59301),l={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm32 664c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V456c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v272zm-32-344a48.01 48.01 0 010-96 48.01 48.01 0 010 96z"}}]},name:"info-circle",theme:"filled"},c=l,f=e(7657),o=function(x,p){return i.createElement(f.Z,(0,r.Z)({},x,{ref:p,icon:c}))},h=i.forwardRef(o),u=h},58617:function(d,v,e){"use strict";e.d(v,{Z:function(){return u}});var r=e(14809),i=e(59301),l={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M988 548c-19.9 0-36-16.1-36-36 0-59.4-11.6-117-34.6-171.3a440.45 440.45 0 00-94.3-139.9 437.71 437.71 0 00-139.9-94.3C629 83.6 571.4 72 512 72c-19.9 0-36-16.1-36-36s16.1-36 36-36c69.1 0 136.2 13.5 199.3 40.3C772.3 66 827 103 874 150c47 47 83.9 101.8 109.7 162.7 26.7 63.1 40.2 130.2 40.2 199.3.1 19.9-16 36-35.9 36z"}}]},name:"loading",theme:"outlined"},c=l,f=e(7657),o=function(x,p){return i.createElement(f.Z,(0,r.Z)({},x,{ref:p,icon:c}))},h=i.forwardRef(o),u=h},12722:function(d,v,e){"use strict";e.d(v,{GC:function(){return x},T6:function(){return y},VD:function(){return _},WE:function(){return h},Wl:function(){return p},Yt:function(){return b},lC:function(){return l},py:function(){return o},rW:function(){return i},s:function(){return a},ve:function(){return f},vq:function(){return u}});var r=e(12187);function i(A,k,R){return{r:(0,r.sh)(A,255)*255,g:(0,r.sh)(k,255)*255,b:(0,r.sh)(R,255)*255}}function l(A,k,R){A=(0,r.sh)(A,255),k=(0,r.sh)(k,255),R=(0,r.sh)(R,255);var C=Math.max(A,k,R),D=Math.min(A,k,R),M=0,B=0,N=(C+D)/2;if(C===D)B=0,M=0;else{var K=C-D;switch(B=N>.5?K/(2-C-D):K/(C+D),C){case A:M=(k-R)/K+(k<R?6:0);break;case k:M=(R-A)/K+2;break;case R:M=(A-k)/K+4;break;default:break}M/=6}return{h:M,s:B,l:N}}function c(A,k,R){return R<0&&(R+=1),R>1&&(R-=1),R<.16666666666666666?A+(k-A)*(6*R):R<.5?k:R<.6666666666666666?A+(k-A)*(.6666666666666666-R)*6:A}function f(A,k,R){var C,D,M;if(A=(0,r.sh)(A,360),k=(0,r.sh)(k,100),R=(0,r.sh)(R,100),k===0)D=R,M=R,C=R;else{var B=R<.5?R*(1+k):R+k-R*k,N=2*R-B;C=c(N,B,A+.3333333333333333),D=c(N,B,A),M=c(N,B,A-.3333333333333333)}return{r:C*255,g:D*255,b:M*255}}function o(A,k,R){A=(0,r.sh)(A,255),k=(0,r.sh)(k,255),R=(0,r.sh)(R,255);var C=Math.max(A,k,R),D=Math.min(A,k,R),M=0,B=C,N=C-D,K=C===0?0:N/C;if(C===D)M=0;else{switch(C){case A:M=(k-R)/N+(k<R?6:0);break;case k:M=(R-A)/N+2;break;case R:M=(A-k)/N+4;break;default:break}M/=6}return{h:M,s:K,v:B}}function h(A,k,R){A=(0,r.sh)(A,360)*6,k=(0,r.sh)(k,100),R=(0,r.sh)(R,100);var C=Math.floor(A),D=A-C,M=R*(1-k),B=R*(1-D*k),N=R*(1-(1-D)*k),K=C%6,G=[R,B,M,M,N,R][K],W=[N,R,R,B,M,M][K],se=[M,M,N,R,R,B][K];return{r:G*255,g:W*255,b:se*255}}function u(A,k,R,C){var D=[(0,r.FZ)(Math.round(A).toString(16)),(0,r.FZ)(Math.round(k).toString(16)),(0,r.FZ)(Math.round(R).toString(16))];return C&&D[0].startsWith(D[0].charAt(1))&&D[1].startsWith(D[1].charAt(1))&&D[2].startsWith(D[2].charAt(1))?D[0].charAt(0)+D[1].charAt(0)+D[2].charAt(0):D.join("")}function a(A,k,R,C,D){var M=[(0,r.FZ)(Math.round(A).toString(16)),(0,r.FZ)(Math.round(k).toString(16)),(0,r.FZ)(Math.round(R).toString(16)),(0,r.FZ)(p(C))];return D&&M[0].startsWith(M[0].charAt(1))&&M[1].startsWith(M[1].charAt(1))&&M[2].startsWith(M[2].charAt(1))&&M[3].startsWith(M[3].charAt(1))?M[0].charAt(0)+M[1].charAt(0)+M[2].charAt(0)+M[3].charAt(0):M.join("")}function x(A,k,R,C){var D=[(0,r.FZ)(p(C)),(0,r.FZ)(Math.round(A).toString(16)),(0,r.FZ)(Math.round(k).toString(16)),(0,r.FZ)(Math.round(R).toString(16))];return D.join("")}function p(A){return Math.round(parseFloat(A)*255).toString(16)}function y(A){return _(A)/255}function _(A){return parseInt(A,16)}function b(A){return{r:A>>16,g:(A&65280)>>8,b:A&255}}},93796:function(d,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},A=1,k=null,R=null,C=null,D=!1,M=!1;return typeof _=="string"&&(_=p(_)),typeof _=="object"&&(y(_.r)&&y(_.g)&&y(_.b)?(b=(0,r.rW)(_.r,_.g,_.b),D=!0,M=String(_.r).substr(-1)==="%"?"prgb":"rgb"):y(_.h)&&y(_.s)&&y(_.v)?(k=(0,l.JX)(_.s),R=(0,l.JX)(_.v),b=(0,r.WE)(_.h,k,R),D=!0,M="hsv"):y(_.h)&&y(_.s)&&y(_.l)&&(k=(0,l.JX)(_.s),C=(0,l.JX)(_.l),b=(0,r.ve)(_.h,k,C),D=!0,M="hsl"),Object.prototype.hasOwnProperty.call(_,"a")&&(A=_.a)),A=(0,l.Yq)(A),{ok:D,format:_.format||M,r:Math.min(255,Math.max(b.r,0)),g:Math.min(255,Math.max(b.g,0)),b:Math.min(255,Math.max(b.b,0)),a:A}}var f="[-\\+]?\\d+%?",o="[-\\+]?\\d*\\.\\d+%?",h="(?:".concat(o,")|(?:").concat(f,")"),u="[\\s|\\(]+(".concat(h,")[,|\\s]+(").concat(h,")[,|\\s]+(").concat(h,")\\s*\\)?"),a="[\\s|\\(]+(".concat(h,")[,|\\s]+(").concat(h,")[,|\\s]+(").concat(h,")[,|\\s]+(").concat(h,")\\s*\\)?"),x={CSS_UNIT:new RegExp(h),rgb:new RegExp("rgb"+u),rgba:new RegExp("rgba"+a),hsl:new RegExp("hsl"+u),hsla:new RegExp("hsla"+a),hsv:new RegExp("hsv"+u),hsva:new RegExp("hsva"+a),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/};function p(_){if(_=_.trim().toLowerCase(),_.length===0)return!1;var b=!1;if(i.R[_])_=i.R[_],b=!0;else if(_==="transparent")return{r:0,g:0,b:0,a:0,format:"name"};var A=x.rgb.exec(_);return A?{r:A[1],g:A[2],b:A[3]}:(A=x.rgba.exec(_),A?{r:A[1],g:A[2],b:A[3],a:A[4]}:(A=x.hsl.exec(_),A?{h:A[1],s:A[2],l:A[3]}:(A=x.hsla.exec(_),A?{h:A[1],s:A[2],l:A[3],a:A[4]}:(A=x.hsv.exec(_),A?{h:A[1],s:A[2],v:A[3]}:(A=x.hsva.exec(_),A?{h:A[1],s:A[2],v:A[3],a:A[4]}:(A=x.hex8.exec(_),A?{r:(0,r.VD)(A[1]),g:(0,r.VD)(A[2]),b:(0,r.VD)(A[3]),a:(0,r.T6)(A[4]),format:b?"name":"hex8"}:(A=x.hex6.exec(_),A?{r:(0,r.VD)(A[1]),g:(0,r.VD)(A[2]),b:(0,r.VD)(A[3]),format:b?"name":"hex"}:(A=x.hex4.exec(_),A?{r:(0,r.VD)(A[1]+A[1]),g:(0,r.VD)(A[2]+A[2]),b:(0,r.VD)(A[3]+A[3]),a:(0,r.T6)(A[4]+A[4]),format:b?"name":"hex8"}:(A=x.hex3.exec(_),A?{r:(0,r.VD)(A[1]+A[1]),g:(0,r.VD)(A[2]+A[2]),b:(0,r.VD)(A[3]+A[3]),format:b?"name":"hex"}:!1)))))))))}function y(_){return!!x.CSS_UNIT.exec(String(_))}},64993:function(d,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(50298),i=e(59301),l=e(4676),c=e(47273),f=e(48736),o=e(8654),h=i.createContext(null),u=h,a=e(95190),x=e(34280),p=[];function y(W,se){var ie=i.useState(function(){if(!(0,c.Z)())return null;var _e=document.createElement("div");return _e}),le=(0,r.Z)(ie,1),q=le[0],J=i.useRef(!1),V=i.useContext(u),ue=i.useState(p),ee=(0,r.Z)(ue,2),Q=ee[0],ce=ee[1],z=V||(J.current?void 0:function(_e){ce(function(De){var ke=[_e].concat((0,a.Z)(De));return ke})});function $(){q.parentElement||document.body.appendChild(q),J.current=!0}function ae(){var _e;(_e=q.parentElement)===null||_e===void 0||_e.removeChild(q),J.current=!1}return(0,x.Z)(function(){return W?V?V($):$():ae(),ae},[W]),(0,x.Z)(function(){Q.length&&(Q.forEach(function(_e){return _e()}),ce(p))},[Q]),[q,z]}var _=e(810),b=e(75152);function A(){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 C(W){var se=!!W,ie=i.useState(function(){return R+=1,"".concat(k,"_").concat(R)}),le=(0,r.Z)(ie,1),q=le[0];(0,x.Z)(function(){if(se){var J=(0,b.o)(document.body).width,V=A();(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)}},[se,q])}var D=!1;function M(W){return typeof W=="boolean"&&(D=W),D}var B=function(se){return se===!1?!1:!(0,c.Z)()||!se?null:typeof se=="string"?document.querySelector(se):typeof se=="function"?se():se},N=i.forwardRef(function(W,se){var ie=W.open,le=W.autoLock,q=W.getContainer,J=W.debug,V=W.autoDestroy,ue=V===void 0?!0:V,ee=W.children,Q=i.useState(ie),ce=(0,r.Z)(Q,2),z=ce[0],$=ce[1],ae=z||ie;i.useEffect(function(){(ue||ie)&&$(ie)},[ie,ue]);var _e=i.useState(function(){return B(q)}),De=(0,r.Z)(_e,2),ke=De[0],He=De[1];i.useEffect(function(){var at=B(q);He(at!=null?at:null)});var $e=y(ae&&!ke,J),Bt=(0,r.Z)($e,2),gt=Bt[0],Dt=Bt[1],nr=ke!=null?ke:gt;C(le&&ie&&(0,c.Z)()&&(nr===gt||nr===document.body));var Xt=null;if(ee&&(0,o.Yr)(ee)&&se){var cr=ee;Xt=cr.ref}var Ge=(0,o.x1)(Xt,se);if(!ae||!(0,c.Z)()||ke===void 0)return null;var Tt=nr===!1||M(),Ut=ee;return se&&(Ut=i.cloneElement(ee,{ref:Ge})),i.createElement(u.Provider,{value:Dt},Tt?Ut:(0,l.createPortal)(Ut,nr))}),K=N,G=K},35593:function(d,v,e){"use strict";e.d(v,{Z:function(){return Ut}});var r=e(20439),i=e(50298),l=e(62646),c=e(43403),f=e(92310),o=e.n(f),h=e(29301),u=e(76846),a=e(96452),x=e(6089),p=e(80402),y=e(34280),_=e(49658),b=e(59301),A=e(14809),k=e(77900),R=e(8654);function C(at){var bt=at.prefixCls,dt=at.align,tt=at.arrow,Ue=at.arrowPos,ye=tt||{},Ce=ye.className,Me=ye.content,je=Ue.x,We=je===void 0?0:je,nt=Ue.y,lt=nt===void 0?0:nt,Vt=b.useRef();if(!dt||!dt.points)return null;var Ht={position:"absolute"};if(dt.autoArrow!==!1){var Pe=dt.points[0],et=dt.points[1],Kt=Pe[0],kt=Pe[1],Zt=et[0],Nt=et[1];Kt===Zt||!["t","b"].includes(Kt)?Ht.top=lt:Kt==="t"?Ht.top=0:Ht.bottom=0,kt===Nt||!["l","r"].includes(kt)?Ht.left=We:kt==="l"?Ht.left=0:Ht.right=0}return b.createElement("div",{ref:Vt,className:o()("".concat(bt,"-arrow"),Ce),style:Ht},Me)}function D(at){var bt=at.prefixCls,dt=at.open,tt=at.zIndex,Ue=at.mask,ye=at.motion;return Ue?b.createElement(k.default,(0,A.Z)({},ye,{motionAppear:!0,visible:dt,removeOnLeave:!0}),function(Ce){var Me=Ce.className;return b.createElement("div",{style:{zIndex:tt},className:o()("".concat(bt,"-mask"),Me)})}):null}var M=b.memo(function(at){var bt=at.children;return bt},function(at,bt){return bt.cache}),B=M,N=b.forwardRef(function(at,bt){var dt=at.popup,tt=at.className,Ue=at.prefixCls,ye=at.style,Ce=at.target,Me=at.onVisibleChanged,je=at.open,We=at.keepDom,nt=at.fresh,lt=at.onClick,Vt=at.mask,Ht=at.arrow,Pe=at.arrowPos,et=at.align,Kt=at.motion,kt=at.maskMotion,Zt=at.forceRender,Nt=at.getPopupContainer,tr=at.autoDestroy,Wt=at.portal,Fe=at.zIndex,fe=at.onMouseEnter,pe=at.onMouseLeave,Pt=at.onPointerEnter,Ie=at.ready,ct=at.offsetX,zt=at.offsetY,wt=at.offsetR,Oe=at.offsetB,xt=at.onAlign,xe=at.onPrepare,Ye=at.stretch,mt=at.targetWidth,Mt=at.targetHeight,Be=typeof dt=="function"?dt():dt,Ir=je||We,St=(Nt==null?void 0:Nt.length)>0,Zr=b.useState(!Nt||!St),Yr=(0,i.Z)(Zr,2),xr=Yr[0],Mr=Yr[1];if((0,y.Z)(function(){!xr&&St&&Ce&&Mr(!0)},[xr,St,Ce]),!xr)return null;var mr="auto",Nr={left:"-1000vw",top:"-1000vh",right:mr,bottom:mr};if(Ie||!je){var nn,on=et.points,or=et.dynamicInset||((nn=et._experimental)===null||nn===void 0?void 0:nn.dynamicInset),Rt=or&&on[0][1]==="r",_t=or&&on[0][0]==="b";Rt?(Nr.right=wt,Nr.left=mr):(Nr.left=ct,Nr.right=mr),_t?(Nr.bottom=Oe,Nr.top=mr):(Nr.top=zt,Nr.bottom=mr)}var vt={};return Ye&&(Ye.includes("height")&&Mt?vt.height=Mt:Ye.includes("minHeight")&&Mt&&(vt.minHeight=Mt),Ye.includes("width")&&mt?vt.width=mt:Ye.includes("minWidth")&&mt&&(vt.minWidth=mt)),je||(vt.pointerEvents="none"),b.createElement(Wt,{open:Zt||Ir,getContainer:Nt&&function(){return Nt(Ce)},autoDestroy:tr},b.createElement(D,{prefixCls:Ue,open:je,zIndex:Fe,mask:Vt,motion:kt}),b.createElement(h.Z,{onResize:xt,disabled:!je},function($t){return b.createElement(k.default,(0,A.Z)({motionAppear:!0,motionEnter:!0,motionLeave:!0,removeOnLeave:!1,forceRender:Zt,leavedClassName:"".concat(Ue,"-hidden")},Kt,{onAppearPrepare:xe,onEnterPrepare:xe,visible:je,onVisibleChanged:function(vr){var Qr;Kt==null||(Qr=Kt.onVisibleChanged)===null||Qr===void 0||Qr.call(Kt,vr),Me(vr)}}),function(Sr,vr){var Qr=Sr.className,Wr=Sr.style,An=o()(Ue,Qr,tt);return b.createElement("div",{ref:(0,R.sQ)($t,bt,vr),className:An,style:(0,r.Z)((0,r.Z)((0,r.Z)((0,r.Z)({"--arrow-x":"".concat(Pe.x||0,"px"),"--arrow-y":"".concat(Pe.y||0,"px")},Nr),vt),Wr),{},{boxSizing:"border-box",zIndex:Fe},ye),onMouseEnter:fe,onMouseLeave:pe,onPointerEnter:Pt,onClick:lt},Ht&&b.createElement(C,{prefixCls:Ue,arrow:Ht,arrowPos:Pe,align:et}),b.createElement(B,{cache:!je&&!nt},Be))})}))}),K=N,G=b.forwardRef(function(at,bt){var dt=at.children,tt=at.getTriggerDOMNode,Ue=(0,R.Yr)(dt),ye=b.useCallback(function(Me){(0,R.mH)(bt,tt?tt(Me):Me)},[tt]),Ce=(0,R.x1)(ye,dt.ref);return Ue?b.cloneElement(dt,{ref:Ce}):dt}),W=G,se=b.createContext(null),ie=se;function le(at){return at?Array.isArray(at)?at:[at]:[]}function q(at,bt,dt,tt){return b.useMemo(function(){var Ue=le(dt!=null?dt:bt),ye=le(tt!=null?tt:bt),Ce=new Set(Ue),Me=new Set(ye);return at&&(Ce.has("hover")&&(Ce.delete("hover"),Ce.add("click")),Me.has("hover")&&(Me.delete("hover"),Me.add("click"))),[Ce,Me]},[at,bt,dt,tt])}var J=e(29194);function V(){var at=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?at[0]===bt[0]:at[0]===bt[0]&&at[1]===bt[1]}function ue(at,bt,dt,tt){for(var Ue=dt.points,ye=Object.keys(at),Ce=0;Ce<ye.length;Ce+=1){var Me,je=ye[Ce];if(V((Me=at[je])===null||Me===void 0?void 0:Me.points,Ue,tt))return"".concat(bt,"-placement-").concat(je)}return""}function ee(at,bt,dt,tt){return bt||(dt?{motionName:"".concat(at,"-").concat(dt)}:tt?{motionName:tt}:null)}function Q(at){return at.ownerDocument.defaultView}function ce(at){for(var bt=[],dt=at==null?void 0:at.parentElement,tt=["hidden","scroll","clip","auto"];dt;){var Ue=Q(dt).getComputedStyle(dt),ye=Ue.overflowX,Ce=Ue.overflowY,Me=Ue.overflow;[ye,Ce,Me].some(function(je){return tt.includes(je)})&&bt.push(dt),dt=dt.parentElement}return bt}function z(at){var bt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;return Number.isNaN(at)?bt:at}function $(at){return z(parseFloat(at),0)}function ae(at,bt){var dt=(0,r.Z)({},at);return(bt||[]).forEach(function(tt){if(!(tt instanceof HTMLBodyElement||tt instanceof HTMLHtmlElement)){var Ue=Q(tt).getComputedStyle(tt),ye=Ue.overflow,Ce=Ue.overflowClipMargin,Me=Ue.borderTopWidth,je=Ue.borderBottomWidth,We=Ue.borderLeftWidth,nt=Ue.borderRightWidth,lt=tt.getBoundingClientRect(),Vt=tt.offsetHeight,Ht=tt.clientHeight,Pe=tt.offsetWidth,et=tt.clientWidth,Kt=$(Me),kt=$(je),Zt=$(We),Nt=$(nt),tr=z(Math.round(lt.width/Pe*1e3)/1e3),Wt=z(Math.round(lt.height/Vt*1e3)/1e3),Fe=(Pe-et-Zt-Nt)*tr,fe=(Vt-Ht-Kt-kt)*Wt,pe=Kt*Wt,Pt=kt*Wt,Ie=Zt*tr,ct=Nt*tr,zt=0,wt=0;if(ye==="clip"){var Oe=$(Ce);zt=Oe*tr,wt=Oe*Wt}var xt=lt.x+Ie-zt,xe=lt.y+pe-wt,Ye=xt+lt.width+2*zt-Ie-ct-Fe,mt=xe+lt.height+2*wt-pe-Pt-fe;dt.left=Math.max(dt.left,xt),dt.top=Math.max(dt.top,xe),dt.right=Math.min(dt.right,Ye),dt.bottom=Math.min(dt.bottom,mt)}}),dt}function _e(at){var bt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,dt="".concat(bt),tt=dt.match(/^(.*)\%$/);return tt?at*(parseFloat(tt[1])/100):parseFloat(dt)}function De(at,bt){var dt=bt||[],tt=(0,i.Z)(dt,2),Ue=tt[0],ye=tt[1];return[_e(at.width,Ue),_e(at.height,ye)]}function ke(){var at=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return[at[0],at[1]]}function He(at,bt){var dt=bt[0],tt=bt[1],Ue,ye;return dt==="t"?ye=at.y:dt==="b"?ye=at.y+at.height:ye=at.y+at.height/2,tt==="l"?Ue=at.x:tt==="r"?Ue=at.x+at.width:Ue=at.x+at.width/2,{x:Ue,y:ye}}function $e(at,bt){var dt={t:"b",b:"t",l:"r",r:"l"};return at.map(function(tt,Ue){return Ue===bt?dt[tt]||"c":tt}).join("")}function Bt(at,bt,dt,tt,Ue,ye,Ce){var Me=b.useState({ready:!1,offsetX:0,offsetY:0,offsetR:0,offsetB:0,arrowX:0,arrowY:0,scaleX:1,scaleY:1,align:Ue[tt]||{}}),je=(0,i.Z)(Me,2),We=je[0],nt=je[1],lt=b.useRef(0),Vt=b.useMemo(function(){return bt?ce(bt):[]},[bt]),Ht=b.useRef({}),Pe=function(){Ht.current={}};at||Pe();var et=(0,x.Z)(function(){if(bt&&dt&&at){let Da=function(cs,Ys){var Eo=arguments.length>2&&arguments[2]!==void 0?arguments[2]:An,Io=Be.x+cs,Do=Be.y+Ys,Ba=Io+nn,qa=Do+Nr,lo=Math.max(Io,Eo.left),Oo=Math.max(Do,Eo.top),wo=Math.min(Ba,Eo.right),ko=Math.min(qa,Eo.bottom);return Math.max(0,(wo-lo)*(ko-Oo))},Ia=function(){ar=Be.y+er,br=ar+Nr,Dr=Be.x+vn,Pr=Dr+nn};var Zt,Nt,tr=bt,Wt=tr.ownerDocument,Fe=Q(tr),fe=Fe.getComputedStyle(tr),pe=fe.width,Pt=fe.height,Ie=fe.position,ct=tr.style.left,zt=tr.style.top,wt=tr.style.right,Oe=tr.style.bottom,xt=tr.style.overflow,xe=(0,r.Z)((0,r.Z)({},Ue[tt]),ye),Ye=Wt.createElement("div");(Zt=tr.parentElement)===null||Zt===void 0||Zt.appendChild(Ye),Ye.style.left="".concat(tr.offsetLeft,"px"),Ye.style.top="".concat(tr.offsetTop,"px"),Ye.style.position=Ie,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 Mt=dt.getBoundingClientRect();mt={x:Mt.x,y:Mt.y,width:Mt.width,height:Mt.height}}var Be=tr.getBoundingClientRect(),Ir=Wt.documentElement,St=Ir.clientWidth,Zr=Ir.clientHeight,Yr=Ir.scrollWidth,xr=Ir.scrollHeight,Mr=Ir.scrollTop,mr=Ir.scrollLeft,Nr=Be.height,nn=Be.width,on=mt.height,or=mt.width,Rt={left:0,top:0,right:St,bottom:Zr},_t={left:-mr,top:-Mr,right:Yr-mr,bottom:xr-Mr},vt=xe.htmlRegion,$t="visible",Sr="visibleFirst";vt!=="scroll"&&vt!==Sr&&(vt=$t);var vr=vt===Sr,Qr=ae(_t,Vt),Wr=ae(Rt,Vt),An=vt===$t?Wr:Qr,At=vr?Wr:An;tr.style.left="auto",tr.style.top="auto",tr.style.right="0",tr.style.bottom="0";var lr=tr.getBoundingClientRect();tr.style.left=ct,tr.style.top=zt,tr.style.right=wt,tr.style.bottom=Oe,tr.style.overflow=xt,(Nt=tr.parentElement)===null||Nt===void 0||Nt.removeChild(Ye);var Vr=z(Math.round(nn/parseFloat(pe)*1e3)/1e3),dn=z(Math.round(Nr/parseFloat(Pt)*1e3)/1e3);if(Vr===0||dn===0||(0,u.Sh)(dt)&&!(0,J.Z)(dt))return;var Bn=xe.offset,ti=xe.targetOffset,Un=De(Be,Bn),Ri=(0,i.Z)(Un,2),ni=Ri[0],ci=Ri[1],gi=De(mt,ti),di=(0,i.Z)(gi,2),Qi=di[0],Gn=di[1];mt.x-=Qi,mt.y-=Gn;var Xi=xe.points||[],Et=(0,i.Z)(Xi,2),st=Et[0],Vn=Et[1],yi=ke(Vn),Kn=ke(st),Ki=He(mt,yi),_i=He(Be,Kn),ei=(0,r.Z)({},xe),vn=Ki.x-_i.x+ni,er=Ki.y-_i.y+ci,pt=Da(vn,er),rt=Da(vn,er,Wr),Ot=He(mt,["t","l"]),ft=He(Be,["t","l"]),ur=He(mt,["b","r"]),fr=He(Be,["b","r"]),Tr=xe.overflow||{},$r=Tr.adjustX,Ze=Tr.adjustY,qe=Tr.shiftX,Ee=Tr.shiftY,ot=function(Ys){return typeof Ys=="boolean"?Ys:Ys>=0},ar,br,Dr,Pr;Ia();var Fr=ot(Ze),mn=Kn[0]===yi[0];if(Fr&&Kn[0]==="t"&&(br>At.bottom||Ht.current.bt)){var Er=er;mn?Er-=Nr-on:Er=Ot.y-fr.y-ci;var un=Da(vn,Er),Jr=Da(vn,Er,Wr);un>pt||un===pt&&(!vr||Jr>=rt)?(Ht.current.bt=!0,er=Er,ci=-ci,ei.points=[$e(Kn,0),$e(yi,0)]):Ht.current.bt=!1}if(Fr&&Kn[0]==="b"&&(ar<At.top||Ht.current.tb)){var sn=er;mn?sn+=Nr-on:sn=ur.y-ft.y-ci;var xn=Da(vn,sn),ha=Da(vn,sn,Wr);xn>pt||xn===pt&&(!vr||ha>=rt)?(Ht.current.tb=!0,er=sn,ci=-ci,ei.points=[$e(Kn,0),$e(yi,0)]):Ht.current.tb=!1}var Ci=ot($r),li=Kn[1]===yi[1];if(Ci&&Kn[1]==="l"&&(Pr>At.right||Ht.current.rl)){var _n=vn;li?_n-=nn-or:_n=Ot.x-fr.x-ni;var ai=Da(_n,er),Fi=Da(_n,er,Wr);ai>pt||ai===pt&&(!vr||Fi>=rt)?(Ht.current.rl=!0,vn=_n,ni=-ni,ei.points=[$e(Kn,1),$e(yi,1)]):Ht.current.rl=!1}if(Ci&&Kn[1]==="r"&&(Dr<At.left||Ht.current.lr)){var oa=vn;li?oa+=nn-or:oa=ur.x-ft.x-ni;var Cs=Da(oa,er),ua=Da(oa,er,Wr);Cs>pt||Cs===pt&&(!vr||ua>=rt)?(Ht.current.lr=!0,vn=oa,ni=-ni,ei.points=[$e(Kn,1),$e(yi,1)]):Ht.current.lr=!1}Ia();var ms=qe===!0?0:qe;typeof ms=="number"&&(Dr<Wr.left&&(vn-=Dr-Wr.left-ni,mt.x+or<Wr.left+ms&&(vn+=mt.x-Wr.left+or-ms)),Pr>Wr.right&&(vn-=Pr-Wr.right-ni,mt.x>Wr.right-ms&&(vn+=mt.x-Wr.right+ms)));var Ts=Ee===!0?0:Ee;typeof Ts=="number"&&(ar<Wr.top&&(er-=ar-Wr.top-ci,mt.y+on<Wr.top+Ts&&(er+=mt.y-Wr.top+on-Ts)),br>Wr.bottom&&(er-=br-Wr.bottom-ci,mt.y>Wr.bottom-Ts&&(er+=mt.y-Wr.bottom+Ts)));var Ra=Be.x+vn,ws=Ra+nn,Zn=Be.y+er,ns=Zn+Nr,Ga=mt.x,Ps=Ga+or,zi=mt.y,vs=zi+on,Po=Math.max(Ra,Ga),Pa=Math.min(ws,Ps),ta=(Po+Pa)/2,Fa=ta-Ra,Ks=Math.max(Zn,zi),In=Math.min(ns,vs),La=(Ks+In)/2,as=La-Zn;Ce==null||Ce(bt,ei);var ss=lr.right-Be.x-(vn+Be.width),Li=lr.bottom-Be.y-(er+Be.height);nt({ready:!0,offsetX:vn/Vr,offsetY:er/dn,offsetR:ss/Vr,offsetB:Li/dn,arrowX:Fa/Vr,arrowY:as/dn,scaleX:Vr,scaleY:dn,align:ei})}}),Kt=function(){lt.current+=1;var Nt=lt.current;Promise.resolve().then(function(){lt.current===Nt&&et()})},kt=function(){nt(function(Nt){return(0,r.Z)((0,r.Z)({},Nt),{},{ready:!1})})};return(0,y.Z)(kt,[tt]),(0,y.Z)(function(){at||kt()},[at]),[We.ready,We.offsetX,We.offsetY,We.offsetR,We.offsetB,We.arrowX,We.arrowY,We.scaleX,We.scaleY,We.align,Kt]}var gt=e(95190);function Dt(at,bt,dt,tt,Ue){(0,y.Z)(function(){if(at&&bt&&dt){let lt=function(){tt(),Ue()};var ye=bt,Ce=dt,Me=ce(ye),je=ce(Ce),We=Q(Ce),nt=new Set([We].concat((0,gt.Z)(Me),(0,gt.Z)(je)));return nt.forEach(function(Vt){Vt.addEventListener("scroll",lt,{passive:!0})}),We.addEventListener("resize",lt,{passive:!0}),tt(),function(){nt.forEach(function(Vt){Vt.removeEventListener("scroll",lt),We.removeEventListener("resize",lt)})}}},[at,bt,dt])}var nr=e(48736),Xt=e(16089);function cr(at,bt,dt,tt,Ue,ye,Ce,Me){var je=b.useRef(at),We=b.useRef(!1);je.current!==at&&(We.current=!0,je.current=at),b.useEffect(function(){var nt=(0,Xt.Z)(function(){We.current=!1});return function(){Xt.Z.cancel(nt)}},[at]),b.useEffect(function(){if(bt&&tt&&(!Ue||ye)){var nt=function(){var Ie=!1,ct=function(Oe){var xt=Oe.target;Ie=Ce(xt)},zt=function(Oe){var xt=Oe.target;!We.current&&je.current&&!Ie&&!Ce(xt)&&Me(!1)};return[ct,zt]},lt=nt(),Vt=(0,i.Z)(lt,2),Ht=Vt[0],Pe=Vt[1],et=nt(),Kt=(0,i.Z)(et,2),kt=Kt[0],Zt=Kt[1],Nt=Q(tt);Nt.addEventListener("mousedown",Ht,!0),Nt.addEventListener("click",Pe,!0),Nt.addEventListener("contextmenu",Pe,!0);var tr=(0,a.A)(dt);if(tr&&(tr.addEventListener("mousedown",kt,!0),tr.addEventListener("click",Zt,!0),tr.addEventListener("contextmenu",Zt,!0)),0)var Wt,Fe,fe,pe;return function(){Nt.removeEventListener("mousedown",Ht,!0),Nt.removeEventListener("click",Pe,!0),Nt.removeEventListener("contextmenu",Pe,!0),tr&&(tr.removeEventListener("mousedown",kt,!0),tr.removeEventListener("click",Zt,!0),tr.removeEventListener("contextmenu",Zt,!0))}}},[bt,dt,tt,Ue,ye])}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 at=arguments.length>0&&arguments[0]!==void 0?arguments[0]:c.Z,bt=b.forwardRef(function(dt,tt){var Ue=dt.prefixCls,ye=Ue===void 0?"rc-trigger-popup":Ue,Ce=dt.children,Me=dt.action,je=Me===void 0?"hover":Me,We=dt.showAction,nt=dt.hideAction,lt=dt.popupVisible,Vt=dt.defaultPopupVisible,Ht=dt.onPopupVisibleChange,Pe=dt.afterPopupVisibleChange,et=dt.mouseEnterDelay,Kt=dt.mouseLeaveDelay,kt=Kt===void 0?.1:Kt,Zt=dt.focusDelay,Nt=dt.blurDelay,tr=dt.mask,Wt=dt.maskClosable,Fe=Wt===void 0?!0:Wt,fe=dt.getPopupContainer,pe=dt.forceRender,Pt=dt.autoDestroy,Ie=dt.destroyPopupOnHide,ct=dt.popup,zt=dt.popupClassName,wt=dt.popupStyle,Oe=dt.popupPlacement,xt=dt.builtinPlacements,xe=xt===void 0?{}:xt,Ye=dt.popupAlign,mt=dt.zIndex,Mt=dt.stretch,Be=dt.getPopupClassNameFromAlign,Ir=dt.fresh,St=dt.alignPoint,Zr=dt.onPopupClick,Yr=dt.onPopupAlign,xr=dt.arrow,Mr=dt.popupMotion,mr=dt.maskMotion,Nr=dt.popupTransitionName,nn=dt.popupAnimation,on=dt.maskTransitionName,or=dt.maskAnimation,Rt=dt.className,_t=dt.getTriggerDOMNode,vt=(0,l.Z)(dt,Ge),$t=Pt||Ie||!1,Sr=b.useState(!1),vr=(0,i.Z)(Sr,2),Qr=vr[0],Wr=vr[1];(0,y.Z)(function(){Wr((0,_.Z)())},[]);var An=b.useRef({}),At=b.useContext(ie),lr=b.useMemo(function(){return{registerSubPopup:function(si,Na){An.current[si]=Na,At==null||At.registerSubPopup(si,Na)}}},[At]),Vr=(0,p.Z)(),dn=b.useState(null),Bn=(0,i.Z)(dn,2),ti=Bn[0],Un=Bn[1],Ri=(0,x.Z)(function(fi){(0,u.Sh)(fi)&&ti!==fi&&Un(fi),At==null||At.registerSubPopup(Vr,fi)}),ni=b.useState(null),ci=(0,i.Z)(ni,2),gi=ci[0],di=ci[1],Qi=b.useRef(null),Gn=(0,x.Z)(function(fi){(0,u.Sh)(fi)&&gi!==fi&&(di(fi),Qi.current=fi)}),Xi=b.Children.only(Ce),Et=(Xi==null?void 0:Xi.props)||{},st={},Vn=(0,x.Z)(function(fi){var si,Na,Va=gi;return(Va==null?void 0:Va.contains(fi))||((si=(0,a.A)(Va))===null||si===void 0?void 0:si.host)===fi||fi===Va||(ti==null?void 0:ti.contains(fi))||((Na=(0,a.A)(ti))===null||Na===void 0?void 0:Na.host)===fi||fi===ti||Object.values(An.current).some(function($a){return($a==null?void 0:$a.contains(fi))||fi===$a})}),yi=ee(ye,Mr,nn,Nr),Kn=ee(ye,mr,or,on),Ki=b.useState(Vt||!1),_i=(0,i.Z)(Ki,2),ei=_i[0],vn=_i[1],er=lt!=null?lt:ei,pt=(0,x.Z)(function(fi){lt===void 0&&vn(fi)});(0,y.Z)(function(){vn(lt||!1)},[lt]);var rt=b.useRef(er);rt.current=er;var Ot=b.useRef([]);Ot.current=[];var ft=(0,x.Z)(function(fi){var si;pt(fi),((si=Ot.current[Ot.current.length-1])!==null&&si!==void 0?si:er)!==fi&&(Ot.current.push(fi),Ht==null||Ht(fi))}),ur=b.useRef(),fr=function(){clearTimeout(ur.current)},Tr=function(si){var Na=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;fr(),Na===0?ft(si):ur.current=setTimeout(function(){ft(si)},Na*1e3)};b.useEffect(function(){return fr},[]);var $r=b.useState(!1),Ze=(0,i.Z)($r,2),qe=Ze[0],Ee=Ze[1];(0,y.Z)(function(fi){(!fi||er)&&Ee(!0)},[er]);var ot=b.useState(null),ar=(0,i.Z)(ot,2),br=ar[0],Dr=ar[1],Pr=b.useState([0,0]),Fr=(0,i.Z)(Pr,2),mn=Fr[0],Er=Fr[1],un=function(si){Er([si.clientX,si.clientY])},Jr=Bt(er,ti,St?mn:gi,Oe,xe,Ye,Yr),sn=(0,i.Z)(Jr,11),xn=sn[0],ha=sn[1],Ci=sn[2],li=sn[3],_n=sn[4],ai=sn[5],Fi=sn[6],oa=sn[7],Cs=sn[8],ua=sn[9],ms=sn[10],Ts=q(Qr,je,We,nt),Ra=(0,i.Z)(Ts,2),ws=Ra[0],Zn=Ra[1],ns=ws.has("click"),Ga=Zn.has("click")||Zn.has("contextMenu"),Ps=(0,x.Z)(function(){qe||ms()}),zi=function(){rt.current&&St&&Ga&&Tr(!1)};Dt(er,gi,ti,Ps,zi),(0,y.Z)(function(){Ps()},[mn,Oe]),(0,y.Z)(function(){er&&!(xe!=null&&xe[Oe])&&Ps()},[JSON.stringify(Ye)]);var vs=b.useMemo(function(){var fi=ue(xe,ye,ua,St);return o()(fi,Be==null?void 0:Be(ua))},[ua,Be,xe,ye,St]);b.useImperativeHandle(tt,function(){return{nativeElement:Qi.current,forceAlign:Ps}});var Po=b.useState(0),Pa=(0,i.Z)(Po,2),ta=Pa[0],Fa=Pa[1],Ks=b.useState(0),In=(0,i.Z)(Ks,2),La=In[0],as=In[1],ss=function(){if(Mt&&gi){var si=gi.getBoundingClientRect();Fa(si.width),as(si.height)}},Li=function(){ss(),Ps()},Da=function(si){Ee(!1),ms(),Pe==null||Pe(si)},Ia=function(){return new Promise(function(si){ss(),Dr(function(){return si})})};(0,y.Z)(function(){br&&(ms(),br(),Dr(null))},[br]);function cs(fi,si,Na,Va){st[fi]=function($a){var Xs;Va==null||Va($a),Tr(si,Na);for(var So=arguments.length,Zo=new Array(So>1?So-1:0),fs=1;fs<So;fs++)Zo[fs-1]=arguments[fs];(Xs=Et[fi])===null||Xs===void 0||Xs.call.apply(Xs,[Et,$a].concat(Zo))}}(ns||Ga)&&(st.onClick=function(fi){var si;rt.current&&Ga?Tr(!1):!rt.current&&ns&&(un(fi),Tr(!0));for(var Na=arguments.length,Va=new Array(Na>1?Na-1:0),$a=1;$a<Na;$a++)Va[$a-1]=arguments[$a];(si=Et.onClick)===null||si===void 0||si.call.apply(si,[Et,fi].concat(Va))}),cr(er,Ga,gi,ti,tr,Fe,Vn,Tr);var Ys=ws.has("hover"),Eo=Zn.has("hover"),Io,Do;Ys&&(cs("onMouseEnter",!0,et,function(fi){un(fi)}),cs("onPointerEnter",!0,et,function(fi){un(fi)}),Io=function(si){(er||qe)&&ti!==null&&ti!==void 0&&ti.contains(si.target)&&Tr(!0,et)},St&&(st.onMouseMove=function(fi){var si;(si=Et.onMouseMove)===null||si===void 0||si.call(Et,fi)})),Eo&&(cs("onMouseLeave",!1,kt),cs("onPointerLeave",!1,kt),Do=function(){Tr(!1,kt)}),ws.has("focus")&&cs("onFocus",!0,Zt),Zn.has("focus")&&cs("onBlur",!1,Nt),ws.has("contextMenu")&&(st.onContextMenu=function(fi){var si;rt.current&&Zn.has("contextMenu")?Tr(!1):(un(fi),Tr(!0)),fi.preventDefault();for(var Na=arguments.length,Va=new Array(Na>1?Na-1:0),$a=1;$a<Na;$a++)Va[$a-1]=arguments[$a];(si=Et.onContextMenu)===null||si===void 0||si.call.apply(si,[Et,fi].concat(Va))}),Rt&&(st.className=o()(Et.className,Rt));var Ba=(0,r.Z)((0,r.Z)({},Et),st),qa={},lo=["onContextMenu","onClick","onMouseDown","onTouchStart","onMouseEnter","onMouseLeave","onFocus","onBlur"];lo.forEach(function(fi){vt[fi]&&(qa[fi]=function(){for(var si,Na=arguments.length,Va=new Array(Na),$a=0;$a<Na;$a++)Va[$a]=arguments[$a];(si=Ba[fi])===null||si===void 0||si.call.apply(si,[Ba].concat(Va)),vt[fi].apply(vt,Va)})});var Oo=b.cloneElement(Xi,(0,r.Z)((0,r.Z)({},Ba),qa)),wo={x:ai,y:Fi},ko=xr?(0,r.Z)({},xr!==!0?xr:{}):null;return b.createElement(b.Fragment,null,b.createElement(h.Z,{disabled:!er,ref:Gn,onResize:Li},b.createElement(W,{getTriggerDOMNode:_t},Oo)),b.createElement(ie.Provider,{value:lr},b.createElement(K,{portal:at,ref:Ri,prefixCls:ye,popup:ct,className:o()(zt,vs),style:wt,target:gi,onMouseEnter:Io,onMouseLeave:Do,onPointerEnter:Io,zIndex:mt,open:er,keepDom:qe,fresh:Ir,onClick:Zr,mask:tr,motion:yi,maskMotion:Kn,onVisibleChanged:Da,onPrepare:Ia,forceRender:pe,autoDestroy:$t,getPopupContainer:fe,align:ua,arrow:ko,arrowPos:wo,ready:xn,offsetX:ha,offsetY:Ci,offsetR:li,offsetB:_n,onAlign:Ps,stretch:Mt,targetWidth:ta/oa,targetHeight:La/Cs})))});return bt}var Ut=Tt(c.Z)},8944:function(){"use strict"},5755:function(d,v){"use strict";v.Z={loading:"loading___hdeS1",layoutMainClass:"layoutMainClass___t8btz"}},49535:function(d,v){"use strict";function e(i){const l={},c={channels:l,subscribe:function(f,o){return l[f]||(l[f]=[]),l[f].push(o),this.unsubscribe.bind(null,f,o)},unsubscribe:function(f,o){console.log(f,"channel");let h=l[f],u=-1;if(h){for(let a=0;a<h.length;a++)if(h[a].name===o.name){u=a;break}if(u>=0)return l[f].splice(u,1),!0}return!1},publish:function(f){if(!l[f])return!1;const o=Array.prototype.slice.call(arguments,1);return l[f].forEach(h=>{h.apply(null,o)}),this}};return i?Object.assign(i,c):c}const r=new e;v.Z=r},2339:function(d,v,e){"use strict";e.d(v,{zt:function(){return Ja},$j:function(){return Bi},Ue:function(){return Ys},I0:function(){return Us},v9:function(){return Ho}});var r={};e.r(r),e.d(r,{actionChannel:function(){return or},all:function(){return Be},apply:function(){return Yr},call:function(){return Zr},cancel:function(){return nn},cancelled:function(){return Rt},cps:function(){return xr},flush:function(){return _t},fork:function(){return Mr},getContext:function(){return vt},join:function(){return Nr},put:function(){return Mt},race:function(){return Ir},select:function(){return on},setContext:function(){return $t},spawn:function(){return mr},take:function(){return Ye},takeEvery:function(){return pt},takeLatest:function(){return rt},takem:function(){return mt},throttle:function(){return Ot}});var i=e(59301),l=e(88590),c=e(59781),f=Object.assign||function(Xe){for(var Qe=1;Qe<arguments.length;Qe++){var Ft=arguments[Qe];for(var Gt in Ft)Object.prototype.hasOwnProperty.call(Ft,Gt)&&(Xe[Gt]=Ft[Gt])}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}},A=b(!0),k=null,R=function(){},C=function(Qe){return Qe};function D(Xe,Qe,Ft){if(!Qe(Xe))throw ce("error","uncaught at check",Ft),new Error(Ft)}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,Ft){for(var Gt in Ft)B(Ft,Gt)&&(Qe[Gt]=Ft[Gt])}};function G(Xe,Qe){var Ft=Xe.indexOf(Qe);Ft>=0&&Xe.splice(Ft,1)}var W={from:function(Qe){var Ft=Array(Qe.length);for(var Gt in Qe)B(Qe,Gt)&&(Ft[Gt]=Qe[Gt]);return Ft}};function se(){var Xe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},Qe=f({},Xe),Ft=new Promise(function(Gt,gr){Qe.resolve=Gt,Qe.reject=gr});return Qe.promise=Ft,Qe}function ie(Xe){for(var Qe=[],Ft=0;Ft<Xe;Ft++)Qe.push(se());return Qe}function le(Xe){var Qe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,Ft=void 0,Gt=new Promise(function(gr){Ft=setTimeout(function(){return gr(Qe)},Xe)});return Gt[p]=function(){return clearTimeout(Ft)},Gt}function q(){var Xe,Qe=!0,Ft=void 0,Gt=void 0;return Xe={},Xe[u]=!0,Xe.isRunning=function(){return Qe},Xe.result=function(){return Ft},Xe.error=function(){return Gt},Xe.setRunning=function(Rr){return Qe=Rr},Xe.setResult=function(Rr){return Ft=Rr},Xe.setError=function(Rr){return Gt=Rr},Xe}function J(){var Xe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0;return function(){return++Xe}}var V=J(),ue=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]:ue,Ft=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"",Gt=arguments[3],gr={name:Ft,next:Xe,throw:Qe,return:ee};return Gt&&(gr[a]=!0),typeof Symbol!="undefined"&&(gr[Symbol.iterator]=function(){return gr}),gr}function ce(Xe,Qe){var Ft=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"";typeof window=="undefined"?console.log("redux-saga "+Xe+": "+Qe+`
|
|
|
`+(Ft&&Ft.stack||Ft)):console[Xe](Qe,Ft)}function z(Xe,Qe){return function(){return Xe.apply(void 0,arguments)}}var $=function(Qe,Ft){return Qe+" has been deprecated in favor of "+Ft+", please update your code"},ae=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,Ft){return(Qe?Qe+".":"")+"setContext(props): argument "+Ft+" is not a plain object"},De=function(Qe){return function(Ft){return Qe(Object.defineProperty(Ft,y,{value:!0}))}},ke=function Xe(Qe){return function(){for(var Ft=arguments.length,Gt=Array(Ft),gr=0;gr<Ft;gr++)Gt[gr]=arguments[gr];var Rr=[],jr=Qe.apply(void 0,Gt);return{next:function(tn){return Rr.push(tn),jr.next(tn)},clone:function(){var tn=Xe(Qe).apply(void 0,Gt);return Rr.forEach(function(pn){return tn.next(pn)}),tn},return:function(tn){return jr.return(tn)},throw:function(tn){return jr.throw(tn)}}}},He="Channel's Buffer overflow!",$e=1,Bt=2,gt=3,Dt=4,nr={isEmpty:A,put:R,take:R};function Xt(){var Xe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:10,Qe=arguments[1],Ft=new Array(Xe),Gt=0,gr=0,Rr=0,jr=function(Yn){Ft[gr]=Yn,gr=(gr+1)%Xe,Gt++},hn=function(){if(Gt!=0){var Yn=Ft[Rr];return Ft[Rr]=null,Gt--,Rr=(Rr+1)%Xe,Yn}},tn=function(){for(var Yn=[];Gt;)Yn.push(hn());return Yn};return{isEmpty:function(){return Gt==0},put:function(Yn){if(Gt<Xe)jr(Yn);else{var qn=void 0;switch(Qe){case $e:throw new Error(He);case gt:Ft[gr]=Yn,gr=(gr+1)%Xe,Rr=gr;break;case Dt:qn=2*Xe,Ft=tn(),Gt=Ft.length,gr=Ft.length,Rr=0,Ft.length=qn,Xe=qn,jr(Yn);break;default:}}},take:hn,flush:tn}}var cr={none:function(){return nr},fixed:function(Qe){return Xt(Qe,$e)},dropping:function(Qe){return Xt(Qe,Bt)},sliding:function(Qe){return Xt(Qe,gt)},expanding:function(Qe){return Xt(Qe,Dt)}},Ge=[],Tt=0;function Ut(Xe){try{bt(),Xe()}finally{dt()}}function at(Xe){Ge.push(Xe),Tt||(bt(),tt())}function bt(){Tt++}function dt(){Tt--}function tt(){dt();for(var Xe=void 0;!Tt&&(Xe=Ge.shift())!==void 0;)Ut(Xe)}var Ue=Object.assign||function(Xe){for(var Qe=1;Qe<arguments.length;Qe++){var Ft=arguments[Qe];for(var Gt in Ft)Object.prototype.hasOwnProperty.call(Ft,Gt)&&(Xe[Gt]=Ft[Gt])}return Xe},ye="@@redux-saga/CHANNEL_END",Ce={type:ye},Me=function(Qe){return Qe&&Qe.type===ye};function je(){var Xe=[];function Qe(Gt){return Xe.push(Gt),function(){return G(Xe,Gt)}}function Ft(Gt){for(var gr=Xe.slice(),Rr=0,jr=gr.length;Rr<jr;Rr++)gr[Rr](Gt)}return{subscribe:Qe,emit:Ft}}var We="invalid buffer passed to channel factory function",nt="Saga was provided with an undefined action";function lt(){var Xe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:cr.fixed(),Qe=!1,Ft=[];D(Xe,N.buffer,We);function Gt(){if(Qe&&Ft.length)throw ae("Cannot have a closed channel with pending takers");if(Ft.length&&!Xe.isEmpty())throw ae("Cannot have pending takers with non empty buffer")}function gr(tn){if(Gt(),D(tn,N.notUndef,nt),!Qe){if(!Ft.length)return Xe.put(tn);for(var pn=0;pn<Ft.length;pn++){var Yn=Ft[pn];if(!Yn[x]||Yn[x](tn))return Ft.splice(pn,1),Yn(tn)}}}function Rr(tn){Gt(),D(tn,N.func,"channel.take's callback must be a function"),Qe&&Xe.isEmpty()?tn(Ce):Xe.isEmpty()?(Ft.push(tn),tn.cancel=function(){return G(Ft,tn)}):tn(Xe.take())}function jr(tn){if(Gt(),D(tn,N.func,"channel.flush' callback must be a function"),Qe&&Xe.isEmpty()){tn(Ce);return}tn(Xe.flush())}function hn(){if(Gt(),!Qe&&(Qe=!0,Ft.length)){var tn=Ft;Ft=[];for(var pn=0,Yn=tn.length;pn<Yn;pn++)tn[pn](Ce)}}return{take:Rr,put:gr,flush:jr,close:hn,get __takers__(){return Ft},get __closed__(){return Qe}}}function Vt(Xe){var Qe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:cr.none(),Ft=arguments[2];arguments.length>2&&D(Ft,N.func,"Invalid match function passed to eventChannel");var Gt=lt(Qe),gr=function(){Gt.__closed__||(Rr&&Rr(),Gt.close())},Rr=Xe(function(jr){if(Me(jr)){gr();return}Ft&&!Ft(jr)||Gt.put(jr)});if(Gt.__closed__&&Rr(),!N.func(Rr))throw new Error("in eventChannel: subscribe should return a function to unsubscribe");return{take:Gt.take,flush:Gt.flush,close:gr}}function Ht(Xe){var Qe=Vt(function(Ft){return Xe(function(Gt){if(Gt[y]){Ft(Gt);return}at(function(){return Ft(Gt)})})});return Ue({},Qe,{take:function(Gt,gr){arguments.length>1&&(D(gr,N.func,"channel.take's matcher argument must be a function"),Gt[x]=gr),Qe.take(Gt)}})}var Pe=h("IO"),et="TAKE",Kt="PUT",kt="ALL",Zt="RACE",Nt="CALL",tr="CPS",Wt="FORK",Fe="JOIN",fe="CANCEL",pe="SELECT",Pt="ACTION_CHANNEL",Ie="CANCELLED",ct="FLUSH",zt="GET_CONTEXT",wt="SET_CONTEXT",Oe=`
|
|
|
(HINT: if you are getting this errors in tests, consider using createMockTask from redux-saga/utils)`,xt=function(Qe,Ft){var Gt;return Gt={},Gt[Pe]=!0,Gt[Qe]=Ft,Gt},xe=function(Qe){return D(vr.fork(Qe),N.object,"detach(eff): argument must be a fork effect"),Qe[Wt].detached=!0,Qe};function Ye(){var Xe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"*";if(arguments.length&&D(arguments[0],N.notUndef,"take(patternOrChannel): patternOrChannel is undefined"),N.pattern(Xe))return xt(et,{pattern:Xe});if(N.channel(Xe))return xt(et,{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[et].maybe=!0,Xe};var mt=z(Ye.maybe,$("takem","take.maybe"));function Mt(Xe,Qe){return arguments.length>1?(D(Xe,N.notUndef,"put(channel, action): argument channel is undefined"),D(Xe,N.channel,"put(channel, action): argument "+Xe+" is not a valid channel"),D(Qe,N.notUndef,"put(channel, action): argument action is undefined")):(D(Xe,N.notUndef,"put(action): argument action is undefined"),Qe=Xe,Xe=null),xt(Kt,{channel:Xe,action:Qe})}Mt.resolve=function(){var Xe=Mt.apply(void 0,arguments);return Xe[Kt].resolve=!0,Xe},Mt.sync=z(Mt.resolve,$("put.sync","put.resolve"));function Be(Xe){return xt(kt,Xe)}function Ir(Xe){return xt(Zt,Xe)}function St(Xe,Qe,Ft){D(Qe,N.notUndef,Xe+": argument fn is undefined");var Gt=null;if(N.array(Qe)){var gr=Qe;Gt=gr[0],Qe=gr[1]}else if(Qe.fn){var Rr=Qe;Gt=Rr.context,Qe=Rr.fn}return Gt&&N.string(Qe)&&N.func(Gt[Qe])&&(Qe=Gt[Qe]),D(Qe,N.func,Xe+": argument "+Qe+" is not a function"),{context:Gt,fn:Qe,args:Ft}}function Zr(Xe){for(var Qe=arguments.length,Ft=Array(Qe>1?Qe-1:0),Gt=1;Gt<Qe;Gt++)Ft[Gt-1]=arguments[Gt];return xt(Nt,St("call",Xe,Ft))}function Yr(Xe,Qe){var Ft=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[];return xt(Nt,St("apply",{context:Xe,fn:Qe},Ft))}function xr(Xe){for(var Qe=arguments.length,Ft=Array(Qe>1?Qe-1:0),Gt=1;Gt<Qe;Gt++)Ft[Gt-1]=arguments[Gt];return xt(tr,St("cps",Xe,Ft))}function Mr(Xe){for(var Qe=arguments.length,Ft=Array(Qe>1?Qe-1:0),Gt=1;Gt<Qe;Gt++)Ft[Gt-1]=arguments[Gt];return xt(Wt,St("fork",Xe,Ft))}function mr(Xe){for(var Qe=arguments.length,Ft=Array(Qe>1?Qe-1:0),Gt=1;Gt<Qe;Gt++)Ft[Gt-1]=arguments[Gt];return xe(Mr.apply(void 0,[Xe].concat(Ft)))}function Nr(){for(var Xe=arguments.length,Qe=Array(Xe),Ft=0;Ft<Xe;Ft++)Qe[Ft]=arguments[Ft];if(Qe.length>1)return Be(Qe.map(function(gr){return Nr(gr)}));var Gt=Qe[0];return D(Gt,N.notUndef,"join(task): argument task is undefined"),D(Gt,N.task,"join(task): argument "+Gt+" is not a valid Task object "+Oe),xt(Fe,Gt)}function nn(){for(var Xe=arguments.length,Qe=Array(Xe),Ft=0;Ft<Xe;Ft++)Qe[Ft]=arguments[Ft];if(Qe.length>1)return Be(Qe.map(function(gr){return nn(gr)}));var Gt=Qe[0];return Qe.length===1&&(D(Gt,N.notUndef,"cancel(task): argument task is undefined"),D(Gt,N.task,"cancel(task): argument "+Gt+" is not a valid Task object "+Oe)),xt(fe,Gt||_)}function on(Xe){for(var Qe=arguments.length,Ft=Array(Qe>1?Qe-1:0),Gt=1;Gt<Qe;Gt++)Ft[Gt-1]=arguments[Gt];return arguments.length===0?Xe=C:(D(Xe,N.notUndef,"select(selector,[...]): argument selector is undefined"),D(Xe,N.func,"select(selector,[...]): argument "+Xe+" is not a function")),xt(pe,{selector:Xe,args:Ft})}function or(Xe,Qe){return D(Xe,N.notUndef,"actionChannel(pattern,...): argument pattern is undefined"),arguments.length>1&&(D(Qe,N.notUndef,"actionChannel(pattern, buffer): argument buffer is undefined"),D(Qe,N.buffer,"actionChannel(pattern, buffer): argument "+Qe+" is not a valid buffer")),xt(Pt,{pattern:Xe,buffer:Qe})}function Rt(){return xt(Ie,{})}function _t(Xe){return D(Xe,N.channel,"flush(channel): argument "+Xe+" is not valid channel"),xt(ct,Xe)}function vt(Xe){return D(Xe,N.string,"getContext(prop): argument "+Xe+" is not a string"),xt(zt,Xe)}function $t(Xe){return D(Xe,N.object,_e(null,Xe)),xt(wt,Xe)}var Sr=function(Qe){return function(Ft){return Ft&&Ft[Pe]&&Ft[Qe]}},vr={take:Sr(et),put:Sr(Kt),all:Sr(kt),race:Sr(Zt),call:Sr(Nt),cps:Sr(tr),fork:Sr(Wt),join:Sr(Fe),cancel:Sr(fe),select:Sr(pe),actionChannel:Sr(Pt),cancelled:Sr(Ie),flush:Sr(ct),getContext:Sr(zt),setContext:Sr(wt)},Qr=Object.assign||function(Xe){for(var Qe=1;Qe<arguments.length;Qe++){var Ft=arguments[Qe];for(var Gt in Ft)Object.prototype.hasOwnProperty.call(Ft,Gt)&&(Xe[Gt]=Ft[Gt])}return Xe},Wr=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 An(Xe,Qe){for(var Ft in Qe){var Gt=Qe[Ft];Gt.configurable=Gt.enumerable=!0,"value"in Gt&&(Gt.writable=!0),Object.defineProperty(Xe,Ft,Gt)}return Xe}var At="proc first argument (Saga function result) must be an iterator",lr={toString:function(){return"@@redux-saga/CHANNEL_END"}},Vr={toString:function(){return"@@redux-saga/TASK_CANCEL"}},dn={wildcard:function(){return A},default:function(Qe){return(typeof Qe=="undefined"?"undefined":Wr(Qe))==="symbol"?function(Ft){return Ft.type===Qe}:function(Ft){return Ft.type===String(Qe)}},array:function(Qe){return function(Ft){return Qe.some(function(Gt){return Bn(Gt)(Ft)})}},predicate:function(Qe){return function(Ft){return Qe(Ft)}}};function Bn(Xe){return(Xe==="*"?dn.wildcard:N.array(Xe)?dn.array:N.stringableFunc(Xe)?dn.default:N.func(Xe)?dn.predicate:dn.default)(Xe)}function ti(Xe,Qe,Ft){var Gt=[],gr=void 0,Rr=!1;hn(Qe);function jr(pn){tn(),Ft(pn,!0)}function hn(pn){Gt.push(pn),pn.cont=function(Yn,qn){Rr||(G(Gt,pn),pn.cont=R,qn?jr(Yn):(pn===Qe&&(gr=Yn),Gt.length||(Rr=!0,Ft(gr))))}}function tn(){Rr||(Rr=!0,Gt.forEach(function(pn){pn.cont=R,pn.cancel()}),Gt=[])}return{addTask:hn,cancelAll:tn,abort:jr,getTasks:function(){return Gt},taskNames:function(){return Gt.map(function(Yn){return Yn.name})}}}function Un(Xe){var Qe=Xe.context,Ft=Xe.fn,Gt=Xe.args;if(N.iterator(Ft))return Ft;var gr=void 0,Rr=void 0;try{gr=Ft.apply(Qe,Gt)}catch(jr){Rr=jr}return N.iterator(gr)?gr:Q(Rr?function(){throw Rr}:function(){var jr=void 0,hn={done:!1,value:gr},tn=function(Yn){return{done:!0,value:Yn}};return function(pn){return jr?tn(pn):(jr=!0,hn)}}())}var Ri=function(Qe){return{fn:Qe}};function ni(Xe){var Qe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:function(){return R},Ft=arguments.length>2&&arguments[2]!==void 0?arguments[2]:R,Gt=arguments.length>3&&arguments[3]!==void 0?arguments[3]:R,gr=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{},Rr=arguments.length>5&&arguments[5]!==void 0?arguments[5]:{},jr=arguments.length>6&&arguments[6]!==void 0?arguments[6]:0,hn=arguments.length>7&&arguments[7]!==void 0?arguments[7]:"anonymous",tn=arguments[8];D(Xe,N.iterator,At);var pn="[...effects]",Yn=z(ls,$(pn,"all("+pn+")")),qn=Rr.sagaMonitor,mi=Rr.logger,wi=Rr.onError,Hi=mi||ce,Mi=function(Kr){var En=Kr.sagaStack;!En&&Kr.stack&&(En=Kr.stack.split(`
|
|
|
`)[0].indexOf(Kr.message)!==-1?Kr.stack:"Error: "+Kr.message+`
|
|
|
`+Kr.stack),Hi("error","uncaught at "+hn,En||Kr.message||Kr)},bi=Ht(Qe),pa=Object.create(gr);Wi.cancel=R;var xi=Xr(jr,hn,Xe,tn),hi={name:hn,cancel:qs,isRunning:!0},la=ti(hn,hi,Oa);function qs(){hi.isRunning&&!hi.isCancelled&&(hi.isCancelled=!0,Wi(Vr))}function As(){Xe._isRunning&&!Xe._isCancelled&&(Xe._isCancelled=!0,la.cancelAll(),Oa(Vr))}return tn&&(tn.cancel=As),Xe._isRunning=!0,Wi(),xi;function Wi(yr,Kr){if(!hi.isRunning)throw new Error("Trying to resume an already finished generator");try{var En=void 0;Kr?En=Xe.throw(yr):yr===Vr?(hi.isCancelled=!0,Wi.cancel(),En=N.func(Xe.return)?Xe.return(Vr):{done:!0,value:Vr}):yr===lr?En=N.func(Xe.return)?Xe.return():{done:!0}:En=Xe.next(yr),En.done?(hi.isMainRunning=!1,hi.cont&&hi.cont(En.value)):Ji(En.value,jr,"",Wi)}catch(Xn){hi.isCancelled&&Mi(Xn),hi.isMainRunning=!1,hi.cont(Xn,!0)}}function Oa(yr,Kr){Xe._isRunning=!1,bi.close(),Kr?(yr instanceof Error&&Object.defineProperty(yr,"sagaStack",{value:"at "+hn+`
|
|
|
`+(yr.sagaStack||yr.stack),configurable:!0}),xi.cont||(yr instanceof Error&&wi?wi(yr):Mi(yr)),Xe._error=yr,Xe._isAborted=!0,Xe._deferredEnd&&Xe._deferredEnd.reject(yr)):(Xe._result=yr,Xe._deferredEnd&&Xe._deferredEnd.resolve(yr)),xi.cont&&xi.cont(yr,Kr),xi.joiners.forEach(function(En){return En.cb(yr,Kr)}),xi.joiners=null}function Ji(yr,Kr){var En=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"",Xn=arguments[3],ki=V();qn&&qn.effectTriggered({effectId:ki,parentEffectId:Kr,label:En,effect:yr});var On=void 0;function Cn(ia,Gi){On||(On=!0,Xn.cancel=R,qn&&(Gi?qn.effectRejected(ki,ia):qn.effectResolved(ki,ia)),Xn(ia,Gi))}Cn.cancel=R,Xn.cancel=function(){if(!On){On=!0;try{Cn.cancel()}catch(ia){Mi(ia)}Cn.cancel=R,qn&&qn.effectCancelled(ki)}};var Nn=void 0;return N.promise(yr)?Oi(yr,Cn):N.helper(yr)?fo(Ri(yr),ki,Cn):N.iterator(yr)?ga(yr,ki,hn,Cn):N.array(yr)?Yn(yr,ki,Cn):(Nn=vr.take(yr))?ka(Nn,Cn):(Nn=vr.put(yr))?Ka(Nn,Cn):(Nn=vr.all(yr))?ls(Nn,ki,Cn):(Nn=vr.race(yr))?ra(Nn,ki,Cn):(Nn=vr.call(yr))?Js(Nn,ki,Cn):(Nn=vr.cps(yr))?Ya(Nn,Cn):(Nn=vr.fork(yr))?fo(Nn,ki,Cn):(Nn=vr.join(yr))?ja(Nn,Cn):(Nn=vr.cancel(yr))?Xa(Nn,Cn):(Nn=vr.select(yr))?za(Nn,Cn):(Nn=vr.actionChannel(yr))?ys(Nn,Cn):(Nn=vr.flush(yr))?be(Nn,Cn):(Nn=vr.cancelled(yr))?ya(Nn,Cn):(Nn=vr.getContext(yr))?Ae(Nn,Cn):(Nn=vr.setContext(yr))?wr(Nn,Cn):Cn(yr)}function Oi(yr,Kr){var En=yr[p];N.func(En)?Kr.cancel=En:N.func(yr.abort)&&(Kr.cancel=function(){return yr.abort()}),yr.then(Kr,function(Xn){return Kr(Xn,!0)})}function ga(yr,Kr,En,Xn){ni(yr,Qe,Ft,Gt,pa,Rr,Kr,En,Xn)}function ka(yr,Kr){var En=yr.channel,Xn=yr.pattern,ki=yr.maybe;En=En||bi;var On=function(Nn){return Nn instanceof Error?Kr(Nn,!0):Me(Nn)&&!ki?Kr(lr):Kr(Nn)};try{En.take(On,Bn(Xn))}catch(Cn){return Kr(Cn,!0)}Kr.cancel=On.cancel}function Ka(yr,Kr){var En=yr.channel,Xn=yr.action,ki=yr.resolve;at(function(){var On=void 0;try{On=(En?En.put:Ft)(Xn)}catch(Cn){if(En||ki)return Kr(Cn,!0);Mi(Cn)}if(ki&&N.promise(On))Oi(On,Kr);else return Kr(On)})}function Js(yr,Kr,En){var Xn=yr.context,ki=yr.fn,On=yr.args,Cn=void 0;try{Cn=ki.apply(Xn,On)}catch(Nn){return En(Nn,!0)}return N.promise(Cn)?Oi(Cn,En):N.iterator(Cn)?ga(Cn,Kr,ki.name,En):En(Cn)}function Ya(yr,Kr){var En=yr.context,Xn=yr.fn,ki=yr.args;try{var On=function(Nn,ia){return N.undef(Nn)?Kr(ia):Kr(Nn,!0)};Xn.apply(En,ki.concat(On)),On.cancel&&(Kr.cancel=function(){return On.cancel()})}catch(Cn){return Kr(Cn,!0)}}function fo(yr,Kr,En){var Xn=yr.context,ki=yr.fn,On=yr.args,Cn=yr.detached,Nn=Un({context:Xn,fn:ki,args:On});try{bt();var ia=ni(Nn,Qe,Ft,Gt,pa,Rr,Kr,ki.name,Cn?null:R);Cn?En(ia):Nn._isRunning?(la.addTask(ia),En(ia)):Nn._error?la.abort(Nn._error):En(ia)}finally{tt()}}function ja(yr,Kr){if(yr.isRunning()){var En={task:xi,cb:Kr};Kr.cancel=function(){return G(yr.joiners,En)},yr.joiners.push(En)}else yr.isAborted()?Kr(yr.error(),!0):Kr(yr.result())}function Xa(yr,Kr){yr===_&&(yr=xi),yr.isRunning()&&yr.cancel(),Kr()}function ls(yr,Kr,En){var Xn=Object.keys(yr);if(!Xn.length)return En(N.array(yr)?[]:{});var ki=0,On=void 0,Cn={},Nn={};function ia(){ki===Xn.length&&(On=!0,En(N.array(yr)?W.from(Qr({},Cn,{length:Xn.length})):Cn))}Xn.forEach(function(Gi){var yo=function(Yo,bl){On||(bl||Me(Yo)||Yo===lr||Yo===Vr?(En.cancel(),En(Yo,bl)):(Cn[Gi]=Yo,ki++,ia()))};yo.cancel=R,Nn[Gi]=yo}),En.cancel=function(){On||(On=!0,Xn.forEach(function(Gi){return Nn[Gi].cancel()}))},Xn.forEach(function(Gi){return Ji(yr[Gi],Kr,Gi,Nn[Gi])})}function ra(yr,Kr,En){var Xn=void 0,ki=Object.keys(yr),On={};ki.forEach(function(Cn){var Nn=function(Gi,yo){if(!Xn){if(yo)En.cancel(),En(Gi,!0);else if(!Me(Gi)&&Gi!==lr&&Gi!==Vr){var ao;En.cancel(),Xn=!0;var Yo=(ao={},ao[Cn]=Gi,ao);En(N.array(yr)?[].slice.call(Qr({},Yo,{length:ki.length})):Yo)}}};Nn.cancel=R,On[Cn]=Nn}),En.cancel=function(){Xn||(Xn=!0,ki.forEach(function(Cn){return On[Cn].cancel()}))},ki.forEach(function(Cn){Xn||Ji(yr[Cn],Kr,Cn,On[Cn])})}function za(yr,Kr){var En=yr.selector,Xn=yr.args;try{var ki=En.apply(void 0,[Gt()].concat(Xn));Kr(ki)}catch(On){Kr(On,!0)}}function ys(yr,Kr){var En=yr.pattern,Xn=yr.buffer,ki=Bn(En);ki.pattern=En,Kr(Vt(Qe,Xn||cr.fixed(),ki))}function ya(yr,Kr){Kr(!!hi.isCancelled)}function be(yr,Kr){yr.flush(Kr)}function Ae(yr,Kr){Kr(pa[yr])}function wr(yr,Kr){K.assign(pa,yr),Kr()}function Xr(yr,Kr,En,Xn){var ki,On,Cn;return En._deferredEnd=null,On={},On[u]=!0,On.id=yr,On.name=Kr,ki="done",Cn={},Cn[ki]=Cn[ki]||{},Cn[ki].get=function(){if(En._deferredEnd)return En._deferredEnd.promise;var Nn=se();return En._deferredEnd=Nn,En._isRunning||(En._error?Nn.reject(En._error):Nn.resolve(En._result)),Nn.promise},On.cont=Xn,On.joiners=[],On.cancel=As,On.isRunning=function(){return En._isRunning},On.isCancelled=function(){return En._isCancelled},On.isAborted=function(){return En._isAborted},On.result=function(){return En._result},On.error=function(){return En._error},On.setContext=function(ia){D(ia,N.object,_e("task",ia)),K.assign(pa,ia)},An(On,Cn),On}}var ci="runSaga(storeInterface, saga, ...args)",gi=ci+": saga argument must be a Generator function!";function di(Xe,Qe){for(var Ft=arguments.length,Gt=Array(Ft>2?Ft-2:0),gr=2;gr<Ft;gr++)Gt[gr-2]=arguments[gr];var Rr=void 0;N.iterator(Xe)?(Rr=Xe,Xe=Qe):(D(Qe,N.func,gi),Rr=Qe.apply(void 0,Gt),D(Rr,N.iterator,gi));var jr=Xe,hn=jr.subscribe,tn=jr.dispatch,pn=jr.getState,Yn=jr.context,qn=jr.sagaMonitor,mi=jr.logger,wi=jr.onError,Hi=V();qn&&(qn.effectTriggered=qn.effectTriggered||R,qn.effectResolved=qn.effectResolved||R,qn.effectRejected=qn.effectRejected||R,qn.effectCancelled=qn.effectCancelled||R,qn.actionDispatched=qn.actionDispatched||R,qn.effectTriggered({effectId:Hi,root:!0,parentEffectId:0,effect:{root:!0,saga:Qe,args:Gt}}));var Mi=ni(Rr,hn,De(tn),pn,Yn,{sagaMonitor:qn,logger:mi,onError:wi},Hi,Qe.name);return qn&&qn.effectResolved(Hi,Mi),Mi}function Qi(Xe,Qe){var Ft={};for(var Gt in Xe)Qe.indexOf(Gt)>=0||Object.prototype.hasOwnProperty.call(Xe,Gt)&&(Ft[Gt]=Xe[Gt]);return Ft}function Gn(){var Xe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},Qe=Xe.context,Ft=Qe===void 0?{}:Qe,Gt=Qi(Xe,["context"]),gr=Gt.sagaMonitor,Rr=Gt.logger,jr=Gt.onError;if(N.func(Gt))throw new Error("Saga middleware no longer accept Generator functions. Use sagaMiddleware.run instead");if(Rr&&!N.func(Rr))throw new Error("`options.logger` passed to the Saga middleware is not a function!");if(jr&&!N.func(jr))throw new Error("`options.onError` passed to the Saga middleware is not a function!");if(Gt.emitter&&!N.func(Gt.emitter))throw new Error("`options.emitter` passed to the Saga middleware is not a function!");function hn(tn){var pn=tn.getState,Yn=tn.dispatch,qn=je();return qn.emit=(Gt.emitter||C)(qn.emit),hn.run=di.bind(null,{context:Ft,subscribe:qn.subscribe,dispatch:Yn,getState:pn,sagaMonitor:gr,logger:Rr,onError:jr}),function(mi){return function(wi){gr&&gr.actionDispatched&&gr.actionDispatched(wi);var Hi=mi(wi);return qn.emit(wi),Hi}}}return hn.run=function(){throw new Error("Before running a Saga, you must mount the Saga middleware on the Store using applyMiddleware")},hn.setContext=function(tn){D(tn,N.object,_e("sagaMiddleware",tn)),K.assign(Ft,tn)},hn}var Xi={done:!0,value:void 0},Et={};function st(Xe){return N.channel(Xe)?"channel":Array.isArray(Xe)?String(Xe.map(function(Qe){return String(Qe)})):String(Xe)}function Vn(Xe,Qe){var Ft=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"iterator",Gt=void 0,gr=Qe;function Rr(jr,hn){if(gr===Et)return Xi;if(hn)throw gr=Et,hn;Gt&&Gt(jr);var tn=Xe[gr](),pn=tn[0],Yn=tn[1],qn=tn[2];return gr=pn,Gt=qn,gr===Et?Xi:Yn}return Q(Rr,function(jr){return Rr(null,jr)},Ft,!0)}function yi(Xe,Qe){for(var Ft=arguments.length,Gt=Array(Ft>2?Ft-2:0),gr=2;gr<Ft;gr++)Gt[gr-2]=arguments[gr];var Rr={done:!1,value:Ye(Xe)},jr=function(Yn){return{done:!1,value:Mr.apply(void 0,[Qe].concat(Gt,[Yn]))}},hn=void 0,tn=function(Yn){return hn=Yn};return Vn({q1:function(){return["q2",Rr,tn]},q2:function(){return hn===Ce?[Et]:["q1",jr(hn)]}},"q1","takeEvery("+st(Xe)+", "+Qe.name+")")}function Kn(Xe,Qe){for(var Ft=arguments.length,Gt=Array(Ft>2?Ft-2:0),gr=2;gr<Ft;gr++)Gt[gr-2]=arguments[gr];var Rr={done:!1,value:Ye(Xe)},jr=function(wi){return{done:!1,value:Mr.apply(void 0,[Qe].concat(Gt,[wi]))}},hn=function(wi){return{done:!1,value:nn(wi)}},tn=void 0,pn=void 0,Yn=function(wi){return tn=wi},qn=function(wi){return pn=wi};return Vn({q1:function(){return["q2",Rr,qn]},q2:function(){return pn===Ce?[Et]:tn?["q3",hn(tn)]:["q1",jr(pn),Yn]},q3:function(){return["q1",jr(pn),Yn]}},"q1","takeLatest("+st(Xe)+", "+Qe.name+")")}function Ki(Xe,Qe,Ft){for(var Gt=arguments.length,gr=Array(Gt>3?Gt-3:0),Rr=3;Rr<Gt;Rr++)gr[Rr-3]=arguments[Rr];var jr=void 0,hn=void 0,tn={done:!1,value:or(Qe,cr.sliding(1))},pn=function(){return{done:!1,value:Ye(hn)}},Yn=function(Mi){return{done:!1,value:Mr.apply(void 0,[Ft].concat(gr,[Mi]))}},qn={done:!1,value:Zr(le,Xe)},mi=function(Mi){return jr=Mi},wi=function(Mi){return hn=Mi};return Vn({q1:function(){return["q2",tn,wi]},q2:function(){return["q3",pn(),mi]},q3:function(){return jr===Ce?[Et]:["q4",Yn(jr)]},q4:function(){return["q2",qn]}},"q1","throttle("+st(Qe)+", "+Ft.name+")")}var _i=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."},ei=null,vn=null,er=null;function pt(Xe,Qe){for(var Ft=arguments.length,Gt=Array(Ft>2?Ft-2:0),gr=2;gr<Ft;gr++)Gt[gr-2]=arguments[gr];return Mr.apply(void 0,[yi,Xe,Qe].concat(Gt))}function rt(Xe,Qe){for(var Ft=arguments.length,Gt=Array(Ft>2?Ft-2:0),gr=2;gr<Ft;gr++)Gt[gr-2]=arguments[gr];return Mr.apply(void 0,[Kn,Xe,Qe].concat(Gt))}function Ot(Xe,Qe,Ft){for(var Gt=arguments.length,gr=Array(Gt>3?Gt-3:0),Rr=3;Rr<Gt;Rr++)gr[Rr-3]=arguments[Rr];return Mr.apply(void 0,[Ki,Xe,Qe,Ft].concat(gr))}var ft=Gn,ur=e(44520),fr=e.n(ur),Tr=e(93664),$r=e(78639),Ze=e.n($r),qe=e(95190),Ee=e(21696),ot=e(56754),ar=e.n(ot),br=e(99153),Dr=e(84851),Pr=e(89381),Fr=e.n(Pr),mn=e(60288),Er=e(50298),un=e(55267),Jr=e.n(un),sn=Array.isArray.bind(Array),xn=function(Qe){return typeof Qe=="function"},ha=function(Qe){return Qe},Ci=function(){},li=function(Qe,Ft){for(var Gt=0,gr=Qe.length;Gt<gr;Gt+=1)if(Ft(Qe[Gt],Gt))return Gt;return-1},_n=Object.freeze({isPlainObject:Ze(),isArray:sn,isFunction:xn,returnSelf:ha,noop:Ci,findIndex:li});function ai(Xe,Qe){var Ft=Xe.namespace,Gt=Xe.reducers,gr=Xe.effects,Rr=Xe.subscriptions;invariant(Ft,"[app.model] namespace should be defined"),invariant(typeof Ft=="string","[app.model] namespace should be string, but got ".concat(_typeof(Ft))),invariant(!Qe.some(function(jr){return jr.namespace===Ft}),"[app.model] namespace should be unique"),Gt&&(invariant(isPlainObject(Gt)||sn(Gt),"[app.model] reducers should be plain object or array, but got ".concat(_typeof(Gt))),invariant(!sn(Gt)||isPlainObject(Gt[0])&&xn(Gt[1]),"[app.model] reducers with array should be [Object, Function]")),gr&&invariant(isPlainObject(gr),"[app.model] effects should be plain object, but got ".concat(_typeof(gr))),Rr&&(invariant(isPlainObject(Rr),"[app.model] subscriptions should be plain object, but got ".concat(_typeof(Rr))),invariant(Fi(Rr),"[app.model] subscription should be function"))}function Fi(Xe){return Object.keys(Xe).every(function(Qe){return xn(Xe[Qe])})}var oa="/";function Cs(Xe,Qe,Ft){return Object.keys(Xe).reduce(function(Gt,gr){ar()(gr.indexOf("".concat(Qe).concat(oa))!==0,"[prefixNamespace]: ".concat(Ft," ").concat(gr," should not be prefixed with namespace ").concat(Qe));var Rr="".concat(Qe).concat(oa).concat(gr);return Gt[Rr]=Xe[gr],Gt},{})}function ua(Xe){var Qe=Xe.namespace,Ft=Xe.reducers,Gt=Xe.effects;if(Ft)if(sn(Ft)){var gr=(0,Ee.Z)(Ft),Rr=gr[0],jr=gr.slice(1);Xe.reducers=[Cs(Rr,Qe,"reducer")].concat((0,qe.Z)(jr))}else Xe.reducers=Cs(Ft,Qe,"reducer");return Gt&&(Xe.effects=Cs(Gt,Qe,"effect")),Xe}var ms=["onError","onStateChange","onAction","onHmr","onReducer","onEffect","extraReducers","extraEnhancers","_handleActions"];function Ts(Xe){return Object.keys(Xe).reduce(function(Qe,Ft){return ms.indexOf(Ft)>-1&&(Qe[Ft]=Xe[Ft]),Qe},{})}var Ra=function(){function Xe(){(0,br.Z)(this,Xe),this._handleActions=null,this.hooks=ms.reduce(function(Qe,Ft){return Qe[Ft]=[],Qe},{})}return(0,Dr.Z)(Xe,[{key:"use",value:function(Ft){fr()(Ze()(Ft),"plugin.use: plugin should be plain object");var Gt=this.hooks;for(var gr in Ft)Object.prototype.hasOwnProperty.call(Ft,gr)&&(fr()(Gt[gr],"plugin.use: unknown plugin property: ".concat(gr)),gr==="_handleActions"?this._handleActions=Ft[gr]:gr==="extraEnhancers"?Gt[gr]=Ft[gr]:Gt[gr].push(Ft[gr]))}},{key:"apply",value:function(Ft,Gt){var gr=this.hooks,Rr=["onError","onHmr"];fr()(Rr.indexOf(Ft)>-1,"plugin.apply: hook ".concat(Ft," cannot be applied"));var jr=gr[Ft];return function(){if(jr.length){var hn=!0,tn=!1,pn=void 0;try{for(var Yn=jr[Symbol.iterator](),qn;!(hn=(qn=Yn.next()).done);hn=!0){var mi=qn.value;mi.apply(void 0,arguments)}}catch(wi){tn=!0,pn=wi}finally{try{!hn&&Yn.return!=null&&Yn.return()}finally{if(tn)throw pn}}}else Gt&&Gt.apply(void 0,arguments)}}},{key:"get",value:function(Ft){var Gt=this.hooks;return fr()(Ft in Gt,"plugin.get: hook ".concat(Ft," cannot be got")),Ft==="extraReducers"?ws(Gt[Ft]):Ft==="onReducer"?Zn(Gt[Ft]):Gt[Ft]}}]),Xe}();function ws(Xe){var Qe={},Ft=!0,Gt=!1,gr=void 0;try{for(var Rr=Xe[Symbol.iterator](),jr;!(Ft=(jr=Rr.next()).done);Ft=!0){var hn=jr.value;Qe=(0,l.Z)({},Qe,hn)}}catch(tn){Gt=!0,gr=tn}finally{try{!Ft&&Rr.return!=null&&Rr.return()}finally{if(Gt)throw gr}}return Qe}function Zn(Xe){return function(Qe){var Ft=!0,Gt=!1,gr=void 0;try{for(var Rr=Xe[Symbol.iterator](),jr;!(Ft=(jr=Rr.next()).done);Ft=!0){var hn=jr.value;Qe=hn(Qe)}}catch(tn){Gt=!0,gr=tn}finally{try{!Ft&&Rr.return!=null&&Rr.return()}finally{if(Gt)throw gr}}return Qe}}function ns(Xe){var Qe=Xe.reducers,Ft=Xe.initialState,Gt=Xe.plugin,gr=Xe.sagaMiddleware,Rr=Xe.promiseMiddleware,jr=Xe.createOpts.setupMiddlewares,hn=jr===void 0?ha:jr,tn=Gt.get("extraEnhancers");fr()(sn(tn),"[app.start] extraEnhancers should be array, but got ".concat((0,Tr.Z)(tn)));var pn=Gt.get("onAction"),Yn=hn([Rr,gr].concat((0,qe.Z)(Fr()(pn)))),qn=c.qC,mi=[c.md.apply(void 0,(0,qe.Z)(Yn))].concat((0,qe.Z)(tn));return(0,c.MT)(Qe,Ft,qn.apply(void 0,(0,qe.Z)(mi)))}function Ga(Xe,Qe){var Ft="".concat(Qe.namespace).concat(oa).concat(Xe),Gt=Ft.replace(/\/@@[^/]+?$/,""),gr=Array.isArray(Qe.reducers)?Qe.reducers[0][Gt]:Qe.reducers&&Qe.reducers[Gt];return gr||Qe.effects&&Qe.effects[Gt]?Ft:Xe}function Ps(Xe,Qe,Ft,Gt){var gr=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{};return Jr().mark(function Rr(){var jr;return Jr().wrap(function(tn){for(;;)switch(tn.prev=tn.next){case 0:tn.t0=Jr().keys(Xe);case 1:if((tn.t1=tn.t0()).done){tn.next=7;break}if(jr=tn.t1.value,!Object.prototype.hasOwnProperty.call(Xe,jr)){tn.next=5;break}return tn.delegateYield(Jr().mark(function pn(){var Yn,qn;return Jr().wrap(function(wi){for(;;)switch(wi.prev=wi.next){case 0:return Yn=zi(jr,Xe[jr],Qe,Ft,Gt,gr),wi.next=3,Mr(Yn);case 3:return qn=wi.sent,wi.next=6,Mr(Jr().mark(function Hi(){return Jr().wrap(function(bi){for(;;)switch(bi.prev=bi.next){case 0:return bi.next=2,Ye("".concat(Qe.namespace,"/@@CANCEL_EFFECTS"));case 2:return bi.next=4,nn(qn);case 4:case"end":return bi.stop()}},Hi)}));case 6:case"end":return wi.stop()}},pn)})(),"t2",5);case 5:tn.next=1;break;case 7:case"end":return tn.stop()}},Rr)})}function zi(Xe,Qe,Ft,Gt,gr,Rr){var jr=Jr().mark(Hi),hn=Qe,tn="takeEvery",pn,Yn;if(Array.isArray(Qe)){var qn=(0,Er.Z)(Qe,1);hn=qn[0];var mi=Qe[1];mi&&mi.type&&(tn=mi.type,tn==="throttle"&&(fr()(mi.ms,"app.start: opts.ms should be defined if type is throttle"),pn=mi.ms),tn==="poll"&&(fr()(mi.delay,"app.start: opts.delay should be defined if type is poll"),Yn=mi.delay)),fr()(["watcher","takeEvery","takeLatest","throttle","poll"].indexOf(tn)>-1,"app.start: effect type should be takeEvery, takeLatest, throttle, poll or watcher")}function wi(){}function Hi(){var bi,pa,xi,hi,la,qs,As,Wi,Oa,Ji=arguments;return Jr().wrap(function(ga){for(;;)switch(ga.prev=ga.next){case 0:for(bi=Ji.length,pa=new Array(bi),xi=0;xi<bi;xi++)pa[xi]=Ji[xi];return hi=pa.length>0?pa[0]:{},la=hi.__dva_resolve,qs=la===void 0?wi:la,As=hi.__dva_reject,Wi=As===void 0?wi:As,ga.prev=2,ga.next=5,Mt({type:"".concat(Xe).concat(oa,"@@start")});case 5:return ga.next=7,hn.apply(void 0,(0,qe.Z)(pa.concat(vs(Ft,Rr))));case 7:return Oa=ga.sent,ga.next=10,Mt({type:"".concat(Xe).concat(oa,"@@end")});case 10:qs(Oa),ga.next=17;break;case 13:ga.prev=13,ga.t0=ga.catch(2),Gt(ga.t0,{key:Xe,effectArgs:pa}),ga.t0._dontReject||Wi(ga.t0);case 17:case"end":return ga.stop()}},jr,null,[[2,13]])}var Mi=Po(gr,Hi,Ft,Xe);switch(tn){case"watcher":return Hi;case"takeLatest":return Jr().mark(function bi(){return Jr().wrap(function(xi){for(;;)switch(xi.prev=xi.next){case 0:return xi.next=2,rt(Xe,Mi);case 2:case"end":return xi.stop()}},bi)});case"throttle":return Jr().mark(function bi(){return Jr().wrap(function(xi){for(;;)switch(xi.prev=xi.next){case 0:return xi.next=2,Ot(pn,Xe,Mi);case 2:case"end":return xi.stop()}},bi)});case"poll":return Jr().mark(function bi(){var pa,xi,hi,la,qs,As,Wi;return Jr().wrap(function(Ji){for(;;)switch(Ji.prev=Ji.next){case 0:hi=function(ga,ka){var Ka;return Jr().wrap(function(Ya){for(;;)switch(Ya.prev=Ya.next){case 0:Ka=ga.call;case 1:return Ya.next=4,Ka(Mi,ka);case 4:return Ya.next=6,Ka(xi,Yn);case 6:Ya.next=1;break;case 8:case"end":return Ya.stop()}},pa)},xi=function(ga){return new Promise(function(ka){return setTimeout(ka,ga)})},pa=Jr().mark(hi),la=Zr,qs=Ye,As=Ir;case 4:return Ji.next=7,qs("".concat(Xe,"-start"));case 7:return Wi=Ji.sent,Ji.next=10,As([la(hi,r,Wi),qs("".concat(Xe,"-stop"))]);case 10:Ji.next=4;break;case 12:case"end":return Ji.stop()}},bi)});default:return Jr().mark(function bi(){return Jr().wrap(function(xi){for(;;)switch(xi.prev=xi.next){case 0:return xi.next=2,pt(Xe,Mi);case 2:case"end":return xi.stop()}},bi)})}}function vs(Xe,Qe){function Ft(jr,hn){fr()(jr,"dispatch: action should be a plain Object with type");var tn=Qe.namespacePrefixWarning,pn=tn===void 0?!0:tn;pn&&ar()(jr.indexOf("".concat(Xe.namespace).concat(oa))!==0,"[".concat(hn,"] ").concat(jr," should not be prefixed with namespace ").concat(Xe.namespace))}function Gt(jr){var hn=jr.type;return Ft(hn,"sagaEffects.put"),Mt((0,l.Z)({},jr,{type:Ga(hn,Xe)}))}function gr(jr){var hn=jr.type;return Ft(hn,"sagaEffects.put.resolve"),Mt.resolve((0,l.Z)({},jr,{type:Ga(hn,Xe)}))}Gt.resolve=gr;function Rr(jr){return typeof jr=="string"?(Ft(jr,"sagaEffects.take"),Ye(Ga(jr,Xe))):Array.isArray(jr)?Ye(jr.map(function(hn){return typeof hn=="string"?(Ft(hn,"sagaEffects.take"),Ga(hn,Xe)):hn})):Ye(jr)}return(0,l.Z)({},r,{put:Gt,take:Rr})}function Po(Xe,Qe,Ft,Gt){var gr=!0,Rr=!1,jr=void 0;try{for(var hn=Xe[Symbol.iterator](),tn;!(gr=(tn=hn.next()).done);gr=!0){var pn=tn.value;Qe=pn(Qe,r,Ft,Gt)}}catch(Yn){Rr=!0,jr=Yn}finally{try{!gr&&hn.return!=null&&hn.return()}finally{if(Rr)throw jr}}return Qe}function Pa(Xe){return Xe}function ta(Xe){var Qe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Pa;return function(Ft,Gt){var gr=Gt.type;return fr()(gr,"dispatch: action should be a plain Object with type"),Xe===gr?Qe(Ft,Gt):Ft}}function Fa(){for(var Xe=arguments.length,Qe=new Array(Xe),Ft=0;Ft<Xe;Ft++)Qe[Ft]=arguments[Ft];return function(Gt,gr){return Qe.reduce(function(Rr,jr){return jr(Rr,gr)},Gt)}}function Ks(Xe,Qe){var Ft=Object.keys(Xe).map(function(gr){return ta(gr,Xe[gr])}),Gt=Fa.apply(void 0,(0,qe.Z)(Ft));return function(){var gr=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Qe,Rr=arguments.length>1?arguments[1]:void 0;return Gt(gr,Rr)}}function In(Xe,Qe,Ft){return Array.isArray(Xe)?Xe[1]((Ft||Ks)(Xe[0],Qe)):(Ft||Ks)(Xe||{},Qe)}function La(Xe){return function(){return function(Ft){return function(Gt){var gr=Gt.type;return Qe(gr)?new Promise(function(Rr,jr){Ft((0,l.Z)({__dva_resolve:Rr,__dva_reject:jr},Gt))}):Ft(Gt)}}};function Qe(Ft){if(!Ft||typeof Ft!="string")return!1;var Gt=Ft.split(oa),gr=(0,Er.Z)(Gt,1),Rr=gr[0],jr=Xe._models.filter(function(hn){return hn.namespace===Rr})[0];return!!(jr&&jr.effects&&jr.effects[Ft])}}function as(Xe,Qe){return function(Ft){var Gt=Ft.type;return fr()(Gt,"dispatch: action should be a plain Object with type"),ar()(Gt.indexOf("".concat(Qe.namespace).concat(oa))!==0,"dispatch: ".concat(Gt," should not be prefixed with namespace ").concat(Qe.namespace)),Xe((0,l.Z)({},Ft,{type:Ga(Gt,Qe)}))}}function ss(Xe,Qe,Ft,Gt){var gr=[],Rr=[];for(var jr in Xe)if(Object.prototype.hasOwnProperty.call(Xe,jr)){var hn=Xe[jr],tn=hn({dispatch:as(Ft._store.dispatch,Qe),history:Ft._history},Gt);xn(tn)?gr.push(tn):Rr.push(jr)}return{funcs:gr,nonFuncs:Rr}}function Li(Xe,Qe){if(Xe[Qe]){var Ft=Xe[Qe],Gt=Ft.funcs,gr=Ft.nonFuncs;ar()(gr.length===0,"[app.unmodel] subscription should return unlistener function, check these subscriptions ".concat(gr.join(", ")));var Rr=!0,jr=!1,hn=void 0;try{for(var tn=Gt[Symbol.iterator](),pn;!(Rr=(pn=tn.next()).done);Rr=!0){var Yn=pn.value;Yn()}}catch(qn){jr=!0,hn=qn}finally{try{!Rr&&tn.return!=null&&tn.return()}finally{if(jr)throw hn}}delete Xe[Qe]}}var Da=Ci,Ia=li,cs={namespace:"@@dva",state:0,reducers:{UPDATE:function(Qe){return Qe+1}}};function Ys(){var Xe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},Qe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},Ft=Qe.initialReducer,Gt=Qe.setupApp,gr=Gt===void 0?Da:Gt,Rr=new Ra;Rr.use(Ts(Xe));var jr={_models:[ua((0,l.Z)({},cs))],_store:null,_plugin:Rr,use:Rr.use.bind(Rr),model:hn,start:qn};return jr;function hn(mi){var wi=ua((0,l.Z)({},mi));return jr._models.push(wi),wi}function tn(mi,wi,Hi,Mi){Mi=hn(Mi);var bi=jr._store;bi.asyncReducers[Mi.namespace]=In(Mi.reducers,Mi.state,Rr._handleActions),bi.replaceReducer(mi()),Mi.effects&&bi.runSaga(jr._getSaga(Mi.effects,Mi,wi,Rr.get("onEffect"),Xe)),Mi.subscriptions&&(Hi[Mi.namespace]=ss(Mi.subscriptions,Mi,jr,wi))}function pn(mi,wi,Hi,Mi){var bi=jr._store;delete bi.asyncReducers[Mi],delete wi[Mi],bi.replaceReducer(mi()),bi.dispatch({type:"@@dva/UPDATE"}),bi.dispatch({type:"".concat(Mi,"/@@CANCEL_EFFECTS")}),Li(Hi,Mi),jr._models=jr._models.filter(function(pa){return pa.namespace!==Mi})}function Yn(mi,wi,Hi,Mi,bi){var pa=jr._store,xi=bi.namespace,hi=Ia(jr._models,function(la){return la.namespace===xi});~hi&&(pa.dispatch({type:"".concat(xi,"/@@CANCEL_EFFECTS")}),delete pa.asyncReducers[xi],delete wi[xi],Li(Hi,xi),jr._models.splice(hi,1)),jr.model(bi),pa.dispatch({type:"@@dva/UPDATE"})}function qn(){var mi=function(wr,Xr){wr&&(typeof wr=="string"&&(wr=new Error(wr)),wr.preventDefault=function(){wr._dontReject=!0},Rr.apply("onError",function(yr){throw new Error(yr.stack||yr)})(wr,jr._store.dispatch,Xr))},wi=ft(),Hi=La(jr);jr._getSaga=Ps.bind(null);var Mi=[],bi=(0,l.Z)({},Ft),pa=!0,xi=!1,hi=void 0;try{for(var la=jr._models[Symbol.iterator](),qs;!(pa=(qs=la.next()).done);pa=!0){var As=qs.value;bi[As.namespace]=In(As.reducers,As.state,Rr._handleActions),As.effects&&Mi.push(jr._getSaga(As.effects,As,mi,Rr.get("onEffect"),Xe))}}catch(Ae){xi=!0,hi=Ae}finally{try{!pa&&la.return!=null&&la.return()}finally{if(xi)throw hi}}var Wi=Rr.get("onReducer"),Oa=Rr.get("extraReducers");fr()(Object.keys(Oa).every(function(Ae){return!(Ae in bi)}),"[app.start] extraReducers is conflict with other reducers, reducers list: ".concat(Object.keys(bi).join(", "))),jr._store=ns({reducers:be(),initialState:Xe.initialState||{},plugin:Rr,createOpts:Qe,sagaMiddleware:wi,promiseMiddleware:Hi});var Ji=jr._store;Ji.runSaga=wi.run,Ji.asyncReducers={};var Oi=Rr.get("onStateChange"),ga=!0,ka=!1,Ka=void 0;try{for(var Js=function(){var wr=fo.value;Ji.subscribe(function(){wr(Ji.getState())})},Ya=Oi[Symbol.iterator](),fo;!(ga=(fo=Ya.next()).done);ga=!0)Js()}catch(Ae){ka=!0,Ka=Ae}finally{try{!ga&&Ya.return!=null&&Ya.return()}finally{if(ka)throw Ka}}Mi.forEach(wi.run),gr(jr);var ja={},Xa=!0,ls=!1,ra=void 0;try{for(var za=this._models[Symbol.iterator](),ys;!(Xa=(ys=za.next()).done);Xa=!0){var ya=ys.value;ya.subscriptions&&(ja[ya.namespace]=ss(ya.subscriptions,ya,jr,mi))}}catch(Ae){ls=!0,ra=Ae}finally{try{!Xa&&za.return!=null&&za.return()}finally{if(ls)throw ra}}jr.model=tn.bind(jr,be,mi,ja),jr.unmodel=pn.bind(jr,be,bi,ja),jr.replaceModel=Yn.bind(jr,be,bi,ja,mi);function be(){return Wi((0,c.UY)((0,l.Z)({},bi,Oa,jr._store?jr._store.asyncReducers:{})))}}}var Eo=e(37573),Io=e(45097),Do=e(4676);function Ba(Xe){Xe()}let qa=Ba;const lo=Xe=>qa=Xe,Oo=()=>qa,wo=Symbol.for("react-redux-context"),ko=typeof globalThis!="undefined"?globalThis:{};function fi(){var Xe;if(!i.createContext)return{};const Qe=(Xe=ko[wo])!=null?Xe:ko[wo]=new Map;let Ft=Qe.get(i.createContext);return Ft||(Ft=i.createContext(null),Qe.set(i.createContext,Ft)),Ft}const si=fi();var Na=null;function Va(Xe=si){return function(){return(0,i.useContext)(Xe)}}const $a=Va(),Xs=()=>{throw new Error("uSES not initialized!")};let So=Xs;const Zo=Xe=>{So=Xe},fs=(Xe,Qe)=>Xe===Qe;function No(Xe=si){const Qe=Xe===si?$a:Va(Xe);return function(Gt,gr={}){const{equalityFn:Rr=fs,stabilityCheck:jr=void 0,noopCheck:hn=void 0}=typeof gr=="function"?{equalityFn:gr}:gr,{store:tn,subscription:pn,getServerState:Yn,stabilityCheck:qn,noopCheck:mi}=Qe(),wi=(0,i.useRef)(!0),Hi=(0,i.useCallback)({[Gt.name](bi){return Gt(bi)}}[Gt.name],[Gt,qn,jr]),Mi=So(pn.addNestedSub,tn.getState,Yn||tn.getState,Hi,Rr);return(0,i.useDebugValue)(Mi),Mi}}const Ho=No();var iu=e(14809),mo=e(74126),Cu=e(94266),vo=e.n(Cu),Vs=e(23265);const Ko=["initMapStateToProps","initMapDispatchToProps","initMergeProps"];function du(Xe,Qe,Ft,Gt,{areStatesEqual:gr,areOwnPropsEqual:Rr,areStatePropsEqual:jr}){let hn=!1,tn,pn,Yn,qn,mi;function wi(xi,hi){return tn=xi,pn=hi,Yn=Xe(tn,pn),qn=Qe(Gt,pn),mi=Ft(Yn,qn,pn),hn=!0,mi}function Hi(){return Yn=Xe(tn,pn),Qe.dependsOnOwnProps&&(qn=Qe(Gt,pn)),mi=Ft(Yn,qn,pn),mi}function Mi(){return Xe.dependsOnOwnProps&&(Yn=Xe(tn,pn)),Qe.dependsOnOwnProps&&(qn=Qe(Gt,pn)),mi=Ft(Yn,qn,pn),mi}function bi(){const xi=Xe(tn,pn),hi=!jr(xi,Yn);return Yn=xi,hi&&(mi=Ft(Yn,qn,pn)),mi}function pa(xi,hi){const la=!Rr(hi,pn),qs=!gr(xi,tn,hi,pn);return tn=xi,pn=hi,la&&qs?Hi():la?Mi():qs?bi():mi}return function(hi,la){return hn?pa(hi,la):wi(hi,la)}}function co(Xe,Qe){let{initMapStateToProps:Ft,initMapDispatchToProps:Gt,initMergeProps:gr}=Qe,Rr=(0,mo.Z)(Qe,Ko);const jr=Ft(Xe,Rr),hn=Gt(Xe,Rr),tn=gr(Xe,Rr);return du(jr,hn,tn,Xe,Rr)}function go(Xe,Qe){const Ft={};for(const Gt in Xe){const gr=Xe[Gt];typeof gr=="function"&&(Ft[Gt]=(...Rr)=>Qe(gr(...Rr)))}return Ft}function au(Xe){return function(Ft){const Gt=Xe(Ft);function gr(){return Gt}return gr.dependsOnOwnProps=!1,gr}}function Ro(Xe){return Xe.dependsOnOwnProps?!!Xe.dependsOnOwnProps:Xe.length!==1}function $o(Xe,Qe){return function(Gt,{displayName:gr}){const Rr=function(hn,tn){return Rr.dependsOnOwnProps?Rr.mapToProps(hn,tn):Rr.mapToProps(hn,void 0)};return Rr.dependsOnOwnProps=!0,Rr.mapToProps=function(hn,tn){Rr.mapToProps=Xe,Rr.dependsOnOwnProps=Ro(Xe);let pn=Rr(hn,tn);return typeof pn=="function"&&(Rr.mapToProps=pn,Rr.dependsOnOwnProps=Ro(pn),pn=Rr(hn,tn)),pn},Rr}}function os(Xe,Qe){return(Ft,Gt)=>{throw new Error(`Invalid value of type ${typeof Xe} for ${Qe} argument when connecting component ${Gt.wrappedComponentName}.`)}}function Ao(Xe){return Xe&&typeof Xe=="object"?au(Qe=>go(Xe,Qe)):Xe?typeof Xe=="function"?$o(Xe,"mapDispatchToProps"):os(Xe,"mapDispatchToProps"):au(Qe=>({dispatch:Qe}))}function hu(Xe){return Xe?typeof Xe=="function"?$o(Xe,"mapStateToProps"):os(Xe,"mapStateToProps"):au(()=>({}))}function qt(Xe,Qe,Ft){return(0,iu.Z)({},Ft,Xe,Qe)}function hr(Xe){return function(Ft,{displayName:Gt,areMergedPropsEqual:gr}){let Rr=!1,jr;return function(tn,pn,Yn){const qn=Xe(tn,pn,Yn);return Rr?gr(qn,jr)||(jr=qn):(Rr=!0,jr=qn),jr}}}function sr(Xe){return Xe?typeof Xe=="function"?hr(Xe):os(Xe,"mergeProps"):()=>qt}function pr(){const Xe=Oo();let Qe=null,Ft=null;return{clear(){Qe=null,Ft=null},notify(){Xe(()=>{let Gt=Qe;for(;Gt;)Gt.callback(),Gt=Gt.next})},get(){let Gt=[],gr=Qe;for(;gr;)Gt.push(gr),gr=gr.next;return Gt},subscribe(Gt){let gr=!0,Rr=Ft={callback:Gt,next:null,prev:Ft};return Rr.prev?Rr.prev.next=Rr:Qe=Rr,function(){!gr||Qe===null||(gr=!1,Rr.next?Rr.next.prev=Rr.prev:Ft=Rr.prev,Rr.prev?Rr.prev.next=Rr.next:Qe=Rr.next)}}}}const Ar={notify(){},get:()=>[]};function fn(Xe,Qe){let Ft,Gt=Ar,gr=0,Rr=!1;function jr(Mi){Yn();const bi=Gt.subscribe(Mi);let pa=!1;return()=>{pa||(pa=!0,bi(),qn())}}function hn(){Gt.notify()}function tn(){Hi.onStateChange&&Hi.onStateChange()}function pn(){return Rr}function Yn(){gr++,Ft||(Ft=Qe?Qe.addNestedSub(tn):Xe.subscribe(tn),Gt=pr())}function qn(){gr--,Ft&&gr===0&&(Ft(),Ft=void 0,Gt.clear(),Gt=Ar)}function mi(){Rr||(Rr=!0,Yn())}function wi(){Rr&&(Rr=!1,qn())}const Hi={addNestedSub:jr,notifyNestedSubs:hn,handleChangeWrapper:tn,isSubscribed:pn,trySubscribe:mi,tryUnsubscribe:wi,getListeners:()=>Gt};return Hi}const wn=typeof window!="undefined"&&typeof window.document!="undefined"&&typeof window.document.createElement!="undefined"?i.useLayoutEffect:i.useEffect;function Ln(Xe,Qe){return Xe===Qe?Xe!==0||Qe!==0||1/Xe===1/Qe:Xe!==Xe&&Qe!==Qe}function Jn(Xe,Qe){if(Ln(Xe,Qe))return!0;if(typeof Xe!="object"||Xe===null||typeof Qe!="object"||Qe===null)return!1;const Ft=Object.keys(Xe),Gt=Object.keys(Qe);if(Ft.length!==Gt.length)return!1;for(let gr=0;gr<Ft.length;gr++)if(!Object.prototype.hasOwnProperty.call(Qe,Ft[gr])||!Ln(Xe[Ft[gr]],Qe[Ft[gr]]))return!1;return!0}const Qn=["reactReduxForwardedRef"];let dr=Xs;const Lr=Xe=>{dr=Xe},Or=null,gn=[null,null],yn=Xe=>{try{return JSON.stringify(Xe)}catch(Qe){return String(Xe)}};function ht(Xe,Qe,Ft){wn(()=>Xe(...Qe),Ft)}function Dn(Xe,Qe,Ft,Gt,gr,Rr){Xe.current=Gt,Ft.current=!1,gr.current&&(gr.current=null,Rr())}function Mn(Xe,Qe,Ft,Gt,gr,Rr,jr,hn,tn,pn,Yn){if(!Xe)return()=>{};let qn=!1,mi=null;const wi=()=>{if(qn||!hn.current)return;const Mi=Qe.getState();let bi,pa;try{bi=Gt(Mi,gr.current)}catch(xi){pa=xi,mi=xi}pa||(mi=null),bi===Rr.current?jr.current||pn():(Rr.current=bi,tn.current=bi,jr.current=!0,Yn())};return Ft.onStateChange=wi,Ft.trySubscribe(),wi(),()=>{if(qn=!0,Ft.tryUnsubscribe(),Ft.onStateChange=null,mi)throw mi}}const Ei=()=>Or;function Zi(Xe,Qe){return Xe===Qe}let Jt=!1;function Yi(Xe,Qe,Ft,{pure:Gt,areStatesEqual:gr=Zi,areOwnPropsEqual:Rr=Jn,areStatePropsEqual:jr=Jn,areMergedPropsEqual:hn=Jn,forwardRef:tn=!1,context:pn=si}={}){const Yn=pn,qn=hu(Xe),mi=Ao(Qe),wi=sr(Ft),Hi=!!Xe;return bi=>{const pa=bi.displayName||bi.name||"Component",xi=`Connect(${pa})`,hi={shouldHandleStateChanges:Hi,displayName:xi,wrappedComponentName:pa,WrappedComponent:bi,initMapStateToProps:qn,initMapDispatchToProps:mi,initMergeProps:wi,areStatesEqual:gr,areStatePropsEqual:jr,areOwnPropsEqual:Rr,areMergedPropsEqual:hn};function la(Wi){const[Oa,Ji,Oi]=i.useMemo(()=>{const{reactReduxForwardedRef:On}=Wi,Cn=(0,mo.Z)(Wi,Qn);return[Wi.context,On,Cn]},[Wi]),ga=i.useMemo(()=>Oa&&Oa.Consumer&&(0,Vs.isContextConsumer)(i.createElement(Oa.Consumer,null))?Oa:Yn,[Oa,Yn]),ka=i.useContext(ga),Ka=!!Wi.store&&!!Wi.store.getState&&!!Wi.store.dispatch,Js=!!ka&&!!ka.store,Ya=Ka?Wi.store:ka.store,fo=Js?ka.getServerState:Ya.getState,ja=i.useMemo(()=>co(Ya.dispatch,hi),[Ya]),[Xa,ls]=i.useMemo(()=>{if(!Hi)return gn;const On=fn(Ya,Ka?void 0:ka.subscription),Cn=On.notifyNestedSubs.bind(On);return[On,Cn]},[Ya,Ka,ka]),ra=i.useMemo(()=>Ka?ka:(0,iu.Z)({},ka,{subscription:Xa}),[Ka,ka,Xa]),za=i.useRef(),ys=i.useRef(Oi),ya=i.useRef(),be=i.useRef(!1),Ae=i.useRef(!1),wr=i.useRef(!1),Xr=i.useRef();wn(()=>(wr.current=!0,()=>{wr.current=!1}),[]);const yr=i.useMemo(()=>()=>ya.current&&Oi===ys.current?ya.current:ja(Ya.getState(),Oi),[Ya,Oi]),Kr=i.useMemo(()=>Cn=>Xa?Mn(Hi,Ya,Xa,ja,ys,za,be,wr,ya,ls,Cn):()=>{},[Xa]);ht(Dn,[ys,za,be,Oi,ya,ls]);let En;try{En=dr(Kr,yr,fo?()=>ja(fo(),Oi):yr)}catch(On){throw Xr.current&&(On.message+=`
|
|
|
The error may be correlated with this previous error:
|
|
|
${Xr.current.stack}
|
|
|
|
|
|
`),On}wn(()=>{Xr.current=void 0,ya.current=void 0,za.current=En});const Xn=i.useMemo(()=>i.createElement(bi,(0,iu.Z)({},En,{ref:Ji})),[Ji,bi,En]);return i.useMemo(()=>Hi?i.createElement(ga.Provider,{value:ra},Xn):Xn,[ga,Xn,ra])}const As=i.memo(la);if(As.WrappedComponent=bi,As.displayName=la.displayName=xi,tn){const Oa=i.forwardRef(function(Oi,ga){return i.createElement(As,(0,iu.Z)({},Oi,{reactReduxForwardedRef:ga}))});return Oa.displayName=xi,Oa.WrappedComponent=bi,vo()(Oa,bi)}return vo()(As,bi)}}var Bi=Yi;function fa({store:Xe,context:Qe,children:Ft,serverState:Gt,stabilityCheck:gr="once",noopCheck:Rr="once"}){const jr=i.useMemo(()=>{const pn=fn(Xe);return{store:Xe,subscription:pn,getServerState:Gt?()=>Gt:void 0,stabilityCheck:gr,noopCheck:Rr}},[Xe,Gt,gr,Rr]),hn=i.useMemo(()=>Xe.getState(),[Xe]);wn(()=>{const{subscription:pn}=jr;return pn.onStateChange=pn.notifyNestedSubs,pn.trySubscribe(),hn!==Xe.getState()&&pn.notifyNestedSubs(),()=>{pn.tryUnsubscribe(),pn.onStateChange=void 0}},[jr,hn]);const tn=Qe||si;return i.createElement(tn.Provider,{value:jr},Ft)}var Ja=fa;function gs(Xe=si){const Qe=Xe===si?$a:Va(Xe);return function(){const{store:Gt}=Qe();return Gt}}const Ti=gs();function io(Xe=si){const Qe=Xe===si?Ti:gs(Xe);return function(){return Qe().dispatch}}const Us=io();Zo(Io.useSyncExternalStoreWithSelector),Lr(Eo.useSyncExternalStore),lo(Do.unstable_batchedUpdates);var ds=Object.defineProperty,Ea=Object.getOwnPropertySymbols,us=Object.prototype.hasOwnProperty,Qs=Object.prototype.propertyIsEnumerable,kn=(Xe,Qe,Ft)=>Qe in Xe?ds(Xe,Qe,{enumerable:!0,configurable:!0,writable:!0,value:Ft}):Xe[Qe]=Ft,Ss=(Xe,Qe)=>{for(var Ft in Qe||(Qe={}))us.call(Qe,Ft)&&kn(Xe,Ft,Qe[Ft]);if(Ea)for(var Ft of Ea(Qe))Qs.call(Qe,Ft)&&kn(Xe,Ft,Qe[Ft]);return Xe};function zs(Xe){const Qe=create(Xe,{initialReducer:{},setupApp(){}}),Ft=Qe.start;return Qe.router=Gt,Qe.start=gr,Qe;function Gt(Rr){Qe._router=Rr}function gr(Rr){if(typeof Rr!="undefined")throw new Error("dva.start() should not be called with any arguments.");Qe._store||Ft.call(Qe);const jr=Qe._store,hn=Qe._router;return tn=>React.createElement(Provider,{store:jr},hn(Ss({app:Qe},tn)))}}},58293:function(d,v,e){"use strict";e.d(v,{fi:function(){return _},m8:function(){return p}});var r=e(19340),i=Object.defineProperty,l=Object.defineProperties,c=Object.getOwnPropertyDescriptors,f=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,h=Object.prototype.propertyIsEnumerable,u=(R,C,D)=>C in R?i(R,C,{enumerable:!0,configurable:!0,writable:!0,value:D}):R[C]=D,a=(R,C)=>{for(var D in C||(C={}))o.call(C,D)&&u(R,D,C[D]);if(f)for(var D of f(C))h.call(C,D)&&u(R,D,C[D]);return R},x=(R,C)=>l(R,c(C));let p,y="/";function _(R){let C;return R.type==="hash"?C=(0,r.q_)():R.type==="memory"?C=(0,r.PP)(R):C=(0,r.lX)(),R.basename&&(y=R.basename),p=x(a({},C),{push(D,M){C.push(A(D,C),M)},replace(D,M){C.replace(A(D,C),M)},get location(){return C.location},get action(){return C.action}}),C}function b(R){R&&(p=R)}function A(R,C){if(typeof R=="string")return`${k(y)}${R}`;if(typeof R=="object"){const D=C.location.pathname;return x(a({},R),{pathname:R.pathname?`${k(y)}${R.pathname}`:D})}else throw new Error(`Unexpected to: ${R}`)}function k(R){return R.slice(-1)==="/"?R.slice(0,-1):R}},3191:function(d,v,e){"use strict";e.d(v,{gD:function(){return on},We:function(){return or}});var r={};e.r(r),e.d(r,{dva:function(){return a}});var i={};e.r(i),e.d(i,{innerProvider:function(){return We}});var l={};e.r(l),e.d(l,{rootContainer:function(){return Ie}});var c={};e.r(c),e.d(c,{dataflowProvider:function(){return zt}});var f={};e.r(f),e.d(f,{i18nProvider:function(){return xr}});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(_),A=e(44520),k=e.n(A),R=e(19747),C=e.n(R);function D(){return D=Object.assign||function(Rt){for(var _t=1;_t<arguments.length;_t++){var vt=arguments[_t];for(var $t in vt)Object.prototype.hasOwnProperty.call(vt,$t)&&(Rt[$t]=vt[$t])}return Rt},D.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,$t){return vt.__proto__=$t,vt},B(Rt,_t)}function N(Rt,_t){if(Rt==null)return{};var vt,$t,Sr={},vr=Object.keys(Rt);for($t=0;$t<vr.length;$t++)_t.indexOf(vt=vr[$t])>=0||(Sr[vt]=Rt[vt]);return Sr}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"]},W={type:["application/ld+json"]},se={charset:"",name:["robots","description"],property:["og:type","og:title","og:url","og:image","og:image:alt","og:description","twitter:url","twitter:title","twitter:description","twitter:image","twitter:image:alt","twitter:card","twitter:site"]},ie=Object.keys(K).map(function(Rt){return K[Rt]}),le={accesskey:"accessKey",charset:"charSet",class:"className",contenteditable:"contentEditable",contextmenu:"contextMenu","http-equiv":"httpEquiv",itemprop:"itemProp",tabindex:"tabIndex"},q=Object.keys(le).reduce(function(Rt,_t){return Rt[le[_t]]=_t,Rt},{}),J=function(Rt,_t){for(var vt=Rt.length-1;vt>=0;vt-=1){var $t=Rt[vt];if(Object.prototype.hasOwnProperty.call($t,_t))return $t[_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 $t=J(Rt,"defaultTitle");return _t||$t||void 0},ue=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,$t){return D({},vt,$t)},{})},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,$t){if(!vt.length)for(var Sr=Object.keys($t),vr=0;vr<Sr.length;vr+=1){var Qr=Sr[vr].toLowerCase();if(Rt.indexOf(Qr)!==-1&&$t[Qr])return vt.concat($t)}return vt},[])},ce=function(Rt,_t,vt){var $t={};return vt.filter(function(Sr){return!!Array.isArray(Sr[Rt])||(Sr[Rt]!==void 0&&console&&typeof console.warn=="function"&&console.warn("Helmet: "+Rt+' should be of type "Array". Instead found type "'+typeof Sr[Rt]+'"'),!1)}).map(function(Sr){return Sr[Rt]}).reverse().reduce(function(Sr,vr){var Qr={};vr.filter(function(Vr){for(var dn,Bn=Object.keys(Vr),ti=0;ti<Bn.length;ti+=1){var Un=Bn[ti],Ri=Un.toLowerCase();_t.indexOf(Ri)===-1||dn==="rel"&&Vr[dn].toLowerCase()==="canonical"||Ri==="rel"&&Vr[Ri].toLowerCase()==="stylesheet"||(dn=Ri),_t.indexOf(Un)===-1||Un!=="innerHTML"&&Un!=="cssText"&&Un!=="itemprop"||(dn=Un)}if(!dn||!Vr[dn])return!1;var ni=Vr[dn].toLowerCase();return $t[dn]||($t[dn]={}),Qr[dn]||(Qr[dn]={}),!$t[dn][ni]&&(Qr[dn][ni]=!0,!0)}).reverse().forEach(function(Vr){return Sr.push(Vr)});for(var Wr=Object.keys(Qr),An=0;An<Wr.length;An+=1){var At=Wr[An],lr=D({},$t[At],Qr[At]);$t[At]=lr}return Sr},[]).reverse()},z=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},ae=function(Rt,_t){return Array.isArray(Rt)?Rt.reduce(function(vt,$t){return function(Sr,vr){for(var Qr=Object.keys(Sr),Wr=0;Wr<Qr.length;Wr+=1)if(vr[Qr[Wr]]&&vr[Qr[Wr]].includes(Sr[Qr[Wr]]))return!0;return!1}($t,_t)?vt.priority.push($t):vt.default.push($t),vt},{priority:[],default:[]}):{default:Rt}},_e=function(Rt,_t){var vt;return D({},Rt,((vt={})[_t]=void 0,vt))},De=[K.NOSCRIPT,K.SCRIPT,K.STYLE],ke=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 $t=Rt[vt]!==void 0?vt+'="'+Rt[vt]+'"':""+vt;return _t?_t+" "+$t:$t},"")},$e=function(Rt,_t){return _t===void 0&&(_t={}),Object.keys(Rt).reduce(function(vt,$t){return vt[le[$t]||$t]=Rt[$t],vt},_t)},Bt=function(Rt,_t){return _t.map(function(vt,$t){var Sr,vr=((Sr={key:$t})["data-rh"]=!0,Sr);return Object.keys(vt).forEach(function(Qr){var Wr=le[Qr]||Qr;Wr==="innerHTML"||Wr==="cssText"?vr.dangerouslySetInnerHTML={__html:vt.innerHTML||vt.cssText}:vr[Wr]=vt[Qr]}),x.createElement(Rt,vr)})},gt=function(Rt,_t,vt){switch(Rt){case K.TITLE:return{toComponent:function(){return Sr=_t.titleAttributes,(vr={key:$t=_t.title})["data-rh"]=!0,Qr=$e(Sr,vr),[x.createElement(K.TITLE,Qr,$t)];var $t,Sr,vr,Qr},toString:function(){return function($t,Sr,vr,Qr){var Wr=He(vr),An=$(Sr);return Wr?"<"+$t+' data-rh="true" '+Wr+">"+ke(An,Qr)+"</"+$t+">":"<"+$t+' data-rh="true">'+ke(An,Qr)+"</"+$t+">"}(Rt,_t.title,_t.titleAttributes,vt)}};case"bodyAttributes":case"htmlAttributes":return{toComponent:function(){return $e(_t)},toString:function(){return He(_t)}};default:return{toComponent:function(){return Bt(Rt,_t)},toString:function(){return function($t,Sr,vr){return Sr.reduce(function(Qr,Wr){var An=Object.keys(Wr).filter(function(Vr){return!(Vr==="innerHTML"||Vr==="cssText")}).reduce(function(Vr,dn){var Bn=Wr[dn]===void 0?dn:dn+'="'+ke(Wr[dn],vr)+'"';return Vr?Vr+" "+Bn:Bn},""),At=Wr.innerHTML||Wr.cssText||"",lr=De.indexOf($t)===-1;return Qr+"<"+$t+' data-rh="true" '+An+(lr?"/>":">"+At+"</"+$t+">")},"")}(Rt,_t,vt)}}}},Dt=function(Rt){var _t=Rt.baseTag,vt=Rt.bodyAttributes,$t=Rt.encode,Sr=Rt.htmlAttributes,vr=Rt.noscriptTags,Qr=Rt.styleTags,Wr=Rt.title,An=Wr===void 0?"":Wr,At=Rt.titleAttributes,lr=Rt.linkTags,Vr=Rt.metaTags,dn=Rt.scriptTags,Bn={toComponent:function(){},toString:function(){return""}};if(Rt.prioritizeSeoTags){var ti=function(Un){var Ri=Un.linkTags,ni=Un.scriptTags,ci=Un.encode,gi=ae(Un.metaTags,se),di=ae(Ri,G),Qi=ae(ni,W);return{priorityMethods:{toComponent:function(){return[].concat(Bt(K.META,gi.priority),Bt(K.LINK,di.priority),Bt(K.SCRIPT,Qi.priority))},toString:function(){return gt(K.META,gi.priority,ci)+" "+gt(K.LINK,di.priority,ci)+" "+gt(K.SCRIPT,Qi.priority,ci)}},metaTags:gi.default,linkTags:di.default,scriptTags:Qi.default}}(Rt);Bn=ti.priorityMethods,lr=ti.linkTags,Vr=ti.metaTags,dn=ti.scriptTags}return{priority:Bn,base:gt(K.BASE,_t,$t),bodyAttributes:gt("bodyAttributes",vt,$t),htmlAttributes:gt("htmlAttributes",Sr,$t),link:gt(K.LINK,lr,$t),meta:gt(K.META,Vr,$t),noscript:gt(K.NOSCRIPT,vr,$t),script:gt(K.SCRIPT,dn,$t),style:gt(K.STYLE,Qr,$t),title:gt(K.TITLE,{title:An,titleAttributes:At},$t)}},nr=[],Xt=function(Rt,_t){var vt=this;_t===void 0&&(_t=typeof document!="undefined"),this.instances=[],this.value={setHelmet:function($t){vt.context.helmet=$t},helmetInstances:{get:function(){return vt.canUseDOM?nr:vt.instances},add:function($t){(vt.canUseDOM?nr:vt.instances).push($t)},remove:function($t){var Sr=(vt.canUseDOM?nr:vt.instances).indexOf($t);(vt.canUseDOM?nr:vt.instances).splice(Sr,1)}}},this.context=Rt,this.canUseDOM=_t,_t||(Rt.helmet=Dt({baseTag:[],bodyAttributes:{},encodeSpecialCharacters:!0,htmlAttributes:{},linkTags:[],metaTags:[],noscriptTags:[],scriptTags:[],styleTags:[],title:"",titleAttributes:{}}))},cr=x.createContext({}),Ge=y().shape({setHelmet:y().func,helmetInstances:y().shape({get:y().func,add:y().func,remove:y().func})}),Tt=typeof document!="undefined",Ut=function(Rt){function _t(vt){var $t;return($t=Rt.call(this,vt)||this).helmetData=new Xt($t.props.context,_t.canUseDOM),$t}return M(_t,Rt),_t.prototype.render=function(){return x.createElement(cr.Provider,{value:this.helmetData.value},this.props.children)},_t}(x.Component);Ut.canUseDOM=Tt,Ut.propTypes={context:y().shape({helmet:y().shape()}),children:y().node.isRequired},Ut.defaultProps={context:{}},Ut.displayName="HelmetProvider";var at=function(Rt,_t){var vt,$t=document.head||document.querySelector(K.HEAD),Sr=$t.querySelectorAll(Rt+"[data-rh]"),vr=[].slice.call(Sr),Qr=[];return _t&&_t.length&&_t.forEach(function(Wr){var An=document.createElement(Rt);for(var At in Wr)Object.prototype.hasOwnProperty.call(Wr,At)&&(At==="innerHTML"?An.innerHTML=Wr.innerHTML:At==="cssText"?An.styleSheet?An.styleSheet.cssText=Wr.cssText:An.appendChild(document.createTextNode(Wr.cssText)):An.setAttribute(At,Wr[At]===void 0?"":Wr[At]));An.setAttribute("data-rh","true"),vr.some(function(lr,Vr){return vt=Vr,An.isEqualNode(lr)})?vr.splice(vt,1):Qr.push(An)}),vr.forEach(function(Wr){return Wr.parentNode.removeChild(Wr)}),Qr.forEach(function(Wr){return $t.appendChild(Wr)}),{oldTags:vr,newTags:Qr}},bt=function(Rt,_t){var vt=document.getElementsByTagName(Rt)[0];if(vt){for(var $t=vt.getAttribute("data-rh"),Sr=$t?$t.split(","):[],vr=[].concat(Sr),Qr=Object.keys(_t),Wr=0;Wr<Qr.length;Wr+=1){var An=Qr[Wr],At=_t[An]||"";vt.getAttribute(An)!==At&&vt.setAttribute(An,At),Sr.indexOf(An)===-1&&Sr.push(An);var lr=vr.indexOf(An);lr!==-1&&vr.splice(lr,1)}for(var Vr=vr.length-1;Vr>=0;Vr-=1)vt.removeAttribute(vr[Vr]);Sr.length===vr.length?vt.removeAttribute("data-rh"):vt.getAttribute("data-rh")!==Qr.join(",")&&vt.setAttribute("data-rh",Qr.join(","))}},dt=function(Rt,_t){var vt=Rt.baseTag,$t=Rt.htmlAttributes,Sr=Rt.linkTags,vr=Rt.metaTags,Qr=Rt.noscriptTags,Wr=Rt.onChangeClientState,An=Rt.scriptTags,At=Rt.styleTags,lr=Rt.title,Vr=Rt.titleAttributes;bt(K.BODY,Rt.bodyAttributes),bt(K.HTML,$t),function(Un,Ri){Un!==void 0&&document.title!==Un&&(document.title=$(Un)),bt(K.TITLE,Ri)}(lr,Vr);var dn={baseTag:at(K.BASE,vt),linkTags:at(K.LINK,Sr),metaTags:at(K.META,vr),noscriptTags:at(K.NOSCRIPT,Qr),scriptTags:at(K.SCRIPT,An),styleTags:at(K.STYLE,At)},Bn={},ti={};Object.keys(dn).forEach(function(Un){var Ri=dn[Un],ni=Ri.newTags,ci=Ri.oldTags;ni.length&&(Bn[Un]=ni),ci.length&&(ti[Un]=dn[Un].oldTags)}),_t&&_t(),Wr(Rt,Bn,ti)},tt=null,Ue=function(Rt){function _t(){for(var $t,Sr=arguments.length,vr=new Array(Sr),Qr=0;Qr<Sr;Qr++)vr[Qr]=arguments[Qr];return($t=Rt.call.apply(Rt,[this].concat(vr))||this).rendered=!1,$t}M(_t,Rt);var vt=_t.prototype;return vt.shouldComponentUpdate=function($t){return!C()($t,this.props)},vt.componentDidUpdate=function(){this.emitChange()},vt.componentWillUnmount=function(){this.props.context.helmetInstances.remove(this),this.emitChange()},vt.emitChange=function(){var $t,Sr,vr=this.props.context,Qr=vr.setHelmet,Wr=null,An=($t=vr.helmetInstances.get().map(function(At){var lr=D({},At.props);return delete lr.context,lr}),{baseTag:Q(["href"],$t),bodyAttributes:ee("bodyAttributes",$t),defer:J($t,"defer"),encode:J($t,"encodeSpecialCharacters"),htmlAttributes:ee("htmlAttributes",$t),linkTags:ce(K.LINK,["rel","href"],$t),metaTags:ce(K.META,["name","charset","http-equiv","property","itemprop"],$t),noscriptTags:ce(K.NOSCRIPT,["innerHTML"],$t),onChangeClientState:ue($t),scriptTags:ce(K.SCRIPT,["src","innerHTML"],$t),styleTags:ce(K.STYLE,["cssText"],$t),title:V($t),titleAttributes:ee("titleAttributes",$t),prioritizeSeoTags:z($t,"prioritizeSeoTags")});Ut.canUseDOM?(Sr=An,tt&&cancelAnimationFrame(tt),Sr.defer?tt=requestAnimationFrame(function(){dt(Sr,function(){tt=null})}):(dt(Sr),tt=null)):Dt&&(Wr=Dt(An)),Qr(Wr)},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);Ue.propTypes={context:Ge.isRequired},Ue.displayName="HelmetDispatcher";var ye=["children"],Ce=["children"],Me=function(Rt){function _t(){return Rt.apply(this,arguments)||this}M(_t,Rt);var vt=_t.prototype;return vt.shouldComponentUpdate=function($t){return!b()(_e(this.props,"helmetData"),_e($t,"helmetData"))},vt.mapNestedChildrenToProps=function($t,Sr){if(!Sr)return null;switch($t.type){case K.SCRIPT:case K.NOSCRIPT:return{innerHTML:Sr};case K.STYLE:return{cssText:Sr};default:throw new Error("<"+$t.type+" /> elements are self-closing and can not contain children. Refer to our API for more information.")}},vt.flattenArrayTypeChildren=function($t){var Sr,vr=$t.child,Qr=$t.arrayTypeChildren;return D({},Qr,((Sr={})[vr.type]=[].concat(Qr[vr.type]||[],[D({},$t.newChildProps,this.mapNestedChildrenToProps(vr,$t.nestedChildren))]),Sr))},vt.mapObjectTypeChildren=function($t){var Sr,vr,Qr=$t.child,Wr=$t.newProps,An=$t.newChildProps,At=$t.nestedChildren;switch(Qr.type){case K.TITLE:return D({},Wr,((Sr={})[Qr.type]=At,Sr.titleAttributes=D({},An),Sr));case K.BODY:return D({},Wr,{bodyAttributes:D({},An)});case K.HTML:return D({},Wr,{htmlAttributes:D({},An)});default:return D({},Wr,((vr={})[Qr.type]=D({},An),vr))}},vt.mapArrayTypeChildrenToProps=function($t,Sr){var vr=D({},Sr);return Object.keys($t).forEach(function(Qr){var Wr;vr=D({},vr,((Wr={})[Qr]=$t[Qr],Wr))}),vr},vt.warnOnInvalidChildren=function($t,Sr){return k()(ie.some(function(vr){return $t.type===vr}),typeof $t.type=="function"?"You may be attempting to nest <Helmet> components within each other, which is not allowed. Refer to our API for more information.":"Only elements types "+ie.join(", ")+" are allowed. Helmet does not support rendering <"+$t.type+"> elements. Refer to our API for more information."),k()(!Sr||typeof Sr=="string"||Array.isArray(Sr)&&!Sr.some(function(vr){return typeof vr!="string"}),"Helmet expects a string as a child of <"+$t.type+">. Did you forget to wrap your children in braces? ( <"+$t.type+">{``}</"+$t.type+"> ) Refer to our API for more information."),!0},vt.mapChildrenToProps=function($t,Sr){var vr=this,Qr={};return x.Children.forEach($t,function(Wr){if(Wr&&Wr.props){var An=Wr.props,At=An.children,lr=N(An,ye),Vr=Object.keys(lr).reduce(function(Bn,ti){return Bn[q[ti]||ti]=lr[ti],Bn},{}),dn=Wr.type;switch(typeof dn=="symbol"?dn=dn.toString():vr.warnOnInvalidChildren(Wr,At),dn){case K.FRAGMENT:Sr=vr.mapChildrenToProps(At,Sr);break;case K.LINK:case K.META:case K.NOSCRIPT:case K.SCRIPT:case K.STYLE:Qr=vr.flattenArrayTypeChildren({child:Wr,arrayTypeChildren:Qr,newChildProps:Vr,nestedChildren:At});break;default:Sr=vr.mapObjectTypeChildren({child:Wr,newProps:Sr,newChildProps:Vr,nestedChildren:At})}}}),this.mapArrayTypeChildrenToProps(Qr,Sr)},vt.render=function(){var $t=this.props,Sr=$t.children,vr=N($t,Ce),Qr=D({},vr),Wr=vr.helmetData;return Sr&&(Qr=this.mapChildrenToProps(Sr,Qr)),!Wr||Wr instanceof Xt||(Wr=new Xt(Wr.context,Wr.instances)),Wr?x.createElement(Ue,D({},Qr,{context:Wr.value,helmetData:void 0})):x.createElement(cr.Consumer,null,function(An){return x.createElement(Ue,D({},Qr,{context:An}))})},_t}(x.Component);Me.propTypes={base:y().object,bodyAttributes:y().object,children:y().oneOfType([y().arrayOf(y().node),y().node]),defaultTitle:y().string,defer:y().bool,encodeSpecialCharacters:y().bool,htmlAttributes:y().object,link:y().arrayOf(y().object),meta:y().arrayOf(y().object),noscript:y().arrayOf(y().object),onChangeClientState:y().func,script:y().arrayOf(y().object),style:y().arrayOf(y().object),title:y().string,titleAttributes:y().object,titleTemplate:y().string,prioritizeSeoTags:y().bool,helmetData:y().object},Me.defaultProps={defer:!0,encodeSpecialCharacters:!0,prioritizeSeoTags:!1},Me.displayName="Helmet";const je={},We=Rt=>x.createElement(Ut,{context:je},Rt);var nt=e(92736),lt=e(25690),Vt=e(36237),Ht=e(61337),Pe=e(28440),et=e.n(Pe),Kt=Object.defineProperty,kt=Object.getOwnPropertySymbols,Zt=Object.prototype.hasOwnProperty,Nt=Object.prototype.propertyIsEnumerable,tr=(Rt,_t,vt)=>_t in Rt?Kt(Rt,_t,{enumerable:!0,configurable:!0,writable:!0,value:vt}):Rt[_t]=vt,Wt=(Rt,_t)=>{for(var vt in _t||(_t={}))Zt.call(_t,vt)&&tr(Rt,vt,_t[vt]);if(kt)for(var vt of kt(_t))Nt.call(_t,vt)&&tr(Rt,vt,_t[vt]);return Rt},Fe=(Rt,_t)=>{var vt={};for(var $t in Rt)Zt.call(Rt,$t)&&_t.indexOf($t)<0&&(vt[$t]=Rt[$t]);if(Rt!=null&&kt)for(var $t of kt(Rt))_t.indexOf($t)<0&&Nt.call(Rt,$t)&&(vt[$t]=Rt[$t]);return vt};let fe=null;const pe=()=>(fe||(fe=or().applyPlugins({key:"antd",type:lt.ApplyPluginsType.modify,initialValue:Wt({},{componentSize:"middle"})})),fe);function Pt({children:Rt}){let _t=Rt;const[vt,$t]=x.useState(()=>{const vr=pe(),{appConfig:Qr}=vr;return Fe(vr,["appConfig"])}),Sr=vr=>{$t(Qr=>et()({},Qr,typeof vr=="function"?vr(Qr):vr))};return vt.prefixCls&&nt.ZP.config({prefixCls:vt.prefixCls}),vt.iconPrefixCls&&nt.ZP.config({iconPrefixCls:vt.iconPrefixCls}),vt.theme&&nt.ZP.config({theme:vt.theme}),_t=x.createElement(nt.ZP,Wt({},vt),_t),_t=x.createElement(Vt.StyleProvider,{hashPriority:"high"},_t),_t=x.createElement(Ht.C.Provider,{value:Sr},x.createElement(Ht.S.Provider,{value:vt},_t)),_t}function Ie(Rt){return x.createElement(Pt,null,Rt)}var ct=e(64839);function zt(Rt,_t){return x.createElement(ct.j,_t,Rt)}var wt=e(65517),Oe=e(18956),xt=e(81863),xe=Object.defineProperty,Ye=Object.getOwnPropertySymbols,mt=Object.prototype.hasOwnProperty,Mt=Object.prototype.propertyIsEnumerable,Be=(Rt,_t,vt)=>_t in Rt?xe(Rt,_t,{enumerable:!0,configurable:!0,writable:!0,value:vt}):Rt[_t]=vt,Ir=(Rt,_t)=>{for(var vt in _t||(_t={}))mt.call(_t,vt)&&Be(Rt,vt,_t[vt]);if(Ye)for(var vt of Ye(_t))Mt.call(_t,vt)&&Be(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 Zr=typeof window!="undefined"&&typeof window.document!="undefined"&&typeof window.document.createElement!="undefined"?x.useLayoutEffect:x.useEffect,Yr=Rt=>{var _t;const vt=(0,Oe.Kd)(),[$t,Sr]=x.useState(vt),[vr,Qr]=x.useState(()=>(0,Oe.lw)($t,!0)),Wr=lr=>{var Vr,dn;(Vr=u())!=null&&Vr.locale&&u().locale(((dn=Oe.H8[lr])==null?void 0:dn.momentLocale)||"en"),Sr(lr),Qr((0,Oe.lw)(lr))};Zr(()=>(Oe.B.on(Oe.PZ,Wr),()=>{Oe.B.off(Oe.PZ,Wr)}),[]);const An=Ir({},xt.Z),At=(0,Oe.Mg)();return x.createElement(nt.ZP,{direction:At,locale:((_t=Oe.H8[$t])==null?void 0:_t.antd)||An},x.createElement(Oe.eU,{value:vr},Rt.children))};function xr(Rt){return x.createElement(Yr,null,Rt)}function Mr(Rt){return Rt.default?typeof Rt.default=="function"?Rt.default():Rt.default:Rt}function mr(){return[{apply:Mr(r),path:void 0},{apply:i,path:void 0},{apply:l,path:void 0},{apply:c,path:void 0},{apply:f,path:void 0}]}function Nr(){return["patchRoutes","patchClientRoutes","modifyContextOpts","modifyClientRenderOpts","rootContainer","innerProvider","i18nProvider","accessProvider","dataflowProvider","outerProvider","render","onRouteChange","antd","dva","locale","qiankun"]}let nn=null;function on(){return nn=lt.PluginManager.create({plugins:mr(),validKeys:Nr()}),nn}function or(){return nn}},25690: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 Ut},connect:function(){return f.$j},getDvaApp:function(){return o.Q},history:function(){return at.m8},useAppData:function(){return W.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(61337);function l(){return React.useContext(AntdConfigContext)}function c(){return React.useContext(AntdConfigContextSetter)}var f=e(2339),o=e(64839),h=e(18956),u=Object.defineProperty,a=Object.defineProperties,x=Object.getOwnPropertyDescriptors,p=Object.getOwnPropertySymbols,y=Object.prototype.hasOwnProperty,_=Object.prototype.propertyIsEnumerable,b=(We,nt,lt)=>nt in We?u(We,nt,{enumerable:!0,configurable:!0,writable:!0,value:lt}):We[nt]=lt,A=(We,nt)=>{for(var lt in nt||(nt={}))y.call(nt,lt)&&b(We,lt,nt[lt]);if(p)for(var lt of p(nt))_.call(nt,lt)&&b(We,lt,nt[lt]);return We},k=(We,nt)=>a(We,x(nt)),R=(We,nt)=>{var lt={};for(var Vt in We)y.call(We,Vt)&&nt.indexOf(Vt)<0&&(lt[Vt]=We[Vt]);if(We!=null&&p)for(var Vt of p(We))nt.indexOf(Vt)<0&&_.call(We,Vt)&&(lt[Vt]=We[Vt]);return lt};const C=We=>{var nt=We,{overlayClassName:lt}=nt,Vt=R(nt,["overlayClassName"]);return React.createElement(Dropdown,A({overlayClassName:lt},Vt))},D=We=>We.reduce((nt,lt)=>lt.lang?k(A({},nt),{[lt.lang]:lt}):nt,{}),M={"ar-EG":{lang:"ar-EG",label:"\u0627\u0644\u0639\u0631\u0628\u064A\u0629",icon:"\u{1F1EA}\u{1F1EC}",title:"\u0644\u063A\u0629"},"az-AZ":{lang:"az-AZ",label:"Az\u0259rbaycan dili",icon:"\u{1F1E6}\u{1F1FF}",title:"Dil"},"bg-BG":{lang:"bg-BG",label:"\u0411\u044A\u043B\u0433\u0430\u0440\u0441\u043A\u0438 \u0435\u0437\u0438\u043A",icon:"\u{1F1E7}\u{1F1EC}",title:"\u0435\u0437\u0438\u043A"},"bn-BD":{lang:"bn-BD",label:"\u09AC\u09BE\u0982\u09B2\u09BE",icon:"\u{1F1E7}\u{1F1E9}",title:"\u09AD\u09BE\u09B7\u09BE"},"ca-ES":{lang:"ca-ES",label:"Catal\xE1",icon:"\u{1F1E8}\u{1F1E6}",title:"llengua"},"cs-CZ":{lang:"cs-CZ",label:"\u010Ce\u0161tina",icon:"\u{1F1E8}\u{1F1FF}",title:"Jazyk"},"da-DK":{lang:"da-DK",label:"Dansk",icon:"\u{1F1E9}\u{1F1F0}",title:"Sprog"},"de-DE":{lang:"de-DE",label:"Deutsch",icon:"\u{1F1E9}\u{1F1EA}",title:"Sprache"},"el-GR":{lang:"el-GR",label:"\u0395\u03BB\u03BB\u03B7\u03BD\u03B9\u03BA\u03AC",icon:"\u{1F1EC}\u{1F1F7}",title:"\u0393\u03BB\u03CE\u03C3\u03C3\u03B1"},"en-GB":{lang:"en-GB",label:"English",icon:"\u{1F1EC}\u{1F1E7}",title:"Language"},"en-US":{lang:"en-US",label:"English",icon:"\u{1F1FA}\u{1F1F8}",title:"Language"},"es-ES":{lang:"es-ES",label:"Espa\xF1ol",icon:"\u{1F1EA}\u{1F1F8}",title:"Idioma"},"et-EE":{lang:"et-EE",label:"Eesti",icon:"\u{1F1EA}\u{1F1EA}",title:"Keel"},"fa-IR":{lang:"fa-IR",label:"\u0641\u0627\u0631\u0633\u06CC",icon:"\u{1F1EE}\u{1F1F7}",title:"\u0632\u0628\u0627\u0646"},"fi-FI":{lang:"fi-FI",label:"Suomi",icon:"\u{1F1EB}\u{1F1EE}",title:"Kieli"},"fr-BE":{lang:"fr-BE",label:"Fran\xE7ais",icon:"\u{1F1E7}\u{1F1EA}",title:"Langue"},"fr-FR":{lang:"fr-FR",label:"Fran\xE7ais",icon:"\u{1F1EB}\u{1F1F7}",title:"Langue"},"ga-IE":{lang:"ga-IE",label:"Gaeilge",icon:"\u{1F1EE}\u{1F1EA}",title:"Teanga"},"he-IL":{lang:"he-IL",label:"\u05E2\u05D1\u05E8\u05D9\u05EA",icon:"\u{1F1EE}\u{1F1F1}",title:"\u05E9\u05E4\u05D4"},"hi-IN":{lang:"hi-IN",label:"\u0939\u093F\u0928\u094D\u0926\u0940, \u0939\u093F\u0902\u0926\u0940",icon:"\u{1F1EE}\u{1F1F3}",title:"\u092D\u093E\u0937\u093E: \u0939\u093F\u0928\u094D\u0926\u0940"},"hr-HR":{lang:"hr-HR",label:"Hrvatski jezik",icon:"\u{1F1ED}\u{1F1F7}",title:"Jezik"},"hu-HU":{lang:"hu-HU",label:"Magyar",icon:"\u{1F1ED}\u{1F1FA}",title:"Nyelv"},"hy-AM":{lang:"hu-HU",label:"\u0540\u0561\u0575\u0565\u0580\u0565\u0576",icon:"\u{1F1E6}\u{1F1F2}",title:"\u053C\u0565\u0566\u0578\u0582"},"id-ID":{lang:"id-ID",label:"Bahasa Indonesia",icon:"\u{1F1EE}\u{1F1E9}",title:"Bahasa"},"it-IT":{lang:"it-IT",label:"Italiano",icon:"\u{1F1EE}\u{1F1F9}",title:"Linguaggio"},"is-IS":{lang:"is-IS",label:"\xCDslenska",icon:"\u{1F1EE}\u{1F1F8}",title:"Tungum\xE1l"},"ja-JP":{lang:"ja-JP",label:"\u65E5\u672C\u8A9E",icon:"\u{1F1EF}\u{1F1F5}",title:"\u8A00\u8A9E"},"ku-IQ":{lang:"ku-IQ",label:"\u06A9\u0648\u0631\u062F\u06CC",icon:"\u{1F1EE}\u{1F1F6}",title:"Ziman"},"kn-IN":{lang:"kn-IN",label:"\u0C95\u0CA8\u0CCD\u0CA8\u0CA1",icon:"\u{1F1EE}\u{1F1F3}",title:"\u0CAD\u0CBE\u0CB7\u0CC6"},"ko-KR":{lang:"ko-KR",label:"\uD55C\uAD6D\uC5B4",icon:"\u{1F1F0}\u{1F1F7}",title:"\uC5B8\uC5B4"},"lv-LV":{lang:"lv-LV",label:"Latvie\u0161u valoda",icon:"\u{1F1F1}\u{1F1EE}",title:"Kalba"},"mk-MK":{lang:"mk-MK",label:"\u043C\u0430\u043A\u0435\u0434\u043E\u043D\u0441\u043A\u0438 \u0458\u0430\u0437\u0438\u043A",icon:"\u{1F1F2}\u{1F1F0}",title:"\u0408\u0430\u0437\u0438\u043A"},"mn-MN":{lang:"mn-MN",label:"\u041C\u043E\u043D\u0433\u043E\u043B \u0445\u044D\u043B",icon:"\u{1F1F2}\u{1F1F3}",title:"\u0425\u044D\u043B"},"ms-MY":{lang:"ms-MY",label:"\u0628\u0647\u0627\u0633 \u0645\u0644\u0627\u064A\u0648\u200E",icon:"\u{1F1F2}\u{1F1FE}",title:"Bahasa"},"nb-NO":{lang:"nb-NO",label:"Norsk",icon:"\u{1F1F3}\u{1F1F4}",title:"Spr\xE5k"},"ne-NP":{lang:"ne-NP",label:"\u0928\u0947\u092A\u093E\u0932\u0940",icon:"\u{1F1F3}\u{1F1F5}",title:"\u092D\u093E\u0937\u093E"},"nl-BE":{lang:"nl-BE",label:"Vlaams",icon:"\u{1F1E7}\u{1F1EA}",title:"Taal"},"nl-NL":{lang:"nl-NL",label:"Nederlands",icon:"\u{1F1F3}\u{1F1F1}",title:"Taal"},"pl-PL":{lang:"pl-PL",label:"Polski",icon:"\u{1F1F5}\u{1F1F1}",title:"J\u0119zyk"},"pt-BR":{lang:"pt-BR",label:"Portugu\xEAs",icon:"\u{1F1E7}\u{1F1F7}",title:"Idiomas"},"pt-PT":{lang:"pt-PT",label:"Portugu\xEAs",icon:"\u{1F1F5}\u{1F1F9}",title:"Idiomas"},"ro-RO":{lang:"ro-RO",label:"Rom\xE2n\u0103",icon:"\u{1F1F7}\u{1F1F4}",title:"Limba"},"ru-RU":{lang:"ru-RU",label:"\u0420\u0443\u0441\u0441\u043A\u0438\u0439",icon:"\u{1F1F7}\u{1F1FA}",title:"\u044F\u0437\u044B\u043A"},"sk-SK":{lang:"sk-SK",label:"Sloven\u010Dina",icon:"\u{1F1F8}\u{1F1F0}",title:"Jazyk"},"sr-RS":{lang:"sr-RS",label:"\u0441\u0440\u043F\u0441\u043A\u0438 \u0458\u0435\u0437\u0438\u043A",icon:"\u{1F1F8}\u{1F1F7}",title:"\u0408\u0435\u0437\u0438\u043A"},"sl-SI":{lang:"sl-SI",label:"Sloven\u0161\u010Dina",icon:"\u{1F1F8}\u{1F1F1}",title:"Jezik"},"sv-SE":{lang:"sv-SE",label:"Svenska",icon:"\u{1F1F8}\u{1F1EA}",title:"Spr\xE5k"},"ta-IN":{lang:"ta-IN",label:"\u0BA4\u0BAE\u0BBF\u0BB4\u0BCD",icon:"\u{1F1EE}\u{1F1F3}",title:"\u0BAE\u0BCA\u0BB4\u0BBF"},"th-TH":{lang:"th-TH",label:"\u0E44\u0E17\u0E22",icon:"\u{1F1F9}\u{1F1ED}",title:"\u0E20\u0E32\u0E29\u0E32"},"tr-TR":{lang:"tr-TR",label:"T\xFCrk\xE7e",icon:"\u{1F1F9}\u{1F1F7}",title:"Dil"},"uk-UA":{lang:"uk-UA",label:"\u0423\u043A\u0440\u0430\u0457\u043D\u0441\u044C\u043A\u0430",icon:"\u{1F1FA}\u{1F1F0}",title:"\u041C\u043E\u0432\u0430"},"vi-VN":{lang:"vi-VN",label:"Ti\u1EBFng Vi\u1EC7t",icon:"\u{1F1FB}\u{1F1F3}",title:"Ng\xF4n ng\u1EEF"},"zh-CN":{lang:"zh-CN",label:"\u7B80\u4F53\u4E2D\u6587",icon:"\u{1F1E8}\u{1F1F3}",title:"\u8BED\u8A00"},"zh-TW":{lang:"zh-TW",label:"\u7E41\u9AD4\u4E2D\u6587",icon:"\u{1F1ED}\u{1F1F0}",title:"\u8A9E\u8A00"}},B=We=>React.createElement(React.Fragment,null);var N=e(38329),K=e(38127),G=e(32451),W=e(91231),se=e(87296);function ie(We,nt){var lt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},Vt=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};if(typeof IntersectionObserver!="function")return null;var Ht=r.useRef(typeof IntersectionObserver=="function"),Pe=r.useRef(null);return r.useEffect(function(){if(!(!We.current||!Ht.current||Vt.disabled))return Pe.current=new IntersectionObserver(function(et){var Kt=(0,se.Z)(et,1),kt=Kt[0];nt(kt)},lt),Pe.current.observe(We.current),function(){var et;(et=Pe.current)===null||et===void 0||et.disconnect()}},[nt,lt,Vt.disabled,We]),Pe.current}var le=["prefetch"];function q(We){var nt=r.useRef(null);return r.useEffect(function(){We&&(typeof We=="function"?We(nt.current):We.current=nt.current)}),nt}var J=r.forwardRef(function(We,nt){var lt,Vt=We.prefetch,Ht=(0,K.Z)(We,le),Pe=typeof window!="undefined"&&window.__umi_route_prefetch__||{defaultPrefetch:"none",defaultPrefetchTimeout:50},et=Pe.defaultPrefetch,Kt=Pe.defaultPrefetchTimeout,kt=(Vt===!0?"intent":Vt===!1?"none":Vt)||et;if(!["intent","render","viewport","none"].includes(kt))throw new Error("Invalid prefetch value ".concat(kt," found in Link component"));var Zt=(0,W.Ov)(),Nt=typeof We.to=="string"?We.to:(lt=We.to)===null||lt===void 0?void 0:lt.pathname,tr=r.useRef(!1),Wt=q(nt),Fe=function(Pt){if(kt==="intent"){var Ie=Pt.target||{};Ie.preloadTimeout||(Ie.preloadTimeout=setTimeout(function(){var ct;Ie.preloadTimeout=null,(ct=Zt.preloadRoute)===null||ct===void 0||ct.call(Zt,Nt)},We.prefetchTimeout||Kt))}},fe=function(Pt){if(kt==="intent"){var Ie=Pt.target||{};Ie.preloadTimeout&&(clearTimeout(Ie.preloadTimeout),Ie.preloadTimeout=null)}};return(0,r.useLayoutEffect)(function(){if(kt==="render"&&!tr.current){var pe;(pe=Zt.preloadRoute)===null||pe===void 0||pe.call(Zt,Nt),tr.current=!0}},[kt,Nt]),ie(Wt,function(pe){if(pe!=null&&pe.isIntersecting){var Pt;(Pt=Zt.preloadRoute)===null||Pt===void 0||Pt.call(Zt,Nt)}},{rootMargin:"100px"},{disabled:kt!=="viewport"}),Nt?r.createElement(G.rU,(0,N.Z)({onMouseEnter:Fe,onMouseLeave:fe,ref:Wt},Ht),We.children):null}),V=e(35338),ue=e(8616);function ee(){"use strict";ee=function(){return nt};var We,nt={},lt=Object.prototype,Vt=lt.hasOwnProperty,Ht=Object.defineProperty||function(xr,Mr,mr){xr[Mr]=mr.value},Pe=typeof Symbol=="function"?Symbol:{},et=Pe.iterator||"@@iterator",Kt=Pe.asyncIterator||"@@asyncIterator",kt=Pe.toStringTag||"@@toStringTag";function Zt(xr,Mr,mr){return Object.defineProperty(xr,Mr,{value:mr,enumerable:!0,configurable:!0,writable:!0}),xr[Mr]}try{Zt({},"")}catch(xr){Zt=function(mr,Nr,nn){return mr[Nr]=nn}}function Nt(xr,Mr,mr,Nr){var nn=Mr&&Mr.prototype instanceof Ie?Mr:Ie,on=Object.create(nn.prototype),or=new Zr(Nr||[]);return Ht(on,"_invoke",{value:Mt(xr,mr,or)}),on}function tr(xr,Mr,mr){try{return{type:"normal",arg:xr.call(Mr,mr)}}catch(Nr){return{type:"throw",arg:Nr}}}nt.wrap=Nt;var Wt="suspendedStart",Fe="suspendedYield",fe="executing",pe="completed",Pt={};function Ie(){}function ct(){}function zt(){}var wt={};Zt(wt,et,function(){return this});var Oe=Object.getPrototypeOf,xt=Oe&&Oe(Oe(Yr([])));xt&&xt!==lt&&Vt.call(xt,et)&&(wt=xt);var xe=zt.prototype=Ie.prototype=Object.create(wt);function Ye(xr){["next","throw","return"].forEach(function(Mr){Zt(xr,Mr,function(mr){return this._invoke(Mr,mr)})})}function mt(xr,Mr){function mr(nn,on,or,Rt){var _t=tr(xr[nn],xr,on);if(_t.type!=="throw"){var vt=_t.arg,$t=vt.value;return $t&&(0,ue.Z)($t)=="object"&&Vt.call($t,"__await")?Mr.resolve($t.__await).then(function(Sr){mr("next",Sr,or,Rt)},function(Sr){mr("throw",Sr,or,Rt)}):Mr.resolve($t).then(function(Sr){vt.value=Sr,or(vt)},function(Sr){return mr("throw",Sr,or,Rt)})}Rt(_t.arg)}var Nr;Ht(this,"_invoke",{value:function(on,or){function Rt(){return new Mr(function(_t,vt){mr(on,or,_t,vt)})}return Nr=Nr?Nr.then(Rt,Rt):Rt()}})}function Mt(xr,Mr,mr){var Nr=Wt;return function(nn,on){if(Nr===fe)throw new Error("Generator is already running");if(Nr===pe){if(nn==="throw")throw on;return{value:We,done:!0}}for(mr.method=nn,mr.arg=on;;){var or=mr.delegate;if(or){var Rt=Be(or,mr);if(Rt){if(Rt===Pt)continue;return Rt}}if(mr.method==="next")mr.sent=mr._sent=mr.arg;else if(mr.method==="throw"){if(Nr===Wt)throw Nr=pe,mr.arg;mr.dispatchException(mr.arg)}else mr.method==="return"&&mr.abrupt("return",mr.arg);Nr=fe;var _t=tr(xr,Mr,mr);if(_t.type==="normal"){if(Nr=mr.done?pe:Fe,_t.arg===Pt)continue;return{value:_t.arg,done:mr.done}}_t.type==="throw"&&(Nr=pe,mr.method="throw",mr.arg=_t.arg)}}}function Be(xr,Mr){var mr=Mr.method,Nr=xr.iterator[mr];if(Nr===We)return Mr.delegate=null,mr==="throw"&&xr.iterator.return&&(Mr.method="return",Mr.arg=We,Be(xr,Mr),Mr.method==="throw")||mr!=="return"&&(Mr.method="throw",Mr.arg=new TypeError("The iterator does not provide a '"+mr+"' method")),Pt;var nn=tr(Nr,xr.iterator,Mr.arg);if(nn.type==="throw")return Mr.method="throw",Mr.arg=nn.arg,Mr.delegate=null,Pt;var on=nn.arg;return on?on.done?(Mr[xr.resultName]=on.value,Mr.next=xr.nextLoc,Mr.method!=="return"&&(Mr.method="next",Mr.arg=We),Mr.delegate=null,Pt):on:(Mr.method="throw",Mr.arg=new TypeError("iterator result is not an object"),Mr.delegate=null,Pt)}function Ir(xr){var Mr={tryLoc:xr[0]};1 in xr&&(Mr.catchLoc=xr[1]),2 in xr&&(Mr.finallyLoc=xr[2],Mr.afterLoc=xr[3]),this.tryEntries.push(Mr)}function St(xr){var Mr=xr.completion||{};Mr.type="normal",delete Mr.arg,xr.completion=Mr}function Zr(xr){this.tryEntries=[{tryLoc:"root"}],xr.forEach(Ir,this),this.reset(!0)}function Yr(xr){if(xr||xr===""){var Mr=xr[et];if(Mr)return Mr.call(xr);if(typeof xr.next=="function")return xr;if(!isNaN(xr.length)){var mr=-1,Nr=function nn(){for(;++mr<xr.length;)if(Vt.call(xr,mr))return nn.value=xr[mr],nn.done=!1,nn;return nn.value=We,nn.done=!0,nn};return Nr.next=Nr}}throw new TypeError((0,ue.Z)(xr)+" is not iterable")}return ct.prototype=zt,Ht(xe,"constructor",{value:zt,configurable:!0}),Ht(zt,"constructor",{value:ct,configurable:!0}),ct.displayName=Zt(zt,kt,"GeneratorFunction"),nt.isGeneratorFunction=function(xr){var Mr=typeof xr=="function"&&xr.constructor;return!!Mr&&(Mr===ct||(Mr.displayName||Mr.name)==="GeneratorFunction")},nt.mark=function(xr){return Object.setPrototypeOf?Object.setPrototypeOf(xr,zt):(xr.__proto__=zt,Zt(xr,kt,"GeneratorFunction")),xr.prototype=Object.create(xe),xr},nt.awrap=function(xr){return{__await:xr}},Ye(mt.prototype),Zt(mt.prototype,Kt,function(){return this}),nt.AsyncIterator=mt,nt.async=function(xr,Mr,mr,Nr,nn){nn===void 0&&(nn=Promise);var on=new mt(Nt(xr,Mr,mr,Nr),nn);return nt.isGeneratorFunction(Mr)?on:on.next().then(function(or){return or.done?or.value:on.next()})},Ye(xe),Zt(xe,kt,"Generator"),Zt(xe,et,function(){return this}),Zt(xe,"toString",function(){return"[object Generator]"}),nt.keys=function(xr){var Mr=Object(xr),mr=[];for(var Nr in Mr)mr.push(Nr);return mr.reverse(),function nn(){for(;mr.length;){var on=mr.pop();if(on in Mr)return nn.value=on,nn.done=!1,nn}return nn.done=!0,nn}},nt.values=Yr,Zr.prototype={constructor:Zr,reset:function(Mr){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),!Mr)for(var mr in this)mr.charAt(0)==="t"&&Vt.call(this,mr)&&!isNaN(+mr.slice(1))&&(this[mr]=We)},stop:function(){this.done=!0;var Mr=this.tryEntries[0].completion;if(Mr.type==="throw")throw Mr.arg;return this.rval},dispatchException:function(Mr){if(this.done)throw Mr;var mr=this;function Nr(vt,$t){return or.type="throw",or.arg=Mr,mr.next=vt,$t&&(mr.method="next",mr.arg=We),!!$t}for(var nn=this.tryEntries.length-1;nn>=0;--nn){var on=this.tryEntries[nn],or=on.completion;if(on.tryLoc==="root")return Nr("end");if(on.tryLoc<=this.prev){var Rt=Vt.call(on,"catchLoc"),_t=Vt.call(on,"finallyLoc");if(Rt&&_t){if(this.prev<on.catchLoc)return Nr(on.catchLoc,!0);if(this.prev<on.finallyLoc)return Nr(on.finallyLoc)}else if(Rt){if(this.prev<on.catchLoc)return Nr(on.catchLoc,!0)}else{if(!_t)throw new Error("try statement without catch or finally");if(this.prev<on.finallyLoc)return Nr(on.finallyLoc)}}}},abrupt:function(Mr,mr){for(var Nr=this.tryEntries.length-1;Nr>=0;--Nr){var nn=this.tryEntries[Nr];if(nn.tryLoc<=this.prev&&Vt.call(nn,"finallyLoc")&&this.prev<nn.finallyLoc){var on=nn;break}}on&&(Mr==="break"||Mr==="continue")&&on.tryLoc<=mr&&mr<=on.finallyLoc&&(on=null);var or=on?on.completion:{};return or.type=Mr,or.arg=mr,on?(this.method="next",this.next=on.finallyLoc,Pt):this.complete(or)},complete:function(Mr,mr){if(Mr.type==="throw")throw Mr.arg;return Mr.type==="break"||Mr.type==="continue"?this.next=Mr.arg:Mr.type==="return"?(this.rval=this.arg=Mr.arg,this.method="return",this.next="end"):Mr.type==="normal"&&mr&&(this.next=mr),Pt},finish:function(Mr){for(var mr=this.tryEntries.length-1;mr>=0;--mr){var Nr=this.tryEntries[mr];if(Nr.finallyLoc===Mr)return this.complete(Nr.completion,Nr.afterLoc),St(Nr),Pt}},catch:function(Mr){for(var mr=this.tryEntries.length-1;mr>=0;--mr){var Nr=this.tryEntries[mr];if(Nr.tryLoc===Mr){var nn=Nr.completion;if(nn.type==="throw"){var on=nn.arg;St(Nr)}return on}}throw new Error("illegal catch attempt")},delegateYield:function(Mr,mr,Nr){return this.delegate={iterator:Yr(Mr),resultName:mr,nextLoc:Nr},this.method==="next"&&(this.arg=We),Pt}},nt}var Q=e(63579);function ce(We,nt,lt,Vt,Ht,Pe,et){try{var Kt=We[Pe](et),kt=Kt.value}catch(Zt){lt(Zt);return}Kt.done?nt(kt):Promise.resolve(kt).then(Vt,Ht)}function z(We){return function(){var nt=this,lt=arguments;return new Promise(function(Vt,Ht){var Pe=We.apply(nt,lt);function et(kt){ce(Pe,Vt,Ht,et,Kt,"next",kt)}function Kt(kt){ce(Pe,Vt,Ht,et,Kt,"throw",kt)}et(void 0)})}}var $=e(99227);function ae(We,nt){var lt=typeof Symbol!="undefined"&&We[Symbol.iterator]||We["@@iterator"];if(!lt){if(Array.isArray(We)||(lt=(0,$.Z)(We))||nt&&We&&typeof We.length=="number"){lt&&(We=lt);var Vt=0,Ht=function(){};return{s:Ht,n:function(){return Vt>=We.length?{done:!0}:{done:!1,value:We[Vt++]}},e:function(Zt){throw Zt},f:Ht}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var Pe=!0,et=!1,Kt;return{s:function(){lt=lt.call(We)},n:function(){var Zt=lt.next();return Pe=Zt.done,Zt},e:function(Zt){et=!0,Kt=Zt},f:function(){try{!Pe&<.return!=null&<.return()}finally{if(et)throw Kt}}}}var _e=e(73825);function De(We){if(typeof Symbol!="undefined"&&We[Symbol.iterator]!=null||We["@@iterator"]!=null)return Array.from(We)}var ke=e(66160);function He(We){return(0,_e.Z)(We)||De(We)||(0,$.Z)(We)||(0,ke.Z)()}function $e(We,nt){if(!(We instanceof nt))throw new TypeError("Cannot call a class as a function")}var Bt=e(89878);function gt(We,nt){for(var lt=0;lt<nt.length;lt++){var Vt=nt[lt];Vt.enumerable=Vt.enumerable||!1,Vt.configurable=!0,"value"in Vt&&(Vt.writable=!0),Object.defineProperty(We,(0,Bt.Z)(Vt.key),Vt)}}function Dt(We,nt,lt){return nt&>(We.prototype,nt),lt&>(We,lt),Object.defineProperty(We,"prototype",{writable:!1}),We}var nr=e(65873);function Xt(We,nt){if(!We)throw new Error(nt)}function cr(We){var nt=We.fns,lt=We.args;if(nt.length===1)return nt[0];var Vt=nt.pop();return nt.reduce(function(Ht,Pe){return function(){return Pe(Ht,lt)}},Vt)}function Ge(We){return!!We&&(0,ue.Z)(We)==="object"&&typeof We.then=="function"}var Tt=function(We){return We.compose="compose",We.modify="modify",We.event="event",We}({}),Ut=function(){function We(nt){$e(this,We),(0,nr.Z)(this,"opts",void 0),(0,nr.Z)(this,"hooks",{}),this.opts=nt}return Dt(We,[{key:"register",value:function(lt){var Vt=this;Xt(lt.apply,"plugin register failed, apply must supplied"),Object.keys(lt.apply).forEach(function(Ht){Xt(Vt.opts.validKeys.indexOf(Ht)>-1,"register failed, invalid key ".concat(Ht," ").concat(lt.path?"from plugin ".concat(lt.path):"",".")),Vt.hooks[Ht]=(Vt.hooks[Ht]||[]).concat(lt.apply[Ht])})}},{key:"getHooks",value:function(lt){var Vt=lt.split("."),Ht=He(Vt),Pe=Ht[0],et=Ht.slice(1),Kt=this.hooks[Pe]||[];return et.length&&(Kt=Kt.map(function(kt){try{var Zt=kt,Nt=ae(et),tr;try{for(Nt.s();!(tr=Nt.n()).done;){var Wt=tr.value;Zt=Zt[Wt]}}catch(Fe){Nt.e(Fe)}finally{Nt.f()}return Zt}catch(Fe){return null}}).filter(Boolean)),Kt}},{key:"applyPlugins",value:function(lt){var Vt=lt.key,Ht=lt.type,Pe=lt.initialValue,et=lt.args,Kt=lt.async,kt=this.getHooks(Vt)||[];switch(et&&Xt((0,ue.Z)(et)==="object","applyPlugins failed, args must be plain object."),Kt&&Xt(Ht===Tt.modify||Ht===Tt.event,"async only works with modify and event type."),Ht){case Tt.modify:return Kt?kt.reduce(function(){var Zt=z(ee().mark(function Nt(tr,Wt){var Fe;return ee().wrap(function(pe){for(;;)switch(pe.prev=pe.next){case 0:if(Xt(typeof Wt=="function"||(0,ue.Z)(Wt)==="object"||Ge(Wt),"applyPlugins failed, all hooks for key ".concat(Vt," must be function, plain object or Promise.")),!Ge(tr)){pe.next=5;break}return pe.next=4,tr;case 4:tr=pe.sent;case 5:if(typeof Wt!="function"){pe.next=16;break}if(Fe=Wt(tr,et),!Ge(Fe)){pe.next=13;break}return pe.next=10,Fe;case 10:return pe.abrupt("return",pe.sent);case 13:return pe.abrupt("return",Fe);case 14:pe.next=21;break;case 16:if(!Ge(Wt)){pe.next=20;break}return pe.next=19,Wt;case 19:Wt=pe.sent;case 20:return pe.abrupt("return",(0,Q.Z)((0,Q.Z)({},tr),Wt));case 21:case"end":return pe.stop()}},Nt)}));return function(Nt,tr){return Zt.apply(this,arguments)}}(),Ge(Pe)?Pe:Promise.resolve(Pe)):kt.reduce(function(Zt,Nt){return Xt(typeof Nt=="function"||(0,ue.Z)(Nt)==="object","applyPlugins failed, all hooks for key ".concat(Vt," must be function or plain object.")),typeof Nt=="function"?Nt(Zt,et):(0,Q.Z)((0,Q.Z)({},Zt),Nt)},Pe);case Tt.event:return z(ee().mark(function Zt(){var Nt,tr,Wt,Fe;return ee().wrap(function(pe){for(;;)switch(pe.prev=pe.next){case 0:Nt=ae(kt),pe.prev=1,Nt.s();case 3:if((tr=Nt.n()).done){pe.next=12;break}if(Wt=tr.value,Xt(typeof Wt=="function","applyPlugins failed, all hooks for key ".concat(Vt," must be function.")),Fe=Wt(et),!(Kt&&Ge(Fe))){pe.next=10;break}return pe.next=10,Fe;case 10:pe.next=3;break;case 12:pe.next=17;break;case 14:pe.prev=14,pe.t0=pe.catch(1),Nt.e(pe.t0);case 17:return pe.prev=17,Nt.f(),pe.finish(17);case 20:case"end":return pe.stop()}},Zt,null,[[1,14,17,20]])}))();case Tt.compose:return function(){return cr({fns:kt.concat(Pe),args:et})()}}}}],[{key:"create",value:function(lt){var Vt=new We({validKeys:lt.validKeys});return lt.plugins.forEach(function(Ht){Vt.register(Ht)}),Vt}}]),We}(),at=e(58293);let bt=0,dt=0;function tt(We,nt){}function Ue(We){return JSON.stringify(We,null,2)}function ye(We){const nt=We.length>1?We.map(Ce).join(" "):We[0];return typeof nt=="object"?`${Ue(nt)}`:nt.toString()}function Ce(We){return typeof We=="object"?`${JSON.stringify(We)}`:We.toString()}const Me={log(...We){ye(We)},info(...We){ye(We)},warn(...We){ye(We)},error(...We){ye(We)},group(){dt++},groupCollapsed(){dt++},groupEnd(){dt&&--dt},clear(){},trace(...We){console.trace(...We)},profile(...We){console.profile(...We)},profileEnd(...We){console.profileEnd(...We)}},je=()=>{}},61337:function(d,v,e){"use strict";e.d(v,{C:function(){return l},S:function(){return i}});var r=e(59301);const i=r.createContext(null),l=r.createContext(()=>{console.error("The 'useAntdConfigSetter()' method depends on the antd 'ConfigProvider', requires one of 'antd.configProvider' / 'antd.dark' / 'antd.compact' to be enabled.")})},64839:function(d,v,e){"use strict";e.d(v,{j:function(){return ql},Q:function(){return Kc}});var r=e(2339),i=e(89880),l=e.n(i),c=e(59301),f=e(25690),o=e(98750),h=Object.defineProperty,u=Object.getOwnPropertySymbols,a=Object.prototype.hasOwnProperty,x=Object.prototype.propertyIsEnumerable,p=(I,O,L)=>O in I?h(I,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):I[O]=L,y=(I,O)=>{for(var L in O||(O={}))a.call(O,L)&&p(I,L,O[L]);if(u)for(var L of u(O))x.call(O,L)&&p(I,L,O[L]);return I},b={namespace:"account",state:{basicInfo:void 0,actionTabs:{key:"",params:{}}},effects:{*updateAvatar({payload:I},{call:O,put:L}){return yield O(o.n1,I)},*appplySchool({payload:I},{call:O,put:L}){return yield O(o.bz,I)},*getSchoolOption({payload:I},{call:O,put:L}){return yield O(o.GY,I)},*getDepartmentOption({payload:I},{call:O,put:L}){return yield O(o.Ql,I)},*appplyDepartment({payload:I},{call:O,put:L}){return yield O(o.Zm,I)},*updateAccount({payload:I},{call:O,put:L}){return yield O(o.sG,I)},*cancelRealNameAuth({payload:I},{call:O,put:L}){return yield O(o.P,I)},*cancelProfessionalAuth({payload:I},{call:O,put:L}){return yield O(o.$f,I)},*applyProfessionalAuth({payload:I},{call:O,put:L}){return yield O(o.Ow,I)},*applyRealNameAuth({payload:I},{call:O,put:L}){return yield O(o.ht,I)},*getCode({payload:I},{call:O,put:L}){return yield O(o.Cq,I)},*bindPhone({payload:I},{call:O,put:L}){return yield O(o.eF,I)},*bindEmail({payload:I},{call:O,put:L}){return yield O(o.I8,I)},*updatePassword({payload:I},{call:O,put:L}){return yield O(o.gQ,I)},*unbindAccount({payload:I},{call:O,put:L}){return yield O(o.wi,I)},*getBasicInfo({payload:I},{call:O,put:L}){const ve=yield O(o.o9,I);return yield L({type:"save",payload:{basicInfo:y({},ve)}}),ve},*setActionTabs({payload:I},{call:O,put:L}){yield L({type:"save",payload:{actionTabs:y({},I)}})}},reducers:{save(I,O){return y(y({},I),O.payload)}},subscriptions:{setup({dispatch:I,history:O}){return O.listen(({pathname:L})=>{L==="/"&&I({type:"query"})})}}},A=e(97402),k=Object.defineProperty,R=Object.getOwnPropertySymbols,C=Object.prototype.hasOwnProperty,D=Object.prototype.propertyIsEnumerable,M=(I,O,L)=>O in I?k(I,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):I[O]=L,B=(I,O)=>{for(var L in O||(O={}))C.call(O,L)&&M(I,L,O[L]);if(R)for(var L of R(O))D.call(O,L)&&M(I,L,O[L]);return I},K={namespace:"announcement",state:{name:"\u666E\u901A\u8BD5\u5377\uFF0C\u968F\u673A\u8BD5\u5377\u8BE6\u60C5\u9875\u9762",loading:!0,actionTabs:{}},effects:{*informDown({payload:I,callback:O},{call:L,put:ve}){return yield L(A.nZ,I)},*informUp({payload:I,callback:O},{call:L,put:ve}){return yield L(A.TO,I)},*setActionTabs({payload:I},{call:O,put:L}){yield L({type:"save",payload:{actionTabs:B({},I)}})}},reducers:{save(I,O){return B(B({},I),O.payload)}},subscriptions:{setup({dispatch:I,history:O}){}}},G=e(44203),W=Object.defineProperty,se=Object.getOwnPropertySymbols,ie=Object.prototype.hasOwnProperty,le=Object.prototype.propertyIsEnumerable,q=(I,O,L)=>O in I?W(I,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):I[O]=L,J=(I,O)=>{for(var L in O||(O={}))ie.call(O,L)&&q(I,L,O[L]);if(se)for(var L of se(O))le.call(O,L)&&q(I,L,O[L]);return I},ue={namespace:"attachment",state:{name:"\u8D44\u6E90",loading:!0,detail:{},actionTabs:{}},effects:{*allAttachment({payload:I,callback:O},{call:L,put:ve}){const Re=yield L(G.SV,I);return yield ve({type:"save",payload:{allList:J({},Re)}}),Re},*mineAttachment({payload:I,callback:O},{call:L,put:ve}){const Re=yield L(G.zI,I);return yield ve({type:"save",payload:{mineList:J({},Re)}}),Re},*fileImport({payload:I,callback:O},{call:L,put:ve}){return yield L(G.tO,I)},*getDetail({payload:I,callback:O},{call:L,put:ve}){const Re=yield L(G.Nm,I);return yield ve({type:"save",payload:{detail:J({},Re)}}),Re},*updateVisits({payload:I,callback:O},{call:L,put:ve}){return yield L(G.H,I)},*setActionTabs({payload:I},{call:O,put:L}){yield L({type:"save",payload:{actionTabs:J({},I)}})}},reducers:{save(I,O){return J(J({},I),O.payload)}},subscriptions:{setup({dispatch:I,history:O}){}}},ee=e(32967),Q=Object.defineProperty,ce=Object.getOwnPropertySymbols,z=Object.prototype.hasOwnProperty,$=Object.prototype.propertyIsEnumerable,ae=(I,O,L)=>O in I?Q(I,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):I[O]=L,_e=(I,O)=>{for(var L in O||(O={}))z.call(O,L)&&ae(I,L,O[L]);if(ce)for(var L of ce(O))$.call(O,L)&&ae(I,L,O[L]);return I},ke={namespace:"boards",state:{name:"\u8BA8\u8BBA",loading:!0,actionTabs:{},boardsDetail:{},boardsCategoryList:{}},effects:{*getBoardsCategoryList({payload:I,callback:O},{call:L,put:ve}){const Re=yield L(ee.yq,I);return yield ve({type:"save",payload:{boardsCategoryList:_e({},Re.data)}}),Re.data},*getBoardsDetail({payload:I,callback:O},{call:L,put:ve}){const Re=yield L(ee.dI,I);return yield ve({type:"save",payload:{boardsDetail:_e({},Re.data)}}),Re.data},*setTopping({payload:I,callback:O},{call:L,put:ve}){return yield L(ee.cc,I)},*escTopping({payload:I,callback:O},{call:L,put:ve}){return yield L(ee.CJ,I)},*getReplyList({payload:I,callback:O},{call:L,put:ve}){const Re=yield L(ee.PC,I);yield ve({type:"save",payload:{replyList:_e({},Re.data)}})},*createReply({payload:I,callback:O},{call:L,put:ve}){return yield L(ee.PP,I)},*replyLike({payload:I,callback:O},{call:L,put:ve}){return yield L(ee.NA,I)},*replyUnLike({payload:I,callback:O},{call:L,put:ve}){return yield L(ee.YQ,I)},*deleteReply({payload:I,callback:O},{call:L,put:ve}){return yield L(ee.Mf,I)},*setActionTabs({payload:I},{call:O,put:L}){yield L({type:"save",payload:{actionTabs:_e({},I)}})}},reducers:{save(I,O){return _e(_e({},I),O.payload)}},subscriptions:{setup({dispatch:I,history:O}){}}},He=e(81722),$e=Object.defineProperty,Bt=Object.getOwnPropertySymbols,gt=Object.prototype.hasOwnProperty,Dt=Object.prototype.propertyIsEnumerable,nr=(I,O,L)=>O in I?$e(I,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):I[O]=L,Xt=(I,O)=>{for(var L in O||(O={}))gt.call(O,L)&&nr(I,L,O[L]);if(Bt)for(var L of Bt(O))Dt.call(O,L)&&nr(I,L,O[L]);return I},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:I,callback:O},{call:L,put:ve}){const Re=yield L(He.$Q,I);return yield ve({type:"save",payload:{ScoreRangesData:Re==null?void 0:Re.data}}),Re},*getQuestionResult({payload:I,callback:O},{call:L,put:ve}){const Re=yield L(He._U,I);return yield ve({type:"save",payload:{NormalResult:Re}}),Re},*getUserExercise({payload:I,callback:O},{call:L,put:ve}){const Re=yield L(He.xA,I);return yield ve({type:"save",payload:{userExerciseList:Xt({},(Re==null?void 0:Re.data)||{})}}),console.log("getUserExercise-res:",Re),Re==null?void 0:Re.data},*getExerciseIdentityPhotos({payload:I,callback:O},{call:L,put:ve}){const Re=yield L(He.J,I);return yield ve({type:"save",payload:{exerciseIdentityPhotos:Xt({},(Re==null?void 0:Re.data)||{})}}),Re==null?void 0:Re.data},*getExerciseExportHeadData({payload:I,callback:O},{call:L,put:ve}){const Re=yield L(He.iw,I);return yield ve({type:"save",payload:{exerciseExportHeadData:Xt({},Re)}}),Re},*getExerciseUserInfo({payload:I,callback:O},{call:L,put:ve}){const Re=yield L(He.Ty,I);return(Re==null?void 0:Re.status)===0&&(yield ve({type:"save",payload:Xt({},{exerciseUserInfo:Xt({},Re.data)})})),Re},*getExaminationIntelligentSettings({payload:I,callback:O},{call:L,put:ve}){const Re=yield L(He.sA,I);return yield ve({type:"save",payload:{examinationIntelligentSettings:Xt({},Re)}}),Re},*getRandomEditExercises({payload:I,callback:O},{call:L,put:ve}){const Re=yield L(He.yu,I);return yield ve({type:"save",payload:{editRandomExercises:Xt({},Re)}}),Re},*getExerciseList({payload:I,callback:O},{call:L,put:ve}){const Re=yield L(He.G$,I);if(Re!=null&&Re.total_exercise_users)try{localStorage.total_exercise_users=JSON.stringify(Re.total_exercise_users)}catch(rn){}return yield ve({type:"save",payload:{exerciseList:Xt({},Re)}}),yield ve({type:"save",payload:{order_type:I.order_type,order:I.order}}),Re},*getExerciseStatistics({payload:I,callback:O},{call:L,put:ve}){const Re=yield L(He._u,I);return yield ve({type:"save",payload:{statisticsList:Xt({},Re)}}),Re},*getBrankList({payload:I,callback:O},{call:L,put:ve}){const Re=yield L(He.n$,I);return yield ve({type:"save",payload:{brankList:Xt({},Re)}}),Re},*saveBanks({payload:I,callback:O},{call:L,put:ve}){return yield L(He.lf,I)},*getExerciseCourses({payload:I,callback:O},{call:L,put:ve}){const Re=yield L(He.N3,I);return yield ve({type:"save",payload:{exerciseCoursesList:Xt({},Re)}}),Re},*addExercise({payload:I,callback:O},{call:L,put:ve}){return yield L(He.uR,I)},*editExercise({payload:I,callback:O},{call:L,put:ve}){const Re=yield L(He.qf,I);return yield ve({type:"save",payload:{editData:Xt({},Re)}}),Re},*getTagDiscipline({payload:I,callback:O},{call:L,put:ve}){const Re=yield L(He.YY,I);return yield ve({type:"save",payload:{tagDisciplineData:Xt({},Re)}}),Re},*editExerciseQuestion({payload:I,callback:O},{call:L,put:ve}){return yield L(He.Di,I)},*addExerciseQuestion({payload:I,callback:O},{call:L,put:ve}){return yield L(He.MK,I)},*exeriseMoveUpDown({payload:I,callback:O},{call:L,put:ve}){return yield L(He.GK,I)},*getEndGroups({payload:I,callback:O},{call:L,put:ve}){const Re=yield L(He.KE,I);return yield ve({type:"save",payload:{endGroups:Xt({},Re)}}),Re},*getPublishGroups({payload:I,callback:O},{call:L,put:ve}){const Re=yield L(He.ux,I);return yield ve({type:"save",payload:{publishGroups:Xt({},Re)}}),Re},*getCommonHeader({payload:I,callback:O},{call:L,put:ve}){const Re=yield L(He.UK,I);return yield ve({type:"save",payload:{commonHeader:Xt({},Re)}}),Re},*getReviewExercise({payload:I,callback:O},{call:L,put:ve}){const Re=yield L(He.BJ,I);return yield ve({type:"save",payload:{reviewExercise:Xt({},Re)}}),Re},*postReviewExercise({payload:I,callback:O},{call:L,put:ve}){const Re=yield L(He.pu,I);return yield ve({type:"save",payload:{reviewExercise:Xt({},Re)}}),Re},*getCentralizeReviewExercise({payload:I,callback:O},{call:L,put:ve}){const Re=yield L(He.X4,I);return yield ve({type:"save",payload:{reviewExercise:Xt({},Re)}}),Re},*clearData({payload:I,callback:O},{call:L,put:ve}){yield ve({type:"save",payload:{[I.key]:{}}})},*getReviewGroupExercise({payload:I,callback:O},{call:L,put:ve}){const Re=yield L(He.W4,I);return yield ve({type:"save",payload:{reviewGroupExercise:Xt({},Re)}}),Re},*getWorkSetting({payload:I,callback:O},{call:L,put:ve}){const Re=yield L(He.Ul,I);return yield ve({type:"save",payload:{workSetting:Xt({},Re)}}),Re},*getRedoModal({payload:I,callback:O},{call:L,put:ve}){const Re=yield L(He.tX,I);return yield ve({type:"save",payload:{redoModal:Xt({},Re)}}),Re},*getRedoListModal({payload:I,callback:O},{call:L,put:ve}){const Re=yield L(He.s,I);return yield ve({type:"save",payload:{redoModal:Xt({},Re)}}),Re},*getCodeReviewDetail({payload:I,callback:O},{call:L,put:ve}){const Re=yield L(He.Xn,I);return yield ve({type:"save",payload:{codeReviewDetail:Xt({},Re)}}),Re},*changeScore({payload:I,callback:O},{call:L,put:ve}){return yield L(He.gG,I)},*setActionTabs({payload:I},{call:O,put:L}){yield L({type:"save",payload:{actionTabs:Xt({},I)}})},*setUpdateIndex({payload:I},{call:O,put:L}){yield L({type:"save",payload:{updateIndex:I==="clear"?null:Math.random()}})},*setSaveExerciseDownUsers({payload:I},{call:O,put:L}){yield L({type:"save",payload:{saveExerciseDownUsers:I}})}},reducers:{save(I,O){return Xt(Xt({},I),O.payload)}},subscriptions:{setup({dispatch:I,history:O}){}}},Tt=e(24059),Ut=Object.defineProperty,at=Object.getOwnPropertySymbols,bt=Object.prototype.hasOwnProperty,dt=Object.prototype.propertyIsEnumerable,tt=(I,O,L)=>O in I?Ut(I,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):I[O]=L,Ue=(I,O)=>{for(var L in O||(O={}))bt.call(O,L)&&tt(I,L,O[L]);if(at)for(var L of at(O))dt.call(O,L)&&tt(I,L,O[L]);return I},Ce={namespace:"graduation",state:{name:"\u6BD5\u4E1A\u8BBE\u8BA1",loading:!0,actionTabs:{},detailList:{},detailTaskList:{},replyList:{},detail:{},addTopicData:{},editTopicData:{},editTasksData:{}},effects:{*getTopisDetailList({payload:I,callback:O},{call:L,put:ve}){const Re=yield L(Tt.x_,I);return yield ve({type:"save",payload:{detailList:Ue({},Re)}}),Re},*getTasksListDetail({payload:I,callback:O},{call:L,put:ve}){const Re=yield L(Tt.QA,I);return yield ve({type:"save",payload:{detailTaskList:Ue({},Re)}}),Re},*getTopisDetail({payload:I,callback:O},{call:L,put:ve}){const Re=yield L(Tt.B6,I);return yield ve({type:"save",payload:{detail:Ue({},Re)}}),Re},*getTasksDetail({payload:I,callback:O},{call:L,put:ve}){const Re=yield L(Tt.y3,I);return yield ve({type:"save",payload:{tasksDetail:Ue({},Re)}}),Re},*refuseTopic({payload:I,callback:O},{call:L,put:ve}){return yield L(Tt.mM,I)},*agreeTopic({payload:I,callback:O},{call:L,put:ve}){return yield L(Tt.je,I)},*getReplyList({payload:I,callback:O},{call:L,put:ve}){const Re=yield L(Tt.PC,I);yield ve({type:"save",payload:{replyList:Ue({},Re)}})},*createReply({payload:I,callback:O},{call:L,put:ve}){return yield L(Tt.PP,I)},*replyLike({payload:I,callback:O},{call:L,put:ve}){return yield L(Tt.NA,I)},*replyUnLike({payload:I,callback:O},{call:L,put:ve}){return yield L(Tt.YQ,I)},*deleteReply({payload:I,callback:O},{call:L,put:ve}){return yield L(Tt.Mf,I)},*addTopicDefaultData({payload:I,callback:O},{call:L,put:ve}){const Re=yield L(Tt.y0,I);yield ve({type:"save",payload:{addTopicData:Ue({},Re)}})},*editTopicDefaultData({payload:I,callback:O},{call:L,put:ve}){const Re=yield L(Tt.hL,I);return yield ve({type:"save",payload:{editTopicData:Ue({},Re)}}),Re},*editTasksDefaultData({payload:I,callback:O},{call:L,put:ve}){const Re=yield L(Tt._n,I);return yield ve({type:"save",payload:{editTasksData:Ue({},Re)}}),Re},*addTopic({payload:I,callback:O},{call:L,put:ve}){return yield L(Tt.Gr,I)},*editTopic({payload:I,callback:O},{call:L,put:ve}){return yield L(Tt.wA,I)},*addTasks({payload:I,callback:O},{call:L,put:ve}){return yield L(Tt.Sv,I)},*editTasks({payload:I,callback:O},{call:L,put:ve}){return yield L(Tt.RP,I)},*setActionTabs({payload:I},{call:O,put:L}){yield L({type:"save",payload:{actionTabs:Ue({},I)}})}},reducers:{save(I,O){return Ue(Ue({},I),O.payload)}},subscriptions:{setup({dispatch:I,history:O}){}}},Me=e(89392),je=e(1247),We=Object.defineProperty,nt=Object.getOwnPropertySymbols,lt=Object.prototype.hasOwnProperty,Vt=Object.prototype.propertyIsEnumerable,Ht=(I,O,L)=>O in I?We(I,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):I[O]=L,Pe=(I,O)=>{for(var L in O||(O={}))lt.call(O,L)&&Ht(I,L,O[L]);if(nt)for(var L of nt(O))Vt.call(O,L)&&Ht(I,L,O[L]);return I},Kt={namespace:"shixunHomeworks",state:{name:"",loading:!0,workList:{},shixunWorkList:{},headerInfo:{},shixunWorkReport:{},codeReview:{},codeReviewDetail:{},workSetting:{},changeData:{},codeReviewCourse:{},referenceAnswer:{},publishGroups:{},endGroups:{},brankList:{},replyList:{},workDetail:{},commonHomeWorkAddDefaultData:{},studentWorkAddDefaultData:{},studentWorkEditDefaultData:{},commonHomeWorkEditDefaultData:{},studentWorkDetail:{},studentWorkSupplyDetail:{},studentWorkCommon:{},allStudentWorks:{},searchMemberList:{},searchProjectList:{},actionTabs:{key:""},listParams:{order:"all",page:1,limit:16,search:""},homeworkAssistantPermissions:{},shixunAssistantPermission:{},courseAssistantPermission:{}},effects:{*getWorkList({payload:I,callback:O},{call:L,put:ve}){const Re=yield L(je.h$,I);try{sessionStorage.all_student_works=JSON.stringify(Re.all_student_works),sessionStorage.all_student_works_params=JSON.stringify(I),localStorage.setItem("all_student_works_param",JSON.stringify(I))}catch(rn){}return yield ve({type:"save",payload:{workList:Pe({},Re)}}),Re},*getShixunWorkHeadInfo({payload:I,callback:O},{call:L,put:ve}){const Re=yield L(je.fK,I);try{}catch(rn){}return yield ve({type:"save",payload:{headerInfo:Re==null?void 0:Re.data}}),Re},*getShixunWorkList({payload:I,callback:O},{call:L,put:ve}){const Re=yield L(je.Z8,I);try{sessionStorage.all_student_works=JSON.stringify(Re.all_student_works),sessionStorage.all_student_works_params=JSON.stringify(I),localStorage.setItem("all_student_works_param",JSON.stringify(I))}catch(rn){}return yield ve({type:"save",payload:{shixunWorkList:Re==null?void 0:Re.data,homeworkAssistantPermissions:Re.homework_assistant_permissions,shixunAssistantPermission:Re.shixun_assistant_permission,courseAssistantPermission:Re.course_assistant_permission}}),Re},*getCodeReview({payload:I,callback:O},{call:L,put:ve}){const Re=yield L(je.RP,I);return yield ve({type:"save",payload:{codeReview:Pe({},Re)}}),Re},*getCodeReviewDetail({payload:I,callback:O},{call:L,put:ve}){const Re=yield L(je.Xn,I);return yield ve({type:"save",payload:{codeReviewDetail:Pe({},Re)}}),Re},*getWorkDetail({payload:I,callback:O},{call:L,put:ve}){const Re=yield L(je.to,I);return yield ve({type:"save",payload:{workDetail:Pe({},Re)}}),Re},*updateWork({payload:I,callback:O},{call:L,put:ve}){return yield L(je.H,I)},*getShixunWorkReport({payload:I,callback:O},{call:L,put:ve}){const Re=yield L(je.sw,I);try{Re.all_student_works=JSON.parse(sessionStorage.all_student_works||"[]")}catch(rn){}return yield ve({type:"save",payload:{shixunWorkReport:Pe({},Re)}}),Re},*getShixunWorkReports({payload:I,callback:O},{call:L,put:ve}){const Re=yield L(je.cz,I);try{Re.all_student_works=JSON.parse(sessionStorage.all_student_works||"[]")}catch(rn){}return yield ve({type:"save",payload:{shixunWorkReport:Pe({},Re)}}),Re},*getWorkSetting({payload:I,callback:O},{call:L,put:ve}){var Re,rn;const jn=yield L(je.Ul,I);(Re=jn==null?void 0:jn.group_settings)==null||Re.map(Pi=>{Pi.value=Pi.group_name,Pi.id=Pi.group_id,Pi.group_id=[Pi.group_id]}),(rn=jn==null?void 0:jn.allow_late_settings)==null||rn.map(Pi=>{Pi.value=Pi.group_name,Pi.id=Pi.group_id,Pi.group_id=[Pi.group_id]});const ln={shixun_evaluation:jn.shixun_evaluation,challenge_settings:jn.challenge_settings};return yield ve({type:"save",payload:{workSetting:Pe({},jn),changeData:(0,Me.cloneDeep)(ln)}}),jn},*updateSetting({payload:I,callback:O},{call:L,put:ve}){return yield L(je.m7,I)},*getCodeReviewCourse({payload:I,callback:O},{call:L,put:ve}){const Re=yield L(je.JG,I);return yield ve({type:"save",payload:{codeReviewCourse:Pe({},Re)}}),Re},*exportShixunWorks({payload:I,callback:O},{call:L,put:ve}){const Re=yield L(je.Dx,I)},*getReferenceAnswer({payload:I,callback:O},{call:L,put:ve}){const Re=yield L(je.Q3,I);return yield ve({type:"save",payload:{referenceAnswer:Pe({},Re)}}),Re},*getPublishGroups({payload:I,callback:O},{call:L,put:ve}){const Re=yield L(je.ux,I);return yield ve({type:"save",payload:{publishGroups:Pe({},Re)}}),Re},*getEndGroups({payload:I,callback:O},{call:L,put:ve}){const Re=yield L(je.KE,I);return yield ve({type:"save",payload:{endGroups:Pe({},Re)}}),Re},*getBrankList({payload:I,callback:O},{call:L,put:ve}){const Re=yield L(je.n$,I);return yield ve({type:"save",payload:{brankList:Pe({},Re)}}),Re},*changeScore({payload:I,callback:O},{call:L,put:ve}){return yield L(je.gG,I)},*saveBanks({payload:I,callback:O},{call:L,put:ve}){return yield L(je.lf,I)},*addCommonHomeWorkDefaultData({payload:I,callback:O},{call:L,put:ve}){const Re=yield L(je.Qt,I);return yield ve({type:"save",payload:{commonHomeWorkAddDefaultData:Pe({},Re)}}),Re},*getSearchMemberList({payload:I,callback:O},{call:L,put:ve}){const Re=yield L(je.Lz,I);return yield ve({type:"save",payload:{searchMemberList:Pe({},Re)}}),Re},*getProjectList({payload:I,callback:O},{call:L,put:ve}){const Re=yield L(je.ku,I);return yield ve({type:"save",payload:{searchProjectList:Pe({},Re)}}),Re},*addStudentWorkDefaultData({payload:I,callback:O},{call:L,put:ve}){const Re=yield L(je.ak,I);return yield ve({type:"save",payload:{studentWorkAddDefaultData:Pe({},Re)}}),Re},*editStudentWorkDefaultData({payload:I,callback:O},{call:L,put:ve}){const Re=yield L(je.PW,I);return yield ve({type:"save",payload:{studentWorkEditDefaultData:Pe({},Re)}}),Re},*editCommonHomeWorkDefaultData({payload:I,callback:O},{call:L,put:ve}){const Re=yield L(je.BD,I);return yield ve({type:"save",payload:{commonHomeWorkEditDefaultData:Pe({},Re)}}),Re},*editCommonHomeWorkDefaultBankData({payload:I,callback:O},{call:L,put:ve}){const Re=yield L(je.pH,I);return yield ve({type:"save",payload:{commonHomeWorkEditDefaultData:Pe({},Re)}}),Re},*getReplyList({payload:I,callback:O},{call:L,put:ve}){const Re=yield L(je.PC,I);yield ve({type:"save",payload:{replyList:Pe({},Re)}})},*getStudentWorkDetail({payload:I,callback:O},{call:L,put:ve}){const Re=yield L(je.Hj,I);yield ve({type:"save",payload:{studentWorkDetail:Pe({},Re)}})},*getStudentWorkSupplyDetail({payload:I,callback:O},{call:L,put:ve}){const Re=yield L(je.ub,I);yield ve({type:"save",payload:{studentWorkSupplyDetail:Pe({},Re)}})},*getStudentWorkCommon({payload:I,callback:O},{call:L,put:ve}){const Re=yield L(je.JA,I);yield ve({type:"save",payload:{studentWorkCommon:Pe({},Re)}})},*getAllStudentWorks({payload:I,callback:O},{call:L,put:ve}){const Re=yield L(je.ql,I);return yield ve({type:"save",payload:{allStudentWorks:Pe({},Re)}}),Re},*getFileRepeatResult({payload:I,callback:O},{call:L,put:ve}){const Re=yield L(je.oN,I);return yield ve({type:"save",payload:{codeReview:Pe({},Re)}}),Re},*getFileRepeatDetail({payload:I,callback:O},{call:L,put:ve}){const Re=yield L(je.Ti,I);return yield ve({type:"save",payload:{codeReviewDetail:Pe({},Re)}}),Re},*createReply({payload:I,callback:O},{call:L,put:ve}){return yield L(je.PP,I)},*replyLike({payload:I,callback:O},{call:L,put:ve}){return yield L(je.NA,I)},*replyUnLike({payload:I,callback:O},{call:L,put:ve}){return yield L(je.YQ,I)},*deleteReply({payload:I,callback:O},{call:L,put:ve}){return yield L(je.Mf,I)},*setActionTabs({payload:I},{call:O,put:L}){yield L({type:"save",payload:{actionTabs:Pe({},I)}})}},reducers:{save(I,O){return Pe(Pe({},I),O.payload)}},subscriptions:{setup({dispatch:I,history:O}){return O.listen(({pathname:L})=>{L==="/"&&I({type:"query"})})}}},kt=e(82264),Zt=e(48790),Nt=Object.defineProperty,tr=Object.getOwnPropertySymbols,Wt=Object.prototype.hasOwnProperty,Fe=Object.prototype.propertyIsEnumerable,fe=(I,O,L)=>O in I?Nt(I,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):I[O]=L,pe=(I,O)=>{for(var L in O||(O={}))Wt.call(O,L)&&fe(I,L,O[L]);if(tr)for(var L of tr(O))Fe.call(O,L)&&fe(I,L,O[L]);return I},Ie={namespace:"classroomList",state:{name:"",loading:!0,detailTopBanner:{copy_completed:!0},detailLeftMenus:{},detailLeftMenusNames:{},detailShixunsList:{},detailGraduationTopicsList:{},detailGraduationTaskList:{},detailExerciseList:{},detailPollsList:{},detailCommonHomeworksList:{},detailAttendancesList:{},detailAttendancesDetail:{},detailAnnouncementList:{},detailAttachmentList:{},detailCourseware:{},courseMine:{},detailVideoList:{},detailLiveVideoList:{},detailBoardList:{},courseGroups:{},allCourseGroups:{},detailCourseGroupsList:{},detailCoursStudentsList:{},detailCourseStatisticsList:{},detailAttendancesStatistic:{},detailCourseWorkscore:{},detailCourseActscore:{},coursesLists:{},shixunLists:{},schoolList:{},taskList:[],searchMemberList:{},actionTabs:{key:""},listParams:{order:"all",page:1,limit:16,search:""},shareStatus:!1,AssistantObject:{},updateData:""},effects:{*setAssistantPermissions({payload:I},{call:O,put:L}){yield O(kt.gq,I)},*getAssistantPermissions({payload:I},{call:O,put:L}){if(!(0,Zt.eB)())return;const ve=yield O(kt.rS,I);yield L({type:"save",payload:{AssistantObject:ve.permissions}})},*getAiStatusQuery({payload:I},{call:O,put:L}){const ve=yield O(kt.LH,I);return yield L({type:"save",payload:{cal_finish_if:ve.cal_finish_if}}),ve},*updateCoursePortraitData({payload:I},{call:O,put:L}){return yield O(kt.Z_,I)},*getUserPortraitConfig({payload:I},{call:O,put:L}){const ve=yield O(kt._0,I);return yield L({type:"save",payload:{userPortraitConfig:ve.data}}),ve},*updateUserPortraitConfig({payload:I},{call:O,put:L}){return yield O(kt.r2,I)},*getClassroom({payload:I},{call:O,put:L}){const ve=I,Re=yield O(kt.V8,I);return yield L({type:"save",payload:pe({listParams:ve},Re)}),Re},*getClassroomTopBanner({payload:I},{call:O,put:L}){const ve=yield O(kt.U_,I);return yield L({type:"save",payload:{detailTopBanner:ve.status?{copy_completed:!0}:pe({},ve)}}),ve.status?{copy_completed:!0}:ve},*getClassroomLeftMenus({payload:I},{call:O,put:L}){const ve=yield O(kt.w9,I);let Re=[...(ve==null?void 0:ve.course_modules)||[],...(ve==null?void 0:ve.hidden_modules)||[]],rn={};return Re==null||Re.forEach(jn=>{rn[jn.type]=jn.name}),yield L({type:"save",payload:{detailLeftMenus:pe({},ve),detailLeftMenusNames:rn}}),ve},*getClassroomShixunsList({payload:I},{call:O,put:L}){const ve=yield O(kt.Nd,I);yield L({type:"save",payload:{detailShixunsList:pe({},ve)}})},*getClassroomTeacherShixunsList({payload:I},{call:O,put:L}){const ve=yield O(kt.Gk,I);return yield L({type:"save",payload:{detailShixunsList:pe({},ve)}}),ve},*getClassroomCommonList({payload:I},{call:O,put:L}){const ve=yield O(kt.Nd,I);yield L({type:"save",payload:{detailCommonHomeworksList:pe({},ve)}})},*getClassroomTeacherCommonList({payload:I},{call:O,put:L}){const ve=yield O(kt.Gk,I);return yield L({type:"save",payload:{detailCommonHomeworksList:pe({},ve)}}),ve},*getClassroomGraduationTopicsList({payload:I},{call:O,put:L}){const ve=yield O(kt.yV,I);yield L({type:"save",payload:{detailGraduationTopicsList:pe({},ve)}})},*getClassroomGraduationTaskList({payload:I},{call:O,put:L}){const ve=yield O(kt.R2,I);yield L({type:"save",payload:{detailGraduationTaskList:pe({},ve)}})},*getClassroomExercisesList({payload:I},{call:O,put:L}){const ve=yield O(kt.N7,I);yield L({type:"save",payload:{detailExerciseList:pe({},ve)}})},*getClassroomPollsList({payload:I},{call:O,put:L}){const ve=yield O(kt.BR,I);yield L({type:"save",payload:{detailPollsList:pe({},ve)}})},*getCourseGroups({payload:I},{call:O,put:L}){const ve=yield O(kt.qB,I);yield L({type:"save",payload:{courseGroups:pe({},ve)}})},*getAllCourseGroup({payload:I},{call:O,put:L}){const ve=yield O(kt.c_,I);return yield L({type:"save",payload:{allCourseGroups:pe({},ve)}}),ve},*getClassroomCommonHomeworksList({payload:I},{call:O,put:L}){const ve=yield O(kt.Al,I);yield L({type:"save",payload:{detailCommonHomeworksList:pe({},ve)}})},*getClassroomAttendancesList({payload:I},{call:O,put:L}){const ve=yield O(kt.Vw,I);yield L({type:"save",payload:{detailAttendancesList:pe({},ve)}})},*getClassroomAttendancesStatistic({payload:I},{call:O,put:L}){const ve=yield O(kt.Ls,I);yield L({type:"save",payload:{detailAttendancesStatistic:pe({},ve)}})},*getAttendanceDetail({payload:I},{call:O,put:L}){const ve=yield O(kt.zg,I);return yield L({type:"save",payload:{detailAttendancesDetail:pe({},ve)}}),ve},*getAnnouncementList({payload:I},{call:O,put:L}){const ve=yield O(kt.QZ,I);yield L({type:"save",payload:{detailAnnouncementList:pe({},ve)}})},*getAttachmentList({payload:I},{call:O,put:L}){const ve=yield O(kt.KT,I);yield L({type:"save",payload:{detailAttachmentList:pe({},ve.data)}})},*getCourseware({payload:I},{call:O,put:L}){const ve=yield O(kt.ZT,I);yield L({type:"save",payload:{detailCourseware:pe({},ve.data)}})},*getVideoList({payload:I},{call:O,put:L}){const ve=yield O(kt.O3,I);yield L({type:"save",payload:{detailVideoList:pe({},ve)}})},*getLiveVideoList({payload:I},{call:O,put:L}){const ve=yield O(kt.DJ,I);yield L({type:"save",payload:{detailLiveVideoList:pe({},ve)}})},*getCoursesMine({payload:I,callback:O},{call:L,put:ve}){const Re=yield L(kt.Ed,I);return yield ve({type:"save",payload:{courseMine:pe({},Re)}}),Re.data},*getBoardList({payload:I,callback:O},{call:L,put:ve}){const Re=yield L(kt.KP,I);return yield ve({type:"save",payload:{detailBoardList:pe({},Re.data)}}),Re.data},*getCourseGroupsList({payload:I,callback:O},{call:L,put:ve}){const Re=yield L(kt.kW,I);return yield ve({type:"save",payload:{detailCourseGroupsList:pe({},Re)}}),Re},*getCourseStudentsList({payload:I,callback:O},{call:L,put:ve}){const Re=yield L(kt.J2,I);return yield ve({type:"save",payload:{detailCoursStudentsList:pe({},Re)}}),Re.data},*getCourseStatistics({payload:I,callback:O},{call:L,put:ve}){const Re=yield L(kt.g4,I);return yield ve({type:"save",payload:{detailCourseStatisticsList:pe({},Re)}}),Re},*getCourseActscore({payload:I,callback:O},{call:L,put:ve}){const Re=yield L(kt.t1,I);return yield ve({type:"save",payload:{detailCourseActscore:pe({},Re)}}),Re},*getCourseWorkscore({payload:I,callback:O},{call:L,put:ve}){const Re=yield L(kt.GV,I);return yield ve({type:"save",payload:{detailCourseWorkscore:pe({},Re)}}),Re},*getShixunLists({payload:I,callback:O},{call:L,put:ve}){const Re=yield L(kt.Pj,I);return yield ve({type:"save",payload:{shixunLists:pe({},Re)}}),Re},*getExperimentLists({payload:I,callback:O},{call:L,put:ve}){const Re=yield L(kt._9,I);return yield ve({type:"save",payload:{shixunLists:pe({},Re)}}),Re},*getShixunAiRecommendLists({payload:I,callback:O},{call:L,put:ve}){const Re=yield L(kt.Hn,I);return yield ve({type:"save",payload:{shixunAiRecommendLists:pe({},Re)}}),Re},*getCoursesLists({payload:I,callback:O},{call:L,put:ve}){const Re=yield L(kt.W7,I);return yield ve({type:"save",payload:{coursesLists:pe({},Re)}}),Re},*createCoursesHomework({payload:I,callback:O},{call:L,put:ve}){return yield L(kt.Ds,I)},*createShixunHomework({payload:I,callback:O},{call:L,put:ve}){return yield L(kt.aQ,I)},*createExperiment({payload:I,callback:O},{call:L,put:ve}){return yield L(kt.BQ,I)},*getSchoolList({payload:I,callback:O},{call:L,put:ve}){const Re=yield L(kt.K$,I);return yield ve({type:"save",payload:{schoolList:pe({},Re.school_names)}}),Re.school_names},*searchSchoolTeacherList({payload:I,callback:O},{call:L,put:ve}){const Re=yield L(kt.nQ,I);return yield ve({type:"save",payload:{searchMemberList:pe({},Re)}}),Re},*getAllTaskList({payload:I,callback:O},{call:L,put:ve}){const Re=yield L(kt.km,I);return yield ve({type:"save",payload:{taskList:[...Re.tasks]}}),Re},*updateTaskPosition({payload:I,callback:O},{call:L,put:ve}){const Re=yield L(kt.U8,I);return yield ve({type:"save",payload:{actionTabs:{key:""}}}),Re},*setActionTabs({payload:I},{call:O,put:L}){yield L({type:"save",payload:{actionTabs:pe({},I)}})},*setUpdateData({payload:I},{call:O,put:L}){yield L({type:"save",payload:{updateData:I}})}},reducers:{save(I,O){return pe(pe({},I),O.payload)}},subscriptions:{setup({dispatch:I,history:O}){return O.listen(({pathname:L})=>{L==="/"&&I({type:"query"})})}}},ct=Object.defineProperty,zt=Object.getOwnPropertySymbols,wt=Object.prototype.hasOwnProperty,Oe=Object.prototype.propertyIsEnumerable,xt=(I,O,L)=>O in I?ct(I,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):I[O]=L,xe=(I,O)=>{for(var L in O||(O={}))wt.call(O,L)&&xt(I,L,O[L]);if(zt)for(var L of zt(O))Oe.call(O,L)&&xt(I,L,O[L]);return I},mt={namespace:"newClassroom",state:{schoolList:[],searchCourseList:[],actionTabs:{key:"",params:{}}},effects:{*getSchoolList({payload:I},{call:O,put:L}){const ve=yield O(kt.K$,I);yield L({type:"save",payload:{schoolList:(ve==null?void 0:ve.school_names)||[]}})},*getSearchCourseList({payload:I},{call:O,put:L}){const ve=yield O(kt.oM,I);yield L({type:"save",payload:{searchCourseList:(ve==null?void 0:ve.course_lists)||[]}})},*submitCourses({payload:I},{call:O,put:L}){return yield O(kt.Bn,I)},*appplySchool({payload:I},{call:O,put:L}){return yield O(kt.bz,I)},*setActionTabs({payload:I},{call:O,put:L}){yield L({type:"save",payload:{actionTabs:xe({},I)}})},*joincoursegroup({payload:I},{call:O,put:L}){return yield O(kt.WK,I)}},reducers:{save(I,O){return xe(xe({},I),O.payload)}},subscriptions:{setup({dispatch:I,history:O}){}}},Mt=Object.defineProperty,Be=Object.getOwnPropertySymbols,Ir=Object.prototype.hasOwnProperty,St=Object.prototype.propertyIsEnumerable,Zr=(I,O,L)=>O in I?Mt(I,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):I[O]=L,Yr=(I,O)=>{for(var L in O||(O={}))Ir.call(O,L)&&Zr(I,L,O[L]);if(Be)for(var L of Be(O))St.call(O,L)&&Zr(I,L,O[L]);return I},Mr={namespace:"classroomsOverview",state:{},effects:{*getCourseUseInfos({payload:I},{call:O,put:L}){const ve=yield O(kt.Dd,I);yield L({type:"save",payload:{CourseUseInfos:ve}})},*getRankList({payload:I},{call:O,put:L}){const ve=yield O(kt.Fg,I);yield L({type:"save",payload:{RankList:{teacher_list:[{rank:"\u6392\u540D",name:"\u59D3\u540D",course_num:"\u7BA1\u7406\u8BFE",homework_num:"\u53D1\u5E03\u4F5C\u4E1A\u6570",exercise_num:"\u53D1\u5E03\u8003\u8BD5\u6570",resource_num:"\u4E0A\u4F20\u8D44\u6E90\u6570"},...(ve==null?void 0:ve.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"},...(ve==null?void 0:ve.student_list)||[]],learn_course_list:[{rank:"\u6392\u540D",name:"\u6559\u5B66\u8BFE\u5802\u540D\u79F0",num:"\u5B66\u4E60\u4EBA\u6570"},...(ve==null?void 0:ve.learn_course_list)||[]],interact_course_list:[{rank:"\u6392\u540D",name:"\u6559\u5B66\u8BFE\u5802\u540D\u79F0",num:"\u4E92\u52A8\u8BA8\u8BBA\u6570"},...(ve==null?void 0:ve.interact_course_list)||[]],finish_course_list:[{rank:"\u6392\u540D",name:"\u6559\u5B66\u8BFE\u5802\u540D\u79F0",num:"\u603B\u5B8C\u6210\u6570"},...(ve==null?void 0:ve.finish_course_list)||[]]}}})},*getStatisticsBody({payload:I},{call:O,put:L}){const ve=yield O(kt.Gz,I);yield L({type:"save",payload:{SBody:ve}})},*getStatisticsHeader({payload:I},{call:O,put:L}){const ve=yield O(kt.Hl,I);yield L({type:"save",payload:{SHeader:ve}})}},reducers:{save(I,O){return Yr(Yr({},I),O.payload)}},subscriptions:{setup({dispatch:I,history:O}){return O.listen(({pathname:L})=>{L==="/"&&I({type:"query"})})}}},mr=e(7299),Nr=Object.defineProperty,nn=Object.getOwnPropertySymbols,on=Object.prototype.hasOwnProperty,or=Object.prototype.propertyIsEnumerable,Rt=(I,O,L)=>O in I?Nr(I,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):I[O]=L,_t=(I,O)=>{for(var L in O||(O={}))on.call(O,L)&&Rt(I,L,O[L]);if(nn)for(var L of nn(O))or.call(O,L)&&Rt(I,L,O[L]);return I},$t={namespace:"polls",state:{name:"\u666E\u901A\u8BD5\u5377\uFF0C\u968F\u673A\u8BD5\u5377\u8BE6\u60C5\u9875\u9762",loading:!0,pollsList:{},statisticsList:{},pollsCoursesList:{},brankList:{},actionTabs:{},commonHeader:{},pollSetting:{},endGroups:{},publishGroups:{},exerciseBanks:{}},effects:{*getPollsList({payload:I,callback:O},{call:L,put:ve}){const Re=yield L(mr.s3,I);return yield ve({type:"save",payload:{pollsList:_t({},Re)}}),Re},*getCommonHeader({payload:I,callback:O},{call:L,put:ve}){const Re=yield L(mr.UK,I);return yield ve({type:"save",payload:{commonHeader:_t({},Re)}}),Re},*getPollsStatistics({payload:I,callback:O},{call:L,put:ve}){const Re=yield L(mr.Qn,I);return yield ve({type:"save",payload:{statisticsList:_t({},Re)}}),Re},*getBrankList({payload:I,callback:O},{call:L,put:ve}){const Re=yield L(mr.n$,I);return yield ve({type:"save",payload:{brankList:_t({},Re)}}),Re},*saveBanks({payload:I,callback:O},{call:L,put:ve}){return yield L(mr.lf,I)},*getPollsCourses({payload:I,callback:O},{call:L,put:ve}){const Re=yield L(mr.Q9,I);return yield ve({type:"save",payload:{pollsCoursesList:_t({},Re)}}),Re},*getPollsSetting({payload:I,callback:O},{call:L,put:ve}){const Re=yield L(mr.Hi,I);return yield ve({type:"save",payload:{pollSetting:_t({},Re)}}),Re},*editPolls({payload:I,callback:O},{call:L,put:ve}){const Re=yield L(mr.Ye,I);return yield ve({type:"save",payload:{editData:_t({},JSON.parse(JSON.stringify(Re)))}}),Re},*getEndGroups({payload:I,callback:O},{call:L,put:ve}){const Re=yield L(mr.KE,I);return yield ve({type:"save",payload:{endGroups:_t({},Re)}}),Re},*getPublishGroups({payload:I,callback:O},{call:L,put:ve}){const Re=yield L(mr.ux,I);return yield ve({type:"save",payload:{publishGroups:_t({},Re)}}),Re},*getExerciseBanks({payload:I,callback:O},{call:L,put:ve}){const Re=yield L(mr.kp,I);return yield ve({type:"save",payload:{exerciseBanks:_t({},Re)}}),Re},*setActionTabs({payload:I},{call:O,put:L}){yield L({type:"save",payload:{actionTabs:_t({},I)}})}},reducers:{save(I,O){return _t(_t({},I),O.payload)}},subscriptions:{setup({dispatch:I,history:O}){}}},Sr=e(49234),vr=Object.defineProperty,Qr=Object.getOwnPropertySymbols,Wr=Object.prototype.hasOwnProperty,An=Object.prototype.propertyIsEnumerable,At=(I,O,L)=>O in I?vr(I,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):I[O]=L,lr=(I,O)=>{for(var L in O||(O={}))Wr.call(O,L)&&At(I,L,O[L]);if(Qr)for(var L of Qr(O))An.call(O,L)&&At(I,L,O[L]);return I},dn={namespace:"teachers",state:{list:{},applyList:{},allCourseGroups:{},graduationGroupList:{},studentsList:{},actionTabs:{key:"",params:{}},updateIndex:1},effects:{*getList({payload:I},{call:O,put:L}){var ve;const Re=yield O(Sr.gp,I);return(ve=Re==null?void 0:Re.teacher_list)==null||ve.map(rn=>(rn.key=rn.course_member_id,rn)),yield L({type:"save",payload:{list:Re}}),Re},*getStudentsList({payload:I},{call:O,put:L}){var ve;const Re=yield O(Sr.ur,I);return(ve=Re==null?void 0:Re.students)==null||ve.map(rn=>(rn.key=rn.user_id,rn)),yield L({type:"save",payload:{studentsList:Re}}),Re},*getApplyList({payload:I},{call:O,put:L}){const ve=yield O(Sr.s,I);return yield L({type:"save",payload:{applyList:ve}}),ve},*getAllCourseGroups({payload:I},{call:O,put:L}){const ve=yield O(Sr.xV,I);return yield L({type:"save",payload:{allCourseGroups:ve}}),ve},*getGraduationGroupList({payload:I},{call:O,put:L}){const ve=yield O(Sr.Bg,I);return yield L({type:"save",payload:{graduationGroupList:ve}}),ve},*setAllCourseGroups({payload:I},{call:O,put:L}){const ve=yield O(Sr.oZ,I);return yield L({type:"save",payload:{setAllCourseGroups:ve}}),ve},*setActionTabs({payload:I},{call:O,put:L}){yield L({type:"save",payload:{actionTabs:lr({},I)}})},*setUpdateIndex({payload:I},{call:O,put:L}){yield L({type:"save",payload:{updateIndex:Math.random()}})}},reducers:{save(I,O){return lr(lr({},I),O.payload)}},subscriptions:{setup({dispatch:I,history:O}){}}},Bn=e(69618),ti=Object.defineProperty,Un=Object.getOwnPropertySymbols,Ri=Object.prototype.hasOwnProperty,ni=Object.prototype.propertyIsEnumerable,ci=(I,O,L)=>O in I?ti(I,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):I[O]=L,gi=(I,O)=>{for(var L in O||(O={}))Ri.call(O,L)&&ci(I,L,O[L]);if(Un)for(var L of Un(O))ni.call(O,L)&&ci(I,L,O[L]);return I},Qi={namespace:"video",state:{name:"\u8D44\u6E90",loading:!0,actionTabs:{},videoStatisticsList:{},newVideoStatisticsList:{},videoDurationStatics:{},StudentvideoStatistics:{},videoPeopleStatics:{},videoStatistics:{},oneVideoStatisticsList:{}},effects:{*getVideoStatisticsList({payload:I,callback:O},{call:L,put:ve}){const Re=yield L(Bn.BQ,I);return yield ve({type:"save",payload:{videoStatisticsList:gi({},Re)}}),Re},*getNewVideoStatisticsList({payload:I,callback:O},{call:L,put:ve}){const Re=yield L(Bn.cU,I);return yield ve({type:"save",payload:{newVideoStatisticsList:gi({},Re)}}),Re},*getVideoPeopleStatics({payload:I,callback:O},{call:L,put:ve}){const Re=yield L(Bn.Zx,I);return yield ve({type:"save",payload:{videoPeopleStatics:gi({},Re)}}),Re},*getVideoDurationStatics({payload:I,callback:O},{call:L,put:ve}){const Re=yield L(Bn.Mz,I);return yield ve({type:"save",payload:{videoDurationStatics:gi({},Re)}}),Re},*getVideoStatistics({payload:I,callback:O},{call:L,put:ve}){const Re=yield L(Bn.ZY,I);return yield ve({type:"save",payload:{videoStatistics:gi({},Re)}}),Re},*getOneVideoStatisticsList({payload:I,callback:O},{call:L,put:ve}){const Re=yield L(Bn.cU,I);return yield ve({type:"save",payload:{oneVideoStatisticsList:gi({},Re)}}),Re},*setActionTabs({payload:I},{call:O,put:L}){yield L({type:"save",payload:{actionTabs:gi({},I)}})},*getStudentVideoStatisticsList({payload:I,callback:O},{call:L,put:ve}){const Re=yield L(Bn.Vg,I);return yield ve({type:"save",payload:{StudentvideoStatistics:gi({},Re)}}),Re}},reducers:{save(I,O){return gi(gi({},I),O.payload)}},subscriptions:{setup({dispatch:I,history:O}){}}},Gn=e(73801),Xi=Object.defineProperty,Et=Object.getOwnPropertySymbols,st=Object.prototype.hasOwnProperty,Vn=Object.prototype.propertyIsEnumerable,yi=(I,O,L)=>O in I?Xi(I,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):I[O]=L,Kn=(I,O)=>{for(var L in O||(O={}))st.call(O,L)&&yi(I,L,O[L]);if(Et)for(var L of Et(O))Vn.call(O,L)&&yi(I,L,O[L]);return I},_i={namespace:"competitions",state:{name:"",loading:!0,listParams:{page:1,per_page:20,category:""},Staff:{},Header:{},competition_title:"",banner:"",competitions:[],count:"",RightItems:{},Prizes:{},Account:{},TabResultList:{},competition_team:{},all_team_member:{},actionTabs:{key:"",params:{}},GuidesData:{}},effects:{*postGuides({payload:I,callback:O},{call:L,put:ve}){return yield L(Gn.cC,I)},*getGuides({payload:I,callback:O},{call:L,put:ve}){const Re=yield L(Gn.Ax,I);return yield ve({type:"save",payload:{GuidesData:Re}}),Re},*getWorkSubmitUpdateRes({payload:I,callback:O},{call:L,put:ve}){return yield L(Gn.zF,I)},*getList({payload:I},{call:O,put:L}){const ve=I,Re=yield O(Gn.bQ,I);return yield L({type:"save",payload:Kn({listParams:ve},Re)}),Re},*getMemberWorks({payload:I},{call:O,put:L}){const ve=yield O(Gn.xx,I);return yield L({type:"save",payload:{MemberWorks:ve||{}}}),ve},*addApplytojoincourse({payload:I,callback:O},{call:L,put:ve}){return yield L(Gn.qS,I)},*competitionTeams({payload:I,callback:O},{call:L,put:ve}){return yield L(Gn.Pt,I)},*getStaff({payload:I,callback:O},{call:L,put:ve}){const Re=yield L(Gn.Dh,I);return yield ve({type:"save",payload:{Staff:Re}}),Re},*getHeader({payload:I,callback:O},{call:L,put:ve}){const Re=yield L(Gn.Pg,I);return yield ve({type:"save",payload:{Header:Re}}),Re},*getItem({payload:I,callback:O},{call:L,put:ve}){const Re=yield L(Gn.rV,I);return yield ve({type:"save",payload:{RightItems:Re}}),Re},*updateMdContent({payload:I,callback:O},{call:L,put:ve}){return yield L(Gn.zj,I)},*getTeamList({payload:I,callback:O},{call:L,put:ve}){return yield L(Gn.aq,I)},*getTeamDetail({payload:I,callback:O},{call:L,put:ve}){return yield L(Gn.Ze,I)},*UpTeam({payload:I,callback:O},{call:L,put:ve}){return yield L(Gn.yS,I)},*DeleteTeam({payload:I,callback:O},{call:L,put:ve}){return yield L(Gn.ps,I)},*ExitTeam({payload:I,callback:O},{call:L,put:ve}){return yield L(Gn.vV,I)},*AddTeam({payload:I,callback:O},{call:L,put:ve}){return yield L(Gn.FU,I)},*AddPersonnel({payload:I,callback:O},{call:L,put:ve}){return yield L(Gn.R9,I)},*JoinTeam({payload:I,callback:O},{call:L,put:ve}){return yield L(Gn.zc,I)},*getTeacher({payload:I,callback:O},{call:L,put:ve}){return yield L(Gn.jS,I)},*getStudents({payload:I,callback:O},{call:L,put:ve}){return yield L(Gn.sK,I)},*SubmitTeam({payload:I,callback:O},{call:L,put:ve}){return yield L(Gn.rm,I)},*Reward({payload:I,callback:O},{call:L,put:ve}){return yield L(Gn.Qp,I)},*ChartRules({payload:I,callback:O},{call:L,put:ve}){return yield L(Gn.Ux,I)},*Charts({payload:I,callback:O},{call:L,put:ve}){return yield L(Gn.GQ,I)},*TabResults({payload:I,callback:O},{call:L,put:ve}){const Re=yield L(Gn.ml,I);return yield ve({type:"save",payload:{TabResultList:Re}}),Re},*setActionTabs({payload:I},{call:O,put:L}){yield L({type:"save",payload:{actionTabs:Kn({},I)}})},*Results({payload:I,callback:O},{call:L,put:ve}){return yield L(Gn.u9,I)},*Prize({payload:I,callback:O},{call:L,put:ve}){const Re=yield L(Gn.pU,I);return yield ve({type:"save",payload:{Prizes:Re}}),Re},*Accounts({payload:I,callback:O},{call:L,put:ve}){const Re=yield L(Gn.XJ,I);return yield ve({type:"save",payload:{Account:Re}}),Re},*getVerification({payload:I,callback:O},{call:L,put:ve}){return yield L(Gn.Ni,I)},*PhoneBind({payload:I,callback:O},{call:L,put:ve}){return yield L(Gn.uZ,I)},*EmailBind({payload:I,callback:O},{call:L,put:ve}){return yield L(Gn.rk,I)},*Authentication({payload:I,callback:O},{call:L,put:ve}){return yield L(Gn.Vy,I)},*Professional({payload:I,callback:O},{call:L,put:ve}){return yield L(Gn.tC,I)},*setleader({payload:I,callback:O},{call:L,put:ve}){return yield L(Gn.tO,I)},*getShixun({payload:I,callback:O},{call:L,put:ve}){return yield L(Gn.qj,I)},*getCourse({payload:I,callback:O},{call:L,put:ve}){return yield L(Gn.XR,I)},*competition_teams({payload:I,callback:O},{call:L,put:ve}){const Re=yield L(Gn.zz,I);return yield ve({type:"save",payload:{competition_team:Re}}),Re},*all_team_members({payload:I,callback:O},{call:L,put:ve}){const Re=yield L(Gn.$P,I);return yield ve({type:"save",payload:{all_team_member:Re}}),Re}},reducers:{save(I,O){return Kn(Kn({},I),O.payload)}},subscriptions:{setup({dispatch:I,history:O}){return O.listen(({pathname:L})=>{L==="/"&&I({type:"query"})})}}},ei=e(1103),vn=e(32026),er=Object.defineProperty,pt=Object.defineProperties,rt=Object.getOwnPropertyDescriptors,Ot=Object.getOwnPropertySymbols,ft=Object.prototype.hasOwnProperty,ur=Object.prototype.propertyIsEnumerable,fr=(I,O,L)=>O in I?er(I,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):I[O]=L,Tr=(I,O)=>{for(var L in O||(O={}))ft.call(O,L)&&fr(I,L,O[L]);if(Ot)for(var L of Ot(O))ur.call(O,L)&&fr(I,L,O[L]);return I},$r=(I,O)=>pt(I,rt(O)),qe={namespace:"engineeringEvaluteDetail",state:{classDataSource:{active:null,dataList:[]},actionTabs:{key:"",params:{}},name:"",headerData:{dataSource:{[vn.k[0]]:{width:235,placeholder:`\u8BF7\u9009\u62E9${vn.k[0]}`,loading:"engineeringEvaluteDetail/getMajorList",dataList:[]},[vn.k[1]]:{width:138,placeholder:`\u8BF7\u9009\u62E9${vn.k[1]}`,loading:"engineeringEvaluteDetail/getYearList",dataList:[]}},active:{}},tabListData:[],echartsData:{barData:{name:"",dataSource:{xData:[],yBarData:[],yLineData:[]}},lineData:{name:"",xData:[],seriesData:[]},scatterData:{}}},effects:{*setActionTabs({payload:I},{call:O,put:L}){yield L({type:"save",payload:{actionTabs:Tr({},I)}})},*getMajorList({payload:I},{call:O,put:L,select:ve}){const{userInfo:Re}=yield ve(rn=>rn.user);if(Re!=null&&Re.school_id){const rn=yield O(ei.BA,Re.school_id);rn&&rn.data&&(yield L({type:"setMajorOrYearDataSource",payload:{key:vn.k[0],value:rn.data.map(jn=>({label:jn.name,value:jn.ec_major_school_id}))}}))}},*getYearList({payload:I},{call:O,put:L}){const ve=yield O(ei.Nx,I);ve&&ve.data&&(yield L({type:"setMajorOrYearDataSource",payload:{key:vn.k[1],value:ve.data.map(Re=>({label:Re.year,value:Re.ec_year_id}))}}))},*getCourseResultDetail({payload:I},{call:O,put:L}){console.log(I,"payload");const ve=yield O(ei.p1,I);ve&&ve.ec_course_target&&(yield L({type:"setEchartsData",payload:ve}))},*getCourseResultDetailClass({payload:I},{call:O,put:L}){const ve=yield O(ei.ff,I);ve&&ve.class_name&&(yield L({type:"save",payload:{classDataSource:{active:null,dataList:[...ve.class_name]}}}))},*setClassActive({payload:I},{call:O,put:L}){yield L({type:"save",payload:{classDataSource:Tr({},I)}})}},reducers:{save(I,O){return Tr(Tr({},I),O.payload)},setMajorOrYearDataSource(I,{payload:O}){return $r(Tr({},I),{headerData:$r(Tr({},I.headerData),{dataSource:$r(Tr({},I.headerData.dataSource),{[O.key]:$r(Tr({},I.headerData.dataSource[O.key]),{dataList:O.value})})})})},setMajorOrYearActive(I,{payload:O}){return $r(Tr({},I),{headerData:$r(Tr({},I.headerData),{active:$r(Tr({},I.headerData.active),{[O.key]:O.value})})})},setEchartsData(I,{payload:O}){let L={name:O.course_name||"",dataSource:{xData:[],yBarData:[],yLineData:[]}},ve={name:O.course_name||"",xData:[],seriesData:[]},Re={};return O.ec_course_target.forEach((rn,jn)=>{rn.position=jn+1,L=$r(Tr({},L),{dataSource:{xData:[...L.dataSource.xData,jn+1],yBarData:[...L.dataSource.yBarData,rn.actual_grade],yLineData:[...L.dataSource.yLineData,rn.standard_grade]}});let ln=[],Pi={min:[],max:[]},Ha=[],Ta=[],Gs=[];rn.student_data.detail.forEach((ts,_o)=>{let xs=ts.score;ln.push(_o+1),Pi.max.push(xs>=rn.student_data.goal_score?xs:null),Pi.min.push(xs>=rn.student_data.goal_score?null:xs),Ha.push(ts.name),Ta.push(ts.student_id),Gs.push(ts.clazz)}),Re[jn+1]={name:jn+1,average_score:rn.student_data.average_score,goal_score:rn.student_data.goal_score,xData:ln,yData:Pi,name_data:Ha,student_ids:Ta,class_data:Gs,goal_scoreData:new Array(rn.student_data.detail.length).fill(rn.student_data.goal_score),average_scoreData:new Array(rn.student_data.detail.length).fill(rn.student_data.average_score)}}),O.history.forEach(rn=>{ve=$r(Tr({},ve),{xData:[...ve.xData,rn.year],seriesData:[...ve.seriesData,rn.total_score]})}),$r(Tr({},I),{name:O.course_name||"",tabListData:O.ec_course_target,echartsData:{barData:L,lineData:ve,scatterData:Re}})}},subscriptions:{setup({dispatch:I,history:O}){return O.listen(({pathname:L})=>{L==="/"&&I({type:"query"})})}}},Ee=Object.defineProperty,ot=Object.getOwnPropertySymbols,ar=Object.prototype.hasOwnProperty,br=Object.prototype.propertyIsEnumerable,Dr=(I,O,L)=>O in I?Ee(I,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):I[O]=L,Pr=(I,O)=>{for(var L in O||(O={}))ar.call(O,L)&&Dr(I,L,O[L]);if(ot)for(var L of ot(O))br.call(O,L)&&Dr(I,L,O[L]);return I},mn={namespace:"engineering",state:{showMenu:!0,matrixVerify:{key:!1,params:{}},actionTabs:{key:"",params:{}}},effects:{*setActionTabs({payload:I},{call:O,put:L}){yield L({type:"save",payload:{actionTabs:Pr({},I)}})},*setShowMenu({payload:I},{call:O,put:L}){yield L({type:"save",payload:{showMenu:I}})},*setMatrixVerify({payload:I},{call:O,put:L}){yield L({type:"save",payload:{matrixVerify:Pr({},I)}})}},reducers:{save(I,O){return Pr(Pr({},I),O.payload)}},subscriptions:{setup({dispatch:I,history:O}){return O.listen(({pathname:L})=>{L==="/"&&I({type:"query"})})}}},Er=e(96999),un=Object.defineProperty,Jr=Object.defineProperties,sn=Object.getOwnPropertyDescriptors,xn=Object.getOwnPropertySymbols,ha=Object.prototype.hasOwnProperty,Ci=Object.prototype.propertyIsEnumerable,li=(I,O,L)=>O in I?un(I,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):I[O]=L,_n=(I,O)=>{for(var L in O||(O={}))ha.call(O,L)&&li(I,L,O[L]);if(xn)for(var L of xn(O))Ci.call(O,L)&&li(I,L,O[L]);return I},ai=(I,O)=>Jr(I,sn(O)),oa={namespace:"engineeringNavigtion",state:{actionTabs:{key:"",params:{}},headerData:{title:"\u8BA4\u8BC1\u5BFC\u822A",dataSource:{[vn.k[0]]:{width:235,placeholder:`\u8BF7\u9009\u62E9${vn.k[0]}`,loading:"engineeringNavigtion/getMajorList",dataList:[]},[vn.k[1]]:{width:138,placeholder:`\u8BF7\u9009\u62E9${vn.k[1]}`,loading:"engineeringNavigtion/getYearList",dataList:[]}},active:{},name:"",tabBarContent:{user_name:"",user_school:"",user_type:""}},cardListData:{appraiseData:{norm:{title:"\u6307\u6807\u8BC4\u4EF7",result:"-",tabBarContent:[{icon:"icon-biyezhibiao",label:"\u6BD5\u4E1A\u6307\u6807",value:"/engineering/graduated/index"},{icon:"icon-biyejuzhen",label:"\u6BD5\u4E1A\u77E9\u9635",value:"/engineering/graduated/matrix"}],listData:[{key:"graduation_count",icon:"icon-biyeyaoqiu1",backgroundColor:"#F2EBFB",textColor:"#713BDB",label:"\u6BD5\u4E1A\u8981\u6C42",value:"-",unit:"\u9879"},{key:"graduation_subitem_count",icon:"icon-zhibiaodian",backgroundColor:"#FEF3EF",textColor:"#FF8B58",label:"\u6307\u6807\u70B9",value:"-",unit:"\u9879"},{key:"graduation_achieve_count",icon:"icon-dacheng",backgroundColor:"#D7F5E6",textColor:"#07C160",label:"\u5DF2\u8FBE\u6210\u6BD5\u4E1A\u8981\u6C42",value:"-",unit:"\u9879"},{key:"graduation_not_achieve_count",icon:"icon-weidacheng",backgroundColor:"#F5F5F5",textColor:"#7C8184",label:"\u672A\u8FBE\u6210\u6BD5\u4E1A\u8981\u6C42",value:"-",unit:"\u9879"}]},course:{title:"\u8BFE\u7A0B\u8BC4\u4EF7",result:"-",tabBarContent:[{icon:"icon-kechengliebiao",label:"\u8BFE\u7A0B\u5217\u8868",value:"/engineering/course/list"},{icon:"icon-kechengjuzhen",label:"\u8BFE\u7A0B\u77E9\u9635",value:"/engineering/course/matrix"}],listData:[{key:"course_count",icon:"icon-kechengshuliang",backgroundColor:"#E2F5FF",textColor:"#007AFF",label:"\u8BFE\u7A0B\u6570\u91CF",value:"-",unit:"\u95E8"},{key:"course_target_count",icon:"icon-mubiao",backgroundColor:"#FEF8EF",textColor:"#FEB315",label:"\u8BFE\u7A0B\u76EE\u6807",value:"-",unit:"\u9879"},{key:"course_achieve_count",icon:"icon-dacheng",backgroundColor:"#D7F5E6",textColor:"#07C160",label:"\u5DF2\u8FBE\u6210\u8BFE\u7A0B\u6570\u91CF",value:"-",unit:"\u95E8"},{key:"course_not_achieve_count",icon:"icon-weidacheng",backgroundColor:"#F5F5F5",textColor:"#7C8184",label:"\u672A\u8FBE\u6210\u8BFE\u7A0B\u6570\u91CF",value:"-",unit:"\u95E8"}]}},teamData:{teach:{title:"\u6388\u8BFE\u56E2\u961F",tabBarContent:"0\u4EBA",listData:[]},work:{title:"\u5DE5\u4F5C\u56E2\u961F",tabBarContent:"0\u4EBA",listData:[]}}},totalListData:[{key:"student_count",title:"\u5F53\u524D\u5B66\u751F\u603B\u6570",value:0,icon:"icon-xuesheng1",backgroundColor:"rgba(201,236,255,0.51)",textColor:"#007AFF"},{key:"student_in_count",title:"\u8F6C\u5165\u5B66\u751F\u603B\u6570",value:0,icon:"icon-zhuanru",backgroundColor:"rgba(119,241,174,0.4)",textColor:"#1FA363"},{key:"student_out_count",title:"\u8F6C\u51FA\u5B66\u751F\u603B\u6570",value:0,icon:"icon-zhuanchu",backgroundColor:"rgba(255,197,147,0.44)",textColor:"#FA6400"}]},effects:{*setActionTabs({payload:I},{call:O,put:L}){yield L({type:"save",payload:{actionTabs:_n({},I)}})},*getMajorList({},{call:I,put:O,select:L}){const{userInfo:ve}=yield L(Re=>Re.user);if(ve!=null&&ve.school_id){const Re=yield I(ei.BA,ve.school_id);if(Re&&Re.data){const rn=Er.U.getItem(ve==null?void 0:ve.login);yield O({type:"setMajorOrYearDataSource",payload:{key:vn.k[0],value:Re.data.map(jn=>({label:jn.name,value:jn.ec_major_school_id})),active:Re.data.length>0?rn[0]||Re.data[0].ec_major_school_id:void 0}})}}},*getYearList({payload:I},{call:O,put:L,select:ve}){const Re=yield O(ei.Nx,I.id),{userInfo:rn}=yield ve(jn=>jn.user);if(Re&&Re.data){const jn=Er.U.getItem(rn==null?void 0:rn.login);yield L({type:"setMajorOrYearDataSource",payload:{key:vn.k[1],value:Re.data.map(ln=>({label:ln.year,value:ln.ec_year_id})),active:Re.data.length>0?I.firstEnter?jn[1]:Re.data[0].ec_year_id:void 0}})}},*getTopPage({},{call:I,put:O,select:L}){const{headerData:ve}=yield L(jn=>jn.engineeringNavigtion),{userInfo:Re}=yield L(jn=>jn.user);let rn={};if(ve.active[vn.k[1]]&&Re.school_id){const jn=[ve.active[vn.k[0]],ve.active[vn.k[1]]];Er.U.setItem(Re==null?void 0:Re.login,jn);const ln=yield I(ei.bA,{ec_year_id:ve.active[vn.k[1]],school_id:Re.school_id});ln&&ln.data&&(rn=ln.data),yield O({type:"setTopPage",payload:rn})}},*putTopPageName({payload:I,callback:O},{call:L,put:ve}){try{const Re=yield L(ei.ay,I);O(Re)}catch(Re){let rn="";Re&&(rn=JSON.stringify(Re),Re.message&&(rn=Re.message)),O({message:rn,status:999})}}},reducers:{save(I,O){return _n(_n({},I),O.payload)},setMajorOrYearDataSource(I,{payload:O}){let L=I.headerData.active;return O.active&&(L=ai(_n({},L),{[O.key]:O.active})),ai(_n({},I),{headerData:ai(_n({},I.headerData),{dataSource:ai(_n({},I.headerData.dataSource),{[O.key]:ai(_n({},I.headerData.dataSource[O.key]),{dataList:O.value})}),active:L})})},setMajorOrYearActive(I,{payload:O}){return ai(_n({},I),{headerData:ai(_n({},I.headerData),{active:ai(_n({},I.headerData.active),{[O.key]:O.value})})})},setTopPage(I,{payload:O}){return ai(_n({},I),{headerData:ai(_n({},I.headerData),{name:O.name,tabBarContent:{user_name:O.user_name,user_school:O.user_school,user_type:O.user_type}}),cardListData:ai(_n({},I.cardListData),{appraiseData:ai(_n({},I.cardListData.appraiseData),{norm:ai(_n({},I.cardListData.appraiseData.norm),{result:O.graduaiton_result,listData:I.cardListData.appraiseData.norm.listData.map(L=>ai(_n({},L),{value:O[L.key]||0}))}),course:ai(_n({},I.cardListData.appraiseData.course),{result:O.course_result,listData:I.cardListData.appraiseData.course.listData.map(L=>ai(_n({},L),{value:O[L.key]||0}))})}),teamData:{teach:ai(_n({},I.cardListData.teamData.teach),{tabBarContent:`${O.course_teachers?O.course_teachers.length:0}\u4EBA`,listData:O.course_teachers||[]}),work:ai(_n({},I.cardListData.teamData.work),{tabBarContent:`${O.work_teachers?O.work_teachers.length:0}\u4EBA`,listData:O.work_teachers||[]})}}),totalListData:I.totalListData.map(L=>ai(_n({},L),{value:O[L.key]||0}))})}},subscriptions:{setup({dispatch:I,history:O}){return O.listen(({pathname:L})=>{L==="/"&&I({type:"query"})})}}},Cs=Object.defineProperty,ua=Object.defineProperties,ms=Object.getOwnPropertyDescriptors,Ts=Object.getOwnPropertySymbols,Ra=Object.prototype.hasOwnProperty,ws=Object.prototype.propertyIsEnumerable,Zn=(I,O,L)=>O in I?Cs(I,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):I[O]=L,ns=(I,O)=>{for(var L in O||(O={}))Ra.call(O,L)&&Zn(I,L,O[L]);if(Ts)for(var L of Ts(O))ws.call(O,L)&&Zn(I,L,O[L]);return I},Ga=(I,O)=>ua(I,ms(O)),zi={namespace:"engineeringNormDetail",state:{actionTabs:{key:"",params:{}},dataSource:{name:"",goal_value:0,actual_value:0,subitems:[]}},effects:{*setActionTabs({payload:I},{call:O,put:L}){yield L({type:"save",payload:{actionTabs:ns({},I)}})},*getGraduationResultDetail({payload:I},{call:O,put:L}){const ve=yield O(ei.gq,I);yield L({type:"save",payload:{dataSource:ve}})}},reducers:{save(I,O){return ns(ns({},I),O.payload)},setDataSource(I,{payload:O}){let L=O;return Ga(ns({},I),{dataSource:L})}},subscriptions:{setup({dispatch:I,history:O}){return O.listen(({pathname:L})=>{L==="/"&&I({type:"query"})})}}},vs=e(8591),Po=Object.defineProperty,Pa=Object.defineProperties,ta=Object.getOwnPropertyDescriptors,Fa=Object.getOwnPropertySymbols,Ks=Object.prototype.hasOwnProperty,In=Object.prototype.propertyIsEnumerable,La=(I,O,L)=>O in I?Po(I,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):I[O]=L,as=(I,O)=>{for(var L in O||(O={}))Ks.call(O,L)&&La(I,L,O[L]);if(Fa)for(var L of Fa(O))In.call(O,L)&&La(I,L,O[L]);return I},ss=(I,O)=>Pa(I,ta(O)),Li=(I,O)=>{var L={};for(var ve in I)Ks.call(I,ve)&&O.indexOf(ve)<0&&(L[ve]=I[ve]);if(I!=null&&Fa)for(var ve of Fa(I))O.indexOf(ve)<0&&In.call(I,ve)&&(L[ve]=I[ve]);return L},Ia={namespace:"engineeringNormList",state:{actionTabs:{key:"",params:{}},headerData:{dataSource:{[vn.k[0]]:{width:235,placeholder:`\u8BF7\u9009\u62E9${vn.k[0]}`,loading:"engineeringNormList/getMajorList",dataList:[]},[vn.k[1]]:{width:138,placeholder:`\u8BF7\u9009\u62E9${vn.k[1]}`,loading:"engineeringNormList/getYearList",dataList:[]}},active:{}},tabListData:[],expandedRowKeys:[],all_goal_value:""},effects:{*setActionTabs({payload:I},{call:O,put:L}){yield L({type:"save",payload:{actionTabs:as({},I)}})},*getMajorList({},{call:I,put:O,select:L}){const{userInfo:ve}=yield L(Re=>Re.user);if(ve!=null&&ve.school_id){const Re=yield I(ei.BA,ve.school_id);if(Re&&Re.data){const rn=Er.U.getItem(ve==null?void 0:ve.login);yield O({type:"setMajorOrYearDataSource",payload:{key:vn.k[0],value:Re.data.map(jn=>({label:jn.name,value:jn.ec_major_school_id})),active:Re.data.length>0?rn[0]||Re.data[0].ec_major_school_id:void 0}})}}},*getYearList({payload:I},{call:O,put:L,select:ve}){const Re=yield O(ei.Nx,I.id),{userInfo:rn}=yield ve(jn=>jn.user);if(Re&&Re.data){const jn=Er.U.getItem(rn==null?void 0:rn.login);yield L({type:"setMajorOrYearDataSource",payload:{key:vn.k[1],value:Re.data.map(ln=>({label:ln.year,value:ln.ec_year_id})),active:Re.data.length>0?I.firstEnter?jn[1]:Re.data[0].ec_year_id:void 0}})}},*getGraduationResults({},{call:I,put:O,select:L}){const{headerData:ve}=yield L(Ha=>Ha.engineeringNormList),{userInfo:Re}=yield L(Ha=>Ha.user);let rn=[],jn=[],ln="";const Pi=ve.active[vn.k[1]];if(Pi){const Ha=[ve.active[vn.k[0]],ve.active[vn.k[1]]];Er.U.setItem(Re==null?void 0:Re.login,Ha);const Ta=yield I(ei.eM,Pi);Ta&&Ta.graduation_requirements&&(ln=Ta.all_goal_value||"",rn=Ta.graduation_requirements.map(Gs=>{var ts=Gs,{subitems:_o}=ts,xs=Li(ts,["subitems"]);return jn.push(xs.id),ss(as({},xs),{children:_o})}))}yield O({type:"save",payload:{tabListData:rn,all_goal_value:ln,expandedRowKeys:jn}})},*exportGraduation({},{call:I,select:O}){const{headerData:L}=yield O(ve=>ve.engineeringNormList);L.active[vn.k[1]]&&(yield I(ei.OE,L.active[vn.k[1]]))},*compute({payload:I},{call:O,put:L}){const ve=I,{all:Re}=ve,rn=Li(ve,["all"]),jn=yield O(Re?ei.Qx:ei.Xl,rn);jn&&jn.status===0?(vs.ZP.success("\u8BA1\u7B97\u5B8C\u6210"),yield L({type:"getGraduationResults"})):vs.ZP.error(jn.message)},*getFormulas({callback:I},{call:O,select:L}){const{headerData:ve}=yield L(Re=>Re.engineeringNormList);if(ve.active[vn.k[1]]){const Re=yield O(ei.mK,ve.active[vn.k[1]]);I(Re)}},*setFormulas({payload:I,callback:O},{call:L}){const ve=yield L(ei.y9,I);O(ve)},*putGoalValue({payload:I},{call:O,put:L}){const ve=yield O(ei.No,I);if(ve&&ve.status===0)vs.ZP.success("\u4FDD\u5B58\u6210\u529F"),yield L({type:"save",payload:{actionTabs:{key:"",params:{}}}}),yield L({type:"getGraduationResults"});else{let Re="\u4FDD\u5B58\u5931\u8D25";ve&&ve.message&&(Re=ve.message),vs.ZP.error(Re)}}},reducers:{save(I,O){return as(as({},I),O.payload)},setMajorOrYearDataSource(I,{payload:O}){let L=I.headerData.active;return O.active&&(L=ss(as({},L),{[O.key]:O.active})),ss(as({},I),{headerData:ss(as({},I.headerData),{dataSource:ss(as({},I.headerData.dataSource),{[O.key]:ss(as({},I.headerData.dataSource[O.key]),{dataList:O.value})}),active:L})})},setMajorOrYearActive(I,{payload:O}){return ss(as({},I),{headerData:ss(as({},I.headerData),{active:ss(as({},I.headerData.active),{[O.key]:O.value})})})}},subscriptions:{setup({dispatch:I,history:O}){return O.listen(({pathname:L})=>{L==="/"&&I({type:"query"})})}}},cs=e(94670),Ys=Object.defineProperty,Eo=Object.getOwnPropertySymbols,Io=Object.prototype.hasOwnProperty,Do=Object.prototype.propertyIsEnumerable,Ba=(I,O,L)=>O in I?Ys(I,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):I[O]=L,qa=(I,O)=>{for(var L in O||(O={}))Io.call(O,L)&&Ba(I,L,O[L]);if(Eo)for(var L of Eo(O))Do.call(O,L)&&Ba(I,L,O[L]);return I},Oo={namespace:"forumsDetail",state:{forumsDetailData:{}},effects:{*getForumsDetailData({payload:I},{call:O,put:L}){const ve=yield O(cs.Si,I);return yield L({type:"save",payload:{forumsDetailData:qa({},ve)}}),ve},*setForumsDetailData({payload:I},{call:O,put:L}){yield L({type:"save",payload:{forumsDetailData:qa({},I)}})}},reducers:{save(I,O){return qa(qa({},I),O.payload)}},subscriptions:{setup({dispatch:I,history:O}){return O.listen(({pathname:L})=>{L==="/"&&I({type:"query"})})}}},wo=Object.defineProperty,ko=Object.getOwnPropertySymbols,fi=Object.prototype.hasOwnProperty,si=Object.prototype.propertyIsEnumerable,Na=(I,O,L)=>O in I?wo(I,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):I[O]=L,Va=(I,O)=>{for(var L in O||(O={}))fi.call(O,L)&&Na(I,L,O[L]);if(ko)for(var L of ko(O))si.call(O,L)&&Na(I,L,O[L]);return I},Xs={namespace:"forumsList",state:{forumsData:{},listParams:{page:1,order:"updated_at"}},effects:{*getForumsData({payload:I},{call:O,put:L}){const ve=yield O(I.memoType==="shixun_discuss"?cs.kd:cs.bc,I);return delete I.memoType,yield L({type:"save",payload:{listParams:I,forumsData:Va({},ve)}}),ve}},reducers:{save(I,O){return Va(Va({},I),O.payload)}},subscriptions:{setup({dispatch:I,history:O}){return O.listen(({pathname:L})=>{L==="/"&&I({type:"query"})})}}},So=e(22072),Zo=e(346),fs=e(28209),No=e.n(fs),Ho=Object.defineProperty,iu=Object.getOwnPropertySymbols,mo=Object.prototype.hasOwnProperty,Cu=Object.prototype.propertyIsEnumerable,vo=(I,O,L)=>O in I?Ho(I,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):I[O]=L,Vs=(I,O)=>{for(var L in O||(O={}))mo.call(O,L)&&vo(I,L,O[L]);if(iu)for(var L of iu(O))Cu.call(O,L)&&vo(I,L,O[L]);return I},du={namespace:"globalSetting",state:{name:"\u5168\u5C40\u914D\u7F6E",loading:!0,isIlearning:window.location.host.indexOf("learning.")>-1,showFooter:!0,showHeader:!0,showTip:!1,showHeaderFooter:!0,showHeaderFixed:!1,onlyShowBackTop:!0,onlyShowBackTopIcons:!0,operateModel:!1,operateModelPath:"",showQuestionBackTop:!1,theme:"defaults",shareData:{title:document.title,imgUrl:"https://ali-cdn.educoder.net/images/avatars/LaboratorySetting/1tab?t=1610677202",desc:""},globalLoading:{show:!1,text:""},updateData:{end_time:"",start_time:"",subject:"",system_score:"",system_update:!1},infoData:{name:"",phone:""},isSaiaDomain:window.location.host=="saia.educoder.net",actionTabs:{key:"",params:{}}},effects:{*query({payload:I},{call:O,put:L}){var ve,Re;const rn=yield O(So.D2,I);Zo.Z.ONLYOFFICE=(ve=rn==null?void 0:rn.setting)==null?void 0:ve.office_server_url,co(rn);try{const Pi="5183666c72eec9e4",Ha="5183666c72eec9e4";var jn=No().enc.Utf8.parse(Pi);let Ta=No().enc.Utf8.parse(Ha);var ln=No().AES.decrypt(((Re=rn==null?void 0:rn.setting)==null?void 0:Re.user_default_password)||"",jn,{iv:Ta,mode:No().mode.CBC});rn.setting.user_default_password=ln.toString(No().enc.Utf8)}catch(Pi){}yield L({type:"save",payload:Vs({},rn)})},*getSystemUpdate({payload:I},{call:O,put:L}){const ve=yield O(So.n0,I);yield L({type:"save",payload:{updateData:Vs({},ve)}})},*setTheme({payload:I},{call:O,put:L}){const ve=yield O(So.n0,I);yield L({type:"save",payload:{theme:I||"default"}})},*setShareData({payload:I},{call:O,put:L}){yield L({type:"save",payload:{shareData:I}})},*setGlobalLoading({payload:I},{call:O,put:L}){yield L({type:"save",payload:{globalLoading:Vs({},I)}})},*delayTipToggle({payload:I},{call:O,put:L}){yield L({type:"save",payload:{showTip:I}})},*headerToggle({payload:I},{call:O,put:L}){yield L({type:"save",payload:{showHeader:I}})},*footerToggle({payload:I},{call:O,put:L}){yield L({type:"save",payload:{showFooter:I}})},*headerFooterToggle({payload:I},{call:O,put:L}){yield L({type:"save",payload:{showHeaderFooter:I}})},*delayTipToggle({payload:I},{call:O,put:L}){yield L({type:"save",payload:{showTip:I}})},*headerFixedToggle({payload:I},{call:O,put:L}){yield L({type:"save",payload:{showHeaderFixed:I}})},*onlyShowBackTopToggle({payload:I},{call:O,put:L}){yield L({type:"save",payload:{onlyShowBackTop:I}})},*onlyShowBackTopIconToggle({payload:I},{call:O,put:L}){yield L({type:"save",payload:{onlyShowBackTopIcons:I}})},*setOperateModel({payload:I},{call:O,put:L}){yield L({type:"save",payload:{operateModel:I}})},*setOperateModelPath({payload:I},{call:O,put:L}){yield L({type:"save",payload:{operateModelPath:I}})},*setShowQuestionBackTop({payload:I},{call:O,put:L}){yield L({type:"save",payload:{showQuestionBackTop:I}})},*setInfoData({payload:I},{call:O,put:L}){yield L({type:"save",payload:{infoData:Vs({},I)}})},*setActionTabs({payload:I},{call:O,put:L}){yield L({type:"save",payload:{actionTabs:Vs({},I)}})}},reducers:{save(I,O){return Vs(Vs({},I),O.payload)}},subscriptions:{setup({dispatch:I,history:O}){return O.listen(({pathname:L})=>{})}}};const co=(I={})=>{var O,L,ve,Re,rn;if(window.self!==window.top||!((O=I.setting)!=null&&O.tab_logo_url))return;const jn=document.createElement("link"),ln=document.getElementById("dynamic-favicon");jn.id="dynamic-favicon",jn.rel="shortcut icon",jn.href=(L=I.setting)!=null&&L.tab_logo_url?`${Zo.Z.IMG_SERVER}/${(ve=I.setting)==null?void 0:ve.tab_logo_url}`:"",ln&&document.head.removeChild(ln),document.head.appendChild(jn);try{(Re=I.setting)!=null&&Re.main_site||(document.querySelector('meta[name="keywords"]').content=(rn=I.setting)==null?void 0:rn.name,document.querySelector('meta[name="description"]').remove())}catch(Pi){}};var go=e(12309),au=Object.defineProperty,Ro=Object.getOwnPropertySymbols,$o=Object.prototype.hasOwnProperty,os=Object.prototype.propertyIsEnumerable,Ao=(I,O,L)=>O in I?au(I,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):I[O]=L,hu=(I,O)=>{for(var L in O||(O={}))$o.call(O,L)&&Ao(I,L,O[L]);if(Ro)for(var L of Ro(O))os.call(O,L)&&Ao(I,L,O[L]);return I},hr={namespace:"graduations",state:{actionTabs:{key:"",params:{}},details:{},menus:[],forTask:[],ownedList:[],students:{},years:[],graduation:{teachers_count:0,students_count:0,graduation_tasks_count:0},teachers:{},graduation_stages:[],Notices:{total_count:0,no_deal_count:0},Tasks:{data:[],count:0},updateIndex:1},effects:{*getGraduationsStageDetails({payload:I},{call:O,put:L}){return yield O(go.Xh,I)},*getGraduationsFinalScore({payload:I},{call:O,put:L}){return yield O(go.H3,I)},*getDelGraduationsTasks({payload:I},{call:O,put:L}){return yield O(go.km,I)},*getGraduationsTasks({payload:I},{call:O,put:L}){const ve=yield O(go.Xw,I);yield L({type:"save",payload:{Tasks:ve}})},*getGraduationsTeachers({payload:I},{call:O,put:L}){var ve;const Re=yield O(go.AA,I);return(ve=Re==null?void 0:Re.data)==null||ve.map(rn=>(rn.key=rn.id,rn)),yield L({type:"save",payload:{teachers:Re}}),Re},*getGraduationsStudents({payload:I},{call:O,put:L}){var ve;const Re=yield O(go.eh,I);(ve=Re==null?void 0:Re.data)==null||ve.map(rn=>(rn.key=rn.id,rn)),yield L({type:"save",payload:{students:Re}})},*getGraduationsNotices({payload:I},{call:O,put:L}){const ve=yield O(go.Rk,I);yield L({type:"save",payload:{Notices:ve}})},*getGraduationsInfo({payload:I},{call:O,put:L}){const ve=yield O(go.F7,I);yield L({type:"save",payload:{graduation:ve.graduation}})},*setActionTabs({payload:I},{call:O,put:L}){yield L({type:"save",payload:{actionTabs:hu({},I)}})},*setUpdateIndex({payload:I},{call:O,put:L}){yield L({type:"save",payload:{updateIndex:Math.random()}})},*getGraduationsDetails({payload:I},{call:O,put:L}){const ve=yield O(go.Ou,I);yield L({type:"save",payload:{details:(ve==null?void 0:ve.graduation)||{},menus:(ve==null?void 0:ve.data)||[],forTask:(ve==null?void 0:ve.for_task)||[]}})}},reducers:{save(I,O){return hu(hu({},I),O.payload)}}},sr=e(82220),pr=Object.defineProperty,Ar=Object.defineProperties,fn=Object.getOwnPropertyDescriptors,Rn=Object.getOwnPropertySymbols,wn=Object.prototype.hasOwnProperty,Ln=Object.prototype.propertyIsEnumerable,Jn=(I,O,L)=>O in I?pr(I,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):I[O]=L,Qn=(I,O)=>{for(var L in O||(O={}))wn.call(O,L)&&Jn(I,L,O[L]);if(Rn)for(var L of Rn(O))Ln.call(O,L)&&Jn(I,L,O[L]);return I},dr=(I,O)=>Ar(I,fn(O)),Or={namespace:"homePage",state:{name:"\u9996\u9875",loading:!0},effects:{*home({payload:I},{call:O,put:L}){const ve=yield O(sr.Tt,{payload:I});yield L({type:"save",payload:dr(Qn({},ve),{isloading:!0})})},*query({payload:I},{call:O,put:L}){yield L({type:"save",payload:{name:"linlu"}})},*getHomeNotice({payload:I,callback:O},{call:L,put:ve}){return yield L(sr.LA,I)},*UploadNotice({payload:I,callback:O},{call:L,put:ve}){return yield L(sr.S_,I)}},reducers:{save(I,O){return Qn(Qn({},I),O.payload)}},subscriptions:{setup({dispatch:I,history:O}){return O.listen(({pathname:L})=>{L==="/"&&I({type:"query"})})}}},gn=Object.defineProperty,yn=Object.defineProperties,ht=Object.getOwnPropertyDescriptors,Dn=Object.getOwnPropertySymbols,Mn=Object.prototype.hasOwnProperty,Ei=Object.prototype.propertyIsEnumerable,Zi=(I,O,L)=>O in I?gn(I,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):I[O]=L,Jt=(I,O)=>{for(var L in O||(O={}))Mn.call(O,L)&&Zi(I,L,O[L]);if(Dn)for(var L of Dn(O))Ei.call(O,L)&&Zi(I,L,O[L]);return I},Yi=(I,O)=>yn(I,ht(O)),fa={namespace:"innovation",state:{visibleModalName:"",hideRemindModal:!0,openForkModalPosition:"forkButton",simpleModalProps:{visible:!1}},reducers:{save(I,O){return Jt(Jt({},I),O.payload)},openModal(I,O){return Yi(Jt({},I),{visibleModalName:O.payload})},closeModal(I){return Yi(Jt({},I),{visibleModalName:""})},openSimpleModal(I,O){return Yi(Jt({},I),{simpleModalProps:Jt({visible:!0},O.payload)})},closeSimpleModal(I){return Yi(Jt({},I),{simpleModalProps:{visible:!1}})}}},Ja=e(38986),gs=Object.defineProperty,Ti=Object.getOwnPropertySymbols,io=Object.prototype.hasOwnProperty,Us=Object.prototype.propertyIsEnumerable,ds=(I,O,L)=>O in I?gs(I,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):I[O]=L,Ea=(I,O)=>{for(var L in O||(O={}))io.call(O,L)&&ds(I,L,O[L]);if(Ti)for(var L of Ti(O))Us.call(O,L)&&ds(I,L,O[L]);return I},us=(I,O,L)=>new Promise((ve,Re)=>{var rn=Pi=>{try{ln(L.next(Pi))}catch(Ha){Re(Ha)}},jn=Pi=>{try{ln(L.throw(Pi))}catch(Ha){Re(Ha)}},ln=Pi=>Pi.done?ve(Pi.value):Promise.resolve(Pi.value).then(rn,jn);ln((L=L.apply(I,O)).next())});const Qs=I=>us(void 0,null,function*(){return(0,Ja.ZP)("/api/paid_subjects/banner.json",{method:"get",params:Ea({},I)})}),kn=I=>us(void 0,null,function*(){return(0,Ja.ZP)("/api/paid_subjects/top_category.json",{method:"get",params:Ea({},I)})}),Ss=I=>us(void 0,null,function*(){return(0,Ja.ZP)("/api/paid_subjects/hot_recommend_subjects.json",{method:"get",params:Ea({},I)})}),zs=I=>us(void 0,null,function*(){return(0,Ja.ZP)("/api/paid_subjects/time_discount_subjects.json",{method:"get",params:Ea({},I)})}),Xe=I=>us(void 0,null,function*(){return(0,Ja.ZP)("/api/paid_subjects.json",{method:"post",body:Ea({},I)})}),Qe=I=>us(void 0,null,function*(){return(0,Ja.ZP)("/api/paid_subjects/all_tags.json",{method:"get",params:Ea({},I)})}),Ft=I=>us(void 0,null,function*(){return(0,Ja.ZP)("/api/paid_subjects/user_comments.json",{method:"get",params:Ea({},I)})}),Gt=I=>us(void 0,null,function*(){return(0,Ja.ZP)("/api/paid_subjects/info_show.json",{method:"get",params:Ea({},I)})});var gr=Object.defineProperty,Rr=Object.getOwnPropertySymbols,jr=Object.prototype.hasOwnProperty,hn=Object.prototype.propertyIsEnumerable,tn=(I,O,L)=>O in I?gr(I,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):I[O]=L,pn=(I,O)=>{for(var L in O||(O={}))jr.call(O,L)&&tn(I,L,O[L]);if(Rr)for(var L of Rr(O))hn.call(O,L)&&tn(I,L,O[L]);return I},qn={namespace:"intraincourse",state:{name:"\u7528\u6237\u767B\u5F55\u6A21\u5757",BannerList:[],Adv:{},TopCategoryList:[],HotList:[],DiscountList:[],SubjectList:{},Tags:[],UserComments:[],InfoShow:{}},effects:{*getBannerList({payload:I},{call:O,put:L}){const{data:{adv:ve,top_banner:Re}}=yield O(Qs,I);yield L({type:"save",payload:{BannerList:Re,Adv:ve}})},*getTopCategoryList({payload:I},{call:O,put:L}){const{data:{top_category_list:ve}}=yield O(kn,I);yield L({type:"save",payload:{TopCategoryList:[{id:-1,name:"\u5168\u90E8"},...ve]}})},*getHotList({payload:I},{call:O,put:L}){const{data:{hot_list:ve}}=yield O(Ss,I);yield L({type:"save",payload:{HotList:ve}})},*getDiscountList({payload:I},{call:O,put:L}){const{data:{discount_list:ve}}=yield O(zs,I);yield L({type:"save",payload:{DiscountList:ve}})},*getPaidSubjects({payload:I},{call:O,put:L}){const{data:ve}=yield O(Xe,I);yield L({type:"save",payload:{SubjectList:ve}})},*getTags({payload:I},{call:O,put:L}){const{data:{list:ve}}=yield O(Qe,I);yield L({type:"save",payload:{Tags:ve}})},*getUserComments({payload:I},{call:O,put:L}){const{data:{list:ve}}=yield O(Ft,I);yield L({type:"save",payload:{UserComments:ve}})},*getInfoShow({payload:I},{call:O,put:L}){const{data:ve}=yield O(Gt,I);yield L({type:"save",payload:{InfoShow:ve}})}},reducers:{save(I,O){return pn(pn({},I),O.payload)}}},wi={namespace:"loadingss",state:{global:!1,effects:{},models:{}}},Hi=e(50958),Mi=Object.defineProperty,bi=Object.getOwnPropertySymbols,pa=Object.prototype.hasOwnProperty,xi=Object.prototype.propertyIsEnumerable,hi=(I,O,L)=>O in I?Mi(I,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):I[O]=L,la=(I,O)=>{for(var L in O||(O={}))pa.call(O,L)&&hi(I,L,O[L]);if(bi)for(var L of bi(O))xi.call(O,L)&&hi(I,L,O[L]);return I},As={namespace:"messages",state:{tidingsList:[],privateMessage:[],unreadInfo:[],recentContacts:{},privateMessageDetails:{},userPrivateMessage:{},actionTabs:{key:"",params:{}}},effects:{*getPrivateMessageDetails({payload:I},{call:O,put:L}){const ve=yield O(Hi.Ub,I);return yield L({type:"save",payload:{privateMessageDetails:ve||[]}}),ve},*getTidings({payload:I},{call:O,put:L}){const ve=yield O(Hi.AD,I);yield L({type:"save",payload:{tidingsList:ve||[]}})},*getPrivateMessages({payload:I},{call:O,put:L}){const ve=yield O(Hi.V8,I);return yield L({type:"save",payload:{privateMessage:ve||[]}}),ve},*getUsersForPrivateMessages({payload:I},{call:O,put:L}){const ve=yield O(Hi.QJ,I);return yield L({type:"save",payload:{userPrivateMessage:ve||[]}}),ve},*unreadMessageInfo({payload:I},{call:O,put:L}){const ve=yield O(Hi.Ig,I);yield L({type:"save",payload:{unreadInfo:ve||[]}})},*getRecentContacts({payload:I},{call:O,put:L}){const ve=yield O(Hi.Ko,I);return yield L({type:"save",payload:{recentContacts:ve||[]}}),ve},*setActionTabs({payload:I},{call:O,put:L}){yield L({type:"save",payload:{actionTabs:la({},I)}})}},reducers:{save(I,O){return la(la({},I),O.payload)}},subscriptions:{setup({dispatch:I,history:O}){}}},Wi=e(93629),Oa=e(51257),Ji=e(32162),Oi=Object.defineProperty,ga=Object.defineProperties,ka=Object.getOwnPropertyDescriptors,Ka=Object.getOwnPropertySymbols,Js=Object.prototype.hasOwnProperty,Ya=Object.prototype.propertyIsEnumerable,fo=(I,O,L)=>O in I?Oi(I,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):I[O]=L,ja=(I,O)=>{for(var L in O||(O={}))Js.call(O,L)&&fo(I,L,O[L]);if(Ka)for(var L of Ka(O))Ya.call(O,L)&&fo(I,L,O[L]);return I},Xa=(I,O)=>ga(I,ka(O));const ls=(I,O)=>{var L,ve,Re,rn,jn,ln,Pi,Ha,Ta;if(!I)return;const{exam:Gs,single_questions:ts,multiple_questions:_o,judgement_questions:xs,program_questions:Jl,completion_questions:fc,subjective_questions:ec,practical_questions:Ml,combination_questions:cl,bprogram_questions:Ii}=I||{},fl=[ja({type:"SINGLE",question_type:0,name:((L=O==null?void 0:O.find(Qa=>Qa.value==Ji.fw[0].nameType))==null?void 0:L.name)||Ji.fw[0].name},ts),ja({type:"MULTIPLE",question_type:1,name:((ve=O==null?void 0:O.find(Qa=>Qa.value==Ji.fw[1].nameType))==null?void 0:ve.name)||Ji.fw[1].name},_o),ja({type:"JUDGMENT",question_type:2,name:((Re=O==null?void 0:O.find(Qa=>Qa.value==Ji.fw[2].nameType))==null?void 0:Re.name)||Ji.fw[2].name},xs),ja({type:"PROGRAM",question_type:6,name:((rn=O==null?void 0:O.find(Qa=>Qa.value==Ji.fw[6].nameType))==null?void 0:rn.name)||Ji.fw[6].name},Jl),ja({type:"COMPLETION",question_type:3,name:((jn=O==null?void 0:O.find(Qa=>Qa.value==Ji.fw[3].nameType))==null?void 0:jn.name)||Ji.fw[3].name},fc),ja({type:"SUBJECTIVE",question_type:4,name:((ln=O==null?void 0:O.find(Qa=>Qa.value==Ji.fw[4].nameType))==null?void 0:ln.name)||Ji.fw[4].name},ec),ja({type:"PRACTICAL",question_type:5,name:((Pi=O==null?void 0:O.find(Qa=>Qa.value==Ji.fw[5].nameType))==null?void 0:Pi.name)||Ji.fw[5].name},Ml),ja({type:"COMBINATION",question_type:7,name:((Ha=O==null?void 0:O.find(Qa=>Qa.value==Ji.fw[7].nameType))==null?void 0:Ha.name)||Ji.fw[7].name},cl),ja({type:"BPROGRAM",question_type:8,name:((Ta=O==null?void 0:O.find(Qa=>Qa.value==Ji.fw[8].nameType))==null?void 0:Ta.name)||Ji.fw[8].name},Ii)],dc=[];if(I.sort_by_qustion_type)for(const Qa of I.qustion_type_order_name_en)dc.push(fl.find(Zu=>Zu.type===Qa));const ro=(I.sort_by_qustion_type?dc:fl).filter(Qa=>(Qa==null?void 0:Qa.questions_count)>0).map((Qa,Zu)=>{var Hu;return ja(ja({},Qa),{number:(0,Oa.EM)(Zu+1),questions:(Hu=Qa==null?void 0:Qa.questions)==null?void 0:Hu.map(hc=>Xa(ja({},hc),{shixun:hc.examination_bank_shixun_challenges,question_type:Qa.question_type}))})});return{exam:Gs,questionList:ro}};var ra=e(55305),za=Object.defineProperty,ys=Object.getOwnPropertySymbols,ya=Object.prototype.hasOwnProperty,be=Object.prototype.propertyIsEnumerable,Ae=(I,O,L)=>O in I?za(I,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):I[O]=L,wr=(I,O)=>{for(var L in O||(O={}))ya.call(O,L)&&Ae(I,L,O[L]);if(ys)for(var L of ys(O))be.call(O,L)&&Ae(I,L,O[L]);return I},yr={namespace:"paperlibrary",state:{paperData:void 0,disciplinesData:void 0,teachGroupData:void 0,courseOptions:[],actionTabs:{key:"",params:{}}},effects:{*postExistCourse({payload:I},{call:O,put:L}){return yield O(Wi.a2,I)},*postCheckExaminationBanks({payload:I},{call:O,put:L}){return yield O(Wi.q$,I)},*postPaperlibraryCopy({payload:I},{call:O,put:L}){return yield O(Wi.ID,I)},*getDisciplines({payload:I},{call:O,put:L}){const ve=yield O(Wi.d1,I);return yield L({type:"save",payload:{disciplinesData:wr({},ve)}}),ve},*getCustomDisciplines({payload:I},{call:O,put:L}){const ve=yield O(Wi.ar,I);return yield L({type:"save",payload:{disciplinesData:wr({},ve)}}),ve},*getEditDisciplines({payload:I},{call:O,put:L}){const ve=yield O(Wi.d1,I),Re=ve==null?void 0:ve.disciplines,rn=(0,ra.L)(Re);return yield L({type:"save",payload:{courseOptions:rn,disciplinesData:wr({},ve)}}),ve},*getTeachGroupData({payload:I},{call:O,put:L}){const ve=yield O(Wi.Dm,I);return yield L({type:"save",payload:{teachGroupData:wr({},ve)}}),ve},*getPaperData({payload:I},{call:O,put:L}){const ve=yield O(Wi.iT,I),Re=yield O(Wi.cV,I),rn=ls(ve,Re.data);return yield L({type:"save",payload:{paperData:rn}}),ve},*getPaperlibraryList({payload:I},{call:O,put:L}){return yield O(Wi.Gd,I)},*setPublic({payload:I},{call:O,put:L}){return yield O(Wi.DF,I)},*handleDelete({payload:I},{call:O,put:L}){return yield O(Wi.fn,I)},*getCourseList({payload:I},{call:O,put:L}){return yield O(Wi.tS,I)},*postBatchSendToCourse({payload:I},{call:O,put:L}){return yield O(Wi.lc,I)},*sendToClass({payload:I},{call:O,put:L}){return yield O(Wi.kp,I)},*adjustPosition({payload:I},{call:O,put:L}){return yield O(Wi.qN,I)},*setScore({payload:I},{call:O,put:L}){return yield O(Wi.ts,I)},*handleDeleteEditQuestion({payload:I},{call:O,put:L}){return yield O(Wi.NC,I)},*batchSetScore({payload:I},{call:O,put:L}){return yield O(Wi.YP,I)},*batchDelete({payload:I},{call:O,put:L}){return yield O(Wi.Hm,I)},*updatePaper({payload:I},{call:O,put:L}){return yield O(Wi.jK,I)},*setActionTabs({payload:I},{call:O,put:L}){yield L({type:"save",payload:{actionTabs:wr({},I)}})}},reducers:{save(I,O){return wr(wr({},I),O.payload)}},subscriptions:{setup({dispatch:I,history:O}){return O.listen(({pathname:L})=>{L==="/"&&I({type:"query"})})}}},Kr=Object.defineProperty,En=Object.getOwnPropertySymbols,Xn=Object.prototype.hasOwnProperty,ki=Object.prototype.propertyIsEnumerable,On=(I,O,L)=>O in I?Kr(I,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):I[O]=L,Cn=(I,O)=>{for(var L in O||(O={}))Xn.call(O,L)&&On(I,L,O[L]);if(En)for(var L of En(O))ki.call(O,L)&&On(I,L,O[L]);return I},ia={namespace:"newExercisePaper",state:{loading:!0,exerciseExportHeadData:{},tagDisciplineData:{},editData:{},actionTabs:{removeEventListenerExitScreen:!1}},effects:{*getExerciseExportHeadData({payload:I,callback:O},{call:L,put:ve}){const Re=yield L(Wi.Dq,I);return yield ve({type:"save",payload:{exerciseExportHeadData:Cn({},Re)}}),Re},*editExercise({payload:I,callback:O},{call:L,put:ve}){const Re=yield L(Wi.Di,I);return yield ve({type:"save",payload:{editData:Cn({},Re)}}),Re},*getTagDiscipline({payload:I,callback:O},{call:L,put:ve}){const Re=yield L(He.YY,I);return yield ve({type:"save",payload:{tagDisciplineData:Cn({},Re)}}),Re},*editExerciseQuestion({payload:I,callback:O},{call:L,put:ve}){return yield L(Wi.oF,I)},*addExerciseQuestion({payload:I,callback:O},{call:L,put:ve}){return yield L(Wi.oF,I)},*setActionTabs({payload:I},{call:O,put:L}){yield L({type:"save",payload:{actionTabs:Cn({},I)}})}},reducers:{save(I,O){return Cn(Cn({},I),O.payload)},modifyTitle(I,O){const L=(0,Me.cloneDeep)(I);return L.editData.exercise.exercise_name=O.payload,L}},subscriptions:{setup({dispatch:I,history:O}){}}},Gi=e(36714),yo=Object.defineProperty,ao=Object.getOwnPropertySymbols,Yo=Object.prototype.hasOwnProperty,bl=Object.prototype.propertyIsEnumerable,Mu=(I,O,L)=>O in I?yo(I,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):I[O]=L,Xo=(I,O)=>{for(var L in O||(O={}))Yo.call(O,L)&&Mu(I,L,O[L]);if(ao)for(var L of ao(O))bl.call(O,L)&&Mu(I,L,O[L]);return I},vu={namespace:"pathsDetail",state:{detail:{},rightData:{},Courses:{},stageData:[],StageChildrenData:{},discusses:{},actionTabs:{key:"",params:{}},isShowSchedule:!1,keywords:"",stage_id:null,visibleType:"All",editKey:-1},effects:{*getDiscusses({payload:I},{call:O,put:L}){const ve=yield O(Gi.Ax,I);yield L({type:"save",payload:{discusses:Xo({},ve)}})},*getPathsDetail({payload:I},{call:O,put:L}){const ve=yield O(Gi.lk,I);return yield L({type:"save",payload:{detail:Xo({},ve)}}),ve},*getCourseDetail({payload:I},{call:O,put:L}){const ve=yield O(Gi.Sp,I);return yield L({type:"save",payload:{detail:Xo({},ve)}}),ve},*getRightData({payload:I},{call:O,put:L}){const ve=yield O(Gi.AQ,I);yield L({type:"save",payload:{rightData:Xo({},ve)}})},*getCoureses({payload:I},{call:O,put:L}){const ve=yield O(Gi.ue,I);yield L({type:"save",payload:{Courses:Xo({},ve)}})},*getStageChildrenData({payload:I},{call:O,put:L}){const ve=yield O(Gi.w4,I);return yield L({type:"save",payload:{StageChildrenData:ve}}),ve},*getStageData({payload:I},{call:O,put:L}){var ve,Re;let rn=null;I!=null&&I.show_course_section?rn=yield O(Gi.yN,I):rn=yield O(Gi.p,I),yield L({type:"save",payload:{stageData:((ve=rn==null?void 0:rn.data)==null?void 0:ve.stages)||(rn==null?void 0:rn.stages)||[],isShowSchedule:((Re=rn==null?void 0:rn.data)==null?void 0:Re.is_show_schedule)||(rn==null?void 0:rn.is_show_schedule)||!1}})},*setActionTabs({payload:I},{call:O,put:L}){yield L({type:"save",payload:{actionTabs:Xo({},I)}})}},reducers:{save(I,O){return Xo(Xo({},I),O.payload)}}},Ve=Object.defineProperty,Z=Object.getOwnPropertySymbols,X=Object.prototype.hasOwnProperty,ne=Object.prototype.propertyIsEnumerable,he=(I,O,L)=>O in I?Ve(I,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):I[O]=L,Te=(I,O)=>{for(var L in O||(O={}))X.call(O,L)&&he(I,L,O[L]);if(Z)for(var L of Z(O))ne.call(O,L)&&he(I,L,O[L]);return I},Ct={namespace:"pathsList",state:{name:"",loading:!0,actionTabs:{key:"",params:{}},listParams:{sort:"desc",order:"new",page:1,limit:16,keyword:""}},effects:{*getCourse({payload:I},{call:O,put:L}){const ve=I,Re=yield O(Gi.tS,I);return yield L({type:"save",payload:Te({listParams:ve},Re)}),Re},*getMenus({payload:I},{call:O,put:L}){const ve=yield O(Gi.fh,I);yield L({type:"save",payload:{menus:ve}})},*setActionTabs({payload:I},{call:O,put:L}){yield L({type:"save",payload:{actionTabs:Te({},I)}})},*clearListParams({payload:I},{call:O,put:L}){yield L({type:"save",payload:{listParams:{sort:"desc",order:"new",page:1,limit:16,keyword:""}}})}},reducers:{save(I,O){return Te(Te({},I),O.payload)}},subscriptions:{setup({dispatch:I,history:O}){return O.listen(({pathname:L})=>{L==="/"&&I({type:"query"})})}}},jt=Object.defineProperty,ir=Object.getOwnPropertySymbols,It=Object.prototype.hasOwnProperty,Ur=Object.prototype.propertyIsEnumerable,en=(I,O,L)=>O in I?jt(I,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):I[O]=L,bn=(I,O)=>{for(var L in O||(O={}))It.call(O,L)&&en(I,L,O[L]);if(ir)for(var L of ir(O))Ur.call(O,L)&&en(I,L,O[L]);return I},Hn={namespace:"newCourse",state:{actionTabs:{key:"",params:{}}},effects:{*editCourse({payload:I},{call:O,put:L}){return yield O(Gi.tu,I)},*submitCourse({payload:I},{call:O,put:L}){return yield O(Gi.pU,I)},*getEditCourseData({payload:I},{call:O,put:L}){return yield O(Gi.mQ,I)},*getSchoolOption({payload:I},{call:O,put:L}){return yield O(Gi.GY,I)},*appplySchool({payload:I},{call:O,put:L}){return yield O(Gi.bz,I)},*setActionTabs({payload:I},{call:O,put:L}){yield L({type:"save",payload:{actionTabs:bn({},I)}})}},reducers:{save(I,O){return bn(bn({},I),O.payload)}},subscriptions:{setup({dispatch:I,history:O}){return O.listen(({pathname:L})=>{L==="/"&&I({type:"query"})})}}},Si=Object.defineProperty,da=Object.defineProperties,aa=Object.getOwnPropertyDescriptors,ca=Object.getOwnPropertySymbols,Ma=Object.prototype.hasOwnProperty,es=Object.prototype.propertyIsEnumerable,bs=(I,O,L)=>O in I?Si(I,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):I[O]=L,Za=(I,O)=>{for(var L in O||(O={}))Ma.call(O,L)&&bs(I,L,O[L]);if(ca)for(var L of ca(O))es.call(O,L)&&bs(I,L,O[L]);return I},qi=(I,O)=>da(I,aa(O)),Is={namespace:"pathsOverview",state:{},effects:{*getSubjectUseInfos({payload:I},{call:O,put:L}){const ve=yield O(Gi.nq,I);yield L({type:"save",payload:{SubjectUseInfos:ve}})},*getRankList({payload:I},{call:O,put:L}){const ve=yield O(Gi.Fg,I);yield L({type:"save",payload:{RankList:qi(Za({},ve),{learn_list:[{rank:"\u6392\u540D",name:"\u5B9E\u8DF5\u8BFE\u7A0B\u540D\u79F0",data:"\u5B66\u4E60\u4EBA\u6570"},...(ve==null?void 0:ve.learn_list)||[]]})}})},*getStatisticsBody({payload:I},{call:O,put:L}){const ve=yield O(Gi.Gz,I);yield L({type:"save",payload:{SBody:ve}})},*getOnlineCount({payload:I},{call:O,put:L}){const ve=yield O(Gi.hS,I);yield L({type:"save",payload:{OnlineCount:ve==null?void 0:ve.data}})},*getStatisticsHeader({payload:I},{call:O,put:L}){const ve=yield O(Gi.Hl,I);yield L({type:"save",payload:{SHeader:ve}})}},reducers:{save(I,O){return Za(Za({},I),O.payload)}},subscriptions:{setup({dispatch:I,history:O}){return O.listen(({pathname:L})=>{L==="/"&&I({type:"query"})})}}},pi=e(46722),ho=Object.defineProperty,so=Object.getOwnPropertySymbols,Qo=Object.prototype.hasOwnProperty,Rs=Object.prototype.propertyIsEnumerable,Ls=(I,O,L)=>O in I?ho(I,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):I[O]=L,$s=(I,O)=>{for(var L in O||(O={}))Qo.call(O,L)&&Ls(I,L,O[L]);if(so)for(var L of so(O))Rs.call(O,L)&&Ls(I,L,O[L]);return I},Ku={namespace:"problemset",state:{disciplinesData:void 0,courseOptions:[],basketData:void 0,editData:void 0,groupData:void 0,teachGroupData:void 0,actionTabs:{key:"",params:{}},itemBanks:{},groupfolderList:{}},effects:{*getGroup({payload:I},{call:O,put:L}){const ve=yield O(pi.ex,I);return yield L({type:"save",payload:{groupfolderList:ve}}),ve},*getDisciplines({payload:I},{call:O,put:L}){const ve=yield O(pi.d1,I);return yield L({type:"save",payload:{disciplinesData:$s({},ve)}}),ve},*getEditDisciplines({payload:I},{call:O,put:L}){const ve=yield O(pi.d1,I),Re=ve==null?void 0:ve.disciplines,rn=(0,ra.L)(Re);return yield L({type:"save",payload:{courseOptions:rn,disciplinesData:$s({},ve)}}),ve},*getBasketList({payload:I},{call:O,put:L}){const ve=yield O(pi.Qj,I);return yield L({type:"save",payload:{basketData:$s({},ve)}}),ve},*getTeachGroupData({payload:I},{call:O,put:L}){const ve=yield O(pi.Dm,I);return yield L({type:"save",payload:{teachGroupData:$s({},ve)}}),ve},*getEditData({payload:I},{call:O,put:L}){const ve=yield O(pi.FG,I);return yield L({type:"save",payload:{editData:$s({},ve)}}),ve},*getEditDataBprogram({payload:I},{call:O,put:L}){const ve=yield O(pi.Bo,I);return yield L({type:"save",payload:{editData:$s({},ve)}}),ve},*getGroupData({payload:I},{call:O,put:L}){const ve=yield O(pi.hI,I);return yield L({type:"save",payload:{groupData:$s({},ve)}}),ve},*getItemBanks({payload:I},{call:O,put:L}){const ve=yield O(pi.Of,I);return yield L({type:"save",payload:{itemBanks:$s({},ve)}}),ve},*setPrivate({payload:I},{call:O,put:L}){return yield O(pi.Pl,I)},*revokePublish({payload:I},{call:O,put:L}){return yield O(pi.IJ,I)},*setPublic({payload:I},{call:O,put:L}){return yield O(pi.DF,I)},*handleDelete({payload:I},{call:O,put:L}){return yield O(pi.fn,I)},*startExperience({payload:I},{call:O,put:L}){return yield O(pi.Bd,I)},*cancel({payload:I},{call:O,put:L}){return yield O(pi.al,I)},*select({payload:I},{call:O,put:L}){return yield O(pi.Ys,I)},*examUnselectAll({payload:I},{call:O,put:L}){return yield O(pi.rV,I)},*basketDelete({payload:I},{call:O,put:L}){return yield O(pi.x5,I)},*unselectAll({payload:I},{call:O,put:L}){return yield O(pi.HF,I)},*addKnowledge({payload:I},{call:O,put:L}){return yield O(pi.U6,I)},*editProblemset({payload:I},{call:O,put:L}){return yield O(pi.Wk,I)},*addProblemset({payload:I},{call:O,put:L}){return yield O(pi.Mr,I)},*setActionTabs({payload:I},{call:O,put:L}){yield L({type:"save",payload:{actionTabs:$s({},I)}})}},reducers:{save(I,O){return $s($s({},I),O.payload)}},subscriptions:{setup({dispatch:I,history:O}){return O.listen(({pathname:L})=>{L==="/"&&I({type:"query"})})}}},Tu=Object.defineProperty,qo=Object.getOwnPropertySymbols,Zs=Object.prototype.hasOwnProperty,Fu=Object.prototype.propertyIsEnumerable,gu=(I,O,L)=>O in I?Tu(I,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):I[O]=L,bo=(I,O)=>{for(var L in O||(O={}))Zs.call(O,L)&&gu(I,L,O[L]);if(qo)for(var L of qo(O))Fu.call(O,L)&&gu(I,L,O[L]);return I},El={namespace:"problemsetPreview",state:{disciplinesData:void 0,courseOptions:[],paperData:void 0,actionTabs:{key:"",params:{}}},effects:{*getPaperData({payload:I},{call:O,put:L}){const ve=yield O(pi.iT,I),Re=(0,ra.r)(ve);return yield L({type:"save",payload:{paperData:Re}}),ve},*getEditDisciplines({payload:I},{call:O,put:L}){const ve=yield O(pi.d1,I),Re=ve==null?void 0:ve.disciplines,rn=(0,ra.L)(Re);return yield L({type:"save",payload:{courseOptions:rn,disciplinesData:bo({},ve)}}),ve},*setScore({payload:I},{call:O,put:L}){return yield O(pi.ts,I)},*handleDelete({payload:I},{call:O,put:L}){return yield O(pi.Cn,I)},*batchSetScore({payload:I},{call:O,put:L}){return yield O(pi.YP,I)},*batchDelete({payload:I},{call:O,put:L}){return yield O(pi.Hm,I)},*adjustPosition({payload:I},{call:O,put:L}){return yield O(pi.qN,I)},*newPreviewProblemset({payload:I},{call:O,put:L}){return yield O(pi.et,I)},*setActionTabs({payload:I},{call:O,put:L}){yield L({type:"save",payload:{actionTabs:bo({},I)}})}},reducers:{save(I,O){return bo(bo({},I),O.payload)}},subscriptions:{setup({dispatch:I,history:O}){return O.listen(({pathname:L})=>{L==="/"&&I({type:"query"})})}}},jo=e(506),wl=Object.defineProperty,Ms=Object.getOwnPropertySymbols,Uo=Object.prototype.hasOwnProperty,Bu=Object.prototype.propertyIsEnumerable,Ul=(I,O,L)=>O in I?wl(I,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):I[O]=L,yu=(I,O)=>{for(var L in O||(O={}))Uo.call(O,L)&&Ul(I,L,O[L]);if(Ms)for(var L of Ms(O))Bu.call(O,L)&&Ul(I,L,O[L]);return I},zl={namespace:"restful",state:{restful:void 0,restfulDetail:{},actionTabs:{key:"",params:{}}},effects:{*getRestful({payload:I},{call:O,put:L}){const ve=yield O(jo.Go,I);return yield L({type:"save",payload:{restful:yu({},ve)}}),ve},*getRestfulDetail({payload:I},{call:O,put:L}){const ve=yield O(jo.H5,I);return yield L({type:"save",payload:{restfulDetail:yu({},(ve==null?void 0:ve.data)||{})}}),(ve==null?void 0:ve.data)||{}},*setActionTabs({payload:I},{call:O,put:L}){yield L({type:"save",payload:{actionTabs:yu({},I)}})}},reducers:{save(I,O){return yu(yu({},I),O.payload)}},subscriptions:{setup({dispatch:I,history:O}){return O.listen(({pathname:L})=>{L==="/"&&I({type:"query"})})}}},ri=e(75736);const sc=(I={})=>{var O,L,ve,Re,rn,jn;return[{name:"\u5185\u5BB9\u5BA1\u6838\u60C5\u51B5",id:"Content",status:(O=I==null?void 0:I.content_info)==null?void 0:O.status,username:(L=I==null?void 0:I.content_info)==null?void 0:L.username,time:(ve=I==null?void 0:I.content_info)==null?void 0:ve.time},{name:"\u6027\u80FD\u5BA1\u6838\u60C5\u51B5",id:"Performance",status:(Re=I==null?void 0:I.perference_info)==null?void 0:Re.status,username:(rn=I==null?void 0:I.perference_info)==null?void 0:rn.username,time:(jn=I==null?void 0:I.perference_info)==null?void 0:jn.time}]};var oo=Object.defineProperty,Zl=Object.defineProperties,Jo=Object.getOwnPropertyDescriptors,nl=Object.getOwnPropertySymbols,eo=Object.prototype.hasOwnProperty,Uc=Object.prototype.propertyIsEnumerable,Ec=(I,O,L)=>O in I?oo(I,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):I[O]=L,xo=(I,O)=>{for(var L in O||(O={}))eo.call(O,L)&&Ec(I,L,O[L]);if(nl)for(var L of nl(O))Uc.call(O,L)&&Ec(I,L,O[L]);return I},rf=(I,O)=>Zl(I,Jo(O)),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:I},{call:O,put:L}){const ve=yield O(ri.Po,I);return yield L({type:"save",payload:{detail:xo({},ve)}}),ve},*getMirrorApplies({payload:I},{call:O,put:L}){const ve=yield O(ri.tX,I);return yield L({type:"save",payload:{mirrorApplies:xo({},(ve==null?void 0:ve.data)||{})}}),ve},*getRightData({payload:I},{call:O,put:L}){const ve=yield O(ri.AQ,I);yield L({type:"save",payload:{rightData:xo({},ve)}})},*getChallengesData({payload:I},{call:O,put:L}){const ve=yield O(ri.n5,I);yield L({type:"save",payload:{challenges:xo({},ve)}})},*saveCopyForExercise({payload:I},{call:O,put:L}){return yield O(ri.FB,I)},*execJupyter({payload:I},{call:O,put:L}){return yield O(ri.BK,I)},*execShixun({payload:I},{call:O,put:L}){const ve=yield O(ri.Ir,I);return(ve==null?void 0:ve.status)===-3&&(0,Oa.eF)(),ve},*openChallenge({payload:I},{call:O,put:L}){return yield O(ri.dK,I)},*challengeMoveUp({payload:I},{call:O,put:L}){return yield O(ri.zD,I)},*challengeMoveDown({payload:I},{call:O,put:L}){return yield O(ri.hn,I)},*cancelCollect({payload:I},{call:O,put:L}){return yield O(ri.rs,I)},*collect({payload:I},{call:O,put:L}){return yield O(ri.KM,I)},*searchUserCourses({payload:I},{call:O,put:L}){return yield O(ri._7,I)},*sendToCourse({payload:I},{call:O,put:L}){return yield O(ri.Q,I)},*cancelRelease({payload:I},{call:O,put:L}){return yield O(ri.Ne,I)},*cancelPublic({payload:I},{call:O,put:L}){return yield O(ri.Er,I)},*applyPublic({payload:I},{call:O,put:L}){return yield O(ri.WO,I)},*release({payload:I},{call:O,put:L}){return yield O(ri.Ar,I)},*updateAuditSituation({payload:I},{call:O,put:L}){return yield O(ri.LP,I)},*getCollaboratorsData({payload:I},{call:O,put:L}){return yield O(ri.j8,I)},*addCollaborator({payload:I},{call:O,put:L}){return yield O(ri.OV,I)},*addTeachGroupMember({payload:I},{call:O,put:L}){return yield O(ri.l3,I)},*getChangeManager({payload:I},{call:O,put:L}){return yield O(ri.P2,I)},*changeManager({payload:I},{call:O,put:L}){return yield O(ri.X$,I)},*deleteCollaborators({payload:I},{call:O,put:L}){return yield O(ri.xk,I)},*getRankingList({payload:I},{call:O,put:L}){return yield O(ri.E4,I)},*getMirrorScript({payload:I},{call:O,put:L}){return yield O(ri.Z2,I)},*getScriptContent({payload:I},{call:O,put:L}){return yield O(ri.Bj,I)},*getCustomScript({payload:I},{call:O,put:L}){return yield O(ri.Wi,I)},*updateSettingBasicInfo({payload:I},{call:O,put:L}){return yield O(ri.ZO,I)},*getShixunQuote({payload:I},{call:O,put:L}){return yield O(ri.Gr,I)},*deleteShixun({payload:I},{call:O,put:L}){return yield O(ri.Ps,I)},*permanentClose({payload:I},{call:O,put:L}){return yield O(ri.U9,I)},*getDepartments({payload:I},{call:O,put:L}){return yield O(ri.Ql,I)},*updatePermissionSetting({payload:I},{call:O,put:L}){return yield O(ri.aH,I)},*updateLearnSetting({payload:I},{call:O,put:L}){return yield O(ri.yE,I)},*updateSetting({payload:I},{call:O,put:L}){return yield O(ri.m7,I)},*getSetData({payload:I},{call:O,put:L}){return yield O(ri.U0,I)},*deleteDataSet({payload:I},{call:O,put:L}){return yield O(ri.uo,I)},*deleteGitFile({payload:I},{call:O,put:L}){return yield O(ri.sr,I)},*deleteGitFiles({payload:I},{call:O,put:L}){return yield O(ri.p0,I)},*moveGitFile({payload:I},{call:O,put:L}){return yield O(ri.IT,I)},*moveGitFiles({payload:I},{call:O,put:L}){return yield O(ri.t2,I)},*getRepository({payload:I},{call:O,put:L}){const ve=yield O(ri.Ag,I);return yield L({type:"save",payload:{repository:xo({},ve)}}),xo({},ve)},*getRepositorys({payload:I},{call:O,put:L}){const ve=yield O(ri.Wl,I);return yield L({type:"save",payload:{repository:xo({},ve)}}),xo({},ve)},*getRepositorys({payload:I},{call:O,put:L}){const ve=yield O(ri.Wl,I);return yield L({type:"save",payload:{repository:xo({},ve)}}),xo({},ve)},*getSecretRepository({payload:I},{call:O,put:L}){const ve=yield O(ri.w,I);return yield L({type:"save",payload:{secretRepository:xo({},ve)}}),ve},*addRepositoryFile({payload:I},{call:O,put:L}){return yield O(ri.v3,I)},*addRepositoryFiles({payload:I},{call:O,put:L}){return yield O(ri.fL,I)},*getRepositoryCommit({payload:I},{call:O,put:L}){return yield O(ri.Je,I)},*getFileContent({payload:I},{call:O,put:L}){const ve=yield O(ri.LK,I);return yield L({type:"save",payload:{fileContent:rf(xo({},ve),{params:I})}}),ve},*getFileContents({payload:I},{call:O,put:L}){const ve=yield O(ri.nu,I);return yield L({type:"save",payload:{fileContent:rf(xo({},ve),{params:I})}}),ve},*updateRepositoryFile({payload:I},{call:O,put:L}){return yield O(ri.kF,I)},*updateRepositoryFiles({payload:I},{call:O,put:L}){return yield O(ri.jq,I)},*uploadGitFolder({payload:I},{call:O,put:L}){return yield O(ri.Op,I)},*updateCollaboratorEditable({payload:I},{call:O,put:L}){return yield O(ri.Dz,I)},*getSettingsData({payload:I},{call:O,put:L}){const ve=yield O(ri.DC,I);yield L({type:"save",payload:{setting:xo({},ve)}})},*getChallengesNew({payload:I},{call:O,put:L}){const ve=yield O(ri.km,I);yield L({type:"save",payload:{challengesNew:xo({},ve)}})},*getChallengesEdit({payload:I},{call:O,put:L}){const ve=yield O(ri.q0,I);return yield L({type:"save",payload:{challengesEdit:xo({},ve)}}),ve},*getAuditSituationData({payload:I},{call:O,put:L}){const ve=yield O(ri.GI,I),Re=sc(ve);yield L({type:"save",payload:{auditSituationData:Re}})},*getEditChallengesQuestion({payload:I},{call:O,put:L}){const ve=yield O(ri.UQ,I);return yield L({type:"save",payload:{editChallengesQuestion:ve}}),ve},*getInfoWithJupyterLab({payload:I},{call:O,put:L}){const ve=yield O(ri.mI,I);return yield L({type:"save",payload:{infoWithJupyterLab:ve}}),ve},*setActionTabs({payload:I},{call:O,put:L}){yield L({type:"save",payload:{actionTabs:xo({},I)}})}},reducers:{save(I,O){return console.log("reducers:",I,O),xo(xo({},I),O.payload)}},subscriptions:{setup({dispatch:I,history:O}){return O.listen(({pathname:L})=>{L==="/"&&I({type:"query"})})}}},bu=Object.defineProperty,wc=Object.getOwnPropertySymbols,xu=Object.prototype.hasOwnProperty,pu=Object.prototype.propertyIsEnumerable,Sl=(I,O,L)=>O in I?bu(I,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):I[O]=L,Hs=(I,O)=>{for(var L in O||(O={}))xu.call(O,L)&&Sl(I,L,O[L]);if(wc)for(var L of wc(O))pu.call(O,L)&&Sl(I,L,O[L]);return I},Lo={namespace:"shixunsList",state:{name:"",loading:!0,listParams:{sort:"desc",order_by:"new",page:1,limit:16,keyword:"",status:0,diff:0,hideme:!1}},effects:{*getShixuns({payload:I},{call:O,put:L}){const ve=yield O(ri.he,I),Re=Hs({},I);return yield L({type:"save",payload:Hs({listParams:Re},ve)}),ve},*getMenus({payload:I},{call:O,put:L}){var ve;const Re=yield O(ri.I_,I);(ve=Re==null?void 0:Re.disciplines)==null||ve.map(rn=>(rn.sub_repertoires=rn.sub_disciplines,rn)),yield L({type:"save",payload:{menus:[...(Re==null?void 0:Re.disciplines)||[]]}})},*clearListParams({payload:I},{call:O,put:L}){yield L({type:"save",payload:{listParams:{sort:"desc",order_by:"new",page:1,limit:16,keyword:"",status:0,diff:0,hideme:!1}}})}},reducers:{save(I,O){return Hs(Hs({},I),O.payload)}},subscriptions:{setup({dispatch:I,history:O}){return O.listen(({pathname:L})=>{L==="/"&&I({type:"query"})})}}},Hl=Object.defineProperty,Al=Object.getOwnPropertySymbols,su=Object.prototype.hasOwnProperty,Sc=Object.prototype.propertyIsEnumerable,Ac=(I,O,L)=>O in I?Hl(I,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):I[O]=L,ou=(I,O)=>{for(var L in O||(O={}))su.call(O,L)&&Ac(I,L,O[L]);if(Al)for(var L of Al(O))Sc.call(O,L)&&Ac(I,L,O[L]);return I},Eu={namespace:"newShixuns",state:{newData:{},actionTabs:{key:"",params:{}},environmentData:{}},effects:{*getNewShixunsData({payload:I},{call:O,put:L}){const ve=yield O(ri.b8,I);return yield L({type:"save",payload:{newData:ou({},ve)}}),ve},*deleteAttachment({payload:I},{call:O,put:L}){return yield O(ri.OW,I)},*applyShixunMirror({payload:I},{call:O,put:L}){return yield O(ri.EH,I)},*submitShixuns({payload:I},{call:O,put:L}){return yield O(ri.eX,I)},*getShixunsJupyterLab({payload:I},{call:O,put:L}){const ve=yield O(ri.Gu,I);return yield L({type:"save",payload:{newData:ou({},ve)}}),ve},*setActionTabs({payload:I},{call:O,put:L}){yield L({type:"save",payload:{actionTabs:ou({},I)}})},*getEnvironmentData({payload:I},{call:O,put:L}){const ve=yield O(ri.K,I);return console.log(ve,"response"),yield L({type:"save",payload:{environmentData:ou({},ve.data)}}),ve}},reducers:{save(I,O){return ou(ou({},I),O.payload)}},subscriptions:{setup({dispatch:I,history:O}){}}},Wl=Object.defineProperty,il=Object.getOwnPropertySymbols,Ca=Object.prototype.hasOwnProperty,af=Object.prototype.propertyIsEnumerable,Zc=(I,O,L)=>O in I?Wl(I,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):I[O]=L,Nu=(I,O)=>{for(var L in O||(O={}))Ca.call(O,L)&&Zc(I,L,O[L]);if(il)for(var L of il(O))af.call(O,L)&&Zc(I,L,O[L]);return I},sf={namespace:"shixunsOverview",state:{},effects:{*getShixunUseInfos({payload:I},{call:O,put:L}){const ve=yield O(ri.e,I);yield L({type:"save",payload:{ShixunUseInfos:ve}})},*getRankList({payload:I},{call:O,put:L}){const ve=yield O(ri.Fg,I);yield L({type:"save",payload:{RankList:{user_list:[{rank:"\u6392\u540D",name:"\u59D3\u540D",role:"\u89D2\u8272",student_id:"\u5B66\u53F7/\u5DE5\u53F7",num:"\u901A\u8FC7\u5173\u5361\u6570"},...(ve==null?void 0:ve.user_list)||[]],learn_list:[{rank:"\u6392\u540D",name:"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0",num:"\u5B66\u4E60\u4EBA\u6570"},...(ve==null?void 0:ve.learn_list)||[]],clearance_list:[{rank:"\u6392\u540D",name:"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0",num:"\u901A\u5173\u6570"},...(ve==null?void 0:ve.clearance_list)||[]],quote_list:[{rank:"\u6392\u540D",name:"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0",num:"\u5F15\u7528\u6B21\u6570"},...(ve==null?void 0:ve.quote_list)||[]]}}})},*getStatisticsBody({payload:I},{call:O,put:L}){const ve=yield O(ri.Gz,I);yield L({type:"save",payload:{SBody:ve}})},*getOnlineCount({payload:I},{call:O,put:L}){const ve=yield O(ri.hS,I);yield L({type:"save",payload:{OnlineCount:ve==null?void 0:ve.data}})},*getStatisticsHeader({payload:I},{call:O,put:L}){const ve=yield O(ri.Hl,I);yield L({type:"save",payload:{SHeader:ve}})}},reducers:{save(I,O){return Nu(Nu({},I),O.payload)}},subscriptions:{setup({dispatch:I,history:O}){return O.listen(({pathname:L})=>{L==="/"&&I({type:"query"})})}}},oc=(I,O,L)=>new Promise((ve,Re)=>{var rn=Pi=>{try{ln(L.next(Pi))}catch(Ha){Re(Ha)}},jn=Pi=>{try{ln(L.throw(Pi))}catch(Ha){Re(Ha)}},ln=Pi=>Pi.done?ve(Pi.value):Promise.resolve(Pi.value).then(rn,jn);ln((L=L.apply(I,O)).next())});function uu(I){return oc(this,null,function*(){return(0,Ja.ZP)("/api/shixuns/new.json",{method:"Get",params:I})})}function Tc(I){return oc(this,null,function*(){return(0,Ja.ZP)(`/api/shixuns/${I.id}/required_status.json`,{method:"Get",params:{}})})}var Tl=Object.defineProperty,Gl=Object.defineProperties,uc=Object.getOwnPropertyDescriptors,Vl=Object.getOwnPropertySymbols,eu=Object.prototype.hasOwnProperty,$u=Object.prototype.propertyIsEnumerable,lc=(I,O,L)=>O in I?Tl(I,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):I[O]=L,ju=(I,O)=>{for(var L in O||(O={}))eu.call(O,L)&&lc(I,L,O[L]);if(Vl)for(var L of Vl(O))$u.call(O,L)&&lc(I,L,O[L]);return I},Pc=(I,O)=>Gl(I,uc(O)),Kl={namespace:"practiceSetting",state:{data:{},is_published:!0,updateIndex:1,id:"",questionName:"",base_info_warning:!1,challenges_warning:!1,repository_warning:!1,mirror_warning:!1,service_warning:!1,selectQuestionParams:{},newQuestion:null,user_name:"",user_image_url:"",title:"",windows_vnc:!0,isExistComplete:!1,sideBar:{tabsActive:"",selectPath:"",confirmLeave:!1}},effects:{*setParams({payload:I},{call:O,put:L}){yield L({type:"save",payload:ju({},I)})},*getTestData({payload:I},{call:O,put:L}){const ve=yield O(uu,I);yield L({type:"save",payload:{data:ve}})},*setUpdateIndex({payload:I},{call:O,put:L}){yield L({type:"save",payload:{updateIndex:Math.random()}})},*getCommonData({payload:I},{call:O,put:L}){const ve=yield O(Tc,I);yield L({type:"save",payload:ju({},ve.data)})},*setSideBarTabs({payload:I},{call:O,put:L}){yield L({type:"sideBar",payload:ju({},I)})}},reducers:{save(I,O){return ju(ju({},I),O.payload)},sideBar(I,O){return Pc(ju({},I),{sideBar:ju(ju({},I.sideBar),O.payload)})}},subscriptions:{setup({dispatch:I,history:O}){}}},Ws=e(86245),Wc=Object.defineProperty,Pl=Object.getOwnPropertySymbols,al=Object.prototype.hasOwnProperty,Pu=Object.prototype.propertyIsEnumerable,to=(I,O,L)=>O in I?Wc(I,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):I[O]=L,sl=(I,O)=>{for(var L in O||(O={}))al.call(O,L)&&to(I,L,O[L]);if(Pl)for(var L of Pl(O))Pu.call(O,L)&&to(I,L,O[L]);return I},Ic={namespace:"userDetail",state:{systemUpdate:void 0,homepageInfo:void 0,homeworkBanksDetail:{},actionTabs:{key:"",params:{}}},effects:{*getHomeworkBanksDetail({payload:I},{call:O,put:L}){const ve=yield O(Ws.JJ,I);return yield L({type:"save",payload:{homeworkBanksDetail:sl({},ve)}}),ve},*getSystemUpdate({payload:I},{call:O,put:L}){const ve=yield O(Ws.n0,I);return yield L({type:"save",payload:{systemUpdate:sl({},ve)}}),ve},*getHomepageInfo({payload:I},{call:O,put:L}){const ve=yield O(Ws.DA,I);return yield L({type:"save",payload:{homepageInfo:sl({},ve)}}),ve},*signed({payload:I},{call:O,put:L}){return yield O(Ws.qN,I)},*getCourses({payload:I},{call:O,put:L}){return yield O(Ws.Ho,I)},*getShixuns({payload:I},{call:O,put:L}){return yield O(Ws.rV,I)},*getPaths({payload:I},{call:O,put:L}){return yield O(Ws.w3,I)},*getProjects({payload:I},{call:O,put:L}){return yield O(Ws.mW,I)},*getVideos({payload:I},{call:O,put:L}){return yield O(Ws.WY,I)},*getReviewVideos({payload:I},{call:O,put:L}){return yield O(Ws.Qx,I)},*deleteVideo({payload:I},{call:O,put:L}){return yield O(Ws.FM,I)},*getQuestionBanks({payload:I},{call:O,put:L}){return yield O(Ws.ai,I)},*topicsSetPublic({payload:I},{call:O,put:L}){return yield O(Ws.Cx,I)},*topicsDelete({payload:I},{call:O,put:L}){return yield O(Ws.WS,I)},*topicGetCourseList({payload:I},{call:O,put:L}){return yield O(Ws.gI,I)},*topicSendToClass({payload:I},{call:O,put:L}){return I.object_type==="videos"?yield O(Ws.Fn,I):yield O(Ws.Ef,I)},*logWatchHistory({payload:I},{call:O,put:L}){const ve=yield O(Ws.lO,I);return ve==null?void 0:ve.log_id},*setActionTabs({payload:I},{call:O,put:L}){yield L({type:"save",payload:{actionTabs:sl({},I)}})}},reducers:{save(I,O){return sl(sl({},I),O.payload)}},subscriptions:{setup({dispatch:I,history:O}){return O.listen(({pathname:L})=>{L==="/"&&I({type:"query"})})}}},Gc=Object.defineProperty,Yu=Object.getOwnPropertySymbols,Mo=Object.prototype.hasOwnProperty,Il=Object.prototype.propertyIsEnumerable,ze=(I,O,L)=>O in I?Gc(I,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):I[O]=L,wu=(I,O)=>{for(var L in O||(O={}))Mo.call(O,L)&&ze(I,L,O[L]);if(Yu)for(var L of Yu(O))Il.call(O,L)&&ze(I,L,O[L]);return I},Wo=(I,O)=>{var L={};for(var ve in I)Mo.call(I,ve)&&O.indexOf(ve)<0&&(L[ve]=I[ve]);if(I!=null&&Yu)for(var ve of Yu(I))O.indexOf(ve)<0&&Il.call(I,ve)&&(L[ve]=I[ve]);return L},Ds={namespace:"user",state:{name:"\u7528\u6237\u767B\u5F55\u6A21\u5757",showPopLogin:!1,showClosable:!1,bindAccountModalVisible:!1,userInfoForBindAccountModal:{},loginInfo:{login:"",password:""},userInfo:{},navigationInfo:{},loading:!0,actionTabs:{key:"",params:{},phone:""}},effects:{*login({payload:I},{call:O,put:L}){const ve=I,{to:Re}=ve,rn=Wo(ve,["to"]);if(!(yield O(Ws.Es,rn)).status)try{Re?f.history.replace(Re):location.reload()}catch(ln){}},*showPopLogin({payload:I},{put:O}){yield O({type:"save",payload:{showPopLogin:I.showPopLogin,showClosable:I.showClosable}})},*setBindAccountModal({payload:I},{put:O}){yield O({type:"save",payload:{bindAccountModalVisible:I.bindAccountModalVisible,userInfoForBindAccountModal:I.userInfoForBindAccountModal,loginInfo:I.loginInfo}})},*getUserInfo({payload:I},{call:O,put:L}){const ve=yield O(Ws.bG,wu({},I));return localStorage.userInfo=JSON.stringify(ve),yield L({type:"save",payload:{userInfo:wu({},ve)}}),ve},*getNavigationInfo({payload:I},{call:O,put:L}){const ve=yield O(Ws.x4,wu({},I));yield L({type:"save",payload:{navigationInfo:wu({},ve)}})},*setActionTabs({payload:I},{call:O,put:L}){yield L({type:"save",payload:{actionTabs:wu({},I)}})}},reducers:{save(I,O){return wu(wu({},I),O.payload)}}},uo=e(49379),Uu=Object.defineProperty,zo=Object.defineProperties,ol=Object.getOwnPropertyDescriptors,zu=Object.getOwnPropertySymbols,Su=Object.prototype.hasOwnProperty,Xu=Object.prototype.propertyIsEnumerable,ul=(I,O,L)=>O in I?Uu(I,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):I[O]=L,lu=(I,O)=>{for(var L in O||(O={}))Su.call(O,L)&&ul(I,L,O[L]);if(zu)for(var L of zu(O))Xu.call(O,L)&&ul(I,L,O[L]);return I},Qu=(I,O)=>zo(I,ol(O));const tu=()=>{var I,O,L,ve,Re,rn,jn;let ln=window.location.href.split("/");if(!ln.includes("video"))return;let Pi=(I=ln[ln.length-1])==null?void 0:I.split("?")[0];Pi=Number(Pi);const Ha=(L=(O=ln[ln.length-1])==null?void 0:O.split("?")[1])==null?void 0:L.split("=")[1];return((Re=(ve=ln[ln.length-1])==null?void 0:ve.split("?")[1])==null?void 0:Re.split("=")[0])==="subject_id"?{videoId:Pi,subject_id:Ha}:((jn=(rn=ln[ln.length-1])==null?void 0:rn.split("?")[1])==null?void 0:jn.split("=")[0])==="new_video_id"?{videoId:Pi,new_video_id:Ha}:{videoId:Pi,course_id:Ha}};var Vc={namespace:"videoDetail",state:{detail:{},actionTabs:{key:"",params:{}},videoTabs:{key:"",params:{}},stages:[],cust_seq:0,queryParams:tu(),videoList:[],attachmentList:[],selectParams:{checkBoxValue:!1,radioValue:1},active:{}},effects:{*getVideoDetail({payload:I,callback:O},{call:L,put:ve}){const Re=yield L(Bn.O2,I);return O?O(Re):yield ve({type:"save",payload:{detail:lu({},Re)}}),Re},*setVideoValue({payload:I},{call:O,put:L}){yield L({type:"save",payload:{detail:lu({},I)}})},*setActionTabs({payload:I},{call:O,put:L}){yield L({type:"save",payload:{actionTabs:lu({},I)}})},*setVideoTabs({payload:I},{call:O,put:L}){yield L({type:"save",payload:{videoTabs:lu({},I)}})},*setSelectValue({payload:I},{call:O,put:L}){yield L({type:"save",payload:{selectParams:lu({},I)}})},*getStageData({payload:I},{call:O,put:L,select:ve}){const Re=yield O(Bn.yN,I),rn=yield O(Gi.lk,{id:I.subject_id}),{queryParams:jn}=yield ve(ts=>ts.videoDetail),{stages:ln=[]}=Re,Pi=[];let Ha=[],Ta={};const Gs=ts=>{ts.forEach(_o=>{String(_o.id)===String(jn.videoId)&&(Ta=_o),_o.item_type==="VideoItem"?Pi.push(_o):_o.item_type==="Attachment"&&Ha.push(_o),_o.children&&_o.children.length&&Gs(_o.children)})};ln==null||ln.forEach(ts=>{Gs(ts.items)}),window.filterVideoSign=[...Pi],yield L({type:"save",payload:{stages:ln,active:Ta,cust_seq:rn.cust_seq,videoList:Pi,attachmentList:Ha}})},*getVideoData({payload:I},{call:O,put:L,select:ve}){const Re=yield O(Bn.fn,I),{categories:rn=[],coruse_videos:jn=[]}=Re;yield L({type:"save",payload:{stages:(rn==null?void 0:rn.length)>0?rn:[{coruse_videos:jn,name:"\u672A\u5206\u914D\u76EE\u5F55"}]}})},*getCourseStageData({payload:I},{call:O,put:L,select:ve}){const Re=yield O(uo.R7,I),{queryParams:rn}=yield ve(Gs=>Gs.videoDetail),{stages:jn}=Re;let ln=[],Pi=[],Ha={};const Ta=Gs=>{Gs.forEach(ts=>{String(ts.id)===String(rn.videoId)&&(Ha=ts),ts.item_type==="VideoItem"?ln.push(ts):ts.item_type==="Attachment"&&Pi.push(ts),ts.children&&ts.children.length&&Ta(ts.children)})};jn==null||jn.forEach(Gs=>{Ta(Gs.items)}),window.filterVideoSign=[...ln],yield L({type:"save",payload:{active:Ha,stages:jn,cust_seq:!0,videoList:ln,attachmentList:Pi}})}},reducers:{save(I,O){return lu(lu({},I),O.payload)},handleListItemClick(I,O){const{videoList:L,attachmentList:ve}=I,Re=O.payload.videoId||O.payload.attachmentId,rn=[...L,...ve].find(jn=>`${jn.id}`==`${Re}`);return Qu(lu({},I),{active:rn,queryParams:lu(lu({},tu()),O.payload)})}},subscriptions:{setup({dispatch:I,history:O}){return O.listen(({pathname:L})=>{L==="/"&&I({type:"query"})})}}},po=e(466),_u=Object.defineProperty,Ol=Object.getOwnPropertySymbols,Yl=Object.prototype.hasOwnProperty,Xl=Object.prototype.propertyIsEnumerable,ll=(I,O,L)=>O in I?_u(I,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):I[O]=L,kl=(I,O)=>{for(var L in O||(O={}))Yl.call(O,L)&&ll(I,L,O[L]);if(Ol)for(var L of Ol(O))Xl.call(O,L)&&ll(I,L,O[L]);return I},cc={namespace:"virtualSpaces",state:{showMenu:!0,loading:!0,actionTabs:{key:"",params:{},module_id:""},virtualSpacesDetails:{},menus:[],LessonsList:{},LessonDetail:{},LessonResList:{},DiscussionList:{},DiscussionDetail:{},Workplace:{BaseData:{}}},effects:{*getBaseStatisticData({payload:I},{call:O,put:L}){const ve=yield O(po.y2,I);return yield L({type:"save",payload:{Workplace:{BaseData:ve.data}}}),ve},*putEditDiscussion({payload:I},{call:O,put:L}){return yield O(po.CH,I)},*getDiscussionDetail({payload:I},{call:O,put:L}){const ve=yield O(po.XQ,I);return yield L({type:"save",payload:{DiscussionDetail:ve}}),ve},*postDiscussionList({payload:I},{call:O,put:L}){return yield O(po.Ll,I)},*getDiscussionList({payload:I},{call:O,put:L}){const ve=yield O(po.EA,I);return yield L({type:"save",payload:{DiscussionList:ve}}),ve},*postAddLessonRes({payload:I},{call:O,put:L}){return yield O(po.cZ,I)},*getLessonResourcesList({payload:I},{call:O,put:L}){const ve=yield O(po.b,I);return yield L({type:"save",payload:{LessonResList:ve}}),ve},*putGoodLessonsDetail({payload:I},{call:O,put:L}){return yield O(po.To,I)},*getGoodLessonsDetail({payload:I},{call:O,put:L}){const ve=yield O(po.FU,I);return yield L({type:"save",payload:{LessonDetail:ve}}),ve},*postGoodLessonsList({payload:I},{call:O,put:L}){return yield O(po.Vf,I)},*getGoodLessonsList({payload:I},{call:O,put:L}){const ve=yield O(po.G_,I);return yield L({type:"save",payload:{LessonsList:ve}}),ve},*setActionTabs({payload:I},{call:O,put:L}){yield L({type:"save",payload:{actionTabs:kl({},I)}})},*setShowMenu({payload:I},{call:O,put:L}){yield L({type:"save",payload:{showMenu:I}})},*getVirtualSpacesDetails({payload:I},{call:O,put:L}){const ve=yield O(po.sT,I);yield L({type:"save",payload:{virtualSpacesDetails:kl({},ve)}})},*setVirtualSpacesLoading({payload:I},{call:O,put:L}){yield L({type:"save",payload:{loading:I}})},*getVirtualSpacesMenus({payload:I},{call:O,put:L}){const ve=yield O(po.Sl,I);return yield L({type:"save",payload:{menus:ve}}),ve}},reducers:{save(I,O){return kl(kl({},I),O.payload)}},subscriptions:{setup({dispatch:I,history:O}){return O.listen(({pathname:L})=>{L==="/"&&I({type:"query"})})}}};const Iu={model_1:{namespace:"account.index",model:b},model_2:{namespace:"classrooms.announcement",model:K},model_3:{namespace:"classrooms.attachment",model:ue},model_4:{namespace:"classrooms.boards",model:ke},model_5:{namespace:"classrooms.exercise",model:Ge},model_6:{namespace:"classrooms.graduation",model:Ce},model_7:{namespace:"classrooms.homeworks",model:Kt},model_8:{namespace:"classrooms.index",model:Ie},model_9:{namespace:"classrooms.new",model:mt},model_10:{namespace:"classrooms.overview",model:Mr},model_11:{namespace:"classrooms.polls",model:$t},model_12:{namespace:"classrooms.teacher",model:dn},model_13:{namespace:"classrooms.video",model:Qi},model_14:{namespace:"competitions.index",model:_i},model_15:{namespace:"engineering.evaluateDetail",model:qe},model_16:{namespace:"engineering.evaluateList",model:vn.Z},model_17:{namespace:"engineering.index",model:mn},model_18:{namespace:"engineering.navigation",model:oa},model_19:{namespace:"engineering.normDetail",model:zi},model_20:{namespace:"engineering.normList",model:Ia},model_21:{namespace:"forums.detail",model:Oo},model_22:{namespace:"forums.index",model:Xs},model_23:{namespace:"globalSetting",model:du},model_24:{namespace:"graduations.index",model:hr},model_25:{namespace:"homePage",model:Or},model_26:{namespace:"innovation.index",model:fa},model_27:{namespace:"intraincourse.index",model:qn},model_28:{namespace:"loading",model:wi},model_29:{namespace:"messages.index",model:As},model_30:{namespace:"paperlibrary.index",model:yr},model_31:{namespace:"paperlibrary.newPaper",model:ia},model_32:{namespace:"paths.detail",model:vu},model_33:{namespace:"paths.index",model:Ct},model_34:{namespace:"paths.new",model:Hn},model_35:{namespace:"paths.overview",model:Is},model_36:{namespace:"problemset.index",model:Ku},model_37:{namespace:"problemset.preview",model:El},model_38:{namespace:"resetFul.index",model:zl},model_39:{namespace:"shixuns.detail",model:zc},model_40:{namespace:"shixuns.index",model:Lo},model_41:{namespace:"shixuns.new",model:Eu},model_42:{namespace:"shixuns.overview",model:sf},model_43:{namespace:"shixuns.practiceSetting",model:Kl},model_44:{namespace:"user.detail",model:Ic},model_45:{namespace:"user.index",model:Ds},model_46:{namespace:"video.detail",model:Vc},model_47:{namespace:"virtualSpaces.index",model:cc}};var Rl=Object.defineProperty,Oc=Object.getOwnPropertySymbols,kc=Object.prototype.hasOwnProperty,Fo=Object.prototype.propertyIsEnumerable,Ql=(I,O,L)=>O in I?Rl(I,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):I[O]=L,Ll=(I,O)=>{for(var L in O||(O={}))kc.call(O,L)&&Ql(I,L,O[L]);if(Oc)for(var L of Oc(O))Fo.call(O,L)&&Ql(I,L,O[L]);return I};let Rc;function ql(I){const{pluginManager:O}=(0,f.useAppData)(),L=(0,c.useRef)(),ve=O.applyPlugins({key:"dva",type:f.ApplyPluginsType.modify,initialValue:{}});if(!L.current){L.current=(0,r.Ue)(Ll({history:f.history},ve.config||{}),{initialReducer:{},setupMiddlewares(Re){return[...Re]},setupApp(Re){Re._history=f.history}}),Rc=L.current,L.current.use(l()()),(ve.plugins||[]).forEach(Re=>{L.current.use(Re)});for(const Re of Object.keys(Iu))L.current.model(Ll({namespace:Iu[Re].namespace},Iu[Re].model));L.current.start()}return c.createElement(r.zt,{store:L.current._store},I.children)}function Kc(){return Rc}},18956:function(d,v,e){"use strict";e.d(v,{PZ:function(){return Kn},eU:function(){return a},B:function(){return yi},Mg:function(){return ft},lw:function(){return pt},Kd:function(){return Ot},H8:function(){return _i}});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:Ee="intl",forwardRef:ot=!1,enforceContext:ar=!0}=qe||{},br=Dr=>React.createElement(h,null,Pr=>(ar&&invariantIntlContext(Pr),React.createElement(Ze,Object.assign({},Dr,{[Ee]:Pr},{ref:ot?Dr.forwardedRef:null}))));return br.displayName=`injectIntl(${f(Ze)})`,br.WrappedComponent=Ze,c(ot?React.forwardRef((Dr,Pr)=>React.createElement(br,Object.assign({},Dr,{forwardedRef:Pr}))):br,Ze)}var y;(function(Ze){Ze[Ze.literal=0]="literal",Ze[Ze.argument=1]="argument",Ze[Ze.number=2]="number",Ze[Ze.date=3]="date",Ze[Ze.time=4]="time",Ze[Ze.select=5]="select",Ze[Ze.plural=6]="plural",Ze[Ze.pound=7]="pound"})(y||(y={}));function _(Ze){return Ze.type===y.literal}function b(Ze){return Ze.type===y.argument}function A(Ze){return Ze.type===y.number}function k(Ze){return Ze.type===y.date}function R(Ze){return Ze.type===y.time}function C(Ze){return Ze.type===y.select}function D(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 W=function(){var Ze=function(qe,Ee){return Ze=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(ot,ar){ot.__proto__=ar}||function(ot,ar){for(var br in ar)ar.hasOwnProperty(br)&&(ot[br]=ar[br])},Ze(qe,Ee)};return function(qe,Ee){Ze(qe,Ee);function ot(){this.constructor=qe}qe.prototype=Ee===null?Object.create(Ee):(ot.prototype=Ee.prototype,new ot)}}(),se=function(){return se=Object.assign||function(Ze){for(var qe,Ee=1,ot=arguments.length;Ee<ot;Ee++){qe=arguments[Ee];for(var ar in qe)Object.prototype.hasOwnProperty.call(qe,ar)&&(Ze[ar]=qe[ar])}return Ze},se.apply(this,arguments)},ie=function(Ze){W(qe,Ze);function qe(Ee,ot,ar,br){var Dr=Ze.call(this)||this;return Dr.message=Ee,Dr.expected=ot,Dr.found=ar,Dr.location=br,Dr.name="SyntaxError",typeof Error.captureStackTrace=="function"&&Error.captureStackTrace(Dr,qe),Dr}return qe.buildMessage=function(Ee,ot){function ar(Er){return Er.charCodeAt(0).toString(16).toUpperCase()}function br(Er){return Er.replace(/\\/g,"\\\\").replace(/"/g,'\\"').replace(/\0/g,"\\0").replace(/\t/g,"\\t").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/[\x00-\x0F]/g,function(un){return"\\x0"+ar(un)}).replace(/[\x10-\x1F\x7F-\x9F]/g,function(un){return"\\x"+ar(un)})}function Dr(Er){return Er.replace(/\\/g,"\\\\").replace(/\]/g,"\\]").replace(/\^/g,"\\^").replace(/-/g,"\\-").replace(/\0/g,"\\0").replace(/\t/g,"\\t").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/[\x00-\x0F]/g,function(un){return"\\x0"+ar(un)}).replace(/[\x10-\x1F\x7F-\x9F]/g,function(un){return"\\x"+ar(un)})}function Pr(Er){switch(Er.type){case"literal":return'"'+br(Er.text)+'"';case"class":var un=Er.parts.map(function(Jr){return Array.isArray(Jr)?Dr(Jr[0])+"-"+Dr(Jr[1]):Dr(Jr)});return"["+(Er.inverted?"^":"")+un+"]";case"any":return"any character";case"end":return"end of input";case"other":return Er.description}}function Fr(Er){var un=Er.map(Pr),Jr,sn;if(un.sort(),un.length>0){for(Jr=1,sn=1;Jr<un.length;Jr++)un[Jr-1]!==un[Jr]&&(un[sn]=un[Jr],sn++);un.length=sn}switch(un.length){case 1:return un[0];case 2:return un[0]+" or "+un[1];default:return un.slice(0,-1).join(", ")+", or "+un[un.length-1]}}function mn(Er){return Er?'"'+br(Er)+'"':"end of input"}return"Expected "+Fr(Ee)+" but "+mn(ot)+" found."},qe}(Error);function le(Ze,qe){qe=qe!==void 0?qe:{};var Ee={},ot={start:Xe},ar=Xe,br=function(be){return be.join("")},Dr=function(be){return se({type:y.literal,value:be},ya())},Pr="#",Fr=Ti("#",!1),mn=function(){return se({type:y.pound},ya())},Er=Ea("argumentElement"),un="{",Jr=Ti("{",!1),sn="}",xn=Ti("}",!1),ha=function(be){return se({type:y.argument,value:be},ya())},Ci=Ea("numberSkeletonId"),li=/^['\/{}]/,_n=io(["'","/","{","}"],!1,!1),ai=Us(),Fi=Ea("numberSkeletonTokenOption"),oa="/",Cs=Ti("/",!1),ua=function(be){return be},ms=Ea("numberSkeletonToken"),Ts=function(be,Ae){return{stem:be,options:Ae}},Ra=function(be){return se({type:0,tokens:be},ya())},ws="::",Zn=Ti("::",!1),ns=function(be){return be},Ga=function(){return ra.push("numberArgStyle"),!0},Ps=function(be){return ra.pop(),be.replace(/\s*$/,"")},zi=",",vs=Ti(",",!1),Po="number",Pa=Ti("number",!1),ta=function(be,Ae,wr){return se({type:Ae==="number"?y.number:Ae==="date"?y.date:y.time,style:wr&&wr[2],value:be},ya())},Fa="'",Ks=Ti("'",!1),In=/^[^']/,La=io(["'"],!0,!1),as=/^[^a-zA-Z'{}]/,ss=io([["a","z"],["A","Z"],"'","{","}"],!0,!1),Li=/^[a-zA-Z]/,Da=io([["a","z"],["A","Z"]],!1,!1),Ia=function(be){return se({type:1,pattern:be},ya())},cs=function(){return ra.push("dateOrTimeArgStyle"),!0},Ys="date",Eo=Ti("date",!1),Io="time",Do=Ti("time",!1),Ba="plural",qa=Ti("plural",!1),lo="selectordinal",Oo=Ti("selectordinal",!1),wo="offset:",ko=Ti("offset:",!1),fi=function(be,Ae,wr,Xr){return se({type:y.plural,pluralType:Ae==="plural"?"cardinal":"ordinal",value:be,offset:wr?wr[2]:0,options:Xr.reduce(function(yr,Kr){var En=Kr.id,Xn=Kr.value,ki=Kr.location;return En in yr&&gs('Duplicate option "'+En+'" in plural element: "'+Bi()+'"',fa()),yr[En]={value:Xn,location:ki},yr},{})},ya())},si="select",Na=Ti("select",!1),Va=function(be,Ae){return se({type:y.select,value:be,options:Ae.reduce(function(wr,Xr){var yr=Xr.id,Kr=Xr.value,En=Xr.location;return yr in wr&&gs('Duplicate option "'+yr+'" in select element: "'+Bi()+'"',fa()),wr[yr]={value:Kr,location:En},wr},{})},ya())},$a="=",Xs=Ti("=",!1),So=function(be){return ra.push("select"),!0},Zo=function(be,Ae){return ra.pop(),se({id:be,value:Ae},ya())},fs=function(be){return ra.push("plural"),!0},No=function(be,Ae){return ra.pop(),se({id:be,value:Ae},ya())},Ho=Ea("whitespace"),iu=/^[\t-\r \x85\xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/,mo=io([[" ","\r"]," ","\x85","\xA0","\u1680",["\u2000","\u200A"],"\u2028","\u2029","\u202F","\u205F","\u3000"],!1,!1),Cu=Ea("syntax pattern"),vo=/^[!-\/:-@[-\^`{-~\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]/,Vs=io([["!","/"],[":","@"],["[","^"],"`",["{","~"],["\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),Ko=Ea("optional whitespace"),du=Ea("number"),co="-",go=Ti("-",!1),au=function(be,Ae){return Ae?be?-Ae:Ae:0},Ro=Ea("apostrophe"),$o=Ea("double apostrophes"),os="''",Ao=Ti("''",!1),hu=function(){return"'"},qt=function(be,Ae){return be+Ae.replace("''","'")},hr=function(be){return be!=="{"&&!(ys()&&be==="#")&&!(za()&&be==="}")},sr=`
|
|
|
`,pr=Ti(`
|
|
|
`,!1),Ar=function(be){return be==="{"||be==="}"||ys()&&be==="#"},fn=Ea("argNameOrNumber"),Rn=Ea("argNumber"),wn="0",Ln=Ti("0",!1),Jn=function(){return 0},Qn=/^[1-9]/,dr=io([["1","9"]],!1,!1),Lr=/^[0-9]/,Or=io([["0","9"]],!1,!1),gn=function(be){return parseInt(be.join(""),10)},yn=Ea("argName"),ht=0,Dn=0,Mn=[{line:1,column:1}],Ei=0,Zi=[],Jt=0,Yi;if(qe.startRule!==void 0){if(!(qe.startRule in ot))throw new Error(`Can't start parsing from rule "`+qe.startRule+'".');ar=ot[qe.startRule]}function Bi(){return Ze.substring(Dn,ht)}function fa(){return Qs(Dn,ht)}function Ja(be,Ae){throw Ae=Ae!==void 0?Ae:Qs(Dn,ht),zs([Ea(be)],Ze.substring(Dn,ht),Ae)}function gs(be,Ae){throw Ae=Ae!==void 0?Ae:Qs(Dn,ht),Ss(be,Ae)}function Ti(be,Ae){return{type:"literal",text:be,ignoreCase:Ae}}function io(be,Ae,wr){return{type:"class",parts:be,inverted:Ae,ignoreCase:wr}}function Us(){return{type:"any"}}function ds(){return{type:"end"}}function Ea(be){return{type:"other",description:be}}function us(be){var Ae=Mn[be],wr;if(Ae)return Ae;for(wr=be-1;!Mn[wr];)wr--;for(Ae=Mn[wr],Ae={line:Ae.line,column:Ae.column};wr<be;)Ze.charCodeAt(wr)===10?(Ae.line++,Ae.column=1):Ae.column++,wr++;return Mn[be]=Ae,Ae}function Qs(be,Ae){var wr=us(be),Xr=us(Ae);return{start:{offset:be,line:wr.line,column:wr.column},end:{offset:Ae,line:Xr.line,column:Xr.column}}}function kn(be){ht<Ei||(ht>Ei&&(Ei=ht,Zi=[]),Zi.push(be))}function Ss(be,Ae){return new ie(be,[],"",Ae)}function zs(be,Ae,wr){return new ie(ie.buildMessage(be,Ae),be,Ae,wr)}function Xe(){var be;return be=Qe(),be}function Qe(){var be,Ae;for(be=[],Ae=Ft();Ae!==Ee;)be.push(Ae),Ae=Ft();return be}function Ft(){var be;return be=gr(),be===Ee&&(be=jr(),be===Ee&&(be=xi(),be===Ee&&(be=hi(),be===Ee&&(be=la(),be===Ee&&(be=Rr()))))),be}function Gt(){var be,Ae,wr;if(be=ht,Ae=[],wr=Ka(),wr===Ee&&(wr=Js(),wr===Ee&&(wr=Ya())),wr!==Ee)for(;wr!==Ee;)Ae.push(wr),wr=Ka(),wr===Ee&&(wr=Js(),wr===Ee&&(wr=Ya()));else Ae=Ee;return Ae!==Ee&&(Dn=be,Ae=br(Ae)),be=Ae,be}function gr(){var be,Ae;return be=ht,Ae=Gt(),Ae!==Ee&&(Dn=be,Ae=Dr(Ae)),be=Ae,be}function Rr(){var be,Ae;return be=ht,Ze.charCodeAt(ht)===35?(Ae=Pr,ht++):(Ae=Ee,Jt===0&&kn(Fr)),Ae!==Ee&&(Dn=be,Ae=mn()),be=Ae,be}function jr(){var be,Ae,wr,Xr,yr,Kr;return Jt++,be=ht,Ze.charCodeAt(ht)===123?(Ae=un,ht++):(Ae=Ee,Jt===0&&kn(Jr)),Ae!==Ee?(wr=Oi(),wr!==Ee?(Xr=ja(),Xr!==Ee?(yr=Oi(),yr!==Ee?(Ze.charCodeAt(ht)===125?(Kr=sn,ht++):(Kr=Ee,Jt===0&&kn(xn)),Kr!==Ee?(Dn=be,Ae=ha(Xr),be=Ae):(ht=be,be=Ee)):(ht=be,be=Ee)):(ht=be,be=Ee)):(ht=be,be=Ee)):(ht=be,be=Ee),Jt--,be===Ee&&(Ae=Ee,Jt===0&&kn(Er)),be}function hn(){var be,Ae,wr,Xr,yr;if(Jt++,be=ht,Ae=[],wr=ht,Xr=ht,Jt++,yr=Oa(),yr===Ee&&(li.test(Ze.charAt(ht))?(yr=Ze.charAt(ht),ht++):(yr=Ee,Jt===0&&kn(_n))),Jt--,yr===Ee?Xr=void 0:(ht=Xr,Xr=Ee),Xr!==Ee?(Ze.length>ht?(yr=Ze.charAt(ht),ht++):(yr=Ee,Jt===0&&kn(ai)),yr!==Ee?(Xr=[Xr,yr],wr=Xr):(ht=wr,wr=Ee)):(ht=wr,wr=Ee),wr!==Ee)for(;wr!==Ee;)Ae.push(wr),wr=ht,Xr=ht,Jt++,yr=Oa(),yr===Ee&&(li.test(Ze.charAt(ht))?(yr=Ze.charAt(ht),ht++):(yr=Ee,Jt===0&&kn(_n))),Jt--,yr===Ee?Xr=void 0:(ht=Xr,Xr=Ee),Xr!==Ee?(Ze.length>ht?(yr=Ze.charAt(ht),ht++):(yr=Ee,Jt===0&&kn(ai)),yr!==Ee?(Xr=[Xr,yr],wr=Xr):(ht=wr,wr=Ee)):(ht=wr,wr=Ee);else Ae=Ee;return Ae!==Ee?be=Ze.substring(be,ht):be=Ae,Jt--,be===Ee&&(Ae=Ee,Jt===0&&kn(Ci)),be}function tn(){var be,Ae,wr;return Jt++,be=ht,Ze.charCodeAt(ht)===47?(Ae=oa,ht++):(Ae=Ee,Jt===0&&kn(Cs)),Ae!==Ee?(wr=hn(),wr!==Ee?(Dn=be,Ae=ua(wr),be=Ae):(ht=be,be=Ee)):(ht=be,be=Ee),Jt--,be===Ee&&(Ae=Ee,Jt===0&&kn(Fi)),be}function pn(){var be,Ae,wr,Xr,yr;if(Jt++,be=ht,Ae=Oi(),Ae!==Ee)if(wr=hn(),wr!==Ee){for(Xr=[],yr=tn();yr!==Ee;)Xr.push(yr),yr=tn();Xr!==Ee?(Dn=be,Ae=Ts(wr,Xr),be=Ae):(ht=be,be=Ee)}else ht=be,be=Ee;else ht=be,be=Ee;return Jt--,be===Ee&&(Ae=Ee,Jt===0&&kn(ms)),be}function Yn(){var be,Ae,wr;if(be=ht,Ae=[],wr=pn(),wr!==Ee)for(;wr!==Ee;)Ae.push(wr),wr=pn();else Ae=Ee;return Ae!==Ee&&(Dn=be,Ae=Ra(Ae)),be=Ae,be}function qn(){var be,Ae,wr;return be=ht,Ze.substr(ht,2)===ws?(Ae=ws,ht+=2):(Ae=Ee,Jt===0&&kn(Zn)),Ae!==Ee?(wr=Yn(),wr!==Ee?(Dn=be,Ae=ns(wr),be=Ae):(ht=be,be=Ee)):(ht=be,be=Ee),be===Ee&&(be=ht,Dn=ht,Ae=Ga(),Ae?Ae=void 0:Ae=Ee,Ae!==Ee?(wr=Gt(),wr!==Ee?(Dn=be,Ae=Ps(wr),be=Ae):(ht=be,be=Ee)):(ht=be,be=Ee)),be}function mi(){var be,Ae,wr,Xr,yr,Kr,En,Xn,ki,On,Cn,Nn,ia;return be=ht,Ze.charCodeAt(ht)===123?(Ae=un,ht++):(Ae=Ee,Jt===0&&kn(Jr)),Ae!==Ee?(wr=Oi(),wr!==Ee?(Xr=ja(),Xr!==Ee?(yr=Oi(),yr!==Ee?(Ze.charCodeAt(ht)===44?(Kr=zi,ht++):(Kr=Ee,Jt===0&&kn(vs)),Kr!==Ee?(En=Oi(),En!==Ee?(Ze.substr(ht,6)===Po?(Xn=Po,ht+=6):(Xn=Ee,Jt===0&&kn(Pa)),Xn!==Ee?(ki=Oi(),ki!==Ee?(On=ht,Ze.charCodeAt(ht)===44?(Cn=zi,ht++):(Cn=Ee,Jt===0&&kn(vs)),Cn!==Ee?(Nn=Oi(),Nn!==Ee?(ia=qn(),ia!==Ee?(Cn=[Cn,Nn,ia],On=Cn):(ht=On,On=Ee)):(ht=On,On=Ee)):(ht=On,On=Ee),On===Ee&&(On=null),On!==Ee?(Cn=Oi(),Cn!==Ee?(Ze.charCodeAt(ht)===125?(Nn=sn,ht++):(Nn=Ee,Jt===0&&kn(xn)),Nn!==Ee?(Dn=be,Ae=ta(Xr,Xn,On),be=Ae):(ht=be,be=Ee)):(ht=be,be=Ee)):(ht=be,be=Ee)):(ht=be,be=Ee)):(ht=be,be=Ee)):(ht=be,be=Ee)):(ht=be,be=Ee)):(ht=be,be=Ee)):(ht=be,be=Ee)):(ht=be,be=Ee)):(ht=be,be=Ee),be}function wi(){var be,Ae,wr,Xr;if(be=ht,Ze.charCodeAt(ht)===39?(Ae=Fa,ht++):(Ae=Ee,Jt===0&&kn(Ks)),Ae!==Ee){if(wr=[],Xr=Ka(),Xr===Ee&&(In.test(Ze.charAt(ht))?(Xr=Ze.charAt(ht),ht++):(Xr=Ee,Jt===0&&kn(La))),Xr!==Ee)for(;Xr!==Ee;)wr.push(Xr),Xr=Ka(),Xr===Ee&&(In.test(Ze.charAt(ht))?(Xr=Ze.charAt(ht),ht++):(Xr=Ee,Jt===0&&kn(La)));else wr=Ee;wr!==Ee?(Ze.charCodeAt(ht)===39?(Xr=Fa,ht++):(Xr=Ee,Jt===0&&kn(Ks)),Xr!==Ee?(Ae=[Ae,wr,Xr],be=Ae):(ht=be,be=Ee)):(ht=be,be=Ee)}else ht=be,be=Ee;if(be===Ee)if(be=[],Ae=Ka(),Ae===Ee&&(as.test(Ze.charAt(ht))?(Ae=Ze.charAt(ht),ht++):(Ae=Ee,Jt===0&&kn(ss))),Ae!==Ee)for(;Ae!==Ee;)be.push(Ae),Ae=Ka(),Ae===Ee&&(as.test(Ze.charAt(ht))?(Ae=Ze.charAt(ht),ht++):(Ae=Ee,Jt===0&&kn(ss)));else be=Ee;return be}function Hi(){var be,Ae;if(be=[],Li.test(Ze.charAt(ht))?(Ae=Ze.charAt(ht),ht++):(Ae=Ee,Jt===0&&kn(Da)),Ae!==Ee)for(;Ae!==Ee;)be.push(Ae),Li.test(Ze.charAt(ht))?(Ae=Ze.charAt(ht),ht++):(Ae=Ee,Jt===0&&kn(Da));else be=Ee;return be}function Mi(){var be,Ae,wr,Xr;if(be=ht,Ae=ht,wr=[],Xr=wi(),Xr===Ee&&(Xr=Hi()),Xr!==Ee)for(;Xr!==Ee;)wr.push(Xr),Xr=wi(),Xr===Ee&&(Xr=Hi());else wr=Ee;return wr!==Ee?Ae=Ze.substring(Ae,ht):Ae=wr,Ae!==Ee&&(Dn=be,Ae=Ia(Ae)),be=Ae,be}function bi(){var be,Ae,wr;return be=ht,Ze.substr(ht,2)===ws?(Ae=ws,ht+=2):(Ae=Ee,Jt===0&&kn(Zn)),Ae!==Ee?(wr=Mi(),wr!==Ee?(Dn=be,Ae=ns(wr),be=Ae):(ht=be,be=Ee)):(ht=be,be=Ee),be===Ee&&(be=ht,Dn=ht,Ae=cs(),Ae?Ae=void 0:Ae=Ee,Ae!==Ee?(wr=Gt(),wr!==Ee?(Dn=be,Ae=Ps(wr),be=Ae):(ht=be,be=Ee)):(ht=be,be=Ee)),be}function pa(){var be,Ae,wr,Xr,yr,Kr,En,Xn,ki,On,Cn,Nn,ia;return be=ht,Ze.charCodeAt(ht)===123?(Ae=un,ht++):(Ae=Ee,Jt===0&&kn(Jr)),Ae!==Ee?(wr=Oi(),wr!==Ee?(Xr=ja(),Xr!==Ee?(yr=Oi(),yr!==Ee?(Ze.charCodeAt(ht)===44?(Kr=zi,ht++):(Kr=Ee,Jt===0&&kn(vs)),Kr!==Ee?(En=Oi(),En!==Ee?(Ze.substr(ht,4)===Ys?(Xn=Ys,ht+=4):(Xn=Ee,Jt===0&&kn(Eo)),Xn===Ee&&(Ze.substr(ht,4)===Io?(Xn=Io,ht+=4):(Xn=Ee,Jt===0&&kn(Do))),Xn!==Ee?(ki=Oi(),ki!==Ee?(On=ht,Ze.charCodeAt(ht)===44?(Cn=zi,ht++):(Cn=Ee,Jt===0&&kn(vs)),Cn!==Ee?(Nn=Oi(),Nn!==Ee?(ia=bi(),ia!==Ee?(Cn=[Cn,Nn,ia],On=Cn):(ht=On,On=Ee)):(ht=On,On=Ee)):(ht=On,On=Ee),On===Ee&&(On=null),On!==Ee?(Cn=Oi(),Cn!==Ee?(Ze.charCodeAt(ht)===125?(Nn=sn,ht++):(Nn=Ee,Jt===0&&kn(xn)),Nn!==Ee?(Dn=be,Ae=ta(Xr,Xn,On),be=Ae):(ht=be,be=Ee)):(ht=be,be=Ee)):(ht=be,be=Ee)):(ht=be,be=Ee)):(ht=be,be=Ee)):(ht=be,be=Ee)):(ht=be,be=Ee)):(ht=be,be=Ee)):(ht=be,be=Ee)):(ht=be,be=Ee)):(ht=be,be=Ee),be}function xi(){var be;return be=mi(),be===Ee&&(be=pa()),be}function hi(){var be,Ae,wr,Xr,yr,Kr,En,Xn,ki,On,Cn,Nn,ia,Gi,yo,ao;if(be=ht,Ze.charCodeAt(ht)===123?(Ae=un,ht++):(Ae=Ee,Jt===0&&kn(Jr)),Ae!==Ee)if(wr=Oi(),wr!==Ee)if(Xr=ja(),Xr!==Ee)if(yr=Oi(),yr!==Ee)if(Ze.charCodeAt(ht)===44?(Kr=zi,ht++):(Kr=Ee,Jt===0&&kn(vs)),Kr!==Ee)if(En=Oi(),En!==Ee)if(Ze.substr(ht,6)===Ba?(Xn=Ba,ht+=6):(Xn=Ee,Jt===0&&kn(qa)),Xn===Ee&&(Ze.substr(ht,13)===lo?(Xn=lo,ht+=13):(Xn=Ee,Jt===0&&kn(Oo))),Xn!==Ee)if(ki=Oi(),ki!==Ee)if(Ze.charCodeAt(ht)===44?(On=zi,ht++):(On=Ee,Jt===0&&kn(vs)),On!==Ee)if(Cn=Oi(),Cn!==Ee)if(Nn=ht,Ze.substr(ht,7)===wo?(ia=wo,ht+=7):(ia=Ee,Jt===0&&kn(ko)),ia!==Ee?(Gi=Oi(),Gi!==Ee?(yo=ga(),yo!==Ee?(ia=[ia,Gi,yo],Nn=ia):(ht=Nn,Nn=Ee)):(ht=Nn,Nn=Ee)):(ht=Nn,Nn=Ee),Nn===Ee&&(Nn=null),Nn!==Ee)if(ia=Oi(),ia!==Ee){if(Gi=[],yo=Wi(),yo!==Ee)for(;yo!==Ee;)Gi.push(yo),yo=Wi();else Gi=Ee;Gi!==Ee?(yo=Oi(),yo!==Ee?(Ze.charCodeAt(ht)===125?(ao=sn,ht++):(ao=Ee,Jt===0&&kn(xn)),ao!==Ee?(Dn=be,Ae=fi(Xr,Xn,Nn,Gi),be=Ae):(ht=be,be=Ee)):(ht=be,be=Ee)):(ht=be,be=Ee)}else ht=be,be=Ee;else ht=be,be=Ee;else ht=be,be=Ee;else ht=be,be=Ee;else ht=be,be=Ee;else ht=be,be=Ee;else ht=be,be=Ee;else ht=be,be=Ee;else ht=be,be=Ee;else ht=be,be=Ee;else ht=be,be=Ee;else ht=be,be=Ee;return be}function la(){var be,Ae,wr,Xr,yr,Kr,En,Xn,ki,On,Cn,Nn,ia,Gi;if(be=ht,Ze.charCodeAt(ht)===123?(Ae=un,ht++):(Ae=Ee,Jt===0&&kn(Jr)),Ae!==Ee)if(wr=Oi(),wr!==Ee)if(Xr=ja(),Xr!==Ee)if(yr=Oi(),yr!==Ee)if(Ze.charCodeAt(ht)===44?(Kr=zi,ht++):(Kr=Ee,Jt===0&&kn(vs)),Kr!==Ee)if(En=Oi(),En!==Ee)if(Ze.substr(ht,6)===si?(Xn=si,ht+=6):(Xn=Ee,Jt===0&&kn(Na)),Xn!==Ee)if(ki=Oi(),ki!==Ee)if(Ze.charCodeAt(ht)===44?(On=zi,ht++):(On=Ee,Jt===0&&kn(vs)),On!==Ee)if(Cn=Oi(),Cn!==Ee){if(Nn=[],ia=As(),ia!==Ee)for(;ia!==Ee;)Nn.push(ia),ia=As();else Nn=Ee;Nn!==Ee?(ia=Oi(),ia!==Ee?(Ze.charCodeAt(ht)===125?(Gi=sn,ht++):(Gi=Ee,Jt===0&&kn(xn)),Gi!==Ee?(Dn=be,Ae=Va(Xr,Nn),be=Ae):(ht=be,be=Ee)):(ht=be,be=Ee)):(ht=be,be=Ee)}else ht=be,be=Ee;else ht=be,be=Ee;else ht=be,be=Ee;else ht=be,be=Ee;else ht=be,be=Ee;else ht=be,be=Ee;else ht=be,be=Ee;else ht=be,be=Ee;else ht=be,be=Ee;else ht=be,be=Ee;return be}function qs(){var be,Ae,wr,Xr;return be=ht,Ae=ht,Ze.charCodeAt(ht)===61?(wr=$a,ht++):(wr=Ee,Jt===0&&kn(Xs)),wr!==Ee?(Xr=ga(),Xr!==Ee?(wr=[wr,Xr],Ae=wr):(ht=Ae,Ae=Ee)):(ht=Ae,Ae=Ee),Ae!==Ee?be=Ze.substring(be,ht):be=Ae,be===Ee&&(be=ls()),be}function As(){var be,Ae,wr,Xr,yr,Kr,En,Xn;return be=ht,Ae=Oi(),Ae!==Ee?(wr=ls(),wr!==Ee?(Xr=Oi(),Xr!==Ee?(Ze.charCodeAt(ht)===123?(yr=un,ht++):(yr=Ee,Jt===0&&kn(Jr)),yr!==Ee?(Dn=ht,Kr=So(wr),Kr?Kr=void 0:Kr=Ee,Kr!==Ee?(En=Qe(),En!==Ee?(Ze.charCodeAt(ht)===125?(Xn=sn,ht++):(Xn=Ee,Jt===0&&kn(xn)),Xn!==Ee?(Dn=be,Ae=Zo(wr,En),be=Ae):(ht=be,be=Ee)):(ht=be,be=Ee)):(ht=be,be=Ee)):(ht=be,be=Ee)):(ht=be,be=Ee)):(ht=be,be=Ee)):(ht=be,be=Ee),be}function Wi(){var be,Ae,wr,Xr,yr,Kr,En,Xn;return be=ht,Ae=Oi(),Ae!==Ee?(wr=qs(),wr!==Ee?(Xr=Oi(),Xr!==Ee?(Ze.charCodeAt(ht)===123?(yr=un,ht++):(yr=Ee,Jt===0&&kn(Jr)),yr!==Ee?(Dn=ht,Kr=fs(wr),Kr?Kr=void 0:Kr=Ee,Kr!==Ee?(En=Qe(),En!==Ee?(Ze.charCodeAt(ht)===125?(Xn=sn,ht++):(Xn=Ee,Jt===0&&kn(xn)),Xn!==Ee?(Dn=be,Ae=No(wr,En),be=Ae):(ht=be,be=Ee)):(ht=be,be=Ee)):(ht=be,be=Ee)):(ht=be,be=Ee)):(ht=be,be=Ee)):(ht=be,be=Ee)):(ht=be,be=Ee),be}function Oa(){var be,Ae;return Jt++,iu.test(Ze.charAt(ht))?(be=Ze.charAt(ht),ht++):(be=Ee,Jt===0&&kn(mo)),Jt--,be===Ee&&(Ae=Ee,Jt===0&&kn(Ho)),be}function Ji(){var be,Ae;return Jt++,vo.test(Ze.charAt(ht))?(be=Ze.charAt(ht),ht++):(be=Ee,Jt===0&&kn(Vs)),Jt--,be===Ee&&(Ae=Ee,Jt===0&&kn(Cu)),be}function Oi(){var be,Ae,wr;for(Jt++,be=ht,Ae=[],wr=Oa();wr!==Ee;)Ae.push(wr),wr=Oa();return Ae!==Ee?be=Ze.substring(be,ht):be=Ae,Jt--,be===Ee&&(Ae=Ee,Jt===0&&kn(Ko)),be}function ga(){var be,Ae,wr;return Jt++,be=ht,Ze.charCodeAt(ht)===45?(Ae=co,ht++):(Ae=Ee,Jt===0&&kn(go)),Ae===Ee&&(Ae=null),Ae!==Ee?(wr=Xa(),wr!==Ee?(Dn=be,Ae=au(Ae,wr),be=Ae):(ht=be,be=Ee)):(ht=be,be=Ee),Jt--,be===Ee&&(Ae=Ee,Jt===0&&kn(du)),be}function ka(){var be,Ae;return Jt++,Ze.charCodeAt(ht)===39?(be=Fa,ht++):(be=Ee,Jt===0&&kn(Ks)),Jt--,be===Ee&&(Ae=Ee,Jt===0&&kn(Ro)),be}function Ka(){var be,Ae;return Jt++,be=ht,Ze.substr(ht,2)===os?(Ae=os,ht+=2):(Ae=Ee,Jt===0&&kn(Ao)),Ae!==Ee&&(Dn=be,Ae=hu()),be=Ae,Jt--,be===Ee&&(Ae=Ee,Jt===0&&kn($o)),be}function Js(){var be,Ae,wr,Xr,yr,Kr;if(be=ht,Ze.charCodeAt(ht)===39?(Ae=Fa,ht++):(Ae=Ee,Jt===0&&kn(Ks)),Ae!==Ee)if(wr=fo(),wr!==Ee){for(Xr=ht,yr=[],Ze.substr(ht,2)===os?(Kr=os,ht+=2):(Kr=Ee,Jt===0&&kn(Ao)),Kr===Ee&&(In.test(Ze.charAt(ht))?(Kr=Ze.charAt(ht),ht++):(Kr=Ee,Jt===0&&kn(La)));Kr!==Ee;)yr.push(Kr),Ze.substr(ht,2)===os?(Kr=os,ht+=2):(Kr=Ee,Jt===0&&kn(Ao)),Kr===Ee&&(In.test(Ze.charAt(ht))?(Kr=Ze.charAt(ht),ht++):(Kr=Ee,Jt===0&&kn(La)));yr!==Ee?Xr=Ze.substring(Xr,ht):Xr=yr,Xr!==Ee?(Ze.charCodeAt(ht)===39?(yr=Fa,ht++):(yr=Ee,Jt===0&&kn(Ks)),yr===Ee&&(yr=null),yr!==Ee?(Dn=be,Ae=qt(wr,Xr),be=Ae):(ht=be,be=Ee)):(ht=be,be=Ee)}else ht=be,be=Ee;else ht=be,be=Ee;return be}function Ya(){var be,Ae,wr,Xr;return be=ht,Ae=ht,Ze.length>ht?(wr=Ze.charAt(ht),ht++):(wr=Ee,Jt===0&&kn(ai)),wr!==Ee?(Dn=ht,Xr=hr(wr),Xr?Xr=void 0:Xr=Ee,Xr!==Ee?(wr=[wr,Xr],Ae=wr):(ht=Ae,Ae=Ee)):(ht=Ae,Ae=Ee),Ae===Ee&&(Ze.charCodeAt(ht)===10?(Ae=sr,ht++):(Ae=Ee,Jt===0&&kn(pr))),Ae!==Ee?be=Ze.substring(be,ht):be=Ae,be}function fo(){var be,Ae,wr,Xr;return be=ht,Ae=ht,Ze.length>ht?(wr=Ze.charAt(ht),ht++):(wr=Ee,Jt===0&&kn(ai)),wr!==Ee?(Dn=ht,Xr=Ar(wr),Xr?Xr=void 0:Xr=Ee,Xr!==Ee?(wr=[wr,Xr],Ae=wr):(ht=Ae,Ae=Ee)):(ht=Ae,Ae=Ee),Ae!==Ee?be=Ze.substring(be,ht):be=Ae,be}function ja(){var be,Ae;return Jt++,be=ht,Ae=Xa(),Ae===Ee&&(Ae=ls()),Ae!==Ee?be=Ze.substring(be,ht):be=Ae,Jt--,be===Ee&&(Ae=Ee,Jt===0&&kn(fn)),be}function Xa(){var be,Ae,wr,Xr,yr;if(Jt++,be=ht,Ze.charCodeAt(ht)===48?(Ae=wn,ht++):(Ae=Ee,Jt===0&&kn(Ln)),Ae!==Ee&&(Dn=be,Ae=Jn()),be=Ae,be===Ee){if(be=ht,Ae=ht,Qn.test(Ze.charAt(ht))?(wr=Ze.charAt(ht),ht++):(wr=Ee,Jt===0&&kn(dr)),wr!==Ee){for(Xr=[],Lr.test(Ze.charAt(ht))?(yr=Ze.charAt(ht),ht++):(yr=Ee,Jt===0&&kn(Or));yr!==Ee;)Xr.push(yr),Lr.test(Ze.charAt(ht))?(yr=Ze.charAt(ht),ht++):(yr=Ee,Jt===0&&kn(Or));Xr!==Ee?(wr=[wr,Xr],Ae=wr):(ht=Ae,Ae=Ee)}else ht=Ae,Ae=Ee;Ae!==Ee&&(Dn=be,Ae=gn(Ae)),be=Ae}return Jt--,be===Ee&&(Ae=Ee,Jt===0&&kn(Rn)),be}function ls(){var be,Ae,wr,Xr,yr;if(Jt++,be=ht,Ae=[],wr=ht,Xr=ht,Jt++,yr=Oa(),yr===Ee&&(yr=Ji()),Jt--,yr===Ee?Xr=void 0:(ht=Xr,Xr=Ee),Xr!==Ee?(Ze.length>ht?(yr=Ze.charAt(ht),ht++):(yr=Ee,Jt===0&&kn(ai)),yr!==Ee?(Xr=[Xr,yr],wr=Xr):(ht=wr,wr=Ee)):(ht=wr,wr=Ee),wr!==Ee)for(;wr!==Ee;)Ae.push(wr),wr=ht,Xr=ht,Jt++,yr=Oa(),yr===Ee&&(yr=Ji()),Jt--,yr===Ee?Xr=void 0:(ht=Xr,Xr=Ee),Xr!==Ee?(Ze.length>ht?(yr=Ze.charAt(ht),ht++):(yr=Ee,Jt===0&&kn(ai)),yr!==Ee?(Xr=[Xr,yr],wr=Xr):(ht=wr,wr=Ee)):(ht=wr,wr=Ee);else Ae=Ee;return Ae!==Ee?be=Ze.substring(be,ht):be=Ae,Jt--,be===Ee&&(Ae=Ee,Jt===0&&kn(yn)),be}var ra=["root"];function za(){return ra.length>1}function ys(){return ra[ra.length-1]==="plural"}function ya(){return qe&&qe.captureLocation?{location:fa()}:{}}if(Yi=ar(),Yi!==Ee&&ht===Ze.length)return Yi;throw Yi!==Ee&&ht<Ze.length&&kn(ds()),zs(Zi,Ei<Ze.length?Ze.charAt(Ei):null,Ei<Ze.length?Qs(Ei,Ei+1):Qs(Ei,Ei))}var q=le,J=function(){for(var Ze=0,qe=0,Ee=arguments.length;qe<Ee;qe++)Ze+=arguments[qe].length;for(var ot=Array(Ze),ar=0,qe=0;qe<Ee;qe++)for(var br=arguments[qe],Dr=0,Pr=br.length;Dr<Pr;Dr++,ar++)ot[ar]=br[Dr];return ot},V=/(^|[^\\])#/g;function ue(Ze){Ze.forEach(function(qe){!D(qe)&&!C(qe)||Object.keys(qe.options).forEach(function(Ee){for(var ot,ar=qe.options[Ee],br=-1,Dr=void 0,Pr=0;Pr<ar.value.length;Pr++){var Fr=ar.value[Pr];if(_(Fr)&&V.test(Fr.value)){br=Pr,Dr=Fr;break}}if(Dr){var mn=Dr.value.replace(V,"$1{"+qe.value+", number}"),Er=q(mn);(ot=ar.value).splice.apply(ot,J([br,1],Er))}ue(ar.value)})})}function ee(Ze,qe){var Ee=q(Ze,qe);return(!qe||qe.normalizeHashtagInPlural!==!1)&&ue(Ee),Ee}var Q=function(){for(var Ze=0,qe=0,Ee=arguments.length;qe<Ee;qe++)Ze+=arguments[qe].length;for(var ot=Array(Ze),ar=0,qe=0;qe<Ee;qe++)for(var br=arguments[qe],Dr=0,Pr=br.length;Dr<Pr;Dr++,ar++)ot[ar]=br[Dr];return ot};function ce(Ze){return JSON.stringify(Ze.map(function(qe){return qe&&typeof qe=="object"?z(qe):qe}))}function z(Ze){return Object.keys(Ze).sort().map(function(qe){var Ee;return Ee={},Ee[qe]=Ze[qe],Ee})}var $=function(Ze,qe){return qe===void 0&&(qe={}),function(){for(var Ee,ot=[],ar=0;ar<arguments.length;ar++)ot[ar]=arguments[ar];var br=ce(ot),Dr=br&&qe[br];return Dr||(Dr=new((Ee=Ze).bind.apply(Ee,Q([void 0],ot))),br&&(qe[br]=Dr)),Dr}},ae=$,_e=function(){return _e=Object.assign||function(Ze){for(var qe,Ee=1,ot=arguments.length;Ee<ot;Ee++){qe=arguments[Ee];for(var ar in qe)Object.prototype.hasOwnProperty.call(qe,ar)&&(Ze[ar]=qe[ar])}return Ze},_e.apply(this,arguments)},De=/(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;function ke(Ze){var qe={};return Ze.replace(De,function(Ee){var ot=Ee.length;switch(Ee[0]){case"G":qe.era=ot===4?"long":ot===5?"narrow":"short";break;case"y":qe.year=ot===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"][ot-1];break;case"w":case"W":throw new RangeError("`w/W` (week) patterns are not supported");case"d":qe.day=["numeric","2-digit"][ot-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=ot===4?"short":ot===5?"narrow":"short";break;case"e":if(ot<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");qe.weekday=["short","long","narrow","short"][ot-4];break;case"c":if(ot<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");qe.weekday=["short","long","narrow","short"][ot-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"][ot-1];break;case"H":qe.hourCycle="h23",qe.hour=["numeric","2-digit"][ot-1];break;case"K":qe.hourCycle="h11",qe.hour=["numeric","2-digit"][ot-1];break;case"k":qe.hourCycle="h24",qe.hour=["numeric","2-digit"][ot-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"][ot-1];break;case"s":qe.second=["numeric","2-digit"][ot-1];break;case"S":case"A":throw new RangeError("`S/A` (second) pattenrs are not supported, use `s` instead");case"z":qe.timeZoneName=ot<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 $e=/^\.(?:(0+)(\+|#+)?)?$/g,Bt=/^(@+)?(\+|#+)?$/g;function gt(Ze){var qe={};return Ze.replace(Bt,function(Ee,ot,ar){return typeof ar!="string"?(qe.minimumSignificantDigits=ot.length,qe.maximumSignificantDigits=ot.length):ar==="+"?qe.minimumSignificantDigits=ot.length:ot[0]==="#"?qe.maximumSignificantDigits=ot.length:(qe.minimumSignificantDigits=ot.length,qe.maximumSignificantDigits=ot.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 nr(Ze){var qe={},Ee=Dt(Ze);return Ee||qe}function Xt(Ze){for(var qe={},Ee=0,ot=Ze;Ee<ot.length;Ee++){var ar=ot[Ee];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(Dr,Pr){return _e(_e({},Dr),nr(Pr))},{}));continue;case"engineering":qe=_e(_e(_e({},qe),{notation:"engineering"}),ar.options.reduce(function(Dr,Pr){return _e(_e({},Dr),nr(Pr))},{}));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($e.test(ar.stem)){if(ar.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");ar.stem.replace($e,function(Dr,Pr,Fr){return Dr==="."?qe.maximumFractionDigits=0:Fr==="+"?qe.minimumFractionDigits=Fr.length:Pr[0]==="#"?qe.maximumFractionDigits=Pr.length:(qe.minimumFractionDigits=Pr.length,qe.maximumFractionDigits=Pr.length+(typeof Fr=="string"?Fr.length:0)),""}),ar.options.length&&(qe=_e(_e({},qe),gt(ar.options[0])));continue}if(Bt.test(ar.stem)){qe=_e(_e({},qe),gt(ar.stem));continue}var br=Dt(ar.stem);br&&(qe=_e(_e({},qe),br))}return qe}var cr=function(){var Ze=function(qe,Ee){return Ze=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(ot,ar){ot.__proto__=ar}||function(ot,ar){for(var br in ar)ar.hasOwnProperty(br)&&(ot[br]=ar[br])},Ze(qe,Ee)};return function(qe,Ee){Ze(qe,Ee);function ot(){this.constructor=qe}qe.prototype=Ee===null?Object.create(Ee):(ot.prototype=Ee.prototype,new ot)}}(),Ge=function(){for(var Ze=0,qe=0,Ee=arguments.length;qe<Ee;qe++)Ze+=arguments[qe].length;for(var ot=Array(Ze),ar=0,qe=0;qe<Ee;qe++)for(var br=arguments[qe],Dr=0,Pr=br.length;Dr<Pr;Dr++,ar++)ot[ar]=br[Dr];return ot},Tt=function(Ze){cr(qe,Ze);function qe(Ee,ot){var ar=Ze.call(this,Ee)||this;return ar.variableId=ot,ar}return qe}(Error);function Ut(Ze){return Ze.length<2?Ze:Ze.reduce(function(qe,Ee){var ot=qe[qe.length-1];return!ot||ot.type!==0||Ee.type!==0?qe.push(Ee):ot.value+=Ee.value,qe},[])}function at(Ze,qe,Ee,ot,ar,br,Dr){if(Ze.length===1&&_(Ze[0]))return[{type:0,value:Ze[0].value}];for(var Pr=[],Fr=0,mn=Ze;Fr<mn.length;Fr++){var Er=mn[Fr];if(_(Er)){Pr.push({type:0,value:Er.value});continue}if(M(Er)){typeof br=="number"&&Pr.push({type:0,value:Ee.getNumberFormat(qe).format(br)});continue}var un=Er.value;if(!(ar&&un in ar))throw new Tt('The intl string context variable "'+un+'" was not provided to the string "'+Dr+'"');var Jr=ar[un];if(b(Er)){(!Jr||typeof Jr=="string"||typeof Jr=="number")&&(Jr=typeof Jr=="string"||typeof Jr=="number"?String(Jr):""),Pr.push({type:1,value:Jr});continue}if(k(Er)){var sn=typeof Er.style=="string"?ot.date[Er.style]:void 0;Pr.push({type:0,value:Ee.getDateTimeFormat(qe,sn).format(Jr)});continue}if(R(Er)){var sn=typeof Er.style=="string"?ot.time[Er.style]:N(Er.style)?ke(Er.style.pattern):void 0;Pr.push({type:0,value:Ee.getDateTimeFormat(qe,sn).format(Jr)});continue}if(A(Er)){var sn=typeof Er.style=="string"?ot.number[Er.style]:B(Er.style)?Xt(Er.style.tokens):void 0;Pr.push({type:0,value:Ee.getNumberFormat(qe,sn).format(Jr)});continue}if(C(Er)){var xn=Er.options[Jr]||Er.options.other;if(!xn)throw new RangeError('Invalid values for "'+Er.value+'": "'+Jr+'". Options are "'+Object.keys(Er.options).join('", "')+'"');Pr.push.apply(Pr,at(xn.value,qe,Ee,ot,ar));continue}if(D(Er)){var xn=Er.options["="+Jr];if(!xn){if(!Intl.PluralRules)throw new Tt(`Intl.PluralRules is not available in this environment.
|
|
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
|
`);var ha=Ee.getPluralRules(qe,{type:Er.pluralType}).select(Jr-(Er.offset||0));xn=Er.options[ha]||Er.options.other}if(!xn)throw new RangeError('Invalid values for "'+Er.value+'": "'+Jr+'". Options are "'+Object.keys(Er.options).join('", "')+'"');Pr.push.apply(Pr,at(xn.value,qe,Ee,ot,ar,Jr-(Er.offset||0)));continue}}return Ut(Pr)}function bt(Ze,qe,Ee,ot,ar,br){var Dr=at(Ze,qe,Ee,ot,ar,void 0,br);return Dr.length===1?Dr[0].value:Dr.reduce(function(Pr,Fr){return Pr+=Fr.value},"")}var dt,tt="@@",Ue=/@@(\d+_\d+)@@/g,ye=0;function Ce(){return Date.now()+"_"+ ++ye}function Me(Ze,qe){return Ze.split(Ue).filter(Boolean).map(function(Ee){return qe[Ee]!=null?qe[Ee]:Ee}).reduce(function(Ee,ot){return Ee.length&&typeof ot=="string"&&typeof Ee[Ee.length-1]=="string"?Ee[Ee.length-1]+=ot:Ee.push(ot),Ee},[])}var je=/(<([0-9a-zA-Z-_]*?)>(.*?)<\/([0-9a-zA-Z-_]*?)>)|(<[0-9a-zA-Z-_]*?\/>)/,We=Date.now()+"@@",nt=["area","base","br","col","embed","hr","img","input","link","meta","param","source","track","wbr"];function lt(Ze,qe,Ee){var ot=Ze.tagName,ar=Ze.outerHTML,br=Ze.textContent,Dr=Ze.childNodes;if(!ot)return Me(br||"",qe);ot=ot.toLowerCase();var Pr=~nt.indexOf(ot),Fr=Ee[ot];if(Fr&&Pr)throw new Tt(ot+" is a self-closing tag and can not be used, please use another tag name.");if(!Dr.length)return[ar];var mn=Array.prototype.slice.call(Dr).reduce(function(Er,un){return Er.concat(lt(un,qe,Ee))},[]);return Fr?typeof Fr=="function"?[Fr.apply(void 0,mn)]:[Fr]:Ge(["<"+ot+">"],mn,["</"+ot+">"])}function Vt(Ze,qe,Ee,ot,ar,br){var Dr=at(Ze,qe,Ee,ot,ar,void 0,br),Pr={},Fr=Dr.reduce(function(Jr,sn){if(sn.type===0)return Jr+=sn.value;var xn=Ce();return Pr[xn]=sn.value,Jr+=""+tt+xn+tt},"");if(!je.test(Fr))return Me(Fr,Pr);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 mn=dt.parseFromString('<formatted-message id="'+We+'">'+Fr+"</formatted-message>","text/html").getElementById(We);if(!mn)throw new Tt("Malformed HTML message "+Fr);var Er=Object.keys(ar).filter(function(Jr){return!!mn.getElementsByTagName(Jr).length});if(!Er.length)return Me(Fr,Pr);var un=Er.filter(function(Jr){return Jr!==Jr.toLowerCase()});if(un.length)throw new Tt("HTML tag must be lowercased but the following tags are not: "+un.join(", "));return Array.prototype.slice.call(mn.childNodes).reduce(function(Jr,sn){return Jr.concat(lt(sn,Pr,ar))},[])}var Ht=function(){return Ht=Object.assign||function(Ze){for(var qe,Ee=1,ot=arguments.length;Ee<ot;Ee++){qe=arguments[Ee];for(var ar in qe)Object.prototype.hasOwnProperty.call(qe,ar)&&(Ze[ar]=qe[ar])}return Ze},Ht.apply(this,arguments)};function Pe(Ze,qe){return qe?Ht(Ht(Ht({},Ze||{}),qe||{}),Object.keys(Ze).reduce(function(Ee,ot){return Ee[ot]=Ht(Ht({},Ze[ot]),qe[ot]||{}),Ee},{})):Ze}function et(Ze,qe){return qe?Object.keys(Ze).reduce(function(Ee,ot){return Ee[ot]=Pe(Ze[ot],qe[ot]),Ee},Ht({},Ze)):Ze}function Kt(Ze){return Ze===void 0&&(Ze={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:ae(Intl.NumberFormat,Ze.number),getDateTimeFormat:ae(Intl.DateTimeFormat,Ze.dateTime),getPluralRules:ae(Intl.PluralRules,Ze.pluralRules)}}var kt=function(){function Ze(qe,Ee,ot,ar){var br=this;if(Ee===void 0&&(Ee=Ze.defaultLocale),this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(Dr){return bt(br.ast,br.locales,br.formatters,br.formats,Dr,br.message)},this.formatToParts=function(Dr){return at(br.ast,br.locales,br.formatters,br.formats,Dr,void 0,br.message)},this.formatHTMLMessage=function(Dr){return Vt(br.ast,br.locales,br.formatters,br.formats,Dr,br.message)},this.resolvedOptions=function(){return{locale:Intl.NumberFormat.supportedLocalesOf(br.locales)[0]}},this.getAst=function(){return br.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=et(Ze.formats,ot),this.locales=Ee,this.formatters=ar&&ar.formatters||Kt(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}(),Zt=kt,Nt=Zt;function tr(Ze,qe,Ee){if(Ee===void 0&&(Ee=Error),!Ze)throw new Ee(qe)}const Wt={38:"&",62:">",60:"<",34:""",39:"'"},Fe=/[&><"']/g;function fe(Ze){return(""+Ze).replace(Fe,qe=>Wt[qe.charCodeAt(0)])}function pe(Ze,qe,Ee={}){return qe.reduce((ot,ar)=>(ar in Ze?ot[ar]=Ze[ar]:ar in Ee&&(ot[ar]=Ee[ar]),ot),{})}function Pt(Ze){tr(Ze,"[React Intl] Could not find required `intl` object. <IntlProvider> needs to exist in the component ancestry.")}function Ie(Ze,qe){const Ee=qe?`
|
|
|
${qe.stack}`:"";return`[React Intl] ${Ze}${Ee}`}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 Oe(Ze=wt()){const qe=Intl.RelativeTimeFormat,Ee=Intl.ListFormat,ot=Intl.DisplayNames;return{getDateTimeFormat:ae(Intl.DateTimeFormat,Ze.dateTime),getNumberFormat:ae(Intl.NumberFormat,Ze.number),getMessageFormat:ae(Nt,Ze.message),getRelativeTimeFormat:ae(qe,Ze.relativeTime),getPluralRules:ae(Intl.PluralRules,Ze.pluralRules),getListFormat:ae(Ee,Ze.list),getDisplayNames:ae(ot,Ze.displayNames)}}function xt(Ze,qe,Ee,ot){const ar=Ze&&Ze[qe];let br;if(ar&&(br=ar[Ee]),br)return br;ot(Ie(`No ${qe} format named: ${Ee}`))}const xe=["localeMatcher","style","currency","currencyDisplay","unit","unitDisplay","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","currencyDisplay","currencySign","notation","signDisplay","unit","unitDisplay"];function Ye({locale:Ze,formats:qe,onError:Ee},ot,ar={}){const{format:br}=ar,Dr=br&&xt(qe,"number",br,Ee)||{},Pr=pe(ar,xe,Dr);return ot(Ze,Pr)}function mt(Ze,qe,Ee,ot={}){try{return Ye(Ze,qe,ot).format(Ee)}catch(ar){Ze.onError(Ie("Error formatting number.",ar))}return String(Ee)}function Mt(Ze,qe,Ee,ot={}){try{return Ye(Ze,qe,ot).formatToParts(Ee)}catch(ar){Ze.onError(Ie("Error formatting number.",ar))}return[]}const Be=["numeric","style"];function Ir({locale:Ze,formats:qe,onError:Ee},ot,ar={}){const{format:br}=ar,Dr=!!br&&xt(qe,"relative",br,Ee)||{},Pr=pe(ar,Be,Dr);return ot(Ze,Pr)}function St(Ze,qe,Ee,ot,ar={}){ot||(ot="second"),Intl.RelativeTimeFormat||Ze.onError(Ie(`Intl.RelativeTimeFormat is not available in this environment.
|
|
|
Try polyfilling it using "@formatjs/intl-relativetimeformat"
|
|
|
`));try{return Ir(Ze,qe,ar).format(Ee,ot)}catch(Dr){Ze.onError(Ie("Error formatting relative time.",Dr))}return String(Ee)}const Zr=["localeMatcher","formatMatcher","timeZone","hour12","weekday","era","year","month","day","hour","minute","second","timeZoneName"];function Yr({locale:Ze,formats:qe,onError:Ee,timeZone:ot},ar,br,Dr={}){const{format:Pr}=Dr,Fr=Object.assign(Object.assign({},ot&&{timeZone:ot}),Pr&&xt(qe,ar,Pr,Ee));let mn=pe(Dr,Zr,Fr);return ar==="time"&&!mn.hour&&!mn.minute&&!mn.second&&(mn=Object.assign(Object.assign({},mn),{hour:"numeric",minute:"numeric"})),br(Ze,mn)}function xr(Ze,qe,Ee,ot={}){const ar=typeof Ee=="string"?new Date(Ee||0):Ee;try{return Yr(Ze,"date",qe,ot).format(ar)}catch(br){Ze.onError(Ie("Error formatting date.",br))}return String(ar)}function Mr(Ze,qe,Ee,ot={}){const ar=typeof Ee=="string"?new Date(Ee||0):Ee;try{return Yr(Ze,"time",qe,ot).format(ar)}catch(br){Ze.onError(Ie("Error formatting time.",br))}return String(ar)}function mr(Ze,qe,Ee,ot={}){const ar=typeof Ee=="string"?new Date(Ee||0):Ee;try{return Yr(Ze,"date",qe,ot).formatToParts(ar)}catch(br){Ze.onError(Ie("Error formatting date.",br))}return[]}function Nr(Ze,qe,Ee,ot={}){const ar=typeof Ee=="string"?new Date(Ee||0):Ee;try{return Yr(Ze,"time",qe,ot).formatToParts(ar)}catch(br){Ze.onError(Ie("Error formatting time.",br))}return[]}const nn=["localeMatcher","type"];function on({locale:Ze,onError:qe},Ee,ot,ar={}){Intl.PluralRules||qe(Ie(`Intl.PluralRules is not available in this environment.
|
|
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
|
`));const br=pe(ar,nn);try{return Ee(Ze,br).select(ot)}catch(Dr){qe(Ie("Error formatting plural.",Dr))}return"other"}function or(Ze,qe){return Object.keys(Ze).reduce((Ee,ot)=>(Ee[ot]=Object.assign({timeZone:qe},Ze[ot]),Ee),{})}function Rt(Ze,qe){return Object.keys(Object.assign(Object.assign({},Ze),qe)).reduce((ot,ar)=>(ot[ar]=Object.assign(Object.assign({},Ze[ar]||{}),qe[ar]||{}),ot),{})}function _t(Ze,qe){if(!qe)return Ze;const Ee=Nt.formats;return Object.assign(Object.assign(Object.assign({},Ee),Ze),{date:Rt(or(Ee.date,qe),or(Ze.date||{},qe)),time:Rt(or(Ee.time,qe),or(Ze.time||{},qe))})}const vt=Ze=>r.createElement(r.Fragment,null,...Ze);function $t({locale:Ze,formats:qe,messages:Ee,defaultLocale:ot,defaultFormats:ar,onError:br,timeZone:Dr},Pr,Fr={id:""},mn={}){const{id:Er,defaultMessage:un}=Fr;tr(!!Er,"[React Intl] An `id` must be provided to format a message.");const Jr=Ee&&Ee[String(Er)];qe=_t(qe,Dr),ar=_t(ar,Dr);let sn=[];if(Jr)try{sn=Pr.getMessageFormat(Jr,Ze,qe,{formatters:Pr}).formatHTMLMessage(mn)}catch(xn){br(Ie(`Error formatting message: "${Er}" for locale: "${Ze}"`+(un?", using default message as fallback.":""),xn))}else(!un||Ze&&Ze.toLowerCase()!==ot.toLowerCase())&&br(Ie(`Missing message: "${Er}" for locale: "${Ze}"`+(un?", using default message as fallback.":"")));if(!sn.length&&un)try{sn=Pr.getMessageFormat(un,ot,ar).formatHTMLMessage(mn)}catch(xn){br(Ie(`Error formatting the default message for: "${Er}"`,xn))}return sn.length?sn.length===1&&typeof sn[0]=="string"?sn[0]||un||String(Er):vt(sn):(br(Ie(`Cannot format message: "${Er}", using message ${Jr||un?"source":"id"} as fallback.`)),typeof Jr=="string"?Jr||un||String(Er):un||String(Er))}function Sr(Ze,qe,Ee={id:""},ot={}){const ar=Object.keys(ot).reduce((br,Dr)=>{const Pr=ot[Dr];return br[Dr]=typeof Pr=="string"?fe(Pr):Pr,br},{});return $t(Ze,qe,Ee,ar)}var vr=e(18947),Qr=e.n(vr);const Wr=["localeMatcher","type","style"],An=Date.now();function At(Ze){return`${An}_${Ze}_${An}`}function lr({locale:Ze,onError:qe},Ee,ot,ar={}){Intl.ListFormat||qe(Ie(`Intl.ListFormat is not available in this environment.
|
|
|
Try polyfilling it using "@formatjs/intl-listformat"
|
|
|
`));const Dr=pe(ar,Wr);try{const Pr={},Fr=ot.map((Er,un)=>{if(typeof Er=="object"){const Jr=At(un);return Pr[Jr]=Er,Jr}return String(Er)});return Object.keys(Pr).length?Ee(Ze,Dr).formatToParts(Fr).reduce((Er,un)=>{const Jr=un.value;return Pr[Jr]?Er.push(Pr[Jr]):typeof Er[Er.length-1]=="string"?Er[Er.length-1]+=Jr:Er.push(Jr),Er},[]):Ee(Ze,Dr).format(Fr)}catch(Pr){qe(Ie("Error formatting list.",Pr))}return ot}const Vr=["localeMatcher","style","type","fallback"];function dn({locale:Ze,onError:qe},Ee,ot,ar={}){Intl.DisplayNames||qe(Ie(`Intl.DisplayNames is not available in this environment.
|
|
|
Try polyfilling it using "@formatjs/intl-displaynames"
|
|
|
`));const Dr=pe(ar,Vr);try{return Ee(Ze,Dr).of(ot)}catch(Pr){qe(Ie("Error formatting display name.",Pr))}}const Bn=Qr()||vr;function ti(Ze){return{locale:Ze.locale,timeZone:Ze.timeZone,formats:Ze.formats,textComponent:Ze.textComponent,messages:Ze.messages,defaultLocale:Ze.defaultLocale,defaultFormats:Ze.defaultFormats,onError:Ze.onError}}function Un(Ze,qe){const Ee=Oe(qe),ot=Object.assign(Object.assign({},zt),Ze),{locale:ar,defaultLocale:br,onError:Dr}=ot;return ar?!Intl.NumberFormat.supportedLocalesOf(ar).length&&Dr?Dr(Ie(`Missing locale data for locale: "${ar}" in Intl.NumberFormat. Using default locale: "${br}" 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&&Dr&&Dr(Ie(`Missing locale data for locale: "${ar}" in Intl.DateTimeFormat. Using default locale: "${br}" as fallback. See https://github.com/formatjs/react-intl/blob/master/docs/Getting-Started.md#runtime-requirements for more details`)):(Dr&&Dr(Ie(`"locale" was not configured, using "${br}" as fallback. See https://github.com/formatjs/react-intl/blob/master/docs/API.md#intlshape for more details`)),ot.locale=ot.defaultLocale||"en"),Object.assign(Object.assign({},ot),{formatters:Ee,formatNumber:mt.bind(null,ot,Ee.getNumberFormat),formatNumberToParts:Mt.bind(null,ot,Ee.getNumberFormat),formatRelativeTime:St.bind(null,ot,Ee.getRelativeTimeFormat),formatDate:xr.bind(null,ot,Ee.getDateTimeFormat),formatDateToParts:mr.bind(null,ot,Ee.getDateTimeFormat),formatTime:Mr.bind(null,ot,Ee.getDateTimeFormat),formatTimeToParts:Nr.bind(null,ot,Ee.getDateTimeFormat),formatPlural:on.bind(null,ot,Ee.getPluralRules),formatMessage:$t.bind(null,ot,Ee),formatHTMLMessage:Sr.bind(null,ot,Ee),formatList:lr.bind(null,ot,Ee.getListFormat),formatDisplayName:dn.bind(null,ot,Ee.getDisplayNames)})}class Ri extends r.PureComponent{constructor(){super(...arguments),this.cache=wt(),this.state={cache:this.cache,intl:Un(ti(this.props),this.cache),prevConfig:ti(this.props)}}static getDerivedStateFromProps(qe,{prevConfig:Ee,cache:ot}){const ar=ti(qe);return Bn(Ee,ar)?null:{intl:Un(ar,ot),prevConfig:ar}}render(){return Pt(this.state.intl),r.createElement(a,{value:this.state.intl},this.props.children)}}Ri.displayName="IntlProvider",Ri.defaultProps=zt;var ni=e(3191),ci=e(3424),gi=e.n(ci),di=e(85239),Qi=Object.getOwnPropertySymbols,Gn=Object.prototype.hasOwnProperty,Xi=Object.prototype.propertyIsEnumerable,Et=(Ze,qe)=>{var Ee={};for(var ot in Ze)Gn.call(Ze,ot)&&qe.indexOf(ot)<0&&(Ee[ot]=Ze[ot]);if(Ze!=null&&Qi)for(var ot of Qi(Ze))qe.indexOf(ot)<0&&Xi.call(Ze,ot)&&(Ee[ot]=Ze[ot]);return Ee};let st;const Vn=!0,yi=new(gi()),Kn=Symbol("LANG_CHANGE"),Ki=(Ze,qe="")=>Object.keys(Ze).reduce((Ee,ot)=>{const ar=Ze[ot],br=qe?`${qe}.${ot}`:ot;return typeof ar=="string"?Ee[br]=ar:Object.assign(Ee,Ki(ar,br)),Ee},{}),_i={},ei=(Ze,qe,Ee)=>{var ot,ar,br,Dr;if(!Ze)return;const Pr=(ot=_i[Ze])!=null&&ot.messages?Object.assign({},_i[Ze].messages,qe):qe,{momentLocale:Fr=(ar=_i[Ze])==null?void 0:ar.momentLocale,antd:mn=(br=_i[Ze])==null?void 0:br.antd}=Ee||{},Er=(Dr=Ze.split("-"))==null?void 0:Dr.join("-");_i[Ze]={messages:Pr,locale:Er,momentLocale:Fr,antd:mn},Er===Ot()&&yi.emit(Kn,Er)},vn=Ze=>(0,ni.We)().applyPlugins({key:"locale",type:"modify",initialValue:Ze}),er=Ze=>{const Ee=vn(_i[Ze]),{cache:ot}=Ee,ar=Et(Ee,["cache"]);return Un(ar,ot)},pt=(Ze,qe)=>st&&!qe&&!Ze?st:(Ze||(Ze=Ot()),Ze&&_i[Ze]?er(Ze):_i["zh-CN"]?er("zh-CN"):Un({locale:"zh-CN",messages:{}})),rt=Ze=>{st=pt(Ze,!0)},Ot=()=>{const Ze=vn({});return typeof(Ze==null?void 0:Ze.getLocale)=="function"?Ze.getLocale():(navigator.cookieEnabled&&typeof localStorage!="undefined"&&Vn?window.localStorage.getItem("umi_locale"):"")||void 0||"zh-CN"},ft=()=>{const Ze=Ot();return["he","ar","fa","ku"].filter(ot=>Ze.startsWith(ot)).length?"rtl":"ltr"},ur=(Ze,qe=!0)=>{(()=>{if(Ot()!==Ze){if(navigator.cookieEnabled&&typeof window.localStorage!="undefined"&&Vn&&window.localStorage.setItem("umi_locale",Ze||""),rt(Ze),qe)window.location.reload();else if(yi.emit(Kn,Ze),window.dispatchEvent){const ot=new Event("languagechange");window.dispatchEvent(ot)}}})()};let fr=!0;const Tr=(Ze,qe)=>(fr&&(warning(!1,`Using this API will cause automatic refresh when switching languages, please use useIntl or injectIntl.
|
|
|
|
|
|
\u4F7F\u7528\u6B64 api \u4F1A\u9020\u6210\u5207\u6362\u8BED\u8A00\u7684\u65F6\u5019\u65E0\u6CD5\u81EA\u52A8\u5237\u65B0\uFF0C\u8BF7\u4F7F\u7528 useIntl \u6216 injectIntl\u3002
|
|
|
|
|
|
http://j.mp/37Fkd5Q
|
|
|
`),fr=!1),st||rt(Ot()),st.formatMessage(Ze,qe)),$r=()=>Object.keys(_i)},6383:function(d,v,e){"use strict";e.d(v,{y:function(){return o}});var r=e(43418),i=e(95237),l=e(43604),c=e(4787),f=e(59301);const o=h=>new Promise((u,a)=>{if(window.RTCPeerConnection=window.RTCPeerConnection||window.mozRTCPeerConnection||window.webkitRTCPeerConnection,typeof window.RTCPeerConnection=="undefined")return a("WebRTC not supported by browser");let x=new RTCPeerConnection,p=[];x.createDataChannel(""),x.createOffer().then(y=>x.setLocalDescription(y)).catch(y=>a(y)),x.onicecandidate=y=>{console.log("event:",y);const _=[];if(!y||!y.candidate){if(console.log("ips",p),p.length==0||!(0,c.t)(p[0])){const W=r.default.info({title:f.createElement(i.Z,null,f.createElement(l.Z,{flex:"1"},"\u63D0\u793A"),f.createElement(l.Z,null,f.createElement("span",{className:"iconfont icon-yiguanbi1 current c-grey-c",onClick:()=>W.destroy()}))),icon:null,width:500,className:"custom-modal-divider",content:f.createElement(i.Z,null,f.createElement(l.Z,null,"\u5F53\u524D\u8003\u8BD5\u5DF2\u542F\u7528\u9650\u5236\u8003\u8BD5\u8BBF\u95EEIP\uFF08\u9650\u5236\u516C\u5171IP+\u5185\u7F51IP\uFF09\u3002",(h.ip_limit==="inner"||h.ip_bind)&&f.createElement(f.Fragment,null,f.createElement("span",{className:"c-red"},"\uFF08\u53EA\u5141\u8BB8\u5728Chrome\u8C37\u6B4C\u6D4F\u89C8\u5668\u4F5C\u7B54\uFF0C\u5E76\u4E14\u9700\u8981\u5B89\u88C5WebRTC Leak Prevent\u63D2\u4EF6\uFF09"),f.createElement("br",null),f.createElement(Button,{onClick:showInstallWebRtcDoc,type:"link"},"\u5982\u4F55\u5B89\u88C5WebRTC Leak Prevent\u63D2\u4EF6?"))))});return a("WebRTC disabled or restricted by browser")}const G=p.filter(W=>(0,c.t)(W));return!G||!G.length?a("IP\u83B7\u53D6\u5931\u8D25"):u(G.join(""))}let b=y.candidate.candidate.split(" "),[A,k,R,C,D,M,,B,...N]=b,K=["rtp","rtpc"];if(console.log("event:",y),p.some(G=>G==D)||p.push(D),console.log(" candidate: "+A.split(":")[1]),console.log(" component: "+K[k-1]),console.log(" protocol: "+R),console.log(" priority: "+C),console.log(" ip: "+D),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])}}})},28426:function(d,v,e){"use strict";var r=e(59301),i=e(4977),l=e(3113),c=Object.defineProperty,f=Object.defineProperties,o=Object.getOwnPropertyDescriptors,h=Object.getOwnPropertySymbols,u=Object.prototype.hasOwnProperty,a=Object.prototype.propertyIsEnumerable,x=(b,A,k)=>A in b?c(b,A,{enumerable:!0,configurable:!0,writable:!0,value:k}):b[A]=k,p=(b,A)=>{for(var k in A||(A={}))u.call(A,k)&&x(b,k,A[k]);if(h)for(var k of h(A))a.call(A,k)&&x(b,k,A[k]);return b},y=(b,A)=>f(b,o(A));const _=({img:b,buttonProps:A={},styles:k={},customText:R,ButtonText:C,ButtonClick:D,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!"),C&&r.createElement(l.ZP,p({className:M,onClick:D},A),C),B&&B);v.Z=_},75617:function(d,v,e){"use strict";e.d(v,{Z:function(){return se}});var r=e(59301),i={wrp:"wrp___dq7YK",bgBlack:"bgBlack___ARIUV",monaco:"monaco___VnZC3",darkBlue:"darkBlue___UprA9",close:"close___LKoWu",embed:"embed___hvpEJ"},l=e(3113),c=e(14809),f={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M862 465.3h-81c-4.6 0-9 2-12.1 5.5L550 723.1V160c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v563.1L255.1 470.8c-3-3.5-7.4-5.5-12.1-5.5h-81c-6.8 0-10.5 8.1-6 13.2L487.9 861a31.96 31.96 0 0048.3 0L868 478.5c4.5-5.2.8-13.2-6-13.2z"}}]},name:"arrow-down",theme:"outlined"},o=f,h=e(7657),u=function(le,q){return r.createElement(h.Z,(0,c.Z)({},le,{ref:q,icon:o}))},a=r.forwardRef(u),x=a,p=e(75975),y=e(6848),_=e(51257),b=e(81722),A=e(28426),k=e(346),R=e(44203),C=e(59301),D=Object.defineProperty,M=Object.getOwnPropertySymbols,B=Object.prototype.hasOwnProperty,N=Object.prototype.propertyIsEnumerable,K=(ie,le,q)=>le in ie?D(ie,le,{enumerable:!0,configurable:!0,writable:!0,value:q}):ie[le]=q,G=(ie,le)=>{for(var q in le||(le={}))B.call(le,q)&&K(ie,q,le[q]);if(M)for(var q of M(le))N.call(le,q)&&K(ie,q,le[q]);return ie},W=(ie,le,q)=>new Promise((J,V)=>{var ue=ce=>{try{Q(q.next(ce))}catch(z){V(z)}},ee=ce=>{try{Q(q.throw(ce))}catch(z){V(z)}},Q=ce=>ce.done?J(ce.value):Promise.resolve(ce.value).then(ue,ee);Q((q=q.apply(ie,le)).next())}),se=({editOffice:ie="view",data:le,theme:q,type:J,filename:V,monacoEditor:ue,className:ee,style:Q,close:ce,onClose:z,hasMask:$,disabledDownload:ae,onImgDimensions:_e,showNodata:De,recordInfo:ke})=>{const[He,$e]=(0,r.useState)("https://view.officeapps.live.com/op/view.aspx?src=http://testgs.educoder.net//rails/active_storage/blobs/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBCZz09IiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--03541f6234b93d7ac3b2d84e7eb0e6594a952945/1.ppt"),[Bt,gt]=(0,r.useState)(""),[Dt,nr]=(0,r.useState)(),Xt=window.ENV==="build"?"/react/build":"",cr=location.host.startsWith("localhost")?k.Z.PROXY_SERVER:k.Z.API_SERVER,Tt=10*(1024*1024),Ut=(0,r.useRef)();le!=null&&le.startsWith("/api")&&J!=="txt"&&(le=k.Z.API_SERVER+le);const at=Ue=>Ue.substring(Ue.lastIndexOf("/")+1).split(".").pop();V&&ue&&(ue.filename=V),(0,r.useEffect)(()=>{var Ue,ye;const Ce=(ye=(Ue=document.cookie)==null?void 0:Ue.replace(/\s/g,""))==null?void 0:ye.split(";");Ce==null||Ce.map(Me=>{let je=Me.split("=");je[0]==="_educoder_session"&>(je[1])})},[]),(0,r.useEffect)(()=>{J==="office"&&(le.indexOf("bigfilescdn.")>-1||le.indexOf("bigfiles1")>-1?nr({url:le,fileType:at(le),model:le.indexOf("model=edit")?"edit":"view"}):bt())},[J,le]);const bt=()=>W(void 0,null,function*(){console.log("data:",le);let Ue=le;le.startsWith("http")||(Ue=location.origin+Ue);let ye=new URL(Ue).pathname.split("/").pop();const Ce=yield(0,b.gJ)({attachment_id:ye});Ce.url=cr+Ce.url,nr(Ce)}),dt=()=>{if(le.startsWith("http")||le.startsWith("blob:")){tt();return}(0,_.Nd)(V||"educoder",decodeURIComponent(le))},tt=()=>{ke&&(0,R.fc)({id:ke==null?void 0:ke.id,watch_type:1,course_id:ke==null?void 0:ke.course_id}),(0,_.Nd)(V||"educoder",decodeURIComponent(le))};return console.log(le,"data"),C.createElement("div",{style:G({},Q||{}),className:`${$&&i.bgBlack} ${J?i.wrp:"hide"}`},ce&&C.createElement("div",{className:i.close,ref:Ut},!!_e&&C.createElement(y.Z,{title:"\u70B9\u51FB\u5BF9\u56FE\u7247\u8FDB\u884C\u6279\u6CE8",getPopupContainer:()=>Ut.current},C.createElement("span",{onClick:()=>{z(),_e()}},C.createElement("i",{className:"icon-yulanpizhu"}))),!ae&&C.createElement(y.Z,{title:"\u70B9\u51FB\u4E0B\u8F7D\u6B64\u6587\u4EF6",getPopupContainer:()=>Ut.current},C.createElement("span",{onClick:tt},C.createElement("i",{className:"icon-quxiaozhiding"}))),C.createElement(y.Z,{title:"\u5173\u95ED",getPopupContainer:()=>Ut.current},C.createElement("span",{className:"",onClick:z},C.createElement("i",{className:"icon-guanbi1"})))),C.createElement("div",{className:`${i[ee]} ${ee} ${i.monaco} ${J==="txt"?"show":"hide"}`},J==="txt"&&C.createElement(C.Fragment,null,C.createElement(p.ZP,G({},ue)))),J==="audio"&&C.createElement("audio",{src:(le==null?void 0:le.indexOf("http"))>-1||le!=null&&le.startsWith("/api")?le:`data:image/png;base64,${le}`,autoPlay:!0}),J==="video"&&C.createElement(C.Fragment,null,(le==null?void 0:le.indexOf("http"))>-1||le!=null&&le.startsWith("/api")?C.createElement("video",{controls:!0,src:`${le}`,autoPlay:!0}):C.createElement("video",{controls:!0,src:`data:video/mp4;base64,${le}`,autoPlay:!0})),J==="office"&&Dt&&C.createElement("iframe",{src:`${Xt}/office.html?key=${Dt.key}&url=${btoa(Dt.url)}&callbackUrl=${cr+(Dt.callbackUrl||"")}&fileType=${Dt.fileType}&title=${Dt.title||""}&model=${ie}&officeServer=${k.Z.ONLYOFFICE}&disabledDownload=${!!ae}`}),J==="html"&&C.createElement("iframe",{src:le+"&disposition=inline"}),J==="pdf"&&C.createElement("iframe",{src:`${Xt}/js/pdfview/index.html?filename=${V||"educoder.pdf"}&url=${encodeURIComponent(le)}&disabledDownload=${!!ae}`}),J==="image"&&C.createElement("img",{src:(le==null?void 0:le.indexOf("http"))>-1||le!=null&&le.startsWith("/api")?le:`data:image/png;base64,${le}`}),(J==="other"||J==="download")&&C.createElement(C.Fragment,null,De?C.createElement(A.Z,{customText:"\u5F53\u524D\u6587\u4EF6\u4E0D\u652F\u6301\u9884\u89C8\uFF0C\u53EF\u70B9\u51FB\u4E0B\u8F7D\u67E5\u770B",ButtonTwo:C.createElement(l.ZP,{icon:C.createElement("i",{className:"iconfont icon-xiazai4 font14"}),type:"primary",size:"middle",onClick:dt,disabled:ae},"\u4E0B\u8F7D")}):C.createElement(l.ZP,{type:"primary",size:"middle",onClick:dt,disabled:ae},C.createElement(x,null),"\u70B9\u51FB\u4E0B\u8F7D")))}},91842:function(d,v,e){"use strict";e.d(v,{z:function(){return G},Z:function(){return W}});var r=e(59301),i=e(8944),l=e(81428),c=e(64018),f=e(81168),o=e(346),h=e(51257),u=e(15342),a=e(1012),x=e(75617),p=e(59301),_=({html:se})=>{const ie=(0,r.useRef)(null),le=(0,r.useRef)(null),q=`.markdown-body p {
|
|
|
margin: 0 0 16px 0 !important;
|
|
|
line-height: 28px;
|
|
|
white-space: pre-wrap;
|
|
|
}
|
|
|
|
|
|
ol,
|
|
|
ul,
|
|
|
li {
|
|
|
list-style-type: none
|
|
|
}
|
|
|
|
|
|
ol,
|
|
|
ul,
|
|
|
dl {
|
|
|
margin-bottom: 0px;
|
|
|
}
|
|
|
|
|
|
.markdown-body {
|
|
|
-ms-text-size-adjust: 100%;
|
|
|
-webkit-text-size-adjust: 100%;
|
|
|
color: #333;
|
|
|
overflow: hidden;
|
|
|
font-family: "Microsoft YaHei", Helvetica, "Meiryo UI", "Malgun Gothic", "Segoe UI", "Trebuchet MS", "Monaco", monospace, Tahoma, STXihei, "\u534E\u6587\u7EC6\u9ED1", STHeiti, "Helvetica Neue", "Droid Sans", "wenquanyi micro hei", FreeSans, Arimo, Arial, SimSun, "\u5B8B\u4F53", Heiti, "\u9ED1\u4F53", sans-serif;
|
|
|
word-break: break-word;
|
|
|
font-size: 16px;
|
|
|
line-height: 1.6;
|
|
|
white-space: normal;
|
|
|
word-wrap: break-word;
|
|
|
position: relative;
|
|
|
}
|
|
|
|
|
|
.markdown-body ul>li {
|
|
|
list-style-type: disc;
|
|
|
}
|
|
|
|
|
|
.markdown-body ol>li {
|
|
|
list-style-type: decimal;
|
|
|
}
|
|
|
|
|
|
.markdown-body a {
|
|
|
background: transparent;
|
|
|
}
|
|
|
|
|
|
.markdown-body a:active,
|
|
|
.markdown-body a:hover {
|
|
|
outline: 0;
|
|
|
}
|
|
|
|
|
|
.markdown-body strong {
|
|
|
font-weight: bold;
|
|
|
}
|
|
|
|
|
|
.markdown-body h1 {
|
|
|
font-size: 2em;
|
|
|
margin: 0.67em 0;
|
|
|
}
|
|
|
|
|
|
.markdown-body img {
|
|
|
border: 0;
|
|
|
}
|
|
|
|
|
|
.markdown-body hr {
|
|
|
-moz-box-sizing: content-box;
|
|
|
box-sizing: content-box;
|
|
|
height: 0;
|
|
|
}
|
|
|
|
|
|
.markdown-body pre {
|
|
|
overflow: auto;
|
|
|
}
|
|
|
|
|
|
.markdown-body code,
|
|
|
.markdown-body kbd,
|
|
|
.markdown-body pre {
|
|
|
font-family: "Meiryo UI", "YaHei Consolas Hybrid", Consolas, "Malgun Gothic", "Segoe UI", "Trebuchet MS", Helvetica, monospace, monospace;
|
|
|
font-size: 1em;
|
|
|
}
|
|
|
|
|
|
.markdown-body input {
|
|
|
color: inherit;
|
|
|
font: inherit;
|
|
|
margin: 0;
|
|
|
}
|
|
|
|
|
|
.markdown-body html input[disabled] {
|
|
|
cursor: default;
|
|
|
}
|
|
|
|
|
|
.markdown-body input {
|
|
|
line-height: normal;
|
|
|
}
|
|
|
|
|
|
.markdown-body input[type="checkbox"] {
|
|
|
-moz-box-sizing: border-box;
|
|
|
box-sizing: border-box;
|
|
|
padding: 0;
|
|
|
}
|
|
|
|
|
|
.markdown-body table {
|
|
|
border-collapse: collapse;
|
|
|
border-spacing: 0;
|
|
|
}
|
|
|
|
|
|
.markdown-body td,
|
|
|
.markdown-body th {
|
|
|
padding: 0;
|
|
|
}
|
|
|
|
|
|
.markdown-body * {
|
|
|
-moz-box-sizing: border-box;
|
|
|
box-sizing: border-box;
|
|
|
}
|
|
|
|
|
|
.markdown-body input {
|
|
|
font: 13px/1.4 Helvetica, arial, freesans, clean, sans-serif, "Segoe UI Emoji", "Segoe UI Symbol";
|
|
|
}
|
|
|
|
|
|
.markdown-body a {
|
|
|
color: #4183c4;
|
|
|
text-decoration: none;
|
|
|
}
|
|
|
|
|
|
.markdown-body a:hover,
|
|
|
.markdown-body a:active {
|
|
|
text-decoration: underline;
|
|
|
}
|
|
|
|
|
|
.markdown-body hr {
|
|
|
height: 0;
|
|
|
margin: 15px 0;
|
|
|
overflow: hidden;
|
|
|
background: transparent;
|
|
|
border: 0;
|
|
|
border-bottom: 1px solid #ddd;
|
|
|
}
|
|
|
|
|
|
.markdown-body hr:before {
|
|
|
display: table;
|
|
|
content: "";
|
|
|
}
|
|
|
|
|
|
.markdown-body hr:after {
|
|
|
display: table;
|
|
|
clear: both;
|
|
|
content: "";
|
|
|
}
|
|
|
|
|
|
.markdown-body h1,
|
|
|
.markdown-body h2,
|
|
|
.markdown-body h3,
|
|
|
.markdown-body h4,
|
|
|
.markdown-body h5,
|
|
|
.markdown-body h6 {
|
|
|
margin-top: 15px;
|
|
|
margin-bottom: 15px;
|
|
|
line-height: 1.1;
|
|
|
}
|
|
|
|
|
|
.markdown-body h1 {
|
|
|
font-size: 30px;
|
|
|
}
|
|
|
|
|
|
.markdown-body h2 {
|
|
|
font-size: 21px;
|
|
|
}
|
|
|
|
|
|
.markdown-body h3 {
|
|
|
font-size: 16px;
|
|
|
}
|
|
|
|
|
|
.markdown-body h4 {
|
|
|
font-size: 14px;
|
|
|
}
|
|
|
|
|
|
.markdown-body h5 {
|
|
|
font-size: 12px;
|
|
|
}
|
|
|
|
|
|
.markdown-body h6 {
|
|
|
font-size: 11px;
|
|
|
}
|
|
|
|
|
|
.markdown-body blockquote {
|
|
|
margin: 0;
|
|
|
}
|
|
|
|
|
|
.markdown-body ul,
|
|
|
.markdown-body ol {
|
|
|
padding: 0;
|
|
|
margin-top: 0;
|
|
|
margin-bottom: 0;
|
|
|
}
|
|
|
|
|
|
ul.linenums,
|
|
|
ol.linenums {
|
|
|
padding: 16px 0 0 36px !important;
|
|
|
}
|
|
|
|
|
|
.markdown-body ul,
|
|
|
.markdown-body ol {
|
|
|
padding-left: 2em;
|
|
|
}
|
|
|
|
|
|
|
|
|
.markdown-body ol ol,
|
|
|
.markdown-body ul ol {
|
|
|
list-style-type: lower-roman;
|
|
|
}
|
|
|
|
|
|
.markdown-body ul ul ol,
|
|
|
.markdown-body ul ol ol,
|
|
|
.markdown-body ol ul ol,
|
|
|
.markdown-body ol ol ol {
|
|
|
list-style-type: lower-alpha;
|
|
|
}
|
|
|
|
|
|
.markdown-body dd {
|
|
|
margin-left: 0;
|
|
|
}
|
|
|
|
|
|
.markdown-body code {
|
|
|
font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace;
|
|
|
font-size: 12px;
|
|
|
}
|
|
|
|
|
|
.markdown-body pre {
|
|
|
margin-top: 0;
|
|
|
margin-bottom: 0;
|
|
|
font: 12px Consolas, "Liberation Mono", Menlo, Courier, monospace;
|
|
|
}
|
|
|
|
|
|
.markdown-body .octicon {
|
|
|
font: normal normal 16px octicons-anchor;
|
|
|
line-height: 1;
|
|
|
display: inline-block;
|
|
|
text-decoration: none;
|
|
|
-webkit-font-smoothing: antialiased;
|
|
|
-moz-osx-font-smoothing: grayscale;
|
|
|
-webkit-user-select: none;
|
|
|
-moz-user-select: none;
|
|
|
-ms-user-select: none;
|
|
|
user-select: none;
|
|
|
}
|
|
|
|
|
|
.markdown-body .octicon-link:before {
|
|
|
content: '\f05c';
|
|
|
}
|
|
|
|
|
|
.markdown-body>*:first-child {
|
|
|
margin-top: 0 !important;
|
|
|
}
|
|
|
|
|
|
.markdown-body>*:last-child {
|
|
|
margin-bottom: 0 !important;
|
|
|
}
|
|
|
|
|
|
.markdown-body .anchor {
|
|
|
position: absolute;
|
|
|
top: 0;
|
|
|
left: 0;
|
|
|
display: block;
|
|
|
padding-right: 6px;
|
|
|
padding-left: 30px;
|
|
|
margin-left: -30px;
|
|
|
}
|
|
|
|
|
|
.markdown-body .anchor:focus {
|
|
|
outline: none;
|
|
|
}
|
|
|
|
|
|
.markdown-body h1,
|
|
|
.markdown-body h2,
|
|
|
.markdown-body h3,
|
|
|
.markdown-body h4,
|
|
|
.markdown-body h5,
|
|
|
.markdown-body h6 {
|
|
|
position: relative;
|
|
|
margin-top: 1em;
|
|
|
margin-bottom: 16px;
|
|
|
font-weight: bold;
|
|
|
line-height: 1.4;
|
|
|
}
|
|
|
|
|
|
.markdown-body h1 .octicon-link,
|
|
|
.markdown-body h2 .octicon-link,
|
|
|
.markdown-body h3 .octicon-link,
|
|
|
.markdown-body h4 .octicon-link,
|
|
|
.markdown-body h5 .octicon-link,
|
|
|
.markdown-body h6 .octicon-link {
|
|
|
display: none;
|
|
|
color: #000;
|
|
|
vertical-align: middle;
|
|
|
}
|
|
|
|
|
|
.markdown-body h1:hover .anchor,
|
|
|
.markdown-body h2:hover .anchor,
|
|
|
.markdown-body h3:hover .anchor,
|
|
|
.markdown-body h4:hover .anchor,
|
|
|
.markdown-body h5:hover .anchor,
|
|
|
.markdown-body h6:hover .anchor {
|
|
|
padding-left: 8px;
|
|
|
margin-left: -30px;
|
|
|
text-decoration: none;
|
|
|
}
|
|
|
|
|
|
.markdown-body h1:hover .anchor .octicon-link,
|
|
|
.markdown-body h2:hover .anchor .octicon-link,
|
|
|
.markdown-body h3:hover .anchor .octicon-link,
|
|
|
.markdown-body h4:hover .anchor .octicon-link,
|
|
|
.markdown-body h5:hover .anchor .octicon-link,
|
|
|
.markdown-body h6:hover .anchor .octicon-link {
|
|
|
display: inline-block;
|
|
|
}
|
|
|
|
|
|
.markdown-body h1 {
|
|
|
padding-bottom: 0.3em;
|
|
|
font-size: 2.25em;
|
|
|
line-height: 1.2;
|
|
|
border-bottom: 1px solid #eee;
|
|
|
}
|
|
|
|
|
|
.markdown-body h1 .anchor {
|
|
|
line-height: 1;
|
|
|
}
|
|
|
|
|
|
.markdown-body h2 {
|
|
|
padding-bottom: 0.3em;
|
|
|
font-size: 1.75em;
|
|
|
line-height: 1.225;
|
|
|
border-bottom: 1px solid #eee;
|
|
|
}
|
|
|
|
|
|
.markdown-body h2 .anchor {
|
|
|
line-height: 1;
|
|
|
}
|
|
|
|
|
|
.markdown-body h3 {
|
|
|
font-size: 1.5em;
|
|
|
line-height: 1.43;
|
|
|
}
|
|
|
|
|
|
.markdown-body h3 .anchor {
|
|
|
line-height: 1.2;
|
|
|
}
|
|
|
|
|
|
.markdown-body h4 {
|
|
|
font-size: 1.25em;
|
|
|
}
|
|
|
|
|
|
.markdown-body h4 .anchor {
|
|
|
line-height: 1.2;
|
|
|
}
|
|
|
|
|
|
.markdown-body h5 {
|
|
|
font-size: 1em;
|
|
|
}
|
|
|
|
|
|
.markdown-body h5 .anchor {
|
|
|
line-height: 1.1;
|
|
|
}
|
|
|
|
|
|
.markdown-body h6 {
|
|
|
font-size: 1em;
|
|
|
color: #777;
|
|
|
}
|
|
|
|
|
|
.markdown-body h6 .anchor {
|
|
|
line-height: 1.1;
|
|
|
}
|
|
|
|
|
|
.markdown-body p,
|
|
|
.markdown-body blockquote,
|
|
|
.markdown-body ul,
|
|
|
.markdown-body ol,
|
|
|
.markdown-body dl,
|
|
|
.markdown-body table,
|
|
|
.markdown-body pre {
|
|
|
margin-top: 0;
|
|
|
margin-bottom: 16px;
|
|
|
}
|
|
|
|
|
|
.markdown-body ul ul,
|
|
|
.markdown-body ul ol,
|
|
|
.markdown-body ol ol,
|
|
|
.markdown-body ol ul {
|
|
|
margin-top: 0;
|
|
|
margin-bottom: 0;
|
|
|
}
|
|
|
|
|
|
.markdown-body li>p {
|
|
|
margin-top: 16px;
|
|
|
}
|
|
|
|
|
|
.markdown-body dl {
|
|
|
padding: 0;
|
|
|
}
|
|
|
|
|
|
.markdown-body dl dt {
|
|
|
padding: 0;
|
|
|
margin-top: 16px;
|
|
|
font-size: 1em;
|
|
|
font-style: italic;
|
|
|
font-weight: bold;
|
|
|
}
|
|
|
|
|
|
.markdown-body dl dd {
|
|
|
padding: 0 16px;
|
|
|
margin-bottom: 16px;
|
|
|
}
|
|
|
|
|
|
.markdown-body blockquote {
|
|
|
padding: 0 15px;
|
|
|
color: #777;
|
|
|
border-left: 4px solid #ddd;
|
|
|
}
|
|
|
|
|
|
.markdown-body blockquote> :first-child {
|
|
|
margin-top: 0;
|
|
|
}
|
|
|
|
|
|
.markdown-body blockquote> :last-child {
|
|
|
margin-bottom: 0;
|
|
|
}
|
|
|
|
|
|
.markdown-body table {
|
|
|
display: block;
|
|
|
width: 100%;
|
|
|
overflow: auto;
|
|
|
word-break: normal;
|
|
|
word-break: keep-all;
|
|
|
}
|
|
|
|
|
|
.markdown-body table th {
|
|
|
font-weight: bold;
|
|
|
text-align: revert;
|
|
|
}
|
|
|
|
|
|
.markdown-body table th,
|
|
|
.markdown-body table td {
|
|
|
padding: 6px 13px;
|
|
|
border: 1px solid #ddd;
|
|
|
}
|
|
|
|
|
|
.markdown-body table tr {
|
|
|
background-color: #fff;
|
|
|
border-top: 1px solid #ccc;
|
|
|
}
|
|
|
|
|
|
.markdown-body table tr:nth-child(2n) {
|
|
|
background-color: #f8f8f8;
|
|
|
}
|
|
|
|
|
|
.markdown-body img {
|
|
|
max-width: 100%;
|
|
|
-moz-box-sizing: border-box;
|
|
|
box-sizing: border-box;
|
|
|
}
|
|
|
|
|
|
.markdown-body code {
|
|
|
padding: 0;
|
|
|
padding-top: 0.2em;
|
|
|
padding-bottom: 0.2em;
|
|
|
margin: 0;
|
|
|
font-size: 85%;
|
|
|
background-color: rgba(0, 0, 0, 0.04);
|
|
|
border-radius: 3px;
|
|
|
}
|
|
|
|
|
|
.markdown-body code:has(.katex) {
|
|
|
background-color: transparent;
|
|
|
}
|
|
|
|
|
|
.markdown-body code:before,
|
|
|
.markdown-body code:after {
|
|
|
letter-spacing: -0.2em;
|
|
|
content: "\\00a0";
|
|
|
}
|
|
|
|
|
|
.markdown-body pre>code {
|
|
|
padding: 0;
|
|
|
margin: 0;
|
|
|
font-size: 100%;
|
|
|
word-break: normal;
|
|
|
white-space: pre;
|
|
|
background: transparent;
|
|
|
border: 0;
|
|
|
}
|
|
|
|
|
|
.markdown-body .highlight {
|
|
|
margin-bottom: 16px;
|
|
|
}
|
|
|
|
|
|
.markdown-body .highlight pre,
|
|
|
.markdown-body pre {
|
|
|
padding: 16px;
|
|
|
overflow: auto;
|
|
|
font-size: 85%;
|
|
|
line-height: 1.45;
|
|
|
background-color: #f7f7f7;
|
|
|
border-radius: 3px;
|
|
|
}
|
|
|
|
|
|
.markdown-body .highlight pre {
|
|
|
margin-bottom: 0;
|
|
|
word-break: normal;
|
|
|
}
|
|
|
|
|
|
.markdown-body pre {
|
|
|
word-wrap: normal;
|
|
|
}
|
|
|
|
|
|
.markdown-body pre code {
|
|
|
display: inline;
|
|
|
max-width: initial;
|
|
|
padding: 0;
|
|
|
margin: 0;
|
|
|
overflow: initial;
|
|
|
line-height: inherit;
|
|
|
word-wrap: normal;
|
|
|
background-color: transparent;
|
|
|
border: 0;
|
|
|
}
|
|
|
|
|
|
.markdown-body pre code:before,
|
|
|
.markdown-body pre code:after {
|
|
|
content: normal;
|
|
|
}
|
|
|
|
|
|
.markdown-body kbd {
|
|
|
display: inline-block;
|
|
|
padding: 3px 5px;
|
|
|
font-size: 11px;
|
|
|
line-height: 10px;
|
|
|
color: #555;
|
|
|
vertical-align: middle;
|
|
|
background-color: #fcfcfc;
|
|
|
border: solid 1px #ccc;
|
|
|
border-bottom-color: #bbb;
|
|
|
border-radius: 3px;
|
|
|
box-shadow: inset 0 -1px 0 #bbb;
|
|
|
}
|
|
|
|
|
|
.markdown-body .pl-c {
|
|
|
color: #969896;
|
|
|
}
|
|
|
|
|
|
.markdown-body .pl-c1,
|
|
|
.markdown-body .pl-mdh,
|
|
|
.markdown-body .pl-mm,
|
|
|
.markdown-body .pl-mp,
|
|
|
.markdown-body .pl-mr,
|
|
|
.markdown-body .pl-s1 .pl-v,
|
|
|
.markdown-body .pl-s3,
|
|
|
.markdown-body .pl-sc,
|
|
|
.markdown-body .pl-sv {
|
|
|
color: #0086b3;
|
|
|
}
|
|
|
|
|
|
.markdown-body .pl-e,
|
|
|
.markdown-body .pl-en {
|
|
|
color: #795da3;
|
|
|
}
|
|
|
|
|
|
.markdown-body .pl-s1 .pl-s2,
|
|
|
.markdown-body .pl-smi,
|
|
|
.markdown-body .pl-smp,
|
|
|
.markdown-body .pl-stj,
|
|
|
.markdown-body .pl-vo,
|
|
|
.markdown-body .pl-vpf {
|
|
|
color: #333;
|
|
|
}
|
|
|
|
|
|
.markdown-body .pl-ent {
|
|
|
color: #63a35c;
|
|
|
}
|
|
|
|
|
|
.markdown-body .pl-k,
|
|
|
.markdown-body .pl-s,
|
|
|
.markdown-body .pl-st {
|
|
|
color: #a71d5d;
|
|
|
}
|
|
|
|
|
|
.markdown-body .pl-pds,
|
|
|
.markdown-body .pl-s1,
|
|
|
.markdown-body .pl-s1 .pl-pse .pl-s2,
|
|
|
.markdown-body .pl-sr,
|
|
|
.markdown-body .pl-sr .pl-cce,
|
|
|
.markdown-body .pl-sr .pl-sra,
|
|
|
.markdown-body .pl-sr .pl-sre,
|
|
|
.markdown-body .pl-src {
|
|
|
color: #df5000;
|
|
|
}
|
|
|
|
|
|
.markdown-body .pl-mo,
|
|
|
.markdown-body .pl-v {
|
|
|
color: #1d3e81;
|
|
|
}
|
|
|
|
|
|
.markdown-body .pl-id {
|
|
|
color: #b52a1d;
|
|
|
}
|
|
|
|
|
|
.markdown-body .pl-ii {
|
|
|
background-color: #b52a1d;
|
|
|
color: #f8f8f8;
|
|
|
}
|
|
|
|
|
|
.markdown-body .pl-sr .pl-cce {
|
|
|
color: #63a35c;
|
|
|
font-weight: bold;
|
|
|
}
|
|
|
|
|
|
.markdown-body .pl-ml {
|
|
|
color: #693a17;
|
|
|
}
|
|
|
|
|
|
.markdown-body .pl-mh,
|
|
|
.markdown-body .pl-mh .pl-en,
|
|
|
.markdown-body .pl-ms {
|
|
|
color: #1d3e81;
|
|
|
font-weight: bold;
|
|
|
}
|
|
|
|
|
|
.markdown-body .pl-mq {
|
|
|
color: #008080;
|
|
|
}
|
|
|
|
|
|
.markdown-body .pl-mi {
|
|
|
color: #333;
|
|
|
font-style: italic;
|
|
|
}
|
|
|
|
|
|
.markdown-body .pl-mb {
|
|
|
color: #333;
|
|
|
font-weight: bold;
|
|
|
}
|
|
|
|
|
|
.markdown-body .pl-md,
|
|
|
.markdown-body .pl-mdhf {
|
|
|
background-color: #ffecec;
|
|
|
color: #bd2c00;
|
|
|
}
|
|
|
|
|
|
.markdown-body .pl-mdht,
|
|
|
.markdown-body .pl-mi1 {
|
|
|
background-color: #eaffea;
|
|
|
color: #55a532;
|
|
|
}
|
|
|
|
|
|
.markdown-body .pl-mdr {
|
|
|
color: #795da3;
|
|
|
font-weight: bold;
|
|
|
}
|
|
|
|
|
|
.markdown-body kbd {
|
|
|
display: inline-block;
|
|
|
padding: 3px 5px;
|
|
|
font: 11px Consolas, "Liberation Mono", Menlo, Courier, monospace;
|
|
|
line-height: 10px;
|
|
|
color: #555;
|
|
|
vertical-align: middle;
|
|
|
background-color: #fcfcfc;
|
|
|
border: solid 1px #ccc;
|
|
|
border-bottom-color: #bbb;
|
|
|
border-radius: 3px;
|
|
|
box-shadow: inset 0 -1px 0 #bbb;
|
|
|
}
|
|
|
|
|
|
.markdown-body .task-list-item {
|
|
|
list-style-type: none;
|
|
|
}
|
|
|
|
|
|
.markdown-body .task-list-item+.task-list-item {
|
|
|
margin-top: 3px;
|
|
|
}
|
|
|
|
|
|
.markdown-body .task-list-item input {
|
|
|
float: left;
|
|
|
margin: 0.3em 0 0.25em -1.6em;
|
|
|
vertical-align: middle;
|
|
|
}
|
|
|
|
|
|
.markdown-body :checked+.radio-label {
|
|
|
z-index: 1;
|
|
|
position: relative;
|
|
|
border-color: #4183c4;
|
|
|
}
|
|
|
|
|
|
|
|
|
/*! Pretty printing styles. Used with prettify.js. */
|
|
|
/* SPAN elements with the classes below are added by prettyprint. */
|
|
|
.pln {
|
|
|
color: #000
|
|
|
}
|
|
|
|
|
|
/* plain text */
|
|
|
|
|
|
@media screen {
|
|
|
.str {
|
|
|
color: #080
|
|
|
}
|
|
|
|
|
|
/* string content */
|
|
|
.kwd {
|
|
|
color: #008
|
|
|
}
|
|
|
|
|
|
/* a keyword */
|
|
|
.com {
|
|
|
color: #800
|
|
|
}
|
|
|
|
|
|
/* a comment */
|
|
|
.typ {
|
|
|
color: #606
|
|
|
}
|
|
|
|
|
|
/* a type name */
|
|
|
.lit {
|
|
|
color: #066
|
|
|
}
|
|
|
|
|
|
/* a literal value */
|
|
|
/* punctuation, lisp open bracket, lisp close bracket */
|
|
|
.pun,
|
|
|
.opn,
|
|
|
.clo {
|
|
|
color: #660
|
|
|
}
|
|
|
|
|
|
.tag {
|
|
|
color: #008
|
|
|
}
|
|
|
|
|
|
/* a markup tag name */
|
|
|
.atn {
|
|
|
color: #606
|
|
|
}
|
|
|
|
|
|
/* a markup attribute name */
|
|
|
.atv {
|
|
|
color: #080
|
|
|
}
|
|
|
|
|
|
/* a markup attribute value */
|
|
|
.dec,
|
|
|
.var {
|
|
|
color: #606
|
|
|
}
|
|
|
|
|
|
/* a declaration; a variable name */
|
|
|
.fun {
|
|
|
color: red
|
|
|
}
|
|
|
|
|
|
/* a function name */
|
|
|
}
|
|
|
|
|
|
/* Use higher contrast and text-weight for printable form. */
|
|
|
@media print,
|
|
|
projection {
|
|
|
.str {
|
|
|
color: #060
|
|
|
}
|
|
|
|
|
|
.kwd {
|
|
|
color: #006;
|
|
|
font-weight: bold
|
|
|
}
|
|
|
|
|
|
.com {
|
|
|
color: #600;
|
|
|
font-style: italic
|
|
|
}
|
|
|
|
|
|
.typ {
|
|
|
color: #404;
|
|
|
font-weight: bold
|
|
|
}
|
|
|
|
|
|
.lit {
|
|
|
color: #044
|
|
|
}
|
|
|
|
|
|
.pun,
|
|
|
.opn,
|
|
|
.clo {
|
|
|
color: #440
|
|
|
}
|
|
|
|
|
|
.tag {
|
|
|
color: #006;
|
|
|
font-weight: bold
|
|
|
}
|
|
|
|
|
|
.atn {
|
|
|
color: #404
|
|
|
}
|
|
|
|
|
|
.atv {
|
|
|
color: #060
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/* Put a border around prettyprinted code snippets. */
|
|
|
pre.prettyprint {
|
|
|
padding: 2px;
|
|
|
/* border: 1px solid #888 */
|
|
|
}
|
|
|
|
|
|
/* Specify class=linenums on a pre to get line numbering */
|
|
|
ol.linenums {
|
|
|
margin-top: 0;
|
|
|
margin-bottom: 0
|
|
|
}
|
|
|
|
|
|
/* IE indents via margin-left */
|
|
|
li.L0,
|
|
|
li.L1,
|
|
|
li.L2,
|
|
|
li.L3,
|
|
|
li.L5,
|
|
|
li.L6,
|
|
|
li.L7,
|
|
|
li.L8 {
|
|
|
list-style-type: none
|
|
|
}
|
|
|
|
|
|
/* Alternate shading for lines */
|
|
|
li.L1,
|
|
|
li.L3,
|
|
|
li.L5,
|
|
|
li.L7,
|
|
|
li.L9 {
|
|
|
background: #eee
|
|
|
}
|
|
|
|
|
|
.markdown-body p,
|
|
|
.markdown-body blockquote,
|
|
|
.markdown-body ul,
|
|
|
.markdown-body ol,
|
|
|
.markdown-body dl,
|
|
|
.markdown-body table,
|
|
|
.markdown-body pre {
|
|
|
margin-top: 0;
|
|
|
margin-bottom: 16px;
|
|
|
}`;return(0,r.useEffect)(()=>{const J=ie.current.attachShadow({mode:"open"});le.current=document.createElement("div"),le.current.className="markdown-body",le.current.innerHTML=se,J.appendChild(le.current);const V=document.createElement("style");return V.textContent=q,J.appendChild(V),()=>{J.innerHTML=""}},[]),(0,r.useEffect)(()=>{le.current&&(le.current.innerHTML=se)},[se]),p.createElement("div",{ref:ie})},b=Object.defineProperty,A=Object.getOwnPropertySymbols,k=Object.prototype.hasOwnProperty,R=Object.prototype.propertyIsEnumerable,C=(se,ie,le)=>ie in se?b(se,ie,{enumerable:!0,configurable:!0,writable:!0,value:le}):se[ie]=le,D=(se,ie)=>{for(var le in ie||(ie={}))k.call(ie,le)&&C(se,le,ie[le]);if(A)for(var le of A(ie))R.call(ie,le)&&C(se,le,ie[le]);return se};const M="@\u2581\u2581@",B="@\u2581@",N=/<pre[^>]*>/g;function K(se){let ie=document.createElement("div");return ie.innerHTML=se,ie.childNodes.length===0?"":ie.childNodes[0].nodeValue}const G=(se,ie)=>{se=se||"";const le=/(?: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 ie?se.replaceAll("https://www.educoder.net","").replaceAll("https://www-cdn.educoder.net","").replaceAll("//api/attachments","/api/attachments").replace(le,(ue,ee,Q,ce,z,$,ae)=>{const _e=ee||ce||$,De=Q||z||ae||"?";return o.Z.API_SERVER+"/api/attachments/"+_e+De+"&t="+(0,h.Jn)(_e,Date.now())+(ue.indexOf(")")>-1?")":"&")}).replaceAll('src="(','src="').replaceAll("src='(",'src="'):(se=se.replace(V,(ue,ee,Q,ce,z,$,ae)=>{const _e=ee||ce||$,De=Q||z||ae||"?";return o.Z.API_SERVER+"/attachments/download/"+_e+De+"&t="+(0,h.Jn)(_e,Date.now())+(ue.indexOf(")")>-1?")":"&")}).replace(le,(ue,ee,Q,ce,z,$,ae)=>{const _e=ee||ce||$,De=Q||z||ae||"?";return o.Z.API_SERVER+"/api/attachments/"+_e+De+"&t="+(0,h.Jn)(_e,Date.now())+(ue.indexOf(")")>-1?")":"&")}).replace(q,(ue,ee,Q,ce,z)=>{const $=ee||ce,ae=Q||z||"";return'"'+o.Z.API_SERVER+"/api/attachments/"+$+ae+$+ae+"&t="+(0,h.Jn)($,Date.now())}).replace(J,(ue,ee,Q,ce,z)=>{const $=ee||ce,ae=Q||z||"";return"("+o.Z.API_SERVER+"/files/uploads/"+$+ae+$+ae+"&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,`
|
|
|
`),se)};var W=({value:se="",className:ie,showTextOnly:le,showLines:q,style:J={},stylesPrev:V={},highlightKeywords:ue,showProgramFill:ee,isProgramFill:Q,disabledFill:ce=!1,programFillValue:z,onFillChange:$=De=>{},onFillBlur:ae=()=>{},onFillFocus:_e=()=>{}})=>{let De=String(se);const[ke,He]=(0,r.useState)(""),[$e,Bt]=(0,r.useState)("office"),[gt,Dt]=(0,r.useState)([]),nr=(0,r.useRef)("a"+(0,a.Z)()),Xt={},cr=(je,We,nt)=>{const lt=document.createElement(je===B?"input":"textarea");lt.style.width="100%",lt.style.height=je===B?"40px":"151px",lt.rows=5,lt.spellcheck=!1,lt.name="edu-program-fill",lt.placeholder="\u8BF7\u8F93\u5165",lt.dataset.id=We;const Vt=Object.keys(Xt).length;return Xt[Vt]=lt,`<span class="edu-program-fill-wrap ${je===B?"":"show"}" style="width:${je===B?"400px":"100%"}" title=${nt||""}><span>${lt.outerHTML}<span class="edu-program-fill-score" style="margin:0 6px"></span></span></span>`};function Ge(je){return je=je.replace(/!\[.*?\]\(.*?\)/g,""),je=je.replace(/\[.*?\]\(.*?\)/g,""),je=je.replace(new RegExp("<iframe.*?<\\/iframe>","gs"),""),je=je.replace(/<embed.*?>/g,""),je=je.replace(/<img.*?>/g,""),je=je.replace(new RegExp("<video.*?>.*?<\\/video>","gs"),""),je=je.replace(new RegExp("<audio.*?>.*?<\\/audio>","gs"),""),je=je.replace(new RegExp("<style.*?>.*?<\\/style>","gs"),""),je=je.replace(new RegExp("<script.*?>.*?<\\/script>","gs"),""),je}const Tt=je=>je.replace(/<style.*?>([\s\S]+?)<\/style>/gim,function(We,nt){let lt=nt.replace(/(\n|\r)/g,"").split("}"),Vt=[];return lt.map(Ht=>{Ht!=""&&Vt.push(`.${nr.current} ${Ht}`)}),`<style>${Vt.join("}")}</style>`}),Ut=(0,r.useMemo)(()=>{try{const lt=/\(\s+\/api\/attachments\/|\(\/api\/attachments\//g,Vt=/\"\/api\/attachments\/|\"\/attachments\/download\//g,Ht=/\(\s+\/files\/uploads\/|\"\/files\/uploads\//g,Pe=/\(\/attachments\/download\//g;De=De.replace(Pe,"("+o.Z.API_SERVER+"/attachments/download/").replace(lt,"("+o.Z.API_SERVER+"/api/attachments/").replace(Vt,'"'+o.Z.API_SERVER+"/api/attachments/").replace(Ht,'"'+o.Z.API_SERVER+"/files/uploads/").replaceAll("http://video.educoder","https://video.educoder").replaceAll("http://www.educoder.net/api","https://data.educoder.net/api").replaceAll("https://www.educoder.net/api","https://data.educoder.net/api").replace(/\r\n/g,`
|
|
|
`)}catch(lt){}if(ee){let lt=-1;return De=De.replaceAll("<","<").replaceAll(">",">").replace(/(@▁▁@|@▁@)/g,function(Vt,Ht,Pe){var et;return++lt,cr(Vt,lt,(et=z==null?void 0:z[lt])==null?void 0:et.value.replaceAll("<","<").replaceAll(">",">"))}),`<pre style="background:#fff;padding:4px">${Tt(De||"")}</pre>`}let je=Tt(De);je=(0,l.ZP)(je);const We=(0,l.ez)();De.match(/\[TOC\]/)&&(je=je.replace("<p>[TOC]</p>",(0,l.Qv)()),(0,l.Iy)()),je=je.replace(/(__special_katext_id_\d+__)/g,(lt,Vt)=>{const{type:Ht,expression:Pe}=We[Vt];return(0,u.renderToString)(K(Pe)||"",{displayMode:Ht==="block",throwOnError:!1,output:"html"})}),je=je.replace(/▁/g,"\u2581\u2581\u2581\u2581\u2581"),(0,l.AL)();const nt=document.createElement("div");if(nt.innerHTML=je,le)return nt.innerText;if(ue){const lt=ue.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");return tt(nt,lt),nt.innerHTML}return setTimeout(()=>Ce(),500),nt.innerHTML},[De,ue]);(0,r.useEffect)(()=>{Ue.current&&Ue.current.querySelectorAll(["input","textarea"]).forEach(We=>{We.oninput=at,We.onblur=bt,We.onfocus=dt})},[gt]),(0,r.useEffect)(()=>{var je,We,nt,lt,Vt;if(z!=null&&z.length)try{const Ht=Ue.current.querySelectorAll(".edu-program-fill-score"),Pe=Ue.current.querySelectorAll('[name="edu-program-fill"]');for(const[et,Kt]of Pe.entries())Kt.value=((je=z==null?void 0:z[et])==null?void 0:je.value)||"",((We=z==null?void 0:z[et])==null?void 0:We.type)==="warning"?Kt.className="program-fill-warning":((nt=z==null?void 0:z[et])==null?void 0:nt.type)==="success"?Kt.className="program-fill-success":Kt.className="";for(const[et,Kt]of Ht.entries())Kt.innerHTML=(lt=z==null?void 0:z[et])!=null&<.score?`${(Vt=z==null?void 0:z[et])==null?void 0:Vt.score}\u5206`:"";Dt(z)}catch(Ht){console.log(Ht,"error")}},[z]);const at=je=>{gt[je.target.dataset.id]=gt[je.target.dataset.id]||{},gt[je.target.dataset.id].value=je.target.value,Dt([...gt]),$(gt,je.target.dataset.id)},bt=je=>{gt[je.target.dataset.id]=gt[je.target.dataset.id]||{},gt[je.target.dataset.id].value=je.target.value,Dt([...gt]),ae(gt,je.target.dataset.id)},dt=je=>{gt[je.target.dataset.id]=gt[je.target.dataset.id]||{},gt[je.target.dataset.id].value=je.target.value,Dt([...gt]),_e(gt,je.target.dataset.id)};function tt(je,We){return je.childNodes.forEach(nt=>{var lt;if(nt.childNodes.length>0)tt(nt,We);else if(nt.nodeName!=="IMG")if(nt.innerHTML)nt.innerHTML=(lt=nt.innerHTML)==null?void 0:lt.replace(new RegExp(We,"gi"),'<span style="color:#0152d9;background-color:#1890ff33">$&</span>');else{const Vt=document.createElement("span");Vt.innerHTML=nt.textContent.replace(new RegExp(We,"gi"),'<span style="color:#0152d9;background-color:#1890ff33">$&</span>'),nt.replaceWith(Vt)}})}const Ue=(0,r.useRef)();l.jb.WebkitLineClamp=q,q&&(J=D(D({},J),l.jb));function ye(je){let We=je.target;if(We.tagName.toUpperCase()==="A"){let nt=We.getAttribute("href");if(nt.indexOf("office")>-1)je.preventDefault(),He(nt),Bt("office");else if(nt.indexOf("application/pdf")>-1)je.preventDefault(),He(nt),Bt("pdf");else if(nt.indexOf("text/html")>-1)je.preventDefault(),He(nt),Bt("html");else if(nt.startsWith("#")){je.preventDefault();let lt=document.getElementById(nt.replace("#",""));lt&<.scrollIntoView(!0)}}}const Ce=()=>{var je;const We=(je=Ue.current)==null?void 0:je.querySelectorAll("video");We==null||We.forEach(nt=>{if(nt.oncontextmenu=()=>!1,nt.src.indexOf(".m3u8")>-1&&!nt.canPlayType("application/vnd.apple.mpegurl")){if(f.ZP.isSupported()){var lt=new f.ZP;lt.loadSource(nt.src),lt.attachMedia(nt)}}})};(0,r.useEffect)(()=>{if(Ue.current&&Ut&&Ut.match(N)&&window.PR.prettyPrint(),Ue.current)return Ue.current.addEventListener("click",ye),()=>{var je;(je=Ue.current)==null||je.removeEventListener("click",ye),(0,l.AL)(),(0,l.Iy)()}},[Ut,Ue.current,ye]),(0,r.useEffect)(()=>{var je;const We=nt=>{nt.preventDefault(),nt.clipboardData.setData("text",window.getSelection().toString())};return(je=Ue.current)==null||je.addEventListener("copy",We),()=>{var nt;(nt=Ue.current)==null||nt.removeEventListener("copy",We)}},[Ue.current]);const Me=je=>/<style[\s\S]*?>/i.test(je||"");return r.createElement(r.Fragment,null,le&&r.createElement("div",{ref:Ue},Ut),!le&&!Me(Ut)&&r.createElement("div",{ref:Ue,style:D({},J),className:`${ie||""} ${ce?"disabled-fill":""} markdown-body ${nr.current}`,dangerouslySetInnerHTML:{__html:Ut}}),!le&&Me(Ut)&&r.createElement(_,{html:Ut}),r.createElement(x.Z,{close:!0,data:ke,type:ke!=null&&ke.length?$e:"",style:D({},V),onClose:()=>He("")}))}},75975:function(d,v,e){"use strict";e.d(v,{SV:function(){return Ue},ZP:function(){return tt}});var r=e(59301),i=e(76374);const l={keywords:["print","auto","break","case","char","const","continue","default","do","double","else","enum","extern","float","for","goto","if","int","long","register","return","short","signed","sizeof","static","struct","switch","typedef","union","unsigned","void","volatile","while"]},c={quickKey:[{label:"main",content:["public static void main(String[] args) {"," $0","}"].join(`
|
|
|
`)},{label:"System.out.println",content:["System.out.println($0)"].join(`
|
|
|
`)},{label:"System.out.print",content:["System.out.print($0)"].join(`
|
|
|
`)}],keywords:["abstract","continue","for","new","switch","assert","default","goto","package","synchronized","boolean","do","if","private","this","break","double","implements","protected","throw","byte","else","import","public","throws","case","enum","instanceof","return","transient","catch","extends","int","short","try","char","final","interface","static","void","class","finally","long","strictfp","volatile","const","float","native","super","while","true","false"]},f={keywords:["abstract","amp","array","auto","bool","break","case","catch","char","class","const","constexpr","const_cast","continue","cpu","decltype","default","delegate","delete","do","double","dynamic_cast","each","else","enum","event","explicit","export","extern","false","final","finally","float","friend","gcnew","generic","goto","in","initonly","inline","int","interface","interior_ptr","internal","literal","long","mutable","namespace","new","noexcept","nullptr","__nullptr","operator","override","partial","pascal","pin_ptr","private","property","protected","public","ref","register","reinterpret_cast","restrict","return","safe_cast","sealed","short","signed","sizeof","static","static_assert","static_cast","struct","switch","template","this","thread_local","throw","tile_static","true","try","typedef","typeid","typename","union","unsigned","using","virtual","void","volatile","wchar_t","where","while","_asm","_based","_cdecl","_declspec","_fastcall","_if_exists","_if_not_exists","_inline","_multiple_inheritance","_pascal","_single_inheritance","_stdcall","_virtual_inheritance","_w64","__abstract","__alignof","__asm","__assume","__based","__box","__builtin_alignof","__cdecl","__clrcall","__declspec","__delegate","__event","__except","__fastcall","__finally","__forceinline","__gc","__hook","__identifier","__if_exists","__if_not_exists","__inline","__int128","__int16","__int32","__int64","__int8","__interface","__leave","__m128","__m128d","__m128i","__m256","__m256d","__m256i","__m64","__multiple_inheritance","__newslot","__nogc","__noop","__nounwind","__novtordisp","__pascal","__pin","__pragma","__property","__ptr32","__ptr64","__raise","__restrict","__resume","__sealed","__single_inheritance","__stdcall","__super","__thiscall","__try","__try_cast","__typeof","__unaligned","__unhook","__uuidof","__value","__virtual_inheritance","__w64","__wchar_t"],operators:["=",">","<","!","~","?",":","==","<=",">=","!=","&&","||","++","--","+","-","*","/","&","|","^","%","<<",">>",">>>","+=","-=","*=","/=","&=","|=","^=","%=","<<=",">>=",">>>="],quickKey:[{label:"ifelse",content:["if (${1:condition}) {"," $0","} else {"," ","}"].join(`
|
|
|
`)},{label:"include",content:"include<$0>"},{label:"printf",content:"printf($0)"},{label:"system",content:'system("$0")'},{label:"main",content:["int main () {"," $0","}"].join(`
|
|
|
`)},{label:"if",content:["if () {"," $0","}"].join(`
|
|
|
`)},{label:"for",content:["for(int j=0 ; j<10; j++){"," $0","}"].join(`
|
|
|
`)},{label:"trycatch",content:["try{"," $0","}catch(ExceptionName e){","}"].join(`
|
|
|
`)},{label:"using namespace std;",content:["using namespace std;"].join(`
|
|
|
`)},{label:"include <iostream>",content:["#include <iostream>"].join(`
|
|
|
`)},{label:"include <vector>",content:["#include <vector>"].join(`
|
|
|
`)},{label:"include <cstdio>",content:["#include <cstdio>"].join(`
|
|
|
`)},{label:"include <cstring>",content:["#include <cstring>"].join(`
|
|
|
`)},{label:"include <sstream>",content:["#include <sstream>"].join(`
|
|
|
`)},{label:"include <fstream>",content:["#include <fstream>"].join(`
|
|
|
`)},{label:"include <map>",content:["#include <map>"].join(`
|
|
|
`)},{label:"include <string>",content:["#include <string>"].join(`
|
|
|
`)},{label:"include <cmath>",content:["#include <cmath>"].join(`
|
|
|
`)}]},o={keywords:["and","as","assert","break","class","continue","def","del","elif","else","except","exec","finally","for","from","global","if","import","in","is","lambda","None","not","or","pass","raise","return","self","try","while","with","yield","int","float","long","complex","hex","abs","all","any","apply","basestring","bin","bool","buffer","bytearray","callable","chr","classmethod","cmp","coerce","compile","complex","delattr","dict","dir","divmod","enumerate","eval","execfile","file","filter","format","frozenset","getattr","globals","hasattr","hash","help","id","input","intern","isinstance","issubclass","iter","len","locals","list","map","max","memoryview","min","next","object","oct","open","ord","pow","print","property","reversed","range","raw_input","reduce","reload","repr","reversed","round","set","setattr","slice","sorted","staticmethod","str","sum","super","tuple","type","unichr","unicode","vars","xrange","zip","True","False","__dict__","__methods__","__members__","__class__","__bases__","__name__","__mro__","__subclasses__","__init__","__import__"],quickKey:[{label:"print",content:["print($0)"].join(`
|
|
|
`)}]},h={keywords:["asInstanceOf","catch","class","classOf","def","do","else","extends","finally","for","foreach","forSome","if","import","isInstanceOf","macro","match","new","object","package","return","throw","trait","try","type","until","val","var","while","with","yield","given","enum","then"],quickKey:[{label:"println",content:["println($0)"].join(`
|
|
|
`)}]};var u=e(53184),a=e.n(u),x=Object.defineProperty,p=Object.defineProperties,y=Object.getOwnPropertyDescriptors,_=Object.getOwnPropertySymbols,b=Object.prototype.hasOwnProperty,A=Object.prototype.propertyIsEnumerable,k=(ye,Ce,Me)=>Ce in ye?x(ye,Ce,{enumerable:!0,configurable:!0,writable:!0,value:Me}):ye[Ce]=Me,R=(ye,Ce)=>{for(var Me in Ce||(Ce={}))b.call(Ce,Me)&&k(ye,Me,Ce[Me]);if(_)for(var Me of _(Ce))A.call(Ce,Me)&&k(ye,Me,Ce[Me]);return ye},C=(ye,Ce)=>p(ye,y(Ce)),D=(ye,Ce,Me)=>new Promise((je,We)=>{var nt=Ht=>{try{Vt(Me.next(Ht))}catch(Pe){We(Pe)}},lt=Ht=>{try{Vt(Me.throw(Ht))}catch(Pe){We(Pe)}},Vt=Ht=>Ht.done?je(Ht.value):Promise.resolve(Ht.value).then(nt,lt);Vt((Me=Me.apply(ye,Ce)).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=(ye,Ce)=>Ce.map(Me=>({label:Me,kind:ye.languages.CompletionItemKind.Keyword,insertText:Me})),N=ye=>Object.keys(M.tables).map(Ce=>({label:Ce,kind:ye.languages.CompletionItemKind.Variable,insertText:Ce})),K=(ye,Ce)=>{const Me=M.tables[ye];return Me?Me.map(je=>({label:je,kind:Ce.languages.CompletionItemKind.Field,insertText:je})):[]};function G(ye,Ce,Me,je,We){let nt=Ce.getWordUntilPosition(Me),lt={startLineNumber:Me.lineNumber,endLineNumber:Me.lineNumber,startColumn:nt.startColumn,endColumn:nt.endColumn},Vt=je.map(Ht=>({label:Ht,kind:ye.languages.CompletionItemKind.Keyword,insertText:Ht,insertTextRules:ye.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:lt}));return We.map(Ht=>{Vt.push(C(R({},Ht),{range:lt}))}),Vt}var W=ye=>{M.languages.map(We=>(ye.languages.registerDocumentFormattingEditProvider(We,{provideDocumentFormattingEdits(nt,lt,Vt){return D(this,null,function*(){const Ht=a()(nt.getValue(),{indent_size:"2",indent_char:" ",max_preserve_newlines:"2",preserve_newlines:!0,keep_array_indentation:!0,break_chained_methods:!1,indent_scripts:"normal",brace_style:"collapse",space_before_conditional:!0,unescape_strings:!1,jslint_happy:!1,end_with_newline:!0,wrap_line_length:"0",indent_inner_html:!1,comma_first:!1,e4x:!1,indent_empty_lines:!1});return[{range:nt.getFullModelRange(),text:Ht}]})}}),We));const Ce=f.quickKey.map(We=>({label:We.label,kind:ye.languages.CompletionItemKind.Method,insertText:We.content,insertTextRules:ye.languages.CompletionItemInsertTextRule.InsertAsSnippet})),Me=o.quickKey.map(We=>({label:We.label,kind:ye.languages.CompletionItemKind.Method,insertText:We.content,insertTextRules:ye.languages.CompletionItemInsertTextRule.InsertAsSnippet})),je=c.quickKey.map(We=>({label:We.label,kind:ye.languages.CompletionItemKind.Method,insertText:We.content,insertTextRules:ye.languages.CompletionItemInsertTextRule.InsertAsSnippet}));ye.languages.registerCompletionItemProvider("cpp",{provideCompletionItems:function(We,nt){var lt=We.getWordUntilPosition(nt),Vt={startLineNumber:nt.lineNumber,endLineNumber:nt.lineNumber,startColumn:lt.startColumn,endColumn:lt.endColumn},Ht=We.getLineContent(nt.lineNumber).substring(lt.startColumn-2,lt.endColumn);return{suggestions:[...f.keywords.map(Pe=>({label:Pe,kind:ye.languages.CompletionItemKind.Function,documentation:Pe,insertText:Pe,insertTextRules:ye.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:Vt})),...f.quickKey.map(Pe=>({label:Pe.label,kind:ye.languages.CompletionItemKind.Function,documentation:Pe.content,insertText:Ht.startsWith("#")?Pe.content.replace(/#/,""):Pe.content,insertTextRules:ye.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:Vt}))]}}}),ye.languages.registerCompletionItemProvider("c",{provideCompletionItems:function(We,nt){var lt=We.getWordUntilPosition(nt),Vt={startLineNumber:nt.lineNumber,endLineNumber:nt.lineNumber,startColumn:lt.startColumn,endColumn:lt.endColumn};return{suggestions:[...l.keywords.map(Ht=>({label:Ht,kind:ye.languages.CompletionItemKind.Function,documentation:Ht,insertText:Ht,insertTextRules:ye.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:Vt}))]}}}),ye.languages.registerCompletionItemProvider("java",{provideCompletionItems:function(We,nt){var lt=We.getWordUntilPosition(nt),Vt={startLineNumber:nt.lineNumber,endLineNumber:nt.lineNumber,startColumn:lt.startColumn,endColumn:lt.endColumn},Ht=We.getLineContent(nt.lineNumber).substring(lt.startColumn-2,lt.endColumn);return{suggestions:[...c.keywords.map(Pe=>({label:Pe,kind:ye.languages.CompletionItemKind.Function,documentation:Pe,insertText:Pe,insertTextRules:ye.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:Vt})),...c.quickKey.map(Pe=>({label:Pe.label,kind:ye.languages.CompletionItemKind.Function,documentation:Pe.content,insertText:Ht.startsWith("#")?Pe.content.replace(/#/,""):Pe.content,insertTextRules:ye.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:Vt}))]}}}),ye.languages.registerCompletionItemProvider("scala",{provideCompletionItems:function(We,nt){var lt=We.getWordUntilPosition(nt),Vt={startLineNumber:nt.lineNumber,endLineNumber:nt.lineNumber,startColumn:lt.startColumn,endColumn:lt.endColumn},Ht=We.getLineContent(nt.lineNumber).substring(lt.startColumn-2,lt.endColumn);return{suggestions:[...h.keywords.map(Pe=>({label:Pe,kind:ye.languages.CompletionItemKind.Function,documentation:Pe,insertText:Pe,insertTextRules:ye.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:Vt})),...h.quickKey.map(Pe=>({label:Pe.label,kind:ye.languages.CompletionItemKind.Function,documentation:Pe.content,insertText:Ht.startsWith("#")?Pe.content.replace(/#/,""):Pe.content,insertTextRules:ye.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:Vt}))]}}}),ye.languages.registerCompletionItemProvider("python",{provideCompletionItems:function(We,nt){var lt=We.getWordUntilPosition(nt),Vt={startLineNumber:nt.lineNumber,endLineNumber:nt.lineNumber,startColumn:lt.startColumn,endColumn:lt.endColumn},Ht=We.getLineContent(nt.lineNumber).substring(lt.startColumn-2,lt.endColumn);return{suggestions:[...o.keywords.map(Pe=>({label:Pe,kind:ye.languages.CompletionItemKind.Function,documentation:Pe,insertText:Pe,insertTextRules:ye.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:Vt})),...o.quickKey.map(Pe=>({label:Pe.label,kind:ye.languages.CompletionItemKind.Function,documentation:Pe.content,insertText:Ht.startsWith("#")?Pe.content.replace(/#/,""):Pe.content,insertTextRules:ye.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:Vt}))]}}})};const se="\u8BE5\u4EFB\u52A1\u5173\u5361\u8BBE\u7F6E\u4E86\u7981\u6B62\u590D\u5236\u7C98\u8D34\uFF0C\u8BF7\u624B\u52A8\u8F93\u5165\u4EE3\u7801\u3002";var ie=Object.defineProperty,le=(ye,Ce,Me)=>Ce in ye?ie(ye,Ce,{enumerable:!0,configurable:!0,writable:!0,value:Me}):ye[Ce]=Me,q=(ye,Ce,Me)=>le(ye,typeof Ce!="symbol"?Ce+"":Ce,Me);const J=class kd{constructor(Ce,Me,je){this.placeholder=Ce,this.editor=Me,this.monaco=je,Me.onDidChangeModelContent(()=>this.onDidChangeModelContent()),this.onDidChangeModelContent()}onDidChangeModelContent(){this.editor.getValue()===""?this.editor.addContentWidget(this):this.editor.removeContentWidget(this)}getId(){return kd.ID}getDomNode(){return this.domNode||(this.domNode=document.createElement("div"),this.domNode.style.width="max-content",this.domNode.textContent=this.placeholder,this.domNode.style.fontStyle="initial",this.domNode.style.color="#D7D7D7",this.domNode.style.pointerEvents="none",this.editor.applyFontInfo(this.domNode)),this.domNode}getPosition(){return{position:{lineNumber:1,column:1},preference:[this.monaco.editor.ContentWidgetPositionPreference.EXACT]}}dispose(){this.editor.removeContentWidget(this)}};q(J,"ID","editor.widget.placeholderHint");var ue=J,ee=e(96236),Q=e(8591),ce=e(6848),z=e(89392),$=e(49535),ae=e(56102),_e=Object.defineProperty,De=Object.defineProperties,ke=Object.getOwnPropertyDescriptors,He=Object.getOwnPropertySymbols,$e=Object.prototype.hasOwnProperty,Bt=Object.prototype.propertyIsEnumerable,gt=(ye,Ce,Me)=>Ce in ye?_e(ye,Ce,{enumerable:!0,configurable:!0,writable:!0,value:Me}):ye[Ce]=Me,Dt=(ye,Ce)=>{for(var Me in Ce||(Ce={}))$e.call(Ce,Me)&>(ye,Me,Ce[Me]);if(He)for(var Me of He(Ce))Bt.call(Ce,Me)&>(ye,Me,Ce[Me]);return ye},nr=(ye,Ce)=>De(ye,ke(Ce)),Xt=(ye,Ce)=>{var Me={};for(var je in ye)$e.call(ye,je)&&Ce.indexOf(je)<0&&(Me[je]=ye[je]);if(ye!=null&&He)for(var je of He(ye))Ce.indexOf(je)<0&&Bt.call(ye,je)&&(Me[je]=ye[je]);return Me},cr=(ye,Ce,Me)=>new Promise((je,We)=>{var nt=Ht=>{try{Vt(Me.next(Ht))}catch(Pe){We(Pe)}},lt=Ht=>{try{Vt(Me.throw(Ht))}catch(Pe){We(Pe)}},Vt=Ht=>Ht.done?je(Ht.value):Promise.resolve(Ht.value).then(nt,lt);Vt((Me=Me.apply(ye,Ce)).next())});function Ge(ye){return/^\d+$/.test(ye)?`${ye}px`:ye}function Tt(){}let Ut=!1;const at={"Python3.6":"python","Python2.7":"python",Dynamips:"cpp",Java:"java",Web:"php",Html:"html",Hive:"sql",Hadoop:"java",SDL:"cpp",PHP:"php",Matlab:"python",Git:"python",Python:"python","C/C++":"cpp","C++":"cpp",C:"cpp",Ruby:"ruby",Shell:"shell",JavaScript:"javascript",Perl6:"perl",Kotlin:"kotlin",Elixir:"elixir",Android:"java",JavaWeb:"java",Go:"go",Spark:"sql",MachineLearning:"python",Verilog:"xml","Verilog/VNC":"xml",Docker:"dockerfile","C#":"csharp",SQLite3:"sql",Oracle:"sql",Vhdl:"vhdl",R:"r",Swift:"swift",SQLServer:"mysql",MySQL:"mysql",Mongo:"sql",PostgreSql:"pgsql",Hbase:"powershell",Sqoop:"sql",Nasm:"cpp",Kafka:"java",Flink:"java",Sml:"javascript",OpenGL:"cpp",Perl5:"perl",Orange:"python",Scala:"scale",solidity:"sol"};function bt(ye=[]){let Ce=ye;if(Array.isArray(ye)){for(let Me=0;Me<ye.length;Me++){let je=at[ye[Me]];if(je)return je}return Ce[0]}return at[Ce]||Ce}let dt=null;var tt=ye=>{var Ce=ye,{width:Me="100%",height:je="100%",value:We,language:nt="javascript",style:lt={},options:Vt={},overrideServices:Ht={},theme:Pe="vs-dark",onEditBlur:et,isCopy:Kt=!1,onSave:kt,autoHeight:Zt=!1,forbidCopy:Nt=!1,onChange:tr=Tt,editorDidMount:Wt=Tt,onFocus:Fe=Tt,onBreakPoint:fe=Tt,breakPointValue:pe=[],filename:Pt="educoder.txt",errorLine:Ie,errorContent:ct="",highlightLine:zt,openBreakPoint:wt=!1,placeholder:Oe=""}=Ce,xt=Xt(Ce,["width","height","value","language","style","options","overrideServices","theme","onEditBlur","isCopy","onSave","autoHeight","forbidCopy","onChange","editorDidMount","onFocus","onBreakPoint","breakPointValue","filename","errorLine","errorContent","highlightLine","openBreakPoint","placeholder"]);const xe=(0,r.useRef)(),Ye=(0,r.useRef)({}),mt=(0,r.useRef)(),Mt=(0,r.useRef)(),Be=(0,r.useRef)([]),Ir=(0,r.useRef)(!1),St=(0,r.useRef)(),Zr=(0,r.useRef)(),Yr=(0,r.useRef)(!1),[xr,Mr]=(0,r.useState)(!1);function mr(){let lr;return xe.current&&(lr=new i.Z(Vr=>{for(let dn of Vr)(dn.target.offsetHeight>0||dn.target.offsetWidth>0)&&Ye.current.instance.layout()}),lr.observe(xe.current)),lr}function Nr(){Q.ZP.warning({content:decodeURIComponent(se),key:"monaco-editor-tip"})}const nn=()=>{let lr=Ye.current.instance;if(We!=null&&lr&&xr){const Vr=lr.getModel();Vr&&We!==Vr.getValue()&&(Ut=!0,Vr.setValue(We),lr.layout(),Ut=!1)}};(0,r.useEffect)(()=>{const lr=$.Z.subscribe("formatDocument",Vr=>{var dn;let Bn=Ye.current.instance;(dn=Bn==null?void 0:Bn.getAction)==null||dn.call(Bn,"editor.action.formatDocument").run()});return window.updateMonacoValue=Vr=>{tr(Vr)},lr},[]),(0,r.useEffect)(()=>{var lr;let Vr=Ye.current.instance;Mt.current&&clearTimeout(Mt.current),Mt.current=setTimeout(()=>{nn()},500),We&&(We!=null&&We.length)&&((lr=Vr==null?void 0:Vr.updateOptions)==null||lr.call(Vr,{lineNumbersMinChars:Math.max(Math.floor(Math.log10(We.split(/\r\n|\r|\n/g).length))+3,5)}))},[We,xr,Ye.current]),(0,r.useEffect)(()=>{if(Ie&&Ye.current&&Ye.current.instance){let Vr=Ye.current.instance;Vr.changeViewZones(function(dn){var Bn=document.createElement("div");Bn.style.padding="10px 20px",Bn.style.width="calc(100% - 20px)",Bn.className="my-error-line-wrp",Bn.innerHTML=ct,dn.addZone({afterLineNumber:Ie||11,heightInLines:3,domNode:Bn})});var lr={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}};Vr.addOverlayWidget(lr),Vr.revealPositionInCenter({lineNumber:20,column:1})}},[Ie,Ye.current,xr]);const on=(lr="",Vr)=>{if(!lr||lr.trim()==="")return!0;const Bn=Ye.current.instance.getModel().getLineTokens(Vr);let ti=!1;for(let Un=0;Un<2;Un++)Bn.getStandardTokenType(Un)===1&&(ti=!0);return ti};(0,r.useEffect)(()=>{var lr;const Vr=(lr=Ye.current)==null?void 0:lr.instance;if(Vr&&xr&&Nt){const dn=Vr.onDidBlurEditorWidget(()=>{Yr.current=!1}),Bn=Vr.onDidFocusEditorText(()=>{Yr.current=!0});return()=>{dn.dispose(),Bn.dispose()}}},[Ye.current,xr,Nt]),(0,r.useEffect)(()=>{var lr;if((lr=Ye.current)!=null&&lr.instance&&xr&&wt){let Vr=Ye.current.instance,dn=Vr.getModel();if(!dn)return;(()=>{var Et;let st=[],Vn=[];const yi=dn.getAllDecorations();for(let Ki of yi)Ki.options.className==="highlighted-line"&&(st.push((Et=Ki==null?void 0:Ki.range)==null?void 0:Et.startLineNumber),Vn.push(Ki==null?void 0:Ki.id));if(zt===st[0])return;dn.deltaDecorations(Vn,[]);const Kn=dn.getLineCount();zt&&zt<=Kn&&(Vr.deltaDecorations([],[{range:new dt.Range(zt,1,zt,dn.getLineMaxColumn(zt)),options:{isWholeLine:!0,className:"highlighted-line"}}]),Vr.revealLineInCenter(zt))})();const ti=(Et=!1)=>{var st;let Vn=[],yi=[];const Kn=dn.getAllDecorations();for(let Ki of Kn)Ki.options.linesDecorationsClassName==="breakpoints-select"&&(Vn.push((st=Ki==null?void 0:Ki.range)==null?void 0:st.startLineNumber),yi.push(Ki==null?void 0:Ki.id));if(Et)return{lines:Vn,ids:yi};fe(Vn)},Un=Et=>cr(void 0,null,function*(){let st={range:new dt.Range(Et,1,Et,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-select"}};yield dn.deltaDecorations([],[st]),ti()}),Ri=Et=>cr(void 0,null,function*(){let st=[];const Vn=Vr.getLineDecorations(Et);for(let yi of Vn)yi.options.linesDecorationsClassName==="breakpoints-select"&&st.push(yi.id);yield dn.deltaDecorations(st,[]),ti()}),ni=Et=>{let st=Vr.getLineDecorations(Et);for(let Vn of st)if(Vn.options.linesDecorationsClassName==="breakpoints-select")return!0;return!1};if(!(0,z.isEqual)(pe,ti(!0).lines)){dn.deltaDecorations(ti(!0).ids,[]);const Et=pe.map(st=>({range:new dt.Range(st,1,st,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-select"}}));dn.deltaDecorations([],Et)}const ci=Vr.onDidChangeModelContent(Et=>{let st=Vr.getPosition();if(st){let Vn=st.lineNumber;clearTimeout(Zr.current),Zr.current=setTimeout(()=>{on(dn.getLineContent(Vn),Vn)?Ri(Vn):ni(Vn)?(Ri(Vn),Un(Vn)):ti()},100)}}),gi=Vr.onMouseDown(Et=>{var st,Vn,yi;if(Et.target.detail&&((yi=(Vn=(st=Et.target)==null?void 0:st.element)==null?void 0:Vn.className)!=null&&yi.includes("line-numbers"))){let Kn=Et.target.position.lineNumber;if(on(dn.getLineContent(Kn),Kn))return;ni(Kn)?Ri(Kn):Un(Kn)}}),di=Et=>{let st={range:new dt.Range(Et,1,Et,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-fake"}};Be.current=Vr.deltaDecorations(Be.current,[st])},Qi=()=>{Be.current=Vr.deltaDecorations(Be.current,[])},Gn=Vr.onMouseMove(Et=>{var st,Vn,yi;if(Qi(),Et.target.detail&&((yi=(Vn=(st=Et.target)==null?void 0:st.element)==null?void 0:Vn.className)!=null&&yi.includes("line-numbers"))){let Kn=Et.target.position.lineNumber;if(on(dn.getLineContent(Kn),Kn))return;di(Kn)}}),Xi=Vr.onMouseLeave(()=>{Qi()});return()=>{ci.dispose(),gi.dispose(),Gn.dispose(),Xi.dispose()}}},[Ye.current,xr,pe,zt,wt,nt]),(0,r.useEffect)(()=>{var lr;(lr=Ye.current)!=null&&lr.instance&&wt&&Ye.current.instance.setPosition({lineNumber:0,column:0})},[zt]);function or(){let lr=Ye.current.instance;if(lr){const Vr=lr.getSelection(),dn=Ye.current.pastePos||{},Bn=new dt.Range(dn.startLineNumber||Vr.endLineNumber,dn.startColumn||Vr.endColumn,dn.endLineNumber||Vr.endLineNumber,dn.endColumn||Vr.endColumn);setTimeout(()=>{lr.executeEdits("",[{range:Bn,text:""}])},300)}}function Rt(lr){(window.navigator.platform.match("Mac")?lr.metaKey:lr.ctrlKey)&&lr.keyCode==83&&(lr.preventDefault(),kt())}const _t=()=>{if(Zt&&Ye.current.instance){const lr=Ye.current.instance.getContentHeight();An(lr<je?je:lr)}else An(je)};function vt(lr){var Vr=document.createEvent("MouseEvents");Vr.initMouseEvent("click",!0,!1,window,0,0,0,0,0,!1,!1,!1,!1,0,null),lr.dispatchEvent(Vr)}const $t=lr=>{if(!Yr.current)return;const{keyCode:Vr,ctrlKey:dn,metaKey:Bn,target:ti,type:Un}=lr;return(Un==="paste"||(Vr===67||Vr===86)&&(Bn||dn))&&ti.nodeName==="TEXTAREA"&&(Nr(),lr.preventDefault()),!1};function Sr(lr,Vr){var dn=window.URL||window.webkitURL||window,Bn=new Blob([Vr]),ti=document.createElementNS("http://www.w3.org/1999/xhtml","a");ti.href=dn.createObjectURL(Bn),ti.download=lr,vt(ti)}(0,r.useEffect)(()=>{_t()},[_t]),(0,r.useEffect)(()=>{xe.current&&!xr&&Promise.all([e.e(8909),e.e(6656)]).then(e.bind(e,71448)).then(lr=>{try{dt=lr,Ye.current.instance=dt.editor.create(xe.current,{value:We,language:bt(nt),theme:Pe,requireConfig:{"vs/nls":{availableLanguages:{"*":"zh-cn"}}},wordWrap:!0,autoIndent:!0,contextmenu:!0,formatOnType:!0},Ht);const Vr=Ye.current.instance;let ti=[...ee.BH._menuItems].find(ci=>ci[0]._debugName=="EditorContext")[1],Un=["editor.action.clipboardCopyWithSyntaxHighlightingAction","editor.action.quickCommand","editor.action.clipboardCopyAction","editor.action.clipboardPasteAction","editor.action.clipboardCutAction"],Ri=(ci,gi)=>{var di,Qi;let Gn=ci._first;do gi.includes((Qi=(di=Gn.element)==null?void 0:di.command)==null?void 0:Qi.id)&&ci._remove(Gn);while(Gn=Gn.next)};if(Wt(Vr,dt),setTimeout(()=>{_t(),Ye.current.instance.addAction({id:"d123123",label:"Download File",contextMenuGroupId:"9_cutcopypaste",run:()=>{Sr(Pt||"educoder.txt",Vr.getValue())}})},500),Ye.current.subscription=Vr.onDidChangeModelContent(ci=>{Ir.current?clearTimeout(St.current):(_t(),tr(Vr.getValue(),ci)),St.current=setTimeout(()=>{Ir.current=!1},500)}),window.Monaco||W(dt,bt(nt)),Nt&&(Ri(ti,Un),xe.current.classList.add("noCopyPaste"),window.removeEventListener("keydown",$t),window.removeEventListener("paste",$t),window.addEventListener("keydown",$t),window.addEventListener("paste",$t)),window.Monaco=dt,et&&Vr.onDidBlurEditorWidget(()=>{et(Vr.getValue())}),Fe&&Vr.onDidFocusEditorText(()=>{Fe(Vr.getValue())}),Nt)try{Vr.onDidPaste(ci=>{const gi=Vr.getSelection(),di=Ye.current.pastePos||{},Qi=new dt.Range(di.startLineNumber||gi.endLineNumber,di.startColumn||gi.endColumn,di.endLineNumber||gi.endLineNumber,di.endColumn||gi.endColumn);Vr.executeEdits("",[{range:ci.range,text:""}])})}catch(ci){}let ni=mr();return Oe&&typeof Oe=="string"&&new ue(Oe,Vr,dt),Mr(!0),()=>{const ci=Ye.current.instance;ci.dispose();const gi=ci.getModel();gi&&gi.dispose(),Ye.current.subscription&&Ye.current.subscription.dispose(),ni.unobserve(xe.current)}}catch(Vr){}})},[]),(0,r.useEffect)(()=>{if(Ye.current.instance&&xr)return document.addEventListener("keydown",Rt,!1),()=>{document.removeEventListener("keydown",Rt)}},[kt,xr]),(0,r.useEffect)(()=>{let lr=Ye.current.instance;if(lr&&xr){let Vr=bt(nt);dt.editor.setModelLanguage(lr.getModel(),Vr)}},[nt,xr]),(0,r.useEffect)(()=>{Ye.current.instance&&xr&&dt.editor.setTheme(Pe)},[Pe,xr]),(0,r.useEffect)(()=>{let lr=Ye.current.instance;mt.current=Vt,lr&&xr&&(lr.updateOptions(Dt({},Vt)),setTimeout(()=>{lr.getModel().updateOptions(Dt({},Vt))},200))},[JSON.stringify(Vt),xr]),(0,r.useEffect)(()=>{let lr=Ye.current.instance;lr&&xr&&lr.layout()},[Me,je,xr]);const[vr,Qr]=(0,r.useState)(Ge(Me)),[Wr,An]=(0,r.useState)(Ge(je)),At=nr(Dt({},lt),{width:vr,height:Wr,position:"relative"});return r.createElement("div",{className:"my-monaco-editor",ref:xe,style:At},Kt&&r.createElement(ae.CopyToClipboard,{text:We,onCopy:()=>Q.ZP.success("\u590D\u5236\u6210\u529F")},r.createElement(ce.Z,{title:"\u590D\u5236\u4EE3\u7801"},r.createElement("div",{style:{position:"absolute",top:0,right:10,cursor:"pointer",zIndex:10,color:"#165DFF"}},r.createElement("i",{className:"iconfont icon-fuzhi8",style:{fontSize:14}})," \u590D\u5236\u4EE3\u7801"))))};function Ue({width:ye="100%",height:Ce="100%",original:Me,modified:je,language:We,options:nt={}}){const lt=(0,r.useRef)(),[Vt,Ht]=(0,r.useState)(null);function Pe(Zt){let Nt;return lt.current&&(Nt=new i.Z(tr=>{for(let Wt of tr)(Wt.target.offsetHeight>0||Wt.target.offsetWidth>0)&&Zt.layout()}),Nt.observe(lt.current)),Nt}(0,r.useEffect)(()=>(lt.current&&Promise.all([e.e(8909),e.e(9404)]).then(e.bind(e,2550)).then(Zt=>{dt=Zt;const Nt=dt.editor.createDiffEditor(lt.current,nr(Dt({enableSplitViewResizing:!1,scrollBeyondLastLine:!1,roundedSelection:!1,renderIndicators:!1,useShadows:!1,horizontal:"hidden",lineNumbers:"off",wordWrap:"off",ignoreTrimWhitespace:!1,"semanticHighlighting.enabled":!0,followsCaret:!0,ignoreCharChanges:!0,minimap:{enabled:!1},readOnly:!0},nt),{wordWrap:!0}));Ht(Nt);let tr=Pe(Nt);return()=>{Nt.dispose();const Wt=Nt.getModel();Wt&&Wt.dispose(),tr.unobserve(lt.current)}}),()=>{window.removeEventListener("keydown",checkPaste),window.removeEventListener("paste",checkPaste)}),[]),(0,r.useEffect)(()=>{Vt&&Vt.setModel({original:dt.editor.createModel(Me,We),modified:dt.editor.createModel(je,We)})},[Me,je,We,Vt]);const et=Ge(ye),Kt=Ge(Ce),kt={width:et,height:Kt};return r.createElement("div",{className:"my-diff-editor",ref:lt,style:kt})}},32026:function(d,v,e){"use strict";e.d(v,{k:function(){return b}});var r=e(1103),i=e(8591),l=e(96999),c=Object.defineProperty,f=Object.defineProperties,o=Object.getOwnPropertyDescriptors,h=Object.getOwnPropertySymbols,u=Object.prototype.hasOwnProperty,a=Object.prototype.propertyIsEnumerable,x=(k,R,C)=>R in k?c(k,R,{enumerable:!0,configurable:!0,writable:!0,value:C}):k[R]=C,p=(k,R)=>{for(var C in R||(R={}))u.call(R,C)&&x(k,C,R[C]);if(h)for(var C of h(R))a.call(R,C)&&x(k,C,R[C]);return k},y=(k,R)=>f(k,o(R)),_=(k,R)=>{var C={};for(var D in k)u.call(k,D)&&R.indexOf(D)<0&&(C[D]=k[D]);if(k!=null&&h)for(var D of h(k))R.indexOf(D)<0&&a.call(k,D)&&(C[D]=k[D]);return C};const b=["\u8BA4\u8BC1\u4E13\u4E1A","\u8BA4\u8BC1\u5C4A\u522B"],A={namespace:"engineeringEvaluteList",state:{actionTabs:{key:"",params:{}},headerData:{dataSource:{[b[0]]:{width:235,placeholder:`\u8BF7\u9009\u62E9${b[0]}`,loading:"engineeringEvaluteList/getMajorList",dataList:[]},[b[1]]:{width:138,placeholder:`\u8BF7\u9009\u62E9${b[1]}`,loading:"engineeringEvaluteList/getYearList",dataList:[]}},active:{}},tabListData:{total:0,pageNo:1,pageSize:20,dataSource:[]}},effects:{*setActionTabs({payload:k},{call:R,put:C}){yield C({type:"save",payload:{actionTabs:p({},k)}})},*getMajorList({payload:k},{call:R,put:C,select:D}){const{userInfo:M}=yield D(B=>B.user);if(M!=null&&M.school_id){const B=yield R(r.BA,M.school_id);if(B&&B.data){const N=l.U.getItem(M==null?void 0:M.login);yield C({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:C,select:D}){const M=yield R(r.Nx,k.id),{userInfo:B}=yield D(N=>N.user);if(M&&M.data){const N=l.U.getItem(B==null?void 0:B.login);yield C({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:C,select:D}){const{calc:M,page:B,per_page:N}=k,{headerData:K,tabListData:G}=yield D(ie=>ie.engineeringEvaluteList),{userInfo:W}=yield D(ie=>ie.user);let se=K.active[b[1]];if(se){let ie={id:se,page:B||1,per_page:N||G.pageSize};M&&(ie=y(p({},ie),{page:G.pageNo}));const le=yield R(r._y,ie),q=[K.active[b[0]],K.active[b[1]]];l.U.setItem(W==null?void 0:W.login,q),le&&le.ec_courses&&(yield C({type:"setCourseResults",payload:y(p({},G),{pageNo:ie.page,total:le.count,pageSize:ie.per_page||G.pageSize,dataSource:le.ec_courses.map((J,V)=>y(p({},J),{key:ie.page>1?(ie.page-1)*ie.per_page+V+1:V+1}))})}))}else yield C({type:"setCourseResults",payload:y(p({},G),{pageNo:1,total:0,dataSource:[]})})},*exportCourse({payload:k},{call:R,select:C}){const{headerData:D}=yield C(M=>M.engineeringEvaluteList);D.active[b[1]]&&(yield R(r.F,D.active[b[1]]))},*compute({payload:k},{call:R,put:C}){const D=k,{all:M}=D,B=_(D,["all"]),N=yield R(M?r.At:r.PX,B);N&&N.status===0?(i.ZP.success("\u8BA1\u7B97\u5B8C\u6210"),yield C({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 C=k.headerData.active;return R.active&&(C=y(p({},C),{[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:C})})},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:C})=>{C==="/"&&k({type:"query"})})}}};v.Z=A},55305:function(d,v,e){"use strict";e.d(v,{L:function(){return h},r:function(){return a}});var r=Object.defineProperty,i=Object.getOwnPropertySymbols,l=Object.prototype.hasOwnProperty,c=Object.prototype.propertyIsEnumerable,f=(x,p,y)=>p in x?r(x,p,{enumerable:!0,configurable:!0,writable:!0,value:y}):x[p]=y,o=(x,p)=>{for(var y in p||(p={}))l.call(p,y)&&f(x,y,p[y]);if(i)for(var y of i(p))c.call(p,y)&&f(x,y,p[y]);return x};const h=x=>x==null?void 0:x.map(p=>{const y=(p.sub_disciplines||[]).map(_=>({value:_.id,label:_.name}));return{value:p.id,label:p.name,children:y}}),u={1:"\u4E00",2:"\u4E8C",3:"\u4E09",4:"\u56DB",5:"\u4E94",6:"\u516D",7:"\u4E03",8:"\u516B"},a=x=>{if(!x)return;const{all_questions_count:p,all_score:y,single_questions:_,multiple_questions:b,judgement_questions:A,program_questions:k,completion_questions:R,subjective_questions:C,practical_questions:D,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"},A),o({type:"SUBJECTIVE",name:"\u7B80\u7B54\u9898"},C),o({type:"PROGRAM",name:"\u7F16\u7A0B\u9898"},k),o({type:"PRACTICAL",name:"\u5B9E\u8BAD\u9898"},D),o({type:"COMBINATION",name:"\u7EC4\u5408\u9898"},M)].filter(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}}},96999:function(d,v,e){"use strict";e.d(v,{U:function(){return c},t:function(){return l}});var r=e(43418),i=e(48790);const l=(f,o="")=>{r.default.confirm({centered:!0,width:520,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",content:o,onOk:f})},c={setItem:(f,o)=>{var h;const u=f+"-engineering"+((h=(0,i.eY)())==null?void 0:h.school_id),a=JSON.stringify(o);localStorage.setItem(u,a)},getItem:f=>{var o;const h=f+"-engineering"+((o=(0,i.eY)())==null?void 0:o.school_id),u=localStorage.getItem(h);return u!==null&&u!=="[object Object]"?JSON.parse(u):[]},clear:f=>{var o;const h=f+"-engineering"+((o=(0,i.eY)())==null?void 0:o.school_id);localStorage.removeItem(h)}}},98750:function(d,v,e){"use strict";e.d(v,{$f:function(){return p},Cq:function(){return b},GY:function(){return o},I8:function(){return k},Ow:function(){return y},P:function(){return x},Ql:function(){return h},RA:function(){return D},Zm:function(){return u},bz:function(){return f},eF:function(){return A},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 C}});var r=e(38986),i=(N,K,G)=>new Promise((W,se)=>{var ie=J=>{try{q(G.next(J))}catch(V){se(V)}},le=J=>{try{q(G.throw(J))}catch(V){se(V)}},q=J=>J.done?W(J.value):Promise.resolve(J.value).then(ie,le);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 A(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 C(N){return i(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${N.basicInfoId}/open_users/${N.id}.json`,{method:"delete"})})}function D(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})})}},97402:function(d,v,e){"use strict";e.d(v,{An:function(){return y},TO:function(){return a},my:function(){return p},nZ:function(){return x}});var r=e(38986),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,o=(_,b,A)=>b in _?i(_,b,{enumerable:!0,configurable:!0,writable:!0,value:A}):_[b]=A,h=(_,b)=>{for(var A in b||(b={}))c.call(b,A)&&o(_,A,b[A]);if(l)for(var A of l(b))f.call(b,A)&&o(_,A,b[A]);return _},u=(_,b,A)=>new Promise((k,R)=>{var C=B=>{try{M(A.next(B))}catch(N){R(N)}},D=B=>{try{M(A.throw(B))}catch(N){R(N)}},M=B=>B.done?k(B.value):Promise.resolve(B.value).then(C,D);M((A=A.apply(_,b)).next())});function a(_){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${_.coursesId}/inform_up.json`,{method:"post",body:h({},_)})})}function x(_){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${_.coursesId}/inform_down.json`,{method:"post",body:h({},_)})})}function p(_){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${_.coursesId}/update_informs.json`,{method:"post",body:h({},_)})})}function y(_){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${_.coursesId}/new_informs.json`,{method:"post",body:h({},_)})})}},44203:function(d,v,e){"use strict";e.d(v,{$n:function(){return A},H:function(){return b},Nm:function(){return y},Ot:function(){return _},SV:function(){return a},fc:function(){return R},mn:function(){return k},tO:function(){return p},zI:function(){return x}});var r=e(38986),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,o=(C,D,M)=>D in C?i(C,D,{enumerable:!0,configurable:!0,writable:!0,value:M}):C[D]=M,h=(C,D)=>{for(var M in D||(D={}))c.call(D,M)&&o(C,M,D[M]);if(l)for(var M of l(D))f.call(D,M)&&o(C,M,D[M]);return C},u=(C,D,M)=>new Promise((B,N)=>{var K=se=>{try{W(M.next(se))}catch(ie){N(ie)}},G=se=>{try{W(M.throw(se))}catch(ie){N(ie)}},W=se=>se.done?B(se.value):Promise.resolve(se.value).then(K,G);W((M=M.apply(C,D)).next())});function a(C){return u(this,null,function*(){return(0,r.ZP)("/api/files/public_with_course_and_project",{method:"get",params:h({},C)})})}function x(C){return u(this,null,function*(){return(0,r.ZP)("/api/files/mine_with_course_and_project.json",{method:"get",params:h({},C)})})}function p(C){return u(this,null,function*(){return(0,r.ZP)("/api/files/import.json",{method:"post",body:h({},C)})})}function y(C){return u(this,null,function*(){return(0,r.ZP)(`/api/files/${C.id}.json`,{method:"get",params:h({},C)})})}function _(C){return u(this,null,function*(){const{id:D}=C;return delete C.id,(0,r.ZP)(`/api/files/${D}.json`,{method:"put",body:h({},C)})})}function b(C){return u(this,null,function*(){return(0,r.ZP)(`/api/files/${C.id}/update_visits.json`,{method:"post"})})}function A(C){return u(this,null,function*(){return(0,r.ZP)(`/api/files/${C==null?void 0:C.id}/watch_list.json`,{method:"get",params:h({},C)})})}function k(C){return u(this,null,function*(){return(0,r.ZP)("/api/files/get_batches_publish_info.json",{method:"get",params:h({},C)})})}function R(C){return u(this,null,function*(){return(0,r.ZP)(`/api/files/${C==null?void 0:C.id}/add_file_quantity.json`,{method:"post",body:h({},C)})})}},32967:function(d,v,e){"use strict";e.d(v,{CJ:function(){return y},Mf:function(){return R},NA:function(){return A},PC:function(){return _},PP:function(){return b},YQ:function(){return k},cc:function(){return p},dI:function(){return x},yq:function(){return a}});var r=e(38986),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,o=(C,D,M)=>D in C?i(C,D,{enumerable:!0,configurable:!0,writable:!0,value:M}):C[D]=M,h=(C,D)=>{for(var M in D||(D={}))c.call(D,M)&&o(C,M,D[M]);if(l)for(var M of l(D))f.call(D,M)&&o(C,M,D[M]);return C},u=(C,D,M)=>new Promise((B,N)=>{var K=se=>{try{W(M.next(se))}catch(ie){N(ie)}},G=se=>{try{W(M.throw(se))}catch(ie){N(ie)}},W=se=>se.done?B(se.value):Promise.resolve(se.value).then(K,G);W((M=M.apply(C,D)).next())});function a(C){return u(this,null,function*(){return(0,r.ZP)("/api/courses/board_list.json",{method:"get",params:h({},C)})})}function x(C){return u(this,null,function*(){return(0,r.ZP)(`/api/messages/${C.boardId}.json`,{method:"get",params:h({},C)})})}function p(C){return u(this,null,function*(){return(0,r.ZP)(`/api/messages/${C.id}/sticky_top.json`,{method:"put",body:{course_id:C.coursesId}})})}function y(C){return u(this,null,function*(){return(0,r.ZP)(`/api/messages/${C.id}/sticky_top.json`,{method:"put",body:{course_id:C.coursesId}})})}function _(C){return u(this,null,function*(){return(0,r.ZP)(`/api/messages/${C.boardId}/reply_list.json`,{method:"get",params:h({},C)})})}function b(C){return u(this,null,function*(){return(0,r.ZP)(`/api/messages/${C.boardId}/reply.json`,{method:"post",body:h({},C)})})}function A(C){return u(this,null,function*(){return(0,r.ZP)("/api/praise_tread/like.json",{method:"post",body:h({},C)})})}function k(C){return u(this,null,function*(){return(0,r.ZP)("/api/praise_tread/unlike.json",{method:"delete",body:h({},C)})})}function R(C){return u(this,null,function*(){return(0,r.ZP)("/api/commons/delete.json",{method:"delete",body:h({},C)})})}},82264:function(d,v,e){"use strict";e.d(v,{$T:function(){return vr},A:function(){return Nt},Ab:function(){return ni},Al:function(){return Q},BQ:function(){return dt},BR:function(){return ee},Bn:function(){return Me},Cq:function(){return $t},DJ:function(){return $e},Dd:function(){return _},Ds:function(){return Ue},EO:function(){return tr},Ed:function(){return Bt},F9:function(){return nt},FU:function(){return Vt},Fg:function(){return b},GV:function(){return cr},Gk:function(){return q},Gm:function(){return Ut},Gz:function(){return A},Hl:function(){return k},Hn:function(){return G},ID:function(){return nn},IU:function(){return Ie},J2:function(){return nr},K$:function(){return ye},KP:function(){return gt},KT:function(){return ke},L$:function(){return Kt},LH:function(){return D},Lk:function(){return Xi},Ls:function(){return ae},MA:function(){return At},Mc:function(){return Gn},N7:function(){return ue},Nd:function(){return le},Nl:function(){return Pt},Ns:function(){return on},O3:function(){return He},Pj:function(){return Tt},QX:function(){return pe},QZ:function(){return De},R2:function(){return V},Rk:function(){return Sr},S9:function(){return kt},U8:function(){return Rt},UD:function(){return xr},U_:function(){return se},Uy:function(){return mr},V8:function(){return K},Vw:function(){return $},W0:function(){return zt},W7:function(){return tt},WK:function(){return lr},Wr:function(){return Ri},YR:function(){return Fe},Z0:function(){return mt},ZL:function(){return xt},ZT:function(){return ci},ZX:function(){return dn},Z_:function(){return M},_0:function(){return B},_9:function(){return at},_B:function(){return di},aP:function(){return wt},aQ:function(){return bt},aZ:function(){return Pe},al:function(){return Zt},bm:function(){return Yr},bz:function(){return je},c_:function(){return vt},ds:function(){return Zr},fN:function(){return Vr},fr:function(){return Wt},g4:function(){return Xt},gq:function(){return R},hf:function(){return z},i:function(){return Mt},i6:function(){return Wr},i7:function(){return Nr},iE:function(){return a},ih:function(){return Bn},kW:function(){return Dt},km:function(){return or},nP:function(){return p},nQ:function(){return We},nX:function(){return Ir},oM:function(){return Ce},oR:function(){return Qi},o_:function(){return Oe},pf:function(){return St},pr:function(){return gi},pv:function(){return Qr},qB:function(){return ce},r2:function(){return N},rS:function(){return C},s:function(){return ti},sb:function(){return et},sm:function(){return y},t1:function(){return Ge},tB:function(){return Un},tR:function(){return lt},td:function(){return ct},uh:function(){return Ht},up:function(){return _t},v2:function(){return x},vV:function(){return xe},w9:function(){return ie},wR:function(){return An},yS:function(){return fe},yV:function(){return J},yd:function(){return Be},zg:function(){return _e}});var r=e(38986),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,o=(Et,st,Vn)=>st in Et?i(Et,st,{enumerable:!0,configurable:!0,writable:!0,value:Vn}):Et[st]=Vn,h=(Et,st)=>{for(var Vn in st||(st={}))c.call(st,Vn)&&o(Et,Vn,st[Vn]);if(l)for(var Vn of l(st))f.call(st,Vn)&&o(Et,Vn,st[Vn]);return Et},u=(Et,st,Vn)=>new Promise((yi,Kn)=>{var Ki=vn=>{try{ei(Vn.next(vn))}catch(er){Kn(er)}},_i=vn=>{try{ei(Vn.throw(vn))}catch(er){Kn(er)}},ei=vn=>vn.done?yi(vn.value):Promise.resolve(vn.value).then(Ki,_i);ei((Vn=Vn.apply(Et,st)).next())});const a=Et=>u(void 0,null,function*(){return(0,r.ZP)(`/api/courses/${Et==null?void 0:Et.course_id}/course_videos/configs.json`,{method:"put",body:Et})}),x=Et=>u(void 0,null,function*(){return(0,r.ZP)(`/api/courses/${Et==null?void 0:Et.course_id}/course_videos/list_for_config.json`,{method:"Get",params:Et})}),p=Et=>u(void 0,null,function*(){return(0,r.ZP)(`/api/courses/${Et==null?void 0:Et.course_id}/homework_commons/max_late_time.json`,{method:"Get",params:Et})}),y=Et=>u(void 0,null,function*(){return(0,r.ZP)(`/api/courses/${Et==null?void 0:Et.course_id}/homework_commons/batch_late_setting`,{method:"post",body:Et})}),_=Et=>u(void 0,null,function*(){return(0,r.ZP)("/api/course_statistics/course_use_infos.json",{method:"Get",params:Et})}),b=Et=>u(void 0,null,function*(){return(0,r.ZP)("/api/course_statistics/rank_list.json",{method:"Get",params:Et})}),A=Et=>u(void 0,null,function*(){return(0,r.ZP)("/api/course_statistics/statistics_body.json",{method:"Get",params:Et})}),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 C(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.course_id}/assistant_permissions.json`,{method:"Get",params:h({},Et)})})}function D(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.id}/ai_status_query.json`,{method:"Get",params:Et})})}function 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 W(Et){return u(this,null,function*(){return Fetch("/api/disciplines.json",{method:"Get",params:h({},Et)})})}function se(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.id}/top_banner.json`,{method:"get",params:h({},Et)})})}function ie(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 le(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 ue(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 ce(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.id}/course_groups.json`,{method:"get",params:h({},Et)})})}function z(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 ae(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 De(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.id}/informs.json`,{method:"get",params:h({},Et)})})}function ke(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 $e(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.id}/live_links.json`,{method:"get",params:h({},Et)})})}function Bt(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 nr(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 cr(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 Ut(Et){return u(this,null,function*(){return(0,r.ZP)("/api/item_banks.json",{method:"get",params:h({},Et)})})}function at(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 tt(Et){return u(this,null,function*(){return(0,r.ZP)("/api/subject_lists.json",{method:"get",params:h({},Et)})})}function Ue(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.coursesId}/homework_commons/create_subject_homework.json`,{method:"post",body:h({},Et)})})}function ye(Et){return u(this,null,function*(){return(0,r.ZP)("/api/schools/school_list.json",{method:"get",params:Et})})}function Ce(Et){return u(this,null,function*(){return(0,r.ZP)("/api/courses/search_course_list.json",{method:"post",body:Et})})}function Me(Et){return u(this,null,function*(){return(0,r.ZP)("/api/courses.json",{method:"post",body:Et})})}function je(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 nt(Et){return u(this,null,function*(){return(0,r.ZP)("/api/student_groups.json",{method:"get",params:h({page:1,limit:1e3},Et)})})}function lt(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.identifier}/add_student_groups.json`,{method:"post",body:Et})})}function Vt(Et){return u(this,null,function*(){return(0,r.ZP)("/api/courses/search_all.json",{method:"get",params:Et})})}function Ht(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.coursesId}/add_teacher.json`,{method:"post",body:Et})})}function Pe(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.coursesId}/add_students_by_search.json`,{method:"post",body:Et})})}function et(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.coursesId}/set_public_or_private.json`,{method:"post",body:Et})})}function Kt(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.coursesId}/set_invite_code_halt.json`,{method:"post",body:Et})})}function kt(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.coursesId}/duplicate_course.json`,{method:"post",body:Et})})}function Zt(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.coursesId}/update_end_date.json`,{method:"put",body:Et})})}function Nt(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 Wt(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.coursesId}.json`,{method:"put",body:Et})})}function Fe(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.coursesId}/export_couser_info.json`,{method:"get",params:{export:!0}})})}function fe(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.coursesId}/export_member_act_score_async.json`,{method:"get",params:h({export:!0},Et)})})}function pe(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 Ie(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.coursesId}/export_star_user.json`,{method:"get",params:h({export:!0},Et)})})}function 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 Oe(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 xe(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/exercises/${Et.categoryId}/export_exercise_word.json`,{method:"get",params:h({export:!0},Et)})})}function 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 Mt(Et){return u(this,null,function*(){return(0,r.ZP)(`/api//boards/${Et.id}.json`,{method:"delete",params:{export:!0}})})}function Be(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/course_modules/${Et.id}/sticky_module.json`,{method:"get"})})}function Ir(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 Zr(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/weapps/attendances/${Et.id}.json`,{method:"get",params:Et})})}function Yr(Et){return u(this,null,function*(){return(0,r.ZP)("/api/weapps/course_member_attendances.json",{method:"get",params:Et})})}function xr(Et){return u(this,null,function*(){return(0,r.ZP)("/api/weapps/course_member_attendances/update_status.json",{method:"post",body:Et})})}function Mr(Et){return u(this,null,function*(){return Fetch(`/api/polls/${Et.categoryId}/commit_result.xlsx`,{method:"get",params:h({export:!0},Et)})})}function mr(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 Nr(Et){return(0,r.ZP)(`/api/polls/${Et.categoryId}/start_answer.json`,{method:"get",params:h({},Et)})}function nn(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/poll_questions/${Et.questionId}/poll_votes.json`,{method:"post",body:Et})})}function on(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/polls/${Et.categoryId}/commit_poll.json`,{method:"post",body:Et})})}function or(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 $t(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.coursesId}/polls/all_course_groups.json`,{method:"get",params:Et})})}function Sr(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.coursesId}/students.json`,{method:"get",params:Et})})}function vr(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/course_groups/${Et.categoryId}/rename_group.json`,{method:"POST",body:Et})})}function Qr(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/course_groups/${Et.categoryId}.json`,{method:"delete",body:Et})})}function Wr(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.coursesId}/join_course_group.json`,{method:"POST",body:Et})})}function An(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 lr(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.coursesId}/join_course_group.json`,{method:"post",body:Et})})}function Vr(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.coursesId}/exit_course.json`,{method:"post"})})}function dn(Et){return u(this,null,function*(){return(0,r.ZP)("/api/weapps/course_member_attendances.json",{method:"post",body:h({},Et)})})}function Bn(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 ti(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.coursesId}/mooc_users.json`,{method:"post",body:Et})})}function Un(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 Ri(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/course_second_categories/${Et.id}/move_category.json`,{method:"post",body:Et})})}function ni(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/boards/${Et.id}/move_category.json`,{method:"post",body:Et})})}function ci(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.id}/courseware.json`,{method:"get",params:Et})})}function gi(Et,st){return u(this,null,function*(){return(0,r.ZP)(`/api/exercises/${Et}/mark_wrong_topic.json`,{method:"get",params:st})})}function di(Et,st){return u(this,null,function*(){return(0,r.ZP)(`/api/exercises/${Et}/cancel_wrong_topic.json`,{method:"get",params:st})})}function Qi(Et,st){return u(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Et}/allow_end_group.json`,{method:"get",params:st})})}function Gn(Et,st){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et}/homework_commons/end_with_homework_list_position.json`,{method:"post",body:st})})}function Xi(Et,st){return u(this,null,function*(){return(0,r.ZP)(`/api/tasks/${Et}/get_content_for_commit_id.json`,{method:"get",params:st})})}},73801:function(d,v,e){"use strict";e.d(v,{$M:function(){return Xt},$P:function(){return Vt},Ax:function(){return x},Dh:function(){return k},FU:function(){return W},GQ:function(){return ee},IN:function(){return Ue},JM:function(){return je},Ju:function(){return nr},Mn:function(){return tt},Ni:function(){return ae},Pg:function(){return R},Pt:function(){return A},Qp:function(){return V},R9:function(){return se},Ux:function(){return ue},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 le},lm:function(){return ye},ml:function(){return ce},o3:function(){return Ge},pA:function(){return Ut},pS:function(){return Me},pU:function(){return z},ps:function(){return G},q0:function(){return bt},qN:function(){return dt},qS:function(){return b},qj:function(){return Bt},qt:function(){return nt},rV:function(){return C},rZ:function(){return We},rk:function(){return De},rm:function(){return J},sK:function(){return q},sL:function(){return at},su:function(){return Ce},tC:function(){return ke},tO:function(){return $e},u9:function(){return Q},uZ:function(){return _e},vV:function(){return K},xx:function(){return Ht},y8:function(){return Dt},yS:function(){return N},zF:function(){return y},zc:function(){return ie},zj:function(){return D},zz:function(){return lt}});var r=e(38986),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,o=(Pe,et,Kt)=>et in Pe?i(Pe,et,{enumerable:!0,configurable:!0,writable:!0,value:Kt}):Pe[et]=Kt,h=(Pe,et)=>{for(var Kt in et||(et={}))c.call(et,Kt)&&o(Pe,Kt,et[Kt]);if(l)for(var Kt of l(et))f.call(et,Kt)&&o(Pe,Kt,et[Kt]);return Pe},u=(Pe,et,Kt)=>new Promise((kt,Zt)=>{var Nt=Fe=>{try{Wt(Kt.next(Fe))}catch(fe){Zt(fe)}},tr=Fe=>{try{Wt(Kt.throw(Fe))}catch(fe){Zt(fe)}},Wt=Fe=>Fe.done?kt(Fe.value):Promise.resolve(Fe.value).then(Nt,tr);Wt((Kt=Kt.apply(Pe,et)).next())});const a=Pe=>(0,r.ZP)(`/api/competitions/${Pe.identifier}/create_guide.json`,{method:"post",body:Pe}),x=Pe=>(0,r.ZP)(`/api/competitions/${Pe.identifier}/guides.json`,{method:"get",params:Pe}),p=Pe=>(0,r.ZP)(`/api/competitions/${Pe.identifier}/competition_teams/${Pe.competition_team_id}/edit_info.json`,{method:"put",body:Pe});function y(Pe){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Pe.identifier}/update_result.json`,{method:"post",body:Pe})})}function _(Pe){return u(this,null,function*(){return(0,r.ZP)("/api/competitions.json",{method:"Get",params:h({},Pe)})})}function b(Pe){return u(this,null,function*(){return(0,r.ZP)("/api/courses/apply_to_join_course.json",{method:"post",body:Pe})})}function A(Pe){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Pe.identifier}/competition_teams.json`,{method:"post"})})}function k(Pe){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Pe.identifier}/competition_staff.json`,{method:"get"})})}function R(Pe){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Pe.identifier}/common_header.json`,{method:"get"})})}function C(Pe){return u(this,null,function*(){return(0,r.ZP)(`/api/${Pe.url}`,{method:"get",params:h({},Pe)})})}function D(Pe){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Pe.identifier}/update_md_content.json`,{method:"post",body:Pe})})}function M(Pe){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Pe.identifier}/competition_teams.json`,{method:"get",params:Pe})})}function B(Pe){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Pe.identifier}/competition_teams/${Pe.Teannameid}/edit.json`,{method:"get",params:Pe})})}function N(Pe){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Pe.identifier}/competition_teams/${Pe.Teannameid}.json`,{method:"put",body:Pe})})}function K(Pe){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Pe.identifier}/competition_teams/${Pe.id}/leave.json`,{method:"post",body:Pe})})}function G(Pe){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Pe.identifier}/competition_teams/${Pe.id}.json`,{method:"delete"})})}function W(Pe){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Pe.identifier}/competition_teams.json`,{method:"post",body:Pe})})}function se(Pe){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Pe.id}/add_managers.json`,{method:"post",body:Pe})})}function ie(Pe){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Pe.identifier}/competition_teams/join.json`,{method:"post",body:Pe})})}function le(Pe){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Pe.identifier}/teachers.json`,{method:"get",params:Pe})})}function q(Pe){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Pe.identifier}/students.json`,{method:"get",params:Pe})})}function J(Pe){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Pe.identifier}/competition_teams/${Pe.teamid}/crud_team_members.json`,{method:"post",body:Pe})})}function V(Pe){return u(this,null,function*(){return(0,r.ZP)("/api/users/competition_reward.json",{method:"post",body:Pe})})}function ue(Pe){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Pe.identifier}/chart_rules.json`,{method:"get"})})}function ee(Pe){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Pe.identifier}/charts.json`,{method:"get",params:Pe})})}function Q(Pe){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Pe.identifier}/results.json`,{method:"get",params:Pe})})}function ce(Pe){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Pe.identifier}/md_tab_rules.json`,{method:"get",params:Pe})})}function z(Pe){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Pe.identifier}/prize.json`,{method:"get",params:Pe})})}function $(Pe){return u(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${Pe.id}.json`,{method:"get",params:Pe})})}function ae(Pe){return u(this,null,function*(){return(0,r.ZP)("/api/accounts/get_verification_code.json",{method:"get",params:Pe})})}function _e(Pe){return u(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${Pe.userid}/phone_bind.json`,{method:"post",body:Pe})})}function De(Pe){return u(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${Pe.userid}/email_bind.json`,{method:"post",body:Pe})})}function ke(Pe){return u(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${Pe.userid}/professional_auth_apply.json`,{method:"delete"})})}function He(Pe){return u(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${Pe.userid}/authentication_apply.json`,{method:"delete"})})}function $e(Pe){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Pe.identifier}/prize_leader_account.json`,{method:"put",body:Pe})})}function Bt(Pe){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Pe.identifier}/competition_teams/${Pe.teamid}/shixun_detail.json`,{method:"get"})})}function gt(Pe){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Pe.identifier}/competition_teams/${Pe.teamid}/course_detail.json`,{method:"get"})})}function Dt(Pe){return u(this,null,function*(){return(0,r.ZP)(`/api/attachments/${Pe.id}.json`,{method:"delete"})})}function nr(Pe){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Pe.id}/get_certificate_info.json`,{method:"get",params:Pe})})}function Xt(Pe){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Pe.id}/basic_setting.json`,{method:"post",body:Pe})})}function cr(){return u(this,null,function*(){return Fetch("/api/competitions/download_template",{method:"get",responseType:"arraybuffer"})})}function Ge(Pe){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Pe}/common_header.json`,{method:"get"})})}function Tt(Pe){return u(this,null,function*(){return Fetch("/api/competitions.json",{method:"post",body:Pe})})}function Ut(Pe){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Pe==null?void 0:Pe.id}/search_managers.json`,{method:"get",params:Pe})})}function at(Pe){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Pe}/get_managers.json`,{method:"get"})})}function bt(Pe){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Pe==null?void 0:Pe.id}/add_managers.json`,{method:"post",body:Pe})})}function dt(Pe){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Pe==null?void 0:Pe.id}/delete_managers.json`,{method:"delete",body:Pe})})}function tt(Pe){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Pe}/get_picture.json`,{method:"get"})})}function Ue(Pe){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Pe==null?void 0:Pe.id}/identifier_exist.json`,{method:"post",body:Pe})})}function ye(Pe){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Pe}/get_shixun_settings.json`,{method:"get"})})}function Ce(Pe){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Pe==null?void 0:Pe.id}/shixun_add.json`,{method:"post",body:Pe})})}function Me(Pe){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Pe==null?void 0:Pe.id}/shixun_delete.json`,{method:"delete",body:Pe})})}function je(Pe){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Pe==null?void 0:Pe.id}/shixun_select.json`,{method:"post",body:Pe})})}function We(Pe){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Pe}/info_finish.json`,{method:"get"})})}function nt(Pe){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Pe==null?void 0:Pe.id}/competition_review.json`,{method:"post",body:h({},Pe)})})}function lt(Pe){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Pe.identifier}/competition_teams.json`,{method:"get",params:Pe})})}function Vt(Pe){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Pe.identifier}/all_team_members.json`,{method:"get",params:Pe})})}function Ht(Pe){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Pe.identifier}/competition_commit_records/member_works.json`,{method:"get",params:Pe})})}},1103:function(d,v,e){"use strict";e.d(v,{F:function(){return b},OE:function(){return D},ff:function(){return A},p1:function(){return k},_y:function(){return _},mK:function(){return K},gq:function(){return W},eM:function(){return N},BA:function(){return le},bA:function(){return J},Nx:function(){return q},Qx:function(){return M},At:function(){return R},PX:function(){return C},Xl:function(){return B},y9:function(){return G},No:function(){return se},ay:function(){return V}});var r=e(38986),i=Object.defineProperty,l=Object.defineProperties,c=Object.getOwnPropertyDescriptors,f=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,h=Object.prototype.propertyIsEnumerable,u=(ue,ee,Q)=>ee in ue?i(ue,ee,{enumerable:!0,configurable:!0,writable:!0,value:Q}):ue[ee]=Q,a=(ue,ee)=>{for(var Q in ee||(ee={}))o.call(ee,Q)&&u(ue,Q,ee[Q]);if(f)for(var Q of f(ee))h.call(ee,Q)&&u(ue,Q,ee[Q]);return ue},x=(ue,ee)=>l(ue,c(ee)),p=(ue,ee)=>{var Q={};for(var ce in ue)o.call(ue,ce)&&ee.indexOf(ce)<0&&(Q[ce]=ue[ce]);if(ue!=null&&f)for(var ce of f(ue))ee.indexOf(ce)<0&&h.call(ue,ce)&&(Q[ce]=ue[ce]);return Q},y=(ue,ee,Q)=>new Promise((ce,z)=>{var $=De=>{try{_e(Q.next(De))}catch(ke){z(ke)}},ae=De=>{try{_e(Q.throw(De))}catch(ke){z(ke)}},_e=De=>De.done?ce(De.value):Promise.resolve(De.value).then($,ae);_e((Q=Q.apply(ue,ee)).next())});const _=ue=>y(void 0,null,function*(){var ee=ue,{id:Q}=ee,ce=p(ee,["id"]);return(0,r.ZP)(`/api/ec_years/${Q}/course_results.json`,{method:"get",params:ce})}),b=ue=>{let ee=document.createElement("iframe");ee.src=`/api/ec_years/${ue}/course_results.xlsx`,ee.style.display="none",document.body.appendChild(ee)},A=({ec_year_id:ue})=>(0,r.ZP)(`/api/ec_years/${ue}/course_results/get_class.json`,{method:"get"}),k=({ec_year_id:ue,id:ee,class_name:Q=null})=>(0,r.ZP)(`/api/ec_years/${ue}/course_results/${ee}.json`,{method:"get",params:{class_name:Q}}),R=({ec_year_id:ue})=>(0,r.ZP)("/api/ec_courses/1/evaluations/compute_all_courses_data",{method:"post",body:{ec_year_id:ue}}),C=({ec_course_id:ue})=>(0,r.ZP)(`/api/ec_courses/${ue}/evaluations/evaluation_data`,{method:"POST"}),D=ue=>{let ee=document.createElement("iframe");ee.src=`/api/ec_years/${ue}/ec_graduation_results.xlsx`,ee.style.display="none",document.body.appendChild(ee)},M=({ec_year_id:ue})=>(0,r.ZP)(`/api/ec_years/${ue}/ec_graduation_results/compute_all`,{method:"post"}),B=({ec_year_id:ue,id:ee})=>(0,r.ZP)(`/api/ec_years/${ue}/ec_graduation_results/compute_single?id=${ee}`,{method:"POST"}),N=ue=>(0,r.ZP)(`/api/ec_years/${ue}/ec_graduation_results.json`,{method:"get"}),K=ue=>(0,r.ZP)(`/api/ec_years/${ue}/ec_graduation_results/get_formulas.json`,{method:"get"}),G=({ec_year_id:ue,formula_one:ee,formula_two:Q,formula_three:ce})=>(0,r.ZP)(`/api/ec_years/${ue}/ec_graduation_results/set_formulas.json`,{method:"PUT",body:{formula_one_id:ee,formula_two_id:Q,formula_three_id:ce}}),W=({ec_year_id:ue,id:ee})=>(0,r.ZP)(`/api/ec_years/${ue}/ec_graduation_results/${ee}.json`,{method:"get"}),se=ue=>{var ee=ue,{ec_year_id:Q,type:ce,goal_value:z}=ee,$=p(ee,["ec_year_id","type","goal_value"]);let ae=`?type=${ce}`,_e={method:"PUT"};return ce==="all"&&(ae+=`&goal_value=${z}`),ce==="each"&&(_e=x(a({},_e),{body:$})),(0,r.ZP)(`/api/ec_years/${Q}/ec_graduation_results/set_goal_value${ae}`,_e)};var ie=(ue,ee,Q)=>new Promise((ce,z)=>{var $=De=>{try{_e(Q.next(De))}catch(ke){z(ke)}},ae=De=>{try{_e(Q.throw(De))}catch(ke){z(ke)}},_e=De=>De.done?ce(De.value):Promise.resolve(De.value).then($,ae);_e((Q=Q.apply(ue,ee)).next())});const le=ue=>ie(void 0,null,function*(){return(0,r.ZP)(`/api/schools/${ue}/ec_majors/get_major_list.json`,{method:"get"})}),q=ue=>ie(void 0,null,function*(){return(0,r.ZP)(`/api/ec_major_schools/${ue}/ec_years/get_year_list.json`,{method:"get"})}),J=({ec_year_id:ue,school_id:ee})=>(0,r.ZP)(`/api/ec_years/${ue}/top_pages.json`,{method:"get",params:{school_id:ee}}),V=({id:ue,name:ee})=>(0,r.ZP)(`/api/ec_years/1/top_pages/${ue}?name=${ee}`,{method:"PUT"})},81722:function(d,v,e){"use strict";e.d(v,{$Q:function(){return D},$l:function(){return vr},BJ:function(){return dt},CD:function(){return et},Cd:function(){return nt},Cl:function(){return Be},Di:function(){return cr},Fl:function(){return Ut},G$:function(){return ce},GK:function(){return Tt},Ip:function(){return ye},J:function(){return z},KE:function(){return at},L8:function(){return Wt},LP:function(){return Ce},MK:function(){return Ge},Mb:function(){return xr},N0:function(){return G},N3:function(){return $e},OO:function(){return R},P8:function(){return on},PJ:function(){return ae},PT:function(){return mr},Qc:function(){return se},RK:function(){return Q},Ty:function(){return Ye},UH:function(){return ct},UK:function(){return Bt},Uj:function(){return Ht},Ul:function(){return We},VL:function(){return Zt},Vj:function(){return fe},W4:function(){return Vt},WL:function(){return pe},Wj:function(){return ee},X4:function(){return Ue},Xn:function(){return Zr},Xo:function(){return le},YY:function(){return Xt},Ym:function(){return N},Yu:function(){return or},ZD:function(){return nn},Zg:function(){return Ir},_B:function(){return Pe},_F:function(){return Mr},_U:function(){return J},_u:function(){return _e},aU:function(){return K},ab:function(){return Mt},cC:function(){return xe},cV:function(){return V},ck:function(){return Nr},dp:function(){return W},eA:function(){return $t},fG:function(){return A},gA:function(){return ue},gG:function(){return Yr},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 Nt},lL:function(){return C},lf:function(){return He},n$:function(){return ke},n7:function(){return q},nF:function(){return Fe},o3:function(){return _t},oS:function(){return Me},oX:function(){return kt},oy:function(){return mt},p7:function(){return B},pL:function(){return Kt},pu:function(){return tt},q6:function(){return tr},qf:function(){return nr},qz:function(){return je},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 Oe},yE:function(){return ie},yu:function(){return Ie},zP:function(){return M},zR:function(){return Sr}});var r=e(38986),i=Object.defineProperty,l=Object.defineProperties,c=Object.getOwnPropertyDescriptors,f=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,h=Object.prototype.propertyIsEnumerable,u=(At,lr,Vr)=>lr in At?i(At,lr,{enumerable:!0,configurable:!0,writable:!0,value:Vr}):At[lr]=Vr,a=(At,lr)=>{for(var Vr in lr||(lr={}))o.call(lr,Vr)&&u(At,Vr,lr[Vr]);if(f)for(var Vr of f(lr))h.call(lr,Vr)&&u(At,Vr,lr[Vr]);return At},x=(At,lr)=>l(At,c(lr)),p=(At,lr,Vr)=>new Promise((dn,Bn)=>{var ti=ni=>{try{Ri(Vr.next(ni))}catch(ci){Bn(ci)}},Un=ni=>{try{Ri(Vr.throw(ni))}catch(ci){Bn(ci)}},Ri=ni=>ni.done?dn(ni.value):Promise.resolve(ni.value).then(ti,Un);Ri((Vr=Vr.apply(At,lr)).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}),A=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}),C=At=>(0,r.ZP)(`/api/exercises/${At==null?void 0:At.exercise_id}/statistics/set_score_ranges.json`,{method:"put",body:At}),D=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})}),W=At=>(0,r.ZP)(`/api/exercises/${At==null?void 0:At.id}/code_check.json`,{method:"get",params:At}),se=At=>(0,r.ZP)(`/api/exercises/${At.id}/reset_pwd.json`,{method:"post",body:At}),ie=At=>(0,r.ZP)(`/api/exercises/${At.id}/encrypt_or_decrypt.json`,{method:"post",body:At}),le=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 ue(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 ce(At){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${At.categoryId}/exercise_lists.json`,{method:"get",params:a({},At)})})}function z(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 ae(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 De(At){return p(this,null,function*(){return Fetch(`/api/exercises/${At.categoryId}/exercise_score_area_setting.json`,{method:"post",body:a({},At)})})}function ke(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 $e(At){return p(this,null,function*(){return(0,r.ZP)(`/api/courses/${At.coursesId}/exercises/publish_modal.json`,{method:"get",params:a({},At)})})}function Bt(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 nr(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 cr(At){return p(this,null,function*(){const{id:lr}=At;return delete At.id,(0,r.ZP)(`/api/exercise_questions/${lr}.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 Ut(At){return p(this,null,function*(){return(0,r.ZP)(`/api/exercise_questions/${At.id}.json`,{method:"delete"})})}function at(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 tt(At){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${At.exerciseId}/consult_exercise.json`,{method:"post",body:a({},At)})})}function Ue(At){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${At.exerciseId}/teacher_appraise.json`,{method:"get",params:a({},At)})})}function ye(At){return p(this,null,function*(){return(0,r.ZP)(`/api/exercise_questions/${At.id}/adjust_score.json`,{method:"post",body:a({},At)})})}function Ce(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 Me(At){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${At.id}/adjust_score.json`,{method:"post",body:a({},At)})})}function je(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 nt(At){return p(this,null,function*(){return(0,r.ZP)(`/api/v2/exercises/${At.categoryId}/exercise_setting.json`,{method:"get",params:a({},At)})})}function lt(At){return p(this,null,function*(){return Fetch(`/api/exercises/${At.categoryId}/commit_setting.json`,{method:"post",body:a({},At)})})}function Vt(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 Ht(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 Pe(At){return(0,r.ZP)(`/api/exercises/${At.categoryId}/user_exercise_detail.json`,{method:"get",params:x(a({},At),{login:null})})}function et(At){return(0,r.ZP)(`/api/exercises/${At.categoryId}/start.json`,{method:"get",params:a({},At)})}function Kt(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 Zt(At){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${At.categoryId}/commit_exercise.json`,{method:"post",body:At})})}function Nt(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 Wt(At){return(0,r.ZP)(`/api/${At.url}`,{method:"get",params:a({},At)})}function Fe(At){return(0,r.ZP)(`/api/problems/${At.id}/start.json`,{method:"get",params:a({},At)})}function fe(At){return(0,r.ZP)(`/api/exercises/${At.id}/begin_commit.json`,{method:"get",params:a({},At)})}function pe(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 Ie(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 Oe(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 xe(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 Mt(At){return(0,r.ZP)(`/api/exercises/${At.id}/unbind_ip.json`,{method:"post",body:a({},At)})}function Be(At){return(0,r.ZP)(`/api/exercises/${At.id}/check_ip.json`,{method:"get",params:a({},At)})}function Ir(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 Zr(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 Yr(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 xr(At){return p(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${At.categoryId}/simulate_exercise.json`,{method:"post",body:a({},At)})})}function Mr(At){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${At.categoryId}/simulate_start_answer.json`,{method:"get",params:a({},At)})})}function mr(At){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${At.categoryId}/exercise_time.json`,{method:"get",params:a({},At)})})}function Nr(At){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${At.categoryId}/commit_screen_at.json`,{method:"post",body:a({},At)})})}function nn(At,lr){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${At}/unlock_user`,{method:"post",body:lr})})}function on(At,lr){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${At}/save_screen_record.json`,{method:"post",body:lr})})}function or(At,lr){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${At}/screen_record_list.json`,{method:"get",params:lr})})}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,lr){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${At}/mark.json`,{method:"post",body:lr})})}function $t(At){return p(this,null,function*(){return(0,r.ZP)(`/api/myshixuns/${At}/exit_delete_pod.json`,{method:"post",body:At})})}function Sr(At){return p(this,null,function*(){return(0,r.ZP)("/api/users/change_exercise_score.json",{method:"put",body:At})})}function vr(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 Qr(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 Wr(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 An(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)})})}},94670:function(d,v,e){"use strict";e.d(v,{B0:function(){return p},Si:function(){return R},Sr:function(){return D},YP:function(){return C},b4:function(){return k},bc:function(){return a},dX:function(){return A},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(38986),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,o=(G,W,se)=>W in G?i(G,W,{enumerable:!0,configurable:!0,writable:!0,value:se}):G[W]=se,h=(G,W)=>{for(var se in W||(W={}))c.call(W,se)&&o(G,se,W[se]);if(l)for(var se of l(W))f.call(W,se)&&o(G,se,W[se]);return G},u=(G,W,se)=>new Promise((ie,le)=>{var q=ue=>{try{V(se.next(ue))}catch(ee){le(ee)}},J=ue=>{try{V(se.throw(ue))}catch(ee){le(ee)}},V=ue=>ue.done?ie(ue.value):Promise.resolve(ue.value).then(q,J);V((se=se.apply(G,W)).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 A(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 C(G){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${G.user_id}/watch.json`,{method:"post",body:G})})}function D(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})})}},22072:function(d,v,e){"use strict";e.d(v,{D2:function(){return a},n0:function(){return x},tk:function(){return p}});var r=e(38986),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,o=(y,_,b)=>_ in y?i(y,_,{enumerable:!0,configurable:!0,writable:!0,value:b}):y[_]=b,h=(y,_)=>{for(var b in _||(_={}))c.call(_,b)&&o(y,b,_[b]);if(l)for(var b of l(_))f.call(_,b)&&o(y,b,_[b]);return y},u=(y,_,b)=>new Promise((A,k)=>{var R=M=>{try{D(b.next(M))}catch(B){k(B)}},C=M=>{try{D(b.throw(M))}catch(B){k(B)}},D=M=>M.done?A(M.value):Promise.resolve(M.value).then(R,C);D((b=b.apply(y,_)).next())});function a(y){return u(this,null,function*(){return(0,r.ZP)("/api/setting.json",{method:"Get",params:h({},y)})})}function x(){return u(this,null,function*(){return(0,r.ZP)("/api/users/system_update.json",{method:"Get"})})}function p(y){return u(this,null,function*(){return(0,r.ZP)("/api/search_records",{method:"post",body:y})})}},24059:function(d,v,e){"use strict";e.d(v,{B6:function(){return p},Gr:function(){return N},Mf:function(){return D},NA:function(){return R},PC:function(){return A},PP:function(){return k},QA:function(){return x},RP:function(){return W},Sv:function(){return G},YQ:function(){return C},_n:function(){return se},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(38986),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,o=(ie,le,q)=>le in ie?i(ie,le,{enumerable:!0,configurable:!0,writable:!0,value:q}):ie[le]=q,h=(ie,le)=>{for(var q in le||(le={}))c.call(le,q)&&o(ie,q,le[q]);if(l)for(var q of l(le))f.call(le,q)&&o(ie,q,le[q]);return ie},u=(ie,le,q)=>new Promise((J,V)=>{var ue=ce=>{try{Q(q.next(ce))}catch(z){V(z)}},ee=ce=>{try{Q(q.throw(ce))}catch(z){V(z)}},Q=ce=>ce.done?J(ce.value):Promise.resolve(ce.value).then(ue,ee);Q((q=q.apply(ie,le)).next())});function a(ie){return u(this,null,function*(){return(0,r.ZP)(`/api/graduation_tasks/${ie.categoryId}.json`,{method:"get",params:h({},ie)})})}function x(ie){return u(this,null,function*(){return(0,r.ZP)(`/api/graduation_tasks/${ie.categoryId}/tasks_list.json`,{method:"get",params:h({},ie)})})}function p(ie){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${ie.coursesId}/graduation_topics/${ie.categoryId}/show_detail.json`,{method:"get",params:h({},ie)})})}function y(ie){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${ie.coursesId}/graduation_topics/${ie.categoryId}.json`,{method:"get",params:h({},ie)})})}function _(ie){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${ie.coursesId}/graduation_topics/${ie.categoryId}/refuse_student_topic.json`,{method:"post",body:h({},ie)})})}function b(ie){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${ie.coursesId}/graduation_topics/${ie.categoryId}/accept_student_topic.json`,{method:"post",body:h({},ie)})})}function A(ie){return u(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${ie.categoryId}/show_comment.json`,{method:"get",params:h({},ie)})})}function k(ie){return u(this,null,function*(){return(0,r.ZP)("/api/users/reply_message.json",{method:"post",body:h({},ie)})})}function R(ie){return u(this,null,function*(){return(0,r.ZP)("/api/praise_tread/like.json",{method:"post",body:h({},ie)})})}function C(ie){return u(this,null,function*(){return(0,r.ZP)("/api/praise_tread/unlike.json",{method:"delete",body:h({},ie)})})}function D(ie){return u(this,null,function*(){return(0,r.ZP)("/api/commons/delete.json",{method:"delete",body:h({},ie)})})}function M(ie){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${ie.coursesId}/graduation_topics/new.json`,{method:"get",params:h({},ie)})})}function B(ie){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${ie.coursesId}/graduation_topics/${ie.categoryId}/edit.json`,{method:"get",params:h({},ie)})})}function N(ie){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${ie.coursesId}/graduation_topics`,{method:"post",body:h({},ie)})})}function K(ie){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${ie.coursesId}/graduation_topics/${ie.categoryId}`,{method:"put",body:h({},ie)})})}function G(ie){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${ie.coursesId}/graduation_tasks`,{method:"post",body:h({},ie)})})}function W(ie){return u(this,null,function*(){return(0,r.ZP)(`/api/graduation_tasks/${ie.categoryId}.json`,{method:"put",body:h({},ie)})})}function se(ie){return u(this,null,function*(){return(0,r.ZP)(`/api/graduation_tasks/${ie.categoryId}/edit.json`,{method:"get",params:h({},ie)})})}},12309:function(d,v,e){"use strict";e.d(v,{AA:function(){return K},Db:function(){return x},Dd:function(){return b},F7:function(){return q},Fi:function(){return ce},H3:function(){return _},HF:function(){return k},HH:function(){return y},Ib:function(){return ue},J3:function(){return o},NT:function(){return l},NX:function(){return C},Ot:function(){return R},Ou:function(){return J},Ps:function(){return c},Rk:function(){return le},Tz:function(){return a},V1:function(){return ee},Wz:function(){return f},Xh:function(){return p},Xw:function(){return ie},YS:function(){return W},Zd:function(){return Q},bS:function(){return D},ck:function(){return A},eh:function(){return N},il:function(){return h},j7:function(){return u},jW:function(){return G},km:function(){return se},l5:function(){return B},rU:function(){return z},xF:function(){return M},zC:function(){return V},zT:function(){return $}});var r=e(38986),i=(ae,_e,De)=>new Promise((ke,He)=>{var $e=Dt=>{try{gt(De.next(Dt))}catch(nr){He(nr)}},Bt=Dt=>{try{gt(De.throw(Dt))}catch(nr){He(nr)}},gt=Dt=>Dt.done?ke(Dt.value):Promise.resolve(Dt.value).then($e,Bt);gt((De=De.apply(ae,_e)).next())});function l(ae){return(0,r.ZP)("/api/schools/search.json",{method:"get",params:ae})}function c(ae){return(0,r.ZP)(`/api/schools/${ae.id}/departments/for_option.json`,{method:"get",params:ae})}function f(ae){return(0,r.ZP)("/api/graduations.json",{method:"POST",body:ae})}function o(ae){return(0,r.ZP)("/api/graduations.json",{method:"get",params:ae})}function h(ae){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ae.identifier}/graduation_stages/${ae.stageid}/authorized_redelivery.json`,{method:"POST",body:ae})})}function u(ae){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ae.identifier}/graduation_stages/${ae.stageid}/submit.json`,{method:"POST",body:ae})})}function a(ae){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ae.id}/student_tasks/export_status.json`,{method:"get",params:ae})})}function x(ae){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ae.id}/student_tasks/export_all_attachments.json`,{method:"get",params:ae})})}function p(ae){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ae.identifier}/graduation_stages/${ae.id}.json`,{method:"get",params:ae})})}function y(ae){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ae.id}/student_tasks/set_final_score.json`,{method:"POST",body:ae})})}function _(ae){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ae.id}/student_tasks/final_score.json`,{method:"get",params:ae})})}function b(ae){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ae.id}/set_novice_guide.json`,{method:"POST",body:ae})})}function A(ae){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ae.id}/graduation_notices/${ae.doid}/set_do.json`,{method:"POST",body:ae})})}function k(ae){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ae.id}/graduation_teachers.json`,{method:"POST",body:ae})})}function R(ae){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ae.identifier}/graduation_students/${ae.id}/update_major.json`,{method:"PUT",body:ae})})}function C(ae){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ae.id}/graduation_students.json`,{method:"POST",body:ae})})}function D(ae){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ae.id}/graduation_teachers/search.json`,{method:"get",params:ae})})}function M(ae){return i(this,null,function*(){return(0,r.ZP)("/api/schools/search.json",{method:"get",params:ae})})}function B(ae){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ae.id}/graduation_students/search.json`,{method:"get",params:ae})})}function N(ae){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ae.id}/graduation_students.json`,{method:"get",params:ae})})}function K(ae){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ae.id}/graduation_teachers.json`,{method:"get",params:ae})})}function G(ae){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ae.graduation_id}/graduation_tasks.json`,{method:"POST",body:ae})})}function W(ae){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ae.graduation_id}/graduation_tasks/${ae.id}.json`,{method:"PUT",body:ae})})}function se(ae){return i(this,null,function*(){var _e;return(0,r.ZP)(`/api/graduations/${ae.id}/graduation_tasks/${(_e=ae.ids)==null?void 0:_e[0]}`,{method:"DELETE",body:{ids:ae.ids}})})}function ie(ae){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ae.id}/graduation_tasks.json`,{method:"get",params:ae})})}function le(ae){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ae.id}/graduation_notices.json`,{method:"get",params:ae})})}function q(ae){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ae.id}.json`,{method:"get"})})}function J(ae){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ae==null?void 0:ae.id}/common_header.json`,{method:"get"})})}function V(ae,_e){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ae}/preview.json`,{method:"get"})})}function ue(ae,_e){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ae}/graduation_teachers/not_pass.json`,{method:"post",body:_e})})}function ee(ae,_e){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ae}/graduation_teachers/pass.json`,{method:"post",body:_e})})}function Q(ae,_e){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ae}/graduation_students/not_pass.json`,{method:"post",body:_e})})}function ce(ae,_e){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ae}/graduation_students/pass.json`,{method:"post",body:_e})})}function z(ae,_e){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ae}/graduation_students/batch_delete`,{method:"delete",body:_e})})}function $(ae,_e){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ae}/graduation_teachers/batch_delete`,{method:"delete",body:_e})})}},82220:function(d,v,e){"use strict";e.d(v,{LA:function(){return a},Rm:function(){return c},S_:function(){return x},Tt:function(){return o},cR:function(){return h},eX:function(){return l},h$:function(){return f},vm:function(){return u}});var r=e(38986),i=(p,y,_)=>new Promise((b,A)=>{var k=D=>{try{C(_.next(D))}catch(M){A(M)}},R=D=>{try{C(_.throw(D))}catch(M){A(M)}},C=D=>D.done?b(D.value):Promise.resolve(D.value).then(k,R);C((_=_.apply(p,y)).next())});const l=p=>i(void 0,null,function*(){return(0,r.ZP)("/api/home/env_detail.json",{method:"Get",params:p})}),c=p=>i(void 0,null,function*(){return(0,r.ZP)("/api/home/env_list.json",{method:"Get",params:p})}),f=p=>i(void 0,null,function*(){return(0,r.ZP)("/api/home/online_list.json",{method:"Get",params:p})});function o(){return i(this,null,function*(){return(0,r.ZP)("/api/home/index.json",{method:"Get"})})}function h(p){return i(this,null,function*(){return(0,r.ZP)("/api/courses/apply_to_join_course.json",{method:"post",body:p})})}function u(p){return i(this,null,function*(){return(0,r.ZP)("/api/project_applies.json",{method:"post",body:p})})}function a(p){return i(this,null,function*(){return(0,r.ZP)("/api/users/home_notice.json",{method:"Get"})})}function x(p){return i(this,null,function*(){return(0,r.ZP)("/api/users/view_notice.json",{method:"post",body:p})})}},50958:function(d,v,e){"use strict";e.d(v,{AD:function(){return a},Ig:function(){return x},Ko:function(){return _},QJ:function(){return b},Ub:function(){return A},V8:function(){return p},dl:function(){return k},w0:function(){return y}});var r=e(38986),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,o=(R,C,D)=>C in R?i(R,C,{enumerable:!0,configurable:!0,writable:!0,value:D}):R[C]=D,h=(R,C)=>{for(var D in C||(C={}))c.call(C,D)&&o(R,D,C[D]);if(l)for(var D of l(C))f.call(C,D)&&o(R,D,C[D]);return R},u=(R,C,D)=>new Promise((M,B)=>{var N=W=>{try{G(D.next(W))}catch(se){B(se)}},K=W=>{try{G(D.throw(W))}catch(se){B(se)}},G=W=>W.done?M(W.value):Promise.resolve(W.value).then(N,K);G((D=D.apply(R,C)).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 A(R){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${R.userId}/private_message_details.json`,{method:"get",params:h({},R)})})}function k(R){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${R.userId}/private_messages/${R.id}.json`,{method:"delete"})})}},49379:function(d,v,e){"use strict";e.d(v,{A2:function(){return b},CI:function(){return p},Ep:function(){return _},Ex:function(){return M},R7:function(){return a},WW:function(){return B},_V:function(){return D},ms:function(){return R},s0:function(){return A},vf:function(){return y},xn:function(){return x},yy:function(){return C}});var r=e(38986),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((W,se)=>{var ie=J=>{try{q(G.next(J))}catch(V){se(V)}},le=J=>{try{q(G.throw(J))}catch(V){se(V)}},q=J=>J.done?W(J.value):Promise.resolve(J.value).then(ie,le);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 A(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 C(N){return u(this,null,function*(){return(0,r.ZP)(`/api/course_stages/${N.id}/down_position.json`,{method:"post"})})}function D(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"})})}},93629:function(d,v,e){"use strict";e.d(v,{DF:function(){return b},Di:function(){return ee},Dm:function(){return le},Dq:function(){return De},Gd:function(){return _},Hb:function(){return ke},Hm:function(){return W},ID:function(){return u},JP:function(){return _e},NC:function(){return K},Pl:function(){return A},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 ie},kF:function(){return He},kp:function(){return D},lc:function(){return C},oF:function(){return ce},q$:function(){return h},qN:function(){return se},tS:function(){return R},ts:function(){return B},un:function(){return V},w0:function(){return ue},wX:function(){return J},yE:function(){return f}});var r=e(38986),i=($e,Bt,gt)=>new Promise((Dt,nr)=>{var Xt=Tt=>{try{Ge(gt.next(Tt))}catch(Ut){nr(Ut)}},cr=Tt=>{try{Ge(gt.throw(Tt))}catch(Ut){nr(Ut)}},Ge=Tt=>Tt.done?Dt(Tt.value):Promise.resolve(Tt.value).then(Xt,cr);Ge((gt=gt.apply($e,Bt)).next())});const l=$e=>(0,r.ZP)(`/api/examination_banks/${$e==null?void 0:$e.id}/code_check.json`,{method:"get",params:$e}),c=$e=>(0,r.ZP)(`/api/examination_banks/${$e.id}/reset_pwd.json`,{method:"post",body:$e}),f=$e=>(0,r.ZP)(`/api/examination_banks/${$e.id}/encrypt_or_decrypt.json`,{method:"post",body:$e}),o=$e=>(0,r.ZP)("/api/examination_banks/exist_course.json",{method:"post",body:$e}),h=$e=>(0,r.ZP)("/api/examination_banks/check_examination_banks.json",{method:"post",body:$e}),u=$e=>(0,r.ZP)(`/api/examination_banks/${$e.id}/copy.json`,{method:"post",body:$e}),a=$e=>(0,r.ZP)(`/api/examination_banks/${$e.id}/get_question_type_alias.json`,{method:"get",params:$e});function x($e){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${$e.id}/edit_question_type_alias.json`,{method:"POST",body:$e})})}function p($e){return i(this,null,function*(){return(0,r.ZP)("/api/disciplines.json",{method:"get",params:$e})})}function y($e){return i(this,null,function*(){return(0,r.ZP)("/api/disciplines/by_examination_banks.json",{method:"get",params:$e})})}function _($e){return i(this,null,function*(){return(0,r.ZP)("/api/examination_banks.json",{method:"get",params:$e})})}function b($e){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${$e.id}/set_public.json`,{method:"post"})})}function A($e){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${$e.id}/set_private.json`,{method:"post"})})}function k($e){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${$e.id}.json`,{method:"delete"})})}function R($e){return i(this,null,function*(){return(0,r.ZP)("/api/question_banks/my_courses.json",{method:"get",params:$e})})}const C=$e=>(0,r.ZP)("/api/examination_banks/batch_send_to_course.json",{method:"post",body:$e});function D($e){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${$e.id}/send_to_course.json`,{method:"post",body:$e})})}function M($e){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${$e.id}.json`,{method:"get",params:$e})})}function B($e){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${$e.id}/examination_banks_item_banks/${$e.itemId}/set_score`,{method:"post",body:$e})})}function N($e){return i(this,null,function*(){return Fetch(`/api/examination_banks/${$e.id}/examination_banks_item_banks/${$e.itemId}/set_shixun_score.json`,{method:"post",body:$e})})}function K($e){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${$e.id}/examination_banks_item_banks/${$e.itemId}.json`,{method:"delete"})})}function G($e){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${$e.id}/examination_banks_item_banks/batch_set_score.json`,{method:"post",body:$e})})}function W($e){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${$e.id}/examination_banks_item_banks/destroy_by_item_type.json`,{method:"delete",body:$e})})}function se($e){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${$e.id}/examination_banks_item_banks/${$e.itemId}/adjust_position.json`,{method:"post",body:$e})})}function ie($e){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${$e.id}.json`,{method:"put",body:$e})})}function le($e){return i(this,null,function*(){return(0,r.ZP)("/api/teach_group_shares.json",{method:"get",params:$e})})}function q($e){return i(this,null,function*(){return(0,r.ZP)("/api/examination_banks/set_batch_public.json",{method:"post",body:$e})})}function J($e){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${$e==null?void 0:$e.id}/set_public.json`,{method:"post",body:$e})})}function V($e){return i(this,null,function*(){return(0,r.ZP)("/api/examination_banks/create_exam.json",{method:"post",body:$e})})}function ue($e){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${$e.id}/update_exam.json`,{method:"put",body:$e})})}function ee($e){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${$e.id}/edit_exam.json`,{method:"get"})})}function Q($e,Bt){return i(this,null,function*(){return Fetch(`/api/examination_banks/${$e}/examination_banks_item_banks.json`,{method:"post",body:Bt})})}function ce($e){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${$e.id}/examination_banks_item_banks/create_item_bank.json`,{method:"post",body:$e})})}function z($e,Bt){return i(this,null,function*(){return Fetch(`/api/examination_banks/${$e}/sort_question_type.json`,{method:"post",body:Bt})})}function $($e){return i(this,null,function*(){return Fetch(`/api/examination_banks/${$e.exam_id}/examination_banks_item_banks/${$e.question_id}.json`,{method:"delete"})})}function ae($e,Bt){return i(this,null,function*(){return Fetch(`/api/examination_banks/${$e}/batch_set_score.json`,{method:"post",body:Bt})})}function _e($e){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${$e}/simulate_exercise.json`,{method:"post"})})}function De($e){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${$e}/exercise_header.json`,{method:"get"})})}function ke($e,Bt,gt){return i(this,null,function*(){const Dt=new FormData;return Dt.append("file",Bt),Dt.append("sub_discipline_id",gt),(0,r.ZP)(`/api/examination_banks/${$e}/import_item_banks.json`,{method:"post",body:Dt},!0)})}function He($e){return i(this,null,function*(){return(0,r.ZP)("/api/users/change_exam_score.json",{method:"put",body:$e})})}},36714:function(d,v,e){"use strict";e.d(v,{$D:function(){return q},A2:function(){return ye},A7:function(){return zt},AQ:function(){return N},Ax:function(){return Pe},Bn:function(){return xt},CI:function(){return We},DQ:function(){return pe},DU:function(){return Ut},EP:function(){return le},Ep:function(){return Ue},Er:function(){return ae},Ex:function(){return kt},FD:function(){return Pt},F_:function(){return Tt},Fg:function(){return x},GY:function(){return Wt},Go:function(){return ce},Gz:function(){return p},Hl:function(){return y},JS:function(){return gt},KM:function(){return ue},M2:function(){return Me},MO:function(){return _e},Mt:function(){return je},Mu:function(){return et},NV:function(){return Oe},Q:function(){return De},Sp:function(){return B},VO:function(){return Ie},WD:function(){return tr},WO:function(){return $},WW:function(){return Zt},_C:function(){return wt},_V:function(){return Ht},bw:function(){return ie},bz:function(){return fe},c3:function(){return Bt},eJ:function(){return Q},ef:function(){return Ge},fh:function(){return k},fj:function(){return z},hS:function(){return _},jT:function(){return ct},ke:function(){return Nt},lk:function(){return M},mQ:function(){return D},ms:function(){return lt},mx:function(){return He},nq:function(){return a},ol:function(){return Fe},p:function(){return G},p4:function(){return ke},pU:function(){return C},rS:function(){return Dt},rs:function(){return ee},s0:function(){return Ce},sm:function(){return $e},tS:function(){return b},tu:function(){return R},ue:function(){return K},vf:function(){return dt},w4:function(){return W},xG:function(){return tt},xn:function(){return bt},yN:function(){return se},yy:function(){return Vt}});var r=e(38986),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,o=(xe,Ye,mt)=>Ye in xe?i(xe,Ye,{enumerable:!0,configurable:!0,writable:!0,value:mt}):xe[Ye]=mt,h=(xe,Ye)=>{for(var mt in Ye||(Ye={}))c.call(Ye,mt)&&o(xe,mt,Ye[mt]);if(l)for(var mt of l(Ye))f.call(Ye,mt)&&o(xe,mt,Ye[mt]);return xe},u=(xe,Ye,mt)=>new Promise((Mt,Be)=>{var Ir=Yr=>{try{Zr(mt.next(Yr))}catch(xr){Be(xr)}},St=Yr=>{try{Zr(mt.throw(Yr))}catch(xr){Be(xr)}},Zr=Yr=>Yr.done?Mt(Yr.value):Promise.resolve(Yr.value).then(Ir,St);Zr((mt=mt.apply(xe,Ye)).next())});const a=xe=>u(void 0,null,function*(){return(0,r.ZP)("/api/subject_statistics/subject_use_infos.json",{method:"Get",params:xe})}),x=xe=>u(void 0,null,function*(){return(0,r.ZP)("/api/subject_statistics/rank_list.json",{method:"Get",params:xe})}),p=xe=>u(void 0,null,function*(){return(0,r.ZP)("/api/subject_statistics/statistics_body.json",{method:"Get",params:xe})}),y=xe=>u(void 0,null,function*(){return(0,r.ZP)("/api/subject_statistics/statistics_header.json",{method:"Get",params:xe})}),_=xe=>u(void 0,null,function*(){return(0,r.ZP)("/api/subject_statistics/online_count.json",{method:"Get",params:xe})});function b(xe){return u(this,null,function*(){return(0,r.ZP)("/api/paths.json",{method:"Get",params:h({},xe)})})}function A(xe){return u(this,null,function*(){return Fetch("/api/intelligent_recommendations/subject_lists.json",{method:"Get",params:h({},xe)})})}function k(xe){return u(this,null,function*(){return(0,r.ZP)("/api/disciplines.json",{method:"Get",params:h({},xe)})})}function R(xe){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${xe.id}.json`,{method:"PUT",body:xe})})}function C(xe){return u(this,null,function*(){return(0,r.ZP)("/api/paths.json",{method:"post",body:xe})})}function D(xe){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${xe.id}/edit.json`,{method:"get"})})}function M(xe){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${xe.id}.json`,{method:"get",params:h({identifier:xe.id},xe)})})}function B(xe){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${xe.id}.json`,{method:"get",params:h({identifier:xe.id},xe)})})}function N(xe){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${xe.id}/right_banner.json`,{method:"get",params:xe})})}function K(xe){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${xe.id}/spoc_courses.json`,{method:"get",params:xe})})}const G=xe=>u(void 0,null,function*(){return(0,r.ZP)("/api/v2/stages.json",{method:"Get",params:xe})}),W=xe=>u(void 0,null,function*(){return(0,r.ZP)(`/api/v2/stage_shixuns/${xe.id}/children.json`,{method:"Get",params:xe})});function se(xe){return u(this,null,function*(){return(0,r.ZP)("/api/stages.json",{method:"get",params:xe})})}function ie(xe){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${xe.id}/update_team_title.json`,{method:"post",body:xe})})}function le(xe){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${xe.id}/delete_member.json`,{method:"Delete",body:xe})})}function q(xe){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${xe.id}/spoc_courses/${xe==null?void 0:xe.courseid}.json`,{method:"Delete"})})}function J(xe){return u(this,null,function*(){return Fetch(`/api/paths/${xe.id}/up_member_position.json`,{method:"post",body:xe})})}function V(xe){return u(this,null,function*(){return Fetch(`/api/paths/${xe.id}/down_member_position.json`,{method:"post",body:xe})})}function ue(xe){return u(this,null,function*(){return(0,r.ZP)("/api/collections.json",{method:"post",body:xe})})}function ee(xe){return u(this,null,function*(){return(0,r.ZP)("/api/collections/cancel.json",{method:"Delete",body:xe})})}function Q(xe){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${xe.id}.json`,{method:"Delete",body:xe})})}function ce(xe){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${xe.id}/publish.json`,{method:"post",body:xe})})}function z(xe){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${xe.id}/cancel_publish.json`,{method:"post",body:xe})})}function $(xe){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${xe.id}/apply_public.json`,{method:"post",body:xe})})}function ae(xe){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${xe.id}/cancel_public.json`,{method:"post",body:xe})})}function _e(xe){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${xe.id}/choose_course.json`,{method:"get",params:xe})})}function De(xe){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${xe.id}/send_to_course.json`,{method:"post",body:xe})})}function ke(xe){return u(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${xe.id}/send_to_course.json`,{method:"post",body:xe})})}function He(xe){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${xe.id}/add_subject_members.json`,{method:"post",body:xe})})}function $e(xe){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${xe.id}/spoc_courses.json`,{method:"post",body:xe})})}function Bt(xe){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${xe.id}/appointment.json`,{method:"post",body:xe})})}function gt(xe){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${xe.id}/join_excellent_course.json`,{method:"post",body:xe})})}function Dt(xe){return u(this,null,function*(){return(0,r.ZP)("/api/watch_attachment_histories.json",{method:"post",body:xe})})}function nr(xe){return u(this,null,function*(){return Fetch(`/api/paths/${xe.id}/statistics_info.json`,{method:"get",params:xe})})}function Xt(xe){return u(this,null,function*(){return Fetch(`/api/paths/${xe.id}/shixun_analyze.json`,{method:"get",params:xe})})}function cr(xe){return u(this,null,function*(){return Fetch(`/api/paths/${xe.id}/learning_analyze.json`,{method:"get",params:xe})})}function Ge(xe){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${xe.id}/learning_statistics.json`,{method:"get",params:xe})})}function Tt(xe){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${xe.id}/shixun_statistics.json`,{method:"get",params:xe})})}function Ut(xe){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${xe.id}/study_analyze/${xe.type}.json`,{method:"get",params:xe})})}function at(xe){return u(this,null,function*(){return Fetch("/api/paths/append_to_stage.json",{method:"post",body:xe})})}function bt(xe){return u(this,null,function*(){return(0,r.ZP)(`/api/stages/${xe.id}.json`,{method:"put",body:xe})})}function dt(xe){return u(this,null,function*(){return(0,r.ZP)(`/api/stages/${xe.id}/add_shixun_to_stage.json`,{method:"post",body:xe})})}const tt=xe=>u(void 0,null,function*(){return(0,r.ZP)(`/api/stages/${xe==null?void 0:xe.stage_id}/select_challenge_to_stage.json`,{method:"post",body:xe})});function Ue(xe){return u(this,null,function*(){return(0,r.ZP)(`/api/stages/${xe.id}/select_shixun_to_stage.json`,{method:"post",body:xe})})}function ye(xe){return u(this,null,function*(){return(0,r.ZP)(`/api/stages/${xe.id}/add_video_to_stage.json`,{method:"post",body:xe})})}function Ce(xe){return u(this,null,function*(){return(0,r.ZP)(`/api/stages/${xe.id}/add_attachment_to_stage.json`,{method:"post",body:xe})})}function Me(xe){return u(this,null,function*(){return(0,r.ZP)(`/api/stage_shixuns/${xe.id}.json`,{method:"put",body:xe})})}function je(xe){return u(this,null,function*(){return(0,r.ZP)(`/api/stages/${xe.id}/add_blank_to_stage.json`,{method:"post",body:xe})})}function We(xe){return u(this,null,function*(){return(0,r.ZP)("/api/stages.json",{method:"post",body:xe})})}function nt(xe){return u(this,null,function*(){return Fetch("/api/paths/add_shixun_to_stage.json",{method:"post",body:xe})})}function lt(xe){return u(this,null,function*(){return(0,r.ZP)(`/api/stages/${xe.id}/up_position.json`,{method:"get"})})}function Vt(xe){return u(this,null,function*(){return(0,r.ZP)(`/api/stages/${xe.id}/down_position.json`,{method:"get"})})}function Ht(xe){return u(this,null,function*(){return(0,r.ZP)(`/api/stages/${xe.id}.json`,{method:"delete"})})}function Pe(xe){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${xe.pathId}/discusses.json`,{method:"get",params:h({},xe)})})}function et(xe){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${xe.coursesId}/excellent_discusses.json`,{method:"get",params:h({},xe)})})}function Kt(xe){return u(this,null,function*(){return Fetch("/api/discusses.json",{method:"post",body:h({},xe)})})}function kt(xe){return u(this,null,function*(){return(0,r.ZP)(`/api/stages/${xe.stage_id}/items/move_position`,{method:"post",body:h({},xe)})})}function Zt(xe){return u(this,null,function*(){return(0,r.ZP)(`/api/stages/${xe.stage_id}/items/${xe.id}`,{method:"delete"})})}function Nt(xe){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${xe.id}/excellent_discuss`,{method:"post",body:h({},xe)})})}function tr(xe){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${xe.id}/post_discuss`,{method:"post",body:h({},xe)})})}function Wt(xe){return u(this,null,function*(){return(0,r.ZP)("/api/schools/for_option.json",{method:"get",params:xe})})}function Fe(xe){return u(this,null,function*(){return(0,r.ZP)("/api/schools/province_data.json",{method:"get",params:xe})})}function fe(xe){return u(this,null,function*(){return(0,r.ZP)("/api/add_school_applies.json",{method:"post",body:xe})})}function pe(xe){return u(this,null,function*(){return(0,r.ZP)(`/api/stages/${xe==null?void 0:xe.id}/add_homework_to_stage.json`,{method:"post",body:xe})})}function Pt(xe){return u(this,null,function*(){return(0,r.ZP)(`/api/stage_shixuns/${xe==null?void 0:xe.id}/edit.json`,{method:"get",params:xe})})}function Ie(xe){return u(this,null,function*(){return(0,r.ZP)(`/api/stage_shixuns/${xe==null?void 0:xe.id}.json`,{method:"put",body:xe})})}function ct(xe){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${xe==null?void 0:xe.user_id}/subjects/subject_homework.json`,{method:"get",params:xe})})}function zt(xe){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${xe==null?void 0:xe.user_id}/courses/course_homework.json`,{method:"get",params:xe})})}function wt(xe){return u(this,null,function*(){return(0,r.ZP)(`/api/stages/${xe==null?void 0:xe.id}/batch_add_homework_to_stage.json`,{method:"post",body:xe})})}function Oe(xe){return u(this,null,function*(){return(0,r.ZP)("/api/paths/get_homework_detail.json",{method:"get",params:xe})})}function xt(xe){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${xe==null?void 0:xe.user_login}/subjects/cancel.json`,{method:"get",params:xe})})}},7299:function(d,v,e){"use strict";e.d(v,{Fd:function(){return ue},Hi:function(){return y},IU:function(){return K},KE:function(){return b},Kc:function(){return Q},MK:function(){return G},Q9:function(){return D},Qg:function(){return N},Qn:function(){return k},UK:function(){return p},W:function(){return z},Ye:function(){return B},_c:function(){return a},hO:function(){return le},iV:function(){return ce},jy:function(){return W},kp:function(){return ie},lf:function(){return C},m7:function(){return _},n$:function(){return R},rJ:function(){return M},s3:function(){return x},ux:function(){return A},vf:function(){return V},wh:function(){return se},wo:function(){return ee},x$:function(){return J}});var r=e(38986),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,o=($,ae,_e)=>ae in $?i($,ae,{enumerable:!0,configurable:!0,writable:!0,value:_e}):$[ae]=_e,h=($,ae)=>{for(var _e in ae||(ae={}))c.call(ae,_e)&&o($,_e,ae[_e]);if(l)for(var _e of l(ae))f.call(ae,_e)&&o($,_e,ae[_e]);return $},u=($,ae,_e)=>new Promise((De,ke)=>{var He=gt=>{try{Bt(_e.next(gt))}catch(Dt){ke(Dt)}},$e=gt=>{try{Bt(_e.throw(gt))}catch(Dt){ke(Dt)}},Bt=gt=>gt.done?De(gt.value):Promise.resolve(gt.value).then(He,$e);Bt((_e=_e.apply($,ae)).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 A($){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 C($){return u(this,null,function*(){return(0,r.ZP)("/api/question_banks/save_banks.json",{method:"POST",body:h({},$)})})}function D($){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${$.coursesId}/polls/publish_modal.json`,{method:"get",params:h({},$)})})}function M($){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${$.coursesId}/polls.json`,{method:"POST",body:h({},$)})})}function B($){return u(this,null,function*(){return(0,r.ZP)(`/api/polls/${$.categoryId}/edit.json`,{method:"get"})})}function 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 W($){return u(this,null,function*(){return(0,r.ZP)(`/api/poll_questions/${$.pollsId}.json`,{method:"delete",body:h({},$)})})}function se($){return u(this,null,function*(){return(0,r.ZP)(`/api/poll_questions/${$.pollsId}/up_down.json`,{method:"post",body:h({},$)})})}function ie($){return u(this,null,function*(){return(0,r.ZP)(`/api/exercise_banks/${$.topicId}.json`,{method:"get"})})}function le($){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 ue($){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 ce($){return u(this,null,function*(){return(0,r.ZP)("/api/exercise_bank_questions.json",{method:"post",body:h({},$)})})}function z($){return u(this,null,function*(){return(0,r.ZP)(`/api/exercise_bank_questions/${$.exerciseId}/up_down.json`,{method:"post",body:h({},$)})})}},46722:function(d,v,e){"use strict";e.d(v,{$c:function(){return nt},A1:function(){return je},Bd:function(){return D},Bo:function(){return q},Cc:function(){return ue},Cn:function(){return ce},DF:function(){return R},Dm:function(){return Ge},FG:function(){return le},GW:function(){return Tt},HF:function(){return G},Hm:function(){return $},IJ:function(){return Me},L5:function(){return cr},LS:function(){return at},MZ:function(){return ye},Mr:function(){return ie},NZ:function(){return Bt},Of:function(){return A},Pl:function(){return k},Qj:function(){return _},Qp:function(){return dt},RT:function(){return Pe},Rp:function(){return bt},U6:function(){return W},Vl:function(){return ee},Wk:function(){return se},YP:function(){return z},Ys:function(){return B},al:function(){return M},bF:function(){return lt},d1:function(){return y},dt:function(){return Vt},et:function(){return _e},ex:function(){return b},fY:function(){return De},fn:function(){return C},hI:function(){return gt},hg:function(){return Ue},iT:function(){return J},lS:function(){return $e},nD:function(){return Ut},qN:function(){return ae},rV:function(){return N},s:function(){return He},sD:function(){return Ce},sS:function(){return Xt},ts:function(){return V},vi:function(){return We},wX:function(){return tt},x5:function(){return K},zh:function(){return ke}});var r=e(38986),i=Object.defineProperty,l=Object.defineProperties,c=Object.getOwnPropertyDescriptors,f=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,h=Object.prototype.propertyIsEnumerable,u=(et,Kt,kt)=>Kt in et?i(et,Kt,{enumerable:!0,configurable:!0,writable:!0,value:kt}):et[Kt]=kt,a=(et,Kt)=>{for(var kt in Kt||(Kt={}))o.call(Kt,kt)&&u(et,kt,Kt[kt]);if(f)for(var kt of f(Kt))h.call(Kt,kt)&&u(et,kt,Kt[kt]);return et},x=(et,Kt)=>l(et,c(Kt)),p=(et,Kt,kt)=>new Promise((Zt,Nt)=>{var tr=fe=>{try{Fe(kt.next(fe))}catch(pe){Nt(pe)}},Wt=fe=>{try{Fe(kt.throw(fe))}catch(pe){Nt(pe)}},Fe=fe=>fe.done?Zt(fe.value):Promise.resolve(fe.value).then(tr,Wt);Fe((kt=kt.apply(et,Kt)).next())});function y(et){return p(this,null,function*(){return(0,r.ZP)("/api/disciplines.json",{method:"get",params:x(a({},et),{clazz:"ItemBanksGroup"})})})}function _(et){return p(this,null,function*(){return(0,r.ZP)("/api/item_baskets/basket_list.json",{method:"get",params:et})})}function b(et){return p(this,null,function*(){return(0,r.ZP)("/api/item_banks_groups/for_problemset.json",{method:"post",body:et})})}function A(et){return p(this,null,function*(){return(0,r.ZP)("/api/item_banks/list.json",{method:"post",body:et})})}function k(et){return p(this,null,function*(){return(0,r.ZP)(`/api/item_banks/${et.id}/set_private.json`,{method:"post"})})}function R(et){return p(this,null,function*(){return(0,r.ZP)(`/api/item_banks/${et.id}/set_public.json`,{method:"post"})})}function C(et){return p(this,null,function*(){return(0,r.ZP)(`/api/item_banks/${et.id}.json`,{method:"delete"})})}function D(et){return p(this,null,function*(){return(0,r.ZP)(`/api/problems/${et.id}/start.json`,{method:"get"})})}function M(et){return p(this,null,function*(){return(0,r.ZP)(`/api/item_baskets/${et.id}.json`,{method:"delete",body:a({},et)})})}function B(et){return p(this,null,function*(){return(0,r.ZP)("/api/item_baskets.json",{method:"post",body:et})})}function N(et){return p(this,null,function*(){return(0,r.ZP)("/api/examination_banks/cancel_items.json",{method:"post",body:et})})}function K(et){return p(this,null,function*(){return(0,r.ZP)("/api/item_baskets/delete_item_type.json",{method:"delete",body:{item_type:et.type}})})}function G(et){return p(this,null,function*(){return(0,r.ZP)("/api/examination_banks/cancel_items.json",{method:"post",body:et})})}function W(et){return p(this,null,function*(){return(0,r.ZP)("/api/tag_disciplines.json",{method:"post",body:et})})}function se(et){return p(this,null,function*(){return(0,r.ZP)(`/api/item_banks/${et.id}.json`,{method:"put",body:et})})}function ie(et){return p(this,null,function*(){return(0,r.ZP)("/api/item_banks.json",{method:"post",body:et})})}function le(et){return p(this,null,function*(){return(0,r.ZP)(`/api/item_banks/${et.id}/edit.json`,{method:"get"})})}function q(et){return p(this,null,function*(){return(0,r.ZP)(`/api/problems/${et.id}/edit.json`,{method:"get"})})}function J(et){return p(this,null,function*(){return(0,r.ZP)("/api/item_baskets.json",{method:"get",params:et})})}function V(et){return p(this,null,function*(){return(0,r.ZP)(`/api/item_baskets/${et.id}/set_score.json`,{method:"post",body:et})})}function ue(et){return p(this,null,function*(){return(0,r.ZP)(`/api/item_baskets/${et.id}/set_challenge_score.json`,{method:"post",body:et})})}function ee(et){return p(this,null,function*(){return(0,r.ZP)(`/api/item_baskets/${et.id}/combination_set_score.json`,{method:"post",body:et})})}function Q(et){return p(this,null,function*(){return Fetch(`/api/examination_banks//${et.exerid}/examination_banks_item_banks/${et.id}/combination_set_score.json`,{method:"post",body:et})})}function ce(et){return p(this,null,function*(){return(0,r.ZP)(`/api/item_baskets/${et.id}.json`,{method:"delete"})})}function z(et){return p(this,null,function*(){return(0,r.ZP)("/api/item_baskets/batch_set_score.json",{method:"post",body:et})})}function $(et){return p(this,null,function*(){return(0,r.ZP)("/api/item_baskets/delete_item_type.json",{method:"delete",body:et})})}function ae(et){return p(this,null,function*(){return(0,r.ZP)(`/api/item_baskets/${et.id}/adjust_position.json`,{method:"post",body:et})})}function _e(et){return p(this,null,function*(){return(0,r.ZP)("/api/examination_banks.json",{method:"post",body:et})})}function De(et){return p(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${et.id}/revoke_item.json`,{method:"delete",body:et})})}function ke(et){return p(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${et.exam_id}/examination_banks_item_banks.json`,{method:"post",body:et})})}function He(et){return p(this,null,function*(){return(0,r.ZP)(`/api/item_banks/${et.id}/join_to_collection.json`,{method:"post",params:et})})}function $e(et){return p(this,null,function*(){return(0,r.ZP)(`/api/item_banks/${et.id}/cancel_collection.json`,{method:"post",params:et})})}function Bt(et){return p(this,null,function*(){return(0,r.ZP)("/api/item_banks_groups.json",{method:"get",params:et})})}function gt(et){return p(this,null,function*(){return(0,r.ZP)("/api/item_banks_groups/mine.json",{method:"get",params:et})})}function Dt(et){return p(this,null,function*(){return Fetch(`/api/item_banks/${et.id}/join_to_group.json`,{method:"post",body:et})})}function nr(et){return p(this,null,function*(){return Fetch(`/api/item_banks_groups/${et.id}.json`,{method:"put",body:et})})}function Xt(et){return p(this,null,function*(){return(0,r.ZP)("/api/item_banks_groups.json",{method:"post",body:et})})}function cr(et){return p(this,null,function*(){return(0,r.ZP)(`/api/item_banks/${et.id}/feedback.json`,{method:"post",body:et})})}function Ge(et){return p(this,null,function*(){return(0,r.ZP)("/api/teach_group_shares.json",{method:"get",params:et})})}function Tt(et){return p(this,null,function*(){return(0,r.ZP)("/api/teach_group_shares.json",{method:"post",body:et})})}function Ut(et){return p(this,null,function*(){return(0,r.ZP)("/api/item_banks/batch_delete.json",{method:"post",body:et})})}function at(et){return p(this,null,function*(){return(0,r.ZP)("/api/item_banks/batch_to_group.json",{method:"post",body:et})})}function bt(et){return p(this,null,function*(){return(0,r.ZP)("/api/item_banks/add_to_mine.json",{method:"post",body:et})})}function dt(et){return p(this,null,function*(){return(0,r.ZP)("/api/item_banks/set_batch_public.json",{method:"post",body:et})})}function tt(et){return p(this,null,function*(){return(0,r.ZP)(`/api/item_banks/${et==null?void 0:et.id}/set_public.json`,{method:"post",body:et})})}function Ue(et){return p(this,null,function*(){return(0,r.ZP)("/api/teach_group_shares/show_groups.json",{method:"get",params:et})})}function ye(et){return(0,r.ZP)(`/api/problems/${et.identifier}/publish.json`,{method:"post",body:et})}function Ce(et){return(0,r.ZP)(`/api/problems/${et.identifier}/cancel_publish.json`,{method:"post",body:et})}function Me(et){return(0,r.ZP)("/api/item_banks/cancel_public.json",{method:"post",body:{ids:[...et.id]}})}function je(et){return p(this,null,function*(){return(0,r.ZP)(`/api/item_banks_groups/${et.id}/up_position.json`,{method:"get",params:et})})}function We(et){return p(this,null,function*(){return(0,r.ZP)(`/api/item_banks_groups/${et.id}/down_position.json`,{method:"get",params:et})})}function nt(et){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${et.id}/edit_hack.json`,{method:"get",params:et})})}function lt(et){return p(this,null,function*(){return(0,r.ZP)("/api/problems/batch_publish_condition.json",{method:"post",body:et})})}function Vt(et){return p(this,null,function*(){return(0,r.ZP)("/api/problems/batch_publish.json",{method:"post",body:et})})}function Ht(et){return p(this,null,function*(){return Fetch("/api/item_banks/get_groups.json",{method:"get",params:et})})}function Pe(){return p(this,null,function*(){return(0,r.ZP)("/api/item_baskets/delete_all_items.json",{method:"delete"})})}},506:function(d,v,e){"use strict";e.d(v,{E1:function(){return f},Go:function(){return l},H5:function(){return c}});var r=e(38986),i=(o,h,u)=>new Promise((a,x)=>{var p=b=>{try{_(u.next(b))}catch(A){x(A)}},y=b=>{try{_(u.throw(b))}catch(A){x(A)}},_=b=>b.done?a(b.value):Promise.resolve(b.value).then(p,y);_((u=u.apply(o,h)).next())});function l(o){return i(this,null,function*(){return(0,r.ZP)("/api/restfuls.json",{method:"get",params:o})})}function c(o){return i(this,null,function*(){return(0,r.ZP)(`/api/restfuls/${o.id}.json`,{method:"get",params:o})})}function f(o){return i(this,null,function*(){return(0,r.ZP)(`/api/restfuls/${o.id}.json`,{method:"delete",params:o})})}},1247:function(d,v,e){"use strict";e.d(v,{Am:function(){return _},Ar:function(){return Ge},BD:function(){return We},Be:function(){return tt},Dx:function(){return ee},Fr:function(){return pe},G$:function(){return k},GS:function(){return W},Gw:function(){return A},H:function(){return Xt},H1:function(){return cr},Hj:function(){return lt},JA:function(){return Ht},JG:function(){return ue},KE:function(){return z},Lz:function(){return Me},Mf:function(){return nr},NA:function(){return gt},PC:function(){return $e},PP:function(){return Bt},PW:function(){return at},Q3:function(){return Q},QC:function(){return Pe},Qt:function(){return je},Qz:function(){return D},R$:function(){return Fe},RP:function(){return le},Ti:function(){return wt},Uc:function(){return Zt},Ul:function(){return J},VB:function(){return ct},Vs:function(){return Nt},Wr:function(){return R},Xn:function(){return q},YQ:function(){return Dt},Yn:function(){return b},Z8:function(){return K},ak:function(){return Ut},cN:function(){return B},co:function(){return Ue},cz:function(){return ke},fK:function(){return G},gG:function(){return He},gZ:function(){return kt},h$:function(){return N},ku:function(){return Ce},lf:function(){return ae},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 nt},pb:function(){return Ie},qP:function(){return et},ql:function(){return Kt},rN:function(){return ye},sw:function(){return _e},t1:function(){return De},to:function(){return ie},ub:function(){return Vt},ux:function(){return ce},wS:function(){return Pt},wT:function(){return C},yT:function(){return Tt},yy:function(){return tr},z2:function(){return bt}});var r=e(38986),i=Object.defineProperty,l=Object.defineProperties,c=Object.getOwnPropertyDescriptors,f=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,h=Object.prototype.propertyIsEnumerable,u=(Oe,xt,xe)=>xt in Oe?i(Oe,xt,{enumerable:!0,configurable:!0,writable:!0,value:xe}):Oe[xt]=xe,a=(Oe,xt)=>{for(var xe in xt||(xt={}))o.call(xt,xe)&&u(Oe,xe,xt[xe]);if(f)for(var xe of f(xt))h.call(xt,xe)&&u(Oe,xe,xt[xe]);return Oe},x=(Oe,xt)=>l(Oe,c(xt)),p=(Oe,xt,xe)=>new Promise((Ye,mt)=>{var Mt=St=>{try{Ir(xe.next(St))}catch(Zr){mt(Zr)}},Be=St=>{try{Ir(xe.throw(St))}catch(Zr){mt(Zr)}},Ir=St=>St.done?Ye(St.value):Promise.resolve(St.value).then(Mt,Be);Ir((xe=xe.apply(Oe,xt)).next())});const y=Oe=>p(void 0,null,function*(){return(0,r.ZP)(`/api/student_works/${Oe.id}/update_journals.json`,{method:"post",body:Oe})}),_=Oe=>p(void 0,null,function*(){return(0,r.ZP)(`/api/student_works/${Oe==null?void 0:Oe.homeworkId}/change_score.json`,{method:"post",body:Oe})}),b=Oe=>p(void 0,null,function*(){return(0,r.ZP)(`/api/student_works/${Oe==null?void 0:Oe.homeworkId}/history_comment`,{method:"Get",params:Oe})}),A=Oe=>p(void 0,null,function*(){return(0,r.ZP)(`/api/student_works/${Oe==null?void 0:Oe.homeworkId}/feedback_know`,{method:"Get",params:Oe})}),k=Oe=>p(void 0,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Oe==null?void 0:Oe.userId}/student_work_feedbacks.json`,{method:"POST",body:Oe})}),R=Oe=>p(void 0,null,function*(){return(0,r.ZP)(`/api/student_works/${Oe==null?void 0:Oe.userId}/feedback_list.json`,{method:"Get",params:Oe})}),C=Oe=>p(void 0,null,function*(){return(0,r.ZP)(`/api/student_works/${Oe==null?void 0:Oe.userId}/histories.json`,{method:"Get",params:Oe})}),D=Oe=>p(void 0,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Oe==null?void 0:Oe.homeworkId}/feedback_list`,{method:"Get",params:Oe})}),M=Oe=>p(void 0,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Oe==null?void 0:Oe.homeworkId}/anonymous_exception_list.json`,{method:"Get",params:Oe})}),B=Oe=>p(void 0,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Oe==null?void 0:Oe.homeworkId}/appeal_list`,{method:"Get",params:Oe})});function N(Oe){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Oe.categoryId}/works_list.json`,{method:"post",body:a({},Oe)})})}function K(Oe){return p(this,null,function*(){return(0,r.ZP)(`/api/shixun_homeworks/${Oe.categoryId}/student_works.json`,{method:"get",params:a({},Oe)})})}function G(Oe){return p(this,null,function*(){return(0,r.ZP)(`/api/shixun_homeworks/${Oe.categoryId}/header_info.json`,{method:"get",params:a({},Oe)})})}function W(Oe){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${Oe}/query_game_url.json`,{method:"get"})})}function se(Oe){return p(this,null,function*(){return Fetch(`/api/student_works/${Oe}/get_newest_shixun_work_comments.json`,{method:"get"})})}function ie(Oe){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Oe.categoryId}.json`,{method:"get"})})}function le(Oe){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Oe.categoryId}/code_review_results.json`,{method:"get",params:a({},Oe)})})}function q(Oe){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Oe.categoryId}/code_review_detail.json`,{method:"get",params:a({},Oe)})})}function J(Oe){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Oe.categoryId}/settings.json`,{method:"get",params:a({},Oe)})})}function V(Oe){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Oe.categoryId}/update_settings.json`,{method:"post",body:a({},Oe)})})}function ue(Oe){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Oe.categoryId}/group_list.json`,{method:"get",params:a({},Oe)})})}function ee(Oe){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Oe.categoryId}/works_list.xlsx`,{method:"get",params:a({},Oe)})})}function Q(Oe){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Oe.coursesId}/reference_answer.json`,{method:"get",params:a({},Oe)})})}function ce(Oe){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Oe.categoryId}/publish_groups.json`,{method:"get",params:a({},Oe)})})}function z(Oe){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Oe.categoryId}/end_groups.json`,{method:"get",params:a({},Oe)})})}function $(Oe){return p(this,null,function*(){return(0,r.ZP)("/api/question_banks/bank_list.json",{method:"get",params:a({},Oe)})})}function ae(Oe){return p(this,null,function*(){return(0,r.ZP)("/api/question_banks/save_banks.json",{method:"post",body:a({},Oe)})})}function _e(Oe){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${Oe.homeworkId}/shixun_work_report.json`,{method:"get",params:Oe})})}function De(Oe){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${Oe.homeworkId}/shixun_work_report_echart_data.json`,{method:"get",params:Oe})})}function ke(Oe){return p(this,null,function*(){return(0,r.ZP)(`/api/courses/${Oe.coursesId}/homework_commons/user_hack_detail.json`,{method:"get",params:x(a({},Oe),{id:Oe.categoryId})})})}function He(Oe){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${Oe.categoryId}/adjust_review_score.json`,{method:"post",body:a({},Oe)})})}function $e(Oe){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Oe.categoryId}/show_comment.json`,{method:"get",params:a({},Oe)})})}function Bt(Oe){return p(this,null,function*(){return(0,r.ZP)("/api/users/reply_message.json",{method:"post",body:a({},Oe)})})}function gt(Oe){return p(this,null,function*(){return(0,r.ZP)("/api/praise_tread/like.json",{method:"post",body:a({},Oe)})})}function Dt(Oe){return p(this,null,function*(){return(0,r.ZP)("/api/praise_tread/unlike.json",{method:"delete",body:a({},Oe)})})}function nr(Oe){return p(this,null,function*(){return(0,r.ZP)("/api/commons/delete.json",{method:"delete",body:a({},Oe)})})}function Xt(Oe){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Oe.categoryId}/update_explanation.json`,{method:"post",body:a({},Oe)})})}function cr(Oe){return p(this,null,function*(){return(0,r.ZP)(`/api/courses/${Oe.coursesId}/homework_commons.json`,{method:"post",body:a({},Oe)})})}function Ge(Oe){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Oe.categoryId}.json`,{method:"put",body:a({},Oe)})})}function Tt(Oe){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_banks/${Oe.id}.json`,{method:"put",body:a({},Oe)})})}function Ut(Oe){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Oe.commonHomeworkId}/student_works/new.json`,{method:"get",params:a({},Oe)})})}function at(Oe){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${Oe.homeworkId}/edit.json`,{method:"get",params:a({},Oe)})})}function bt(Oe){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${Oe.homeworkId}.json`,{method:"put",body:a({},Oe)})})}function dt(Oe){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${Oe.homeworkId}/revise_attachment.json`,{method:"post",body:a({},Oe)})})}function tt(Oe){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Oe.commonHomeworkId}/student_works.json`,{method:"post",body:a({},Oe)})})}function Ue(Oe){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Oe.homeworkId}/student_works/relate_project.json`,{method:"post",body:a({},Oe)})})}function ye(Oe){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Oe.homeworkId}/student_works/cancel_relate_project.json`,{method:"get"})})}function Ce(Oe){return p(this,null,function*(){return(0,r.ZP)("/api/users/projects/search.json",{method:"get",params:a({},Oe)})})}function Me(Oe){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Oe.commonHomeworkId}/student_works/search_member_list.json`,{method:"get",params:a({},Oe)})})}function je(Oe){return p(this,null,function*(){return(0,r.ZP)(`/api/courses/${Oe.coursesId}/homework_commons/new.json`,{method:"get",params:a({},Oe)})})}function We(Oe){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Oe.categoryId}/edit.json`,{method:"get",params:a({},Oe)})})}function nt(Oe){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_banks/${Oe.id}.json`,{method:"get",params:a({},Oe)})})}function lt(Oe){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${Oe.userId}.json`,{method:"get",params:a({},Oe)})})}function Vt(Oe){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${Oe.userId}/supply_attachments.json`,{method:"get",params:a({},Oe)})})}function Ht(Oe){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${Oe.userId}/comment_list.json`,{method:"get",params:a({},Oe)})})}function Pe(Oe){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${Oe.userId}/destroy_score.json`,{method:"delete",body:a({},Oe)})})}function et(Oe){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${Oe.userId}/add_score_reply.json`,{method:"post",body:a({},Oe)})})}function Kt(Oe){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Oe.categoryId}/all_student_works.json`,{method:"get",params:a({},Oe)})})}function kt(Oe){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${Oe.homeworkId}/destroy_work_comment.json`,{method:"delete",body:a({},Oe)})})}function Zt(Oe){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Oe.categoryId}/score_status.json`,{method:"get",params:a({},Oe)})})}function Nt(Oe){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Oe.categoryId}/update_score.json`,{method:"get",params:a({},Oe)})})}function tr(Oe){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${Oe.userId}/add_score.json`,{method:"post",body:a({},Oe)})})}function Wt(Oe){return p(this,null,function*(){return Fetch(`/api/student_works/${Oe.userId}/cancel_appeal.json`,{method:"post",body:a({},Oe)})})}function Fe(Oe){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${Oe.userId}/appeal_anonymous_score.json`,{method:"post",body:a({},Oe)})})}function fe(Oe){return p(this,null,function*(){return Fetch(`/api/student_works/${Oe.userId}/deal_appeal_score.json`,{method:"post",body:a({},Oe)})})}function pe(Oe){return p(this,null,function*(){return(0,r.ZP)(`/api/myshixuns/${Oe.id}/reset_my_game.json`,{method:"get",params:a({},Oe)})})}function Pt(Oe){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${Oe.homeworkId}/commit_des.json`,{method:"get",params:a({},Oe)})})}function Ie(Oe){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${Oe.homeworkId}/update_des.json`,{method:"post",body:a({},Oe)})})}function ct(Oe){return p(this,null,function*(){return(0,r.ZP)(`/api/courses/${Oe.coursesId}/homework_commons/file_repeat_list.json`,{method:"get",params:a({},Oe)})})}function zt(Oe){return p(this,null,function*(){return(0,r.ZP)(`/api/courses/${Oe.coursesId}/homework_commons/file_repeat_result.json`,{method:"get",params:a({},Oe)})})}function wt(Oe){return p(this,null,function*(){return(0,r.ZP)(`/api/courses/${Oe.course_id}/homework_commons/file_repeat_detail.json`,{method:"get",params:a({},Oe)})})}},75736:function(d,v,e){"use strict";e.d(v,{$Q:function(){return Mr},AE:function(){return Nt},AQ:function(){return M},Ag:function(){return xt},Ar:function(){return ce},At:function(){return Rt},BK:function(){return K},Bj:function(){return Ut},DC:function(){return Ge},Dz:function(){return _t},E4:function(){return cr},EH:function(){return ae},Ee:function(){return An},Er:function(){return ee},FB:function(){return N},Fg:function(){return A},GI:function(){return ke},Gr:function(){return dt},Gu:function(){return De},Gz:function(){return b},HS:function(){return Et},Hl:function(){return y},IT:function(){return wt},I_:function(){return C},Ir:function(){return G},Je:function(){return Be},K:function(){return $t},K0:function(){return Wr},KM:function(){return q},K_:function(){return Nr},LK:function(){return Ir},LP:function(){return He},Ne:function(){return ue},OV:function(){return Bt},OW:function(){return $},Op:function(){return xr},P2:function(){return Dt},Po:function(){return D},Ps:function(){return tt},Q:function(){return V},Q1:function(){return Sr},QA:function(){return gi},Ql:function(){return ye},Rs:function(){return Pe},SG:function(){return Xi},Tn:function(){return Wt},Tr:function(){return di},U0:function(){return We},U9:function(){return Ue},UQ:function(){return Ie},Ui:function(){return mr},Vx:function(){return Qr},WO:function(){return Q},WT:function(){return Qi},Wi:function(){return at},Wl:function(){return xe},X$:function(){return nr},Yn:function(){return fe},Z2:function(){return Tt},ZO:function(){return bt},Zt:function(){return vt},_7:function(){return J},_9:function(){return pe},aH:function(){return Ce},al:function(){return Vt},b8:function(){return z},bq:function(){return Fe},dK:function(){return W},e:function(){return k},eX:function(){return _e},eb:function(){return et},fL:function(){return Mt},h4:function(){return vr},hS:function(){return _},he:function(){return R},hn:function(){return ie},ii:function(){return Ht},im:function(){return Pt},j8:function(){return $e},jq:function(){return Yr},kF:function(){return Zr},km:function(){return lt},l3:function(){return gt},m7:function(){return je},mI:function(){return ci},n5:function(){return B},nu:function(){return St},p0:function(){return zt},q0:function(){return Zt},q9:function(){return or},qA:function(){return on},rO:function(){return kt},rs:function(){return le},sr:function(){return ct},t2:function(){return Oe},tX:function(){return At},uo:function(){return nt},v3:function(){return mt},w:function(){return Ye},xK:function(){return tr},xg:function(){return Kt},xk:function(){return Xt},yE:function(){return Me},yx:function(){return ni},zD:function(){return se},zH:function(){return nn}});var r=e(38986),i=Object.defineProperty,l=Object.defineProperties,c=Object.getOwnPropertyDescriptors,f=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,h=Object.prototype.propertyIsEnumerable,u=(st,Vn,yi)=>Vn in st?i(st,Vn,{enumerable:!0,configurable:!0,writable:!0,value:yi}):st[Vn]=yi,a=(st,Vn)=>{for(var yi in Vn||(Vn={}))o.call(Vn,yi)&&u(st,yi,Vn[yi]);if(f)for(var yi of f(Vn))h.call(Vn,yi)&&u(st,yi,Vn[yi]);return st},x=(st,Vn)=>l(st,c(Vn)),p=(st,Vn,yi)=>new Promise((Kn,Ki)=>{var _i=er=>{try{vn(yi.next(er))}catch(pt){Ki(pt)}},ei=er=>{try{vn(yi.throw(er))}catch(pt){Ki(pt)}},vn=er=>er.done?Kn(er.value):Promise.resolve(er.value).then(_i,ei);vn((yi=yi.apply(st,Vn)).next())});const y=st=>p(void 0,null,function*(){return(0,r.ZP)("/api/shixun_statistics/statistics_header.json",{method:"Get",params:st})}),_=st=>p(void 0,null,function*(){return(0,r.ZP)("/api/shixun_statistics/online_count.json",{method:"Get",params:st})}),b=st=>p(void 0,null,function*(){return(0,r.ZP)("/api/shixun_statistics/statistics_body.json",{method:"Get",params:st})}),A=st=>p(void 0,null,function*(){return(0,r.ZP)("/api/shixun_statistics/rank_list.json",{method:"Get",params:st})}),k=st=>p(void 0,null,function*(){return(0,r.ZP)("/api/shixun_statistics/shixun_use_infos.json",{method:"Get",params:st})});function R(st){return p(this,null,function*(){return(0,r.ZP)("/api/shixuns.json",{method:"Get",params:a({},st)})})}function C(st){return p(this,null,function*(){return(0,r.ZP)("/api/disciplines.json",{method:"Get",params:a({source:"shixun"},st||{})})})}function D(st){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${st.id}.json`,{method:"Get",params:st})})}function M(st){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${st.id}/show_right.json`,{method:"Get"})})}function B(st){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${st.id}/challenges.json`,{method:"Get"})})}function N(st){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${st.id}/save_copy_for_exercise.json`,{method:"post",body:{save_type:st.save_type}})})}function K(st){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${st.id}/jupyter_exec.json${st.reset?`?reset=${st.reset}`:""}`,{method:"Get",params:st})})}function G(st){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${st.id}/shixun_exec.json${st.reset?`?reset=${st.reset}`:""}`,{method:"Get",params:st})})}function W(st){return p(this,null,function*(){return(0,r.ZP)(st.url,{method:"Get"})})}function se(st){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${st.shixun_identifier}/challenges/${st.challenge_id}/index_up.json`,{method:"Get"})})}function ie(st){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${st.shixun_identifier}/challenges/${st.challenge_id}/index_down.json`,{method:"Get"})})}function le(st){return p(this,null,function*(){return(0,r.ZP)("/api/collections/cancel.json",{method:"Delete",body:{container_id:st.container_id,container_type:st.container_type}})})}function q(st){return p(this,null,function*(){return(0,r.ZP)("/api/collections.json",{method:"Post",body:{container_id:st.container_id,container_type:st.container_type}})})}function J(st){return p(this,null,function*(){const{id:Vn}=st||{};return(0,r.ZP)(`/api/shixuns/${Vn}/search_user_courses.json`,{method:"Get",params:st})})}function V(st){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${st==null?void 0:st.id}/send_to_course.json`,{method:"Post",body:a({},st)})})}function ue(st){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${st.id}/cancel_publish.json`,{method:"Get"})})}function ee(st){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${st.id}/cancel_apply_public.json`,{method:"Get"})})}function Q(st){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${st.id}/apply_public.json`,{method:"post",body:a({},st)})})}function ce(st){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${st.id}/publish.json`,{method:"Get"})})}function z(st){return p(this,null,function*(){return(0,r.ZP)("/api/shixuns/jupyter_new.json",{method:"Get"})})}function $(st){return p(this,null,function*(){return(0,r.ZP)(`/api/attachments/${st.id}.json`,{method:"delete"})})}function ae(st){return p(this,null,function*(){return(0,r.ZP)("/api/shixuns/apply_shixun_mirror.json",{method:"post",body:st})})}function _e(st){return p(this,null,function*(){return(0,r.ZP)("/api/shixuns.json",{method:"post",body:st})})}function De(st){return p(this,null,function*(){return(0,r.ZP)("/api/shixuns/jupyter_lab_new.json",{method:"get",params:st})})}function ke(st){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${st.id}/review_newest_record.json`,{method:"Get"})})}function He(st){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${st.id}/review_shixun.json`,{method:"post",body:st})})}function $e(st){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${st.id}/collaborators.json`,{method:"Get",params:st})})}function Bt(st){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${st.id}/shixun_members_added.json`,{method:"post",body:st})})}function gt(st){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${st.identifier}/add_members_group.json`,{method:"post",body:st})})}function Dt(st){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${st.id}/change_manager.json`,{method:"Get",params:st})})}function nr(st){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${st.id}/change_manager.json`,{method:"post",body:st})})}function Xt(st){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${st.id}/collaborators_delete.json`,{method:"delete",body:{user_id:st.userId}})})}function cr(st){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${st.id}/ranking_list.json`,{method:"Get"})})}function Ge(st){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${st.id}/settings.json`,{method:"Get"})})}function Tt(st){return p(this,null,function*(){return(0,r.ZP)("/api/shixuns/get_mirror_script.json",{method:"Get",params:{mirror_id:st.mirror_id}})})}function Ut(st){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${st.id}/get_script_contents.json`,{method:"Get",params:st})})}function at(st){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${st.id}/get_custom_script.json`,{method:"Get",params:st})})}function bt(st){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${st.id}/update_for_jupyter.json`,{method:"put",body:st})})}function dt(st){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${st.id}/shixun_quotes.json`,{method:"Get"})})}function tt(st){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${st.id}.json`,{method:"delete"})})}function Ue(st){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${st.id}/close.json`,{method:"post",body:st})})}function ye(st){return p(this,null,function*(){return(0,r.ZP)("/api/shixuns/departments.json",{method:"Get",params:st})})}function Ce(st){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${st.id}/update_permission_setting.json`,{method:"post",body:st})})}function Me(st){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${st.id}/update_learn_setting.json`,{method:"post",body:st})})}function je(st){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${st.id}/update_setting`,{method:"post",body:st})})}function We(st){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${st.id}/get_data_sets.json`,{method:"Get",params:st})})}function nt(st){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${st.id}/destroy_data_sets.json`,{method:"Delete",body:{id:st.deleteId}})})}function lt(st){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${st.id}/challenges/new.json`,{method:"get"})})}function Vt(st){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${st.identifier}/challenges.json`,{method:"post",body:a({},st)})})}function Ht(st){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${st.id}/challenges/${st.challengeId}/edit.json`,{method:"get",params:{tab:st.tab}})})}function Pe(st){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${st.id}/challenges/${st.challengesId}.json`,{method:"put",body:a({},st)})})}function et(st){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${st.id}/challenges/${st.challengesId}/choose_questions.json`,{method:"get"})})}function Kt(st){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${st.id}/challenges/move_position.json`,{method:"post",body:a({},st)})})}function kt(st){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${st.id}/challenges/${st.challengesId}.json`,{method:"delete",body:a({},st)})})}function Zt(st){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${st.id}/challenges/${st.challengesId}/edit.json`,{method:"get",params:a({},st)})})}function Nt(st){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${st.id}/challenges/${st.challengeId}/answer.json`,{method:"get",params:a({},st)})})}function tr(st){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${st.id}/challenges/${st.challengeId}/crud_answer.json`,{method:"post",body:a({},st)})})}function Wt(st){return p(this,null,function*(){if(st.type===1)return(0,r.ZP)(`/api/shixuns/${st.id}/challenges/${st.challengesId}/create_choose_question.json`,{method:"post",body:a({},st)});if(st.type===2)return(0,r.ZP)(`/api/shixuns/${st.id}/challenges/${st.challengesId}/create_blank_question.json`,{method:"post",body:a({},st)});if(st.type===3)return(0,r.ZP)(`/api/shixuns/${st.id}/challenges/${st.challengesId}/create_judge_question.json`,{method:"post",body:a({},st)})})}function Fe(st){return p(this,null,function*(){if(st.type===1)return(0,r.ZP)(`/api/shixuns/${st.id}/challenges/${st.challengesId}/update_choose_question.json`,{method:"post",body:x(a({},st),{choose_id:st.questionId})});if(st.type===2)return(0,r.ZP)(`/api/shixuns/${st.id}/challenges/${st.challengesId}/update_blank_question.json`,{method:"put",body:x(a({},st),{choose_id:st.questionId})});if(st.type===3)return(0,r.ZP)(`/api/shixuns/${st.id}/challenges/${st.challengesId}/update_judge_question.json`,{method:"put",body:x(a({},st),{choose_id:st.questionId})})})}function fe(st){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${st.id}/challenges/${st.challengesId}/destroy_challenge_choose.json`,{method:"Delete",body:{choose_id:st.questionId}})})}function pe(st){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${st.id}/challenges/${st.challengesId}/choose_question_up_position.json`,{method:"post",body:{challenge_choose_id:st.questionId}})})}function Pt(st){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${st.id}/challenges/${st.challengesId}/choose_question_down_position.json`,{method:"post",body:{challenge_choose_id:st.questionId}})})}function Ie(st){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${st.id}/challenges/${st.challengesId}/edit_choose_question.json`,{method:"get",params:x(a({},st),{choose_id:st.questionId})})})}function ct(st){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${st.id}/delete_git_file.json`,{method:"Delete",body:st})})}function zt(st){return p(this,null,function*(){return(0,r.ZP)(`/api/sci/projects/${st.id}/delete_git_file.json`,{method:"Delete",body:st})})}function wt(st){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${st.id}/mv_file.json`,{method:"post",body:st})})}function Oe(st){return p(this,null,function*(){return(0,r.ZP)(`/api/sci/projects/${st.id}/mv_file.json`,{method:"post",body:st})})}function xt(st){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${st.id}/repository.json`,{method:"post",body:st})})}function xe(st){return p(this,null,function*(){return(0,r.ZP)(`/api/sci/projects/${st.id}/repository.json`,{method:"post",body:st})})}function Ye(st){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${st.id}/secret_repository.json`,{method:"post",body:st})})}function mt(st){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${st.id}/add_file.json`,{method:"post",body:st})})}function Mt(st){return p(this,null,function*(){return(0,r.ZP)(`/api/sci/projects/${st.id}/add_file.json`,{method:"post",body:st})})}function Be(st){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${st.id}/commits.json`,{method:"post",body:st})})}function Ir(st){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${st.id}/file_content.json`,{method:"post",body:st})})}function St(st){return p(this,null,function*(){return(0,r.ZP)(`/api/sci/projects/${st.id}/file_content.json`,{method:"post",body:st})})}function Zr(st){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${st.id}/update_file.json`,{method:"post",body:st})})}function Yr(st){return p(this,null,function*(){return(0,r.ZP)(`/api/sci/projects/${st.id}/update_file.json`,{method:"post",body:st})})}function xr(st){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${st.id}/upload_git_folder.json`,{method:"post",body:{path:st.path,secret_repository:st.secret_repository}})})}function Mr(st){return p(this,null,function*(){return(0,r.ZP)(`/api/${st.url}`,{method:"Get"})})}function mr(st){return p(this,null,function*(){return(0,r.ZP)("/api/jupyters/get_info_with_tpm.json",{method:"Get",params:st})})}function Nr(st){return p(this,null,function*(){return(0,r.ZP)("/api/jupyters/timeinfo_with_tpm.json",{method:"Get",params:st})})}function nn(st){return p(this,null,function*(){return(0,r.ZP)("/api/jupyters/reset_with_tpm.json",{method:"Get",params:st})})}function on(st){return p(this,null,function*(){return(0,r.ZP)("/api/jupyters/save_with_tpm.json",{method:"Get",params:st})})}function or(st){return p(this,null,function*(){return(0,r.ZP)("/api/jupyters/active_with_tpm.json",{method:"Get",params:st})})}function Rt(st){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${st.id}/fork_list.json`,{method:"Get",params:st})})}function _t(st){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${st.identifier}/change_editable.json`,{method:"put",body:a({},st)})})}function vt(st){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${st.id}/set_secret_dir.json`,{method:"post",body:a({},st)})})}function $t(st){return p(this,null,function*(){return(0,r.ZP)("/api/shixuns/new.json",{method:"Get",params:st})})}function Sr(st){return p(this,null,function*(){return(0,r.ZP)("/api/shixuns/environment_info",{method:"Get",params:st})})}function vr(st){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${st.id}/init_repository.json`,{method:"post",body:a({},st)})})}function Qr(st){return p(this,null,function*(){return(0,r.ZP)(`/api/sci/projects/${st.id}/init_repository.json`,{method:"post",body:a({},st)})})}function Wr(st){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${st.id}/update_secret_repository.json`,{method:"post",body:a({},st)})})}function An(st){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${st.id}/exist_exercise.json`,{method:"get",params:a({},st)})})}function At(st){return p(this,null,function*(){return(0,r.ZP)(`/api/mirror_applies/${st.id}.json`,{method:"get",params:a({},st)})})}function lr(st){return p(this,null,function*(){return Fetch(`/api/mirror_applies/${st.id}/publish.json`,{method:"post",body:a({},st)})})}function Vr(st){return p(this,null,function*(){return Fetch(`/api/mirror_applies/${st.id}/open_vnc.json`,{method:"post",params:a({},st)})})}function dn(st){return p(this,null,function*(){return Fetch(`/api/mirror_applies/${st.id}/open_webssh.json`,{method:"post",params:a({},st)})})}function Bn(st){return p(this,null,function*(){return Fetch(`/api/mirror_applies/${st.id}/save_image.json`,{method:"post",body:a({},st)})})}function ti(st){return p(this,null,function*(){return Fetch(`/api/mirror_applies/${st.id}/delete_image.json`,{method:"post",body:a({},st)})})}function Un(st){return p(this,null,function*(){return Fetch(`/api/mirror_applies/${st.id}/extend_vnc.json`,{method:"post",body:a({},st)})})}function Ri(st){return p(this,null,function*(){return Fetch(`/api/mirror_applies/${st.id}/reset_vnc_link.json`,{method:"post",body:a({},st)})})}function ni(st){return p(this,null,function*(){return(0,r.ZP)("/api/paths/get_task_pass.json",{method:"get",params:a({},st)})})}function ci(st){return p(this,null,function*(){return(0,r.ZP)("/api/jupyters/get_info_with_jupyter_lab.json",{method:"get",params:a({},st)})})}function gi(st){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${st.id}/update_jupyter_lab_setting.json`,{method:"post",body:a({},st)})})}function di(st){return p(this,null,function*(){return(0,r.ZP)("/api/shixuns/check_shixun_copy.json",{method:"post",body:st})})}function Qi(st){return p(this,null,function*(){return(0,r.ZP)(`/api/progress_homeworks/${st}`,{method:"get",params:{is_initiative_study:1}})})}function Gn(st){return p(this,null,function*(){return Fetch(`/api/shixuns/${st.id}/update_shixun_study_num.json`,{method:"post",body:a({},st)})})}function Xi(st){return p(this,null,function*(){return(0,r.ZP)("/api/jupyters/preview.json",{method:"get",params:st})})}function Et(st){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${st}/recommend_config.json`,{method:"get"})})}},49234:function(d,v,e){"use strict";e.d(v,{Bg:function(){return p},FO:function(){return M},eJ:function(){return b},eZ:function(){return A},fd:function(){return G},gp:function(){return a},iU:function(){return N},l3:function(){return R},mw:function(){return C},oZ:function(){return _},rM:function(){return D},r_:function(){return K},s:function(){return x},ur:function(){return B},xV:function(){return y},yb:function(){return k}});var r=e(38986),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,o=(W,se,ie)=>se in W?i(W,se,{enumerable:!0,configurable:!0,writable:!0,value:ie}):W[se]=ie,h=(W,se)=>{for(var ie in se||(se={}))c.call(se,ie)&&o(W,ie,se[ie]);if(l)for(var ie of l(se))f.call(se,ie)&&o(W,ie,se[ie]);return W},u=(W,se,ie)=>new Promise((le,q)=>{var J=ee=>{try{ue(ie.next(ee))}catch(Q){q(Q)}},V=ee=>{try{ue(ie.throw(ee))}catch(Q){q(Q)}},ue=ee=>ee.done?le(ee.value):Promise.resolve(ee.value).then(J,V);ue((ie=ie.apply(W,se)).next())});function a(W){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${W.coursesId}/teachers.json`,{method:"get",params:h({},W)})})}function x(W){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${W.coursesId}/apply_teachers.json`,{method:"get",params:h({},W)})})}function p(W){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${W.coursesId}/graduation_group_list.json`,{method:"get",params:h({},W)})})}function y(W){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${W.coursesId}/all_course_groups.json`,{method:"get",params:h({},W)})})}function _(W){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${W.coursesId}/set_course_group.json`,{method:"post",body:h({},W)})})}function b(W){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${W.coursesId}/join_graduation_group.json`,{method:"post",body:h({},W)})})}function A(W){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${W.coursesId}/create_graduation_group.json`,{method:"post",body:h({},W)})})}function k(W){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${W.coursesId}/delete_course_teacher.json`,{method:"post",body:h({},W)})})}function R(W){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${W.coursesId}/delete_from_course.json`,{method:"post",body:h({},W)})})}function C(W){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${W.coursesId}/change_member_role.json`,{method:"post",body:h({},W)})})}function D(W){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${W.coursesId}/change_course_admin.json`,{method:"post",body:h({},W)})})}function M(W){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${W.coursesId}/teacher_application_review.json`,{method:"post",body:h({},W)})})}function B(W){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${W.coursesId}/students.json`,{method:"get",params:h({},W)})})}function N(W,se){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${W}/apply_students.json`,{method:"get",params:se})})}function K(W,se){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${W}/join_student_checkout.json`,{method:"get",params:se})})}function G(W,se){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${W}/student_application_review.json`,{method:"post",body:se})})}},86245:function(d,v,e){"use strict";e.d(v,{B$:function(){return y},Cx:function(){return J},DA:function(){return D},DH:function(){return p},Ef:function(){return ee},Es:function(){return b},Ex:function(){return nr},FM:function(){return ie},Fn:function(){return Q},Gq:function(){return cr},Ho:function(){return B},IU:function(){return _e},JJ:function(){return ce},Ol:function(){return $e},Qx:function(){return se},Tv:function(){return z},V8:function(){return x},WS:function(){return V},WY:function(){return W},ai:function(){return q},bG:function(){return k},bJ:function(){return a},c0:function(){return Xt},dE:function(){return ae},dt:function(){return $},gI:function(){return ue},lO:function(){return le},mW:function(){return G},n0:function(){return C},nV:function(){return He},o1:function(){return Bt},qE:function(){return _},qN:function(){return M},rV:function(){return N},sh:function(){return ke},vR:function(){return A},w3:function(){return K},x4:function(){return R},z2:function(){return gt}});var r=e(38986),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,o=(Ge,Tt,Ut)=>Tt in Ge?i(Ge,Tt,{enumerable:!0,configurable:!0,writable:!0,value:Ut}):Ge[Tt]=Ut,h=(Ge,Tt)=>{for(var Ut in Tt||(Tt={}))c.call(Tt,Ut)&&o(Ge,Ut,Tt[Ut]);if(l)for(var Ut of l(Tt))f.call(Tt,Ut)&&o(Ge,Ut,Tt[Ut]);return Ge},u=(Ge,Tt,Ut)=>new Promise((at,bt)=>{var dt=ye=>{try{Ue(Ut.next(ye))}catch(Ce){bt(Ce)}},tt=ye=>{try{Ue(Ut.throw(ye))}catch(Ce){bt(Ce)}},Ue=ye=>ye.done?at(ye.value):Promise.resolve(ye.value).then(dt,tt);Ue((Ut=Ut.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 A(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 C(){return u(this,null,function*(){return(0,r.ZP)("/api/users/system_update.json",{method:"get"})})}function D(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 W(Ge){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${Ge.username}/videos.json`,{method:"get",params:Ge})})}function se(Ge){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${Ge.username}/videos/review.json`,{method:"get",params:Ge})})}function ie(Ge){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${Ge.username}/videos/${Ge.id}.json`,{method:"delete"})})}function le(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 ue(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 ce(Ge){return u(this,null,function*(){return(0,r.ZP)(`/api/homework_banks/${Ge.topicId}.json`,{method:"get",params:Ge})})}function z(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 ae(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 De(Ge){return u(this,null,function*(){return Fetch("/api/intelligent_recommendations/user_choice_learn_path.json",{method:"post",body:h({},Ge)})})}function ke(){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 $e(Ge){return(0,r.ZP)("/api/accounts/valid_email_and_phone.json",{method:"get",params:Ge})}function Bt(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 nr(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 cr(Ge){return(0,r.ZP)("/api/accounts/login_for_phone.json",{method:"get",params:h({},Ge)})}},69618:function(d,v,e){"use strict";e.d(v,{BQ:function(){return a},DH:function(){return B},Db:function(){return le},Ju:function(){return ie},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 se},jK:function(){return R},yN:function(){return W}});var r=e(38986),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((ue,ee)=>{var Q=$=>{try{z(V.next($))}catch(ae){ee(ae)}},ce=$=>{try{z(V.throw($))}catch(ae){ee(ae)}},z=$=>$.done?ue($.value):Promise.resolve($.value).then(Q,ce);z((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 A(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 C(q){return u(this,null,function*(){return Fetch(`/api/video_items/${q.id}.json`,{method:"put",body:q})})}function D(q){return u(this,null,function*(){return Fetch(`/api/video_items/${q.id}/send_to_course.json`,{method:"post",body:q})})}function M(q){return u(this,null,function*(){return Fetch("/api/users/my_courses.json",{method:"Get",params:h({},q)})})}function B(q){return u(this,null,function*(){return(0,r.ZP)(`/api/video_items/${q.id}/view_video.json`,{method:"post",body:q})})}function 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 W(q){return u(this,null,function*(){return(0,r.ZP)("/api/stages.json",{method:"get",params:q})})}function se(q){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${q==null?void 0:q.id}/course_videos_tree.json`,{method:"get",params:q})})}function ie(q){return u(this,null,function*(){return(0,r.ZP)("/api/study_action_analyses.json",{method:"post",body:q})})}function le(q){return u(this,null,function*(){return(0,r.ZP)("/api/study_action_analyses/detail.json",{method:"post",body:q})})}},466:function(d,v,e){"use strict";e.d(v,{A:function(){return 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 A},To:function(){return p},Vf:function(){return y},XQ:function(){return f},b:function(){return a},bq:function(){return K},cZ:function(){return u},rV:function(){return D},sT:function(){return b},tS:function(){return N},xt:function(){return C},y2:function(){return l}});var r=e(38986),i=(W,se,ie)=>new Promise((le,q)=>{var J=ee=>{try{ue(ie.next(ee))}catch(Q){q(Q)}},V=ee=>{try{ue(ie.throw(ee))}catch(Q){q(Q)}},ue=ee=>ee.done?le(ee.value):Promise.resolve(ee.value).then(J,V);ue((ie=ie.apply(W,se)).next())});const l=W=>i(void 0,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${W.virtual_spacesId}/base_statistic_data.json`,{method:"Get",params:W})});function c(W){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${W.virtual_spacesId}/discussions/${W.id}.json`,{method:"put",body:W})})}function f(W){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${W.virtual_spacesId}/discussions/${W.id}.json`,{method:"get",params:W})})}function o(W){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${W.virtual_spacesId}/discussions.json`,{method:"post",body:W})})}function h(W){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${W.virtual_spacesId}/discussions.json`,{method:"get",params:W})})}function u(W){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${W.virtual_spacesId}/good_lessons/${W.id}/add_resources.json`,{method:"post",body:W})})}function a(W){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${W.virtual_spacesId}/good_lessons/${W.id}/lesson_resources_list.json`,{method:"get",params:W})})}function x(W){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${W.virtual_spacesId}/good_lessons/${W.id}.json`,{method:"get",params:W})})}function p(W){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${W.virtual_spacesId}/good_lessons/${W.id}.json`,{method:"put",body:W})})}function y(W){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${W.virtual_spacesId}/good_lessons.json`,{method:"post",body:W})})}function _(W){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${W.virtual_spacesId}/good_lessons.json`,{method:"get",params:W})})}function b(W){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${W==null?void 0:W.id}.json`,{method:"get"})})}function A(W){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${W==null?void 0:W.id}/modules.json`,{method:"get"})})}function k(W){return i(this,null,function*(){return Fetch(`/api/virtual_classrooms/${W.id}/videos/batch_publish.json`,{method:"post",body:W})})}function R(W){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${W.virtual_spacesId}/members.json`,{method:"post",body:W})})}function C(W){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${W.virtual_spacesId}/members/${W.id}/change_creator.json`,{method:"post",body:W})})}function D(W,se){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${W}/shixuns.json`,{method:"get",params:se})})}function M(W,se){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${W}/shixuns`,{method:"post",body:se})})}function B(W){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${W.virtual_classroom_id}/shixuns/${W.shixun_id}.json`,{method:"delete"})})}function N(W,se){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${W}/subjects.json`,{method:"get",params:se})})}function K(W,se){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${W}/subjects.json`,{method:"post",body:se})})}function G(W){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${W.virtual_classroom_id}/subjects/${W.subject_id}.json`,{method:"delete"})})}},48790:function(d,v,e){"use strict";e.d(v,{$O:function(){return J},EO:function(){return lt},G5:function(){return K},GD:function(){return i},GJ:function(){return x},Gg:function(){return p},I2:function(){return f},IR:function(){return W},JA:function(){return nt},JL:function(){return C},Jd:function(){return q},Ny:function(){return k},RV:function(){return ie},Rb:function(){return N},Rm:function(){return G},V9:function(){return ae},Yh:function(){return ce},aN:function(){return b},aQ:function(){return u},ag:function(){return We},bg:function(){return Ht},d8:function(){return B},dE:function(){return se},eB:function(){return le},eY:function(){return Pe},fn:function(){return je},h:function(){return tr},j5:function(){return _},m$:function(){return et},oF:function(){return y},qz:function(){return h},t_:function(){return A},tu:function(){return kt},y8:function(){return Vt}});var r=e(25690),i=(Wt=>(Wt[Wt.SuperAdmin=1]="SuperAdmin",Wt[Wt.Operation=2]="Operation",Wt[Wt.CertifiedTeacher=5]="CertifiedTeacher",Wt[Wt.TrainingProduction=8]="TrainingProduction",Wt[Wt.UncertifiedTeacher=12]="UncertifiedTeacher",Wt[Wt.Student=15]="Student",Wt))(i||{}),l=(Wt=>(Wt[Wt.SuperAdmin=1]="SuperAdmin",Wt[Wt.Operation=2]="Operation",Wt[Wt.Admin=5]="Admin",Wt[Wt.Teacher=8]="Teacher",Wt[Wt.Assistant=12]="Assistant",Wt[Wt.Student=15]="Student",Wt))(l||{}),c=(Wt=>(Wt[Wt.SuperAdmin=0]="SuperAdmin",Wt[Wt.Teacher=1]="Teacher",Wt[Wt.Student=2]="Student",Wt))(c||{});const f=Wt=>{const{user:Fe}=(0,r.getDvaApp)()._store.getState(),{userInfo:fe}=Fe;return Wt.some(pe=>pe==(fe==null?void 0:fe.role))},o=Wt=>{const{user:Fe}=(0,r.getDvaApp)()._store.getState(),{userInfo:fe}=Fe;return fe!=null&&fe.own?!0:Wt.some(pe=>{var Pt;return pe==((Pt=fe==null?void 0:fe.course)==null?void 0:Pt.course_role)})},h=()=>{const{user:Wt}=(0,r.getDvaApp)()._store.getState(),{userInfo:Fe}=Wt;return Fe.main_site},u=()=>{var Wt;const{user:Fe}=(0,r.getDvaApp)()._store.getState(),{userInfo:fe}=Fe;return(Wt=fe==null?void 0:fe.course)==null?void 0:Wt.course_is_end},a=()=>{const{user:Wt}=getDvaApp()._store.getState(),{userInfo:Fe}=Wt;return Fe.authentication},x=()=>o([1,2,5,8,12]),p=()=>o([1,8,5,12,2]),y=()=>o([1,8,5]),_=()=>o([1]),b=()=>o([1,2,5]),A=()=>o([1,2]),k=()=>f([1,2]),R=()=>f([1]),C=()=>f([1,2,5]),D=()=>o([1,5]),M=()=>o([5,8]),B=()=>o([5]),N=()=>o([1,5,2]),K=()=>o([1,2,5,8]),G=()=>o([12]),W=()=>o([8]),se=()=>o([15]),ie=()=>o([1,2,5,8,12,15]),le=()=>o([1,2,5,8,12]),q=()=>{var Wt;const{user:Fe}=(0,r.getDvaApp)()._store.getState(),{userInfo:fe}=Fe;return((Wt=fe==null?void 0:fe.course)==null?void 0:Wt.course_role)===null},J=()=>{const{user:Wt}=(0,r.getDvaApp)()._store.getState(),{userInfo:Fe}=Wt;return Fe==null?void 0:Fe.has_big_model_permission},V=()=>{const{user:Wt}=getDvaApp()._store.getState(),{userInfo:Fe}=Wt;return Fe==null?void 0:Fe.big_model_user_unlimited},ue=(Wt=!0,Fe=!1)=>f([1,2,5,8,12,15]),ee=(Wt=!0,Fe=!1)=>Fe||!Fe&&f([1]),Q=(Wt=!0,Fe=!1)=>Fe||!Fe&&f([1,2]),ce=()=>f([15]),z=(Wt=!0,Fe=!1)=>Wt?f([1,2,5,8,12,15]):Fe||!Fe&&f([1,2]),$=(Wt=!0,Fe=!1)=>Wt?f([1,2,5,8,12,15]):Fe||!Fe&&f([1,2]),ae=(Wt=!0,Fe=!1)=>{const{user:fe}=(0,r.getDvaApp)()._store.getState(),{userInfo:pe}=fe;return pe!=null&&pe.is_shixun_marker?!0:f([1,2,5,8])},_e=(Wt=!0,Fe=!1)=>Wt?f([1]):Fe||!Fe&&f([1]),De=(Wt=!0,Fe=!1)=>Wt?f([1,2]):Fe||!Fe&&f([1,2]),ke=(Wt=!0,Fe=!1)=>Wt?f([1,2,5,8,12,15]):Fe||!Fe&&f([1,2]),He=(Wt=!0,Fe=!1)=>Wt?f([1,2,5,8,12]):Fe||!Fe&&f([1,2]),$e=(Wt=!0,Fe=!1)=>Wt?f([1,2,5]):Fe||!Fe&&f([1,2]),Bt=(Wt=!0,Fe=!1)=>Wt?f([1]):!1,gt=(Wt=!0,Fe=!1)=>f([1,2,5,8,12,15]),Dt=(Wt=!0,Fe=!1)=>Wt?f([1]):Fe||!Fe&&f([1]),nr=(Wt=!0,Fe=!1)=>Wt?f([1,2]):Fe||!Fe&&f([1,2]),Xt=(Wt=!0,Fe=!1)=>Wt?f([1,2,5,8,12,15]):Fe||!Fe&&f([1,2]),cr=(Wt=!0,Fe=!1)=>Wt?!1:Fe||!Fe&&f([1,2]),Ge=(Wt=!0,Fe=!1)=>Wt?Fe||!Fe&&f([1,2]):!1,Tt=(Wt=!0,Fe=!1)=>Wt?f([1,2,5,8,12]):!1,Ut=(Wt=!0,Fe=!1)=>Wt?!Fe&&f([1,2,5,8,12]):!1,at=(Wt=!0,Fe=!1)=>Wt?f([1,2,5]):Fe||!Fe&&f([1,2]),bt=(Wt=!0,Fe=!1)=>f([1,2,5,8,12]),dt=(Wt=!0,Fe=!1)=>Wt?f([1]):Fe||!Fe&&f([1]),tt=(Wt=!0,Fe=!1)=>Wt?f([1,2]):Fe||!Fe&&f([1,2]),Ue=(Wt=!0,Fe=!1)=>Wt?f([1,2,5,8,12]):Fe||!Fe&&f([1,2]),ye=(Wt=!0,Fe=!1)=>Wt?Fe||!Fe&&f([1,2]):!1,Ce=(Wt=!0,Fe=!1)=>Wt?f([1,2,5,8,12]):Fe||!Fe&&f([1,2]),Me=(Wt=!0,Fe=!1)=>o([8]),je=()=>f([1]),We=()=>f([1,2]),nt=()=>f([15]),lt=()=>f([1,2,5]),Vt=()=>f([1,2,5,12]),Ht=()=>{var Wt;const{user:Fe}=(0,r.getDvaApp)()._store.getState();return!!((Wt=Fe.userInfo)!=null&&Wt.login)},Pe=()=>{const{user:Wt}=(0,r.getDvaApp)()._store.getState();return Wt.userInfo},et=()=>{var Wt,Fe;const{user:fe}=(0,r.getDvaApp)()._store.getState();return!!((Fe=(Wt=fe.userInfo)==null?void 0:Wt.path)!=null&&Fe.own)},Kt=Wt=>{const{graduations:Fe}=(0,r.getDvaApp)()._store.getState(),{details:fe}=Fe;return Wt.some(pe=>pe===(fe==null?void 0:fe.user_identity))},kt=()=>Kt([0,1]),Zt=()=>Kt([0]),Nt=()=>Kt([1]),tr=()=>Kt([2])},32162:function(d,v,e){"use strict";e.d(v,{a2:function(){return c},fw:function(){return r},gW:function(){return l},k:function(){return f},k4:function(){return i}});const r=[{id:0,name:"\u5355\u9009\u9898",nameType:"SINGLE"},{id:1,name:"\u591A\u9009\u9898",nameType:"MULTIPLE"},{id:2,name:"\u5224\u65AD\u9898",nameType:"JUDGMENT"},{id:3,name:"\u586B\u7A7A\u9898",nameType:"COMPLETION"},{id:4,name:"\u7B80\u7B54\u9898",nameType:"SUBJECTIVE"},{id:5,name:"\u5B9E\u8BAD\u9898",nameType:"PRACTICAL"},{id:6,name:"\u7F16\u7A0B\u9898",nameType:"PROGRAM"},{id:7,name:"\u7EC4\u5408\u9898",nameType:"COMBINATION"},{id:8,name:"\u7A0B\u5E8F\u586B\u7A7A\u9898",nameType:"BPROGRAM"}],i=["A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"];var l=(o=>(o.PROBLEM="problem",o.PAPER="paper",o.OTHER="other",o))(l||{}),c=(o=>(o.SINGLE="single",o.MULTIPLEFLOW="multiple_flow",o.MULTIPLEFIXED="multiple_fixed",o.OTHER="other",o))(c||{}),f=(o=>(o[o.BISHI=1]="BISHI",o[o.JISHI=2]="JISHI",o[o.KOUSHI=3]="KOUSHI",o[o.OTHER=4]="OTHER",o))(f||{})},77935:function(d,v,e){"use strict";e.d(v,{F:function(){return r}});const r={load:"text/html",123:"application/vndlotus-1-2-3","3ds":"image/x-3ds","3g2":"video/3gpp","3ga":"video/3gpp","3gp":"video/3gpp","3gpp":"video/3gpp",602:"application/x-t602",669:"audio/x-mod","7z":"application/x-7z-compressed",a:"application/x-archive",aac:"audio/mp4",abw:"application/x-abiword",abwcrashed:"application/x-abiword",abwgz:"application/x-abiword",ac3:"audio/ac3",ace:"application/x-ace",adb:"text/x-adasrc",ads:"text/x-adasrc",afm:"application/x-font-afm",ag:"image/x-applix-graphics",ai:"application/illustrator",aif:"audio/x-aiff",aifc:"audio/x-aiff",aiff:"audio/x-aiff",al:"application/x-perl",alz:"application/x-alz",amr:"audio/amr",ani:"application/x-navi-animation","anim[1-9j]":"video/x-anim",anx:"application/annodex",ape:"audio/x-ape",arj:"application/x-arj",arw:"image/x-sony-arw",as:"application/x-applix-spreadsheet",asc:"text/plain",asf:"video/x-ms-asf",asp:"application/x-asp",ass:"text/x-ssa",asx:"audio/x-ms-asx",atom:"application/atom+xml",au:"audio/basic",avi:"video/x-msvideo",aw:"application/x-applix-word",awb:"audio/amr-wb",awk:"application/x-awk",axa:"audio/annodex",axv:"video/annodex",bak:"application/x-trash",bcpio:"application/x-bcpio",bdf:"application/x-font-bdf",bib:"text/x-bibtex",bin:"application/octet-stream",blend:"application/x-blender",blender:"application/x-blender",bmp:"image/bmp",bz:"application/x-bzip",bz2:"application/x-bzip",c:"text/x-csrc","c++":"text/x-c++src",cab:"application/vndms-cab-compressed",cb7:"application/x-cb7",cbr:"application/x-cbr",cbt:"application/x-cbt",cbz:"application/x-cbz",cc:"text/x-c++src",cdf:"application/x-netcdf",cdr:"application/vndcorel-draw",cer:"application/x-x509-ca-cert",cert:"application/x-x509-ca-cert",cgm:"image/cgm",chm:"application/x-chm",chrt:"application/x-kchart",class:"application/x-java",cls:"text/x-tex",cmake:"text/x-cmake",cpio:"application/x-cpio",cpiogz:"application/x-cpio-compressed",cpp:"text/x-c++src",cr2:"image/x-canon-cr2",crt:"application/x-x509-ca-cert",crw:"image/x-canon-crw",cs:"text/x-csharp",csh:"application/x-csh",css:"text/css",cssl:"text/css",csv:"text/csv",cue:"application/x-cue",cur:"image/x-win-bitmap",cxx:"text/x-c++src",d:"text/x-dsrc",dar:"application/x-dar",dbf:"application/x-dbf",dc:"application/x-dc-rom",dcl:"text/x-dcl",dcm:"application/dicom",dcr:"image/x-kodak-dcr",dds:"image/x-dds",deb:"application/x-deb",der:"application/x-x509-ca-cert",desktop:"application/x-desktop",dia:"application/x-dia-diagram",diff:"text/x-patch",divx:"video/x-msvideo",djv:"image/vnddjvu",djvu:"image/vnddjvu",dng:"image/x-adobe-dng",doc:"application/msword",docbook:"application/docbook+xml",docm:"application/vndopenxmlformats-officedocumentwordprocessingmldocument",docx:"application/vndopenxmlformats-officedocumentwordprocessingmldocument",dot:"text/vndgraphviz",dsl:"text/x-dsl",dtd:"application/xml-dtd",dtx:"text/x-tex",dv:"video/dv",dvi:"application/x-dvi",dvibz2:"application/x-bzdvi",dvigz:"application/x-gzdvi",dwg:"image/vnddwg",dxf:"image/vnddxf",e:"text/x-eiffel",egon:"application/x-egon",eif:"text/x-eiffel",el:"text/x-emacs-lisp",emf:"image/x-emf",emp:"application/vndemusic-emusic_package",ent:"application/xml-external-parsed-entity",eps:"image/x-eps",epsbz2:"image/x-bzeps",epsgz:"image/x-gzeps",epsf:"image/x-eps",epsfbz2:"image/x-bzeps",epsfgz:"image/x-gzeps",epsi:"image/x-eps",epsibz2:"image/x-bzeps",epsigz:"image/x-gzeps",epub:"application/epub+zip",erl:"text/x-erlang",es:"application/ecmascript",etheme:"application/x-e-theme",etx:"text/x-setext",exe:"application/x-ms-dos-executable",exr:"image/x-exr",ez:"application/andrew-inset",f:"text/x-fortran",f90:"text/x-fortran",f95:"text/x-fortran",fb2:"application/x-fictionbook+xml",fig:"image/x-xfig",fits:"image/fits",fl:"application/x-fluid",flac:"audio/x-flac",flc:"video/x-flic",fli:"video/x-flic",flv:"video/x-flv",flw:"application/x-kivio",fo:"text/x-xslfo",for:"text/x-fortran",g3:"image/fax-g3",gb:"application/x-gameboy-rom",gba:"application/x-gba-rom",gcrd:"text/directory",ged:"application/x-gedcom",gedcom:"application/x-gedcom",gen:"application/x-genesis-rom",gf:"application/x-tex-gf",gg:"application/x-sms-rom",gif:"image/gif",glade:"application/x-glade",gmo:"application/x-gettext-translation",gnc:"application/x-gnucash",gnd:"application/gnunet-directory",gnucash:"application/x-gnucash",gnumeric:"application/x-gnumeric",gnuplot:"application/x-gnuplot",gp:"application/x-gnuplot",gpg:"application/pgp-encrypted",gplt:"application/x-gnuplot",gra:"application/x-graphite",gsf:"application/x-font-type1",gsm:"audio/x-gsm",gtar:"application/x-tar",gv:"text/vndgraphviz",gvp:"text/x-google-video-pointer",gz:"application/x-gzip",h:"text/x-chdr","h++":"text/x-c++hdr",hdf:"application/x-hdf",hh:"text/x-c++hdr",hp:"text/x-c++hdr",hpgl:"application/vndhp-hpgl",hpp:"text/x-c++hdr",hs:"text/x-haskell",htm:"text/html",html:"text/html",hwp:"application/x-hwp",hwt:"application/x-hwt",hxx:"text/x-c++hdr",ica:"application/x-ica",icb:"image/x-tga",icns:"image/x-icns",ico:"image/vndmicrosofticon",ics:"text/calendar",idl:"text/x-idl",ief:"image/ief",iff:"image/x-iff",ilbm:"image/x-ilbm",ime:"text/x-imelody",imy:"text/x-imelody",ins:"text/x-tex",iptables:"text/x-iptables",iso:"application/x-cd-image",iso9660:"application/x-cd-image",it:"audio/x-it",j2k:"image/jp2",jad:"text/vndsunj2meapp-descriptor",jar:"application/x-java-archive",java:"text/x-java",jng:"image/x-jng",jnlp:"application/x-java-jnlp-file",jp2:"image/jp2",jpc:"image/jp2",jpe:"image/jpeg",jpeg:"image/jpeg",jpf:"image/jp2",jpg:"image/jpeg",jpr:"application/x-jbuilder-project",jpx:"image/jp2",js:"application/javascript",json:"application/json",jsonp:"application/jsonp",k25:"image/x-kodak-k25",kar:"audio/midi",karbon:"application/x-karbon",kdc:"image/x-kodak-kdc",kdelnk:"application/x-desktop",kexi:"application/x-kexiproject-sqlite3",kexic:"application/x-kexi-connectiondata",kexis:"application/x-kexiproject-shortcut",kfo:"application/x-kformula",kil:"application/x-killustrator",kino:"application/smil",kml:"application/vndgoogle-earthkml+xml",kmz:"application/vndgoogle-earthkmz",kon:"application/x-kontour",kpm:"application/x-kpovmodeler",kpr:"application/x-kpresenter",kpt:"application/x-kpresenter",kra:"application/x-krita",ksp:"application/x-kspread",kud:"application/x-kugar",kwd:"application/x-kword",kwt:"application/x-kword",la:"application/x-shared-library-la",latex:"text/x-tex",ldif:"text/x-ldif",lha:"application/x-lha",lhs:"text/x-literate-haskell",lhz:"application/x-lhz",log:"text/x-log",ltx:"text/x-tex",lua:"text/x-lua",lwo:"image/x-lwo",lwob:"image/x-lwo",lws:"image/x-lws",ly:"text/x-lilypond",lyx:"application/x-lyx",lz:"application/x-lzip",lzh:"application/x-lha",lzma:"application/x-lzma",lzo:"application/x-lzop",m:"text/x-matlab",m15:"audio/x-mod",m2t:"video/mpeg",m3u:"audio/x-mpegurl",m3u8:"audio/x-mpegurl",m4:"application/x-m4",m4a:"audio/mp4",m4b:"audio/x-m4b",m4v:"video/mp4",mab:"application/x-markaby",man:"application/x-troff-man",mbox:"application/mbox",md:"application/x-genesis-rom",mdb:"application/vndms-access",mdi:"image/vndms-modi",me:"text/x-troff-me",med:"audio/x-mod",metalink:"application/metalink+xml",mgp:"application/x-magicpoint",mid:"audio/midi",midi:"audio/midi",mif:"application/x-mif",minipsf:"audio/x-minipsf",mka:"audio/x-matroska",mkv:"video/x-matroska",ml:"text/x-ocaml",mli:"text/x-ocaml",mm:"text/x-troff-mm",mmf:"application/x-smaf",mml:"text/mathml",mng:"video/x-mng",mo:"application/x-gettext-translation",mo3:"audio/x-mo3",moc:"text/x-moc",mod:"audio/x-mod",mof:"text/x-mof",moov:"video/quicktime",mov:"video/quicktime",movie:"video/x-sgi-movie","mp+":"audio/x-musepack",mp2:"video/mpeg",mp3:"audio/mpeg",mp4:"video/mp4",mpc:"audio/x-musepack",mpe:"video/mpeg",mpeg:"video/mpeg",mpg:"video/mpeg",mpga:"audio/mpeg",mpp:"audio/x-musepack",mrl:"text/x-mrml",mrml:"text/x-mrml",mrw:"image/x-minolta-mrw",ms:"text/x-troff-ms",msi:"application/x-msi",msod:"image/x-msod",msx:"application/x-msx-rom",mtm:"audio/x-mod",mup:"text/x-mup",mxf:"application/mxf",n64:"application/x-n64-rom",nb:"application/mathematica",nc:"application/x-netcdf",nds:"application/x-nintendo-ds-rom",nef:"image/x-nikon-nef",nes:"application/x-nes-rom",nfo:"text/x-nfo",not:"text/x-mup",nsc:"application/x-netshow-channel",nsv:"video/x-nsv",o:"application/x-object",obj:"application/x-tgif",ocl:"text/x-ocl",oda:"application/oda",odb:"application/vndoasisopendocumentdatabase",odc:"application/vndoasisopendocumentchart",odf:"application/vndoasisopendocumentformula",odg:"application/vndoasisopendocumentgraphics",odi:"application/vndoasisopendocumentimage",odm:"application/vndoasisopendocumenttext-master",odp:"application/vndoasisopendocumentpresentation",ods:"application/vndoasisopendocumentspreadsheet",odt:"application/vndoasisopendocumenttext",oga:"audio/ogg",ogg:"video/x-theora+ogg",ogm:"video/x-ogm+ogg",ogv:"video/ogg",ogx:"application/ogg",old:"application/x-trash",oleo:"application/x-oleo",opml:"text/x-opml+xml",ora:"image/openraster",orf:"image/x-olympus-orf",otc:"application/vndoasisopendocumentchart-template",otf:"application/x-font-otf",otg:"application/vndoasisopendocumentgraphics-template",oth:"application/vndoasisopendocumenttext-web",otp:"application/vndoasisopendocumentpresentation-template",ots:"application/vndoasisopendocumentspreadsheet-template",ott:"application/vndoasisopendocumenttext-template",owl:"application/rdf+xml",oxt:"application/vndopenofficeorgextension",p:"text/x-pascal",p10:"application/pkcs10",p12:"application/x-pkcs12",p7b:"application/x-pkcs7-certificates",p7s:"application/pkcs7-signature",pack:"application/x-java-pack200",pak:"application/x-pak",par2:"application/x-par2",pas:"text/x-pascal",patch:"text/x-patch",pbm:"image/x-portable-bitmap",pcd:"image/x-photo-cd",pcf:"application/x-cisco-vpn-settings",pcfgz:"application/x-font-pcf",pcfz:"application/x-font-pcf",pcl:"application/vndhp-pcl",pcx:"image/x-pcx",pdb:"chemical/x-pdb",pdc:"application/x-aportisdoc",pdf:"application/pdf",pdfbz2:"application/x-bzpdf",pdfgz:"application/x-gzpdf",pef:"image/x-pentax-pef",pem:"application/x-x509-ca-cert",perl:"application/x-perl",pfa:"application/x-font-type1",pfb:"application/x-font-type1",pfx:"application/x-pkcs12",pgm:"image/x-portable-graymap",pgn:"application/x-chess-pgn",pgp:"application/pgp-encrypted",php:"application/x-php",php3:"application/x-php",php4:"application/x-php",pict:"image/x-pict",pict1:"image/x-pict",pict2:"image/x-pict",pickle:"application/python-pickle",pk:"application/x-tex-pk",pkipath:"application/pkix-pkipath",pkr:"application/pgp-keys",pl:"application/x-perl",pla:"audio/x-iriver-pla",pln:"application/x-planperfect",pls:"audio/x-scpls",pm:"application/x-perl",png:"image/png",pnm:"image/x-portable-anymap",pntg:"image/x-macpaint",po:"text/x-gettext-translation",por:"application/x-spss-por",pot:"text/x-gettext-translation-template",ppm:"image/x-portable-pixmap",pps:"application/vndms-powerpoint",ppt:"application/vndms-powerpoint",pptm:"application/vndopenxmlformats-officedocumentpresentationmlpresentation",pptx:"application/vndopenxmlformats-officedocumentpresentationmlpresentation",ppz:"application/vndms-powerpoint",prc:"application/x-palm-database",ps:"application/postscript",psbz2:"application/x-bzpostscript",psgz:"application/x-gzpostscript",psd:"image/vndadobephotoshop",psf:"audio/x-psf",psfgz:"application/x-gz-font-linux-psf",psflib:"audio/x-psflib",psid:"audio/prssid",psw:"application/x-pocket-word",pw:"application/x-pw",py:"text/x-python",pyc:"application/x-python-bytecode",pyo:"application/x-python-bytecode",qif:"image/x-quicktime",qt:"video/quicktime",qtif:"image/x-quicktime",qtl:"application/x-quicktime-media-link",qtvr:"video/quicktime",ra:"audio/vndrn-realaudio",raf:"image/x-fuji-raf",ram:"application/ram",rar:"application/x-rar",ras:"image/x-cmu-raster",raw:"image/x-panasonic-raw",rax:"audio/vndrn-realaudio",rb:"application/x-ruby",rdf:"application/rdf+xml",rdfs:"application/rdf+xml",reg:"text/x-ms-regedit",rej:"application/x-reject",rgb:"image/x-rgb",rle:"image/rle",rm:"application/vndrn-realmedia",rmj:"application/vndrn-realmedia",rmm:"application/vndrn-realmedia",rms:"application/vndrn-realmedia",rmvb:"application/vndrn-realmedia",rmx:"application/vndrn-realmedia",roff:"text/troff",rp:"image/vndrn-realpix",rpm:"application/x-rpm",rss:"application/rss+xml",rt:"text/vndrn-realtext",rtf:"application/rtf",rtx:"text/richtext",rv:"video/vndrn-realvideo",rvx:"video/vndrn-realvideo",s3m:"audio/x-s3m",sam:"application/x-amipro",sami:"application/x-sami",sav:"application/x-spss-sav",scm:"text/x-scheme",sda:"application/vndstardivisiondraw",sdc:"application/vndstardivisioncalc",sdd:"application/vndstardivisionimpress",sdp:"application/sdp",sds:"application/vndstardivisionchart",sdw:"application/vndstardivisionwriter",sgf:"application/x-go-sgf",sgi:"image/x-sgi",sgl:"application/vndstardivisionwriter",sgm:"text/sgml",sgml:"text/sgml",sh:"application/x-shellscript",shar:"application/x-shar",shn:"application/x-shorten",siag:"application/x-siag",sid:"audio/prssid",sik:"application/x-trash",sis:"application/vndsymbianinstall",sisx:"x-epoc/x-sisx-app",sit:"application/x-stuffit",siv:"application/sieve",sk:"image/x-skencil",sk1:"image/x-skencil",skr:"application/pgp-keys",slk:"text/spreadsheet",smaf:"application/x-smaf",smc:"application/x-snes-rom",smd:"application/vndstardivisionmail",smf:"application/vndstardivisionmath",smi:"application/x-sami",smil:"application/smil",sml:"application/smil",sms:"application/x-sms-rom",snd:"audio/basic",so:"application/x-sharedlib",spc:"application/x-pkcs7-certificates",spd:"application/x-font-speedo",spec:"text/x-rpm-spec",spl:"application/x-shockwave-flash",spx:"audio/x-speex",sql:"text/x-sql",sr2:"image/x-sony-sr2",src:"application/x-wais-source",srf:"image/x-sony-srf",srt:"application/x-subrip",ssa:"text/x-ssa",stc:"application/vndsunxmlcalctemplate",std:"application/vndsunxmldrawtemplate",sti:"application/vndsunxmlimpresstemplate",stm:"audio/x-stm",stw:"application/vndsunxmlwritertemplate",sty:"text/x-tex",sub:"text/x-subviewer",sun:"image/x-sun-raster",sv4cpio:"application/x-sv4cpio",sv4crc:"application/x-sv4crc",svg:"image/svg+xml",svgz:"image/svg+xml-compressed",swf:"application/x-shockwave-flash",sxc:"application/vndsunxmlcalc",sxd:"application/vndsunxmldraw",sxg:"application/vndsunxmlwriterglobal",sxi:"application/vndsunxmlimpress",sxm:"application/vndsunxmlmath",sxw:"application/vndsunxmlwriter",sylk:"text/spreadsheet",t:"text/troff",t2t:"text/x-txt2tags",tar:"application/x-tar",tarbz:"application/x-bzip-compressed-tar",tarbz2:"application/x-bzip-compressed-tar",targz:"application/x-compressed-tar",tarlzma:"application/x-lzma-compressed-tar",tarlzo:"application/x-tzo",tarxz:"application/x-xz-compressed-tar",tarz:"application/x-tarz",tbz:"application/x-bzip-compressed-tar",tbz2:"application/x-bzip-compressed-tar",tcl:"text/x-tcl",tex:"text/x-tex",texi:"text/x-texinfo",texinfo:"text/x-texinfo",tga:"image/x-tga",tgz:"application/x-compressed-tar",theme:"application/x-theme",themepack:"application/x-windows-themepack",tif:"image/tiff",tiff:"image/tiff",tk:"text/x-tcl",tlz:"application/x-lzma-compressed-tar",tnef:"application/vndms-tnef",tnf:"application/vndms-tnef",toc:"application/x-cdrdao-toc",torrent:"application/x-bittorrent",tpic:"image/x-tga",tr:"text/troff",ts:"application/x-linguist",tsv:"text/tab-separated-values",tta:"audio/x-tta",ttc:"application/x-font-ttf",ttf:"application/x-font-ttf",ttx:"application/x-font-ttx",txt:"text/plain",txz:"application/x-xz-compressed-tar",tzo:"application/x-tzo",ufraw:"application/x-ufraw",ui:"application/x-designer",uil:"text/x-uil",ult:"audio/x-mod",uni:"audio/x-mod",uri:"text/x-uri",url:"text/x-uri",ustar:"application/x-ustar",vala:"text/x-vala",vapi:"text/x-vala",vcf:"text/directory",vcs:"text/calendar",vct:"text/directory",vda:"image/x-tga",vhd:"text/x-vhdl",vhdl:"text/x-vhdl",viv:"video/vivo",vivo:"video/vivo",vlc:"audio/x-mpegurl",vob:"video/mpeg",voc:"audio/x-voc",vor:"application/vndstardivisionwriter",vst:"image/x-tga",wav:"audio/x-wav",wax:"audio/x-ms-asx",wb1:"application/x-quattropro",wb2:"application/x-quattropro",wb3:"application/x-quattropro",wbmp:"image/vndwapwbmp",wcm:"application/vndms-works",wdb:"application/vndms-works",webm:"video/webm",wk1:"application/vndlotus-1-2-3",wk3:"application/vndlotus-1-2-3",wk4:"application/vndlotus-1-2-3",wks:"application/vndms-works",wma:"audio/x-ms-wma",wmf:"image/x-wmf",wml:"text/vndwapwml",wmls:"text/vndwapwmlscript",wmv:"video/x-ms-wmv",wmx:"audio/x-ms-asx",wp:"application/vndwordperfect",wp4:"application/vndwordperfect",wp5:"application/vndwordperfect",wp6:"application/vndwordperfect",wpd:"application/vndwordperfect",wpg:"application/x-wpg",wpl:"application/vndms-wpl",wpp:"application/vndwordperfect",wps:"application/vndms-works",wri:"application/x-mswrite",wrl:"model/vrml",wv:"audio/x-wavpack",wvc:"audio/x-wavpack-correction",wvp:"audio/x-wavpack",wvx:"audio/x-ms-asx",x3f:"image/x-sigma-x3f",xac:"application/x-gnucash",xbel:"application/x-xbel",xbl:"application/xml",xbm:"image/x-xbitmap",xcf:"image/x-xcf",xcfbz2:"image/x-compressed-xcf",xcfgz:"image/x-compressed-xcf",xhtml:"application/xhtml+xml",xi:"audio/x-xi",xla:"application/vndms-excel",xlc:"application/vndms-excel",xld:"application/vndms-excel",xlf:"application/x-xliff",xliff:"application/x-xliff",xll:"application/vndms-excel",xlm:"application/vndms-excel",xls:"application/vndms-excel",xlsm:"application/vndopenxmlformats-officedocumentspreadsheetmlsheet",xlsx:"application/vndopenxmlformats-officedocumentspreadsheetmlsheet",xlt:"application/vndms-excel",xlw:"application/vndms-excel",xm:"audio/x-xm",xmf:"audio/x-xmf",xmi:"text/x-xmi",xml:"application/xml",xpm:"image/x-xpixmap",xps:"application/vndms-xpsdocument",xsl:"application/xml",xslfo:"text/x-xslfo",xslt:"application/xml",xspf:"application/xspf+xml",xul:"application/vndmozillaxul+xml",xwd:"image/x-xwindowdump",xyz:"chemical/x-pdb",xz:"application/x-xz",w2p:"application/w2p",z:"application/x-compress",zabw:"application/x-abiword",zip:"application/zip"}},346:function(d,v,e){"use strict";e.d(v,{Z:function(){return c}});const r={PROXY_SERVER:"http://172.16.100.176",API_SERVER:"",REPORT_SERVER:"http://192.168.1.57:3001",IMG_SERVER:"http://172.16.100.176",FORGE:"https://code.educoder.net/",SSH_SERVER:"wss://webssh.educoder.net",SSH_Slice:"https://testfu.educoder.net",OFFICE_SERVER:"https://testoffice.educoder.net",ONLYOFFICE:"https://testoffice.educoder.net",OFFICE_IP:"http://113.246.243.98:9569",TERMINAL_URL:"testsvc1.vnc.educoder.net",QQLoginCB:encodeURIComponent("https://test-newweb.educoder.net")};var i=null,c={local:{API_SERVER:"http://localhost:3000",IMG_SERVER:"https://testali-cdn.educoder.net/",REPORT_SERVER:"http://192.168.1.57:3001",FORGE:"https://test-oldweb.educoder.net/",SSH_SERVER:"wss://pre-webssh.educoder.net",SSH_Slice:"https://testfu.educoder.net",OFFICE_SERVER:"https://testoffice.educoder.net",ONLYOFFICE:"https://testoffice.educoder.net",OFFICE_IP:"http://113.246.243.98:9569",QQLoginCB:encodeURIComponent("https://test-newweb.educoder.net")},dev:r,newReactTest:{API_SERVER:(()=>{let f;switch(location.host){case"test4.educoder.net":f="https://test4-data.educoder.net";break;case"test3.educoder.net":f="https://test3-data.educoder.net";break;case"test2.educoder.net":f="https://test2-data.educoder.net";break;default:f="https://test-data.educoder.net";break}return f})(),SSH_SERVER:"wss://pre-webssh.educoder.net",SSH_Slice:"https://testfu.educoder.net",IMG_SERVER:(()=>{let f="https://new-testali-cdn.educoder.net";const o=location.host;return o==="test3.educoder.net"&&(f="https://test3-data.educoder.net"),o==="test4.educoder.net"&&(f="https://test4-data.educoder.net"),f})(),OFFICE_SERVER:"https://testoffice.educoder.net",ONLYOFFICE:"https://testoffice.educoder.net",OFFICE_IP:"http://113.246.243.98:9569",REPORT_SERVER:"http://192.168.1.57:3001",FORGE:"https://test-oldweb.educoder.net/",QQLoginCB:encodeURIComponent("https://test-data.educoder.net"),TERMINAL_URL:"testsvc1.vnc.educoder.net"},preNewBuild:{API_SERVER:(()=>{let f="https://pre-data.educoder.net";return location.host==="pre2.educoder.net"&&(f="https://pre-data2.educoder.net"),f})(),IMG_SERVER:"https://preali-cdn.educoder.net",SSH_SERVER:"wss://pre-webssh.educoder.net",SSH_Slice:"https://testfu.educoder.net",REPORT_SERVER:"http://192.168.1.57:3001",OFFICE_SERVER:"https://testoffice.educoder.net",ONLYOFFICE:"https://testoffice.educoder.net",OFFICE_IP:"http://113.246.243.98:9569",FORGE:"https://forge.educoder.net/",QQLoginCB:encodeURIComponent("https://pre.educoder.net")},newBuild:{API_SERVER:(()=>{let f="https://data.educoder.net";return document.domain==="kepukehuan.educoder.net"?f="https://kepukehuan-data.educoder.net":(document.domain==="www.tokcoder.com"||document.domain==="tokcoder.com")&&(f="https://data.tokcoder.com"),f})(),SSH_SERVER:"wss://webssh.educoder.net",REPORT_SERVER:"http://192.168.1.57:3001",SSH_Slice:"https://fu.educoder.net",IMG_SERVER:"https://ali-cdn.educoder.net",OFFICE_SERVER:"https://officeserver.educoder.net",ONLYOFFICE:"https://office.educoder.net",OFFICE_IP:"https://officedata.educoder.net",FORGE:"https://code.educoder.net/",QQLoginCB:encodeURIComponent("https://www.educoder.net"),TERMINAL_URL:".jupyter.educoder.net"},newTest:{API_SERVER:"https://test-data.educoder.net",IMG_SERVER:"https://test-data.educoder.net",REPORT_SERVER:"http://192.168.1.57:3001",SSH_SERVER:"wss://pre-webssh.educoder.net",SSH_Slice:"https://testfu.educoder.net",OFFICE_SERVER:"https://testoffice.educoder.net",ONLYOFFICE:"https://testoffice.educoder.net",OFFICE_IP:"http://113.246.243.98:9569",FORGE:"http://test-oldweb.educoder.net/",QQLoginCB:encodeURIComponent("https://test-data.educoder.net")},test:{API_SERVER:"",IMG_SERVER:"",REPORT_SERVER:"http://192.168.1.57:3001",FORGE:"http://test-oldweb.educoder.net/",SSH_Slice:"https://testfu.educoder.net",OFFICE_SERVER:"https://testoffice.educoder.net",ONLYOFFICE:"https://testoffice.educoder.net",OFFICE_IP:"http://113.246.243.98:9569",SSH_SERVER:"wss://pre-webssh.educoder.net",QQLoginCB:encodeURIComponent("https://test-newweb.educoder.net")},preBuild:{API_SERVER:"",IMG_SERVER:"https://preali-cdn.educoder.net",REPORT_SERVER:"http://192.168.1.57:3001",FORGE:"https://forge.educoder.net/",SSH_Slice:"https://testfu.educoder.net",OFFICE_SERVER:"https://testoffice.educoder.net",ONLYOFFICE:"https://testoffice.educoder.net",OFFICE_IP:"http://113.246.243.98:9569",SSH_SERVER:"wss://pre-webssh.educoder.net",QQLoginCB:encodeURIComponent("https://test-newweb.educoder.net")},newWeb:{API_SERVER:"https://test-newweb.educoder.net",IMG_SERVER:"https://test-newweb.educoder.net/",REPORT_SERVER:"http://192.168.1.57:3001",FORGE:"http://test-oldweb.educoder.net/",SSH_Slice:"https://testfu.educoder.net",OFFICE_SERVER:"https://testoffice.educoder.net",ONLYOFFICE:"https://testoffice.educoder.net",OFFICE_IP:"http://113.246.243.98:9569",SSH_SERVER:"wss://pre-webssh.educoder.net",QQLoginCB:encodeURIComponent("https://test-newweb.educoder.net")},build:{API_SERVER:"",IMG_SERVER:"",REPORT_SERVER:"http://192.168.1.57:3001",FORGE:"https://forge.educoder.net/",SSH_SERVER:"wss://webssh.educoder.net",SSH_Slice:"https://fu.educoder.net",OFFICE_SERVER:"https://officeserver.educoder.net",ONLYOFFICE:"",OFFICE_IP:"https://officedata.educoder.net",QQLoginCB:encodeURIComponent("https://www.educoder.net"),TERMINAL_URL:".jupyter.educoder.net"}}[window.ENV||"dev"]},38986:function(d,v,e){"use strict";e.d(v,{IV:function(){return z},U2:function(){return ue},ZP:function(){return le},d4:function(){return ee},gz:function(){return ce},rz:function(){return ie},v_:function(){return Q}});var r=e(346),i=e(28909),l=e(43418),c=e(8591),f=e(85582),o=e.n(f),h=e(59301),u=e(25690),a=e(51257),x=e(89392),p=e.n(x),y=Object.defineProperty,_=Object.defineProperties,b=Object.getOwnPropertyDescriptors,A=Object.getOwnPropertySymbols,k=Object.prototype.hasOwnProperty,R=Object.prototype.propertyIsEnumerable,C=($,ae,_e)=>ae in $?y($,ae,{enumerable:!0,configurable:!0,writable:!0,value:_e}):$[ae]=_e,D=($,ae)=>{for(var _e in ae||(ae={}))k.call(ae,_e)&&C($,_e,ae[_e]);if(A)for(var _e of A(ae))R.call(ae,_e)&&C($,_e,ae[_e]);return $},M=($,ae)=>_($,b(ae)),B=($,ae,_e)=>new Promise((De,ke)=>{var He=gt=>{try{Bt(_e.next(gt))}catch(Dt){ke(Dt)}},$e=gt=>{try{Bt(_e.throw(gt))}catch(Dt){ke(Dt)}},Bt=gt=>gt.done?De(gt.value):Promise.resolve(gt.value).then(He,$e);Bt((_e=_e.apply($,ae)).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=($,ae)=>B(void 0,null,function*(){if($.status>=200&&$.status<300)return $;const _e=K[$.status]||$.statusText;let De;var ke=$.json();yield ke.then(($e,Bt)=>{setTimeout(()=>{let gt=(0,u.getDvaApp)()},400),De=$e.message,window.showNetworkErrorTip($e.message||`\u8BF7\u6C42\u9519\u8BEF ${$.status}: ${$.message}`),i.Z.error({style:{wordBreak:"break-all"},message:$e.message||`\u8BF7\u6C42\u9519\u8BEF ${$.status}: ${$.message}`,description:$e.message?"":_e})});const He=new Error(_e);throw He.name=$.status,He.response=$,{data:$,code:$.status,message:De||_e}}),W=($,ae)=>{const _e=$.headers.get("Content-Type");return _e&&_e.match(/application\/json/i)&&$.clone().text().then(()=>{}),$};function se($){try{return decodeURIComponent($),decodeURIComponent(encodeURIComponent($))===$}catch(ae){return!1}}const ie=$=>{$=$||{};let ae="";for(let _e in $)typeof $[_e]=="object"?Array.isArray($[_e])&&$[_e].forEach((De,ke)=>{ae+="&"+_e+"[]="+De}):$[_e]!==void 0&&(ae+="&"+_e+"="+(se($[_e])?$[_e]:encodeURIComponent($[_e])));return ae.substr(1)};function le($,ae,_e,De){ae.method||(ae.method="get"),ae.method=ae.method.toUpperCase(),ae.mode="cors";const ke=D({},ae),{user:He}=(0,u.getDvaApp)()._store.getState(),{userInfo:$e}=He,Bt=$+(ke.body?JSON.stringify(ke.body):""),gt=o().sha256().update(Bt).digest("hex"),Dt={credentials:"include",withCredentials:!0},nr={};$e!=null&&$e.login&&(nr.zzud=$e==null?void 0:$e.login,$e!=null&&$e.school_id&&(nr.zzsud=$e==null?void 0:$e.school_id),ke.params=D(D({},ke.params||{}),nr));let Xt=D(D({},Dt),(0,x.cloneDeep)(ke));(Xt.method==="POST"||Xt.method==="PUT"||Xt.method==="PATCH"||Xt.method==="DELETE")&&(_e?(Xt.headers=M(D({_method:ae.method.toUpperCase()},Xt.headers),{"Pc-Authorization":(0,a.ej)("_educoder_session"),"X-Original-Protocol":location.protocol,"X-Original-Host":location.host}),Xt.body=ke.body):(Xt.headers=D({Accept:"application/json",_method:ae.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(ke.body))),Xt.method=="GET"?(Xt.headers=M(D({Accept:"application/json","Content-Type":"application/json; charset=utf-8",_method:ae.method.toUpperCase()},Xt.headers),{"Pc-Authorization":(0,a.ej)("_educoder_session"),"X-Original-Protocol":location.protocol,"X-Original-Host":location.host}),ke.params&&ie(ke.params)&&($+="?"+ie(ke.params))):nr.zzud&&($+="?"+ie(D({},nr)));const cr=ke.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 Ut=bt=>B(this,null,function*(){const dt=yield bt.arrayBuffer();let tt;const Ue=new Blob([dt]);try{tt=bt.headers.get("Content-Disposition").split(";")[1].replace("filename=","").replace(/[\s+,\',\",\‘,\’,\“,\”,\<,\>,\《,\》]/g,"")}catch(je){tt="userfiles.zip"}const ye=document.createElement("a"),Ce=window.URL.createObjectURL(Ue),Me=tt;return ye.href=Ce,ye.download=Me,ye.click(),window.URL.revokeObjectURL(Ce),dt});let at=r.Z.API_SERVER;return(window.ENV==="dev"||$.startsWith("http"))&&(at=""),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,$),De&&(at=""),Xt.headers._method=Xt.method,Xt.headers["X-HTTP-Method-Override"]=Xt.method,Xt.method!=="GET"&&(Xt.method="POST"),fetch(at+$,Xt).then(bt=>G(bt,D({url:r.Z.API_SERVER+$},Xt))).then(bt=>W(bt,gt)).then(bt=>B(this,null,function*(){var dt,tt,Ue,ye;try{const Me=bt.headers.get("cs");Me&&(0,a.d8)("_educoder_session",Me,1)}catch(Me){}if(bt.status===204)return bt.text();let Ce;if(bt.headers.get("content-type").indexOf("application/json")>-1){Ce=yield bt.json();try{const Me=/\(\s+\/api\/attachments\/(\d+)|\(\/api\/attachments\/(\d+)\//g,je=/\"\/api\/attachments\/(\d+)\//g,We=/\(\s+\/files\/uploads\/(\d+)|\"\/files\/uploads\/(\d+)\//g,nt=/\/api\/attachments\/(\d+)/g,lt=/\/attachments\/download\/(\d+)/g;let Vt=JSON.stringify(Ce).replace(nt,(Ht,Pe,et,Kt)=>{const kt=Pe||et||Kt;return"/api/attachments/"+(0,a.Jn)(kt)}).replace(lt,(Ht,Pe,et)=>{const Kt=Pe||et;return"/attachments/download/"+(0,a.Jn)(Kt)}).replace(Me,(Ht,Pe,et,Kt)=>{const kt=Pe||et||Kt;return"(/api/attachments/"+(0,a.Jn)(kt)}).replace(je,(Ht,Pe,et)=>{const Kt=Pe||et;return'"/api/attachments/'+(0,a.Jn)(Kt)}).replace(We,(Ht,Pe,et)=>{const Kt=Pe||et;return"(/files/uploads/"+(0,a.Jn)(Kt)}).replace(/\r\n/g,`
|
|
|
`);Ce=JSON.parse(Vt)}catch(Me){}}else Xt.headers["Content-Type"]==="application/xml"?Ce=yield bt.text():(dt=ke.body)!=null&&dt.autoDownload||(tt=ke.params)!=null&&tt.autoDownload?Ce=yield Ut(bt):Ce=yield bt.arrayBuffer();try{Ce.status===401&&(!((Ue=Xt.params)!=null&&Ue.hidePopLogin)||!((ye=Xt.body)!=null&&ye.hidePopLogin))&&(0,u.getDvaApp)()._store.dispatch({type:"user/showPopLogin",payload:{showPopLogin:!0,showClosable:!0}}),Ce.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(Me){console.log("fetcherr",Me)}return V(Ce,$),Ce})).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=($,ae)=>{var _e,De,ke;if($.status==-6&&!J){J=!0,(0,a.d8)("_educoder_session","logout",1),(0,a.m5)(),setTimeout(()=>J=!1,500),l.default.info({title:"\u7CFB\u7EDF\u901A\u77E5",content:$.message,okText:"\u77E5\u9053\u4E86",maskStyle:{background:"#000"},onOk:()=>{window.location.reload()}});return}if($.status==-7){J=!0,setTimeout(()=>J=!1,500);let $e="";(_e=$==null?void 0:$.data)!=null&&_e.exercise_list&&((ke=(De=$==null?void 0:$.data)==null?void 0:De.exercise_list)==null||ke.map(Bt=>{$e+=`<a target="_blank" href="/classrooms/${Bt.identifier}/exercise">\u300A${Bt.exercise_name}\u300B</a>`})),l.default.info({title:"\u63D0\u793A",content:h.createElement("div",{id:"fetchStatus7",className:"fetchStatus7"},""),maskClosable:!1,closeIcon:!1,width:550,maskStyle:{background:"#000"},okText:"\u8FD4\u56DE\u9996\u9875",onOk:()=>{window.location.href="/"}}),setTimeout(()=>{document.getElementById("fetchStatus7").innerHTML=`<div>\u60A8\u5F53\u524D\u6709\u6B63\u5728\u8FDB\u884C\u7684\u8003\u8BD5 ${$e} \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:$e}=(0,u.getDvaApp)()._store.getState(),{userInfo:Bt}=$e;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 ue($,ae){return le(`/api/${$}`,{method:"Get",params:ae||{}})}function ee($,ae){return le(`/${$}`,{method:"Get",params:ae})}function Q($,ae){return le(`/api/${$}`,{method:"Post",body:D({},ae)})}function ce($,ae){return le(`/api/${$}`,{method:"Put",body:D({},ae)})}function z($,ae){return le(`/api/${$}`,{method:"delete",body:D({},ae||{})})}},11851:function(d,v,e){"use strict";e.d(v,{Bn:function(){return l},hw:function(){return i},mi:function(){return r}});const r="WTJJelpXRXdaakk0Tm1SbE56UTFPRFl5TXpnNVltWmtZVE0zTVdSalltST0=",i="WVdaak1UVmhOVEF3TkRRd05qZGlZemRsTVdZeFptSTROek5rT0daak1UYz0=",l="T1RkaE1XWTRaalJoTUdaaE9HUmxaR016T0RGa05XTTNPRFkwTkdJeVpUQT0="},81428:function(d,v,e){"use strict";e.d(v,{AL:function(){return B},Iy:function(){return p},Qv:function(){return b},ez:function(){return M},jb:function(){return y}});var r=e(32834),i=e.n(r),l=e(11690),c=e.n(l);let f=1;function o(se,ie){const le=se.match(/^(\s+)(?:```)/);if(le===null)return ie;const q=le[1];return ie.split(`
|
|
|
`).map(J=>{const V=J.match(/^\s+/);if(V===null)return J;const[ue]=V;return ue.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 _(se,ie,le,q){if(ie>=se.length||se[ie].level<=le)return ie;var J=se[ie];q.push("<li><a href='#"+f+J.anchor+"'>"+J.text+"</a>"),ie++;var V=[];return ie=_(se,ie,J.level,V),V.length>0&&(q.push("<ul>"),V.forEach(function(ue){q.push(ue)}),q.push("</ul>")),q.push("</li>"),ie=_(se,ie,le,q),ie}function b(){return _(h,0,0,u),u.push("</ul>"),u.join("")}const A={heading(se){const ie=x.exec(se);if(f+=1,ie)return{type:"heading",raw:ie[0],depth:ie[1].length,text:ie[2]}},fences(se){const ie=this.rules.block.fences.exec(se);if(ie){const le=ie[0];let q=o(le,ie[3]||"");const J=ie[2]?ie[2].trim():ie[2];if(["latex","katex","math"].indexOf(J)>=0){const V=C(),ue=q;q=V,D[V]={type:"block",expression:ue}}return{type:"code",raw:le,lang:J,text:q}}}},k=/(?:\${2})([^\n`]+?)(?:\${2})/gi;let R=0;const C=()=>`__special_katext_id_${R++}__`;let D={};function M(){return D}function B(){R=0,D={}}function N(se){return se=se.replace(k,(ie,le)=>{const q=C();return D[q]={type:"inline",expression:le},q}),se}const K=a.listitem;a.listitem=function(se){return K(N(se))};const G=a.paragraph;a.paragraph=function(se){return G(N(se))};const W=a.tablecell;a.tablecell=function(se,ie){return W(N(se),ie)},a.code=function(se,ie,le){const q=(ie||"").match(/\S*/)[0];return q?["latex","katex","math"].indexOf(q)>=0?`<p class='editormd-tex'>${se}</p>`:`<pre class="prettyprint linenums"><code class="language-${ie}">${le?se:(0,l.escape)(se,!0)}</code></pre>
|
|
|
`:'<pre class="prettyprint linenums"><code>'+(le?se:(0,l.escape)(se,!0))+"</code></pre>"},a.heading=function(se,ie,le){let q=this.options.headerPrefix+le.toLowerCase().replace(/[^\w\\u4e00-\\u9fa5]]+/g,"-");return h.push({anchor:q,level:ie,text:se}),"<h"+ie+' id="'+f+q+'">'+se+"</h"+ie+">"},i().setOptions({silent:!0,gfm:!0,pedantic:!1}),i().use({tokenizer:A,renderer:a}),v.ZP=i()},51257:function(__unused_webpack_module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,{AS:function(){return vtrsKey},BO:function(){return NewAntdDisabledDate},BR:function(){return 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__(48790),antd__WEBPACK_IMPORTED_MODULE_14__=__webpack_require__(8591),antd__WEBPACK_IMPORTED_MODULE_15__=__webpack_require__(43418),antd__WEBPACK_IMPORTED_MODULE_16__=__webpack_require__(95237),antd__WEBPACK_IMPORTED_MODULE_17__=__webpack_require__(43604),_components_Exercise_ip__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(6383),_service_exercise__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(81722),_contentType__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(77935),umi__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__(25690),md5__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__(93735),md5__WEBPACK_IMPORTED_MODULE_6___default=__webpack_require__.n(md5__WEBPACK_IMPORTED_MODULE_6__),_env__WEBPACK_IMPORTED_MODULE_7__=__webpack_require__(346),_components_mediator__WEBPACK_IMPORTED_MODULE_8__=__webpack_require__(49535),_components_RenderHtml__WEBPACK_IMPORTED_MODULE_9__=__webpack_require__(91842),_utils_fetch__WEBPACK_IMPORTED_MODULE_10__=__webpack_require__(38986),crypto_js__WEBPACK_IMPORTED_MODULE_11__=__webpack_require__(28209),crypto_js__WEBPACK_IMPORTED_MODULE_11___default=__webpack_require__.n(crypto_js__WEBPACK_IMPORTED_MODULE_11__),_key__WEBPACK_IMPORTED_MODULE_19__=__webpack_require__(11851),moment__WEBPACK_IMPORTED_MODULE_12__=__webpack_require__(61186),moment__WEBPACK_IMPORTED_MODULE_12___default=__webpack_require__.n(moment__WEBPACK_IMPORTED_MODULE_12__),dayjs_plugin_customParseFormat__WEBPACK_IMPORTED_MODULE_13__=__webpack_require__(33656),dayjs_plugin_customParseFormat__WEBPACK_IMPORTED_MODULE_13___default=__webpack_require__.n(dayjs_plugin_customParseFormat__WEBPACK_IMPORTED_MODULE_13__),uuid__WEBPACK_IMPORTED_MODULE_18__=__webpack_require__(1012),__defProp=Object.defineProperty,__defProps=Object.defineProperties,__getOwnPropDescs=Object.getOwnPropertyDescriptors,__getOwnPropSymbols=Object.getOwnPropertySymbols,__hasOwnProp=Object.prototype.hasOwnProperty,__propIsEnum=Object.prototype.propertyIsEnumerable,__defNormalProp=(d,v,e)=>v in d?__defProp(d,v,{enumerable:!0,configurable:!0,writable:!0,value:e}):d[v]=e,__spreadValues=(d,v)=>{for(var e in v||(v={}))__hasOwnProp.call(v,e)&&__defNormalProp(d,e,v[e]);if(__getOwnPropSymbols)for(var e of __getOwnPropSymbols(v))__propIsEnum.call(v,e)&&__defNormalProp(d,e,v[e]);return d},__spreadProps=(d,v)=>__defProps(d,__getOwnPropDescs(v)),__async=(d,v,e)=>new Promise((r,i)=>{var l=o=>{try{f(e.next(o))}catch(h){i(h)}},c=o=>{try{f(e.throw(o))}catch(h){i(h)}},f=o=>o.done?r(o.value):Promise.resolve(o.value).then(l,c);f((e=e.apply(d,v)).next())}),_a,_b;moment__WEBPACK_IMPORTED_MODULE_12___default().extend(dayjs_plugin_customParseFormat__WEBPACK_IMPORTED_MODULE_13___default());const HighLightedContent=(d,v=[],e="#2EC25B")=>(typeof v=="string"&&(v=[v]),d.replace(new RegExp(`(${v.join("|")})`,"gi"),`<span style="color:${e}">$1</span>`)),parseParams=d=>{d=d||{};let v="";for(let e in d)typeof d[e]=="object"?Array.isArray(d[e])&&d[e].forEach((r,i)=>{v+="&"+e+"[]="+r}):d[e]!==void 0&&(v+="&"+e+"="+d[e]);return v.substr(1)},getKey=d=>window.atob(window.atob(d));function bytesToSize(d){var v=["Bytes","KB","MB","GB","TB"];if(d==0)return"0 Byte";var e=parseInt(""+Math.floor(Math.log(d)/Math.log(1024)),10);return(d/Math.pow(1024,e)).toFixed(1)+" "+v[e]}const getTwoDecimalPlaces=d=>Math.round(Math.round(d*1e5)/1e3*100)/100,NewAntdDisabledDate=(d,v=null)=>{const e=d<moment__WEBPACK_IMPORTED_MODULE_12___default()(v==null?void 0:v.startTime).startOf("day"),r=d>moment__WEBPACK_IMPORTED_MODULE_12___default()(v==null?void 0:v.endTime).endOf("day"),i=d<moment__WEBPACK_IMPORTED_MODULE_12___default()(v==null?void 0:v.compared).startOf("day");return v!=null&&v.endTime?v!=null&&v.compared?moment__WEBPACK_IMPORTED_MODULE_12___default()()<=moment__WEBPACK_IMPORTED_MODULE_12___default()(v==null?void 0:v.compared)?i||r:e||r:d&&e||r:v!=null&&v.compared&&moment__WEBPACK_IMPORTED_MODULE_12___default()()<=moment__WEBPACK_IMPORTED_MODULE_12___default()(v==null?void 0:v.compared)?i:e},NewAntdDisabledTime=(d,v=null)=>{const e=parseInt(moment__WEBPACK_IMPORTED_MODULE_12___default()(d).format("HH")),r=parseInt(moment__WEBPACK_IMPORTED_MODULE_12___default()(d).format("mm")),i=parseInt(moment__WEBPACK_IMPORTED_MODULE_12___default()().format("HH")),l=parseInt(moment__WEBPACK_IMPORTED_MODULE_12___default()().format("mm")),c=parseInt(moment__WEBPACK_IMPORTED_MODULE_12___default()().format("ss"));function f(o,h){const u=[];for(let a=o;a<h;a++)u.push(a);return u}if(!d)return{disabledHours:()=>f(0,i),disabledMinutes:()=>f(0,l)};if(v!=null&&v.compared){const o=parseInt(moment__WEBPACK_IMPORTED_MODULE_12___default()(v==null?void 0:v.compared).format("HH")),h=parseInt(moment__WEBPACK_IMPORTED_MODULE_12___default()(v==null?void 0:v.compared).format("mm")),u=parseInt(moment__WEBPACK_IMPORTED_MODULE_12___default()(v==null?void 0:v.compared).format("ss"));return moment__WEBPACK_IMPORTED_MODULE_12___default()(d).isSame(moment__WEBPACK_IMPORTED_MODULE_12___default()(v==null?void 0:v.compared),"day")?{disabledHours:()=>f(0,o),disabledMinutes:()=>e<=o?f(0,h):[]}:void 0}if(moment__WEBPACK_IMPORTED_MODULE_12___default()(d).isSame(moment__WEBPACK_IMPORTED_MODULE_12___default()(),"day"))return{disabledHours:()=>f(0,i),disabledMinutes:()=>moment__WEBPACK_IMPORTED_MODULE_12___default()(d).isSame(moment__WEBPACK_IMPORTED_MODULE_12___default()(),"hour")&&e<=i?f(0,l):[]}},disabledDate=(d,v,e,r)=>{r=typeof r=="string"?moment__WEBPACK_IMPORTED_MODULE_12___default()(r):r;const i=r?d<(r==null?void 0:r.startOf("day")):d<moment__WEBPACK_IMPORTED_MODULE_12___default()().startOf("day"),l=d>moment__WEBPACK_IMPORTED_MODULE_12___default()(v).endOf("day"),c=d<moment__WEBPACK_IMPORTED_MODULE_12___default()(e).startOf("day");return v?e?moment__WEBPACK_IMPORTED_MODULE_12___default()()<=moment__WEBPACK_IMPORTED_MODULE_12___default()(e)?c||l:i||l:d&&i||l:e&&moment__WEBPACK_IMPORTED_MODULE_12___default()()<=moment__WEBPACK_IMPORTED_MODULE_12___default()(e)?c:i},disabledTime=(d,v)=>{const e=parseInt(moment__WEBPACK_IMPORTED_MODULE_12___default()(d).format("HH")),r=parseInt(moment__WEBPACK_IMPORTED_MODULE_12___default()().format("HH")),i=parseInt(moment__WEBPACK_IMPORTED_MODULE_12___default()().format("mm"));function l(c,f){const o=[];for(let h=c;h<f;h++)o.push(h);return o}if(!d)return{disabledHours:()=>l(0,r),disabledMinutes:()=>l(0,i)};if(v){const c=parseInt(moment__WEBPACK_IMPORTED_MODULE_12___default()(v).format("HH")),f=parseInt(moment__WEBPACK_IMPORTED_MODULE_12___default()(v).format("mm"));return moment__WEBPACK_IMPORTED_MODULE_12___default()(d).isSame(moment__WEBPACK_IMPORTED_MODULE_12___default()(v),"day")?{disabledHours:()=>l(0,c),disabledMinutes:()=>e<=c?l(0,f):[]}:void 0}if(moment__WEBPACK_IMPORTED_MODULE_12___default()(d).isSame(moment__WEBPACK_IMPORTED_MODULE_12___default()(),"day"))return{disabledHours:()=>l(0,r),disabledMinutes:()=>moment__WEBPACK_IMPORTED_MODULE_12___default()(d).isSame(moment__WEBPACK_IMPORTED_MODULE_12___default()(),"hour")&&e<=r?l(0,i):[]}},preciseCalculation=(d,v,e)=>{typeof d=="string"&&(d=Number(d)),typeof v=="string"&&(v=Number(v));const r=(d.toString().split(".")[1]||"").length,i=(v.toString().split(".")[1]||"").length,l=Math.max(r,i),c=Math.pow(10,l);return(()=>{switch(e){case"+":return(Math.round(d*c)+Math.round(v*c))/c;case"-":return(Math.round(d*c)-Math.round(v*c))/c;case"*":return Math.round(d*c)*Math.round(v*c)/(c*c);case"/":return Math.round(d*c)/Math.round(v*c);default:throw new Error("\u4E0D\u652F\u6301\u7684\u8FD0\u7B97\u7B26\u53F7")}})()},toWNumber=d=>d/1e4>1?react__WEBPACK_IMPORTED_MODULE_0__.createElement(react__WEBPACK_IMPORTED_MODULE_0__.Fragment,null,Math.round(d/1e4*100)/100,react__WEBPACK_IMPORTED_MODULE_0__.createElement("i",{className:"font12"},"w")):d,toChineseNumber=d=>{const v=d.toString().replace(/(?=(\d{4})+$)/g,",").split(",").filter(Boolean),e=["\u96F6","\u4E00","\u4E8C","\u4E09","\u56DB","\u4E94","\u516D","\u4E03","\u516B","\u4E5D"],r=["","\u5341","\u767E","\u5343"],i=["","\u4E07","\u4EBF"],l=f=>{let o="";for(let h=0;h<f.length;h++){const u=+f[h],a=e[u],x=r[f.length-1-h];u===0?o[o.length-1]!==e[0]&&(o+=a):o+=a+x}return o[o.length-1]===e[0]&&(o=o.slice(0,-1)),o};let c="";for(let f=0;f<v.length;f++){const o=v[f],h=l(o),u=h?i[v.length-1-f]:"";c+=h+u}return c=c.replace(/^一十$/,"\u5341"),c=c.replace(/^一(?=十[一二三四五六七八九])/,""),c},moveArray=(d,v,e)=>{const r=d.splice(v,1)[0];return d.splice(e,0,r),d},ZimuSort=["A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"],JudgeSort=["\u6B63\u786E","\u9519\u8BEF"],RomanNumber=["I","II","III","IV","V","VI","VII","VIII","IX","X","XI","XII","XIII","XIV","XV","XVI","XVII","XVIII","XIX","XX"],findEndWhitespace=d=>{if(!d)return"";const v=d.replace(/(?:\r\n|\n)/g,`\x1B[41m\x1B[37m\u21B5\x1B[0m\r
|
|
|
`).replace(/ +$/g,"\x1B[41m \x1B[0m");return console.debug("str:",v,JSON.stringify(d)),v},StatusTags=d=>{const v={\u5DF2\u622A\u6B62:{class:"tag-style bg-pink ml10"},\u63D0\u4EA4\u4E2D:{class:"tag-style bg-blue ml10"},\u8FDB\u884C\u4E2D:{class:"tag-style bg-blue ml10"},\u672A\u53D1\u5E03:{class:"tag-style bgB8B8B8 ml10"},\u8865\u4EA4\u4E2D:{class:"tag-style bg-blue ml10"},\u96C6\u4E2D\u9605\u5377:{class:"tag-style bg-light-orangess ml10soft"}};return d.data&&d.data.map(function(e,r){return react__WEBPACK_IMPORTED_MODULE_0__.createElement("span",{key:r,className:v[e]&&v[e].class},e)})},formatHomeWorkStatusToName=d=>({[-1]:"\u91CD\u505A\u4E2D",0:"\u672A\u5F00\u542F",1:"\u672A\u901A\u5173",2:"\u6309\u65F6\u901A\u5173"})[d]||"\u8FDF\u4EA4\u901A\u5173",HomeWorkListStatus=d=>{var v,e;const r={[-1]:{name:"\u91CD\u505A\u4E2D",class:"c-orange"},0:{name:"\u672A\u5F00\u542F",class:"c-black"},1:{name:"\u672A\u901A\u5173",class:"c-red"},2:{name:"\u6309\u65F6\u901A\u5173",class:"c-green"},3:{name:"\u8865\u4EA4\u901A\u5173",class:"c-orange"},4:{name:"\u622A\u6B62\u901A\u5173",class:"c-red"}};return react__WEBPACK_IMPORTED_MODULE_0__.createElement("span",{className:(v=r==null?void 0:r[d.status])==null?void 0:v.class},(e=r==null?void 0:r[d.status])==null?void 0:e.name)},HomeWorkShixunListStatus=d=>{var v,e;const r={[-1]:{name:"\u91CD\u505A\u4E2D",class:"c-orange"},0:{name:"\u672A\u5F00\u542F",class:"c-black"},1:{name:"\u672A\u901A\u5173",class:"c-red"},2:{name:"\u6309\u65F6\u901A\u5173",class:"c-green"},3:{name:"\u8865\u4EA4\u901A\u5173",class:"c-orange"},4:{name:"\u622A\u6B62\u540E\u901A\u5173",class:"c-red"}};return react__WEBPACK_IMPORTED_MODULE_0__.createElement("span",{className:(v=r==null?void 0:r[d.status])==null?void 0:v.class},(e=r==null?void 0:r[d.status])==null?void 0:e.name)},HomeWorkDetailStatus=d=>{var v,e;const r={[-1]:{name:"\u91CD\u505A\u4E2D",class:"c-orange",color:"#999999"},0:{name:"\u672A\u5F00\u542F",class:"c-black",color:"#999999"},1:{name:"\u672A\u901A\u5173",class:"c-red",color:"#d4443d"},2:{name:"\u6309\u65F6\u901A\u5173",class:"c-green",color:"#57be40"},3:{name:"\u8865\u4EA4\u901A\u5173",class:"c-orange",color:"#f09143"},4:{name:"\u622A\u6B62\u901A\u5173",class:"c-red",color:"#d4443d"}};return react__WEBPACK_IMPORTED_MODULE_0__.createElement("span",{style:{marginLeft:"10px",color:"#fff",background:(v=r==null?void 0:r[d.status])==null?void 0:v.color,borderRadius:"20px",width:"65px",height:"18px",justifyContent:"center",display:"inline-flex",lineHeight:"18px"}},(e=r==null?void 0:r[d.status])==null?void 0:e.name)},HomeWorkShixunDetailStatus=d=>{var v,e;const r={[-1]:{name:"\u91CD\u505A\u4E2D",class:"c-orange",color:"#999999"},0:{name:"\u672A\u5F00\u542F",class:"c-black",color:"#999999"},1:{name:"\u672A\u901A\u5173",class:"c-red",color:"#d4443d"},2:{name:"\u6309\u65F6\u901A\u5173",class:"c-green",color:"#57be40"},3:{name:"\u8865\u4EA4\u901A\u5173",class:"c-orange",color:"#f09143"},4:{name:"\u622A\u6B62\u540E\u901A\u5173",class:"c-red",color:"#d4443d"},5:{name:"\u622A\u6B62\u540E\u8BC4\u6D4B",class:"c-red",color:"#d4443d"}};return react__WEBPACK_IMPORTED_MODULE_0__.createElement("span",{style:{marginLeft:"10px",color:"#fff",background:(v=r==null?void 0:r[d.status])==null?void 0:v.color,borderRadius:"20px",padding:"0 8px",height:"18px",justifyContent:"center",display:"inline-flex",lineHeight:"18px"}},(e=r==null?void 0:r[d.status])==null?void 0:e.name)},HomeWorkCommonDetailStatus=d=>{var v,e;const r={[-1]:{name:"\u91CD\u505A\u4E2D",class:"c-black",color:"#999999"},0:{name:"\u672A\u63D0\u4EA4",class:"c-black",color:"#999999"},1:{name:"\u6309\u65F6\u63D0\u4EA4",class:"c-green",color:"#57be40"},2:{name:"\u5EF6\u65F6\u63D0\u4EA4",class:"c-red",color:"#d4443d"}};return react__WEBPACK_IMPORTED_MODULE_0__.createElement("span",{style:{marginLeft:"10px",color:"#fff",background:(v=r==null?void 0:r[d.status])==null?void 0:v.color,borderRadius:"20px",padding:"0 8px",height:"18px",justifyContent:"center",display:"inline-flex",lineHeight:"18px"}},(e=r==null?void 0:r[d.status])==null?void 0:e.name)},StatusGraduationProjectTags=d=>{const{status:v}=d,e={0:{class:"tag-style bg-blue ml10",name:"\u5F85\u9009\u4E2D"},1:{class:"tag-style bg-blue ml10",name:"\u5F85\u786E\u8BA4"},2:{class:"tag-style bg-pink ml10",name:"\u5DF2\u786E\u8BA4"}};try{return react__WEBPACK_IMPORTED_MODULE_0__.createElement("span",{className:e[v].class},e[v].name)}catch(r){console.log("utils.StatusGraduationProjectTags",d.status)}},ExerciseStatus={1:"\u672A\u53D1\u5E03",2:"\u8003\u8BD5\u4E2D",3:"\u5DF2\u622A\u6B62",4:"\u5DF2\u7ED3\u675F",5:"\u96C6\u4E2D\u9605\u5377",99:"\u6A21\u62DF\u8003\u8BD5\u4E2D"},PollsStatus={1:"\u672A\u53D1\u5E03",2:"\u63D0\u4EA4\u4E2D",3:"\u5DF2\u622A\u6B62",4:"\u5DF2\u7ED3\u675F",5:"\u672A\u5F00\u59CB"},StatusClassroomsTags=d=>{let v={\u6A21\u62DF\u8003\u8BD5\u4E2D:{class:"tag-style bg-light-pink ml10"},\u5DF2\u5F00\u542F\u9632\u4F5C\u5F0A:{class:"tag-style-fzb ml10 iconfont icon-fangzuobi"},\u516C\u5F00:{class:"tag-style bg-blue ml10"},\u5DF2\u5F00\u542F\u8865\u4EA4:{class:"tag-style bg-green ml10soft"},\u672A\u5F00\u542F\u8865\u4EA4:{class:"tag-style bg-pink ml10soft"},\u672A\u53D1\u5E03:{class:"tag-style bgB8B8B8 ml10soft"},\u672A\u5F00\u59CB:{class:"tag-style bg-c5d6ff ml10soft"},\u533F\u540D\u4F5C\u54C1:{class:"tag-style bg-cyan ml10"},\u5DF2\u9009\u62E9:{class:"tag-style bg-grey-ede ml10"},\u5DF2\u7ED3\u675F:{class:"tag-style bg-grey-ede ml10soft"},\u63D0\u4EA4\u4E2D:{class:"tag-style bg-blue ml10soft"},\u8FDB\u884C\u4E2D:{class:"tag-style bg-blue ml10soft"},\u533F\u8BC4\u4E2D:{class:"tag-style bg-blue ml10"},\u7533\u8BC9\u4E2D:{class:"tag-style bg-blue ml10"},\u8003\u8BD5\u4E2D:{class:"tag-style bg-light-blue ml10"},\u8865\u4EA4\u4E2D:{class:"tag-style bg-blue ml10soft"},\u8BC4\u9605\u4E2D:{class:"tag-style bg-blue ml10"},\u5F85\u9009\u4E2D:{class:"tag-style bg-blue ml10"},\u4EA4\u53C9\u8BC4\u9605\u4E2D:{class:"tag-style bg-light-orange ml10"},\u5DF2\u5F00\u542F\u4EA4\u53C9\u8BC4\u9605:{class:"tag-style bg-lightblue-purple ml10"},\u5F85\u786E\u8BA4:{class:"tag-style bg-lightblue-purple ml10"},\u5F85\u5904\u7406:{class:"tag-style bg-lightblue-purple ml10"},\u79C1\u6709:{class:"tag-style bg-lightblue-purple ml10"},\u672A\u63D0\u4EA4:{class:"tag-style bg-lightblue-purple ml10"},\u5DF2\u786E\u8BA4:{class:"tag-style bg-light-pink ml10"},\u5DF2\u53D1\u5E03:{class:"tag-style bg-light-blue ml10"},\u5DF2\u622A\u6B62:{class:"tag-style bg-light-pink ml10soft"},\u5F00\u53D1\u8BFE\u7A0B:{class:"tag-style bg-orange ml10"},\u5DF2\u5F00\u64AD:{class:"tag-style-border border-green c-green ml10"},\u672A\u5F00\u64AD:{class:"tag-style-border border-light-black ml10"},\u6309\u65F6\u901A\u5173:{class:"tag-style-border border-light-black ml10"},\u8FDF\u4EA4\u901A\u5173:{class:"tag-style-border border-light-black ml10"},\u672A\u901A\u5173:{class:"tag-style-border border-light-black ml10"},\u672A\u5F00\u542F:{class:"tag-style-border border-light-black ml10"},\u5BFC\u5165:{class:"export ml10"},\u96C6\u4E2D\u9605\u5377:{class:"tag-style bg-light-orangess ml10soft"}};const e={\u672A\u53D1\u5E03:{class:"tag-style bg-C6CED6 ml10soft"},\u672A\u5F00\u59CB:{class:"tag-style bg-C1E2FF ml10soft"},\u8FDB\u884C\u4E2D:{class:"tag-style bg-0152d9 ml10soft"},\u5DF2\u622A\u6B62:{class:"tag-style bg-E53333 ml10soft"},\u63D0\u4EA4\u4E2D:{class:"tag-style bg-0152d9 ml10soft"},\u8865\u4EA4\u4E2D:{class:"tag-style bg-44D7B6 ml10soft"}};d.temporary&&(v=__spreadValues(__spreadValues({},v),e));const r=[];d.is_random&&r.push(react__WEBPACK_IMPORTED_MODULE_0__.createElement("span",{className:"tag-style bg-blue ml10"},"\u968F\u673A"));try{d.status&&d.status.map((i,l)=>{r.push(react__WEBPACK_IMPORTED_MODULE_0__.createElement("span",{style:(d==null?void 0:d.style)||[],key:l,className:v[i]&&v[i].class},i))})}catch(i){console.log("utils.status.tag:",i,d.status)}return r},exerciseTips=(d,v)=>{if(d===5||v)return react__WEBPACK_IMPORTED_MODULE_0__.createElement("span",{style:{backgroundColor:"#f59a23"},className:"tag-style ml5"},"\u96C6\u4E2D\u9605\u5377");if(d===1)return react__WEBPACK_IMPORTED_MODULE_0__.createElement("span",{style:{backgroundColor:"#B8B8B8"},className:"tag-style ml5"},"\u672A\u5F00\u59CB");if(d===2)return react__WEBPACK_IMPORTED_MODULE_0__.createElement("span",{style:{backgroundColor:"#007AFF"},className:"tag-style ml5"},"\u8003\u8BD5\u4E2D");if(d===3||d===4)return react__WEBPACK_IMPORTED_MODULE_0__.createElement("span",{style:{backgroundColor:"#FC2D6B"},className:"tag-style ml5"},"\u5DF2\u622A\u6B62");if(d===-1)return react__WEBPACK_IMPORTED_MODULE_0__.createElement("span",{className:"export ml5"},"\u5BFC\u5165")},WorkStatus=d=>{var v,e;const r={[-1]:{name:"\u91CD\u505A\u4E2D",class:"c-orange"},0:{name:"\u672A\u63D0\u4EA4",class:"c-black"},1:{name:"\u672A\u901A\u5173",class:"c-red"},2:{name:"\u6309\u65F6\u901A\u5173",class:"c-green"},3:{name:"\u8FDF\u4EA4\u901A\u5173",class:"c-orange"}};return react__WEBPACK_IMPORTED_MODULE_0__.createElement("span",{className:(v=r[d.status])==null?void 0:v.class},(e=r[d.status])==null?void 0:e.name)},CommonWorkStatus=d=>{var v,e;const r={0:{name:"\u672A\u63D0\u4EA4",class:"c-black"},1:{name:"\u6309\u65F6\u63D0\u4EA4",class:"c-green"},2:{name:"\u5EF6\u65F6\u63D0\u4EA4",class:"c-red"},3:{name:"\u90E8\u5206\u63D0\u4EA4",class:"c-green"},4:{name:`\u6309\u65F6\u63D0\u4EA4${d!=null&&d.lineBreak?`
|
|
|
`:""}\uFF08\u6559\u5E08\u63D0\u4EA4\uFF09`,class:"c-green"},5:{name:`\u672A\u63D0\u4EA4${d!=null&&d.lineBreak?`
|
|
|
`:""}\uFF08\u6559\u5E08\u63D0\u4EA4\uFF09`,class:"c-black"},6:{name:"\u6309\u65F6\u63D0\u4EA4\uFF08\u7EBF\u4E0B\uFF09",class:"c-green"}};return react__WEBPACK_IMPORTED_MODULE_0__.createElement("span",{className:(v=r[d.status])==null?void 0:v.class},(e=r[d.status])==null?void 0:e.name)},timego=d=>{d=new Date(d).getTime();let v=1e3*60,e=v*60,r=e*24,i="",c=new Date().getTime()-d;if(c<0)return console.log("\u65F6\u95F4\u4E0D\u5BF9\u52B2,\u670D\u52A1\u5668\u521B\u5EFA\u65F6\u95F4\u4E0E\u5F53\u524D\u65F6\u95F4\u4E0D\u540C\u6B65"),i="\u521A\u521A";let f=parseInt(c/r,10),o=parseInt(c/e,10),h=parseInt(c/v,10);return f>30?i=""+timeformat(d,"yyyy-MM-dd"):f>1?i=""+f+"\u5929\u524D":f==1?i="\u6628\u5929":o>=1?i=""+o+"\u5C0F\u65F6\u524D":h>=5?i=""+h+"\u5206\u949F\u524D":i="\u521A\u521A",i};function replaceParamVal(paramName,replaceWith){var oUrl=window.location.href.toString(),re=eval("/("+paramName+"=)([^&]*)/gi"),nUrl=oUrl.replace(re,paramName+"="+replaceWith);window.history.replaceState(null,"",nUrl)}const timeformat=(d,v)=>{typeof d=="string"&&(d.indexOf("T")>=0&&(d=d.replace("T"," ")),d=new Date(Date.parse(d.replace(/-/g,"/")))),d=new Date(d);let e={"M+":d.getMonth()+1,"d+":d.getDate(),"h+":d.getHours(),"m+":d.getMinutes(),"s+":d.getSeconds(),"q+":Math.floor((d.getMonth()+3)/3),S:d.getMilliseconds()},r=[["\u65E5","\u4E00","\u4E8C","\u4E09","\u56DB","\u4E94","\u516D"],["\u5468\u65E5","\u5468\u4E00","\u5468\u4E8C","\u5468\u4E09","\u5468\u56DB","\u5468\u4E94","\u5468\u516D"],["\u661F\u671F\u65E5","\u661F\u671F\u4E00","\u661F\u671F\u4E8C","\u661F\u671F\u4E09","\u661F\u671F\u56DB","\u661F\u671F\u4E94","\u661F\u671F\u516D"]];/(y+)/.test(v)&&(v=v.replace(RegExp.$1,(d.getFullYear()+"").substr(4-RegExp.$1.length))),/(w+)/.test(v)&&(v=v.replace(RegExp.$1,r[RegExp.$1.length-1][d.getDay()]));for(let i in e)new RegExp("("+i+")").test(v)&&(v=v.replace(RegExp.$1,RegExp.$1.length==1?e[i]:("00"+e[i]).substr((""+e[i]).length)));return v},toTimeFormat=d=>{if(!d||d<0)return"0\u79D2";console.log("time:",d);let v=60,e=v*60,r=e*24,i=d/r,l=d/e,c=d/v,f=d%60;return i>=1?parseInt(i.toString())+"\u5929"+Math.floor(l%24)+"\u65F6"+Math.floor(c%60)+"\u5206"+Math.floor(d%60)+"\u79D2":l>1?parseInt(l.toString())+"\u65F6"+Math.floor(c%60)+"\u5206"+Math.floor(d%60)+"\u79D2":c>=1?parseInt(c.toString())+"\u5206"+Math.floor(d%60)+"\u79D2":Math.ceil(d)+"\u79D2"},validateLength=(d="",v=100)=>{let e=0;if(d){e=d.length;for(let r=0;r<e;r++){let i=d.charCodeAt(r);i>=55296&&i<=56319&&(e--,r++)}}return e<=v};function buildTree(d,v){const e={};let r=null;return d.forEach(i=>{e[i.properties.uuid]=__spreadProps(__spreadValues({},i),{children:[]})}),v.forEach(i=>{const l=e[i.startNodeUuid],c=e[i.endNodeUuid];l&&c&&l.children.push(c)}),d.forEach(i=>{!v.some(c=>c.endNodeUuid===i.properties.uuid)&&(r=e[i.properties.uuid])}),r}const handleValidatorNickName=(d,v,e)=>{if(v){let r=/[`~!@#$%^&*()\-+=<>?:"{}|,.\/;'\\[\]~!@#¥%……&*()——\-+={}|《》?:“”【】、;‘’,。、]/im;const l=/[\uD83C|\uD83D|\uD83E][\uDC00-\uDFFF][\u200D|\uFE0F]|[\uD83C|\uD83D|\uD83E][\uDC00-\uDFFF]|[0-9|*|#]\uFE0F\u20E3|[0-9|#]\u20E3|[\u203C-\u3299]\uFE0F\u200D|[\u203C-\u3299]\uFE0F|[\u2122-\u2B55]|\u303D|[\A9|\AE]\u3030|\uA9|\uAE|\u3030/gi.test(v),c=r.test(v);(l===!0||c===!0||v.length<2||v.length>=21)&&e("2-20\u4F4D\u4E2D\u82F1\u6587\u3001\u6570\u5B57\u53CA\u4E0B\u5212\u7EBF")}e()},handleValidatorName=(d,v,e)=>{if(v){let r=/[`~!@#$%^&()_\-+=<>?:"{}|,.\/;'\\[\]~!@#¥%……&()——\-+={}|《》?:“”【】、;‘’,。、]/im;const l=/[\uD83C|\uD83D|\uD83E][\uDC00-\uDFFF][\u200D|\uFE0F]|[\uD83C|\uD83D|\uD83E][\uDC00-\uDFFF]|[0-9|*|#]\uFE0F\u20E3|[0-9|#]\u20E3|[\u203C-\u3299]\uFE0F\u200D|[\u203C-\u3299]\uFE0F|[\u2122-\u2B55]|\u303D|[\A9|\AE]\u3030|\uA9|\uAE|\u3030/gi.test(v),c=r.test(v);(l===!0||c===!0||v.length<2||v.length>=21)&&e("2-20\u4F4D\u4E2D\u82F1\u6587\u3001\u6570\u5B57")}e()},getHiddenName=d=>{if(!d)return"";let v=d.length-1,e="";for(var r=0;r<v;r++)e+="*";return d.substr(0,1)+e},getBase64=(d,v)=>{const e=new FileReader;e.addEventListener("load",()=>v(e.result)),e.readAsDataURL(d)},getFileContentAndUrl=d=>new Promise((v,e)=>{var r=new FileReader;r.onload=function(){try{const i=window.URL.createObjectURL(d);v({text:this.result,link:i})}catch(i){antd__WEBPACK_IMPORTED_MODULE_14__.ZP.warning("\u5F53\u524D\u6587\u4EF6\u65E0\u6CD5\u8BFB\u53D6\u5185\u5BB9"),e("\u5F53\u524D\u6587\u4EF6\u65E0\u6CD5\u8BFB\u53D6\u5185\u5BB9")}},r.readAsText(d)});function setmiyah(d){return md5__WEBPACK_IMPORTED_MODULE_6___default()("79e33abd4b6588941ab7622aed1e67e8"+d)}const getCookie=d=>{var v,e=RegExp("(^| )"+d+"=([^;]+)(;|$)");return(v=document.cookie.match(e))?decodeURIComponent(v[2]):null};function setCookie(d,v,e){var r=new Date;r.setTime(r.getTime()+e*24*60*60*1e3);var i="expires="+r.toUTCString();document.cookie=d+"="+v+"; "+i+`;domain=${document.domain.indexOf("educoder.net")>-1?".educoder.net":document.domain};path=/;SameSite=None;secure`}const delCookie=d=>{document.cookie=d+"=; expires=Thu, 01 Jan 1970 00:00:01 GMT;path=/;"},clearAllCookies=()=>{for(var d=document.cookie.split(";"),v=0;v<d.length;v++){var e=d[v],r=e.indexOf("="),i=r>-1?e.substr(0,r):e;document.cookie=i+"=;expires=Thu, 01 Jan 1970 00:00:00 GMT"}};function downLoadLink(d,v){let e=document.createElement("a");document.body.appendChild(e),e.href=v,d&&(e.title=d,e.download=d);let r=document.createEvent("MouseEvents");r.initEvent("click",!1,!1),e.dispatchEvent(r),document.body.removeChild(e)}function getFirstLevelDomain(){var d=window.location.hostname,v=d.split(".").reverse();return v.length>2?[v[1],v[0]].join("."):d}function getBlob(d){return new Promise(v=>{const e=new window.XMLHttpRequest;(d.indexOf(getFirstLevelDomain())>-1||location.hostname==="localhost"&&d.indexOf("/api/")>-1)&&(e.withCredentials=!0),e.open("GET",d,!0),e.responseType="blob",e.onload=()=>{e.status===200&&v(e.response)},e.send()})}function saveAs(d,v){if(window.navigator.msSaveOrOpenBlob)window.navigator.msSaveBlob(d,v);else{const e=document.createElement("a"),r=document.querySelector("body");e.href=window.URL.createObjectURL(d),e.download=v,e.style.display="none",r.appendChild(e),e.click(),r.removeChild(e),window.URL.revokeObjectURL(e.href)}}function download(d,v){getBlob(d).then(e=>{saveAs(e,v)})}function downLoadFileIframe(d,v){return new Promise((e,r)=>{var i=v,l=document.createElement("iframe"),c;document.body.appendChild(l),l.src=i,l.style.display="none",l.addEventListener("load",function(){setTimeout(()=>{document.body.removeChild(l)},1e3)},!0),c=setInterval(()=>{getCookie("fileDownload")&&(delCookie("fileDownload"),clearInterval(c),document.body.removeChild(l),e())},1e3)})}function downLoadFile(d,v){downLoadLink(d,v)}const setUrlQuery=d=>{let{url:v,query:e}=d;if(!v)return"";if(e){let r=[];for(const i in e)e.hasOwnProperty(i)&&!isUnOrNull(e[i])&&(typeof e[i]=="object"?e[i].map(l=>{r.push(`${i}[]=${l}`)}):r.push(`${i}=${e[i]}`));v.indexOf("?")!==-1?v=`${v}&${r.join("&")}`:v=`${v}?${r.join("&")}`,console.log("url1111",v)}return v};function isPc(){let d=navigator.userAgent,v=["Android","iPhone","SymbianOS","Windows Phone","iPad","iPod"],e=!0;for(var r=0;r<v.length;r++)if(d.indexOf(v[r])>0){e=!1;break}return e}function isChrome(){let d=navigator.userAgent;return["Chrome"].some(e=>d.indexOf(e)>-1)}function isFirefox(){let d=navigator.userAgent;return["Firefox"].some(e=>d.indexOf(e)>-1)}function isChromeOrFirefox(){let d=navigator.userAgent;return["Chrome","Firefox"].some(e=>d.indexOf(e)>-1)}const formatMoney=(d="")=>{var v;return(v=d==null?void 0:d.toString())==null?void 0:v.replace(/\B(?=(\d{3})+(?!\d))/g,",")},openNewWindow=d=>{let v=document.createElement("a");v.target="_blank",document.body.appendChild(v),v.href=d;let e=document.createEvent("MouseEvents");e.initEvent("click",!1,!1),v.dispatchEvent(e),document.body.removeChild(v)},openNewWindows=d=>{let v=document.createElement("a");document.body.appendChild(v),v.href=d;let e=document.createEvent("MouseEvents");e.initEvent("click",!1,!1),v.dispatchEvent(e),document.body.removeChild(v)},formatTextMiddleIntercept=(d="")=>d.length<=6?d:`${d.substring(0,3)}...${d.substring(d.length-3,d.length)}`,HalfPastOne=()=>{let d=new Date().getHours(),v=new Date().getMinutes();return v>=30?(d++,v="00"):v="30",d+":"+v},DayHalfPastOne=(d="-")=>{let v=new Date().getHours(),e=new Date().getMinutes();return e>=30?(v++,e="00"):e="30",new Date().toLocaleDateString().replace(/\//g,d)+" "+v+":"+e};var Type=(d=>(d.Number="Number",d.String="String",d.Boolean="Boolean",d.Object="Object",d.Array="Array",d.Function="Function",d))(Type||{});const type=d=>{const v=Object.prototype.toString.call(d);return v.substring(8,v.length-1)},isEmpty=d=>type(d)==="Array"?d.length===0:type(d)==="Object"?Object.keys(d).length===0:!d,rangeNumber=(d,v)=>{const e=[];for(let r=d;r<v;r++)e.push(r);return e},middleEllipsis=(d,v=12)=>{let e=v/2-2,r=v/2+3;return d.length>v?d.substr(0,e)+"..."+d.substr(r,v):d},formatRate=d=>d>4.5?5:d>4&&d<=4.5?4.5:d>3.5&&d<=4?4:d>3&&d<=3.5?3.5:d>2.5&&d<=3?3:d>2&&d<=2.5?2.5:d>1.5&&d<=2?2:d>1&&d<=1.5?1.5:d>.5&&d<=1?1:d>0&&d<=.5?.5:0,isUnOrNull=d=>d==null;function getUrlToken(d,v){const e=new RegExp(`(^|&)${d}=([^&]*)(&|$)`,"i"),r=v.substr(1).match(e);return r!=null?decodeURIComponent(r[2]):null}const getMessagesUrl=d=>{var v;if(d.link_url)return window.open(d.link_url);switch(d==null?void 0:d.container_type){case"TeacherChangeUserInfo":return window.open("/account/profile");case"TeacherResetUserPassword":return window.open("/account/secure");case"ApplyUserAuthentication":return window.open("/account/certification")}switch(d.container_type){case"ApplyUserAuthentication":if(d.tiding_type==="Apply"){if(d.auth_type===1)return window.open("/admins/identity_authentications");if(d.auth_type===2)return window.open("/admins/professional_authentications")}return d.tiding_type==="System"?window.open("/account/certification"):d.tiding_type==="Code"?window.open("/account/profile"):void 0;case"CancelUserAuthentication":return window.open("/account/certification");case"CancelUserProCertification":return window.open("/account/certification");case"ApplyAddMajor":return window.open("/account/profile");case"Major":return window.open("/account/profile");case"ApplyAddDepartment":return d.tiding_type==="Apply"?window.open("/admins/department_applies"):d.tiding_type==="System"?window.open("/account/profile"):void 0;case"ApplyAddSchools":return d.tiding_type==="Apply"?window.open("/admins/unit_applies"):d.tiding_type==="System"?window.open("/account/profile"):void 0;case"ApplyAction":switch(d.parent_container_type){case"ApplyShixun":if(d.tiding_type==="Apply")return window.open("/admins/shixun_authorizations");if(d.tiding_type==="System")return window.open(`/shixuns/${d.identifier}/challenges`);case"ApplySubject":if(d.tiding_type==="Apply")return window.open("/admins/subject_authorizations");if(d.tiding_type==="System")return window.open(`/paths/${d.parent_container_id}`);case"TrialAuthorization":if(d.tiding_type==="Apply")return window.open("/managements/trial_authorization");if(d.tiding_type==="System")return window.open("/account/profile")}return;case"JoinCourse":return window.open(`/classrooms/${d.belong_container_id}/teachers`);case"StudentJoinCourse":if(d.tiding_type==="Apply")return window.open(`/classrooms/${d.belong_container_id}/teachers`);if(d.tiding_type==="System")return window.open(`/classrooms/${d.belong_container_id}/students`);case"DealCourse":return window.open(`/classrooms/${d.belong_container_id}/shixun_homework/`);case"TeacherJoinCourse":return window.open(`/classrooms/${d.belong_container_id}/shixun_homework/`);case"Course":return d.tiding_type==="Delete"?void 0:window.open(`/classrooms/${d.belong_container_id}/shixun_homework/`);case"ArchiveCourse":return window.open(`/classrooms/${d.belong_container_id}/shixun_homework/`);case"Shixun":return window.open(`/shixuns/${d.identifier}/challenges`);case"Subject":return window.open(`/paths/${d.container_id}`);case"JournalsForMessage":switch(d.parent_container_type){case"Principal":return"";case"HomeworkCommon":return d.homework_type==="normal"?window.open(`/classrooms/${d.belong_container_id}/common_homework/${d.parent_container_id}/question`):d.homework_type==="group"?window.open(`/classrooms/${d.belong_container_id}/group_homework/${d.parent_container_id}/question`):d.homework_type==="practice"?window.open(`/classrooms/${d.belong_container_id}/shixun_homework/${d.parent_container_id}/detail?tabs=1`):"";case"GraduationTopic":return window.open(`/classrooms/${d.belong_container_id}/graduation_topics/${d.parent_container_id}/detail`);case"StudentWorksScore":return window.open(d.link_url)}case"Memo":return window.open(`/forums/${d.parent_container_id}`);case"Message":return window.open("/forums/");case"Watcher":return window.open(`/users/${d.trigger_user.login}/classrooms`);case"PraiseTread":return"";case"Grade":return"";case"JoinProject":return window.open(_env__WEBPACK_IMPORTED_MODULE_7__.Z.FORGE+d.project_url);case"ReporterJoinProject":return window.open(_env__WEBPACK_IMPORTED_MODULE_7__.Z.FORGE+d.project_url);case"DealProject":return window.open(_env__WEBPACK_IMPORTED_MODULE_7__.Z.FORGE+d.project_url);case"ManagerJoinProject":return window.open(_env__WEBPACK_IMPORTED_MODULE_7__.Z.FORGE+d.project_url);case"Poll":switch(d.parent_container_type){case"CommitPoll":return window.open(` /classrooms/${d.belong_container_id}/poll/${d.container_id}/detail`);default:return window.open(` /classrooms/${d.belong_container_id}/poll/${d.container_id}/detail`)}case"Exercise":switch(d.parent_container_type){case"CommitExercise":return window.open(` /classrooms/${d.belong_container_id}/exercise/${d.container_id}/detail?tab=0`);case"ExerciseScore":return window.open(` /classrooms/${d.belong_container_id}/exercise/${d.container_id}/detail?tab=0`);default:return window.open(`/classrooms/${d.belong_container_id}/exercise/${d.container_id}/detail?tab=0`)}case"StudentGraduationTopic":return window.open(`/classrooms/${d.belong_container_id}/graduation_topics/${d.parent_container_id}/detail`);case"DealStudentTopicSelect":return window.open(`/classrooms/${d.belong_container_id}/graduation_topics/${d.parent_container_id}/detail`);case"GraduationTask":return window.open(`/classrooms/${d.belong_container_id}/graduation_tasks/${d.container_id}`);case"GraduationWork":return window.open(`/classrooms/${d.belong_container_id}/graduation_tasks/${d.container_id}`);case"GraduationWorkScore":return window.open(`/classrooms/${d.belong_container_id}/graduation_tasks/${d.parent_container_id}`);case"HomeworkCommon":switch(d.parent_container_type){case"AnonymousCommentFail":if(d.homework_type==="normal")return window.open(`/classrooms/${d.belong_container_id}/common_homework/${d.parent_container_id}/detail`);if(d.homework_type==="group")return window.open(`/classrooms/${d.belong_container_id}/group_homework/${d.parent_container_id}/detail`);if(d.homework_type==="practice")return window.open(`/classrooms/${d.belong_container_id}/shixun_homework/${d.parent_container_id}/detail?tabs=0`);case"HomeworkPublish":if(d.homework_type==="normal")return window.open(`/classrooms/${d.belong_container_id}/common_homework/${d.parent_container_id}/detail`);if(d.homework_type==="group")return window.open(`/classrooms/${d.belong_container_id}/group_homework/${d.parent_container_id}/detail`);if(d.homework_type==="practice")return window.open(`/classrooms/${d.belong_container_id}/shixun_homework/${d.parent_container_id}/detail?tabs=0`);case"AnonymousAppeal":if(d.homework_type==="normal")return window.open(`/classrooms/${d.belong_container_id}/common_homework/${d.parent_container_id}/detail`);if(d.homework_type==="group")return window.open(`/classrooms/${d.belong_container_id}/group_homework/${d.parent_container_id}/detail`);if(d.homework_type==="practice")return window.open(`/classrooms/${d.belong_container_id}/shixun_homework/${d.parent_container_id}/detail?tabs=0`);default:if(d.homework_type==="normal")return window.open(`/classrooms/${d.belong_container_id}/common_homework/${d.parent_container_id}/detail`);if(d.homework_type==="group")return window.open(`/classrooms/${d.belong_container_id}/group_homework/${d.parent_container_id}/detail`);if(d.homework_type==="practice")return window.open(`/classrooms/${d.belong_container_id}/shixun_homework/${d.parent_container_id}/detail?tabs=0`)}case"StudentWork":if(d.homework_type==="normal")return window.open(`/classrooms/${d.belong_container_id}/common_homework/${d.parent_container_id}/review/${d.container_id}`);if(d.homework_type==="group")return window.open(`/classrooms/${d.belong_container_id}/group_homework/${d.parent_container_id}/review/${d.container_id}`);if(d.homework_type==="practice")return window.open(`/classrooms/${d.belong_container_id}/shixun_homework/${d.parent_container_id}/detail`);case"StudentWorksScore":return window.open(`/classrooms/${d.belong_container_id}/common_homework/${d.trigger_user.id}/review/${d.parent_container_id}`);case"StudentWorksScoresAppeal":return window.open(`/classrooms/${d.belong_container_id}/common_homework/${d.trigger_user.id}/review/${d.parent_container_id}`);case"ChallengeWorkScore":return"";case"SendMessage":return window.open(`${_env__WEBPACK_IMPORTED_MODULE_7__.Z.API_SERVER}/admins/mirror_repositories`);case"Journal":return window.open(`/issues/${d.parent_container_id}`);case"Issue":return window.open(`/issues/${d.container_id}`);case"PullRequest":return window.open(_env__WEBPACK_IMPORTED_MODULE_7__.Z.FORGE+d.project_url);case"Department":return window.open("/account/profile");case"Library":if(d.tiding_type==="Apply")return window.open("/admins/library_applies");if(d.tiding_type==="System")return window.open(`/moop_cases/${d.container_id}`);case"ProjectPackage":return d.tiding_type==="Destroyed"||d.tiding_type==="Destroyed_end"?void 0:d.tiding_type==="Apply"?window.open("/admins/project_package_applies"):window.open(`/crowdsourcing/${d.container_id}`);case"Discuss":return d.parent_container_type==="Hack"&&d.extra?window.open(`/myproblems/${d.extra}/comment`):d.extra==="ai_reply"&&d.task_identifier?window.open(`/tasks/${d.task_identifier}?extra=extra`):window.open(`/shixuns/${d.identifier}/shixun_discuss`);case"Video":return d.tiding_type==="Apply"?window.open("/admins/video_applies"):d.tiding_type==="System"?window.open(`/users/${(v=(0,_utils_authority__WEBPACK_IMPORTED_MODULE_1__.eY)())==null?void 0:v.login}/videos`):"";case"PublicCourseStart":return window.open(`/classrooms/${d.container_id}/informs`);case"SubjectStartCourse":return window.open(`/paths/${d.container_id}`);case"ResubmitStudentWork":if(d.homework_type==="normal")return window.open(`/classrooms/${d.belong_container_id}/common_homework/${d.parent_container_id}/${d.container_id}/appraise`);if(d.homework_type==="group")return window.open(`/classrooms/${d.belong_container_id}/group_homework/${d.parent_container_id}/${d.container_id}/appraise`);case"AdjustScore":if(d.homework_type==="normal")return window.open(`/classrooms/${d.belong_container_id}/common_homework/${d.parent_container_id}`);if(d.homework_type==="group")return window.open(`/classrooms/${d.belong_container_id}/group_homework/${d.parent_container_id}`);case"LiveLink":return window.open(`/classrooms/${d.belong_container_id}/course_videos?open=live`);case"Hack":if(d.extra&&d.parent_container_type!=="HackDelete")return window.open(`/problems/${d.extra}/edit`);default:return}},checkLocalOrPublicIp=(d,v)=>__async(void 0,null,function*(){let e="",r;return new Promise((i,l)=>__async(void 0,null,function*(){if(d.ip_limit!=="no"||d.ip_bind_type)try{e=yield(0,_components_Exercise_ip__WEBPACK_IMPORTED_MODULE_2__.y)({ip_limit:d==null?void 0:d.ip_limit,ip_bind:d==null?void 0:d.ip_bind_type}),console.log(e,44)}catch(f){l(void 0)}const c=yield(0,_service_exercise__WEBPACK_IMPORTED_MODULE_3__.Cl)({id:d.exerciseId,ip:e});if(c.status===0)i(c);else if(c.status===-5){(0,umi__WEBPACK_IMPORTED_MODULE_5__.getDvaApp)()._store.dispatch({type:"exercise/setActionTabs",payload:{key:"student-unlock",exerciseParams:{errorMessage:c==null?void 0:c.message,exercise_user_id:d==null?void 0:d.exercise_user_id,id:d.exerciseId,unlockClose:d.unlockClose}}});return}else i(c);if(d.errmsgHide||v)return!0;if(c.status===-1)return r=antd__WEBPACK_IMPORTED_MODULE_15__.default.info({title:react__WEBPACK_IMPORTED_MODULE_0__.createElement(antd__WEBPACK_IMPORTED_MODULE_16__.Z,null,react__WEBPACK_IMPORTED_MODULE_0__.createElement(antd__WEBPACK_IMPORTED_MODULE_17__.Z,{flex:"1"},"\u63D0\u793A"),react__WEBPACK_IMPORTED_MODULE_0__.createElement(antd__WEBPACK_IMPORTED_MODULE_17__.Z,null,react__WEBPACK_IMPORTED_MODULE_0__.createElement("span",{className:"iconfont icon-yiguanbi1 current c-grey-c",onClick:()=>r.destroy()}))),icon:null,className:"custom-modal-divider",content:react__WEBPACK_IMPORTED_MODULE_0__.createElement("div",{className:"font16 p20"},"\u60A8\u7684IP\u4E0D\u5728\u8003\u8BD5\u5141\u8BB8\u7684\u8303\u56F4\u5185\uFF01"),okText:"\u6211\u77E5\u9053\u4E86"}),!1;if(c.status===-2)return r=antd__WEBPACK_IMPORTED_MODULE_15__.default.info({title:react__WEBPACK_IMPORTED_MODULE_0__.createElement(antd__WEBPACK_IMPORTED_MODULE_16__.Z,null,react__WEBPACK_IMPORTED_MODULE_0__.createElement(antd__WEBPACK_IMPORTED_MODULE_17__.Z,{flex:"1"},"\u63D0\u793A"),react__WEBPACK_IMPORTED_MODULE_0__.createElement(antd__WEBPACK_IMPORTED_MODULE_17__.Z,null,react__WEBPACK_IMPORTED_MODULE_0__.createElement("span",{className:"iconfont icon-yiguanbi1 current c-grey-c",onClick:()=>r.destroy()}))),icon:null,className:"custom-modal-divider",content:react__WEBPACK_IMPORTED_MODULE_0__.createElement("div",{className:"font16 p20"},"\u60A8\u5DF2\u7ED1\u5B9A\u5F53\u524D\u8003\u8BD5IP\u5730\u5740\uFF1A",react__WEBPACK_IMPORTED_MODULE_0__.createElement("span",{className:"c-red"},c.ip),"\u8BF7\u4F7F\u7528\u8BE5IP\u5730\u5740\u8FDB\u5165\u8003\u8BD5\u3002"),okText:"\u6211\u77E5\u9053\u4E86"}),!1}))}),checkDisabledExam=d=>new Promise((v,e)=>__async(void 0,null,function*(){const r=yield(0,_service_exercise__WEBPACK_IMPORTED_MODULE_3__.Zg)({id:d==null?void 0:d.exerciseId,coursesId:d==null?void 0:d.coursesId});if((r==null?void 0:r.status)===0){v("");return}setTimeout(()=>{window.location.reload()},2e3),e("")})),isKepuKehuan=()=>location.pathname.indexOf("/classrooms/4RW9CYHY")>-1||location.pathname.indexOf("/classrooms/qb4ft587")>-1||location.pathname.indexOf("/classrooms/c5q9bsp2")>-1,startExercise=d=>__async(void 0,null,function*(){var v,e,r;sessionStorage.removeItem("studentunlock");let i;if((location.pathname.indexOf("/classrooms/4RW9CYHY")>-1||location.pathname.indexOf("/classrooms/qb4ft587")>-1||location.pathname.indexOf("/classrooms/c5q9bsp2")>-1)&&!isPc()){antd__WEBPACK_IMPORTED_MODULE_15__.default.info({content:"\u8BF7\u4F7F\u7528\u7535\u8111\u53C2\u52A0\u8003\u8BD5\uFF01"});return}if(copyTextFuc(" ",!0),yield checkDisabledExam(d),d.ip_limit!=="no"||d.ip_bind){const l=yield checkLocalOrPublicIp(d,!0);if((l==null?void 0:l.status)!==0)return;if(!isChrome()){antd__WEBPACK_IMPORTED_MODULE_15__.default.info({icon:null,okText:"\u786E\u5B9A",width:500,content:react__WEBPACK_IMPORTED_MODULE_0__.createElement("div",{className:"font16"},"\u672C\u6B21\u8003\u8BD5\u5DF2\u5F00\u542F\u9632\u4F5C\u5F0A\u8BBE\u7F6E\uFF0C\u4EC5\u652F\u6301",react__WEBPACK_IMPORTED_MODULE_0__.createElement("span",{className:"c-red"},"\u8C37\u6B4C"),"\u3002",react__WEBPACK_IMPORTED_MODULE_0__.createElement("br",null),"\u8BF7\u4F7F\u7528",react__WEBPACK_IMPORTED_MODULE_0__.createElement("span",{className:"c-red"},"\u8C37\u6B4C"),"\u6D4F\u89C8\u5668\u5F00\u59CB\u8003\u8BD5\u3002")});return}}if(d.forbid_screen){const l=new WebSocket("ws://localhost:8082");yield new Promise(c=>setTimeout(()=>c(),200)),sendAppStatus(l,d)}if(d.open_camera||d.screen_open||d.ip_limit!=="no"||d.identity_verify){if(!isChromeOrFirefox())return antd__WEBPACK_IMPORTED_MODULE_15__.default.info({icon:null,okText:"\u786E\u5B9A",width:500,content:react__WEBPACK_IMPORTED_MODULE_0__.createElement("div",{className:"font16"},"\u672C\u6B21\u8003\u8BD5\u5DF2\u5F00\u542F\u9632\u4F5C\u5F0A\u8BBE\u7F6E\uFF0C\u4EC5\u652F\u6301",react__WEBPACK_IMPORTED_MODULE_0__.createElement("span",{className:"c-red"},"\u8C37\u6B4C"),"\u3001",react__WEBPACK_IMPORTED_MODULE_0__.createElement("span",{className:"c-red"},"\u706B\u72D0"),"\u6D4F\u89C8\u5668\u3002",react__WEBPACK_IMPORTED_MODULE_0__.createElement("br",null),"\u8BF7\u4F7F\u7528",react__WEBPACK_IMPORTED_MODULE_0__.createElement("span",{className:"c-red"},"\u8C37\u6B4C"),"\u3001",react__WEBPACK_IMPORTED_MODULE_0__.createElement("span",{className:"c-red"},"\u706B\u72D0"),"\u6D4F\u89C8\u5668\u5F00\u59CB\u8003\u8BD5\u3002")}),!1;d.open_phone_video_recording?window.location.href=`/classrooms/${d.coursesId}/exercise/${d.exerciseId}/users/${(v=(0,_utils_authority__WEBPACK_IMPORTED_MODULE_1__.eY)())==null?void 0:v.login}/check`:d.identity_verify&&d.current_status===2?window.location.href=`/classrooms/${d.coursesId}/exercise/${d.exerciseId}/users/${(e=(0,_utils_authority__WEBPACK_IMPORTED_MODULE_1__.eY)())==null?void 0:e.login}/check`:window.location.href=`/classrooms/${d.coursesId}/exercise/${d.exerciseId}/users/${(r=(0,_utils_authority__WEBPACK_IMPORTED_MODULE_1__.eY)())==null?void 0:r.login}`}else d.identity_verify&&d.current_status===2?window.location.href=`/classrooms/${d.coursesId}/exercise/${d.exerciseId}/users/${d.login}/check`:window.location.href=`/classrooms/${d.coursesId}/exercise/${d.exerciseId}/users/${d.login}`});var httpBuildQuery=function(d,v,e,r){if(console.log("param:",d),v=v||null,e=e||"&",r=r||null,!d)return"";var i=function(o){for(var h=new Array,u=0;u<o.length;u++)o[u]&&h.push(o[u]);return h},l=function(o){return encodeURIComponent(o).replace(/[!'()*]/g,escape)},c=function(o){return!isNaN(parseFloat(o))&&isFinite(o)},f=Object.keys(d).map(function(o){var h,u=o;if(typeof d[o]=="object"&&d[o]!==null)h=httpBuildQuery(d[o],null);else{v&&(u=c(u)?v+Number(u):u);var a=d[o];a=a===!0?"1":a,a=a===!1?"0":a,a=a===0?"0":a,a=a||"",h=u+"="+a}return h});return i(f).join(e).replace(/[!'()*]/g,escape)};const parseParamsStr=(d,v)=>{const e={},r=Object.assign(!0,d,{}),i=[];return Object.keys(r).sort().forEach(function(l){if(r[l]=r[l]===!0?"true":r[l],r[l]=r[l]===!1?"false":r[l],v==="GET"){if(r[l]!==null){if(typeof r[l]=="object"&&(!Array.isArray(r[l])||Array.isArray(r[l])&&!r[l].length))return;const c=r[l]===null||r[l]==="null"?"":r[l];i.push(`${l}=${typeof c=="string"||typeof c=="number"?decodeURIComponent(c):JSON.stringify(c)}`)}}else{const c=r[l]===null||r[l]==="null"?"":r[l];i.push(`${l}=${typeof c=="string"||typeof c=="number"?c:JSON.stringify(c)}`),r[l],e[l]=r[l]}}),i.join("&").trim()},educationList=[{name:"\u672C\u79D1",id:6},{name:"\u5927\u4E13",id:5},{name:"\u4E2D\u4E13",id:4},{name:"\u9AD8\u4E2D",id:3},{name:"\u521D\u4E2D",id:2},{name:"\u5C0F\u5B66",id:1},{name:"\u5176\u4ED6",id:9},{name:"\u7855\u58EB",id:7},{name:"\u535A\u58EB",id:8},{name:"\u9AD8\u4E2D",id:3},{name:"\u521D\u4E2D",id:2},{name:"\u5C0F\u5B66",id:1},{name:"\u5176\u4ED6",id:9},{name:"\u7855\u58EB",id:7},{name:"\u535A\u58EB",id:8}];function getTopLevelDomain(){let d=window.location.hostname;if(/^\d+\.\d+\.\d+\.\d+$/.test(d)||d==="localhost")return d;let v=d.split(".");return v.length>2&&/^[a-z]{2}$/.test(v[v.length-2])?v.slice(-3).join("."):v.slice(-2).join(".")}const setHeader=(d,v)=>{var e;try{const r=Date.now(),i=(0,uuid__WEBPACK_IMPORTED_MODULE_18__.Z)();let l="method="+((e=d.method)==null?void 0:e.toLocaleUpperCase())+"&ak="+getKey(_key__WEBPACK_IMPORTED_MODULE_19__.mi)+"&sk="+getKey(_key__WEBPACK_IMPORTED_MODULE_19__.hw)+"&time="+r;return d.headers["X-EDU-Type"]="pc",d.headers["X-EDU-Timestamp"]=r,d.headers["X-EDU-Signature"]=md5__WEBPACK_IMPORTED_MODULE_6___default()(window.btoa(l)),d.headers["Pc-Authorization"]=getCookie("_educoder_session"),d.headers["X-Request-Id"]=i,d}catch(r){console.log("error:",r,d,v)}},setThreeComponent=()=>{(function(d){XMLHttpRequest.prototype.open=function(v,e,r=!0){const i=setHeader({method:v,headers:{}});d.call(this,v,e,r);try{e.indexOf(getTopLevelDomain())>-1&&(this.setRequestHeader("X-EDU-Type","pc"),this.setRequestHeader("X-EDU-Timestamps",i.headers["X-EDU-Timestamp"]),this.setRequestHeader("X-EDU-Signatures",i.headers["X-EDU-Signature"]),this.setRequestHeader("Pc-Authorization",getCookie("_educoder_session")))}catch(l){}}})(XMLHttpRequest.prototype.open),function(d){window.fetch=function(v,e){var r;return e=e||{},(r=e.headers)!=null&&r["X-EDU-Timestamp"]||setHeader(e),d.apply(this,arguments).then(function(i){return i})}}(window.fetch)},parseUrl=d=>{const v=/(\w+)=([^\#&]*)/gi,e={};return d.replace(v,function(r,i,l){e[i]=decodeURI(l)}),e},messageInfo=(d,v)=>{const r={1:"\u5F53\u524D\u5B9E\u8DF5\u9879\u76EE\u6682\u672A\u53D1\u5E03\uFF0C\u8BF7\u8054\u7CFB\u672C\u8BFE\u5802\u6559\u5E08\u3002",2:"\u5F53\u524D\u5B9E\u8DF5\u9879\u76EE\u4E0D\u5B58\u5728\uFF0C\u8BF7\u8054\u7CFB\u672C\u8BFE\u5802\u6559\u5E08\u3002",3:"\u5F53\u524D\u5B9E\u8DF5\u9879\u76EE\u9762\u5411\u6307\u5B9A\u5355\u4F4D\u5F00\u653E\uFF0C\u8BF7\u8054\u7CFB\u672C\u8BFE\u5802\u6559\u5E08\u3002",4:`\u5F53\u524D\u5B9E\u8DF5\u9879\u76EE\u5C06\u4E8E${v}\u53D1\u5E03\uFF0C\u8BF7\u7B49\u5F85\u3002`}[d];antd__WEBPACK_IMPORTED_MODULE_14__.ZP.warning(r)},base64ToBlob=(d,v)=>{var e;const r=window.atob(d),i=r.length,l=new Uint8Array(i);for(let c=0;c<i;++c)l[c]=r.charCodeAt(c);return new Blob([l],{type:_contentType__WEBPACK_IMPORTED_MODULE_4__.F[(e=v.split("."))==null?void 0:e[1]]||"application/octet-stream"})},downloadFile=(d,v,e)=>{const r=base64ToBlob(v,e);if(window.navigator.msSaveOrOpenBlob)navigator.msSaveBlob(r,d);else{const i=document.createElement("a");i.href=window.URL.createObjectURL(r),i.download=d,document.body.appendChild(i);const l=document.createEvent("MouseEvents");l.initEvent("click",!1,!1),i.dispatchEvent(l),document.body.removeChild(i)}},trackEvent=d=>{var v;if(d.length)try{window._czc.push(["_trackEvent",...d]),window==null||window.gtag("event",d[1],{event_category:d[0],event_label:d[2]||"",value:d[3]||"",user_id:((v=(0,_utils_authority__WEBPACK_IMPORTED_MODULE_1__.eY)())==null?void 0:v.login)||""})}catch(e){console.log("trackEvent:err:",e)}},trackEventCustom=d=>{if(d.length)try{window._czc.push(["_setCustomVar",...d])}catch(v){console.log("trackEvent:err:",v)}},onPreviewImage=d=>{const v=(i,l)=>{if(i.localName===l)return i;for(let c=0,f=i;f=f.parentNode;c++){if(f.localName===l)return f;if(f==document.documentElement)return!1}},e=d.target,r=v(e,"a");if(!(r!=null&&r.href)&&e.tagName.toUpperCase()==="IMG"){let i=e.src||e.getAttribute("src");i&&i.indexOf("/images/avatars/User")===-1&&(d.stopPropagation(),d.preventDefault(),_components_mediator__WEBPACK_IMPORTED_MODULE_8__.Z.publish("preview-image",i))}},getCategoryName=(d,v)=>{var e,r,i,l;if(d&&d!=""){let c=(e=d==null?void 0:d.filter(f=>f.type===location.pathname.split("/")[3]))==null?void 0:e[0];return v?(l=(i=(r=c==null?void 0:c.second_category)==null?void 0:r.filter(f=>f.category_id==v))==null?void 0:i[0])==null?void 0:l.category_name:c==null?void 0:c.name}return null},bindPhone=d=>{const v=antd__WEBPACK_IMPORTED_MODULE_15__.default.confirm({title:"\u5B8C\u5584\u624B\u673A\u53F7\u7801",content:"\u6309\u7167\u6709\u5173\u653F\u7B56\u89C4\u5B9A\uFF0C\u7279\u6B8A\u5B9E\u9A8C\u9700\u8981\u5148\u7ED1\u5B9A\u624B\u673A\u53F7\u624D\u80FD\u4F7F\u7528\uFF0C\u8BF7\u5148\u7ED1\u5B9A\u624B\u673A\u53F7\u7801",okText:"\u7ACB\u5373\u7ED1\u5B9A",cancelText:"\u53D6\u6D88",centered:!0,onOk:()=>{location.href="/account/secure"},onCancel:()=>{v.destroy(),d!=null&&d.onCancel&&d.onCancel()}})},copyTextFuc=(d="",v=!1)=>{const e=document.createElement("textarea");e.value=d,document.body.appendChild(e),e.select(),document.execCommand("Copy"),v||antd__WEBPACK_IMPORTED_MODULE_14__.ZP.success("\u590D\u5236\u6210\u529F"),document.body.removeChild(e)},getJsonFromUrl=d=>{if(d||(d=window.location.search),!d)return{};let v=d.substring(1),e={};return v.split("&").forEach(function(r){let i=r.split("=");e[i[0]]=decodeURIComponent(i[1])}),e},arrTrans=(d,v)=>{if(!v)return null;const e=[];return v.forEach((r,i)=>{const l=Math.floor(i/d);e[l]||(e[l]=[]),e[l].push(r)}),e},setDocumentTitle=d=>{checkIsClientExam()?document.title="\u5934\u6B4C\u8003\u8BD5\u7CFB\u7EDF":d!==""&&d&&(document.title=d||(document.domain.indexOf(".educoder.net")>-1?"\u5934\u6B4C\u5B9E\u8DF5\u6559\u5B66\u5E73\u53F0":""))},checkIsClientExam=()=>{var d;return(d=window==null?void 0:window.localStorage)==null?void 0:d.isClientExam},localSort={setItem:(d,v,e)=>{const r=d,i=localStorage.getItem(r),l=i!==null&&i!=="[object Object]"?JSON.parse(i):{};l[e]=v,localStorage.setItem(r,JSON.stringify(l))},getItem:(d,v)=>{const e=d,r=localStorage.getItem(e);return(r!==null&&r!=="[object Object]"?JSON.parse(r):{})[v]}},ImgSrcConvert=d=>d!=null&&d.startsWith("http")?d:_env__WEBPACK_IMPORTED_MODULE_7__.Z.IMG_SERVER+d,compareVersion=d=>{const v=getVersion(),e=d.split("."),r=v.split("."),i=Math.max(e.length,r.length);for(;e.length<i;)e.push("0");for(;r.length<i;)r.push("0");for(let l=0;l<i;l++){const c=parseInt(e[l]),f=parseInt(r[l]);if(c>f)return 1;if(c<f)return-1}return 0},getImageUrl=(d,v)=>{d=`${d}${v?","+v:""}`;const e=crypto_js__WEBPACK_IMPORTED_MODULE_11___default().enc.Utf8.parse(window.atob(window.atob(_key__WEBPACK_IMPORTED_MODULE_19__.Bn)).substring(0,16)),r=crypto_js__WEBPACK_IMPORTED_MODULE_11___default().AES.encrypt(d||"",e,{iv:e,mode:crypto_js__WEBPACK_IMPORTED_MODULE_11___default().mode.CBC});return window.btoa(r.toString())},getVersion=()=>{const v=navigator.userAgent.toLowerCase().match(/version\/[\d.]+/gi);return v&&v[0].replace(/version\//,"")},isLocalApp=()=>navigator.userAgent.indexOf("ExerciseApp")>-1;function randomArray(d,v){let e=d.length,r,i;v=v||1;let l=function(){var c=Math.sin(v++)*1e3;return c-Math.floor(c)};for(;e!==0;)i=Math.floor(l()*e),e-=1,r=d[e],d[e]=d[i],d[i]=r;return d}function pointerEvents(d){const v=document.getElementsByTagName("iframe");for(let r=0;r<v.length;r++)v[r].style["pointer-events"]=d;const e=document.getElementsByTagName("canvas");for(let r=0;r<e.length;r++)e[r].style["pointer-events"]=d}const toDataUrl=d=>new Promise((v,e)=>{var r=new XMLHttpRequest;r.withCredentials=!0,r.onload=function(){var i=new FileReader;i.onloadend=function(){v(i.result)},i.readAsDataURL(r.response)},r.open("GET",d),r.responseType="blob",r.send()}),vtrsKey=(_b=(_a=location==null?void 0:location.pathname)==null?void 0:_a.split("/"))==null?void 0:_b[1];function scrollToTop(){window.scrollTo({left:0,top:0,behavior:"smooth"})}function domScrollToTop(d){var v;(v=document.querySelector(d))==null||v.scrollTo({left:0,top:0,behavior:"smooth"})}function dealUploadChange(d){var v,e,r,i,l;const c=(v=d.fileList)==null?void 0:v.map(f=>{var o,h;return __spreadProps(__spreadValues({},f),{status:typeof(f==null?void 0:f.response)=="string"||((o=f==null?void 0:f.response)==null?void 0:o.status)===-1?"error":f.status,response:typeof(f==null?void 0:f.response)=="string"?f==null?void 0:f.response:f!=null&&f.response&&(f==null?void 0:f.response.status)===-1?(h=f==null?void 0:f.response)==null?void 0:h.message:f==null?void 0:f.response})});return((r=(e=d.file)==null?void 0:e.response)==null?void 0:r.status)===-1&&(antd__WEBPACK_IMPORTED_MODULE_14__.ZP.destroy(),antd__WEBPACK_IMPORTED_MODULE_14__.ZP.warning((l=(i=d.file)==null?void 0:i.response)==null?void 0:l.message)),c}function cutFileName(d="",v){if(!d)return"";const e=d.lastIndexOf(".");let r=[d,""];if(e!==-1&&e!==d.length-1){const i=d.substring(0,e),l=d.substring(e+1);r=[i,l]}return r[0].length>v?r[0].slice(0,v)+"..."+r[1]:d}function cutName(d="",v,e="--"){return d?(d==null?void 0:d.length)>=v?(d==null?void 0:d.slice(0,v))+"...":d:e}function timeContrast(d){return d?moment__WEBPACK_IMPORTED_MODULE_12___default()().isBefore(moment__WEBPACK_IMPORTED_MODULE_12___default()(d)):!0}function showTotal(d){return react__WEBPACK_IMPORTED_MODULE_0__.createElement("span",{className:"font14 c-grey-333"},"\u5171",react__WEBPACK_IMPORTED_MODULE_0__.createElement("span",{className:"c-light-primary"},"\xA0",d,"\xA0"),"\u6761\u6570\u636E")}const formatRandomPaperData=d=>{const v={1:"\u4E00",2:"\u4E8C",3:"\u4E09",4:"\u56DB",5:"\u4E94",6:"\u516D",7:"\u4E03"};if(!d)return;const{exam:e,single_questions:r,multiple_questions:i,judgement_questions:l,program_questions:c,completion_questions:f,subjective_questions:o,practical_questions:h,combination_questions:u,bprogram_questions:a}=d||{},x=[__spreadValues({type:"SINGLE",name:"\u5355\u9009\u9898"},r),__spreadValues({type:"MULTIPLE",name:"\u591A\u9009\u9898"},i),__spreadValues({type:"COMPLETION",name:"\u586B\u7A7A\u9898"},f),__spreadValues({type:"JUDGMENT",name:"\u5224\u65AD\u9898"},l),__spreadValues({type:"SUBJECTIVE",name:"\u7B80\u7B54\u9898"},o),__spreadValues({type:"PROGRAM",name:"\u7F16\u7A0B\u9898"},c),__spreadValues({type:"BPROGRAM",name:"\u7A0B\u5E8F\u586B\u7A7A\u9898"},a),__spreadValues({type:"PRACTICAL",name:"\u5B9E\u8BAD\u9898"},h),__spreadValues({type:"COMBINATION",name:"\u7EC4\u5408\u9898"},u)],p=[];let y=0,_=0;const b=x.filter(A=>A.questions_count>0).map((A,k)=>{var R;return(R=A.questions)==null||R.forEach(C=>{p.push(C.id),y=y+C.score,_=_+1}),__spreadValues(__spreadValues({},A),{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,C)=>{p==null||p.map((D,M)=>{R.type===D.type&&y.push(D)})});const _=[];let b=0,A=0;const k=y.filter(R=>R.questions_count>0).map((R,C)=>{var D;return(D=R.questions)==null||D.forEach(M=>{_.push(M.id),b=b+M.score,A=A+1}),__spreadValues(__spreadValues({},R),{number:e[C+1]})});return{all_questions_count:A,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)}},4787:function(d,v,e){"use strict";e.d(v,{t:function(){return r}});const r=l=>{var c=/^(\d{1,2}|1\d\d|2[0-4]\d|25[0-5])\.(\d{1,2}|1\d\d|2[0-4]\d|25[0-5])\.(\d{1,2}|1\d\d|2[0-4]\d|25[0-5])\.(\d{1,2}|1\d\d|2[0-4]\d|25[0-5])$/;return c.test(l)},i=l=>{var c=/^(\d{1,2}|1\d\d|2[0-4]\d|25[0-5])\.(\d{1,2}|1\d\d|2[0-4]\d|25[0-5])\.(\d{1,2}|1\d\d|2[0-4]\d|25[0-5])\.$/;return c.test(l)}},91231:function(d,v,e){"use strict";e.d(v,{Il:function(){return f},Ov:function(){return o},T$:function(){return u}});var r=e(38127),i=e(59301),l=e(35338),c=["element"],f=i.createContext({});function o(){return i.useContext(f)}function h(){var y=(0,l.TH)(),_=o(),b=_.clientRoutes,A=(0,l.fp)(b,y.pathname);return A||[]}function u(){var y,_=h().slice(-1),b=((y=_[0])===null||y===void 0?void 0:y.route)||{},A=b.element,k=(0,r.Z)(b,c);return k}function a(){var y=h(),_=o(),b=_.serverLoaderData,A=_.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),C=R[0],D=R[1];return React.useEffect(function(){window.__UMI_LOADER_DATA__||Promise.all(y.filter(function(M){return M.route.hasServerLoader}).map(function(M){return new Promise(function(B){fetchServerLoader({id:M.route.id,basename:A,cb:B})})})).then(function(M){if(M.length){var B={};M.forEach(function(N){Object.assign(B,N)}),D(B)}})},[]),{data:C}}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:A,quitOnNullishReturnValue:k,actionFn:R}=h,C=i.useRef(!1),D=i.useRef(null),[M,B]=(0,r.Z)(!1),N=function(){y==null||y.apply(void 0,arguments)};i.useEffect(()=>{let W=null;return _&&(W=setTimeout(()=>{var se;(se=D.current)===null||se===void 0||se.focus()})),()=>{W&&clearTimeout(W)}},[]);const K=W=>{f(W)&&(B(!0),W.then(function(){B(!1,!0),N.apply(void 0,arguments),C.current=!1},se=>{if(B(!1,!0),C.current=!1,!(A!=null&&A()))return Promise.reject(se)}))},G=W=>{if(C.current)return;if(C.current=!0,!R){N();return}let se;if(b){if(se=R(W),k&&!f(se)){C.current=!1,N(W);return}}else if(R.length)se=R(y),C.current=!1;else if(se=R(),!se){N();return}K(se)};return i.createElement(l.ZP,Object.assign({},(0,c.n)(u),{onClick:G,loading:M,prefixCls:x},p,{ref:D}),a)};v.Z=o},53487:function(d,v,e){"use strict";e.d(v,{Z:function(){return o},i:function(){return f}});var r=e(18929),i=e(59301),l=e(92736),c=e(36355);function f(h){return function(a){return i.createElement(l.ZP,{theme:{token:{motion:!1,zIndexPopupBase:0}}},i.createElement(h,Object.assign({},a)))}}function o(h,u,a,x){function p(y){const{prefixCls:_,style:b}=y,A=i.useRef(null),[k,R]=i.useState(0),[C,D]=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 W=new ResizeObserver(ie=>{const le=ie[0].target;R(le.offsetHeight+8),D(le.offsetWidth)}),se=setInterval(()=>{var ie;const le=a?`.${a(K)}`:`.${K}-dropdown`,q=(ie=A.current)===null||ie===void 0?void 0:ie.querySelector(le);q&&(clearInterval(se),W.observe(q))},10);return()=>{clearInterval(se),W.disconnect()}}},[]);let G=Object.assign(Object.assign({},y),{style:Object.assign(Object.assign({},b),{margin:0}),open:M,visible:M,getPopupContainer:()=>A.current});return x&&(G=x(G)),i.createElement("div",{ref:A,style:{paddingBottom:k,position:"relative",minWidth:C}},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(95190),i=e(33166);const l=i.i.map(h=>`${h}-inverse`),c=["success","processing","error","default","warning"];function f(h){return(arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0)?[].concat((0,r.Z)(l),(0,r.Z)(i.i)).includes(h):i.i.includes(h)}function o(h){return c.includes(h)}},47729:function(d,v,e){"use strict";e.d(v,{Z:function(){return c}});var r=e(99267),i=e(59301);function l(f,o,h){return typeof f=="boolean"?f:o===void 0?!!h:o!==!1&&o!==null}function c(f,o,h){let u=arguments.length>3&&arguments[3]!==void 0?arguments[3]:i.createElement(r.Z,null),a=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!1;if(!l(f,o,a))return[!1,null];const p=typeof o=="boolean"||o===void 0||o===null?u:o;return[!0,h?h(p):p]}},62892:function(d,v,e){"use strict";e.d(v,{m:function(){return h}});const r=()=>({height:0,opacity:0}),i=u=>{const{scrollHeight:a}=u;return{height:a,opacity:1}},l=u=>({height:u?u.offsetHeight:0}),c=(u,a)=>(a==null?void 0:a.deadline)===!0||a.propertyName==="height",f=function(){return{motionName:`${arguments.length>0&&arguments[0]!==void 0?arguments[0]:"ant"}-motion-collapse`,onAppearStart:r,onEnterStart:r,onAppearActive:i,onEnterActive:i,onLeaveStart:l,onLeaveActive:r,onAppearEnd:c,onEnterEnd:c,onLeaveEnd:c,motionDeadline:500}},o=null,h=(u,a,x)=>x!==void 0?x:`${u}-${a}`;v.Z=f},79676:function(d,v,e){"use strict";e.d(v,{Z:function(){return o}});var r=e(19447);function i(h,u,a,x){if(x===!1)return{adjustX:!1,adjustY:!1};const p=x&&typeof x=="object"?x:{},y={};switch(h){case"top":case"bottom":y.shiftX=u.dropdownArrowOffset*2+a;break;case"left":case"right":y.shiftY=u.dropdownArrowOffsetVertical*2+a;break}const _=Object.assign(Object.assign({},y),p);return _.shiftX||(_.adjustX=!0),_.shiftY||(_.adjustY=!0),_}const l={left:{points:["cr","cl"]},right:{points:["cl","cr"]},top:{points:["bc","tc"]},bottom:{points:["tc","bc"]},topLeft:{points:["bl","tl"]},leftTop:{points:["tr","tl"]},topRight:{points:["br","tr"]},rightTop:{points:["tl","tr"]},bottomRight:{points:["tr","br"]},rightBottom:{points:["bl","br"]},bottomLeft:{points:["tl","bl"]},leftBottom:{points:["br","bl"]}},c={topLeft:{points:["bl","tc"]},leftTop:{points:["tr","cl"]},topRight:{points:["br","tc"]},rightTop:{points:["tl","cr"]},bottomRight:{points:["tr","bc"]},rightBottom:{points:["bl","cr"]},bottomLeft:{points:["tl","bc"]},leftBottom:{points:["br","cl"]}},f=new Set(["topLeft","topRight","bottomLeft","bottomRight","leftTop","leftBottom","rightTop","rightBottom"]);function o(h){const{arrowWidth:u,autoAdjustOverflow:a,arrowPointAtCenter:x,offset:p,borderRadius:y,visibleFirst:_}=h,b=u/2,A={};return Object.keys(l).forEach(k=>{const R=x&&c[k]||l[k],C=Object.assign(Object.assign({},R),{offset:[0,0]});switch(A[k]=C,f.has(k)&&(C.autoArrow=!1),k){case"top":case"topLeft":case"topRight":C.offset[1]=-b-p;break;case"bottom":case"bottomLeft":case"bottomRight":C.offset[1]=b+p;break;case"left":case"leftTop":case"leftBottom":C.offset[0]=-b-p;break;case"right":case"rightTop":case"rightBottom":C.offset[0]=b+p;break}const D=(0,r.fS)({contentRadius:y,limitVerticalRadius:!0});if(x)switch(k){case"topLeft":case"bottomLeft":C.offset[0]=-D.dropdownArrowOffset-b;break;case"topRight":case"bottomRight":C.offset[0]=D.dropdownArrowOffset+b;break;case"leftTop":case"rightTop":C.offset[1]=-D.dropdownArrowOffset-b;break;case"leftBottom":case"rightBottom":C.offset[1]=D.dropdownArrowOffset+b;break}C.overflow=i(k,D,u,a),_&&(C.htmlRegion="visibleFirst")}),A}},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`,A=`screen${_}`;if(!(a[b]<=a[A]))throw new Error(`${b}<=${A} fails : !(${a[b]}<=${a[A]})`);if(y<x.length-1){const k=`screen${_}Max`;if(!(a[A]<=a[k]))throw new Error(`${A}<=${k} fails : !(${a[A]}<=${a[k]})`);const C=`screen${x[y+1].toUpperCase()}Min`;if(!(a[k]<=a[C]))throw new Error(`${k}<=${C} fails : !(${a[k]}<=${a[C]})`)}}),u};function o(){const[,u]=(0,i.Z)(),a=c(f(u));return r.useMemo(()=>{const x=new Map;let p=-1,y={};return{matchHandlers:{},dispatch(_){return y=_,x.forEach(b=>b(y)),x.size>=1},subscribe(_){return x.size||this.register(),p+=1,x.set(p,_),_(y),p},unsubscribe(_){x.delete(_),x.size||this.unregister()},unregister(){Object.keys(a).forEach(_=>{const b=a[_],A=this.matchHandlers[b];A==null||A.mql.removeListener(A==null?void 0:A.listener)}),x.clear()},register(){Object.keys(a).forEach(_=>{const b=a[_],A=R=>{let{matches:C}=R;this.dispatch(Object.assign(Object.assign({},y),{[_]:C}))},k=window.matchMedia(b);k.addListener(A),this.matchHandlers[b]={mql:k,listener:A},A(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 se}});var r=e(92310),i=e.n(r),l=e(8654),c=e(29194),f=e(59301),o=e(36355),h=e(92343),u=e(83116);const a=ie=>{const{componentCls:le,colorPrimary:q}=ie;return{[le]:{position:"absolute",background:"transparent",pointerEvents:"none",boxSizing:"border-box",color:`var(--wave-color, ${q})`,boxShadow:"0 0 0 0 currentcolor",opacity:.2,"&.wave-motion-appear":{transition:[`box-shadow 0.4s ${ie.motionEaseOutCirc}`,`opacity 2s ${ie.motionEaseOutCirc}`].join(","),"&-active":{boxShadow:"0 0 0 6px currentcolor",opacity:0},"&.wave-quick":{transition:[`box-shadow 0.3s ${ie.motionEaseInOut}`,`opacity 0.35s ${ie.motionEaseInOut}`].join(",")}}}}};var x=(0,u.Z)("Wave",ie=>[a(ie)]),p=e(70425),y=e(16089),_=e(77900),b=e(1585);function A(ie){const le=(ie||"").match(/rgba?\((\d*), (\d*), (\d*)(, [\d.]*)?\)/);return le&&le[1]&&le[2]&&le[3]?!(le[1]===le[2]&&le[2]===le[3]):!0}function k(ie){return ie&&ie!=="#fff"&&ie!=="#ffffff"&&ie!=="rgb(255, 255, 255)"&&ie!=="rgba(255, 255, 255, 1)"&&A(ie)&&!/rgba\((?:\d*, ){3}0\)/.test(ie)&&ie!=="transparent"}function R(ie){const{borderTopColor:le,borderColor:q,backgroundColor:J}=getComputedStyle(ie);return k(le)?le:k(q)?q:k(J)?J:null}var C=e(4572);function D(ie){return Number.isNaN(ie)?0:ie}const M=ie=>{const{className:le,target:q,component:J}=ie,V=f.useRef(null),[ue,ee]=f.useState(null),[Q,ce]=f.useState([]),[z,$]=f.useState(0),[ae,_e]=f.useState(0),[De,ke]=f.useState(0),[He,$e]=f.useState(0),[Bt,gt]=f.useState(!1),Dt={left:z,top:ae,width:De,height:He,borderRadius:Q.map(cr=>`${cr}px`).join(" ")};ue&&(Dt["--wave-color"]=ue);function nr(){const cr=getComputedStyle(q);ee(R(q));const Ge=cr.position==="static",{borderLeftWidth:Tt,borderTopWidth:Ut}=cr;$(Ge?q.offsetLeft:D(-parseFloat(Tt))),_e(Ge?q.offsetTop:D(-parseFloat(Ut))),ke(q.offsetWidth),$e(q.offsetHeight);const{borderTopLeftRadius:at,borderTopRightRadius:bt,borderBottomLeftRadius:dt,borderBottomRightRadius:tt}=cr;ce([at,bt,tt,dt].map(Ue=>D(parseFloat(Ue))))}if(f.useEffect(()=>{if(q){const cr=(0,y.Z)(()=>{nr(),gt(!0)});let Ge;return typeof ResizeObserver!="undefined"&&(Ge=new ResizeObserver(nr),Ge.observe(q)),()=>{y.Z.cancel(cr),Ge==null||Ge.disconnect()}}},[]),!Bt)return null;const Xt=(J==="Checkbox"||J==="Radio")&&(q==null?void 0:q.classList.contains(C.A));return f.createElement(_.default,{visible:!0,motionAppear:!0,motionName:"wave-motion",motionDeadline:5e3,onAppearEnd:(cr,Ge)=>{var Tt;if(Ge.deadline||Ge.propertyName==="opacity"){const Ut=(Tt=V.current)===null||Tt===void 0?void 0:Tt.parentElement;(0,b.v)(Ut).then(()=>{Ut==null||Ut.remove()})}return!1}},cr=>{let{className:Ge}=cr;return f.createElement("div",{ref:V,className:i()(le,{"wave-quick":Xt},Ge),style:Dt})})};var N=(ie,le)=>{var q;const{component:J}=le;if(J==="Checkbox"&&!(!((q=ie.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",ie==null||ie.insertBefore(V,ie==null?void 0:ie.firstChild),(0,b.s)(f.createElement(M,Object.assign({},le,{target:ie})),V)},K=e(88088);function G(ie,le,q){const{wave:J}=f.useContext(o.E_),[,V,ue]=(0,K.Z)(),ee=(0,p.useEvent)(z=>{const $=ie.current;if(J!=null&&J.disabled||!$)return;const ae=$.querySelector(`.${C.A}`)||$,{showEffect:_e}=J||{};(_e||N)(ae,{className:le,token:V,component:q,event:z,hashId:ue})}),Q=f.useRef();return z=>{y.Z.cancel(Q.current),Q.current=(0,y.Z)(()=>{ee(z)})}}var se=ie=>{const{children:le,disabled:q,component:J}=ie,{getPrefixCls:V}=(0,f.useContext)(o.E_),ue=(0,f.useRef)(null),ee=V("wave"),[,Q]=x(ee),ce=G(ue,i()(ee,Q),J);if(f.useEffect(()=>{const $=ue.current;if(!$||$.nodeType!==1||q)return;const ae=_e=>{!(0,c.Z)(_e.target)||!$.getAttribute||$.getAttribute("disabled")||$.disabled||$.className.includes("disabled")||$.className.includes("-leave")||ce(_e)};return $.addEventListener("click",ae,!0),()=>{$.removeEventListener("click",ae,!0)}},[q]),!f.isValidElement(le))return le!=null?le:null;const z=(0,l.Yr)(le)?(0,l.sQ)(le.ref,ue):ue;return(0,h.Tm)(le,{ref:z})}},4572:function(d,v,e){"use strict";e.d(v,{A:function(){return r}});const r="ant-wave-target"},67797:function(d,v,e){"use strict";e.d(v,{n:function(){return kt},Z:function(){return Wt}});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(Fe,fe){var pe={};for(var Pt in Fe)Object.prototype.hasOwnProperty.call(Fe,Pt)&&fe.indexOf(Pt)<0&&(pe[Pt]=Fe[Pt]);if(Fe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ie=0,Pt=Object.getOwnPropertySymbols(Fe);Ie<Pt.length;Ie++)fe.indexOf(Pt[Ie])<0&&Object.prototype.propertyIsEnumerable.call(Fe,Pt[Ie])&&(pe[Pt[Ie]]=Fe[Pt[Ie]]);return pe};const _=r.createContext(void 0);var A=Fe=>{const{getPrefixCls:fe,direction:pe}=r.useContext(h.E_),{prefixCls:Pt,size:Ie,className:ct}=Fe,zt=y(Fe,["prefixCls","size","className"]),wt=fe("btn-group",Pt),[,,Oe]=(0,p.Z)();let xt="";switch(Ie){case"large":xt="lg";break;case"small":xt="sm";break;case"middle":case void 0:break;default:}const xe=l()(wt,{[`${wt}-${xt}`]:xt,[`${wt}-rtl`]:pe==="rtl"},ct,Oe);return r.createElement(_.Provider,{value:Ie},r.createElement("div",Object.assign({},zt,{className:xe})))},k=e(92343);const R=/^[\u4e00-\u9fa5]{2}$/,C=R.test.bind(R);function D(Fe){return typeof Fe=="string"}function M(Fe){return Fe==="text"||Fe==="link"}function B(Fe,fe){if(Fe==null)return;const pe=fe?" ":"";return typeof Fe!="string"&&typeof Fe!="number"&&D(Fe.type)&&C(Fe.props.children)?(0,k.Tm)(Fe,{children:Fe.props.children.split("").join(pe)}):D(Fe)?C(Fe)?r.createElement("span",null,Fe.split("").join(pe)):r.createElement("span",null,Fe):(0,k.M2)(Fe)?r.createElement("span",null,Fe):Fe}function N(Fe,fe){let pe=!1;const Pt=[];return r.Children.forEach(Fe,Ie=>{const ct=typeof Ie,zt=ct==="string"||ct==="number";if(pe&&zt){const wt=Pt.length-1,Oe=Pt[wt];Pt[wt]=`${Oe}${Ie}`}else Pt.push(Ie);pe=zt}),r.Children.map(Pt,Ie=>B(Ie,fe))}const K=null,G=null,W=null;var ie=(0,r.forwardRef)((Fe,fe)=>{const{className:pe,style:Pt,children:Ie,prefixCls:ct}=Fe,zt=l()(`${ct}-icon`,pe);return r.createElement("span",{ref:fe,className:zt,style:Pt},Ie)}),le=e(58617),q=e(77900);const J=(0,r.forwardRef)((Fe,fe)=>{let{prefixCls:pe,className:Pt,style:Ie,iconClassName:ct}=Fe;const zt=l()(`${pe}-loading-icon`,Pt);return r.createElement(ie,{prefixCls:pe,className:zt,style:Ie,ref:fe},r.createElement(le.Z,{className:ct}))}),V=()=>({width:0,opacity:0,transform:"scale(0)"}),ue=Fe=>({width:Fe.scrollWidth,opacity:1,transform:"scale(1)"});var Q=Fe=>{const{prefixCls:fe,loading:pe,existIcon:Pt,className:Ie,style:ct}=Fe,zt=!!pe;return Pt?r.createElement(J,{prefixCls:fe,className:Ie,style:ct}):r.createElement(q.default,{visible:zt,motionName:`${fe}-loading-icon-motion`,removeOnLeave:!0,onAppearStart:V,onAppearActive:ue,onEnterStart:V,onEnterActive:ue,onLeaveStart:ue,onLeaveActive:V},(wt,Oe)=>{let{className:xt,style:xe}=wt;return r.createElement(J,{prefixCls:fe,className:Ie,style:Object.assign(Object.assign({},ct),xe),ref:Oe,iconClassName:xt})})},ce=e(17313),z=e(37613),$=e(83116);const ae=(Fe,fe)=>({[`> span, > ${Fe}`]:{"&:not(:last-child)":{[`&, & > ${Fe}`]:{"&:not(:disabled)":{borderInlineEndColor:fe}}},"&:not(:first-child)":{[`&, & > ${Fe}`]:{"&:not(:disabled)":{borderInlineStartColor:fe}}}}});var De=Fe=>{const{componentCls:fe,fontSize:pe,lineWidth:Pt,groupBorderColor:Ie,colorErrorHover:ct}=Fe;return{[`${fe}-group`]:[{position:"relative",display:"inline-flex",[`> span, > ${fe}`]:{"&:not(:last-child)":{[`&, & > ${fe}`]:{borderStartEndRadius:0,borderEndEndRadius:0}},"&:not(:first-child)":{marginInlineStart:-Pt,[`&, & > ${fe}`]:{borderStartStartRadius:0,borderEndStartRadius:0}}},[fe]:{position:"relative",zIndex:1,"&:hover,\n &:focus,\n &:active":{zIndex:2},"&[disabled]":{zIndex:0}},[`${fe}-icon-only`]:{fontSize:pe}},ae(`${fe}-primary`,Ie),ae(`${fe}-danger`,ct)]}};const ke=Fe=>{const{componentCls:fe,iconCls:pe,fontWeight:Pt}=Fe;return{[fe]:{outline:"none",position:"relative",display:"inline-block",fontWeight:Pt,whiteSpace:"nowrap",textAlign:"center",backgroundImage:"none",backgroundColor:"transparent",border:`${Fe.lineWidth}px ${Fe.lineType} transparent`,cursor:"pointer",transition:`all ${Fe.motionDurationMid} ${Fe.motionEaseInOut}`,userSelect:"none",touchAction:"manipulation",lineHeight:Fe.lineHeight,color:Fe.colorText,"&:disabled > *":{pointerEvents:"none"},"> span":{display:"inline-block"},[`${fe}-icon`]:{lineHeight:0},[`> ${pe} + span, > span + ${pe}`]:{marginInlineStart:Fe.marginXS},[`&:not(${fe}-icon-only) > ${fe}-icon`]:{[`&${fe}-loading-icon, &:not(:last-child)`]:{marginInlineEnd:Fe.marginXS}},"> a":{color:"currentColor"},"&:not(:disabled)":Object.assign({},(0,ce.Qy)(Fe)),[`&-icon-only${fe}-compact-item`]:{flex:"none"},[`&-compact-item${fe}-primary`]:{[`&:not([disabled]) + ${fe}-compact-item${fe}-primary:not([disabled])`]:{position:"relative","&:before":{position:"absolute",top:-Fe.lineWidth,insetInlineStart:-Fe.lineWidth,display:"inline-block",width:Fe.lineWidth,height:`calc(100% + ${Fe.lineWidth*2}px)`,backgroundColor:Fe.colorPrimaryHover,content:'""'}}},"&-compact-vertical-item":{[`&${fe}-primary`]:{[`&:not([disabled]) + ${fe}-compact-vertical-item${fe}-primary:not([disabled])`]:{position:"relative","&:before":{position:"absolute",top:-Fe.lineWidth,insetInlineStart:-Fe.lineWidth,display:"inline-block",width:`calc(100% + ${Fe.lineWidth*2}px)`,height:Fe.lineWidth,backgroundColor:Fe.colorPrimaryHover,content:'""'}}}}}}},He=(Fe,fe,pe)=>({[`&:not(:disabled):not(${Fe}-disabled)`]:{"&:hover":fe,"&:active":pe}}),$e=Fe=>({minWidth:Fe.controlHeight,paddingInlineStart:0,paddingInlineEnd:0,borderRadius:"50%"}),Bt=Fe=>({borderRadius:Fe.controlHeight,paddingInlineStart:Fe.controlHeight/2,paddingInlineEnd:Fe.controlHeight/2}),gt=Fe=>({cursor:"not-allowed",borderColor:Fe.borderColorDisabled,color:Fe.colorTextDisabled,backgroundColor:Fe.colorBgContainerDisabled,boxShadow:"none"}),Dt=(Fe,fe,pe,Pt,Ie,ct,zt,wt)=>({[`&${Fe}-background-ghost`]:Object.assign(Object.assign({color:pe||void 0,backgroundColor:fe,borderColor:Pt||void 0,boxShadow:"none"},He(Fe,Object.assign({backgroundColor:fe},zt),Object.assign({backgroundColor:fe},wt))),{"&:disabled":{cursor:"not-allowed",color:Ie||void 0,borderColor:ct||void 0}})}),nr=Fe=>({[`&:disabled, &${Fe.componentCls}-disabled`]:Object.assign({},gt(Fe))}),Xt=Fe=>Object.assign({},nr(Fe)),cr=Fe=>({[`&:disabled, &${Fe.componentCls}-disabled`]:{cursor:"not-allowed",color:Fe.colorTextDisabled}}),Ge=Fe=>Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},Xt(Fe)),{backgroundColor:Fe.defaultBg,borderColor:Fe.defaultBorderColor,color:Fe.defaultColor,boxShadow:Fe.defaultShadow}),He(Fe.componentCls,{color:Fe.colorPrimaryHover,borderColor:Fe.colorPrimaryHover},{color:Fe.colorPrimaryActive,borderColor:Fe.colorPrimaryActive})),Dt(Fe.componentCls,Fe.ghostBg,Fe.defaultGhostColor,Fe.defaultGhostBorderColor,Fe.colorTextDisabled,Fe.colorBorder)),{[`&${Fe.componentCls}-dangerous`]:Object.assign(Object.assign(Object.assign({color:Fe.colorError,borderColor:Fe.colorError},He(Fe.componentCls,{color:Fe.colorErrorHover,borderColor:Fe.colorErrorBorderHover},{color:Fe.colorErrorActive,borderColor:Fe.colorErrorActive})),Dt(Fe.componentCls,Fe.ghostBg,Fe.colorError,Fe.colorError,Fe.colorTextDisabled,Fe.colorBorder)),nr(Fe))}),Tt=Fe=>Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},Xt(Fe)),{color:Fe.primaryColor,backgroundColor:Fe.colorPrimary,boxShadow:Fe.primaryShadow}),He(Fe.componentCls,{color:Fe.colorTextLightSolid,backgroundColor:Fe.colorPrimaryHover},{color:Fe.colorTextLightSolid,backgroundColor:Fe.colorPrimaryActive})),Dt(Fe.componentCls,Fe.ghostBg,Fe.colorPrimary,Fe.colorPrimary,Fe.colorTextDisabled,Fe.colorBorder,{color:Fe.colorPrimaryHover,borderColor:Fe.colorPrimaryHover},{color:Fe.colorPrimaryActive,borderColor:Fe.colorPrimaryActive})),{[`&${Fe.componentCls}-dangerous`]:Object.assign(Object.assign(Object.assign({backgroundColor:Fe.colorError,boxShadow:Fe.dangerShadow,color:Fe.dangerColor},He(Fe.componentCls,{backgroundColor:Fe.colorErrorHover},{backgroundColor:Fe.colorErrorActive})),Dt(Fe.componentCls,Fe.ghostBg,Fe.colorError,Fe.colorError,Fe.colorTextDisabled,Fe.colorBorder,{color:Fe.colorErrorHover,borderColor:Fe.colorErrorHover},{color:Fe.colorErrorActive,borderColor:Fe.colorErrorActive})),nr(Fe))}),Ut=Fe=>Object.assign(Object.assign({},Ge(Fe)),{borderStyle:"dashed"}),at=Fe=>Object.assign(Object.assign(Object.assign({color:Fe.colorLink},He(Fe.componentCls,{color:Fe.colorLinkHover,backgroundColor:Fe.linkHoverBg},{color:Fe.colorLinkActive})),cr(Fe)),{[`&${Fe.componentCls}-dangerous`]:Object.assign(Object.assign({color:Fe.colorError},He(Fe.componentCls,{color:Fe.colorErrorHover},{color:Fe.colorErrorActive})),cr(Fe))}),bt=Fe=>Object.assign(Object.assign(Object.assign({},He(Fe.componentCls,{color:Fe.colorText,backgroundColor:Fe.textHoverBg},{color:Fe.colorText,backgroundColor:Fe.colorBgTextActive})),cr(Fe)),{[`&${Fe.componentCls}-dangerous`]:Object.assign(Object.assign({color:Fe.colorError},cr(Fe)),He(Fe.componentCls,{color:Fe.colorErrorHover,backgroundColor:Fe.colorErrorBg},{color:Fe.colorErrorHover,backgroundColor:Fe.colorErrorBg}))}),dt=Fe=>{const{componentCls:fe}=Fe;return{[`${fe}-default`]:Ge(Fe),[`${fe}-primary`]:Tt(Fe),[`${fe}-dashed`]:Ut(Fe),[`${fe}-link`]:at(Fe),[`${fe}-text`]:bt(Fe),[`${fe}-ghost`]:Dt(Fe.componentCls,Fe.ghostBg,Fe.colorBgContainer,Fe.colorBgContainer,Fe.colorTextDisabled,Fe.colorBorder)}},tt=function(Fe){let fe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";const{componentCls:pe,controlHeight:Pt,fontSize:Ie,lineHeight:ct,lineWidth:zt,borderRadius:wt,buttonPaddingHorizontal:Oe,iconCls:xt}=Fe,xe=Math.max(0,(Pt-Ie*ct)/2-zt),Ye=`${pe}-icon-only`;return[{[`${pe}${fe}`]:{fontSize:Ie,height:Pt,padding:`${xe}px ${Oe}px`,borderRadius:wt,[`&${Ye}`]:{width:Pt,paddingInlineStart:0,paddingInlineEnd:0,[`&${pe}-round`]:{width:"auto"},[xt]:{fontSize:Fe.buttonIconOnlyFontSize}},[`&${pe}-loading`]:{opacity:Fe.opacityLoading,cursor:"default"},[`${pe}-loading-icon`]:{transition:`width ${Fe.motionDurationSlow} ${Fe.motionEaseInOut}, opacity ${Fe.motionDurationSlow} ${Fe.motionEaseInOut}`}}},{[`${pe}${pe}-circle${fe}`]:$e(Fe)},{[`${pe}${pe}-round${fe}`]:Bt(Fe)}]},Ue=Fe=>tt((0,z.TS)(Fe,{fontSize:Fe.contentFontSize})),ye=Fe=>{const fe=(0,z.TS)(Fe,{controlHeight:Fe.controlHeightSM,fontSize:Fe.contentFontSizeSM,padding:Fe.paddingXS,buttonPaddingHorizontal:Fe.paddingInlineSM,borderRadius:Fe.borderRadiusSM,buttonIconOnlyFontSize:Fe.onlyIconSizeSM});return tt(fe,`${Fe.componentCls}-sm`)},Ce=Fe=>{const fe=(0,z.TS)(Fe,{controlHeight:Fe.controlHeightLG,fontSize:Fe.contentFontSizeLG,buttonPaddingHorizontal:Fe.paddingInlineLG,borderRadius:Fe.borderRadiusLG,buttonIconOnlyFontSize:Fe.onlyIconSizeLG});return tt(fe,`${Fe.componentCls}-lg`)},Me=Fe=>{const{componentCls:fe}=Fe;return{[fe]:{[`&${fe}-block`]:{width:"100%"}}}},je=Fe=>{const{paddingInline:fe,onlyIconSize:pe}=Fe;return(0,z.TS)(Fe,{buttonPaddingHorizontal:fe,buttonIconOnlyFontSize:pe})},We=Fe=>({fontWeight:400,defaultShadow:`0 ${Fe.controlOutlineWidth}px 0 ${Fe.controlTmpOutline}`,primaryShadow:`0 ${Fe.controlOutlineWidth}px 0 ${Fe.controlOutline}`,dangerShadow:`0 ${Fe.controlOutlineWidth}px 0 ${Fe.colorErrorOutline}`,primaryColor:Fe.colorTextLightSolid,dangerColor:Fe.colorTextLightSolid,borderColorDisabled:Fe.colorBorder,defaultGhostColor:Fe.colorBgContainer,ghostBg:"transparent",defaultGhostBorderColor:Fe.colorBgContainer,paddingInline:Fe.paddingContentHorizontal-Fe.lineWidth,paddingInlineLG:Fe.paddingContentHorizontal-Fe.lineWidth,paddingInlineSM:8-Fe.lineWidth,onlyIconSize:Fe.fontSizeLG,onlyIconSizeSM:Fe.fontSizeLG-2,onlyIconSizeLG:Fe.fontSizeLG+2,groupBorderColor:Fe.colorPrimaryHover,linkHoverBg:"transparent",textHoverBg:Fe.colorBgTextHover,defaultColor:Fe.colorText,defaultBg:Fe.colorBgContainer,defaultBorderColor:Fe.colorBorder,defaultBorderColorDisabled:Fe.colorBorder,contentFontSize:Fe.fontSize,contentFontSizeSM:Fe.fontSize,contentFontSizeLG:Fe.fontSizeLG});var nt=(0,$.Z)("Button",Fe=>{const fe=je(Fe);return[ke(fe),ye(fe),Ue(fe),Ce(fe),Me(fe),dt(fe),De(fe)]},We),lt=e(74207);function Vt(Fe,fe){return{[`&-item:not(${fe}-last-item)`]:{marginBottom:-Fe.lineWidth},"&-item":{"&:hover,&:focus,&:active":{zIndex:2},"&[disabled]":{zIndex:0}}}}function Ht(Fe,fe){return{[`&-item:not(${fe}-first-item):not(${fe}-last-item)`]:{borderRadius:0},[`&-item${fe}-first-item:not(${fe}-last-item)`]:{[`&, &${Fe}-sm, &${Fe}-lg`]:{borderEndEndRadius:0,borderEndStartRadius:0}},[`&-item${fe}-last-item:not(${fe}-first-item)`]:{[`&, &${Fe}-sm, &${Fe}-lg`]:{borderStartStartRadius:0,borderStartEndRadius:0}}}}function Pe(Fe){const fe=`${Fe.componentCls}-compact-vertical`;return{[fe]:Object.assign(Object.assign({},Vt(Fe,fe)),Ht(Fe.componentCls,fe))}}var et=(0,$.b)(["Button","compact"],Fe=>{const fe=je(Fe);return[(0,lt.c)(fe),Pe(fe)]},We),Kt=function(Fe,fe){var pe={};for(var Pt in Fe)Object.prototype.hasOwnProperty.call(Fe,Pt)&&fe.indexOf(Pt)<0&&(pe[Pt]=Fe[Pt]);if(Fe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ie=0,Pt=Object.getOwnPropertySymbols(Fe);Ie<Pt.length;Ie++)fe.indexOf(Pt[Ie])<0&&Object.prototype.propertyIsEnumerable.call(Fe,Pt[Ie])&&(pe[Pt[Ie]]=Fe[Pt[Ie]]);return pe};function kt(Fe){return Fe==="danger"?{danger:!0}:{type:Fe}}function Zt(Fe){if(typeof Fe=="object"&&Fe){const fe=Fe==null?void 0:Fe.delay;return{loading:!1,delay:!Number.isNaN(fe)&&typeof fe=="number"?fe:0}}return{loading:!!Fe,delay:0}}const Nt=(Fe,fe)=>{var pe,Pt;const{loading:Ie=!1,prefixCls:ct,type:zt="default",danger:wt,shape:Oe="default",size:xt,styles:xe,disabled:Ye,className:mt,rootClassName:Mt,children:Be,icon:Ir,ghost:St=!1,block:Zr=!1,htmlType:Yr="button",classNames:xr,style:Mr={}}=Fe,mr=Kt(Fe,["loading","prefixCls","type","danger","shape","size","styles","disabled","className","rootClassName","children","icon","ghost","block","htmlType","classNames","style"]),{getPrefixCls:Nr,autoInsertSpaceInButton:nn,direction:on,button:or}=(0,r.useContext)(h.E_),Rt=Nr("btn",ct),[_t,vt]=nt(Rt),$t=(0,r.useContext)(u.Z),Sr=Ye!=null?Ye:$t,vr=(0,r.useContext)(_),Qr=(0,r.useMemo)(()=>Zt(Ie),[Ie]),[Wr,An]=(0,r.useState)(Qr.loading),[At,lr]=(0,r.useState)(!1),Vr=(0,r.createRef)(),dn=(0,f.sQ)(fe,Vr),Bn=r.Children.count(Be)===1&&!Ir&&!M(zt);(0,r.useEffect)(()=>{let _i=null;Qr.delay>0?_i=setTimeout(()=>{_i=null,An(!0)},Qr.delay):An(Qr.loading);function ei(){_i&&(clearTimeout(_i),_i=null)}return ei},[Qr]),(0,r.useEffect)(()=>{if(!dn||!dn.current||nn===!1)return;const _i=dn.current.textContent;Bn&&C(_i)?At||lr(!0):At&&lr(!1)},[dn]);const ti=_i=>{const{onClick:ei}=Fe;if(Wr||Sr){_i.preventDefault();return}ei==null||ei(_i)},Un=nn!==!1,{compactSize:Ri,compactItemClassnames:ni}=(0,x.ri)(Rt,on),ci={large:"lg",small:"sm",middle:void 0},gi=(0,a.Z)(_i=>{var ei,vn;return(vn=(ei=xt!=null?xt:Ri)!==null&&ei!==void 0?ei:vr)!==null&&vn!==void 0?vn:_i}),di=gi&&ci[gi]||"",Qi=Wr?"loading":Ir,Gn=(0,c.Z)(mr,["navigate"]),Xi=l()(Rt,vt,{[`${Rt}-${Oe}`]:Oe!=="default"&&Oe,[`${Rt}-${zt}`]:zt,[`${Rt}-${di}`]:di,[`${Rt}-icon-only`]:!Be&&Be!==0&&!!Qi,[`${Rt}-background-ghost`]:St&&!M(zt),[`${Rt}-loading`]:Wr,[`${Rt}-two-chinese-chars`]:At&&Un&&!Wr,[`${Rt}-block`]:Zr,[`${Rt}-dangerous`]:!!wt,[`${Rt}-rtl`]:on==="rtl"},ni,mt,Mt,or==null?void 0:or.className),Et=Object.assign(Object.assign({},or==null?void 0:or.style),Mr),st=l()(xr==null?void 0:xr.icon,(pe=or==null?void 0:or.classNames)===null||pe===void 0?void 0:pe.icon),Vn=Object.assign(Object.assign({},(xe==null?void 0:xe.icon)||{}),((Pt=or==null?void 0:or.styles)===null||Pt===void 0?void 0:Pt.icon)||{}),yi=Ir&&!Wr?r.createElement(ie,{prefixCls:Rt,className:st,style:Vn},Ir):r.createElement(Q,{existIcon:!!Ir,prefixCls:Rt,loading:!!Wr}),Kn=Be||Be===0?N(Be,Bn&&Un):null;if(Gn.href!==void 0)return _t(r.createElement("a",Object.assign({},Gn,{className:l()(Xi,{[`${Rt}-disabled`]:Sr}),style:Et,onClick:ti,ref:dn}),yi,Kn));let Ki=r.createElement("button",Object.assign({},mr,{type:Yr,className:Xi,style:Et,onClick:ti,disabled:Sr,ref:dn}),yi,Kn,ni&&r.createElement(et,{key:"compact",prefixCls:Rt}));return M(zt)||(Ki=r.createElement(o.Z,{component:"Button",disabled:!!Wr},Ki)),_t(Ki)},tr=(0,r.forwardRef)(Nt);tr.Group=A,tr.__ANT_BUTTON=!0;var Wt=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 cr},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:Ut,_ANT_MARK__:at}=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},Ut)},y=e(31724),_=e(45246),b=e(34117),A=e(36355),k=e(30071),R=e(64993),C=e(47273),D=e(810);const M=`-ant-${Date.now()}-${Math.random()}`;function B(Ge,Tt){const Ut={},at=(tt,Ue)=>{let ye=tt.clone();return ye=(Ue==null?void 0:Ue(ye))||ye,ye.toRgbString()},bt=(tt,Ue)=>{const ye=new R.C(tt),Ce=(0,k.generate)(ye.toRgbString());Ut[`${Ue}-color`]=at(ye),Ut[`${Ue}-color-disabled`]=Ce[1],Ut[`${Ue}-color-hover`]=Ce[4],Ut[`${Ue}-color-active`]=Ce[6],Ut[`${Ue}-color-outline`]=ye.clone().setAlpha(.2).toRgbString(),Ut[`${Ue}-color-deprecated-bg`]=Ce[0],Ut[`${Ue}-color-deprecated-border`]=Ce[2]};if(Tt.primaryColor){bt(Tt.primaryColor,"primary");const tt=new R.C(Tt.primaryColor),Ue=(0,k.generate)(tt.toRgbString());Ue.forEach((Ce,Me)=>{Ut[`primary-${Me+1}`]=Ce}),Ut["primary-color-deprecated-l-35"]=at(tt,Ce=>Ce.lighten(35)),Ut["primary-color-deprecated-l-20"]=at(tt,Ce=>Ce.lighten(20)),Ut["primary-color-deprecated-t-20"]=at(tt,Ce=>Ce.tint(20)),Ut["primary-color-deprecated-t-50"]=at(tt,Ce=>Ce.tint(50)),Ut["primary-color-deprecated-f-12"]=at(tt,Ce=>Ce.setAlpha(Ce.getAlpha()*.12));const ye=new R.C(Ue[0]);Ut["primary-color-active-deprecated-f-30"]=at(ye,Ce=>Ce.setAlpha(Ce.getAlpha()*.3)),Ut["primary-color-active-deprecated-d-02"]=at(ye,Ce=>Ce.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(Ut).map(tt=>`--${Ge}-${tt}: ${Ut[tt]};`).join(`
|
|
|
`)}
|
|
|
}
|
|
|
`.trim()}function N(Ge,Tt){const Ut=B(Ge,Tt);(0,C.Z)()&&(0,D.hq)(Ut,`${M}-dynamic-theme`)}var K=e(1684),G=e(52946);function W(){const Ge=(0,f.useContext)(K.Z),Tt=(0,f.useContext)(G.Z);return{componentDisabled:Ge,componentSize:Tt}}var se=W,ie=e(13697);function le(Ge,Tt){const Ut=Ge||{},at=Ut.inherit===!1||!Tt?_.u_:Tt;return(0,l.Z)(()=>{if(!Ge)return Tt;const bt=Object.assign({},at.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({},at),Ut),{token:Object.assign(Object.assign({},at.token),Ut.token),components:bt})},[Ut,at],(bt,dt)=>bt.some((tt,Ue)=>{const ye=dt[Ue];return!(0,ie.Z)(tt,ye,!0)}))}var q=e(77900),J=e(88088);function V(Ge){const{children:Tt}=Ge,[,Ut]=(0,J.Z)(),{motion:at}=Ut,bt=f.useRef(!1);return bt.current=bt.current||at===!1,bt.current?f.createElement(q.Provider,{motion:at},Tt):Tt}var ue=e(73040),ee=function(Ge,Tt){var Ut={};for(var at in Ge)Object.prototype.hasOwnProperty.call(Ge,at)&&Tt.indexOf(at)<0&&(Ut[at]=Ge[at]);if(Ge!=null&&typeof Object.getOwnPropertySymbols=="function")for(var bt=0,at=Object.getOwnPropertySymbols(Ge);bt<at.length;bt++)Tt.indexOf(at[bt])<0&&Object.prototype.propertyIsEnumerable.call(Ge,at[bt])&&(Ut[at[bt]]=Ge[at[bt]]);return Ut};let Q=!1;const ce=null,z=null,$=["getTargetContainer","getPopupContainer","renderEmpty","pageHeader","input","pagination","form","select","button"],ae="ant";let _e,De,ke;function He(){return _e||ae}function $e(){return De||A.oR}function Bt(Ge){return Object.keys(Ge).some(Tt=>Tt.endsWith("Color"))}const gt=Ge=>{let{prefixCls:Tt,iconPrefixCls:Ut,theme:at}=Ge;Tt!==void 0&&(_e=Tt),Ut!==void 0&&(De=Ut),at&&(Bt(at)?N(He(),at):ke=at)},Dt=()=>({getPrefixCls:(Ge,Tt)=>Tt||(Ge?`${He()}-${Ge}`:He()),getIconPrefixCls:$e,getRootPrefixCls:()=>_e||He(),getTheme:()=>ke}),nr=Ge=>{const{children:Tt,csp:Ut,autoInsertSpaceInButton:at,alert:bt,anchor:dt,form:tt,locale:Ue,componentSize:ye,direction:Ce,space:Me,virtual:je,dropdownMatchSelectWidth:We,popupMatchSelectWidth:nt,popupOverflow:lt,legacyLocale:Vt,parentContext:Ht,iconPrefixCls:Pe,theme:et,componentDisabled:Kt,segmented:kt,statistic:Zt,spin:Nt,calendar:tr,carousel:Wt,cascader:Fe,collapse:fe,typography:pe,checkbox:Pt,descriptions:Ie,divider:ct,drawer:zt,skeleton:wt,steps:Oe,image:xt,layout:xe,list:Ye,mentions:mt,modal:Mt,progress:Be,result:Ir,slider:St,breadcrumb:Zr,menu:Yr,pagination:xr,input:Mr,empty:mr,badge:Nr,radio:nn,rate:on,switch:or,transfer:Rt,avatar:_t,message:vt,tag:$t,table:Sr,card:vr,tabs:Qr,timeline:Wr,timePicker:An,upload:At,notification:lr,tree:Vr,colorPicker:dn,datePicker:Bn,wave:ti}=Ge,Un=f.useCallback((Kn,Ki)=>{const{prefixCls:_i}=Ge;if(Ki)return Ki;const ei=_i||Ht.getPrefixCls("");return Kn?`${ei}-${Kn}`:ei},[Ht.getPrefixCls,Ge.prefixCls]),Ri=Pe||Ht.iconPrefixCls||A.oR,ni=Ri!==Ht.iconPrefixCls,ci=Ut||Ht.csp,gi=(0,ue.Z)(Ri,ci),di=le(et,Ht.theme),Qi={csp:ci,autoInsertSpaceInButton:at,alert:bt,anchor:dt,locale:Ue||Vt,direction:Ce,space:Me,virtual:je,popupMatchSelectWidth:nt!=null?nt:We,popupOverflow:lt,getPrefixCls:Un,iconPrefixCls:Ri,theme:di,segmented:kt,statistic:Zt,spin:Nt,calendar:tr,carousel:Wt,cascader:Fe,collapse:fe,typography:pe,checkbox:Pt,descriptions:Ie,divider:ct,drawer:zt,skeleton:wt,steps:Oe,image:xt,input:Mr,layout:xe,list:Ye,mentions:mt,modal:Mt,progress:Be,result:Ir,slider:St,breadcrumb:Zr,menu:Yr,pagination:xr,empty:mr,badge:Nr,radio:nn,rate:on,switch:or,transfer:Rt,avatar:_t,message:vt,tag:$t,table:Sr,card:vr,tabs:Qr,timeline:Wr,timePicker:An,upload:At,notification:lr,tree:Vr,colorPicker:dn,datePicker:Bn,wave:ti},Gn=Object.assign({},Ht);Object.keys(Qi).forEach(Kn=>{Qi[Kn]!==void 0&&(Gn[Kn]=Qi[Kn])}),$.forEach(Kn=>{const Ki=Ge[Kn];Ki&&(Gn[Kn]=Ki)});const Xi=(0,l.Z)(()=>Gn,Gn,(Kn,Ki)=>{const _i=Object.keys(Kn),ei=Object.keys(Ki);return _i.length!==ei.length||_i.some(vn=>Kn[vn]!==Ki[vn])}),Et=f.useMemo(()=>({prefixCls:Ri,csp:ci}),[Ri,ci]);let st=ni?gi(Tt):Tt;const Vn=f.useMemo(()=>{var Kn,Ki,_i,ei;return(0,c.T)(((Kn=y.Z.Form)===null||Kn===void 0?void 0:Kn.defaultValidateMessages)||{},((_i=(Ki=Xi.locale)===null||Ki===void 0?void 0:Ki.Form)===null||_i===void 0?void 0:_i.defaultValidateMessages)||{},((ei=Xi.form)===null||ei===void 0?void 0:ei.validateMessages)||{},(tt==null?void 0:tt.validateMessages)||{})},[Xi,tt==null?void 0:tt.validateMessages]);Object.keys(Vn).length>0&&(st=f.createElement(o.Z.Provider,{value:Vn},Tt)),Ue&&(st=f.createElement(p,{locale:Ue,_ANT_MARK__:a},st)),(Ri||ci)&&(st=f.createElement(i.Z.Provider,{value:Et},st)),ye&&(st=f.createElement(G.q,{size:ye},st)),st=f.createElement(V,null,st);const yi=f.useMemo(()=>{const Kn=di||{},{algorithm:Ki,token:_i,components:ei}=Kn,vn=ee(Kn,["algorithm","token","components"]),er=Ki&&(!Array.isArray(Ki)||Ki.length>0)?(0,r.createTheme)(Ki):_.uH,pt={};return Object.entries(ei||{}).forEach(rt=>{let[Ot,ft]=rt;const ur=Object.assign({},ft);"algorithm"in ur&&(ur.algorithm===!0?ur.theme=er:(Array.isArray(ur.algorithm)||typeof ur.algorithm=="function")&&(ur.theme=(0,r.createTheme)(ur.algorithm)),delete ur.algorithm),pt[Ot]=ur}),Object.assign(Object.assign({},vn),{theme:er,token:Object.assign(Object.assign({},b.Z),_i),components:pt})},[di]);return et&&(st=f.createElement(_.Mj.Provider,{value:yi},st)),Kt!==void 0&&(st=f.createElement(K.n,{disabled:Kt},st)),f.createElement(A.E_.Provider,{value:Xi},st)},Xt=Ge=>{const Tt=f.useContext(A.E_),Ut=f.useContext(u.Z);return f.createElement(nr,Object.assign({parentContext:Tt,legacyLocale:Ut},Ge))};Xt.ConfigContext=A.E_,Xt.SizeContext=G.Z,Xt.config=gt,Xt.useConfig=se,Object.defineProperty(Xt,"SizeContext",{get:()=>G.Z});var cr=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),A=(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:A},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 A=0,b=Object.getOwnPropertySymbols(p);A<b.length;A++)y.indexOf(b[A])<0&&Object.prototype.propertyIsEnumerable.call(p,b[A])&&(_[b[A]]=p[b[A]]);return _};function u(p){return typeof p=="number"?`${p} ${p} auto`:/^\d+(\.\d+)?(px|em|rem|%)$/.test(p)?`0 0 ${p}`:p}const a=["xs","sm","md","lg","xl","xxl"],x=r.forwardRef((p,y)=>{const{getPrefixCls:_,direction:b}=r.useContext(c.E_),{gutter:A,wrap:k}=r.useContext(f.Z),{prefixCls:R,span:C,order:D,offset:M,push:B,pull:N,className:K,children:G,flex:W,style:se}=p,ie=h(p,["prefixCls","span","order","offset","push","pull","className","children","flex","style"]),le=_("col",R),[q,J]=(0,o.c)(le);let V={};a.forEach(Q=>{let ce={};const z=p[Q];typeof z=="number"?ce.span=z:typeof z=="object"&&(ce=z||{}),delete ie[Q],V=Object.assign(Object.assign({},V),{[`${le}-${Q}-${ce.span}`]:ce.span!==void 0,[`${le}-${Q}-order-${ce.order}`]:ce.order||ce.order===0,[`${le}-${Q}-offset-${ce.offset}`]:ce.offset||ce.offset===0,[`${le}-${Q}-push-${ce.push}`]:ce.push||ce.push===0,[`${le}-${Q}-pull-${ce.pull}`]:ce.pull||ce.pull===0,[`${le}-${Q}-flex-${ce.flex}`]:ce.flex||ce.flex==="auto",[`${le}-rtl`]:b==="rtl"})});const ue=l()(le,{[`${le}-${C}`]:C!==void 0,[`${le}-order-${D}`]:D,[`${le}-offset-${M}`]:M,[`${le}-push-${B}`]:B,[`${le}-pull-${N}`]:N},K,V,J),ee={};if(A&&A[0]>0){const Q=A[0]/2;ee.paddingLeft=Q,ee.paddingRight=Q}return W&&(ee.flex=u(W),k===!1&&!ee.minWidth&&(ee.minWidth=0)),q(r.createElement("div",Object.assign({},ie,{style:Object.assign(Object.assign({},ee),se),className:ue,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 A={};for(var k in _)Object.prototype.hasOwnProperty.call(_,k)&&b.indexOf(k)<0&&(A[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])&&(A[k[R]]=_[k[R]]);return A};const a=null,x=null;function p(_,b){const[A,k]=r.useState(typeof _=="string"?_:""),R=()=>{if(typeof _=="string"&&k(_),typeof _=="object")for(let C=0;C<c.c4.length;C++){const D=c.c4[C];if(!b[D])continue;const M=_[D];if(M!==void 0){k(M);return}}};return r.useEffect(()=>{R()},[JSON.stringify(_),b]),A}const y=r.forwardRef((_,b)=>{const{prefixCls:A,justify:k,align:R,className:C,style:D,children:M,gutter:B=0,wrap:N}=_,K=u(_,["prefixCls","justify","align","className","style","children","gutter","wrap"]),{getPrefixCls:G,direction:W}=r.useContext(f.E_),[se,ie]=r.useState({xs:!0,sm:!0,md:!0,lg:!0,xl:!0,xxl:!0}),[le,q]=r.useState({xs:!1,sm:!1,md:!1,lg:!1,xl:!1,xxl:!1}),J=p(R,le),V=p(k,le),ue=r.useRef(B),ee=(0,c.ZP)();r.useEffect(()=>{const gt=ee.subscribe(Dt=>{q(Dt);const nr=ue.current||0;(!Array.isArray(nr)&&typeof nr=="object"||Array.isArray(nr)&&(typeof nr[0]=="object"||typeof nr[1]=="object"))&&ie(Dt)});return()=>ee.unsubscribe(gt)},[]);const Q=()=>{const gt=[void 0,void 0];return(Array.isArray(B)?B:[B,void 0]).forEach((nr,Xt)=>{if(typeof nr=="object")for(let cr=0;cr<c.c4.length;cr++){const Ge=c.c4[cr];if(se[Ge]&&nr[Ge]!==void 0){gt[Xt]=nr[Ge];break}}else gt[Xt]=nr}),gt},ce=G("row",A),[z,$]=(0,h.V)(ce),ae=Q(),_e=l()(ce,{[`${ce}-no-wrap`]:N===!1,[`${ce}-${V}`]:V,[`${ce}-${J}`]:J,[`${ce}-rtl`]:W==="rtl"},C,$),De={},ke=ae[0]!=null&&ae[0]>0?ae[0]/-2:void 0;ke&&(De.marginLeft=ke,De.marginRight=ke),[,De.rowGap]=ae;const[He,$e]=ae,Bt=r.useMemo(()=>({gutter:[He,$e],wrap:N}),[He,$e,N]);return z(r.createElement(o.Z.Provider,{value:Bt},r.createElement("div",Object.assign({},K,{className:_e,style:Object.assign(Object.assign({},De),D),ref:b}),M)))});v.Z=y},98242:function(d,v,e){"use strict";e.d(v,{V:function(){return u},c:function(){return a}});var r=e(83116),i=e(37613);const l=x=>{const{componentCls:p}=x;return{[p]:{display:"flex",flexFlow:"row wrap",minWidth:0,"&::before, &::after":{display:"flex"},"&-no-wrap":{flexWrap:"nowrap"},"&-start":{justifyContent:"flex-start"},"&-center":{justifyContent:"center"},"&-end":{justifyContent:"flex-end"},"&-space-between":{justifyContent:"space-between"},"&-space-around":{justifyContent:"space-around"},"&-space-evenly":{justifyContent:"space-evenly"},"&-top":{alignItems:"flex-start"},"&-middle":{alignItems:"center"},"&-bottom":{alignItems:"flex-end"}}}},c=x=>{const{componentCls:p}=x;return{[p]:{position:"relative",maxWidth:"100%",minHeight:1}}},f=(x,p)=>{const{componentCls:y,gridColumns:_}=x,b={};for(let A=_;A>=0;A--)A===0?(b[`${y}${p}-${A}`]={display:"none"},b[`${y}-push-${A}`]={insetInlineStart:"auto"},b[`${y}-pull-${A}`]={insetInlineEnd:"auto"},b[`${y}${p}-push-${A}`]={insetInlineStart:"auto"},b[`${y}${p}-pull-${A}`]={insetInlineEnd:"auto"},b[`${y}${p}-offset-${A}`]={marginInlineStart:0},b[`${y}${p}-order-${A}`]={order:0}):(b[`${y}${p}-${A}`]=[{"--ant-display":"block",display:"block"},{display:"var(--ant-display)",flex:`0 0 ${A/_*100}%`,maxWidth:`${A/_*100}%`}],b[`${y}${p}-push-${A}`]={insetInlineStart:`${A/_*100}%`},b[`${y}${p}-pull-${A}`]={insetInlineEnd:`${A/_*100}%`},b[`${y}${p}-offset-${A}`]={marginInlineStart:`${A/_*100}%`},b[`${y}${p}-order-${A}`]={order:A});return b},o=(x,p)=>f(x,p),h=(x,p,y)=>({[`@media (min-width: ${p}px)`]:Object.assign({},o(x,y))}),u=(0,r.Z)("Grid",x=>[l(x)]),a=(0,r.Z)("Grid",x=>{const p=(0,i.TS)(x,{gridColumns:24}),y={"-sm":p.screenSMMin,"-md":p.screenMDMin,"-lg":p.screenLGMin,"-xl":p.screenXLMin,"-xxl":p.screenXXLMin};return[c(p),o(p,""),o(p,"-xs"),Object.keys(y).map(_=>h(p,y[_],_)).reduce((_,b)=>Object.assign(Object.assign({},_),b),{})]})},41887:function(d,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(95190),i=e(59301),l=e(1585),c=e(92736),f=e(29679),o=e(19248),h=e(96512),u=e(78987),a=e(58617),x=e(92310),p=e.n(x),y=e(581),_=e(36355),b=e(36237),A=e(17313),k=e(83116),R=e(37613);const C=dt=>{const{componentCls:tt,iconCls:Ue,boxShadow:ye,colorText:Ce,colorSuccess:Me,colorError:je,colorWarning:We,colorInfo:nt,fontSizeLG:lt,motionEaseInOutCirc:Vt,motionDurationSlow:Ht,marginXS:Pe,paddingXS:et,borderRadiusLG:Kt,zIndexPopup:kt,contentPadding:Zt,contentBg:Nt}=dt,tr=`${tt}-notice`,Wt=new b.Keyframes("MessageMoveIn",{"0%":{padding:0,transform:"translateY(-100%)",opacity:0},"100%":{padding:et,transform:"translateY(0)",opacity:1}}),Fe=new b.Keyframes("MessageMoveOut",{"0%":{maxHeight:dt.height,padding:et,opacity:1},"100%":{maxHeight:0,padding:0,opacity:0}}),fe={padding:et,textAlign:"center",[`${tt}-custom-content > ${Ue}`]:{verticalAlign:"text-bottom",marginInlineEnd:Pe,fontSize:lt},[`${tr}-content`]:{display:"inline-block",padding:Zt,background:Nt,borderRadius:Kt,boxShadow:ye,pointerEvents:"all"},[`${tt}-success > ${Ue}`]:{color:Me},[`${tt}-error > ${Ue}`]:{color:je},[`${tt}-warning > ${Ue}`]:{color:We},[`${tt}-info > ${Ue},
|
|
|
${tt}-loading > ${Ue}`]:{color:nt}};return[{[tt]:Object.assign(Object.assign({},(0,A.Wf)(dt)),{color:Ce,position:"fixed",top:Pe,width:"100%",pointerEvents:"none",zIndex:kt,[`${tt}-move-up`]:{animationFillMode:"forwards"},[`
|
|
|
${tt}-move-up-appear,
|
|
|
${tt}-move-up-enter
|
|
|
`]:{animationName:Wt,animationDuration:Ht,animationPlayState:"paused",animationTimingFunction:Vt},[`
|
|
|
${tt}-move-up-appear${tt}-move-up-appear-active,
|
|
|
${tt}-move-up-enter${tt}-move-up-enter-active
|
|
|
`]:{animationPlayState:"running"},[`${tt}-move-up-leave`]:{animationName:Fe,animationDuration:Ht,animationPlayState:"paused",animationTimingFunction:Vt},[`${tt}-move-up-leave${tt}-move-up-leave-active`]:{animationPlayState:"running"},"&-rtl":{direction:"rtl",span:{direction:"rtl"}}})},{[tt]:{[tr]:Object.assign({},fe)}},{[`${tt}-notice-pure-panel`]:Object.assign(Object.assign({},fe),{padding:0,textAlign:"start"})}]};var D=(0,k.Z)("Message",dt=>{const tt=(0,R.TS)(dt,{height:150});return[C(tt)]},dt=>({zIndexPopup:dt.zIndexPopupBase+10,contentBg:dt.colorBgElevated,contentPadding:`${(dt.controlHeightLG-dt.fontSize*dt.lineHeight)/2}px ${dt.paddingSM}px`})),M=function(dt,tt){var Ue={};for(var ye in dt)Object.prototype.hasOwnProperty.call(dt,ye)&&tt.indexOf(ye)<0&&(Ue[ye]=dt[ye]);if(dt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ce=0,ye=Object.getOwnPropertySymbols(dt);Ce<ye.length;Ce++)tt.indexOf(ye[Ce])<0&&Object.prototype.propertyIsEnumerable.call(dt,ye[Ce])&&(Ue[ye[Ce]]=dt[ye[Ce]]);return Ue};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:tt,type:Ue,icon:ye,children:Ce}=dt;return i.createElement("div",{className:p()(`${tt}-custom-content`,`${tt}-${Ue}`)},ye||B[Ue],i.createElement("span",null,Ce))};var G=dt=>{const{prefixCls:tt,className:Ue,type:ye,icon:Ce,content:Me}=dt,je=M(dt,["prefixCls","className","type","icon","content"]),{getPrefixCls:We}=i.useContext(_.E_),nt=tt||We("message"),[,lt]=D(nt);return i.createElement(y.qX,Object.assign({},je,{prefixCls:nt,className:p()(Ue,lt,`${nt}-notice-pure-panel`),eventKey:"pure",duration:null,content:i.createElement(N,{prefixCls:nt,type:ye,icon:Ce},Me)}))},W=e(99267);function se(dt,tt){return{motionName:tt!=null?tt:`${dt}-move-up`}}function ie(dt){let tt;const Ue=new Promise(Ce=>{tt=dt(()=>{Ce(!0)})}),ye=()=>{tt==null||tt()};return ye.then=(Ce,Me)=>Ue.then(Ce,Me),ye.promise=Ue,ye}var le=function(dt,tt){var Ue={};for(var ye in dt)Object.prototype.hasOwnProperty.call(dt,ye)&&tt.indexOf(ye)<0&&(Ue[ye]=dt[ye]);if(dt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ce=0,ye=Object.getOwnPropertySymbols(dt);Ce<ye.length;Ce++)tt.indexOf(ye[Ce])<0&&Object.prototype.propertyIsEnumerable.call(dt,ye[Ce])&&(Ue[ye[Ce]]=dt[ye[Ce]]);return Ue};const q=8,J=3,V=dt=>{let{children:tt,prefixCls:Ue}=dt;const[,ye]=D(Ue);return i.createElement(y.JB,{classNames:{list:ye,notice:ye}},tt)},ue=(dt,tt)=>{let{prefixCls:Ue,key:ye}=tt;return i.createElement(V,{prefixCls:Ue,key:ye},dt)},ee=i.forwardRef((dt,tt)=>{const{top:Ue,prefixCls:ye,getContainer:Ce,maxCount:Me,duration:je=J,rtl:We,transitionName:nt,onAllRemoved:lt}=dt,{getPrefixCls:Vt,getPopupContainer:Ht,message:Pe}=i.useContext(_.E_),et=ye||Vt("message"),Kt=()=>({left:"50%",transform:"translateX(-50%)",top:Ue!=null?Ue:q}),kt=()=>p()({[`${et}-rtl`]:We}),Zt=()=>se(et,nt),Nt=i.createElement("span",{className:`${et}-close-x`},i.createElement(W.Z,{className:`${et}-close-icon`})),[tr,Wt]=(0,y.lm)({prefixCls:et,style:Kt,className:kt,motion:Zt,closable:!1,closeIcon:Nt,duration:je,getContainer:()=>(Ce==null?void 0:Ce())||(Ht==null?void 0:Ht())||document.body,maxCount:Me,onAllRemoved:lt,renderNotifications:ue});return i.useImperativeHandle(tt,()=>Object.assign(Object.assign({},tr),{prefixCls:et,message:Pe})),Wt});let Q=0;function ce(dt){const tt=i.useRef(null);return[i.useMemo(()=>{const ye=nt=>{var lt;(lt=tt.current)===null||lt===void 0||lt.close(nt)},Ce=nt=>{if(!tt.current){const pe=()=>{};return pe.then=()=>{},pe}const{open:lt,prefixCls:Vt,message:Ht}=tt.current,Pe=`${Vt}-notice`,{content:et,icon:Kt,type:kt,key:Zt,className:Nt,style:tr,onClose:Wt}=nt,Fe=le(nt,["content","icon","type","key","className","style","onClose"]);let fe=Zt;return fe==null&&(Q+=1,fe=`antd-message-${Q}`),ie(pe=>(lt(Object.assign(Object.assign({},Fe),{key:fe,content:i.createElement(N,{prefixCls:Vt,type:kt,icon:Kt},et),placement:"top",className:p()(kt&&`${Pe}-${kt}`,Nt,Ht==null?void 0:Ht.className),style:Object.assign(Object.assign({},Ht==null?void 0:Ht.style),tr),onClose:()=>{Wt==null||Wt(),pe()}})),()=>{ye(fe)}))},je={open:Ce,destroy:nt=>{var lt;nt!==void 0?ye(nt):(lt=tt.current)===null||lt===void 0||lt.destroy()}};return["info","success","warning","error","loading"].forEach(nt=>{const lt=(Vt,Ht,Pe)=>{let et;Vt&&typeof Vt=="object"&&"content"in Vt?et=Vt:et={content:Vt};let Kt,kt;typeof Ht=="function"?kt=Ht:(Kt=Ht,kt=Pe);const Zt=Object.assign(Object.assign({onClose:kt,duration:Kt},et),{type:nt});return Ce(Zt)};je[nt]=lt}),je},[]),i.createElement(ee,Object.assign({key:"message-holder"},dt,{ref:tt}))]}function z(dt){return ce(dt)}let $=null,ae=dt=>dt(),_e=[],De={};function ke(){const{prefixCls:dt,getContainer:tt,duration:Ue,rtl:ye,maxCount:Ce,top:Me}=De,je=dt!=null?dt:(0,c.w6)().getPrefixCls("message"),We=(tt==null?void 0:tt())||document.body;return{prefixCls:je,getContainer:()=>We,duration:Ue,rtl:ye,maxCount:Ce,top:Me}}const He=i.forwardRef((dt,tt)=>{const[Ue,ye]=i.useState(ke),[Ce,Me]=ce(Ue),je=(0,c.w6)(),We=je.getRootPrefixCls(),nt=je.getIconPrefixCls(),lt=je.getTheme(),Vt=()=>{ye(ke)};return i.useEffect(Vt,[]),i.useImperativeHandle(tt,()=>{const Ht=Object.assign({},Ce);return Object.keys(Ht).forEach(Pe=>{Ht[Pe]=function(){return Vt(),Ce[Pe].apply(Ce,arguments)}}),{instance:Ht,sync:Vt}}),i.createElement(c.ZP,{prefixCls:We,iconPrefixCls:nt,theme:lt},Me)});function $e(){if(!$){const dt=document.createDocumentFragment(),tt={fragment:dt};$=tt,ae(()=>{(0,l.s)(i.createElement(He,{ref:Ue=>{const{instance:ye,sync:Ce}=Ue||{};Promise.resolve().then(()=>{!tt.instance&&ye&&(tt.instance=ye,tt.sync=Ce,$e())})}}),dt)});return}$.instance&&(_e.forEach(dt=>{const{type:tt,skipped:Ue}=dt;if(!Ue)switch(tt){case"open":{ae(()=>{const ye=$.instance.open(Object.assign(Object.assign({},De),dt.config));ye==null||ye.then(dt.resolve),dt.setCloseFn(ye)});break}case"destroy":ae(()=>{$==null||$.instance.destroy(dt.key)});break;default:ae(()=>{var ye;const Ce=(ye=$.instance)[tt].apply(ye,(0,r.Z)(dt.args));Ce==null||Ce.then(dt.resolve),dt.setCloseFn(Ce)})}}),_e=[])}function Bt(dt){De=Object.assign(Object.assign({},De),dt),ae(()=>{var tt;(tt=$==null?void 0:$.sync)===null||tt===void 0||tt.call($)})}function gt(dt){const tt=ie(Ue=>{let ye;const Ce={type:"open",config:dt,resolve:Ue,setCloseFn:Me=>{ye=Me}};return _e.push(Ce),()=>{ye?ae(()=>{ye()}):Ce.skipped=!0}});return $e(),tt}function Dt(dt,tt){const Ue=ie(ye=>{let Ce;const Me={type:dt,args:tt,resolve:ye,setCloseFn:je=>{Ce=je}};return _e.push(Me),()=>{Ce?ae(()=>{Ce()}):Me.skipped=!0}});return $e(),Ue}function nr(dt){_e.push({type:"destroy",key:dt}),$e()}const Xt=["success","info","warning","error","loading"],Ge={open:gt,destroy:nr,config:Bt,useMessage:z,_InternalPanelDoNotUseOrYouWillBeFired:G};Xt.forEach(dt=>{Ge[dt]=function(){for(var tt=arguments.length,Ue=new Array(tt),ye=0;ye<tt;ye++)Ue[ye]=arguments[ye];return Dt(dt,Ue)}});const Tt=()=>{};let Ut=null,at=null;var bt=Ge},43418:function(d,v,e){"use strict";e.d(v,{default:function(){return ct}});var r=e(95190),i=e(1585),l=e(59301),c=e(92736),f=e(29679),o=e(19248),h=e(96512),u=e(78987),a=e(92310),x=e.n(a),p=e(62892),y=e(9763),_=e(92806);const b=l.createContext({}),{Provider:A}=b;var R=()=>{const{autoFocusButton:zt,cancelButtonProps:wt,cancelTextLocale:Oe,isSilent:xt,mergedOkCancel:xe,rootPrefixCls:Ye,close:mt,onCancel:Mt,onConfirm:Be}=(0,l.useContext)(b);return xe?l.createElement(_.Z,{isSilent:xt,actionFn:Mt,close:function(){mt==null||mt.apply(void 0,arguments),Be==null||Be(!1)},autoFocus:zt==="cancel",buttonProps:wt,prefixCls:`${Ye}-btn`},Oe):null},D=()=>{const{autoFocusButton:zt,close:wt,isSilent:Oe,okButtonProps:xt,rootPrefixCls:xe,okTextLocale:Ye,okType:mt,onConfirm:Mt,onOk:Be}=(0,l.useContext)(b);return l.createElement(_.Z,{isSilent:Oe,type:mt||"primary",actionFn:Be,close:function(){wt==null||wt.apply(void 0,arguments),Mt==null||Mt(!0)},autoFocus:zt==="ok",buttonProps:xt,prefixCls:`${xe}-btn`},Ye)},M=e(99267),B=e(86923),N=e(47729),K=e(47273);const G=()=>(0,K.Z)()&&window.document.documentElement;var W=e(36355),se=e(32441),ie=e(33234),le=e(11575),q=e(1684),J=e(3113),ue=()=>{const{cancelButtonProps:zt,cancelTextLocale:wt,onCancel:Oe}=(0,l.useContext)(b);return l.createElement(J.ZP,Object.assign({onClick:Oe},zt),wt)},ee=e(67797),ce=()=>{const{confirmLoading:zt,okButtonProps:wt,okType:Oe,okTextLocale:xt,onOk:xe}=(0,l.useContext)(b);return l.createElement(J.ZP,Object.assign({},(0,ee.n)(Oe),{loading:zt,onClick:xe},wt),xt)},z=e(98044);function $(zt,wt){return l.createElement("span",{className:`${zt}-close-x`},wt||l.createElement(M.Z,{className:`${zt}-close-icon`}))}const ae=zt=>{const{okText:wt,okType:Oe="primary",cancelText:xt,confirmLoading:xe,onOk:Ye,onCancel:mt,okButtonProps:Mt,cancelButtonProps:Be,footer:Ir}=zt,[St]=(0,y.Z)("Modal",(0,z.A)()),Zr=wt||(St==null?void 0:St.okText),Yr=xt||(St==null?void 0:St.cancelText),xr={confirmLoading:xe,okButtonProps:Mt,cancelButtonProps:Be,okTextLocale:Zr,cancelTextLocale:Yr,okType:Oe,onOk:Ye,onCancel:mt},Mr=l.useMemo(()=>xr,(0,r.Z)(Object.values(xr)));let mr;return typeof Ir=="function"||typeof Ir=="undefined"?(mr=l.createElement(A,{value:Mr},l.createElement(ue,null),l.createElement(ce,null)),typeof Ir=="function"&&(mr=Ir(mr,{OkBtn:ce,CancelBtn:ue}))):mr=Ir,l.createElement(q.n,{disabled:!1},mr)};var _e=e(73819),De=function(zt,wt){var Oe={};for(var xt in zt)Object.prototype.hasOwnProperty.call(zt,xt)&&wt.indexOf(xt)<0&&(Oe[xt]=zt[xt]);if(zt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var xe=0,xt=Object.getOwnPropertySymbols(zt);xe<xt.length;xe++)wt.indexOf(xt[xe])<0&&Object.prototype.propertyIsEnumerable.call(zt,xt[xe])&&(Oe[xt[xe]]=zt[xt[xe]]);return Oe};let ke;const He=zt=>{ke={x:zt.pageX,y:zt.pageY},setTimeout(()=>{ke=null},100)};G()&&document.documentElement.addEventListener("click",He,!0);var Bt=zt=>{var wt;const{getPopupContainer:Oe,getPrefixCls:xt,direction:xe,modal:Ye}=l.useContext(W.E_),mt=dn=>{const{onCancel:Bn}=zt;Bn==null||Bn(dn)},Mt=dn=>{const{onOk:Bn}=zt;Bn==null||Bn(dn)},{prefixCls:Be,className:Ir,rootClassName:St,open:Zr,wrapClassName:Yr,centered:xr,getContainer:Mr,closeIcon:mr,closable:Nr,focusTriggerAfterClose:nn=!0,style:on,visible:or,width:Rt=520,footer:_t}=zt,vt=De(zt,["prefixCls","className","rootClassName","open","wrapClassName","centered","getContainer","closeIcon","closable","focusTriggerAfterClose","style","visible","width","footer"]),$t=xt("modal",Be),Sr=xt(),[vr,Qr]=(0,_e.ZP)($t),Wr=x()(Yr,{[`${$t}-centered`]:!!xr,[`${$t}-wrap-rtl`]:xe==="rtl"}),An=_t!==null&&l.createElement(ae,Object.assign({},zt,{onOk:Mt,onCancel:mt})),[At,lr]=(0,N.Z)(Nr,mr,dn=>$($t,dn),l.createElement(M.Z,{className:`${$t}-close-icon`}),!0),Vr=(0,le.H)(`.${$t}-content`);return vr(l.createElement(ie.BR,null,l.createElement(se.Ux,{status:!0,override:!0},l.createElement(B.Z,Object.assign({width:Rt},vt,{getContainer:Mr===void 0?Oe:Mr,prefixCls:$t,rootClassName:x()(Qr,St),wrapClassName:Wr,footer:An,visible:Zr!=null?Zr:or,mousePosition:(wt=vt.mousePosition)!==null&&wt!==void 0?wt:ke,onClose:mt,closable:At,closeIcon:lr,focusTriggerAfterClose:nn,transitionName:(0,p.m)(Sr,"zoom",zt.transitionName),maskTransitionName:(0,p.m)(Sr,"fade",zt.maskTransitionName),className:x()(Qr,Ir,Ye==null?void 0:Ye.className),style:Object.assign(Object.assign({},Ye==null?void 0:Ye.style),on),panelRef:Vr})))))},gt=e(17313),Dt=e(83116);const nr=zt=>{const{componentCls:wt,titleFontSize:Oe,titleLineHeight:xt,modalConfirmIconSize:xe,fontSize:Ye,lineHeight:mt}=zt,Mt=`${wt}-confirm`,Be=Math.round(Oe*xt),Ir=Math.round(Ye*mt);return{[Mt]:{"&-rtl":{direction:"rtl"},[`${zt.antCls}-modal-header`]:{display:"none"},[`${Mt}-body-wrapper`]:Object.assign({},(0,gt.dF)()),[`${Mt}-body`]:{display:"flex",flexWrap:"nowrap",alignItems:"start",[`> ${zt.iconCls}`]:{flex:"none",fontSize:xe,marginInlineEnd:zt.marginSM,marginTop:(Ir-xe)/2},[`&-has-title > ${zt.iconCls}`]:{marginTop:(Be-xe)/2}},[`${Mt}-paragraph`]:{display:"flex",flexDirection:"column",flex:"auto",rowGap:zt.marginXS},[`${Mt}-title`]:{color:zt.colorTextHeading,fontWeight:zt.fontWeightStrong,fontSize:Oe,lineHeight:xt},[`${Mt}-content`]:{color:zt.colorText,fontSize:Ye,lineHeight:mt},[`${Mt}-btns`]:{textAlign:"end",marginTop:zt.marginSM,[`${zt.antCls}-btn + ${zt.antCls}-btn`]:{marginBottom:0,marginInlineStart:zt.marginXS}}},[`${Mt}-error ${Mt}-body > ${zt.iconCls}`]:{color:zt.colorError},[`${Mt}-warning ${Mt}-body > ${zt.iconCls},
|
|
|
${Mt}-confirm ${Mt}-body > ${zt.iconCls}`]:{color:zt.colorWarning},[`${Mt}-info ${Mt}-body > ${zt.iconCls}`]:{color:zt.colorInfo},[`${Mt}-success ${Mt}-body > ${zt.iconCls}`]:{color:zt.colorSuccess}}};var Xt=(0,Dt.b)(["Modal","confirm"],zt=>{const wt=(0,_e.B4)(zt);return[nr(wt)]},_e.eh,{order:-1e3}),cr=function(zt,wt){var Oe={};for(var xt in zt)Object.prototype.hasOwnProperty.call(zt,xt)&&wt.indexOf(xt)<0&&(Oe[xt]=zt[xt]);if(zt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var xe=0,xt=Object.getOwnPropertySymbols(zt);xe<xt.length;xe++)wt.indexOf(xt[xe])<0&&Object.prototype.propertyIsEnumerable.call(zt,xt[xe])&&(Oe[xt[xe]]=zt[xt[xe]]);return Oe};function Ge(zt){const{prefixCls:wt,icon:Oe,okText:xt,cancelText:xe,confirmPrefixCls:Ye,type:mt,okCancel:Mt,footer:Be,locale:Ir}=zt,St=cr(zt,["prefixCls","icon","okText","cancelText","confirmPrefixCls","type","okCancel","footer","locale"]);let Zr=Oe;if(!Oe&&Oe!==null)switch(mt){case"info":Zr=l.createElement(u.Z,null);break;case"success":Zr=l.createElement(f.Z,null);break;case"error":Zr=l.createElement(o.Z,null);break;default:Zr=l.createElement(h.Z,null)}const Yr=Mt!=null?Mt:mt==="confirm",xr=zt.autoFocusButton===null?!1:zt.autoFocusButton||"ok",[Mr]=(0,y.Z)("Modal"),mr=Ir||Mr,Nr=xt||(Yr?mr==null?void 0:mr.okText:mr==null?void 0:mr.justOkText),nn=xe||(mr==null?void 0:mr.cancelText),on=Object.assign({autoFocusButton:xr,cancelTextLocale:nn,okTextLocale:Nr,mergedOkCancel:Yr},St),or=l.useMemo(()=>on,(0,r.Z)(Object.values(on))),Rt=l.createElement(l.Fragment,null,l.createElement(R,null),l.createElement(D,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})},Zr,l.createElement("div",{className:`${Ye}-paragraph`},_t&&l.createElement("span",{className:`${Ye}-title`},zt.title),l.createElement("div",{className:`${Ye}-content`},zt.content))),Be===void 0||typeof Be=="function"?l.createElement(A,{value:or},l.createElement("div",{className:`${Ye}-btns`},typeof Be=="function"?Be(Rt,{OkBtn:D,CancelBtn:R}):Rt)):Be,l.createElement(Xt,{prefixCls:wt}))}var Ut=zt=>{const{close:wt,zIndex:Oe,afterClose:xt,visible:xe,open:Ye,keyboard:mt,centered:Mt,getContainer:Be,maskStyle:Ir,direction:St,prefixCls:Zr,wrapClassName:Yr,rootPrefixCls:xr,iconPrefixCls:Mr,theme:mr,bodyStyle:Nr,closable:nn=!1,closeIcon:on,modalRender:or,focusTriggerAfterClose:Rt,onConfirm:_t}=zt,vt=`${Zr}-confirm`,$t=zt.width||416,Sr=zt.style||{},vr=zt.mask===void 0?!0:zt.mask,Qr=zt.maskClosable===void 0?!1:zt.maskClosable,Wr=x()(vt,`${vt}-${zt.type}`,{[`${vt}-rtl`]:St==="rtl"},zt.className);return l.createElement(c.ZP,{prefixCls:xr,iconPrefixCls:Mr,direction:St,theme:mr},l.createElement(Bt,{prefixCls:Zr,className:Wr,wrapClassName:x()({[`${vt}-centered`]:!!zt.centered},Yr),onCancel:()=>{wt==null||wt({triggerCancel:!0}),_t==null||_t(!1)},open:Ye,title:"",footer:null,transitionName:(0,p.m)(xr||"","zoom",zt.transitionName),maskTransitionName:(0,p.m)(xr||"","fade",zt.maskTransitionName),mask:vr,maskClosable:Qr,maskStyle:Ir,style:Sr,bodyStyle:Nr,width:$t,zIndex:Oe,afterClose:xt,keyboard:mt,centered:Mt,getContainer:Be,closable:nn,closeIcon:on,modalRender:or,focusTriggerAfterClose:Rt},l.createElement(Ge,Object.assign({},zt,{confirmPrefixCls:vt}))))},bt=[],dt=function(zt,wt){var Oe={};for(var xt in zt)Object.prototype.hasOwnProperty.call(zt,xt)&&wt.indexOf(xt)<0&&(Oe[xt]=zt[xt]);if(zt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var xe=0,xt=Object.getOwnPropertySymbols(zt);xe<xt.length;xe++)wt.indexOf(xt[xe])<0&&Object.prototype.propertyIsEnumerable.call(zt,xt[xe])&&(Oe[xt[xe]]=zt[xt[xe]]);return Oe};let tt="";function Ue(){return tt}function ye(zt){const wt=document.createDocumentFragment();let Oe=Object.assign(Object.assign({},zt),{close:mt,open:!0}),xt;function xe(){for(var Be=arguments.length,Ir=new Array(Be),St=0;St<Be;St++)Ir[St]=arguments[St];const Zr=Ir.some(Yr=>Yr&&Yr.triggerCancel);zt.onCancel&&Zr&&zt.onCancel.apply(zt,[()=>{}].concat((0,r.Z)(Ir.slice(1))));for(let Yr=0;Yr<bt.length;Yr++)if(bt[Yr]===mt){bt.splice(Yr,1);break}(0,i.v)(wt)}function Ye(Be){var{okText:Ir,cancelText:St,prefixCls:Zr,getContainer:Yr}=Be,xr=dt(Be,["okText","cancelText","prefixCls","getContainer"]);clearTimeout(xt),xt=setTimeout(()=>{const Mr=(0,z.A)(),{getPrefixCls:mr,getIconPrefixCls:Nr,getTheme:nn}=(0,c.w6)(),on=mr(void 0,Ue()),or=Zr||`${on}-modal`,Rt=Nr(),_t=nn();let vt=Yr;vt===!1&&(vt=void 0),(0,i.s)(l.createElement(Ut,Object.assign({},xr,{getContainer:vt,prefixCls:or,rootPrefixCls:on,iconPrefixCls:Rt,okText:Ir,locale:Mr,theme:_t,cancelText:St||Mr.cancelText})),wt)})}function mt(){for(var Be=arguments.length,Ir=new Array(Be),St=0;St<Be;St++)Ir[St]=arguments[St];Oe=Object.assign(Object.assign({},Oe),{open:!1,afterClose:()=>{typeof zt.afterClose=="function"&&zt.afterClose(),xe.apply(this,Ir)}}),Oe.visible&&delete Oe.visible,Ye(Oe)}function Mt(Be){typeof Be=="function"?Oe=Be(Oe):Oe=Object.assign(Object.assign({},Oe),Be),Ye(Oe)}return Ye(Oe),bt.push(mt),{destroy:mt,update:Mt}}function Ce(zt){return Object.assign(Object.assign({},zt),{type:"warning"})}function Me(zt){return Object.assign(Object.assign({},zt),{type:"info"})}function je(zt){return Object.assign(Object.assign({},zt),{type:"success"})}function We(zt){return Object.assign(Object.assign({},zt),{type:"error"})}function nt(zt){return Object.assign(Object.assign({},zt),{type:"confirm"})}function lt(zt){let{rootPrefixCls:wt}=zt;tt=wt}var Vt=e(53487),Ht=function(zt,wt){var Oe={};for(var xt in zt)Object.prototype.hasOwnProperty.call(zt,xt)&&wt.indexOf(xt)<0&&(Oe[xt]=zt[xt]);if(zt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var xe=0,xt=Object.getOwnPropertySymbols(zt);xe<xt.length;xe++)wt.indexOf(xt[xe])<0&&Object.prototype.propertyIsEnumerable.call(zt,xt[xe])&&(Oe[xt[xe]]=zt[xt[xe]]);return Oe};const Pe=zt=>{const{prefixCls:wt,className:Oe,closeIcon:xt,closable:xe,type:Ye,title:mt,children:Mt}=zt,Be=Ht(zt,["prefixCls","className","closeIcon","closable","type","title","children"]),{getPrefixCls:Ir}=l.useContext(W.E_),St=Ir(),Zr=wt||Ir("modal"),[,Yr]=(0,_e.ZP)(Zr),xr=`${Zr}-confirm`;let Mr={};return Ye?Mr={closable:xe!=null?xe:!1,title:"",footer:"",children:l.createElement(Ge,Object.assign({},zt,{prefixCls:Zr,confirmPrefixCls:xr,rootPrefixCls:St,content:Mt}))}:Mr={closable:xe!=null?xe:!0,title:mt,footer:zt.footer===void 0?l.createElement(ae,Object.assign({},zt)):zt.footer,children:Mt},l.createElement(B.s,Object.assign({prefixCls:Zr,className:x()(Yr,`${Zr}-pure-panel`,Ye&&xr,Ye&&`${xr}-${Ye}`,Oe)},Be,{closeIcon:$(Zr,xt),closable:xe},Mr))};var et=(0,Vt.i)(Pe);function Kt(){const[zt,wt]=l.useState([]),Oe=l.useCallback(xt=>(wt(xe=>[].concat((0,r.Z)(xe),[xt])),()=>{wt(xe=>xe.filter(Ye=>Ye!==xt))}),[]);return[zt,Oe]}var kt=e(31724),Zt=function(zt,wt){var Oe={};for(var xt in zt)Object.prototype.hasOwnProperty.call(zt,xt)&&wt.indexOf(xt)<0&&(Oe[xt]=zt[xt]);if(zt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var xe=0,xt=Object.getOwnPropertySymbols(zt);xe<xt.length;xe++)wt.indexOf(xt[xe])<0&&Object.prototype.propertyIsEnumerable.call(zt,xt[xe])&&(Oe[xt[xe]]=zt[xt[xe]]);return Oe};const Nt=(zt,wt)=>{var Oe,{afterClose:xt,config:xe}=zt,Ye=Zt(zt,["afterClose","config"]);const[mt,Mt]=l.useState(!0),[Be,Ir]=l.useState(xe),{direction:St,getPrefixCls:Zr}=l.useContext(W.E_),Yr=Zr("modal"),xr=Zr(),Mr=()=>{var on;xt(),(on=Be.afterClose)===null||on===void 0||on.call(Be)},mr=function(){Mt(!1);for(var on=arguments.length,or=new Array(on),Rt=0;Rt<on;Rt++)or[Rt]=arguments[Rt];const _t=or.some(vt=>vt&&vt.triggerCancel);Be.onCancel&&_t&&Be.onCancel.apply(Be,[()=>{}].concat((0,r.Z)(or.slice(1))))};l.useImperativeHandle(wt,()=>({destroy:mr,update:on=>{Ir(or=>Object.assign(Object.assign({},or),on))}}));const Nr=(Oe=Be.okCancel)!==null&&Oe!==void 0?Oe:Be.type==="confirm",[nn]=(0,y.Z)("Modal",kt.Z.Modal);return l.createElement(Ut,Object.assign({prefixCls:Yr,rootPrefixCls:xr},Be,{close:mr,open:mt,afterClose:Mr,okText:Be.okText||(Nr?nn==null?void 0:nn.okText:nn==null?void 0:nn.justOkText),direction:Be.direction||St,cancelText:Be.cancelText||(nn==null?void 0:nn.cancelText)},Ye))};var tr=l.forwardRef(Nt);let Wt=0;const Fe=l.memo(l.forwardRef((zt,wt)=>{const[Oe,xt]=Kt();return l.useImperativeHandle(wt,()=>({patchElement:xt}),[]),l.createElement(l.Fragment,null,Oe)}));function fe(){const zt=l.useRef(null),[wt,Oe]=l.useState([]);l.useEffect(()=>{wt.length&&((0,r.Z)(wt).forEach(mt=>{mt()}),Oe([]))},[wt]);const xt=l.useCallback(Ye=>function(Mt){var Be;Wt+=1;const Ir=l.createRef();let St;const Zr=new Promise(Nr=>{St=Nr});let Yr=!1,xr;const Mr=l.createElement(tr,{key:`modal-${Wt}`,config:Ye(Mt),ref:Ir,afterClose:()=>{xr==null||xr()},isSilent:()=>Yr,onConfirm:Nr=>{St(Nr)}});return xr=(Be=zt.current)===null||Be===void 0?void 0:Be.patchElement(Mr),xr&&bt.push(xr),{destroy:()=>{function Nr(){var nn;(nn=Ir.current)===null||nn===void 0||nn.destroy()}Ir.current?Nr():Oe(nn=>[].concat((0,r.Z)(nn),[Nr]))},update:Nr=>{function nn(){var on;(on=Ir.current)===null||on===void 0||on.update(Nr)}Ir.current?nn():Oe(on=>[].concat((0,r.Z)(on),[nn]))},then:Nr=>(Yr=!0,Zr.then(Nr))}},[]);return[l.useMemo(()=>({info:xt(Me),success:xt(je),error:xt(We),warning:xt(Ce),confirm:xt(nt)}),[]),l.createElement(Fe,{key:"modal-holder",ref:zt})]}var pe=fe;function Pt(zt){return ye(Ce(zt))}const Ie=Bt;Ie.useModal=pe,Ie.info=function(wt){return ye(Me(wt))},Ie.success=function(wt){return ye(je(wt))},Ie.error=function(wt){return ye(We(wt))},Ie.warning=Pt,Ie.warn=Pt,Ie.confirm=function(wt){return ye(nt(wt))},Ie.destroyAll=function(){for(;bt.length;){const wt=bt.pop();wt&&wt()}},Ie.config=lt,Ie._InternalPanelDoNotUseOrYouWillBeFired=et;var ct=Ie},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:A}=_;return[{[`${b}-root`]:{[`${b}${A}-zoom-enter, ${b}${A}-zoom-appear`]:{transform:"none",opacity:0,animationDuration:_.motionDurationSlow,userSelect:"none"},[`${b}${A}-zoom-leave ${b}-content`]:{pointerEvents:"none"},[`${b}-mask`]:Object.assign(Object.assign({},o("fixed")),{zIndex:_.zIndexPopupBase,height:"100%",backgroundColor:_.colorBgMask,pointerEvents:"none",[`${b}-hidden`]:{display:"none"}}),[`${b}-wrap`]:Object.assign(Object.assign({},o("fixed")),{zIndex:_.zIndexPopupBase,overflow:"auto",outline:0,WebkitOverflowScrolling:"touch",[`&:has(${b}${A}-zoom-enter), &:has(${b}${A}-zoom-appear)`]:{pointerEvents:"none"}})}},{[`${b}-root`]:(0,i.J$)(_)}]},u=_=>{const{componentCls:b}=_;return[{[`${b}-root`]:{[`${b}-wrap-rtl`]:{direction:"rtl"},[`${b}-centered`]:{textAlign:"center","&::before":{display:"inline-block",width:0,height:"100%",verticalAlign:"middle",content:'""'},[b]:{top:0,display:"inline-block",paddingBottom:0,textAlign:"start",verticalAlign:"middle"}},[`@media (max-width: ${_.screenSMMax})`]:{[b]:{maxWidth:"calc(100vw - 16px)",margin:`${_.marginXS} auto`},[`${b}-centered`]:{[b]:{flex:1}}}}},{[b]:Object.assign(Object.assign({},(0,r.Wf)(_)),{pointerEvents:"none",position:"relative",top:100,width:"auto",maxWidth:`calc(100vw - ${_.margin*2}px)`,margin:"0 auto",paddingBottom:_.paddingLG,[`${b}-title`]:{margin:0,color:_.titleColor,fontWeight:_.fontWeightStrong,fontSize:_.titleFontSize,lineHeight:_.titleLineHeight,wordWrap:"break-word"},[`${b}-content`]:{position:"relative",backgroundColor:_.contentBg,backgroundClip:"padding-box",border:0,borderRadius:_.borderRadiusLG,boxShadow:_.boxShadow,pointerEvents:"auto",padding:`${_.paddingMD}px ${_.paddingContentHorizontalLG}px`},[`${b}-close`]:Object.assign({position:"absolute",top:(_.modalHeaderHeight-_.modalCloseBtnSize)/2,insetInlineEnd:(_.modalHeaderHeight-_.modalCloseBtnSize)/2,zIndex:_.zIndexPopupBase+10,padding:0,color:_.modalCloseIconColor,fontWeight:_.fontWeightStrong,lineHeight:1,textDecoration:"none",background:"transparent",borderRadius:_.borderRadiusSM,width:_.modalCloseBtnSize,height:_.modalCloseBtnSize,border:0,outline:0,cursor:"pointer",transition:`color ${_.motionDurationMid}, background-color ${_.motionDurationMid}`,"&-x":{display:"flex",fontSize:_.fontSizeLG,fontStyle:"normal",lineHeight:`${_.modalCloseBtnSize}px`,justifyContent:"center",textTransform:"none",textRendering:"auto"},"&:hover":{color:_.modalIconHoverColor,backgroundColor:_.wireframe?"transparent":_.colorFillContent,textDecoration:"none"},"&:active":{backgroundColor:_.wireframe?"transparent":_.colorFillContentHover}},(0,r.Qy)(_)),[`${b}-header`]:{color:_.colorText,background:_.headerBg,borderRadius:`${_.borderRadiusLG}px ${_.borderRadiusLG}px 0 0`,marginBottom:_.marginXS},[`${b}-body`]:{fontSize:_.fontSize,lineHeight:_.lineHeight,wordWrap:"break-word"},[`${b}-footer`]:{textAlign:"end",background:_.footerBg,marginTop:_.marginSM,[`${_.antCls}-btn + ${_.antCls}-btn:not(${_.antCls}-dropdown-trigger)`]:{marginBottom:0,marginInlineStart:_.marginXS}},[`${b}-open`]:{overflow:"hidden"}})},{[`${b}-pure-panel`]:{top:"auto",padding:0,display:"flex",flexDirection:"column",[`${b}-content,
|
|
|
${b}-body,
|
|
|
${b}-confirm-body-wrapper`]:{display:"flex",flexDirection:"column",flex:"auto"},[`${b}-confirm-body`]:{marginBottom:"auto"}}}]},a=_=>{const{componentCls:b,antCls:A}=_,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]:{[`${A}-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,A=_.fontSizeHeading5,k=_.lineHeightHeading5;return(0,c.TS)(_,{modalBodyPadding:_.paddingLG,modalHeaderPadding:`${b}px ${_.paddingLG}px`,modalHeaderBorderWidth:_.lineWidth,modalHeaderBorderStyle:_.lineType,modalHeaderBorderColorSplit:_.colorSplit,modalHeaderHeight:k*A+b*2,modalFooterBorderColorSplit:_.colorSplit,modalFooterBorderStyle:_.lineType,modalFooterPaddingVertical:_.paddingXS,modalFooterPaddingHorizontal:_.padding,modalFooterBorderWidth:_.lineWidth,modalIconHoverColor:_.colorIconHover,modalCloseIconColor:_.colorIcon,modalCloseBtnSize:_.fontSize*_.lineHeight,modalConfirmIconSize:_.fontSize*_.lineHeight})},y=_=>({footerBg:"transparent",headerBg:_.colorBgElevated,titleLineHeight:_.lineHeightHeading5,titleFontSize:_.fontSizeHeading5,contentBg:_.colorBgElevated,titleColor:_.colorTextHeading});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),A=e(17313),k=e(83116),R=e(37613),D=tt=>{const{componentCls:Ue,width:ye,notificationMarginEdge:Ce}=tt,Me=new b.Keyframes("antNotificationTopFadeIn",{"0%":{marginTop:"-100%",opacity:0},"100%":{marginTop:0,opacity:1}}),je=new b.Keyframes("antNotificationBottomFadeIn",{"0%":{marginBottom:"-100%",opacity:0},"100%":{marginBottom:0,opacity:1}}),We=new b.Keyframes("antNotificationLeftFadeIn",{"0%":{right:{_skip_check_:!0,value:ye},opacity:0},"100%":{right:{_skip_check_:!0,value:0},opacity:1}});return{[`&${Ue}-top, &${Ue}-bottom`]:{marginInline:0},[`&${Ue}-top`]:{[`${Ue}-fade-enter${Ue}-fade-enter-active, ${Ue}-fade-appear${Ue}-fade-appear-active`]:{animationName:Me}},[`&${Ue}-bottom`]:{[`${Ue}-fade-enter${Ue}-fade-enter-active, ${Ue}-fade-appear${Ue}-fade-appear-active`]:{animationName:je}},[`&${Ue}-topLeft, &${Ue}-bottomLeft`]:{marginInlineEnd:0,marginInlineStart:Ce,[`${Ue}-fade-enter${Ue}-fade-enter-active, ${Ue}-fade-appear${Ue}-fade-appear-active`]:{animationName:We}}}};const M=tt=>{const{iconCls:Ue,componentCls:ye,boxShadow:Ce,fontSizeLG:Me,notificationMarginBottom:je,borderRadiusLG:We,colorSuccess:nt,colorInfo:lt,colorWarning:Vt,colorError:Ht,colorTextHeading:Pe,notificationBg:et,notificationPadding:Kt,notificationMarginEdge:kt,motionDurationMid:Zt,motionEaseInOut:Nt,fontSize:tr,lineHeight:Wt,width:Fe,notificationIconSize:fe,colorText:pe}=tt,Pt=`${ye}-notice`,Ie=new b.Keyframes("antNotificationFadeIn",{"0%":{left:{_skip_check_:!0,value:Fe},opacity:0},"100%":{left:{_skip_check_:!0,value:0},opacity:1}}),ct=new b.Keyframes("antNotificationFadeOut",{"0%":{maxHeight:tt.animationMaxHeight,marginBottom:je,opacity:1},"100%":{maxHeight:0,marginBottom:0,paddingTop:0,paddingBottom:0,opacity:0}}),zt={position:"relative",width:Fe,maxWidth:`calc(100vw - ${kt*2}px)`,marginBottom:je,marginInlineStart:"auto",padding:Kt,overflow:"hidden",lineHeight:Wt,wordWrap:"break-word",background:et,borderRadius:We,boxShadow:Ce,[`${ye}-close-icon`]:{fontSize:tr,cursor:"pointer"},[`${Pt}-message`]:{marginBottom:tt.marginXS,color:Pe,fontSize:Me,lineHeight:tt.lineHeightLG},[`${Pt}-description`]:{fontSize:tr,color:pe},[`&${Pt}-closable ${Pt}-message`]:{paddingInlineEnd:tt.paddingLG},[`${Pt}-with-icon ${Pt}-message`]:{marginBottom:tt.marginXS,marginInlineStart:tt.marginSM+fe,fontSize:Me},[`${Pt}-with-icon ${Pt}-description`]:{marginInlineStart:tt.marginSM+fe,fontSize:tr},[`${Pt}-icon`]:{position:"absolute",fontSize:fe,lineHeight:0,[`&-success${Ue}`]:{color:nt},[`&-info${Ue}`]:{color:lt},[`&-warning${Ue}`]:{color:Vt},[`&-error${Ue}`]:{color:Ht}},[`${Pt}-close`]:{position:"absolute",top:tt.notificationPaddingVertical,insetInlineEnd:tt.notificationPaddingHorizontal,color:tt.colorIcon,outline:"none",width:tt.notificationCloseButtonSize,height:tt.notificationCloseButtonSize,borderRadius:tt.borderRadiusSM,transition:`background-color ${tt.motionDurationMid}, color ${tt.motionDurationMid}`,display:"flex",alignItems:"center",justifyContent:"center","&:hover":{color:tt.colorIconHover,backgroundColor:tt.wireframe?"transparent":tt.colorFillContent}},[`${Pt}-btn`]:{float:"right",marginTop:tt.marginSM}};return[{[ye]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,A.Wf)(tt)),{position:"fixed",zIndex:tt.zIndexPopup,marginInlineEnd:kt,[`${ye}-hook-holder`]:{position:"relative"},[`&${ye}-top, &${ye}-bottom`]:{[Pt]:{marginInline:"auto auto"}},[`&${ye}-topLeft, &${ye}-bottomLeft`]:{[Pt]:{marginInlineEnd:"auto",marginInlineStart:0}},[`${ye}-fade-enter, ${ye}-fade-appear`]:{animationDuration:tt.motionDurationMid,animationTimingFunction:Nt,animationFillMode:"both",opacity:0,animationPlayState:"paused"},[`${ye}-fade-leave`]:{animationTimingFunction:Nt,animationFillMode:"both",animationDuration:Zt,animationPlayState:"paused"},[`${ye}-fade-enter${ye}-fade-enter-active, ${ye}-fade-appear${ye}-fade-appear-active`]:{animationName:Ie,animationPlayState:"running"},[`${ye}-fade-leave${ye}-fade-leave-active`]:{animationName:ct,animationPlayState:"running"}}),D(tt)),{"&-rtl":{direction:"rtl",[`${Pt}-btn`]:{float:"left"}}})},{[ye]:{[Pt]:Object.assign({},zt)}},{[`${Pt}-pure-panel`]:Object.assign(Object.assign({},zt),{margin:0})}]};var B=(0,k.Z)("Notification",tt=>{const Ue=tt.paddingMD,ye=tt.paddingLG,Ce=(0,R.TS)(tt,{notificationBg:tt.colorBgElevated,notificationPaddingVertical:Ue,notificationPaddingHorizontal:ye,notificationIconSize:tt.fontSizeLG*tt.lineHeightLG,notificationCloseButtonSize:tt.controlHeightLG*.55,notificationMarginBottom:tt.margin,notificationPadding:`${tt.paddingMD}px ${tt.paddingContentHorizontalLG}px`,notificationMarginEdge:tt.marginLG,animationMaxHeight:150});return[M(Ce)]},tt=>({zIndexPopup:tt.zIndexPopupBase+50,width:384})),N=function(tt,Ue){var ye={};for(var Ce in tt)Object.prototype.hasOwnProperty.call(tt,Ce)&&Ue.indexOf(Ce)<0&&(ye[Ce]=tt[Ce]);if(tt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Me=0,Ce=Object.getOwnPropertySymbols(tt);Me<Ce.length;Me++)Ue.indexOf(Ce[Me])<0&&Object.prototype.propertyIsEnumerable.call(tt,Ce[Me])&&(ye[Ce[Me]]=tt[Ce[Me]]);return ye};const K={info:r.createElement(u.Z,null),success:r.createElement(c.Z,null),error:r.createElement(f.Z,null),warning:r.createElement(h.Z,null),loading:r.createElement(a.Z,null)};function G(tt,Ue){return Ue===null||Ue===!1?null:Ue||r.createElement("span",{className:`${tt}-close-x`},r.createElement(o.Z,{className:`${tt}-close-icon`}))}const W={success:c.Z,info:u.Z,error:f.Z,warning:h.Z},se=tt=>{const{prefixCls:Ue,icon:ye,type:Ce,message:Me,description:je,btn:We,role:nt="alert"}=tt;let lt=null;return ye?lt=r.createElement("span",{className:`${Ue}-icon`},ye):Ce&&(lt=r.createElement(W[Ce]||null,{className:p()(`${Ue}-icon`,`${Ue}-icon-${Ce}`)})),r.createElement("div",{className:p()({[`${Ue}-with-icon`]:lt}),role:nt},lt,r.createElement("div",{className:`${Ue}-message`},Me),r.createElement("div",{className:`${Ue}-description`},je),We&&r.createElement("div",{className:`${Ue}-btn`},We))};var le=tt=>{const{prefixCls:Ue,className:ye,icon:Ce,type:Me,message:je,description:We,btn:nt,closable:lt=!0,closeIcon:Vt}=tt,Ht=N(tt,["prefixCls","className","icon","type","message","description","btn","closable","closeIcon"]),{getPrefixCls:Pe}=r.useContext(_.E_),et=Ue||Pe("notification"),Kt=`${et}-notice`,[,kt]=B(et);return r.createElement(y.qX,Object.assign({},Ht,{prefixCls:et,className:p()(ye,kt,`${Kt}-pure-panel`),eventKey:"pure",duration:null,closable:lt,closeIcon:G(et,Vt),content:r.createElement(se,{prefixCls:Kt,icon:Ce,type:Me,message:je,description:We,btn:nt})}))};function q(tt,Ue,ye){let Ce;switch(tt){case"top":Ce={left:"50%",transform:"translateX(-50%)",right:"auto",top:Ue,bottom:"auto"};break;case"topLeft":Ce={left:0,top:Ue,bottom:"auto"};break;case"topRight":Ce={right:0,top:Ue,bottom:"auto"};break;case"bottom":Ce={left:"50%",transform:"translateX(-50%)",right:"auto",top:"auto",bottom:ye};break;case"bottomLeft":Ce={left:0,top:"auto",bottom:ye};break;default:Ce={right:0,top:"auto",bottom:ye};break}return Ce}function J(tt){return{motionName:`${tt}-fade`}}var V=function(tt,Ue){var ye={};for(var Ce in tt)Object.prototype.hasOwnProperty.call(tt,Ce)&&Ue.indexOf(Ce)<0&&(ye[Ce]=tt[Ce]);if(tt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Me=0,Ce=Object.getOwnPropertySymbols(tt);Me<Ce.length;Me++)Ue.indexOf(Ce[Me])<0&&Object.prototype.propertyIsEnumerable.call(tt,Ce[Me])&&(ye[Ce[Me]]=tt[Ce[Me]]);return ye};const ue=24,ee=4.5,Q="topRight",ce=tt=>{let{children:Ue,prefixCls:ye}=tt;const[,Ce]=B(ye);return r.createElement(y.JB,{classNames:{list:Ce,notice:Ce}},Ue)},z=(tt,Ue)=>{let{prefixCls:ye,key:Ce}=Ue;return r.createElement(ce,{prefixCls:ye,key:Ce},tt)},$=r.forwardRef((tt,Ue)=>{const{top:ye,bottom:Ce,prefixCls:Me,getContainer:je,maxCount:We,rtl:nt,onAllRemoved:lt}=tt,{getPrefixCls:Vt,getPopupContainer:Ht,notification:Pe}=r.useContext(_.E_),et=Me||Vt("notification"),Kt=Wt=>q(Wt,ye!=null?ye:ue,Ce!=null?Ce:ue),kt=()=>p()({[`${et}-rtl`]:nt}),Zt=()=>J(et),[Nt,tr]=(0,y.lm)({prefixCls:et,style:Kt,className:kt,motion:Zt,closable:!0,closeIcon:G(et),duration:ee,getContainer:()=>(je==null?void 0:je())||(Ht==null?void 0:Ht())||document.body,maxCount:We,onAllRemoved:lt,renderNotifications:z});return r.useImperativeHandle(Ue,()=>Object.assign(Object.assign({},Nt),{prefixCls:et,notification:Pe})),tr});function ae(tt){const Ue=r.useRef(null);return[r.useMemo(()=>{const Ce=nt=>{var lt;if(!Ue.current)return;const{open:Vt,prefixCls:Ht,notification:Pe}=Ue.current,et=`${Ht}-notice`,{message:Kt,description:kt,icon:Zt,type:Nt,btn:tr,className:Wt,style:Fe,role:fe="alert",closeIcon:pe}=nt,Pt=V(nt,["message","description","icon","type","btn","className","style","role","closeIcon"]),Ie=G(et,pe);return Vt(Object.assign(Object.assign({placement:(lt=tt==null?void 0:tt.placement)!==null&<!==void 0?lt:Q},Pt),{content:r.createElement(se,{prefixCls:et,icon:Zt,type:Nt,message:Kt,description:kt,btn:tr,role:fe}),className:p()(Nt&&`${et}-${Nt}`,Wt,Pe==null?void 0:Pe.className),style:Object.assign(Object.assign({},Pe==null?void 0:Pe.style),Fe),closeIcon:Ie,closable:!!Ie}))},je={open:Ce,destroy:nt=>{var lt,Vt;nt!==void 0?(lt=Ue.current)===null||lt===void 0||lt.close(nt):(Vt=Ue.current)===null||Vt===void 0||Vt.destroy()}};return["success","info","warning","error"].forEach(nt=>{je[nt]=lt=>Ce(Object.assign(Object.assign({},lt),{type:nt}))}),je},[]),r.createElement($,Object.assign({key:"notification-holder"},tt,{ref:Ue}))]}function _e(tt){return ae(tt)}let De=null,ke=tt=>tt(),He=[],$e={};function Bt(){const{prefixCls:tt,getContainer:Ue,rtl:ye,maxCount:Ce,top:Me,bottom:je}=$e,We=tt!=null?tt:(0,l.w6)().getPrefixCls("notification"),nt=(Ue==null?void 0:Ue())||document.body;return{prefixCls:We,getContainer:()=>nt,rtl:ye,maxCount:Ce,top:Me,bottom:je}}const gt=r.forwardRef((tt,Ue)=>{const[ye,Ce]=r.useState(Bt),[Me,je]=ae(ye),We=(0,l.w6)(),nt=We.getRootPrefixCls(),lt=We.getIconPrefixCls(),Vt=We.getTheme(),Ht=()=>{Ce(Bt)};return r.useEffect(Ht,[]),r.useImperativeHandle(Ue,()=>{const Pe=Object.assign({},Me);return Object.keys(Pe).forEach(et=>{Pe[et]=function(){return Ht(),Me[et].apply(Me,arguments)}}),{instance:Pe,sync:Ht}}),r.createElement(l.ZP,{prefixCls:nt,iconPrefixCls:lt,theme:Vt},je)});function Dt(){if(!De){const tt=document.createDocumentFragment(),Ue={fragment:tt};De=Ue,ke(()=>{(0,i.s)(r.createElement(gt,{ref:ye=>{const{instance:Ce,sync:Me}=ye||{};Promise.resolve().then(()=>{!Ue.instance&&Ce&&(Ue.instance=Ce,Ue.sync=Me,Dt())})}}),tt)});return}De.instance&&(He.forEach(tt=>{switch(tt.type){case"open":{ke(()=>{De.instance.open(Object.assign(Object.assign({},$e),tt.config))});break}case"destroy":ke(()=>{De==null||De.instance.destroy(tt.key)});break}}),He=[])}function nr(tt){$e=Object.assign(Object.assign({},$e),tt),ke(()=>{var Ue;(Ue=De==null?void 0:De.sync)===null||Ue===void 0||Ue.call(De)})}function Xt(tt){He.push({type:"open",config:tt}),Dt()}function cr(tt){He.push({type:"destroy",key:tt}),Dt()}const Ge=["success","info","warning","error"],Ut={open:Xt,destroy:cr,config:nr,useNotification:_e,_InternalPanelDoNotUseOrYouWillBeFired:le};Ge.forEach(tt=>{Ut[tt]=Ue=>Xt(Object.assign(Object.assign({},Ue),{type:tt}))});const at=()=>{};let bt=null;var dt=Ut},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,A){var k={};for(var R in b)Object.prototype.hasOwnProperty.call(b,R)&&A.indexOf(R)<0&&(k[R]=b[R]);if(b!=null&&typeof Object.getOwnPropertySymbols=="function")for(var C=0,R=Object.getOwnPropertySymbols(b);C<R.length;C++)A.indexOf(R[C])<0&&Object.prototype.propertyIsEnumerable.call(b,R[C])&&(k[R[C]]=b[R[C]]);return k};const a=c.createContext(null),x=(b,A)=>{const k=c.useContext(a),R=c.useMemo(()=>{if(!k)return"";const{compactDirection:C,isFirstItem:D,isLastItem:M}=k,B=C==="vertical"?"-vertical-":"-";return i()(`${b}-compact${B}item`,{[`${b}-compact${B}first-item`]:D,[`${b}-compact${B}last-item`]:M,[`${b}-compact${B}item-rtl`]:A==="rtl"})},[b,A,k]);return{compactSize:k==null?void 0:k.compactSize,compactDirection:k==null?void 0:k.compactDirection,compactItemClassnames:R}},p=b=>{let{children:A}=b;return c.createElement(a.Provider,{value:null},A)},y=b=>{var{children:A}=b,k=u(b,["children"]);return c.createElement(a.Provider,{value:k},A)},_=b=>{const{getPrefixCls:A,direction:k}=c.useContext(f.E_),{size:R,direction:C,block:D,prefixCls:M,className:B,rootClassName:N,children:K}=b,G=u(b,["size","direction","block","prefixCls","className","rootClassName","children"]),W=(0,o.Z)(ee=>R!=null?R:ee),se=A("space-compact",M),[ie,le]=(0,h.Z)(se),q=i()(se,le,{[`${se}-rtl`]:k==="rtl",[`${se}-block`]:D,[`${se}-vertical`]:C==="vertical"},B,N),J=c.useContext(a),V=(0,l.Z)(K),ue=c.useMemo(()=>V.map((ee,Q)=>{const ce=ee&&ee.key||`${se}-item-${Q}`;return c.createElement(y,{key:ce,compactSize:W,compactDirection:C,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:ie(c.createElement("div",Object.assign({className:q},G),ue))};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 A=(0,x.Z)("Spin",G=>{const W=(0,p.TS)(G,{spinDotDefault:G.colorTextDescription});return[b(W)]},G=>({contentHeight:400,dotSize:G.controlHeightLG/2,dotSizeSM:G.controlHeightLG*.35,dotSizeLG:G.controlHeight})),k=function(G,W){var se={};for(var ie in G)Object.prototype.hasOwnProperty.call(G,ie)&&W.indexOf(ie)<0&&(se[ie]=G[ie]);if(G!=null&&typeof Object.getOwnPropertySymbols=="function")for(var le=0,ie=Object.getOwnPropertySymbols(G);le<ie.length;le++)W.indexOf(ie[le])<0&&Object.prototype.propertyIsEnumerable.call(G,ie[le])&&(se[ie[le]]=G[ie[le]]);return se};const R=null;let C=null;function D(G,W){const{indicator:se}=W,ie=`${G}-dot`;return se===null?null:(0,o.l$)(se)?(0,o.Tm)(se,{className:i()(se.props.className,ie)}):(0,o.l$)(C)?(0,o.Tm)(C,{className:i()(C.props.className,ie)}):c.createElement("span",{className:i()(ie,`${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,W){return!!G&&!!W&&!isNaN(Number(W))}const B=G=>{const{spinPrefixCls:W,spinning:se=!0,delay:ie=0,className:le,rootClassName:q,size:J="default",tip:V,wrapperClassName:ue,style:ee,children:Q,hashId:ce}=G,z=k(G,["spinPrefixCls","spinning","delay","className","rootClassName","size","tip","wrapperClassName","style","children","hashId"]),[$,ae]=c.useState(()=>se&&!M(se,ie));c.useEffect(()=>{if(se){const nr=(0,f.D)(ie,()=>{ae(!0)});return nr(),()=>{var Xt;(Xt=nr==null?void 0:nr.cancel)===null||Xt===void 0||Xt.call(nr)}}ae(!1)},[ie,se]);const _e=c.useMemo(()=>typeof Q!="undefined",[Q]),{direction:De,spin:ke}=c.useContext(h.E_),He=i()(W,ke==null?void 0:ke.className,{[`${W}-sm`]:J==="small",[`${W}-lg`]:J==="large",[`${W}-spinning`]:$,[`${W}-show-text`]:!!V,[`${W}-rtl`]:De==="rtl"},le,q,ce),$e=i()(`${W}-container`,{[`${W}-blur`]:$}),Bt=(0,l.Z)(z,["indicator","prefixCls"]),gt=Object.assign(Object.assign({},ke==null?void 0:ke.style),ee),Dt=c.createElement("div",Object.assign({},Bt,{style:gt,className:He,"aria-live":"polite","aria-busy":$}),D(W,G),V&&_e?c.createElement("div",{className:`${W}-text`},V):null);return _e?c.createElement("div",Object.assign({},Bt,{className:i()(`${W}-nested-loading`,ue,ce)}),$&&c.createElement("div",{key:"loading"},Dt),c.createElement("div",{className:$e,key:"container"},Q)):Dt},N=G=>{const{prefixCls:W}=G,{getPrefixCls:se}=c.useContext(h.E_),ie=se("spin",W),[le,q]=A(ie),J=Object.assign(Object.assign({},G),{spinPrefixCls:ie,hashId:q});return le(c.createElement(B,Object.assign({},J)))};N.setDefaultIndicator=G=>{C=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}}),A={zoom:{inKeyframes:l,outKeyframes:c},"zoom-big":{inKeyframes:f,outKeyframes:o},"zoom-big-fast":{inKeyframes:f,outKeyframes:o},"zoom-left":{inKeyframes:a,outKeyframes:x},"zoom-right":{inKeyframes:p,outKeyframes:y},"zoom-up":{inKeyframes:h,outKeyframes:u},"zoom-down":{inKeyframes:_,outKeyframes:b}},k=(R,C)=>{const{antCls:D}=R,M=`${D}-${C}`,{inKeyframes:B,outKeyframes:N}=A[C];return[(0,i.R)(M,B,N,C==="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:A,arrowDistance:k=0,arrowPlacement:R={left:!0,right:!0,top:!0,bottom:!0}}=h,{dropdownArrowOffsetVertical:C,dropdownArrowOffset:D}=l({contentRadius:b,limitVerticalRadius:A});return{[u]:Object.assign(Object.assign(Object.assign(Object.assign({[`${u}-arrow`]:[Object.assign(Object.assign({position:"absolute",zIndex:1,display:"block"},(0,r.r)(a,x,p,_,y)),{"&:before":{background:_}})]},c(!!R.top,{[[`&-placement-top ${u}-arrow`,`&-placement-topLeft ${u}-arrow`,`&-placement-topRight ${u}-arrow`].join(",")]:{bottom:k,transform:"translateY(100%) rotate(180deg)"},[`&-placement-top ${u}-arrow`]:{left:{_skip_check_:!0,value:"50%"},transform:"translateX(-50%) translateY(100%) rotate(180deg)"},[`&-placement-topLeft ${u}-arrow`]:{left:{_skip_check_:!0,value:D}},[`&-placement-topRight ${u}-arrow`]:{right:{_skip_check_:!0,value:D}}})),c(!!R.bottom,{[[`&-placement-bottom ${u}-arrow`,`&-placement-bottomLeft ${u}-arrow`,`&-placement-bottomRight ${u}-arrow`].join(",")]:{top:k,transform:"translateY(-100%)"},[`&-placement-bottom ${u}-arrow`]:{left:{_skip_check_:!0,value:"50%"},transform:"translateX(-50%) translateY(-100%)"},[`&-placement-bottomLeft ${u}-arrow`]:{left:{_skip_check_:!0,value:D}},[`&-placement-bottomRight ${u}-arrow`]:{right:{_skip_check_:!0,value:D}}})),c(!!R.left,{[[`&-placement-left ${u}-arrow`,`&-placement-leftTop ${u}-arrow`,`&-placement-leftBottom ${u}-arrow`].join(",")]:{right:{_skip_check_:!0,value:k},transform:"translateX(100%) rotate(90deg)"},[`&-placement-left ${u}-arrow`]:{top:{_skip_check_:!0,value:"50%"},transform:"translateY(-50%) translateX(100%) rotate(90deg)"},[`&-placement-leftTop ${u}-arrow`]:{top:C},[`&-placement-leftBottom ${u}-arrow`]:{bottom:C}})),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:C},[`&-placement-rightBottom ${u}-arrow`]:{bottom:C}}))}}},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,A=_,k=2*h-x,R=p,C=2*h-u,D=a,M=h*Math.sqrt(2)+c*(Math.sqrt(2)-2),B=c*(Math.sqrt(2)-1);return{pointerEvents:"none",width:i,height:i,overflow:"hidden","&::before":{position:"absolute",bottom:0,insetInlineStart:0,width:i,height:i/2,background:f,clipPath:{_multi_value_:!0,value:[`polygon(${B}px 100%, 50% ${B}px, ${2*h-B}px 100%, ${B}px 100%)`,`path('M ${u} ${a} A ${c} ${c} 0 0 0 ${x} ${p} L ${y} ${_} A ${l} ${l} 0 0 1 ${b} ${A} L ${k} ${R} A ${c} ${c} 0 0 0 ${C} ${D} Z')`]},content:'""'},"&::after":{content:'""',position:"absolute",width:M,height:M,bottom:0,insetInline:0,margin:"auto",borderRadius:{_skip_check_:!0,value:`0 0 ${l}px 0`},transform:"translateY(50%) rotate(-135deg)",boxShadow:o,zIndex:0,background:"transparent"}}}},45246:function(d,v,e){"use strict";e.d(v,{Mj:function(){return K},u_:function(){return N},uH:function(){return B}});var r=e(36237),i=e(59301),l=e(30071),f=G=>{const{controlHeight:W}=G;return{controlHeightSM:W*.75,controlHeightXS:W*.5,controlHeightLG:W*1.25}};function o(G){const{sizeUnit:W,sizeStep:se}=G;return{sizeXXL:W*(se+8),sizeXL:W*(se+4),sizeLG:W*(se+2),sizeMD:W*(se+1),sizeMS:W*se,size:W*se,sizeSM:W*(se-1),sizeXS:W*(se-2),sizeXXS:W*(se-3)}}var h=e(34117),u=e(64993);function a(G,W){let{generateColorPalettes:se,generateNeutralColorPalettes:ie}=W;const{colorSuccess:le,colorWarning:q,colorError:J,colorInfo:V,colorPrimary:ue,colorBgBase:ee,colorTextBase:Q}=G,ce=se(ue),z=se(le),$=se(q),ae=se(J),_e=se(V),De=ie(ee,Q),ke=G.colorLink||G.colorInfo,He=se(ke);return Object.assign(Object.assign({},De),{colorPrimaryBg:ce[1],colorPrimaryBgHover:ce[2],colorPrimaryBorder:ce[3],colorPrimaryBorderHover:ce[4],colorPrimaryHover:ce[5],colorPrimary:ce[6],colorPrimaryActive:ce[7],colorPrimaryTextHover:ce[8],colorPrimaryText:ce[9],colorPrimaryTextActive:ce[10],colorSuccessBg:z[1],colorSuccessBgHover:z[2],colorSuccessBorder:z[3],colorSuccessBorderHover:z[4],colorSuccessHover:z[4],colorSuccess:z[6],colorSuccessActive:z[7],colorSuccessTextHover:z[8],colorSuccessText:z[9],colorSuccessTextActive:z[10],colorErrorBg:ae[1],colorErrorBgHover:ae[2],colorErrorBorder:ae[3],colorErrorBorderHover:ae[4],colorErrorHover:ae[5],colorError:ae[6],colorErrorActive:ae[7],colorErrorTextHover:ae[8],colorErrorText:ae[9],colorErrorTextActive:ae[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 W=G,se=G,ie=G,le=G;return G<6&&G>=5?W=G+1:G<16&&G>=6?W=G+2:G>=16&&(W=16),G<7&&G>=5?se=4:G<8&&G>=7?se=5:G<14&&G>=8?se=6:G<16&&G>=14?se=7:G>=16&&(se=8),G<6&&G>=2?ie=1:G>=6&&(ie=2),G>4&&G<8?le=4:G>=8&&(le=6),{borderRadius:G>16?16:G,borderRadiusXS:ie,borderRadiusSM:se,borderRadiusLG:W,borderRadiusOuter:le}};function y(G){const{motionUnit:W,motionBase:se,borderRadius:ie,lineWidth:le}=G;return Object.assign({motionDurationFast:`${(se+W).toFixed(1)}s`,motionDurationMid:`${(se+W*2).toFixed(1)}s`,motionDurationSlow:`${(se+W*3).toFixed(1)}s`,lineWidthBold:le+1},p(ie))}const _=(G,W)=>new u.C(G).setAlpha(W).toRgbString(),b=(G,W)=>new u.C(G).darken(W).toHexString(),A=G=>{const W=(0,l.generate)(G);return{1:W[0],2:W[1],3:W[2],4:W[3],5:W[4],6:W[5],7:W[6],8:W[4],9:W[5],10:W[6]}},k=(G,W)=>{const se=G||"#fff",ie=W||"#000";return{colorBgBase:se,colorTextBase:ie,colorText:_(ie,.88),colorTextSecondary:_(ie,.65),colorTextTertiary:_(ie,.45),colorTextQuaternary:_(ie,.25),colorFill:_(ie,.15),colorFillSecondary:_(ie,.06),colorFillTertiary:_(ie,.04),colorFillQuaternary:_(ie,.02),colorBgLayout:b(se,4),colorBgContainer:b(se,0),colorBgElevated:b(se,0),colorBgSpotlight:_(ie,.85),colorBorder:b(se,15),colorBorderSecondary:b(se,6)}};function R(G){const W=new Array(10).fill(null).map((se,ie)=>{const le=ie-1,q=G*Math.pow(2.71828,le/5),J=ie>1?Math.floor(q):Math.ceil(q);return Math.floor(J/2)*2});return W[1]=G,W.map(se=>{const ie=se+8;return{size:se,lineHeight:ie/se}})}var D=G=>{const W=R(G),se=W.map(le=>le.size),ie=W.map(le=>le.lineHeight);return{fontSizeSM:se[0],fontSize:se[1],fontSizeLG:se[2],fontSizeXL:se[3],fontSizeHeading1:se[6],fontSizeHeading2:se[5],fontSizeHeading3:se[4],fontSizeHeading4:se[3],fontSizeHeading5:se[2],lineHeight:ie[1],lineHeightLG:ie[2],lineHeightSM:ie[0],lineHeightHeading1:ie[6],lineHeightHeading2:ie[5],lineHeightHeading3:ie[4],lineHeightHeading4:ie[3],lineHeightHeading5:ie[2]}};function M(G){const W=Object.keys(h.M).map(se=>{const ie=(0,l.generate)(G[se]);return new Array(10).fill(1).reduce((le,q,J)=>(le[`${se}-${J+1}`]=ie[J],le[`${se}${J+1}`]=ie[J],le),{})}).reduce((se,ie)=>(se=Object.assign(Object.assign({},se),ie),se),{});return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},G),W),a(G,{generateColorPalettes:A,generateNeutralColorPalettes:k})),D(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 A}});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:C,g:D,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 W=.01;W<=1;W+=.01){const se=Math.round((C-N*(1-W))/W),ie=Math.round((D-K*(1-W))/W),le=Math.round((M-G*(1-W))/W);if(u(se)&&u(ie)&&u(le))return new h.C({r:se,g:ie,b:le,a:Math.round(W*100)/100}).toRgbString()}return new h.C({r:C,g:D,b:M,a:1}).toRgbString()}var x=a,p=function(k,R){var C={};for(var D in k)Object.prototype.hasOwnProperty.call(k,D)&&R.indexOf(D)<0&&(C[D]=k[D]);if(k!=null&&typeof Object.getOwnPropertySymbols=="function")for(var M=0,D=Object.getOwnPropertySymbols(k);M<D.length;M++)R.indexOf(D[M])<0&&Object.prototype.propertyIsEnumerable.call(k,D[M])&&(C[D[M]]=k[D[M]]);return C};function y(k){const{override:R}=k,C=p(k,["override"]),D=Object.assign({},R);Object.keys(o.Z).forEach(le=>{delete D[le]});const M=Object.assign(Object.assign({},C),D),B=480,N=576,K=768,G=992,W=1200,se=1600;if(M.motion===!1){const le="0s";M.motionDurationFast=le,M.motionDurationMid=le,M.motionDurationSlow=le}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:W-1,screenXL:W,screenXLMin:W,screenXLMax:se-1,screenXXL:se,screenXXLMin:se,boxShadowPopoverArrow:"2px 2px 5px rgba(0, 0, 0, 0.05)",boxShadowCard:`
|
|
|
0 1px 2px -2px ${new h.C("rgba(0, 0, 0, 0.16)").toRgbString()},
|
|
|
0 3px 6px 0 ${new h.C("rgba(0, 0, 0, 0.12)").toRgbString()},
|
|
|
0 5px 12px 4px ${new h.C("rgba(0, 0, 0, 0.09)").toRgbString()}
|
|
|
`,boxShadowDrawerRight:`
|
|
|
-6px 0 16px 0 rgba(0, 0, 0, 0.08),
|
|
|
-3px 0 6px -4px rgba(0, 0, 0, 0.12),
|
|
|
-9px 0 28px 8px rgba(0, 0, 0, 0.05)
|
|
|
`,boxShadowDrawerLeft:`
|
|
|
6px 0 16px 0 rgba(0, 0, 0, 0.08),
|
|
|
3px 0 6px -4px rgba(0, 0, 0, 0.12),
|
|
|
9px 0 28px 8px rgba(0, 0, 0, 0.05)
|
|
|
`,boxShadowDrawerUp:`
|
|
|
0 6px 16px 0 rgba(0, 0, 0, 0.08),
|
|
|
0 3px 6px -4px rgba(0, 0, 0, 0.12),
|
|
|
0 9px 28px 8px rgba(0, 0, 0, 0.05)
|
|
|
`,boxShadowDrawerDown:`
|
|
|
0 -6px 16px 0 rgba(0, 0, 0, 0.08),
|
|
|
0 -3px 6px -4px rgba(0, 0, 0, 0.12),
|
|
|
0 -9px 28px 8px rgba(0, 0, 0, 0.05)
|
|
|
`,boxShadowTabsOverflowLeft:"inset 10px 0 8px -8px rgba(0, 0, 0, 0.08)",boxShadowTabsOverflowRight:"inset -10px 0 8px -8px rgba(0, 0, 0, 0.08)",boxShadowTabsOverflowTop:"inset 0 10px 8px -8px rgba(0, 0, 0, 0.08)",boxShadowTabsOverflowBottom:"inset 0 -10px 8px -8px rgba(0, 0, 0, 0.08)"}),D)}var _=function(k,R){var C={};for(var D in k)Object.prototype.hasOwnProperty.call(k,D)&&R.indexOf(D)<0&&(C[D]=k[D]);if(k!=null&&typeof Object.getOwnPropertySymbols=="function")for(var M=0,D=Object.getOwnPropertySymbols(k);M<D.length;M++)R.indexOf(D[M])<0&&Object.prototype.propertyIsEnumerable.call(k,D[M])&&(C[D[M]]=k[D[M]]);return C};const b=(k,R,C)=>{const D=C.getDerivativeToken(k),{override:M}=R,B=_(R,["override"]);let N=Object.assign(Object.assign({},D),{override:M});return N=y(N),B&&Object.entries(B).forEach(K=>{let[G,W]=K;const{theme:se}=W,ie=_(W,["theme"]);let le=ie;se&&(le=b(Object.assign(Object.assign({},N),ie),{override:ie},se)),N[G]=le}),N};function A(){const{token:k,hashed:R,theme:C,components:D}=i.useContext(f.Mj),M=`${c}-${R||""}`,B=C||f.uH,[N,K]=(0,r.useCacheToken)(B,[o.Z,k],{salt:M,override:Object.assign({override:k},D),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 A=Array.isArray(p)?p:[p,p],[k]=A,R=A.join("-");return C=>{const[D,M,B]=(0,o.Z)(),{getPrefixCls:N,iconPrefixCls:K,csp:G}=(0,r.useContext)(c.E_),W=N(),se={theme:D,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({},se),{clientOnly:!1,path:["Shared",W]}),()=>[{"&":(0,f.Lx)(M)}]),(0,u.Z)(K),[(0,i.useStyleRegister)(Object.assign(Object.assign({},se),{path:[R,C,K]}),()=>{const{token:ie,flush:le}=(0,h.ZP)(M),q=Object.assign({},M[k]);if(b.deprecatedTokens){const{deprecatedTokens:ce}=b;ce.forEach(z=>{let[$,ae]=z;var _e;(q!=null&&q[$]||q!=null&&q[ae])&&((_e=q[ae])!==null&&_e!==void 0||(q[ae]=q==null?void 0:q[$]))})}const J=typeof _=="function"?_((0,h.TS)(ie,q!=null?q:{})):_,V=Object.assign(Object.assign({},J),q),ue=`.${C}`,ee=(0,h.TS)(ie,{componentCls:ue,prefixCls:C,iconCls:`.${K}`,antCls:`.${W}`},V),Q=y(ee,{hashId:B,prefixCls:C,rootPrefixCls:W,iconPrefixCls:K,overrideComponentToken:q});return le(k,V),[b.resetStyle===!1?null:(0,f.du)(M,C),Q]}),B]}}const x=(p,y,_,b)=>{const A=a(p,y,_,Object.assign({resetStyle:!1,order:-998},b));return R=>{let{prefixCls:C}=R;return A(C),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 le}});var r=e(59301),i=e(92310),l=e.n(i),c=e(55477),f=e(18929),o=e(62892),h=e(79676),u=e(92343),a=e(36355),x=e(33234),p=e(88088),y=e(17313),_=e(29878),b=e(19447),A=e(45157),k=e(37613),R=e(83116);const C=q=>{const{componentCls:J,tooltipMaxWidth:V,tooltipColor:ue,tooltipBg:ee,tooltipBorderRadius:Q,zIndexPopup:ce,controlHeight:z,boxShadowSecondary:$,paddingSM:ae,paddingXS:_e,tooltipRadiusOuter:De}=q;return[{[J]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,y.Wf)(q)),{position:"absolute",zIndex:ce,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:z,minHeight:z,padding:`${ae/2}px ${_e}px`,color:ue,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,A.Z)(q,(ke,He)=>{let{darkColor:$e}=He;return{[`&${J}-${ke}`]:{[`${J}-inner`]:{backgroundColor:$e},[`${J}-arrow`]:{"--antd-arrow-background-color":$e}}}})),{"&-rtl":{direction:"rtl"}})},(0,b.ZP)((0,k.TS)(q,{borderRadiusOuter:De}),{colorBg:"var(--antd-arrow-background-color)",contentRadius:Q,limitVerticalRadius:!0}),{[`${J}-pure`]:{position:"relative",maxWidth:"none",margin:q.sizePopupArrow}}]};var D=(q,J)=>(0,R.Z)("Tooltip",ue=>{if(J===!1)return[];const{borderRadius:ee,colorTextLightSolid:Q,colorBgDefault:ce,borderRadiusOuter:z}=ue,$=(0,k.TS)(ue,{tooltipMaxWidth:250,tooltipColor:Q,tooltipBorderRadius:ee,tooltipBg:ce,tooltipRadiusOuter:z>4?4:z});return[C($),(0,_._y)(ue,"zoom-big-fast")]},ue=>{let{zIndexPopupBase:ee,colorBgSpotlight:Q}=ue;return{zIndexPopup:ee+70,colorBgDefault:Q}},{resetStyle:!1})(q),M=e(36785);function B(q,J){const V=(0,M.o2)(J),ue=l()({[`${q}-${J}`]:J&&V}),ee={},Q={};return J&&!V&&(ee.background=J,Q["--antd-arrow-background-color"]=J),{className:ue,overlayStyle:ee,arrowStyle:Q}}var K=q=>{const{prefixCls:J,className:V,placement:ue="top",title:ee,color:Q,overlayInnerStyle:ce}=q,{getPrefixCls:z}=r.useContext(a.E_),$=z("tooltip",J),[ae,_e]=D($,!0),De=B($,Q),ke=De.arrowStyle,He=Object.assign(Object.assign({},ce),De.overlayStyle),$e=l()(_e,$,`${$}-pure`,`${$}-placement-${ue}`,V,De.className);return ae(r.createElement("div",{className:$e,style:ke},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 ue in q)Object.prototype.hasOwnProperty.call(q,ue)&&J.indexOf(ue)<0&&(V[ue]=q[ue]);if(q!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ee=0,ue=Object.getOwnPropertySymbols(q);ee<ue.length;ee++)J.indexOf(ue[ee])<0&&Object.prototype.propertyIsEnumerable.call(q,ue[ee])&&(V[ue[ee]]=q[ue[ee]]);return V};const W=(q,J)=>{const V={},ue=Object.assign({},q);return J.forEach(ee=>{q&&ee in q&&(V[ee]=q[ee],delete ue[ee])}),{picked:V,omitted:ue}};function se(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:ue,omitted:ee}=W(q.props.style,["position","left","right","top","bottom","float","display","zIndex"]),Q=Object.assign(Object.assign({display:"inline-block"},ue),{cursor:"not-allowed",width:q.props.block?"100%":void 0}),ce=Object.assign(Object.assign({},ee),{pointerEvents:"none"}),z=(0,u.Tm)(q,{style:ce,className:null});return r.createElement("span",{style:Q,className:l()(q.props.className,`${J}-disabled-compatible-wrapper`)},z)}return q}const ie=r.forwardRef((q,J)=>{var V,ue;const{prefixCls:ee,openClassName:Q,getTooltipContainer:ce,overlayClassName:z,color:$,overlayInnerStyle:ae,children:_e,afterOpenChange:De,afterVisibleChange:ke,destroyTooltipOnHide:He,arrow:$e=!0,title:Bt,overlay:gt,builtinPlacements:Dt,arrowPointAtCenter:nr=!1,autoAdjustOverflow:Xt=!0}=q,cr=!!$e,[,Ge]=(0,p.Z)(),{getPopupContainer:Tt,getPrefixCls:Ut,direction:at}=r.useContext(a.E_),bt=r.useRef(null),dt=()=>{var Oe;(Oe=bt.current)===null||Oe===void 0||Oe.forceAlign()};r.useImperativeHandle(J,()=>({forceAlign:dt,forcePopupAlign:()=>{dt()}}));const[tt,Ue]=(0,f.Z)(!1,{value:(V=q.open)!==null&&V!==void 0?V:q.visible,defaultValue:(ue=q.defaultOpen)!==null&&ue!==void 0?ue:q.defaultVisible}),ye=!Bt&&!gt&&Bt!==0,Ce=Oe=>{var xt,xe;Ue(ye?!1:Oe),ye||((xt=q.onOpenChange)===null||xt===void 0||xt.call(q,Oe),(xe=q.onVisibleChange)===null||xe===void 0||xe.call(q,Oe))},Me=r.useMemo(()=>{var Oe,xt;let xe=nr;return typeof $e=="object"&&(xe=(xt=(Oe=$e.pointAtCenter)!==null&&Oe!==void 0?Oe:$e.arrowPointAtCenter)!==null&&xt!==void 0?xt:nr),Dt||(0,h.Z)({arrowPointAtCenter:xe,autoAdjustOverflow:Xt,arrowWidth:cr?Ge.sizePopupArrow:0,borderRadius:Ge.borderRadius,offset:Ge.marginXXS,visibleFirst:!0})},[nr,$e,Dt,Ge]),je=r.useMemo(()=>Bt===0?Bt:gt||Bt||"",[gt,Bt]),We=r.createElement(x.BR,null,typeof je=="function"?je():je),{getPopupContainer:nt,placement:lt="top",mouseEnterDelay:Vt=.1,mouseLeaveDelay:Ht=.1,overlayStyle:Pe,rootClassName:et}=q,Kt=G(q,["getPopupContainer","placement","mouseEnterDelay","mouseLeaveDelay","overlayStyle","rootClassName"]),kt=Ut("tooltip",ee),Zt=Ut(),Nt=q["data-popover-inject"];let tr=tt;!("open"in q)&&!("visible"in q)&&ye&&(tr=!1);const Wt=se((0,u.l$)(_e)&&!(0,u.M2)(_e)?_e:r.createElement("span",null,_e),kt),Fe=Wt.props,fe=!Fe.className||typeof Fe.className=="string"?l()(Fe.className,Q||`${kt}-open`):Fe.className,[pe,Pt]=D(kt,!Nt),Ie=B(kt,$),ct=Ie.arrowStyle,zt=Object.assign(Object.assign({},ae),Ie.overlayStyle),wt=l()(z,{[`${kt}-rtl`]:at==="rtl"},Ie.className,et,Pt);return pe(r.createElement(c.Z,Object.assign({},Kt,{showArrow:cr,placement:lt,mouseEnterDelay:Vt,mouseLeaveDelay:Ht,prefixCls:kt,overlayClassName:wt,overlayStyle:Object.assign(Object.assign({},ct),Pe),getTooltipContainer:nt||ce||Tt,ref:bt,builtinPlacements:Me,overlay:We,visible:tr,onVisibleChange:Ce,afterVisibleChange:De!=null?De:ke,overlayInnerStyle:zt,arrowContent:r.createElement("span",{className:`${kt}-arrow-content`}),motion:{motionName:(0,o.m)(Zt,"zoom-big-fast",q.transitionName),motionDeadline:1e3},destroyTooltipOnHide:!!He}),tr?(0,u.Tm)(Wt,{className:fe}):Wt))});ie._InternalPanelDoNotUseOrYouWillBeFired=K;var le=ie},11575:function(d,v,e){"use strict";e.d(v,{H:function(){return f}});var r=e(70425),i=e(59301);function l(){}const c=i.createContext({add:l,remove:l});function f(h){const u=i.useContext(c),a=i.useRef();return(0,r.useEvent)(p=>{if(p){const y=h?p.querySelector(h):p;u.add(y),a.current=y}else u.remove(a.current)})}var o=null},67751:function(d){var v={utf8:{stringToBytes:function(e){return v.bin.stringToBytes(unescape(encodeURIComponent(e)))},bytesToString:function(e){return decodeURIComponent(escape(v.bin.bytesToString(e)))}},bin:{stringToBytes:function(e){for(var r=[],i=0;i<e.length;i++)r.push(e.charCodeAt(i)&255);return r},bytesToString:function(e){for(var r=[],i=0;i<e.length;i++)r.push(String.fromCharCode(e[i]));return r.join("")}}};d.exports=v},64018:function(){var d,v,e,r=!1,i,l;window.PR_SHOULD_USE_CONTINUATION=!0;var c,f;(function(){var o=window,h=["break,continue,do,else,for,if,return,while"],u=[h,"auto,case,char,const,default,double,enum,extern,float,goto,inline,int,long,register,restrict,short,signed,sizeof,static,struct,switch,typedef,union,unsigned,void,volatile"],a=[u,"catch,class,delete,false,import,new,operator,private,protected,public,this,throw,true,try,typeof"],x=[a,"alignas,alignof,align_union,asm,axiom,bool,concept,concept_map,const_cast,constexpr,decltype,delegate,dynamic_cast,explicit,export,friend,generic,late_check,mutable,namespace,noexcept,noreturn,nullptr,property,reinterpret_cast,static_assert,static_cast,template,typeid,typename,using,virtual,where"],p=[a,"abstract,assert,boolean,byte,extends,finally,final,implements,import,instanceof,interface,null,native,package,strictfp,super,synchronized,throws,transient"],y=[a,"abstract,add,alias,as,ascending,async,await,base,bool,by,byte,checked,decimal,delegate,descending,dynamic,event,finally,fixed,foreach,from,get,global,group,implicit,in,interface,internal,into,is,join,let,lock,null,object,out,override,orderby,params,partial,readonly,ref,remove,sbyte,sealed,select,set,stackalloc,string,select,uint,ulong,unchecked,unsafe,ushort,value,var,virtual,where,yield"],_="all,and,by,catch,class,else,extends,false,finally,for,if,in,is,isnt,loop,new,no,not,null,of,off,on,or,return,super,then,throw,true,try,unless,until,when,while,yes",b=[a,"abstract,async,await,constructor,debugger,enum,eval,export,function,get,implements,instanceof,interface,let,null,set,undefined,var,with,yield,Infinity,NaN"],A="caller,delete,die,do,dump,elsif,eval,exit,foreach,for,goto,if,import,last,local,my,next,no,our,print,package,redo,require,sub,undef,unless,until,use,wantarray,while,BEGIN,END",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"],C=[h,"case,done,elif,esac,eval,fi,function,in,local,set,then,until"],D=[x,y,p,b,A,k,R,C],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",W="lit",se="pun",ie="pln",le="tag",q="dec",J="src",V="atn",ue="atv",ee="nocode",Q="(?:^^\\.?|[+-]|[!=]=?=?|\\#|%=?|&&?=?|\\(|\\*=?|[+\\-]=|->|\\/=?|::?|<<?=?|>>?>?=?|,|;|\\?|@|\\[|~|{|\\^\\^?=?|\\|\\|?=?|break|case|continue|delete|do|else|finally|instanceof|return|throw|try|typeof)\\s*";function ce(at){for(var bt=0,dt=!1,tt=!1,Ue=0,ye=at.length;Ue<ye;++Ue){var Ce=at[Ue];if(Ce.ignoreCase)tt=!0;else if(/[a-z]/i.test(Ce.source.replace(/\\u[0-9a-f]{4}|\\x[0-9a-f]{2}|\\[^ux]/gi,""))){dt=!0,tt=!1;break}}var Me={b:8,t:9,n:10,v:11,f:12,r:13};function je(Ht){var Pe=Ht.charCodeAt(0);if(Pe!==92)return Pe;var et=Ht.charAt(1);return Pe=Me[et],Pe||("0"<=et&&et<="7"?parseInt(Ht.substring(1),8):et==="u"||et==="x"?parseInt(Ht.substring(2),16):Ht.charCodeAt(1))}function We(Ht){if(Ht<32)return(Ht<16?"\\x0":"\\x")+Ht.toString(16);var Pe=String.fromCharCode(Ht);return Pe==="\\"||Pe==="-"||Pe==="]"||Pe==="^"?"\\"+Pe:Pe}function nt(Ht){var Pe=Ht.substring(1,Ht.length-1).match(new RegExp("\\\\u[0-9A-Fa-f]{4}|\\\\x[0-9A-Fa-f]{2}|\\\\[0-3][0-7]{0,2}|\\\\[0-7]{1,2}|\\\\[\\s\\S]|-|[^-\\\\]","g")),et=[],Kt=Pe[0]==="^",kt=["["];Kt&&kt.push("^");for(var Zt=Kt?1:0,Nt=Pe.length;Zt<Nt;++Zt){var tr=Pe[Zt];if(/\\[bdsw]/i.test(tr))kt.push(tr);else{var Wt=je(tr),Fe;Zt+2<Nt&&Pe[Zt+1]==="-"?(Fe=je(Pe[Zt+2]),Zt+=2):Fe=Wt,et.push([Wt,Fe]),Fe<65||Wt>122||(Fe<65||Wt>90||et.push([Math.max(65,Wt)|32,Math.min(Fe,90)|32]),Fe<97||Wt>122||et.push([Math.max(97,Wt)&-33,Math.min(Fe,122)&-33]))}}et.sort(function(Ie,ct){return Ie[0]-ct[0]||ct[1]-Ie[1]});for(var fe=[],pe=[],Zt=0;Zt<et.length;++Zt){var Pt=et[Zt];Pt[0]<=pe[1]+1?pe[1]=Math.max(pe[1],Pt[1]):fe.push(pe=Pt)}for(var Zt=0;Zt<fe.length;++Zt){var Pt=fe[Zt];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 lt(Ht){for(var Pe=Ht.source.match(new RegExp("(?:\\[(?:[^\\x5C\\x5D]|\\\\[\\s\\S])*\\]|\\\\u[A-Fa-f0-9]{4}|\\\\x[A-Fa-f0-9]{2}|\\\\[0-9]+|\\\\[^ux0-9]|\\(\\?[:!=]|[\\(\\)\\^]|[^\\x5B\\x5C\\(\\)\\^]+)","g")),et=Pe.length,Kt=[],kt=0,Zt=0;kt<et;++kt){var Nt=Pe[kt];if(Nt==="(")++Zt;else if(Nt.charAt(0)==="\\"){var tr=+Nt.substring(1);tr&&(tr<=Zt?Kt[tr]=-1:Pe[kt]=We(tr))}}for(var kt=1;kt<Kt.length;++kt)Kt[kt]===-1&&(Kt[kt]=++bt);for(var kt=0,Zt=0;kt<et;++kt){var Nt=Pe[kt];if(Nt==="(")++Zt,Kt[Zt]||(Pe[kt]="(?:");else if(Nt.charAt(0)==="\\"){var tr=+Nt.substring(1);tr&&tr<=Zt&&(Pe[kt]="\\"+Kt[tr])}}for(var kt=0;kt<et;++kt)Pe[kt]==="^"&&Pe[kt+1]!=="^"&&(Pe[kt]="");if(Ht.ignoreCase&&dt)for(var kt=0;kt<et;++kt){var Nt=Pe[kt],Wt=Nt.charAt(0);Nt.length>=2&&Wt==="["?Pe[kt]=nt(Nt):Wt!=="\\"&&(Pe[kt]=Nt.replace(/[a-zA-Z]/g,function(pe){var Pt=pe.charCodeAt(0);return"["+String.fromCharCode(Pt&-33,Pt|32)+"]"}))}return Pe.join("")}for(var Vt=[],Ue=0,ye=at.length;Ue<ye;++Ue){var Ce=at[Ue];if(Ce.global||Ce.multiline)throw new Error(""+Ce);Vt.push("(?:"+lt(Ce)+")")}return new RegExp(Vt.join("|"),tt?"gi":"g")}function z(at,bt){var dt=/(?:^|\s)nocode(?:\s|$)/,tt=[],Ue=0,ye=[],Ce=0;function Me(je){var We=je.nodeType;if(We==1){if(dt.test(je.className))return;for(var nt=je.firstChild;nt;nt=nt.nextSibling)Me(nt);var lt=je.nodeName.toLowerCase();(lt==="br"||lt==="li")&&(tt[Ce]=`
|
|
|
`,ye[Ce<<1]=Ue++,ye[Ce++<<1|1]=je)}else if(We==3||We==4){var Vt=je.nodeValue;Vt.length&&(bt?Vt=Vt.replace(/\r\n?/g,`
|
|
|
`):Vt=Vt.replace(/[ \t\r\n]+/g," "),tt[Ce]=Vt,ye[Ce<<1]=Ue,Ue+=Vt.length,ye[Ce++<<1|1]=je)}}return Me(at),{sourceCode:tt.join("").replace(/\n$/,""),spans:ye}}function $(at,bt,dt,tt,Ue){if(dt){var ye={sourceNode:at,pre:1,langExtension:null,numberLines:null,sourceCode:dt,spans:null,basePos:bt,decorations:null};tt(ye),Ue.push.apply(Ue,ye.decorations)}}var ae=/\S/;function _e(at){for(var bt=void 0,dt=at.firstChild;dt;dt=dt.nextSibling){var tt=dt.nodeType;bt=tt===1?bt?at:dt:tt===3&&ae.test(dt.nodeValue)?at:bt}return bt===at?void 0:bt}function De(at,bt){var dt={},tt;(function(){for(var Ce=at.concat(bt),Me=[],je={},We=0,nt=Ce.length;We<nt;++We){var lt=Ce[We],Vt=lt[3];if(Vt)for(var Ht=Vt.length;--Ht>=0;)dt[Vt.charAt(Ht)]=lt;var Pe=lt[1],et=""+Pe;je.hasOwnProperty(et)||(Me.push(Pe),je[et]=null)}Me.push(/[\0-\uffff]/),tt=ce(Me)})();var Ue=bt.length,ye=function(Ce){for(var Me=Ce.sourceCode,je=Ce.basePos,We=Ce.sourceNode,nt=[je,ie],lt=0,Vt=Me.match(tt)||[],Ht={},Pe=0,et=Vt.length;Pe<et;++Pe){var Kt=Vt[Pe],kt=Ht[Kt],Zt=void 0,Nt;if(typeof kt=="string")Nt=!1;else{var tr=dt[Kt.charAt(0)];if(tr)Zt=Kt.match(tr[1]),kt=tr[0];else{for(var Wt=0;Wt<Ue;++Wt)if(tr=bt[Wt],Zt=Kt.match(tr[1]),Zt){kt=tr[0];break}Zt||(kt=ie)}Nt=kt.length>=5&&kt.substring(0,5)==="lang-",Nt&&!(Zt&&typeof Zt[1]=="string")&&(Nt=!1,kt=J),Nt||(Ht[Kt]=kt)}var Fe=lt;if(lt+=Kt.length,!Nt)nt.push(je+Fe,kt);else{var fe=Zt[1],pe=Kt.indexOf(fe),Pt=pe+fe.length;Zt[2]&&(Pt=Kt.length-Zt[2].length,pe=Pt-fe.length);var Ie=kt.substring(5);$(We,je+Fe,Kt.substring(0,pe),ye,nt),$(We,je+Fe+pe,fe,nr(Ie,fe),nt),$(We,je+Fe+Pt,Kt.substring(Pt),ye,nt)}}Ce.decorations=nt};return ye}function ke(at){var bt=[],dt=[];at.tripleQuotedStrings?bt.push([B,/^(?:\'\'\'(?:[^\'\\]|\\[\s\S]|\'{1,2}(?=[^\']))*(?:\'\'\'|$)|\"\"\"(?:[^\"\\]|\\[\s\S]|\"{1,2}(?=[^\"]))*(?:\"\"\"|$)|\'(?:[^\\\']|\\[\s\S])*(?:\'|$)|\"(?:[^\\\"]|\\[\s\S])*(?:\"|$))/,null,`'"`]):at.multiLineStrings?bt.push([B,/^(?:\'(?:[^\\\']|\\[\s\S])*(?:\'|$)|\"(?:[^\\\"]|\\[\s\S])*(?:\"|$)|\`(?:[^\\\`]|\\[\s\S])*(?:\`|$))/,null,"'\"`"]):bt.push([B,/^(?:\'(?:[^\\\'\r\n]|\\.)*(?:\'|$)|\"(?:[^\\\"\r\n]|\\.)*(?:\"|$))/,null,`"'`]),at.verbatimStrings&&dt.push([B,/^@\"(?:[^\"]|\"\")*(?:\"|$)/,null]);var tt=at.hashComments;tt&&(at.cStyleComments?(tt>1?bt.push([K,/^#(?:##(?:[^#]|#(?!##))*(?:###|$)|.*)/,null,"#"]):bt.push([K,/^#(?:(?:define|e(?:l|nd)if|else|error|ifn?def|include|line|pragma|undef|warning)\b|[^\r\n]*)/,null,"#"]),dt.push([B,/^<(?:(?:(?:\.\.\/)*|\/?)(?:[\w-]+(?:\/[\w-]+)+)?[\w-]+\.h(?:h|pp|\+\+)?|[a-z]\w*)>/,null])):bt.push([K,/^#[^\r\n]*/,null,"#"])),at.cStyleComments&&(dt.push([K,/^\/\/[^\r\n]*/,null]),dt.push([K,/^\/\*[\s\S]*?(?:\*\/|$)/,null]));var Ue=at.regexLiterals;if(Ue){var ye=Ue>1?"":`
|
|
|
\r`,Ce=ye?".":"[\\S\\s]",Me="/(?=[^/*"+ye+"])(?:[^/\\x5B\\x5C"+ye+"]|\\x5C"+Ce+"|\\x5B(?:[^\\x5C\\x5D"+ye+"]|\\x5C"+Ce+")*(?:\\x5D|$))+/";dt.push(["lang-regex",RegExp("^"+Q+"("+Me+")")])}var je=at.types;je&&dt.push([G,je]);var We=(""+at.keywords).replace(/^ | $/g,"");We.length&&dt.push([N,new RegExp("^(?:"+We.replace(/[\s,]+/g,"|")+")\\b"),null]),bt.push([ie,/^\s+/,null,` \r
|
|
|
\xA0`]);var nt="^.[^\\s\\w.$@'\"`/\\\\]*";return at.regexLiterals&&(nt+="(?!s*/)"),dt.push([W,/^@[a-z_$][a-z_$@0-9]*/i,null],[G,/^(?:[@_]?[A-Z]+[a-z][A-Za-z_$@0-9]*|\w+_t\b)/,null],[ie,/^[a-z_$][a-z_$@0-9]*/i,null],[W,new RegExp("^(?:0x[a-f0-9]+|(?:\\d(?:_\\d+)*\\d*(?:\\.\\d*)?|\\.\\d\\+)(?:e[+\\-]?\\d+)?)[a-z]*","i"),null,"0123456789"],[ie,/^\\[\s\S]?/,null],[se,new RegExp(nt),null]),De(bt,dt)}var He=ke({keywords:D,hashComments:!0,cStyleComments:!0,multiLineStrings:!0,regexLiterals:!0});function $e(at,bt,dt){for(var tt=/(?:^|\s)nocode(?:\s|$)/,Ue=/\r\n?|\n/,ye=at.ownerDocument,Ce=ye.createElement("li");at.firstChild;)Ce.appendChild(at.firstChild);var Me=[Ce];function je(Pe){var et=Pe.nodeType;if(et==1&&!tt.test(Pe.className))if(Pe.nodeName==="br")We(Pe),Pe.parentNode&&Pe.parentNode.removeChild(Pe);else for(var Kt=Pe.firstChild;Kt;Kt=Kt.nextSibling)je(Kt);else if((et==3||et==4)&&dt){var kt=Pe.nodeValue,Zt=kt.match(Ue);if(Zt){var Nt=kt.substring(0,Zt.index);Pe.nodeValue=Nt;var tr=kt.substring(Zt.index+Zt[0].length);if(tr){var Wt=Pe.parentNode;Wt.insertBefore(ye.createTextNode(tr),Pe.nextSibling)}We(Pe),Nt||Pe.parentNode.removeChild(Pe)}}}function We(Pe){for(;!Pe.nextSibling;)if(Pe=Pe.parentNode,!Pe)return;function et(Zt,Nt){var tr=Nt?Zt.cloneNode(!1):Zt,Wt=Zt.parentNode;if(Wt){var Fe=et(Wt,1),fe=Zt.nextSibling;Fe.appendChild(tr);for(var pe=fe;pe;pe=fe)fe=pe.nextSibling,Fe.appendChild(pe)}return tr}for(var Kt=et(Pe.nextSibling,0),kt;(kt=Kt.parentNode)&&kt.nodeType===1;)Kt=kt;Me.push(Kt)}for(var nt=0;nt<Me.length;++nt)je(Me[nt]);bt===(bt|0)&&Me[0].setAttribute("value",bt);var lt=ye.createElement("ol");lt.className="linenums";for(var Vt=Math.max(0,bt-1|0)||0,nt=0,Ht=Me.length;nt<Ht;++nt)Ce=Me[nt],Ce.className="L"+(nt+Vt)%10,Ce.firstChild||Ce.appendChild(ye.createTextNode("\xA0")),lt.appendChild(Ce);at.appendChild(lt)}function Bt(at){var bt=/\bMSIE\s(\d+)/.exec(navigator.userAgent);bt=bt&&+bt[1]<=8;var dt=/\n/g,tt=at.sourceCode,Ue=tt.length,ye=0,Ce=at.spans,Me=Ce.length,je=0,We=at.decorations,nt=We.length,lt=0;We[nt]=Ue;var Vt,Ht;for(Ht=Vt=0;Ht<nt;)We[Ht]!==We[Ht+2]?(We[Vt++]=We[Ht++],We[Vt++]=We[Ht++]):Ht+=2;for(nt=Vt,Ht=Vt=0;Ht<nt;){for(var Pe=We[Ht],et=We[Ht+1],Kt=Ht+2;Kt+2<=nt&&We[Kt+1]===et;)Kt+=2;We[Vt++]=Pe,We[Vt++]=et,Ht=Kt}nt=We.length=Vt;var kt=at.sourceNode,Zt="";kt&&(Zt=kt.style.display,kt.style.display="none");try{for(var Nt=null;je<Me;){var tr=Ce[je],Wt=Ce[je+2]||Ue,Fe=We[lt+2]||Ue,Kt=Math.min(Wt,Fe),fe=Ce[je+1],pe;if(fe.nodeType!==1&&(pe=tt.substring(ye,Kt))){bt&&(pe=pe.replace(dt,"\r")),fe.nodeValue=pe;var Pt=fe.ownerDocument,Ie=Pt.createElement("span");Ie.className=We[lt+1];var ct=fe.parentNode;ct.replaceChild(Ie,fe),Ie.appendChild(fe),ye<Wt&&(Ce[je+1]=fe=Pt.createTextNode(tt.substring(Kt,Wt)),ct.insertBefore(fe,Ie.nextSibling))}ye=Kt,ye>=Wt&&(je+=2),ye>=Fe&&(lt+=2)}}finally{kt&&(kt.style.display=Zt)}}var gt={};function Dt(at,bt){for(var dt=bt.length;--dt>=0;){var tt=bt[dt];gt.hasOwnProperty(tt)?o.console&&console.warn("cannot override language handler %s",tt):gt[tt]=at}}function nr(at,bt){return at&>.hasOwnProperty(at)||(at=/^\s*</.test(bt)?"default-markup":"default-code"),gt[at]}Dt(He,["default-code"]),Dt(De([],[[ie,/^[^<?]+/],[q,/^<!\w[^>]*(?:>|$)/],[K,/^<\!--[\s\S]*?(?:-\->|$)/],["lang-",/^<\?([\s\S]+?)(?:\?>|$)/],["lang-",/^<%([\s\S]+?)(?:%>|$)/],[se,/^(?:<[%?]|[%?]>)/],["lang-",/^<xmp\b[^>]*>([\s\S]+?)<\/xmp\b[^>]*>/i],["lang-js",/^<script\b[^>]*>([\s\S]*?)(<\/script\b[^>]*>)/i],["lang-css",/^<style\b[^>]*>([\s\S]*?)(<\/style\b[^>]*>)/i],["lang-in.tag",/^(<\/?[a-z][^<>]*>)/i]]),["default-markup","htm","html","mxml","xhtml","xml","xsl"]),Dt(De([[ie,/^[\s]+/,null,` \r
|
|
|
`],[ue,/^(?:\"[^\"]*\"?|\'[^\']*\'?)/,null,`"'`]],[[le,/^^<\/?[a-z](?:[\w.:-]*\w)?|\/?>$/i],[V,/^(?!style[\s=]|on)[a-z](?:[\w:-]*\w)?/i],["lang-uq.val",/^=\s*([^>\'\"\s]*(?:[^>\'\"\s\/]|\/(?=\s)))/],[se,/^[=<>\/]+/],["lang-js",/^on\w+\s*=\s*\"([^\"]+)\"/i],["lang-js",/^on\w+\s*=\s*\'([^\']+)\'/i],["lang-js",/^on\w+\s*=\s*([^\"\'>\s]+)/i],["lang-css",/^style\s*=\s*\"([^\"]+)\"/i],["lang-css",/^style\s*=\s*\'([^\']+)\'/i],["lang-css",/^style\s*=\s*([^\"\'>\s]+)/i]]),["in.tag"]),Dt(De([],[[ue,/^[\s\S]+/]]),["uq.val"]),Dt(ke({keywords:x,hashComments:!0,cStyleComments:!0,types:M}),["c","cc","cpp","cxx","cyc","m"]),Dt(ke({keywords:"null,true,false"}),["json"]),Dt(ke({keywords:y,hashComments:!0,cStyleComments:!0,verbatimStrings:!0,types:M}),["cs"]),Dt(ke({keywords:p,cStyleComments:!0}),["java"]),Dt(ke({keywords:C,hashComments:!0,multiLineStrings:!0}),["bash","bsh","csh","sh"]),Dt(ke({keywords:k,hashComments:!0,multiLineStrings:!0,tripleQuotedStrings:!0}),["cv","py","python"]),Dt(ke({keywords:A,hashComments:!0,multiLineStrings:!0,regexLiterals:2}),["perl","pl","pm"]),Dt(ke({keywords:R,hashComments:!0,multiLineStrings:!0,regexLiterals:!0}),["rb","ruby"]),Dt(ke({keywords:b,cStyleComments:!0,regexLiterals:!0}),["javascript","js","ts","typescript"]),Dt(ke({keywords:_,hashComments:3,cStyleComments:!0,multilineStrings:!0,tripleQuotedStrings:!0,regexLiterals:!0}),["coffee"]),Dt(De([],[[B,/^[\s\S]+/]]),["regex"]);function Xt(at){var bt=at.langExtension;try{var dt=z(at.sourceNode,at.pre),tt=dt.sourceCode;at.sourceCode=tt,at.spans=dt.spans,at.basePos=0,nr(bt,tt)(at),Bt(at)}catch(Ue){o.console&&console.log(Ue&&Ue.stack||Ue)}}function cr(at,bt,dt){var tt=dt||!1,Ue=bt||null,ye=document.createElement("div");ye.innerHTML="<pre>"+at+"</pre>",ye=ye.firstChild,tt&&$e(ye,tt,!0);var Ce={langExtension:Ue,numberLines:tt,sourceNode:ye,pre:1,sourceCode:null,basePos:null,spans:null,decorations:null};return Xt(Ce),ye.innerHTML}function Ge(at,bt){var dt=bt||document.body,tt=dt.ownerDocument||document;function Ue(tr){return dt.getElementsByTagName(tr)}for(var ye=[Ue("pre"),Ue("code"),Ue("xmp")],Ce=[],Me=0;Me<ye.length;++Me)for(var je=0,We=ye[Me].length;je<We;++je)Ce.push(ye[Me][je]);ye=null;var nt=Date;nt.now||(nt={now:function(){return+new Date}});var lt=0,Vt=/\blang(?:uage)?-([\w.]+)(?!\S)/,Ht=/\bprettyprint\b/,Pe=/\bprettyprinted\b/,et=/pre|xmp/i,Kt=/^code$/i,kt=/^(?:pre|code|xmp)$/i,Zt={};function Nt(){for(var tr=o.PR_SHOULD_USE_CONTINUATION?nt.now()+250:1/0;lt<Ce.length&&nt.now()<tr;lt++){for(var Wt=Ce[lt],Fe=Zt,fe=Wt;fe=fe.previousSibling;){var pe=fe.nodeType,Pt=(pe===7||pe===8)&&fe.nodeValue;if(Pt?!/^\??prettify\b/.test(Pt):pe!==3||/\S/.test(fe.nodeValue))break;if(Pt){Fe={},Pt.replace(/\b(\w+)=([\w:.%+-]+)/g,function(St,Zr,Yr){Fe[Zr]=Yr});break}}var Ie=Wt.className;if((Fe!==Zt||Ht.test(Ie))&&!Pe.test(Ie)){for(var ct=!1,zt=Wt.parentNode;zt;zt=zt.parentNode){var wt=zt.tagName;if(kt.test(wt)&&zt.className&&Ht.test(zt.className)){ct=!0;break}}if(!ct){Wt.className+=" prettyprinted";var Oe=Fe.lang;if(!Oe){Oe=Ie.match(Vt);var xt;!Oe&&(xt=_e(Wt))&&Kt.test(xt.tagName)&&(Oe=xt.className.match(Vt)),Oe&&(Oe=Oe[1])}var xe;if(et.test(Wt.tagName))xe=1;else{var Ye=Wt.currentStyle,mt=tt.defaultView,Mt=Ye?Ye.whiteSpace:mt&&mt.getComputedStyle?mt.getComputedStyle(Wt,null).getPropertyValue("white-space"):0;xe=Mt&&Mt.substring(0,3)==="pre"}var Be=Fe.linenums;(Be=Be==="true"||+Be)||(Be=Ie.match(/\blinenums\b(?::(\d+))?/),Be=Be?Be[1]&&Be[1].length?+Be[1]:!0:!1),Be&&$e(Wt,Be,xe);var Ir={langExtension:Oe,sourceNode:Wt,numberLines:Be,pre:xe,sourceCode:null,basePos:null,spans:null,decorations:null};Xt(Ir)}}}lt<Ce.length?o.setTimeout(Nt,250):typeof at=="function"&&at()}Nt()}var Tt=o.PR={createSimpleLexer:De,registerLangHandler:Dt,sourceDecorator:ke,PR_ATTRIB_NAME:V,PR_ATTRIB_VALUE:ue,PR_COMMENT:K,PR_DECLARATION:q,PR_KEYWORD:N,PR_LITERAL:W,PR_NOCODE:ee,PR_PLAIN:ie,PR_PUNCTUATION:se,PR_SOURCE:J,PR_STRING:B,PR_TAG:le,PR_TYPE:G,prettyPrintOne:r?o.prettyPrintOne=cr:c=cr,prettyPrint:f=r?o.prettyPrint=Ge:f=Ge},Ut=o.define;typeof Ut=="function"&&Ut.amd&&Ut("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 A=document.execCommand("copy");if(!A)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=[],A=[];(function(){for(var C=[],D=0;D<256;D++)D<128?C[D]=D<<1:C[D]=D<<1^283;for(var M=0,B=0,D=0;D<256;D++){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=C[M],G=C[K],W=C[G],se=C[N]*257^N*16843008;u[M]=se<<24|se>>>8,a[M]=se<<16|se>>>16,x[M]=se<<8|se>>>24,p[M]=se;var se=W*16843009^G*65537^K*257^M*16843008;y[N]=se<<24|se>>>8,_[N]=se<<16|se>>>16,b[N]=se<<8|se>>>24,A[N]=se,M?(M=K^C[C[C[W^K]]],B^=C[C[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 C;if(!(this._nRounds&&this._keyPriorReset===this._key)){for(var D=this._keyPriorReset=this._key,M=D.words,B=D.sigBytes/4,N=this._nRounds=B+6,K=(N+1)*4,G=this._keySchedule=[],W=0;W<K;W++)W<B?G[W]=M[W]:(C=G[W-1],W%B?B>6&&W%B==4&&(C=o[C>>>24]<<24|o[C>>>16&255]<<16|o[C>>>8&255]<<8|o[C&255]):(C=C<<8|C>>>24,C=o[C>>>24]<<24|o[C>>>16&255]<<16|o[C>>>8&255]<<8|o[C&255],C^=k[W/B|0]<<24),G[W]=G[W-B]^C);for(var se=this._invKeySchedule=[],ie=0;ie<K;ie++){var W=K-ie;if(ie%4)var C=G[W];else var C=G[W-4];ie<4||W<=4?se[ie]=C:se[ie]=y[o[C>>>24]]^_[o[C>>>16&255]]^b[o[C>>>8&255]]^A[o[C&255]]}}},encryptBlock:function(C,D){this._doCryptBlock(C,D,this._keySchedule,u,a,x,p,o)},decryptBlock:function(C,D){var M=C[D+1];C[D+1]=C[D+3],C[D+3]=M,this._doCryptBlock(C,D,this._invKeySchedule,y,_,b,A,h);var M=C[D+1];C[D+1]=C[D+3],C[D+3]=M},_doCryptBlock:function(C,D,M,B,N,K,G,W){for(var se=this._nRounds,ie=C[D]^M[0],le=C[D+1]^M[1],q=C[D+2]^M[2],J=C[D+3]^M[3],V=4,ue=1;ue<se;ue++){var ee=B[ie>>>24]^N[le>>>16&255]^K[q>>>8&255]^G[J&255]^M[V++],Q=B[le>>>24]^N[q>>>16&255]^K[J>>>8&255]^G[ie&255]^M[V++],ce=B[q>>>24]^N[J>>>16&255]^K[ie>>>8&255]^G[le&255]^M[V++],z=B[J>>>24]^N[ie>>>16&255]^K[le>>>8&255]^G[q&255]^M[V++];ie=ee,le=Q,q=ce,J=z}var ee=(W[ie>>>24]<<24|W[le>>>16&255]<<16|W[q>>>8&255]<<8|W[J&255])^M[V++],Q=(W[le>>>24]<<24|W[q>>>16&255]<<16|W[J>>>8&255]<<8|W[ie&255])^M[V++],ce=(W[q>>>24]<<24|W[J>>>16&255]<<16|W[ie>>>8&255]<<8|W[le&255])^M[V++],z=(W[J>>>24]<<24|W[ie>>>16&255]<<16|W[le>>>8&255]<<8|W[q&255])^M[V++];C[D]=ee,C[D+1]=Q,C[D+2]=ce,C[D+3]=z},keySize:256/32});i.AES=c._createHelper(R)}(),r.AES})},93617:function(d,v,e){(function(r,i,l){d.exports=v=i(e(52952),e(28492))})(this,function(r){r.lib.Cipher||function(i){var l=r,c=l.lib,f=c.Base,o=c.WordArray,h=c.BufferedBlockAlgorithm,u=l.enc,a=u.Utf8,x=u.Base64,p=l.algo,y=p.EvpKDF,_=c.Cipher=h.extend({cfg:f.extend(),createEncryptor:function(le,q){return this.create(this._ENC_XFORM_MODE,le,q)},createDecryptor:function(le,q){return this.create(this._DEC_XFORM_MODE,le,q)},init:function(le,q,J){this.cfg=this.cfg.extend(J),this._xformMode=le,this._key=q,this.reset()},reset:function(){h.reset.call(this),this._doReset()},process:function(le){return this._append(le),this._process()},finalize:function(le){le&&this._append(le);var q=this._doFinalize();return q},keySize:128/32,ivSize:128/32,_ENC_XFORM_MODE:1,_DEC_XFORM_MODE:2,_createHelper:function(){function le(q){return typeof q=="string"?ie:G}return function(q){return{encrypt:function(J,V,ue){return le(V).encrypt(q,J,V,ue)},decrypt:function(J,V,ue){return le(V).decrypt(q,J,V,ue)}}}}()}),b=c.StreamCipher=_.extend({_doFinalize:function(){var le=this._process(!0);return le},blockSize:1}),A=l.mode={},k=c.BlockCipherMode=f.extend({createEncryptor:function(le,q){return this.Encryptor.create(le,q)},createDecryptor:function(le,q){return this.Decryptor.create(le,q)},init:function(le,q){this._cipher=le,this._iv=q}}),R=A.CBC=function(){var le=k.extend();le.Encryptor=le.extend({processBlock:function(J,V){var ue=this._cipher,ee=ue.blockSize;q.call(this,J,V,ee),ue.encryptBlock(J,V),this._prevBlock=J.slice(V,V+ee)}}),le.Decryptor=le.extend({processBlock:function(J,V){var ue=this._cipher,ee=ue.blockSize,Q=J.slice(V,V+ee);ue.decryptBlock(J,V),q.call(this,J,V,ee),this._prevBlock=Q}});function q(J,V,ue){var ee,Q=this._iv;Q?(ee=Q,this._iv=i):ee=this._prevBlock;for(var ce=0;ce<ue;ce++)J[V+ce]^=ee[ce]}return le}(),C=l.pad={},D=C.Pkcs7={pad:function(le,q){for(var J=q*4,V=J-le.sigBytes%J,ue=V<<24|V<<16|V<<8|V,ee=[],Q=0;Q<V;Q+=4)ee.push(ue);var ce=o.create(ee,V);le.concat(ce)},unpad:function(le){var q=le.words[le.sigBytes-1>>>2]&255;le.sigBytes-=q}},M=c.BlockCipher=_.extend({cfg:_.cfg.extend({mode:R,padding:D}),reset:function(){var le;_.reset.call(this);var q=this.cfg,J=q.iv,V=q.mode;this._xformMode==this._ENC_XFORM_MODE?le=V.createEncryptor:(le=V.createDecryptor,this._minBufferSize=1),this._mode&&this._mode.__creator==le?this._mode.init(this,J&&J.words):(this._mode=le.call(V,this,J&&J.words),this._mode.__creator=le)},_doProcessBlock:function(le,q){this._mode.processBlock(le,q)},_doFinalize:function(){var le,q=this.cfg.padding;return this._xformMode==this._ENC_XFORM_MODE?(q.pad(this._data,this.blockSize),le=this._process(!0)):(le=this._process(!0),q.unpad(le)),le},blockSize:128/32}),B=c.CipherParams=f.extend({init:function(le){this.mixIn(le)},toString:function(le){return(le||this.formatter).stringify(this)}}),N=l.format={},K=N.OpenSSL={stringify:function(le){var q,J=le.ciphertext,V=le.salt;return V?q=o.create([1398893684,1701076831]).concat(V).concat(J):q=J,q.toString(x)},parse:function(le){var q,J=x.parse(le),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(le,q,J,V){V=this.cfg.extend(V);var ue=le.createEncryptor(J,V),ee=ue.finalize(q),Q=ue.cfg;return B.create({ciphertext:ee,key:J,iv:Q.iv,algorithm:le,mode:Q.mode,padding:Q.padding,blockSize:le.blockSize,formatter:V.format})},decrypt:function(le,q,J,V){V=this.cfg.extend(V),q=this._parse(q,V.format);var ue=le.createDecryptor(J,V).finalize(q.ciphertext);return ue},_parse:function(le,q){return typeof le=="string"?q.parse(le,this):le}}),W=l.kdf={},se=W.OpenSSL={execute:function(le,q,J,V){V||(V=o.random(64/8));var ue=y.create({keySize:q+J}).compute(le,V),ee=o.create(ue.words.slice(q),J*4);return ue.sigBytes=q*4,B.create({key:ue,iv:ee,salt:V})}},ie=c.PasswordBasedCipher=G.extend({cfg:G.cfg.extend({kdf:se}),encrypt:function(le,q,J,V){V=this.cfg.extend(V);var ue=V.kdf.execute(J,le.keySize,le.ivSize);V.iv=ue.iv;var ee=G.encrypt.call(this,le,q,ue.key,V);return ee.mixIn(ue),ee},decrypt:function(le,q,J,V){V=this.cfg.extend(V),q=this._parse(q,V.format);var ue=V.kdf.execute(J,le.keySize,le.ivSize,q.salt);V.iv=ue.iv;var ee=G.decrypt.call(this,le,q,ue.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(C){}var f=function(){if(c){if(typeof c.getRandomValues=="function")try{return c.getRandomValues(new Uint32Array(1))[0]}catch(C){}if(typeof c.randomBytes=="function")try{return c.randomBytes(4).readInt32LE()}catch(C){}}throw new Error("Native crypto module could not be used to get secure random number.")},o=Object.create||function(){function C(){}return function(D){var M;return C.prototype=D,M=new C,C.prototype=null,M}}(),h={},u=h.lib={},a=u.Base=function(){return{extend:function(C){var D=o(this);return C&&D.mixIn(C),(!D.hasOwnProperty("init")||this.init===D.init)&&(D.init=function(){D.$super.init.apply(this,arguments)}),D.init.prototype=D,D.$super=this,D},create:function(){var C=this.extend();return C.init.apply(C,arguments),C},init:function(){},mixIn:function(C){for(var D in C)C.hasOwnProperty(D)&&(this[D]=C[D]);C.hasOwnProperty("toString")&&(this.toString=C.toString)},clone:function(){return this.init.prototype.extend(this)}}}(),x=u.WordArray=a.extend({init:function(C,D){C=this.words=C||[],D!=l?this.sigBytes=D:this.sigBytes=C.length*4},toString:function(C){return(C||y).stringify(this)},concat:function(C){var D=this.words,M=C.words,B=this.sigBytes,N=C.sigBytes;if(this.clamp(),B%4)for(var K=0;K<N;K++){var G=M[K>>>2]>>>24-K%4*8&255;D[B+K>>>2]|=G<<24-(B+K)%4*8}else for(var W=0;W<N;W+=4)D[B+W>>>2]=M[W>>>2];return this.sigBytes+=N,this},clamp:function(){var C=this.words,D=this.sigBytes;C[D>>>2]&=4294967295<<32-D%4*8,C.length=i.ceil(D/4)},clone:function(){var C=a.clone.call(this);return C.words=this.words.slice(0),C},random:function(C){for(var D=[],M=0;M<C;M+=4)D.push(f());return new x.init(D,C)}}),p=h.enc={},y=p.Hex={stringify:function(C){for(var D=C.words,M=C.sigBytes,B=[],N=0;N<M;N++){var K=D[N>>>2]>>>24-N%4*8&255;B.push((K>>>4).toString(16)),B.push((K&15).toString(16))}return B.join("")},parse:function(C){for(var D=C.length,M=[],B=0;B<D;B+=2)M[B>>>3]|=parseInt(C.substr(B,2),16)<<24-B%8*4;return new x.init(M,D/2)}},_=p.Latin1={stringify:function(C){for(var D=C.words,M=C.sigBytes,B=[],N=0;N<M;N++){var K=D[N>>>2]>>>24-N%4*8&255;B.push(String.fromCharCode(K))}return B.join("")},parse:function(C){for(var D=C.length,M=[],B=0;B<D;B++)M[B>>>2]|=(C.charCodeAt(B)&255)<<24-B%4*8;return new x.init(M,D)}},b=p.Utf8={stringify:function(C){try{return decodeURIComponent(escape(_.stringify(C)))}catch(D){throw new Error("Malformed UTF-8 data")}},parse:function(C){return _.parse(unescape(encodeURIComponent(C)))}},A=u.BufferedBlockAlgorithm=a.extend({reset:function(){this._data=new x.init,this._nDataBytes=0},_append:function(C){typeof C=="string"&&(C=b.parse(C)),this._data.concat(C),this._nDataBytes+=C.sigBytes},_process:function(C){var D,M=this._data,B=M.words,N=M.sigBytes,K=this.blockSize,G=K*4,W=N/G;C?W=i.ceil(W):W=i.max((W|0)-this._minBufferSize,0);var se=W*K,ie=i.min(se*4,N);if(se){for(var le=0;le<se;le+=K)this._doProcessBlock(B,le);D=B.splice(0,se),M.sigBytes-=ie}return new x.init(D,ie)},clone:function(){var C=a.clone.call(this);return C._data=this._data.clone(),C},_minBufferSize:0}),k=u.Hasher=A.extend({cfg:a.extend(),init:function(C){this.cfg=this.cfg.extend(C),this.reset()},reset:function(){A.reset.call(this),this._doReset()},update:function(C){return this._append(C),this._process(),this},finalize:function(C){C&&this._append(C);var D=this._doFinalize();return D},blockSize:512/32,_createHelper:function(C){return function(D,M){return new C.init(M).finalize(D)}},_createHmacHelper:function(C){return function(D,M){return new R.HMAC.init(C,M).finalize(D)}}}),R=h.algo={};return h}(Math);return r})},35909:function(d,v,e){(function(r,i){d.exports=v=i(e(52952))})(this,function(r){return function(){var i=r,l=i.lib,c=l.WordArray,f=i.enc,o=f.Base64={stringify:function(u){var a=u.words,x=u.sigBytes,p=this._map;u.clamp();for(var y=[],_=0;_<x;_+=3)for(var b=a[_>>>2]>>>24-_%4*8&255,A=a[_+1>>>2]>>>24-(_+1)%4*8&255,k=a[_+2>>>2]>>>24-(_+2)%4*8&255,R=b<<16|A<<8|k,C=0;C<4&&_+C*.75<x;C++)y.push(p.charAt(R>>>6*(3-C)&63));var D=p.charAt(64);if(D)for(;y.length%4;)y.push(D);return y.join("")},parse:function(u){var a=u.length,x=this._map,p=this._reverseMap;if(!p){p=this._reverseMap=[];for(var y=0;y<x.length;y++)p[x.charCodeAt(y)]=y}var _=x.charAt(64);if(_){var b=u.indexOf(_);b!==-1&&(a=b)}return h(u,a,p)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="};function h(u,a,x){for(var p=[],y=0,_=0;_<a;_++)if(_%4){var b=x[u.charCodeAt(_-1)]<<_%4*2,A=x[u.charCodeAt(_)]>>>6-_%4*2,k=b|A;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 A=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,C=A<<16|k<<8|R,D=0;D<4&&b+D*.75<p;D++)_.push(y.charAt(C>>>6*(3-D)&63));var M=y.charAt(64);if(M)for(;_.length%4;)_.push(M);return _.join("")},parse:function(u,a=!0){var x=u.length,p=a?this._safe_map:this._map,y=this._reverseMap;if(!y){y=this._reverseMap=[];for(var _=0;_<p.length;_++)y[p.charCodeAt(_)]=_}var b=p.charAt(64);if(b){var A=u.indexOf(b);A!==-1&&(x=A)}return h(u,x,y)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",_safe_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_"};function h(u,a,x){for(var p=[],y=0,_=0;_<a;_++)if(_%4){var b=x[u.charCodeAt(_-1)]<<_%4*2,A=x[u.charCodeAt(_)]>>>6-_%4*2,k=b|A;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(),A=b.words,k=y.keySize,R=y.iterations;A.length<k;){p&&_.update(p),p=_.update(a).finalize(x),_.reset();for(var C=1;C<R;C++)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(),A=_.words,k=b.words,R=0;R<p;R++)A[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,A){for(var k=0;k<16;k++){var R=A+k,C=b[R];b[R]=(C<<8|C>>>24)&16711935|(C<<24|C>>>8)&4278255360}var D=this._hash.words,M=b[A+0],B=b[A+1],N=b[A+2],K=b[A+3],G=b[A+4],W=b[A+5],se=b[A+6],ie=b[A+7],le=b[A+8],q=b[A+9],J=b[A+10],V=b[A+11],ue=b[A+12],ee=b[A+13],Q=b[A+14],ce=b[A+15],z=D[0],$=D[1],ae=D[2],_e=D[3];z=x(z,$,ae,_e,M,7,u[0]),_e=x(_e,z,$,ae,B,12,u[1]),ae=x(ae,_e,z,$,N,17,u[2]),$=x($,ae,_e,z,K,22,u[3]),z=x(z,$,ae,_e,G,7,u[4]),_e=x(_e,z,$,ae,W,12,u[5]),ae=x(ae,_e,z,$,se,17,u[6]),$=x($,ae,_e,z,ie,22,u[7]),z=x(z,$,ae,_e,le,7,u[8]),_e=x(_e,z,$,ae,q,12,u[9]),ae=x(ae,_e,z,$,J,17,u[10]),$=x($,ae,_e,z,V,22,u[11]),z=x(z,$,ae,_e,ue,7,u[12]),_e=x(_e,z,$,ae,ee,12,u[13]),ae=x(ae,_e,z,$,Q,17,u[14]),$=x($,ae,_e,z,ce,22,u[15]),z=p(z,$,ae,_e,B,5,u[16]),_e=p(_e,z,$,ae,se,9,u[17]),ae=p(ae,_e,z,$,V,14,u[18]),$=p($,ae,_e,z,M,20,u[19]),z=p(z,$,ae,_e,W,5,u[20]),_e=p(_e,z,$,ae,J,9,u[21]),ae=p(ae,_e,z,$,ce,14,u[22]),$=p($,ae,_e,z,G,20,u[23]),z=p(z,$,ae,_e,q,5,u[24]),_e=p(_e,z,$,ae,Q,9,u[25]),ae=p(ae,_e,z,$,K,14,u[26]),$=p($,ae,_e,z,le,20,u[27]),z=p(z,$,ae,_e,ee,5,u[28]),_e=p(_e,z,$,ae,N,9,u[29]),ae=p(ae,_e,z,$,ie,14,u[30]),$=p($,ae,_e,z,ue,20,u[31]),z=y(z,$,ae,_e,W,4,u[32]),_e=y(_e,z,$,ae,le,11,u[33]),ae=y(ae,_e,z,$,V,16,u[34]),$=y($,ae,_e,z,Q,23,u[35]),z=y(z,$,ae,_e,B,4,u[36]),_e=y(_e,z,$,ae,G,11,u[37]),ae=y(ae,_e,z,$,ie,16,u[38]),$=y($,ae,_e,z,J,23,u[39]),z=y(z,$,ae,_e,ee,4,u[40]),_e=y(_e,z,$,ae,M,11,u[41]),ae=y(ae,_e,z,$,K,16,u[42]),$=y($,ae,_e,z,se,23,u[43]),z=y(z,$,ae,_e,q,4,u[44]),_e=y(_e,z,$,ae,ue,11,u[45]),ae=y(ae,_e,z,$,ce,16,u[46]),$=y($,ae,_e,z,N,23,u[47]),z=_(z,$,ae,_e,M,6,u[48]),_e=_(_e,z,$,ae,ie,10,u[49]),ae=_(ae,_e,z,$,Q,15,u[50]),$=_($,ae,_e,z,W,21,u[51]),z=_(z,$,ae,_e,ue,6,u[52]),_e=_(_e,z,$,ae,K,10,u[53]),ae=_(ae,_e,z,$,J,15,u[54]),$=_($,ae,_e,z,B,21,u[55]),z=_(z,$,ae,_e,le,6,u[56]),_e=_(_e,z,$,ae,ce,10,u[57]),ae=_(ae,_e,z,$,se,15,u[58]),$=_($,ae,_e,z,ee,21,u[59]),z=_(z,$,ae,_e,G,6,u[60]),_e=_(_e,z,$,ae,V,10,u[61]),ae=_(ae,_e,z,$,N,15,u[62]),$=_($,ae,_e,z,q,21,u[63]),D[0]=D[0]+z|0,D[1]=D[1]+$|0,D[2]=D[2]+ae|0,D[3]=D[3]+_e|0},_doFinalize:function(){var b=this._data,A=b.words,k=this._nDataBytes*8,R=b.sigBytes*8;A[R>>>5]|=128<<24-R%32;var C=i.floor(k/4294967296),D=k;A[(R+64>>>9<<4)+15]=(C<<8|C>>>24)&16711935|(C<<24|C>>>8)&4278255360,A[(R+64>>>9<<4)+14]=(D<<8|D>>>24)&16711935|(D<<24|D>>>8)&4278255360,b.sigBytes=(A.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,A,k,R,C,D,M){var B=b+(A&k|~A&R)+C+M;return(B<<D|B>>>32-D)+A}function p(b,A,k,R,C,D,M){var B=b+(A&R|k&~R)+C+M;return(B<<D|B>>>32-D)+A}function y(b,A,k,R,C,D,M){var B=b+(A^k^R)+C+M;return(B<<D|B>>>32-D)+A}function _(b,A,k,R,C,D,M){var B=b+(k^(A|~R))+C+M;return(B<<D|B>>>32-D)+A}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(),A=f.create([1]),k=b.words,R=A.words,C=y.keySize,D=y.iterations;k.length<C;){var M=_.update(p).finalize(A);_.reset();for(var B=M.words,N=B.length,K=M,G=1;G<D;G++){K=_.finalize(K),_.reset();for(var W=K.words,se=0;se<N;se++)B[se]^=W[se]}b.concat(M),R[0]++}return b.sigBytes=C*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 A=0;A<4;A++)x.call(this);for(var A=0;A<8;A++)b[A]^=_[A+4&7];if(y){var k=y.words,R=k[0],C=k[1],D=(R<<8|R>>>24)&16711935|(R<<24|R>>>8)&4278255360,M=(C<<8|C>>>24)&16711935|(C<<24|C>>>8)&4278255360,B=D>>>16|M&4294901760,N=M<<16|D&65535;b[0]^=D,b[1]^=B,b[2]^=M,b[3]^=N,b[4]^=D,b[5]^=B,b[6]^=M,b[7]^=N;for(var A=0;A<4;A++)x.call(this)}},_doProcessBlock:function(p,y){var _=this._X;x.call(this),o[0]=_[0]^_[5]>>>16^_[3]<<16,o[1]=_[2]^_[7]>>>16^_[5]<<16,o[2]=_[4]^_[1]>>>16^_[7]<<16,o[3]=_[6]^_[3]>>>16^_[1]<<16;for(var b=0;b<4;b++)o[b]=(o[b]<<8|o[b]>>>24)&16711935|(o[b]<<24|o[b]>>>8)&4278255360,p[y+b]^=o[b]},blockSize:128/32,ivSize:64/32});function x(){for(var p=this._X,y=this._C,_=0;_<8;_++)h[_]=y[_];y[0]=y[0]+1295307597+this._b|0,y[1]=y[1]+3545052371+(y[0]>>>0<h[0]>>>0?1:0)|0,y[2]=y[2]+886263092+(y[1]>>>0<h[1]>>>0?1:0)|0,y[3]=y[3]+1295307597+(y[2]>>>0<h[2]>>>0?1:0)|0,y[4]=y[4]+3545052371+(y[3]>>>0<h[3]>>>0?1:0)|0,y[5]=y[5]+886263092+(y[4]>>>0<h[4]>>>0?1:0)|0,y[6]=y[6]+1295307597+(y[5]>>>0<h[5]>>>0?1:0)|0,y[7]=y[7]+3545052371+(y[6]>>>0<h[6]>>>0?1:0)|0,this._b=y[7]>>>0<h[7]>>>0?1:0;for(var _=0;_<8;_++){var b=p[_]+y[_],A=b&65535,k=b>>>16,R=((A*A>>>17)+A*k>>>15)+k*k,C=((b&4294901760)*b|0)+((b&65535)*b|0);u[_]=R^C}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],A=this._C=[p[2]<<16|p[2]>>>16,p[0]&4294901760|p[1]&65535,p[3]<<16|p[3]>>>16,p[1]&4294901760|p[2]&65535,p[0]<<16|p[0]>>>16,p[2]&4294901760|p[3]&65535,p[1]<<16|p[1]>>>16,p[3]&4294901760|p[0]&65535];this._b=0;for(var _=0;_<4;_++)x.call(this);for(var _=0;_<8;_++)A[_]^=b[_+4&7];if(y){var k=y.words,R=k[0],C=k[1],D=(R<<8|R>>>24)&16711935|(R<<24|R>>>8)&4278255360,M=(C<<8|C>>>24)&16711935|(C<<24|C>>>8)&4278255360,B=D>>>16|M&4294901760,N=M<<16|D&65535;A[0]^=D,A[1]^=B,A[2]^=M,A[3]^=N,A[4]^=D,A[5]^=B,A[6]^=M,A[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[_],A=b&65535,k=b>>>16,R=((A*A>>>17)+A*k>>>15)+k*k,C=((b&4294901760)*b|0)+((b&65535)*b|0);u[_]=R^C}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 A=_%p,k=x[A>>>2]>>>24-A%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,W=B[G];B[G]=(W<<8|W>>>24)&16711935|(W<<24|W>>>8)&4278255360}var se=this._hash.words,ie=y.words,le=_.words,q=u.words,J=a.words,V=x.words,ue=p.words,ee,Q,ce,z,$,ae,_e,De,ke,He;ae=ee=se[0],_e=Q=se[1],De=ce=se[2],ke=z=se[3],He=$=se[4];for(var $e,K=0;K<80;K+=1)$e=ee+B[N+q[K]]|0,K<16?$e+=A(Q,ce,z)+ie[0]:K<32?$e+=k(Q,ce,z)+ie[1]:K<48?$e+=R(Q,ce,z)+ie[2]:K<64?$e+=C(Q,ce,z)+ie[3]:$e+=D(Q,ce,z)+ie[4],$e=$e|0,$e=M($e,V[K]),$e=$e+$|0,ee=$,$=z,z=M(ce,10),ce=Q,Q=$e,$e=ae+B[N+J[K]]|0,K<16?$e+=D(_e,De,ke)+le[0]:K<32?$e+=C(_e,De,ke)+le[1]:K<48?$e+=R(_e,De,ke)+le[2]:K<64?$e+=k(_e,De,ke)+le[3]:$e+=A(_e,De,ke)+le[4],$e=$e|0,$e=M($e,ue[K]),$e=$e+He|0,ae=He,He=ke,ke=M(De,10),De=_e,_e=$e;$e=se[1]+ce+ke|0,se[1]=se[2]+z+He|0,se[2]=se[3]+$+ae|0,se[3]=se[4]+ee+_e|0,se[4]=se[0]+Q+De|0,se[0]=$e},_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 W=this._hash,se=W.words,ie=0;ie<5;ie++){var le=se[ie];se[ie]=(le<<8|le>>>24)&16711935|(le<<24|le>>>8)&4278255360}return W},clone:function(){var B=o.clone.call(this);return B._hash=this._hash.clone(),B}});function A(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 C(B,N,K){return B&K|N&~K}function D(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],A=p[3],k=p[4],R=0;R<80;R++){if(R<16)h[R]=a[x+R]|0;else{var C=h[R-3]^h[R-8]^h[R-14]^h[R-16];h[R]=C<<1|C>>>31}var D=(y<<5|y>>>27)+k+h[R];R<20?D+=(_&b|~_&A)+1518500249:R<40?D+=(_^b^A)+1859775393:R<60?D+=(_&b|_&A|b&A)-1894007588:D+=(_^b^A)-899497514,k=A,A=b,b=_<<30|_>>>2,_=y,y=D}p[0]=p[0]+y|0,p[1]=p[1]+_|0,p[2]=p[2]+b|0,p[3]=p[3]+A|0,p[4]=p[4]+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),C=2;C<=R;C++)if(!(k%C))return!1;return!0}function _(k){return(k-(k|0))*4294967296|0}for(var b=2,A=0;A<64;)y(b)&&(A<8&&(u[A]=_(i.pow(b,.5))),a[A]=_(i.pow(b,.3333333333333333)),A++),b++})();var x=[],p=h.SHA256=o.extend({_doReset:function(){this._hash=new f.init(u.slice(0))},_doProcessBlock:function(y,_){for(var b=this._hash.words,A=b[0],k=b[1],R=b[2],C=b[3],D=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],W=(G<<25|G>>>7)^(G<<14|G>>>18)^G>>>3,se=x[K-2],ie=(se<<15|se>>>17)^(se<<13|se>>>19)^se>>>10;x[K]=W+x[K-7]+ie+x[K-16]}var le=D&M^~D&B,q=A&k^A&R^k&R,J=(A<<30|A>>>2)^(A<<19|A>>>13)^(A<<10|A>>>22),V=(D<<26|D>>>6)^(D<<21|D>>>11)^(D<<7|D>>>25),ue=N+V+le+a[K]+x[K],ee=J+q;N=B,B=M,M=D,D=C+ue|0,C=R,R=k,k=A,A=ue+ee|0}b[0]=b[0]+A|0,b[1]=b[1]+k|0,b[2]=b[2]+R|0,b[3]=b[3]+C|0,b[4]=b[4]+D|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,A=y.sigBytes*8;return _[A>>>5]|=128<<24-A%32,_[(A+64>>>9<<4)+14]=i.floor(b/4294967296),_[(A+64>>>9<<4)+15]=b,y.sigBytes=_.length*4,this._process(),this._hash},clone:function(){var y=o.clone.call(this);return y._hash=this._hash.clone(),y}});l.SHA256=o._createHelper(p),l.HmacSHA256=o._createHmacHelper(p)}(Math),r.SHA256})},79421:function(d,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 A=1,k=0,R=0;R<24;R++){x[A+5*k]=(R+1)*(R+2)/2%64;var C=k%5,D=(2*A+3*k)%5;A=C,k=D}for(var A=0;A<5;A++)for(var k=0;k<5;k++)p[A+5*k]=k+(2*A+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 W=(1<<G)-1;W<32?K^=1<<W:N^=1<<W-32}M&128?M=M<<1^113:M<<=1}y[B]=u.create(N,K)}})();var _=[];(function(){for(var A=0;A<25;A++)_[A]=u.create()})();var b=a.SHA3=o.extend({cfg:o.cfg.extend({outputLength:512}),_doReset:function(){for(var A=this._state=[],k=0;k<25;k++)A[k]=new u.init;this.blockSize=(1600-2*this.cfg.outputLength)/32},_doProcessBlock:function(A,k){for(var R=this._state,C=this.blockSize/2,D=0;D<C;D++){var M=A[k+2*D],B=A[k+2*D+1];M=(M<<8|M>>>24)&16711935|(M<<24|M>>>8)&4278255360,B=(B<<8|B>>>24)&16711935|(B<<24|B>>>8)&4278255360;var N=R[D];N.high^=B,N.low^=M}for(var K=0;K<24;K++){for(var G=0;G<5;G++){for(var W=0,se=0,ie=0;ie<5;ie++){var N=R[G+5*ie];W^=N.high,se^=N.low}var le=_[G];le.high=W,le.low=se}for(var G=0;G<5;G++)for(var q=_[(G+4)%5],J=_[(G+1)%5],V=J.high,ue=J.low,W=q.high^(V<<1|ue>>>31),se=q.low^(ue<<1|V>>>31),ie=0;ie<5;ie++){var N=R[G+5*ie];N.high^=W,N.low^=se}for(var ee=1;ee<25;ee++){var W,se,N=R[ee],Q=N.high,ce=N.low,z=x[ee];z<32?(W=Q<<z|ce>>>32-z,se=ce<<z|Q>>>32-z):(W=ce<<z-32|Q>>>64-z,se=Q<<z-32|ce>>>64-z);var $=_[p[ee]];$.high=W,$.low=se}var ae=_[0],_e=R[0];ae.high=_e.high,ae.low=_e.low;for(var G=0;G<5;G++)for(var ie=0;ie<5;ie++){var ee=G+5*ie,N=R[ee],De=_[ee],ke=_[(G+1)%5+5*ie],He=_[(G+2)%5+5*ie];N.high=De.high^~ke.high&He.high,N.low=De.low^~ke.low&He.low}var N=R[0],$e=y[K];N.high^=$e.high,N.low^=$e.low}},_doFinalize:function(){var A=this._data,k=A.words,R=this._nDataBytes*8,C=A.sigBytes*8,D=this.blockSize*32;k[C>>>5]|=1<<24-C%32,k[(i.ceil((C+1)/D)*D>>>5)-1]|=128,A.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 W=M[G],se=W.high,ie=W.low;se=(se<<8|se>>>24)&16711935|(se<<24|se>>>8)&4278255360,ie=(ie<<8|ie>>>24)&16711935|(ie<<24|ie>>>8)&4278255360,K.push(ie),K.push(se)}return new f.init(K,B)},clone:function(){for(var A=o.clone.call(this),k=A._state=this._state.slice(0),R=0;R<25;R++)k[R]=k[R].clone();return A}});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 A=this._hash.words,k=A[0],R=A[1],C=A[2],D=A[3],M=A[4],B=A[5],N=A[6],K=A[7],G=k.high,W=k.low,se=R.high,ie=R.low,le=C.high,q=C.low,J=D.high,V=D.low,ue=M.high,ee=M.low,Q=B.high,ce=B.low,z=N.high,$=N.low,ae=K.high,_e=K.low,De=G,ke=W,He=se,$e=ie,Bt=le,gt=q,Dt=J,nr=V,Xt=ue,cr=ee,Ge=Q,Tt=ce,Ut=z,at=$,bt=ae,dt=_e,tt=0;tt<80;tt++){var Ue,ye,Ce=p[tt];if(tt<16)ye=Ce.high=_[b+tt*2]|0,Ue=Ce.low=_[b+tt*2+1]|0;else{var Me=p[tt-15],je=Me.high,We=Me.low,nt=(je>>>1|We<<31)^(je>>>8|We<<24)^je>>>7,lt=(We>>>1|je<<31)^(We>>>8|je<<24)^(We>>>7|je<<25),Vt=p[tt-2],Ht=Vt.high,Pe=Vt.low,et=(Ht>>>19|Pe<<13)^(Ht<<3|Pe>>>29)^Ht>>>6,Kt=(Pe>>>19|Ht<<13)^(Pe<<3|Ht>>>29)^(Pe>>>6|Ht<<26),kt=p[tt-7],Zt=kt.high,Nt=kt.low,tr=p[tt-16],Wt=tr.high,Fe=tr.low;Ue=lt+Nt,ye=nt+Zt+(Ue>>>0<lt>>>0?1:0),Ue=Ue+Kt,ye=ye+et+(Ue>>>0<Kt>>>0?1:0),Ue=Ue+Fe,ye=ye+Wt+(Ue>>>0<Fe>>>0?1:0),Ce.high=ye,Ce.low=Ue}var fe=Xt&Ge^~Xt&Ut,pe=cr&Tt^~cr&at,Pt=De&He^De&Bt^He&Bt,Ie=ke&$e^ke>^$e>,ct=(De>>>28|ke<<4)^(De<<30|ke>>>2)^(De<<25|ke>>>7),zt=(ke>>>28|De<<4)^(ke<<30|De>>>2)^(ke<<25|De>>>7),wt=(Xt>>>14|cr<<18)^(Xt>>>18|cr<<14)^(Xt<<23|cr>>>9),Oe=(cr>>>14|Xt<<18)^(cr>>>18|Xt<<14)^(cr<<23|Xt>>>9),xt=x[tt],xe=xt.high,Ye=xt.low,mt=dt+Oe,Mt=bt+wt+(mt>>>0<dt>>>0?1:0),mt=mt+pe,Mt=Mt+fe+(mt>>>0<pe>>>0?1:0),mt=mt+Ye,Mt=Mt+xe+(mt>>>0<Ye>>>0?1:0),mt=mt+Ue,Mt=Mt+ye+(mt>>>0<Ue>>>0?1:0),Be=zt+Ie,Ir=ct+Pt+(Be>>>0<zt>>>0?1:0);bt=Ut,dt=at,Ut=Ge,at=Tt,Ge=Xt,Tt=cr,cr=nr+mt|0,Xt=Dt+Mt+(cr>>>0<nr>>>0?1:0)|0,Dt=Bt,nr=gt,Bt=He,gt=$e,He=De,$e=ke,ke=mt+Be|0,De=Mt+Ir+(ke>>>0<mt>>>0?1:0)|0}W=k.low=W+ke,k.high=G+De+(W>>>0<ke>>>0?1:0),ie=R.low=ie+$e,R.high=se+He+(ie>>>0<$e>>>0?1:0),q=C.low=q+gt,C.high=le+Bt+(q>>>0<gt>>>0?1:0),V=D.low=V+nr,D.high=J+Dt+(V>>>0<nr>>>0?1:0),ee=M.low=ee+cr,M.high=ue+Xt+(ee>>>0<cr>>>0?1:0),ce=B.low=ce+Tt,B.high=Q+Ge+(ce>>>0<Tt>>>0?1:0),$=N.low=$+at,N.high=z+Ut+($>>>0<at>>>0?1:0),_e=K.low=_e+dt,K.high=ae+bt+(_e>>>0<dt>>>0?1:0)},_doFinalize:function(){var _=this._data,b=_.words,A=this._nDataBytes*8,k=_.sigBytes*8;b[k>>>5]|=128<<24-k%32,b[(k+128>>>10<<5)+30]=Math.floor(A/4294967296),b[(k+128>>>10<<5)+31]=A,_.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,C=[],D=0;D<56;D++){var M=h[D]-1;C[D]=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],D=0;D<24;D++)K[D/6|0]|=C[(u[D]-1+G)%28]<<31-D%6,K[4+(D/6|0)]|=C[28+(u[D+24]-1+G)%28]<<31-D%6;K[0]=K[0]<<1|K[0]>>>31;for(var D=1;D<7;D++)K[D]=K[D]>>>(D-1)*4+3;K[7]=K[7]<<5|K[7]>>>27}for(var W=this._invSubKeys=[],D=0;D<16;D++)W[D]=B[15-D]},encryptBlock:function(k,R){this._doCryptBlock(k,R,this._subKeys)},decryptBlock:function(k,R){this._doCryptBlock(k,R,this._invSubKeys)},_doCryptBlock:function(k,R,C){this._lBlock=k[R],this._rBlock=k[R+1],_.call(this,4,252645135),_.call(this,16,65535),b.call(this,2,858993459),b.call(this,8,16711935),_.call(this,1,1431655765);for(var D=0;D<16;D++){for(var M=C[D],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 W=this._lBlock;this._lBlock=this._rBlock,this._rBlock=W,_.call(this,1,1431655765),b.call(this,8,16711935),b.call(this,2,858993459),_.call(this,16,65535),_.call(this,4,252645135),k[R]=this._lBlock,k[R+1]=this._rBlock},keySize:64/32,ivSize:64/32,blockSize:64/32});function _(k,R){var C=(this._lBlock>>>k^this._rBlock)&R;this._rBlock^=C,this._lBlock^=C<<k}function b(k,R){var C=(this._rBlock>>>k^this._lBlock)&R;this._lBlock^=C,this._rBlock^=C<<k}i.DES=f._createHelper(y);var A=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 C=R.slice(0,2),D=R.length<4?R.slice(0,2):R.slice(2,4),M=R.length<6?R.slice(0,2):R.slice(4,6);this._des1=y.createEncryptor(c.create(C)),this._des2=y.createEncryptor(c.create(D)),this._des3=y.createEncryptor(c.create(M))},encryptBlock:function(k,R){this._des1.encryptBlock(k,R),this._des2.decryptBlock(k,R),this._des3.encryptBlock(k,R)},decryptBlock:function(k,R){this._des3.decryptBlock(k,R),this._des2.encryptBlock(k,R),this._des1.decryptBlock(k,R)},keySize:192/32,ivSize:64/32,blockSize:64/32});i.TripleDES=f._createHelper(A)}(),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,A={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(ie){var le=["th","st","nd","rd"],q=ie%100;return"["+ie+(le[(q-20)%10]||le[q]||le[0])+"]"}},k=function(ie,le,q){var J=String(ie);return!J||J.length>=le?ie:""+Array(le+1-J.length).join(q)+ie},R={s:k,z:function(ie){var le=-ie.utcOffset(),q=Math.abs(le),J=Math.floor(q/60),V=q%60;return(le<=0?"+":"-")+k(J,2,"0")+":"+k(V,2,"0")},m:function ie(le,q){if(le.date()<q.date())return-ie(q,le);var J=12*(q.year()-le.year())+(q.month()-le.month()),V=le.clone().add(J,u),ue=q-V<0,ee=le.clone().add(J+(ue?-1:1),u);return+(-(J+(q-V)/(ue?V-ee:ee-V))||0)},a:function(ie){return ie<0?Math.ceil(ie)||0:Math.floor(ie)},p:function(ie){return{M:u,y:x,w:h,d:o,D:p,h:f,m:c,s:l,ms:i,Q:a}[ie]||String(ie||"").toLowerCase().replace(/s$/,"")},u:function(ie){return ie===void 0}},C="en",D={};D[C]=A;var M="$isDayjsObject",B=function(ie){return ie instanceof W||!(!ie||!ie[M])},N=function ie(le,q,J){var V;if(!le)return C;if(typeof le=="string"){var ue=le.toLowerCase();D[ue]&&(V=ue),q&&(D[ue]=q,V=ue);var ee=le.split("-");if(!V&&ee.length>1)return ie(ee[0])}else{var Q=le.name;D[Q]=le,V=Q}return!J&&V&&(C=V),V||!J&&C},K=function(ie,le){if(B(ie))return ie.clone();var q=typeof le=="object"?le:{};return q.date=ie,q.args=arguments,new W(q)},G=R;G.l=N,G.i=B,G.w=function(ie,le){return K(ie,{locale:le.$L,utc:le.$u,x:le.$x,$offset:le.$offset})};var W=function(){function ie(q){this.$L=N(q.locale,null,!0),this.parse(q),this.$x=this.$x||q.x||{},this[M]=!0}var le=ie.prototype;return le.parse=function(q){this.$d=function(J){var V=J.date,ue=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,ce=(ee[7]||"0").substring(0,3);return ue?new Date(Date.UTC(ee[1],Q,ee[3]||1,ee[4]||0,ee[5]||0,ee[6]||0,ce)):new Date(ee[1],Q,ee[3]||1,ee[4]||0,ee[5]||0,ee[6]||0,ce)}}return new Date(V)}(q),this.init()},le.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()},le.$utils=function(){return G},le.isValid=function(){return this.$d.toString()!==y},le.isSame=function(q,J){var V=K(q);return this.startOf(J)<=V&&V<=this.endOf(J)},le.isAfter=function(q,J){return K(q)<this.startOf(J)},le.isBefore=function(q,J){return this.endOf(J)<K(q)},le.$g=function(q,J,V){return G.u(q)?this[J]:this.set(V,q)},le.unix=function(){return Math.floor(this.valueOf()/1e3)},le.valueOf=function(){return this.$d.getTime()},le.startOf=function(q,J){var V=this,ue=!!G.u(J)||J,ee=G.p(q),Q=function(He,$e){var Bt=G.w(V.$u?Date.UTC(V.$y,$e,He):new Date(V.$y,$e,He),V);return ue?Bt:Bt.endOf(o)},ce=function(He,$e){return G.w(V.toDate()[He].apply(V.toDate("s"),(ue?[0,0,0,0]:[23,59,59,999]).slice($e)),V)},z=this.$W,$=this.$M,ae=this.$D,_e="set"+(this.$u?"UTC":"");switch(ee){case x:return ue?Q(1,0):Q(31,11);case u:return ue?Q(1,$):Q(0,$+1);case h:var De=this.$locale().weekStart||0,ke=(z<De?z+7:z)-De;return Q(ue?ae-ke:ae+(6-ke),$);case o:case p:return ce(_e+"Hours",0);case f:return ce(_e+"Minutes",1);case c:return ce(_e+"Seconds",2);case l:return ce(_e+"Milliseconds",3);default:return this.clone()}},le.endOf=function(q){return this.startOf(q,!1)},le.$set=function(q,J){var V,ue=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)[ue],ce=ue===o?this.$D+(J-this.$W):J;if(ue===u||ue===x){var z=this.clone().set(p,1);z.$d[Q](ce),z.init(),this.$d=z.set(p,Math.min(this.$D,z.daysInMonth())).$d}else Q&&this.$d[Q](ce);return this.init(),this},le.set=function(q,J){return this.clone().$set(q,J)},le.get=function(q){return this[G.p(q)]()},le.add=function(q,J){var V,ue=this;q=Number(q);var ee=G.p(J),Q=function($){var ae=K(ue);return G.w(ae.date(ae.date()+Math.round($*q)),ue)};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 ce=(V={},V[c]=e,V[f]=r,V[l]=v,V)[ee]||1,z=this.$d.getTime()+q*ce;return G.w(z,this)},le.subtract=function(q,J){return this.add(-1*q,J)},le.format=function(q){var J=this,V=this.$locale();if(!this.isValid())return V.invalidDate||y;var ue=q||"YYYY-MM-DDTHH:mm:ssZ",ee=G.z(this),Q=this.$H,ce=this.$m,z=this.$M,$=V.weekdays,ae=V.months,_e=V.meridiem,De=function($e,Bt,gt,Dt){return $e&&($e[Bt]||$e(J,ue))||gt[Bt].slice(0,Dt)},ke=function($e){return G.s(Q%12||12,$e,"0")},He=_e||function($e,Bt,gt){var Dt=$e<12?"AM":"PM";return gt?Dt.toLowerCase():Dt};return ue.replace(b,function($e,Bt){return Bt||function(gt){switch(gt){case"YY":return String(J.$y).slice(-2);case"YYYY":return G.s(J.$y,4,"0");case"M":return z+1;case"MM":return G.s(z+1,2,"0");case"MMM":return De(V.monthsShort,z,ae,3);case"MMMM":return De(ae,z);case"D":return J.$D;case"DD":return G.s(J.$D,2,"0");case"d":return String(J.$W);case"dd":return De(V.weekdaysMin,J.$W,$,2);case"ddd":return De(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 ke(1);case"hh":return ke(2);case"a":return He(Q,ce,!0);case"A":return He(Q,ce,!1);case"m":return String(ce);case"mm":return G.s(ce,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}($e)||ee.replace(":","")})},le.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},le.diff=function(q,J,V){var ue,ee=this,Q=G.p(J),ce=K(q),z=(ce.utcOffset()-this.utcOffset())*e,$=this-ce,ae=function(){return G.m(ee,ce)};switch(Q){case x:ue=ae()/12;break;case u:ue=ae();break;case a:ue=ae()/3;break;case h:ue=($-z)/6048e5;break;case o:ue=($-z)/864e5;break;case f:ue=$/r;break;case c:ue=$/e;break;case l:ue=$/v;break;default:ue=$}return V?ue:G.a(ue)},le.daysInMonth=function(){return this.endOf(u).$D},le.$locale=function(){return D[this.$L]},le.locale=function(q,J){if(!q)return this.$L;var V=this.clone(),ue=N(q,J,!0);return ue&&(V.$L=ue),V},le.clone=function(){return G.w(this.$d,this)},le.toDate=function(){return new Date(this.valueOf())},le.toJSON=function(){return this.isValid()?this.toISOString():null},le.toISOString=function(){return this.$d.toISOString()},le.toString=function(){return this.$d.toUTCString()},ie}(),se=W.prototype;return K.prototype=se,[["$ms",i],["$s",l],["$m",c],["$H",f],["$W",o],["$M",u],["$y",x],["$D",p]].forEach(function(ie){se[ie[1]]=function(le){return this.$g(le,ie[0],ie[1])}}),K.extend=function(ie,le){return ie.$i||(ie(le,W,K),ie.$i=!0),K},K.locale=N,K.isDayjs=B,K.unix=function(ie){return K(1e3*ie)},K.en=D[C],K.Ls=D,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 A=b.match(/([+-]|\d\d)/g),k=60*A[1]+(+A[2]||0);return k===0?0:A[0]==="+"?-k:k}(_)}],a=function(_){var b=f[_];return b&&(b.indexOf?b:b.s.concat(b.f))},x=function(_,b){var A,k=f.meridiem;if(k){for(var R=1;R<=24;R+=1)if(_.indexOf(k(R,0,b))>-1){A=R>12;break}}else A=_===(b?"pm":"PM");return A},p={A:[c,function(_){this.afternoon=x(_,!1)}],a:[c,function(_){this.afternoon=x(_,!0)}],Q:[r,function(_){this.month=3*(_-1)+1}],S:[r,function(_){this.milliseconds=100*+_}],SS:[i,function(_){this.milliseconds=10*+_}],SSS:[/\d{3}/,function(_){this.milliseconds=+_}],s:[l,h("seconds")],ss:[l,h("seconds")],m:[l,h("minutes")],mm:[l,h("minutes")],H:[l,h("hours")],h:[l,h("hours")],HH:[l,h("hours")],hh:[l,h("hours")],D:[l,h("day")],DD:[i,h("day")],Do:[c,function(_){var b=f.ordinal,A=_.match(/\d+/);if(this.day=A[0],b)for(var 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"),A=(a("monthsShort")||b.map(function(k){return k.slice(0,3)})).indexOf(_)+1;if(A<1)throw new Error;this.month=A%12||A}],MMMM:[c,function(_){var b=a("months").indexOf(_)+1;if(b<1)throw new Error;this.month=b%12||b}],Y:[/[+-]?\d+/,h("year")],YY:[i,function(_){this.year=o(_)}],YYYY:[/\d{4}/,h("year")],Z:u,ZZ:u};function y(_){var b,A;b=_,A=f&&f.formats;for(var k=(_=b.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,function(K,G,W){var se=W&&W.toUpperCase();return G||A[W]||v[W]||A[se].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(ie,le,q){return le||q.slice(1)})})).match(e),R=k.length,C=0;C<R;C+=1){var D=k[C],M=p[D],B=M&&M[0],N=M&&M[1];k[C]=N?{regex:B,parser:N}:D.replace(/^\[|\]$/g,"")}return function(K){for(var G={},W=0,se=0;W<R;W+=1){var ie=k[W];if(typeof ie=="string")se+=ie.length;else{var le=ie.regex,q=ie.parser,J=K.slice(se),V=le.exec(J)[0];q.call(G,V),K=K.replace(V,"")}}return function(ue){var ee=ue.afternoon;if(ee!==void 0){var Q=ue.hours;ee?Q<12&&(ue.hours+=12):Q===12&&(ue.hours=0),delete ue.afternoon}}(G),G}}return function(_,b,A){A.p.customParseFormat=!0,_&&_.parseTwoDigitYear&&(o=_.parseTwoDigitYear);var k=b.prototype,R=k.parse;k.parse=function(C){var D=C.date,M=C.utc,B=C.args;this.$u=M;var N=B[1];if(typeof N=="string"){var K=B[2]===!0,G=B[3]===!0,W=K||G,se=B[2];G&&(se=B[2]),f=this.$locale(),!K&&se&&(f=A.Ls[se]),this.$d=function(J,V,ue,ee){try{if(["x","X"].indexOf(V)>-1)return new Date((V==="X"?1e3:1)*J);var Q=y(V)(J),ce=Q.year,z=Q.month,$=Q.day,ae=Q.hours,_e=Q.minutes,De=Q.seconds,ke=Q.milliseconds,He=Q.zone,$e=Q.week,Bt=new Date,gt=$||(ce||z?1:Bt.getDate()),Dt=ce||Bt.getFullYear(),nr=0;ce&&!z||(nr=z>0?z-1:Bt.getMonth());var Xt,cr=ae||0,Ge=_e||0,Tt=De||0,Ut=ke||0;return He?new Date(Date.UTC(Dt,nr,gt,cr,Ge,Tt,Ut+60*He.offset*1e3)):ue?new Date(Date.UTC(Dt,nr,gt,cr,Ge,Tt,Ut)):(Xt=new Date(Dt,nr,gt,cr,Ge,Tt,Ut),$e&&(Xt=ee(Xt).week($e).toDate()),Xt)}catch(at){return new Date("")}}(D,N,M,A),this.init(),se&&se!==!0&&(this.$L=this.locale(se).$L),W&&D!=this.format(N)&&(this.$d=new Date("")),f={}}else if(N instanceof Array)for(var ie=N.length,le=1;le<=ie;le+=1){B[1]=N[le-1];var q=A.apply(this,B);if(q.isValid()){this.$d=q.$d,this.$L=q.$L,this.init();break}le===ie&&(this.$d=new Date(""))}else R.call(this,C)}}})},47477:function(d){(function(v,e){d.exports=e()})(this,function(){"use strict";var v,e,r=1e3,i=6e4,l=36e5,c=864e5,f=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,o=31536e6,h=2628e6,u=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/,a={years:o,months:h,days:c,hours:l,minutes:i,seconds:r,milliseconds:1,weeks:6048e5},x=function(D){return D instanceof R},p=function(D,M,B){return new R(D,B,M.$l)},y=function(D){return e.p(D)+"s"},_=function(D){return D<0},b=function(D){return _(D)?Math.ceil(D):Math.floor(D)},A=function(D){return Math.abs(D)},k=function(D,M){return D?_(D)?{negative:!0,format:""+A(D)+M}:{negative:!1,format:""+D+M}:{negative:!1,format:""}},R=function(){function D(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(ie){G.$d[y(ie)]=B[ie]}),this.calMilliseconds(),this;if(typeof B=="string"){var W=B.match(u);if(W){var se=W.slice(2).map(function(ie){return ie!=null?Number(ie):0});return this.$d.years=se[0],this.$d.months=se[1],this.$d.weeks=se[2],this.$d.days=se[3],this.$d.hours=se[4],this.$d.minutes=se[5],this.$d.seconds=se[6],this.calMilliseconds(),this}}return this}var M=D.prototype;return M.calMilliseconds=function(){var B=this;this.$ms=Object.keys(this.$d).reduce(function(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"),W=k(this.$d.hours,"H"),se=k(this.$d.minutes,"M"),ie=this.$d.seconds||0;this.$d.milliseconds&&(ie+=this.$d.milliseconds/1e3,ie=Math.round(1e3*ie)/1e3);var le=k(ie,"S"),q=B.negative||N.negative||G.negative||W.negative||se.negative||le.negative,J=W.format||se.format||le.format?"T":"",V=(q?"-":"")+"P"+B.format+N.format+G.format+J+W.format+se.format+le.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,W){return W||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")},D}(),C=function(D,M,B){return D.add(M.years()*B,"y").add(M.months()*B,"M").add(M.days()*B,"d").add(M.hours()*B,"h").add(M.minutes()*B,"m").add(M.seconds()*B,"s").add(M.milliseconds()*B,"ms")};return function(D,M,B){v=B,e=B().$utils(),B.duration=function(G,W){var se=B.locale();return p(G,{$l:se},W)},B.isDuration=x;var N=M.prototype.add,K=M.prototype.subtract;M.prototype.add=function(G,W){return x(G)?C(this,G,1):N.bind(this)(G,W)},M.prototype.subtract=function(G,W){return x(G)?C(this,G,-1):K.bind(this)(G,W)}}})},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]),A=l(_[x]),k=b||A.map(function(C){return C.slice(0,p)});if(!y)return k;var R=_.weekStart;return k.map(function(C,D){return k[(D+(R||0))%7]})},f=function(){return r.Ls[r.locale()]},o=function(u,a){return u.formats[a]||function(x){return x.replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(p,y,_){return y||_.slice(1)})}(u.formats[a.toUpperCase()])},h=function(){var u=this;return{months:function(a){return a?a.format("MMMM"):c(u,"months")},monthsShort:function(a){return a?a.format("MMM"):c(u,"monthsShort","months",3)},firstDayOfWeek:function(){return u.$locale().weekStart||0},weekdays:function(a){return a?a.format("dddd"):c(u,"weekdays")},weekdaysMin:function(a){return a?a.format("dd"):c(u,"weekdaysMin","weekdays",2)},weekdaysShort:function(a){return a?a.format("ddd"):c(u,"weekdaysShort","weekdays",3)},longDateFormat:function(a){return o(u.$locale(),a)},meridiem:this.$locale().meridiem,ordinal:this.$locale().ordinal}};i.localeData=function(){return h.bind(this)()},r.localeData=function(){var u=f();return{firstDayOfWeek:function(){return u.weekStart||0},weekdays:function(){return r.weekdays()},weekdaysShort:function(){return r.weekdaysShort()},weekdaysMin:function(){return r.weekdaysMin()},months:function(){return r.months()},monthsShort:function(){return r.monthsShort()},longDateFormat:function(a){return o(u,a)},meridiem:u.meridiem,ordinal:u.ordinal}},r.months=function(){return c(f(),"months")},r.monthsShort=function(){return c(f(),"monthsShort","months",3)},r.weekdays=function(u){return c(f(),"weekdays",null,null,u)},r.weekdaysShort=function(u){return c(f(),"weekdaysShort","weekdays",3,u)},r.weekdaysMin=function(u){return c(f(),"weekdaysMin","weekdays",2,u)}}})},62053:function(d){(function(v,e){d.exports=e()})(this,function(){"use strict";var v={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"};return function(e,r,i){var l=r.prototype,c=l.format;i.en.formats=v,l.format=function(f){f===void 0&&(f="YYYY-MM-DDTHH:mm:ssZ");var o=this.$locale().formats,h=function(u,a){return u.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,function(x,p,y){var _=y&&y.toUpperCase();return p||a[y]||v[y]||a[_].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(b,A,k){return A||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,A=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=A.length,R=0;R<k;R+=1){var C=A[R];C.d&&(p=a?r(o).diff(u,C.d,!0):u.diff(o,C.d,!0));var D=(v.rounding||Math.round)(Math.abs(p));if(_=p>0,D<=C.r||!C.r){D<=1&&R>0&&(C=A[R-1]);var M=b[C.l];x&&(D=x(""+D)),y=typeof M=="string"?M.replace("%d",D):M(D,h,C.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 A=arguments.length>0&&arguments[0]!==void 0?arguments[0]:y,k=arguments.length>1?arguments[1]:void 0,R=k.type,C=k.payload,D=C||{},M=D.namespace,B=D.actionType,N;switch(R){case i:N=r(r({},A),{},{global:!0,models:r(r({},A.models),{},v({},M,!0)),effects:r(r({},A.effects),{},v({},B,!0))});break;case l:{var K=r(r({},A.effects),{},v({},B,!1)),G=r(r({},A.models),{},v({},M,Object.keys(K).some(function(se){var ie=se.split("/")[0];return ie!==M?!1:K[se]}))),W=Object.keys(G).some(function(se){return G[se]});N=r(r({},A),{},{global:W,models:G,effects:K});break}default:N=A;break}return N});function b(A,k,R,C){var D=k.put,M=R.namespace;return a.length===0&&p.length===0||a.length>0&&a.indexOf(C)!==-1||p.length>0&&p.indexOf(C)===-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,D({type:i,payload:{namespace:M,actionType:C}});case 2:return G.next=4,A.apply(void 0,N);case 4:return G.next=6,D({type:l,payload:{namespace:M,actionType:C}});case 6:case"end":return G.stop()}},B)}):A}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,A,k;x=function(R,C){var D;return i(C),u.call(this,"__ee__")?D=this.__ee__:(D=a.value=f(null),o(this,"__ee__",a),a.value=null),D[R]?typeof D[R]=="object"?D[R].push(C):D[R]=[D[R],C]:D[R]=C,this},p=function(R,C){var D,M;return i(C),M=this,x.call(this,R,D=function(){y.call(M,R,D),l.call(C,this,arguments)}),D.__eeOnceListener__=C,this},y=function(R,C){var D,M,B,N;if(i(C),!u.call(this,"__ee__"))return this;if(D=this.__ee__,!D[R])return this;if(M=D[R],typeof M=="object")for(N=0;B=M[N];++N)(B===C||B.__eeOnceListener__===C)&&(M.length===2?D[R]=M[N?0:1]:M.splice(N,1));else(M===C||M.__eeOnceListener__===C)&&delete D[R];return this},_=function(R){var C,D,M,B,N;if(u.call(this,"__ee__")&&(B=this.__ee__[R],!!B))if(typeof B=="object"){for(D=arguments.length,N=new Array(D-1),C=1;C<D;++C)N[C-1]=arguments[C];for(B=B.slice(),C=0;M=B[C];++C)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(D=arguments.length,N=new Array(D-1),C=1;C<D;++C)N[C-1]=arguments[C];l.call(B,this,N)}},b={on:x,once:p,off:y,emit:_},A={on:r(x),once:r(p),off:r(y),emit:r(_)},k=h({},A),d.exports=v=function(R){return R==null?f(k):h(Object(R),A)},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,C){for(var D=this.h[0],M=this.h[1],B=this.h[2],N=this.h[3],K=this.h[4],G=D,W=M,se=B,ie=N,le=K,q=0;q<80;q++){var J=c(l(o(D,a(q,M,B,N),R[y[q]+C],x(q)),b[q]),K);D=K,K=N,N=l(B,10),B=M,M=J,J=c(l(o(G,a(79-q,W,se,ie),R[_[q]+C],p(q)),A[q]),le),G=le,le=ie,ie=l(se,10),se=W,W=J}J=f(this.h[1],B,ie),this.h[1]=f(this.h[2],N,le),this.h[2]=f(this.h[3],K,G),this.h[3]=f(this.h[4],D,W),this.h[4]=f(this.h[0],M,se),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,C,D){return k<=15?R^C^D:k<=31?R&C|~R&D:k<=47?(R|~C)^D:k<=63?R&D|C&~D:R^(C|~D)}function x(k){return k<=15?0:k<=31?1518500249:k<=47?1859775393:k<=63?2400959708:2840853838}function p(k){return k<=15?1352829926:k<=31?1548603684:k<=47?1836072691:k<=63?2053994217:0}var y=[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13],_=[5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11],b=[11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6],A=[8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11]},26672:function(d,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,A=0;A<16;A++)b[A]=y[_+A];for(;A<b.length;A++)b[A]=c(b[A-3]^b[A-8]^b[A-14]^b[A-16],1);var k=this.h[0],R=this.h[1],C=this.h[2],D=this.h[3],M=this.h[4];for(A=0;A<b.length;A++){var B=~~(A/20),N=o(c(k,5),h(B,R,C,D),M,b[A],a[B]);M=D,D=C,C=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],C),this.h[3]=f(this.h[3],D),this.h[4]=f(this.h[4],M)},x.prototype._digest=function(y){return y==="hex"?r.toHex32(this.h,"big"):r.split32(this.h,"big")}},44853:function(d,v,e){"use strict";var r=e(8631),i=e(6586);function l(){if(!(this instanceof l))return new l;i.call(this),this.h=[3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428]}r.inherits(l,i),d.exports=l,l.blockSize=512,l.outSize=224,l.hmacStrength=192,l.padLength=64,l.prototype._digest=function(f){return f==="hex"?r.toHex32(this.h.slice(0,7),"big"):r.split32(this.h.slice(0,7),"big")}},6586:function(d,v,e){"use strict";var r=e(8631),i=e(28766),l=e(81692),c=e(61339),f=r.sum32,o=r.sum32_4,h=r.sum32_5,u=l.ch32,a=l.maj32,x=l.s0_256,p=l.s1_256,y=l.g0_256,_=l.g1_256,b=i.BlockHash,A=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298];function k(){if(!(this instanceof k))return new k;b.call(this),this.h=[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225],this.k=A,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(C,D){for(var M=this.W,B=0;B<16;B++)M[B]=C[D+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],W=this.h[3],se=this.h[4],ie=this.h[5],le=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(se),u(se,ie,le),this.k[B],M[B]),V=f(x(N),a(N,K,G));q=le,le=ie,ie=se,se=f(W,J),W=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],W),this.h[4]=f(this.h[4],se),this.h[5]=f(this.h[5],ie),this.h[6]=f(this.h[6],le),this.h[7]=f(this.h[7],q)},k.prototype._digest=function(C){return C==="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,A=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;A.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,A),d.exports=R,R.blockSize=1024,R.outSize=512,R.hmacStrength=192,R.padLength=128,R.prototype._prepareBlock=function(V,ue){for(var ee=this.W,Q=0;Q<32;Q++)ee[Q]=V[ue+Q];for(;Q<ee.length;Q+=2){var ce=le(ee[Q-4],ee[Q-3]),z=q(ee[Q-4],ee[Q-3]),$=ee[Q-14],ae=ee[Q-13],_e=se(ee[Q-30],ee[Q-29]),De=ie(ee[Q-30],ee[Q-29]),ke=ee[Q-32],He=ee[Q-31];ee[Q]=p(ce,z,$,ae,_e,De,ke,He),ee[Q+1]=y(ce,z,$,ae,_e,De,ke,He)}},R.prototype._update=function(V,ue){this._prepareBlock(V,ue);var ee=this.W,Q=this.h[0],ce=this.h[1],z=this.h[2],$=this.h[3],ae=this.h[4],_e=this.h[5],De=this.h[6],ke=this.h[7],He=this.h[8],$e=this.h[9],Bt=this.h[10],gt=this.h[11],Dt=this.h[12],nr=this.h[13],Xt=this.h[14],cr=this.h[15];l(this.k.length===ee.length);for(var Ge=0;Ge<ee.length;Ge+=2){var Tt=Xt,Ut=cr,at=G(He,$e),bt=W(He,$e),dt=C(He,$e,Bt,gt,Dt,nr),tt=D(He,$e,Bt,gt,Dt,nr),Ue=this.k[Ge],ye=this.k[Ge+1],Ce=ee[Ge],Me=ee[Ge+1],je=_(Tt,Ut,at,bt,dt,tt,Ue,ye,Ce,Me),We=b(Tt,Ut,at,bt,dt,tt,Ue,ye,Ce,Me);Tt=N(Q,ce),Ut=K(Q,ce),at=M(Q,ce,z,$,ae,_e),bt=B(Q,ce,z,$,ae,_e);var nt=a(Tt,Ut,at,bt),lt=x(Tt,Ut,at,bt);Xt=Dt,cr=nr,Dt=Bt,nr=gt,Bt=He,gt=$e,He=a(De,ke,je,We),$e=x(ke,ke,je,We),De=ae,ke=_e,ae=z,_e=$,z=Q,$=ce,Q=a(je,We,nt,lt),ce=x(je,We,nt,lt)}u(this.h,0,Q,ce),u(this.h,2,z,$),u(this.h,4,ae,_e),u(this.h,6,De,ke),u(this.h,8,He,$e),u(this.h,10,Bt,gt),u(this.h,12,Dt,nr),u(this.h,14,Xt,cr)},R.prototype._digest=function(V){return V==="hex"?r.toHex32(this.h,"big"):r.split32(this.h,"big")};function C(J,V,ue,ee,Q){var ce=J&ue^~J&Q;return ce<0&&(ce+=4294967296),ce}function D(J,V,ue,ee,Q,ce){var z=V&ee^~V&ce;return z<0&&(z+=4294967296),z}function M(J,V,ue,ee,Q){var ce=J&ue^J&Q^ue&Q;return ce<0&&(ce+=4294967296),ce}function B(J,V,ue,ee,Q,ce){var z=V&ee^V&ce^ee&ce;return z<0&&(z+=4294967296),z}function N(J,V){var ue=c(J,V,28),ee=c(V,J,2),Q=c(V,J,7),ce=ue^ee^Q;return ce<0&&(ce+=4294967296),ce}function K(J,V){var ue=f(J,V,28),ee=f(V,J,2),Q=f(V,J,7),ce=ue^ee^Q;return ce<0&&(ce+=4294967296),ce}function G(J,V){var ue=c(J,V,14),ee=c(J,V,18),Q=c(V,J,9),ce=ue^ee^Q;return ce<0&&(ce+=4294967296),ce}function W(J,V){var ue=f(J,V,14),ee=f(J,V,18),Q=f(V,J,9),ce=ue^ee^Q;return ce<0&&(ce+=4294967296),ce}function se(J,V){var ue=c(J,V,1),ee=c(J,V,8),Q=o(J,V,7),ce=ue^ee^Q;return ce<0&&(ce+=4294967296),ce}function ie(J,V){var ue=f(J,V,1),ee=f(J,V,8),Q=h(J,V,7),ce=ue^ee^Q;return ce<0&&(ce+=4294967296),ce}function le(J,V){var ue=c(J,V,19),ee=c(V,J,29),Q=o(J,V,6),ce=ue^ee^Q;return ce<0&&(ce+=4294967296),ce}function q(J,V){var ue=f(J,V,19),ee=f(V,J,29),Q=h(J,V,6),ce=ue^ee^Q;return ce<0&&(ce+=4294967296),ce}},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 ue=0,ee=0;ee<q.length;ee++){var Q=q.charCodeAt(ee);Q<128?V[ue++]=Q:Q<2048?(V[ue++]=Q>>6|192,V[ue++]=Q&63|128):l(q,ee)?(Q=65536+((Q&1023)<<10)+(q.charCodeAt(++ee)&1023),V[ue++]=Q>>18|240,V[ue++]=Q>>12&63|128,V[ue++]=Q>>6&63|128,V[ue++]=Q&63|128):(V[ue++]=Q>>12|224,V[ue++]=Q>>6&63|128,V[ue++]=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="",ue=0;ue<q.length;ue++){var ee=q[ue];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,ue){var ee=V-J;r(ee%4===0);for(var Q=new Array(ee/4),ce=0,z=J;ce<Q.length;ce++,z+=4){var $;ue==="big"?$=q[z]<<24|q[z+1]<<16|q[z+2]<<8|q[z+3]:$=q[z+3]<<24|q[z+2]<<16|q[z+1]<<8|q[z],Q[ce]=$>>>0}return Q}v.join32=x;function p(q,J){for(var V=new Array(q.length*4),ue=0,ee=0;ue<q.length;ue++,ee+=4){var Q=q[ue];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 A(q,J,V){return q+J+V>>>0}v.sum32_3=A;function k(q,J,V,ue){return q+J+V+ue>>>0}v.sum32_4=k;function R(q,J,V,ue,ee){return q+J+V+ue+ee>>>0}v.sum32_5=R;function C(q,J,V,ue){var ee=q[J],Q=q[J+1],ce=ue+Q>>>0,z=(ce<ue?1:0)+V+ee;q[J]=z>>>0,q[J+1]=ce}v.sum64=C;function D(q,J,V,ue){var ee=J+ue>>>0,Q=(ee<J?1:0)+q+V;return Q>>>0}v.sum64_hi=D;function M(q,J,V,ue){var ee=J+ue;return ee>>>0}v.sum64_lo=M;function B(q,J,V,ue,ee,Q,ce,z){var $=0,ae=J;ae=ae+ue>>>0,$+=ae<J?1:0,ae=ae+Q>>>0,$+=ae<Q?1:0,ae=ae+z>>>0,$+=ae<z?1:0;var _e=q+V+ee+ce+$;return _e>>>0}v.sum64_4_hi=B;function N(q,J,V,ue,ee,Q,ce,z){var $=J+ue+Q+z;return $>>>0}v.sum64_4_lo=N;function K(q,J,V,ue,ee,Q,ce,z,$,ae){var _e=0,De=J;De=De+ue>>>0,_e+=De<J?1:0,De=De+Q>>>0,_e+=De<Q?1:0,De=De+z>>>0,_e+=De<z?1:0,De=De+ae>>>0,_e+=De<ae?1:0;var ke=q+V+ee+ce+$+_e;return ke>>>0}v.sum64_5_hi=K;function G(q,J,V,ue,ee,Q,ce,z,$,ae){var _e=J+ue+Q+z+ae;return _e>>>0}v.sum64_5_lo=G;function W(q,J,V){var ue=J<<32-V|q>>>V;return ue>>>0}v.rotr64_hi=W;function se(q,J,V){var ue=q<<32-V|J>>>V;return ue>>>0}v.rotr64_lo=se;function ie(q,J,V){return q>>>V}v.shr64_hi=ie;function le(q,J,V){var ue=q<<32-V|J>>>V;return ue>>>0}v.shr64_lo=le},19340:function(d,v,e){"use strict";e.d(v,{Ep:function(){return A},PP:function(){return x},aU:function(){return i},cP:function(){return k},lX:function(){return u},q_:function(){return a}});var r=e(14809),i;(function(R){R.Pop="POP",R.Push="PUSH",R.Replace="REPLACE"})(i||(i={}));var l=function(R){return R};function c(R,C){if(!R){typeof console!="undefined"&&console.warn(C);try{throw new Error(C)}catch(D){}}}var f="beforeunload",o="hashchange",h="popstate";function u(R){R===void 0&&(R={});var C=R,D=C.window,M=D===void 0?document.defaultView:D,B=M.history;function N(){var De=M.location,ke=De.pathname,He=De.search,$e=De.hash,Bt=B.state||{};return[Bt.idx,l({pathname:ke,search:He,hash:$e,state:Bt.usr||null,key:Bt.key||"default"})]}var K=null;function G(){if(K)J.call(K),K=null;else{var De=i.Pop,ke=N(),He=ke[0],$e=ke[1];if(J.length){if(He!=null){var Bt=ie-He;Bt&&(K={action:De,location:$e,retry:function(){ae(Bt*-1)}},ae(Bt))}}else ce(De)}}M.addEventListener(h,G);var W=i.Pop,se=N(),ie=se[0],le=se[1],q=_(),J=_();ie==null&&(ie=0,B.replaceState((0,r.Z)({},B.state,{idx:ie}),""));function V(De){return typeof De=="string"?De:A(De)}function ue(De,ke){return ke===void 0&&(ke=null),l((0,r.Z)({pathname:le.pathname,hash:"",search:""},typeof De=="string"?k(De):De,{state:ke,key:b()}))}function ee(De,ke){return[{usr:De.state,key:De.key,idx:ke},V(De)]}function Q(De,ke,He){return!J.length||(J.call({action:De,location:ke,retry:He}),!1)}function ce(De){W=De;var ke=N();ie=ke[0],le=ke[1],q.call({action:W,location:le})}function z(De,ke){var He=i.Push,$e=ue(De,ke);function Bt(){z(De,ke)}if(Q(He,$e,Bt)){var gt=ee($e,ie+1),Dt=gt[0],nr=gt[1];try{B.pushState(Dt,"",nr)}catch(Xt){M.location.assign(nr)}ce(He)}}function $(De,ke){var He=i.Replace,$e=ue(De,ke);function Bt(){$(De,ke)}if(Q(He,$e,Bt)){var gt=ee($e,ie),Dt=gt[0],nr=gt[1];B.replaceState(Dt,"",nr),ce(He)}}function ae(De){B.go(De)}var _e={get action(){return W},get location(){return le},createHref:V,push:z,replace:$,go:ae,back:function(){ae(-1)},forward:function(){ae(1)},listen:function(ke){return q.push(ke)},block:function(ke){var He=J.push(ke);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 C=R,D=C.window,M=D===void 0?document.defaultView:D,B=M.history;function N(){var ke=k(M.location.hash.substr(1)),He=ke.pathname,$e=He===void 0?"/":He,Bt=ke.search,gt=Bt===void 0?"":Bt,Dt=ke.hash,nr=Dt===void 0?"":Dt,Xt=B.state||{};return[Xt.idx,l({pathname:$e,search:gt,hash:nr,state:Xt.usr||null,key:Xt.key||"default"})]}var K=null;function G(){if(K)J.call(K),K=null;else{var ke=i.Pop,He=N(),$e=He[0],Bt=He[1];if(J.length){if($e!=null){var gt=ie-$e;gt&&(K={action:ke,location:Bt,retry:function(){_e(gt*-1)}},_e(gt))}}else z(ke)}}M.addEventListener(h,G),M.addEventListener(o,function(){var ke=N(),He=ke[1];A(He)!==A(le)&&G()});var W=i.Pop,se=N(),ie=se[0],le=se[1],q=_(),J=_();ie==null&&(ie=0,B.replaceState((0,r.Z)({},B.state,{idx:ie}),""));function V(){var ke=document.querySelector("base"),He="";if(ke&&ke.getAttribute("href")){var $e=M.location.href,Bt=$e.indexOf("#");He=Bt===-1?$e:$e.slice(0,Bt)}return He}function ue(ke){return V()+"#"+(typeof ke=="string"?ke:A(ke))}function ee(ke,He){return He===void 0&&(He=null),l((0,r.Z)({pathname:le.pathname,hash:"",search:""},typeof ke=="string"?k(ke):ke,{state:He,key:b()}))}function Q(ke,He){return[{usr:ke.state,key:ke.key,idx:He},ue(ke)]}function ce(ke,He,$e){return!J.length||(J.call({action:ke,location:He,retry:$e}),!1)}function z(ke){W=ke;var He=N();ie=He[0],le=He[1],q.call({action:W,location:le})}function $(ke,He){var $e=i.Push,Bt=ee(ke,He);function gt(){$(ke,He)}if(ce($e,Bt,gt)){var Dt=Q(Bt,ie+1),nr=Dt[0],Xt=Dt[1];try{B.pushState(nr,"",Xt)}catch(cr){M.location.assign(Xt)}z($e)}}function ae(ke,He){var $e=i.Replace,Bt=ee(ke,He);function gt(){ae(ke,He)}if(ce($e,Bt,gt)){var Dt=Q(Bt,ie),nr=Dt[0],Xt=Dt[1];B.replaceState(nr,"",Xt),z($e)}}function _e(ke){B.go(ke)}var De={get action(){return W},get location(){return le},createHref:ue,push:$,replace:ae,go:_e,back:function(){_e(-1)},forward:function(){_e(1)},listen:function(He){return q.push(He)},block:function(He){var $e=J.push(He);return J.length===1&&M.addEventListener(f,y),function(){$e(),J.length||M.removeEventListener(f,y)}}};return De}function x(R){R===void 0&&(R={});var C=R,D=C.initialEntries,M=D===void 0?["/"]:D,B=C.initialIndex,N=M.map(function(z){var $=l((0,r.Z)({pathname:"/",search:"",hash:"",state:null,key:b()},typeof z=="string"?k(z):z));return $}),K=p(B==null?N.length-1:B,0,N.length-1),G=i.Pop,W=N[K],se=_(),ie=_();function le(z){return typeof z=="string"?z:A(z)}function q(z,$){return $===void 0&&($=null),l((0,r.Z)({pathname:W.pathname,search:"",hash:""},typeof z=="string"?k(z):z,{state:$,key:b()}))}function J(z,$,ae){return!ie.length||(ie.call({action:z,location:$,retry:ae}),!1)}function V(z,$){G=z,W=$,se.call({action:G,location:W})}function ue(z,$){var ae=i.Push,_e=q(z,$);function De(){ue(z,$)}J(ae,_e,De)&&(K+=1,N.splice(K,N.length,_e),V(ae,_e))}function ee(z,$){var ae=i.Replace,_e=q(z,$);function De(){ee(z,$)}J(ae,_e,De)&&(N[K]=_e,V(ae,_e))}function Q(z){var $=p(K+z,0,N.length-1),ae=i.Pop,_e=N[$];function De(){Q(z)}J(ae,_e,De)&&(K=$,V(ae,_e))}var ce={get index(){return K},get action(){return G},get location(){return W},createHref:le,push:ue,replace:ee,go:Q,back:function(){Q(-1)},forward:function(){Q(1)},listen:function($){return se.push($)},block:function($){return ie.push($)}};return ce}function p(R,C,D){return Math.min(Math.max(R,C),D)}function y(R){R.preventDefault(),R.returnValue=""}function _(){var R=[];return{get length(){return R.length},push:function(D){return R.push(D),function(){R=R.filter(function(M){return M!==D})}},call:function(D){R.forEach(function(M){return M&&M(D)})}}}function b(){return Math.random().toString(36).substr(2,8)}function A(R){var C=R.pathname,D=C===void 0?"/":C,M=R.search,B=M===void 0?"":M,N=R.hash,K=N===void 0?"":N;return B&&B!=="?"&&(D+=B.charAt(0)==="?"?B:"?"+B),K&&K!=="#"&&(D+=K.charAt(0)==="#"?K:"#"+K),D}function k(R){var C={};if(R){var D=R.indexOf("#");D>=0&&(C.hash=R.substr(D),R=R.substr(0,D));var M=R.indexOf("?");M>=0&&(C.search=R.substr(M),R=R.substr(0,M)),R&&(C.pathname=R)}return C}},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(A){return r.isMemo(A)?f:o[A.$$typeof]||i}var u=Object.defineProperty,a=Object.getOwnPropertyNames,x=Object.getOwnPropertySymbols,p=Object.getOwnPropertyDescriptor,y=Object.getPrototypeOf,_=Object.prototype;function b(A,k,R){if(typeof k!="string"){if(_){var C=y(k);C&&C!==_&&b(A,C,R)}var D=a(k);x&&(D=D.concat(x(k)));for(var M=h(A),B=h(k),N=0;N<D.length;++N){var K=D[N];if(!l[K]&&!(R&&R[K])&&!(B&&B[K])&&!(M&&M[K])){var G=p(k,K);try{u(A,K,G)}catch(W){}}}}return A}d.exports=b},4603:function(d){typeof Object.create=="function"?d.exports=function(e,r){r&&(e.super_=r,e.prototype=Object.create(r.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}))}:d.exports=function(e,r){if(r){e.super_=r;var i=function(){};i.prototype=r.prototype,e.prototype=new i,e.prototype.constructor=e}}},44520:function(d){"use strict";var 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 A=this.__lines[b];if(A.is_empty())break;if(A.item(0).indexOf(y)!==0&&A.item(-1)!==_){this.__lines.splice(b+1,0,new a(this)),this.previous_line=this.__lines[this.__lines.length-2];break}b--}},u.exports.Output=p},,,,function(u){function a(y,_){this.raw_options=x(y,_),this.disabled=this._get_boolean("disabled"),this.eol=this._get_characters("eol","auto"),this.end_with_newline=this._get_boolean("end_with_newline"),this.indent_size=this._get_number("indent_size",4),this.indent_char=this._get_characters("indent_char"," "),this.indent_level=this._get_number("indent_level"),this.preserve_newlines=this._get_boolean("preserve_newlines",!0),this.max_preserve_newlines=this._get_number("max_preserve_newlines",32786),this.preserve_newlines||(this.max_preserve_newlines=0),this.indent_with_tabs=this._get_boolean("indent_with_tabs",this.indent_char===" "),this.indent_with_tabs&&(this.indent_char=" ",this.indent_size===1&&(this.indent_size=4)),this.wrap_line_length=this._get_number("wrap_line_length",this._get_number("max_char")),this.indent_empty_lines=this._get_boolean("indent_empty_lines"),this.templating=this._get_selection_list("templating",["auto","none","angular","django","erb","handlebars","php","smarty"],["auto"])}a.prototype._get_array=function(y,_){var b=this.raw_options[y],A=_||[];return typeof b=="object"?b!==null&&typeof b.concat=="function"&&(A=b.concat()):typeof b=="string"&&(A=b.split(/[^a-zA-Z0-9_\/\-]+/)),A},a.prototype._get_boolean=function(y,_){var b=this.raw_options[y],A=b===void 0?!!_:!!b;return A},a.prototype._get_characters=function(y,_){var b=this.raw_options[y],A=_||"";return typeof b=="string"&&(A=b.replace(/\\r/,"\r").replace(/\\n/,`
|
|
|
`).replace(/\\t/," ")),A},a.prototype._get_number=function(y,_){var b=this.raw_options[y];_=parseInt(_,10),isNaN(_)&&(_=0);var A=parseInt(b,10);return isNaN(A)&&(A=_),A},a.prototype._get_selection=function(y,_,b){var A=this._get_selection_list(y,_,b);if(A.length!==1)throw new Error("Invalid Option Value: The option '"+y+`' can only be one of the following values:
|
|
|
`+_+`
|
|
|
You passed in: '`+this.raw_options[y]+"'");return A[0]},a.prototype._get_selection_list=function(y,_,b){if(!_||_.length===0)throw new Error("Selection list cannot be empty.");if(b=b||[_[0]],!this._is_valid_selection(b,_))throw new Error("Invalid Default Value!");var A=this._get_array(y,b);if(!this._is_valid_selection(A,_))throw new Error("Invalid Option Value: The option '"+y+`' can contain only the following values:
|
|
|
`+_+`
|
|
|
You passed in: '`+this.raw_options[y]+"'");return A},a.prototype._is_valid_selection=function(y,_){return y.length&&_.length&&!y.some(function(b){return _.indexOf(b)===-1})};function x(y,_){var b={};y=p(y);var A;for(A in y)A!==_&&(b[A]=y[A]);if(_&&y[_])for(A in y[_])b[A]=y[_][A];return b}function p(y){var _={},b;for(b in y){var A=b.replace(/-/g,"_");_[A]=y[b]}return _}u.exports.Options=a,u.exports.normalizeOpts=p,u.exports.mergeOpts=x},,function(u){var a=RegExp.prototype.hasOwnProperty("sticky");function x(p){this.__input=p||"",this.__input_length=this.__input.length,this.__position=0}x.prototype.restart=function(){this.__position=0},x.prototype.back=function(){this.__position>0&&(this.__position-=1)},x.prototype.hasNext=function(){return this.__position<this.__input_length},x.prototype.next=function(){var p=null;return this.hasNext()&&(p=this.__input.charAt(this.__position),this.__position+=1),p},x.prototype.peek=function(p){var y=null;return p=p||0,p+=this.__position,p>=0&&p<this.__input_length&&(y=this.__input.charAt(p)),y},x.prototype.__match=function(p,y){p.lastIndex=y;var _=p.exec(this.__input);return _&&!(a&&p.sticky)&&_.index!==y&&(_=null),_},x.prototype.test=function(p,y){return y=y||0,y+=this.__position,y>=0&&y<this.__input_length?!!this.__match(p,y):!1},x.prototype.testChar=function(p,y){var _=this.peek(y);return p.lastIndex=0,_!==null&&p.test(_)},x.prototype.match=function(p){var y=this.__match(p,this.__position);return y?this.__position+=y[0].length:y=null,y},x.prototype.read=function(p,y,_){var b="",A;return p&&(A=this.match(p),A&&(b+=A[0])),y&&(A||!p)&&(b+=this.readUntil(y,_)),b},x.prototype.readUntil=function(p,y){var _="",b=this.__position;p.lastIndex=this.__position;var A=p.exec(this.__input);return A?(b=A.index,y&&(b+=A[0].length)):b=this.__input_length,_=this.__input.substring(this.__position,b),this.__position=b,_},x.prototype.readUntilAfter=function(p){return this.readUntil(p,!0)},x.prototype.get_regexp=function(p,y){var _=null,b="g";return y&&a&&(b="y"),typeof p=="string"&&p!==""?_=new RegExp(p,b):p&&(_=new RegExp(p.source,b)),_},x.prototype.get_literal_regexp=function(p){return RegExp(p.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&"))},x.prototype.peekUntilAfter=function(p){var y=this.__position,_=this.readUntilAfter(p);return this.__position=y,_},x.prototype.lookBack=function(p){var y=this.__position-1;return y>=p.length&&this.__input.substring(y-p.length,y).toLowerCase()===p},u.exports.InputScanner=x},,,,,function(u){function a(x,p){x=typeof x=="string"?x:x.source,p=typeof p=="string"?p:p.source,this.__directives_block_pattern=new RegExp(x+/ beautify( \w+[:]\w+)+ /.source+p,"g"),this.__directive_pattern=/ (\w+)[:](\w+)/g,this.__directives_end_ignore_pattern=new RegExp(x+/\sbeautify\signore:end\s/.source+p,"g")}a.prototype.get_directives=function(x){if(!x.match(this.__directives_block_pattern))return null;var p={};this.__directive_pattern.lastIndex=0;for(var y=this.__directive_pattern.exec(x);y;)p[y[1]]=y[2],y=this.__directive_pattern.exec(x);return p},a.prototype.readIgnored=function(x){return x.readUntilAfter(this.__directives_end_ignore_pattern)},u.exports.Directives=a},,function(u,a,x){var p=x(16).Beautifier,y=x(17).Options;function _(b,A){var k=new p(b,A);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,A=new b(/\/\*/,/\*\//),k=/\r\n|[\r\n]/,R=/\r\n|[\r\n]/g,C=/\s/,D=/(?:\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=C.test(this._input.peek()),W=0;C.test(this._input.peek());)this._ch=this._input.next(),K&&this._ch===`
|
|
|
`&&(W===0||W<this._options.max_preserve_newlines)&&(W++,this._output.add_new_line(!0));return G},N.prototype.foundNestedPseudoClass=function(){for(var K=0,G=1,W=this._input.peek(G);W;){if(W==="{")return!0;if(W==="(")K+=1;else if(W===")"){if(K===0)return!1;K-=1}else if(W===";"||W==="}")return!1;G++,W=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 W=K.match(/^[\t ]*/)[0];this._output=new y(this._options,W),this._input=new _(K),this._indentLevel=0,this._nestedLevel=0,this._ch=null;for(var se=0,ie=!1,le=!1,q=!1,J=!1,V=!1,ue=this._ch,ee=!1,Q,ce,z;Q=this._input.read(D),ce=Q!=="",z=ue,this._ch=this._input.next(),this._ch==="\\"&&this._input.hasNext()&&(this._ch+=this._input.next()),ue=this._ch,this._ch;)if(this._ch==="/"&&this._input.peek()==="*"){this._output.add_new_line(),this._input.back();var $=this._input.read(M),ae=A.get_directives($);ae&&ae.ignore==="start"&&($+=A.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(ce),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),se===0&&_e.indexOf(":")!==-1&&(le=!0,this.indent())}else if(this._ch==="@")if(this.preserveSingleSpace(ce),this._input.peek()==="{")this.print_string(this._ch+this.eatString("}"));else{this.print_string(this._ch);var De=this._input.peekUntilAfter(/[: ,;{}()[\]\/='"]/g);De.match(/[ :]$/)&&(De=this.eatString(": ").replace(/\s+$/,""),this.print_string(De),this._output.space_before_token=!0),se===0&&De.indexOf(":")!==-1?(le=!0,this.indent()):De in this.NESTED_AT_RULE?(this._nestedLevel+=1,De in this.CONDITIONAL_GROUP_RULE&&(q=!0)):se===0&&!le&&(J=!0)}else if(this._ch==="#"&&this._input.peek()==="{")this.preserveSingleSpace(ce),this.print_string(this._ch+this.eatString("}"));else if(this._ch==="{")le&&(le=!1,this.outdent()),J=!1,q?(q=!1,ie=this._indentLevel>=this._nestedLevel):ie=this._indentLevel>=this._nestedLevel-1,this._options.newline_between_rules&&ie&&this._output.previous_line&&this._output.previous_line.item(-1)!=="{"&&this._output.ensure_empty_line_above("/",","),this._output.space_before_token=!0,this._options.brace_style==="expand"?(this._output.add_new_line(),this.print_string(this._ch),this.indent(),this._output.set_indent(this._indentLevel)):(z==="("?this._output.space_before_token=!1:z!==","&&this.indent(),this.print_string(this._ch)),this.eatWhitespace(!0),this._output.add_new_line();else if(this._ch==="}")this.outdent(),this._output.add_new_line(),z==="{"&&this._output.trim(!0),le&&(this.outdent(),le=!1),this.print_string(this._ch),ie=!1,this._nestedLevel&&this._nestedLevel--,this.eatWhitespace(!0),this._output.add_new_line(),this._options.newline_between_rules&&!this._output.just_added_blankline()&&this._input.peek()!=="}"&&this._output.add_new_line(!0),this._input.peek()===")"&&(this._output.trim(!0),this._options.brace_style==="expand"&&this._output.add_new_line(!0));else if(this._ch===":"){for(var ke=0;ke<this.NON_SEMICOLON_NEWLINE_PROPERTY.length;ke++)if(this._input.lookBack(this.NON_SEMICOLON_NEWLINE_PROPERTY[ke])){ee=!0;break}(ie||q)&&!(this._input.lookBack("&")||this.foundNestedPseudoClass())&&!this._input.lookBack("(")&&!J&&se===0?(this.print_string(":"),le||(le=!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=z==='"'||z==="'";this.preserveSingleSpace(He||ce),this.print_string(this._ch+this.eatString(this._ch)),this.eatWhitespace(!0)}else if(this._ch===";")ee=!1,se===0?(le&&(this.outdent(),le=!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(),se++,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(")")),se&&(se--,this.outdent()));else{var $e=!1;this._input.lookBack("with")&&($e=!0),this.preserveSingleSpace(ce||$e),this.print_string(this._ch),le&&z==="$"&&this._options.selector_separator_newline?(this._output.add_new_line(),V=!0):(this.eatWhitespace(),se++,this.indent())}else if(this._ch===")")se&&(se--,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&&(!le||V)&&se===0&&!J?this._output.add_new_line():this._output.space_before_token=!0;else if((this._ch===">"||this._ch==="+"||this._ch==="~")&&!le&&se===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&&C.test(this._ch)&&(this._ch=""));else if(this._ch==="]")this.print_string(this._ch);else if(this._ch==="[")this.preserveSingleSpace(ce),this.print_string(this._ch);else if(this._ch==="=")this.eatWhitespace(),this.print_string("="),C.test(this._ch)&&(this._ch="");else if(this._ch==="!"&&!this._input.lookBack("\\"))this._output.space_before_token=!0,this.print_string(this._ch);else{var Bt=z==='"'||z==="'";this.preserveSingleSpace(Bt||ce),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 A=this._get_selection_list("brace_style",["collapse","expand","end-expand","none","preserve-inline"]);this.brace_style="collapse";for(var k=0;k<A.length;k++)A[k]!=="expand"?this.brace_style="collapse":this.brace_style=A[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(A){this.__parent=A,this.__character_count=0,this.__indent_count=-1,this.__alignment_count=0,this.__wrap_point_index=0,this.__wrap_point_character_count=0,this.__wrap_point_indent_count=-1,this.__wrap_point_alignment_count=0,this.__items=[]}y.prototype.clone_empty=function(){var A=new y(this.__parent);return A.set_indent(this.__indent_count,this.__alignment_count),A},y.prototype.item=function(A){return A<0?this.__items[this.__items.length+A]:this.__items[A]},y.prototype.has_match=function(A){for(var k=this.__items.length-1;k>=0;k--)if(this.__items[k].match(A))return!0;return!1},y.prototype.set_indent=function(A,k){this.is_empty()&&(this.__indent_count=A||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 A=this.__parent.current_line;return A.set_indent(this.__wrap_point_indent_count,this.__wrap_point_alignment_count),A.__items=this.__items.slice(this.__wrap_point_index),this.__items=this.__items.slice(0,this.__wrap_point_index),A.__character_count+=this.__character_count-this.__wrap_point_character_count,this.__character_count=this.__wrap_point_character_count,A.__items[0]===" "&&(A.__items.splice(0,1),A.__character_count-=1),!0}return!1},y.prototype.is_empty=function(){return this.__items.length===0},y.prototype.last=function(){return this.is_empty()?null:this.__items[this.__items.length-1]},y.prototype.push=function(A){this.__items.push(A);var k=A.lastIndexOf(`
|
|
|
`);k!==-1?this.__character_count=A.length-k:this.__character_count+=A.length},y.prototype.pop=function(){var A=null;return this.is_empty()||(A=this.__items.pop(),this.__character_count-=A.length),A},y.prototype._remove_indent=function(){this.__indent_count>0&&(this.__indent_count-=1,this.__character_count-=this.__parent.indent_size)},y.prototype._remove_wrap_indent=function(){this.__wrap_point_indent_count>0&&(this.__wrap_point_indent_count-=1)},y.prototype.trim=function(){for(;this.last()===" ";)this.__items.pop(),this.__character_count-=1},y.prototype.toString=function(){var A="";return this.is_empty()?this.__parent.indent_empty_lines&&(A=this.__parent.get_indent_string(this.__indent_count)):(A=this.__parent.get_indent_string(this.__indent_count,this.__alignment_count),A+=this.__items.join("")),A};function _(A,k){this.__cache=[""],this.__indent_size=A.indent_size,this.__indent_string=A.indent_char,A.indent_with_tabs||(this.__indent_string=new Array(A.indent_size+1).join(A.indent_char)),k=k||"",A.indent_level>0&&(k=new Array(A.indent_level+1).join(this.__indent_string)),this.__base_string=k,this.__base_string_length=k.length}_.prototype.get_indent_size=function(A,k){var R=this.__base_string_length;return k=k||0,A<0&&(R=0),R+=A*this.__indent_size,R+=k,R},_.prototype.get_indent_string=function(A,k){var R=this.__base_string;return k=k||0,A<0&&(A=0,R=""),k+=A*this.__indent_size,this.__ensure_cache(k),R+=this.__cache[k],R},_.prototype.__ensure_cache=function(A){for(;A>=this.__cache.length;)this.__add_column()},_.prototype.__add_column=function(){var A=this.__cache.length,k=0,R="";this.__indent_size&&A>=this.__indent_size&&(k=Math.floor(A/this.__indent_size),A-=k*this.__indent_size,R=new Array(k+1).join(this.__indent_string)),A&&(R+=new Array(A+1).join(" ")),this.__cache.push(R)};function b(A,k){this.__indent_cache=new _(A,k),this.raw=!1,this._end_with_newline=A.end_with_newline,this.indent_size=A.indent_size,this.wrap_line_length=A.wrap_line_length,this.indent_empty_lines=A.indent_empty_lines,this.__lines=[],this.previous_line=null,this.current_line=null,this.next_line=new y(this),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=!1,this.__add_outputline()}b.prototype.__add_outputline=function(){this.previous_line=this.current_line,this.current_line=this.next_line.clone_empty(),this.__lines.push(this.current_line)},b.prototype.get_line_number=function(){return this.__lines.length},b.prototype.get_indent_string=function(A,k){return this.__indent_cache.get_indent_string(A,k)},b.prototype.get_indent_size=function(A,k){return this.__indent_cache.get_indent_size(A,k)},b.prototype.is_empty=function(){return!this.previous_line&&this.current_line.is_empty()},b.prototype.add_new_line=function(A){return this.is_empty()||!A&&this.just_added_newline()?!1:(this.raw||this.__add_outputline(),!0)},b.prototype.get_code=function(A){this.trim(!0);var 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 A!==`
|
|
|
`&&(R=R.replace(/[\n]/g,A)),R},b.prototype.set_wrap_point=function(){this.current_line._set_wrap_point()},b.prototype.set_indent=function(A,k){return A=A||0,k=k||0,this.next_line.set_indent(A,k),this.__lines.length>1?(this.current_line.set_indent(A,k),!0):(this.current_line.set_indent(),!1)},b.prototype.add_raw_token=function(A){for(var k=0;k<A.newlines;k++)this.__add_outputline();this.current_line.set_indent(-1),this.current_line.push(A.whitespace_before),this.current_line.push(A.text),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=!1},b.prototype.add_token=function(A){this.__add_space_before_token(),this.current_line.push(A),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=this.current_line._allow_wrap()},b.prototype.__add_space_before_token=function(){this.space_before_token&&!this.just_added_newline()&&(this.non_breaking_space||this.set_wrap_point(),this.current_line.push(" "))},b.prototype.remove_indent=function(A){for(var k=this.__lines.length;A<k;)this.__lines[A]._remove_indent(),A++;this.current_line._remove_wrap_indent()},b.prototype.trim=function(A){for(A=A===void 0?!1:A,this.current_line.trim();A&&this.__lines.length>1&&this.current_line.is_empty();)this.__lines.pop(),this.current_line=this.__lines[this.__lines.length-1],this.current_line.trim();this.previous_line=this.__lines.length>1?this.__lines[this.__lines.length-2]:null},b.prototype.just_added_newline=function(){return this.current_line.is_empty()},b.prototype.just_added_blankline=function(){return this.is_empty()||this.current_line.is_empty()&&this.previous_line.is_empty()},b.prototype.ensure_empty_line_above=function(A,k){for(var R=this.__lines.length-2;R>=0;){var C=this.__lines[R];if(C.is_empty())break;if(C.item(0).indexOf(A)!==0&&C.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,A,k){this.type=_,this.text=b,this.comments_before=null,this.newlines=A||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(A,k){this.raw_options=_(A,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(A,k){var R=this.raw_options[A],C=k||[];return typeof R=="object"?R!==null&&typeof R.concat=="function"&&(C=R.concat()):typeof R=="string"&&(C=R.split(/[^a-zA-Z0-9_\/\-]+/)),C},y.prototype._get_boolean=function(A,k){var R=this.raw_options[A],C=R===void 0?!!k:!!R;return C},y.prototype._get_characters=function(A,k){var R=this.raw_options[A],C=k||"";return typeof R=="string"&&(C=R.replace(/\\r/,"\r").replace(/\\n/,`
|
|
|
`).replace(/\\t/," ")),C},y.prototype._get_number=function(A,k){var R=this.raw_options[A];k=parseInt(k,10),isNaN(k)&&(k=0);var C=parseInt(R,10);return isNaN(C)&&(C=k),C},y.prototype._get_selection=function(A,k,R){var C=this._get_selection_list(A,k,R);if(C.length!==1)throw new Error("Invalid Option Value: The option '"+A+`' can only be one of the following values:
|
|
|
`+k+`
|
|
|
You passed in: '`+this.raw_options[A]+"'");return C[0]},y.prototype._get_selection_list=function(A,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 C=this._get_array(A,R);if(!this._is_valid_selection(C,k))throw new Error("Invalid Option Value: The option '"+A+`' can contain only the following values:
|
|
|
`+k+`
|
|
|
You passed in: '`+this.raw_options[A]+"'");return C},y.prototype._is_valid_selection=function(A,k){return A.length&&k.length&&!A.some(function(R){return k.indexOf(R)===-1})};function _(A,k){var R={};A=b(A);var C;for(C in A)C!==k&&(R[C]=A[C]);if(k&&A[k])for(C in A[k])R[C]=A[k][C];return R}function b(A){var k={},R;for(R in A){var C=R.replace(/-/g,"_");k[C]=A[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 A=null;return b=b||0,b+=this.__position,b>=0&&b<this.__input_length&&(A=this.__input.charAt(b)),A},_.prototype.__match=function(b,A){b.lastIndex=A;var k=b.exec(this.__input);return k&&!(y&&b.sticky)&&k.index!==A&&(k=null),k},_.prototype.test=function(b,A){return A=A||0,A+=this.__position,A>=0&&A<this.__input_length?!!this.__match(b,A):!1},_.prototype.testChar=function(b,A){var k=this.peek(A);return b.lastIndex=0,k!==null&&b.test(k)},_.prototype.match=function(b){var A=this.__match(b,this.__position);return A?this.__position+=A[0].length:A=null,A},_.prototype.read=function(b,A,k){var R="",C;return b&&(C=this.match(b),C&&(R+=C[0])),A&&(C||!b)&&(R+=this.readUntil(A,k)),R},_.prototype.readUntil=function(b,A){var k="",R=this.__position;b.lastIndex=this.__position;var C=b.exec(this.__input);return C?(R=C.index,A&&(R+=C[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,A){var k=null,R="g";return A&&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 A=this.__position,k=this.readUntilAfter(b);return this.__position=A,k},_.prototype.lookBack=function(b){var A=this.__position-1;return A>=b.length&&this.__input.substring(A-b.length,A).toLowerCase()===b},p.exports.InputScanner=_},function(p,y,_){var b=_(8).InputScanner,A=_(3).Token,k=_(10).TokenStream,R=_(11).WhitespacePattern,C={START:"TK_START",RAW:"TK_RAW",EOF:"TK_EOF"},D=function(M,B){this._input=new b(M),this._options=B||{},this.__tokens=null,this._patterns={},this._patterns.whitespace=new R(this._input)};D.prototype.tokenize=function(){this._input.restart(),this.__tokens=new k,this._reset();for(var M,B=new A(C.START,""),N=null,K=[],G=new k;B.type!==C.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},D.prototype._is_first_token=function(){return this.__tokens.isEmpty()},D.prototype._reset=function(){},D.prototype._get_next_token=function(M,B){this._readWhitespace();var N=this._input.read(/.+/g);return N?this._create_token(C.RAW,N):this._create_token(C.EOF,"")},D.prototype._is_comment=function(M){return!1},D.prototype._is_opening=function(M){return!1},D.prototype._is_closing=function(M,B){return!1},D.prototype._create_token=function(M,B){var N=new A(M,B,this._patterns.whitespace.newline_count,this._patterns.whitespace.whitespace_before_token);return N},D.prototype._readWhitespace=function(){return this._patterns.whitespace.read()},p.exports.Tokenizer=D,p.exports.TOKEN=C},function(p){function y(_){this.__tokens=[],this.__tokens_length=this.__tokens.length,this.__position=0,this.__parent_token=_}y.prototype.restart=function(){this.__position=0},y.prototype.isEmpty=function(){return this.__tokens_length===0},y.prototype.hasNext=function(){return this.__position<this.__tokens_length},y.prototype.next=function(){var _=null;return this.hasNext()&&(_=this.__tokens[this.__position],this.__position+=1),_},y.prototype.peek=function(_){var b=null;return _=_||0,_+=this.__position,_>=0&&_<this.__tokens_length&&(b=this.__tokens[_]),b},y.prototype.add=function(_){this.__parent_token&&(_.parent=this.__parent_token),this.__tokens.push(_),this.__tokens_length+=1},p.exports.TokenStream=y},function(p,y,_){var b=_(12).Pattern;function A(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=""}A.prototype=new b,A.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+"]")},A.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},A.prototype.matching=function(k,R){var C=this._create();return C.__set_whitespace_patterns(k,R),C._update(),C},A.prototype._create=function(){return new A(this._input,this)},A.prototype.__split=function(k,R){k.lastIndex=0;for(var C=0,D=[],M=k.exec(R);M;)D.push(R.substring(C,M.index)),C=M.index+M[0].length,M=k.exec(R);return C<R.length?D.push(R.substring(C,R.length)):D.push(""),D},p.exports.WhitespacePattern=A},function(p){function y(_,b){this._input=_,this._starting_pattern=null,this._match_pattern=null,this._until_pattern=null,this._until_after=!1,b&&(this._starting_pattern=this._input.get_regexp(b._starting_pattern,!0),this._match_pattern=this._input.get_regexp(b._match_pattern,!0),this._until_pattern=this._input.get_regexp(b._until_pattern),this._until_after=b._until_after)}y.prototype.read=function(){var _=this._input.read(this._starting_pattern);return(!this._starting_pattern||_)&&(_+=this._input.read(this._match_pattern,this._until_pattern,this._until_after)),_},y.prototype.read_match=function(){return this._input.match(this._match_pattern)},y.prototype.until_after=function(_){var b=this._create();return b._until_after=!0,b._until_pattern=this._input.get_regexp(_),b._update(),b},y.prototype.until=function(_){var b=this._create();return b._until_after=!1,b._until_pattern=this._input.get_regexp(_),b._update(),b},y.prototype.starting_with=function(_){var b=this._create();return b._starting_pattern=this._input.get_regexp(_,!0),b._update(),b},y.prototype.matching=function(_){var b=this._create();return b._match_pattern=this._input.get_regexp(_,!0),b._update(),b},y.prototype._create=function(){return new y(this._input,this)},y.prototype._update=function(){},p.exports.Pattern=y},function(p){function y(_,b){_=typeof _=="string"?_:_.source,b=typeof b=="string"?b:b.source,this.__directives_block_pattern=new RegExp(_+/ beautify( \w+[:]\w+)+ /.source+b,"g"),this.__directive_pattern=/ (\w+)[:](\w+)/g,this.__directives_end_ignore_pattern=new RegExp(_+/\sbeautify\signore:end\s/.source+b,"g")}y.prototype.get_directives=function(_){if(!_.match(this.__directives_block_pattern))return null;var b={};this.__directive_pattern.lastIndex=0;for(var A=this.__directive_pattern.exec(_);A;)b[A[1]]=A[2],A=this.__directive_pattern.exec(_);return b},y.prototype.readIgnored=function(_){return _.readUntilAfter(this.__directives_end_ignore_pattern)},p.exports.Directives=y},function(p,y,_){var b=_(12).Pattern,A={django:!1,erb:!1,handlebars:!1,php:!1,smarty:!1,angular:!1};function k(R,C){b.call(this,R,C),this.__template_pattern=null,this._disabled=Object.assign({},A),this._excluded=Object.assign({},A),C&&(this.__template_pattern=this._input.get_regexp(C.__template_pattern),this._excluded=Object.assign(this._excluded,C._excluded),this._disabled=Object.assign(this._disabled,C._disabled));var D=new b(R);this.__patterns={handlebars_comment:D.starting_with(/{{!--/).until_after(/--}}/),handlebars_unescaped:D.starting_with(/{{{/).until_after(/}}}/),handlebars:D.starting_with(/{{/).until_after(/}}/),php:D.starting_with(/<\?(?:[= ]|php)/).until_after(/\?>/),erb:D.starting_with(/<%[^%]/).until_after(/[^%]%>/),django:D.starting_with(/{%/).until_after(/%}/),django_value:D.starting_with(/{{/).until_after(/}}/),django_comment:D.starting_with(/{#/).until_after(/#}/),smarty:D.starting_with(/{(?=[^}{\s\n])/).until_after(/[^\s\n]}/),smarty_comment:D.starting_with(/{\*/).until_after(/\*}/),smarty_literal:D.starting_with(/{literal}/).until_after(/{\/literal}/)}}k.prototype=new b,k.prototype._create=function(){return new k(this._input,this)},k.prototype._update=function(){this.__set_templated_pattern()},k.prototype.disable=function(R){var C=this._create();return C._disabled[R]=!0,C._update(),C},k.prototype.read_options=function(R){var C=this._create();for(var D in A)C._disabled[D]=R.templating.indexOf(D)===-1;return C._update(),C},k.prototype.exclude=function(R){var C=this._create();return C._excluded[R]=!0,C._update(),C},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 C=this._read_template();C;)this._match_pattern?C+=this._input.read(this._match_pattern):C+=this._input.readUntil(this.__template_pattern),R+=C,C=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="",C=this._input.peek();if(C==="<"){var D=this._input.peek(1);!this._disabled.php&&!this._excluded.php&&D==="?"&&(R=R||this.__patterns.php.read()),!this._disabled.erb&&!this._excluded.erb&&D==="%"&&(R=R||this.__patterns.erb.read())}else C==="{"&&(!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,A=_(20).Options;function k(R,C,D,M){var B=new b(R,C,D,M);return B.beautify()}p.exports=k,p.exports.defaultOptions=function(){return new A}},function(p,y,_){var b=_(20).Options,A=_(2).Output,k=_(21).Tokenizer,R=_(21).TOKEN,C=/\r\n|[\r\n]/,D=/\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 A(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 ue=0;ue<V;ue++)this.print_newline(ue>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,ue=J.next;ue.type!==R.EOF&&J.closed!==ue;){if(ue.type===R.ATTRIBUTE&&ue.text==="type"){ue.next&&ue.next.type===R.EQUALS&&ue.next.next&&ue.next.next.type===R.VALUE&&(V=ue.next.next.text);break}ue=ue.next}return V},N=function(J,V){var ue=null,ee=null;return V.closed?(J==="script"?ue="text/javascript":J==="style"&&(ue="text/css"),ue=B(V)||ue,ue.search("text/css")>-1?ee="css":ue.search(/module|((text|application|dojo)\/(x-)?(javascript|ecmascript|jscript|livescript|(ld\+)?json|method|aspect))/)>-1?ee="javascript":ue.search(/(text|application|dojo)\/(x-)?(html)/)>-1?ee="html":ue.search(/test\/null/)>-1&&(ee="null"),ee):null};function K(J,V){return V.indexOf(J)!==-1}function G(J,V,ue){this.parent=J||null,this.tag=V?V.tag_name:"",this.indent_level=ue||0,this.parser_token=V||null}function W(J){this._printer=J,this._current_frame=null}W.prototype.get_parser_token=function(){return this._current_frame?this._current_frame.parser_token:null},W.prototype.record_tag=function(J){var V=new G(this._current_frame,J,this._printer.indent_level);this._current_frame=V},W.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},W.prototype._get_frame=function(J,V){for(var ue=this._current_frame;ue&&J.indexOf(ue.tag)===-1;){if(V&&V.indexOf(ue.tag)!==-1){ue=null;break}ue=ue.parent}return ue},W.prototype.try_pop=function(J,V){var ue=this._get_frame([J],V);return this._try_pop_frame(ue)},W.prototype.indent_to_tag=function(J){var V=this._get_frame(J);V&&(this._printer.indent_level=V.indent_level)};function se(J,V,ue,ee){this._source_text=J||"",V=V||{},this._js_beautify=ue,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"}se.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&&C.test(J)&&(V=J.match(C)[0])),J=J.replace(D,`
|
|
|
`);var ue=J.match(/^[\t ]*/)[0],ee={text:"",type:""},Q=new ie(this._options),ce=new M(this._options,ue),z=new k(J,this._options).tokenize();this._tag_stack=new W(ce);for(var $=null,ae=z.next();ae.type!==R.EOF;)ae.type===R.TAG_OPEN||ae.type===R.COMMENT?($=this._handle_tag_open(ce,ae,Q,ee,z),Q=$):ae.type===R.ATTRIBUTE||ae.type===R.EQUALS||ae.type===R.VALUE||ae.type===R.TEXT&&!Q.tag_complete?$=this._handle_inside_tag(ce,ae,Q,ee):ae.type===R.TAG_CLOSE?$=this._handle_tag_close(ce,ae,Q):ae.type===R.TEXT?$=this._handle_text(ce,ae,Q):ae.type===R.CONTROL_FLOW_OPEN?$=this._handle_control_flow_open(ce,ae):ae.type===R.CONTROL_FLOW_CLOSE?$=this._handle_control_flow_close(ce,ae):ce.add_raw_token(ae),ee=$,ae=z.next();var _e=ce._output.get_code(V);return _e},se.prototype._handle_control_flow_open=function(J,V){var ue={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(),ue},se.prototype._handle_control_flow_close=function(J,V){var ue={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),ue},se.prototype._handle_tag_close=function(J,V,ue){var ee={text:V.text,type:V.type};return J.alignment_size=0,ue.tag_complete=!0,J.set_space_before_token(V.newlines||V.whitespace_before!=="",!0),ue.is_unformatted?J.add_raw_token(V):(ue.tag_start_char==="<"&&(J.set_space_before_token(V.text[0]==="/",!0),this._is_wrap_attributes_force_expand_multiline&&ue.has_wrapped_attrs&&J.print_newline(!1)),J.print_token(V)),ue.indent_content&&!(ue.is_unformatted||ue.is_content_unformatted)&&(J.indent(),ue.indent_content=!1),!ue.is_inline_element&&!(ue.is_unformatted||ue.is_content_unformatted)&&J.set_wrap_point(),ee},se.prototype._handle_inside_tag=function(J,V,ue,ee){var Q=ue.has_wrapped_attrs,ce={text:V.text,type:V.type};return J.set_space_before_token(V.newlines||V.whitespace_before!=="",!0),ue.is_unformatted?J.add_raw_token(V):ue.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&&ue.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&&ue.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(),ue.has_wrapped_attrs=Q),ce},se.prototype._handle_text=function(J,V,ue){var ee={text:V.text,type:"TK_CONTENT"};return ue.custom_beautifier_name?this._print_custom_beatifier_text(J,V,ue):ue.is_unformatted||ue.is_content_unformatted?J.add_raw_token(V):(J.traverse_whitespace(V),J.print_token(V)),ee},se.prototype._print_custom_beatifier_text=function(J,V,ue){var ee=this;if(V.text!==""){var Q=V.text,ce,z=1,$="",ae="";ue.custom_beautifier_name==="javascript"&&typeof this._js_beautify=="function"?ce=this._js_beautify:ue.custom_beautifier_name==="css"&&typeof this._css_beautify=="function"?ce=this._css_beautify:ue.custom_beautifier_name==="html"&&(ce=function(Bt,gt){var Dt=new se(Bt,gt,ee._js_beautify,ee._css_beautify);return Dt.beautify()}),this._options.indent_scripts==="keep"?z=0:this._options.indent_scripts==="separate"&&(z=-J.indent_level);var _e=J.get_full_indent(z);if(Q=Q.replace(/\n[ \t]*$/,""),ue.custom_beautifier_name!=="html"&&Q[0]==="<"&&Q.match(/^(<!--|<!\[CDATA\[)/)){var De=/^(<!--[^\n]*|<!\[CDATA\[)(\n?)([ \t\n]*)([\s\S]*)(-->|]]>)$/.exec(Q);if(!De){J.add_raw_token(V);return}$=_e+De[1]+`
|
|
|
`,Q=De[4],De[5]&&(ae=_e+De[5]),Q=Q.replace(/\n[ \t]*$/,""),(De[2]||De[3].indexOf(`
|
|
|
`)!==-1)&&(De=De[3].match(/[ \t]+$/),De&&(V.whitespace_before=De[0]))}if(Q)if(ce){var ke=function(){this.eol=`
|
|
|
`};ke.prototype=this._options.raw_options;var He=new ke;Q=ce(_e+Q,He)}else{var $e=V.whitespace_before;$e&&(Q=Q.replace(new RegExp(`
|
|
|
(`+$e+")?","g"),`
|
|
|
`)),Q=_e+Q.replace(/\n/g,`
|
|
|
`+_e)}$&&(Q?Q=$+Q+`
|
|
|
`+ae:Q=$+ae),J.print_newline(!1),Q&&(V.text=Q,V.whitespace_before="",V.newlines=0,J.add_raw_token(V),J.print_newline(!0))}},se.prototype._handle_tag_open=function(J,V,ue,ee,Q){var ce=this._get_tag_open_token(V);if((ue.is_unformatted||ue.is_content_unformatted)&&!ue.is_empty_element&&V.type===R.TAG_OPEN&&!ce.is_start_tag?(J.add_raw_token(V),ce.start_tag_token=this._tag_stack.try_pop(ce.tag_name)):(J.traverse_whitespace(V),this._set_tag_position(J,V,ce,ue,ee),ce.is_inline_element||J.set_wrap_point(),J.print_token(V)),ce.is_start_tag&&this._is_wrap_attributes_force){var z=0,$;do $=Q.peek(z),$.type===R.ATTRIBUTE&&(ce.attr_count+=1),z+=1;while($.type!==R.EOF&&$.type!==R.TAG_CLOSE)}return(this._is_wrap_attributes_force_aligned||this._is_wrap_attributes_aligned_multiple||this._is_wrap_attributes_preserve_aligned)&&(ce.alignment_size=V.text.length+1),!ce.tag_complete&&!ce.is_unformatted&&(J.alignment_size=ce.alignment_size),ce};var ie=function(J,V,ue){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="",!ue)this.tag_complete=!0;else{var ee;this.tag_start_char=ue.text[0],this.text=ue.text,this.tag_start_char==="<"?(ee=ue.text.match(/^<([^\s>]*)/),this.tag_check=ee?ee[1]:""):(ee=ue.text.match(/^{{~?(?:[\^]|#\*?)?([^\s}]+)/),this.tag_check=ee?ee[1]:"",(ue.text.startsWith("{{#>")||ue.text.startsWith("{{~#>"))&&this.tag_check[0]===">"&&(this.tag_check===">"&&ue.next!==null?this.tag_check=ue.next.text.split(" ")[0]:this.tag_check=ue.text.split(">")[1])),this.tag_check=this.tag_check.toLowerCase(),ue.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||ue.closed&&ue.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)))}};se.prototype._get_tag_open_token=function(J){var V=new ie(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},se.prototype._set_tag_position=function(J,V,ue,ee,Q){if(ue.is_empty_element||(ue.is_end_tag?ue.start_tag_token=this._tag_stack.try_pop(ue.tag_name):(this._do_optional_end_element(ue)&&(ue.is_inline_element||J.print_newline(!1)),this._tag_stack.record_tag(ue),(ue.tag_name==="script"||ue.tag_name==="style")&&!(ue.is_unformatted||ue.is_content_unformatted)&&(ue.custom_beautifier_name=N(ue.tag_check,V)))),K(ue.tag_check,this._options.extra_liners)&&(J.print_newline(!1),J._output.just_added_blankline()||J.print_newline(!0)),ue.is_empty_element){if(ue.tag_start_char==="{"&&ue.tag_check==="else"){this._tag_stack.indent_to_tag(["if","unless","each"]),ue.indent_content=!0;var ce=J.current_line_has_match(/{{#if/);ce||J.print_newline(!1)}ue.tag_name==="!--"&&Q.type===R.TAG_CLOSE&&ee.is_end_tag&&ue.text.indexOf(`
|
|
|
`)===-1||(ue.is_inline_element||ue.is_unformatted||J.print_newline(!1),this._calcluate_parent_multiline(J,ue))}else if(ue.is_end_tag){var z=!1;z=ue.start_tag_token&&ue.start_tag_token.multiline_content,z=z||!ue.is_inline_element&&!(ee.is_inline_element||ee.is_unformatted)&&!(Q.type===R.TAG_CLOSE&&ue.start_tag_token===ee)&&Q.type!=="TK_CONTENT",(ue.is_content_unformatted||ue.is_unformatted)&&(z=!1),z&&J.print_newline(!1)}else ue.indent_content=!ue.custom_beautifier_name,ue.tag_start_char==="<"&&(ue.tag_name==="html"?ue.indent_content=this._options.indent_inner_html:ue.tag_name==="head"?ue.indent_content=this._options.indent_head_inner_html:ue.tag_name==="body"&&(ue.indent_content=this._options.indent_body_inner_html)),!(ue.is_inline_element||ue.is_unformatted)&&(Q.type!=="TK_CONTENT"||ue.is_content_unformatted)&&J.print_newline(!1),this._calcluate_parent_multiline(J,ue)},se.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 le=["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"];se.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"&&le.indexOf(J.tag_name)!==-1){var ue=J.parent.parent;(!ue||q.indexOf(ue.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=se},function(p,y,_){var b=_(6).Options;function A(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"])}A.prototype=new b,p.exports.Options=A},function(p,y,_){var b=_(9).Tokenizer,A=_(9).TOKEN,k=_(13).Directives,R=_(14).TemplatablePattern,C=_(12).Pattern,D={TAG_OPEN:"TK_TAG_OPEN",TAG_CLOSE:"TK_TAG_CLOSE",CONTROL_FLOW_OPEN:"TK_CONTROL_FLOW_OPEN",CONTROL_FLOW_CLOSE:"TK_CONTROL_FLOW_CLOSE",ATTRIBUTE:"TK_ATTRIBUTE",EQUALS:"TK_EQUALS",VALUE:"TK_VALUE",COMMENT:"TK_COMMENT",TEXT:"TK_TEXT",UNKNOWN:"TK_UNKNOWN",START:A.START,RAW:A.RAW,EOF:A.EOF},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),W=new C(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:W.matching(/\@[a-zA-Z]+[^({]*[({]/),handlebars_comment:W.starting_with(/{{!--/).until_after(/--}}/),handlebars:W.starting_with(/{{/).until_after(/}}/),handlebars_open:W.until(/[\n\r\t }]/),handlebars_raw_close:W.until(/}}/),comment:W.starting_with(/<!--/).until_after(/-->/),cdata:W.starting_with(/<!\[CDATA\[/).until_after(/]]>/),conditional_comment:W.starting_with(/<!\[/).until_after(/]>/),processing:W.starting_with(/<\?/).until_after(/\?>/)},this._options.indent_handlebars&&(this.__patterns.word=this.__patterns.word.exclude("handlebars"),this.__patterns.word_control_flow_close_excluded=this.__patterns.word_control_flow_close_excluded.exclude("handlebars")),this._unformatted_content_delimiter=null,this._options.unformatted_content_delimiter){var se=this._input.get_literal_regexp(this._options.unformatted_content_delimiter);this.__patterns.unformatted_content_delimiter=W.matching(se).until_after(se)}};B.prototype=new b,B.prototype._is_comment=function(N){return!1},B.prototype._is_opening=function(N){return N.type===D.TAG_OPEN||N.type===D.CONTROL_FLOW_OPEN},B.prototype._is_closing=function(N,K){return N.type===D.TAG_CLOSE&&K&&((N.text===">"||N.text==="/>")&&K.text[0]==="<"||N.text==="}}"&&K.text[0]==="{"&&K.text[1]==="{")||N.type===D.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 W=this._input.peek();return W===null?this._create_token(D.EOF,""):(G=G||this._read_open_handlebars(W,K),G=G||this._read_attribute(W,N,K),G=G||this._read_close(W,K),G=G||this._read_script_and_style(W,N),G=G||this._read_control_flows(W,K),G=G||this._read_raw_content(W,N,K),G=G||this._read_content_word(W,K),G=G||this._read_comment_or_cdata(W),G=G||this._read_processing(W),G=G||this._read_open(W,K),G=G||this._create_token(D.UNKNOWN,this._input.next()),G)},B.prototype._read_comment_or_cdata=function(N){var K=null,G=null,W=null;if(N==="<"){var se=this._input.peek(1);se==="!"&&(G=this.__patterns.comment.read(),G?(W=M.get_directives(G),W&&W.ignore==="start"&&(G+=M.readIgnored(this._input))):G=this.__patterns.cdata.read()),G&&(K=this._create_token(D.COMMENT,G),K.directives=W)}return K},B.prototype._read_processing=function(N){var K=null,G=null,W=null;if(N==="<"){var se=this._input.peek(1);(se==="!"||se==="?")&&(G=this.__patterns.conditional_comment.read(),G=G||this.__patterns.processing.read()),G&&(K=this._create_token(D.COMMENT,G),K.directives=W)}return K},B.prototype._read_open=function(N,K){var G=null,W=null;return(!K||K.type===D.CONTROL_FLOW_OPEN)&&N==="<"&&(G=this._input.next(),this._input.peek()==="/"&&(G+=this._input.next()),G+=this.__patterns.element_name.read(),W=this._create_token(D.TAG_OPEN,G)),W},B.prototype._read_open_handlebars=function(N,K){var G=null,W=null;return(!K||K.type===D.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(),W=this._create_token(D.COMMENT,G)):(G=this.__patterns.handlebars_open.read(),W=this._create_token(D.TAG_OPEN,G))),W},B.prototype._read_control_flows=function(N,K){var G="",W=null;if(!this._options.templating.includes("angular"))return W;if(N==="@"){if(G=this.__patterns.angular_control_flow_start.read(),G==="")return W;for(var se=G.endsWith("(")?1:0,ie=0;!(G.endsWith("{")&&se===ie);){var le=this._input.next();if(le===null)break;le==="("?se++:le===")"&&ie++,G+=le}W=this._create_token(D.CONTROL_FLOW_OPEN,G)}else N==="}"&&K&&K.type===D.CONTROL_FLOW_OPEN&&(G=this._input.next(),W=this._create_token(D.CONTROL_FLOW_CLOSE,G));return W},B.prototype._read_close=function(N,K){var G=null,W=null;return K&&K.type===D.TAG_OPEN&&(K.text[0]==="<"&&(N===">"||N==="/"&&this._input.peek(1)===">")?(G=this._input.next(),N==="/"&&(G+=this._input.next()),W=this._create_token(D.TAG_CLOSE,G)):K.text[0]==="{"&&N==="}"&&this._input.peek(1)==="}"&&(this._input.next(),this._input.next(),W=this._create_token(D.TAG_CLOSE,"}}"))),W},B.prototype._read_attribute=function(N,K,G){var W=null,se="";if(G&&G.text[0]==="<")if(N==="=")W=this._create_token(D.EQUALS,this._input.next());else if(N==='"'||N==="'"){var ie=this._input.next();N==='"'?ie+=this.__patterns.double_quote.read():ie+=this.__patterns.single_quote.read(),W=this._create_token(D.VALUE,ie)}else se=this.__patterns.attribute.read(),se&&(K.type===D.EQUALS?W=this._create_token(D.VALUE,se):W=this._create_token(D.ATTRIBUTE,se));return W},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 W="";if(G&&G.text[0]==="{")W=this.__patterns.handlebars_raw_close.read();else if(K.type===D.TAG_CLOSE&&K.opened.text[0]==="<"&&K.text[0]!=="/"){var se=K.opened.text.substr(1).toLowerCase();this._is_content_unformatted(se)&&(W=this._input.readUntil(new RegExp("</"+se+"[\\n\\r\\t ]*?>","ig")))}return W?this._create_token(D.TEXT,W):null},B.prototype._read_script_and_style=function(N,K){if(K.type===D.TAG_CLOSE&&K.opened.text[0]==="<"&&K.text[0]!=="/"){var G=K.opened.text.substr(1).toLowerCase();if(G==="script"||G==="style"){var W=this._read_comment_or_cdata(N);if(W)return W.type=D.TEXT,W;var se=this._input.readUntil(new RegExp("</"+G+"[\\n\\r\\t ]*?>","ig"));if(se)return this._create_token(D.TEXT,se)}}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===D.CONTROL_FLOW_OPEN?this.__patterns.word_control_flow_close_excluded.read():this.__patterns.word.read()),G?this._create_token(D.TEXT,G):null},p.exports.Tokenizer=B,p.exports.TOKEN=D}],u={};function a(p){var y=u[p];if(y!==void 0)return y.exports;var _=u[p]={exports:{}};return h[p](_,_.exports,a),_.exports}var x=a(18);l=x})();var c=l;if(1)r=[e,e(58553),e(87804)],i=function(h){var u=e(58553),a=e(87804);return{html_beautify:function(x,p){return c(x,p,u.js_beautify,a.css_beautify)}}}.apply(v,r),i!==void 0&&(d.exports=i);else var f,o})()},58553:function(d,v){var e,r;(function(){var i;(function(){"use strict";var c=[function(u,a,x){var p=x(1).Beautifier,y=x(5).Options;function _(b,A){var k=new p(b,A);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,A=x(7).Tokenizer,k=x(7).line_starters,R=x(7).positionable_operators,C=x(7).TOKEN;function D($,ae){return ae.indexOf($)!==-1}function M($){return $.replace(/^\s+/g,"")}function B($){for(var ae={},_e=0;_e<$.length;_e++)ae[$[_e].replace(/-/g,"_")]=$[_e];return ae}function N($,ae){return $&&$.type===C.RESERVED&&$.text===ae}function K($,ae){return $&&$.type===C.RESERVED&&D($.text,ae)}var G=["case","return","do","if","throw","else","await","break","continue","async"],W=["before-newline","after-newline","preserve-newline"],se=B(W),ie=[se.before_newline,se.preserve_newline],le={BlockStatement:"BlockStatement",Statement:"Statement",ObjectLiteral:"ObjectLiteral",ArrayLiteral:"ArrayLiteral",ForInitializer:"ForInitializer",Conditional:"Conditional",Expression:"Expression"};function q($,ae){ae.multiline_frame||ae.mode===le.ForInitializer||ae.mode===le.Conditional||$.remove_indent(ae.start_line_index)}function J($){$=$.replace(_.allLineBreaks,`
|
|
|
`);for(var ae=[],_e=$.indexOf(`
|
|
|
`);_e!==-1;)ae.push($.substring(0,_e)),$=$.substring(_e+1),_e=$.indexOf(`
|
|
|
`);return $.length&&ae.push($),ae}function V($){return $===le.ArrayLiteral}function ue($){return D($,[le.Expression,le.ForInitializer,le.Conditional])}function ee($,ae){for(var _e=0;_e<$.length;_e++){var De=$[_e].trim();if(De.charAt(0)!==ae)return!1}return!0}function Q($,ae){for(var _e=0,De=$.length,ke;_e<De;_e++)if(ke=$[_e],ke&&ke.indexOf(ae)!==0)return!1;return!0}function ce($,ae){ae=ae||{},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(ae)}ce.prototype.create_flags=function($,ae){var _e=0;$&&(_e=$.indentation_level,!this._output.just_added_newline()&&$.line_indent_level>_e&&(_e=$.line_indent_level));var De={mode:ae,parent:$,last_token:$?$.last_token:new y(C.START_BLOCK,""),last_word:$?$.last_word:"",declaration_statement:!1,declaration_assignment:!1,multiline_frame:!1,inline_frame:!1,if_block:!1,else_block:!1,class_start_block:!1,do_block:!1,do_while:!1,import_block:!1,in_case_statement:!1,in_case:!1,case_body:!1,case_block:!1,indentation_level:_e,alignment:0,line_indent_level:$?$.line_indent_level:_e,start_line_index:this._output.get_line_number(),ternary_depth:0};return De},ce.prototype._reset=function($){var ae=$.match(/^[\t ]*/)[0];this._last_last_text="",this._output=new p(this._options,ae),this._output.raw=this._options.test_output_raw,this._flag_store=[],this.set_mode(le.BlockStatement);var _e=new A($,this._options);return this._tokens=_e.tokenize(),$},ce.prototype.beautify=function(){if(this._options.disabled)return this._source_text;var $,ae=this._reset(this._source_text),_e=this._options.eol;this._options.eol==="auto"&&(_e=`
|
|
|
`,ae&&_.lineBreak.test(ae||"")&&(_e=ae.match(_.lineBreak)[0]));for(var De=this._tokens.next();De;)this.handle_token(De),this._last_last_text=this._flags.last_token.text,this._flags.last_token=De,De=this._tokens.next();return $=this._output.get_code(_e),$},ce.prototype.handle_token=function($,ae){$.type===C.START_EXPR?this.handle_start_expr($):$.type===C.END_EXPR?this.handle_end_expr($):$.type===C.START_BLOCK?this.handle_start_block($):$.type===C.END_BLOCK?this.handle_end_block($):$.type===C.WORD?this.handle_word($):$.type===C.RESERVED?this.handle_word($):$.type===C.SEMICOLON?this.handle_semicolon($):$.type===C.STRING?this.handle_string($):$.type===C.EQUALS?this.handle_equals($):$.type===C.OPERATOR?this.handle_operator($):$.type===C.COMMA?this.handle_comma($):$.type===C.BLOCK_COMMENT?this.handle_block_comment($,ae):$.type===C.COMMENT?this.handle_comment($,ae):$.type===C.DOT?this.handle_dot($):$.type===C.EOF?this.handle_eof($):$.type===C.UNKNOWN?this.handle_unknown($,ae):this.handle_unknown($,ae)},ce.prototype.handle_whitespace_and_comments=function($,ae){var _e=$.newlines,De=this._options.keep_array_indentation&&V(this._flags.mode);if($.comments_before)for(var ke=$.comments_before.next();ke;)this.handle_whitespace_and_comments(ke,ae),this.handle_token(ke,ae),ke=$.comments_before.next();if(De)for(var He=0;He<_e;He+=1)this.print_newline(He>0,ae);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,ae);for(var $e=1;$e<_e;$e+=1)this.print_newline(!0,ae)}};var z=["async","break","continue","return","throw","yield"];ce.prototype.allow_wrap_or_preserved_newline=function($,ae){if(ae=ae===void 0?!1:ae,!this._output.just_added_newline()){var _e=this._options.preserve_newlines&&$.newlines||ae,De=D(this._flags.last_token.text,R)||D($.text,R);if(De){var ke=D(this._flags.last_token.text,R)&&D(this._options.operator_position,ie)||D($.text,R);_e=_e&&ke}if(_e)this.print_newline(!1,!0);else if(this._options.wrap_line_length){if(K(this._flags.last_token,z))return;this._output.set_wrap_point()}}},ce.prototype.print_newline=function($,ae){if(!ae&&this._flags.last_token.text!==";"&&this._flags.last_token.text!==","&&this._flags.last_token.text!=="="&&(this._flags.last_token.type!==C.OPERATOR||this._flags.last_token.text==="--"||this._flags.last_token.text==="++"))for(var _e=this._tokens.peek();this._flags.mode===le.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)},ce.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))},ce.prototype.print_token=function($){if(this._output.raw){this._output.add_raw_token($);return}if(this._options.comma_first&&$.previous&&$.previous.type===C.COMMA&&this._output.just_added_newline()&&this._output.previous_line.last()===","){var ae=this._output.previous_line.pop();this._output.previous_line.is_empty()&&(this._output.previous_line.push(ae),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)},ce.prototype.indent=function(){this._flags.indentation_level+=1,this._output.set_indent(this._flags.indentation_level,this._flags.alignment)},ce.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))},ce.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)},ce.prototype.restore_mode=function(){this._flag_store.length>0&&(this._previous_flags=this._flags,this._flags=this._flag_store.pop(),this._previous_flags.mode===le.Statement&&q(this._output,this._previous_flags),this._output.set_indent(this._flags.indentation_level,this._flags.alignment))},ce.prototype.start_of_object_property=function(){return this._flags.parent.mode===le.ObjectLiteral&&this._flags.mode===le.Statement&&(this._flags.last_token.text===":"&&this._flags.ternary_depth===0||K(this._flags.last_token,["get","set"]))},ce.prototype.start_of_statement=function($){var ae=!1;return ae=ae||K(this._flags.last_token,["var","let","const"])&&$.type===C.WORD,ae=ae||N(this._flags.last_token,"do"),ae=ae||!(this._flags.parent.mode===le.ObjectLiteral&&this._flags.mode===le.Statement)&&K(this._flags.last_token,z)&&!$.newlines,ae=ae||N(this._flags.last_token,"else")&&!(N($,"if")&&!$.comments_before),ae=ae||this._flags.last_token.type===C.END_EXPR&&(this._previous_flags.mode===le.ForInitializer||this._previous_flags.mode===le.Conditional),ae=ae||this._flags.last_token.type===C.WORD&&this._flags.mode===le.BlockStatement&&!this._flags.in_case&&!($.text==="--"||$.text==="++")&&this._last_last_text!=="function"&&$.type!==C.WORD&&$.type!==C.RESERVED,ae=ae||this._flags.mode===le.ObjectLiteral&&(this._flags.last_token.text===":"&&this._flags.ternary_depth===0||K(this._flags.last_token,["get","set"])),ae?(this.set_mode(le.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},ce.prototype.handle_start_expr=function($){this.start_of_statement($)||this.handle_whitespace_and_comments($);var ae=le.Expression;if($.text==="["){if(this._flags.last_token.type===C.WORD||this._flags.last_token.text===")"){K(this._flags.last_token,k)&&(this._output.space_before_token=!0),this.print_token($),this.set_mode(ae),this.indent(),this._options.space_in_paren&&(this._output.space_before_token=!0);return}ae=le.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()),D(this._flags.last_token.type,[C.START_EXPR,C.END_EXPR,C.WORD,C.OPERATOR,C.DOT])||(this._output.space_before_token=!0)}else{if(this._flags.last_token.type===C.RESERVED)this._flags.last_token.text==="for"?(this._output.space_before_token=this._options.space_before_conditional,ae=le.ForInitializer):D(this._flags.last_token.text,["if","while","switch"])?(this._output.space_before_token=this._options.space_before_conditional,ae=le.Conditional):D(this._flags.last_word,["await","async"])?this._output.space_before_token=!0:this._flags.last_token.text==="import"&&$.whitespace_before===""?this._output.space_before_token=!1:(D(this._flags.last_token.text,k)||this._flags.last_token.text==="catch")&&(this._output.space_before_token=!0);else if(this._flags.last_token.type===C.EQUALS||this._flags.last_token.type===C.OPERATOR)this.start_of_object_property()||this.allow_wrap_or_preserved_newline($);else if(this._flags.last_token.type===C.WORD){this._output.space_before_token=!1;var _e=this._tokens.peek(-3);if(this._options.space_after_named_function&&_e){var De=this._tokens.peek(-4);K(_e,["async","function"])||_e.text==="*"&&K(De,["async","function"])?this._output.space_before_token=!0:this._flags.mode===le.ObjectLiteral?(_e.text==="{"||_e.text===","||_e.text==="*"&&(De.text==="{"||De.text===","))&&(this._output.space_before_token=!0):this._flags.parent&&this._flags.parent.class_start_block&&(this._output.space_before_token=!0)}}else this.allow_wrap_or_preserved_newline($);(this._flags.last_token.type===C.RESERVED&&(this._flags.last_word==="function"||this._flags.last_word==="typeof")||this._flags.last_token.text==="*"&&(D(this._last_last_text,["function","yield"])||this._flags.mode===le.ObjectLiteral&&D(this._last_last_text,["{",","])))&&(this._output.space_before_token=this._options.space_after_anon_function)}this._flags.last_token.text===";"||this._flags.last_token.type===C.START_BLOCK?this.print_newline():(this._flags.last_token.type===C.END_EXPR||this._flags.last_token.type===C.START_EXPR||this._flags.last_token.type===C.END_BLOCK||this._flags.last_token.text==="."||this._flags.last_token.type===C.COMMA)&&this.allow_wrap_or_preserved_newline($,$.newlines),this.print_token($),this.set_mode(ae),this._options.space_in_paren&&(this._output.space_before_token=!0),this.indent()},ce.prototype.handle_end_expr=function($){for(;this._flags.mode===le.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===C.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===le.Conditional&&(this._previous_flags.mode=le.Expression,this._flags.do_block=!1,this._flags.do_while=!1)},ce.prototype.handle_start_block=function($){this.handle_whitespace_and_comments($);var ae=this._tokens.peek(),_e=this._tokens.peek(1);this._flags.last_word==="switch"&&this._flags.last_token.type===C.END_EXPR?(this.set_mode(le.BlockStatement),this._flags.in_case_statement=!0):this._flags.case_body?this.set_mode(le.BlockStatement):_e&&(D(_e.text,[":",","])&&D(ae.type,[C.STRING,C.WORD,C.RESERVED])||D(ae.text,["get","set","..."])&&D(_e.type,[C.WORD,C.RESERVED]))?D(this._last_last_text,["class","interface"])&&!D(_e.text,[":",","])?this.set_mode(le.BlockStatement):this.set_mode(le.ObjectLiteral):this._flags.last_token.type===C.OPERATOR&&this._flags.last_token.text==="=>"?this.set_mode(le.BlockStatement):D(this._flags.last_token.type,[C.EQUALS,C.START_EXPR,C.COMMA,C.OPERATOR])||K(this._flags.last_token,["return","throw","import","default"])?this.set_mode(le.ObjectLiteral):this.set_mode(le.BlockStatement),this._flags.last_token&&K(this._flags.last_token.previous,["class","extends"])&&(this._flags.class_start_block=!0);var De=!ae.comments_before&&ae.text==="}",ke=De&&this._flags.last_word==="function"&&this._flags.last_token.type===C.END_EXPR;if(this._options.brace_preserve_inline){var He=0,$e=null;this._flags.inline_frame=!0;do if(He+=1,$e=this._tokens.peek(He-1),$e.newlines){this._flags.inline_frame=!1;break}while($e.type!==C.EOF&&!($e.type===C.END_BLOCK&&$e.opened===$))}(this._options.brace_style==="expand"||this._options.brace_style==="none"&&$.newlines)&&!this._flags.inline_frame?this._flags.last_token.type!==C.OPERATOR&&(ke||this._flags.last_token.type===C.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===C.START_EXPR||this._flags.last_token.type===C.COMMA)&&((this._flags.last_token.type===C.COMMA||this._options.space_in_paren)&&(this._output.space_before_token=!0),(this._flags.last_token.type===C.COMMA||this._flags.last_token.type===C.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!==C.OPERATOR&&this._flags.last_token.type!==C.START_EXPR&&(D(this._flags.last_token.type,[C.START_BLOCK,C.SEMICOLON])&&!this._flags.inline_frame?this.print_newline():this._output.space_before_token=!0)),this.print_token($),this.indent(),!De&&!(this._options.brace_preserve_inline&&this._flags.inline_frame)&&this.print_newline()},ce.prototype.handle_end_block=function($){for(this.handle_whitespace_and_comments($);this._flags.mode===le.Statement;)this.restore_mode();var ae=this._flags.last_token.type===C.START_BLOCK;this._flags.inline_frame&&!ae?this._output.space_before_token=!0:this._options.brace_style==="expand"?ae||this.print_newline():ae||(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($)},ce.prototype.handle_word=function($){if($.type===C.RESERVED){if(D($.text,["set","get"])&&this._flags.mode!==le.ObjectLiteral)$.type=C.WORD;else if($.text==="import"&&D(this._tokens.peek().text,["(","."]))$.type=C.WORD;else if(D($.text,["as","from"])&&!this._flags.import_block)$.type=C.WORD;else if(this._flags.mode===le.ObjectLiteral){var ae=this._tokens.peek();ae.text===":"&&($.type=C.WORD)}}if(this.start_of_statement($)?K(this._flags.last_token,["var","let","const"])&&$.type===C.WORD&&(this._flags.declaration_statement=!0):$.newlines&&!ue(this._flags.mode)&&(this._flags.last_token.type!==C.OPERATOR||this._flags.last_token.text==="--"||this._flags.last_token.text==="++")&&this._flags.last_token.type!==C.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===le.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===C.COMMA||this._flags.last_token.type===C.START_EXPR||this._flags.last_token.type===C.EQUALS||this._flags.last_token.type===C.OPERATOR)&&!this.start_of_object_property()&&!(D(this._flags.last_token.text,["+","-"])&&this._last_last_text===":"&&this._flags.parent.mode===le.ObjectLiteral)&&this.allow_wrap_or_preserved_newline($),N($,"function")){(D(this._flags.last_token.text,["}",";"])||this._output.just_added_newline()&&!(D(this._flags.last_token.text,["(","[","{",":","=",","])||this._flags.last_token.type===C.OPERATOR))&&!this._output.just_added_blankline()&&!$.comments_before&&(this.print_newline(),this.print_newline(!0)),this._flags.last_token.type===C.RESERVED||this._flags.last_token.type===C.WORD?K(this._flags.last_token,["get","set","new","export"])||K(this._flags.last_token,z)?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===C.OPERATOR||this._flags.last_token.text==="="?this._output.space_before_token=!0:!this._flags.multiline_frame&&(ue(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===C.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===C.SEMICOLON&&this._flags.mode===le.BlockStatement?_e="NEWLINE":this._flags.last_token.type===C.SEMICOLON&&ue(this._flags.mode)?_e="SPACE":this._flags.last_token.type===C.STRING?_e="NEWLINE":this._flags.last_token.type===C.RESERVED||this._flags.last_token.type===C.WORD||this._flags.last_token.text==="*"&&(D(this._last_last_text,["function","yield"])||this._flags.mode===le.ObjectLiteral&&D(this._last_last_text,["{",","]))?_e="SPACE":this._flags.last_token.type===C.START_BLOCK?this._flags.inline_frame?_e="SPACE":_e="NEWLINE":this._flags.last_token.type===C.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===C.END_BLOCK&&this._previous_flags.mode===le.BlockStatement)||this._options.brace_style==="expand"||this._options.brace_style==="end-expand"||this._options.brace_style==="none"&&$.newlines)&&!this._flags.inline_frame)this.print_newline();else{this._output.trim(!0);var De=this._output.current_line;De.last()!=="}"&&this.print_newline(),this._output.space_before_token=!0}else _e==="NEWLINE"?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!==C.END_EXPR?(this._flags.last_token.type!==C.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===C.WORD||$.previous.type===C.RESERVED)&&(this._output.space_before_token=!0),this.print_token($),this._flags.last_word=$.text,$.type===C.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))},ce.prototype.handle_semicolon=function($){this.start_of_statement($)?this._output.space_before_token=!1:this.handle_whitespace_and_comments($);for(var ae=this._tokens.peek();this._flags.mode===le.Statement&&!(this._flags.if_block&&N(ae,"else"))&&!this._flags.do_block;)this.restore_mode();this._flags.import_block&&(this._flags.import_block=!1),this.print_token($)},ce.prototype.handle_string=function($){$.text.startsWith("`")&&$.newlines===0&&$.whitespace_before===""&&($.previous.text===")"||this._flags.last_token.type===C.WORD)||(this.start_of_statement($)?this._output.space_before_token=!0:(this.handle_whitespace_and_comments($),this._flags.last_token.type===C.RESERVED||this._flags.last_token.type===C.WORD||this._flags.inline_frame?this._output.space_before_token=!0:this._flags.last_token.type===C.COMMA||this._flags.last_token.type===C.START_EXPR||this._flags.last_token.type===C.EQUALS||this._flags.last_token.type===C.OPERATOR?this.start_of_object_property()||this.allow_wrap_or_preserved_newline($):$.text.startsWith("`")&&this._flags.last_token.type===C.END_EXPR&&($.previous.text==="]"||$.previous.text===")")&&$.newlines===0?this._output.space_before_token=!0:this.print_newline())),this.print_token($)},ce.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},ce.prototype.handle_comma=function($){this.handle_whitespace_and_comments($,!0),this.print_token($),this._output.space_before_token=!0,this._flags.declaration_statement?(ue(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===le.ObjectLiteral||this._flags.mode===le.Statement&&this._flags.parent.mode===le.ObjectLiteral?(this._flags.mode===le.Statement&&this.restore_mode(),this._flags.inline_frame||this.print_newline()):this._options.comma_first&&this.allow_wrap_or_preserved_newline($)},ce.prototype.handle_operator=function($){var ae=$.text==="*"&&(K(this._flags.last_token,["function","yield"])||D(this._flags.last_token.type,[C.START_BLOCK,C.COMMA,C.END_BLOCK,C.SEMICOLON])),_e=D($.text,["-","+"])&&(D(this._flags.last_token.type,[C.START_BLOCK,C.START_EXPR,C.EQUALS,C.OPERATOR])||D(this._flags.last_token.text,k)||this._flags.last_token.text===",");if(!this.start_of_statement($)){var De=!ae;this.handle_whitespace_and_comments($,De)}if($.text==="*"&&this._flags.last_token.type===C.DOT){this.print_token($);return}if($.text==="::"){this.print_token($);return}if(D($.text,["-","+"])&&this.start_of_object_property()){this.print_token($);return}if(this._flags.last_token.type===C.OPERATOR&&D(this._options.operator_position,ie)&&this.allow_wrap_or_preserved_newline($),$.text===":"&&this._flags.in_case){this.print_token($),this._flags.in_case=!1,this._flags.case_body=!0,this._tokens.peek().type!==C.START_BLOCK?(this.indent(),this.print_newline(),this._flags.case_block=!1):(this._flags.case_block=!0,this._output.space_before_token=!0);return}var ke=!0,He=!0,$e=!1;if($.text===":"?this._flags.ternary_depth===0?ke=!1:(this._flags.ternary_depth-=1,$e=!0):$.text==="?"&&(this._flags.ternary_depth+=1),!_e&&!ae&&this._options.preserve_newlines&&D($.text,R)){var Bt=$.text===":",gt=Bt&&$e,Dt=Bt&&!$e;switch(this._options.operator_position){case se.before_newline:this._output.space_before_token=!Dt,this.print_token($),(!Bt||gt)&&this.allow_wrap_or_preserved_newline($),this._output.space_before_token=!0;return;case se.after_newline:this._output.space_before_token=!0,!Bt||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 se.preserve_newline:Dt||this.allow_wrap_or_preserved_newline($),ke=!(this._output.just_added_newline()||Dt),this._output.space_before_token=ke,this.print_token($),this._output.space_before_token=!0;return}}if(ae){this.allow_wrap_or_preserved_newline($),ke=!1;var nr=this._tokens.peek();He=nr&&D(nr.type,[C.WORD,C.RESERVED])}else if($.text==="...")this.allow_wrap_or_preserved_newline($),ke=this._flags.last_token.type===C.START_BLOCK,He=!1;else if(D($.text,["--","++","!","~"])||_e){if((this._flags.last_token.type===C.COMMA||this._flags.last_token.type===C.START_EXPR)&&this.allow_wrap_or_preserved_newline($),ke=!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===";"&&ue(this._flags.mode)&&(ke=!0),this._flags.last_token.type===C.RESERVED?ke=!0:this._flags.last_token.type===C.END_EXPR?ke=!(this._flags.last_token.text==="]"&&($.text==="--"||$.text==="++")):this._flags.last_token.type===C.OPERATOR&&(ke=D($.text,["--","-","++","+"])&&D(this._flags.last_token.text,["--","-","++","+"]),D($.text,["+","-"])&&D(this._flags.last_token.text,["--","++"])&&(He=!0)),(this._flags.mode===le.BlockStatement&&!this._flags.inline_frame||this._flags.mode===le.Statement)&&(this._flags.last_token.text==="{"||this._flags.last_token.text===";")&&this.print_newline()}this._output.space_before_token=this._output.space_before_token||ke,this.print_token($),this._output.space_before_token=He},ce.prototype.handle_block_comment=function($,ae){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,ae),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($,ae)},ce.prototype.print_block_commment=function($,ae){var _e=J($.text),De,ke=!1,He=!1,$e=$.whitespace_before,Bt=$e.length;if(this.print_newline(!1,ae),this.print_token_line_indentation($),this._output.add_token(_e[0]),this.print_newline(!1,ae),_e.length>1){for(_e=_e.slice(1),ke=ee(_e,"*"),He=Q(_e,$e),ke&&(this._flags.alignment=1),De=0;De<_e.length;De++)ke?(this.print_token_line_indentation($),this._output.add_token(M(_e[De]))):He&&_e[De]?(this.print_token_line_indentation($),this._output.add_token(_e[De].substring(Bt))):(this._output.current_line.set_indent(-1),this._output.add_token(_e[De])),this.print_newline(!1,ae);this._flags.alignment=0}},ce.prototype.handle_comment=function($,ae){$.newlines?this.print_newline(!1,ae):this._output.trim(!0),this._output.space_before_token=!0,this.print_token($),this.print_newline(!1,ae)},ce.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($)},ce.prototype.handle_unknown=function($,ae){this.print_token($),$.text[$.text.length-1]===`
|
|
|
`&&this.print_newline(!1,ae)},ce.prototype.handle_eof=function($){for(;this._flags.mode===le.Statement;)this.restore_mode();this.handle_whitespace_and_comments($)},u.exports.Beautifier=ce},function(u){function a(y){this.__parent=y,this.__character_count=0,this.__indent_count=-1,this.__alignment_count=0,this.__wrap_point_index=0,this.__wrap_point_character_count=0,this.__wrap_point_indent_count=-1,this.__wrap_point_alignment_count=0,this.__items=[]}a.prototype.clone_empty=function(){var y=new a(this.__parent);return y.set_indent(this.__indent_count,this.__alignment_count),y},a.prototype.item=function(y){return y<0?this.__items[this.__items.length+y]:this.__items[y]},a.prototype.has_match=function(y){for(var _=this.__items.length-1;_>=0;_--)if(this.__items[_].match(y))return!0;return!1},a.prototype.set_indent=function(y,_){this.is_empty()&&(this.__indent_count=y||0,this.__alignment_count=_||0,this.__character_count=this.__parent.get_indent_size(this.__indent_count,this.__alignment_count))},a.prototype._set_wrap_point=function(){this.__parent.wrap_line_length&&(this.__wrap_point_index=this.__items.length,this.__wrap_point_character_count=this.__character_count,this.__wrap_point_indent_count=this.__parent.next_line.__indent_count,this.__wrap_point_alignment_count=this.__parent.next_line.__alignment_count)},a.prototype._should_wrap=function(){return this.__wrap_point_index&&this.__character_count>this.__parent.wrap_line_length&&this.__wrap_point_character_count>this.__parent.next_line.__character_count},a.prototype._allow_wrap=function(){if(this._should_wrap()){this.__parent.add_new_line();var y=this.__parent.current_line;return y.set_indent(this.__wrap_point_indent_count,this.__wrap_point_alignment_count),y.__items=this.__items.slice(this.__wrap_point_index),this.__items=this.__items.slice(0,this.__wrap_point_index),y.__character_count+=this.__character_count-this.__wrap_point_character_count,this.__character_count=this.__wrap_point_character_count,y.__items[0]===" "&&(y.__items.splice(0,1),y.__character_count-=1),!0}return!1},a.prototype.is_empty=function(){return this.__items.length===0},a.prototype.last=function(){return this.is_empty()?null:this.__items[this.__items.length-1]},a.prototype.push=function(y){this.__items.push(y);var _=y.lastIndexOf(`
|
|
|
`);_!==-1?this.__character_count=y.length-_:this.__character_count+=y.length},a.prototype.pop=function(){var y=null;return this.is_empty()||(y=this.__items.pop(),this.__character_count-=y.length),y},a.prototype._remove_indent=function(){this.__indent_count>0&&(this.__indent_count-=1,this.__character_count-=this.__parent.indent_size)},a.prototype._remove_wrap_indent=function(){this.__wrap_point_indent_count>0&&(this.__wrap_point_indent_count-=1)},a.prototype.trim=function(){for(;this.last()===" ";)this.__items.pop(),this.__character_count-=1},a.prototype.toString=function(){var y="";return this.is_empty()?this.__parent.indent_empty_lines&&(y=this.__parent.get_indent_string(this.__indent_count)):(y=this.__parent.get_indent_string(this.__indent_count,this.__alignment_count),y+=this.__items.join("")),y};function x(y,_){this.__cache=[""],this.__indent_size=y.indent_size,this.__indent_string=y.indent_char,y.indent_with_tabs||(this.__indent_string=new Array(y.indent_size+1).join(y.indent_char)),_=_||"",y.indent_level>0&&(_=new Array(y.indent_level+1).join(this.__indent_string)),this.__base_string=_,this.__base_string_length=_.length}x.prototype.get_indent_size=function(y,_){var b=this.__base_string_length;return _=_||0,y<0&&(b=0),b+=y*this.__indent_size,b+=_,b},x.prototype.get_indent_string=function(y,_){var b=this.__base_string;return _=_||0,y<0&&(y=0,b=""),_+=y*this.__indent_size,this.__ensure_cache(_),b+=this.__cache[_],b},x.prototype.__ensure_cache=function(y){for(;y>=this.__cache.length;)this.__add_column()},x.prototype.__add_column=function(){var y=this.__cache.length,_=0,b="";this.__indent_size&&y>=this.__indent_size&&(_=Math.floor(y/this.__indent_size),y-=_*this.__indent_size,b=new Array(_+1).join(this.__indent_string)),y&&(b+=new Array(y+1).join(" ")),this.__cache.push(b)};function p(y,_){this.__indent_cache=new x(y,_),this.raw=!1,this._end_with_newline=y.end_with_newline,this.indent_size=y.indent_size,this.wrap_line_length=y.wrap_line_length,this.indent_empty_lines=y.indent_empty_lines,this.__lines=[],this.previous_line=null,this.current_line=null,this.next_line=new a(this),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=!1,this.__add_outputline()}p.prototype.__add_outputline=function(){this.previous_line=this.current_line,this.current_line=this.next_line.clone_empty(),this.__lines.push(this.current_line)},p.prototype.get_line_number=function(){return this.__lines.length},p.prototype.get_indent_string=function(y,_){return this.__indent_cache.get_indent_string(y,_)},p.prototype.get_indent_size=function(y,_){return this.__indent_cache.get_indent_size(y,_)},p.prototype.is_empty=function(){return!this.previous_line&&this.current_line.is_empty()},p.prototype.add_new_line=function(y){return this.is_empty()||!y&&this.just_added_newline()?!1:(this.raw||this.__add_outputline(),!0)},p.prototype.get_code=function(y){this.trim(!0);var _=this.current_line.pop();_&&(_[_.length-1]===`
|
|
|
`&&(_=_.replace(/\n+$/g,"")),this.current_line.push(_)),this._end_with_newline&&this.__add_outputline();var b=this.__lines.join(`
|
|
|
`);return y!==`
|
|
|
`&&(b=b.replace(/[\n]/g,y)),b},p.prototype.set_wrap_point=function(){this.current_line._set_wrap_point()},p.prototype.set_indent=function(y,_){return y=y||0,_=_||0,this.next_line.set_indent(y,_),this.__lines.length>1?(this.current_line.set_indent(y,_),!0):(this.current_line.set_indent(),!1)},p.prototype.add_raw_token=function(y){for(var _=0;_<y.newlines;_++)this.__add_outputline();this.current_line.set_indent(-1),this.current_line.push(y.whitespace_before),this.current_line.push(y.text),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=!1},p.prototype.add_token=function(y){this.__add_space_before_token(),this.current_line.push(y),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=this.current_line._allow_wrap()},p.prototype.__add_space_before_token=function(){this.space_before_token&&!this.just_added_newline()&&(this.non_breaking_space||this.set_wrap_point(),this.current_line.push(" "))},p.prototype.remove_indent=function(y){for(var _=this.__lines.length;y<_;)this.__lines[y]._remove_indent(),y++;this.current_line._remove_wrap_indent()},p.prototype.trim=function(y){for(y=y===void 0?!1:y,this.current_line.trim();y&&this.__lines.length>1&&this.current_line.is_empty();)this.__lines.pop(),this.current_line=this.__lines[this.__lines.length-1],this.current_line.trim();this.previous_line=this.__lines.length>1?this.__lines[this.__lines.length-2]:null},p.prototype.just_added_newline=function(){return this.current_line.is_empty()},p.prototype.just_added_blankline=function(){return this.is_empty()||this.current_line.is_empty()&&this.previous_line.is_empty()},p.prototype.ensure_empty_line_above=function(y,_){for(var b=this.__lines.length-2;b>=0;){var A=this.__lines[b];if(A.is_empty())break;if(A.item(0).indexOf(y)!==0&&A.item(-1)!==_){this.__lines.splice(b+1,0,new a(this)),this.previous_line=this.__lines[this.__lines.length-2];break}b--}},u.exports.Output=p},function(u){function a(x,p,y,_){this.type=x,this.text=p,this.comments_before=null,this.newlines=y||0,this.whitespace_before=_||"",this.parent=null,this.next=null,this.previous=null,this.opened=null,this.closed=null,this.directives=null}u.exports.Token=a},function(u,a){var x="\\x23\\x24\\x40\\x41-\\x5a\\x5f\\x61-\\x7a",p="\\x24\\x30-\\x39\\x41-\\x5a\\x5f\\x61-\\x7a",y="\\xaa\\xb5\\xba\\xc0-\\xd6\\xd8-\\xf6\\xf8-\\u02c1\\u02c6-\\u02d1\\u02e0-\\u02e4\\u02ec\\u02ee\\u0370-\\u0374\\u0376\\u0377\\u037a-\\u037d\\u0386\\u0388-\\u038a\\u038c\\u038e-\\u03a1\\u03a3-\\u03f5\\u03f7-\\u0481\\u048a-\\u0527\\u0531-\\u0556\\u0559\\u0561-\\u0587\\u05d0-\\u05ea\\u05f0-\\u05f2\\u0620-\\u064a\\u066e\\u066f\\u0671-\\u06d3\\u06d5\\u06e5\\u06e6\\u06ee\\u06ef\\u06fa-\\u06fc\\u06ff\\u0710\\u0712-\\u072f\\u074d-\\u07a5\\u07b1\\u07ca-\\u07ea\\u07f4\\u07f5\\u07fa\\u0800-\\u0815\\u081a\\u0824\\u0828\\u0840-\\u0858\\u08a0\\u08a2-\\u08ac\\u0904-\\u0939\\u093d\\u0950\\u0958-\\u0961\\u0971-\\u0977\\u0979-\\u097f\\u0985-\\u098c\\u098f\\u0990\\u0993-\\u09a8\\u09aa-\\u09b0\\u09b2\\u09b6-\\u09b9\\u09bd\\u09ce\\u09dc\\u09dd\\u09df-\\u09e1\\u09f0\\u09f1\\u0a05-\\u0a0a\\u0a0f\\u0a10\\u0a13-\\u0a28\\u0a2a-\\u0a30\\u0a32\\u0a33\\u0a35\\u0a36\\u0a38\\u0a39\\u0a59-\\u0a5c\\u0a5e\\u0a72-\\u0a74\\u0a85-\\u0a8d\\u0a8f-\\u0a91\\u0a93-\\u0aa8\\u0aaa-\\u0ab0\\u0ab2\\u0ab3\\u0ab5-\\u0ab9\\u0abd\\u0ad0\\u0ae0\\u0ae1\\u0b05-\\u0b0c\\u0b0f\\u0b10\\u0b13-\\u0b28\\u0b2a-\\u0b30\\u0b32\\u0b33\\u0b35-\\u0b39\\u0b3d\\u0b5c\\u0b5d\\u0b5f-\\u0b61\\u0b71\\u0b83\\u0b85-\\u0b8a\\u0b8e-\\u0b90\\u0b92-\\u0b95\\u0b99\\u0b9a\\u0b9c\\u0b9e\\u0b9f\\u0ba3\\u0ba4\\u0ba8-\\u0baa\\u0bae-\\u0bb9\\u0bd0\\u0c05-\\u0c0c\\u0c0e-\\u0c10\\u0c12-\\u0c28\\u0c2a-\\u0c33\\u0c35-\\u0c39\\u0c3d\\u0c58\\u0c59\\u0c60\\u0c61\\u0c85-\\u0c8c\\u0c8e-\\u0c90\\u0c92-\\u0ca8\\u0caa-\\u0cb3\\u0cb5-\\u0cb9\\u0cbd\\u0cde\\u0ce0\\u0ce1\\u0cf1\\u0cf2\\u0d05-\\u0d0c\\u0d0e-\\u0d10\\u0d12-\\u0d3a\\u0d3d\\u0d4e\\u0d60\\u0d61\\u0d7a-\\u0d7f\\u0d85-\\u0d96\\u0d9a-\\u0db1\\u0db3-\\u0dbb\\u0dbd\\u0dc0-\\u0dc6\\u0e01-\\u0e30\\u0e32\\u0e33\\u0e40-\\u0e46\\u0e81\\u0e82\\u0e84\\u0e87\\u0e88\\u0e8a\\u0e8d\\u0e94-\\u0e97\\u0e99-\\u0e9f\\u0ea1-\\u0ea3\\u0ea5\\u0ea7\\u0eaa\\u0eab\\u0ead-\\u0eb0\\u0eb2\\u0eb3\\u0ebd\\u0ec0-\\u0ec4\\u0ec6\\u0edc-\\u0edf\\u0f00\\u0f40-\\u0f47\\u0f49-\\u0f6c\\u0f88-\\u0f8c\\u1000-\\u102a\\u103f\\u1050-\\u1055\\u105a-\\u105d\\u1061\\u1065\\u1066\\u106e-\\u1070\\u1075-\\u1081\\u108e\\u10a0-\\u10c5\\u10c7\\u10cd\\u10d0-\\u10fa\\u10fc-\\u1248\\u124a-\\u124d\\u1250-\\u1256\\u1258\\u125a-\\u125d\\u1260-\\u1288\\u128a-\\u128d\\u1290-\\u12b0\\u12b2-\\u12b5\\u12b8-\\u12be\\u12c0\\u12c2-\\u12c5\\u12c8-\\u12d6\\u12d8-\\u1310\\u1312-\\u1315\\u1318-\\u135a\\u1380-\\u138f\\u13a0-\\u13f4\\u1401-\\u166c\\u166f-\\u167f\\u1681-\\u169a\\u16a0-\\u16ea\\u16ee-\\u16f0\\u1700-\\u170c\\u170e-\\u1711\\u1720-\\u1731\\u1740-\\u1751\\u1760-\\u176c\\u176e-\\u1770\\u1780-\\u17b3\\u17d7\\u17dc\\u1820-\\u1877\\u1880-\\u18a8\\u18aa\\u18b0-\\u18f5\\u1900-\\u191c\\u1950-\\u196d\\u1970-\\u1974\\u1980-\\u19ab\\u19c1-\\u19c7\\u1a00-\\u1a16\\u1a20-\\u1a54\\u1aa7\\u1b05-\\u1b33\\u1b45-\\u1b4b\\u1b83-\\u1ba0\\u1bae\\u1baf\\u1bba-\\u1be5\\u1c00-\\u1c23\\u1c4d-\\u1c4f\\u1c5a-\\u1c7d\\u1ce9-\\u1cec\\u1cee-\\u1cf1\\u1cf5\\u1cf6\\u1d00-\\u1dbf\\u1e00-\\u1f15\\u1f18-\\u1f1d\\u1f20-\\u1f45\\u1f48-\\u1f4d\\u1f50-\\u1f57\\u1f59\\u1f5b\\u1f5d\\u1f5f-\\u1f7d\\u1f80-\\u1fb4\\u1fb6-\\u1fbc\\u1fbe\\u1fc2-\\u1fc4\\u1fc6-\\u1fcc\\u1fd0-\\u1fd3\\u1fd6-\\u1fdb\\u1fe0-\\u1fec\\u1ff2-\\u1ff4\\u1ff6-\\u1ffc\\u2071\\u207f\\u2090-\\u209c\\u2102\\u2107\\u210a-\\u2113\\u2115\\u2119-\\u211d\\u2124\\u2126\\u2128\\u212a-\\u212d\\u212f-\\u2139\\u213c-\\u213f\\u2145-\\u2149\\u214e\\u2160-\\u2188\\u2c00-\\u2c2e\\u2c30-\\u2c5e\\u2c60-\\u2ce4\\u2ceb-\\u2cee\\u2cf2\\u2cf3\\u2d00-\\u2d25\\u2d27\\u2d2d\\u2d30-\\u2d67\\u2d6f\\u2d80-\\u2d96\\u2da0-\\u2da6\\u2da8-\\u2dae\\u2db0-\\u2db6\\u2db8-\\u2dbe\\u2dc0-\\u2dc6\\u2dc8-\\u2dce\\u2dd0-\\u2dd6\\u2dd8-\\u2dde\\u2e2f\\u3005-\\u3007\\u3021-\\u3029\\u3031-\\u3035\\u3038-\\u303c\\u3041-\\u3096\\u309d-\\u309f\\u30a1-\\u30fa\\u30fc-\\u30ff\\u3105-\\u312d\\u3131-\\u318e\\u31a0-\\u31ba\\u31f0-\\u31ff\\u3400-\\u4db5\\u4e00-\\u9fcc\\ua000-\\ua48c\\ua4d0-\\ua4fd\\ua500-\\ua60c\\ua610-\\ua61f\\ua62a\\ua62b\\ua640-\\ua66e\\ua67f-\\ua697\\ua6a0-\\ua6ef\\ua717-\\ua71f\\ua722-\\ua788\\ua78b-\\ua78e\\ua790-\\ua793\\ua7a0-\\ua7aa\\ua7f8-\\ua801\\ua803-\\ua805\\ua807-\\ua80a\\ua80c-\\ua822\\ua840-\\ua873\\ua882-\\ua8b3\\ua8f2-\\ua8f7\\ua8fb\\ua90a-\\ua925\\ua930-\\ua946\\ua960-\\ua97c\\ua984-\\ua9b2\\ua9cf\\uaa00-\\uaa28\\uaa40-\\uaa42\\uaa44-\\uaa4b\\uaa60-\\uaa76\\uaa7a\\uaa80-\\uaaaf\\uaab1\\uaab5\\uaab6\\uaab9-\\uaabd\\uaac0\\uaac2\\uaadb-\\uaadd\\uaae0-\\uaaea\\uaaf2-\\uaaf4\\uab01-\\uab06\\uab09-\\uab0e\\uab11-\\uab16\\uab20-\\uab26\\uab28-\\uab2e\\uabc0-\\uabe2\\uac00-\\ud7a3\\ud7b0-\\ud7c6\\ud7cb-\\ud7fb\\uf900-\\ufa6d\\ufa70-\\ufad9\\ufb00-\\ufb06\\ufb13-\\ufb17\\ufb1d\\ufb1f-\\ufb28\\ufb2a-\\ufb36\\ufb38-\\ufb3c\\ufb3e\\ufb40\\ufb41\\ufb43\\ufb44\\ufb46-\\ufbb1\\ufbd3-\\ufd3d\\ufd50-\\ufd8f\\ufd92-\\ufdc7\\ufdf0-\\ufdfb\\ufe70-\\ufe74\\ufe76-\\ufefc\\uff21-\\uff3a\\uff41-\\uff5a\\uff66-\\uffbe\\uffc2-\\uffc7\\uffca-\\uffcf\\uffd2-\\uffd7\\uffda-\\uffdc",_="\\u0300-\\u036f\\u0483-\\u0487\\u0591-\\u05bd\\u05bf\\u05c1\\u05c2\\u05c4\\u05c5\\u05c7\\u0610-\\u061a\\u0620-\\u0649\\u0672-\\u06d3\\u06e7-\\u06e8\\u06fb-\\u06fc\\u0730-\\u074a\\u0800-\\u0814\\u081b-\\u0823\\u0825-\\u0827\\u0829-\\u082d\\u0840-\\u0857\\u08e4-\\u08fe\\u0900-\\u0903\\u093a-\\u093c\\u093e-\\u094f\\u0951-\\u0957\\u0962-\\u0963\\u0966-\\u096f\\u0981-\\u0983\\u09bc\\u09be-\\u09c4\\u09c7\\u09c8\\u09d7\\u09df-\\u09e0\\u0a01-\\u0a03\\u0a3c\\u0a3e-\\u0a42\\u0a47\\u0a48\\u0a4b-\\u0a4d\\u0a51\\u0a66-\\u0a71\\u0a75\\u0a81-\\u0a83\\u0abc\\u0abe-\\u0ac5\\u0ac7-\\u0ac9\\u0acb-\\u0acd\\u0ae2-\\u0ae3\\u0ae6-\\u0aef\\u0b01-\\u0b03\\u0b3c\\u0b3e-\\u0b44\\u0b47\\u0b48\\u0b4b-\\u0b4d\\u0b56\\u0b57\\u0b5f-\\u0b60\\u0b66-\\u0b6f\\u0b82\\u0bbe-\\u0bc2\\u0bc6-\\u0bc8\\u0bca-\\u0bcd\\u0bd7\\u0be6-\\u0bef\\u0c01-\\u0c03\\u0c46-\\u0c48\\u0c4a-\\u0c4d\\u0c55\\u0c56\\u0c62-\\u0c63\\u0c66-\\u0c6f\\u0c82\\u0c83\\u0cbc\\u0cbe-\\u0cc4\\u0cc6-\\u0cc8\\u0cca-\\u0ccd\\u0cd5\\u0cd6\\u0ce2-\\u0ce3\\u0ce6-\\u0cef\\u0d02\\u0d03\\u0d46-\\u0d48\\u0d57\\u0d62-\\u0d63\\u0d66-\\u0d6f\\u0d82\\u0d83\\u0dca\\u0dcf-\\u0dd4\\u0dd6\\u0dd8-\\u0ddf\\u0df2\\u0df3\\u0e34-\\u0e3a\\u0e40-\\u0e45\\u0e50-\\u0e59\\u0eb4-\\u0eb9\\u0ec8-\\u0ecd\\u0ed0-\\u0ed9\\u0f18\\u0f19\\u0f20-\\u0f29\\u0f35\\u0f37\\u0f39\\u0f41-\\u0f47\\u0f71-\\u0f84\\u0f86-\\u0f87\\u0f8d-\\u0f97\\u0f99-\\u0fbc\\u0fc6\\u1000-\\u1029\\u1040-\\u1049\\u1067-\\u106d\\u1071-\\u1074\\u1082-\\u108d\\u108f-\\u109d\\u135d-\\u135f\\u170e-\\u1710\\u1720-\\u1730\\u1740-\\u1750\\u1772\\u1773\\u1780-\\u17b2\\u17dd\\u17e0-\\u17e9\\u180b-\\u180d\\u1810-\\u1819\\u1920-\\u192b\\u1930-\\u193b\\u1951-\\u196d\\u19b0-\\u19c0\\u19c8-\\u19c9\\u19d0-\\u19d9\\u1a00-\\u1a15\\u1a20-\\u1a53\\u1a60-\\u1a7c\\u1a7f-\\u1a89\\u1a90-\\u1a99\\u1b46-\\u1b4b\\u1b50-\\u1b59\\u1b6b-\\u1b73\\u1bb0-\\u1bb9\\u1be6-\\u1bf3\\u1c00-\\u1c22\\u1c40-\\u1c49\\u1c5b-\\u1c7d\\u1cd0-\\u1cd2\\u1d00-\\u1dbe\\u1e01-\\u1f15\\u200c\\u200d\\u203f\\u2040\\u2054\\u20d0-\\u20dc\\u20e1\\u20e5-\\u20f0\\u2d81-\\u2d96\\u2de0-\\u2dff\\u3021-\\u3028\\u3099\\u309a\\ua640-\\ua66d\\ua674-\\ua67d\\ua69f\\ua6f0-\\ua6f1\\ua7f8-\\ua800\\ua806\\ua80b\\ua823-\\ua827\\ua880-\\ua881\\ua8b4-\\ua8c4\\ua8d0-\\ua8d9\\ua8f3-\\ua8f7\\ua900-\\ua909\\ua926-\\ua92d\\ua930-\\ua945\\ua980-\\ua983\\ua9b3-\\ua9c0\\uaa00-\\uaa27\\uaa40-\\uaa41\\uaa4c-\\uaa4d\\uaa50-\\uaa59\\uaa7b\\uaae0-\\uaae9\\uaaf2-\\uaaf3\\uabc0-\\uabe1\\uabec\\uabed\\uabf0-\\uabf9\\ufb20-\\ufb28\\ufe00-\\ufe0f\\ufe20-\\ufe26\\ufe33\\ufe34\\ufe4d-\\ufe4f\\uff10-\\uff19\\uff3f",b="\\\\u[0-9a-fA-F]{4}|\\\\u\\{[0-9a-fA-F]+\\}",A="(?:"+b+"|["+x+y+"])",k="(?:"+b+"|["+p+y+_+"])*";a.identifier=new RegExp(A+k,"g"),a.identifierStart=new RegExp(A),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 A=this.raw_options.brace_style||null;A==="expand-strict"?this.raw_options.brace_style="expand":A==="collapse-preserve-inline"?this.raw_options.brace_style="collapse,preserve-inline":this.raw_options.braces_on_own_line!==void 0&&(this.raw_options.brace_style=this.raw_options.braces_on_own_line?"expand":"collapse");var 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],A=_||[];return typeof b=="object"?b!==null&&typeof b.concat=="function"&&(A=b.concat()):typeof b=="string"&&(A=b.split(/[^a-zA-Z0-9_\/\-]+/)),A},a.prototype._get_boolean=function(y,_){var b=this.raw_options[y],A=b===void 0?!!_:!!b;return A},a.prototype._get_characters=function(y,_){var b=this.raw_options[y],A=_||"";return typeof b=="string"&&(A=b.replace(/\\r/,"\r").replace(/\\n/,`
|
|
|
`).replace(/\\t/," ")),A},a.prototype._get_number=function(y,_){var b=this.raw_options[y];_=parseInt(_,10),isNaN(_)&&(_=0);var A=parseInt(b,10);return isNaN(A)&&(A=_),A},a.prototype._get_selection=function(y,_,b){var A=this._get_selection_list(y,_,b);if(A.length!==1)throw new Error("Invalid Option Value: The option '"+y+`' can only be one of the following values:
|
|
|
`+_+`
|
|
|
You passed in: '`+this.raw_options[y]+"'");return A[0]},a.prototype._get_selection_list=function(y,_,b){if(!_||_.length===0)throw new Error("Selection list cannot be empty.");if(b=b||[_[0]],!this._is_valid_selection(b,_))throw new Error("Invalid Default Value!");var A=this._get_array(y,b);if(!this._is_valid_selection(A,_))throw new Error("Invalid Option Value: The option '"+y+`' can contain only the following values:
|
|
|
`+_+`
|
|
|
You passed in: '`+this.raw_options[y]+"'");return A},a.prototype._is_valid_selection=function(y,_){return y.length&&_.length&&!y.some(function(b){return _.indexOf(b)===-1})};function x(y,_){var b={};y=p(y);var A;for(A in y)A!==_&&(b[A]=y[A]);if(_&&y[_])for(A in y[_])b[A]=y[_][A];return b}function p(y){var _={},b;for(b in y){var A=b.replace(/-/g,"_");_[A]=y[b]}return _}u.exports.Options=a,u.exports.normalizeOpts=p,u.exports.mergeOpts=x},function(u,a,x){var p=x(8).InputScanner,y=x(9).Tokenizer,_=x(9).TOKEN,b=x(13).Directives,A=x(4),k=x(12).Pattern,R=x(14).TemplatablePattern;function C(ee,Q){return Q.indexOf(ee)!==-1}var D={START_EXPR:"TK_START_EXPR",END_EXPR:"TK_END_EXPR",START_BLOCK:"TK_START_BLOCK",END_BLOCK:"TK_END_BLOCK",WORD:"TK_WORD",RESERVED:"TK_RESERVED",SEMICOLON:"TK_SEMICOLON",STRING:"TK_STRING",EQUALS:"TK_EQUALS",OPERATOR:"TK_OPERATOR",COMMA:"TK_COMMA",BLOCK_COMMENT:"TK_BLOCK_COMMENT",COMMENT:"TK_COMMENT",DOT:"TK_DOT",UNKNOWN:"TK_UNKNOWN",START:_.START,RAW:_.RAW,EOF:_.EOF},M=new b(/\/\*/,/\*\//),B=/0[xX][0123456789abcdefABCDEF_]*n?|0[oO][01234567_]*n?|0[bB][01_]*n?|\d[\d_]*n|(?:\.\d[\d_]*|\d[\d_]*\.?[\d_]*)(?:[eE][+-]?[\d_]+)?/,N=/[0-9]/,K=/[^\d\.]/,G=">>> === !== &&= ??= ||= << && >= ** != == <= >> || ?? |> < / - + > : & % ? ^ | *".split(" "),W=">>>= ... >>= <<= === >>> !== **= &&= ??= ||= => ^= :: /= << <= == && -= >= >> != -- += ** || ?? ++ %= &= *= |= |> = ! ? > < : / ^ - + * & % ~ |";W=W.replace(/[-[\]{}()*+?.,\\^$|#]/g,"\\$&"),W="\\?\\.(?!\\d) "+W,W=W.replace(/ /g,"|");var se=new RegExp(W),ie="continue,try,throw,return,var,let,const,if,switch,case,default,for,while,break,function,import,export".split(","),le=ie.concat(["do","in","of","else","get","set","new","catch","finally","typeof","yield","async","await","from","as","class","extends"]),q=new RegExp("^(?:"+le.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 ce=new k(this._input),z=new R(this._input).read_options(this._options);this.__patterns={template:z,identifier:z.starting_with(A.identifier).matching(A.identifierMatch),number:ce.matching(B),punct:ce.matching(se),comment:ce.starting_with(/\/\//).until(/[\n\r\u2028\u2029]/),block_comment:ce.starting_with(/\/\*/).until_after(/\*\//),html_comment_start:ce.matching(/<!--/),html_comment_end:ce.matching(/-->/),include:ce.starting_with(/#include/).until_after(A.lineBreak),shebang:ce.starting_with(/#!/).until_after(A.lineBreak),xml:ce.matching(/[\s\S]*?<(\/?)([-a-zA-Z:0-9_.]+|{[^}]+?}|!\[CDATA\[[^\]]*?\]\]|)(\s*{[^}]+?}|\s+[-a-zA-Z:0-9_.]+|\s+[-a-zA-Z:0-9_.]+\s*=\s*('[^']*'|"[^"]*"|{([^{}]|{[^}]+?})+?}))*\s*(\/?)\s*>/),single_quote:z.until(/['\\\n\r\u2028\u2029]/),double_quote:z.until(/["\\\n\r\u2028\u2029]/),template_text:z.until(/[`\\$]/),template_expression:z.until(/[`}\\]/)}};V.prototype=new y,V.prototype._is_comment=function(ee){return ee.type===D.COMMENT||ee.type===D.BLOCK_COMMENT||ee.type===D.UNKNOWN},V.prototype._is_opening=function(ee){return ee.type===D.START_BLOCK||ee.type===D.START_EXPR},V.prototype._is_closing=function(ee,Q){return(ee.type===D.END_BLOCK||ee.type===D.END_EXPR)&&Q&&(ee.text==="]"&&Q.text==="["||ee.text===")"&&Q.text==="("||ee.text==="}"&&Q.text==="{")},V.prototype._reset=function(){J=!1},V.prototype._get_next_token=function(ee,Q){var ce=null;this._readWhitespace();var z=this._input.peek();return z===null?this._create_token(D.EOF,""):(ce=ce||this._read_non_javascript(z),ce=ce||this._read_string(z),ce=ce||this._read_pair(z,this._input.peek(1)),ce=ce||this._read_word(ee),ce=ce||this._read_singles(z),ce=ce||this._read_comment(z),ce=ce||this._read_regexp(z,ee),ce=ce||this._read_xml(z,ee),ce=ce||this._read_punctuation(),ce=ce||this._create_token(D.UNKNOWN,this._input.next()),ce)},V.prototype._read_word=function(ee){var Q;if(Q=this.__patterns.identifier.read(),Q!=="")return Q=Q.replace(A.allLineBreaks,`
|
|
|
`),!(ee.type===D.DOT||ee.type===D.RESERVED&&(ee.text==="set"||ee.text==="get"))&&q.test(Q)?(Q==="in"||Q==="of")&&(ee.type===D.WORD||ee.type===D.STRING)?this._create_token(D.OPERATOR,Q):this._create_token(D.RESERVED,Q):this._create_token(D.WORD,Q);if(Q=this.__patterns.number.read(),Q!=="")return this._create_token(D.WORD,Q)},V.prototype._read_singles=function(ee){var Q=null;return ee==="("||ee==="["?Q=this._create_token(D.START_EXPR,ee):ee===")"||ee==="]"?Q=this._create_token(D.END_EXPR,ee):ee==="{"?Q=this._create_token(D.START_BLOCK,ee):ee==="}"?Q=this._create_token(D.END_BLOCK,ee):ee===";"?Q=this._create_token(D.SEMICOLON,ee):ee==="."&&K.test(this._input.peek(1))?Q=this._create_token(D.DOT,ee):ee===","&&(Q=this._create_token(D.COMMA,ee)),Q&&this._input.next(),Q},V.prototype._read_pair=function(ee,Q){var ce=null;return ee==="#"&&Q==="{"&&(ce=this._create_token(D.START_BLOCK,ee+Q)),ce&&(this._input.next(),this._input.next()),ce},V.prototype._read_punctuation=function(){var ee=this.__patterns.punct.read();if(ee!=="")return ee==="="?this._create_token(D.EQUALS,ee):ee==="?."?this._create_token(D.DOT,ee):this._create_token(D.OPERATOR,ee)},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(D.UNKNOWN,Q.trim()+`
|
|
|
`);if(Q=this.__patterns.include.read(),Q)return this._create_token(D.UNKNOWN,Q.trim()+`
|
|
|
`);ee=this._input.next();var ce="#";if(this._input.hasNext()&&this._input.testChar(N)){do ee=this._input.next(),ce+=ee;while(this._input.hasNext()&&ee!=="#"&&ee!=="=");return ee==="#"||(this._input.peek()==="["&&this._input.peek(1)==="]"?(ce+="[]",this._input.next(),this._input.next()):this._input.peek()==="{"&&this._input.peek(1)==="}"&&(ce+="{}",this._input.next(),this._input.next())),this._create_token(D.WORD,ce)}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(A.newline);)Q+=this._input.next();return J=!0,this._create_token(D.COMMENT,Q)}}else if(J&&ee==="-"&&(Q=this.__patterns.html_comment_end.read(),Q))return J=!1,this._create_token(D.COMMENT,Q);return null},V.prototype._read_comment=function(ee){var Q=null;if(ee==="/"){var ce="";if(this._input.peek(1)==="*"){ce=this.__patterns.block_comment.read();var z=M.get_directives(ce);z&&z.ignore==="start"&&(ce+=M.readIgnored(this._input)),ce=ce.replace(A.allLineBreaks,`
|
|
|
`),Q=this._create_token(D.BLOCK_COMMENT,ce),Q.directives=z}else this._input.peek(1)==="/"&&(ce=this.__patterns.comment.read(),Q=this._create_token(D.COMMENT,ce))}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=ue(Q)),this._input.peek()===ee&&(Q+=this._input.next()),Q=Q.replace(A.allLineBreaks,`
|
|
|
`),this._create_token(D.STRING,Q)}return null},V.prototype._allow_regexp_or_xml=function(ee){return ee.type===D.RESERVED&&C(ee.text,["return","case","throw","else","do","typeof","yield"])||ee.type===D.END_EXPR&&ee.text===")"&&ee.opened.previous.type===D.RESERVED&&C(ee.opened.previous.text,["if","while","for"])||C(ee.type,[D.COMMENT,D.START_EXPR,D.START_BLOCK,D.START,D.END_BLOCK,D.OPERATOR,D.EQUALS,D.EOF,D.SEMICOLON,D.COMMA])},V.prototype._read_regexp=function(ee,Q){if(ee==="/"&&this._allow_regexp_or_xml(Q)){for(var ce=this._input.next(),z=!1,$=!1;this._input.hasNext()&&(z||$||this._input.peek()!==ee)&&!this._input.testChar(A.newline);)ce+=this._input.peek(),z?z=!1:(z=this._input.peek()==="\\",this._input.peek()==="["?$=!0:this._input.peek()==="]"&&($=!1)),this._input.next();return this._input.peek()===ee&&(ce+=this._input.next(),ce+=this._input.read(A.identifier)),this._create_token(D.STRING,ce)}return null},V.prototype._read_xml=function(ee,Q){if(this._options.e4x&&ee==="<"&&this._allow_regexp_or_xml(Q)){var ce="",z=this.__patterns.xml.read_match();if(z){for(var $=z[2].replace(/^{\s+/,"{").replace(/\s+}$/,"}"),ae=$.indexOf("{")===0,_e=0;z;){var De=!!z[1],ke=z[2],He=!!z[z.length-1]||ke.slice(0,8)==="![CDATA[";if(!He&&(ke===$||ae&&ke.replace(/^{\s+/,"{").replace(/\s+}$/,"}"))&&(De?--_e:++_e),ce+=z[0],_e<=0)break;z=this.__patterns.xml.read_match()}return z||(ce+=this._input.match(/[\s\S]*/g)[0]),ce=ce.replace(A.allLineBreaks,`
|
|
|
`),this._create_token(D.STRING,ce)}}return null};function ue(ee){for(var Q="",ce=0,z=new p(ee),$=null;z.hasNext();)if($=z.match(/([\s]|[^\\]|\\\\)+/g),$&&(Q+=$[0]),z.peek()==="\\"){if(z.next(),z.peek()==="x")$=z.match(/x([0-9A-Fa-f]{2})/g);else if(z.peek()==="u")$=z.match(/u([0-9A-Fa-f]{4})/g),$||($=z.match(/u\{([0-9A-Fa-f]+)\}/g));else{Q+="\\",z.hasNext()&&(Q+=z.next());continue}if(!$||(ce=parseInt($[1],16),ce>126&&ce<=255&&$[0].indexOf("x")===0))return ee;ce>=0&&ce<32||ce>1114111?Q+="\\"+$[0]:ce===34||ce===39||ce===92?Q+="\\"+String.fromCharCode(ce):Q+=String.fromCharCode(ce)}return Q}V.prototype._read_string_recursive=function(ee,Q,ce){var z,$;ee==="'"?$=this.__patterns.single_quote:ee==='"'?$=this.__patterns.double_quote:ee==="`"?$=this.__patterns.template_text:ee==="}"&&($=this.__patterns.template_expression);for(var ae=$.read(),_e="";this._input.hasNext();){if(_e=this._input.next(),_e===ee||!Q&&A.newline.test(_e)){this._input.back();break}else _e==="\\"&&this._input.hasNext()?(z=this._input.peek(),z==="x"||z==="u"?this.has_char_escapes=!0:z==="\r"&&this._input.peek(1)===`
|
|
|
`&&this._input.next(),_e+=this._input.next()):ce&&(ce==="${"&&_e==="$"&&this._input.peek()==="{"&&(_e+=this._input.next()),ce===_e&&(ee==="`"?_e+=this._read_string_recursive("}",Q,"`"):_e+=this._read_string_recursive("`",Q,"${"),this._input.hasNext()&&(_e+=this._input.next())));_e+=$.read(),ae+=_e}return ae},u.exports.Tokenizer=V,u.exports.TOKEN=D,u.exports.positionable_operators=G.slice(),u.exports.line_starters=ie.slice()},function(u){var a=RegExp.prototype.hasOwnProperty("sticky");function x(p){this.__input=p||"",this.__input_length=this.__input.length,this.__position=0}x.prototype.restart=function(){this.__position=0},x.prototype.back=function(){this.__position>0&&(this.__position-=1)},x.prototype.hasNext=function(){return this.__position<this.__input_length},x.prototype.next=function(){var p=null;return this.hasNext()&&(p=this.__input.charAt(this.__position),this.__position+=1),p},x.prototype.peek=function(p){var y=null;return p=p||0,p+=this.__position,p>=0&&p<this.__input_length&&(y=this.__input.charAt(p)),y},x.prototype.__match=function(p,y){p.lastIndex=y;var _=p.exec(this.__input);return _&&!(a&&p.sticky)&&_.index!==y&&(_=null),_},x.prototype.test=function(p,y){return y=y||0,y+=this.__position,y>=0&&y<this.__input_length?!!this.__match(p,y):!1},x.prototype.testChar=function(p,y){var _=this.peek(y);return p.lastIndex=0,_!==null&&p.test(_)},x.prototype.match=function(p){var y=this.__match(p,this.__position);return y?this.__position+=y[0].length:y=null,y},x.prototype.read=function(p,y,_){var b="",A;return p&&(A=this.match(p),A&&(b+=A[0])),y&&(A||!p)&&(b+=this.readUntil(y,_)),b},x.prototype.readUntil=function(p,y){var _="",b=this.__position;p.lastIndex=this.__position;var A=p.exec(this.__input);return A?(b=A.index,y&&(b+=A[0].length)):b=this.__input_length,_=this.__input.substring(this.__position,b),this.__position=b,_},x.prototype.readUntilAfter=function(p){return this.readUntil(p,!0)},x.prototype.get_regexp=function(p,y){var _=null,b="g";return y&&a&&(b="y"),typeof p=="string"&&p!==""?_=new RegExp(p,b):p&&(_=new RegExp(p.source,b)),_},x.prototype.get_literal_regexp=function(p){return RegExp(p.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&"))},x.prototype.peekUntilAfter=function(p){var y=this.__position,_=this.readUntilAfter(p);return this.__position=y,_},x.prototype.lookBack=function(p){var y=this.__position-1;return y>=p.length&&this.__input.substring(y-p.length,y).toLowerCase()===p},u.exports.InputScanner=x},function(u,a,x){var p=x(8).InputScanner,y=x(3).Token,_=x(10).TokenStream,b=x(11).WhitespacePattern,A={START:"TK_START",RAW:"TK_RAW",EOF:"TK_EOF"},k=function(R,C){this._input=new p(R),this._options=C||{},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,C=new y(A.START,""),D=null,M=[],B=new _;C.type!==A.EOF;){for(R=this._get_next_token(C,D);this._is_comment(R);)B.add(R),R=this._get_next_token(C,D);B.isEmpty()||(R.comments_before=B,B=new _),R.parent=D,this._is_opening(R)?(M.push(D),D=R):D&&this._is_closing(R,D)&&(R.opened=D,D.closed=R,D=M.pop(),R.parent=D),R.previous=C,C.next=R,this.__tokens.add(R),C=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,C){this._readWhitespace();var D=this._input.read(/.+/g);return D?this._create_token(A.RAW,D):this._create_token(A.EOF,"")},k.prototype._is_comment=function(R){return!1},k.prototype._is_opening=function(R){return!1},k.prototype._is_closing=function(R,C){return!1},k.prototype._create_token=function(R,C){var D=new y(R,C,this._patterns.whitespace.newline_count,this._patterns.whitespace.whitespace_before_token);return D},k.prototype._readWhitespace=function(){return this._patterns.whitespace.read()},u.exports.Tokenizer=k,u.exports.TOKEN=A},function(u){function a(x){this.__tokens=[],this.__tokens_length=this.__tokens.length,this.__position=0,this.__parent_token=x}a.prototype.restart=function(){this.__position=0},a.prototype.isEmpty=function(){return this.__tokens_length===0},a.prototype.hasNext=function(){return this.__position<this.__tokens_length},a.prototype.next=function(){var x=null;return this.hasNext()&&(x=this.__tokens[this.__position],this.__position+=1),x},a.prototype.peek=function(x){var p=null;return x=x||0,x+=this.__position,x>=0&&x<this.__tokens_length&&(p=this.__tokens[x]),p},a.prototype.add=function(x){this.__parent_token&&(x.parent=this.__parent_token),this.__tokens.push(x),this.__tokens_length+=1},u.exports.TokenStream=a},function(u,a,x){var p=x(12).Pattern;function y(_,b){p.call(this,_,b),b?this._line_regexp=this._input.get_regexp(b._line_regexp):this.__set_whitespace_patterns("",""),this.newline_count=0,this.whitespace_before_token=""}y.prototype=new p,y.prototype.__set_whitespace_patterns=function(_,b){_+="\\t ",b+="\\n\\r",this._match_pattern=this._input.get_regexp("["+_+b+"]+",!0),this._newline_regexp=this._input.get_regexp("\\r\\n|["+b+"]")},y.prototype.read=function(){this.newline_count=0,this.whitespace_before_token="";var _=this._input.read(this._match_pattern);if(_===" ")this.whitespace_before_token=" ";else if(_){var b=this.__split(this._newline_regexp,_);this.newline_count=b.length-1,this.whitespace_before_token=b[this.newline_count]}return _},y.prototype.matching=function(_,b){var A=this._create();return A.__set_whitespace_patterns(_,b),A._update(),A},y.prototype._create=function(){return new y(this._input,this)},y.prototype.__split=function(_,b){_.lastIndex=0;for(var A=0,k=[],R=_.exec(b);R;)k.push(b.substring(A,R.index)),A=R.index+R[0].length,R=_.exec(b);return A<b.length?k.push(b.substring(A,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,A){p.call(this,b,A),this.__template_pattern=null,this._disabled=Object.assign({},y),this._excluded=Object.assign({},y),A&&(this.__template_pattern=this._input.get_regexp(A.__template_pattern),this._excluded=Object.assign(this._excluded,A._excluded),this._disabled=Object.assign(this._disabled,A._disabled));var 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 A=this._create();return A._disabled[b]=!0,A._update(),A},_.prototype.read_options=function(b){var A=this._create();for(var k in y)A._disabled[k]=b.templating.indexOf(k)===-1;return A._update(),A},_.prototype.exclude=function(b){var A=this._create();return A._excluded[b]=!0,A._update(),A},_.prototype.read=function(){var b="";this._match_pattern?b=this._input.read(this._starting_pattern):b=this._input.read(this._starting_pattern,this.__template_pattern);for(var A=this._read_template();A;)this._match_pattern?A+=this._input.read(this._match_pattern):A+=this._input.readUntil(this.__template_pattern),b+=A,A=this._read_template();return this._until_after&&(b+=this._input.readUntilAfter(this._until_pattern)),b},_.prototype.__set_templated_pattern=function(){var b=[];this._disabled.php||b.push(this.__patterns.php._starting_pattern.source),this._disabled.handlebars||b.push(this.__patterns.handlebars._starting_pattern.source),this._disabled.angular||b.push(this.__patterns.handlebars._starting_pattern.source),this._disabled.erb||b.push(this.__patterns.erb._starting_pattern.source),this._disabled.django||(b.push(this.__patterns.django._starting_pattern.source),b.push(this.__patterns.django_value._starting_pattern.source),b.push(this.__patterns.django_comment._starting_pattern.source)),this._disabled.smarty||b.push(this.__patterns.smarty._starting_pattern.source),this._until_pattern&&b.push(this._until_pattern.source),this.__template_pattern=this._input.get_regexp("(?:"+b.join("|")+")")},_.prototype._read_template=function(){var b="",A=this._input.peek();if(A==="<"){var 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 A==="{"&&(!this._disabled.handlebars&&!this._excluded.handlebars&&(b=b||this.__patterns.handlebars_comment.read(),b=b||this.__patterns.handlebars_unescaped.read(),b=b||this.__patterns.handlebars.read()),this._disabled.django||(!this._excluded.django&&!this._excluded.handlebars&&(b=b||this.__patterns.django_value.read()),this._excluded.django||(b=b||this.__patterns.django_comment.read(),b=b||this.__patterns.django.read())),this._disabled.smarty||this._disabled.django&&this._disabled.handlebars&&(b=b||this.__patterns.smarty_comment.read(),b=b||this.__patterns.smarty_literal.read(),b=b||this.__patterns.smarty.read()));return b},u.exports.TemplatablePattern=_}],f={};function o(u){var a=f[u];if(a!==void 0)return a.exports;var x=f[u]={exports:{}};return c[u](x,x.exports,o),x.exports}var h=o(0);i=h})();var l=i;e=[],r=function(){return{js_beautify:l}}.apply(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,X,ne){this.lexer=void 0,this.start=void 0,this.end=void 0,this.lexer=Z,this.start=X,this.end=ne}return Ve.range=function(X,ne){return ne?!X||!X.loc||!ne.loc||X.loc.lexer!==ne.loc.lexer?null:new Ve(X.loc.lexer,X.loc.start,ne.loc.end):X&&X.loc},Ve}(),c=function(){function Ve(X,ne){this.text=void 0,this.loc=void 0,this.text=X,this.loc=ne}var Z=Ve.prototype;return Z.range=function(ne,he){return new Ve(he,l.range(this,ne))},Ve}(),f=function Ve(Z,X){this.position=void 0;var ne="KaTeX parse error: "+Z,he,Te=X&&X.loc;if(Te&&Te.start<=Te.end){var Ke=Te.lexer.input;he=Te.start;var Ct=Te.end;he===Ke.length?ne+=" at end of input: ":ne+=" at position "+(he+1)+": ";var jt=Ke.slice(he,Ct).replace(/[^]/g,"$&\u0332"),ir;he>15?ir="\u2026"+Ke.slice(he-15,he):ir=Ke.slice(0,he);var It;Ct+15<Ke.length?It=Ke.slice(Ct,Ct+15)+"\u2026":It=Ke.slice(Ct),ne+=ir+jt+It}var Ur=new Error(ne);return Ur.name="ParseError",Ur.__proto__=Ve.prototype,Ur.position=he,Ur};f.prototype.__proto__=Error.prototype;var o=f,h=function(Z,X){return Z.indexOf(X)!==-1},u=function(Z,X){return Z===void 0?X:Z},a=/([A-Z])/g,x=function(Z){return Z.replace(a,"-$1").toLowerCase()},p={"&":"&",">":">","<":"<",'"':""","'":"'"},y=/[&><"']/g;function _(Ve){return String(Ve).replace(y,function(Z){return p[Z]})}var b=function Ve(Z){return Z.type==="ordgroup"||Z.type==="color"?Z.body.length===1?Ve(Z.body[0]):Z:Z.type==="font"?Ve(Z.body):Z},A=function(Z){var X=b(Z);return X.type==="mathord"||X.type==="textord"||X.type==="atom"},k=function(Z){if(!Z)throw new Error("Expected non-null, but got "+String(Z));return Z},R=function(Z){var X=/^\s*([^\\/#]*?)(?::|�*58|�*3a)/i.exec(Z);return X!=null?X[1]:"_relative"},C={contains:h,deflt:u,escape:_,hyphenate:x,getBaseElem:b,isCharacterBox:A,protocolFromUrl:R},D=function(){function Ve(X){this.displayMode=void 0,this.output=void 0,this.leqno=void 0,this.fleqn=void 0,this.throwOnError=void 0,this.errorColor=void 0,this.macros=void 0,this.minRuleThickness=void 0,this.colorIsTextColor=void 0,this.strict=void 0,this.trust=void 0,this.maxSize=void 0,this.maxExpand=void 0,X=X||{},this.displayMode=C.deflt(X.displayMode,!1),this.output=C.deflt(X.output,"htmlAndMathml"),this.leqno=C.deflt(X.leqno,!1),this.fleqn=C.deflt(X.fleqn,!1),this.throwOnError=C.deflt(X.throwOnError,!0),this.errorColor=C.deflt(X.errorColor,"#cc0000"),this.macros=X.macros||{},this.minRuleThickness=Math.max(0,C.deflt(X.minRuleThickness,0)),this.colorIsTextColor=C.deflt(X.colorIsTextColor,!1),this.strict=C.deflt(X.strict,"warn"),this.trust=C.deflt(X.trust,!1),this.maxSize=Math.max(0,C.deflt(X.maxSize,1/0)),this.maxExpand=Math.max(0,C.deflt(X.maxExpand,1e3))}var Z=Ve.prototype;return Z.reportNonstrict=function(ne,he,Te){var Ke=this.strict;if(typeof Ke=="function"&&(Ke=Ke(ne,he,Te)),!(!Ke||Ke==="ignore")){if(Ke===!0||Ke==="error")throw new o("LaTeX-incompatible input and strict mode is set to 'error': "+(he+" ["+ne+"]"),Te);Ke==="warn"?typeof console!="undefined"&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+(he+" ["+ne+"]")):typeof console!="undefined"&&console.warn("LaTeX-incompatible input and strict mode is set to "+("unrecognized '"+Ke+"': "+he+" ["+ne+"]"))}},Z.useStrictBehavior=function(ne,he,Te){var Ke=this.strict;if(typeof Ke=="function")try{Ke=Ke(ne,he,Te)}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': "+(he+" ["+ne+"]")),!1):(typeof console!="undefined"&&console.warn("LaTeX-incompatible input and strict mode is set to "+("unrecognized '"+Ke+"': "+he+" ["+ne+"]")),!1)},Z.isTrusted=function(ne){ne.url&&!ne.protocol&&(ne.protocol=C.protocolFromUrl(ne.url));var he=typeof this.trust=="function"?this.trust(ne):this.trust;return!!he},Ve}(),M=function(){function Ve(X,ne,he){this.id=void 0,this.size=void 0,this.cramped=void 0,this.id=X,this.size=ne,this.cramped=he}var 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[ue[this.id]]},Z.fracDen=function(){return q[ee[this.id]]},Z.cramp=function(){return q[Q[this.id]]},Z.text=function(){return q[ce[this.id]]},Z.isTight=function(){return this.size>=2},Ve}(),B=0,N=1,K=2,G=3,W=4,se=5,ie=6,le=7,q=[new M(B,0,!1),new M(N,0,!0),new M(K,1,!1),new M(G,1,!0),new M(W,2,!1),new M(se,2,!0),new M(ie,3,!1),new M(le,3,!0)],J=[W,se,W,se,ie,le,ie,le],V=[se,se,se,se,le,le,le,le],ue=[K,G,W,se,ie,le,ie,le],ee=[G,G,se,se,le,le,le,le],Q=[N,N,G,G,se,se,le,le],ce=[B,N,K,G,K,G,K,G],z={DISPLAY:q[B],TEXT:q[K],SCRIPT:q[W],SCRIPTSCRIPT:q[ie]},$=[{name:"latin",blocks:[[256,591],[768,879]]},{name:"cyrillic",blocks:[[1024,1279]]},{name:"brahmic",blocks:[[2304,4255]]},{name:"georgian",blocks:[[4256,4351]]},{name:"cjk",blocks:[[12288,12543],[19968,40879],[65280,65376]]},{name:"hangul",blocks:[[44032,55215]]}];function ae(Ve){for(var Z=0;Z<$.length;Z++)for(var X=$[Z],ne=0;ne<X.blocks.length;ne++){var he=X.blocks[ne];if(Ve>=he[0]&&Ve<=he[1])return X.name}return null}var _e=[];$.forEach(function(Ve){return Ve.blocks.forEach(function(Z){return _e.push.apply(_e,Z)})});function De(Ve){for(var Z=0;Z<_e.length;Z+=2)if(Ve>=_e[Z]&&Ve<=_e[Z+1])return!0;return!1}var ke=80,He=function(Z,X){return"M95,"+(622+Z+X)+`
|
|
|
c-2.7,0,-7.17,-2.7,-13.5,-8c-5.8,-5.3,-9.5,-10,-9.5,-14
|
|
|
c0,-2,0.3,-3.3,1,-4c1.3,-2.7,23.83,-20.7,67.5,-54
|
|
|
c44.2,-33.3,65.8,-50.3,66.5,-51c1.3,-1.3,3,-2,5,-2c4.7,0,8.7,3.3,12,10
|
|
|
s173,378,173,378c0.7,0,35.3,-71,104,-213c68.7,-142,137.5,-285,206.5,-429
|
|
|
c69,-144,104.5,-217.7,106.5,-221
|
|
|
l`+Z/2.075+" -"+Z+`
|
|
|
c5.3,-9.3,12,-14,20,-14
|
|
|
H400000v`+(40+Z)+`H845.2724
|
|
|
s-225.272,467,-225.272,467s-235,486,-235,486c-2.7,4.7,-9,7,-19,7
|
|
|
c-6,0,-10,-1,-12,-3s-194,-422,-194,-422s-65,47,-65,47z
|
|
|
M`+(834+Z)+" "+X+"h400000v"+(40+Z)+"h-400000z"},$e=function(Z,X){return"M263,"+(601+Z+X)+`c0.7,0,18,39.7,52,119
|
|
|
c34,79.3,68.167,158.7,102.5,238c34.3,79.3,51.8,119.3,52.5,120
|
|
|
c340,-704.7,510.7,-1060.3,512,-1067
|
|
|
l`+Z/2.084+" -"+Z+`
|
|
|
c4.7,-7.3,11,-11,19,-11
|
|
|
H40000v`+(40+Z)+`H1012.3
|
|
|
s-271.3,567,-271.3,567c-38.7,80.7,-84,175,-136,283c-52,108,-89.167,185.3,-111.5,232
|
|
|
c-22.3,46.7,-33.8,70.3,-34.5,71c-4.7,4.7,-12.3,7,-23,7s-12,-1,-12,-1
|
|
|
s-109,-253,-109,-253c-72.7,-168,-109.3,-252,-110,-252c-10.7,8,-22,16.7,-34,26
|
|
|
c-22,17.3,-33.3,26,-34,26s-26,-26,-26,-26s76,-59,76,-59s76,-60,76,-60z
|
|
|
M`+(1001+Z)+" "+X+"h400000v"+(40+Z)+"h-400000z"},Bt=function(Z,X){return"M983 "+(10+Z+X)+`
|
|
|
l`+Z/3.13+" -"+Z+`
|
|
|
c4,-6.7,10,-10,18,-10 H400000v`+(40+Z)+`
|
|
|
H1013.1s-83.4,268,-264.1,840c-180.7,572,-277,876.3,-289,913c-4.7,4.7,-12.7,7,-24,7
|
|
|
s-12,0,-12,0c-1.3,-3.3,-3.7,-11.7,-7,-25c-35.3,-125.3,-106.7,-373.3,-214,-744
|
|
|
c-10,12,-21,25,-33,39s-32,39,-32,39c-6,-5.3,-15,-14,-27,-26s25,-30,25,-30
|
|
|
c26.7,-32.7,52,-63,76,-91s52,-60,52,-60s208,722,208,722
|
|
|
c56,-175.3,126.3,-397.3,211,-666c84.7,-268.7,153.8,-488.2,207.5,-658.5
|
|
|
c53.7,-170.3,84.5,-266.8,92.5,-289.5z
|
|
|
M`+(1001+Z)+" "+X+"h400000v"+(40+Z)+"h-400000z"},gt=function(Z,X){return"M424,"+(2398+Z+X)+`
|
|
|
c-1.3,-0.7,-38.5,-172,-111.5,-514c-73,-342,-109.8,-513.3,-110.5,-514
|
|
|
c0,-2,-10.7,14.3,-32,49c-4.7,7.3,-9.8,15.7,-15.5,25c-5.7,9.3,-9.8,16,-12.5,20
|
|
|
s-5,7,-5,7c-4,-3.3,-8.3,-7.7,-13,-13s-13,-13,-13,-13s76,-122,76,-122s77,-121,77,-121
|
|
|
s209,968,209,968c0,-2,84.7,-361.7,254,-1079c169.3,-717.3,254.7,-1077.7,256,-1081
|
|
|
l`+Z/4.223+" -"+Z+`c4,-6.7,10,-10,18,-10 H400000
|
|
|
v`+(40+Z)+`H1014.6
|
|
|
s-87.3,378.7,-272.6,1166c-185.3,787.3,-279.3,1182.3,-282,1185
|
|
|
c-2,6,-10,9,-24,9
|
|
|
c-8,0,-12,-0.7,-12,-2z M`+(1001+Z)+" "+X+`
|
|
|
h400000v`+(40+Z)+"h-400000z"},Dt=function(Z,X){return"M473,"+(2713+Z+X)+`
|
|
|
c339.3,-1799.3,509.3,-2700,510,-2702 l`+Z/5.298+" -"+Z+`
|
|
|
c3.3,-7.3,9.3,-11,18,-11 H400000v`+(40+Z)+`H1017.7
|
|
|
s-90.5,478,-276.2,1466c-185.7,988,-279.5,1483,-281.5,1485c-2,6,-10,9,-24,9
|
|
|
c-8,0,-12,-0.7,-12,-2c0,-1.3,-5.3,-32,-16,-92c-50.7,-293.3,-119.7,-693.3,-207,-1200
|
|
|
c0,-1.3,-5.3,8.7,-16,30c-10.7,21.3,-21.3,42.7,-32,64s-16,33,-16,33s-26,-26,-26,-26
|
|
|
s76,-153,76,-153s77,-151,77,-151c0.7,0.7,35.7,202,105,604c67.3,400.7,102,602.7,104,
|
|
|
606zM`+(1001+Z)+" "+X+"h400000v"+(40+Z)+"H1017.7z"},nr=function(Z,X,ne){var he=ne-54-X-Z;return"M702 "+(Z+X)+"H400000"+(40+Z)+`
|
|
|
H742v`+he+`l-4 4-4 4c-.667.7 -2 1.5-4 2.5s-4.167 1.833-6.5 2.5-5.5 1-9.5 1
|
|
|
h-12l-28-84c-16.667-52-96.667 -294.333-240-727l-212 -643 -85 170
|
|
|
c-4-3.333-8.333-7.667-13 -13l-13-13l77-155 77-156c66 199.333 139 419.667
|
|
|
219 661 l218 661zM702 `+X+"H400000v"+(40+Z)+"H742z"},Xt=function(Z,X,ne){X=1e3*X;var he="";switch(Z){case"sqrtMain":he=He(X,ke);break;case"sqrtSize1":he=$e(X,ke);break;case"sqrtSize2":he=Bt(X,ke);break;case"sqrtSize3":he=gt(X,ke);break;case"sqrtSize4":he=Dt(X,ke);break;case"sqrtTall":he=nr(X,ke,ne)}return he},cr={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(X){this.children=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,this.children=X,this.classes=[],this.height=0,this.depth=0,this.maxFontSize=0,this.style={}}var Z=Ve.prototype;return Z.hasClass=function(ne){return C.contains(this.classes,ne)},Z.toNode=function(){for(var ne=document.createDocumentFragment(),he=0;he<this.children.length;he++)ne.appendChild(this.children[he].toNode());return ne},Z.toMarkup=function(){for(var ne="",he=0;he<this.children.length;he++)ne+=this.children[he].toMarkup();return ne},Z.toText=function(){var ne=function(Te){return Te.toText()};return this.children.map(ne).join("")},Ve}(),Tt=function(Z){return Z.filter(function(X){return X}).join(" ")},Ut=function(Z,X,ne){if(this.classes=Z||[],this.attributes={},this.height=0,this.depth=0,this.maxFontSize=0,this.style=ne||{},X){X.style.isTight()&&this.classes.push("mtight");var he=X.getColor();he&&(this.style.color=he)}},at=function(Z){var X=document.createElement(Z);X.className=Tt(this.classes);for(var ne in this.style)this.style.hasOwnProperty(ne)&&(X.style[ne]=this.style[ne]);for(var he in this.attributes)this.attributes.hasOwnProperty(he)&&X.setAttribute(he,this.attributes[he]);for(var Te=0;Te<this.children.length;Te++)X.appendChild(this.children[Te].toNode());return X},bt=function(Z){var X="<"+Z;this.classes.length&&(X+=' class="'+C.escape(Tt(this.classes))+'"');var ne="";for(var he in this.style)this.style.hasOwnProperty(he)&&(ne+=C.hyphenate(he)+":"+this.style[he]+";");ne&&(X+=' style="'+C.escape(ne)+'"');for(var Te in this.attributes)this.attributes.hasOwnProperty(Te)&&(X+=" "+Te+'="'+C.escape(this.attributes[Te])+'"');X+=">";for(var Ke=0;Ke<this.children.length;Ke++)X+=this.children[Ke].toMarkup();return X+="</"+Z+">",X},dt=function(){function Ve(X,ne,he,Te){this.children=void 0,this.attributes=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.width=void 0,this.maxFontSize=void 0,this.style=void 0,Ut.call(this,X,he,Te),this.children=ne||[]}var Z=Ve.prototype;return Z.setAttribute=function(ne,he){this.attributes[ne]=he},Z.hasClass=function(ne){return C.contains(this.classes,ne)},Z.toNode=function(){return at.call(this,"span")},Z.toMarkup=function(){return bt.call(this,"span")},Ve}(),tt=function(){function Ve(X,ne,he,Te){this.children=void 0,this.attributes=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,Ut.call(this,ne,Te),this.children=he||[],this.setAttribute("href",X)}var Z=Ve.prototype;return Z.setAttribute=function(ne,he){this.attributes[ne]=he},Z.hasClass=function(ne){return C.contains(this.classes,ne)},Z.toNode=function(){return at.call(this,"a")},Z.toMarkup=function(){return bt.call(this,"a")},Ve}(),Ue=function(){function Ve(X,ne,he){this.src=void 0,this.alt=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,this.alt=ne,this.src=X,this.classes=["mord"],this.style=he}var Z=Ve.prototype;return Z.hasClass=function(ne){return C.contains(this.classes,ne)},Z.toNode=function(){var ne=document.createElement("img");ne.src=this.src,ne.alt=this.alt,ne.className="mord";for(var he in this.style)this.style.hasOwnProperty(he)&&(ne.style[he]=this.style[he]);return ne},Z.toMarkup=function(){var ne="<img src='"+this.src+" 'alt='"+this.alt+"' ",he="";for(var Te in this.style)this.style.hasOwnProperty(Te)&&(he+=C.hyphenate(Te)+":"+this.style[Te]+";");return he&&(ne+=' style="'+C.escape(he)+'"'),ne+="'/>",ne},Ve}(),ye={\u00EE:"\u0131\u0302",\u00EF:"\u0131\u0308",\u00ED:"\u0131\u0301",\u00EC:"\u0131\u0300"},Ce=function(){function Ve(X,ne,he,Te,Ke,Ct,jt,ir){this.text=void 0,this.height=void 0,this.depth=void 0,this.italic=void 0,this.skew=void 0,this.width=void 0,this.maxFontSize=void 0,this.classes=void 0,this.style=void 0,this.text=X,this.height=ne||0,this.depth=he||0,this.italic=Te||0,this.skew=Ke||0,this.width=Ct||0,this.classes=jt||[],this.style=ir||{},this.maxFontSize=0;var It=ae(this.text.charCodeAt(0));It&&this.classes.push(It+"_fallback"),/[îïíì]/.test(this.text)&&(this.text=ye[this.text])}var Z=Ve.prototype;return Z.hasClass=function(ne){return C.contains(this.classes,ne)},Z.toNode=function(){var ne=document.createTextNode(this.text),he=null;this.italic>0&&(he=document.createElement("span"),he.style.marginRight=this.italic+"em"),this.classes.length>0&&(he=he||document.createElement("span"),he.className=Tt(this.classes));for(var Te in this.style)this.style.hasOwnProperty(Te)&&(he=he||document.createElement("span"),he.style[Te]=this.style[Te]);return he?(he.appendChild(ne),he):ne},Z.toMarkup=function(){var ne=!1,he="<span";this.classes.length&&(ne=!0,he+=' class="',he+=C.escape(Tt(this.classes)),he+='"');var Te="";this.italic>0&&(Te+="margin-right:"+this.italic+"em;");for(var Ke in this.style)this.style.hasOwnProperty(Ke)&&(Te+=C.hyphenate(Ke)+":"+this.style[Ke]+";");Te&&(ne=!0,he+=' style="'+C.escape(Te)+'"');var Ct=C.escape(this.text);return ne?(he+=">",he+=Ct,he+="</span>",he):Ct},Ve}(),Me=function(){function Ve(X,ne){this.children=void 0,this.attributes=void 0,this.children=X||[],this.attributes=ne||{}}var Z=Ve.prototype;return Z.toNode=function(){var ne="http://www.w3.org/2000/svg",he=document.createElementNS(ne,"svg");for(var Te in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,Te)&&he.setAttribute(Te,this.attributes[Te]);for(var Ke=0;Ke<this.children.length;Ke++)he.appendChild(this.children[Ke].toNode());return he},Z.toMarkup=function(){var ne="<svg";for(var he in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,he)&&(ne+=" "+he+"='"+this.attributes[he]+"'");ne+=">";for(var Te=0;Te<this.children.length;Te++)ne+=this.children[Te].toMarkup();return ne+="</svg>",ne},Ve}(),je=function(){function Ve(X,ne){this.pathName=void 0,this.alternate=void 0,this.pathName=X,this.alternate=ne}var Z=Ve.prototype;return Z.toNode=function(){var ne="http://www.w3.org/2000/svg",he=document.createElementNS(ne,"path");return this.alternate?he.setAttribute("d",this.alternate):he.setAttribute("d",cr[this.pathName]),he},Z.toMarkup=function(){return this.alternate?"<path d='"+this.alternate+"'/>":"<path d='"+cr[this.pathName]+"'/>"},Ve}(),We=function(){function Ve(X){this.attributes=void 0,this.attributes=X||{}}var Z=Ve.prototype;return Z.toNode=function(){var ne="http://www.w3.org/2000/svg",he=document.createElementNS(ne,"line");for(var Te in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,Te)&&he.setAttribute(Te,this.attributes[Te]);return he},Z.toMarkup=function(){var ne="<line";for(var he in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,he)&&(ne+=" "+he+"='"+this.attributes[he]+"'");return ne+="/>",ne},Ve}();function nt(Ve){if(Ve instanceof Ce)return Ve;throw new Error("Expected symbolNode but got "+String(Ve)+".")}function lt(Ve){if(Ve instanceof dt)return Ve;throw new Error("Expected span<HtmlDomNode> but got "+String(Ve)+".")}var Vt={"AMS-Regular":{65:[0,.68889,0,0,.72222],66:[0,.68889,0,0,.66667],67:[0,.68889,0,0,.72222],68:[0,.68889,0,0,.72222],69:[0,.68889,0,0,.66667],70:[0,.68889,0,0,.61111],71:[0,.68889,0,0,.77778],72:[0,.68889,0,0,.77778],73:[0,.68889,0,0,.38889],74:[.16667,.68889,0,0,.5],75:[0,.68889,0,0,.77778],76:[0,.68889,0,0,.66667],77:[0,.68889,0,0,.94445],78:[0,.68889,0,0,.72222],79:[.16667,.68889,0,0,.77778],80:[0,.68889,0,0,.61111],81:[.16667,.68889,0,0,.77778],82:[0,.68889,0,0,.72222],83:[0,.68889,0,0,.55556],84:[0,.68889,0,0,.66667],85:[0,.68889,0,0,.72222],86:[0,.68889,0,0,.72222],87:[0,.68889,0,0,1],88:[0,.68889,0,0,.72222],89:[0,.68889,0,0,.72222],90:[0,.68889,0,0,.66667],107:[0,.68889,0,0,.55556],165:[0,.675,.025,0,.75],174:[.15559,.69224,0,0,.94666],240:[0,.68889,0,0,.55556],295:[0,.68889,0,0,.54028],710:[0,.825,0,0,2.33334],732:[0,.9,0,0,2.33334],770:[0,.825,0,0,2.33334],771:[0,.9,0,0,2.33334],989:[.08167,.58167,0,0,.77778],1008:[0,.43056,.04028,0,.66667],8245:[0,.54986,0,0,.275],8463:[0,.68889,0,0,.54028],8487:[0,.68889,0,0,.72222],8498:[0,.68889,0,0,.55556],8502:[0,.68889,0,0,.66667],8503:[0,.68889,0,0,.44445],8504:[0,.68889,0,0,.66667],8513:[0,.68889,0,0,.63889],8592:[-.03598,.46402,0,0,.5],8594:[-.03598,.46402,0,0,.5],8602:[-.13313,.36687,0,0,1],8603:[-.13313,.36687,0,0,1],8606:[.01354,.52239,0,0,1],8608:[.01354,.52239,0,0,1],8610:[.01354,.52239,0,0,1.11111],8611:[.01354,.52239,0,0,1.11111],8619:[0,.54986,0,0,1],8620:[0,.54986,0,0,1],8621:[-.13313,.37788,0,0,1.38889],8622:[-.13313,.36687,0,0,1],8624:[0,.69224,0,0,.5],8625:[0,.69224,0,0,.5],8630:[0,.43056,0,0,1],8631:[0,.43056,0,0,1],8634:[.08198,.58198,0,0,.77778],8635:[.08198,.58198,0,0,.77778],8638:[.19444,.69224,0,0,.41667],8639:[.19444,.69224,0,0,.41667],8642:[.19444,.69224,0,0,.41667],8643:[.19444,.69224,0,0,.41667],8644:[.1808,.675,0,0,1],8646:[.1808,.675,0,0,1],8647:[.1808,.675,0,0,1],8648:[.19444,.69224,0,0,.83334],8649:[.1808,.675,0,0,1],8650:[.19444,.69224,0,0,.83334],8651:[.01354,.52239,0,0,1],8652:[.01354,.52239,0,0,1],8653:[-.13313,.36687,0,0,1],8654:[-.13313,.36687,0,0,1],8655:[-.13313,.36687,0,0,1],8666:[.13667,.63667,0,0,1],8667:[.13667,.63667,0,0,1],8669:[-.13313,.37788,0,0,1],8672:[-.064,.437,0,0,1.334],8674:[-.064,.437,0,0,1.334],8705:[0,.825,0,0,.5],8708:[0,.68889,0,0,.55556],8709:[.08167,.58167,0,0,.77778],8717:[0,.43056,0,0,.42917],8722:[-.03598,.46402,0,0,.5],8724:[.08198,.69224,0,0,.77778],8726:[.08167,.58167,0,0,.77778],8733:[0,.69224,0,0,.77778],8736:[0,.69224,0,0,.72222],8737:[0,.69224,0,0,.72222],8738:[.03517,.52239,0,0,.72222],8739:[.08167,.58167,0,0,.22222],8740:[.25142,.74111,0,0,.27778],8741:[.08167,.58167,0,0,.38889],8742:[.25142,.74111,0,0,.5],8756:[0,.69224,0,0,.66667],8757:[0,.69224,0,0,.66667],8764:[-.13313,.36687,0,0,.77778],8765:[-.13313,.37788,0,0,.77778],8769:[-.13313,.36687,0,0,.77778],8770:[-.03625,.46375,0,0,.77778],8774:[.30274,.79383,0,0,.77778],8776:[-.01688,.48312,0,0,.77778],8778:[.08167,.58167,0,0,.77778],8782:[.06062,.54986,0,0,.77778],8783:[.06062,.54986,0,0,.77778],8785:[.08198,.58198,0,0,.77778],8786:[.08198,.58198,0,0,.77778],8787:[.08198,.58198,0,0,.77778],8790:[0,.69224,0,0,.77778],8791:[.22958,.72958,0,0,.77778],8796:[.08198,.91667,0,0,.77778],8806:[.25583,.75583,0,0,.77778],8807:[.25583,.75583,0,0,.77778],8808:[.25142,.75726,0,0,.77778],8809:[.25142,.75726,0,0,.77778],8812:[.25583,.75583,0,0,.5],8814:[.20576,.70576,0,0,.77778],8815:[.20576,.70576,0,0,.77778],8816:[.30274,.79383,0,0,.77778],8817:[.30274,.79383,0,0,.77778],8818:[.22958,.72958,0,0,.77778],8819:[.22958,.72958,0,0,.77778],8822:[.1808,.675,0,0,.77778],8823:[.1808,.675,0,0,.77778],8828:[.13667,.63667,0,0,.77778],8829:[.13667,.63667,0,0,.77778],8830:[.22958,.72958,0,0,.77778],8831:[.22958,.72958,0,0,.77778],8832:[.20576,.70576,0,0,.77778],8833:[.20576,.70576,0,0,.77778],8840:[.30274,.79383,0,0,.77778],8841:[.30274,.79383,0,0,.77778],8842:[.13597,.63597,0,0,.77778],8843:[.13597,.63597,0,0,.77778],8847:[.03517,.54986,0,0,.77778],8848:[.03517,.54986,0,0,.77778],8858:[.08198,.58198,0,0,.77778],8859:[.08198,.58198,0,0,.77778],8861:[.08198,.58198,0,0,.77778],8862:[0,.675,0,0,.77778],8863:[0,.675,0,0,.77778],8864:[0,.675,0,0,.77778],8865:[0,.675,0,0,.77778],8872:[0,.69224,0,0,.61111],8873:[0,.69224,0,0,.72222],8874:[0,.69224,0,0,.88889],8876:[0,.68889,0,0,.61111],8877:[0,.68889,0,0,.61111],8878:[0,.68889,0,0,.72222],8879:[0,.68889,0,0,.72222],8882:[.03517,.54986,0,0,.77778],8883:[.03517,.54986,0,0,.77778],8884:[.13667,.63667,0,0,.77778],8885:[.13667,.63667,0,0,.77778],8888:[0,.54986,0,0,1.11111],8890:[.19444,.43056,0,0,.55556],8891:[.19444,.69224,0,0,.61111],8892:[.19444,.69224,0,0,.61111],8901:[0,.54986,0,0,.27778],8903:[.08167,.58167,0,0,.77778],8905:[.08167,.58167,0,0,.77778],8906:[.08167,.58167,0,0,.77778],8907:[0,.69224,0,0,.77778],8908:[0,.69224,0,0,.77778],8909:[-.03598,.46402,0,0,.77778],8910:[0,.54986,0,0,.76042],8911:[0,.54986,0,0,.76042],8912:[.03517,.54986,0,0,.77778],8913:[.03517,.54986,0,0,.77778],8914:[0,.54986,0,0,.66667],8915:[0,.54986,0,0,.66667],8916:[0,.69224,0,0,.66667],8918:[.0391,.5391,0,0,.77778],8919:[.0391,.5391,0,0,.77778],8920:[.03517,.54986,0,0,1.33334],8921:[.03517,.54986,0,0,1.33334],8922:[.38569,.88569,0,0,.77778],8923:[.38569,.88569,0,0,.77778],8926:[.13667,.63667,0,0,.77778],8927:[.13667,.63667,0,0,.77778],8928:[.30274,.79383,0,0,.77778],8929:[.30274,.79383,0,0,.77778],8934:[.23222,.74111,0,0,.77778],8935:[.23222,.74111,0,0,.77778],8936:[.23222,.74111,0,0,.77778],8937:[.23222,.74111,0,0,.77778],8938:[.20576,.70576,0,0,.77778],8939:[.20576,.70576,0,0,.77778],8940:[.30274,.79383,0,0,.77778],8941:[.30274,.79383,0,0,.77778],8994:[.19444,.69224,0,0,.77778],8995:[.19444,.69224,0,0,.77778],9416:[.15559,.69224,0,0,.90222],9484:[0,.69224,0,0,.5],9488:[0,.69224,0,0,.5],9492:[0,.37788,0,0,.5],9496:[0,.37788,0,0,.5],9585:[.19444,.68889,0,0,.88889],9586:[.19444,.74111,0,0,.88889],9632:[0,.675,0,0,.77778],9633:[0,.675,0,0,.77778],9650:[0,.54986,0,0,.72222],9651:[0,.54986,0,0,.72222],9654:[.03517,.54986,0,0,.77778],9660:[0,.54986,0,0,.72222],9661:[0,.54986,0,0,.72222],9664:[.03517,.54986,0,0,.77778],9674:[.11111,.69224,0,0,.66667],9733:[.19444,.69224,0,0,.94445],10003:[0,.69224,0,0,.83334],10016:[0,.69224,0,0,.83334],10731:[.11111,.69224,0,0,.66667],10846:[.19444,.75583,0,0,.61111],10877:[.13667,.63667,0,0,.77778],10878:[.13667,.63667,0,0,.77778],10885:[.25583,.75583,0,0,.77778],10886:[.25583,.75583,0,0,.77778],10887:[.13597,.63597,0,0,.77778],10888:[.13597,.63597,0,0,.77778],10889:[.26167,.75726,0,0,.77778],10890:[.26167,.75726,0,0,.77778],10891:[.48256,.98256,0,0,.77778],10892:[.48256,.98256,0,0,.77778],10901:[.13667,.63667,0,0,.77778],10902:[.13667,.63667,0,0,.77778],10933:[.25142,.75726,0,0,.77778],10934:[.25142,.75726,0,0,.77778],10935:[.26167,.75726,0,0,.77778],10936:[.26167,.75726,0,0,.77778],10937:[.26167,.75726,0,0,.77778],10938:[.26167,.75726,0,0,.77778],10949:[.25583,.75583,0,0,.77778],10950:[.25583,.75583,0,0,.77778],10955:[.28481,.79383,0,0,.77778],10956:[.28481,.79383,0,0,.77778],57350:[.08167,.58167,0,0,.22222],57351:[.08167,.58167,0,0,.38889],57352:[.08167,.58167,0,0,.77778],57353:[0,.43056,.04028,0,.66667],57356:[.25142,.75726,0,0,.77778],57357:[.25142,.75726,0,0,.77778],57358:[.41951,.91951,0,0,.77778],57359:[.30274,.79383,0,0,.77778],57360:[.30274,.79383,0,0,.77778],57361:[.41951,.91951,0,0,.77778],57366:[.25142,.75726,0,0,.77778],57367:[.25142,.75726,0,0,.77778],57368:[.25142,.75726,0,0,.77778],57369:[.25142,.75726,0,0,.77778],57370:[.13597,.63597,0,0,.77778],57371:[.13597,.63597,0,0,.77778]},"Caligraphic-Regular":{48:[0,.43056,0,0,.5],49:[0,.43056,0,0,.5],50:[0,.43056,0,0,.5],51:[.19444,.43056,0,0,.5],52:[.19444,.43056,0,0,.5],53:[.19444,.43056,0,0,.5],54:[0,.64444,0,0,.5],55:[.19444,.43056,0,0,.5],56:[0,.64444,0,0,.5],57:[.19444,.43056,0,0,.5],65:[0,.68333,0,.19445,.79847],66:[0,.68333,.03041,.13889,.65681],67:[0,.68333,.05834,.13889,.52653],68:[0,.68333,.02778,.08334,.77139],69:[0,.68333,.08944,.11111,.52778],70:[0,.68333,.09931,.11111,.71875],71:[.09722,.68333,.0593,.11111,.59487],72:[0,.68333,.00965,.11111,.84452],73:[0,.68333,.07382,0,.54452],74:[.09722,.68333,.18472,.16667,.67778],75:[0,.68333,.01445,.05556,.76195],76:[0,.68333,0,.13889,.68972],77:[0,.68333,0,.13889,1.2009],78:[0,.68333,.14736,.08334,.82049],79:[0,.68333,.02778,.11111,.79611],80:[0,.68333,.08222,.08334,.69556],81:[.09722,.68333,0,.11111,.81667],82:[0,.68333,0,.08334,.8475],83:[0,.68333,.075,.13889,.60556],84:[0,.68333,.25417,0,.54464],85:[0,.68333,.09931,.08334,.62583],86:[0,.68333,.08222,0,.61278],87:[0,.68333,.08222,.08334,.98778],88:[0,.68333,.14643,.13889,.7133],89:[.09722,.68333,.08222,.08334,.66834],90:[0,.68333,.07944,.13889,.72473]},"Fraktur-Regular":{33:[0,.69141,0,0,.29574],34:[0,.69141,0,0,.21471],38:[0,.69141,0,0,.73786],39:[0,.69141,0,0,.21201],40:[.24982,.74947,0,0,.38865],41:[.24982,.74947,0,0,.38865],42:[0,.62119,0,0,.27764],43:[.08319,.58283,0,0,.75623],44:[0,.10803,0,0,.27764],45:[.08319,.58283,0,0,.75623],46:[0,.10803,0,0,.27764],47:[.24982,.74947,0,0,.50181],48:[0,.47534,0,0,.50181],49:[0,.47534,0,0,.50181],50:[0,.47534,0,0,.50181],51:[.18906,.47534,0,0,.50181],52:[.18906,.47534,0,0,.50181],53:[.18906,.47534,0,0,.50181],54:[0,.69141,0,0,.50181],55:[.18906,.47534,0,0,.50181],56:[0,.69141,0,0,.50181],57:[.18906,.47534,0,0,.50181],58:[0,.47534,0,0,.21606],59:[.12604,.47534,0,0,.21606],61:[-.13099,.36866,0,0,.75623],63:[0,.69141,0,0,.36245],65:[0,.69141,0,0,.7176],66:[0,.69141,0,0,.88397],67:[0,.69141,0,0,.61254],68:[0,.69141,0,0,.83158],69:[0,.69141,0,0,.66278],70:[.12604,.69141,0,0,.61119],71:[0,.69141,0,0,.78539],72:[.06302,.69141,0,0,.7203],73:[0,.69141,0,0,.55448],74:[.12604,.69141,0,0,.55231],75:[0,.69141,0,0,.66845],76:[0,.69141,0,0,.66602],77:[0,.69141,0,0,1.04953],78:[0,.69141,0,0,.83212],79:[0,.69141,0,0,.82699],80:[.18906,.69141,0,0,.82753],81:[.03781,.69141,0,0,.82699],82:[0,.69141,0,0,.82807],83:[0,.69141,0,0,.82861],84:[0,.69141,0,0,.66899],85:[0,.69141,0,0,.64576],86:[0,.69141,0,0,.83131],87:[0,.69141,0,0,1.04602],88:[0,.69141,0,0,.71922],89:[.18906,.69141,0,0,.83293],90:[.12604,.69141,0,0,.60201],91:[.24982,.74947,0,0,.27764],93:[.24982,.74947,0,0,.27764],94:[0,.69141,0,0,.49965],97:[0,.47534,0,0,.50046],98:[0,.69141,0,0,.51315],99:[0,.47534,0,0,.38946],100:[0,.62119,0,0,.49857],101:[0,.47534,0,0,.40053],102:[.18906,.69141,0,0,.32626],103:[.18906,.47534,0,0,.5037],104:[.18906,.69141,0,0,.52126],105:[0,.69141,0,0,.27899],106:[0,.69141,0,0,.28088],107:[0,.69141,0,0,.38946],108:[0,.69141,0,0,.27953],109:[0,.47534,0,0,.76676],110:[0,.47534,0,0,.52666],111:[0,.47534,0,0,.48885],112:[.18906,.52396,0,0,.50046],113:[.18906,.47534,0,0,.48912],114:[0,.47534,0,0,.38919],115:[0,.47534,0,0,.44266],116:[0,.62119,0,0,.33301],117:[0,.47534,0,0,.5172],118:[0,.52396,0,0,.5118],119:[0,.52396,0,0,.77351],120:[.18906,.47534,0,0,.38865],121:[.18906,.47534,0,0,.49884],122:[.18906,.47534,0,0,.39054],8216:[0,.69141,0,0,.21471],8217:[0,.69141,0,0,.21471],58112:[0,.62119,0,0,.49749],58113:[0,.62119,0,0,.4983],58114:[.18906,.69141,0,0,.33328],58115:[.18906,.69141,0,0,.32923],58116:[.18906,.47534,0,0,.50343],58117:[0,.69141,0,0,.33301],58118:[0,.62119,0,0,.33409],58119:[0,.47534,0,0,.50073]},"Main-Bold":{33:[0,.69444,0,0,.35],34:[0,.69444,0,0,.60278],35:[.19444,.69444,0,0,.95833],36:[.05556,.75,0,0,.575],37:[.05556,.75,0,0,.95833],38:[0,.69444,0,0,.89444],39:[0,.69444,0,0,.31944],40:[.25,.75,0,0,.44722],41:[.25,.75,0,0,.44722],42:[0,.75,0,0,.575],43:[.13333,.63333,0,0,.89444],44:[.19444,.15556,0,0,.31944],45:[0,.44444,0,0,.38333],46:[0,.15556,0,0,.31944],47:[.25,.75,0,0,.575],48:[0,.64444,0,0,.575],49:[0,.64444,0,0,.575],50:[0,.64444,0,0,.575],51:[0,.64444,0,0,.575],52:[0,.64444,0,0,.575],53:[0,.64444,0,0,.575],54:[0,.64444,0,0,.575],55:[0,.64444,0,0,.575],56:[0,.64444,0,0,.575],57:[0,.64444,0,0,.575],58:[0,.44444,0,0,.31944],59:[.19444,.44444,0,0,.31944],60:[.08556,.58556,0,0,.89444],61:[-.10889,.39111,0,0,.89444],62:[.08556,.58556,0,0,.89444],63:[0,.69444,0,0,.54305],64:[0,.69444,0,0,.89444],65:[0,.68611,0,0,.86944],66:[0,.68611,0,0,.81805],67:[0,.68611,0,0,.83055],68:[0,.68611,0,0,.88194],69:[0,.68611,0,0,.75555],70:[0,.68611,0,0,.72361],71:[0,.68611,0,0,.90416],72:[0,.68611,0,0,.9],73:[0,.68611,0,0,.43611],74:[0,.68611,0,0,.59444],75:[0,.68611,0,0,.90138],76:[0,.68611,0,0,.69166],77:[0,.68611,0,0,1.09166],78:[0,.68611,0,0,.9],79:[0,.68611,0,0,.86388],80:[0,.68611,0,0,.78611],81:[.19444,.68611,0,0,.86388],82:[0,.68611,0,0,.8625],83:[0,.68611,0,0,.63889],84:[0,.68611,0,0,.8],85:[0,.68611,0,0,.88472],86:[0,.68611,.01597,0,.86944],87:[0,.68611,.01597,0,1.18888],88:[0,.68611,0,0,.86944],89:[0,.68611,.02875,0,.86944],90:[0,.68611,0,0,.70277],91:[.25,.75,0,0,.31944],92:[.25,.75,0,0,.575],93:[.25,.75,0,0,.31944],94:[0,.69444,0,0,.575],95:[.31,.13444,.03194,0,.575],97:[0,.44444,0,0,.55902],98:[0,.69444,0,0,.63889],99:[0,.44444,0,0,.51111],100:[0,.69444,0,0,.63889],101:[0,.44444,0,0,.52708],102:[0,.69444,.10903,0,.35139],103:[.19444,.44444,.01597,0,.575],104:[0,.69444,0,0,.63889],105:[0,.69444,0,0,.31944],106:[.19444,.69444,0,0,.35139],107:[0,.69444,0,0,.60694],108:[0,.69444,0,0,.31944],109:[0,.44444,0,0,.95833],110:[0,.44444,0,0,.63889],111:[0,.44444,0,0,.575],112:[.19444,.44444,0,0,.63889],113:[.19444,.44444,0,0,.60694],114:[0,.44444,0,0,.47361],115:[0,.44444,0,0,.45361],116:[0,.63492,0,0,.44722],117:[0,.44444,0,0,.63889],118:[0,.44444,.01597,0,.60694],119:[0,.44444,.01597,0,.83055],120:[0,.44444,0,0,.60694],121:[.19444,.44444,.01597,0,.60694],122:[0,.44444,0,0,.51111],123:[.25,.75,0,0,.575],124:[.25,.75,0,0,.31944],125:[.25,.75,0,0,.575],126:[.35,.34444,0,0,.575],168:[0,.69444,0,0,.575],172:[0,.44444,0,0,.76666],176:[0,.69444,0,0,.86944],177:[.13333,.63333,0,0,.89444],184:[.17014,0,0,0,.51111],198:[0,.68611,0,0,1.04166],215:[.13333,.63333,0,0,.89444],216:[.04861,.73472,0,0,.89444],223:[0,.69444,0,0,.59722],230:[0,.44444,0,0,.83055],247:[.13333,.63333,0,0,.89444],248:[.09722,.54167,0,0,.575],305:[0,.44444,0,0,.31944],338:[0,.68611,0,0,1.16944],339:[0,.44444,0,0,.89444],567:[.19444,.44444,0,0,.35139],710:[0,.69444,0,0,.575],711:[0,.63194,0,0,.575],713:[0,.59611,0,0,.575],714:[0,.69444,0,0,.575],715:[0,.69444,0,0,.575],728:[0,.69444,0,0,.575],729:[0,.69444,0,0,.31944],730:[0,.69444,0,0,.86944],732:[0,.69444,0,0,.575],733:[0,.69444,0,0,.575],915:[0,.68611,0,0,.69166],916:[0,.68611,0,0,.95833],920:[0,.68611,0,0,.89444],923:[0,.68611,0,0,.80555],926:[0,.68611,0,0,.76666],928:[0,.68611,0,0,.9],931:[0,.68611,0,0,.83055],933:[0,.68611,0,0,.89444],934:[0,.68611,0,0,.83055],936:[0,.68611,0,0,.89444],937:[0,.68611,0,0,.83055],8211:[0,.44444,.03194,0,.575],8212:[0,.44444,.03194,0,1.14999],8216:[0,.69444,0,0,.31944],8217:[0,.69444,0,0,.31944],8220:[0,.69444,0,0,.60278],8221:[0,.69444,0,0,.60278],8224:[.19444,.69444,0,0,.51111],8225:[.19444,.69444,0,0,.51111],8242:[0,.55556,0,0,.34444],8407:[0,.72444,.15486,0,.575],8463:[0,.69444,0,0,.66759],8465:[0,.69444,0,0,.83055],8467:[0,.69444,0,0,.47361],8472:[.19444,.44444,0,0,.74027],8476:[0,.69444,0,0,.83055],8501:[0,.69444,0,0,.70277],8592:[-.10889,.39111,0,0,1.14999],8593:[.19444,.69444,0,0,.575],8594:[-.10889,.39111,0,0,1.14999],8595:[.19444,.69444,0,0,.575],8596:[-.10889,.39111,0,0,1.14999],8597:[.25,.75,0,0,.575],8598:[.19444,.69444,0,0,1.14999],8599:[.19444,.69444,0,0,1.14999],8600:[.19444,.69444,0,0,1.14999],8601:[.19444,.69444,0,0,1.14999],8636:[-.10889,.39111,0,0,1.14999],8637:[-.10889,.39111,0,0,1.14999],8640:[-.10889,.39111,0,0,1.14999],8641:[-.10889,.39111,0,0,1.14999],8656:[-.10889,.39111,0,0,1.14999],8657:[.19444,.69444,0,0,.70277],8658:[-.10889,.39111,0,0,1.14999],8659:[.19444,.69444,0,0,.70277],8660:[-.10889,.39111,0,0,1.14999],8661:[.25,.75,0,0,.70277],8704:[0,.69444,0,0,.63889],8706:[0,.69444,.06389,0,.62847],8707:[0,.69444,0,0,.63889],8709:[.05556,.75,0,0,.575],8711:[0,.68611,0,0,.95833],8712:[.08556,.58556,0,0,.76666],8715:[.08556,.58556,0,0,.76666],8722:[.13333,.63333,0,0,.89444],8723:[.13333,.63333,0,0,.89444],8725:[.25,.75,0,0,.575],8726:[.25,.75,0,0,.575],8727:[-.02778,.47222,0,0,.575],8728:[-.02639,.47361,0,0,.575],8729:[-.02639,.47361,0,0,.575],8730:[.18,.82,0,0,.95833],8733:[0,.44444,0,0,.89444],8734:[0,.44444,0,0,1.14999],8736:[0,.69224,0,0,.72222],8739:[.25,.75,0,0,.31944],8741:[.25,.75,0,0,.575],8743:[0,.55556,0,0,.76666],8744:[0,.55556,0,0,.76666],8745:[0,.55556,0,0,.76666],8746:[0,.55556,0,0,.76666],8747:[.19444,.69444,.12778,0,.56875],8764:[-.10889,.39111,0,0,.89444],8768:[.19444,.69444,0,0,.31944],8771:[.00222,.50222,0,0,.89444],8776:[.02444,.52444,0,0,.89444],8781:[.00222,.50222,0,0,.89444],8801:[.00222,.50222,0,0,.89444],8804:[.19667,.69667,0,0,.89444],8805:[.19667,.69667,0,0,.89444],8810:[.08556,.58556,0,0,1.14999],8811:[.08556,.58556,0,0,1.14999],8826:[.08556,.58556,0,0,.89444],8827:[.08556,.58556,0,0,.89444],8834:[.08556,.58556,0,0,.89444],8835:[.08556,.58556,0,0,.89444],8838:[.19667,.69667,0,0,.89444],8839:[.19667,.69667,0,0,.89444],8846:[0,.55556,0,0,.76666],8849:[.19667,.69667,0,0,.89444],8850:[.19667,.69667,0,0,.89444],8851:[0,.55556,0,0,.76666],8852:[0,.55556,0,0,.76666],8853:[.13333,.63333,0,0,.89444],8854:[.13333,.63333,0,0,.89444],8855:[.13333,.63333,0,0,.89444],8856:[.13333,.63333,0,0,.89444],8857:[.13333,.63333,0,0,.89444],8866:[0,.69444,0,0,.70277],8867:[0,.69444,0,0,.70277],8868:[0,.69444,0,0,.89444],8869:[0,.69444,0,0,.89444],8900:[-.02639,.47361,0,0,.575],8901:[-.02639,.47361,0,0,.31944],8902:[-.02778,.47222,0,0,.575],8968:[.25,.75,0,0,.51111],8969:[.25,.75,0,0,.51111],8970:[.25,.75,0,0,.51111],8971:[.25,.75,0,0,.51111],8994:[-.13889,.36111,0,0,1.14999],8995:[-.13889,.36111,0,0,1.14999],9651:[.19444,.69444,0,0,1.02222],9657:[-.02778,.47222,0,0,.575],9661:[.19444,.69444,0,0,1.02222],9667:[-.02778,.47222,0,0,.575],9711:[.19444,.69444,0,0,1.14999],9824:[.12963,.69444,0,0,.89444],9825:[.12963,.69444,0,0,.89444],9826:[.12963,.69444,0,0,.89444],9827:[.12963,.69444,0,0,.89444],9837:[0,.75,0,0,.44722],9838:[.19444,.69444,0,0,.44722],9839:[.19444,.69444,0,0,.44722],10216:[.25,.75,0,0,.44722],10217:[.25,.75,0,0,.44722],10815:[0,.68611,0,0,.9],10927:[.19667,.69667,0,0,.89444],10928:[.19667,.69667,0,0,.89444],57376:[.19444,.69444,0,0,0]},"Main-BoldItalic":{33:[0,.69444,.11417,0,.38611],34:[0,.69444,.07939,0,.62055],35:[.19444,.69444,.06833,0,.94444],37:[.05556,.75,.12861,0,.94444],38:[0,.69444,.08528,0,.88555],39:[0,.69444,.12945,0,.35555],40:[.25,.75,.15806,0,.47333],41:[.25,.75,.03306,0,.47333],42:[0,.75,.14333,0,.59111],43:[.10333,.60333,.03306,0,.88555],44:[.19444,.14722,0,0,.35555],45:[0,.44444,.02611,0,.41444],46:[0,.14722,0,0,.35555],47:[.25,.75,.15806,0,.59111],48:[0,.64444,.13167,0,.59111],49:[0,.64444,.13167,0,.59111],50:[0,.64444,.13167,0,.59111],51:[0,.64444,.13167,0,.59111],52:[.19444,.64444,.13167,0,.59111],53:[0,.64444,.13167,0,.59111],54:[0,.64444,.13167,0,.59111],55:[.19444,.64444,.13167,0,.59111],56:[0,.64444,.13167,0,.59111],57:[0,.64444,.13167,0,.59111],58:[0,.44444,.06695,0,.35555],59:[.19444,.44444,.06695,0,.35555],61:[-.10889,.39111,.06833,0,.88555],63:[0,.69444,.11472,0,.59111],64:[0,.69444,.09208,0,.88555],65:[0,.68611,0,0,.86555],66:[0,.68611,.0992,0,.81666],67:[0,.68611,.14208,0,.82666],68:[0,.68611,.09062,0,.87555],69:[0,.68611,.11431,0,.75666],70:[0,.68611,.12903,0,.72722],71:[0,.68611,.07347,0,.89527],72:[0,.68611,.17208,0,.8961],73:[0,.68611,.15681,0,.47166],74:[0,.68611,.145,0,.61055],75:[0,.68611,.14208,0,.89499],76:[0,.68611,0,0,.69777],77:[0,.68611,.17208,0,1.07277],78:[0,.68611,.17208,0,.8961],79:[0,.68611,.09062,0,.85499],80:[0,.68611,.0992,0,.78721],81:[.19444,.68611,.09062,0,.85499],82:[0,.68611,.02559,0,.85944],83:[0,.68611,.11264,0,.64999],84:[0,.68611,.12903,0,.7961],85:[0,.68611,.17208,0,.88083],86:[0,.68611,.18625,0,.86555],87:[0,.68611,.18625,0,1.15999],88:[0,.68611,.15681,0,.86555],89:[0,.68611,.19803,0,.86555],90:[0,.68611,.14208,0,.70888],91:[.25,.75,.1875,0,.35611],93:[.25,.75,.09972,0,.35611],94:[0,.69444,.06709,0,.59111],95:[.31,.13444,.09811,0,.59111],97:[0,.44444,.09426,0,.59111],98:[0,.69444,.07861,0,.53222],99:[0,.44444,.05222,0,.53222],100:[0,.69444,.10861,0,.59111],101:[0,.44444,.085,0,.53222],102:[.19444,.69444,.21778,0,.4],103:[.19444,.44444,.105,0,.53222],104:[0,.69444,.09426,0,.59111],105:[0,.69326,.11387,0,.35555],106:[.19444,.69326,.1672,0,.35555],107:[0,.69444,.11111,0,.53222],108:[0,.69444,.10861,0,.29666],109:[0,.44444,.09426,0,.94444],110:[0,.44444,.09426,0,.64999],111:[0,.44444,.07861,0,.59111],112:[.19444,.44444,.07861,0,.59111],113:[.19444,.44444,.105,0,.53222],114:[0,.44444,.11111,0,.50167],115:[0,.44444,.08167,0,.48694],116:[0,.63492,.09639,0,.385],117:[0,.44444,.09426,0,.62055],118:[0,.44444,.11111,0,.53222],119:[0,.44444,.11111,0,.76777],120:[0,.44444,.12583,0,.56055],121:[.19444,.44444,.105,0,.56166],122:[0,.44444,.13889,0,.49055],126:[.35,.34444,.11472,0,.59111],163:[0,.69444,0,0,.86853],168:[0,.69444,.11473,0,.59111],176:[0,.69444,0,0,.94888],184:[.17014,0,0,0,.53222],198:[0,.68611,.11431,0,1.02277],216:[.04861,.73472,.09062,0,.88555],223:[.19444,.69444,.09736,0,.665],230:[0,.44444,.085,0,.82666],248:[.09722,.54167,.09458,0,.59111],305:[0,.44444,.09426,0,.35555],338:[0,.68611,.11431,0,1.14054],339:[0,.44444,.085,0,.82666],567:[.19444,.44444,.04611,0,.385],710:[0,.69444,.06709,0,.59111],711:[0,.63194,.08271,0,.59111],713:[0,.59444,.10444,0,.59111],714:[0,.69444,.08528,0,.59111],715:[0,.69444,0,0,.59111],728:[0,.69444,.10333,0,.59111],729:[0,.69444,.12945,0,.35555],730:[0,.69444,0,0,.94888],732:[0,.69444,.11472,0,.59111],733:[0,.69444,.11472,0,.59111],915:[0,.68611,.12903,0,.69777],916:[0,.68611,0,0,.94444],920:[0,.68611,.09062,0,.88555],923:[0,.68611,0,0,.80666],926:[0,.68611,.15092,0,.76777],928:[0,.68611,.17208,0,.8961],931:[0,.68611,.11431,0,.82666],933:[0,.68611,.10778,0,.88555],934:[0,.68611,.05632,0,.82666],936:[0,.68611,.10778,0,.88555],937:[0,.68611,.0992,0,.82666],8211:[0,.44444,.09811,0,.59111],8212:[0,.44444,.09811,0,1.18221],8216:[0,.69444,.12945,0,.35555],8217:[0,.69444,.12945,0,.35555],8220:[0,.69444,.16772,0,.62055],8221:[0,.69444,.07939,0,.62055]},"Main-Italic":{33:[0,.69444,.12417,0,.30667],34:[0,.69444,.06961,0,.51444],35:[.19444,.69444,.06616,0,.81777],37:[.05556,.75,.13639,0,.81777],38:[0,.69444,.09694,0,.76666],39:[0,.69444,.12417,0,.30667],40:[.25,.75,.16194,0,.40889],41:[.25,.75,.03694,0,.40889],42:[0,.75,.14917,0,.51111],43:[.05667,.56167,.03694,0,.76666],44:[.19444,.10556,0,0,.30667],45:[0,.43056,.02826,0,.35778],46:[0,.10556,0,0,.30667],47:[.25,.75,.16194,0,.51111],48:[0,.64444,.13556,0,.51111],49:[0,.64444,.13556,0,.51111],50:[0,.64444,.13556,0,.51111],51:[0,.64444,.13556,0,.51111],52:[.19444,.64444,.13556,0,.51111],53:[0,.64444,.13556,0,.51111],54:[0,.64444,.13556,0,.51111],55:[.19444,.64444,.13556,0,.51111],56:[0,.64444,.13556,0,.51111],57:[0,.64444,.13556,0,.51111],58:[0,.43056,.0582,0,.30667],59:[.19444,.43056,.0582,0,.30667],61:[-.13313,.36687,.06616,0,.76666],63:[0,.69444,.1225,0,.51111],64:[0,.69444,.09597,0,.76666],65:[0,.68333,0,0,.74333],66:[0,.68333,.10257,0,.70389],67:[0,.68333,.14528,0,.71555],68:[0,.68333,.09403,0,.755],69:[0,.68333,.12028,0,.67833],70:[0,.68333,.13305,0,.65277],71:[0,.68333,.08722,0,.77361],72:[0,.68333,.16389,0,.74333],73:[0,.68333,.15806,0,.38555],74:[0,.68333,.14028,0,.525],75:[0,.68333,.14528,0,.76888],76:[0,.68333,0,0,.62722],77:[0,.68333,.16389,0,.89666],78:[0,.68333,.16389,0,.74333],79:[0,.68333,.09403,0,.76666],80:[0,.68333,.10257,0,.67833],81:[.19444,.68333,.09403,0,.76666],82:[0,.68333,.03868,0,.72944],83:[0,.68333,.11972,0,.56222],84:[0,.68333,.13305,0,.71555],85:[0,.68333,.16389,0,.74333],86:[0,.68333,.18361,0,.74333],87:[0,.68333,.18361,0,.99888],88:[0,.68333,.15806,0,.74333],89:[0,.68333,.19383,0,.74333],90:[0,.68333,.14528,0,.61333],91:[.25,.75,.1875,0,.30667],93:[.25,.75,.10528,0,.30667],94:[0,.69444,.06646,0,.51111],95:[.31,.12056,.09208,0,.51111],97:[0,.43056,.07671,0,.51111],98:[0,.69444,.06312,0,.46],99:[0,.43056,.05653,0,.46],100:[0,.69444,.10333,0,.51111],101:[0,.43056,.07514,0,.46],102:[.19444,.69444,.21194,0,.30667],103:[.19444,.43056,.08847,0,.46],104:[0,.69444,.07671,0,.51111],105:[0,.65536,.1019,0,.30667],106:[.19444,.65536,.14467,0,.30667],107:[0,.69444,.10764,0,.46],108:[0,.69444,.10333,0,.25555],109:[0,.43056,.07671,0,.81777],110:[0,.43056,.07671,0,.56222],111:[0,.43056,.06312,0,.51111],112:[.19444,.43056,.06312,0,.51111],113:[.19444,.43056,.08847,0,.46],114:[0,.43056,.10764,0,.42166],115:[0,.43056,.08208,0,.40889],116:[0,.61508,.09486,0,.33222],117:[0,.43056,.07671,0,.53666],118:[0,.43056,.10764,0,.46],119:[0,.43056,.10764,0,.66444],120:[0,.43056,.12042,0,.46389],121:[.19444,.43056,.08847,0,.48555],122:[0,.43056,.12292,0,.40889],126:[.35,.31786,.11585,0,.51111],163:[0,.69444,0,0,.76909],168:[0,.66786,.10474,0,.51111],176:[0,.69444,0,0,.83129],184:[.17014,0,0,0,.46],198:[0,.68333,.12028,0,.88277],216:[.04861,.73194,.09403,0,.76666],223:[.19444,.69444,.10514,0,.53666],230:[0,.43056,.07514,0,.71555],248:[.09722,.52778,.09194,0,.51111],305:[0,.43056,0,.02778,.32246],338:[0,.68333,.12028,0,.98499],339:[0,.43056,.07514,0,.71555],567:[.19444,.43056,0,.08334,.38403],710:[0,.69444,.06646,0,.51111],711:[0,.62847,.08295,0,.51111],713:[0,.56167,.10333,0,.51111],714:[0,.69444,.09694,0,.51111],715:[0,.69444,0,0,.51111],728:[0,.69444,.10806,0,.51111],729:[0,.66786,.11752,0,.30667],730:[0,.69444,0,0,.83129],732:[0,.66786,.11585,0,.51111],733:[0,.69444,.1225,0,.51111],915:[0,.68333,.13305,0,.62722],916:[0,.68333,0,0,.81777],920:[0,.68333,.09403,0,.76666],923:[0,.68333,0,0,.69222],926:[0,.68333,.15294,0,.66444],928:[0,.68333,.16389,0,.74333],931:[0,.68333,.12028,0,.71555],933:[0,.68333,.11111,0,.76666],934:[0,.68333,.05986,0,.71555],936:[0,.68333,.11111,0,.76666],937:[0,.68333,.10257,0,.71555],8211:[0,.43056,.09208,0,.51111],8212:[0,.43056,.09208,0,1.02222],8216:[0,.69444,.12417,0,.30667],8217:[0,.69444,.12417,0,.30667],8220:[0,.69444,.1685,0,.51444],8221:[0,.69444,.06961,0,.51444],8463:[0,.68889,0,0,.54028]},"Main-Regular":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.27778],34:[0,.69444,0,0,.5],35:[.19444,.69444,0,0,.83334],36:[.05556,.75,0,0,.5],37:[.05556,.75,0,0,.83334],38:[0,.69444,0,0,.77778],39:[0,.69444,0,0,.27778],40:[.25,.75,0,0,.38889],41:[.25,.75,0,0,.38889],42:[0,.75,0,0,.5],43:[.08333,.58333,0,0,.77778],44:[.19444,.10556,0,0,.27778],45:[0,.43056,0,0,.33333],46:[0,.10556,0,0,.27778],47:[.25,.75,0,0,.5],48:[0,.64444,0,0,.5],49:[0,.64444,0,0,.5],50:[0,.64444,0,0,.5],51:[0,.64444,0,0,.5],52:[0,.64444,0,0,.5],53:[0,.64444,0,0,.5],54:[0,.64444,0,0,.5],55:[0,.64444,0,0,.5],56:[0,.64444,0,0,.5],57:[0,.64444,0,0,.5],58:[0,.43056,0,0,.27778],59:[.19444,.43056,0,0,.27778],60:[.0391,.5391,0,0,.77778],61:[-.13313,.36687,0,0,.77778],62:[.0391,.5391,0,0,.77778],63:[0,.69444,0,0,.47222],64:[0,.69444,0,0,.77778],65:[0,.68333,0,0,.75],66:[0,.68333,0,0,.70834],67:[0,.68333,0,0,.72222],68:[0,.68333,0,0,.76389],69:[0,.68333,0,0,.68056],70:[0,.68333,0,0,.65278],71:[0,.68333,0,0,.78472],72:[0,.68333,0,0,.75],73:[0,.68333,0,0,.36111],74:[0,.68333,0,0,.51389],75:[0,.68333,0,0,.77778],76:[0,.68333,0,0,.625],77:[0,.68333,0,0,.91667],78:[0,.68333,0,0,.75],79:[0,.68333,0,0,.77778],80:[0,.68333,0,0,.68056],81:[.19444,.68333,0,0,.77778],82:[0,.68333,0,0,.73611],83:[0,.68333,0,0,.55556],84:[0,.68333,0,0,.72222],85:[0,.68333,0,0,.75],86:[0,.68333,.01389,0,.75],87:[0,.68333,.01389,0,1.02778],88:[0,.68333,0,0,.75],89:[0,.68333,.025,0,.75],90:[0,.68333,0,0,.61111],91:[.25,.75,0,0,.27778],92:[.25,.75,0,0,.5],93:[.25,.75,0,0,.27778],94:[0,.69444,0,0,.5],95:[.31,.12056,.02778,0,.5],97:[0,.43056,0,0,.5],98:[0,.69444,0,0,.55556],99:[0,.43056,0,0,.44445],100:[0,.69444,0,0,.55556],101:[0,.43056,0,0,.44445],102:[0,.69444,.07778,0,.30556],103:[.19444,.43056,.01389,0,.5],104:[0,.69444,0,0,.55556],105:[0,.66786,0,0,.27778],106:[.19444,.66786,0,0,.30556],107:[0,.69444,0,0,.52778],108:[0,.69444,0,0,.27778],109:[0,.43056,0,0,.83334],110:[0,.43056,0,0,.55556],111:[0,.43056,0,0,.5],112:[.19444,.43056,0,0,.55556],113:[.19444,.43056,0,0,.52778],114:[0,.43056,0,0,.39167],115:[0,.43056,0,0,.39445],116:[0,.61508,0,0,.38889],117:[0,.43056,0,0,.55556],118:[0,.43056,.01389,0,.52778],119:[0,.43056,.01389,0,.72222],120:[0,.43056,0,0,.52778],121:[.19444,.43056,.01389,0,.52778],122:[0,.43056,0,0,.44445],123:[.25,.75,0,0,.5],124:[.25,.75,0,0,.27778],125:[.25,.75,0,0,.5],126:[.35,.31786,0,0,.5],160:[0,0,0,0,.25],167:[.19444,.69444,0,0,.44445],168:[0,.66786,0,0,.5],172:[0,.43056,0,0,.66667],176:[0,.69444,0,0,.75],177:[.08333,.58333,0,0,.77778],182:[.19444,.69444,0,0,.61111],184:[.17014,0,0,0,.44445],198:[0,.68333,0,0,.90278],215:[.08333,.58333,0,0,.77778],216:[.04861,.73194,0,0,.77778],223:[0,.69444,0,0,.5],230:[0,.43056,0,0,.72222],247:[.08333,.58333,0,0,.77778],248:[.09722,.52778,0,0,.5],305:[0,.43056,0,0,.27778],338:[0,.68333,0,0,1.01389],339:[0,.43056,0,0,.77778],567:[.19444,.43056,0,0,.30556],710:[0,.69444,0,0,.5],711:[0,.62847,0,0,.5],713:[0,.56778,0,0,.5],714:[0,.69444,0,0,.5],715:[0,.69444,0,0,.5],728:[0,.69444,0,0,.5],729:[0,.66786,0,0,.27778],730:[0,.69444,0,0,.75],732:[0,.66786,0,0,.5],733:[0,.69444,0,0,.5],915:[0,.68333,0,0,.625],916:[0,.68333,0,0,.83334],920:[0,.68333,0,0,.77778],923:[0,.68333,0,0,.69445],926:[0,.68333,0,0,.66667],928:[0,.68333,0,0,.75],931:[0,.68333,0,0,.72222],933:[0,.68333,0,0,.77778],934:[0,.68333,0,0,.72222],936:[0,.68333,0,0,.77778],937:[0,.68333,0,0,.72222],8211:[0,.43056,.02778,0,.5],8212:[0,.43056,.02778,0,1],8216:[0,.69444,0,0,.27778],8217:[0,.69444,0,0,.27778],8220:[0,.69444,0,0,.5],8221:[0,.69444,0,0,.5],8224:[.19444,.69444,0,0,.44445],8225:[.19444,.69444,0,0,.44445],8230:[0,.12,0,0,1.172],8242:[0,.55556,0,0,.275],8407:[0,.71444,.15382,0,.5],8463:[0,.68889,0,0,.54028],8465:[0,.69444,0,0,.72222],8467:[0,.69444,0,.11111,.41667],8472:[.19444,.43056,0,.11111,.63646],8476:[0,.69444,0,0,.72222],8501:[0,.69444,0,0,.61111],8592:[-.13313,.36687,0,0,1],8593:[.19444,.69444,0,0,.5],8594:[-.13313,.36687,0,0,1],8595:[.19444,.69444,0,0,.5],8596:[-.13313,.36687,0,0,1],8597:[.25,.75,0,0,.5],8598:[.19444,.69444,0,0,1],8599:[.19444,.69444,0,0,1],8600:[.19444,.69444,0,0,1],8601:[.19444,.69444,0,0,1],8614:[.011,.511,0,0,1],8617:[.011,.511,0,0,1.126],8618:[.011,.511,0,0,1.126],8636:[-.13313,.36687,0,0,1],8637:[-.13313,.36687,0,0,1],8640:[-.13313,.36687,0,0,1],8641:[-.13313,.36687,0,0,1],8652:[.011,.671,0,0,1],8656:[-.13313,.36687,0,0,1],8657:[.19444,.69444,0,0,.61111],8658:[-.13313,.36687,0,0,1],8659:[.19444,.69444,0,0,.61111],8660:[-.13313,.36687,0,0,1],8661:[.25,.75,0,0,.61111],8704:[0,.69444,0,0,.55556],8706:[0,.69444,.05556,.08334,.5309],8707:[0,.69444,0,0,.55556],8709:[.05556,.75,0,0,.5],8711:[0,.68333,0,0,.83334],8712:[.0391,.5391,0,0,.66667],8715:[.0391,.5391,0,0,.66667],8722:[.08333,.58333,0,0,.77778],8723:[.08333,.58333,0,0,.77778],8725:[.25,.75,0,0,.5],8726:[.25,.75,0,0,.5],8727:[-.03472,.46528,0,0,.5],8728:[-.05555,.44445,0,0,.5],8729:[-.05555,.44445,0,0,.5],8730:[.2,.8,0,0,.83334],8733:[0,.43056,0,0,.77778],8734:[0,.43056,0,0,1],8736:[0,.69224,0,0,.72222],8739:[.25,.75,0,0,.27778],8741:[.25,.75,0,0,.5],8743:[0,.55556,0,0,.66667],8744:[0,.55556,0,0,.66667],8745:[0,.55556,0,0,.66667],8746:[0,.55556,0,0,.66667],8747:[.19444,.69444,.11111,0,.41667],8764:[-.13313,.36687,0,0,.77778],8768:[.19444,.69444,0,0,.27778],8771:[-.03625,.46375,0,0,.77778],8773:[-.022,.589,0,0,1],8776:[-.01688,.48312,0,0,.77778],8781:[-.03625,.46375,0,0,.77778],8784:[-.133,.67,0,0,.778],8801:[-.03625,.46375,0,0,.77778],8804:[.13597,.63597,0,0,.77778],8805:[.13597,.63597,0,0,.77778],8810:[.0391,.5391,0,0,1],8811:[.0391,.5391,0,0,1],8826:[.0391,.5391,0,0,.77778],8827:[.0391,.5391,0,0,.77778],8834:[.0391,.5391,0,0,.77778],8835:[.0391,.5391,0,0,.77778],8838:[.13597,.63597,0,0,.77778],8839:[.13597,.63597,0,0,.77778],8846:[0,.55556,0,0,.66667],8849:[.13597,.63597,0,0,.77778],8850:[.13597,.63597,0,0,.77778],8851:[0,.55556,0,0,.66667],8852:[0,.55556,0,0,.66667],8853:[.08333,.58333,0,0,.77778],8854:[.08333,.58333,0,0,.77778],8855:[.08333,.58333,0,0,.77778],8856:[.08333,.58333,0,0,.77778],8857:[.08333,.58333,0,0,.77778],8866:[0,.69444,0,0,.61111],8867:[0,.69444,0,0,.61111],8868:[0,.69444,0,0,.77778],8869:[0,.69444,0,0,.77778],8872:[.249,.75,0,0,.867],8900:[-.05555,.44445,0,0,.5],8901:[-.05555,.44445,0,0,.27778],8902:[-.03472,.46528,0,0,.5],8904:[.005,.505,0,0,.9],8942:[.03,.9,0,0,.278],8943:[-.19,.31,0,0,1.172],8945:[-.1,.82,0,0,1.282],8968:[.25,.75,0,0,.44445],8969:[.25,.75,0,0,.44445],8970:[.25,.75,0,0,.44445],8971:[.25,.75,0,0,.44445],8994:[-.14236,.35764,0,0,1],8995:[-.14236,.35764,0,0,1],9136:[.244,.744,0,0,.412],9137:[.244,.744,0,0,.412],9651:[.19444,.69444,0,0,.88889],9657:[-.03472,.46528,0,0,.5],9661:[.19444,.69444,0,0,.88889],9667:[-.03472,.46528,0,0,.5],9711:[.19444,.69444,0,0,1],9824:[.12963,.69444,0,0,.77778],9825:[.12963,.69444,0,0,.77778],9826:[.12963,.69444,0,0,.77778],9827:[.12963,.69444,0,0,.77778],9837:[0,.75,0,0,.38889],9838:[.19444,.69444,0,0,.38889],9839:[.19444,.69444,0,0,.38889],10216:[.25,.75,0,0,.38889],10217:[.25,.75,0,0,.38889],10222:[.244,.744,0,0,.412],10223:[.244,.744,0,0,.412],10229:[.011,.511,0,0,1.609],10230:[.011,.511,0,0,1.638],10231:[.011,.511,0,0,1.859],10232:[.024,.525,0,0,1.609],10233:[.024,.525,0,0,1.638],10234:[.024,.525,0,0,1.858],10236:[.011,.511,0,0,1.638],10815:[0,.68333,0,0,.75],10927:[.13597,.63597,0,0,.77778],10928:[.13597,.63597,0,0,.77778],57376:[.19444,.69444,0,0,0]},"Math-BoldItalic":{65:[0,.68611,0,0,.86944],66:[0,.68611,.04835,0,.8664],67:[0,.68611,.06979,0,.81694],68:[0,.68611,.03194,0,.93812],69:[0,.68611,.05451,0,.81007],70:[0,.68611,.15972,0,.68889],71:[0,.68611,0,0,.88673],72:[0,.68611,.08229,0,.98229],73:[0,.68611,.07778,0,.51111],74:[0,.68611,.10069,0,.63125],75:[0,.68611,.06979,0,.97118],76:[0,.68611,0,0,.75555],77:[0,.68611,.11424,0,1.14201],78:[0,.68611,.11424,0,.95034],79:[0,.68611,.03194,0,.83666],80:[0,.68611,.15972,0,.72309],81:[.19444,.68611,0,0,.86861],82:[0,.68611,.00421,0,.87235],83:[0,.68611,.05382,0,.69271],84:[0,.68611,.15972,0,.63663],85:[0,.68611,.11424,0,.80027],86:[0,.68611,.25555,0,.67778],87:[0,.68611,.15972,0,1.09305],88:[0,.68611,.07778,0,.94722],89:[0,.68611,.25555,0,.67458],90:[0,.68611,.06979,0,.77257],97:[0,.44444,0,0,.63287],98:[0,.69444,0,0,.52083],99:[0,.44444,0,0,.51342],100:[0,.69444,0,0,.60972],101:[0,.44444,0,0,.55361],102:[.19444,.69444,.11042,0,.56806],103:[.19444,.44444,.03704,0,.5449],104:[0,.69444,0,0,.66759],105:[0,.69326,0,0,.4048],106:[.19444,.69326,.0622,0,.47083],107:[0,.69444,.01852,0,.6037],108:[0,.69444,.0088,0,.34815],109:[0,.44444,0,0,1.0324],110:[0,.44444,0,0,.71296],111:[0,.44444,0,0,.58472],112:[.19444,.44444,0,0,.60092],113:[.19444,.44444,.03704,0,.54213],114:[0,.44444,.03194,0,.5287],115:[0,.44444,0,0,.53125],116:[0,.63492,0,0,.41528],117:[0,.44444,0,0,.68102],118:[0,.44444,.03704,0,.56666],119:[0,.44444,.02778,0,.83148],120:[0,.44444,0,0,.65903],121:[.19444,.44444,.03704,0,.59028],122:[0,.44444,.04213,0,.55509],915:[0,.68611,.15972,0,.65694],916:[0,.68611,0,0,.95833],920:[0,.68611,.03194,0,.86722],923:[0,.68611,0,0,.80555],926:[0,.68611,.07458,0,.84125],928:[0,.68611,.08229,0,.98229],931:[0,.68611,.05451,0,.88507],933:[0,.68611,.15972,0,.67083],934:[0,.68611,0,0,.76666],936:[0,.68611,.11653,0,.71402],937:[0,.68611,.04835,0,.8789],945:[0,.44444,0,0,.76064],946:[.19444,.69444,.03403,0,.65972],947:[.19444,.44444,.06389,0,.59003],948:[0,.69444,.03819,0,.52222],949:[0,.44444,0,0,.52882],950:[.19444,.69444,.06215,0,.50833],951:[.19444,.44444,.03704,0,.6],952:[0,.69444,.03194,0,.5618],953:[0,.44444,0,0,.41204],954:[0,.44444,0,0,.66759],955:[0,.69444,0,0,.67083],956:[.19444,.44444,0,0,.70787],957:[0,.44444,.06898,0,.57685],958:[.19444,.69444,.03021,0,.50833],959:[0,.44444,0,0,.58472],960:[0,.44444,.03704,0,.68241],961:[.19444,.44444,0,0,.6118],962:[.09722,.44444,.07917,0,.42361],963:[0,.44444,.03704,0,.68588],964:[0,.44444,.13472,0,.52083],965:[0,.44444,.03704,0,.63055],966:[.19444,.44444,0,0,.74722],967:[.19444,.44444,0,0,.71805],968:[.19444,.69444,.03704,0,.75833],969:[0,.44444,.03704,0,.71782],977:[0,.69444,0,0,.69155],981:[.19444,.69444,0,0,.7125],982:[0,.44444,.03194,0,.975],1009:[.19444,.44444,0,0,.6118],1013:[0,.44444,0,0,.48333]},"Math-Italic":{65:[0,.68333,0,.13889,.75],66:[0,.68333,.05017,.08334,.75851],67:[0,.68333,.07153,.08334,.71472],68:[0,.68333,.02778,.05556,.82792],69:[0,.68333,.05764,.08334,.7382],70:[0,.68333,.13889,.08334,.64306],71:[0,.68333,0,.08334,.78625],72:[0,.68333,.08125,.05556,.83125],73:[0,.68333,.07847,.11111,.43958],74:[0,.68333,.09618,.16667,.55451],75:[0,.68333,.07153,.05556,.84931],76:[0,.68333,0,.02778,.68056],77:[0,.68333,.10903,.08334,.97014],78:[0,.68333,.10903,.08334,.80347],79:[0,.68333,.02778,.08334,.76278],80:[0,.68333,.13889,.08334,.64201],81:[.19444,.68333,0,.08334,.79056],82:[0,.68333,.00773,.08334,.75929],83:[0,.68333,.05764,.08334,.6132],84:[0,.68333,.13889,.08334,.58438],85:[0,.68333,.10903,.02778,.68278],86:[0,.68333,.22222,0,.58333],87:[0,.68333,.13889,0,.94445],88:[0,.68333,.07847,.08334,.82847],89:[0,.68333,.22222,0,.58056],90:[0,.68333,.07153,.08334,.68264],97:[0,.43056,0,0,.52859],98:[0,.69444,0,0,.42917],99:[0,.43056,0,.05556,.43276],100:[0,.69444,0,.16667,.52049],101:[0,.43056,0,.05556,.46563],102:[.19444,.69444,.10764,.16667,.48959],103:[.19444,.43056,.03588,.02778,.47697],104:[0,.69444,0,0,.57616],105:[0,.65952,0,0,.34451],106:[.19444,.65952,.05724,0,.41181],107:[0,.69444,.03148,0,.5206],108:[0,.69444,.01968,.08334,.29838],109:[0,.43056,0,0,.87801],110:[0,.43056,0,0,.60023],111:[0,.43056,0,.05556,.48472],112:[.19444,.43056,0,.08334,.50313],113:[.19444,.43056,.03588,.08334,.44641],114:[0,.43056,.02778,.05556,.45116],115:[0,.43056,0,.05556,.46875],116:[0,.61508,0,.08334,.36111],117:[0,.43056,0,.02778,.57246],118:[0,.43056,.03588,.02778,.48472],119:[0,.43056,.02691,.08334,.71592],120:[0,.43056,0,.02778,.57153],121:[.19444,.43056,.03588,.05556,.49028],122:[0,.43056,.04398,.05556,.46505],915:[0,.68333,.13889,.08334,.61528],916:[0,.68333,0,.16667,.83334],920:[0,.68333,.02778,.08334,.76278],923:[0,.68333,0,.16667,.69445],926:[0,.68333,.07569,.08334,.74236],928:[0,.68333,.08125,.05556,.83125],931:[0,.68333,.05764,.08334,.77986],933:[0,.68333,.13889,.05556,.58333],934:[0,.68333,0,.08334,.66667],936:[0,.68333,.11,.05556,.61222],937:[0,.68333,.05017,.08334,.7724],945:[0,.43056,.0037,.02778,.6397],946:[.19444,.69444,.05278,.08334,.56563],947:[.19444,.43056,.05556,0,.51773],948:[0,.69444,.03785,.05556,.44444],949:[0,.43056,0,.08334,.46632],950:[.19444,.69444,.07378,.08334,.4375],951:[.19444,.43056,.03588,.05556,.49653],952:[0,.69444,.02778,.08334,.46944],953:[0,.43056,0,.05556,.35394],954:[0,.43056,0,0,.57616],955:[0,.69444,0,0,.58334],956:[.19444,.43056,0,.02778,.60255],957:[0,.43056,.06366,.02778,.49398],958:[.19444,.69444,.04601,.11111,.4375],959:[0,.43056,0,.05556,.48472],960:[0,.43056,.03588,0,.57003],961:[.19444,.43056,0,.08334,.51702],962:[.09722,.43056,.07986,.08334,.36285],963:[0,.43056,.03588,0,.57141],964:[0,.43056,.1132,.02778,.43715],965:[0,.43056,.03588,.02778,.54028],966:[.19444,.43056,0,.08334,.65417],967:[.19444,.43056,0,.05556,.62569],968:[.19444,.69444,.03588,.11111,.65139],969:[0,.43056,.03588,0,.62245],977:[0,.69444,0,.08334,.59144],981:[.19444,.69444,0,.08334,.59583],982:[0,.43056,.02778,0,.82813],1009:[.19444,.43056,0,.08334,.51702],1013:[0,.43056,0,.05556,.4059]},"Math-Regular":{65:[0,.68333,0,.13889,.75],66:[0,.68333,.05017,.08334,.75851],67:[0,.68333,.07153,.08334,.71472],68:[0,.68333,.02778,.05556,.82792],69:[0,.68333,.05764,.08334,.7382],70:[0,.68333,.13889,.08334,.64306],71:[0,.68333,0,.08334,.78625],72:[0,.68333,.08125,.05556,.83125],73:[0,.68333,.07847,.11111,.43958],74:[0,.68333,.09618,.16667,.55451],75:[0,.68333,.07153,.05556,.84931],76:[0,.68333,0,.02778,.68056],77:[0,.68333,.10903,.08334,.97014],78:[0,.68333,.10903,.08334,.80347],79:[0,.68333,.02778,.08334,.76278],80:[0,.68333,.13889,.08334,.64201],81:[.19444,.68333,0,.08334,.79056],82:[0,.68333,.00773,.08334,.75929],83:[0,.68333,.05764,.08334,.6132],84:[0,.68333,.13889,.08334,.58438],85:[0,.68333,.10903,.02778,.68278],86:[0,.68333,.22222,0,.58333],87:[0,.68333,.13889,0,.94445],88:[0,.68333,.07847,.08334,.82847],89:[0,.68333,.22222,0,.58056],90:[0,.68333,.07153,.08334,.68264],97:[0,.43056,0,0,.52859],98:[0,.69444,0,0,.42917],99:[0,.43056,0,.05556,.43276],100:[0,.69444,0,.16667,.52049],101:[0,.43056,0,.05556,.46563],102:[.19444,.69444,.10764,.16667,.48959],103:[.19444,.43056,.03588,.02778,.47697],104:[0,.69444,0,0,.57616],105:[0,.65952,0,0,.34451],106:[.19444,.65952,.05724,0,.41181],107:[0,.69444,.03148,0,.5206],108:[0,.69444,.01968,.08334,.29838],109:[0,.43056,0,0,.87801],110:[0,.43056,0,0,.60023],111:[0,.43056,0,.05556,.48472],112:[.19444,.43056,0,.08334,.50313],113:[.19444,.43056,.03588,.08334,.44641],114:[0,.43056,.02778,.05556,.45116],115:[0,.43056,0,.05556,.46875],116:[0,.61508,0,.08334,.36111],117:[0,.43056,0,.02778,.57246],118:[0,.43056,.03588,.02778,.48472],119:[0,.43056,.02691,.08334,.71592],120:[0,.43056,0,.02778,.57153],121:[.19444,.43056,.03588,.05556,.49028],122:[0,.43056,.04398,.05556,.46505],915:[0,.68333,.13889,.08334,.61528],916:[0,.68333,0,.16667,.83334],920:[0,.68333,.02778,.08334,.76278],923:[0,.68333,0,.16667,.69445],926:[0,.68333,.07569,.08334,.74236],928:[0,.68333,.08125,.05556,.83125],931:[0,.68333,.05764,.08334,.77986],933:[0,.68333,.13889,.05556,.58333],934:[0,.68333,0,.08334,.66667],936:[0,.68333,.11,.05556,.61222],937:[0,.68333,.05017,.08334,.7724],945:[0,.43056,.0037,.02778,.6397],946:[.19444,.69444,.05278,.08334,.56563],947:[.19444,.43056,.05556,0,.51773],948:[0,.69444,.03785,.05556,.44444],949:[0,.43056,0,.08334,.46632],950:[.19444,.69444,.07378,.08334,.4375],951:[.19444,.43056,.03588,.05556,.49653],952:[0,.69444,.02778,.08334,.46944],953:[0,.43056,0,.05556,.35394],954:[0,.43056,0,0,.57616],955:[0,.69444,0,0,.58334],956:[.19444,.43056,0,.02778,.60255],957:[0,.43056,.06366,.02778,.49398],958:[.19444,.69444,.04601,.11111,.4375],959:[0,.43056,0,.05556,.48472],960:[0,.43056,.03588,0,.57003],961:[.19444,.43056,0,.08334,.51702],962:[.09722,.43056,.07986,.08334,.36285],963:[0,.43056,.03588,0,.57141],964:[0,.43056,.1132,.02778,.43715],965:[0,.43056,.03588,.02778,.54028],966:[.19444,.43056,0,.08334,.65417],967:[.19444,.43056,0,.05556,.62569],968:[.19444,.69444,.03588,.11111,.65139],969:[0,.43056,.03588,0,.62245],977:[0,.69444,0,.08334,.59144],981:[.19444,.69444,0,.08334,.59583],982:[0,.43056,.02778,0,.82813],1009:[.19444,.43056,0,.08334,.51702],1013:[0,.43056,0,.05556,.4059]},"SansSerif-Bold":{33:[0,.69444,0,0,.36667],34:[0,.69444,0,0,.55834],35:[.19444,.69444,0,0,.91667],36:[.05556,.75,0,0,.55],37:[.05556,.75,0,0,1.02912],38:[0,.69444,0,0,.83056],39:[0,.69444,0,0,.30556],40:[.25,.75,0,0,.42778],41:[.25,.75,0,0,.42778],42:[0,.75,0,0,.55],43:[.11667,.61667,0,0,.85556],44:[.10556,.13056,0,0,.30556],45:[0,.45833,0,0,.36667],46:[0,.13056,0,0,.30556],47:[.25,.75,0,0,.55],48:[0,.69444,0,0,.55],49:[0,.69444,0,0,.55],50:[0,.69444,0,0,.55],51:[0,.69444,0,0,.55],52:[0,.69444,0,0,.55],53:[0,.69444,0,0,.55],54:[0,.69444,0,0,.55],55:[0,.69444,0,0,.55],56:[0,.69444,0,0,.55],57:[0,.69444,0,0,.55],58:[0,.45833,0,0,.30556],59:[.10556,.45833,0,0,.30556],61:[-.09375,.40625,0,0,.85556],63:[0,.69444,0,0,.51945],64:[0,.69444,0,0,.73334],65:[0,.69444,0,0,.73334],66:[0,.69444,0,0,.73334],67:[0,.69444,0,0,.70278],68:[0,.69444,0,0,.79445],69:[0,.69444,0,0,.64167],70:[0,.69444,0,0,.61111],71:[0,.69444,0,0,.73334],72:[0,.69444,0,0,.79445],73:[0,.69444,0,0,.33056],74:[0,.69444,0,0,.51945],75:[0,.69444,0,0,.76389],76:[0,.69444,0,0,.58056],77:[0,.69444,0,0,.97778],78:[0,.69444,0,0,.79445],79:[0,.69444,0,0,.79445],80:[0,.69444,0,0,.70278],81:[.10556,.69444,0,0,.79445],82:[0,.69444,0,0,.70278],83:[0,.69444,0,0,.61111],84:[0,.69444,0,0,.73334],85:[0,.69444,0,0,.76389],86:[0,.69444,.01528,0,.73334],87:[0,.69444,.01528,0,1.03889],88:[0,.69444,0,0,.73334],89:[0,.69444,.0275,0,.73334],90:[0,.69444,0,0,.67223],91:[.25,.75,0,0,.34306],93:[.25,.75,0,0,.34306],94:[0,.69444,0,0,.55],95:[.35,.10833,.03056,0,.55],97:[0,.45833,0,0,.525],98:[0,.69444,0,0,.56111],99:[0,.45833,0,0,.48889],100:[0,.69444,0,0,.56111],101:[0,.45833,0,0,.51111],102:[0,.69444,.07639,0,.33611],103:[.19444,.45833,.01528,0,.55],104:[0,.69444,0,0,.56111],105:[0,.69444,0,0,.25556],106:[.19444,.69444,0,0,.28611],107:[0,.69444,0,0,.53056],108:[0,.69444,0,0,.25556],109:[0,.45833,0,0,.86667],110:[0,.45833,0,0,.56111],111:[0,.45833,0,0,.55],112:[.19444,.45833,0,0,.56111],113:[.19444,.45833,0,0,.56111],114:[0,.45833,.01528,0,.37222],115:[0,.45833,0,0,.42167],116:[0,.58929,0,0,.40417],117:[0,.45833,0,0,.56111],118:[0,.45833,.01528,0,.5],119:[0,.45833,.01528,0,.74445],120:[0,.45833,0,0,.5],121:[.19444,.45833,.01528,0,.5],122:[0,.45833,0,0,.47639],126:[.35,.34444,0,0,.55],168:[0,.69444,0,0,.55],176:[0,.69444,0,0,.73334],180:[0,.69444,0,0,.55],184:[.17014,0,0,0,.48889],305:[0,.45833,0,0,.25556],567:[.19444,.45833,0,0,.28611],710:[0,.69444,0,0,.55],711:[0,.63542,0,0,.55],713:[0,.63778,0,0,.55],728:[0,.69444,0,0,.55],729:[0,.69444,0,0,.30556],730:[0,.69444,0,0,.73334],732:[0,.69444,0,0,.55],733:[0,.69444,0,0,.55],915:[0,.69444,0,0,.58056],916:[0,.69444,0,0,.91667],920:[0,.69444,0,0,.85556],923:[0,.69444,0,0,.67223],926:[0,.69444,0,0,.73334],928:[0,.69444,0,0,.79445],931:[0,.69444,0,0,.79445],933:[0,.69444,0,0,.85556],934:[0,.69444,0,0,.79445],936:[0,.69444,0,0,.85556],937:[0,.69444,0,0,.79445],8211:[0,.45833,.03056,0,.55],8212:[0,.45833,.03056,0,1.10001],8216:[0,.69444,0,0,.30556],8217:[0,.69444,0,0,.30556],8220:[0,.69444,0,0,.55834],8221:[0,.69444,0,0,.55834]},"SansSerif-Italic":{33:[0,.69444,.05733,0,.31945],34:[0,.69444,.00316,0,.5],35:[.19444,.69444,.05087,0,.83334],36:[.05556,.75,.11156,0,.5],37:[.05556,.75,.03126,0,.83334],38:[0,.69444,.03058,0,.75834],39:[0,.69444,.07816,0,.27778],40:[.25,.75,.13164,0,.38889],41:[.25,.75,.02536,0,.38889],42:[0,.75,.11775,0,.5],43:[.08333,.58333,.02536,0,.77778],44:[.125,.08333,0,0,.27778],45:[0,.44444,.01946,0,.33333],46:[0,.08333,0,0,.27778],47:[.25,.75,.13164,0,.5],48:[0,.65556,.11156,0,.5],49:[0,.65556,.11156,0,.5],50:[0,.65556,.11156,0,.5],51:[0,.65556,.11156,0,.5],52:[0,.65556,.11156,0,.5],53:[0,.65556,.11156,0,.5],54:[0,.65556,.11156,0,.5],55:[0,.65556,.11156,0,.5],56:[0,.65556,.11156,0,.5],57:[0,.65556,.11156,0,.5],58:[0,.44444,.02502,0,.27778],59:[.125,.44444,.02502,0,.27778],61:[-.13,.37,.05087,0,.77778],63:[0,.69444,.11809,0,.47222],64:[0,.69444,.07555,0,.66667],65:[0,.69444,0,0,.66667],66:[0,.69444,.08293,0,.66667],67:[0,.69444,.11983,0,.63889],68:[0,.69444,.07555,0,.72223],69:[0,.69444,.11983,0,.59722],70:[0,.69444,.13372,0,.56945],71:[0,.69444,.11983,0,.66667],72:[0,.69444,.08094,0,.70834],73:[0,.69444,.13372,0,.27778],74:[0,.69444,.08094,0,.47222],75:[0,.69444,.11983,0,.69445],76:[0,.69444,0,0,.54167],77:[0,.69444,.08094,0,.875],78:[0,.69444,.08094,0,.70834],79:[0,.69444,.07555,0,.73611],80:[0,.69444,.08293,0,.63889],81:[.125,.69444,.07555,0,.73611],82:[0,.69444,.08293,0,.64584],83:[0,.69444,.09205,0,.55556],84:[0,.69444,.13372,0,.68056],85:[0,.69444,.08094,0,.6875],86:[0,.69444,.1615,0,.66667],87:[0,.69444,.1615,0,.94445],88:[0,.69444,.13372,0,.66667],89:[0,.69444,.17261,0,.66667],90:[0,.69444,.11983,0,.61111],91:[.25,.75,.15942,0,.28889],93:[.25,.75,.08719,0,.28889],94:[0,.69444,.0799,0,.5],95:[.35,.09444,.08616,0,.5],97:[0,.44444,.00981,0,.48056],98:[0,.69444,.03057,0,.51667],99:[0,.44444,.08336,0,.44445],100:[0,.69444,.09483,0,.51667],101:[0,.44444,.06778,0,.44445],102:[0,.69444,.21705,0,.30556],103:[.19444,.44444,.10836,0,.5],104:[0,.69444,.01778,0,.51667],105:[0,.67937,.09718,0,.23889],106:[.19444,.67937,.09162,0,.26667],107:[0,.69444,.08336,0,.48889],108:[0,.69444,.09483,0,.23889],109:[0,.44444,.01778,0,.79445],110:[0,.44444,.01778,0,.51667],111:[0,.44444,.06613,0,.5],112:[.19444,.44444,.0389,0,.51667],113:[.19444,.44444,.04169,0,.51667],114:[0,.44444,.10836,0,.34167],115:[0,.44444,.0778,0,.38333],116:[0,.57143,.07225,0,.36111],117:[0,.44444,.04169,0,.51667],118:[0,.44444,.10836,0,.46111],119:[0,.44444,.10836,0,.68334],120:[0,.44444,.09169,0,.46111],121:[.19444,.44444,.10836,0,.46111],122:[0,.44444,.08752,0,.43472],126:[.35,.32659,.08826,0,.5],168:[0,.67937,.06385,0,.5],176:[0,.69444,0,0,.73752],184:[.17014,0,0,0,.44445],305:[0,.44444,.04169,0,.23889],567:[.19444,.44444,.04169,0,.26667],710:[0,.69444,.0799,0,.5],711:[0,.63194,.08432,0,.5],713:[0,.60889,.08776,0,.5],714:[0,.69444,.09205,0,.5],715:[0,.69444,0,0,.5],728:[0,.69444,.09483,0,.5],729:[0,.67937,.07774,0,.27778],730:[0,.69444,0,0,.73752],732:[0,.67659,.08826,0,.5],733:[0,.69444,.09205,0,.5],915:[0,.69444,.13372,0,.54167],916:[0,.69444,0,0,.83334],920:[0,.69444,.07555,0,.77778],923:[0,.69444,0,0,.61111],926:[0,.69444,.12816,0,.66667],928:[0,.69444,.08094,0,.70834],931:[0,.69444,.11983,0,.72222],933:[0,.69444,.09031,0,.77778],934:[0,.69444,.04603,0,.72222],936:[0,.69444,.09031,0,.77778],937:[0,.69444,.08293,0,.72222],8211:[0,.44444,.08616,0,.5],8212:[0,.44444,.08616,0,1],8216:[0,.69444,.07816,0,.27778],8217:[0,.69444,.07816,0,.27778],8220:[0,.69444,.14205,0,.5],8221:[0,.69444,.00316,0,.5]},"SansSerif-Regular":{33:[0,.69444,0,0,.31945],34:[0,.69444,0,0,.5],35:[.19444,.69444,0,0,.83334],36:[.05556,.75,0,0,.5],37:[.05556,.75,0,0,.83334],38:[0,.69444,0,0,.75834],39:[0,.69444,0,0,.27778],40:[.25,.75,0,0,.38889],41:[.25,.75,0,0,.38889],42:[0,.75,0,0,.5],43:[.08333,.58333,0,0,.77778],44:[.125,.08333,0,0,.27778],45:[0,.44444,0,0,.33333],46:[0,.08333,0,0,.27778],47:[.25,.75,0,0,.5],48:[0,.65556,0,0,.5],49:[0,.65556,0,0,.5],50:[0,.65556,0,0,.5],51:[0,.65556,0,0,.5],52:[0,.65556,0,0,.5],53:[0,.65556,0,0,.5],54:[0,.65556,0,0,.5],55:[0,.65556,0,0,.5],56:[0,.65556,0,0,.5],57:[0,.65556,0,0,.5],58:[0,.44444,0,0,.27778],59:[.125,.44444,0,0,.27778],61:[-.13,.37,0,0,.77778],63:[0,.69444,0,0,.47222],64:[0,.69444,0,0,.66667],65:[0,.69444,0,0,.66667],66:[0,.69444,0,0,.66667],67:[0,.69444,0,0,.63889],68:[0,.69444,0,0,.72223],69:[0,.69444,0,0,.59722],70:[0,.69444,0,0,.56945],71:[0,.69444,0,0,.66667],72:[0,.69444,0,0,.70834],73:[0,.69444,0,0,.27778],74:[0,.69444,0,0,.47222],75:[0,.69444,0,0,.69445],76:[0,.69444,0,0,.54167],77:[0,.69444,0,0,.875],78:[0,.69444,0,0,.70834],79:[0,.69444,0,0,.73611],80:[0,.69444,0,0,.63889],81:[.125,.69444,0,0,.73611],82:[0,.69444,0,0,.64584],83:[0,.69444,0,0,.55556],84:[0,.69444,0,0,.68056],85:[0,.69444,0,0,.6875],86:[0,.69444,.01389,0,.66667],87:[0,.69444,.01389,0,.94445],88:[0,.69444,0,0,.66667],89:[0,.69444,.025,0,.66667],90:[0,.69444,0,0,.61111],91:[.25,.75,0,0,.28889],93:[.25,.75,0,0,.28889],94:[0,.69444,0,0,.5],95:[.35,.09444,.02778,0,.5],97:[0,.44444,0,0,.48056],98:[0,.69444,0,0,.51667],99:[0,.44444,0,0,.44445],100:[0,.69444,0,0,.51667],101:[0,.44444,0,0,.44445],102:[0,.69444,.06944,0,.30556],103:[.19444,.44444,.01389,0,.5],104:[0,.69444,0,0,.51667],105:[0,.67937,0,0,.23889],106:[.19444,.67937,0,0,.26667],107:[0,.69444,0,0,.48889],108:[0,.69444,0,0,.23889],109:[0,.44444,0,0,.79445],110:[0,.44444,0,0,.51667],111:[0,.44444,0,0,.5],112:[.19444,.44444,0,0,.51667],113:[.19444,.44444,0,0,.51667],114:[0,.44444,.01389,0,.34167],115:[0,.44444,0,0,.38333],116:[0,.57143,0,0,.36111],117:[0,.44444,0,0,.51667],118:[0,.44444,.01389,0,.46111],119:[0,.44444,.01389,0,.68334],120:[0,.44444,0,0,.46111],121:[.19444,.44444,.01389,0,.46111],122:[0,.44444,0,0,.43472],126:[.35,.32659,0,0,.5],168:[0,.67937,0,0,.5],176:[0,.69444,0,0,.66667],184:[.17014,0,0,0,.44445],305:[0,.44444,0,0,.23889],567:[.19444,.44444,0,0,.26667],710:[0,.69444,0,0,.5],711:[0,.63194,0,0,.5],713:[0,.60889,0,0,.5],714:[0,.69444,0,0,.5],715:[0,.69444,0,0,.5],728:[0,.69444,0,0,.5],729:[0,.67937,0,0,.27778],730:[0,.69444,0,0,.66667],732:[0,.67659,0,0,.5],733:[0,.69444,0,0,.5],915:[0,.69444,0,0,.54167],916:[0,.69444,0,0,.83334],920:[0,.69444,0,0,.77778],923:[0,.69444,0,0,.61111],926:[0,.69444,0,0,.66667],928:[0,.69444,0,0,.70834],931:[0,.69444,0,0,.72222],933:[0,.69444,0,0,.77778],934:[0,.69444,0,0,.72222],936:[0,.69444,0,0,.77778],937:[0,.69444,0,0,.72222],8211:[0,.44444,.02778,0,.5],8212:[0,.44444,.02778,0,1],8216:[0,.69444,0,0,.27778],8217:[0,.69444,0,0,.27778],8220:[0,.69444,0,0,.5],8221:[0,.69444,0,0,.5]},"Script-Regular":{65:[0,.7,.22925,0,.80253],66:[0,.7,.04087,0,.90757],67:[0,.7,.1689,0,.66619],68:[0,.7,.09371,0,.77443],69:[0,.7,.18583,0,.56162],70:[0,.7,.13634,0,.89544],71:[0,.7,.17322,0,.60961],72:[0,.7,.29694,0,.96919],73:[0,.7,.19189,0,.80907],74:[.27778,.7,.19189,0,1.05159],75:[0,.7,.31259,0,.91364],76:[0,.7,.19189,0,.87373],77:[0,.7,.15981,0,1.08031],78:[0,.7,.3525,0,.9015],79:[0,.7,.08078,0,.73787],80:[0,.7,.08078,0,1.01262],81:[0,.7,.03305,0,.88282],82:[0,.7,.06259,0,.85],83:[0,.7,.19189,0,.86767],84:[0,.7,.29087,0,.74697],85:[0,.7,.25815,0,.79996],86:[0,.7,.27523,0,.62204],87:[0,.7,.27523,0,.80532],88:[0,.7,.26006,0,.94445],89:[0,.7,.2939,0,.70961],90:[0,.7,.24037,0,.8212]},"Size1-Regular":{40:[.35001,.85,0,0,.45834],41:[.35001,.85,0,0,.45834],47:[.35001,.85,0,0,.57778],91:[.35001,.85,0,0,.41667],92:[.35001,.85,0,0,.57778],93:[.35001,.85,0,0,.41667],123:[.35001,.85,0,0,.58334],125:[.35001,.85,0,0,.58334],710:[0,.72222,0,0,.55556],732:[0,.72222,0,0,.55556],770:[0,.72222,0,0,.55556],771:[0,.72222,0,0,.55556],8214:[-99e-5,.601,0,0,.77778],8593:[1e-5,.6,0,0,.66667],8595:[1e-5,.6,0,0,.66667],8657:[1e-5,.6,0,0,.77778],8659:[1e-5,.6,0,0,.77778],8719:[.25001,.75,0,0,.94445],8720:[.25001,.75,0,0,.94445],8721:[.25001,.75,0,0,1.05556],8730:[.35001,.85,0,0,1],8739:[-.00599,.606,0,0,.33333],8741:[-.00599,.606,0,0,.55556],8747:[.30612,.805,.19445,0,.47222],8748:[.306,.805,.19445,0,.47222],8749:[.306,.805,.19445,0,.47222],8750:[.30612,.805,.19445,0,.47222],8896:[.25001,.75,0,0,.83334],8897:[.25001,.75,0,0,.83334],8898:[.25001,.75,0,0,.83334],8899:[.25001,.75,0,0,.83334],8968:[.35001,.85,0,0,.47222],8969:[.35001,.85,0,0,.47222],8970:[.35001,.85,0,0,.47222],8971:[.35001,.85,0,0,.47222],9168:[-99e-5,.601,0,0,.66667],10216:[.35001,.85,0,0,.47222],10217:[.35001,.85,0,0,.47222],10752:[.25001,.75,0,0,1.11111],10753:[.25001,.75,0,0,1.11111],10754:[.25001,.75,0,0,1.11111],10756:[.25001,.75,0,0,.83334],10758:[.25001,.75,0,0,.83334]},"Size2-Regular":{40:[.65002,1.15,0,0,.59722],41:[.65002,1.15,0,0,.59722],47:[.65002,1.15,0,0,.81111],91:[.65002,1.15,0,0,.47222],92:[.65002,1.15,0,0,.81111],93:[.65002,1.15,0,0,.47222],123:[.65002,1.15,0,0,.66667],125:[.65002,1.15,0,0,.66667],710:[0,.75,0,0,1],732:[0,.75,0,0,1],770:[0,.75,0,0,1],771:[0,.75,0,0,1],8719:[.55001,1.05,0,0,1.27778],8720:[.55001,1.05,0,0,1.27778],8721:[.55001,1.05,0,0,1.44445],8730:[.65002,1.15,0,0,1],8747:[.86225,1.36,.44445,0,.55556],8748:[.862,1.36,.44445,0,.55556],8749:[.862,1.36,.44445,0,.55556],8750:[.86225,1.36,.44445,0,.55556],8896:[.55001,1.05,0,0,1.11111],8897:[.55001,1.05,0,0,1.11111],8898:[.55001,1.05,0,0,1.11111],8899:[.55001,1.05,0,0,1.11111],8968:[.65002,1.15,0,0,.52778],8969:[.65002,1.15,0,0,.52778],8970:[.65002,1.15,0,0,.52778],8971:[.65002,1.15,0,0,.52778],10216:[.65002,1.15,0,0,.61111],10217:[.65002,1.15,0,0,.61111],10752:[.55001,1.05,0,0,1.51112],10753:[.55001,1.05,0,0,1.51112],10754:[.55001,1.05,0,0,1.51112],10756:[.55001,1.05,0,0,1.11111],10758:[.55001,1.05,0,0,1.11111]},"Size3-Regular":{40:[.95003,1.45,0,0,.73611],41:[.95003,1.45,0,0,.73611],47:[.95003,1.45,0,0,1.04445],91:[.95003,1.45,0,0,.52778],92:[.95003,1.45,0,0,1.04445],93:[.95003,1.45,0,0,.52778],123:[.95003,1.45,0,0,.75],125:[.95003,1.45,0,0,.75],710:[0,.75,0,0,1.44445],732:[0,.75,0,0,1.44445],770:[0,.75,0,0,1.44445],771:[0,.75,0,0,1.44445],8730:[.95003,1.45,0,0,1],8968:[.95003,1.45,0,0,.58334],8969:[.95003,1.45,0,0,.58334],8970:[.95003,1.45,0,0,.58334],8971:[.95003,1.45,0,0,.58334],10216:[.95003,1.45,0,0,.75],10217:[.95003,1.45,0,0,.75]},"Size4-Regular":{40:[1.25003,1.75,0,0,.79167],41:[1.25003,1.75,0,0,.79167],47:[1.25003,1.75,0,0,1.27778],91:[1.25003,1.75,0,0,.58334],92:[1.25003,1.75,0,0,1.27778],93:[1.25003,1.75,0,0,.58334],123:[1.25003,1.75,0,0,.80556],125:[1.25003,1.75,0,0,.80556],710:[0,.825,0,0,1.8889],732:[0,.825,0,0,1.8889],770:[0,.825,0,0,1.8889],771:[0,.825,0,0,1.8889],8730:[1.25003,1.75,0,0,1],8968:[1.25003,1.75,0,0,.63889],8969:[1.25003,1.75,0,0,.63889],8970:[1.25003,1.75,0,0,.63889],8971:[1.25003,1.75,0,0,.63889],9115:[.64502,1.155,0,0,.875],9116:[1e-5,.6,0,0,.875],9117:[.64502,1.155,0,0,.875],9118:[.64502,1.155,0,0,.875],9119:[1e-5,.6,0,0,.875],9120:[.64502,1.155,0,0,.875],9121:[.64502,1.155,0,0,.66667],9122:[-99e-5,.601,0,0,.66667],9123:[.64502,1.155,0,0,.66667],9124:[.64502,1.155,0,0,.66667],9125:[-99e-5,.601,0,0,.66667],9126:[.64502,1.155,0,0,.66667],9127:[1e-5,.9,0,0,.88889],9128:[.65002,1.15,0,0,.88889],9129:[.90001,0,0,0,.88889],9130:[0,.3,0,0,.88889],9131:[1e-5,.9,0,0,.88889],9132:[.65002,1.15,0,0,.88889],9133:[.90001,0,0,0,.88889],9143:[.88502,.915,0,0,1.05556],10216:[1.25003,1.75,0,0,.80556],10217:[1.25003,1.75,0,0,.80556],57344:[-.00499,.605,0,0,1.05556],57345:[-.00499,.605,0,0,1.05556],57680:[0,.12,0,0,.45],57681:[0,.12,0,0,.45],57682:[0,.12,0,0,.45],57683:[0,.12,0,0,.45]},"Typewriter-Regular":{32:[0,0,0,0,.525],33:[0,.61111,0,0,.525],34:[0,.61111,0,0,.525],35:[0,.61111,0,0,.525],36:[.08333,.69444,0,0,.525],37:[.08333,.69444,0,0,.525],38:[0,.61111,0,0,.525],39:[0,.61111,0,0,.525],40:[.08333,.69444,0,0,.525],41:[.08333,.69444,0,0,.525],42:[0,.52083,0,0,.525],43:[-.08056,.53055,0,0,.525],44:[.13889,.125,0,0,.525],45:[-.08056,.53055,0,0,.525],46:[0,.125,0,0,.525],47:[.08333,.69444,0,0,.525],48:[0,.61111,0,0,.525],49:[0,.61111,0,0,.525],50:[0,.61111,0,0,.525],51:[0,.61111,0,0,.525],52:[0,.61111,0,0,.525],53:[0,.61111,0,0,.525],54:[0,.61111,0,0,.525],55:[0,.61111,0,0,.525],56:[0,.61111,0,0,.525],57:[0,.61111,0,0,.525],58:[0,.43056,0,0,.525],59:[.13889,.43056,0,0,.525],60:[-.05556,.55556,0,0,.525],61:[-.19549,.41562,0,0,.525],62:[-.05556,.55556,0,0,.525],63:[0,.61111,0,0,.525],64:[0,.61111,0,0,.525],65:[0,.61111,0,0,.525],66:[0,.61111,0,0,.525],67:[0,.61111,0,0,.525],68:[0,.61111,0,0,.525],69:[0,.61111,0,0,.525],70:[0,.61111,0,0,.525],71:[0,.61111,0,0,.525],72:[0,.61111,0,0,.525],73:[0,.61111,0,0,.525],74:[0,.61111,0,0,.525],75:[0,.61111,0,0,.525],76:[0,.61111,0,0,.525],77:[0,.61111,0,0,.525],78:[0,.61111,0,0,.525],79:[0,.61111,0,0,.525],80:[0,.61111,0,0,.525],81:[.13889,.61111,0,0,.525],82:[0,.61111,0,0,.525],83:[0,.61111,0,0,.525],84:[0,.61111,0,0,.525],85:[0,.61111,0,0,.525],86:[0,.61111,0,0,.525],87:[0,.61111,0,0,.525],88:[0,.61111,0,0,.525],89:[0,.61111,0,0,.525],90:[0,.61111,0,0,.525],91:[.08333,.69444,0,0,.525],92:[.08333,.69444,0,0,.525],93:[.08333,.69444,0,0,.525],94:[0,.61111,0,0,.525],95:[.09514,0,0,0,.525],96:[0,.61111,0,0,.525],97:[0,.43056,0,0,.525],98:[0,.61111,0,0,.525],99:[0,.43056,0,0,.525],100:[0,.61111,0,0,.525],101:[0,.43056,0,0,.525],102:[0,.61111,0,0,.525],103:[.22222,.43056,0,0,.525],104:[0,.61111,0,0,.525],105:[0,.61111,0,0,.525],106:[.22222,.61111,0,0,.525],107:[0,.61111,0,0,.525],108:[0,.61111,0,0,.525],109:[0,.43056,0,0,.525],110:[0,.43056,0,0,.525],111:[0,.43056,0,0,.525],112:[.22222,.43056,0,0,.525],113:[.22222,.43056,0,0,.525],114:[0,.43056,0,0,.525],115:[0,.43056,0,0,.525],116:[0,.55358,0,0,.525],117:[0,.43056,0,0,.525],118:[0,.43056,0,0,.525],119:[0,.43056,0,0,.525],120:[0,.43056,0,0,.525],121:[.22222,.43056,0,0,.525],122:[0,.43056,0,0,.525],123:[.08333,.69444,0,0,.525],124:[.08333,.69444,0,0,.525],125:[.08333,.69444,0,0,.525],126:[0,.61111,0,0,.525],127:[0,.61111,0,0,.525],160:[0,0,0,0,.525],176:[0,.61111,0,0,.525],184:[.19445,0,0,0,.525],305:[0,.43056,0,0,.525],567:[.22222,.43056,0,0,.525],711:[0,.56597,0,0,.525],713:[0,.56555,0,0,.525],714:[0,.61111,0,0,.525],715:[0,.61111,0,0,.525],728:[0,.61111,0,0,.525],730:[0,.61111,0,0,.525],770:[0,.61111,0,0,.525],771:[0,.61111,0,0,.525],776:[0,.61111,0,0,.525],915:[0,.61111,0,0,.525],916:[0,.61111,0,0,.525],920:[0,.61111,0,0,.525],923:[0,.61111,0,0,.525],926:[0,.61111,0,0,.525],928:[0,.61111,0,0,.525],931:[0,.61111,0,0,.525],933:[0,.61111,0,0,.525],934:[0,.61111,0,0,.525],936:[0,.61111,0,0,.525],937:[0,.61111,0,0,.525],8216:[0,.61111,0,0,.525],8217:[0,.61111,0,0,.525],8242:[0,.61111,0,0,.525],9251:[.11111,.21944,0,0,.525]}},Ht={slant:[.25,.25,.25],space:[0,0,0],stretch:[0,0,0],shrink:[0,0,0],xHeight:[.431,.431,.431],quad:[1,1.171,1.472],extraSpace:[0,0,0],num1:[.677,.732,.925],num2:[.394,.384,.387],num3:[.444,.471,.504],denom1:[.686,.752,1.025],denom2:[.345,.344,.532],sup1:[.413,.503,.504],sup2:[.363,.431,.404],sup3:[.289,.286,.294],sub1:[.15,.143,.2],sub2:[.247,.286,.4],supDrop:[.386,.353,.494],subDrop:[.05,.071,.1],delim1:[2.39,1.7,1.98],delim2:[1.01,1.157,1.42],axisHeight:[.25,.25,.25],defaultRuleThickness:[.04,.049,.049],bigOpSpacing1:[.111,.111,.111],bigOpSpacing2:[.166,.166,.166],bigOpSpacing3:[.2,.2,.2],bigOpSpacing4:[.6,.611,.611],bigOpSpacing5:[.1,.143,.143],sqrtRuleThickness:[.04,.04,.04],ptPerEm:[10,10,10],doubleRuleSep:[.2,.2,.2],arrayRuleWidth:[.04,.04,.04],fboxsep:[.3,.3,.3],fboxrule:[.04,.04,.04]},Pe={\u00C5:"A",\u00C7:"C",\u00D0:"D",\u00DE:"o",\u00E5:"a",\u00E7:"c",\u00F0:"d",\u00FE:"o",\u0410:"A",\u0411:"B",\u0412:"B",\u0413:"F",\u0414:"A",\u0415:"E",\u0416:"K",\u0417:"3",\u0418:"N",\u0419:"N",\u041A:"K",\u041B:"N",\u041C:"M",\u041D:"H",\u041E:"O",\u041F:"N",\u0420:"P",\u0421:"C",\u0422:"T",\u0423:"y",\u0424:"O",\u0425:"X",\u0426:"U",\u0427:"h",\u0428:"W",\u0429:"W",\u042A:"B",\u042B:"X",\u042C:"B",\u042D:"3",\u042E:"X",\u042F:"R",\u0430:"a",\u0431:"b",\u0432:"a",\u0433:"r",\u0434:"y",\u0435:"e",\u0436:"m",\u0437:"e",\u0438:"n",\u0439:"n",\u043A:"n",\u043B:"n",\u043C:"m",\u043D:"n",\u043E:"o",\u043F:"n",\u0440:"p",\u0441:"c",\u0442:"o",\u0443:"y",\u0444:"b",\u0445:"x",\u0446:"n",\u0447:"n",\u0448:"w",\u0449:"w",\u044A:"a",\u044B:"m",\u044C:"a",\u044D:"e",\u044E:"m",\u044F:"r"};function et(Ve,Z){Vt[Ve]=Z}function Kt(Ve,Z,X){if(!Vt[Z])throw new Error("Font metrics not found for font: "+Z+".");var ne=Ve.charCodeAt(0),he=Vt[Z][ne];if(!he&&Ve[0]in Pe&&(ne=Pe[Ve[0]].charCodeAt(0),he=Vt[Z][ne]),!he&&X==="text"&&De(ne)&&(he=Vt[Z][77]),he)return{depth:he[0],height:he[1],italic:he[2],skew:he[3],width:he[4]}}var kt={};function Zt(Ve){var Z;if(Ve>=5?Z=0:Ve>=3?Z=1:Z=2,!kt[Z]){var X=kt[Z]={cssEmPerMu:Ht.quad[Z]/18};for(var ne in Ht)Ht.hasOwnProperty(ne)&&(X[ne]=Ht[ne][Z])}return kt[Z]}var Nt={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},Wt={math:{},text:{}},Fe=Wt;function fe(Ve,Z,X,ne,he,Te){Wt[Ve][he]={font:Z,group:X,replace:ne},Te&&ne&&(Wt[Ve][ne]=Wt[Ve][he])}var pe="math",Pt="text",Ie="main",ct="ams",zt="accent-token",wt="bin",Oe="close",xt="inner",xe="mathord",Ye="op-token",mt="open",Mt="punct",Be="rel",Ir="spacing",St="textord";fe(pe,Ie,Be,"\u2261","\\equiv",!0),fe(pe,Ie,Be,"\u227A","\\prec",!0),fe(pe,Ie,Be,"\u227B","\\succ",!0),fe(pe,Ie,Be,"\u223C","\\sim",!0),fe(pe,Ie,Be,"\u22A5","\\perp"),fe(pe,Ie,Be,"\u2AAF","\\preceq",!0),fe(pe,Ie,Be,"\u2AB0","\\succeq",!0),fe(pe,Ie,Be,"\u2243","\\simeq",!0),fe(pe,Ie,Be,"\u2223","\\mid",!0),fe(pe,Ie,Be,"\u226A","\\ll",!0),fe(pe,Ie,Be,"\u226B","\\gg",!0),fe(pe,Ie,Be,"\u224D","\\asymp",!0),fe(pe,Ie,Be,"\u2225","\\parallel"),fe(pe,Ie,Be,"\u22C8","\\bowtie",!0),fe(pe,Ie,Be,"\u2323","\\smile",!0),fe(pe,Ie,Be,"\u2291","\\sqsubseteq",!0),fe(pe,Ie,Be,"\u2292","\\sqsupseteq",!0),fe(pe,Ie,Be,"\u2250","\\doteq",!0),fe(pe,Ie,Be,"\u2322","\\frown",!0),fe(pe,Ie,Be,"\u220B","\\ni",!0),fe(pe,Ie,Be,"\u221D","\\propto",!0),fe(pe,Ie,Be,"\u22A2","\\vdash",!0),fe(pe,Ie,Be,"\u22A3","\\dashv",!0),fe(pe,Ie,Be,"\u220B","\\owns"),fe(pe,Ie,Mt,".","\\ldotp"),fe(pe,Ie,Mt,"\u22C5","\\cdotp"),fe(pe,Ie,St,"#","\\#"),fe(Pt,Ie,St,"#","\\#"),fe(pe,Ie,St,"&","\\&"),fe(Pt,Ie,St,"&","\\&"),fe(pe,Ie,St,"\u2135","\\aleph",!0),fe(pe,Ie,St,"\u2200","\\forall",!0),fe(pe,Ie,St,"\u210F","\\hbar",!0),fe(pe,Ie,St,"\u2203","\\exists",!0),fe(pe,Ie,St,"\u2207","\\nabla",!0),fe(pe,Ie,St,"\u266D","\\flat",!0),fe(pe,Ie,St,"\u2113","\\ell",!0),fe(pe,Ie,St,"\u266E","\\natural",!0),fe(pe,Ie,St,"\u2663","\\clubsuit",!0),fe(pe,Ie,St,"\u2118","\\wp",!0),fe(pe,Ie,St,"\u266F","\\sharp",!0),fe(pe,Ie,St,"\u2662","\\diamondsuit",!0),fe(pe,Ie,St,"\u211C","\\Re",!0),fe(pe,Ie,St,"\u2661","\\heartsuit",!0),fe(pe,Ie,St,"\u2111","\\Im",!0),fe(pe,Ie,St,"\u2660","\\spadesuit",!0),fe(Pt,Ie,St,"\xA7","\\S",!0),fe(Pt,Ie,St,"\xB6","\\P",!0),fe(pe,Ie,St,"\u2020","\\dag"),fe(Pt,Ie,St,"\u2020","\\dag"),fe(Pt,Ie,St,"\u2020","\\textdagger"),fe(pe,Ie,St,"\u2021","\\ddag"),fe(Pt,Ie,St,"\u2021","\\ddag"),fe(Pt,Ie,St,"\u2021","\\textdaggerdbl"),fe(pe,Ie,Oe,"\u23B1","\\rmoustache",!0),fe(pe,Ie,mt,"\u23B0","\\lmoustache",!0),fe(pe,Ie,Oe,"\u27EF","\\rgroup",!0),fe(pe,Ie,mt,"\u27EE","\\lgroup",!0),fe(pe,Ie,wt,"\u2213","\\mp",!0),fe(pe,Ie,wt,"\u2296","\\ominus",!0),fe(pe,Ie,wt,"\u228E","\\uplus",!0),fe(pe,Ie,wt,"\u2293","\\sqcap",!0),fe(pe,Ie,wt,"\u2217","\\ast"),fe(pe,Ie,wt,"\u2294","\\sqcup",!0),fe(pe,Ie,wt,"\u25EF","\\bigcirc"),fe(pe,Ie,wt,"\u2219","\\bullet"),fe(pe,Ie,wt,"\u2021","\\ddagger"),fe(pe,Ie,wt,"\u2240","\\wr",!0),fe(pe,Ie,wt,"\u2A3F","\\amalg"),fe(pe,Ie,wt,"&","\\And"),fe(pe,Ie,Be,"\u27F5","\\longleftarrow",!0),fe(pe,Ie,Be,"\u21D0","\\Leftarrow",!0),fe(pe,Ie,Be,"\u27F8","\\Longleftarrow",!0),fe(pe,Ie,Be,"\u27F6","\\longrightarrow",!0),fe(pe,Ie,Be,"\u21D2","\\Rightarrow",!0),fe(pe,Ie,Be,"\u27F9","\\Longrightarrow",!0),fe(pe,Ie,Be,"\u2194","\\leftrightarrow",!0),fe(pe,Ie,Be,"\u27F7","\\longleftrightarrow",!0),fe(pe,Ie,Be,"\u21D4","\\Leftrightarrow",!0),fe(pe,Ie,Be,"\u27FA","\\Longleftrightarrow",!0),fe(pe,Ie,Be,"\u21A6","\\mapsto",!0),fe(pe,Ie,Be,"\u27FC","\\longmapsto",!0),fe(pe,Ie,Be,"\u2197","\\nearrow",!0),fe(pe,Ie,Be,"\u21A9","\\hookleftarrow",!0),fe(pe,Ie,Be,"\u21AA","\\hookrightarrow",!0),fe(pe,Ie,Be,"\u2198","\\searrow",!0),fe(pe,Ie,Be,"\u21BC","\\leftharpoonup",!0),fe(pe,Ie,Be,"\u21C0","\\rightharpoonup",!0),fe(pe,Ie,Be,"\u2199","\\swarrow",!0),fe(pe,Ie,Be,"\u21BD","\\leftharpoondown",!0),fe(pe,Ie,Be,"\u21C1","\\rightharpoondown",!0),fe(pe,Ie,Be,"\u2196","\\nwarrow",!0),fe(pe,Ie,Be,"\u21CC","\\rightleftharpoons",!0),fe(pe,ct,Be,"\u226E","\\nless",!0),fe(pe,ct,Be,"\uE010","\\@nleqslant"),fe(pe,ct,Be,"\uE011","\\@nleqq"),fe(pe,ct,Be,"\u2A87","\\lneq",!0),fe(pe,ct,Be,"\u2268","\\lneqq",!0),fe(pe,ct,Be,"\uE00C","\\@lvertneqq"),fe(pe,ct,Be,"\u22E6","\\lnsim",!0),fe(pe,ct,Be,"\u2A89","\\lnapprox",!0),fe(pe,ct,Be,"\u2280","\\nprec",!0),fe(pe,ct,Be,"\u22E0","\\npreceq",!0),fe(pe,ct,Be,"\u22E8","\\precnsim",!0),fe(pe,ct,Be,"\u2AB9","\\precnapprox",!0),fe(pe,ct,Be,"\u2241","\\nsim",!0),fe(pe,ct,Be,"\uE006","\\@nshortmid"),fe(pe,ct,Be,"\u2224","\\nmid",!0),fe(pe,ct,Be,"\u22AC","\\nvdash",!0),fe(pe,ct,Be,"\u22AD","\\nvDash",!0),fe(pe,ct,Be,"\u22EA","\\ntriangleleft"),fe(pe,ct,Be,"\u22EC","\\ntrianglelefteq",!0),fe(pe,ct,Be,"\u228A","\\subsetneq",!0),fe(pe,ct,Be,"\uE01A","\\@varsubsetneq"),fe(pe,ct,Be,"\u2ACB","\\subsetneqq",!0),fe(pe,ct,Be,"\uE017","\\@varsubsetneqq"),fe(pe,ct,Be,"\u226F","\\ngtr",!0),fe(pe,ct,Be,"\uE00F","\\@ngeqslant"),fe(pe,ct,Be,"\uE00E","\\@ngeqq"),fe(pe,ct,Be,"\u2A88","\\gneq",!0),fe(pe,ct,Be,"\u2269","\\gneqq",!0),fe(pe,ct,Be,"\uE00D","\\@gvertneqq"),fe(pe,ct,Be,"\u22E7","\\gnsim",!0),fe(pe,ct,Be,"\u2A8A","\\gnapprox",!0),fe(pe,ct,Be,"\u2281","\\nsucc",!0),fe(pe,ct,Be,"\u22E1","\\nsucceq",!0),fe(pe,ct,Be,"\u22E9","\\succnsim",!0),fe(pe,ct,Be,"\u2ABA","\\succnapprox",!0),fe(pe,ct,Be,"\u2246","\\ncong",!0),fe(pe,ct,Be,"\uE007","\\@nshortparallel"),fe(pe,ct,Be,"\u2226","\\nparallel",!0),fe(pe,ct,Be,"\u22AF","\\nVDash",!0),fe(pe,ct,Be,"\u22EB","\\ntriangleright"),fe(pe,ct,Be,"\u22ED","\\ntrianglerighteq",!0),fe(pe,ct,Be,"\uE018","\\@nsupseteqq"),fe(pe,ct,Be,"\u228B","\\supsetneq",!0),fe(pe,ct,Be,"\uE01B","\\@varsupsetneq"),fe(pe,ct,Be,"\u2ACC","\\supsetneqq",!0),fe(pe,ct,Be,"\uE019","\\@varsupsetneqq"),fe(pe,ct,Be,"\u22AE","\\nVdash",!0),fe(pe,ct,Be,"\u2AB5","\\precneqq",!0),fe(pe,ct,Be,"\u2AB6","\\succneqq",!0),fe(pe,ct,Be,"\uE016","\\@nsubseteqq"),fe(pe,ct,wt,"\u22B4","\\unlhd"),fe(pe,ct,wt,"\u22B5","\\unrhd"),fe(pe,ct,Be,"\u219A","\\nleftarrow",!0),fe(pe,ct,Be,"\u219B","\\nrightarrow",!0),fe(pe,ct,Be,"\u21CD","\\nLeftarrow",!0),fe(pe,ct,Be,"\u21CF","\\nRightarrow",!0),fe(pe,ct,Be,"\u21AE","\\nleftrightarrow",!0),fe(pe,ct,Be,"\u21CE","\\nLeftrightarrow",!0),fe(pe,ct,Be,"\u25B3","\\vartriangle"),fe(pe,ct,St,"\u210F","\\hslash"),fe(pe,ct,St,"\u25BD","\\triangledown"),fe(pe,ct,St,"\u25CA","\\lozenge"),fe(pe,ct,St,"\u24C8","\\circledS"),fe(pe,ct,St,"\xAE","\\circledR"),fe(Pt,ct,St,"\xAE","\\circledR"),fe(pe,ct,St,"\u2221","\\measuredangle",!0),fe(pe,ct,St,"\u2204","\\nexists"),fe(pe,ct,St,"\u2127","\\mho"),fe(pe,ct,St,"\u2132","\\Finv",!0),fe(pe,ct,St,"\u2141","\\Game",!0),fe(pe,ct,St,"\u2035","\\backprime"),fe(pe,ct,St,"\u25B2","\\blacktriangle"),fe(pe,ct,St,"\u25BC","\\blacktriangledown"),fe(pe,ct,St,"\u25A0","\\blacksquare"),fe(pe,ct,St,"\u29EB","\\blacklozenge"),fe(pe,ct,St,"\u2605","\\bigstar"),fe(pe,ct,St,"\u2222","\\sphericalangle",!0),fe(pe,ct,St,"\u2201","\\complement",!0),fe(pe,ct,St,"\xF0","\\eth",!0),fe(pe,ct,St,"\u2571","\\diagup"),fe(pe,ct,St,"\u2572","\\diagdown"),fe(pe,ct,St,"\u25A1","\\square"),fe(pe,ct,St,"\u25A1","\\Box"),fe(pe,ct,St,"\u25CA","\\Diamond"),fe(pe,ct,St,"\xA5","\\yen",!0),fe(Pt,ct,St,"\xA5","\\yen",!0),fe(pe,ct,St,"\u2713","\\checkmark",!0),fe(Pt,ct,St,"\u2713","\\checkmark"),fe(pe,ct,St,"\u2136","\\beth",!0),fe(pe,ct,St,"\u2138","\\daleth",!0),fe(pe,ct,St,"\u2137","\\gimel",!0),fe(pe,ct,St,"\u03DD","\\digamma",!0),fe(pe,ct,St,"\u03F0","\\varkappa"),fe(pe,ct,mt,"\u250C","\\ulcorner",!0),fe(pe,ct,Oe,"\u2510","\\urcorner",!0),fe(pe,ct,mt,"\u2514","\\llcorner",!0),fe(pe,ct,Oe,"\u2518","\\lrcorner",!0),fe(pe,ct,Be,"\u2266","\\leqq",!0),fe(pe,ct,Be,"\u2A7D","\\leqslant",!0),fe(pe,ct,Be,"\u2A95","\\eqslantless",!0),fe(pe,ct,Be,"\u2272","\\lesssim",!0),fe(pe,ct,Be,"\u2A85","\\lessapprox",!0),fe(pe,ct,Be,"\u224A","\\approxeq",!0),fe(pe,ct,wt,"\u22D6","\\lessdot"),fe(pe,ct,Be,"\u22D8","\\lll",!0),fe(pe,ct,Be,"\u2276","\\lessgtr",!0),fe(pe,ct,Be,"\u22DA","\\lesseqgtr",!0),fe(pe,ct,Be,"\u2A8B","\\lesseqqgtr",!0),fe(pe,ct,Be,"\u2251","\\doteqdot"),fe(pe,ct,Be,"\u2253","\\risingdotseq",!0),fe(pe,ct,Be,"\u2252","\\fallingdotseq",!0),fe(pe,ct,Be,"\u223D","\\backsim",!0),fe(pe,ct,Be,"\u22CD","\\backsimeq",!0),fe(pe,ct,Be,"\u2AC5","\\subseteqq",!0),fe(pe,ct,Be,"\u22D0","\\Subset",!0),fe(pe,ct,Be,"\u228F","\\sqsubset",!0),fe(pe,ct,Be,"\u227C","\\preccurlyeq",!0),fe(pe,ct,Be,"\u22DE","\\curlyeqprec",!0),fe(pe,ct,Be,"\u227E","\\precsim",!0),fe(pe,ct,Be,"\u2AB7","\\precapprox",!0),fe(pe,ct,Be,"\u22B2","\\vartriangleleft"),fe(pe,ct,Be,"\u22B4","\\trianglelefteq"),fe(pe,ct,Be,"\u22A8","\\vDash",!0),fe(pe,ct,Be,"\u22AA","\\Vvdash",!0),fe(pe,ct,Be,"\u2323","\\smallsmile"),fe(pe,ct,Be,"\u2322","\\smallfrown"),fe(pe,ct,Be,"\u224F","\\bumpeq",!0),fe(pe,ct,Be,"\u224E","\\Bumpeq",!0),fe(pe,ct,Be,"\u2267","\\geqq",!0),fe(pe,ct,Be,"\u2A7E","\\geqslant",!0),fe(pe,ct,Be,"\u2A96","\\eqslantgtr",!0),fe(pe,ct,Be,"\u2273","\\gtrsim",!0),fe(pe,ct,Be,"\u2A86","\\gtrapprox",!0),fe(pe,ct,wt,"\u22D7","\\gtrdot"),fe(pe,ct,Be,"\u22D9","\\ggg",!0),fe(pe,ct,Be,"\u2277","\\gtrless",!0),fe(pe,ct,Be,"\u22DB","\\gtreqless",!0),fe(pe,ct,Be,"\u2A8C","\\gtreqqless",!0),fe(pe,ct,Be,"\u2256","\\eqcirc",!0),fe(pe,ct,Be,"\u2257","\\circeq",!0),fe(pe,ct,Be,"\u225C","\\triangleq",!0),fe(pe,ct,Be,"\u223C","\\thicksim"),fe(pe,ct,Be,"\u2248","\\thickapprox"),fe(pe,ct,Be,"\u2AC6","\\supseteqq",!0),fe(pe,ct,Be,"\u22D1","\\Supset",!0),fe(pe,ct,Be,"\u2290","\\sqsupset",!0),fe(pe,ct,Be,"\u227D","\\succcurlyeq",!0),fe(pe,ct,Be,"\u22DF","\\curlyeqsucc",!0),fe(pe,ct,Be,"\u227F","\\succsim",!0),fe(pe,ct,Be,"\u2AB8","\\succapprox",!0),fe(pe,ct,Be,"\u22B3","\\vartriangleright"),fe(pe,ct,Be,"\u22B5","\\trianglerighteq"),fe(pe,ct,Be,"\u22A9","\\Vdash",!0),fe(pe,ct,Be,"\u2223","\\shortmid"),fe(pe,ct,Be,"\u2225","\\shortparallel"),fe(pe,ct,Be,"\u226C","\\between",!0),fe(pe,ct,Be,"\u22D4","\\pitchfork",!0),fe(pe,ct,Be,"\u221D","\\varpropto"),fe(pe,ct,Be,"\u25C0","\\blacktriangleleft"),fe(pe,ct,Be,"\u2234","\\therefore",!0),fe(pe,ct,Be,"\u220D","\\backepsilon"),fe(pe,ct,Be,"\u25B6","\\blacktriangleright"),fe(pe,ct,Be,"\u2235","\\because",!0),fe(pe,ct,Be,"\u22D8","\\llless"),fe(pe,ct,Be,"\u22D9","\\gggtr"),fe(pe,ct,wt,"\u22B2","\\lhd"),fe(pe,ct,wt,"\u22B3","\\rhd"),fe(pe,ct,Be,"\u2242","\\eqsim",!0),fe(pe,Ie,Be,"\u22C8","\\Join"),fe(pe,ct,Be,"\u2251","\\Doteq",!0),fe(pe,ct,wt,"\u2214","\\dotplus",!0),fe(pe,ct,wt,"\u2216","\\smallsetminus"),fe(pe,ct,wt,"\u22D2","\\Cap",!0),fe(pe,ct,wt,"\u22D3","\\Cup",!0),fe(pe,ct,wt,"\u2A5E","\\doublebarwedge",!0),fe(pe,ct,wt,"\u229F","\\boxminus",!0),fe(pe,ct,wt,"\u229E","\\boxplus",!0),fe(pe,ct,wt,"\u22C7","\\divideontimes",!0),fe(pe,ct,wt,"\u22C9","\\ltimes",!0),fe(pe,ct,wt,"\u22CA","\\rtimes",!0),fe(pe,ct,wt,"\u22CB","\\leftthreetimes",!0),fe(pe,ct,wt,"\u22CC","\\rightthreetimes",!0),fe(pe,ct,wt,"\u22CF","\\curlywedge",!0),fe(pe,ct,wt,"\u22CE","\\curlyvee",!0),fe(pe,ct,wt,"\u229D","\\circleddash",!0),fe(pe,ct,wt,"\u229B","\\circledast",!0),fe(pe,ct,wt,"\u22C5","\\centerdot"),fe(pe,ct,wt,"\u22BA","\\intercal",!0),fe(pe,ct,wt,"\u22D2","\\doublecap"),fe(pe,ct,wt,"\u22D3","\\doublecup"),fe(pe,ct,wt,"\u22A0","\\boxtimes",!0),fe(pe,ct,Be,"\u21E2","\\dashrightarrow",!0),fe(pe,ct,Be,"\u21E0","\\dashleftarrow",!0),fe(pe,ct,Be,"\u21C7","\\leftleftarrows",!0),fe(pe,ct,Be,"\u21C6","\\leftrightarrows",!0),fe(pe,ct,Be,"\u21DA","\\Lleftarrow",!0),fe(pe,ct,Be,"\u219E","\\twoheadleftarrow",!0),fe(pe,ct,Be,"\u21A2","\\leftarrowtail",!0),fe(pe,ct,Be,"\u21AB","\\looparrowleft",!0),fe(pe,ct,Be,"\u21CB","\\leftrightharpoons",!0),fe(pe,ct,Be,"\u21B6","\\curvearrowleft",!0),fe(pe,ct,Be,"\u21BA","\\circlearrowleft",!0),fe(pe,ct,Be,"\u21B0","\\Lsh",!0),fe(pe,ct,Be,"\u21C8","\\upuparrows",!0),fe(pe,ct,Be,"\u21BF","\\upharpoonleft",!0),fe(pe,ct,Be,"\u21C3","\\downharpoonleft",!0),fe(pe,ct,Be,"\u22B8","\\multimap",!0),fe(pe,ct,Be,"\u21AD","\\leftrightsquigarrow",!0),fe(pe,ct,Be,"\u21C9","\\rightrightarrows",!0),fe(pe,ct,Be,"\u21C4","\\rightleftarrows",!0),fe(pe,ct,Be,"\u21A0","\\twoheadrightarrow",!0),fe(pe,ct,Be,"\u21A3","\\rightarrowtail",!0),fe(pe,ct,Be,"\u21AC","\\looparrowright",!0),fe(pe,ct,Be,"\u21B7","\\curvearrowright",!0),fe(pe,ct,Be,"\u21BB","\\circlearrowright",!0),fe(pe,ct,Be,"\u21B1","\\Rsh",!0),fe(pe,ct,Be,"\u21CA","\\downdownarrows",!0),fe(pe,ct,Be,"\u21BE","\\upharpoonright",!0),fe(pe,ct,Be,"\u21C2","\\downharpoonright",!0),fe(pe,ct,Be,"\u21DD","\\rightsquigarrow",!0),fe(pe,ct,Be,"\u21DD","\\leadsto"),fe(pe,ct,Be,"\u21DB","\\Rrightarrow",!0),fe(pe,ct,Be,"\u21BE","\\restriction"),fe(pe,Ie,St,"\u2018","`"),fe(pe,Ie,St,"$","\\$"),fe(Pt,Ie,St,"$","\\$"),fe(Pt,Ie,St,"$","\\textdollar"),fe(pe,Ie,St,"%","\\%"),fe(Pt,Ie,St,"%","\\%"),fe(pe,Ie,St,"_","\\_"),fe(Pt,Ie,St,"_","\\_"),fe(Pt,Ie,St,"_","\\textunderscore"),fe(pe,Ie,St,"\u2220","\\angle",!0),fe(pe,Ie,St,"\u221E","\\infty",!0),fe(pe,Ie,St,"\u2032","\\prime"),fe(pe,Ie,St,"\u25B3","\\triangle"),fe(pe,Ie,St,"\u0393","\\Gamma",!0),fe(pe,Ie,St,"\u0394","\\Delta",!0),fe(pe,Ie,St,"\u0398","\\Theta",!0),fe(pe,Ie,St,"\u039B","\\Lambda",!0),fe(pe,Ie,St,"\u039E","\\Xi",!0),fe(pe,Ie,St,"\u03A0","\\Pi",!0),fe(pe,Ie,St,"\u03A3","\\Sigma",!0),fe(pe,Ie,St,"\u03A5","\\Upsilon",!0),fe(pe,Ie,St,"\u03A6","\\Phi",!0),fe(pe,Ie,St,"\u03A8","\\Psi",!0),fe(pe,Ie,St,"\u03A9","\\Omega",!0),fe(pe,Ie,St,"A","\u0391"),fe(pe,Ie,St,"B","\u0392"),fe(pe,Ie,St,"E","\u0395"),fe(pe,Ie,St,"Z","\u0396"),fe(pe,Ie,St,"H","\u0397"),fe(pe,Ie,St,"I","\u0399"),fe(pe,Ie,St,"K","\u039A"),fe(pe,Ie,St,"M","\u039C"),fe(pe,Ie,St,"N","\u039D"),fe(pe,Ie,St,"O","\u039F"),fe(pe,Ie,St,"P","\u03A1"),fe(pe,Ie,St,"T","\u03A4"),fe(pe,Ie,St,"X","\u03A7"),fe(pe,Ie,St,"\xAC","\\neg",!0),fe(pe,Ie,St,"\xAC","\\lnot"),fe(pe,Ie,St,"\u22A4","\\top"),fe(pe,Ie,St,"\u22A5","\\bot"),fe(pe,Ie,St,"\u2205","\\emptyset"),fe(pe,ct,St,"\u2205","\\varnothing"),fe(pe,Ie,xe,"\u03B1","\\alpha",!0),fe(pe,Ie,xe,"\u03B2","\\beta",!0),fe(pe,Ie,xe,"\u03B3","\\gamma",!0),fe(pe,Ie,xe,"\u03B4","\\delta",!0),fe(pe,Ie,xe,"\u03F5","\\epsilon",!0),fe(pe,Ie,xe,"\u03B6","\\zeta",!0),fe(pe,Ie,xe,"\u03B7","\\eta",!0),fe(pe,Ie,xe,"\u03B8","\\theta",!0),fe(pe,Ie,xe,"\u03B9","\\iota",!0),fe(pe,Ie,xe,"\u03BA","\\kappa",!0),fe(pe,Ie,xe,"\u03BB","\\lambda",!0),fe(pe,Ie,xe,"\u03BC","\\mu",!0),fe(pe,Ie,xe,"\u03BD","\\nu",!0),fe(pe,Ie,xe,"\u03BE","\\xi",!0),fe(pe,Ie,xe,"\u03BF","\\omicron",!0),fe(pe,Ie,xe,"\u03C0","\\pi",!0),fe(pe,Ie,xe,"\u03C1","\\rho",!0),fe(pe,Ie,xe,"\u03C3","\\sigma",!0),fe(pe,Ie,xe,"\u03C4","\\tau",!0),fe(pe,Ie,xe,"\u03C5","\\upsilon",!0),fe(pe,Ie,xe,"\u03D5","\\phi",!0),fe(pe,Ie,xe,"\u03C7","\\chi",!0),fe(pe,Ie,xe,"\u03C8","\\psi",!0),fe(pe,Ie,xe,"\u03C9","\\omega",!0),fe(pe,Ie,xe,"\u03B5","\\varepsilon",!0),fe(pe,Ie,xe,"\u03D1","\\vartheta",!0),fe(pe,Ie,xe,"\u03D6","\\varpi",!0),fe(pe,Ie,xe,"\u03F1","\\varrho",!0),fe(pe,Ie,xe,"\u03C2","\\varsigma",!0),fe(pe,Ie,xe,"\u03C6","\\varphi",!0),fe(pe,Ie,wt,"\u2217","*"),fe(pe,Ie,wt,"+","+"),fe(pe,Ie,wt,"\u2212","-"),fe(pe,Ie,wt,"\u22C5","\\cdot",!0),fe(pe,Ie,wt,"\u2218","\\circ"),fe(pe,Ie,wt,"\xF7","\\div",!0),fe(pe,Ie,wt,"\xB1","\\pm",!0),fe(pe,Ie,wt,"\xD7","\\times",!0),fe(pe,Ie,wt,"\u2229","\\cap",!0),fe(pe,Ie,wt,"\u222A","\\cup",!0),fe(pe,Ie,wt,"\u2216","\\setminus"),fe(pe,Ie,wt,"\u2227","\\land"),fe(pe,Ie,wt,"\u2228","\\lor"),fe(pe,Ie,wt,"\u2227","\\wedge",!0),fe(pe,Ie,wt,"\u2228","\\vee",!0),fe(pe,Ie,St,"\u221A","\\surd"),fe(pe,Ie,mt,"(","("),fe(pe,Ie,mt,"[","["),fe(pe,Ie,mt,"\u27E8","\\langle",!0),fe(pe,Ie,mt,"\u2223","\\lvert"),fe(pe,Ie,mt,"\u2225","\\lVert"),fe(pe,Ie,Oe,")",")"),fe(pe,Ie,Oe,"]","]"),fe(pe,Ie,Oe,"?","?"),fe(pe,Ie,Oe,"!","!"),fe(pe,Ie,Oe,"\u27E9","\\rangle",!0),fe(pe,Ie,Oe,"\u2223","\\rvert"),fe(pe,Ie,Oe,"\u2225","\\rVert"),fe(pe,Ie,Be,"=","="),fe(pe,Ie,Be,"<","<"),fe(pe,Ie,Be,">",">"),fe(pe,Ie,Be,":",":"),fe(pe,Ie,Be,"\u2248","\\approx",!0),fe(pe,Ie,Be,"\u2245","\\cong",!0),fe(pe,Ie,Be,"\u2265","\\ge"),fe(pe,Ie,Be,"\u2265","\\geq",!0),fe(pe,Ie,Be,"\u2190","\\gets"),fe(pe,Ie,Be,">","\\gt"),fe(pe,Ie,Be,"\u2208","\\in",!0),fe(pe,Ie,Be,"\uE020","\\@not"),fe(pe,Ie,Be,"\u2282","\\subset",!0),fe(pe,Ie,Be,"\u2283","\\supset",!0),fe(pe,Ie,Be,"\u2286","\\subseteq",!0),fe(pe,Ie,Be,"\u2287","\\supseteq",!0),fe(pe,ct,Be,"\u2288","\\nsubseteq",!0),fe(pe,ct,Be,"\u2289","\\nsupseteq",!0),fe(pe,Ie,Be,"\u22A8","\\models"),fe(pe,Ie,Be,"\u2190","\\leftarrow",!0),fe(pe,Ie,Be,"\u2264","\\le"),fe(pe,Ie,Be,"\u2264","\\leq",!0),fe(pe,Ie,Be,"<","\\lt"),fe(pe,Ie,Be,"\u2192","\\rightarrow",!0),fe(pe,Ie,Be,"\u2192","\\to"),fe(pe,ct,Be,"\u2271","\\ngeq",!0),fe(pe,ct,Be,"\u2270","\\nleq",!0),fe(pe,Ie,Ir,"\xA0","\\ "),fe(pe,Ie,Ir,"\xA0","~"),fe(pe,Ie,Ir,"\xA0","\\space"),fe(pe,Ie,Ir,"\xA0","\\nobreakspace"),fe(Pt,Ie,Ir,"\xA0","\\ "),fe(Pt,Ie,Ir,"\xA0","~"),fe(Pt,Ie,Ir,"\xA0","\\space"),fe(Pt,Ie,Ir,"\xA0","\\nobreakspace"),fe(pe,Ie,Ir,null,"\\nobreak"),fe(pe,Ie,Ir,null,"\\allowbreak"),fe(pe,Ie,Mt,",",","),fe(pe,Ie,Mt,";",";"),fe(pe,ct,wt,"\u22BC","\\barwedge",!0),fe(pe,ct,wt,"\u22BB","\\veebar",!0),fe(pe,Ie,wt,"\u2299","\\odot",!0),fe(pe,Ie,wt,"\u2295","\\oplus",!0),fe(pe,Ie,wt,"\u2297","\\otimes",!0),fe(pe,Ie,St,"\u2202","\\partial",!0),fe(pe,Ie,wt,"\u2298","\\oslash",!0),fe(pe,ct,wt,"\u229A","\\circledcirc",!0),fe(pe,ct,wt,"\u22A1","\\boxdot",!0),fe(pe,Ie,wt,"\u25B3","\\bigtriangleup"),fe(pe,Ie,wt,"\u25BD","\\bigtriangledown"),fe(pe,Ie,wt,"\u2020","\\dagger"),fe(pe,Ie,wt,"\u22C4","\\diamond"),fe(pe,Ie,wt,"\u22C6","\\star"),fe(pe,Ie,wt,"\u25C3","\\triangleleft"),fe(pe,Ie,wt,"\u25B9","\\triangleright"),fe(pe,Ie,mt,"{","\\{"),fe(Pt,Ie,St,"{","\\{"),fe(Pt,Ie,St,"{","\\textbraceleft"),fe(pe,Ie,Oe,"}","\\}"),fe(Pt,Ie,St,"}","\\}"),fe(Pt,Ie,St,"}","\\textbraceright"),fe(pe,Ie,mt,"{","\\lbrace"),fe(pe,Ie,Oe,"}","\\rbrace"),fe(pe,Ie,mt,"[","\\lbrack"),fe(Pt,Ie,St,"[","\\lbrack"),fe(pe,Ie,Oe,"]","\\rbrack"),fe(Pt,Ie,St,"]","\\rbrack"),fe(pe,Ie,mt,"(","\\lparen"),fe(pe,Ie,Oe,")","\\rparen"),fe(Pt,Ie,St,"<","\\textless"),fe(Pt,Ie,St,">","\\textgreater"),fe(pe,Ie,mt,"\u230A","\\lfloor",!0),fe(pe,Ie,Oe,"\u230B","\\rfloor",!0),fe(pe,Ie,mt,"\u2308","\\lceil",!0),fe(pe,Ie,Oe,"\u2309","\\rceil",!0),fe(pe,Ie,St,"\\","\\backslash"),fe(pe,Ie,St,"\u2223","|"),fe(pe,Ie,St,"\u2223","\\vert"),fe(Pt,Ie,St,"|","\\textbar"),fe(pe,Ie,St,"\u2225","\\|"),fe(pe,Ie,St,"\u2225","\\Vert"),fe(Pt,Ie,St,"\u2225","\\textbardbl"),fe(Pt,Ie,St,"~","\\textasciitilde"),fe(Pt,Ie,St,"\\","\\textbackslash"),fe(Pt,Ie,St,"^","\\textasciicircum"),fe(pe,Ie,Be,"\u2191","\\uparrow",!0),fe(pe,Ie,Be,"\u21D1","\\Uparrow",!0),fe(pe,Ie,Be,"\u2193","\\downarrow",!0),fe(pe,Ie,Be,"\u21D3","\\Downarrow",!0),fe(pe,Ie,Be,"\u2195","\\updownarrow",!0),fe(pe,Ie,Be,"\u21D5","\\Updownarrow",!0),fe(pe,Ie,Ye,"\u2210","\\coprod"),fe(pe,Ie,Ye,"\u22C1","\\bigvee"),fe(pe,Ie,Ye,"\u22C0","\\bigwedge"),fe(pe,Ie,Ye,"\u2A04","\\biguplus"),fe(pe,Ie,Ye,"\u22C2","\\bigcap"),fe(pe,Ie,Ye,"\u22C3","\\bigcup"),fe(pe,Ie,Ye,"\u222B","\\int"),fe(pe,Ie,Ye,"\u222B","\\intop"),fe(pe,Ie,Ye,"\u222C","\\iint"),fe(pe,Ie,Ye,"\u222D","\\iiint"),fe(pe,Ie,Ye,"\u220F","\\prod"),fe(pe,Ie,Ye,"\u2211","\\sum"),fe(pe,Ie,Ye,"\u2A02","\\bigotimes"),fe(pe,Ie,Ye,"\u2A01","\\bigoplus"),fe(pe,Ie,Ye,"\u2A00","\\bigodot"),fe(pe,Ie,Ye,"\u222E","\\oint"),fe(pe,Ie,Ye,"\u222F","\\oiint"),fe(pe,Ie,Ye,"\u2230","\\oiiint"),fe(pe,Ie,Ye,"\u2A06","\\bigsqcup"),fe(pe,Ie,Ye,"\u222B","\\smallint"),fe(Pt,Ie,xt,"\u2026","\\textellipsis"),fe(pe,Ie,xt,"\u2026","\\mathellipsis"),fe(Pt,Ie,xt,"\u2026","\\ldots",!0),fe(pe,Ie,xt,"\u2026","\\ldots",!0),fe(pe,Ie,xt,"\u22EF","\\@cdots",!0),fe(pe,Ie,xt,"\u22F1","\\ddots",!0),fe(pe,Ie,St,"\u22EE","\\varvdots"),fe(pe,Ie,zt,"\u02CA","\\acute"),fe(pe,Ie,zt,"\u02CB","\\grave"),fe(pe,Ie,zt,"\xA8","\\ddot"),fe(pe,Ie,zt,"~","\\tilde"),fe(pe,Ie,zt,"\u02C9","\\bar"),fe(pe,Ie,zt,"\u02D8","\\breve"),fe(pe,Ie,zt,"\u02C7","\\check"),fe(pe,Ie,zt,"^","\\hat"),fe(pe,Ie,zt,"\u20D7","\\vec"),fe(pe,Ie,zt,"\u02D9","\\dot"),fe(pe,Ie,zt,"\u02DA","\\mathring"),fe(pe,Ie,xe,"\u0131","\\imath",!0),fe(pe,Ie,xe,"\u0237","\\jmath",!0),fe(Pt,Ie,St,"\u0131","\\i",!0),fe(Pt,Ie,St,"\u0237","\\j",!0),fe(Pt,Ie,St,"\xDF","\\ss",!0),fe(Pt,Ie,St,"\xE6","\\ae",!0),fe(Pt,Ie,St,"\xE6","\\ae",!0),fe(Pt,Ie,St,"\u0153","\\oe",!0),fe(Pt,Ie,St,"\xF8","\\o",!0),fe(Pt,Ie,St,"\xC6","\\AE",!0),fe(Pt,Ie,St,"\u0152","\\OE",!0),fe(Pt,Ie,St,"\xD8","\\O",!0),fe(Pt,Ie,zt,"\u02CA","\\'"),fe(Pt,Ie,zt,"\u02CB","\\`"),fe(Pt,Ie,zt,"\u02C6","\\^"),fe(Pt,Ie,zt,"\u02DC","\\~"),fe(Pt,Ie,zt,"\u02C9","\\="),fe(Pt,Ie,zt,"\u02D8","\\u"),fe(Pt,Ie,zt,"\u02D9","\\."),fe(Pt,Ie,zt,"\u02DA","\\r"),fe(Pt,Ie,zt,"\u02C7","\\v"),fe(Pt,Ie,zt,"\xA8",'\\"'),fe(Pt,Ie,zt,"\u02DD","\\H"),fe(Pt,Ie,zt,"\u25EF","\\textcircled");var Zr={"--":!0,"---":!0,"``":!0,"''":!0};fe(Pt,Ie,St,"\u2013","--"),fe(Pt,Ie,St,"\u2013","\\textendash"),fe(Pt,Ie,St,"\u2014","---"),fe(Pt,Ie,St,"\u2014","\\textemdash"),fe(Pt,Ie,St,"\u2018","`"),fe(Pt,Ie,St,"\u2018","\\textquoteleft"),fe(Pt,Ie,St,"\u2019","'"),fe(Pt,Ie,St,"\u2019","\\textquoteright"),fe(Pt,Ie,St,"\u201C","``"),fe(Pt,Ie,St,"\u201C","\\textquotedblleft"),fe(Pt,Ie,St,"\u201D","''"),fe(Pt,Ie,St,"\u201D","\\textquotedblright"),fe(pe,Ie,St,"\xB0","\\degree",!0),fe(Pt,Ie,St,"\xB0","\\degree"),fe(Pt,Ie,St,"\xB0","\\textdegree",!0),fe(pe,Ie,xe,"\xA3","\\pounds"),fe(pe,Ie,xe,"\xA3","\\mathsterling",!0),fe(Pt,Ie,xe,"\xA3","\\pounds"),fe(Pt,Ie,xe,"\xA3","\\textsterling",!0),fe(pe,ct,St,"\u2720","\\maltese"),fe(Pt,ct,St,"\u2720","\\maltese"),fe(Pt,Ie,Ir,"\xA0","\\ "),fe(Pt,Ie,Ir,"\xA0"," "),fe(Pt,Ie,Ir,"\xA0","~");for(var Yr='0123456789/@."',xr=0;xr<Yr.length;xr++){var Mr=Yr.charAt(xr);fe(pe,Ie,St,Mr,Mr)}for(var mr='0123456789!@*()-=+[]<>|";:?/.,',Nr=0;Nr<mr.length;Nr++){var nn=mr.charAt(Nr);fe(Pt,Ie,St,nn,nn)}for(var on="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz",or=0;or<on.length;or++){var Rt=on.charAt(or);fe(pe,Ie,xe,Rt,Rt),fe(Pt,Ie,St,Rt,Rt)}fe(pe,ct,St,"C","\u2102"),fe(Pt,ct,St,"C","\u2102"),fe(pe,ct,St,"H","\u210D"),fe(Pt,ct,St,"H","\u210D"),fe(pe,ct,St,"N","\u2115"),fe(Pt,ct,St,"N","\u2115"),fe(pe,ct,St,"P","\u2119"),fe(Pt,ct,St,"P","\u2119"),fe(pe,ct,St,"Q","\u211A"),fe(Pt,ct,St,"Q","\u211A"),fe(pe,ct,St,"R","\u211D"),fe(Pt,ct,St,"R","\u211D"),fe(pe,ct,St,"Z","\u2124"),fe(Pt,ct,St,"Z","\u2124"),fe(pe,Ie,xe,"h","\u210E"),fe(Pt,Ie,xe,"h","\u210E");for(var _t="",vt=0;vt<on.length;vt++){var $t=on.charAt(vt);_t=String.fromCharCode(55349,56320+vt),fe(pe,Ie,xe,$t,_t),fe(Pt,Ie,St,$t,_t),_t=String.fromCharCode(55349,56372+vt),fe(pe,Ie,xe,$t,_t),fe(Pt,Ie,St,$t,_t),_t=String.fromCharCode(55349,56424+vt),fe(pe,Ie,xe,$t,_t),fe(Pt,Ie,St,$t,_t),_t=String.fromCharCode(55349,56580+vt),fe(pe,Ie,xe,$t,_t),fe(Pt,Ie,St,$t,_t),_t=String.fromCharCode(55349,56736+vt),fe(pe,Ie,xe,$t,_t),fe(Pt,Ie,St,$t,_t),_t=String.fromCharCode(55349,56788+vt),fe(pe,Ie,xe,$t,_t),fe(Pt,Ie,St,$t,_t),_t=String.fromCharCode(55349,56840+vt),fe(pe,Ie,xe,$t,_t),fe(Pt,Ie,St,$t,_t),_t=String.fromCharCode(55349,56944+vt),fe(pe,Ie,xe,$t,_t),fe(Pt,Ie,St,$t,_t),vt<26&&(_t=String.fromCharCode(55349,56632+vt),fe(pe,Ie,xe,$t,_t),fe(Pt,Ie,St,$t,_t),_t=String.fromCharCode(55349,56476+vt),fe(pe,Ie,xe,$t,_t),fe(Pt,Ie,St,$t,_t))}_t="\u{1D55C}",fe(pe,Ie,xe,"k",_t),fe(Pt,Ie,St,"k",_t);for(var Sr=0;Sr<10;Sr++){var vr=Sr.toString();_t=String.fromCharCode(55349,57294+Sr),fe(pe,Ie,xe,vr,_t),fe(Pt,Ie,St,vr,_t),_t=String.fromCharCode(55349,57314+Sr),fe(pe,Ie,xe,vr,_t),fe(Pt,Ie,St,vr,_t),_t=String.fromCharCode(55349,57324+Sr),fe(pe,Ie,xe,vr,_t),fe(Pt,Ie,St,vr,_t),_t=String.fromCharCode(55349,57334+Sr),fe(pe,Ie,xe,vr,_t),fe(Pt,Ie,St,vr,_t)}for(var Qr="\xC7\xD0\xDE\xE7\xFE",Wr=0;Wr<Qr.length;Wr++){var An=Qr.charAt(Wr);fe(pe,Ie,xe,An,An),fe(Pt,Ie,St,An,An)}fe(Pt,Ie,St,"\xF0","\xF0"),fe(Pt,Ie,St,"\u2013","\u2013"),fe(Pt,Ie,St,"\u2014","\u2014"),fe(Pt,Ie,St,"\u2018","\u2018"),fe(Pt,Ie,St,"\u2019","\u2019"),fe(Pt,Ie,St,"\u201C","\u201C"),fe(Pt,Ie,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"]],lr=[["mathbf","textbf","Main-Bold"],["","",""],["mathsf","textsf","SansSerif-Regular"],["mathboldsf","textboldsf","SansSerif-Bold"],["mathtt","texttt","Typewriter-Regular"]],Vr=function(Z,X){var ne=Z.charCodeAt(0),he=Z.charCodeAt(1),Te=(ne-55296)*1024+(he-56320)+65536,Ke=X==="math"?0:1;if(119808<=Te&&Te<120484){var Ct=Math.floor((Te-119808)/26);return[At[Ct][2],At[Ct][Ke]]}else if(120782<=Te&&Te<=120831){var jt=Math.floor((Te-120782)/10);return[lr[jt][2],lr[jt][Ke]]}else{if(Te===120485||Te===120486)return[At[0][2],At[0][Ke]];if(120486<Te&&Te<120782)return["",""];throw new o("Unsupported character: "+Z)}},dn=[[1,1,1],[2,1,1],[3,1,1],[4,2,1],[5,2,1],[6,3,1],[7,4,2],[8,6,3],[9,7,6],[10,8,7],[11,10,9]],Bn=[.5,.6,.7,.8,.9,1,1.2,1.44,1.728,2.074,2.488],ti=function(Z,X){return X.size<2?Z:dn[Z-1][X.size-1]},Un=function(){function Ve(X){this.style=void 0,this.color=void 0,this.size=void 0,this.textSize=void 0,this.phantom=void 0,this.font=void 0,this.fontFamily=void 0,this.fontWeight=void 0,this.fontShape=void 0,this.sizeMultiplier=void 0,this.maxSize=void 0,this.minRuleThickness=void 0,this._fontMetrics=void 0,this.style=X.style,this.color=X.color,this.size=X.size||Ve.BASESIZE,this.textSize=X.textSize||this.size,this.phantom=!!X.phantom,this.font=X.font||"",this.fontFamily=X.fontFamily||"",this.fontWeight=X.fontWeight||"",this.fontShape=X.fontShape||"",this.sizeMultiplier=Bn[this.size-1],this.maxSize=X.maxSize,this.minRuleThickness=X.minRuleThickness,this._fontMetrics=void 0}var Z=Ve.prototype;return Z.extend=function(ne){var he={style:this.style,size:this.size,textSize:this.textSize,color:this.color,phantom:this.phantom,font:this.font,fontFamily:this.fontFamily,fontWeight:this.fontWeight,fontShape:this.fontShape,maxSize:this.maxSize,minRuleThickness:this.minRuleThickness};for(var Te in ne)ne.hasOwnProperty(Te)&&(he[Te]=ne[Te]);return new Ve(he)},Z.havingStyle=function(ne){return this.style===ne?this:this.extend({style:ne,size:ti(this.textSize,ne)})},Z.havingCrampedStyle=function(){return this.havingStyle(this.style.cramp())},Z.havingSize=function(ne){return this.size===ne&&this.textSize===ne?this:this.extend({style:this.style.text(),size:ne,textSize:ne,sizeMultiplier:Bn[ne-1]})},Z.havingBaseStyle=function(ne){ne=ne||this.style.text();var he=ti(Ve.BASESIZE,ne);return this.size===he&&this.textSize===Ve.BASESIZE&&this.style===ne?this:this.extend({style:ne,size:he})},Z.havingBaseSizing=function(){var ne;switch(this.style.id){case 4:case 5:ne=3;break;case 6:case 7:ne=1;break;default:ne=6}return this.extend({style:this.style.text(),size:ne})},Z.withColor=function(ne){return this.extend({color:ne})},Z.withPhantom=function(){return this.extend({phantom:!0})},Z.withFont=function(ne){return this.extend({font:ne})},Z.withTextFontFamily=function(ne){return this.extend({fontFamily:ne,font:""})},Z.withTextFontWeight=function(ne){return this.extend({fontWeight:ne,font:""})},Z.withTextFontShape=function(ne){return this.extend({fontShape:ne,font:""})},Z.sizingClasses=function(ne){return ne.size!==this.size?["sizing","reset-size"+ne.size,"size"+this.size]:[]},Z.baseSizingClasses=function(){return this.size!==Ve.BASESIZE?["sizing","reset-size"+this.size,"size"+Ve.BASESIZE]:[]},Z.fontMetrics=function(){return this._fontMetrics||(this._fontMetrics=Zt(this.size)),this._fontMetrics},Z.getColor=function(){return this.phantom?"transparent":this.color},Ve}();Un.BASESIZE=6;var Ri=Un,ni={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},ci={ex:!0,em:!0,mu:!0},gi=function(Z){return typeof Z!="string"&&(Z=Z.unit),Z in ni||Z in ci||Z==="ex"},di=function(Z,X){var ne;if(Z.unit in ni)ne=ni[Z.unit]/X.fontMetrics().ptPerEm/X.sizeMultiplier;else if(Z.unit==="mu")ne=X.fontMetrics().cssEmPerMu;else{var he;if(X.style.isTight()?he=X.havingStyle(X.style.text()):he=X,Z.unit==="ex")ne=he.fontMetrics().xHeight;else if(Z.unit==="em")ne=he.fontMetrics().quad;else throw new o("Invalid unit: '"+Z.unit+"'");he!==X&&(ne*=he.sizeMultiplier/X.sizeMultiplier)}return Math.min(Z.number*ne,X.maxSize)},Qi=["\\imath","\u0131","\\jmath","\u0237","\\pounds","\\mathsterling","\\textsterling","\xA3"],Gn=function(Z,X,ne){return Fe[ne][Z]&&Fe[ne][Z].replace&&(Z=Fe[ne][Z].replace),{value:Z,metrics:Kt(Z,X,ne)}},Xi=function(Z,X,ne,he,Te){var Ke=Gn(Z,X,ne),Ct=Ke.metrics;Z=Ke.value;var jt;if(Ct){var ir=Ct.italic;(ne==="text"||he&&he.font==="mathit")&&(ir=0),jt=new Ce(Z,Ct.height,Ct.depth,ir,Ct.skew,Ct.width,Te)}else typeof console!="undefined"&&console.warn("No character metrics "+("for '"+Z+"' in style '"+X+"' and mode '"+ne+"'")),jt=new Ce(Z,0,0,0,0,0,Te);if(he){jt.maxFontSize=he.sizeMultiplier,he.style.isTight()&&jt.classes.push("mtight");var It=he.getColor();It&&(jt.style.color=It)}return jt},Et=function(Z,X,ne,he){return he===void 0&&(he=[]),ne.font==="boldsymbol"&&Gn(Z,"Main-Bold",X).metrics?Xi(Z,"Main-Bold",X,ne,he.concat(["mathbf"])):Z==="\\"||Fe[X][Z].font==="main"?Xi(Z,"Main-Regular",X,ne,he):Xi(Z,"AMS-Regular",X,ne,he.concat(["amsrm"]))},st=function(Z,X,ne,he){return/[0-9]/.test(Z.charAt(0))||C.contains(Qi,Z)?{fontName:"Main-Italic",fontClass:"mathit"}:{fontName:"Math-Italic",fontClass:"mathdefault"}},Vn=function(Z,X,ne,he){return C.contains(Qi,Z)?{fontName:"Main-Italic",fontClass:"mathit"}:/[0-9]/.test(Z.charAt(0))?{fontName:"Caligraphic-Regular",fontClass:"mathcal"}:{fontName:"Math-Italic",fontClass:"mathdefault"}},yi=function(Z,X,ne,he){return Gn(Z,"Math-BoldItalic",X).metrics?{fontName:"Math-BoldItalic",fontClass:"boldsymbol"}:{fontName:"Main-Bold",fontClass:"mathbf"}},Kn=function(Z,X,ne){var he=Z.mode,Te=Z.text,Ke=["mord"],Ct=he==="math"||he==="text"&&X.font,jt=Ct?X.font:X.fontFamily;if(Te.charCodeAt(0)===55349){var ir=Vr(Te,he),It=ir[0],Ur=ir[1];return Xi(Te,It,he,X,Ke.concat(Ur))}else if(jt){var en,bn;if(jt==="boldsymbol"||jt==="mathnormal"){var $n=jt==="boldsymbol"?yi(Te,he,X,Ke):Vn(Te,he,X,Ke);en=$n.fontName,bn=[$n.fontClass]}else C.contains(Qi,Te)?(en="Main-Italic",bn=["mathit"]):Ct?(en=Ze[jt].fontName,bn=[jt]):(en=$r(jt,X.fontWeight,X.fontShape),bn=[jt,X.fontWeight,X.fontShape]);if(Gn(Te,en,he).metrics)return Xi(Te,en,he,X,Ke.concat(bn));if(Zr.hasOwnProperty(Te)&&en.substr(0,10)==="Typewriter"){for(var Hn=[],Si=0;Si<Te.length;Si++)Hn.push(Xi(Te[Si],en,he,X,Ke.concat(bn)));return Ot(Hn)}}if(ne==="mathord"){var da=st(Te,he,X,Ke);return Xi(Te,da.fontName,he,X,Ke.concat([da.fontClass]))}else if(ne==="textord"){var aa=Fe[he][Te]&&Fe[he][Te].font;if(aa==="ams"){var ca=$r("amsrm",X.fontWeight,X.fontShape);return Xi(Te,ca,he,X,Ke.concat("amsrm",X.fontWeight,X.fontShape))}else if(aa==="main"||!aa){var Ma=$r("textrm",X.fontWeight,X.fontShape);return Xi(Te,Ma,he,X,Ke.concat(X.fontWeight,X.fontShape))}else{var es=$r(aa,X.fontWeight,X.fontShape);return Xi(Te,es,he,X,Ke.concat(es,X.fontWeight,X.fontShape))}}else throw new Error("unexpected type: "+ne+" in makeOrd")},Ki=function(Z,X){if(Tt(Z.classes)!==Tt(X.classes)||Z.skew!==X.skew||Z.maxFontSize!==X.maxFontSize)return!1;for(var ne in Z.style)if(Z.style.hasOwnProperty(ne)&&Z.style[ne]!==X.style[ne])return!1;for(var he in X.style)if(X.style.hasOwnProperty(he)&&Z.style[he]!==X.style[he])return!1;return!0},_i=function(Z){for(var X=0;X<Z.length-1;X++){var ne=Z[X],he=Z[X+1];ne instanceof Ce&&he instanceof Ce&&Ki(ne,he)&&(ne.text+=he.text,ne.height=Math.max(ne.height,he.height),ne.depth=Math.max(ne.depth,he.depth),ne.italic=he.italic,Z.splice(X+1,1),X--)}return Z},ei=function(Z){for(var X=0,ne=0,he=0,Te=0;Te<Z.children.length;Te++){var Ke=Z.children[Te];Ke.height>X&&(X=Ke.height),Ke.depth>ne&&(ne=Ke.depth),Ke.maxFontSize>he&&(he=Ke.maxFontSize)}Z.height=X,Z.depth=ne,Z.maxFontSize=he},vn=function(Z,X,ne,he){var Te=new dt(Z,X,ne,he);return ei(Te),Te},er=function(Z,X,ne,he){return new dt(Z,X,ne,he)},pt=function(Z,X,ne){var he=vn([Z],[],X);return he.height=Math.max(ne||X.fontMetrics().defaultRuleThickness,X.minRuleThickness),he.style.borderBottomWidth=he.height+"em",he.maxFontSize=1,he},rt=function(Z,X,ne,he){var Te=new tt(Z,X,ne,he);return ei(Te),Te},Ot=function(Z){var X=new Ge(Z);return ei(X),X},ft=function(Z,X){return Z instanceof Ge?vn([],[Z],X):Z},ur=function(Z){if(Z.positionType==="individualShift"){for(var X=Z.children,ne=[X[0]],he=-X[0].shift-X[0].elem.depth,Te=he,Ke=1;Ke<X.length;Ke++){var Ct=-X[Ke].shift-Te-X[Ke].elem.depth,jt=Ct-(X[Ke-1].elem.height+X[Ke-1].elem.depth);Te=Te+Ct,ne.push({type:"kern",size:jt}),ne.push(X[Ke])}return{children:ne,depth:he}}var ir;if(Z.positionType==="top"){for(var It=Z.positionData,Ur=0;Ur<Z.children.length;Ur++){var en=Z.children[Ur];It-=en.type==="kern"?en.size:en.elem.height+en.elem.depth}ir=It}else if(Z.positionType==="bottom")ir=-Z.positionData;else{var bn=Z.children[0];if(bn.type!=="elem")throw new Error('First child must have type "elem".');if(Z.positionType==="shift")ir=-bn.elem.depth-Z.positionData;else if(Z.positionType==="firstBaseline")ir=-bn.elem.depth;else throw new Error("Invalid positionType "+Z.positionType+".")}return{children:Z.children,depth:ir}},fr=function(Z,X){for(var ne=ur(Z),he=ne.children,Te=ne.depth,Ke=0,Ct=0;Ct<he.length;Ct++){var jt=he[Ct];if(jt.type==="elem"){var ir=jt.elem;Ke=Math.max(Ke,ir.maxFontSize,ir.height)}}Ke+=2;var It=vn(["pstrut"],[]);It.style.height=Ke+"em";for(var Ur=[],en=Te,bn=Te,$n=Te,Hn=0;Hn<he.length;Hn++){var Si=he[Hn];if(Si.type==="kern")$n+=Si.size;else{var da=Si.elem,aa=Si.wrapperClasses||[],ca=Si.wrapperStyle||{},Ma=vn(aa,[It,da],void 0,ca);Ma.style.top=-Ke-$n-da.depth+"em",Si.marginLeft&&(Ma.style.marginLeft=Si.marginLeft),Si.marginRight&&(Ma.style.marginRight=Si.marginRight),Ur.push(Ma),$n+=da.height+da.depth}en=Math.min(en,$n),bn=Math.max(bn,$n)}var es=vn(["vlist"],Ur);es.style.height=bn+"em";var bs;if(en<0){var Za=vn([],[]),qi=vn(["vlist"],[Za]);qi.style.height=-en+"em";var Ns=vn(["vlist-s"],[new Ce("\u200B")]);bs=[vn(["vlist-r"],[es,Ns]),vn(["vlist-r"],[qi])]}else bs=[vn(["vlist-r"],[es])];var Is=vn(["vlist-t"],bs);return bs.length===2&&Is.classes.push("vlist-t2"),Is.height=bn,Is.depth=-en,Is},Tr=function(Z,X){var ne=vn(["mspace"],[],X),he=di(Z,X);return ne.style.marginRight=he+"em",ne},$r=function(Z,X,ne){var he="";switch(Z){case"amsrm":he="AMS";break;case"textrm":he="Main";break;case"textsf":he="SansSerif";break;case"texttt":he="Typewriter";break;default:he=Z}var Te;return X==="textbf"&&ne==="textit"?Te="BoldItalic":X==="textbf"?Te="Bold":X==="textit"?Te="Italic":Te="Regular",he+"-"+Te},Ze={mathbf:{variant:"bold",fontName:"Main-Bold"},mathrm:{variant:"normal",fontName:"Main-Regular"},textit:{variant:"italic",fontName:"Main-Italic"},mathit:{variant:"italic",fontName:"Main-Italic"},mathbb:{variant:"double-struck",fontName:"AMS-Regular"},mathcal:{variant:"script",fontName:"Caligraphic-Regular"},mathfrak:{variant:"fraktur",fontName:"Fraktur-Regular"},mathscr:{variant:"script",fontName:"Script-Regular"},mathsf:{variant:"sans-serif",fontName:"SansSerif-Regular"},mathtt:{variant:"monospace",fontName:"Typewriter-Regular"}},qe={vec:["vec",.471,.714],oiintSize1:["oiintSize1",.957,.499],oiintSize2:["oiintSize2",1.472,.659],oiiintSize1:["oiiintSize1",1.304,.499],oiiintSize2:["oiiintSize2",1.98,.659]},Ee=function(Z,X){var ne=qe[Z],he=ne[0],Te=ne[1],Ke=ne[2],Ct=new je(he),jt=new Me([Ct],{width:Te+"em",height:Ke+"em",style:"width:"+Te+"em",viewBox:"0 0 "+1e3*Te+" "+1e3*Ke,preserveAspectRatio:"xMinYMin"}),ir=er(["overlay"],[jt],X);return ir.height=Ke,ir.style.height=Ke+"em",ir.style.width=Te+"em",ir},ot={fontMap:Ze,makeSymbol:Xi,mathsym:Et,makeSpan:vn,makeSvgSpan:er,makeLineSpan:pt,makeAnchor:rt,makeFragment:Ot,wrapFragment:ft,makeVList:fr,makeOrd:Kn,makeGlue:Tr,staticSvg:Ee,svgData:qe,tryCombineChars:_i};function ar(Ve,Z){var X=br(Ve,Z);if(!X)throw new Error("Expected node of type "+Z+", but got "+(Ve?"node of type "+Ve.type:String(Ve)));return X}function br(Ve,Z){return Ve&&Ve.type===Z?Ve:null}function Dr(Ve,Z){var X=Pr(Ve,Z);if(!X)throw new Error('Expected node of type "atom" and family "'+Z+'", but got '+(Ve?Ve.type==="atom"?"atom of family "+Ve.family:"node of type "+Ve.type:String(Ve)));return X}function Pr(Ve,Z){return Ve&&Ve.type==="atom"&&Ve.family===Z?Ve:null}function Fr(Ve){var Z=mn(Ve);if(!Z)throw new Error("Expected node of symbol group type, but got "+(Ve?"node of type "+Ve.type:String(Ve)));return Z}function mn(Ve){return Ve&&(Ve.type==="atom"||tr.hasOwnProperty(Ve.type))?Ve:null}var Er={number:3,unit:"mu"},un={number:4,unit:"mu"},Jr={number:5,unit:"mu"},sn={mord:{mop:Er,mbin:un,mrel:Jr,minner:Er},mop:{mord:Er,mop:Er,mrel:Jr,minner:Er},mbin:{mord:un,mop:un,mopen:un,minner:un},mrel:{mord:Jr,mop:Jr,mopen:Jr,minner:Jr},mopen:{},mclose:{mop:Er,mbin:un,mrel:Jr,minner:Er},mpunct:{mord:Er,mop:Er,mrel:Jr,mopen:Er,mclose:Er,mpunct:Er,minner:Er},minner:{mord:Er,mop:Er,mbin:un,mrel:Jr,mopen:Er,mpunct:Er,minner:Er}},xn={mord:{mop:Er},mop:{mord:Er,mop:Er},mbin:{},mrel:{},mopen:{},mclose:{mop:Er},mpunct:{},minner:{mop:Er}},ha={},Ci={},li={};function _n(Ve){for(var Z=Ve.type,X=Ve.names,ne=Ve.props,he=Ve.handler,Te=Ve.htmlBuilder,Ke=Ve.mathmlBuilder,Ct={type:Z,numArgs:ne.numArgs,argTypes:ne.argTypes,greediness:ne.greediness===void 0?1:ne.greediness,allowedInText:!!ne.allowedInText,allowedInMath:ne.allowedInMath===void 0?!0:ne.allowedInMath,numOptionalArgs:ne.numOptionalArgs||0,infix:!!ne.infix,handler:he},jt=0;jt<X.length;++jt)ha[X[jt]]=Ct;Z&&(Te&&(Ci[Z]=Te),Ke&&(li[Z]=Ke))}function ai(Ve){var Z=Ve.type,X=Ve.htmlBuilder,ne=Ve.mathmlBuilder;_n({type:Z,names:[],props:{numArgs:0},handler:function(){throw new Error("Should never be called.")},htmlBuilder:X,mathmlBuilder:ne})}var Fi=function(Z){var X=br(Z,"ordgroup");return X?X.body:[Z]},oa=ot.makeSpan,Cs=["leftmost","mbin","mopen","mrel","mop","mpunct"],ua=["rightmost","mrel","mclose","mpunct"],ms={display:z.DISPLAY,text:z.TEXT,script:z.SCRIPT,scriptscript:z.SCRIPTSCRIPT},Ts={mord:"mord",mop:"mop",mbin:"mbin",mrel:"mrel",mopen:"mopen",mclose:"mclose",mpunct:"mpunct",minner:"minner"},Ra=function(Z,X,ne,he){he===void 0&&(he=[null,null]);for(var Te=[],Ke=0;Ke<Z.length;Ke++){var Ct=zi(Z[Ke],X);if(Ct instanceof Ge){var jt=Ct.children;Te.push.apply(Te,jt)}else Te.push(Ct)}if(!ne)return Te;var ir=X;if(Z.length===1){var It=br(Z[0],"sizing")||br(Z[0],"styling");It&&(It.type==="sizing"?ir=X.havingSize(It.size):It.type==="styling"&&(ir=X.havingStyle(ms[It.style])))}var Ur=oa([he[0]||"leftmost"],[],X),en=oa([he[1]||"rightmost"],[],X);return ws(Te,function(bn,$n){var Hn=$n.classes[0],Si=bn.classes[0];Hn==="mbin"&&C.contains(ua,Si)?$n.classes[0]="mord":Si==="mbin"&&C.contains(Cs,Hn)&&(bn.classes[0]="mord")},{node:Ur},en),ws(Te,function(bn,$n){var Hn=Ga($n),Si=Ga(bn),da=Hn&&Si?bn.hasClass("mtight")?xn[Hn][Si]:sn[Hn][Si]:null;if(da)return ot.makeGlue(da,ir)},{node:Ur},en),Te},ws=function Ve(Z,X,ne,he){he&&Z.push(he);for(var Te=0;Te<Z.length;Te++){var Ke=Z[Te],Ct=Zn(Ke);if(Ct){Ve(Ct.children,X,ne);continue}if(Ke.classes[0]!=="mspace"){var jt=X(Ke,ne.node);jt&&(ne.insertAfter?ne.insertAfter(jt):(Z.unshift(jt),Te++)),ne.node=Ke,ne.insertAfter=function(ir){return function(It){Z.splice(ir+1,0,It),Te++}}(Te)}}he&&Z.pop()},Zn=function(Z){return Z instanceof Ge||Z instanceof tt?Z:null},ns=function Ve(Z,X){var ne=Zn(Z);if(ne){var he=ne.children;if(he.length){if(X==="right")return Ve(he[he.length-1],"right");if(X==="left")return Ve(he[0],"left")}}return Z},Ga=function(Z,X){return Z?(X&&(Z=ns(Z,X)),Ts[Z.classes[0]]||null):null},Ps=function(Z,X){var ne=["nulldelimiter"].concat(Z.baseSizingClasses());return oa(X.concat(ne))},zi=function(Z,X,ne){if(!Z)return oa();if(Ci[Z.type]){var he=Ci[Z.type](Z,X);if(ne&&X.size!==ne.size){he=oa(X.sizingClasses(ne),[he],X);var Te=X.sizeMultiplier/ne.sizeMultiplier;he.height*=Te,he.depth*=Te}return he}else throw new o("Got group of unknown type: '"+Z.type+"'")};function vs(Ve,Z){var X=oa(["base"],Ve,Z),ne=oa(["strut"]);return ne.style.height=X.height+X.depth+"em",ne.style.verticalAlign=-X.depth+"em",X.children.unshift(ne),X}function Po(Ve,Z){var X=null;Ve.length===1&&Ve[0].type==="tag"&&(X=Ve[0].tag,Ve=Ve[0].body);for(var ne=Ra(Ve,Z,!0),he=[],Te=[],Ke=0;Ke<ne.length;Ke++)if(Te.push(ne[Ke]),ne[Ke].hasClass("mbin")||ne[Ke].hasClass("mrel")||ne[Ke].hasClass("allowbreak")){for(var Ct=!1;Ke<ne.length-1&&ne[Ke+1].hasClass("mspace")&&!ne[Ke+1].hasClass("newline");)Ke++,Te.push(ne[Ke]),ne[Ke].hasClass("nobreak")&&(Ct=!0);Ct||(he.push(vs(Te,Z)),Te=[])}else ne[Ke].hasClass("newline")&&(Te.pop(),Te.length>0&&(he.push(vs(Te,Z)),Te=[]),he.push(ne[Ke]));Te.length>0&&he.push(vs(Te,Z));var jt;X&&(jt=vs(Ra(X,Z,!0)),jt.classes=["tag"],he.push(jt));var ir=oa(["katex-html"],he);if(ir.setAttribute("aria-hidden","true"),jt){var It=jt.children[0];It.style.height=ir.height+ir.depth+"em",It.style.verticalAlign=-ir.depth+"em"}return ir}function Pa(Ve){return new Ge(Ve)}var ta=function(){function Ve(X,ne){this.type=void 0,this.attributes=void 0,this.children=void 0,this.type=X,this.attributes={},this.children=ne||[]}var Z=Ve.prototype;return Z.setAttribute=function(ne,he){this.attributes[ne]=he},Z.getAttribute=function(ne){return this.attributes[ne]},Z.toNode=function(){var ne=document.createElementNS("http://www.w3.org/1998/Math/MathML",this.type);for(var he in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,he)&&ne.setAttribute(he,this.attributes[he]);for(var Te=0;Te<this.children.length;Te++)ne.appendChild(this.children[Te].toNode());return ne},Z.toMarkup=function(){var ne="<"+this.type;for(var he in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,he)&&(ne+=" "+he+'="',ne+=C.escape(this.attributes[he]),ne+='"');ne+=">";for(var Te=0;Te<this.children.length;Te++)ne+=this.children[Te].toMarkup();return ne+="</"+this.type+">",ne},Z.toText=function(){return this.children.map(function(ne){return ne.toText()}).join("")},Ve}(),Fa=function(){function Ve(X){this.text=void 0,this.text=X}var Z=Ve.prototype;return Z.toNode=function(){return document.createTextNode(this.text)},Z.toMarkup=function(){return C.escape(this.toText())},Z.toText=function(){return this.text},Ve}(),Ks=function(){function Ve(X){this.width=void 0,this.character=void 0,this.width=X,X>=.05555&&X<=.05556?this.character="\u200A":X>=.1666&&X<=.1667?this.character="\u2009":X>=.2222&&X<=.2223?this.character="\u2005":X>=.2777&&X<=.2778?this.character="\u2005\u200A":X>=-.05556&&X<=-.05555?this.character="\u200A\u2063":X>=-.1667&&X<=-.1666?this.character="\u2009\u2063":X>=-.2223&&X<=-.2222?this.character="\u205F\u2063":X>=-.2778&&X<=-.2777?this.character="\u2005\u2063":this.character=null}var Z=Ve.prototype;return Z.toNode=function(){if(this.character)return document.createTextNode(this.character);var ne=document.createElementNS("http://www.w3.org/1998/Math/MathML","mspace");return ne.setAttribute("width",this.width+"em"),ne},Z.toMarkup=function(){return this.character?"<mtext>"+this.character+"</mtext>":'<mspace width="'+this.width+'em"/>'},Z.toText=function(){return this.character?this.character:" "},Ve}(),In={MathNode:ta,TextNode:Fa,SpaceNode:Ks,newDocumentFragment:Pa},La=function(Z,X,ne){return Fe[X][Z]&&Fe[X][Z].replace&&Z.charCodeAt(0)!==55349&&!(Zr.hasOwnProperty(Z)&&ne&&(ne.fontFamily&&ne.fontFamily.substr(4,2)==="tt"||ne.font&&ne.font.substr(4,2)==="tt"))&&(Z=Fe[X][Z].replace),new In.TextNode(Z)},as=function(Z){return Z.length===1?Z[0]:new In.MathNode("mrow",Z)},ss=function(Z,X){if(X.fontFamily==="texttt")return"monospace";if(X.fontFamily==="textsf")return X.fontShape==="textit"&&X.fontWeight==="textbf"?"sans-serif-bold-italic":X.fontShape==="textit"?"sans-serif-italic":X.fontWeight==="textbf"?"bold-sans-serif":"sans-serif";if(X.fontShape==="textit"&&X.fontWeight==="textbf")return"bold-italic";if(X.fontShape==="textit")return"italic";if(X.fontWeight==="textbf")return"bold";var ne=X.font;if(!ne||ne==="mathnormal")return null;var he=Z.mode;if(ne==="mathit")return"italic";if(ne==="boldsymbol")return"bold-italic";if(ne==="mathbf")return"bold";if(ne==="mathbb")return"double-struck";if(ne==="mathfrak")return"fraktur";if(ne==="mathscr"||ne==="mathcal")return"script";if(ne==="mathsf")return"sans-serif";if(ne==="mathtt")return"monospace";var Te=Z.text;if(C.contains(["\\imath","\\jmath"],Te))return null;Fe[he][Te]&&Fe[he][Te].replace&&(Te=Fe[he][Te].replace);var Ke=ot.fontMap[ne].fontName;return Kt(Te,Ke,he)?ot.fontMap[ne].variant:null},Li=function(Z,X,ne){if(Z.length===1){var he=Ia(Z[0],X);return ne&&he instanceof ta&&he.type==="mo"&&(he.setAttribute("lspace","0em"),he.setAttribute("rspace","0em")),[he]}for(var Te=[],Ke,Ct=0;Ct<Z.length;Ct++){var jt=Ia(Z[Ct],X);if(jt instanceof ta&&Ke instanceof ta){if(jt.type==="mtext"&&Ke.type==="mtext"&&jt.getAttribute("mathvariant")===Ke.getAttribute("mathvariant")){var ir;(ir=Ke.children).push.apply(ir,jt.children);continue}else if(jt.type==="mn"&&Ke.type==="mn"){var It;(It=Ke.children).push.apply(It,jt.children);continue}else if(jt.type==="mi"&&jt.children.length===1&&Ke.type==="mn"){var Ur=jt.children[0];if(Ur instanceof Fa&&Ur.text==="."){var en;(en=Ke.children).push.apply(en,jt.children);continue}}else if(Ke.type==="mi"&&Ke.children.length===1){var bn=Ke.children[0];if(bn instanceof Fa&&bn.text==="\u0338"&&(jt.type==="mo"||jt.type==="mi"||jt.type==="mn")){var $n=jt.children[0];$n instanceof Fa&&$n.text.length>0&&($n.text=$n.text.slice(0,1)+"\u0338"+$n.text.slice(1),Te.pop())}}}Te.push(jt),Ke=jt}return Te},Da=function(Z,X,ne){return as(Li(Z,X,ne))},Ia=function(Z,X){if(!Z)return new In.MathNode("mrow");if(li[Z.type]){var ne=li[Z.type](Z,X);return ne}else throw new o("Got group of unknown type: '"+Z.type+"'")};function cs(Ve,Z,X,ne){var he=Li(Ve,X),Te;he.length===1&&he[0]instanceof ta&&C.contains(["mrow","mtable"],he[0].type)?Te=he[0]:Te=new In.MathNode("mrow",he);var Ke=new In.MathNode("annotation",[new In.TextNode(Z)]);Ke.setAttribute("encoding","application/x-tex");var Ct=new In.MathNode("semantics",[Te,Ke]),jt=new In.MathNode("math",[Ct]);jt.setAttribute("xmlns","http://www.w3.org/1998/Math/MathML");var ir=ne?"katex":"katex-mathml";return ot.makeSpan([ir],[jt])}var Ys=function(Z){return new Ri({style:Z.displayMode?z.DISPLAY:z.TEXT,maxSize:Z.maxSize,minRuleThickness:Z.minRuleThickness})},Eo=function(Z,X){if(X.displayMode){var ne=["katex-display"];X.leqno&&ne.push("leqno"),X.fleqn&&ne.push("fleqn"),Z=ot.makeSpan(ne,[Z])}return Z},Io=function(Z,X,ne){var he=Ys(ne),Te;if(ne.output==="mathml")return cs(Z,X,he,!0);if(ne.output==="html"){var Ke=Po(Z,he);Te=ot.makeSpan(["katex"],[Ke])}else{var Ct=cs(Z,X,he,!1),jt=Po(Z,he);Te=ot.makeSpan(["katex"],[Ct,jt])}return Eo(Te,ne)},Do=function(Z,X,ne){var he=Ys(ne),Te=Po(Z,he),Ke=ot.makeSpan(["katex"],[Te]);return Eo(Ke,ne)},Ba=Io,qa={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"},lo=function(Z){var X=new In.MathNode("mo",[new In.TextNode(qa[Z.substr(1)])]);return X.setAttribute("stretchy","true"),X},Oo={overrightarrow:[["rightarrow"],.888,522,"xMaxYMin"],overleftarrow:[["leftarrow"],.888,522,"xMinYMin"],underrightarrow:[["rightarrow"],.888,522,"xMaxYMin"],underleftarrow:[["leftarrow"],.888,522,"xMinYMin"],xrightarrow:[["rightarrow"],1.469,522,"xMaxYMin"],xleftarrow:[["leftarrow"],1.469,522,"xMinYMin"],Overrightarrow:[["doublerightarrow"],.888,560,"xMaxYMin"],xRightarrow:[["doublerightarrow"],1.526,560,"xMaxYMin"],xLeftarrow:[["doubleleftarrow"],1.526,560,"xMinYMin"],overleftharpoon:[["leftharpoon"],.888,522,"xMinYMin"],xleftharpoonup:[["leftharpoon"],.888,522,"xMinYMin"],xleftharpoondown:[["leftharpoondown"],.888,522,"xMinYMin"],overrightharpoon:[["rightharpoon"],.888,522,"xMaxYMin"],xrightharpoonup:[["rightharpoon"],.888,522,"xMaxYMin"],xrightharpoondown:[["rightharpoondown"],.888,522,"xMaxYMin"],xlongequal:[["longequal"],.888,334,"xMinYMin"],xtwoheadleftarrow:[["twoheadleftarrow"],.888,334,"xMinYMin"],xtwoheadrightarrow:[["twoheadrightarrow"],.888,334,"xMaxYMin"],overleftrightarrow:[["leftarrow","rightarrow"],.888,522],overbrace:[["leftbrace","midbrace","rightbrace"],1.6,548],underbrace:[["leftbraceunder","midbraceunder","rightbraceunder"],1.6,548],underleftrightarrow:[["leftarrow","rightarrow"],.888,522],xleftrightarrow:[["leftarrow","rightarrow"],1.75,522],xLeftrightarrow:[["doubleleftarrow","doublerightarrow"],1.75,560],xrightleftharpoons:[["leftharpoondownplus","rightharpoonplus"],1.75,716],xleftrightharpoons:[["leftharpoonplus","rightharpoondownplus"],1.75,716],xhookleftarrow:[["leftarrow","righthook"],1.08,522],xhookrightarrow:[["lefthook","rightarrow"],1.08,522],overlinesegment:[["leftlinesegment","rightlinesegment"],.888,522],underlinesegment:[["leftlinesegment","rightlinesegment"],.888,522],overgroup:[["leftgroup","rightgroup"],.888,342],undergroup:[["leftgroupunder","rightgroupunder"],.888,342],xmapsto:[["leftmapsto","rightarrow"],1.5,522],xtofrom:[["leftToFrom","rightToFrom"],1.75,528],xrightleftarrows:[["baraboveleftarrow","rightarrowabovebar"],1.75,901],xrightequilibrium:[["baraboveshortleftharpoon","rightharpoonaboveshortbar"],1.75,716],xleftequilibrium:[["shortbaraboveleftharpoon","shortrightharpoonabovebar"],1.75,716]},wo=function(Z){return Z.type==="ordgroup"?Z.body.length:1},ko=function(Z,X){function ne(){var jt=4e5,ir=Z.label.substr(1);if(C.contains(["widehat","widecheck","widetilde","utilde"],ir)){var It=Z,Ur=wo(It.base),en,bn,$n;if(Ur>5)ir==="widehat"||ir==="widecheck"?(en=420,jt=2364,$n=.42,bn=ir+"4"):(en=312,jt=2340,$n=.34,bn="tilde4");else{var Hn=[1,1,2,2,3,3][Ur];ir==="widehat"||ir==="widecheck"?(jt=[0,1062,2364,2364,2364][Hn],en=[0,239,300,360,420][Hn],$n=[0,.24,.3,.3,.36,.42][Hn],bn=ir+Hn):(jt=[0,600,1033,2339,2340][Hn],en=[0,260,286,306,312][Hn],$n=[0,.26,.286,.3,.306,.34][Hn],bn="tilde"+Hn)}var Si=new je(bn),da=new Me([Si],{width:"100%",height:$n+"em",viewBox:"0 0 "+jt+" "+en,preserveAspectRatio:"none"});return{span:ot.makeSvgSpan([],[da],X),minWidth:0,height:$n}}else{var aa=[],ca=Oo[ir],Ma=ca[0],es=ca[1],bs=ca[2],Za=bs/1e3,qi=Ma.length,Ns,Is;if(qi===1){var pi=ca[3];Ns=["hide-tail"],Is=[pi]}else if(qi===2)Ns=["halfarrow-left","halfarrow-right"],Is=["xMinYMin","xMaxYMin"];else if(qi===3)Ns=["brace-left","brace-center","brace-right"],Is=["xMinYMin","xMidYMin","xMaxYMin"];else throw new Error(`Correct katexImagesData or update code here to support
|
|
|
`+qi+" children.");for(var ho=0;ho<qi;ho++){var so=new je(Ma[ho]),Qo=new Me([so],{width:"400em",height:Za+"em",viewBox:"0 0 "+jt+" "+bs,preserveAspectRatio:Is[ho]+" slice"}),Rs=ot.makeSvgSpan([Ns[ho]],[Qo],X);if(qi===1)return{span:Rs,minWidth:es,height:Za};Rs.style.height=Za+"em",aa.push(Rs)}return{span:ot.makeSpan(["stretchy"],aa,X),minWidth:es,height:Za}}}var he=ne(),Te=he.span,Ke=he.minWidth,Ct=he.height;return Te.height=Ct,Te.style.height=Ct+"em",Ke>0&&(Te.style.minWidth=Ke+"em"),Te},fi=function(Z,X,ne,he){var Te,Ke=Z.height+Z.depth+2*ne;if(/fbox|color/.test(X)){if(Te=ot.makeSpan(["stretchy",X],[],he),X==="fbox"){var Ct=he.color&&he.getColor();Ct&&(Te.style.borderColor=Ct)}}else{var jt=[];/^[bx]cancel$/.test(X)&&jt.push(new We({x1:"0",y1:"0",x2:"100%",y2:"100%","stroke-width":"0.046em"})),/^x?cancel$/.test(X)&&jt.push(new We({x1:"0",y1:"100%",x2:"100%",y2:"0","stroke-width":"0.046em"}));var ir=new Me(jt,{width:"100%",height:Ke+"em"});Te=ot.makeSvgSpan([],[ir],he)}return Te.height=Ke,Te.style.height=Ke+"em",Te},si={encloseSpan:fi,mathMLnode:lo,svgSpan:ko},Na=function(Z,X){var ne,he,Te=br(Z,"supsub"),Ke;Te?(he=ar(Te.base,"accent"),ne=he.base,Te.base=ne,Ke=lt(zi(Te,X)),Te.base=he):(he=ar(Z,"accent"),ne=he.base);var Ct=zi(ne,X.havingCrampedStyle()),jt=he.isShifty&&C.isCharacterBox(ne),ir=0;if(jt){var It=C.getBaseElem(ne),Ur=zi(It,X.havingCrampedStyle());ir=nt(Ur).skew}var en=Math.min(Ct.height,X.fontMetrics().xHeight),bn;if(he.isStretchy)bn=si.svgSpan(he,X),bn=ot.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:Ct},{type:"elem",elem:bn,wrapperClasses:["svg-align"],wrapperStyle:ir>0?{width:"calc(100% - "+2*ir+"em)",marginLeft:2*ir+"em"}:void 0}]},X);else{var $n,Hn;he.label==="\\vec"?($n=ot.staticSvg("vec",X),Hn=ot.svgData.vec[1]):($n=ot.makeOrd({mode:he.mode,text:he.label},X,"textord"),$n=nt($n),$n.italic=0,Hn=$n.width),bn=ot.makeSpan(["accent-body"],[$n]);var Si=he.label==="\\textcircled";Si&&(bn.classes.push("accent-full"),en=Ct.height);var da=ir;Si||(da-=Hn/2),bn.style.left=da+"em",he.label==="\\textcircled"&&(bn.style.top=".2em"),bn=ot.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:Ct},{type:"kern",size:-en},{type:"elem",elem:bn}]},X)}var aa=ot.makeSpan(["mord","accent"],[bn],X);return Ke?(Ke.children[0]=aa,Ke.height=Math.max(aa.height,Ke.height),Ke.classes[0]="mord",Ke):aa},Va=function(Z,X){var ne=Z.isStretchy?si.mathMLnode(Z.label):new In.MathNode("mo",[La(Z.label,Z.mode)]),he=new In.MathNode("mover",[Ia(Z.base,X),ne]);return he.setAttribute("accent","true"),he},$a=new RegExp(["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring"].map(function(Ve){return"\\"+Ve}).join("|"));_n({type:"accent",names:["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring","\\widecheck","\\widehat","\\widetilde","\\overrightarrow","\\overleftarrow","\\Overrightarrow","\\overleftrightarrow","\\overgroup","\\overlinesegment","\\overleftharpoon","\\overrightharpoon"],props:{numArgs:1},handler:function(Z,X){var ne=X[0],he=!$a.test(Z.funcName),Te=!he||Z.funcName==="\\widehat"||Z.funcName==="\\widetilde"||Z.funcName==="\\widecheck";return{type:"accent",mode:Z.parser.mode,label:Z.funcName,isStretchy:he,isShifty:Te,base:ne}},htmlBuilder:Na,mathmlBuilder:Va}),_n({type:"accent",names:["\\'","\\`","\\^","\\~","\\=","\\u","\\.",'\\"',"\\r","\\H","\\v","\\textcircled"],props:{numArgs:1,allowedInText:!0,allowedInMath:!1},handler:function(Z,X){var ne=X[0];return{type:"accent",mode:Z.parser.mode,label:Z.funcName,isStretchy:!1,isShifty:!0,base:ne}},htmlBuilder:Na,mathmlBuilder:Va}),_n({type:"accentUnder",names:["\\underleftarrow","\\underrightarrow","\\underleftrightarrow","\\undergroup","\\underlinesegment","\\utilde"],props:{numArgs:1},handler:function(Z,X){var ne=Z.parser,he=Z.funcName,Te=X[0];return{type:"accentUnder",mode:ne.mode,label:he,base:Te}},htmlBuilder:function(Z,X){var ne=zi(Z.base,X),he=si.svgSpan(Z,X),Te=Z.label==="\\utilde"?.12:0,Ke=ot.makeVList({positionType:"bottom",positionData:he.height+Te,children:[{type:"elem",elem:he,wrapperClasses:["svg-align"]},{type:"kern",size:Te},{type:"elem",elem:ne}]},X);return ot.makeSpan(["mord","accentunder"],[Ke],X)},mathmlBuilder:function(Z,X){var ne=si.mathMLnode(Z.label),he=new In.MathNode("munder",[Ia(Z.base,X),ne]);return he.setAttribute("accentunder","true"),he}});var Xs=function(Z){var X=new In.MathNode("mpadded",Z?[Z]:[]);return X.setAttribute("width","+0.6em"),X.setAttribute("lspace","0.3em"),X};_n({type:"xArrow",names:["\\xleftarrow","\\xrightarrow","\\xLeftarrow","\\xRightarrow","\\xleftrightarrow","\\xLeftrightarrow","\\xhookleftarrow","\\xhookrightarrow","\\xmapsto","\\xrightharpoondown","\\xrightharpoonup","\\xleftharpoondown","\\xleftharpoonup","\\xrightleftharpoons","\\xleftrightharpoons","\\xlongequal","\\xtwoheadrightarrow","\\xtwoheadleftarrow","\\xtofrom","\\xrightleftarrows","\\xrightequilibrium","\\xleftequilibrium"],props:{numArgs:1,numOptionalArgs:1},handler:function(Z,X,ne){var he=Z.parser,Te=Z.funcName;return{type:"xArrow",mode:he.mode,label:Te,body:X[0],below:ne[0]}},htmlBuilder:function(Z,X){var ne=X.style,he=X.havingStyle(ne.sup()),Te=ot.wrapFragment(zi(Z.body,he,X),X);Te.classes.push("x-arrow-pad");var Ke;Z.below&&(he=X.havingStyle(ne.sub()),Ke=ot.wrapFragment(zi(Z.below,he,X),X),Ke.classes.push("x-arrow-pad"));var Ct=si.svgSpan(Z,X),jt=-X.fontMetrics().axisHeight+.5*Ct.height,ir=-X.fontMetrics().axisHeight-.5*Ct.height-.111;(Te.depth>.25||Z.label==="\\xleftequilibrium")&&(ir-=Te.depth);var It;if(Ke){var Ur=-X.fontMetrics().axisHeight+Ke.height+.5*Ct.height+.111;It=ot.makeVList({positionType:"individualShift",children:[{type:"elem",elem:Te,shift:ir},{type:"elem",elem:Ct,shift:jt},{type:"elem",elem:Ke,shift:Ur}]},X)}else It=ot.makeVList({positionType:"individualShift",children:[{type:"elem",elem:Te,shift:ir},{type:"elem",elem:Ct,shift:jt}]},X);return It.children[0].children[0].children[1].classes.push("svg-align"),ot.makeSpan(["mrel","x-arrow"],[It],X)},mathmlBuilder:function(Z,X){var ne=si.mathMLnode(Z.label),he;if(Z.body){var Te=Xs(Ia(Z.body,X));if(Z.below){var Ke=Xs(Ia(Z.below,X));he=new In.MathNode("munderover",[ne,Ke,Te])}else he=new In.MathNode("mover",[ne,Te])}else if(Z.below){var Ct=Xs(Ia(Z.below,X));he=new In.MathNode("munder",[ne,Ct])}else he=Xs(),he=new In.MathNode("mover",[ne,he]);return he}}),_n({type:"textord",names:["\\@char"],props:{numArgs:1,allowedInText:!0},handler:function(Z,X){for(var ne=Z.parser,he=ar(X[0],"ordgroup"),Te=he.body,Ke="",Ct=0;Ct<Te.length;Ct++){var jt=ar(Te[Ct],"textord");Ke+=jt.text}var ir=parseInt(Ke);if(isNaN(ir))throw new o("\\@char has non-numeric argument "+Ke);return{type:"textord",mode:ne.mode,text:String.fromCharCode(ir)}}});var So=function(Z,X){var ne=Ra(Z.body,X.withColor(Z.color),!1);return ot.makeFragment(ne)},Zo=function(Z,X){var ne=Li(Z.body,X.withColor(Z.color)),he=new In.MathNode("mstyle",ne);return he.setAttribute("mathcolor",Z.color),he};_n({type:"color",names:["\\textcolor"],props:{numArgs:2,allowedInText:!0,greediness:3,argTypes:["color","original"]},handler:function(Z,X){var ne=Z.parser,he=ar(X[0],"color-token").color,Te=X[1];return{type:"color",mode:ne.mode,color:he,body:Fi(Te)}},htmlBuilder:So,mathmlBuilder:Zo}),_n({type:"color",names:["\\color"],props:{numArgs:1,allowedInText:!0,greediness:3,argTypes:["color"]},handler:function(Z,X){var ne=Z.parser,he=Z.breakOnTokenText,Te=ar(X[0],"color-token").color;ne.gullet.macros.set("\\current@color",Te);var Ke=ne.parseExpression(!0,he);return{type:"color",mode:ne.mode,color:Te,body:Ke}},htmlBuilder:So,mathmlBuilder:Zo}),_n({type:"cr",names:["\\cr","\\newline"],props:{numArgs:0,numOptionalArgs:1,argTypes:["size"],allowedInText:!0},handler:function(Z,X,ne){var he=Z.parser,Te=Z.funcName,Ke=ne[0],Ct=Te==="\\cr",jt=!1;return Ct||(he.settings.displayMode&&he.settings.useStrictBehavior("newLineInDisplayMode","In LaTeX, \\\\ or \\newline does nothing in display mode")?jt=!1:jt=!0),{type:"cr",mode:he.mode,newLine:jt,newRow:Ct,size:Ke&&ar(Ke,"size").value}},htmlBuilder:function(Z,X){if(Z.newRow)throw new o("\\cr valid only within a tabular/array environment");var ne=ot.makeSpan(["mspace"],[],X);return Z.newLine&&(ne.classes.push("newline"),Z.size&&(ne.style.marginTop=di(Z.size,X)+"em")),ne},mathmlBuilder:function(Z,X){var ne=new In.MathNode("mspace");return Z.newLine&&(ne.setAttribute("linebreak","newline"),Z.size&&ne.setAttribute("height",di(Z.size,X)+"em")),ne}});var fs=function(Z,X,ne){var he=Fe.math[Z]&&Fe.math[Z].replace,Te=Kt(he||Z,X,ne);if(!Te)throw new Error("Unsupported symbol "+Z+" and font size "+X+".");return Te},No=function(Z,X,ne,he){var Te=ne.havingBaseStyle(X),Ke=ot.makeSpan(he.concat(Te.sizingClasses(ne)),[Z],ne),Ct=Te.sizeMultiplier/ne.sizeMultiplier;return Ke.height*=Ct,Ke.depth*=Ct,Ke.maxFontSize=Te.sizeMultiplier,Ke},Ho=function(Z,X,ne){var he=X.havingBaseStyle(ne),Te=(1-X.sizeMultiplier/he.sizeMultiplier)*X.fontMetrics().axisHeight;Z.classes.push("delimcenter"),Z.style.top=Te+"em",Z.height-=Te,Z.depth+=Te},iu=function(Z,X,ne,he,Te,Ke){var Ct=ot.makeSymbol(Z,"Main-Regular",Te,he),jt=No(Ct,X,he,Ke);return ne&&Ho(jt,he,X),jt},mo=function(Z,X,ne,he){return ot.makeSymbol(Z,"Size"+X+"-Regular",ne,he)},Cu=function(Z,X,ne,he,Te,Ke){var Ct=mo(Z,X,Te,he),jt=No(ot.makeSpan(["delimsizing","size"+X],[Ct],he),z.TEXT,he,Ke);return ne&&Ho(jt,he,z.TEXT),jt},vo=function(Z,X,ne){var he;X==="Size1-Regular"?he="delim-size1":he="delim-size4";var Te=ot.makeSpan(["delimsizinginner",he],[ot.makeSpan([],[ot.makeSymbol(Z,X,ne)])]);return{type:"elem",elem:Te}},Vs={type:"kern",size:-.005},Ko=function(Z,X,ne,he,Te,Ke){var Ct,jt,ir,It;Ct=ir=It=Z,jt=null;var Ur="Size1-Regular";Z==="\\uparrow"?ir=It="\u23D0":Z==="\\Uparrow"?ir=It="\u2016":Z==="\\downarrow"?Ct=ir="\u23D0":Z==="\\Downarrow"?Ct=ir="\u2016":Z==="\\updownarrow"?(Ct="\\uparrow",ir="\u23D0",It="\\downarrow"):Z==="\\Updownarrow"?(Ct="\\Uparrow",ir="\u2016",It="\\Downarrow"):Z==="["||Z==="\\lbrack"?(Ct="\u23A1",ir="\u23A2",It="\u23A3",Ur="Size4-Regular"):Z==="]"||Z==="\\rbrack"?(Ct="\u23A4",ir="\u23A5",It="\u23A6",Ur="Size4-Regular"):Z==="\\lfloor"||Z==="\u230A"?(ir=Ct="\u23A2",It="\u23A3",Ur="Size4-Regular"):Z==="\\lceil"||Z==="\u2308"?(Ct="\u23A1",ir=It="\u23A2",Ur="Size4-Regular"):Z==="\\rfloor"||Z==="\u230B"?(ir=Ct="\u23A5",It="\u23A6",Ur="Size4-Regular"):Z==="\\rceil"||Z==="\u2309"?(Ct="\u23A4",ir=It="\u23A5",Ur="Size4-Regular"):Z==="("||Z==="\\lparen"?(Ct="\u239B",ir="\u239C",It="\u239D",Ur="Size4-Regular"):Z===")"||Z==="\\rparen"?(Ct="\u239E",ir="\u239F",It="\u23A0",Ur="Size4-Regular"):Z==="\\{"||Z==="\\lbrace"?(Ct="\u23A7",jt="\u23A8",It="\u23A9",ir="\u23AA",Ur="Size4-Regular"):Z==="\\}"||Z==="\\rbrace"?(Ct="\u23AB",jt="\u23AC",It="\u23AD",ir="\u23AA",Ur="Size4-Regular"):Z==="\\lgroup"||Z==="\u27EE"?(Ct="\u23A7",It="\u23A9",ir="\u23AA",Ur="Size4-Regular"):Z==="\\rgroup"||Z==="\u27EF"?(Ct="\u23AB",It="\u23AD",ir="\u23AA",Ur="Size4-Regular"):Z==="\\lmoustache"||Z==="\u23B0"?(Ct="\u23A7",It="\u23AD",ir="\u23AA",Ur="Size4-Regular"):(Z==="\\rmoustache"||Z==="\u23B1")&&(Ct="\u23AB",It="\u23A9",ir="\u23AA",Ur="Size4-Regular");var en=fs(Ct,Ur,Te),bn=en.height+en.depth,$n=fs(ir,Ur,Te),Hn=$n.height+$n.depth,Si=fs(It,Ur,Te),da=Si.height+Si.depth,aa=0,ca=1;if(jt!==null){var Ma=fs(jt,Ur,Te);aa=Ma.height+Ma.depth,ca=2}var es=bn+da+aa,bs=Math.max(0,Math.ceil((X-es)/(ca*Hn))),Za=es+bs*ca*Hn,qi=he.fontMetrics().axisHeight;ne&&(qi*=he.sizeMultiplier);var Ns=Za/2-qi,Is=(bs+1)*.005-Hn,pi=[];if(pi.push(vo(It,Ur,Te)),jt===null)for(var ho=0;ho<bs;ho++)pi.push(Vs),pi.push(vo(ir,Ur,Te));else{for(var so=0;so<bs;so++)pi.push(Vs),pi.push(vo(ir,Ur,Te));pi.push({type:"kern",size:Is}),pi.push(vo(ir,Ur,Te)),pi.push(Vs),pi.push(vo(jt,Ur,Te));for(var Qo=0;Qo<bs;Qo++)pi.push(Vs),pi.push(vo(ir,Ur,Te))}pi.push({type:"kern",size:Is}),pi.push(vo(ir,Ur,Te)),pi.push(Vs),pi.push(vo(Ct,Ur,Te));var Rs=he.havingBaseStyle(z.TEXT),Ls=ot.makeVList({positionType:"bottom",positionData:Ns,children:pi},Rs);return No(ot.makeSpan(["delimsizing","mult"],[Ls],Rs),z.TEXT,he,Ke)},du=80,co=.08,go=function(Z,X,ne,he,Te){var Ke=Xt(Z,he,ne),Ct=new je(Z,Ke),jt=new Me([Ct],{width:"400em",height:X+"em",viewBox:"0 0 400000 "+ne,preserveAspectRatio:"xMinYMin slice"});return ot.makeSvgSpan(["hide-tail"],[jt],Te)},au=function(Z,X){var ne=X.havingBaseSizing(),he=Ar("\\surd",Z*ne.sizeMultiplier,sr,ne),Te=ne.sizeMultiplier,Ke=Math.max(0,X.minRuleThickness-X.fontMetrics().sqrtRuleThickness),Ct,jt=0,ir=0,It=0,Ur;return he.type==="small"?(It=1e3+1e3*Ke+du,Z<1?Te=1:Z<1.4&&(Te=.7),jt=(1+Ke+co)/Te,ir=(1+Ke)/Te,Ct=go("sqrtMain",jt,It,Ke,X),Ct.style.minWidth="0.853em",Ur=.833/Te):he.type==="large"?(It=(1e3+du)*Ao[he.size],ir=(Ao[he.size]+Ke)/Te,jt=(Ao[he.size]+Ke+co)/Te,Ct=go("sqrtSize"+he.size,jt,It,Ke,X),Ct.style.minWidth="1.02em",Ur=1/Te):(jt=Z+Ke+co,ir=Z+Ke,It=Math.floor(1e3*Z+Ke)+du,Ct=go("sqrtTall",jt,It,Ke,X),Ct.style.minWidth="0.742em",Ur=1.056),Ct.height=ir,Ct.style.height=jt+"em",{span:Ct,advanceWidth:Ur,ruleWidth:(X.fontMetrics().sqrtRuleThickness+Ke)*Te}},Ro=["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","\u230A","\u230B","\\lceil","\\rceil","\u2308","\u2309","\\surd"],$o=["\\uparrow","\\downarrow","\\updownarrow","\\Uparrow","\\Downarrow","\\Updownarrow","|","\\|","\\vert","\\Vert","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","\u27EE","\u27EF","\\lmoustache","\\rmoustache","\u23B0","\u23B1"],os=["<",">","\\langle","\\rangle","/","\\backslash","\\lt","\\gt"],Ao=[0,1.2,1.8,2.4,3],hu=function(Z,X,ne,he,Te){if(Z==="<"||Z==="\\lt"||Z==="\u27E8"?Z="\\langle":(Z===">"||Z==="\\gt"||Z==="\u27E9")&&(Z="\\rangle"),C.contains(Ro,Z)||C.contains(os,Z))return Cu(Z,X,!1,ne,he,Te);if(C.contains($o,Z))return Ko(Z,Ao[X],!1,ne,he,Te);throw new o("Illegal delimiter: '"+Z+"'")},qt=[{type:"small",style:z.SCRIPTSCRIPT},{type:"small",style:z.SCRIPT},{type:"small",style:z.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4}],hr=[{type:"small",style:z.SCRIPTSCRIPT},{type:"small",style:z.SCRIPT},{type:"small",style:z.TEXT},{type:"stack"}],sr=[{type:"small",style:z.SCRIPTSCRIPT},{type:"small",style:z.SCRIPT},{type:"small",style:z.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4},{type:"stack"}],pr=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.")},Ar=function(Z,X,ne,he){for(var Te=Math.min(2,3-he.style.size),Ke=Te;Ke<ne.length&&ne[Ke].type!=="stack";Ke++){var Ct=fs(Z,pr(ne[Ke]),"math"),jt=Ct.height+Ct.depth;if(ne[Ke].type==="small"){var ir=he.havingBaseStyle(ne[Ke].style);jt*=ir.sizeMultiplier}if(jt>X)return ne[Ke]}return ne[ne.length-1]},fn=function(Z,X,ne,he,Te,Ke){Z==="<"||Z==="\\lt"||Z==="\u27E8"?Z="\\langle":(Z===">"||Z==="\\gt"||Z==="\u27E9")&&(Z="\\rangle");var Ct;C.contains(os,Z)?Ct=qt:C.contains(Ro,Z)?Ct=sr:Ct=hr;var jt=Ar(Z,X,Ct,he);return jt.type==="small"?iu(Z,jt.style,ne,he,Te,Ke):jt.type==="large"?Cu(Z,jt.size,ne,he,Te,Ke):Ko(Z,X,ne,he,Te,Ke)},Rn=function(Z,X,ne,he,Te,Ke){var Ct=he.fontMetrics().axisHeight*he.sizeMultiplier,jt=901,ir=5/he.fontMetrics().ptPerEm,It=Math.max(X-Ct,ne+Ct),Ur=Math.max(It/500*jt,2*It-ir);return fn(Z,Ur,!0,he,Te,Ke)},wn={sqrtImage:au,sizedDelim:hu,customSizedDelim:fn,leftRightDelim:Rn},Ln={"\\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}},Jn=["(","\\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 Qn(Ve,Z){var X=mn(Ve);if(X&&C.contains(Jn,X.text))return X;throw new o("Invalid delimiter: '"+(X?X.text:JSON.stringify(Ve))+"' after '"+Z.funcName+"'",Ve)}_n({type:"delimsizing",names:["\\bigl","\\Bigl","\\biggl","\\Biggl","\\bigr","\\Bigr","\\biggr","\\Biggr","\\bigm","\\Bigm","\\biggm","\\Biggm","\\big","\\Big","\\bigg","\\Bigg"],props:{numArgs:1},handler:function(Z,X){var ne=Qn(X[0],Z);return{type:"delimsizing",mode:Z.parser.mode,size:Ln[Z.funcName].size,mclass:Ln[Z.funcName].mclass,delim:ne.text}},htmlBuilder:function(Z,X){return Z.delim==="."?ot.makeSpan([Z.mclass]):wn.sizedDelim(Z.delim,Z.size,X,Z.mode,[Z.mclass])},mathmlBuilder:function(Z){var X=[];Z.delim!=="."&&X.push(La(Z.delim,Z.mode));var ne=new In.MathNode("mo",X);return Z.mclass==="mopen"||Z.mclass==="mclose"?ne.setAttribute("fence","true"):ne.setAttribute("fence","false"),ne}});function dr(Ve){if(!Ve.body)throw new Error("Bug: The leftright ParseNode wasn't fully parsed.")}_n({type:"leftright-right",names:["\\right"],props:{numArgs:1},handler:function(Z,X){var ne=Z.parser.gullet.macros.get("\\current@color");if(ne&&typeof ne!="string")throw new o("\\current@color set to non-string in \\right");return{type:"leftright-right",mode:Z.parser.mode,delim:Qn(X[0],Z).text,color:ne}}}),_n({type:"leftright",names:["\\left"],props:{numArgs:1},handler:function(Z,X){var ne=Qn(X[0],Z),he=Z.parser;++he.leftrightDepth;var Te=he.parseExpression(!1);--he.leftrightDepth,he.expect("\\right",!1);var Ke=ar(he.parseFunction(),"leftright-right");return{type:"leftright",mode:he.mode,body:Te,left:ne.text,right:Ke.delim,rightColor:Ke.color}},htmlBuilder:function(Z,X){dr(Z);for(var ne=Ra(Z.body,X,!0,["mopen","mclose"]),he=0,Te=0,Ke=!1,Ct=0;Ct<ne.length;Ct++)ne[Ct].isMiddle?Ke=!0:(he=Math.max(ne[Ct].height,he),Te=Math.max(ne[Ct].depth,Te));he*=X.sizeMultiplier,Te*=X.sizeMultiplier;var jt;if(Z.left==="."?jt=Ps(X,["mopen"]):jt=wn.leftRightDelim(Z.left,he,Te,X,Z.mode,["mopen"]),ne.unshift(jt),Ke)for(var ir=1;ir<ne.length;ir++){var It=ne[ir],Ur=It.isMiddle;Ur&&(ne[ir]=wn.leftRightDelim(Ur.delim,he,Te,Ur.options,Z.mode,[]))}var en;if(Z.right===".")en=Ps(X,["mclose"]);else{var bn=Z.rightColor?X.withColor(Z.rightColor):X;en=wn.leftRightDelim(Z.right,he,Te,bn,Z.mode,["mclose"])}return ne.push(en),ot.makeSpan(["minner"],ne,X)},mathmlBuilder:function(Z,X){dr(Z);var ne=Li(Z.body,X);if(Z.left!=="."){var he=new In.MathNode("mo",[La(Z.left,Z.mode)]);he.setAttribute("fence","true"),ne.unshift(he)}if(Z.right!=="."){var Te=new In.MathNode("mo",[La(Z.right,Z.mode)]);Te.setAttribute("fence","true"),Z.rightColor&&Te.setAttribute("mathcolor",Z.rightColor),ne.push(Te)}return as(ne)}}),_n({type:"middle",names:["\\middle"],props:{numArgs:1},handler:function(Z,X){var ne=Qn(X[0],Z);if(!Z.parser.leftrightDepth)throw new o("\\middle without preceding \\left",ne);return{type:"middle",mode:Z.parser.mode,delim:ne.text}},htmlBuilder:function(Z,X){var ne;if(Z.delim===".")ne=Ps(X,[]);else{ne=wn.sizedDelim(Z.delim,1,X,Z.mode,[]);var he={delim:Z.delim,options:X};ne.isMiddle=he}return ne},mathmlBuilder:function(Z,X){var ne=Z.delim==="\\vert"||Z.delim==="|"?La("|","text"):La(Z.delim,Z.mode),he=new In.MathNode("mo",[ne]);return he.setAttribute("fence","true"),he.setAttribute("lspace","0.05em"),he.setAttribute("rspace","0.05em"),he}});var Lr=function(Z,X){var ne=ot.wrapFragment(zi(Z.body,X),X),he=Z.label.substr(1),Te=X.sizeMultiplier,Ke,Ct=0,jt=C.isCharacterBox(Z.body);if(he==="sout")Ke=ot.makeSpan(["stretchy","sout"]),Ke.height=X.fontMetrics().defaultRuleThickness/Te,Ct=-.5*X.fontMetrics().xHeight;else{/cancel/.test(he)?jt||ne.classes.push("cancel-pad"):ne.classes.push("boxpad");var ir=0,It=0;/box/.test(he)?(It=Math.max(X.fontMetrics().fboxrule,X.minRuleThickness),ir=X.fontMetrics().fboxsep+(he==="colorbox"?0:It)):ir=jt?.2:0,Ke=si.encloseSpan(ne,he,ir,X),/fbox|boxed|fcolorbox/.test(he)&&(Ke.style.borderStyle="solid",Ke.style.borderWidth=It+"em"),Ct=ne.depth+ir,Z.backgroundColor&&(Ke.style.backgroundColor=Z.backgroundColor,Z.borderColor&&(Ke.style.borderColor=Z.borderColor))}var Ur;return Z.backgroundColor?Ur=ot.makeVList({positionType:"individualShift",children:[{type:"elem",elem:Ke,shift:Ct},{type:"elem",elem:ne,shift:0}]},X):Ur=ot.makeVList({positionType:"individualShift",children:[{type:"elem",elem:ne,shift:0},{type:"elem",elem:Ke,shift:Ct,wrapperClasses:/cancel/.test(he)?["svg-align"]:[]}]},X),/cancel/.test(he)&&(Ur.height=ne.height,Ur.depth=ne.depth),/cancel/.test(he)&&!jt?ot.makeSpan(["mord","cancel-lap"],[Ur],X):ot.makeSpan(["mord"],[Ur],X)},Or=function(Z,X){var ne=0,he=new In.MathNode(Z.label.indexOf("colorbox")>-1?"mpadded":"menclose",[Ia(Z.body,X)]);switch(Z.label){case"\\cancel":he.setAttribute("notation","updiagonalstrike");break;case"\\bcancel":he.setAttribute("notation","downdiagonalstrike");break;case"\\sout":he.setAttribute("notation","horizontalstrike");break;case"\\fbox":he.setAttribute("notation","box");break;case"\\fcolorbox":case"\\colorbox":if(ne=X.fontMetrics().fboxsep*X.fontMetrics().ptPerEm,he.setAttribute("width","+"+2*ne+"pt"),he.setAttribute("height","+"+2*ne+"pt"),he.setAttribute("lspace",ne+"pt"),he.setAttribute("voffset",ne+"pt"),Z.label==="\\fcolorbox"){var Te=Math.max(X.fontMetrics().fboxrule,X.minRuleThickness);he.setAttribute("style","border: "+Te+"em solid "+String(Z.borderColor))}break;case"\\xcancel":he.setAttribute("notation","updiagonalstrike downdiagonalstrike");break}return Z.backgroundColor&&he.setAttribute("mathbackground",Z.backgroundColor),he};_n({type:"enclose",names:["\\colorbox"],props:{numArgs:2,allowedInText:!0,greediness:3,argTypes:["color","text"]},handler:function(Z,X,ne){var he=Z.parser,Te=Z.funcName,Ke=ar(X[0],"color-token").color,Ct=X[1];return{type:"enclose",mode:he.mode,label:Te,backgroundColor:Ke,body:Ct}},htmlBuilder:Lr,mathmlBuilder:Or}),_n({type:"enclose",names:["\\fcolorbox"],props:{numArgs:3,allowedInText:!0,greediness:3,argTypes:["color","color","text"]},handler:function(Z,X,ne){var he=Z.parser,Te=Z.funcName,Ke=ar(X[0],"color-token").color,Ct=ar(X[1],"color-token").color,jt=X[2];return{type:"enclose",mode:he.mode,label:Te,backgroundColor:Ct,borderColor:Ke,body:jt}},htmlBuilder:Lr,mathmlBuilder:Or}),_n({type:"enclose",names:["\\fbox"],props:{numArgs:1,argTypes:["hbox"],allowedInText:!0},handler:function(Z,X){var ne=Z.parser;return{type:"enclose",mode:ne.mode,label:"\\fbox",body:X[0]}}}),_n({type:"enclose",names:["\\cancel","\\bcancel","\\xcancel","\\sout"],props:{numArgs:1},handler:function(Z,X,ne){var he=Z.parser,Te=Z.funcName,Ke=X[0];return{type:"enclose",mode:he.mode,label:Te,body:Ke}},htmlBuilder:Lr,mathmlBuilder:Or});var gn={};function yn(Ve){for(var Z=Ve.type,X=Ve.names,ne=Ve.props,he=Ve.handler,Te=Ve.htmlBuilder,Ke=Ve.mathmlBuilder,Ct={type:Z,numArgs:ne.numArgs||0,greediness:1,allowedInText:!1,numOptionalArgs:0,handler:he},jt=0;jt<X.length;++jt)gn[X[jt]]=Ct;Te&&(Ci[Z]=Te),Ke&&(li[Z]=Ke)}function ht(Ve){var Z=[];Ve.consumeSpaces();for(var X=Ve.fetch().text;X==="\\hline"||X==="\\hdashline";)Ve.consume(),Z.push(X==="\\hdashline"),Ve.consumeSpaces(),X=Ve.fetch().text;return Z}function Dn(Ve,Z,X){var ne=Z.hskipBeforeAndAfter,he=Z.addJot,Te=Z.cols,Ke=Z.arraystretch,Ct=Z.colSeparationType;if(Ve.gullet.beginGroup(),Ve.gullet.macros.set("\\\\","\\cr"),!Ke){var jt=Ve.gullet.expandMacroAsText("\\arraystretch");if(jt==null)Ke=1;else if(Ke=parseFloat(jt),!Ke||Ke<0)throw new o("Invalid \\arraystretch: "+jt)}Ve.gullet.beginGroup();var ir=[],It=[ir],Ur=[],en=[];for(en.push(ht(Ve));;){var bn=Ve.parseExpression(!1,"\\cr");Ve.gullet.endGroup(),Ve.gullet.beginGroup(),bn={type:"ordgroup",mode:Ve.mode,body:bn},X&&(bn={type:"styling",mode:Ve.mode,style:X,body:[bn]}),ir.push(bn);var $n=Ve.fetch().text;if($n==="&")Ve.consume();else if($n==="\\end"){ir.length===1&&bn.type==="styling"&&bn.body[0].body.length===0&&It.pop(),en.length<It.length+1&&en.push([]);break}else if($n==="\\cr"){var Hn=ar(Ve.parseFunction(),"cr");Ur.push(Hn.size),en.push(ht(Ve)),ir=[],It.push(ir)}else throw new o("Expected & or \\\\ or \\cr or \\end",Ve.nextToken)}return Ve.gullet.endGroup(),Ve.gullet.endGroup(),{type:"array",mode:Ve.mode,addJot:he,arraystretch:Ke,body:It,cols:Te,rowGaps:Ur,hskipBeforeAndAfter:ne,hLinesBeforeRow:en,colSeparationType:Ct}}function Mn(Ve){return Ve.substr(0,1)==="d"?"display":"text"}var Ei=function(Z,X){var ne,he,Te=Z.body.length,Ke=Z.hLinesBeforeRow,Ct=0,jt=new Array(Te),ir=[],It=Math.max(X.fontMetrics().arrayRuleWidth,X.minRuleThickness),Ur=1/X.fontMetrics().ptPerEm,en=5*Ur;if(Z.colSeparationType&&Z.colSeparationType==="small"){var bn=X.havingStyle(z.SCRIPT).sizeMultiplier;en=.2778*(bn/X.sizeMultiplier)}var $n=12*Ur,Hn=3*Ur,Si=Z.arraystretch*$n,da=.7*Si,aa=.3*Si,ca=0;function Ma(Uo){for(var Bu=0;Bu<Uo.length;++Bu)Bu>0&&(ca+=.25),ir.push({pos:ca,isDashed:Uo[Bu]})}for(Ma(Ke[0]),ne=0;ne<Z.body.length;++ne){var es=Z.body[ne],bs=da,Za=aa;Ct<es.length&&(Ct=es.length);var qi=new Array(es.length);for(he=0;he<es.length;++he){var Ns=zi(es[he],X);Za<Ns.depth&&(Za=Ns.depth),bs<Ns.height&&(bs=Ns.height),qi[he]=Ns}var Is=Z.rowGaps[ne],pi=0;Is&&(pi=di(Is,X),pi>0&&(pi+=aa,Za<pi&&(Za=pi),pi=0)),Z.addJot&&(Za+=Hn),qi.height=bs,qi.depth=Za,ca+=bs,qi.pos=ca,ca+=Za+pi,jt[ne]=qi,Ma(Ke[ne+1])}var ho=ca/2+X.fontMetrics().axisHeight,so=Z.cols||[],Qo=[],Rs,Ls;for(he=0,Ls=0;he<Ct||Ls<so.length;++he,++Ls){for(var $s=so[Ls]||{},xl=!0;$s.type==="separator";){if(xl||(Rs=ot.makeSpan(["arraycolsep"],[]),Rs.style.width=X.fontMetrics().doubleRuleSep+"em",Qo.push(Rs)),$s.separator==="|"||$s.separator===":"){var Ku=$s.separator==="|"?"solid":"dashed",Tu=ot.makeSpan(["vertical-separator"],[],X);Tu.style.height=ca+"em",Tu.style.borderRightWidth=It+"em",Tu.style.borderRightStyle=Ku,Tu.style.margin="0 -"+It/2+"em",Tu.style.verticalAlign=-(ca-ho)+"em",Qo.push(Tu)}else throw new o("Invalid separator type: "+$s.separator);Ls++,$s=so[Ls]||{},xl=!1}if(!(he>=Ct)){var qo=void 0;(he>0||Z.hskipBeforeAndAfter)&&(qo=C.deflt($s.pregap,en),qo!==0&&(Rs=ot.makeSpan(["arraycolsep"],[]),Rs.style.width=qo+"em",Qo.push(Rs)));var Zs=[];for(ne=0;ne<Te;++ne){var Fu=jt[ne],gu=Fu[he];if(gu){var bo=Fu.pos-ho;gu.depth=Fu.depth,gu.height=Fu.height,Zs.push({type:"elem",elem:gu,shift:bo})}}Zs=ot.makeVList({positionType:"individualShift",children:Zs},X),Zs=ot.makeSpan(["col-align-"+($s.align||"c")],[Zs]),Qo.push(Zs),(he<Ct-1||Z.hskipBeforeAndAfter)&&(qo=C.deflt($s.postgap,en),qo!==0&&(Rs=ot.makeSpan(["arraycolsep"],[]),Rs.style.width=qo+"em",Qo.push(Rs)))}}if(jt=ot.makeSpan(["mtable"],Qo),ir.length>0){for(var rl=ot.makeLineSpan("hline",X,It),El=ot.makeLineSpan("hdashline",X,It),jo=[{type:"elem",elem:jt,shift:0}];ir.length>0;){var wl=ir.pop(),Ms=wl.pos-ho;wl.isDashed?jo.push({type:"elem",elem:El,shift:Ms}):jo.push({type:"elem",elem:rl,shift:Ms})}jt=ot.makeVList({positionType:"individualShift",children:jo},X)}return ot.makeSpan(["mord"],[jt],X)},Zi={c:"center ",l:"left ",r:"right "},Jt=function(Z,X){var ne=new In.MathNode("mtable",Z.body.map(function(ca){return new In.MathNode("mtr",ca.map(function(Ma){return new In.MathNode("mtd",[Ia(Ma,X)])}))})),he=Z.arraystretch===.5?.1:.16+Z.arraystretch-1+(Z.addJot?.09:0);ne.setAttribute("rowspacing",he+"em");var Te="",Ke="";if(Z.cols){var Ct=Z.cols,jt="",ir=!1,It=0,Ur=Ct.length;Ct[0].type==="separator"&&(Te+="top ",It=1),Ct[Ct.length-1].type==="separator"&&(Te+="bottom ",Ur-=1);for(var en=It;en<Ur;en++)Ct[en].type==="align"?(Ke+=Zi[Ct[en].align],ir&&(jt+="none "),ir=!0):Ct[en].type==="separator"&&ir&&(jt+=Ct[en].separator==="|"?"solid ":"dashed ",ir=!1);ne.setAttribute("columnalign",Ke.trim()),/[sd]/.test(jt)&&ne.setAttribute("columnlines",jt.trim())}if(Z.colSeparationType==="align"){for(var bn=Z.cols||[],$n="",Hn=1;Hn<bn.length;Hn++)$n+=Hn%2?"0em ":"1em ";ne.setAttribute("columnspacing",$n.trim())}else Z.colSeparationType==="alignat"?ne.setAttribute("columnspacing","0em"):Z.colSeparationType==="small"?ne.setAttribute("columnspacing","0.2778em"):ne.setAttribute("columnspacing","1em");var Si="",da=Z.hLinesBeforeRow;Te+=da[0].length>0?"left ":"",Te+=da[da.length-1].length>0?"right ":"";for(var aa=1;aa<da.length-1;aa++)Si+=da[aa].length===0?"none ":da[aa][0]?"dashed ":"solid ";return/[sd]/.test(Si)&&ne.setAttribute("rowlines",Si.trim()),Te!==""&&(ne=new In.MathNode("menclose",[ne]),ne.setAttribute("notation",Te.trim())),Z.arraystretch&&Z.arraystretch<1&&(ne=new In.MathNode("mstyle",[ne]),ne.setAttribute("scriptlevel","1")),ne},Yi=function(Z,X){var ne=[],he=Dn(Z.parser,{cols:ne,addJot:!0},"display"),Te,Ke=0,Ct={type:"ordgroup",mode:Z.mode,body:[]},jt=br(X[0],"ordgroup");if(jt){for(var ir="",It=0;It<jt.body.length;It++){var Ur=ar(jt.body[It],"textord");ir+=Ur.text}Te=Number(ir),Ke=Te*2}var en=!Ke;he.body.forEach(function(Si){for(var da=1;da<Si.length;da+=2){var aa=ar(Si[da],"styling"),ca=ar(aa.body[0],"ordgroup");ca.body.unshift(Ct)}if(en)Ke<Si.length&&(Ke=Si.length);else{var Ma=Si.length/2;if(Te<Ma)throw new o("Too many math in a row: "+("expected "+Te+", but got "+Ma),Si[0])}});for(var bn=0;bn<Ke;++bn){var $n="r",Hn=0;bn%2===1?$n="l":bn>0&&en&&(Hn=1),ne[bn]={type:"align",align:$n,pregap:Hn,postgap:0}}return he.colSeparationType=en?"align":"alignat",he};yn({type:"array",names:["array","darray"],props:{numArgs:1},handler:function(Z,X){var ne=mn(X[0]),he=ne?[X[0]]:ar(X[0],"ordgroup").body,Te=he.map(function(Ct){var jt=Fr(Ct),ir=jt.text;if("lcr".indexOf(ir)!==-1)return{type:"align",align:ir};if(ir==="|")return{type:"separator",separator:"|"};if(ir===":")return{type:"separator",separator:":"};throw new o("Unknown column alignment: "+ir,Ct)}),Ke={cols:Te,hskipBeforeAndAfter:!0};return Dn(Z.parser,Ke,Mn(Z.envName))},htmlBuilder:Ei,mathmlBuilder:Jt}),yn({type:"array",names:["matrix","pmatrix","bmatrix","Bmatrix","vmatrix","Vmatrix"],props:{numArgs:0},handler:function(Z){var X={matrix:null,pmatrix:["(",")"],bmatrix:["[","]"],Bmatrix:["\\{","\\}"],vmatrix:["|","|"],Vmatrix:["\\Vert","\\Vert"]}[Z.envName],ne={hskipBeforeAndAfter:!1},he=Dn(Z.parser,ne,Mn(Z.envName));return X?{type:"leftright",mode:Z.mode,body:[he],left:X[0],right:X[1],rightColor:void 0}:he},htmlBuilder:Ei,mathmlBuilder:Jt}),yn({type:"array",names:["smallmatrix"],props:{numArgs:0},handler:function(Z){var X={arraystretch:.5},ne=Dn(Z.parser,X,"script");return ne.colSeparationType="small",ne},htmlBuilder:Ei,mathmlBuilder:Jt}),yn({type:"array",names:["subarray"],props:{numArgs:1},handler:function(Z,X){var ne=mn(X[0]),he=ne?[X[0]]:ar(X[0],"ordgroup").body,Te=he.map(function(Ct){var jt=Fr(Ct),ir=jt.text;if("lc".indexOf(ir)!==-1)return{type:"align",align:ir};throw new o("Unknown column alignment: "+ir,Ct)});if(Te.length>1)throw new o("{subarray} can contain only one column");var Ke={cols:Te,hskipBeforeAndAfter:!1,arraystretch:.5};if(Ke=Dn(Z.parser,Ke,"script"),Ke.body[0].length>1)throw new o("{subarray} can contain only one column");return Ke},htmlBuilder:Ei,mathmlBuilder:Jt}),yn({type:"array",names:["cases","dcases"],props:{numArgs:0},handler:function(Z){var X={arraystretch:1.2,cols:[{type:"align",align:"l",pregap:0,postgap:1},{type:"align",align:"l",pregap:0,postgap:0}]},ne=Dn(Z.parser,X,Mn(Z.envName));return{type:"leftright",mode:Z.mode,body:[ne],left:"\\{",right:".",rightColor:void 0}},htmlBuilder:Ei,mathmlBuilder:Jt}),yn({type:"array",names:["aligned"],props:{numArgs:0},handler:Yi,htmlBuilder:Ei,mathmlBuilder:Jt}),yn({type:"array",names:["gathered"],props:{numArgs:0},handler:function(Z){var X={cols:[{type:"align",align:"c"}],addJot:!0};return Dn(Z.parser,X,"display")},htmlBuilder:Ei,mathmlBuilder:Jt}),yn({type:"array",names:["alignedat"],props:{numArgs:1},handler:Yi,htmlBuilder:Ei,mathmlBuilder:Jt}),_n({type:"text",names:["\\hline","\\hdashline"],props:{numArgs:0,allowedInText:!0,allowedInMath:!0},handler:function(Z,X){throw new o(Z.funcName+" valid only within array environment")}});var Bi=gn,fa=Bi;_n({type:"environment",names:["\\begin","\\end"],props:{numArgs:1,argTypes:["text"]},handler:function(Z,X){var ne=Z.parser,he=Z.funcName,Te=X[0];if(Te.type!=="ordgroup")throw new o("Invalid environment name",Te);for(var Ke="",Ct=0;Ct<Te.body.length;++Ct)Ke+=ar(Te.body[Ct],"textord").text;if(he==="\\begin"){if(!fa.hasOwnProperty(Ke))throw new o("No such environment: "+Ke,Te);var jt=fa[Ke],ir=ne.parseArguments("\\begin{"+Ke+"}",jt),It=ir.args,Ur=ir.optArgs,en={mode:ne.mode,envName:Ke,parser:ne},bn=jt.handler(en,It,Ur);ne.expect("\\end",!1);var $n=ne.nextToken,Hn=ar(ne.parseFunction(),"environment");if(Hn.name!==Ke)throw new o("Mismatch: \\begin{"+Ke+"} matched by \\end{"+Hn.name+"}",$n);return bn}return{type:"environment",mode:ne.mode,name:Ke,nameGroup:Te}}});var Ja=ot.makeSpan;function gs(Ve,Z){var X=Ra(Ve.body,Z,!0);return Ja([Ve.mclass],X,Z)}function Ti(Ve,Z){var X,ne=Li(Ve.body,Z);return Ve.mclass==="minner"?In.newDocumentFragment(ne):(Ve.mclass==="mord"?Ve.isCharacterBox?(X=ne[0],X.type="mi"):X=new In.MathNode("mi",ne):(Ve.isCharacterBox?(X=ne[0],X.type="mo"):X=new In.MathNode("mo",ne),Ve.mclass==="mbin"?(X.attributes.lspace="0.22em",X.attributes.rspace="0.22em"):Ve.mclass==="mpunct"?(X.attributes.lspace="0em",X.attributes.rspace="0.17em"):(Ve.mclass==="mopen"||Ve.mclass==="mclose")&&(X.attributes.lspace="0em",X.attributes.rspace="0em")),X)}_n({type:"mclass",names:["\\mathord","\\mathbin","\\mathrel","\\mathopen","\\mathclose","\\mathpunct","\\mathinner"],props:{numArgs:1},handler:function(Z,X){var ne=Z.parser,he=Z.funcName,Te=X[0];return{type:"mclass",mode:ne.mode,mclass:"m"+he.substr(5),body:Fi(Te),isCharacterBox:C.isCharacterBox(Te)}},htmlBuilder:gs,mathmlBuilder:Ti});var io=function(Z){var X=Z.type==="ordgroup"&&Z.body.length?Z.body[0]:Z;return X.type==="atom"&&(X.family==="bin"||X.family==="rel")?"m"+X.family:"mord"};_n({type:"mclass",names:["\\@binrel"],props:{numArgs:2},handler:function(Z,X){var ne=Z.parser;return{type:"mclass",mode:ne.mode,mclass:io(X[0]),body:[X[1]],isCharacterBox:C.isCharacterBox(X[1])}}}),_n({type:"mclass",names:["\\stackrel","\\overset","\\underset"],props:{numArgs:2},handler:function(Z,X){var ne=Z.parser,he=Z.funcName,Te=X[1],Ke=X[0],Ct;he!=="\\stackrel"?Ct=io(Te):Ct="mrel";var jt={type:"op",mode:Te.mode,limits:!0,alwaysHandleSupSub:!0,parentIsSupSub:!1,symbol:!1,suppressBaseShift:he!=="\\stackrel",body:Fi(Te)},ir={type:"supsub",mode:Ke.mode,base:jt,sup:he==="\\underset"?null:Ke,sub:he==="\\underset"?Ke:null};return{type:"mclass",mode:ne.mode,mclass:Ct,body:[ir],isCharacterBox:C.isCharacterBox(ir)}},htmlBuilder:gs,mathmlBuilder:Ti});var Us=function(Z,X){var ne=Z.font,he=X.withFont(ne);return zi(Z.body,he)},ds=function(Z,X){var ne=Z.font,he=X.withFont(ne);return Ia(Z.body,he)},Ea={"\\Bbb":"\\mathbb","\\bold":"\\mathbf","\\frak":"\\mathfrak","\\bm":"\\boldsymbol"};_n({type:"font",names:["\\mathrm","\\mathit","\\mathbf","\\mathnormal","\\mathbb","\\mathcal","\\mathfrak","\\mathscr","\\mathsf","\\mathtt","\\Bbb","\\bold","\\frak"],props:{numArgs:1,greediness:2},handler:function(Z,X){var ne=Z.parser,he=Z.funcName,Te=X[0],Ke=he;return Ke in Ea&&(Ke=Ea[Ke]),{type:"font",mode:ne.mode,font:Ke.slice(1),body:Te}},htmlBuilder:Us,mathmlBuilder:ds}),_n({type:"mclass",names:["\\boldsymbol","\\bm"],props:{numArgs:1,greediness:2},handler:function(Z,X){var ne=Z.parser,he=X[0],Te=C.isCharacterBox(he);return{type:"mclass",mode:ne.mode,mclass:io(he),body:[{type:"font",mode:ne.mode,font:"boldsymbol",body:he}],isCharacterBox:Te}}}),_n({type:"font",names:["\\rm","\\sf","\\tt","\\bf","\\it"],props:{numArgs:0,allowedInText:!0},handler:function(Z,X){var ne=Z.parser,he=Z.funcName,Te=Z.breakOnTokenText,Ke=ne.mode,Ct=ne.parseExpression(!0,Te),jt="math"+he.slice(1);return{type:"font",mode:Ke,font:jt,body:{type:"ordgroup",mode:ne.mode,body:Ct}}},htmlBuilder:Us,mathmlBuilder:ds});var us=function(Z,X){var ne=X;return Z==="display"?ne=ne.id>=z.SCRIPT.id?ne.text():z.DISPLAY:Z==="text"&&ne.size===z.DISPLAY.size?ne=z.TEXT:Z==="script"?ne=z.SCRIPT:Z==="scriptscript"&&(ne=z.SCRIPTSCRIPT),ne},Qs=function(Z,X){var ne=us(Z.size,X.style),he=ne.fracNum(),Te=ne.fracDen(),Ke;Ke=X.havingStyle(he);var Ct=zi(Z.numer,Ke,X);if(Z.continued){var jt=8.5/X.fontMetrics().ptPerEm,ir=3.5/X.fontMetrics().ptPerEm;Ct.height=Ct.height<jt?jt:Ct.height,Ct.depth=Ct.depth<ir?ir:Ct.depth}Ke=X.havingStyle(Te);var It=zi(Z.denom,Ke,X),Ur,en,bn;Z.hasBarLine?(Z.barSize?(en=di(Z.barSize,X),Ur=ot.makeLineSpan("frac-line",X,en)):Ur=ot.makeLineSpan("frac-line",X),en=Ur.height,bn=Ur.height):(Ur=null,en=0,bn=X.fontMetrics().defaultRuleThickness);var $n,Hn,Si;ne.size===z.DISPLAY.size||Z.size==="display"?($n=X.fontMetrics().num1,en>0?Hn=3*bn:Hn=7*bn,Si=X.fontMetrics().denom1):(en>0?($n=X.fontMetrics().num2,Hn=bn):($n=X.fontMetrics().num3,Hn=3*bn),Si=X.fontMetrics().denom2);var da;if(Ur){var ca=X.fontMetrics().axisHeight;$n-Ct.depth-(ca+.5*en)<Hn&&($n+=Hn-($n-Ct.depth-(ca+.5*en))),ca-.5*en-(It.height-Si)<Hn&&(Si+=Hn-(ca-.5*en-(It.height-Si)));var Ma=-(ca-.5*en);da=ot.makeVList({positionType:"individualShift",children:[{type:"elem",elem:It,shift:Si},{type:"elem",elem:Ur,shift:Ma},{type:"elem",elem:Ct,shift:-$n}]},X)}else{var aa=$n-Ct.depth-(It.height-Si);aa<Hn&&($n+=.5*(Hn-aa),Si+=.5*(Hn-aa)),da=ot.makeVList({positionType:"individualShift",children:[{type:"elem",elem:It,shift:Si},{type:"elem",elem:Ct,shift:-$n}]},X)}Ke=X.havingStyle(ne),da.height*=Ke.sizeMultiplier/X.sizeMultiplier,da.depth*=Ke.sizeMultiplier/X.sizeMultiplier;var es;ne.size===z.DISPLAY.size?es=X.fontMetrics().delim1:es=X.fontMetrics().delim2;var bs,Za;return Z.leftDelim==null?bs=Ps(X,["mopen"]):bs=wn.customSizedDelim(Z.leftDelim,es,!0,X.havingStyle(ne),Z.mode,["mopen"]),Z.continued?Za=ot.makeSpan([]):Z.rightDelim==null?Za=Ps(X,["mclose"]):Za=wn.customSizedDelim(Z.rightDelim,es,!0,X.havingStyle(ne),Z.mode,["mclose"]),ot.makeSpan(["mord"].concat(Ke.sizingClasses(X)),[bs,ot.makeSpan(["mfrac"],[da]),Za],X)},kn=function(Z,X){var ne=new In.MathNode("mfrac",[Ia(Z.numer,X),Ia(Z.denom,X)]);if(!Z.hasBarLine)ne.setAttribute("linethickness","0px");else if(Z.barSize){var he=di(Z.barSize,X);ne.setAttribute("linethickness",he+"em")}var Te=us(Z.size,X.style);if(Te.size!==X.style.size){ne=new In.MathNode("mstyle",[ne]);var Ke=Te.size===z.DISPLAY.size?"true":"false";ne.setAttribute("displaystyle",Ke),ne.setAttribute("scriptlevel","0")}if(Z.leftDelim!=null||Z.rightDelim!=null){var Ct=[];if(Z.leftDelim!=null){var jt=new In.MathNode("mo",[new In.TextNode(Z.leftDelim.replace("\\",""))]);jt.setAttribute("fence","true"),Ct.push(jt)}if(Ct.push(ne),Z.rightDelim!=null){var ir=new In.MathNode("mo",[new In.TextNode(Z.rightDelim.replace("\\",""))]);ir.setAttribute("fence","true"),Ct.push(ir)}return as(Ct)}return ne};_n({type:"genfrac",names:["\\cfrac","\\dfrac","\\frac","\\tfrac","\\dbinom","\\binom","\\tbinom","\\\\atopfrac","\\\\bracefrac","\\\\brackfrac"],props:{numArgs:2,greediness:2},handler:function(Z,X){var ne=Z.parser,he=Z.funcName,Te=X[0],Ke=X[1],Ct,jt=null,ir=null,It="auto";switch(he){case"\\cfrac":case"\\dfrac":case"\\frac":case"\\tfrac":Ct=!0;break;case"\\\\atopfrac":Ct=!1;break;case"\\dbinom":case"\\binom":case"\\tbinom":Ct=!1,jt="(",ir=")";break;case"\\\\bracefrac":Ct=!1,jt="\\{",ir="\\}";break;case"\\\\brackfrac":Ct=!1,jt="[",ir="]";break;default:throw new Error("Unrecognized genfrac command")}switch(he){case"\\cfrac":case"\\dfrac":case"\\dbinom":It="display";break;case"\\tfrac":case"\\tbinom":It="text";break}return{type:"genfrac",mode:ne.mode,continued:he==="\\cfrac",numer:Te,denom:Ke,hasBarLine:Ct,leftDelim:jt,rightDelim:ir,size:It,barSize:null}},htmlBuilder:Qs,mathmlBuilder:kn}),_n({type:"infix",names:["\\over","\\choose","\\atop","\\brace","\\brack"],props:{numArgs:0,infix:!0},handler:function(Z){var X=Z.parser,ne=Z.funcName,he=Z.token,Te;switch(ne){case"\\over":Te="\\frac";break;case"\\choose":Te="\\binom";break;case"\\atop":Te="\\\\atopfrac";break;case"\\brace":Te="\\\\bracefrac";break;case"\\brack":Te="\\\\brackfrac";break;default:throw new Error("Unrecognized infix genfrac command")}return{type:"infix",mode:X.mode,replaceWith:Te,token:he}}});var Ss=["display","text","script","scriptscript"],zs=function(Z){var X=null;return Z.length>0&&(X=Z,X=X==="."?null:X),X};_n({type:"genfrac",names:["\\genfrac"],props:{numArgs:6,greediness:6,argTypes:["math","math","size","text","math","math"]},handler:function(Z,X){var ne=Z.parser,he=X[4],Te=X[5],Ke=br(X[0],"atom");Ke&&(Ke=Dr(X[0],"open"));var Ct=Ke?zs(Ke.text):null,jt=br(X[1],"atom");jt&&(jt=Dr(X[1],"close"));var ir=jt?zs(jt.text):null,It=ar(X[2],"size"),Ur,en=null;It.isBlank?Ur=!0:(en=It.value,Ur=en.number>0);var bn="auto",$n=br(X[3],"ordgroup");if($n){if($n.body.length>0){var Hn=ar($n.body[0],"textord");bn=Ss[Number(Hn.text)]}}else $n=ar(X[3],"textord"),bn=Ss[Number($n.text)];return{type:"genfrac",mode:ne.mode,numer:he,denom:Te,continued:!1,hasBarLine:Ur,barSize:en,leftDelim:Ct,rightDelim:ir,size:bn}},htmlBuilder:Qs,mathmlBuilder:kn}),_n({type:"infix",names:["\\above"],props:{numArgs:1,argTypes:["size"],infix:!0},handler:function(Z,X){var ne=Z.parser,he=Z.funcName,Te=Z.token;return{type:"infix",mode:ne.mode,replaceWith:"\\\\abovefrac",size:ar(X[0],"size").value,token:Te}}}),_n({type:"genfrac",names:["\\\\abovefrac"],props:{numArgs:3,argTypes:["math","size","math"]},handler:function(Z,X){var ne=Z.parser,he=Z.funcName,Te=X[0],Ke=k(ar(X[1],"infix").size),Ct=X[2],jt=Ke.number>0;return{type:"genfrac",mode:ne.mode,numer:Te,denom:Ct,continued:!1,hasBarLine:jt,barSize:Ke,leftDelim:null,rightDelim:null,size:"auto"}},htmlBuilder:Qs,mathmlBuilder:kn});var Xe=function(Z,X){var ne=X.style,he,Te,Ke=br(Z,"supsub");Ke?(he=Ke.sup?zi(Ke.sup,X.havingStyle(ne.sup()),X):zi(Ke.sub,X.havingStyle(ne.sub()),X),Te=ar(Ke.base,"horizBrace")):Te=ar(Z,"horizBrace");var Ct=zi(Te.base,X.havingBaseStyle(z.DISPLAY)),jt=si.svgSpan(Te,X),ir;if(Te.isOver?(ir=ot.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:Ct},{type:"kern",size:.1},{type:"elem",elem:jt}]},X),ir.children[0].children[0].children[1].classes.push("svg-align")):(ir=ot.makeVList({positionType:"bottom",positionData:Ct.depth+.1+jt.height,children:[{type:"elem",elem:jt},{type:"kern",size:.1},{type:"elem",elem:Ct}]},X),ir.children[0].children[0].children[0].classes.push("svg-align")),he){var It=ot.makeSpan(["mord",Te.isOver?"mover":"munder"],[ir],X);Te.isOver?ir=ot.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:It},{type:"kern",size:.2},{type:"elem",elem:he}]},X):ir=ot.makeVList({positionType:"bottom",positionData:It.depth+.2+he.height+he.depth,children:[{type:"elem",elem:he},{type:"kern",size:.2},{type:"elem",elem:It}]},X)}return ot.makeSpan(["mord",Te.isOver?"mover":"munder"],[ir],X)},Qe=function(Z,X){var ne=si.mathMLnode(Z.label);return new In.MathNode(Z.isOver?"mover":"munder",[Ia(Z.base,X),ne])};_n({type:"horizBrace",names:["\\overbrace","\\underbrace"],props:{numArgs:1},handler:function(Z,X){var ne=Z.parser,he=Z.funcName;return{type:"horizBrace",mode:ne.mode,label:he,isOver:/^\\over/.test(he),base:X[0]}},htmlBuilder:Xe,mathmlBuilder:Qe}),_n({type:"href",names:["\\href"],props:{numArgs:2,argTypes:["url","original"],allowedInText:!0},handler:function(Z,X){var ne=Z.parser,he=X[1],Te=ar(X[0],"url").url;return ne.settings.isTrusted({command:"\\href",url:Te})?{type:"href",mode:ne.mode,href:Te,body:Fi(he)}:ne.formatUnsupportedCmd("\\href")},htmlBuilder:function(Z,X){var ne=Ra(Z.body,X,!1);return ot.makeAnchor(Z.href,[],ne,X)},mathmlBuilder:function(Z,X){var ne=Da(Z.body,X);return ne instanceof ta||(ne=new ta("mrow",[ne])),ne.setAttribute("href",Z.href),ne}}),_n({type:"href",names:["\\url"],props:{numArgs:1,argTypes:["url"],allowedInText:!0},handler:function(Z,X){var ne=Z.parser,he=ar(X[0],"url").url;if(!ne.settings.isTrusted({command:"\\url",url:he}))return ne.formatUnsupportedCmd("\\url");for(var Te=[],Ke=0;Ke<he.length;Ke++){var Ct=he[Ke];Ct==="~"&&(Ct="\\textasciitilde"),Te.push({type:"textord",mode:"text",text:Ct})}var jt={type:"text",mode:ne.mode,font:"\\texttt",body:Te};return{type:"href",mode:ne.mode,href:he,body:Fi(jt)}}}),_n({type:"htmlmathml",names:["\\html@mathml"],props:{numArgs:2,allowedInText:!0},handler:function(Z,X){var ne=Z.parser;return{type:"htmlmathml",mode:ne.mode,html:Fi(X[0]),mathml:Fi(X[1])}},htmlBuilder:function(Z,X){var ne=Ra(Z.html,X,!1);return ot.makeFragment(ne)},mathmlBuilder:function(Z,X){return Da(Z.mathml,X)}});var Ft=function(Z){if(/^[-+]? *(\d+(\.\d*)?|\.\d+)$/.test(Z))return{number:+Z,unit:"bp"};var X=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(Z);if(!X)throw new o("Invalid size: '"+Z+"' in \\includegraphics");var ne={number:+(X[1]+X[2]),unit:X[3]};if(!gi(ne))throw new o("Invalid unit: '"+ne.unit+"' in \\includegraphics.");return ne};_n({type:"includegraphics",names:["\\includegraphics"],props:{numArgs:1,numOptionalArgs:1,argTypes:["raw","url"],allowedInText:!1},handler:function(Z,X,ne){var he=Z.parser,Te={number:0,unit:"em"},Ke={number:.9,unit:"em"},Ct={number:0,unit:"em"},jt="";if(ne[0])for(var ir=ar(ne[0],"raw").string,It=ir.split(","),Ur=0;Ur<It.length;Ur++){var en=It[Ur].split("=");if(en.length===2){var bn=en[1].trim();switch(en[0].trim()){case"alt":jt=bn;break;case"width":Te=Ft(bn);break;case"height":Ke=Ft(bn);break;case"totalheight":Ct=Ft(bn);break;default:throw new o("Invalid key: '"+en[0]+"' in \\includegraphics.")}}}var $n=ar(X[0],"url").url;return jt===""&&(jt=$n,jt=jt.replace(/^.*[\\/]/,""),jt=jt.substring(0,jt.lastIndexOf("."))),he.settings.isTrusted({command:"\\includegraphics",url:$n})?{type:"includegraphics",mode:he.mode,alt:jt,width:Te,height:Ke,totalheight:Ct,src:$n}:he.formatUnsupportedCmd("\\includegraphics")},htmlBuilder:function(Z,X){var ne=di(Z.height,X),he=0;Z.totalheight.number>0&&(he=di(Z.totalheight,X)-ne,he=Number(he.toFixed(2)));var Te=0;Z.width.number>0&&(Te=di(Z.width,X));var Ke={height:ne+he+"em"};Te>0&&(Ke.width=Te+"em"),he>0&&(Ke.verticalAlign=-he+"em");var Ct=new Ue(Z.src,Z.alt,Ke);return Ct.height=ne,Ct.depth=he,Ct},mathmlBuilder:function(Z,X){var ne=new In.MathNode("mglyph",[]);ne.setAttribute("alt",Z.alt);var he=di(Z.height,X),Te=0;if(Z.totalheight.number>0&&(Te=di(Z.totalheight,X)-he,Te=Te.toFixed(2),ne.setAttribute("valign","-"+Te+"em")),ne.setAttribute("height",he+Te+"em"),Z.width.number>0){var Ke=di(Z.width,X);ne.setAttribute("width",Ke+"em")}return ne.setAttribute("src",Z.src),ne}}),_n({type:"kern",names:["\\kern","\\mkern","\\hskip","\\mskip"],props:{numArgs:1,argTypes:["size"],allowedInText:!0},handler:function(Z,X){var ne=Z.parser,he=Z.funcName,Te=ar(X[0],"size");if(ne.settings.strict){var Ke=he[1]==="m",Ct=Te.value.unit==="mu";Ke?(Ct||ne.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+he+" supports only mu units, "+("not "+Te.value.unit+" units")),ne.mode!=="math"&&ne.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+he+" works only in math mode")):Ct&&ne.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+he+" doesn't support mu units")}return{type:"kern",mode:ne.mode,dimension:Te.value}},htmlBuilder:function(Z,X){return ot.makeGlue(Z.dimension,X)},mathmlBuilder:function(Z,X){var ne=di(Z.dimension,X);return new In.SpaceNode(ne)}}),_n({type:"lap",names:["\\mathllap","\\mathrlap","\\mathclap"],props:{numArgs:1,allowedInText:!0},handler:function(Z,X){var ne=Z.parser,he=Z.funcName,Te=X[0];return{type:"lap",mode:ne.mode,alignment:he.slice(5),body:Te}},htmlBuilder:function(Z,X){var ne;Z.alignment==="clap"?(ne=ot.makeSpan([],[zi(Z.body,X)]),ne=ot.makeSpan(["inner"],[ne],X)):ne=ot.makeSpan(["inner"],[zi(Z.body,X)]);var he=ot.makeSpan(["fix"],[]),Te=ot.makeSpan([Z.alignment],[ne,he],X),Ke=ot.makeSpan(["strut"]);return Ke.style.height=Te.height+Te.depth+"em",Ke.style.verticalAlign=-Te.depth+"em",Te.children.unshift(Ke),Te=ot.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:Te}]},X),ot.makeSpan(["mord"],[Te],X)},mathmlBuilder:function(Z,X){var ne=new In.MathNode("mpadded",[Ia(Z.body,X)]);if(Z.alignment!=="rlap"){var he=Z.alignment==="llap"?"-1":"-0.5";ne.setAttribute("lspace",he+"width")}return ne.setAttribute("width","0px"),ne}}),_n({type:"styling",names:["\\(","$"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler:function(Z,X){var ne=Z.funcName,he=Z.parser,Te=he.mode;he.switchMode("math");var Ke=ne==="\\("?"\\)":"$",Ct=he.parseExpression(!1,Ke);return he.expect(Ke),he.switchMode(Te),{type:"styling",mode:he.mode,style:"text",body:Ct}}}),_n({type:"text",names:["\\)","\\]"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler:function(Z,X){throw new o("Mismatched "+Z.funcName)}});var Gt=function(Z,X){switch(X.style.size){case z.DISPLAY.size:return Z.display;case z.TEXT.size:return Z.text;case z.SCRIPT.size:return Z.script;case z.SCRIPTSCRIPT.size:return Z.scriptscript;default:return Z.text}};_n({type:"mathchoice",names:["\\mathchoice"],props:{numArgs:4},handler:function(Z,X){var ne=Z.parser;return{type:"mathchoice",mode:ne.mode,display:Fi(X[0]),text:Fi(X[1]),script:Fi(X[2]),scriptscript:Fi(X[3])}},htmlBuilder:function(Z,X){var ne=Gt(Z,X),he=Ra(ne,X,!1);return ot.makeFragment(he)},mathmlBuilder:function(Z,X){var ne=Gt(Z,X);return Da(ne,X)}});var gr=function(Z,X,ne,he,Te,Ke,Ct){Z=ot.makeSpan([],[Z]);var jt,ir;if(X){var It=zi(X,he.havingStyle(Te.sup()),he);ir={elem:It,kern:Math.max(he.fontMetrics().bigOpSpacing1,he.fontMetrics().bigOpSpacing3-It.depth)}}if(ne){var Ur=zi(ne,he.havingStyle(Te.sub()),he);jt={elem:Ur,kern:Math.max(he.fontMetrics().bigOpSpacing2,he.fontMetrics().bigOpSpacing4-Ur.height)}}var en;if(ir&&jt){var bn=he.fontMetrics().bigOpSpacing5+jt.elem.height+jt.elem.depth+jt.kern+Z.depth+Ct;en=ot.makeVList({positionType:"bottom",positionData:bn,children:[{type:"kern",size:he.fontMetrics().bigOpSpacing5},{type:"elem",elem:jt.elem,marginLeft:-Ke+"em"},{type:"kern",size:jt.kern},{type:"elem",elem:Z},{type:"kern",size:ir.kern},{type:"elem",elem:ir.elem,marginLeft:Ke+"em"},{type:"kern",size:he.fontMetrics().bigOpSpacing5}]},he)}else if(jt){var $n=Z.height-Ct;en=ot.makeVList({positionType:"top",positionData:$n,children:[{type:"kern",size:he.fontMetrics().bigOpSpacing5},{type:"elem",elem:jt.elem,marginLeft:-Ke+"em"},{type:"kern",size:jt.kern},{type:"elem",elem:Z}]},he)}else if(ir){var Hn=Z.depth+Ct;en=ot.makeVList({positionType:"bottom",positionData:Hn,children:[{type:"elem",elem:Z},{type:"kern",size:ir.kern},{type:"elem",elem:ir.elem,marginLeft:Ke+"em"},{type:"kern",size:he.fontMetrics().bigOpSpacing5}]},he)}else return Z;return ot.makeSpan(["mop","op-limits"],[en],he)},Rr=["\\smallint"],jr=function(Z,X){var ne,he,Te=!1,Ke,Ct=br(Z,"supsub");Ct?(ne=Ct.sup,he=Ct.sub,Ke=ar(Ct.base,"op"),Te=!0):Ke=ar(Z,"op");var jt=X.style,ir=!1;jt.size===z.DISPLAY.size&&Ke.symbol&&!C.contains(Rr,Ke.name)&&(ir=!0);var It;if(Ke.symbol){var Ur=ir?"Size2-Regular":"Size1-Regular",en="";if((Ke.name==="\\oiint"||Ke.name==="\\oiiint")&&(en=Ke.name.substr(1),Ke.name=en==="oiint"?"\\iint":"\\iiint"),It=ot.makeSymbol(Ke.name,Ur,"math",X,["mop","op-symbol",ir?"large-op":"small-op"]),en.length>0){var bn=It.italic,$n=ot.staticSvg(en+"Size"+(ir?"2":"1"),X);It=ot.makeVList({positionType:"individualShift",children:[{type:"elem",elem:It,shift:0},{type:"elem",elem:$n,shift:ir?.08:0}]},X),Ke.name="\\"+en,It.classes.unshift("mop"),It.italic=bn}}else if(Ke.body){var Hn=Ra(Ke.body,X,!0);Hn.length===1&&Hn[0]instanceof Ce?(It=Hn[0],It.classes[0]="mop"):It=ot.makeSpan(["mop"],ot.tryCombineChars(Hn),X)}else{for(var Si=[],da=1;da<Ke.name.length;da++)Si.push(ot.mathsym(Ke.name[da],Ke.mode,X));It=ot.makeSpan(["mop"],Si,X)}var aa=0,ca=0;return(It instanceof Ce||Ke.name==="\\oiint"||Ke.name==="\\oiiint")&&!Ke.suppressBaseShift&&(aa=(It.height-It.depth)/2-X.fontMetrics().axisHeight,ca=It.italic),Te?gr(It,ne,he,X,jt,ca,aa):(aa&&(It.style.position="relative",It.style.top=aa+"em"),It)},hn=function(Z,X){var ne;if(Z.symbol)ne=new ta("mo",[La(Z.name,Z.mode)]),C.contains(Rr,Z.name)&&ne.setAttribute("largeop","false");else if(Z.body)ne=new ta("mo",Li(Z.body,X));else{ne=new ta("mi",[new Fa(Z.name.slice(1))]);var he=new ta("mo",[La("\u2061","text")]);Z.parentIsSupSub?ne=new ta("mo",[ne,he]):ne=Pa([ne,he])}return ne},tn={"\u220F":"\\prod","\u2210":"\\coprod","\u2211":"\\sum","\u22C0":"\\bigwedge","\u22C1":"\\bigvee","\u22C2":"\\bigcap","\u22C3":"\\bigcup","\u2A00":"\\bigodot","\u2A01":"\\bigoplus","\u2A02":"\\bigotimes","\u2A04":"\\biguplus","\u2A06":"\\bigsqcup"};_n({type:"op",names:["\\coprod","\\bigvee","\\bigwedge","\\biguplus","\\bigcap","\\bigcup","\\intop","\\prod","\\sum","\\bigotimes","\\bigoplus","\\bigodot","\\bigsqcup","\\smallint","\u220F","\u2210","\u2211","\u22C0","\u22C1","\u22C2","\u22C3","\u2A00","\u2A01","\u2A02","\u2A04","\u2A06"],props:{numArgs:0},handler:function(Z,X){var ne=Z.parser,he=Z.funcName,Te=he;return Te.length===1&&(Te=tn[Te]),{type:"op",mode:ne.mode,limits:!0,parentIsSupSub:!1,symbol:!0,name:Te}},htmlBuilder:jr,mathmlBuilder:hn}),_n({type:"op",names:["\\mathop"],props:{numArgs:1},handler:function(Z,X){var ne=Z.parser,he=X[0];return{type:"op",mode:ne.mode,limits:!1,parentIsSupSub:!1,symbol:!1,body:Fi(he)}},htmlBuilder:jr,mathmlBuilder:hn});var pn={"\u222B":"\\int","\u222C":"\\iint","\u222D":"\\iiint","\u222E":"\\oint","\u222F":"\\oiint","\u2230":"\\oiiint"};_n({type:"op",names:["\\arcsin","\\arccos","\\arctan","\\arctg","\\arcctg","\\arg","\\ch","\\cos","\\cosec","\\cosh","\\cot","\\cotg","\\coth","\\csc","\\ctg","\\cth","\\deg","\\dim","\\exp","\\hom","\\ker","\\lg","\\ln","\\log","\\sec","\\sin","\\sinh","\\sh","\\tan","\\tanh","\\tg","\\th"],props:{numArgs:0},handler:function(Z){var X=Z.parser,ne=Z.funcName;return{type:"op",mode:X.mode,limits:!1,parentIsSupSub:!1,symbol:!1,name:ne}},htmlBuilder:jr,mathmlBuilder:hn}),_n({type:"op",names:["\\det","\\gcd","\\inf","\\lim","\\max","\\min","\\Pr","\\sup"],props:{numArgs:0},handler:function(Z){var X=Z.parser,ne=Z.funcName;return{type:"op",mode:X.mode,limits:!0,parentIsSupSub:!1,symbol:!1,name:ne}},htmlBuilder:jr,mathmlBuilder:hn}),_n({type:"op",names:["\\int","\\iint","\\iiint","\\oint","\\oiint","\\oiiint","\u222B","\u222C","\u222D","\u222E","\u222F","\u2230"],props:{numArgs:0},handler:function(Z){var X=Z.parser,ne=Z.funcName,he=ne;return he.length===1&&(he=pn[he]),{type:"op",mode:X.mode,limits:!1,parentIsSupSub:!1,symbol:!0,name:he}},htmlBuilder:jr,mathmlBuilder:hn});var Yn=function(Z,X){var ne,he,Te=!1,Ke,Ct=br(Z,"supsub");Ct?(ne=Ct.sup,he=Ct.sub,Ke=ar(Ct.base,"operatorname"),Te=!0):Ke=ar(Z,"operatorname");var jt;if(Ke.body.length>0){for(var ir=Ke.body.map(function(bn){var $n=bn.text;return typeof $n=="string"?{type:"textord",mode:bn.mode,text:$n}:bn}),It=Ra(ir,X.withFont("mathrm"),!0),Ur=0;Ur<It.length;Ur++){var en=It[Ur];en instanceof Ce&&(en.text=en.text.replace(/\u2212/,"-").replace(/\u2217/,"*"))}jt=ot.makeSpan(["mop"],It,X)}else jt=ot.makeSpan(["mop"],[],X);return Te?gr(jt,ne,he,X,X.style,0,0):jt},qn=function(Z,X){for(var ne=Li(Z.body,X.withFont("mathrm")),he=!0,Te=0;Te<ne.length;Te++){var Ke=ne[Te];if(!(Ke instanceof In.SpaceNode))if(Ke instanceof In.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 In.TextNode?Ct.text=Ct.text.replace(/\u2212/,"-").replace(/\u2217/,"*"):he=!1;break}default:he=!1}else he=!1}if(he){var jt=ne.map(function(Ur){return Ur.toText()}).join("");ne=[new In.TextNode(jt)]}var ir=new In.MathNode("mi",ne);ir.setAttribute("mathvariant","normal");var It=new In.MathNode("mo",[La("\u2061","text")]);return Z.parentIsSupSub?new In.MathNode("mo",[ir,It]):In.newDocumentFragment([ir,It])};_n({type:"operatorname",names:["\\operatorname","\\operatorname*"],props:{numArgs:1},handler:function(Z,X){var ne=Z.parser,he=Z.funcName,Te=X[0];return{type:"operatorname",mode:ne.mode,body:Fi(Te),alwaysHandleSupSub:he==="\\operatorname*",limits:!1,parentIsSupSub:!1}},htmlBuilder:Yn,mathmlBuilder:qn}),ai({type:"ordgroup",htmlBuilder:function(Z,X){return Z.semisimple?ot.makeFragment(Ra(Z.body,X,!1)):ot.makeSpan(["mord"],Ra(Z.body,X,!0),X)},mathmlBuilder:function(Z,X){return Da(Z.body,X,!0)}}),_n({type:"overline",names:["\\overline"],props:{numArgs:1},handler:function(Z,X){var ne=Z.parser,he=X[0];return{type:"overline",mode:ne.mode,body:he}},htmlBuilder:function(Z,X){var ne=zi(Z.body,X.havingCrampedStyle()),he=ot.makeLineSpan("overline-line",X),Te=X.fontMetrics().defaultRuleThickness,Ke=ot.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:ne},{type:"kern",size:3*Te},{type:"elem",elem:he},{type:"kern",size:Te}]},X);return ot.makeSpan(["mord","overline"],[Ke],X)},mathmlBuilder:function(Z,X){var ne=new In.MathNode("mo",[new In.TextNode("\u203E")]);ne.setAttribute("stretchy","true");var he=new In.MathNode("mover",[Ia(Z.body,X),ne]);return he.setAttribute("accent","true"),he}}),_n({type:"phantom",names:["\\phantom"],props:{numArgs:1,allowedInText:!0},handler:function(Z,X){var ne=Z.parser,he=X[0];return{type:"phantom",mode:ne.mode,body:Fi(he)}},htmlBuilder:function(Z,X){var ne=Ra(Z.body,X.withPhantom(),!1);return ot.makeFragment(ne)},mathmlBuilder:function(Z,X){var ne=Li(Z.body,X);return new In.MathNode("mphantom",ne)}}),_n({type:"hphantom",names:["\\hphantom"],props:{numArgs:1,allowedInText:!0},handler:function(Z,X){var ne=Z.parser,he=X[0];return{type:"hphantom",mode:ne.mode,body:he}},htmlBuilder:function(Z,X){var ne=ot.makeSpan([],[zi(Z.body,X.withPhantom())]);if(ne.height=0,ne.depth=0,ne.children)for(var he=0;he<ne.children.length;he++)ne.children[he].height=0,ne.children[he].depth=0;return ne=ot.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:ne}]},X),ot.makeSpan(["mord"],[ne],X)},mathmlBuilder:function(Z,X){var ne=Li(Fi(Z.body),X),he=new In.MathNode("mphantom",ne),Te=new In.MathNode("mpadded",[he]);return Te.setAttribute("height","0px"),Te.setAttribute("depth","0px"),Te}}),_n({type:"vphantom",names:["\\vphantom"],props:{numArgs:1,allowedInText:!0},handler:function(Z,X){var ne=Z.parser,he=X[0];return{type:"vphantom",mode:ne.mode,body:he}},htmlBuilder:function(Z,X){var ne=ot.makeSpan(["inner"],[zi(Z.body,X.withPhantom())]),he=ot.makeSpan(["fix"],[]);return ot.makeSpan(["mord","rlap"],[ne,he],X)},mathmlBuilder:function(Z,X){var ne=Li(Fi(Z.body),X),he=new In.MathNode("mphantom",ne),Te=new In.MathNode("mpadded",[he]);return Te.setAttribute("width","0px"),Te}}),_n({type:"raisebox",names:["\\raisebox"],props:{numArgs:2,argTypes:["size","hbox"],allowedInText:!0},handler:function(Z,X){var ne=Z.parser,he=ar(X[0],"size").value,Te=X[1];return{type:"raisebox",mode:ne.mode,dy:he,body:Te}},htmlBuilder:function(Z,X){var ne=zi(Z.body,X),he=di(Z.dy,X);return ot.makeVList({positionType:"shift",positionData:-he,children:[{type:"elem",elem:ne}]},X)},mathmlBuilder:function(Z,X){var ne=new In.MathNode("mpadded",[Ia(Z.body,X)]),he=Z.dy.number+Z.dy.unit;return ne.setAttribute("voffset",he),ne}}),_n({type:"rule",names:["\\rule"],props:{numArgs:2,numOptionalArgs:1,argTypes:["size","size","size"]},handler:function(Z,X,ne){var he=Z.parser,Te=ne[0],Ke=ar(X[0],"size"),Ct=ar(X[1],"size");return{type:"rule",mode:he.mode,shift:Te&&ar(Te,"size").value,width:Ke.value,height:Ct.value}},htmlBuilder:function(Z,X){var ne=ot.makeSpan(["mord","rule"],[],X),he=di(Z.width,X),Te=di(Z.height,X),Ke=Z.shift?di(Z.shift,X):0;return ne.style.borderRightWidth=he+"em",ne.style.borderTopWidth=Te+"em",ne.style.bottom=Ke+"em",ne.width=he,ne.height=Te+Ke,ne.depth=-Ke,ne.maxFontSize=Te*1.125*X.sizeMultiplier,ne},mathmlBuilder:function(Z,X){var ne=di(Z.width,X),he=di(Z.height,X),Te=Z.shift?di(Z.shift,X):0,Ke=X.color&&X.getColor()||"black",Ct=new In.MathNode("mspace");Ct.setAttribute("mathbackground",Ke),Ct.setAttribute("width",ne+"em"),Ct.setAttribute("height",he+"em");var jt=new In.MathNode("mpadded",[Ct]);return Te>=0?jt.setAttribute("height","+"+Te+"em"):(jt.setAttribute("height",Te+"em"),jt.setAttribute("depth","+"+-Te+"em")),jt.setAttribute("voffset",Te+"em"),jt}});function mi(Ve,Z,X){for(var ne=Ra(Ve,Z,!1),he=Z.sizeMultiplier/X.sizeMultiplier,Te=0;Te<ne.length;Te++){var Ke=ne[Te].classes.indexOf("sizing");Ke<0?Array.prototype.push.apply(ne[Te].classes,Z.sizingClasses(X)):ne[Te].classes[Ke+1]==="reset-size"+Z.size&&(ne[Te].classes[Ke+1]="reset-size"+X.size),ne[Te].height*=he,ne[Te].depth*=he}return ot.makeFragment(ne)}var wi=["\\tiny","\\sixptsize","\\scriptsize","\\footnotesize","\\small","\\normalsize","\\large","\\Large","\\LARGE","\\huge","\\Huge"],Hi=function(Z,X){var ne=X.havingSize(Z.size);return mi(Z.body,ne,X)};_n({type:"sizing",names:wi,props:{numArgs:0,allowedInText:!0},handler:function(Z,X){var ne=Z.breakOnTokenText,he=Z.funcName,Te=Z.parser,Ke=Te.parseExpression(!1,ne);return{type:"sizing",mode:Te.mode,size:wi.indexOf(he)+1,body:Ke}},htmlBuilder:Hi,mathmlBuilder:function(Z,X){var ne=X.havingSize(Z.size),he=Li(Z.body,ne),Te=new In.MathNode("mstyle",he);return Te.setAttribute("mathsize",ne.sizeMultiplier+"em"),Te}}),_n({type:"smash",names:["\\smash"],props:{numArgs:1,numOptionalArgs:1,allowedInText:!0},handler:function(Z,X,ne){var he=Z.parser,Te=!1,Ke=!1,Ct=ne[0]&&ar(ne[0],"ordgroup");if(Ct)for(var jt="",ir=0;ir<Ct.body.length;++ir){var It=Ct.body[ir];if(jt=It.text,jt==="t")Te=!0;else if(jt==="b")Ke=!0;else{Te=!1,Ke=!1;break}}else Te=!0,Ke=!0;var Ur=X[0];return{type:"smash",mode:he.mode,body:Ur,smashHeight:Te,smashDepth:Ke}},htmlBuilder:function(Z,X){var ne=ot.makeSpan([],[zi(Z.body,X)]);if(!Z.smashHeight&&!Z.smashDepth)return ne;if(Z.smashHeight&&(ne.height=0,ne.children))for(var he=0;he<ne.children.length;he++)ne.children[he].height=0;if(Z.smashDepth&&(ne.depth=0,ne.children))for(var Te=0;Te<ne.children.length;Te++)ne.children[Te].depth=0;var Ke=ot.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:ne}]},X);return ot.makeSpan(["mord"],[Ke],X)},mathmlBuilder:function(Z,X){var ne=new In.MathNode("mpadded",[Ia(Z.body,X)]);return Z.smashHeight&&ne.setAttribute("height","0px"),Z.smashDepth&&ne.setAttribute("depth","0px"),ne}}),_n({type:"sqrt",names:["\\sqrt"],props:{numArgs:1,numOptionalArgs:1},handler:function(Z,X,ne){var he=Z.parser,Te=ne[0],Ke=X[0];return{type:"sqrt",mode:he.mode,body:Ke,index:Te}},htmlBuilder:function(Z,X){var ne=zi(Z.body,X.havingCrampedStyle());ne.height===0&&(ne.height=X.fontMetrics().xHeight),ne=ot.wrapFragment(ne,X);var he=X.fontMetrics(),Te=he.defaultRuleThickness,Ke=Te;X.style.id<z.TEXT.id&&(Ke=X.fontMetrics().xHeight);var Ct=Te+Ke/4,jt=ne.height+ne.depth+Ct+Te,ir=wn.sqrtImage(jt,X),It=ir.span,Ur=ir.ruleWidth,en=ir.advanceWidth,bn=It.height-Ur;bn>ne.height+ne.depth+Ct&&(Ct=(Ct+bn-ne.height-ne.depth)/2);var $n=It.height-ne.height-Ct-Ur;ne.style.paddingLeft=en+"em";var Hn=ot.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:ne,wrapperClasses:["svg-align"]},{type:"kern",size:-(ne.height+$n)},{type:"elem",elem:It},{type:"kern",size:Ur}]},X);if(Z.index){var Si=X.havingStyle(z.SCRIPTSCRIPT),da=zi(Z.index,Si,X),aa=.6*(Hn.height-Hn.depth),ca=ot.makeVList({positionType:"shift",positionData:-aa,children:[{type:"elem",elem:da}]},X),Ma=ot.makeSpan(["root"],[ca]);return ot.makeSpan(["mord","sqrt"],[Ma,Hn],X)}else return ot.makeSpan(["mord","sqrt"],[Hn],X)},mathmlBuilder:function(Z,X){var ne=Z.body,he=Z.index;return he?new In.MathNode("mroot",[Ia(ne,X),Ia(he,X)]):new In.MathNode("msqrt",[Ia(ne,X)])}});var Mi={display:z.DISPLAY,text:z.TEXT,script:z.SCRIPT,scriptscript:z.SCRIPTSCRIPT};_n({type:"styling",names:["\\displaystyle","\\textstyle","\\scriptstyle","\\scriptscriptstyle"],props:{numArgs:0,allowedInText:!0},handler:function(Z,X){var ne=Z.breakOnTokenText,he=Z.funcName,Te=Z.parser,Ke=Te.parseExpression(!0,ne),Ct=he.slice(1,he.length-5);return{type:"styling",mode:Te.mode,style:Ct,body:Ke}},htmlBuilder:function(Z,X){var ne=Mi[Z.style],he=X.havingStyle(ne).withFont("");return mi(Z.body,he,X)},mathmlBuilder:function(Z,X){var ne=Mi[Z.style],he=X.havingStyle(ne),Te=Li(Z.body,he),Ke=new In.MathNode("mstyle",Te),Ct={display:["0","true"],text:["0","false"],script:["1","false"],scriptscript:["2","false"]},jt=Ct[Z.style];return Ke.setAttribute("scriptlevel",jt[0]),Ke.setAttribute("displaystyle",jt[1]),Ke}});var bi=function(Z,X){var ne=Z.base;if(ne)if(ne.type==="op"){var he=ne.limits&&(X.style.size===z.DISPLAY.size||ne.alwaysHandleSupSub);return he?jr:null}else if(ne.type==="operatorname"){var Te=ne.alwaysHandleSupSub&&(X.style.size===z.DISPLAY.size||ne.limits);return Te?Yn:null}else{if(ne.type==="accent")return C.isCharacterBox(ne.base)?Na:null;if(ne.type==="horizBrace"){var Ke=!Z.sub;return Ke===ne.isOver?Xe:null}else return null}else return null};ai({type:"supsub",htmlBuilder:function(Z,X){var ne=bi(Z,X);if(ne)return ne(Z,X);var he=Z.base,Te=Z.sup,Ke=Z.sub,Ct=zi(he,X),jt,ir,It=X.fontMetrics(),Ur=0,en=0,bn=he&&C.isCharacterBox(he);if(Te){var $n=X.havingStyle(X.style.sup());jt=zi(Te,$n,X),bn||(Ur=Ct.height-$n.fontMetrics().supDrop*$n.sizeMultiplier/X.sizeMultiplier)}if(Ke){var Hn=X.havingStyle(X.style.sub());ir=zi(Ke,Hn,X),bn||(en=Ct.depth+Hn.fontMetrics().subDrop*Hn.sizeMultiplier/X.sizeMultiplier)}var Si;X.style===z.DISPLAY?Si=It.sup1:X.style.cramped?Si=It.sup3:Si=It.sup2;var da=X.sizeMultiplier,aa=.5/It.ptPerEm/da+"em",ca=null;if(ir){var Ma=Z.base&&Z.base.type==="op"&&Z.base.name&&(Z.base.name==="\\oiint"||Z.base.name==="\\oiiint");(Ct instanceof Ce||Ma)&&(ca=-Ct.italic+"em")}var es;if(jt&&ir){Ur=Math.max(Ur,Si,jt.depth+.25*It.xHeight),en=Math.max(en,It.sub2);var bs=It.defaultRuleThickness,Za=4*bs;if(Ur-jt.depth-(ir.height-en)<Za){en=Za-(Ur-jt.depth)+ir.height;var qi=.8*It.xHeight-(Ur-jt.depth);qi>0&&(Ur+=qi,en-=qi)}var Ns=[{type:"elem",elem:ir,shift:en,marginRight:aa,marginLeft:ca},{type:"elem",elem:jt,shift:-Ur,marginRight:aa}];es=ot.makeVList({positionType:"individualShift",children:Ns},X)}else if(ir){en=Math.max(en,It.sub1,ir.height-.8*It.xHeight);var Is=[{type:"elem",elem:ir,marginLeft:ca,marginRight:aa}];es=ot.makeVList({positionType:"shift",positionData:en,children:Is},X)}else if(jt)Ur=Math.max(Ur,Si,jt.depth+.25*It.xHeight),es=ot.makeVList({positionType:"shift",positionData:-Ur,children:[{type:"elem",elem:jt,marginRight:aa}]},X);else throw new Error("supsub must have either sup or sub.");var pi=Ga(Ct,"right")||"mord";return ot.makeSpan([pi],[Ct,ot.makeSpan(["msupsub"],[es])],X)},mathmlBuilder:function(Z,X){var ne=!1,he,Te,Ke=br(Z.base,"horizBrace");Ke&&(Te=!!Z.sup,Te===Ke.isOver&&(ne=!0,he=Ke.isOver)),Z.base&&(Z.base.type==="op"||Z.base.type==="operatorname")&&(Z.base.parentIsSupSub=!0);var Ct=[Ia(Z.base,X)];Z.sub&&Ct.push(Ia(Z.sub,X)),Z.sup&&Ct.push(Ia(Z.sup,X));var jt;if(ne)jt=he?"mover":"munder";else if(Z.sub)if(Z.sup){var Ur=Z.base;Ur&&Ur.type==="op"&&Ur.limits&&X.style===z.DISPLAY||Ur&&Ur.type==="operatorname"&&Ur.alwaysHandleSupSub&&(X.style===z.DISPLAY||Ur.limits)?jt="munderover":jt="msubsup"}else{var It=Z.base;It&&It.type==="op"&&It.limits&&(X.style===z.DISPLAY||It.alwaysHandleSupSub)||It&&It.type==="operatorname"&&It.alwaysHandleSupSub&&(It.limits||X.style===z.DISPLAY)?jt="munder":jt="msub"}else{var ir=Z.base;ir&&ir.type==="op"&&ir.limits&&(X.style===z.DISPLAY||ir.alwaysHandleSupSub)||ir&&ir.type==="operatorname"&&ir.alwaysHandleSupSub&&(ir.limits||X.style===z.DISPLAY)?jt="mover":jt="msup"}var en=new In.MathNode(jt,Ct);return en}}),ai({type:"atom",htmlBuilder:function(Z,X){return ot.mathsym(Z.text,Z.mode,X,["m"+Z.family])},mathmlBuilder:function(Z,X){var ne=new In.MathNode("mo",[La(Z.text,Z.mode)]);if(Z.family==="bin"){var he=ss(Z,X);he==="bold-italic"&&ne.setAttribute("mathvariant",he)}else Z.family==="punct"?ne.setAttribute("separator","true"):(Z.family==="open"||Z.family==="close")&&ne.setAttribute("stretchy","false");return ne}});var pa={mi:"italic",mn:"normal",mtext:"normal"};ai({type:"mathord",htmlBuilder:function(Z,X){return ot.makeOrd(Z,X,"mathord")},mathmlBuilder:function(Z,X){var ne=new In.MathNode("mi",[La(Z.text,Z.mode,X)]),he=ss(Z,X)||"italic";return he!==pa[ne.type]&&ne.setAttribute("mathvariant",he),ne}}),ai({type:"textord",htmlBuilder:function(Z,X){return ot.makeOrd(Z,X,"textord")},mathmlBuilder:function(Z,X){var ne=La(Z.text,Z.mode,X),he=ss(Z,X)||"normal",Te;return Z.mode==="text"?Te=new In.MathNode("mtext",[ne]):/[0-9]/.test(Z.text)?Te=new In.MathNode("mn",[ne]):Z.text==="\\prime"?Te=new In.MathNode("mo",[ne]):Te=new In.MathNode("mi",[ne]),he!==pa[Te.type]&&Te.setAttribute("mathvariant",he),Te}});var xi={"\\nobreak":"nobreak","\\allowbreak":"allowbreak"},hi={" ":{},"\\ ":{},"~":{className:"nobreak"},"\\space":{},"\\nobreakspace":{className:"nobreak"}};ai({type:"spacing",htmlBuilder:function(Z,X){if(hi.hasOwnProperty(Z.text)){var ne=hi[Z.text].className||"";if(Z.mode==="text"){var he=ot.makeOrd(Z,X,"textord");return he.classes.push(ne),he}else return ot.makeSpan(["mspace",ne],[ot.mathsym(Z.text,Z.mode,X)],X)}else{if(xi.hasOwnProperty(Z.text))return ot.makeSpan(["mspace",xi[Z.text]],[],X);throw new o('Unknown type of space "'+Z.text+'"')}},mathmlBuilder:function(Z,X){var ne;if(hi.hasOwnProperty(Z.text))ne=new In.MathNode("mtext",[new In.TextNode("\xA0")]);else{if(xi.hasOwnProperty(Z.text))return new In.MathNode("mspace");throw new o('Unknown type of space "'+Z.text+'"')}return ne}});var la=function(){var Z=new In.MathNode("mtd",[]);return Z.setAttribute("width","50%"),Z};ai({type:"tag",mathmlBuilder:function(Z,X){var ne=new In.MathNode("mtable",[new In.MathNode("mtr",[la(),new In.MathNode("mtd",[Da(Z.body,X)]),la(),new In.MathNode("mtd",[Da(Z.tag,X)])])]);return ne.setAttribute("width","100%"),ne}});var qs={"\\text":void 0,"\\textrm":"textrm","\\textsf":"textsf","\\texttt":"texttt","\\textnormal":"textrm"},As={"\\textbf":"textbf","\\textmd":"textmd"},Wi={"\\textit":"textit","\\textup":"textup"},Oa=function(Z,X){var ne=Z.font;return ne?qs[ne]?X.withTextFontFamily(qs[ne]):As[ne]?X.withTextFontWeight(As[ne]):X.withTextFontShape(Wi[ne]):X};_n({type:"text",names:["\\text","\\textrm","\\textsf","\\texttt","\\textnormal","\\textbf","\\textmd","\\textit","\\textup"],props:{numArgs:1,argTypes:["text"],greediness:2,allowedInText:!0},handler:function(Z,X){var ne=Z.parser,he=Z.funcName,Te=X[0];return{type:"text",mode:ne.mode,body:Fi(Te),font:he}},htmlBuilder:function(Z,X){var ne=Oa(Z,X),he=Ra(Z.body,ne,!0);return ot.makeSpan(["mord","text"],ot.tryCombineChars(he),ne)},mathmlBuilder:function(Z,X){var ne=Oa(Z,X);return Da(Z.body,ne)}}),_n({type:"underline",names:["\\underline"],props:{numArgs:1,allowedInText:!0},handler:function(Z,X){var ne=Z.parser;return{type:"underline",mode:ne.mode,body:X[0]}},htmlBuilder:function(Z,X){var ne=zi(Z.body,X),he=ot.makeLineSpan("underline-line",X),Te=X.fontMetrics().defaultRuleThickness,Ke=ot.makeVList({positionType:"top",positionData:ne.height,children:[{type:"kern",size:Te},{type:"elem",elem:he},{type:"kern",size:3*Te},{type:"elem",elem:ne}]},X);return ot.makeSpan(["mord","underline"],[Ke],X)},mathmlBuilder:function(Z,X){var ne=new In.MathNode("mo",[new In.TextNode("\u203E")]);ne.setAttribute("stretchy","true");var he=new In.MathNode("munder",[Ia(Z.body,X),ne]);return he.setAttribute("accentunder","true"),he}}),_n({type:"verb",names:["\\verb"],props:{numArgs:0,allowedInText:!0},handler:function(Z,X,ne){throw new o("\\verb ended by end of line instead of matching delimiter")},htmlBuilder:function(Z,X){for(var ne=Ji(Z),he=[],Te=X.havingStyle(X.style.text()),Ke=0;Ke<ne.length;Ke++){var Ct=ne[Ke];Ct==="~"&&(Ct="\\textasciitilde"),he.push(ot.makeSymbol(Ct,"Typewriter-Regular",Z.mode,Te,["mord","texttt"]))}return ot.makeSpan(["mord","text"].concat(Te.sizingClasses(X)),ot.tryCombineChars(he),Te)},mathmlBuilder:function(Z,X){var ne=new In.TextNode(Ji(Z)),he=new In.MathNode("mtext",[ne]);return he.setAttribute("mathvariant","monospace"),he}});var Ji=function(Z){return Z.body.replace(/ /g,Z.star?"\u2423":"\xA0")},Oi=ha,ga=Oi,ka=`[ \r
|
|
|
]`,Ka="\\\\[a-zA-Z@]+",Js="\\\\[^\uD800-\uDFFF]",Ya=""+Ka+ka+"*",fo=new RegExp("^("+Ka+")"+ka+"*$"),ja="[\u0300-\u036F]",Xa=new RegExp(ja+"+$"),ls="("+ka+"+)|([!-\\[\\]-\u2027\u202A-\uD7FF\uF900-\uFFFF]"+(ja+"*")+"|[\uD800-\uDBFF][\uDC00-\uDFFF]"+(ja+"*")+"|\\\\verb\\*([^]).*?\\3|\\\\verb([^*a-zA-Z]).*?\\4|\\\\operatorname\\*"+("|"+Ya)+("|"+Js+")"),ra=function(){function Ve(X,ne){this.input=void 0,this.settings=void 0,this.tokenRegex=void 0,this.catcodes=void 0,this.input=X,this.settings=ne,this.tokenRegex=new RegExp(ls,"g"),this.catcodes={"%":14}}var Z=Ve.prototype;return Z.setCatcode=function(ne,he){this.catcodes[ne]=he},Z.lex=function(){var ne=this.input,he=this.tokenRegex.lastIndex;if(he===ne.length)return new c("EOF",new l(this,he,he));var Te=this.tokenRegex.exec(ne);if(Te===null||Te.index!==he)throw new o("Unexpected character: '"+ne[he]+"'",new c(ne[he],new l(this,he,he+1)));var Ke=Te[2]||" ";if(this.catcodes[Ke]===14){var Ct=ne.indexOf(`
|
|
|
`,this.tokenRegex.lastIndex);return Ct===-1?(this.tokenRegex.lastIndex=ne.length,this.settings.reportNonstrict("commentAtEnd","% comment has no terminating newline; LaTeX would fail because of commenting the end of math mode (e.g. $)")):this.tokenRegex.lastIndex=Ct+1,this.lex()}var jt=Ke.match(fo);return jt&&(Ke=jt[1]),new c(Ke,new l(this,he,this.tokenRegex.lastIndex))},Ve}(),za=function(){function Ve(X,ne){X===void 0&&(X={}),ne===void 0&&(ne={}),this.current=void 0,this.builtins=void 0,this.undefStack=void 0,this.current=ne,this.builtins=X,this.undefStack=[]}var 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 ne=this.undefStack.pop();for(var he in ne)ne.hasOwnProperty(he)&&(ne[he]===void 0?delete this.current[he]:this.current[he]=ne[he])},Z.has=function(ne){return this.current.hasOwnProperty(ne)||this.builtins.hasOwnProperty(ne)},Z.get=function(ne){return this.current.hasOwnProperty(ne)?this.current[ne]:this.builtins[ne]},Z.set=function(ne,he,Te){if(Te===void 0&&(Te=!1),Te){for(var Ke=0;Ke<this.undefStack.length;Ke++)delete this.undefStack[Ke][ne];this.undefStack.length>0&&(this.undefStack[this.undefStack.length-1][ne]=he)}else{var Ct=this.undefStack[this.undefStack.length-1];Ct&&!Ct.hasOwnProperty(ne)&&(Ct[ne]=this.current[ne])}this.current[ne]=he},Ve}(),ys={},ya=ys;function be(Ve,Z){ys[Ve]=Z}be("\\@firstoftwo",function(Ve){var Z=Ve.consumeArgs(2);return{tokens:Z[0],numArgs:0}}),be("\\@secondoftwo",function(Ve){var Z=Ve.consumeArgs(2);return{tokens:Z[1],numArgs:0}}),be("\\@ifnextchar",function(Ve){var Z=Ve.consumeArgs(3),X=Ve.future();return Z[0].length===1&&Z[0][0].text===X.text?{tokens:Z[1],numArgs:0}:{tokens:Z[2],numArgs:0}}),be("\\@ifstar","\\@ifnextchar *{\\@firstoftwo{#1}}"),be("\\TextOrMath",function(Ve){var Z=Ve.consumeArgs(2);return Ve.mode==="text"?{tokens:Z[0],numArgs:0}:{tokens:Z[1],numArgs:0}});var Ae={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,a:10,A:10,b:11,B:11,c:12,C:12,d:13,D:13,e:14,E:14,f:15,F:15};be("\\char",function(Ve){var Z=Ve.popToken(),X,ne="";if(Z.text==="'")X=8,Z=Ve.popToken();else if(Z.text==='"')X=16,Z=Ve.popToken();else if(Z.text==="`")if(Z=Ve.popToken(),Z.text[0]==="\\")ne=Z.text.charCodeAt(1);else{if(Z.text==="EOF")throw new o("\\char` missing argument");ne=Z.text.charCodeAt(0)}else X=10;if(X){if(ne=Ae[Z.text],ne==null||ne>=X)throw new o("Invalid base-"+X+" digit "+Z.text);for(var he;(he=Ae[Ve.future().text])!=null&&he<X;)ne*=X,ne+=he,Ve.popToken()}return"\\@char{"+ne+"}"});var wr=function(Z,X){var ne=Z.consumeArgs(1)[0];if(ne.length!==1)throw new o("\\gdef's first argument must be a macro name");var he=ne[0].text,Te=0;for(ne=Z.consumeArgs(1)[0];ne.length===1&&ne[0].text==="#";){if(ne=Z.consumeArgs(1)[0],ne.length!==1)throw new o('Invalid argument number length "'+ne.length+'"');if(!/^[1-9]$/.test(ne[0].text))throw new o('Invalid argument number "'+ne[0].text+'"');if(Te++,parseInt(ne[0].text)!==Te)throw new o('Argument number "'+ne[0].text+'" out of order');ne=Z.consumeArgs(1)[0]}return Z.macros.set(he,{tokens:ne,numArgs:Te},X),""};be("\\gdef",function(Ve){return wr(Ve,!0)}),be("\\def",function(Ve){return wr(Ve,!1)}),be("\\global",function(Ve){var Z=Ve.consumeArgs(1)[0];if(Z.length!==1)throw new o("Invalid command after \\global");var X=Z[0].text;if(X==="\\def")return wr(Ve,!0);throw new o("Invalid command '"+X+"' after \\global")});var Xr=function(Z,X,ne){var he=Z.consumeArgs(1)[0];if(he.length!==1)throw new o("\\newcommand's first argument must be a macro name");var Te=he[0].text,Ke=Z.isDefined(Te);if(Ke&&!X)throw new o("\\newcommand{"+Te+"} attempting to redefine "+(Te+"; use \\renewcommand"));if(!Ke&&!ne)throw new o("\\renewcommand{"+Te+"} when command "+Te+" does not yet exist; use \\newcommand");var Ct=0;if(he=Z.consumeArgs(1)[0],he.length===1&&he[0].text==="["){for(var jt="",ir=Z.expandNextToken();ir.text!=="]"&&ir.text!=="EOF";)jt+=ir.text,ir=Z.expandNextToken();if(!jt.match(/^\s*[0-9]+\s*$/))throw new o("Invalid number of arguments: "+jt);Ct=parseInt(jt),he=Z.consumeArgs(1)[0]}return Z.macros.set(Te,{tokens:he,numArgs:Ct}),""};be("\\newcommand",function(Ve){return Xr(Ve,!1,!0)}),be("\\renewcommand",function(Ve){return Xr(Ve,!0,!1)}),be("\\providecommand",function(Ve){return Xr(Ve,!0,!0)}),be("\\bgroup","{"),be("\\egroup","}"),be("\\lq","`"),be("\\rq","'"),be("\\aa","\\r a"),be("\\AA","\\r A"),be("\\textcopyright","\\html@mathml{\\textcircled{c}}{\\char`\xA9}"),be("\\copyright","\\TextOrMath{\\textcopyright}{\\text{\\textcopyright}}"),be("\\textregistered","\\html@mathml{\\textcircled{\\scriptsize R}}{\\char`\xAE}"),be("\u212C","\\mathscr{B}"),be("\u2130","\\mathscr{E}"),be("\u2131","\\mathscr{F}"),be("\u210B","\\mathscr{H}"),be("\u2110","\\mathscr{I}"),be("\u2112","\\mathscr{L}"),be("\u2133","\\mathscr{M}"),be("\u211B","\\mathscr{R}"),be("\u212D","\\mathfrak{C}"),be("\u210C","\\mathfrak{H}"),be("\u2128","\\mathfrak{Z}"),be("\\Bbbk","\\Bbb{k}"),be("\xB7","\\cdotp"),be("\\llap","\\mathllap{\\textrm{#1}}"),be("\\rlap","\\mathrlap{\\textrm{#1}}"),be("\\clap","\\mathclap{\\textrm{#1}}"),be("\\not",'\\html@mathml{\\mathrel{\\mathrlap\\@not}}{\\char"338}'),be("\\neq","\\html@mathml{\\mathrel{\\not=}}{\\mathrel{\\char`\u2260}}"),be("\\ne","\\neq"),be("\u2260","\\neq"),be("\\notin","\\html@mathml{\\mathrel{{\\in}\\mathllap{/\\mskip1mu}}}{\\mathrel{\\char`\u2209}}"),be("\u2209","\\notin"),be("\u2258","\\html@mathml{\\mathrel{=\\kern{-1em}\\raisebox{0.4em}{$\\scriptsize\\frown$}}}{\\mathrel{\\char`\u2258}}"),be("\u2259","\\html@mathml{\\stackrel{\\tiny\\wedge}{=}}{\\mathrel{\\char`\u2258}}"),be("\u225A","\\html@mathml{\\stackrel{\\tiny\\vee}{=}}{\\mathrel{\\char`\u225A}}"),be("\u225B","\\html@mathml{\\stackrel{\\scriptsize\\star}{=}}{\\mathrel{\\char`\u225B}}"),be("\u225D","\\html@mathml{\\stackrel{\\tiny\\mathrm{def}}{=}}{\\mathrel{\\char`\u225D}}"),be("\u225E","\\html@mathml{\\stackrel{\\tiny\\mathrm{m}}{=}}{\\mathrel{\\char`\u225E}}"),be("\u225F","\\html@mathml{\\stackrel{\\tiny?}{=}}{\\mathrel{\\char`\u225F}}"),be("\u27C2","\\perp"),be("\u203C","\\mathclose{!\\mkern-0.8mu!}"),be("\u220C","\\notni"),be("\u231C","\\ulcorner"),be("\u231D","\\urcorner"),be("\u231E","\\llcorner"),be("\u231F","\\lrcorner"),be("\xA9","\\copyright"),be("\xAE","\\textregistered"),be("\uFE0F","\\textregistered"),be("\\vdots","\\mathord{\\varvdots\\rule{0pt}{15pt}}"),be("\u22EE","\\vdots"),be("\\varGamma","\\mathit{\\Gamma}"),be("\\varDelta","\\mathit{\\Delta}"),be("\\varTheta","\\mathit{\\Theta}"),be("\\varLambda","\\mathit{\\Lambda}"),be("\\varXi","\\mathit{\\Xi}"),be("\\varPi","\\mathit{\\Pi}"),be("\\varSigma","\\mathit{\\Sigma}"),be("\\varUpsilon","\\mathit{\\Upsilon}"),be("\\varPhi","\\mathit{\\Phi}"),be("\\varPsi","\\mathit{\\Psi}"),be("\\varOmega","\\mathit{\\Omega}"),be("\\substack","\\begin{subarray}{c}#1\\end{subarray}"),be("\\colon","\\nobreak\\mskip2mu\\mathpunct{}\\mathchoice{\\mkern-3mu}{\\mkern-3mu}{}{}{:}\\mskip6mu"),be("\\boxed","\\fbox{$\\displaystyle{#1}$}"),be("\\iff","\\DOTSB\\;\\Longleftrightarrow\\;"),be("\\implies","\\DOTSB\\;\\Longrightarrow\\;"),be("\\impliedby","\\DOTSB\\;\\Longleftarrow\\;");var yr={",":"\\dotsc","\\not":"\\dotsb","+":"\\dotsb","=":"\\dotsb","<":"\\dotsb",">":"\\dotsb","-":"\\dotsb","*":"\\dotsb",":":"\\dotsb","\\DOTSB":"\\dotsb","\\coprod":"\\dotsb","\\bigvee":"\\dotsb","\\bigwedge":"\\dotsb","\\biguplus":"\\dotsb","\\bigcap":"\\dotsb","\\bigcup":"\\dotsb","\\prod":"\\dotsb","\\sum":"\\dotsb","\\bigotimes":"\\dotsb","\\bigoplus":"\\dotsb","\\bigodot":"\\dotsb","\\bigsqcup":"\\dotsb","\\And":"\\dotsb","\\longrightarrow":"\\dotsb","\\Longrightarrow":"\\dotsb","\\longleftarrow":"\\dotsb","\\Longleftarrow":"\\dotsb","\\longleftrightarrow":"\\dotsb","\\Longleftrightarrow":"\\dotsb","\\mapsto":"\\dotsb","\\longmapsto":"\\dotsb","\\hookrightarrow":"\\dotsb","\\doteq":"\\dotsb","\\mathbin":"\\dotsb","\\mathrel":"\\dotsb","\\relbar":"\\dotsb","\\Relbar":"\\dotsb","\\xrightarrow":"\\dotsb","\\xleftarrow":"\\dotsb","\\DOTSI":"\\dotsi","\\int":"\\dotsi","\\oint":"\\dotsi","\\iint":"\\dotsi","\\iiint":"\\dotsi","\\iiiint":"\\dotsi","\\idotsint":"\\dotsi","\\DOTSX":"\\dotsx"};be("\\dots",function(Ve){var Z="\\dotso",X=Ve.expandAfterFuture().text;return X in yr?Z=yr[X]:(X.substr(0,4)==="\\not"||X in Fe.math&&C.contains(["bin","rel"],Fe.math[X].group))&&(Z="\\dotsb"),Z});var Kr={")":!0,"]":!0,"\\rbrack":!0,"\\}":!0,"\\rbrace":!0,"\\rangle":!0,"\\rceil":!0,"\\rfloor":!0,"\\rgroup":!0,"\\rmoustache":!0,"\\right":!0,"\\bigr":!0,"\\biggr":!0,"\\Bigr":!0,"\\Biggr":!0,$:!0,";":!0,".":!0,",":!0};be("\\dotso",function(Ve){var Z=Ve.future().text;return Z in Kr?"\\ldots\\,":"\\ldots"}),be("\\dotsc",function(Ve){var Z=Ve.future().text;return Z in Kr&&Z!==","?"\\ldots\\,":"\\ldots"}),be("\\cdots",function(Ve){var Z=Ve.future().text;return Z in Kr?"\\@cdots\\,":"\\@cdots"}),be("\\dotsb","\\cdots"),be("\\dotsm","\\cdots"),be("\\dotsi","\\!\\cdots"),be("\\dotsx","\\ldots\\,"),be("\\DOTSI","\\relax"),be("\\DOTSB","\\relax"),be("\\DOTSX","\\relax"),be("\\tmspace","\\TextOrMath{\\kern#1#3}{\\mskip#1#2}\\relax"),be("\\,","\\tmspace+{3mu}{.1667em}"),be("\\thinspace","\\,"),be("\\>","\\mskip{4mu}"),be("\\:","\\tmspace+{4mu}{.2222em}"),be("\\medspace","\\:"),be("\\;","\\tmspace+{5mu}{.2777em}"),be("\\thickspace","\\;"),be("\\!","\\tmspace-{3mu}{.1667em}"),be("\\negthinspace","\\!"),be("\\negmedspace","\\tmspace-{4mu}{.2222em}"),be("\\negthickspace","\\tmspace-{5mu}{.277em}"),be("\\enspace","\\kern.5em "),be("\\enskip","\\hskip.5em\\relax"),be("\\quad","\\hskip1em\\relax"),be("\\qquad","\\hskip2em\\relax"),be("\\tag","\\@ifstar\\tag@literal\\tag@paren"),be("\\tag@paren","\\tag@literal{({#1})}"),be("\\tag@literal",function(Ve){if(Ve.macros.get("\\df@tag"))throw new o("Multiple \\tag");return"\\gdef\\df@tag{\\text{#1}}"}),be("\\bmod","\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}\\mathbin{\\rm mod}\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}"),be("\\pod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern8mu}{\\mkern8mu}{\\mkern8mu}(#1)"),be("\\pmod","\\pod{{\\rm mod}\\mkern6mu#1}"),be("\\mod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern12mu}{\\mkern12mu}{\\mkern12mu}{\\rm mod}\\,\\,#1"),be("\\pmb","\\html@mathml{\\@binrel{#1}{\\mathrlap{#1}\\kern0.5px#1}}{\\mathbf{#1}}"),be("\\\\","\\newline"),be("\\TeX","\\textrm{\\html@mathml{T\\kern-.1667em\\raisebox{-.5ex}{E}\\kern-.125emX}{TeX}}");var En=Vt["Main-Regular"][84][1]-.7*Vt["Main-Regular"][65][1]+"em";be("\\LaTeX","\\textrm{\\html@mathml{"+("L\\kern-.36em\\raisebox{"+En+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{LaTeX}}"),be("\\KaTeX","\\textrm{\\html@mathml{"+("K\\kern-.17em\\raisebox{"+En+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{KaTeX}}"),be("\\hspace","\\@ifstar\\@hspacer\\@hspace"),be("\\@hspace","\\hskip #1\\relax"),be("\\@hspacer","\\rule{0pt}{0pt}\\hskip #1\\relax"),be("\\ordinarycolon",":"),be("\\vcentcolon","\\mathrel{\\mathop\\ordinarycolon}"),be("\\dblcolon",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-.9mu}\\vcentcolon}}{\\mathop{\\char"2237}}'),be("\\coloneqq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2254}}'),be("\\Coloneqq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2237\\char"3d}}'),be("\\coloneq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"3a\\char"2212}}'),be("\\Coloneq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"2237\\char"2212}}'),be("\\eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2255}}'),be("\\Eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"3d\\char"2237}}'),be("\\eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2239}}'),be("\\Eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"2212\\char"2237}}'),be("\\colonapprox",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"3a\\char"2248}}'),be("\\Colonapprox",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"2237\\char"2248}}'),be("\\colonsim",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"3a\\char"223c}}'),be("\\Colonsim",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"2237\\char"223c}}'),be("\u2237","\\dblcolon"),be("\u2239","\\eqcolon"),be("\u2254","\\coloneqq"),be("\u2255","\\eqqcolon"),be("\u2A74","\\Coloneqq"),be("\\ratio","\\vcentcolon"),be("\\coloncolon","\\dblcolon"),be("\\colonequals","\\coloneqq"),be("\\coloncolonequals","\\Coloneqq"),be("\\equalscolon","\\eqqcolon"),be("\\equalscoloncolon","\\Eqqcolon"),be("\\colonminus","\\coloneq"),be("\\coloncolonminus","\\Coloneq"),be("\\minuscolon","\\eqcolon"),be("\\minuscoloncolon","\\Eqcolon"),be("\\coloncolonapprox","\\Colonapprox"),be("\\coloncolonsim","\\Colonsim"),be("\\simcolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\vcentcolon}"),be("\\simcoloncolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\dblcolon}"),be("\\approxcolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\vcentcolon}"),be("\\approxcoloncolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\dblcolon}"),be("\\notni","\\html@mathml{\\not\\ni}{\\mathrel{\\char`\u220C}}"),be("\\limsup","\\DOTSB\\operatorname*{lim\\,sup}"),be("\\liminf","\\DOTSB\\operatorname*{lim\\,inf}"),be("\\gvertneqq","\\html@mathml{\\@gvertneqq}{\u2269}"),be("\\lvertneqq","\\html@mathml{\\@lvertneqq}{\u2268}"),be("\\ngeqq","\\html@mathml{\\@ngeqq}{\u2271}"),be("\\ngeqslant","\\html@mathml{\\@ngeqslant}{\u2271}"),be("\\nleqq","\\html@mathml{\\@nleqq}{\u2270}"),be("\\nleqslant","\\html@mathml{\\@nleqslant}{\u2270}"),be("\\nshortmid","\\html@mathml{\\@nshortmid}{\u2224}"),be("\\nshortparallel","\\html@mathml{\\@nshortparallel}{\u2226}"),be("\\nsubseteqq","\\html@mathml{\\@nsubseteqq}{\u2288}"),be("\\nsupseteqq","\\html@mathml{\\@nsupseteqq}{\u2289}"),be("\\varsubsetneq","\\html@mathml{\\@varsubsetneq}{\u228A}"),be("\\varsubsetneqq","\\html@mathml{\\@varsubsetneqq}{\u2ACB}"),be("\\varsupsetneq","\\html@mathml{\\@varsupsetneq}{\u228B}"),be("\\varsupsetneqq","\\html@mathml{\\@varsupsetneqq}{\u2ACC}"),be("\\llbracket","\\html@mathml{\\mathopen{[\\mkern-3.2mu[}}{\\mathopen{\\char`\u27E6}}"),be("\\rrbracket","\\html@mathml{\\mathclose{]\\mkern-3.2mu]}}{\\mathclose{\\char`\u27E7}}"),be("\u27E6","\\llbracket"),be("\u27E7","\\rrbracket"),be("\\lBrace","\\html@mathml{\\mathopen{\\{\\mkern-3.2mu[}}{\\mathopen{\\char`\u2983}}"),be("\\rBrace","\\html@mathml{\\mathclose{]\\mkern-3.2mu\\}}}{\\mathclose{\\char`\u2984}}"),be("\u2983","\\lBrace"),be("\u2984","\\rBrace"),be("\\darr","\\downarrow"),be("\\dArr","\\Downarrow"),be("\\Darr","\\Downarrow"),be("\\lang","\\langle"),be("\\rang","\\rangle"),be("\\uarr","\\uparrow"),be("\\uArr","\\Uparrow"),be("\\Uarr","\\Uparrow"),be("\\N","\\mathbb{N}"),be("\\R","\\mathbb{R}"),be("\\Z","\\mathbb{Z}"),be("\\alef","\\aleph"),be("\\alefsym","\\aleph"),be("\\Alpha","\\mathrm{A}"),be("\\Beta","\\mathrm{B}"),be("\\bull","\\bullet"),be("\\Chi","\\mathrm{X}"),be("\\clubs","\\clubsuit"),be("\\cnums","\\mathbb{C}"),be("\\Complex","\\mathbb{C}"),be("\\Dagger","\\ddagger"),be("\\diamonds","\\diamondsuit"),be("\\empty","\\emptyset"),be("\\Epsilon","\\mathrm{E}"),be("\\Eta","\\mathrm{H}"),be("\\exist","\\exists"),be("\\harr","\\leftrightarrow"),be("\\hArr","\\Leftrightarrow"),be("\\Harr","\\Leftrightarrow"),be("\\hearts","\\heartsuit"),be("\\image","\\Im"),be("\\infin","\\infty"),be("\\Iota","\\mathrm{I}"),be("\\isin","\\in"),be("\\Kappa","\\mathrm{K}"),be("\\larr","\\leftarrow"),be("\\lArr","\\Leftarrow"),be("\\Larr","\\Leftarrow"),be("\\lrarr","\\leftrightarrow"),be("\\lrArr","\\Leftrightarrow"),be("\\Lrarr","\\Leftrightarrow"),be("\\Mu","\\mathrm{M}"),be("\\natnums","\\mathbb{N}"),be("\\Nu","\\mathrm{N}"),be("\\Omicron","\\mathrm{O}"),be("\\plusmn","\\pm"),be("\\rarr","\\rightarrow"),be("\\rArr","\\Rightarrow"),be("\\Rarr","\\Rightarrow"),be("\\real","\\Re"),be("\\reals","\\mathbb{R}"),be("\\Reals","\\mathbb{R}"),be("\\Rho","\\mathrm{P}"),be("\\sdot","\\cdot"),be("\\sect","\\S"),be("\\spades","\\spadesuit"),be("\\sub","\\subset"),be("\\sube","\\subseteq"),be("\\supe","\\supseteq"),be("\\Tau","\\mathrm{T}"),be("\\thetasym","\\vartheta"),be("\\weierp","\\wp"),be("\\Zeta","\\mathrm{Z}"),be("\\argmin","\\DOTSB\\operatorname*{arg\\,min}"),be("\\argmax","\\DOTSB\\operatorname*{arg\\,max}"),be("\\plim","\\DOTSB\\mathop{\\operatorname{plim}}\\limits"),be("\\blue","\\textcolor{##6495ed}{#1}"),be("\\orange","\\textcolor{##ffa500}{#1}"),be("\\pink","\\textcolor{##ff00af}{#1}"),be("\\red","\\textcolor{##df0030}{#1}"),be("\\green","\\textcolor{##28ae7b}{#1}"),be("\\gray","\\textcolor{gray}{#1}"),be("\\purple","\\textcolor{##9d38bd}{#1}"),be("\\blueA","\\textcolor{##ccfaff}{#1}"),be("\\blueB","\\textcolor{##80f6ff}{#1}"),be("\\blueC","\\textcolor{##63d9ea}{#1}"),be("\\blueD","\\textcolor{##11accd}{#1}"),be("\\blueE","\\textcolor{##0c7f99}{#1}"),be("\\tealA","\\textcolor{##94fff5}{#1}"),be("\\tealB","\\textcolor{##26edd5}{#1}"),be("\\tealC","\\textcolor{##01d1c1}{#1}"),be("\\tealD","\\textcolor{##01a995}{#1}"),be("\\tealE","\\textcolor{##208170}{#1}"),be("\\greenA","\\textcolor{##b6ffb0}{#1}"),be("\\greenB","\\textcolor{##8af281}{#1}"),be("\\greenC","\\textcolor{##74cf70}{#1}"),be("\\greenD","\\textcolor{##1fab54}{#1}"),be("\\greenE","\\textcolor{##0d923f}{#1}"),be("\\goldA","\\textcolor{##ffd0a9}{#1}"),be("\\goldB","\\textcolor{##ffbb71}{#1}"),be("\\goldC","\\textcolor{##ff9c39}{#1}"),be("\\goldD","\\textcolor{##e07d10}{#1}"),be("\\goldE","\\textcolor{##a75a05}{#1}"),be("\\redA","\\textcolor{##fca9a9}{#1}"),be("\\redB","\\textcolor{##ff8482}{#1}"),be("\\redC","\\textcolor{##f9685d}{#1}"),be("\\redD","\\textcolor{##e84d39}{#1}"),be("\\redE","\\textcolor{##bc2612}{#1}"),be("\\maroonA","\\textcolor{##ffbde0}{#1}"),be("\\maroonB","\\textcolor{##ff92c6}{#1}"),be("\\maroonC","\\textcolor{##ed5fa6}{#1}"),be("\\maroonD","\\textcolor{##ca337c}{#1}"),be("\\maroonE","\\textcolor{##9e034e}{#1}"),be("\\purpleA","\\textcolor{##ddd7ff}{#1}"),be("\\purpleB","\\textcolor{##c6b9fc}{#1}"),be("\\purpleC","\\textcolor{##aa87ff}{#1}"),be("\\purpleD","\\textcolor{##7854ab}{#1}"),be("\\purpleE","\\textcolor{##543b78}{#1}"),be("\\mintA","\\textcolor{##f5f9e8}{#1}"),be("\\mintB","\\textcolor{##edf2df}{#1}"),be("\\mintC","\\textcolor{##e0e5cc}{#1}"),be("\\grayA","\\textcolor{##f6f7f7}{#1}"),be("\\grayB","\\textcolor{##f0f1f2}{#1}"),be("\\grayC","\\textcolor{##e3e5e6}{#1}"),be("\\grayD","\\textcolor{##d6d8da}{#1}"),be("\\grayE","\\textcolor{##babec2}{#1}"),be("\\grayF","\\textcolor{##888d93}{#1}"),be("\\grayG","\\textcolor{##626569}{#1}"),be("\\grayH","\\textcolor{##3b3e40}{#1}"),be("\\grayI","\\textcolor{##21242c}{#1}"),be("\\kaBlue","\\textcolor{##314453}{#1}"),be("\\kaGreen","\\textcolor{##71B307}{#1}");var Xn={"\\relax":!0,"^":!0,_:!0,"\\limits":!0,"\\nolimits":!0},ki=function(){function Ve(X,ne,he){this.settings=void 0,this.expansionCount=void 0,this.lexer=void 0,this.macros=void 0,this.stack=void 0,this.mode=void 0,this.settings=ne,this.expansionCount=0,this.feed(X),this.macros=new za(ya,ne.macros),this.mode=he,this.stack=[]}var Z=Ve.prototype;return Z.feed=function(ne){this.lexer=new ra(ne,this.settings)},Z.switchMode=function(ne){this.mode=ne},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(ne){this.stack.push(ne)},Z.pushTokens=function(ne){var he;(he=this.stack).push.apply(he,ne)},Z.consumeSpaces=function(){for(;;){var ne=this.future();if(ne.text===" ")this.stack.pop();else break}},Z.consumeArgs=function(ne){for(var he=[],Te=0;Te<ne;++Te){this.consumeSpaces();var Ke=this.popToken();if(Ke.text==="{"){for(var Ct=[],jt=1;jt!==0;){var ir=this.popToken();if(Ct.push(ir),ir.text==="{")++jt;else if(ir.text==="}")--jt;else if(ir.text==="EOF")throw new o("End of input in macro argument",Ke)}Ct.pop(),Ct.reverse(),he[Te]=Ct}else{if(Ke.text==="EOF")throw new o("End of input expecting macro argument");he[Te]=[Ke]}}return he},Z.expandOnce=function(){var ne=this.popToken(),he=ne.text,Te=this._getExpansion(he);if(Te==null)return this.pushToken(ne),ne;if(this.expansionCount++,this.expansionCount>this.settings.maxExpand)throw new o("Too many expansions: infinite loop or need to increase maxExpand setting");var Ke=Te.tokens;if(Te.numArgs){var Ct=this.consumeArgs(Te.numArgs);Ke=Ke.slice();for(var jt=Ke.length-1;jt>=0;--jt){var ir=Ke[jt];if(ir.text==="#"){if(jt===0)throw new o("Incomplete placeholder at end of macro body",ir);if(ir=Ke[--jt],ir.text==="#")Ke.splice(jt+1,1);else if(/^[1-9]$/.test(ir.text)){var It;(It=Ke).splice.apply(It,[jt,2].concat(Ct[+ir.text-1]))}else throw new o("Not a valid argument number",ir)}}}return this.pushTokens(Ke),Ke},Z.expandAfterFuture=function(){return this.expandOnce(),this.future()},Z.expandNextToken=function(){for(;;){var ne=this.expandOnce();if(ne instanceof c)if(ne.text==="\\relax")this.stack.pop();else return this.stack.pop()}throw new Error},Z.expandMacro=function(ne){if(this.macros.get(ne)){var he=[],Te=this.stack.length;for(this.pushToken(new c(ne));this.stack.length>Te;){var Ke=this.expandOnce();Ke instanceof c&&he.push(this.stack.pop())}return he}},Z.expandMacroAsText=function(ne){var he=this.expandMacro(ne);return he&&he.map(function(Te){return Te.text}).join("")},Z._getExpansion=function(ne){var he=this.macros.get(ne);if(he==null)return he;var Te=typeof he=="function"?he(this):he;if(typeof Te=="string"){var Ke=0;if(Te.indexOf("#")!==-1)for(var Ct=Te.replace(/##/g,"");Ct.indexOf("#"+(Ke+1))!==-1;)++Ke;for(var jt=new ra(Te,this.settings),ir=[],It=jt.lex();It.text!=="EOF";)ir.push(It),It=jt.lex();ir.reverse();var Ur={tokens:ir,numArgs:Ke};return Ur}return Te},Z.isDefined=function(ne){return this.macros.has(ne)||ga.hasOwnProperty(ne)||Fe.math.hasOwnProperty(ne)||Fe.text.hasOwnProperty(ne)||Xn.hasOwnProperty(ne)},Ve}(),On={"\u0301":{text:"\\'",math:"\\acute"},"\u0300":{text:"\\`",math:"\\grave"},"\u0308":{text:'\\"',math:"\\ddot"},"\u0303":{text:"\\~",math:"\\tilde"},"\u0304":{text:"\\=",math:"\\bar"},"\u0306":{text:"\\u",math:"\\breve"},"\u030C":{text:"\\v",math:"\\check"},"\u0302":{text:"\\^",math:"\\hat"},"\u0307":{text:"\\.",math:"\\dot"},"\u030A":{text:"\\r",math:"\\mathring"},"\u030B":{text:"\\H"}},Cn={\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"},Nn=function(){function Ve(X,ne){this.mode=void 0,this.gullet=void 0,this.settings=void 0,this.leftrightDepth=void 0,this.nextToken=void 0,this.mode="math",this.gullet=new ki(X,ne,this.mode),this.settings=ne,this.leftrightDepth=0}var Z=Ve.prototype;return Z.expect=function(ne,he){if(he===void 0&&(he=!0),this.fetch().text!==ne)throw new o("Expected '"+ne+"', got '"+this.fetch().text+"'",this.fetch());he&&this.consume()},Z.consume=function(){this.nextToken=null},Z.fetch=function(){return this.nextToken==null&&(this.nextToken=this.gullet.expandNextToken()),this.nextToken},Z.switchMode=function(ne){this.mode=ne,this.gullet.switchMode(ne)},Z.parse=function(){this.gullet.beginGroup(),this.settings.colorIsTextColor&&this.gullet.macros.set("\\color","\\textcolor");var ne=this.parseExpression(!1);return this.expect("EOF"),this.gullet.endGroup(),ne},Z.parseExpression=function(ne,he){for(var Te=[];;){this.mode==="math"&&this.consumeSpaces();var Ke=this.fetch();if(Ve.endOfExpression.indexOf(Ke.text)!==-1||he&&Ke.text===he||ne&&ga[Ke.text]&&ga[Ke.text].infix)break;var Ct=this.parseAtom(he);if(!Ct)break;Te.push(Ct)}return this.mode==="text"&&this.formLigatures(Te),this.handleInfixNodes(Te)},Z.handleInfixNodes=function(ne){for(var he=-1,Te,Ke=0;Ke<ne.length;Ke++){var Ct=br(ne[Ke],"infix");if(Ct){if(he!==-1)throw new o("only one infix operator per group",Ct.token);he=Ke,Te=Ct.replaceWith}}if(he!==-1&&Te){var jt,ir,It=ne.slice(0,he),Ur=ne.slice(he+1);It.length===1&&It[0].type==="ordgroup"?jt=It[0]:jt={type:"ordgroup",mode:this.mode,body:It},Ur.length===1&&Ur[0].type==="ordgroup"?ir=Ur[0]:ir={type:"ordgroup",mode:this.mode,body:Ur};var en;return Te==="\\\\abovefrac"?en=this.callFunction(Te,[jt,ne[he],ir],[]):en=this.callFunction(Te,[jt,ir],[]),[en]}else return ne},Z.handleSupSubscript=function(ne){var he=this.fetch(),Te=he.text;this.consume();var Ke=this.parseGroup(ne,!1,Ve.SUPSUB_GREEDINESS,void 0,void 0,!0);if(!Ke)throw new o("Expected group after '"+Te+"'",he);return Ke},Z.formatUnsupportedCmd=function(ne){for(var he=[],Te=0;Te<ne.length;Te++)he.push({type:"textord",mode:"text",text:ne[Te]});var Ke={type:"text",mode:this.mode,body:he},Ct={type:"color",mode:this.mode,color:this.settings.errorColor,body:[Ke]};return Ct},Z.parseAtom=function(ne){var he=this.parseGroup("atom",!1,null,ne);if(this.mode==="text")return he;for(var Te,Ke;;){this.consumeSpaces();var Ct=this.fetch();if(Ct.text==="\\limits"||Ct.text==="\\nolimits"){var jt=br(he,"op");if(jt){var ir=Ct.text==="\\limits";jt.limits=ir,jt.alwaysHandleSupSub=!0}else if(jt=br(he,"operatorname"),jt&&jt.alwaysHandleSupSub){var It=Ct.text==="\\limits";jt.limits=It}else throw new o("Limit controls must follow a math operator",Ct);this.consume()}else if(Ct.text==="^"){if(Te)throw new o("Double superscript",Ct);Te=this.handleSupSubscript("superscript")}else if(Ct.text==="_"){if(Ke)throw new o("Double subscript",Ct);Ke=this.handleSupSubscript("subscript")}else if(Ct.text==="'"){if(Te)throw new o("Double superscript",Ct);var Ur={type:"textord",mode:this.mode,text:"\\prime"},en=[Ur];for(this.consume();this.fetch().text==="'";)en.push(Ur),this.consume();this.fetch().text==="^"&&en.push(this.handleSupSubscript("superscript")),Te={type:"ordgroup",mode:this.mode,body:en}}else break}return Te||Ke?{type:"supsub",mode:this.mode,base:he,sup:Te,sub:Ke}:he},Z.parseFunction=function(ne,he,Te){var Ke=this.fetch(),Ct=Ke.text,jt=ga[Ct];if(!jt)return null;if(this.consume(),Te!=null&&jt.greediness<=Te)throw new o("Got function '"+Ct+"' with no arguments"+(he?" as "+he:""),Ke);if(this.mode==="text"&&!jt.allowedInText)throw new o("Can't use function '"+Ct+"' in text mode",Ke);if(this.mode==="math"&&jt.allowedInMath===!1)throw new o("Can't use function '"+Ct+"' in math mode",Ke);var ir=this.parseArguments(Ct,jt),It=ir.args,Ur=ir.optArgs;return this.callFunction(Ct,It,Ur,Ke,ne)},Z.callFunction=function(ne,he,Te,Ke,Ct){var jt={funcName:ne,parser:this,token:Ke,breakOnTokenText:Ct},ir=ga[ne];if(ir&&ir.handler)return ir.handler(jt,he,Te);throw new o("No function handler for "+ne)},Z.parseArguments=function(ne,he){var Te=he.numArgs+he.numOptionalArgs;if(Te===0)return{args:[],optArgs:[]};for(var Ke=he.greediness,Ct=[],jt=[],ir=0;ir<Te;ir++){var It=he.argTypes&&he.argTypes[ir],Ur=ir<he.numOptionalArgs,en=ir>0&&!Ur||ir===0&&!Ur&&this.mode==="math",bn=this.parseGroupOfType("argument to '"+ne+"'",It,Ur,Ke,en);if(!bn){if(Ur){jt.push(null);continue}throw new o("Expected group after '"+ne+"'",this.fetch())}(Ur?jt:Ct).push(bn)}return{args:Ct,optArgs:jt}},Z.parseGroupOfType=function(ne,he,Te,Ke,Ct){switch(he){case"color":return Ct&&this.consumeSpaces(),this.parseColorGroup(Te);case"size":return Ct&&this.consumeSpaces(),this.parseSizeGroup(Te);case"url":return this.parseUrlGroup(Te,Ct);case"math":case"text":return this.parseGroup(ne,Te,Ke,void 0,he,Ct);case"hbox":{var jt=this.parseGroup(ne,Te,Ke,void 0,"text",Ct);if(!jt)return jt;var ir={type:"styling",mode:jt.mode,body:[jt],style:"text"};return ir}case"raw":{if(Ct&&this.consumeSpaces(),Te&&this.fetch().text==="{")return null;var It=this.parseStringGroup("raw",Te,!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(ne,Te,Ke,void 0,void 0,Ct);default:throw new o("Unknown group type as "+ne,this.fetch())}},Z.consumeSpaces=function(){for(;this.fetch().text===" ";)this.consume()},Z.parseStringGroup=function(ne,he,Te){var Ke=he?"[":"{",Ct=he?"]":"}",jt=this.fetch();if(jt.text!==Ke){if(he)return null;if(Te&&jt.text!=="EOF"&&/[^{}[\]]/.test(jt.text))return this.consume(),jt}var ir=this.mode;this.mode="text",this.expect(Ke);for(var It="",Ur=this.fetch(),en=0,bn=Ur,$n;($n=this.fetch()).text!==Ct||Te&&en>0;){switch($n.text){case"EOF":throw new o("Unexpected end of input in "+ne,Ur.range(bn,It));case Ke:en++;break;case Ct:en--;break}bn=$n,It+=bn.text,this.consume()}return this.expect(Ct),this.mode=ir,Ur.range(bn,It)},Z.parseRegexGroup=function(ne,he){var Te=this.mode;this.mode="text";for(var Ke=this.fetch(),Ct=Ke,jt="",ir;(ir=this.fetch()).text!=="EOF"&&ne.test(jt+ir.text);)Ct=ir,jt+=Ct.text,this.consume();if(jt==="")throw new o("Invalid "+he+": '"+Ke.text+"'",Ke);return this.mode=Te,Ke.range(Ct,jt)},Z.parseColorGroup=function(ne){var he=this.parseStringGroup("color",ne);if(!he)return null;var Te=/^(#[a-f0-9]{3}|#?[a-f0-9]{6}|[a-z]+)$/i.exec(he.text);if(!Te)throw new o("Invalid color: '"+he.text+"'",he);var Ke=Te[0];return/^[0-9a-f]{6}$/i.test(Ke)&&(Ke="#"+Ke),{type:"color-token",mode:this.mode,color:Ke}},Z.parseSizeGroup=function(ne){var he,Te=!1;if(!ne&&this.fetch().text!=="{"?he=this.parseRegexGroup(/^[-+]? *(?:$|\d+|\d+\.\d*|\.\d*) *[a-z]{0,2} *$/,"size"):he=this.parseStringGroup("size",ne),!he)return null;!ne&&he.text.length===0&&(he.text="0pt",Te=!0);var Ke=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(he.text);if(!Ke)throw new o("Invalid size: '"+he.text+"'",he);var Ct={number:+(Ke[1]+Ke[2]),unit:Ke[3]};if(!gi(Ct))throw new o("Invalid unit: '"+Ct.unit+"'",he);return{type:"size",mode:this.mode,value:Ct,isBlank:Te}},Z.parseUrlGroup=function(ne,he){this.gullet.lexer.setCatcode("%",13);var Te=this.parseStringGroup("url",ne,!0);if(this.gullet.lexer.setCatcode("%",14),!Te)return null;var Ke=Te.text.replace(/\\([#$%&~_^{}])/g,"$1");return{type:"url",mode:this.mode,url:Ke}},Z.parseGroup=function(ne,he,Te,Ke,Ct,jt){var ir=this.mode;Ct&&this.switchMode(Ct),jt&&this.consumeSpaces();var It=this.fetch(),Ur=It.text,en;if(he?Ur==="[":Ur==="{"||Ur==="\\begingroup"){this.consume();var bn=Ve.endOfGroup[Ur];this.gullet.beginGroup();var $n=this.parseExpression(!1,bn),Hn=this.fetch();this.expect(bn),this.gullet.endGroup(),en={type:"ordgroup",mode:this.mode,loc:l.range(It,Hn),body:$n,semisimple:Ur==="\\begingroup"||void 0}}else if(he)en=null;else if(en=this.parseFunction(Ke,ne,Te)||this.parseSymbol(),en==null&&Ur[0]==="\\"&&!Xn.hasOwnProperty(Ur)){if(this.settings.throwOnError)throw new o("Undefined control sequence: "+Ur,It);en=this.formatUnsupportedCmd(Ur),this.consume()}return Ct&&this.switchMode(ir),en},Z.formLigatures=function(ne){for(var he=ne.length-1,Te=0;Te<he;++Te){var Ke=ne[Te],Ct=Ke.text;Ct==="-"&&ne[Te+1].text==="-"&&(Te+1<he&&ne[Te+2].text==="-"?(ne.splice(Te,3,{type:"textord",mode:"text",loc:l.range(Ke,ne[Te+2]),text:"---"}),he-=2):(ne.splice(Te,2,{type:"textord",mode:"text",loc:l.range(Ke,ne[Te+1]),text:"--"}),he-=1)),(Ct==="'"||Ct==="`")&&ne[Te+1].text===Ct&&(ne.splice(Te,2,{type:"textord",mode:"text",loc:l.range(Ke,ne[Te+1]),text:Ct+Ct}),he-=1)}},Z.parseSymbol=function(){var ne=this.fetch(),he=ne.text;if(/^\\verb[^a-zA-Z]/.test(he)){this.consume();var Te=he.slice(5),Ke=Te.charAt(0)==="*";if(Ke&&(Te=Te.slice(1)),Te.length<2||Te.charAt(0)!==Te.slice(-1))throw new o(`\\verb assertion failed --
|
|
|
please report what input caused this bug`);return Te=Te.slice(1,-1),{type:"verb",mode:"text",body:Te,star:Ke}}Cn.hasOwnProperty(he[0])&&!Fe[this.mode][he[0]]&&(this.settings.strict&&this.mode==="math"&&this.settings.reportNonstrict("unicodeTextInMathMode",'Accented Unicode text character "'+he[0]+'" used in math mode',ne),he=Cn[he[0]]+he.substr(1));var Ct=Xa.exec(he);Ct&&(he=he.substring(0,Ct.index),he==="i"?he="\u0131":he==="j"&&(he="\u0237"));var jt;if(Fe[this.mode][he]){this.settings.strict&&this.mode==="math"&&Qr.indexOf(he)>=0&&this.settings.reportNonstrict("unicodeTextInMathMode",'Latin-1/Unicode text character "'+he[0]+'" used in math mode',ne);var ir=Fe[this.mode][he].group,It=l.range(ne),Ur;if(Nt.hasOwnProperty(ir)){var en=ir;Ur={type:"atom",mode:this.mode,family:en,loc:It,text:he}}else Ur={type:ir,mode:this.mode,loc:It,text:he};jt=Ur}else if(he.charCodeAt(0)>=128)this.settings.strict&&(De(he.charCodeAt(0))?this.mode==="math"&&this.settings.reportNonstrict("unicodeTextInMathMode",'Unicode text character "'+he[0]+'" used in math mode',ne):this.settings.reportNonstrict("unknownSymbol",'Unrecognized Unicode character "'+he[0]+'"'+(" ("+he.charCodeAt(0)+")"),ne)),jt={type:"textord",mode:"text",loc:l.range(ne),text:he};else return null;if(this.consume(),Ct)for(var bn=0;bn<Ct[0].length;bn++){var $n=Ct[0][bn];if(!On[$n])throw new o("Unknown accent ' "+$n+"'",ne);var Hn=On[$n][this.mode];if(!Hn)throw new o("Accent "+$n+" unsupported in "+this.mode+" mode",ne);jt={type:"accent",mode:this.mode,loc:l.range(ne),label:Hn,isStretchy:!1,isShifty:!0,base:jt}}return jt},Ve}();Nn.endOfExpression=["}","\\endgroup","\\end","\\right","&"],Nn.endOfGroup={"[":"]","{":"}","\\begingroup":"\\endgroup"},Nn.SUPSUB_GREEDINESS=1;var ia=function(Z,X){if(!(typeof Z=="string"||Z instanceof String))throw new TypeError("KaTeX can only parse string typed expression");var ne=new Nn(Z,X);delete ne.gullet.macros.current["\\df@tag"];var he=ne.parse();if(ne.gullet.macros.get("\\df@tag")){if(!X.displayMode)throw new o("\\tag works only in display equations");ne.gullet.feed("\\df@tag"),he=[{type:"tag",mode:"text",body:he,tag:ne.parse()}]}return he},Gi=ia,yo=function(Z,X,ne){X.textContent="";var he=Mu(Z,ne).toNode();X.appendChild(he)};typeof document!="undefined"&&document.compatMode!=="CSS1Compat"&&(typeof console!="undefined"&&console.warn("Warning: KaTeX doesn't work in quirks mode. Make sure your website has a suitable doctype."),yo=function(){throw new o("KaTeX doesn't work in quirks mode.")});var ao=function(Z,X){var ne=Mu(Z,X).toMarkup();return ne},Yo=function(Z,X){var ne=new D(X);return Gi(Z,ne)},bl=function(Z,X,ne){if(ne.throwOnError||!(Z instanceof o))throw Z;var he=ot.makeSpan(["katex-error"],[new Ce(X)]);return he.setAttribute("title",Z.toString()),he.setAttribute("style","color:"+ne.errorColor),he},Mu=function(Z,X){var ne=new D(X);try{var he=Gi(Z,ne);return Io(he,Z,ne)}catch(Te){return bl(Te,Z,ne)}},Xo=function(Z,X){var ne=new D(X);try{var he=Gi(Z,ne);return Do(he,Z,ne)}catch(Te){return bl(Te,Z,ne)}},xc={version:"0.11.1",render:yo,renderToString:ao,ParseError:o,__parse:Yo,__renderToDomTree:Mu,__renderToHTMLTree:Xo,__setFontMetrics:et,__defineSymbol:fe,__defineMacro:be,__domTree:{Span:dt,Anchor:tt,SymbolNode:Ce,SvgNode:Me,PathNode:je,LineNode:We}},vu=e.default=xc}]).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),A=!y&&!_&&!b&&o(x),k=y||_||b||A,R=k?r(x.length,String):[],C=R.length;for(var D in x)(p||u.call(x,D))&&!(k&&(D=="length"||b&&(D=="offset"||D=="parent")||A&&(D=="buffer"||D=="byteLength"||D=="byteOffset")||f(D,C)))&&R.push(D);return R}d.exports=a},89135:function(d,v,e){var r=e(42813),i=e(43607);function l(c,f,o){(o!==void 0&&!i(c[f],o)||o===void 0&&!(f in c))&&r(c,f,o)}d.exports=l},60348:function(d,v,e){var r=e(42813),i=e(43607),l=Object.prototype,c=l.hasOwnProperty;function f(o,h,u){var a=o[h];(!(c.call(o,h)&&i(a,u))||u===void 0&&!(h in o))&&r(o,h,u)}d.exports=f},67971:function(d,v,e){var r=e(43607);function i(l,c){for(var f=l.length;f--;)if(r(l[f][0],c))return f;return-1}d.exports=i},42813:function(d,v,e){var r=e(35234);function i(l,c,f){c=="__proto__"&&r?r(l,c,{configurable:!0,enumerable:!0,value:f,writable:!0}):l[c]=f}d.exports=i},35024:function(d,v,e){var r=e(20816),i=Object.create,l=function(){function c(){}return function(f){if(!r(f))return{};if(i)return i(f);c.prototype=f;var o=new c;return c.prototype=void 0,o}}();d.exports=l},14018:function(d,v,e){var r=e(78010),i=r();d.exports=i},86756:function(d,v,e){var r=e(91869),i=e(72533),l=e(74702),c="[object Null]",f="[object Undefined]",o=r?r.toStringTag:void 0;function h(u){return u==null?u===void 0?f:c:o&&o in Object(u)?i(u):l(u)}d.exports=h},61506:function(d,v,e){var r=e(86756),i=e(93913),l="[object Arguments]";function c(f){return i(f)&&r(f)==l}d.exports=c},6367:function(d,v,e){var r=e(9363),i=e(89379),l=e(20816),c=e(63256),f=/[\\^$.*+?()[\]{}|]/g,o=/^\[object .+?Constructor\]$/,h=Function.prototype,u=Object.prototype,a=h.toString,x=u.hasOwnProperty,p=RegExp("^"+a.call(x).replace(f,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function y(_){if(!l(_)||i(_))return!1;var b=r(_)?p:o;return b.test(c(_))}d.exports=y},10766:function(d,v,e){var r=e(86756),i=e(11156),l=e(93913),c="[object Arguments]",f="[object Array]",o="[object Boolean]",h="[object Date]",u="[object Error]",a="[object Function]",x="[object Map]",p="[object Number]",y="[object Object]",_="[object RegExp]",b="[object Set]",A="[object String]",k="[object WeakMap]",R="[object ArrayBuffer]",C="[object DataView]",D="[object Float32Array]",M="[object Float64Array]",B="[object Int8Array]",N="[object Int16Array]",K="[object Int32Array]",G="[object Uint8Array]",W="[object Uint8ClampedArray]",se="[object Uint16Array]",ie="[object Uint32Array]",le={};le[D]=le[M]=le[B]=le[N]=le[K]=le[G]=le[W]=le[se]=le[ie]=!0,le[c]=le[f]=le[R]=le[o]=le[C]=le[h]=le[u]=le[a]=le[x]=le[p]=le[y]=le[_]=le[b]=le[A]=le[k]=!1;function q(J){return l(J)&&i(J.length)&&!!le[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,A){if(_||(_=new r),f(b))c(a,x,A,p,u,y,_);else{var k=y?y(h(a,A),b,A+"",a,x,_):void 0;k===void 0&&(k=b),i(a,A,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),A=e(20480);function k(R,C,D,M,B,N,K){var G=b(R,D),W=b(C,D),se=K.get(W);if(se){r(R,D,se);return}var ie=N?N(G,W,D+"",R,C,K):void 0,le=ie===void 0;if(le){var q=h(W),J=!q&&a(W),V=!q&&!J&&_(W);ie=W,q||J||V?h(G)?ie=G:u(G)?ie=c(G):J?(le=!1,ie=i(W,!0)):V?(le=!1,ie=l(W,!0)):ie=[]:y(W)||o(W)?(ie=G,o(G)?ie=A(G):(!p(G)||x(G))&&(ie=f(W))):le=!1}le&&(K.set(W,ie),B(ie,W,M,N,K),K.delete(W)),r(R,D,ie)}d.exports=k},92918:function(d,v,e){var r=e(46962),i=e(19652),l=e(71152);function c(f,o){return l(i(f,o,r),f+"")}d.exports=c},63989:function(d,v,e){var r=e(13503),i=e(35234),l=e(46962),c=i?function(f,o){return i(f,"toString",{configurable:!0,enumerable:!1,value:r(o),writable:!0})}:l;d.exports=c},67943:function(d){function v(e,r){for(var i=-1,l=Array(e);++i<e;)l[i]=r(i);return l}d.exports=v},38342:function(d){function v(e){return function(r){return e(r)}}d.exports=v},20188:function(d,v,e){var r=e(77945);function i(l){var c=new l.constructor(l.byteLength);return new r(c).set(new r(l)),c}d.exports=i},32315:function(d,v,e){d=e.nmd(d);var r=e(33152),i=v&&!v.nodeType&&v,l=i&&!0&&d&&!d.nodeType&&d,c=l&&l.exports===i,f=c?r.Buffer:void 0,o=f?f.allocUnsafe:void 0;function h(u,a){if(a)return u.slice();var x=u.length,p=o?o(x):new u.constructor(x);return u.copy(p),p}d.exports=h},78358:function(d,v,e){var r=e(20188);function i(l,c){var f=c?r(l.buffer):l.buffer;return new l.constructor(f,l.byteOffset,l.length)}d.exports=i},47760:function(d){function v(e,r){var i=-1,l=e.length;for(r||(r=Array(l));++i<l;)r[i]=e[i];return r}d.exports=v},95378:function(d,v,e){var r=e(60348),i=e(42813);function l(c,f,o,h){var u=!o;o||(o={});for(var a=-1,x=f.length;++a<x;){var p=f[a],y=h?h(o[p],c[p],p,o,c):void 0;y===void 0&&(y=c[p]),u?i(o,p,y):r(o,p,y)}return o}d.exports=l},64218:function(d,v,e){var r=e(33152),i=r["__core-js_shared__"];d.exports=i},63323:function(d,v,e){var r=e(92918),i=e(8138);function l(c){return r(function(f,o){var h=-1,u=o.length,a=u>1?o[u-1]:void 0,x=u>2?o[2]:void 0;for(a=c.length>3&&typeof a=="function"?(u--,a):void 0,x&&i(o[0],o[1],x)&&(a=u<3?void 0:a,u=1),f=Object(f);++h<u;){var p=o[h];p&&c(f,p,h,a)}return f})}d.exports=l},78010:function(d){function v(e){return function(r,i,l){for(var c=-1,f=Object(r),o=l(r),h=o.length;h--;){var u=o[e?h:++c];if(i(f[u],u,f)===!1)break}return r}}d.exports=v},35234:function(d,v,e){var r=e(73893),i=function(){try{var l=r(Object,"defineProperty");return l({},"",{}),l}catch(c){}}();d.exports=i},37675:function(d,v,e){var r=typeof e.g=="object"&&e.g&&e.g.Object===Object&&e.g;d.exports=r},89819:function(d,v,e){var r=e(94358);function i(l,c){var f=l.__data__;return r(c)?f[typeof c=="string"?"string":"hash"]:f.map}d.exports=i},73893:function(d,v,e){var r=e(6367),i=e(49966);function l(c,f){var o=i(c,f);return r(o)?o:void 0}d.exports=l},49217:function(d,v,e){var r=e(31030),i=r(Object.getPrototypeOf,Object);d.exports=i},72533:function(d,v,e){var r=e(91869),i=Object.prototype,l=i.hasOwnProperty,c=i.toString,f=r?r.toStringTag:void 0;function o(h){var u=l.call(h,f),a=h[f];try{h[f]=void 0;var x=!0}catch(y){}var p=c.call(h);return x&&(u?h[f]=a:delete h[f]),p}d.exports=o},49966:function(d){function v(e,r){return e==null?void 0:e[r]}d.exports=v},64696:function(d,v,e){var r=e(65294);function i(){this.__data__=r?r(null):{},this.size=0}d.exports=i},16824:function(d){function v(e){var r=this.has(e)&&delete this.__data__[e];return this.size-=r?1:0,r}d.exports=v},23476:function(d,v,e){var r=e(65294),i="__lodash_hash_undefined__",l=Object.prototype,c=l.hasOwnProperty;function f(o){var h=this.__data__;if(r){var u=h[o];return u===i?void 0:u}return c.call(h,o)?h[o]:void 0}d.exports=f},63122:function(d,v,e){var r=e(65294),i=Object.prototype,l=i.hasOwnProperty;function c(f){var o=this.__data__;return r?o[f]!==void 0:l.call(o,f)}d.exports=c},37279:function(d,v,e){var r=e(65294),i="__lodash_hash_undefined__";function l(c,f){var o=this.__data__;return this.size+=this.has(c)?0:1,o[c]=r&&f===void 0?i:f,this}d.exports=l},4084:function(d,v,e){var r=e(35024),i=e(49217),l=e(7975);function c(f){return typeof f.constructor=="function"&&!l(f)?r(i(f)):{}}d.exports=c},70213:function(d){var v=9007199254740991,e=/^(?:0|[1-9]\d*)$/;function r(i,l){var c=typeof i;return l=l==null?v:l,!!l&&(c=="number"||c!="symbol"&&e.test(i))&&i>-1&&i%1==0&&i<l}d.exports=r},8138:function(d,v,e){var r=e(43607),i=e(24665),l=e(70213),c=e(20816);function f(o,h,u){if(!c(u))return!1;var a=typeof h;return(a=="number"?i(u)&&l(h,u.length):a=="string"&&h in u)?r(u[h],o):!1}d.exports=f},94358:function(d){function v(e){var r=typeof e;return r=="string"||r=="number"||r=="symbol"||r=="boolean"?e!=="__proto__":e===null}d.exports=v},89379:function(d,v,e){var r=e(64218),i=function(){var c=/[^.]+$/.exec(r&&r.keys&&r.keys.IE_PROTO||"");return c?"Symbol(src)_1."+c:""}();function l(c){return!!i&&i in c}d.exports=l},7975:function(d){var v=Object.prototype;function e(r){var i=r&&r.constructor,l=typeof i=="function"&&i.prototype||v;return r===l}d.exports=e},34251:function(d){function v(){this.__data__=[],this.size=0}d.exports=v},24968:function(d,v,e){var r=e(67971),i=Array.prototype,l=i.splice;function c(f){var o=this.__data__,h=r(o,f);if(h<0)return!1;var u=o.length-1;return h==u?o.pop():l.call(o,h,1),--this.size,!0}d.exports=c},28290:function(d,v,e){var r=e(67971);function i(l){var c=this.__data__,f=r(c,l);return f<0?void 0:c[f][1]}d.exports=i},88068:function(d,v,e){var r=e(67971);function i(l){return r(this.__data__,l)>-1}d.exports=i},54238:function(d,v,e){var r=e(67971);function i(l,c){var f=this.__data__,o=r(f,l);return o<0?(++this.size,f.push([l,c])):f[o][1]=c,this}d.exports=i},35365:function(d,v,e){var r=e(76414),i=e(99746),l=e(40164);function c(){this.size=0,this.__data__={hash:new r,map:new(l||i),string:new r}}d.exports=c},63765:function(d,v,e){var r=e(89819);function i(l){var c=r(this,l).delete(l);return this.size-=c?1:0,c}d.exports=i},12608:function(d,v,e){var r=e(89819);function i(l){return r(this,l).get(l)}d.exports=i},10203:function(d,v,e){var r=e(89819);function i(l){return r(this,l).has(l)}d.exports=i},11298:function(d,v,e){var r=e(89819);function i(l,c){var f=r(this,l),o=f.size;return f.set(l,c),this.size+=f.size==o?0:1,this}d.exports=i},65294:function(d,v,e){var r=e(73893),i=r(Object,"create");d.exports=i},97817:function(d){function v(e){var r=[];if(e!=null)for(var i in Object(e))r.push(i);return r}d.exports=v},52495:function(d,v,e){d=e.nmd(d);var r=e(37675),i=v&&!v.nodeType&&v,l=i&&!0&&d&&!d.nodeType&&d,c=l&&l.exports===i,f=c&&r.process,o=function(){try{var h=l&&l.require&&l.require("util").types;return h||f&&f.binding&&f.binding("util")}catch(u){}}();d.exports=o},74702:function(d){var v=Object.prototype,e=v.toString;function r(i){return e.call(i)}d.exports=r},31030:function(d){function v(e,r){return function(i){return e(r(i))}}d.exports=v},19652:function(d,v,e){var r=e(79628),i=Math.max;function l(c,f,o){return f=i(f===void 0?c.length-1:f,0),function(){for(var h=arguments,u=-1,a=i(h.length-f,0),x=Array(a);++u<a;)x[u]=h[f+u];u=-1;for(var p=Array(f+1);++u<f;)p[u]=h[u];return p[f]=o(x),r(c,this,p)}}d.exports=l},33152:function(d,v,e){var r=e(37675),i=typeof self=="object"&&self&&self.Object===Object&&self,l=r||i||Function("return this")();d.exports=l},47052:function(d){function v(e,r){if(!(r==="constructor"&&typeof e[r]=="function")&&r!="__proto__")return e[r]}d.exports=v},71152:function(d,v,e){var r=e(63989),i=e(12345),l=i(r);d.exports=l},12345:function(d){var v=800,e=16,r=Date.now;function i(l){var c=0,f=0;return function(){var o=r(),h=e-(o-f);if(f=o,h>0){if(++c>=v)return arguments[0]}else c=0;return l.apply(void 0,arguments)}}d.exports=i},31119:function(d,v,e){var r=e(99746);function i(){this.__data__=new r,this.size=0}d.exports=i},64399:function(d){function v(e){var r=this.__data__,i=r.delete(e);return this.size=r.size,i}d.exports=v},81897:function(d){function v(e){return this.__data__.get(e)}d.exports=v},90558:function(d){function v(e){return this.__data__.has(e)}d.exports=v},64841:function(d,v,e){var r=e(99746),i=e(40164),l=e(52166),c=200;function f(o,h){var u=this.__data__;if(u instanceof r){var a=u.__data__;if(!i||a.length<c-1)return a.push([o,h]),this.size=++u.size,this;u=this.__data__=new l(a)}return u.set(o,h),this.size=u.size,this}d.exports=f},63256:function(d){var v=Function.prototype,e=v.toString;function r(i){if(i!=null){try{return e.call(i)}catch(l){}try{return i+""}catch(l){}}return""}d.exports=r},13503:function(d){function v(e){return function(){return e}}d.exports=v},43607:function(d){function v(e,r){return e===r||e!==e&&r!==r}d.exports=v},46962:function(d){function v(e){return e}d.exports=v},13053:function(d,v,e){var r=e(61506),i=e(93913),l=Object.prototype,c=l.hasOwnProperty,f=l.propertyIsEnumerable,o=r(function(){return arguments}())?r:function(h){return i(h)&&c.call(h,"callee")&&!f.call(h,"callee")};d.exports=o},80744:function(d){var v=Array.isArray;d.exports=v},24665:function(d,v,e){var r=e(9363),i=e(11156);function l(c){return c!=null&&i(c.length)&&!r(c)}d.exports=l},41590:function(d,v,e){var r=e(24665),i=e(93913);function l(c){return i(c)&&r(c)}d.exports=l},57835:function(d,v,e){d=e.nmd(d);var r=e(33152),i=e(55950),l=v&&!v.nodeType&&v,c=l&&!0&&d&&!d.nodeType&&d,f=c&&c.exports===l,o=f?r.Buffer:void 0,h=o?o.isBuffer:void 0,u=h||i;d.exports=u},9363:function(d,v,e){var r=e(86756),i=e(20816),l="[object AsyncFunction]",c="[object Function]",f="[object GeneratorFunction]",o="[object Proxy]";function h(u){if(!i(u))return!1;var a=r(u);return a==c||a==f||a==l||a==o}d.exports=h},11156:function(d){var v=9007199254740991;function e(r){return typeof r=="number"&&r>-1&&r%1==0&&r<=v}d.exports=e},20816:function(d){function v(e){var r=typeof e;return e!=null&&(r=="object"||r=="function")}d.exports=v},93913:function(d){function v(e){return e!=null&&typeof e=="object"}d.exports=v},19308:function(d,v,e){var r=e(86756),i=e(49217),l=e(93913),c="[object Object]",f=Function.prototype,o=Object.prototype,h=f.toString,u=o.hasOwnProperty,a=h.call(Object);function x(p){if(!l(p)||r(p)!=c)return!1;var y=i(p);if(y===null)return!0;var _=u.call(y,"constructor")&&y.constructor;return typeof _=="function"&&_ instanceof _&&h.call(_)==a}d.exports=x},18397:function(d,v,e){var r=e(10766),i=e(38342),l=e(52495),c=l&&l.isTypedArray,f=c?i(c):r;d.exports=f},56730:function(d,v,e){var r=e(63333),i=e(33988),l=e(24665);function c(f){return l(f)?r(f,!0):i(f)}d.exports=c},89392:function(d,v,e){d=e.nmd(d);var r;(function(){var i,l="4.17.21",c=200,f="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",o="Expected a function",h="Invalid `variable` option passed into `_.template`",u="__lodash_hash_undefined__",a=500,x="__lodash_placeholder__",p=1,y=2,_=4,b=1,A=2,k=1,R=2,C=4,D=8,M=16,B=32,N=64,K=128,G=256,W=512,se=30,ie="...",le=800,q=16,J=1,V=2,ue=3,ee=1/0,Q=9007199254740991,ce=17976931348623157e292,z=NaN,$=4294967295,ae=$-1,_e=$>>>1,De=[["ary",K],["bind",k],["bindKey",R],["curry",D],["curryRight",M],["flip",W],["partial",B],["partialRight",N],["rearg",G]],ke="[object Arguments]",He="[object Array]",$e="[object AsyncFunction]",Bt="[object Boolean]",gt="[object Date]",Dt="[object DOMException]",nr="[object Error]",Xt="[object Function]",cr="[object GeneratorFunction]",Ge="[object Map]",Tt="[object Number]",Ut="[object Null]",at="[object Object]",bt="[object Promise]",dt="[object Proxy]",tt="[object RegExp]",Ue="[object Set]",ye="[object String]",Ce="[object Symbol]",Me="[object Undefined]",je="[object WeakMap]",We="[object WeakSet]",nt="[object ArrayBuffer]",lt="[object DataView]",Vt="[object Float32Array]",Ht="[object Float64Array]",Pe="[object Int8Array]",et="[object Int16Array]",Kt="[object Int32Array]",kt="[object Uint8Array]",Zt="[object Uint8ClampedArray]",Nt="[object Uint16Array]",tr="[object Uint32Array]",Wt=/\b__p \+= '';/g,Fe=/\b(__p \+=) '' \+/g,fe=/(__e\(.*?\)|\b__t\)) \+\n'';/g,pe=/&(?:amp|lt|gt|quot|#39);/g,Pt=/[&<>"']/g,Ie=RegExp(pe.source),ct=RegExp(Pt.source),zt=/<%-([\s\S]+?)%>/g,wt=/<%([\s\S]+?)%>/g,Oe=/<%=([\s\S]+?)%>/g,xt=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,xe=/^\w*$/,Ye=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,mt=/[\\^$.*+?()[\]{}|]/g,Mt=RegExp(mt.source),Be=/^\s+/,Ir=/\s/,St=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,Zr=/\{\n\/\* \[wrapped with (.+)\] \*/,Yr=/,? & /,xr=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,Mr=/[()=,{}\[\]\/\s]/,mr=/\\(\\)?/g,Nr=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,nn=/\w*$/,on=/^[-+]0x[0-9a-f]+$/i,or=/^0b[01]+$/i,Rt=/^\[object .+?Constructor\]$/,_t=/^0o[0-7]+$/i,vt=/^(?:0|[1-9]\d*)$/,$t=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Sr=/($^)/,vr=/['\n\r\u2028\u2029\\]/g,Qr="\\ud800-\\udfff",Wr="\\u0300-\\u036f",An="\\ufe20-\\ufe2f",At="\\u20d0-\\u20ff",lr=Wr+An+At,Vr="\\u2700-\\u27bf",dn="a-z\\xdf-\\xf6\\xf8-\\xff",Bn="\\xac\\xb1\\xd7\\xf7",ti="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",Un="\\u2000-\\u206f",Ri=" \\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",ni="A-Z\\xc0-\\xd6\\xd8-\\xde",ci="\\ufe0e\\ufe0f",gi=Bn+ti+Un+Ri,di="['\u2019]",Qi="["+Qr+"]",Gn="["+gi+"]",Xi="["+lr+"]",Et="\\d+",st="["+Vr+"]",Vn="["+dn+"]",yi="[^"+Qr+gi+Et+Vr+dn+ni+"]",Kn="\\ud83c[\\udffb-\\udfff]",Ki="(?:"+Xi+"|"+Kn+")",_i="[^"+Qr+"]",ei="(?:\\ud83c[\\udde6-\\uddff]){2}",vn="[\\ud800-\\udbff][\\udc00-\\udfff]",er="["+ni+"]",pt="\\u200d",rt="(?:"+Vn+"|"+yi+")",Ot="(?:"+er+"|"+yi+")",ft="(?:"+di+"(?:d|ll|m|re|s|t|ve))?",ur="(?:"+di+"(?:D|LL|M|RE|S|T|VE))?",fr=Ki+"?",Tr="["+ci+"]?",$r="(?:"+pt+"(?:"+[_i,ei,vn].join("|")+")"+Tr+fr+")*",Ze="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",qe="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",Ee=Tr+fr+$r,ot="(?:"+[st,ei,vn].join("|")+")"+Ee,ar="(?:"+[_i+Xi+"?",Xi,ei,vn,Qi].join("|")+")",br=RegExp(di,"g"),Dr=RegExp(Xi,"g"),Pr=RegExp(Kn+"(?="+Kn+")|"+ar+Ee,"g"),Fr=RegExp([er+"?"+Vn+"+"+ft+"(?="+[Gn,er,"$"].join("|")+")",Ot+"+"+ur+"(?="+[Gn,er+rt,"$"].join("|")+")",er+"?"+rt+"+"+ft,er+"+"+ur,qe,Ze,Et,ot].join("|"),"g"),mn=RegExp("["+pt+Qr+lr+ci+"]"),Er=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,un=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],Jr=-1,sn={};sn[Vt]=sn[Ht]=sn[Pe]=sn[et]=sn[Kt]=sn[kt]=sn[Zt]=sn[Nt]=sn[tr]=!0,sn[ke]=sn[He]=sn[nt]=sn[Bt]=sn[lt]=sn[gt]=sn[nr]=sn[Xt]=sn[Ge]=sn[Tt]=sn[at]=sn[tt]=sn[Ue]=sn[ye]=sn[je]=!1;var xn={};xn[ke]=xn[He]=xn[nt]=xn[lt]=xn[Bt]=xn[gt]=xn[Vt]=xn[Ht]=xn[Pe]=xn[et]=xn[Kt]=xn[Ge]=xn[Tt]=xn[at]=xn[tt]=xn[Ue]=xn[ye]=xn[Ce]=xn[kt]=xn[Zt]=xn[Nt]=xn[tr]=!0,xn[nr]=xn[Xt]=xn[je]=!1;var ha={\u00C0:"A",\u00C1:"A",\u00C2:"A",\u00C3:"A",\u00C4:"A",\u00C5:"A",\u00E0:"a",\u00E1:"a",\u00E2:"a",\u00E3:"a",\u00E4:"a",\u00E5:"a",\u00C7:"C",\u00E7:"c",\u00D0:"D",\u00F0:"d",\u00C8:"E",\u00C9:"E",\u00CA:"E",\u00CB:"E",\u00E8:"e",\u00E9:"e",\u00EA:"e",\u00EB:"e",\u00CC:"I",\u00CD:"I",\u00CE:"I",\u00CF:"I",\u00EC:"i",\u00ED:"i",\u00EE:"i",\u00EF:"i",\u00D1:"N",\u00F1:"n",\u00D2:"O",\u00D3:"O",\u00D4:"O",\u00D5:"O",\u00D6:"O",\u00D8:"O",\u00F2:"o",\u00F3:"o",\u00F4:"o",\u00F5:"o",\u00F6:"o",\u00F8:"o",\u00D9:"U",\u00DA:"U",\u00DB:"U",\u00DC:"U",\u00F9:"u",\u00FA:"u",\u00FB:"u",\u00FC:"u",\u00DD:"Y",\u00FD:"y",\u00FF:"y",\u00C6:"Ae",\u00E6:"ae",\u00DE:"Th",\u00FE:"th",\u00DF:"ss",\u0100:"A",\u0102:"A",\u0104:"A",\u0101:"a",\u0103:"a",\u0105:"a",\u0106:"C",\u0108:"C",\u010A:"C",\u010C:"C",\u0107:"c",\u0109:"c",\u010B:"c",\u010D:"c",\u010E:"D",\u0110:"D",\u010F:"d",\u0111:"d",\u0112:"E",\u0114:"E",\u0116:"E",\u0118:"E",\u011A:"E",\u0113:"e",\u0115:"e",\u0117:"e",\u0119:"e",\u011B:"e",\u011C:"G",\u011E:"G",\u0120:"G",\u0122:"G",\u011D:"g",\u011F:"g",\u0121:"g",\u0123:"g",\u0124:"H",\u0126:"H",\u0125:"h",\u0127:"h",\u0128:"I",\u012A:"I",\u012C:"I",\u012E:"I",\u0130:"I",\u0129:"i",\u012B:"i",\u012D:"i",\u012F:"i",\u0131:"i",\u0134:"J",\u0135:"j",\u0136:"K",\u0137:"k",\u0138:"k",\u0139:"L",\u013B:"L",\u013D:"L",\u013F:"L",\u0141:"L",\u013A:"l",\u013C:"l",\u013E:"l",\u0140:"l",\u0142:"l",\u0143:"N",\u0145:"N",\u0147:"N",\u014A:"N",\u0144:"n",\u0146:"n",\u0148:"n",\u014B:"n",\u014C:"O",\u014E:"O",\u0150:"O",\u014D:"o",\u014F:"o",\u0151:"o",\u0154:"R",\u0156:"R",\u0158:"R",\u0155:"r",\u0157:"r",\u0159:"r",\u015A:"S",\u015C:"S",\u015E:"S",\u0160:"S",\u015B:"s",\u015D:"s",\u015F:"s",\u0161:"s",\u0162:"T",\u0164:"T",\u0166:"T",\u0163:"t",\u0165:"t",\u0167:"t",\u0168:"U",\u016A:"U",\u016C:"U",\u016E:"U",\u0170:"U",\u0172:"U",\u0169:"u",\u016B:"u",\u016D:"u",\u016F:"u",\u0171:"u",\u0173:"u",\u0174:"W",\u0175:"w",\u0176:"Y",\u0177:"y",\u0178:"Y",\u0179:"Z",\u017B:"Z",\u017D:"Z",\u017A:"z",\u017C:"z",\u017E:"z",\u0132:"IJ",\u0133:"ij",\u0152:"Oe",\u0153:"oe",\u0149:"'n",\u017F:"s"},Ci={"&":"&","<":"<",">":">",'"':""","'":"'"},li={"&":"&","<":"<",">":">",""":'"',"'":"'"},_n={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},ai=parseFloat,Fi=parseInt,oa=typeof e.g=="object"&&e.g&&e.g.Object===Object&&e.g,Cs=typeof self=="object"&&self&&self.Object===Object&&self,ua=oa||Cs||Function("return this")(),ms=v&&!v.nodeType&&v,Ts=ms&&!0&&d&&!d.nodeType&&d,Ra=Ts&&Ts.exports===ms,ws=Ra&&oa.process,Zn=function(){try{var dr=Ts&&Ts.require&&Ts.require("util").types;return dr||ws&&ws.binding&&ws.binding("util")}catch(Lr){}}(),ns=Zn&&Zn.isArrayBuffer,Ga=Zn&&Zn.isDate,Ps=Zn&&Zn.isMap,zi=Zn&&Zn.isRegExp,vs=Zn&&Zn.isSet,Po=Zn&&Zn.isTypedArray;function Pa(dr,Lr,Or){switch(Or.length){case 0:return dr.call(Lr);case 1:return dr.call(Lr,Or[0]);case 2:return dr.call(Lr,Or[0],Or[1]);case 3:return dr.call(Lr,Or[0],Or[1],Or[2])}return dr.apply(Lr,Or)}function ta(dr,Lr,Or,gn){for(var yn=-1,ht=dr==null?0:dr.length;++yn<ht;){var Dn=dr[yn];Lr(gn,Dn,Or(Dn),dr)}return gn}function Fa(dr,Lr){for(var Or=-1,gn=dr==null?0:dr.length;++Or<gn&&Lr(dr[Or],Or,dr)!==!1;);return dr}function Ks(dr,Lr){for(var Or=dr==null?0:dr.length;Or--&&Lr(dr[Or],Or,dr)!==!1;);return dr}function In(dr,Lr){for(var Or=-1,gn=dr==null?0:dr.length;++Or<gn;)if(!Lr(dr[Or],Or,dr))return!1;return!0}function La(dr,Lr){for(var Or=-1,gn=dr==null?0:dr.length,yn=0,ht=[];++Or<gn;){var Dn=dr[Or];Lr(Dn,Or,dr)&&(ht[yn++]=Dn)}return ht}function as(dr,Lr){var Or=dr==null?0:dr.length;return!!Or&&lo(dr,Lr,0)>-1}function ss(dr,Lr,Or){for(var gn=-1,yn=dr==null?0:dr.length;++gn<yn;)if(Or(Lr,dr[gn]))return!0;return!1}function Li(dr,Lr){for(var Or=-1,gn=dr==null?0:dr.length,yn=Array(gn);++Or<gn;)yn[Or]=Lr(dr[Or],Or,dr);return yn}function Da(dr,Lr){for(var Or=-1,gn=Lr.length,yn=dr.length;++Or<gn;)dr[yn+Or]=Lr[Or];return dr}function Ia(dr,Lr,Or,gn){var yn=-1,ht=dr==null?0:dr.length;for(gn&&ht&&(Or=dr[++yn]);++yn<ht;)Or=Lr(Or,dr[yn],yn,dr);return Or}function cs(dr,Lr,Or,gn){var yn=dr==null?0:dr.length;for(gn&&yn&&(Or=dr[--yn]);yn--;)Or=Lr(Or,dr[yn],yn,dr);return Or}function Ys(dr,Lr){for(var Or=-1,gn=dr==null?0:dr.length;++Or<gn;)if(Lr(dr[Or],Or,dr))return!0;return!1}var Eo=fi("length");function Io(dr){return dr.split("")}function Do(dr){return dr.match(xr)||[]}function Ba(dr,Lr,Or){var gn;return Or(dr,function(yn,ht,Dn){if(Lr(yn,ht,Dn))return gn=ht,!1}),gn}function qa(dr,Lr,Or,gn){for(var yn=dr.length,ht=Or+(gn?1:-1);gn?ht--:++ht<yn;)if(Lr(dr[ht],ht,dr))return ht;return-1}function lo(dr,Lr,Or){return Lr===Lr?qt(dr,Lr,Or):qa(dr,wo,Or)}function Oo(dr,Lr,Or,gn){for(var yn=Or-1,ht=dr.length;++yn<ht;)if(gn(dr[yn],Lr))return yn;return-1}function wo(dr){return dr!==dr}function ko(dr,Lr){var Or=dr==null?0:dr.length;return Or?$a(dr,Lr)/Or:z}function fi(dr){return function(Lr){return Lr==null?i:Lr[dr]}}function si(dr){return function(Lr){return dr==null?i:dr[Lr]}}function Na(dr,Lr,Or,gn,yn){return yn(dr,function(ht,Dn,Mn){Or=gn?(gn=!1,ht):Lr(Or,ht,Dn,Mn)}),Or}function Va(dr,Lr){var Or=dr.length;for(dr.sort(Lr);Or--;)dr[Or]=dr[Or].value;return dr}function $a(dr,Lr){for(var Or,gn=-1,yn=dr.length;++gn<yn;){var ht=Lr(dr[gn]);ht!==i&&(Or=Or===i?ht:Or+ht)}return Or}function Xs(dr,Lr){for(var Or=-1,gn=Array(dr);++Or<dr;)gn[Or]=Lr(Or);return gn}function So(dr,Lr){return Li(Lr,function(Or){return[Or,dr[Or]]})}function Zo(dr){return dr&&dr.slice(0,Ar(dr)+1).replace(Be,"")}function fs(dr){return function(Lr){return dr(Lr)}}function No(dr,Lr){return Li(Lr,function(Or){return dr[Or]})}function Ho(dr,Lr){return dr.has(Lr)}function iu(dr,Lr){for(var Or=-1,gn=dr.length;++Or<gn&&lo(Lr,dr[Or],0)>-1;);return Or}function mo(dr,Lr){for(var Or=dr.length;Or--&&lo(Lr,dr[Or],0)>-1;);return Or}function Cu(dr,Lr){for(var Or=dr.length,gn=0;Or--;)dr[Or]===Lr&&++gn;return gn}var vo=si(ha),Vs=si(Ci);function Ko(dr){return"\\"+_n[dr]}function du(dr,Lr){return dr==null?i:dr[Lr]}function co(dr){return mn.test(dr)}function go(dr){return Er.test(dr)}function au(dr){for(var Lr,Or=[];!(Lr=dr.next()).done;)Or.push(Lr.value);return Or}function Ro(dr){var Lr=-1,Or=Array(dr.size);return dr.forEach(function(gn,yn){Or[++Lr]=[yn,gn]}),Or}function $o(dr,Lr){return function(Or){return dr(Lr(Or))}}function os(dr,Lr){for(var Or=-1,gn=dr.length,yn=0,ht=[];++Or<gn;){var Dn=dr[Or];(Dn===Lr||Dn===x)&&(dr[Or]=x,ht[yn++]=Or)}return ht}function Ao(dr){var Lr=-1,Or=Array(dr.size);return dr.forEach(function(gn){Or[++Lr]=gn}),Or}function hu(dr){var Lr=-1,Or=Array(dr.size);return dr.forEach(function(gn){Or[++Lr]=[gn,gn]}),Or}function qt(dr,Lr,Or){for(var gn=Or-1,yn=dr.length;++gn<yn;)if(dr[gn]===Lr)return gn;return-1}function hr(dr,Lr,Or){for(var gn=Or+1;gn--;)if(dr[gn]===Lr)return gn;return gn}function sr(dr){return co(dr)?Rn(dr):Eo(dr)}function pr(dr){return co(dr)?wn(dr):Io(dr)}function Ar(dr){for(var Lr=dr.length;Lr--&&Ir.test(dr.charAt(Lr)););return Lr}var fn=si(li);function Rn(dr){for(var Lr=Pr.lastIndex=0;Pr.test(dr);)++Lr;return Lr}function wn(dr){return dr.match(Pr)||[]}function Ln(dr){return dr.match(Fr)||[]}var Jn=function dr(Lr){Lr=Lr==null?ua:Qn.defaults(ua.Object(),Lr,Qn.pick(ua,un));var Or=Lr.Array,gn=Lr.Date,yn=Lr.Error,ht=Lr.Function,Dn=Lr.Math,Mn=Lr.Object,Ei=Lr.RegExp,Zi=Lr.String,Jt=Lr.TypeError,Yi=Or.prototype,Bi=ht.prototype,fa=Mn.prototype,Ja=Lr["__core-js_shared__"],gs=Bi.toString,Ti=fa.hasOwnProperty,io=0,Us=function(){var S=/[^.]+$/.exec(Ja&&Ja.keys&&Ja.keys.IE_PROTO||"");return S?"Symbol(src)_1."+S:""}(),ds=fa.toString,Ea=gs.call(Mn),us=ua._,Qs=Ei("^"+gs.call(Ti).replace(mt,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),kn=Ra?Lr.Buffer:i,Ss=Lr.Symbol,zs=Lr.Uint8Array,Xe=kn?kn.allocUnsafe:i,Qe=$o(Mn.getPrototypeOf,Mn),Ft=Mn.create,Gt=fa.propertyIsEnumerable,gr=Yi.splice,Rr=Ss?Ss.isConcatSpreadable:i,jr=Ss?Ss.iterator:i,hn=Ss?Ss.toStringTag:i,tn=function(){try{var S=Ta(Mn,"defineProperty");return S({},"",{}),S}catch(F){}}(),pn=Lr.clearTimeout!==ua.clearTimeout&&Lr.clearTimeout,Yn=gn&&gn.now!==ua.Date.now&&gn.now,qn=Lr.setTimeout!==ua.setTimeout&&Lr.setTimeout,mi=Dn.ceil,wi=Dn.floor,Hi=Mn.getOwnPropertySymbols,Mi=kn?kn.isBuffer:i,bi=Lr.isFinite,pa=Yi.join,xi=$o(Mn.keys,Mn),hi=Dn.max,la=Dn.min,qs=gn.now,As=Lr.parseInt,Wi=Dn.random,Oa=Yi.reverse,Ji=Ta(Lr,"DataView"),Oi=Ta(Lr,"Map"),ga=Ta(Lr,"Promise"),ka=Ta(Lr,"Set"),Ka=Ta(Lr,"WeakMap"),Js=Ta(Mn,"create"),Ya=Ka&&new Ka,fo={},ja=na(Ji),Xa=na(Oi),ls=na(ga),ra=na(ka),za=na(Ka),ys=Ss?Ss.prototype:i,ya=ys?ys.valueOf:i,be=ys?ys.toString:i;function Ae(S){if(nu(S)&&!Wa(S)&&!(S instanceof Kr)){if(S instanceof yr)return S;if(Ti.call(S,"__wrapped__"))return hs(S)}return new yr(S)}var wr=function(){function S(){}return function(F){if(!Vo(F))return{};if(Ft)return Ft(F);S.prototype=F;var de=new S;return S.prototype=i,de}}();function Xr(){}function yr(S,F){this.__wrapped__=S,this.__actions__=[],this.__chain__=!!F,this.__index__=0,this.__values__=i}Ae.templateSettings={escape:zt,evaluate:wt,interpolate:Oe,variable:"",imports:{_:Ae}},Ae.prototype=Xr.prototype,Ae.prototype.constructor=Ae,yr.prototype=wr(Xr.prototype),yr.prototype.constructor=yr;function Kr(S){this.__wrapped__=S,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=$,this.__views__=[]}function En(){var S=new Kr(this.__wrapped__);return S.__actions__=Ds(this.__actions__),S.__dir__=this.__dir__,S.__filtered__=this.__filtered__,S.__iteratees__=Ds(this.__iteratees__),S.__takeCount__=this.__takeCount__,S.__views__=Ds(this.__views__),S}function Xn(){if(this.__filtered__){var S=new Kr(this);S.__dir__=-1,S.__filtered__=!0}else S=this.clone(),S.__dir__*=-1;return S}function ki(){var S=this.__wrapped__.value(),F=this.__dir__,de=Wa(S),Ne=F<0,yt=de?S.length:0,Qt=Jl(0,yt,this.__views__),_r=Qt.start,kr=Qt.end,Gr=kr-_r,Tn=Ne?kr:_r-1,Pn=this.__iteratees__,zn=Pn.length,Ai=0,ea=la(Gr,this.__takeCount__);if(!de||!Ne&&yt==Gr&&ea==Gr)return Hc(S,this.__actions__);var Sa=[];e:for(;Gr--&&Ai<ea;){Tn+=F;for(var is=-1,Aa=S[Tn];++is<zn;){var Es=Pn[is],ks=Es.iteratee,nc=Es.type,yl=ks(Aa);if(nc==V)Aa=yl;else if(!yl){if(nc==J)continue e;break e}}Sa[Ai++]=Aa}return Sa}Kr.prototype=wr(Xr.prototype),Kr.prototype.constructor=Kr;function On(S){var F=-1,de=S==null?0:S.length;for(this.clear();++F<de;){var Ne=S[F];this.set(Ne[0],Ne[1])}}function Cn(){this.__data__=Js?Js(null):{},this.size=0}function Nn(S){var F=this.has(S)&&delete this.__data__[S];return this.size-=F?1:0,F}function ia(S){var F=this.__data__;if(Js){var de=F[S];return de===u?i:de}return Ti.call(F,S)?F[S]:i}function Gi(S){var F=this.__data__;return Js?F[S]!==i:Ti.call(F,S)}function yo(S,F){var de=this.__data__;return this.size+=this.has(S)?0:1,de[S]=Js&&F===i?u:F,this}On.prototype.clear=Cn,On.prototype.delete=Nn,On.prototype.get=ia,On.prototype.has=Gi,On.prototype.set=yo;function ao(S){var F=-1,de=S==null?0:S.length;for(this.clear();++F<de;){var Ne=S[F];this.set(Ne[0],Ne[1])}}function Yo(){this.__data__=[],this.size=0}function bl(S){var F=this.__data__,de=Ma(F,S);if(de<0)return!1;var Ne=F.length-1;return de==Ne?F.pop():gr.call(F,de,1),--this.size,!0}function Mu(S){var F=this.__data__,de=Ma(F,S);return de<0?i:F[de][1]}function Xo(S){return Ma(this.__data__,S)>-1}function xc(S,F){var de=this.__data__,Ne=Ma(de,S);return Ne<0?(++this.size,de.push([S,F])):de[Ne][1]=F,this}ao.prototype.clear=Yo,ao.prototype.delete=bl,ao.prototype.get=Mu,ao.prototype.has=Xo,ao.prototype.set=xc;function vu(S){var F=-1,de=S==null?0:S.length;for(this.clear();++F<de;){var Ne=S[F];this.set(Ne[0],Ne[1])}}function Ve(){this.size=0,this.__data__={hash:new On,map:new(Oi||ao),string:new On}}function Z(S){var F=Pi(this,S).delete(S);return this.size-=F?1:0,F}function X(S){return Pi(this,S).get(S)}function ne(S){return Pi(this,S).has(S)}function he(S,F){var de=Pi(this,S),Ne=de.size;return de.set(S,F),this.size+=de.size==Ne?0:1,this}vu.prototype.clear=Ve,vu.prototype.delete=Z,vu.prototype.get=X,vu.prototype.has=ne,vu.prototype.set=he;function Te(S){var F=-1,de=S==null?0:S.length;for(this.__data__=new vu;++F<de;)this.add(S[F])}function Ke(S){return this.__data__.set(S,u),this}function Ct(S){return this.__data__.has(S)}Te.prototype.add=Te.prototype.push=Ke,Te.prototype.has=Ct;function jt(S){var F=this.__data__=new ao(S);this.size=F.size}function ir(){this.__data__=new ao,this.size=0}function It(S){var F=this.__data__,de=F.delete(S);return this.size=F.size,de}function Ur(S){return this.__data__.get(S)}function en(S){return this.__data__.has(S)}function bn(S,F){var de=this.__data__;if(de instanceof ao){var Ne=de.__data__;if(!Oi||Ne.length<c-1)return Ne.push([S,F]),this.size=++de.size,this;de=this.__data__=new vu(Ne)}return de.set(S,F),this.size=de.size,this}jt.prototype.clear=ir,jt.prototype.delete=It,jt.prototype.get=Ur,jt.prototype.has=en,jt.prototype.set=bn;function $n(S,F){var de=Wa(S),Ne=!de&&Ff(S),yt=!de&&!Ne&&Pf(S),Qt=!de&&!Ne&&!yt&&jf(S),_r=de||Ne||yt||Qt,kr=_r?Xs(S.length,Zi):[],Gr=kr.length;for(var Tn in S)(F||Ti.call(S,Tn))&&!(_r&&(Tn=="length"||yt&&(Tn=="offset"||Tn=="parent")||Qt&&(Tn=="buffer"||Tn=="byteLength"||Tn=="byteOffset")||Co(Tn,Gr)))&&kr.push(Tn);return kr}function Hn(S){var F=S.length;return F?S[Eu(0,F-1)]:i}function Si(S,F){return Ni(Ds(S),Is(F,0,S.length))}function da(S){return Ni(Ds(S))}function aa(S,F,de){(de!==i&&!$c(S[F],de)||de===i&&!(F in S))&&qi(S,F,de)}function ca(S,F,de){var Ne=S[F];(!(Ti.call(S,F)&&$c(Ne,de))||de===i&&!(F in S))&&qi(S,F,de)}function Ma(S,F){for(var de=S.length;de--;)if($c(S[de][0],F))return de;return-1}function es(S,F,de,Ne){return Ls(S,function(yt,Qt,_r){F(Ne,yt,de(yt),_r)}),Ne}function bs(S,F){return S&&uo(F,Lu(F),S)}function Za(S,F){return S&&uo(F,$l(F),S)}function qi(S,F,de){F=="__proto__"&&tn?tn(S,F,{configurable:!0,enumerable:!0,value:de,writable:!0}):S[F]=de}function Ns(S,F){for(var de=-1,Ne=F.length,yt=Or(Ne),Qt=S==null;++de<Ne;)yt[de]=Qt?i:id(S,F[de]);return yt}function Is(S,F,de){return S===S&&(de!==i&&(S=S<=de?S:de),F!==i&&(S=S>=F?S:F)),S}function pi(S,F,de,Ne,yt,Qt){var _r,kr=F&p,Gr=F&y,Tn=F&_;if(de&&(_r=yt?de(S,Ne,yt,Qt):de(S)),_r!==i)return _r;if(!Vo(S))return S;var Pn=Wa(S);if(Pn){if(_r=Ml(S),!kr)return Ds(S,_r)}else{var zn=xs(S),Ai=zn==Xt||zn==cr;if(Pf(S))return of(S,kr);if(zn==at||zn==ke||Ai&&!yt){if(_r=Gr||Ai?{}:cl(S),!kr)return Gr?zo(S,Za(_r,S)):Uu(S,bs(_r,S))}else{if(!xn[zn])return yt?S:{};_r=Ii(S,zn,kr)}}Qt||(Qt=new jt);var ea=Qt.get(S);if(ea)return ea;Qt.set(S,_r),vd(S)?S.forEach(function(Aa){_r.add(pi(Aa,F,de,Aa,S,Qt))}):_d(S)&&S.forEach(function(Aa,Es){_r.set(Es,pi(Aa,F,de,Es,S,Qt))});var Sa=Tn?Gr?ve:L:Gr?$l:Lu,is=Pn?i:Sa(S);return Fa(is||S,function(Aa,Es){is&&(Es=Aa,Aa=S[Es]),ca(_r,Es,pi(Aa,F,de,Es,S,Qt))}),_r}function ho(S){var F=Lu(S);return function(de){return so(de,S,F)}}function so(S,F,de){var Ne=de.length;if(S==null)return!Ne;for(S=Mn(S);Ne--;){var yt=de[Ne],Qt=F[yt],_r=S[yt];if(_r===i&&!(yt in S)||!Qt(_r))return!1}return!0}function Qo(S,F,de){if(typeof S!="function")throw new Jt(o);return vc(function(){S.apply(i,de)},F)}function Rs(S,F,de,Ne){var yt=-1,Qt=as,_r=!0,kr=S.length,Gr=[],Tn=F.length;if(!kr)return Gr;de&&(F=Li(F,fs(de))),Ne?(Qt=ss,_r=!1):F.length>=c&&(Qt=Ho,_r=!1,F=new Te(F));e:for(;++yt<kr;){var Pn=S[yt],zn=de==null?Pn:de(Pn);if(Pn=Ne||Pn!==0?Pn:0,_r&&zn===zn){for(var Ai=Tn;Ai--;)if(F[Ai]===zn)continue e;Gr.push(Pn)}else Qt(F,zn,Ne)||Gr.push(Pn)}return Gr}var Ls=Su(bo),$s=Su(rl,!0);function xl(S,F){var de=!0;return Ls(S,function(Ne,yt,Qt){return de=!!F(Ne,yt,Qt),de}),de}function Ku(S,F,de){for(var Ne=-1,yt=S.length;++Ne<yt;){var Qt=S[Ne],_r=F(Qt);if(_r!=null&&(kr===i?_r===_r&&!rc(_r):de(_r,kr)))var kr=_r,Gr=Qt}return Gr}function Tu(S,F,de,Ne){var yt=S.length;for(de=rs(de),de<0&&(de=-de>yt?0:yt+de),Ne=Ne===i||Ne>yt?yt:rs(Ne),Ne<0&&(Ne+=yt),Ne=de>Ne?0:yd(Ne);de<Ne;)S[de++]=F;return S}function qo(S,F){var de=[];return Ls(S,function(Ne,yt,Qt){F(Ne,yt,Qt)&&de.push(Ne)}),de}function Zs(S,F,de,Ne,yt){var Qt=-1,_r=S.length;for(de||(de=dc),yt||(yt=[]);++Qt<_r;){var kr=S[Qt];F>0&&de(kr)?F>1?Zs(kr,F-1,de,Ne,yt):Da(yt,kr):Ne||(yt[yt.length]=kr)}return yt}var Fu=Xu(),gu=Xu(!0);function bo(S,F){return S&&Fu(S,F,Lu)}function rl(S,F){return S&&gu(S,F,Lu)}function El(S,F){return La(F,function(de){return bf(S[de])})}function jo(S,F){F=al(F,S);for(var de=0,Ne=F.length;S!=null&&de<Ne;)S=S[Vi(F[de++])];return de&&de==Ne?S:i}function wl(S,F,de){var Ne=F(S);return Wa(S)?Ne:Da(Ne,de(S))}function Ms(S){return S==null?S===i?Me:Ut:hn&&hn in Mn(S)?Gs(S):Xc(S)}function Uo(S,F){return S>F}function Bu(S,F){return S!=null&&Ti.call(S,F)}function Ul(S,F){return S!=null&&F in Mn(S)}function yu(S,F,de){return S>=la(F,de)&&S<hi(F,de)}function ac(S,F,de){for(var Ne=de?ss:as,yt=S[0].length,Qt=S.length,_r=Qt,kr=Or(Qt),Gr=1/0,Tn=[];_r--;){var Pn=S[_r];_r&&F&&(Pn=Li(Pn,fs(F))),Gr=la(Pn.length,Gr),kr[_r]=!de&&(F||yt>=120&&Pn.length>=120)?new Te(_r&&Pn):i}Pn=S[0];var zn=-1,Ai=kr[0];e:for(;++zn<yt&&Tn.length<Gr;){var ea=Pn[zn],Sa=F?F(ea):ea;if(ea=de||ea!==0?ea:0,!(Ai?Ho(Ai,Sa):Ne(Tn,Sa,de))){for(_r=Qt;--_r;){var is=kr[_r];if(!(is?Ho(is,Sa):Ne(S[_r],Sa,de)))continue e}Ai&&Ai.push(Sa),Tn.push(ea)}}return Tn}function zl(S,F,de,Ne){return bo(S,function(yt,Qt,_r){F(Ne,de(yt),Qt,_r)}),Ne}function ri(S,F,de){F=al(F,S),S=Wu(S,F);var Ne=S==null?S:S[Vi(To(F))];return Ne==null?i:Pa(Ne,S,de)}function sc(S){return nu(S)&&Ms(S)==ke}function oo(S){return nu(S)&&Ms(S)==nt}function Zl(S){return nu(S)&&Ms(S)==gt}function Jo(S,F,de,Ne,yt){return S===F?!0:S==null||F==null||!nu(S)&&!nu(F)?S!==S&&F!==F:nl(S,F,de,Ne,Jo,yt)}function nl(S,F,de,Ne,yt,Qt){var _r=Wa(S),kr=Wa(F),Gr=_r?He:xs(S),Tn=kr?He:xs(F);Gr=Gr==ke?at:Gr,Tn=Tn==ke?at:Tn;var Pn=Gr==at,zn=Tn==at,Ai=Gr==Tn;if(Ai&&Pf(S)){if(!Pf(F))return!1;_r=!0,Pn=!1}if(Ai&&!Pn)return Qt||(Qt=new jt),_r||jf(S)?ql(S,F,de,Ne,yt,Qt):Kc(S,F,Gr,de,Ne,yt,Qt);if(!(de&b)){var ea=Pn&&Ti.call(S,"__wrapped__"),Sa=zn&&Ti.call(F,"__wrapped__");if(ea||Sa){var is=ea?S.value():S,Aa=Sa?F.value():F;return Qt||(Qt=new jt),yt(is,Aa,de,Ne,Qt)}}return Ai?(Qt||(Qt=new jt),I(S,F,de,Ne,yt,Qt)):!1}function eo(S){return nu(S)&&xs(S)==Ge}function Uc(S,F,de,Ne){var yt=de.length,Qt=yt,_r=!Ne;if(S==null)return!Qt;for(S=Mn(S);yt--;){var kr=de[yt];if(_r&&kr[2]?kr[1]!==S[kr[0]]:!(kr[0]in S))return!1}for(;++yt<Qt;){kr=de[yt];var Gr=kr[0],Tn=S[Gr],Pn=kr[1];if(_r&&kr[2]){if(Tn===i&&!(Gr in S))return!1}else{var zn=new jt;if(Ne)var Ai=Ne(Tn,Pn,Gr,S,F,zn);if(!(Ai===i?Jo(Pn,Tn,b|A,Ne,zn):Ai))return!1}}return!0}function Ec(S){if(!Vo(S)||hc(S))return!1;var F=bf(S)?Qs:Rt;return F.test(na(S))}function xo(S){return nu(S)&&Ms(S)==tt}function rf(S){return nu(S)&&xs(S)==Ue}function nf(S){return nu(S)&&qf(S.length)&&!!sn[Ms(S)]}function zc(S){return typeof S=="function"?S:S==null?jl:typeof S=="object"?Wa(S)?Hs(S[0],S[1]):Sl(S):Dd(S)}function bu(S){if(!dl(S))return xi(S);var F=[];for(var de in Mn(S))Ti.call(S,de)&&de!="constructor"&&F.push(de);return F}function wc(S){if(!Vo(S))return _c(S);var F=dl(S),de=[];for(var Ne in S)Ne=="constructor"&&(F||!Ti.call(S,Ne))||de.push(Ne);return de}function xu(S,F){return S<F}function pu(S,F){var de=-1,Ne=Nl(S)?Or(S.length):[];return Ls(S,function(yt,Qt,_r){Ne[++de]=F(yt,Qt,_r)}),Ne}function Sl(S){var F=Ha(S);return F.length==1&&F[0][2]?tc(F[0][0],F[0][1]):function(de){return de===S||Uc(de,S,F)}}function Hs(S,F){return Qa(S)&&Yc(F)?tc(Vi(S),F):function(de){var Ne=id(de,S);return Ne===i&&Ne===F?ad(de,S):Jo(F,Ne,b|A)}}function Fs(S,F,de,Ne,yt){S!==F&&Fu(F,function(Qt,_r){if(yt||(yt=new jt),Vo(Qt))Lo(S,F,_r,de,Fs,Ne,yt);else{var kr=Ne?Ne(mc(S,_r),Qt,_r+"",S,F,yt):i;kr===i&&(kr=Qt),aa(S,_r,kr)}},$l)}function Lo(S,F,de,Ne,yt,Qt,_r){var kr=mc(S,de),Gr=mc(F,de),Tn=_r.get(Gr);if(Tn){aa(S,de,Tn);return}var Pn=Qt?Qt(kr,Gr,de+"",S,F,_r):i,zn=Pn===i;if(zn){var Ai=Wa(Gr),ea=!Ai&&Pf(Gr),Sa=!Ai&&!ea&&jf(Gr);Pn=Gr,Ai||ea||Sa?Wa(kr)?Pn=kr:cu(kr)?Pn=Ds(kr):ea?(zn=!1,Pn=of(Gr,!0)):Sa?(zn=!1,Pn=Il(Gr,!0)):Pn=[]:Kf(Gr)||Ff(Gr)?(Pn=kr,Ff(kr)?Pn=bd(kr):(!Vo(kr)||bf(kr))&&(Pn=cl(Gr))):zn=!1}zn&&(_r.set(Gr,Pn),yt(Pn,Gr,Ne,Qt,_r),_r.delete(Gr)),aa(S,de,Pn)}function Hl(S,F){var de=S.length;if(de)return F+=F<0?de:0,Co(F,de)?S[F]:i}function Al(S,F,de){F.length?F=Li(F,function(Qt){return Wa(Qt)?function(_r){return jo(_r,Qt.length===1?Qt[0]:Qt)}:Qt}):F=[jl];var Ne=-1;F=Li(F,fs(ln()));var yt=pu(S,function(Qt,_r,kr){var Gr=Li(F,function(Tn){return Tn(Qt)});return{criteria:Gr,index:++Ne,value:Qt}});return Va(yt,function(Qt,_r){return wu(Qt,_r,de)})}function su(S,F){return Sc(S,F,function(de,Ne){return ad(S,Ne)})}function Sc(S,F,de){for(var Ne=-1,yt=F.length,Qt={};++Ne<yt;){var _r=F[Ne],kr=jo(S,_r);de(kr,_r)&&Nu(Qt,al(_r,S),kr)}return Qt}function Ac(S){return function(F){return jo(F,S)}}function ou(S,F,de,Ne){var yt=Ne?Oo:lo,Qt=-1,_r=F.length,kr=S;for(S===F&&(F=Ds(F)),de&&(kr=Li(S,fs(de)));++Qt<_r;)for(var Gr=0,Tn=F[Qt],Pn=de?de(Tn):Tn;(Gr=yt(kr,Pn,Gr,Ne))>-1;)kr!==S&&gr.call(kr,Gr,1),gr.call(S,Gr,1);return S}function Cl(S,F){for(var de=S?F.length:0,Ne=de-1;de--;){var yt=F[de];if(de==Ne||yt!==Qt){var Qt=yt;Co(yt)?gr.call(S,yt,1):lc(S,yt)}}return S}function Eu(S,F){return S+wi(Wi()*(F-S+1))}function Wl(S,F,de,Ne){for(var yt=-1,Qt=hi(mi((F-S)/(de||1)),0),_r=Or(Qt);Qt--;)_r[Ne?Qt:++yt]=S,S+=de;return _r}function il(S,F){var de="";if(!S||F<1||F>Q)return de;do F%2&&(de+=S),F=wi(F/2),F&&(S+=S);while(F);return de}function Ca(S,F){return Ju(ru(S,F,jl),S+"")}function af(S){return Hn(Uf(S))}function Zc(S,F){var de=Uf(S);return Ni(de,Is(F,0,de.length))}function Nu(S,F,de,Ne){if(!Vo(S))return S;F=al(F,S);for(var yt=-1,Qt=F.length,_r=Qt-1,kr=S;kr!=null&&++yt<Qt;){var Gr=Vi(F[yt]),Tn=de;if(Gr==="__proto__"||Gr==="constructor"||Gr==="prototype")return S;if(yt!=_r){var Pn=kr[Gr];Tn=Ne?Ne(Pn,Gr,kr):i,Tn===i&&(Tn=Vo(Pn)?Pn:Co(F[yt+1])?[]:{})}ca(kr,Gr,Tn),kr=kr[Gr]}return S}var Cc=Ya?function(S,F){return Ya.set(S,F),S}:jl,sf=tn?function(S,F){return tn(S,"toString",{configurable:!0,enumerable:!1,value:od(F),writable:!0})}:jl;function oc(S){return Ni(Uf(S))}function uu(S,F,de){var Ne=-1,yt=S.length;F<0&&(F=-F>yt?0:yt+F),de=de>yt?yt:de,de<0&&(de+=yt),yt=F>de?0:de-F>>>0,F>>>=0;for(var Qt=Or(yt);++Ne<yt;)Qt[Ne]=S[Ne+F];return Qt}function Tc(S,F){var de;return Ls(S,function(Ne,yt,Qt){return de=F(Ne,yt,Qt),!de}),!!de}function Tl(S,F,de){var Ne=0,yt=S==null?Ne:S.length;if(typeof F=="number"&&F===F&&yt<=_e){for(;Ne<yt;){var Qt=Ne+yt>>>1,_r=S[Qt];_r!==null&&!rc(_r)&&(de?_r<=F:_r<F)?Ne=Qt+1:yt=Qt}return yt}return Gl(S,F,jl,de)}function Gl(S,F,de,Ne){var yt=0,Qt=S==null?0:S.length;if(Qt===0)return 0;F=de(F);for(var _r=F!==F,kr=F===null,Gr=rc(F),Tn=F===i;yt<Qt;){var Pn=wi((yt+Qt)/2),zn=de(S[Pn]),Ai=zn!==i,ea=zn===null,Sa=zn===zn,is=rc(zn);if(_r)var Aa=Ne||Sa;else Tn?Aa=Sa&&(Ne||Ai):kr?Aa=Sa&&Ai&&(Ne||!ea):Gr?Aa=Sa&&Ai&&!ea&&(Ne||!is):ea||is?Aa=!1:Aa=Ne?zn<=F:zn<F;Aa?yt=Pn+1:Qt=Pn}return la(Qt,ae)}function uc(S,F){for(var de=-1,Ne=S.length,yt=0,Qt=[];++de<Ne;){var _r=S[de],kr=F?F(_r):_r;if(!de||!$c(kr,Gr)){var Gr=kr;Qt[yt++]=_r===0?0:_r}}return Qt}function Vl(S){return typeof S=="number"?S:rc(S)?z:+S}function eu(S){if(typeof S=="string")return S;if(Wa(S))return Li(S,eu)+"";if(rc(S))return be?be.call(S):"";var F=S+"";return F=="0"&&1/S==-ee?"-0":F}function $u(S,F,de){var Ne=-1,yt=as,Qt=S.length,_r=!0,kr=[],Gr=kr;if(de)_r=!1,yt=ss;else if(Qt>=c){var Tn=F?null:Oc(S);if(Tn)return Ao(Tn);_r=!1,yt=Ho,Gr=new Te}else Gr=F?[]:kr;e:for(;++Ne<Qt;){var Pn=S[Ne],zn=F?F(Pn):Pn;if(Pn=de||Pn!==0?Pn:0,_r&&zn===zn){for(var Ai=Gr.length;Ai--;)if(Gr[Ai]===zn)continue e;F&&Gr.push(zn),kr.push(Pn)}else yt(Gr,zn,de)||(Gr!==kr&&Gr.push(zn),kr.push(Pn))}return kr}function lc(S,F){return F=al(F,S),S=Wu(S,F),S==null||delete S[Vi(To(F))]}function ju(S,F,de,Ne){return Nu(S,F,de(jo(S,F)),Ne)}function Pc(S,F,de,Ne){for(var yt=S.length,Qt=Ne?yt:-1;(Ne?Qt--:++Qt<yt)&&F(S[Qt],Qt,S););return de?uu(S,Ne?0:Qt,Ne?Qt+1:yt):uu(S,Ne?Qt+1:0,Ne?yt:Qt)}function Hc(S,F){var de=S;return de instanceof Kr&&(de=de.value()),Ia(F,function(Ne,yt){return yt.func.apply(yt.thisArg,Da([Ne],yt.args))},de)}function Kl(S,F,de){var Ne=S.length;if(Ne<2)return Ne?$u(S[0]):[];for(var yt=-1,Qt=Or(Ne);++yt<Ne;)for(var _r=S[yt],kr=-1;++kr<Ne;)kr!=yt&&(Qt[yt]=Rs(Qt[yt]||_r,S[kr],F,de));return $u(Zs(Qt,1),F,de)}function Ws(S,F,de){for(var Ne=-1,yt=S.length,Qt=F.length,_r={};++Ne<yt;){var kr=Ne<Qt?F[Ne]:i;de(_r,S[Ne],kr)}return _r}function Wc(S){return cu(S)?S:[]}function Pl(S){return typeof S=="function"?S:jl}function al(S,F){return Wa(S)?S:Qa(S,F)?[S]:ba(no(S))}var Pu=Ca;function to(S,F,de){var Ne=S.length;return de=de===i?Ne:de,!F&&de>=Ne?S:uu(S,F,de)}var sl=pn||function(S){return ua.clearTimeout(S)};function of(S,F){if(F)return S.slice();var de=S.length,Ne=Xe?Xe(de):new S.constructor(de);return S.copy(Ne),Ne}function Ic(S){var F=new S.constructor(S.byteLength);return new zs(F).set(new zs(S)),F}function Gc(S,F){var de=F?Ic(S.buffer):S.buffer;return new S.constructor(de,S.byteOffset,S.byteLength)}function Yu(S){var F=new S.constructor(S.source,nn.exec(S));return F.lastIndex=S.lastIndex,F}function Mo(S){return ya?Mn(ya.call(S)):{}}function Il(S,F){var de=F?Ic(S.buffer):S.buffer;return new S.constructor(de,S.byteOffset,S.length)}function ze(S,F){if(S!==F){var de=S!==i,Ne=S===null,yt=S===S,Qt=rc(S),_r=F!==i,kr=F===null,Gr=F===F,Tn=rc(F);if(!kr&&!Tn&&!Qt&&S>F||Qt&&_r&&Gr&&!kr&&!Tn||Ne&&_r&&Gr||!de&&Gr||!yt)return 1;if(!Ne&&!Qt&&!Tn&&S<F||Tn&&de&&yt&&!Ne&&!Qt||kr&&de&&yt||!_r&&yt||!Gr)return-1}return 0}function wu(S,F,de){for(var Ne=-1,yt=S.criteria,Qt=F.criteria,_r=yt.length,kr=de.length;++Ne<_r;){var Gr=ze(yt[Ne],Qt[Ne]);if(Gr){if(Ne>=kr)return Gr;var Tn=de[Ne];return Gr*(Tn=="desc"?-1:1)}}return S.index-F.index}function Wo(S,F,de,Ne){for(var yt=-1,Qt=S.length,_r=de.length,kr=-1,Gr=F.length,Tn=hi(Qt-_r,0),Pn=Or(Gr+Tn),zn=!Ne;++kr<Gr;)Pn[kr]=F[kr];for(;++yt<_r;)(zn||yt<Qt)&&(Pn[de[yt]]=S[yt]);for(;Tn--;)Pn[kr++]=S[yt++];return Pn}function Dl(S,F,de,Ne){for(var yt=-1,Qt=S.length,_r=-1,kr=de.length,Gr=-1,Tn=F.length,Pn=hi(Qt-kr,0),zn=Or(Pn+Tn),Ai=!Ne;++yt<Pn;)zn[yt]=S[yt];for(var ea=yt;++Gr<Tn;)zn[ea+Gr]=F[Gr];for(;++_r<kr;)(Ai||yt<Qt)&&(zn[ea+de[_r]]=S[yt++]);return zn}function Ds(S,F){var de=-1,Ne=S.length;for(F||(F=Or(Ne));++de<Ne;)F[de]=S[de];return F}function uo(S,F,de,Ne){var yt=!de;de||(de={});for(var Qt=-1,_r=F.length;++Qt<_r;){var kr=F[Qt],Gr=Ne?Ne(de[kr],S[kr],kr,de,S):i;Gr===i&&(Gr=S[kr]),yt?qi(de,kr,Gr):ca(de,kr,Gr)}return de}function Uu(S,F){return uo(S,ts(S),F)}function zo(S,F){return uo(S,_o(S),F)}function ol(S,F){return function(de,Ne){var yt=Wa(de)?ta:es,Qt=F?F():{};return yt(de,S,ln(Ne,2),Qt)}}function zu(S){return Ca(function(F,de){var Ne=-1,yt=de.length,Qt=yt>1?de[yt-1]:i,_r=yt>2?de[2]:i;for(Qt=S.length>3&&typeof Qt=="function"?(yt--,Qt):i,_r&&ro(de[0],de[1],_r)&&(Qt=yt<3?i:Qt,yt=1),F=Mn(F);++Ne<yt;){var kr=de[Ne];kr&&S(F,kr,Ne,Qt)}return F})}function Su(S,F){return function(de,Ne){if(de==null)return de;if(!Nl(de))return S(de,Ne);for(var yt=de.length,Qt=F?yt:-1,_r=Mn(de);(F?Qt--:++Qt<yt)&&Ne(_r[Qt],Qt,_r)!==!1;);return de}}function Xu(S){return function(F,de,Ne){for(var yt=-1,Qt=Mn(F),_r=Ne(F),kr=_r.length;kr--;){var Gr=_r[S?kr:++yt];if(de(Qt[Gr],Gr,Qt)===!1)break}return F}}function ul(S,F,de){var Ne=F&k,yt=tu(S);function Qt(){var _r=this&&this!==ua&&this instanceof Qt?yt:S;return _r.apply(Ne?de:this,arguments)}return Qt}function lu(S){return function(F){F=no(F);var de=co(F)?pr(F):i,Ne=de?de[0]:F.charAt(0),yt=de?to(de,1).join(""):F.slice(1);return Ne[S]()+yt}}function Qu(S){return function(F){return Ia(Pd(Td(F).replace(br,"")),S,"")}}function tu(S){return function(){var F=arguments;switch(F.length){case 0:return new S;case 1:return new S(F[0]);case 2:return new S(F[0],F[1]);case 3:return new S(F[0],F[1],F[2]);case 4:return new S(F[0],F[1],F[2],F[3]);case 5:return new S(F[0],F[1],F[2],F[3],F[4]);case 6:return new S(F[0],F[1],F[2],F[3],F[4],F[5]);case 7:return new S(F[0],F[1],F[2],F[3],F[4],F[5],F[6])}var de=wr(S.prototype),Ne=S.apply(de,F);return Vo(Ne)?Ne:de}}function wf(S,F,de){var Ne=tu(S);function yt(){for(var Qt=arguments.length,_r=Or(Qt),kr=Qt,Gr=jn(yt);kr--;)_r[kr]=arguments[kr];var Tn=Qt<3&&_r[0]!==Gr&&_r[Qt-1]!==Gr?[]:os(_r,Gr);if(Qt-=Tn.length,Qt<de)return Iu(S,F,_u,yt.placeholder,i,_r,Tn,i,i,de-Qt);var Pn=this&&this!==ua&&this instanceof yt?Ne:S;return Pa(Pn,this,_r)}return yt}function Vc(S){return function(F,de,Ne){var yt=Mn(F);if(!Nl(F)){var Qt=ln(de,3);F=Lu(F),de=function(kr){return Qt(yt[kr],kr,yt)}}var _r=S(F,de,Ne);return _r>-1?yt[Qt?F[_r]:_r]:i}}function po(S){return O(function(F){var de=F.length,Ne=de,yt=yr.prototype.thru;for(S&&F.reverse();Ne--;){var Qt=F[Ne];if(typeof Qt!="function")throw new Jt(o);if(yt&&!_r&&rn(Qt)=="wrapper")var _r=new yr([],!0)}for(Ne=_r?Ne:de;++Ne<de;){Qt=F[Ne];var kr=rn(Qt),Gr=kr=="wrapper"?Re(Qt):i;Gr&&Hu(Gr[0])&&Gr[1]==(K|D|B|G)&&!Gr[4].length&&Gr[9]==1?_r=_r[rn(Gr[0])].apply(_r,Gr[3]):_r=Qt.length==1&&Hu(Qt)?_r[kr]():_r.thru(Qt)}return function(){var Tn=arguments,Pn=Tn[0];if(_r&&Tn.length==1&&Wa(Pn))return _r.plant(Pn).value();for(var zn=0,Ai=de?F[zn].apply(this,Tn):Pn;++zn<de;)Ai=F[zn].call(this,Ai);return Ai}})}function _u(S,F,de,Ne,yt,Qt,_r,kr,Gr,Tn){var Pn=F&K,zn=F&k,Ai=F&R,ea=F&(D|M),Sa=F&W,is=Ai?i:tu(S);function Aa(){for(var Es=arguments.length,ks=Or(Es),nc=Es;nc--;)ks[nc]=arguments[nc];if(ea)var yl=jn(Aa),ic=Cu(ks,yl);if(Ne&&(ks=Wo(ks,Ne,yt,ea)),Qt&&(ks=Dl(ks,Qt,_r,ea)),Es-=ic,ea&&Es<Tn){var fu=os(ks,yl);return Iu(S,F,_u,Aa.placeholder,de,ks,fu,kr,Gr,Tn-Es)}var jc=zn?de:this,Ef=Ai?jc[S]:S;return Es=ks.length,kr?ks=pl(ks,kr):Sa&&Es>1&&ks.reverse(),Pn&&Gr<Es&&(ks.length=Gr),this&&this!==ua&&this instanceof Aa&&(Ef=is||tu(Ef)),Ef.apply(jc,ks)}return Aa}function Ol(S,F){return function(de,Ne){return zl(de,S,F(Ne),{})}}function Yl(S,F){return function(de,Ne){var yt;if(de===i&&Ne===i)return F;if(de!==i&&(yt=de),Ne!==i){if(yt===i)return Ne;typeof de=="string"||typeof Ne=="string"?(de=eu(de),Ne=eu(Ne)):(de=Vl(de),Ne=Vl(Ne)),yt=S(de,Ne)}return yt}}function Xl(S){return O(function(F){return F=Li(F,fs(ln())),Ca(function(de){var Ne=this;return S(F,function(yt){return Pa(yt,Ne,de)})})})}function ll(S,F){F=F===i?" ":eu(F);var de=F.length;if(de<2)return de?il(F,S):F;var Ne=il(F,mi(S/sr(F)));return co(F)?to(pr(Ne),0,S).join(""):Ne.slice(0,S)}function kl(S,F,de,Ne){var yt=F&k,Qt=tu(S);function _r(){for(var kr=-1,Gr=arguments.length,Tn=-1,Pn=Ne.length,zn=Or(Pn+Gr),Ai=this&&this!==ua&&this instanceof _r?Qt:S;++Tn<Pn;)zn[Tn]=Ne[Tn];for(;Gr--;)zn[Tn++]=arguments[++kr];return Pa(Ai,yt?de:this,zn)}return _r}function Dc(S){return function(F,de,Ne){return Ne&&typeof Ne!="number"&&ro(F,de,Ne)&&(de=Ne=i),F=xf(F),de===i?(de=F,F=0):de=xf(de),Ne=Ne===i?F<de?1:-1:xf(Ne),Wl(F,de,Ne,S)}}function cc(S){return function(F,de){return typeof F=="string"&&typeof de=="string"||(F=bc(F),de=bc(de)),S(F,de)}}function Iu(S,F,de,Ne,yt,Qt,_r,kr,Gr,Tn){var Pn=F&D,zn=Pn?_r:i,Ai=Pn?i:_r,ea=Pn?Qt:i,Sa=Pn?i:Qt;F|=Pn?B:N,F&=~(Pn?N:B),F&C||(F&=~(k|R));var is=[S,F,yt,ea,zn,Sa,Ai,kr,Gr,Tn],Aa=de.apply(i,is);return Hu(S)&&mu(Aa,is),Aa.placeholder=Ne,Sn(Aa,S,F)}function Rl(S){var F=Dn[S];return function(de,Ne){if(de=bc(de),Ne=Ne==null?0:la(rs(Ne),292),Ne&&bi(de)){var yt=(no(de)+"e").split("e"),Qt=F(yt[0]+"e"+(+yt[1]+Ne));return yt=(no(Qt)+"e").split("e"),+(yt[0]+"e"+(+yt[1]-Ne))}return F(de)}}var Oc=ka&&1/Ao(new ka([,-0]))[1]==ee?function(S){return new ka(S)}:cd;function kc(S){return function(F){var de=xs(F);return de==Ge?Ro(F):de==Ue?hu(F):So(F,S(F))}}function Fo(S,F,de,Ne,yt,Qt,_r,kr){var Gr=F&R;if(!Gr&&typeof S!="function")throw new Jt(o);var Tn=Ne?Ne.length:0;if(Tn||(F&=~(B|N),Ne=yt=i),_r=_r===i?_r:hi(rs(_r),0),kr=kr===i?kr:rs(kr),Tn-=yt?yt.length:0,F&N){var Pn=Ne,zn=yt;Ne=yt=i}var Ai=Gr?i:Re(S),ea=[S,F,de,Ne,yt,Pn,zn,Qt,_r,kr];if(Ai&&pc(ea,Ai),S=ea[0],F=ea[1],de=ea[2],Ne=ea[3],yt=ea[4],kr=ea[9]=ea[9]===i?Gr?0:S.length:hi(ea[9]-Tn,0),!kr&&F&(D|M)&&(F&=~(D|M)),!F||F==k)var Sa=ul(S,F,de);else F==D||F==M?Sa=wf(S,F,kr):(F==B||F==(k|B))&&!yt.length?Sa=kl(S,F,de,Ne):Sa=_u.apply(i,ea);var is=Ai?Cc:mu;return Sn(is(Sa,ea),S,F)}function Ql(S,F,de,Ne){return S===i||$c(S,fa[de])&&!Ti.call(Ne,de)?F:S}function Ll(S,F,de,Ne,yt,Qt){return Vo(S)&&Vo(F)&&(Qt.set(F,S),Fs(S,F,i,Ll,Qt),Qt.delete(F)),S}function Rc(S){return Kf(S)?i:S}function ql(S,F,de,Ne,yt,Qt){var _r=de&b,kr=S.length,Gr=F.length;if(kr!=Gr&&!(_r&&Gr>kr))return!1;var Tn=Qt.get(S),Pn=Qt.get(F);if(Tn&&Pn)return Tn==F&&Pn==S;var zn=-1,Ai=!0,ea=de&A?new Te:i;for(Qt.set(S,F),Qt.set(F,S);++zn<kr;){var Sa=S[zn],is=F[zn];if(Ne)var Aa=_r?Ne(is,Sa,zn,F,S,Qt):Ne(Sa,is,zn,S,F,Qt);if(Aa!==i){if(Aa)continue;Ai=!1;break}if(ea){if(!Ys(F,function(Es,ks){if(!Ho(ea,ks)&&(Sa===Es||yt(Sa,Es,de,Ne,Qt)))return ea.push(ks)})){Ai=!1;break}}else if(!(Sa===is||yt(Sa,is,de,Ne,Qt))){Ai=!1;break}}return Qt.delete(S),Qt.delete(F),Ai}function Kc(S,F,de,Ne,yt,Qt,_r){switch(de){case lt:if(S.byteLength!=F.byteLength||S.byteOffset!=F.byteOffset)return!1;S=S.buffer,F=F.buffer;case nt:return!(S.byteLength!=F.byteLength||!Qt(new zs(S),new zs(F)));case Bt:case gt:case Tt:return $c(+S,+F);case nr:return S.name==F.name&&S.message==F.message;case tt:case ye:return S==F+"";case Ge:var kr=Ro;case Ue:var Gr=Ne&b;if(kr||(kr=Ao),S.size!=F.size&&!Gr)return!1;var Tn=_r.get(S);if(Tn)return Tn==F;Ne|=A,_r.set(S,F);var Pn=ql(kr(S),kr(F),Ne,yt,Qt,_r);return _r.delete(S),Pn;case Ce:if(ya)return ya.call(S)==ya.call(F)}return!1}function I(S,F,de,Ne,yt,Qt){var _r=de&b,kr=L(S),Gr=kr.length,Tn=L(F),Pn=Tn.length;if(Gr!=Pn&&!_r)return!1;for(var zn=Gr;zn--;){var Ai=kr[zn];if(!(_r?Ai in F:Ti.call(F,Ai)))return!1}var ea=Qt.get(S),Sa=Qt.get(F);if(ea&&Sa)return ea==F&&Sa==S;var is=!0;Qt.set(S,F),Qt.set(F,S);for(var Aa=_r;++zn<Gr;){Ai=kr[zn];var Es=S[Ai],ks=F[Ai];if(Ne)var nc=_r?Ne(ks,Es,Ai,F,S,Qt):Ne(Es,ks,Ai,S,F,Qt);if(!(nc===i?Es===ks||yt(Es,ks,de,Ne,Qt):nc)){is=!1;break}Aa||(Aa=Ai=="constructor")}if(is&&!Aa){var yl=S.constructor,ic=F.constructor;yl!=ic&&"constructor"in S&&"constructor"in F&&!(typeof yl=="function"&&yl instanceof yl&&typeof ic=="function"&&ic instanceof ic)&&(is=!1)}return Qt.delete(S),Qt.delete(F),is}function O(S){return Ju(ru(S,i,lf),S+"")}function L(S){return wl(S,Lu,ts)}function ve(S){return wl(S,$l,_o)}var Re=Ya?function(S){return Ya.get(S)}:cd;function rn(S){for(var F=S.name+"",de=fo[F],Ne=Ti.call(fo,F)?de.length:0;Ne--;){var yt=de[Ne],Qt=yt.func;if(Qt==null||Qt==S)return yt.name}return F}function jn(S){var F=Ti.call(Ae,"placeholder")?Ae:S;return F.placeholder}function ln(){var S=Ae.iteratee||ud;return S=S===ud?zc:S,arguments.length?S(arguments[0],arguments[1]):S}function Pi(S,F){var de=S.__data__;return Zu(F)?de[typeof F=="string"?"string":"hash"]:de.map}function Ha(S){for(var F=Lu(S),de=F.length;de--;){var Ne=F[de],yt=S[Ne];F[de]=[Ne,yt,Yc(yt)]}return F}function Ta(S,F){var de=du(S,F);return Ec(de)?de:i}function Gs(S){var F=Ti.call(S,hn),de=S[hn];try{S[hn]=i;var Ne=!0}catch(Qt){}var yt=ds.call(S);return Ne&&(F?S[hn]=de:delete S[hn]),yt}var ts=Hi?function(S){return S==null?[]:(S=Mn(S),La(Hi(S),function(F){return Gt.call(S,F)}))}:fd,_o=Hi?function(S){for(var F=[];S;)Da(F,ts(S)),S=Qe(S);return F}:fd,xs=Ms;(Ji&&xs(new Ji(new ArrayBuffer(1)))!=lt||Oi&&xs(new Oi)!=Ge||ga&&xs(ga.resolve())!=bt||ka&&xs(new ka)!=Ue||Ka&&xs(new Ka)!=je)&&(xs=function(S){var F=Ms(S),de=F==at?S.constructor:i,Ne=de?na(de):"";if(Ne)switch(Ne){case ja:return lt;case Xa:return Ge;case ls:return bt;case ra:return Ue;case za:return je}return F});function Jl(S,F,de){for(var Ne=-1,yt=de.length;++Ne<yt;){var Qt=de[Ne],_r=Qt.size;switch(Qt.type){case"drop":S+=_r;break;case"dropRight":F-=_r;break;case"take":F=la(F,S+_r);break;case"takeRight":S=hi(S,F-_r);break}}return{start:S,end:F}}function fc(S){var F=S.match(Zr);return F?F[1].split(Yr):[]}function ec(S,F,de){F=al(F,S);for(var Ne=-1,yt=F.length,Qt=!1;++Ne<yt;){var _r=Vi(F[Ne]);if(!(Qt=S!=null&&de(S,_r)))break;S=S[_r]}return Qt||++Ne!=yt?Qt:(yt=S==null?0:S.length,!!yt&&qf(yt)&&Co(_r,yt)&&(Wa(S)||Ff(S)))}function Ml(S){var F=S.length,de=new S.constructor(F);return F&&typeof S[0]=="string"&&Ti.call(S,"index")&&(de.index=S.index,de.input=S.input),de}function cl(S){return typeof S.constructor=="function"&&!dl(S)?wr(Qe(S)):{}}function Ii(S,F,de){var Ne=S.constructor;switch(F){case nt:return Ic(S);case Bt:case gt:return new Ne(+S);case lt:return Gc(S,de);case Vt:case Ht:case Pe:case et:case Kt:case kt:case Zt:case Nt:case tr:return Il(S,de);case Ge:return new Ne;case Tt:case ye:return new Ne(S);case tt:return Yu(S);case Ue:return new Ne;case Ce:return Mo(S)}}function fl(S,F){var de=F.length;if(!de)return S;var Ne=de-1;return F[Ne]=(de>1?"& ":"")+F[Ne],F=F.join(de>2?", ":" "),S.replace(St,`{
|
|
|
/* [wrapped with `+F+`] */
|
|
|
`)}function dc(S){return Wa(S)||Ff(S)||!!(Rr&&S&&S[Rr])}function Co(S,F){var de=typeof S;return F=F==null?Q:F,!!F&&(de=="number"||de!="symbol"&&vt.test(S))&&S>-1&&S%1==0&&S<F}function ro(S,F,de){if(!Vo(de))return!1;var Ne=typeof F;return(Ne=="number"?Nl(de)&&Co(F,de.length):Ne=="string"&&F in de)?$c(de[F],S):!1}function Qa(S,F){if(Wa(S))return!1;var de=typeof S;return de=="number"||de=="symbol"||de=="boolean"||S==null||rc(S)?!0:xe.test(S)||!xt.test(S)||F!=null&&S in Mn(F)}function Zu(S){var F=typeof S;return F=="string"||F=="number"||F=="symbol"||F=="boolean"?S!=="__proto__":S===null}function Hu(S){var F=rn(S),de=Ae[F];if(typeof de!="function"||!(F in Kr.prototype))return!1;if(S===de)return!0;var Ne=Re(de);return!!Ne&&S===Ne[0]}function hc(S){return!!Us&&Us in S}var qu=Ja?bf:dd;function dl(S){var F=S&&S.constructor,de=typeof F=="function"&&F.prototype||fa;return S===de}function Yc(S){return S===S&&!Vo(S)}function tc(S,F){return function(de){return de==null?!1:de[S]===F&&(F!==i||S in Mn(de))}}function hl(S){var F=Mf(S,function(Ne){return de.size===a&&de.clear(),Ne}),de=F.cache;return F}function pc(S,F){var de=S[1],Ne=F[1],yt=de|Ne,Qt=yt<(k|R|K),_r=Ne==K&&de==D||Ne==K&&de==G&&S[7].length<=F[8]||Ne==(K|G)&&F[7].length<=F[8]&&de==D;if(!(Qt||_r))return S;Ne&k&&(S[2]=F[2],yt|=de&k?0:C);var kr=F[3];if(kr){var Gr=S[3];S[3]=Gr?Wo(Gr,kr,F[4]):kr,S[4]=Gr?os(S[3],x):F[4]}return kr=F[5],kr&&(Gr=S[5],S[5]=Gr?Dl(Gr,kr,F[6]):kr,S[6]=Gr?os(S[5],x):F[6]),kr=F[7],kr&&(S[7]=kr),Ne&K&&(S[8]=S[8]==null?F[8]:la(S[8],F[8])),S[9]==null&&(S[9]=F[9]),S[0]=F[0],S[1]=yt,S}function _c(S){var F=[];if(S!=null)for(var de in Mn(S))F.push(de);return F}function Xc(S){return ds.call(S)}function ru(S,F,de){return F=hi(F===i?S.length-1:F,0),function(){for(var Ne=arguments,yt=-1,Qt=hi(Ne.length-F,0),_r=Or(Qt);++yt<Qt;)_r[yt]=Ne[F+yt];yt=-1;for(var kr=Or(F+1);++yt<F;)kr[yt]=Ne[yt];return kr[F]=de(_r),Pa(S,this,kr)}}function Wu(S,F){return F.length<2?S:jo(S,uu(F,0,-1))}function pl(S,F){for(var de=S.length,Ne=la(F.length,de),yt=Ds(S);Ne--;){var Qt=F[Ne];S[Ne]=Co(Qt,de)?yt[Qt]:i}return S}function mc(S,F){if(!(F==="constructor"&&typeof S[F]=="function")&&F!="__proto__")return S[F]}var mu=Wn(Cc),vc=qn||function(S,F){return ua.setTimeout(S,F)},Ju=Wn(sf);function Sn(S,F,de){var Ne=F+"";return Ju(S,fl(Ne,ma(fc(Ne),de)))}function Wn(S){var F=0,de=0;return function(){var Ne=qs(),yt=q-(Ne-de);if(de=Ne,yt>0){if(++F>=le)return arguments[0]}else F=0;return S.apply(i,arguments)}}function Ni(S,F){var de=-1,Ne=S.length,yt=Ne-1;for(F=F===i?Ne:F;++de<F;){var Qt=Eu(de,yt),_r=S[Qt];S[Qt]=S[de],S[de]=_r}return S.length=F,S}var ba=hl(function(S){var F=[];return S.charCodeAt(0)===46&&F.push(""),S.replace(Ye,function(de,Ne,yt,Qt){F.push(yt?Qt.replace(mr,"$1"):Ne||de)}),F});function Vi(S){if(typeof S=="string"||rc(S))return S;var F=S+"";return F=="0"&&1/S==-ee?"-0":F}function na(S){if(S!=null){try{return gs.call(S)}catch(F){}try{return S+""}catch(F){}}return""}function ma(S,F){return Fa(De,function(de){var Ne="_."+de[0];F&de[1]&&!as(S,Ne)&&S.push(Ne)}),S.sort()}function hs(S){if(S instanceof Kr)return S.clone();var F=new yr(S.__wrapped__,S.__chain__);return F.__actions__=Ds(S.__actions__),F.__index__=S.__index__,F.__values__=S.__values__,F}function ji(S,F,de){(de?ro(S,F,de):F===i)?F=1:F=hi(rs(F),0);var Ne=S==null?0:S.length;if(!Ne||F<1)return[];for(var yt=0,Qt=0,_r=Or(mi(Ne/F));yt<Ne;)_r[Qt++]=uu(S,yt,yt+=F);return _r}function ps(S){for(var F=-1,de=S==null?0:S.length,Ne=0,yt=[];++F<de;){var Qt=S[F];Qt&&(yt[Ne++]=Qt)}return yt}function Du(){var S=arguments.length;if(!S)return[];for(var F=Or(S-1),de=arguments[0],Ne=S;Ne--;)F[Ne-1]=arguments[Ne];return Da(Wa(de)?Ds(de):[de],Zs(F,1))}var Ou=Ca(function(S,F){return cu(S)?Rs(S,Zs(F,1,cu,!0)):[]}),el=Ca(function(S,F){var de=To(F);return cu(de)&&(de=i),cu(S)?Rs(S,Zs(F,1,cu,!0),ln(de,2)):[]}),Gu=Ca(function(S,F){var de=To(F);return cu(de)&&(de=i),cu(S)?Rs(S,Zs(F,1,cu,!0),i,de):[]});function _l(S,F,de){var Ne=S==null?0:S.length;return Ne?(F=de||F===i?1:rs(F),uu(S,F<0?0:F,Ne)):[]}function If(S,F,de){var Ne=S==null?0:S.length;return Ne?(F=de||F===i?1:rs(F),F=Ne-F,uu(S,0,F<0?0:F)):[]}function Sf(S,F){return S&&S.length?Pc(S,ln(F,3),!0,!0):[]}function Fl(S,F){return S&&S.length?Pc(S,ln(F,3),!0):[]}function uf(S,F,de,Ne){var yt=S==null?0:S.length;return yt?(de&&typeof de!="number"&&ro(S,F,de)&&(de=0,Ne=yt),Tu(S,F,de,Ne)):[]}function Lc(S,F,de){var Ne=S==null?0:S.length;if(!Ne)return-1;var yt=de==null?0:rs(de);return yt<0&&(yt=hi(Ne+yt,0)),qa(S,ln(F,3),yt)}function Qc(S,F,de){var Ne=S==null?0:S.length;if(!Ne)return-1;var yt=Ne-1;return de!==i&&(yt=rs(de),yt=de<0?hi(Ne+yt,0):la(yt,Ne-1)),qa(S,ln(F,3),yt,!0)}function lf(S){var F=S==null?0:S.length;return F?Zs(S,1):[]}function tl(S){var F=S==null?0:S.length;return F?Zs(S,ee):[]}function Df(S,F){var de=S==null?0:S.length;return de?(F=F===i?1:rs(F),Zs(S,F)):[]}function Vu(S){for(var F=-1,de=S==null?0:S.length,Ne={};++F<de;){var yt=S[F];Ne[yt[0]]=yt[1]}return Ne}function gc(S){return S&&S.length?S[0]:i}function cf(S,F,de){var Ne=S==null?0:S.length;if(!Ne)return-1;var yt=de==null?0:rs(de);return yt<0&&(yt=hi(Ne+yt,0)),lo(S,F,yt)}function Go(S){var F=S==null?0:S.length;return F?uu(S,0,-1):[]}var qc=Ca(function(S){var F=Li(S,Wc);return F.length&&F[0]===S[0]?ac(F):[]}),ff=Ca(function(S){var F=To(S),de=Li(S,Wc);return F===To(de)?F=i:de.pop(),de.length&&de[0]===S[0]?ac(de,ln(F,2)):[]}),ku=Ca(function(S){var F=To(S),de=Li(S,Wc);return F=typeof F=="function"?F:i,F&&de.pop(),de.length&&de[0]===S[0]?ac(de,i,F):[]});function yc(S,F){return S==null?"":pa.call(S,F)}function To(S){var F=S==null?0:S.length;return F?S[F-1]:i}function df(S,F,de){var Ne=S==null?0:S.length;if(!Ne)return-1;var yt=Ne;return de!==i&&(yt=rs(de),yt=yt<0?hi(Ne+yt,0):la(yt,Ne-1)),F===F?hr(S,F,yt):qa(S,wo,yt,!0)}function hf(S,F){return S&&S.length?Hl(S,rs(F)):i}var Mc=Ca(Fc);function Fc(S,F){return S&&S.length&&F&&F.length?ou(S,F):S}function Jc(S,F,de){return S&&S.length&&F&&F.length?ou(S,F,ln(de,2)):S}function Bc(S,F,de){return S&&S.length&&F&&F.length?ou(S,F,i,de):S}var Of=O(function(S,F){var de=S==null?0:S.length,Ne=Ns(S,F);return Cl(S,Li(F,function(yt){return Co(yt,de)?+yt:yt}).sort(ze)),Ne});function Af(S,F){var de=[];if(!(S&&S.length))return de;var Ne=-1,yt=[],Qt=S.length;for(F=ln(F,3);++Ne<Qt;){var _r=S[Ne];F(_r,Ne,S)&&(de.push(_r),yt.push(Ne))}return Cl(S,yt),de}function ef(S){return S==null?S:Oa.call(S)}function Cf(S,F,de){var Ne=S==null?0:S.length;return Ne?(de&&typeof de!="number"&&ro(S,F,de)?(F=0,de=Ne):(F=F==null?0:rs(F),de=de===i?Ne:rs(de)),uu(S,F,de)):[]}function kf(S,F){return Tl(S,F)}function pf(S,F,de){return Gl(S,F,ln(de,2))}function zf(S,F){var de=S==null?0:S.length;if(de){var Ne=Tl(S,F);if(Ne<de&&$c(S[Ne],F))return Ne}return-1}function _f(S,F){return Tl(S,F,!0)}function Rf(S,F,de){return Gl(S,F,ln(de,2),!0)}function Bf(S,F){var de=S==null?0:S.length;if(de){var Ne=Tl(S,F,!0)-1;if($c(S[Ne],F))return Ne}return-1}function mf(S){return S&&S.length?uc(S):[]}function Zf(S,F){return S&&S.length?uc(S,ln(F,2)):[]}function Tf(S){var F=S==null?0:S.length;return F?uu(S,1,F):[]}function g(S,F,de){return S&&S.length?(F=de||F===i?1:rs(F),uu(S,0,F<0?0:F)):[]}function P(S,F,de){var Ne=S==null?0:S.length;return Ne?(F=de||F===i?1:rs(F),F=Ne-F,uu(S,F<0?0:F,Ne)):[]}function U(S,F){return S&&S.length?Pc(S,ln(F,3),!1,!0):[]}function ge(S,F){return S&&S.length?Pc(S,ln(F,3)):[]}var Le=Ca(function(S){return $u(Zs(S,1,cu,!0))}),it=Ca(function(S){var F=To(S);return cu(F)&&(F=i),$u(Zs(S,1,cu,!0),ln(F,2))}),w=Ca(function(S){var F=To(S);return F=typeof F=="function"?F:i,$u(Zs(S,1,cu,!0),i,F)});function t(S){return S&&S.length?$u(S):[]}function n(S,F){return S&&S.length?$u(S,ln(F,2)):[]}function s(S,F){return F=typeof F=="function"?F:i,S&&S.length?$u(S,i,F):[]}function m(S){if(!(S&&S.length))return[];var F=0;return S=La(S,function(de){if(cu(de))return F=hi(de.length,F),!0}),Xs(F,function(de){return Li(S,fi(de))})}function E(S,F){if(!(S&&S.length))return[];var de=m(S);return F==null?de:Li(de,function(Ne){return Pa(F,i,Ne)})}var T=Ca(function(S,F){return cu(S)?Rs(S,F):[]}),j=Ca(function(S){return Kl(La(S,cu))}),Y=Ca(function(S){var F=To(S);return cu(F)&&(F=i),Kl(La(S,cu),ln(F,2))}),H=Ca(function(S){var F=To(S);return F=typeof F=="function"?F:i,Kl(La(S,cu),i,F)}),te=Ca(m);function oe(S,F){return Ws(S||[],F||[],ca)}function me(S,F){return Ws(S||[],F||[],Nu)}var we=Ca(function(S){var F=S.length,de=F>1?S[F-1]:i;return de=typeof de=="function"?(S.pop(),de):i,E(S,de)});function Se(S){var F=Ae(S);return F.__chain__=!0,F}function ut(S,F){return F(S),S}function Je(S,F){return F(S)}var Lt=O(function(S){var F=S.length,de=F?S[0]:0,Ne=this.__wrapped__,yt=function(Qt){return Ns(Qt,S)};return F>1||this.__actions__.length||!(Ne instanceof Kr)||!Co(de)?this.thru(yt):(Ne=Ne.slice(de,+de+(F?1:0)),Ne.__actions__.push({func:Je,args:[yt],thisArg:i}),new yr(Ne,this.__chain__).thru(function(Qt){return F&&!Qt.length&&Qt.push(i),Qt}))});function rr(){return Se(this)}function Yt(){return new yr(this.value(),this.__chain__)}function Cr(){this.__values__===i&&(this.__values__=gd(this.value()));var S=this.__index__>=this.__values__.length,F=S?i:this.__values__[this.__index__++];return{done:S,value:F}}function Hr(){return this}function cn(S){for(var F,de=this;de instanceof Xr;){var Ne=hs(de);Ne.__index__=0,Ne.__values__=i,F?yt.__wrapped__=Ne:F=Ne;var yt=Ne;de=de.__wrapped__}return yt.__wrapped__=S,F}function zr(){var S=this.__wrapped__;if(S instanceof Kr){var F=S;return this.__actions__.length&&(F=new Kr(this)),F=F.reverse(),F.__actions__.push({func:Je,args:[ef],thisArg:i}),new yr(F,this.__chain__)}return this.thru(ef)}function qr(){return Hc(this.__wrapped__,this.__actions__)}var an=ol(function(S,F,de){Ti.call(S,de)?++S[de]:qi(S,de,1)});function Br(S,F,de){var Ne=Wa(S)?In:xl;return de&&ro(S,F,de)&&(F=i),Ne(S,ln(F,3))}function Fn(S,F){var de=Wa(S)?La:qo;return de(S,ln(F,3))}var oi=Vc(Lc),sa=Vc(Qc);function Ui(S,F){return Zs(Ua(S,F),1)}function $i(S,F){return Zs(Ua(S,F),ee)}function Di(S,F,de){return de=de===i?1:rs(de),Zs(Ua(S,F),de)}function va(S,F){var de=Wa(S)?Fa:Ls;return de(S,ln(F,3))}function ui(S,F){var de=Wa(S)?Ks:$s;return de(S,ln(F,3))}var wa=ol(function(S,F,de){Ti.call(S,de)?S[de].push(F):qi(S,de,[F])});function xa(S,F,de,Ne){S=Nl(S)?S:Uf(S),de=de&&!Ne?rs(de):0;var yt=S.length;return de<0&&(de=hi(yt+de,0)),Jf(S)?de<=yt&&S.indexOf(F,de)>-1:!!yt&&lo(S,F,de)>-1}var vi=Ca(function(S,F,de){var Ne=-1,yt=typeof F=="function",Qt=Nl(S)?Or(S.length):[];return Ls(S,function(_r){Qt[++Ne]=yt?Pa(F,_r,de):ri(_r,F,de)}),Qt}),ii=ol(function(S,F,de){qi(S,de,F)});function Ua(S,F){var de=Wa(S)?Li:pu;return de(S,ln(F,3))}function _s(S,F,de,Ne){return S==null?[]:(Wa(F)||(F=F==null?[]:[F]),de=Ne?i:de,Wa(de)||(de=de==null?[]:[de]),Al(S,F,de))}var js=ol(function(S,F,de){S[de?0:1].push(F)},function(){return[[],[]]});function Os(S,F,de){var Ne=Wa(S)?Ia:Na,yt=arguments.length<3;return Ne(S,ln(F,4),de,yt,Ls)}function Bo(S,F,de){var Ne=Wa(S)?cs:Na,yt=arguments.length<3;return Ne(S,ln(F,4),de,yt,$s)}function ml(S,F){var de=Wa(S)?La:qo;return de(S,$f(ln(F,3)))}function Ru(S){var F=Wa(S)?Hn:af;return F(S)}function vl(S,F,de){(de?ro(S,F,de):F===i)?F=1:F=rs(F);var Ne=Wa(S)?Si:Zc;return Ne(S,F)}function vf(S){var F=Wa(S)?da:oc;return F(S)}function td(S){if(S==null)return 0;if(Nl(S))return Jf(S)?sr(S):S.length;var F=xs(S);return F==Ge||F==Ue?S.size:bu(S).length}function Hf(S,F,de){var Ne=Wa(S)?Ys:Tc;return de&&ro(S,F,de)&&(F=i),Ne(S,ln(F,3))}var Wf=Ca(function(S,F){if(S==null)return[];var de=F.length;return de>1&&ro(S,F[0],F[1])?F=[]:de>2&&ro(F[0],F[1],F[2])&&(F=[F[0]]),Al(S,Zs(F,1),[])}),Gf=Yn||function(){return ua.Date.now()};function Bs(S,F){if(typeof F!="function")throw new Jt(o);return S=rs(S),function(){if(--S<1)return F.apply(this,arguments)}}function Au(S,F,de){return F=de?i:F,F=S&&F==null?S.length:F,Fo(S,K,i,i,i,i,F)}function gl(S,F){var de;if(typeof F!="function")throw new Jt(o);return S=rs(S),function(){return--S>0&&(de=F.apply(this,arguments)),S<=1&&(F=i),de}}var Nc=Ca(function(S,F,de){var Ne=k;if(de.length){var yt=os(de,jn(Nc));Ne|=B}return Fo(S,Ne,F,de,yt)}),Bl=Ca(function(S,F,de){var Ne=k|R;if(de.length){var yt=os(de,jn(Bl));Ne|=B}return Fo(F,Ne,S,de,yt)});function gf(S,F,de){F=de?i:F;var Ne=Fo(S,D,i,i,i,i,i,F);return Ne.placeholder=gf.placeholder,Ne}function tf(S,F,de){F=de?i:F;var Ne=Fo(S,M,i,i,i,i,i,F);return Ne.placeholder=tf.placeholder,Ne}function Vf(S,F,de){var Ne,yt,Qt,_r,kr,Gr,Tn=0,Pn=!1,zn=!1,Ai=!0;if(typeof S!="function")throw new Jt(o);F=bc(F)||0,Vo(de)&&(Pn=!!de.leading,zn="maxWait"in de,Qt=zn?hi(bc(de.maxWait)||0,F):Qt,Ai="trailing"in de?!!de.trailing:Ai);function ea(fu){var jc=Ne,Ef=yt;return Ne=yt=i,Tn=fu,_r=S.apply(Ef,jc),_r}function Sa(fu){return Tn=fu,kr=vc(Es,F),Pn?ea(fu):_r}function is(fu){var jc=fu-Gr,Ef=fu-Tn,Od=F-jc;return zn?la(Od,Qt-Ef):Od}function Aa(fu){var jc=fu-Gr,Ef=fu-Tn;return Gr===i||jc>=F||jc<0||zn&&Ef>=Qt}function Es(){var fu=Gf();if(Aa(fu))return ks(fu);kr=vc(Es,is(fu))}function ks(fu){return kr=i,Ai&&Ne?ea(fu):(Ne=yt=i,_r)}function nc(){kr!==i&&sl(kr),Tn=0,Ne=Gr=yt=kr=i}function yl(){return kr===i?_r:ks(Gf())}function ic(){var fu=Gf(),jc=Aa(fu);if(Ne=arguments,yt=this,Gr=fu,jc){if(kr===i)return Sa(Gr);if(zn)return sl(kr),kr=vc(Es,F),ea(Gr)}return kr===i&&(kr=vc(Es,F)),_r}return ic.cancel=nc,ic.flush=yl,ic}var Nf=Ca(function(S,F){return Qo(S,1,F)}),Yf=Ca(function(S,F,de){return Qo(S,bc(F)||0,de)});function Lf(S){return Fo(S,W)}function Mf(S,F){if(typeof S!="function"||F!=null&&typeof F!="function")throw new Jt(o);var de=function(){var Ne=arguments,yt=F?F.apply(this,Ne):Ne[0],Qt=de.cache;if(Qt.has(yt))return Qt.get(yt);var _r=S.apply(this,Ne);return de.cache=Qt.set(yt,_r)||Qt,_r};return de.cache=new(Mf.Cache||vu),de}Mf.Cache=vu;function $f(S){if(typeof S!="function")throw new Jt(o);return function(){var F=arguments;switch(F.length){case 0:return!S.call(this);case 1:return!S.call(this,F[0]);case 2:return!S.call(this,F[0],F[1]);case 3:return!S.call(this,F[0],F[1],F[2])}return!S.apply(this,F)}}function Xf(S){return gl(2,S)}var Qf=Pu(function(S,F){F=F.length==1&&Wa(F[0])?Li(F[0],fs(ln())):Li(Zs(F,1),fs(ln()));var de=F.length;return Ca(function(Ne){for(var yt=-1,Qt=la(Ne.length,de);++yt<Qt;)Ne[yt]=F[yt].call(this,Ne[yt]);return Pa(S,this,Ne)})}),yf=Ca(function(S,F){var de=os(F,jn(yf));return Fo(S,B,i,F,de)}),hd=Ca(function(S,F){var de=os(F,jn(hd));return Fo(S,N,i,F,de)}),Ld=O(function(S,F){return Fo(S,G,i,i,i,F)});function Md(S,F){if(typeof S!="function")throw new Jt(o);return F=F===i?F:rs(F),Ca(S,F)}function Fd(S,F){if(typeof S!="function")throw new Jt(o);return F=F==null?0:hi(rs(F),0),Ca(function(de){var Ne=de[F],yt=to(de,0,F);return Ne&&Da(yt,Ne),Pa(S,this,yt)})}function Bd(S,F,de){var Ne=!0,yt=!0;if(typeof S!="function")throw new Jt(o);return Vo(de)&&(Ne="leading"in de?!!de.leading:Ne,yt="trailing"in de?!!de.trailing:yt),Vf(S,F,{leading:Ne,maxWait:F,trailing:yt})}function Nd(S){return Au(S,1)}function $d(S,F){return yf(Pl(F),S)}function jd(){if(!arguments.length)return[];var S=arguments[0];return Wa(S)?S:[S]}function Ud(S){return pi(S,_)}function zd(S,F){return F=typeof F=="function"?F:i,pi(S,_,F)}function Zd(S){return pi(S,p|_)}function Hd(S,F){return F=typeof F=="function"?F:i,pi(S,p|_,F)}function Wd(S,F){return F==null||so(S,F,Lu(F))}function $c(S,F){return S===F||S!==S&&F!==F}var Gd=cc(Uo),Vd=cc(function(S,F){return S>=F}),Ff=sc(function(){return arguments}())?sc:function(S){return nu(S)&&Ti.call(S,"callee")&&!Gt.call(S,"callee")},Wa=Or.isArray,Kd=ns?fs(ns):oo;function Nl(S){return S!=null&&qf(S.length)&&!bf(S)}function cu(S){return nu(S)&&Nl(S)}function Yd(S){return S===!0||S===!1||nu(S)&&Ms(S)==Bt}var Pf=Mi||dd,Xd=Ga?fs(Ga):Zl;function Qd(S){return nu(S)&&S.nodeType===1&&!Kf(S)}function qd(S){if(S==null)return!0;if(Nl(S)&&(Wa(S)||typeof S=="string"||typeof S.splice=="function"||Pf(S)||jf(S)||Ff(S)))return!S.length;var F=xs(S);if(F==Ge||F==Ue)return!S.size;if(dl(S))return!bu(S).length;for(var de in S)if(Ti.call(S,de))return!1;return!0}function Jd(S,F){return Jo(S,F)}function e0(S,F,de){de=typeof de=="function"?de:i;var Ne=de?de(S,F):i;return Ne===i?Jo(S,F,i,de):!!Ne}function rd(S){if(!nu(S))return!1;var F=Ms(S);return F==nr||F==Dt||typeof S.message=="string"&&typeof S.name=="string"&&!Kf(S)}function t0(S){return typeof S=="number"&&bi(S)}function bf(S){if(!Vo(S))return!1;var F=Ms(S);return F==Xt||F==cr||F==$e||F==dt}function pd(S){return typeof S=="number"&&S==rs(S)}function qf(S){return typeof S=="number"&&S>-1&&S%1==0&&S<=Q}function Vo(S){var F=typeof S;return S!=null&&(F=="object"||F=="function")}function nu(S){return S!=null&&typeof S=="object"}var _d=Ps?fs(Ps):eo;function r0(S,F){return S===F||Uc(S,F,Ha(F))}function n0(S,F,de){return de=typeof de=="function"?de:i,Uc(S,F,Ha(F),de)}function i0(S){return md(S)&&S!=+S}function a0(S){if(qu(S))throw new yn(f);return Ec(S)}function s0(S){return S===null}function o0(S){return S==null}function md(S){return typeof S=="number"||nu(S)&&Ms(S)==Tt}function Kf(S){if(!nu(S)||Ms(S)!=at)return!1;var F=Qe(S);if(F===null)return!0;var de=Ti.call(F,"constructor")&&F.constructor;return typeof de=="function"&&de instanceof de&&gs.call(de)==Ea}var nd=zi?fs(zi):xo;function u0(S){return pd(S)&&S>=-Q&&S<=Q}var vd=vs?fs(vs):rf;function Jf(S){return typeof S=="string"||!Wa(S)&&nu(S)&&Ms(S)==ye}function rc(S){return typeof S=="symbol"||nu(S)&&Ms(S)==Ce}var jf=Po?fs(Po):nf;function l0(S){return S===i}function c0(S){return nu(S)&&xs(S)==je}function f0(S){return nu(S)&&Ms(S)==We}var d0=cc(xu),h0=cc(function(S,F){return S<=F});function gd(S){if(!S)return[];if(Nl(S))return Jf(S)?pr(S):Ds(S);if(jr&&S[jr])return au(S[jr]());var F=xs(S),de=F==Ge?Ro:F==Ue?Ao:Uf;return de(S)}function xf(S){if(!S)return S===0?S:0;if(S=bc(S),S===ee||S===-ee){var F=S<0?-1:1;return F*ce}return S===S?S:0}function rs(S){var F=xf(S),de=F%1;return F===F?de?F-de:F:0}function yd(S){return S?Is(rs(S),0,$):0}function bc(S){if(typeof S=="number")return S;if(rc(S))return z;if(Vo(S)){var F=typeof S.valueOf=="function"?S.valueOf():S;S=Vo(F)?F+"":F}if(typeof S!="string")return S===0?S:+S;S=Zo(S);var de=or.test(S);return de||_t.test(S)?Fi(S.slice(2),de?2:8):on.test(S)?z:+S}function bd(S){return uo(S,$l(S))}function p0(S){return S?Is(rs(S),-Q,Q):S===0?S:0}function no(S){return S==null?"":eu(S)}var _0=zu(function(S,F){if(dl(F)||Nl(F)){uo(F,Lu(F),S);return}for(var de in F)Ti.call(F,de)&&ca(S,de,F[de])}),xd=zu(function(S,F){uo(F,$l(F),S)}),ed=zu(function(S,F,de,Ne){uo(F,$l(F),S,Ne)}),m0=zu(function(S,F,de,Ne){uo(F,Lu(F),S,Ne)}),v0=O(Ns);function g0(S,F){var de=wr(S);return F==null?de:bs(de,F)}var y0=Ca(function(S,F){S=Mn(S);var de=-1,Ne=F.length,yt=Ne>2?F[2]:i;for(yt&&ro(F[0],F[1],yt)&&(Ne=1);++de<Ne;)for(var Qt=F[de],_r=$l(Qt),kr=-1,Gr=_r.length;++kr<Gr;){var Tn=_r[kr],Pn=S[Tn];(Pn===i||$c(Pn,fa[Tn])&&!Ti.call(S,Tn))&&(S[Tn]=Qt[Tn])}return S}),b0=Ca(function(S){return S.push(i,Ll),Pa(Ed,i,S)});function x0(S,F){return Ba(S,ln(F,3),bo)}function E0(S,F){return Ba(S,ln(F,3),rl)}function w0(S,F){return S==null?S:Fu(S,ln(F,3),$l)}function S0(S,F){return S==null?S:gu(S,ln(F,3),$l)}function A0(S,F){return S&&bo(S,ln(F,3))}function C0(S,F){return S&&rl(S,ln(F,3))}function T0(S){return S==null?[]:El(S,Lu(S))}function P0(S){return S==null?[]:El(S,$l(S))}function id(S,F,de){var Ne=S==null?i:jo(S,F);return Ne===i?de:Ne}function I0(S,F){return S!=null&&ec(S,F,Bu)}function ad(S,F){return S!=null&&ec(S,F,Ul)}var D0=Ol(function(S,F,de){F!=null&&typeof F.toString!="function"&&(F=ds.call(F)),S[F]=de},od(jl)),O0=Ol(function(S,F,de){F!=null&&typeof F.toString!="function"&&(F=ds.call(F)),Ti.call(S,F)?S[F].push(de):S[F]=[de]},ln),k0=Ca(ri);function Lu(S){return Nl(S)?$n(S):bu(S)}function $l(S){return Nl(S)?$n(S,!0):wc(S)}function R0(S,F){var de={};return F=ln(F,3),bo(S,function(Ne,yt,Qt){qi(de,F(Ne,yt,Qt),Ne)}),de}function L0(S,F){var de={};return F=ln(F,3),bo(S,function(Ne,yt,Qt){qi(de,yt,F(Ne,yt,Qt))}),de}var M0=zu(function(S,F,de){Fs(S,F,de)}),Ed=zu(function(S,F,de,Ne){Fs(S,F,de,Ne)}),F0=O(function(S,F){var de={};if(S==null)return de;var Ne=!1;F=Li(F,function(Qt){return Qt=al(Qt,S),Ne||(Ne=Qt.length>1),Qt}),uo(S,ve(S),de),Ne&&(de=pi(de,p|y|_,Rc));for(var yt=F.length;yt--;)lc(de,F[yt]);return de});function B0(S,F){return wd(S,$f(ln(F)))}var N0=O(function(S,F){return S==null?{}:su(S,F)});function wd(S,F){if(S==null)return{};var de=Li(ve(S),function(Ne){return[Ne]});return F=ln(F),Sc(S,de,function(Ne,yt){return F(Ne,yt[0])})}function $0(S,F,de){F=al(F,S);var Ne=-1,yt=F.length;for(yt||(yt=1,S=i);++Ne<yt;){var Qt=S==null?i:S[Vi(F[Ne])];Qt===i&&(Ne=yt,Qt=de),S=bf(Qt)?Qt.call(S):Qt}return S}function j0(S,F,de){return S==null?S:Nu(S,F,de)}function U0(S,F,de,Ne){return Ne=typeof Ne=="function"?Ne:i,S==null?S:Nu(S,F,de,Ne)}var Sd=kc(Lu),Ad=kc($l);function z0(S,F,de){var Ne=Wa(S),yt=Ne||Pf(S)||jf(S);if(F=ln(F,4),de==null){var Qt=S&&S.constructor;yt?de=Ne?new Qt:[]:Vo(S)?de=bf(Qt)?wr(Qe(S)):{}:de={}}return(yt?Fa:bo)(S,function(_r,kr,Gr){return F(de,_r,kr,Gr)}),de}function Z0(S,F){return S==null?!0:lc(S,F)}function H0(S,F,de){return S==null?S:ju(S,F,Pl(de))}function W0(S,F,de,Ne){return Ne=typeof Ne=="function"?Ne:i,S==null?S:ju(S,F,Pl(de),Ne)}function Uf(S){return S==null?[]:No(S,Lu(S))}function G0(S){return S==null?[]:No(S,$l(S))}function V0(S,F,de){return de===i&&(de=F,F=i),de!==i&&(de=bc(de),de=de===de?de:0),F!==i&&(F=bc(F),F=F===F?F:0),Is(bc(S),F,de)}function K0(S,F,de){return F=xf(F),de===i?(de=F,F=0):de=xf(de),S=bc(S),yu(S,F,de)}function Y0(S,F,de){if(de&&typeof de!="boolean"&&ro(S,F,de)&&(F=de=i),de===i&&(typeof F=="boolean"?(de=F,F=i):typeof S=="boolean"&&(de=S,S=i)),S===i&&F===i?(S=0,F=1):(S=xf(S),F===i?(F=S,S=0):F=xf(F)),S>F){var Ne=S;S=F,F=Ne}if(de||S%1||F%1){var yt=Wi();return la(S+yt*(F-S+ai("1e-"+((yt+"").length-1))),F)}return Eu(S,F)}var X0=Qu(function(S,F,de){return F=F.toLowerCase(),S+(de?Cd(F):F)});function Cd(S){return sd(no(S).toLowerCase())}function Td(S){return S=no(S),S&&S.replace($t,vo).replace(Dr,"")}function Q0(S,F,de){S=no(S),F=eu(F);var Ne=S.length;de=de===i?Ne:Is(rs(de),0,Ne);var yt=de;return de-=F.length,de>=0&&S.slice(de,yt)==F}function q0(S){return S=no(S),S&&ct.test(S)?S.replace(Pt,Vs):S}function J0(S){return S=no(S),S&&Mt.test(S)?S.replace(mt,"\\$&"):S}var eh=Qu(function(S,F,de){return S+(de?"-":"")+F.toLowerCase()}),th=Qu(function(S,F,de){return S+(de?" ":"")+F.toLowerCase()}),rh=lu("toLowerCase");function nh(S,F,de){S=no(S),F=rs(F);var Ne=F?sr(S):0;if(!F||Ne>=F)return S;var yt=(F-Ne)/2;return ll(wi(yt),de)+S+ll(mi(yt),de)}function ih(S,F,de){S=no(S),F=rs(F);var Ne=F?sr(S):0;return F&&Ne<F?S+ll(F-Ne,de):S}function ah(S,F,de){S=no(S),F=rs(F);var Ne=F?sr(S):0;return F&&Ne<F?ll(F-Ne,de)+S:S}function sh(S,F,de){return de||F==null?F=0:F&&(F=+F),As(no(S).replace(Be,""),F||0)}function oh(S,F,de){return(de?ro(S,F,de):F===i)?F=1:F=rs(F),il(no(S),F)}function uh(){var S=arguments,F=no(S[0]);return S.length<3?F:F.replace(S[1],S[2])}var lh=Qu(function(S,F,de){return S+(de?"_":"")+F.toLowerCase()});function ch(S,F,de){return de&&typeof de!="number"&&ro(S,F,de)&&(F=de=i),de=de===i?$:de>>>0,de?(S=no(S),S&&(typeof F=="string"||F!=null&&!nd(F))&&(F=eu(F),!F&&co(S))?to(pr(S),0,de):S.split(F,de)):[]}var fh=Qu(function(S,F,de){return S+(de?" ":"")+sd(F)});function dh(S,F,de){return S=no(S),de=de==null?0:Is(rs(de),0,S.length),F=eu(F),S.slice(de,de+F.length)==F}function hh(S,F,de){var Ne=Ae.templateSettings;de&&ro(S,F,de)&&(F=i),S=no(S),F=ed({},F,Ne,Ql);var yt=ed({},F.imports,Ne.imports,Ql),Qt=Lu(yt),_r=No(yt,Qt),kr,Gr,Tn=0,Pn=F.interpolate||Sr,zn="__p += '",Ai=Ei((F.escape||Sr).source+"|"+Pn.source+"|"+(Pn===Oe?Nr:Sr).source+"|"+(F.evaluate||Sr).source+"|$","g"),ea="//# sourceURL="+(Ti.call(F,"sourceURL")?(F.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++Jr+"]")+`
|
|
|
`;S.replace(Ai,function(Aa,Es,ks,nc,yl,ic){return ks||(ks=nc),zn+=S.slice(Tn,ic).replace(vr,Ko),Es&&(kr=!0,zn+=`' +
|
|
|
__e(`+Es+`) +
|
|
|
'`),yl&&(Gr=!0,zn+=`';
|
|
|
`+yl+`;
|
|
|
__p += '`),ks&&(zn+=`' +
|
|
|
((__t = (`+ks+`)) == null ? '' : __t) +
|
|
|
'`),Tn=ic+Aa.length,Aa}),zn+=`';
|
|
|
`;var Sa=Ti.call(F,"variable")&&F.variable;if(!Sa)zn=`with (obj) {
|
|
|
`+zn+`
|
|
|
}
|
|
|
`;else if(Mr.test(Sa))throw new yn(h);zn=(Gr?zn.replace(Wt,""):zn).replace(Fe,"$1").replace(fe,"$1;"),zn="function("+(Sa||"obj")+`) {
|
|
|
`+(Sa?"":`obj || (obj = {});
|
|
|
`)+"var __t, __p = ''"+(kr?", __e = _.escape":"")+(Gr?`, __j = Array.prototype.join;
|
|
|
function print() { __p += __j.call(arguments, '') }
|
|
|
`:`;
|
|
|
`)+zn+`return __p
|
|
|
}`;var is=Id(function(){return ht(Qt,ea+"return "+zn).apply(i,_r)});if(is.source=zn,rd(is))throw is;return is}function ph(S){return no(S).toLowerCase()}function _h(S){return no(S).toUpperCase()}function mh(S,F,de){if(S=no(S),S&&(de||F===i))return Zo(S);if(!S||!(F=eu(F)))return S;var Ne=pr(S),yt=pr(F),Qt=iu(Ne,yt),_r=mo(Ne,yt)+1;return to(Ne,Qt,_r).join("")}function vh(S,F,de){if(S=no(S),S&&(de||F===i))return S.slice(0,Ar(S)+1);if(!S||!(F=eu(F)))return S;var Ne=pr(S),yt=mo(Ne,pr(F))+1;return to(Ne,0,yt).join("")}function gh(S,F,de){if(S=no(S),S&&(de||F===i))return S.replace(Be,"");if(!S||!(F=eu(F)))return S;var Ne=pr(S),yt=iu(Ne,pr(F));return to(Ne,yt).join("")}function yh(S,F){var de=se,Ne=ie;if(Vo(F)){var yt="separator"in F?F.separator:yt;de="length"in F?rs(F.length):de,Ne="omission"in F?eu(F.omission):Ne}S=no(S);var Qt=S.length;if(co(S)){var _r=pr(S);Qt=_r.length}if(de>=Qt)return S;var kr=de-sr(Ne);if(kr<1)return Ne;var Gr=_r?to(_r,0,kr).join(""):S.slice(0,kr);if(yt===i)return Gr+Ne;if(_r&&(kr+=Gr.length-kr),nd(yt)){if(S.slice(kr).search(yt)){var Tn,Pn=Gr;for(yt.global||(yt=Ei(yt.source,no(nn.exec(yt))+"g")),yt.lastIndex=0;Tn=yt.exec(Pn);)var zn=Tn.index;Gr=Gr.slice(0,zn===i?kr:zn)}}else if(S.indexOf(eu(yt),kr)!=kr){var Ai=Gr.lastIndexOf(yt);Ai>-1&&(Gr=Gr.slice(0,Ai))}return Gr+Ne}function bh(S){return S=no(S),S&&Ie.test(S)?S.replace(pe,fn):S}var xh=Qu(function(S,F,de){return S+(de?" ":"")+F.toUpperCase()}),sd=lu("toUpperCase");function Pd(S,F,de){return S=no(S),F=de?i:F,F===i?go(S)?Ln(S):Do(S):S.match(F)||[]}var Id=Ca(function(S,F){try{return Pa(S,i,F)}catch(de){return rd(de)?de:new yn(de)}}),Eh=O(function(S,F){return Fa(F,function(de){de=Vi(de),qi(S,de,Nc(S[de],S))}),S});function wh(S){var F=S==null?0:S.length,de=ln();return S=F?Li(S,function(Ne){if(typeof Ne[1]!="function")throw new Jt(o);return[de(Ne[0]),Ne[1]]}):[],Ca(function(Ne){for(var yt=-1;++yt<F;){var Qt=S[yt];if(Pa(Qt[0],this,Ne))return Pa(Qt[1],this,Ne)}})}function Sh(S){return ho(pi(S,p))}function od(S){return function(){return S}}function Ah(S,F){return S==null||S!==S?F:S}var Ch=po(),Th=po(!0);function jl(S){return S}function ud(S){return zc(typeof S=="function"?S:pi(S,p))}function Ph(S){return Sl(pi(S,p))}function Ih(S,F){return Hs(S,pi(F,p))}var Dh=Ca(function(S,F){return function(de){return ri(de,S,F)}}),Oh=Ca(function(S,F){return function(de){return ri(S,de,F)}});function ld(S,F,de){var Ne=Lu(F),yt=El(F,Ne);de==null&&!(Vo(F)&&(yt.length||!Ne.length))&&(de=F,F=S,S=this,yt=El(F,Lu(F)));var Qt=!(Vo(de)&&"chain"in de)||!!de.chain,_r=bf(S);return Fa(yt,function(kr){var Gr=F[kr];S[kr]=Gr,_r&&(S.prototype[kr]=function(){var Tn=this.__chain__;if(Qt||Tn){var Pn=S(this.__wrapped__),zn=Pn.__actions__=Ds(this.__actions__);return zn.push({func:Gr,args:arguments,thisArg:S}),Pn.__chain__=Tn,Pn}return Gr.apply(S,Da([this.value()],arguments))})}),S}function kh(){return ua._===this&&(ua._=us),this}function cd(){}function Rh(S){return S=rs(S),Ca(function(F){return Hl(F,S)})}var Lh=Xl(Li),Mh=Xl(In),Fh=Xl(Ys);function Dd(S){return Qa(S)?fi(Vi(S)):Ac(S)}function Bh(S){return function(F){return S==null?i:jo(S,F)}}var Nh=Dc(),$h=Dc(!0);function fd(){return[]}function dd(){return!1}function jh(){return{}}function Uh(){return""}function zh(){return!0}function Zh(S,F){if(S=rs(S),S<1||S>Q)return[];var de=$,Ne=la(S,$);F=ln(F),S-=$;for(var yt=Xs(Ne,F);++de<S;)F(de);return yt}function Hh(S){return Wa(S)?Li(S,Vi):rc(S)?[S]:Ds(ba(no(S)))}function Wh(S){var F=++io;return no(S)+F}var Gh=Yl(function(S,F){return S+F},0),Vh=Rl("ceil"),Kh=Yl(function(S,F){return S/F},1),Yh=Rl("floor");function Xh(S){return S&&S.length?Ku(S,jl,Uo):i}function Qh(S,F){return S&&S.length?Ku(S,ln(F,2),Uo):i}function qh(S){return ko(S,jl)}function Jh(S,F){return ko(S,ln(F,2))}function ep(S){return S&&S.length?Ku(S,jl,xu):i}function tp(S,F){return S&&S.length?Ku(S,ln(F,2),xu):i}var rp=Yl(function(S,F){return S*F},1),np=Rl("round"),ip=Yl(function(S,F){return S-F},0);function ap(S){return S&&S.length?$a(S,jl):0}function sp(S,F){return S&&S.length?$a(S,ln(F,2)):0}return Ae.after=Bs,Ae.ary=Au,Ae.assign=_0,Ae.assignIn=xd,Ae.assignInWith=ed,Ae.assignWith=m0,Ae.at=v0,Ae.before=gl,Ae.bind=Nc,Ae.bindAll=Eh,Ae.bindKey=Bl,Ae.castArray=jd,Ae.chain=Se,Ae.chunk=ji,Ae.compact=ps,Ae.concat=Du,Ae.cond=wh,Ae.conforms=Sh,Ae.constant=od,Ae.countBy=an,Ae.create=g0,Ae.curry=gf,Ae.curryRight=tf,Ae.debounce=Vf,Ae.defaults=y0,Ae.defaultsDeep=b0,Ae.defer=Nf,Ae.delay=Yf,Ae.difference=Ou,Ae.differenceBy=el,Ae.differenceWith=Gu,Ae.drop=_l,Ae.dropRight=If,Ae.dropRightWhile=Sf,Ae.dropWhile=Fl,Ae.fill=uf,Ae.filter=Fn,Ae.flatMap=Ui,Ae.flatMapDeep=$i,Ae.flatMapDepth=Di,Ae.flatten=lf,Ae.flattenDeep=tl,Ae.flattenDepth=Df,Ae.flip=Lf,Ae.flow=Ch,Ae.flowRight=Th,Ae.fromPairs=Vu,Ae.functions=T0,Ae.functionsIn=P0,Ae.groupBy=wa,Ae.initial=Go,Ae.intersection=qc,Ae.intersectionBy=ff,Ae.intersectionWith=ku,Ae.invert=D0,Ae.invertBy=O0,Ae.invokeMap=vi,Ae.iteratee=ud,Ae.keyBy=ii,Ae.keys=Lu,Ae.keysIn=$l,Ae.map=Ua,Ae.mapKeys=R0,Ae.mapValues=L0,Ae.matches=Ph,Ae.matchesProperty=Ih,Ae.memoize=Mf,Ae.merge=M0,Ae.mergeWith=Ed,Ae.method=Dh,Ae.methodOf=Oh,Ae.mixin=ld,Ae.negate=$f,Ae.nthArg=Rh,Ae.omit=F0,Ae.omitBy=B0,Ae.once=Xf,Ae.orderBy=_s,Ae.over=Lh,Ae.overArgs=Qf,Ae.overEvery=Mh,Ae.overSome=Fh,Ae.partial=yf,Ae.partialRight=hd,Ae.partition=js,Ae.pick=N0,Ae.pickBy=wd,Ae.property=Dd,Ae.propertyOf=Bh,Ae.pull=Mc,Ae.pullAll=Fc,Ae.pullAllBy=Jc,Ae.pullAllWith=Bc,Ae.pullAt=Of,Ae.range=Nh,Ae.rangeRight=$h,Ae.rearg=Ld,Ae.reject=ml,Ae.remove=Af,Ae.rest=Md,Ae.reverse=ef,Ae.sampleSize=vl,Ae.set=j0,Ae.setWith=U0,Ae.shuffle=vf,Ae.slice=Cf,Ae.sortBy=Wf,Ae.sortedUniq=mf,Ae.sortedUniqBy=Zf,Ae.split=ch,Ae.spread=Fd,Ae.tail=Tf,Ae.take=g,Ae.takeRight=P,Ae.takeRightWhile=U,Ae.takeWhile=ge,Ae.tap=ut,Ae.throttle=Bd,Ae.thru=Je,Ae.toArray=gd,Ae.toPairs=Sd,Ae.toPairsIn=Ad,Ae.toPath=Hh,Ae.toPlainObject=bd,Ae.transform=z0,Ae.unary=Nd,Ae.union=Le,Ae.unionBy=it,Ae.unionWith=w,Ae.uniq=t,Ae.uniqBy=n,Ae.uniqWith=s,Ae.unset=Z0,Ae.unzip=m,Ae.unzipWith=E,Ae.update=H0,Ae.updateWith=W0,Ae.values=Uf,Ae.valuesIn=G0,Ae.without=T,Ae.words=Pd,Ae.wrap=$d,Ae.xor=j,Ae.xorBy=Y,Ae.xorWith=H,Ae.zip=te,Ae.zipObject=oe,Ae.zipObjectDeep=me,Ae.zipWith=we,Ae.entries=Sd,Ae.entriesIn=Ad,Ae.extend=xd,Ae.extendWith=ed,ld(Ae,Ae),Ae.add=Gh,Ae.attempt=Id,Ae.camelCase=X0,Ae.capitalize=Cd,Ae.ceil=Vh,Ae.clamp=V0,Ae.clone=Ud,Ae.cloneDeep=Zd,Ae.cloneDeepWith=Hd,Ae.cloneWith=zd,Ae.conformsTo=Wd,Ae.deburr=Td,Ae.defaultTo=Ah,Ae.divide=Kh,Ae.endsWith=Q0,Ae.eq=$c,Ae.escape=q0,Ae.escapeRegExp=J0,Ae.every=Br,Ae.find=oi,Ae.findIndex=Lc,Ae.findKey=x0,Ae.findLast=sa,Ae.findLastIndex=Qc,Ae.findLastKey=E0,Ae.floor=Yh,Ae.forEach=va,Ae.forEachRight=ui,Ae.forIn=w0,Ae.forInRight=S0,Ae.forOwn=A0,Ae.forOwnRight=C0,Ae.get=id,Ae.gt=Gd,Ae.gte=Vd,Ae.has=I0,Ae.hasIn=ad,Ae.head=gc,Ae.identity=jl,Ae.includes=xa,Ae.indexOf=cf,Ae.inRange=K0,Ae.invoke=k0,Ae.isArguments=Ff,Ae.isArray=Wa,Ae.isArrayBuffer=Kd,Ae.isArrayLike=Nl,Ae.isArrayLikeObject=cu,Ae.isBoolean=Yd,Ae.isBuffer=Pf,Ae.isDate=Xd,Ae.isElement=Qd,Ae.isEmpty=qd,Ae.isEqual=Jd,Ae.isEqualWith=e0,Ae.isError=rd,Ae.isFinite=t0,Ae.isFunction=bf,Ae.isInteger=pd,Ae.isLength=qf,Ae.isMap=_d,Ae.isMatch=r0,Ae.isMatchWith=n0,Ae.isNaN=i0,Ae.isNative=a0,Ae.isNil=o0,Ae.isNull=s0,Ae.isNumber=md,Ae.isObject=Vo,Ae.isObjectLike=nu,Ae.isPlainObject=Kf,Ae.isRegExp=nd,Ae.isSafeInteger=u0,Ae.isSet=vd,Ae.isString=Jf,Ae.isSymbol=rc,Ae.isTypedArray=jf,Ae.isUndefined=l0,Ae.isWeakMap=c0,Ae.isWeakSet=f0,Ae.join=yc,Ae.kebabCase=eh,Ae.last=To,Ae.lastIndexOf=df,Ae.lowerCase=th,Ae.lowerFirst=rh,Ae.lt=d0,Ae.lte=h0,Ae.max=Xh,Ae.maxBy=Qh,Ae.mean=qh,Ae.meanBy=Jh,Ae.min=ep,Ae.minBy=tp,Ae.stubArray=fd,Ae.stubFalse=dd,Ae.stubObject=jh,Ae.stubString=Uh,Ae.stubTrue=zh,Ae.multiply=rp,Ae.nth=hf,Ae.noConflict=kh,Ae.noop=cd,Ae.now=Gf,Ae.pad=nh,Ae.padEnd=ih,Ae.padStart=ah,Ae.parseInt=sh,Ae.random=Y0,Ae.reduce=Os,Ae.reduceRight=Bo,Ae.repeat=oh,Ae.replace=uh,Ae.result=$0,Ae.round=np,Ae.runInContext=dr,Ae.sample=Ru,Ae.size=td,Ae.snakeCase=lh,Ae.some=Hf,Ae.sortedIndex=kf,Ae.sortedIndexBy=pf,Ae.sortedIndexOf=zf,Ae.sortedLastIndex=_f,Ae.sortedLastIndexBy=Rf,Ae.sortedLastIndexOf=Bf,Ae.startCase=fh,Ae.startsWith=dh,Ae.subtract=ip,Ae.sum=ap,Ae.sumBy=sp,Ae.template=hh,Ae.times=Zh,Ae.toFinite=xf,Ae.toInteger=rs,Ae.toLength=yd,Ae.toLower=ph,Ae.toNumber=bc,Ae.toSafeInteger=p0,Ae.toString=no,Ae.toUpper=_h,Ae.trim=mh,Ae.trimEnd=vh,Ae.trimStart=gh,Ae.truncate=yh,Ae.unescape=bh,Ae.uniqueId=Wh,Ae.upperCase=xh,Ae.upperFirst=sd,Ae.each=va,Ae.eachRight=ui,Ae.first=gc,ld(Ae,function(){var S={};return bo(Ae,function(F,de){Ti.call(Ae.prototype,de)||(S[de]=F)}),S}(),{chain:!1}),Ae.VERSION=l,Fa(["bind","bindKey","curry","curryRight","partial","partialRight"],function(S){Ae[S].placeholder=Ae}),Fa(["drop","take"],function(S,F){Kr.prototype[S]=function(de){de=de===i?1:hi(rs(de),0);var Ne=this.__filtered__&&!F?new Kr(this):this.clone();return Ne.__filtered__?Ne.__takeCount__=la(de,Ne.__takeCount__):Ne.__views__.push({size:la(de,$),type:S+(Ne.__dir__<0?"Right":"")}),Ne},Kr.prototype[S+"Right"]=function(de){return this.reverse()[S](de).reverse()}}),Fa(["filter","map","takeWhile"],function(S,F){var de=F+1,Ne=de==J||de==ue;Kr.prototype[S]=function(yt){var Qt=this.clone();return Qt.__iteratees__.push({iteratee:ln(yt,3),type:de}),Qt.__filtered__=Qt.__filtered__||Ne,Qt}}),Fa(["head","last"],function(S,F){var de="take"+(F?"Right":"");Kr.prototype[S]=function(){return this[de](1).value()[0]}}),Fa(["initial","tail"],function(S,F){var de="drop"+(F?"":"Right");Kr.prototype[S]=function(){return this.__filtered__?new Kr(this):this[de](1)}}),Kr.prototype.compact=function(){return this.filter(jl)},Kr.prototype.find=function(S){return this.filter(S).head()},Kr.prototype.findLast=function(S){return this.reverse().find(S)},Kr.prototype.invokeMap=Ca(function(S,F){return typeof S=="function"?new Kr(this):this.map(function(de){return ri(de,S,F)})}),Kr.prototype.reject=function(S){return this.filter($f(ln(S)))},Kr.prototype.slice=function(S,F){S=rs(S);var de=this;return de.__filtered__&&(S>0||F<0)?new Kr(de):(S<0?de=de.takeRight(-S):S&&(de=de.drop(S)),F!==i&&(F=rs(F),de=F<0?de.dropRight(-F):de.take(F-S)),de)},Kr.prototype.takeRightWhile=function(S){return this.reverse().takeWhile(S).reverse()},Kr.prototype.toArray=function(){return this.take($)},bo(Kr.prototype,function(S,F){var de=/^(?:filter|find|map|reject)|While$/.test(F),Ne=/^(?:head|last)$/.test(F),yt=Ae[Ne?"take"+(F=="last"?"Right":""):F],Qt=Ne||/^find/.test(F);yt&&(Ae.prototype[F]=function(){var _r=this.__wrapped__,kr=Ne?[1]:arguments,Gr=_r instanceof Kr,Tn=kr[0],Pn=Gr||Wa(_r),zn=function(Es){var ks=yt.apply(Ae,Da([Es],kr));return Ne&&Ai?ks[0]:ks};Pn&&de&&typeof Tn=="function"&&Tn.length!=1&&(Gr=Pn=!1);var Ai=this.__chain__,ea=!!this.__actions__.length,Sa=Qt&&!Ai,is=Gr&&!ea;if(!Qt&&Pn){_r=is?_r:new Kr(this);var Aa=S.apply(_r,kr);return Aa.__actions__.push({func:Je,args:[zn],thisArg:i}),new yr(Aa,Ai)}return Sa&&is?S.apply(this,kr):(Aa=this.thru(zn),Sa?Ne?Aa.value()[0]:Aa.value():Aa)})}),Fa(["pop","push","shift","sort","splice","unshift"],function(S){var F=Yi[S],de=/^(?:push|sort|unshift)$/.test(S)?"tap":"thru",Ne=/^(?:pop|shift)$/.test(S);Ae.prototype[S]=function(){var yt=arguments;if(Ne&&!this.__chain__){var Qt=this.value();return F.apply(Wa(Qt)?Qt:[],yt)}return this[de](function(_r){return F.apply(Wa(_r)?_r:[],yt)})}}),bo(Kr.prototype,function(S,F){var de=Ae[F];if(de){var Ne=de.name+"";Ti.call(fo,Ne)||(fo[Ne]=[]),fo[Ne].push({name:F,func:de})}}),fo[_u(i,R).name]=[{name:"wrapper",func:i}],Kr.prototype.clone=En,Kr.prototype.reverse=Xn,Kr.prototype.value=ki,Ae.prototype.at=Lt,Ae.prototype.chain=rr,Ae.prototype.commit=Yt,Ae.prototype.next=Cr,Ae.prototype.plant=cn,Ae.prototype.reverse=zr,Ae.prototype.toJSON=Ae.prototype.valueOf=Ae.prototype.value=qr,Ae.prototype.first=Ae.prototype.head,jr&&(Ae.prototype[jr]=Hr),Ae},Qn=Jn();ua._=Qn,r=function(){return Qn}.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,Oe){for(var xt=0;xt<Oe.length;xt++){var xe=Oe[xt];xe.enumerable=xe.enumerable||!1,xe.configurable=!0,"value"in xe&&(xe.writable=!0),Object.defineProperty(wt,xe.key,xe)}}function e(wt,Oe,xt){return Oe&&v(wt.prototype,Oe),xt&&v(wt,xt),wt}function r(wt,Oe){if(wt){if(typeof wt=="string")return i(wt,Oe);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,Oe)}}function i(wt,Oe){(Oe==null||Oe>wt.length)&&(Oe=wt.length);for(var xt=0,xe=new Array(Oe);xt<Oe;xt++)xe[xt]=wt[xt];return xe}function l(wt,Oe){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))||Oe&&wt&&typeof wt.length=="number"){xt&&(wt=xt);var xe=0;return function(){return xe>=wt.length?{done:!0}:{done:!1,value:wt[xe++]}}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var c={exports:{}};function f(){return{baseUrl:null,breaks:!1,gfm:!0,headerIds:!0,headerPrefix:"",highlight:null,langPrefix:"language-",mangle:!0,pedantic:!1,renderer:null,sanitize:!1,sanitizer:null,silent:!1,smartLists:!1,smartypants:!1,tokenizer:null,walkTokens:null,xhtml:!1}}function o(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(Oe){return p[Oe]};function _(wt,Oe){if(Oe){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 A(wt){return wt.replace(b,function(Oe,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,Oe){wt=wt.source||wt,Oe=Oe||"";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,Oe)}};return xt}var C=/[^\w:]/g,D=/^$|^[a-z][a-z0-9+.-]*:|^[?#]/i;function M(wt,Oe,xt){if(wt){var xe;try{xe=decodeURIComponent(A(xt)).replace(C,"").toLowerCase()}catch(Ye){return null}if(xe.indexOf("javascript:")===0||xe.indexOf("vbscript:")===0||xe.indexOf("data:")===0)return null}Oe&&!D.test(xt)&&(xt=W(Oe,xt));try{xt=encodeURI(xt).replace(/%25/g,"%")}catch(Ye){return null}return xt}var B={},N=/^[^:]+:\/*[^/]*$/,K=/^([^:]+:)[\s\S]*$/,G=/^([^:]+:\/*[^/]*)[\s\S]*$/;function W(wt,Oe){B[" "+wt]||(N.test(wt)?B[" "+wt]=wt+"/":B[" "+wt]=q(wt,"/",!0)),wt=B[" "+wt];var xt=wt.indexOf(":")===-1;return Oe.substring(0,2)==="//"?xt?Oe:wt.replace(K,"$1")+Oe:Oe.charAt(0)==="/"?xt?Oe:wt.replace(G,"$1")+Oe:wt+Oe}var se={exec:function(){}};function ie(wt){for(var Oe=1,xt,xe;Oe<arguments.length;Oe++){xt=arguments[Oe];for(xe in xt)Object.prototype.hasOwnProperty.call(xt,xe)&&(wt[xe]=xt[xe])}return wt}function le(wt,Oe){var xt=wt.replace(/\|/g,function(mt,Mt,Be){for(var Ir=!1,St=Mt;--St>=0&&Be[St]==="\\";)Ir=!Ir;return Ir?"|":" |"}),xe=xt.split(/ \|/),Ye=0;if(xe.length>Oe)xe.splice(Oe);else for(;xe.length<Oe;)xe.push("");for(;Ye<xe.length;Ye++)xe[Ye]=xe[Ye].trim().replace(/\\\|/g,"|");return xe}function q(wt,Oe,xt){var xe=wt.length;if(xe===0)return"";for(var Ye=0;Ye<xe;){var mt=wt.charAt(xe-Ye-1);if(mt===Oe&&!xt)Ye++;else if(mt!==Oe&&xt)Ye++;else break}return wt.substr(0,xe-Ye)}function J(wt,Oe){if(wt.indexOf(Oe[1])===-1)return-1;for(var xt=wt.length,xe=0,Ye=0;Ye<xt;Ye++)if(wt[Ye]==="\\")Ye++;else if(wt[Ye]===Oe[0])xe++;else if(wt[Ye]===Oe[1]&&(xe--,xe<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 ue(wt,Oe){if(Oe<1)return"";for(var xt="";Oe>1;)Oe&1&&(xt+=wt),Oe>>=1,wt+=wt;return xt+wt}var ee={escape:_,unescape:A,edit:R,cleanUrl:M,resolveUrl:W,noopTest:se,merge:ie,splitCells:le,rtrim:q,findClosingBracket:J,checkSanitizeDeprecation:V,repeatString:ue},Q=c.exports.defaults,ce=ee.rtrim,z=ee.splitCells,$=ee.escape,ae=ee.findClosingBracket;function _e(wt,Oe,xt){var xe=Oe.href,Ye=Oe.title?$(Oe.title):null,mt=wt[1].replace(/\\([\[\]])/g,"$1");return wt[0].charAt(0)!=="!"?{type:"link",raw:xt,href:xe,title:Ye,text:mt}:{type:"image",raw:xt,href:xe,title:Ye,text:$(mt)}}function De(wt,Oe){var xt=wt.match(/^(\s+)(?:```)/);if(xt===null)return Oe;var xe=xt[1];return Oe.split(`
|
|
|
`).map(function(Ye){var mt=Ye.match(/^\s+/);if(mt===null)return Ye;var Mt=mt[0];return Mt.length>=xe.length?Ye.slice(xe.length):Ye}).join(`
|
|
|
`)}var ke=function(){function wt(xt){this.options=xt||Q}var Oe=wt.prototype;return Oe.space=function(xe){var Ye=this.rules.block.newline.exec(xe);if(Ye)return Ye[0].length>1?{type:"space",raw:Ye[0]}:{raw:`
|
|
|
`}},Oe.code=function(xe){var Ye=this.rules.block.code.exec(xe);if(Ye){var mt=Ye[0].replace(/^ {1,4}/gm,"");return{type:"code",raw:Ye[0],codeBlockStyle:"indented",text:this.options.pedantic?mt:ce(mt,`
|
|
|
`)}}},Oe.fences=function(xe){var Ye=this.rules.block.fences.exec(xe);if(Ye){var mt=Ye[0],Mt=De(mt,Ye[3]||"");return{type:"code",raw:mt,lang:Ye[2]?Ye[2].trim():Ye[2],text:Mt}}},Oe.heading=function(xe){var Ye=this.rules.block.heading.exec(xe);if(Ye){var mt=Ye[2].trim();if(/#$/.test(mt)){var Mt=ce(mt,"#");(this.options.pedantic||!Mt||/ $/.test(Mt))&&(mt=Mt.trim())}return{type:"heading",raw:Ye[0],depth:Ye[1].length,text:mt}}},Oe.nptable=function(xe){var Ye=this.rules.block.nptable.exec(xe);if(Ye){var mt={type:"table",header:z(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 Mt=mt.align.length,Be;for(Be=0;Be<Mt;Be++)/^ *-+: *$/.test(mt.align[Be])?mt.align[Be]="right":/^ *:-+: *$/.test(mt.align[Be])?mt.align[Be]="center":/^ *:-+ *$/.test(mt.align[Be])?mt.align[Be]="left":mt.align[Be]=null;for(Mt=mt.cells.length,Be=0;Be<Mt;Be++)mt.cells[Be]=z(mt.cells[Be],mt.header.length);return mt}}},Oe.hr=function(xe){var Ye=this.rules.block.hr.exec(xe);if(Ye)return{type:"hr",raw:Ye[0]}},Oe.blockquote=function(xe){var Ye=this.rules.block.blockquote.exec(xe);if(Ye){var mt=Ye[0].replace(/^ *> ?/gm,"");return{type:"blockquote",raw:Ye[0],text:mt}}},Oe.list=function(xe){var Ye=this.rules.block.list.exec(xe);if(Ye){var mt=Ye[0],Mt=Ye[2],Be=Mt.length>1,Ir={type:"list",raw:mt,ordered:Be,start:Be?+Mt.slice(0,-1):"",loose:!1,items:[]},St=Ye[0].match(this.rules.block.item),Zr=!1,Yr,xr,Mr,mr,Nr,nn,on,or,Rt,_t=St.length;Mr=this.rules.block.listItemStart.exec(St[0]);for(var vt=0;vt<_t;vt++){if(Yr=St[vt],mt=Yr,this.options.pedantic||(Rt=Yr.match(new RegExp("\\n\\s*\\n {0,"+(Mr[0].length-1)+"}\\S")),Rt&&(Nr=Yr.length-Rt.index+St.slice(vt+1).join(`
|
|
|
`).length,Ir.raw=Ir.raw.substring(0,Ir.raw.length-Nr),Yr=Yr.substring(0,Rt.index),mt=Yr,_t=vt+1)),vt!==_t-1){if(mr=this.rules.block.listItemStart.exec(St[vt+1]),this.options.pedantic?mr[1].length>Mr[1].length:mr[1].length>=Mr[0].length||mr[1].length>3){St.splice(vt,2,St[vt]+(!this.options.pedantic&&mr[1].length<Mr[0].length&&!St[vt].match(/\n$/)?"":`
|
|
|
`)+St[vt+1]),vt--,_t--;continue}else(!this.options.pedantic||this.options.smartLists?mr[2][mr[2].length-1]!==Mt[Mt.length-1]:Be===(mr[2].length===1))&&(Nr=St.slice(vt+1).join(`
|
|
|
`).length,Ir.raw=Ir.raw.substring(0,Ir.raw.length-Nr),vt=_t-1);Mr=mr}xr=Yr.length,Yr=Yr.replace(/^ *([*+-]|\d+[.)]) ?/,""),~Yr.indexOf(`
|
|
|
`)&&(xr-=Yr.length,Yr=this.options.pedantic?Yr.replace(/^ {1,4}/gm,""):Yr.replace(new RegExp("^ {1,"+xr+"}","gm"),"")),Yr=ce(Yr,`
|
|
|
`),vt!==_t-1&&(mt=mt+`
|
|
|
`),nn=Zr||/\n\n(?!\s*$)/.test(mt),vt!==_t-1&&(Zr=mt.slice(-2)===`
|
|
|
|
|
|
`,nn||(nn=Zr)),nn&&(Ir.loose=!0),this.options.gfm&&(on=/^\[[ xX]\] /.test(Yr),or=void 0,on&&(or=Yr[1]!==" ",Yr=Yr.replace(/^\[[ xX]\] +/,""))),Ir.items.push({type:"list_item",raw:mt,task:on,checked:or,loose:nn,text:Yr})}return Ir}},Oe.html=function(xe){var Ye=this.rules.block.html.exec(xe);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]}},Oe.def=function(xe){var Ye=this.rules.block.def.exec(xe);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]}}},Oe.table=function(xe){var Ye=this.rules.block.table.exec(xe);if(Ye){var mt={type:"table",header:z(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 Mt=mt.align.length,Be;for(Be=0;Be<Mt;Be++)/^ *-+: *$/.test(mt.align[Be])?mt.align[Be]="right":/^ *:-+: *$/.test(mt.align[Be])?mt.align[Be]="center":/^ *:-+ *$/.test(mt.align[Be])?mt.align[Be]="left":mt.align[Be]=null;for(Mt=mt.cells.length,Be=0;Be<Mt;Be++)mt.cells[Be]=z(mt.cells[Be].replace(/^ *\| *| *\| *$/g,""),mt.header.length);return mt}}},Oe.lheading=function(xe){var Ye=this.rules.block.lheading.exec(xe);if(Ye)return{type:"heading",raw:Ye[0],depth:Ye[2].charAt(0)==="="?1:2,text:Ye[1]}},Oe.paragraph=function(xe){var Ye=this.rules.block.paragraph.exec(xe);if(Ye)return{type:"paragraph",raw:Ye[0],text:Ye[1].charAt(Ye[1].length-1)===`
|
|
|
`?Ye[1].slice(0,-1):Ye[1]}},Oe.text=function(xe){var Ye=this.rules.block.text.exec(xe);if(Ye)return{type:"text",raw:Ye[0],text:Ye[0]}},Oe.escape=function(xe){var Ye=this.rules.inline.escape.exec(xe);if(Ye)return{type:"escape",raw:Ye[0],text:$(Ye[1])}},Oe.tag=function(xe,Ye,mt){var Mt=this.rules.inline.tag.exec(xe);if(Mt)return!Ye&&/^<a /i.test(Mt[0])?Ye=!0:Ye&&/^<\/a>/i.test(Mt[0])&&(Ye=!1),!mt&&/^<(pre|code|kbd|script)(\s|>)/i.test(Mt[0])?mt=!0:mt&&/^<\/(pre|code|kbd|script)(\s|>)/i.test(Mt[0])&&(mt=!1),{type:this.options.sanitize?"text":"html",raw:Mt[0],inLink:Ye,inRawBlock:mt,text:this.options.sanitize?this.options.sanitizer?this.options.sanitizer(Mt[0]):$(Mt[0]):Mt[0]}},Oe.link=function(xe){var Ye=this.rules.inline.link.exec(xe);if(Ye){var mt=Ye[2].trim();if(!this.options.pedantic&&/^</.test(mt)){if(!/>$/.test(mt))return;var Mt=ce(mt.slice(0,-1),"\\");if((mt.length-Mt.length)%2===0)return}else{var Be=ae(Ye[2],"()");if(Be>-1){var Ir=Ye[0].indexOf("!")===0?5:4,St=Ir+Ye[1].length+Be;Ye[2]=Ye[2].substring(0,Be),Ye[0]=Ye[0].substring(0,St).trim(),Ye[3]=""}}var Zr=Ye[2],Yr="";if(this.options.pedantic){var xr=/^([^'"]*[^\s])\s+(['"])(.*)\2/.exec(Zr);xr&&(Zr=xr[1],Yr=xr[3])}else Yr=Ye[3]?Ye[3].slice(1,-1):"";return Zr=Zr.trim(),/^</.test(Zr)&&(this.options.pedantic&&!/>$/.test(mt)?Zr=Zr.slice(1):Zr=Zr.slice(1,-1)),_e(Ye,{href:Zr&&Zr.replace(this.rules.inline._escapes,"$1"),title:Yr&&Yr.replace(this.rules.inline._escapes,"$1")},Ye[0])}},Oe.reflink=function(xe,Ye){var mt;if((mt=this.rules.inline.reflink.exec(xe))||(mt=this.rules.inline.nolink.exec(xe))){var Mt=(mt[2]||mt[1]).replace(/\s+/g," ");if(Mt=Ye[Mt.toLowerCase()],!Mt||!Mt.href){var Be=mt[0].charAt(0);return{type:"text",raw:Be,text:Be}}return _e(mt,Mt,mt[0])}},Oe.emStrong=function(xe,Ye,mt){mt===void 0&&(mt="");var Mt=this.rules.inline.emStrong.lDelim.exec(xe);if(Mt&&!(Mt[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 Be=Mt[1]||Mt[2]||"";if(!Be||Be&&(mt===""||this.rules.inline.punctuation.exec(mt))){var Ir=Mt[0].length-1,St,Zr,Yr=Ir,xr=0,Mr=Mt[0][0]==="*"?this.rules.inline.emStrong.rDelimAst:this.rules.inline.emStrong.rDelimUnd;for(Mr.lastIndex=0,Ye=Ye.slice(-1*xe.length+Ir);(Mt=Mr.exec(Ye))!=null;)if(St=Mt[1]||Mt[2]||Mt[3]||Mt[4]||Mt[5]||Mt[6],!!St){if(Zr=St.length,Mt[3]||Mt[4]){Yr+=Zr;continue}else if((Mt[5]||Mt[6])&&Ir%3&&!((Ir+Zr)%3)){xr+=Zr;continue}if(Yr-=Zr,!(Yr>0))return Zr=Math.min(Zr,Zr+Yr+xr),Math.min(Ir,Zr)%2?{type:"em",raw:xe.slice(0,Ir+Mt.index+Zr+1),text:xe.slice(1,Ir+Mt.index+Zr)}:{type:"strong",raw:xe.slice(0,Ir+Mt.index+Zr+1),text:xe.slice(2,Ir+Mt.index+Zr-1)}}}}},Oe.codespan=function(xe){var Ye=this.rules.inline.code.exec(xe);if(Ye){var mt=Ye[2].replace(/\n/g," "),Mt=/[^ ]/.test(mt),Be=/^ /.test(mt)&&/ $/.test(mt);return Mt&&Be&&(mt=mt.substring(1,mt.length-1)),mt=$(mt,!0),{type:"codespan",raw:Ye[0],text:mt}}},Oe.br=function(xe){var Ye=this.rules.inline.br.exec(xe);if(Ye)return{type:"br",raw:Ye[0]}},Oe.del=function(xe){var Ye=this.rules.inline.del.exec(xe);if(Ye)return{type:"del",raw:Ye[0],text:Ye[2]}},Oe.autolink=function(xe,Ye){var mt=this.rules.inline.autolink.exec(xe);if(mt){var Mt,Be;return mt[2]==="@"?(Mt=$(this.options.mangle?Ye(mt[1]):mt[1]),Be="mailto:"+Mt):(Mt=$(mt[1]),Be=Mt),{type:"link",raw:mt[0],text:Mt,href:Be,tokens:[{type:"text",raw:Mt,text:Mt}]}}},Oe.url=function(xe,Ye){var mt;if(mt=this.rules.inline.url.exec(xe)){var Mt,Be;if(mt[2]==="@")Mt=$(this.options.mangle?Ye(mt[0]):mt[0]),Be="mailto:"+Mt;else{var Ir;do Ir=mt[0],mt[0]=this.rules.inline._backpedal.exec(mt[0])[0];while(Ir!==mt[0]);Mt=$(mt[0]),mt[1]==="www."?Be="http://"+Mt:Be=Mt}return{type:"link",raw:mt[0],text:Mt,href:Be,tokens:[{type:"text",raw:Mt,text:Mt}]}}},Oe.inlineText=function(xe,Ye,mt){var Mt=this.rules.inline.text.exec(xe);if(Mt){var Be;return Ye?Be=this.options.sanitize?this.options.sanitizer?this.options.sanitizer(Mt[0]):$(Mt[0]):Mt[0]:Be=$(this.options.smartypants?mt(Mt[0]):Mt[0]),{type:"text",raw:Mt[0],text:Be}}},wt}(),He=ee.noopTest,$e=ee.edit,Bt=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=$e(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=$e(gt.item,"gm").replace(/bull/g,gt.bullet).getRegex(),gt.listItemStart=$e(/^( *)(bull) */).replace("bull",gt.bullet).getRegex(),gt.list=$e(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=$e(gt.html,"i").replace("comment",gt._comment).replace("tag",gt._tag).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),gt.paragraph=$e(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=$e(gt.blockquote).replace("paragraph",gt.paragraph).getRegex(),gt.normal=Bt({},gt),gt.gfm=Bt({},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=$e(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=$e(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=Bt({},gt.normal,{html:$e(`^ *(?: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:$e(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=$e(Dt.punctuation).replace(/punctuation/g,Dt._punctuation).getRegex(),Dt.blockSkip=/\[[^\]]*?\]\([^\)]*?\)|`[^`]*?`|<[^>]*?>/g,Dt.escapedEmSt=/\\\*|\\_/g,Dt._comment=$e(gt._comment).replace("(?:-->|$)","-->").getRegex(),Dt.emStrong.lDelim=$e(Dt.emStrong.lDelim).replace(/punct/g,Dt._punctuation).getRegex(),Dt.emStrong.rDelimAst=$e(Dt.emStrong.rDelimAst,"g").replace(/punct/g,Dt._punctuation).getRegex(),Dt.emStrong.rDelimUnd=$e(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=$e(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=$e(Dt.tag).replace("comment",Dt._comment).replace("attribute",Dt._attribute).getRegex(),Dt._label=/(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/,Dt._href=/<(?:\\.|[^\n<>\\])+>|[^\s\x00-\x1f]*/,Dt._title=/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/,Dt.link=$e(Dt.link).replace("label",Dt._label).replace("href",Dt._href).replace("title",Dt._title).getRegex(),Dt.reflink=$e(Dt.reflink).replace("label",Dt._label).getRegex(),Dt.reflinkSearch=$e(Dt.reflinkSearch,"g").replace("reflink",Dt.reflink).replace("nolink",Dt.nolink).getRegex(),Dt.normal=Bt({},Dt),Dt.pedantic=Bt({},Dt.normal,{strong:{start:/^__|\*\*/,middle:/^__(?=\S)([\s\S]*?\S)__(?!_)|^\*\*(?=\S)([\s\S]*?\S)\*\*(?!\*)/,endAst:/\*\*(?!\*)/g,endUnd:/__(?!_)/g},em:{start:/^_|\*/,middle:/^()\*(?=\S)([\s\S]*?\S)\*(?!\*)|^_(?=\S)([\s\S]*?\S)_(?!_)/,endAst:/\*(?!\*)/g,endUnd:/_(?!_)/g},link:$e(/^!?\[(label)\]\((.*?)\)/).replace("label",Dt._label).getRegex(),reflink:$e(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",Dt._label).getRegex()}),Dt.gfm=Bt({},Dt.normal,{escape:$e(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=$e(Dt.gfm.url,"i").replace("email",Dt.gfm._extended_email).getRegex(),Dt.breaks=Bt({},Dt.gfm,{br:$e(Dt.br).replace("{2,}","*").getRegex(),text:$e(Dt.gfm.text).replace("\\b_","\\b_| {2,}\\n").replace(/\{2,\}/g,"*").getRegex()});var nr={block:gt,inline:Dt},Xt=ke,cr=c.exports.defaults,Ge=nr.block,Tt=nr.inline,Ut=ee.repeatString;function at(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 Oe="",xt,xe,Ye=wt.length;for(xt=0;xt<Ye;xt++)xe=wt.charCodeAt(xt),Math.random()>.5&&(xe="x"+xe.toString(16)),Oe+="&#"+xe+";";return Oe}var dt=function(){function wt(xt){this.tokens=[],this.tokens.links=Object.create(null),this.options=xt||cr,this.options.tokenizer=this.options.tokenizer||new Xt,this.tokenizer=this.options.tokenizer,this.tokenizer.options=this.options;var xe={block:Ge.normal,inline:Tt.normal};this.options.pedantic?(xe.block=Ge.pedantic,xe.inline=Tt.pedantic):this.options.gfm&&(xe.block=Ge.gfm,this.options.breaks?xe.inline=Tt.breaks:xe.inline=Tt.gfm),this.tokenizer.rules=xe}wt.lex=function(xe,Ye){var mt=new wt(Ye);return mt.lex(xe)},wt.lexInline=function(xe,Ye){var mt=new wt(Ye);return mt.inlineTokens(xe)};var Oe=wt.prototype;return Oe.lex=function(xe){return xe=xe.replace(/\r\n|\r/g,`
|
|
|
`).replace(/\t/g," "),this.blockTokens(xe,this.tokens,!0),this.inline(this.tokens),this.tokens},Oe.blockTokens=function(xe,Ye,mt){Ye===void 0&&(Ye=[]),mt===void 0&&(mt=!0),this.options.pedantic&&(xe=xe.replace(/^ +$/gm,""));for(var Mt,Be,Ir,St;xe;){if(Mt=this.tokenizer.space(xe)){xe=xe.substring(Mt.raw.length),Mt.type&&Ye.push(Mt);continue}if(Mt=this.tokenizer.code(xe)){xe=xe.substring(Mt.raw.length),St=Ye[Ye.length-1],St&&St.type==="paragraph"?(St.raw+=`
|
|
|
`+Mt.raw,St.text+=`
|
|
|
`+Mt.text):Ye.push(Mt);continue}if(Mt=this.tokenizer.fences(xe)){xe=xe.substring(Mt.raw.length),Ye.push(Mt);continue}if(Mt=this.tokenizer.heading(xe)){xe=xe.substring(Mt.raw.length),Ye.push(Mt);continue}if(Mt=this.tokenizer.nptable(xe)){xe=xe.substring(Mt.raw.length),Ye.push(Mt);continue}if(Mt=this.tokenizer.hr(xe)){xe=xe.substring(Mt.raw.length),Ye.push(Mt);continue}if(Mt=this.tokenizer.blockquote(xe)){xe=xe.substring(Mt.raw.length),Mt.tokens=this.blockTokens(Mt.text,[],mt),Ye.push(Mt);continue}if(Mt=this.tokenizer.list(xe)){for(xe=xe.substring(Mt.raw.length),Ir=Mt.items.length,Be=0;Be<Ir;Be++)Mt.items[Be].tokens=this.blockTokens(Mt.items[Be].text,[],!1);Ye.push(Mt);continue}if(Mt=this.tokenizer.html(xe)){xe=xe.substring(Mt.raw.length),Ye.push(Mt);continue}if(mt&&(Mt=this.tokenizer.def(xe))){xe=xe.substring(Mt.raw.length),this.tokens.links[Mt.tag]||(this.tokens.links[Mt.tag]={href:Mt.href,title:Mt.title});continue}if(Mt=this.tokenizer.table(xe)){xe=xe.substring(Mt.raw.length),Ye.push(Mt);continue}if(Mt=this.tokenizer.lheading(xe)){xe=xe.substring(Mt.raw.length),Ye.push(Mt);continue}if(mt&&(Mt=this.tokenizer.paragraph(xe))){xe=xe.substring(Mt.raw.length),Ye.push(Mt);continue}if(Mt=this.tokenizer.text(xe)){xe=xe.substring(Mt.raw.length),St=Ye[Ye.length-1],St&&St.type==="text"?(St.raw+=`
|
|
|
`+Mt.raw,St.text+=`
|
|
|
`+Mt.text):Ye.push(Mt);continue}if(xe){var Zr="Infinite loop on byte: "+xe.charCodeAt(0);if(this.options.silent){console.error(Zr);break}else throw new Error(Zr)}}return Ye},Oe.inline=function(xe){var Ye,mt,Mt,Be,Ir,St,Zr=xe.length;for(Ye=0;Ye<Zr;Ye++)switch(St=xe[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:[]},Be=St.header.length,mt=0;mt<Be;mt++)St.tokens.header[mt]=[],this.inlineTokens(St.header[mt],St.tokens.header[mt]);for(Be=St.cells.length,mt=0;mt<Be;mt++)for(Ir=St.cells[mt],St.tokens.cells[mt]=[],Mt=0;Mt<Ir.length;Mt++)St.tokens.cells[mt][Mt]=[],this.inlineTokens(Ir[Mt],St.tokens.cells[mt][Mt]);break}case"blockquote":{this.inline(St.tokens);break}case"list":{for(Be=St.items.length,mt=0;mt<Be;mt++)this.inline(St.items[mt].tokens);break}}return xe},Oe.inlineTokens=function(xe,Ye,mt,Mt){Ye===void 0&&(Ye=[]),mt===void 0&&(mt=!1),Mt===void 0&&(Mt=!1);var Be,Ir,St=xe,Zr,Yr,xr;if(this.tokens.links){var Mr=Object.keys(this.tokens.links);if(Mr.length>0)for(;(Zr=this.tokenizer.rules.inline.reflinkSearch.exec(St))!=null;)Mr.includes(Zr[0].slice(Zr[0].lastIndexOf("[")+1,-1))&&(St=St.slice(0,Zr.index)+"["+Ut("a",Zr[0].length-2)+"]"+St.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;(Zr=this.tokenizer.rules.inline.blockSkip.exec(St))!=null;)St=St.slice(0,Zr.index)+"["+Ut("a",Zr[0].length-2)+"]"+St.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);for(;(Zr=this.tokenizer.rules.inline.escapedEmSt.exec(St))!=null;)St=St.slice(0,Zr.index)+"++"+St.slice(this.tokenizer.rules.inline.escapedEmSt.lastIndex);for(;xe;){if(Yr||(xr=""),Yr=!1,Be=this.tokenizer.escape(xe)){xe=xe.substring(Be.raw.length),Ye.push(Be);continue}if(Be=this.tokenizer.tag(xe,mt,Mt)){xe=xe.substring(Be.raw.length),mt=Be.inLink,Mt=Be.inRawBlock;var mr=Ye[Ye.length-1];mr&&Be.type==="text"&&mr.type==="text"?(mr.raw+=Be.raw,mr.text+=Be.text):Ye.push(Be);continue}if(Be=this.tokenizer.link(xe)){xe=xe.substring(Be.raw.length),Be.type==="link"&&(Be.tokens=this.inlineTokens(Be.text,[],!0,Mt)),Ye.push(Be);continue}if(Be=this.tokenizer.reflink(xe,this.tokens.links)){xe=xe.substring(Be.raw.length);var Nr=Ye[Ye.length-1];Be.type==="link"?(Be.tokens=this.inlineTokens(Be.text,[],!0,Mt),Ye.push(Be)):Nr&&Be.type==="text"&&Nr.type==="text"?(Nr.raw+=Be.raw,Nr.text+=Be.text):Ye.push(Be);continue}if(Be=this.tokenizer.emStrong(xe,St,xr)){xe=xe.substring(Be.raw.length),Be.tokens=this.inlineTokens(Be.text,[],mt,Mt),Ye.push(Be);continue}if(Be=this.tokenizer.codespan(xe)){xe=xe.substring(Be.raw.length),Ye.push(Be);continue}if(Be=this.tokenizer.br(xe)){xe=xe.substring(Be.raw.length),Ye.push(Be);continue}if(Be=this.tokenizer.del(xe)){xe=xe.substring(Be.raw.length),Be.tokens=this.inlineTokens(Be.text,[],mt,Mt),Ye.push(Be);continue}if(Be=this.tokenizer.autolink(xe,bt)){xe=xe.substring(Be.raw.length),Ye.push(Be);continue}if(!mt&&(Be=this.tokenizer.url(xe,bt))){xe=xe.substring(Be.raw.length),Ye.push(Be);continue}if(Be=this.tokenizer.inlineText(xe,Mt,at)){xe=xe.substring(Be.raw.length),Be.raw.slice(-1)!=="_"&&(xr=Be.raw.slice(-1)),Yr=!0,Ir=Ye[Ye.length-1],Ir&&Ir.type==="text"?(Ir.raw+=Be.raw,Ir.text+=Be.text):Ye.push(Be);continue}if(xe){var nn="Infinite loop on byte: "+xe.charCodeAt(0);if(this.options.silent){console.error(nn);break}else throw new Error(nn)}}return Ye},e(wt,null,[{key:"rules",get:function(){return{block:Ge,inline:Tt}}}]),wt}(),tt=c.exports.defaults,Ue=ee.cleanUrl,ye=ee.escape,Ce=function(){function wt(xt){this.options=xt||tt}var Oe=wt.prototype;return Oe.code=function(xe,Ye,mt){var Mt=(Ye||"").match(/\S*/)[0];if(this.options.highlight){var Be=this.options.highlight(xe,Mt);Be!=null&&Be!==xe&&(mt=!0,xe=Be)}return xe=xe.replace(/\n$/,"")+`
|
|
|
`,Mt?'<pre><code class="'+this.options.langPrefix+ye(Mt,!0)+'">'+(mt?xe:ye(xe,!0))+`</code></pre>
|
|
|
`:"<pre><code>"+(mt?xe:ye(xe,!0))+`</code></pre>
|
|
|
`},Oe.blockquote=function(xe){return`<blockquote>
|
|
|
`+xe+`</blockquote>
|
|
|
`},Oe.html=function(xe){return xe},Oe.heading=function(xe,Ye,mt,Mt){return this.options.headerIds?"<h"+Ye+' id="'+this.options.headerPrefix+Mt.slug(mt)+'">'+xe+"</h"+Ye+`>
|
|
|
`:"<h"+Ye+">"+xe+"</h"+Ye+`>
|
|
|
`},Oe.hr=function(){return this.options.xhtml?`<hr/>
|
|
|
`:`<hr>
|
|
|
`},Oe.list=function(xe,Ye,mt){var Mt=Ye?"ol":"ul",Be=Ye&&mt!==1?' start="'+mt+'"':"";return"<"+Mt+Be+`>
|
|
|
`+xe+"</"+Mt+`>
|
|
|
`},Oe.listitem=function(xe){return"<li>"+xe+`</li>
|
|
|
`},Oe.checkbox=function(xe){return"<input "+(xe?'checked="" ':"")+'disabled="" type="checkbox"'+(this.options.xhtml?" /":"")+"> "},Oe.paragraph=function(xe){return"<p>"+xe+`</p>
|
|
|
`},Oe.table=function(xe,Ye){return Ye&&(Ye="<tbody>"+Ye+"</tbody>"),`<table>
|
|
|
<thead>
|
|
|
`+xe+`</thead>
|
|
|
`+Ye+`</table>
|
|
|
`},Oe.tablerow=function(xe){return`<tr>
|
|
|
`+xe+`</tr>
|
|
|
`},Oe.tablecell=function(xe,Ye){var mt=Ye.header?"th":"td",Mt=Ye.align?"<"+mt+' align="'+Ye.align+'">':"<"+mt+">";return Mt+xe+"</"+mt+`>
|
|
|
`},Oe.strong=function(xe){return"<strong>"+xe+"</strong>"},Oe.em=function(xe){return"<em>"+xe+"</em>"},Oe.codespan=function(xe){return"<code>"+xe+"</code>"},Oe.br=function(){return this.options.xhtml?"<br/>":"<br>"},Oe.del=function(xe){return"<del>"+xe+"</del>"},Oe.link=function(xe,Ye,mt){if(xe=Ue(this.options.sanitize,this.options.baseUrl,xe),xe===null)return mt;var Mt='<a href="'+ye(xe)+'"';return Ye&&(Mt+=' title="'+Ye+'"'),Mt+=">"+mt+"</a>",Mt},Oe.image=function(xe,Ye,mt){if(xe=Ue(this.options.sanitize,this.options.baseUrl,xe),xe===null)return mt;var Mt='<img src="'+xe+'" alt="'+mt+'"';return Ye&&(Mt+=' title="'+Ye+'"'),Mt+=this.options.xhtml?"/>":">",Mt},Oe.text=function(xe){return xe},wt}(),Me=function(){function wt(){}var Oe=wt.prototype;return Oe.strong=function(xe){return xe},Oe.em=function(xe){return xe},Oe.codespan=function(xe){return xe},Oe.del=function(xe){return xe},Oe.html=function(xe){return xe},Oe.text=function(xe){return xe},Oe.link=function(xe,Ye,mt){return""+mt},Oe.image=function(xe,Ye,mt){return""+mt},Oe.br=function(){return""},wt}(),je=function(){function wt(){this.seen={}}var Oe=wt.prototype;return Oe.serialize=function(xe){return xe.toLowerCase().trim().replace(/<[!\/a-z].*?>/ig,"").replace(/[\u2000-\u206F\u2E00-\u2E7F\\'!"#$%&()*+,./:;<=>?@[\]^`{|}~]/g,"").replace(/\s/g,"-")},Oe.getNextSafeSlug=function(xe,Ye){var mt=xe,Mt=0;if(this.seen.hasOwnProperty(mt)){Mt=this.seen[xe];do Mt++,mt=xe+"-"+Mt;while(this.seen.hasOwnProperty(mt))}return Ye||(this.seen[xe]=Mt,this.seen[mt]=0),mt},Oe.slug=function(xe,Ye){Ye===void 0&&(Ye={});var mt=this.serialize(xe);return this.getNextSafeSlug(mt,Ye.dryrun)},wt}(),We=Ce,nt=Me,lt=je,Vt=c.exports.defaults,Ht=ee.unescape,Pe=function(){function wt(xt){this.options=xt||Vt,this.options.renderer=this.options.renderer||new We,this.renderer=this.options.renderer,this.renderer.options=this.options,this.textRenderer=new nt,this.slugger=new lt}wt.parse=function(xe,Ye){var mt=new wt(Ye);return mt.parse(xe)},wt.parseInline=function(xe,Ye){var mt=new wt(Ye);return mt.parseInline(xe)};var Oe=wt.prototype;return Oe.parse=function(xe,Ye){Ye===void 0&&(Ye=!0);var mt="",Mt,Be,Ir,St,Zr,Yr,xr,Mr,mr,Nr,nn,on,or,Rt,_t,vt,$t,Sr,vr=xe.length;for(Mt=0;Mt<vr;Mt++)switch(Nr=xe[Mt],Nr.type){case"space":continue;case"hr":{mt+=this.renderer.hr();continue}case"heading":{mt+=this.renderer.heading(this.parseInline(Nr.tokens),Nr.depth,Ht(this.parseInline(Nr.tokens,this.textRenderer)),this.slugger);continue}case"code":{mt+=this.renderer.code(Nr.text,Nr.lang,Nr.escaped);continue}case"table":{for(Mr="",xr="",St=Nr.header.length,Be=0;Be<St;Be++)xr+=this.renderer.tablecell(this.parseInline(Nr.tokens.header[Be]),{header:!0,align:Nr.align[Be]});for(Mr+=this.renderer.tablerow(xr),mr="",St=Nr.cells.length,Be=0;Be<St;Be++){for(Yr=Nr.tokens.cells[Be],xr="",Zr=Yr.length,Ir=0;Ir<Zr;Ir++)xr+=this.renderer.tablecell(this.parseInline(Yr[Ir]),{header:!1,align:Nr.align[Ir]});mr+=this.renderer.tablerow(xr)}mt+=this.renderer.table(Mr,mr);continue}case"blockquote":{mr=this.parse(Nr.tokens),mt+=this.renderer.blockquote(mr);continue}case"list":{for(nn=Nr.ordered,on=Nr.start,or=Nr.loose,St=Nr.items.length,mr="",Be=0;Be<St;Be++)_t=Nr.items[Be],vt=_t.checked,$t=_t.task,Rt="",_t.task&&(Sr=this.renderer.checkbox(vt),or?_t.tokens.length>0&&_t.tokens[0].type==="text"?(_t.tokens[0].text=Sr+" "+_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=Sr+" "+_t.tokens[0].tokens[0].text)):_t.tokens.unshift({type:"text",text:Sr}):Rt+=Sr),Rt+=this.parse(_t.tokens,or),mr+=this.renderer.listitem(Rt,$t,vt);mt+=this.renderer.list(mr,nn,on);continue}case"html":{mt+=this.renderer.html(Nr.text);continue}case"paragraph":{mt+=this.renderer.paragraph(this.parseInline(Nr.tokens));continue}case"text":{for(mr=Nr.tokens?this.parseInline(Nr.tokens):Nr.text;Mt+1<vr&&xe[Mt+1].type==="text";)Nr=xe[++Mt],mr+=`
|
|
|
`+(Nr.tokens?this.parseInline(Nr.tokens):Nr.text);mt+=Ye?this.renderer.paragraph(mr):mr;continue}default:{var Qr='Token with "'+Nr.type+'" type was not found.';if(this.options.silent){console.error(Qr);return}else throw new Error(Qr)}}return mt},Oe.parseInline=function(xe,Ye){Ye=Ye||this.renderer;var mt="",Mt,Be,Ir=xe.length;for(Mt=0;Mt<Ir;Mt++)switch(Be=xe[Mt],Be.type){case"escape":{mt+=Ye.text(Be.text);break}case"html":{mt+=Ye.html(Be.text);break}case"link":{mt+=Ye.link(Be.href,Be.title,this.parseInline(Be.tokens,Ye));break}case"image":{mt+=Ye.image(Be.href,Be.title,Be.text);break}case"strong":{mt+=Ye.strong(this.parseInline(Be.tokens,Ye));break}case"em":{mt+=Ye.em(this.parseInline(Be.tokens,Ye));break}case"codespan":{mt+=Ye.codespan(Be.text);break}case"br":{mt+=Ye.br();break}case"del":{mt+=Ye.del(this.parseInline(Be.tokens,Ye));break}case"text":{mt+=Ye.text(Be.text);break}default:{var St='Token with "'+Be.type+'" type was not found.';if(this.options.silent){console.error(St);return}else throw new Error(St)}}return mt},wt}(),et=dt,Kt=Pe,kt=ke,Zt=Ce,Nt=Me,tr=je,Wt=ee.merge,Fe=ee.checkSanitizeDeprecation,fe=ee.escape,pe=c.exports.getDefaults,Pt=c.exports.changeDefaults,Ie=c.exports.defaults;function ct(wt,Oe,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 Oe=="function"&&(xt=Oe,Oe=null),Oe=Wt({},ct.defaults,Oe||{}),Fe(Oe),xt){var xe=Oe.highlight,Ye;try{Ye=et.lex(wt,Oe)}catch(Ir){return xt(Ir)}var mt=function(St){var Zr;if(!St)try{Oe.walkTokens&&ct.walkTokens(Ye,Oe.walkTokens),Zr=Kt.parse(Ye,Oe)}catch(Yr){St=Yr}return Oe.highlight=xe,St?xt(St):xt(null,Zr)};if(!xe||xe.length<3||(delete Oe.highlight,!Ye.length))return mt();var Mt=0;ct.walkTokens(Ye,function(Ir){Ir.type==="code"&&(Mt++,setTimeout(function(){xe(Ir.text,Ir.lang,function(St,Zr){if(St)return mt(St);Zr!=null&&Zr!==Ir.text&&(Ir.text=Zr,Ir.escaped=!0),Mt--,Mt===0&&mt()})},0))}),Mt===0&&mt();return}try{var Be=et.lex(wt,Oe);return Oe.walkTokens&&ct.walkTokens(Be,Oe.walkTokens),Kt.parse(Be,Oe)}catch(Ir){if(Ir.message+=`
|
|
|
Please report this to https://github.com/markedjs/marked.`,Oe.silent)return"<p>An error occurred:</p><pre>"+fe(Ir.message+"",!0)+"</pre>";throw Ir}}ct.options=ct.setOptions=function(wt){return Wt(ct.defaults,wt),Pt(ct.defaults),ct},ct.getDefaults=pe,ct.defaults=Ie,ct.use=function(wt){var Oe=Wt({},wt);if(wt.renderer&&function(){var xe=ct.defaults.renderer||new Zt,Ye=function(Be){var Ir=xe[Be];xe[Be]=function(){for(var St=arguments.length,Zr=new Array(St),Yr=0;Yr<St;Yr++)Zr[Yr]=arguments[Yr];var xr=wt.renderer[Be].apply(xe,Zr);return xr===!1&&(xr=Ir.apply(xe,Zr)),xr}};for(var mt in wt.renderer)Ye(mt);Oe.renderer=xe}(),wt.tokenizer&&function(){var xe=ct.defaults.tokenizer||new kt,Ye=function(Be){var Ir=xe[Be];xe[Be]=function(){for(var St=arguments.length,Zr=new Array(St),Yr=0;Yr<St;Yr++)Zr[Yr]=arguments[Yr];var xr=wt.tokenizer[Be].apply(xe,Zr);return xr===!1&&(xr=Ir.apply(xe,Zr)),xr}};for(var mt in wt.tokenizer)Ye(mt);Oe.tokenizer=xe}(),wt.walkTokens){var xt=ct.defaults.walkTokens;Oe.walkTokens=function(xe){wt.walkTokens(xe),xt&&xt(xe)}}ct.setOptions(Oe)},ct.walkTokens=function(wt,Oe){for(var xt=l(wt),xe;!(xe=xt()).done;){var Ye=xe.value;switch(Oe(Ye),Ye.type){case"table":{for(var mt=l(Ye.tokens.header),Mt;!(Mt=mt()).done;){var Be=Mt.value;ct.walkTokens(Be,Oe)}for(var Ir=l(Ye.tokens.cells),St;!(St=Ir()).done;)for(var Zr=St.value,Yr=l(Zr),xr;!(xr=Yr()).done;){var Mr=xr.value;ct.walkTokens(Mr,Oe)}break}case"list":{ct.walkTokens(Ye.items,Oe);break}default:Ye.tokens&&ct.walkTokens(Ye.tokens,Oe)}}},ct.parseInline=function(wt,Oe){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");Oe=Wt({},ct.defaults,Oe||{}),Fe(Oe);try{var xt=et.lexInline(wt,Oe);return Oe.walkTokens&&ct.walkTokens(xt,Oe.walkTokens),Kt.parseInline(xt,Oe)}catch(xe){if(xe.message+=`
|
|
|
Please report this to https://github.com/markedjs/marked.`,Oe.silent)return"<p>An error occurred:</p><pre>"+fe(xe.message+"",!0)+"</pre>";throw xe}},ct.Parser=Kt,ct.parser=Kt.parse,ct.Renderer=Zt,ct.TextRenderer=Nt,ct.Lexer=et,ct.lexer=et.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=W=>l[W];function f(W,se){if(se){if(v.test(W))return W.replace(e,c)}else if(r.test(W))return W.replace(i,c);return W}const o=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig;function h(W){return W.replace(o,(se,ie)=>(ie=ie.toLowerCase(),ie==="colon"?":":ie.charAt(0)==="#"?ie.charAt(1)==="x"?String.fromCharCode(parseInt(ie.substring(2),16)):String.fromCharCode(+ie.substring(1)):""))}const u=/(^|[^\[])\^/g;function a(W,se){W=W.source||W,se=se||"";const ie={replace:(le,q)=>(q=q.source||q,q=q.replace(u,"$1"),W=W.replace(le,q),ie),getRegex:()=>new RegExp(W,se)};return ie}const x=/[^\w:]/g,p=/^$|^[a-z][a-z0-9+.-]*:|^[?#]/i;function y(W,se,ie){if(W){let le;try{le=decodeURIComponent(h(ie)).replace(x,"").toLowerCase()}catch(q){return null}if(le.indexOf("javascript:")===0||le.indexOf("vbscript:")===0||le.indexOf("data:")===0)return null}se&&!p.test(ie)&&(ie=R(se,ie));try{ie=encodeURI(ie).replace(/%25/g,"%")}catch(le){return null}return ie}const _={},b=/^[^:]+:\/*[^/]*$/,A=/^([^:]+:)[\s\S]*$/,k=/^([^:]+:\/*[^/]*)[\s\S]*$/;function R(W,se){_[" "+W]||(b.test(W)?_[" "+W]=W+"/":_[" "+W]=B(W,"/",!0)),W=_[" "+W];const ie=W.indexOf(":")===-1;return se.substring(0,2)==="//"?ie?se:W.replace(A,"$1")+se:se.charAt(0)==="/"?ie?se:W.replace(k,"$1")+se:W+se}const C={exec:function(){}};function D(W){let se=1,ie,le;for(;se<arguments.length;se++){ie=arguments[se];for(le in ie)Object.prototype.hasOwnProperty.call(ie,le)&&(W[le]=ie[le])}return W}function M(W,se){const ie=W.replace(/\|/g,(J,V,ue)=>{let ee=!1,Q=V;for(;--Q>=0&&ue[Q]==="\\";)ee=!ee;return ee?"|":" |"}),le=ie.split(/ \|/);let q=0;if(le.length>se)le.splice(se);else for(;le.length<se;)le.push("");for(;q<le.length;q++)le[q]=le[q].trim().replace(/\\\|/g,"|");return le}function B(W,se,ie){const le=W.length;if(le===0)return"";let q=0;for(;q<le;){const J=W.charAt(le-q-1);if(J===se&&!ie)q++;else if(J!==se&&ie)q++;else break}return W.substr(0,le-q)}function N(W,se){if(W.indexOf(se[1])===-1)return-1;const ie=W.length;let le=0,q=0;for(;q<ie;q++)if(W[q]==="\\")q++;else if(W[q]===se[0])le++;else if(W[q]===se[1]&&(le--,le<0))return q;return-1}function K(W){W&&W.sanitize&&!W.silent&&console.warn("marked(): sanitize and sanitizer parameters are deprecated since version 0.7.0, should not be used and will be removed in the future. Read more here: https://marked.js.org/#/USING_ADVANCED.md#options")}function G(W,se){if(se<1)return"";let ie="";for(;se>1;)se&1&&(ie+=W),se>>=1,W+=W;return ie+W}d.exports={escape:f,unescape:h,edit:a,cleanUrl:y,resolveUrl:R,noopTest:C,merge:D,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 A=f._ff,k=f._gg,R=f._hh,C=f._ii,b=0;b<u.length;b+=16){var D=x,M=p,B=y,N=_;x=A(x,p,y,_,u[b+0],7,-680876936),_=A(_,x,p,y,u[b+1],12,-389564586),y=A(y,_,x,p,u[b+2],17,606105819),p=A(p,y,_,x,u[b+3],22,-1044525330),x=A(x,p,y,_,u[b+4],7,-176418897),_=A(_,x,p,y,u[b+5],12,1200080426),y=A(y,_,x,p,u[b+6],17,-1473231341),p=A(p,y,_,x,u[b+7],22,-45705983),x=A(x,p,y,_,u[b+8],7,1770035416),_=A(_,x,p,y,u[b+9],12,-1958414417),y=A(y,_,x,p,u[b+10],17,-42063),p=A(p,y,_,x,u[b+11],22,-1990404162),x=A(x,p,y,_,u[b+12],7,1804603682),_=A(_,x,p,y,u[b+13],12,-40341101),y=A(y,_,x,p,u[b+14],17,-1502002290),p=A(p,y,_,x,u[b+15],22,1236535329),x=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=C(x,p,y,_,u[b+0],6,-198630844),_=C(_,x,p,y,u[b+7],10,1126891415),y=C(y,_,x,p,u[b+14],15,-1416354905),p=C(p,y,_,x,u[b+5],21,-57434055),x=C(x,p,y,_,u[b+12],6,1700485571),_=C(_,x,p,y,u[b+3],10,-1894986606),y=C(y,_,x,p,u[b+10],15,-1051523),p=C(p,y,_,x,u[b+1],21,-2054922799),x=C(x,p,y,_,u[b+8],6,1873313359),_=C(_,x,p,y,u[b+15],10,-30611744),y=C(y,_,x,p,u[b+6],15,-1560198380),p=C(p,y,_,x,u[b+13],21,1309151649),x=C(x,p,y,_,u[b+4],6,-145523070),_=C(_,x,p,y,u[b+11],10,-1120210379),y=C(y,_,x,p,u[b+2],15,718787259),p=C(p,y,_,x,u[b+9],21,-343485551),x=x+D>>>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(A){return A instanceof y?A:new y(function(k){k(A)})}return new(y||(y=Promise))(function(A,k){function R(M){try{D(_.next(M))}catch(B){k(B)}}function C(M){try{D(_.throw(M))}catch(B){k(B)}}function D(M){M.done?A(M.value):b(M.value).then(R,C)}D((_=_.apply(x,p||[])).next())})};class f extends i.JT{constructor(p,y="",_="",b=!0,A){super(),this._onDidChange=this._register(new r.Q5),this.onDidChange=this._onDidChange.event,this._enabled=!0,this._id=p,this._label=y,this._cssClass=_,this._enabled=b,this._actionCallback=A}get id(){return this._id}get label(){return this._label}set label(p){this._setLabel(p)}_setLabel(p){this._label!==p&&(this._label=p,this._onDidChange.fire({label:p}))}get tooltip(){return this._tooltip||""}set tooltip(p){this._setTooltip(p)}_setTooltip(p){this._tooltip!==p&&(this._tooltip=p,this._onDidChange.fire({tooltip:p}))}get class(){return this._cssClass}set class(p){this._setClass(p)}_setClass(p){this._cssClass!==p&&(this._cssClass=p,this._onDidChange.fire({class:p}))}get enabled(){return this._enabled}set enabled(p){this._setEnabled(p)}_setEnabled(p){this._enabled!==p&&(this._enabled=p,this._onDidChange.fire({enabled:p}))}get checked(){return this._checked}set checked(p){this._setChecked(p)}_setChecked(p){this._checked!==p&&(this._checked=p,this._onDidChange.fire({checked:p}))}run(p,y){return c(this,void 0,void 0,function*(){this._actionCallback&&(yield this._actionCallback(p))})}}class o extends i.JT{constructor(){super(...arguments),this._onBeforeRun=this._register(new r.Q5),this.onBeforeRun=this._onBeforeRun.event,this._onDidRun=this._register(new r.Q5),this.onDidRun=this._onDidRun.event}run(p,y){return c(this,void 0,void 0,function*(){if(!p.enabled)return;this._onBeforeRun.fire({action:p});let _;try{yield this.runAction(p,y)}catch(b){_=b}this._onDidRun.fire({action:p,error:_})})}runAction(p,y){return c(this,void 0,void 0,function*(){yield p.run(y)})}}class h extends f{constructor(p){super(h.ID,p,p?"separator text":"separator"),this.checked=!1,this.enabled=!1}}h.ID="vs.actions.separator";class u{constructor(p,y,_,b){this.tooltip="",this.enabled=!0,this.checked=!1,this.id=p,this.label=y,this.class=b,this._actions=_}get actions(){return this._actions}dispose(){}run(){return c(this,void 0,void 0,function*(){})}}class a extends f{constructor(){super(a.ID,l.N("submenu.empty","(empty)"),void 0,!1)}}a.ID="vs.actions.empty"},76068:function(d,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 A=x.exec(b.id);if(!A)return p(h.error);let[,k,R]=A;const C=["codicon","codicon-"+k];return R&&C.push("codicon-modifier-"+R.substr(1)),C}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 A=y.stacktrace||y.stack;return{$isError:!0,name:_,message:b,stack:A}}return y}const o="Canceled";function h(y){return y instanceof Error&&y.name===o&&y.message===o}function u(){const y=new Error(o);return y.name=y.message,y}function a(y){return y?new Error(`Illegal argument: ${y}`):new Error("Illegal argument")}function x(y){return y?new Error(`Illegal state: ${y}`):new Error("Illegal state")}class p extends Error{constructor(_){super("NotSupported"),_&&(this.message=_)}}},4348:function(d,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 A(ue){return(ee,Q=null,ce)=>{let z=!1,$;return $=ue(ae=>{if(!z)return $?$.dispose():z=!0,ee.call(Q,ae)},null,ce),z&&$.dispose(),$}}b.once=A;function k(ue,ee){return N((Q,ce=null,z)=>ue($=>Q.call(ce,ee($)),null,z))}b.map=k;function R(ue,ee){return N((Q,ce=null,z)=>ue($=>{ee($),Q.call(ce,$)},null,z))}b.forEach=R;function C(ue,ee){return N((Q,ce=null,z)=>ue($=>ee($)&&Q.call(ce,$),null,z))}b.filter=C;function D(ue){return ue}b.signal=D;function M(...ue){return(ee,Q=null,ce)=>(0,i.F8)(...ue.map(z=>z($=>ee.call(Q,$),null,ce)))}b.any=M;function B(ue,ee,Q){let ce=Q;return k(ue,z=>(ce=ee(ce,z),ce))}b.reduce=B;function N(ue){let ee;const Q=new a({onFirstListenerAdd(){ee=ue(Q.fire,Q)},onLastListenerRemove(){ee.dispose()}});return Q.event}function K(ue,ee,Q=100,ce=!1,z){let $,ae,_e,De=0;const ke=new a({leakWarningThreshold:z,onFirstListenerAdd(){$=ue(He=>{De++,ae=ee(ae,He),ce&&!_e&&(ke.fire(ae),ae=void 0),clearTimeout(_e),_e=setTimeout(()=>{const $e=ae;ae=void 0,_e=void 0,(!ce||De>1)&&ke.fire($e),De=0},Q)})},onLastListenerRemove(){$.dispose()}});return ke.event}b.debounce=K;function G(ue,ee=(Q,ce)=>Q===ce){let Q=!0,ce;return C(ue,z=>{const $=Q||!ee(z,ce);return Q=!1,ce=z,$})}b.latch=G;function W(ue,ee){return[b.filter(ue,ee),b.filter(ue,Q=>!ee(Q))]}b.split=W;function se(ue,ee=!1,Q=[]){let ce=Q.slice(),z=ue(_e=>{ce?ce.push(_e):ae.fire(_e)});const $=()=>{ce&&ce.forEach(_e=>ae.fire(_e)),ce=null},ae=new a({onFirstListenerAdd(){z||(z=ue(_e=>ae.fire(_e)))},onFirstListenerDidAdd(){ce&&(ee?setTimeout($):$())},onLastListenerRemove(){z&&z.dispose(),z=null}});return ae.event}b.buffer=se;class ie{constructor(ee){this.event=ee}map(ee){return new ie(k(this.event,ee))}forEach(ee){return new ie(R(this.event,ee))}filter(ee){return new ie(C(this.event,ee))}reduce(ee,Q){return new ie(B(this.event,ee,Q))}latch(){return new ie(G(this.event))}debounce(ee,Q=100,ce=!1,z){return new ie(K(this.event,ee,Q,ce,z))}on(ee,Q,ce){return this.event(ee,Q,ce)}once(ee,Q,ce){return A(this.event)(ee,Q,ce)}}function le(ue){return new ie(ue)}b.chain=le;function q(ue,ee,Q=ce=>ce){const ce=(..._e)=>ae.fire(Q(..._e)),z=()=>ue.on(ee,ce),$=()=>ue.removeListener(ee,ce),ae=new a({onFirstListenerAdd:z,onLastListenerRemove:$});return ae.event}b.fromNodeEventEmitter=q;function J(ue,ee,Q=ce=>ce){const ce=(..._e)=>ae.fire(Q(..._e)),z=()=>ue.addEventListener(ee,ce),$=()=>ue.removeEventListener(ee,ce),ae=new a({onFirstListenerAdd:z,onLastListenerRemove:$});return ae.event}b.fromDOMEventEmitter=J;function V(ue){return new Promise(ee=>A(ue)(ee))}b.toPromise=V})(f||(f={}));class o{constructor(A){this._listenerCount=0,this._invocationCount=0,this._elapsedOverall=0,this._name=`${A}_${o._idPool++}`}start(A){this._stopWatch=new c.G(!0),this._listenerCount=A}stop(){if(this._stopWatch){const A=this._stopWatch.elapsed();this._elapsedOverall+=A,this._invocationCount+=1,console.info(`did FIRE ${this._name}: elapsed_ms: ${A.toFixed(5)}, listener: ${this._listenerCount} (elapsed_overall: ${this._elapsedOverall.toFixed(2)}, invocations: ${this._invocationCount})`),this._stopWatch=void 0}}}o._idPool=0;let h=-1;class u{constructor(A,k=Math.random().toString(18).slice(2,5)){this.customThreshold=A,this.name=k,this._warnCountdown=0}dispose(){this._stacks&&this._stacks.clear()}check(A){let k=h;if(typeof this.customThreshold=="number"&&(k=this.customThreshold),k<=0||A<k)return;this._stacks||(this._stacks=new Map);const R=new Error().stack.split(`
|
|
|
`).slice(3).join(`
|
|
|
`),C=this._stacks.get(R)||0;if(this._stacks.set(R,C+1),this._warnCountdown-=1,this._warnCountdown<=0){this._warnCountdown=k*.5;let D,M=0;for(const[B,N]of this._stacks)(!D||M<N)&&(D=B,M=N);console.warn(`[${this.name}] potential listener LEAK detected, having ${A} listeners already. MOST frequent listener (${M}):`),console.warn(D)}return()=>{const D=this._stacks.get(R)||0;this._stacks.set(R,D-1)}}}class a{constructor(A){var k;this._disposed=!1,this._options=A,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=(A,k,R)=>{var C;this._listeners||(this._listeners=new l.S);const D=this._listeners.isEmpty();D&&this._options&&this._options.onFirstListenerAdd&&this._options.onFirstListenerAdd(this);const M=this._listeners.push(k?[A,k]:A);D&&this._options&&this._options.onFirstListenerDidAdd&&this._options.onFirstListenerDidAdd(this),this._options&&this._options.onListenerDidAdd&&this._options.onListenerDidAdd(this,A,k);const B=(C=this._leakageMon)===null||C===void 0?void 0:C.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(A){var k,R;if(this._listeners){this._deliveryQueue||(this._deliveryQueue=new l.S);for(let C of this._listeners)this._deliveryQueue.push([C,A]);for((k=this._perfMon)===null||k===void 0||k.start(this._deliveryQueue.size);this._deliveryQueue.size>0;){const[C,D]=this._deliveryQueue.shift();try{typeof C=="function"?C.call(void 0,D):C[0].call(C[1],D)}catch(M){(0,r.dL)(M)}}(R=this._perfMon)===null||R===void 0||R.stop()}}dispose(){var A,k,R,C,D;this._disposed||(this._disposed=!0,(A=this._listeners)===null||A===void 0||A.clear(),(k=this._deliveryQueue)===null||k===void 0||k.clear(),(C=(R=this._options)===null||R===void 0?void 0:R.onLastListenerRemove)===null||C===void 0||C.call(R),(D=this._leakageMon)===null||D===void 0||D.dispose())}}class x extends a{constructor(A){super(A),this._isPaused=0,this._eventQueue=new l.S,this._mergeFn=A==null?void 0:A.merge}pause(){this._isPaused++}resume(){if(this._isPaused!==0&&--this._isPaused===0)if(this._mergeFn){const A=Array.from(this._eventQueue);this._eventQueue.clear(),super.fire(this._mergeFn(A))}else for(;!this._isPaused&&this._eventQueue.size!==0;)super.fire(this._eventQueue.shift())}fire(A){this._listeners&&(this._isPaused!==0?this._eventQueue.push(A):super.fire(A))}}class p extends x{constructor(A){var k;super(A),this._delay=(k=A.delay)!==null&&k!==void 0?k:100}fire(A){this._handle||(this.pause(),this._handle=setTimeout(()=>{this._handle=void 0,this.resume()},this._delay)),super.fire(A)}}class y{constructor(){this.buffers=[]}wrapEvent(A){return(k,R,C)=>A(D=>{const M=this.buffers[this.buffers.length-1];M?M.push(()=>k.call(R,D)):k.call(R,D)},void 0,C)}bufferEvents(A){const k=[];this.buffers.push(k);const R=A();return this.buffers.pop(),k.forEach(C=>C()),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(A){this.inputEvent=A,this.listening&&(this.inputEventListener.dispose(),this.inputEventListener=A(this.emitter.fire,this.emitter))}dispose(){this.inputEventListener.dispose(),this.emitter.dispose()}}},17845:function(d,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*A(M){for(const B of M)for(const N of B)yield N}i.concatNested=A;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 C(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 W=K.next();if(W.done)return[N,i.empty()];N.push(W.value)}return[N,{[Symbol.iterator](){return K}}]}i.consume=C;function D(M,B,N=(K,G)=>K===G){const K=M[Symbol.iterator](),G=B[Symbol.iterator]();for(;;){const W=K.next(),se=G.next();if(W.done!==se.done)return!1;if(W.done)return!0;if(!N(W.value,se.value))return!1}}i.equals=D})(r||(r={}))},69323:function(d,v,e){"use strict";e.d(v,{B9:function(){return _},F8:function(){return b},JT:function(){return R},Jz:function(){return D},OF:function(){return A},SL:function(){return k},Wf:function(){return y},XK:function(){return C},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=A(()=>_(M));return a(M,B),B}function A(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 C{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 D{constructor(B){this.object=B}dispose(){}}},34502:function(d,v,e){"use strict";e.d(v,{S:function(){return i}});class r{constructor(c){this.element=c,this.next=r.Undefined,this.prev=r.Undefined}}r.Undefined=new r(void 0);class i{constructor(){this._first=r.Undefined,this._last=r.Undefined,this._size=0}get size(){return this._size}isEmpty(){return this._first===r.Undefined}clear(){let c=this._first;for(;c!==r.Undefined;){const f=c.next;c.prev=r.Undefined,c.next=r.Undefined,c=f}this._first=r.Undefined,this._last=r.Undefined,this._size=0}unshift(c){return this._insert(c,!1)}push(c){return this._insert(c,!0)}_insert(c,f){const o=new r(c);if(this._first===r.Undefined)this._first=o,this._last=o;else if(f){const u=this._last;this._last=o,o.prev=u,u.next=o}else{const u=this._first;this._first=o,o.next=u,u.prev=o}this._size+=1;let h=!1;return()=>{h||(h=!0,this._remove(o))}}shift(){if(this._first!==r.Undefined){const c=this._first.element;return this._remove(this._first),c}}pop(){if(this._last!==r.Undefined){const c=this._last.element;return this._remove(this._last),c}}_remove(c){if(c.prev!==r.Undefined&&c.next!==r.Undefined){const f=c.prev;f.next=c.next,c.next.prev=f}else c.prev===r.Undefined&&c.next===r.Undefined?(this._first=r.Undefined,this._last=r.Undefined):c.next===r.Undefined?(this._last=this._last.prev,this._last.next=r.Undefined):c.prev===r.Undefined&&(this._first=this._first.next,this._first.prev=r.Undefined);this._size-=1}*[Symbol.iterator](){let c=this._first;for(;c!==r.Undefined;)yield c.element,c=c.next}}},23345:function(d,v,e){"use strict";e.d(v,{$L:function(){return K},ED:function(){return D},IJ:function(){return B},OS:function(){return ie},WE:function(){return W},dz:function(){return M},gn:function(){return G},li:function(){return A},r:function(){return J},tY:function(){return N},xS:function(){return se}});var r=e(97671),i;const l="en";let c=!1,f=!1,o=!1,h=!1,u=!1,a=!1,x=!1,p,y=null,_=null,b;const A=typeof self=="object"?self:typeof e.g=="object"?e.g:{};let k;typeof A.vscode!="undefined"&&typeof A.vscode.process!="undefined"?k=A.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 ue=JSON.parse(V),ee=ue.availableLanguages["*"];p=ue.locale,y=ee||l,_=ue._translationsConfigFile}catch(ue){}u=!0}else console.error("Unable to resolve platform.");let C=0;f?C=1:c?C=3:o&&(C=2);const D=c,M=f,B=o,N=u,K=a,G=x,W=b,se=function(){if(A.setImmediate)return A.setImmediate.bind(A);if(typeof A.postMessage=="function"&&!A.importScripts){let ee=[];A.addEventListener("message",ce=>{if(ce.data&&ce.data.vscodeSetImmediateId)for(let z=0,$=ee.length;z<$;z++){const ae=ee[z];if(ae.id===ce.data.vscodeSetImmediateId){ee.splice(z,1),ae.callback();return}}});let Q=0;return ce=>{const z=++Q;ee.push({id:z,callback:ce}),A.postMessage({vscodeSetImmediateId:z},"*")}}if(typeof(k==null?void 0:k.nextTick)=="function")return k.nextTick.bind(k);const ue=Promise.resolve();return ee=>ue.then(ee)}(),ie=f||x?2:c?1:3;let le=!0,q=!1;function J(){if(!q){q=!0;const V=new Uint8Array(2);V[0]=1,V[1]=2,le=new Uint16Array(V.buffer)[0]===513}return le}},95830:function(d,v,e){"use strict";e.d(v,{G:function(){return l}});var r=e(23345);const i=r.li.performance&&typeof r.li.performance.now=="function";class l{constructor(f){this._highResolution=i&&f,this._startTime=this._now(),this._stopTime=-1}static create(f=!0){return new l(f)}stop(){this._stopTime=this._now()}elapsed(){return this._stopTime!==-1?this._stopTime-this._startTime:this._now()-this._startTime}_now(){return this._highResolution?r.li.performance.now():Date.now()}}},82983:function(d,v,e){"use strict";e.d(v,{$i:function(){return De},C8:function(){return gt},GF:function(){return p},HO:function(){return Q},IO:function(){return y},K7:function(){return Bt},Kw:function(){return Xt},LC:function(){return A},Mh:function(){return se},P1:function(){return ie},PJ:function(){return cr},Qe:function(){return ke},R1:function(){return x},RP:function(){return ae},S6:function(){return Ge},TT:function(){return D},Ut:function(){return z},V8:function(){return k},WU:function(){return l},YK:function(){return q},YU:function(){return c},ZG:function(){return le},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 W},ow:function(){return R},qq:function(){return G},qu:function(){return C},rL:function(){return J},uS:function(){return nr},un:function(){return a},uq:function(){return b},vH:function(){return ee},xe:function(){return $e},zY:function(){return M}});function r(ye){return!ye||typeof ye!="string"?!0:ye.trim().length===0}const i=/{(\d+)}/g;function l(ye,...Ce){return Ce.length===0?ye:ye.replace(i,function(Me,je){const We=parseInt(je,10);return isNaN(We)||We<0||We>=Ce.length?Me:Ce[We]})}function c(ye){return ye.replace(/[<>&]/g,function(Ce){switch(Ce){case"<":return"<";case">":return">";case"&":return"&";default:return Ce}})}function f(ye){return ye.replace(/[\\\{\}\*\+\?\|\^\$\.\[\]\(\)]/g,"\\$&")}function o(ye,Ce=" "){const Me=h(ye,Ce);return u(Me,Ce)}function h(ye,Ce){if(!ye||!Ce)return ye;const Me=Ce.length;if(Me===0||ye.length===0)return ye;let je=0;for(;ye.indexOf(Ce,je)===je;)je=je+Me;return ye.substring(je)}function u(ye,Ce){if(!ye||!Ce)return ye;const Me=Ce.length,je=ye.length;if(Me===0||je===0)return ye;let We=je,nt=-1;for(;nt=ye.lastIndexOf(Ce,We-1),!(nt===-1||nt+Me!==We);){if(nt===0)return"";We=nt}return ye.substring(0,We)}function a(ye){return ye.replace(/[\-\\\{\}\+\?\|\^\$\.\,\[\]\(\)\#\s]/g,"\\$&").replace(/[\*]/g,".*")}function x(ye){return ye.replace(/\*/g,"")}function p(ye,Ce,Me={}){if(!ye)throw new Error("Cannot create regex from empty string");Ce||(ye=f(ye)),Me.wholeWord&&(/\B/.test(ye.charAt(0))||(ye="\\b"+ye),/\B/.test(ye.charAt(ye.length-1))||(ye=ye+"\\b"));let je="";return Me.global&&(je+="g"),Me.matchCase||(je+="i"),Me.multiline&&(je+="m"),Me.unicode&&(je+="u"),new RegExp(ye,je)}function y(ye){return ye.source==="^"||ye.source==="^$"||ye.source==="$"||ye.source==="^\\s*$"?!1:!!(ye.exec("")&&ye.lastIndex===0)}function _(ye){return(ye.global?"g":"")+(ye.ignoreCase?"i":"")+(ye.multiline?"m":"")+(ye.unicode?"u":"")}function b(ye){return ye.split(/\r\n|\r|\n/)}function A(ye){for(let Ce=0,Me=ye.length;Ce<Me;Ce++){const je=ye.charCodeAt(Ce);if(je!==32&&je!==9)return Ce}return-1}function k(ye,Ce=0,Me=ye.length){for(let je=Ce;je<Me;je++){const We=ye.charCodeAt(je);if(We!==32&&We!==9)return ye.substring(Ce,je)}return ye.substring(Ce,Me)}function R(ye,Ce=ye.length-1){for(let Me=Ce;Me>=0;Me--){const je=ye.charCodeAt(Me);if(je!==32&&je!==9)return Me}return-1}function C(ye,Ce){return ye<Ce?-1:ye>Ce?1:0}function D(ye,Ce,Me=0,je=ye.length,We=0,nt=Ce.length){for(;Me<je&&We<nt;Me++,We++){let Ht=ye.charCodeAt(Me),Pe=Ce.charCodeAt(We);if(Ht<Pe)return-1;if(Ht>Pe)return 1}const lt=je-Me,Vt=nt-We;return lt<Vt?-1:lt>Vt?1:0}function M(ye,Ce){return B(ye,Ce,0,ye.length,0,Ce.length)}function B(ye,Ce,Me=0,je=ye.length,We=0,nt=Ce.length){for(;Me<je&&We<nt;Me++,We++){let Ht=ye.charCodeAt(Me),Pe=Ce.charCodeAt(We);if(Ht===Pe)continue;if(Ht>=128||Pe>=128)return D(ye.toLowerCase(),Ce.toLowerCase(),Me,je,We,nt);N(Ht)&&(Ht-=32),N(Pe)&&(Pe-=32);const et=Ht-Pe;if(et!==0)return et}const lt=je-Me,Vt=nt-We;return lt<Vt?-1:lt>Vt?1:0}function N(ye){return ye>=97&&ye<=122}function K(ye){return ye>=65&&ye<=90}function G(ye,Ce){return ye.length===Ce.length&&B(ye,Ce)===0}function W(ye,Ce){const Me=Ce.length;return Ce.length>ye.length?!1:B(ye,Ce,0,Me)===0}function se(ye,Ce){let Me,je=Math.min(ye.length,Ce.length);for(Me=0;Me<je;Me++)if(ye.charCodeAt(Me)!==Ce.charCodeAt(Me))return Me;return je}function ie(ye,Ce){let Me,je=Math.min(ye.length,Ce.length);const We=ye.length-1,nt=Ce.length-1;for(Me=0;Me<je;Me++)if(ye.charCodeAt(We-Me)!==Ce.charCodeAt(nt-Me))return Me;return je}function le(ye){return 55296<=ye&&ye<=56319}function q(ye){return 56320<=ye&&ye<=57343}function J(ye,Ce){return(ye-55296<<10)+(Ce-56320)+65536}function V(ye,Ce,Me){const je=ye.charCodeAt(Me);if(le(je)&&Me+1<Ce){const We=ye.charCodeAt(Me+1);if(q(We))return J(je,We)}return je}function ue(ye,Ce){const Me=ye.charCodeAt(Ce-1);if(q(Me)&&Ce>1){const je=ye.charCodeAt(Ce-2);if(le(je))return J(je,Me)}return Me}function ee(ye,Ce){const Me=Ut.getInstance(),je=Ce,We=ye.length,nt=V(ye,We,Ce);Ce+=nt>=65536?2:1;let lt=Me.getGraphemeBreakType(nt);for(;Ce<We;){const Vt=V(ye,We,Ce),Ht=Me.getGraphemeBreakType(Vt);if(Tt(lt,Ht))break;Ce+=Vt>=65536?2:1,lt=Ht}return Ce-je}function Q(ye,Ce){const Me=Ut.getInstance(),je=Ce,We=ue(ye,Ce);Ce-=We>=65536?2:1;let nt=Me.getGraphemeBreakType(We);for(;Ce>0;){const lt=ue(ye,Ce),Vt=Me.getGraphemeBreakType(lt);if(Tt(Vt,nt))break;Ce-=lt>=65536?2:1,nt=Vt}return je-Ce}const ce=/(?:[\u05BE\u05C0\u05C3\u05C6\u05D0-\u05F4\u0608\u060B\u060D\u061B-\u064A\u066D-\u066F\u0671-\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u0710\u0712-\u072F\u074D-\u07A5\u07B1-\u07EA\u07F4\u07F5\u07FA-\u0815\u081A\u0824\u0828\u0830-\u0858\u085E-\u08BD\u200F\uFB1D\uFB1F-\uFB28\uFB2A-\uFD3D\uFD50-\uFDFC\uFE70-\uFEFC]|\uD802[\uDC00-\uDD1B\uDD20-\uDE00\uDE10-\uDE33\uDE40-\uDEE4\uDEEB-\uDF35\uDF40-\uDFFF]|\uD803[\uDC00-\uDCFF]|\uD83A[\uDC00-\uDCCF\uDD00-\uDD43\uDD50-\uDFFF]|\uD83B[\uDC00-\uDEBB])/;function z(ye){return ce.test(ye)}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 ae(ye){return $.test(ye)}const _e=/^[\t\n\r\x20-\x7E]*$/;function De(ye){return _e.test(ye)}const ke=/[\u2028\u2029]/;function He(ye){return ke.test(ye)}function $e(ye){for(let Ce=0,Me=ye.length;Ce<Me;Ce++)if(Bt(ye.charCodeAt(Ce)))return!0;return!1}function Bt(ye){return ye=+ye,ye>=11904&&ye<=55215||ye>=63744&&ye<=64255||ye>=65281&&ye<=65374}function gt(ye){return ye>=127462&&ye<=127487||ye===8986||ye===8987||ye===9200||ye===9203||ye>=9728&&ye<=10175||ye===11088||ye===11093||ye>=127744&&ye<=128591||ye>=128640&&ye<=128764||ye>=128992&&ye<=129003||ye>=129280&&ye<=129535||ye>=129648&&ye<=129750}const Dt="\uFEFF";function nr(ye){return!!(ye&&ye.length>0&&ye.charCodeAt(0)===65279)}function Xt(ye,Ce=!1){return ye?(Ce&&(ye=ye.replace(/\\./g,"")),ye.toLowerCase()!==ye):!1}function cr(ye){return ye=ye%52,ye<26?String.fromCharCode(97+ye):String.fromCharCode(65+ye-26)}function Ge(ye){return Ut.getInstance().getGraphemeBreakType(ye)}function Tt(ye,Ce){return ye===0?Ce!==5&&Ce!==7:ye===2&&Ce===3?!1:ye===4||ye===2||ye===3||Ce===4||Ce===2||Ce===3?!0:!(ye===8&&(Ce===8||Ce===9||Ce===11||Ce===12)||(ye===11||ye===9)&&(Ce===9||Ce===10)||(ye===12||ye===10)&&Ce===10||Ce===5||Ce===13||Ce===7||ye===1||ye===13&&Ce===14||ye===6&&Ce===6)}class Ut{constructor(){this._data=at()}static getInstance(){return Ut._INSTANCE||(Ut._INSTANCE=new Ut),Ut._INSTANCE}getGraphemeBreakType(Ce){if(Ce<32)return Ce===10?3:Ce===13?2:4;if(Ce<127)return 0;const Me=this._data,je=Me.length/3;let We=1;for(;We<=je;)if(Ce<Me[3*We])We=2*We;else if(Ce>Me[3*We+1])We=2*We+1;else return Me[3*We+2];return 0}}Ut._INSTANCE=null;function at(){return JSON.parse("[0,0,0,51592,51592,11,44424,44424,11,72251,72254,5,7150,7150,7,48008,48008,11,55176,55176,11,128420,128420,14,3276,3277,5,9979,9980,14,46216,46216,11,49800,49800,11,53384,53384,11,70726,70726,5,122915,122916,5,129320,129327,14,2558,2558,5,5906,5908,5,9762,9763,14,43360,43388,8,45320,45320,11,47112,47112,11,48904,48904,11,50696,50696,11,52488,52488,11,54280,54280,11,70082,70083,1,71350,71350,7,73111,73111,5,127892,127893,14,128726,128727,14,129473,129474,14,2027,2035,5,2901,2902,5,3784,3789,5,6754,6754,5,8418,8420,5,9877,9877,14,11088,11088,14,44008,44008,5,44872,44872,11,45768,45768,11,46664,46664,11,47560,47560,11,48456,48456,11,49352,49352,11,50248,50248,11,51144,51144,11,52040,52040,11,52936,52936,11,53832,53832,11,54728,54728,11,69811,69814,5,70459,70460,5,71096,71099,7,71998,71998,5,72874,72880,5,119149,119149,7,127374,127374,14,128335,128335,14,128482,128482,14,128765,128767,14,129399,129400,14,129680,129685,14,1476,1477,5,2377,2380,7,2759,2760,5,3137,3140,7,3458,3459,7,4153,4154,5,6432,6434,5,6978,6978,5,7675,7679,5,9723,9726,14,9823,9823,14,9919,9923,14,10035,10036,14,42736,42737,5,43596,43596,5,44200,44200,11,44648,44648,11,45096,45096,11,45544,45544,11,45992,45992,11,46440,46440,11,46888,46888,11,47336,47336,11,47784,47784,11,48232,48232,11,48680,48680,11,49128,49128,11,49576,49576,11,50024,50024,11,50472,50472,11,50920,50920,11,51368,51368,11,51816,51816,11,52264,52264,11,52712,52712,11,53160,53160,11,53608,53608,11,54056,54056,11,54504,54504,11,54952,54952,11,68108,68111,5,69933,69940,5,70197,70197,7,70498,70499,7,70845,70845,5,71229,71229,5,71727,71735,5,72154,72155,5,72344,72345,5,73023,73029,5,94095,94098,5,121403,121452,5,126981,127182,14,127538,127546,14,127990,127990,14,128391,128391,14,128445,128449,14,128500,128505,14,128752,128752,14,129160,129167,14,129356,129356,14,129432,129442,14,129648,129651,14,129751,131069,14,173,173,4,1757,1757,1,2274,2274,1,2494,2494,5,2641,2641,5,2876,2876,5,3014,3016,7,3262,3262,7,3393,3396,5,3570,3571,7,3968,3972,5,4228,4228,7,6086,6086,5,6679,6680,5,6912,6915,5,7080,7081,5,7380,7392,5,8252,8252,14,9096,9096,14,9748,9749,14,9784,9786,14,9833,9850,14,9890,9894,14,9938,9938,14,9999,9999,14,10085,10087,14,12349,12349,14,43136,43137,7,43454,43456,7,43755,43755,7,44088,44088,11,44312,44312,11,44536,44536,11,44760,44760,11,44984,44984,11,45208,45208,11,45432,45432,11,45656,45656,11,45880,45880,11,46104,46104,11,46328,46328,11,46552,46552,11,46776,46776,11,47000,47000,11,47224,47224,11,47448,47448,11,47672,47672,11,47896,47896,11,48120,48120,11,48344,48344,11,48568,48568,11,48792,48792,11,49016,49016,11,49240,49240,11,49464,49464,11,49688,49688,11,49912,49912,11,50136,50136,11,50360,50360,11,50584,50584,11,50808,50808,11,51032,51032,11,51256,51256,11,51480,51480,11,51704,51704,11,51928,51928,11,52152,52152,11,52376,52376,11,52600,52600,11,52824,52824,11,53048,53048,11,53272,53272,11,53496,53496,11,53720,53720,11,53944,53944,11,54168,54168,11,54392,54392,11,54616,54616,11,54840,54840,11,55064,55064,11,65438,65439,5,69633,69633,5,69837,69837,1,70018,70018,7,70188,70190,7,70368,70370,7,70465,70468,7,70712,70719,5,70835,70840,5,70850,70851,5,71132,71133,5,71340,71340,7,71458,71461,5,71985,71989,7,72002,72002,7,72193,72202,5,72281,72283,5,72766,72766,7,72885,72886,5,73104,73105,5,92912,92916,5,113824,113827,4,119173,119179,5,121505,121519,5,125136,125142,5,127279,127279,14,127489,127490,14,127570,127743,14,127900,127901,14,128254,128254,14,128369,128370,14,128400,128400,14,128425,128432,14,128468,128475,14,128489,128494,14,128715,128720,14,128745,128745,14,128759,128760,14,129004,129023,14,129296,129304,14,129340,129342,14,129388,129392,14,129404,129407,14,129454,129455,14,129485,129487,14,129659,129663,14,129719,129727,14,917536,917631,5,13,13,2,1160,1161,5,1564,1564,4,1807,1807,1,2085,2087,5,2363,2363,7,2402,2403,5,2507,2508,7,2622,2624,7,2691,2691,7,2786,2787,5,2881,2884,5,3006,3006,5,3072,3072,5,3170,3171,5,3267,3268,7,3330,3331,7,3406,3406,1,3538,3540,5,3655,3662,5,3897,3897,5,4038,4038,5,4184,4185,5,4352,4447,8,6068,6069,5,6155,6157,5,6448,6449,7,6742,6742,5,6783,6783,5,6966,6970,5,7042,7042,7,7143,7143,7,7212,7219,5,7412,7412,5,8206,8207,4,8294,8303,4,8596,8601,14,9410,9410,14,9742,9742,14,9757,9757,14,9770,9770,14,9794,9794,14,9828,9828,14,9855,9855,14,9882,9882,14,9900,9903,14,9929,9933,14,9963,9967,14,9987,9988,14,10006,10006,14,10062,10062,14,10175,10175,14,11744,11775,5,42607,42607,5,43043,43044,7,43263,43263,5,43444,43445,7,43569,43570,5,43698,43700,5,43766,43766,5,44032,44032,11,44144,44144,11,44256,44256,11,44368,44368,11,44480,44480,11,44592,44592,11,44704,44704,11,44816,44816,11,44928,44928,11,45040,45040,11,45152,45152,11,45264,45264,11,45376,45376,11,45488,45488,11,45600,45600,11,45712,45712,11,45824,45824,11,45936,45936,11,46048,46048,11,46160,46160,11,46272,46272,11,46384,46384,11,46496,46496,11,46608,46608,11,46720,46720,11,46832,46832,11,46944,46944,11,47056,47056,11,47168,47168,11,47280,47280,11,47392,47392,11,47504,47504,11,47616,47616,11,47728,47728,11,47840,47840,11,47952,47952,11,48064,48064,11,48176,48176,11,48288,48288,11,48400,48400,11,48512,48512,11,48624,48624,11,48736,48736,11,48848,48848,11,48960,48960,11,49072,49072,11,49184,49184,11,49296,49296,11,49408,49408,11,49520,49520,11,49632,49632,11,49744,49744,11,49856,49856,11,49968,49968,11,50080,50080,11,50192,50192,11,50304,50304,11,50416,50416,11,50528,50528,11,50640,50640,11,50752,50752,11,50864,50864,11,50976,50976,11,51088,51088,11,51200,51200,11,51312,51312,11,51424,51424,11,51536,51536,11,51648,51648,11,51760,51760,11,51872,51872,11,51984,51984,11,52096,52096,11,52208,52208,11,52320,52320,11,52432,52432,11,52544,52544,11,52656,52656,11,52768,52768,11,52880,52880,11,52992,52992,11,53104,53104,11,53216,53216,11,53328,53328,11,53440,53440,11,53552,53552,11,53664,53664,11,53776,53776,11,53888,53888,11,54000,54000,11,54112,54112,11,54224,54224,11,54336,54336,11,54448,54448,11,54560,54560,11,54672,54672,11,54784,54784,11,54896,54896,11,55008,55008,11,55120,55120,11,64286,64286,5,66272,66272,5,68900,68903,5,69762,69762,7,69817,69818,5,69927,69931,5,70003,70003,5,70070,70078,5,70094,70094,7,70194,70195,7,70206,70206,5,70400,70401,5,70463,70463,7,70475,70477,7,70512,70516,5,70722,70724,5,70832,70832,5,70842,70842,5,70847,70848,5,71088,71089,7,71102,71102,7,71219,71226,5,71231,71232,5,71342,71343,7,71453,71455,5,71463,71467,5,71737,71738,5,71995,71996,5,72000,72000,7,72145,72147,7,72160,72160,5,72249,72249,7,72273,72278,5,72330,72342,5,72752,72758,5,72850,72871,5,72882,72883,5,73018,73018,5,73031,73031,5,73109,73109,5,73461,73462,7,94031,94031,5,94192,94193,7,119142,119142,7,119155,119162,4,119362,119364,5,121476,121476,5,122888,122904,5,123184,123190,5,126976,126979,14,127184,127231,14,127344,127345,14,127405,127461,14,127514,127514,14,127561,127567,14,127778,127779,14,127896,127896,14,127985,127986,14,127995,127999,5,128326,128328,14,128360,128366,14,128378,128378,14,128394,128397,14,128405,128406,14,128422,128423,14,128435,128443,14,128453,128464,14,128479,128480,14,128484,128487,14,128496,128498,14,128640,128709,14,128723,128724,14,128736,128741,14,128747,128748,14,128755,128755,14,128762,128762,14,128981,128991,14,129096,129103,14,129292,129292,14,129311,129311,14,129329,129330,14,129344,129349,14,129360,129374,14,129394,129394,14,129402,129402,14,129413,129425,14,129445,129450,14,129466,129471,14,129483,129483,14,129511,129535,14,129653,129655,14,129667,129670,14,129705,129711,14,129731,129743,14,917505,917505,4,917760,917999,5,10,10,3,127,159,4,768,879,5,1471,1471,5,1536,1541,1,1648,1648,5,1767,1768,5,1840,1866,5,2070,2073,5,2137,2139,5,2307,2307,7,2366,2368,7,2382,2383,7,2434,2435,7,2497,2500,5,2519,2519,5,2563,2563,7,2631,2632,5,2677,2677,5,2750,2752,7,2763,2764,7,2817,2817,5,2879,2879,5,2891,2892,7,2914,2915,5,3008,3008,5,3021,3021,5,3076,3076,5,3146,3149,5,3202,3203,7,3264,3265,7,3271,3272,7,3298,3299,5,3390,3390,5,3402,3404,7,3426,3427,5,3535,3535,5,3544,3550,7,3635,3635,7,3763,3763,7,3893,3893,5,3953,3966,5,3981,3991,5,4145,4145,7,4157,4158,5,4209,4212,5,4237,4237,5,4520,4607,10,5970,5971,5,6071,6077,5,6089,6099,5,6277,6278,5,6439,6440,5,6451,6456,7,6683,6683,5,6744,6750,5,6765,6770,7,6846,6846,5,6964,6964,5,6972,6972,5,7019,7027,5,7074,7077,5,7083,7085,5,7146,7148,7,7154,7155,7,7222,7223,5,7394,7400,5,7416,7417,5,8204,8204,5,8233,8233,4,8288,8292,4,8413,8416,5,8482,8482,14,8986,8987,14,9193,9203,14,9654,9654,14,9733,9733,14,9745,9745,14,9752,9752,14,9760,9760,14,9766,9766,14,9774,9775,14,9792,9792,14,9800,9811,14,9825,9826,14,9831,9831,14,9852,9853,14,9872,9873,14,9880,9880,14,9885,9887,14,9896,9897,14,9906,9916,14,9926,9927,14,9936,9936,14,9941,9960,14,9974,9974,14,9982,9985,14,9992,9997,14,10002,10002,14,10017,10017,14,10055,10055,14,10071,10071,14,10145,10145,14,11013,11015,14,11503,11505,5,12334,12335,5,12951,12951,14,42612,42621,5,43014,43014,5,43047,43047,7,43204,43205,5,43335,43345,5,43395,43395,7,43450,43451,7,43561,43566,5,43573,43574,5,43644,43644,5,43710,43711,5,43758,43759,7,44005,44005,5,44012,44012,7,44060,44060,11,44116,44116,11,44172,44172,11,44228,44228,11,44284,44284,11,44340,44340,11,44396,44396,11,44452,44452,11,44508,44508,11,44564,44564,11,44620,44620,11,44676,44676,11,44732,44732,11,44788,44788,11,44844,44844,11,44900,44900,11,44956,44956,11,45012,45012,11,45068,45068,11,45124,45124,11,45180,45180,11,45236,45236,11,45292,45292,11,45348,45348,11,45404,45404,11,45460,45460,11,45516,45516,11,45572,45572,11,45628,45628,11,45684,45684,11,45740,45740,11,45796,45796,11,45852,45852,11,45908,45908,11,45964,45964,11,46020,46020,11,46076,46076,11,46132,46132,11,46188,46188,11,46244,46244,11,46300,46300,11,46356,46356,11,46412,46412,11,46468,46468,11,46524,46524,11,46580,46580,11,46636,46636,11,46692,46692,11,46748,46748,11,46804,46804,11,46860,46860,11,46916,46916,11,46972,46972,11,47028,47028,11,47084,47084,11,47140,47140,11,47196,47196,11,47252,47252,11,47308,47308,11,47364,47364,11,47420,47420,11,47476,47476,11,47532,47532,11,47588,47588,11,47644,47644,11,47700,47700,11,47756,47756,11,47812,47812,11,47868,47868,11,47924,47924,11,47980,47980,11,48036,48036,11,48092,48092,11,48148,48148,11,48204,48204,11,48260,48260,11,48316,48316,11,48372,48372,11,48428,48428,11,48484,48484,11,48540,48540,11,48596,48596,11,48652,48652,11,48708,48708,11,48764,48764,11,48820,48820,11,48876,48876,11,48932,48932,11,48988,48988,11,49044,49044,11,49100,49100,11,49156,49156,11,49212,49212,11,49268,49268,11,49324,49324,11,49380,49380,11,49436,49436,11,49492,49492,11,49548,49548,11,49604,49604,11,49660,49660,11,49716,49716,11,49772,49772,11,49828,49828,11,49884,49884,11,49940,49940,11,49996,49996,11,50052,50052,11,50108,50108,11,50164,50164,11,50220,50220,11,50276,50276,11,50332,50332,11,50388,50388,11,50444,50444,11,50500,50500,11,50556,50556,11,50612,50612,11,50668,50668,11,50724,50724,11,50780,50780,11,50836,50836,11,50892,50892,11,50948,50948,11,51004,51004,11,51060,51060,11,51116,51116,11,51172,51172,11,51228,51228,11,51284,51284,11,51340,51340,11,51396,51396,11,51452,51452,11,51508,51508,11,51564,51564,11,51620,51620,11,51676,51676,11,51732,51732,11,51788,51788,11,51844,51844,11,51900,51900,11,51956,51956,11,52012,52012,11,52068,52068,11,52124,52124,11,52180,52180,11,52236,52236,11,52292,52292,11,52348,52348,11,52404,52404,11,52460,52460,11,52516,52516,11,52572,52572,11,52628,52628,11,52684,52684,11,52740,52740,11,52796,52796,11,52852,52852,11,52908,52908,11,52964,52964,11,53020,53020,11,53076,53076,11,53132,53132,11,53188,53188,11,53244,53244,11,53300,53300,11,53356,53356,11,53412,53412,11,53468,53468,11,53524,53524,11,53580,53580,11,53636,53636,11,53692,53692,11,53748,53748,11,53804,53804,11,53860,53860,11,53916,53916,11,53972,53972,11,54028,54028,11,54084,54084,11,54140,54140,11,54196,54196,11,54252,54252,11,54308,54308,11,54364,54364,11,54420,54420,11,54476,54476,11,54532,54532,11,54588,54588,11,54644,54644,11,54700,54700,11,54756,54756,11,54812,54812,11,54868,54868,11,54924,54924,11,54980,54980,11,55036,55036,11,55092,55092,11,55148,55148,11,55216,55238,9,65056,65071,5,65529,65531,4,68097,68099,5,68159,68159,5,69446,69456,5,69688,69702,5,69808,69810,7,69815,69816,7,69821,69821,1,69888,69890,5,69932,69932,7,69957,69958,7,70016,70017,5,70067,70069,7,70079,70080,7,70089,70092,5,70095,70095,5,70191,70193,5,70196,70196,5,70198,70199,5,70367,70367,5,70371,70378,5,70402,70403,7,70462,70462,5,70464,70464,5,70471,70472,7,70487,70487,5,70502,70508,5,70709,70711,7,70720,70721,7,70725,70725,7,70750,70750,5,70833,70834,7,70841,70841,7,70843,70844,7,70846,70846,7,70849,70849,7,71087,71087,5,71090,71093,5,71100,71101,5,71103,71104,5,71216,71218,7,71227,71228,7,71230,71230,7,71339,71339,5,71341,71341,5,71344,71349,5,71351,71351,5,71456,71457,7,71462,71462,7,71724,71726,7,71736,71736,7,71984,71984,5,71991,71992,7,71997,71997,7,71999,71999,1,72001,72001,1,72003,72003,5,72148,72151,5,72156,72159,7,72164,72164,7,72243,72248,5,72250,72250,1,72263,72263,5,72279,72280,7,72324,72329,1,72343,72343,7,72751,72751,7,72760,72765,5,72767,72767,5,72873,72873,7,72881,72881,7,72884,72884,7,73009,73014,5,73020,73021,5,73030,73030,1,73098,73102,7,73107,73108,7,73110,73110,7,73459,73460,5,78896,78904,4,92976,92982,5,94033,94087,7,94180,94180,5,113821,113822,5,119141,119141,5,119143,119145,5,119150,119154,5,119163,119170,5,119210,119213,5,121344,121398,5,121461,121461,5,121499,121503,5,122880,122886,5,122907,122913,5,122918,122922,5,123628,123631,5,125252,125258,5,126980,126980,14,127183,127183,14,127245,127247,14,127340,127343,14,127358,127359,14,127377,127386,14,127462,127487,6,127491,127503,14,127535,127535,14,127548,127551,14,127568,127569,14,127744,127777,14,127780,127891,14,127894,127895,14,127897,127899,14,127902,127984,14,127987,127989,14,127991,127994,14,128000,128253,14,128255,128317,14,128329,128334,14,128336,128359,14,128367,128368,14,128371,128377,14,128379,128390,14,128392,128393,14,128398,128399,14,128401,128404,14,128407,128419,14,128421,128421,14,128424,128424,14,128433,128434,14,128444,128444,14,128450,128452,14,128465,128467,14,128476,128478,14,128481,128481,14,128483,128483,14,128488,128488,14,128495,128495,14,128499,128499,14,128506,128591,14,128710,128714,14,128721,128722,14,128725,128725,14,128728,128735,14,128742,128744,14,128746,128746,14,128749,128751,14,128753,128754,14,128756,128758,14,128761,128761,14,128763,128764,14,128884,128895,14,128992,129003,14,129036,129039,14,129114,129119,14,129198,129279,14,129293,129295,14,129305,129310,14,129312,129319,14,129328,129328,14,129331,129338,14,129343,129343,14,129351,129355,14,129357,129359,14,129375,129387,14,129393,129393,14,129395,129398,14,129401,129401,14,129403,129403,14,129408,129412,14,129426,129431,14,129443,129444,14,129451,129453,14,129456,129465,14,129472,129472,14,129475,129482,14,129484,129484,14,129488,129510,14,129536,129647,14,129652,129652,14,129656,129658,14,129664,129666,14,129671,129679,14,129686,129704,14,129712,129718,14,129728,129730,14,129744,129750,14,917504,917504,4,917506,917535,4,917632,917759,4,918000,921599,4,0,9,4,11,12,4,14,31,4,169,169,14,174,174,14,1155,1159,5,1425,1469,5,1473,1474,5,1479,1479,5,1552,1562,5,1611,1631,5,1750,1756,5,1759,1764,5,1770,1773,5,1809,1809,5,1958,1968,5,2045,2045,5,2075,2083,5,2089,2093,5,2259,2273,5,2275,2306,5,2362,2362,5,2364,2364,5,2369,2376,5,2381,2381,5,2385,2391,5,2433,2433,5,2492,2492,5,2495,2496,7,2503,2504,7,2509,2509,5,2530,2531,5,2561,2562,5,2620,2620,5,2625,2626,5,2635,2637,5,2672,2673,5,2689,2690,5,2748,2748,5,2753,2757,5,2761,2761,7,2765,2765,5,2810,2815,5,2818,2819,7,2878,2878,5,2880,2880,7,2887,2888,7,2893,2893,5,2903,2903,5,2946,2946,5,3007,3007,7,3009,3010,7,3018,3020,7,3031,3031,5,3073,3075,7,3134,3136,5,3142,3144,5,3157,3158,5,3201,3201,5,3260,3260,5,3263,3263,5,3266,3266,5,3270,3270,5,3274,3275,7,3285,3286,5,3328,3329,5,3387,3388,5,3391,3392,7,3398,3400,7,3405,3405,5,3415,3415,5,3457,3457,5,3530,3530,5,3536,3537,7,3542,3542,5,3551,3551,5,3633,3633,5,3636,3642,5,3761,3761,5,3764,3772,5,3864,3865,5,3895,3895,5,3902,3903,7,3967,3967,7,3974,3975,5,3993,4028,5,4141,4144,5,4146,4151,5,4155,4156,7,4182,4183,7,4190,4192,5,4226,4226,5,4229,4230,5,4253,4253,5,4448,4519,9,4957,4959,5,5938,5940,5,6002,6003,5,6070,6070,7,6078,6085,7,6087,6088,7,6109,6109,5,6158,6158,4,6313,6313,5,6435,6438,7,6441,6443,7,6450,6450,5,6457,6459,5,6681,6682,7,6741,6741,7,6743,6743,7,6752,6752,5,6757,6764,5,6771,6780,5,6832,6845,5,6847,6848,5,6916,6916,7,6965,6965,5,6971,6971,7,6973,6977,7,6979,6980,7,7040,7041,5,7073,7073,7,7078,7079,7,7082,7082,7,7142,7142,5,7144,7145,5,7149,7149,5,7151,7153,5,7204,7211,7,7220,7221,7,7376,7378,5,7393,7393,7,7405,7405,5,7415,7415,7,7616,7673,5,8203,8203,4,8205,8205,13,8232,8232,4,8234,8238,4,8265,8265,14,8293,8293,4,8400,8412,5,8417,8417,5,8421,8432,5,8505,8505,14,8617,8618,14,9000,9000,14,9167,9167,14,9208,9210,14,9642,9643,14,9664,9664,14,9728,9732,14,9735,9741,14,9743,9744,14,9746,9746,14,9750,9751,14,9753,9756,14,9758,9759,14,9761,9761,14,9764,9765,14,9767,9769,14,9771,9773,14,9776,9783,14,9787,9791,14,9793,9793,14,9795,9799,14,9812,9822,14,9824,9824,14,9827,9827,14,9829,9830,14,9832,9832,14,9851,9851,14,9854,9854,14,9856,9861,14,9874,9876,14,9878,9879,14,9881,9881,14,9883,9884,14,9888,9889,14,9895,9895,14,9898,9899,14,9904,9905,14,9917,9918,14,9924,9925,14,9928,9928,14,9934,9935,14,9937,9937,14,9939,9940,14,9961,9962,14,9968,9973,14,9975,9978,14,9981,9981,14,9986,9986,14,9989,9989,14,9998,9998,14,10000,10001,14,10004,10004,14,10013,10013,14,10024,10024,14,10052,10052,14,10060,10060,14,10067,10069,14,10083,10084,14,10133,10135,14,10160,10160,14,10548,10549,14,11035,11036,14,11093,11093,14,11647,11647,5,12330,12333,5,12336,12336,14,12441,12442,5,12953,12953,14,42608,42610,5,42654,42655,5,43010,43010,5,43019,43019,5,43045,43046,5,43052,43052,5,43188,43203,7,43232,43249,5,43302,43309,5,43346,43347,7,43392,43394,5,43443,43443,5,43446,43449,5,43452,43453,5,43493,43493,5,43567,43568,7,43571,43572,7,43587,43587,5,43597,43597,7,43696,43696,5,43703,43704,5,43713,43713,5,43756,43757,5,43765,43765,7,44003,44004,7,44006,44007,7,44009,44010,7,44013,44013,5,44033,44059,12,44061,44087,12,44089,44115,12,44117,44143,12,44145,44171,12,44173,44199,12,44201,44227,12,44229,44255,12,44257,44283,12,44285,44311,12,44313,44339,12,44341,44367,12,44369,44395,12,44397,44423,12,44425,44451,12,44453,44479,12,44481,44507,12,44509,44535,12,44537,44563,12,44565,44591,12,44593,44619,12,44621,44647,12,44649,44675,12,44677,44703,12,44705,44731,12,44733,44759,12,44761,44787,12,44789,44815,12,44817,44843,12,44845,44871,12,44873,44899,12,44901,44927,12,44929,44955,12,44957,44983,12,44985,45011,12,45013,45039,12,45041,45067,12,45069,45095,12,45097,45123,12,45125,45151,12,45153,45179,12,45181,45207,12,45209,45235,12,45237,45263,12,45265,45291,12,45293,45319,12,45321,45347,12,45349,45375,12,45377,45403,12,45405,45431,12,45433,45459,12,45461,45487,12,45489,45515,12,45517,45543,12,45545,45571,12,45573,45599,12,45601,45627,12,45629,45655,12,45657,45683,12,45685,45711,12,45713,45739,12,45741,45767,12,45769,45795,12,45797,45823,12,45825,45851,12,45853,45879,12,45881,45907,12,45909,45935,12,45937,45963,12,45965,45991,12,45993,46019,12,46021,46047,12,46049,46075,12,46077,46103,12,46105,46131,12,46133,46159,12,46161,46187,12,46189,46215,12,46217,46243,12,46245,46271,12,46273,46299,12,46301,46327,12,46329,46355,12,46357,46383,12,46385,46411,12,46413,46439,12,46441,46467,12,46469,46495,12,46497,46523,12,46525,46551,12,46553,46579,12,46581,46607,12,46609,46635,12,46637,46663,12,46665,46691,12,46693,46719,12,46721,46747,12,46749,46775,12,46777,46803,12,46805,46831,12,46833,46859,12,46861,46887,12,46889,46915,12,46917,46943,12,46945,46971,12,46973,46999,12,47001,47027,12,47029,47055,12,47057,47083,12,47085,47111,12,47113,47139,12,47141,47167,12,47169,47195,12,47197,47223,12,47225,47251,12,47253,47279,12,47281,47307,12,47309,47335,12,47337,47363,12,47365,47391,12,47393,47419,12,47421,47447,12,47449,47475,12,47477,47503,12,47505,47531,12,47533,47559,12,47561,47587,12,47589,47615,12,47617,47643,12,47645,47671,12,47673,47699,12,47701,47727,12,47729,47755,12,47757,47783,12,47785,47811,12,47813,47839,12,47841,47867,12,47869,47895,12,47897,47923,12,47925,47951,12,47953,47979,12,47981,48007,12,48009,48035,12,48037,48063,12,48065,48091,12,48093,48119,12,48121,48147,12,48149,48175,12,48177,48203,12,48205,48231,12,48233,48259,12,48261,48287,12,48289,48315,12,48317,48343,12,48345,48371,12,48373,48399,12,48401,48427,12,48429,48455,12,48457,48483,12,48485,48511,12,48513,48539,12,48541,48567,12,48569,48595,12,48597,48623,12,48625,48651,12,48653,48679,12,48681,48707,12,48709,48735,12,48737,48763,12,48765,48791,12,48793,48819,12,48821,48847,12,48849,48875,12,48877,48903,12,48905,48931,12,48933,48959,12,48961,48987,12,48989,49015,12,49017,49043,12,49045,49071,12,49073,49099,12,49101,49127,12,49129,49155,12,49157,49183,12,49185,49211,12,49213,49239,12,49241,49267,12,49269,49295,12,49297,49323,12,49325,49351,12,49353,49379,12,49381,49407,12,49409,49435,12,49437,49463,12,49465,49491,12,49493,49519,12,49521,49547,12,49549,49575,12,49577,49603,12,49605,49631,12,49633,49659,12,49661,49687,12,49689,49715,12,49717,49743,12,49745,49771,12,49773,49799,12,49801,49827,12,49829,49855,12,49857,49883,12,49885,49911,12,49913,49939,12,49941,49967,12,49969,49995,12,49997,50023,12,50025,50051,12,50053,50079,12,50081,50107,12,50109,50135,12,50137,50163,12,50165,50191,12,50193,50219,12,50221,50247,12,50249,50275,12,50277,50303,12,50305,50331,12,50333,50359,12,50361,50387,12,50389,50415,12,50417,50443,12,50445,50471,12,50473,50499,12,50501,50527,12,50529,50555,12,50557,50583,12,50585,50611,12,50613,50639,12,50641,50667,12,50669,50695,12,50697,50723,12,50725,50751,12,50753,50779,12,50781,50807,12,50809,50835,12,50837,50863,12,50865,50891,12,50893,50919,12,50921,50947,12,50949,50975,12,50977,51003,12,51005,51031,12,51033,51059,12,51061,51087,12,51089,51115,12,51117,51143,12,51145,51171,12,51173,51199,12,51201,51227,12,51229,51255,12,51257,51283,12,51285,51311,12,51313,51339,12,51341,51367,12,51369,51395,12,51397,51423,12,51425,51451,12,51453,51479,12,51481,51507,12,51509,51535,12,51537,51563,12,51565,51591,12,51593,51619,12,51621,51647,12,51649,51675,12,51677,51703,12,51705,51731,12,51733,51759,12,51761,51787,12,51789,51815,12,51817,51843,12,51845,51871,12,51873,51899,12,51901,51927,12,51929,51955,12,51957,51983,12,51985,52011,12,52013,52039,12,52041,52067,12,52069,52095,12,52097,52123,12,52125,52151,12,52153,52179,12,52181,52207,12,52209,52235,12,52237,52263,12,52265,52291,12,52293,52319,12,52321,52347,12,52349,52375,12,52377,52403,12,52405,52431,12,52433,52459,12,52461,52487,12,52489,52515,12,52517,52543,12,52545,52571,12,52573,52599,12,52601,52627,12,52629,52655,12,52657,52683,12,52685,52711,12,52713,52739,12,52741,52767,12,52769,52795,12,52797,52823,12,52825,52851,12,52853,52879,12,52881,52907,12,52909,52935,12,52937,52963,12,52965,52991,12,52993,53019,12,53021,53047,12,53049,53075,12,53077,53103,12,53105,53131,12,53133,53159,12,53161,53187,12,53189,53215,12,53217,53243,12,53245,53271,12,53273,53299,12,53301,53327,12,53329,53355,12,53357,53383,12,53385,53411,12,53413,53439,12,53441,53467,12,53469,53495,12,53497,53523,12,53525,53551,12,53553,53579,12,53581,53607,12,53609,53635,12,53637,53663,12,53665,53691,12,53693,53719,12,53721,53747,12,53749,53775,12,53777,53803,12,53805,53831,12,53833,53859,12,53861,53887,12,53889,53915,12,53917,53943,12,53945,53971,12,53973,53999,12,54001,54027,12,54029,54055,12,54057,54083,12,54085,54111,12,54113,54139,12,54141,54167,12,54169,54195,12,54197,54223,12,54225,54251,12,54253,54279,12,54281,54307,12,54309,54335,12,54337,54363,12,54365,54391,12,54393,54419,12,54421,54447,12,54449,54475,12,54477,54503,12,54505,54531,12,54533,54559,12,54561,54587,12,54589,54615,12,54617,54643,12,54645,54671,12,54673,54699,12,54701,54727,12,54729,54755,12,54757,54783,12,54785,54811,12,54813,54839,12,54841,54867,12,54869,54895,12,54897,54923,12,54925,54951,12,54953,54979,12,54981,55007,12,55009,55035,12,55037,55063,12,55065,55091,12,55093,55119,12,55121,55147,12,55149,55175,12,55177,55203,12,55243,55291,10,65024,65039,5,65279,65279,4,65520,65528,4,66045,66045,5,66422,66426,5,68101,68102,5,68152,68154,5,68325,68326,5,69291,69292,5,69632,69632,7,69634,69634,7,69759,69761,5]")}function bt(ye,Ce){if(ye===0)return 0;const Me=dt(ye,Ce);if(Me!==void 0)return Me;const je=ue(Ce,ye);return ye-=tt(je),ye}function dt(ye,Ce){let Me=ue(Ce,ye);for(ye-=tt(Me);Ue(Me)||Me===65039||Me===8419;){if(ye===0)return;Me=ue(Ce,ye),ye-=tt(Me)}if(gt(Me)){if(ye>=0){const je=ue(Ce,ye);je===8205&&(ye-=tt(je))}return ye}}function tt(ye){return ye>=65536?2:1}function Ue(ye){return 127995<=ye&&ye<=127999}},72999:function(d,v,e){"use strict";e.d(v,{$E:function(){return A},$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 C}});function r(D){return Array.isArray(D)}function i(D){return typeof D=="string"}function l(D){return typeof D=="object"&&D!==null&&!Array.isArray(D)&&!(D instanceof RegExp)&&!(D instanceof Date)}function c(D){return typeof D=="number"&&!isNaN(D)}function f(D){return D===!0||D===!1}function o(D){return typeof D=="undefined"}function h(D){return!u(D)}function u(D){return o(D)||D===null}function a(D,M){if(!D)throw new Error(M?`Unexpected type, expected '${M}'`:"Unexpected type")}function x(D){if(u(D))throw new Error("Assertion Failed: argument is undefined or null");return D}function p(D){return typeof D=="function"}function y(D,M){const B=Math.min(D.length,M.length);for(let N=0;N<B;N++)_(D[N],M[N])}function _(D,M){if(i(M)){if(typeof D!==M)throw new Error(`argument does not match constraint: typeof ${M}`)}else if(p(M)){try{if(D instanceof M)return}catch(B){}if(!u(D)&&D.constructor===M||M.length===1&&M.call(void 0,D)===!0)return;throw new Error("argument does not match one of these constraints: arg instanceof constraint, arg.constructor === constraint, nor constraint(arg) === true")}}function b(D){let M=[],B=Object.getPrototypeOf(D);for(;Object.prototype!==B;)M=M.concat(Object.getOwnPropertyNames(B)),B=Object.getPrototypeOf(B);return M}function A(D){const M=[];for(const B of b(D))typeof D[B]=="function"&&M.push(B);return M}function k(D,M){const B=K=>function(){const G=Array.prototype.slice.call(arguments,0);return M(K,G)};let N={};for(const K of D)N[K]=B(K);return N}function R(D){return D===null?void 0:D}function C(D,M="Unreachable"){throw new Error(M)}},13268:function(d,v,e){"use strict";e.d(v,{N:function(){return i}});function r(l,c){let f;return c.length===0?f=l:f=l.replace(/\{(\d+)\}/g,function(o,h){const u=h[0];return typeof c[u]!="undefined"?c[u]:o}),f}function i(l,c,...f){return r(c,f)}},96236:function(d,v,e){"use strict";e.d(v,{BH:function(){return k},NZ:function(){return R},U8:function(){return C},co:function(){return A},eH:function(){return b},vr:function(){return _}});var r=e(75918),i=e(52615),l=e(4348),c=e(88226),f=e(69323),o=e(34502),h=e(35884),u=e(90689),a=e(16925),x=e(49055),p=function(D,M,B,N){var K=arguments.length,G=K<3?M:N===null?N=Object.getOwnPropertyDescriptor(M,B):N,W;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")G=Reflect.decorate(D,M,B,N);else for(var se=D.length-1;se>=0;se--)(W=D[se])&&(G=(K<3?W(G):K>3?W(M,B,G):W(M,B))||G);return K>3&&G&&Object.defineProperty(M,B,G),G},y=function(D,M){return function(B,N){M(B,N,D)}};function _(D){return D.command!==void 0}class b{constructor(M){this.id=b._idPool++,this._debugName=M}}b._idPool=0,b.CommandPalette=new b("CommandPalette"),b.EditorContext=new b("EditorContext"),b.SimpleEditorContext=new b("SimpleEditorContext"),b.EditorContextCopy=new b("EditorContextCopy"),b.EditorContextPeek=new b("EditorContextPeek"),b.MenubarEditMenu=new b("MenubarEditMenu"),b.MenubarCopy=new b("MenubarCopy"),b.MenubarGoMenu=new b("MenubarGoMenu"),b.MenubarSelectionMenu=new b("MenubarSelectionMenu"),b.InlineCompletionsActions=new b("InlineCompletionsActions");const A=(0,a.yh)("menuService"),k=new class{constructor(){this._commands=new Map,this._menuItems=new Map,this._onDidChangeMenu=new l.Q5,this.onDidChangeMenu=this._onDidChangeMenu.event,this._commandPaletteChangeEvent={has:D=>D===b.CommandPalette}}addCommand(D){return this.addCommands(c.$.single(D))}addCommands(D){for(const M of D)this._commands.set(M.id,M);return this._onDidChangeMenu.fire(this._commandPaletteChangeEvent),(0,f.OF)(()=>{let M=!1;for(const B of D)M=this._commands.delete(B.id)||M;M&&this._onDidChangeMenu.fire(this._commandPaletteChangeEvent)})}getCommand(D){return this._commands.get(D)}getCommands(){const D=new Map;return this._commands.forEach((M,B)=>D.set(B,M)),D}appendMenuItem(D,M){return this.appendMenuItems(c.$.single({id:D,item:M}))}appendMenuItems(D){const M=new Set,B=new o.S;for(const{id:N,item:K}of D){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(D){let M;return this._menuItems.has(D)?M=[...this._menuItems.get(D)]:M=[],D===b.CommandPalette&&this._appendImplicitItems(M),M}_appendImplicitItems(D){const M=new Set;for(const B of D)_(B)&&(M.add(B.command.id),B.alt&&M.add(B.alt.id));this._commands.forEach((B,N)=>{M.has(N)||D.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 C=class Rd{constructor(M,B,N,K,G){var W,se;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=(se=typeof M.tooltip=="string"?M.tooltip:(W=M.tooltip)===null||W===void 0?void 0:W.value)!==null&&se!==void 0?se:"",this.enabled=!M.precondition||K.contextMatchesRules(M.precondition),this.checked=void 0,M.toggled){const ie=M.toggled.condition?M.toggled:{condition:M.toggled};this.checked=K.contextMatchesRules(ie.condition),this.checked&&ie.tooltip&&(this.tooltip=typeof ie.tooltip=="string"?ie.tooltip:ie.tooltip.value),ie.title&&(this.label=typeof ie.title=="string"?ie.title:ie.title.value)}this.item=M,this.alt=B?new Rd(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)}};C=p([y(3,u.i6),y(4,h.H)],C)},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 A=[];for(let R of a.description.args)A.push(R.constraint);const k=a.handler;a.handler=function(R,...C){return(0,f.D8)(C,A),k(R,...C)}}const{id:p}=a;let y=this._commands.get(p);y||(y=new c.S,this._commands.set(p,y));let _=y.unshift(a),b=(0,l.OF)(()=>{_();const A=this._commands.get(p);A!=null&&A.isEmpty()&&this._commands.delete(p)});return this._onDidRegisterCommand.fire(p),b}registerCommandAlias(a,x){return u.registerCommand(a,(p,...y)=>p.get(h).executeCommand(x,...y))}getCommand(a){const x=this._commands.get(a);if(!(!x||x.isEmpty()))return i.$.first(x)}getCommands(){const a=new Map;for(const x of this._commands.keys()){const p=this.getCommand(x);p&&a.set(x,p)}return a}};u.registerCommand("noop",()=>{})},90689:function(d,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 le}});var r=e(23345),i=e(82983),l=e(16925);let c=r.WE||"";const f=new Map;f.set("false",!1),f.set("true",!0),f.set("isMac",r.dz),f.set("isLinux",r.IJ),f.set("isWindows",r.ED),f.set("isWeb",r.$L),f.set("isMacNative",r.dz&&!r.$L),f.set("isEdge",c.indexOf("Edg/")>=0),f.set("isFirefox",c.indexOf("Firefox")>=0),f.set("isChrome",c.indexOf("Chrome")>=0),f.set("isSafari",c.indexOf("Safari")>=0);const o=Object.prototype.hasOwnProperty;class h{static has(z){return y.create(z)}static equals(z,$){return _.create(z,$)}static regex(z,$){return K.create(z,$)}static not(z){return R.create(z)}static and(...z){return se.create(z,null)}static or(...z){return ie.create(z,null,!0)}static deserialize(z,$=!1){if(z)return this._deserializeOrExpression(z,$)}static _deserializeOrExpression(z,$){let ae=z.split("||");return ie.create(ae.map(_e=>this._deserializeAndExpression(_e,$)),null,!0)}static _deserializeAndExpression(z,$){let ae=z.split("&&");return se.create(ae.map(_e=>this._deserializeOne(_e,$)),null)}static _deserializeOne(z,$){if(z=z.trim(),z.indexOf("!=")>=0){let ae=z.split("!=");return k.create(ae[0].trim(),this._deserializeValue(ae[1],$))}if(z.indexOf("==")>=0){let ae=z.split("==");return _.create(ae[0].trim(),this._deserializeValue(ae[1],$))}if(z.indexOf("=~")>=0){let ae=z.split("=~");return K.create(ae[0].trim(),this._deserializeRegexValue(ae[1],$))}if(z.indexOf(" in ")>=0){let ae=z.split(" in ");return b.create(ae[0].trim(),ae[1].trim())}if(/^[^<=>]+>=[^<=>]+$/.test(z)){const ae=z.split(">=");return M.create(ae[0].trim(),ae[1].trim())}if(/^[^<=>]+>[^<=>]+$/.test(z)){const ae=z.split(">");return D.create(ae[0].trim(),ae[1].trim())}if(/^[^<=>]+<=[^<=>]+$/.test(z)){const ae=z.split("<=");return N.create(ae[0].trim(),ae[1].trim())}if(/^[^<=>]+<[^<=>]+$/.test(z)){const ae=z.split("<");return B.create(ae[0].trim(),ae[1].trim())}return/^\!\s*/.test(z)?R.create(z.substr(1).trim()):y.create(z)}static _deserializeValue(z,$){if(z=z.trim(),z==="true")return!0;if(z==="false")return!1;let ae=/^'([^']*)'$/.exec(z);return ae?ae[1].trim():z}static _deserializeRegexValue(z,$){if((0,i.m5)(z)){if($)throw new Error("missing regexp-value for =~-expression");return console.warn("missing regexp-value for =~-expression"),null}let ae=z.indexOf("/"),_e=z.lastIndexOf("/");if(ae===_e||ae<0){if($)throw new Error(`bad regexp-value '${z}', missing /-enclosure`);return console.warn(`bad regexp-value '${z}', missing /-enclosure`),null}let De=z.slice(ae+1,_e),ke=z[_e+1]==="i"?"i":"";try{return new RegExp(De,ke)}catch(He){if($)throw new Error(`bad regexp-value '${z}', parse error: ${He}`);return console.warn(`bad regexp-value '${z}', parse error: ${He}`),null}}}function u(ce,z){const $=ce?ce.substituteConstants():void 0,ae=z?z.substituteConstants():void 0;return!$&&!ae?!0:!$||!ae?!1:$.equals(ae)}function a(ce,z){return ce.cmp(z)}class x{constructor(){this.type=0}cmp(z){return this.type-z.type}equals(z){return z.type===this.type}substituteConstants(){return this}evaluate(z){return!1}serialize(){return"false"}keys(){return[]}negate(){return p.INSTANCE}}x.INSTANCE=new x;class p{constructor(){this.type=1}cmp(z){return this.type-z.type}equals(z){return z.type===this.type}substituteConstants(){return this}evaluate(z){return!0}serialize(){return"true"}keys(){return[]}negate(){return x.INSTANCE}}p.INSTANCE=new p;class y{constructor(z,$){this.key=z,this.negated=$,this.type=2}static create(z,$=null){const ae=f.get(z);return typeof ae=="boolean"?ae?p.INSTANCE:x.INSTANCE:new y(z,$)}cmp(z){return z.type!==this.type?this.type-z.type:V(this.key,z.key)}equals(z){return z.type===this.type?this.key===z.key:!1}substituteConstants(){const z=f.get(this.key);return typeof z=="boolean"?z?p.INSTANCE:x.INSTANCE:this}evaluate(z){return!!z.getValue(this.key)}serialize(){return this.key}keys(){return[this.key]}negate(){return this.negated||(this.negated=R.create(this.key,this)),this.negated}}class _{constructor(z,$,ae){this.key=z,this.value=$,this.negated=ae,this.type=4}static create(z,$,ae=null){if(typeof $=="boolean")return $?y.create(z,ae):R.create(z,ae);const _e=f.get(z);return typeof _e=="boolean"?$===(_e?"true":"false")?p.INSTANCE:x.INSTANCE:new _(z,$,ae)}cmp(z){return z.type!==this.type?this.type-z.type:ue(this.key,this.value,z.key,z.value)}equals(z){return z.type===this.type?this.key===z.key&&this.value===z.value:!1}substituteConstants(){const z=f.get(this.key);if(typeof z=="boolean"){const $=z?"true":"false";return this.value===$?p.INSTANCE:x.INSTANCE}return this}evaluate(z){return z.getValue(this.key)==this.value}serialize(){return`${this.key} == '${this.value}'`}keys(){return[this.key]}negate(){return this.negated||(this.negated=k.create(this.key,this.value,this)),this.negated}}class b{constructor(z,$){this.key=z,this.valueKey=$,this.type=10,this.negated=null}static create(z,$){return new b(z,$)}cmp(z){return z.type!==this.type?this.type-z.type:ue(this.key,this.valueKey,z.key,z.valueKey)}equals(z){return z.type===this.type?this.key===z.key&&this.valueKey===z.valueKey:!1}substituteConstants(){return this}evaluate(z){const $=z.getValue(this.valueKey),ae=z.getValue(this.key);return Array.isArray($)?$.indexOf(ae)>=0:typeof ae=="string"&&typeof $=="object"&&$!==null?o.call($,ae):!1}serialize(){return`${this.key} in '${this.valueKey}'`}keys(){return[this.key,this.valueKey]}negate(){return this.negated||(this.negated=A.create(this)),this.negated}}class A{constructor(z){this._actual=z,this.type=11}static create(z){return new A(z)}cmp(z){return z.type!==this.type?this.type-z.type:this._actual.cmp(z._actual)}equals(z){return z.type===this.type?this._actual.equals(z._actual):!1}substituteConstants(){return this}evaluate(z){return!this._actual.evaluate(z)}serialize(){throw new Error("Method not implemented.")}keys(){return this._actual.keys()}negate(){return this._actual}}class k{constructor(z,$,ae){this.key=z,this.value=$,this.negated=ae,this.type=5}static create(z,$,ae=null){if(typeof $=="boolean")return $?R.create(z,ae):y.create(z,ae);const _e=f.get(z);return typeof _e=="boolean"?$===(_e?"true":"false")?x.INSTANCE:p.INSTANCE:new k(z,$,ae)}cmp(z){return z.type!==this.type?this.type-z.type:ue(this.key,this.value,z.key,z.value)}equals(z){return z.type===this.type?this.key===z.key&&this.value===z.value:!1}substituteConstants(){const z=f.get(this.key);if(typeof z=="boolean"){const $=z?"true":"false";return this.value===$?x.INSTANCE:p.INSTANCE}return this}evaluate(z){return z.getValue(this.key)!=this.value}serialize(){return`${this.key} != '${this.value}'`}keys(){return[this.key]}negate(){return this.negated||(this.negated=_.create(this.key,this.value,this)),this.negated}}class R{constructor(z,$){this.key=z,this.negated=$,this.type=3}static create(z,$=null){const ae=f.get(z);return typeof ae=="boolean"?ae?x.INSTANCE:p.INSTANCE:new R(z,$)}cmp(z){return z.type!==this.type?this.type-z.type:V(this.key,z.key)}equals(z){return z.type===this.type?this.key===z.key:!1}substituteConstants(){const z=f.get(this.key);return typeof z=="boolean"?z?x.INSTANCE:p.INSTANCE:this}evaluate(z){return!z.getValue(this.key)}serialize(){return`!${this.key}`}keys(){return[this.key]}negate(){return this.negated||(this.negated=y.create(this.key,this)),this.negated}}function C(ce,z){if(typeof ce=="string"){const $=parseFloat(ce);isNaN($)||(ce=$)}return typeof ce=="string"||typeof ce=="number"?z(ce):x.INSTANCE}class D{constructor(z,$,ae){this.key=z,this.value=$,this.negated=ae,this.type=12}static create(z,$,ae=null){return C($,_e=>new D(z,_e,ae))}cmp(z){return z.type!==this.type?this.type-z.type:ue(this.key,this.value,z.key,z.value)}equals(z){return z.type===this.type?this.key===z.key&&this.value===z.value:!1}substituteConstants(){return this}evaluate(z){return typeof this.value=="string"?!1:parseFloat(z.getValue(this.key))>this.value}serialize(){return`${this.key} > ${this.value}`}keys(){return[this.key]}negate(){return this.negated||(this.negated=N.create(this.key,this.value,this)),this.negated}}class M{constructor(z,$,ae){this.key=z,this.value=$,this.negated=ae,this.type=13}static create(z,$,ae=null){return C($,_e=>new M(z,_e,ae))}cmp(z){return z.type!==this.type?this.type-z.type:ue(this.key,this.value,z.key,z.value)}equals(z){return z.type===this.type?this.key===z.key&&this.value===z.value:!1}substituteConstants(){return this}evaluate(z){return typeof this.value=="string"?!1:parseFloat(z.getValue(this.key))>=this.value}serialize(){return`${this.key} >= ${this.value}`}keys(){return[this.key]}negate(){return this.negated||(this.negated=B.create(this.key,this.value,this)),this.negated}}class B{constructor(z,$,ae){this.key=z,this.value=$,this.negated=ae,this.type=14}static create(z,$,ae=null){return C($,_e=>new B(z,_e,ae))}cmp(z){return z.type!==this.type?this.type-z.type:ue(this.key,this.value,z.key,z.value)}equals(z){return z.type===this.type?this.key===z.key&&this.value===z.value:!1}substituteConstants(){return this}evaluate(z){return typeof this.value=="string"?!1:parseFloat(z.getValue(this.key))<this.value}serialize(){return`${this.key} < ${this.value}`}keys(){return[this.key]}negate(){return this.negated||(this.negated=M.create(this.key,this.value,this)),this.negated}}class N{constructor(z,$,ae){this.key=z,this.value=$,this.negated=ae,this.type=15}static create(z,$,ae=null){return C($,_e=>new N(z,_e,ae))}cmp(z){return z.type!==this.type?this.type-z.type:ue(this.key,this.value,z.key,z.value)}equals(z){return z.type===this.type?this.key===z.key&&this.value===z.value:!1}substituteConstants(){return this}evaluate(z){return typeof this.value=="string"?!1:parseFloat(z.getValue(this.key))<=this.value}serialize(){return`${this.key} <= ${this.value}`}keys(){return[this.key]}negate(){return this.negated||(this.negated=D.create(this.key,this.value,this)),this.negated}}class K{constructor(z,$){this.key=z,this.regexp=$,this.type=7,this.negated=null}static create(z,$){return new K(z,$)}cmp(z){if(z.type!==this.type)return this.type-z.type;if(this.key<z.key)return-1;if(this.key>z.key)return 1;const $=this.regexp?this.regexp.source:"",ae=z.regexp?z.regexp.source:"";return $<ae?-1:$>ae?1:0}equals(z){if(z.type===this.type){const $=this.regexp?this.regexp.source:"",ae=z.regexp?z.regexp.source:"";return this.key===z.key&&$===ae}return!1}substituteConstants(){return this}evaluate(z){let $=z.getValue(this.key);return this.regexp?this.regexp.test($):!1}serialize(){const z=this.regexp?`/${this.regexp.source}/${this.regexp.ignoreCase?"i":""}`:"/invalid/";return`${this.key} =~ ${z}`}keys(){return[this.key]}negate(){return this.negated||(this.negated=G.create(this)),this.negated}}class G{constructor(z){this._actual=z,this.type=8}static create(z){return new G(z)}cmp(z){return z.type!==this.type?this.type-z.type:this._actual.cmp(z._actual)}equals(z){return z.type===this.type?this._actual.equals(z._actual):!1}substituteConstants(){return this}evaluate(z){return!this._actual.evaluate(z)}serialize(){throw new Error("Method not implemented.")}keys(){return this._actual.keys()}negate(){return this._actual}}function W(ce){let z=null;for(let $=0,ae=ce.length;$<ae;$++){const _e=ce[$].substituteConstants();if(ce[$]!==_e&&z===null){z=[];for(let De=0;De<$;De++)z[De]=ce[De]}z!==null&&(z[$]=_e)}return z===null?ce:z}class se{constructor(z,$){this.expr=z,this.negated=$,this.type=6}static create(z,$){return se._normalizeArr(z,$)}cmp(z){if(z.type!==this.type)return this.type-z.type;if(this.expr.length<z.expr.length)return-1;if(this.expr.length>z.expr.length)return 1;for(let $=0,ae=this.expr.length;$<ae;$++){const _e=a(this.expr[$],z.expr[$]);if(_e!==0)return _e}return 0}equals(z){if(z.type===this.type){if(this.expr.length!==z.expr.length)return!1;for(let $=0,ae=this.expr.length;$<ae;$++)if(!this.expr[$].equals(z.expr[$]))return!1;return!0}return!1}substituteConstants(){const z=W(this.expr);return z===this.expr?this:se.create(z,this.negated)}evaluate(z){for(let $=0,ae=this.expr.length;$<ae;$++)if(!this.expr[$].evaluate(z))return!1;return!0}static _normalizeArr(z,$){const ae=[];let _e=!1;for(const De of z)if(De){if(De.type===1){_e=!0;continue}if(De.type===0)return x.INSTANCE;if(De.type===6){ae.push(...De.expr);continue}ae.push(De)}if(ae.length===0&&_e)return p.INSTANCE;if(ae.length!==0){if(ae.length===1)return ae[0];ae.sort(a);for(let De=1;De<ae.length;De++)ae[De-1].equals(ae[De])&&(ae.splice(De,1),De--);if(ae.length===1)return ae[0];for(;ae.length>1;){const De=ae[ae.length-1];if(De.type!==9)break;ae.pop();const ke=ae.pop(),He=ae.length===0,$e=ie.create(De.expr.map(Bt=>se.create([Bt,ke],null)),null,He);$e&&(ae.push($e),ae.sort(a))}return ae.length===1?ae[0]:new se(ae,$)}}serialize(){return this.expr.map(z=>z.serialize()).join(" && ")}keys(){const z=[];for(let $ of this.expr)z.push(...$.keys());return z}negate(){if(!this.negated){const z=[];for(let $ of this.expr)z.push($.negate());this.negated=ie.create(z,this,!0)}return this.negated}}class ie{constructor(z,$){this.expr=z,this.negated=$,this.type=9}static create(z,$,ae){return ie._normalizeArr(z,$,ae)}cmp(z){if(z.type!==this.type)return this.type-z.type;if(this.expr.length<z.expr.length)return-1;if(this.expr.length>z.expr.length)return 1;for(let $=0,ae=this.expr.length;$<ae;$++){const _e=a(this.expr[$],z.expr[$]);if(_e!==0)return _e}return 0}equals(z){if(z.type===this.type){if(this.expr.length!==z.expr.length)return!1;for(let $=0,ae=this.expr.length;$<ae;$++)if(!this.expr[$].equals(z.expr[$]))return!1;return!0}return!1}substituteConstants(){const z=W(this.expr);return z===this.expr?this:ie.create(z,this.negated,!1)}evaluate(z){for(let $=0,ae=this.expr.length;$<ae;$++)if(this.expr[$].evaluate(z))return!0;return!1}static _normalizeArr(z,$,ae){let _e=[],De=!1;if(z){for(let ke=0,He=z.length;ke<He;ke++){const $e=z[ke];if($e){if($e.type===0){De=!0;continue}if($e.type===1)return p.INSTANCE;if($e.type===9){_e=_e.concat($e.expr);continue}_e.push($e)}}if(_e.length===0&&De)return x.INSTANCE;_e.sort(a)}if(_e.length!==0){if(_e.length===1)return _e[0];for(let ke=1;ke<_e.length;ke++)_e[ke-1].equals(_e[ke])&&(_e.splice(ke,1),ke--);if(_e.length===1)return _e[0];if(ae){for(let ke=0;ke<_e.length;ke++)for(let He=ke+1;He<_e.length;He++)ee(_e[ke],_e[He])&&(_e.splice(He,1),He--);if(_e.length===1)return _e[0]}return new ie(_e,$)}}serialize(){return this.expr.map(z=>z.serialize()).join(" || ")}keys(){const z=[];for(let $ of this.expr)z.push(...$.keys());return z}negate(){if(!this.negated){let z=[];for(let $ of this.expr)z.push($.negate());for(;z.length>1;){const $=z.shift(),ae=z.shift(),_e=[];for(const ke of Q($))for(const He of Q(ae))_e.push(se.create([ke,He],null));const De=z.length===0;z.unshift(ie.create(_e,null,De))}this.negated=z[0]}return this.negated}}class le extends y{constructor(z,$,ae){super(z,null),this._defaultValue=$,typeof ae=="object"?le._info.push(Object.assign(Object.assign({},ae),{key:z})):ae!==!0&&le._info.push({key:z,description:ae,type:$!=null?typeof $:void 0})}static all(){return le._info.values()}bindTo(z){return z.createKey(this.key,this._defaultValue)}getValue(z){return z.getContextKeyValue(this.key)}toNegated(){return this.negate()}isEqualTo(z){return _.create(this.key,z)}}le._info=[];const q=(0,l.yh)("contextKeyService"),J="setContext";function V(ce,z){return ce<z?-1:ce>z?1:0}function ue(ce,z,$,ae){return ce<$?-1:ce>$?1:z<ae?-1:z>ae?1:0}function ee(ce,z){if(z.type===6&&ce.type!==9&&ce.type!==6){for(const _e of z.expr)if(ce.equals(_e))return!0}const $=ce.negate(),ae=Q($).concat(Q(z));ae.sort(a);for(let _e=0;_e<ae.length;_e++){const ke=ae[_e].negate();for(let He=_e+1;He<ae.length;He++){const $e=ae[He];if(ke.equals($e))return!0}}return!1}function Q(ce){return ce.type===9?ce.expr:[ce]}},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 A},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 C(D){return D&&typeof D=="object"&&typeof D.id=="string"}R.isThemeColor=C})(u||(u={}));function a(R){return{id:R}}var x;(function(R){function C(G){return G&&typeof G=="object"&&typeof G.id=="string"&&(typeof G.color=="undefined"||u.isThemeColor(G.color))}R.isThemeIcon=C;const D=new RegExp(`^\\$\\((${r.dT.iconNameExpression}(?:${r.dT.iconModifierExpression})?)\\)$`);function M(G){const W=D.exec(G);if(!W)return;let[,se]=W;return{id:se}}R.fromString=M;function B(G,W){let se=G.id;const ie=se.lastIndexOf("~");return ie!==-1&&(se=se.substring(0,ie)),W&&(se=`${se}~${W}`),{id:se}}R.modify=B;function N(G,W){var se,ie;return G.id===W.id&&((se=G.color)===null||se===void 0?void 0:se.id)===((ie=W.color)===null||ie===void 0?void 0:ie.id)}R.isEqual=N;function K(G,W){return{id:G.id,color:W?a(W):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(C){return this.themingParticipants.push(C),this.onThemingParticipantAddedEmitter.fire(C),(0,l.OF)(()=>{const D=this.themingParticipants.indexOf(C);this.themingParticipants.splice(D,1)})}getThemingParticipants(){return this.themingParticipants}}let b=new _;f.B.add(y.ThemingContribution,b);function A(R){return b.onColorThemeChange(R)}class k extends l.JT{constructor(C){super(),this.themeService=C,this.theme=C.getColorTheme(),this._register(this.themeService.onDidColorThemeChange(D=>this.onThemeChange(D)))}onThemeChange(C){this.theme=C,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(A){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(A){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 A=o.length;A;){for(u=o,o=[];++a<A;)u&&u[a].run();a=-1,A=o.length}u=null,h=!1,f(b)}}v.nextTick=function(b){var A=new Array(arguments.length-1);if(arguments.length>1)for(var k=1;k<arguments.length;k++)A[k-1]=arguments[k];o.push(new y(b,A)),o.length===1&&!h&&c(p)};function y(b,A){this.fun=b,this.array=A}y.prototype.run=function(){this.fun.apply(null,this.array)},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 le}});var r=e(14809),i=e(50298),l=e(43403),c=e(59301),f=c.createContext({}),o=e(20439),h=e(92310),u=e.n(h),a=e(48519),x=e(80402),p=e(10228),y=e(26112);function _(q,J,V){var ue=J;return!ue&&V&&(ue="".concat(q,"-").concat(V)),ue}function b(q,J){var V=q["page".concat(J?"Y":"X","Offset")],ue="scroll".concat(J?"Top":"Left");if(typeof V!="number"){var ee=q.document;V=ee.documentElement[ue],typeof V!="number"&&(V=ee.body[ue])}return V}function A(q){var J=q.getBoundingClientRect(),V={left:J.left,top:J.top},ue=q.ownerDocument,ee=ue.defaultView||ue.parentWindow;return V.left+=b(ee),V.top+=b(ee,!0),V}var k=e(77900),R=e(8654),C=c.memo(function(q){var J=q.children;return J},function(q,J){var V=J.shouldUpdate;return!V}),D={width:0,height:0,overflow:"hidden",outline:"none"},M=c.forwardRef(function(q,J){var V=q.prefixCls,ue=q.className,ee=q.style,Q=q.title,ce=q.ariaId,z=q.footer,$=q.closable,ae=q.closeIcon,_e=q.onClose,De=q.children,ke=q.bodyStyle,He=q.bodyProps,$e=q.modalRender,Bt=q.onMouseDown,gt=q.onMouseUp,Dt=q.holderRef,nr=q.visible,Xt=q.forceRender,cr=q.width,Ge=q.height,Tt=c.useContext(f),Ut=Tt.panel,at=(0,R.x1)(Dt,Ut),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 nt=document,lt=nt.activeElement;We&<===dt.current?bt.current.focus():!We&<===bt.current&&dt.current.focus()}}});var tt={};cr!==void 0&&(tt.width=cr),Ge!==void 0&&(tt.height=Ge);var Ue;z&&(Ue=c.createElement("div",{className:"".concat(V,"-footer")},z));var ye;Q&&(ye=c.createElement("div",{className:"".concat(V,"-header")},c.createElement("div",{className:"".concat(V,"-title"),id:ce},Q)));var Ce;$&&(Ce=c.createElement("button",{type:"button",onClick:_e,"aria-label":"Close",className:"".concat(V,"-close")},ae||c.createElement("span",{className:"".concat(V,"-close-x")})));var Me=c.createElement("div",{className:"".concat(V,"-content")},Ce,ye,c.createElement("div",(0,r.Z)({className:"".concat(V,"-body"),style:ke},He),De),Ue);return c.createElement("div",{key:"dialog-element",role:"dialog","aria-labelledby":Q?ce:null,"aria-modal":"true",ref:at,style:(0,o.Z)((0,o.Z)({},ee),tt),className:u()(V,ue),onMouseDown:Bt,onMouseUp:gt},c.createElement("div",{tabIndex:0,ref:bt,style:D,"aria-hidden":"true"}),c.createElement(C,{shouldUpdate:nr||Xt},$e?$e(Me):Me),c.createElement("div",{tabIndex:0,ref:dt,style:D,"aria-hidden":"true"}))}),B=M,N=c.forwardRef(function(q,J){var V=q.prefixCls,ue=q.title,ee=q.style,Q=q.className,ce=q.visible,z=q.forceRender,$=q.destroyOnClose,ae=q.motionName,_e=q.ariaId,De=q.onVisibleChanged,ke=q.mousePosition,He=(0,c.useRef)(),$e=c.useState(),Bt=(0,i.Z)($e,2),gt=Bt[0],Dt=Bt[1],nr={};gt&&(nr.transformOrigin=gt);function Xt(){var cr=A(He.current);Dt(ke?"".concat(ke.x-cr.left,"px ").concat(ke.y-cr.top,"px"):"")}return c.createElement(k.default,{visible:ce,onVisibleChanged:De,onAppearPrepare:Xt,onEnterPrepare:Xt,forceRender:z,motionName:ae,removeOnLeave:$,ref:He},function(cr,Ge){var Tt=cr.className,Ut=cr.style;return c.createElement(B,(0,r.Z)({},q,{ref:J,title:ue,ariaId:_e,prefixCls:V,holderRef:Ge,style:(0,o.Z)((0,o.Z)((0,o.Z)({},Ut),ee),nr),className:u()(Q,Tt)}))})});N.displayName="Content";var K=N;function G(q){var J=q.prefixCls,V=q.style,ue=q.visible,ee=q.maskProps,Q=q.motionName;return c.createElement(k.default,{key:"mask",visible:ue,motionName:Q,leavedClassName:"".concat(J,"-mask-hidden")},function(ce,z){var $=ce.className,ae=ce.style;return c.createElement("div",(0,r.Z)({ref:z,style:(0,o.Z)((0,o.Z)({},ae),V),className:u()("".concat(J,"-mask"),$)},ee))})}function W(q){var J=q.prefixCls,V=J===void 0?"rc-dialog":J,ue=q.zIndex,ee=q.visible,Q=ee===void 0?!1:ee,ce=q.keyboard,z=ce===void 0?!0:ce,$=q.focusTriggerAfterClose,ae=$===void 0?!0:$,_e=q.wrapStyle,De=q.wrapClassName,ke=q.wrapProps,He=q.onClose,$e=q.afterOpenChange,Bt=q.afterClose,gt=q.transitionName,Dt=q.animation,nr=q.closable,Xt=nr===void 0?!0:nr,cr=q.mask,Ge=cr===void 0?!0:cr,Tt=q.maskTransitionName,Ut=q.maskAnimation,at=q.maskClosable,bt=at===void 0?!0:at,dt=q.maskStyle,tt=q.maskProps,Ue=q.rootClassName,ye=(0,c.useRef)(),Ce=(0,c.useRef)(),Me=(0,c.useRef)(),je=c.useState(Q),We=(0,i.Z)(je,2),nt=We[0],lt=We[1],Vt=(0,x.Z)();function Ht(){(0,a.Z)(Ce.current,document.activeElement)||(ye.current=document.activeElement)}function Pe(){if(!(0,a.Z)(Ce.current,document.activeElement)){var fe;(fe=Me.current)===null||fe===void 0||fe.focus()}}function et(fe){if(fe)Pe();else{if(lt(!1),Ge&&ye.current&&ae){try{ye.current.focus({preventScroll:!0})}catch(pe){}ye.current=null}nt&&(Bt==null||Bt())}$e==null||$e(fe)}function Kt(fe){He==null||He(fe)}var kt=(0,c.useRef)(!1),Zt=(0,c.useRef)(),Nt=function(){clearTimeout(Zt.current),kt.current=!0},tr=function(){Zt.current=setTimeout(function(){kt.current=!1})},Wt=null;bt&&(Wt=function(pe){kt.current?kt.current=!1:Ce.current===pe.target&&Kt(pe)});function Fe(fe){if(z&&fe.keyCode===p.Z.ESC){fe.stopPropagation(),Kt(fe);return}Q&&fe.keyCode===p.Z.TAB&&Me.current.changeActive(!fe.shiftKey)}return(0,c.useEffect)(function(){Q&&(lt(!0),Ht())},[Q]),(0,c.useEffect)(function(){return function(){clearTimeout(Zt.current)}},[]),c.createElement("div",(0,r.Z)({className:u()("".concat(V,"-root"),Ue)},(0,y.Z)(q,{data:!0})),c.createElement(G,{prefixCls:V,visible:Ge&&Q,motionName:_(V,Tt,Ut),style:(0,o.Z)({zIndex:ue},dt),maskProps:tt}),c.createElement("div",(0,r.Z)({tabIndex:-1,onKeyDown:Fe,className:u()("".concat(V,"-wrap"),De),ref:Ce,onClick:Wt,style:(0,o.Z)((0,o.Z)({zIndex:ue},_e),{},{display:nt?null:"none"})},ke),c.createElement(K,(0,r.Z)({},q,{onMouseDown:Nt,onMouseUp:tr,ref:Me,closable:Xt,ariaId:Vt,prefixCls:V,visible:Q&&nt,onClose:Kt,onVisibleChanged:et,motionName:_(V,gt,Dt)}))))}var se=function(J){var V=J.visible,ue=J.getContainer,ee=J.forceRender,Q=J.destroyOnClose,ce=Q===void 0?!1:Q,z=J.afterClose,$=J.panelRef,ae=c.useState(V),_e=(0,i.Z)(ae,2),De=_e[0],ke=_e[1],He=c.useMemo(function(){return{panel:$}},[$]);return c.useEffect(function(){V&&ke(!0)},[V]),!ee&&ce&&!De?null:c.createElement(f.Provider,{value:He},c.createElement(l.Z,{open:V||ee||De,autoDestroy:!1,getContainer:ue,autoLock:V||De},c.createElement(W,(0,r.Z)({},J,{destroyOnClose:ce,afterClose:function(){z==null||z(),ke(!1)}}))))};se.displayName="Dialog";var ie=se,le=ie},95013:function(d,v,e){"use strict";e.r(v),e.d(v,{Field:function(){return Wr},FieldContext:function(){return M},FormProvider:function(){return Qi},List:function(){return At},ListContext:function(){return N},default:function(){return vn},useForm:function(){return gi},useWatch:function(){return Ki}});var r=e(59301),i=e(14809),l=e(62646),c=e(70539),f=e(95764),o=e(20439),h=e(95190),u=e(99153),a=e(84851),x=e(13028),p=e(19257),y=e(93046),_=e(4635),b=e(11592),A=e(13697),k=e(48736),R="RC_FORM_INTERNAL_HOOKS",C=function(){(0,k.ZP)(!1,"Can not find FormContext. Please make sure you wrap Field under Form.")},D=r.createContext({getFieldValue:C,getFieldsValue:C,getFieldError:C,getFieldWarning:C,getFieldsError:C,isFieldsTouched:C,isFieldTouched:C,isFieldValidating:C,isFieldsValidating:C,resetFields:C,setFields:C,setFieldValue:C,setFieldsValue:C,validateFields:C,submit:C,getInternalHooks:function(){return C(),{dispatch:C,initEntityValue:C,registerField:C,useSubscribe:C,setInitialValues:C,destroyForm:C,setCallbacks:C,registerWatch:C,getFields:C,setValidateMessages:C,setPreserve:C,getInitialValue:C}}}),M=D,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 W=e(97671);function se(){return se=Object.assign?Object.assign.bind():function(er){for(var pt=1;pt<arguments.length;pt++){var rt=arguments[pt];for(var Ot in rt)Object.prototype.hasOwnProperty.call(rt,Ot)&&(er[Ot]=rt[Ot])}return er},se.apply(this,arguments)}function ie(er,pt){er.prototype=Object.create(pt.prototype),er.prototype.constructor=er,q(er,pt)}function le(er){return le=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(rt){return rt.__proto__||Object.getPrototypeOf(rt)},le(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,rt){return J()?V=Reflect.construct.bind():V=function(ft,ur,fr){var Tr=[null];Tr.push.apply(Tr,ur);var $r=Function.bind.apply(ft,Tr),Ze=new $r;return fr&&q(Ze,fr.prototype),Ze},V.apply(null,arguments)}function ue(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||!ue(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,le(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,ce=function(){};function z(er){if(!er||!er.length)return null;var pt={};return er.forEach(function(rt){var Ot=rt.field;pt[Ot]=pt[Ot]||[],pt[Ot].push(rt)}),pt}function $(er){for(var pt=arguments.length,rt=new Array(pt>1?pt-1:0),Ot=1;Ot<pt;Ot++)rt[Ot-1]=arguments[Ot];var ft=0,ur=rt.length;if(typeof er=="function")return er.apply(null,rt);if(typeof er=="string"){var fr=er.replace(Q,function(Tr){if(Tr==="%%")return"%";if(ft>=ur)return Tr;switch(Tr){case"%s":return String(rt[ft++]);case"%d":return Number(rt[ft++]);case"%j":try{return JSON.stringify(rt[ft++])}catch($r){return"[Circular]"}break;default:return Tr}});return fr}return er}function ae(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||ae(pt)&&typeof er=="string"&&!er)}function De(er,pt,rt){var Ot=[],ft=0,ur=er.length;function fr(Tr){Ot.push.apply(Ot,Tr||[]),ft++,ft===ur&&rt(Ot)}er.forEach(function(Tr){pt(Tr,fr)})}function ke(er,pt,rt){var Ot=0,ft=er.length;function ur(fr){if(fr&&fr.length){rt(fr);return}var Tr=Ot;Ot=Ot+1,Tr<ft?pt(er[Tr],ur):rt([])}ur([])}function He(er){var pt=[];return Object.keys(er).forEach(function(rt){pt.push.apply(pt,er[rt]||[])}),pt}var $e=function(er){ie(pt,er);function pt(rt,Ot){var ft;return ft=er.call(this,"Async Validation Error")||this,ft.errors=rt,ft.fields=Ot,ft}return pt}(ee(Error));function Bt(er,pt,rt,Ot,ft){if(pt.first){var ur=new Promise(function(ot,ar){var br=function(Fr){return Ot(Fr),Fr.length?ar(new $e(Fr,z(Fr))):ot(ft)},Dr=He(er);ke(Dr,rt,br)});return ur.catch(function(ot){return ot}),ur}var fr=pt.firstFields===!0?Object.keys(er):pt.firstFields||[],Tr=Object.keys(er),$r=Tr.length,Ze=0,qe=[],Ee=new Promise(function(ot,ar){var br=function(Pr){if(qe.push.apply(qe,Pr),Ze++,Ze===$r)return Ot(qe),qe.length?ar(new $e(qe,z(qe))):ot(ft)};Tr.length||(Ot(qe),ot(ft)),Tr.forEach(function(Dr){var Pr=er[Dr];fr.indexOf(Dr)!==-1?ke(Pr,rt,br):De(Pr,rt,br)})});return Ee.catch(function(ot){return ot}),Ee}function gt(er){return!!(er&&er.message!==void 0)}function Dt(er,pt){for(var rt=er,Ot=0;Ot<pt.length;Ot++){if(rt==null)return rt;rt=rt[pt[Ot]]}return rt}function nr(er,pt){return function(rt){var Ot;return er.fullFields?Ot=Dt(pt,er.fullFields):Ot=pt[rt.field||er.fullField],gt(rt)?(rt.field=rt.field||er.fullField,rt.fieldValue=Ot,rt):{message:typeof rt=="function"?rt():rt,fieldValue:Ot,field:rt.field||er.fullField}}}function Xt(er,pt){if(pt){for(var rt in pt)if(pt.hasOwnProperty(rt)){var Ot=pt[rt];typeof Ot=="object"&&typeof er[rt]=="object"?er[rt]=se({},er[rt],Ot):er[rt]=Ot}}return er}var cr=function(pt,rt,Ot,ft,ur,fr){pt.required&&(!Ot.hasOwnProperty(pt.field)||_e(rt,fr||pt.type))&&ft.push($(ur.messages.required,pt.fullField))},Ge=function(pt,rt,Ot,ft,ur){(/^\s+$/.test(rt)||rt==="")&&ft.push($(ur.messages.whitespace,pt.fullField))},Tt,Ut=function(){if(Tt)return Tt;var er="[a-fA-F\\d:]",pt=function(un){return un&&un.includeBoundaries?"(?:(?<=\\s|^)(?="+er+")|(?<="+er+")(?=\\s|$))":""},rt="(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)(?:\\.(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)){3}",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}(?:"+rt+"|:"+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}(?::"+rt+"|(?::"+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}:"+rt+"|(?::"+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}:"+rt+"|(?::"+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}:"+rt+"|(?::"+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}:"+rt+"|(?::"+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}:"+rt+"|(?::"+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(),ur=new RegExp("(?:^"+rt+"$)|(?:^"+ft+"$)"),fr=new RegExp("^"+rt+"$"),Tr=new RegExp("^"+ft+"$"),$r=function(un){return un&&un.exact?ur:new RegExp("(?:"+pt(un)+rt+pt(un)+")|(?:"+pt(un)+ft+pt(un)+")","g")};$r.v4=function(Er){return Er&&Er.exact?fr:new RegExp(""+pt(Er)+rt+pt(Er),"g")},$r.v6=function(Er){return Er&&Er.exact?Tr:new RegExp(""+pt(Er)+ft+pt(Er),"g")};var Ze="(?:(?:[a-z]+:)?//)",qe="(?:\\S+(?::\\S*)?@)?",Ee=$r.v4().source,ot=$r.v6().source,ar="(?:(?:[a-z\\u00a1-\\uffff0-9][-_]*)*[a-z\\u00a1-\\uffff0-9]+)",br="(?:\\.(?:[a-z\\u00a1-\\uffff0-9]-*)*[a-z\\u00a1-\\uffff0-9]+)*",Dr="(?:\\.(?:[a-z\\u00a1-\\uffff]{2,}))",Pr="(?::\\d{2,5})?",Fr='(?:[/?#][^\\s"]*)?',mn="(?:"+Ze+"|www\\.)"+qe+"(?:localhost|"+Ee+"|"+ot+"|"+ar+br+Dr+")"+Pr+Fr;return Tt=new RegExp("(?:^"+mn+"$)","i"),Tt},at={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(rt){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(at.email)},url:function(pt){return typeof pt=="string"&&pt.length<=2048&&!!pt.match(Ut())},hex:function(pt){return typeof pt=="string"&&!!pt.match(at.hex)}},dt=function(pt,rt,Ot,ft,ur){if(pt.required&&rt===void 0){cr(pt,rt,Ot,ft,ur);return}var fr=["integer","float","array","regexp","object","method","email","number","date","url","hex"],Tr=pt.type;fr.indexOf(Tr)>-1?bt[Tr](rt)||ft.push($(ur.messages.types[Tr],pt.fullField,pt.type)):Tr&&typeof rt!==pt.type&&ft.push($(ur.messages.types[Tr],pt.fullField,pt.type))},tt=function(pt,rt,Ot,ft,ur){var fr=typeof pt.len=="number",Tr=typeof pt.min=="number",$r=typeof pt.max=="number",Ze=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,qe=rt,Ee=null,ot=typeof rt=="number",ar=typeof rt=="string",br=Array.isArray(rt);if(ot?Ee="number":ar?Ee="string":br&&(Ee="array"),!Ee)return!1;br&&(qe=rt.length),ar&&(qe=rt.replace(Ze,"_").length),fr?qe!==pt.len&&ft.push($(ur.messages[Ee].len,pt.fullField,pt.len)):Tr&&!$r&&qe<pt.min?ft.push($(ur.messages[Ee].min,pt.fullField,pt.min)):$r&&!Tr&&qe>pt.max?ft.push($(ur.messages[Ee].max,pt.fullField,pt.max)):Tr&&$r&&(qe<pt.min||qe>pt.max)&&ft.push($(ur.messages[Ee].range,pt.fullField,pt.min,pt.max))},Ue="enum",ye=function(pt,rt,Ot,ft,ur){pt[Ue]=Array.isArray(pt[Ue])?pt[Ue]:[],pt[Ue].indexOf(rt)===-1&&ft.push($(ur.messages[Ue],pt.fullField,pt[Ue].join(", ")))},Ce=function(pt,rt,Ot,ft,ur){if(pt.pattern){if(pt.pattern instanceof RegExp)pt.pattern.lastIndex=0,pt.pattern.test(rt)||ft.push($(ur.messages.pattern.mismatch,pt.fullField,rt,pt.pattern));else if(typeof pt.pattern=="string"){var fr=new RegExp(pt.pattern);fr.test(rt)||ft.push($(ur.messages.pattern.mismatch,pt.fullField,rt,pt.pattern))}}},Me={required:cr,whitespace:Ge,type:dt,range:tt,enum:ye,pattern:Ce},je=function(pt,rt,Ot,ft,ur){var fr=[],Tr=pt.required||!pt.required&&ft.hasOwnProperty(pt.field);if(Tr){if(_e(rt,"string")&&!pt.required)return Ot();Me.required(pt,rt,ft,fr,ur,"string"),_e(rt,"string")||(Me.type(pt,rt,ft,fr,ur),Me.range(pt,rt,ft,fr,ur),Me.pattern(pt,rt,ft,fr,ur),pt.whitespace===!0&&Me.whitespace(pt,rt,ft,fr,ur))}Ot(fr)},We=function(pt,rt,Ot,ft,ur){var fr=[],Tr=pt.required||!pt.required&&ft.hasOwnProperty(pt.field);if(Tr){if(_e(rt)&&!pt.required)return Ot();Me.required(pt,rt,ft,fr,ur),rt!==void 0&&Me.type(pt,rt,ft,fr,ur)}Ot(fr)},nt=function(pt,rt,Ot,ft,ur){var fr=[],Tr=pt.required||!pt.required&&ft.hasOwnProperty(pt.field);if(Tr){if(rt===""&&(rt=void 0),_e(rt)&&!pt.required)return Ot();Me.required(pt,rt,ft,fr,ur),rt!==void 0&&(Me.type(pt,rt,ft,fr,ur),Me.range(pt,rt,ft,fr,ur))}Ot(fr)},lt=function(pt,rt,Ot,ft,ur){var fr=[],Tr=pt.required||!pt.required&&ft.hasOwnProperty(pt.field);if(Tr){if(_e(rt)&&!pt.required)return Ot();Me.required(pt,rt,ft,fr,ur),rt!==void 0&&Me.type(pt,rt,ft,fr,ur)}Ot(fr)},Vt=function(pt,rt,Ot,ft,ur){var fr=[],Tr=pt.required||!pt.required&&ft.hasOwnProperty(pt.field);if(Tr){if(_e(rt)&&!pt.required)return Ot();Me.required(pt,rt,ft,fr,ur),_e(rt)||Me.type(pt,rt,ft,fr,ur)}Ot(fr)},Ht=function(pt,rt,Ot,ft,ur){var fr=[],Tr=pt.required||!pt.required&&ft.hasOwnProperty(pt.field);if(Tr){if(_e(rt)&&!pt.required)return Ot();Me.required(pt,rt,ft,fr,ur),rt!==void 0&&(Me.type(pt,rt,ft,fr,ur),Me.range(pt,rt,ft,fr,ur))}Ot(fr)},Pe=function(pt,rt,Ot,ft,ur){var fr=[],Tr=pt.required||!pt.required&&ft.hasOwnProperty(pt.field);if(Tr){if(_e(rt)&&!pt.required)return Ot();Me.required(pt,rt,ft,fr,ur),rt!==void 0&&(Me.type(pt,rt,ft,fr,ur),Me.range(pt,rt,ft,fr,ur))}Ot(fr)},et=function(pt,rt,Ot,ft,ur){var fr=[],Tr=pt.required||!pt.required&&ft.hasOwnProperty(pt.field);if(Tr){if(rt==null&&!pt.required)return Ot();Me.required(pt,rt,ft,fr,ur,"array"),rt!=null&&(Me.type(pt,rt,ft,fr,ur),Me.range(pt,rt,ft,fr,ur))}Ot(fr)},Kt=function(pt,rt,Ot,ft,ur){var fr=[],Tr=pt.required||!pt.required&&ft.hasOwnProperty(pt.field);if(Tr){if(_e(rt)&&!pt.required)return Ot();Me.required(pt,rt,ft,fr,ur),rt!==void 0&&Me.type(pt,rt,ft,fr,ur)}Ot(fr)},kt="enum",Zt=function(pt,rt,Ot,ft,ur){var fr=[],Tr=pt.required||!pt.required&&ft.hasOwnProperty(pt.field);if(Tr){if(_e(rt)&&!pt.required)return Ot();Me.required(pt,rt,ft,fr,ur),rt!==void 0&&Me[kt](pt,rt,ft,fr,ur)}Ot(fr)},Nt=function(pt,rt,Ot,ft,ur){var fr=[],Tr=pt.required||!pt.required&&ft.hasOwnProperty(pt.field);if(Tr){if(_e(rt,"string")&&!pt.required)return Ot();Me.required(pt,rt,ft,fr,ur),_e(rt,"string")||Me.pattern(pt,rt,ft,fr,ur)}Ot(fr)},tr=function(pt,rt,Ot,ft,ur){var fr=[],Tr=pt.required||!pt.required&&ft.hasOwnProperty(pt.field);if(Tr){if(_e(rt,"date")&&!pt.required)return Ot();if(Me.required(pt,rt,ft,fr,ur),!_e(rt,"date")){var $r;rt instanceof Date?$r=rt:$r=new Date(rt),Me.type(pt,$r,ft,fr,ur),$r&&Me.range(pt,$r.getTime(),ft,fr,ur)}}Ot(fr)},Wt=function(pt,rt,Ot,ft,ur){var fr=[],Tr=Array.isArray(rt)?"array":typeof rt;Me.required(pt,rt,ft,fr,ur,Tr),Ot(fr)},Fe=function(pt,rt,Ot,ft,ur){var fr=pt.type,Tr=[],$r=pt.required||!pt.required&&ft.hasOwnProperty(pt.field);if($r){if(_e(rt,fr)&&!pt.required)return Ot();Me.required(pt,rt,ft,Tr,ur,fr),_e(rt,fr)||Me.type(pt,rt,ft,Tr,ur)}Ot(Tr)},fe=function(pt,rt,Ot,ft,ur){var fr=[],Tr=pt.required||!pt.required&&ft.hasOwnProperty(pt.field);if(Tr){if(_e(rt)&&!pt.required)return Ot();Me.required(pt,rt,ft,fr,ur)}Ot(fr)},pe={string:je,method:We,number:nt,boolean:lt,regexp:Vt,integer:Ht,float:Pe,array:et,object:Kt,enum:Zt,pattern:Nt,date:tr,url:Fe,hex:Fe,email:Fe,required:Wt,any:fe};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 Ie=Pt(),ct=function(){function er(rt){this.rules=null,this._messages=Ie,this.define(rt)}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(ur){var fr=Ot[ur];ft.rules[ur]=Array.isArray(fr)?fr:[fr]})},pt.messages=function(Ot){return Ot&&(this._messages=Xt(Pt(),Ot)),this._messages},pt.validate=function(Ot,ft,ur){var fr=this;ft===void 0&&(ft={}),ur===void 0&&(ur=function(){});var Tr=Ot,$r=ft,Ze=ur;if(typeof $r=="function"&&(Ze=$r,$r={}),!this.rules||Object.keys(this.rules).length===0)return Ze&&Ze(null,Tr),Promise.resolve(Tr);function qe(Dr){var Pr=[],Fr={};function mn(un){if(Array.isArray(un)){var Jr;Pr=(Jr=Pr).concat.apply(Jr,un)}else Pr.push(un)}for(var Er=0;Er<Dr.length;Er++)mn(Dr[Er]);Pr.length?(Fr=z(Pr),Ze(Pr,Fr)):Ze(null,Tr)}if($r.messages){var Ee=this.messages();Ee===Ie&&(Ee=Pt()),Xt(Ee,$r.messages),$r.messages=Ee}else $r.messages=this.messages();var ot={},ar=$r.keys||Object.keys(this.rules);ar.forEach(function(Dr){var Pr=fr.rules[Dr],Fr=Tr[Dr];Pr.forEach(function(mn){var Er=mn;typeof Er.transform=="function"&&(Tr===Ot&&(Tr=se({},Tr)),Fr=Tr[Dr]=Er.transform(Fr)),typeof Er=="function"?Er={validator:Er}:Er=se({},Er),Er.validator=fr.getValidationMethod(Er),Er.validator&&(Er.field=Dr,Er.fullField=Er.fullField||Dr,Er.type=fr.getType(Er),ot[Dr]=ot[Dr]||[],ot[Dr].push({rule:Er,value:Fr,source:Tr,field:Dr}))})});var br={};return Bt(ot,$r,function(Dr,Pr){var Fr=Dr.rule,mn=(Fr.type==="object"||Fr.type==="array")&&(typeof Fr.fields=="object"||typeof Fr.defaultField=="object");mn=mn&&(Fr.required||!Fr.required&&Dr.value),Fr.field=Dr.field;function Er(sn,xn){return se({},xn,{fullField:Fr.fullField+"."+sn,fullFields:Fr.fullFields?[].concat(Fr.fullFields,[sn]):[sn]})}function un(sn){sn===void 0&&(sn=[]);var xn=Array.isArray(sn)?sn:[sn];!$r.suppressWarning&&xn.length&&er.warning("async-validator:",xn),xn.length&&Fr.message!==void 0&&(xn=[].concat(Fr.message));var ha=xn.map(nr(Fr,Tr));if($r.first&&ha.length)return br[Fr.field]=1,Pr(ha);if(!mn)Pr(ha);else{if(Fr.required&&!Dr.value)return Fr.message!==void 0?ha=[].concat(Fr.message).map(nr(Fr,Tr)):$r.error&&(ha=[$r.error(Fr,$($r.messages.required,Fr.field))]),Pr(ha);var Ci={};Fr.defaultField&&Object.keys(Dr.value).map(function(ai){Ci[ai]=Fr.defaultField}),Ci=se({},Ci,Dr.rule.fields);var li={};Object.keys(Ci).forEach(function(ai){var Fi=Ci[ai],oa=Array.isArray(Fi)?Fi:[Fi];li[ai]=oa.map(Er.bind(null,ai))});var _n=new er(li);_n.messages($r.messages),Dr.rule.options&&(Dr.rule.options.messages=$r.messages,Dr.rule.options.error=$r.error),_n.validate(Dr.value,Dr.rule.options||$r,function(ai){var Fi=[];ha&&ha.length&&Fi.push.apply(Fi,ha),ai&&ai.length&&Fi.push.apply(Fi,ai),Pr(Fi.length?Fi:null)})}}var Jr;if(Fr.asyncValidator)Jr=Fr.asyncValidator(Fr,Dr.value,un,Dr.source,$r);else if(Fr.validator){try{Jr=Fr.validator(Fr,Dr.value,un,Dr.source,$r)}catch(sn){console.error==null||console.error(sn),$r.suppressValidatorError||setTimeout(function(){throw sn},0),un(sn.message)}Jr===!0?un():Jr===!1?un(typeof Fr.message=="function"?Fr.message(Fr.fullField||Fr.field):Fr.message||(Fr.fullField||Fr.field)+" fails"):Jr instanceof Array?un(Jr):Jr instanceof Error&&un(Jr.message)}Jr&&Jr.then&&Jr.then(function(){return un()},function(sn){return un(sn)})},function(Dr){qe(Dr)},Tr)},pt.getType=function(Ot){if(Ot.type===void 0&&Ot.pattern instanceof RegExp&&(Ot.type="pattern"),typeof Ot.validator!="function"&&Ot.type&&!pe.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),ur=ft.indexOf("message");return ur!==-1&&ft.splice(ur,1),ft.length===1&&ft[0]==="required"?pe.required:pe[this.getType(Ot)]||void 0},er}();ct.register=function(pt,rt){if(typeof rt!="function")throw new Error("Cannot register a validator by type, validator is not a function");pe[pt]=rt},ct.warning=ce,ct.messages=Ie,ct.validators=pe;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}"}},Oe=e(24434),xt=ct;function xe(er,pt){return er.replace(/\$\{\w+\}/g,function(rt){var Ot=rt.slice(2,-1);return pt[Ot]})}var Ye="CODE_LOGIC_ERROR";function mt(er,pt,rt,Ot,ft){return Mt.apply(this,arguments)}function Mt(){return Mt=(0,f.Z)((0,c.Z)().mark(function er(pt,rt,Ot,ft,ur){var fr,Tr,$r,Ze,qe,Ee,ot,ar,br;return(0,c.Z)().wrap(function(Pr){for(;;)switch(Pr.prev=Pr.next){case 0:return fr=(0,o.Z)({},Ot),delete fr.ruleIndex,xt.warning=function(){},fr.validator&&(Tr=fr.validator,fr.validator=function(){try{return Tr.apply(void 0,arguments)}catch(Fr){return console.error(Fr),Promise.reject(Ye)}}),$r=null,fr&&fr.type==="array"&&fr.defaultField&&($r=fr.defaultField,delete fr.defaultField),Ze=new xt((0,_.Z)({},pt,[fr])),qe=(0,Oe.T)(wt,ft.validateMessages),Ze.messages(qe),Ee=[],Pr.prev=10,Pr.next=13,Promise.resolve(Ze.validate((0,_.Z)({},pt,rt),(0,o.Z)({},ft)));case 13:Pr.next=18;break;case 15:Pr.prev=15,Pr.t0=Pr.catch(10),Pr.t0.errors&&(Ee=Pr.t0.errors.map(function(Fr,mn){var Er=Fr.message,un=Er===Ye?qe.default:Er;return r.isValidElement(un)?r.cloneElement(un,{key:"error_".concat(mn)}):un}));case 18:if(!(!Ee.length&&$r)){Pr.next=23;break}return Pr.next=21,Promise.all(rt.map(function(Fr,mn){return mt("".concat(pt,".").concat(mn),Fr,$r,ft,ur)}));case 21:return ot=Pr.sent,Pr.abrupt("return",ot.reduce(function(Fr,mn){return[].concat((0,h.Z)(Fr),(0,h.Z)(mn))},[]));case 23:return ar=(0,o.Z)((0,o.Z)({},Ot),{},{name:pt,enum:(Ot.enum||[]).join(", ")},ur),br=Ee.map(function(Fr){return typeof Fr=="string"?xe(Fr,ar):Fr}),Pr.abrupt("return",br);case 26:case"end":return Pr.stop()}},er,null,[[10,15]])})),Mt.apply(this,arguments)}function Be(er,pt,rt,Ot,ft,ur){var fr=er.join("."),Tr=rt.map(function(qe,Ee){var ot=qe.validator,ar=(0,o.Z)((0,o.Z)({},qe),{},{ruleIndex:Ee});return ot&&(ar.validator=function(br,Dr,Pr){var Fr=!1,mn=function(){for(var Jr=arguments.length,sn=new Array(Jr),xn=0;xn<Jr;xn++)sn[xn]=arguments[xn];Promise.resolve().then(function(){(0,k.ZP)(!Fr,"Your validator function has already return a promise. `callback` will be ignored."),Fr||Pr.apply(void 0,sn)})},Er=ot(br,Dr,mn);Fr=Er&&typeof Er.then=="function"&&typeof Er.catch=="function",(0,k.ZP)(Fr,"`callback` is deprecated. Please return a promise instead."),Fr&&Er.then(function(){Pr()}).catch(function(un){Pr(un||" ")})}),ar}).sort(function(qe,Ee){var ot=qe.warningOnly,ar=qe.ruleIndex,br=Ee.warningOnly,Dr=Ee.ruleIndex;return!!ot==!!br?ar-Dr:ot?1:-1}),$r;if(ft===!0)$r=new Promise(function(){var qe=(0,f.Z)((0,c.Z)().mark(function Ee(ot,ar){var br,Dr,Pr;return(0,c.Z)().wrap(function(mn){for(;;)switch(mn.prev=mn.next){case 0:br=0;case 1:if(!(br<Tr.length)){mn.next=12;break}return Dr=Tr[br],mn.next=5,mt(fr,pt,Dr,Ot,ur);case 5:if(Pr=mn.sent,!Pr.length){mn.next=9;break}return ar([{errors:Pr,rule:Dr}]),mn.abrupt("return");case 9:br+=1,mn.next=1;break;case 12:ot([]);case 13:case"end":return mn.stop()}},Ee)}));return function(Ee,ot){return qe.apply(this,arguments)}}());else{var Ze=Tr.map(function(qe){return mt(fr,pt,qe,Ot,ur).then(function(Ee){return{errors:Ee,rule:qe}})});$r=(ft?Zr(Ze):Ir(Ze)).then(function(qe){return Promise.reject(qe)})}return $r.catch(function(qe){return qe}),$r}function Ir(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 ur,fr=(ur=[]).concat.apply(ur,(0,h.Z)(ft));return fr}));case 1:case"end":return Ot.stop()}},er)})),St.apply(this,arguments)}function Zr(er){return Yr.apply(this,arguments)}function Yr(){return Yr=(0,f.Z)((0,c.Z)().mark(function er(pt){var rt;return(0,c.Z)().wrap(function(ft){for(;;)switch(ft.prev=ft.next){case 0:return rt=0,ft.abrupt("return",new Promise(function(ur){pt.forEach(function(fr){fr.then(function(Tr){Tr.errors.length&&ur([Tr]),rt+=1,rt===pt.length&&ur([])})})}));case 2:case"end":return ft.stop()}},er)})),Yr.apply(this,arguments)}var xr=e(93664),Mr=e(97938);function mr(er){return K(er)}function Nr(er,pt){var rt={};return pt.forEach(function(Ot){var ft=(0,Mr.Z)(er,Ot);rt=(0,Oe.Z)(rt,Ot,ft)}),rt}function nn(er,pt){var rt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;return er&&er.some(function(Ot){return on(pt,Ot,rt)})}function on(er,pt){var rt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;return!er||!pt||!rt&&er.length!==pt.length?!1:pt.every(function(Ot,ft){return er[ft]===Ot})}function or(er,pt){if(er===pt)return!0;if(!er&&pt||er&&!pt||!er||!pt||(0,xr.Z)(er)!=="object"||(0,xr.Z)(pt)!=="object")return!1;var rt=Object.keys(er),Ot=Object.keys(pt),ft=new Set([].concat(rt,Ot));return(0,h.Z)(ft).every(function(ur){var fr=er[ur],Tr=pt[ur];return typeof fr=="function"&&typeof Tr=="function"?!0:fr===Tr})}function Rt(er){var pt=arguments.length<=1?void 0:arguments[1];return pt&&pt.target&&(0,xr.Z)(pt.target)==="object"&&er in pt.target?pt.target[er]:pt}function _t(er,pt,rt){var Ot=er.length;if(pt<0||pt>=Ot||rt<0||rt>=Ot)return er;var ft=er[pt],ur=pt-rt;return ur>0?[].concat((0,h.Z)(er.slice(0,rt)),[ft],(0,h.Z)(er.slice(rt,pt)),(0,h.Z)(er.slice(pt+1,Ot))):ur<0?[].concat((0,h.Z)(er.slice(0,pt)),(0,h.Z)(er.slice(pt+1,rt+1)),[ft],(0,h.Z)(er.slice(rt+1,Ot))):er}var vt=["name"],$t=[];function Sr(er,pt,rt,Ot,ft,ur){return typeof er=="function"?er(pt,rt,"source"in ur?{source:ur.source}:{}):Ot!==ft}var vr=function(er){(0,p.Z)(rt,er);var pt=(0,y.Z)(rt);function rt(Ot){var ft;if((0,u.Z)(this,rt),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",$t),(0,_.Z)((0,x.Z)(ft),"warnings",$t),(0,_.Z)((0,x.Z)(ft),"cancelRegister",function(){var $r=ft.props,Ze=$r.preserve,qe=$r.isListField,Ee=$r.name;ft.cancelRegisterFunc&&ft.cancelRegisterFunc(qe,Ze,mr(Ee)),ft.cancelRegisterFunc=null}),(0,_.Z)((0,x.Z)(ft),"getNamePath",function(){var $r=ft.props,Ze=$r.name,qe=$r.fieldContext,Ee=qe.prefixName,ot=Ee===void 0?[]:Ee;return Ze!==void 0?[].concat((0,h.Z)(ot),(0,h.Z)(Ze)):[]}),(0,_.Z)((0,x.Z)(ft),"getRules",function(){var $r=ft.props,Ze=$r.rules,qe=Ze===void 0?[]:Ze,Ee=$r.fieldContext;return qe.map(function(ot){return typeof ot=="function"?ot(Ee):ot})}),(0,_.Z)((0,x.Z)(ft),"refresh",function(){ft.mounted&&ft.setState(function($r){var Ze=$r.resetCount;return{resetCount:Ze+1}})}),(0,_.Z)((0,x.Z)(ft),"metaCache",null),(0,_.Z)((0,x.Z)(ft),"triggerMetaEvent",function($r){var Ze=ft.props.onMetaChange;if(Ze){var qe=(0,o.Z)((0,o.Z)({},ft.getMeta()),{},{destroy:$r});(0,A.Z)(ft.metaCache,qe)||Ze(qe),ft.metaCache=qe}else ft.metaCache=null}),(0,_.Z)((0,x.Z)(ft),"onStoreChange",function($r,Ze,qe){var Ee=ft.props,ot=Ee.shouldUpdate,ar=Ee.dependencies,br=ar===void 0?[]:ar,Dr=Ee.onReset,Pr=qe.store,Fr=ft.getNamePath(),mn=ft.getValue($r),Er=ft.getValue(Pr),un=Ze&&nn(Ze,Fr);switch(qe.type==="valueUpdate"&&qe.source==="external"&&mn!==Er&&(ft.touched=!0,ft.dirty=!0,ft.validatePromise=null,ft.errors=$t,ft.warnings=$t,ft.triggerMetaEvent()),qe.type){case"reset":if(!Ze||un){ft.touched=!1,ft.dirty=!1,ft.validatePromise=void 0,ft.errors=$t,ft.warnings=$t,ft.triggerMetaEvent(),Dr==null||Dr(),ft.refresh();return}break;case"remove":{if(ot){ft.reRender();return}break}case"setField":{var Jr=qe.data;if(un){"touched"in Jr&&(ft.touched=Jr.touched),"validating"in Jr&&!("originRCField"in Jr)&&(ft.validatePromise=Jr.validating?Promise.resolve([]):null),"errors"in Jr&&(ft.errors=Jr.errors||$t),"warnings"in Jr&&(ft.warnings=Jr.warnings||$t),ft.dirty=!0,ft.triggerMetaEvent(),ft.reRender();return}else if("value"in Jr&&nn(Ze,Fr,!0)){ft.reRender();return}if(ot&&!Fr.length&&Sr(ot,$r,Pr,mn,Er,qe)){ft.reRender();return}break}case"dependenciesUpdate":{var sn=br.map(mr);if(sn.some(function(xn){return nn(qe.relatedFields,xn)})){ft.reRender();return}break}default:if(un||(!br.length||Fr.length||ot)&&Sr(ot,$r,Pr,mn,Er,qe)){ft.reRender();return}break}ot===!0&&ft.reRender()}),(0,_.Z)((0,x.Z)(ft),"validateRules",function($r){var Ze=ft.getNamePath(),qe=ft.getValue(),Ee=$r||{},ot=Ee.triggerName,ar=Ee.validateOnly,br=ar===void 0?!1:ar,Dr=Promise.resolve().then((0,f.Z)((0,c.Z)().mark(function Pr(){var Fr,mn,Er,un,Jr,sn,xn;return(0,c.Z)().wrap(function(Ci){for(;;)switch(Ci.prev=Ci.next){case 0:if(ft.mounted){Ci.next=2;break}return Ci.abrupt("return",[]);case 2:if(Fr=ft.props,mn=Fr.validateFirst,Er=mn===void 0?!1:mn,un=Fr.messageVariables,Jr=Fr.validateDebounce,sn=ft.getRules(),ot&&(sn=sn.filter(function(li){return li}).filter(function(li){var _n=li.validateTrigger;if(!_n)return!0;var ai=K(_n);return ai.includes(ot)})),!(Jr&&ot)){Ci.next=10;break}return Ci.next=8,new Promise(function(li){setTimeout(li,Jr)});case 8:if(ft.validatePromise===Dr){Ci.next=10;break}return Ci.abrupt("return",[]);case 10:return xn=Be(Ze,qe,sn,$r,Er,un),xn.catch(function(li){return li}).then(function(){var li=arguments.length>0&&arguments[0]!==void 0?arguments[0]:$t;if(ft.validatePromise===Dr){var _n;ft.validatePromise=null;var ai=[],Fi=[];(_n=li.forEach)===null||_n===void 0||_n.call(li,function(oa){var Cs=oa.rule.warningOnly,ua=oa.errors,ms=ua===void 0?$t:ua;Cs?Fi.push.apply(Fi,(0,h.Z)(ms)):ai.push.apply(ai,(0,h.Z)(ms))}),ft.errors=ai,ft.warnings=Fi,ft.triggerMetaEvent(),ft.reRender()}}),Ci.abrupt("return",xn);case 13:case"end":return Ci.stop()}},Pr)})));return br||(ft.validatePromise=Dr,ft.dirty=!0,ft.errors=$t,ft.warnings=$t,ft.triggerMetaEvent(),ft.reRender()),Dr}),(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 $r=ft.props.fieldContext,Ze=$r.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 $r={touched:ft.isFieldTouched(),validating:ft.prevValidating,errors:ft.errors,warnings:ft.warnings,name:ft.getNamePath(),validated:ft.validatePromise===null};return $r}),(0,_.Z)((0,x.Z)(ft),"getOnlyChild",function($r){if(typeof $r=="function"){var Ze=ft.getMeta();return(0,o.Z)((0,o.Z)({},ft.getOnlyChild($r(ft.getControlled(),Ze,ft.props.fieldContext))),{},{isFunction:!0})}var qe=(0,b.Z)($r);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($r){var Ze=ft.props.fieldContext.getFieldsValue,qe=ft.getNamePath();return(0,Mr.Z)($r||Ze(!0),qe)}),(0,_.Z)((0,x.Z)(ft),"getControlled",function(){var $r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},Ze=ft.props,qe=Ze.trigger,Ee=Ze.validateTrigger,ot=Ze.getValueFromEvent,ar=Ze.normalize,br=Ze.valuePropName,Dr=Ze.getValueProps,Pr=Ze.fieldContext,Fr=Ee!==void 0?Ee:Pr.validateTrigger,mn=ft.getNamePath(),Er=Pr.getInternalHooks,un=Pr.getFieldsValue,Jr=Er(R),sn=Jr.dispatch,xn=ft.getValue(),ha=Dr||function(ai){return(0,_.Z)({},br,ai)},Ci=$r[qe],li=(0,o.Z)((0,o.Z)({},$r),ha(xn));li[qe]=function(){ft.touched=!0,ft.dirty=!0,ft.triggerMetaEvent();for(var ai,Fi=arguments.length,oa=new Array(Fi),Cs=0;Cs<Fi;Cs++)oa[Cs]=arguments[Cs];ot?ai=ot.apply(void 0,oa):ai=Rt.apply(void 0,[br].concat(oa)),ar&&(ai=ar(ai,xn,un(!0))),sn({type:"updateValue",namePath:mn,value:ai}),Ci&&Ci.apply(void 0,oa)};var _n=K(Fr||[]);return _n.forEach(function(ai){var Fi=li[ai];li[ai]=function(){Fi&&Fi.apply(void 0,arguments);var oa=ft.props.rules;oa&&oa.length&&sn({type:"validateField",namePath:mn,triggerName:ai})}}),li}),Ot.fieldContext){var ur=Ot.fieldContext.getInternalHooks,fr=ur(R),Tr=fr.initEntityValue;Tr((0,x.Z)(ft))}return ft}return(0,a.Z)(rt,[{key:"componentDidMount",value:function(){var ft=this.props,ur=ft.shouldUpdate,fr=ft.fieldContext;if(this.mounted=!0,fr){var Tr=fr.getInternalHooks,$r=Tr(R),Ze=$r.registerField;this.cancelRegisterFunc=Ze(this)}ur===!0&&this.reRender()}},{key:"componentWillUnmount",value:function(){this.cancelRegister(),this.triggerMetaEvent(!0),this.mounted=!1}},{key:"reRender",value:function(){this.mounted&&this.forceUpdate()}},{key:"render",value:function(){var ft=this.state.resetCount,ur=this.props.children,fr=this.getOnlyChild(ur),Tr=fr.child,$r=fr.isFunction,Ze;return $r?Ze=Tr:r.isValidElement(Tr)?Ze=r.cloneElement(Tr,this.getControlled(Tr.props)):((0,k.ZP)(!Tr,"`children` of Field is not validate ReactElement."),Ze=Tr),r.createElement(r.Fragment,{key:ft},Ze)}}]),rt}(r.Component);(0,_.Z)(vr,"contextType",M),(0,_.Z)(vr,"defaultProps",{trigger:"onChange",valuePropName:"value"});function Qr(er){var pt=er.name,rt=(0,l.Z)(er,vt),Ot=r.useContext(M),ft=r.useContext(N),ur=pt!==void 0?mr(pt):void 0,fr="keep";return rt.isListField||(fr="_".concat((ur||[]).join("_"))),r.createElement(vr,(0,i.Z)({key:fr,name:ur,isListField:!!ft},rt,{fieldContext:Ot}))}var Wr=Qr;function An(er){var pt=er.name,rt=er.initialValue,Ot=er.children,ft=er.rules,ur=er.validateTrigger,fr=er.isListField,Tr=r.useContext(M),$r=r.useContext(N),Ze=r.useRef({keys:[],id:0}),qe=Ze.current,Ee=r.useMemo(function(){var Dr=mr(Tr.prefixName)||[];return[].concat((0,h.Z)(Dr),(0,h.Z)(mr(pt)))},[Tr.prefixName,pt]),ot=r.useMemo(function(){return(0,o.Z)((0,o.Z)({},Tr),{},{prefixName:Ee})},[Tr,Ee]),ar=r.useMemo(function(){return{getKey:function(Pr){var Fr=Ee.length,mn=Pr[Fr];return[qe.keys[mn],Pr.slice(Fr+1)]}}},[Ee]);if(typeof Ot!="function")return(0,k.ZP)(!1,"Form.List only accepts function as children."),null;var br=function(Pr,Fr,mn){var Er=mn.source;return Er==="internal"?!1:Pr!==Fr};return r.createElement(N.Provider,{value:ar},r.createElement(M.Provider,{value:ot},r.createElement(Wr,{name:[],shouldUpdate:br,rules:ft,validateTrigger:ur,initialValue:rt,isList:!0,isListField:fr!=null?fr:!!$r},function(Dr,Pr){var Fr=Dr.value,mn=Fr===void 0?[]:Fr,Er=Dr.onChange,un=Tr.getFieldValue,Jr=function(){var Ci=un(Ee||[]);return Ci||[]},sn={add:function(Ci,li){var _n=Jr();li>=0&&li<=_n.length?(qe.keys=[].concat((0,h.Z)(qe.keys.slice(0,li)),[qe.id],(0,h.Z)(qe.keys.slice(li))),Er([].concat((0,h.Z)(_n.slice(0,li)),[Ci],(0,h.Z)(_n.slice(li))))):(qe.keys=[].concat((0,h.Z)(qe.keys),[qe.id]),Er([].concat((0,h.Z)(_n),[Ci]))),qe.id+=1},remove:function(Ci){var li=Jr(),_n=new Set(Array.isArray(Ci)?Ci:[Ci]);_n.size<=0||(qe.keys=qe.keys.filter(function(ai,Fi){return!_n.has(Fi)}),Er(li.filter(function(ai,Fi){return!_n.has(Fi)})))},move:function(Ci,li){if(Ci!==li){var _n=Jr();Ci<0||Ci>=_n.length||li<0||li>=_n.length||(qe.keys=_t(qe.keys,Ci,li),Er(_t(_n,Ci,li)))}}},xn=mn||[];return Array.isArray(xn)||(xn=[]),Ot(xn.map(function(ha,Ci){var li=qe.keys[Ci];return li===void 0&&(qe.keys[Ci]=qe.id,li=qe.keys[Ci],qe.id+=1),{name:Ci,key:li,isListField:!0}}),sn,Pr)})))}var At=An,lr=e(50298);function Vr(er){var pt=!1,rt=er.length,Ot=[];return er.length?new Promise(function(ft,ur){er.forEach(function(fr,Tr){fr.catch(function($r){return pt=!0,$r}).then(function($r){rt-=1,Ot[Tr]=$r,!(rt>0)&&(pt&&ur(Ot),ft(Ot))})})}):Promise.resolve([])}var dn="__@field_split__";function Bn(er){return er.map(function(pt){return"".concat((0,xr.Z)(pt),":").concat(pt)}).join(dn)}var ti=function(){function er(){(0,u.Z)(this,er),(0,_.Z)(this,"kvs",new Map)}return(0,a.Z)(er,[{key:"set",value:function(rt,Ot){this.kvs.set(Bn(rt),Ot)}},{key:"get",value:function(rt){return this.kvs.get(Bn(rt))}},{key:"update",value:function(rt,Ot){var ft=this.get(rt),ur=Ot(ft);ur?this.set(rt,ur):this.delete(rt)}},{key:"delete",value:function(rt){this.kvs.delete(Bn(rt))}},{key:"map",value:function(rt){return(0,h.Z)(this.kvs.entries()).map(function(Ot){var ft=(0,lr.Z)(Ot,2),ur=ft[0],fr=ft[1],Tr=ur.split(dn);return rt({key:Tr.map(function($r){var Ze=$r.match(/^([^:]*):(.*)$/),qe=(0,lr.Z)(Ze,3),Ee=qe[1],ot=qe[2];return Ee==="number"?Number(ot):ot}),value:fr})})}},{key:"toJSON",value:function(){var rt={};return this.map(function(Ot){var ft=Ot.key,ur=Ot.value;return rt[ft.join(".")]=ur,null}),rt}}]),er}(),Un=ti,Ri=["name"],ni=(0,a.Z)(function er(pt){var rt=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:rt.getFieldValue,getFieldsValue:rt.getFieldsValue,getFieldError:rt.getFieldError,getFieldWarning:rt.getFieldWarning,getFieldsError:rt.getFieldsError,isFieldsTouched:rt.isFieldsTouched,isFieldTouched:rt.isFieldTouched,isFieldValidating:rt.isFieldValidating,isFieldsValidating:rt.isFieldsValidating,resetFields:rt.resetFields,setFields:rt.setFields,setFieldValue:rt.setFieldValue,setFieldsValue:rt.setFieldsValue,validateFields:rt.validateFields,submit:rt.submit,_init:!0,getInternalHooks:rt.getInternalHooks}}),(0,_.Z)(this,"getInternalHooks",function(Ot){return Ot===R?(rt.formHooked=!0,{dispatch:rt.dispatch,initEntityValue:rt.initEntityValue,registerField:rt.registerField,useSubscribe:rt.useSubscribe,setInitialValues:rt.setInitialValues,destroyForm:rt.destroyForm,setCallbacks:rt.setCallbacks,setValidateMessages:rt.setValidateMessages,getFields:rt.getFields,setPreserve:rt.setPreserve,getInitialValue:rt.getInitialValue,registerWatch:rt.registerWatch}):((0,k.ZP)(!1,"`getInternalHooks` is internal usage. Should not call directly."),null)}),(0,_.Z)(this,"useSubscribe",function(Ot){rt.subscribable=Ot}),(0,_.Z)(this,"prevWithoutPreserves",null),(0,_.Z)(this,"setInitialValues",function(Ot,ft){if(rt.initialValues=Ot||{},ft){var ur,fr=(0,Oe.T)(Ot,rt.store);(ur=rt.prevWithoutPreserves)===null||ur===void 0||ur.map(function(Tr){var $r=Tr.key;fr=(0,Oe.Z)(fr,$r,(0,Mr.Z)(Ot,$r))}),rt.prevWithoutPreserves=null,rt.updateStore(fr)}}),(0,_.Z)(this,"destroyForm",function(){var Ot=new Un;rt.getFieldEntities(!0).forEach(function(ft){rt.isMergedPreserve(ft.isPreserve())||Ot.set(ft.getNamePath(),!0)}),rt.prevWithoutPreserves=Ot}),(0,_.Z)(this,"getInitialValue",function(Ot){var ft=(0,Mr.Z)(rt.initialValues,Ot);return Ot.length?(0,Oe.T)(ft):ft}),(0,_.Z)(this,"setCallbacks",function(Ot){rt.callbacks=Ot}),(0,_.Z)(this,"setValidateMessages",function(Ot){rt.validateMessages=Ot}),(0,_.Z)(this,"setPreserve",function(Ot){rt.preserve=Ot}),(0,_.Z)(this,"watchList",[]),(0,_.Z)(this,"registerWatch",function(Ot){return rt.watchList.push(Ot),function(){rt.watchList=rt.watchList.filter(function(ft){return ft!==Ot})}}),(0,_.Z)(this,"notifyWatch",function(){var Ot=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];if(rt.watchList.length){var ft=rt.getFieldsValue(),ur=rt.getFieldsValue(!0);rt.watchList.forEach(function(fr){fr(ft,ur,Ot)})}}),(0,_.Z)(this,"timeoutId",null),(0,_.Z)(this,"warningUnhooked",function(){}),(0,_.Z)(this,"updateStore",function(Ot){rt.store=Ot}),(0,_.Z)(this,"getFieldEntities",function(){var Ot=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;return Ot?rt.fieldEntities.filter(function(ft){return ft.getNamePath().length}):rt.fieldEntities}),(0,_.Z)(this,"getFieldsMap",function(){var Ot=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,ft=new Un;return rt.getFieldEntities(Ot).forEach(function(ur){var fr=ur.getNamePath();ft.set(fr,ur)}),ft}),(0,_.Z)(this,"getFieldEntitiesForNamePathList",function(Ot){if(!Ot)return rt.getFieldEntities(!0);var ft=rt.getFieldsMap(!0);return Ot.map(function(ur){var fr=mr(ur);return ft.get(fr)||{INVALIDATE_NAME_PATH:mr(ur)}})}),(0,_.Z)(this,"getFieldsValue",function(Ot,ft){rt.warningUnhooked();var ur,fr,Tr;if(Ot===!0||Array.isArray(Ot)?(ur=Ot,fr=ft):Ot&&(0,xr.Z)(Ot)==="object"&&(Tr=Ot.strict,fr=Ot.filter),ur===!0&&!fr)return rt.store;var $r=rt.getFieldEntitiesForNamePathList(Array.isArray(ur)?ur:null),Ze=[];return $r.forEach(function(qe){var Ee,ot,ar="INVALIDATE_NAME_PATH"in qe?qe.INVALIDATE_NAME_PATH:qe.getNamePath();if(Tr){var br,Dr;if((br=(Dr=qe).isList)!==null&&br!==void 0&&br.call(Dr))return}else if(!ur&&(Ee=(ot=qe).isListField)!==null&&Ee!==void 0&&Ee.call(ot))return;if(!fr)Ze.push(ar);else{var Pr="getMeta"in qe?qe.getMeta():null;fr(Pr)&&Ze.push(ar)}}),Nr(rt.store,Ze.map(mr))}),(0,_.Z)(this,"getFieldValue",function(Ot){rt.warningUnhooked();var ft=mr(Ot);return(0,Mr.Z)(rt.store,ft)}),(0,_.Z)(this,"getFieldsError",function(Ot){rt.warningUnhooked();var ft=rt.getFieldEntitiesForNamePathList(Ot);return ft.map(function(ur,fr){return ur&&!("INVALIDATE_NAME_PATH"in ur)?{name:ur.getNamePath(),errors:ur.getErrors(),warnings:ur.getWarnings()}:{name:mr(Ot[fr]),errors:[],warnings:[]}})}),(0,_.Z)(this,"getFieldError",function(Ot){rt.warningUnhooked();var ft=mr(Ot),ur=rt.getFieldsError([ft])[0];return ur.errors}),(0,_.Z)(this,"getFieldWarning",function(Ot){rt.warningUnhooked();var ft=mr(Ot),ur=rt.getFieldsError([ft])[0];return ur.warnings}),(0,_.Z)(this,"isFieldsTouched",function(){rt.warningUnhooked();for(var Ot=arguments.length,ft=new Array(Ot),ur=0;ur<Ot;ur++)ft[ur]=arguments[ur];var fr=ft[0],Tr=ft[1],$r,Ze=!1;ft.length===0?$r=null:ft.length===1?Array.isArray(fr)?($r=fr.map(mr),Ze=!1):($r=null,Ze=fr):($r=fr.map(mr),Ze=Tr);var qe=rt.getFieldEntities(!0),Ee=function(Pr){return Pr.isFieldTouched()};if(!$r)return Ze?qe.every(Ee):qe.some(Ee);var ot=new Un;$r.forEach(function(Dr){ot.set(Dr,[])}),qe.forEach(function(Dr){var Pr=Dr.getNamePath();$r.forEach(function(Fr){Fr.every(function(mn,Er){return Pr[Er]===mn})&&ot.update(Fr,function(mn){return[].concat((0,h.Z)(mn),[Dr])})})});var ar=function(Pr){return Pr.some(Ee)},br=ot.map(function(Dr){var Pr=Dr.value;return Pr});return Ze?br.every(ar):br.some(ar)}),(0,_.Z)(this,"isFieldTouched",function(Ot){return rt.warningUnhooked(),rt.isFieldsTouched([Ot])}),(0,_.Z)(this,"isFieldsValidating",function(Ot){rt.warningUnhooked();var ft=rt.getFieldEntities();if(!Ot)return ft.some(function(fr){return fr.isFieldValidating()});var ur=Ot.map(mr);return ft.some(function(fr){var Tr=fr.getNamePath();return nn(ur,Tr)&&fr.isFieldValidating()})}),(0,_.Z)(this,"isFieldValidating",function(Ot){return rt.warningUnhooked(),rt.isFieldsValidating([Ot])}),(0,_.Z)(this,"resetWithFieldInitialValue",function(){var Ot=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},ft=new Un,ur=rt.getFieldEntities(!0);ur.forEach(function($r){var Ze=$r.props.initialValue,qe=$r.getNamePath();if(Ze!==void 0){var Ee=ft.get(qe)||new Set;Ee.add({entity:$r,value:Ze}),ft.set(qe,Ee)}});var fr=function(Ze){Ze.forEach(function(qe){var Ee=qe.props.initialValue;if(Ee!==void 0){var ot=qe.getNamePath(),ar=rt.getInitialValue(ot);if(ar!==void 0)(0,k.ZP)(!1,"Form already set 'initialValues' with path '".concat(ot.join("."),"'. Field can not overwrite it."));else{var br=ft.get(ot);if(br&&br.size>1)(0,k.ZP)(!1,"Multiple Field with path '".concat(ot.join("."),"' set 'initialValue'. Can not decide which one to pick."));else if(br){var Dr=rt.getFieldValue(ot);(!Ot.skipExist||Dr===void 0)&&rt.updateStore((0,Oe.Z)(rt.store,ot,(0,h.Z)(br)[0].value))}}}})},Tr;Ot.entities?Tr=Ot.entities:Ot.namePathList?(Tr=[],Ot.namePathList.forEach(function($r){var Ze=ft.get($r);if(Ze){var qe;(qe=Tr).push.apply(qe,(0,h.Z)((0,h.Z)(Ze).map(function(Ee){return Ee.entity})))}})):Tr=ur,fr(Tr)}),(0,_.Z)(this,"resetFields",function(Ot){rt.warningUnhooked();var ft=rt.store;if(!Ot){rt.updateStore((0,Oe.T)(rt.initialValues)),rt.resetWithFieldInitialValue(),rt.notifyObservers(ft,null,{type:"reset"}),rt.notifyWatch();return}var ur=Ot.map(mr);ur.forEach(function(fr){var Tr=rt.getInitialValue(fr);rt.updateStore((0,Oe.Z)(rt.store,fr,Tr))}),rt.resetWithFieldInitialValue({namePathList:ur}),rt.notifyObservers(ft,ur,{type:"reset"}),rt.notifyWatch(ur)}),(0,_.Z)(this,"setFields",function(Ot){rt.warningUnhooked();var ft=rt.store,ur=[];Ot.forEach(function(fr){var Tr=fr.name,$r=(0,l.Z)(fr,Ri),Ze=mr(Tr);ur.push(Ze),"value"in $r&&rt.updateStore((0,Oe.Z)(rt.store,Ze,$r.value)),rt.notifyObservers(ft,[Ze],{type:"setField",data:fr})}),rt.notifyWatch(ur)}),(0,_.Z)(this,"getFields",function(){var Ot=rt.getFieldEntities(!0),ft=Ot.map(function(ur){var fr=ur.getNamePath(),Tr=ur.getMeta(),$r=(0,o.Z)((0,o.Z)({},Tr),{},{name:fr,value:rt.getFieldValue(fr)});return Object.defineProperty($r,"originRCField",{value:!0}),$r});return ft}),(0,_.Z)(this,"initEntityValue",function(Ot){var ft=Ot.props.initialValue;if(ft!==void 0){var ur=Ot.getNamePath(),fr=(0,Mr.Z)(rt.store,ur);fr===void 0&&rt.updateStore((0,Oe.Z)(rt.store,ur,ft))}}),(0,_.Z)(this,"isMergedPreserve",function(Ot){var ft=Ot!==void 0?Ot:rt.preserve;return ft!=null?ft:!0}),(0,_.Z)(this,"registerField",function(Ot){rt.fieldEntities.push(Ot);var ft=Ot.getNamePath();if(rt.notifyWatch([ft]),Ot.props.initialValue!==void 0){var ur=rt.store;rt.resetWithFieldInitialValue({entities:[Ot],skipExist:!0}),rt.notifyObservers(ur,[Ot.getNamePath()],{type:"valueUpdate",source:"internal"})}return function(fr,Tr){var $r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[];if(rt.fieldEntities=rt.fieldEntities.filter(function(Ee){return Ee!==Ot}),!rt.isMergedPreserve(Tr)&&(!fr||$r.length>1)){var Ze=fr?void 0:rt.getInitialValue(ft);if(ft.length&&rt.getFieldValue(ft)!==Ze&&rt.fieldEntities.every(function(Ee){return!on(Ee.getNamePath(),ft)})){var qe=rt.store;rt.updateStore((0,Oe.Z)(qe,ft,Ze,!0)),rt.notifyObservers(qe,[ft],{type:"remove"}),rt.triggerDependenciesUpdate(qe,ft)}}rt.notifyWatch([ft])}}),(0,_.Z)(this,"dispatch",function(Ot){switch(Ot.type){case"updateValue":{var ft=Ot.namePath,ur=Ot.value;rt.updateValue(ft,ur);break}case"validateField":{var fr=Ot.namePath,Tr=Ot.triggerName;rt.validateFields([fr],{triggerName:Tr});break}default:}}),(0,_.Z)(this,"notifyObservers",function(Ot,ft,ur){if(rt.subscribable){var fr=(0,o.Z)((0,o.Z)({},ur),{},{store:rt.getFieldsValue(!0)});rt.getFieldEntities().forEach(function(Tr){var $r=Tr.onStoreChange;$r(Ot,ft,fr)})}else rt.forceRootUpdate()}),(0,_.Z)(this,"triggerDependenciesUpdate",function(Ot,ft){var ur=rt.getDependencyChildrenFields(ft);return ur.length&&rt.validateFields(ur),rt.notifyObservers(Ot,ur,{type:"dependenciesUpdate",relatedFields:[ft].concat((0,h.Z)(ur))}),ur}),(0,_.Z)(this,"updateValue",function(Ot,ft){var ur=mr(Ot),fr=rt.store;rt.updateStore((0,Oe.Z)(rt.store,ur,ft)),rt.notifyObservers(fr,[ur],{type:"valueUpdate",source:"internal"}),rt.notifyWatch([ur]);var Tr=rt.triggerDependenciesUpdate(fr,ur),$r=rt.callbacks.onValuesChange;if($r){var Ze=Nr(rt.store,[ur]);$r(Ze,rt.getFieldsValue())}rt.triggerOnFieldsChange([ur].concat((0,h.Z)(Tr)))}),(0,_.Z)(this,"setFieldsValue",function(Ot){rt.warningUnhooked();var ft=rt.store;if(Ot){var ur=(0,Oe.T)(rt.store,Ot);rt.updateStore(ur)}rt.notifyObservers(ft,null,{type:"valueUpdate",source:"external"}),rt.notifyWatch()}),(0,_.Z)(this,"setFieldValue",function(Ot,ft){rt.setFields([{name:Ot,value:ft}])}),(0,_.Z)(this,"getDependencyChildrenFields",function(Ot){var ft=new Set,ur=[],fr=new Un;rt.getFieldEntities().forEach(function($r){var Ze=$r.props.dependencies;(Ze||[]).forEach(function(qe){var Ee=mr(qe);fr.update(Ee,function(){var ot=arguments.length>0&&arguments[0]!==void 0?arguments[0]:new Set;return ot.add($r),ot})})});var Tr=function $r(Ze){var qe=fr.get(Ze)||new Set;qe.forEach(function(Ee){if(!ft.has(Ee)){ft.add(Ee);var ot=Ee.getNamePath();Ee.isFieldDirty()&&ot.length&&(ur.push(ot),$r(ot))}})};return Tr(Ot),ur}),(0,_.Z)(this,"triggerOnFieldsChange",function(Ot,ft){var ur=rt.callbacks.onFieldsChange;if(ur){var fr=rt.getFields();if(ft){var Tr=new Un;ft.forEach(function(Ze){var qe=Ze.name,Ee=Ze.errors;Tr.set(qe,Ee)}),fr.forEach(function(Ze){Ze.errors=Tr.get(Ze.name)||Ze.errors})}var $r=fr.filter(function(Ze){var qe=Ze.name;return nn(Ot,qe)});$r.length&&ur($r,fr)}}),(0,_.Z)(this,"validateFields",function(Ot,ft){var ur;rt.warningUnhooked();var fr,Tr;Array.isArray(Ot)||typeof Ot=="string"||typeof ft=="string"?(fr=Ot,Tr=ft):Tr=Ot;var $r=!!fr,Ze=$r?fr.map(mr):[],qe=[],Ee=String(Date.now()),ot=new Set,ar=(ur=Tr)===null||ur===void 0?void 0:ur.recursive;rt.getFieldEntities(!0).forEach(function(Fr){if($r||Ze.push(Fr.getNamePath()),!(!Fr.props.rules||!Fr.props.rules.length)){var mn=Fr.getNamePath();if(ot.add(mn.join(Ee)),!$r||nn(Ze,mn,ar)){var Er=Fr.validateRules((0,o.Z)({validateMessages:(0,o.Z)((0,o.Z)({},wt),rt.validateMessages)},Tr));qe.push(Er.then(function(){return{name:mn,errors:[],warnings:[]}}).catch(function(un){var Jr,sn=[],xn=[];return(Jr=un.forEach)===null||Jr===void 0||Jr.call(un,function(ha){var Ci=ha.rule.warningOnly,li=ha.errors;Ci?xn.push.apply(xn,(0,h.Z)(li)):sn.push.apply(sn,(0,h.Z)(li))}),sn.length?Promise.reject({name:mn,errors:sn,warnings:xn}):{name:mn,errors:sn,warnings:xn}}))}}});var br=Vr(qe);rt.lastValidatePromise=br,br.catch(function(Fr){return Fr}).then(function(Fr){var mn=Fr.map(function(Er){var un=Er.name;return un});rt.notifyObservers(rt.store,mn,{type:"validateFinish"}),rt.triggerOnFieldsChange(mn,Fr)});var Dr=br.then(function(){return rt.lastValidatePromise===br?Promise.resolve(rt.getFieldsValue(Ze)):Promise.reject([])}).catch(function(Fr){var mn=Fr.filter(function(Er){return Er&&Er.errors.length});return Promise.reject({values:rt.getFieldsValue(Ze),errorFields:mn,outOfDate:rt.lastValidatePromise!==br})});Dr.catch(function(Fr){return Fr});var Pr=Ze.filter(function(Fr){return ot.has(Fr.join(Ee))});return rt.triggerOnFieldsChange(Pr),Dr}),(0,_.Z)(this,"submit",function(){rt.warningUnhooked(),rt.validateFields().then(function(Ot){var ft=rt.callbacks.onFinish;if(ft)try{ft(Ot)}catch(ur){console.error(ur)}}).catch(function(Ot){var ft=rt.callbacks.onFinishFailed;ft&&ft(Ot)})}),this.forceRootUpdate=pt});function ci(er){var pt=r.useRef(),rt=r.useState({}),Ot=(0,lr.Z)(rt,2),ft=Ot[1];if(!pt.current)if(er)pt.current=er;else{var ur=function(){ft({})},fr=new ni(ur);pt.current=fr.getForm()}return[pt.current]}var gi=ci,di=r.createContext({triggerFormChange:function(){},triggerFormFinish:function(){},registerForm:function(){},unregisterForm:function(){}}),Qi=function(pt){var rt=pt.validateMessages,Ot=pt.onFormChange,ft=pt.onFormFinish,ur=pt.children,fr=r.useContext(di),Tr=r.useRef({});return r.createElement(di.Provider,{value:(0,o.Z)((0,o.Z)({},fr),{},{validateMessages:(0,o.Z)((0,o.Z)({},fr.validateMessages),rt),triggerFormChange:function(Ze,qe){Ot&&Ot(Ze,{changedFields:qe,forms:Tr.current}),fr.triggerFormChange(Ze,qe)},triggerFormFinish:function(Ze,qe){ft&&ft(Ze,{values:qe,forms:Tr.current}),fr.triggerFormFinish(Ze,qe)},registerForm:function(Ze,qe){Ze&&(Tr.current=(0,o.Z)((0,o.Z)({},Tr.current),{},(0,_.Z)({},Ze,qe))),fr.registerForm(Ze,qe)},unregisterForm:function(Ze){var qe=(0,o.Z)({},Tr.current);delete qe[Ze],Tr.current=qe,fr.unregisterForm(Ze)}})},ur)},Gn=di,Xi=["name","initialValues","fields","form","preserve","children","component","validateMessages","validateTrigger","onValuesChange","onFieldsChange","onFinish","onFinishFailed"],Et=function(pt,rt){var Ot=pt.name,ft=pt.initialValues,ur=pt.fields,fr=pt.form,Tr=pt.preserve,$r=pt.children,Ze=pt.component,qe=Ze===void 0?"form":Ze,Ee=pt.validateMessages,ot=pt.validateTrigger,ar=ot===void 0?"onChange":ot,br=pt.onValuesChange,Dr=pt.onFieldsChange,Pr=pt.onFinish,Fr=pt.onFinishFailed,mn=(0,l.Z)(pt,Xi),Er=r.useContext(Gn),un=gi(fr),Jr=(0,lr.Z)(un,1),sn=Jr[0],xn=sn.getInternalHooks(R),ha=xn.useSubscribe,Ci=xn.setInitialValues,li=xn.setCallbacks,_n=xn.setValidateMessages,ai=xn.setPreserve,Fi=xn.destroyForm;r.useImperativeHandle(rt,function(){return sn}),r.useEffect(function(){return Er.registerForm(Ot,sn),function(){Er.unregisterForm(Ot)}},[Er,sn,Ot]),_n((0,o.Z)((0,o.Z)({},Er.validateMessages),Ee)),li({onValuesChange:br,onFieldsChange:function(ns){if(Er.triggerFormChange(Ot,ns),Dr){for(var Ga=arguments.length,Ps=new Array(Ga>1?Ga-1:0),zi=1;zi<Ga;zi++)Ps[zi-1]=arguments[zi];Dr.apply(void 0,[ns].concat(Ps))}},onFinish:function(ns){Er.triggerFormFinish(Ot,ns),Pr&&Pr(ns)},onFinishFailed:Fr}),ai(Tr);var oa=r.useRef(null);Ci(ft,!oa.current),oa.current||(oa.current=!0),r.useEffect(function(){return Fi},[]);var Cs,ua=typeof $r=="function";if(ua){var ms=sn.getFieldsValue(!0);Cs=$r(ms,sn)}else Cs=$r;ha(!ua);var Ts=r.useRef();r.useEffect(function(){or(Ts.current||[],ur||[])||sn.setFields(ur||[]),Ts.current=ur},[ur,sn]);var Ra=r.useMemo(function(){return(0,o.Z)((0,o.Z)({},sn),{},{validateTrigger:ar})},[sn,ar]),ws=r.createElement(N.Provider,{value:null},r.createElement(M.Provider,{value:Ra},Cs));return qe===!1?ws:r.createElement(qe,(0,i.Z)({},mn,{onSubmit:function(ns){ns.preventDefault(),ns.stopPropagation(),sn.submit()},onReset:function(ns){var Ga;ns.preventDefault(),sn.resetFields(),(Ga=mn.onReset)===null||Ga===void 0||Ga.call(mn,ns)}}),ws)},st=Et;function Vn(er){try{return JSON.stringify(er)}catch(pt){return Math.random()}}var yi=function(){};function Kn(){for(var er=arguments.length,pt=new Array(er),rt=0;rt<er;rt++)pt[rt]=arguments[rt];var Ot=pt[0],ft=Ot===void 0?[]:Ot,ur=pt[1],fr=ur===void 0?{}:ur,Tr=G(fr)?{form:fr}:fr,$r=Tr.form,Ze=(0,r.useState)(),qe=(0,lr.Z)(Ze,2),Ee=qe[0],ot=qe[1],ar=(0,r.useMemo)(function(){return Vn(Ee)},[Ee]),br=(0,r.useRef)(ar);br.current=ar;var Dr=(0,r.useContext)(M),Pr=$r||Dr,Fr=Pr&&Pr._init,mn=mr(ft),Er=(0,r.useRef)(mn);return Er.current=mn,yi(mn),(0,r.useEffect)(function(){if(Fr){var un=Pr.getFieldsValue,Jr=Pr.getInternalHooks,sn=Jr(R),xn=sn.registerWatch,ha=xn(function(li,_n){var ai=(0,Mr.Z)(Tr.preserve?_n:li,Er.current),Fi=Vn(ai);br.current!==Fi&&(br.current=Fi,ot(ai))}),Ci=(0,Mr.Z)(Tr.preserve?un(!0):un(),Er.current);return Ee!==Ci&&ot(Ci),ha}},[Fr]),Ee}var Ki=Kn,_i=r.forwardRef(st),ei=_i;ei.FormProvider=Qi,ei.Field=Wr,ei.List=At,ei.useForm=gi,ei.useWatch=Ki;var vn=ei},77900:function(d,v,e){"use strict";e.r(v),e.d(v,{CSSMotionList:function(){return Fe},Provider:function(){return _},default:function(){return fe}});var r=e(4635),i=e(20439),l=e(50298),c=e(93664),f=e(92310),o=e.n(f),h=e(76846),u=e(8654),a=e(59301),x=e(62646),p=["children"],y=a.createContext({});function _(pe){var Pt=pe.children,Ie=(0,x.Z)(pe,p);return a.createElement(y.Provider,{value:Ie},Pt)}var b=e(99153),A=e(84851),k=e(19257),R=e(93046),C=function(pe){(0,k.Z)(Ie,pe);var Pt=(0,R.Z)(Ie);function Ie(){return(0,b.Z)(this,Ie),Pt.apply(this,arguments)}return(0,A.Z)(Ie,[{key:"render",value:function(){return this.props.children}}]),Ie}(a.Component),D=C,M=e(70425),B=e(41799),N=e(6089);function K(pe){var Pt=a.useReducer(function(xt){return xt+1},0),Ie=(0,l.Z)(Pt,2),ct=Ie[1],zt=a.useRef(pe),wt=(0,N.Z)(function(){return zt.current}),Oe=(0,N.Z)(function(xt){zt.current=typeof xt=="function"?xt(zt.current):xt,ct()});return[wt,Oe]}var G="none",W="appear",se="enter",ie="leave",le="none",q="prepare",J="start",V="active",ue="end",ee="prepared",Q=e(47273);function ce(pe,Pt){var Ie={};return Ie[pe.toLowerCase()]=Pt.toLowerCase(),Ie["Webkit".concat(pe)]="webkit".concat(Pt),Ie["Moz".concat(pe)]="moz".concat(Pt),Ie["ms".concat(pe)]="MS".concat(Pt),Ie["O".concat(pe)]="o".concat(Pt.toLowerCase()),Ie}function z(pe,Pt){var Ie={animationend:ce("Animation","AnimationEnd"),transitionend:ce("Transition","TransitionEnd")};return pe&&("AnimationEvent"in Pt||delete Ie.animationend.animation,"TransitionEvent"in Pt||delete Ie.transitionend.transition),Ie}var $=z((0,Q.Z)(),typeof window!="undefined"?window:{}),ae={};if((0,Q.Z)()){var _e=document.createElement("div");ae=_e.style}var De={};function ke(pe){if(De[pe])return De[pe];var Pt=$[pe];if(Pt)for(var Ie=Object.keys(Pt),ct=Ie.length,zt=0;zt<ct;zt+=1){var wt=Ie[zt];if(Object.prototype.hasOwnProperty.call(Pt,wt)&&wt in ae)return De[pe]=Pt[wt],De[pe]}return""}var He=ke("animationend"),$e=ke("transitionend"),Bt=!!(He&&$e),gt=He||"animationend",Dt=$e||"transitionend";function nr(pe,Pt){if(!pe)return null;if((0,c.Z)(pe)==="object"){var Ie=Pt.replace(/-\w/g,function(ct){return ct[1].toUpperCase()});return pe[Ie]}return"".concat(pe,"-").concat(Pt)}var Xt=function(pe){var Pt=(0,a.useRef)();function Ie(zt){zt&&(zt.removeEventListener(Dt,pe),zt.removeEventListener(gt,pe))}function ct(zt){Pt.current&&Pt.current!==zt&&Ie(Pt.current),zt&&zt!==Pt.current&&(zt.addEventListener(Dt,pe),zt.addEventListener(gt,pe),Pt.current=zt)}return a.useEffect(function(){return function(){Ie(Pt.current)}},[]),[ct,Ie]},cr=(0,Q.Z)()?a.useLayoutEffect:a.useEffect,Ge=cr,Tt=e(16089),Ut=function(){var pe=a.useRef(null);function Pt(){Tt.Z.cancel(pe.current)}function Ie(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!==pe.current}}):Ie(ct,zt-1)});pe.current=wt}return a.useEffect(function(){return function(){Pt()}},[]),[Ie,Pt]},at=[q,J,V,ue],bt=[q,ee],dt=!1,tt=!0;function Ue(pe){return pe===V||pe===ue}var ye=function(pe,Pt,Ie){var ct=(0,B.Z)(le),zt=(0,l.Z)(ct,2),wt=zt[0],Oe=zt[1],xt=Ut(),xe=(0,l.Z)(xt,2),Ye=xe[0],mt=xe[1];function Mt(){Oe(q,!0)}var Be=Pt?bt:at;return Ge(function(){if(wt!==le&&wt!==ue){var Ir=Be.indexOf(wt),St=Be[Ir+1],Zr=Ie(wt);Zr===dt?Oe(St,!0):St&&Ye(function(Yr){function xr(){Yr.isCanceled()||Oe(St,!0)}Zr===!0?xr():Promise.resolve(Zr).then(xr)})}},[pe,wt]),a.useEffect(function(){return function(){mt()}},[]),[Mt,wt]};function Ce(pe,Pt,Ie,ct){var zt=ct.motionEnter,wt=zt===void 0?!0:zt,Oe=ct.motionAppear,xt=Oe===void 0?!0:Oe,xe=ct.motionLeave,Ye=xe===void 0?!0:xe,mt=ct.motionDeadline,Mt=ct.motionLeaveImmediately,Be=ct.onAppearPrepare,Ir=ct.onEnterPrepare,St=ct.onLeavePrepare,Zr=ct.onAppearStart,Yr=ct.onEnterStart,xr=ct.onLeaveStart,Mr=ct.onAppearActive,mr=ct.onEnterActive,Nr=ct.onLeaveActive,nn=ct.onAppearEnd,on=ct.onEnterEnd,or=ct.onLeaveEnd,Rt=ct.onVisibleChanged,_t=(0,B.Z)(),vt=(0,l.Z)(_t,2),$t=vt[0],Sr=vt[1],vr=K(G),Qr=(0,l.Z)(vr,2),Wr=Qr[0],An=Qr[1],At=(0,B.Z)(null),lr=(0,l.Z)(At,2),Vr=lr[0],dn=lr[1],Bn=Wr(),ti=(0,a.useRef)(!1),Un=(0,a.useRef)(null);function Ri(){return Ie()}var ni=(0,a.useRef)(!1);function ci(){An(G),dn(null,!0)}var gi=(0,M.useEvent)(function(er){var pt=Wr();if(pt!==G){var rt=Ri();if(!(er&&!er.deadline&&er.target!==rt)){var Ot=ni.current,ft;pt===W&&Ot?ft=nn==null?void 0:nn(rt,er):pt===se&&Ot?ft=on==null?void 0:on(rt,er):pt===ie&&Ot&&(ft=or==null?void 0:or(rt,er)),Ot&&ft!==!1&&ci()}}}),di=Xt(gi),Qi=(0,l.Z)(di,1),Gn=Qi[0],Xi=function(pt){switch(pt){case W:return(0,r.Z)((0,r.Z)((0,r.Z)({},q,Be),J,Zr),V,Mr);case se:return(0,r.Z)((0,r.Z)((0,r.Z)({},q,Ir),J,Yr),V,mr);case ie:return(0,r.Z)((0,r.Z)((0,r.Z)({},q,St),J,xr),V,Nr);default:return{}}},Et=a.useMemo(function(){return Xi(Bn)},[Bn]),st=ye(Bn,!pe,function(er){if(er===q){var pt=Et[q];return pt?pt(Ri()):dt}if(Kn in Et){var rt;dn(((rt=Et[Kn])===null||rt===void 0?void 0:rt.call(Et,Ri(),null))||null)}return Kn===V&&Bn!==G&&(Gn(Ri()),mt>0&&(clearTimeout(Un.current),Un.current=setTimeout(function(){gi({deadline:!0})},mt))),Kn===ee&&ci(),tt}),Vn=(0,l.Z)(st,2),yi=Vn[0],Kn=Vn[1],Ki=Ue(Kn);ni.current=Ki;var _i=(0,a.useRef)(null);Ge(function(){if(!(ti.current&&_i.current===Pt)){Sr(Pt);var er=ti.current;ti.current=!0;var pt;!er&&Pt&&xt&&(pt=W),er&&Pt&&wt&&(pt=se),(er&&!Pt&&Ye||!er&&Mt&&!Pt&&Ye)&&(pt=ie);var rt=Xi(pt);pt&&(pe||rt[q])?(An(pt),yi()):An(G),_i.current=Pt}},[Pt]),(0,a.useEffect)(function(){(Bn===W&&!xt||Bn===se&&!wt||Bn===ie&&!Ye)&&An(G)},[xt,wt,Ye]),(0,a.useEffect)(function(){return function(){ti.current=!1,clearTimeout(Un.current)}},[]);var ei=a.useRef(!1);(0,a.useEffect)(function(){$t&&(ei.current=!0),$t!==void 0&&Bn===G&&((ei.current||$t)&&(Rt==null||Rt($t)),ei.current=!0)},[$t,Bn]);var vn=Vr;return Et[q]&&Kn===J&&(vn=(0,i.Z)({transition:"none"},vn)),[Bn,Kn,vn,$t!=null?$t:Pt]}function Me(pe){var Pt=pe;(0,c.Z)(pe)==="object"&&(Pt=pe.transitionSupport);function Ie(zt,wt){return!!(zt.motionName&&Pt&&wt!==!1)}var ct=a.forwardRef(function(zt,wt){var Oe=zt.visible,xt=Oe===void 0?!0:Oe,xe=zt.removeOnLeave,Ye=xe===void 0?!0:xe,mt=zt.forceRender,Mt=zt.children,Be=zt.motionName,Ir=zt.leavedClassName,St=zt.eventProps,Zr=a.useContext(y),Yr=Zr.motion,xr=Ie(zt,Yr),Mr=(0,a.useRef)(),mr=(0,a.useRef)();function Nr(){try{return Mr.current instanceof HTMLElement?Mr.current:(0,h.ZP)(mr.current)}catch(lr){return null}}var nn=Ce(xr,xt,Nr,zt),on=(0,l.Z)(nn,4),or=on[0],Rt=on[1],_t=on[2],vt=on[3],$t=a.useRef(vt);vt&&($t.current=!0);var Sr=a.useCallback(function(lr){Mr.current=lr,(0,u.mH)(wt,lr)},[wt]),vr,Qr=(0,i.Z)((0,i.Z)({},St),{},{visible:xt});if(!Mt)vr=null;else if(or===G)vt?vr=Mt((0,i.Z)({},Qr),Sr):!Ye&&$t.current&&Ir?vr=Mt((0,i.Z)((0,i.Z)({},Qr),{},{className:Ir}),Sr):mt||!Ye&&!Ir?vr=Mt((0,i.Z)((0,i.Z)({},Qr),{},{style:{display:"none"}}),Sr):vr=null;else{var Wr;Rt===q?Wr="prepare":Ue(Rt)?Wr="active":Rt===J&&(Wr="start");var An=nr(Be,"".concat(or,"-").concat(Wr));vr=Mt((0,i.Z)((0,i.Z)({},Qr),{},{className:o()(nr(Be,or),(0,r.Z)((0,r.Z)({},An,An&&Wr),Be,typeof Be=="string")),style:_t}),Sr)}if(a.isValidElement(vr)&&(0,u.Yr)(vr)){var At=(0,u.C4)(vr);At||(vr=a.cloneElement(vr,{ref:Sr}))}return a.createElement(D,{ref:mr},vr)});return ct.displayName="CSSMotion",ct}var je=Me(Bt),We=e(14809),nt=e(13028),lt="add",Vt="keep",Ht="remove",Pe="removed";function et(pe){var Pt;return pe&&(0,c.Z)(pe)==="object"&&"key"in pe?Pt=pe:Pt={key:pe},(0,i.Z)((0,i.Z)({},Pt),{},{key:String(Pt.key)})}function Kt(){var pe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];return pe.map(et)}function kt(){var pe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],Pt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],Ie=[],ct=0,zt=Pt.length,wt=Kt(pe),Oe=Kt(Pt);wt.forEach(function(Ye){for(var mt=!1,Mt=ct;Mt<zt;Mt+=1){var Be=Oe[Mt];if(Be.key===Ye.key){ct<Mt&&(Ie=Ie.concat(Oe.slice(ct,Mt).map(function(Ir){return(0,i.Z)((0,i.Z)({},Ir),{},{status:lt})})),ct=Mt),Ie.push((0,i.Z)((0,i.Z)({},Be),{},{status:Vt})),ct+=1,mt=!0;break}}mt||Ie.push((0,i.Z)((0,i.Z)({},Ye),{},{status:Ht}))}),ct<zt&&(Ie=Ie.concat(Oe.slice(ct).map(function(Ye){return(0,i.Z)((0,i.Z)({},Ye),{},{status:lt})})));var xt={};Ie.forEach(function(Ye){var mt=Ye.key;xt[mt]=(xt[mt]||0)+1});var xe=Object.keys(xt).filter(function(Ye){return xt[Ye]>1});return xe.forEach(function(Ye){Ie=Ie.filter(function(mt){var Mt=mt.key,Be=mt.status;return Mt!==Ye||Be!==Ht}),Ie.forEach(function(mt){mt.key===Ye&&(mt.status=Vt)})}),Ie}var Zt=["component","children","onVisibleChanged","onAllRemoved"],Nt=["status"],tr=["eventProps","visible","children","motionName","motionAppear","motionEnter","motionLeave","motionLeaveImmediately","motionDeadline","removeOnLeave","leavedClassName","onAppearPrepare","onAppearStart","onAppearActive","onAppearEnd","onEnterStart","onEnterActive","onEnterEnd","onLeaveStart","onLeaveActive","onLeaveEnd"];function Wt(pe){var Pt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:je,Ie=function(ct){(0,k.Z)(wt,ct);var zt=(0,R.Z)(wt);function wt(){var Oe;(0,b.Z)(this,wt);for(var xt=arguments.length,xe=new Array(xt),Ye=0;Ye<xt;Ye++)xe[Ye]=arguments[Ye];return Oe=zt.call.apply(zt,[this].concat(xe)),(0,r.Z)((0,nt.Z)(Oe),"state",{keyEntities:[]}),(0,r.Z)((0,nt.Z)(Oe),"removeKey",function(mt){Oe.setState(function(Mt){var Be=Mt.keyEntities.map(function(Ir){return Ir.key!==mt?Ir:(0,i.Z)((0,i.Z)({},Ir),{},{status:Pe})});return{keyEntities:Be}},function(){var Mt=Oe.state.keyEntities,Be=Mt.filter(function(Ir){var St=Ir.status;return St!==Pe}).length;Be===0&&Oe.props.onAllRemoved&&Oe.props.onAllRemoved()})}),Oe}return(0,A.Z)(wt,[{key:"render",value:function(){var xt=this,xe=this.state.keyEntities,Ye=this.props,mt=Ye.component,Mt=Ye.children,Be=Ye.onVisibleChanged,Ir=Ye.onAllRemoved,St=(0,x.Z)(Ye,Zt),Zr=mt||a.Fragment,Yr={};return tr.forEach(function(xr){Yr[xr]=St[xr],delete St[xr]}),delete St.keys,a.createElement(Zr,St,xe.map(function(xr,Mr){var mr=xr.status,Nr=(0,x.Z)(xr,Nt),nn=mr===lt||mr===Vt;return a.createElement(Pt,(0,We.Z)({},Yr,{key:Nr.key,visible:nn,eventProps:Nr,onVisibleChanged:function(or){Be==null||Be(or,{key:Nr.key}),or||xt.removeKey(Nr.key)}}),function(on,or){return Mt((0,i.Z)((0,i.Z)({},on),{},{index:Mr}),or)})}))}}],[{key:"getDerivedStateFromProps",value:function(xt,xe){var Ye=xt.keys,mt=xe.keyEntities,Mt=Kt(Ye),Be=kt(mt,Mt);return{keyEntities:Be.filter(function(Ir){var St=mt.find(function(Zr){var Yr=Zr.key;return Ir.key===Yr});return!(St&&St.status===Pe&&Ir.status===Ht)})}}}]),wt}(a.Component);return(0,r.Z)(Ie,"defaultProps",{component:"div"}),Ie}var Fe=Wt(Bt),fe=je},581:function(d,v,e){"use strict";e.d(v,{qX:function(){return b},JB:function(){return R},lm:function(){return se}});var r=e(95190),i=e(50298),l=e(62646),c=e(59301),f=e(20439),o=e(4676),h=e(14809),u=e(92310),a=e.n(u),x=e(77900),p=e(4635),y=e(10228),_=c.forwardRef(function(ie,le){var q=ie.prefixCls,J=ie.style,V=ie.className,ue=ie.duration,ee=ue===void 0?4.5:ue,Q=ie.eventKey,ce=ie.content,z=ie.closable,$=ie.closeIcon,ae=$===void 0?"x":$,_e=ie.props,De=ie.onClick,ke=ie.onNoticeClose,He=ie.times,$e=c.useState(!1),Bt=(0,i.Z)($e,2),gt=Bt[0],Dt=Bt[1],nr=function(){ke(Q)},Xt=function(Tt){(Tt.key==="Enter"||Tt.code==="Enter"||Tt.keyCode===y.Z.ENTER)&&nr()};c.useEffect(function(){if(!gt&&ee>0){var Ge=setTimeout(function(){nr()},ee*1e3);return function(){clearTimeout(Ge)}}},[ee,gt,He]);var cr="".concat(q,"-notice");return c.createElement("div",(0,h.Z)({},_e,{ref:le,className:a()(cr,V,(0,p.Z)({},"".concat(cr,"-closable"),z)),style:J,onMouseEnter:function(){Dt(!0)},onMouseLeave:function(){Dt(!1)},onClick:De}),c.createElement("div",{className:"".concat(cr,"-content")},ce),z&&c.createElement("a",{tabIndex:0,className:"".concat(cr,"-close"),onKeyDown:Xt,onClick:function(Tt){Tt.preventDefault(),Tt.stopPropagation(),nr()}},ae))}),b=_,A=c.createContext({}),k=function(le){var q=le.children,J=le.classNames;return c.createElement(A.Provider,{value:{classNames:J}},q)},R=k,C=function(le){var q=le.configList,J=le.placement,V=le.prefixCls,ue=le.className,ee=le.style,Q=le.motion,ce=le.onAllNoticeRemoved,z=le.onNoticeClose,$=(0,c.useContext)(A),ae=$.classNames,_e=q.map(function(ke){return{config:ke,key:ke.key}}),De=typeof Q=="function"?Q(J):Q;return c.createElement(x.CSSMotionList,(0,h.Z)({key:J,className:a()(V,"".concat(V,"-").concat(J),ae==null?void 0:ae.list,ue),style:ee,keys:_e,motionAppear:!0},De,{onAllRemoved:function(){ce(J)}}),function(ke,He){var $e=ke.config,Bt=ke.className,gt=ke.style,Dt=$e,nr=Dt.key,Xt=Dt.times,cr=$e,Ge=cr.className,Tt=cr.style;return c.createElement(b,(0,h.Z)({},$e,{ref:He,prefixCls:V,className:a()(Bt,Ge,ae==null?void 0:ae.notice),style:(0,f.Z)((0,f.Z)({},gt),Tt),times:Xt,key:nr,eventKey:nr,onNoticeClose:z}))})},D=C,M=c.forwardRef(function(ie,le){var q=ie.prefixCls,J=q===void 0?"rc-notification":q,V=ie.container,ue=ie.motion,ee=ie.maxCount,Q=ie.className,ce=ie.style,z=ie.onAllRemoved,$=ie.renderNotifications,ae=c.useState([]),_e=(0,i.Z)(ae,2),De=_e[0],ke=_e[1],He=function(Tt){var Ut,at=De.find(function(bt){return bt.key===Tt});at==null||(Ut=at.onClose)===null||Ut===void 0||Ut.call(at),ke(function(bt){return bt.filter(function(dt){return dt.key!==Tt})})};c.useImperativeHandle(le,function(){return{open:function(Tt){ke(function(Ut){var at=(0,r.Z)(Ut),bt=at.findIndex(function(Ue){return Ue.key===Tt.key}),dt=(0,f.Z)({},Tt);if(bt>=0){var tt;dt.times=(((tt=Ut[bt])===null||tt===void 0?void 0:tt.times)||0)+1,at[bt]=dt}else dt.times=0,at.push(dt);return ee>0&&at.length>ee&&(at=at.slice(-ee)),at})},close:function(Tt){He(Tt)},destroy:function(){ke([])}}});var $e=c.useState({}),Bt=(0,i.Z)($e,2),gt=Bt[0],Dt=Bt[1];c.useEffect(function(){var Ge={};De.forEach(function(Tt){var Ut=Tt.placement,at=Ut===void 0?"topRight":Ut;at&&(Ge[at]=Ge[at]||[],Ge[at].push(Tt))}),Object.keys(gt).forEach(function(Tt){Ge[Tt]=Ge[Tt]||[]}),Dt(Ge)},[De]);var nr=function(Tt){Dt(function(Ut){var at=(0,f.Z)({},Ut),bt=at[Tt]||[];return bt.length||delete at[Tt],at})},Xt=c.useRef(!1);if(c.useEffect(function(){Object.keys(gt).length>0?Xt.current=!0:Xt.current&&(z==null||z(),Xt.current=!1)},[gt]),!V)return null;var cr=Object.keys(gt);return(0,o.createPortal)(c.createElement(c.Fragment,null,cr.map(function(Ge){var Tt=gt[Ge],Ut=c.createElement(D,{key:Ge,configList:Tt,placement:Ge,prefixCls:J,className:Q==null?void 0:Q(Ge),style:ce==null?void 0:ce(Ge),motion:ue,onNoticeClose:He,onAllNoticeRemoved:nr});return $?$(Ut,{prefixCls:J,key:Ge}):Ut})),V)}),B=M,N=["getContainer","motion","prefixCls","maxCount","className","style","onAllRemoved","renderNotifications"],K=function(){return document.body},G=0;function W(){for(var ie={},le=arguments.length,q=new Array(le),J=0;J<le;J++)q[J]=arguments[J];return q.forEach(function(V){V&&Object.keys(V).forEach(function(ue){var ee=V[ue];ee!==void 0&&(ie[ue]=ee)})}),ie}function se(){var ie=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},le=ie.getContainer,q=le===void 0?K:le,J=ie.motion,V=ie.prefixCls,ue=ie.maxCount,ee=ie.className,Q=ie.style,ce=ie.onAllRemoved,z=ie.renderNotifications,$=(0,l.Z)(ie,N),ae=c.useState(),_e=(0,i.Z)(ae,2),De=_e[0],ke=_e[1],He=c.useRef(),$e=c.createElement(B,{container:De,ref:He,prefixCls:V,motion:J,maxCount:ue,className:ee,style:Q,onAllRemoved:ce,renderNotifications:z}),Bt=c.useState([]),gt=(0,i.Z)(Bt,2),Dt=gt[0],nr=gt[1],Xt=c.useMemo(function(){return{open:function(Ge){var Tt=W($,Ge);(Tt.key===null||Tt.key===void 0)&&(Tt.key="rc-notification-".concat(G),G+=1),nr(function(Ut){return[].concat((0,r.Z)(Ut),[{type:"open",config:Tt}])})},close:function(Ge){nr(function(Tt){return[].concat((0,r.Z)(Tt),[{type:"close",key:Ge}])})},destroy:function(){nr(function(Ge){return[].concat((0,r.Z)(Ge),[{type:"destroy"}])})}}},[]);return c.useEffect(function(){ke(q())}),c.useEffect(function(){He.current&&Dt.length&&(Dt.forEach(function(cr){switch(cr.type){case"open":He.current.open(cr.config);break;case"close":He.current.close(cr.key);break;case"destroy":He.current.destroy();break}}),nr(function(cr){return cr.filter(function(Ge){return!Dt.includes(Ge)})}))},[Dt]),[Xt,$e]}},22075:function(d,v){"use strict";v.Z={items_per_page:"/ page",jump_to:"Go to",jump_to_confirm:"confirm",page:"Page",prev_page:"Previous Page",next_page:"Next Page",prev_5:"Previous 5 Pages",next_5:"Next 5 Pages",prev_3:"Previous 3 Pages",next_3:"Next 3 Pages",page_size:"Page Size"}},91735:function(d,v){"use strict";v.Z={items_per_page:"\u6761/\u9875",jump_to:"\u8DF3\u81F3",jump_to_confirm:"\u786E\u5B9A",page:"\u9875",prev_page:"\u4E0A\u4E00\u9875",next_page:"\u4E0B\u4E00\u9875",prev_5:"\u5411\u524D 5 \u9875",next_5:"\u5411\u540E 5 \u9875",prev_3:"\u5411\u524D 3 \u9875",next_3:"\u5411\u540E 3 \u9875",page_size:"\u9875\u7801"}},29301:function(d,v,e){"use strict";e.d(v,{Z:function(){return J}});var r=e(14809),i=e(59301),l=e(11592),c=e(48736),f=e(20439),o=e(93664),h=e(76846),u=e(8654),a=i.createContext(null);function x(V){var ue=V.children,ee=V.onBatchResize,Q=i.useRef(0),ce=i.useRef([]),z=i.useContext(a),$=i.useCallback(function(ae,_e,De){Q.current+=1;var ke=Q.current;ce.current.push({size:ae,element:_e,data:De}),Promise.resolve().then(function(){ke===Q.current&&(ee==null||ee(ce.current),ce.current=[])}),z==null||z(ae,_e,De)},[ee,z]);return i.createElement(a.Provider,{value:$},ue)}var p=e(76374),y=new Map;function _(V){V.forEach(function(ue){var ee,Q=ue.target;(ee=y.get(Q))===null||ee===void 0||ee.forEach(function(ce){return ce(Q)})})}var b=new p.Z(_),A=null,k=null;function R(V,ue){y.has(V)||(y.set(V,new Set),b.observe(V)),y.get(V).add(ue)}function C(V,ue){y.has(V)&&(y.get(V).delete(ue),y.get(V).size||(b.unobserve(V),y.delete(V)))}var D=e(99153),M=e(84851),B=e(19257),N=e(93046),K=function(V){(0,B.Z)(ee,V);var ue=(0,N.Z)(ee);function ee(){return(0,D.Z)(this,ee),ue.apply(this,arguments)}return(0,M.Z)(ee,[{key:"render",value:function(){return this.props.children}}]),ee}(i.Component);function G(V,ue){var ee=V.children,Q=V.disabled,ce=i.useRef(null),z=i.useRef(null),$=i.useContext(a),ae=typeof ee=="function",_e=ae?ee(ce):ee,De=i.useRef({width:-1,height:-1,offsetWidth:-1,offsetHeight:-1}),ke=!ae&&i.isValidElement(_e)&&(0,u.Yr)(_e),He=ke?(0,u.C4)(_e):null,$e=(0,u.x1)(He,ce),Bt=function(){var Xt;return(0,h.ZP)(ce.current)||(ce.current&&(0,o.Z)(ce.current)==="object"?(0,h.ZP)((Xt=ce.current)===null||Xt===void 0?void 0:Xt.nativeElement):null)||(0,h.ZP)(z.current)};i.useImperativeHandle(ue,function(){return Bt()});var gt=i.useRef(V);gt.current=V;var Dt=i.useCallback(function(nr){var Xt=gt.current,cr=Xt.onResize,Ge=Xt.data,Tt=nr.getBoundingClientRect(),Ut=Tt.width,at=Tt.height,bt=nr.offsetWidth,dt=nr.offsetHeight,tt=Math.floor(Ut),Ue=Math.floor(at);if(De.current.width!==tt||De.current.height!==Ue||De.current.offsetWidth!==bt||De.current.offsetHeight!==dt){var ye={width:tt,height:Ue,offsetWidth:bt,offsetHeight:dt};De.current=ye;var Ce=bt===Math.round(Ut)?Ut:bt,Me=dt===Math.round(at)?at:dt,je=(0,f.Z)((0,f.Z)({},ye),{},{offsetWidth:Ce,offsetHeight:Me});$==null||$(je,nr,Ge),cr&&Promise.resolve().then(function(){cr(je,nr)})}},[]);return i.useEffect(function(){var nr=Bt();return nr&&!Q&&R(nr,Dt),function(){return C(nr,Dt)}},[ce.current,Q]),i.createElement(K,{ref:z},ke?i.cloneElement(_e,{ref:$e}):_e)}var W=i.forwardRef(G),se=W,ie="rc-observer-key";function le(V,ue){var ee=V.children,Q=typeof ee=="function"?[ee]:(0,l.Z)(ee);return Q.map(function(ce,z){var $=(ce==null?void 0:ce.key)||"".concat(ie,"-").concat(z);return i.createElement(se,(0,r.Z)({},V,{key:$,ref:z===0?ue:void 0}),ce)})}var q=i.forwardRef(le);q.Collection=x;var J=q},55477:function(d,v,e){"use strict";e.d(v,{G:function(){return _},Z:function(){return R}});var r=e(14809),i=e(20439),l=e(62646),c=e(35593),f=e(59301),o={shiftX:64,adjustY:1},h={adjustX:1,shiftY:!0},u=[0,0],a={left:{points:["cr","cl"],overflow:h,offset:[-4,0],targetOffset:u},right:{points:["cl","cr"],overflow:h,offset:[4,0],targetOffset:u},top:{points:["bc","tc"],overflow:o,offset:[0,-4],targetOffset:u},bottom:{points:["tc","bc"],overflow:o,offset:[0,4],targetOffset:u},topLeft:{points:["bl","tl"],overflow:o,offset:[0,-4],targetOffset:u},leftTop:{points:["tr","tl"],overflow:h,offset:[-4,0],targetOffset:u},topRight:{points:["br","tr"],overflow:o,offset:[0,-4],targetOffset:u},rightTop:{points:["tl","tr"],overflow:h,offset:[4,0],targetOffset:u},bottomRight:{points:["tr","br"],overflow:o,offset:[0,4],targetOffset:u},rightBottom:{points:["bl","br"],overflow:h,offset:[4,0],targetOffset:u},bottomLeft:{points:["tl","bl"],overflow:o,offset:[0,4],targetOffset:u},leftBottom:{points:["br","bl"],overflow:h,offset:[-4,0],targetOffset:u}},x=null,p=e(92310),y=e.n(p);function _(C){var D=C.children,M=C.prefixCls,B=C.id,N=C.overlayInnerStyle,K=C.className,G=C.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 D=="function"?D():D))}var b=["overlayClassName","trigger","mouseEnterDelay","mouseLeaveDelay","overlayStyle","prefixCls","children","onVisibleChange","afterVisibleChange","transitionName","animation","motion","placement","align","destroyTooltipOnHide","defaultVisible","getTooltipContainer","overlayInnerStyle","arrowContent","overlay","id","showArrow"],A=function(D,M){var B=D.overlayClassName,N=D.trigger,K=N===void 0?["hover"]:N,G=D.mouseEnterDelay,W=G===void 0?0:G,se=D.mouseLeaveDelay,ie=se===void 0?.1:se,le=D.overlayStyle,q=D.prefixCls,J=q===void 0?"rc-tooltip":q,V=D.children,ue=D.onVisibleChange,ee=D.afterVisibleChange,Q=D.transitionName,ce=D.animation,z=D.motion,$=D.placement,ae=$===void 0?"right":$,_e=D.align,De=_e===void 0?{}:_e,ke=D.destroyTooltipOnHide,He=ke===void 0?!1:ke,$e=D.defaultVisible,Bt=D.getTooltipContainer,gt=D.overlayInnerStyle,Dt=D.arrowContent,nr=D.overlay,Xt=D.id,cr=D.showArrow,Ge=cr===void 0?!0:cr,Tt=(0,l.Z)(D,b),Ut=(0,f.useRef)(null);(0,f.useImperativeHandle)(M,function(){return Ut.current});var at=(0,i.Z)({},Tt);"visible"in D&&(at.popupVisible=D.visible);var bt=function(){return f.createElement(_,{key:"content",prefixCls:J,id:Xt,overlayInnerStyle:gt},nr)};return f.createElement(c.Z,(0,r.Z)({popupClassName:B,prefixCls:J,popup:bt,action:K,builtinPlacements:a,popupPlacement:ae,ref:Ut,popupAlign:De,getPopupContainer:Bt,onPopupVisibleChange:ue,afterPopupVisibleChange:ee,popupTransitionName:Q,popupAnimation:ce,popupMotion:z,defaultPopupVisible:$e,autoDestroy:He,mouseLeaveDelay:ie,popupStyle:le,mouseEnterDelay:W,arrow:Ge},at),V)},k=(0,f.forwardRef)(A),R=k},11592:function(d,v,e){"use strict";e.d(v,{Z:function(){return l}});var r=e(34678),i=e(59301);function l(c){var f=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},o=[];return i.Children.forEach(c,function(h){h==null&&!f.keepEmpty||(Array.isArray(h)?o=o.concat(l(h)):(0,r.Z)(h)&&h.props?o=o.concat(l(h.props.children,f)):o.push(h))}),o}},47273:function(d,v,e){"use strict";e.d(v,{Z:function(){return r}});function r(){return!!(typeof window!="undefined"&&window.document&&window.document.createElement)}},48519:function(d,v,e){"use strict";e.d(v,{Z:function(){return r}});function r(i,l){if(!i)return!1;if(i.contains)return i.contains(l);for(var c=l;c;){if(c===i)return!0;c=c.parentNode}return!1}},810:function(d,v,e){"use strict";e.d(v,{hq:function(){return R},jL:function(){return b}});var r=e(20439),i=e(47273),l=e(48519),c="data-rc-order",f="data-rc-priority",o="rc-util-key",h=new Map;function u(){var C=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},D=C.mark;return D?D.startsWith("data-")?D:"data-".concat(D):o}function a(C){if(C.attachTo)return C.attachTo;var D=document.querySelector("head");return D||document.body}function x(C){return C==="queue"?"prependQueue":C?"prepend":"append"}function p(C){return Array.from((h.get(C)||C).children).filter(function(D){return D.tagName==="STYLE"})}function y(C){var D=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!(0,i.Z)())return null;var M=D.csp,B=D.prepend,N=D.priority,K=N===void 0?0:N,G=x(B),W=G==="prependQueue",se=document.createElement("style");se.setAttribute(c,G),W&&K&&se.setAttribute(f,"".concat(K)),M!=null&&M.nonce&&(se.nonce=M==null?void 0:M.nonce),se.innerHTML=C;var ie=a(D),le=ie.firstChild;if(B){if(W){var q=(D.styles||p(ie)).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 ie.insertBefore(se,q[q.length-1].nextSibling),se}ie.insertBefore(se,le)}else ie.appendChild(se);return se}function _(C){var D=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},M=a(D);return(D.styles||p(M)).find(function(B){return B.getAttribute(u(D))===C})}function b(C){var D=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},M=_(C,D);if(M){var B=a(D);B.removeChild(M)}}function A(C,D){var M=h.get(C);if(!M||!(0,l.Z)(document,M)){var B=y("",D),N=B.parentNode;h.set(C,N),C.removeChild(B)}}function k(){h.clear()}function R(C,D){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});A(B,K);var G=_(D,K);if(G){var W,se;if((W=K.csp)!==null&&W!==void 0&&W.nonce&&G.nonce!==((se=K.csp)===null||se===void 0?void 0:se.nonce)){var ie;G.nonce=(ie=K.csp)===null||ie===void 0?void 0:ie.nonce}return G.innerHTML!==C&&(G.innerHTML=C),G}var le=y(C,K);return le.setAttribute(u(K),D),le}},76846:function(d,v,e){"use strict";e.d(v,{Sh:function(){return c},ZP:function(){return o}});var r=e(93664),i=e(59301),l=e(4676);function c(h){return h instanceof HTMLElement||h instanceof SVGElement}function f(h){return h&&(0,r.Z)(h)==="object"&&c(h.nativeElement)?h.nativeElement:c(h)?h:null}function o(h){var u=f(h);if(u)return u;if(h instanceof i.Component){var a;return(a=l.findDOMNode)===null||a===void 0?void 0:a.call(l,h)}return null}},29194:function(d,v){"use strict";v.Z=function(e){if(!e)return!1;if(e instanceof Element){if(e.offsetParent)return!0;if(e.getBBox){var r=e.getBBox(),i=r.width,l=r.height;if(i||l)return!0}if(e.getBoundingClientRect){var c=e.getBoundingClientRect(),f=c.width,o=c.height;if(f||o)return!0}}return!1}},96452:function(d,v,e){"use strict";e.d(v,{A:function(){return l}});function r(c){var f;return c==null||(f=c.getRootNode)===null||f===void 0?void 0:f.call(c)}function i(c){return r(c)instanceof ShadowRoot}function l(c){return i(c)?r(c):null}},10228:function(d,v){"use strict";var e={MAC_ENTER:3,BACKSPACE:8,TAB:9,NUM_CENTER:12,ENTER:13,SHIFT:16,CTRL:17,ALT:18,PAUSE:19,CAPS_LOCK:20,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,PRINT_SCREEN:44,INSERT:45,DELETE:46,ZERO:48,ONE:49,TWO:50,THREE:51,FOUR:52,FIVE:53,SIX:54,SEVEN:55,EIGHT:56,NINE:57,QUESTION_MARK:63,A:65,B:66,C:67,D:68,E:69,F:70,G:71,H:72,I:73,J:74,K:75,L:76,M:77,N:78,O:79,P:80,Q:81,R:82,S:83,T:84,U:85,V:86,W:87,X:88,Y:89,Z:90,META:91,WIN_KEY_RIGHT:92,CONTEXT_MENU:93,NUM_ZERO:96,NUM_ONE:97,NUM_TWO:98,NUM_THREE:99,NUM_FOUR:100,NUM_FIVE:101,NUM_SIX:102,NUM_SEVEN:103,NUM_EIGHT:104,NUM_NINE:105,NUM_MULTIPLY:106,NUM_PLUS:107,NUM_MINUS:109,NUM_PERIOD:110,NUM_DIVISION:111,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,NUMLOCK:144,SEMICOLON:186,DASH:189,EQUALS:187,COMMA:188,PERIOD:190,SLASH:191,APOSTROPHE:192,SINGLE_QUOTE:222,OPEN_SQUARE_BRACKET:219,BACKSLASH:220,CLOSE_SQUARE_BRACKET:221,WIN_KEY:224,MAC_FF_META:224,WIN_IME:229,isTextModifyingKeyEvent:function(i){var l=i.keyCode;if(i.altKey&&!i.ctrlKey||i.metaKey||l>=e.F1&&l<=e.F12)return!1;switch(l){case e.ALT:case e.CAPS_LOCK:case e.CONTEXT_MENU:case e.CTRL:case e.DOWN:case e.END:case e.ESC:case e.HOME:case e.INSERT:case e.LEFT:case e.MAC_FF_META:case e.META:case e.NUMLOCK:case e.NUM_CENTER:case e.PAGE_DOWN:case e.PAGE_UP:case e.PAUSE:case e.PRINT_SCREEN:case e.RIGHT:case e.SHIFT:case e.UP:case e.WIN_KEY:case e.WIN_KEY_RIGHT:return!1;default:return!0}},isCharacterKey:function(i){if(i>=e.ZERO&&i<=e.NINE||i>=e.NUM_ZERO&&i<=e.NUM_MULTIPLY||i>=e.A&&i<=e.Z||window.navigator.userAgent.indexOf("WebKit")!==-1&&i===0)return!0;switch(i){case e.SPACE:case e.QUESTION_MARK:case e.NUM_PLUS:case e.NUM_MINUS:case e.NUM_PERIOD:case e.NUM_DIVISION:case e.SEMICOLON:case e.DASH:case e.EQUALS:case e.COMMA:case e.PERIOD:case e.SLASH:case e.APOSTROPHE:case e.SINGLE_QUOTE:case e.OPEN_SQUARE_BRACKET:case e.BACKSLASH:case e.CLOSE_SQUARE_BRACKET:return!0;default:return!1}}};v.Z=e},34678:function(d,v,e){"use strict";e.d(v,{Z:function(){return f}});var r=e(93664),i=Symbol.for("react.element"),l=Symbol.for("react.transitional.element"),c=Symbol.for("react.fragment");function f(o){return o&&(0,r.Z)(o)==="object"&&(o.$$typeof===i||o.$$typeof===l)&&o.type===c}},1585:function(d,v,e){"use strict";var r;e.d(v,{s:function(){return C},v:function(){return K}});var i=e(70539),l=e(95764),c=e(93664),f=e(20439),o=e(4676),h=(0,f.Z)({},r||(r=e.t(o,2))),u=h.version,a=h.render,x=h.unmountComponentAtNode,p;try{var y=Number((u||"").split(".")[0]);y>=18&&(p=h.createRoot)}catch(W){}function _(W){var se=h.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;se&&(0,c.Z)(se)==="object"&&(se.usingClientEntryPoint=W)}var b="__rc_react_root__";function A(W,se){_(!0);var ie=se[b]||p(se);_(!1),ie.render(W),se[b]=ie}function k(W,se){a==null||a(W,se)}function R(W,se){}function C(W,se){if(p){A(W,se);return}k(W,se)}function D(W){return M.apply(this,arguments)}function M(){return M=(0,l.Z)((0,i.Z)().mark(function W(se){return(0,i.Z)().wrap(function(le){for(;;)switch(le.prev=le.next){case 0:return le.abrupt("return",Promise.resolve().then(function(){var q;(q=se[b])===null||q===void 0||q.unmount(),delete se[b]}));case 1:case"end":return le.stop()}},W)})),M.apply(this,arguments)}function B(W){x(W)}function N(W){}function K(W){return G.apply(this,arguments)}function G(){return G=(0,l.Z)((0,i.Z)().mark(function W(se){return(0,i.Z)().wrap(function(le){for(;;)switch(le.prev=le.next){case 0:if(p===void 0){le.next=2;break}return le.abrupt("return",D(se));case 2:B(se);case 3:case"end":return le.stop()}},W)})),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),A=parseInt(_.height,10);try{var k=b?"width: ".concat(_.width,";"):"",R=A?"height: ".concat(_.height,";"):"";(0,r.hq)(`
|
|
|
#`.concat(h,`::-webkit-scrollbar {
|
|
|
`).concat(k,`
|
|
|
`).concat(R,`
|
|
|
}`),h)}catch(M){console.error(M),x=b,p=A}}document.body.appendChild(u);var C=o&&x&&!isNaN(x)?x:u.offsetWidth-u.clientWidth,D=o&&p&&!isNaN(p)?p:u.offsetHeight-u.clientHeight;return document.body.removeChild(u),(0,r.jL)(h),{width:C,height:D}}function c(o){return typeof document=="undefined"?0:((o||i===void 0)&&(i=l()),i.width)}function f(o){return typeof document=="undefined"||!o||!(o instanceof Element)?{width:0,height:0}:l(o)}},6089:function(d,v,e){"use strict";e.d(v,{Z:function(){return i}});var r=e(59301);function i(l){var c=r.useRef();c.current=l;var f=r.useCallback(function(){for(var o,h=arguments.length,u=new Array(h),a=0;a<h;a++)u[a]=arguments[a];return(o=c.current)===null||o===void 0?void 0:o.call.apply(o,[c].concat(u))},[]);return f}},80402:function(d,v,e){"use strict";var r,i=e(50298),l=e(20439),c=e(59301);function f(){var a=(0,l.Z)({},r||(r=e.t(c,2)));return a.useId}var o=0;function h(){}var u=f();v.Z=u?function(x){var p=u();return x||p}:function(x){var p=c.useState("ssr-id"),y=(0,i.Z)(p,2),_=y[0],b=y[1];return c.useEffect(function(){var A=o;o+=1,b("rc_unique_".concat(A))},[]),x||_}},34280:function(d,v,e){"use strict";e.d(v,{o:function(){return f}});var r=e(59301),i=e(47273),l=(0,i.Z)()?r.useLayoutEffect:r.useEffect,c=function(h,u){var a=r.useRef(!0);l(function(){return h(a.current)},u),l(function(){return a.current=!1,function(){a.current=!0}},[])},f=function(h,u){c(function(a){if(!a)return h()},u)};v.Z=c},80547:function(d,v,e){"use strict";e.d(v,{Z:function(){return i}});var r=e(59301);function i(l,c,f){var o=r.useRef({});return(!("value"in o.current)||f(o.current.condition,c))&&(o.current.value=l(),o.current.condition=c),o.current.value}},18929:function(d,v,e){"use strict";e.d(v,{Z:function(){return o}});var r=e(50298),i=e(6089),l=e(34280),c=e(41799);function f(h){return h!==void 0}function o(h,u){var a=u||{},x=a.defaultValue,p=a.value,y=a.onChange,_=a.postState,b=(0,c.Z)(function(){return f(p)?p:f(x)?typeof x=="function"?x():x:typeof h=="function"?h():h}),A=(0,r.Z)(b,2),k=A[0],R=A[1],C=p!==void 0?p:k,D=_?_(C):C,M=(0,i.Z)(y),B=(0,c.Z)([C]),N=(0,r.Z)(B,2),K=N[0],G=N[1];(0,l.o)(function(){var se=K[0];k!==se&&M(k,se)},[K]),(0,l.o)(function(){f(p)||R(p)},[p]);var W=(0,i.Z)(function(se,ie){R(se,ie),G([C],ie)});return[D,W]}},41799:function(d,v,e){"use strict";e.d(v,{Z:function(){return l}});var r=e(50298),i=e(59301);function l(c){var f=i.useRef(!1),o=i.useState(c),h=(0,r.Z)(o,2),u=h[0],a=h[1];i.useEffect(function(){return f.current=!1,function(){f.current=!0}},[]);function x(p,y){y&&f.current||a(p)}return[u,x]}},70425:function(d,v,e){"use strict";e.r(v),e.d(v,{get:function(){return c.Z},set:function(){return f.Z},supportNodeRef:function(){return l.t4},supportRef:function(){return l.Yr},useComposeRef:function(){return l.x1},useEvent:function(){return r.Z},useMergedState:function(){return i.Z},warning:function(){return o.ZP}});var r=e(6089),i=e(18929),l=e(8654),c=e(97938),f=e(24434),o=e(48736)},13697:function(d,v,e){"use strict";var r=e(93664),i=e(48736);function l(c,f){var o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,h=new Set;function u(a,x){var p=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1,y=h.has(a);if((0,i.ZP)(!y,"Warning: There may be circular references"),y)return!1;if(a===x)return!0;if(o&&p>1)return!1;h.add(a);var _=p+1;if(Array.isArray(a)){if(!Array.isArray(x)||a.length!==x.length)return!1;for(var b=0;b<a.length;b++)if(!u(a[b],x[b],_))return!1;return!0}if(a&&x&&(0,r.Z)(a)==="object"&&(0,r.Z)(x)==="object"){var A=Object.keys(a);return A.length!==Object.keys(x).length?!1:A.every(function(k){return u(a[k],x[k],_)})}return!1}return u(c,f)}v.Z=l},49658:function(d,v){"use strict";v.Z=function(){if(typeof navigator=="undefined"||typeof window=="undefined")return!1;var e=navigator.userAgent||navigator.vendor||window.opera;return/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino|android|ipad|playbook|silk/i.test(e)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw-(n|u)|c55\/|capi|ccwa|cdm-|cell|chtm|cldc|cmd-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc-s|devi|dica|dmob|do(c|p)o|ds(12|-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(-|_)|g1 u|g560|gene|gf-5|g-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd-(m|p|t)|hei-|hi(pt|ta)|hp( i|ip)|hs-c|ht(c(-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i-(20|go|ma)|i230|iac( |-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|-[a-w])|libw|lynx|m1-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|-([1-8]|c))|phil|pire|pl(ay|uc)|pn-2|po(ck|rt|se)|prox|psio|pt-g|qa-a|qc(07|12|21|32|60|-[2-7]|i-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h-|oo|p-)|sdk\/|se(c(-|0|1)|47|mc|nd|ri)|sgh-|shar|sie(-|m)|sk-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h-|v-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl-|tdg-|tel(i|m)|tim-|t-mo|to(pl|sh)|ts(70|m-|m3|m5)|tx-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas-|your|zeto|zte-/i.test(e==null?void 0:e.substr(0,4))}},2738:function(d,v,e){"use strict";e.d(v,{Z:function(){return r}});function r(i,l){var c=Object.assign({},i);return Array.isArray(l)&&l.forEach(function(f){delete c[f]}),c}},26112:function(d,v,e){"use strict";e.d(v,{Z:function(){return u}});var r=e(20439),i=`accept acceptCharset accessKey action allowFullScreen allowTransparency
|
|
|
alt async autoComplete autoFocus autoPlay capture cellPadding cellSpacing challenge
|
|
|
charSet checked classID className colSpan cols content contentEditable contextMenu
|
|
|
controls coords crossOrigin data dateTime default defer dir disabled download draggable
|
|
|
encType form formAction formEncType formMethod formNoValidate formTarget frameBorder
|
|
|
headers height hidden high href hrefLang htmlFor httpEquiv icon id inputMode integrity
|
|
|
is keyParams keyType kind label lang list loop low manifest marginHeight marginWidth max maxLength media
|
|
|
mediaGroup method min minLength multiple muted name noValidate nonce open
|
|
|
optimum pattern placeholder poster preload radioGroup readOnly rel required
|
|
|
reversed role rowSpan rows sandbox scope scoped scrolling seamless selected
|
|
|
shape size sizes span spellCheck src srcDoc srcLang srcSet start step style
|
|
|
summary tabIndex target title type useMap value width wmode wrap`,l=`onCopy onCut onPaste onCompositionEnd onCompositionStart onCompositionUpdate onKeyDown
|
|
|
onKeyPress onKeyUp onFocus onBlur onChange onInput onSubmit onClick onContextMenu onDoubleClick
|
|
|
onDrag onDragEnd onDragEnter onDragExit onDragLeave onDragOver onDragStart onDrop onMouseDown
|
|
|
onMouseEnter onMouseLeave onMouseMove onMouseOut onMouseOver onMouseUp onSelect onTouchCancel
|
|
|
onTouchEnd onTouchMove onTouchStart onScroll onWheel onAbort onCanPlay onCanPlayThrough
|
|
|
onDurationChange onEmptied onEncrypted onEnded onError onLoadedData onLoadedMetadata
|
|
|
onLoadStart onPause onPlay onPlaying onProgress onRateChange onSeeked onSeeking onStalled onSuspend onTimeUpdate onVolumeChange onWaiting onLoad onError`,c="".concat(i," ").concat(l).split(/[\s\n]+/),f="aria-",o="data-";function h(a,x){return a.indexOf(x)===0}function u(a){var x=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,p;x===!1?p={aria:!0,data:!0,attr:!0}:x===!0?p={aria:!0}:p=(0,r.Z)({},x);var y={};return Object.keys(a).forEach(function(_){(p.aria&&(_==="role"||h(_,f))||p.data&&h(_,o)||p.attr&&c.includes(_))&&(y[_]=a[_])}),y}},16089:function(d,v){"use strict";var e=function(h){return+setTimeout(h,16)},r=function(h){return clearTimeout(h)};typeof window!="undefined"&&"requestAnimationFrame"in window&&(e=function(h){return window.requestAnimationFrame(h)},r=function(h){return window.cancelAnimationFrame(h)});var i=0,l=new Map;function c(o){l.delete(o)}var f=function(h){var u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;i+=1;var a=i;function x(p){if(p===0)c(a),h();else{var y=e(function(){x(p-1)});l.set(a,y)}}return x(u),a};f.cancel=function(o){var h=l.get(o);return c(o),r(h)},v.Z=f},8654:function(d,v,e){"use strict";e.d(v,{C4:function(){return _},Yr:function(){return x},mH:function(){return h},sQ:function(){return u},t4:function(){return y},x1:function(){return a}});var r=e(93664),i=e(59301),l=e(23265),c=e(80547),f=e(34678),o=Number(i.version.split(".")[0]),h=function(A,k){typeof A=="function"?A(k):(0,r.Z)(A)==="object"&&A&&"current"in A&&(A.current=k)},u=function(){for(var A=arguments.length,k=new Array(A),R=0;R<A;R++)k[R]=arguments[R];var C=k.filter(Boolean);return C.length<=1?C[0]:function(D){k.forEach(function(M){h(M,D)})}},a=function(){for(var A=arguments.length,k=new Array(A),R=0;R<A;R++)k[R]=arguments[R];return(0,c.Z)(function(){return u.apply(void 0,k)},k,function(C,D){return C.length!==D.length||C.every(function(M,B){return M!==D[B]})})},x=function(A){var k,R;if(!A)return!1;if(p(A)&&o>=19)return!0;var C=(0,l.isMemo)(A)?A.type.type:A.type;return!(typeof C=="function"&&!((k=C.prototype)!==null&&k!==void 0&&k.render)&&C.$$typeof!==l.ForwardRef||typeof A=="function"&&!((R=A.prototype)!==null&&R!==void 0&&R.render)&&A.$$typeof!==l.ForwardRef)};function p(b){return(0,i.isValidElement)(b)&&!(0,f.Z)(b)}var y=function(A){return p(A)&&x(A)},_=function(A){if(A&&p(A)){var k=A;return k.props.propertyIsEnumerable("ref")?k.props.ref:k.ref}return null}},97938:function(d,v,e){"use strict";e.d(v,{Z:function(){return r}});function r(i,l){for(var c=i,f=0;f<l.length;f+=1){if(c==null)return;c=c[l[f]]}return c}},24434:function(d,v,e){"use strict";e.d(v,{T:function(){return p},Z:function(){return h}});var r=e(93664),i=e(20439),l=e(95190),c=e(21696),f=e(97938);function o(y,_,b,A){if(!_.length)return b;var k=(0,c.Z)(_),R=k[0],C=k.slice(1),D;return!y&&typeof R=="number"?D=[]:Array.isArray(y)?D=(0,l.Z)(y):D=(0,i.Z)({},y),A&&b===void 0&&C.length===1?delete D[R][C[0]]:D[R]=o(D[R],C,b,A),D}function h(y,_,b){var A=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;return _.length&&A&&b===void 0&&!(0,f.Z)(y,_.slice(0,-1))?y:o(y,_,b,A)}function u(y){return(0,r.Z)(y)==="object"&&y!==null&&Object.getPrototypeOf(y)===Object.prototype}function a(y){return Array.isArray(y)?[]:{}}var x=typeof Reflect=="undefined"?Object.keys:Reflect.ownKeys;function p(){for(var y=arguments.length,_=new Array(y),b=0;b<y;b++)_[b]=arguments[b];var A=a(_[0]);return _.forEach(function(k){function R(C,D){var M=new Set(D),B=(0,f.Z)(k,C),N=Array.isArray(B);if(N||u(B)){if(!M.has(B)){M.add(B);var K=(0,f.Z)(A,C);N?A=h(A,C,[]):(!K||(0,r.Z)(K)!=="object")&&(A=h(A,C,a(B))),x(B).forEach(function(G){R([].concat((0,l.Z)(C),[G]),M)})}}else A=h(A,C,B)}R([])}),A}},48736:function(d,v,e){"use strict";e.d(v,{ET:function(){return a},Kp:function(){return c}});var r={},i=[],l=function(p){i.push(p)};function c(x,p){if(0)var y}function f(x,p){if(0)var y}function o(){r={}}function h(x,p,y){!p&&!r[y]&&(x(!1,y),r[y]=!0)}function u(x,p){h(c,x,p)}function a(x,p){h(f,x,p)}u.preMessage=l,u.resetWarned=o,u.noteOnce=a,v.ZP=u},83145:function(d,v,e){"use strict";Object.defineProperty(v,"__esModule",{value:!0}),v.CopyToClipboard=void 0;var r=l(e(59301)),i=l(e(25769));function l(D){return D&&D.__esModule?D:{default:D}}function c(D){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?c=function(B){return typeof B}:c=function(B){return B&&typeof Symbol=="function"&&B.constructor===Symbol&&B!==Symbol.prototype?"symbol":typeof B},c(D)}function f(D,M){var B=Object.keys(D);if(Object.getOwnPropertySymbols){var N=Object.getOwnPropertySymbols(D);M&&(N=N.filter(function(K){return Object.getOwnPropertyDescriptor(D,K).enumerable})),B.push.apply(B,N)}return B}function o(D){for(var M=1;M<arguments.length;M++){var B=arguments[M]!=null?arguments[M]:{};M%2?f(B,!0).forEach(function(N){R(D,N,B[N])}):Object.getOwnPropertyDescriptors?Object.defineProperties(D,Object.getOwnPropertyDescriptors(B)):f(B).forEach(function(N){Object.defineProperty(D,N,Object.getOwnPropertyDescriptor(B,N))})}return D}function h(D,M){if(D==null)return{};var B=u(D,M),N,K;if(Object.getOwnPropertySymbols){var G=Object.getOwnPropertySymbols(D);for(K=0;K<G.length;K++)N=G[K],!(M.indexOf(N)>=0)&&Object.prototype.propertyIsEnumerable.call(D,N)&&(B[N]=D[N])}return B}function u(D,M){if(D==null)return{};var B={},N=Object.keys(D),K,G;for(G=0;G<N.length;G++)K=N[G],!(M.indexOf(K)>=0)&&(B[K]=D[K]);return B}function a(D,M){if(!(D instanceof M))throw new TypeError("Cannot call a class as a function")}function x(D,M){for(var B=0;B<M.length;B++){var N=M[B];N.enumerable=N.enumerable||!1,N.configurable=!0,"value"in N&&(N.writable=!0),Object.defineProperty(D,N.key,N)}}function p(D,M,B){return M&&x(D.prototype,M),B&&x(D,B),D}function y(D,M){return M&&(c(M)==="object"||typeof M=="function")?M:b(D)}function _(D){return _=Object.setPrototypeOf?Object.getPrototypeOf:function(B){return B.__proto__||Object.getPrototypeOf(B)},_(D)}function b(D){if(D===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return D}function A(D,M){if(typeof M!="function"&&M!==null)throw new TypeError("Super expression must either be null or a function");D.prototype=Object.create(M&&M.prototype,{constructor:{value:D,writable:!0,configurable:!0}}),M&&k(D,M)}function k(D,M){return k=Object.setPrototypeOf||function(N,K){return N.__proto__=K,N},k(D,M)}function R(D,M,B){return M in D?Object.defineProperty(D,M,{value:B,enumerable:!0,configurable:!0,writable:!0}):D[M]=B,D}var C=function(D){A(M,D);function M(){var B,N;a(this,M);for(var K=arguments.length,G=new Array(K),W=0;W<K;W++)G[W]=arguments[W];return N=y(this,(B=_(M)).call.apply(B,[this].concat(G))),R(b(N),"onClick",function(se){var ie=N.props,le=ie.text,q=ie.onCopy,J=ie.children,V=ie.options,ue=r.default.Children.only(J),ee=(0,i.default)(le,V);q&&q(le,ee),ue&&ue.props&&typeof ue.props.onClick=="function"&&ue.props.onClick(se)}),N}return p(M,[{key:"render",value:function(){var N=this.props,K=N.text,G=N.onCopy,W=N.options,se=N.children,ie=h(N,["text","onCopy","options","children"]),le=r.default.Children.only(se);return r.default.cloneElement(le,o({},ie,{onClick:this.onClick}))}}]),M}(r.default.PureComponent);v.CopyToClipboard=C,R(C,"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 P="https://reactjs.org/docs/error-decoder.html?invariant="+g,U=1;U<arguments.length;U++)P+="&args[]="+encodeURIComponent(arguments[U]);return"Minified React error #"+g+"; visit "+P+" 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,P){u(g,P),u(g+"Capture",P)}function u(g,P){for(o[g]=P,g=0;g<P.length;g++)f.add(P[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 A(g,P,U,ge){if(U!==null&&U.type===0)return!1;switch(typeof P){case"function":case"symbol":return!0;case"boolean":return ge?!1:U!==null?!U.acceptsBooleans:(g=g.toLowerCase().slice(0,5),g!=="data-"&&g!=="aria-");default:return!1}}function k(g,P,U,ge){if(P===null||typeof P=="undefined"||A(g,P,U,ge))return!0;if(ge)return!1;if(U!==null)switch(U.type){case 3:return!P;case 4:return P===!1;case 5:return isNaN(P);case 6:return isNaN(P)||1>P}return!1}function R(g,P,U,ge,Le,it,w){this.acceptsBooleans=P===2||P===3||P===4,this.attributeName=ge,this.attributeNamespace=Le,this.mustUseProperty=U,this.propertyName=g,this.type=P,this.sanitizeURL=it,this.removeEmptyString=w}var C={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(g){C[g]=new R(g,0,!1,g,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(g){var P=g[0];C[P]=new R(P,1,!1,g[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(g){C[g]=new R(g,2,!1,g.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(g){C[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){C[g]=new R(g,3,!1,g.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(g){C[g]=new R(g,3,!0,g,null,!1,!1)}),["capture","download"].forEach(function(g){C[g]=new R(g,4,!1,g,null,!1,!1)}),["cols","rows","size","span"].forEach(function(g){C[g]=new R(g,6,!1,g,null,!1,!1)}),["rowSpan","start"].forEach(function(g){C[g]=new R(g,5,!1,g.toLowerCase(),null,!1,!1)});var D=/[\-:]([a-z])/g;function M(g){return g[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(g){var P=g.replace(D,M);C[P]=new R(P,1,!1,g,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(g){var P=g.replace(D,M);C[P]=new R(P,1,!1,g,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(g){var P=g.replace(D,M);C[P]=new R(P,1,!1,g,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(g){C[g]=new R(g,1,!1,g.toLowerCase(),null,!1,!1)}),C.xlinkHref=new R("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(g){C[g]=new R(g,1,!1,g.toLowerCase(),null,!0,!0)});function B(g,P,U,ge){var Le=C.hasOwnProperty(P)?C[P]:null,it=Le!==null?Le.type===0:ge?!1:!(!(2<P.length)||P[0]!=="o"&&P[0]!=="O"||P[1]!=="n"&&P[1]!=="N");it||(k(P,U,Le,ge)&&(U=null),ge||Le===null?b(P)&&(U===null?g.removeAttribute(P):g.setAttribute(P,""+U)):Le.mustUseProperty?g[Le.propertyName]=U===null?Le.type===3?!1:"":U:(P=Le.attributeName,ge=Le.attributeNamespace,U===null?g.removeAttribute(P):(Le=Le.type,U=Le===3||Le===4&&U===!0?"":""+U,ge?g.setAttributeNS(ge,P,U):g.setAttribute(P,U))))}var N=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,K=60103,G=60106,W=60107,se=60108,ie=60114,le=60109,q=60110,J=60112,V=60113,ue=60120,ee=60115,Q=60116,ce=60121,z=60128,$=60129,ae=60130,_e=60131;if(typeof Symbol=="function"&&Symbol.for){var De=Symbol.for;K=De("react.element"),G=De("react.portal"),W=De("react.fragment"),se=De("react.strict_mode"),ie=De("react.profiler"),le=De("react.provider"),q=De("react.context"),J=De("react.forward_ref"),V=De("react.suspense"),ue=De("react.suspense_list"),ee=De("react.memo"),Q=De("react.lazy"),ce=De("react.block"),De("react.scope"),z=De("react.opaque.id"),$=De("react.debug_trace_mode"),ae=De("react.offscreen"),_e=De("react.legacy_hidden")}var ke=typeof Symbol=="function"&&Symbol.iterator;function He(g){return g===null||typeof g!="object"?null:(g=ke&&g[ke]||g["@@iterator"],typeof g=="function"?g:null)}var $e;function Bt(g){if($e===void 0)try{throw Error()}catch(U){var P=U.stack.trim().match(/\n( *(at )?)/);$e=P&&P[1]||""}return`
|
|
|
`+$e+g}var gt=!1;function Dt(g,P){if(!g||gt)return"";gt=!0;var U=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(P)if(P=function(){throw Error()},Object.defineProperty(P.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(P,[])}catch(n){var ge=n}Reflect.construct(g,[],P)}else{try{P.call()}catch(n){ge=n}g.call(P.prototype)}else{try{throw Error()}catch(n){ge=n}g()}}catch(n){if(n&&ge&&typeof n.stack=="string"){for(var Le=n.stack.split(`
|
|
|
`),it=ge.stack.split(`
|
|
|
`),w=Le.length-1,t=it.length-1;1<=w&&0<=t&&Le[w]!==it[t];)t--;for(;1<=w&&0<=t;w--,t--)if(Le[w]!==it[t]){if(w!==1||t!==1)do if(w--,t--,0>t||Le[w]!==it[t])return`
|
|
|
`+Le[w].replace(" at new "," at ");while(1<=w&&0<=t);break}}}finally{gt=!1,Error.prepareStackTrace=U}return(g=g?g.displayName||g.name:"")?Bt(g):""}function nr(g){switch(g.tag){case 5:return Bt(g.type);case 16:return Bt("Lazy");case 13:return Bt("Suspense");case 19:return Bt("SuspenseList");case 0:case 2:case 15:return g=Dt(g.type,!1),g;case 11:return g=Dt(g.type.render,!1),g;case 22:return g=Dt(g.type._render,!1),g;case 1:return g=Dt(g.type,!0),g;default:return""}}function 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 W:return"Fragment";case G:return"Portal";case ie:return"Profiler";case se:return"StrictMode";case V:return"Suspense";case ue:return"SuspenseList"}if(typeof g=="object")switch(g.$$typeof){case q:return(g.displayName||"Context")+".Consumer";case le:return(g._context.displayName||"Context")+".Provider";case J:var P=g.render;return P=P.displayName||P.name||"",g.displayName||(P!==""?"ForwardRef("+P+")":"ForwardRef");case ee:return Xt(g.type);case ce:return Xt(g._render);case Q:P=g._payload,g=g._init;try{return Xt(g(P))}catch(U){}}return null}function cr(g){switch(typeof g){case"boolean":case"number":case"object":case"string":case"undefined":return g;default:return""}}function Ge(g){var P=g.type;return(g=g.nodeName)&&g.toLowerCase()==="input"&&(P==="checkbox"||P==="radio")}function Tt(g){var P=Ge(g)?"checked":"value",U=Object.getOwnPropertyDescriptor(g.constructor.prototype,P),ge=""+g[P];if(!g.hasOwnProperty(P)&&typeof U!="undefined"&&typeof U.get=="function"&&typeof U.set=="function"){var Le=U.get,it=U.set;return Object.defineProperty(g,P,{configurable:!0,get:function(){return Le.call(this)},set:function(w){ge=""+w,it.call(this,w)}}),Object.defineProperty(g,P,{enumerable:U.enumerable}),{getValue:function(){return ge},setValue:function(w){ge=""+w},stopTracking:function(){g._valueTracker=null,delete g[P]}}}}function Ut(g){g._valueTracker||(g._valueTracker=Tt(g))}function at(g){if(!g)return!1;var P=g._valueTracker;if(!P)return!0;var U=P.getValue(),ge="";return g&&(ge=Ge(g)?g.checked?"true":"false":g.value),g=ge,g!==U?(P.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(P){return g.body}}function dt(g,P){var U=P.checked;return i({},P,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:U!=null?U:g._wrapperState.initialChecked})}function tt(g,P){var U=P.defaultValue==null?"":P.defaultValue,ge=P.checked!=null?P.checked:P.defaultChecked;U=cr(P.value!=null?P.value:U),g._wrapperState={initialChecked:ge,initialValue:U,controlled:P.type==="checkbox"||P.type==="radio"?P.checked!=null:P.value!=null}}function Ue(g,P){P=P.checked,P!=null&&B(g,"checked",P,!1)}function ye(g,P){Ue(g,P);var U=cr(P.value),ge=P.type;if(U!=null)ge==="number"?(U===0&&g.value===""||g.value!=U)&&(g.value=""+U):g.value!==""+U&&(g.value=""+U);else if(ge==="submit"||ge==="reset"){g.removeAttribute("value");return}P.hasOwnProperty("value")?Me(g,P.type,U):P.hasOwnProperty("defaultValue")&&Me(g,P.type,cr(P.defaultValue)),P.checked==null&&P.defaultChecked!=null&&(g.defaultChecked=!!P.defaultChecked)}function Ce(g,P,U){if(P.hasOwnProperty("value")||P.hasOwnProperty("defaultValue")){var ge=P.type;if(!(ge!=="submit"&&ge!=="reset"||P.value!==void 0&&P.value!==null))return;P=""+g._wrapperState.initialValue,U||P===g.value||(g.value=P),g.defaultValue=P}U=g.name,U!==""&&(g.name=""),g.defaultChecked=!!g._wrapperState.initialChecked,U!==""&&(g.name=U)}function Me(g,P,U){(P!=="number"||bt(g.ownerDocument)!==g)&&(U==null?g.defaultValue=""+g._wrapperState.initialValue:g.defaultValue!==""+U&&(g.defaultValue=""+U))}function je(g){var P="";return r.Children.forEach(g,function(U){U!=null&&(P+=U)}),P}function We(g,P){return g=i({children:void 0},P),(P=je(P.children))&&(g.children=P),g}function nt(g,P,U,ge){if(g=g.options,P){P={};for(var Le=0;Le<U.length;Le++)P["$"+U[Le]]=!0;for(U=0;U<g.length;U++)Le=P.hasOwnProperty("$"+g[U].value),g[U].selected!==Le&&(g[U].selected=Le),Le&&ge&&(g[U].defaultSelected=!0)}else{for(U=""+cr(U),P=null,Le=0;Le<g.length;Le++){if(g[Le].value===U){g[Le].selected=!0,ge&&(g[Le].defaultSelected=!0);return}P!==null||g[Le].disabled||(P=g[Le])}P!==null&&(P.selected=!0)}}function lt(g,P){if(P.dangerouslySetInnerHTML!=null)throw Error(c(91));return i({},P,{value:void 0,defaultValue:void 0,children:""+g._wrapperState.initialValue})}function Vt(g,P){var U=P.value;if(U==null){if(U=P.children,P=P.defaultValue,U!=null){if(P!=null)throw Error(c(92));if(Array.isArray(U)){if(!(1>=U.length))throw Error(c(93));U=U[0]}P=U}P==null&&(P=""),U=P}g._wrapperState={initialValue:cr(U)}}function Ht(g,P){var U=cr(P.value),ge=cr(P.defaultValue);U!=null&&(U=""+U,U!==g.value&&(g.value=U),P.defaultValue==null&&g.defaultValue!==U&&(g.defaultValue=U)),ge!=null&&(g.defaultValue=""+ge)}function Pe(g){var P=g.textContent;P===g._wrapperState.initialValue&&P!==""&&P!==null&&(g.value=P)}var et={html:"http://www.w3.org/1999/xhtml",mathml:"http://www.w3.org/1998/Math/MathML",svg:"http://www.w3.org/2000/svg"};function Kt(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,P){return g==null||g==="http://www.w3.org/1999/xhtml"?Kt(P):g==="http://www.w3.org/2000/svg"&&P==="foreignObject"?"http://www.w3.org/1999/xhtml":g}var Zt,Nt=function(g){return typeof MSApp!="undefined"&&MSApp.execUnsafeLocalFunction?function(P,U,ge,Le){MSApp.execUnsafeLocalFunction(function(){return g(P,U,ge,Le)})}:g}(function(g,P){if(g.namespaceURI!==et.svg||"innerHTML"in g)g.innerHTML=P;else{for(Zt=Zt||document.createElement("div"),Zt.innerHTML="<svg>"+P.valueOf().toString()+"</svg>",P=Zt.firstChild;g.firstChild;)g.removeChild(g.firstChild);for(;P.firstChild;)g.appendChild(P.firstChild)}});function tr(g,P){if(P){var U=g.firstChild;if(U&&U===g.lastChild&&U.nodeType===3){U.nodeValue=P;return}}g.textContent=P}var Wt={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},Fe=["Webkit","ms","Moz","O"];Object.keys(Wt).forEach(function(g){Fe.forEach(function(P){P=P+g.charAt(0).toUpperCase()+g.substring(1),Wt[P]=Wt[g]})});function fe(g,P,U){return P==null||typeof P=="boolean"||P===""?"":U||typeof P!="number"||P===0||Wt.hasOwnProperty(g)&&Wt[g]?(""+P).trim():P+"px"}function pe(g,P){g=g.style;for(var U in P)if(P.hasOwnProperty(U)){var ge=U.indexOf("--")===0,Le=fe(U,P[U],ge);U==="float"&&(U="cssFloat"),ge?g.setProperty(U,Le):g[U]=Le}}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 Ie(g,P){if(P){if(Pt[g]&&(P.children!=null||P.dangerouslySetInnerHTML!=null))throw Error(c(137,g));if(P.dangerouslySetInnerHTML!=null){if(P.children!=null)throw Error(c(60));if(!(typeof P.dangerouslySetInnerHTML=="object"&&"__html"in P.dangerouslySetInnerHTML))throw Error(c(61))}if(P.style!=null&&typeof P.style!="object")throw Error(c(62))}}function ct(g,P){if(g.indexOf("-")===-1)return typeof P.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,Oe=null,xt=null;function xe(g){if(g=Ka(g)){if(typeof wt!="function")throw Error(c(280));var P=g.stateNode;P&&(P=Ya(P),wt(g.stateNode,g.type,P))}}function Ye(g){Oe?xt?xt.push(g):xt=[g]:Oe=g}function mt(){if(Oe){var g=Oe,P=xt;if(xt=Oe=null,xe(g),P)for(g=0;g<P.length;g++)xe(P[g])}}function Mt(g,P){return g(P)}function Be(g,P,U,ge,Le){return g(P,U,ge,Le)}function Ir(){}var St=Mt,Zr=!1,Yr=!1;function xr(){(Oe!==null||xt!==null)&&(Ir(),mt())}function Mr(g,P,U){if(Yr)return g(P,U);Yr=!0;try{return St(g,P,U)}finally{Yr=!1,xr()}}function mr(g,P){var U=g.stateNode;if(U===null)return null;var ge=Ya(U);if(ge===null)return null;U=ge[P];e:switch(P){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(ge=!ge.disabled)||(g=g.type,ge=!(g==="button"||g==="input"||g==="select"||g==="textarea")),g=!ge;break e;default:g=!1}if(g)return null;if(U&&typeof U!="function")throw Error(c(231,P,typeof U));return U}var Nr=!1;if(a)try{var nn={};Object.defineProperty(nn,"passive",{get:function(){Nr=!0}}),window.addEventListener("test",nn,nn),window.removeEventListener("test",nn,nn)}catch(g){Nr=!1}function on(g,P,U,ge,Le,it,w,t,n){var s=Array.prototype.slice.call(arguments,3);try{P.apply(U,s)}catch(m){this.onError(m)}}var or=!1,Rt=null,_t=!1,vt=null,$t={onError:function(g){or=!0,Rt=g}};function Sr(g,P,U,ge,Le,it,w,t,n){or=!1,Rt=null,on.apply($t,arguments)}function vr(g,P,U,ge,Le,it,w,t,n){if(Sr.apply(this,arguments),or){if(or){var s=Rt;or=!1,Rt=null}else throw Error(c(198));_t||(_t=!0,vt=s)}}function Qr(g){var P=g,U=g;if(g.alternate)for(;P.return;)P=P.return;else{g=P;do P=g,P.flags&1026&&(U=P.return),g=P.return;while(g)}return P.tag===3?U:null}function Wr(g){if(g.tag===13){var P=g.memoizedState;if(P===null&&(g=g.alternate,g!==null&&(P=g.memoizedState)),P!==null)return P.dehydrated}return null}function An(g){if(Qr(g)!==g)throw Error(c(188))}function At(g){var P=g.alternate;if(!P){if(P=Qr(g),P===null)throw Error(c(188));return P!==g?null:g}for(var U=g,ge=P;;){var Le=U.return;if(Le===null)break;var it=Le.alternate;if(it===null){if(ge=Le.return,ge!==null){U=ge;continue}break}if(Le.child===it.child){for(it=Le.child;it;){if(it===U)return An(Le),g;if(it===ge)return An(Le),P;it=it.sibling}throw Error(c(188))}if(U.return!==ge.return)U=Le,ge=it;else{for(var w=!1,t=Le.child;t;){if(t===U){w=!0,U=Le,ge=it;break}if(t===ge){w=!0,ge=Le,U=it;break}t=t.sibling}if(!w){for(t=it.child;t;){if(t===U){w=!0,U=it,ge=Le;break}if(t===ge){w=!0,ge=it,U=Le;break}t=t.sibling}if(!w)throw Error(c(189))}}if(U.alternate!==ge)throw Error(c(190))}if(U.tag!==3)throw Error(c(188));return U.stateNode.current===U?g:P}function lr(g){if(g=At(g),!g)return null;for(var P=g;;){if(P.tag===5||P.tag===6)return P;if(P.child)P.child.return=P,P=P.child;else{if(P===g)break;for(;!P.sibling;){if(!P.return||P.return===g)return null;P=P.return}P.sibling.return=P.return,P=P.sibling}}return null}function Vr(g,P){for(var U=g.alternate;P!==null;){if(P===g||P===U)return!0;P=P.return}return!1}var dn,Bn,ti,Un,Ri=!1,ni=[],ci=null,gi=null,di=null,Qi=new Map,Gn=new Map,Xi=[],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 st(g,P,U,ge,Le){return{blockedOn:g,domEventName:P,eventSystemFlags:U|16,nativeEvent:Le,targetContainers:[ge]}}function Vn(g,P){switch(g){case"focusin":case"focusout":ci=null;break;case"dragenter":case"dragleave":gi=null;break;case"mouseover":case"mouseout":di=null;break;case"pointerover":case"pointerout":Qi.delete(P.pointerId);break;case"gotpointercapture":case"lostpointercapture":Gn.delete(P.pointerId)}}function yi(g,P,U,ge,Le,it){return g===null||g.nativeEvent!==it?(g=st(P,U,ge,Le,it),P!==null&&(P=Ka(P),P!==null&&Bn(P)),g):(g.eventSystemFlags|=ge,P=g.targetContainers,Le!==null&&P.indexOf(Le)===-1&&P.push(Le),g)}function Kn(g,P,U,ge,Le){switch(P){case"focusin":return ci=yi(ci,g,P,U,ge,Le),!0;case"dragenter":return gi=yi(gi,g,P,U,ge,Le),!0;case"mouseover":return di=yi(di,g,P,U,ge,Le),!0;case"pointerover":var it=Le.pointerId;return Qi.set(it,yi(Qi.get(it)||null,g,P,U,ge,Le)),!0;case"gotpointercapture":return it=Le.pointerId,Gn.set(it,yi(Gn.get(it)||null,g,P,U,ge,Le)),!0}return!1}function Ki(g){var P=ka(g.target);if(P!==null){var U=Qr(P);if(U!==null){if(P=U.tag,P===13){if(P=Wr(U),P!==null){g.blockedOn=P,Un(g.lanePriority,function(){l.unstable_runWithPriority(g.priority,function(){ti(U)})});return}}else if(P===3&&U.stateNode.hydrate){g.blockedOn=U.tag===3?U.stateNode.containerInfo:null;return}}}g.blockedOn=null}function _i(g){if(g.blockedOn!==null)return!1;for(var P=g.targetContainers;0<P.length;){var U=ws(g.domEventName,g.eventSystemFlags,P[0],g.nativeEvent);if(U!==null)return P=Ka(U),P!==null&&Bn(P),g.blockedOn=U,!1;P.shift()}return!0}function ei(g,P,U){_i(g)&&U.delete(P)}function vn(){for(Ri=!1;0<ni.length;){var g=ni[0];if(g.blockedOn!==null){g=Ka(g.blockedOn),g!==null&&dn(g);break}for(var P=g.targetContainers;0<P.length;){var U=ws(g.domEventName,g.eventSystemFlags,P[0],g.nativeEvent);if(U!==null){g.blockedOn=U;break}P.shift()}g.blockedOn===null&&ni.shift()}ci!==null&&_i(ci)&&(ci=null),gi!==null&&_i(gi)&&(gi=null),di!==null&&_i(di)&&(di=null),Qi.forEach(ei),Gn.forEach(ei)}function er(g,P){g.blockedOn===P&&(g.blockedOn=null,Ri||(Ri=!0,l.unstable_scheduleCallback(l.unstable_NormalPriority,vn)))}function pt(g){function P(Le){return er(Le,g)}if(0<ni.length){er(ni[0],g);for(var U=1;U<ni.length;U++){var ge=ni[U];ge.blockedOn===g&&(ge.blockedOn=null)}}for(ci!==null&&er(ci,g),gi!==null&&er(gi,g),di!==null&&er(di,g),Qi.forEach(P),Gn.forEach(P),U=0;U<Xi.length;U++)ge=Xi[U],ge.blockedOn===g&&(ge.blockedOn=null);for(;0<Xi.length&&(U=Xi[0],U.blockedOn===null);)Ki(U),U.blockedOn===null&&Xi.shift()}function rt(g,P){var U={};return U[g.toLowerCase()]=P.toLowerCase(),U["Webkit"+g]="webkit"+P,U["Moz"+g]="moz"+P,U}var Ot={animationend:rt("Animation","AnimationEnd"),animationiteration:rt("Animation","AnimationIteration"),animationstart:rt("Animation","AnimationStart"),transitionend:rt("Transition","TransitionEnd")},ft={},ur={};a&&(ur=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 fr(g){if(ft[g])return ft[g];if(!Ot[g])return g;var P=Ot[g],U;for(U in P)if(P.hasOwnProperty(U)&&U in ur)return ft[g]=P[U];return g}var Tr=fr("animationend"),$r=fr("animationiteration"),Ze=fr("animationstart"),qe=fr("transitionend"),Ee=new Map,ot=new Map,ar=["abort","abort",Tr,"animationEnd",$r,"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 br(g,P){for(var U=0;U<g.length;U+=2){var ge=g[U],Le=g[U+1];Le="on"+(Le[0].toUpperCase()+Le.slice(1)),ot.set(ge,P),Ee.set(ge,Le),h(Le,[ge])}}var Dr=l.unstable_now;Dr();var Pr=8;function Fr(g){if(1&g)return Pr=15,1;if(2&g)return Pr=14,2;if(4&g)return Pr=13,4;var P=24&g;return P!==0?(Pr=12,P):g&32?(Pr=11,32):(P=192&g,P!==0?(Pr=10,P):g&256?(Pr=9,256):(P=3584&g,P!==0?(Pr=8,P):g&4096?(Pr=7,4096):(P=4186112&g,P!==0?(Pr=6,P):(P=62914560&g,P!==0?(Pr=5,P):g&67108864?(Pr=4,67108864):g&134217728?(Pr=3,134217728):(P=805306368&g,P!==0?(Pr=2,P):1073741824&g?(Pr=1,1073741824):(Pr=8,g))))))}function mn(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 Er(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 un(g,P){var U=g.pendingLanes;if(U===0)return Pr=0;var ge=0,Le=0,it=g.expiredLanes,w=g.suspendedLanes,t=g.pingedLanes;if(it!==0)ge=it,Le=Pr=15;else if(it=U&134217727,it!==0){var n=it&~w;n!==0?(ge=Fr(n),Le=Pr):(t&=it,t!==0&&(ge=Fr(t),Le=Pr))}else it=U&~w,it!==0?(ge=Fr(it),Le=Pr):t!==0&&(ge=Fr(t),Le=Pr);if(ge===0)return 0;if(ge=31-li(ge),ge=U&((0>ge?0:1<<ge)<<1)-1,P!==0&&P!==ge&&!(P&w)){if(Fr(P),Le<=Pr)return P;Pr=Le}if(P=g.entangledLanes,P!==0)for(g=g.entanglements,P&=ge;0<P;)U=31-li(P),Le=1<<U,ge|=g[U],P&=~Le;return ge}function Jr(g){return g=g.pendingLanes&-1073741825,g!==0?g:g&1073741824?1073741824:0}function sn(g,P){switch(g){case 15:return 1;case 14:return 2;case 12:return g=xn(24&~P),g===0?sn(10,P):g;case 10:return g=xn(192&~P),g===0?sn(8,P):g;case 8:return g=xn(3584&~P),g===0&&(g=xn(4186112&~P),g===0&&(g=512)),g;case 2:return P=xn(805306368&~P),P===0&&(P=268435456),P}throw Error(c(358,g))}function xn(g){return g&-g}function ha(g){for(var P=[],U=0;31>U;U++)P.push(g);return P}function Ci(g,P,U){g.pendingLanes|=P;var ge=P-1;g.suspendedLanes&=ge,g.pingedLanes&=ge,g=g.eventTimes,P=31-li(P),g[P]=U}var li=Math.clz32?Math.clz32:Fi,_n=Math.log,ai=Math.LN2;function Fi(g){return g===0?32:31-(_n(g)/ai|0)|0}var oa=l.unstable_UserBlockingPriority,Cs=l.unstable_runWithPriority,ua=!0;function ms(g,P,U,ge){Zr||Ir();var Le=Ra,it=Zr;Zr=!0;try{Be(Le,g,P,U,ge)}finally{(Zr=it)||xr()}}function Ts(g,P,U,ge){Cs(oa,Ra.bind(null,g,P,U,ge))}function Ra(g,P,U,ge){if(ua){var Le;if((Le=(P&4)===0)&&0<ni.length&&-1<Et.indexOf(g))g=st(null,g,P,U,ge),ni.push(g);else{var it=ws(g,P,U,ge);if(it===null)Le&&Vn(g,ge);else{if(Le){if(-1<Et.indexOf(g)){g=st(it,g,P,U,ge),ni.push(g);return}if(Kn(it,g,P,U,ge))return;Vn(g,ge)}jr(g,P,ge,null,U)}}}}function ws(g,P,U,ge){var Le=zt(ge);if(Le=ka(Le),Le!==null){var it=Qr(Le);if(it===null)Le=null;else{var w=it.tag;if(w===13){if(Le=Wr(it),Le!==null)return Le;Le=null}else if(w===3){if(it.stateNode.hydrate)return it.tag===3?it.stateNode.containerInfo:null;Le=null}else it!==Le&&(Le=null)}}return jr(g,P,ge,Le,U),null}var Zn=null,ns=null,Ga=null;function Ps(){if(Ga)return Ga;var g,P=ns,U=P.length,ge,Le="value"in Zn?Zn.value:Zn.textContent,it=Le.length;for(g=0;g<U&&P[g]===Le[g];g++);var w=U-g;for(ge=1;ge<=w&&P[U-ge]===Le[it-ge];ge++);return Ga=Le.slice(g,1<ge?1-ge:void 0)}function zi(g){var P=g.keyCode;return"charCode"in g?(g=g.charCode,g===0&&P===13&&(g=13)):g=P,g===10&&(g=13),32<=g||g===13?g:0}function vs(){return!0}function Po(){return!1}function Pa(g){function P(U,ge,Le,it,w){this._reactName=U,this._targetInst=Le,this.type=ge,this.nativeEvent=it,this.target=w,this.currentTarget=null;for(var t in g)g.hasOwnProperty(t)&&(U=g[t],this[t]=U?U(it):it[t]);return this.isDefaultPrevented=(it.defaultPrevented!=null?it.defaultPrevented:it.returnValue===!1)?vs:Po,this.isPropagationStopped=Po,this}return i(P.prototype,{preventDefault:function(){this.defaultPrevented=!0;var U=this.nativeEvent;U&&(U.preventDefault?U.preventDefault():typeof U.returnValue!="unknown"&&(U.returnValue=!1),this.isDefaultPrevented=vs)},stopPropagation:function(){var U=this.nativeEvent;U&&(U.stopPropagation?U.stopPropagation():typeof U.cancelBubble!="unknown"&&(U.cancelBubble=!0),this.isPropagationStopped=vs)},persist:function(){},isPersistent:vs}),P}var ta={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(g){return g.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Fa=Pa(ta),Ks=i({},ta,{view:0,detail:0}),In=Pa(Ks),La,as,ss,Li=i({},Ks,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Na,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!==ss&&(ss&&g.type==="mousemove"?(La=g.screenX-ss.screenX,as=g.screenY-ss.screenY):as=La=0,ss=g),La)},movementY:function(g){return"movementY"in g?g.movementY:as}}),Da=Pa(Li),Ia=i({},Li,{dataTransfer:0}),cs=Pa(Ia),Ys=i({},Ks,{relatedTarget:0}),Eo=Pa(Ys),Io=i({},ta,{animationName:0,elapsedTime:0,pseudoElement:0}),Do=Pa(Io),Ba=i({},ta,{clipboardData:function(g){return"clipboardData"in g?g.clipboardData:window.clipboardData}}),qa=Pa(Ba),lo=i({},ta,{data:0}),Oo=Pa(lo),wo={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},ko={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"},fi={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function si(g){var P=this.nativeEvent;return P.getModifierState?P.getModifierState(g):(g=fi[g])?!!P[g]:!1}function Na(){return si}var Va=i({},Ks,{key:function(g){if(g.key){var P=wo[g.key]||g.key;if(P!=="Unidentified")return P}return g.type==="keypress"?(g=zi(g),g===13?"Enter":String.fromCharCode(g)):g.type==="keydown"||g.type==="keyup"?ko[g.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Na,charCode:function(g){return g.type==="keypress"?zi(g):0},keyCode:function(g){return g.type==="keydown"||g.type==="keyup"?g.keyCode:0},which:function(g){return g.type==="keypress"?zi(g):g.type==="keydown"||g.type==="keyup"?g.keyCode:0}}),$a=Pa(Va),Xs=i({},Li,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),So=Pa(Xs),Zo=i({},Ks,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Na}),fs=Pa(Zo),No=i({},ta,{propertyName:0,elapsedTime:0,pseudoElement:0}),Ho=Pa(No),iu=i({},Li,{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=Pa(iu),Cu=[9,13,27,32],vo=a&&"CompositionEvent"in window,Vs=null;a&&"documentMode"in document&&(Vs=document.documentMode);var Ko=a&&"TextEvent"in window&&!Vs,du=a&&(!vo||Vs&&8<Vs&&11>=Vs),co=" ",go=!1;function au(g,P){switch(g){case"keyup":return Cu.indexOf(P.keyCode)!==-1;case"keydown":return P.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Ro(g){return g=g.detail,typeof g=="object"&&"data"in g?g.data:null}var $o=!1;function os(g,P){switch(g){case"compositionend":return Ro(P);case"keypress":return P.which!==32?null:(go=!0,co);case"textInput":return g=P.data,g===co&&go?null:g;default:return null}}function Ao(g,P){if($o)return g==="compositionend"||!vo&&au(g,P)?(g=Ps(),Ga=ns=Zn=null,$o=!1,g):null;switch(g){case"paste":return null;case"keypress":if(!(P.ctrlKey||P.altKey||P.metaKey)||P.ctrlKey&&P.altKey){if(P.char&&1<P.char.length)return P.char;if(P.which)return String.fromCharCode(P.which)}return null;case"compositionend":return du&&P.locale!=="ko"?null:P.data;default:return null}}var hu={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function qt(g){var P=g&&g.nodeName&&g.nodeName.toLowerCase();return P==="input"?!!hu[g.type]:P==="textarea"}function hr(g,P,U,ge){Ye(ge),P=tn(P,"onChange"),0<P.length&&(U=new Fa("onChange","change",null,U,ge),g.push({event:U,listeners:P}))}var sr=null,pr=null;function Ar(g){Xe(g,0)}function fn(g){var P=Js(g);if(at(P))return g}function Rn(g,P){if(g==="change")return P}var wn=!1;if(a){var Ln;if(a){var Jn="oninput"in document;if(!Jn){var Qn=document.createElement("div");Qn.setAttribute("oninput","return;"),Jn=typeof Qn.oninput=="function"}Ln=Jn}else Ln=!1;wn=Ln&&(!document.documentMode||9<document.documentMode)}function dr(){sr&&(sr.detachEvent("onpropertychange",Lr),pr=sr=null)}function Lr(g){if(g.propertyName==="value"&&fn(pr)){var P=[];if(hr(P,pr,g,zt(g)),g=Ar,Zr)g(P);else{Zr=!0;try{Mt(g,P)}finally{Zr=!1,xr()}}}}function Or(g,P,U){g==="focusin"?(dr(),sr=P,pr=U,sr.attachEvent("onpropertychange",Lr)):g==="focusout"&&dr()}function gn(g){if(g==="selectionchange"||g==="keyup"||g==="keydown")return fn(pr)}function yn(g,P){if(g==="click")return fn(P)}function ht(g,P){if(g==="input"||g==="change")return fn(P)}function Dn(g,P){return g===P&&(g!==0||1/g===1/P)||g!==g&&P!==P}var Mn=typeof Object.is=="function"?Object.is:Dn,Ei=Object.prototype.hasOwnProperty;function Zi(g,P){if(Mn(g,P))return!0;if(typeof g!="object"||g===null||typeof P!="object"||P===null)return!1;var U=Object.keys(g),ge=Object.keys(P);if(U.length!==ge.length)return!1;for(ge=0;ge<U.length;ge++)if(!Ei.call(P,U[ge])||!Mn(g[U[ge]],P[U[ge]]))return!1;return!0}function Jt(g){for(;g&&g.firstChild;)g=g.firstChild;return g}function Yi(g,P){var U=Jt(g);g=0;for(var ge;U;){if(U.nodeType===3){if(ge=g+U.textContent.length,g<=P&&ge>=P)return{node:U,offset:P-g};g=ge}e:{for(;U;){if(U.nextSibling){U=U.nextSibling;break e}U=U.parentNode}U=void 0}U=Jt(U)}}function Bi(g,P){return g&&P?g===P?!0:g&&g.nodeType===3?!1:P&&P.nodeType===3?Bi(g,P.parentNode):"contains"in g?g.contains(P):g.compareDocumentPosition?!!(g.compareDocumentPosition(P)&16):!1:!1}function fa(){for(var g=window,P=bt();P instanceof g.HTMLIFrameElement;){try{var U=typeof P.contentWindow.location.href=="string"}catch(ge){U=!1}if(U)g=P.contentWindow;else break;P=bt(g.document)}return P}function Ja(g){var P=g&&g.nodeName&&g.nodeName.toLowerCase();return P&&(P==="input"&&(g.type==="text"||g.type==="search"||g.type==="tel"||g.type==="url"||g.type==="password")||P==="textarea"||g.contentEditable==="true")}var gs=a&&"documentMode"in document&&11>=document.documentMode,Ti=null,io=null,Us=null,ds=!1;function Ea(g,P,U){var ge=U.window===U?U.document:U.nodeType===9?U:U.ownerDocument;ds||Ti==null||Ti!==bt(ge)||(ge=Ti,"selectionStart"in ge&&Ja(ge)?ge={start:ge.selectionStart,end:ge.selectionEnd}:(ge=(ge.ownerDocument&&ge.ownerDocument.defaultView||window).getSelection(),ge={anchorNode:ge.anchorNode,anchorOffset:ge.anchorOffset,focusNode:ge.focusNode,focusOffset:ge.focusOffset}),Us&&Zi(Us,ge)||(Us=ge,ge=tn(io,"onSelect"),0<ge.length&&(P=new Fa("onSelect","select",null,P,U),g.push({event:P,listeners:ge}),P.target=Ti)))}br("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),br("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),br(ar,2);for(var us="change selectionchange textInput compositionstart compositionend compositionupdate".split(" "),Qs=0;Qs<us.length;Qs++)ot.set(us[Qs],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 kn="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),Ss=new Set("cancel close invalid load scroll toggle".split(" ").concat(kn));function zs(g,P,U){var ge=g.type||"unknown-event";g.currentTarget=U,vr(ge,P,void 0,g),g.currentTarget=null}function Xe(g,P){P=(P&4)!==0;for(var U=0;U<g.length;U++){var ge=g[U],Le=ge.event;ge=ge.listeners;e:{var it=void 0;if(P)for(var w=ge.length-1;0<=w;w--){var t=ge[w],n=t.instance,s=t.currentTarget;if(t=t.listener,n!==it&&Le.isPropagationStopped())break e;zs(Le,t,s),it=n}else for(w=0;w<ge.length;w++){if(t=ge[w],n=t.instance,s=t.currentTarget,t=t.listener,n!==it&&Le.isPropagationStopped())break e;zs(Le,t,s),it=n}}}if(_t)throw g=vt,_t=!1,vt=null,g}function Qe(g,P){var U=fo(P),ge=g+"__bubble";U.has(ge)||(Rr(P,g,2,!1),U.add(ge))}var Ft="_reactListening"+Math.random().toString(36).slice(2);function Gt(g){g[Ft]||(g[Ft]=!0,f.forEach(function(P){Ss.has(P)||gr(P,!1,g,null),gr(P,!0,g,null)}))}function gr(g,P,U,ge){var Le=4<arguments.length&&arguments[4]!==void 0?arguments[4]:0,it=U;if(g==="selectionchange"&&U.nodeType!==9&&(it=U.ownerDocument),ge!==null&&!P&&Ss.has(g)){if(g!=="scroll")return;Le|=2,it=ge}var w=fo(it),t=g+"__"+(P?"capture":"bubble");w.has(t)||(P&&(Le|=4),Rr(it,g,Le,P),w.add(t))}function Rr(g,P,U,ge){var Le=ot.get(P);switch(Le===void 0?2:Le){case 0:Le=ms;break;case 1:Le=Ts;break;default:Le=Ra}U=Le.bind(null,P,U,g),Le=void 0,!Nr||P!=="touchstart"&&P!=="touchmove"&&P!=="wheel"||(Le=!0),ge?Le!==void 0?g.addEventListener(P,U,{capture:!0,passive:Le}):g.addEventListener(P,U,!0):Le!==void 0?g.addEventListener(P,U,{passive:Le}):g.addEventListener(P,U,!1)}function jr(g,P,U,ge,Le){var it=ge;if(!(P&1)&&!(P&2)&&ge!==null)e:for(;;){if(ge===null)return;var w=ge.tag;if(w===3||w===4){var t=ge.stateNode.containerInfo;if(t===Le||t.nodeType===8&&t.parentNode===Le)break;if(w===4)for(w=ge.return;w!==null;){var n=w.tag;if((n===3||n===4)&&(n=w.stateNode.containerInfo,n===Le||n.nodeType===8&&n.parentNode===Le))return;w=w.return}for(;t!==null;){if(w=ka(t),w===null)return;if(n=w.tag,n===5||n===6){ge=it=w;continue e}t=t.parentNode}}ge=ge.return}Mr(function(){var s=it,m=zt(U),E=[];e:{var T=Ee.get(g);if(T!==void 0){var j=Fa,Y=g;switch(g){case"keypress":if(zi(U)===0)break e;case"keydown":case"keyup":j=$a;break;case"focusin":Y="focus",j=Eo;break;case"focusout":Y="blur",j=Eo;break;case"beforeblur":case"afterblur":j=Eo;break;case"click":if(U.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":j=Da;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":j=cs;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":j=fs;break;case Tr:case $r:case Ze:j=Do;break;case qe:j=Ho;break;case"scroll":j=In;break;case"wheel":j=mo;break;case"copy":case"cut":case"paste":j=qa;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":j=So}var H=(P&4)!==0,te=!H&&g==="scroll",oe=H?T!==null?T+"Capture":null:T;H=[];for(var me=s,we;me!==null;){we=me;var Se=we.stateNode;if(we.tag===5&&Se!==null&&(we=Se,oe!==null&&(Se=mr(me,oe),Se!=null&&H.push(hn(me,Se,we)))),te)break;me=me.return}0<H.length&&(T=new j(T,Y,null,U,m),E.push({event:T,listeners:H}))}}if(!(P&7)){e:{if(T=g==="mouseover"||g==="pointerover",j=g==="mouseout"||g==="pointerout",T&&!(P&16)&&(Y=U.relatedTarget||U.fromElement)&&(ka(Y)||Y[Oi]))break e;if((j||T)&&(T=m.window===m?m:(T=m.ownerDocument)?T.defaultView||T.parentWindow:window,j?(Y=U.relatedTarget||U.toElement,j=s,Y=Y?ka(Y):null,Y!==null&&(te=Qr(Y),Y!==te||Y.tag!==5&&Y.tag!==6)&&(Y=null)):(j=null,Y=s),j!==Y)){if(H=Da,Se="onMouseLeave",oe="onMouseEnter",me="mouse",(g==="pointerout"||g==="pointerover")&&(H=So,Se="onPointerLeave",oe="onPointerEnter",me="pointer"),te=j==null?T:Js(j),we=Y==null?T:Js(Y),T=new H(Se,me+"leave",j,U,m),T.target=te,T.relatedTarget=we,Se=null,ka(m)===s&&(H=new H(oe,me+"enter",Y,U,m),H.target=we,H.relatedTarget=te,Se=H),te=Se,j&&Y)t:{for(H=j,oe=Y,me=0,we=H;we;we=pn(we))me++;for(we=0,Se=oe;Se;Se=pn(Se))we++;for(;0<me-we;)H=pn(H),me--;for(;0<we-me;)oe=pn(oe),we--;for(;me--;){if(H===oe||oe!==null&&H===oe.alternate)break t;H=pn(H),oe=pn(oe)}H=null}else H=null;j!==null&&Yn(E,T,j,H,!1),Y!==null&&te!==null&&Yn(E,te,Y,H,!0)}}e:{if(T=s?Js(s):window,j=T.nodeName&&T.nodeName.toLowerCase(),j==="select"||j==="input"&&T.type==="file")var ut=Rn;else if(qt(T))if(wn)ut=ht;else{ut=gn;var Je=Or}else(j=T.nodeName)&&j.toLowerCase()==="input"&&(T.type==="checkbox"||T.type==="radio")&&(ut=yn);if(ut&&(ut=ut(g,s))){hr(E,ut,U,m);break e}Je&&Je(g,T,s),g==="focusout"&&(Je=T._wrapperState)&&Je.controlled&&T.type==="number"&&Me(T,"number",T.value)}switch(Je=s?Js(s):window,g){case"focusin":(qt(Je)||Je.contentEditable==="true")&&(Ti=Je,io=s,Us=null);break;case"focusout":Us=io=Ti=null;break;case"mousedown":ds=!0;break;case"contextmenu":case"mouseup":case"dragend":ds=!1,Ea(E,U,m);break;case"selectionchange":if(gs)break;case"keydown":case"keyup":Ea(E,U,m)}var Lt;if(vo)e:{switch(g){case"compositionstart":var rr="onCompositionStart";break e;case"compositionend":rr="onCompositionEnd";break e;case"compositionupdate":rr="onCompositionUpdate";break e}rr=void 0}else $o?au(g,U)&&(rr="onCompositionEnd"):g==="keydown"&&U.keyCode===229&&(rr="onCompositionStart");rr&&(du&&U.locale!=="ko"&&($o||rr!=="onCompositionStart"?rr==="onCompositionEnd"&&$o&&(Lt=Ps()):(Zn=m,ns="value"in Zn?Zn.value:Zn.textContent,$o=!0)),Je=tn(s,rr),0<Je.length&&(rr=new Oo(rr,g,null,U,m),E.push({event:rr,listeners:Je}),Lt?rr.data=Lt:(Lt=Ro(U),Lt!==null&&(rr.data=Lt)))),(Lt=Ko?os(g,U):Ao(g,U))&&(s=tn(s,"onBeforeInput"),0<s.length&&(m=new Oo("onBeforeInput","beforeinput",null,U,m),E.push({event:m,listeners:s}),m.data=Lt))}Xe(E,P)})}function hn(g,P,U){return{instance:g,listener:P,currentTarget:U}}function tn(g,P){for(var U=P+"Capture",ge=[];g!==null;){var Le=g,it=Le.stateNode;Le.tag===5&&it!==null&&(Le=it,it=mr(g,U),it!=null&&ge.unshift(hn(g,it,Le)),it=mr(g,P),it!=null&&ge.push(hn(g,it,Le))),g=g.return}return ge}function pn(g){if(g===null)return null;do g=g.return;while(g&&g.tag!==5);return g||null}function Yn(g,P,U,ge,Le){for(var it=P._reactName,w=[];U!==null&&U!==ge;){var t=U,n=t.alternate,s=t.stateNode;if(n!==null&&n===ge)break;t.tag===5&&s!==null&&(t=s,Le?(n=mr(U,it),n!=null&&w.unshift(hn(U,n,t))):Le||(n=mr(U,it),n!=null&&w.push(hn(U,n,t)))),U=U.return}w.length!==0&&g.push({event:P,listeners:w})}function qn(){}var mi=null,wi=null;function Hi(g,P){switch(g){case"button":case"input":case"select":case"textarea":return!!P.autoFocus}return!1}function Mi(g,P){return g==="textarea"||g==="option"||g==="noscript"||typeof P.children=="string"||typeof P.children=="number"||typeof P.dangerouslySetInnerHTML=="object"&&P.dangerouslySetInnerHTML!==null&&P.dangerouslySetInnerHTML.__html!=null}var bi=typeof setTimeout=="function"?setTimeout:void 0,pa=typeof clearTimeout=="function"?clearTimeout:void 0;function xi(g){g.nodeType===1?g.textContent="":g.nodeType===9&&(g=g.body,g!=null&&(g.textContent=""))}function hi(g){for(;g!=null;g=g.nextSibling){var P=g.nodeType;if(P===1||P===3)break}return g}function la(g){g=g.previousSibling;for(var P=0;g;){if(g.nodeType===8){var U=g.data;if(U==="$"||U==="$!"||U==="$?"){if(P===0)return g;P--}else U==="/$"&&P++}g=g.previousSibling}return null}var qs=0;function As(g){return{$$typeof:z,toString:g,valueOf:g}}var Wi=Math.random().toString(36).slice(2),Oa="__reactFiber$"+Wi,Ji="__reactProps$"+Wi,Oi="__reactContainer$"+Wi,ga="__reactEvents$"+Wi;function ka(g){var P=g[Oa];if(P)return P;for(var U=g.parentNode;U;){if(P=U[Oi]||U[Oa]){if(U=P.alternate,P.child!==null||U!==null&&U.child!==null)for(g=la(g);g!==null;){if(U=g[Oa])return U;g=la(g)}return P}g=U,U=g.parentNode}return null}function Ka(g){return g=g[Oa]||g[Oi],!g||g.tag!==5&&g.tag!==6&&g.tag!==13&&g.tag!==3?null:g}function Js(g){if(g.tag===5||g.tag===6)return g.stateNode;throw Error(c(33))}function Ya(g){return g[Ji]||null}function fo(g){var P=g[ga];return P===void 0&&(P=g[ga]=new Set),P}var ja=[],Xa=-1;function ls(g){return{current:g}}function ra(g){0>Xa||(g.current=ja[Xa],ja[Xa]=null,Xa--)}function za(g,P){Xa++,ja[Xa]=g.current,g.current=P}var ys={},ya=ls(ys),be=ls(!1),Ae=ys;function wr(g,P){var U=g.type.contextTypes;if(!U)return ys;var ge=g.stateNode;if(ge&&ge.__reactInternalMemoizedUnmaskedChildContext===P)return ge.__reactInternalMemoizedMaskedChildContext;var Le={},it;for(it in U)Le[it]=P[it];return ge&&(g=g.stateNode,g.__reactInternalMemoizedUnmaskedChildContext=P,g.__reactInternalMemoizedMaskedChildContext=Le),Le}function Xr(g){return g=g.childContextTypes,g!=null}function yr(){ra(be),ra(ya)}function Kr(g,P,U){if(ya.current!==ys)throw Error(c(168));za(ya,P),za(be,U)}function En(g,P,U){var ge=g.stateNode;if(g=P.childContextTypes,typeof ge.getChildContext!="function")return U;ge=ge.getChildContext();for(var Le in ge)if(!(Le in g))throw Error(c(108,Xt(P)||"Unknown",Le));return i({},U,ge)}function Xn(g){return g=(g=g.stateNode)&&g.__reactInternalMemoizedMergedChildContext||ys,Ae=ya.current,za(ya,g),za(be,be.current),!0}function ki(g,P,U){var ge=g.stateNode;if(!ge)throw Error(c(169));U?(g=En(g,P,Ae),ge.__reactInternalMemoizedMergedChildContext=g,ra(be),ra(ya),za(ya,g)):ra(be),za(be,U)}var On=null,Cn=null,Nn=l.unstable_runWithPriority,ia=l.unstable_scheduleCallback,Gi=l.unstable_cancelCallback,yo=l.unstable_shouldYield,ao=l.unstable_requestPaint,Yo=l.unstable_now,bl=l.unstable_getCurrentPriorityLevel,Mu=l.unstable_ImmediatePriority,Xo=l.unstable_UserBlockingPriority,xc=l.unstable_NormalPriority,vu=l.unstable_LowPriority,Ve=l.unstable_IdlePriority,Z={},X=ao!==void 0?ao:function(){},ne=null,he=null,Te=!1,Ke=Yo(),Ct=1e4>Ke?Yo:function(){return Yo()-Ke};function jt(){switch(bl()){case Mu:return 99;case Xo:return 98;case xc:return 97;case vu:return 96;case Ve:return 95;default:throw Error(c(332))}}function ir(g){switch(g){case 99:return Mu;case 98:return Xo;case 97:return xc;case 96:return vu;case 95:return Ve;default:throw Error(c(332))}}function It(g,P){return g=ir(g),Nn(g,P)}function Ur(g,P,U){return g=ir(g),ia(g,P,U)}function en(){if(he!==null){var g=he;he=null,Gi(g)}bn()}function bn(){if(!Te&&ne!==null){Te=!0;var g=0;try{var P=ne;It(99,function(){for(;g<P.length;g++){var U=P[g];do U=U(!0);while(U!==null)}}),ne=null}catch(U){throw ne!==null&&(ne=ne.slice(g+1)),ia(Mu,en),U}finally{Te=!1}}}var $n=N.ReactCurrentBatchConfig;function Hn(g,P){if(g&&g.defaultProps){P=i({},P),g=g.defaultProps;for(var U in g)P[U]===void 0&&(P[U]=g[U]);return P}return P}var Si=ls(null),da=null,aa=null,ca=null;function Ma(){ca=aa=da=null}function es(g){var P=Si.current;ra(Si),g.type._context._currentValue=P}function bs(g,P){for(;g!==null;){var U=g.alternate;if((g.childLanes&P)===P){if(U===null||(U.childLanes&P)===P)break;U.childLanes|=P}else g.childLanes|=P,U!==null&&(U.childLanes|=P);g=g.return}}function Za(g,P){da=g,ca=aa=null,g=g.dependencies,g!==null&&g.firstContext!==null&&(g.lanes&P&&(Pu=!0),g.firstContext=null)}function qi(g,P){if(ca!==g&&P!==!1&&P!==0)if((typeof P!="number"||P===1073741823)&&(ca=g,P=1073741823),P={context:g,observedBits:P,next:null},aa===null){if(da===null)throw Error(c(308));aa=P,da.dependencies={lanes:0,firstContext:P,responders:null}}else aa=aa.next=P;return g._currentValue}var Ns=!1;function Is(g){g.updateQueue={baseState:g.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null},effects:null}}function pi(g,P){g=g.updateQueue,P.updateQueue===g&&(P.updateQueue={baseState:g.baseState,firstBaseUpdate:g.firstBaseUpdate,lastBaseUpdate:g.lastBaseUpdate,shared:g.shared,effects:g.effects})}function ho(g,P){return{eventTime:g,lane:P,tag:0,payload:null,callback:null,next:null}}function so(g,P){if(g=g.updateQueue,g!==null){g=g.shared;var U=g.pending;U===null?P.next=P:(P.next=U.next,U.next=P),g.pending=P}}function Qo(g,P){var U=g.updateQueue,ge=g.alternate;if(ge!==null&&(ge=ge.updateQueue,U===ge)){var Le=null,it=null;if(U=U.firstBaseUpdate,U!==null){do{var w={eventTime:U.eventTime,lane:U.lane,tag:U.tag,payload:U.payload,callback:U.callback,next:null};it===null?Le=it=w:it=it.next=w,U=U.next}while(U!==null);it===null?Le=it=P:it=it.next=P}else Le=it=P;U={baseState:ge.baseState,firstBaseUpdate:Le,lastBaseUpdate:it,shared:ge.shared,effects:ge.effects},g.updateQueue=U;return}g=U.lastBaseUpdate,g===null?U.firstBaseUpdate=P:g.next=P,U.lastBaseUpdate=P}function Rs(g,P,U,ge){var Le=g.updateQueue;Ns=!1;var it=Le.firstBaseUpdate,w=Le.lastBaseUpdate,t=Le.shared.pending;if(t!==null){Le.shared.pending=null;var n=t,s=n.next;n.next=null,w===null?it=s:w.next=s,w=n;var m=g.alternate;if(m!==null){m=m.updateQueue;var E=m.lastBaseUpdate;E!==w&&(E===null?m.firstBaseUpdate=s:E.next=s,m.lastBaseUpdate=n)}}if(it!==null){E=Le.baseState,w=0,m=s=n=null;do{t=it.lane;var T=it.eventTime;if((ge&t)===t){m!==null&&(m=m.next={eventTime:T,lane:0,tag:it.tag,payload:it.payload,callback:it.callback,next:null});e:{var j=g,Y=it;switch(t=P,T=U,Y.tag){case 1:if(j=Y.payload,typeof j=="function"){E=j.call(T,E,t);break e}E=j;break e;case 3:j.flags=j.flags&-4097|64;case 0:if(j=Y.payload,t=typeof j=="function"?j.call(T,E,t):j,t==null)break e;E=i({},E,t);break e;case 2:Ns=!0}}it.callback!==null&&(g.flags|=32,t=Le.effects,t===null?Le.effects=[it]:t.push(it))}else T={eventTime:T,lane:t,tag:it.tag,payload:it.payload,callback:it.callback,next:null},m===null?(s=m=T,n=E):m=m.next=T,w|=t;if(it=it.next,it===null){if(t=Le.shared.pending,t===null)break;it=t.next,t.next=null,Le.lastBaseUpdate=t,Le.shared.pending=null}}while(!0);m===null&&(n=E),Le.baseState=n,Le.firstBaseUpdate=s,Le.lastBaseUpdate=m,_o|=w,g.lanes=w,g.memoizedState=E}}function Ls(g,P,U){if(g=P.effects,P.effects=null,g!==null)for(P=0;P<g.length;P++){var ge=g[P],Le=ge.callback;if(Le!==null){if(ge.callback=null,ge=U,typeof Le!="function")throw Error(c(191,Le));Le.call(ge)}}}var $s=new r.Component().refs;function xl(g,P,U,ge){P=g.memoizedState,U=U(ge,P),U=U==null?P:i({},P,U),g.memoizedState=U,g.lanes===0&&(g.updateQueue.baseState=U)}var Ku={isMounted:function(g){return(g=g._reactInternals)?Qr(g)===g:!1},enqueueSetState:function(g,P,U){g=g._reactInternals;var ge=ru(),Le=Wu(g),it=ho(ge,Le);it.payload=P,U!=null&&(it.callback=U),so(g,it),pl(g,Le,ge)},enqueueReplaceState:function(g,P,U){g=g._reactInternals;var ge=ru(),Le=Wu(g),it=ho(ge,Le);it.tag=1,it.payload=P,U!=null&&(it.callback=U),so(g,it),pl(g,Le,ge)},enqueueForceUpdate:function(g,P){g=g._reactInternals;var U=ru(),ge=Wu(g),Le=ho(U,ge);Le.tag=2,P!=null&&(Le.callback=P),so(g,Le),pl(g,ge,U)}};function Tu(g,P,U,ge,Le,it,w){return g=g.stateNode,typeof g.shouldComponentUpdate=="function"?g.shouldComponentUpdate(ge,it,w):P.prototype&&P.prototype.isPureReactComponent?!Zi(U,ge)||!Zi(Le,it):!0}function qo(g,P,U){var ge=!1,Le=ys,it=P.contextType;return typeof it=="object"&&it!==null?it=qi(it):(Le=Xr(P)?Ae:ya.current,ge=P.contextTypes,it=(ge=ge!=null)?wr(g,Le):ys),P=new P(U,it),g.memoizedState=P.state!==null&&P.state!==void 0?P.state:null,P.updater=Ku,g.stateNode=P,P._reactInternals=g,ge&&(g=g.stateNode,g.__reactInternalMemoizedUnmaskedChildContext=Le,g.__reactInternalMemoizedMaskedChildContext=it),P}function Zs(g,P,U,ge){g=P.state,typeof P.componentWillReceiveProps=="function"&&P.componentWillReceiveProps(U,ge),typeof P.UNSAFE_componentWillReceiveProps=="function"&&P.UNSAFE_componentWillReceiveProps(U,ge),P.state!==g&&Ku.enqueueReplaceState(P,P.state,null)}function Fu(g,P,U,ge){var Le=g.stateNode;Le.props=U,Le.state=g.memoizedState,Le.refs=$s,Is(g);var it=P.contextType;typeof it=="object"&&it!==null?Le.context=qi(it):(it=Xr(P)?Ae:ya.current,Le.context=wr(g,it)),Rs(g,U,Le,ge),Le.state=g.memoizedState,it=P.getDerivedStateFromProps,typeof it=="function"&&(xl(g,P,it,U),Le.state=g.memoizedState),typeof P.getDerivedStateFromProps=="function"||typeof Le.getSnapshotBeforeUpdate=="function"||typeof Le.UNSAFE_componentWillMount!="function"&&typeof Le.componentWillMount!="function"||(P=Le.state,typeof Le.componentWillMount=="function"&&Le.componentWillMount(),typeof Le.UNSAFE_componentWillMount=="function"&&Le.UNSAFE_componentWillMount(),P!==Le.state&&Ku.enqueueReplaceState(Le,Le.state,null),Rs(g,U,Le,ge),Le.state=g.memoizedState),typeof Le.componentDidMount=="function"&&(g.flags|=4)}var gu=Array.isArray;function bo(g,P,U){if(g=U.ref,g!==null&&typeof g!="function"&&typeof g!="object"){if(U._owner){if(U=U._owner,U){if(U.tag!==1)throw Error(c(309));var ge=U.stateNode}if(!ge)throw Error(c(147,g));var Le=""+g;return P!==null&&P.ref!==null&&typeof P.ref=="function"&&P.ref._stringRef===Le?P.ref:(P=function(it){var w=ge.refs;w===$s&&(w=ge.refs={}),it===null?delete w[Le]:w[Le]=it},P._stringRef=Le,P)}if(typeof g!="string")throw Error(c(284));if(!U._owner)throw Error(c(290,g))}return g}function rl(g,P){if(g.type!=="textarea")throw Error(c(31,Object.prototype.toString.call(P)==="[object Object]"?"object with keys {"+Object.keys(P).join(", ")+"}":P))}function El(g){function P(te,oe){if(g){var me=te.lastEffect;me!==null?(me.nextEffect=oe,te.lastEffect=oe):te.firstEffect=te.lastEffect=oe,oe.nextEffect=null,oe.flags=8}}function U(te,oe){if(!g)return null;for(;oe!==null;)P(te,oe),oe=oe.sibling;return null}function ge(te,oe){for(te=new Map;oe!==null;)oe.key!==null?te.set(oe.key,oe):te.set(oe.index,oe),oe=oe.sibling;return te}function Le(te,oe){return te=ku(te,oe),te.index=0,te.sibling=null,te}function it(te,oe,me){return te.index=me,g?(me=te.alternate,me!==null?(me=me.index,me<oe?(te.flags=2,oe):me):(te.flags=2,oe)):oe}function w(te){return g&&te.alternate===null&&(te.flags=2),te}function t(te,oe,me,we){return oe===null||oe.tag!==6?(oe=hf(me,te.mode,we),oe.return=te,oe):(oe=Le(oe,me),oe.return=te,oe)}function n(te,oe,me,we){return oe!==null&&oe.elementType===me.type?(we=Le(oe,me.props),we.ref=bo(te,oe,me),we.return=te,we):(we=yc(me.type,me.key,me.props,null,te.mode,we),we.ref=bo(te,oe,me),we.return=te,we)}function s(te,oe,me,we){return oe===null||oe.tag!==4||oe.stateNode.containerInfo!==me.containerInfo||oe.stateNode.implementation!==me.implementation?(oe=Mc(me,te.mode,we),oe.return=te,oe):(oe=Le(oe,me.children||[]),oe.return=te,oe)}function m(te,oe,me,we,Se){return oe===null||oe.tag!==7?(oe=To(me,te.mode,we,Se),oe.return=te,oe):(oe=Le(oe,me),oe.return=te,oe)}function E(te,oe,me){if(typeof oe=="string"||typeof oe=="number")return oe=hf(""+oe,te.mode,me),oe.return=te,oe;if(typeof oe=="object"&&oe!==null){switch(oe.$$typeof){case K:return me=yc(oe.type,oe.key,oe.props,null,te.mode,me),me.ref=bo(te,null,oe),me.return=te,me;case G:return oe=Mc(oe,te.mode,me),oe.return=te,oe}if(gu(oe)||He(oe))return oe=To(oe,te.mode,me,null),oe.return=te,oe;rl(te,oe)}return null}function T(te,oe,me,we){var Se=oe!==null?oe.key:null;if(typeof me=="string"||typeof me=="number")return Se!==null?null:t(te,oe,""+me,we);if(typeof me=="object"&&me!==null){switch(me.$$typeof){case K:return me.key===Se?me.type===W?m(te,oe,me.props.children,we,Se):n(te,oe,me,we):null;case G:return me.key===Se?s(te,oe,me,we):null}if(gu(me)||He(me))return Se!==null?null:m(te,oe,me,we,null);rl(te,me)}return null}function j(te,oe,me,we,Se){if(typeof we=="string"||typeof we=="number")return te=te.get(me)||null,t(oe,te,""+we,Se);if(typeof we=="object"&&we!==null){switch(we.$$typeof){case K:return te=te.get(we.key===null?me:we.key)||null,we.type===W?m(oe,te,we.props.children,Se,we.key):n(oe,te,we,Se);case G:return te=te.get(we.key===null?me:we.key)||null,s(oe,te,we,Se)}if(gu(we)||He(we))return te=te.get(me)||null,m(oe,te,we,Se,null);rl(oe,we)}return null}function Y(te,oe,me,we){for(var Se=null,ut=null,Je=oe,Lt=oe=0,rr=null;Je!==null&&Lt<me.length;Lt++){Je.index>Lt?(rr=Je,Je=null):rr=Je.sibling;var Yt=T(te,Je,me[Lt],we);if(Yt===null){Je===null&&(Je=rr);break}g&&Je&&Yt.alternate===null&&P(te,Je),oe=it(Yt,oe,Lt),ut===null?Se=Yt:ut.sibling=Yt,ut=Yt,Je=rr}if(Lt===me.length)return U(te,Je),Se;if(Je===null){for(;Lt<me.length;Lt++)Je=E(te,me[Lt],we),Je!==null&&(oe=it(Je,oe,Lt),ut===null?Se=Je:ut.sibling=Je,ut=Je);return Se}for(Je=ge(te,Je);Lt<me.length;Lt++)rr=j(Je,te,Lt,me[Lt],we),rr!==null&&(g&&rr.alternate!==null&&Je.delete(rr.key===null?Lt:rr.key),oe=it(rr,oe,Lt),ut===null?Se=rr:ut.sibling=rr,ut=rr);return g&&Je.forEach(function(Cr){return P(te,Cr)}),Se}function H(te,oe,me,we){var Se=He(me);if(typeof Se!="function")throw Error(c(150));if(me=Se.call(me),me==null)throw Error(c(151));for(var ut=Se=null,Je=oe,Lt=oe=0,rr=null,Yt=me.next();Je!==null&&!Yt.done;Lt++,Yt=me.next()){Je.index>Lt?(rr=Je,Je=null):rr=Je.sibling;var Cr=T(te,Je,Yt.value,we);if(Cr===null){Je===null&&(Je=rr);break}g&&Je&&Cr.alternate===null&&P(te,Je),oe=it(Cr,oe,Lt),ut===null?Se=Cr:ut.sibling=Cr,ut=Cr,Je=rr}if(Yt.done)return U(te,Je),Se;if(Je===null){for(;!Yt.done;Lt++,Yt=me.next())Yt=E(te,Yt.value,we),Yt!==null&&(oe=it(Yt,oe,Lt),ut===null?Se=Yt:ut.sibling=Yt,ut=Yt);return Se}for(Je=ge(te,Je);!Yt.done;Lt++,Yt=me.next())Yt=j(Je,te,Lt,Yt.value,we),Yt!==null&&(g&&Yt.alternate!==null&&Je.delete(Yt.key===null?Lt:Yt.key),oe=it(Yt,oe,Lt),ut===null?Se=Yt:ut.sibling=Yt,ut=Yt);return g&&Je.forEach(function(Hr){return P(te,Hr)}),Se}return function(te,oe,me,we){var Se=typeof me=="object"&&me!==null&&me.type===W&&me.key===null;Se&&(me=me.props.children);var ut=typeof me=="object"&&me!==null;if(ut)switch(me.$$typeof){case K:e:{for(ut=me.key,Se=oe;Se!==null;){if(Se.key===ut){switch(Se.tag){case 7:if(me.type===W){U(te,Se.sibling),oe=Le(Se,me.props.children),oe.return=te,te=oe;break e}break;default:if(Se.elementType===me.type){U(te,Se.sibling),oe=Le(Se,me.props),oe.ref=bo(te,Se,me),oe.return=te,te=oe;break e}}U(te,Se);break}else P(te,Se);Se=Se.sibling}me.type===W?(oe=To(me.props.children,te.mode,we,me.key),oe.return=te,te=oe):(we=yc(me.type,me.key,me.props,null,te.mode,we),we.ref=bo(te,oe,me),we.return=te,te=we)}return w(te);case G:e:{for(Se=me.key;oe!==null;){if(oe.key===Se)if(oe.tag===4&&oe.stateNode.containerInfo===me.containerInfo&&oe.stateNode.implementation===me.implementation){U(te,oe.sibling),oe=Le(oe,me.children||[]),oe.return=te,te=oe;break e}else{U(te,oe);break}else P(te,oe);oe=oe.sibling}oe=Mc(me,te.mode,we),oe.return=te,te=oe}return w(te)}if(typeof me=="string"||typeof me=="number")return me=""+me,oe!==null&&oe.tag===6?(U(te,oe.sibling),oe=Le(oe,me),oe.return=te,te=oe):(U(te,oe),oe=hf(me,te.mode,we),oe.return=te,te=oe),w(te);if(gu(me))return Y(te,oe,me,we);if(He(me))return H(te,oe,me,we);if(ut&&rl(te,me),typeof me=="undefined"&&!Se)switch(te.tag){case 1:case 22:case 0:case 11:case 15:throw Error(c(152,Xt(te.type)||"Component"))}return U(te,oe)}}var jo=El(!0),wl=El(!1),Ms={},Uo=ls(Ms),Bu=ls(Ms),Ul=ls(Ms);function yu(g){if(g===Ms)throw Error(c(174));return g}function ac(g,P){switch(za(Ul,P),za(Bu,g),za(Uo,Ms),g=P.nodeType,g){case 9:case 11:P=(P=P.documentElement)?P.namespaceURI:kt(null,"");break;default:g=g===8?P.parentNode:P,P=g.namespaceURI||null,g=g.tagName,P=kt(P,g)}ra(Uo),za(Uo,P)}function zl(){ra(Uo),ra(Bu),ra(Ul)}function ri(g){yu(Ul.current);var P=yu(Uo.current),U=kt(P,g.type);P!==U&&(za(Bu,g),za(Uo,U))}function sc(g){Bu.current===g&&(ra(Uo),ra(Bu))}var oo=ls(0);function Zl(g){for(var P=g;P!==null;){if(P.tag===13){var U=P.memoizedState;if(U!==null&&(U=U.dehydrated,U===null||U.data==="$?"||U.data==="$!"))return P}else if(P.tag===19&&P.memoizedProps.revealOrder!==void 0){if(P.flags&64)return P}else if(P.child!==null){P.child.return=P,P=P.child;continue}if(P===g)break;for(;P.sibling===null;){if(P.return===null||P.return===g)return null;P=P.return}P.sibling.return=P.return,P=P.sibling}return null}var Jo=null,nl=null,eo=!1;function Uc(g,P){var U=Go(5,null,null,0);U.elementType="DELETED",U.type="DELETED",U.stateNode=P,U.return=g,U.flags=8,g.lastEffect!==null?(g.lastEffect.nextEffect=U,g.lastEffect=U):g.firstEffect=g.lastEffect=U}function Ec(g,P){switch(g.tag){case 5:var U=g.type;return P=P.nodeType!==1||U.toLowerCase()!==P.nodeName.toLowerCase()?null:P,P!==null?(g.stateNode=P,!0):!1;case 6:return P=g.pendingProps===""||P.nodeType!==3?null:P,P!==null?(g.stateNode=P,!0):!1;case 13:return!1;default:return!1}}function xo(g){if(eo){var P=nl;if(P){var U=P;if(!Ec(g,P)){if(P=hi(U.nextSibling),!P||!Ec(g,P)){g.flags=g.flags&-1025|2,eo=!1,Jo=g;return}Uc(Jo,U)}Jo=g,nl=hi(P.firstChild)}else g.flags=g.flags&-1025|2,eo=!1,Jo=g}}function rf(g){for(g=g.return;g!==null&&g.tag!==5&&g.tag!==3&&g.tag!==13;)g=g.return;Jo=g}function nf(g){if(g!==Jo)return!1;if(!eo)return rf(g),eo=!0,!1;var P=g.type;if(g.tag!==5||P!=="head"&&P!=="body"&&!Mi(P,g.memoizedProps))for(P=nl;P;)Uc(g,P),P=hi(P.nextSibling);if(rf(g),g.tag===13){if(g=g.memoizedState,g=g!==null?g.dehydrated:null,!g)throw Error(c(317));e:{for(g=g.nextSibling,P=0;g;){if(g.nodeType===8){var U=g.data;if(U==="/$"){if(P===0){nl=hi(g.nextSibling);break e}P--}else U!=="$"&&U!=="$!"&&U!=="$?"||P++}g=g.nextSibling}nl=null}}else nl=Jo?hi(g.stateNode.nextSibling):null;return!0}function zc(){nl=Jo=null,eo=!1}var bu=[];function wc(){for(var g=0;g<bu.length;g++)bu[g]._workInProgressVersionPrimary=null;bu.length=0}var xu=N.ReactCurrentDispatcher,pu=N.ReactCurrentBatchConfig,Sl=0,Hs=null,Fs=null,Lo=null,Hl=!1,Al=!1;function su(){throw Error(c(321))}function Sc(g,P){if(P===null)return!1;for(var U=0;U<P.length&&U<g.length;U++)if(!Mn(g[U],P[U]))return!1;return!0}function Ac(g,P,U,ge,Le,it){if(Sl=it,Hs=P,P.memoizedState=null,P.updateQueue=null,P.lanes=0,xu.current=g===null||g.memoizedState===null?Ws:Wc,g=U(ge,Le),Al){it=0;do{if(Al=!1,!(25>it))throw Error(c(301));it+=1,Lo=Fs=null,P.updateQueue=null,xu.current=Pl,g=U(ge,Le)}while(Al)}if(xu.current=Kl,P=Fs!==null&&Fs.next!==null,Sl=0,Lo=Fs=Hs=null,Hl=!1,P)throw Error(c(300));return g}function ou(){var g={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Lo===null?Hs.memoizedState=Lo=g:Lo=Lo.next=g,Lo}function Cl(){if(Fs===null){var g=Hs.alternate;g=g!==null?g.memoizedState:null}else g=Fs.next;var P=Lo===null?Hs.memoizedState:Lo.next;if(P!==null)Lo=P,Fs=g;else{if(g===null)throw Error(c(310));Fs=g,g={memoizedState:Fs.memoizedState,baseState:Fs.baseState,baseQueue:Fs.baseQueue,queue:Fs.queue,next:null},Lo===null?Hs.memoizedState=Lo=g:Lo=Lo.next=g}return Lo}function Eu(g,P){return typeof P=="function"?P(g):P}function Wl(g){var P=Cl(),U=P.queue;if(U===null)throw Error(c(311));U.lastRenderedReducer=g;var ge=Fs,Le=ge.baseQueue,it=U.pending;if(it!==null){if(Le!==null){var w=Le.next;Le.next=it.next,it.next=w}ge.baseQueue=Le=it,U.pending=null}if(Le!==null){Le=Le.next,ge=ge.baseState;var t=w=it=null,n=Le;do{var s=n.lane;if((Sl&s)===s)t!==null&&(t=t.next={lane:0,action:n.action,eagerReducer:n.eagerReducer,eagerState:n.eagerState,next:null}),ge=n.eagerReducer===g?n.eagerState:g(ge,n.action);else{var m={lane:s,action:n.action,eagerReducer:n.eagerReducer,eagerState:n.eagerState,next:null};t===null?(w=t=m,it=ge):t=t.next=m,Hs.lanes|=s,_o|=s}n=n.next}while(n!==null&&n!==Le);t===null?it=ge:t.next=w,Mn(ge,P.memoizedState)||(Pu=!0),P.memoizedState=ge,P.baseState=it,P.baseQueue=t,U.lastRenderedState=ge}return[P.memoizedState,U.dispatch]}function il(g){var P=Cl(),U=P.queue;if(U===null)throw Error(c(311));U.lastRenderedReducer=g;var ge=U.dispatch,Le=U.pending,it=P.memoizedState;if(Le!==null){U.pending=null;var w=Le=Le.next;do it=g(it,w.action),w=w.next;while(w!==Le);Mn(it,P.memoizedState)||(Pu=!0),P.memoizedState=it,P.baseQueue===null&&(P.baseState=it),U.lastRenderedState=it}return[it,ge]}function Ca(g,P,U){var ge=P._getVersion;ge=ge(P._source);var Le=P._workInProgressVersionPrimary;if(Le!==null?g=Le===ge:(g=g.mutableReadLanes,(g=(Sl&g)===g)&&(P._workInProgressVersionPrimary=ge,bu.push(P))),g)return U(P._source);throw bu.push(P),Error(c(350))}function af(g,P,U,ge){var Le=rn;if(Le===null)throw Error(c(349));var it=P._getVersion,w=it(P._source),t=xu.current,n=t.useState(function(){return Ca(Le,P,U)}),s=n[1],m=n[0];n=Lo;var E=g.memoizedState,T=E.refs,j=T.getSnapshot,Y=E.source;E=E.subscribe;var H=Hs;return g.memoizedState={refs:T,source:P,subscribe:ge},t.useEffect(function(){T.getSnapshot=U,T.setSnapshot=s;var te=it(P._source);if(!Mn(w,te)){te=U(P._source),Mn(m,te)||(s(te),te=Wu(H),Le.mutableReadLanes|=te&Le.pendingLanes),te=Le.mutableReadLanes,Le.entangledLanes|=te;for(var oe=Le.entanglements,me=te;0<me;){var we=31-li(me),Se=1<<we;oe[we]|=te,me&=~Se}}},[U,P,ge]),t.useEffect(function(){return ge(P._source,function(){var te=T.getSnapshot,oe=T.setSnapshot;try{oe(te(P._source));var me=Wu(H);Le.mutableReadLanes|=me&Le.pendingLanes}catch(we){oe(function(){throw we})}})},[P,ge]),Mn(j,U)&&Mn(Y,P)&&Mn(E,ge)||(g={pending:null,dispatch:null,lastRenderedReducer:Eu,lastRenderedState:m},g.dispatch=s=Hc.bind(null,Hs,g),n.queue=g,n.baseQueue=null,m=Ca(Le,P,U),n.memoizedState=n.baseState=m),m}function Zc(g,P,U){var ge=Cl();return af(ge,g,P,U)}function Nu(g){var P=ou();return typeof g=="function"&&(g=g()),P.memoizedState=P.baseState=g,g=P.queue={pending:null,dispatch:null,lastRenderedReducer:Eu,lastRenderedState:g},g=g.dispatch=Hc.bind(null,Hs,g),[P.memoizedState,g]}function Cc(g,P,U,ge){return g={tag:g,create:P,destroy:U,deps:ge,next:null},P=Hs.updateQueue,P===null?(P={lastEffect:null},Hs.updateQueue=P,P.lastEffect=g.next=g):(U=P.lastEffect,U===null?P.lastEffect=g.next=g:(ge=U.next,U.next=g,g.next=ge,P.lastEffect=g)),g}function sf(g){var P=ou();return g={current:g},P.memoizedState=g}function oc(){return Cl().memoizedState}function uu(g,P,U,ge){var Le=ou();Hs.flags|=g,Le.memoizedState=Cc(1|P,U,void 0,ge===void 0?null:ge)}function Tc(g,P,U,ge){var Le=Cl();ge=ge===void 0?null:ge;var it=void 0;if(Fs!==null){var w=Fs.memoizedState;if(it=w.destroy,ge!==null&&Sc(ge,w.deps)){Cc(P,U,it,ge);return}}Hs.flags|=g,Le.memoizedState=Cc(1|P,U,it,ge)}function Tl(g,P){return uu(516,4,g,P)}function Gl(g,P){return Tc(516,4,g,P)}function uc(g,P){return Tc(4,2,g,P)}function Vl(g,P){if(typeof P=="function")return g=g(),P(g),function(){P(null)};if(P!=null)return g=g(),P.current=g,function(){P.current=null}}function eu(g,P,U){return U=U!=null?U.concat([g]):null,Tc(4,2,Vl.bind(null,P,g),U)}function $u(){}function lc(g,P){var U=Cl();P=P===void 0?null:P;var ge=U.memoizedState;return ge!==null&&P!==null&&Sc(P,ge[1])?ge[0]:(U.memoizedState=[g,P],g)}function ju(g,P){var U=Cl();P=P===void 0?null:P;var ge=U.memoizedState;return ge!==null&&P!==null&&Sc(P,ge[1])?ge[0]:(g=g(),U.memoizedState=[g,P],g)}function Pc(g,P){var U=jt();It(98>U?98:U,function(){g(!0)}),It(97<U?97:U,function(){var ge=pu.transition;pu.transition=1;try{g(!1),P()}finally{pu.transition=ge}})}function Hc(g,P,U){var ge=ru(),Le=Wu(g),it={lane:Le,action:U,eagerReducer:null,eagerState:null,next:null},w=P.pending;if(w===null?it.next=it:(it.next=w.next,w.next=it),P.pending=it,w=g.alternate,g===Hs||w!==null&&w===Hs)Al=Hl=!0;else{if(g.lanes===0&&(w===null||w.lanes===0)&&(w=P.lastRenderedReducer,w!==null))try{var t=P.lastRenderedState,n=w(t,U);if(it.eagerReducer=w,it.eagerState=n,Mn(n,t))return}catch(s){}finally{}pl(g,Le,ge)}}var Kl={readContext:qi,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},Ws={readContext:qi,useCallback:function(g,P){return ou().memoizedState=[g,P===void 0?null:P],g},useContext:qi,useEffect:Tl,useImperativeHandle:function(g,P,U){return U=U!=null?U.concat([g]):null,uu(4,2,Vl.bind(null,P,g),U)},useLayoutEffect:function(g,P){return uu(4,2,g,P)},useMemo:function(g,P){var U=ou();return P=P===void 0?null:P,g=g(),U.memoizedState=[g,P],g},useReducer:function(g,P,U){var ge=ou();return P=U!==void 0?U(P):P,ge.memoizedState=ge.baseState=P,g=ge.queue={pending:null,dispatch:null,lastRenderedReducer:g,lastRenderedState:P},g=g.dispatch=Hc.bind(null,Hs,g),[ge.memoizedState,g]},useRef:sf,useState:Nu,useDebugValue:$u,useDeferredValue:function(g){var P=Nu(g),U=P[0],ge=P[1];return Tl(function(){var Le=pu.transition;pu.transition=1;try{ge(g)}finally{pu.transition=Le}},[g]),U},useTransition:function(){var g=Nu(!1),P=g[0];return g=Pc.bind(null,g[1]),sf(g),[g,P]},useMutableSource:function(g,P,U){var ge=ou();return ge.memoizedState={refs:{getSnapshot:P,setSnapshot:null},source:g,subscribe:U},af(ge,g,P,U)},useOpaqueIdentifier:function(){if(eo){var g=!1,P=As(function(){throw g||(g=!0,U("r:"+(qs++).toString(36))),Error(c(355))}),U=Nu(P)[1];return!(Hs.mode&2)&&(Hs.flags|=516,Cc(5,function(){U("r:"+(qs++).toString(36))},void 0,null)),P}return P="r:"+(qs++).toString(36),Nu(P),P},unstable_isNewReconciler:!1},Wc={readContext:qi,useCallback:lc,useContext:qi,useEffect:Gl,useImperativeHandle:eu,useLayoutEffect:uc,useMemo:ju,useReducer:Wl,useRef:oc,useState:function(){return Wl(Eu)},useDebugValue:$u,useDeferredValue:function(g){var P=Wl(Eu),U=P[0],ge=P[1];return Gl(function(){var Le=pu.transition;pu.transition=1;try{ge(g)}finally{pu.transition=Le}},[g]),U},useTransition:function(){var g=Wl(Eu)[0];return[oc().current,g]},useMutableSource:Zc,useOpaqueIdentifier:function(){return Wl(Eu)[0]},unstable_isNewReconciler:!1},Pl={readContext:qi,useCallback:lc,useContext:qi,useEffect:Gl,useImperativeHandle:eu,useLayoutEffect:uc,useMemo:ju,useReducer:il,useRef:oc,useState:function(){return il(Eu)},useDebugValue:$u,useDeferredValue:function(g){var P=il(Eu),U=P[0],ge=P[1];return Gl(function(){var Le=pu.transition;pu.transition=1;try{ge(g)}finally{pu.transition=Le}},[g]),U},useTransition:function(){var g=il(Eu)[0];return[oc().current,g]},useMutableSource:Zc,useOpaqueIdentifier:function(){return il(Eu)[0]},unstable_isNewReconciler:!1},al=N.ReactCurrentOwner,Pu=!1;function to(g,P,U,ge){P.child=g===null?wl(P,null,U,ge):jo(P,g.child,U,ge)}function sl(g,P,U,ge,Le){U=U.render;var it=P.ref;return Za(P,Le),ge=Ac(g,P,U,ge,it,Le),g!==null&&!Pu?(P.updateQueue=g.updateQueue,P.flags&=-517,g.lanes&=~Le,Su(g,P,Le)):(P.flags|=1,to(g,P,ge,Le),P.child)}function of(g,P,U,ge,Le,it){if(g===null){var w=U.type;return typeof w=="function"&&!qc(w)&&w.defaultProps===void 0&&U.compare===null&&U.defaultProps===void 0?(P.tag=15,P.type=w,Ic(g,P,w,ge,Le,it)):(g=yc(U.type,null,ge,P,P.mode,it),g.ref=P.ref,g.return=P,P.child=g)}return w=g.child,!(Le&it)&&(Le=w.memoizedProps,U=U.compare,U=U!==null?U:Zi,U(Le,ge)&&g.ref===P.ref)?Su(g,P,it):(P.flags|=1,g=ku(w,ge),g.ref=P.ref,g.return=P,P.child=g)}function Ic(g,P,U,ge,Le,it){if(g!==null&&Zi(g.memoizedProps,ge)&&g.ref===P.ref)if(Pu=!1,(it&Le)!==0)g.flags&16384&&(Pu=!0);else return P.lanes=g.lanes,Su(g,P,it);return Mo(g,P,U,ge,it)}function Gc(g,P,U){var ge=P.pendingProps,Le=ge.children,it=g!==null?g.memoizedState:null;if(ge.mode==="hidden"||ge.mode==="unstable-defer-without-hiding")if(!(P.mode&4))P.memoizedState={baseLanes:0},Vi(P,U);else if(U&1073741824)P.memoizedState={baseLanes:0},Vi(P,it!==null?it.baseLanes:U);else return g=it!==null?it.baseLanes|U:U,P.lanes=P.childLanes=1073741824,P.memoizedState={baseLanes:g},Vi(P,g),null;else it!==null?(ge=it.baseLanes|U,P.memoizedState=null):ge=U,Vi(P,ge);return to(g,P,Le,U),P.child}function Yu(g,P){var U=P.ref;(g===null&&U!==null||g!==null&&g.ref!==U)&&(P.flags|=128)}function Mo(g,P,U,ge,Le){var it=Xr(U)?Ae:ya.current;return it=wr(P,it),Za(P,Le),U=Ac(g,P,U,ge,it,Le),g!==null&&!Pu?(P.updateQueue=g.updateQueue,P.flags&=-517,g.lanes&=~Le,Su(g,P,Le)):(P.flags|=1,to(g,P,U,Le),P.child)}function Il(g,P,U,ge,Le){if(Xr(U)){var it=!0;Xn(P)}else it=!1;if(Za(P,Le),P.stateNode===null)g!==null&&(g.alternate=null,P.alternate=null,P.flags|=2),qo(P,U,ge),Fu(P,U,ge,Le),ge=!0;else if(g===null){var w=P.stateNode,t=P.memoizedProps;w.props=t;var n=w.context,s=U.contextType;typeof s=="object"&&s!==null?s=qi(s):(s=Xr(U)?Ae:ya.current,s=wr(P,s));var m=U.getDerivedStateFromProps,E=typeof m=="function"||typeof w.getSnapshotBeforeUpdate=="function";E||typeof w.UNSAFE_componentWillReceiveProps!="function"&&typeof w.componentWillReceiveProps!="function"||(t!==ge||n!==s)&&Zs(P,w,ge,s),Ns=!1;var T=P.memoizedState;w.state=T,Rs(P,ge,w,Le),n=P.memoizedState,t!==ge||T!==n||be.current||Ns?(typeof m=="function"&&(xl(P,U,m,ge),n=P.memoizedState),(t=Ns||Tu(P,U,t,ge,T,n,s))?(E||typeof w.UNSAFE_componentWillMount!="function"&&typeof w.componentWillMount!="function"||(typeof w.componentWillMount=="function"&&w.componentWillMount(),typeof w.UNSAFE_componentWillMount=="function"&&w.UNSAFE_componentWillMount()),typeof w.componentDidMount=="function"&&(P.flags|=4)):(typeof w.componentDidMount=="function"&&(P.flags|=4),P.memoizedProps=ge,P.memoizedState=n),w.props=ge,w.state=n,w.context=s,ge=t):(typeof w.componentDidMount=="function"&&(P.flags|=4),ge=!1)}else{w=P.stateNode,pi(g,P),t=P.memoizedProps,s=P.type===P.elementType?t:Hn(P.type,t),w.props=s,E=P.pendingProps,T=w.context,n=U.contextType,typeof n=="object"&&n!==null?n=qi(n):(n=Xr(U)?Ae:ya.current,n=wr(P,n));var j=U.getDerivedStateFromProps;(m=typeof j=="function"||typeof w.getSnapshotBeforeUpdate=="function")||typeof w.UNSAFE_componentWillReceiveProps!="function"&&typeof w.componentWillReceiveProps!="function"||(t!==E||T!==n)&&Zs(P,w,ge,n),Ns=!1,T=P.memoizedState,w.state=T,Rs(P,ge,w,Le);var Y=P.memoizedState;t!==E||T!==Y||be.current||Ns?(typeof j=="function"&&(xl(P,U,j,ge),Y=P.memoizedState),(s=Ns||Tu(P,U,s,ge,T,Y,n))?(m||typeof w.UNSAFE_componentWillUpdate!="function"&&typeof w.componentWillUpdate!="function"||(typeof w.componentWillUpdate=="function"&&w.componentWillUpdate(ge,Y,n),typeof w.UNSAFE_componentWillUpdate=="function"&&w.UNSAFE_componentWillUpdate(ge,Y,n)),typeof w.componentDidUpdate=="function"&&(P.flags|=4),typeof w.getSnapshotBeforeUpdate=="function"&&(P.flags|=256)):(typeof w.componentDidUpdate!="function"||t===g.memoizedProps&&T===g.memoizedState||(P.flags|=4),typeof w.getSnapshotBeforeUpdate!="function"||t===g.memoizedProps&&T===g.memoizedState||(P.flags|=256),P.memoizedProps=ge,P.memoizedState=Y),w.props=ge,w.state=Y,w.context=n,ge=s):(typeof w.componentDidUpdate!="function"||t===g.memoizedProps&&T===g.memoizedState||(P.flags|=4),typeof w.getSnapshotBeforeUpdate!="function"||t===g.memoizedProps&&T===g.memoizedState||(P.flags|=256),ge=!1)}return ze(g,P,U,ge,it,Le)}function ze(g,P,U,ge,Le,it){Yu(g,P);var w=(P.flags&64)!==0;if(!ge&&!w)return Le&&ki(P,U,!1),Su(g,P,it);ge=P.stateNode,al.current=P;var t=w&&typeof U.getDerivedStateFromError!="function"?null:ge.render();return P.flags|=1,g!==null&&w?(P.child=jo(P,g.child,null,it),P.child=jo(P,null,t,it)):to(g,P,t,it),P.memoizedState=ge.state,Le&&ki(P,U,!0),P.child}function wu(g){var P=g.stateNode;P.pendingContext?Kr(g,P.pendingContext,P.pendingContext!==P.context):P.context&&Kr(g,P.context,!1),ac(g,P.containerInfo)}var Wo={dehydrated:null,retryLane:0};function Dl(g,P,U){var ge=P.pendingProps,Le=oo.current,it=!1,w;return(w=(P.flags&64)!==0)||(w=g!==null&&g.memoizedState===null?!1:(Le&2)!==0),w?(it=!0,P.flags&=-65):g!==null&&g.memoizedState===null||ge.fallback===void 0||ge.unstable_avoidThisFallback===!0||(Le|=1),za(oo,Le&1),g===null?(ge.fallback!==void 0&&xo(P),g=ge.children,Le=ge.fallback,it?(g=Ds(P,g,Le,U),P.child.memoizedState={baseLanes:U},P.memoizedState=Wo,g):typeof ge.unstable_expectedLoadTime=="number"?(g=Ds(P,g,Le,U),P.child.memoizedState={baseLanes:U},P.memoizedState=Wo,P.lanes=33554432,g):(U=df({mode:"visible",children:g},P.mode,U,null),U.return=P,P.child=U)):g.memoizedState!==null?it?(ge=Uu(g,P,ge.children,ge.fallback,U),it=P.child,Le=g.child.memoizedState,it.memoizedState=Le===null?{baseLanes:U}:{baseLanes:Le.baseLanes|U},it.childLanes=g.childLanes&~U,P.memoizedState=Wo,ge):(U=uo(g,P,ge.children,U),P.memoizedState=null,U):it?(ge=Uu(g,P,ge.children,ge.fallback,U),it=P.child,Le=g.child.memoizedState,it.memoizedState=Le===null?{baseLanes:U}:{baseLanes:Le.baseLanes|U},it.childLanes=g.childLanes&~U,P.memoizedState=Wo,ge):(U=uo(g,P,ge.children,U),P.memoizedState=null,U)}function Ds(g,P,U,ge){var Le=g.mode,it=g.child;return P={mode:"hidden",children:P},!(Le&2)&&it!==null?(it.childLanes=0,it.pendingProps=P):it=df(P,Le,0,null),U=To(U,Le,ge,null),it.return=g,U.return=g,it.sibling=U,g.child=it,U}function uo(g,P,U,ge){var Le=g.child;return g=Le.sibling,U=ku(Le,{mode:"visible",children:U}),!(P.mode&2)&&(U.lanes=ge),U.return=P,U.sibling=null,g!==null&&(g.nextEffect=null,g.flags=8,P.firstEffect=P.lastEffect=g),P.child=U}function Uu(g,P,U,ge,Le){var it=P.mode,w=g.child;g=w.sibling;var t={mode:"hidden",children:U};return!(it&2)&&P.child!==w?(U=P.child,U.childLanes=0,U.pendingProps=t,w=U.lastEffect,w!==null?(P.firstEffect=U.firstEffect,P.lastEffect=w,w.nextEffect=null):P.firstEffect=P.lastEffect=null):U=ku(w,t),g!==null?ge=ku(g,ge):(ge=To(ge,it,Le,null),ge.flags|=2),ge.return=P,U.return=P,U.sibling=ge,P.child=U,ge}function zo(g,P){g.lanes|=P;var U=g.alternate;U!==null&&(U.lanes|=P),bs(g.return,P)}function ol(g,P,U,ge,Le,it){var w=g.memoizedState;w===null?g.memoizedState={isBackwards:P,rendering:null,renderingStartTime:0,last:ge,tail:U,tailMode:Le,lastEffect:it}:(w.isBackwards=P,w.rendering=null,w.renderingStartTime=0,w.last=ge,w.tail=U,w.tailMode=Le,w.lastEffect=it)}function zu(g,P,U){var ge=P.pendingProps,Le=ge.revealOrder,it=ge.tail;if(to(g,P,ge.children,U),ge=oo.current,ge&2)ge=ge&1|2,P.flags|=64;else{if(g!==null&&g.flags&64)e:for(g=P.child;g!==null;){if(g.tag===13)g.memoizedState!==null&&zo(g,U);else if(g.tag===19)zo(g,U);else if(g.child!==null){g.child.return=g,g=g.child;continue}if(g===P)break e;for(;g.sibling===null;){if(g.return===null||g.return===P)break e;g=g.return}g.sibling.return=g.return,g=g.sibling}ge&=1}if(za(oo,ge),!(P.mode&2))P.memoizedState=null;else switch(Le){case"forwards":for(U=P.child,Le=null;U!==null;)g=U.alternate,g!==null&&Zl(g)===null&&(Le=U),U=U.sibling;U=Le,U===null?(Le=P.child,P.child=null):(Le=U.sibling,U.sibling=null),ol(P,!1,Le,U,it,P.lastEffect);break;case"backwards":for(U=null,Le=P.child,P.child=null;Le!==null;){if(g=Le.alternate,g!==null&&Zl(g)===null){P.child=Le;break}g=Le.sibling,Le.sibling=U,U=Le,Le=g}ol(P,!0,U,null,it,P.lastEffect);break;case"together":ol(P,!1,null,null,void 0,P.lastEffect);break;default:P.memoizedState=null}return P.child}function Su(g,P,U){if(g!==null&&(P.dependencies=g.dependencies),_o|=P.lanes,U&P.childLanes){if(g!==null&&P.child!==g.child)throw Error(c(153));if(P.child!==null){for(g=P.child,U=ku(g,g.pendingProps),P.child=U,U.return=P;g.sibling!==null;)g=g.sibling,U=U.sibling=ku(g,g.pendingProps),U.return=P;U.sibling=null}return P.child}return null}var Xu,ul,lu,Qu;Xu=function(g,P){for(var U=P.child;U!==null;){if(U.tag===5||U.tag===6)g.appendChild(U.stateNode);else if(U.tag!==4&&U.child!==null){U.child.return=U,U=U.child;continue}if(U===P)break;for(;U.sibling===null;){if(U.return===null||U.return===P)return;U=U.return}U.sibling.return=U.return,U=U.sibling}},ul=function(){},lu=function(g,P,U,ge){var Le=g.memoizedProps;if(Le!==ge){g=P.stateNode,yu(Uo.current);var it=null;switch(U){case"input":Le=dt(g,Le),ge=dt(g,ge),it=[];break;case"option":Le=We(g,Le),ge=We(g,ge),it=[];break;case"select":Le=i({},Le,{value:void 0}),ge=i({},ge,{value:void 0}),it=[];break;case"textarea":Le=lt(g,Le),ge=lt(g,ge),it=[];break;default:typeof Le.onClick!="function"&&typeof ge.onClick=="function"&&(g.onclick=qn)}Ie(U,ge);var w;U=null;for(s in Le)if(!ge.hasOwnProperty(s)&&Le.hasOwnProperty(s)&&Le[s]!=null)if(s==="style"){var t=Le[s];for(w in t)t.hasOwnProperty(w)&&(U||(U={}),U[w]="")}else s!=="dangerouslySetInnerHTML"&&s!=="children"&&s!=="suppressContentEditableWarning"&&s!=="suppressHydrationWarning"&&s!=="autoFocus"&&(o.hasOwnProperty(s)?it||(it=[]):(it=it||[]).push(s,null));for(s in ge){var n=ge[s];if(t=Le!=null?Le[s]:void 0,ge.hasOwnProperty(s)&&n!==t&&(n!=null||t!=null))if(s==="style")if(t){for(w in t)!t.hasOwnProperty(w)||n&&n.hasOwnProperty(w)||(U||(U={}),U[w]="");for(w in n)n.hasOwnProperty(w)&&t[w]!==n[w]&&(U||(U={}),U[w]=n[w])}else U||(it||(it=[]),it.push(s,U)),U=n;else s==="dangerouslySetInnerHTML"?(n=n?n.__html:void 0,t=t?t.__html:void 0,n!=null&&t!==n&&(it=it||[]).push(s,n)):s==="children"?typeof n!="string"&&typeof n!="number"||(it=it||[]).push(s,""+n):s!=="suppressContentEditableWarning"&&s!=="suppressHydrationWarning"&&(o.hasOwnProperty(s)?(n!=null&&s==="onScroll"&&Qe("scroll",g),it||t===n||(it=[])):typeof n=="object"&&n!==null&&n.$$typeof===z?n.toString():(it=it||[]).push(s,n))}U&&(it=it||[]).push("style",U);var s=it;(P.updateQueue=s)&&(P.flags|=4)}},Qu=function(g,P,U,ge){U!==ge&&(P.flags|=4)};function tu(g,P){if(!eo)switch(g.tailMode){case"hidden":P=g.tail;for(var U=null;P!==null;)P.alternate!==null&&(U=P),P=P.sibling;U===null?g.tail=null:U.sibling=null;break;case"collapsed":U=g.tail;for(var ge=null;U!==null;)U.alternate!==null&&(ge=U),U=U.sibling;ge===null?P||g.tail===null?g.tail=null:g.tail.sibling=null:ge.sibling=null}}function wf(g,P,U){var ge=P.pendingProps;switch(P.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return null;case 1:return Xr(P.type)&&yr(),null;case 3:return zl(),ra(be),ra(ya),wc(),ge=P.stateNode,ge.pendingContext&&(ge.context=ge.pendingContext,ge.pendingContext=null),(g===null||g.child===null)&&(nf(P)?P.flags|=4:ge.hydrate||(P.flags|=256)),ul(P),null;case 5:sc(P);var Le=yu(Ul.current);if(U=P.type,g!==null&&P.stateNode!=null)lu(g,P,U,ge,Le),g.ref!==P.ref&&(P.flags|=128);else{if(!ge){if(P.stateNode===null)throw Error(c(166));return null}if(g=yu(Uo.current),nf(P)){ge=P.stateNode,U=P.type;var it=P.memoizedProps;switch(ge[Oa]=P,ge[Ji]=it,U){case"dialog":Qe("cancel",ge),Qe("close",ge);break;case"iframe":case"object":case"embed":Qe("load",ge);break;case"video":case"audio":for(g=0;g<kn.length;g++)Qe(kn[g],ge);break;case"source":Qe("error",ge);break;case"img":case"image":case"link":Qe("error",ge),Qe("load",ge);break;case"details":Qe("toggle",ge);break;case"input":tt(ge,it),Qe("invalid",ge);break;case"select":ge._wrapperState={wasMultiple:!!it.multiple},Qe("invalid",ge);break;case"textarea":Vt(ge,it),Qe("invalid",ge)}Ie(U,it),g=null;for(var w in it)it.hasOwnProperty(w)&&(Le=it[w],w==="children"?typeof Le=="string"?ge.textContent!==Le&&(g=["children",Le]):typeof Le=="number"&&ge.textContent!==""+Le&&(g=["children",""+Le]):o.hasOwnProperty(w)&&Le!=null&&w==="onScroll"&&Qe("scroll",ge));switch(U){case"input":Ut(ge),Ce(ge,it,!0);break;case"textarea":Ut(ge),Pe(ge);break;case"select":case"option":break;default:typeof it.onClick=="function"&&(ge.onclick=qn)}ge=g,P.updateQueue=ge,ge!==null&&(P.flags|=4)}else{switch(w=Le.nodeType===9?Le:Le.ownerDocument,g===et.html&&(g=Kt(U)),g===et.html?U==="script"?(g=w.createElement("div"),g.innerHTML="<script><\/script>",g=g.removeChild(g.firstChild)):typeof ge.is=="string"?g=w.createElement(U,{is:ge.is}):(g=w.createElement(U),U==="select"&&(w=g,ge.multiple?w.multiple=!0:ge.size&&(w.size=ge.size))):g=w.createElementNS(g,U),g[Oa]=P,g[Ji]=ge,Xu(g,P,!1,!1),P.stateNode=g,w=ct(U,ge),U){case"dialog":Qe("cancel",g),Qe("close",g),Le=ge;break;case"iframe":case"object":case"embed":Qe("load",g),Le=ge;break;case"video":case"audio":for(Le=0;Le<kn.length;Le++)Qe(kn[Le],g);Le=ge;break;case"source":Qe("error",g),Le=ge;break;case"img":case"image":case"link":Qe("error",g),Qe("load",g),Le=ge;break;case"details":Qe("toggle",g),Le=ge;break;case"input":tt(g,ge),Le=dt(g,ge),Qe("invalid",g);break;case"option":Le=We(g,ge);break;case"select":g._wrapperState={wasMultiple:!!ge.multiple},Le=i({},ge,{value:void 0}),Qe("invalid",g);break;case"textarea":Vt(g,ge),Le=lt(g,ge),Qe("invalid",g);break;default:Le=ge}Ie(U,Le);var t=Le;for(it in t)if(t.hasOwnProperty(it)){var n=t[it];it==="style"?pe(g,n):it==="dangerouslySetInnerHTML"?(n=n?n.__html:void 0,n!=null&&Nt(g,n)):it==="children"?typeof n=="string"?(U!=="textarea"||n!=="")&&tr(g,n):typeof n=="number"&&tr(g,""+n):it!=="suppressContentEditableWarning"&&it!=="suppressHydrationWarning"&&it!=="autoFocus"&&(o.hasOwnProperty(it)?n!=null&&it==="onScroll"&&Qe("scroll",g):n!=null&&B(g,it,n,w))}switch(U){case"input":Ut(g),Ce(g,ge,!1);break;case"textarea":Ut(g),Pe(g);break;case"option":ge.value!=null&&g.setAttribute("value",""+cr(ge.value));break;case"select":g.multiple=!!ge.multiple,it=ge.value,it!=null?nt(g,!!ge.multiple,it,!1):ge.defaultValue!=null&&nt(g,!!ge.multiple,ge.defaultValue,!0);break;default:typeof Le.onClick=="function"&&(g.onclick=qn)}Hi(U,ge)&&(P.flags|=4)}P.ref!==null&&(P.flags|=128)}return null;case 6:if(g&&P.stateNode!=null)Qu(g,P,g.memoizedProps,ge);else{if(typeof ge!="string"&&P.stateNode===null)throw Error(c(166));U=yu(Ul.current),yu(Uo.current),nf(P)?(ge=P.stateNode,U=P.memoizedProps,ge[Oa]=P,ge.nodeValue!==U&&(P.flags|=4)):(ge=(U.nodeType===9?U:U.ownerDocument).createTextNode(ge),ge[Oa]=P,P.stateNode=ge)}return null;case 13:return ra(oo),ge=P.memoizedState,P.flags&64?(P.lanes=U,P):(ge=ge!==null,U=!1,g===null?P.memoizedProps.fallback!==void 0&&nf(P):U=g.memoizedState!==null,ge&&!U&&P.mode&2&&(g===null&&P.memoizedProps.unstable_avoidThisFallback!==!0||oo.current&1?Ta===0&&(Ta=3):((Ta===0||Ta===3)&&(Ta=4),rn===null||!(_o&134217727)&&!(xs&134217727)||Ju(rn,ln))),(ge||U)&&(P.flags|=4),null);case 4:return zl(),ul(P),g===null&&Gt(P.stateNode.containerInfo),null;case 10:return es(P),null;case 17:return Xr(P.type)&&yr(),null;case 19:if(ra(oo),ge=P.memoizedState,ge===null)return null;if(it=(P.flags&64)!==0,w=ge.rendering,w===null)if(it)tu(ge,!1);else{if(Ta!==0||g!==null&&g.flags&64)for(g=P.child;g!==null;){if(w=Zl(g),w!==null){for(P.flags|=64,tu(ge,!1),it=w.updateQueue,it!==null&&(P.updateQueue=it,P.flags|=4),ge.lastEffect===null&&(P.firstEffect=null),P.lastEffect=ge.lastEffect,ge=U,U=P.child;U!==null;)it=U,g=ge,it.flags&=2,it.nextEffect=null,it.firstEffect=null,it.lastEffect=null,w=it.alternate,w===null?(it.childLanes=0,it.lanes=g,it.child=null,it.memoizedProps=null,it.memoizedState=null,it.updateQueue=null,it.dependencies=null,it.stateNode=null):(it.childLanes=w.childLanes,it.lanes=w.lanes,it.child=w.child,it.memoizedProps=w.memoizedProps,it.memoizedState=w.memoizedState,it.updateQueue=w.updateQueue,it.type=w.type,g=w.dependencies,it.dependencies=g===null?null:{lanes:g.lanes,firstContext:g.firstContext}),U=U.sibling;return za(oo,oo.current&1|2),P.child}g=g.sibling}ge.tail!==null&&Ct()>Ml&&(P.flags|=64,it=!0,tu(ge,!1),P.lanes=33554432)}else{if(!it)if(g=Zl(w),g!==null){if(P.flags|=64,it=!0,U=g.updateQueue,U!==null&&(P.updateQueue=U,P.flags|=4),tu(ge,!0),ge.tail===null&&ge.tailMode==="hidden"&&!w.alternate&&!eo)return P=P.lastEffect=ge.lastEffect,P!==null&&(P.nextEffect=null),null}else 2*Ct()-ge.renderingStartTime>Ml&&U!==1073741824&&(P.flags|=64,it=!0,tu(ge,!1),P.lanes=33554432);ge.isBackwards?(w.sibling=P.child,P.child=w):(U=ge.last,U!==null?U.sibling=w:P.child=w,ge.last=w)}return ge.tail!==null?(U=ge.tail,ge.rendering=U,ge.tail=U.sibling,ge.lastEffect=P.lastEffect,ge.renderingStartTime=Ct(),U.sibling=null,P=oo.current,za(oo,it?P&1|2:P&1),U):null;case 23:case 24:return na(),g!==null&&g.memoizedState!==null!=(P.memoizedState!==null)&&ge.mode!=="unstable-defer-without-hiding"&&(P.flags|=4),null}throw Error(c(156,P.tag))}function Vc(g){switch(g.tag){case 1:Xr(g.type)&&yr();var P=g.flags;return P&4096?(g.flags=P&-4097|64,g):null;case 3:if(zl(),ra(be),ra(ya),wc(),P=g.flags,P&64)throw Error(c(285));return g.flags=P&-4097|64,g;case 5:return sc(g),null;case 13:return ra(oo),P=g.flags,P&4096?(g.flags=P&-4097|64,g):null;case 19:return ra(oo),null;case 4:return zl(),null;case 10:return es(g),null;case 23:case 24:return na(),null;default:return null}}function po(g,P){try{var U="",ge=P;do U+=nr(ge),ge=ge.return;while(ge);var Le=U}catch(it){Le=`
|
|
|
Error generating stack: `+it.message+`
|
|
|
`+it.stack}return{value:g,source:P,stack:Le}}function _u(g,P){try{console.error(P.value)}catch(U){setTimeout(function(){throw U})}}var Ol=typeof WeakMap=="function"?WeakMap:Map;function Yl(g,P,U){U=ho(-1,U),U.tag=3,U.payload={element:null};var ge=P.value;return U.callback=function(){fl||(fl=!0,dc=ge),_u(g,P)},U}function Xl(g,P,U){U=ho(-1,U),U.tag=3;var ge=g.type.getDerivedStateFromError;if(typeof ge=="function"){var Le=P.value;U.payload=function(){return _u(g,P),ge(Le)}}var it=g.stateNode;return it!==null&&typeof it.componentDidCatch=="function"&&(U.callback=function(){typeof ge!="function"&&(Co===null?Co=new Set([this]):Co.add(this),_u(g,P));var w=P.stack;this.componentDidCatch(P.value,{componentStack:w!==null?w:""})}),U}var ll=typeof WeakSet=="function"?WeakSet:Set;function kl(g){var P=g.ref;if(P!==null)if(typeof P=="function")try{P(null)}catch(U){tl(g,U)}else P.current=null}function Dc(g,P){switch(P.tag){case 0:case 11:case 15:case 22:return;case 1:if(P.flags&256&&g!==null){var U=g.memoizedProps,ge=g.memoizedState;g=P.stateNode,P=g.getSnapshotBeforeUpdate(P.elementType===P.type?U:Hn(P.type,U),ge),g.__reactInternalSnapshotBeforeUpdate=P}return;case 3:P.flags&256&&xi(P.stateNode.containerInfo);return;case 5:case 6:case 4:case 17:return}throw Error(c(163))}function cc(g,P,U){switch(U.tag){case 0:case 11:case 15:case 22:if(P=U.updateQueue,P=P!==null?P.lastEffect:null,P!==null){g=P=P.next;do{if((g.tag&3)===3){var ge=g.create;g.destroy=ge()}g=g.next}while(g!==P)}if(P=U.updateQueue,P=P!==null?P.lastEffect:null,P!==null){g=P=P.next;do{var Le=g;ge=Le.next,Le=Le.tag,Le&4&&Le&1&&(Lc(U,g),uf(U,g)),g=ge}while(g!==P)}return;case 1:g=U.stateNode,U.flags&4&&(P===null?g.componentDidMount():(ge=U.elementType===U.type?P.memoizedProps:Hn(U.type,P.memoizedProps),g.componentDidUpdate(ge,P.memoizedState,g.__reactInternalSnapshotBeforeUpdate))),P=U.updateQueue,P!==null&&Ls(U,P,g);return;case 3:if(P=U.updateQueue,P!==null){if(g=null,U.child!==null)switch(U.child.tag){case 5:g=U.child.stateNode;break;case 1:g=U.child.stateNode}Ls(U,P,g)}return;case 5:g=U.stateNode,P===null&&U.flags&4&&Hi(U.type,U.memoizedProps)&&g.focus();return;case 6:return;case 4:return;case 12:return;case 13:U.memoizedState===null&&(U=U.alternate,U!==null&&(U=U.memoizedState,U!==null&&(U=U.dehydrated,U!==null&&pt(U))));return;case 19:case 17:case 20:case 21:case 23:case 24:return}throw Error(c(163))}function Iu(g,P){for(var U=g;;){if(U.tag===5){var ge=U.stateNode;if(P)ge=ge.style,typeof ge.setProperty=="function"?ge.setProperty("display","none","important"):ge.display="none";else{ge=U.stateNode;var Le=U.memoizedProps.style;Le=Le!=null&&Le.hasOwnProperty("display")?Le.display:null,ge.style.display=fe("display",Le)}}else if(U.tag===6)U.stateNode.nodeValue=P?"":U.memoizedProps;else if((U.tag!==23&&U.tag!==24||U.memoizedState===null||U===g)&&U.child!==null){U.child.return=U,U=U.child;continue}if(U===g)break;for(;U.sibling===null;){if(U.return===null||U.return===g)return;U=U.return}U.sibling.return=U.return,U=U.sibling}}function Rl(g,P){if(Cn&&typeof Cn.onCommitFiberUnmount=="function")try{Cn.onCommitFiberUnmount(On,P)}catch(it){}switch(P.tag){case 0:case 11:case 14:case 15:case 22:if(g=P.updateQueue,g!==null&&(g=g.lastEffect,g!==null)){var U=g=g.next;do{var ge=U,Le=ge.destroy;if(ge=ge.tag,Le!==void 0)if(ge&4)Lc(P,U);else{ge=P;try{Le()}catch(it){tl(ge,it)}}U=U.next}while(U!==g)}break;case 1:if(kl(P),g=P.stateNode,typeof g.componentWillUnmount=="function")try{g.props=P.memoizedProps,g.state=P.memoizedState,g.componentWillUnmount()}catch(it){tl(P,it)}break;case 5:kl(P);break;case 4:Rc(g,P)}}function Oc(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 kc(g){return g.tag===5||g.tag===3||g.tag===4}function Fo(g){e:{for(var P=g.return;P!==null;){if(kc(P))break e;P=P.return}throw Error(c(160))}var U=P;switch(P=U.stateNode,U.tag){case 5:var ge=!1;break;case 3:P=P.containerInfo,ge=!0;break;case 4:P=P.containerInfo,ge=!0;break;default:throw Error(c(161))}U.flags&16&&(tr(P,""),U.flags&=-17);e:t:for(U=g;;){for(;U.sibling===null;){if(U.return===null||kc(U.return)){U=null;break e}U=U.return}for(U.sibling.return=U.return,U=U.sibling;U.tag!==5&&U.tag!==6&&U.tag!==18;){if(U.flags&2||U.child===null||U.tag===4)continue t;U.child.return=U,U=U.child}if(!(U.flags&2)){U=U.stateNode;break e}}ge?Ql(g,U,P):Ll(g,U,P)}function Ql(g,P,U){var ge=g.tag,Le=ge===5||ge===6;if(Le)g=Le?g.stateNode:g.stateNode.instance,P?U.nodeType===8?U.parentNode.insertBefore(g,P):U.insertBefore(g,P):(U.nodeType===8?(P=U.parentNode,P.insertBefore(g,U)):(P=U,P.appendChild(g)),U=U._reactRootContainer,U!=null||P.onclick!==null||(P.onclick=qn));else if(ge!==4&&(g=g.child,g!==null))for(Ql(g,P,U),g=g.sibling;g!==null;)Ql(g,P,U),g=g.sibling}function Ll(g,P,U){var ge=g.tag,Le=ge===5||ge===6;if(Le)g=Le?g.stateNode:g.stateNode.instance,P?U.insertBefore(g,P):U.appendChild(g);else if(ge!==4&&(g=g.child,g!==null))for(Ll(g,P,U),g=g.sibling;g!==null;)Ll(g,P,U),g=g.sibling}function Rc(g,P){for(var U=P,ge=!1,Le,it;;){if(!ge){ge=U.return;e:for(;;){if(ge===null)throw Error(c(160));switch(Le=ge.stateNode,ge.tag){case 5:it=!1;break e;case 3:Le=Le.containerInfo,it=!0;break e;case 4:Le=Le.containerInfo,it=!0;break e}ge=ge.return}ge=!0}if(U.tag===5||U.tag===6){e:for(var w=g,t=U,n=t;;)if(Rl(w,n),n.child!==null&&n.tag!==4)n.child.return=n,n=n.child;else{if(n===t)break e;for(;n.sibling===null;){if(n.return===null||n.return===t)break e;n=n.return}n.sibling.return=n.return,n=n.sibling}it?(w=Le,t=U.stateNode,w.nodeType===8?w.parentNode.removeChild(t):w.removeChild(t)):Le.removeChild(U.stateNode)}else if(U.tag===4){if(U.child!==null){Le=U.stateNode.containerInfo,it=!0,U.child.return=U,U=U.child;continue}}else if(Rl(g,U),U.child!==null){U.child.return=U,U=U.child;continue}if(U===P)break;for(;U.sibling===null;){if(U.return===null||U.return===P)return;U=U.return,U.tag===4&&(ge=!1)}U.sibling.return=U.return,U=U.sibling}}function ql(g,P){switch(P.tag){case 0:case 11:case 14:case 15:case 22:var U=P.updateQueue;if(U=U!==null?U.lastEffect:null,U!==null){var ge=U=U.next;do(ge.tag&3)===3&&(g=ge.destroy,ge.destroy=void 0,g!==void 0&&g()),ge=ge.next;while(ge!==U)}return;case 1:return;case 5:if(U=P.stateNode,U!=null){ge=P.memoizedProps;var Le=g!==null?g.memoizedProps:ge;g=P.type;var it=P.updateQueue;if(P.updateQueue=null,it!==null){for(U[Ji]=ge,g==="input"&&ge.type==="radio"&&ge.name!=null&&Ue(U,ge),ct(g,Le),P=ct(g,ge),Le=0;Le<it.length;Le+=2){var w=it[Le],t=it[Le+1];w==="style"?pe(U,t):w==="dangerouslySetInnerHTML"?Nt(U,t):w==="children"?tr(U,t):B(U,w,t,P)}switch(g){case"input":ye(U,ge);break;case"textarea":Ht(U,ge);break;case"select":g=U._wrapperState.wasMultiple,U._wrapperState.wasMultiple=!!ge.multiple,it=ge.value,it!=null?nt(U,!!ge.multiple,it,!1):g!==!!ge.multiple&&(ge.defaultValue!=null?nt(U,!!ge.multiple,ge.defaultValue,!0):nt(U,!!ge.multiple,ge.multiple?[]:"",!1))}}}return;case 6:if(P.stateNode===null)throw Error(c(162));P.stateNode.nodeValue=P.memoizedProps;return;case 3:U=P.stateNode,U.hydrate&&(U.hydrate=!1,pt(U.containerInfo));return;case 12:return;case 13:P.memoizedState!==null&&(ec=Ct(),Iu(P.child,!0)),Kc(P);return;case 19:Kc(P);return;case 17:return;case 23:case 24:Iu(P,P.memoizedState!==null);return}throw Error(c(163))}function Kc(g){var P=g.updateQueue;if(P!==null){g.updateQueue=null;var U=g.stateNode;U===null&&(U=g.stateNode=new ll),P.forEach(function(ge){var Le=Vu.bind(null,g,ge);U.has(ge)||(U.add(ge),ge.then(Le,Le))})}}function I(g,P){return g!==null&&(g=g.memoizedState,g===null||g.dehydrated!==null)?(P=P.memoizedState,P!==null&&P.dehydrated===null):!1}var O=Math.ceil,L=N.ReactCurrentDispatcher,ve=N.ReactCurrentOwner,Re=0,rn=null,jn=null,ln=0,Pi=0,Ha=ls(0),Ta=0,Gs=null,ts=0,_o=0,xs=0,Jl=0,fc=null,ec=0,Ml=1/0;function cl(){Ml=Ct()+500}var Ii=null,fl=!1,dc=null,Co=null,ro=!1,Qa=null,Zu=90,Hu=[],hc=[],qu=null,dl=0,Yc=null,tc=-1,hl=0,pc=0,_c=null,Xc=!1;function ru(){return Re&48?Ct():tc!==-1?tc:tc=Ct()}function Wu(g){if(g=g.mode,!(g&2))return 1;if(!(g&4))return jt()===99?1:2;if(hl===0&&(hl=ts),$n.transition!==0){pc!==0&&(pc=fc!==null?fc.pendingLanes:0),g=hl;var P=4186112&~pc;return P&=-P,P===0&&(g=4186112&~g,P=g&-g,P===0&&(P=8192)),P}return g=jt(),Re&4&&g===98?g=sn(12,hl):(g=mn(g),g=sn(g,hl)),g}function pl(g,P,U){if(50<dl)throw dl=0,Yc=null,Error(c(185));if(g=mc(g,P),g===null)return null;Ci(g,P,U),g===rn&&(xs|=P,Ta===4&&Ju(g,ln));var ge=jt();P===1?Re&8&&!(Re&48)?Sn(g):(mu(g,U),Re===0&&(cl(),en())):(!(Re&4)||ge!==98&&ge!==99||(qu===null?qu=new Set([g]):qu.add(g)),mu(g,U)),fc=g}function mc(g,P){g.lanes|=P;var U=g.alternate;for(U!==null&&(U.lanes|=P),U=g,g=g.return;g!==null;)g.childLanes|=P,U=g.alternate,U!==null&&(U.childLanes|=P),U=g,g=g.return;return U.tag===3?U.stateNode:null}function mu(g,P){for(var U=g.callbackNode,ge=g.suspendedLanes,Le=g.pingedLanes,it=g.expirationTimes,w=g.pendingLanes;0<w;){var t=31-li(w),n=1<<t,s=it[t];if(s===-1){if(!(n&ge)||n&Le){s=P,Fr(n);var m=Pr;it[t]=10<=m?s+250:6<=m?s+5e3:-1}}else s<=P&&(g.expiredLanes|=n);w&=~n}if(ge=un(g,g===rn?ln:0),P=Pr,ge===0)U!==null&&(U!==Z&&Gi(U),g.callbackNode=null,g.callbackPriority=0);else{if(U!==null){if(g.callbackPriority===P)return;U!==Z&&Gi(U)}P===15?(U=Sn.bind(null,g),ne===null?(ne=[U],he=ia(Mu,bn)):ne.push(U),U=Z):P===14?U=Ur(99,Sn.bind(null,g)):(U=Er(P),U=Ur(U,vc.bind(null,g))),g.callbackPriority=P,g.callbackNode=U}}function vc(g){if(tc=-1,pc=hl=0,Re&48)throw Error(c(327));var P=g.callbackNode;if(Fl()&&g.callbackNode!==P)return null;var U=un(g,g===rn?ln:0);if(U===0)return null;var ge=U,Le=Re;Re|=16;var it=ji();(rn!==g||ln!==ge)&&(cl(),ma(g,ge));do try{Ou();break}catch(t){hs(g,t)}while(!0);if(Ma(),L.current=it,Re=Le,jn!==null?ge=0:(rn=null,ln=0,ge=Ta),ts&xs)ma(g,0);else if(ge!==0){if(ge===2&&(Re|=64,g.hydrate&&(g.hydrate=!1,xi(g.containerInfo)),U=Jr(g),U!==0&&(ge=ps(g,U))),ge===1)throw P=Gs,ma(g,0),Ju(g,U),mu(g,Ct()),P;switch(g.finishedWork=g.current.alternate,g.finishedLanes=U,ge){case 0:case 1:throw Error(c(345));case 2:_l(g);break;case 3:if(Ju(g,U),(U&62914560)===U&&(ge=ec+500-Ct(),10<ge)){if(un(g,0)!==0)break;if(Le=g.suspendedLanes,(Le&U)!==U){ru(),g.pingedLanes|=g.suspendedLanes&Le;break}g.timeoutHandle=bi(_l.bind(null,g),ge);break}_l(g);break;case 4:if(Ju(g,U),(U&4186112)===U)break;for(ge=g.eventTimes,Le=-1;0<U;){var w=31-li(U);it=1<<w,w=ge[w],w>Le&&(Le=w),U&=~it}if(U=Le,U=Ct()-U,U=(120>U?120:480>U?480:1080>U?1080:1920>U?1920:3e3>U?3e3:4320>U?4320:1960*O(U/1960))-U,10<U){g.timeoutHandle=bi(_l.bind(null,g),U);break}_l(g);break;case 5:_l(g);break;default:throw Error(c(329))}}return mu(g,Ct()),g.callbackNode===P?vc.bind(null,g):null}function Ju(g,P){for(P&=~Jl,P&=~xs,g.suspendedLanes|=P,g.pingedLanes&=~P,g=g.expirationTimes;0<P;){var U=31-li(P),ge=1<<U;g[U]=-1,P&=~ge}}function Sn(g){if(Re&48)throw Error(c(327));if(Fl(),g===rn&&g.expiredLanes&ln){var P=ln,U=ps(g,P);ts&xs&&(P=un(g,P),U=ps(g,P))}else P=un(g,0),U=ps(g,P);if(g.tag!==0&&U===2&&(Re|=64,g.hydrate&&(g.hydrate=!1,xi(g.containerInfo)),P=Jr(g),P!==0&&(U=ps(g,P))),U===1)throw U=Gs,ma(g,0),Ju(g,P),mu(g,Ct()),U;return g.finishedWork=g.current.alternate,g.finishedLanes=P,_l(g),mu(g,Ct()),null}function Wn(){if(qu!==null){var g=qu;qu=null,g.forEach(function(P){P.expiredLanes|=24&P.pendingLanes,mu(P,Ct())})}en()}function Ni(g,P){var U=Re;Re|=1;try{return g(P)}finally{Re=U,Re===0&&(cl(),en())}}function ba(g,P){var U=Re;Re&=-2,Re|=8;try{return g(P)}finally{Re=U,Re===0&&(cl(),en())}}function Vi(g,P){za(Ha,Pi),Pi|=P,ts|=P}function na(){Pi=Ha.current,ra(Ha)}function ma(g,P){g.finishedWork=null,g.finishedLanes=0;var U=g.timeoutHandle;if(U!==-1&&(g.timeoutHandle=-1,pa(U)),jn!==null)for(U=jn.return;U!==null;){var ge=U;switch(ge.tag){case 1:ge=ge.type.childContextTypes,ge!=null&&yr();break;case 3:zl(),ra(be),ra(ya),wc();break;case 5:sc(ge);break;case 4:zl();break;case 13:ra(oo);break;case 19:ra(oo);break;case 10:es(ge);break;case 23:case 24:na()}U=U.return}rn=g,jn=ku(g.current,null),ln=Pi=ts=P,Ta=0,Gs=null,Jl=xs=_o=0}function hs(g,P){do{var U=jn;try{if(Ma(),xu.current=Kl,Hl){for(var ge=Hs.memoizedState;ge!==null;){var Le=ge.queue;Le!==null&&(Le.pending=null),ge=ge.next}Hl=!1}if(Sl=0,Lo=Fs=Hs=null,Al=!1,ve.current=null,U===null||U.return===null){Ta=1,Gs=P,jn=null;break}e:{var it=g,w=U.return,t=U,n=P;if(P=ln,t.flags|=2048,t.firstEffect=t.lastEffect=null,n!==null&&typeof n=="object"&&typeof n.then=="function"){var s=n;if(!(t.mode&2)){var m=t.alternate;m?(t.updateQueue=m.updateQueue,t.memoizedState=m.memoizedState,t.lanes=m.lanes):(t.updateQueue=null,t.memoizedState=null)}var E=(oo.current&1)!==0,T=w;do{var j;if(j=T.tag===13){var Y=T.memoizedState;if(Y!==null)j=Y.dehydrated!==null;else{var H=T.memoizedProps;j=H.fallback===void 0?!1:H.unstable_avoidThisFallback!==!0?!0:!E}}if(j){var te=T.updateQueue;if(te===null){var oe=new Set;oe.add(s),T.updateQueue=oe}else te.add(s);if(!(T.mode&2)){if(T.flags|=64,t.flags|=16384,t.flags&=-2981,t.tag===1)if(t.alternate===null)t.tag=17;else{var me=ho(-1,1);me.tag=2,so(t,me)}t.lanes|=1;break e}n=void 0,t=P;var we=it.pingCache;if(we===null?(we=it.pingCache=new Ol,n=new Set,we.set(s,n)):(n=we.get(s),n===void 0&&(n=new Set,we.set(s,n))),!n.has(t)){n.add(t);var Se=Df.bind(null,it,s,t);s.then(Se,Se)}T.flags|=4096,T.lanes=P;break e}T=T.return}while(T!==null);n=Error((Xt(t.type)||"A React component")+` suspended while rendering, but no fallback UI was specified.
|
|
|
|
|
|
Add a <Suspense fallback=...> component higher in the tree to provide a loading indicator or placeholder to display.`)}Ta!==5&&(Ta=2),n=po(n,t),T=w;do{switch(T.tag){case 3:it=n,T.flags|=4096,P&=-P,T.lanes|=P;var ut=Yl(T,it,P);Qo(T,ut);break e;case 1:it=n;var Je=T.type,Lt=T.stateNode;if(!(T.flags&64)&&(typeof Je.getDerivedStateFromError=="function"||Lt!==null&&typeof Lt.componentDidCatch=="function"&&(Co===null||!Co.has(Lt)))){T.flags|=4096,P&=-P,T.lanes|=P;var rr=Xl(T,it,P);Qo(T,rr);break e}}T=T.return}while(T!==null)}Gu(U)}catch(Yt){P=Yt,jn===U&&U!==null&&(jn=U=U.return);continue}break}while(!0)}function ji(){var g=L.current;return L.current=Kl,g===null?Kl:g}function ps(g,P){var U=Re;Re|=16;var ge=ji();rn===g&&ln===P||ma(g,P);do try{Du();break}catch(Le){hs(g,Le)}while(!0);if(Ma(),Re=U,L.current=ge,jn!==null)throw Error(c(261));return rn=null,ln=0,Ta}function Du(){for(;jn!==null;)el(jn)}function Ou(){for(;jn!==null&&!yo();)el(jn)}function el(g){var P=gc(g.alternate,g,Pi);g.memoizedProps=g.pendingProps,P===null?Gu(g):jn=P,ve.current=null}function Gu(g){var P=g;do{var U=P.alternate;if(g=P.return,P.flags&2048){if(U=Vc(P),U!==null){U.flags&=2047,jn=U;return}g!==null&&(g.firstEffect=g.lastEffect=null,g.flags|=2048)}else{if(U=wf(U,P,Pi),U!==null){jn=U;return}if(U=P,U.tag!==24&&U.tag!==23||U.memoizedState===null||Pi&1073741824||!(U.mode&4)){for(var ge=0,Le=U.child;Le!==null;)ge|=Le.lanes|Le.childLanes,Le=Le.sibling;U.childLanes=ge}g!==null&&!(g.flags&2048)&&(g.firstEffect===null&&(g.firstEffect=P.firstEffect),P.lastEffect!==null&&(g.lastEffect!==null&&(g.lastEffect.nextEffect=P.firstEffect),g.lastEffect=P.lastEffect),1<P.flags&&(g.lastEffect!==null?g.lastEffect.nextEffect=P:g.firstEffect=P,g.lastEffect=P))}if(P=P.sibling,P!==null){jn=P;return}jn=P=g}while(P!==null);Ta===0&&(Ta=5)}function _l(g){var P=jt();return It(99,If.bind(null,g,P)),null}function If(g,P){do Fl();while(Qa!==null);if(Re&48)throw Error(c(327));var U=g.finishedWork;if(U===null)return null;if(g.finishedWork=null,g.finishedLanes=0,U===g.current)throw Error(c(177));g.callbackNode=null;var ge=U.lanes|U.childLanes,Le=ge,it=g.pendingLanes&~Le;g.pendingLanes=Le,g.suspendedLanes=0,g.pingedLanes=0,g.expiredLanes&=Le,g.mutableReadLanes&=Le,g.entangledLanes&=Le,Le=g.entanglements;for(var w=g.eventTimes,t=g.expirationTimes;0<it;){var n=31-li(it),s=1<<n;Le[n]=0,w[n]=-1,t[n]=-1,it&=~s}if(qu!==null&&!(ge&24)&&qu.has(g)&&qu.delete(g),g===rn&&(jn=rn=null,ln=0),1<U.flags?U.lastEffect!==null?(U.lastEffect.nextEffect=U,ge=U.firstEffect):ge=U:ge=U.firstEffect,ge!==null){if(Le=Re,Re|=32,ve.current=null,mi=ua,w=fa(),Ja(w)){if("selectionStart"in w)t={start:w.selectionStart,end:w.selectionEnd};else e:if(t=(t=w.ownerDocument)&&t.defaultView||window,(s=t.getSelection&&t.getSelection())&&s.rangeCount!==0){t=s.anchorNode,it=s.anchorOffset,n=s.focusNode,s=s.focusOffset;try{t.nodeType,n.nodeType}catch(Yt){t=null;break e}var m=0,E=-1,T=-1,j=0,Y=0,H=w,te=null;t:for(;;){for(var oe;H!==t||it!==0&&H.nodeType!==3||(E=m+it),H!==n||s!==0&&H.nodeType!==3||(T=m+s),H.nodeType===3&&(m+=H.nodeValue.length),(oe=H.firstChild)!==null;)te=H,H=oe;for(;;){if(H===w)break t;if(te===t&&++j===it&&(E=m),te===n&&++Y===s&&(T=m),(oe=H.nextSibling)!==null)break;H=te,te=H.parentNode}H=oe}t=E===-1||T===-1?null:{start:E,end:T}}else t=null;t=t||{start:0,end:0}}else t=null;wi={focusedElem:w,selectionRange:t},ua=!1,_c=null,Xc=!1,Ii=ge;do try{Sf()}catch(Yt){if(Ii===null)throw Error(c(330));tl(Ii,Yt),Ii=Ii.nextEffect}while(Ii!==null);_c=null,Ii=ge;do try{for(w=g;Ii!==null;){var me=Ii.flags;if(me&16&&tr(Ii.stateNode,""),me&128){var we=Ii.alternate;if(we!==null){var Se=we.ref;Se!==null&&(typeof Se=="function"?Se(null):Se.current=null)}}switch(me&1038){case 2:Fo(Ii),Ii.flags&=-3;break;case 6:Fo(Ii),Ii.flags&=-3,ql(Ii.alternate,Ii);break;case 1024:Ii.flags&=-1025;break;case 1028:Ii.flags&=-1025,ql(Ii.alternate,Ii);break;case 4:ql(Ii.alternate,Ii);break;case 8:t=Ii,Rc(w,t);var ut=t.alternate;Oc(t),ut!==null&&Oc(ut)}Ii=Ii.nextEffect}}catch(Yt){if(Ii===null)throw Error(c(330));tl(Ii,Yt),Ii=Ii.nextEffect}while(Ii!==null);if(Se=wi,we=fa(),me=Se.focusedElem,w=Se.selectionRange,we!==me&&me&&me.ownerDocument&&Bi(me.ownerDocument.documentElement,me)){for(w!==null&&Ja(me)&&(we=w.start,Se=w.end,Se===void 0&&(Se=we),"selectionStart"in me?(me.selectionStart=we,me.selectionEnd=Math.min(Se,me.value.length)):(Se=(we=me.ownerDocument||document)&&we.defaultView||window,Se.getSelection&&(Se=Se.getSelection(),t=me.textContent.length,ut=Math.min(w.start,t),w=w.end===void 0?ut:Math.min(w.end,t),!Se.extend&&ut>w&&(t=w,w=ut,ut=t),t=Yi(me,ut),it=Yi(me,w),t&&it&&(Se.rangeCount!==1||Se.anchorNode!==t.node||Se.anchorOffset!==t.offset||Se.focusNode!==it.node||Se.focusOffset!==it.offset)&&(we=we.createRange(),we.setStart(t.node,t.offset),Se.removeAllRanges(),ut>w?(Se.addRange(we),Se.extend(it.node,it.offset)):(we.setEnd(it.node,it.offset),Se.addRange(we)))))),we=[],Se=me;Se=Se.parentNode;)Se.nodeType===1&&we.push({element:Se,left:Se.scrollLeft,top:Se.scrollTop});for(typeof me.focus=="function"&&me.focus(),me=0;me<we.length;me++)Se=we[me],Se.element.scrollLeft=Se.left,Se.element.scrollTop=Se.top}ua=!!mi,wi=mi=null,g.current=U,Ii=ge;do try{for(me=g;Ii!==null;){var Je=Ii.flags;if(Je&36&&cc(me,Ii.alternate,Ii),Je&128){we=void 0;var Lt=Ii.ref;if(Lt!==null){var rr=Ii.stateNode;switch(Ii.tag){case 5:we=rr;break;default:we=rr}typeof Lt=="function"?Lt(we):Lt.current=we}}Ii=Ii.nextEffect}}catch(Yt){if(Ii===null)throw Error(c(330));tl(Ii,Yt),Ii=Ii.nextEffect}while(Ii!==null);Ii=null,X(),Re=Le}else g.current=U;if(ro)ro=!1,Qa=g,Zu=P;else for(Ii=ge;Ii!==null;)P=Ii.nextEffect,Ii.nextEffect=null,Ii.flags&8&&(Je=Ii,Je.sibling=null,Je.stateNode=null),Ii=P;if(ge=g.pendingLanes,ge===0&&(Co=null),ge===1?g===Yc?dl++:(dl=0,Yc=g):dl=0,U=U.stateNode,Cn&&typeof Cn.onCommitFiberRoot=="function")try{Cn.onCommitFiberRoot(On,U,void 0,(U.current.flags&64)===64)}catch(Yt){}if(mu(g,Ct()),fl)throw fl=!1,g=dc,dc=null,g;return Re&8||en(),null}function Sf(){for(;Ii!==null;){var g=Ii.alternate;Xc||_c===null||(Ii.flags&8?Vr(Ii,_c)&&(Xc=!0):Ii.tag===13&&I(g,Ii)&&Vr(Ii,_c)&&(Xc=!0));var P=Ii.flags;P&256&&Dc(g,Ii),!(P&512)||ro||(ro=!0,Ur(97,function(){return Fl(),null})),Ii=Ii.nextEffect}}function Fl(){if(Zu!==90){var g=97<Zu?97:Zu;return Zu=90,It(g,Qc)}return!1}function uf(g,P){Hu.push(P,g),ro||(ro=!0,Ur(97,function(){return Fl(),null}))}function Lc(g,P){hc.push(P,g),ro||(ro=!0,Ur(97,function(){return Fl(),null}))}function Qc(){if(Qa===null)return!1;var g=Qa;if(Qa=null,Re&48)throw Error(c(331));var P=Re;Re|=32;var U=hc;hc=[];for(var ge=0;ge<U.length;ge+=2){var Le=U[ge],it=U[ge+1],w=Le.destroy;if(Le.destroy=void 0,typeof w=="function")try{w()}catch(n){if(it===null)throw Error(c(330));tl(it,n)}}for(U=Hu,Hu=[],ge=0;ge<U.length;ge+=2){Le=U[ge],it=U[ge+1];try{var t=Le.create;Le.destroy=t()}catch(n){if(it===null)throw Error(c(330));tl(it,n)}}for(t=g.current.firstEffect;t!==null;)g=t.nextEffect,t.nextEffect=null,t.flags&8&&(t.sibling=null,t.stateNode=null),t=g;return Re=P,en(),!0}function lf(g,P,U){P=po(U,P),P=Yl(g,P,1),so(g,P),P=ru(),g=mc(g,1),g!==null&&(Ci(g,1,P),mu(g,P))}function tl(g,P){if(g.tag===3)lf(g,g,P);else for(var U=g.return;U!==null;){if(U.tag===3){lf(U,g,P);break}else if(U.tag===1){var ge=U.stateNode;if(typeof U.type.getDerivedStateFromError=="function"||typeof ge.componentDidCatch=="function"&&(Co===null||!Co.has(ge))){g=po(P,g);var Le=Xl(U,g,1);if(so(U,Le),Le=ru(),U=mc(U,1),U!==null)Ci(U,1,Le),mu(U,Le);else if(typeof ge.componentDidCatch=="function"&&(Co===null||!Co.has(ge)))try{ge.componentDidCatch(P,g)}catch(it){}break}}U=U.return}}function Df(g,P,U){var ge=g.pingCache;ge!==null&&ge.delete(P),P=ru(),g.pingedLanes|=g.suspendedLanes&U,rn===g&&(ln&U)===U&&(Ta===4||Ta===3&&(ln&62914560)===ln&&500>Ct()-ec?ma(g,0):Jl|=U),mu(g,P)}function Vu(g,P){var U=g.stateNode;U!==null&&U.delete(P),P=0,P===0&&(P=g.mode,P&2?P&4?(hl===0&&(hl=ts),P=xn(62914560&~hl),P===0&&(P=4194304)):P=jt()===99?1:2:P=1),U=ru(),g=mc(g,P),g!==null&&(Ci(g,P,U),mu(g,U))}var gc;gc=function(g,P,U){var ge=P.lanes;if(g!==null)if(g.memoizedProps!==P.pendingProps||be.current)Pu=!0;else if(U&ge)Pu=!!(g.flags&16384);else{switch(Pu=!1,P.tag){case 3:wu(P),zc();break;case 5:ri(P);break;case 1:Xr(P.type)&&Xn(P);break;case 4:ac(P,P.stateNode.containerInfo);break;case 10:ge=P.memoizedProps.value;var Le=P.type._context;za(Si,Le._currentValue),Le._currentValue=ge;break;case 13:if(P.memoizedState!==null)return U&P.child.childLanes?Dl(g,P,U):(za(oo,oo.current&1),P=Su(g,P,U),P!==null?P.sibling:null);za(oo,oo.current&1);break;case 19:if(ge=(U&P.childLanes)!==0,g.flags&64){if(ge)return zu(g,P,U);P.flags|=64}if(Le=P.memoizedState,Le!==null&&(Le.rendering=null,Le.tail=null,Le.lastEffect=null),za(oo,oo.current),ge)break;return null;case 23:case 24:return P.lanes=0,Gc(g,P,U)}return Su(g,P,U)}else Pu=!1;switch(P.lanes=0,P.tag){case 2:if(ge=P.type,g!==null&&(g.alternate=null,P.alternate=null,P.flags|=2),g=P.pendingProps,Le=wr(P,ya.current),Za(P,U),Le=Ac(null,P,ge,g,Le,U),P.flags|=1,typeof Le=="object"&&Le!==null&&typeof Le.render=="function"&&Le.$$typeof===void 0){if(P.tag=1,P.memoizedState=null,P.updateQueue=null,Xr(ge)){var it=!0;Xn(P)}else it=!1;P.memoizedState=Le.state!==null&&Le.state!==void 0?Le.state:null,Is(P);var w=ge.getDerivedStateFromProps;typeof w=="function"&&xl(P,ge,w,g),Le.updater=Ku,P.stateNode=Le,Le._reactInternals=P,Fu(P,ge,g,U),P=ze(null,P,ge,!0,it,U)}else P.tag=0,to(null,P,Le,U),P=P.child;return P;case 16:Le=P.elementType;e:{switch(g!==null&&(g.alternate=null,P.alternate=null,P.flags|=2),g=P.pendingProps,it=Le._init,Le=it(Le._payload),P.type=Le,it=P.tag=ff(Le),g=Hn(Le,g),it){case 0:P=Mo(null,P,Le,g,U);break e;case 1:P=Il(null,P,Le,g,U);break e;case 11:P=sl(null,P,Le,g,U);break e;case 14:P=of(null,P,Le,Hn(Le.type,g),ge,U);break e}throw Error(c(306,Le,""))}return P;case 0:return ge=P.type,Le=P.pendingProps,Le=P.elementType===ge?Le:Hn(ge,Le),Mo(g,P,ge,Le,U);case 1:return ge=P.type,Le=P.pendingProps,Le=P.elementType===ge?Le:Hn(ge,Le),Il(g,P,ge,Le,U);case 3:if(wu(P),ge=P.updateQueue,g===null||ge===null)throw Error(c(282));if(ge=P.pendingProps,Le=P.memoizedState,Le=Le!==null?Le.element:null,pi(g,P),Rs(P,ge,null,U),ge=P.memoizedState.element,ge===Le)zc(),P=Su(g,P,U);else{if(Le=P.stateNode,(it=Le.hydrate)&&(nl=hi(P.stateNode.containerInfo.firstChild),Jo=P,it=eo=!0),it){if(g=Le.mutableSourceEagerHydrationData,g!=null)for(Le=0;Le<g.length;Le+=2)it=g[Le],it._workInProgressVersionPrimary=g[Le+1],bu.push(it);for(U=wl(P,null,ge,U),P.child=U;U;)U.flags=U.flags&-3|1024,U=U.sibling}else to(g,P,ge,U),zc();P=P.child}return P;case 5:return ri(P),g===null&&xo(P),ge=P.type,Le=P.pendingProps,it=g!==null?g.memoizedProps:null,w=Le.children,Mi(ge,Le)?w=null:it!==null&&Mi(ge,it)&&(P.flags|=16),Yu(g,P),to(g,P,w,U),P.child;case 6:return g===null&&xo(P),null;case 13:return Dl(g,P,U);case 4:return ac(P,P.stateNode.containerInfo),ge=P.pendingProps,g===null?P.child=jo(P,null,ge,U):to(g,P,ge,U),P.child;case 11:return ge=P.type,Le=P.pendingProps,Le=P.elementType===ge?Le:Hn(ge,Le),sl(g,P,ge,Le,U);case 7:return to(g,P,P.pendingProps,U),P.child;case 8:return to(g,P,P.pendingProps.children,U),P.child;case 12:return to(g,P,P.pendingProps.children,U),P.child;case 10:e:{ge=P.type._context,Le=P.pendingProps,w=P.memoizedProps,it=Le.value;var t=P.type._context;if(za(Si,t._currentValue),t._currentValue=it,w!==null)if(t=w.value,it=Mn(t,it)?0:(typeof ge._calculateChangedBits=="function"?ge._calculateChangedBits(t,it):1073741823)|0,it===0){if(w.children===Le.children&&!be.current){P=Su(g,P,U);break e}}else for(t=P.child,t!==null&&(t.return=P);t!==null;){var n=t.dependencies;if(n!==null){w=t.child;for(var s=n.firstContext;s!==null;){if(s.context===ge&&s.observedBits&it){t.tag===1&&(s=ho(-1,U&-U),s.tag=2,so(t,s)),t.lanes|=U,s=t.alternate,s!==null&&(s.lanes|=U),bs(t.return,U),n.lanes|=U;break}s=s.next}}else w=t.tag===10&&t.type===P.type?null:t.child;if(w!==null)w.return=t;else for(w=t;w!==null;){if(w===P){w=null;break}if(t=w.sibling,t!==null){t.return=w.return,w=t;break}w=w.return}t=w}to(g,P,Le.children,U),P=P.child}return P;case 9:return Le=P.type,it=P.pendingProps,ge=it.children,Za(P,U),Le=qi(Le,it.unstable_observedBits),ge=ge(Le),P.flags|=1,to(g,P,ge,U),P.child;case 14:return Le=P.type,it=Hn(Le,P.pendingProps),it=Hn(Le.type,it),of(g,P,Le,it,ge,U);case 15:return Ic(g,P,P.type,P.pendingProps,ge,U);case 17:return ge=P.type,Le=P.pendingProps,Le=P.elementType===ge?Le:Hn(ge,Le),g!==null&&(g.alternate=null,P.alternate=null,P.flags|=2),P.tag=1,Xr(ge)?(g=!0,Xn(P)):g=!1,Za(P,U),qo(P,ge,Le),Fu(P,ge,Le,U),ze(null,P,ge,!0,g,U);case 19:return zu(g,P,U);case 23:return Gc(g,P,U);case 24:return Gc(g,P,U)}throw Error(c(156,P.tag))};function cf(g,P,U,ge){this.tag=g,this.key=U,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=P,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=ge,this.flags=0,this.lastEffect=this.firstEffect=this.nextEffect=null,this.childLanes=this.lanes=0,this.alternate=null}function Go(g,P,U,ge){return new cf(g,P,U,ge)}function qc(g){return g=g.prototype,!(!g||!g.isReactComponent)}function ff(g){if(typeof g=="function")return qc(g)?1:0;if(g!=null){if(g=g.$$typeof,g===J)return 11;if(g===ee)return 14}return 2}function ku(g,P){var U=g.alternate;return U===null?(U=Go(g.tag,P,g.key,g.mode),U.elementType=g.elementType,U.type=g.type,U.stateNode=g.stateNode,U.alternate=g,g.alternate=U):(U.pendingProps=P,U.type=g.type,U.flags=0,U.nextEffect=null,U.firstEffect=null,U.lastEffect=null),U.childLanes=g.childLanes,U.lanes=g.lanes,U.child=g.child,U.memoizedProps=g.memoizedProps,U.memoizedState=g.memoizedState,U.updateQueue=g.updateQueue,P=g.dependencies,U.dependencies=P===null?null:{lanes:P.lanes,firstContext:P.firstContext},U.sibling=g.sibling,U.index=g.index,U.ref=g.ref,U}function yc(g,P,U,ge,Le,it){var w=2;if(ge=g,typeof g=="function")qc(g)&&(w=1);else if(typeof g=="string")w=5;else e:switch(g){case W:return To(U.children,Le,it,P);case $:w=8,Le|=16;break;case se:w=8,Le|=1;break;case ie:return g=Go(12,U,P,Le|8),g.elementType=ie,g.type=ie,g.lanes=it,g;case V:return g=Go(13,U,P,Le),g.type=V,g.elementType=V,g.lanes=it,g;case ue:return g=Go(19,U,P,Le),g.elementType=ue,g.lanes=it,g;case ae:return df(U,Le,it,P);case _e:return g=Go(24,U,P,Le),g.elementType=_e,g.lanes=it,g;default:if(typeof g=="object"&&g!==null)switch(g.$$typeof){case le:w=10;break e;case q:w=9;break e;case J:w=11;break e;case ee:w=14;break e;case Q:w=16,ge=null;break e;case ce:w=22;break e}throw Error(c(130,g==null?g:typeof g,""))}return P=Go(w,U,P,Le),P.elementType=g,P.type=ge,P.lanes=it,P}function To(g,P,U,ge){return g=Go(7,g,ge,P),g.lanes=U,g}function df(g,P,U,ge){return g=Go(23,g,ge,P),g.elementType=ae,g.lanes=U,g}function hf(g,P,U){return g=Go(6,g,null,P),g.lanes=U,g}function Mc(g,P,U){return P=Go(4,g.children!==null?g.children:[],g.key,P),P.lanes=U,P.stateNode={containerInfo:g.containerInfo,pendingChildren:null,implementation:g.implementation},P}function Fc(g,P,U){this.tag=P,this.containerInfo=g,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.pendingContext=this.context=null,this.hydrate=U,this.callbackNode=null,this.callbackPriority=0,this.eventTimes=ha(0),this.expirationTimes=ha(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=ha(0),this.mutableSourceEagerHydrationData=null}function Jc(g,P,U){var ge=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:G,key:ge==null?null:""+ge,children:g,containerInfo:P,implementation:U}}function Bc(g,P,U,ge){var Le=P.current,it=ru(),w=Wu(Le);e:if(U){U=U._reactInternals;t:{if(Qr(U)!==U||U.tag!==1)throw Error(c(170));var t=U;do{switch(t.tag){case 3:t=t.stateNode.context;break t;case 1:if(Xr(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break t}}t=t.return}while(t!==null);throw Error(c(171))}if(U.tag===1){var n=U.type;if(Xr(n)){U=En(U,n,t);break e}}U=t}else U=ys;return P.context===null?P.context=U:P.pendingContext=U,P=ho(it,w),P.payload={element:g},ge=ge===void 0?null:ge,ge!==null&&(P.callback=ge),so(Le,P),pl(Le,w,it),w}function Of(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 Af(g,P){if(g=g.memoizedState,g!==null&&g.dehydrated!==null){var U=g.retryLane;g.retryLane=U!==0&&U<P?U:P}}function ef(g,P){Af(g,P),(g=g.alternate)&&Af(g,P)}function Cf(){return null}function kf(g,P,U){var ge=U!=null&&U.hydrationOptions!=null&&U.hydrationOptions.mutableSources||null;if(U=new Fc(g,P,U!=null&&U.hydrate===!0),P=Go(3,null,null,P===2?7:P===1?3:0),U.current=P,P.stateNode=U,Is(P),g[Oi]=U.current,Gt(g.nodeType===8?g.parentNode:g),ge)for(g=0;g<ge.length;g++){P=ge[g];var Le=P._getVersion;Le=Le(P._source),U.mutableSourceEagerHydrationData==null?U.mutableSourceEagerHydrationData=[P,Le]:U.mutableSourceEagerHydrationData.push(P,Le)}this._internalRoot=U}kf.prototype.render=function(g){Bc(g,this._internalRoot,null,null)},kf.prototype.unmount=function(){var g=this._internalRoot,P=g.containerInfo;Bc(null,g,null,function(){P[Oi]=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 zf(g,P){if(P||(P=g?g.nodeType===9?g.documentElement:g.firstChild:null,P=!(!P||P.nodeType!==1||!P.hasAttribute("data-reactroot"))),!P)for(var U;U=g.lastChild;)g.removeChild(U);return new kf(g,0,P?{hydrate:!0}:void 0)}function _f(g,P,U,ge,Le){var it=U._reactRootContainer;if(it){var w=it._internalRoot;if(typeof Le=="function"){var t=Le;Le=function(){var s=Of(w);t.call(s)}}Bc(P,w,g,Le)}else{if(it=U._reactRootContainer=zf(U,ge),w=it._internalRoot,typeof Le=="function"){var n=Le;Le=function(){var s=Of(w);n.call(s)}}ba(function(){Bc(P,w,g,Le)})}return Of(w)}dn=function(g){if(g.tag===13){var P=ru();pl(g,4,P),ef(g,4)}},Bn=function(g){if(g.tag===13){var P=ru();pl(g,67108864,P),ef(g,67108864)}},ti=function(g){if(g.tag===13){var P=ru(),U=Wu(g);pl(g,U,P),ef(g,U)}},Un=function(g,P){return P()},wt=function(g,P,U){switch(P){case"input":if(ye(g,U),P=U.name,U.type==="radio"&&P!=null){for(U=g;U.parentNode;)U=U.parentNode;for(U=U.querySelectorAll("input[name="+JSON.stringify(""+P)+'][type="radio"]'),P=0;P<U.length;P++){var ge=U[P];if(ge!==g&&ge.form===g.form){var Le=Ya(ge);if(!Le)throw Error(c(90));at(ge),ye(ge,Le)}}}break;case"textarea":Ht(g,U);break;case"select":P=U.value,P!=null&&nt(g,!!U.multiple,P,!1)}},Mt=Ni,Be=function(g,P,U,ge,Le){var it=Re;Re|=4;try{return It(98,g.bind(null,P,U,ge,Le))}finally{Re=it,Re===0&&(cl(),en())}},Ir=function(){!(Re&49)&&(Wn(),Fl())},St=function(g,P){var U=Re;Re|=2;try{return g(P)}finally{Re=U,Re===0&&(cl(),en())}};function Rf(g,P){var U=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!pf(P))throw Error(c(200));return Jc(g,P,null,U)}var Bf={Events:[Ka,Js,Ya,Ye,mt,Fl,{current:!1}]},mf={findFiberByHostInstance:ka,bundleType:0,version:"17.0.2",rendererPackageName:"react-dom"},Zf={bundleType:mf.bundleType,version:mf.version,rendererPackageName:mf.rendererPackageName,rendererConfig:mf.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:N.ReactCurrentDispatcher,findHostInstanceByFiber:function(g){return g=lr(g),g===null?null:g.stateNode},findFiberByHostInstance:mf.findFiberByHostInstance||Cf,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__!="undefined"){var Tf=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Tf.isDisabled&&Tf.supportsFiber)try{On=Tf.inject(Zf),Cn=Tf}catch(g){}}v.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Bf,v.createPortal=Rf,v.findDOMNode=function(g){if(g==null)return null;if(g.nodeType===1)return g;var P=g._reactInternals;if(P===void 0)throw typeof g.render=="function"?Error(c(188)):Error(c(268,Object.keys(g)));return g=lr(P),g=g===null?null:g.stateNode,g},v.flushSync=function(g,P){var U=Re;if(U&48)return g(P);Re|=1;try{if(g)return It(99,g.bind(null,P))}finally{Re=U,en()}},v.hydrate=function(g,P,U){if(!pf(P))throw Error(c(200));return _f(null,g,P,!0,U)},v.render=function(g,P,U){if(!pf(P))throw Error(c(200));return _f(null,g,P,!1,U)},v.unmountComponentAtNode=function(g){if(!pf(g))throw Error(c(40));return g._reactRootContainer?(ba(function(){_f(null,null,g,!1,function(){g._reactRootContainer=null,g[Oi]=null})}),!0):!1},v.unstable_batchedUpdates=Ni,v.unstable_createPortal=function(g,P){return Rf(g,P,2<arguments.length&&arguments[2]!==void 0?arguments[2]:null)},v.unstable_renderSubtreeIntoContainer=function(g,P,U,ge){if(!pf(U))throw Error(c(200));if(g==null||g._reactInternals===void 0)throw Error(c(38));return _f(g,P,U,!1,ge)},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,A=e?Symbol.for("react.block"):60121,k=e?Symbol.for("react.fundamental"):60117,R=e?Symbol.for("react.responder"):60118,C=e?Symbol.for("react.scope"):60119;function D(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 D(B)===a}v.AsyncMode=u,v.ConcurrentMode=a,v.ContextConsumer=h,v.ContextProvider=o,v.Element=r,v.ForwardRef=x,v.Fragment=l,v.Lazy=b,v.Memo=_,v.Portal=i,v.Profiler=f,v.StrictMode=c,v.Suspense=p,v.isAsyncMode=function(B){return M(B)||D(B)===u},v.isConcurrentMode=M,v.isContextConsumer=function(B){return D(B)===h},v.isContextProvider=function(B){return D(B)===o},v.isElement=function(B){return typeof B=="object"&&B!==null&&B.$$typeof===r},v.isForwardRef=function(B){return D(B)===x},v.isFragment=function(B){return D(B)===l},v.isLazy=function(B){return D(B)===b},v.isMemo=function(B){return D(B)===_},v.isPortal=function(B){return D(B)===i},v.isProfiler=function(B){return D(B)===f},v.isStrictMode=function(B){return D(B)===c},v.isSuspense=function(B){return D(B)===p},v.isValidElementType=function(B){return typeof B=="string"||typeof B=="function"||B===l||B===a||B===f||B===c||B===p||B===y||typeof B=="object"&&B!==null&&(B.$$typeof===b||B.$$typeof===_||B.$$typeof===o||B.$$typeof===h||B.$$typeof===x||B.$$typeof===k||B.$$typeof===R||B.$$typeof===C||B.$$typeof===A)},v.typeOf=D},99234:function(d,v,e){"use strict";d.exports=e(30508)},88172:function(d,v){"use strict";var e=Symbol.for("react.element"),r=Symbol.for("react.portal"),i=Symbol.for("react.fragment"),l=Symbol.for("react.strict_mode"),c=Symbol.for("react.profiler"),f=Symbol.for("react.provider"),o=Symbol.for("react.context"),h=Symbol.for("react.server_context"),u=Symbol.for("react.forward_ref"),a=Symbol.for("react.suspense"),x=Symbol.for("react.suspense_list"),p=Symbol.for("react.memo"),y=Symbol.for("react.lazy"),_=Symbol.for("react.offscreen"),b;b=Symbol.for("react.module.reference");function A(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 A(k)===o},v.isContextProvider=function(k){return A(k)===f},v.isElement=function(k){return typeof k=="object"&&k!==null&&k.$$typeof===e},v.isForwardRef=function(k){return A(k)===u},v.isFragment=function(k){return A(k)===i},v.isLazy=function(k){return A(k)===y},v.isMemo=function(k){return A(k)===p},v.isPortal=function(k){return A(k)===r},v.isProfiler=function(k){return A(k)===c},v.isStrictMode=function(k){return A(k)===l},v.isSuspense=function(k){return A(k)===a},v.isSuspenseList=function(k){return A(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=A},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(C){for(var D=1;D<arguments.length;D++){var M=arguments[D];for(var B in M)Object.prototype.hasOwnProperty.call(M,B)&&(C[B]=M[B])}return C},c.apply(this,arguments)}function f(C,D){if(C==null)return{};var M={},B=Object.keys(C),N,K;for(K=0;K<B.length;K++)N=B[K],!(D.indexOf(N)>=0)&&(M[N]=C[N]);return M}const o=["onClick","reloadDocument","replace","state","target","to"],h=null;function u(C,D){if(!C){typeof console!="undefined"&&console.warn(D);try{throw new Error(D)}catch(M){}}}function a(C){let{basename:D,children:M,window:B}=C,N=useRef();N.current==null&&(N.current=createBrowserHistory({window:B}));let K=N.current,[G,W]=useState({action:K.action,location:K.location});return useLayoutEffect(()=>K.listen(W),[K]),createElement(Router,{basename:D,children:M,location:G.location,navigationType:G.action,navigator:K})}function x(C){let{basename:D,children:M,window:B}=C,N=useRef();N.current==null&&(N.current=createHashHistory({window:B}));let K=N.current,[G,W]=useState({action:K.action,location:K.location});return useLayoutEffect(()=>K.listen(W),[K]),createElement(Router,{basename:D,children:M,location:G.location,navigationType:G.action,navigator:K})}function p(C){let{basename:D,children:M,history:B}=C;const[N,K]=useState({action:B.action,location:B.location});return useLayoutEffect(()=>B.listen(K),[B]),createElement(Router,{basename:D,children:M,location:N.location,navigationType:N.action,navigator:B})}function y(C){return!!(C.metaKey||C.altKey||C.ctrlKey||C.shiftKey)}const _=(0,r.forwardRef)(function(D,M){let{onClick:B,reloadDocument:N,replace:K=!1,state:G,target:W,to:se}=D,ie=f(D,o),le=(0,i.oQ)(se),q=A(se,{replace:K,state:G,target:W});function J(V){B&&B(V),!V.defaultPrevented&&!N&&q(V)}return(0,r.createElement)("a",c({},ie,{href:le,onClick:J,ref:M,target:W}))}),b=null;function A(C,D){let{target:M,replace:B,state:N}=D===void 0?{}:D,K=(0,i.s0)(),G=(0,i.TH)(),W=(0,i.WU)(C);return(0,r.useCallback)(se=>{if(se.button===0&&(!M||M==="_self")&&!y(se)){se.preventDefault();let ie=!!B||(0,l.Ep)(G)===(0,l.Ep)(W);K(C,{replace:ie,state:N})}},[G,K,W,B,N,M,C])}function k(C){let D=(0,r.useRef)(R(C)),M=(0,i.TH)(),B=(0,r.useMemo)(()=>{let G=R(M.search);for(let W of D.current.keys())G.has(W)||D.current.getAll(W).forEach(se=>{G.append(W,se)});return G},[M.search]),N=(0,i.s0)(),K=(0,r.useCallback)((G,W)=>{N("?"+R(G),W)},[N]);return[B,K]}function R(C){return C===void 0&&(C=""),new URLSearchParams(typeof C=="string"||Array.isArray(C)||C instanceof URLSearchParams?C:Object.keys(C).reduce((D,M)=>{let B=C[M];return D.concat(Array.isArray(B)?B.map(N=>[M,N]):[[M,B]])},[]))}},35338:function(d,v,e){"use strict";e.d(v,{F0:function(){return at},Fg:function(){return Ge},Gn:function(){return x},TH:function(){return ae},UO:function(){return gt},V$:function(){return nr},WU:function(){return Dt},bx:function(){return $e},fp:function(){return p},j3:function(){return Tt},oQ:function(){return z},s0:function(){return ke}});var r=e(19340),i=e(59301);const l=(0,i.createContext)(null),c=(0,i.createContext)(null),f=(0,i.createContext)({outlet:null,matches:[]});function o(Ue,ye){if(!Ue)throw new Error(ye)}function h(Ue,ye){if(!Ue){typeof console!="undefined"&&console.warn(ye);try{throw new Error(ye)}catch(Ce){}}}const u={};function a(Ue,ye,Ce){!ye&&!u[Ue]&&(u[Ue]=!0)}function x(Ue,ye){return ye===void 0&&(ye={}),Ue.replace(/:(\w+)/g,(Ce,Me)=>(ye[Me]==null&&o(!1),ye[Me])).replace(/\/*\*$/,Ce=>ye["*"]==null?"":ye["*"].replace(/^\/*/,"/"))}function p(Ue,ye,Ce){Ce===void 0&&(Ce="/");let Me=typeof ye=="string"?(0,r.cP)(ye):ye,je=V(Me.pathname||"/",Ce);if(je==null)return null;let We=y(Ue);_(We);let nt=null;for(let lt=0;nt==null&<<We.length;++lt)nt=K(We[lt],je);return nt}function y(Ue,ye,Ce,Me){return ye===void 0&&(ye=[]),Ce===void 0&&(Ce=[]),Me===void 0&&(Me=""),Ue.forEach((je,We)=>{let nt={relativePath:je.path||"",caseSensitive:je.caseSensitive===!0,childrenIndex:We,route:je};nt.relativePath.startsWith("/")&&(nt.relativePath.startsWith(Me)||o(!1),nt.relativePath=nt.relativePath.slice(Me.length));let lt=ue([Me,nt.relativePath]),Vt=Ce.concat(nt);je.children&&je.children.length>0&&(je.index===!0&&o(!1),y(je.children,ye,Vt,lt)),!(je.path==null&&!je.index)&&ye.push({path:lt,score:B(lt,je.index),routesMeta:Vt})}),ye}function _(Ue){Ue.sort((ye,Ce)=>ye.score!==Ce.score?Ce.score-ye.score:N(ye.routesMeta.map(Me=>Me.childrenIndex),Ce.routesMeta.map(Me=>Me.childrenIndex)))}const b=/^:\w+$/,A=3,k=2,R=1,C=10,D=-2,M=Ue=>Ue==="*";function B(Ue,ye){let Ce=Ue.split("/"),Me=Ce.length;return Ce.some(M)&&(Me+=D),ye&&(Me+=k),Ce.filter(je=>!M(je)).reduce((je,We)=>je+(b.test(We)?A:We===""?R:C),Me)}function N(Ue,ye){return Ue.length===ye.length&&Ue.slice(0,-1).every((Me,je)=>Me===ye[je])?Ue[Ue.length-1]-ye[ye.length-1]:0}function K(Ue,ye){let{routesMeta:Ce}=Ue,Me={},je="/",We=[];for(let nt=0;nt<Ce.length;++nt){let lt=Ce[nt],Vt=nt===Ce.length-1,Ht=je==="/"?ye:ye.slice(je.length)||"/",Pe=G({path:lt.relativePath,caseSensitive:lt.caseSensitive,end:Vt},Ht);if(!Pe)return null;Object.assign(Me,Pe.params);let et=lt.route;We.push({params:Me,pathname:ue([je,Pe.pathname]),pathnameBase:ee(ue([je,Pe.pathnameBase])),route:et}),Pe.pathnameBase!=="/"&&(je=ue([je,Pe.pathnameBase]))}return We}function G(Ue,ye){typeof Ue=="string"&&(Ue={path:Ue,caseSensitive:!1,end:!0});let[Ce,Me]=W(Ue.path,Ue.caseSensitive,Ue.end),je=ye.match(Ce);if(!je)return null;let We=je[0],nt=We.replace(/(.)\/+$/,"$1"),lt=je.slice(1);return{params:Me.reduce((Ht,Pe,et)=>{if(Pe==="*"){let Kt=lt[et]||"";nt=We.slice(0,We.length-Kt.length).replace(/(.)\/+$/,"$1")}return Ht[Pe]=se(lt[et]||"",Pe),Ht},{}),pathname:We,pathnameBase:nt,pattern:Ue}}function W(Ue,ye,Ce){ye===void 0&&(ye=!1),Ce===void 0&&(Ce=!0);let Me=[],je="^"+Ue.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^$?{}|()[\]]/g,"\\$&").replace(/:(\w+)/g,(nt,lt)=>(Me.push(lt),"([^\\/]+)"));return Ue.endsWith("*")?(Me.push("*"),je+=Ue==="*"||Ue==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):je+=Ce?"\\/*$":"(?:(?=[.~-]|%[0-9A-F]{2})|\\b|\\/|$)",[new RegExp(je,ye?void 0:"i"),Me]}function se(Ue,ye){try{return decodeURIComponent(Ue)}catch(Ce){return Ue}}function ie(Ue,ye){ye===void 0&&(ye="/");let{pathname:Ce,search:Me="",hash:je=""}=typeof Ue=="string"?(0,r.cP)(Ue):Ue;return{pathname:Ce?Ce.startsWith("/")?Ce:le(Ce,ye):ye,search:Q(Me),hash:ce(je)}}function le(Ue,ye){let Ce=ye.replace(/\/+$/,"").split("/");return Ue.split("/").forEach(je=>{je===".."?Ce.length>1&&Ce.pop():je!=="."&&Ce.push(je)}),Ce.length>1?Ce.join("/"):"/"}function q(Ue,ye,Ce){let Me=typeof Ue=="string"?(0,r.cP)(Ue):Ue,je=Ue===""||Me.pathname===""?"/":Me.pathname,We;if(je==null)We=Ce;else{let lt=ye.length-1;if(je.startsWith("..")){let Vt=je.split("/");for(;Vt[0]==="..";)Vt.shift(),lt-=1;Me.pathname=Vt.join("/")}We=lt>=0?ye[lt]:"/"}let nt=ie(Me,We);return je&&je!=="/"&&je.endsWith("/")&&!nt.pathname.endsWith("/")&&(nt.pathname+="/"),nt}function J(Ue){return Ue===""||Ue.pathname===""?"/":typeof Ue=="string"?(0,r.cP)(Ue).pathname:Ue.pathname}function V(Ue,ye){if(ye==="/")return Ue;if(!Ue.toLowerCase().startsWith(ye.toLowerCase()))return null;let Ce=Ue.charAt(ye.length);return Ce&&Ce!=="/"?null:Ue.slice(ye.length)||"/"}const ue=Ue=>Ue.join("/").replace(/\/\/+/g,"/"),ee=Ue=>Ue.replace(/\/+$/,"").replace(/^\/*/,"/"),Q=Ue=>!Ue||Ue==="?"?"":Ue.startsWith("?")?Ue:"?"+Ue,ce=Ue=>!Ue||Ue==="#"?"":Ue.startsWith("#")?Ue:"#"+Ue;function z(Ue){$()||o(!1);let{basename:ye,navigator:Ce}=(0,i.useContext)(l),{hash:Me,pathname:je,search:We}=Dt(Ue),nt=je;if(ye!=="/"){let lt=J(Ue),Vt=lt!=null&<.endsWith("/");nt=je==="/"?ye+(Vt?"/":""):ue([ye,je])}return Ce.createHref({pathname:nt,search:We,hash:Me})}function $(){return(0,i.useContext)(c)!=null}function ae(){return $()||o(!1),(0,i.useContext)(c).location}function _e(){return useContext(c).navigationType}function De(Ue){$()||o(!1);let{pathname:ye}=ae();return useMemo(()=>G(Ue,ye),[ye,Ue])}function ke(){$()||o(!1);let{basename:Ue,navigator:ye}=(0,i.useContext)(l),{matches:Ce}=(0,i.useContext)(f),{pathname:Me}=ae(),je=JSON.stringify(Ce.map(lt=>lt.pathnameBase)),We=(0,i.useRef)(!1);return(0,i.useEffect)(()=>{We.current=!0}),(0,i.useCallback)(function(lt,Vt){if(Vt===void 0&&(Vt={}),!We.current)return;if(typeof lt=="number"){ye.go(lt);return}let Ht=q(lt,JSON.parse(je),Me);Ue!=="/"&&(Ht.pathname=ue([Ue,Ht.pathname])),(Vt.replace?ye.replace:ye.push)(Ht,Vt.state)},[Ue,ye,je,Me])}const He=(0,i.createContext)(null);function $e(){return(0,i.useContext)(He)}function Bt(Ue){let ye=(0,i.useContext)(f).outlet;return ye&&(0,i.createElement)(He.Provider,{value:Ue},ye)}function gt(){let{matches:Ue}=(0,i.useContext)(f),ye=Ue[Ue.length-1];return ye?ye.params:{}}function Dt(Ue){let{matches:ye}=(0,i.useContext)(f),{pathname:Ce}=ae(),Me=JSON.stringify(ye.map(je=>je.pathnameBase));return(0,i.useMemo)(()=>q(Ue,JSON.parse(Me),Ce),[Ue,Me,Ce])}function nr(Ue,ye){$()||o(!1);let{matches:Ce}=(0,i.useContext)(f),Me=Ce[Ce.length-1],je=Me?Me.params:{},We=Me?Me.pathname:"/",nt=Me?Me.pathnameBase:"/",lt=Me&&Me.route,Vt=ae(),Ht;if(ye){var Pe;let Zt=typeof ye=="string"?(0,r.cP)(ye):ye;nt==="/"||(Pe=Zt.pathname)!=null&&Pe.startsWith(nt)||o(!1),Ht=Zt}else Ht=Vt;let et=Ht.pathname||"/",Kt=nt==="/"?et:et.slice(nt.length)||"/",kt=p(Ue,{pathname:Kt});return Xt(kt&&kt.map(Zt=>Object.assign({},Zt,{params:Object.assign({},je,Zt.params),pathname:ue([nt,Zt.pathname]),pathnameBase:Zt.pathnameBase==="/"?nt:ue([nt,Zt.pathnameBase])})),Ce)}function Xt(Ue,ye){return ye===void 0&&(ye=[]),Ue==null?null:Ue.reduceRight((Ce,Me,je)=>(0,i.createElement)(f.Provider,{children:Me.route.element!==void 0?Me.route.element:Ce,value:{outlet:Ce,matches:ye.concat(Ue.slice(0,je+1))}}),null)}function cr(Ue){let{basename:ye,children:Ce,initialEntries:Me,initialIndex:je}=Ue,We=useRef();We.current==null&&(We.current=createMemoryHistory({initialEntries:Me,initialIndex:je}));let nt=We.current,[lt,Vt]=useState({action:nt.action,location:nt.location});return useLayoutEffect(()=>nt.listen(Vt),[nt]),createElement(at,{basename:ye,children:Ce,location:lt.location,navigationType:lt.action,navigator:nt})}function Ge(Ue){let{to:ye,replace:Ce,state:Me}=Ue;$()||o(!1);let je=ke();return(0,i.useEffect)(()=>{je(ye,{replace:Ce,state:Me})}),null}function Tt(Ue){return Bt(Ue.context)}function Ut(Ue){o(!1)}function at(Ue){let{basename:ye="/",children:Ce=null,location:Me,navigationType:je=r.aU.Pop,navigator:We,static:nt=!1}=Ue;$()&&o(!1);let lt=ee(ye),Vt=(0,i.useMemo)(()=>({basename:lt,navigator:We,static:nt}),[lt,We,nt]);typeof Me=="string"&&(Me=(0,r.cP)(Me));let{pathname:Ht="/",search:Pe="",hash:et="",state:Kt=null,key:kt="default"}=Me,Zt=(0,i.useMemo)(()=>{let Nt=V(Ht,lt);return Nt==null?null:{pathname:Nt,search:Pe,hash:et,state:Kt,key:kt}},[lt,Ht,Pe,et,Kt,kt]);return Zt==null?null:(0,i.createElement)(l.Provider,{value:Vt},(0,i.createElement)(c.Provider,{children:Ce,value:{location:Zt,navigationType:je}}))}function bt(Ue){let{children:ye,location:Ce}=Ue;return nr(dt(ye),Ce)}function dt(Ue){let ye=[];return Children.forEach(Ue,Ce=>{if(!isValidElement(Ce))return;if(Ce.type===Fragment){ye.push.apply(ye,dt(Ce.props.children));return}Ce.type!==Ut&&o(!1);let Me={caseSensitive:Ce.props.caseSensitive,element:Ce.props.element,index:Ce.props.index,path:Ce.props.path};Ce.props.children&&(Me.children=dt(Ce.props.children)),ye.push(Me)}),ye}function tt(Ue){return Xt(Ue)}},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 ce="https://reactjs.org/docs/error-decoder.html?invariant="+Q,z=1;z<arguments.length;z++)ce+="&args[]="+encodeURIComponent(arguments[z]);return"Minified React error #"+Q+"; visit "+ce+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var _={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},b={};function A(Q,ce,z){this.props=Q,this.context=ce,this.refs=b,this.updater=z||_}A.prototype.isReactComponent={},A.prototype.setState=function(Q,ce){if(typeof Q!="object"&&typeof Q!="function"&&Q!=null)throw Error(y(85));this.updater.enqueueSetState(this,Q,ce,"setState")},A.prototype.forceUpdate=function(Q){this.updater.enqueueForceUpdate(this,Q,"forceUpdate")};function k(){}k.prototype=A.prototype;function R(Q,ce,z){this.props=Q,this.context=ce,this.refs=b,this.updater=z||_}var C=R.prototype=new k;C.constructor=R,r(C,A.prototype),C.isPureReactComponent=!0;var D={current:null},M=Object.prototype.hasOwnProperty,B={key:!0,ref:!0,__self:!0,__source:!0};function N(Q,ce,z){var $,ae={},_e=null,De=null;if(ce!=null)for($ in ce.ref!==void 0&&(De=ce.ref),ce.key!==void 0&&(_e=""+ce.key),ce)M.call(ce,$)&&!B.hasOwnProperty($)&&(ae[$]=ce[$]);var ke=arguments.length-2;if(ke===1)ae.children=z;else if(1<ke){for(var He=Array(ke),$e=0;$e<ke;$e++)He[$e]=arguments[$e+2];ae.children=He}if(Q&&Q.defaultProps)for($ in ke=Q.defaultProps,ke)ae[$]===void 0&&(ae[$]=ke[$]);return{$$typeof:i,type:Q,key:_e,ref:De,props:ae,_owner:D.current}}function K(Q,ce){return{$$typeof:i,type:Q.type,key:ce,ref:Q.ref,props:Q.props,_owner:Q._owner}}function G(Q){return typeof Q=="object"&&Q!==null&&Q.$$typeof===i}function W(Q){var ce={"=":"=0",":":"=2"};return"$"+Q.replace(/[=:]/g,function(z){return ce[z]})}var se=/\/+/g;function ie(Q,ce){return typeof Q=="object"&&Q!==null&&Q.key!=null?W(""+Q.key):ce.toString(36)}function le(Q,ce,z,$,ae){var _e=typeof Q;(_e==="undefined"||_e==="boolean")&&(Q=null);var De=!1;if(Q===null)De=!0;else switch(_e){case"string":case"number":De=!0;break;case"object":switch(Q.$$typeof){case i:case l:De=!0}}if(De)return De=Q,ae=ae(De),Q=$===""?"."+ie(De,0):$,Array.isArray(ae)?(z="",Q!=null&&(z=Q.replace(se,"$&/")+"/"),le(ae,ce,z,"",function($e){return $e})):ae!=null&&(G(ae)&&(ae=K(ae,z+(!ae.key||De&&De.key===ae.key?"":(""+ae.key).replace(se,"$&/")+"/")+Q)),ce.push(ae)),1;if(De=0,$=$===""?".":$+":",Array.isArray(Q))for(var ke=0;ke<Q.length;ke++){_e=Q[ke];var He=$+ie(_e,ke);De+=le(_e,ce,z,He,ae)}else if(He=p(Q),typeof He=="function")for(Q=He.call(Q),ke=0;!(_e=Q.next()).done;)_e=_e.value,He=$+ie(_e,ke++),De+=le(_e,ce,z,He,ae);else if(_e==="object")throw ce=""+Q,Error(y(31,ce==="[object Object]"?"object with keys {"+Object.keys(Q).join(", ")+"}":ce));return De}function q(Q,ce,z){if(Q==null)return Q;var $=[],ae=0;return le(Q,$,"","",function(_e){return ce.call(z,_e,ae++)}),$}function J(Q){if(Q._status===-1){var ce=Q._result;ce=ce(),Q._status=0,Q._result=ce,ce.then(function(z){Q._status===0&&(z=z.default,Q._status=1,Q._result=z)},function(z){Q._status===0&&(Q._status=2,Q._result=z)})}if(Q._status===1)return Q._result;throw Q._result}var V={current:null};function ue(){var Q=V.current;if(Q===null)throw Error(y(321));return Q}var ee={ReactCurrentDispatcher:V,ReactCurrentBatchConfig:{transition:0},ReactCurrentOwner:D,IsSomeRendererActing:{current:!1},assign:r};v.Children={map:q,forEach:function(Q,ce,z){q(Q,function(){ce.apply(this,arguments)},z)},count:function(Q){var ce=0;return q(Q,function(){ce++}),ce},toArray:function(Q){return q(Q,function(ce){return ce})||[]},only:function(Q){if(!G(Q))throw Error(y(143));return Q}},v.Component=A,v.PureComponent=R,v.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=ee,v.cloneElement=function(Q,ce,z){if(Q==null)throw Error(y(267,Q));var $=r({},Q.props),ae=Q.key,_e=Q.ref,De=Q._owner;if(ce!=null){if(ce.ref!==void 0&&(_e=ce.ref,De=D.current),ce.key!==void 0&&(ae=""+ce.key),Q.type&&Q.type.defaultProps)var ke=Q.type.defaultProps;for(He in ce)M.call(ce,He)&&!B.hasOwnProperty(He)&&($[He]=ce[He]===void 0&&ke!==void 0?ke[He]:ce[He])}var He=arguments.length-2;if(He===1)$.children=z;else if(1<He){ke=Array(He);for(var $e=0;$e<He;$e++)ke[$e]=arguments[$e+2];$.children=ke}return{$$typeof:i,type:Q.type,key:ae,ref:_e,props:$,_owner:De}},v.createContext=function(Q,ce){return ce===void 0&&(ce=null),Q={$$typeof:f,_calculateChangedBits:ce,_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 ce=N.bind(null,Q);return ce.type=Q,ce},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,ce){return{$$typeof:h,type:Q,compare:ce===void 0?null:ce}},v.useCallback=function(Q,ce){return ue().useCallback(Q,ce)},v.useContext=function(Q,ce){return ue().useContext(Q,ce)},v.useDebugValue=function(){},v.useEffect=function(Q,ce){return ue().useEffect(Q,ce)},v.useImperativeHandle=function(Q,ce,z){return ue().useImperativeHandle(Q,ce,z)},v.useLayoutEffect=function(Q,ce){return ue().useLayoutEffect(Q,ce)},v.useMemo=function(Q,ce){return ue().useMemo(Q,ce)},v.useReducer=function(Q,ce,z){return ue().useReducer(Q,ce,z)},v.useRef=function(Q){return ue().useRef(Q)},v.useState=function(Q){return ue().useState(Q)},v.version="17.0.2"},59301:function(d,v,e){"use strict";d.exports=e(76100)},59781:function(d,v,e){"use strict";e.d(v,{DE:function(){return D},MT:function(){return y},UY:function(){return R},md:function(){return B},qC:function(){return M}});var r=e(20439);function i(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 W;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 se=N,ie=K,le=[],q=le,J=!1;function V(){q===le&&(q=le.slice())}function ue(){if(J)throw new Error(i(3));return ie}function ee($){if(typeof $!="function")throw new Error(i(4));if(J)throw new Error(i(5));var ae=!0;return V(),q.push($),function(){if(ae){if(J)throw new Error(i(6));ae=!1,V();var De=q.indexOf($);q.splice(De,1),le=null}}}function Q($){if(!o($))throw new Error(i(7));if(typeof $.type=="undefined")throw new Error(i(8));if(J)throw new Error(i(9));try{J=!0,ie=se(ie,$)}finally{J=!1}for(var ae=le=q,_e=0;_e<ae.length;_e++){var De=ae[_e];De()}return $}function ce($){if(typeof $!="function")throw new Error(i(10));se=$,Q({type:f.REPLACE})}function z(){var $,ae=ee;return $={subscribe:function(De){if(typeof De!="object"||De===null)throw new Error(i(11));function ke(){De.next&&De.next(ue())}ke();var He=ae(ke);return{unsubscribe:He}}},$[l]=function(){return this},$}return Q({type:f.INIT}),W={dispatch:Q,subscribe:ee,getState:ue,replaceReducer:ce},W[l]=z,W}var _=null;function b(N){typeof console!="undefined"&&typeof console.error=="function"&&console.error(N);try{throw new Error(N)}catch(K){}}function A(N,K,G,W){var se=Object.keys(K),ie=G&&G.type===f.INIT?"preloadedState argument passed to createStore":"previous state received by the reducer";if(se.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 "+ie+' has unexpected type of "'+p(N)+'". Expected argument to be an object with the following '+('keys: "'+se.join('", "')+'"');var le=Object.keys(N).filter(function(q){return!K.hasOwnProperty(q)&&!W[q]});if(le.forEach(function(q){W[q]=!0}),!(G&&G.type===f.REPLACE)&&le.length>0)return"Unexpected "+(le.length>1?"keys":"key")+" "+('"'+le.join('", "')+'" found in '+ie+". ")+"Expected to find one of the known reducer keys instead: "+('"'+se.join('", "')+'". Unexpected keys will be ignored.')}function k(N){Object.keys(N).forEach(function(K){var G=N[K],W=G(void 0,{type:f.INIT});if(typeof W=="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={},W=0;W<K.length;W++){var se=K[W];typeof N[se]=="function"&&(G[se]=N[se])}var ie=Object.keys(G),le,q;try{k(G)}catch(J){q=J}return function(V,ue){if(V===void 0&&(V={}),q)throw q;if(0)var ee;for(var Q=!1,ce={},z=0;z<ie.length;z++){var $=ie[z],ae=G[$],_e=V[$],De=ae(_e,ue);if(typeof De=="undefined"){var ke=ue&&ue.type;throw new Error(i(14))}ce[$]=De,Q=Q||De!==_e}return Q=Q||ie.length!==Object.keys(V).length,Q?ce:V}}function C(N,K){return function(){return K(N.apply(this,arguments))}}function D(N,K){if(typeof N=="function")return C(N,K);if(typeof N!="object"||N===null)throw new Error(i(16));var G={};for(var W in N){var se=N[W];typeof se=="function"&&(G[W]=C(se,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(W){return W}:K.length===1?K[0]:K.reduce(function(W,se){return function(){return W(se.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(W){return function(){var se=W.apply(void 0,arguments),ie=function(){throw new Error(i(15))},le={getState:se.getState,dispatch:function(){return ie.apply(void 0,arguments)}},q=K.map(function(J){return J(le)});return ie=M.apply(void 0,q)(se.dispatch),(0,r.Z)((0,r.Z)({},se),{},{dispatch:ie})}}}},58246:function(d){var v=function(e){"use strict";var r=Object.prototype,i=r.hasOwnProperty,l=Object.defineProperty||function(ee,Q,ce){ee[Q]=ce.value},c,f=typeof Symbol=="function"?Symbol:{},o=f.iterator||"@@iterator",h=f.asyncIterator||"@@asyncIterator",u=f.toStringTag||"@@toStringTag";function a(ee,Q,ce){return Object.defineProperty(ee,Q,{value:ce,enumerable:!0,configurable:!0,writable:!0}),ee[Q]}try{a({},"")}catch(ee){a=function(Q,ce,z){return Q[ce]=z}}function x(ee,Q,ce,z){var $=Q&&Q.prototype instanceof R?Q:R,ae=Object.create($.prototype),_e=new J(z||[]);return l(ae,"_invoke",{value:se(ee,ce,_e)}),ae}e.wrap=x;function p(ee,Q,ce){try{return{type:"normal",arg:ee.call(Q,ce)}}catch(z){return{type:"throw",arg:z}}}var y="suspendedStart",_="suspendedYield",b="executing",A="completed",k={};function R(){}function C(){}function D(){}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=D.prototype=R.prototype=Object.create(M);C.prototype=D,l(K,"constructor",{value:D,configurable:!0}),l(D,"constructor",{value:C,configurable:!0}),C.displayName=a(D,u,"GeneratorFunction");function G(ee){["next","throw","return"].forEach(function(Q){a(ee,Q,function(ce){return this._invoke(Q,ce)})})}e.isGeneratorFunction=function(ee){var Q=typeof ee=="function"&&ee.constructor;return Q?Q===C||(Q.displayName||Q.name)==="GeneratorFunction":!1},e.mark=function(ee){return Object.setPrototypeOf?Object.setPrototypeOf(ee,D):(ee.__proto__=D,a(ee,u,"GeneratorFunction")),ee.prototype=Object.create(K),ee},e.awrap=function(ee){return{__await:ee}};function W(ee,Q){function ce(ae,_e,De,ke){var He=p(ee[ae],ee,_e);if(He.type==="throw")ke(He.arg);else{var $e=He.arg,Bt=$e.value;return Bt&&typeof Bt=="object"&&i.call(Bt,"__await")?Q.resolve(Bt.__await).then(function(gt){ce("next",gt,De,ke)},function(gt){ce("throw",gt,De,ke)}):Q.resolve(Bt).then(function(gt){$e.value=gt,De($e)},function(gt){return ce("throw",gt,De,ke)})}}var z;function $(ae,_e){function De(){return new Q(function(ke,He){ce(ae,_e,ke,He)})}return z=z?z.then(De,De):De()}l(this,"_invoke",{value:$})}G(W.prototype),a(W.prototype,h,function(){return this}),e.AsyncIterator=W,e.async=function(ee,Q,ce,z,$){$===void 0&&($=Promise);var ae=new W(x(ee,Q,ce,z),$);return e.isGeneratorFunction(Q)?ae:ae.next().then(function(_e){return _e.done?_e.value:ae.next()})};function se(ee,Q,ce){var z=y;return function(ae,_e){if(z===b)throw new Error("Generator is already running");if(z===A){if(ae==="throw")throw _e;return ue()}for(ce.method=ae,ce.arg=_e;;){var De=ce.delegate;if(De){var ke=ie(De,ce);if(ke){if(ke===k)continue;return ke}}if(ce.method==="next")ce.sent=ce._sent=ce.arg;else if(ce.method==="throw"){if(z===y)throw z=A,ce.arg;ce.dispatchException(ce.arg)}else ce.method==="return"&&ce.abrupt("return",ce.arg);z=b;var He=p(ee,Q,ce);if(He.type==="normal"){if(z=ce.done?A:_,He.arg===k)continue;return{value:He.arg,done:ce.done}}else He.type==="throw"&&(z=A,ce.method="throw",ce.arg=He.arg)}}}function ie(ee,Q){var ce=Q.method,z=ee.iterator[ce];if(z===c)return Q.delegate=null,ce==="throw"&&ee.iterator.return&&(Q.method="return",Q.arg=c,ie(ee,Q),Q.method==="throw")||ce!=="return"&&(Q.method="throw",Q.arg=new TypeError("The iterator does not provide a '"+ce+"' method")),k;var $=p(z,ee.iterator,Q.arg);if($.type==="throw")return Q.method="throw",Q.arg=$.arg,Q.delegate=null,k;var ae=$.arg;if(!ae)return Q.method="throw",Q.arg=new TypeError("iterator result is not an object"),Q.delegate=null,k;if(ae.done)Q[ee.resultName]=ae.value,Q.next=ee.nextLoc,Q.method!=="return"&&(Q.method="next",Q.arg=c);else return ae;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 le(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(le,this),this.reset(!0)}e.keys=function(ee){var Q=Object(ee),ce=[];for(var z in Q)ce.push(z);return ce.reverse(),function $(){for(;ce.length;){var ae=ce.pop();if(ae in Q)return $.value=ae,$.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 ce=-1,z=function $(){for(;++ce<ee.length;)if(i.call(ee,ce))return $.value=ee[ce],$.done=!1,$;return $.value=c,$.done=!0,$};return z.next=z}}return{next:ue}}e.values=V;function ue(){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 ce(ke,He){return ae.type="throw",ae.arg=ee,Q.next=ke,He&&(Q.method="next",Q.arg=c),!!He}for(var z=this.tryEntries.length-1;z>=0;--z){var $=this.tryEntries[z],ae=$.completion;if($.tryLoc==="root")return ce("end");if($.tryLoc<=this.prev){var _e=i.call($,"catchLoc"),De=i.call($,"finallyLoc");if(_e&&De){if(this.prev<$.catchLoc)return ce($.catchLoc,!0);if(this.prev<$.finallyLoc)return ce($.finallyLoc)}else if(_e){if(this.prev<$.catchLoc)return ce($.catchLoc,!0)}else if(De){if(this.prev<$.finallyLoc)return ce($.finallyLoc)}else throw new Error("try statement without catch or finally")}}},abrupt:function(ee,Q){for(var ce=this.tryEntries.length-1;ce>=0;--ce){var z=this.tryEntries[ce];if(z.tryLoc<=this.prev&&i.call(z,"finallyLoc")&&this.prev<z.finallyLoc){var $=z;break}}$&&(ee==="break"||ee==="continue")&&$.tryLoc<=Q&&Q<=$.finallyLoc&&($=null);var ae=$?$.completion:{};return ae.type=ee,ae.arg=Q,$?(this.method="next",this.next=$.finallyLoc,k):this.complete(ae)},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 ce=this.tryEntries[Q];if(ce.finallyLoc===ee)return this.complete(ce.completion,ce.afterLoc),q(ce),k}},catch:function(ee){for(var Q=this.tryEntries.length-1;Q>=0;--Q){var ce=this.tryEntries[Q];if(ce.tryLoc===ee){var z=ce.completion;if(z.type==="throw"){var $=z.arg;q(ce)}return $}}throw new Error("illegal catch attempt")},delegateYield:function(ee,Q,ce){return this.delegate={iterator:V(ee),resultName:Q,nextLoc:ce},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,ue){var ee=-1;return V.some(function(Q,ce){return Q[0]===ue?(ee=ce,!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(ue){var ee=J(this.__entries__,ue),Q=this.__entries__[ee];return Q&&Q[1]},V.prototype.set=function(ue,ee){var Q=J(this.__entries__,ue);~Q?this.__entries__[Q][1]=ee:this.__entries__.push([ue,ee])},V.prototype.delete=function(ue){var ee=this.__entries__,Q=J(ee,ue);~Q&&ee.splice(Q,1)},V.prototype.has=function(ue){return!!~J(this.__entries__,ue)},V.prototype.clear=function(){this.__entries__.splice(0)},V.prototype.forEach=function(ue,ee){ee===void 0&&(ee=null);for(var Q=0,ce=this.__entries__;Q<ce.length;Q++){var z=ce[Q];ue.call(ee,z[1],z[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 ue=!1,ee=!1,Q=0;function ce(){ue&&(ue=!1,J()),ee&&$()}function z(){c(ce)}function $(){var ae=Date.now();if(ue){if(ae-Q<f)return;ee=!0}else ue=!0,ee=!1,setTimeout(z,V);Q=ae}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 ue=this.observers_,ee=ue.indexOf(V);~ee&&ue.splice(ee,1),!ue.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(ue){return ue.gatherActive(),ue.hasActive()});return V.forEach(function(ue){return ue.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 ue=V.propertyName,ee=ue===void 0?"":ue,Q=u.some(function(ce){return!!~ee.indexOf(ce)});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 ue=0,ee=Object.keys(V);ue<ee.length;ue++){var Q=ee[ue];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 A(J){for(var V=[],ue=1;ue<arguments.length;ue++)V[ue-1]=arguments[ue];return V.reduce(function(ee,Q){var ce=J["border-"+Q+"-width"];return ee+b(ce)},0)}function k(J){for(var V=["top","right","bottom","left"],ue={},ee=0,Q=V;ee<Q.length;ee++){var ce=Q[ee],z=J["padding-"+ce];ue[ce]=b(z)}return ue}function R(J){var V=J.getBBox();return K(0,0,V.width,V.height)}function C(J){var V=J.clientWidth,ue=J.clientHeight;if(!V&&!ue)return _;var ee=y(J).getComputedStyle(J),Q=k(ee),ce=Q.left+Q.right,z=Q.top+Q.bottom,$=b(ee.width),ae=b(ee.height);if(ee.boxSizing==="border-box"&&(Math.round($+ce)!==V&&($-=A(ee,"left","right")+ce),Math.round(ae+z)!==ue&&(ae-=A(ee,"top","bottom")+z)),!M(J)){var _e=Math.round($+ce)-V,De=Math.round(ae+z)-ue;Math.abs(_e)!==1&&($-=_e),Math.abs(De)!==1&&(ae-=De)}return K(Q.left,Q.top,$,ae)}var D=function(){return typeof SVGGraphicsElement!="undefined"?function(J){return J instanceof y(J).SVGGraphicsElement}:function(J){return J instanceof y(J).SVGElement&&typeof J.getBBox=="function"}}();function M(J){return J===y(J).document.documentElement}function B(J){return i?D(J)?R(J):C(J):_}function N(J){var V=J.x,ue=J.y,ee=J.width,Q=J.height,ce=typeof DOMRectReadOnly!="undefined"?DOMRectReadOnly:Object,z=Object.create(ce.prototype);return p(z,{x:V,y:ue,width:ee,height:Q,top:ue,right:V+ee,bottom:Q+ue,left:V}),z}function K(J,V,ue,ee){return{x:J,y:V,width:ue,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}(),W=function(){function J(V,ue){var ee=N(ue);p(this,{target:V,contentRect:ee})}return J}(),se=function(){function J(V,ue,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_=ue,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 ue=this.observations_;ue.has(V)||(ue.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 ue=this.observations_;ue.has(V)&&(ue.delete(V),ue.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(ue){ue.isActive()&&V.activeObservations_.push(ue)})},J.prototype.broadcastActive=function(){if(this.hasActive()){var V=this.callbackCtx_,ue=this.activeObservations_.map(function(ee){return new W(ee.target,ee.broadcastRect())});this.callback_.call(V,ue,V),this.clearActive()}},J.prototype.clearActive=function(){this.activeObservations_.splice(0)},J.prototype.hasActive=function(){return this.activeObservations_.length>0},J}(),ie=typeof WeakMap!="undefined"?new WeakMap:new r,le=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 ue=x.getInstance(),ee=new se(V,ue,this);ie.set(this,ee)}return J}();["observe","unobserve","disconnect"].forEach(function(J){le.prototype[J]=function(){var V;return(V=ie.get(this))[J].apply(V,arguments)}});var q=function(){return typeof l.ResizeObserver!="undefined"?l.ResizeObserver:le}();v.Z=q},74284:function(d,v){"use strict";var e,r,i,l;if(typeof performance=="object"&&typeof performance.now=="function"){var c=performance;v.unstable_now=function(){return c.now()}}else{var f=Date,o=f.now();v.unstable_now=function(){return f.now()-o}}if(typeof window=="undefined"||typeof MessageChannel!="function"){var h=null,u=null,a=function(){if(h!==null)try{var z=v.unstable_now();h(!0,z),h=null}catch($){throw setTimeout(a,0),$}};e=function(z){h!==null?setTimeout(e,0,z):(h=z,setTimeout(a,0))},r=function(z,$){u=setTimeout(z,$)},i=function(){clearTimeout(u)},v.unstable_shouldYield=function(){return!1},l=v.unstable_forceFrameRate=function(){}}else{var x=window.setTimeout,p=window.clearTimeout;if(typeof console!="undefined"){var y=window.cancelAnimationFrame;typeof window.requestAnimationFrame!="function"&&console.error("This browser doesn't support requestAnimationFrame. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills"),typeof y!="function"&&console.error("This browser doesn't support cancelAnimationFrame. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills")}var _=!1,b=null,A=-1,k=5,R=0;v.unstable_shouldYield=function(){return v.unstable_now()>=R},l=function(){},v.unstable_forceFrameRate=function(z){0>z||125<z?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):k=0<z?Math.floor(1e3/z):5};var C=new MessageChannel,D=C.port2;C.port1.onmessage=function(){if(b!==null){var z=v.unstable_now();R=z+k;try{b(!0,z)?D.postMessage(null):(_=!1,b=null)}catch($){throw D.postMessage(null),$}}else _=!1},e=function(z){b=z,_||(_=!0,D.postMessage(null))},r=function(z,$){A=x(function(){z(v.unstable_now())},$)},i=function(){p(A),A=-1}}function M(z,$){var ae=z.length;z.push($);e:for(;;){var _e=ae-1>>>1,De=z[_e];if(De!==void 0&&0<K(De,$))z[_e]=$,z[ae]=De,ae=_e;else break e}}function B(z){return z=z[0],z===void 0?null:z}function N(z){var $=z[0];if($!==void 0){var ae=z.pop();if(ae!==$){z[0]=ae;e:for(var _e=0,De=z.length;_e<De;){var ke=2*(_e+1)-1,He=z[ke],$e=ke+1,Bt=z[$e];if(He!==void 0&&0>K(He,ae))Bt!==void 0&&0>K(Bt,He)?(z[_e]=Bt,z[$e]=ae,_e=$e):(z[_e]=He,z[ke]=ae,_e=ke);else if(Bt!==void 0&&0>K(Bt,ae))z[_e]=Bt,z[$e]=ae,_e=$e;else break e}}return $}return null}function K(z,$){var ae=z.sortIndex-$.sortIndex;return ae!==0?ae:z.id-$.id}var G=[],W=[],se=1,ie=null,le=3,q=!1,J=!1,V=!1;function ue(z){for(var $=B(W);$!==null;){if($.callback===null)N(W);else if($.startTime<=z)N(W),$.sortIndex=$.expirationTime,M(G,$);else break;$=B(W)}}function ee(z){if(V=!1,ue(z),!J)if(B(G)!==null)J=!0,e(Q);else{var $=B(W);$!==null&&r(ee,$.startTime-z)}}function Q(z,$){J=!1,V&&(V=!1,i()),q=!0;var ae=le;try{for(ue($),ie=B(G);ie!==null&&(!(ie.expirationTime>$)||z&&!v.unstable_shouldYield());){var _e=ie.callback;if(typeof _e=="function"){ie.callback=null,le=ie.priorityLevel;var De=_e(ie.expirationTime<=$);$=v.unstable_now(),typeof De=="function"?ie.callback=De:ie===B(G)&&N(G),ue($)}else N(G);ie=B(G)}if(ie!==null)var ke=!0;else{var He=B(W);He!==null&&r(ee,He.startTime-$),ke=!1}return ke}finally{ie=null,le=ae,q=!1}}var ce=l;v.unstable_IdlePriority=5,v.unstable_ImmediatePriority=1,v.unstable_LowPriority=4,v.unstable_NormalPriority=3,v.unstable_Profiling=null,v.unstable_UserBlockingPriority=2,v.unstable_cancelCallback=function(z){z.callback=null},v.unstable_continueExecution=function(){J||q||(J=!0,e(Q))},v.unstable_getCurrentPriorityLevel=function(){return le},v.unstable_getFirstCallbackNode=function(){return B(G)},v.unstable_next=function(z){switch(le){case 1:case 2:case 3:var $=3;break;default:$=le}var ae=le;le=$;try{return z()}finally{le=ae}},v.unstable_pauseExecution=function(){},v.unstable_requestPaint=ce,v.unstable_runWithPriority=function(z,$){switch(z){case 1:case 2:case 3:case 4:case 5:break;default:z=3}var ae=le;le=z;try{return $()}finally{le=ae}},v.unstable_scheduleCallback=function(z,$,ae){var _e=v.unstable_now();switch(typeof ae=="object"&&ae!==null?(ae=ae.delay,ae=typeof ae=="number"&&0<ae?_e+ae:_e):ae=_e,z){case 1:var De=-1;break;case 2:De=250;break;case 5:De=1073741823;break;case 4:De=1e4;break;default:De=5e3}return De=ae+De,z={id:se++,callback:$,priorityLevel:z,startTime:ae,expirationTime:De,sortIndex:-1},ae>_e?(z.sortIndex=ae,M(W,z),B(G)===null&&z===B(W)&&(V?i():V=!0,r(ee,ae-_e))):(z.sortIndex=De,M(G,z),J||q||(J=!0,e(Q))),z},v.unstable_wrapCallback=function(z){var $=le;return function(){var ae=le;le=$;try{return z.apply(this,arguments)}finally{le=ae}}}},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=_(),A=c({inst:{value:b,getSnapshot:_}}),k=A[0].inst,R=A[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(A){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 A=o(null);if(A.current===null){var k={hasValue:!1,value:null};A.current=k}else k=A.current;A=u(function(){function C(K){if(!D){if(D=!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 W=_(K);return b!==void 0&&b(G,W)?(M=K,G):(M=K,B=W)}var D=!1,M,B,N=y===void 0?null:y;return[function(){return C(p())},N===null?void 0:function(){return C(N())}]},[p,y,_,b]);var R=f(x,A[0],A[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,A=(h[_[b+0]]+h[_[b+1]]+h[_[b+2]]+h[_[b+3]]+"-"+h[_[b+4]]+h[_[b+5]]+"-"+h[_[b+6]]+h[_[b+7]]+"-"+h[_[b+8]]+h[_[b+9]]+"-"+h[_[b+10]]+h[_[b+11]]+h[_[b+12]]+h[_[b+13]]+h[_[b+14]]+h[_[b+15]]).toLowerCase();if(!o(A))throw TypeError("Stringified UUID is invalid");return A}var x=a;function p(_,b,A){_=_||{};var k=_.random||(_.rng||l)();if(k[6]=k[6]&15|64,k[8]=k[8]&63|128,b){A=A||0;for(var R=0;R<16;++R)b[A+R]=k[R];return b}return x(k)}var y=p},56754:function(d){"use strict";var v=function(){};d.exports=v},85239:function(d){"use strict";var v=!1,e=function(){};if(v){var r=function(l,c){var f=arguments.length;c=new Array(f>1?f-1:0);for(var o=1;o<f;o++)c[o-1]=arguments[o];var h=0,u="Warning: "+l.replace(/%s/g,function(){return c[h++]});typeof console!="undefined"&&console.error(u);try{throw new Error(u)}catch(a){}};e=function(i,l,c){var f=arguments.length;c=new Array(f>2?f-2:0);for(var o=2;o<f;o++)c[o-2]=arguments[o];if(l===void 0)throw new Error("`warning(condition, format, ...args)` requires a warning message argument");i||r.apply(null,[l].concat(c))}}d.exports=e},4977:function(d){"use strict";d.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMwAAACaCAYAAADl9acYAAAAAXNSR0IArs4c6QAAIABJREFUeF7tXQd4U1Ubfs/NaJtO9kzLahFQEJkiUBBFUFFkCCjiAAVFERT5FREQQQXBBcpysWRP2RtkKRsEOphNodCZdDfjnv85CU2TZt2bhABNDw9PmtzvrO+c957xLQIP0pkz1yrQIEmwwcDzHhTj91klEo7jpcG5zetWUJdmRjmPvTM9GI9JgSGvadOoLE9KJJ5kPp2YXLtZdO1kT8ooz2vigCNelvPYezPEG7z0CDAn4pJqPvJA5A3vdcl/S3LEy3Iee29OeIOX5YDx3nh4VFI5YDxin6DM5YARxKb7g6gcMHd+nMoBc+d57LKGhCQ1ZURBCoVL2nKCO8sBZWW50x1TOWDuLP8FlV4OGEFs8glROWB8wmbPKikHjGf882bucsB4k5t3qKxywNwhxrpRbJkGTOx0ehlA3d9e5VEtzA3ulGe55zmg1QOfrCVo34BgQGvr5rLDRl4RRZG+5NjBESBc4FHw1LlrCAuPsCo0JjKi7J5hYqfTXADBq4byCJLf82Nf3kA3OfD9LgKdgeCzZ4CUTJ1VKQFyKQgpmeMSjiKvQC+oplspN/wOMDcBVFv0Bo+KwYJ4VE50H3Jg7j6CWzkEX74A3MrSgTfeKZpSaBCHcAVn/JunBHlFPDR5BkG9LMjPt7mZLOtbskQADea9wqOW9coqiGHlRPcHBxYcJriQQvB9P+v2cqCwWFxgoOJk6JeTNX4HmJMAHv6xP4/6VXw/+OxNx/bM/pIohdUE9VW/VxwjOHiJYO5A6xolpGSpYW3jIW4w/A8wM+h+UHSY2pvHgzV9NXymeor0wPc7Cf7XzWJ/4Nsm+Ly2LzZx+OwZ3yuVbzhNsPEMwcI3rM8wMikHiURi5gNbbQoKrc84zpjkj2eYzQC6f96DomUd305ctrp8tp5gSk/f1utzlFhUOHYthy9f8D1gdpwnWHiEYOVQ6zNM6QM/AY+CImHnF9YtfwTMCgB9P+5G0SHa9xP3bk2gT9cBU3r6Hjp95nBYNcz3gDlwkRhX843vlfS59PmFHfjFzgC/2pJ1nEEnEIpIAG+834Wia2Ox7PJ8wt0twLz7J8Gsl3zf316zCVYPsz5oe85F1yUcu0YwcQPBjlElZyjL8wsrQeyBn+XxK8DETqefgyACFCPe6kjxfDPfT6C7BpilBLMG+L6/A34h+P1VikCZ60nuTYpzN4AxqznjCqPOMZ1RSp9f2OVLYZH1lbOrNvjVlswIGEAKYOyrj1K82NL3E+huAWbEMnbFSn1+Qzd4AcE3fajPZV6X04D3lnHGM4xOawKFJwLLYiD5H2AoCkHwJQMLA42v090CzJjVBBN7UCh8rN3AgDrqCYq6lX3L6RQ1MGQRhwWvA7UrALbnFzCJjOhG+d2WjFCkUYKZPZpSDIv1PWDGrycY34NCahI0+yxN/Ivg3c4UlUN8VqWxok/XEfRrSdG0tm/rzcoHBv7KYc5AILqqLWDcOb/45RmGEFyhFL8/0Yga33y+Tl9uJhjxOEVIoG9rnrqVKSJSRFb0fb3tG1A81sC39TLRSu85HL57Eaii0Bm3oqEKqZXSJaUURUxTU0Tyuy0ZAc5SYCUbxE+6+x4w3+0kGNiWooqP3/Qz9xB0bUTRsLqI2eEFUlbvA9WBJxv5ltdMit9jFocpLwB1InQIkBEQTmLUHStOBoMBOr24K2+/AwwPHOKArS2iKCY9VzKIg34jyMgTv6f1wpwqL8JLHKgUTLHwjZIxZTKg0V2Bzg2tLzvYBYA75xe/25J1mkEnGAzYyXE40KQmMK23uLeLN8b1j0ME7epTxFTzRmnCy/jzXyCqIny+NVryDzFeKfd+xLcrDOMMO8MMfgx45iFrOZA7AstiTvvVoZ91usM3tClHcLpeZWDmAN8DZtlRgkY1KJr5+BC87hQQLAeebCwcZN6gXH6MgG2P+rfyDmD+WLoV8xZugkIRiNh2TTHghcfRoF4tFBZpkXgpGQ81rmdu9puLOLzwMPBYPR1Cgzw/v7CC/WpLxjrc/jtaT2LApRrhwC+DfA+Y9aeI0dKzbT3vTCChk3r7eaBABzzfTGgO79CtPUmM9b7U2jv9bf3kOyjSlihLcoSg93MdkZ2Th227j2Hoq8/inTeeNzZ+xFIOsTHAsw/pAeL5+cUvAdPuG1pVRnArQgEsGex7wGw7RxAgBTo19M4EEjqtD1wEkrPYm15oDu/QbfkPSM0hHsu8du0/gSnfLkFGVrbThjFLynULJ6FOZHUw2RNbyd/qUJLFHZV+ywr9aksWO4Ou0BK8KueRz/bVq++CUuD+RGbhB3R/0LeAOZEEnFIRvPGYb+vdGw+cvU7w3uOe1dv+mfeRk5svCMUfvz8AA3o9jgkbCJQVgPe7lGTz5MDvj4f+VXs/JH1ip1PmAkHy17u8z42bjl4lxjf9C809m0CCZo4FUVwKsDPOJLz0ZTp6Fdh6jtnWe1bvuCm/4q/tRwQ1/b03e2LIwGfw1RaCkADg425AOvPkYCHZd0cG43dbsk4zaDFgWHiHcG85wjBQoEhnMhAzf5r/Jihkf9/+fjXDtDXqGA108+Eqcy0DYAfwMU95NnEFzVgLovibwK8HCab19qze61s24Pf5K7A5KwB5vHM1CblMij9m/Q87rtc1jsek54CMPIBayGD0BgP0ImUw/gwYFiqjllhHGAcvAkuPcijU8cgv0KGgSGv8LNJqweu1MOh14A3ss+S78W+Dzuo3RsPoTy0YgIjQALFz0C36tBzg570EE3p4NnHFVn5TA0zaSPDzy57Vu2bIS6jF67BDHYBHgnVI0kow+6ZjLyZNm9RD+35jkZINfNO7ZIVhEn+e16NQ6157/OqWjJ1h9n1IXoydTi8AeGD+KzxqinCEsfkswfBJC2HQacXOG7v0B+e9CGXVUK+U5aoQdm5iE3eqh296R/XoDEBu0e3/hcz3FzF+Z292trI91Zgav7N2tKrDrrfFTdgTI4dAl61BipZDDXYINRCMvBrusNvBikAMHT8LTM3/pwElK4xMAuQV6uBuKK4yA5hEVfY8SvmmHCETGyjDtzqbQLHf0KMgaCnWEcaW/whGT1mAHHZP6oW09bueaFy3khdKcl0EO+y+v4xgphs2MWxbs+K46bLCDIoi6+9iVLKY4PbTp8UB5t8h/UB53qimz1aJA9lyLExz7H1vyMCnUa15L/x9EfhtkIk/nh74y9ShPz5JnUGA26qFZIdcTofWqR5xxd5Uip1O9wDoJNYRxs4LBB9PXYxUdaHrGSqAYuWUp9GmSQ0BlN4h8cTq8qVfOGgKStpBeAoJb4DEYPrPsU89b/5e/LvEYPubLCIQX06NEtWpfwa/yA4h0FEgqVCK71OCUeTARdLLfbpg9PAXsfGsBBtOA0uHmKpyV0PZsqFl5lo5QaXWgRqNw4pTHiEYGa2M+KX0yMROpxsA9BDrCGNvAsG4GcuQdMt45eJx+nXsk3iyNbOY9k161wOry8/GqZCr1t4GBA/O3T0Nm7gSDl/89IBRHiU0nRk3CgU3knEmT4pZN51rrjI5TN2oGmCOMP44BKx7B8jINemP8ZRCK2Y5LNXAMrMlS0hSpwKw9TRGME+XHf5ekybEfPCInU7/BDBArCOMw5cIPvt+JRJUGqHj7JRu2rsd0P+JGBuanELTTVpwwO3/cnjFxNcTwMz95hquxud5pd+skIEfR6NJA+F2y6o1S3Fj4xpj/X9lBmK7OsDuChMUKMf+v36AXC4Fc4QxYwew/X0gM8/k5VKvN0BvcF9gfc8CJuGWuh4twgoQnJSBzK+nDP+3eLTsBahJSNL8DdD29kaUAFsDSU4vpVJp3FTETqdzAbwl1hHGySSCCTPX41RimlcmzthBrTCsV1Obss5cJ2hWXQupTIoiHUW+1nRYZkcn5kRbTzlIOQq5hBmimfRu2RwoeU4gl5rAFiI3Odpmb/NRK0zXu+zgKzZtWZWK/VvTxWZzSP/EK5HoEivcxsFQWIBzk8caVxmWmMT+g6thNlfMg/p1xYfv9DXSMEcYEzYAu247wnBXQ9myE/fslixRpf6FUgw2N5bgDChmk6Lw33MMqkqlg8JeVKmn8hRjHI0QIdgbiJynGWhiZ9AZoPhgaEeK50Q4wmDCvwmzt+HwGe8EcH67V1N8MshWV4UBpnlNLQID3Lcn5nkKrZ6iUEex4azEqC08di0BW1XDgsTP+2NHsrH6F+/0m9Xetns1PN9b3IWHPi8XyetXIOPoEeg1WbhYKMGK9CCoiiSoWq0SnuvWzqhLVuyoz+wI411mmi3epZI9Lt2zgElIUht9INtpdDJPMUsSGf59NCFFxc8TknI6AoZ9LqbCmj+V4X33zMAEAOMHtaXoJ0KLVpUJjJuzD3v+vSh+xtnJ0ffxaMwY0dHuCtO8pg6BAcK3LI4axCTai/4hRsBM3kww5DGK6o5vYx32S52pw9QxbEi8k6o2DMeoj2q5VVhqNnB29JsI0TP5M6Dj5Gg7dwmkpVZOsyOMtyg4joDyBhRq3d+Osbru3S2ZSp0LCmf+9ZM5CUY3qBWx3LREUy5RpbkKQOl0FAimvrksPAME08Q6wmD74DGz/8H2A/+5NdClM8U2r4VFE7rZBcwjtXQIkHsOGLbSLP7XBJhvdxD0fJiinhs+pVk5n41IBM/UFryQSHggvpxRooovpsgdFwjoD8MQri3ZIso/XYzm9a2FwDfUAFPxX/AaRYSCeCR/KW7fvQuYJE0RQF3vSQh2UQn3bsOaYXEJSZrPADrJBfP5BceCVx+4LO0r1hGG3gC8//Np/LXrmJjxdUhbv1YE9vzU22eAmbOPBRmieNCNFzvP8/jhaxVSL3vn4M9zBJN/bgSZgJsyplZ0KQ24oSZgq8vmE4V4+9hrkNIS8O5uPhbNOz+CprWpWRhd7Ahj9svMYM871rT38pbM/q2XvelHoeU4bpxBgt+Jjr8MAqfi80NXZEW/H1UEuOMIY/zCRPyxZr9XABMSJMP5pbelahYlsjNMi1p6402Pp8lyhWEhIBpVp2hdV1yp6nwgPAhYvzQF/+zOEpfZCfXgz6LRIMrxKsq0B5YcKsL6UxRFvBygelBdLjhZGMCx/RfTKWMCUGZzbAClvJEmtiGH97oEGLdhzBHGjL4UDyvLOmBUmn9AaamAay7GimAXgdErzG1RlX36k9el+PlgsPFtK9YRxtwtNzBl7havTZoLywYhuJRbSCNgauvBlAg9TQYDjyVHOeOWbOVxoEoo0Mn2JttpNZvOcmhfn0KTXoTr8TlITSnCrRSt8TMvV7gj79KVPDskCo+1tb/rZkLScavzcTlTARBrZUu+MB1coHNHZ8rQXEzvH4T+8yWY9DzQrj6QptFDzzRlPUj37JbM5pZMeCfZK5CNgsPt3PlbEny3LwSlHWEIqWLzcTWGfbFaCKkgml0zeyNaaa3QdqcAs+msSa2k+4OCmmYm2nyWQ98W9idabo4eqSla3EopMn6m3mRgKkJ6KlM6dV5Plz418ES3CjZE7Ar9w2X5UGXbv3bmC1NBAiqBEOf34zFhKlzLq40PuxK0i8qFutBzRdd7FjDx1zSDCKELxA2tmZoyyztqqc9tUdDlDAm+2hUCdxxhHIwrwOAJy5EvIkSCsz78Nq4rnmhpfU/BANOytgEydwQmpSpjQro/b68we+JNArzej4jjKouz0q+luDwGAzWCxnI1Kr0qPfpEZTzXv6pVwUzf6+MVBTiX6vi+hxoKQfUF4AJswWZZGF+UCUN2IsYMaINnbcVd4jp0m/qePcNcvJlTldcaUm5vVN3qnKNM1zUcJm4LhTuOMP65qMWYGWtxJcU76jGT3nwUrz1j7ZnCCBilAbLS96RucIFJtv88ZpLD/HMZSEgFXmkrrqANp2yjEYsroYRar6f44I3zxh9qNwnH8FHWNxBLj2ix6F85SKltmGV9lBrAF6RConCuh8fotCn7MSC2Fob3ELkPddDBexYwrL2JSZqtFPQpdwfHUT7mf+zjTWFwxxHG8St6zPhtCw6cZXcSnqdhLzTF2FethZcMMK2UBki9DBgmbz18mYAJbMUk5shiYBsxORzT5ucZ8PHbcUaC4OpBGDe55AbiShqP9/40gHLOt058UZbxXMPJnQuUKK+DLi8DEs0R/PJBLIIVwjULHPXgnt2SsQbHq7JeIJSYFIi8mNgeeeT6cFRQAItFOsL4L5li0do9WLrLriK06FZ2e7QO5v3PwugcgDcBo9MbsPT2CnMxFcYwdiNFuMhlKjcs/J23AMMEoONHJhj5JA2T44tvS2TTo5cX4kKqY5X9YuYacq9CEhzlMngmr8uGQasFLUpDPcUV/DCiKwrcNBwrrvueBsyKFVTSvG32aQraRPRMdJKBWaa+vSrcqNAo1hEGsyD8Y/1R/LzmjFea1EBZAbtn9rIqywiYSB5Siecey3U6A5YeN23JmCCPORIcK8IWhV0ps1Wpj8hzjyPmsDPN5P+ZNCWInMOXPz9g/PtgohZfbpEZ3SE5TxSGXBUkIa61vPnCDLCzFEuGrOMY1q02Xunq2VS6p7dkrKOJ17N7UAPP1PG9moatCoOBJ9go0hEGe+P+vC4e3yw84JX2VAoLxMmFL9sApnUkD4kXAKPV6bHsuNQIGDb5p28nmCwixmZSJnA5jeCZh1x3NzfpKi7M/xlFGRmo0qoNqnfohPAG1mcH1dUCfDP+sqkwjuCreY2Mf478swiJGa6V3Az518EFVgHhXMu0DYUZ4G8Dhuqy0Sg0EfM+8myHf88DhjEzIUmzAaA9XA+ZcIqR60KRp+XgjiOM3Sdu4s0vtyAkSIrgQCmCg6QIYZ+BMuPf7Dfzs9vP2bPi34ICZTh2szJ6NM41HuyrV7f2G8tWmNZRPCSc5yuMJWCYGcjHawm+7Sv8DPPfdSBfS9C5oWveHhg+GFqNyfRBEhgIeWgY2kz7AZysRDh5KT4fP0y5vZ0lwBdzGoO9FwbOK4S6KMDpCkP1eaD6fCNghCSDNhe8zmTsVznrMD59XIGa7Wx194SUVUxzT2/JihuZmJJThWoNZ0HgNY/EH28MRUY+B7GOMFibcrJzkJuXB3Z1zXHc7U9ivNlh0mX2aXpm/7ekLA57E6R44zHm5slWAs0A0ybKpDDoaWLhHJafMK0wLIm1ujx0iYD56WgrQO3ryuplSN6xzajkqM83+RCr1aUrol95A5zUJIT971QO5n2bZPybXYRNntsYvx4guLJrL1qkbsD2moOQHP6wlUskRkt5PfiCm5AEC/exa9DmgNcVoVL2KQy59RsqhAQg6tPvwAU5U1F0zvH7AjCsC4mqnE6UGpitvsfSJ0IIHb8lmNzIlkCsIwxPJzDLf10NrDtJMNyBjzDvAkaH5SdkbgOGOf5oVAN4sKawnl+YOwspf+81EzPIh9VvgCbvfoDAKlVx9JAai+ZcNz4PVBBE9W+M07uPo9/laeBgknSeC22ObbVeQ06QCRzselivuQhZBNveCX+JGAoyEZEThyE3fkIYNa00yh69UPdF6y2wsJ6ZqO6LLZl5pUlW9wHFMkrh6mTokgdf7QzG5UwpxDrCcFmwAAImPPztIMHorva3RkbA1GEhGoRPDkfVMj/EVoARaabM2vliCxj9QQtJ1GDAtU3rcGPXDmjVWWDfWWJbtHp9BiCwRScU6KQICJRg4VEp4g8ex4tXvrFSpGT0JxXNsKraIEgVFaHLuQ5ZSE1wAeLsEioRFZ5PnAVlTok5hiQwCG1+mAupwr1V5r4CDGNkgkrzEij93Znqi5CB/XafAhduySDWEYaQsl3RFGiB6Tsce4NkgGlbx+WtqatqjM9ZlOAVJ0tWmPeWEvzYX3gYcOY9cuKzsLE1EVK5oagQJ7/4DDlXS67gZTVqI6dlXxwNaIXrJ06j75UZkFhoHbNyK7Zqh2E3usHAlCupDgFhtSAJEmdsxsqJqZSHevmJaHPoC6vm1nvpNdTu7t6R+L4DjAk06t7M+tKuDb+QkQTw00EFTl2XQawjDIHFOyVj6h+frSeY4uC2it1MRVXgIeUIpBLTWcjdxMJArDgpN2/JPlpF8PlzwoPDjl9v0vZ1N2k1apz+ehJyVaZzS3HimUMKIoWUWrusqtDqUTR46308/bUKekghU1QBkbq+PbPXPkNuEog8DAOS5+ABzVEzSWj9GDSf+JVbXbovAcNs+oODFYSjsp8oqCm2gcj06z9BOHJNbjTZ7RDt/oQQWa2ZXEw0ZWY1yYzYGdCYuj5L7AJNwgBlvHRgj3mjnfvtx0YlS/Zcp9dj6wU5nmpiysccdLMYm5UECr3HruHwQ3/P+KPLzcWZ6VOQfdG5xWbVzl0R9fJgEI7DjO0Eu85rQSTuH1lbV45HbmYSzl1OR+2im4g0ZEJpyETdAC26zpnv1tDdt4AptulPNJ1rplMKUY6uFh8PxL5LARDrCMMtLtvJJAYw3qqTlcOCw7JYLUoBwWHZWWvBIYJxz3jeAiZxv7R0AZJ3bIetdT1B7T4voebTPc0VMbe2G08Wur26sII+6JyD5x4JQU6+FkfOp+DA2es4fO4GsvO1qFk5BE3qVEaTupWNn9G1K0AmILT1fQ8YxhhKqfTi9ewBoPQjSiFAxAasOh2AbfGBRr0qMY4wPJ86phLuFmBm7ibo2oSioYAL+uPXgKvpBIMe9VavgctnE5C7fyuyz58Bc2oRVKMWaj7XBxVbWGuELjxMsOxIAYjUtaqMo9Z90CkHz7WwXkoNPMXZy2k4ePYGDvx3HVdSTHIjBqCVn7verJQJwBQzjKnzJyRlPcZJuJ6UxwsAHEoP/joXgA3nAiHWEYa3ps7dAgyTeTwSRdHcuecDYzdXHCN4oBrwaH3v9Fqr55GWmY2ICNe3XWtOEvyy17MVZmRsLnq2dH4bdv5qBt6Ytg3d29TDOAFvhjIFmNLDGp+c1UxCycs8xTu3jcrMJDvi5VhxOghiHWF4Z+rcvRXGGBy2EvCYABB8sZHggycpqoa6f+lgya/MXC20RUUIDXV9gGJueb/d5tkZ5r0OOejd2nldm/+5gkkLDuOzQe3QrY1r2+0yDZjiwbp4PUNJeelKSqlZSX3/ZRkWHVNArCMMbwFm/AaC8c9Qt65rPWkDCw7Lggw9YVLhcprWnCCoH5qKGmHUaC4tl8sgl0kgl7FPqWhdt6upuQiWc1AoXN96MSd849ez62/31YPeeSwHL7Z1DpixvxzA7hNJWP9lL1RmjgtcJL8ADOOBSkWDCqiGaQoYlYn+TZJh/hEF3HGE4YqpQp7/sC0PrzRPhYxPg9yQjmCkoTA/HUV5aZDq0wBZBQQ0my6kKFE028/BGODpOYHBYfPy8qDT6aDT6Y2flolpUxeDhznscAWkfxKzEFNDAbncteIk8xIzYinxSBj1VrtcvPSo4y0Zs0Z96qPVqFpBgcXjnhXEx/saMCZfZNmTQCjTmZCAEC0oUglPU3iOnDEYtCcb16nCrDaN6ZxKU1HK0xOEIOrMDSlmHnDPEYZLzhoKAW0aivLSQXRpCKRp4HTpKMxNAy1KN36XE+cRAHjKIb/pckhk7h967bXz70STao47wWHZ9bZebwJOMYDY38Zrb4vEtKwZeAKMq5IJSDKZFOuPpqFr8yqCNBjYDd3AXwwgnPu+2Qa3zccrjzleNY7G3cR7P+7G8+2jMWaAMH8r9zVg4pKynudA1jmawExnjKf8fwRkAwF+j46MuJSoyupEKdkdnyoh0/e65wjDUX1c3MdA3hUEEO+YL6fU+BwRNUQa07tAM7v5OpNM8LoXg8PqDXrotHrojUDSQafXgXmrKZ3i0uV4vKkwiT2TJ/WcqYWBBLp8PzkieK1NIV5r71iO8/2qE1i2O8542GeHfiHpvgbMRVX2RzzlpwnpKCGEOa76i5dynxCeTriaTvpP2RnqliMMhwC9MBaBBaeFNEcQTU7FvpDWeU0QrVCiCynA7jjHip9Cy3FFxxz/mVYi0//sPD2u5wWgXUOBSmkAXvtVj7R819s3R215ta0Orz/m2FVVnwkbkJyWa7xOZtfKQtJ9DZiEpKzXAfKbkI6W0JAiQrDyZjZ5adyWUM4dRxiO6qOqRVCkLRPXHCfUt2gjhLXw7jmGBYdl18Uf+Tg47K4LBCz0uZh6P1oJnL/p/qH/5dYGvNnBfv5rN7PRb9JGVAoLwoavrC1enQ3gfQ2YC1ey6kil3CV2lhE7S7MKuMIxf4UGuuMIw1FdhszjCLk6XmxTHNLrqRT5TVdAJnNfPaR04cbgsPsIJjzrmbqL2E4evgxsPy+uXubM7+Vfmbss9661X2lDMdhuABRgyc4LmLnmJGKbKfHlW8KNyu5rwLBBS0zSbKBuWGOyWCoj1rrnCMPRZNEX5SLk3ACmVih2PjmkV9WYiso1RHrec1I7i1HJ5Ct3Kjiso6rPXgeY9P6bPsKB2uSRWKSlZbjNy3FjhuOTD5kIzja9891OnEhMxVs9muHVbsL5e98DJu5ydkNOxh934enfhmPsUDl0ZRgCZUS0IwyHWzJmqPPfcATorrk9yKUzZld5DTKlKUCQNxLr98jlJhV/X6ZrmcBXmwnmDBReb2R0CxQWmiOaiG5uj+5dsOyPH23yMd2ybmNWg6nJfDv8cbRpLDzO6H0PGMaN2zYyi8Q6/Ru+Ogw6A8FfIh1hOBs5evE7KLJ3ih5cRxluSR5FWLNxXiuPFeRJ6D53G5KWC3y4gmDhG8IAw7Ssa9Vlpsrup8jaNXHh+A6bAnYcu4bPfjto/H3z1D4IZ5JcgalMAIb1NVGlHkwpmQ1QwRf3H6wPRU6Re44wHPHXcGMTQm7+LJD9rsnU+soIaO2ux1z75Yu163fdStcUuYXA6wsIVg4VBpjMLDUeaOrgAOK6OjNFcvwhVCiluzbh90PYdvQqqlcMxuovSjSkhRRbZgDDOnsxOaczpYaFlEKQp4Sxm0KQlidxyxGGI+Zqs+IRfuUDIbwXTJMWsxghIc79CAsu7C6Ndg0lAAAdVklEQVStMEws88Jsgg3DhQEmSXUdLdt55hLJuIKs/g2x7UvcdrJtWPcxq40q/h2bKfGViAM/K69MAYZ16NKlzHCDlHwBwr0FUKdr7efbQpCs8a4jjMKCfITHDQRH3d97l578qmqTUblWczGYcErLzjDT+/hej63HLA5r32YOCl135dyFeHTuahtsynVOa4qvPv8II4aVyLJOXUzFsG9NW+bXuz+EISK9lJc5wBSz69KNzEheLxlFQVnEIrvmUlN3B+NiuncdYWi1OsjjP0KQznvxIDVVh0Bem1kreCcZg8N2pwhzX4juVkN6zebwx+u8oHr/OXoCPXrZBpsSW/GAvj3wy6yvzdl+WnsKi3aYnKFPHtIBnZu79qBpWWeZBUxxJ69coYE6ae4zlOqfIyBPM59uxc++36/AuZvedYTBJNz6+OkIL3AVn1b40N8K6oawRu8Jz+CCcvImgiEdKKoLF7p7pe4B8zl8148XVO+uPQcwYNAwj+tt0iga/+4t0Z4a8MUms9HY0vE9ECnUHc7tlpR5wFhyfA+l0lqq7L4A/QlAhTmHgnA8We51Rxh5FxejcvZSjwe7uIAk/cOo0nqK18qbsYPghebUGO7Dl+n1Pzh89iwvqN71G7fhzbc/9Lh5LALCzr+PQVMkR2w0Na4u566m49J1tVElRqyDEb8CTDH3LyblPMhTw67fjwZVPXTV+44wspP2oVq6IBU3QRPiprYWwtvOE0QrhGj2PoKO0dSoR+fL9O5SDm/H8oLq/XP5Gowc7R2tic9/XIlNyU2wY5RH1gJGVvklYFjHL6k0Ty85EbhxV6KceNsRRuatS6h1fYTX5mK+IQR5TZcbDb+8kVhw2MY1KFrV8UZpwsv4ZC3BCw8LC0o7/7fF+HRCydnDWS1FOSmQh1S363aX5XtlxGTEBfbCxveAIMFCB/s1+i1gGDsGL9Cvvpgm6eVtRxgZGZmomTQYHNUKn01OKHlIcEG5AfWE+eB2WefKY0DVMCDWO0G5XNZXTMDOTu3qUzxuinDhNH0/cx6+nGYrpS+diflxLkhPgFRRGfIQ+wzq9OxA5DUei5VDgYruObw0V+vXgOn8LR3L85jibUcY6iw1KiV9CLnhpqt5Ieg5DxkOV16PRyKFyTBcFbrxDPNZJj44rKtyXT1nvsYaVqeC4k1OmfoDfpjl2ncYb9CiMOOS0edyUOVoEGM4cuvUuGkrBHdbgIVvALWs4++6arLNc78GTOx0yq6efvS2I4zs7ByEJY1HkNYUactZ4kkg9FwE9JIKMEgijH8bjN/Z36bftCQcudLaeKC6q9KEPd8dB2Tliw8OK6x0x1Q/7SWoGkrRt4XrksZN/Brzfl3skpB59S9IN13hy0KrQxZkK+ANCQ1Do7ePYO5AoIF1DFqX5Zcm8G/AfENfB8Fv3naEkZubi6CkbxCou2yc9CZARJgBwcCRVlgZV3KC0aSmAhwnQYBcYowHI5FIwIN9MjPfkt/shcUQPdq3Mxy5DLDwfQNFBod1t77ifMyxuVxCBdX7wZgJWLzUdXh3Zh7NtmSgPCQBIQgIt+8/qtmw3fj5zep4yDoGregu+TVgOk2nTNl8pbcdYeTnFyA9U2MMDhQYIIFcwoGTSGCgnHHLECTnIJVIMG2H1BjywtcCRBYc9shlgrdEBocVPbtKZVjyDwGLLyqk3mHvjsGa9ZtdV0k4FGZdBa/NM/JbUcX+wSy692z8PDoWAjwpOa3TvwEzjXajHLa0b0DxSXfvnA9cj3AJxfe7TG5bq4aKyeU5bWIqsOkswcguvu3zyuPE6IBDSL2DBr+Hrdv3uOxshVqNkZqwH7q8NCNtYKUG4CS2V2G1OozE7ClvoZOHFx3+DZjptD0F/m4RRTHpOd9OHja4c/cRdHuQGh3r+TKxScuMuXz9kmDRmM/dgKB6+wwYgv0HjrhkS6+Bb2PlbzNQpDbZILEtGdualU4VH3gaX0/92ii89HZSVpY7NQllzvOLfYG7W7d7Nqe3a/NGA1hR7WfQZhKKU0yAN62396wkhTKFyUPa1qVo6KXDvNB62YH/2x0EXzzv/cnjrA07zhPsT4SgepkeGdMnc5V++nE6Phz/PTITmEIlhSykOmQK24M/W3mmzV2Lpxp7f5z9BjCPT6P1DRwuetMRhqsBtnzOnFHEVAMeVvp24hbpmata4lHcFzH9LKZl8TJXn4Cgep98+kWcPmtSknSWVi/7BZNmrsc/G2eC1xVAqqgEeYjtVRjhpPji1wN49qE7x+uYyAi7C4E3XvA+XWFU6Vo1ABsP2MzJwvDlMnjTEYarAbZ8zrYoVUKBR+vduUF01J67YUR2OhmYs49g9suu+9uhy/OIT2DyFedpz/bVWLXtFL77/F3o8zMhCQxHQJh9nZ/RU5diYJc7p95QZgCTnKHLppTaHK3Zm3bwYhkqKIDFg72/VLsabLZFYbYhnRu6nkCuyhL7/G4AJuEWwKT9QsyUWz3WDdeSkl1268zR3ThwLgtDBzyFIo0KnDwYgRH2VfYrP/jCzKTdX3pPZ8ll60wE990Kk5yhi6OU2kSaZx5OBy2UIkDqPUcYAnloJDtwkSC7AHj6Dm4THK4wIoPDiumXI1pVJjBqBcGqYa5fEA+16IxbqaabL2cp+dJJ3MqRoGXL1si7cRKcNAiBFe2vIopqDZemn133kqsyvf38fgTMJkops4WxSUOWSFGoI9joRUcYQhl+SgUkZZK7EtBp3DpgsjhzdqHdckiXlQcMWcReTq4Bw+z5mV2/sxQcrMCVuH+NoQof7DwESf/+aTz4B1WyH8tDHl7zhDpxlwA9A4+7alXAfQcYVYb2V1C8YY8N7y6XQl1AsGoojyD3vZK6zWHm9siDmK9u13u3Mgrtb71GbZCbm+e0mbVq1cDJIyavMK99OAvrfp0IfVEOFJWj7earUKUG9mxZ45WuOzqv2Cv8vgNMcqZuCuXpWHudGb1GipvZxKuOMLwyIn5eSGSDR8AiQDtLDzZ+ALu3rTKSzPrzAMa//xK0OSlQVLHZfd8uhuDQ/p1QKDyPiFCmAaNK17KD3g/2mP/ZXxJcyeAw/xUeNT3UZPXzOe7V7tes2wx6vcFpme3btcaa5SbX2gfP56Dnk62NipiKqo7tB1at+BMPPdjE47a6kr1YVnD/rTAZ+r6U8ivscWnyVgnibnL4sT+P+l6yN/F4NMoLQLXIh2zizpRmy9PduuCP+ab3YE4h8OCjzyMzfrvDMwyjm/rVZPR8vofHHC7TgLmRpetoMFC7Ximm75TgVDJn1G96srHrw6jHnC4vQBAHqipd+zvu/2JP/Dhjsrm8zv0n4sSWHx3KYRjh0DcH44NRnt8sl2nApGTROnqD7oq9kZq1T4IjV0Q7/xc06OVE7nPg6DS2bXL+AqvW4hVEdvnEXEna2bW4uGY4pEGO99ZPPv4YZs3y3DNpmQYM42hyujaBAjbXJxvOcFhxggHGI+UD92dGeU67HDg6/SGAd36GqfHoMNTuULJaFGZexem5T4CTOL7ufCCmAf7dv0EQ11MyrWN6WmYq84C5lqEdyVF8J4hTlkQc+URZUSbMG4PowsVlSEhSO3zlBtm5+alR0UOPD+KaZ5fa0aQryM+3oi/d/ocfaYOCQudxQCeOHYUPRrxpLocZk8U0i8Wt1HSHLQ+Qy3Hj0jFjzE1Xya8Bw4IuJWfoFgJ42RWjip8TQlbVqijtbwz3dw8kfwJM23YdkaXWOOX6tMljMWzIQCuawW9/hJVrNznNt37Fr+jc8VGXI+rXgCnmjipT353w/Es80IIALDAIM56QMFBQSpmkLAUEJzmeX1qrSuBfLrnqQwJ/AkyXJ7sh+bo5ALZdLs+cPgmvDuxj9ezPFesxbETJucZexrfeeAnTv3QdQqTMAyY5TdeZEspcjdjXjfDm5Ka4REDerF1F5tos0Ev1+hNger7QGxfiLzrl3PyfpqJfb+sr4vSMTDR4qCOYy15HSVmrJs4ddx3Dp8wDRpWhvQQKYfGjvTGJCS4rK8nvPDhvt9WfADPwlUE4etx5ROpFv/6A55950mYkn+zxMv45etLpCB/esw5NGjm3Vy77gEnX+lyQIua2xFOM+hNghg8fjp17Djhl2aolc9C1i21A1x9//h3jJn3jNO+EsaPwocWFgT3isg+Y8hXGatzv51uyTz75GGvWb3E66Teu+h0dLYIlFRNfuapCs7bOgzG1a9MCW9ezKI+OU5kHTPkZxnrw72fAfP3VFPy+yK42k7mTOzf+idYt7cfB7PBkH6cmzsz/29ULhxAe5thlT5kHjOV0SUzKfp6CLwkMAnIjJjLcyo3bRZV6Kk8xxpyPIjsmqiQgYkKS5jpAzfauBFzP6Miw9Z5urdzN709bsjmzZ+K7mb84ZdWBnavR9MFGdmm+/XE+Jn7pXOy2cP536NnD8UrkX4BRaSZQSieauUnIphhl+LNWoFJpFlFKSy7yCYmLUYabRyBBpdkISp8pzkMImRitDP/c3QnvaT5/AsyyJQswYcq3Tll29O+NaBht/45HyLZs0Et9MOvbSQ7r8DfArKOUPm/BjSkxkRFWl++JKvUuSvF4CSCwO1oZ0aX4e0KSmmn2fWoBmPXRynAf2ymW9MCfALNt8zqMGD3BKWDOHt2BKKVj36+du/XD8VNnHZZRu2YNnD+xqxwwjAOJKvU1SlHiDYGgT4wywspZb8I19QUQlBhPULokJqqCecVJUKl7g8JkocS0zQiSopURUZ6uFO7m9yfA/HtoL14Z8r5TViWe2Y9qVR2HUftp7kJ84iLGjLNVqsysMKcTk2s3i67t0KXIheTsSlJK0yilJRqVFPVjoiIuW59z1Ew5q8T9EsE3McoI85km4Zq6HgjMvn4IIVRPSJVGtcMy3J30nuTzJ8AkXjiJZ3uXRD+2xzdV/BGEhzsO1JlyMxWNHnncqRDzmymfYuhg+9pS3gKMq/kqZE54pBp85sy1CjRIEmww2BfnKoKC23NEsrzk/IKc/PycRjzTzrudQoLCAi3BwH6mlH6eV5Bjjo3HEUIUitALoDBfpfDU0C+/IM+5gEAIB9ygCVGEXXeUrawpX2bcvIx2jzuPHJ167SQCA5yHZevR9w3s+9uxy9mnn+qMZQtYyFPb5Awwaek3BcUBkEg4jhQY8po2jcpyY8gtprAnuV3kTVCpPwKFOcgkIdgbrYzobJntokrTgKfUKjY4B/RvEBlRAjTT1m4Ppehk0fIxMcoI51KxO9Q3f1phaFEmHmhuNWQ2XNWknHMYpq+YePGytXhnpPkYalNGSEgwkuIOQyq11V721grjjeng0QrjqgGJKs0SSqmF/ynyfUxk+CjLfAlJWR0BYmWFKZVyHevVDPvbmk7zHUBHFv9GCPkzWhkuWOPZVVvFPPcnwFQI5lE1qrlD9jA1/bSkUy7Zl52TiwYPdkBhUZFD2u0blqBta9u6/AcwSZrzFNR8PcxR8mqDqHCm2m9O8Uma/gTUKjY4R0h0A2W4lcbfxWuaQTyhC8yAAbkQHRne2OVI3QECfwIME7pWr9sC+QUFdjkZFhqK5MR/BHH5taEfOtUa+GT0u/hk9Ds2ZfkFYG7coIo8gyabUpiDHUqItGl9ZYjV/WJikmYUBbW66A+RhgfXrEmsLJsuqXIfMlD9mZIVBoZgSXhYaTpBI+chkb8BpknLJ6BKvmGXa1WrVMbFs/sFcXT7rv3o8/Iwh7SO1GT8AjCJydmPUp4/ZMGdwmhleCghRG+11VKpp4HiI4vfNDGRETbG4JRSaaJKk8Ni9ZhBw3HtomuHHRY0Wl4kEgsYL1bt9aJcWVyyCnv1HYBz5+x78K9Zswb27NwqqF16gwGxnZ9Eerr9y01mffnv4QNQKIIElceIfKl0y+q7Y2eY+CTNOwS05NqDkKMxyvDWpTmRqNIsppRanEXIhRgHW60ElYb5I21VXAYFGd4wMtxzTwqCh8dE6G+AGfzW2zhwwPLdV8KwunXqYOtm4VpKX0+bjt//cKxs+cu8n9Gh/WOCR6TMACZRlT2PUr7E0Jtw82KUYUNLcyL+mno3ISi5hiFkV4wy/Al7HEtQZc8F5d8q2ZZx86OVYebvgrnsIaG/Aeaj/43Fhr/smxs3bBiDDWtXCubohbg49OzVzyH9kMGv46MPzXc7LsstO4BJ0hyloC3Nkxt4JzoyYnZpDiRcU8eBwOxTlFK6uGFUhVfscSoxSf02BcwrCgE5Fh0Zbl5xXHLXSwRiAXM/ayuztn88/mv8PM/qrsbMyRbNH8KeLVYSAJdcZnKd/87H26Vr3uxB7NtmrR1d5s8w7LxxUZWdQ0Etzhvk0eja4TaSq4Qko4cFs5iYI9y0Bsqw/9kFTLKmLeWp+cxCQAobKMNszkUuR8xDAn8DzLTv5mDy1B/tcq1d25bYus4+mByxedacBRg7cardxxzH4VrcYSt1/zIPmMuqzKZ6ylnatRpCpPlhNWvWtLr5unmTBmdrNbmWnCOUjIqOCv/eHjdv3LihyNUrspmzjOLnUsI3q6esaL498xALgrL7G2B+W7gcI8fYVw5/PPYxrFvO3DcIT2npGWj4cGfo9Vb3P+YCmMSfSf6LU5kHTPy17FcJ4f8o2Y6R89GR4Taepy+pNNEGShOsAYN+0VERDi2WEpM05yioWf5CKfdaw6gws3xG+LC5T+lvgNmwaQcGDravgNm9a2csX2hfpcUZh/u/+i42b9ttl2T40Ffx1eclm4wyD5jEJM131FoqvyRaGW7tuMqo7pIVSynZa8k1Cr5jw8iKVlJ+y+elb9UIyPfRpbQH3IeCsJz+BphDR46jW0+7x0qj4RczABObNm7ZhZdef89uNmaMxozS/GaFSVSp91KKWAtufBQTGTG9NHcuXtf05w3WUn4CNIiOjHAYhTQhST0agFmHjBDsi1ZGlOiYiR05N+j9DTDxiZfRqoOVzZ+Za/369MD8WfbPI85Yq9Pp0fDhTmDumEondo5hZssRtzWgy/QKw1T5L6o0WZbq+pTiiYZRETYWQolJ2R9Q8DMsGRakDFcoCbGvhwEg/pq6CyEwO7MigKaBMrwCU/l3Y+67lcXfAMNC9tVp1M4ur159uQ9mznBsLemMwWMnTMOsueaduxXp0j9m4ZluJpvCMg2YxCR1fQqY9cDYRA4MC6usDCc2r5KEJDVbKdiKUZzUMZERFZwxWaXSVCwE0i1tbFytSm6hwkkmR4Cxp9rPirnfr5WZM75KymYwGGw99Qr1XmmPnefjEtG2k6UxbgmV5TmmbAMmWd2H8jBLsgjBtWhlhN1wuglJmiWAlTbz+Rg7lwOlmZ2oUl+lFGaLS8Khb3TtCLNFprcBUro8fwMM6z/zYpmaZutc/L23X8eUCZaaTeK437l7Pxw/aWu+3Oyhxvh7h2lIyzZgktRTKGCOY0kI1kUrI+xaICUkqZl715LzB8WumKgIu1J+y2FIVKnXUgqzTT8BvoyOjHBsbCFuDF1SiwWMywLvIoEQXTLWvB49+yAhwcpsydjqYUOHYNT79g/vQrq1bPkqTPj8CxtSdo759/DfCA1lLrcdp/te0p+g0myCRWhx5jGmYVQFu5f4CSpNHCg1S/kJIYuileGDXDE6/lrWBOY5xkxHyOYYZbjZq4yr/J4+90fAvPbGWzh8xFaNf8S772D4OzYaT4JZnJubi/Ydu9gNqTF39kx0irX1qGlZuM8Bc+PGZa86k8jVVzwGwOwRQQLD4CCpxq5LkFxDxXOgCC5mAOEwO5jLdHnlUqAP72KA5FcLxqWHSDPNajiCR8tNwlx9xav2sjo6w9ymTeCobjTR3bpjQlaDvLbddjnrptAV5oPRH2PTZlsPmLVrVv1q7+bf57rJSmO2Zu36TM3LLzArmAVWqo+qD/dD96c6Y1T3CiASx/F1JNpku9t9T9rjLO8d01a+Uw0uL/fucCCoSqPvCYGN9JJS8n5B2nn7ejMCmxpUpUl7TsL9HRHdBVWbD0CYspXRNZA+Lz394IQq91SI4HLACBxUfydTVGs8FpROseUDHZafGufRCtNxOh1nyM+YKFVUMqs86fLSaW7y0U1n5j/teahlLw5eOWC8yMyyXJSiWqMhoLBRGiOUvpaXFueRalLsdPongAGMfwUZl6G4sARtcw4e/XrXNhv7qbvN43sCMGcSUyy1Asw8aRpdw+gcw9FzMcwrLktMnnLaEg4oqjV8DpSzsRSjPAYUpF9Y5gmvOs2gbXke069tm8A9l7enaYNQWXCAhKMNK4ZFdl6yxqHfO0/qdDfvPQEYdxtfns93HIj9xpBm0BVUpgYteH0ReL0W1FAEWXDl/w5+VvEhIS1JSbli98VYnLdGjbr7furWZVGYXDawYlAAgmTSMY8vXn1XXGk56k+ZBYw3ViV7TLvXVipXk1DIRHZGwyYxex47nf4LwJ6xXuK+0cR5CDERjdjzWs8IXsvdvJRTGDDt7HXt9QLtmIJbF34QUcQdJS2zgLmjXPPHwmu2UCj0+SxYr1XiCN8l91a8fT19kXwqBv9Xg975fuHZaw9reZN6YLWqlfYe2rGoRO4motxiwIvI4pS0HDDe4qSflDPrqS5aA6UyAtAR23dz3u52gyffH3vj9HYWrcE0Nyl0lCOjC255dnXtrXaWA8ZbnPSTcna/3PsyBa0LILPLkjWVvN3tyk2emp+fljTEVC5N43j0zU2Ps/KM6u06xZRXDhgx3Cqnxe6Xe12gYKFJSF6XJaudK3qJ5xdRVG3ETNvZJcI5nqPPFt6ME629IL5a4TnKNGAopfLkbIRIDAgBj2BQnUJPiUIqQRD7JNSgAIgCBIGUkkCOIIAHH0gIFwBKAkH5QEogJwRyUCKn4OWEcDJCIQeBnFLIACoFAfOgLQX7TnH7O5UCHAdQCQjhQKkEIKbvAGf8m4DAFAqEEGIcCnLbbMH4m3FDAtDbtj70dtADCmb7w/6B8gB4gBiMfxNiAGW/se8sogLRg0IPYvyvA2D6DqIn7DuFlhJoKeV1BJwWhGophZZQaEG4QhBaSClfxIEr/HbR1mZrli2unp/8X6tcHW92bhJdv/6cLRvW/AIiyweHPIMEubXDkEsI0QqfhibK4KqNXqEA86hxOF9X1B1Zl5mDlHsq3dOASU2lIQYZKuv0usrgSCUJIRUBvgLlSQVKEMGBhPOgEaB8OEDCKBBGYAyJEUKBEAI2ocuTOxw4dfoMzp0/j/j4RJw5+x/i4uJZGBKbotq0boWFf9jGwKSAjgDMwUkuBXIIkA3QbBBOw4GoeVANoVATjmYBXJaB0syWrR79SSaX33rhuef7zpr2P/u+ad3pjBfz3BXAUEq5lCzUNhj0dQmhUQBRArQWBalBCGoAtBqlqAZAuM9QLzKlvCjgzaHDceCgydslc+Eqk8nNoSiYIRn7r9PpUCEiAn/vMxvAepN1BYTgFkBuUYoUApoCEBYcWEUpuSaRSK/UqIBkQghbZX2W7jhgKKWylCx9WwOPdoTQhylIE0IRbemzzGe9La+oTHGA+aWjBIkE9Byl5JSEw6EaFaRHCCFs+3lH0h0FTHK6bjIFhoNtm8pTOQd8wgGiJsBPtSvLrAIPe6vqOw8YguGg5YDx1oCVl+OCA4SoCb1PAcO6Zt6SAe0IpQ9TigcBRANwHhSxfGaUc8A1B1g4s0RC8B8l5JQE9/mWzFF/iw/9hOjrGkCiYKDmQz9AaxKCqpSSagAtP/S7njRllIIUEELZgT+VgqZwIDeMh34JUUlAr1FaRg/9noxm8bUy1esq6+1cK5vORiS8/FrZEy7fmbzOrpUBqgGImhCoCUqulaU8zSBSWbpEh/SqVYmVz+0700rxpd7RM4z45ng3hz3BJSREoadQSDkSZKBQgPIKUAeCS8IHMiElE16aBZeAnICTWQouCYHUJMQ0Ci9vCy6JlIJKOJOAkqNMcGkrwCTMFJdYCCwtBZilBZbsO5NWwiQPoaUFlsQouGQSS8oTkzCzRHAJGIWVtLTgEryOAtpiwSUTWjJhJqi14JKnKCKEFoKgEITLlxDk63laICXIh4Hme0Nw6d3RvzOl/R8AdGoXzom1qQAAAABJRU5ErkJggg=="},3828:function(){},31669:function(d){function v(e,r){this.v=e,this.k=r}d.exports=v,d.exports.__esModule=!0,d.exports.default=d.exports},57523:function(d,v,e){var r=e(99824);function i(){var l,c,f=typeof Symbol=="function"?Symbol:{},o=f.iterator||"@@iterator",h=f.toStringTag||"@@toStringTag";function u(k,R,C,D){var M=R&&R.prototype instanceof x?R:x,B=Object.create(M.prototype);return r(B,"_invoke",function(N,K,G){var W,se,ie,le=0,q=G||[],J=!1,V={p:0,n:0,v:l,a:ue,f:ue.bind(l,4),d:function(Q,ce){return W=Q,se=0,ie=l,V.n=ce,a}};function ue(ee,Q){for(se=ee,ie=Q,c=0;!J&&le&&!ce&&c<q.length;c++){var ce,z=q[c],$=V.p,ae=z[2];ee>3?(ce=ae===Q)&&(ie=z[(se=z[4])?5:(se=3,3)],z[4]=z[5]=l):z[0]<=$&&((ce=ee<2&&$<z[1])?(se=0,V.v=Q,V.n=z[1]):$<ae&&(ce=ee<3||z[0]>Q||Q>ae)&&(z[4]=ee,z[5]=Q,V.n=ae,se=0))}if(ce||ee>1)return a;throw J=!0,Q}return function(ee,Q,ce){if(le>1)throw TypeError("Generator is already running");for(J&&Q===1&&ue(Q,ce),se=Q,ie=ce;(c=se<2?l:ie)||!J;){W||(se?se<3?(se>1&&(V.n=-1),ue(se,ie)):V.n=ie:V.v=ie);try{if(le=2,W){if(se||(ee="next"),c=W[ee]){if(!(c=c.call(W,ie)))throw TypeError("iterator result is not an object");if(!c.done)return c;ie=c.value,se<2&&(se=0)}else se===1&&(c=W.return)&&c.call(W),se<2&&(ie=TypeError("The iterator does not provide a '"+ee+"' method"),se=1);W=l}else if((c=(J=V.n<0)?ie:N.call(K,V))!==a)break}catch(z){W=l,se=1,ie=z}finally{le=1}}return{value:c,done:J}}}(k,C,D),!0),B}var a={};function x(){}function p(){}function y(){}c=Object.getPrototypeOf;var _=[][o]?c(c([][o]())):(r(c={},o,function(){return this}),c),b=y.prototype=x.prototype=Object.create(_);function A(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:A}},d.exports.__esModule=!0,d.exports.default=d.exports)()}d.exports=i,d.exports.__esModule=!0,d.exports.default=d.exports},57811:function(d,v,e){var r=e(33466);function i(l,c,f,o,h){var u=r(l,c,f,o,h);return u.next().then(function(a){return a.done?a.value:u.next()})}d.exports=i,d.exports.__esModule=!0,d.exports.default=d.exports},33466:function(d,v,e){var r=e(57523),i=e(50559);function l(c,f,o,h,u){return new i(r().w(c,f,o,h),u||Promise)}d.exports=l,d.exports.__esModule=!0,d.exports.default=d.exports},50559:function(d,v,e){var r=e(31669),i=e(99824);function l(c,f){function o(u,a,x,p){try{var y=c[u](a),_=y.value;return _ instanceof r?f.resolve(_.v).then(function(b){o("next",b,x,p)},function(b){o("throw",b,x,p)}):f.resolve(_).then(function(b){y.value=b,x(y)},function(b){return o("throw",b,x,p)})}catch(b){p(b)}}var h;this.next||(i(l.prototype),i(l.prototype,typeof Symbol=="function"&&Symbol.asyncIterator||"@asyncIterator",function(){return this})),i(this,"_invoke",function(u,a,x){function p(){return new f(function(y,_){o(u,x,y,_)})}return h=h?h.then(p,p):p()},!0)}d.exports=l,d.exports.__esModule=!0,d.exports.default=d.exports},99824:function(d){function v(e,r,i,l){var c=Object.defineProperty;try{c({},"",{})}catch(f){c=0}d.exports=v=function(o,h,u,a){if(h)c?c(o,h,{value:u,enumerable:!a,configurable:!a,writable:!a}):o[h]=u;else{var x=function(y,_){v(o,y,function(b){return this._invoke(y,_,b)})};x("next",0),x("throw",1),x("return",2)}},d.exports.__esModule=!0,d.exports.default=d.exports,v(e,r,i,l)}d.exports=v,d.exports.__esModule=!0,d.exports.default=d.exports},25545:function(d){function v(e){var r=Object(e),i=[];for(var l in r)i.unshift(l);return function c(){for(;i.length;)if((l=i.pop())in r)return c.value=l,c.done=!1,c;return c.done=!0,c}}d.exports=v,d.exports.__esModule=!0,d.exports.default=d.exports},43013:function(d,v,e){var r=e(31669),i=e(57523),l=e(57811),c=e(33466),f=e(50559),o=e(25545),h=e(23287);function u(){"use strict";var a=i(),x=a.m(u),p=(Object.getPrototypeOf?Object.getPrototypeOf(x):x.__proto__).constructor;function y(A){var k=typeof A=="function"&&A.constructor;return!!k&&(k===p||(k.displayName||k.name)==="GeneratorFunction")}var _={throw:1,return:2,break:3,continue:3};function b(A){var k,R;return function(C){k||(k={stop:function(){return R(C.a,2)},catch:function(){return C.v},abrupt:function(M,B){return R(C.a,_[M],B)},delegateYield:function(M,B,N){return k.resultName=B,R(C.d,h(M),N)},finish:function(M){return R(C.f,M)}},R=function(M,B,N){C.p=k.prev,C.n=k.next;try{return M(B,N)}finally{k.next=C.n}}),k.resultName&&(k[k.resultName]=C.v,k.resultName=void 0),k.sent=C.v,k.next=C.n;try{return A.call(this,k)}finally{C.p=k.prev,C.n=k.next}}}return(d.exports=u=function(){return{wrap:function(R,C,D,M){return a.w(b(R),C,D,M&&M.reverse())},isGeneratorFunction:y,mark:a.m,awrap:function(R,C){return new r(R,C)},AsyncIterator:f,async:function(R,C,D,M,B){return(y(C)?c:l)(b(R),C,D,M,B)},keys:o,values:h}},d.exports.__esModule=!0,d.exports.default=d.exports)()}d.exports=u,d.exports.__esModule=!0,d.exports.default=d.exports},23287:function(d,v,e){var r=e(12594).default;function i(l){if(l!=null){var c=l[typeof Symbol=="function"&&Symbol.iterator||"@@iterator"],f=0;if(c)return c.call(l);if(typeof l.next=="function")return l;if(!isNaN(l.length))return{next:function(){return l&&f>=l.length&&(l=void 0),{value:l&&l[f++],done:!l}}}}throw new TypeError(r(l)+" is not iterable")}d.exports=i,d.exports.__esModule=!0,d.exports.default=d.exports},12594:function(d){function v(e){"@babel/helpers - typeof";return d.exports=v=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},d.exports.__esModule=!0,d.exports.default=d.exports,v(e)}d.exports=v,d.exports.__esModule=!0,d.exports.default=d.exports},55267:function(d,v,e){var r=e(43013)();d.exports=r;try{regeneratorRuntime=r}catch(i){typeof globalThis=="object"?globalThis.regeneratorRuntime=r:Function("r","regeneratorRuntime = r")(r)}},92310:function(d,v){var e,r;(function(){"use strict";var i={}.hasOwnProperty;function l(){for(var o="",h=0;h<arguments.length;h++){var u=arguments[h];u&&(o=f(o,c(u)))}return o}function c(o){if(typeof o=="string"||typeof o=="number")return o;if(typeof o!="object")return"";if(Array.isArray(o))return l.apply(null,o);if(o.toString!==Object.prototype.toString&&!o.toString.toString().includes("[native code]"))return o.toString();var h="";for(var u in o)i.call(o,u)&&o[u]&&(h=f(h,u));return h}function f(o,h){return h?o?o+" "+h:o+h:o}d.exports?(l.default=l,d.exports=l):(e=[],r=function(){return l}.apply(v,e),r!==void 0&&(d.exports=r))})()},63335:function(d,v,e){"use strict";var r=e(55327),i=e(40593),l=TypeError;d.exports=function(c){if(r(c))return c;throw new l(i(c)+" is not a function")}},6086:function(d,v,e){"use strict";var r=e(39812),i=e(40593),l=TypeError;d.exports=function(c){if(r(c))return c;throw new l(i(c)+" is not a constructor")}},42683:function(d,v,e){"use strict";var r=e(2786).has;d.exports=function(i){return r(i),i}},557:function(d,v,e){"use strict";var r=e(55327),i=String,l=TypeError;d.exports=function(c){if(typeof c=="object"||r(c))return c;throw new l("Can't set "+i(c)+" as a prototype")}},17442:function(d,v,e){"use strict";var r=e(19691).has;d.exports=function(i){return r(i),i}},79606:function(d){"use strict";var v=TypeError;d.exports=function(e){if(typeof e=="string")return e;throw new v("Argument is not a string")}},63619:function(d,v,e){"use strict";var r=e(42530).has;d.exports=function(i){return r(i),i}},18888:function(d,v,e){"use strict";var r=e(91385).has;d.exports=function(i){return r(i),i}},5978:function(d,v,e){"use strict";var r=e(89945),i=e(94237),l=e(80666),c=e(80449),f=e(63335),o=e(4112),h=e(53776),u=e(59893),a=u("asyncDispose"),x=u("dispose"),p=i([].push),y=function(b,A){if(A==="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,A,k){return arguments.length<3&&!o(b)&&(k=f(y(c(b),A))),k===void 0?function(){}:l(k,b)};d.exports=function(b,A,k,R){var C;if(arguments.length<4){if(o(A)&&k==="sync-dispose")return;C=_(A,k)}else C=_(void 0,k,R);p(b.stack,C)}},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,A=p.prototype,k=i(b.slice),R=l(b,"resizable","get"),C=l(b,"maxByteLength","get"),D=i(A.getInt8),M=i(A.setInt8);d.exports=(u||h)&&function(B,N,K){var G=o(B),W=N===void 0?G:c(N),se=!R||!R(B),ie;if(f(B))throw new y("ArrayBuffer is detached");if(u&&(B=a(B,{transfer:[B]}),G===W&&(K||se)))return B;if(G>=W&&(!K||se))ie=k(B,0,W);else{var le=K&&!se&&C?{maxByteLength:C(B)}:void 0;ie=new x(W,le);for(var q=new p(B),J=new p(ie),V=_(W,G),ue=0;ue<V;ue++)M(J,ue,D(q,ue))}return u||h(B),ie}},58261:function(d,v,e){"use strict";var r=e(3737),i=e(35454),l=e(92916),c=e(55327),f=e(31946),o=e(32621),h=e(97607),u=e(40593),a=e(68151),x=e(2291),p=e(64110),y=e(16332),_=e(53456),b=e(58218),A=e(59893),k=e(6145),R=e(94844),C=R.enforce,D=R.get,M=l.Int8Array,B=M&&M.prototype,N=l.Uint8ClampedArray,K=N&&N.prototype,G=M&&_(M),W=B&&_(B),se=Object.prototype,ie=l.TypeError,le=A("toStringTag"),q=k("TYPED_ARRAY_TAG"),J="TypedArrayConstructor",V=r&&!!b&&h(l.opera)!=="Opera",ue=!1,ee,Q,ce,z={Int8Array:1,Uint8Array:1,Uint8ClampedArray:1,Int16Array:2,Uint16Array:2,Int32Array:4,Uint32Array:4,Float32Array:4,Float64Array:8},$={BigInt64Array:8,BigUint64Array:8},ae=function(Dt){if(!f(Dt))return!1;var nr=h(Dt);return nr==="DataView"||o(z,nr)||o($,nr)},_e=function(gt){var Dt=_(gt);if(f(Dt)){var nr=D(Dt);return nr&&o(nr,J)?nr[J]:_e(Dt)}},De=function(gt){if(!f(gt))return!1;var Dt=h(gt);return o(z,Dt)||o($,Dt)},ke=function(gt){if(De(gt))return gt;throw new ie("Target is not a typed array")},He=function(gt){if(c(gt)&&(!b||y(G,gt)))return gt;throw new ie(u(gt)+" is not a typed array constructor")},$e=function(gt,Dt,nr,Xt){if(i){if(nr)for(var cr in z){var Ge=l[cr];if(Ge&&o(Ge.prototype,gt))try{delete Ge.prototype[gt]}catch(Tt){try{Ge.prototype[gt]=Dt}catch(Ut){}}}(!W[gt]||nr)&&x(W,gt,nr?Dt:V&&B[gt]||Dt,Xt)}},Bt=function(gt,Dt,nr){var Xt,cr;if(i){if(b){if(nr){for(Xt in z)if(cr=l[Xt],cr&&o(cr,gt))try{delete cr[gt]}catch(Ge){}}if(!G[gt]||nr)try{return x(G,gt,nr?Dt:V&&G[gt]||Dt)}catch(Ge){}else return}for(Xt in z)cr=l[Xt],cr&&(!cr[gt]||nr)&&x(cr,gt,Dt)}};for(ee in z)Q=l[ee],ce=Q&&Q.prototype,ce?C(ce)[J]=Q:V=!1;for(ee in $)Q=l[ee],ce=Q&&Q.prototype,ce&&(C(ce)[J]=Q);if((!V||!c(G)||G===Function.prototype)&&(G=function(){throw new ie("Incorrect invocation")},V))for(ee in z)l[ee]&&b(l[ee],G);if((!V||!W||W===se)&&(W=G.prototype,V))for(ee in z)l[ee]&&b(l[ee].prototype,W);if(V&&_(K)!==W&&b(K,W),i&&!o(W,le)){ue=!0,p(W,le,{configurable:!0,get:function(){return f(this)?this[q]:void 0}});for(ee in z)l[ee]&&a(l[ee],q,ee)}d.exports={NATIVE_ARRAY_BUFFER_VIEWS:V,TYPED_ARRAY_TAG:ue&&q,aTypedArray:ke,aTypedArrayConstructor:He,exportTypedArrayMethod:$e,exportTypedArrayStaticMethod:Bt,getTypedArrayConstructor:_e,isView:ae,isTypedArray:De,TypedArray:G,TypedArrayPrototype:W}},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),A=e(61618),k=e(53456),R=e(58218),C=e(80689).f,D=e(75202),M=e(71698),B=e(94573),N=e(94844),K=f.PROPER,G=f.CONFIGURABLE,W="ArrayBuffer",se="DataView",ie="prototype",le="Wrong length",q="Wrong index",J=N.getterFor(W),V=N.getterFor(se),ue=N.set,ee=r[W],Q=ee,ce=Q&&Q[ie],z=r[se],$=z&&z[ie],ae=Object.prototype,_e=r.Array,De=r.RangeError,ke=i(D),He=i([].reverse),$e=A.pack,Bt=A.unpack,gt=function(Me){return[Me&255]},Dt=function(Me){return[Me&255,Me>>8&255]},nr=function(Me){return[Me&255,Me>>8&255,Me>>16&255,Me>>24&255]},Xt=function(Me){return Me[3]<<24|Me[2]<<16|Me[1]<<8|Me[0]},cr=function(Me){return $e(b(Me),23,4)},Ge=function(Me){return $e(Me,52,8)},Tt=function(Me,je,We){h(Me[ie],je,{configurable:!0,get:function(){return We(this)[je]}})},Ut=function(Me,je,We,nt){var lt=V(Me),Vt=_(We),Ht=!!nt;if(Vt+je>lt.byteLength)throw new De(q);var Pe=lt.bytes,et=Vt+lt.byteOffset,Kt=M(Pe,et,et+je);return Ht?Kt:He(Kt)},at=function(Me,je,We,nt,lt,Vt){var Ht=V(Me),Pe=_(We),et=nt(+lt),Kt=!!Vt;if(Pe+je>Ht.byteLength)throw new De(q);for(var kt=Ht.bytes,Zt=Pe+Ht.byteOffset,Nt=0;Nt<je;Nt++)kt[Zt+Nt]=et[Kt?Nt:je-Nt-1]};if(!c)Q=function(je){x(this,ce);var We=_(je);ue(this,{type:W,bytes:ke(_e(We),0),byteLength:We}),l||(this.byteLength=We,this.detached=!1)},ce=Q[ie],z=function(je,We,nt){x(this,$),x(je,ce);var lt=J(je),Vt=lt.byteLength,Ht=p(We);if(Ht<0||Ht>Vt)throw new De("Wrong offset");if(nt=nt===void 0?Vt-Ht:y(nt),Ht+nt>Vt)throw new De(le);ue(this,{type:se,buffer:je,byteLength:nt,byteOffset:Ht,bytes:lt.bytes}),l||(this.buffer=je,this.byteLength=nt,this.byteOffset=Ht)},$=z[ie],l&&(Tt(Q,"byteLength",J),Tt(z,"buffer",V),Tt(z,"byteLength",V),Tt(z,"byteOffset",V)),u($,{getInt8:function(je){return Ut(this,1,je)[0]<<24>>24},getUint8:function(je){return Ut(this,1,je)[0]},getInt16:function(je){var We=Ut(this,2,je,arguments.length>1?arguments[1]:!1);return(We[1]<<8|We[0])<<16>>16},getUint16:function(je){var We=Ut(this,2,je,arguments.length>1?arguments[1]:!1);return We[1]<<8|We[0]},getInt32:function(je){return Xt(Ut(this,4,je,arguments.length>1?arguments[1]:!1))},getUint32:function(je){return Xt(Ut(this,4,je,arguments.length>1?arguments[1]:!1))>>>0},getFloat32:function(je){return Bt(Ut(this,4,je,arguments.length>1?arguments[1]:!1),23)},getFloat64:function(je){return Bt(Ut(this,8,je,arguments.length>1?arguments[1]:!1),52)},setInt8:function(je,We){at(this,1,je,gt,We)},setUint8:function(je,We){at(this,1,je,gt,We)},setInt16:function(je,We){at(this,2,je,Dt,We,arguments.length>2?arguments[2]:!1)},setUint16:function(je,We){at(this,2,je,Dt,We,arguments.length>2?arguments[2]:!1)},setInt32:function(je,We){at(this,4,je,nr,We,arguments.length>2?arguments[2]:!1)},setUint32:function(je,We){at(this,4,je,nr,We,arguments.length>2?arguments[2]:!1)},setFloat32:function(je,We){at(this,4,je,cr,We,arguments.length>2?arguments[2]:!1)},setFloat64:function(je,We){at(this,8,je,Ge,We,arguments.length>2?arguments[2]:!1)}});else{var bt=K&&ee.name!==W;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(je){return x(this,ce),new ee(_(je))},Q[ie]=ce;for(var dt=C(ee),tt=0,Ue;dt.length>tt;)(Ue=dt[tt++])in Q||o(Q,Ue,ee[Ue]);ce.constructor=Q}else bt&&G&&o(ee,"name",W);R&&k($)!==ae&&R($,ae);var ye=new z(new Q(2)),Ce=i($.setInt8);ye.setInt8(0,2147483648),ye.setInt8(1,2147483649),(ye.getInt8(0)||!ye.getInt8(1))&&u($,{setInt8:function(je,We){Ce(this,je,We<<24>>24)},setUint8:function(je,We){Ce(this,je,We<<24>>24)}},{unsafe:!0})}B(Q,W),B(z,se),d.exports={ArrayBuffer:Q,DataView:z}},92670:function(d,v,e){"use strict";var r=e(94029),i=e(51981),l=e(82762),c=e(84233),f=Math.min;d.exports=[].copyWithin||function(h,u){var a=r(this),x=l(a),p=i(h,x),y=i(u,x),_=arguments.length>2?arguments[2]:void 0,b=f((_===void 0?x:i(_,x))-y,x-p),A=1;for(y<p&&p<y+b&&(A=-1,y+=b-1,p+=b-1);b-- >0;)y in a?a[p]=a[y]:c(a,p),p+=A,y+=A;return a}},75202:function(d,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,A=y("asyncIterator"),k=i(p("Array","values")),R=i(k([]).next),C=function(){return new D(this)},D=function(M){this.iterator=k(M)};D.prototype.next=function(){return R(this.iterator)},d.exports=function(B){var N=this,K=arguments.length,G=K>1?arguments[1]:void 0,W=K>2?arguments[2]:void 0;return new(x("Promise"))(function(se){var ie=l(B);G!==void 0&&(G=r(G,W));var le=a(ie,A),q=le?void 0:u(ie)||C,J=c(N)?new N:[],V=le?f(ie,le):new _(h(o(ie,q)));se(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(_),A=o(this),k=arguments.length,R=k>1?arguments[1]:void 0,C=R!==void 0;C&&(R=r(R,k>2?arguments[2]:void 0));var D=x(b),M=0,B,N,K,G,W,se;if(D&&!(this===p&&f(D)))for(G=a(b,D),W=G.next,N=A?new this:[];!(K=i(W,G)).done;M++)se=C?c(G,R,[K.value,M],!0):K.value,u(N,M,se);else for(B=h(b),N=A?new this(B):p(B);B>M;M++)se=C?R(b[M],M):b[M],u(N,M,se);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),A=l(b),k=r(_,arguments.length>1?arguments[1]:void 0),R=new h,C=f(A),D=0,M,B;C>D;D++)B=A[D],M=k(B,D,b),a(R,M)?p(u(R,M),B):x(R,M,[B]);return R}},36444:function(d,v,e){"use strict";var r=e(80666),i=e(94237),l=e(1835),c=e(94029),f=e(17818),o=e(82762),h=e(20132),u=e(69478),a=Array,x=i([].push);d.exports=function(p,y,_,b){for(var A=c(p),k=l(A),R=r(y,_),C=h(null),D=o(k),M=0,B,N,K;D>M;M++)K=k[M],N=f(R(K,M,A)),N in C?x(C[N],K):C[N]=[K];if(b&&(B=b(A),B!==a))for(N in C)C[N]=u(B,C[N]);return C}},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),A,k;_-- >0;)if(A=y[_],k=b(A,_,p),k)switch(o){case 0:return A;case 1:return _}return h?-1:void 0}};d.exports={findLast:f(0),findLastIndex:f(1)}},90560:function(d,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,A=a===7,k=a===5||b;return function(R,C,D,M){for(var B=c(R),N=l(B),K=f(N),G=r(C,D),W=0,se=M||o,ie=x?se(R,K):p||A?se(R,0):void 0,le,q;K>W;W++)if((k||W in N)&&(le=N[W],q=G(le,W,B),a))if(x)ie[W]=q;else if(q)switch(a){case 3:return!0;case 5:return le;case 6:return W;case 2:h(ie,le)}else switch(a){case 4:return!1;case 7:h(ie,le)}return b?-1:y||_?_:ie}};d.exports={forEach:u(0),map:u(1),filter:u(2),some:u(3),every:u(4),find:u(5),findIndex:u(6),filterReject:u(7)}},55009:function(d,v,e){"use strict";var r=e(13743),i=e(80524),l=e(56902),c=e(82762),f=e(45601),o=Math.min,h=[].lastIndexOf,u=!!h&&1/[1].lastIndexOf(1,-0)<0,a=f("lastIndexOf"),x=u||!a;d.exports=x?function(y){if(u)return r(h,this,arguments)||0;var _=i(this),b=c(_),A=b-1;for(arguments.length>1&&(A=o(A,l(arguments[1]))),A<0&&(A=b+A);A>=0;A--)if(A in _&&_[A]===y)return A||0;return-1}:h},17480:function(d,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 A=h?b-1:0,k=h?-1:1;if(x<2)for(;;){if(A in _){p=_[A],A+=k;break}if(A+=k,h?A<0:b<=A)throw new f("Reduce of empty array with no initial value")}for(;h?A>=0:b>A;A+=k)A in _&&(p=a(p,_[A],A,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),A=c(b),k=[],R=new u,C=l(_)?function(N){return N}:i(_),D,M,B;for(D=0;D<A;D++)M=b[D],B=C(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,C){var D=k.done;x.resolve(k.value).then(function(M){R(a(M,D))},C)},A=function(R){R.type=p,y(this,R)};A.prototype=f(l(u),{next:function(){var R=_(this);return new x(function(C,D){var M=i(r(R.next,R.iterator));b(M,C,D)})},return:function(){var k=_(this).iterator;return new x(function(R,C){var D=c(k,"return");if(D===void 0)return R(a(void 0,!0));var M=i(r(D,k));b(M,R,C)})}}),d.exports=A},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"),A=h("toStringTag"),k="AsyncIteratorHelper",R="WrapForValidAsyncIterator",C=u.set,D=function(N){var K=!N,G=u.getterFor(N?R:k),W=function(se){var ie=i(function(){return G(se)}),le=ie.error,q=ie.value;return le||K&&q.done?{exit:!0,value:le?b.reject(q):b.resolve(y(void 0,!0))}:{exit:!1,value:q}};return o(c(p),{next:function(){var ie=W(this),le=ie.value;if(ie.exit)return le;var q=i(function(){return l(le.nextHandler(b))}),J=q.error,V=q.value;return J&&(le.done=!0),J?b.reject(V):b.resolve(V)},return:function(){var se=W(this),ie=se.value;if(se.exit)return ie;ie.done=!0;var le=ie.iterator,q,J,V=i(function(){if(ie.inner)try{_(ie.inner.iterator,"normal")}catch(ue){return _(le,"throw",ue)}return x(le,"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,le)}),J=V.value,V.error?b.reject(J):N?b.resolve(J):b.resolve(J).then(function(ue){return l(ue),y(void 0,!0)}))}})},M=D(!0),B=D(!1);f(B,A,"Async Iterator Helper"),d.exports=function(N,K){var G=function(se,ie){ie?(ie.iterator=se.iterator,ie.next=se.next):ie=se,ie.type=K?R:k,ie.nextHandler=N,ie.counter=0,ie.done=!1,C(this,ie)};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(A,k,R){l(A);var C=k!==void 0;(C||!p)&&i(k);var D=h(A),M=o("Promise"),B=D.iterator,N=D.next,K=0;return new M(function(G,W){var se=function(le){u(B,W,le,W)},ie=function(){try{if(C)try{f(K)}catch(le){se(le)}M.resolve(l(r(N,B))).then(function(le){try{if(l(le).done)p?(R.length=K,G(R)):G(b?!1:_||void 0);else{var q=le.value;try{if(C){var J=k(q,K),V=function(ue){if(y)ie();else if(_)ue?ie():u(B,G,!1,W);else if(p)try{R[K++]=ue,ie()}catch(ee){se(ee)}else ue?u(B,G,b||q,W):ie()};c(J)?M.resolve(J).then(V,se):V(J)}else R[K++]=q,ie()}catch(ue){se(ue)}}}catch(ue){W(ue)}},W)}catch(le){W(le)}};ie()})}};d.exports={toArray:a(0),forEach:a(1),every:a(2),some:a(3),find:a(4)}},41586:function(d,v,e){"use strict";var r=e(89945),i=e(63335),l=e(80449),c=e(31946),f=e(10731),o=e(31342),h=e(25587),u=e(28255),a=o(function(x){var p=this,y=p.iterator,_=p.mapper;return new x(function(b,A){var k=function(C){p.done=!0,A(C)},R=function(C){u(y,k,C,k)};x.resolve(l(r(p.next,y))).then(function(C){try{if(l(C).done)p.done=!0,b(h(void 0,!0));else{var D=C.value;try{var M=_(D,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(A){}_?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,A;return c(this),y=p!==void 0,y&&l(p),f(a)?new this:(_=[],y?(b=0,A=r(p,x>2?arguments[2]:void 0),o(a,function(k){i(h,_,A(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,A=_.getterFor;d.exports={getConstructor:function(k,R,C,D){var M=k(function(W,se){f(W,B),b(W,{type:R,index:r(null),first:void 0,last:void 0,size:0}),p||(W.size=0),o(se)||h(se,W[D],{that:W,AS_ENTRIES:C})}),B=M.prototype,N=A(R),K=function(W,se,ie){var le=N(W),q=G(W,se),J,V;return q?q.value=ie:(le.last=q={index:V=y(se,!0),key:se,value:ie,previous:J=le.last,next:void 0,removed:!1},le.first||(le.first=q),J&&(J.next=q),p?le.size++:W.size++,V!=="F"&&(le.index[V]=q)),W},G=function(W,se){var ie=N(W),le=y(se),q;if(le!=="F")return ie.index[le];for(q=ie.first;q;q=q.next)if(q.key===se)return q};return l(B,{clear:function(){for(var se=this,ie=N(se),le=ie.index,q=ie.first;q;)q.removed=!0,q.previous&&(q.previous=q.previous.next=void 0),delete le[q.index],q=q.next;ie.first=ie.last=void 0,p?ie.size=0:se.size=0},delete:function(W){var se=this,ie=N(se),le=G(se,W);if(le){var q=le.next,J=le.previous;delete ie.index[le.index],le.removed=!0,J&&(J.next=q),q&&(q.previous=J),ie.first===le&&(ie.first=q),ie.last===le&&(ie.last=J),p?ie.size--:se.size--}return!!le},forEach:function(se){for(var ie=N(this),le=c(se,arguments.length>1?arguments[1]:void 0),q;q=q?q.next:ie.first;)for(le(q.value,q.key,this);q&&q.removed;)q=q.previous},has:function(se){return!!G(this,se)}}),l(B,C?{get:function(se){var ie=G(this,se);return ie&&ie.value},set:function(se,ie){return K(this,se===0?0:se,ie)}}:{add:function(se){return K(this,se=se===0?0:se,se)}}),p&&i(B,"size",{configurable:!0,get:function(){return N(this).size}}),M},setStrong:function(k,R,C){var D=R+" Iterator",M=A(R),B=A(D);u(k,R,function(N,K){b(this,{type:D,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)},C?"entries":"values",!C,!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,A=a.findIndex,k=r([].splice),R=0,C=function(B){return B.frozen||(B.frozen=new D)},D=function(){this.entries=[]},M=function(B,N){return b(B.entries,function(K){return K[0]===N})};D.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=A(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 W=B(function(q,J){c(q,se),y(q,{type:N,id:R++,frozen:void 0}),o(J)||u(J,q[G],{that:q,AS_ENTRIES:K})}),se=W.prototype,ie=_(N),le=function(q,J,V){var ue=ie(q),ee=l(f(J),!0);return ee===!0?C(ue).set(J,V):ee[ue.id]=V,q};return i(se,{delete:function(q){var J=ie(this);if(!h(q))return!1;var V=l(q);return V===!0?C(J).delete(q):V&&x(V,J.id)&&delete V[J.id]},has:function(J){var V=ie(this);if(!h(J))return!1;var ue=l(J);return ue===!0?C(V).has(J):ue&&x(ue,V.id)}}),i(se,K?{get:function(J){var V=ie(this);if(h(J)){var ue=l(J);return ue===!0?C(V).get(J):ue?ue[V.id]:void 0}},set:function(J,V){return le(this,J,V)}}:{add:function(J){return le(this,J,!0)}}),W}}},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),A=e(25576);d.exports=function(k,R,C){var D=k.indexOf("Map")!==-1,M=k.indexOf("Weak")!==-1,B=D?"set":"add",N=i[k],K=N&&N.prototype,G=N,W={},se=function(ee){var Q=l(K[ee]);f(K,ee,ee==="add"?function(z){return Q(this,z===0?0:z),this}:ee==="delete"?function(ce){return M&&!p(ce)?!1:Q(this,ce===0?0:ce)}:ee==="get"?function(z){return M&&!p(z)?void 0:Q(this,z===0?0:z)}:ee==="has"?function(z){return M&&!p(z)?!1:Q(this,z===0?0:z)}:function(z,$){return Q(this,z===0?0:z,$),this})},ie=c(k,!a(N)||!(M||K.forEach&&!y(function(){new N().entries().next()})));if(ie)G=C.getConstructor(R,k,D,B),o.enable();else if(c(k,!0)){var le=new G,q=le[B](M?{}:-0,1)!==le,J=y(function(){le.has(1)}),V=_(function(ee){new N(ee)}),ue=!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 ce=A(new N,ee,G);return x(Q)||h(Q,ce[B],{that:ce,AS_ENTRIES:D}),ce}),G.prototype=K,K.constructor=G),(J||ue)&&(se("delete"),se("has"),D&&se("get")),(ue||q)&&se(B),M&&K.clear&&delete K.clear}return W[k]=G,r({global:!0,constructor:!0,forced:G!==N},W),b(G,k),M||C.setStrong(G,k,D),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),A=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 C=this,D=p(C),M=_(C),B=D<0?"-":D>9999?"+":"";return B+l(o(D),B?6:4,0)+"-"+l(A(C)+1,2,0)+"-"+l(x(C),2,0)+"T"+l(y(C),2,0)+":"+l(b(C),2,0)+":"+l(k(C),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,A,k,R,C;if(p?b=r:y?b=r[x]||f(x,{}):b=(r[x]||{}).prototype,b)for(A in a){if(R=a[A],u.dontCallGetSet?(C=i(b,A),k=C&&C.value):k=b[A],_=h(p?A:x+(y?".":"#")+A,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,A,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 C={};return C[_]=function(){return 7},""[a](C)!==7}),A=b&&!c(function(){var C=!1,D=/a/;return a==="split"&&(D={},D.constructor={},D.constructor[h]=function(){return D},D.flags="",D[_]=/./[_]),D.exec=function(){return C=!0,null},D[_](""),!C});if(!b||!A||p){var k=r(/./[_]),R=x(_,""[a],function(C,D,M,B,N){var K=r(C),G=D.exec;return G===l||G===u.exec?b&&!N?{done:!0,value:k(D,M,B)}:{done:!0,value:K(M,D,B)}:{done:!1}});i(String.prototype,a,R[0]),i(u,_,R[1])}y&&o(u[_],"sham",!0)}},3372:function(d,v,e){"use strict";var r=e(18589),i=e(82762),l=e(66434),c=e(80666),f=function(o,h,u,a,x,p,y,_){for(var b=x,A=0,k=y?c(y,_):!1,R,C;A<a;)A in u&&(R=k?k(u[A],A,h):u[A],p>0&&r(R)?(C=i(R),b=f(o,h,R,C,b,p-1)-1):(l(b+1),o[b]=R),b++),A++;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 A=[],k=0;k<_;k++)A[k]="a["+k+"]";x[_]=h("C,a","return new C("+a(A,",")+")")}return x[_](y,b)};d.exports=o?h.bind:function(_){var b=i(this),A=b.prototype,k=f(arguments,1),R=function(){var D=u(k,f(arguments));return this instanceof R?p(b,D.length,D):b.apply(_,D)};return l(A)&&(R.prototype=A),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,A){if(_)return _=!1,A;if(i(this))return A;for(var k=0;k<y;k++)if(a[k]===b)return A}}}},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 A=p+a.length,k=y.length,R=u;return _!==void 0&&(_=i(_),R=h),f(b,R,function(C,D){var M;switch(c(D,0)){case"$":return"$";case"&":return a;case"`":return o(x,0,p);case"'":return o(x,A);case"<":M=_[o(D,1,-1)];break;default:var B=+D;if(B===0)return C;if(B>k){var N=l(B/10);return N===0?C:N<=k?y[N-1]===void 0?c(D,1):y[N-1]+c(D,1):C}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,A=h<0||h===0&&1/h<0?1:0,k=0,R,C,D;for(h=e(h),h!==h||h===1/0?(C=h!==h?1:0,R=y):(R=i(l(h)/c),D=r(2,-R),h*D<1&&(R--,D*=2),R+_>=1?h+=b/D:h+=b*r(2,1-_),h*D>=2&&(R++,D/=2),R+_>=y?(C=0,R=y):R+_>=1?(C=(h*D-1)*r(2,u),R+=_):(C=h*r(2,_-1)*r(2,u),R=0));u>=8;)x[k++]=C&255,C/=256,u-=8;for(R=R<<u|C,p+=u;p>0;)x[k++]=R&255,R/=256,p-=8;return x[--k]|=A*128,x},o=function(h,u){var a=h.length,x=a*8-u-1,p=(1<<x)-1,y=p>>1,_=x-7,b=a-1,A=h[b--],k=A&127,R;for(A>>=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:A?-1/0:1/0;R+=r(2,u),k-=y}return(A?-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,A=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";A(B)}return B[_].objectID},R=function(B,N){if(!f(B,_)){if(!a(B))return!0;if(!N)return!1;A(B)}return B[_].weakData},C=function(B){return p&&y&&a(B)&&!f(B,_)&&A(B),B},D=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 W=B(G),se=0,ie=W.length;se<ie;se++)if(W[se]===_){N(W,se,1);break}return W},r({target:"Object",stat:!0,forced:!0},{getOwnPropertyNames:u.f}))},M=d.exports={enable:D,fastKey:k,getWeakData:R,onFreeze:C};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,A=function(D){return b(D)?_(D):y(D,{})},k=function(D){return function(M){var B;if(!l(M)||(B=_(M)).type!==D)throw new x("Incompatible receiver, "+D+" required");return B}};if(r||o.state){var R=o.state||(o.state=new p);R.get=R.get,R.has=R.has,R.set=R.set,y=function(D,M){if(R.has(D))throw new x(a);return M.facade=D,R.set(D,M),M},_=function(D){return R.get(D)||{}},b=function(D){return R.has(D)}}else{var C=h("state");u[C]=!0,y=function(D,M){if(f(D,C))throw new x(a);return M.facade=D,c(D,C,M),M},_=function(D){return f(D,C)?D[C]:{}},b=function(D){return f(D,C)}}d.exports={set:y,get:_,has:b,enforce:A,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 A;return _(_.call)||!_(Object)||!_(function(){A=!0})||A})?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,A){this.stopped=b,this.result=A},_=y.prototype;d.exports=function(b,A,k){var R=k&&k.that,C=!!(k&&k.AS_ENTRIES),D=!!(k&&k.IS_RECORD),M=!!(k&&k.IS_ITERATOR),B=!!(k&&k.INTERRUPTED),N=r(A,R),K,G,W,se,ie,le,q,J=function(ue){return K&&x(K,"normal",ue),new y(!0,ue)},V=function(ue){return C?(l(ue),B?N(ue[0],ue[1],J):N(ue[0],ue[1])):B?N(ue,J):N(ue)};if(D)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(W=0,se=o(b);se>W;W++)if(ie=V(b[W]),ie&&h(_,ie))return ie;return new y(!1)}K=u(b,G)}for(le=D?b.next:K.next;!(q=i(le,K)).done;){try{ie=V(q.value)}catch(ue){x(K,"throw",ue)}if(typeof ie=="object"&&ie&&h(_,ie))return ie}return new y(!1)}},67996:function(d,v,e){"use strict";var r=e(89945),i=e(80449),l=e(53776);d.exports=function(c,f,o){var h,u;i(c);try{if(h=l(c,"return"),!h){if(f==="throw")throw o;return o}h=r(h,c)}catch(a){u=!0,h=a}if(f==="throw")throw o;if(u)throw h;return i(h),o}},83126:function(d,v,e){"use strict";var r=e(46571).IteratorPrototype,i=e(20132),l=e(35012),c=e(94573),f=e(48074),o=function(){return this};d.exports=function(h,u,a,x){var p=u+" Iterator";return h.prototype=i(r,{next:l(+!x,a)}),c(h,p,!1,!0),f[p]=o,h}},20547:function(d,v,e){"use strict";var r=e(89945),i=e(20132),l=e(68151),c=e(66477),f=e(59893),o=e(94844),h=e(53776),u=e(46571).IteratorPrototype,a=e(25587),x=e(67996),p=f("toStringTag"),y="IteratorHelper",_="WrapForValidIterator",b=o.set,A=function(C){var D=o.getterFor(C?_:y);return c(i(u),{next:function(){var B=D(this);if(C)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=D(this),B=M.iterator;if(M.done=!0,C){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=A(!0),R=A(!1);l(R,p,"Iterator Helper"),d.exports=function(C,D){var M=function(N,K){K?(K.iterator=N.iterator,K.next=N.next):K=N,K.type=D?_:y,K.nextHandler=C,K.counter=0,K.done=!1,b(this,K)};return M.prototype=D?k:R,M}},24019:function(d,v,e){"use strict";var r=e(94488),i=e(89945),l=e(16697),c=e(8090),f=e(55327),o=e(83126),h=e(53456),u=e(58218),a=e(94573),x=e(68151),p=e(2291),y=e(59893),_=e(48074),b=e(46571),A=c.PROPER,k=c.CONFIGURABLE,R=b.IteratorPrototype,C=b.BUGGY_SAFARI_ITERATORS,D=y("iterator"),M="keys",B="values",N="entries",K=function(){return this};d.exports=function(G,W,se,ie,le,q,J){o(se,W,ie);var V=function(ke){if(ke===le&&z)return z;if(!C&&ke&&ke in Q)return Q[ke];switch(ke){case M:return function(){return new se(this,ke)};case B:return function(){return new se(this,ke)};case N:return function(){return new se(this,ke)}}return function(){return new se(this)}},ue=W+" Iterator",ee=!1,Q=G.prototype,ce=Q[D]||Q["@@iterator"]||le&&Q[le],z=!C&&ce||V(le),$=W==="Array"&&Q.entries||ce,ae,_e,De;if($&&(ae=h($.call(new G)),ae!==Object.prototype&&ae.next&&(!l&&h(ae)!==R&&(u?u(ae,R):f(ae[D])||p(ae,D,K)),a(ae,ue,!0,!0),l&&(_[ue]=K))),A&&le===B&&ce&&ce.name!==B&&(!l&&k?x(Q,"name",B):(ee=!0,z=function(){return i(ce,this)})),le)if(_e={values:V(B),keys:q?z:V(M),entries:V(N)},J)for(De in _e)(C||ee||!(De in Q))&&p(Q,De,_e[De]);else r({target:W,proto:!0,forced:C||ee},_e);return(!l||J)&&Q[D]!==z&&p(Q,D,z,{name:le}),_[W]=z,_e}},24771:function(d,v,e){"use strict";var r=e(89945),i=e(2155),l=function(c,f){return[f,c]};d.exports=function(){return r(i,this,l)}},2155:function(d,v,e){"use strict";var r=e(89945),i=e(63335),l=e(80449),c=e(10731),f=e(20547),o=e(46319),h=f(function(){var u=this.iterator,a=l(r(this.next,u)),x=this.done=!!a.done;if(!x)return o(u,this.mapper,[a.value,this.counter++],!0)});d.exports=function(a){return l(this),i(a),new h(c(this),{mapper:a})}},46571:function(d,v,e){"use strict";var r=e(3338),i=e(55327),l=e(31946),c=e(20132),f=e(53456),o=e(2291),h=e(59893),u=e(16697),a=h("iterator"),x=!1,p,y,_;[].keys&&(_=[].keys(),"next"in _?(y=f(f(_)),y!==Object.prototype&&(p=y)):x=!0);var b=!l(p)||r(function(){var A={};return p[a].call(A)!==A});b?p={}:u&&(p=c(p)),i(p[a])||o(p,a,function(){return this}),d.exports={IteratorPrototype:p,BUGGY_SAFARI_ITERATORS:x}},48074:function(d){"use strict";d.exports={}},82762:function(d,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),A=r([].join),k=f&&!i(function(){return y(function(){},"length",{value:8}).length!==8}),R=String(String).split("String"),C=d.exports=function(D,M,B){_(p(M),0,7)==="Symbol("&&(M="["+b(p(M),/^Symbol\(([^)]*)\)/,"$1")+"]"),B&&B.getter&&(M="get "+M),B&&B.setter&&(M="set "+M),(!c(D,"name")||o&&D.name!==M)&&(f?y(D,"name",{value:M,configurable:!0}):D.name=M),k&&B&&c(B,"arity")&&D.length!==B.arity&&y(D,"length",{value:B.arity});try{B&&c(B,"constructor")&&B.constructor?f&&y(D,"prototype",{writable:!1}):D.prototype&&(D.prototype=void 0)}catch(K){}var N=a(D);return c(N,"source")||(N.source=A(R,typeof M=="string"?M:"")),D};Function.prototype.toString=C(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"),A=b&&b.value,k,R,C,D,M;if(!A){var B=new f,N=function(){var K,G;for(a&&(K=y.domain)&&K.exit();G=B.get();)try{G()}catch(W){throw B.head&&k(),W}K&&K.enter()};!o&&!a&&!u&&x&&p?(R=!0,C=p.createTextNode(""),new x(N).observe(C,{characterData:!0}),k=function(){C.data=R=!R}):!h&&_&&_.resolve?(D=_.resolve(void 0),D.constructor=_,M=i(D.then,D),k=function(){M(N)}):a?k=function(){y.nextTick(N)}:(c=i(c,r),k=function(){c(N)}),A=function(K){B.head||k(),B.add(K)}}d.exports=A},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(_)),A=u(b);return A===0&&h(b,0)==="-"?-0:A}: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,A){var k=f(c(b));return h(k,A>>>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,C,D,M,B,N){if(typeof R!=M||C!==1/0&&C!==-1/0&&typeof C!=M)throw new _(u);if(R===1/0||R===-1/0)throw new y(u);var K=C>R,G=!1,W;if(D===void 0)W=void 0;else if(f(D))W=D.step,G=!!D.inclusive;else if(typeof D==M)W=D;else throw new _(u);if(c(W)&&(W=K?N:-N),typeof W!=M)throw new _(u);if(W===1/0||W===-1/0||W===B&&R!==C)throw new y(u);var se=R!==R||C!==C||W!==W||C>R!=W>B;x(this,{type:a,start:R,end:C,step:W,inclusive:G,hitsEnd:se,currentCount:B,zero:B}),h||(this.start=R,this.end=C,this.step=W,this.inclusive=G)},a,function(){var R=p(this);if(R.hitsEnd)return l(void 0,!0);var C=R.start,D=R.end,M=R.step,B=C+M*R.currentCount++;B===D&&(R.hitsEnd=!0);var N=R.inclusive,K;return D>C?K=N?B>D:B>=D:K=N?D>B:D>=B,K?(R.hitsEnd=!0,l(void 0,!0)):l(B,!1)}),A=function(k){o(b.prototype,k,{get:function(){return p(this)[k]},set:function(){},configurable:!0,enumerable:!1})};h&&(A("start"),A("end"),A("inclusive"),A("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={},A=Symbol("assign detection"),k="abcdefghijklmnopqrst";return _[A]=7,k.split("").forEach(function(R){b[R]=R}),x({},_)[A]!==7||f(x({},b)).join("")!==k})?function(b,A){for(var k=u(b),R=arguments.length,C=1,D=o.f,M=h.f;R>C;)for(var B=a(arguments[C++]),N=D?y(f(B),D(B)):f(B),K=N.length,G=0,W;K>G;)W=N[G++],(!r||l(M,B,W))&&(k[W]=B[W]);return k}:x},20132:function(d,v,e){"use strict";var r=e(80449),i=e(55666),l=e(46678),c=e(54406),f=e(75171),o=e(86060),h=e(11898),u=">",a="<",x="prototype",p="script",y=h("IE_PROTO"),_=function(){},b=function(D){return a+p+u+D+a+"/"+p+u},A=function(D){D.write(b("")),D.close();var M=D.parentWindow.Object;return D=null,M},k=function(){var D=o("iframe"),M="java"+p+":",B;return D.style.display="none",f.appendChild(D),D.src=String(M),B=D.contentWindow.document,B.open(),B.write(b("document.F=Object")),B.close(),B.F},R,C=function(){try{R=new ActiveXObject("htmlfile")}catch(M){}C=typeof document!="undefined"?document.domain&&R?A(R):k():A(R);for(var D=l.length;D--;)delete C[x][l[D]];return C()};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=C(),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,A){if(c(_),b=f(b),c(A),typeof _=="function"&&b==="prototype"&&"value"in A&&p in A&&!A[p]){var k=u(_,b);k&&k[p]&&(_[b]=A.value,A={configurable:x in A?A[x]:k[x],enumerable:a in A?A[a]:k[a],writable:!1})}return h(_,b,A)}:h:function(_,b,A){if(c(_),b=f(b),c(A),i)try{return h(_,b,A)}catch(k){}if("get"in A||"set"in A)throw new o("Accessors not supported");return"value"in A&&(_[b]=A.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(_),A=f(b),k=x&&c(b)===null,R=A.length,C=0,D=[],M;R>C;)M=A[C++],(!r||(k?M in b:u(b,M)))&&a(D,y?[M,b[M]]:b[M]);return D}};d.exports={entries:p(!0),values:p(!1)}},28488:function(d,v,e){"use strict";var r=e(68527),i=e(97607);d.exports=r?{}.toString:function(){return"[object "+i(this)+"]"}},44759:function(d,v,e){"use strict";var r=e(89945),i=e(55327),l=e(31946),c=TypeError;d.exports=function(f,o){var h,u;if(o==="string"&&i(h=f.toString)&&!l(u=r(h,f))||i(h=f.valueOf)&&!l(u=r(h,f))||o!=="string"&&i(h=f.toString)&&!l(u=r(h,f)))return u;throw new c("Can't convert object to primitive value")}},48662:function(d,v,e){"use strict";var r=e(65911),i=e(94237),l=e(80689),c=e(92635),f=e(80449),o=i([].concat);d.exports=r("Reflect","ownKeys")||function(u){var a=l.f(f(u)),x=c.f;return x?o(a,x(u)):a}},70913:function(d,v,e){"use strict";var r=e(94237),i=e(32621),l=SyntaxError,c=parseInt,f=String.fromCharCode,o=r("".charAt),h=r("".slice),u=r(/./.exec),a={'\\"':'"',"\\\\":"\\","\\/":"/","\\b":"\b","\\f":"\f","\\n":`
|
|
|
`,"\\r":"\r","\\t":" "},x=/^[\da-f]{4}$/i,p=/^[\u0000-\u001F]$/;d.exports=function(y,_){for(var b=!0,A="";_<y.length;){var k=o(y,_);if(k==="\\"){var R=h(y,_,_+2);if(i(a,R))A+=a[R],_+=2;else if(R==="\\u"){_+=2;var C=h(y,_,_+4);if(!u(x,C))throw new l("Bad Unicode escape at: "+_);A+=f(c(C,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: "+_);A+=k,_++}}if(b)throw new l("Unterminated string at: "+_);return{value:A,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),A=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 C=new i(function(B){B(1)}),D=function(B){B(function(){},function(){})},M=C.constructor={};if(M[y]=D,_=C.then(function(){})instanceof D,!_)return!0}return!R&&(h||u)&&!b});d.exports={CONSTRUCTOR:A,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(A,k,R){var C=u.get(A);if(!C){if(!R)return;u.set(A,C=new c)}var D=C.get(k);if(!D){if(!R)return;C.set(k,D=new c)}return D},x=function(A,k,R){var C=a(k,R,!1);return C===void 0?!1:C.has(A)},p=function(A,k,R){var C=a(k,R,!1);return C===void 0?void 0:C.get(A)},y=function(A,k,R,C){a(R,C,!0).set(A,k)},_=function(A,k){var R=a(A,k,!1),C=[];return R&&R.forEach(function(D,M){o(C,M)}),C},b=function(A){return A===void 0||typeof A=="symbol"?A:String(A)};d.exports={store:u,getMap:a,has:x,get:p,set:y,keys:_,toKey:b}},94338:function(d,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),A=i("".indexOf),k=i("".replace),R=i("".slice),C=function(){var N=/a/,K=/b*/g;return r(y,N,"a"),r(y,K,"a"),N.lastIndex!==0||K.lastIndex!==0}(),D=f.BROKEN_CARET,M=/()??/.exec("")[1]!==void 0,B=C||M||D||a||x;B&&(_=function(K){var G=this,W=u(G),se=l(K),ie=W.raw,le,q,J,V,ue,ee,Q;if(ie)return ie.lastIndex=G.lastIndex,le=r(_,ie,se),G.lastIndex=ie.lastIndex,le;var ce=W.groups,z=D&&G.sticky,$=r(c,G),ae=G.source,_e=0,De=se;if(z&&($=k($,"y",""),A($,"g")===-1&&($+="g"),De=R(se,G.lastIndex),G.lastIndex>0&&(!G.multiline||G.multiline&&b(se,G.lastIndex-1)!==`
|
|
|
`)&&(ae="(?: "+ae+")",De=" "+De,_e++),q=new RegExp("^(?:"+ae+")",$)),M&&(q=new RegExp("^"+ae+"$(?!\\s)",$)),C&&(J=G.lastIndex),V=r(y,z?q:G,De),z?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:C&&V&&(G.lastIndex=G.global?V.index+V[0].length:J),M&&V&&V.length>1&&r(p,V[0],q,function(){for(ue=1;ue<arguments.length-2;ue++)arguments[ue]===void 0&&(V[ue]=void 0)}),V&&ce)for(V.groups=ee=h(null),ue=0;ue<ce.length;ue++)Q=ce[ue],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 A=h(arguments.length,1)>y,k=l(_)?_:u(_),R=A?o(arguments,y):[],C=A?function(){i(k,this,R)}:k;return p?x(C,b):x(C)}: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(A){_.includes(A)&&a(b,A)}):h(_.getIterator(),function(A){u(y,A)&&a(b,A)}),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(A){a(y,A)&&u(b,A)}):f(y,function(A){_.includes(A)&&u(b,A)}),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 A=x[b++];if(A===void 0)throw new f("Incorrect template");if(o(_,l(A)),b===p)return h(_,"");b<y&&o(_,l(arguments[b]))}}},17691:function(d,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,A,k;return _<0||_>=b?a?"":void 0:(A=o(y,_),A<55296||A>56319||_+1===b||(k=o(y,_+1))<56320||k>57343?a?f(y,_):A:a?h(y,_,_+2):(A-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)),A=i(y),k=b.length,R=_===void 0?" ":l(_),C,D;return A<=k||R===""?b:(C=A-k,D=o(R,u(C/R.length)),D.length>C&&(D=h(D,0,C)),x?b+D:D+b)}};d.exports={start:a(!1),end:a(!0)}},79204:function(d,v,e){"use strict";var r=e(65911),i=e(94237),l=String.fromCharCode,c=r("String","fromCodePoint"),f=i("".charAt),o=i("".charCodeAt),h=i("".indexOf),u=i("".slice),a=48,x=57,p=97,y=102,_=65,b=70,A=function(C,D){var M=o(C,D);return M>=a&&M<=x},k=function(C,D,M){if(M>=C.length)return-1;for(var B=0;D<M;D++){var N=R(o(C,D));if(N===-1)return-1;B=B*16+N}return B},R=function(C){return C>=a&&C<=x?C-a:C>=p&&C<=y?C-p+10:C>=_&&C<=b?C-_+10:-1};d.exports=function(C){for(var D="",M=0,B=0,N;(B=h(C,"\\",B))>-1;){if(D+=u(C,M,B),++B===C.length)return;var K=f(C,B++);switch(K){case"b":D+="\b";break;case"t":D+=" ";break;case"n":D+=`
|
|
|
`;break;case"v":D+="\v";break;case"f":D+="\f";break;case"r":D+="\r";break;case"\r":B<C.length&&f(C,B)===`
|
|
|
`&&++B;case`
|
|
|
`:case"\u2028":case"\u2029":break;case"0":if(A(C,B))return;D+="\0";break;case"x":if(N=k(C,B,B+2),N===-1)return;B+=2,D+=l(N);break;case"u":if(B<C.length&&f(C,B)==="{"){var G=h(C,"}",++B);if(G===-1)return;N=k(C,B,G),B=G+1}else N=k(C,B,B+4),B+=4;if(N===-1||N>1114111)return;D+=c(N);break;default:if(A(K,0))return;D+=K}M=B}return D+u(C,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,A=RangeError,k=r(y.exec),R=Math.floor,C=String.fromCharCode,D=r("".charCodeAt),M=r([].join),B=r([].push),N=r("".replace),K=r("".split),G=r("".toLowerCase),W=function(q){for(var J=[],V=0,ue=q.length;V<ue;){var ee=D(q,V++);if(ee>=55296&&ee<=56319&&V<ue){var Q=D(q,V++);(Q&64512)===56320?B(J,((ee&1023)<<10)+(Q&1023)+65536):(B(J,ee),V--)}else B(J,ee)}return J},se=function(q){return q+22+75*(q<26)},ie=function(q,J,V){var ue=0;for(q=V?R(q/h):q>>1,q+=R(q/J);q>b*f>>1;)q=R(q/b),ue+=l;return R(ue+(b+1)*q/(q+o))},le=function(q){var J=[];q=W(q);var V=q.length,ue=a,ee=0,Q=u,ce,z;for(ce=0;ce<q.length;ce++)z=q[ce],z<128&&B(J,C(z));var $=J.length,ae=$;for($&&B(J,x);ae<V;){var _e=i;for(ce=0;ce<q.length;ce++)z=q[ce],z>=ue&&z<_e&&(_e=z);var De=ae+1;if(_e-ue>R((i-ee)/De))throw new A(_);for(ee+=(_e-ue)*De,ue=_e,ce=0;ce<q.length;ce++){if(z=q[ce],z<ue&&++ee>i)throw new A(_);if(z===ue){for(var ke=ee,He=l;;){var $e=He<=Q?c:He>=Q+f?f:He-Q;if(ke<$e)break;var Bt=ke-$e,gt=l-$e;B(J,C(se($e+Bt%gt))),ke=R(Bt/gt),He+=l}B(J,C(se(ke))),Q=ie(ee,De,ae===$),ee=0,ae++}}ee++,ue++}return M(J,"")};d.exports=function(q){var J=[],V=K(N(G(q),y,"."),"."),ue,ee;for(ue=0;ue<V.length;ue++)ee=V[ue],B(J,k(p,ee)?"xn--"+le(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(A){}d.exports=function(k){if(h&&h(k))return!0;try{for(var R=a(k),C=0,D=u(x),M=D.length;C<M;C++)if(x[D[C]]==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,A=r.process,k=r.Dispatch,R=r.Function,C=r.MessageChannel,D=r.String,M=0,B={},N="onreadystatechange",K,G,W,se;o(function(){K=r.location});var ie=function(V){if(f(B,V)){var ue=B[V];delete B[V],ue()}},le=function(V){return function(){ie(V)}},q=function(V){ie(V.data)},J=function(V){r.postMessage(D(V),K.protocol+"//"+K.host)};(!_||!b)&&(_=function(ue){x(arguments.length,1);var ee=c(ue)?ue:R(ue),Q=u(arguments,1);return B[++M]=function(){i(ee,void 0,Q)},G(M),M},b=function(ue){delete B[ue]},y?G=function(V){A.nextTick(le(V))}:k&&k.now?G=function(V){k.now(le(V))}:C&&!p?(W=new C,se=W.port2,W.port1.onmessage=q,G=l(se.postMessage,se)):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),ie(V)}}:G=function(V){setTimeout(le(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),A=e(86350),k=e(17818),R=e(32621),C=e(97607),D=e(31946),M=e(18446),B=e(20132),N=e(16332),K=e(58218),G=e(80689).f,W=e(50706),se=e(90560).forEach,ie=e(51996),le=e(64110),q=e(37691),J=e(71256),V=e(94844),ue=e(25576),ee=V.get,Q=V.set,ce=V.enforce,z=q.f,$=J.f,ae=i.RangeError,_e=h.ArrayBuffer,De=_e.prototype,ke=h.DataView,He=o.NATIVE_ARRAY_BUFFER_VIEWS,$e=o.TYPED_ARRAY_TAG,Bt=o.TypedArray,gt=o.TypedArrayPrototype,Dt=o.aTypedArrayConstructor,nr=o.isTypedArray,Xt="BYTES_PER_ELEMENT",cr="Wrong length",Ge=function(tt,Ue){Dt(tt);for(var ye=0,Ce=Ue.length,Me=new tt(Ce);Ce>ye;)Me[ye]=Ue[ye++];return Me},Tt=function(tt,Ue){le(tt,Ue,{configurable:!0,get:function(){return ee(this)[Ue]}})},Ut=function(tt){var Ue;return N(De,tt)||(Ue=C(tt))==="ArrayBuffer"||Ue==="SharedArrayBuffer"},at=function(tt,Ue){return nr(tt)&&!M(Ue)&&Ue in tt&&p(+Ue)&&Ue>=0},bt=function(Ue,ye){return ye=k(ye),at(Ue,ye)?a(2,Ue[ye]):$(Ue,ye)},dt=function(Ue,ye,Ce){return ye=k(ye),at(Ue,ye)&&D(Ce)&&R(Ce,"value")&&!R(Ce,"get")&&!R(Ce,"set")&&!Ce.configurable&&(!R(Ce,"writable")||Ce.writable)&&(!R(Ce,"enumerable")||Ce.enumerable)?(Ue[ye]=Ce.value,Ue):z(Ue,ye,Ce)};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(tt,Ue,ye){var Ce=tt.match(/\d+/)[0]/8,Me=tt+(ye?"Clamped":"")+"Array",je="get"+tt,We="set"+tt,nt=i[Me],lt=nt,Vt=lt&<.prototype,Ht={},Pe=function(Zt,Nt){var tr=ee(Zt);return tr.view[je](Nt*Ce+tr.byteOffset,!0)},et=function(Zt,Nt,tr){var Wt=ee(Zt);Wt.view[We](Nt*Ce+Wt.byteOffset,ye?A(tr):tr,!0)},Kt=function(Zt,Nt){z(Zt,Nt,{get:function(){return Pe(this,Nt)},set:function(tr){return et(this,Nt,tr)},enumerable:!0})};He?f&&(lt=Ue(function(Zt,Nt,tr,Wt){return u(Zt,Vt),ue(function(){return D(Nt)?Ut(Nt)?Wt!==void 0?new nt(Nt,b(tr,Ce),Wt):tr!==void 0?new nt(Nt,b(tr,Ce)):new nt(Nt):nr(Nt)?Ge(lt,Nt):l(W,lt,Nt):new nt(_(Nt))}(),Zt,lt)}),K&&K(lt,Bt),se(G(nt),function(Zt){Zt in lt||x(lt,Zt,nt[Zt])}),lt.prototype=Vt):(lt=Ue(function(Zt,Nt,tr,Wt){u(Zt,Vt);var Fe=0,fe=0,pe,Pt,Ie;if(!D(Nt))Ie=_(Nt),Pt=Ie*Ce,pe=new _e(Pt);else if(Ut(Nt)){pe=Nt,fe=b(tr,Ce);var ct=Nt.byteLength;if(Wt===void 0){if(ct%Ce)throw new ae(cr);if(Pt=ct-fe,Pt<0)throw new ae(cr)}else if(Pt=y(Wt)*Ce,Pt+fe>ct)throw new ae(cr);Ie=Pt/Ce}else return nr(Nt)?Ge(lt,Nt):l(W,lt,Nt);for(Q(Zt,{buffer:pe,byteOffset:fe,byteLength:Pt,length:Ie,view:new ke(pe)});Fe<Ie;)Kt(Zt,Fe++)}),K&&K(lt,Bt),Vt=lt.prototype=B(gt)),Vt.constructor!==lt&&x(Vt,"constructor",lt),ce(Vt).TypedArrayConstructor=lt,$e&&x(Vt,$e,Me);var kt=lt!==nt;Ht[Me]=lt,r({global:!0,constructor:!0,forced:kt,sham:!He},Ht),Xt in lt||x(lt,Xt,Ce),Xt in Vt||x(Vt,Xt,Ce),ie(Me)}):d.exports=function(){}},59627:function(d,v,e){"use strict";var r=e(92916),i=e(3338),l=e(35221),c=e(58261).NATIVE_ARRAY_BUFFER_VIEWS,f=r.ArrayBuffer,o=r.Int8Array;d.exports=!c||!i(function(){o(1)})||!i(function(){new o(-1)})||!l(function(h){new o,new o(null),new o(1.5),new o(h)},!0)||i(function(){return new o(new f(2),1,void 0).length!==1})},27607:function(d,v,e){"use strict";var r=e(69478),i=e(31384);d.exports=function(l,c){return r(i(l),c)}},50706:function(d,v,e){"use strict";var r=e(80666),i=e(89945),l=e(6086),c=e(94029),f=e(82762),o=e(85428),h=e(26006),u=e(345),a=e(75406),x=e(58261).aTypedArrayConstructor,p=e(93303);d.exports=function(_){var b=l(this),A=c(_),k=arguments.length,R=k>1?arguments[1]:void 0,C=R!==void 0,D=h(A),M,B,N,K,G,W,se,ie;if(D&&!u(D))for(se=o(A,D),ie=se.next,A=[];!(W=i(ie,se)).done;)A.push(W.value);for(C&&k>2&&(R=r(R,arguments[2])),B=f(A),N=new(x(b))(B),K=a(N),M=0;B>M;M++)G=C?R(A[M],M):A[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,A,k,R){var C="stackTraceLimit",D=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"),W=A(function(se,ie){var le=a(R?ie:se,void 0),q=R?new N(se):new N;return le!==void 0&&l(q,"message",le),p(q,W,q.stack,2),this&&c(K,this)&&u(q,this,W),arguments.length>D&&x(q,arguments[D]),q});if(W.prototype=K,B!=="Error"?f?f(W,G):o(W,G,{name:!0}):y&&C in N&&(h(W,N,C),h(W,N,"prepareStackTrace")),o(W,N),!_)try{K.name!==B&&l(K,"name",B),K.constructor=W}catch(se){}return W}}},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"),A=Error,k=[].push,R=function(M,B){var N=i(C,this),K;c?K=c(new A,N?l(this):C):(K=N?this:o(C),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,A):f(R,A,{name:!0});var C=R.prototype=o(A.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),A=l(function(){return!new a(2).slice(1,void 0).byteLength});r({target:"ArrayBuffer",proto:!0,unsafe:!0,forced:A},{slice:function(R,C){if(y&&C===void 0)return y(f(this),R);for(var D=f(this).byteLength,M=o(R,D),B=o(C===void 0?D:C,D),N=new(u(this,a))(h(B-M)),K=new x(this),G=new x(N),W=0;M<B;)b(G,W++,_(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}),A=function(R){if(!c(R))return!1;var C=R[_];return C!==void 0?!!C:l(R)},k=!b||!x("concat");r({target:"Array",proto:!0,arity:1,forced:k},{concat:function(C){var D=f(this),M=a(D,0),B=0,N,K,G,W,se;for(N=-1,G=arguments.length;N<G;N++)if(se=N===-1?D:arguments[N],A(se))for(W=o(se),h(B+W),K=0;K<W;K++,B++)K in se&&u(M,B,se[K]);else h(B+1),u(M,B++,se);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,A){p(this,{type:x,target:r(b),index:0,kind:A})},function(){var b=y(this),A=b.target,k=b.index++;if(!A||k>=A.length)return b.target=void 0,h(void 0,!0);switch(b.kind){case"keys":return h(k,!1);case"values":return h(A[k],!1)}return h([k,A[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 A=0;A<b;A++)y[_]=arguments[A],_++;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,A=Math.max;r({target:"Array",proto:!0,forced:!y},{slice:function(R,C){var D=h(this),M=o(D),B=f(R,M),N=f(C===void 0?M:C,M),K,G,W;if(i(D)&&(K=D.constructor,l(K)&&(K===b||i(K.prototype))?K=void 0:c(K)&&(K=K[_],K===null&&(K=void 0)),K===b||K===void 0))return p(D,B,N);for(G=new(K===void 0?b:K)(A(N-B,0)),W=0;B<N;B++,W++)B in D&&u(G,W,D[B]);return G.length=W,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),A=[],k=i(A.sort),R=i(A.push),C=u(function(){A.sort(void 0)}),D=u(function(){A.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="",W,se,ie,le;for(W=65;W<76;W++){switch(se=String.fromCharCode(W),W){case 66:case 69:case 70:case 72:ie=3;break;case 68:case 71:ie=4;break;default:ie=2}for(le=0;le<47;le++)A.push({k:se+le,v:ie})}for(A.sort(function(q,J){return J.v-q.v}),le=0;le<A.length;le++)se=A[le].k.charAt(0),G.charAt(G.length-1)!==se&&(G+=se);return G!=="DGBEFHACIJK"}}),N=C||!D||!M||!B,K=function(G){return function(W,se){return se===void 0?-1:W===void 0?1:G!==void 0?+G(W,se)||0:h(W)>h(se)?1:-1}};r({target:"Array",proto:!0,forced:N},{sort:function(W){W!==void 0&&l(W);var se=c(this);if(B)return W===void 0?k(se):k(se,W);var ie=[],le=f(se),q,J;for(J=0;J<le;J++)J in se&&R(ie,se[J]);for(a(ie,K(W)),q=f(ie),J=0;J<q;)se[J]=ie[J++];for(;J<le;)o(se,J++);return se}})},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 C=i(this),D=f(C),M=l(k,D),B=arguments.length,N,K,G,W,se,ie;for(B===0?N=K=0:B===1?(N=0,K=D-M):(N=B-2,K=b(_(c(R),0),D-M)),h(D+N-K),G=u(C,K),W=0;W<K;W++)se=M+W,se in C&&a(G,W,C[se]);if(G.length=K,N<K){for(W=M;W<D-K;W++)se=W+K,ie=W+N,se in C?C[ie]=C[se]:x(C,ie);for(W=D;W>D-K+N;W--)x(C,W-1)}else if(N>K)for(W=D-K;W>M;W--)se=W+K-1,ie=W+N-1,se in C?C[ie]=C[se]:x(C,ie);for(W=0;W<N;W++)C[W+M]=arguments[W+2];return o(C,D-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),A=c(b),k=f(y,A),R=arguments.length,C=0,D,M,B,N;for(R===0?D=M=0:R===1?(D=0,M=A-k):(D=R-2,M=x(a(h(_),0),A-k)),B=l(A+D-M),N=u(B);C<k;C++)N[C]=b[C];for(;C<k+D;C++)N[C]=arguments[C-k+2];for(;C<B;C++)N[C]=b[C+M-D];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 A=_;A--;){var k=A+b;A in y?y[k]=y[A]: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="",A=_.length,k=0,R,C;k<A;)R=c(_,k++),o(a,R)?b+=R:(C=f(R,0),C<256?b+="%"+x(C,2):b+="%u"+u(x(C,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),A=f("".charAt),k=f("".charCodeAt),R=f("".replace),C=f(1 .toString),D=/[\uD800-\uDFFF]/g,M=/^[\uD800-\uDBFF]$/,B=/^[\uDC00-\uDFFF]$/,N=!p||o(function(){var se=i("Symbol")("stringify detection");return _([se])!=="[null]"||_({a:se})!=="{}"||_(Object(se))!=="{}"}),K=o(function(){return _("\uDF06\uD834")!=='"\\udf06\\ud834"'||_("\uDEAD")!=='"\\udead"'}),G=function(se,ie){var le=a(arguments),q=x(ie);if(!(!h(q)&&(se===void 0||u(se))))return le[1]=function(J,V){if(h(q)&&(V=c(q,this,y(J),V)),!u(V))return V},l(_,null,le)},W=function(se,ie,le){var q=A(le,ie-1),J=A(le,ie+1);return b(M,se)&&!b(B,J)||b(B,se)&&!b(M,q)?"\\u"+C(k(se,0),16):se};_&&r({target:"JSON",stat:!0,arity:3,forced:N||K},{stringify:function(ie,le,q){var J=a(arguments),V=l(N?G:_,null,J);return K&&typeof V=="string"?R(V,D,W):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,A){c(b),l(A);var k=new u,R=0;return f(b,function(C){var D=A(C,R++);a(k,D)?y(x(k,D),C):p(k,D,[C])}),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,A=e(71256).f,k=e(37691).f,R=e(49228),C=e(52971).trim,D="Number",M=c[D],B=f[D],N=M.prototype,K=c.TypeError,G=o("".slice),W=o("".charCodeAt),se=function(ue){var ee=y(ue,"number");return typeof ee=="bigint"?ee:ie(ee)},ie=function(ue){var ee=y(ue,"number"),Q,ce,z,$,ae,_e,De,ke;if(p(ee))throw new K("Cannot convert a Symbol value to a number");if(typeof ee=="string"&&ee.length>2){if(ee=C(ee),Q=W(ee,0),Q===43||Q===45){if(ce=W(ee,2),ce===88||ce===120)return NaN}else if(Q===48){switch(W(ee,1)){case 66:case 98:z=2,$=49;break;case 79:case 111:z=8,$=55;break;default:return+ee}for(ae=G(ee,2),_e=ae.length,De=0;De<_e;De++)if(ke=W(ae,De),ke<48||ke>$)return NaN;return parseInt(ae,z)}}return+ee},le=h(D,!M(" 0o1")||!M("0b1")||M("+0x1")),q=function(ue){return x(N,ue)&&_(function(){R(ue)})},J=function(ee){var Q=arguments.length<1?0:M(se(ee));return q(this)?a(Object(Q),this,J):Q};J.prototype=N,le&&!i&&(N.constructor=J),r({global:!0,constructor:!0,wrap:!0,forced:le},{Number:J});var V=function(ue,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(","),ce=0,z;Q.length>ce;ce++)u(ee,z=Q[ce])&&!u(ue,z)&&k(ue,z,A(ee,z))};i&&B&&V(f[D],B),(le||i)&&V(f[D],M)},31919:function(d,v,e){"use strict";var r=e(94488);r({target:"Number",stat:!0,nonConfigurable:!0,nonWritable:!0},{EPSILON:Math.pow(2,-52)})},51284:function(d,v,e){"use strict";var r=e(94488),i=e(1222);r({target:"Number",stat:!0},{isFinite:i})},10177:function(d,v,e){"use strict";var r=e(94488),i=e(62896);r({target:"Number",stat:!0},{isInteger:i})},85690:function(d,v,e){"use strict";var r=e(94488);r({target:"Number",stat:!0},{isNaN:function(l){return l!==l}})},92114:function(d,v,e){"use strict";var r=e(94488),i=e(62896),l=Math.abs;r({target:"Number",stat:!0},{isSafeInteger:function(f){return i(f)&&l(f)<=9007199254740991}})},1017:function(d,v,e){"use strict";var r=e(94488);r({target:"Number",stat:!0,nonConfigurable:!0,nonWritable:!0},{MAX_SAFE_INTEGER:9007199254740991})},14480:function(d,v,e){"use strict";var r=e(94488);r({target:"Number",stat:!0,nonConfigurable:!0,nonWritable:!0},{MIN_SAFE_INTEGER:-9007199254740991})},40516:function(d,v,e){"use strict";var r=e(94488),i=e(31280);r({target:"Number",stat:!0,forced:Number.parseFloat!==i},{parseFloat:i})},76345:function(d,v,e){"use strict";var r=e(94488),i=e(52446);r({target:"Number",stat:!0,forced:Number.parseInt!==i},{parseInt:i})},7282:function(d,v,e){"use strict";var r=e(94488),i=e(94237),l=e(56902),c=e(49228),f=e(71049),o=e(53309),h=e(3338),u=RangeError,a=String,x=isFinite,p=Math.abs,y=Math.floor,_=Math.pow,b=Math.round,A=i(1 .toExponential),k=i(f),R=i("".slice),C=A(-69e-12,4)==="-6.9000e-11"&&A(1.255,2)==="1.25e+0"&&A(12345,3)==="1.235e+4"&&A(25,0)==="3e+1",D=function(){return h(function(){A(1,1/0)})&&h(function(){A(1,-1/0)})},M=function(){return!h(function(){A(1/0,1/0),A(NaN,1/0)})},B=!C||!D()||!M();r({target:"Number",proto:!0,forced:B},{toExponential:function(K){var G=c(this);if(K===void 0)return A(G);var W=l(K);if(!x(G))return String(G);if(W<0||W>20)throw new u("Incorrect fraction digits");if(C)return A(G,W);var se="",ie="",le=0,q="",J="";if(G<0&&(se="-",G=-G),G===0)le=0,ie=k("0",W+1);else{var V=o(G);le=y(V);var ue=0,ee=_(10,le-W);ue=b(G/ee),2*G>=(2*ue+1)*ee&&(ue+=1),ue>=_(10,W+1)&&(ue/=10,le+=1),ie=a(ue)}return W!==0&&(ie=R(ie,0,1)+"."+R(ie,1)),le===0?(q="+",J="0"):(q=le>0?"+":"-",J=a(p(le))),ie+="e"+q+J,se+ie}})},58055:function(d,v,e){"use strict";var r=e(94488),i=e(94237),l=e(56902),c=e(49228),f=e(71049),o=e(3338),h=RangeError,u=String,a=Math.floor,x=i(f),p=i("".slice),y=i(1 .toFixed),_=function(D,M,B){return M===0?B:M%2===1?_(D,M-1,B*D):_(D*D,M/2,B)},b=function(D){for(var M=0,B=D;B>=4096;)M+=12,B/=4096;for(;B>=2;)M+=1,B/=2;return M},A=function(D,M,B){for(var N=-1,K=B;++N<6;)K+=M*D[N],D[N]=K%1e7,K=a(K/1e7)},k=function(D,M){for(var B=6,N=0;--B>=0;)N+=D[B],D[B]=a(N/M),N=N%M*1e7},R=function(D){for(var M=6,B="";--M>=0;)if(B!==""||M===0||D[M]!==0){var N=u(D[M]);B=B===""?N:B+x("0",7-N.length)+N}return B},C=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:C},{toFixed:function(M){var B=c(this),N=l(M),K=[0,0,0,0,0,0],G="",W="0",se,ie,le,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(se=b(B*_(2,69,1))-69,ie=se<0?B*_(2,-se,1):B/_(2,se,1),ie*=4503599627370496,se=52-se,se>0){for(A(K,0,ie),le=N;le>=7;)A(K,1e7,0),le-=7;for(A(K,_(10,le,1),0),le=se-1;le>=23;)k(K,8388608),le-=23;k(K,1<<le),A(K,1,1),k(K,2),W=R(K)}else A(K,0,ie),A(K,1<<-se,0),W=R(K)+x("0",N);return N>0?(q=W.length,W=G+(q<=N?"0."+x("0",N-q)+W:p(W,0,q-N)+"."+p(W,q-N))):W=G+W,W}})},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,A;p.length>_;)A=x(a,b=p[_++]),A!==void 0&&o(y,b,A);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(A){var k=o(y(A,b++));k in _?a(_[k],A):_[k]=[A]}),_}})},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 A=l(x.resolve),k=[],R=0,C=1;o(a,function(D){var M=R++,B=!1;C++,i(A,x,D).then(function(N){B||(B=!0,k[M]={status:"fulfilled",value:N},--C||y(k))},function(N){B||(B=!0,k[M]={status:"rejected",reason:N},--C||y(k))})}),--C||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 A=l(x.resolve),k=[],R=0,C=1;o(a,function(D){var M=R++,B=!1;C++,i(A,x,D).then(function(N){B||(B=!0,k[M]=N,--C||y(k))},_)}),--C||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),A=b.resolve,k=b.reject,R=o(function(){var C=l(y.resolve),D=[],M=0,B=1,N=!1;h(p,function(K){var G=M++,W=!1;B++,i(C,y,K).then(function(se){W||N||(N=!0,A(se))},function(se){W||N||(W=!0,D[G]=se,--B||k(new _(D,a)))})}),--B||k(new _(D,a))});return R.error&&k(R.value),b.promise}})},41902:function(d,v,e){"use strict";var r=e(94488),i=e(16697),l=e(82830).CONSTRUCTOR,c=e(2451),f=e(65911),o=e(55327),h=e(2291),u=c&&c.prototype;if(r({target:"Promise",proto:!0,forced:l,real:!0},{catch:function(x){return this.then(void 0,x)}}),!i&&o(c)){var a=f("Promise").prototype.catch;u.catch!==a&&h(u,"catch",a,{unsafe:!0})}},90366:function(d,v,e){"use strict";var r=e(94488),i=e(16697),l=e(90946),c=e(92916),f=e(89945),o=e(2291),h=e(58218),u=e(94573),a=e(51996),x=e(63335),p=e(55327),y=e(31946),_=e(56472),b=e(60473),A=e(28887).set,k=e(72933),R=e(61810),C=e(80734),D=e(66790),M=e(94844),B=e(2451),N=e(82830),K=e(73446),G="Promise",W=N.CONSTRUCTOR,se=N.REJECTION_EVENT,ie=N.SUBCLASSING,le=M.getterFor(G),q=M.set,J=B&&B.prototype,V=B,ue=J,ee=c.TypeError,Q=c.document,ce=c.process,z=K.f,$=z,ae=!!(Q&&Q.createEvent&&c.dispatchEvent),_e="unhandledrejection",De="rejectionhandled",ke=0,He=1,$e=2,Bt=1,gt=2,Dt,nr,Xt,cr,Ge=function(Me){var je;return y(Me)&&p(je=Me.then)?je:!1},Tt=function(Me,je){var We=je.value,nt=je.state===He,lt=nt?Me.ok:Me.fail,Vt=Me.resolve,Ht=Me.reject,Pe=Me.domain,et,Kt,kt;try{lt?(nt||(je.rejection===gt&&tt(je),je.rejection=Bt),lt===!0?et=We:(Pe&&Pe.enter(),et=lt(We),Pe&&(Pe.exit(),kt=!0)),et===Me.promise?Ht(new ee("Promise-chain cycle")):(Kt=Ge(et))?f(Kt,et,Vt,Ht):Vt(et)):Ht(We)}catch(Zt){Pe&&!kt&&Pe.exit(),Ht(Zt)}},Ut=function(Me,je){Me.notified||(Me.notified=!0,k(function(){for(var We=Me.reactions,nt;nt=We.get();)Tt(nt,Me);Me.notified=!1,je&&!Me.rejection&&bt(Me)}))},at=function(Me,je,We){var nt,lt;ae?(nt=Q.createEvent("Event"),nt.promise=je,nt.reason=We,nt.initEvent(Me,!1,!0),c.dispatchEvent(nt)):nt={promise:je,reason:We},!se&&(lt=c["on"+Me])?lt(nt):Me===_e&&R("Unhandled promise rejection",We)},bt=function(Me){f(A,c,function(){var je=Me.facade,We=Me.value,nt=dt(Me),lt;if(nt&&(lt=C(function(){l?ce.emit("unhandledRejection",We,je):at(_e,je,We)}),Me.rejection=l||dt(Me)?gt:Bt,lt.error))throw lt.value})},dt=function(Me){return Me.rejection!==Bt&&!Me.parent},tt=function(Me){f(A,c,function(){var je=Me.facade;l?ce.emit("rejectionHandled",je):at(De,je,Me.value)})},Ue=function(Me,je,We){return function(nt){Me(je,nt,We)}},ye=function(Me,je,We){Me.done||(Me.done=!0,We&&(Me=We),Me.value=je,Me.state=$e,Ut(Me,!0))},Ce=function(Me,je,We){if(!Me.done){Me.done=!0,We&&(Me=We);try{if(Me.facade===je)throw new ee("Promise can't be resolved itself");var nt=Ge(je);nt?k(function(){var lt={done:!1};try{f(nt,je,Ue(Ce,lt,Me),Ue(ye,lt,Me))}catch(Vt){ye(lt,Vt,Me)}}):(Me.value=je,Me.state=He,Ut(Me,!1))}catch(lt){ye({done:!1},lt,Me)}}};if(W&&(V=function(je){_(this,ue),x(je),f(Dt,this);var We=le(this);try{je(Ue(Ce,We),Ue(ye,We))}catch(nt){ye(We,nt)}},ue=V.prototype,Dt=function(je){q(this,{type:G,done:!1,notified:!1,parent:!1,reactions:new D,rejection:!1,state:ke,value:void 0})},Dt.prototype=o(ue,"then",function(je,We){var nt=le(this),lt=z(b(this,V));return nt.parent=!0,lt.ok=p(je)?je:!0,lt.fail=p(We)&&We,lt.domain=l?ce.domain:void 0,nt.state===ke?nt.reactions.add(lt):k(function(){Tt(lt,nt)}),lt.promise}),nr=function(){var Me=new Dt,je=le(Me);this.promise=Me,this.resolve=Ue(Ce,je),this.reject=Ue(ye,je)},K.f=z=function(Me){return Me===V||Me===Xt?new nr(Me):$(Me)},!i&&p(B)&&J!==Object.prototype)){cr=J.then,ie||o(J,"then",function(je,We){var nt=this;return new V(function(lt,Vt){f(cr,nt,lt,Vt)}).then(je,We)},{unsafe:!0});try{delete J.constructor}catch(Me){}h&&h(J,ue)}r({global:!0,constructor:!0,wrap:!0,forced:W},{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")),A=o(_);return this.then(A?function(k){return u(b,_()).then(function(){return k})}:_,A?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(A){i(b,x,A).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(){})}),A=_||b;r({target:"Reflect",stat:!0,forced:A,sham:A},{construct:function(R,C){f(R),o(C);var D=arguments.length<3?R:f(arguments[2]);if(b&&!_)return x(R,C,D);if(R===D){switch(C.length){case 0:return new R;case 1:return new R(C[0]);case 2:return new R(C[0],C[1]);case 3:return new R(C[0],C[1],C[2]);case 4:return new R(C[0],C[1],C[2],C[3])}var M=[null];return l(y,M,C),new(l(c,R,M))}var B=D.prototype,N=u(h(B)?B:p),K=l(R,N,C);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,A){var k=arguments.length<4?_:arguments[3],R=u.f(l(_),b),C,D,M;if(!R){if(c(D=a(_)))return p(D,b,A,k);R=x(0)}if(f(R)){if(R.writable===!1||!c(k))return!1;if(C=u.f(k,b)){if(C.get||C.set||C.writable===!1)return!1;C.value=A,h.f(k,b,C)}else h.f(k,b,x(0,A))}else{if(M=R.set,M===void 0)return!1;i(M,k,A)}return!0}var y=o(function(){var _=function(){},b=h.f(new _,"a",{configurable:!0});return Reflect.set(_.prototype,"a",1,b)!==!1});r({target:"Reflect",stat:!0,forced:y},{set:p})},6536:function(d,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),A=e(2291),k=e(3338),R=e(32621),C=e(94844).enforce,D=e(51996),M=e(59893),B=e(6041),N=e(51224),K=M("match"),G=i.RegExp,W=G.prototype,se=i.SyntaxError,ie=l(W.exec),le=l("".charAt),q=l("".replace),J=l("".indexOf),V=l("".slice),ue=/^\?<[^\s\d!#%&*+<=>@^][^\s!#%&*+<=>@^]*>/,ee=/a/g,Q=/a/g,ce=new G(ee)!==ee,z=_.MISSED_STICKY,$=_.UNSUPPORTED_Y,ae=r&&(!ce||z||B||N||k(function(){return Q[K]=!1,G(ee)!==ee||G(Q)===Q||String(G(ee,"i"))!=="/a/i"})),_e=function(Bt){for(var gt=Bt.length,Dt=0,nr="",Xt=!1,cr;Dt<=gt;Dt++){if(cr=le(Bt,Dt),cr==="\\"){nr+=cr+le(Bt,++Dt);continue}!Xt&&cr==="."?nr+="[\\s\\S]":(cr==="["?Xt=!0:cr==="]"&&(Xt=!1),nr+=cr)}return nr},De=function(Bt){for(var gt=Bt.length,Dt=0,nr="",Xt=[],cr=h(null),Ge=!1,Tt=!1,Ut=0,at="",bt;Dt<=gt;Dt++){if(bt=le(Bt,Dt),bt==="\\")bt+=le(Bt,++Dt);else if(bt==="]")Ge=!1;else if(!Ge)switch(!0){case bt==="[":Ge=!0;break;case bt==="(":ie(ue,V(Bt,Dt+1))&&(Dt+=2,Tt=!0),nr+=bt,Ut++;continue;case(bt===">"&&Tt):if(at===""||R(cr,at))throw new se("Invalid capture group name");cr[at]=!0,Xt[Xt.length]=[at,Ut],Tt=!1,at="";continue}Tt?at+=bt:nr+=bt}return[nr,Xt]};if(c("RegExp",ae)){for(var ke=function(gt,Dt){var nr=a(W,this),Xt=x(gt),cr=Dt===void 0,Ge=[],Tt=gt,Ut,at,bt,dt,tt,Ue;if(!nr&&Xt&&cr&>.constructor===ke)return gt;if((Xt||a(W,gt))&&(gt=gt.source,cr&&(Dt=y(Tt))),gt=gt===void 0?"":p(gt),Dt=Dt===void 0?"":p(Dt),Tt=gt,B&&"dotAll"in ee&&(at=!!Dt&&J(Dt,"s")>-1,at&&(Dt=q(Dt,/s/g,""))),Ut=Dt,z&&"sticky"in ee&&(bt=!!Dt&&J(Dt,"y")>-1,bt&&$&&(Dt=q(Dt,/y/g,""))),N&&(dt=De(gt),gt=dt[0],Ge=dt[1]),tt=f(G(gt,Dt),nr?this:W,ke),(at||bt||Ge.length)&&(Ue=C(tt),at&&(Ue.dotAll=!0,Ue.raw=ke(_e(gt),Ut)),bt&&(Ue.sticky=!0),Ge.length&&(Ue.groups=Ge)),gt!==Tt)try{o(tt,"source",Tt===""?"(?:)":Tt)}catch(ye){}return tt},He=u(G),$e=0;He.length>$e;)b(ke,G,He[$e++]);W.constructor=ke,ke.prototype=W,A(i,"RegExp",ke,{constructor:!0})}D("RegExp")},62921:function(d,v,e){"use strict";var r=e(35454),i=e(6041),l=e(29076),c=e(64110),f=e(94844).get,o=RegExp.prototype,h=TypeError;r&&i&&c(o,"dotAll",{configurable:!0,get:function(){if(this!==o){if(l(this)==="RegExp")return!!f(this).dotAll;throw new h("Incompatible receiver, RegExp required")}}})},44001:function(d,v,e){"use strict";var r=e(94488),i=e(88736);r({target:"RegExp",proto:!0,forced:/./.exec!==i},{exec:i})},92262:function(d,v,e){"use strict";var r=e(92916),i=e(35454),l=e(64110),c=e(82163),f=e(3338),o=r.RegExp,h=o.prototype,u=i&&f(function(){var a=!0;try{o(".","d")}catch(R){a=!1}var x={},p="",y=a?"dgimsy":"gimsy",_=function(R,C){Object.defineProperty(x,R,{get:function(){return p+=C,!0}})},b={dotAll:"s",global:"g",ignoreCase:"i",multiline:"m",sticky:"y"};a&&(b.hasIndices="d");for(var A in b)_(A,b[A]);var 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),A=c(o(_));return"/"+b+"/"+A},{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 A=l(String.prototype,"endsWith");return A&&!A.writable}();r({target:"String",proto:!0,forced:!b&&!_},{endsWith:function(k){var R=f(h(this));o(k);var C=arguments.length>1?arguments[1]:void 0,D=R.length,M=C===void 0?D:y(c(C),D),B=f(k);return x?x(R,B,M):p(R,M-B.length,M)===B}})},56338:function(d,v,e){"use strict";var r=e(94488),i=e(95994),l=e(17691);r({target:"String",proto:!0,forced:l("fixed")},{fixed:function(){return i(this,"tt","","")}})},66755:function(d,v,e){"use strict";var r=e(94488),i=e(95994),l=e(17691);r({target:"String",proto:!0,forced:l("fontcolor")},{fontcolor:function(f){return i(this,"font","color",f)}})},68709:function(d,v,e){"use strict";var r=e(94488),i=e(95994),l=e(17691);r({target:"String",proto:!0,forced:l("fontsize")},{fontsize:function(f){return i(this,"font","size",f)}})},45945:function(d,v,e){"use strict";var r=e(94488),i=e(94237),l=e(51981),c=RangeError,f=String.fromCharCode,o=String.fromCodePoint,h=i([].join),u=!!o&&o.length!==1;r({target:"String",stat:!0,arity:1,forced:u},{fromCodePoint:function(x){for(var p=[],y=arguments.length,_=0,b;y>_;){if(b=+arguments[_++],l(b,1114111)!==b)throw new c(b+" is not a valid code point");p[_]=b<65536?f(b):f(((b-=65536)>>10)+55296,b%1024+56320)}return h(p,"")}})},75551:function(d,v,e){"use strict";var r=e(94488),i=e(94237),l=e(41696),c=e(95955),f=e(69905),o=e(86266),h=i("".indexOf);r({target:"String",proto:!0,forced:!o("includes")},{includes:function(a){return!!~h(f(c(this)),f(l(a)),arguments.length>1?arguments[1]:void 0)}})},32493:function(d,v,e){"use strict";var r=e(94488),i=e(94237),l=e(95955),c=e(69905),f=i("".charCodeAt);r({target:"String",proto:!0},{isWellFormed:function(){for(var h=c(l(this)),u=h.length,a=0;a<u;a++){var x=f(h,a);if((x&63488)===55296&&(x>=56320||++a>=u||(f(h,a)&64512)!==56320))return!1}return!0}})},4939:function(d,v,e){"use strict";var r=e(94488),i=e(95994),l=e(17691);r({target:"String",proto:!0,forced:l("italics")},{italics:function(){return i(this,"i","","")}})},20852:function(d,v,e){"use strict";var r=e(13764).charAt,i=e(69905),l=e(94844),c=e(24019),f=e(25587),o="String Iterator",h=l.set,u=l.getterFor(o);c(String,"String",function(a){h(this,{type:o,string:i(a),index:0})},function(){var x=u(this),p=x.string,y=x.index,_;return y>=p.length?f(void 0,!0):(_=r(p,y),x.index+=_.length,f(_,!1))})},81927:function(d,v,e){"use strict";var r=e(94488),i=e(95994),l=e(17691);r({target:"String",proto:!0,forced:l("link")},{link:function(f){return i(this,"a","href",f)}})},18827:function(d,v,e){"use strict";var r=e(94488),i=e(89945),l=e(34114),c=e(83126),f=e(25587),o=e(95955),h=e(61578),u=e(69905),a=e(80449),x=e(4112),p=e(29076),y=e(44639),_=e(81644),b=e(53776),A=e(2291),k=e(3338),R=e(59893),C=e(60473),D=e(52216),M=e(94338),B=e(94844),N=e(16697),K=R("matchAll"),G="RegExp String",W=G+" Iterator",se=B.set,ie=B.getterFor(W),le=RegExp.prototype,q=TypeError,J=l("".indexOf),V=l("".matchAll),ue=!!V&&!k(function(){V("a",/./)}),ee=c(function(z,$,ae,_e){se(this,{type:W,regexp:z,string:$,global:ae,unicode:_e,done:!1})},G,function(){var z=ie(this);if(z.done)return f(void 0,!0);var $=z.regexp,ae=z.string,_e=M($,ae);return _e===null?(z.done=!0,f(void 0,!0)):z.global?(u(_e[0])===""&&($.lastIndex=D(ae,h($.lastIndex),z.unicode)),f(_e,!1)):(z.done=!0,f(_e,!1))}),Q=function(ce){var z=a(this),$=u(ce),ae=C(z,RegExp),_e=u(_(z)),De,ke,He;return De=new ae(ae===RegExp?z.source:z,_e),ke=!!~J(_e,"g"),He=!!~J(_e,"u"),De.lastIndex=h(z.lastIndex),new ee(De,$,ke,He)};r({target:"String",proto:!0,forced:ue},{matchAll:function(z){var $=o(this),ae,_e,De,ke;if(x(z)){if(ue)return V($,z)}else{if(y(z)&&(ae=u(o(_(z))),!~J(ae,"g")))throw new q("`.matchAll` does not allow non-global regexes");if(ue)return V($,z);if(De=b(z,K),De===void 0&&N&&p(z)==="RegExp"&&(De=Q),De)return i(De,z,$)}return _e=u($),ke=new RegExp(z,"g"),N?i(Q,ke,_e):ke[K](_e)}}),N||K in le||A(le,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(A){var k=h(this),R=c(A)?void 0:u(A,p);return R?r(R,A,k):new RegExp(A)[p](o(k))},function(b){var A=l(this),k=o(b),R=_(y,A,k);if(R.done)return R.value;if(!A.global)return x(A,k);var C=A.unicode;A.lastIndex=0;for(var D=[],M=0,B;(B=x(A,k))!==null;){var N=o(B[0]);D[M]=N,N===""&&(A.lastIndex=a(k,f(A.lastIndex),C)),M++}return M===0?null:D}]})},76718:function(d,v,e){"use strict";var r=e(94488),i=e(85571).end,l=e(98352);r({target:"String",proto:!0,forced:l},{padEnd:function(f){return i(this,f,arguments.length>1?arguments[1]:void 0)}})},79172:function(d,v,e){"use strict";var r=e(94488),i=e(85571).start,l=e(98352);r({target:"String",proto:!0,forced:l},{padStart:function(f){return i(this,f,arguments.length>1?arguments[1]:void 0)}})},32192:function(d,v,e){"use strict";var r=e(94488),i=e(94237),l=e(80524),c=e(94029),f=e(69905),o=e(82762),h=i([].push),u=i([].join);r({target:"String",stat:!0},{raw:function(x){var p=l(c(x).raw),y=o(p);if(!y)return"";for(var _=arguments.length,b=[],A=0;;){if(h(b,f(p[A++])),A===y)return u(b,"");A<_&&h(b,f(arguments[A]))}}})},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"),A=TypeError,k=l("".indexOf),R=l("".replace),C=l("".slice),D=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),W,se,ie,le,q,J,V,ue,ee,Q=0,ce=0,z="";if(!o(N)){if(W=h(N),W&&(se=u(c(x(N))),!~k(se,"g")))throw new A("`.replaceAll` does not allow non-global regexes");if(ie=a(N,b),ie)return i(ie,N,G,K);if(_&&W)return R(u(G),N,K)}for(le=u(G),q=u(N),J=f(K),J||(K=u(K)),V=q.length,ue=D(1,V),Q=M(le,q,0);Q!==-1;)ee=J?u(K(q,Q,le)):p(q,le,Q,[],void 0,K),z+=C(le,ce,Q)+ee,ce=Q+V,Q=M(le,q,Q+ue);return ce<le.length&&(z+=C(le,ce)),z}})},5658:function(d,v,e){"use strict";var r=e(13743),i=e(89945),l=e(94237),c=e(8662),f=e(3338),o=e(80449),h=e(55327),u=e(4112),a=e(56902),x=e(61578),p=e(69905),y=e(95955),_=e(52216),b=e(53776),A=e(23011),k=e(94338),R=e(59893),C=R("replace"),D=Math.max,M=Math.min,B=l([].concat),N=l([].push),K=l("".indexOf),G=l("".slice),W=function(q){return q===void 0?q:String(q)},se=function(){return"a".replace(/./,"$0")==="$0"}(),ie=function(){return/./[C]?/./[C]("a","$0")==="":!1}(),le=!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 ue=ie?"$":"$0";return[function(Q,ce){var z=y(this),$=u(Q)?void 0:b(Q,C);return $?i($,Q,z,ce):i(J,p(z),Q,ce)},function(ee,Q){var ce=o(this),z=p(ee);if(typeof Q=="string"&&K(Q,ue)===-1&&K(Q,"$<")===-1){var $=V(J,ce,z,Q);if($.done)return $.value}var ae=h(Q);ae||(Q=p(Q));var _e=ce.global,De;_e&&(De=ce.unicode,ce.lastIndex=0);for(var ke=[],He;He=k(ce,z),!(He===null||(N(ke,He),!_e));){var $e=p(He[0]);$e===""&&(ce.lastIndex=_(z,x(ce.lastIndex),De))}for(var Bt="",gt=0,Dt=0;Dt<ke.length;Dt++){He=ke[Dt];for(var nr=p(He[0]),Xt=D(M(a(He.index),z.length),0),cr=[],Ge,Tt=1;Tt<He.length;Tt++)N(cr,W(He[Tt]));var Ut=He.groups;if(ae){var at=B([nr],cr,Xt,z);Ut!==void 0&&N(at,Ut),Ge=p(r(Q,void 0,at))}else Ge=A(nr,z,Xt,cr,Ut,Q);Xt>=gt&&(Bt+=G(z,gt,Xt)+Ge,gt=Xt+nr.length)}return Bt+G(z,gt)}]},!le||!se||ie)},62925:function(d,v,e){"use strict";var r=e(89945),i=e(8662),l=e(80449),c=e(4112),f=e(95955),o=e(5370),h=e(69905),u=e(53776),a=e(94338);i("search",function(x,p,y){return[function(b){var A=f(this),k=c(b)?void 0:u(b,x);return k?r(k,b,A):new RegExp(b)[x](h(A))},function(_){var b=l(this),A=h(_),k=y(p,b,A);if(k.done)return k.value;var R=b.lastIndex;o(R,0)||(b.lastIndex=0);var C=a(b,A);return o(b.lastIndex,R)||(b.lastIndex=R),C===null?-1:C.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),A=e(94338),k=e(88736),R=e(19286),C=e(3338),D=R.UNSUPPORTED_Y,M=4294967295,B=Math.min,N=[].push,K=l(/./.exec),G=l(N),W=l("".slice),se=!C(function(){var ie=/(?:)/,le=ie.exec;ie.exec=function(){return le.apply(this,arguments)};var q="ab".split(ie);return q.length!==2||q[0]!=="a"||q[1]!=="b"});c("split",function(ie,le,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,ue){var ee=y(u(this)),Q=ue===void 0?M:ue>>>0;if(Q===0)return[];if(V===void 0)return[ee];if(!h(V))return i(le,ee,V,Q);for(var ce=[],z=(V.ignoreCase?"i":"")+(V.multiline?"m":"")+(V.unicode?"u":"")+(V.sticky?"y":""),$=0,ae=new RegExp(V.source,z+"g"),_e,De,ke;(_e=i(k,ae,ee))&&(De=ae.lastIndex,!(De>$&&(G(ce,W(ee,$,_e.index)),_e.length>1&&_e.index<ee.length&&r(N,ce,b(_e,1)),ke=_e[0].length,$=De,ce.length>=Q)));)ae.lastIndex===_e.index&&ae.lastIndex++;return $===ee.length?(ke||!K(ae,""))&&G(ce,""):G(ce,W(ee,$)),ce.length>Q?b(ce,0,Q):ce}:"0".split(void 0,0).length?J=function(V,ue){return V===void 0&&ue===0?[]:i(le,this,V,ue)}:J=le,[function(ue,ee){var Q=u(this),ce=o(ue)?void 0:_(ue,ie);return ce?i(ce,ue,Q,ee):i(J,y(Q),ue,ee)},function(V,ue){var ee=f(this),Q=y(V),ce=q(J,ee,Q,ue,J!==le);if(ce.done)return ce.value;var z=a(ee,RegExp),$=ee.unicode,ae=(ee.ignoreCase?"i":"")+(ee.multiline?"m":"")+(ee.unicode?"u":"")+(D?"g":"y"),_e=new z(D?"^(?:"+ee.source+")":ee,ae),De=ue===void 0?M:ue>>>0;if(De===0)return[];if(Q.length===0)return A(_e,Q)===null?[Q]:[];for(var ke=0,He=0,$e=[];He<Q.length;){_e.lastIndex=D?0:He;var Bt=A(_e,D?W(Q,He):Q),gt;if(Bt===null||(gt=B(p(_e.lastIndex+(D?He:0)),Q.length))===ke)He=x(Q,He,$);else{if(G($e,W(Q,ke,He)),$e.length===De)return $e;for(var Dt=1;Dt<=Bt.length-1;Dt++)if(G($e,Bt[Dt]),$e.length===De)return $e;He=ke=gt}}return G($e,W(Q,ke)),$e}]},!se,D)},58127:function(d,v,e){"use strict";var r=e(94488),i=e(34114),l=e(71256).f,c=e(61578),f=e(69905),o=e(41696),h=e(95955),u=e(86266),a=e(16697),x=i("".startsWith),p=i("".slice),y=Math.min,_=u("startsWith"),b=!a&&!_&&!!function(){var A=l(String.prototype,"startsWith");return A&&!A.writable}();r({target:"String",proto:!0,forced:!b&&!_},{startsWith:function(k){var R=f(h(this));o(k);var C=c(y(arguments.length>1?arguments[1]:void 0,R.length)),D=f(k);return x?x(R,D,C):p(R,C,C+D.length)===D}})},72571:function(d,v,e){"use strict";var r=e(94488),i=e(95994),l=e(17691);r({target:"String",proto:!0,forced:l("strike")},{strike:function(){return i(this,"strike","","")}})},71200:function(d,v,e){"use strict";var r=e(94488),i=e(95994),l=e(17691);r({target:"String",proto:!0,forced:l("sub")},{sub:function(){return i(this,"sub","","")}})},70917:function(d,v,e){"use strict";var r=e(94488),i=e(94237),l=e(95955),c=e(56902),f=e(69905),o=i("".slice),h=Math.max,u=Math.min,a=!"".substr||"ab".substr(-1)!=="b";r({target:"String",proto:!0,forced:a},{substr:function(p,y){var _=f(l(this)),b=_.length,A=c(p),k,R;return A===1/0&&(A=0),A<0&&(A=h(b+A,0)),k=y===void 0?b:c(y),k<=0||k===1/0?"":(R=u(A+k,b),A>=R?"":o(_,A,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 A=f(c(this));if(_)return i(p,A);for(var k=A.length,R=h(k),C=0;C<k;C++){var D=a(A,C);(D&63488)!==55296?R[C]=u(A,C):D>=56320||C+1>=k||(a(A,C+1)&64512)!==56320?R[C]=y:(R[C]=u(A,C),R[++C]=u(A,C))}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),A=e(35012),k=e(20132),R=e(7733),C=e(80689),D=e(53393),M=e(92635),B=e(71256),N=e(37691),K=e(55666),G=e(27597),W=e(2291),se=e(64110),ie=e(77898),le=e(11898),q=e(54406),J=e(6145),V=e(59893),ue=e(38282),ee=e(94674),Q=e(14311),ce=e(94573),z=e(94844),$=e(90560).forEach,ae=le("hidden"),_e="Symbol",De="prototype",ke=z.set,He=z.getterFor(_e),$e=Object[De],Bt=i.Symbol,gt=Bt&&Bt[De],Dt=i.RangeError,nr=i.TypeError,Xt=i.QObject,cr=B.f,Ge=N.f,Tt=D.f,Ut=G.f,at=c([].push),bt=ie("symbols"),dt=ie("op-symbols"),tt=ie("wks"),Ue=!Xt||!Xt[De]||!Xt[De].findChild,ye=function(et,Kt,kt){var Zt=cr($e,Kt);Zt&&delete $e[Kt],Ge(et,Kt,kt),Zt&&et!==$e&&Ge($e,Kt,Zt)},Ce=o&&u(function(){return k(Ge({},"a",{get:function(){return Ge(this,"a",{value:7}).a}})).a!==7})?ye:Ge,Me=function(et,Kt){var kt=bt[et]=k(gt);return ke(kt,{type:_e,tag:et,description:Kt}),o||(kt.description=Kt),kt},je=function(Kt,kt,Zt){Kt===$e&&je(dt,kt,Zt),p(Kt);var Nt=_(kt);return p(Zt),a(bt,Nt)?(Zt.enumerable?(a(Kt,ae)&&Kt[ae][Nt]&&(Kt[ae][Nt]=!1),Zt=k(Zt,{enumerable:A(0,!1)})):(a(Kt,ae)||Ge(Kt,ae,A(1,{})),Kt[ae][Nt]=!0),Ce(Kt,Nt,Zt)):Ge(Kt,Nt,Zt)},We=function(Kt,kt){p(Kt);var Zt=y(kt),Nt=R(Zt).concat(Pe(Zt));return $(Nt,function(tr){(!o||l(lt,Zt,tr))&&je(Kt,tr,Zt[tr])}),Kt},nt=function(Kt,kt){return kt===void 0?k(Kt):We(k(Kt),kt)},lt=function(Kt){var kt=_(Kt),Zt=l(Ut,this,kt);return this===$e&&a(bt,kt)&&!a(dt,kt)?!1:Zt||!a(this,kt)||!a(bt,kt)||a(this,ae)&&this[ae][kt]?Zt:!0},Vt=function(Kt,kt){var Zt=y(Kt),Nt=_(kt);if(!(Zt===$e&&a(bt,Nt)&&!a(dt,Nt))){var tr=cr(Zt,Nt);return tr&&a(bt,Nt)&&!(a(Zt,ae)&&Zt[ae][Nt])&&(tr.enumerable=!0),tr}},Ht=function(Kt){var kt=Tt(y(Kt)),Zt=[];return $(kt,function(Nt){!a(bt,Nt)&&!a(q,Nt)&&at(Zt,Nt)}),Zt},Pe=function(et){var Kt=et===$e,kt=Tt(Kt?dt:y(et)),Zt=[];return $(kt,function(Nt){a(bt,Nt)&&(!Kt||a($e,Nt))&&at(Zt,bt[Nt])}),Zt};h||(Bt=function(){if(x(gt,this))throw new nr("Symbol is not a constructor");var Kt=!arguments.length||arguments[0]===void 0?void 0:b(arguments[0]),kt=J(Kt),Zt=function(Nt){var tr=this===void 0?i:this;tr===$e&&l(Zt,dt,Nt),a(tr,ae)&&a(tr[ae],kt)&&(tr[ae][kt]=!1);var Wt=A(1,Nt);try{Ce(tr,kt,Wt)}catch(Fe){if(!(Fe instanceof Dt))throw Fe;ye(tr,kt,Wt)}};return o&&Ue&&Ce($e,kt,{configurable:!0,set:Zt}),Me(kt,Kt)},gt=Bt[De],W(gt,"toString",function(){return He(this).tag}),W(Bt,"withoutSetter",function(et){return Me(J(et),et)}),G.f=lt,N.f=je,K.f=We,B.f=Vt,C.f=D.f=Ht,M.f=Pe,ue.f=function(et){return Me(V(et),et)},o&&(se(gt,"description",{configurable:!0,get:function(){return He(this).description}}),f||W($e,"propertyIsEnumerable",lt,{unsafe:!0}))),r({global:!0,constructor:!0,wrap:!0,forced:!h,sham:!h},{Symbol:Bt}),$(R(tt),function(et){ee(et)}),r({target:_e,stat:!0,forced:!h},{useSetter:function(){Ue=!0},useSimple:function(){Ue=!1}}),r({target:"Object",stat:!0,forced:!h,sham:!o},{create:nt,defineProperty:je,defineProperties:We,getOwnPropertyDescriptor:Vt}),r({target:"Object",stat:!0,forced:!h},{getOwnPropertyNames:Ht}),Q(),ce(Bt,_e),q[ae]=!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 A=String(p("description detection"))==="Symbol(description detection)",k=c(y.valueOf),R=c(y.toString),C=/^Symbol\((.*)\)[^)]+$/,D=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=A?M(K,7,-1):D(K,C,"$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 A=x(c(this),0,3)==="Big"?l(_):+_;return f(i,this,A,b>1?arguments[1]:void 0,b>2?arguments[2]:void 0)},p)},24860:function(d,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,A=!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))},A),_("keys",function(){return x(y(this))},A),_("values",R,A||!k,{name:"values"}),_(h,R,A||!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}),A=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 C=f(arguments.length>1?arguments[1]:void 0,1),D=o(R);if(b)return i(p,this,D,C);var M=this.length,B=c(D),N=0;if(B+C>M)throw new u("Wrong length");for(;N<B;)this[C+N]=D[N++]},!b||A)},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,A=new y(b);b>_;)A[_]=p[_++];return A},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),A=!!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 C=new _(516),D=Array(516),M,B;for(M=0;M<516;M++)B=M%4,C[M]=515-M,D[M]=M-2*B+3;for(b(C,function(N,K){return(N/4|0)-(K/4|0)}),M=0;M<516;M++)if(C[M]!==D[M])return!0}),R=function(C){return function(D,M){return C!==void 0?+C(D,M)||0:M!==M?-1:D!==D?1:D===0&&M===0?1/D>0&&1/M<0?1:-1:D>M}};y("sort",function(D){return D!==void 0&&c(D),k?b(this,D):f(p(this),R(D))},!k||A)},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,A=0,k,R;A<b;){if(k=f(y,A++),k==="%"){if(f(y,A)==="u"){if(R=h(y,A+1,A+5),o(a,R)){_+=c(parseInt(R,16)),A+=5;continue}}else if(R=h(y,A,A+2),o(u,R)){_+=c(parseInt(R,16)),A+=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,A=y.isFrozen,k=y.isSealed,R=y.freeze,C=y.seal,D={},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),W=G.prototype,se=l(W.set),ie=function(){return r&&x(function(){var V=R([]);return se(new G,V,1),!A(V)})};if(p)if(B){N=h.getConstructor(K,"WeakMap",!0),f.enable();var le=l(W.delete),q=l(W.has),J=l(W.get);c(W,{delete:function(V){if(u(V)&&!b(V)){var ue=a(this);return ue.frozen||(ue.frozen=new N),le(this,V)||ue.frozen.delete(V)}return le(this,V)},has:function(ue){if(u(ue)&&!b(ue)){var ee=a(this);return ee.frozen||(ee.frozen=new N),q(this,ue)||ee.frozen.has(ue)}return q(this,ue)},get:function(ue){if(u(ue)&&!b(ue)){var ee=a(this);return ee.frozen||(ee.frozen=new N),q(this,ue)?J(this,ue):ee.frozen.get(ue)}return J(this,ue)},set:function(ue,ee){if(u(ue)&&!b(ue)){var Q=a(this);Q.frozen||(Q.frozen=new N),q(this,ue)?se(this,ue,ee):Q.frozen.set(ue,ee)}else se(this,ue,ee);return this}})}else ie()&&c(W,{set:function(ue,ee){var Q;return _(ue)&&(A(ue)?Q=D:k(ue)&&(Q=M)),se(this,ue,ee),Q===D&&R(ue),Q===M&&C(ue),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,A=a("asyncDispose"),k=a("toStringTag"),R="AsyncDisposableStack",C=x.set,D=x.getterFor(R),M="async-dispose",B="disposed",N="pending",K=function(se){var ie=D(se);if(ie.state===B)throw new b(R+" already disposed");return ie},G=function(){C(f(this,W),{type:R,state:N,stack:[]}),i||(this.disposed=!1)},W=G.prototype;h(W,{disposeAsync:function(){var ie=this;return new y(function(le,q){var J=D(ie);if(J.state===B)return le(void 0);J.state=B,i||(ie.disposed=!0);var V=J.stack,ue=V.length,ee=!1,Q,ce=function($){ee?Q=new _($,Q):(ee=!0,Q=$),z()},z=function(){if(ue){var $=V[--ue];V[ue]=null;try{y.resolve($()).then(z,ce)}catch(ae){ce(ae)}}else J.stack=null,ee?q(Q):le(void 0)};z()})},use:function(ie){return p(K(this),ie,M),ie},adopt:function(ie,le){var q=K(this);return c(le),p(q,void 0,M,function(){return le(ie)}),ie},defer:function(ie){var le=K(this);c(ie),p(le,void 0,M,ie)},move:function(){var ie=K(this),le=new G;return D(le).stack=ie.stack,ie.stack=[],ie.state=B,i||(this.disposed=!0),le}}),i&&u(W,"disposed",{configurable:!0,get:function(){return D(this).state===B}}),o(W,A,W.disposeAsync,{name:"disposeAsync"}),o(W,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 A=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(C){A(C)}},A)}catch(R){A(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,A=_.predicate;return new y(function(k,R){var C=function(B){_.done=!0,R(B)},D=function(B){a(b,C,B,C)},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=A(N,_.counter++),G=function(W){W?k(u(N,!1)):M()};f(K)?y.resolve(K).then(G,D):G(K)}catch(W){D(W)}}}catch(W){C(W)}},C)}catch(B){C(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,A=b.iterator,k=b.mapper;return new _(function(R,C){var D=function(K){b.done=!0,C(K)},M=function(K){x(A,D,K,D)},B=function(){try{_.resolve(c(i(b.next,A))).then(function(K){try{if(c(K).done)b.done=!0,R(u(void 0,!0));else{var G=K.value;try{var W=k(G,b.counter++),se=function(ie){try{b.inner=a(ie),N()}catch(le){M(le)}};f(W)?_.resolve(W).then(se,M):se(W)}catch(ie){M(ie)}}}catch(ie){D(ie)}},D)}catch(K){D(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(W){M(W)}},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,A=_.next,k=arguments.length<2,R=k?void 0:arguments[1],C=0;return new a(function(D,M){var B=function(K){u(b,M,K,M)},N=function(){try{a.resolve(c(i(A,b))).then(function(K){try{if(c(K).done)k?M(new x("Reduce of empty iterator with no initial value")):D(R);else{var G=K.value;if(k)k=!1,R=G,N();else try{var W=y(R,G,C),se=function(ie){R=ie,N()};f(W)?a.resolve(W).then(se,B):se(W)}catch(ie){B(ie)}}C++}catch(ie){M(ie)}},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 A=u(void 0,!0);return y.done=!0,b=_.return,b!==void 0?p.resolve(i(b,_,void 0)).then(function(){return A}):A}return p.resolve(i(y.next,_)).then(function(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"),A=a("toStringTag"),k="DisposableStack",R=x.set,C=x.getterFor(k),D="sync-dispose",M="disposed",B="pending",N=function(W){var se=C(W);if(se.state===M)throw new _(k+" already disposed");return se},K=function(){R(f(this,G),{type:k,state:B,stack:[]}),i||(this.disposed=!1)},G=K.prototype;h(G,{dispose:function(){var se=C(this);if(se.state!==M){se.state=M,i||(this.disposed=!0);for(var ie=se.stack,le=ie.length,q=!1,J;le;){var V=ie[--le];ie[le]=null;try{V()}catch(ue){q?J=new y(ue,J):(q=!0,J=ue)}}if(se.stack=null,q)throw J}},use:function(se){return p(N(this),se,D),se},adopt:function(se,ie){var le=N(this);return c(ie),p(le,void 0,D,function(){ie(se)}),se},defer:function(se){var ie=N(this);c(se),p(ie,void 0,D,se)},move:function(){var se=N(this),ie=new K;return C(ie).stack=se.stack,se.stack=[],se.state=M,i||(this.disposed=!0),ie}}),i&&u(G,"disposed",{configurable:!0,get:function(){return C(this).state===M}}),o(G,b,G.dispose,{name:"dispose"}),o(G,A,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),A="constructor",k="Iterator",R=p("toStringTag"),C=TypeError,D=i[k],M=b||!f(D)||D.prototype!==y||!a(function(){D({})}),B=function(){if(l(this,y),o(this)===y)throw new C("Abstract class Iterator not directly constructable")},N=function(K,G){_?h(y,K,{configurable:!0,get:function(){return G},set:function(W){if(c(this),this===y)throw new C("You can't redefine this property");x(this,K)?this[K]=W:u(this,K,W)}}):y[K]=G};x(y,R)||N(R,k),(M||!x(y,A)||y[A]===Object)&&N(A,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,A;;){if(_=c(i(y,x)),b=this.done=!!_.done,b)return;if(A=_.value,h(x,p,[A,this.counter++],!0))return A}});r({target:"Iterator",proto:!0,real:!0,forced:u},{filter:function(p){return c(this),l(p),new a(f(this),{predicate:p})}})},81848:function(d,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(A){u(p,"throw",A)}if(_=c(i(this.next,p)),this.done=!!_.done)return;try{this.inner=o(y(_.value,this.counter++),!1)}catch(A){u(p,"throw",A)}}});r({target:"Iterator",proto:!0,real:!0,forced:a},{flatMap:function(y){return c(this),l(y),new x(f(this),{mapper:y,inner:null})}})},72211:function(d,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),A=e(70913),k=e(42820),R=l.JSON,C=l.Number,D=l.SyntaxError,M=R&&R.parse,B=c("Object","keys"),N=Object.getOwnPropertyDescriptor,K=f("".charAt),G=f("".slice),W=f(/./.exec),se=f([].push),ie=/^\d$/,le=/^[1-9]$/,q=/^(?:-|\d)$/,J=/^[\t\n\r ]$/,V=0,ue=1,ee=function(De,ke){De=p(De);var He=new $(De,0,""),$e=He.parse(),Bt=$e.value,gt=He.skip(J,$e.end);if(gt<De.length)throw new D('Unexpected extra character: "'+K(De,gt)+'" after the parsed data at: '+gt);return h(ke)?Q({"":Bt},"",ke,$e):Bt},Q=function(De,ke,He,$e){var Bt=De[ke],gt=$e&&Bt===$e.value,Dt=gt&&typeof $e.source=="string"?{source:$e.source}:{},nr,Xt,cr,Ge,Tt;if(u(Bt)){var Ut=a(Bt),at=gt?$e.nodes:Ut?[]:{};if(Ut)for(nr=at.length,cr=y(Bt),Ge=0;Ge<cr;Ge++)ce(Bt,Ge,Q(Bt,""+Ge,He,Ge<nr?at[Ge]:void 0));else for(Xt=B(Bt),cr=y(Xt),Ge=0;Ge<cr;Ge++)Tt=Xt[Ge],ce(Bt,Tt,Q(Bt,Tt,He,x(at,Tt)?at[Tt]:void 0))}return o(He,De,ke,Bt,Dt)},ce=function(De,ke,He){if(i){var $e=N(De,ke);if($e&&!$e.configurable)return}He===void 0?delete De[ke]:_(De,ke,He)},z=function(De,ke,He,$e){this.value=De,this.end=ke,this.source=He,this.nodes=$e},$=function(De,ke){this.source=De,this.index=ke};$.prototype={fork:function(De){return new $(this.source,De)},parse:function(){var De=this.source,ke=this.skip(J,this.index),He=this.fork(ke),$e=K(De,ke);if(W(q,$e))return He.number();switch($e){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 D('Unexpected character: "'+$e+'" at: '+ke)},node:function(De,ke,He,$e,Bt){return new z(ke,$e,De?null:G(this.source,He,$e),Bt)},object:function(){for(var De=this.source,ke=this.index+1,He=!1,$e={},Bt={};ke<De.length;){if(ke=this.until(['"',"}"],ke),K(De,ke)==="}"&&!He){ke++;break}var gt=this.fork(ke).string(),Dt=gt.value;ke=gt.end,ke=this.until([":"],ke)+1,ke=this.skip(J,ke),gt=this.fork(ke).parse(),_(Bt,Dt,gt),_($e,Dt,gt.value),ke=this.until([",","}"],gt.end);var nr=K(De,ke);if(nr===",")He=!0,ke++;else if(nr==="}"){ke++;break}}return this.node(ue,$e,this.index,ke,Bt)},array:function(){for(var De=this.source,ke=this.index+1,He=!1,$e=[],Bt=[];ke<De.length;){if(ke=this.skip(J,ke),K(De,ke)==="]"&&!He){ke++;break}var gt=this.fork(ke).parse();if(se(Bt,gt),se($e,gt.value),ke=this.until([",","]"],gt.end),K(De,ke)===",")He=!0,ke++;else if(K(De,ke)==="]"){ke++;break}}return this.node(ue,$e,this.index,ke,Bt)},string:function(){var De=this.index,ke=A(this.source,this.index+1);return this.node(V,ke.value,De,ke.end)},number:function(){var De=this.source,ke=this.index,He=ke;if(K(De,He)==="-"&&He++,K(De,He)==="0")He++;else if(W(le,K(De,He)))He=this.skip(ie,++He);else throw new D("Failed to parse number at: "+He);if(K(De,He)==="."&&(He=this.skip(ie,++He)),K(De,He)==="e"||K(De,He)==="E"){He++,(K(De,He)==="+"||K(De,He)==="-")&&He++;var $e=He;if(He=this.skip(ie,He),$e===He)throw new D("Failed to parse number's exponent value at: "+He)}return this.node(V,C(G(De,ke,He)),ke,He)},keyword:function(De){var ke=""+De,He=this.index,$e=He+ke.length;if(G(this.source,He,$e)!==ke)throw new D("Failed to parse value at: "+He);return this.node(V,De,He,$e)},skip:function(De,ke){for(var He=this.source;ke<He.length&&W(De,K(He,ke));ke++);return ke},until:function(De,ke){ke=this.skip(J,ke);for(var He=K(this.source,ke),$e=0;$e<De.length;$e++)if(De[$e]===He)return ke;throw new D('Unexpected character: "'+He+'" at: '+ke)}};var ae=b(function(){var De="9007199254740993",ke;return M(De,function(He,$e,Bt){ke=Bt.source}),ke!==De}),_e=k&&!b(function(){return 1/M("-0 ")!==-1/0});r({target:"JSON",stat:!0,forced:ae},{parse:function(ke,He){return _e&&!h(He)?M(ke):ee(ke,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,A=String,k=SyntaxError,R=c("JSON","parse"),C=c("JSON","stringify"),D=c("Object","create"),M=c("Object","freeze"),B=o("".charAt),N=o("".slice),K=o(/./.exec),G=o([].push),W=_(),se=W.length,ie="Unacceptable as raw JSON",le=/^[\t\n\r ]$/;r({target:"JSON",stat:!0,forced:!l},{rawJSON:function(J){var V=a(J);if(V===""||K(le,B(V,0))||K(le,B(V,V.length-1)))throw new k(ie);var ue=R(V);if(typeof ue=="object"&&ue!==null)throw new k(ie);var ee=D(null);return b(ee,{type:"RawJSON"}),x(ee,"rawJSON",V),i?M(ee):ee}}),C&&r({target:"JSON",stat:!0,arity:3,forced:!l},{stringify:function(J,V,ue){var ee=y(V),Q=[],ce=C(J,function(He,$e){var Bt=h(ee)?f(ee,this,A(He),$e):$e;return u(Bt)?W+(G(Q,Bt.rawJSON)-1):Bt},ue);if(typeof ce!="string")return ce;for(var z="",$=ce.length,ae=0;ae<$;ae++){var _e=B(ce,ae);if(_e==='"'){var De=p(ce,++ae).end-1,ke=N(ce,ae,De);z+=N(ke,0,se)===W?Q[N(ke,se)]:'"'+ke+'"',ae=De}else z+=_e}return z}})},5369:function(d,v,e){"use strict";var r=e(94488),i=e(42683),l=e(2786).remove;r({target:"Map",proto:!0,real:!0,forced:!0},{deleteAll:function(){for(var f=i(this),o=!0,h,u=0,a=arguments.length;u<a;u++)h=l(f,arguments[u]),o=o&&h;return!!o}})},26259:function(d,v,e){"use strict";var r=e(94488),i=e(42683),l=e(2786),c=l.get,f=l.has,o=l.set;r({target:"Map",proto:!0,real:!0,forced:!0},{emplace:function(u,a){var x=i(this),p,y;return f(x,u)?(p=c(x,u),"update"in a&&(p=a.update(p,u,x),o(x,u,p)),p):(y=a.insert(u,x),o(x,u,y),y)}})},47736:function(d,v,e){"use strict";var r=e(94488),i=e(80666),l=e(42683),c=e(95037);r({target:"Map",proto:!0,real:!0,forced:!0},{every:function(o){var h=l(this),u=i(o,arguments.length>1?arguments[1]:void 0);return c(h,function(a,x){if(!u(a,x,h))return!1},!0)!==!1}})},28220:function(d,v,e){"use strict";var r=e(94488),i=e(80666),l=e(42683),c=e(2786),f=e(95037),o=c.Map,h=c.set;r({target:"Map",proto:!0,real:!0,forced:!0},{filter:function(a){var x=l(this),p=i(a,arguments.length>1?arguments[1]:void 0),y=new o;return f(x,function(_,b){p(_,b,x)&&h(y,b,_)}),y}})},49350:function(d,v,e){"use strict";var r=e(94488),i=e(80666),l=e(42683),c=e(95037);r({target:"Map",proto:!0,real:!0,forced:!0},{findKey:function(o){var h=l(this),u=i(o,arguments.length>1?arguments[1]:void 0),a=c(h,function(x,p){if(u(x,p,h))return{key:p}},!0);return a&&a.key}})},62060:function(d,v,e){"use strict";var r=e(94488),i=e(80666),l=e(42683),c=e(95037);r({target:"Map",proto:!0,real:!0,forced:!0},{find:function(o){var h=l(this),u=i(o,arguments.length>1?arguments[1]:void 0),a=c(h,function(x,p){if(u(x,p,h))return{value:x}},!0);return a&&a.value}})},20126:function(d,v,e){"use strict";var r=e(94488),i=e(72846);r({target:"Map",stat:!0,forced:!0},{from:i})},18090:function(d,v,e){"use strict";var r=e(94488),i=e(88134),l=e(42683),c=e(95037);r({target:"Map",proto:!0,real:!0,forced:!0},{includes:function(o){return c(l(this),function(h){if(i(h,o))return!0},!0)===!0}})},14309:function(d,v,e){"use strict";var r=e(94488),i=e(89945),l=e(62003),c=e(55327),f=e(63335),o=e(2786).Map;r({target:"Map",stat:!0,forced:!0},{keyBy:function(u,a){var x=c(this)?this:o,p=new x;f(a);var y=f(p.set);return l(u,function(_){i(y,p,a(_),_)}),p}})},17822:function(d,v,e){"use strict";var r=e(94488),i=e(42683),l=e(95037);r({target:"Map",proto:!0,real:!0,forced:!0},{keyOf:function(f){var o=l(i(this),function(h,u){if(h===f)return{key:u}},!0);return o&&o.key}})},83543:function(d,v,e){"use strict";var r=e(94488),i=e(80666),l=e(42683),c=e(2786),f=e(95037),o=c.Map,h=c.set;r({target:"Map",proto:!0,real:!0,forced:!0},{mapKeys:function(a){var x=l(this),p=i(a,arguments.length>1?arguments[1]:void 0),y=new o;return f(x,function(_,b){h(y,p(_,b,x),_)}),y}})},13853:function(d,v,e){"use strict";var r=e(94488),i=e(80666),l=e(42683),c=e(2786),f=e(95037),o=c.Map,h=c.set;r({target:"Map",proto:!0,real:!0,forced:!0},{mapValues:function(a){var x=l(this),p=i(a,arguments.length>1?arguments[1]:void 0),y=new o;return f(x,function(_,b){h(y,b,p(_,b,x))}),y}})},25188:function(d,v,e){"use strict";var r=e(94488),i=e(42683),l=e(62003),c=e(2786).set;r({target:"Map",proto:!0,real:!0,arity:1,forced:!0},{merge:function(o){for(var h=i(this),u=arguments.length,a=0;a<u;)l(arguments[a++],function(x,p){c(h,x,p)},{AS_ENTRIES:!0});return h}})},10215:function(d,v,e){"use strict";var r=e(94488),i=e(48800);r({target:"Map",stat:!0,forced:!0},{of:i})},3432:function(d,v,e){"use strict";var r=e(94488),i=e(63335),l=e(42683),c=e(95037),f=TypeError;r({target:"Map",proto:!0,real:!0,forced:!0},{reduce:function(h){var u=l(this),a=arguments.length<2,x=a?void 0:arguments[1];if(i(h),c(u,function(p,y){a?(a=!1,x=p):x=h(x,p,y,u)}),a)throw new f("Reduce of empty map with no initial value");return x}})},90486:function(d,v,e){"use strict";var r=e(94488),i=e(80666),l=e(42683),c=e(95037);r({target:"Map",proto:!0,real:!0,forced:!0},{some:function(o){var h=l(this),u=i(o,arguments.length>1?arguments[1]:void 0);return c(h,function(a,x){if(u(a,x,h))return!0},!0)===!0}})},8774:function(d,v,e){"use strict";var r=e(94488),i=e(14615);r({target:"Map",proto:!0,real:!0,name:"upsert",forced:!0},{updateOrInsert:i})},6736:function(d,v,e){"use strict";var r=e(94488),i=e(63335),l=e(42683),c=e(2786),f=TypeError,o=c.get,h=c.has,u=c.set;r({target:"Map",proto:!0,real:!0,forced:!0},{update:function(x,p){var y=l(this),_=arguments.length;i(p);var b=h(y,x);if(!b&&_<3)throw new f("Updating absent value");var A=b?o(y,x):i(_>2?arguments[2]:void 0)(x,y);return u(y,x,p(A,x,y)),y}})},94065:function(d,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(A){x(this,{type:u,seed:A%2147483647})},h,function(){var A=p(this),k=A.seed=(A.seed*1103515245+12345)%2147483647;return f((k&1073741823)/1073741823,!1)});r({target:"Math",stat:!0,forced:!0},{seededPRNG:function(A){var k=i(A).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),A=i("".slice),k=i("".split);r({target:"Number",stat:!0,forced:!0},{fromString:function(C,D){var M=1;if(typeof C!="string")throw new u(c);if(!C.length)throw new h(c);if(y(C,0)==="-"&&(M=-1,C=A(C,1),!C.length))throw new h(c);var B=D===void 0?10:l(D);if(B<2||B>36)throw new o(f);if(!_(p,C))throw new h(c);var N=k(C,"."),K=a(N[0],B);if(N.length>1&&(K+=a(N[1],B)/x(B,N[1].length)),B===10&&b(K,B)!==C)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),A=e(61810),k=e(59893),R=e(94844),C=k("observable"),D="Observable",M="Subscription",B="SubscriptionObserver",N=R.getterFor,K=R.set,G=N(D),W=N(M),se=N(B),ie=function(ue){this.observer=o(ue),this.cleanup=void 0,this.subscriptionObserver=void 0};ie.prototype={type:M,clean:function(){var ue=this.cleanup;if(ue){this.cleanup=void 0;try{ue()}catch(ee){A(ee)}}},close:function(){if(!l){var ue=this.facade,ee=this.subscriptionObserver;ue.closed=!0,ee&&(ee.closed=!0)}this.observer=void 0},isClosed:function(){return this.observer===void 0}};var le=function(ue,ee){var Q=K(this,new ie(ue)),ce;l||(this.closed=!1);try{(ce=p(ue,"start"))&&i(ce,ue,this)}catch(_e){A(_e)}if(!Q.isClosed()){var z=Q.subscriptionObserver=new q(Q);try{var $=ee(z),ae=$;a($)||(Q.cleanup=u($.unsubscribe)?function(){ae.unsubscribe()}:f($))}catch(_e){z.error(_e);return}Q.isClosed()&&Q.clean()}};le.prototype=_({},{unsubscribe:function(){var ee=W(this);ee.isClosed()||(ee.close(),ee.clean())}}),l&&b(le.prototype,"closed",{configurable:!0,get:function(){return W(this).isClosed()}});var q=function(ue){K(this,{type:B,subscriptionState:ue}),l||(this.closed=!1)};q.prototype=_({},{next:function(ee){var Q=se(this).subscriptionState;if(!Q.isClosed()){var ce=Q.observer;try{var z=p(ce,"next");z&&i(z,ce,ee)}catch($){A($)}}},error:function(ee){var Q=se(this).subscriptionState;if(!Q.isClosed()){var ce=Q.observer;Q.close();try{var z=p(ce,"error");z?i(z,ce,ee):A(ee)}catch($){A($)}Q.clean()}},complete:function(){var ee=se(this).subscriptionState;if(!ee.isClosed()){var Q=ee.observer;ee.close();try{var ce=p(Q,"complete");ce&&i(ce,Q)}catch(z){A(z)}ee.clean()}}}),l&&b(q.prototype,"closed",{configurable:!0,get:function(){return se(this).subscriptionState.isClosed()}});var J=function(ee){h(this,V),K(this,{type:D,subscriber:f(ee)})},V=J.prototype;_(V,{subscribe:function(ee){var Q=arguments.length;return new le(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,C,function(){return this}),r({global:!0,constructor:!0,forced:!0},{Observable:J}),c(D)},14548:function(d,v,e){"use strict";var r=e(94488),i=e(65911),l=e(89945),c=e(80449),f=e(39812),o=e(85428),h=e(53776),u=e(62003),a=e(59893),x=a("observable");r({target:"Observable",stat:!0,forced:!0},{from:function(y){var _=f(this)?this:i("Observable"),b=h(c(y),x);if(b){var A=c(l(b,y));return A.constructor===_?A:new _(function(R){return A.subscribe(R)})}var k=o(y);return new _(function(R){u(k,function(C,D){if(R.next(C),R.closed)return D()},{IS_ITERATOR:!0,INTERRUPTED:!0}),R.complete()})}})},96378:function(d,v,e){"use strict";e(76867),e(14548),e(6053)},6053:function(d,v,e){"use strict";var r=e(94488),i=e(65911),l=e(39812),c=i("Array");r({target:"Observable",stat:!0,forced:!0},{of:function(){for(var o=l(this)?this:i("Observable"),h=arguments.length,u=c(h),a=0;a<h;)u[a]=arguments[a++];return new o(function(x){for(var p=0;p<h;p++)if(x.next(u[p]),x.closed)return;x.complete()})}})},58216:function(d,v,e){"use strict";var r=e(94488),i=e(73446),l=e(80734);r({target:"Promise",stat:!0,forced:!0},{try:function(c){var f=i.f(this),o=l(c);return(o.error?f.reject:f.resolve)(o.value),f.promise}})},41401:function(d,v,e){"use strict";var r=e(94488),i=e(82584),l=e(80449),c=i.toKey,f=i.set;r({target:"Reflect",stat:!0},{defineMetadata:function(h,u,a){var x=arguments.length<4?void 0:c(arguments[3]);f(h,u,l(a),x)}})},79908:function(d,v,e){"use strict";var r=e(94488),i=e(82584),l=e(80449),c=i.toKey,f=i.getMap,o=i.store;r({target:"Reflect",stat:!0},{deleteMetadata:function(u,a){var x=arguments.length<3?void 0:c(arguments[2]),p=f(l(a),x,!1);if(p===void 0||!p.delete(u))return!1;if(p.size)return!0;var y=o.get(a);return y.delete(x),!!y.size||o.delete(a)}})},79890:function(d,v,e){"use strict";var r=e(94488),i=e(94237),l=e(82584),c=e(80449),f=e(53456),o=e(65621),h=i(o),u=i([].concat),a=l.keys,x=l.toKey,p=function(y,_){var b=a(y,_),A=f(y);if(A===null)return b;var k=p(A,_);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(A){p(this,{type:x,string:A,index:0})},"String",function(){var A=y(this),k=A.string,R=A.index,C;return R>=k.length?l(void 0,!0):(C=a(k,R),A.index+=C.length,l({codePoint:u(C,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),A=e(19268),k=new y.WeakMap,R=y.get,C=y.has,D=y.set,M=Array,B=TypeError,N=Object.freeze||Object,K=Object.isFrozen,G=Math.min,W=c("".charAt),se=c("".slice),ie=c("".split),le=c(/./.exec),q=/([\n\u2028\u2029]|\r\n?)/g,J=RegExp("^["+A+"]*"),V=RegExp("[^"+A+"]"),ue="Invalid tag",ee="Invalid opening line",Q="Invalid closing line",ce=function(ke){var He=ke.raw;if(r&&!K(He))throw new B("Raw template should be frozen");if(C(k,He))return R(k,He);var $e=z(He),Bt=ae($e);return x(Bt,"raw",{value:N($e)}),N(Bt),D(k,He,Bt),Bt},z=function(ke){var He=h(ke),$e=a(He),Bt=M($e),gt=M($e),Dt=0,nr,Xt,cr,Ge;if(!$e)throw new B(ue);for(;Dt<$e;Dt++){var Tt=He[Dt];if(typeof Tt=="string")Bt[Dt]=ie(Tt,q);else throw new B(ue)}for(Dt=0;Dt<$e;Dt++){var Ut=Dt+1===$e;if(nr=Bt[Dt],Dt===0){if(nr.length===1||nr[0].length>0)throw new B(ee);nr[1]=""}if(Ut){if(nr.length===1||le(V,nr[nr.length-1]))throw new B(Q);nr[nr.length-2]="",nr[nr.length-1]=""}for(var at=2;at<nr.length;at+=2){var bt=nr[at],dt=at+1===nr.length&&!Ut,tt=le(J,bt)[0];if(!dt&&tt.length===bt.length){nr[at]="";continue}Xt=$(tt,Xt)}}var Ue=Xt?Xt.length:0;for(Dt=0;Dt<$e;Dt++){for(nr=Bt[Dt],cr=nr[0],Ge=1;Ge<nr.length;Ge+=2)cr+=nr[Ge]+se(nr[Ge+1],Ue);gt[Dt]=cr}return gt},$=function(ke,He){if(He===void 0||ke===He)return ke;for(var $e=0,Bt=G(ke.length,He.length);$e<Bt&&W(ke,$e)===W(He,$e);$e++);return se(ke,0,$e)},ae=function(ke){for(var He=0,$e=ke.length,Bt=M($e);He<$e;He++)Bt[He]=b(ke[He]);return Bt},_e=function(ke){return l(function(He){var $e=p(arguments);return $e[0]=ce(o(He)),f(ke,this,$e)},"")},De=_e(_);i({target:"String",stat:!0,forced:!0},{dedent:function(He){return o(He),u(He)?_e(He):f(De,this,arguments)}})},14800:function(d,v,e){"use strict";var r=e(94488),i=e(16332),l=e(53456),c=e(58218),f=e(24538),o=e(20132),h=e(68151),u=e(35012),a=e(61888),x=e(7825),p=e(59893),y=p("toStringTag"),_=Error,b=function(R,C,D){var M=i(A,this),B;return c?B=c(new _,M?l(this):A):(B=M?this:o(A),h(B,y,"Error")),D!==void 0&&h(B,"message",x(D)),a(B,b,B.stack,1),h(B,"error",R),h(B,"suppressed",C),B};c?c(b,_):f(b,_,{name:!0});var A=b.prototype=o(_.prototype,{constructor:u(1,b),message:u(1,""),name:u(1,"SuppressedError")});r({global:!0,constructor:!0,arity:3},{SuppressedError:b})},70654:function(d,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]),A=b.toSpliced(1,0,{valueOf:function(){return b[0]=2,3}});return A[0]!==2||A[1]!==3});x("toSpliced",function(A,k){var R=u(this),C=a(R),D=i(R),M=c(A,D),B=arguments.length,N=0,K,G,W,se,ie,le,q;if(B===0)K=G=0;else if(B===1)K=0,G=D-M;else if(G=y(p(o(k),0),D-M),K=B-2,K){se=new C(K),W=l(se);for(var J=2;J<B;J++)ie=arguments[J],se[J-2]=W?f(ie):+ie}for(le=D+K-G,q=new C(le);N<M;N++)q[N]=R[N];for(;N<M+K;N++)q[N]=se[N-M];for(;N<le;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),A=l("".replace),k=l("".slice),R=l([].push),C=/[\t\n\f\r ]/g,D="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,W=G?B:A(B,C,"");if(W.length%4===0)k(W,-2)==="=="?W=k(W,0,-2):k(W,-1)==="="&&(W=k(W,0,-1));else if(G)throw new _("Input is not correctly padded");var se=W.length%4;switch(se){case 1:throw new _("Bad input length");case 2:W+="AA";break;case 3:W+="A"}for(var ie=[],le=0,q=W.length,J=function(ee){var Q=b(W,le+ee);if(!o(K,Q))throw new _('Bad char in input: "'+Q+'"');return K[Q]<<18-6*ee};le<q;le+=4){var V=J(0)+J(1)+J(2)+J(3);R(ie,V>>16&255,V>>8&255,V&255)}var ue=ie.length;if(se===2){if(G&&ie[ue-2]!==0)throw new _(D);ue-=2}else if(se===3){if(G&&ie[ue-1]!==0)throw new _(D);ue--}return h(y,ie,ue)}})},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),A=0;A<_;A+=2)b[A/2]=h(x(y,A,A+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,A=h(b)==="base64"?u:a,k="",R=0,C=_.length,D,M=function(B){return p(A,D>>6*B&63)};R+2<C;R+=3)D=(_[R]<<16)+(_[R+1]<<8)+_[R+2],k+=M(3)+M(2)+M(1)+M(0);return R+2===C?(D=(_[R]<<16)+(_[R+1]<<8),k+=M(3)+M(2)+M(1)+"="):R+1===C&&(D=_[R]<<16,k+=M(3)+M(2)+"=="),k}})},18481:function(d,v,e){"use strict";var r=e(94488),i=e(92916),l=e(94237),c=e(27270),f=i.Uint8Array,o=l(1 .toString);f&&r({target:"Uint8Array",proto:!0,forced:!0},{toHex:function(){c(this);for(var u="",a=0,x=this.length;a<x;a++){var p=o(this[a],16);u+=p.length===1?"0"+p:p}return u}})},55055:function(d,v,e){"use strict";var r=e(94488),i=e(63619),l=e(42530).remove;r({target:"WeakMap",proto:!0,real:!0,forced:!0},{deleteAll:function(){for(var f=i(this),o=!0,h,u=0,a=arguments.length;u<a;u++)h=l(f,arguments[u]),o=o&&h;return!!o}})},90965:function(d,v,e){"use strict";var r=e(94488),i=e(63619),l=e(42530),c=l.get,f=l.has,o=l.set;r({target:"WeakMap",proto:!0,real:!0,forced:!0},{emplace:function(u,a){var x=i(this),p,y;return f(x,u)?(p=c(x,u),"update"in a&&(p=a.update(p,u,x),o(x,u,p)),p):(y=a.insert(u,x),o(x,u,y),y)}})},7195:function(d,v,e){"use strict";var r=e(94488),i=e(72846);r({target:"WeakMap",stat:!0,forced:!0},{from:i})},89179:function(d,v,e){"use strict";var r=e(94488),i=e(48800);r({target:"WeakMap",stat:!0,forced:!0},{of:i})},67725:function(d,v,e){"use strict";var r=e(94488),i=e(14615);r({target:"WeakMap",proto:!0,real:!0,forced:!0},{upsert:i})},59884:function(d,v,e){"use strict";var r=e(94488),i=e(18888),l=e(91385).add;r({target:"WeakSet",proto:!0,real:!0,forced:!0},{addAll:function(){for(var f=i(this),o=0,h=arguments.length;o<h;o++)l(f,arguments[o]);return f}})},89202:function(d,v,e){"use strict";var r=e(94488),i=e(18888),l=e(91385).remove;r({target:"WeakSet",proto:!0,real:!0,forced:!0},{deleteAll:function(){for(var f=i(this),o=!0,h,u=0,a=arguments.length;u<a;u++)h=l(f,arguments[u]),o=o&&h;return!!o}})},97815:function(d,v,e){"use strict";var r=e(94488),i=e(72846);r({target:"WeakSet",stat:!0,forced:!0},{from:i})},11593:function(d,v,e){"use strict";var r=e(94488),i=e(48800);r({target:"WeakSet",stat:!0,forced:!0},{of:i})},7597:function(d,v,e){"use strict";var r=e(94488),i=e(92916),l=e(65911),c=e(94237),f=e(89945),o=e(3338),h=e(69905),u=e(57106),a=e(66244).c2i,x=/[^\d+/a-z]/i,p=/[\t\n\f\r ]+/g,y=/[=]{1,2}$/,_=l("atob"),b=String.fromCharCode,A=c("".charAt),k=c("".replace),R=c(x.exec),C=!!_&&!o(function(){return _("aGk=")!=="hi"}),D=C&&o(function(){return _(" ")!==""}),M=C&&!o(function(){_("a")}),B=C&&!o(function(){_()}),N=C&&_.length!==1,K=!C||D||M||B||N;r({global:!0,bind:!0,enumerable:!0,forced:K},{atob:function(W){if(u(arguments.length,1),C&&!D&&!M)return f(_,i,W);var se=k(h(W),p,""),ie="",le=0,q=0,J,V,ue;if(se.length%4===0&&(se=k(se,y,"")),J=se.length,J%4===1||R(x,se))throw new(l("DOMException"))("The string is not correctly encoded","InvalidCharacterError");for(;le<J;)V=A(se,le++),ue=q%4?ue*64+a[V]:a[V],q++%4&&(ie+=b(255&ue>>(-2*q&6)));return ie}})},55182:function(d,v,e){"use strict";var r=e(94488),i=e(92916),l=e(65911),c=e(94237),f=e(89945),o=e(3338),h=e(69905),u=e(57106),a=e(66244).i2c,x=l("btoa"),p=c("".charAt),y=c("".charCodeAt),_=!!x&&!o(function(){return x("hi")!=="aGk="}),b=_&&!o(function(){x()}),A=_&&o(function(){return x(null)!=="bnVsbA=="}),k=_&&x.length!==1;r({global:!0,bind:!0,enumerable:!0,forced:!_||b||A||k},{btoa:function(C){if(u(arguments.length,1),_)return f(x,i,h(C));for(var D=h(C),M="",B=0,N=a,K,G;p(D,B)||(N="=",B%1);){if(G=y(D,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(A){y[u]=a}if(o(y,_,!0),i[_]){for(var b in c)if(y[b]!==c[b])try{f(y,b,c[b])}catch(A){y[b]=c[b]}}}};for(var p in i)x(r[p]&&r[p].prototype,p);x(l,"DOMTokenList")},64522:function(d,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),A=e(52109),k=e(80739),R=e(94844),C=e(35454),D=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,W=N.prototype,se=R.set,ie=R.getterFor(M),le="stack"in new N(M),q=function(gt){return x(A,gt)&&A[gt].m?A[gt].c:0},J=function(){p(this,V);var Dt=arguments.length,nr=b(Dt<1?void 0:arguments[0]),Xt=b(Dt<2?void 0:arguments[1],"Error"),cr=q(Xt);if(se(this,{type:M,name:Xt,message:nr,code:cr}),C||(this.name=Xt,this.message=nr,this.code=cr),le){var Ge=new N(nr);Ge.name=M,h(this,"stack",o(1,k(Ge.stack,1)))}},V=J.prototype=f(W),ue=function(gt){return{enumerable:!0,configurable:!0,get:gt}},ee=function(gt){return ue(function(){return ie(this)[gt]})};C&&(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)}),ce=Q||c(function(){return W.toString!==_||String(new K(1,2))!=="2: 1"}),z=Q||c(function(){return new K(1,"DataCloneError").code!==25}),$=Q||K[B]!==25||G[B]!==25,ae=D?ce||z||$:Q;r({global:!0,constructor:!0,forced:ae},{DOMException:ae?J:K});var _e=l(M),De=_e.prototype;ce&&(D||K===_e)&&u(De,"toString",_),z&&C&&K===_e&&a(De,"code",ue(function(){return q(y(this).name)}));for(var ke in A)if(x(A,ke)){var He=A[ke],$e=He.s,Bt=o(6,He.c);x(_e,$e)||h(_e,$e,Bt),x(De,$e)||h(De,$e,Bt)}},41599:function(d,v,e){"use strict";var r=e(94488),i=e(92916),l=e(65911),c=e(35012),f=e(37691).f,o=e(32621),h=e(56472),u=e(25576),a=e(7825),x=e(52109),p=e(80739),y=e(35454),_=e(16697),b="DOMException",A=l("Error"),k=l(b),R=function(){h(this,C);var J=arguments.length,V=a(J<1?void 0:arguments[0]),ue=a(J<2?void 0:arguments[1],"Error"),ee=new k(V,ue),Q=new A(V);return Q.name=b,f(ee,"stack",c(1,p(Q.stack,1))),u(ee,this,R),ee},C=R.prototype=k.prototype,D="stack"in new A(b),M="stack"in new k(1,2),B=k&&y&&Object.getOwnPropertyDescriptor(i,b),N=!!B&&!(B.writable&&B.configurable),K=D&&!N&&!M;r({global:!0,constructor:!0,forced:_||K},{DOMException:K?R:k});var G=l(b),W=G.prototype;if(W.constructor!==G){_||f(W,"constructor",c(1,G));for(var se in x)if(o(x,se)){var ie=x[se],le=ie.s;o(G,le)||f(G,le,c(6,ie.c))}}},86465:function(d,v,e){"use strict";var r=e(65911),i=e(94573),l="DOMException";i(r(l),l)},78437:function(d,v,e){"use strict";e(91472),e(91700)},73624:function(d,v,e){"use strict";var r=e(94488),i=e(92916),l=e(72933),c=e(63335),f=e(57106),o=e(90946),h=i.process;r({global:!0,enumerable:!0,dontCallGetSet:!0},{queueMicrotask:function(a){f(arguments.length,1),c(a);var x=o&&h.domain;l(x?x.bind(a):a)}})},62059:function(d,v,e){"use strict";var r=e(94488),i=e(92916),l=e(64110),c=e(35454),f=TypeError,o=Object.defineProperty,h=i.self!==i;try{if(c){var u=Object.getOwnPropertyDescriptor(i,"self");(h||!u||!u.get||!u.enumerable)&&l(i,"self",{get:function(){return i},set:function(x){if(this!==i)throw new f("Illegal invocation");o(i,"self",{value:x,writable:!0,configurable:!0,enumerable:!0})},configurable:!0,enumerable:!0})}else r({global:!0,simple:!0,forced:h},{self:i})}catch(a){}},91700:function(d,v,e){"use strict";var r=e(94488),i=e(92916),l=e(28887).set,c=e(93222),f=i.setImmediate?c(l,!1):l;r({global:!0,bind:!0,enumerable:!0,forced:i.setImmediate!==f},{setImmediate:f})},88469:function(d,v,e){"use strict";var r=e(94488),i=e(92916),l=e(93222),c=l(i.setInterval,!0);r({global:!0,bind:!0,forced:i.setInterval!==c},{setInterval:c})},91572:function(d,v,e){"use strict";var r=e(94488),i=e(92916),l=e(93222),c=l(i.setTimeout,!0);r({global:!0,bind:!0,forced:i.setTimeout!==c},{setTimeout:c})},10305:function(d,v,e){"use strict";var r=e(16697),i=e(94488),l=e(92916),c=e(65911),f=e(94237),o=e(3338),h=e(6145),u=e(55327),a=e(39812),x=e(4112),p=e(31946),y=e(18446),_=e(62003),b=e(80449),A=e(97607),k=e(32621),R=e(69392),C=e(68151),D=e(82762),M=e(57106),B=e(81644),N=e(2786),K=e(19691),G=e(57002),W=e(39311),se=e(25406),ie=e(80426),le=l.Object,q=l.Array,J=l.Date,V=l.Error,ue=l.TypeError,ee=l.PerformanceMark,Q=c("DOMException"),ce=N.Map,z=N.has,$=N.get,ae=N.set,_e=K.Set,De=K.add,ke=K.has,He=c("Object","keys"),$e=f([].push),Bt=f((!0).valueOf),gt=f(1 .valueOf),Dt=f("".valueOf),nr=f(J.prototype.getTime),Xt=h("structuredClone"),cr="DataCloneError",Ge="Transferring",Tt=function(Pe){return!o(function(){var et=new l.Set([7]),Kt=Pe(et),kt=Pe(le(7));return Kt===et||!Kt.has(7)||!p(kt)||+kt!=7})&&Pe},Ut=function(Pe,et){return!o(function(){var Kt=new et,kt=Pe({a:Kt,b:Kt});return!(kt&&kt.a===kt.b&&kt.a instanceof et&&kt.a.stack===Kt.stack)})},at=function(Pe){return!o(function(){var et=Pe(new l.AggregateError([1],Xt,{cause:3}));return et.name!=="AggregateError"||et.errors[0]!==1||et.message!==Xt||et.cause!==3})},bt=l.structuredClone,dt=r||!Ut(bt,V)||!Ut(bt,Q)||!at(bt),tt=!bt&&Tt(function(Pe){return new ee(Xt,{detail:Pe}).detail}),Ue=Tt(bt)||tt,ye=function(Pe){throw new Q("Uncloneable type: "+Pe,cr)},Ce=function(Pe,et){throw new Q((et||"Cloning")+" of "+Pe+" cannot be properly polyfilled in this engine",cr)},Me=function(Pe,et){return Ue||Ce(et),Ue(Pe)},je=function(){var Pe;try{Pe=new l.DataTransfer}catch(et){try{Pe=new l.ClipboardEvent("").clipboardData}catch(Kt){}}return Pe&&Pe.items&&Pe.files?Pe:null},We=function(Pe,et,Kt){if(z(et,Pe))return $(et,Pe);var kt=Kt||A(Pe),Zt,Nt,tr,Wt,Fe,fe;if(kt==="SharedArrayBuffer")Ue?Zt=Ue(Pe):Zt=Pe;else{var pe=l.DataView;!pe&&!u(Pe.slice)&&Ce("ArrayBuffer");try{if(u(Pe.slice)&&!Pe.resizable)Zt=Pe.slice(0);else for(Nt=Pe.byteLength,tr=("maxByteLength"in Pe)?{maxByteLength:Pe.maxByteLength}:void 0,Zt=new ArrayBuffer(Nt,tr),Wt=new pe(Pe),Fe=new pe(Zt),fe=0;fe<Nt;fe++)Fe.setUint8(fe,Wt.getUint8(fe))}catch(Pt){throw new Q("ArrayBuffer is detached",cr)}}return ae(et,Pe,Zt),Zt},nt=function(Pe,et,Kt,kt,Zt){var Nt=l[et];return p(Nt)||Ce(et),new Nt(We(Pe.buffer,Zt),Kt,kt)},lt=function(Pe,et){if(y(Pe)&&ye("Symbol"),!p(Pe))return Pe;if(et){if(z(et,Pe))return $(et,Pe)}else et=new ce;var Kt=A(Pe),kt,Zt,Nt,tr,Wt,Fe,fe,pe;switch(Kt){case"Array":Nt=q(D(Pe));break;case"Object":Nt={};break;case"Map":Nt=new ce;break;case"Set":Nt=new _e;break;case"RegExp":Nt=new RegExp(Pe.source,B(Pe));break;case"Error":switch(Zt=Pe.name,Zt){case"AggregateError":Nt=new(c(Zt))([]);break;case"EvalError":case"RangeError":case"ReferenceError":case"SuppressedError":case"SyntaxError":case"TypeError":case"URIError":Nt=new(c(Zt));break;case"CompileError":case"LinkError":case"RuntimeError":Nt=new(c("WebAssembly",Zt));break;default:Nt=new V}break;case"DOMException":Nt=new Q(Pe.message,Pe.name);break;case"ArrayBuffer":case"SharedArrayBuffer":Nt=We(Pe,et,Kt);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":Fe=Kt==="DataView"?Pe.byteLength:Pe.length,Nt=nt(Pe,Kt,Pe.byteOffset,Fe,et);break;case"DOMQuad":try{Nt=new DOMQuad(lt(Pe.p1,et),lt(Pe.p2,et),lt(Pe.p3,et),lt(Pe.p4,et))}catch(Pt){Nt=Me(Pe,Kt)}break;case"File":if(Ue)try{Nt=Ue(Pe),A(Nt)!==Kt&&(Nt=void 0)}catch(Pt){}if(!Nt)try{Nt=new File([Pe],Pe.name,Pe)}catch(Pt){}Nt||Ce(Kt);break;case"FileList":if(tr=je(),tr){for(Wt=0,Fe=D(Pe);Wt<Fe;Wt++)tr.items.add(lt(Pe[Wt],et));Nt=tr.files}else Nt=Me(Pe,Kt);break;case"ImageData":try{Nt=new ImageData(lt(Pe.data,et),Pe.width,Pe.height,{colorSpace:Pe.colorSpace})}catch(Pt){Nt=Me(Pe,Kt)}break;default:if(Ue)Nt=Ue(Pe);else switch(Kt){case"BigInt":Nt=le(Pe.valueOf());break;case"Boolean":Nt=le(Bt(Pe));break;case"Number":Nt=le(gt(Pe));break;case"String":Nt=le(Dt(Pe));break;case"Date":Nt=new J(nr(Pe));break;case"Blob":try{Nt=Pe.slice(0,Pe.size,Pe.type)}catch(Pt){Ce(Kt)}break;case"DOMPoint":case"DOMPointReadOnly":kt=l[Kt];try{Nt=kt.fromPoint?kt.fromPoint(Pe):new kt(Pe.x,Pe.y,Pe.z,Pe.w)}catch(Pt){Ce(Kt)}break;case"DOMRect":case"DOMRectReadOnly":kt=l[Kt];try{Nt=kt.fromRect?kt.fromRect(Pe):new kt(Pe.x,Pe.y,Pe.width,Pe.height)}catch(Pt){Ce(Kt)}break;case"DOMMatrix":case"DOMMatrixReadOnly":kt=l[Kt];try{Nt=kt.fromMatrix?kt.fromMatrix(Pe):new kt(Pe)}catch(Pt){Ce(Kt)}break;case"AudioData":case"VideoFrame":u(Pe.clone)||Ce(Kt);try{Nt=Pe.clone()}catch(Pt){ye(Kt)}break;case"CropTarget":case"CryptoKey":case"FileSystemDirectoryHandle":case"FileSystemFileHandle":case"FileSystemHandle":case"GPUCompilationInfo":case"GPUCompilationMessage":case"ImageBitmap":case"RTCCertificate":case"WebAssembly.Module":Ce(Kt);default:ye(Kt)}}switch(ae(et,Pe,Nt),Kt){case"Array":case"Object":for(fe=He(Pe),Wt=0,Fe=D(fe);Wt<Fe;Wt++)pe=fe[Wt],R(Nt,pe,lt(Pe[pe],et));break;case"Map":Pe.forEach(function(Pt,Ie){ae(Nt,lt(Ie,et),lt(Pt,et))});break;case"Set":Pe.forEach(function(Pt){De(Nt,lt(Pt,et))});break;case"Error":C(Nt,"message",lt(Pe.message,et)),k(Pe,"cause")&&C(Nt,"cause",lt(Pe.cause,et)),Zt==="AggregateError"?Nt.errors=lt(Pe.errors,et):Zt==="SuppressedError"&&(Nt.error=lt(Pe.error,et),Nt.suppressed=lt(Pe.suppressed,et));case"DOMException":se&&C(Nt,"stack",lt(Pe.stack,et))}return Nt},Vt=function(Pe,et){if(!p(Pe))throw new ue("Transfer option cannot be converted to a sequence");var Kt=[];_(Pe,function(Ie){$e(Kt,b(Ie))});for(var kt=0,Zt=D(Kt),Nt=new _e,tr,Wt,Fe,fe,pe,Pt;kt<Zt;){if(tr=Kt[kt++],Wt=A(tr),Wt==="ArrayBuffer"?ke(Nt,tr):z(et,tr))throw new Q("Duplicate transferable",cr);if(Wt==="ArrayBuffer"){De(Nt,tr);continue}if(ie)fe=bt(tr,{transfer:[tr]});else switch(Wt){case"ImageBitmap":Fe=l.OffscreenCanvas,a(Fe)||Ce(Wt,Ge);try{pe=new Fe(tr.width,tr.height),Pt=pe.getContext("bitmaprenderer"),Pt.transferFromImageBitmap(tr),fe=pe.transferToImageBitmap()}catch(Ie){}break;case"AudioData":case"VideoFrame":(!u(tr.clone)||!u(tr.close))&&Ce(Wt,Ge);try{fe=tr.clone(),tr.close()}catch(Ie){}break;case"MediaSourceHandle":case"MessagePort":case"OffscreenCanvas":case"ReadableStream":case"TransformStream":case"WritableStream":Ce(Wt,Ge)}if(fe===void 0)throw new Q("This object cannot be transferred: "+Wt,cr);ae(et,tr,fe)}return Nt},Ht=function(Pe){G(Pe,function(et){ie?Ue(et,{transfer:[et]}):u(et.transfer)?et.transfer():W?W(et):Ce("ArrayBuffer",Ge)})};i({global:!0,enumerable:!0,sham:!ie,forced:dt},{structuredClone:function(et){var Kt=M(arguments.length,1)>1&&!x(arguments[1])?b(arguments[1]):void 0,kt=Kt?Kt.transfer:void 0,Zt,Nt;kt!==void 0&&(Zt=new ce,Nt=Vt(kt,Zt));var tr=lt(et,Zt);return Nt&&Ht(Nt),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),A=e(32621),k=e(80666),R=e(97607),C=e(80449),D=e(31946),M=e(69905),B=e(20132),N=e(35012),K=e(85428),G=e(26006),W=e(25587),se=e(57106),ie=e(59893),le=e(63668),q=ie("iterator"),J="URLSearchParams",V=J+"Iterator",ue=y.set,ee=y.getterFor(J),Q=y.getterFor(V),ce=Object.getOwnPropertyDescriptor,z=function(Zt){if(!f)return i[Zt];var Nt=ce(i,Zt);return Nt&&Nt.value},$=z("fetch"),ae=z("Request"),_e=z("Headers"),De=ae&&ae.prototype,ke=_e&&_e.prototype,He=i.RegExp,$e=i.TypeError,Bt=i.decodeURIComponent,gt=i.encodeURIComponent,Dt=c("".charAt),nr=c([].join),Xt=c([].push),cr=c("".replace),Ge=c([].shift),Tt=c([].splice),Ut=c("".split),at=c("".slice),bt=/\+/g,dt=Array(4),tt=function(Zt){return dt[Zt-1]||(dt[Zt-1]=He("((?:%[\\da-f]{2}){"+Zt+"})","gi"))},Ue=function(Zt){try{return Bt(Zt)}catch(Nt){return Zt}},ye=function(Zt){var Nt=cr(Zt,bt," "),tr=4;try{return Bt(Nt)}catch(Wt){for(;tr;)Nt=cr(Nt,tt(tr--),Ue);return Nt}},Ce=/[!'()~]|%20/g,Me={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"},je=function(Zt){return Me[Zt]},We=function(Zt){return cr(gt(Zt),Ce,je)},nt=p(function(Nt,tr){ue(this,{type:V,target:ee(Nt).entries,index:0,kind:tr})},J,function(){var Nt=Q(this),tr=Nt.target,Wt=Nt.index++;if(!tr||Wt>=tr.length)return Nt.target=void 0,W(void 0,!0);var Fe=tr[Wt];switch(Nt.kind){case"keys":return W(Fe.key,!1);case"values":return W(Fe.value,!1)}return W([Fe.key,Fe.value],!1)},!0),lt=function(Zt){this.entries=[],this.url=null,Zt!==void 0&&(D(Zt)?this.parseObject(Zt):this.parseQuery(typeof Zt=="string"?Dt(Zt,0)==="?"?at(Zt,1):Zt:M(Zt)))};lt.prototype={type:J,bindURL:function(Zt){this.url=Zt,this.update()},parseObject:function(Zt){var Nt=this.entries,tr=G(Zt),Wt,Fe,fe,pe,Pt,Ie,ct;if(tr)for(Wt=K(Zt,tr),Fe=Wt.next;!(fe=l(Fe,Wt)).done;){if(pe=K(C(fe.value)),Pt=pe.next,(Ie=l(Pt,pe)).done||(ct=l(Pt,pe)).done||!l(Pt,pe).done)throw new $e("Expected sequence with length 2");Xt(Nt,{key:M(Ie.value),value:M(ct.value)})}else for(var zt in Zt)A(Zt,zt)&&Xt(Nt,{key:zt,value:M(Zt[zt])})},parseQuery:function(Zt){if(Zt)for(var Nt=this.entries,tr=Ut(Zt,"&"),Wt=0,Fe,fe;Wt<tr.length;)Fe=tr[Wt++],Fe.length&&(fe=Ut(Fe,"="),Xt(Nt,{key:ye(Ge(fe)),value:ye(nr(fe,"="))}))},serialize:function(){for(var Zt=this.entries,Nt=[],tr=0,Wt;tr<Zt.length;)Wt=Zt[tr++],Xt(Nt,We(Wt.key)+"="+We(Wt.value));return nr(Nt,"&")},update:function(){this.entries.length=0,this.parseQuery(this.url.query)},updateURL:function(){this.url&&this.url.update()}};var Vt=function(){_(this,Ht);var Nt=arguments.length>0?arguments[0]:void 0,tr=ue(this,new lt(Nt));f||(this.size=tr.entries.length)},Ht=Vt.prototype;if(a(Ht,{append:function(Nt,tr){var Wt=ee(this);se(arguments.length,2),Xt(Wt.entries,{key:M(Nt),value:M(tr)}),f||this.length++,Wt.updateURL()},delete:function(Zt){for(var Nt=ee(this),tr=se(arguments.length,1),Wt=Nt.entries,Fe=M(Zt),fe=tr<2?void 0:arguments[1],pe=fe===void 0?fe:M(fe),Pt=0;Pt<Wt.length;){var Ie=Wt[Pt];if(Ie.key===Fe&&(pe===void 0||Ie.value===pe)){if(Tt(Wt,Pt,1),pe!==void 0)break}else Pt++}f||(this.size=Wt.length),Nt.updateURL()},get:function(Nt){var tr=ee(this).entries;se(arguments.length,1);for(var Wt=M(Nt),Fe=0;Fe<tr.length;Fe++)if(tr[Fe].key===Wt)return tr[Fe].value;return null},getAll:function(Nt){var tr=ee(this).entries;se(arguments.length,1);for(var Wt=M(Nt),Fe=[],fe=0;fe<tr.length;fe++)tr[fe].key===Wt&&Xt(Fe,tr[fe].value);return Fe},has:function(Nt){for(var tr=ee(this).entries,Wt=se(arguments.length,1),Fe=M(Nt),fe=Wt<2?void 0:arguments[1],pe=fe===void 0?fe:M(fe),Pt=0;Pt<tr.length;){var Ie=tr[Pt++];if(Ie.key===Fe&&(pe===void 0||Ie.value===pe))return!0}return!1},set:function(Nt,tr){var Wt=ee(this);se(arguments.length,1);for(var Fe=Wt.entries,fe=!1,pe=M(Nt),Pt=M(tr),Ie=0,ct;Ie<Fe.length;Ie++)ct=Fe[Ie],ct.key===pe&&(fe?Tt(Fe,Ie--,1):(fe=!0,ct.value=Pt));fe||Xt(Fe,{key:pe,value:Pt}),f||(this.size=Fe.length),Wt.updateURL()},sort:function(){var Nt=ee(this);le(Nt.entries,function(tr,Wt){return tr.key>Wt.key?1:-1}),Nt.updateURL()},forEach:function(Nt){for(var tr=ee(this).entries,Wt=k(Nt,arguments.length>1?arguments[1]:void 0),Fe=0,fe;Fe<tr.length;)fe=tr[Fe++],Wt(fe.value,fe.key,this)},keys:function(){return new nt(this,"keys")},values:function(){return new nt(this,"values")},entries:function(){return new nt(this,"entries")}},{enumerable:!0}),h(Ht,q,Ht.entries,{name:"entries"}),h(Ht,"toString",function(){return ee(this).serialize()},{enumerable:!0}),f&&u(Ht,"size",{get:function(){return ee(this).entries.length},configurable:!0,enumerable:!0}),x(Vt,J),r({global:!0,constructor:!0,forced:!o},{URLSearchParams:Vt}),!o&&b(_e)){var Pe=c(ke.has),et=c(ke.set),Kt=function(Zt){if(D(Zt)){var Nt=Zt.body,tr;if(R(Nt)===J)return tr=Zt.headers?new _e(Zt.headers):new _e,Pe(tr,"content-type")||et(tr,"content-type","application/x-www-form-urlencoded;charset=UTF-8"),B(Zt,{body:N(0,M(Nt)),headers:N(0,tr)})}return Zt};if(b($)&&r({global:!0,enumerable:!0,dontCallGetSet:!0,forced:!0},{fetch:function(Nt){return $(Nt,arguments.length>1?Kt(arguments[1]):{})}}),b(ae)){var kt=function(Nt){return _(this,De),new ae(Nt,arguments.length>1?Kt(arguments[1]):{})};De.constructor=kt,kt.prototype=De,r({global:!0,constructor:!0,dontCallGetSet:!0,forced:!0},{Request:kt})}}d.exports={URLSearchParams:Vt,getState:ee}},4890:function(d,v,e){"use strict";var r=e(2291),i=e(94237),l=e(69905),c=e(57106),f=URLSearchParams,o=f.prototype,h=i(o.append),u=i(o.delete),a=i(o.forEach),x=i([].push),p=new f("a=1&a=2&b=3");p.delete("a",1),p.delete("b",void 0),p+""!="a=2"&&r(o,"delete",function(y){var _=arguments.length,b=_<2?void 0:arguments[1];if(_&&b===void 0)return u(this,y);var A=[];a(this,function(K,G){x(A,{key:G,value:K})}),c(_,1);for(var k=l(y),R=l(b),C=0,D=0,M=!1,B=A.length,N;C<B;)N=A[C++],M||N.key===k?(M=!0,u(this,N.key)):D++;for(;D<B;)N=A[D++],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 A=l(_),k=0;k<b.length;)if(b[k++]===A)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,A=e(93245),k=e(69905),R=e(94573),C=e(57106),D=e(91340),M=e(94844),B=M.set,N=M.getterFor("URL"),K=D.URLSearchParams,G=D.getState,W=c.URL,se=c.TypeError,ie=c.parseInt,le=Math.floor,q=Math.pow,J=o("".charAt),V=o(/./.exec),ue=o([].join),ee=o(1 .toString),Q=o([].pop),ce=o([].push),z=o("".replace),$=o([].shift),ae=o("".split),_e=o("".slice),De=o("".toLowerCase),ke=o([].unshift),He="Invalid authority",$e="Invalid scheme",Bt="Invalid host",gt="Invalid port",Dt=/[a-z]/i,nr=/[\d+-.a-z]/i,Xt=/\d/,cr=/^0x/i,Ge=/^[0-7]+$/,Tt=/^\d+$/,Ut=/^[\da-f]+$/i,at=/[\0\t\n\r #%/:<>?@[\\\]^|]/,bt=/[\0\t\n\r #/:<>?@[\\\]^|]/,dt=/^[\u0000-\u0020]+/,tt=/(^|[^\u0000-\u0020])[\u0000-\u0020]+$/,Ue=/[\t\n\r]/g,ye,Ce=function(or){var Rt=ae(or,"."),_t,vt,$t,Sr,vr,Qr,Wr;if(Rt.length&&Rt[Rt.length-1]===""&&Rt.length--,_t=Rt.length,_t>4)return or;for(vt=[],$t=0;$t<_t;$t++){if(Sr=Rt[$t],Sr==="")return or;if(vr=10,Sr.length>1&&J(Sr,0)==="0"&&(vr=V(cr,Sr)?16:8,Sr=_e(Sr,vr===8?1:2)),Sr==="")Qr=0;else{if(!V(vr===10?Tt:vr===8?Ge:Ut,Sr))return or;Qr=ie(Sr,vr)}ce(vt,Qr)}for($t=0;$t<_t;$t++)if(Qr=vt[$t],$t===_t-1){if(Qr>=q(256,5-_t))return null}else if(Qr>255)return null;for(Wr=Q(vt),$t=0;$t<vt.length;$t++)Wr+=vt[$t]*q(256,3-$t);return Wr},Me=function(or){var Rt=[0,0,0,0,0,0,0,0],_t=0,vt=null,$t=0,Sr,vr,Qr,Wr,An,At,lr,Vr=function(){return J(or,$t)};if(Vr()===":"){if(J(or,1)!==":")return;$t+=2,_t++,vt=_t}for(;Vr();){if(_t===8)return;if(Vr()===":"){if(vt!==null)return;$t++,_t++,vt=_t;continue}for(Sr=vr=0;vr<4&&V(Ut,Vr());)Sr=Sr*16+ie(Vr(),16),$t++,vr++;if(Vr()==="."){if(vr===0||($t-=vr,_t>6))return;for(Qr=0;Vr();){if(Wr=null,Qr>0)if(Vr()==="."&&Qr<4)$t++;else return;if(!V(Xt,Vr()))return;for(;V(Xt,Vr());){if(An=ie(Vr(),10),Wr===null)Wr=An;else{if(Wr===0)return;Wr=Wr*10+An}if(Wr>255)return;$t++}Rt[_t]=Rt[_t]*256+Wr,Qr++,(Qr===2||Qr===4)&&_t++}if(Qr!==4)return;break}else if(Vr()===":"){if($t++,!Vr())return}else if(Vr())return;Rt[_t++]=Sr}if(vt!==null)for(At=_t-vt,_t=7;_t!==0&&At>0;)lr=Rt[_t],Rt[_t--]=Rt[vt+At-1],Rt[vt+--At]=lr;else if(_t!==8)return;return Rt},je=function(or){for(var Rt=null,_t=1,vt=null,$t=0,Sr=0;Sr<8;Sr++)or[Sr]!==0?($t>_t&&(Rt=vt,_t=$t),vt=null,$t=0):(vt===null&&(vt=Sr),++$t);return $t>_t&&(Rt=vt,_t=$t),Rt},We=function(or){var Rt,_t,vt,$t;if(typeof or=="number"){for(Rt=[],_t=0;_t<4;_t++)ke(Rt,or%256),or=le(or/256);return ue(Rt,".")}else if(typeof or=="object"){for(Rt="",vt=je(or),_t=0;_t<8;_t++)$t&&or[_t]===0||($t&&($t=!1),vt===_t?(Rt+=_t?":":"::",$t=!0):(Rt+=ee(or[_t],16),_t<7&&(Rt+=":")));return"["+Rt+"]"}return or},nt={},lt=p({},nt,{" ":1,'"':1,"<":1,">":1,"`":1}),Vt=p({},lt,{"#":1,"?":1,"{":1,"}":1}),Ht=p({},Vt,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),Pe=function(or,Rt){var _t=b(or,0);return _t>32&&_t<127&&!x(Rt,or)?or:encodeURIComponent(or)},et={ftp:21,file:null,http:80,https:443,ws:80,wss:443},Kt=function(or,Rt){var _t;return or.length===2&&V(Dt,J(or,0))&&((_t=J(or,1))===":"||!Rt&&_t==="|")},kt=function(or){var Rt;return or.length>1&&Kt(_e(or,0,2))&&(or.length===2||(Rt=J(or,2))==="/"||Rt==="\\"||Rt==="?"||Rt==="#")},Zt=function(or){return or==="."||De(or)==="%2e"},Nt=function(or){return or=De(or),or===".."||or==="%2e."||or===".%2e"||or==="%2e%2e"},tr={},Wt={},Fe={},fe={},pe={},Pt={},Ie={},ct={},zt={},wt={},Oe={},xt={},xe={},Ye={},mt={},Mt={},Be={},Ir={},St={},Zr={},Yr={},xr=function(or,Rt,_t){var vt=k(or),$t,Sr,vr;if(Rt){if(Sr=this.parse(vt),Sr)throw new se(Sr);this.searchParams=null}else{if(_t!==void 0&&($t=new xr(_t,!0)),Sr=this.parse(vt,null,$t),Sr)throw new se(Sr);vr=G(new K),vr.bindURL(this),this.searchParams=vr}};xr.prototype={type:"URL",parse:function(or,Rt,_t){var vt=this,$t=Rt||tr,Sr=0,vr="",Qr=!1,Wr=!1,An=!1,At,lr,Vr,dn;for(or=k(or),Rt||(vt.scheme="",vt.username="",vt.password="",vt.host=null,vt.port=null,vt.path=[],vt.query=null,vt.fragment=null,vt.cannotBeABaseURL=!1,or=z(or,dt,""),or=z(or,tt,"$1")),or=z(or,Ue,""),At=y(or);Sr<=At.length;){switch(lr=At[Sr],$t){case tr:if(lr&&V(Dt,lr))vr+=De(lr),$t=Wt;else{if(Rt)return $e;$t=Fe;continue}break;case Wt:if(lr&&(V(nr,lr)||lr==="+"||lr==="-"||lr==="."))vr+=De(lr);else if(lr===":"){if(Rt&&(vt.isSpecial()!==x(et,vr)||vr==="file"&&(vt.includesCredentials()||vt.port!==null)||vt.scheme==="file"&&!vt.host))return;if(vt.scheme=vr,Rt){vt.isSpecial()&&et[vt.scheme]===vt.port&&(vt.port=null);return}vr="",vt.scheme==="file"?$t=Ye:vt.isSpecial()&&_t&&_t.scheme===vt.scheme?$t=fe:vt.isSpecial()?$t=ct:At[Sr+1]==="/"?($t=pe,Sr++):(vt.cannotBeABaseURL=!0,ce(vt.path,""),$t=St)}else{if(Rt)return $e;vr="",$t=Fe,Sr=0;continue}break;case Fe:if(!_t||_t.cannotBeABaseURL&&lr!=="#")return $e;if(_t.cannotBeABaseURL&&lr==="#"){vt.scheme=_t.scheme,vt.path=_(_t.path),vt.query=_t.query,vt.fragment="",vt.cannotBeABaseURL=!0,$t=Yr;break}$t=_t.scheme==="file"?Ye:Pt;continue;case fe:if(lr==="/"&&At[Sr+1]==="/")$t=zt,Sr++;else{$t=Pt;continue}break;case pe:if(lr==="/"){$t=wt;break}else{$t=Ir;continue}case Pt:if(vt.scheme=_t.scheme,lr===ye)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(lr==="/"||lr==="\\"&&vt.isSpecial())$t=Ie;else if(lr==="?")vt.username=_t.username,vt.password=_t.password,vt.host=_t.host,vt.port=_t.port,vt.path=_(_t.path),vt.query="",$t=Zr;else if(lr==="#")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="",$t=Yr;else{vt.username=_t.username,vt.password=_t.password,vt.host=_t.host,vt.port=_t.port,vt.path=_(_t.path),vt.path.length--,$t=Ir;continue}break;case Ie:if(vt.isSpecial()&&(lr==="/"||lr==="\\"))$t=zt;else if(lr==="/")$t=wt;else{vt.username=_t.username,vt.password=_t.password,vt.host=_t.host,vt.port=_t.port,$t=Ir;continue}break;case ct:if($t=zt,lr!=="/"||J(vr,Sr+1)!=="/")continue;Sr++;break;case zt:if(lr!=="/"&&lr!=="\\"){$t=wt;continue}break;case wt:if(lr==="@"){Qr&&(vr="%40"+vr),Qr=!0,Vr=y(vr);for(var Bn=0;Bn<Vr.length;Bn++){var ti=Vr[Bn];if(ti===":"&&!An){An=!0;continue}var Un=Pe(ti,Ht);An?vt.password+=Un:vt.username+=Un}vr=""}else if(lr===ye||lr==="/"||lr==="?"||lr==="#"||lr==="\\"&&vt.isSpecial()){if(Qr&&vr==="")return He;Sr-=y(vr).length+1,vr="",$t=Oe}else vr+=lr;break;case Oe:case xt:if(Rt&&vt.scheme==="file"){$t=Mt;continue}else if(lr===":"&&!Wr){if(vr==="")return Bt;if(dn=vt.parseHost(vr),dn)return dn;if(vr="",$t=xe,Rt===xt)return}else if(lr===ye||lr==="/"||lr==="?"||lr==="#"||lr==="\\"&&vt.isSpecial()){if(vt.isSpecial()&&vr==="")return Bt;if(Rt&&vr===""&&(vt.includesCredentials()||vt.port!==null))return;if(dn=vt.parseHost(vr),dn)return dn;if(vr="",$t=Be,Rt)return;continue}else lr==="["?Wr=!0:lr==="]"&&(Wr=!1),vr+=lr;break;case xe:if(V(Xt,lr))vr+=lr;else if(lr===ye||lr==="/"||lr==="?"||lr==="#"||lr==="\\"&&vt.isSpecial()||Rt){if(vr!==""){var Ri=ie(vr,10);if(Ri>65535)return gt;vt.port=vt.isSpecial()&&Ri===et[vt.scheme]?null:Ri,vr=""}if(Rt)return;$t=Be;continue}else return gt;break;case Ye:if(vt.scheme="file",lr==="/"||lr==="\\")$t=mt;else if(_t&&_t.scheme==="file")switch(lr){case ye:vt.host=_t.host,vt.path=_(_t.path),vt.query=_t.query;break;case"?":vt.host=_t.host,vt.path=_(_t.path),vt.query="",$t=Zr;break;case"#":vt.host=_t.host,vt.path=_(_t.path),vt.query=_t.query,vt.fragment="",$t=Yr;break;default:kt(ue(_(At,Sr),""))||(vt.host=_t.host,vt.path=_(_t.path),vt.shortenPath()),$t=Ir;continue}else{$t=Ir;continue}break;case mt:if(lr==="/"||lr==="\\"){$t=Mt;break}_t&&_t.scheme==="file"&&!kt(ue(_(At,Sr),""))&&(Kt(_t.path[0],!0)?ce(vt.path,_t.path[0]):vt.host=_t.host),$t=Ir;continue;case Mt:if(lr===ye||lr==="/"||lr==="\\"||lr==="?"||lr==="#"){if(!Rt&&Kt(vr))$t=Ir;else if(vr===""){if(vt.host="",Rt)return;$t=Be}else{if(dn=vt.parseHost(vr),dn)return dn;if(vt.host==="localhost"&&(vt.host=""),Rt)return;vr="",$t=Be}continue}else vr+=lr;break;case Be:if(vt.isSpecial()){if($t=Ir,lr!=="/"&&lr!=="\\")continue}else if(!Rt&&lr==="?")vt.query="",$t=Zr;else if(!Rt&&lr==="#")vt.fragment="",$t=Yr;else if(lr!==ye&&($t=Ir,lr!=="/"))continue;break;case Ir:if(lr===ye||lr==="/"||lr==="\\"&&vt.isSpecial()||!Rt&&(lr==="?"||lr==="#")){if(Nt(vr)?(vt.shortenPath(),lr!=="/"&&!(lr==="\\"&&vt.isSpecial())&&ce(vt.path,"")):Zt(vr)?lr!=="/"&&!(lr==="\\"&&vt.isSpecial())&&ce(vt.path,""):(vt.scheme==="file"&&!vt.path.length&&Kt(vr)&&(vt.host&&(vt.host=""),vr=J(vr,0)+":"),ce(vt.path,vr)),vr="",vt.scheme==="file"&&(lr===ye||lr==="?"||lr==="#"))for(;vt.path.length>1&&vt.path[0]==="";)$(vt.path);lr==="?"?(vt.query="",$t=Zr):lr==="#"&&(vt.fragment="",$t=Yr)}else vr+=Pe(lr,Vt);break;case St:lr==="?"?(vt.query="",$t=Zr):lr==="#"?(vt.fragment="",$t=Yr):lr!==ye&&(vt.path[0]+=Pe(lr,nt));break;case Zr:!Rt&&lr==="#"?(vt.fragment="",$t=Yr):lr!==ye&&(lr==="'"&&vt.isSpecial()?vt.query+="%27":lr==="#"?vt.query+="%23":vt.query+=Pe(lr,nt));break;case Yr:lr!==ye&&(vt.fragment+=Pe(lr,lt));break}Sr++}},parseHost:function(or){var Rt,_t,vt;if(J(or,0)==="["){if(J(or,or.length-1)!=="]"||(Rt=Me(_e(or,1,-1)),!Rt))return Bt;this.host=Rt}else if(this.isSpecial()){if(or=A(or),V(at,or)||(Rt=Ce(or),Rt===null))return Bt;this.host=Rt}else{if(V(bt,or))return Bt;for(Rt="",_t=y(or),vt=0;vt<_t.length;vt++)Rt+=Pe(_t[vt],nt);this.host=Rt}},cannotHaveUsernamePasswordPort:function(){return!this.host||this.cannotBeABaseURL||this.scheme==="file"},includesCredentials:function(){return this.username!==""||this.password!==""},isSpecial:function(){return x(et,this.scheme)},shortenPath:function(){var or=this.path,Rt=or.length;Rt&&(this.scheme!=="file"||Rt!==1||!Kt(or[0],!0))&&or.length--},serialize:function(){var or=this,Rt=or.scheme,_t=or.username,vt=or.password,$t=or.host,Sr=or.port,vr=or.path,Qr=or.query,Wr=or.fragment,An=Rt+":";return $t!==null?(An+="//",or.includesCredentials()&&(An+=_t+(vt?":"+vt:"")+"@"),An+=We($t),Sr!==null&&(An+=":"+Sr)):Rt==="file"&&(An+="//"),An+=or.cannotBeABaseURL?vr[0]:vr.length?"/"+ue(vr,"/"):"",Qr!==null&&(An+="?"+Qr),Wr!==null&&(An+="#"+Wr),An},setHref:function(or){var Rt=this.parse(or);if(Rt)throw new se(Rt);this.searchParams.update()},getOrigin:function(){var or=this.scheme,Rt=this.port;if(or==="blob")try{return new Mr(or.path[0]).origin}catch(_t){return"null"}return or==="file"||!this.isSpecial()?"null":or+"://"+We(this.host)+(Rt!==null?":"+Rt:"")},getProtocol:function(){return this.scheme+":"},setProtocol:function(or){this.parse(k(or)+":",tr)},getUsername:function(){return this.username},setUsername:function(or){var Rt=y(k(or));if(!this.cannotHaveUsernamePasswordPort()){this.username="";for(var _t=0;_t<Rt.length;_t++)this.username+=Pe(Rt[_t],Ht)}},getPassword:function(){return this.password},setPassword:function(or){var Rt=y(k(or));if(!this.cannotHaveUsernamePasswordPort()){this.password="";for(var _t=0;_t<Rt.length;_t++)this.password+=Pe(Rt[_t],Ht)}},getHost:function(){var or=this.host,Rt=this.port;return or===null?"":Rt===null?We(or):We(or)+":"+Rt},setHost:function(or){this.cannotBeABaseURL||this.parse(or,Oe)},getHostname:function(){var or=this.host;return or===null?"":We(or)},setHostname:function(or){this.cannotBeABaseURL||this.parse(or,xt)},getPort:function(){var or=this.port;return or===null?"":k(or)},setPort:function(or){this.cannotHaveUsernamePasswordPort()||(or=k(or),or===""?this.port=null:this.parse(or,xe))},getPathname:function(){var or=this.path;return this.cannotBeABaseURL?or[0]:or.length?"/"+ue(or,"/"):""},setPathname:function(or){this.cannotBeABaseURL||(this.path=[],this.parse(or,Be))},getSearch:function(){var or=this.query;return or?"?"+or:""},setSearch:function(or){or=k(or),or===""?this.query=null:(J(or,0)==="?"&&(or=_e(or,1)),this.query="",this.parse(or,Zr)),this.searchParams.update()},getSearchParams:function(){return this.searchParams.facade},getHash:function(){var or=this.fragment;return or?"#"+or:""},setHash:function(or){if(or=k(or),or===""){this.fragment=null;return}J(or,0)==="#"&&(or=_e(or,1)),this.fragment="",this.parse(or,Yr)},update:function(){this.query=this.searchParams.serialize()||null}};var Mr=function(Rt){var _t=a(this,mr),vt=C(arguments.length,1)>1?arguments[1]:void 0,$t=B(_t,new xr(Rt,!1,vt));i||(_t.href=$t.serialize(),_t.origin=$t.getOrigin(),_t.protocol=$t.getProtocol(),_t.username=$t.getUsername(),_t.password=$t.getPassword(),_t.host=$t.getHost(),_t.hostname=$t.getHostname(),_t.port=$t.getPort(),_t.pathname=$t.getPathname(),_t.search=$t.getSearch(),_t.searchParams=$t.getSearchParams(),_t.hash=$t.getHash())},mr=Mr.prototype,Nr=function(or,Rt){return{get:function(){return N(this)[or]()},set:Rt&&function(_t){return N(this)[Rt](_t)},configurable:!0,enumerable:!0}};if(i&&(u(mr,"href",Nr("serialize","setHref")),u(mr,"origin",Nr("getOrigin")),u(mr,"protocol",Nr("getProtocol","setProtocol")),u(mr,"username",Nr("getUsername","setUsername")),u(mr,"password",Nr("getPassword","setPassword")),u(mr,"host",Nr("getHost","setHost")),u(mr,"hostname",Nr("getHostname","setHostname")),u(mr,"port",Nr("getPort","setPort")),u(mr,"pathname",Nr("getPathname","setPathname")),u(mr,"search",Nr("getSearch","setSearch")),u(mr,"searchParams",Nr("getSearchParams")),u(mr,"hash",Nr("getHash","setHash"))),h(mr,"toJSON",function(){return N(this).serialize()},{enumerable:!0}),h(mr,"toString",function(){return N(this).serialize()},{enumerable:!0}),W){var nn=W.createObjectURL,on=W.revokeObjectURL;nn&&h(Mr,"createObjectURL",f(nn,W)),on&&h(Mr,"revokeObjectURL",f(on,W))}R(Mr,"URL"),r({global:!0,constructor:!0,forced:!l,sham:!i},{URL:Mr})},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,A=!1;try{if(p=(u=u.call(o)).next,h===0){if(Object(u)!==u)return;b=!1}else for(;!(b=(a=p.call(u)).done)&&(_.push(a.value),_.length!==h);b=!0);}catch(k){A=!0,x=k}finally{try{if(!b&&u.return!=null&&(y=u.return(),Object(y)!==y))return}finally{if(A)throw x}}return _}}var l=e(99227),c=e(66160);function f(o,h){return(0,r.Z)(o)||i(o,h)||(0,l.Z)(o,h)||(0,c.Z)()}},89878:function(d,v,e){"use strict";e.d(v,{Z:function(){return l}});var r=e(8616);function i(c,f){if((0,r.Z)(c)!="object"||!c)return c;var o=c[Symbol.toPrimitive];if(o!==void 0){var h=o.call(c,f||"default");if((0,r.Z)(h)!="object")return h;throw new TypeError("@@toPrimitive must return a primitive value.")}return(f==="string"?String:Number)(c)}function l(c){var f=i(c,"string");return(0,r.Z)(f)=="symbol"?f:String(f)}},8616:function(d,v,e){"use strict";e.d(v,{Z:function(){return r}});function r(i){"@babel/helpers - typeof";return r=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(l){return typeof l}:function(l){return l&&typeof Symbol=="function"&&l.constructor===Symbol&&l!==Symbol.prototype?"symbol":typeof l},r(i)}},99227:function(d,v,e){"use strict";e.d(v,{Z:function(){return i}});function r(l,c){(c==null||c>l.length)&&(c=l.length);for(var f=0,o=new Array(c);f<c;f++)o[f]=l[f];return o}function i(l,c){if(l){if(typeof l=="string")return r(l,c);var f=Object.prototype.toString.call(l).slice(8,-1);if(f==="Object"&&l.constructor&&(f=l.constructor.name),f==="Map"||f==="Set")return Array.from(l);if(f==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(f))return r(l,c)}}},87268:function(d,v,e){"use strict";e.d(v,{Z:function(){return r}});function r(i,l){(l==null||l>i.length)&&(l=i.length);for(var c=0,f=Array(l);c<l;c++)f[c]=i[c];return f}},43577:function(d,v,e){"use strict";e.d(v,{Z:function(){return r}});function r(i){if(Array.isArray(i))return i}},13028:function(d,v,e){"use strict";e.d(v,{Z:function(){return r}});function r(i){if(i===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return i}},95764:function(d,v,e){"use strict";e.d(v,{Z:function(){return i}});function r(l,c,f,o,h,u,a){try{var x=l[u](a),p=x.value}catch(y){return void f(y)}x.done?c(p):Promise.resolve(p).then(o,h)}function i(l){return function(){var c=this,f=arguments;return new Promise(function(o,h){var u=l.apply(c,f);function a(p){r(u,o,h,a,x,"next",p)}function x(p){r(u,o,h,a,x,"throw",p)}a(void 0)})}}},99153:function(d,v,e){"use strict";e.d(v,{Z:function(){return r}});function r(i,l){if(!(i instanceof l))throw new TypeError("Cannot call a class as a function")}},84851:function(d,v,e){"use strict";e.d(v,{Z:function(){return l}});var r=e(95172);function i(c,f){for(var o=0;o<f.length;o++){var h=f[o];h.enumerable=h.enumerable||!1,h.configurable=!0,"value"in h&&(h.writable=!0),Object.defineProperty(c,(0,r.Z)(h.key),h)}}function l(c,f,o){return f&&i(c.prototype,f),o&&i(c,o),Object.defineProperty(c,"prototype",{writable:!1}),c}},93046:function(d,v,e){"use strict";e.d(v,{Z:function(){return c}});var r=e(92359),i=e(61230),l=e(88243);function c(f){var o=(0,i.Z)();return function(){var h,u=(0,r.Z)(f);if(o){var a=(0,r.Z)(this).constructor;h=Reflect.construct(u,arguments,a)}else h=u.apply(this,arguments);return(0,l.Z)(this,h)}}},4635:function(d,v,e){"use strict";e.d(v,{Z:function(){return i}});var r=e(95172);function i(l,c,f){return(c=(0,r.Z)(c))in l?Object.defineProperty(l,c,{value:f,enumerable:!0,configurable:!0,writable:!0}):l[c]=f,l}},14809:function(d,v,e){"use strict";e.d(v,{Z:function(){return r}});function r(){return r=Object.assign?Object.assign.bind():function(i){for(var l=1;l<arguments.length;l++){var c=arguments[l];for(var f in c)({}).hasOwnProperty.call(c,f)&&(i[f]=c[f])}return i},r.apply(null,arguments)}},92359:function(d,v,e){"use strict";e.d(v,{Z:function(){return r}});function r(i){return r=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(l){return l.__proto__||Object.getPrototypeOf(l)},r(i)}},19257:function(d,v,e){"use strict";e.d(v,{Z:function(){return i}});var r=e(2386);function i(l,c){if(typeof c!="function"&&c!==null)throw new TypeError("Super expression must either be null or a function");l.prototype=Object.create(c&&c.prototype,{constructor:{value:l,writable:!0,configurable:!0}}),Object.defineProperty(l,"prototype",{writable:!1}),c&&(0,r.Z)(l,c)}},61230:function(d,v,e){"use strict";e.d(v,{Z:function(){return r}});function r(){try{var i=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(l){}return(r=function(){return!!i})()}},90017:function(d,v,e){"use strict";e.d(v,{Z:function(){return r}});function r(i){if(typeof Symbol!="undefined"&&i[Symbol.iterator]!=null||i["@@iterator"]!=null)return Array.from(i)}},22740:function(d,v,e){"use strict";e.d(v,{Z:function(){return r}});function r(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}},88590:function(d,v,e){"use strict";e.d(v,{Z:function(){return i}});var r=e(4635);function i(l){for(var c=1;c<arguments.length;c++){var f=arguments[c]!=null?Object(arguments[c]):{},o=Object.keys(f);typeof Object.getOwnPropertySymbols=="function"&&o.push.apply(o,Object.getOwnPropertySymbols(f).filter(function(h){return Object.getOwnPropertyDescriptor(f,h).enumerable})),o.forEach(function(h){(0,r.Z)(l,h,f[h])})}return l}},20439:function(d,v,e){"use strict";e.d(v,{Z:function(){return l}});var r=e(4635);function i(c,f){var o=Object.keys(c);if(Object.getOwnPropertySymbols){var h=Object.getOwnPropertySymbols(c);f&&(h=h.filter(function(u){return Object.getOwnPropertyDescriptor(c,u).enumerable})),o.push.apply(o,h)}return o}function l(c){for(var f=1;f<arguments.length;f++){var o=arguments[f]!=null?arguments[f]:{};f%2?i(Object(o),!0).forEach(function(h){(0,r.Z)(c,h,o[h])}):Object.getOwnPropertyDescriptors?Object.defineProperties(c,Object.getOwnPropertyDescriptors(o)):i(Object(o)).forEach(function(h){Object.defineProperty(c,h,Object.getOwnPropertyDescriptor(o,h))})}return c}},62646:function(d,v,e){"use strict";e.d(v,{Z:function(){return i}});var r=e(74126);function i(l,c){if(l==null)return{};var f,o,h=(0,r.Z)(l,c);if(Object.getOwnPropertySymbols){var u=Object.getOwnPropertySymbols(l);for(o=0;o<u.length;o++)f=u[o],c.indexOf(f)===-1&&{}.propertyIsEnumerable.call(l,f)&&(h[f]=l[f])}return h}},74126:function(d,v,e){"use strict";e.d(v,{Z:function(){return r}});function r(i,l){if(i==null)return{};var c={};for(var f in i)if({}.hasOwnProperty.call(i,f)){if(l.indexOf(f)!==-1)continue;c[f]=i[f]}return c}},88243:function(d,v,e){"use strict";e.d(v,{Z:function(){return l}});var r=e(93664),i=e(13028);function l(c,f){if(f&&((0,r.Z)(f)=="object"||typeof f=="function"))return f;if(f!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return(0,i.Z)(c)}},70539:function(d,v,e){"use strict";e.d(v,{Z:function(){return x}});function r(p,y){this.v=p,this.k=y}function i(p,y,_,b){var A=Object.defineProperty;try{A({},"",{})}catch(k){A=0}i=function(R,C,D,M){if(C)A?A(R,C,{value:D,enumerable:!M,configurable:!M,writable:!M}):R[C]=D;else{var B=function(K,G){i(R,K,function(W){return this._invoke(K,G,W)})};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",A=_.toStringTag||"@@toStringTag";function k(G,W,se,ie){var le=W&&W.prototype instanceof C?W:C,q=Object.create(le.prototype);return i(q,"_invoke",function(J,V,ue){var ee,Q,ce,z=0,$=ue||[],ae=!1,_e={p:0,n:0,v:p,a:De,f:De.bind(p,4),d:function(He,$e){return ee=He,Q=0,ce=p,_e.n=$e,R}};function De(ke,He){for(Q=ke,ce=He,y=0;!ae&&z&&!$e&&y<$.length;y++){var $e,Bt=$[y],gt=_e.p,Dt=Bt[2];ke>3?($e=Dt===He)&&(ce=Bt[(Q=Bt[4])?5:(Q=3,3)],Bt[4]=Bt[5]=p):Bt[0]<=gt&&(($e=ke<2&><Bt[1])?(Q=0,_e.v=He,_e.n=Bt[1]):gt<Dt&&($e=ke<3||Bt[0]>He||He>Dt)&&(Bt[4]=ke,Bt[5]=He,_e.n=Dt,Q=0))}if($e||ke>1)return R;throw ae=!0,He}return function(ke,He,$e){if(z>1)throw TypeError("Generator is already running");for(ae&&He===1&&De(He,$e),Q=He,ce=$e;(y=Q<2?p:ce)||!ae;){ee||(Q?Q<3?(Q>1&&(_e.n=-1),De(Q,ce)):_e.n=ce:_e.v=ce);try{if(z=2,ee){if(Q||(ke="next"),y=ee[ke]){if(!(y=y.call(ee,ce)))throw TypeError("iterator result is not an object");if(!y.done)return y;ce=y.value,Q<2&&(Q=0)}else Q===1&&(y=ee.return)&&y.call(ee),Q<2&&(ce=TypeError("The iterator does not provide a '"+ke+"' method"),Q=1);ee=p}else if((y=(ae=_e.n<0)?ce:J.call(V,_e))!==R)break}catch(Bt){ee=p,Q=1,ce=Bt}finally{z=1}}return{value:y,done:ae}}}(G,se,ie),!0),q}var R={};function C(){}function D(){}function M(){}y=Object.getPrototypeOf;var B=[][b]?y(y([][b]())):(i(y={},b,function(){return this}),y),N=M.prototype=C.prototype=Object.create(B);function K(G){return Object.setPrototypeOf?Object.setPrototypeOf(G,M):(G.__proto__=M,i(G,A,"GeneratorFunction")),G.prototype=Object.create(N),G}return D.prototype=M,i(N,"constructor",M),i(M,"constructor",D),D.displayName="GeneratorFunction",i(M,A,"GeneratorFunction"),i(N),i(N,A,"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 _(A,k,R,C){try{var D=p[A](k),M=D.value;return M instanceof r?y.resolve(M.v).then(function(B){_("next",B,R,C)},function(B){_("throw",B,R,C)}):y.resolve(M).then(function(B){D.value=B,R(D)},function(B){return _("throw",B,R,C)})}catch(B){C(B)}}var b;this.next||(i(c.prototype),i(c.prototype,typeof Symbol=="function"&&Symbol.asyncIterator||"@asyncIterator",function(){return this})),i(this,"_invoke",function(A,k,R){function C(){return new y(function(D,M){_(A,R,D,M)})}return b=b?b.then(C,C):C()},!0)}function f(p,y,_,b,A){return new c(l().w(p,y,_,b),A||Promise)}function o(p,y,_,b,A){var k=f(p,y,_,b,A);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 A(){for(;_.length;)if((b=_.pop())in y)return A.value=b,A.done=!1,A;return A.done=!0,A}}var u=e(93664);function a(p){if(p!=null){var y=p[typeof Symbol=="function"&&Symbol.iterator||"@@iterator"],_=0;if(y)return y.call(p);if(typeof p.next=="function")return p;if(!isNaN(p.length))return{next:function(){return p&&_>=p.length&&(p=void 0),{value:p&&p[_++],done:!p}}}}throw new TypeError((0,u.Z)(p)+" is not iterable")}function x(){"use strict";var p=l(),y=p.m(x),_=(Object.getPrototypeOf?Object.getPrototypeOf(y):y.__proto__).constructor;function b(R){var C=typeof R=="function"&&R.constructor;return!!C&&(C===_||(C.displayName||C.name)==="GeneratorFunction")}var A={throw:1,return:2,break:3,continue:3};function k(R){var C,D;return function(M){C||(C={stop:function(){return D(M.a,2)},catch:function(){return M.v},abrupt:function(N,K){return D(M.a,A[N],K)},delegateYield:function(N,K,G){return C.resultName=K,D(M.d,a(N),G)},finish:function(N){return D(M.f,N)}},D=function(N,K,G){M.p=C.prev,M.n=C.next;try{return N(K,G)}finally{C.next=M.n}}),C.resultName&&(C[C.resultName]=M.v,C.resultName=void 0),C.sent=M.v,C.next=M.n;try{return R.call(this,C)}finally{M.p=C.prev,M.n=C.next}}}return(x=function(){return{wrap:function(D,M,B,N){return p.w(k(D),M,B,N&&N.reverse())},isGeneratorFunction:b,mark:p.m,awrap:function(D,M){return new r(D,M)},AsyncIterator:c,async:function(D,M,B,N,K){return(b(M)?f:o)(k(D),M,B,N,K)},keys:h,values:a}})()}},2386:function(d,v,e){"use strict";e.d(v,{Z:function(){return r}});function r(i,l){return r=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(c,f){return c.__proto__=f,c},r(i,l)}},50298:function(d,v,e){"use strict";e.d(v,{Z:function(){return f}});var r=e(43577);function i(o,h){var u=o==null?null:typeof Symbol!="undefined"&&o[Symbol.iterator]||o["@@iterator"];if(u!=null){var a,x,p,y,_=[],b=!0,A=!1;try{if(p=(u=u.call(o)).next,h===0){if(Object(u)!==u)return;b=!1}else for(;!(b=(a=p.call(u)).done)&&(_.push(a.value),_.length!==h);b=!0);}catch(k){A=!0,x=k}finally{try{if(!b&&u.return!=null&&(y=u.return(),Object(y)!==y))return}finally{if(A)throw x}}return _}}var l=e(58750),c=e(22740);function f(o,h){return(0,r.Z)(o)||i(o,h)||(0,l.Z)(o,h)||(0,c.Z)()}},21696:function(d,v,e){"use strict";e.d(v,{Z:function(){return f}});var r=e(43577),i=e(90017),l=e(58750),c=e(22740);function f(o){return(0,r.Z)(o)||(0,i.Z)(o)||(0,l.Z)(o)||(0,c.Z)()}},95190:function(d,v,e){"use strict";e.d(v,{Z:function(){return o}});var r=e(87268);function i(h){if(Array.isArray(h))return(0,r.Z)(h)}var l=e(90017),c=e(58750);function f(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function o(h){return i(h)||(0,l.Z)(h)||(0,c.Z)(h)||f()}},95172:function(d,v,e){"use strict";e.d(v,{Z:function(){return l}});var r=e(93664);function i(c,f){if((0,r.Z)(c)!="object"||!c)return c;var o=c[Symbol.toPrimitive];if(o!==void 0){var h=o.call(c,f||"default");if((0,r.Z)(h)!="object")return h;throw new TypeError("@@toPrimitive must return a primitive value.")}return(f==="string"?String:Number)(c)}function l(c){var f=i(c,"string");return(0,r.Z)(f)=="symbol"?f:f+""}},93664:function(d,v,e){"use strict";e.d(v,{Z:function(){return r}});function r(i){"@babel/helpers - typeof";return r=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(l){return typeof l}:function(l){return l&&typeof Symbol=="function"&&l.constructor===Symbol&&l!==Symbol.prototype?"symbol":typeof l},r(i)}},58750:function(d,v,e){"use strict";e.d(v,{Z:function(){return i}});var r=e(87268);function i(l,c){if(l){if(typeof l=="string")return(0,r.Z)(l,c);var f={}.toString.call(l).slice(8,-1);return f==="Object"&&l.constructor&&(f=l.constructor.name),f==="Map"||f==="Set"?Array.from(l):f==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(f)?(0,r.Z)(l,c):void 0}}},81168:function(d,v,e){"use strict";e.d(v,{ZP:function(){return it}});const r=Number.isFinite||function(w){return typeof w=="number"&&isFinite(w)},i=Number.isSafeInteger||function(w){return typeof w=="number"&&Math.abs(w)<=l},l=Number.MAX_SAFE_INTEGER||9007199254740991;let c=function(w){return w.NETWORK_ERROR="networkError",w.MEDIA_ERROR="mediaError",w.KEY_SYSTEM_ERROR="keySystemError",w.MUX_ERROR="muxError",w.OTHER_ERROR="otherError",w}({}),f=function(w){return w.KEY_SYSTEM_NO_KEYS="keySystemNoKeys",w.KEY_SYSTEM_NO_ACCESS="keySystemNoAccess",w.KEY_SYSTEM_NO_SESSION="keySystemNoSession",w.KEY_SYSTEM_NO_CONFIGURED_LICENSE="keySystemNoConfiguredLicense",w.KEY_SYSTEM_LICENSE_REQUEST_FAILED="keySystemLicenseRequestFailed",w.KEY_SYSTEM_SERVER_CERTIFICATE_REQUEST_FAILED="keySystemServerCertificateRequestFailed",w.KEY_SYSTEM_SERVER_CERTIFICATE_UPDATE_FAILED="keySystemServerCertificateUpdateFailed",w.KEY_SYSTEM_SESSION_UPDATE_FAILED="keySystemSessionUpdateFailed",w.KEY_SYSTEM_STATUS_OUTPUT_RESTRICTED="keySystemStatusOutputRestricted",w.KEY_SYSTEM_STATUS_INTERNAL_ERROR="keySystemStatusInternalError",w.KEY_SYSTEM_DESTROY_MEDIA_KEYS_ERROR="keySystemDestroyMediaKeysError",w.KEY_SYSTEM_DESTROY_CLOSE_SESSION_ERROR="keySystemDestroyCloseSessionError",w.KEY_SYSTEM_DESTROY_REMOVE_SESSION_ERROR="keySystemDestroyRemoveSessionError",w.MANIFEST_LOAD_ERROR="manifestLoadError",w.MANIFEST_LOAD_TIMEOUT="manifestLoadTimeOut",w.MANIFEST_PARSING_ERROR="manifestParsingError",w.MANIFEST_INCOMPATIBLE_CODECS_ERROR="manifestIncompatibleCodecsError",w.LEVEL_EMPTY_ERROR="levelEmptyError",w.LEVEL_LOAD_ERROR="levelLoadError",w.LEVEL_LOAD_TIMEOUT="levelLoadTimeOut",w.LEVEL_PARSING_ERROR="levelParsingError",w.LEVEL_SWITCH_ERROR="levelSwitchError",w.AUDIO_TRACK_LOAD_ERROR="audioTrackLoadError",w.AUDIO_TRACK_LOAD_TIMEOUT="audioTrackLoadTimeOut",w.SUBTITLE_LOAD_ERROR="subtitleTrackLoadError",w.SUBTITLE_TRACK_LOAD_TIMEOUT="subtitleTrackLoadTimeOut",w.FRAG_LOAD_ERROR="fragLoadError",w.FRAG_LOAD_TIMEOUT="fragLoadTimeOut",w.FRAG_DECRYPT_ERROR="fragDecryptError",w.FRAG_PARSING_ERROR="fragParsingError",w.FRAG_GAP="fragGap",w.REMUX_ALLOC_ERROR="remuxAllocError",w.KEY_LOAD_ERROR="keyLoadError",w.KEY_LOAD_TIMEOUT="keyLoadTimeOut",w.BUFFER_ADD_CODEC_ERROR="bufferAddCodecError",w.BUFFER_INCOMPATIBLE_CODECS_ERROR="bufferIncompatibleCodecsError",w.BUFFER_APPEND_ERROR="bufferAppendError",w.BUFFER_APPENDING_ERROR="bufferAppendingError",w.BUFFER_STALLED_ERROR="bufferStalledError",w.BUFFER_FULL_ERROR="bufferFullError",w.BUFFER_SEEK_OVER_HOLE="bufferSeekOverHole",w.BUFFER_NUDGE_ON_STALL="bufferNudgeOnStall",w.ASSET_LIST_LOAD_ERROR="assetListLoadError",w.ASSET_LIST_LOAD_TIMEOUT="assetListLoadTimeout",w.ASSET_LIST_PARSING_ERROR="assetListParsingError",w.INTERSTITIAL_ASSET_ITEM_ERROR="interstitialAssetItemError",w.INTERNAL_EXCEPTION="internalException",w.INTERNAL_ABORTED="aborted",w.ATTACH_MEDIA_ERROR="attachMediaError",w.UNKNOWN="unknown",w}({}),o=function(w){return w.MEDIA_ATTACHING="hlsMediaAttaching",w.MEDIA_ATTACHED="hlsMediaAttached",w.MEDIA_DETACHING="hlsMediaDetaching",w.MEDIA_DETACHED="hlsMediaDetached",w.MEDIA_ENDED="hlsMediaEnded",w.STALL_RESOLVED="hlsStallResolved",w.BUFFER_RESET="hlsBufferReset",w.BUFFER_CODECS="hlsBufferCodecs",w.BUFFER_CREATED="hlsBufferCreated",w.BUFFER_APPENDING="hlsBufferAppending",w.BUFFER_APPENDED="hlsBufferAppended",w.BUFFER_EOS="hlsBufferEos",w.BUFFERED_TO_END="hlsBufferedToEnd",w.BUFFER_FLUSHING="hlsBufferFlushing",w.BUFFER_FLUSHED="hlsBufferFlushed",w.MANIFEST_LOADING="hlsManifestLoading",w.MANIFEST_LOADED="hlsManifestLoaded",w.MANIFEST_PARSED="hlsManifestParsed",w.LEVEL_SWITCHING="hlsLevelSwitching",w.LEVEL_SWITCHED="hlsLevelSwitched",w.LEVEL_LOADING="hlsLevelLoading",w.LEVEL_LOADED="hlsLevelLoaded",w.LEVEL_UPDATED="hlsLevelUpdated",w.LEVEL_PTS_UPDATED="hlsLevelPtsUpdated",w.LEVELS_UPDATED="hlsLevelsUpdated",w.AUDIO_TRACKS_UPDATED="hlsAudioTracksUpdated",w.AUDIO_TRACK_SWITCHING="hlsAudioTrackSwitching",w.AUDIO_TRACK_SWITCHED="hlsAudioTrackSwitched",w.AUDIO_TRACK_LOADING="hlsAudioTrackLoading",w.AUDIO_TRACK_LOADED="hlsAudioTrackLoaded",w.AUDIO_TRACK_UPDATED="hlsAudioTrackUpdated",w.SUBTITLE_TRACKS_UPDATED="hlsSubtitleTracksUpdated",w.SUBTITLE_TRACKS_CLEARED="hlsSubtitleTracksCleared",w.SUBTITLE_TRACK_SWITCH="hlsSubtitleTrackSwitch",w.SUBTITLE_TRACK_LOADING="hlsSubtitleTrackLoading",w.SUBTITLE_TRACK_LOADED="hlsSubtitleTrackLoaded",w.SUBTITLE_TRACK_UPDATED="hlsSubtitleTrackUpdated",w.SUBTITLE_FRAG_PROCESSED="hlsSubtitleFragProcessed",w.CUES_PARSED="hlsCuesParsed",w.NON_NATIVE_TEXT_TRACKS_FOUND="hlsNonNativeTextTracksFound",w.INIT_PTS_FOUND="hlsInitPtsFound",w.FRAG_LOADING="hlsFragLoading",w.FRAG_LOAD_EMERGENCY_ABORTED="hlsFragLoadEmergencyAborted",w.FRAG_LOADED="hlsFragLoaded",w.FRAG_DECRYPTED="hlsFragDecrypted",w.FRAG_PARSING_INIT_SEGMENT="hlsFragParsingInitSegment",w.FRAG_PARSING_USERDATA="hlsFragParsingUserdata",w.FRAG_PARSING_METADATA="hlsFragParsingMetadata",w.FRAG_PARSED="hlsFragParsed",w.FRAG_BUFFERED="hlsFragBuffered",w.FRAG_CHANGED="hlsFragChanged",w.FPS_DROP="hlsFpsDrop",w.FPS_DROP_LEVEL_CAPPING="hlsFpsDropLevelCapping",w.MAX_AUTO_LEVEL_UPDATED="hlsMaxAutoLevelUpdated",w.ERROR="hlsError",w.DESTROYING="hlsDestroying",w.KEY_LOADING="hlsKeyLoading",w.KEY_LOADED="hlsKeyLoaded",w.LIVE_BACK_BUFFER_REACHED="hlsLiveBackBufferReached",w.BACK_BUFFER_REACHED="hlsBackBufferReached",w.STEERING_MANIFEST_LOADED="hlsSteeringManifestLoaded",w.ASSET_LIST_LOADING="hlsAssetListLoading",w.ASSET_LIST_LOADED="hlsAssetListLoaded",w.INTERSTITIALS_UPDATED="hlsInterstitialsUpdated",w.INTERSTITIALS_BUFFERED_TO_BOUNDARY="hlsInterstitialsBufferedToBoundary",w.INTERSTITIAL_ASSET_PLAYER_CREATED="hlsInterstitialAssetPlayerCreated",w.INTERSTITIAL_STARTED="hlsInterstitialStarted",w.INTERSTITIAL_ASSET_STARTED="hlsInterstitialAssetStarted",w.INTERSTITIAL_ASSET_ENDED="hlsInterstitialAssetEnded",w.INTERSTITIAL_ASSET_ERROR="hlsInterstitialAssetError",w.INTERSTITIAL_ENDED="hlsInterstitialEnded",w.INTERSTITIALS_PRIMARY_RESUMED="hlsInterstitialsPrimaryResumed",w.PLAYOUT_LIMIT_REACHED="hlsPlayoutLimitReached",w.EVENT_CUE_ENTER="hlsEventCueEnter",w}({});var h={MANIFEST:"manifest",LEVEL:"level",AUDIO_TRACK:"audioTrack",SUBTITLE_TRACK:"subtitleTrack"},u={MAIN:"main",AUDIO:"audio",SUBTITLE:"subtitle"};class a{constructor(t,n=0,s=0){this.halfLife=void 0,this.alpha_=void 0,this.estimate_=void 0,this.totalWeight_=void 0,this.halfLife=t,this.alpha_=t?Math.exp(Math.log(.5)/t):0,this.estimate_=n,this.totalWeight_=s}sample(t,n){const s=Math.pow(this.alpha_,t);this.estimate_=n*(1-s)+s*this.estimate_,this.totalWeight_+=t}getTotalWeight(){return this.totalWeight_}getEstimate(){if(this.alpha_){const t=1-Math.pow(this.alpha_,this.totalWeight_);if(t)return this.estimate_/t}return this.estimate_}}class x{constructor(t,n,s,m=100){this.defaultEstimate_=void 0,this.minWeight_=void 0,this.minDelayMs_=void 0,this.slow_=void 0,this.fast_=void 0,this.defaultTTFB_=void 0,this.ttfb_=void 0,this.defaultEstimate_=s,this.minWeight_=.001,this.minDelayMs_=50,this.slow_=new a(t),this.fast_=new a(n),this.defaultTTFB_=m,this.ttfb_=new a(t)}update(t,n){const{slow_:s,fast_:m,ttfb_:E}=this;s.halfLife!==t&&(this.slow_=new a(t,s.getEstimate(),s.getTotalWeight())),m.halfLife!==n&&(this.fast_=new a(n,m.getEstimate(),m.getTotalWeight())),E.halfLife!==t&&(this.ttfb_=new a(t,E.getEstimate(),E.getTotalWeight()))}sample(t,n){t=Math.max(t,this.minDelayMs_);const s=8*n,m=t/1e3,E=s/m;this.fast_.sample(m,E),this.slow_.sample(m,E)}sampleTTFB(t){const n=t/1e3,s=Math.sqrt(2)*Math.exp(-Math.pow(n,2)/2);this.ttfb_.sample(s,Math.max(t,5))}canEstimate(){return this.fast_.getTotalWeight()>=this.minWeight_}getEstimate(){return this.canEstimate()?Math.min(this.fast_.getEstimate(),this.slow_.getEstimate()):this.defaultEstimate_}getEstimateTTFB(){return this.ttfb_.getTotalWeight()>=this.minWeight_?this.ttfb_.getEstimate():this.defaultTTFB_}get defaultEstimate(){return this.defaultEstimate_}destroy(){}}function p(w,t,n){return(t=k(t))in w?Object.defineProperty(w,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):w[t]=n,w}function y(){return y=Object.assign?Object.assign.bind():function(w){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var s in n)({}).hasOwnProperty.call(n,s)&&(w[s]=n[s])}return w},y.apply(null,arguments)}function _(w,t){var n=Object.keys(w);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(w);t&&(s=s.filter(function(m){return Object.getOwnPropertyDescriptor(w,m).enumerable})),n.push.apply(n,s)}return n}function b(w){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?_(Object(n),!0).forEach(function(s){p(w,s,n[s])}):Object.getOwnPropertyDescriptors?Object.defineProperties(w,Object.getOwnPropertyDescriptors(n)):_(Object(n)).forEach(function(s){Object.defineProperty(w,s,Object.getOwnPropertyDescriptor(n,s))})}return w}function A(w,t){if(typeof w!="object"||!w)return w;var n=w[Symbol.toPrimitive];if(n!==void 0){var s=n.call(w,t);if(typeof s!="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(w)}function k(w){var t=A(w,"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=C,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 C=function(){},D={trace:C,debug:C,log:C,warn:C,info:C,error:C};function M(){return y({},D)}function B(w,t){const n=self.console[w];return n?n.bind(self.console,`${t?"["+t+"] ":""}[${w}] >`):C}function N(w,t,n){return t[w]?t[w].bind(t):B(w,n)}const K=M();function G(w,t,n){const s=M();if(typeof console=="object"&&w===!0||typeof w=="object"){const m=["debug","log","info","warn","error"];m.forEach(E=>{s[E]=N(E,w,n)});try{s.log(`Debug logs enabled for "${t}" in hls.js version 1.6.7`)}catch(E){return M()}m.forEach(E=>{K[E]=N(E,w)})}else y(K,s);return s}const W=K;function se(w=!0){return typeof self=="undefined"?void 0:(w||!self.MediaSource)&&self.ManagedMediaSource||self.MediaSource||self.WebKitMediaSource}function ie(w){return typeof self!="undefined"&&w===self.ManagedMediaSource}function le(w,t){const n=Object.keys(w),s=Object.keys(t),m=n.length,E=s.length;return!m||!E||m===E&&!n.some(T=>s.indexOf(T)===-1)}function q(w,t=!1){if(typeof TextDecoder!="undefined"){const H=new TextDecoder("utf-8").decode(w);if(t){const te=H.indexOf("\0");return te!==-1?H.substring(0,te):H}return H.replace(/\0/g,"")}const n=w.length;let s,m,E,T="",j=0;for(;j<n;){if(s=w[j++],s===0&&t)return T;if(s===0||s===3)continue;switch(s>>4){case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7:T+=String.fromCharCode(s);break;case 12:case 13:m=w[j++],T+=String.fromCharCode((s&31)<<6|m&63);break;case 14:m=w[j++],E=w[j++],T+=String.fromCharCode((s&15)<<12|(m&63)<<6|(E&63)<<0);break}}return T}const J={hexDump:function(w){let t="";for(let n=0;n<w.length;n++){let s=w[n].toString(16);s.length<2&&(s="0"+s),t+=s}return t}};function V(w){return Uint8Array.from(w.replace(/^0x/,"").replace(/([\da-fA-F]{2}) ?/g,"0x$1 ").replace(/ +$/,"").split(" ")).buffer}function ue(w){return w&&w.__esModule&&Object.prototype.hasOwnProperty.call(w,"default")?w.default:w}var ee={exports:{}},Q;function ce(){return Q||(Q=1,function(w,t){(function(n){var s=/^(?=((?:[a-zA-Z0-9+\-.]+:)?))\1(?=((?:\/\/[^\/?#]*)?))\2(?=((?:(?:[^?#\/]*\/)*[^;?#\/]*)?))\3((?:;[^?#]*)?)(\?[^#]*)?(#[^]*)?$/,m=/^(?=([^\/?#]*))\1([^]*)$/,E=/(?:\/|^)\.(?=\/)/g,T=/(?:\/|^)\.\.\/(?!\.\.\/)[^\/]*(?=\/)/g,j={buildAbsoluteURL:function(Y,H,te){if(te=te||{},Y=Y.trim(),H=H.trim(),!H){if(!te.alwaysNormalize)return Y;var oe=j.parseURL(Y);if(!oe)throw new Error("Error trying to parse base URL.");return oe.path=j.normalizePath(oe.path),j.buildURLFromParts(oe)}var me=j.parseURL(H);if(!me)throw new Error("Error trying to parse relative URL.");if(me.scheme)return te.alwaysNormalize?(me.path=j.normalizePath(me.path),j.buildURLFromParts(me)):H;var we=j.parseURL(Y);if(!we)throw new Error("Error trying to parse base URL.");if(!we.netLoc&&we.path&&we.path[0]!=="/"){var Se=m.exec(we.path);we.netLoc=Se[1],we.path=Se[2]}we.netLoc&&!we.path&&(we.path="/");var ut={scheme:we.scheme,netLoc:me.netLoc,path:null,params:me.params,query:me.query,fragment:me.fragment};if(!me.netLoc&&(ut.netLoc=we.netLoc,me.path[0]!=="/"))if(!me.path)ut.path=we.path,me.params||(ut.params=we.params,me.query||(ut.query=we.query));else{var Je=we.path,Lt=Je.substring(0,Je.lastIndexOf("/")+1)+me.path;ut.path=j.normalizePath(Lt)}return ut.path===null&&(ut.path=te.alwaysNormalize?j.normalizePath(me.path):me.path),j.buildURLFromParts(ut)},parseURL:function(Y){var H=s.exec(Y);return H?{scheme:H[1]||"",netLoc:H[2]||"",path:H[3]||"",params:H[4]||"",query:H[5]||"",fragment:H[6]||""}:null},normalizePath:function(Y){for(Y=Y.split("").reverse().join("").replace(E,"");Y.length!==(Y=Y.replace(T,"")).length;);return Y.split("").reverse().join("")},buildURLFromParts:function(Y){return Y.scheme+Y.netLoc+Y.path+Y.params+Y.query+Y.fragment}};w.exports=j})()}(ee)),ee.exports}var z=ce();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 ae={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,Bt(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={[ae.AUDIO]:null,[ae.VIDEO]:null,[ae.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=z.buildAbsoluteURL(this.baseurl,this.relurl,{alwaysNormalize:!0})),this._url||""}set url(t){this._url=t}clearElementaryStreamInfo(){const{elementaryStreams:t}=this;t[ae.AUDIO]=null,t[ae.VIDEO]=null,t[ae.AUDIOVIDEO]=null}}function De(w){return w.sn!=="initSegment"}class ke 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){const t=this.byteRange[0],n=this.byteRange[1];if(r(t)&&r(n))return n-t}return null}get bitrate(){return this.byteLength?this.byteLength*8/this.duration:this._bitrate?this._bitrate:null}set bitrate(t){this._bitrate=t}get decryptdata(){const{levelkeys:t}=this;if(!t&&!this._decryptdata)return null;if(!this._decryptdata&&this.levelkeys&&!this.levelkeys.NONE){const n=this.levelkeys.identity;if(n)this._decryptdata=n.getDecryptData(this.sn);else{const s=Object.keys(this.levelkeys);if(s.length===1)return this._decryptdata=this.levelkeys[s[0]].getDecryptData(this.sn)}}return this._decryptdata}get end(){return this.start+this.duration}get endProgramDateTime(){if(this.programDateTime===null)return null;const t=r(this.duration)?this.duration:0;return this.programDateTime+t*1e3}get encrypted(){var t;if((t=this._decryptdata)!=null&&t.encrypted)return!0;if(this.levelkeys){const n=Object.keys(this.levelkeys),s=n.length;if(s>1||s===1&&this.levelkeys[n[0]].encrypted)return!0}return!1}get programDateTime(){return this._programDateTime===null&&this.rawProgramDateTime&&(this.programDateTime=Date.parse(this.rawProgramDateTime)),this._programDateTime}set programDateTime(t){if(!r(t)){this._programDateTime=this.rawProgramDateTime=null;return}this._programDateTime=t}get ref(){return De(this)?(this._ref||(this._ref={base:this.base,start:this.start,duration:this.duration,sn:this.sn,programDateTime:this.programDateTime}),this._ref):null}addStart(t){this.setStart(this.start+t)}setStart(t){this.start=t,this._ref&&(this._ref.start=t)}setDuration(t){this.duration=t,this._ref&&(this._ref.duration=t)}setKeyFormat(t){if(this.levelkeys){const n=this.levelkeys[t];n&&!this._decryptdata&&(this._decryptdata=n.getDecryptData(this.sn))}}abortRequests(){var t,n;(t=this.loader)==null||t.abort(),(n=this.keyLoader)==null||n.abort()}setElementaryStreamInfo(t,n,s,m,E,T=!1){const{elementaryStreams:j}=this,Y=j[t];if(!Y){j[t]={startPTS:n,endPTS:s,startDTS:m,endDTS:E,partial:T};return}Y.startPTS=Math.min(Y.startPTS,n),Y.endPTS=Math.max(Y.endPTS,s),Y.startDTS=Math.min(Y.startDTS,m),Y.endDTS=Math.max(Y.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 T=t.enumeratedString("BYTERANGE");T&&this.setByteRange(T,E),E&&(this.fragOffset=E.fragOffset+E.duration)}get start(){return this.fragment.start+this.fragOffset}get end(){return this.start+this.duration}get loaded(){const{elementaryStreams:t}=this;return!!(t.audio||t.video||t.audiovideo)}}function $e(w,t){const n=Object.getPrototypeOf(w);if(n){const s=Object.getOwnPropertyDescriptor(n,t);return s||$e(n,t)}}function Bt(w,t){const n=$e(w,t);n&&(n.enumerable=!0,Object.defineProperty(w,t,n))}const gt=Math.pow(2,32)-1,Dt=[].push,nr={video:1,audio:2,id3:3,text:4};function Xt(w){return String.fromCharCode.apply(null,w)}function cr(w,t){const n=w[t]<<8|w[t+1];return n<0?65536+n:n}function Ge(w,t){const n=Ut(w,t);return n<0?4294967296+n:n}function Tt(w,t){let n=Ge(w,t);return n*=Math.pow(2,32),n+=Ge(w,t+4),n}function Ut(w,t){return w[t]<<24|w[t+1]<<16|w[t+2]<<8|w[t+3]}function at(w){const t=w.byteLength;for(let n=0;n<t;){const s=Ge(w,n);if(s>8&&w[n+4]===109&&w[n+5]===111&&w[n+6]===111&&w[n+7]===102)return!0;n=s>1?n+s:t}return!1}function bt(w,t){const n=[];if(!t.length)return n;const s=w.byteLength;for(let m=0;m<s;){const E=Ge(w,m),T=Xt(w.subarray(m+4,m+8)),j=E>1?m+E:s;if(T===t[0])if(t.length===1)n.push(w.subarray(m+8,j));else{const Y=bt(w.subarray(m+8,j),t.slice(1));Y.length&&Dt.apply(n,Y)}m=j}return n}function dt(w){const t=[],n=w[0];let s=8;const m=Ge(w,s);s+=4;let E=0,T=0;n===0?(E=Ge(w,s),T=Ge(w,s+4),s+=8):(E=Tt(w,s),T=Tt(w,s+8),s+=16),s+=2;let j=w.length+T;const Y=cr(w,s);s+=2;for(let H=0;H<Y;H++){let te=s;const oe=Ge(w,te);te+=4;const me=oe&2147483647;if((oe&2147483648)>>>31===1)return W.warn("SIDX has hierarchical references (not supported)"),null;const Se=Ge(w,te);te+=4,t.push({referenceSize:me,subsegmentDuration:Se,info:{duration:Se/m,start:j,end:j+me-1}}),j+=me,te+=4,s=te}return{earliestPresentationTime:E,timescale:m,version:n,referencesCount:Y,references:t}}function tt(w){const t=[],n=bt(w,["moov","trak"]);for(let m=0;m<n.length;m++){const E=n[m],T=bt(E,["tkhd"])[0];if(T){let j=T[0];const Y=Ge(T,j===0?12:20),H=bt(E,["mdia","mdhd"])[0];if(H){j=H[0];const te=Ge(H,j===0?12:20),oe=bt(E,["mdia","hdlr"])[0];if(oe){const me=Xt(oe.subarray(8,12)),we={soun:ae.AUDIO,vide:ae.VIDEO}[me],Se=bt(E,["mdia","minf","stbl","stsd"])[0],ut=Ue(Se);we?(t[Y]={timescale:te,type:we,stsd:ut},t[we]=b({timescale:te,id:Y},ut)):t[Y]={timescale:te,type:me,stsd:ut}}}}}return bt(w,["moov","mvex","trex"]).forEach(m=>{const E=Ge(m,4),T=t[E];T&&(T.default={duration:Ge(m,12),flags:Ge(m,20)})}),t}function Ue(w){const t=w.subarray(8),n=t.subarray(86),s=Xt(t.subarray(4,8));let m=s,E;const T=s==="enca"||s==="encv";if(T){const H=bt(t,[s])[0].subarray(s==="enca"?28:78);bt(H,["sinf"]).forEach(oe=>{const me=bt(oe,["schm"])[0];if(me){const we=Xt(me.subarray(4,8));if(we==="cbcs"||we==="cenc"){const Se=bt(oe,["frma"])[0];Se&&(m=Xt(Se))}}})}const j=m;switch(m){case"avc1":case"avc2":case"avc3":case"avc4":{const Y=bt(n,["avcC"])[0];Y&&Y.length>3&&(m+="."+je(Y[1])+je(Y[2])+je(Y[3]),E=ye(j==="avc1"?"dva1":"dvav",n));break}case"mp4a":{const Y=bt(t,[s])[0],H=bt(Y.subarray(28),["esds"])[0];if(H&&H.length>7){let te=4;if(H[te++]!==3)break;te=Me(H,te),te+=2;const oe=H[te++];if(oe&128&&(te+=2),oe&64&&(te+=H[te++]),H[te++]!==4)break;te=Me(H,te);const me=H[te++];if(me===64)m+="."+je(me);else break;if(te+=12,H[te++]!==5)break;te=Me(H,te);const we=H[te++];let Se=(we&248)>>3;Se===31&&(Se+=1+((we&7)<<3)+((H[te]&224)>>5)),m+="."+Se}break}case"hvc1":case"hev1":{const Y=bt(n,["hvcC"])[0];if(Y&&Y.length>12){const H=Y[1],te=["","A","B","C"][H>>6],oe=H&31,me=Ge(Y,2),we=(H&32)>>5?"H":"L",Se=Y[12],ut=Y.subarray(6,12);m+="."+te+oe,m+="."+Ce(me).toString(16).toUpperCase(),m+="."+we+Se;let Je="";for(let Lt=ut.length;Lt--;){const rr=ut[Lt];(rr||Je)&&(Je="."+rr.toString(16).toUpperCase()+Je)}m+=Je}E=ye(j=="hev1"?"dvhe":"dvh1",n);break}case"dvh1":case"dvhe":case"dvav":case"dva1":case"dav1":{m=ye(m,n)||m;break}case"vp09":{const Y=bt(n,["vpcC"])[0];if(Y&&Y.length>6){const H=Y[4],te=Y[5],oe=Y[6]>>4&15;m+="."+We(H)+"."+We(te)+"."+We(oe)}break}case"av01":{const Y=bt(n,["av1C"])[0];if(Y&&Y.length>2){const H=Y[1]>>>5,te=Y[1]&31,oe=Y[2]>>>7?"H":"M",me=(Y[2]&64)>>6,we=(Y[2]&32)>>5,Se=H===2&&me?we?12:10:me?10:8,ut=(Y[2]&16)>>4,Je=(Y[2]&8)>>3,Lt=(Y[2]&4)>>2,rr=Y[2]&3;m+="."+H+"."+We(te)+oe+"."+We(Se)+"."+ut+"."+Je+Lt+rr+"."+We(1)+"."+We(1)+"."+We(1)+"."+0,E=ye("dav1",n)}break}}return{codec:m,encrypted:T,supplemental:E}}function ye(w,t){const n=bt(t,["dvvC"]),s=n.length?n[0]:bt(t,["dvcC"])[0];if(s){const m=s[2]>>1&127,E=s[2]<<5&32|s[3]>>3&31;return w+"."+We(m)+"."+We(E)}}function Ce(w){let t=0;for(let n=0;n<32;n++)t|=(w>>n&1)<<31-n;return t>>>0}function Me(w,t){const n=t+5;for(;w[t++]&128&&t<n;);return t}function je(w){return("0"+w.toString(16).toUpperCase()).slice(-2)}function We(w){return(w<10?"0":"")+w}function nt(w,t){if(!w||!t)return w;const n=t.keyId;return n&&t.isCommonEncryption&&bt(w,["moov","trak"]).forEach(m=>{const T=bt(m,["mdia","minf","stbl","stsd"])[0].subarray(8);let j=bt(T,["enca"]);const Y=j.length>0;Y||(j=bt(T,["encv"])),j.forEach(H=>{const te=Y?H.subarray(28):H.subarray(78);bt(te,["sinf"]).forEach(me=>{const we=lt(me);if(we){const Se=we.subarray(8,24);Se.some(ut=>ut!==0)||(W.log(`[eme] Patching keyId in 'enc${Y?"a":"v"}>sinf>>tenc' box: ${J.hexDump(Se)} -> ${J.hexDump(n)}`),we.set(n,8))}})})}),w}function lt(w){const t=bt(w,["schm"])[0];if(t){const n=Xt(t.subarray(4,8));if(n==="cbcs"||n==="cenc")return bt(w,["schi","tenc"])[0]}return null}function Vt(w,t,n){const s={},m=bt(w,["moof","traf"]);for(let E=0;E<m.length;E++){const T=m[E],j=bt(T,["tfhd"])[0],Y=Ge(j,4),H=t[Y];if(!H)continue;const te=s[Y]||(s[Y]={start:NaN,duration:0,sampleCount:0,timescale:H.timescale,type:H.type}),oe=bt(T,["tfdt"])[0];if(oe){const Yt=oe[0];let Cr=Ge(oe,4);Yt===1&&(Cr===gt?n.warn("[mp4-demuxer]: Ignoring assumed invalid signed 64-bit track fragment decode time"):(Cr*=gt+1,Cr+=Ge(oe,8))),r(Cr)&&(!r(te.start)||Cr<te.start)&&(te.start=Cr)}const me=H.default,we=Ge(j,0)|(me==null?void 0:me.flags);let Se=(me==null?void 0:me.duration)||0;we&8&&(we&2?Se=Ge(j,12):Se=Ge(j,8));const ut=bt(T,["trun"]);let Je=te.start||0,Lt=0,rr=Se;for(let Yt=0;Yt<ut.length;Yt++){const Cr=ut[Yt],Hr=Ge(Cr,4),cn=te.sampleCount;te.sampleCount+=Hr;const zr=Cr[3]&1,qr=Cr[3]&4,an=Cr[2]&1,Br=Cr[2]&2,Fn=Cr[2]&4,oi=Cr[2]&8;let sa=8,Ui=Hr;for(zr&&(sa+=4),qr&&Hr&&(!(Cr[sa+1]&1)&&te.keyFrameIndex===void 0&&(te.keyFrameIndex=cn),sa+=4,an?(rr=Ge(Cr,sa),sa+=4):rr=Se,Br&&(sa+=4),oi&&(sa+=4),Je+=rr,Lt+=rr,Ui--);Ui--;)an?(rr=Ge(Cr,sa),sa+=4):rr=Se,Br&&(sa+=4),Fn&&(Cr[sa+1]&1||te.keyFrameIndex===void 0&&(te.keyFrameIndex=te.sampleCount-(Ui+1),te.keyFrameStart=Je),sa+=4),oi&&(sa+=4),Je+=rr,Lt+=rr;!Lt&&Se&&(Lt+=Se*Hr)}te.duration+=Lt}if(!Object.keys(s).some(E=>s[E].duration)){let E=1/0,T=0;const j=bt(w,["sidx"]);for(let Y=0;Y<j.length;Y++){const H=dt(j[Y]);if(H!=null&&H.references){E=Math.min(E,H.earliestPresentationTime/H.timescale);const te=H.references.reduce((oe,me)=>oe+me.info.duration||0,0);T=Math.max(T,te+H.earliestPresentationTime/H.timescale)}}T&&r(T)&&Object.keys(s).forEach(Y=>{s[Y].duration||(s[Y].duration=T*s[Y].timescale-s[Y].start)})}return s}function Ht(w){const t={valid:null,remainder:null},n=bt(w,["moof"]);if(n.length<2)return t.remainder=w,t;const s=n[n.length-1];return t.valid=w.slice(0,s.byteOffset-8),t.remainder=w.slice(s.byteOffset-8),t}function Pe(w,t){const n=new Uint8Array(w.length+t.length);return n.set(w),n.set(t,w.length),n}function et(w,t){const n=[],s=t.samples,m=t.timescale,E=t.id;let T=!1;return bt(s,["moof"]).map(Y=>{const H=Y.byteOffset-8;bt(Y,["traf"]).map(oe=>{const me=bt(oe,["tfdt"]).map(we=>{const Se=we[0];let ut=Ge(we,4);return Se===1&&(ut*=Math.pow(2,32),ut+=Ge(we,8)),ut/m})[0];return me!==void 0&&(w=me),bt(oe,["tfhd"]).map(we=>{const Se=Ge(we,4),ut=Ge(we,0)&16777215,Je=(ut&1)!==0,Lt=(ut&2)!==0,rr=(ut&8)!==0;let Yt=0;const Cr=(ut&16)!==0;let Hr=0;const cn=(ut&32)!==0;let zr=8;Se===E&&(Je&&(zr+=8),Lt&&(zr+=4),rr&&(Yt=Ge(we,zr),zr+=4),Cr&&(Hr=Ge(we,zr),zr+=4),cn&&(zr+=4),t.type==="video"&&(T=Kt(t.codec)),bt(oe,["trun"]).map(qr=>{const an=qr[0],Br=Ge(qr,0)&16777215,Fn=(Br&1)!==0;let oi=0;const sa=(Br&4)!==0,Ui=(Br&256)!==0;let $i=0;const Di=(Br&512)!==0;let va=0;const ui=(Br&1024)!==0,wa=(Br&2048)!==0;let xa=0;const vi=Ge(qr,4);let ii=8;Fn&&(oi=Ge(qr,ii),ii+=4),sa&&(ii+=4);let Ua=oi+H;for(let _s=0;_s<vi;_s++){if(Ui?($i=Ge(qr,ii),ii+=4):$i=Yt,Di?(va=Ge(qr,ii),ii+=4):va=Hr,ui&&(ii+=4),wa&&(an===0?xa=Ge(qr,ii):xa=Ut(qr,ii),ii+=4),t.type===ae.VIDEO){let js=0;for(;js<va;){const Os=Ge(s,Ua);if(Ua+=4,kt(T,s[Ua])){const Bo=s.subarray(Ua,Ua+Os);Zt(Bo,T?2:1,w+xa/m,n)}Ua+=Os,js+=Os+4}}w+=$i/m}}))})})}),n}function Kt(w){if(!w)return!1;const t=w.substring(0,4);return t==="hvc1"||t==="hev1"||t==="dvh1"||t==="dvhe"}function kt(w,t){if(w){const n=t>>1&63;return n===39||n===40}else return(t&31)===6}function Zt(w,t,n,s){const m=Nt(w);let E=0;E+=t;let T=0,j=0,Y=0;for(;E<m.length;){T=0;do{if(E>=m.length)break;Y=m[E++],T+=Y}while(Y===255);j=0;do{if(E>=m.length)break;Y=m[E++],j+=Y}while(Y===255);const H=m.length-E;let te=E;if(j<H)E+=j;else if(j>H){W.error(`Malformed SEI payload. ${j} is too small, only ${H} bytes left to parse.`);break}if(T===4){if(m[te++]===181){const me=cr(m,te);if(te+=2,me===49){const we=Ge(m,te);if(te+=4,we===1195456820){const Se=m[te++];if(Se===3){const ut=m[te++],Je=31&ut,Lt=64&ut,rr=Lt?2+Je*3:0,Yt=new Uint8Array(rr);if(Lt){Yt[0]=ut;for(let Cr=1;Cr<rr;Cr++)Yt[Cr]=m[te++]}s.push({type:Se,payloadType:T,pts:n,bytes:Yt})}}}}}else if(T===5&&j>16){const oe=[];for(let Se=0;Se<16;Se++){const ut=m[te++].toString(16);oe.push(ut.length==1?"0"+ut:ut),(Se===3||Se===5||Se===7||Se===9)&&oe.push("-")}const me=j-16,we=new Uint8Array(me);for(let Se=0;Se<me;Se++)we[Se]=m[te++];s.push({payloadType:T,pts:n,uuid:oe.join(""),userData:q(we),userDataBytes:we})}}}function Nt(w){const t=w.byteLength,n=[];let s=1;for(;s<t-2;)w[s]===0&&w[s+1]===0&&w[s+2]===3?(n.push(s+2),s+=2):s++;if(n.length===0)return w;const m=t-n.length,E=new Uint8Array(m);let T=0;for(s=0;s<m;T++,s++)T===n[0]&&(T++,n.shift()),E[s]=w[T];return E}function tr(w){const t=w[0];let n="",s="",m=0,E=0,T=0,j=0,Y=0,H=0;if(t===0){for(;Xt(w.subarray(H,H+1))!=="\0";)n+=Xt(w.subarray(H,H+1)),H+=1;for(n+=Xt(w.subarray(H,H+1)),H+=1;Xt(w.subarray(H,H+1))!=="\0";)s+=Xt(w.subarray(H,H+1)),H+=1;s+=Xt(w.subarray(H,H+1)),H+=1,m=Ge(w,12),E=Ge(w,16),j=Ge(w,20),Y=Ge(w,24),H=28}else if(t===1){H+=4,m=Ge(w,H),H+=4;const oe=Ge(w,H);H+=4;const me=Ge(w,H);for(H+=4,T=4294967296*oe+me,i(T)||(T=Number.MAX_SAFE_INTEGER,W.warn("Presentation time exceeds safe integer limit and wrapped to max safe integer in parsing emsg box")),j=Ge(w,H),H+=4,Y=Ge(w,H),H+=4;Xt(w.subarray(H,H+1))!=="\0";)n+=Xt(w.subarray(H,H+1)),H+=1;for(n+=Xt(w.subarray(H,H+1)),H+=1;Xt(w.subarray(H,H+1))!=="\0";)s+=Xt(w.subarray(H,H+1)),H+=1;s+=Xt(w.subarray(H,H+1)),H+=1}const te=w.subarray(H,w.byteLength);return{schemeIdUri:n,value:s,timeScale:m,presentationTime:T,presentationTimeDelta:E,eventDuration:j,id:Y,payload:te}}function Wt(w,...t){const n=t.length;let s=8,m=n;for(;m--;)s+=t[m].byteLength;const E=new Uint8Array(s);for(E[0]=s>>24&255,E[1]=s>>16&255,E[2]=s>>8&255,E[3]=s&255,E.set(w,4),m=0,s=8;m<n;m++)E.set(t[m],s),s+=t[m].byteLength;return E}function Fe(w,t,n){if(w.byteLength!==16)throw new RangeError("Invalid system id");let s,m;s=0,m=new Uint8Array;let E;s>0?(E=new Uint8Array(4),t.length>0&&new DataView(E.buffer).setUint32(0,t.length,!1)):E=new Uint8Array;const T=new Uint8Array(4);return n&&n.byteLength>0&&new DataView(T.buffer).setUint32(0,n.byteLength,!1),Wt([112,115,115,104],new Uint8Array([s,0,0,0]),w,E,m,T,n||new Uint8Array)}const fe=()=>/\(Windows.+Firefox\//i.test(navigator.userAgent),pe={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(w,t){const n=pe[t];return!!n&&!!n[w.slice(0,4)]}function Ie(w,t,n=!0){return!w.split(",").some(s=>!ct(s,t,n))}function ct(w,t,n=!0){var s;const m=se(n);return(s=m==null?void 0:m.isTypeSupported(zt(w,t)))!=null?s:!1}function zt(w,t){return`${t}/mp4;codecs=${w}`}function wt(w){if(w){const t=w.substring(0,4);return pe.video[t]}return 2}function Oe(w){const t=fe();return w.split(",").reduce((n,s)=>{const E=t&&Kt(s)?9:pe.video[s];return E?(E*2+n)/(n?3:2):(pe.audio[s]+n)/(n?2:1)},0)}const xt={};function xe(w,t=!0){if(xt[w])return xt[w];const n={flac:["flac","fLaC","FLAC"],opus:["opus","Opus"],"mp4a.40.34":["mp3"]}[w];for(let m=0;m<n.length;m++){var s;if(ct(n[m],"audio",t))return xt[w]=n[m],n[m];if(n[m]==="mp3"&&(s=se(t))!=null&&s.isTypeSupported("audio/mpeg"))return""}return w}const Ye=/flac|opus|mp4a\.40\.34/i;function mt(w,t=!0){return w.replace(Ye,n=>xe(n.toLowerCase(),t))}function Mt(w,t){const n=[];if(w){const s=w.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 Be(w,t){if(w&&(w.length>4||["ac-3","ec-3","alac","fLaC","Opus"].indexOf(w)!==-1)&&(Ir(w,"audio")||Ir(w,"video")))return w;if(t){const n=t.split(",");if(n.length>1){if(w){for(let s=n.length;s--;)if(n[s].substring(0,4)===w.substring(0,4))return n[s]}return n[0]}}return t||w}function Ir(w,t){return Pt(w,t)&&ct(w,t)}function St(w){const t=w.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 Zr(w){if(w.startsWith("av01.")){const t=w.split("."),n=["0","111","01","01","01","0"];for(let s=t.length;s>4&&s<10;s++)t[s]=n[s-4];return t.join(".")}return w}function Yr(w){const t=se(w)||{isTypeSupported:()=>!1};return{mpeg:t.isTypeSupported("audio/mpeg"),mp3:t.isTypeSupported('audio/mp4; codecs="mp3"'),ac3:t.isTypeSupported('audio/mp4; codecs="ac-3"')}}function xr(w){return w.replace(/^.+codecs=["']?([^"']+).*$/,"$1")}const Mr={supported:!0,configurations:[],decodingInfoResults:[{supported:!0,powerEfficient:!0,smooth:!0}]};function mr(w,t){return{supported:!1,configurations:t,decodingInfoResults:[{supported:!1,smooth:!1,powerEfficient:!1}],error:w}}function Nr(w,t,n,s,m,E){const T=w.videoCodec,j=w.audioCodec?w.audioGroups:null,Y=E==null?void 0:E.audioCodec,H=E==null?void 0:E.channels,te=H?parseInt(H):Y?1/0:2;let oe=null;if(j!=null&&j.length)try{j.length===1&&j[0]?oe=t.groups[j[0]].channels:oe=j.reduce((me,we)=>{if(we){const Se=t.groups[we];if(!Se)throw new Error(`Audio track group ${we} not found`);Object.keys(Se.channels).forEach(ut=>{me[ut]=(me[ut]||0)+Se.channels[ut]})}return me},{2:0})}catch(me){return!0}return T!==void 0&&(T.split(",").some(me=>Kt(me))||w.width>1920&&w.height>1088||w.height>1920&&w.width>1088||w.frameRate>Math.max(s,30)||w.videoRange!=="SDR"&&w.videoRange!==n||w.bitrate>Math.max(m,8e6))||!!oe&&r(te)&&Object.keys(oe).some(me=>parseInt(me)>te)}function nn(w,t,n,s={}){const m=w.videoCodec;if(!m&&!w.audioCodec||!n)return Promise.resolve(Mr);const E=[],T=on(w),j=T.length,Y=or(w,t,j>0),H=Y.length;for(let te=j||1*H||1;te--;){const oe={type:"media-source"};if(j&&(oe.video=T[te%j]),H){oe.audio=Y[te%H];const me=oe.audio.bitrate;oe.video&&me&&(oe.video.bitrate-=me)}E.push(oe)}if(m){const te=navigator.userAgent;if(m.split(",").some(oe=>Kt(oe))&&fe())return Promise.resolve(mr(new Error(`Overriding Windows Firefox HEVC MediaCapabilities result based on user-agent string: (${te})`),E))}return Promise.all(E.map(te=>{const oe=vt(te);return s[oe]||(s[oe]=n.decodingInfo(te))})).then(te=>({supported:!te.some(oe=>!oe.supported),configurations:E,decodingInfoResults:te})).catch(te=>({supported:!1,configurations:E,decodingInfoResults:[],error:te}))}function on(w){var t;const n=(t=w.videoCodec)==null?void 0:t.split(","),s=_t(w),m=w.width||640,E=w.height||480,T=w.frameRate||30,j=w.videoRange.toLowerCase();return n?n.map(Y=>{const H={contentType:zt(Zr(Y),"video"),width:m,height:E,bitrate:s,framerate:T};return j!=="sdr"&&(H.transferFunction=j),H}):[]}function or(w,t,n){var s;const m=(s=w.audioCodec)==null?void 0:s.split(","),E=_t(w);return m&&w.audioGroups?w.audioGroups.reduce((T,j)=>{var Y;const H=j?(Y=t.groups[j])==null?void 0:Y.tracks:null;return H?H.reduce((te,oe)=>{if(oe.groupId===j){const me=parseFloat(oe.channels||"");m.forEach(we=>{const Se={contentType:zt(we,"audio"),bitrate:n?Rt(we,E):E};me&&(Se.channels=""+me),te.push(Se)})}return te},T):T},[]):[]}function Rt(w,t){if(t<=1)return 1;let n=128e3;return w==="ec-3"?n=768e3:w==="ac-3"&&(n=64e4),Math.min(t/2,n)}function _t(w){return Math.ceil(Math.max(w.bitrate*.9,w.averageBitrate)/1e3)*1e3||1}function vt(w){let t="";const{audio:n,video:s}=w;if(s){const m=xr(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=xr(n.contentType);t+=`${s?"_":""}${m}_c${n.channels}`}return t}const $t=["NONE","TYPE-0","TYPE-1",null];function Sr(w){return $t.indexOf(w)>-1}const vr=["SDR","PQ","HLG"];function Qr(w){return!!w&&vr.indexOf(w)>-1}var Wr={No:"",Yes:"YES",v2:"v2"};function An(w){const{canSkipUntil:t,canSkipDateRanges:n,age:s}=w,m=s<t/2;return t&&m?n?Wr.v2:Wr.Yes:Wr.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 lr{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 Vr(this._audioGroups,t)}hasSubtitleGroup(t){return Vr(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 Vr(w,t){return!t||!w?!1:w.indexOf(t)!==-1}function dn(){if(typeof matchMedia=="function"){const w=matchMedia("(dynamic-range: high)"),t=matchMedia("bad query");if(w.media!==t.media)return w.matches===!0}return!1}function Bn(w,t){let n=!1,s=[];if(w&&(n=w!=="SDR",s=[w]),t){s=t.allowedVideoRanges||vr.slice(0);const m=s.join("")!=="SDR"&&!t.videoCodec;n=t.preferHDR!==void 0?t.preferHDR:m&&dn(),n||(s=["SDR"])}return{preferHDR:n,allowedVideoRanges:s}}const ti=w=>{const t=new WeakSet;return(n,s)=>{if(w&&(s=w(n,s)),typeof s=="object"&&s!==null){if(t.has(s))return;t.add(s)}return s}},Un=(w,t)=>JSON.stringify(w,ti(t));function Ri(w,t,n,s,m){const E=Object.keys(w),T=s==null?void 0:s.channels,j=s==null?void 0:s.audioCodec,Y=m==null?void 0:m.videoCodec,H=T&&parseInt(T)===2;let te=!1,oe=!1,me=1/0,we=1/0,Se=1/0,ut=1/0,Je=0,Lt=[];const{preferHDR:rr,allowedVideoRanges:Yt}=Bn(t,m);for(let qr=E.length;qr--;){const an=w[E[qr]];te||(te=an.channels[2]>0),me=Math.min(me,an.minHeight),we=Math.min(we,an.minFramerate),Se=Math.min(Se,an.minBitrate),Yt.filter(Fn=>an.videoRanges[Fn]>0).length>0&&(oe=!0)}me=r(me)?me:0,we=r(we)?we:0;const Cr=Math.max(1080,me),Hr=Math.max(30,we);Se=r(Se)?Se:n,n=Math.max(Se,n),oe||(t=void 0);const cn=E.length>1;return{codecSet:E.reduce((qr,an)=>{const Br=w[an];if(an===qr)return qr;if(Lt=oe?Yt.filter(Fn=>Br.videoRanges[Fn]>0):[],cn){if(Br.minBitrate>n)return ni(an,`min bitrate of ${Br.minBitrate} > current estimate of ${n}`),qr;if(!Br.hasDefaultAudio)return ni(an,"no renditions with default or auto-select sound found"),qr;if(j&&an.indexOf(j.substring(0,4))%5!==0)return ni(an,`audio codec preference "${j}" not found`),qr;if(T&&!H){if(!Br.channels[T])return ni(an,`no renditions with ${T} channel sound found (channels options: ${Object.keys(Br.channels)})`),qr}else if((!j||H)&&te&&Br.channels[2]===0)return ni(an,"no renditions with stereo sound found"),qr;if(Br.minHeight>Cr)return ni(an,`min resolution of ${Br.minHeight} > maximum of ${Cr}`),qr;if(Br.minFramerate>Hr)return ni(an,`min framerate of ${Br.minFramerate} > maximum of ${Hr}`),qr;if(!Lt.some(Fn=>Br.videoRanges[Fn]>0))return ni(an,`no variants with VIDEO-RANGE of ${Un(Lt)} found`),qr;if(Y&&an.indexOf(Y.substring(0,4))%5!==0)return ni(an,`video codec preference "${Y}" not found`),qr;if(Br.maxScore<Je)return ni(an,`max score of ${Br.maxScore} < selected max of ${Je}`),qr}return qr&&(Oe(an)>=Oe(qr)||Br.fragmentError>w[qr].fragmentError)?qr:(ut=Br.minIndex,Je=Br.maxScore,an)},void 0),videoRanges:Lt,preferHDR:rr,minFramerate:we,minBitrate:Se,minIndex:ut}}function ni(w,t){W.log(`[abr] start candidates with "${w}" ignored because ${t}`)}function ci(w){return w.reduce((t,n)=>{let s=t.groups[n.groupId];s||(s=t.groups[n.groupId]={tracks:[],channels:{2:0},hasDefault:!1,hasAutoSelect:!1}),s.tracks.push(n);const m=n.channels||"2";return s.channels[m]=(s.channels[m]||0)+1,s.hasDefault=s.hasDefault||n.default,s.hasAutoSelect=s.hasAutoSelect||n.autoselect,s.hasDefault&&(t.hasDefaultAudio=!0),s.hasAutoSelect&&(t.hasAutoSelectAudio=!0),t},{hasDefaultAudio:!1,hasAutoSelectAudio:!1,groups:{}})}function gi(w,t,n,s){return w.slice(n,s+1).reduce((m,E,T)=>{if(!E.codecSet)return m;const j=E.audioGroups;let Y=m[E.codecSet];Y||(m[E.codecSet]=Y={minBitrate:1/0,minHeight:1/0,minFramerate:1/0,minIndex:T,maxScore:0,videoRanges:{SDR:0},channels:{2:0},hasDefaultAudio:!j,fragmentError:0}),Y.minBitrate=Math.min(Y.minBitrate,E.bitrate);const H=Math.min(E.height,E.width);return Y.minHeight=Math.min(Y.minHeight,H),Y.minFramerate=Math.min(Y.minFramerate,E.frameRate),Y.minIndex=Math.min(Y.minIndex,T),Y.maxScore=Math.max(Y.maxScore,E.score),Y.fragmentError+=E.fragmentError,Y.videoRanges[E.videoRange]=(Y.videoRanges[E.videoRange]||0)+1,j&&j.forEach(te=>{if(!te)return;const oe=t.groups[te];oe&&(Y.hasDefaultAudio=Y.hasDefaultAudio||t.hasDefaultAudio?oe.hasDefault:oe.hasAutoSelect||!t.hasDefaultAudio&&!t.hasAutoSelectAudio,Object.keys(oe.channels).forEach(me=>{Y.channels[me]=(Y.channels[me]||0)+oe.channels[me]}))}),m},{})}function di(w){if(!w)return w;const{lang:t,assocLang:n,characteristics:s,channels:m,audioCodec:E}=w;return{lang:t,assocLang:n,characteristics:s,channels:m,audioCodec:E}}function Qi(w,t,n){if("attrs"in w){const s=t.indexOf(w);if(s!==-1)return s}for(let s=0;s<t.length;s++){const m=t[s];if(Gn(w,m,n))return s}return-1}function Gn(w,t,n){const{groupId:s,name:m,lang:E,assocLang:T,default:j}=w,Y=w.forced;return(s===void 0||t.groupId===s)&&(m===void 0||t.name===m)&&(E===void 0||Xi(E,t.lang))&&(E===void 0||t.assocLang===T)&&(j===void 0||t.default===j)&&(Y===void 0||t.forced===Y)&&(!("characteristics"in w)||Et(w.characteristics||"",t.characteristics))&&(n===void 0||n(w,t))}function Xi(w,t="--"){return w.length===t.length?w===t:w.startsWith(t)||t.startsWith(w)}function Et(w,t=""){const n=w.split(","),s=t.split(",");return n.length===s.length&&!n.some(m=>s.indexOf(m)===-1)}function st(w,t){const{audioCodec:n,channels:s}=w;return(n===void 0||(t.audioCodec||"").substring(0,4)===n.substring(0,4))&&(s===void 0||s===(t.channels||"2"))}function Vn(w,t,n,s,m){const E=t[s],j=t.reduce((me,we,Se)=>{const ut=we.uri;return(me[ut]||(me[ut]=[])).push(Se),me},{})[E.uri];j.length>1&&(s=Math.max.apply(Math,j));const Y=E.videoRange,H=E.frameRate,te=E.codecSet.substring(0,4),oe=yi(t,s,me=>{if(me.videoRange!==Y||me.frameRate!==H||me.codecSet.substring(0,4)!==te)return!1;const we=me.audioGroups,Se=n.filter(ut=>!we||we.indexOf(ut.groupId)!==-1);return Qi(w,Se,m)>-1});return oe>-1?oe:yi(t,s,me=>{const we=me.audioGroups,Se=n.filter(ut=>!we||we.indexOf(ut.groupId)!==-1);return Qi(w,Se,m)>-1})}function yi(w,t,n){for(let s=t;s>-1;s--)if(n(w[s]))return s;for(let s=t+1;s<w.length;s++)if(n(w[s]))return s;return-1}function Kn(w,t){var n;return!!w&&w!==((n=t.loadLevelObj)==null?void 0:n.uri)}class Ki 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:T}=this,{autoLevelEnabled:j,media:Y}=T;if(!m||!Y)return;const H=performance.now(),te=E?E.stats:m.stats,oe=E?E.duration:m.duration,me=H-te.loading.start,we=T.minAutoLevel,Se=m.level,ut=this._nextAutoLevel;if(te.aborted||te.loaded&&te.loaded===te.total||Se<=we){this.clearTimer(),this._nextAutoLevel=-1;return}if(!j)return;const Je=ut>-1&&ut!==Se,Lt=!!n||Je;if(!Lt&&(Y.paused||!Y.playbackRate||!Y.readyState))return;const rr=T.mainForwardBufferInfo;if(!Lt&&rr===null)return;const Yt=this.bwEstimator.getEstimateTTFB(),Cr=Math.abs(Y.playbackRate);if(me<=Math.max(Yt,1e3*(oe/(Cr*2))))return;const Hr=rr?rr.len/Cr:0,cn=te.loading.first?te.loading.first-te.loading.start:-1,zr=te.loaded&&cn>-1,qr=this.getBwEstimate(),an=T.levels,Br=an[Se],Fn=Math.max(te.loaded,Math.round(oe*(m.bitrate||Br.averageBitrate)/8));let oi=zr?me-cn:me;oi<1&&zr&&(oi=Math.min(me,te.loaded*8/qr));const sa=zr?te.loaded*1e3/oi:0,Ui=Yt/1e3,$i=sa?(Fn-te.loaded)/sa:Fn*8/qr+Ui;if($i<=Hr)return;const Di=sa?sa*8:qr,va=((s=(n==null?void 0:n.details)||this.hls.latestLevelDetails)==null?void 0:s.live)===!0,ui=this.hls.config.abrBandWidthUpFactor;let wa=Number.POSITIVE_INFINITY,xa;for(xa=Se-1;xa>we;xa--){const _s=an[xa].maxBitrate,js=!an[xa].details||va;if(wa=this.getTimeToLoadFrag(Ui,Di,oe*_s,js),wa<Math.min(Hr,oe+Ui))break}if(wa>=$i||wa>oe*10)return;zr?this.bwEstimator.sample(me-Math.min(Yt,cn),te.loaded):this.bwEstimator.sampleTTFB(me);const vi=an[xa].maxBitrate;this.getBwEstimate()*ui>vi&&this.resetEstimator(vi);const ii=this.findBestLevel(vi,we,xa,0,Hr,1,1);ii>-1&&(xa=ii),this.warn(`Fragment ${m.sn}${E?" part "+E.index:""} of level ${Se} is loading too slowly;
|
|
|
Fragment duration: ${m.duration.toFixed(3)}
|
|
|
Time to underbuffer: ${Hr.toFixed(3)} s
|
|
|
Estimated load time for current fragment: ${$i.toFixed(3)} s
|
|
|
Estimated load time for down switch fragment: ${wa.toFixed(3)} s
|
|
|
TTFB estimate: ${cn|0} ms
|
|
|
Current BW estimate: ${r(qr)?qr|0:"Unknown"} bps
|
|
|
New BW estimate: ${this.getBwEstimate()|0} bps
|
|
|
Switching to level ${xa} @ ${vi|0} bps`),T.nextLoadLevel=T.nextAutoLevel=xa,this.clearTimer();const Ua=()=>{if(this.clearTimer(),this.fragCurrent===m&&this.hls.loadLevel===xa&&xa>0){const _s=this.getStarvationDelay();if(this.warn(`Aborting inflight request ${xa>0?"and switching down":""}
|
|
|
Fragment duration: ${m.duration.toFixed(3)} s
|
|
|
Time to underbuffer: ${_s.toFixed(3)} s`),m.abortRequests(),this.fragCurrent=this.partCurrent=null,xa>we){let js=this.findBestLevel(this.hls.levels[we].bitrate,we,xa,0,_s,1,1);js===-1&&(js=we),this.hls.nextLoadLevel=this.hls.nextAutoLevel=js,this.resetEstimator(this.hls.levels[js].bitrate)}}};Je||$i>wa*2?Ua():this.timer=self.setInterval(Ua,wa*1e3),T.trigger(o.FRAG_LOAD_EMERGENCY_ABORTED,{frag:m,part:E,stats:te})},this.hls=t,this.bwEstimator=this.initEstimator(),this.registerListeners()}resetEstimator(t){t&&(this.log(`setting initial bwe to ${t}`),this.hls.config.abrEwmaDefaultEstimate=t),this.firstSelection=-1,this.bwEstimator=this.initEstimator()}initEstimator(){const t=this.hls.config;return new x(t.abrEwmaSlowVoD,t.abrEwmaFastVoD,t.abrEwmaDefaultEstimate)}registerListeners(){const{hls:t}=this;t.on(o.MANIFEST_LOADING,this.onManifestLoading,this),t.on(o.FRAG_LOADING,this.onFragLoading,this),t.on(o.FRAG_LOADED,this.onFragLoaded,this),t.on(o.FRAG_BUFFERED,this.onFragBuffered,this),t.on(o.LEVEL_SWITCHING,this.onLevelSwitching,this),t.on(o.LEVEL_LOADED,this.onLevelLoaded,this),t.on(o.LEVELS_UPDATED,this.onLevelsUpdated,this),t.on(o.MAX_AUTO_LEVEL_UPDATED,this.onMaxAutoLevelUpdated,this),t.on(o.ERROR,this.onError,this)}unregisterListeners(){const{hls:t}=this;t&&(t.off(o.MANIFEST_LOADING,this.onManifestLoading,this),t.off(o.FRAG_LOADING,this.onFragLoading,this),t.off(o.FRAG_LOADED,this.onFragLoaded,this),t.off(o.FRAG_BUFFERED,this.onFragBuffered,this),t.off(o.LEVEL_SWITCHING,this.onLevelSwitching,this),t.off(o.LEVEL_LOADED,this.onLevelLoaded,this),t.off(o.LEVELS_UPDATED,this.onLevelsUpdated,this),t.off(o.MAX_AUTO_LEVEL_UPDATED,this.onMaxAutoLevelUpdated,this),t.off(o.ERROR,this.onError,this))}destroy(){this.unregisterListeners(),this.clearTimer(),this.hls=this._abandonRulesCheck=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 T=performance.now(),j=E?E.stats:s.stats,Y=T-j.loading.start,H=j.loading.first?j.loading.first-j.loading.start:-1;if(j.loaded&&H>-1){const oe=this.bwEstimator.getEstimateTTFB();this.bwEstimator.sample(Y-Math.min(oe,H),j.loaded)}else this.bwEstimator.sampleTTFB(Y)}break}}}getTimeToLoadFrag(t,n,s,m){const E=t+s/n,T=m?t+this.lastLevelLoadSec:0;return E+T}onLevelLoaded(t,n){const s=this.hls.config,{loading:m}=n.stats,E=m.end-m.first;r(E)&&(this.lastLevelLoadSec=E/1e3),n.details.live?this.bwEstimator.update(s.abrEwmaSlowLive,s.abrEwmaFastLive):this.bwEstimator.update(s.abrEwmaSlowVoD,s.abrEwmaFastVoD),this.timer>-1&&this._abandonRulesCheck(n.levelInfo)}onFragLoaded(t,{frag:n,part:s}){const m=s?s.stats:n.stats;if(n.type===u.MAIN&&this.bwEstimator.sampleTTFB(m.loading.first-m.loading.start),!this.ignoreFragment(n)){if(this.clearTimer(),n.level===this._nextAutoLevel&&(this._nextAutoLevel=-1),this.firstSelection=-1,this.hls.config.abrMaxWithRealBitrate){const E=s?s.duration:n.duration,T=this.hls.levels[n.level],j=(T.loaded?T.loaded.bytes:0)+m.loaded,Y=(T.loaded?T.loaded.duration:0)+E;T.loaded={bytes:j,duration:Y},T.realBitrate=Math.round(8*j/Y)}if(n.bitrateTest){const E={stats:m,frag:n,part:s,id:n.type};this.onFragBuffered(o.FRAG_BUFFERED,E),n.bitrateTest=!1}else this.lastLoadedFragLevel=n.level}}onFragBuffered(t,n){const{frag:s,part:m}=n,E=m!=null&&m.stats.loaded?m.stats:s.stats;if(E.aborted||this.ignoreFragment(s))return;const T=E.parsing.end-E.loading.start-Math.min(E.loading.first-E.loading.start,this.bwEstimator.getEstimateTTFB());this.bwEstimator.sample(T,E.loaded),E.bwEstimate=this.getBwEstimate(),s.bitrateTest?this.bitrateTestDelay=T/1e3:this.bitrateTestDelay=0}ignoreFragment(t){return t.type!==u.MAIN||t.sn==="initSegment"}clearTimer(){this.timer>-1&&(self.clearInterval(this.timer),this.timer=-1)}get firstAutoLevel(){const{maxAutoLevel:t,minAutoLevel:n}=this.hls,s=this.getBwEstimate(),m=this.hls.config.maxStarvationDelay,E=this.findBestLevel(s,n,t,0,m,1,1);if(E>-1)return E;const T=this.hls.firstLevel,j=Math.min(Math.max(T,n),t);return this.warn(`Could not find best starting auto level. Defaulting to first in playlist ${T} clamped to ${j}`),j}get forcedAutoLevel(){return this.nextAutoLevelKey?-1:this._nextAutoLevel}get nextAutoLevel(){const t=this.forcedAutoLevel,s=this.bwEstimator.canEstimate(),m=this.lastLoadedFragLevel>-1;if(t!==-1&&(!s||!m||this.nextAutoLevelKey===this.getAutoLevelKey()))return t;const E=s&&m?this.getNextABRAutoLevel():this.firstAutoLevel;if(t!==-1){const T=this.hls.levels;if(T.length>Math.max(t,E)&&T[t].loadError<=T[E].loadError)return t}return this._nextAutoLevel=E,this.nextAutoLevelKey=this.getAutoLevelKey(),E}getAutoLevelKey(){return`${this.getBwEstimate()}_${this.getStarvationDelay().toFixed(2)}`}getNextABRAutoLevel(){const{fragCurrent:t,partCurrent:n,hls:s}=this;if(s.levels.length<=1)return s.loadLevel;const{maxAutoLevel:m,config:E,minAutoLevel:T}=s,j=n?n.duration:t?t.duration:0,Y=this.getBwEstimate(),H=this.getStarvationDelay();let te=E.abrBandWidthFactor,oe=E.abrBandWidthUpFactor;if(H){const Je=this.findBestLevel(Y,T,m,H,0,te,oe);if(Je>=0)return this.rebufferNotice=-1,Je}let me=j?Math.min(j,E.maxStarvationDelay):E.maxStarvationDelay;if(!H){const Je=this.bitrateTestDelay;Je&&(me=(j?Math.min(j,E.maxLoadingDelay):E.maxLoadingDelay)-Je,this.info(`bitrate test took ${Math.round(1e3*Je)}ms, set first fragment max fetchDuration to ${Math.round(1e3*me)} ms`),te=oe=1)}const we=this.findBestLevel(Y,T,m,H,me,te,oe);if(this.rebufferNotice!==we&&(this.rebufferNotice=we,this.info(`${H?"rebuffering expected":"buffer is empty"}, optimal quality level ${we}`)),we>-1)return we;const Se=s.levels[T],ut=s.loadLevelObj;return ut&&(Se==null?void 0:Se.bitrate)<ut.bitrate?T:s.loadLevel}getStarvationDelay(){const t=this.hls,n=t.media;if(!n)return 1/0;const s=n&&n.playbackRate!==0?Math.abs(n.playbackRate):1,m=t.mainForwardBufferInfo;return(m?m.len:0)/s}getBwEstimate(){return this.bwEstimator.canEstimate()?this.bwEstimator.getEstimate():this.hls.config.abrEwmaDefaultEstimate}findBestLevel(t,n,s,m,E,T,j){var Y;const H=m+E,te=this.lastLoadedFragLevel,oe=te===-1?this.hls.firstLevel:te,{fragCurrent:me,partCurrent:we}=this,{levels:Se,allAudioTracks:ut,loadLevel:Je,config:Lt}=this.hls;if(Se.length===1)return 0;const rr=Se[oe],Yt=!!((Y=this.hls.latestLevelDetails)!=null&&Y.live),Cr=Je===-1||te===-1;let Hr,cn="SDR",zr=(rr==null?void 0:rr.frameRate)||0;const{audioPreference:qr,videoPreference:an}=Lt,Br=this.audioTracksByGroup||(this.audioTracksByGroup=ci(ut));let Fn=-1;if(Cr){if(this.firstSelection!==-1)return this.firstSelection;const va=this.codecTiers||(this.codecTiers=gi(Se,Br,n,s)),ui=Ri(va,cn,t,qr,an),{codecSet:wa,videoRanges:xa,minFramerate:vi,minBitrate:ii,minIndex:Ua,preferHDR:_s}=ui;Fn=Ua,Hr=wa,cn=_s?xa[xa.length-1]:xa[0],zr=vi,t=Math.max(t,ii),this.log(`picked start tier ${Un(ui)}`)}else Hr=rr==null?void 0:rr.codecSet,cn=rr==null?void 0:rr.videoRange;const oi=we?we.duration:me?me.duration:0,sa=this.bwEstimator.getEstimateTTFB()/1e3,Ui=[];for(let va=s;va>=n;va--){var $i,Di;const ui=Se[va],wa=va>oe;if(!ui)continue;if(Lt.useMediaCapabilities&&!ui.supportedResult&&!ui.supportedPromise){const Os=navigator.mediaCapabilities;typeof(Os==null?void 0:Os.decodingInfo)=="function"&&Nr(ui,Br,cn,zr,t,qr)?(ui.supportedPromise=nn(ui,Br,Os,this.supportedCache),ui.supportedPromise.then(Bo=>{if(!this.hls)return;ui.supportedResult=Bo;const ml=this.hls.levels,Ru=ml.indexOf(ui);Bo.error?this.warn(`MediaCapabilities decodingInfo error: "${Bo.error}" for level ${Ru} ${Un(Bo)}`):Bo.supported?Bo.decodingInfoResults.some(vl=>vl.smooth===!1||vl.powerEfficient===!1)&&this.log(`MediaCapabilities decodingInfo for level ${Ru} not smooth or powerEfficient: ${Un(Bo)}`):(this.warn(`Unsupported MediaCapabilities decodingInfo result for level ${Ru} ${Un(Bo)}`),Ru>-1&&ml.length>1&&(this.log(`Removing unsupported level ${Ru}`),this.hls.removeLevel(Ru),this.hls.loadLevel===-1&&(this.hls.nextLoadLevel=0)))})):ui.supportedResult=Mr}if((Hr&&ui.codecSet!==Hr||cn&&ui.videoRange!==cn||wa&&zr>ui.frameRate||!wa&&zr>0&&zr<ui.frameRate||($i=ui.supportedResult)!=null&&(Di=$i.decodingInfoResults)!=null&&Di.some(Os=>Os.smooth===!1))&&(!Cr||va!==Fn)){Ui.push(va);continue}const xa=ui.details,vi=(we?xa==null?void 0:xa.partTarget:xa==null?void 0:xa.averagetargetduration)||oi;let ii;wa?ii=j*t:ii=T*t;const Ua=oi&&m>=oi*2&&E===0?ui.averageBitrate:ui.maxBitrate,_s=this.getTimeToLoadFrag(sa,ii,Ua*vi,xa===void 0);if(ii>=Ua&&(va===te||ui.loadError===0&&ui.fragmentError===0)&&(_s<=sa||!r(_s)||Yt&&!this.bitrateTestDelay||_s<H)){const Os=this.forcedAutoLevel;return va!==Je&&(Os===-1||Os!==Je)&&(Ui.length&&this.trace(`Skipped level(s) ${Ui.join(",")} of ${s} max with CODECS and VIDEO-RANGE:"${Se[Ui[0]].codecs}" ${Se[Ui[0]].videoRange}; not compatible with "${Hr}" ${cn}`),this.info(`switch candidate:${oe}->${va} adjustedbw(${Math.round(ii)})-bitrate=${Math.round(ii-Ua)} ttfb:${sa.toFixed(1)} avgDuration:${vi.toFixed(1)} maxFetchDuration:${H.toFixed(1)} fetchDuration:${_s.toFixed(1)} firstSelection:${Cr} codecSet:${ui.codecSet} videoRange:${ui.videoRange} hls.loadLevel:${Je}`)),Cr&&(this.firstSelection=va),va}}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 _i={search:function(w,t){let n=0,s=w.length-1,m=null,E=null;for(;n<=s;){m=(n+s)/2|0,E=w[m];const T=t(E);if(T>0)n=m+1;else if(T<0)s=m-1;else return E}return null}};function ei(w,t,n){if(t===null||!Array.isArray(w)||!w.length||!r(t))return null;const s=w[0].programDateTime;if(t<(s||0))return null;const m=w[w.length-1].endProgramDateTime;if(t>=(m||0))return null;for(let E=0;E<w.length;++E){const T=w[E];if(rt(t,n,T))return T}return null}function vn(w,t,n=0,s=0,m=.005){let E=null;if(w){E=t[1+w.sn-t[0].sn]||null;const j=w.endDTS-n;j>0&&j<15e-7&&(n+=15e-7),E&&w.level!==E.level&&E.end<=w.end&&(E=t[2+w.sn-t[0].sn]||null)}else n===0&&t[0].start===0&&(E=t[0]);if(E&&((!w||w.level===E.level)&&pt(n,s,E)===0||er(E,w,Math.min(m,s))))return E;const T=_i.search(t,pt.bind(null,n,s));return T&&(T!==w||!E)?T:E}function er(w,t,n){if(t&&t.start===0&&t.level<w.level&&(t.endPTS||0)>0){const s=t.tagList.reduce((m,E)=>(E[0]==="INF"&&(m+=parseFloat(E[1])),m),n);return w.start<=s}return!1}function pt(w=0,t=0,n){if(n.start<=w&&n.start+n.duration>w)return 0;const s=Math.min(t,n.duration+(n.deltaPTS?n.deltaPTS:0));return n.start+n.duration-s<=w?1:n.start-s>w&&n.start?-1:0}function rt(w,t,n){const s=Math.min(t,n.duration+(n.deltaPTS?n.deltaPTS:0))*1e3;return(n.endProgramDateTime||0)-s>w}function Ot(w,t,n){if(w&&w.startCC<=t&&w.endCC>=t){let s=w.fragments;const{fragmentHint:m}=w;m&&(s=s.concat(m));let E;return _i.search(s,T=>T.cc<t?1:T.cc>t?-1:(E=T,T.end<=n?1:T.start>n?-1:0)),E||null}return null}function ft(w){switch(w.details){case f.FRAG_LOAD_TIMEOUT:case f.KEY_LOAD_TIMEOUT:case f.LEVEL_LOAD_TIMEOUT:case f.MANIFEST_LOAD_TIMEOUT:return!0}return!1}function ur(w,t){const n=ft(t);return w.default[`${n?"timeout":"error"}Retry`]}function fr(w,t){const n=w.backoff==="linear"?1:Math.pow(2,t);return Math.min(n*w.retryDelayMs,w.maxRetryDelayMs)}function Tr(w){return b(b({},w),{errorRetry:null,timeoutRetry:null})}function $r(w,t,n,s){if(!w)return!1;const m=s==null?void 0:s.code,E=t<w.maxNumRetry&&(Ze(m)||!!n);return w.shouldRetry?w.shouldRetry(w,t,n,s,E):E}function Ze(w){return w===0&&navigator.onLine===!1||!!w&&(w<400||w>499)}var qe={DoNothing:0,SendEndCallback:1,SendAlternateToPenaltyBox:2,RemoveAlternatePermanently:3,InsertDiscontinuity:4,RetryRequest:5},Ee={None:0,MoveAllAlternatesMatchingHost:1,MoveAllAlternatesMatchingHDCP:2,SwitchToSDR:4};class ot 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 T,j;const H=n.parent===u.MAIN?n.level:m.loadLevel;n.details===f.LEVEL_EMPTY_ERROR&&((T=n.context)!=null&&(j=T.levelDetails)!=null&&j.live)?n.errorAction=this.getPlaylistRetryOrSwitchAction(n,H):(n.levelRetry=!1,n.errorAction=this.getLevelSwitchAction(n,H))}return;case f.LEVEL_LOAD_ERROR:case f.LEVEL_LOAD_TIMEOUT:typeof(E==null?void 0:E.level)=="number"&&(n.errorAction=this.getPlaylistRetryOrSwitchAction(n,E.level));return;case f.AUDIO_TRACK_LOAD_ERROR:case f.AUDIO_TRACK_LOAD_TIMEOUT:case f.SUBTITLE_LOAD_ERROR:case f.SUBTITLE_TRACK_LOAD_TIMEOUT:if(E){const H=m.loadLevelObj;if(H&&(E.type===h.AUDIO_TRACK&&H.hasAudioGroup(E.groupId)||E.type===h.SUBTITLE_TRACK&&H.hasSubtitleGroup(E.groupId))){n.errorAction=this.getPlaylistRetryOrSwitchAction(n,m.loadLevel),n.errorAction.action=qe.SendAlternateToPenaltyBox,n.errorAction.flags=Ee.MoveAllAlternatesMatchingHost;return}}return;case f.KEY_SYSTEM_STATUS_OUTPUT_RESTRICTED:{const H=m.loadLevelObj,te=H==null?void 0:H.attrs["HDCP-LEVEL"];te?n.errorAction={action:qe.SendAlternateToPenaltyBox,flags:Ee.MoveAllAlternatesMatchingHDCP,hdcpLevel:te}:this.keySystemError(n)}return;case f.BUFFER_ADD_CODEC_ERROR:case f.REMUX_ALLOC_ERROR:case f.BUFFER_APPEND_ERROR:if(!n.errorAction){var Y;n.errorAction=this.getLevelSwitchAction(n,(Y=n.level)!=null?Y: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=ur(s.config.playlistLoadPolicy,t),E=this.playlistError++;if($r(m,E,ft(t),t.response))return{action:qe.RetryRequest,flags:Ee.None,retryConfig:m,retryCount:E};const j=this.getLevelSwitchAction(t,n);return m&&(j.retryConfig=m,j.retryCount=E),j}getFragRetryOrSwitchAction(t){const n=this.hls,s=this.getVariantLevelIndex(t.frag),m=n.levels[s],{fragLoadPolicy:E,keyLoadPolicy:T}=n.config,j=ur(t.details.startsWith("key")?T:E,t),Y=n.levels.reduce((te,oe)=>te+oe.fragmentError,0);if(m&&(t.details!==f.FRAG_GAP&&m.fragmentError++,$r(j,Y,ft(t),t.response)))return{action:qe.RetryRequest,flags:Ee.None,retryConfig:j,retryCount:Y};const H=this.getLevelSwitchAction(t,s);return j&&(H.retryConfig=j,H.retryCount=Y),H}getLevelSwitchAction(t,n){const s=this.hls;n==null&&(n=s.loadLevel);const m=this.hls.levels[n];if(m){var E,T;const H=t.details;m.loadError++,H===f.BUFFER_APPEND_ERROR&&m.fragmentError++;let te=-1;const{levels:oe,loadLevel:me,minAutoLevel:we,maxAutoLevel:Se}=s;!s.autoLevelEnabled&&!s.config.preserveManualLevelOnError&&(s.loadLevel=-1);const ut=(E=t.frag)==null?void 0:E.type,Lt=(ut===u.AUDIO&&H===f.FRAG_PARSING_ERROR||t.sourceBufferName==="audio"&&(H===f.BUFFER_ADD_CODEC_ERROR||H===f.BUFFER_APPEND_ERROR))&&oe.some(({audioCodec:cn})=>m.audioCodec!==cn),Yt=t.sourceBufferName==="video"&&(H===f.BUFFER_ADD_CODEC_ERROR||H===f.BUFFER_APPEND_ERROR)&&oe.some(({codecSet:cn,audioCodec:zr})=>m.codecSet!==cn&&m.audioCodec===zr),{type:Cr,groupId:Hr}=(T=t.context)!=null?T:{};for(let cn=oe.length;cn--;){const zr=(cn+me)%oe.length;if(zr!==me&&zr>=we&&zr<=Se&&oe[zr].loadError===0){var j,Y;const qr=oe[zr];if(H===f.FRAG_GAP&&ut===u.MAIN&&t.frag){const an=oe[zr].details;if(an){const Br=vn(t.frag,an.fragments,t.frag.start);if(Br!=null&&Br.gap)continue}}else{if(Cr===h.AUDIO_TRACK&&qr.hasAudioGroup(Hr)||Cr===h.SUBTITLE_TRACK&&qr.hasSubtitleGroup(Hr))continue;if(ut===u.AUDIO&&(j=m.audioGroups)!=null&&j.some(an=>qr.hasAudioGroup(an))||ut===u.SUBTITLE&&(Y=m.subtitleGroups)!=null&&Y.some(an=>qr.hasSubtitleGroup(an))||Lt&&m.audioCodec===qr.audioCodec||!Lt&&m.audioCodec!==qr.audioCodec||Yt&&m.codecSet===qr.codecSet)continue}te=zr;break}}if(te>-1&&s.loadLevel!==te)return t.levelRetry=!0,this.playlistError=0,{action:qe.SendAlternateToPenaltyBox,flags:Ee.None,nextAutoLevel:te}}return{action:qe.SendAlternateToPenaltyBox,flags:Ee.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:T}=s;switch(m){case Ee.None:this.switchLevel(t,T);break;case Ee.MoveAllAlternatesMatchingHDCP:E&&(n.maxHdcpLevel=$t[$t.indexOf(E)-1],s.resolved=!0),this.warn(`Restricting playback to HDCP-LEVEL of "${n.maxHdcpLevel}" or lower`);break}s.resolved||this.switchLevel(t,T)}switchLevel(t,n){if(n!==void 0&&t.errorAction&&(this.warn(`switching to level ${n} after ${t.details}`),this.hls.nextAutoLevel=n,t.errorAction.resolved=!0,this.hls.nextLoadLevel=this.hls.nextAutoLevel,t.details===f.BUFFER_ADD_CODEC_ERROR&&t.mimeType&&t.sourceBufferName!=="audiovideo")){const s=xr(t.mimeType),m=this.hls.levels;for(let E=m.length;E--;)m[E][`${t.sourceBufferName}Codec`]===s&&this.hls.removeLevel(E)}}}function ar(w){const t={action:qe.DoNothing,flags:Ee.None};return w&&(t.resolved=!0),t}var br={NOT_LOADED:"NOT_LOADED",APPENDING:"APPENDING",PARTIAL:"PARTIAL",OK:"OK"};class Dr{constructor(t){this.activePartLists=Object.create(null),this.endListFragments=Object.create(null),this.fragments=Object.create(null),this.timeRanges=Object.create(null),this.bufferPadding=.2,this.hls=void 0,this.hasGaps=!1,this.hls=t,this._registerListeners()}_registerListeners(){const{hls:t}=this;t.on(o.MANIFEST_LOADING,this.onManifestLoading,this),t.on(o.BUFFER_APPENDED,this.onBufferAppended,this),t.on(o.FRAG_BUFFERED,this.onFragBuffered,this),t.on(o.FRAG_LOADED,this.onFragLoaded,this)}_unregisterListeners(){const{hls:t}=this;t.off(o.MANIFEST_LOADING,this.onManifestLoading,this),t.off(o.BUFFER_APPENDED,this.onBufferAppended,this),t.off(o.FRAG_BUFFERED,this.onFragBuffered,this),t.off(o.FRAG_LOADED,this.onFragLoaded,this)}destroy(){this._unregisterListeners(),this.fragments=this.activePartLists=this.endListFragments=this.timeRanges=null}getAppendedFrag(t,n){const s=this.activePartLists[n];if(s)for(let m=s.length;m--;){const E=s[m];if(!E)break;const T=E.end;if(E.start<=t&&T!==null&&t<=T)return E}return this.getBufferedFrag(t,n)}getBufferedFrag(t,n){return this.getFragAtPos(t,n,!0)}getFragAtPos(t,n,s){const{fragments:m}=this,E=Object.keys(m);for(let T=E.length;T--;){const j=m[E[T]];if((j==null?void 0:j.body.type)===n&&(!s||j.buffered)){const Y=j.body;if(Y.start<=t&&t<=Y.end)return Y}}return null}detectEvictedFragments(t,n,s,m,E){this.timeRanges&&(this.timeRanges[t]=n);const T=(m==null?void 0:m.fragment.sn)||-1;Object.keys(this.fragments).forEach(j=>{const Y=this.fragments[j];if(!Y||T>=Y.body.sn)return;if(!Y.buffered&&(!Y.loaded||E)){Y.body.type===s&&this.removeFragment(Y.body);return}const H=Y.range[t];if(H){if(H.time.length===0){this.removeFragment(Y.body);return}H.time.some(te=>{const oe=!this.isTimeBuffered(te.startPTS,te.endPTS,n);return oe&&this.removeFragment(Y.body),oe})}})}detectPartialFragments(t){const n=this.timeRanges;if(!n||t.frag.sn==="initSegment")return;const s=t.frag,m=Fr(s),E=this.fragments[m];if(!E||E.buffered&&s.gap)return;const T=!s.relurl;Object.keys(n).forEach(j=>{const Y=s.elementaryStreams[j];if(!Y)return;const H=n[j],te=T||Y.partial===!0;E.range[j]=this.getBufferedTimes(s,t.part,te,H)}),E.loaded=null,Object.keys(E.range).length?(E.buffered=!0,(E.body.endList=s.endList||E.body.endList)&&(this.endListFragments[E.body.type]=E),Pr(E)||this.removeParts(s.sn-1,s.type)):this.removeFragment(E.body)}removeParts(t,n){const s=this.activePartLists[n];s&&(this.activePartLists[n]=mn(s,m=>m.fragment.sn>=t))}fragBuffered(t,n){const s=Fr(t);let m=this.fragments[s];!m&&n&&(m=this.fragments[s]={body:t,appendedPTS:null,loaded:null,buffered:!1,range:Object.create(null)},t.gap&&(this.hasGaps=!0)),m&&(m.loaded=null,m.buffered=!0)}getBufferedTimes(t,n,s,m){const E={time:[],partial:s},T=t.start,j=t.end,Y=t.minEndPTS||j,H=t.maxStartPTS||T;for(let te=0;te<m.length;te++){const oe=m.start(te)-this.bufferPadding,me=m.end(te)+this.bufferPadding;if(H>=oe&&Y<=me){E.time.push({startPTS:Math.max(T,m.start(te)),endPTS:Math.min(j,m.end(te))});break}else if(T<me&&j>oe){const we=Math.max(T,m.start(te)),Se=Math.min(j,m.end(te));Se>we&&(E.partial=!0,E.time.push({startPTS:we,endPTS:Se}))}else if(j<=oe)break}return E}getPartialFragment(t){let n=null,s,m,E,T=0;const{bufferPadding:j,fragments:Y}=this;return Object.keys(Y).forEach(H=>{const te=Y[H];te&&Pr(te)&&(m=te.body.start-j,E=te.body.end+j,t>=m&&t<=E&&(s=Math.min(t-m,E-t),T<=s&&(n=te.body,T=s)))}),n}isEndListAppended(t){const n=this.endListFragments[t];return n!==void 0&&(n.buffered||Pr(n))}getState(t){const n=Fr(t),s=this.fragments[n];return s?s.buffered?Pr(s)?br.PARTIAL:br.OK:br.APPENDING:br.NOT_LOADED}isTimeBuffered(t,n,s){let m,E;for(let T=0;T<s.length;T++){if(m=s.start(T)-this.bufferPadding,E=s.end(T)+this.bufferPadding,t>=m&&n<=E)return!0;if(n<=m)return!1}return!1}onManifestLoading(){this.removeAllFragments()}onFragLoaded(t,n){if(n.frag.sn==="initSegment"||n.frag.bitrateTest)return;const s=n.frag,m=n.part?null:n,E=Fr(s);this.fragments[E]={body:s,appendedPTS:null,loaded:m,buffered:!1,range:Object.create(null)}}onBufferAppended(t,n){const{frag:s,part:m,timeRanges:E,type:T}=n;if(s.sn==="initSegment")return;const j=s.type;if(m){let H=this.activePartLists[j];H||(this.activePartLists[j]=H=[]),H.push(m)}this.timeRanges=E;const Y=E[T];this.detectEvictedFragments(T,Y,j,m)}onFragBuffered(t,n){this.detectPartialFragments(n)}hasFragment(t){const n=Fr(t);return!!this.fragments[n]}hasFragments(t){const{fragments:n}=this,s=Object.keys(n);if(!t)return s.length>0;for(let m=s.length;m--;){const E=n[s[m]];if((E==null?void 0:E.body.type)===t)return!0}return!1}hasParts(t){var n;return!!((n=this.activePartLists[t])!=null&&n.length)}removeFragmentsInRange(t,n,s,m,E){m&&!this.hasGaps||Object.keys(this.fragments).forEach(T=>{const j=this.fragments[T];if(!j)return;const Y=j.body;Y.type!==s||m&&!Y.gap||Y.start<n&&Y.end>t&&(j.buffered||E)&&this.removeFragment(Y)})}removeFragment(t){const n=Fr(t);t.clearElementaryStreamInfo();const s=this.activePartLists[t.type];if(s){const m=t.sn;this.activePartLists[t.type]=mn(s,E=>E.fragment.sn!==m)}delete this.fragments[n],t.endList&&delete this.endListFragments[t.type]}removeAllFragments(){var t,n;this.fragments=Object.create(null),this.endListFragments=Object.create(null),this.activePartLists=Object.create(null),this.hasGaps=!1;const s=(t=this.hls)==null||(n=t.latestLevelDetails)==null?void 0:n.partList;s&&s.forEach(m=>m.clearElementaryStreamInfo())}}function Pr(w){var t,n,s;return w.buffered&&(w.body.gap||((t=w.range.video)==null?void 0:t.partial)||((n=w.range.audio)==null?void 0:n.partial)||((s=w.range.audiovideo)==null?void 0:s.partial))}function Fr(w){return`${w.type}_${w.level}_${w.sn}`}function mn(w,t){return w.filter(n=>{const s=t(n);return s||n.clearElementaryStreamInfo(),s})}var Er={cbc:0,ctr:1};class un{constructor(t,n,s){this.subtle=void 0,this.aesIV=void 0,this.aesMode=void 0,this.subtle=t,this.aesIV=n,this.aesMode=s}decrypt(t,n){switch(this.aesMode){case Er.cbc:return this.subtle.decrypt({name:"AES-CBC",iv:this.aesIV},n,t);case Er.ctr:return this.subtle.decrypt({name:"AES-CTR",counter:this.aesIV,length:64},n,t);default:throw new Error(`[AESCrypto] invalid aes mode ${this.aesMode}`)}}}function Jr(w){const t=w.byteLength,n=t&&new DataView(w.buffer).getUint8(t-1);return n?w.slice(0,t-n):w}class sn{constructor(){this.rcon=[0,1,2,4,8,16,32,64,128,27,54],this.subMix=[new Uint32Array(256),new Uint32Array(256),new Uint32Array(256),new Uint32Array(256)],this.invSubMix=[new Uint32Array(256),new Uint32Array(256),new Uint32Array(256),new Uint32Array(256)],this.sBox=new Uint32Array(256),this.invSBox=new Uint32Array(256),this.key=new Uint32Array(0),this.ksRows=0,this.keySize=0,this.keySchedule=void 0,this.invKeySchedule=void 0,this.initTable()}uint8ArrayToUint32Array_(t){const n=new DataView(t),s=new Uint32Array(4);for(let m=0;m<4;m++)s[m]=n.getUint32(m*4);return s}initTable(){const t=this.sBox,n=this.invSBox,s=this.subMix,m=s[0],E=s[1],T=s[2],j=s[3],Y=this.invSubMix,H=Y[0],te=Y[1],oe=Y[2],me=Y[3],we=new Uint32Array(256);let Se=0,ut=0,Je=0;for(Je=0;Je<256;Je++)Je<128?we[Je]=Je<<1:we[Je]=Je<<1^283;for(Je=0;Je<256;Je++){let Lt=ut^ut<<1^ut<<2^ut<<3^ut<<4;Lt=Lt>>>8^Lt&255^99,t[Se]=Lt,n[Lt]=Se;const rr=we[Se],Yt=we[rr],Cr=we[Yt];let Hr=we[Lt]*257^Lt*16843008;m[Se]=Hr<<24|Hr>>>8,E[Se]=Hr<<16|Hr>>>16,T[Se]=Hr<<8|Hr>>>24,j[Se]=Hr,Hr=Cr*16843009^Yt*65537^rr*257^Se*16843008,H[Lt]=Hr<<24|Hr>>>8,te[Lt]=Hr<<16|Hr>>>16,oe[Lt]=Hr<<8|Hr>>>24,me[Lt]=Hr,Se?(Se=rr^we[we[we[Cr^rr]]],ut^=we[we[ut]]):Se=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 T=this.ksRows=(E+6+1)*4;let j,Y;const H=this.keySchedule=new Uint32Array(T),te=this.invKeySchedule=new Uint32Array(T),oe=this.sBox,me=this.rcon,we=this.invSubMix,Se=we[0],ut=we[1],Je=we[2],Lt=we[3];let rr,Yt;for(j=0;j<T;j++){if(j<E){rr=H[j]=n[j];continue}Yt=rr,j%E===0?(Yt=Yt<<8|Yt>>>24,Yt=oe[Yt>>>24]<<24|oe[Yt>>>16&255]<<16|oe[Yt>>>8&255]<<8|oe[Yt&255],Yt^=me[j/E|0]<<24):E>6&&j%E===4&&(Yt=oe[Yt>>>24]<<24|oe[Yt>>>16&255]<<16|oe[Yt>>>8&255]<<8|oe[Yt&255]),H[j]=rr=(H[j-E]^Yt)>>>0}for(Y=0;Y<T;Y++)j=T-Y,Y&3?Yt=H[j]:Yt=H[j-4],Y<4||j<=4?te[Y]=Yt:te[Y]=Se[oe[Yt>>>24]]^ut[oe[Yt>>>16&255]]^Je[oe[Yt>>>8&255]]^Lt[oe[Yt&255]],te[Y]=te[Y]>>>0}networkToHostOrderSwap(t){return t<<24|(t&65280)<<8|(t&16711680)>>8|t>>>24}decrypt(t,n,s){const m=this.keySize+6,E=this.invKeySchedule,T=this.invSBox,j=this.invSubMix,Y=j[0],H=j[1],te=j[2],oe=j[3],me=this.uint8ArrayToUint32Array_(s);let we=me[0],Se=me[1],ut=me[2],Je=me[3];const Lt=new Int32Array(t),rr=new Int32Array(Lt.length);let Yt,Cr,Hr,cn,zr,qr,an,Br,Fn,oi,sa,Ui,$i,Di;const va=this.networkToHostOrderSwap;for(;n<Lt.length;){for(Fn=va(Lt[n]),oi=va(Lt[n+1]),sa=va(Lt[n+2]),Ui=va(Lt[n+3]),zr=Fn^E[0],qr=Ui^E[1],an=sa^E[2],Br=oi^E[3],$i=4,Di=1;Di<m;Di++)Yt=Y[zr>>>24]^H[qr>>16&255]^te[an>>8&255]^oe[Br&255]^E[$i],Cr=Y[qr>>>24]^H[an>>16&255]^te[Br>>8&255]^oe[zr&255]^E[$i+1],Hr=Y[an>>>24]^H[Br>>16&255]^te[zr>>8&255]^oe[qr&255]^E[$i+2],cn=Y[Br>>>24]^H[zr>>16&255]^te[qr>>8&255]^oe[an&255]^E[$i+3],zr=Yt,qr=Cr,an=Hr,Br=cn,$i=$i+4;Yt=T[zr>>>24]<<24^T[qr>>16&255]<<16^T[an>>8&255]<<8^T[Br&255]^E[$i],Cr=T[qr>>>24]<<24^T[an>>16&255]<<16^T[Br>>8&255]<<8^T[zr&255]^E[$i+1],Hr=T[an>>>24]<<24^T[Br>>16&255]<<16^T[zr>>8&255]<<8^T[qr&255]^E[$i+2],cn=T[Br>>>24]<<24^T[zr>>16&255]<<16^T[qr>>8&255]<<8^T[an&255]^E[$i+3],rr[n]=va(Yt^we),rr[n+1]=va(cn^Se),rr[n+2]=va(Hr^ut),rr[n+3]=va(Cr^Je),we=Fn,Se=oi,ut=sa,Je=Ui,n=n+4}return rr.buffer}}class xn{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=ha(this.aesMode);return this.subtle.importKey("raw",this.key,{name:t},!1,["encrypt","decrypt"])}}function ha(w){switch(w){case Er.cbc:return"AES-CBC";case Er.ctr:return"AES-CTR";default:throw new Error(`[FastAESKey] invalid aes mode ${w}`)}}const Ci=16;class li{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?Jr(s):s}reset(){this.currentResult=null,this.currentIV=null,this.remainderData=null,this.softwareDecrypter&&(this.softwareDecrypter=null)}decrypt(t,n,s,m){return this.useSoftware?new Promise((E,T)=>{const j=ArrayBuffer.isView(t)?t:new Uint8Array(t);this.softwareDecrypt(j,n,s,m);const Y=this.flush();Y?E(Y.buffer):T(new Error("[softwareDecrypt] Failed to decrypt data"))}):this.webCryptoDecrypt(new Uint8Array(t),n,s,m)}softwareDecrypt(t,n,s,m){const{currentIV:E,currentResult:T,remainderData:j}=this;if(m!==Er.cbc||n.byteLength!==16)return W.warn("SoftwareDecrypt: can only handle AES-128-CBC"),null;this.logOnce("JS AES decrypt"),j&&(t=Pe(j,t),this.remainderData=null);const Y=this.getValidChunk(t);if(!Y.length)return null;E&&(s=E);let H=this.softwareDecrypter;H||(H=this.softwareDecrypter=new sn),H.expandKey(n);const te=T;return this.currentResult=H.decrypt(Y.buffer,0,s),this.currentIV=Y.slice(-16).buffer,te||null}webCryptoDecrypt(t,n,s,m){if(this.key!==n||!this.fastAesKey){if(!this.subtle)return Promise.resolve(this.onWebCryptoError(t,n,s,m));this.key=n,this.fastAesKey=new xn(this.subtle,n,m)}return this.fastAesKey.expandKey().then(E=>this.subtle?(this.logOnce("WebCrypto AES decrypt"),new un(this.subtle,new Uint8Array(s),m).decrypt(t.buffer,E)):Promise.reject(new Error("web crypto not initialized"))).catch(E=>(W.warn(`[decrypter]: WebCrypto Error, disable WebCrypto API, ${E.name}: ${E.message}`),this.onWebCryptoError(t,n,s,m)))}onWebCryptoError(t,n,s,m){const E=this.enableSoftwareAES;if(E){this.useSoftware=!0,this.logEnabled=!0,this.softwareDecrypt(t,n,s,m);const T=this.flush();if(T)return T.buffer}throw new Error("WebCrypto"+(E?" and softwareDecrypt":"")+": failed to decrypt data")}getValidChunk(t){let n=t;const s=t.length-t.length%Ci;return s!==t.length&&(n=t.slice(0,s),this.remainderData=t.slice(s)),n}logOnce(t){this.logEnabled&&(W.log(`[decrypter]: ${t}`),this.logEnabled=!1)}}const _n=Math.pow(2,17);class ai{constructor(t){this.config=void 0,this.loader=null,this.partLoadTimeout=-1,this.config=t}destroy(){this.loader&&(this.loader.destroy(),this.loader=null)}abort(){this.loader&&this.loader.abort()}load(t,n){const s=t.url;if(!s)return Promise.reject(new ua({type:c.NETWORK_ERROR,details:f.FRAG_LOAD_ERROR,fatal:!1,frag:t,error:new Error(`Fragment does not have a ${s?"part list":"url"}`),networkDetails:null}));this.abort();const m=this.config,E=m.fLoader,T=m.loader;return new Promise((j,Y)=>{if(this.loader&&this.loader.destroy(),t.gap)if(t.tagList.some(Se=>Se[0]==="GAP")){Y(oa(t));return}else t.gap=!1;const H=this.loader=E?new E(m):new T(m),te=Fi(t);t.loader=H;const oe=Tr(m.fragLoadPolicy.default),me={loadPolicy:oe,timeout:oe.maxLoadTimeMs,maxRetry:0,retryDelay:0,maxRetryDelay:0,highWaterMark:t.sn==="initSegment"?1/0:_n};t.stats=H.stats;const we={onSuccess:(Se,ut,Je,Lt)=>{this.resetLoader(t,H);let rr=Se.data;Je.resetIV&&t.decryptdata&&(t.decryptdata.iv=new Uint8Array(rr.slice(0,16)),rr=rr.slice(16)),j({frag:t,part:null,payload:rr,networkDetails:Lt})},onError:(Se,ut,Je,Lt)=>{this.resetLoader(t,H),Y(new ua({type:c.NETWORK_ERROR,details:f.FRAG_LOAD_ERROR,fatal:!1,frag:t,response:b({url:s,data:void 0},Se),error:new Error(`HTTP Error ${Se.code} ${Se.text}`),networkDetails:Je,stats:Lt}))},onAbort:(Se,ut,Je)=>{this.resetLoader(t,H),Y(new ua({type:c.NETWORK_ERROR,details:f.INTERNAL_ABORTED,fatal:!1,frag:t,error:new Error("Aborted"),networkDetails:Je,stats:Se}))},onTimeout:(Se,ut,Je)=>{this.resetLoader(t,H),Y(new ua({type:c.NETWORK_ERROR,details:f.FRAG_LOAD_TIMEOUT,fatal:!1,frag:t,error:new Error(`Timeout after ${me.timeout}ms`),networkDetails:Je,stats:Se}))}};n&&(we.onProgress=(Se,ut,Je,Lt)=>n({frag:t,part:null,payload:Je,networkDetails:Lt})),H.load(te,me,we)})}loadPart(t,n,s){this.abort();const m=this.config,E=m.fLoader,T=m.loader;return new Promise((j,Y)=>{if(this.loader&&this.loader.destroy(),t.gap||n.gap){Y(oa(t,n));return}const H=this.loader=E?new E(m):new T(m),te=Fi(t,n);t.loader=H;const oe=Tr(m.fragLoadPolicy.default),me={loadPolicy:oe,timeout:oe.maxLoadTimeMs,maxRetry:0,retryDelay:0,maxRetryDelay:0,highWaterMark:_n};n.stats=H.stats,H.load(te,me,{onSuccess:(we,Se,ut,Je)=>{this.resetLoader(t,H),this.updateStatsFromPart(t,n);const Lt={frag:t,part:n,payload:we.data,networkDetails:Je};s(Lt),j(Lt)},onError:(we,Se,ut,Je)=>{this.resetLoader(t,H),Y(new ua({type:c.NETWORK_ERROR,details:f.FRAG_LOAD_ERROR,fatal:!1,frag:t,part:n,response:b({url:te.url,data:void 0},we),error:new Error(`HTTP Error ${we.code} ${we.text}`),networkDetails:ut,stats:Je}))},onAbort:(we,Se,ut)=>{t.stats.aborted=n.stats.aborted,this.resetLoader(t,H),Y(new ua({type:c.NETWORK_ERROR,details:f.INTERNAL_ABORTED,fatal:!1,frag:t,part:n,error:new Error("Aborted"),networkDetails:ut,stats:we}))},onTimeout:(we,Se,ut)=>{this.resetLoader(t,H),Y(new ua({type:c.NETWORK_ERROR,details:f.FRAG_LOAD_TIMEOUT,fatal:!1,frag:t,part:n,error:new Error(`Timeout after ${me.timeout}ms`),networkDetails:ut,stats:we}))}})})}updateStatsFromPart(t,n){const s=t.stats,m=n.stats,E=m.total;if(s.loaded+=m.loaded,E){const Y=Math.round(t.duration/n.duration),H=Math.min(Math.round(s.loaded/E),Y),oe=(Y-H)*Math.round(s.loaded/H);s.total=s.loaded+oe}else s.total=Math.max(s.loaded,s.total);const T=s.loading,j=m.loading;T.start?T.first+=j.first-j.start:(T.start=j.start,T.first=j.first),T.end=j.end}resetLoader(t,n){t.loader=null,this.loader===n&&(self.clearTimeout(this.partLoadTimeout),this.loader=null),n.destroy()}}function Fi(w,t=null){const n=t||w,s={frag:w,part:t,responseType:"arraybuffer",url:n.url,headers:{},rangeStart:0,rangeEnd:0},m=n.byteRangeStartOffset,E=n.byteRangeEndOffset;if(r(m)&&r(E)){var T;let j=m,Y=E;if(w.sn==="initSegment"&&Cs((T=w.decryptdata)==null?void 0:T.method)){const H=E-m;H%16&&(Y=E+(16-H%16)),m!==0&&(s.resetIV=!0,j=m-16)}s.rangeStart=j,s.rangeEnd=Y}return s}function oa(w,t){const n=new Error(`GAP ${w.gap?"tag":"attribute"} found`),s={type:c.MEDIA_ERROR,details:f.FRAG_GAP,fatal:!1,frag:w,error:n,networkDetails:null};return t&&(s.part=t),(t||w).stats.aborted=!0,new ua(s)}function Cs(w){return w==="AES-128"||w==="AES-256"}class ua extends Error{constructor(t){super(t.error.message),this.data=void 0,this.data=t}}class ms 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 Ts{constructor(t,n,s,m=0,E=-1,T=!1){this.level=void 0,this.sn=void 0,this.part=void 0,this.id=void 0,this.size=void 0,this.partial=void 0,this.transmuxing=Ra(),this.buffering={audio:Ra(),video:Ra(),audiovideo:Ra()},this.level=t,this.sn=n,this.id=s,this.size=m,this.part=E,this.partial=T}}function Ra(){return{start:0,executeStart:0,executeEnd:0,end:0}}const ws={length:0,start:()=>0,end:()=>0};class Zn{static isBuffered(t,n){if(t){const s=Zn.getBuffered(t);for(let m=s.length;m--;)if(n>=s.start(m)&&n<=s.end(m))return!0}return!1}static bufferedRanges(t){if(t){const n=Zn.getBuffered(t);return Zn.timeRangesToArray(n)}return[]}static timeRangesToArray(t){const n=[];for(let s=0;s<t.length;s++)n.push({start:t.start(s),end:t.end(s)});return n}static bufferInfo(t,n,s){if(t){const m=Zn.bufferedRanges(t);if(m.length)return Zn.bufferedInfo(m,n,s)}return{len:0,start:n,end:n,bufferedIndex:-1}}static bufferedInfo(t,n,s){n=Math.max(0,n),t.length>1&&t.sort((te,oe)=>te.start-oe.start||oe.end-te.end);let m=-1,E=[];if(s)for(let te=0;te<t.length;te++){n>=t[te].start&&n<=t[te].end&&(m=te);const oe=E.length;if(oe){const me=E[oe-1].end;t[te].start-me<s?t[te].end>me&&(E[oe-1].end=t[te].end):E.push(t[te])}else E.push(t[te])}else E=t;let T=0,j,Y=n,H=n;for(let te=0;te<E.length;te++){const oe=E[te].start,me=E[te].end;if(m===-1&&n>=oe&&n<=me&&(m=te),n+s>=oe&&n<me)Y=oe,H=me,T=H-n;else if(n+s<oe){j=oe;break}}return{len:T,start:Y||0,end:H||0,nextStart:j,buffered:t,bufferedIndex:m}}static getBuffered(t){try{return t.buffered||ws}catch(n){return W.log("failed to get media.buffered",n),ws}}}const ns=/\{\$([a-zA-Z0-9-_]+)\}/g;function Ga(w){return ns.test(w)}function Ps(w,t){if(w.variableList!==null||w.hasVariableRefs){const n=w.variableList;return t.replace(ns,s=>{const m=s.substring(2,s.length-1),E=n==null?void 0:n[m];return E===void 0?(w.playlistParsingError||(w.playlistParsingError=new Error(`Missing preceding EXT-X-DEFINE tag for Variable Reference: "${m}"`)),s):E})}return t}function zi(w,t,n){let s=w.variableList;s||(w.variableList=s={});let m,E;if("QUERYPARAM"in t){m=t.QUERYPARAM;try{const T=new self.URL(n).searchParams;if(T.has(m))E=T.get(m);else throw new Error(`"${m}" does not match any query parameter in URI: "${n}"`)}catch(T){w.playlistParsingError||(w.playlistParsingError=new Error(`EXT-X-DEFINE QUERYPARAM: ${T.message}`))}}else m=t.NAME,E=t.VALUE;m in s?w.playlistParsingError||(w.playlistParsingError=new Error(`EXT-X-DEFINE duplicate Variable Name declarations: "${m}"`)):s[m]=E||""}function vs(w,t,n){const s=t.IMPORT;if(n&&s in n){let m=w.variableList;m||(w.variableList=m={}),m[s]=n[s]}else w.playlistParsingError||(w.playlistParsingError=new Error(`EXT-X-DEFINE IMPORT attribute not found in Multivariant Playlist: "${s}"`))}const Po=/^(\d+)x(\d+)$/,Pa=/(.+?)=(".*?"|.*?)(?:,|$)/g;class ta{constructor(t,n){typeof t=="string"&&(t=ta.parseAttrList(t,n)),y(this,t)}get clientAttrs(){return Object.keys(this).filter(t=>t.substring(0,2)==="X-")}decimalInteger(t){const n=parseInt(this[t],10);return n>Number.MAX_SAFE_INTEGER?1/0:n}hexadecimalInteger(t){if(this[t]){let n=(this[t]||"0x").slice(2);n=(n.length&1?"0":"")+n;const s=new Uint8Array(n.length/2);for(let m=0;m<n.length/2;m++)s[m]=parseInt(n.slice(m*2,m*2+2),16);return s}return null}hexadecimalIntegerAsNumber(t){const n=parseInt(this[t],16);return n>Number.MAX_SAFE_INTEGER?1/0:n}decimalFloatingPoint(t){return parseFloat(this[t])}optionalFloat(t,n){const s=this[t];return s?parseFloat(s):n}enumeratedString(t){return this[t]}enumeratedStringList(t,n){const s=this[t];return(s?s.split(/[ ,]+/):[]).reduce((m,E)=>(m[E.toLowerCase()]=!0,m),n)}bool(t){return this[t]==="YES"}decimalResolution(t){const n=Po.exec(this[t]);if(n!==null)return{width:parseInt(n[1],10),height:parseInt(n[2],10)}}static parseAttrList(t,n){let s;const m={},E='"';for(Pa.lastIndex=0;(s=Pa.exec(t))!==null;){const T=s[1].trim();let j=s[2];const Y=j.indexOf(E)===0&&j.lastIndexOf(E)===j.length-1;let H=!1;if(Y)j=j.slice(1,-1);else switch(T){case"IV":case"SCTE35-CMD":case"SCTE35-IN":case"SCTE35-OUT":H=!0}if(n&&(Y||H))j=Ps(n,j);else if(!H&&!Y)switch(T){case"CLOSED-CAPTIONS":if(j==="NONE")break;case"ALLOWED-CPC":case"CLASS":case"ASSOC-LANGUAGE":case"AUDIO":case"BYTERANGE":case"CHANNELS":case"CHARACTERISTICS":case"CODECS":case"DATA-ID":case"END-DATE":case"GROUP-ID":case"ID":case"IMPORT":case"INSTREAM-ID":case"KEYFORMAT":case"KEYFORMATVERSIONS":case"LANGUAGE":case"NAME":case"PATHWAY-ID":case"QUERYPARAM":case"RECENTLY-REMOVED-DATERANGES":case"SERVER-URI":case"STABLE-RENDITION-ID":case"STABLE-VARIANT-ID":case"START-DATE":case"SUBTITLES":case"SUPPLEMENTAL-CODECS":case"URI":case"VALUE":case"VIDEO":case"X-ASSET-LIST":case"X-ASSET-URI":W.warn(`${t}: attribute ${T} is missing quotes`)}m[T]=j}return m}}const Fa="com.apple.hls.interstitial";function Ks(w){return w!=="ID"&&w!=="CLASS"&&w!=="CUE"&&w!=="START-DATE"&&w!=="DURATION"&&w!=="END-DATE"&&w!=="END-ON-NEXT"}function In(w){return w==="SCTE35-OUT"||w==="SCTE35-IN"||w==="SCTE35-CMD"}class La{constructor(t,n,s=0){var m;if(this.attr=void 0,this.tagAnchor=void 0,this.tagOrder=void 0,this._startDate=void 0,this._endDate=void 0,this._dateAtEnd=void 0,this._cue=void 0,this._badValueForSameId=void 0,this.tagAnchor=(n==null?void 0:n.tagAnchor)||null,this.tagOrder=(m=n==null?void 0:n.tagOrder)!=null?m:s,n){const E=n.attr;for(const T in E)if(Object.prototype.hasOwnProperty.call(t,T)&&t[T]!==E[T]){W.warn(`DATERANGE tag attribute: "${T}" does not match for tags with ID: "${t.ID}"`),this._badValueForSameId=T;break}t=y(new ta({}),E,t)}if(this.attr=t,n?(this._startDate=n._startDate,this._cue=n._cue,this._endDate=n._endDate,this._dateAtEnd=n._dateAtEnd):this._startDate=new Date(t["START-DATE"]),"END-DATE"in this.attr){const E=(n==null?void 0:n.endDate)||new Date(this.attr["END-DATE"]);r(E.getTime())&&(this._endDate=E)}}get id(){return this.attr.ID}get class(){return this.attr.CLASS}get cue(){const t=this._cue;return t===void 0?this._cue=this.attr.enumeratedStringList(this.attr.CUE?"CUE":"X-CUE",{pre:!1,post:!1,once:!1}):t}get startTime(){const{tagAnchor:t}=this;return t===null||t.programDateTime===null?(W.warn(`Expected tagAnchor Fragment with PDT set for DateRange "${this.id}": ${t}`),NaN):t.start+(this.startDate.getTime()-t.programDateTime)/1e3}get startDate(){return this._startDate}get endDate(){const t=this._endDate||this._dateAtEnd;if(t)return t;const n=this.duration;return n!==null?this._dateAtEnd=new Date(this._startDate.getTime()+n*1e3):null}get duration(){if("DURATION"in this.attr){const t=this.attr.decimalFloatingPoint("DURATION");if(r(t))return t}else if(this._endDate)return(this._endDate.getTime()-this._startDate.getTime())/1e3;return null}get plannedDuration(){return"PLANNED-DURATION"in this.attr?this.attr.decimalFloatingPoint("PLANNED-DURATION"):null}get endOnNext(){return this.attr.bool("END-ON-NEXT")}get isInterstitial(){return this.class===Fa}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 as=10;class ss{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||as}get drift(){const t=this.driftEndTime-this.driftStartTime;return t>0?(this.driftEnd-this.driftStart)*1e3/t:1}get edge(){return this.partEnd||this.fragmentEnd}get partEnd(){var t;return(t=this.partList)!=null&&t.length?this.partList[this.partList.length-1].end:this.fragmentEnd}get fragmentEnd(){var t;return(t=this.fragments)!=null&&t.length?this.fragments[this.fragments.length-1].end:0}get fragmentStart(){var t;return(t=this.fragments)!=null&&t.length?this.fragments[0].start:0}get age(){return this.advancedDateTime?Math.max(Date.now()-this.advancedDateTime,0)/1e3:0}get lastPartIndex(){var t;return(t=this.partList)!=null&&t.length?this.partList[this.partList.length-1].index:-1}get maxPartIndex(){const t=this.partList;if(t){const n=this.lastPartIndex;if(n!==-1){for(let s=t.length;s--;)if(t[s].index>n)return t[s].index;return n}}return 0}get lastPartSn(){var t;return(t=this.partList)!=null&&t.length?this.partList[this.partList.length-1].fragment.sn:this.endSN}get expired(){if(this.live&&this.age&&this.misses<3){const t=this.partEnd-this.fragmentStart;return this.age>Math.max(t,this.totalduration)+this.levelTargetDuration}return!1}}function Li(w){return w==="AES-128"||w==="AES-256"||w==="AES-256-CTR"}function Da(w){switch(w){case"AES-128":case"AES-256":return Er.cbc;case"AES-256-CTR":return Er.ctr;default:throw new Error(`invalid full segment method ${w}`)}}function Ia(w){return Uint8Array.from(atob(w),t=>t.charCodeAt(0))}function cs(w){return Uint8Array.from(unescape(encodeURIComponent(w)),t=>t.charCodeAt(0))}function Ys(w){const t=cs(w).subarray(0,16),n=new Uint8Array(16);return n.set(t,16-t.length),n}function Eo(w){const t=function(s,m,E){const T=s[m];s[m]=s[E],s[E]=T};t(w,0,3),t(w,1,2),t(w,4,5),t(w,6,7)}function Io(w){const t=w.split(":");let n=null;if(t[0]==="data"&&t.length===2){const s=t[1].split(";"),m=s[s.length-1].split(",");if(m.length===2){const E=m[0]==="base64",T=m[1];E?(s.splice(-1,1),n=Ia(T)):n=Ys(T)}}return n}const Do=typeof self!="undefined"?self:void 0;var Ba={CLEARKEY:"org.w3.clearkey",FAIRPLAY:"com.apple.fps",PLAYREADY:"com.microsoft.playready",WIDEVINE:"com.widevine.alpha"},qa={CLEARKEY:"org.w3.clearkey",FAIRPLAY:"com.apple.streamingkeydelivery",PLAYREADY:"com.microsoft.playready",WIDEVINE:"urn:uuid:edef8ba9-79d6-4ace-a3c8-27dcd51d21ed"};function lo(w){switch(w){case qa.FAIRPLAY:return Ba.FAIRPLAY;case qa.PLAYREADY:return Ba.PLAYREADY;case qa.WIDEVINE:return Ba.WIDEVINE;case qa.CLEARKEY:return Ba.CLEARKEY}}function Oo(w){switch(w){case Ba.FAIRPLAY:return qa.FAIRPLAY;case Ba.PLAYREADY:return qa.PLAYREADY;case Ba.WIDEVINE:return qa.WIDEVINE;case Ba.CLEARKEY:return qa.CLEARKEY}}function wo(w){const{drmSystems:t,widevineLicenseUrl:n}=w,s=t?[Ba.FAIRPLAY,Ba.WIDEVINE,Ba.PLAYREADY,Ba.CLEARKEY].filter(m=>!!t[m]):[];return!s[Ba.WIDEVINE]&&n&&s.push(Ba.WIDEVINE),s}const ko=function(w){return Do!=null&&(w=Do.navigator)!=null&&w.requestMediaKeySystemAccess?self.navigator.requestMediaKeySystemAccess.bind(self.navigator):null}();function fi(w,t,n,s){let m;switch(w){case Ba.FAIRPLAY:m=["cenc","sinf"];break;case Ba.WIDEVINE:case Ba.PLAYREADY:m=["cenc"];break;case Ba.CLEARKEY:m=["cenc","keyids"];break;default:throw new Error(`Unknown key-system: ${w}`)}return si(m,t,n,s)}function si(w,t,n,s){return[{initDataTypes:w,persistentState:s.persistentState||"optional",distinctiveIdentifier:s.distinctiveIdentifier||"optional",sessionTypes:s.sessionTypes||[s.sessionType||"temporary"],audioCapabilities:t.map(E=>({contentType:`audio/mp4; codecs=${E}`,robustness:s.audioRobustness||"",encryptionScheme:s.audioEncryptionScheme||null})),videoCapabilities:n.map(E=>({contentType:`video/mp4; codecs=${E}`,robustness:s.videoRobustness||"",encryptionScheme:s.videoEncryptionScheme||null}))}]}function Na(w){var t;return w.sessionType==="persistent-license"||!!((t=w.sessionTypes)!=null&&t.some(n=>n==="persistent-license"))}function Va(w){const t=new Uint16Array(w.buffer,w.byteOffset,w.byteLength/2),n=String.fromCharCode.apply(null,Array.from(t)),s=n.substring(n.indexOf("<"),n.length),T=new DOMParser().parseFromString(s,"text/xml").getElementsByTagName("KID")[0];if(T){const j=T.childNodes[0]?T.childNodes[0].nodeValue:T.getAttribute("VALUE");if(j){const Y=Ia(j).subarray(0,16);return Eo(Y),Y}}return null}let $a={};class Xs{static clearKeyUriToKeyIdMap(){$a={}}constructor(t,n,s,m=[1],E=null,T){this.uri=void 0,this.method=void 0,this.keyFormat=void 0,this.keyFormatVersions=void 0,this.encrypted=void 0,this.isCommonEncryption=void 0,this.iv=null,this.key=null,this.keyId=null,this.pssh=null,this.method=t,this.uri=n,this.keyFormat=s,this.keyFormatVersions=m,this.iv=E,this.encrypted=t?t!=="NONE":!1,this.isCommonEncryption=this.encrypted&&!Li(t),T!=null&&T.startsWith("0x")&&(this.keyId=new Uint8Array(V(T)))}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(Li(this.method)||this.method==="NONE")return!0;if(this.keyFormat==="identity")return this.method==="SAMPLE-AES";switch(this.keyFormat){case qa.FAIRPLAY:case qa.WIDEVINE:case qa.PLAYREADY:case qa.CLEARKEY:return["ISO-23001-7","SAMPLE-AES","SAMPLE-AES-CENC","SAMPLE-AES-CTR"].indexOf(this.method)!==-1}}return!1}getDecryptData(t){if(!this.encrypted||!this.uri)return null;if(Li(this.method)&&this.uri&&!this.iv){typeof t!="number"&&(W.warn(`missing IV for initialization segment with method="${this.method}" - compliance issue`),t=0);const s=So(t);return new Xs(this.method,this.uri,"identity",this.keyFormatVersions,s)}if(this.pssh&&this.keyId)return this;const n=Io(this.uri);if(n)switch(this.keyFormat){case qa.WIDEVINE:if(this.pssh=n,!this.keyId&&n.length>=22){const s=n.length-22;this.keyId=n.subarray(s,s+16)}break;case qa.PLAYREADY:{const s=new Uint8Array([154,4,240,121,152,64,66,134,171,146,230,91,224,136,95,149]);this.pssh=Fe(s,null,n),this.keyId=Va(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=$a[this.uri];if(!s){const m=Object.keys($a).length%Number.MAX_SAFE_INTEGER;s=new Uint8Array(16),new DataView(s.buffer,12,4).setUint32(0,m),$a[this.uri]=s}this.keyId=s}return this}}function So(w){const t=new Uint8Array(16);for(let n=12;n<16;n++)t[n]=w>>8*(15-n)&255;return t}const Zo=/#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,fs=/#EXT-X-MEDIA:(.*)/g,No=/^#EXT(?:INF|-X-TARGETDURATION):/m,Ho=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 z.buildAbsoluteURL(n,t,{alwaysNormalize:!0})}static isMediaPlaylist(t){return No.test(t)}static parseMasterPlaylist(t,n){const s=Ga(t),m={contentSteering:null,levels:[],playlistParsingError:null,sessionData:null,sessionKeys:null,startTimeOffset:null,variableList:null,hasVariableRefs:s},E=[];Zo.lastIndex=0;let T;for(;(T=Zo.exec(t))!=null;)if(T[1]){var j;const H=new ta(T[1],m),te=Ps(m,T[2]),oe={attrs:H,bitrate:H.decimalInteger("BANDWIDTH")||H.decimalInteger("AVERAGE-BANDWIDTH"),name:H.NAME,url:mo.resolve(te,n)},me=H.decimalResolution("RESOLUTION");me&&(oe.width=me.width,oe.height=me.height),du(H.CODECS,oe);const we=H["SUPPLEMENTAL-CODECS"];we&&(oe.supplemental={},du(we,oe.supplemental)),(j=oe.unknownCodecs)!=null&&j.length||E.push(oe),m.levels.push(oe)}else if(T[3]){const H=T[3],te=T[4];switch(H){case"SESSION-DATA":{const oe=new ta(te,m),me=oe["DATA-ID"];me&&(m.sessionData===null&&(m.sessionData={}),m.sessionData[me]=oe);break}case"SESSION-KEY":{const oe=Vs(te,n,m);oe.encrypted&&oe.isSupported()?(m.sessionKeys===null&&(m.sessionKeys=[]),m.sessionKeys.push(oe)):W.warn(`[Keys] Ignoring invalid EXT-X-SESSION-KEY tag: "${te}"`);break}case"DEFINE":{{const oe=new ta(te,m);zi(m,oe,n)}break}case"CONTENT-STEERING":{const oe=new ta(te,m);m.contentSteering={uri:mo.resolve(oe["SERVER-URI"],n),pathwayId:oe["PATHWAY-ID"]||"."};break}case"START":{m.startTimeOffset=Ko(te);break}}}const Y=E.length>0&&E.length<m.levels.length;return m.levels=Y?E:m.levels,m.levels.length===0&&(m.playlistParsingError=new Error("no levels found in manifest")),m}static parseMasterPlaylistMedia(t,n,s){let m;const E={},T=s.levels,j={AUDIO:T.map(H=>({id:H.attrs.AUDIO,audioCodec:H.audioCodec})),SUBTITLES:T.map(H=>({id:H.attrs.SUBTITLES,textCodec:H.textCodec})),"CLOSED-CAPTIONS":[]};let Y=0;for(fs.lastIndex=0;(m=fs.exec(t))!==null;){const H=new ta(m[1],s),te=H.TYPE;if(te){const oe=j[te],me=E[te]||[];E[te]=me;const we=H.LANGUAGE,Se=H["ASSOC-LANGUAGE"],ut=H.CHANNELS,Je=H.CHARACTERISTICS,Lt=H["INSTREAM-ID"],rr={attrs:H,bitrate:0,id:Y++,groupId:H["GROUP-ID"]||"",name:H.NAME||we||"",type:te,default:H.bool("DEFAULT"),autoselect:H.bool("AUTOSELECT"),forced:H.bool("FORCED"),lang:we,url:H.URI?mo.resolve(H.URI,n):""};if(Se&&(rr.assocLang=Se),ut&&(rr.channels=ut),Je&&(rr.characteristics=Je),Lt&&(rr.instreamId=Lt),oe!=null&&oe.length){const Yt=mo.findGroup(oe,rr.groupId)||oe[0];co(rr,Yt,"audioCodec"),co(rr,Yt,"textCodec")}me.push(rr)}}return E}static parseLevelPlaylist(t,n,s,m,E,T){var j;const Y={url:n},H=new ss(n),te=H.fragments,oe=[];let me=null,we=0,Se=0,ut=0,Je=0,Lt=0,rr=null,Yt=new ke(m,Y),Cr,Hr,cn,zr=-1,qr=!1,an=null,Br;if(Ho.lastIndex=0,H.m3u8=t,H.hasVariableRefs=Ga(t),((j=Ho.exec(t))==null?void 0:j[0])!=="#EXTM3U")return H.playlistParsingError=new Error("Missing format identifier #EXTM3U"),H;for(;(Cr=Ho.exec(t))!==null;){qr&&(qr=!1,Yt=new ke(m,Y),Yt.playlistOffset=ut,Yt.start=ut,Yt.sn=we,Yt.cc=Je,Lt&&(Yt.bitrate=Lt),Yt.level=s,me&&(Yt.initSegment=me,me.rawProgramDateTime&&(Yt.rawProgramDateTime=me.rawProgramDateTime,me.rawProgramDateTime=null),an&&(Yt.setByteRange(an),an=null)));const Ui=Cr[1];if(Ui){Yt.duration=parseFloat(Ui);const $i=(" "+Cr[2]).slice(1);Yt.title=$i||null,Yt.tagList.push($i?["INF",Ui,$i]:["INF",Ui])}else if(Cr[3]){if(r(Yt.duration)){Yt.playlistOffset=ut,Yt.start=ut,cn&&$o(Yt,cn,H),Yt.sn=we,Yt.level=s,Yt.cc=Je,te.push(Yt);const $i=(" "+Cr[3]).slice(1);Yt.relurl=Ps(H,$i),au(Yt,rr,oe),rr=Yt,ut+=Yt.duration,we++,Se=0,qr=!0}}else{if(Cr=Cr[0].match(iu),!Cr){W.warn("No matches on slow regex match for level playlist!");continue}for(Hr=1;Hr<Cr.length&&Cr[Hr]===void 0;Hr++);const $i=(" "+Cr[Hr]).slice(1),Di=(" "+Cr[Hr+1]).slice(1),va=Cr[Hr+2]?(" "+Cr[Hr+2]).slice(1):null;switch($i){case"BYTERANGE":rr?Yt.setByteRange(Di,rr):Yt.setByteRange(Di);break;case"PROGRAM-DATE-TIME":Yt.rawProgramDateTime=Di,Yt.tagList.push(["PROGRAM-DATE-TIME",Di]),zr===-1&&(zr=te.length);break;case"PLAYLIST-TYPE":H.type&&os(H,$i,Cr),H.type=Di.toUpperCase();break;case"MEDIA-SEQUENCE":H.startSN!==0?os(H,$i,Cr):te.length>0&&Ao(H,$i,Cr),we=H.startSN=parseInt(Di);break;case"SKIP":{H.skippedSegments&&os(H,$i,Cr);const ui=new ta(Di,H),wa=ui.decimalInteger("SKIPPED-SEGMENTS");if(r(wa)){H.skippedSegments+=wa;for(let vi=wa;vi--;)te.push(null);we+=wa}const xa=ui.enumeratedString("RECENTLY-REMOVED-DATERANGES");xa&&(H.recentlyRemovedDateranges=(H.recentlyRemovedDateranges||[]).concat(xa.split(" ")));break}case"TARGETDURATION":H.targetduration!==0&&os(H,$i,Cr),H.targetduration=Math.max(parseInt(Di),1);break;case"VERSION":H.version!==null&&os(H,$i,Cr),H.version=parseInt(Di);break;case"INDEPENDENT-SEGMENTS":break;case"ENDLIST":H.live||os(H,$i,Cr),H.live=!1;break;case"#":(Di||va)&&Yt.tagList.push(va?[Di,va]:[Di]);break;case"DISCONTINUITY":Je++,Yt.tagList.push(["DIS"]);break;case"GAP":Yt.gap=!0,Yt.tagList.push([$i]);break;case"BITRATE":Yt.tagList.push([$i,Di]),Lt=parseInt(Di)*1e3,r(Lt)?Yt.bitrate=Lt:Lt=0;break;case"DATERANGE":{const ui=new ta(Di,H),wa=new La(ui,H.dateRanges[ui.ID],H.dateRangeTagCount);H.dateRangeTagCount++,wa.isValid||H.skippedSegments?H.dateRanges[wa.id]=wa:W.warn(`Ignoring invalid DATERANGE tag: "${Di}"`),Yt.tagList.push(["EXT-X-DATERANGE",Di]);break}case"DEFINE":{{const ui=new ta(Di,H);"IMPORT"in ui?vs(H,ui,T):zi(H,ui,n)}break}case"DISCONTINUITY-SEQUENCE":H.startCC!==0?os(H,$i,Cr):te.length>0&&Ao(H,$i,Cr),H.startCC=Je=parseInt(Di);break;case"KEY":{const ui=Vs(Di,n,H);if(ui.isSupported()){if(ui.method==="NONE"){cn=void 0;break}cn||(cn={});const wa=cn[ui.keyFormat];wa!=null&&wa.matches(ui)||(wa&&(cn=y({},cn)),cn[ui.keyFormat]=ui)}else W.warn(`[Keys] Ignoring invalid EXT-X-KEY tag: "${Di}"`);break}case"START":H.startTimeOffset=Ko(Di);break;case"MAP":{const ui=new ta(Di,H);if(Yt.duration){const wa=new ke(m,Y);Ro(wa,ui,s,cn),me=wa,Yt.initSegment=me,me.rawProgramDateTime&&!Yt.rawProgramDateTime&&(Yt.rawProgramDateTime=me.rawProgramDateTime)}else{const wa=Yt.byteRangeEndOffset;if(wa){const xa=Yt.byteRangeStartOffset;an=`${wa-xa}@${xa}`}else an=null;Ro(Yt,ui,s,cn),me=Yt,qr=!0}me.cc=Je;break}case"SERVER-CONTROL":{Br&&os(H,$i,Cr),Br=new ta(Di),H.canBlockReload=Br.bool("CAN-BLOCK-RELOAD"),H.canSkipUntil=Br.optionalFloat("CAN-SKIP-UNTIL",0),H.canSkipDateRanges=H.canSkipUntil>0&&Br.bool("CAN-SKIP-DATERANGES"),H.partHoldBack=Br.optionalFloat("PART-HOLD-BACK",0),H.holdBack=Br.optionalFloat("HOLD-BACK",0);break}case"PART-INF":{H.partTarget&&os(H,$i,Cr);const ui=new ta(Di);H.partTarget=ui.decimalFloatingPoint("PART-TARGET");break}case"PART":{let ui=H.partList;ui||(ui=H.partList=[]);const wa=Se>0?ui[ui.length-1]:void 0,xa=Se++,vi=new ta(Di,H),ii=new He(vi,Yt,Y,xa,wa);ui.push(ii),Yt.duration+=ii.duration;break}case"PRELOAD-HINT":{const ui=new ta(Di,H);H.preloadHint=ui;break}case"RENDITION-REPORT":{const ui=new ta(Di,H);H.renditionReports=H.renditionReports||[],H.renditionReports.push(ui);break}default:W.warn(`line parsed but not handled: ${Cr}`);break}}}rr&&!rr.relurl?(te.pop(),ut-=rr.duration,H.partList&&(H.fragmentHint=rr)):H.partList&&(au(Yt,rr,oe),Yt.cc=Je,H.fragmentHint=Yt,cn&&$o(Yt,cn,H)),H.targetduration||(H.playlistParsingError=new Error("#EXT-X-TARGETDURATION is required"));const Fn=te.length,oi=te[0],sa=te[Fn-1];if(ut+=H.skippedSegments*H.targetduration,ut>0&&Fn&&sa){H.averagetargetduration=ut/Fn;const Ui=sa.sn;H.endSN=Ui!=="initSegment"?Ui:0,H.live||(sa.endList=!0),oi&&H.startCC===void 0&&(H.startCC=oi.cc),zr>0&&(go(te,zr),oi&&oe.unshift(oi))}else H.endSN=0,H.startCC=0;return H.fragmentHint&&(ut+=H.fragmentHint.duration),H.totalduration=ut,oe.length&&H.dateRangeTagCount&&oi&&Cu(oe,H),H.endCC=Je,H}}function Cu(w,t){const n=w.length;if(!n)return;const s=w[n-1],m=t.live?1/0:t.totalduration,E=Object.keys(t.dateRanges);for(let T=E.length;T--;){const j=t.dateRanges[E[T]],Y=j.startDate.getTime();j.tagAnchor=s.ref;for(let H=n;H--;){const te=vo(t,Y,w,H,m);if(te!==-1){j.tagAnchor=t.fragments[te].ref;break}}}}function vo(w,t,n,s,m){const E=n[s];if(E){const j=E.programDateTime;if(t>=j||s===0){var T;const Y=(((T=n[s+1])==null?void 0:T.start)||m)-E.start;if(t<=j+Y*1e3){const H=n[s].sn-w.startSN,te=w.fragments;if(te.length>n.length){const me=(n[s+1]||te[te.length-1]).sn-w.startSN;for(let we=me;we>H;we--){const Se=te[we].programDateTime;if(t>=Se&&t<Se+te[we].duration*1e3)return we}}return H}}}return-1}function Vs(w,t,n){var s,m;const E=new ta(w,n),T=(s=E.METHOD)!=null?s:"",j=E.URI,Y=E.hexadecimalInteger("IV"),H=E.KEYFORMATVERSIONS,te=(m=E.KEYFORMAT)!=null?m:"identity";j&&E.IV&&!Y&&W.error(`Invalid IV: ${E.IV}`);const oe=j?mo.resolve(j,t):"",me=(H||"1").split("/").map(Number).filter(Number.isFinite);return new Xs(T,oe,te,me,Y,E.KEYID)}function Ko(w){const n=new ta(w).decimalFloatingPoint("TIME-OFFSET");return r(n)?n:null}function du(w,t){let n=(w||"").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 co(w,t,n){const s=t[n];s&&(w[n]=s)}function go(w,t){let n=w[t];for(let s=t;s--;){const m=w[s];if(!m)return;m.programDateTime=n.programDateTime-m.duration*1e3,n=m}}function au(w,t,n){w.rawProgramDateTime?n.push(w):t!=null&&t.programDateTime&&(w.programDateTime=t.endProgramDateTime)}function Ro(w,t,n,s){w.relurl=t.URI,t.BYTERANGE&&w.setByteRange(t.BYTERANGE),w.level=n,w.sn="initSegment",s&&(w.levelkeys=s),w.initSegment=null}function $o(w,t,n){w.levelkeys=t;const{encryptedFragments:s}=n;(!s.length||s[s.length-1].levelkeys!==t)&&Object.keys(t).some(m=>t[m].isCommonEncryption)&&s.push(w)}function os(w,t,n){w.playlistParsingError=new Error(`#EXT-X-${t} must not appear more than once (${n[0]})`)}function Ao(w,t,n){w.playlistParsingError=new Error(`#EXT-X-${t} must appear before the first Media Segment (${n[0]})`)}function hu(w,t){const n=t.startPTS;if(r(n)){let s=0,m;t.sn>w.sn?(s=n-w.start,m=w):(s=w.start-n,m=t),m.duration!==s&&m.setDuration(s)}else t.sn>w.sn?w.cc===t.cc&&w.minEndPTS?t.setStart(w.start+(w.minEndPTS-w.start)):t.setStart(w.start+w.duration):t.setStart(Math.max(w.start-t.duration,0))}function qt(w,t,n,s,m,E){s-n<=0&&(W.warn("Fragment should have a positive duration",t),s=n+t.duration,E=m+t.duration);let j=n,Y=s;const H=t.startPTS,te=t.endPTS;if(r(H)){const Je=Math.abs(H-n);r(t.deltaPTS)?t.deltaPTS=Math.max(Je,t.deltaPTS):t.deltaPTS=Je,j=Math.max(n,H),n=Math.min(n,H),m=Math.min(m,t.startDTS),Y=Math.min(s,te),s=Math.max(s,te),E=Math.max(E,t.endDTS)}const oe=n-t.start;t.start!==0&&t.setStart(n),t.setDuration(s-t.start),t.startPTS=n,t.maxStartPTS=j,t.startDTS=m,t.endPTS=s,t.minEndPTS=Y,t.endDTS=E;const me=t.sn;if(!w||me<w.startSN||me>w.endSN)return 0;let we;const Se=me-w.startSN,ut=w.fragments;for(ut[Se]=t,we=Se;we>0;we--)hu(ut[we],ut[we-1]);for(we=Se;we<ut.length-1;we++)hu(ut[we],ut[we+1]);return w.fragmentHint&&hu(ut[ut.length-1],w.fragmentHint),w.PTSKnown=w.alignedSliding=!0,oe}function hr(w,t){if(w===t)return;let n=null;const s=w.fragments;for(let H=s.length-1;H>=0;H--){const te=s[H].initSegment;if(te){n=te;break}}w.fragmentHint&&delete w.fragmentHint.endPTS;let m;Ar(w,t,(H,te,oe,me)=>{if((!t.startCC||t.skippedSegments)&&te.cc!==H.cc){const we=H.cc-te.cc;for(let Se=oe;Se<me.length;Se++)me[Se].cc+=we;t.endCC=me[me.length-1].cc}r(H.startPTS)&&r(H.endPTS)&&(te.setStart(te.startPTS=H.startPTS),te.startDTS=H.startDTS,te.maxStartPTS=H.maxStartPTS,te.endPTS=H.endPTS,te.endDTS=H.endDTS,te.minEndPTS=H.minEndPTS,te.setDuration(H.endPTS-H.startPTS),te.duration&&(m=te),t.PTSKnown=t.alignedSliding=!0),H.hasStreams&&(te.elementaryStreams=H.elementaryStreams),te.loader=H.loader,H.hasStats&&(te.stats=H.stats),H.initSegment&&(te.initSegment=H.initSegment,n=H.initSegment)});const E=t.fragments,T=t.fragmentHint?E.concat(t.fragmentHint):E;if(n&&T.forEach(H=>{var te;H&&(!H.initSegment||H.initSegment.relurl===((te=n)==null?void 0:te.relurl))&&(H.initSegment=n)}),t.skippedSegments){if(t.deltaUpdateFailed=E.some(H=>!H),t.deltaUpdateFailed){W.warn("[level-helper] Previous playlist missing segments skipped in delta playlist");for(let H=t.skippedSegments;H--;)E.shift();t.startSN=E[0].sn}else{t.canSkipDateRanges&&(t.dateRanges=sr(w.dateRanges,t));const H=w.fragments.filter(te=>te.rawProgramDateTime);if(w.hasProgramDateTime&&!t.hasProgramDateTime)for(let te=1;te<T.length;te++)T[te].programDateTime===null&&au(T[te],T[te-1],H);Cu(H,t)}t.endCC=E[E.length-1].cc}if(!t.startCC){var j;const H=Jn(w,t.startSN-1);t.startCC=(j=H==null?void 0:H.cc)!=null?j:E[0].cc}pr(w.partList,t.partList,(H,te)=>{te.elementaryStreams=H.elementaryStreams,te.stats=H.stats}),m?qt(t,m,m.startPTS,m.endPTS,m.startDTS,m.endDTS):Rn(w,t),E.length&&(t.totalduration=t.edge-E[0].start),t.driftStartTime=w.driftStartTime,t.driftStart=w.driftStart;const Y=t.advancedDateTime;if(t.advanced&&Y){const H=t.edge;t.driftStart||(t.driftStartTime=Y,t.driftStart=H),t.driftEndTime=Y,t.driftEnd=H}else t.driftEndTime=w.driftEndTime,t.driftEnd=w.driftEnd,t.advancedDateTime=w.advancedDateTime;t.requestScheduled===-1&&(t.requestScheduled=w.requestScheduled)}function sr(w,t){const{dateRanges:n,recentlyRemovedDateranges:s}=t,m=y({},w);s&&s.forEach(j=>{delete m[j]});const T=Object.keys(m).length;return T&&Object.keys(n).forEach(j=>{const Y=m[j],H=new La(n[j].attr,Y);H.isValid?(m[j]=H,Y||(H.tagOrder+=T)):W.warn(`Ignoring invalid Playlist Delta Update DATERANGE tag: "${Un(n[j].attr)}"`)}),m}function pr(w,t,n){if(w&&t){let s=0;for(let m=0,E=w.length;m<=E;m++){const T=w[m],j=t[m+s];T&&j&&T.index===j.index&&T.fragment.sn===j.fragment.sn?n(T,j):s--}}}function Ar(w,t,n){const s=t.skippedSegments,m=Math.max(w.startSN,t.startSN)-t.startSN,E=(w.fragmentHint?1:0)+(s?t.endSN:Math.min(w.endSN,t.endSN))-t.startSN,T=t.startSN-w.startSN,j=t.fragmentHint?t.fragments.concat(t.fragmentHint):t.fragments,Y=w.fragmentHint?w.fragments.concat(w.fragmentHint):w.fragments;for(let H=m;H<=E;H++){const te=Y[T+H];let oe=j[H];if(s&&!oe&&te&&(oe=t.fragments[H]=te),te&&oe){if(n(te,oe,H,j),te.url&&te.url!==oe.url){t.playlistParsingError=fn(`media sequence mismatch ${oe.sn}:`,w,t,te,oe);return}else if(te.cc!==oe.cc){t.playlistParsingError=fn(`discontinuity sequence mismatch (${te.cc}!=${oe.cc})`,w,t,te,oe);return}}}}function fn(w,t,n,s,m){return new Error(`${w} ${m.url}
|
|
|
Playlist starting @${t.startSN}
|
|
|
${t.m3u8}
|
|
|
|
|
|
Playlist starting @${n.startSN}
|
|
|
${n.m3u8}`)}function Rn(w,t,n=!0){const s=t.startSN+t.skippedSegments-w.startSN,m=w.fragments,E=s>=0;let T=0;if(E&&s<m.length)T=m[s].start;else if(E&&t.startSN===w.endSN+1)T=w.fragmentEnd;else if(E&&n)T=w.fragmentStart+s*t.levelTargetDuration;else if(!t.skippedSegments&&t.fragmentStart===0)T=w.fragmentStart;else return;wn(t,T)}function wn(w,t){if(t){const n=w.fragments;for(let s=w.skippedSegments;s<n.length;s++)n[s].addStart(t);w.fragmentHint&&w.fragmentHint.addStart(t)}}function Ln(w,t=1/0){let n=1e3*w.targetduration;if(w.updated){const s=w.fragments;if(s.length&&n*4>t){const E=s[s.length-1].duration*1e3;E<n&&(n=E)}}else n/=2;return Math.round(n)}function Jn(w,t,n){if(!w)return null;let s=w.fragments[t-w.startSN];return s||(s=w.fragmentHint,s&&s.sn===t)?s:t<w.startSN&&n&&n.sn===t?n:null}function Qn(w,t,n){return w?dr(w.partList,t,n):null}function dr(w,t,n){if(w)for(let s=w.length;s--;){const m=w[s];if(m.index===n&&m.fragment.sn===t)return m}return null}function Lr(w){w.forEach((t,n)=>{var s;(s=t.details)==null||s.fragments.forEach(m=>{m.level=n,m.initSegment&&(m.initSegment.level=n)})})}function Or(w,t){for(let s=0,m=w.length;s<m;s++){var n;if(((n=w[s])==null?void 0:n.cc)===t)return w[s]}return null}function gn(w,t){return!!(w&&t.startCC<w.endCC&&t.endCC>w.startCC)}function yn(w,t){if(w){const n=w.start+t;w.start=w.startPTS=n,w.endPTS=n+w.duration}}function ht(w,t){const n=t.fragments;for(let s=0,m=n.length;s<m;s++)yn(n[s],w);t.fragmentHint&&yn(t.fragmentHint,w),t.alignedSliding=!0}function Dn(w,t){w&&(Mn(t,w),!t.alignedSliding&&w&&Ei(t,w),!t.alignedSliding&&w&&!t.skippedSegments&&Rn(w,t,!1))}function Mn(w,t){if(!gn(t,w))return;const n=Math.min(t.endCC,w.endCC),s=Or(t.fragments,n),m=Or(w.fragments,n);if(!s||!m)return;W.log(`Aligning playlist at start of dicontinuity sequence ${n}`);const E=s.start-m.start;ht(E,w)}function Ei(w,t){if(!w.hasProgramDateTime||!t.hasProgramDateTime)return;const n=w.fragments,s=t.fragments;if(!n.length||!s.length)return;let m,E;const T=Math.min(t.endCC,w.endCC);t.startCC<T&&w.startCC<T&&(m=Or(s,T),E=Or(n,T)),(!m||!E)&&(m=s[Math.floor(s.length/2)],E=Or(n,m.cc)||n[Math.floor(n.length/2)]);const j=m.programDateTime,Y=E.programDateTime;if(!j||!Y)return;const H=(Y-j)/1e3-(E.start-m.start);ht(H,w)}const Zi={toString:function(w){let t="";const n=w.length;for(let s=0;s<n;s++)t+=`[${w.start(s).toFixed(3)}-${w.end(s).toFixed(3)}]`;return t}},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 Yi extends ms{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:T,fragCurrent:j,media:Y,mediaBuffer:H,state:te}=this,oe=Y?Y.currentTime:0,me=Zn.bufferInfo(H||Y,oe,T.maxBufferHole),we=!me.len;if(this.log(`Media seeking to ${r(oe)?oe.toFixed(3):oe}, state: ${te}, ${we?"out of":"in"} buffer`),this.state===Jt.ENDED)this.resetLoadingState();else if(j){const Se=T.maxFragLookUpTolerance,ut=j.start-Se,Je=j.start+j.duration+Se;if(we||Je<me.start||ut>me.end){const Lt=oe>Je;(oe<ut||Lt)&&(Lt&&j.loader&&(this.log(`Cancelling fragment load for seek (sn: ${j.sn})`),j.abortRequests(),this.resetLoadingState()),this.fragPrevious=null)}}if(Y){this.fragmentTracker.removeFragmentsInRange(oe,1/0,this.playlistType,!0);const Se=this.lastCurrentTime;if(oe>Se&&(this.lastCurrentTime=oe),!this.loadingParts){const ut=Math.max(me.end,oe),Je=this.shouldLoadParts(this.getLevelDetails(),ut);Je&&(this.log(`LL-Part loading ON after seeking to ${oe.toFixed(2)} with buffer @${ut.toFixed(2)}`),this.loadingParts=Je)}}this.hls.hasEnoughToStart||(this.log(`Setting ${we?"startPosition":"nextLoadPosition"} to ${oe} for seek without enough to start`),this.nextLoadPosition=oe,we&&(this.startPosition=oe)),this.tickImmediate()},this.onMediaEnded=()=>{this.log("setting startPosition to 0 because media ended"),this.startPosition=this.lastCurrentTime=0},this.playlistType=E,this.hls=t,this.fragmentLoader=new ai(t.config),this.keyLoader=s,this.fragmentTracker=n,this.config=t.config,this.decrypter=new li(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=Zn.bufferedInfo(E,t.start,0));const T=t.nextStart;if(T&&T>m&&T<n.edge||this.media.currentTime<t.start)return!1;const Y=n.partList;if(Y!=null&&Y.length){const te=Y[Y.length-1];return Zn.isBuffered(this.media,te.start+te.duration/2)}const H=n.fragments[n.fragments.length-1].type;return this.fragmentTracker.isEndListAppended(H)}getLevelDetails(){if(this.levels&&this.levelLastLoaded!==null){var t;return(t=this.levelLastLoaded)==null?void 0:t.details}}get timelineOffset(){const t=this.config.timelineOffset;if(t){var n;return((n=this.getLevelDetails())==null?void 0:n.appliedTimelineOffset)||t}return 0}onMediaAttached(t,n){const 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 T=E.frag;if(this.fragContextChanged(T)){this.warn(`${T.type} sn: ${T.sn}${E.part?" part: "+E.part.index:""} of ${this.fragInfo(T,!1,E.part)}) was dropped during download.`),this.fragmentTracker.removeFragment(T);return}T.stats.chunkCount++,this._handleFragmentLoadProgress(E)};this._doFragLoad(t,n,s,m).then(E=>{if(!E)return;const T=this.state,j=E.frag;if(this.fragContextChanged(j)){(T===Jt.FRAG_LOADING||!this.fragCurrent&&T===Jt.PARSING)&&(this.fragmentTracker.removeFragment(j),this.state=Jt.IDLE);return}"payload"in E&&(this.log(`Loaded ${j.type} sn: ${j.sn} of ${this.playlistLabel()} ${j.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)===br.APPENDING){const E=t.type,T=this.getFwdBufferInfo(this.mediaBuffer,E),j=Math.max(t.duration,T?T.len:this.config.maxBufferLength),Y=this.backtrackFragment;((Y?t.sn-Y.sn:0)===1||this.reduceMaxBufferLength(j,t.duration))&&s.removeFragment(t)}else((n=this.mediaBuffer)==null?void 0:n.buffered.length)===0?s.removeAllFragments():s.hasParts(t.type)&&(s.detectPartialFragments({frag:t,part:null,stats:t.stats,id:t.type}),s.getState(t)===br.PARTIAL&&s.removeFragment(t))}checkLiveUpdate(t){if(t.updated&&!t.live){const n=t.fragments[t.fragments.length-1];this.fragmentTracker.detectPartialFragments({frag:n,part:null,stats:n.stats,id:n.type})}t.fragments[0]||(t.deltaUpdateFailed=!0)}waitForLive(t){const n=t.details;return(n==null?void 0:n.live)&&n.type!=="EVENT"&&(this.levelLastLoaded!==t||n.expired)}flushMainBuffer(t,n,s=null){if(!(t-n))return;const m={startOffset:t,endOffset:n,type:s};this.hls.trigger(o.BUFFER_FLUSHING,m)}_loadInitSegment(t,n){this._doFragLoad(t,n).then(s=>{const m=s==null?void 0:s.frag;if(!m||this.fragContextChanged(m)||!this.levels)throw new Error("init load aborted");return s}).then(s=>{const{hls:m}=this,{frag:E,payload:T}=s,j=E.decryptdata;if(T&&T.byteLength>0&&j!=null&&j.key&&j.iv&&Li(j.method)){const Y=self.performance.now();return this.decrypter.decrypt(new Uint8Array(T),j.key.buffer,j.iv.buffer,Da(j.method)).catch(H=>{throw m.trigger(o.ERROR,{type:c.MEDIA_ERROR,details:f.FRAG_DECRYPT_ERROR,fatal:!1,error:H,reason:H.message,frag:E}),H}).then(H=>{const te=self.performance.now();return m.trigger(o.FRAG_DECRYPTED,{frag:E,payload:H,stats:{tstart:Y,tdecrypt:te}}),s.payload=H,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?Zi.toString(Zn.getBuffered(s)):"(detached)"})`),De(t)){var m;if(t.type!==u.SUBTITLE){const T=t.elementaryStreams;if(!Object.keys(T).some(j=>!!T[j])){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,T=!E||E.length===0||E.some(Y=>!Y),j=new Ts(s.level,s.sn,s.stats.chunkCount+1,0,m?m.index:-1,!T);n.flush(j)}_handleFragmentLoadProgress(t){}_doFragLoad(t,n,s=null,m){var E;this.fragCurrent=t;const T=n==null?void 0:n.details;if(!this.levels||!T)throw new Error(`frag load aborted, missing level${T?"":" detail"}s`);let j=null;t.encrypted&&!((E=t.decryptdata)!=null&&E.key)?(this.log(`Loading key for ${t.sn} of [${T.startSN}-${T.endSN}], ${this.playlistLabel()} ${t.level}`),this.state=Jt.KEY_LOADING,this.fragCurrent=t,j=this.keyLoader.load(t).then(oe=>{if(!this.fragContextChanged(oe.frag))return this.hls.trigger(o.KEY_LOADED,oe),this.state===Jt.KEY_LOADING&&(this.state=Jt.IDLE),oe}),this.hls.trigger(o.KEY_LOADING,{frag:t}),this.fragCurrent===null&&(j=Promise.reject(new Error("frag load aborted, context changed in KEY_LOADING")))):t.encrypted||(j=this.keyLoader.loadClear(t,T.encryptedFragments,this.startFragRequested),j&&this.log("[eme] blocking frag load until media-keys acquired"));const Y=this.fragPrevious;if(De(t)&&(!Y||t.sn!==Y.sn)){const oe=this.shouldLoadParts(n.details,t.end);oe!==this.loadingParts&&(this.log(`LL-Part loading ${oe?"ON":"OFF"} loading sn ${Y==null?void 0:Y.sn}->${t.sn}`),this.loadingParts=oe)}if(s=Math.max(t.start,s||0),this.loadingParts&&De(t)){const oe=T.partList;if(oe&&m){s>t.end&&T.fragmentHint&&(t=T.fragmentHint);const me=this.getNextPart(oe,t,s);if(me>-1){const we=oe[me];t=this.fragCurrent=we.fragment,this.log(`Loading ${t.type} sn: ${t.sn} part: ${we.index} (${me}/${oe.length-1}) of ${this.fragInfo(t,!1,we)}) cc: ${t.cc} [${T.startSN}-${T.endSN}], target: ${parseFloat(s.toFixed(3))}`),this.nextLoadPosition=we.start+we.duration,this.state=Jt.FRAG_LOADING;let Se;return j?Se=j.then(ut=>!ut||this.fragContextChanged(ut.frag)?null:this.doFragPartsLoad(t,we,n,m)).catch(ut=>this.handleFragLoadError(ut)):Se=this.doFragPartsLoad(t,we,n,m).catch(ut=>this.handleFragLoadError(ut)),this.hls.trigger(o.FRAG_LOADING,{frag:t,part:we,targetBufferTime:s}),this.fragCurrent===null?Promise.reject(new Error("frag load aborted, context changed in FRAG_LOADING parts")):Se}else if(!t.url||this.loadedEndOfParts(oe,s))return Promise.resolve(null)}}if(De(t)&&this.loadingParts)this.log(`LL-Part loading OFF after next part miss @${s.toFixed(2)}`),this.loadingParts=!1;else if(!t.url)return Promise.resolve(null);this.log(`Loading ${t.type} sn: ${t.sn} of ${this.fragInfo(t,!1)}) cc: ${t.cc} ${T?"["+T.startSN+"-"+T.endSN+"]":""}, target: ${parseFloat(s.toFixed(3))}`),r(t.sn)&&!this.bitrateTest&&(this.nextLoadPosition=t.start+t.duration),this.state=Jt.FRAG_LOADING;const H=this.config.progressive;let te;return H&&j?te=j.then(oe=>!oe||this.fragContextChanged(oe==null?void 0:oe.frag)?null:this.fragmentLoader.load(t,m)).catch(oe=>this.handleFragLoadError(oe)):te=Promise.all([this.fragmentLoader.load(t,H?m:void 0),j]).then(([oe])=>(!H&&oe&&m&&m(oe),oe)).catch(oe=>this.handleFragLoadError(oe)),this.hls.trigger(o.FRAG_LOADING,{frag:t,targetBufferTime:s}),this.fragCurrent===null?Promise.reject(new Error("frag load aborted, context changed in FRAG_LOADING")):te}doFragPartsLoad(t,n,s,m){return new Promise((E,T)=>{var j;const Y=[],H=(j=s.details)==null?void 0:j.partList,te=oe=>{this.fragmentLoader.loadPart(t,oe,m).then(me=>{Y[oe.index]=me;const we=me.part;this.hls.trigger(o.FRAG_LOADED,me);const Se=Qn(s.details,t.sn,oe.index+1)||dr(H,t.sn,oe.index+1);if(Se)te(Se);else return E({frag:t,part:we,partsLoaded:Y})}).catch(T)};te(n)})}handleFragLoadError(t){if("data"in t){const n=t.data;t.data&&n.details===f.INTERNAL_ABORTED?this.handleFragLoadAborted(n.frag,n.part):this.hls.trigger(o.ERROR,n)}else this.hls.trigger(o.ERROR,{type:c.OTHER_ERROR,details:f.INTERNAL_EXCEPTION,err:t,error:t,fatal:!0});return null}_handleTransmuxerFlush(t){const n=this.getCurrentContext(t);if(!n||this.state!==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,T=self.performance.now();s.stats.parsing.end=T,m&&(m.stats.parsing.end=T);const j=this.getLevelDetails(),H=j&&s.sn>j.endSN||this.shouldLoadParts(j,s.end);H!==this.loadingParts&&(this.log(`LL-Part loading ${H?"ON":"OFF"} after parsing segment ending @${s.end.toFixed(2)}`),this.loadingParts=H),this.updateLevelTiming(s,m,E,t.partial)}shouldLoadParts(t,n){if(this.config.lowLatencyMode){if(!t)return this.loadingParts;if(t!=null&&t.partList){var s;const E=t.partList[0],T=E.end+(((s=t.fragmentHint)==null?void 0:s.duration)||0);if(n>=T){var m;if((this.hls.hasEnoughToStart?((m=this.media)==null?void 0:m.currentTime)||this.lastCurrentTime:this.getLoadPosition())>E.start-E.fragment.duration)return!0}}}return!1}getCurrentContext(t){const{levels:n,fragCurrent:s}=this,{level:m,sn:E,part:T}=t;if(!(n!=null&&n[m]))return this.warn(`Levels object was unset while buffering fragment ${E} of ${this.playlistLabel()} ${m}. The current chunk will not be buffered.`),null;const j=n[m],Y=j.details,H=T>-1?Qn(Y,E,T):null,te=H?H.fragment:Jn(Y,E,s);return te?(s&&s!==te&&(te.stats=s.stats),{frag:te,part:H,level:j}):null}bufferFragmentData(t,n,s,m,E){var T;if(!t||this.state!==Jt.PARSING)return;const{data1:j,data2:Y}=t;let H=j;if(j&&Y&&(H=Pe(j,Y)),!((T=H)!=null&&T.length))return;const te=this.initPTS[n.cc],oe=te?-te.baseTime/te.timescale:void 0,me={type:t.type,frag:n,part:s,chunkMeta:m,offset:oe,parent:n.type,data:H};if(this.hls.trigger(o.BUFFER_APPENDING,me),t.dropped&&t.independent&&!s){if(E)return;this.flushBufferGap(n)}}flushBufferGap(t){const n=this.media;if(!n)return;if(!Zn.isBuffered(n,n.currentTime)){this.flushMainBuffer(0,t.start);return}const s=n.currentTime,m=Zn.bufferInfo(n,s,0),E=t.duration,T=Math.min(this.config.maxFragLookUpTolerance*2,E*.25),j=Math.max(Math.min(t.start-T,m.end-T),s+T);t.start-j>T&&this.flushMainBuffer(j,t.start)}getFwdBufferInfo(t,n){var s;const m=this.getLoadPosition();if(!r(m))return null;const T=this.lastCurrentTime>m||(s=this.media)!=null&&s.paused?0:this.config.maxBufferHole;return this.getFwdBufferInfoAtPos(t,m,n,T)}getFwdBufferInfoAtPos(t,n,s,m){const E=Zn.bufferInfo(t,n,m);if(E.len===0&&E.nextStart!==void 0){const T=this.fragmentTracker.getBufferedFrag(n,s);if(T&&(E.nextStart<=T.end||T.gap)){const j=Math.max(Math.min(E.nextStart,T.end)-n,m);return Zn.bufferInfo(t,n,j)}}return E}getMaxBufferLength(t){const{config:n}=this;let s;return t?s=Math.max(8*n.maxBufferSize/t,n.maxBufferLength):s=n.maxBufferLength,Math.min(s,n.maxMaxBufferLength)}reduceMaxBufferLength(t,n){const s=this.config,m=Math.max(Math.min(t-n,s.maxBufferLength),n),E=Math.max(t-n*3,s.maxMaxBufferLength/2,m);return E>=m?(s.maxMaxBufferLength=E,this.warn(`Reduce max buffer length to ${E}s`),!0):!1}getAppendedFrag(t,n=u.MAIN){var s;const m=(s=this.fragmentTracker)==null?void 0:s.getAppendedFrag(t,n);return m&&"fragment"in m?m.fragment:m}getNextFragment(t,n){const s=n.fragments,m=s.length;if(!m)return null;const{config:E}=this,T=s[0].start,j=E.lowLatencyMode&&!!n.partList;let Y=null;if(n.live){const oe=E.initialLiveManifestSize;if(m<oe)return this.warn(`Not enough fragments to start playback (have: ${m}, need: ${oe})`),null;if(!n.PTSKnown&&!this.startFragRequested&&this.startPosition===-1||t<T){var H;j&&!this.loadingParts&&(this.log("LL-Part loading ON for initial live fragment"),this.loadingParts=!0),Y=this.getInitialLiveFragment(n);const me=this.hls.startPosition,we=this.hls.liveSyncPosition,Se=Y?(me!==-1&&me>=T?me:we)||Y.start:t;this.log(`Setting startPosition to ${Se} to match start frag at live edge. mainStart: ${me} liveSyncPosition: ${we} frag.start: ${(H=Y)==null?void 0:H.start}`),this.startPosition=this.nextLoadPosition=Se}}else t<=T&&(Y=s[0]);if(!Y){const oe=this.loadingParts?n.partEnd:n.fragmentEnd;Y=this.getFragmentAtPosition(t,oe,n)}let te=this.filterReplacedPrimary(Y,n);if(!te&&Y){const oe=Y.sn-n.startSN;te=this.filterReplacedPrimary(s[oe+1]||null,n)}return this.mapToInitFragWhenRequired(te)}isLoopLoading(t,n){const s=this.fragmentTracker.getState(t);return(s===br.OK||s===br.PARTIAL&&!!t.gap)&&this.nextLoadPosition>n}getNextFragmentLoopLoading(t,n,s,m,E){let T=null;if(t.gap&&(T=this.getNextFragment(this.nextLoadPosition,n),T&&!T.gap&&s.nextStart)){const j=this.getFwdBufferInfoAtPos(this.mediaBuffer?this.mediaBuffer:this.media,s.nextStart,m,0);if(j!==null&&s.len+j.len>=E){const Y=T.sn;return this.loopSn!==Y&&(this.log(`buffer full after gaps in "${m}" playlist starting at sn: ${Y}`),this.loopSn=Y),null}}return this.loopSn=void 0,T}get primaryPrefetch(){if(Bi(this.hls.config)){var t,n;if((t=this.hls.interstitialsManager)==null||(n=t.playingItem)==null?void 0:n.event)return!0}return!1}filterReplacedPrimary(t,n){if(!t)return t;if(Bi(this.hls.config)&&t.type!==u.SUBTITLE){const s=this.hls.interstitialsManager,m=s==null?void 0:s.bufferingItem;if(m){const T=m.event;if(T){if(T.appendInPlace||Math.abs(t.start-m.start)>1||m.start===0)return null}else if(t.end<=m.start&&(n==null?void 0:n.live)===!1||t.start>m.end&&m.nextEvent&&(m.nextEvent.appendInPlace||t.start-m.end>1))return null}const E=s==null?void 0:s.playerQueue;if(E)for(let T=E.length;T--;){const j=E[T].interstitial;if(j.appendInPlace&&t.start>=j.startTime&&t.end<=j.resumeTime)return null}}return t}mapToInitFragWhenRequired(t){return t!=null&&t.initSegment&&!(t!=null&&t.initSegment.data)&&!this.bitrateTest?t.initSegment:t}getNextPart(t,n,s){let m=-1,E=!1,T=!0;for(let j=0,Y=t.length;j<Y;j++){const H=t[j];if(T=T&&!H.independent,m>-1&&s<H.start)break;const te=H.loaded;te?m=-1:(E||H.independent||T)&&H.fragment===n&&(m=j),E=te}return m}loadedEndOfParts(t,n){const s=t[t.length-1];return s&&n>s.start&&s.loaded}getInitialLiveFragment(t){const n=t.fragments,s=this.fragPrevious;let m=null;if(s){if(t.hasProgramDateTime&&(this.log(`Live playlist, switching playlist, load frag with same PDT: ${s.programDateTime}`),m=ei(n,s.endProgramDateTime,this.config.maxFragLookUpTolerance)),!m){const E=s.sn+1;if(E>=t.startSN&&E<=t.endSN){const T=n[E-t.startSN];s.cc===T.cc&&(m=T,this.log(`Live playlist, switching playlist, load frag with next SN: ${m.sn}`))}m||(m=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:T,endSN:j}=s;const{fragmentHint:Y}=s,{maxFragLookUpTolerance:H}=m,te=s.partList,oe=!!(this.loadingParts&&te!=null&&te.length&&Y);oe&&Y&&!this.bitrateTest&&te[te.length-1].fragment.sn===Y.sn&&(T=T.concat(Y),j=Y.sn);let me;if(t<n){var we;const ut=t<this.lastCurrentTime||t>n-H||(we=this.media)!=null&&we.paused||!this.startFragRequested?0:H;me=vn(E,T,t,ut)}else me=T[T.length-1];if(me){const Se=me.sn-s.startSN,ut=this.fragmentTracker.getState(me);if((ut===br.OK||ut===br.PARTIAL&&me.gap)&&(E=me),E&&me.sn===E.sn&&(!oe||te[0].fragment.sn>me.sn||!s.live&&!oe)&&E&&me.level===E.level){const Lt=T[Se+1];me.sn<j&&this.fragmentTracker.getState(Lt)!==br.OK?me=Lt:me=null}}return me}alignPlaylists(t,n,s){const m=t.fragments.length;if(!m)return this.warn("No fragments in live playlist"),0;const E=t.fragmentStart,T=!n,j=t.alignedSliding&&r(E);if(T||!j&&!E){Dn(s,t);const Y=t.fragmentStart;return this.log(`Live playlist sliding: ${Y.toFixed(2)} start-sn: ${n?n.startSN:"na"}->${t.startSN} fragments: ${m}`),Y}return E}waitForCdnTuneIn(t){return t.live&&t.canBlockReload&&t.partTarget&&t.tuneInGoal>Math.max(t.partHoldBack,t.partTarget*3)}setStartPosition(t,n){let s=this.startPosition;s<n&&(s=-1);const m=this.timelineOffset;if(s===-1){const E=this.startTimeOffset!==null,T=E?this.startTimeOffset:t.startTimeOffset;T!==null&&r(T)?(s=n+T,T<0&&(s+=t.edge),s=Math.min(Math.max(n,s),n+t.totalduration),this.log(`Setting startPosition to ${s} for start time offset ${T} found in ${E?"multivariant":"media"} playlist`),this.startPosition=s):t.live?(s=this.hls.liveSyncPosition||n,this.log(`Setting startPosition to -1 to start at live edge ${s}`),this.startPosition=-1):(this.log("setting startPosition to 0 by default"),this.startPosition=s=0),this.lastCurrentTime=s+m}this.nextLoadPosition=s+m}getLoadPosition(){var t;const{media:n}=this;let s=0;return(t=this.hls)!=null&&t.hasEnoughToStart&&n?s=n.currentTime:this.nextLoadPosition>=0&&(s=this.nextLoadPosition),s}handleFragLoadAborted(t,n){this.transmuxer&&t.type===this.playlistType&&De(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 Se=this.getCurrentContext(n.chunkMeta);Se&&(n.frag=Se.frag)}const s=n.frag;if(!s||s.type!==t||!this.levels)return;if(this.fragContextChanged(s)){var m;this.warn(`Frag load error must match current frag to retry ${s.url} > ${(m=this.fragCurrent)==null?void 0:m.url}`);return}const E=n.details===f.FRAG_GAP;E&&this.fragmentTracker.fragBuffered(s,!0);const T=n.errorAction,{action:j,flags:Y,retryCount:H=0,retryConfig:te}=T||{},oe=!!T&&!!te,me=oe&&j===qe.RetryRequest,we=oe&&!T.resolved&&Y===Ee.MoveAllAlternatesMatchingHost;if(!me&&we&&De(s)&&!s.endList)this.resetFragmentErrors(t),this.treatAsGap(s),T.resolved=!0;else if((me||we)&&H<te.maxNumRetry){this.resetStartWhenNotLoaded(this.levelLastLoaded);const Se=fr(te,H);this.warn(`Fragment ${s.sn} of ${t} ${s.level} errored with ${n.details}, retrying loading ${H+1}/${te.maxNumRetry} in ${Se}ms`),T.resolved=!0,this.retryDate=self.performance.now()+Se,this.state=Jt.FRAG_LOADING_WAITING_RETRY}else if(te&&T)if(this.resetFragmentErrors(t),H<te.maxNumRetry)!E&&j!==qe.RemoveAlternatePermanently&&(T.resolved=!0);else{this.warn(`${n.details} reached or exceeded max retry (${H})`);return}else j===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 T=!E;return T&&this.warn(`Buffer full error while media.currentTime is not buffered, flush ${s} buffer`),n&&(this.fragmentTracker.removeFragment(n),this.nextLoadPosition=n.start),this.resetLoadingState(),T}return!1}resetFragmentErrors(t){t===u.AUDIO&&(this.fragCurrent=null),this.hls.hasEnoughToStart||(this.startFragRequested=!1),this.state!==Jt.STOPPED&&(this.state=Jt.IDLE)}afterBufferFlushed(t,n,s){if(!t)return;const m=Zn.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((Y,H)=>{const te=t.elementaryStreams[H];if(te){const oe=te.endPTS-te.startPTS;if(oe<=0)return this.warn(`Could not parse fragment ${t.sn} ${H} duration reliably (${oe})`),Y||!1;const me=m?0:qt(E,t,te.startPTS,te.endPTS,te.startDTS,te.endDTS);return this.hls.trigger(o.LEVEL_PTS_UPDATED,{details:E,level:s,drift:me,type:H,frag:t,start:te.startPTS,end:te.endPTS}),!0}return Y},!1)){var j;if(s.fragmentError===0&&this.treatAsGap(t,s),((j=this.transmuxer)==null?void 0:j.error)===null){const Y=new Error(`Found no media in fragment ${t.sn} of ${this.playlistLabel()} ${t.level} resetting transmuxer to fallback to playlist timing`);if(this.warn(Y.message),this.hls.trigger(o.ERROR,{type:c.MEDIA_ERROR,details:f.FRAG_PARSING_ERROR,fatal:!1,error:Y,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 Bi(w){return!!w.interstitialsController&&w.enableInterstitialPlayback!==!1}class fa{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=Ja(t,n);else return new Uint8Array(0);return this.reset(),s}reset(){this.chunks.length=0,this.dataLength=0}}function Ja(w,t){const n=new Uint8Array(t);let s=0;for(let m=0;m<w.length;m++){const E=w[m];n.set(E,s),s+=E.length}return n}var gs={exports:{}},Ti;function io(){return Ti||(Ti=1,function(w){var t=Object.prototype.hasOwnProperty,n="~";function s(){}Object.create&&(s.prototype=Object.create(null),new s().__proto__||(n=!1));function m(Y,H,te){this.fn=Y,this.context=H,this.once=te||!1}function E(Y,H,te,oe,me){if(typeof te!="function")throw new TypeError("The listener must be a function");var we=new m(te,oe||Y,me),Se=n?n+H:H;return Y._events[Se]?Y._events[Se].fn?Y._events[Se]=[Y._events[Se],we]:Y._events[Se].push(we):(Y._events[Se]=we,Y._eventsCount++),Y}function T(Y,H){--Y._eventsCount===0?Y._events=new s:delete Y._events[H]}function j(){this._events=new s,this._eventsCount=0}j.prototype.eventNames=function(){var H=[],te,oe;if(this._eventsCount===0)return H;for(oe in te=this._events)t.call(te,oe)&&H.push(n?oe.slice(1):oe);return Object.getOwnPropertySymbols?H.concat(Object.getOwnPropertySymbols(te)):H},j.prototype.listeners=function(H){var te=n?n+H:H,oe=this._events[te];if(!oe)return[];if(oe.fn)return[oe.fn];for(var me=0,we=oe.length,Se=new Array(we);me<we;me++)Se[me]=oe[me].fn;return Se},j.prototype.listenerCount=function(H){var te=n?n+H:H,oe=this._events[te];return oe?oe.fn?1:oe.length:0},j.prototype.emit=function(H,te,oe,me,we,Se){var ut=n?n+H:H;if(!this._events[ut])return!1;var Je=this._events[ut],Lt=arguments.length,rr,Yt;if(Je.fn){switch(Je.once&&this.removeListener(H,Je.fn,void 0,!0),Lt){case 1:return Je.fn.call(Je.context),!0;case 2:return Je.fn.call(Je.context,te),!0;case 3:return Je.fn.call(Je.context,te,oe),!0;case 4:return Je.fn.call(Je.context,te,oe,me),!0;case 5:return Je.fn.call(Je.context,te,oe,me,we),!0;case 6:return Je.fn.call(Je.context,te,oe,me,we,Se),!0}for(Yt=1,rr=new Array(Lt-1);Yt<Lt;Yt++)rr[Yt-1]=arguments[Yt];Je.fn.apply(Je.context,rr)}else{var Cr=Je.length,Hr;for(Yt=0;Yt<Cr;Yt++)switch(Je[Yt].once&&this.removeListener(H,Je[Yt].fn,void 0,!0),Lt){case 1:Je[Yt].fn.call(Je[Yt].context);break;case 2:Je[Yt].fn.call(Je[Yt].context,te);break;case 3:Je[Yt].fn.call(Je[Yt].context,te,oe);break;case 4:Je[Yt].fn.call(Je[Yt].context,te,oe,me);break;default:if(!rr)for(Hr=1,rr=new Array(Lt-1);Hr<Lt;Hr++)rr[Hr-1]=arguments[Hr];Je[Yt].fn.apply(Je[Yt].context,rr)}}return!0},j.prototype.on=function(H,te,oe){return E(this,H,te,oe,!1)},j.prototype.once=function(H,te,oe){return E(this,H,te,oe,!0)},j.prototype.removeListener=function(H,te,oe,me){var we=n?n+H:H;if(!this._events[we])return this;if(!te)return T(this,we),this;var Se=this._events[we];if(Se.fn)Se.fn===te&&(!me||Se.once)&&(!oe||Se.context===oe)&&T(this,we);else{for(var ut=0,Je=[],Lt=Se.length;ut<Lt;ut++)(Se[ut].fn!==te||me&&!Se[ut].once||oe&&Se[ut].context!==oe)&&Je.push(Se[ut]);Je.length?this._events[we]=Je.length===1?Je[0]:Je:T(this,we)}return this},j.prototype.removeAllListeners=function(H){var te;return H?(te=n?n+H:H,this._events[te]&&T(this,te)):(this._events=new s,this._eventsCount=0),this},j.prototype.off=j.prototype.removeListener,j.prototype.addListener=j.prototype.on,j.prefixed=n,j.EventEmitter=j,w.exports=j}(gs)),gs.exports}var Us=io(),ds=ue(Us);const Ea="1.6.7",us={};function Qs(){return typeof __HLS_WORKER_BUNDLE__=="function"}function kn(){const w=us[Ea];if(w)return w.clientCount++,w;const t=new self.Blob([`var exports={};var module={exports:exports};function define(f){f()};define.amd=true;(${__HLS_WORKER_BUNDLE__.toString()})(true);`],{type:"text/javascript"}),n=self.URL.createObjectURL(t),m={worker:new self.Worker(n),objectURL:n,clientCount:1};return us[Ea]=m,m}function Ss(w){const t=us[w];if(t)return t.clientCount++,t;const n=new self.URL(w,self.location.href).href,m={worker:new self.Worker(n),scriptURL:n,clientCount:1};return us[w]=m,m}function zs(w){const t=us[w||Ea];if(t&&t.clientCount--===1){const{worker:s,objectURL:m}=t;delete us[w||Ea],m&&self.URL.revokeObjectURL(m),s.terminate()}}function Xe(w,t){return t+10<=w.length&&w[t]===51&&w[t+1]===68&&w[t+2]===73&&w[t+3]<255&&w[t+4]<255&&w[t+6]<128&&w[t+7]<128&&w[t+8]<128&&w[t+9]<128}function Qe(w,t){return t+10<=w.length&&w[t]===73&&w[t+1]===68&&w[t+2]===51&&w[t+3]<255&&w[t+4]<255&&w[t+6]<128&&w[t+7]<128&&w[t+8]<128&&w[t+9]<128}function Ft(w,t){let n=0;return n=(w[t]&127)<<21,n|=(w[t+1]&127)<<14,n|=(w[t+2]&127)<<7,n|=w[t+3]&127,n}function Gt(w,t){const n=t;let s=0;for(;Qe(w,t);){s+=10;const m=Ft(w,t+6);s+=m,Xe(w,t+10)&&(s+=10),t+=s}if(s>0)return w.subarray(n,n+s)}function gr(w,t,n,s){const m=[96e3,88200,64e3,48e3,44100,32e3,24e3,22050,16e3,12e3,11025,8e3,7350],E=t[n+2],T=E>>2&15;if(T>12){const we=new Error(`invalid ADTS sampling index:${T}`);w.emit(o.ERROR,o.ERROR,{type:c.MEDIA_ERROR,details:f.FRAG_PARSING_ERROR,fatal:!0,error:we,reason:we.message});return}const j=(E>>6&3)+1,Y=t[n+3]>>6&3|(E&1)<<2,H="mp4a.40."+j,te=m[T];let oe=T;(j===5||j===29)&&(oe-=3);const me=[j<<3|(oe&14)>>1,(oe&1)<<7|Y<<3];return W.log(`manifest codec:${s}, parsed codec:${H}, channels:${Y}, rate:${te} (ADTS object type:${j} sampling index:${T})`),{config:me,samplerate:te,channelCount:Y,codec:H,parsedCodec:H,manifestCodec:s}}function Rr(w,t){return w[t]===255&&(w[t+1]&246)===240}function jr(w,t){return w[t+1]&1?7:9}function hn(w,t){return(w[t+3]&3)<<11|w[t+4]<<3|(w[t+5]&224)>>>5}function tn(w,t){return t+5<w.length}function pn(w,t){return t+1<w.length&&Rr(w,t)}function Yn(w,t){return tn(w,t)&&Rr(w,t)&&hn(w,t)<=w.length-t}function qn(w,t){if(pn(w,t)){const n=jr(w,t);if(t+n>=w.length)return!1;const s=hn(w,t);if(s<=n)return!1;const m=t+s;return m===w.length||pn(w,m)}return!1}function mi(w,t,n,s,m){if(!w.samplerate){const E=gr(t,n,s,m);if(!E)return;y(w,E)}}function wi(w){return 9216e4/w}function Hi(w,t){const n=jr(w,t);if(t+n<=w.length){const s=hn(w,t)-n;if(s>0)return{headerLength:n,frameLength:s}}}function Mi(w,t,n,s,m){const E=wi(w.samplerate),T=s+m*E,j=Hi(t,n);let Y;if(j){const{frameLength:oe,headerLength:me}=j,we=me+oe,Se=Math.max(0,n+we-t.length);Se?(Y=new Uint8Array(we-me),Y.set(t.subarray(n+me,t.length),0)):Y=t.subarray(n+me,n+we);const ut={unit:Y,pts:T};return Se||w.samples.push(ut),{sample:ut,length:we,missing:Se}}const H=t.length-n;return Y=new Uint8Array(H),Y.set(t.subarray(n,t.length),0),{sample:{unit:Y,pts:T},length:H,missing:-1}}function bi(w,t){return Qe(w,t)&&Ft(w,t+6)+10<=w.length-t}function pa(w){return w instanceof ArrayBuffer?w:w.byteOffset==0&&w.byteLength==w.buffer.byteLength?w.buffer:new Uint8Array(w).buffer}function xi(w,t=0,n=1/0){return hi(w,t,n,Uint8Array)}function hi(w,t,n,s){const m=la(w);let E=1;"BYTES_PER_ELEMENT"in s&&(E=s.BYTES_PER_ELEMENT);const T=qs(w)?w.byteOffset:0,j=(T+w.byteLength)/E,Y=(T+t)/E,H=Math.floor(Math.max(0,Math.min(Y,j))),te=Math.floor(Math.min(H+Math.max(n,0),j));return new s(m,H,te-H)}function la(w){return w instanceof ArrayBuffer?w:w.buffer}function qs(w){return w&&w.buffer instanceof ArrayBuffer&&w.byteLength!==void 0&&w.byteOffset!==void 0}function As(w){const t={key:w.type,description:"",data:"",mimeType:null,pictureType:null},n=3;if(w.size<2)return;if(w.data[0]!==n){console.log("Ignore frame with unrecognized character encoding");return}const s=w.data.subarray(1).indexOf(0);if(s===-1)return;const m=q(xi(w.data,1,s)),E=w.data[2+s],T=w.data.subarray(3+s).indexOf(0);if(T===-1)return;const j=q(xi(w.data,3+s,T));let Y;return m==="-->"?Y=q(xi(w.data,4+s+T)):Y=pa(w.data.subarray(4+s+T)),t.mimeType=m,t.pictureType=E,t.description=j,t.data=Y,t}function Wi(w){if(w.size<2)return;const t=q(w.data,!0),n=new Uint8Array(w.data.subarray(t.length+1));return{key:w.type,info:t,data:n.buffer}}function Oa(w){if(w.size<2)return;if(w.type==="TXXX"){let n=1;const s=q(w.data.subarray(n),!0);n+=s.length+1;const m=q(w.data.subarray(n));return{key:w.type,info:s,data:m}}const t=q(w.data.subarray(1));return{key:w.type,info:"",data:t}}function Ji(w){if(w.type==="WXXX"){if(w.size<2)return;let n=1;const s=q(w.data.subarray(n),!0);n+=s.length+1;const m=q(w.data.subarray(n));return{key:w.type,info:s,data:m}}const t=q(w.data);return{key:w.type,info:"",data:t}}function Oi(w){return w.type==="PRIV"?Wi(w):w.type[0]==="W"?Ji(w):w.type==="APIC"?As(w):Oa(w)}function ga(w){const t=String.fromCharCode(w[0],w[1],w[2],w[3]),n=Ft(w,4),s=10;return{type:t,size:n,data:w.subarray(s,s+n)}}const ka=10,Ka=10;function Js(w){let t=0;const n=[];for(;Qe(w,t);){const s=Ft(w,t+6);w[t+5]>>6&1&&(t+=ka),t+=ka;const m=t+s;for(;t+Ka<m;){const E=ga(w.subarray(t)),T=Oi(E);T&&n.push(T),t+=E.size+ka}Xe(w,t)&&(t+=ka)}return n}function Ya(w){return w&&w.key==="PRIV"&&w.info==="com.apple.streaming.transportStreamTimestamp"}function fo(w){if(w.data.byteLength===8){const t=new Uint8Array(w.data),n=t[3]&1;let s=(t[4]<<23)+(t[5]<<15)+(t[6]<<7)+t[7];return s/=45,n&&(s+=4772185884e-2),Math.round(s)}}function ja(w){const t=Js(w);for(let n=0;n<t.length;n++){const s=t[n];if(Ya(s))return fo(s)}}let Xa=function(w){return w.audioId3="org.id3",w.dateRange="com.apple.quicktime.HLS",w.emsg="https://aomedia.org/emsg/ID3",w.misbklv="urn:misb:KLV:bin:1910.1",w}({});function ls(w="",t=9e4){return{type:w,id:-1,pid:-1,inputTimeScale:t,sequenceNumber:-1,samples:[],dropped:0}}class ra{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=Pe(this.cachedData,t),this.cachedData=null);let s=Gt(t,0),m=s?s.length:0,E;const T=this._audioTrack,j=this._id3Track,Y=s?ja(s):void 0,H=t.length;for((this.basePTS===null||this.frameIndex===0&&r(Y))&&(this.basePTS=za(Y,n,this.initPTS),this.lastPTS=this.basePTS),this.lastPTS===null&&(this.lastPTS=this.basePTS),s&&s.length>0&&j.samples.push({pts:this.lastPTS,dts:this.lastPTS,data:s,type:Xa.audioId3,duration:Number.POSITIVE_INFINITY});m<H;){if(this.canParse(t,m)){const te=this.appendFrame(T,t,m);te?(this.frameIndex++,this.lastPTS=te.sample.pts,m+=te.length,E=m):m=H}else bi(t,m)?(s=Gt(t,m),j.samples.push({pts:this.lastPTS,dts:this.lastPTS,data:s,type:Xa.audioId3,duration:Number.POSITIVE_INFINITY}),m+=s.length,E=m):m++;if(m===H&&E!==H){const te=t.slice(E);this.cachedData?this.cachedData=Pe(this.cachedData,te):this.cachedData=te}}return{audioTrack:T,videoTrack:ls(),id3Track:j,textTrack:ls()}}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:ls(),id3Track:this._id3Track,textTrack:ls()}}destroy(){this.cachedData=null,this._audioTrack=this._id3Track=void 0}}const za=(w,t,n)=>{if(r(w))return w*90;const s=n?n.baseTime*9e4/n.timescale:0;return t*9e4+s};let ys=null;const ya=[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],be=[44100,48e3,32e3,22050,24e3,16e3,11025,12e3,8e3],Ae=[[0,72,144,12],[0,0,0,0],[0,72,144,12],[0,144,144,12]],wr=[0,1,1,4];function Xr(w,t,n,s,m){if(n+24>t.length)return;const E=yr(t,n);if(E&&n+E.frameLength<=t.length){const T=E.samplesPerFrame*9e4/E.sampleRate,j=s+m*T,Y={unit:t.subarray(n,n+E.frameLength),pts:j,dts:j};return w.config=[],w.channelCount=E.channelCount,w.samplerate=E.sampleRate,w.samples.push(Y),{sample:Y,length:E.frameLength,missing:0}}}function yr(w,t){const n=w[t+1]>>3&3,s=w[t+1]>>1&3,m=w[t+2]>>4&15,E=w[t+2]>>2&3;if(n!==1&&m!==0&&m!==15&&E!==3){const T=w[t+2]>>1&1,j=w[t+3]>>6,Y=n===3?3-s:s===3?3:4,H=ya[Y*14+m-1]*1e3,oe=be[(n===3?0:n===2?1:2)*3+E],me=j===3?1:2,we=Ae[n][s],Se=wr[s],ut=we*8*Se,Je=Math.floor(we*H/oe+T)*Se;if(ys===null){const Yt=(navigator.userAgent||"").match(/Chrome\/(\d+)/i);ys=Yt?parseInt(Yt[1]):0}return!!ys&&ys<=87&&s===2&&H>=224e3&&j===0&&(w[t+3]=w[t+3]|128),{sampleRate:oe,channelCount:me,frameLength:Je,samplesPerFrame:ut}}}function Kr(w,t){return w[t]===255&&(w[t+1]&224)===224&&(w[t+1]&6)!==0}function En(w,t){return t+1<w.length&&Kr(w,t)}function Xn(w,t){return Kr(w,t)&&4<=w.length-t}function ki(w,t){if(t+1<w.length&&Kr(w,t)){const s=yr(w,t);let m=4;s!=null&&s.frameLength&&(m=s.frameLength);const E=t+m;return E===w.length||En(w,E)}return!1}class On extends ra{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=Gt(t,0);let m=(s==null?void 0:s.length)||0;if(ki(t,m))return!1;for(let E=t.length;m<E;m++)if(qn(t,m))return n.log("ADTS sync word found !"),!0;return!1}canParse(t,n){return Yn(t,n)}appendFrame(t,n,s){mi(t,this.observer,n,s,t.manifestCodec);const m=Mi(t,n,s,this.basePTS,this.frameIndex);if(m&&m.missing===0)return m}}const Cn=(w,t)=>{let n=0,s=5;t+=s;const m=new Uint32Array(1),E=new Uint32Array(1),T=new Uint8Array(1);for(;s>0;){T[0]=w[t];const j=Math.min(s,8),Y=8-j;E[0]=4278190080>>>24+Y<<Y,m[0]=(T[0]&E[0])>>Y,n=n?n<<j|m[0]:m[0],t+=1,s-=j}return n};class Nn extends ra{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=ia(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=Gt(t,0);if(!n)return!1;const s=n.length;return t[s]===11&&t[s+1]===119&&ja(n)!==void 0&&Cn(t,s)<16}}function ia(w,t,n,s,m){if(n+8>t.length||t[n]!==11||t[n+1]!==119)return-1;const E=t[n+4]>>6;if(E>=3)return-1;const j=[48e3,44100,32e3][E],Y=t[n+4]&63,te=[64,69,96,64,70,96,80,87,120,80,88,120,96,104,144,96,105,144,112,121,168,112,122,168,128,139,192,128,140,192,160,174,240,160,175,240,192,208,288,192,209,288,224,243,336,224,244,336,256,278,384,256,279,384,320,348,480,320,349,480,384,417,576,384,418,576,448,487,672,448,488,672,512,557,768,512,558,768,640,696,960,640,697,960,768,835,1152,768,836,1152,896,975,1344,896,976,1344,1024,1114,1536,1024,1115,1536,1152,1253,1728,1152,1254,1728,1280,1393,1920,1280,1394,1920][Y*3+E]*2;if(n+te>t.length)return-1;const oe=t[n+6]>>5;let me=0;oe===2?me+=2:(oe&1&&oe!==1&&(me+=2),oe&4&&(me+=2));const we=(t[n+6]<<8|t[n+7])>>12-me&1,ut=[2,1,2,3,3,4,4,5][oe]+we,Je=t[n+5]>>3,Lt=t[n+5]&7,rr=new Uint8Array([E<<6|Je<<1|Lt>>2,(Lt&3)<<6|oe<<3|we<<2|Y>>4,Y<<4&224]),Yt=1536/j*9e4,Cr=s+m*Yt,Hr=t.subarray(n,n+te);return w.config=rr,w.channelCount=ut,w.samplerate=j,w.samples.push({unit:Hr,pts:Cr}),te}class Gi extends ra{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=Gt(t,0);let s=(n==null?void 0:n.length)||0;if(n&&t[s]===11&&t[s+1]===119&&ja(n)!==void 0&&Cn(t,s)<=16)return!1;for(let m=t.length;s<m;s++)if(ki(t,s))return W.log("MPEG Audio sync word found !"),!0;return!1}canParse(t,n){return Xn(t,n)}appendFrame(t,n,s){if(this.basePTS!==null)return Xr(t,n,s,this.basePTS,this.frameIndex)}}const yo=/\/emsg[-/]ID3/i;class ao{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=ls("video",1),T=this.audioTrack=ls("audio",1),j=this.txtTrack=ls("text",1);if(this.id3Track=ls("id3",1),this.timeOffset=0,!(t!=null&&t.byteLength))return;const Y=tt(t);if(Y.video){const{id:H,timescale:te,codec:oe,supplemental:me}=Y.video;E.id=H,E.timescale=j.timescale=te,E.codec=oe,E.supplemental=me}if(Y.audio){const{id:H,timescale:te,codec:oe}=Y.audio;T.id=H,T.timescale=te,T.codec=oe}j.id=nr.text,E.sampleDuration=0,E.duration=T.duration=m}resetContiguity(){this.remainderData=null}static probe(t){return at(t)}demux(t,n){this.timeOffset=n;let s=t;const m=this.videoTrack,E=this.txtTrack;if(this.config.progressive){this.remainderData&&(s=Pe(this.remainderData,t));const j=Ht(s);this.remainderData=j.remainder,m.samples=j.valid||new Uint8Array}else m.samples=s;const T=this.extractID3Track(m,n);return E.samples=et(n,m),{videoTrack:m,audioTrack:this.audioTrack,id3Track:T,textTrack:this.txtTrack}}flush(){const t=this.timeOffset,n=this.videoTrack,s=this.txtTrack;n.samples=this.remainderData||new Uint8Array,this.remainderData=null;const m=this.extractID3Track(n,this.timeOffset);return s.samples=et(t,n),{videoTrack:n,audioTrack:ls(),id3Track:m,textTrack:ls()}}extractID3Track(t,n){const s=this.id3Track;if(t.samples.length){const m=bt(t.samples,["emsg"]);m&&m.forEach(E=>{const T=tr(E);if(yo.test(T.schemeIdUri)){const j=Yo(T,n);let Y=T.eventDuration===4294967295?Number.POSITIVE_INFINITY:T.eventDuration/T.timeScale;Y<=.001&&(Y=Number.POSITIVE_INFINITY);const H=T.payload;s.samples.push({data:H,len:H.byteLength,dts:j,pts:j,type:Xa.emsg,duration:Y})}else if(this.config.enableEmsgKLVMetadata&&T.schemeIdUri.startsWith("urn:misb:KLV:bin:1910.1")){const j=Yo(T,n);s.samples.push({data:T.payload,len:T.payload.byteLength,dts:j,pts:j,type:Xa.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 Yo(w,t){return r(w.presentationTime)?w.presentationTime/w.timeScale:t+w.presentationTimeDelta/w.timeScale}class bl{constructor(t,n,s){this.keyData=void 0,this.decrypter=void 0,this.keyData=s,this.decrypter=new li(n,{removePKCS7Padding:!1})}decryptBuffer(t){return this.decrypter.decrypt(t,this.keyData.key.buffer,this.keyData.iv.buffer,Er.cbc)}decryptAacSample(t,n,s){const m=t[n].unit;if(m.length<=16)return;const E=m.subarray(16,m.length-m.length%16),T=E.buffer.slice(E.byteOffset,E.byteOffset+E.length);this.decryptBuffer(T).then(j=>{const Y=new Uint8Array(j);m.set(Y,16),this.decrypter.isSync()||this.decryptAacSamples(t,n+1,s)})}decryptAacSamples(t,n,s){for(;;n++){if(n>=t.length){s();return}if(!(t[n].unit.length<32)&&(this.decryptAacSample(t,n,s),!this.decrypter.isSync()))return}}getAvcEncryptedData(t){const n=Math.floor((t.length-48)/160)*16+16,s=new Int8Array(n);let m=0;for(let E=32;E<t.length-16;E+=160,m+=16)s.set(t.subarray(E,E+16),m);return s}getAvcDecryptedUnit(t,n){const s=new Uint8Array(n);let m=0;for(let E=32;E<t.length-16;E+=160,m+=16)t.set(s.subarray(m,m+16),E);return t}decryptAvcSample(t,n,s,m,E){const T=Nt(E.data),j=this.getAvcEncryptedData(T);this.decryptBuffer(j.buffer).then(Y=>{E.data=this.getAvcDecryptedUnit(T,Y),this.decrypter.isSync()||this.decryptAvcSamples(t,n,s+1,m)})}decryptAvcSamples(t,n,s,m){if(t instanceof Uint8Array)throw new Error("Cannot decrypt samples of type Uint8Array");for(;;n++,s=0){if(n>=t.length){m();return}const E=t[n].units;for(;!(s>=E.length);s++){const T=E[s];if(!(T.data.length<=48||T.type!==1&&T.type!==5)&&(this.decryptAvcSample(t,n,s,m,T),!this.decrypter.isSync()))return}}}}class Mu{constructor(){this.VideoSample=null}createVideoSample(t,n,s){return{key:t,frame:!1,pts:n,dts:s,units:[],length:0}}getLastNalUnit(t){var n;let s=this.VideoSample,m;if((!s||s.units.length===0)&&(s=t[t.length-1]),(n=s)!=null&&n.units){const E=s.units;m=E[E.length-1]}return m}pushAccessUnit(t,n){if(t.units.length&&t.frame){if(t.pts===void 0){const s=n.samples,m=s.length;if(m){const E=s[m-1];t.pts=E.pts,t.dts=E.dts}else{n.dropped++;return}}n.samples.push(t)}}parseNALu(t,n,s){const m=n.byteLength;let E=t.naluState||0;const T=E,j=[];let Y=0,H,te,oe,me=-1,we=0;for(E===-1&&(me=0,we=this.getNALuType(n,0),E=0,Y=1);Y<m;){if(H=n[Y++],!E){E=H?0:1;continue}if(E===1){E=H?0:2;continue}if(!H)E=3;else if(H===1){if(te=Y-E-1,me>=0){const Se={data:n.subarray(me,te),type:we};j.push(Se)}else{const Se=this.getLastNalUnit(t.samples);Se&&(T&&Y<=4-T&&Se.state&&(Se.data=Se.data.subarray(0,Se.data.byteLength-T)),te>0&&(Se.data=Pe(Se.data,n.subarray(0,te)),Se.state=0))}Y<m?(oe=this.getNALuType(n,Y),me=Y,we=oe,E=0):E=-1}else E=0}if(me>=0&&E>=0){const Se={data:n.subarray(me,m),type:we,state:E};j.push(Se)}if(j.length===0){const Se=this.getLastNalUnit(t.samples);Se&&(Se.data=Pe(Se.data,n))}return t.naluState=E,j}}class Xo{constructor(t){this.data=void 0,this.bytesAvailable=void 0,this.word=void 0,this.bitsAvailable=void 0,this.data=t,this.bytesAvailable=t.byteLength,this.word=0,this.bitsAvailable=0}loadWord(){const t=this.data,n=this.bytesAvailable,s=t.byteLength-n,m=new Uint8Array(4),E=Math.min(4,n);if(E===0)throw new Error("no bytes available");m.set(t.subarray(s,s+E)),this.word=new DataView(m.buffer).getUint32(0),this.bitsAvailable=E*8,this.bytesAvailable-=E}skipBits(t){let n;t=Math.min(t,this.bytesAvailable*8+this.bitsAvailable),this.bitsAvailable>t?(this.word<<=t,this.bitsAvailable-=t):(t-=this.bitsAvailable,n=t>>3,t-=n<<3,this.bytesAvailable-=n,this.loadWord(),this.word<<=t,this.bitsAvailable-=t)}readBits(t){let n=Math.min(this.bitsAvailable,t);const s=this.word>>>32-n;if(t>32&&W.error("Cannot read more than 32 bits at a time"),this.bitsAvailable-=n,this.bitsAvailable>0)this.word<<=n;else if(this.bytesAvailable>0)this.loadWord();else throw new Error("no bits available");return n=t-n,n>0&&this.bitsAvailable?s<<n|this.readBits(n):s}skipLZ(){let t;for(t=0;t<this.bitsAvailable;++t)if(this.word&2147483648>>>t)return this.word<<=t,this.bitsAvailable-=t,t;return this.loadWord(),t+this.skipLZ()}skipUEG(){this.skipBits(1+this.skipLZ())}skipEG(){this.skipBits(1+this.skipLZ())}readUEG(){const t=this.skipLZ();return this.readBits(t+1)-1}readEG(){const t=this.readUEG();return 1&t?1+t>>>1:-1*(t>>>1)}readBoolean(){return this.readBits(1)===1}readUByte(){return this.readBits(8)}readUShort(){return this.readBits(16)}readUInt(){return this.readBits(32)}}class xc extends Mu{parsePES(t,n,s,m){const E=this.parseNALu(t,s.data,m);let T=this.VideoSample,j,Y=!1;s.data=null,T&&E.length&&!t.audFound&&(this.pushAccessUnit(T,t),T=this.VideoSample=this.createVideoSample(!1,s.pts,s.dts)),E.forEach(H=>{var te,oe;switch(H.type){case 1:{let ut=!1;j=!0;const Je=H.data;if(Y&&Je.length>4){const Lt=this.readSliceType(Je);(Lt===2||Lt===4||Lt===7||Lt===9)&&(ut=!0)}if(ut){var me;(me=T)!=null&&me.frame&&!T.key&&(this.pushAccessUnit(T,t),T=this.VideoSample=null)}T||(T=this.VideoSample=this.createVideoSample(!0,s.pts,s.dts)),T.frame=!0,T.key=ut;break}case 5:j=!0,(te=T)!=null&&te.frame&&!T.key&&(this.pushAccessUnit(T,t),T=this.VideoSample=null),T||(T=this.VideoSample=this.createVideoSample(!0,s.pts,s.dts)),T.key=!0,T.frame=!0;break;case 6:{j=!0,Zt(H.data,1,s.pts,n.samples);break}case 7:{var we,Se;j=!0,Y=!0;const ut=H.data,Je=this.readSPS(ut);if(!t.sps||t.width!==Je.width||t.height!==Je.height||((we=t.pixelRatio)==null?void 0:we[0])!==Je.pixelRatio[0]||((Se=t.pixelRatio)==null?void 0:Se[1])!==Je.pixelRatio[1]){t.width=Je.width,t.height=Je.height,t.pixelRatio=Je.pixelRatio,t.sps=[ut];const Lt=ut.subarray(1,4);let rr="avc1.";for(let Yt=0;Yt<3;Yt++){let Cr=Lt[Yt].toString(16);Cr.length<2&&(Cr="0"+Cr),rr+=Cr}t.codec=rr}break}case 8:j=!0,t.pps=[H.data];break;case 9:j=!0,t.audFound=!0,(oe=T)!=null&&oe.frame&&(this.pushAccessUnit(T,t),T=null),T||(T=this.VideoSample=this.createVideoSample(!1,s.pts,s.dts));break;case 12:j=!0;break;default:j=!1;break}T&&j&&T.units.push(H)}),m&&T&&(this.pushAccessUnit(T,t),this.VideoSample=null)}getNALuType(t,n){return t[n]&31}readSliceType(t){const n=new Xo(t);return n.readUByte(),n.readUEG(),n.readUEG()}skipScalingList(t,n){let s=8,m=8,E;for(let T=0;T<t;T++)m!==0&&(E=n.readEG(),m=(s+E+256)%256),s=m===0?s:m}readSPS(t){const n=new Xo(t);let s=0,m=0,E=0,T=0,j,Y,H;const te=n.readUByte.bind(n),oe=n.readBits.bind(n),me=n.readUEG.bind(n),we=n.readBoolean.bind(n),Se=n.skipBits.bind(n),ut=n.skipEG.bind(n),Je=n.skipUEG.bind(n),Lt=this.skipScalingList.bind(this);te();const rr=te();if(oe(5),Se(3),te(),Je(),rr===100||rr===110||rr===122||rr===244||rr===44||rr===83||rr===86||rr===118||rr===128){const qr=me();if(qr===3&&Se(1),Je(),Je(),Se(1),we())for(Y=qr!==3?8:12,H=0;H<Y;H++)we()&&(H<6?Lt(16,n):Lt(64,n))}Je();const Yt=me();if(Yt===0)me();else if(Yt===1)for(Se(1),ut(),ut(),j=me(),H=0;H<j;H++)ut();Je(),Se(1);const Cr=me(),Hr=me(),cn=oe(1);cn===0&&Se(1),Se(1),we()&&(s=me(),m=me(),E=me(),T=me());let zr=[1,1];if(we()&&we())switch(te()){case 1:zr=[1,1];break;case 2:zr=[12,11];break;case 3:zr=[10,11];break;case 4:zr=[16,11];break;case 5:zr=[40,33];break;case 6:zr=[24,11];break;case 7:zr=[20,11];break;case 8:zr=[32,11];break;case 9:zr=[80,33];break;case 10:zr=[18,11];break;case 11:zr=[15,11];break;case 12:zr=[64,33];break;case 13:zr=[160,99];break;case 14:zr=[4,3];break;case 15:zr=[3,2];break;case 16:zr=[2,1];break;case 255:{zr=[te()<<8|te(),te()<<8|te()];break}}return{width:Math.ceil((Cr+1)*16-s*2-m*2),height:(2-cn)*(Hr+1)*16-(cn?2:4)*(E+T),pixelRatio:zr}}}class vu extends Mu{constructor(...t){super(...t),this.initVPS=null}parsePES(t,n,s,m){const E=this.parseNALu(t,s.data,m);let T=this.VideoSample,j,Y=!1;s.data=null,T&&E.length&&!t.audFound&&(this.pushAccessUnit(T,t),T=this.VideoSample=this.createVideoSample(!1,s.pts,s.dts)),E.forEach(H=>{var te,oe;switch(H.type){case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:T||(T=this.VideoSample=this.createVideoSample(!1,s.pts,s.dts)),T.frame=!0,j=!0;break;case 16:case 17:case 18:case 21:if(j=!0,Y){var me;(me=T)!=null&&me.frame&&!T.key&&(this.pushAccessUnit(T,t),T=this.VideoSample=null)}T||(T=this.VideoSample=this.createVideoSample(!0,s.pts,s.dts)),T.key=!0,T.frame=!0;break;case 19:case 20:j=!0,(te=T)!=null&&te.frame&&!T.key&&(this.pushAccessUnit(T,t),T=this.VideoSample=null),T||(T=this.VideoSample=this.createVideoSample(!0,s.pts,s.dts)),T.key=!0,T.frame=!0;break;case 39:j=!0,Zt(H.data,2,s.pts,n.samples);break;case 32:j=!0,t.vps||(typeof t.params!="object"&&(t.params={}),t.params=y(t.params,this.readVPS(H.data)),this.initVPS=H.data),t.vps=[H.data];break;case 33:if(j=!0,Y=!0,t.vps!==void 0&&t.vps[0]!==this.initVPS&&t.sps!==void 0&&!this.matchSPS(t.sps[0],H.data)&&(this.initVPS=t.vps[0],t.sps=t.pps=void 0),!t.sps){const we=this.readSPS(H.data);t.width=we.width,t.height=we.height,t.pixelRatio=we.pixelRatio,t.codec=we.codecString,t.sps=[],typeof t.params!="object"&&(t.params={});for(const Se in we.params)t.params[Se]=we.params[Se]}this.pushParameterSet(t.sps,H.data,t.vps),T||(T=this.VideoSample=this.createVideoSample(!0,s.pts,s.dts)),T.key=!0;break;case 34:if(j=!0,typeof t.params=="object"){if(!t.pps){t.pps=[];const we=this.readPPS(H.data);for(const Se in we)t.params[Se]=we[Se]}this.pushParameterSet(t.pps,H.data,t.vps)}break;case 35:j=!0,t.audFound=!0,(oe=T)!=null&&oe.frame&&(this.pushAccessUnit(T,t),T=null),T||(T=this.VideoSample=this.createVideoSample(!1,s.pts,s.dts));break;default:j=!1;break}T&&j&&T.units.push(H)}),m&&T&&(this.pushAccessUnit(T,t),this.VideoSample=null)}pushParameterSet(t,n,s){(s&&s[0]===this.initVPS||!s&&!t.length)&&t.push(n)}getNALuType(t,n){return(t[n]&126)>>>1}ebsp2rbsp(t){const n=new Uint8Array(t.byteLength);let s=0;for(let m=0;m<t.byteLength;m++)m>=2&&t[m]===3&&t[m-1]===0&&t[m-2]===0||(n[s]=t[m],s++);return new Uint8Array(n.buffer,0,s)}pushAccessUnit(t,n){super.pushAccessUnit(t,n),this.initVPS&&(this.initVPS=null)}readVPS(t){const n=new Xo(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 Xo(this.ebsp2rbsp(t));n.readUByte(),n.readUByte(),n.readBits(4);const s=n.readBits(3);n.readBoolean();const m=n.readBits(2),E=n.readBoolean(),T=n.readBits(5),j=n.readUByte(),Y=n.readUByte(),H=n.readUByte(),te=n.readUByte(),oe=n.readUByte(),me=n.readUByte(),we=n.readUByte(),Se=n.readUByte(),ut=n.readUByte(),Je=n.readUByte(),Lt=n.readUByte(),rr=[],Yt=[];for(let Bs=0;Bs<s;Bs++)rr.push(n.readBoolean()),Yt.push(n.readBoolean());if(s>0)for(let Bs=s;Bs<8;Bs++)n.readBits(2);for(let Bs=0;Bs<s;Bs++)rr[Bs]&&(n.readUByte(),n.readUByte(),n.readUByte(),n.readUByte(),n.readUByte(),n.readUByte(),n.readUByte(),n.readUByte(),n.readUByte(),n.readUByte(),n.readUByte()),Yt[Bs]&&n.readUByte();n.readUEG();const Cr=n.readUEG();Cr==3&&n.skipBits(1);const Hr=n.readUEG(),cn=n.readUEG(),zr=n.readBoolean();let qr=0,an=0,Br=0,Fn=0;zr&&(qr+=n.readUEG(),an+=n.readUEG(),Br+=n.readUEG(),Fn+=n.readUEG());const oi=n.readUEG(),sa=n.readUEG(),Ui=n.readUEG(),$i=n.readBoolean();for(let Bs=$i?0:s;Bs<=s;Bs++)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 Au=0;Au<4;Au++)for(let gl=0;gl<(Au===3?2:6);gl++)if(!n.readBoolean())n.readUEG();else{const Bl=Math.min(64,1<<4+(Au<<1));Au>1&&n.readEG();for(let gf=0;gf<Bl;gf++)n.readEG()}n.readBoolean(),n.readBoolean(),n.readBoolean()&&(n.readUByte(),n.skipUEG(),n.skipUEG(),n.readBoolean());const ui=n.readUEG();let wa=0;for(let Bs=0;Bs<ui;Bs++){let Au=!1;if(Bs!==0&&(Au=n.readBoolean()),Au){Bs===ui&&n.readUEG(),n.readBoolean(),n.readUEG();let gl=0;for(let Nc=0;Nc<=wa;Nc++){const Bl=n.readBoolean();let gf=!1;Bl||(gf=n.readBoolean()),(Bl||gf)&&gl++}wa=gl}else{const gl=n.readUEG(),Nc=n.readUEG();wa=gl+Nc;for(let Bl=0;Bl<gl;Bl++)n.readUEG(),n.readBoolean();for(let Bl=0;Bl<Nc;Bl++)n.readUEG(),n.readBoolean()}}if(n.readBoolean()){const Bs=n.readUEG();for(let Au=0;Au<Bs;Au++){for(let gl=0;gl<Ui+4;gl++)n.readBits(1);n.readBits(1)}}let vi=0,ii=1,Ua=1,_s=!0,js=1,Os=0;n.readBoolean(),n.readBoolean();let Bo=!1;if(n.readBoolean()){if(n.readBoolean()){const tf=n.readUByte(),Vf=[1,12,10,16,40,24,20,32,80,18,15,64,160,4,3,2],Nf=[1,11,11,11,33,11,11,11,33,11,11,33,99,3,2,1];tf>0&&tf<16?(ii=Vf[tf-1],Ua=Nf[tf-1]):tf===255&&(ii=n.readBits(16),Ua=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(),Bo=n.readBoolean(),Bo&&(qr+=n.readUEG(),an+=n.readUEG(),Br+=n.readUEG(),Fn+=n.readUEG()),n.readBoolean()&&(js=n.readBits(32),Os=n.readBits(32),n.readBoolean()&&n.readUEG(),n.readBoolean())){const Nf=n.readBoolean(),Yf=n.readBoolean();let Lf=!1;(Nf||Yf)&&(Lf=n.readBoolean(),Lf&&(n.readUByte(),n.readBits(5),n.readBoolean(),n.readBits(5)),n.readBits(4),n.readBits(4),Lf&&n.readBits(4),n.readBits(5),n.readBits(5),n.readBits(5));for(let Mf=0;Mf<=s;Mf++){_s=n.readBoolean();const $f=_s||n.readBoolean();let Xf=!1;$f?n.readEG():Xf=n.readBoolean();const Qf=Xf?1:n.readUEG()+1;if(Nf)for(let yf=0;yf<Qf;yf++)n.readUEG(),n.readUEG(),Lf&&(n.readUEG(),n.readUEG()),n.skipBits(1);if(Yf)for(let yf=0;yf<Qf;yf++)n.readUEG(),n.readUEG(),Lf&&(n.readUEG(),n.readUEG()),n.skipBits(1)}}n.readBoolean()&&(n.readBoolean(),n.readBoolean(),n.readBoolean(),vi=n.readUEG())}let Ru=Hr,vl=cn;if(zr||Bo){let Bs=1,Au=1;Cr===1?Bs=Au=2:Cr==2&&(Bs=2),Ru=Hr-Bs*an-Bs*qr,vl=cn-Au*Fn-Au*Br}const vf=m?["A","B","C"][m]:"",td=j<<24|Y<<16|H<<8|te;let Hf=0;for(let Bs=0;Bs<32;Bs++)Hf=(Hf|(td>>Bs&1)<<31-Bs)>>>0;let Wf=Hf.toString(16);return T===1&&Wf==="2"&&(Wf="6"),{codecString:`hvc1.${vf}${T}.${Wf}.${E?"H":"L"}${Lt}.B0`,params:{general_tier_flag:E,general_profile_idc:T,general_profile_space:m,general_profile_compatibility_flags:[j,Y,H,te],general_constraint_indicator_flags:[oe,me,we,Se,ut,Je],general_level_idc:Lt,bit_depth:oi+8,bit_depth_luma_minus8:oi,bit_depth_chroma_minus8:sa,min_spatial_segmentation_idc:vi,chroma_format_idc:Cr,frame_rate:{fixed:_s,fps:Os/js}},width:Ru,height:vl,pixelRatio:[ii,Ua]}}readPPS(t){const n=new Xo(this.ebsp2rbsp(t));n.readUByte(),n.readUByte(),n.skipUEG(),n.skipUEG(),n.skipBits(2),n.skipBits(3),n.skipBits(2),n.skipUEG(),n.skipUEG(),n.skipEG(),n.skipBits(2),n.readBoolean()&&n.skipUEG(),n.skipEG(),n.skipEG(),n.skipBits(4);const m=n.readBoolean(),E=n.readBoolean();let T=1;return E&&m?T=0:E?T=3:m&&(T=2),{parallelismType:T}}matchSPS(t,n){return String.fromCharCode.apply(null,t).substr(3)===String.fromCharCode.apply(null,n).substr(3)}}const 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,T=-1,j=0;for(let Y=m;Y<n;Y+=Ve)if(t[Y]===71&&(n-Y===Ve||t[Y+Ve]===71)){if(j++,T===-1&&(T=Y,T!==0&&(s=Math.min(T+Ve*99,t.length-Ve)+1)),E||(E=X(t,Y)===0),E&&j>1&&(T===0&&j>2||Y+Ve>s))return T}else{if(j)return-1;break}m++}return-1}static createTrack(t,n){return{container:t==="video"||t==="audio"?"video/mp2t":void 0,type:t,id:nr[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.aacOverFlow=null,this.remainderData=null,this.audioCodec=n,this.videoCodec=s}resetTimeStamp(){}resetContiguity(){const{_audioTrack:t,_videoTrack:n,_id3Track:s}=this;t&&(t.pesData=null),n&&(n.pesData=null),s&&(s.pesData=null),this.aacOverFlow=null,this.remainderData=null}demux(t,n,s=!1,m=!1){s||(this.sampleAes=null);let E;const T=this._videoTrack,j=this._audioTrack,Y=this._id3Track,H=this._txtTrack;let te=T.pid,oe=T.pesData,me=j.pid,we=Y.pid,Se=j.pesData,ut=Y.pesData,Je=null,Lt=this.pmtParsed,rr=this._pmtId,Yt=t.length;if(this.remainderData&&(t=Pe(this.remainderData,t),Yt=t.length,this.remainderData=null),Yt<Ve&&!m)return this.remainderData=t,{audioTrack:j,videoTrack:T,id3Track:Y,textTrack:H};const Cr=Math.max(0,Z.syncOffset(t));Yt-=(Yt-Cr)%Ve,Yt<t.byteLength&&!m&&(this.remainderData=new Uint8Array(t.buffer,Yt,t.buffer.byteLength-Yt));let Hr=0;for(let zr=Cr;zr<Yt;zr+=Ve)if(t[zr]===71){const qr=!!(t[zr+1]&64),an=X(t,zr),Br=(t[zr+3]&48)>>4;let Fn;if(Br>1){if(Fn=zr+5+t[zr+4],Fn===zr+Ve)continue}else Fn=zr+4;switch(an){case te:if(qr){if(oe&&(E=Ct(oe,this.logger))){if(this.videoParser===null)switch(T.segmentCodec){case"avc":this.videoParser=new xc;break;case"hevc":this.videoParser=new vu;break}this.videoParser!==null&&this.videoParser.parsePES(T,H,E,!1)}oe={data:[],size:0}}oe&&(oe.data.push(t.subarray(Fn,zr+Ve)),oe.size+=zr+Ve-Fn);break;case me:if(qr){if(Se&&(E=Ct(Se,this.logger)))switch(j.segmentCodec){case"aac":this.parseAACPES(j,E);break;case"mp3":this.parseMPEGPES(j,E);break;case"ac3":this.parseAC3PES(j,E);break}Se={data:[],size:0}}Se&&(Se.data.push(t.subarray(Fn,zr+Ve)),Se.size+=zr+Ve-Fn);break;case we:qr&&(ut&&(E=Ct(ut,this.logger))&&this.parseID3PES(Y,E),ut={data:[],size:0}),ut&&(ut.data.push(t.subarray(Fn,zr+Ve)),ut.size+=zr+Ve-Fn);break;case 0:qr&&(Fn+=t[Fn]+1),rr=this._pmtId=ne(t,Fn);break;case rr:{qr&&(Fn+=t[Fn]+1);const oi=he(t,Fn,this.typeSupported,s,this.observer,this.logger);te=oi.videoPid,te>0&&(T.pid=te,T.segmentCodec=oi.segmentVideoCodec),me=oi.audioPid,me>0&&(j.pid=me,j.segmentCodec=oi.segmentAudioCodec),we=oi.id3Pid,we>0&&(Y.pid=we),Je!==null&&!Lt&&(this.logger.warn(`MPEG-TS PMT found at ${zr} after unknown PID '${Je}'. Backtracking to sync byte @${Cr} to parse all TS packets.`),Je=null,zr=Cr-188),Lt=this.pmtParsed=!0;break}case 17:case 8191:break;default:Je=an;break}}else Hr++;Hr>0&&Te(this.observer,new Error(`Found ${Hr} TS packet/s that do not start with 0x47`),void 0,this.logger),T.pesData=oe,j.pesData=Se,Y.pesData=ut;const cn={audioTrack:j,videoTrack:T,id3Track:Y,textTrack:H};return m&&this.extractRemainingSamples(cn),cn}flush(){const{remainderData:t}=this;this.remainderData=null;let n;return t?n=this.demux(t,-1,!1,!0):n={videoTrack:this._videoTrack,audioTrack:this._audioTrack,id3Track:this._id3Track,textTrack:this._txtTrack},this.extractRemainingSamples(n),this.sampleAes?this.decrypt(n,this.sampleAes):n}extractRemainingSamples(t){const{audioTrack:n,videoTrack:s,id3Track:m,textTrack:E}=t,T=s.pesData,j=n.pesData,Y=m.pesData;let H;if(T&&(H=Ct(T,this.logger))){if(this.videoParser===null)switch(s.segmentCodec){case"avc":this.videoParser=new xc;break;case"hevc":this.videoParser=new vu;break}this.videoParser!==null&&(this.videoParser.parsePES(s,E,H,!0),s.pesData=null)}else s.pesData=T;if(j&&(H=Ct(j,this.logger))){switch(n.segmentCodec){case"aac":this.parseAACPES(n,H);break;case"mp3":this.parseMPEGPES(n,H);break;case"ac3":this.parseAC3PES(n,H);break}n.pesData=null}else j!=null&&j.size&&this.logger.log("last AAC PES packet truncated,might overlap between fragments"),n.pesData=j;Y&&(H=Ct(Y,this.logger))?(this.parseID3PES(m,H),m.pesData=null):m.pesData=Y}demuxSampleAes(t,n,s){const m=this.demux(t,s,!0,!this.config.progressive),E=this.sampleAes=new bl(this.observer,this.config,n);return this.decrypt(m,E)}decrypt(t,n){return new Promise(s=>{const{audioTrack:m,videoTrack:E}=t;m.samples&&m.segmentCodec==="aac"?n.decryptAacSamples(m.samples,0,()=>{E.samples?n.decryptAvcSamples(E.samples,0,0,()=>{s(t)}):s(t)}):E.samples&&n.decryptAvcSamples(E.samples,0,0,()=>{s(t)})})}destroy(){this.observer&&this.observer.removeAllListeners(),this.config=this.logger=this.observer=null,this.aacOverFlow=this.videoParser=this.remainderData=this.sampleAes=null,this._videoTrack=this._audioTrack=this._id3Track=this._txtTrack=void 0}parseAACPES(t,n){let s=0;const m=this.aacOverFlow;let E=n.data;if(m){this.aacOverFlow=null;const oe=m.missing,me=m.sample.unit.byteLength;if(oe===-1)E=Pe(m.sample.unit,E);else{const we=me-oe;m.sample.unit.set(E.subarray(0,oe),we),t.samples.push(m.sample),s=m.missing}}let T,j;for(T=s,j=E.length;T<j-1&&!pn(E,T);T++);if(T!==s){let oe;const me=T<j-1;if(me?oe=`AAC PES did not start with ADTS header,offset:${T}`:oe="No ADTS header found in AAC PES",Te(this.observer,new Error(oe),me,this.logger),!me)return}mi(t,this.observer,E,T,this.audioCodec);let Y;if(n.pts!==void 0)Y=n.pts;else if(m){const oe=wi(t.samplerate);Y=m.sample.pts+oe}else{this.logger.warn("[tsdemuxer]: AAC PES unknown PTS");return}let H=0,te;for(;T<j;)if(te=Mi(t,E,T,Y,H),T+=te.length,te.missing){this.aacOverFlow=te;break}else for(H++;T<j-1&&!pn(E,T);T++);}parseMPEGPES(t,n){const s=n.data,m=s.length;let E=0,T=0;const j=n.pts;if(j===void 0){this.logger.warn("[tsdemuxer]: MPEG PES unknown PTS");return}for(;T<m;)if(En(s,T)){const Y=Xr(t,s,T,j,E);if(Y)T+=Y.length,E++;else break}else T++}parseAC3PES(t,n){{const s=n.data,m=n.pts;if(m===void 0){this.logger.warn("[tsdemuxer]: AC3 PES unknown PTS");return}const E=s.length;let T=0,j=0,Y;for(;j<E&&(Y=ia(t,s,j,m,T++))>0;)j+=Y}}parseID3PES(t,n){if(n.pts===void 0){this.logger.warn("[tsdemuxer]: ID3 PES unknown PTS");return}const s=y({},n,{type:this._videoTrack?Xa.emsg:Xa.audioId3,duration:Number.POSITIVE_INFINITY});t.samples.push(s)}}function X(w,t){return((w[t+1]&31)<<8)+w[t+2]}function ne(w,t){return(w[t+10]&31)<<8|w[t+11]}function he(w,t,n,s,m,E){const T={audioPid:-1,videoPid:-1,id3Pid:-1,segmentVideoCodec:"avc",segmentAudioCodec:"aac"},j=(w[t+1]&15)<<8|w[t+2],Y=t+3+j-4,H=(w[t+10]&15)<<8|w[t+11];for(t+=12+H;t<Y;){const te=X(w,t),oe=(w[t+3]&15)<<8|w[t+4];switch(w[t]){case 207:if(!s){Ke("ADTS AAC",E);break}case 15:T.audioPid===-1&&(T.audioPid=te);break;case 21:T.id3Pid===-1&&(T.id3Pid=te);break;case 219:if(!s){Ke("H.264",E);break}case 27:T.videoPid===-1&&(T.videoPid=te);break;case 3:case 4:!n.mpeg&&!n.mp3?E.log("MPEG audio found, not supported in this browser"):T.audioPid===-1&&(T.audioPid=te,T.segmentAudioCodec="mp3");break;case 193:if(!s){Ke("AC-3",E);break}case 129:n.ac3?T.audioPid===-1&&(T.audioPid=te,T.segmentAudioCodec="ac3"):E.log("AC-3 audio found, not supported in this browser");break;case 6:if(T.audioPid===-1&&oe>0){let me=t+5,we=oe;for(;we>2;){switch(w[me]){case 106:n.ac3!==!0?E.log("AC-3 audio found, not supported in this browser for now"):(T.audioPid=te,T.segmentAudioCodec="ac3");break}const ut=w[me+1]+2;me+=ut,we-=ut}}break;case 194:case 135:return Te(m,new Error("Unsupported EC-3 in M2TS found"),void 0,E),T;case 36:T.videoPid===-1&&(T.videoPid=te,T.segmentVideoCodec="hevc",E.log("HEVC in M2TS found"));break}t+=oe+5}return T}function Te(w,t,n,s){s.warn(`parsing error: ${t.message}`),w.emit(o.ERROR,o.ERROR,{type:c.MEDIA_ERROR,details:f.FRAG_PARSING_ERROR,fatal:!1,levelRetry:n,error:t,reason:t.message})}function Ke(w,t){t.log(`${w} with AES-128-CBC encryption found in unencrypted stream`)}function Ct(w,t){let n=0,s,m,E,T,j;const Y=w.data;if(!w||w.size===0)return null;for(;Y[0].length<19&&Y.length>1;)Y[0]=Pe(Y[0],Y[1]),Y.splice(1,1);if(s=Y[0],(s[0]<<16)+(s[1]<<8)+s[2]===1){if(m=(s[4]<<8)+s[5],m&&m>w.size-6)return null;const te=s[7];te&192&&(T=(s[9]&14)*536870912+(s[10]&255)*4194304+(s[11]&254)*16384+(s[12]&255)*128+(s[13]&254)/2,te&64?(j=(s[14]&14)*536870912+(s[15]&255)*4194304+(s[16]&254)*16384+(s[17]&255)*128+(s[18]&254)/2,T-j>54e5&&(t.warn(`${Math.round((T-j)/9e4)}s delta between PTS and DTS, align them`),T=j)):j=T),E=s[8];let oe=E+9;if(w.size<=oe)return null;w.size-=oe;const me=new Uint8Array(w.size);for(let we=0,Se=Y.length;we<Se;we++){s=Y[we];let ut=s.byteLength;if(oe)if(oe>ut){oe-=ut;continue}else s=s.subarray(oe),ut-=oe,oe=0;me.set(s,n),n+=ut}return m&&(m-=E+3),{data:me,pts:T,dts:j,len:m}}return null}class jt{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 ir=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 T=new Uint8Array([105,115,111,109]),j=new Uint8Array([97,118,99,49]),Y=new Uint8Array([0,0,0,1]);It.FTYP=It.box(It.types.ftyp,T,Y,T,j),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 T=new Uint8Array(s);for(T[0]=s>>24&255,T[1]=s>>16&255,T[2]=s>>8&255,T[3]=s&255,T.set(t,4),m=0,s=8;m<E;m++)T.set(n[m],s),s+=n[m].byteLength;return T}static hdlr(t){return 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/(ir+1)),m=Math.floor(n%(ir+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/(ir+1)),m=Math.floor(n%(ir+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,T;for(m=0;m<t.sps.length;m++)E=t.sps[m],T=E.byteLength,n.push(T>>>8&255),n.push(T&255),n=n.concat(Array.prototype.slice.call(E));for(m=0;m<t.pps.length;m++)E=t.pps[m],T=E.byteLength,s.push(T>>>8&255),s.push(T&255),s=s.concat(Array.prototype.slice.call(E));const j=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))),Y=t.width,H=t.height,te=t.pixelRatio[0],oe=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,Y>>8&255,Y&255,H>>8&255,H&255,0,72,0,0,0,72,0,0,0,0,0,0,0,1,18,100,97,105,108,121,109,111,116,105,111,110,47,104,108,115,46,106,115,0,0,0,0,0,0,0,0,0,0,0,0,0,0,24,17,17]),j,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([te>>24,te>>16&255,te>>8&255,te&255,oe>>24,oe>>16&255,oe>>8&255,oe&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,T=Math.floor(s/(ir+1)),j=Math.floor(s%(ir+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,T>>24,T>>16&255,T>>8&255,T&255,j>>24,j>>16&255,j>>8&255,j&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/(ir+1)),T=Math.floor(n%(ir+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,T>>24,T>>16&255,T>>8&255,T&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,T=new Uint8Array(E);let j,Y,H,te,oe,me;for(n+=8+E,T.set([t.type==="video"?1:0,0,15,1,m>>>24&255,m>>>16&255,m>>>8&255,m&255,n>>>24&255,n>>>16&255,n>>>8&255,n&255],0),j=0;j<m;j++)Y=s[j],H=Y.duration,te=Y.size,oe=Y.flags,me=Y.cts,T.set([H>>>24&255,H>>>16&255,H>>>8&255,H&255,te>>>24&255,te>>>16&255,te>>>8&255,te&255,oe.isLeading<<2|oe.dependsOn,oe.isDependedOn<<6|oe.hasRedundancy<<4|oe.paddingValue<<1|oe.isNonSync,oe.degradPrio&61440,oe.degradPrio&15,me>>>24&255,me>>>16&255,me>>>8&255,me&255],12+16*j);return It.box(It.types.trun,T)}static initSegment(t){It.types||It.init();const n=It.moov(t);return Pe(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 T=E.length;for(let Se=0;Se<s.length;Se+=1){T+=3;for(let ut=0;ut<s[Se].length;ut+=1)T+=2+s[Se][ut].length}const j=new Uint8Array(T);j.set(E,0),T=E.length;const Y=s.length-1;for(let Se=0;Se<s.length;Se+=1){j.set(new Uint8Array([32+Se|(Se===Y?128:0),0,s[Se].length]),T),T+=3;for(let ut=0;ut<s[Se].length;ut+=1)j.set(new Uint8Array([s[Se][ut].length>>8,s[Se][ut].length&255]),T),T+=2,j.set(s[Se][ut],T),T+=s[Se][ut].length}const H=It.box(It.types.hvcC,j),te=t.width,oe=t.height,me=t.pixelRatio[0],we=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,te>>8&255,te&255,oe>>8&255,oe&255,0,72,0,0,0,72,0,0,0,0,0,0,0,1,18,100,97,105,108,121,109,111,116,105,111,110,47,104,108,115,46,106,115,0,0,0,0,0,0,0,0,0,0,0,0,0,0,24,17,17]),H,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([me>>24,me>>16&255,me>>8&255,me&255,we>>24,we>>16&255,we>>8&255,we&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 Ur=9e4;function en(w,t,n=1,s=!1){const m=w*t*n;return s?Math.round(m):m}function bn(w,t,n=1,s=!1){return en(w,t,1/n,s)}function $n(w,t=!1){return en(w,1e3,1/Ur,t)}function Hn(w,t=1){return en(w,Ur,1/t)}const Si=10*1e3,da=1024,aa=1152,ca=1536;let Ma=null,es=null;function bs(w,t,n,s){return{duration:t,size:n,cts:s,flags:{isLeading:0,isDependedOn:0,hasRedundancy:0,degradPrio:0,dependsOn:w?2:1,isNonSync:w?0:1}}}class Za 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,Ma===null){const T=(navigator.userAgent||"").match(/Chrome\/(\d+)/i);Ma=T?parseInt(T[1]):0}if(es===null){const E=navigator.userAgent.match(/Safari\/(\d+)/i);es=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,T)=>{let j=T.pts,Y=j-E;return Y<-4294967296&&(n=!0,j=qi(j,s),Y=j-E),Y>0?E:j},s);return n&&this.debug("PTS rollover detected"),m}remux(t,n,s,m,E,T,j,Y){let H,te,oe,me,we,Se,ut=E,Je=E;const Lt=t.pid>-1,rr=n.pid>-1,Yt=n.samples.length,Cr=t.samples.length>0,Hr=j&&Yt>0||Yt>1;if((!Lt||Cr)&&(!rr||Hr)||this.ISGenerated||j){if(this.ISGenerated){var zr,qr,an,Br;const Ui=this.videoTrackConfig;(Ui&&(n.width!==Ui.width||n.height!==Ui.height||((zr=n.pixelRatio)==null?void 0:zr[0])!==((qr=Ui.pixelRatio)==null?void 0:qr[0])||((an=n.pixelRatio)==null?void 0:an[1])!==((Br=Ui.pixelRatio)==null?void 0:Br[1]))||!Ui&&Hr||this.nextAudioTs===null&&Cr)&&this.resetInitSegment()}this.ISGenerated||(oe=this.generateIS(t,n,E,T));const Fn=this.isVideoContiguous;let oi=-1,sa;if(Hr&&(oi=Ns(n.samples),!Fn&&this.config.forceKeyFrameOnDiscontinuity))if(Se=!0,oi>0){this.warn(`Dropped ${oi} out of ${Yt} video samples due to a missing keyframe`);const Ui=this.getVideoStartPts(n.samples);n.samples=n.samples.slice(oi),n.dropped+=oi,Je+=(n.samples[0].pts-Ui)/n.inputTimeScale,sa=Je}else oi===-1&&(this.warn(`No keyframe found out of ${Yt} video samples`),Se=!1);if(this.ISGenerated){if(Cr&&Hr){const Ui=this.getVideoStartPts(n.samples),Di=(qi(t.samples[0].pts,Ui)-Ui)/n.inputTimeScale;ut+=Math.max(0,Di),Je+=Math.max(0,-Di)}if(Cr){if(t.samplerate||(this.warn("regenerate InitSegment as audio detected"),oe=this.generateIS(t,n,E,T)),te=this.remuxAudio(t,ut,this.isAudioContiguous,T,rr||Hr||Y===u.AUDIO?Je:void 0),Hr){const Ui=te?te.endPTS-te.startPTS:0;n.inputTimeScale||(this.warn("regenerate InitSegment as video detected"),oe=this.generateIS(t,n,E,T)),H=this.remuxVideo(n,Je,Fn,Ui)}}else Hr&&(H=this.remuxVideo(n,Je,Fn,0));H&&(H.firstKeyFrame=oi,H.independent=oi!==-1,H.firstKeyFramePTS=sa)}}return this.ISGenerated&&this._initPTS&&this._initDTS&&(s.samples.length&&(we=Is(s,E,this._initPTS,this._initDTS)),m.samples.length&&(me=pi(m,E,this._initPTS))),{audio:te,video:H,initSegment:oe,independent:Se,text:me,id3:we}}generateIS(t,n,s,m){const E=t.samples,T=n.samples,j=this.typeSupported,Y={},H=this._initPTS;let te=!H||m,oe="audio/mp4",me,we,Se,ut;if(te&&(me=we=1/0),t.config&&E.length){switch(t.timescale=t.samplerate,t.segmentCodec){case"mp3":j.mpeg?(oe="audio/mpeg",t.codec=""):j.mp3&&(t.codec="mp3");break;case"ac3":t.codec="ac-3";break}Y.audio={id:"audio",container:oe,codec:t.codec,initSegment:t.segmentCodec==="mp3"&&j.mpeg?new Uint8Array(0):It.initSegment([t]),metadata:{channelCount:t.channelCount}},te&&(ut=t.id,Se=t.inputTimeScale,!H||Se!==H.timescale?me=we=E[0].pts-Math.round(Se*s):te=!1)}if(n.sps&&n.pps&&T.length){if(n.timescale=n.inputTimeScale,Y.video={id:"main",container:"video/mp4",codec:n.codec,initSegment:It.initSegment([n]),metadata:{width:n.width,height:n.height}},te)if(ut=n.id,Se=n.inputTimeScale,!H||Se!==H.timescale){const Je=this.getVideoStartPts(T),Lt=Math.round(Se*s);we=Math.min(we,qi(T[0].dts,Je)-Lt),me=Math.min(me,Je-Lt)}else te=!1;this.videoTrackConfig={width:n.width,height:n.height,pixelRatio:n.pixelRatio}}if(Object.keys(Y).length)return this.ISGenerated=!0,te?(this._initPTS={baseTime:me,timescale:Se},this._initDTS={baseTime:we,timescale:Se}):me=Se=void 0,{tracks:Y,initPTS:me,timescale:Se,trackId:ut}}remuxVideo(t,n,s,m){const E=t.inputTimeScale,T=t.samples,j=[],Y=T.length,H=this._initPTS,te=H.baseTime*E/H.timescale;let oe=this.nextVideoTs,me=8,we=this.videoSampleDuration,Se,ut,Je=Number.POSITIVE_INFINITY,Lt=Number.NEGATIVE_INFINITY,rr=!1;if(!s||oe===null){const vi=te+n*E,ii=T[0].pts-qi(T[0].dts,T[0].pts);Ma&&oe!==null&&Math.abs(vi-ii-(oe+te))<15e3?s=!0:oe=vi-ii-te}const Yt=oe+te;for(let vi=0;vi<Y;vi++){const ii=T[vi];ii.pts=qi(ii.pts,Yt),ii.dts=qi(ii.dts,Yt),ii.dts<T[vi>0?vi-1:vi].dts&&(rr=!0)}rr&&T.sort(function(vi,ii){const Ua=vi.dts-ii.dts,_s=vi.pts-ii.pts;return Ua||_s}),Se=T[0].dts,ut=T[T.length-1].dts;const Cr=ut-Se,Hr=Cr?Math.round(Cr/(Y-1)):we||t.inputTimeScale/30;if(s){const vi=Se-Yt,ii=vi>Hr,Ua=vi<-1;if((ii||Ua)&&(ii?this.warn(`${(t.segmentCodec||"").toUpperCase()}: ${$n(vi,!0)} ms (${vi}dts) hole between fragments detected at ${n.toFixed(3)}`):this.warn(`${(t.segmentCodec||"").toUpperCase()}: ${$n(-vi,!0)} ms (${vi}dts) overlapping between fragments detected at ${n.toFixed(3)}`),!Ua||Yt>=T[0].pts||Ma)){Se=Yt;const _s=T[0].pts-vi;if(ii)T[0].dts=Se,T[0].pts=_s;else{let js=!0;for(let Os=0;Os<T.length&&!(T[Os].dts>_s&&js);Os++){const Bo=T[Os].pts;if(T[Os].dts-=vi,T[Os].pts-=vi,Os<T.length-1){const ml=T[Os+1].pts,Ru=T[Os].pts,vl=ml<=Ru,vf=ml<=Bo;js=vl==vf}}}this.log(`Video: Initial PTS/DTS adjusted: ${$n(_s,!0)}/${$n(Se,!0)}, delta: ${$n(vi,!0)} ms`)}}Se=Math.max(0,Se);let cn=0,zr=0,qr=Se;for(let vi=0;vi<Y;vi++){const ii=T[vi],Ua=ii.units,_s=Ua.length;let js=0;for(let Os=0;Os<_s;Os++)js+=Ua[Os].data.length;zr+=js,cn+=_s,ii.length=js,ii.dts<qr?(ii.dts=qr,qr+=Hr/4|0||1):qr=ii.dts,Je=Math.min(ii.pts,Je),Lt=Math.max(ii.pts,Lt)}ut=T[Y-1].dts;const an=zr+4*cn+8;let Br;try{Br=new Uint8Array(an)}catch(vi){this.observer.emit(o.ERROR,o.ERROR,{type:c.MUX_ERROR,details:f.REMUX_ALLOC_ERROR,fatal:!1,error:vi,bytes:an,reason:`fail allocating video mdat ${an}`});return}const Fn=new DataView(Br.buffer);Fn.setUint32(0,an),Br.set(It.types.mdat,4);let oi=!1,sa=Number.POSITIVE_INFINITY,Ui=Number.POSITIVE_INFINITY,$i=Number.NEGATIVE_INFINITY,Di=Number.NEGATIVE_INFINITY;for(let vi=0;vi<Y;vi++){const ii=T[vi],Ua=ii.units;let _s=0;for(let Bo=0,ml=Ua.length;Bo<ml;Bo++){const Ru=Ua[Bo],vl=Ru.data,vf=Ru.data.byteLength;Fn.setUint32(me,vf),me+=4,Br.set(vl,me),me+=vf,_s+=4+vf}let js;if(vi<Y-1)we=T[vi+1].dts-ii.dts,js=T[vi+1].pts-ii.pts;else{const Bo=this.config,ml=vi>0?ii.dts-T[vi-1].dts:Hr;if(js=vi>0?ii.pts-T[vi-1].pts:Hr,Bo.stretchShortVideoTrack&&this.nextAudioTs!==null){const Ru=Math.floor(Bo.maxBufferHole*E),vl=(m?Je+m*E:this.nextAudioTs+te)-ii.pts;vl>Ru?(we=vl-ml,we<0?we=ml:oi=!0,this.log(`It is approximately ${vl/90} ms to the next segment; using duration ${we/90} ms for the last video frame.`)):we=ml}else we=ml}const Os=Math.round(ii.pts-ii.dts);sa=Math.min(sa,we),$i=Math.max($i,we),Ui=Math.min(Ui,js),Di=Math.max(Di,js),j.push(bs(ii.key,we,_s,Os))}if(j.length){if(Ma){if(Ma<70){const vi=j[0].flags;vi.dependsOn=2,vi.isNonSync=0}}else if(es&&Di-Ui<$i-sa&&Hr/$i<.025&&j[0].cts===0){this.warn("Found irregular gaps in sample duration. Using PTS instead of DTS to determine MP4 sample duration.");let vi=Se;for(let ii=0,Ua=j.length;ii<Ua;ii++){const _s=vi+j[ii].duration,js=vi+j[ii].cts;if(ii<Ua-1){const Os=_s+j[ii+1].cts;j[ii].duration=Os-js}else j[ii].duration=ii?j[ii-1].duration:Hr;j[ii].cts=0,vi=_s}}}we=oi||!we?Hr:we;const va=ut+we;this.nextVideoTs=oe=va-te,this.videoSampleDuration=we,this.isVideoContiguous=!0;const xa={data1:It.moof(t.sequenceNumber++,Se,y(t,{samples:j})),data2:Br,startPTS:(Je-te)/E,endPTS:(Lt+we-te)/E,startDTS:(Se-te)/E,endDTS:oe/E,type:"video",hasAudio:!1,hasVideo:!0,nb:j.length,dropped:t.dropped};return t.samples=[],t.dropped=0,xa}getSamplesPerFrame(t){switch(t.segmentCodec){case"mp3":return aa;case"ac3":return ca;default:return da}}remuxAudio(t,n,s,m,E){const T=t.inputTimeScale,j=t.samplerate?t.samplerate:T,Y=T/j,H=this.getSamplesPerFrame(t),te=H*Y,oe=this._initPTS,me=t.segmentCodec==="mp3"&&this.typeSupported.mpeg,we=[],Se=E!==void 0;let ut=t.samples,Je=me?0:8,Lt=this.nextAudioTs||-1;const rr=oe.baseTime*T/oe.timescale,Yt=rr+n*T;if(this.isAudioContiguous=s=s||ut.length&&Lt>0&&(m&&Math.abs(Yt-(Lt+rr))<9e3||Math.abs(qi(ut[0].pts,Yt)-(Lt+rr))<20*te),ut.forEach(function(Di){Di.pts=qi(Di.pts,Yt)}),!s||Lt<0){if(ut=ut.filter(Di=>Di.pts>=0),!ut.length)return;E===0?Lt=0:m&&!Se?Lt=Math.max(0,Yt-rr):Lt=ut[0].pts-rr}if(t.segmentCodec==="aac"){const Di=this.config.maxAudioFramesDrift;for(let va=0,ui=Lt+rr;va<ut.length;va++){const wa=ut[va],xa=wa.pts,vi=xa-ui,ii=Math.abs(1e3*vi/T);if(vi<=-Di*te&&Se)va===0&&(this.warn(`Audio frame @ ${(xa/T).toFixed(3)}s overlaps marker by ${Math.round(1e3*vi/T)} ms.`),this.nextAudioTs=Lt=xa-rr,ui=xa);else if(vi>=Di*te&&ii<Si&&Se){let Ua=Math.round(vi/te);for(ui=xa-Ua*te;ui<0&&Ua&&te;)Ua--,ui+=te;va===0&&(this.nextAudioTs=Lt=ui-rr),this.warn(`Injecting ${Ua} audio frames @ ${((ui-rr)/T).toFixed(3)}s due to ${Math.round(1e3*vi/T)} ms gap.`);for(let _s=0;_s<Ua;_s++){let js=jt.getSilentFrame(t.parsedCodec||t.manifestCodec||t.codec,t.channelCount);js||(this.log("Unable to get silent frame for given audio codec; duplicating last frame instead."),js=wa.unit.subarray()),ut.splice(va,0,{unit:js,pts:ui}),ui+=te,va++}}wa.pts=ui,ui+=te}}let Cr=null,Hr=null,cn,zr=0,qr=ut.length;for(;qr--;)zr+=ut[qr].unit.byteLength;for(let Di=0,va=ut.length;Di<va;Di++){const ui=ut[Di],wa=ui.unit;let xa=ui.pts;if(Hr!==null){const ii=we[Di-1];ii.duration=Math.round((xa-Hr)/Y)}else if(s&&t.segmentCodec==="aac"&&(xa=Lt+rr),Cr=xa,zr>0){zr+=Je;try{cn=new Uint8Array(zr)}catch(ii){this.observer.emit(o.ERROR,o.ERROR,{type:c.MUX_ERROR,details:f.REMUX_ALLOC_ERROR,fatal:!1,error:ii,bytes:zr,reason:`fail allocating audio mdat ${zr}`});return}me||(new DataView(cn.buffer).setUint32(0,zr),cn.set(It.types.mdat,4))}else return;cn.set(wa,Je);const vi=wa.byteLength;Je+=vi,we.push(bs(!0,H,vi,0)),Hr=xa}const an=we.length;if(!an)return;const Br=we[we.length-1];Lt=Hr-rr,this.nextAudioTs=Lt+Y*Br.duration;const Fn=me?new Uint8Array(0):It.moof(t.sequenceNumber++,Cr/Y,y({},t,{samples:we}));t.samples=[];const oi=(Cr-rr)/T,sa=Lt/T,$i={data1:Fn,data2:cn,startPTS:oi,endPTS:sa,startDTS:oi,endDTS:sa,type:"audio",hasAudio:!0,hasVideo:!1,nb:an};return this.isAudioContiguous=!0,$i}}function qi(w,t){let n;if(t===null)return w;for(t<w?n=-8589934592:n=8589934592;Math.abs(w-t)>4294967296;)w+=n;return w}function Ns(w){for(let t=0;t<w.length;t++)if(w[t].key)return t;return-1}function Is(w,t,n,s){const m=w.samples.length;if(!m)return;const E=w.inputTimeScale;for(let j=0;j<m;j++){const Y=w.samples[j];Y.pts=qi(Y.pts-n.baseTime*E/n.timescale,t*E)/E,Y.dts=qi(Y.dts-s.baseTime*E/s.timescale,t*E)/E}const T=w.samples;return w.samples=[],{samples:T}}function pi(w,t,n){const s=w.samples.length;if(!s)return;const m=w.inputTimeScale;for(let T=0;T<s;T++){const j=w.samples[T];j.pts=qi(j.pts-n.baseTime*m/n.timescale,t*m)/m}w.samples.sort((T,j)=>T.pts-j.pts);const E=w.samples;return w.samples=[],{samples:E}}class ho 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(nt(t,m)),this.emitInitSegment=!0}generateInitSegment(t){let{audioCodec:n,videoCodec:s}=this;if(!(t!=null&&t.byteLength)){this.initTracks=void 0,this.initData=void 0;return}const m=this.initData=tt(t);m.audio&&(n=Rs(m.audio,ae.AUDIO,this)),m.video&&(s=Rs(m.video,ae.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,T){var j,Y;let{initPTS:H,lastEndTime:te}=this;const oe={audio:void 0,video:void 0,text:m,id3:s,initSegment:void 0};r(te)||(te=this.lastEndTime=E||0);const me=n.samples;if(!(me!=null&&me.length))return oe;const we={initPTS:void 0,timescale:void 0,trackId:void 0};let Se=this.initData;if((j=Se)!=null&&j.length||(this.generateInitSegment(me),Se=this.initData),!((Y=Se)!=null&&Y.length))return this.warn("Failed to generate initSegment."),oe;this.emitInitSegment&&(we.tracks=this.initTracks,this.emitInitSegment=!1);const ut=Vt(me,Se,this),Je=Se.audio?ut[Se.audio.id]:null,Lt=Se.video?ut[Se.video.id]:null,rr=so(Lt,1/0),Yt=so(Je,1/0),Cr=so(Lt,0,!0),Hr=so(Je,0,!0);let cn,zr=E,qr=0;if(Je&&(!Lt||!H&&Yt<rr||H&&H.trackId===Se.audio.id)?(we.trackId=Se.audio.id,cn=Je,qr=Hr-Yt):Lt&&(we.trackId=Se.video.id,cn=Lt,qr=Cr-rr),cn){const Di=cn.timescale;zr=cn.start/Di,we.initPTS=cn.start-E*Di,we.timescale=Di,H||(this.initPTS=H={baseTime:we.initPTS,timescale:Di,trackId:we.trackId})}(T||!H)&&(Qo(H,zr,E,qr)||we.timescale!==H.timescale)&&(we.initPTS=zr-E,we.timescale=1,H&&H.timescale===1&&this.warn(`Adjusting initPTS @${E} from ${H.baseTime/H.timescale} to ${we.initPTS}`),this.initPTS=H={baseTime:we.initPTS,timescale:1});const an=t?zr-H.baseTime/H.timescale:te,Br=an+qr;qr>0?this.lastEndTime=Br:(this.warn("Duration parsed from mp4 should be greater than zero"),this.resetNextTimestamp());const Fn=!!Se.audio,oi=!!Se.video;let sa="";Fn&&(sa+="audio"),oi&&(sa+="video");const Ui={data1:me,startPTS:an,startDTS:an,endPTS:Br,endDTS:Br,type:sa,hasAudio:Fn,hasVideo:oi,nb:1,dropped:0};oe.audio=Fn&&!oi?Ui:void 0,oe.video=oi?Ui:void 0;const $i=Lt==null?void 0:Lt.sampleCount;if($i){const Di=Lt.keyFrameIndex,va=Di!==-1;Ui.nb=$i,Ui.dropped=Di===0||this.isVideoContiguous?0:va?Di:$i,Ui.independent=va,Ui.firstKeyFrame=Di,va&&Lt.keyFrameStart&&(Ui.firstKeyFramePTS=(Lt.keyFrameStart-H.baseTime)/H.timescale),this.isVideoContiguous||(oe.independent=va),this.isVideoContiguous||(this.isVideoContiguous=va),Ui.dropped&&this.warn(`fmp4 does not start with IDR: firstIDR ${Di}/${$i} dropped: ${Ui.dropped} start: ${Ui.firstKeyFramePTS||"NA"}`)}return oe.initSegment=we,oe.id3=Is(s,E,H,H),m.samples.length&&(oe.text=pi(m,E,H)),oe}}function so(w,t,n=!1){return(w==null?void 0:w.start)!==void 0?(w.start+(n?w.duration:0))/w.timescale:t}function Qo(w,t,n,s){if(w===null)return!0;const m=Math.max(s,1),E=t-w.baseTime/w.timescale;return Math.abs(E-n)>m}function Rs(w,t,n){const s=w==null?void 0:w.codec;return s&&s.length>4?s:t===ae.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 Ls;try{Ls=self.performance.now.bind(self.performance)}catch(w){Ls=Date.now}const $s=[{demux:ao,remux:ho},{demux:Z,remux:Za},{demux:On,remux:Za},{demux:Gi,remux:Za}];$s.splice(2,0,{demux:Nn,remux:Za});class xl{constructor(t,n,s,m,E,T){this.asyncResult=!1,this.logger=void 0,this.observer=void 0,this.typeSupported=void 0,this.config=void 0,this.id=void 0,this.demuxer=void 0,this.remuxer=void 0,this.decrypter=void 0,this.probe=void 0,this.decryptionPromise=null,this.transmuxConfig=void 0,this.currentTransmuxState=void 0,this.observer=t,this.typeSupported=n,this.config=s,this.id=E,this.logger=T}configure(t){this.transmuxConfig=t,this.decrypter&&this.decrypter.reset()}push(t,n,s,m){const E=s.transmuxing;E.executeStart=Ls();let T=new Uint8Array(t);const{currentTransmuxState:j,transmuxConfig:Y}=this;m&&(this.currentTransmuxState=m);const{contiguous:H,discontinuity:te,trackSwitch:oe,accurateTimeOffset:me,timeOffset:we,initSegmentChange:Se}=m||j,{audioCodec:ut,videoCodec:Je,defaultInitPts:Lt,duration:rr,initSegmentData:Yt}=Y,Cr=Ku(T,n);if(Cr&&Li(Cr.method)){const qr=this.getDecrypter(),an=Da(Cr.method);if(qr.isSync()){let Br=qr.softwareDecrypt(T,Cr.key.buffer,Cr.iv.buffer,an);if(s.part>-1){const oi=qr.flush();Br=oi&&oi.buffer}if(!Br)return E.executeEnd=Ls(),Tu(s);T=new Uint8Array(Br)}else return this.asyncResult=!0,this.decryptionPromise=qr.webCryptoDecrypt(T,Cr.key.buffer,Cr.iv.buffer,an).then(Br=>{const Fn=this.push(Br,null,s);return this.decryptionPromise=null,Fn}),this.decryptionPromise}const Hr=this.needsProbing(te,oe);if(Hr){const qr=this.configureTransmuxer(T);if(qr)return this.logger.warn(`[transmuxer] ${qr.message}`),this.observer.emit(o.ERROR,o.ERROR,{type:c.MEDIA_ERROR,details:f.FRAG_PARSING_ERROR,fatal:!1,error:qr,reason:qr.message}),E.executeEnd=Ls(),Tu(s)}(te||oe||Se||Hr)&&this.resetInitSegment(Yt,ut,Je,rr,n),(te||Se||Hr)&&this.resetInitialTimestamp(Lt),H||this.resetContiguity();const cn=this.transmux(T,Cr,we,me,s);this.asyncResult=qo(cn);const zr=this.currentTransmuxState;return zr.contiguous=!0,zr.discontinuity=!1,zr.trackSwitch=!1,E.executeEnd=Ls(),cn}flush(t){const n=t.transmuxing;n.executeStart=Ls();const{decrypter:s,currentTransmuxState:m,decryptionPromise:E}=this;if(E)return this.asyncResult=!0,E.then(()=>this.flush(t));const T=[],{timeOffset:j}=m;if(s){const oe=s.flush();oe&&T.push(this.push(oe.buffer,null,t))}const{demuxer:Y,remuxer:H}=this;if(!Y||!H){n.executeEnd=Ls();const oe=[Tu(t)];return this.asyncResult?Promise.resolve(oe):oe}const te=Y.flush(j);return qo(te)?(this.asyncResult=!0,te.then(oe=>(this.flushRemux(T,oe,t),T))):(this.flushRemux(T,te,t),this.asyncResult?Promise.resolve(T):T)}flushRemux(t,n,s){const{audioTrack:m,videoTrack:E,id3Track:T,textTrack:j}=n,{accurateTimeOffset:Y,timeOffset:H}=this.currentTransmuxState;this.logger.log(`[transmuxer.ts]: Flushed ${this.id} sn: ${s.sn}${s.part>-1?" part: "+s.part:""} of ${this.id===u.MAIN?"level":"track"} ${s.level}`);const te=this.remuxer.remux(m,E,T,j,H,Y,!0,this.id);t.push({remuxResult:te,chunkMeta:s}),s.transmuxing.executeEnd=Ls()}resetInitialTimestamp(t){const{demuxer:n,remuxer:s}=this;!n||!s||(n.resetTimeStamp(t),s.resetTimeStamp(t))}resetContiguity(){const{demuxer:t,remuxer:n}=this;!t||!n||(t.resetContiguity(),n.resetNextTimestamp())}resetInitSegment(t,n,s,m,E){const{demuxer:T,remuxer:j}=this;!T||!j||(T.resetInitSegment(t,n,s,m),j.resetInitSegment(t,n,s,E))}destroy(){this.demuxer&&(this.demuxer.destroy(),this.demuxer=void 0),this.remuxer&&(this.remuxer.destroy(),this.remuxer=void 0)}transmux(t,n,s,m,E){let T;return n&&n.method==="SAMPLE-AES"?T=this.transmuxSampleAes(t,n,s,m,E):T=this.transmuxUnencrypted(t,s,m,E),T}transmuxUnencrypted(t,n,s,m){const{audioTrack:E,videoTrack:T,id3Track:j,textTrack:Y}=this.demuxer.demux(t,n,!1,!this.config.progressive);return{remuxResult:this.remuxer.remux(E,T,j,Y,n,s,!1,this.id),chunkMeta:m}}transmuxSampleAes(t,n,s,m,E){return this.demuxer.demuxSampleAes(t,n,s).then(T=>({remuxResult:this.remuxer.remux(T.audioTrack,T.videoTrack,T.id3Track,T.textTrack,s,m,!1,this.id),chunkMeta:E}))}configureTransmuxer(t){const{config:n,observer:s,typeSupported:m}=this;let E;for(let oe=0,me=$s.length;oe<me;oe++){var T;if((T=$s[oe].demux)!=null&&T.probe(t,this.logger)){E=$s[oe];break}}if(!E)return new Error("Failed to find demuxer by probing fragment data");const j=this.demuxer,Y=this.remuxer,H=E.remux,te=E.demux;(!Y||!(Y instanceof H))&&(this.remuxer=new H(s,n,m,this.logger)),(!j||!(j instanceof te))&&(this.demuxer=new te(s,n,m,this.logger),this.probe=te.probe)}needsProbing(t,n){return!this.demuxer||!this.remuxer||t||n}getDecrypter(){let t=this.decrypter;return t||(t=this.decrypter=new li(this.config)),t}}function Ku(w,t){let n=null;return w.byteLength>0&&(t==null?void 0:t.key)!=null&&t.iv!==null&&t.method!=null&&(n=t),n}const Tu=w=>({remuxResult:{},chunkMeta:w});function qo(w){return"then"in w&&w.then instanceof Function}class Zs{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 Fu{constructor(t,n,s,m,E,T){this.discontinuity=void 0,this.contiguous=void 0,this.accurateTimeOffset=void 0,this.trackSwitch=void 0,this.timeOffset=void 0,this.initSegmentChange=void 0,this.discontinuity=t,this.contiguous=n,this.accurateTimeOffset=s,this.trackSwitch=m,this.timeOffset=E,this.initSegmentChange=T}}let gu=0;class bo{constructor(t,n,s,m){this.error=null,this.hls=void 0,this.id=void 0,this.instanceNo=gu++,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=Y=>{const H=Y.data,te=this.hls;if(!(!te||!(H!=null&&H.event)||H.instanceNo!==this.instanceNo))switch(H.event){case"init":{var oe;const me=(oe=this.workerContext)==null?void 0:oe.objectURL;me&&self.URL.revokeObjectURL(me);break}case"transmuxComplete":{this.handleTransmuxComplete(H.data);break}case"flush":{this.onFlush(H.data);break}case"workerLog":{te.logger[H.data.logType]&&te.logger[H.data.logType](H.data.message);break}default:{H.data=H.data||{},H.data.frag=this.frag,H.data.part=this.part,H.data.id=this.id,te.trigger(H.event,H.data);break}}},this.onWorkerError=Y=>{if(!this.hls)return;const H=new Error(`${Y.message} (${Y.filename}:${Y.lineno})`);this.hls.config.enableWorker=!1,this.hls.logger.warn(`Error in "${this.id}" Web Worker, fallback to inline`),this.hls.trigger(o.ERROR,{type:c.OTHER_ERROR,details:f.INTERNAL_EXCEPTION,fatal:!1,event:"demuxerWorker",error:H})};const E=t.config;this.hls=t,this.id=n,this.useWorker=!!E.enableWorker,this.onTransmuxComplete=s,this.onFlush=m;const T=(Y,H)=>{H=H||{},H.frag=this.frag||void 0,Y===o.ERROR&&(H=H,H.parent=this.id,H.part=this.part,this.error=H.error),this.hls.trigger(Y,H)};this.observer=new ds,this.observer.on(o.FRAG_DECRYPTED,T),this.observer.on(o.ERROR,T);const j=Yr(E.preferManagedMediaSource);if(this.useWorker&&typeof Worker!="undefined"){const Y=this.hls.logger;if(E.workerPath||Qs()){try{E.workerPath?(Y.log(`loading Web Worker ${E.workerPath} for "${n}"`),this.workerContext=Ss(E.workerPath)):(Y.log(`injecting Web Worker for "${n}"`),this.workerContext=kn());const{worker:te}=this.workerContext;te.addEventListener("message",this.onWorkerMessage),te.addEventListener("error",this.onWorkerError),te.postMessage({instanceNo:this.instanceNo,cmd:"init",typeSupported:j,id:n,config:Un(E)})}catch(te){Y.warn(`Error setting up "${n}" Web Worker, fallback to inline`,te),this.terminateWorker(),this.error=null,this.transmuxer=new xl(this.observer,j,E,"",n,t.logger)}return}}this.transmuxer=new xl(this.observer,j,E,"",n,t.logger)}reset(){if(this.frag=null,this.part=null,this.workerContext){const t=this.instanceNo;this.instanceNo=gu++;const n=this.hls.config,s=Yr(n.preferManagedMediaSource);this.workerContext.worker.postMessage({instanceNo:this.instanceNo,cmd:"reset",resetNo:t,typeSupported:s,id:this.id,config:Un(n)})}}terminateWorker(){if(this.workerContext){const{worker:t}=this.workerContext;this.workerContext=null,t.removeEventListener("message",this.onWorkerMessage),t.removeEventListener("error",this.onWorkerError),zs(this.hls.config.workerPath)}}destroy(){if(this.workerContext)this.terminateWorker(),this.onWorkerMessage=this.onWorkerError=null;else{const n=this.transmuxer;n&&(n.destroy(),this.transmuxer=null)}const t=this.observer;t&&t.removeAllListeners(),this.frag=null,this.part=null,this.observer=null,this.hls=null}push(t,n,s,m,E,T,j,Y,H,te){var oe,me;H.transmuxing.start=self.performance.now();const{instanceNo:we,transmuxer:Se}=this,ut=T?T.start:E.start,Je=E.decryptdata,Lt=this.frag,rr=!(Lt&&E.cc===Lt.cc),Yt=!(Lt&&H.level===Lt.level),Cr=Lt?H.sn-Lt.sn:-1,Hr=this.part?H.part-this.part.index:-1,cn=Cr===0&&H.id>1&&H.id===(Lt==null?void 0:Lt.stats.chunkCount),zr=!Yt&&(Cr===1||Cr===0&&(Hr===1||cn&&Hr<=0)),qr=self.performance.now();(Yt||Cr||E.stats.parsing.start===0)&&(E.stats.parsing.start=qr),T&&(Hr||!zr)&&(T.stats.parsing.start=qr);const an=!(Lt&&((oe=E.initSegment)==null?void 0:oe.url)===((me=Lt.initSegment)==null?void 0:me.url)),Br=new Fu(rr,zr,Y,Yt,ut,an);if(!zr||rr||an){this.hls.logger.log(`[transmuxer-interface]: Starting new transmux session for ${E.type} sn: ${H.sn}${H.part>-1?" part: "+H.part:""} ${this.id===u.MAIN?"level":"track"}: ${H.level} id: ${H.id}
|
|
|
discontinuity: ${rr}
|
|
|
trackSwitch: ${Yt}
|
|
|
contiguous: ${zr}
|
|
|
accurateTimeOffset: ${Y}
|
|
|
timeOffset: ${ut}
|
|
|
initSegmentChange: ${an}`);const Fn=new Zs(s,m,n,j,te);this.configureTransmuxer(Fn)}if(this.frag=E,this.part=T,this.workerContext)this.workerContext.worker.postMessage({instanceNo:we,cmd:"demux",data:t,decryptdata:Je,chunkMeta:H,state:Br},t instanceof ArrayBuffer?[t]:[]);else if(Se){const Fn=Se.push(t,Je,H,Br);qo(Fn)?Fn.then(oi=>{this.handleTransmuxComplete(oi)}).catch(oi=>{this.transmuxerError(oi,H,"transmuxer-interface push error")}):this.handleTransmuxComplete(Fn)}}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);qo(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 rl=100;class El extends Yi{constructor(t,n,s){super(t,n,s,"audio-stream-controller",u.AUDIO),this.mainAnchor=null,this.mainFragLoading=null,this.audioOnly=!1,this.bufferedTrack=null,this.switchingTrack=null,this.trackId=-1,this.waitingData=null,this.mainDetails=null,this.flushing=!1,this.bufferFlushed=!1,this.cachedTrackLoadedData=null,this.registerListeners()}onHandlerDestroying(){this.unregisterListeners(),super.onHandlerDestroying(),this.resetItem()}resetItem(){this.mainDetails=this.mainAnchor=this.mainFragLoading=this.bufferedTrack=this.switchingTrack=this.waitingData=this.cachedTrackLoadedData=null}registerListeners(){super.registerListeners();const{hls:t}=this;t.on(o.LEVEL_LOADED,this.onLevelLoaded,this),t.on(o.AUDIO_TRACKS_UPDATED,this.onAudioTracksUpdated,this),t.on(o.AUDIO_TRACK_SWITCHING,this.onAudioTrackSwitching,this),t.on(o.AUDIO_TRACK_LOADED,this.onAudioTrackLoaded,this),t.on(o.BUFFER_RESET,this.onBufferReset,this),t.on(o.BUFFER_CREATED,this.onBufferCreated,this),t.on(o.BUFFER_FLUSHING,this.onBufferFlushing,this),t.on(o.BUFFER_FLUSHED,this.onBufferFlushed,this),t.on(o.INIT_PTS_FOUND,this.onInitPtsFound,this),t.on(o.FRAG_LOADING,this.onFragLoading,this),t.on(o.FRAG_BUFFERED,this.onFragBuffered,this)}unregisterListeners(){const{hls:t}=this;t&&(super.unregisterListeners(),t.off(o.LEVEL_LOADED,this.onLevelLoaded,this),t.off(o.AUDIO_TRACKS_UPDATED,this.onAudioTracksUpdated,this),t.off(o.AUDIO_TRACK_SWITCHING,this.onAudioTrackSwitching,this),t.off(o.AUDIO_TRACK_LOADED,this.onAudioTrackLoaded,this),t.off(o.BUFFER_RESET,this.onBufferReset,this),t.off(o.BUFFER_CREATED,this.onBufferCreated,this),t.off(o.BUFFER_FLUSHING,this.onBufferFlushing,this),t.off(o.BUFFER_FLUSHED,this.onBufferFlushed,this),t.off(o.INIT_PTS_FOUND,this.onInitPtsFound,this),t.off(o.FRAG_LOADING,this.onFragLoading,this),t.off(o.FRAG_BUFFERED,this.onFragBuffered,this))}onInitPtsFound(t,{frag:n,id:s,initPTS:m,timescale:E}){if(s===u.MAIN){const T=n.cc,j=this.fragCurrent;if(this.initPTS[T]={baseTime:m,timescale:E},this.log(`InitPTS for cc: ${T} found from main: ${m}/${E}`),this.mainAnchor=n,this.state===Jt.WAITING_INIT_PTS){const Y=this.waitingData;(!Y&&!this.loadingParts||Y&&Y.frag.cc!==T)&&this.syncWithAnchor(n,Y==null?void 0:Y.frag)}else!this.hls.hasEnoughToStart&&j&&j.cc!==T?(j.abortRequests(),this.syncWithAnchor(n,j)):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,T=this.getLevelDetails(),j=this.getLoadPosition(),Y=Ot(T,E,j);Y&&(this.log(`Syncing with main frag at ${Y.start} cc ${Y.cc}`),this.startFragRequested=!1,this.nextLoadPosition=Y.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(rl),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:T}=n,j=this.mainAnchor;if(this.initPTS[s.cc]!==void 0){this.waitingData=null,this.state=Jt.FRAG_LOADING;const Y=E.flush().buffer,H={frag:s,part:m,payload:Y,networkDetails:null};this._handleFragmentLoadProgress(H),T&&super._handleFragmentLoadComplete(H)}else j&&j.cc!==n.frag.cc&&this.syncWithAnchor(j,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,T=n.config;if(!this.buffering||!m&&!this.primaryPrefetch&&(this.startFragRequested||!T.startFragPrefetch)||!(s!=null&&s[E]))return;const j=s[E],Y=j.details;if(!Y||this.waitForLive(j)||this.waitForCdnTuneIn(Y)){this.state=Jt.WAITING_TRACK,this.startFragRequested=!1;return}const H=this.mediaBuffer?this.mediaBuffer:this.media;this.bufferFlushed&&H&&(this.bufferFlushed=!1,this.afterBufferFlushed(H,ae.AUDIO,u.AUDIO));const te=this.getFwdBufferInfo(H,u.AUDIO);if(te===null)return;if(!this.switchingTrack&&this._streamEnded(te,Y)){n.trigger(o.BUFFER_EOS,{type:"audio"}),this.state=Jt.ENDED;return}const oe=te.len,me=n.maxBufferLength,we=Y.fragments,Se=we[0].start,ut=this.getLoadPosition(),Je=this.flushing?ut:te.end;if(this.switchingTrack&&m){const Yt=ut;Y.PTSKnown&&Yt<Se&&(te.end>Se||te.nextStart)&&(this.log("Alt audio track ahead of main track, seek to start of alt audio track"),m.currentTime=Se+.05)}if(oe>=me&&!this.switchingTrack&&Je<we[we.length-1].start)return;let Lt=this.getNextFragment(Je,Y);if(Lt&&this.isLoopLoading(Lt,Je)&&(Lt=this.getNextFragmentLoopLoading(Lt,Y,te,u.MAIN,me)),!Lt){this.bufferFlushed=!0;return}let rr=((t=this.mainFragLoading)==null?void 0:t.frag)||null;if(!this.audioOnly&&this.startFragRequested&&rr&&De(Lt)&&!Lt.endList&&(!Y.live||!this.loadingParts&&Je<this.hls.liveSyncPosition)&&(this.fragmentTracker.getState(rr)===br.OK&&(this.mainFragLoading=rr=null),rr&&De(rr))){if(Lt.start>rr.end){const Cr=this.fragmentTracker.getFragAtPos(Je,u.MAIN);Cr&&Cr.end>rr.end&&(rr=Cr,this.mainFragLoading={frag:Cr,targetBufferTime:null})}if(Lt.start>rr.end)return}this.loadFragment(Lt,j,Je)}onMediaDetaching(t,n){this.bufferFlushed=this.flushing=!1,super.onMediaDetaching(t,n)}onAudioTracksUpdated(t,{audioTracks:n}){this.resetTransmuxer(),this.levels=n.map(s=>new lr(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(rl),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:T,groupId:j,track:Y}=n;if(!m){this.warn(`Audio tracks reset while loading track ${T} "${Y.name}" of "${j}"`);return}const H=this.mainDetails;if(!H||E.endCC>H.endCC||H.expired){this.cachedTrackLoadedData=n,this.state!==Jt.STOPPED&&(this.state=Jt.WAITING_TRACK);return}this.cachedTrackLoadedData=null,this.log(`Audio track ${T} "${Y.name}" of "${j}" loaded [${E.startSN},${E.endSN}]${E.lastPartSn?`[part-${E.lastPartSn}-${E.lastPartIndex}]`:""},duration:${E.totalduration}`);const te=m[T];let oe=0;if(E.live||(s=te.details)!=null&&s.live){if(this.checkLiveUpdate(E),E.deltaUpdateFailed)return;if(te.details){var me;oe=this.alignPlaylists(E,te.details,(me=this.levelLastLoaded)==null?void 0:me.details)}E.alignedSliding||(Mn(E,H),E.alignedSliding||Ei(E,H),oe=E.fragmentStart)}te.details=E,this.levelLastLoaded=te,this.startFragRequested||this.setStartPosition(H,oe),this.hls.trigger(o.AUDIO_TRACK_UPDATED,{details:E,id:T,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:T,trackId:j,levels:Y}=this;if(!Y){this.warn(`Audio tracks were reset while fragment load was in progress. Fragment ${s.sn} of level ${s.level} will not be buffered`);return}const H=Y[j];if(!H){this.warn("Audio track is undefined on fragment load progress");return}const te=H.details;if(!te){this.warn("Audio track details undefined on fragment load progress"),this.removeUnbufferedFrags(s.start);return}const oe=T.defaultAudioCodec||H.audioCodec||"mp4a.40.2";let me=this.transmuxer;me||(me=this.transmuxer=new bo(this.hls,u.AUDIO,this._handleTransmuxComplete.bind(this),this._handleTransmuxerFlush.bind(this)));const we=this.initPTS[s.cc],Se=(n=s.initSegment)==null?void 0:n.data;if(we!==void 0){const Je=m?m.index:-1,Lt=Je!==-1,rr=new Ts(s.level,s.sn,s.stats.chunkCount,E.byteLength,Je,Lt);me.push(E,Se,oe,"",s,m,te.totalduration,!1,rr,we)}else{this.log(`Unknown video PTS for cc ${s.cc}, waiting for video PTS before demuxing audio frag ${s.sn} of [${te.startSN} ,${te.endSN}],track ${j}`);const{cache:ut}=this.waitingData=this.waitingData||{frag:s,part:m,cache:new fa,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&&De(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(De(s)){this.fragPrevious=s;const E=this.switchingTrack;E&&(this.bufferedTrack=E,this.switchingTrack=null,this.hls.trigger(o.AUDIO_TRACK_SWITCHED,b({},E)))}this.fragBufferedComplete(s,m),this.media&&this.tick()}onError(t,n){var s;if(n.fatal){this.state=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!==ae.VIDEO&&(this.flushing=!0)}onBufferFlushed(t,{type:n}){if(n!==ae.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:T}=t,j=this.getCurrentContext(T);if(!j){this.resetWhenMissingContext(T);return}const{frag:Y,part:H,level:te}=j,{details:oe}=te,{audio:me,text:we,id3:Se,initSegment:ut}=E;if(this.fragContextChanged(Y)||!oe){this.fragmentTracker.removeFragment(Y);return}if(this.state=Jt.PARSING,this.switchingTrack&&me&&this.completeAudioSwitch(this.switchingTrack),ut!=null&&ut.tracks){const Je=Y.initSegment||Y;this._bufferInitSegment(te,ut.tracks,Je,T),m.trigger(o.FRAG_PARSING_INIT_SEGMENT,{frag:Je,id:s,tracks:ut.tracks})}if(me){const{startPTS:Je,endPTS:Lt,startDTS:rr,endDTS:Yt}=me;H&&(H.elementaryStreams[ae.AUDIO]={startPTS:Je,endPTS:Lt,startDTS:rr,endDTS:Yt}),Y.setElementaryStreamInfo(ae.AUDIO,Je,Lt,rr,Yt),this.bufferFragmentData(me,Y,H,T)}if(Se!=null&&(n=Se.samples)!=null&&n.length){const Je=y({id:s,frag:Y,details:oe},Se);m.trigger(o.FRAG_PARSING_METADATA,Je)}if(we){const Je=y({id:s,frag:Y,details:oe},we);m.trigger(o.FRAG_PARSING_USERDATA,Je)}}_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 T=t.audioCodec;this.log(`Init audio buffer, container:${E.container}, codecs[level/parsed]=[${T}/${E.codec}]`),T&&T.split(",").length===1&&(E.levelCodec=T),this.hls.trigger(o.BUFFER_CODECS,n);const j=E.initSegment;if(j!=null&&j.byteLength){const Y={type:"audio",frag:s,part:null,chunkMeta:m,parent:s.type,data:j};this.hls.trigger(o.BUFFER_APPENDING,Y)}this.tickImmediate()}loadFragment(t,n,s){const m=this.fragmentTracker.getState(t);if(this.switchingTrack||m===br.NOT_LOADED||m===br.PARTIAL){var E;if(!De(t))this._loadInitSegment(t,n);else if((E=n.details)!=null&&E.live&&!this.initPTS[t.cc]){this.log(`Waiting for video PTS in continuity counter ${t.cc} of live stream before loading audio fragment ${t.sn} of level ${this.trackId}`),this.state=Jt.WAITING_INIT_PTS;const T=this.mainDetails;T&&T.fragmentStart!==n.details.fragmentStart&&Ei(n.details,T)}else super.loadFragment(t,n,s)}else this.clearTrackerIfNeeded(t)}flushAudioIfNeeded(t){if(this.media&&this.bufferedTrack){const{name:n,lang:s,assocLang:m,characteristics:E,audioCodec:T,channels:j}=this.bufferedTrack;Gn({name:n,lang:s,assocLang:m,characteristics:E,audioCodec:T,channels:j},t,st)||(Kn(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 jo extends R{constructor(t,n){super(n,t.logger),this.hls=void 0,this.canLoad=!1,this.timer=-1,this.hls=t}destroy(){this.clearTimer(),this.hls=this.log=this.warn=null}clearTimer(){this.timer!==-1&&(self.clearTimeout(this.timer),this.timer=-1)}startLoad(){this.canLoad=!0,this.loadPlaylist()}stopLoad(){this.canLoad=!1,this.clearTimer()}switchParams(t,n,s){const m=n==null?void 0:n.renditionReports;if(m){let E=-1;for(let T=0;T<m.length;T++){const j=m[T];let Y;try{Y=new self.URL(j.URI,n.url).href}catch(H){this.warn(`Could not construct new URL for Rendition Report: ${H}`),Y=j.URI||""}if(Y===t){E=T;break}else Y===t.substring(0,Y.length)&&(E=T)}if(E!==-1){const T=m[E],j=parseInt(T["LAST-MSN"])||(n==null?void 0:n.lastPartSn);let Y=parseInt(T["LAST-PART"])||(n==null?void 0:n.lastPartIndex);if(this.hls.config.lowLatencyMode){const te=Math.min(n.age-n.partTarget,n.targetduration);Y>=0&&te>n.partTarget&&(Y+=1)}const H=s&&An(s);return new At(j,Y>=0?Y:void 0,H)}}}loadPlaylist(t){this.clearTimer()}loadingPlaylist(t,n){this.clearTimer()}shouldLoadPlaylist(t){return this.canLoad&&!!t&&!!t.url&&(!t.details||t.details.live)}getUrlWithDirectives(t,n){if(n)try{return n.addDirectives(t)}catch(s){this.warn(`Could not construct new URL with HLS Delivery Directives: ${s}`)}return t}playlistLoaded(t,n,s){const{details:m,stats:E}=n,T=self.performance.now(),j=E.loading.first?Math.max(0,T-E.loading.first):0;m.advancedDateTime=Date.now()-j;const Y=this.hls.config.timelineOffset;if(Y!==m.appliedTimelineOffset){const te=Math.max(Y||0,0);m.appliedTimelineOffset=te,m.fragments.forEach(oe=>{oe.start=oe.playlistOffset+te})}if(m.live||s!=null&&s.live){const te="levelInfo"in n?n.levelInfo:n.track;if(m.reloaded(s),s&&m.fragments.length>0){hr(s,m);const rr=m.playlistParsingError;if(rr){this.warn(rr);const Yt=this.hls;if(!Yt.config.ignorePlaylistParsingErrors){var H;const{networkDetails:Cr}=n;Yt.trigger(o.ERROR,{type:c.NETWORK_ERROR,details:f.LEVEL_PARSING_ERROR,fatal:!1,url:m.url,error:rr,reason:rr.message,level:n.level||void 0,parent:(H=m.fragments[0])==null?void 0:H.type,networkDetails:Cr,stats:E});return}m.playlistParsingError=null}}m.requestScheduled===-1&&(m.requestScheduled=E.loading.start);const oe=this.hls.mainForwardBufferInfo,me=oe?oe.end-oe.len:0,we=(m.edge-me)*1e3,Se=Ln(m,we);if(m.requestScheduled+Se<T?m.requestScheduled=T:m.requestScheduled+=Se,this.log(`live playlist ${t} ${m.advanced?"REFRESHED "+m.lastPartSn+"-"+m.lastPartIndex:m.updated?"UPDATED":"MISSED"}`),!this.canLoad||!m.live)return;let ut,Je,Lt;if(m.canBlockReload&&m.endSN&&m.advanced){const rr=this.hls.config.lowLatencyMode,Yt=m.lastPartSn,Cr=m.endSN,Hr=m.lastPartIndex,cn=Hr!==-1,zr=Yt===Cr;cn?zr?(Je=Cr+1,Lt=rr?0:Hr):(Je=Yt,Lt=rr?Hr+1:m.maxPartIndex):Je=Cr+1;const qr=m.age,an=qr+m.ageHeader;let Br=Math.min(an-m.partTarget,m.targetduration*1.5);if(Br>0){if(an>m.targetduration*3)this.log(`Playlist last advanced ${qr.toFixed(2)}s ago. Omitting segment and part directives.`),Je=void 0,Lt=void 0;else if(s!=null&&s.tuneInGoal&&an-m.partTarget>s.tuneInGoal)this.warn(`CDN Tune-in goal increased from: ${s.tuneInGoal} to: ${Br} with playlist age: ${m.age}`),Br=0;else{const Fn=Math.floor(Br/m.targetduration);if(Je+=Fn,Lt!==void 0){const oi=Math.round(Br%m.targetduration/m.partTarget);Lt+=oi}this.log(`CDN Tune-in age: ${m.ageHeader}s last advanced ${qr.toFixed(2)}s goal: ${Br} skip sn ${Fn} to part ${Lt}`)}m.tuneInGoal=Br}if(ut=this.getDeliveryDirectives(m,n.deliveryDirectives,Je,Lt),rr||!zr){m.requestScheduled=T,this.loadingPlaylist(te,ut);return}}else(m.canBlockReload||m.canSkipUntil)&&(ut=this.getDeliveryDirectives(m,n.deliveryDirectives,Je,Lt));ut&&Je!==void 0&&m.canBlockReload&&(m.requestScheduled=E.loading.first+Math.max(Se-j*2,Se/2)),this.scheduleLoading(te,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(),T=m.requestScheduled;if(E>=T){this.loadingPlaylist(t,n);return}const j=T-E;this.log(`reload live playlist ${t.name||t.bitrate+"bps"} in ${Math.round(j)} ms`),this.clearTimer(),this.timer=self.setTimeout(()=>this.loadingPlaylist(t,n),j)}getDeliveryDirectives(t,n,s,m){let E=An(t);return n!=null&&n.skip&&t.deltaUpdateFailed&&(s=n.msn,m=n.part,E=Wr.No),new At(s,m,E)}checkRetry(t){const n=t.details,s=ft(t),m=t.errorAction,{action:E,retryCount:T=0,retryConfig:j}=m||{},Y=!!m&&!!j&&(E===qe.RetryRequest||!m.resolved&&E===qe.SendAlternateToPenaltyBox);if(Y){var H;if(T>=j.maxNumRetry)return!1;if(s&&(H=t.context)!=null&&H.deliveryDirectives)this.warn(`Retrying playlist loading ${T+1}/${j.maxNumRetry} after "${n}" without delivery-directives`),this.loadPlaylist();else{const te=fr(j,T);this.clearTimer(),this.timer=self.setTimeout(()=>this.loadPlaylist(),te),this.warn(`Retrying playlist loading ${T+1}/${j.maxNumRetry} after "${n}" in ${te}ms`)}t.levelRetry=!0,m.resolved=!0}return Y}}function wl(w,t){if(w.length!==t.length)return!1;for(let n=0;n<w.length;n++)if(!Ms(w[n].attrs,t[n].attrs))return!1;return!0}function Ms(w,t,n){const s=w["STABLE-RENDITION-ID"];return s&&!n?s===t["STABLE-RENDITION-ID"]:!(n||["LANGUAGE","NAME","CHARACTERISTICS","AUTOSELECT","DEFAULT","FORCED","ASSOC-LANGUAGE"]).some(m=>w[m]!==t[m])}function Uo(w,t){return t.label.toLowerCase()===w.name.toLowerCase()&&(!t.language||t.language.toLowerCase()===(w.lang||"").toLowerCase())}class Bu extends jo{constructor(t){super(t,"audio-track-controller"),this.tracks=[],this.groupIds=null,this.tracksInGroup=[],this.trackId=-1,this.currentTrack=null,this.selectDefaultTrack=!0,this.registerListeners()}registerListeners(){const{hls:t}=this;t.on(o.MANIFEST_LOADING,this.onManifestLoading,this),t.on(o.MANIFEST_PARSED,this.onManifestParsed,this),t.on(o.LEVEL_LOADING,this.onLevelLoading,this),t.on(o.LEVEL_SWITCHING,this.onLevelSwitching,this),t.on(o.AUDIO_TRACK_LOADED,this.onAudioTrackLoaded,this),t.on(o.ERROR,this.onError,this)}unregisterListeners(){const{hls:t}=this;t.off(o.MANIFEST_LOADING,this.onManifestLoading,this),t.off(o.MANIFEST_PARSED,this.onManifestParsed,this),t.off(o.LEVEL_LOADING,this.onLevelLoading,this),t.off(o.LEVEL_SWITCHING,this.onLevelSwitching,this),t.off(o.AUDIO_TRACK_LOADED,this.onAudioTrackLoaded,this),t.off(o.ERROR,this.onError,this)}destroy(){this.unregisterListeners(),this.tracks.length=0,this.tracksInGroup.length=0,this.currentTrack=null,super.destroy()}onManifestLoading(){this.tracks=[],this.tracksInGroup=[],this.groupIds=null,this.currentTrack=null,this.trackId=-1,this.selectDefaultTrack=!0}onManifestParsed(t,n){this.tracks=n.audioTracks||[]}onAudioTrackLoaded(t,n){const{id:s,groupId:m,details:E}=n,T=this.tracksInGroup[s];if(!T||T.groupId!==m){this.warn(`Audio track with id:${s} and group:${m} not found in active group ${T==null?void 0:T.groupId}`);return}const j=T.details;T.details=n.details,this.log(`Audio track ${s} "${T.name}" lang:${T.lang} group:${m} loaded [${E.startSN}-${E.endSN}]`),s===this.trackId&&this.playlistLoaded(s,n,j)}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(j=>(m==null?void 0:m.indexOf(j))===-1)){this.groupIds=s,this.trackId=-1,this.currentTrack=null;const j=this.tracks.filter(me=>!s||s.indexOf(me.groupId)!==-1);if(j.length)this.selectDefaultTrack&&!j.some(me=>me.default)&&(this.selectDefaultTrack=!1),j.forEach((me,we)=>{me.id=we});else if(!E&&!this.tracksInGroup.length)return;this.tracksInGroup=j;const Y=this.hls.config.audioPreference;if(!E&&Y){const me=Qi(Y,j,st);if(me>-1)E=j[me];else{const we=Qi(Y,this.tracks);E=this.tracks[we]}}let H=this.findTrackId(E);H===-1&&E&&(H=this.findTrackId(null));const te={audioTracks:j};this.log(`Updating audio tracks, ${j.length} track(s) found in group(s): ${s==null?void 0:s.join(",")}`),this.hls.trigger(o.AUDIO_TRACKS_UPDATED,te);const oe=this.trackId;if(H!==-1&&oe===-1)this.setAudioTrack(H);else if(j.length&&oe===-1){var T;const me=new Error(`No audio track selected for current audio group-ID(s): ${(T=this.groupIds)==null?void 0:T.join(",")} track count: ${j.length}`);this.warn(me.message),this.hls.trigger(o.ERROR,{type:c.MEDIA_ERROR,details:f.AUDIO_TRACK_LOAD_ERROR,fatal:!0,error:me})}}}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&&Gn(t,m,st))return m;const E=Qi(t,this.tracksInGroup,st);if(E>-1){const T=this.tracksInGroup[E];return this.setAudioTrack(E),T}else if(m){let T=n.loadLevel;T===-1&&(T=n.firstAutoLevel);const j=Vn(t,n.levels,s,T,st);if(j===-1)return null;n.nextLoadLevel=j}if(t.channels||t.audioCodec){const T=Qi(t,s);if(T>-1)return s[T]}}}return null}setAudioTrack(t){const n=this.tracksInGroup;if(t<0||t>=n.length){this.warn(`Invalid audio track id: ${t}`);return}this.selectDefaultTrack=!1;const s=this.currentTrack,m=n[t],E=m.details&&!m.details.live;if(t===this.trackId&&m===s&&E||(this.log(`Switching to audio-track ${t} "${m.name}" lang:${m.lang} group:${m.groupId} channels:${m.channels}`),this.trackId=t,this.currentTrack=m,this.hls.trigger(o.AUDIO_TRACK_SWITCHING,b({},m)),E))return;const T=this.switchParams(m.url,s==null?void 0:s.details,m.details);this.loadPlaylist(T)}findTrackId(t){const n=this.tracksInGroup;for(let s=0;s<n.length;s++){const m=n[s];if(!(this.selectDefaultTrack&&!m.default)&&(!t||Gn(t,m,st)))return s}if(t){const{name:s,lang:m,assocLang:E,characteristics:T,audioCodec:j,channels:Y}=t;for(let H=0;H<n.length;H++){const te=n[H];if(Gn({name:s,lang:m,assocLang:E,characteristics:T,audioCodec:j,channels:Y},te,st))return H}for(let H=0;H<n.length;H++){const te=n[H];if(Ms(t.attrs,te.attrs,["LANGUAGE","ASSOC-LANGUAGE","CHARACTERISTICS"]))return H}for(let H=0;H<n.length;H++){const te=n[H];if(Ms(t.attrs,te.attrs,["LANGUAGE"]))return H}}return-1}loadPlaylist(t){super.loadPlaylist();const n=this.currentTrack;this.shouldLoadPlaylist(n)&&Kn(n.url,this.hls)&&this.scheduleLoading(n,t)}loadingPlaylist(t,n){super.loadingPlaylist(t,n);const s=t.id,m=t.groupId,E=this.getUrlWithDirectives(t.url,n),T=t.details,j=T==null?void 0:T.age;this.log(`Loading audio-track ${s} "${t.name}" lang:${t.lang} group:${m}${(n==null?void 0:n.msn)!==void 0?" at sn "+n.msn+" part "+n.part:""}${j&&T.live?" age "+j.toFixed(1)+(T.type?" "+T.type||0:""):""} ${E}`),this.hls.trigger(o.AUDIO_TRACK_LOADING,{url:E,id:s,groupId:m,deliveryDirectives:n||null,track:t})}}class Ul{constructor(t){this.tracks=void 0,this.queues={video:[],audio:[],audiovideo:[]},this.tracks=t}destroy(){this.tracks=this.queues=null}append(t,n,s){if(this.queues===null||this.tracks===null)return;const m=this.queues[n];m.push(t),m.length===1&&!s&&this.executeNext(n)}appendBlocker(t){return new Promise(n=>{const s={label:"async-blocker",execute:n,onStart:()=>{},onComplete:()=>{},onError:()=>{}};this.append(s,t)})}prependBlocker(t){return new Promise(n=>{if(this.queues){const s={label:"async-blocker-prepend",execute:n,onStart:()=>{},onComplete:()=>{},onError:()=>{}};this.queues[t].unshift(s)}})}removeBlockers(){this.queues!==null&&[this.queues.video,this.queues.audio,this.queues.audiovideo].forEach(t=>{var n;const s=(n=t[0])==null?void 0:n.label;(s==="async-blocker"||s==="async-blocker-prepend")&&(t[0].execute(),t.splice(0,1))})}unblockAudio(t){if(this.queues===null)return;this.queues.audio[0]===t&&this.shiftAndExecuteNext("audio")}executeNext(t){if(this.queues===null||this.tracks===null)return;const n=this.queues[t];if(n.length){const m=n[0];try{m.execute()}catch(E){var s;if(m.onError(E),this.queues===null||this.tracks===null)return;const T=(s=this.tracks[t])==null?void 0:s.buffer;T!=null&&T.updating||this.shiftAndExecuteNext(t)}}}shiftAndExecuteNext(t){this.queues!==null&&(this.queues[t].shift(),this.executeNext(t))}current(t){var n;return((n=this.queues)==null?void 0:n[t][0])||null}toString(){const{queues:t,tracks:n}=this;return t===null||n===null?"<destroyed>":`
|
|
|
${this.list("video")}
|
|
|
${this.list("audio")}
|
|
|
${this.list("audiovideo")}}`}list(t){var n,s;return(n=this.queues)!=null&&n[t]||(s=this.tracks)!=null&&s[t]?`${t}: (${this.listSbInfo(t)}) ${this.listOps(t)}`:""}listSbInfo(t){var n;const s=(n=this.tracks)==null?void 0:n[t],m=s==null?void 0:s.buffer;return m?`SourceBuffer${m.updating?" updating":""}${s.ended?" ended":""}${s.ending?" ending":""}`:"none"}listOps(t){var n;return((n=this.queues)==null?void 0:n[t].map(s=>s.label).join(", "))||""}}const yu=/(avc[1234]|hvc1|hev1|dvh[1e]|vp09|av01)(?:\.[^.,]+)+/,ac="HlsJsTrackRemovedError";class zl extends Error{constructor(t){super(t),this.name=ac}}class ri extends R{constructor(t,n){super("buffer-controller",t.logger),this.hls=void 0,this.fragmentTracker=void 0,this.details=null,this._objectUrl=null,this.operationQueue=null,this.bufferCodecEventsTotal=0,this.media=null,this.mediaSource=null,this.lastMpegAudioChunk=null,this.blockedAudioAppend=null,this.lastVideoAppendEnd=0,this.appendSource=void 0,this.transferData=void 0,this.overrides=void 0,this.appendErrors={audio:0,video:0,audiovideo:0},this.tracks={},this.sourceBuffers=[[null,null],[null,null]],this._onEndStreaming=s=>{var m;this.hls&&((m=this.mediaSource)==null?void 0:m.readyState)==="open"&&this.hls.pauseBuffering()},this._onStartStreaming=s=>{this.hls&&this.hls.resumeBuffering()},this._onMediaSourceOpen=s=>{const{media:m,mediaSource:E}=this;s&&this.log("Media source opened"),!(!m||!E)&&(E.removeEventListener("sourceopen",this._onMediaSourceOpen),m.removeEventListener("emptied",this._onMediaEmptied),this.updateDuration(),this.hls.trigger(o.MEDIA_ATTACHED,{media:m,mediaSource:E}),this.mediaSource!==null&&this.checkPendingTracks())},this._onMediaSourceClose=()=>{this.log("Media source closed")},this._onMediaSourceEnded=()=>{this.log("Media source ended")},this._onMediaEmptied=()=>{const{mediaSrc:s,_objectUrl:m}=this;s!==m&&this.error(`Media element src was set while attaching MediaSource (${m} > ${s})`)},this.hls=t,this.fragmentTracker=n,this.appendSource=ie(se(t.config.preferManagedMediaSource)),this.initTracks(),this.registerListeners()}hasSourceTypes(){return Object.keys(this.tracks).length>0}destroy(){this.unregisterListeners(),this.details=null,this.lastMpegAudioChunk=this.blockedAudioAppend=null,this.transferData=this.overrides=void 0,this.operationQueue&&(this.operationQueue.destroy(),this.operationQueue=null),this.hls=this.fragmentTracker=null,this._onMediaSourceOpen=this._onMediaSourceClose=null,this._onMediaSourceEnded=null,this._onStartStreaming=this._onEndStreaming=null}registerListeners(){const{hls:t}=this;t.on(o.MEDIA_ATTACHING,this.onMediaAttaching,this),t.on(o.MEDIA_DETACHING,this.onMediaDetaching,this),t.on(o.MANIFEST_LOADING,this.onManifestLoading,this),t.on(o.MANIFEST_PARSED,this.onManifestParsed,this),t.on(o.BUFFER_RESET,this.onBufferReset,this),t.on(o.BUFFER_APPENDING,this.onBufferAppending,this),t.on(o.BUFFER_CODECS,this.onBufferCodecs,this),t.on(o.BUFFER_EOS,this.onBufferEos,this),t.on(o.BUFFER_FLUSHING,this.onBufferFlushing,this),t.on(o.LEVEL_UPDATED,this.onLevelUpdated,this),t.on(o.FRAG_PARSED,this.onFragParsed,this),t.on(o.FRAG_CHANGED,this.onFragChanged,this),t.on(o.ERROR,this.onError,this)}unregisterListeners(){const{hls:t}=this;t.off(o.MEDIA_ATTACHING,this.onMediaAttaching,this),t.off(o.MEDIA_DETACHING,this.onMediaDetaching,this),t.off(o.MANIFEST_LOADING,this.onManifestLoading,this),t.off(o.MANIFEST_PARSED,this.onManifestParsed,this),t.off(o.BUFFER_RESET,this.onBufferReset,this),t.off(o.BUFFER_APPENDING,this.onBufferAppending,this),t.off(o.BUFFER_CODECS,this.onBufferCodecs,this),t.off(o.BUFFER_EOS,this.onBufferEos,this),t.off(o.BUFFER_FLUSHING,this.onBufferFlushing,this),t.off(o.LEVEL_UPDATED,this.onLevelUpdated,this),t.off(o.FRAG_PARSED,this.onFragParsed,this),t.off(o.FRAG_CHANGED,this.onFragChanged,this),t.off(o.ERROR,this.onError,this)}transferMedia(){const{media:t,mediaSource:n}=this;if(!t)return null;const s={};if(this.operationQueue){const E=this.isUpdating();E||this.operationQueue.removeBlockers();const T=this.isQueued();(E||T)&&this.warn(`Transfering MediaSource with${T?" operations in queue":""}${E?" updating SourceBuffer(s)":""} ${this.operationQueue}`),this.operationQueue.destroy()}const m=this.transferData;return!this.sourceBufferCount&&m&&m.mediaSource===n?y(s,m.tracks):this.sourceBuffers.forEach(E=>{const[T]=E;T&&(s[T]=y({},this.tracks[T]),this.removeBuffer(T)),E[0]=E[1]=null}),{media:t,mediaSource:n,tracks:s}}initTracks(){const t={};this.sourceBuffers=[[null,null],[null,null]],this.tracks=t,this.resetQueue(),this.resetAppendErrors(),this.lastMpegAudioChunk=this.blockedAudioAppend=null,this.lastVideoAppendEnd=0}onManifestLoading(){this.bufferCodecEventsTotal=0,this.details=null}onManifestParsed(t,n){var s;let m=2;(n.audio&&!n.video||!n.altAudio)&&(m=1),this.bufferCodecEventsTotal=m,this.log(`${m} bufferCodec event(s) expected.`),(s=this.transferData)!=null&&s.mediaSource&&this.sourceBufferCount&&m&&this.bufferCreated()}onMediaAttaching(t,n){const s=this.media=n.media,m=se(this.appendSource);if(this.transferData=this.overrides=void 0,s&&m){const E=!!n.mediaSource;(E||n.overrides)&&(this.transferData=n,this.overrides=n.overrides);const T=this.mediaSource=n.mediaSource||new m;if(this.assignMediaSource(T),E)this._objectUrl=s.src,this.attachTransferred();else{const j=this._objectUrl=self.URL.createObjectURL(T);if(this.appendSource)try{s.removeAttribute("src");const Y=self.ManagedMediaSource;s.disableRemotePlayback=s.disableRemotePlayback||Y&&T instanceof Y,sc(s),oo(s,j),s.load()}catch(Y){s.src=j}else s.src=j}s.addEventListener("emptied",this._onMediaEmptied)}}assignMediaSource(t){var n,s;this.log(`${((n=this.transferData)==null?void 0:n.mediaSource)===t?"transferred":"created"} media source: ${(s=t.constructor)==null?void 0:s.name}`),t.addEventListener("sourceopen",this._onMediaSourceOpen),t.addEventListener("sourceended",this._onMediaSourceEnded),t.addEventListener("sourceclose",this._onMediaSourceClose),this.appendSource&&(t.addEventListener("startstreaming",this._onStartStreaming),t.addEventListener("endstreaming",this._onEndStreaming))}attachTransferred(){const t=this.media,n=this.transferData;if(!n||!t)return;const s=this.tracks,m=n.tracks,E=m?Object.keys(m):null,T=E?E.length:0,j=()=>{this.media&&this.mediaSourceOpenOrEnded&&this._onMediaSourceOpen()};if(m&&E&&T){if(!this.tracksReady){this.hls.config.startFragPrefetch=!0,this.log("attachTransferred: waiting for SourceBuffer track info");return}if(this.log(`attachTransferred: (bufferCodecEventsTotal ${this.bufferCodecEventsTotal})
|
|
|
required tracks: ${Un(s,(Y,H)=>Y==="initSegment"?void 0:H)};
|
|
|
transfer tracks: ${Un(m,(Y,H)=>Y==="initSegment"?void 0:H)}}`),!le(m,s)){n.mediaSource=null,n.tracks=void 0;const Y=t.currentTime,H=this.details,te=Math.max(Y,(H==null?void 0:H.fragments[0].start)||0);if(te-Y>1){this.log(`attachTransferred: waiting for playback to reach new tracks start time ${Y} -> ${te}`);return}this.warn(`attachTransferred: resetting MediaSource for incompatible tracks ("${Object.keys(m)}"->"${Object.keys(s)}") start time: ${te} currentTime: ${Y}`),this.onMediaDetaching(o.MEDIA_DETACHING,{}),this.onMediaAttaching(o.MEDIA_ATTACHING,n),t.currentTime=te;return}this.transferData=void 0,E.forEach(Y=>{const H=Y,te=m[H];if(te){const oe=te.buffer;if(oe){const me=this.fragmentTracker,we=te.id;if(me.hasFragments(we)||me.hasParts(we)){const Je=Zn.getBuffered(oe);me.detectEvictedFragments(H,Je,we,null,!0)}const Se=Zl(H),ut=[H,oe];this.sourceBuffers[Se]=ut,oe.updating&&this.operationQueue&&this.operationQueue.prependBlocker(H),this.trackSourceBuffer(H,te)}}}),j(),this.bufferCreated()}else this.log("attachTransferred: MediaSource w/o SourceBuffers"),j()}get mediaSourceOpenOrEnded(){var t;const n=(t=this.mediaSource)==null?void 0:t.readyState;return n==="open"||n==="ended"}onMediaDetaching(t,n){const s=!!n.transferMedia;this.transferData=this.overrides=void 0;const{media:m,mediaSource:E,_objectUrl:T}=this;if(E){if(this.log(`media source ${s?"transferring":"detaching"}`),s)this.sourceBuffers.forEach(([j])=>{j&&this.removeBuffer(j)}),this.resetQueue();else{if(this.mediaSourceOpenOrEnded){const j=E.readyState==="open";try{const Y=E.sourceBuffers;for(let H=Y.length;H--;)j&&Y[H].abort(),E.removeSourceBuffer(Y[H]);j&&E.endOfStream()}catch(Y){this.warn(`onMediaDetaching: ${Y.message} while calling endOfStream`)}}this.sourceBufferCount&&this.onBufferReset()}E.removeEventListener("sourceopen",this._onMediaSourceOpen),E.removeEventListener("sourceended",this._onMediaSourceEnded),E.removeEventListener("sourceclose",this._onMediaSourceClose),this.appendSource&&(E.removeEventListener("startstreaming",this._onStartStreaming),E.removeEventListener("endstreaming",this._onEndStreaming)),this.mediaSource=null,this._objectUrl=null}m&&(m.removeEventListener("emptied",this._onMediaEmptied),s||(T&&self.URL.revokeObjectURL(T),this.mediaSrc===T?(m.removeAttribute("src"),this.appendSource&&sc(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[Zl(t)]=[null,null];const n=this.tracks[t];n&&(n.buffer=void 0)}resetQueue(){this.operationQueue&&this.operationQueue.destroy(),this.operationQueue=new Ul(this.tracks)}onBufferCodecs(t,n){const s=this.tracks,m=Object.keys(n);this.log(`BUFFER_CODECS: "${m}" (current SB count ${this.sourceBufferCount})`);const E="audiovideo"in n&&(s.audio||s.video)||s.audiovideo&&("audio"in n||"video"in n),T=!E&&this.sourceBufferCount&&this.media&&m.some(j=>!s[j]);if(E||T){this.warn(`Unsupported transition between "${Object.keys(s)}" and "${m}" SourceBuffers`);return}m.forEach(j=>{var Y,H,te;const oe=n[j],{id:me,codec:we,levelCodec:Se,container:ut,metadata:Je,supplemental:Lt}=oe;let rr=s[j];const Yt=(Y=this.transferData)==null||(H=Y.tracks)==null?void 0:H[j],Cr=Yt!=null&&Yt.buffer?Yt:rr,Hr=(Cr==null?void 0:Cr.pendingCodec)||(Cr==null?void 0:Cr.codec),cn=Cr==null?void 0:Cr.levelCodec;rr||(rr=s[j]={buffer:void 0,listeners:[],codec:we,supplemental:Lt,container:ut,levelCodec:Se,metadata:Je,id:me});const zr=Be(Hr,cn),qr=zr==null?void 0:zr.replace(yu,"$1");let an=Be(we,Se);const Br=(te=an)==null?void 0:te.replace(yu,"$1");an&&zr&&qr!==Br&&(j.slice(0,5)==="audio"&&(an=mt(an,this.appendSource)),this.log(`switching codec ${Hr} to ${an}`),an!==(rr.pendingCodec||rr.codec)&&(rr.pendingCodec=an),rr.container=ut,this.appendChangeType(j,ut,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 T=this.tracks[t];if(T){const j=T.buffer;j!=null&&j.changeType&&(this.log(`changing ${t} sourceBuffer type to ${m}`),j.changeType(m),T.codec=s,T.container=n)}this.shiftAndExecuteNext(t)},onStart:()=>{},onComplete:()=>{},onError:T=>{this.warn(`Failed to change ${t} SourceBuffer type`,T)}};this.append(E,t,this.isPending(this.tracks[t]))}blockAudio(t){var n;const s=t.start,m=s+t.duration*.05;if(((n=this.fragmentTracker.getAppendedFrag(s,u.MAIN))==null?void 0:n.gap)===!0)return;const T={label:"block-audio",execute:()=>{var j;const Y=this.tracks.video;(this.lastVideoAppendEnd>m||Y!=null&&Y.buffer&&Zn.isBuffered(Y.buffer,m)||((j=this.fragmentTracker.getAppendedFrag(m,u.MAIN))==null?void 0:j.gap)===!0)&&(this.blockedAudioAppend=null,this.shiftAndExecuteNext("audio"))},onStart:()=>{},onComplete:()=>{},onError:j=>{this.warn("Error executing block-audio operation",j)}};this.blockedAudioAppend={op:T,frag:t},this.append(T,"audio",!0)}unblockAudio(){const{blockedAudioAppend:t,operationQueue:n}=this;t&&n&&(this.blockedAudioAppend=null,n.unblockAudio(t.op))}onBufferAppending(t,n){const{tracks:s}=this,{data:m,type:E,parent:T,frag:j,part:Y,chunkMeta:H,offset:te}=n,oe=H.buffering[E],{sn:me,cc:we}=j,Se=self.performance.now();oe.start=Se;const ut=j.stats.buffering,Je=Y?Y.stats.buffering:null;ut.start===0&&(ut.start=Se),Je&&Je.start===0&&(Je.start=Se);const Lt=s.audio;let rr=!1;E==="audio"&&(Lt==null?void 0:Lt.container)==="audio/mpeg"&&(rr=!this.lastMpegAudioChunk||H.id===1||this.lastMpegAudioChunk.sn!==H.sn,this.lastMpegAudioChunk=H);const Yt=s.video,Cr=Yt==null?void 0:Yt.buffer;if(Cr&&me!=="initSegment"){const zr=Y||j,qr=this.blockedAudioAppend;if(E==="audio"&&T!=="main"&&!this.blockedAudioAppend){const Br=zr.start+zr.duration*.05,Fn=Cr.buffered,oi=this.currentOp("video");!Fn.length&&!oi?this.blockAudio(zr):!oi&&!Zn.isBuffered(Cr,Br)&&this.lastVideoAppendEnd<Br&&this.blockAudio(zr)}else if(E==="video"){const an=zr.end;if(qr){const Br=qr.frag.start;(an>Br||an<this.lastVideoAppendEnd||Zn.isBuffered(Cr,Br))&&this.unblockAudio()}this.lastVideoAppendEnd=an}}const Hr=(Y||j).start,cn={label:`append-${E}`,execute:()=>{var zr;oe.executeStart=self.performance.now();const qr=(zr=this.tracks[E])==null?void 0:zr.buffer;qr&&(rr?this.updateTimestampOffset(qr,Hr,.1,E,me,we):te!==void 0&&r(te)&&this.updateTimestampOffset(qr,te,1e-6,E,me,we)),this.appendExecutor(m,E)},onStart:()=>{},onComplete:()=>{const zr=self.performance.now();oe.executeEnd=oe.end=zr,ut.first===0&&(ut.first=zr),Je&&Je.first===0&&(Je.first=zr);const qr={};this.sourceBuffers.forEach(([an,Br])=>{an&&(qr[an]=Zn.getBuffered(Br))}),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:j,part:Y,chunkMeta:H,parent:j.type,timeRanges:qr})},onError:zr=>{var qr;const an={type:c.MEDIA_ERROR,parent:j.type,details:f.BUFFER_APPEND_ERROR,sourceBufferName:E,frag:j,part:Y,chunkMeta:H,error:zr,err:zr,fatal:!1},Br=(qr=this.media)==null?void 0:qr.error;if(zr.code===DOMException.QUOTA_EXCEEDED_ERR||zr.name=="QuotaExceededError"||"quota"in zr)an.details=f.BUFFER_FULL_ERROR;else if(zr.code===DOMException.INVALID_STATE_ERR&&this.mediaSourceOpenOrEnded&&!Br)an.errorAction=ar(!0);else if(zr.name===ac&&this.sourceBufferCount===0)an.errorAction=ar(!0);else{const Fn=++this.appendErrors[E];this.warn(`Failed ${Fn}/${this.hls.config.appendErrorMaxRetry} times to append segment in "${E}" sourceBuffer (${Br||"no media error"})`),(Fn>=this.hls.config.appendErrorMaxRetry||Br)&&(an.fatal=!0)}this.hls.trigger(o.ERROR,an)}};this.append(cn,E,this.isPending(this.tracks[E]))}getFlushOp(t,n,s){return this.log(`queuing "${t}" remove ${n}-${s}`),{label:"remove",execute:()=>{this.removeExecutor(t,n,s)},onStart:()=>{},onComplete:()=>{this.hls.trigger(o.BUFFER_FLUSHED,{type:t})},onError:m=>{this.warn(`Failed to remove ${n}-${s} from "${t}" SourceBuffer`,m)}}}onBufferFlushing(t,n){const{type:s,startOffset:m,endOffset:E}=n;s?this.append(this.getFlushOp(s,m,E),s):this.sourceBuffers.forEach(([T])=>{T&&this.append(this.getFlushOp(T,m,E),T)})}onFragParsed(t,n){const{frag:s,part:m}=n,E=[],T=m?m.elementaryStreams:s.elementaryStreams;T[ae.AUDIOVIDEO]?E.push("audiovideo"):(T[ae.AUDIO]&&E.push("audio"),T[ae.VIDEO]&&E.push("video"));const j=()=>{const Y=self.performance.now();s.stats.buffering.end=Y,m&&(m.stats.buffering.end=Y);const H=m?m.stats:s.stats;this.hls.trigger(o.FRAG_BUFFERED,{frag:s,part:m,stats:H,id:s.type})};E.length===0&&this.warn(`Fragments must have at least one ElementaryStreamType set. type: ${s.type} level: ${s.level} sn: ${s.sn}`),this.blockBuffers(j,E).catch(Y=>{this.warn(`Fragment buffered callback ${Y}`),this.stepOperationQueue(this.sourceBufferTypes)})}onFragChanged(t,n){this.trimBuffers()}get bufferedToEnd(){return this.sourceBufferCount>0&&!this.sourceBuffers.some(([t])=>{var n,s;return t&&(!((n=this.tracks[t])!=null&&n.ended)||((s=this.tracks[t])==null?void 0:s.ending))})}onBufferEos(t,n){var s;this.sourceBuffers.forEach(([T])=>{if(T){const j=this.tracks[T];(!n.type||n.type===T)&&(j.ending=!0,j.ended||(j.ended=!0,this.log(`${T} buffer reached EOS`)))}});const m=((s=this.overrides)==null?void 0:s.endOfStream)!==!1;this.sourceBufferCount>0&&!this.sourceBuffers.some(([T])=>{var j;return T&&!((j=this.tracks[T])!=null&&j.ended)})&&(m?(this.log("Queueing EOS"),this.blockUntilOpen(()=>{this.tracksEnded();const{mediaSource:T}=this;if(!T||T.readyState!=="open"){T&&this.log(`Could not call mediaSource.endOfStream(). mediaSource.readyState: ${T.readyState}`);return}this.log("Calling mediaSource.endOfStream()"),T.endOfStream(),this.hls.trigger(o.BUFFERED_TO_END,void 0)})):(this.tracksEnded(),this.hls.trigger(o.BUFFERED_TO_END,void 0)))}tracksEnded(){this.sourceBuffers.forEach(([t])=>{if(t!==null){const n=this.tracks[t];n&&(n.ending=!1)}})}onLevelUpdated(t,{details:n}){n.fragments.length&&(this.details=n,this.updateDuration())}updateDuration(){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,T=n.levelTargetDuration,j=n.live&&m.liveBackBufferLength!==null?m.liveBackBufferLength:m.backBufferLength;if(r(j)&&j>=0){const Y=Math.max(j,T),H=Math.floor(E/T)*T-Y;this.flushBackBuffer(E,T,H)}if(r(m.frontBufferFlushThreshold)&&m.frontBufferFlushThreshold>0){const Y=Math.max(m.maxBufferLength,m.frontBufferFlushThreshold),H=Math.max(Y,T),te=Math.floor(E/T)*T+H;this.flushFrontBuffer(E,T,te)}}flushBackBuffer(t,n,s){this.sourceBuffers.forEach(([m,E])=>{if(E){const j=Zn.getBuffered(E);if(j.length>0&&s>j.start(0)){var T;this.hls.trigger(o.BACK_BUFFER_REACHED,{bufferEnd:s});const Y=this.tracks[m];if((T=this.details)!=null&&T.live)this.hls.trigger(o.LIVE_BACK_BUFFER_REACHED,{bufferEnd:s});else if(Y!=null&&Y.ended){this.log(`Cannot flush ${m} back buffer while SourceBuffer is in ended state`);return}this.hls.trigger(o.BUFFER_FLUSHING,{startOffset:0,endOffset:s,type:m})}}})}flushFrontBuffer(t,n,s){this.sourceBuffers.forEach(([m,E])=>{if(E){const T=Zn.getBuffered(E),j=T.length;if(j<2)return;const Y=T.start(j-1),H=T.end(j-1);if(s>Y||t>=Y&&t<=H)return;this.hls.trigger(o.BUFFER_FLUSHING,{startOffset:Y,endOffset:1/0,type:m})}})}getDurationAndRange(){var t;const{details:n,mediaSource:s}=this;if(!n||!this.media||(s==null?void 0:s.readyState)!=="open")return null;const m=n.edge;if(n.live&&this.hls.config.liveDurationInfinity){if(n.fragments.length&&n.live&&s.setLiveSeekableRange){const H=Math.max(0,n.fragmentStart),te=Math.max(H,m);return{duration:1/0,start:H,end:te}}return{duration:1/0}}const E=(t=this.overrides)==null?void 0:t.duration;if(E)return r(E)?{duration:E}:null;const T=this.media.duration,j=r(s.duration)?s.duration:0;return m>j&&m>T||!r(T)?{duration:m}:null}updateMediaSource({duration:t,start:n,end:s}){const m=this.mediaSource;!this.media||!m||m.readyState!=="open"||(m.duration!==t&&(r(t)&&this.log(`Updating MediaSource duration to ${t.toFixed(3)}`),m.duration=t),n!==void 0&&s!==void 0&&(this.log(`MediaSource duration is set to ${m.duration}. Setting seekable range to ${n}-${s}.`),m.setLiveSeekableRange(n,s)))}get tracksReady(){const t=this.pendingTrackCount;return t>0&&(t>=this.bufferCodecEventsTotal||this.isPending(this.tracks.audiovideo))}checkPendingTracks(){const{bufferCodecEventsTotal:t,pendingTrackCount:n,tracks:s}=this;if(this.log(`checkPendingTracks (pending: ${n} codec events expected: ${t}) ${Un(s)}`),this.tracksReady){var m;const E=(m=this.transferData)==null?void 0:m.tracks;E&&Object.keys(E).length?this.attachTransferred():this.createSourceBuffers()}}bufferCreated(){if(this.sourceBufferCount){const t={};this.sourceBuffers.forEach(([n,s])=>{if(n){const m=this.tracks[n];t[n]={buffer:s,container:m.container,codec:m.codec,supplemental:m.supplemental,levelCodec:m.levelCodec,id:m.id,metadata:m.metadata}}}),this.hls.trigger(o.BUFFER_CREATED,{tracks:t}),this.log(`SourceBuffers created. Running queue: ${this.operationQueue}`),this.sourceBuffers.forEach(([n])=>{this.executeNext(n)})}else{const t=new Error("could not create source buffer for media codec(s)");this.hls.trigger(o.ERROR,{type:c.MEDIA_ERROR,details:f.BUFFER_INCOMPATIBLE_CODECS_ERROR,fatal:!0,error:t,reason:t.message})}}createSourceBuffers(){const{tracks:t,sourceBuffers:n,mediaSource:s}=this;if(!s)throw new Error("createSourceBuffers called when mediaSource was null");for(const E in t){const T=E,j=t[T];if(this.isPending(j)){const Y=this.getTrackCodec(j,T),H=`${j.container};codecs=${Y}`;j.codec=Y,this.log(`creating sourceBuffer(${H})${this.currentOp(T)?" Queued":""} ${Un(j)}`);try{const te=s.addSourceBuffer(H),oe=Zl(T),me=[T,te];n[oe]=me,j.buffer=te}catch(te){var m;this.error(`error while trying to add sourceBuffer: ${te.message}`),this.shiftAndExecuteNext(T),(m=this.operationQueue)==null||m.removeBlockers(),delete this.tracks[T],this.hls.trigger(o.ERROR,{type:c.MEDIA_ERROR,details:f.BUFFER_ADD_CODEC_ERROR,fatal:!1,error:te,sourceBufferName:T,mimeType:H,parent:j.id});return}this.trackSourceBuffer(T,j)}}this.bufferCreated()}getTrackCodec(t,n){const s=t.supplemental;let m=t.codec;s&&(n==="video"||n==="audiovideo")&&Ie(s,"video")&&(m=Mt(m,s));const E=Be(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,T)=>{const j=T.removedRanges;j!=null&&j.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,T){const j=n-t.timestampOffset;Math.abs(j)>=s&&(this.log(`Updating ${m} SourceBuffer timestampOffset to ${n} (sn: ${E} cc: ${T})`),t.timestampOffset=n)}removeExecutor(t,n,s){const{media:m,mediaSource:E}=this,T=this.tracks[t],j=T==null?void 0:T.buffer;if(!m||!E||!j){this.warn(`Attempting to remove from the ${t} SourceBuffer, but it does not exist`),this.shiftAndExecuteNext(t);return}const Y=r(m.duration)?m.duration:1/0,H=r(E.duration)?E.duration:1/0,te=Math.max(0,n),oe=Math.min(s,Y,H);oe>te&&(!T.ending||T.ended)?(T.ended=!1,this.log(`Removing [${te},${oe}] from the ${t} SourceBuffer`),j.remove(te,oe)):this.shiftAndExecuteNext(t)}appendExecutor(t,n){const s=this.tracks[n],m=s==null?void 0:s.buffer;if(!m)throw new zl(`Attempting to append to the ${n} SourceBuffer, but it does not exist`);s.ending=!1,s.ended=!1,m.appendBuffer(t)}blockUntilOpen(t){if(this.isUpdating()||this.isQueued())this.blockBuffers(t).catch(n=>{this.warn(`SourceBuffer blocked callback ${n}`),this.stepOperationQueue(this.sourceBufferTypes)});else try{t()}catch(n){this.warn(`Callback run without blocking ${this.operationQueue} ${n}`)}}isUpdating(){return this.sourceBuffers.some(([t,n])=>t&&n.updating)}isQueued(){return this.sourceBuffers.some(([t])=>t&&!!this.currentOp(t))}isPending(t){return!!t&&!t.buffer}blockBuffers(t,n=this.sourceBufferTypes){if(!n.length)return this.log("Blocking operation requested, but no SourceBuffers exist"),Promise.resolve().then(t);const{operationQueue:s}=this,m=n.map(T=>this.appendBlocker(T));return n.length>1&&!!this.blockedAudioAppend&&this.unblockAudio(),Promise.all(m).then(T=>{s===this.operationQueue&&(t(),this.stepOperationQueue(this.sourceBufferTypes))})}stepOperationQueue(t){t.forEach(n=>{var s;const m=(s=this.tracks[n])==null?void 0:s.buffer;!m||m.updating||this.shiftAndExecuteNext(n)})}append(t,n,s){this.operationQueue&&this.operationQueue.append(t,n,s)}appendBlocker(t){if(this.operationQueue)return this.operationQueue.appendBlocker(t)}currentOp(t){return this.operationQueue?this.operationQueue.current(t):null}executeNext(t){t&&this.operationQueue&&this.operationQueue.executeNext(t)}shiftAndExecuteNext(t){this.operationQueue&&this.operationQueue.shiftAndExecuteNext(t)}get pendingTrackCount(){return Object.keys(this.tracks).reduce((t,n)=>t+(this.isPending(this.tracks[n])?1:0),0)}get sourceBufferCount(){return this.sourceBuffers.reduce((t,[n])=>t+(n?1:0),0)}get sourceBufferTypes(){return this.sourceBuffers.map(([t])=>t).filter(t=>!!t)}addBufferListener(t,n,s){const m=this.tracks[t];if(!m)return;const E=m.buffer;if(!E)return;const T=s.bind(this,t);m.listeners.push({event:n,listener:T}),E.addEventListener(n,T)}removeBufferListeners(t){const n=this.tracks[t];if(!n)return;const s=n.buffer;s&&(n.listeners.forEach(m=>{s.removeEventListener(m.event,m.listener)}),n.listeners.length=0)}}function sc(w){const t=w.querySelectorAll("source");[].slice.call(t).forEach(n=>{w.removeChild(n)})}function oo(w,t){const n=self.document.createElement("source");n.type="video/mp4",n.src=t,w.appendChild(n)}function Zl(w){return w==="audio"?1:0}class Jo{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,Jo.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=(j,Y)=>Y?j.width!==Y.width||j.height!==Y.height:!0;let E=t.length-1;const T=Math.max(n,s);for(let j=0;j<t.length;j+=1){const Y=t[j];if((Y.width>=T||Y.height>=T)&&m(Y,t[j+1])){E=j;break}}return E}}const eo={MANIFEST:"m",AUDIO:"a",VIDEO:"v",MUXED:"av",INIT:"i",CAPTION:"c",TIMED_TEXT:"tt",KEY:"k",OTHER:"o"},Ec={HLS:"h"},bu={OBJECT:"CMCD-Object",REQUEST:"CMCD-Request",SESSION:"CMCD-Session",STATUS:"CMCD-Status"},wc={[bu.OBJECT]:["br","ab","d","ot","tb","tpb","lb","tab","lab","url"],[bu.REQUEST]:["pb","bl","tbl","dl","ltc","mtp","nor","nrr","rc","sn","sta","su","ttfb","ttfbb","ttlb","cmsdd","cmsds","smrt","df","cs"],[bu.SESSION]:["cid","pr","sf","sid","st","v","msd"],[bu.STATUS]:["bs","bsd","cdn","rtp","bg","pt","ec","e"]};class xu{constructor(t,n){Array.isArray(t)&&(t=t.map(s=>s instanceof xu?s:new xu(s))),this.value=t,this.params=n}}const pu="Dict";function Sl(w){return Array.isArray(w)?JSON.stringify(w):w instanceof Map?"Map{}":w instanceof Set?"Set{}":typeof w=="object"?JSON.stringify(w):String(w)}function Hs(w,t,n,s){return new Error(`failed to ${w} "${Sl(t)}" as ${n}`,{cause:s})}function Fs(w,t,n){return Hs("serialize",w,t,n)}class Lo{constructor(t){this.description=t}}const Hl="Bare Item",Al="Boolean";function su(w){if(typeof w!="boolean")throw Fs(w,Al);return w?"?1":"?0"}function Sc(w){return btoa(String.fromCharCode(...w))}const Ac="Byte Sequence";function ou(w){if(ArrayBuffer.isView(w)===!1)throw Fs(w,Ac);return`:${Sc(w)}:`}const Cl="Integer";function Eu(w){return w<-999999999999999||999999999999999<w}function Wl(w){if(Eu(w))throw Fs(w,Cl);return w.toString()}function il(w){return`@${Wl(w.getTime()/1e3)}`}function Ca(w,t){if(w<0)return-Ca(-w,t);const n=Math.pow(10,t);if(Math.abs(w*n%1-.5)<Number.EPSILON){const m=Math.floor(w*n);return(m%2===0?m:m+1)/n}else return Math.round(w*n)/n}const af="Decimal";function Zc(w){const t=Ca(w,3);if(Math.floor(Math.abs(t)).toString().length>12)throw Fs(w,af);const n=t.toString();return n.includes(".")?n:`${n}.0`}const Nu="String",Cc=/[\x00-\x1f\x7f]+/;function sf(w){if(Cc.test(w))throw Fs(w,Nu);return`"${w.replace(/\\/g,"\\\\").replace(/"/g,'\\"')}"`}function oc(w){return w.description||w.toString().slice(7,-1)}const uu="Token";function Tc(w){const t=oc(w);if(/^([a-zA-Z*])([!#$%&'*+\-.^_`|~\w:/]*)$/.test(t)===!1)throw Fs(t,uu);return t}function Tl(w){switch(typeof w){case"number":if(!r(w))throw Fs(w,Hl);return Number.isInteger(w)?Wl(w):Zc(w);case"string":return sf(w);case"symbol":return Tc(w);case"boolean":return su(w);case"object":if(w instanceof Date)return il(w);if(w instanceof Uint8Array)return ou(w);if(w instanceof Lo)return Tc(w);default:throw Fs(w,Hl)}}const Gl="Key";function uc(w){if(/^[a-z*][a-z0-9\-_.*]*$/.test(w)===!1)throw Fs(w,Gl);return w}function Vl(w){return w==null?"":Object.entries(w).map(([t,n])=>n===!0?`;${uc(t)}`:`;${uc(t)}=${Tl(n)}`).join("")}function eu(w){return w instanceof xu?`${Tl(w.value)}${Vl(w.params)}`:Tl(w)}function $u(w){return`(${w.value.map(eu).join(" ")})${Vl(w.params)}`}function lc(w,t={whitespace:!0}){if(typeof w!="object")throw Fs(w,pu);const n=w instanceof Map?w.entries():Object.entries(w),s=t!=null&&t.whitespace?" ":"";return Array.from(n).map(([m,E])=>{E instanceof xu||(E=new xu(E));let T=uc(m);return E.value===!0?T+=Vl(E.params):(T+="=",Array.isArray(E.value)?T+=$u(E):T+=eu(E)),T}).join(`,${s}`)}function ju(w,t){return lc(w,t)}function Pc(w){return["ot","sf","st","e","sta"].includes(w)}function Hc(w){return typeof w=="number"?r(w):w!=null&&w!==""&&w!==!1}function Kl(w,t){const n=new URL(w),s=new URL(t);if(n.origin!==s.origin)return w;const m=n.pathname.split("/").slice(1),E=s.pathname.split("/").slice(1,-1);for(;m[0]===E[0];)m.shift(),E.shift();for(;E.length;)E.shift(),m.unshift("..");return m.join("/")}const Ws=w=>Math.round(w),Wc=(w,t)=>(t!=null&&t.baseUrl&&(w=Kl(w,t.baseUrl)),encodeURIComponent(w)),Pl=w=>Ws(w/100)*100,al={br:Ws,d:Ws,bl:Pl,dl:Pl,mtp:Pl,nor:Wc,rtp:Pl,tb:Ws};function Pu(w,t){const n={};if(w==null||typeof w!="object")return n;const s=Object.keys(w).sort(),m=y({},al,t==null?void 0:t.formatters),E=t==null?void 0:t.filter;return s.forEach(T=>{if((E==null?void 0:E(T))===!1)return;let j=w[T];const Y=m[T];Y&&(j=Y(j,t)),!(T==="v"&&j===1)&&(T=="pr"&&j===1||Hc(j)&&(Pc(T)&&typeof j=="string"&&(j=new Lo(j)),n[T]=j))}),n}function to(w,t={}){return w?ju(Pu(w,t),y({whitespace:!1},t)):""}function sl(w,t={}){const n={};if(!w)return n;const s=Object.entries(w),m=Object.entries(wc).concat(Object.entries((t==null?void 0:t.customHeaderMap)||{})),E=s.reduce((T,j)=>{var Y,H;const[te,oe]=j,me=((Y=m.find(we=>we[1].includes(te)))===null||Y===void 0?void 0:Y[0])||bu.REQUEST;return(H=T[me])!==null&&H!==void 0||(T[me]={}),T[me][te]=oe,T},{});return Object.entries(E).reduce((T,[j,Y])=>(T[j]=to(Y,t),T),n)}function of(w,t,n){return y(w,sl(t,n))}const Ic="CMCD";function Gc(w,t={}){if(!w)return"";const n=to(w,t);return`${Ic}=${encodeURIComponent(n)}`}const Yu=/CMCD=[^&#]+/;function Mo(w,t,n){const s=Gc(t,n);if(!s)return w;if(Yu.test(w))return w.replace(Yu,s);const m=w.includes("?")?"&":"?";return`${w}${m}${s}`}class Il{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:T}=m,j=this.hls.levels[E.level],Y=this.getObjectType(E),H={d:(T||E).duration*1e3,ot:Y};(Y===eo.VIDEO||Y===eo.AUDIO||Y==eo.MUXED)&&(H.br=j.bitrate/1e3,H.tb=this.getTopBandwidth(Y)/1e3,H.bl=this.getBufferLength(Y));const te=T?this.getNextPart(T):this.getNextFrag(E);te!=null&&te.url&&te.url!==E.url&&(H.nor=te.url),this.apply(m,H)}catch(E){this.hls.logger.warn("Could not generate segment CMCD data.",E)}},this.hls=t;const n=this.config=t.config,{cmcd:s}=n;s!=null&&(n.pLoader=this.createPlaylistLoader(),n.fLoader=this.createFragmentLoader(),this.sid=s.sessionId||t.sessionId,this.cid=s.contentId,this.useHeaders=s.useHeaders===!0,this.includeKeys=s.includeKeys,this.registerListeners())}registerListeners(){const t=this.hls;t.on(o.MEDIA_ATTACHED,this.onMediaAttached,this),t.on(o.MEDIA_DETACHED,this.onMediaDetached,this),t.on(o.BUFFER_CREATED,this.onBufferCreated,this)}unregisterListeners(){const t=this.hls;t.off(o.MEDIA_ATTACHED,this.onMediaAttached,this),t.off(o.MEDIA_DETACHED,this.onMediaDetached,this),t.off(o.BUFFER_CREATED,this.onBufferCreated,this)}destroy(){this.unregisterListeners(),this.onMediaDetached(),this.hls=this.config=this.audioBuffer=this.videoBuffer=null,this.onWaiting=this.onPlaying=this.media=null}onMediaAttached(t,n){this.media=n.media,this.media.addEventListener("waiting",this.onWaiting),this.media.addEventListener("playing",this.onPlaying)}onMediaDetached(){this.media&&(this.media.removeEventListener("waiting",this.onWaiting),this.media.removeEventListener("playing",this.onPlaying),this.media=null)}onBufferCreated(t,n){var s,m;this.audioBuffer=(s=n.tracks.audio)==null?void 0:s.buffer,this.videoBuffer=(m=n.tracks.video)==null?void 0:m.buffer}createData(){var t;return{v:1,sf:Ec.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((T,j)=>(m.includes(j)&&(T[j]=n[j]),T),{}));const E={baseUrl:t.url};this.useHeaders?(t.headers||(t.headers={}),of(t.headers,n,E)):t.url=Mo(t.url,n,E)}getNextFrag(t){var n;const s=(n=this.hls.levels[t.level])==null?void 0:n.details;if(s){const m=t.sn-s.startSN;return s.fragments[m+1]}}getNextPart(t){var n,s;const{index:m,fragment:E}=t,T=(n=this.hls.levels[E.level])==null||(s=n.details)==null?void 0:s.partList;if(T){const{sn:j}=E;for(let Y=T.length-1;Y>=0;Y--){const H=T[Y];if(H.index===m&&H.fragment.sn===j)return T[Y+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,T=E>-1?E+1:m.levels.length;s=m.levels.slice(0,T)}return s.forEach(E=>{E.bitrate>n&&(n=E.bitrate)}),n>0?n:NaN}getBufferLength(t){const n=this.media,s=t===eo.AUDIO?this.audioBuffer:this.videoBuffer;return!s||!n?NaN:Zn.bufferInfo(s,n.currentTime,this.config.maxBufferHole).len*1e3}createPlaylistLoader(){const{pLoader:t}=this.config,n=this.applyPlaylistData,s=t||this.config.loader;return class{constructor(E){this.loader=void 0,this.loader=new s(E)}get stats(){return this.loader.stats}get context(){return this.loader.context}destroy(){this.loader.destroy()}abort(){this.loader.abort()}load(E,T,j){n(E),this.loader.load(E,T,j)}}}createFragmentLoader(){const{fLoader:t}=this.config,n=this.applyFragmentData,s=t||this.config.loader;return class{constructor(E){this.loader=void 0,this.loader=new s(E)}get stats(){return this.loader.stats}get context(){return this.loader.context}destroy(){this.loader.destroy()}abort(){this.loader.abort()}load(E,T,j){n(E),this.loader.load(E,T,j)}}}}const ze=3e5;class wu 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===Ee.MoveAllAlternatesMatchingHost){const m=this.levels;let E=this._pathwayPriority,T=this.pathwayId;if(n.context){const{groupId:j,pathwayId:Y,type:H}=n.context;j&&m?T=this.getPathwayForGroupId(j,H,T):Y&&(T=Y)}T in this.penalizedPathways||(this.penalizedPathways[T]=performance.now()),!E&&m&&(E=this.pathways()),E&&E.length>1&&(this.updatePathwayPriority(E),s.resolved=this.pathwayId!==T),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: ${T} levels: ${m&&m.length} priorities: ${Un(E)} penalized: ${Un(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]>ze&&delete s[E]});for(let E=0;E<t.length;E++){const T=t[E];if(T in s)continue;if(T===this.pathwayId)return;const j=this.hls.nextLoadLevel,Y=this.hls.levels[j];if(n=this.getLevelsForPathway(T),n.length>0){this.log(`Setting Pathway to "${T}"`),this.pathwayId=T,Lr(n),this.hls.trigger(o.LEVELS_UPDATED,{levels:n});const H=this.hls.levels[j];Y&&H&&this.levels&&(H.attrs["STABLE-VARIANT-ID"]!==Y.attrs["STABLE-VARIANT-ID"]&&H.bitrate!==Y.bitrate&&this.log(`Unstable Pathways change from bitrate ${Y.bitrate} to ${H.bitrate}`),this.hls.nextLoadLevel=j);break}}}getPathwayForGroupId(t,n,s){const m=this.getLevelsForPathway(s).concat(this.levels||[]);for(let E=0;E<m.length;E++)if(n===h.AUDIO_TRACK&&m[E].hasAudioGroup(t)||n===h.SUBTITLE_TRACK&&m[E].hasSubtitleGroup(t))return m[E].pathwayId;return s}clonePathways(t){const n=this.levels;if(!n)return;const s={},m={};t.forEach(E=>{const{ID:T,"BASE-ID":j,"URI-REPLACEMENT":Y}=E;if(n.some(te=>te.pathwayId===T))return;const H=this.getLevelsForPathway(j).map(te=>{const oe=new ta(te.attrs);oe["PATHWAY-ID"]=T;const me=oe.AUDIO&&`${oe.AUDIO}_clone_${T}`,we=oe.SUBTITLES&&`${oe.SUBTITLES}_clone_${T}`;me&&(s[oe.AUDIO]=me,oe.AUDIO=me),we&&(m[oe.SUBTITLES]=we,oe.SUBTITLES=we);const Se=Dl(te.uri,oe["STABLE-VARIANT-ID"],"PER-VARIANT-URIS",Y),ut=new lr({attrs:oe,audioCodec:te.audioCodec,bitrate:te.bitrate,height:te.height,name:te.name,url:Se,videoCodec:te.videoCodec,width:te.width});if(te.audioGroups)for(let Je=1;Je<te.audioGroups.length;Je++)ut.addGroupId("audio",`${te.audioGroups[Je]}_clone_${T}`);if(te.subtitleGroups)for(let Je=1;Je<te.subtitleGroups.length;Je++)ut.addGroupId("text",`${te.subtitleGroups[Je]}_clone_${T}`);return ut});n.push(...H),Wo(this.audioTracks,s,Y,T),Wo(this.subtitleTracks,m,Y,T)})}loadSteeringManifest(t){const n=this.hls.config,s=n.loader;this.loader&&this.loader.destroy(),this.loader=new s(n);let m;try{m=new self.URL(t)}catch(te){this.enabled=!1,this.log(`Failed to parse Steering Manifest URI: ${t}`);return}if(m.protocol!=="data:"){const te=(this.hls.bandwidthEstimate||n.abrEwmaDefaultEstimate)|0;m.searchParams.set("_HLS_pathway",this.pathwayId),m.searchParams.set("_HLS_throughput",""+te)}const E={responseType:"json",url:m.href},T=n.steeringManifestLoadPolicy.default,j=T.errorRetry||T.timeoutRetry||{},Y={loadPolicy:T,timeout:T.maxLoadTimeMs,maxRetry:j.maxNumRetry||0,retryDelay:j.retryDelayMs||0,maxRetryDelay:j.maxRetryDelayMs||0},H={onSuccess:(te,oe,me,we)=>{this.log(`Loaded steering manifest: "${m}"`);const Se=te.data;if((Se==null?void 0:Se.VERSION)!==1){this.log(`Steering VERSION ${Se.VERSION} not supported!`);return}this.updated=performance.now(),this.timeToLoad=Se.TTL;const{"RELOAD-URI":ut,"PATHWAY-CLONES":Je,"PATHWAY-PRIORITY":Lt}=Se;if(ut)try{this.uri=new self.URL(ut,m).href}catch(Yt){this.enabled=!1,this.log(`Failed to parse Steering Manifest RELOAD-URI: ${ut}`);return}this.scheduleRefresh(this.uri||me.url),Je&&this.clonePathways(Je);const rr={steeringManifest:Se,url:m.toString()};this.hls.trigger(o.STEERING_MANIFEST_LOADED,rr),Lt&&this.updatePathwayPriority(Lt)},onError:(te,oe,me,we)=>{if(this.log(`Error loading steering manifest: ${te.code} ${te.text} (${oe.url})`),this.stopLoad(),te.code===410){this.enabled=!1,this.log(`Steering manifest ${oe.url} no longer available`);return}let Se=this.timeToLoad*1e3;if(te.code===429){const ut=this.loader;if(typeof(ut==null?void 0:ut.getResponseHeader)=="function"){const Je=ut.getResponseHeader("Retry-After");Je&&(Se=parseFloat(Je)*1e3)}this.log(`Steering manifest ${oe.url} rate limited`);return}this.scheduleRefresh(this.uri||oe.url,Se)},onTimeout:(te,oe,me)=>{this.log(`Timeout loading steering manifest (${oe.url})`),this.scheduleRefresh(this.uri||oe.url)}};this.log(`Requesting steering manifest: ${m}`),this.loader.load(E,Y,H)}scheduleRefresh(t,n=this.timeToLoad*1e3){this.clearTimeout(),this.reloadTimer=self.setTimeout(()=>{var s;const m=(s=this.hls)==null?void 0:s.media;if(m&&!m.ended){this.loadSteeringManifest(t);return}this.scheduleRefresh(t,this.timeToLoad*1e3)},n)}}function Wo(w,t,n,s){w&&Object.keys(t).forEach(m=>{const E=w.filter(T=>T.groupId===m).map(T=>{const j=y({},T);return j.details=void 0,j.attrs=new ta(j.attrs),j.url=j.attrs.URI=Dl(T.url,T.attrs["STABLE-RENDITION-ID"],"PER-RENDITION-URIS",n),j.groupId=j.attrs["GROUP-ID"]=t[m],j.attrs["PATHWAY-ID"]=s,j});w.push(...E)})}function Dl(w,t,n,s){const{HOST:m,PARAMS:E,[n]:T}=s;let j;t&&(j=T==null?void 0:T[t],j&&(w=j));const Y=new self.URL(w);return m&&!j&&(Y.host=m),E&&Object.keys(E).sort().forEach(H=>{H&&Y.searchParams.set(H,E[H])}),Y.href}function Ds(w,t,n){uo(w,t,n),w.addEventListener(t,n)}function uo(w,t,n){w.removeEventListener(t,n)}class Uu 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=Uu.CDMCleanupPromise?[Uu.CDMCleanupPromise]:[],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===Ba.WIDEVINE&&s)return s}getLicenseServerUrlOrThrow(t){const n=this.getLicenseServerUrl(t);if(n===void 0)throw new Error(`no license server URL configured for key-system "${t}"`);return n}getServerCertificateUrl(t){const{drmSystems:n}=this.config,s=n[t];if(s)return s.serverCertificateUrl;this.log(`No Server Certificate in config.drmSystems["${t}"]`)}attemptKeySystemAccess(t){const n=this.hls.levels,s=(T,j,Y)=>!!T&&Y.indexOf(T)===j,m=n.map(T=>T.audioCodec).filter(s),E=n.map(T=>T.videoCodec).filter(s);return m.length+E.length===0&&E.push("avc1.42e01e"),new Promise((T,j)=>{const Y=H=>{const te=H.shift();this.getMediaKeysPromise(te,m,E).then(oe=>T({keySystem:te,mediaKeys:oe})).catch(oe=>{H.length?Y(H):oe instanceof zo?j(oe):j(new zo({type:c.KEY_SYSTEM_ERROR,details:f.KEY_SYSTEM_NO_ACCESS,error:oe,fatal:!0},oe.message))})};Y(t)})}requestMediaKeySystemAccess(t,n){const{requestMediaKeySystemAccessFunc:s}=this.config;if(typeof s!="function"){let m=`Configured requestMediaKeySystemAccess is not a function ${s}`;return ko===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=fi(t,n,s,this.config.drmSystemOptions),E=this.keySystemAccessPromises[t];let T=E==null?void 0:E.keySystemAccess;if(!T){this.log(`Requesting encrypted media "${t}" key-system access with config: ${Un(m)}`),T=this.requestMediaKeySystemAccess(t,m);const j=this.keySystemAccessPromises[t]={keySystemAccess:T};return T.catch(Y=>{this.log(`Failed to obtain access to key-system "${t}": ${Y}`)}),T.then(Y=>{this.log(`Access for key-system "${Y.keySystem}" obtained`);const H=this.fetchServerCertificate(t);return this.log(`Create media-keys for "${t}"`),j.mediaKeys=Y.createMediaKeys().then(te=>(this.log(`Media-keys created for "${t}"`),j.hasMediaKeys=!0,H.then(oe=>oe?this.setMediaKeysServerCertificate(te,t,oe):te))),j.mediaKeys.catch(te=>{this.error(`Failed to create media-keys for "${t}"}: ${te}`)}),j.mediaKeys})}return T.then(()=>E.mediaKeys)}createMediaKeySessionContext({decryptdata:t,keySystem:n,mediaKeys:s}){this.log(`Creating key-system session "${n}" keyId: ${J.hexDump(t.keyId||[])}`);const m=s.createSession(),E={decryptdata:t,keySystem:n,mediaKeys:s,mediaKeysSession:m,keyStatus:"status-pending"};return this.mediaKeySessions.push(E),E}renewKeySession(t){const n=t.decryptdata;if(n.pssh){const s=this.createMediaKeySessionContext(t),m=this.getKeyIdString(n),E="cenc";this.keyIdToKeySessionPromise[m]=this.generateRequestWithPreferredKeySession(s,E,n.pssh.buffer,"expired")}else this.warn("Could not renew expired session. Missing pssh initData.");this.removeSession(t)}getKeyIdString(t){if(!t)throw new Error("Could not read keyId of undefined decryptdata");if(t.keyId===null)throw new Error("keyId is null");return J.hexDump(t.keyId)}updateKeySession(t,n){var s;const m=t.mediaKeysSession;return this.log(`Updating key-session "${m.sessionId}" for keyID ${J.hexDump(((s=t.decryptdata)==null?void 0:s.keyId)||[])}
|
|
|
} (data length: ${n&&n.byteLength})`),m.update(n)}getSelectedKeySystemFormats(){return Object.keys(this.keySystemAccessPromises).map(t=>({keySystem:t,hasMediaKeys:this.keySystemAccessPromises[t].hasMediaKeys})).filter(({hasMediaKeys:t})=>!!t).map(({keySystem:t})=>Oo(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=Oo(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=wo(this.config),s=t.map(lo).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:j,mediaKeys:Y})=>(this.throwIfDestroyed(),this.log(`Handle encrypted media sn: ${t.frag.sn} ${t.frag.type}: ${t.frag.level} using key ${m}`),this.attemptSetMediaKeys(j,Y).then(()=>(this.throwIfDestroyed(),this.createMediaKeySessionContext({keySystem:j,mediaKeys:Y,decryptdata:n}))))),(this.keyIdToKeySessionPromise[s]=E.then(j=>{const Y="cenc",H=n.pssh?n.pssh.buffer:null;return this.generateRequestWithPreferredKeySession(j,Y,H,"playlist-key")})).catch(j=>this.handleError(j))),E}throwIfDestroyed(t="Invalid state"){if(!this.hls)throw new Error("invalid state")}handleError(t){this.hls&&(this.error(t.message),t instanceof zo?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=lo(t.keyFormat),E=m?[m]:wo(this.config);return this.attemptKeySystemAccess(E)}return s}getKeySystemSelectionPromise(t){if(t.length||(t=wo(this.config)),t.length===0)throw new zo({type:c.KEY_SYSTEM_ERROR,details:f.KEY_SYSTEM_NO_CONFIGURED_LICENSE,fatal:!0},`Missing key-system license configuration options ${Un({drmSystems:this.config.drmSystems})}`);return this.attemptKeySystemAccess(t)}attemptSetMediaKeys(t,n){if(this.mediaKeys===n)return Promise.resolve();const s=this.setMediaKeysQueue.slice();this.log(`Setting media-keys for "${t}"`);const m=Promise.all(s).then(()=>{if(!this.media)throw this.mediaKeys=null,new Error("Attempted to set mediaKeys without media element attached");return this.media.setMediaKeys(n)});return this.mediaKeys=n,this.setMediaKeysQueue.push(m),m.then(()=>{this.log(`Media-keys set for "${t}"`),s.push(m),this.setMediaKeysQueue=this.setMediaKeysQueue.filter(E=>s.indexOf(E)===-1)})}generateRequestWithPreferredKeySession(t,n,s,m){var E,T;const j=(E=this.config.drmSystems)==null||(T=E[t.keySystem])==null?void 0:T.generateRequest;if(j)try{const Se=j.call(this.hls,n,s,t);if(!Se)throw new Error("Invalid response from configured generateRequest filter");n=Se.initDataType,s=Se.initData?Se.initData:null,t.decryptdata.pssh=s?new Uint8Array(s):null}catch(Se){var Y;if(this.warn(Se.message),(Y=this.hls)!=null&&Y.config.debug)throw Se}if(s===null)return this.log(`Skipping key-session request for "${m}" (no initData)`),Promise.resolve(t);const H=this.getKeyIdString(t.decryptdata);this.log(`Generating key-session request for "${m}": ${H} (init data type: ${n} length: ${s?s.byteLength:null})`);const te=new ds,oe=t._onmessage=Se=>{const ut=t.mediaKeysSession;if(!ut){te.emit("error",new Error("invalid state"));return}const{messageType:Je,message:Lt}=Se;this.log(`"${Je}" message event for session "${ut.sessionId}" message size: ${Lt.byteLength}`),Je==="license-request"||Je==="license-renewal"?this.renewLicense(t,Lt).catch(rr=>{te.eventNames().length?te.emit("error",rr):this.handleError(rr)}):Je==="license-release"?t.keySystem===Ba.FAIRPLAY&&(this.updateKeySession(t,cs("acknowledged")),this.removeSession(t)):this.warn(`unhandled media key message type "${Je}"`)},me=t._onkeystatuseschange=Se=>{if(!t.mediaKeysSession){te.emit("error",new Error("invalid state"));return}this.onKeyStatusChange(t);const Je=t.keyStatus;te.emit("keyStatus",Je),Je==="expired"&&(this.warn(`${t.keySystem} expired for key ${H}`),this.renewKeySession(t))};Ds(t.mediaKeysSession,"message",oe),Ds(t.mediaKeysSession,"keystatuseschange",me);const we=new Promise((Se,ut)=>{te.on("error",ut),te.on("keyStatus",Je=>{Je.startsWith("usable")?Se():Je==="output-restricted"?ut(new zo({type:c.KEY_SYSTEM_ERROR,details:f.KEY_SYSTEM_STATUS_OUTPUT_RESTRICTED,fatal:!1},"HDCP level output restricted")):Je==="internal-error"?ut(new zo({type:c.KEY_SYSTEM_ERROR,details:f.KEY_SYSTEM_STATUS_INTERNAL_ERROR,fatal:!0},`key status changed to "${Je}"`)):Je==="expired"?ut(new Error("key expired while generating request")):this.warn(`unhandled key status change "${Je}"`)})});return t.mediaKeysSession.generateRequest(n,s).then(()=>{var Se;this.log(`Request generated for key-session "${(Se=t.mediaKeysSession)==null?void 0:Se.sessionId}" keyId: ${H}`)}).catch(Se=>{throw new zo({type:c.KEY_SYSTEM_ERROR,details:f.KEY_SYSTEM_NO_SESSION,error:Se,fatal:!1},`Error generating key-session request: ${Se}`)}).then(()=>we).catch(Se=>{throw te.removeAllListeners(),this.removeSession(t),Se}).then(()=>(te.removeAllListeners(),t))}onKeyStatusChange(t){t.mediaKeysSession.keyStatuses.forEach((n,s)=>{if(typeof s=="string"&&typeof n=="object"){const m=s;s=n,n=m}this.log(`key status change "${n}" for keyStatuses keyId: ${J.hexDump("buffer"in s?new Uint8Array(s.buffer,s.byteOffset,s.byteLength):new Uint8Array(s))} session keyId: ${J.hexDump(new Uint8Array(t.decryptdata.keyId||[]))} uri: ${t.decryptdata.uri}`),t.keyStatus=n})}fetchServerCertificate(t){const n=this.config,s=n.loader,m=new s(n),E=this.getServerCertificateUrl(t);return E?(this.log(`Fetching server certificate for "${t}"`),new Promise((T,j)=>{const Y={responseType:"arraybuffer",url:E},H=n.certLoadPolicy.default,te={loadPolicy:H,timeout:H.maxLoadTimeMs,maxRetry:0,retryDelay:0,maxRetryDelay:0},oe={onSuccess:(me,we,Se,ut)=>{T(me.data)},onError:(me,we,Se,ut)=>{j(new zo({type:c.KEY_SYSTEM_ERROR,details:f.KEY_SYSTEM_SERVER_CERTIFICATE_REQUEST_FAILED,fatal:!0,networkDetails:Se,response:b({url:Y.url,data:void 0},me)},`"${t}" certificate request failed (${E}). Status: ${me.code} (${me.text})`))},onTimeout:(me,we,Se)=>{j(new zo({type:c.KEY_SYSTEM_ERROR,details:f.KEY_SYSTEM_SERVER_CERTIFICATE_REQUEST_FAILED,fatal:!0,networkDetails:Se,response:{url:Y.url,data:void 0}},`"${t}" certificate request timed out (${E})`))},onAbort:(me,we,Se)=>{j(new Error("aborted"))}};m.load(Y,te,oe)})):Promise.resolve()}setMediaKeysServerCertificate(t,n,s){return new Promise((m,E)=>{t.setServerCertificate(s).then(T=>{this.log(`setServerCertificate ${T?"success":"not supported by CDM"} (${s==null?void 0:s.byteLength}) on "${n}"`),m(t)}).catch(T=>{E(new zo({type:c.KEY_SYSTEM_ERROR,details:f.KEY_SYSTEM_SERVER_CERTIFICATE_UPDATE_FAILED,error:T,fatal:!0},T.message))})})}renewLicense(t,n){return this.requestLicense(t,new Uint8Array(n)).then(s=>this.updateKeySession(t,new Uint8Array(s)).catch(m=>{throw new zo({type:c.KEY_SYSTEM_ERROR,details:f.KEY_SYSTEM_SESSION_UPDATE_FAILED,error:m,fatal:!0},m.message)}))}unpackPlayReadyKeyMessage(t,n){const s=String.fromCharCode.apply(null,new Uint16Array(n.buffer));if(!s.includes("PlayReadyKeyMessage"))return t.setRequestHeader("Content-Type","text/xml; charset=utf-8"),n;const m=new DOMParser().parseFromString(s,"application/xml"),E=m.querySelectorAll("HttpHeader");if(E.length>0){let te;for(let oe=0,me=E.length;oe<me;oe++){var T,j;te=E[oe];const we=(T=te.querySelector("name"))==null?void 0:T.textContent,Se=(j=te.querySelector("value"))==null?void 0:j.textContent;we&&Se&&t.setRequestHeader(we,Se)}}const Y=m.querySelector("Challenge"),H=Y==null?void 0:Y.textContent;if(!H)throw new Error("Cannot find <Challenge> in key message");return cs(atob(H))}setupLicenseXHR(t,n,s,m){const E=this.config.licenseXhrSetup;return E?Promise.resolve().then(()=>{if(!s.decryptdata)throw new Error("Key removed");return E.call(this.hls,t,n,s,m)}).catch(T=>{if(!s.decryptdata)throw T;return t.open("POST",n,!0),E.call(this.hls,t,n,s,m)}).then(T=>(t.readyState||t.open("POST",n,!0),{xhr:t,licenseChallenge:T||m})):(t.open("POST",n,!0),Promise.resolve({xhr:t,licenseChallenge:m}))}requestLicense(t,n){const s=this.config.keyLoadPolicy.default;return new Promise((m,E)=>{const T=this.getLicenseServerUrlOrThrow(t.keySystem);this.log(`Sending license request to URL: ${T}`);const j=new XMLHttpRequest;j.responseType="arraybuffer",j.onreadystatechange=()=>{if(!this.hls||!t.mediaKeysSession)return E(new Error("invalid state"));if(j.readyState===4)if(j.status===200){this._requestLicenseFailureCount=0;let Y=j.response;this.log(`License received ${Y instanceof ArrayBuffer?Y.byteLength:Y}`);const H=this.config.licenseResponseCallback;if(H)try{Y=H.call(this.hls,j,T,t)}catch(te){this.error(te)}m(Y)}else{const Y=s.errorRetry,H=Y?Y.maxNumRetry:0;if(this._requestLicenseFailureCount++,this._requestLicenseFailureCount>H||j.status>=400&&j.status<500)E(new zo({type:c.KEY_SYSTEM_ERROR,details:f.KEY_SYSTEM_LICENSE_REQUEST_FAILED,fatal:!0,networkDetails:j,response:{url:T,data:void 0,code:j.status,text:j.statusText}},`License Request XHR failed (${T}). Status: ${j.status} (${j.statusText})`));else{const te=H-this._requestLicenseFailureCount+1;this.warn(`Retrying license request, ${te} attempts left`),this.requestLicense(t,n).then(m,E)}}},t.licenseXhr&&t.licenseXhr.readyState!==XMLHttpRequest.DONE&&t.licenseXhr.abort(),t.licenseXhr=j,this.setupLicenseXHR(j,T,t,n).then(({xhr:Y,licenseChallenge:H})=>{t.keySystem==Ba.PLAYREADY&&(H=this.unpackPlayReadyKeyMessage(Y,H)),Y.send(H)})})}onDestroying(){this.unregisterListeners(),this._clear()}onMediaAttached(t,n){if(!this.config.emeEnabled)return;const s=n.media;this.media=s,Ds(s,"waitingforkey",this.onWaitingForKey)}onMediaDetached(){const t=this.media;t&&(uo(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,Xs.clearKeyUriToKeyIdMap();const m=s.length;Uu.CDMCleanupPromise=Promise.all(s.map(E=>this.removeSession(E)).concat(n==null||(t=n.setMediaKeys(null))==null?void 0:t.catch(E=>{var T;this.log(`Could not clear media keys: ${E}`),(T=this.hls)==null||T.trigger(o.ERROR,{type:c.OTHER_ERROR,details:f.KEY_SYSTEM_DESTROY_MEDIA_KEYS_ERROR,fatal:!1,error:new Error(`Could not clear media keys: ${E}`)})}))).catch(E=>{var T;this.log(`Could not close sessions and clear media keys: ${E}`),(T=this.hls)==null||T.trigger(o.ERROR,{type:c.OTHER_ERROR,details:f.KEY_SYSTEM_DESTROY_CLOSE_SESSION_ERROR,fatal:!1,error:new Error(`Could not close sessions and clear media keys: ${E}`)})}).then(()=>{m&&this.log("finished closing key sessions and clearing media keys")})}onManifestLoading(){this.keyFormatPromise=null}onManifestLoaded(t,{sessionKeys:n}){if(!(!n||!this.config.emeEnabled)&&!this.keyFormatPromise){const s=n.reduce((m,E)=>(m.indexOf(E.keyFormat)===-1&&m.push(E.keyFormat),m),[]);this.log(`Selecting key-system from session-keys ${s.join(", ")}`),this.keyFormatPromise=this.getKeyFormatPromise(s)}}removeSession(t){const{mediaKeysSession:n,licenseXhr:s}=t;if(n){this.log(`Remove licenses and keys and close session ${n.sessionId}`),t._onmessage&&(n.removeEventListener("message",t._onmessage),t._onmessage=void 0),t._onkeystatuseschange&&(n.removeEventListener("keystatuseschange",t._onkeystatuseschange),t._onkeystatuseschange=void 0),s&&s.readyState!==XMLHttpRequest.DONE&&s.abort(),t.mediaKeysSession=t.decryptdata=t.licenseXhr=void 0;const m=this.mediaKeySessions.indexOf(t);m>-1&&this.mediaKeySessions.splice(m,1);const{drmSystemOptions:E}=this.config;return(Na(E)?new Promise((j,Y)=>{self.setTimeout(()=>Y(new Error("MediaKeySession.remove() timeout")),8e3),n.remove().then(j)}):Promise.resolve()).catch(j=>{var Y;this.log(`Could not remove session: ${j}`),(Y=this.hls)==null||Y.trigger(o.ERROR,{type:c.OTHER_ERROR,details:f.KEY_SYSTEM_DESTROY_REMOVE_SESSION_ERROR,fatal:!1,error:new Error(`Could not remove session: ${j}`)})}).then(()=>n.close()).catch(j=>{var Y;this.log(`Could not close session: ${j}`),(Y=this.hls)==null||Y.trigger(o.ERROR,{type:c.OTHER_ERROR,details:f.KEY_SYSTEM_DESTROY_CLOSE_SESSION_ERROR,fatal:!1,error:new Error(`Could not close session: ${j}`)})})}}}Uu.CDMCleanupPromise=void 0;class zo 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 ol{constructor(t){this.hls=void 0,this.isVideoPlaybackQualityAvailable=!1,this.timer=void 0,this.media=null,this.lastTime=void 0,this.lastDroppedFrames=0,this.lastDecodedFrames=0,this.streamController=void 0,this.hls=t,this.registerListeners()}setStreamController(t){this.streamController=t}registerListeners(){this.hls.on(o.MEDIA_ATTACHING,this.onMediaAttaching,this),this.hls.on(o.MEDIA_DETACHING,this.onMediaDetaching,this)}unregisterListeners(){this.hls.off(o.MEDIA_ATTACHING,this.onMediaAttaching,this),this.hls.off(o.MEDIA_DETACHING,this.onMediaDetaching,this)}destroy(){this.timer&&clearInterval(this.timer),this.unregisterListeners(),this.isVideoPlaybackQualityAvailable=!1,this.media=null}onMediaAttaching(t,n){const s=this.hls.config;if(s.capLevelOnFPSDrop){const m=n.media instanceof self.HTMLVideoElement?n.media:null;this.media=m,m&&typeof m.getVideoPlaybackQuality=="function"&&(this.isVideoPlaybackQualityAvailable=!0),self.clearInterval(this.timer),this.timer=self.setInterval(this.checkFPSInterval.bind(this),s.fpsDroppedMonitoringPeriod)}}onMediaDetaching(){this.media=null}checkFPS(t,n,s){const m=performance.now();if(n){if(this.lastTime){const E=m-this.lastTime,T=s-this.lastDroppedFrames,j=n-this.lastDecodedFrames,Y=1e3*T/E,H=this.hls;if(H.trigger(o.FPS_DROP,{currentDropped:T,currentDecoded:j,totalDroppedFrames:s}),Y>0&&T>H.config.fpsDroppedMonitoringThreshold*j){let te=H.currentLevel;H.logger.warn("drop FPS ratio greater than max allowed value for currentLevel: "+te),te>0&&(H.autoLevelCapping===-1||H.autoLevelCapping>=te)&&(te=te-1,H.trigger(o.FPS_DROP_LEVEL_CAPPING,{level:te,droppedLevel:H.currentLevel}),H.autoLevelCapping=te,this.streamController.nextLevelSwitch())}}this.lastTime=m,this.lastDroppedFrames=s,this.lastDecodedFrames=n}}checkFPSInterval(){const t=this.media;if(t)if(this.isVideoPlaybackQualityAvailable){const n=t.getVideoPlaybackQuality();this.checkFPS(t,n.totalVideoFrames,n.droppedVideoFrames)}else this.checkFPS(t,t.webkitDecodedFrameCount,t.webkitDroppedFrameCount)}}function zu(w,t){let n;try{n=new Event("addtrack")}catch(s){n=document.createEvent("Event"),n.initEvent("addtrack",!1,!1)}n.track=w,t.dispatchEvent(n)}function Su(w,t){const n=w.mode;if(n==="disabled"&&(w.mode="hidden"),w.cues&&!w.cues.getCueById(t.id))try{if(w.addCue(t),!w.cues.getCueById(t.id))throw new Error(`addCue is failed for: ${t}`)}catch(s){W.debug(`[texttrack-utils]: ${s}`);try{const m=new self.TextTrackCue(t.startTime,t.endTime,t.text);m.id=t.id,w.addCue(m)}catch(m){W.debug(`[texttrack-utils]: Legacy TextTrackCue fallback failed: ${m}`)}}n==="disabled"&&(w.mode=n)}function Xu(w,t){const n=w.mode;if(n==="disabled"&&(w.mode="hidden"),w.cues)for(let s=w.cues.length;s--;)t&&w.cues[s].removeEventListener("enter",t),w.removeCue(w.cues[s]);n==="disabled"&&(w.mode=n)}function ul(w,t,n,s){const m=w.mode;if(m==="disabled"&&(w.mode="hidden"),w.cues&&w.cues.length>0){const E=Qu(w.cues,t,n);for(let T=0;T<E.length;T++)(!s||s(E[T]))&&w.removeCue(E[T])}m==="disabled"&&(w.mode=m)}function lu(w,t){if(t<=w[0].startTime)return 0;const n=w.length-1;if(t>w[n].endTime)return-1;let s=0,m=n,E;for(;s<=m;)if(E=Math.floor((m+s)/2),t<w[E].startTime)m=E-1;else if(t>w[E].startTime&&s<n)s=E+1;else return E;return w[s].startTime-t<t-w[m].startTime?s:m}function Qu(w,t,n){const s=[],m=lu(w,t);if(m>-1)for(let E=m,T=w.length;E<T;E++){const j=w[E];if(j.startTime>=t&&j.endTime<=n)s.push(j);else if(j.startTime>n)return s}return s}function tu(w){const t=[];for(let n=0;n<w.length;n++){const s=w[n];(s.kind==="subtitles"||s.kind==="captions")&&s.label&&t.push(w[n])}return t}class wf extends jo{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=tu(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;tu(s.textTracks).forEach(T=>{Xu(T)})}onManifestLoading(){this.tracks=[],this.groupIds=null,this.tracksInGroup=[],this.trackId=-1,this.currentTrack=null,this.selectDefaultTrack=!0}onManifestParsed(t,n){this.tracks=n.subtitleTracks}onSubtitleTrackLoaded(t,n){const{id:s,groupId:m,details:E}=n,T=this.tracksInGroup[s];if(!T||T.groupId!==m){this.warn(`Subtitle track with id:${s} and group:${m} not found in active group ${T==null?void 0:T.groupId}`);return}const j=T.details;T.details=n.details,this.log(`Subtitle track ${s} "${T.name}" lang:${T.lang} group:${m} loaded [${E.startSN}-${E.endSN}]`),s===this.trackId&&this.playlistLoaded(s,n,j)}onLevelLoading(t,n){this.switchLevel(n.level)}onLevelSwitching(t,n){this.switchLevel(n.level)}switchLevel(t){const n=this.hls.levels[t];if(!n)return;const s=n.subtitleGroups||null,m=this.groupIds;let E=this.currentTrack;if(!s||(m==null?void 0:m.length)!==(s==null?void 0:s.length)||s!=null&&s.some(T=>(m==null?void 0:m.indexOf(T))===-1)){this.groupIds=s,this.trackId=-1,this.currentTrack=null;const T=this.tracks.filter(te=>!s||s.indexOf(te.groupId)!==-1);if(T.length)this.selectDefaultTrack&&!T.some(te=>te.default)&&(this.selectDefaultTrack=!1),T.forEach((te,oe)=>{te.id=oe});else if(!E&&!this.tracksInGroup.length)return;this.tracksInGroup=T;const j=this.hls.config.subtitlePreference;if(!E&&j){this.selectDefaultTrack=!1;const te=Qi(j,T);if(te>-1)E=T[te];else{const oe=Qi(j,this.tracks);E=this.tracks[oe]}}let Y=this.findTrackId(E);Y===-1&&E&&(Y=this.findTrackId(null));const H={subtitleTracks:T};this.log(`Updating subtitle tracks, ${T.length} track(s) found in "${s==null?void 0:s.join(",")}" group-id`),this.hls.trigger(o.SUBTITLE_TRACKS_UPDATED,H),Y!==-1&&this.trackId===-1&&this.setSubtitleTrack(Y)}}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||Gn(E,t)))return m}if(t){for(let m=0;m<n.length;m++){const E=n[m];if(Ms(t.attrs,E.attrs,["LANGUAGE","ASSOC-LANGUAGE","CHARACTERISTICS"]))return m}for(let m=0;m<n.length;m++){const E=n[m];if(Ms(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(Uo(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&&Gn(t,s))return s;const m=Qi(t,this.tracksInGroup);if(m>-1){const E=this.tracksInGroup[m];return this.setSubtitleTrack(m),E}else{if(s)return null;{const E=Qi(t,n);if(E>-1)return n[E]}}}}return null}loadPlaylist(t){super.loadPlaylist(),this.shouldLoadPlaylist(this.currentTrack)&&this.scheduleLoading(this.currentTrack,t)}loadingPlaylist(t,n){super.loadingPlaylist(t,n);const s=t.id,m=t.groupId,E=this.getUrlWithDirectives(t.url,n),T=t.details,j=T==null?void 0:T.age;this.log(`Loading subtitle ${s} "${t.name}" lang:${t.lang} group:${m}${(n==null?void 0:n.msn)!==void 0?" at sn "+n.msn+" part "+n.part:""}${j&&T.live?" age "+j.toFixed(1)+(T.type?" "+T.type||0:""):""} ${E}`),this.hls.trigger(o.SUBTITLE_TRACK_LOADING,{url:E,id:s,groupId:m,deliveryDirectives:n||null,track:t})}toggleTrackModes(){const{media:t}=this;if(!t)return;const n=tu(t.textTracks),s=this.currentTrack;let m;if(s&&(m=n.filter(E=>Uo(s,E))[0],m||this.warn(`Unable to find subtitle TextTrack with name "${s.name}" and language "${s.lang}"`)),[].slice.call(n).forEach(E=>{E.mode!=="disabled"&&E!==m&&(E.mode="disabled")}),m){const E=this.subtitleDisplay?"showing":"hidden";m.mode!==E&&(m.mode=E)}}setSubtitleTrack(t){const n=this.tracksInGroup;if(!this.media){this.queuedDefaultTrack=t;return}if(t<-1||t>=n.length||!r(t)){this.warn(`Invalid subtitle track id: ${t}`);return}this.selectDefaultTrack=!1;const s=this.currentTrack,m=n[t]||null;if(this.trackId=t,this.currentTrack=m,this.toggleTrackModes(),!m){this.hls.trigger(o.SUBTITLE_TRACK_SWITCH,{id:t});return}const E=!!m.details&&!m.details.live;if(t===this.trackId&&m===s&&E)return;this.log(`Switching to subtitle-track ${t}`+(m?` "${m.name}" lang:${m.lang} group:${m.groupId}`:""));const{id:T,groupId:j="",name:Y,type:H,url:te}=m;this.hls.trigger(o.SUBTITLE_TRACK_SWITCH,{id:T,groupId:j,name:Y,type:H,url:te});const oe=this.switchParams(m.url,s==null?void 0:s.details,m.details);this.loadPlaylist(oe)}}function Vc(){try{return crypto.randomUUID()}catch(w){try{const t=URL.createObjectURL(new Blob),n=t.toString();return URL.revokeObjectURL(t),n.slice(n.lastIndexOf("/")+1)}catch(t){let n=new Date().getTime();return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,m=>{const E=(n+Math.random()*16)%16|0;return n=Math.floor(n/16),(m=="x"?E:E&3|8).toString(16)})}}}function po(w){let t=5381,n=w.length;for(;n;)t=t*33^w.charCodeAt(--n);return(t>>>0).toString()}const _u=.025;let Ol=function(w){return w[w.Point=0]="Point",w[w.Range=1]="Range",w}({});function Yl(w,t,n){return`${w.identifier}-${n+1}-${po(t)}`}class Xl{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 ll(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=ll(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 ll(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)<_u))}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"?Ol.Range:Ol.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 cc(this)}}function ll(w,t){return w-t.start<t.duration/2&&!(Math.abs(w-(t.start+t.duration))<_u)?t.start:t.start+t.duration}function kl(w,t,n){const s=new self.URL(w,n);return s.protocol!=="data:"&&s.searchParams.set("_HLS_primary_id",t),s}function Dc(w,t){for(;(n=w.assetList[++t])!=null&&n.error;)var n;return t}function cc(w){return`["${w.identifier}" ${w.cue.pre?"<pre>":w.cue.post?"<post>":""}${w.timelineStart.toFixed(2)}-${w.resumeTime.toFixed(2)}]`}function Iu(w){const t=w.timelineStart,n=w.duration||0;return`["${w.identifier}" ${t.toFixed(2)}-${(t+n).toFixed(2)}]`}class Rl{constructor(t,n,s,m){this.hls=void 0,this.interstitial=void 0,this.assetItem=void 0,this.tracks=null,this.hasDetails=!1,this.mediaAttached=null,this._currentTime=void 0,this._bufferedEosTime=void 0,this.checkPlayout=()=>{this.reachedPlayout(this.currentTime)&&this.hls.trigger(o.PLAYOUT_LIMIT_REACHED,{})};const E=this.hls=new t(n);this.interstitial=s,this.assetItem=m;let T=m.uri;try{T=kl(T,n.primarySessionId).href}catch(Y){}E.loadSource(T);const j=()=>{this.hasDetails=!0};E.once(o.LEVEL_LOADED,j),E.once(o.AUDIO_TRACK_LOADED,j),E.once(o.SUBTITLE_TRACK_LOADED,j),E.on(o.MEDIA_ATTACHING,(Y,{media:H})=>{this.removeMediaListeners(),this.mediaAttached=H,this.interstitial.playoutLimit&&(H.addEventListener("timeupdate",this.checkPlayout),this.appendInPlace&&E.on(o.BUFFER_APPENDED,()=>{const oe=this.bufferedEnd;this.reachedPlayout(oe)&&(this._bufferedEosTime=oe,E.trigger(o.BUFFERED_TO_END,void 0))}))})}get appendInPlace(){var t;return((t=this.interstitial)==null?void 0:t.appendInPlace)||!1}bufferedInPlaceToEnd(t){var n;if(!this.appendInPlace)return!1;if((n=this.hls)!=null&&n.bufferedToEnd)return!0;if(!t||!this._bufferedEosTime)return!1;const s=this.timelineOffset,m=Zn.bufferInfo(t,s,0);return this.getAssetTime(m.end)>=this._bufferedEosTime-.02}reachedPlayout(t){const s=this.interstitial.playoutLimit;return this.startOffset+t>=s}get destroyed(){var t;return!((t=this.hls)!=null&&t.userConfig)}get assetId(){return this.assetItem.identifier}get interstitialId(){return this.assetItem.parentIdentifier}get media(){var t;return((t=this.hls)==null?void 0:t.media)||null}get bufferedEnd(){const t=this.media||this.mediaAttached;if(!t)return this._bufferedEosTime?this._bufferedEosTime:this.currentTime;const n=Zn.bufferInfo(t,t.currentTime,.001);return this.getAssetTime(n.end)}get currentTime(){const t=this.media||this.mediaAttached;return t?this.getAssetTime(t.currentTime):this._currentTime||0}get duration(){const t=this.assetItem.duration;return t||0}get remaining(){const t=this.duration;return t?Math.max(0,t-this.currentTime):0}get startOffset(){return this.assetItem.startOffset}get timelineOffset(){var t;return((t=this.hls)==null?void 0:t.config.timelineOffset)||0}set timelineOffset(t){const n=this.timelineOffset;if(t!==n){const s=t-n;if(Math.abs(s)>11111111111111112e-21){if(this.hasDetails)throw new Error("Cannot set timelineOffset after playlists are loaded");this.hls.config.timelineOffset=t}}}getAssetTime(t){const n=this.timelineOffset,s=this.duration;return Math.min(Math.max(0,t-n),s)}removeMediaListeners(){const t=this.mediaAttached;t&&(this._currentTime=t.currentTime,this.bufferSnapShot(),t.removeEventListener("timeupdate",this.checkPlayout))}bufferSnapShot(){if(this.mediaAttached){var t;(t=this.hls)!=null&&t.bufferedToEnd&&(this._bufferedEosTime=this.bufferedEnd)}}destroy(){this.removeMediaListeners(),this.hls.destroy(),this.hls=this.interstitial=null,this.tracks=this.mediaAttached=this.checkPlayout=null}attachMedia(t){this.hls.attachMedia(t)}detachMedia(){this.removeMediaListeners(),this.mediaAttached=null,this.hls.detachMedia()}resumeBuffering(){this.hls.resumeBuffering()}pauseBuffering(){this.hls.pauseBuffering()}transferMedia(){return this.bufferSnapShot(),this.hls.transferMedia()}resetDetails(){const t=this.hls;if(this.hasDetails){t.stopLoad();const n=s=>delete s.details;t.levels.forEach(n),t.allAudioTracks.forEach(n),t.allSubtitleTracks.forEach(n),this.hasDetails=!1}}on(t,n,s){this.hls.on(t,n)}once(t,n,s){this.hls.once(t,n)}off(t,n,s){this.hls.off(t,n)}toString(){var t;return`HlsAssetPlayer: ${Iu(this.assetItem)} ${(t=this.hls)==null?void 0:t.sessionId} ${this.appendInPlace?"append-in-place":""}`}}const Oc=.033;class kc extends R{constructor(t,n){super("interstitials-sched",n),this.onScheduleUpdate=void 0,this.eventMap={},this.events=null,this.items=null,this.durations={primary:0,playout:0,integrated:0},this.onScheduleUpdate=t}destroy(){this.reset(),this.onScheduleUpdate=null}reset(){this.eventMap={},this.setDurations(0,0,0),this.events&&this.events.forEach(t=>t.reset()),this.events=this.items=null}resetErrorsInRange(t,n){return this.events?this.events.reduce((s,m)=>t<=m.startOffset&&n>m.startOffset?(delete m.error,s+1):s,0):0}get duration(){const t=this.items;return t?t[t.length-1].end:0}get length(){return this.items?this.items.length:0}getEvent(t){return t&&this.eventMap[t]||null}hasEvent(t){return t in this.eventMap}findItemIndex(t,n){if(t.event)return this.findEventIndex(t.event.identifier);let s=-1;t.nextEvent?s=this.findEventIndex(t.nextEvent.identifier)-1:t.previousEvent&&(s=this.findEventIndex(t.previousEvent.identifier)+1);const m=this.items;if(m)for(m[s]||(n===void 0&&(n=t.start),s=this.findItemIndexAtTime(n));s>=0&&(E=m[s])!=null&&E.event;){var E;s--}return s}findItemIndexAtTime(t,n){const s=this.items;if(s)for(let m=0;m<s.length;m++){let E=s[m];if(n&&n!=="primary"&&(E=E[n]),t===E.start||t>E.start&&t<E.end)return m}return-1}findJumpRestrictedIndex(t,n){const s=this.items;if(s)for(let m=t;m<=n&&s[m];m++){const E=s[m].event;if(E!=null&&E.restrictions.jump&&!E.appendInPlace)return m}return-1}findEventIndex(t){const n=this.items;if(n)for(let m=n.length;m--;){var s;if(((s=n[m].event)==null?void 0:s.identifier)===t)return m}return-1}findAssetIndex(t,n){const s=t.assetList,m=s.length;if(m>1)for(let E=0;E<m;E++){const T=s[E];if(!T.error){const j=T.timelineStart;if(n===j||n>j&&n<j+(T.duration||0))return E}}return 0}get assetIdAtEnd(){var t,n;const s=(t=this.items)==null||(n=t[this.length-1])==null?void 0:n.event;if(s){const m=s.assetList,E=m[m.length-1];if(E)return E.identifier}return null}parseInterstitialDateRanges(t,n){const s=t.main.details,{dateRanges:m}=s,E=this.events,T=this.parseDateRanges(m,{url:s.url},n),j=Object.keys(m),Y=E?E.filter(H=>!j.includes(H.identifier)):[];T.length&&T.sort((H,te)=>{const oe=H.cue.pre,me=H.cue.post,we=te.cue.pre,Se=te.cue.post;if(oe&&!we)return-1;if(we&&!oe||me&&!Se)return 1;if(Se&&!me)return-1;if(!oe&&!we&&!me&&!Se){const ut=H.startTime,Je=te.startTime;if(ut!==Je)return ut-Je}return H.dateRange.tagOrder-te.dateRange.tagOrder}),this.events=T,Y.forEach(H=>{this.removeEvent(H)}),this.updateSchedule(t,Y)}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((j,Y)=>Math.abs(j.playout.start-m[Y].playout.start)>.005||Math.abs(j.playout.end-m[Y].playout.end)>.005))&&(this.items=E,this.onScheduleUpdate(n,m))}}parseDateRanges(t,n,s){const m=[],E=Object.keys(t);for(let T=0;T<E.length;T++){const j=E[T],Y=t[j];if(Y.isInterstitial){let H=this.eventMap[j];H?H.setDateRange(Y):(H=new Xl(Y,n),this.eventMap[j]=H,s===!1&&(H.appendInPlace=s)),m.push(H)}}return m}parseSchedule(t,n){const s=[],m=n.main.details,E=m.live?1/0:m.edge;let T=0;if(t=t.filter(Y=>!Y.error&&!(Y.cue.once&&Y.hasPlayed)),t.length){this.resolveOffsets(t,n);let Y=0,H=0;if(t.forEach((te,oe)=>{const me=te.cue.pre,we=te.cue.post,Se=t[oe-1]||null,ut=te.appendInPlace,Je=we?E:te.startOffset,Lt=te.duration,rr=te.timelineOccupancy===Ol.Range?Lt:0,Yt=te.resumptionOffset,Cr=(Se==null?void 0:Se.startTime)===Je,Hr=Je+te.cumulativeDuration;let cn=ut?Hr+Lt:Je+Yt;if(me||!we&&Je<=0){const qr=H;H+=rr,te.timelineStart=Hr;const an=T;T+=Lt,s.push({event:te,start:Hr,end:cn,playout:{start:an,end:T},integrated:{start:qr,end:H}})}else if(Je<=E){if(!Cr){const Br=Je-Y;if(Br>Oc){const Fn=Y,oi=H;H+=Br;const sa=T;T+=Br;const Ui={previousEvent:t[oe-1]||null,nextEvent:te,start:Fn,end:Fn+Br,playout:{start:sa,end:T},integrated:{start:oi,end:H}};s.push(Ui)}else Br>0&&Se&&(Se.cumulativeDuration+=Br,s[s.length-1].end=Je)}we&&(cn=Hr),te.timelineStart=Hr;const qr=H;H+=rr;const an=T;T+=Lt,s.push({event:te,start:Hr,end:cn,playout:{start:an,end:T},integrated:{start:qr,end:H}})}else return;const zr=te.resumeTime;we||zr>E?Y=E:Y=zr}),Y<E){var j;const te=Y,oe=H,me=E-Y;H+=me;const we=T;T+=me,s.push({previousEvent:((j=s[s.length-1])==null?void 0:j.event)||null,nextEvent:null,start:Y,end:te+me,playout:{start:we,end:T},integrated:{start:oe,end:H}})}this.setDurations(E,T,H)}else s.push({previousEvent:null,nextEvent:null,start:0,end:E,playout:{start:0,end:E},integrated:{start:0,end:E}}),this.setDurations(E,E,E);return s}setDurations(t,n,s){this.durations={primary:t,playout:n,integrated:s}}resolveOffsets(t,n){const s=n.main.details,m=s.live?1/0:s.edge;let E=0,T=-1;t.forEach((j,Y)=>{const H=j.cue.pre,te=j.cue.post,oe=H?0:te?m:j.startTime;this.updateAssetDurations(j),T===oe?j.cumulativeDuration=E:(E=0,T=oe),!te&&j.snapOptions.in&&(j.resumeAnchor=vn(null,s.fragments,j.startOffset+j.resumptionOffset,0,0)||void 0),j.appendInPlace&&!j.appendInPlaceStarted&&(this.primaryCanResumeInPlaceAt(j,n)||(j.appendInPlace=!1)),!j.appendInPlace&&Y+1<t.length&&t[Y+1].startTime-t[Y].resumeTime<Oc&&(t[Y+1].appendInPlace=!1,t[Y+1].appendInPlace&&this.warn(`Could not change append strategy for abutting event ${j}`));const we=r(j.resumeOffset)?j.resumeOffset:j.duration;E+=we})}primaryCanResumeInPlaceAt(t,n){const s=t.resumeTime,m=t.startTime+t.resumptionOffset;return Math.abs(s-m)>_u?(this.log(`"${t.identifier}" resumption ${s} not aligned with estimated timeline end ${m}`),!1):n?!Object.keys(n).some(T=>{const j=n[T].details,Y=j.edge;if(s>=Y)return this.log(`"${t.identifier}" resumption ${s} past ${T} playlist end ${Y}`),!1;const H=vn(null,j.fragments,s);if(!H)return this.log(`"${t.identifier}" resumption ${s} does not align with any fragments in ${T} playlist (${j.fragStart}-${j.fragmentEnd})`),!0;const te=T==="audio"?.175:0;return Math.abs(H.start-s)<_u+te||Math.abs(H.end-s)<_u+te?!1:(this.log(`"${t.identifier}" resumption ${s} not aligned with ${T} fragment bounds (${H.start}-${H.end} sn: ${H.sn} cc: ${H.cc})`),!0)}):(this.log(`"${t.identifier}" resumption ${s} can not be aligned with media (none selected)`),!1)}updateAssetDurations(t){if(!t.assetListLoaded)return;const n=t.timelineStart;let s=0,m=!1,E=!1;t.assetList.forEach((T,j)=>{const Y=n+s;T.startOffset=s,T.timelineStart=Y,m||(m=T.duration===null),E||(E=!!T.error);const H=T.error?0:T.duration||0;s+=H}),m&&!E?t.duration=Math.max(s,t.duration):t.duration=s}removeEvent(t){t.reset(),delete this.eventMap[t.identifier]}}function Fo(w){return`[${w.event?'"'+w.event.identifier+'"':"primary"}: ${w.start.toFixed(2)}-${w.end.toFixed(2)}]`}class Ql{constructor(t){this.hls=void 0,this.hls=t}destroy(){this.hls=null}loadAssetList(t,n){const s=t.assetListUrl;let m;try{m=kl(s,this.hls.sessionId,t.baseUrl)}catch(me){const we=this.assignAssetListError(t,f.ASSET_LIST_LOAD_ERROR,me,s);this.hls.trigger(o.ERROR,we);return}n&&m.protocol!=="data:"&&m.searchParams.set("_HLS_start_offset",""+n);const E=this.hls.config,T=E.loader,j=new T(E),Y={responseType:"json",url:m.href},H=E.interstitialAssetListLoadPolicy.default,te={loadPolicy:H,timeout:H.maxLoadTimeMs,maxRetry:0,retryDelay:0,maxRetryDelay:0},oe={onSuccess:(me,we,Se,ut)=>{const Je=me.data,Lt=Je==null?void 0:Je.ASSETS;if(!Array.isArray(Lt)){const rr=this.assignAssetListError(t,f.ASSET_LIST_PARSING_ERROR,new Error("Invalid interstitial asset list"),Se.url,we,ut);this.hls.trigger(o.ERROR,rr);return}t.assetListResponse=Je,this.hls.trigger(o.ASSET_LIST_LOADED,{event:t,assetListResponse:Je,networkDetails:ut})},onError:(me,we,Se,ut)=>{const Je=this.assignAssetListError(t,f.ASSET_LIST_LOAD_ERROR,new Error(`Error loading X-ASSET-LIST: HTTP status ${me.code} ${me.text} (${we.url})`),we.url,ut,Se);this.hls.trigger(o.ERROR,Je)},onTimeout:(me,we,Se)=>{const ut=this.assignAssetListError(t,f.ASSET_LIST_LOAD_TIMEOUT,new Error(`Timeout loading X-ASSET-LIST (${we.url})`),we.url,me,Se);this.hls.trigger(o.ERROR,ut)}};return j.load(Y,te,oe),this.hls.trigger(o.ASSET_LIST_LOADING,{event:t}),j}assignAssetListError(t,n,s,m,E,T){return t.error=s,{type:c.NETWORK_ERROR,details:n,fatal:!1,interstitial:t,url:m,error:s,networkDetails:T,stats:E}}}function Ll(w){w==null||w.play().catch(()=>{})}class Rc extends R{constructor(t,n){super("interstitials",t.logger),this.HlsPlayerClass=void 0,this.hls=void 0,this.assetListLoader=void 0,this.mediaSelection=null,this.altSelection=null,this.media=null,this.detachedData=null,this.requiredTracks=null,this.manager=null,this.playerQueue=[],this.bufferedPos=-1,this.timelinePos=-1,this.schedule=void 0,this.playingItem=null,this.bufferingItem=null,this.waitingItem=null,this.endedItem=null,this.playingAsset=null,this.endedAsset=null,this.bufferingAsset=null,this.shouldPlay=!1,this.onPlay=()=>{this.shouldPlay=!0},this.onPause=()=>{this.shouldPlay=!1},this.onSeeking=()=>{const s=this.currentTime;if(s===void 0||this.playbackDisabled)return;const m=s-this.timelinePos;if(Math.abs(m)<1/7056e5)return;const T=m<=-.01;this.timelinePos=s,this.bufferedPos=s;const j=this.playingItem;if(!j){this.checkBuffer();return}if(T&&this.schedule.resetErrorsInRange(s,s-m)&&this.updateSchedule(),this.checkBuffer(),T&&s<j.start||s>=j.end){var Y;const me=this.schedule.findItemIndexAtTime(this.timelinePos);if(!this.isInterstitial(j)&&(Y=this.media)!=null&&Y.paused&&(this.shouldPlay=!1),!T){const we=this.findItemIndex(j);if(me>we){const Se=this.schedule.findJumpRestrictedIndex(we+1,me);if(Se>we){this.setSchedulePosition(Se);return}}}this.setSchedulePosition(me);return}const H=this.playingAsset;if(!H){if(this.playingLastItem&&this.isInterstitial(j)){const me=j.event.assetList[0];me&&(this.endedItem=this.playingItem,this.playingItem=null,this.setScheduleToAssetAtTime(s,me))}return}const te=H.timelineStart,oe=H.duration||0;(T&&s<te||s>=te+oe)&&this.setScheduleToAssetAtTime(s,H)},this.onTimeupdate=()=>{const s=this.currentTime;if(s===void 0||this.playbackDisabled)return;if(s>this.timelinePos)this.timelinePos=s,s>this.bufferedPos&&this.checkBuffer();else return;const m=this.playingItem;if(!m||this.playingLastItem)return;if(s>=m.end){this.timelinePos=m.end;const j=this.findItemIndex(m);this.setSchedulePosition(j+1)}const E=this.playingAsset;if(!E)return;const T=E.timelineStart+(E.duration||0);s>=T&&this.setScheduleToAssetAtTime(s,E)},this.onScheduleUpdate=(s,m)=>{const E=this.schedule,T=this.playingItem,j=E.events||[],Y=E.items||[],H=E.durations,te=s.map(Se=>Se.identifier),oe=!!(j.length||te.length);(oe||m)&&this.log(`INTERSTITIALS_UPDATED (${j.length}): ${j}
|
|
|
Schedule: ${Y.map(Se=>Fo(Se))} pos: ${this.timelinePos}`),te.length&&this.log(`Removed events ${te}`),this.playerQueue.forEach(Se=>{if(Se.interstitial.appendInPlace){const ut=Se.assetItem.timelineStart,Je=Se.timelineOffset-ut;if(Je)try{Se.timelineOffset=ut}catch(Lt){Math.abs(Je)>_u&&this.warn(`${Lt} ("${Se.assetId}" ${Se.timelineOffset}->${ut})`)}}});let me=null;if(T){const Se=this.updateItem(T,this.timelinePos);this.itemsMatch(T,Se)&&(this.playingItem=Se,this.waitingItem=this.endedItem=null,me=()=>this.trimInPlace(Se,T))}else this.waitingItem=this.updateItem(this.waitingItem),this.endedItem=this.updateItem(this.endedItem);const we=this.bufferingItem;if(we){const Se=this.updateItem(we,this.bufferedPos);this.itemsMatch(we,Se)?(this.bufferingItem=Se,me||(me=()=>this.trimInPlace(Se,we))):we.event&&(this.bufferingItem=this.playingItem,this.clearInterstitial(we.event,null))}if(s.forEach(Se=>{Se.assetList.forEach(ut=>{this.clearAssetPlayer(ut.identifier,null)})}),oe||m){if(this.hls.trigger(o.INTERSTITIALS_UPDATED,{events:j.slice(0),schedule:Y.slice(0),durations:H,removedIds:te}),this.isInterstitial(T)&&te.includes(T.event.identifier)){this.warn(`Interstitial "${T.event.identifier}" removed while playing`),this.primaryFallback(T.event);return}me&&me(),this.checkBuffer()}},this.hls=t,this.HlsPlayerClass=n,this.assetListLoader=new Ql(t),this.schedule=new kc(this.onScheduleUpdate,t.logger),this.registerListeners()}registerListeners(){const t=this.hls;t.on(o.MEDIA_ATTACHING,this.onMediaAttaching,this),t.on(o.MEDIA_ATTACHED,this.onMediaAttached,this),t.on(o.MEDIA_DETACHING,this.onMediaDetaching,this),t.on(o.MANIFEST_LOADING,this.onManifestLoading,this),t.on(o.LEVEL_UPDATED,this.onLevelUpdated,this),t.on(o.AUDIO_TRACK_SWITCHING,this.onAudioTrackSwitching,this),t.on(o.AUDIO_TRACK_UPDATED,this.onAudioTrackUpdated,this),t.on(o.SUBTITLE_TRACK_SWITCH,this.onSubtitleTrackSwitch,this),t.on(o.SUBTITLE_TRACK_UPDATED,this.onSubtitleTrackUpdated,this),t.on(o.EVENT_CUE_ENTER,this.onInterstitialCueEnter,this),t.on(o.ASSET_LIST_LOADED,this.onAssetListLoaded,this),t.on(o.BUFFER_APPENDED,this.onBufferAppended,this),t.on(o.BUFFER_FLUSHED,this.onBufferFlushed,this),t.on(o.BUFFERED_TO_END,this.onBufferedToEnd,this),t.on(o.MEDIA_ENDED,this.onMediaEnded,this),t.on(o.ERROR,this.onError,this),t.on(o.DESTROYING,this.onDestroying,this)}unregisterListeners(){const t=this.hls;t&&(t.off(o.MEDIA_ATTACHING,this.onMediaAttaching,this),t.off(o.MEDIA_ATTACHED,this.onMediaAttached,this),t.off(o.MEDIA_DETACHING,this.onMediaDetaching,this),t.off(o.MANIFEST_LOADING,this.onManifestLoading,this),t.off(o.LEVEL_UPDATED,this.onLevelUpdated,this),t.off(o.AUDIO_TRACK_SWITCHING,this.onAudioTrackSwitching,this),t.off(o.AUDIO_TRACK_UPDATED,this.onAudioTrackUpdated,this),t.off(o.SUBTITLE_TRACK_SWITCH,this.onSubtitleTrackSwitch,this),t.off(o.SUBTITLE_TRACK_UPDATED,this.onSubtitleTrackUpdated,this),t.off(o.EVENT_CUE_ENTER,this.onInterstitialCueEnter,this),t.off(o.ASSET_LIST_LOADED,this.onAssetListLoaded,this),t.off(o.BUFFER_CODECS,this.onBufferCodecs,this),t.off(o.BUFFER_APPENDED,this.onBufferAppended,this),t.off(o.BUFFER_FLUSHED,this.onBufferFlushed,this),t.off(o.BUFFERED_TO_END,this.onBufferedToEnd,this),t.off(o.MEDIA_ENDED,this.onMediaEnded,this),t.off(o.ERROR,this.onError,this),t.off(o.DESTROYING,this.onDestroying,this))}startLoad(){this.resumeBuffering()}stopLoad(){this.pauseBuffering()}resumeBuffering(){var t;(t=this.getBufferingPlayer())==null||t.resumeBuffering()}pauseBuffering(){var t;(t=this.getBufferingPlayer())==null||t.pauseBuffering()}destroy(){this.unregisterListeners(),this.stopLoad(),this.assetListLoader&&this.assetListLoader.destroy(),this.emptyPlayerQueue(),this.clearScheduleState(),this.schedule&&this.schedule.destroy(),this.media=this.detachedData=this.mediaSelection=this.requiredTracks=this.altSelection=this.manager=null,this.hls=this.HlsPlayerClass=this.schedule=this.log=null,this.assetListLoader=null,this.onPlay=this.onPause=this.onSeeking=this.onTimeupdate=null,this.onScheduleUpdate=null}onDestroying(){const t=this.primaryMedia||this.media;t&&this.removeMediaListeners(t)}removeMediaListeners(t){uo(t,"play",this.onPlay),uo(t,"pause",this.onPause),uo(t,"seeking",this.onSeeking),uo(t,"timeupdate",this.onTimeupdate)}onMediaAttaching(t,n){const s=this.media=n.media;Ds(s,"seeking",this.onSeeking),Ds(s,"timeupdate",this.onTimeupdate),Ds(s,"play",this.onPlay),Ds(s,"pause",this.onPause)}onMediaAttached(t,n){const s=this.effectivePlayingItem,m=this.detachedData;if(this.detachedData=null,s===null)this.checkStart();else if(!m){this.clearScheduleState();const E=this.findItemIndex(s);this.setSchedulePosition(E)}}clearScheduleState(){this.playingItem=this.bufferingItem=this.waitingItem=this.endedItem=this.playingAsset=this.endedAsset=this.bufferingAsset=null}onMediaDetaching(t,n){const s=!!n.transferMedia,m=this.media;if(this.media=null,!s&&(m&&this.removeMediaListeners(m),this.detachedData)){const E=this.getBufferingPlayer();E&&(this.playingAsset=this.endedAsset=this.bufferingAsset=this.bufferingItem=this.waitingItem=this.detachedData=null,E.detachMedia()),this.shouldPlay=!1}}get interstitialsManager(){if(!this.manager){if(!this.hls)return null;const t=this,n=()=>t.bufferingItem||t.waitingItem,s=oe=>oe&&t.getAssetPlayer(oe.identifier),m=(oe,me,we,Se,ut)=>{if(oe){let Je=oe[me].start;const Lt=oe.event;if(Lt){if(me==="playout"||Lt.timelineOccupancy!==Ol.Point){const rr=s(we);(rr==null?void 0:rr.interstitial)===Lt&&(Je+=rr.assetItem.startOffset+rr[ut])}}else{const rr=Se==="bufferedPos"?T():t[Se];Je+=rr-oe.start}return Je}return 0},E=(oe,me)=>{if(oe!==0&&me!=="primary"&&t.schedule.length){var we;const Se=t.schedule.findItemIndexAtTime(oe),ut=(we=t.schedule.items)==null?void 0:we[Se];if(ut){const Je=ut[me].start-ut.start;return oe+Je}}return oe},T=()=>{const oe=t.bufferedPos;return oe===Number.MAX_VALUE?j("primary"):Math.max(oe,0)},j=oe=>{var me;return(me=t.primaryDetails)!=null&&me.live?t.primaryDetails.edge:t.schedule.durations[oe]},Y=(oe,me)=>{var we,Se;const ut=t.effectivePlayingItem;if(ut!=null&&(we=ut.event)!=null&&we.restrictions.skip)return;t.log(`seek to ${oe} "${me}"`);const Je=t.effectivePlayingItem,Lt=t.schedule.findItemIndexAtTime(oe,me),rr=(Se=t.schedule.items)==null?void 0:Se[Lt],Yt=t.getBufferingPlayer(),Cr=Yt==null?void 0:Yt.interstitial,Hr=Cr==null?void 0:Cr.appendInPlace,cn=Je&&t.itemsMatch(Je,rr);if(Je&&(Hr||cn)){const qr=s(t.playingAsset),an=(qr==null?void 0:qr.media)||t.primaryMedia;if(an){const Br=me==="primary"?an.currentTime:m(Je,me,t.playingAsset,"timelinePos","currentTime"),Fn=oe-Br,oi=(Hr?Br:an.currentTime)+Fn;if(oi>=0&&(!qr||Hr||oi<=qr.duration)){an.currentTime=oi;return}}}if(rr){let qr=oe;if(me!=="primary"){const Br=rr[me].start,Fn=oe-Br;qr=rr.start+Fn}const an=!t.isInterstitial(rr);if((!t.isInterstitial(Je)||Je.event.appendInPlace)&&(an||rr.event.appendInPlace)){const Br=t.media||(Hr?Yt==null?void 0:Yt.media:null);Br&&(Br.currentTime=qr)}else if(Je){const Br=t.findItemIndex(Je);if(Lt>Br){const oi=t.schedule.findJumpRestrictedIndex(Br+1,Lt);if(oi>Br){t.setSchedulePosition(oi);return}}let Fn=0;if(an)t.timelinePos=qr,t.checkBuffer();else{var zr;const oi=rr==null||(zr=rr.event)==null?void 0:zr.assetList;if(oi){const sa=oe-(rr[me]||rr).start;for(let Ui=oi.length;Ui--;){const $i=oi[Ui];if($i.duration&&sa>=$i.startOffset&&sa<$i.startOffset+$i.duration){Fn=Ui;break}}}}t.setSchedulePosition(Lt,Fn)}}},H=()=>{const oe=t.effectivePlayingItem;if(t.isInterstitial(oe))return oe;const me=n();return t.isInterstitial(me)?me:null},te={get currentTime(){const oe=H(),me=t.effectivePlayingItem;return me&&me===oe?m(me,"playout",t.effectivePlayingAsset,"timelinePos","currentTime")-me.playout.start:0},set currentTime(oe){const me=H(),we=t.effectivePlayingItem;we&&we===me&&Y(oe+we.playout.start,"playout")},get duration(){const oe=H();return oe?oe.playout.end-oe.playout.start:0},get assetPlayers(){var oe;const me=(oe=H())==null?void 0:oe.event.assetList;return me?me.map(we=>t.getAssetPlayer(we.identifier)):[]},get playingIndex(){var oe;const me=(oe=H())==null?void 0:oe.event;return me&&t.effectivePlayingAsset?me.findAssetIndex(t.effectivePlayingAsset):-1},get scheduleItem(){return H()}};this.manager={get events(){var oe,me;return((oe=t.schedule)==null||(me=oe.events)==null?void 0:me.slice(0))||[]},get schedule(){var oe,me;return((oe=t.schedule)==null||(me=oe.items)==null?void 0:me.slice(0))||[]},get interstitialPlayer(){return H()?te:null},get playerQueue(){return t.playerQueue.slice(0)},get bufferingAsset(){return t.bufferingAsset},get bufferingItem(){return n()},get bufferingIndex(){const oe=n();return t.findItemIndex(oe)},get playingAsset(){return t.effectivePlayingAsset},get playingItem(){return t.effectivePlayingItem},get playingIndex(){const oe=t.effectivePlayingItem;return t.findItemIndex(oe)},primary:{get bufferedEnd(){return T()},get currentTime(){const oe=t.timelinePos;return oe>0?oe:0},set currentTime(oe){Y(oe,"primary")},get duration(){return j("primary")},get seekableStart(){var oe;return((oe=t.primaryDetails)==null?void 0:oe.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(oe){Y(oe,"integrated")},get duration(){return j("integrated")},get seekableStart(){var oe;return E(((oe=t.primaryDetails)==null?void 0:oe.fragmentStart)||0,"integrated")}},skip:()=>{const oe=t.effectivePlayingItem,me=oe==null?void 0:oe.event;if(me&&!me.restrictions.skip){const we=t.findItemIndex(oe);if(me.appendInPlace){const Se=oe.playout.start+oe.event.duration;Y(Se+.001,"playout")}else t.advanceAfterAssetEnded(me,we,1/0)}}}}return this.manager}get effectivePlayingItem(){return this.waitingItem||this.playingItem||this.endedItem}get effectivePlayingAsset(){return this.playingAsset||this.endedAsset}get playingLastItem(){var t;const n=this.playingItem,s=(t=this.schedule)==null?void 0:t.items;return!this.playbackStarted||!n||!s?!1:this.findItemIndex(n)===s.length-1}get playbackStarted(){return this.effectivePlayingItem!==null}get currentTime(){var t,n,s;if(this.mediaSelection===null)return;const m=this.waitingItem||this.playingItem;if(this.isInterstitial(m)&&!m.event.appendInPlace)return;let E=this.media;!E&&(t=this.bufferingItem)!=null&&(n=t.event)!=null&&n.appendInPlace&&(E=this.primaryMedia);const T=(s=E)==null?void 0:s.currentTime;if(!(T===void 0||!r(T)))return T}get primaryMedia(){var t;return this.media||((t=this.detachedData)==null?void 0:t.media)||null}isInterstitial(t){return!!(t!=null&&t.event)}retreiveMediaSource(t,n){const s=this.getAssetPlayer(t);s&&this.transferMediaFromPlayer(s,n)}transferMediaFromPlayer(t,n){const s=t.interstitial.appendInPlace,m=t.media;if(s&&m===this.primaryMedia){if(this.bufferingAsset=null,(!n||this.isInterstitial(n)&&!n.event.appendInPlace)&&n&&m){this.detachedData={media:m};return}const E=t.transferMedia();this.log(`transfer MediaSource from ${t} ${Un(E)}`),this.detachedData=E}else n&&m&&(this.shouldPlay||(this.shouldPlay=!m.paused))}transferMediaTo(t,n){var s,m;if(t.media===n)return;let E=null;const T=this.hls,j=t!==T,Y=j&&t.interstitial.appendInPlace,H=(s=this.detachedData)==null?void 0:s.mediaSource;let te;if(T.media)Y&&(E=T.transferMedia(),this.detachedData=E),te="Primary";else if(H){const we=this.getBufferingPlayer();we?(E=we.transferMedia(),te=`${we}`):te="detached MediaSource"}else te="detached media";if(!E){if(H)E=this.detachedData,this.log(`using detachedData: MediaSource ${Un(E)}`);else if(!this.detachedData||T.media===n){const we=this.playerQueue;we.length>1&&we.forEach(Se=>{if(j&&Se.interstitial.appendInPlace!==Y){const ut=Se.interstitial;this.clearInterstitial(Se.interstitial,null),ut.appendInPlace=!1,ut.appendInPlace&&this.warn(`Could not change append strategy for queued assets ${ut}`)}}),this.hls.detachMedia(),this.detachedData={media:n}}}const oe=E&&"mediaSource"in E&&((m=E.mediaSource)==null?void 0:m.readyState)!=="closed",me=oe&&E?E:n;if(this.log(`${oe?"transfering MediaSource":"attaching media"} to ${j?t:"Primary"} from ${te}`),me===E){const we=j&&t.assetId===this.schedule.assetIdAtEnd;me.overrides={duration:this.schedule.duration,endOfStream:!j||we,cueRemoval:!j}}t.attachMedia(me)}onInterstitialCueEnter(){this.onTimeupdate()}checkStart(){const t=this.schedule,n=t.events;if(!n||this.playbackDisabled||!this.media)return;this.bufferedPos===-1&&(this.bufferedPos=0);const s=this.timelinePos,m=this.effectivePlayingItem;if(s===-1){const E=this.hls.startPosition;if(this.timelinePos=E,n.length&&n[0].cue.pre){const T=t.findEventIndex(n[0].identifier);this.setSchedulePosition(T)}else if(E>=0||!this.primaryLive){const T=this.timelinePos=E>0?E:0,j=t.findItemIndexAtTime(T);this.setSchedulePosition(j)}}else if(m&&!this.playingItem){const E=t.findItemIndex(m);this.setSchedulePosition(E)}}advanceAfterAssetEnded(t,n,s){const m=Dc(t,s);if(!t.isAssetPastPlayoutLimit(m))this.setSchedulePosition(n,m);else{const E=this.schedule.items;if(E){const T=n+1,j=E.length;if(T>=j){this.setSchedulePosition(-1);return}const Y=t.resumeTime;this.timelinePos<Y&&(this.timelinePos=Y,this.checkBuffer()),this.setSchedulePosition(T)}}}setScheduleToAssetAtTime(t,n){const s=this.schedule,m=n.parentIdentifier,E=s.getEvent(m);if(E){const T=s.findEventIndex(m),j=s.findAssetIndex(E,t);this.advanceAfterAssetEnded(E,T,j-1)}}setSchedulePosition(t,n){const s=this.schedule.items;if(!s||this.playbackDisabled)return;this.log(`setSchedulePosition ${t}, ${n}`);const m=t>=0?s[t]:null,E=this.playingItem,T=this.playingLastItem;if(this.isInterstitial(E)){var j;const H=E.event,te=this.playingAsset,oe=te==null?void 0:te.identifier,me=oe?this.getAssetPlayer(oe):null;if(me&&oe&&(!this.eventItemsMatch(E,m)||n!==void 0&&oe!==((j=H.assetList)==null?void 0:j[n].identifier))){var Y;const we=H.findAssetIndex(te);if(this.log(`INTERSTITIAL_ASSET_ENDED ${we+1}/${H.assetList.length} ${Iu(te)}`),this.endedAsset=te,this.playingAsset=null,this.hls.trigger(o.INTERSTITIAL_ASSET_ENDED,{asset:te,assetListIndex:we,event:H,schedule:s.slice(0),scheduleIndex:t,player:me}),E!==this.playingItem){this.itemsMatch(E,this.playingItem)&&!this.playingAsset&&this.advanceAfterAssetEnded(H,this.findItemIndex(this.playingItem),we);return}this.retreiveMediaSource(oe,m),me.media&&!((Y=this.detachedData)!=null&&Y.mediaSource)&&me.detachMedia()}if(!this.eventItemsMatch(E,m)&&(this.endedItem=E,this.playingItem=null,this.log(`INTERSTITIAL_ENDED ${H} ${Fo(E)}`),H.hasPlayed=!0,this.hls.trigger(o.INTERSTITIAL_ENDED,{event:H,schedule:s.slice(0),scheduleIndex:t}),H.cue.once)){this.updateSchedule();const we=this.schedule.items;if(m&&we){const Se=this.findItemIndex(m);this.advanceSchedule(Se,we,n,E,T)}return}}this.advanceSchedule(t,s,n,E,T)}advanceSchedule(t,n,s,m,E){const T=t>=0?n[t]:null,j=this.primaryMedia,Y=this.playerQueue;if(Y.length&&Y.forEach(H=>{const te=H.interstitial,oe=this.schedule.findEventIndex(te.identifier);(oe<t||oe>t+1)&&this.clearInterstitial(te,T)}),this.isInterstitial(T)){this.timelinePos=Math.min(Math.max(this.timelinePos,T.start),T.end);const H=T.event;if(s===void 0){s=this.schedule.findAssetIndex(H,this.timelinePos);const we=Dc(H,s-1);if(H.isAssetPastPlayoutLimit(we)){this.advanceAfterAssetEnded(H,t,s);return}s=we}const te=this.waitingItem;this.assetsBuffered(T,j)||this.setBufferingItem(T);let oe=this.preloadAssets(H,s);if(this.eventItemsMatch(T,te||m)||(this.waitingItem=T,this.log(`INTERSTITIAL_STARTED ${Fo(T)} ${H.appendInPlace?"append in place":""}`),this.hls.trigger(o.INTERSTITIAL_STARTED,{event:H,schedule:n.slice(0),scheduleIndex:t})),!H.assetListLoaded){this.log(`Waiting for ASSET-LIST to complete loading ${H}`);return}if(H.assetListLoader&&(H.assetListLoader.destroy(),H.assetListLoader=void 0),!j){this.log(`Waiting for attachMedia to start Interstitial ${H}`);return}this.waitingItem=this.endedItem=null,this.playingItem=T;const me=H.assetList[s];if(!me){const we=n[t+1],Se=this.media;we&&Se&&!this.isInterstitial(we)&&Se.currentTime<we.start&&(Se.currentTime=this.timelinePos=we.start),this.advanceAfterAssetEnded(H,t,s||0);return}if(oe||(oe=this.getAssetPlayer(me.identifier)),oe===null||oe.destroyed){const we=H.assetList.length;this.warn(`asset ${s+1}/${we} player destroyed ${H}`),oe=this.createAssetPlayer(H,me,s)}if(!this.eventItemsMatch(T,this.bufferingItem)&&H.appendInPlace&&this.isAssetBuffered(me))return;this.startAssetPlayer(oe,s,n,t,j),this.shouldPlay&&Ll(oe.media)}else T!==null?(this.resumePrimary(T,t,m),this.shouldPlay&&Ll(this.hls.media)):E&&this.isInterstitial(m)&&(this.endedItem=null,this.playingItem=m,m.event.appendInPlace||this.attachPrimary(this.schedule.durations.primary,null))}get playbackDisabled(){return this.hls.config.enableInterstitialPlayback===!1}get primaryDetails(){var t,n;return(t=this.mediaSelection)==null||(n=t.main)==null?void 0:n.details}get primaryLive(){var t;return!!((t=this.primaryDetails)!=null&&t.live)}resumePrimary(t,n,s){var m;if(this.playingItem=t,this.playingAsset=this.endedAsset=null,this.waitingItem=this.endedItem=null,this.bufferedToItem(t),this.log(`resuming ${Fo(t)}`),!((m=this.detachedData)!=null&&m.mediaSource)){let T=this.timelinePos;(T<t.start||T>=t.end)&&(T=this.getPrimaryResumption(t,n),this.timelinePos=T),this.attachPrimary(T,t)}if(!s)return;const E=this.schedule.items;E&&(this.log(`INTERSTITIALS_PRIMARY_RESUMED ${Fo(t)}`),this.hls.trigger(o.INTERSTITIALS_PRIMARY_RESUMED,{schedule:E.slice(0),scheduleIndex:n}),this.checkBuffer())}getPrimaryResumption(t,n){const s=t.start;if(this.primaryLive){const m=this.primaryDetails;if(n===0)return this.hls.startPosition;if(m&&(s<m.fragmentStart||s>m.edge))return this.hls.liveSyncPosition||-1}return s}isAssetBuffered(t){const n=this.getAssetPlayer(t.identifier);return n!=null&&n.hls?n.hls.bufferedToEnd:Zn.bufferInfo(this.primaryMedia,this.timelinePos,0).end+1>=t.timelineStart+(t.duration||0)}attachPrimary(t,n,s){n?this.setBufferingItem(n):this.bufferingItem=this.playingItem,this.bufferingAsset=null;const m=this.primaryMedia;if(!m)return;const E=this.hls;E.media?this.checkBuffer():(this.transferMediaTo(E,m),s&&this.startLoadingPrimaryAt(t,s)),s||(this.timelinePos=t,this.startLoadingPrimaryAt(t,s))}startLoadingPrimaryAt(t,n){var s;const m=this.hls;!m.loadingEnabled||!m.media||Math.abs((((s=m.mainForwardBufferInfo)==null?void 0:s.start)||m.media.currentTime)-t)>.5?m.startLoad(t,n):m.bufferingEnabled||m.resumeBuffering()}onManifestLoading(){this.stopLoad(),this.schedule.reset(),this.emptyPlayerQueue(),this.clearScheduleState(),this.shouldPlay=!1,this.bufferedPos=this.timelinePos=-1,this.mediaSelection=this.altSelection=this.manager=this.requiredTracks=null,this.hls.off(o.BUFFER_CODECS,this.onBufferCodecs,this),this.hls.on(o.BUFFER_CODECS,this.onBufferCodecs,this)}onLevelUpdated(t,n){if(n.level===-1)return;const s=this.hls.levels[n.level],m=b(b({},this.mediaSelection||this.altSelection),{},{main:s});this.mediaSelection=m,this.schedule.parseInterstitialDateRanges(m,this.hls.config.interstitialAppendInPlace),!this.effectivePlayingItem&&this.schedule.items&&this.checkStart()}onAudioTrackUpdated(t,n){const s=this.hls.audioTracks[n.id],m=this.mediaSelection;if(!m){this.altSelection=b(b({},this.altSelection),{},{audio:s});return}const E=b(b({},m),{},{audio:s});this.mediaSelection=E}onSubtitleTrackUpdated(t,n){const s=this.hls.subtitleTracks[n.id],m=this.mediaSelection;if(!m){this.altSelection=b(b({},this.altSelection),{},{subtitles:s});return}const E=b(b({},m),{},{subtitles:s});this.mediaSelection=E}onAudioTrackSwitching(t,n){const s=di(n);this.playerQueue.forEach(m=>m.hls.setAudioOption(n)||m.hls.setAudioOption(s))}onSubtitleTrackSwitch(t,n){const s=di(n);this.playerQueue.forEach(m=>m.hls.setSubtitleOption(n)||n.id!==-1&&m.hls.setSubtitleOption(s))}onBufferCodecs(t,n){const s=n.tracks;s&&(this.requiredTracks=s)}onBufferAppended(t,n){this.checkBuffer()}onBufferFlushed(t,n){const s=this.playingItem;if(s&&!this.itemsMatch(s,this.bufferingItem)&&!this.isInterstitial(s)){const m=this.timelinePos;this.bufferedPos=m,this.checkBuffer()}}onBufferedToEnd(t){const n=this.schedule.events;if(this.bufferedPos<Number.MAX_VALUE&&n){for(let m=0;m<n.length;m++){const E=n[m];if(E.cue.post){var s;const T=this.schedule.findEventIndex(E.identifier),j=(s=this.schedule.items)==null?void 0:s[T];this.isInterstitial(j)&&this.eventItemsMatch(j,this.bufferingItem)&&this.bufferedToItem(j,0);break}}this.bufferedPos=Number.MAX_VALUE}}onMediaEnded(t){const n=this.playingItem;if(!this.playingLastItem&&n){const s=this.findItemIndex(n);this.setSchedulePosition(s+1)}else this.shouldPlay=!1}updateItem(t,n){const s=this.schedule.items;if(t&&s){const m=this.findItemIndex(t,n);return s[m]||null}return null}trimInPlace(t,n){if(this.isInterstitial(t)&&t.event.appendInPlace&&n.end-t.end>.25){t.event.assetList.forEach((E,T)=>{t.event.isAssetPastPlayoutLimit(T)&&this.clearAssetPlayer(E.identifier,null)});const s=t.end+.25,m=Zn.bufferInfo(this.primaryMedia,s,0);(m.end>s||(m.nextStart||0)>s)&&(this.attachPrimary(s,null),this.flushFrontBuffer(s))}}itemsMatch(t,n){return!!n&&(t===n||t.event&&n.event&&this.eventItemsMatch(t,n)||!t.event&&!n.event&&this.findItemIndex(t)===this.findItemIndex(n))}eventItemsMatch(t,n){var s;return!!n&&(t===n||t.event.identifier===((s=n.event)==null?void 0:s.identifier))}findItemIndex(t,n){return t?this.schedule.findItemIndex(t,n):-1}updateSchedule(){const t=this.mediaSelection;t&&this.schedule.updateSchedule(t,[])}checkBuffer(t){const n=this.schedule.items;if(!n)return;const s=Zn.bufferInfo(this.primaryMedia,this.timelinePos,0);t&&(this.bufferedPos=this.timelinePos),t||(t=s.len<1),this.updateBufferedPos(s.end,n,t)}updateBufferedPos(t,n,s){const m=this.schedule,E=this.bufferingItem;if(this.bufferedPos>t)return;if(n.length===1&&this.itemsMatch(n[0],E)){this.bufferedPos=t;return}const T=this.playingItem,j=this.findItemIndex(T);let Y=m.findItemIndexAtTime(t);if(this.bufferedPos<t){var H,te;const oe=this.findItemIndex(E),me=Math.min(oe+1,n.length-1),we=n[me];if((Y===-1&&E&&t>=E.end||(H=we.event)!=null&&H.appendInPlace&&t+.01>=we.start)&&(Y=me),me-j>1&&(E==null||(te=E.event)==null?void 0:te.appendInPlace)===!1)return;if(this.bufferedPos=t,Y>oe&&Y>j)this.bufferedToItem(we);else{const Se=this.primaryDetails;this.primaryLive&&Se&&t>Se.edge-Se.targetduration&&we.start<Se.edge+this.hls.config.interstitialLiveLookAhead&&this.isInterstitial(we)&&this.preloadAssets(we.event,0)}}else s&&T&&!this.itemsMatch(T,E)&&(Y===j?this.bufferedToItem(T):Y===j+1&&this.bufferedToItem(n[Y]))}assetsBuffered(t,n){return t.event.assetList.length===0?!1:!t.event.assetList.some(m=>{const E=this.getAssetPlayer(m.identifier);return!(E!=null&&E.bufferedInPlaceToEnd(n))})}setBufferingItem(t){const n=this.bufferingItem,s=this.schedule;if(this.itemsMatch(t,n))this.bufferingItem!==t&&(this.bufferingItem=t);else{const{items:m,events:E}=s;if(!m||!E)return n;const T=this.isInterstitial(t),j=this.getBufferingPlayer();this.bufferingItem=t,this.bufferedPos=Math.max(t.start,Math.min(t.end,this.timelinePos));const Y=j?j.remaining:n?n.end-this.timelinePos:0;this.log(`INTERSTITIALS_BUFFERED_TO_BOUNDARY ${Fo(t)}`+(n?` (${Y.toFixed(2)} remaining)`:"")),this.playbackDisabled||(T?t.event.assetList.forEach(H=>{const te=this.getAssetPlayer(H.identifier);te&&te.resumeBuffering()}):(this.hls.resumeBuffering(),this.playerQueue.forEach(H=>H.pauseBuffering()))),this.hls.trigger(o.INTERSTITIALS_BUFFERED_TO_BOUNDARY,{events:E.slice(0),schedule:m.slice(0),bufferingIndex:this.findItemIndex(t),playingIndex:this.findItemIndex(this.playingItem)})}return n}bufferedToItem(t,n=0){const s=this.setBufferingItem(t);if(!this.playbackDisabled){if(this.isInterstitial(t))this.bufferedToEvent(t,n);else if(s!==null){this.bufferingAsset=null;const m=this.detachedData;m?m.mediaSource?this.attachPrimary(t.start,t,!0):this.preloadPrimary(t):this.preloadPrimary(t)}}}preloadPrimary(t){const n=this.findItemIndex(t),s=this.getPrimaryResumption(t,n);this.startLoadingPrimaryAt(s)}bufferedToEvent(t,n){const s=t.event,m=s.assetList.length===0&&!s.assetListLoader,E=s.cue.once;if(m||!E){const T=this.preloadAssets(s,n);if(T!=null&&T.interstitial.appendInPlace){const j=s.assetList[n],Y=this.primaryMedia;j&&Y&&this.bufferAssetPlayer(T,Y)}}}preloadAssets(t,n){const s=t.assetUrl,m=t.assetList.length,E=m===0&&!t.assetListLoader,T=t.cue.once;if(E){const Y=t.timelineStart;if(t.appendInPlace){var j;const me=this.playingItem;!this.isInterstitial(me)&&(me==null||(j=me.nextEvent)==null?void 0:j.identifier)===t.identifier&&this.flushFrontBuffer(Y+.25)}let H,te=0;if(!this.playingItem&&this.primaryLive&&(te=this.hls.startPosition,te===-1&&(te=this.hls.liveSyncPosition||0)),te&&!(t.cue.pre||t.cue.post)){const me=te-Y;me>0&&(H=Math.round(me*1e3)/1e3)}if(this.log(`Load interstitial asset ${n+1}/${s?1:m} ${t}${H?` live-start: ${te} start-offset: ${H}`:""}`),s)return this.createAsset(t,0,0,Y,t.duration,s);const oe=this.assetListLoader.loadAssetList(t,H);oe&&(t.assetListLoader=oe)}else if(!T&&m){for(let Y=n;Y<m;Y++){const H=t.assetList[Y],te=this.getAssetPlayerQueueIndex(H.identifier);(te===-1||this.playerQueue[te].destroyed)&&!H.error&&this.createAssetPlayer(t,H,Y)}return this.getAssetPlayer(t.assetList[n].identifier)}return null}flushFrontBuffer(t){const n=this.requiredTracks;if(!n)return;this.log(`Removing front buffer starting at ${t}`),Object.keys(n).forEach(m=>{this.hls.trigger(o.BUFFER_FLUSHING,{startOffset:t,endOffset:1/0,type:m})})}getAssetPlayerQueueIndex(t){const n=this.playerQueue;for(let s=0;s<n.length;s++)if(t===n[s].assetId)return s;return-1}getAssetPlayer(t){const n=this.getAssetPlayerQueueIndex(t);return this.playerQueue[n]||null}getBufferingPlayer(){const{playerQueue:t,primaryMedia:n}=this;if(n){for(let s=0;s<t.length;s++)if(t[s].media===n)return t[s]}return null}createAsset(t,n,s,m,E,T){const j={parentIdentifier:t.identifier,identifier:Yl(t,T,n),duration:E,startOffset:s,timelineStart:m,uri:T};return this.createAssetPlayer(t,j,n)}createAssetPlayer(t,n,s){const m=this.hls,E=m.userConfig;let T=E.videoPreference;const j=m.loadLevelObj||m.levels[m.currentLevel];(T||j)&&(T=y({},T),j.videoCodec&&(T.videoCodec=j.videoCodec),j.videoRange&&(T.allowedVideoRanges=[j.videoRange]));const Y=m.audioTracks[m.audioTrack],H=m.subtitleTracks[m.subtitleTrack];let te=0;if(this.primaryLive||t.appendInPlace){const Yt=this.timelinePos-n.timelineStart;if(Yt>1){const Cr=n.duration;Cr&&Yt<Cr&&(te=Yt)}}const oe=n.identifier,me=b(b({},E),{},{autoStartLoad:!0,startFragPrefetch:!0,primarySessionId:m.sessionId,assetPlayerId:oe,abrEwmaDefaultEstimate:m.bandwidthEstimate,interstitialsController:void 0,startPosition:te,liveDurationInfinity:!1,testBandwidth:!1,videoPreference:T,audioPreference:Y||E.audioPreference,subtitlePreference:H||E.subtitlePreference});t.appendInPlace&&(t.appendInPlaceStarted=!0,n.timelineStart&&(me.timelineOffset=n.timelineStart));const we=me.cmcd;we!=null&&we.sessionId&&we.contentId&&(me.cmcd=y({},we,{contentId:po(n.uri)})),this.getAssetPlayer(oe)&&this.warn(`Duplicate date range identifier ${t} and asset ${oe}`);const Se=new Rl(this.HlsPlayerClass,me,t,n);this.playerQueue.push(Se),t.assetList[s]=n;const ut=Yt=>{if(Yt.live){const cn=new Error(`Interstitials MUST be VOD assets ${t}`),zr={fatal:!0,type:c.OTHER_ERROR,details:f.INTERSTITIAL_ASSET_ITEM_ERROR,error:cn};this.handleAssetItemError(zr,t,this.schedule.findEventIndex(t.identifier),s,cn.message);return}const Cr=Yt.edge-Yt.fragmentStart,Hr=n.duration;(Hr===null||Cr>Hr)&&(this.log(`Interstitial asset "${oe}" duration change ${Hr} > ${Cr}`),n.duration=Cr,this.updateSchedule())};Se.on(o.LEVEL_UPDATED,(Yt,{details:Cr})=>ut(Cr)),Se.on(o.LEVEL_PTS_UPDATED,(Yt,{details:Cr})=>ut(Cr));const Je=(Yt,Cr)=>{const Hr=this.getAssetPlayer(oe);if(Hr&&Cr.tracks){Hr.off(o.BUFFER_CODECS,Je),Hr.tracks=Cr.tracks;const cn=this.primaryMedia;this.bufferingAsset===Hr.assetItem&&cn&&!Hr.media&&this.bufferAssetPlayer(Hr,cn)}};Se.on(o.BUFFER_CODECS,Je);const Lt=()=>{var Yt;const Cr=this.getAssetPlayer(oe);if(this.log(`buffered to end of asset ${Cr}`),!Cr)return;const Hr=this.schedule.findEventIndex(t.identifier),cn=(Yt=this.schedule.items)==null?void 0:Yt[Hr];if(this.isInterstitial(cn)){const qr=t.findAssetIndex(n),an=Dc(t,qr);if(!t.isAssetPastPlayoutLimit(an))this.bufferedToItem(cn,an);else{var zr;const Br=(zr=this.schedule.items)==null?void 0:zr[Hr+1];Br&&this.bufferedToItem(Br)}}};Se.on(o.BUFFERED_TO_END,Lt);const rr=Yt=>()=>{if(!this.getAssetPlayer(oe))return;this.shouldPlay=!0;const Hr=this.schedule.findEventIndex(t.identifier);this.advanceAfterAssetEnded(t,Hr,Yt)};return Se.once(o.MEDIA_ENDED,rr(s)),Se.once(o.PLAYOUT_LIMIT_REACHED,rr(1/0)),Se.on(o.ERROR,(Yt,Cr)=>{const Hr=this.getAssetPlayer(oe);if(Cr.details===f.BUFFER_STALLED_ERROR){if(Hr!=null&&Hr.media){const cn=Hr.currentTime,zr=Hr.duration-cn;cn&&t.appendInPlace&&zr/Hr.media.playbackRate<.5?(this.log(`Advancing buffer past end of asset ${oe} ${t} at ${Hr.media.currentTime}`),Lt()):(this.warn(`Stalled at ${cn} of ${cn+zr} in asset ${oe} ${t}`),this.onTimeupdate(),this.checkBuffer(!0))}return}this.handleAssetItemError(Cr,t,this.schedule.findEventIndex(t.identifier),s,`Asset player error ${Cr.error} ${t}`)}),Se.on(o.DESTROYING,()=>{if(!this.getAssetPlayer(oe))return;const Cr=new Error(`Asset player destroyed unexpectedly ${oe}`),Hr={fatal:!0,type:c.OTHER_ERROR,details:f.INTERSTITIAL_ASSET_ITEM_ERROR,error:Cr};this.handleAssetItemError(Hr,t,this.schedule.findEventIndex(t.identifier),s,Cr.message)}),this.log(`INTERSTITIAL_ASSET_PLAYER_CREATED ${Iu(n)}`),this.hls.trigger(o.INTERSTITIAL_ASSET_PLAYER_CREATED,{asset:n,assetListIndex:s,event:t,player:Se}),Se}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&&Fo(n)}`);const m=this.playerQueue[s];this.transferMediaFromPlayer(m,n),this.playerQueue.splice(s,1),m.destroy()}}emptyPlayerQueue(){let t;for(;t=this.playerQueue.pop();)t.destroy();this.playerQueue=[]}startAssetPlayer(t,n,s,m,E){const{interstitial:T,assetItem:j,assetId:Y}=t,H=T.assetList.length,te=this.playingAsset;this.endedAsset=null,this.playingAsset=j,(!te||te.identifier!==Y)&&(te&&(this.clearAssetPlayer(te.identifier,s[m]),delete te.error),this.log(`INTERSTITIAL_ASSET_STARTED ${n+1}/${H} ${Iu(j)}`),this.hls.trigger(o.INTERSTITIAL_ASSET_STARTED,{asset:j,assetListIndex:n,event:T,schedule:s.slice(0),scheduleIndex:m,player:t})),this.bufferAssetPlayer(t,E)}bufferAssetPlayer(t,n){var s,m;const{interstitial:E,assetItem:T}=t,j=this.schedule.findEventIndex(E.identifier),Y=(s=this.schedule.items)==null?void 0:s[j];if(!Y)return;this.setBufferingItem(Y),this.bufferingAsset=T;const H=this.getBufferingPlayer();if(H===t)return;const te=E.appendInPlace;if(te&&(H==null?void 0:H.interstitial.appendInPlace)===!1)return;const oe=(H==null?void 0:H.tracks)||((m=this.detachedData)==null?void 0:m.tracks)||this.requiredTracks;if(te&&T!==this.playingAsset){if(!t.tracks)return;if(oe&&!le(oe,t.tracks)){const me=new Error(`Asset ${Iu(T)} SourceBuffer tracks ('${Object.keys(t.tracks)}') are not compatible with primary content tracks ('${Object.keys(oe)}')`),we={fatal:!0,type:c.OTHER_ERROR,details:f.INTERSTITIAL_ASSET_ITEM_ERROR,error:me},Se=E.findAssetIndex(T);this.handleAssetItemError(we,E,j,Se,me.message);return}}this.transferMediaTo(t,n)}handleAssetItemError(t,n,s,m,E){if(t.details===f.BUFFER_STALLED_ERROR)return;const T=n.assetList[m];this.warn(`INTERSTITIAL_ASSET_ERROR ${T&&Iu(T)} ${t.error}`);const j=T==null?void 0:T.identifier,Y=this.getAssetPlayerQueueIndex(j),H=this.playerQueue[Y]||null,te=this.schedule.items,oe=y({},t,{fatal:!1,errorAction:ar(!0),asset:T,assetListIndex:m,event:n,schedule:te,scheduleIndex:s,player:H});if(this.hls.trigger(o.INTERSTITIAL_ASSET_ERROR,oe),!t.fatal)return;const me=this.playingAsset,we=new Error(E);if(T&&(this.clearAssetPlayer(j,null),T.error=we),!n.assetList.some(Se=>!Se.error))n.error=we;else{for(let Se=m;Se<n.assetList.length;Se++)this.resetAssetPlayer(n.assetList[Se].identifier);this.updateSchedule()}n.error?this.primaryFallback(n):me&&me.identifier===j&&this.advanceAfterAssetEnded(n,s,m)}primaryFallback(t){const n=t.timelineStart,s=this.effectivePlayingItem;if(this.updateSchedule(),s){this.log(`Fallback to primary from event "${t.identifier}" start: ${n} pos: ${this.timelinePos} playing: ${s?Fo(s):"<none>"} error: ${t.error}`);let m=this.timelinePos;m===-1&&(m=this.hls.startPosition);const E=this.updateItem(s,m);this.itemsMatch(s,E)&&this.clearInterstitial(t,null),t.appendInPlace&&(this.attachPrimary(n,null),this.flushFrontBuffer(n));const T=this.schedule.findItemIndexAtTime(m);this.setSchedulePosition(T)}else this.checkStart()}onAssetListLoaded(t,n){var s;const m=n.event,E=m.identifier,T=n.assetListResponse.ASSETS;if(!this.schedule.hasEvent(E))return;const j=m.timelineStart,Y=m.duration;let H=0;T.forEach((Se,ut)=>{const Je=parseFloat(Se.DURATION);this.createAsset(m,ut,H,j+H,Je,Se.URI),H+=Je}),m.duration=H,this.log(`Loaded asset-list with duration: ${H} (was: ${Y}) ${m}`);const te=this.waitingItem,oe=(te==null?void 0:te.event.identifier)===E;this.updateSchedule();const me=(s=this.bufferingItem)==null?void 0:s.event;if(oe){var we;const Se=this.schedule.findEventIndex(E),ut=(we=this.schedule.items)==null?void 0:we[Se];if(ut){if(!this.playingItem&&this.timelinePos>ut.end&&this.schedule.findItemIndexAtTime(this.timelinePos)!==Se){m.error=new Error(`Interstitial no longer within playback range ${this.timelinePos} ${m}`),this.primaryFallback(m);return}this.setBufferingItem(ut)}this.setSchedulePosition(Se)}else if((me==null?void 0:me.identifier)===E&&me.appendInPlace){const Se=m.assetList[0],ut=this.getAssetPlayer(Se.identifier),Je=this.primaryMedia;Se&&ut&&Je&&this.bufferAssetPlayer(ut,Je)}}onError(t,n){switch(n.details){case f.ASSET_LIST_PARSING_ERROR:case f.ASSET_LIST_LOAD_ERROR:case f.ASSET_LIST_LOAD_TIMEOUT:{const s=n.interstitial;s&&this.primaryFallback(s);break}case f.BUFFER_STALLED_ERROR:{this.onTimeupdate(),this.checkBuffer(!0);break}}}}const ql=500;class Kc extends Yi{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(ql),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)||(De(s)&&(this.fragPrevious=s),this.state=Jt.IDLE),!m)return;const E=this.tracksBuffered[this.currentTrackId];if(!E)return;let T;const j=s.start;for(let H=0;H<E.length;H++)if(j>=E[H].start&&j<=E[H].end){T=E[H];break}const Y=s.start+s.duration;T?T.end=Y:(T={start:j,end:Y},E.push(T)),this.fragmentTracker.fragBuffered(s),this.fragBufferedComplete(s,null),this.media&&this.tick()}onBufferFlushing(t,n){const{startOffset:s,endOffset:m}=n;if(s===0&&m!==Number.POSITIVE_INFINITY){const E=m-1;if(E<=0)return;n.endOffsetSubtitles=Math.max(0,E),this.tracksBuffered.forEach(T=>{for(let j=0;j<T.length;){if(T[j].end<=E){T.shift();continue}else if(T[j].start<E)T[j].start=E;else break;j++}}),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&&wl(this.levels,n)){this.levels=n.map(s=>new lr(s));return}this.tracksBuffered=[],this.levels=n.map(s=>{const m=new lr(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(ql)}onSubtitleTrackLoaded(t,n){var s;const{currentTrackId:m,levels:E}=this,{details:T,id:j}=n;if(!E){this.warn(`Subtitle tracks were reset while loading level ${j}`);return}const Y=E[j];if(j>=E.length||!Y)return;this.log(`Subtitle track ${j} loaded [${T.startSN},${T.endSN}]${T.lastPartSn?`[part-${T.lastPartSn}-${T.lastPartIndex}]`:""},duration:${T.totalduration}`),this.mediaBuffer=this.mediaBufferTimeRanges;let H=0;if(T.live||(s=Y.details)!=null&&s.live){if(T.deltaUpdateFailed)return;const oe=this.mainDetails;if(!oe){this.startFragRequested=!1;return}const me=oe.fragments[0];if(!Y.details)T.hasProgramDateTime&&oe.hasProgramDateTime?(Ei(T,oe),H=T.fragmentStart):me&&(H=me.start,wn(T,H));else{var te;H=this.alignPlaylists(T,Y.details,(te=this.levelLastLoaded)==null?void 0:te.details),H===0&&me&&(H=me.start,wn(T,H))}oe&&!this.startFragRequested&&this.setStartPosition(oe,H)}Y.details=T,this.levelLastLoaded=Y,j===m&&(this.hls.trigger(o.SUBTITLE_TRACK_UPDATED,{details:T,id:j,groupId:n.groupId}),this.tick(),T.live&&!this.fragCurrent&&this.media&&this.state===Jt.IDLE&&(vn(null,T.fragments,this.media.currentTime,0)||(this.warn("Subtitle playlist not aligned with playback"),Y.details=void 0)))}_handleFragmentLoadComplete(t){const{frag:n,payload:s}=t,m=n.decryptdata,E=this.hls;if(!this.fragContextChanged(n)&&s&&s.byteLength>0&&m!=null&&m.key&&m.iv&&Li(m.method)){const T=performance.now();this.decrypter.decrypt(new Uint8Array(s),m.key.buffer,m.iv.buffer,Da(m.method)).catch(j=>{throw E.trigger(o.ERROR,{type:c.MEDIA_ERROR,details:f.FRAG_DECRYPT_ERROR,fatal:!1,error:j,reason:j.message,frag:n}),j}).then(j=>{const Y=performance.now();E.trigger(o.FRAG_DECRYPTED,{frag:n,payload:j,stats:{tstart:T,tdecrypt:Y}})}).catch(j=>{this.warn(`${j.name}: ${j.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(),T=Zn.bufferedInfo(this.tracksBuffered[this.currentTrackId]||[],E,m.maxBufferHole),{end:j,len:Y}=T,H=s.details,te=this.hls.maxBufferLength+H.levelTargetDuration;if(Y>te)return;const oe=H.fragments,me=oe.length,we=H.edge;let Se=null;const ut=this.fragPrevious;if(j<we){const rr=m.maxFragLookUpTolerance,Yt=j>we-rr?0:rr;Se=vn(ut,oe,Math.max(oe[0].start,j),Yt),!Se&&ut&&ut.start<oe[0].start&&(Se=oe[0])}else Se=oe[me-1];if(Se=this.filterReplacedPrimary(Se,s.details),!Se)return;const Je=Se.sn-H.startSN,Lt=oe[Je-1];if(Lt&&Lt.cc===Se.cc&&this.fragmentTracker.getState(Lt)===br.NOT_LOADED&&(Se=Lt),this.fragmentTracker.getState(Se)===br.NOT_LOADED){const rr=this.mapToInitFragWhenRequired(Se);rr&&this.loadFragment(rr,s,j)}}}loadFragment(t,n,s){De(t)?super.loadFragment(t,n,s):this._loadInitSegment(t,n)}get mediaBufferTimeRanges(){return new I(this.tracksBuffered[this.currentTrackId]||[])}}class I{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 O={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},L=w=>String.fromCharCode(O[w]||w),ve=15,Re=100,rn={17:1,18:3,21:5,22:7,23:9,16:11,19:12,20:14},jn={17:2,18:4,21:6,22:8,23:10,19:13,20:15},ln={25:1,26:3,29:5,30:7,31:9,24:11,27:12,28:14},Pi={25:2,26:4,29:6,30:8,31:10,27:13,28:15},Ha=["white","green","blue","cyan","red","yellow","magenta","black","transparent"];class Ta{constructor(){this.time=null,this.verboseLevel=0}log(t,n){if(this.verboseLevel>=t){const s=typeof n=="function"?n():n;W.log(`${this.time} [${t}] ${s}`)}}}const Gs=function(t){const n=[];for(let s=0;s<t.length;s++)n.push(t[s].toString(16));return n};class ts{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 _o{constructor(){this.uchar=" ",this.penState=new ts}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 xs{constructor(t){this.chars=[],this.pos=0,this.currPenState=new ts,this.cueStartTime=null,this.logger=void 0;for(let n=0;n<Re;n++)this.chars.push(new _o);this.logger=t}equals(t){for(let n=0;n<Re;n++)if(!this.chars[n].equals(t.chars[n]))return!1;return!0}copy(t){for(let n=0;n<Re;n++)this.chars[n].copy(t.chars[n])}isEmpty(){let t=!0;for(let n=0;n<Re;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>Re&&(this.logger.log(3,"Too large cursor position "+this.pos),this.pos=Re)}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=L(t);if(this.pos>=Re){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<Re;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<Re;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 Jl{constructor(t){this.rows=[],this.currRow=ve-1,this.nrRollUpRows=null,this.lastOutputScreen=null,this.logger=void 0;for(let n=0;n<ve;n++)this.rows.push(new xs(t));this.logger=t}reset(){for(let t=0;t<ve;t++)this.rows[t].clear();this.currRow=ve-1}equals(t){let n=!0;for(let s=0;s<ve;s++)if(!this.rows[s].equals(t.rows[s])){n=!1;break}return n}copy(t){for(let n=0;n<ve;n++)this.rows[n].copy(t.rows[n])}isEmpty(){let t=!0;for(let n=0;n<ve;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 = "+Un(t));let n=t.row-1;if(this.nrRollUpRows&&n<this.nrRollUpRows-1&&(n=this.nrRollUpRows-1),this.nrRollUpRows&&this.currRow!==n){for(let j=0;j<ve;j++)this.rows[j].clear();const E=this.currRow+1-this.nrRollUpRows,T=this.lastOutputScreen;if(T){const j=T.rows[E].cueStartTime,Y=this.logger.time;if(j!==null&&Y!==null&&j<Y)for(let H=0;H<this.nrRollUpRows;H++)this.rows[n-this.nrRollUpRows+H+1].copy(T.rows[E+H])}}this.currRow=n;const s=this.rows[this.currRow];if(t.indent!==null){const E=t.indent,T=Math.max(E-1,0);s.setCursor(t.indent),t.color=s.chars[T].penState.foreground}const m={foreground:t.color,underline:t.underline,italics:t.italics,background:"black",flash:!1};this.setPen(m)}setBkgData(t){this.logger.log(2,()=>"bkgData = "+Un(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<ve;E++){const T=this.rows[E].getTextString();T&&(m=E+1,t?n.push("Row "+m+": '"+T+"'"):n.push(T.trim()))}return n.length>0&&(t?s="["+n.join(" | ")+"]":s=n.join(`
|
|
|
`)),s}getTextAndFormat(){return this.rows}}class fc{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 Jl(s),this.nonDisplayedMemory=new Jl(s),this.lastOutputScreen=new Jl(s),this.currRollUpRow=this.displayedMemory.rows[ve-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[ve-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: "+Un(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 ec{constructor(t,n,s){this.channels=void 0,this.currentChannel=0,this.cmdHistory=Ii(),this.logger=void 0;const m=this.logger=new Ta;this.channels=[null,new fc(t,n,m),new fc(t+1,s,m)]}getHandler(t){return this.channels[t].getHandler()}setHandler(t,n){this.channels[t].setHandler(n)}addData(t,n){this.logger.time=t;for(let s=0;s<n.length;s+=2){const m=n[s]&127,E=n[s+1]&127;let T=!1,j=null;if(m===0&&E===0)continue;this.logger.log(3,()=>"["+Gs([n[s],n[s+1]])+"] -> ("+Gs([m,E])+")");const Y=this.cmdHistory;if(m>=16&&m<=31){if(cl(m,E,Y)){Ml(null,null,Y),this.logger.log(3,()=>"Repeated command ("+Gs([m,E])+") is dropped");continue}Ml(m,E,this.cmdHistory),T=this.parseCmd(m,E),T||(T=this.parseMidrow(m,E)),T||(T=this.parsePAC(m,E)),T||(T=this.parseBackgroundAttributes(m,E))}else Ml(null,null,Y);if(!T&&(j=this.parseChars(m,E),j)){const te=this.currentChannel;te&&te>0?this.channels[te].insertChars(j):this.logger.log(2,"No channel found yet. TEXT-MODE?")}!T&&!j&&this.logger.log(2,()=>"Couldn't parse cleaned data "+Gs([m,E])+" orig: "+Gs([n[s],n[s+1]]))}}parseCmd(t,n){const s=(t===20||t===28||t===21||t===29)&&n>=32&&n<=47,m=(t===23||t===31)&&n>=33&&n<=35;if(!(s||m))return!1;const E=t===20||t===21||t===23?1:2,T=this.channels[E];return t===20||t===21||t===28||t===29?n===32?T.ccRCL():n===33?T.ccBS():n===34?T.ccAOF():n===35?T.ccAON():n===36?T.ccDER():n===37?T.ccRU(2):n===38?T.ccRU(3):n===39?T.ccRU(4):n===40?T.ccFON():n===41?T.ccRDC():n===42?T.ccTR():n===43?T.ccRTD():n===44?T.ccEDM():n===45?T.ccCR():n===46?T.ccENM():n===47&&T.ccEOC():T.ccTO(n-32),this.currentChannel=E,!0}parseMidrow(t,n){let s=0;if((t===17||t===25)&&n>=32&&n<=47){if(t===17?s=1:s=2,s!==this.currentChannel)return this.logger.log(0,"Mismatch channel in midrow parsing"),!1;const m=this.channels[s];return m?(m.ccMIDROW(n),this.logger.log(3,()=>"MIDROW ("+Gs([t,n])+")"),!0):!1}return!1}parsePAC(t,n){let s;const m=(t>=17&&t<=23||t>=25&&t<=31)&&n>=64&&n<=127,E=(t===16||t===24)&&n>=64&&n<=95;if(!(m||E))return!1;const T=t<=23?1:2;n>=64&&n<=95?s=T===1?rn[t]:ln[t]:s=T===1?jn[t]:Pi[t];const j=this.channels[T];return j?(j.setPAC(this.interpretPAC(s,n)),this.currentChannel=T,!0):!1}interpretPAC(t,n){let s;const m={color:null,italics:!1,indent:null,underline:!1,row:t};return n>95?s=n-96:s=n-64,m.underline=(s&1)===1,s<=13?m.color=["white","green","blue","cyan","red","yellow","magenta","white"][Math.floor(s/2)]:s<=15?(m.italics=!0,m.color="white"):m.indent=Math.floor((s-16)/2)*4,m}parseChars(t,n){let s,m=null,E=null;if(t>=25?(s=2,E=t-8):(s=1,E=t),E>=17&&E<=19){let T;E===17?T=n+80:E===18?T=n+112:T=n+144,this.logger.log(2,()=>"Special char '"+L(T)+"' in channel "+s),m=[T]}else t>=32&&t<=127&&(m=n===0?[t]:[t,n]);return m&&this.logger.log(3,()=>"Char codes = "+Gs(m).join(",")),m}parseBackgroundAttributes(t,n){const s=(t===16||t===24)&&n>=32&&n<=47,m=(t===23||t===31)&&n>=45&&n<=47;if(!(s||m))return!1;let E;const T={};t===16||t===24?(E=Math.floor((n-32)/2),T.background=Ha[E],n%2===1&&(T.background=T.background+"_semi")):n===45?T.background="transparent":(T.foreground="black",n===47&&(T.underline=!0));const j=t<=23?1:2;return this.channels[j].setBkgData(T),!0}reset(){for(let t=0;t<Object.keys(this.channels).length;t++){const n=this.channels[t];n&&n.reset()}Ml(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 Ml(w,t,n){n.a=w,n.b=t}function cl(w,t,n){return n.a===w&&n.b===t}function Ii(){return{a:null,b:null}}var fl=function(){if(Do!=null&&Do.VTTCue)return self.VTTCue;const w=["","lr","rl"],t=["start","middle","end","left","right"];function n(j,Y){if(typeof Y!="string"||!Array.isArray(j))return!1;const H=Y.toLowerCase();return~j.indexOf(H)?H:!1}function s(j){return n(w,j)}function m(j){return n(t,j)}function E(j,...Y){let H=1;for(;H<arguments.length;H++){const te=arguments[H];for(const oe in te)j[oe]=te[oe]}return j}function T(j,Y,H){const te=this,oe={enumerable:!0};te.hasBeenReset=!1;let me="",we=!1,Se=j,ut=Y,Je=H,Lt=null,rr="",Yt=!0,Cr="auto",Hr="start",cn=50,zr="middle",qr=50,an="middle";Object.defineProperty(te,"id",E({},oe,{get:function(){return me},set:function(Br){me=""+Br}})),Object.defineProperty(te,"pauseOnExit",E({},oe,{get:function(){return we},set:function(Br){we=!!Br}})),Object.defineProperty(te,"startTime",E({},oe,{get:function(){return Se},set:function(Br){if(typeof Br!="number")throw new TypeError("Start time must be set to a number.");Se=Br,this.hasBeenReset=!0}})),Object.defineProperty(te,"endTime",E({},oe,{get:function(){return ut},set:function(Br){if(typeof Br!="number")throw new TypeError("End time must be set to a number.");ut=Br,this.hasBeenReset=!0}})),Object.defineProperty(te,"text",E({},oe,{get:function(){return Je},set:function(Br){Je=""+Br,this.hasBeenReset=!0}})),Object.defineProperty(te,"region",E({},oe,{get:function(){return Lt},set:function(Br){Lt=Br,this.hasBeenReset=!0}})),Object.defineProperty(te,"vertical",E({},oe,{get:function(){return rr},set:function(Br){const Fn=s(Br);if(Fn===!1)throw new SyntaxError("An invalid or illegal string was specified.");rr=Fn,this.hasBeenReset=!0}})),Object.defineProperty(te,"snapToLines",E({},oe,{get:function(){return Yt},set:function(Br){Yt=!!Br,this.hasBeenReset=!0}})),Object.defineProperty(te,"line",E({},oe,{get:function(){return Cr},set:function(Br){if(typeof Br!="number"&&Br!=="auto")throw new SyntaxError("An invalid number or illegal string was specified.");Cr=Br,this.hasBeenReset=!0}})),Object.defineProperty(te,"lineAlign",E({},oe,{get:function(){return Hr},set:function(Br){const Fn=m(Br);if(!Fn)throw new SyntaxError("An invalid or illegal string was specified.");Hr=Fn,this.hasBeenReset=!0}})),Object.defineProperty(te,"position",E({},oe,{get:function(){return cn},set:function(Br){if(Br<0||Br>100)throw new Error("Position must be between 0 and 100.");cn=Br,this.hasBeenReset=!0}})),Object.defineProperty(te,"positionAlign",E({},oe,{get:function(){return zr},set:function(Br){const Fn=m(Br);if(!Fn)throw new SyntaxError("An invalid or illegal string was specified.");zr=Fn,this.hasBeenReset=!0}})),Object.defineProperty(te,"size",E({},oe,{get:function(){return qr},set:function(Br){if(Br<0||Br>100)throw new Error("Size must be between 0 and 100.");qr=Br,this.hasBeenReset=!0}})),Object.defineProperty(te,"align",E({},oe,{get:function(){return an},set:function(Br){const Fn=m(Br);if(!Fn)throw new SyntaxError("An invalid or illegal string was specified.");an=Fn,this.hasBeenReset=!0}})),te.displayState=void 0}return T.prototype.getCueAsHTML=function(){return self.WebVTT.convertCueToDOMTree(self,this.text)},T}();class dc{decode(t,n){if(!t)return"";if(typeof t!="string")throw new Error("Error - expected string data.");return decodeURIComponent(encodeURIComponent(t))}}function Co(w){function t(s,m,E,T){return(s|0)*3600+(m|0)*60+(E|0)+parseFloat(T||0)}const n=w.match(/^(?:(\d+):)?(\d{2}):(\d{2})(\.\d+)?/);return n?parseFloat(n[2])>59?t(n[2],n[3],0,n[4]):t(n[1],n[2],n[3],n[4]):null}class ro{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 Qa(w,t,n,s){const m=s?w.split(s):[w];for(const E in m){if(typeof m[E]!="string")continue;const T=m[E].split(n);if(T.length!==2)continue;const j=T[0],Y=T[1];t(j,Y)}}const Zu=new fl(0,0,""),Hu=Zu.align==="middle"?"middle":"center";function hc(w,t,n){const s=w;function m(){const j=Co(w);if(j===null)throw new Error("Malformed timestamp: "+s);return w=w.replace(/^[^\sa-zA-Z-]+/,""),j}function E(j,Y){const H=new ro;Qa(j,function(me,we){let Se;switch(me){case"region":for(let ut=n.length-1;ut>=0;ut--)if(n[ut].id===we){H.set(me,n[ut].region);break}break;case"vertical":H.alt(me,we,["rl","lr"]);break;case"line":Se=we.split(","),H.integer(me,Se[0]),H.percent(me,Se[0])&&H.set("snapToLines",!1),H.alt(me,Se[0],["auto"]),Se.length===2&&H.alt("lineAlign",Se[1],["start",Hu,"end"]);break;case"position":Se=we.split(","),H.percent(me,Se[0]),Se.length===2&&H.alt("positionAlign",Se[1],["start",Hu,"end","line-left","line-right","auto"]);break;case"size":H.percent(me,we);break;case"align":H.alt(me,we,["start",Hu,"end","left","right"]);break}},/:/,/\s/),Y.region=H.get("region",null),Y.vertical=H.get("vertical","");let te=H.get("line","auto");te==="auto"&&Zu.line===-1&&(te=-1),Y.line=te,Y.lineAlign=H.get("lineAlign","start"),Y.snapToLines=H.get("snapToLines",!0),Y.size=H.get("size",100),Y.align=H.get("align",Hu);let oe=H.get("position","auto");oe==="auto"&&Zu.position===50&&(oe=Y.align==="start"||Y.align==="left"?0:Y.align==="end"||Y.align==="right"?100:50),Y.position=oe}function T(){w=w.replace(/^\s+/,"")}if(T(),t.startTime=m(),T(),w.slice(0,3)!=="-->")throw new Error("Malformed time stamp (time stamps must be separated by '-->'): "+s);w=w.slice(3),T(),t.endTime=m(),T(),E(w,t)}function qu(w){return w.replace(/<br(?: \/)?>/gi,`
|
|
|
`)}class dl{constructor(){this.state="INITIAL",this.buffer="",this.decoder=new dc,this.regionList=[],this.cue=null,this.oncue=void 0,this.onparsingerror=void 0,this.onflush=void 0}parse(t){const n=this;t&&(n.buffer+=n.decoder.decode(t,{stream:!0}));function s(){let E=n.buffer,T=0;for(E=qu(E);T<E.length&&E[T]!=="\r"&&E[T]!==`
|
|
|
`;)++T;const j=E.slice(0,T);return E[T]==="\r"&&++T,E[T]===`
|
|
|
`&&++T,n.buffer=E.slice(T),j}function m(E){Qa(E,function(T,j){},/:/)}try{let E="";if(n.state==="INITIAL"){if(!/\r\n|\n/.test(n.buffer))return this;E=s();const j=E.match(/^()?WEBVTT([ \t].*)?$/);if(!(j!=null&&j[0]))throw new Error("Malformed WebVTT signature.");n.state="HEADER"}let T=!1;for(;n.buffer;){if(!/\r\n|\n/.test(n.buffer))return this;switch(T?T=!1:E=s(),n.state){case"HEADER":/:/.test(E)?m(E):E||(n.state="ID");continue;case"NOTE":E||(n.state="ID");continue;case"ID":if(/^NOTE($|[ \t])/.test(E)){n.state="NOTE";break}if(!E)continue;if(n.cue=new fl(0,0,""),n.state="CUE",E.indexOf("-->")===-1){n.cue.id=E;continue}case"CUE":if(!n.cue){n.state="BADCUE";continue}try{hc(E,n.cue,n.regionList)}catch(j){n.cue=null,n.state="BADCUE";continue}n.state="CUETEXT";continue;case"CUETEXT":{const j=E.indexOf("-->")!==-1;if(!E||j&&(T=!0)){n.oncue&&n.cue&&n.oncue(n.cue),n.cue=null,n.state="ID";continue}if(n.cue===null)continue;n.cue.text&&(n.cue.text+=`
|
|
|
`),n.cue.text+=E}continue;case"BADCUE":E||(n.state="ID")}}}catch(E){n.state==="CUETEXT"&&n.cue&&n.oncue&&n.oncue(n.cue),n.cue=null,n.state=n.state==="INITIAL"?"BADWEBVTT":"BADCUE"}return this}flush(){const t=this;try{if((t.cue||t.state==="HEADER")&&(t.buffer+=`
|
|
|
|
|
|
`,t.parse()),t.state==="INITIAL"||t.state==="BADWEBVTT")throw new Error("Malformed WebVTT signature.")}catch(n){t.onparsingerror&&t.onparsingerror(n)}return t.onflush&&t.onflush(),this}}const Yc=/\r\n|\n\r|\n|\r/g,tc=function(t,n,s=0){return t.slice(s,s+n.length)===n},hl=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 pc(w,t,n){return po(w.toString())+po(t.toString())+po(n)}const _c=function(t,n,s){let m=t[n],E=t[m.prevCC];if(!E||!E.new&&m.new){t.ccOffset=t.presentationOffset=m.start,m.new=!1;return}for(;(T=E)!=null&&T.new;){var T;t.ccOffset+=m.start-E.start,m.new=!1,m=E,E=t[m.prevCC]}t.presentationOffset=s};function Xc(w,t,n,s,m,E,T){const j=new dl,Y=q(new Uint8Array(w)).trim().replace(Yc,`
|
|
|
`).split(`
|
|
|
`),H=[],te=t?Hn(t.baseTime,t.timescale):0;let oe="00:00.000",me=0,we=0,Se,ut=!0;j.oncue=function(Je){const Lt=n[s];let rr=n.ccOffset;const Yt=(me-te)/9e4;if(Lt!=null&&Lt.new&&(we!==void 0?rr=n.ccOffset=Lt.start:_c(n,s,Yt)),Yt){if(!t){Se=new Error("Missing initPTS for VTT MPEGTS");return}rr=Yt-n.presentationOffset}const Cr=Je.endTime-Je.startTime,Hr=qi((Je.startTime+rr-we)*9e4,m*9e4)/9e4;Je.startTime=Math.max(Hr,0),Je.endTime=Math.max(Hr+Cr,0);const cn=Je.text.trim();Je.text=decodeURIComponent(encodeURIComponent(cn)),Je.id||(Je.id=pc(Je.startTime,Je.endTime,cn)),Je.endTime>0&&H.push(Je)},j.onparsingerror=function(Je){Se=Je},j.onflush=function(){if(Se){T(Se);return}E(H)},Y.forEach(Je=>{if(ut)if(tc(Je,"X-TIMESTAMP-MAP=")){ut=!1,Je.slice(16).split(",").forEach(Lt=>{tc(Lt,"LOCAL:")?oe=Lt.slice(6):tc(Lt,"MPEGTS:")&&(me=parseInt(Lt.slice(7)))});try{we=hl(oe)/1e3}catch(Lt){Se=Lt}return}else Je===""&&(ut=!1);j.parse(Je+`
|
|
|
`)}),j.flush()}const ru="stpp.ttml.im1t",Wu=/^(\d{2,}):(\d{2}):(\d{2}):(\d{2})\.?(\d+)?$/,pl=/^(\d*(?:\.\d*)?)(h|m|s|ms|f|t)$/,mc={left:"start",center:"center",right:"end",start:"start",end:"end"};function mu(w,t,n,s){const m=bt(new Uint8Array(w),["mdat"]);if(m.length===0){s(new Error("Could not parse IMSC1 mdat"));return}const E=m.map(j=>q(j)),T=bn(t.baseTime,1,t.timescale);try{E.forEach(j=>n(vc(j,T)))}catch(j){s(j)}}function vc(w,t){const m=new DOMParser().parseFromString(w,"text/xml").getElementsByTagName("tt")[0];if(!m)throw new Error("Invalid ttml");const E={frameRate:30,subFrameRate:1,frameRateMultiplier:0,tickRate:0},T=Object.keys(E).reduce((oe,me)=>(oe[me]=m.getAttribute(`ttp:${me}`)||E[me],oe),{}),j=m.getAttribute("xml:space")!=="preserve",Y=Sn(Ju(m,"styling","style")),H=Sn(Ju(m,"layout","region")),te=Ju(m,"body","[begin]");return[].map.call(te,oe=>{const me=Wn(oe,j);if(!me||!oe.hasAttribute("begin"))return null;const we=na(oe.getAttribute("begin"),T),Se=na(oe.getAttribute("dur"),T);let ut=na(oe.getAttribute("end"),T);if(we===null)throw Vi(oe);if(ut===null){if(Se===null)throw Vi(oe);ut=we+Se}const Je=new fl(we-t,ut-t,me);Je.id=pc(Je.startTime,Je.endTime,Je.text);const Lt=H[oe.getAttribute("region")],rr=Y[oe.getAttribute("style")],Yt=Ni(Lt,rr,Y),{textAlign:Cr}=Yt;if(Cr){const Hr=mc[Cr];Hr&&(Je.lineAlign=Hr),Je.align=Cr}return y(Je,Yt),Je}).filter(oe=>oe!==null)}function Ju(w,t,n){const s=w.getElementsByTagName(t)[0];return s?[].slice.call(s.querySelectorAll(n)):[]}function Sn(w){return w.reduce((t,n)=>{const s=n.getAttribute("xml:id");return s&&(t[s]=n),t},{})}function Wn(w,t){return[].slice.call(w.childNodes).reduce((n,s,m)=>{var E;return s.nodeName==="br"&&m?n+`
|
|
|
`:(E=s.childNodes)!=null&&E.length?Wn(s,t):t?n+s.textContent.trim().replace(/\s+/g," "):n+s.textContent},"")}function Ni(w,t,n){const s="http://www.w3.org/ns/ttml#styling";let m=null;const E=["displayAlign","textAlign","color","backgroundColor","fontSize","fontFamily"],T=w!=null&&w.hasAttribute("style")?w.getAttribute("style"):null;return T&&n.hasOwnProperty(T)&&(m=n[T]),E.reduce((j,Y)=>{const H=ba(t,s,Y)||ba(w,s,Y)||ba(m,s,Y);return H&&(j[Y]=H),j},{})}function ba(w,t,n){return w&&w.hasAttributeNS(t,n)?w.getAttributeNS(t,n):null}function Vi(w){return new Error(`Could not parse ttml timestamp ${w}`)}function na(w,t){if(!w)return null;let n=Co(w);return n===null&&(Wu.test(w)?n=ma(w,t):pl.test(w)&&(n=hs(w,t))),n}function ma(w,t){const n=Wu.exec(w),s=(n[4]|0)+(n[5]|0)/t.subFrameRate;return(n[1]|0)*3600+(n[2]|0)*60+(n[3]|0)+s/t.frameRate}function hs(w,t){const n=pl.exec(w),s=Number(n[1]);switch(n[2]){case"h":return s*3600;case"m":return s*60;case"ms":return s*1e3;case"f":return s/t.frameRate;case"t":return s/t.tickRate}return s}class ji{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 ps{constructor(t){this.hls=void 0,this.media=null,this.config=void 0,this.enabled=!0,this.Cues=void 0,this.textTracks=[],this.tracks=[],this.initPTS=[],this.unparsedVttFrags=[],this.captionsTracks={},this.nonNativeCaptionsTracks={},this.cea608Parser1=void 0,this.cea608Parser2=void 0,this.lastCc=-1,this.lastSn=-1,this.lastPartIndex=-1,this.prevCC=-1,this.vttCCs=Gu(),this.captionsProperties=void 0,this.hls=t,this.config=t.config,this.Cues=t.config.cueHandler,this.captionsProperties={textTrack1:{label:this.config.captionsTextTrack1Label,languageCode:this.config.captionsTextTrack1LanguageCode},textTrack2:{label:this.config.captionsTextTrack2Label,languageCode:this.config.captionsTextTrack2LanguageCode},textTrack3:{label:this.config.captionsTextTrack3Label,languageCode:this.config.captionsTextTrack3LanguageCode},textTrack4:{label:this.config.captionsTextTrack4Label,languageCode:this.config.captionsTextTrack4LanguageCode}},t.on(o.MEDIA_ATTACHING,this.onMediaAttaching,this),t.on(o.MEDIA_DETACHING,this.onMediaDetaching,this),t.on(o.MANIFEST_LOADING,this.onManifestLoading,this),t.on(o.MANIFEST_LOADED,this.onManifestLoaded,this),t.on(o.SUBTITLE_TRACKS_UPDATED,this.onSubtitleTracksUpdated,this),t.on(o.FRAG_LOADING,this.onFragLoading,this),t.on(o.FRAG_LOADED,this.onFragLoaded,this),t.on(o.FRAG_PARSING_USERDATA,this.onFragParsingUserdata,this),t.on(o.FRAG_DECRYPTED,this.onFragDecrypted,this),t.on(o.INIT_PTS_FOUND,this.onInitPtsFound,this),t.on(o.SUBTITLE_TRACKS_CLEARED,this.onSubtitleTracksCleared,this),t.on(o.BUFFER_FLUSHING,this.onBufferFlushing,this)}destroy(){const{hls:t}=this;t.off(o.MEDIA_ATTACHING,this.onMediaAttaching,this),t.off(o.MEDIA_DETACHING,this.onMediaDetaching,this),t.off(o.MANIFEST_LOADING,this.onManifestLoading,this),t.off(o.MANIFEST_LOADED,this.onManifestLoaded,this),t.off(o.SUBTITLE_TRACKS_UPDATED,this.onSubtitleTracksUpdated,this),t.off(o.FRAG_LOADING,this.onFragLoading,this),t.off(o.FRAG_LOADED,this.onFragLoaded,this),t.off(o.FRAG_PARSING_USERDATA,this.onFragParsingUserdata,this),t.off(o.FRAG_DECRYPTED,this.onFragDecrypted,this),t.off(o.INIT_PTS_FOUND,this.onInitPtsFound,this),t.off(o.SUBTITLE_TRACKS_CLEARED,this.onSubtitleTracksCleared,this),t.off(o.BUFFER_FLUSHING,this.onBufferFlushing,this),this.hls=this.config=this.media=null,this.cea608Parser1=this.cea608Parser2=void 0}initCea608Parsers(){const t=new ji(this,"textTrack1"),n=new ji(this,"textTrack2"),s=new ji(this,"textTrack3"),m=new ji(this,"textTrack4");this.cea608Parser1=new ec(1,t,n),this.cea608Parser2=new ec(3,s,m)}addCues(t,n,s,m,E){let T=!1;for(let j=E.length;j--;){const Y=E[j],H=el(Y[0],Y[1],n,s);if(H>=0&&(Y[0]=Math.min(Y[0],n),Y[1]=Math.max(Y[1],s),T=!0,H/(s-n)>.5))return}if(T||E.push([n,s]),this.config.renderTextTracksNatively){const j=this.captionsTracks[t];this.Cues.newCue(j,n,s,m)}else{const j=this.Cues.newCue(null,n,s,m);this.hls.trigger(o.CUES_PARSED,{type:"captions",cues:j,track:t})}}onInitPtsFound(t,{frag:n,id:s,initPTS:m,timescale:E}){const{unparsedVttFrags:T}=this;s===u.MAIN&&(this.initPTS[n.cc]={baseTime:m,timescale:E}),T.length&&(this.unparsedVttFrags=[],T.forEach(j=>{this.initPTS[j.frag.cc]?this.onFragLoaded(o.FRAG_LOADED,j):this.hls.trigger(o.SUBTITLE_FRAG_PROCESSED,{success:!1,frag:j.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(Ou(E,{name:t,lang:n,characteristics:"transcribes-spoken-dialog,describes-music-and-sound"}))return E}return null}createCaptionsTrack(t){this.config.renderTextTracksNatively?this.createNativeTrack(t):this.createNonNativeTrack(t)}createNativeTrack(t){if(this.captionsTracks[t])return;const{captionsProperties:n,captionsTracks:s,media:m}=this,{label:E,languageCode:T}=n[t],j=this.getExistingTrack(E,T);if(j)s[t]=j,Xu(s[t]),zu(s[t],m);else{const Y=this.createTextTrack("captions",E,T);Y&&(Y[t]=!0,s[t]=Y)}}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=>{Xu(m[E]),delete m[E]}),this.nonNativeCaptionsTracks={}}onManifestLoading(){this.lastCc=-1,this.lastSn=-1,this.lastPartIndex=-1,this.prevCC=-1,this.vttCCs=Gu(),this._cleanTracks(),this.tracks=[],this.captionsTracks={},this.nonNativeCaptionsTracks={},this.textTracks=[],this.unparsedVttFrags=[],this.initPTS=[],this.cea608Parser1&&this.cea608Parser2&&(this.cea608Parser1.reset(),this.cea608Parser2.reset())}_cleanTracks(){const{media:t}=this;if(!t)return;const n=t.textTracks;if(n)for(let s=0;s<n.length;s++)Xu(n[s])}onSubtitleTracksUpdated(t,n){const s=n.subtitleTracks||[],m=s.some(E=>E.textCodec===ru);if(this.config.enableWebVTT||m&&this.config.enableIMSC1){if(wl(this.tracks,s)){this.tracks=s;return}if(this.textTracks=[],this.tracks=s,this.config.renderTextTracksNatively){const T=this.media,j=T?tu(T.textTracks):null;if(this.tracks.forEach((Y,H)=>{let te;if(j){let oe=null;for(let me=0;me<j.length;me++)if(j[me]&&Ou(j[me],Y)){oe=j[me],j[me]=null;break}oe&&(te=oe)}if(te)Xu(te);else{const oe=Du(Y);te=this.createTextTrack(oe,Y.name,Y.lang),te&&(te.mode="disabled")}te&&this.textTracks.push(te)}),j!=null&&j.length){const Y=j.filter(H=>H!==null).map(H=>H.label);Y.length&&this.hls.logger.warn(`Media element contains unused subtitle tracks: ${Y.join(", ")}. Replace media element for each source to clear TextTracks and captions menu.`)}}else if(this.tracks.length){const T=this.tracks.map(j=>({label:j.name,kind:j.type.toLowerCase(),default:j.default,subtitleTrack:j}));this.hls.trigger(o.NON_NATIVE_TEXT_TRACKS_FOUND,{tracks:T})}}}onManifestLoaded(t,n){this.config.enableCEA708Captions&&n.captions&&n.captions.forEach(s=>{const m=/(?:CC|SERVICE)([1-4])/.exec(s.instreamId);if(!m)return;const E=`textTrack${m[1]}`,T=this.captionsProperties[E];T&&(T.label=s.name,s.lang&&(T.languageCode=s.lang),T.media=s)})}closedCaptionsForLevel(t){const n=this.hls.levels[t.level];return n==null?void 0:n.attrs["CLOSED-CAPTIONS"]}onFragLoading(t,n){if(this.enabled&&n.frag.type===u.MAIN){var s,m;const{cea608Parser1:E,cea608Parser2:T,lastSn:j}=this,{cc:Y,sn:H}=n.frag,te=(s=(m=n.part)==null?void 0:m.index)!=null?s:-1;E&&T&&(H!==j+1||H===j&&te!==this.lastPartIndex+1||Y!==this.lastCc)&&(E.reset(),T.reset()),this.lastCc=Y,this.lastSn=H,this.lastPartIndex=te}}onFragLoaded(t,n){const{frag:s,payload:m}=n;if(s.type===u.SUBTITLE)if(m.byteLength){const E=s.decryptdata,T="stats"in n;if(E==null||!E.encrypted||T){const j=this.tracks[s.level],Y=this.vttCCs;Y[s.cc]||(Y[s.cc]={start:s.start,prevCC:this.prevCC,new:!0},this.prevCC=s.cc),j&&j.textCodec===ru?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;mu(n,this.initPTS[t.cc],m=>{this._appendCues(m,t.level),s.trigger(o.SUBTITLE_FRAG_PROCESSED,{success:!0,frag:t})},m=>{s.logger.log(`Failed to parse IMSC1: ${m}`),s.trigger(o.SUBTITLE_FRAG_PROCESSED,{success:!1,frag:t,error:m})})}_parseVTTs(t){var n;const{frag:s,payload:m}=t,{initPTS:E,unparsedVttFrags:T}=this,j=E.length-1;if(!E[s.cc]&&j===-1){T.push(t);return}const Y=this.hls,H=(n=s.initSegment)!=null&&n.data?Pe(s.initSegment.data,new Uint8Array(m)).buffer:m;Xc(H,this.initPTS[s.cc],this.vttCCs,s.cc,s.start,te=>{this._appendCues(te,s.level),Y.trigger(o.SUBTITLE_FRAG_PROCESSED,{success:!0,frag:s})},te=>{const oe=te.message==="Missing initPTS for VTT MPEGTS";oe?T.push(t):this._fallbackToIMSC1(s,m),Y.logger.log(`Failed to parse VTT cue: ${te}`),!(oe&&j>s.cc)&&Y.trigger(o.SUBTITLE_FRAG_PROCESSED,{success:!1,frag:s,error:te})})}_fallbackToIMSC1(t,n){const s=this.tracks[t.level];s.textCodec||mu(n,this.initPTS[t.cc],()=>{s.textCodec=ru,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=>Su(m,E))}else{const m=this.tracks[n];if(!m)return;const E=m.default?"default":"subtitles"+n;s.trigger(o.CUES_PARSED,{type:"subtitles",cues:t,track:E})}}onFragDecrypted(t,n){const{frag:s}=n;s.type===u.SUBTITLE&&this.onFragLoaded(o.FRAG_LOADED,n)}onSubtitleTracksCleared(){this.tracks=[],this.captionsTracks={}}onFragParsingUserdata(t,n){if(!this.enabled||!this.config.enableCEA708Captions)return;const{frag:s,samples:m}=n;if(!(s.type===u.MAIN&&this.closedCaptionsForLevel(s)==="NONE"))for(let E=0;E<m.length;E++){const T=m[E].bytes;if(T){this.cea608Parser1||this.initCea608Parsers();const j=this.extractCea608Data(T);this.cea608Parser1.addData(m[E].pts,j[0]),this.cea608Parser2.addData(m[E].pts,j[1])}}}onBufferFlushing(t,{startOffset:n,endOffset:s,endOffsetSubtitles:m,type:E}){const{media:T}=this;if(!(!T||T.currentTime<s)){if(!E||E==="video"){const{captionsTracks:j}=this;Object.keys(j).forEach(Y=>ul(j[Y],n,s))}if(this.config.renderTextTracksNatively&&n===0&&m!==void 0){const{textTracks:j}=this;Object.keys(j).forEach(Y=>ul(j[Y],n,m))}}}extractCea608Data(t){const n=[[],[]],s=t[0]&31;let m=2;for(let E=0;E<s;E++){const T=t[m++],j=127&t[m++],Y=127&t[m++];if(j===0&&Y===0)continue;if((4&T)!==0){const te=3&T;(te===0||te===1)&&(n[te].push(j),n[te].push(Y))}}return n}}function Du(w){return w.characteristics&&/transcribes-spoken-dialog/gi.test(w.characteristics)&&/describes-music-and-sound/gi.test(w.characteristics)?"captions":"subtitles"}function Ou(w,t){return!!w&&w.kind===Du(t)&&Uo(t,w)}function el(w,t,n,s){return Math.min(t,s)-Math.max(w,n)}function Gu(){return{ccOffset:0,presentationOffset:0,0:{start:0,prevCC:-1,new:!0}}}const _l=/\s/,If={newCue(w,t,n,s){const m=[];let E,T,j,Y,H;const te=self.VTTCue||self.TextTrackCue;for(let me=0;me<s.rows.length;me++)if(E=s.rows[me],j=!0,Y=0,H="",!E.isEmpty()){var oe;for(let ut=0;ut<E.chars.length;ut++)_l.test(E.chars[ut].uchar)&&j?Y++:(H+=E.chars[ut].uchar,j=!1);E.cueStartTime=t,t===n&&(n+=1e-4),Y>=16?Y--:Y++;const we=qu(H.trim()),Se=pc(t,n,we);w!=null&&(oe=w.cues)!=null&&oe.getCueById(Se)||(T=new te(t,n,we),T.id=Se,T.line=me+1,T.align="left",T.position=10+Math.min(80,Math.floor(Y*8/32)*10),m.push(T))}return w&&m.length&&(m.sort((me,we)=>me.line==="auto"||we.line==="auto"?0:me.line>8&&we.line>8?we.line-me.line:me.line-we.line),m.forEach(me=>Su(w,me))),m}};function Sf(){if(self.fetch&&self.AbortController&&self.ReadableStream&&self.Request)try{return new self.ReadableStream({}),!0}catch(w){}return!1}const Fl=/(\d+)-(\d+)\/(\d+)/;class uf{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||tl,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=Lc(t,this.controller.signal),T=t.responseType==="arraybuffer",j=T?"byteLength":"length",{maxTimeToFirstByteMs:Y,maxLoadTimeMs:H}=n.loadPolicy;this.context=t,this.config=n,this.callbacks=s,this.request=this.fetchSetup(t,E),self.clearTimeout(this.requestTimeout),n.timeout=Y&&r(Y)?Y:H,this.requestTimeout=self.setTimeout(()=>{this.callbacks&&(this.abortInternal(),this.callbacks.onTimeout(m,t,this.response))},n.timeout),(qo(this.request)?this.request.then(self.fetch):self.fetch(this.request)).then(oe=>{var me;this.response=this.loader=oe;const we=Math.max(self.performance.now(),m.loading.start);if(self.clearTimeout(this.requestTimeout),n.timeout=H,this.requestTimeout=self.setTimeout(()=>{this.callbacks&&(this.abortInternal(),this.callbacks.onTimeout(m,t,this.response))},H-(we-m.loading.start)),!oe.ok){const{status:ut,statusText:Je}=oe;throw new Df(Je||"fetch, bad network response",ut,oe)}m.loading.first=we,m.total=lf(oe.headers)||m.total;const Se=(me=this.callbacks)==null?void 0:me.onProgress;return Se&&r(n.highWaterMark)?this.loadProgressively(oe,m,t,n.highWaterMark,Se):T?oe.arrayBuffer():t.responseType==="json"?oe.json():oe.text()}).then(oe=>{var me,we;const Se=this.response;if(!Se)throw new Error("loader destroyed");self.clearTimeout(this.requestTimeout),m.loading.end=Math.max(self.performance.now(),m.loading.first);const ut=oe[j];ut&&(m.loaded=m.total=ut);const Je={url:Se.url,data:oe,code:Se.status},Lt=(me=this.callbacks)==null?void 0:me.onProgress;Lt&&!r(n.highWaterMark)&&Lt(m,t,oe,Se),(we=this.callbacks)==null||we.onSuccess(Je,m,t,Se)}).catch(oe=>{var me;if(self.clearTimeout(this.requestTimeout),m.aborted)return;const we=oe&&oe.code||0,Se=oe?oe.message:null;(me=this.callbacks)==null||me.onError({code:we,text:Se},t,oe?oe.details:null,m)})}getCacheAge(){let t=null;if(this.response){const n=this.response.headers.get("age");t=n?parseFloat(n):null}return t}getResponseHeader(t){return this.response?this.response.headers.get(t):null}loadProgressively(t,n,s,m=0,E){const T=new fa,j=t.body.getReader(),Y=()=>j.read().then(H=>{if(H.done)return T.dataLength&&E(n,s,T.flush().buffer,t),Promise.resolve(new ArrayBuffer(0));const te=H.value,oe=te.length;return n.loaded+=oe,oe<m||T.dataLength?(T.push(te),T.dataLength>=m&&E(n,s,T.flush().buffer,t)):E(n,s,te.buffer,t),Y()}).catch(()=>Promise.reject());return Y()}}function Lc(w,t){const n={method:"GET",mode:"cors",credentials:"same-origin",signal:t,headers:new self.Headers(y({},w.headers))};return w.rangeEnd&&n.headers.set("Range","bytes="+w.rangeStart+"-"+String(w.rangeEnd-1)),n}function Qc(w){const t=Fl.exec(w);if(t)return parseInt(t[2])-parseInt(t[1])+1}function lf(w){const t=w.get("Content-Range");if(t){const s=Qc(t);if(r(s))return s}const n=w.get("Content-Length");if(n)return parseInt(n)}function tl(w,t){return new self.Request(w.url,t)}class Df extends Error{constructor(t,n,s){super(t),this.code=void 0,this.details=void 0,this.code=n,this.details=s}}const Vu=/^age:\s*[\d.]+\s*$/im;class gc{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(T=>{if(!(this.loader!==s||this.stats.aborted))return s.open("GET",n.url,!0),E(s,n.url)}).then(()=>{this.loader!==s||this.stats.aborted||this.openAndSendXhr(s,n,t)}).catch(T=>{var j;(j=this.callbacks)==null||j.onError({code:s.status,text:T.message},n,s,m)}):this.openAndSendXhr(s,n,t)}openAndSendXhr(t,n,s){t.readyState||t.open("GET",n.url,!0);const m=n.headers,{maxTimeToFirstByteMs:E,maxLoadTimeMs:T}=s.loadPolicy;if(m)for(const j in m)t.setRequestHeader(j,m[j]);n.rangeEnd&&t.setRequestHeader("Range","bytes="+n.rangeStart+"-"+(n.rangeEnd-1)),t.onreadystatechange=this.readystatechange.bind(this),t.onprogress=this.loadprogress.bind(this),t.responseType=n.responseType,self.clearTimeout(this.requestTimeout),s.timeout=E&&r(E)?E:T,this.requestTimeout=self.setTimeout(this.loadtimeout.bind(this),s.timeout),t.send()}readystatechange(){const{context:t,loader:n,stats:s}=this;if(!t||!n)return;const m=n.readyState,E=this.config;if(!s.aborted&&m>=2&&(s.loading.first===0&&(s.loading.first=Math.max(self.performance.now(),s.loading.start),E.timeout!==E.loadPolicy.maxLoadTimeMs&&(self.clearTimeout(this.requestTimeout),E.timeout=E.loadPolicy.maxLoadTimeMs,this.requestTimeout=self.setTimeout(this.loadtimeout.bind(this),E.loadPolicy.maxLoadTimeMs-(s.loading.first-s.loading.start)))),m===4)){self.clearTimeout(this.requestTimeout),n.onreadystatechange=null,n.onprogress=null;const H=n.status,te=n.responseType==="text"?n.responseText:null;if(H>=200&&H<300){const Se=te!=null?te:n.response;if(Se!=null){var T,j;s.loading.end=Math.max(self.performance.now(),s.loading.first);const ut=n.responseType==="arraybuffer"?Se.byteLength:Se.length;s.loaded=s.total=ut,s.bwEstimate=s.total*8e3/(s.loading.end-s.loading.first);const Je=(T=this.callbacks)==null?void 0:T.onProgress;Je&&Je(s,t,Se,n);const Lt={url:n.responseURL,data:Se,code:H};(j=this.callbacks)==null||j.onSuccess(Lt,s,t,n);return}}const oe=E.loadPolicy.errorRetry,me=s.retry,we={url:t.url,data:void 0,code:H};if($r(oe,me,!1,we))this.retry(oe);else{var Y;W.error(`${H} while loading ${t.url}`),(Y=this.callbacks)==null||Y.onError({code:H,text:n.statusText},t,n,s)}}}loadtimeout(){if(!this.config)return;const t=this.config.loadPolicy.timeoutRetry,n=this.stats.retry;if($r(t,n,!0))this.retry(t);else{var s;W.warn(`timeout while loading ${(s=this.context)==null?void 0:s.url}`);const m=this.callbacks;m&&(this.abortInternal(),m.onTimeout(this.stats,this.context,this.loader))}}retry(t){const{context:n,stats:s}=this;this.retryDelay=fr(t,s.retry),s.retry++,W.warn(`${status?"HTTP Status "+status:"Timeout"} while loading ${n==null?void 0:n.url}, retrying ${s.retry}/${t.maxNumRetry} in ${this.retryDelay}ms`),this.abortInternal(),this.loader=null,self.clearTimeout(this.retryTimeout),this.retryTimeout=self.setTimeout(this.loadInternal.bind(this),this.retryDelay)}loadprogress(t){const n=this.stats;n.loaded=t.loaded,t.lengthComputable&&(n.total=t.total)}getCacheAge(){let t=null;if(this.loader&&Vu.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 cf={maxTimeToFirstByteMs:8e3,maxLoadTimeMs:2e4,timeoutRetry:null,errorRetry:null},Go=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:gc,fLoader:void 0,pLoader:void 0,xhrSetup:void 0,licenseXhrSetup:void 0,licenseResponseCallback:void 0,abrController:Ki,bufferController:ri,capLevelController:Jo,errorController:ot,fpsController:ol,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:ko,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:cf},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},qc()),{},{subtitleStreamController:Kc,subtitleTrackController:wf,timelineController:ps,audioStreamController:El,audioTrackController:Bu,emeController:Uu,cmcdController:Il,contentSteeringController:wu,interstitialsController:Rc});function qc(){return{cueHandler:If,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 ff(w,t,n){if((t.liveSyncDurationCount||t.liveMaxLatencyDurationCount)&&(t.liveSyncDuration||t.liveMaxLatencyDuration))throw new Error("Illegal hls.js config: don't mix up liveSyncDurationCount/liveMaxLatencyDurationCount and liveSyncDuration/liveMaxLatencyDuration");if(t.liveMaxLatencyDurationCount!==void 0&&(t.liveSyncDurationCount===void 0||t.liveMaxLatencyDurationCount<=t.liveSyncDurationCount))throw new Error('Illegal hls.js config: "liveMaxLatencyDurationCount" must be greater than "liveSyncDurationCount"');if(t.liveMaxLatencyDuration!==void 0&&(t.liveSyncDuration===void 0||t.liveMaxLatencyDuration<=t.liveSyncDuration))throw new Error('Illegal hls.js config: "liveMaxLatencyDuration" must be greater than "liveSyncDuration"');const s=ku(w),m=["manifest","level","frag"],E=["TimeOut","MaxRetry","RetryDelay","MaxRetryTimeout"];return m.forEach(T=>{const j=`${T==="level"?"playlist":T}LoadPolicy`,Y=t[j]===void 0,H=[];E.forEach(te=>{const oe=`${T}Loading${te}`,me=t[oe];if(me!==void 0&&Y){H.push(oe);const we=s[j].default;switch(t[j]={default:we},te){case"TimeOut":we.maxLoadTimeMs=me,we.maxTimeToFirstByteMs=me;break;case"MaxRetry":we.errorRetry.maxNumRetry=me,we.timeoutRetry.maxNumRetry=me;break;case"RetryDelay":we.errorRetry.retryDelayMs=me,we.timeoutRetry.retryDelayMs=me;break;case"MaxRetryTimeout":we.errorRetry.maxRetryDelayMs=me,we.timeoutRetry.maxRetryDelayMs=me;break}}}),H.length&&n.warn(`hls.js config: "${H.join('", "')}" setting(s) are deprecated, use "${j}": ${Un(t[j])}`)}),b(b({},s),t)}function ku(w){return w&&typeof w=="object"?Array.isArray(w)?w.map(ku):Object.keys(w).reduce((t,n)=>(t[n]=ku(w[n]),t),{}):w}function yc(w,t){const n=w.loader;n!==uf&&n!==gc?(t.log("[config]: Custom loader detected, cannot enable progressive streaming"),w.progressive=!1):Sf()&&(w.loader=uf,w.progressive=!0,w.enableSoftwareAES=!0,t.log("[config]: Progressive streaming enabled, using FetchLoader"))}const To=2,df=.1,hf=.05,Mc=100;class Fc extends ms{constructor(t,n){super("gap-controller",t.logger),this.hls=null,this.fragmentTracker=null,this.media=null,this.mediaSource=void 0,this.nudgeRetry=0,this.stallReported=!1,this.stalled=null,this.moved=!1,this.seeking=!1,this.buffered={},this.lastCurrentTime=0,this.ended=0,this.waiting=0,this.onMediaPlaying=()=>{this.ended=0,this.waiting=0},this.onMediaWaiting=()=>{var s;(s=this.media)!=null&&s.seeking||(this.waiting=self.performance.now(),this.tick())},this.onMediaEnded=()=>{if(this.hls){var s;this.ended=((s=this.media)==null?void 0:s.currentTime)||1,this.hls.trigger(o.MEDIA_ENDED,{stalled:!1})}},this.hls=t,this.fragmentTracker=n,this.registerListeners()}registerListeners(){const{hls:t}=this;t&&(t.on(o.MEDIA_ATTACHED,this.onMediaAttached,this),t.on(o.MEDIA_DETACHING,this.onMediaDetaching,this),t.on(o.BUFFER_APPENDED,this.onBufferAppended,this))}unregisterListeners(){const{hls:t}=this;t&&(t.off(o.MEDIA_ATTACHED,this.onMediaAttached,this),t.off(o.MEDIA_DETACHING,this.onMediaDetaching,this),t.off(o.BUFFER_APPENDED,this.onBufferAppended,this))}destroy(){super.destroy(),this.unregisterListeners(),this.media=this.hls=this.fragmentTracker=null,this.mediaSource=void 0}onMediaAttached(t,n){this.setInterval(Mc),this.mediaSource=n.mediaSource;const s=this.media=n.media;Ds(s,"playing",this.onMediaPlaying),Ds(s,"waiting",this.onMediaWaiting),Ds(s,"ended",this.onMediaEnded)}onMediaDetaching(t,n){this.clearInterval();const{media:s}=this;s&&(uo(s,"playing",this.onMediaPlaying),uo(s,"waiting",this.onMediaWaiting),uo(s,"ended",this.onMediaEnded),this.media=null),this.mediaSource=void 0}onBufferAppended(t,n){this.buffered=n.timeRanges}get hasBuffered(){return Object.keys(this.buffered).length>0}tick(){var t;if(!((t=this.media)!=null&&t.readyState)||!this.hasBuffered)return;const n=this.media.currentTime;this.poll(n,this.lastCurrentTime),this.lastCurrentTime=n}poll(t,n){var s,m;const E=(s=this.hls)==null?void 0:s.config;if(!E)return;const T=this.media;if(!T)return;const{seeking:j}=T,Y=this.seeking&&!j,H=!this.seeking&&j,te=T.paused&&!j||T.ended||T.playbackRate===0;if(this.seeking=j,t!==n){n&&(this.ended=0),this.moved=!0,j||(this.nudgeRetry=0,E.nudgeOnVideoHole&&!te&&t>n&&this.nudgeOnVideoHole(t,n)),this.waiting===0&&this.stallResolved(t);return}if(H||Y){Y&&this.stallResolved(t);return}if(te){this.nudgeRetry=0,this.stallResolved(t),!this.ended&&T.ended&&this.hls&&(this.ended=t||1,this.hls.trigger(o.MEDIA_ENDED,{stalled:!1}));return}if(!Zn.getBuffered(T).length){this.nudgeRetry=0;return}const oe=Zn.bufferInfo(T,t,0),me=oe.nextStart||0,we=this.fragmentTracker;if(j&&we&&this.hls){const cn=Jc(this.hls.inFlightFragments,t),zr=oe.len>To,qr=!me||cn||me-t>To&&!we.getPartialFragment(t);if(zr||qr)return;this.moved=!1}const Se=(m=this.hls)==null?void 0:m.latestLevelDetails;if(!this.moved&&this.stalled!==null&&we){if(!(oe.len>0)&&!me)return;const zr=Math.max(me,oe.start||0)-t,an=!!(Se!=null&&Se.live)?Se.targetduration*2:To,Br=we.getPartialFragment(t);if(zr>0&&(zr<=an||Br)){T.paused||this._trySkipBufferHole(Br);return}}const ut=E.detectStallWithCurrentTimeMs,Je=self.performance.now(),Lt=this.waiting;let rr=this.stalled;if(rr===null)if(Lt>0&&Je-Lt<ut)rr=this.stalled=Lt;else{this.stalled=Je;return}const Yt=Je-rr;if(!j&&(Yt>=ut||Lt)&&this.hls){var Cr;if(((Cr=this.mediaSource)==null?void 0:Cr.readyState)==="ended"&&!(Se!=null&&Se.live)&&Math.abs(t-((Se==null?void 0:Se.edge)||0))<1){if(this.ended)return;this.ended=t||1,this.hls.trigger(o.MEDIA_ENDED,{stalled:!0});return}if(this._reportStall(oe),!this.media||!this.hls)return}const Hr=Zn.bufferInfo(T,t,E.maxBufferHole);this._tryFixBufferStall(Hr,Yt,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=Zn.bufferedInfo(Zn.timeRangesToArray(this.buffered.audio),t,0);if(E.len>1&&n>=E.start){const T=Zn.timeRangesToArray(m),j=Zn.bufferedInfo(T,n,0).bufferedIndex;if(j>-1&&j<T.length-1){const Y=Zn.bufferedInfo(T,t,0).bufferedIndex,H=T[j].end,te=T[j+1].start;if((Y===-1||Y>j)&&te-H<1&&t-H<2){const oe=new Error(`nudging playhead to flush pipeline after video hole. currentTime: ${t} hole: ${H} -> ${te} buffered index: ${Y}`);this.warn(oe.message),this.media.currentTime+=1e-6;const me=this.fragmentTracker.getPartialFragment(t)||void 0,we=Zn.bufferInfo(this.media,t,0);this.hls.trigger(o.ERROR,{type:c.MEDIA_ERROR,details:f.BUFFER_SEEK_OVER_HOLE,fatal:!1,error:oe,reason:oe.message,frag:me,buffer:we.len,bufferInfo:we})}}}}}_tryFixBufferStall(t,n,s){var m,E;const{fragmentTracker:T,media:j}=this,Y=(m=this.hls)==null?void 0:m.config;if(!j||!T||!Y)return;const H=(E=this.hls)==null?void 0:E.latestLevelDetails,te=T.getPartialFragment(s);if((te||H!=null&&H.live&&s<H.fragmentStart)&&(this._trySkipBufferHole(te)||!this.media))return;const oe=t.buffered,me=this.adjacentTraversal(t,s);(oe&&oe.length>1&&t.len>Y.maxBufferHole||t.nextStart&&(t.nextStart-s<Y.maxBufferHole||me))&&(n>Y.highBufferWatchdogPeriod*1e3||this.waiting)&&(this.warn("Trying to nudge playhead over buffer-hole"),this._tryNudgeBuffer(t))}adjacentTraversal(t,n){const s=this.fragmentTracker,m=t.nextStart;if(s&&m){const E=s.getFragAtPos(n,u.MAIN),T=s.getFragAtPos(m,u.MAIN);if(E&&T)return T.sn-E.sn<2}return!1}_reportStall(t){const{hls:n,media:s,stallReported:m,stalled:E}=this;if(!m&&E!==null&&s&&n){this.stallReported=!0;const T=new Error(`Playback stalling at @${s.currentTime} due to low buffer (${Un(t)})`);this.warn(T.message),n.trigger(o.ERROR,{type:c.MEDIA_ERROR,details:f.BUFFER_STALLED_ERROR,fatal:!1,error:T,buffer:t.len,bufferInfo:t,stalled:{start:E}})}}_trySkipBufferHole(t){var n;const{fragmentTracker:s,media:m}=this,E=(n=this.hls)==null?void 0:n.config;if(!m||!s||!E)return 0;const T=m.currentTime,j=Zn.bufferInfo(m,T,0),Y=T<j.start?j.start:j.nextStart;if(Y&&this.hls){const te=j.len<=E.maxBufferHole,oe=j.len>0&&j.len<1&&m.readyState<3,me=Y-T;if(me>0&&(te||oe)){if(me>E.maxBufferHole){let Se=!1;if(T===0){const ut=s.getAppendedFrag(0,u.MAIN);ut&&Y<ut.end&&(Se=!0)}if(!Se){const ut=t||s.getAppendedFrag(T,u.MAIN);if(ut){var H;if(!((H=this.hls.loadLevelObj)!=null&&H.details)||Jc(this.hls.inFlightFragments,Y))return 0;let Lt=!1,rr=ut.end;for(;rr<Y;){const Yt=s.getAppendedFrag(rr,u.MAIN)||s.getPartialFragment(rr);if(Yt)rr+=Yt.duration;else{Lt=!0;break}}if(Lt)return 0}}}const we=Math.max(Y+hf,T+df);if(this.warn(`skipping hole, adjusting currentTime from ${T} to ${we}`),this.moved=!0,m.currentTime=we,!(t!=null&&t.gap)){const Se=new Error(`fragment loaded with buffer holes, seeking from ${T} to ${we}`);this.hls.trigger(o.ERROR,{type:c.MEDIA_ERROR,details:f.BUFFER_SEEK_OVER_HOLE,fatal:!1,error:Se,reason:Se.message,frag:t||void 0,buffer:j.len,bufferInfo:j})}return we}}return 0}_tryNudgeBuffer(t){const{hls:n,media:s,nudgeRetry:m}=this,E=n==null?void 0:n.config;if(!s||!E)return 0;const T=s.currentTime;if(this.nudgeRetry++,m<E.nudgeMaxRetry){const j=T+(m+1)*E.nudgeOffset,Y=new Error(`Nudging 'currentTime' from ${T} to ${j}`);this.warn(Y.message),s.currentTime=j,n.trigger(o.ERROR,{type:c.MEDIA_ERROR,details:f.BUFFER_NUDGE_ON_STALL,error:Y,fatal:!1,buffer:t.len,bufferInfo:t})}else{const j=new Error(`Playhead still not moving while enough data buffered @${T} after ${E.nudgeMaxRetry} nudges`);this.error(j.message),n.trigger(o.ERROR,{type:c.MEDIA_ERROR,details:f.BUFFER_STALLED_ERROR,error:j,fatal:!0,buffer:t.len,bufferInfo:t})}}}function Jc(w,t){const n=Bc(w.main);if(n&&n.start<=t)return n;const s=Bc(w.audio);return s&&s.start<=t?s:null}function Bc(w){if(!w)return null;switch(w.state){case Jt.IDLE:case Jt.STOPPED:case Jt.ENDED:case Jt.ERROR:return null}return w.frag}const Of=.25;function Af(){if(typeof self!="undefined")return self.VTTCue||self.TextTrackCue}function ef(w,t,n,s,m){let E=new w(t,n,"");try{E.value=s,m&&(E.type=m)}catch(T){E=new w(t,n,Un(m?b({type:m},s):s))}return E}const Cf=(()=>{const w=Af();try{w&&new w(0,Number.POSITIVE_INFINITY,"")}catch(t){return Number.MAX_VALUE}return Number.POSITIVE_INFINITY})();class kf{constructor(t){this.hls=void 0,this.id3Track=null,this.media=null,this.dateRangeCuesAppended={},this.removeCues=!0,this.onEventCueEnter=()=>{this.hls&&this.hls.trigger(o.EVENT_CUE_ENTER,{})},this.hls=t,this._registerListeners()}destroy(){this._unregisterListeners(),this.id3Track=null,this.media=null,this.dateRangeCuesAppended={},this.hls=this.onEventCueEnter=null}_registerListeners(){const{hls:t}=this;t.on(o.MEDIA_ATTACHING,this.onMediaAttaching,this),t.on(o.MEDIA_ATTACHED,this.onMediaAttached,this),t.on(o.MEDIA_DETACHING,this.onMediaDetaching,this),t.on(o.MANIFEST_LOADING,this.onManifestLoading,this),t.on(o.FRAG_PARSING_METADATA,this.onFragParsingMetadata,this),t.on(o.BUFFER_FLUSHING,this.onBufferFlushing,this),t.on(o.LEVEL_UPDATED,this.onLevelUpdated,this),t.on(o.LEVEL_PTS_UPDATED,this.onLevelPtsUpdated,this)}_unregisterListeners(){const{hls:t}=this;t.off(o.MEDIA_ATTACHING,this.onMediaAttaching,this),t.off(o.MEDIA_ATTACHED,this.onMediaAttached,this),t.off(o.MEDIA_DETACHING,this.onMediaDetaching,this),t.off(o.MANIFEST_LOADING,this.onManifestLoading,this),t.off(o.FRAG_PARSING_METADATA,this.onFragParsingMetadata,this),t.off(o.BUFFER_FLUSHING,this.onBufferFlushing,this),t.off(o.LEVEL_UPDATED,this.onLevelUpdated,this),t.off(o.LEVEL_PTS_UPDATED,this.onLevelPtsUpdated,this)}onMediaAttaching(t,n){var s;this.media=n.media,((s=n.overrides)==null?void 0:s.cueRemoval)===!1&&(this.removeCues=!1)}onMediaAttached(){const t=this.hls.latestLevelDetails;t&&this.updateDateRangeCues(t)}onMediaDetaching(t,n){this.media=null,!n.transferMedia&&(this.id3Track&&(this.removeCues&&Xu(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 zu(s,this.media),s}return this.media.addTextTrack("metadata","id3")}}onFragParsingMetadata(t,n){if(!this.media)return;const{hls:{config:{enableEmsgMetadataCues:s,enableID3MetadataCues:m}}}=this;if(!s&&!m)return;const{samples:E}=n;this.id3Track||(this.id3Track=this.createTrack(this.media));const T=Af();if(T)for(let j=0;j<E.length;j++){const Y=E[j].type;if(Y===Xa.emsg&&!s||!m)continue;const H=Js(E[j].data);if(H){const te=E[j].pts;let oe=te+E[j].duration;oe>Cf&&(oe=Cf),oe-te<=0&&(oe=te+Of);for(let we=0;we<H.length;we++){const Se=H[we];if(!Ya(Se)){this.updateId3CueEnds(te,Y);const ut=ef(T,te,oe,Se,Y);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 T=m[E];T.type===n&&T.startTime<t&&T.endTime===Cf&&(T.endTime=t)}}onBufferFlushing(t,{startOffset:n,endOffset:s,type:m}){const{id3Track:E,hls:T}=this;if(!T)return;const{config:{enableEmsgMetadataCues:j,enableID3MetadataCues:Y}}=T;if(E&&(j||Y)){let H;m==="audio"?H=te=>te.type===Xa.audioId3&&Y:m==="video"?H=te=>te.type===Xa.emsg&&j:H=te=>te.type===Xa.audioId3&&Y||te.type===Xa.emsg&&j,ul(E,n,s,H)}}onLevelUpdated(t,{details:n}){this.updateDateRangeCues(n,!0)}onLevelPtsUpdated(t,n){Math.abs(n.drift)>.01&&this.updateDateRangeCues(n.details)}updateDateRangeCues(t,n){if(!this.media||!t.hasProgramDateTime||!this.hls.config.enableDateRangeMetadataCues)return;const{id3Track:s}=this,{dateRanges:m}=t,E=Object.keys(m);let T=this.dateRangeCuesAppended;if(s&&n){var j;if((j=s.cues)!=null&&j.length){const te=Object.keys(T).filter(oe=>!E.includes(oe));for(let oe=te.length;oe--;){const me=te[oe],we=T[me].cues;delete T[me],Object.keys(we).forEach(Se=>{try{const ut=we[Se];ut.removeEventListener("enter",this.onEventCueEnter),s.removeCue(ut)}catch(ut){}})}}else T=this.dateRangeCuesAppended={}}const Y=t.fragments[t.fragments.length-1];if(E.length===0||!r(Y==null?void 0:Y.programDateTime))return;this.id3Track||(this.id3Track=this.createTrack(this.media));const H=Af();for(let te=0;te<E.length;te++){const oe=E[te],me=m[oe],we=me.startTime,Se=T[oe],ut=(Se==null?void 0:Se.cues)||{};let Je=(Se==null?void 0:Se.durationKnown)||!1,Lt=Cf;const{duration:rr,endDate:Yt}=me;if(Yt&&rr!==null)Lt=we+rr,Je=!0;else if(me.endOnNext&&!Je){const Hr=E.reduce((cn,zr)=>{if(zr!==me.id){const qr=m[zr];if(qr.class===me.class&&qr.startDate>me.startDate&&(!cn||me.startDate<cn.startDate))return qr}return cn},null);Hr&&(Lt=Hr.startTime,Je=!0)}const Cr=Object.keys(me.attr);for(let Hr=0;Hr<Cr.length;Hr++){const cn=Cr[Hr];if(!Ks(cn))continue;const zr=ut[cn];if(zr)Je&&!Se.durationKnown?zr.endTime=Lt:Math.abs(zr.startTime-we)>.01&&(zr.startTime=we,zr.endTime=Lt);else if(H){let qr=me.attr[cn];In(cn)&&(qr=V(qr));const Br=ef(H,we,Lt,{key:cn,data:qr},Xa.dateRange);Br&&(Br.id=oe,this.id3Track.addCue(Br),ut[cn]=Br,this.hls.config.interstitialsController&&(cn==="X-ASSET-LIST"||cn==="X-ASSET-URL")&&Br.addEventListener("enter",this.onEventCueEnter))}}T[oe]={cues:ut,dateRange:me,durationKnown:Je}}}}class pf{constructor(t){this.hls=void 0,this.config=void 0,this.media=null,this.currentTime=0,this.stallCount=0,this._latency=null,this._targetLatencyUpdated=!1,this.onTimeupdate=()=>{const{media:n}=this,s=this.levelDetails;if(!n||!s)return;this.currentTime=n.currentTime;const m=this.computeLatency();if(m===null)return;this._latency=m;const{lowLatencyMode:E,maxLiveSyncPlaybackRate:T}=this.config;if(!E||T===1||!s.live)return;const j=this.targetLatency;if(j===null)return;const Y=m-j,H=Math.min(this.maxLatency,j+s.targetduration);if(Y<H&&Y>.05&&this.forwardBufferLength>1){const oe=Math.min(2,Math.max(1,T)),me=Math.round(2/(1+Math.exp(-.75*Y-this.edgeStalled))*20)/20,we=Math.min(oe,Math.max(1,me));this.changeMediaPlaybackRate(n,we)}else n.playbackRate!==1&&n.playbackRate!==0&&this.changeMediaPlaybackRate(n,1)},this.hls=t,this.config=t.config,this.registerListeners()}get levelDetails(){var t;return((t=this.hls)==null?void 0:t.latestLevelDetails)||null}get latency(){return this._latency||0}get maxLatency(){const{config:t}=this;if(t.liveMaxLatencyDuration!==void 0)return t.liveMaxLatencyDuration;const n=this.levelDetails;return n?t.liveMaxLatencyDurationCount*n.targetduration:0}get targetLatency(){const t=this.levelDetails;if(t===null||this.hls===null)return null;const{holdBack:n,partHoldBack:s,targetduration:m}=t,{liveSyncDuration:E,liveSyncDurationCount:T,lowLatencyMode:j}=this.config,Y=this.hls.userConfig;let H=j&&s||n;(this._targetLatencyUpdated||Y.liveSyncDuration||Y.liveSyncDurationCount||H===0)&&(H=E!==void 0?E:T*m);const te=m;return H+Math.min(this.stallCount*this.config.liveSyncOnStallIncrease,te)}set targetLatency(t){this.stallCount=0,this.config.liveSyncDuration=t,this._targetLatencyUpdated=!0}get liveSyncPosition(){const t=this.estimateLiveEdge(),n=this.targetLatency;if(t===null||n===null)return null;const s=this.levelDetails;if(s===null)return null;const m=s.edge,E=t-n-this.edgeStalled,T=m-s.totalduration,j=m-(this.config.lowLatencyMode&&s.partTarget||s.targetduration);return Math.min(Math.max(T,E),j)}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 zf extends jo{constructor(t,n){super(t,"level-controller"),this._levels=[],this._firstLevel=-1,this._maxAutoLevel=-1,this._startLevel=void 0,this.currentLevel=null,this.currentLevelIndex=-1,this.manualLevelIndex=-1,this.steering=void 0,this.onParsedComplete=void 0,this.steering=n,this._registerListeners()}_registerListeners(){const{hls:t}=this;t.on(o.MANIFEST_LOADING,this.onManifestLoading,this),t.on(o.MANIFEST_LOADED,this.onManifestLoaded,this),t.on(o.LEVEL_LOADED,this.onLevelLoaded,this),t.on(o.LEVELS_UPDATED,this.onLevelsUpdated,this),t.on(o.FRAG_BUFFERED,this.onFragBuffered,this),t.on(o.ERROR,this.onError,this)}_unregisterListeners(){const{hls:t}=this;t.off(o.MANIFEST_LOADING,this.onManifestLoading,this),t.off(o.MANIFEST_LOADED,this.onManifestLoaded,this),t.off(o.LEVEL_LOADED,this.onLevelLoaded,this),t.off(o.LEVELS_UPDATED,this.onLevelsUpdated,this),t.off(o.FRAG_BUFFERED,this.onFragBuffered,this),t.off(o.ERROR,this.onError,this)}destroy(){this._unregisterListeners(),this.steering=null,this.resetLevels(),super.destroy()}stopLoad(){this._levels.forEach(n=>{n.loadError=0,n.fragmentError=0}),super.stopLoad()}resetLevels(){this._startLevel=void 0,this.manualLevelIndex=-1,this.currentLevelIndex=-1,this.currentLevel=null,this._levels=[],this._maxAutoLevel=-1}onManifestLoading(t,n){this.resetLevels()}onManifestLoaded(t,n){const s=this.hls.config.preferManagedMediaSource,m=[],E={},T={};let j=!1,Y=!1,H=!1;n.levels.forEach(te=>{const oe=te.attrs;let{audioCodec:me,videoCodec:we}=te;me&&(te.audioCodec=me=mt(me,s)||void 0),we&&(we=te.videoCodec=St(we));const{width:Se,height:ut,unknownCodecs:Je}=te;let Lt=Je?Je.length:0;if(Je)for(let Br=Lt;Br--;){const Fn=Je[Br];this.isAudioSupported(Fn)?(te.audioCodec=me=me?`${me},${Fn}`:Fn,Lt--,pe.audio[me.substring(0,4)]=2):this.isVideoSupported(Fn)&&(te.videoCodec=we=we?`${we},${Fn}`:Fn,Lt--,pe.video[we.substring(0,4)]=2)}if(j||(j=!!(Se&&ut)),Y||(Y=!!we),H||(H=!!me),Lt||me&&!this.isAudioSupported(me)||we&&!this.isVideoSupported(we)){this.log(`Some or all CODECS not supported "${oe.CODECS}"`);return}const{CODECS:rr,"FRAME-RATE":Yt,"HDCP-LEVEL":Cr,"PATHWAY-ID":Hr,RESOLUTION:cn,"VIDEO-RANGE":zr}=oe,an=`${`${Hr||"."}-`}${te.bitrate}-${cn}-${Yt}-${rr}-${zr}-${Cr}`;if(E[an])if(E[an].uri!==te.url&&!te.attrs["PATHWAY-ID"]){const Br=T[an]+=1;te.attrs["PATHWAY-ID"]=new Array(Br+1).join(".");const Fn=this.createLevel(te);E[an]=Fn,m.push(Fn)}else E[an].addGroupId("audio",oe.AUDIO),E[an].addGroupId("text",oe.SUBTITLES);else{const Br=this.createLevel(te);E[an]=Br,T[an]=1,m.push(Br)}}),this.filterAndSortMediaOptions(m,n,j,Y,H)}createLevel(t){const n=new lr(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=mr(m,[])}return n}isAudioSupported(t){return Ie(t,"audio",this.hls.config.preferManagedMediaSource)}isVideoSupported(t){return Ie(t,"video",this.hls.config.preferManagedMediaSource)}filterAndSortMediaOptions(t,n,s,m,E){let T=[],j=[],Y=t;if((s||m)&&E&&(Y=Y.filter(({videoCodec:Je,videoRange:Lt,width:rr,height:Yt})=>(!!Je||!!(rr&&Yt))&&Qr(Lt))),Y.length===0){Promise.resolve().then(()=>{if(this.hls){let Je="no level with compatible codecs found in manifest",Lt=Je;n.levels.length&&(Lt=`one or more CODECS in variant not supported: ${Un(n.levels.map(Yt=>Yt.attrs.CODECS).filter((Yt,Cr,Hr)=>Hr.indexOf(Yt)===Cr))}`,this.warn(Lt),Je+=` (${Lt})`);const rr=new Error(Je);this.hls.trigger(o.ERROR,{type:c.MEDIA_ERROR,details:f.MANIFEST_INCOMPATIBLE_CODECS_ERROR,fatal:!0,url:n.url,error:rr,reason:Lt})}});return}n.audioTracks&&(T=n.audioTracks.filter(Je=>!Je.audioCodec||this.isAudioSupported(Je.audioCodec)),_f(T)),n.subtitles&&(j=n.subtitles,_f(j));const H=Y.slice(0);Y.sort((Je,Lt)=>{if(Je.attrs["HDCP-LEVEL"]!==Lt.attrs["HDCP-LEVEL"])return(Je.attrs["HDCP-LEVEL"]||"")>(Lt.attrs["HDCP-LEVEL"]||"")?1:-1;if(s&&Je.height!==Lt.height)return Je.height-Lt.height;if(Je.frameRate!==Lt.frameRate)return Je.frameRate-Lt.frameRate;if(Je.videoRange!==Lt.videoRange)return vr.indexOf(Je.videoRange)-vr.indexOf(Lt.videoRange);if(Je.videoCodec!==Lt.videoCodec){const rr=wt(Je.videoCodec),Yt=wt(Lt.videoCodec);if(rr!==Yt)return Yt-rr}if(Je.uri===Lt.uri&&Je.codecSet!==Lt.codecSet){const rr=Oe(Je.codecSet),Yt=Oe(Lt.codecSet);if(rr!==Yt)return Yt-rr}return Je.averageBitrate!==Lt.averageBitrate?Je.averageBitrate-Lt.averageBitrate:0});let te=H[0];if(this.steering&&(Y=this.steering.filterParsedLevels(Y),Y.length!==H.length)){for(let Je=0;Je<H.length;Je++)if(H[Je].pathwayId===Y[0].pathwayId){te=H[Je];break}}this._levels=Y;for(let Je=0;Je<Y.length;Je++)if(Y[Je]===te){var oe;this._firstLevel=Je;const Lt=te.bitrate,rr=this.hls.bandwidthEstimate;if(this.log(`manifest loaded, ${Y.length} level(s) found, first bitrate: ${Lt}`),((oe=this.hls.userConfig)==null?void 0:oe.abrEwmaDefaultEstimate)===void 0){const Yt=Math.min(Lt,this.hls.config.abrEwmaDefaultEstimateMax);Yt>rr&&rr===this.hls.abrEwmaDefaultEstimate&&(this.hls.bandwidthEstimate=Yt)}break}const me=E&&!m,we=this.hls.config,Se=!!(we.audioStreamController&&we.audioTrackController),ut={levels:Y,audioTracks:T,subtitleTracks:j,sessionData:n.sessionData,sessionKeys:n.sessionKeys,firstLevel:this._firstLevel,stats:n.stats,audio:E,video:m,altAudio:Se&&!me&&T.some(Je=>!!Je.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 te=new Error("invalid level idx"),oe=t<0;if(this.hls.trigger(o.ERROR,{type:c.OTHER_ERROR,details:f.LEVEL_SWITCH_ERROR,level:t,fatal:oe,error:te,reason:te.message}),oe)return;t=Math.min(t,n.length-1)}const s=this.currentLevelIndex,m=this.currentLevel,E=m?m.attrs["PATHWAY-ID"]:void 0,T=n[t],j=T.attrs["PATHWAY-ID"];if(this.currentLevelIndex=t,this.currentLevel=T,s===t&&m&&E===j)return;this.log(`Switching to level ${t} (${T.height?T.height+"p ":""}${T.videoRange?T.videoRange+" ":""}${T.codecSet?T.codecSet+" ":""}@${T.bitrate})${j?" with Pathway "+j:""} from level ${s}${E?" with Pathway "+E:""}`);const Y={level:t,attrs:T.attrs,details:T.details,bitrate:T.bitrate,averageBitrate:T.averageBitrate,maxBitrate:T.maxBitrate,realBitrate:T.realBitrate,width:T.width,height:T.height,codecSet:T.codecSet,audioCodec:T.audioCodec,videoCodec:T.videoCodec,audioGroups:T.audioGroups,subtitleGroups:T.subtitleGroups,loaded:T.loaded,loadError:T.loadError,fragmentError:T.fragmentError,name:T.name,id:T.id,uri:T.uri,url:T.url,urlId:0,audioGroupIds:T.audioGroupIds,textGroupIds:T.textGroupIds};this.hls.trigger(o.LEVEL_SWITCHING,Y);const H=T.details;if(!H||H.live){const te=this.switchParams(T.uri,m==null?void 0:m.details,H);this.loadPlaylist(te)}}get manualLevel(){return this.manualLevelIndex}set manualLevel(t){this.manualLevelIndex=t,this._startLevel===void 0&&(this._startLevel=t),t!==-1&&(this.level=t)}get firstLevel(){return this._firstLevel}set firstLevel(t){this._firstLevel=t}get startLevel(){if(this._startLevel===void 0){const t=this.hls.config.startLevel;return t!==void 0?t:this.hls.firstAutoLevel}return this._startLevel}set startLevel(t){this._startLevel=t}get pathways(){return this.steering?this.steering.pathways():[]}get pathwayPriority(){return this.steering?this.steering.pathwayPriority:null}set pathwayPriority(t){if(this.steering){const n=this.steering.pathways(),s=t.filter(m=>n.indexOf(m)!==-1);if(t.length<1){this.warn(`pathwayPriority ${t} should contain at least one pathway from list: ${n}`);return}this.steering.pathwayPriority=s}}onError(t,n){n.fatal||!n.context||n.context.type===h.LEVEL&&n.context.level===this.level&&this.checkRetry(n)}onFragBuffered(t,{frag:n}){if(n!==void 0&&n.type===u.MAIN){const s=n.elementaryStreams;if(!Object.keys(s).some(E=>!!s[E]))return;const m=this._levels[n.level];m!=null&&m.loadError&&(this.log(`Resetting level error count of ${m.loadError} on frag buffered`),m.loadError=0)}}onLevelLoaded(t,n){var s;const{level:m,details:E}=n,T=n.levelInfo;if(!T){var j;this.warn(`Invalid level index ${m}`),(j=n.deliveryDirectives)!=null&&j.skip&&(E.deltaUpdateFailed=!0);return}if(T===this.currentLevel||n.withoutMultiVariant){T.fragmentError===0&&(T.loadError=0);let Y=T.details;Y===n.details&&Y.advanced&&(Y=void 0),this.playlistLoaded(m,n,Y)}else(s=n.deliveryDirectives)!=null&&s.skip&&(E.deltaUpdateFailed=!0)}loadPlaylist(t){super.loadPlaylist(),this.shouldLoadPlaylist(this.currentLevel)&&this.scheduleLoading(this.currentLevel,t)}loadingPlaylist(t,n){super.loadingPlaylist(t,n);const s=this.getUrlWithDirectives(t.uri,n),m=this.currentLevelIndex,E=t.attrs["PATHWAY-ID"],T=t.details,j=T==null?void 0:T.age;this.log(`Loading level index ${m}${(n==null?void 0:n.msn)!==void 0?" at sn "+n.msn+" part "+n.part:""}${E?" Pathway "+E:""}${j&&T.live?" age "+j.toFixed(1)+(T.type?" "+T.type||0:""):""} ${s}`),this.hls.trigger(o.LEVEL_LOADING,{url:s,level:m,levelInfo:t,pathwayId:t.attrs["PATHWAY-ID"],id:0,deliveryDirectives:n||null})}get nextLoadLevel(){return this.manualLevelIndex!==-1?this.manualLevelIndex:this.hls.nextAutoLevel}set nextLoadLevel(t){this.level=t,this.manualLevelIndex===-1&&(this.hls.nextAutoLevel=t)}removeLevel(t){var n;if(this._levels.length===1)return;const s=this._levels.filter((E,T)=>T!==t?!0:(this.steering&&this.steering.removeLevel(E),E===this.currentLevel&&(this.currentLevel=null,this.currentLevelIndex=-1,E.details&&E.details.fragments.forEach(j=>j.level=-1)),!1));Lr(s),this._levels=s,this.currentLevelIndex>-1&&(n=this.currentLevel)!=null&&n.details&&(this.currentLevelIndex=this.currentLevel.details.fragments[0].level),this.manualLevelIndex>-1&&(this.manualLevelIndex=this.currentLevelIndex);const m=s.length-1;this._firstLevel=Math.min(this._firstLevel,m),this._startLevel&&(this._startLevel=Math.min(this._startLevel,m)),this.hls.trigger(o.LEVELS_UPDATED,{levels:s})}onLevelsUpdated(t,{levels:n}){this._levels=n}checkMaxAutoUpdated(){const{autoLevelCapping:t,maxAutoLevel:n,maxHdcpLevel:s}=this.hls;this._maxAutoLevel!==n&&(this._maxAutoLevel=n,this.hls.trigger(o.MAX_AUTO_LEVEL_UPDATED,{autoLevelCapping:t,levels:this.levels,maxAutoLevel:n,minAutoLevel:this.hls.minAutoLevel,maxHdcpLevel:s}))}}function _f(w){const t={};w.forEach(n=>{const s=n.groupId||"";n.id=t[s]=t[s]||0,t[s]++})}function Rf(){return self.SourceBuffer||self.WebKitSourceBuffer}function Bf(){if(!se())return!1;const t=Rf();return!t||t.prototype&&typeof t.prototype.appendBuffer=="function"&&typeof t.prototype.remove=="function"}function mf(){if(!Bf())return!1;const w=se();return typeof(w==null?void 0:w.isTypeSupported)=="function"&&(["avc1.42E01E,mp4a.40.2","av01.0.01M.08","vp09.00.50.08"].some(t=>w.isTypeSupported(zt(t,"video")))||["mp4a.40.2","fLaC"].some(t=>w.isTypeSupported(zt(t,"audio"))))}function Zf(){var w;const t=Rf();return typeof(t==null||(w=t.prototype)==null?void 0:w.changeType)=="function"}const Tf=100;class g extends Yi{constructor(t,n,s){super(t,n,s,"stream-controller",u.MAIN),this.audioCodecSwap=!1,this.level=-1,this._forceStartLoad=!1,this._hasEnoughToStart=!1,this.altAudio=0,this.audioOnly=!1,this.fragPlaying=null,this.fragLastKbps=0,this.couldBacktrack=!1,this.backtrackFragment=null,this.audioCodecSwitch=!1,this.videoBuffer=null,this.onMediaPlaying=()=>{this.tick()},this.onMediaSeeked=()=>{const m=this.media,E=m?m.currentTime:null;if(E===null||!r(E)||(this.log(`Media seeked to ${E.toFixed(3)}`),!this.getBufferedFrag(E)))return;const T=this.getFwdBufferInfoAtPos(m,E,u.MAIN,0);if(T===null||T.len===0){this.warn(`Main forward buffer length at ${E} on "seeked" event ${T?T.len:"empty"})`);return}this.tick()},this.registerListeners()}registerListeners(){super.registerListeners();const{hls:t}=this;t.on(o.MANIFEST_PARSED,this.onManifestParsed,this),t.on(o.LEVEL_LOADING,this.onLevelLoading,this),t.on(o.LEVEL_LOADED,this.onLevelLoaded,this),t.on(o.FRAG_LOAD_EMERGENCY_ABORTED,this.onFragLoadEmergencyAborted,this),t.on(o.AUDIO_TRACK_SWITCHING,this.onAudioTrackSwitching,this),t.on(o.AUDIO_TRACK_SWITCHED,this.onAudioTrackSwitched,this),t.on(o.BUFFER_CREATED,this.onBufferCreated,this),t.on(o.BUFFER_FLUSHED,this.onBufferFlushed,this),t.on(o.LEVELS_UPDATED,this.onLevelsUpdated,this),t.on(o.FRAG_BUFFERED,this.onFragBuffered,this)}unregisterListeners(){super.unregisterListeners();const{hls:t}=this;t.off(o.MANIFEST_PARSED,this.onManifestParsed,this),t.off(o.LEVEL_LOADED,this.onLevelLoaded,this),t.off(o.FRAG_LOAD_EMERGENCY_ABORTED,this.onFragLoadEmergencyAborted,this),t.off(o.AUDIO_TRACK_SWITCHING,this.onAudioTrackSwitching,this),t.off(o.AUDIO_TRACK_SWITCHED,this.onAudioTrackSwitched,this),t.off(o.BUFFER_CREATED,this.onBufferCreated,this),t.off(o.BUFFER_FLUSHED,this.onBufferFlushed,this),t.off(o.LEVELS_UPDATED,this.onLevelsUpdated,this),t.off(o.FRAG_BUFFERED,this.onFragBuffered,this)}onHandlerDestroying(){this.onMediaPlaying=this.onMediaSeeked=null,this.unregisterListeners(),super.onHandlerDestroying()}startLoad(t,n){if(this.levels){const{lastCurrentTime:s,hls:m}=this;if(this.stopLoad(),this.setInterval(Tf),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,T=m==null?void 0:m[E];this.resetStartWhenNotLoaded(T||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 T=s[E],j=this.getMainFwdBufferInfo();if(j===null)return;const Y=this.getLevelDetails();if(Y&&this._streamEnded(j,Y)){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 H=T.details;if(!H||this.state===Jt.WAITING_LEVEL||this.waitForLive(T)){this.level=E,this.state=Jt.WAITING_LEVEL,this.startFragRequested=!1;return}const te=j.len,oe=this.getMaxBufferLength(T.maxBitrate);if(te>=oe)return;this.backtrackFragment&&this.backtrackFragment.start>j.end&&(this.backtrackFragment=null);const me=this.backtrackFragment?this.backtrackFragment.start:j.end;let we=this.getNextFragment(me,H);if(this.couldBacktrack&&!this.fragPrevious&&we&&De(we)&&this.fragmentTracker.getState(we)!==br.OK){var Se;const Je=((Se=this.backtrackFragment)!=null?Se:we).sn-H.startSN,Lt=H.fragments[Je-1];Lt&&we.cc===Lt.cc&&(we=Lt,this.fragmentTracker.removeFragment(Lt))}else this.backtrackFragment&&j.len&&(this.backtrackFragment=null);if(we&&this.isLoopLoading(we,me)){if(!we.gap){const Je=this.audioOnly&&!this.altAudio?ae.AUDIO:ae.VIDEO,Lt=(Je===ae.VIDEO?this.videoBuffer:this.mediaBuffer)||this.media;Lt&&this.afterBufferFlushed(Lt,Je,u.MAIN)}we=this.getNextFragmentLoopLoading(we,H,j,u.MAIN,oe)}we&&(we.initSegment&&!we.initSegment.data&&!this.bitrateTest&&(we=we.initSegment),this.loadFragment(we,T,me))}loadFragment(t,n,s){const m=this.fragmentTracker.getState(t);m===br.NOT_LOADED||m===br.PARTIAL?De(t)?this.bitrateTest?(this.log(`Fragment ${t.sn} of level ${t.level} is being downloaded to test bitrate and will not be buffered`),this._loadBitrateTestFrag(t,n)):super.loadFragment(t,n,s):this._loadInitSegment(t,n):this.clearTrackerIfNeeded(t)}getBufferedFrag(t){return this.fragmentTracker.getBufferedFrag(t,u.MAIN)}followingBufferedFrag(t){return t?this.getBufferedFrag(t.end+.5):null}immediateLevelSwitch(){this.abortCurrentFrag(),this.flushMainBuffer(0,Number.POSITIVE_INFINITY)}nextLevelSwitch(){const{levels:t,media:n}=this;if(n!=null&&n.readyState){let s;const m=this.getAppendedFrag(n.currentTime);m&&m.start>1&&this.flushMainBuffer(0,m.start-1);const E=this.getLevelDetails();if(E!=null&&E.live){const j=this.getMainFwdBufferInfo();if(!j||j.len<E.targetduration*2)return}if(!n.paused&&t){const j=this.hls.nextLoadLevel,Y=t[j],H=this.fragLastKbps;H&&this.fragCurrent?s=this.fragCurrent.duration*Y.maxBitrate/(1e3*H)+1:s=0}else s=0;const T=this.getBufferedFrag(n.currentTime+s);if(T){const j=this.followingBufferedFrag(T);if(j){this.abortCurrentFrag();const Y=j.maxStartPTS?j.maxStartPTS:j.start,H=j.duration,te=Math.max(T.end,Y+Math.min(Math.max(H-this.config.maxFragLookUpTolerance,H*(this.couldBacktrack?.5:.125)),H*(this.couldBacktrack?.75:.25)));this.flushMainBuffer(te,Number.POSITIVE_INFINITY)}}}}abortCurrentFrag(){const t=this.fragCurrent;switch(this.fragCurrent=null,this.backtrackFragment=null,t&&(t.abortRequests(),this.fragmentTracker.removeFragment(t)),this.state){case 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;Ds(s,"playing",this.onMediaPlaying),Ds(s,"seeked",this.onMediaSeeked)}onMediaDetaching(t,n){const{media:s}=this;s&&(uo(s,"playing",this.onMediaPlaying),uo(s,"seeked",this.onMediaSeeked)),this.videoBuffer=null,this.fragPlaying=null,super.onMediaDetaching(t,n),!n.transferMedia&&(this._hasEnoughToStart=!1)}onManifestLoading(){super.onManifestLoading(),this.log("Trigger BUFFER_RESET"),this.hls.trigger(o.BUFFER_RESET,void 0),this.couldBacktrack=!1,this.fragLastKbps=0,this.fragPlaying=this.backtrackFragment=null,this.altAudio=0,this.audioOnly=!1}onManifestParsed(t,n){let s=!1,m=!1;n.levels.forEach(E=>{const T=E.audioCodec;T&&(s=s||T.indexOf("mp4a.40.2")!==-1,m=m||T.indexOf("mp4a.40.5")!==-1)}),this.audioCodecSwitch=s&&m&&!Zf(),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,T=n.level,j=n.details,Y=j.totalduration;if(!m){this.warn(`Levels were reset while loading level ${T}`);return}this.log(`Level ${T} loaded [${j.startSN},${j.endSN}]${j.lastPartSn?`[part-${j.lastPartSn}-${j.lastPartIndex}]`:""}, cc [${j.startCC}, ${j.endCC}] duration:${Y}`);const H=n.levelInfo,te=this.fragCurrent;te&&(this.state===Jt.FRAG_LOADING||this.state===Jt.FRAG_LOADING_WAITING_RETRY)&&te.level!==n.level&&te.loader&&this.abortCurrentFrag();let oe=0;if(j.live||(s=H.details)!=null&&s.live){var me;if(this.checkLiveUpdate(j),j.deltaUpdateFailed)return;oe=this.alignPlaylists(j,H.details,(me=this.levelLastLoaded)==null?void 0:me.details)}if(H.details=j,this.levelLastLoaded=H,E||this.setStartPosition(j,oe),this.hls.trigger(o.LEVEL_UPDATED,{details:j,level:T}),this.state===Jt.WAITING_LEVEL){if(this.waitForCdnTuneIn(j))return;this.state=Jt.IDLE}E&&j.live&&this.synchronizeToLiveEdge(j),this.tick()}synchronizeToLiveEdge(t){const{config:n,media:s}=this;if(!s)return;const m=this.hls.liveSyncPosition,E=this.getLoadPosition(),T=t.fragmentStart,j=t.edge,Y=E>=T-n.maxFragLookUpTolerance&&E<=j;if(m!==null&&s.duration>m&&(E<m||!Y)){const te=n.liveMaxLatencyDuration!==void 0?n.liveMaxLatencyDuration:n.liveMaxLatencyDurationCount*t.targetduration;if((!Y&&s.readyState<4||E<j-te)&&(this._hasEnoughToStart||(this.nextLoadPosition=m),s.readyState))if(this.warn(`Playback: ${E.toFixed(3)} is located too far from the end of live sliding playlist: ${j}, reset currentTime to : ${m.toFixed(3)}`),this.config.liveSyncMode==="buffered"){var H;const oe=Zn.bufferInfo(s,m,0);if(!(oe!=null&&(H=oe.buffered)!=null&&H.length)){s.currentTime=m;return}if(oe.start<=E){s.currentTime=m;return}const{nextStart:we}=Zn.bufferedInfo(oe.buffered,E,0);we&&(s.currentTime=we)}else s.currentTime=m}}_handleFragmentLoadProgress(t){var n;const s=t.frag,{part:m,payload:E}=t,{levels:T}=this;if(!T){this.warn(`Levels were reset while fragment load was in progress. Fragment ${s.sn} of level ${s.level} will not be buffered`);return}const j=T[s.level];if(!j){this.warn(`Level ${s.level} not found on progress`);return}const Y=j.details;if(!Y){this.warn(`Dropping fragment ${s.sn} of level ${s.level} after level details were reset`),this.fragmentTracker.removeFragment(s);return}const H=j.videoCodec,te=Y.PTSKnown||!Y.live,oe=(n=s.initSegment)==null?void 0:n.data,me=this._getAudioCodec(j),we=this.transmuxer=this.transmuxer||new bo(this.hls,u.MAIN,this._handleTransmuxComplete.bind(this),this._handleTransmuxerFlush.bind(this)),Se=m?m.index:-1,ut=Se!==-1,Je=new Ts(s.level,s.sn,s.stats.chunkCount,E.byteLength,Se,ut),Lt=this.initPTS[s.cc];we.push(E,oe,me,H,s,m,Y.totalduration,te,Je,Lt)}onAudioTrackSwitching(t,n){const s=this.hls,m=this.altAudio===2;if(Kn(n.url,s))this.altAudio=1;else{if(this.mediaBuffer!==this.media){this.log("Switching on main audio, use media.buffered to schedule main fragment loading"),this.mediaBuffer=this.media;const T=this.fragCurrent;T&&(this.log("Switching to main audio track, cancel main fragment load"),T.abortRequests(),this.fragmentTracker.removeFragment(T)),this.resetTransmuxer(),this.resetLoadingState()}else this.audioOnly&&this.resetTransmuxer();if(m){this.fragmentTracker.removeAllFragments(),s.once(o.BUFFER_FLUSHED,()=>{var T;(T=this.hls)==null||T.trigger(o.AUDIO_TRACK_SWITCHED,n)}),s.trigger(o.BUFFER_FLUSHING,{startOffset:0,endOffset:Number.POSITIVE_INFINITY,type:null});return}s.trigger(o.AUDIO_TRACK_SWITCHED,n)}}onAudioTrackSwitched(t,n){const s=Kn(n.url,this.hls);if(s){const m=this.videoBuffer;m&&this.mediaBuffer!==m&&(this.log("Switching on alternate audio, use video.buffered to schedule main fragment loading"),this.mediaBuffer=m)}this.altAudio=s?2:0,this.tick()}onBufferCreated(t,n){const s=n.tracks;let m,E,T=!1;for(const j in s){const Y=s[j];if(Y.id==="main"){if(E=j,m=Y,j==="video"){const H=s[j];H&&(this.videoBuffer=H.buffer)}}else T=!0}T&&m?(this.log(`Alternate track found, use ${E}.buffered to schedule main fragment loading`),this.mediaBuffer=m.buffer):this.mediaBuffer=this.media}onFragBuffered(t,n){const{frag:s,part:m}=n,E=s.type===u.MAIN;if(E){if(this.fragContextChanged(s)){this.warn(`Fragment ${s.sn}${m?" p: "+m.index:""} of level ${s.level} finished buffering, but was aborted. state: ${this.state}`),this.state===Jt.PARSED&&(this.state=Jt.IDLE);return}const j=m?m.stats:s.stats;this.fragLastKbps=Math.round(8*j.total/(j.buffering.end-j.loading.first)),De(s)&&(this.fragPrevious=s),this.fragBufferedComplete(s,m)}const T=this.media;T&&(!this._hasEnoughToStart&&Zn.getBuffered(T).length&&(this._hasEnoughToStart=!0,this.seekToStartPos()),E&&this.tick())}get hasEnoughToStart(){return this._hasEnoughToStart}onError(t,n){var s;if(n.fatal){this.state=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.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!==ae.AUDIO||!this.altAudio){const s=(n===ae.VIDEO?this.videoBuffer:this.mediaBuffer)||this.media;s&&(this.afterBufferFlushed(s,n,u.MAIN),this.tick())}}onLevelsUpdated(t,n){this.level>-1&&this.fragCurrent&&(this.level=this.fragCurrent.level,this.level===-1&&this.resetWhenMissingContext(this.fragCurrent)),this.levels=n.levels}swapAudioCodec(){this.audioCodecSwap=!this.audioCodecSwap}seekToStartPos(){const{media:t}=this;if(!t)return;const n=t.currentTime;let s=this.startPosition;if(s>=0&&n<s){if(t.seeking){this.log(`could not seek to ${s}, already seeking at ${n}`);return}const m=this.timelineOffset;m&&s&&(s+=m);const E=this.getLevelDetails(),T=Zn.getBuffered(t),j=T.length?T.start(0):0,Y=j-s,H=Math.max(this.config.maxBufferHole,this.config.maxFragLookUpTolerance);(this.config.startOnSegmentBoundary||Y>0&&(Y<H||this.loadingParts&&Y<2*((E==null?void 0:E.partTarget)||0)))&&(this.log(`adjusting start position by ${Y} to match buffer start`),s+=Y,this.startPosition=s),n<s&&(this.log(`seek to target start position ${s} from current time ${n} buffer start ${j}`),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 T=E.stats;T.parsing.start=T.parsing.end=T.buffering.start=T.buffering.end=self.performance.now(),m.trigger(o.FRAG_LOADED,s),E.bitrateTest=!1})}_handleTransmuxComplete(t){var n;const s=this.playlistType,{hls:m}=this,{remuxResult:E,chunkMeta:T}=t,j=this.getCurrentContext(T);if(!j){this.resetWhenMissingContext(T);return}const{frag:Y,part:H,level:te}=j,{video:oe,text:me,id3:we,initSegment:Se}=E,{details:ut}=te,Je=this.altAudio?void 0:E.audio;if(this.fragContextChanged(Y)){this.fragmentTracker.removeFragment(Y);return}if(this.state=Jt.PARSING,Se){if(Se!=null&&Se.tracks){const Cr=Y.initSegment||Y;this._bufferInitSegment(te,Se.tracks,Cr,T),m.trigger(o.FRAG_PARSING_INIT_SEGMENT,{frag:Cr,id:s,tracks:Se.tracks})}const Lt=Se.initPTS,rr=Se.timescale,Yt=this.initPTS[Y.cc];r(Lt)&&(!Yt||Yt.baseTime!==Lt||Yt.timescale!==rr)&&(this.initPTS[Y.cc]={baseTime:Lt,timescale:rr},m.trigger(o.INIT_PTS_FOUND,{frag:Y,id:s,initPTS:Lt,timescale:rr}))}if(oe&&ut){Je&&oe.type==="audiovideo"&&this.logMuxedErr(Y);const Lt=ut.fragments[Y.sn-1-ut.startSN],rr=Y.sn===ut.startSN,Yt=!Lt||Y.cc>Lt.cc;if(E.independent!==!1){const{startPTS:Cr,endPTS:Hr,startDTS:cn,endDTS:zr}=oe;if(H)H.elementaryStreams[oe.type]={startPTS:Cr,endPTS:Hr,startDTS:cn,endDTS:zr};else if(oe.firstKeyFrame&&oe.independent&&T.id===1&&!Yt&&(this.couldBacktrack=!0),oe.dropped&&oe.independent){const qr=this.getMainFwdBufferInfo(),an=(qr?qr.end:this.getLoadPosition())+this.config.maxBufferHole,Br=oe.firstKeyFramePTS?oe.firstKeyFramePTS:Cr;if(!rr&&an<Br-this.config.maxBufferHole&&!Yt){this.backtrack(Y);return}else Yt&&(Y.gap=!0);Y.setElementaryStreamInfo(oe.type,Y.start,Hr,Y.start,zr,!0)}else rr&&Cr-(ut.appliedTimelineOffset||0)>To&&(Y.gap=!0);Y.setElementaryStreamInfo(oe.type,Cr,Hr,cn,zr),this.backtrackFragment&&(this.backtrackFragment=Y),this.bufferFragmentData(oe,Y,H,T,rr||Yt)}else if(rr||Yt)Y.gap=!0;else{this.backtrack(Y);return}}if(Je){const{startPTS:Lt,endPTS:rr,startDTS:Yt,endDTS:Cr}=Je;H&&(H.elementaryStreams[ae.AUDIO]={startPTS:Lt,endPTS:rr,startDTS:Yt,endDTS:Cr}),Y.setElementaryStreamInfo(ae.AUDIO,Lt,rr,Yt,Cr),this.bufferFragmentData(Je,Y,H,T)}if(ut&&we!=null&&(n=we.samples)!=null&&n.length){const Lt={id:s,frag:Y,details:ut,samples:we.samples};m.trigger(o.FRAG_PARSING_METADATA,Lt)}if(ut&&me){const Lt={id:s,frag:Y,details:ut,samples:me.samples};m.trigger(o.FRAG_PARSING_USERDATA,Lt)}}logMuxedErr(t){this.warn(`${De(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:T,audiovideo:j}=n;if(E){const H=t.audioCodec;let te=Be(E.codec,H);te==="mp4a"&&(te="mp4a.40.5");const oe=navigator.userAgent.toLowerCase();if(this.audioCodecSwitch){te&&(te.indexOf("mp4a.40.5")!==-1?te="mp4a.40.2":te="mp4a.40.5");const me=E.metadata;me&&"channelCount"in me&&(me.channelCount||1)!==1&&oe.indexOf("firefox")===-1&&(te="mp4a.40.5")}te&&te.indexOf("mp4a.40.5")!==-1&&oe.indexOf("android")!==-1&&E.container!=="audio/mpeg"&&(te="mp4a.40.2",this.log(`Android: force audio codec to ${te}`)),H&&H!==te&&this.log(`Swapping manifest audio codec "${H}" for "${te}"`),E.levelCodec=te,E.id=u.MAIN,this.log(`Init audio buffer, container:${E.container}, codecs[selected/level/parsed]=[${te||""}/${H||""}/${E.codec}]`),delete n.audiovideo}if(T){T.levelCodec=t.videoCodec,T.id=u.MAIN;const H=T.codec;if((H==null?void 0:H.length)===4)switch(H){case"hvc1":case"hev1":T.codec="hvc1.1.6.L120.90";break;case"av01":T.codec="av01.0.04M.08";break;case"avc1":T.codec="avc1.42e01e";break}this.log(`Init video buffer, container:${T.container}, codecs[level/parsed]=[${t.videoCodec||""}/${H}]${T.codec!==H?" parsed-corrected="+T.codec:""}${T.supplemental?" supplemental="+T.supplemental:""}`),delete n.audiovideo}j&&(this.log(`Init audiovideo buffer, container:${j.container}, codecs[level/parsed]=[${t.codecs}/${j.codec}]`),delete n.video,delete n.audio);const Y=Object.keys(n);if(Y.length){if(this.hls.trigger(o.BUFFER_CODECS,n),!this.hls)return;Y.forEach(H=>{const oe=n[H].initSegment;oe!=null&&oe.byteLength&&this.hls.trigger(o.BUFFER_APPENDING,{type:H,data:oe,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(Zn.isBuffered(t,s)?n=this.getAppendedFrag(s):Zn.isBuffered(t,s+.1)&&(n=this.getAppendedFrag(s+.1)),n){this.backtrackFragment=null;const m=this.fragPlaying,E=n.level;(!m||n.sn!==m.sn||m.level!==E)&&(this.fragPlaying=n,this.hls.trigger(o.FRAG_CHANGED,{frag:n}),(!m||m.level!==E)&&this.hls.trigger(o.LEVEL_SWITCHED,{level:E}))}}}get nextLevel(){const t=this.nextBufferedFrag;return t?t.level:-1}get currentFrag(){var t;if(this.fragPlaying)return this.fragPlaying;const n=((t=this.media)==null?void 0:t.currentTime)||this.lastCurrentTime;return r(n)?this.getAppendedFrag(n):null}get currentProgramDateTime(){var t;const n=((t=this.media)==null?void 0:t.currentTime)||this.lastCurrentTime;if(r(n)){const s=this.getLevelDetails(),m=this.currentFrag||(s?vn(null,s.fragments,n):null);if(m){const E=m.programDateTime;if(E!==null){const T=E+(n-m.start)*1e3;return new Date(T)}}}return null}get currentLevel(){const t=this.currentFrag;return t?t.level:-1}get nextBufferedFrag(){const t=this.currentFrag;return t?this.followingBufferedFrag(t):null}get forceStartLoad(){return this._forceStartLoad}}class P{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 ua({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 T=n[m];if(t.cc<=T.cc&&(!De(t)||!De(T)||t.sn<T.sn)||!s&&m==E-1)return this.emeController.selectKeySystemFormat(T).then(j=>{if(!this.emeController)return;T.setKeyFormat(j);const Y=lo(j);if(Y)return this.emeController.getKeySystemAccess([Y])})}if(this.config.requireKeySystemAccessOnStart){const m=wo(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 H=new Error(n?`Expected frag.decryptdata to be defined after setting format ${n}`:"Missing decryption data on fragment in onKeyLoading");return Promise.reject(this.createKeyLoadError(t,f.KEY_LOAD_ERROR,H))}const T=E.uri;if(!T)return Promise.reject(this.createKeyLoadError(t,f.KEY_LOAD_ERROR,new Error(`Invalid key URI: "${T}"`)));let j=this.keyUriToKeyInfo[T];if((s=j)!=null&&s.decryptdata.key)return E.key=j.decryptdata.key,Promise.resolve({frag:t,keyInfo:j});if((m=j)!=null&&m.keyLoadPromise){var Y;switch((Y=j.mediaKeySessionContext)==null?void 0:Y.keyStatus){case void 0:case"status-pending":case"usable":case"usable-in-future":return j.keyLoadPromise.then(H=>(E.key=H.keyInfo.decryptdata.key,{frag:t,keyInfo:j}))}}switch(j=this.keyUriToKeyInfo[T]={decryptdata:E,keyLoadPromise:null,loader:null,mediaKeySessionContext:null},E.method){case"ISO-23001-7":case"SAMPLE-AES":case"SAMPLE-AES-CENC":case"SAMPLE-AES-CTR":return E.keyFormat==="identity"?this.loadKeyHTTP(j,t):this.loadKeyEME(j,t);case"AES-128":case"AES-256":case"AES-256-CTR":return this.loadKeyHTTP(j,t);default:return Promise.reject(this.createKeyLoadError(t,f.KEY_LOAD_ERROR,new Error(`Key supplied with unsupported METHOD: "${E.method}"`)))}}loadKeyEME(t,n){const s={frag:n,keyInfo:t};if(this.emeController&&this.config.emeEnabled){const m=this.emeController.loadKey(s);if(m)return(t.keyLoadPromise=m.then(E=>(t.mediaKeySessionContext=E,s))).catch(E=>{throw t.keyLoadPromise=null,E})}return Promise.resolve(s)}loadKeyHTTP(t,n){const s=this.config,m=s.loader,E=new m(s);return n.keyLoader=t.loader=E,t.keyLoadPromise=new Promise((T,j)=>{const Y={keyInfo:t,frag:n,responseType:"arraybuffer",url:t.decryptdata.uri},H=s.keyLoadPolicy.default,te={loadPolicy:H,timeout:H.maxLoadTimeMs,maxRetry:0,retryDelay:0,maxRetryDelay:0},oe={onSuccess:(me,we,Se,ut)=>{const{frag:Je,keyInfo:Lt,url:rr}=Se;if(!Je.decryptdata||Lt!==this.keyUriToKeyInfo[rr])return j(this.createKeyLoadError(Je,f.KEY_LOAD_ERROR,new Error("after key load, decryptdata unset or changed"),ut));Lt.decryptdata.key=Je.decryptdata.key=new Uint8Array(me.data),Je.keyLoader=null,Lt.loader=null,T({frag:Je,keyInfo:Lt})},onError:(me,we,Se,ut)=>{this.resetLoader(we),j(this.createKeyLoadError(n,f.KEY_LOAD_ERROR,new Error(`HTTP Error ${me.code} loading key ${me.text}`),Se,b({url:Y.url,data:void 0},me)))},onTimeout:(me,we,Se)=>{this.resetLoader(we),j(this.createKeyLoadError(n,f.KEY_LOAD_TIMEOUT,new Error("key loading timed out"),Se))},onAbort:(me,we,Se)=>{this.resetLoader(we),j(this.createKeyLoadError(n,f.INTERNAL_ABORTED,new Error("key loading aborted"),Se))}};E.load(Y,te,oe)})}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 U(w){const{type:t}=w;switch(t){case h.AUDIO_TRACK:return u.AUDIO;case h.SUBTITLE_TRACK:return u.SUBTITLE;default:return u.MAIN}}function ge(w,t){let n=w.url;return(n===void 0||n.indexOf("data:")===0)&&(n=t.url),n}class Le{constructor(t){this.hls=void 0,this.loaders=Object.create(null),this.variableList=null,this.onManifestLoaded=this.checkAutostartLoad,this.hls=t,this.registerListeners()}startLoad(t){}stopLoad(){this.destroyInternalLoaders()}registerListeners(){const{hls:t}=this;t.on(o.MANIFEST_LOADING,this.onManifestLoading,this),t.on(o.LEVEL_LOADING,this.onLevelLoading,this),t.on(o.AUDIO_TRACK_LOADING,this.onAudioTrackLoading,this),t.on(o.SUBTITLE_TRACK_LOADING,this.onSubtitleTrackLoading,this),t.on(o.LEVELS_UPDATED,this.onLevelsUpdated,this)}unregisterListeners(){const{hls:t}=this;t.off(o.MANIFEST_LOADING,this.onManifestLoading,this),t.off(o.LEVEL_LOADING,this.onLevelLoading,this),t.off(o.AUDIO_TRACK_LOADING,this.onAudioTrackLoading,this),t.off(o.SUBTITLE_TRACK_LOADING,this.onSubtitleTrackLoading,this),t.off(o.LEVELS_UPDATED,this.onLevelsUpdated,this)}createInternalLoader(t){const n=this.hls.config,s=n.pLoader,m=n.loader,E=s||m,T=new E(n);return this.loaders[t.type]=T,T}getInternalLoader(t){return this.loaders[t.type]}resetInternalLoader(t){this.loaders[t]&&delete this.loaders[t]}destroyInternalLoaders(){for(const t in this.loaders){const n=this.loaders[t];n&&n.destroy(),this.resetInternalLoader(t)}}destroy(){this.variableList=null,this.unregisterListeners(),this.destroyInternalLoaders()}onManifestLoading(t,n){const{url:s}=n;this.variableList=null,this.load({id:null,level:0,responseType:"text",type:h.MANIFEST,url:s,deliveryDirectives:null,levelOrTrack:null})}onLevelLoading(t,n){const{id:s,level:m,pathwayId:E,url:T,deliveryDirectives:j,levelInfo:Y}=n;this.load({id:s,level:m,pathwayId:E,responseType:"text",type:h.LEVEL,url:T,deliveryDirectives:j,levelOrTrack:Y})}onAudioTrackLoading(t,n){const{id:s,groupId:m,url:E,deliveryDirectives:T,track:j}=n;this.load({id:s,groupId:m,level:null,responseType:"text",type:h.AUDIO_TRACK,url:E,deliveryDirectives:T,levelOrTrack:j})}onSubtitleTrackLoading(t,n){const{id:s,groupId:m,url:E,deliveryDirectives:T,track:j}=n;this.load({id:s,groupId:m,level:null,responseType:"text",type:h.SUBTITLE_TRACK,url:E,deliveryDirectives:T,levelOrTrack:j})}onLevelsUpdated(t,n){const s=this.loaders[h.LEVEL];if(s){const m=s.context;m&&!n.levels.some(E=>E===m.levelOrTrack)&&(s.abort(),delete this.loaders[h.LEVEL])}}load(t){var n;const s=this.hls.config;let m=this.getInternalLoader(t);if(m){const H=this.hls.logger,te=m.context;if(te&&te.levelOrTrack===t.levelOrTrack&&(te.url===t.url||te.deliveryDirectives&&!t.deliveryDirectives)){te.url===t.url?H.log(`[playlist-loader]: ignore ${t.url} ongoing request`):H.log(`[playlist-loader]: ignore ${t.url} in favor of ${te.url}`);return}H.log(`[playlist-loader]: aborting previous loader for type: ${t.type}`),m.abort()}let E;if(t.type===h.MANIFEST?E=s.manifestLoadPolicy.default:E=y({},s.playlistLoadPolicy.default,{timeoutRetry:null,errorRetry:null}),m=this.createInternalLoader(t),r((n=t.deliveryDirectives)==null?void 0:n.part)){let H;if(t.type===h.LEVEL&&t.level!==null?H=this.hls.levels[t.level].details:t.type===h.AUDIO_TRACK&&t.id!==null?H=this.hls.audioTracks[t.id].details:t.type===h.SUBTITLE_TRACK&&t.id!==null&&(H=this.hls.subtitleTracks[t.id].details),H){const te=H.partTarget,oe=H.targetduration;if(te&&oe){const me=Math.max(te*3,oe*.8)*1e3;E=y({},E,{maxTimeToFirstByteMs:Math.min(me,E.maxTimeToFirstByteMs),maxLoadTimeMs:Math.min(me,E.maxTimeToFirstByteMs)})}}}const T=E.errorRetry||E.timeoutRetry||{},j={loadPolicy:E,timeout:E.maxLoadTimeMs,maxRetry:T.maxNumRetry||0,retryDelay:T.retryDelayMs||0,maxRetryDelay:T.maxRetryDelayMs||0},Y={onSuccess:(H,te,oe,me)=>{const we=this.getInternalLoader(oe);this.resetInternalLoader(oe.type);const Se=H.data;if(Se.indexOf("#EXTM3U")!==0){this.handleManifestParsingError(H,oe,new Error("no EXTM3U delimiter"),me||null,te);return}te.parsing.start=performance.now(),mo.isMediaPlaylist(Se)||oe.type!==h.MANIFEST?this.handleTrackOrLevelPlaylist(H,te,oe,me||null,we):this.handleMasterPlaylist(H,te,oe,me)},onError:(H,te,oe,me)=>{this.handleNetworkError(te,oe,!1,H,me)},onTimeout:(H,te,oe)=>{this.handleNetworkError(te,oe,!0,void 0,H)}};m.load(t,j,Y)}checkAutostartLoad(){if(!this.hls)return;const{config:{autoStartLoad:t,startPosition:n},forceStartLoad:s}=this.hls;(t||s)&&(this.hls.logger.log(`${t?"auto":"force"} startLoad with configured startPosition ${n}`),this.hls.startLoad(n))}handleMasterPlaylist(t,n,s,m){const E=this.hls,T=t.data,j=ge(t,s),Y=mo.parseMasterPlaylist(T,j);if(Y.playlistParsingError){this.handleManifestParsingError(t,s,Y.playlistParsingError,m,n);return}const{contentSteering:H,levels:te,sessionData:oe,sessionKeys:me,startTimeOffset:we,variableList:Se}=Y;this.variableList=Se;const{AUDIO:ut=[],SUBTITLES:Je,"CLOSED-CAPTIONS":Lt}=mo.parseMasterPlaylistMedia(T,j,Y);ut.length&&!ut.some(Yt=>!Yt.url)&&te[0].audioCodec&&!te[0].attrs.AUDIO&&(this.hls.logger.log("[playlist-loader]: audio codec signaled in quality level, but no embedded audio track signaled, create one"),ut.unshift({type:"main",name:"main",groupId:"main",default:!1,autoselect:!1,forced:!1,id:-1,attrs:new ta({}),bitrate:0,url:""})),E.trigger(o.MANIFEST_LOADED,{levels:te,audioTracks:ut,subtitles:Je,captions:Lt,contentSteering:H,url:j,stats:n,networkDetails:m,sessionData:oe,sessionKeys:me,startTimeOffset:we,variableList:Se})}handleTrackOrLevelPlaylist(t,n,s,m,E){const T=this.hls,{id:j,level:Y,type:H}=s,te=ge(t,s),oe=r(Y)?Y:r(j)?j:0,me=U(s),we=mo.parseLevelPlaylist(t.data,te,oe,me,0,this.variableList);if(H===h.MANIFEST){const Se={attrs:new ta({}),bitrate:0,details:we,name:"",url:te};we.requestScheduled=n.loading.start+Ln(we,0),T.trigger(o.MANIFEST_LOADED,{levels:[Se],audioTracks:[],url:te,stats:n,networkDetails:m,sessionData:null,sessionKeys:null,contentSteering:null,startTimeOffset:null,variableList:null})}n.parsing.end=performance.now(),s.levelDetails=we,this.handlePlaylistLoaded(we,t,n,s,m,E)}handleManifestParsingError(t,n,s,m,E){this.hls.trigger(o.ERROR,{type:c.NETWORK_ERROR,details:f.MANIFEST_PARSING_ERROR,fatal:n.type===h.MANIFEST,url:t.url,err:s,error:s,reason:s.message,response:t,context:n,networkDetails:m,stats:E})}handleNetworkError(t,n,s=!1,m,E){let T=`A network ${s?"timeout":"error"+(m?" (status "+m.code+")":"")} occurred while loading ${t.type}`;t.type===h.LEVEL?T+=`: ${t.level} id: ${t.id}`:(t.type===h.AUDIO_TRACK||t.type===h.SUBTITLE_TRACK)&&(T+=` id: ${t.id} group-id: "${t.groupId}"`);const j=new Error(T);this.hls.logger.warn(`[playlist-loader]: ${T}`);let Y=f.UNKNOWN,H=!1;const te=this.getInternalLoader(t);switch(t.type){case h.MANIFEST:Y=s?f.MANIFEST_LOAD_TIMEOUT:f.MANIFEST_LOAD_ERROR,H=!0;break;case h.LEVEL:Y=s?f.LEVEL_LOAD_TIMEOUT:f.LEVEL_LOAD_ERROR,H=!1;break;case h.AUDIO_TRACK:Y=s?f.AUDIO_TRACK_LOAD_TIMEOUT:f.AUDIO_TRACK_LOAD_ERROR,H=!1;break;case h.SUBTITLE_TRACK:Y=s?f.SUBTITLE_TRACK_LOAD_TIMEOUT:f.SUBTITLE_LOAD_ERROR,H=!1;break}te&&this.resetInternalLoader(t.type);const oe={type:c.NETWORK_ERROR,details:Y,fatal:H,url:t.url,loader:te,context:t,error:j,networkDetails:n,stats:E};if(m){const me=(n==null?void 0:n.url)||t.url;oe.response=b({url:me,data:void 0},m)}this.hls.trigger(o.ERROR,oe)}handlePlaylistLoaded(t,n,s,m,E,T){const j=this.hls,{type:Y,level:H,id:te,groupId:oe,deliveryDirectives:me}=m,we=ge(n,m),Se=U(m),ut=typeof m.level=="number"&&Se===u.MAIN?H:void 0;if(!t.fragments.length){const Lt=t.playlistParsingError=new Error("No Segments found in Playlist");j.trigger(o.ERROR,{type:c.NETWORK_ERROR,details:f.LEVEL_EMPTY_ERROR,fatal:!1,url:we,error:Lt,reason:Lt.message,response:n,context:m,level:ut,parent:Se,networkDetails:E,stats:s});return}t.targetduration||(t.playlistParsingError=new Error("Missing Target Duration"));const Je=t.playlistParsingError;if(Je){if(this.hls.logger.warn(Je),!j.config.ignorePlaylistParsingErrors){j.trigger(o.ERROR,{type:c.NETWORK_ERROR,details:f.LEVEL_PARSING_ERROR,fatal:!1,url:we,error:Je,reason:Je.message,response:n,context:m,level:ut,parent:Se,networkDetails:E,stats:s});return}t.playlistParsingError=null}switch(t.live&&T&&(T.getCacheAge&&(t.ageHeader=T.getCacheAge()||0),(!T.getCacheAge||isNaN(t.ageHeader))&&(t.ageHeader=0)),Y){case h.MANIFEST:case h.LEVEL:j.trigger(o.LEVEL_LOADED,{details:t,levelInfo:m.levelOrTrack||j.levels[0],level:ut||0,id:te||0,stats:s,networkDetails:E,deliveryDirectives:me,withoutMultiVariant:Y===h.MANIFEST});break;case h.AUDIO_TRACK:j.trigger(o.AUDIO_TRACK_LOADED,{details:t,track:m.levelOrTrack,id:te||0,groupId:oe||"",stats:s,networkDetails:E,deliveryDirectives:me});break;case h.SUBTITLE_TRACK:j.trigger(o.SUBTITLE_TRACK_LOADED,{details:t,track:m.levelOrTrack,id:te||0,groupId:oe||"",stats:s,networkDetails:E,deliveryDirectives:me});break}}}class it{static get version(){return Ea}static isMSESupported(){return Bf()}static isSupported(){return mf()}static getMediaSource(){return se()}static get Events(){return o}static get MetadataSchema(){return Xa}static get ErrorTypes(){return c}static get ErrorDetails(){return f}static get DefaultConfig(){return it.defaultConfig?it.defaultConfig:Go}static set DefaultConfig(t){it.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 ds,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=ff(it.DefaultConfig,t,n);this.userConfig=t,s.progressive&&yc(s,n);const{abrController:m,bufferController:E,capLevelController:T,errorController:j,fpsController:Y}=s,H=new j(this),te=this.abrController=new m(this),oe=new Dr(this),me=s.interstitialsController,we=me?this.interstitialsController=new me(this,it):null,Se=this.bufferController=new E(this,oe),ut=this.capLevelController=new T(this),Je=new Y(this),Lt=new Le(this),rr=s.contentSteeringController,Yt=rr?new rr(this):null,Cr=this.levelController=new zf(this,Yt),Hr=new kf(this),cn=new P(this.config),zr=this.streamController=new g(this,oe,cn),qr=this.gapController=new Fc(this,oe);ut.setStreamController(zr),Je.setStreamController(zr);const an=[Lt,Cr,zr];we&&an.splice(1,0,we),Yt&&an.splice(1,0,Yt),this.networkControllers=an;const Br=[te,Se,qr,ut,Je,Hr,oe];this.audioTrackController=this.createController(s.audioTrackController,an);const Fn=s.audioStreamController;Fn&&an.push(this.audioStreamController=new Fn(this,oe,cn)),this.subtitleTrackController=this.createController(s.subtitleTrackController,an);const oi=s.subtitleStreamController;oi&&an.push(this.subtititleStreamController=new oi(this,oe,cn)),this.createController(s.timelineController,Br),cn.emeController=this.emeController=this.createController(s.emeController,Br),this.cmcdController=this.createController(s.cmcdController,Br),this.latencyController=this.createController(pf,Br),this.coreComponents=Br,an.push(H);const sa=H.onErrorOut;typeof sa=="function"&&this.on(o.ERROR,sa,H),this.on(o.MANIFEST_LOADED,Lt.onManifestLoaded,Lt)}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=z.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=Vc()),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){Sr(t)&&this._maxHdcpLevel!==t&&(this._maxHdcpLevel=t,this.levelController.checkMaxAutoUpdated())}get autoLevelEnabled(){return this.levelController.manualLevel===-1}get manualLevel(){return this.levelController.manualLevel}get minAutoLevel(){const{levels:t,config:{minAutoBitrate:n}}=this;if(!t)return 0;const s=t.length;for(let m=0;m<s;m++)if(t[m].maxBitrate>=n)return m;return 0}get maxAutoLevel(){const{levels:t,autoLevelCapping:n,maxHdcpLevel:s}=this;let m;if(n===-1&&t!=null&&t.length?m=t.length-1:m=n,s)for(let E=m;E--;){const T=t[E].attrs["HDCP-LEVEL"];if(T&&T<=s)return E}return m}get firstAutoLevel(){return this.abrController.firstAutoLevel}get nextAutoLevel(){return this.abrController.nextAutoLevel}set nextAutoLevel(t){this.abrController.nextAutoLevel=t}get playingDate(){return this.streamController.currentProgramDateTime}get mainForwardBufferInfo(){return this.streamController.getMainFwdBufferInfo()}get maxBufferLength(){return this.streamController.maxBufferLength}setAudioOption(t){var n;return((n=this.audioTrackController)==null?void 0:n.setAudioOption(t))||null}setSubtitleOption(t){var n;return((n=this.subtitleTrackController)==null?void 0:n.setSubtitleOption(t))||null}get allAudioTracks(){const t=this.audioTrackController;return t?t.allAudioTracks:[]}get audioTracks(){const t=this.audioTrackController;return t?t.audioTracks:[]}get audioTrack(){const t=this.audioTrackController;return t?t.audioTrack:-1}set audioTrack(t){const n=this.audioTrackController;n&&(n.audioTrack=t)}get allSubtitleTracks(){const t=this.subtitleTrackController;return t?t.allSubtitleTracks:[]}get subtitleTracks(){const t=this.subtitleTrackController;return t?t.subtitleTracks:[]}get subtitleTrack(){const t=this.subtitleTrackController;return t?t.subtitleTrack:-1}get media(){return this._media}set subtitleTrack(t){const n=this.subtitleTrackController;n&&(n.subtitleTrack=t)}get subtitleDisplay(){const t=this.subtitleTrackController;return t?t.subtitleDisplay:!1}set subtitleDisplay(t){const n=this.subtitleTrackController;n&&(n.subtitleDisplay=t)}get lowLatencyMode(){return this.config.lowLatencyMode}set lowLatencyMode(t){this.config.lowLatencyMode=t}get liveSyncPosition(){return this.latencyController.liveSyncPosition}get latency(){return this.latencyController.latency}get maxLatency(){return this.latencyController.maxLatency}get targetLatency(){return this.latencyController.targetLatency}set targetLatency(t){this.latencyController.targetLatency=t}get drift(){return this.latencyController.drift}get forceStartLoad(){return this.streamController.forceStartLoad}get pathways(){return this.levelController.pathways}get pathwayPriority(){return this.levelController.pathwayPriority}set pathwayPriority(t){this.levelController.pathwayPriority=t}get bufferedToEnd(){var t;return!!((t=this.bufferController)!=null&&t.bufferedToEnd)}get interstitialsManager(){var t;return((t=this.interstitialsController)==null?void 0:t.interstitialsManager)||null}getMediaDecodingInfo(t,n=this.allAudioTracks){const s=ci(n);return nn(t,s,navigator.mediaCapabilities)}}it.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,A=0;function k(){_&&clearTimeout(_)}function R(D){var M=D||{},B=M.upcomingOnly,N=B===void 0?!1:B;k(),b=!N}function C(){for(var D=arguments.length,M=new Array(D),B=0;B<D;B++)M[B]=arguments[B];var N=this,K=Date.now()-A;if(b)return;function G(){A=Date.now(),c.apply(N,M)}function W(){_=void 0}!x&&y&&!_&&G(),k(),y===void 0&&K>l?x?(A=Date.now(),u||(_=setTimeout(y?W:G,l))):G():u!==!0&&(_=setTimeout(y?W:G,y===void 0?l-K:l))}return C.cancel=R,C}function i(l,c,f){var o=f||{},h=o.atBegin,u=h===void 0?!1:h;return r(l,c,{debounceMode:u!==!1})}}},__webpack_module_cache__={};function __webpack_require__(d){var v=__webpack_module_cache__[d];if(v!==void 0)return v.exports;var e=__webpack_module_cache__[d]={id:d,loaded:!1,exports:{}};return __webpack_modules__[d].call(e.exports,e,e.exports,__webpack_require__),e.loaded=!0,e.exports}__webpack_require__.m=__webpack_modules__,function(){__webpack_require__.amdO={}}(),function(){__webpack_require__.n=function(d){var v=d&&d.__esModule?function(){return d.default}:function(){return d};return __webpack_require__.d(v,{a:v}),v}}(),function(){var d=Object.getPrototypeOf?function(e){return Object.getPrototypeOf(e)}:function(e){return e.__proto__},v;__webpack_require__.t=function(e,r){if(r&1&&(e=this(e)),r&8||typeof e=="object"&&e&&(r&4&&e.__esModule||r&16&&typeof e.then=="function"))return e;var i=Object.create(null);__webpack_require__.r(i);var l={};v=v||[null,d({}),d([]),d(d)];for(var c=r&2&&e;typeof c=="object"&&!~v.indexOf(c);c=d(c))Object.getOwnPropertyNames(c).forEach(function(f){l[f]=function(){return e[f]}});return l.default=function(){return e},__webpack_require__.d(i,l),i}}(),function(){__webpack_require__.d=function(d,v){for(var e in v)__webpack_require__.o(v,e)&&!__webpack_require__.o(d,e)&&Object.defineProperty(d,e,{enumerable:!0,get:v[e]})}}(),function(){__webpack_require__.f={},__webpack_require__.e=function(d){return Promise.all(Object.keys(__webpack_require__.f).reduce(function(v,e){return __webpack_require__.f[e](d,v),v},[]))}}(),function(){__webpack_require__.u=function(d){return""+({26:"p__Classrooms__Lists__Graduation__Tasks__Edit__index",67:"p__Message__index",109:"p__Classrooms__Lists__ShixunHomeworks__Detail__components__CodeReview__Detail__index",195:"p__Classrooms__Lists__GroupHomework__Detail__index",264:"p__User__Detail__Order__pages__orderPay__index",265:"p__User__Detail__Topics__index",292:"p__Classrooms__Lists__Exercise__Add__index",310:"p__User__Detail__ExperImentImg__Detail__index",337:"p__Paperlibrary__Random__PreviewEdit__index",342:"p__Classrooms__Lists__ShixunHomeworks__Comment__index",479:"p__Classrooms__Lists__GroupHomework__EditWork__index",485:"p__Question__AddOrEdit__BatchAdd__index",508:"p__Forums__Detail__id",532:"p__ExcellentCourse__index",533:"p__Classrooms__Lists__Video__Statistics__Detail__index",547:"p__Account__index",556:"p__User__Detail__Order__pages__invoice__index",559:"layouts__virtualDetail__index",570:"p__Home__Detail__OnlineNum__index",576:"p__Account__Profile__Edit__index",643:"p__Classrooms__Lists__Polls__QuestionnaireInfo__index",672:"p__Home__Detail__ShixunContext__Detail__index",680:"p__Innovation__index",700:"p__tasks__Jupyter__index",737:"p__Classrooms__Lists__CommonHomework__Detail__components__CodeReview__Detail__index",799:"p__User__Detail__Topics__Poll__Detail__index",869:"p__Guidance__index",895:"p__Classrooms__Lists__Video__Items__videoInfo__index",921:"p__Classrooms__Lists__Exercise__CodeDetails__index",928:"p__RestFul__Edit__index",1006:"p__RestFul__index",1043:"p__Classrooms__Lists__Graduation__Tasks__index",1045:"p__virtualSpaces__Lists__Knowledge__AddAndEdit__index",1048:"p__Classrooms__Lists__ProgramHomework__Detail__Ranking__index",1070:"p__Innovation__PublicMirror__index",1148:"p__Shixuns__Detail__Repository__UploadFile__index",1211:"p__Classrooms__Lists__CommonHomework__EditWork__index",1253:"p__Graduations__Lists__Gradingsummary__index",1257:"p__Classrooms__Lists__ResourceRecommend__index",1265:"p__Classrooms__Lists__Announcement__index",1276:"p__MoopCases__Success__index",1343:"p__User__Detail__ResourceAllocation__index",1416:"p__User__Detail__AccountInfo__CareerCertification__index",1423:"p__Shixuns__Edit__body__Level__Challenges__EditPracticeAnswer__index",1427:"p__Classrooms__Lists__Statistics__index",1450:"p__Classrooms__Lists__ShixunHomeworks__Commitsummary__index",1461:"p__Graduations__Lists__Topics__index",1470:"p__User__Register__index",1475:"p__Shixuns__Detail__Dataset__JupyterData__index",1482:"p__Classrooms__Lists__Graduation__Topics__Edit__index",1512:"p__Classrooms__Lists__Exercise__AnswerCheck__index",1520:"p__Engineering__Lists__StudentList__index",1545:"p__Paperlibrary__Random__ExchangeFromProblemSet__index",1578:"p__Classrooms__Lists__Graduation__Topics__Detail__index",1581:"p__Problemset__Preview__index",1582:"p__Classrooms__Lists__GroupHomework__Add__index",1657:"p__Shixuns__Edit__body__Level__Challenges__EditQuestion__index",1660:"p__User__QQLogin__index",1674:"p__Classrooms__ClassicCases__index",1702:"p__Classrooms__New__index",1713:"p__virtualSpaces__Lists__Settings__index",1717:"layouts__index",1727:"p__Classrooms__Lists__CourseGroup__NotList__index",1783:"p__virtualSpaces__Lists__Experiment__index",1799:"p__Competitions__Entered__Assembly__TeamDateil",1831:"p__Graduations__Index__index",1836:"p__Classrooms__Lists__Attendance__Webview__Teacher__index",1855:"p__MoopCases__InfoPanel__index",1880:"p__User__Detail__Order__pages__apply__index",1939:"p__User__Detail__Order__index",1953:"p__Problemset__NewItem__index",1962:"p__Classrooms__Lists__Engineering__index",2045:"p__Engineering__Lists__TeacherList__index",2076:"p__User__Detail__Competitions__index",2102:"p__Classrooms__Lists__Board__Edit__index",2141:"p__Shixuns__Detail__Split__index",2216:"p__DataSet__Index__index",2240:"p__User__Detail__Videos__Upload__index",2254:"p__Shixuns__Detail__Discuss__index",2300:"p__Api__index",2303:"p__Classrooms__Lists__CommonHomework__Comment__index",2307:"p__Report__index",2338:"p__Classrooms__Lists__CommonHomework__Review__index",2339:"p__virtualSpaces__Lists__Plan__Detail__index",2396:"p__User__Detail__ResourcesCenter__index",2404:"p__Classrooms__Lists__Template__teacher__index",2412:"p__User__Detail__Videos__index",2425:"p__Classrooms__Lists__Board__Detail__index",2443:"p__Graduations__Lists__StageModule__index",2476:"p__Colleges__index",2501:"p__Search__index",2529:"p__User__Detail__id",2539:"p__Graduations__Review__index",2548:"p__Engineering__Norm__Detail__index",2570:"p__Competitions__Detail__index",2603:"p__Classrooms__Lists__ProgramHomework__Detail__answer__Add__index",2659:"p__User__Detail__UserPortrait__index",2707:"p__Innovation__MyDataSet__index",2806:"p__User__Detail__Topics__Exercise__Detail__index",2819:"p__Classrooms__Lists__Template__detail__index",2823:"p__Engineering__Navigation__Home__index",2826:"p__User__Detail__DataSet__index",2829:"p__Messages__Private__index",2865:"p__Innovation__MyMirror__index",2875:"p__Shixuns__Detail__id",2884:"p__Classrooms__Lists__ProgramHomework__Comment__index",2983:"p__Forums__Index__index",3006:"p__Engineering__index",3141:"p__Innovation__Detail__index",3157:"p__User__Detail__ExperImentImg__Add__index",3183:"p__Engineering__Lists__GraduationIndex__index",3212:"p__MoopCases__index",3220:"p__Classrooms__Lists__Video__Upload__index",3247:"p__Paperlibrary__See__index",3260:"p__Paperlibrary__Add__index",3276:"p__Classrooms__Lists__Statistics__UserportraitStatistics__index",3282:"layouts__ShixunDetail__index",3317:"p__Classrooms__Lists__Graduation__Topics__Add__index",3332:"p__Paths__Detail__id",3355:"p__Classrooms__Lists__Polls__index",3356:"p__Classrooms__Lists__Assistant__index",3391:"p__Classrooms__Lists__ProgramHomework__Detail__components__CodeReview__Detail__index",3433:"p__Classrooms__Lists__Exercise__Sumup__Edit__index",3442:"p__Classrooms__Lists__Board__Add__index",3447:"p__User__Detail__Order__pages__orderInformation__index",3451:"p__Classrooms__Lists__Statistics__StudentStatistics__Detail__index",3496:"p__User__Detail__OtherResources__index",3509:"p__HttpStatus__SixActivities",3581:"p__Classrooms__Lists__ShixunHomeworks__Detail__index",3585:"p__Classrooms__Lists__Statistics__StudentSituation__index",3665:"p__tasks__index",3668:"p__Classrooms__Lists__CommonHomework__Detail__index",3747:"p__virtualSpaces__Lists__Homepage__index",3784:"p__Paperlibrary__Random__Detail__index",3862:"p__HttpStatus__403",3873:"p__virtualSpaces__Lists__Lesson__index",3910:"p__HttpStatus__introduction",3935:"p__Classrooms__Lists__GroupHomework__index",3951:"p__Classrooms__Lists__ProgramHomework__Detail__index",4017:"p__Classrooms__Lists__PlaceholderPage__index",4030:"p__Classrooms__Lists__ProgramHomework__AddAndEdit__index",4056:"p__IntrainCourse__index",4058:"p__Demo__index",4078:"p__Messages__Tidings__index",4093:"p__Classrooms__Lists__Attendance__Detail__index",4105:"p__Classrooms__Lists__Exercise__Answer__index",4144:"p__Problemset__Preview__New__index",4164:"p__Classrooms__Lists__Exercise__Detail__index",4216:"p__Classrooms__Lists__ProgramHomework__Detail__answer__Edit__index",4217:"p__Classrooms__Lists__Video__Statistics__index",4227:"p__Paths__Overview__index",4259:"p__User__Detail__Order__pages__result__index",4264:"p__Forums__New__index",4449:"p__Competitions__Exports__index",4492:"p__Graduations__Lists__StudentSelection__index",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:"ad938d71",33:"285d505b",67:"e865d990",109:"924d7f46",169:"58e6fd9a",195:"bd1acec0",264:"45c7f3c9",265:"f040ccbd",292:"c5338166",310:"e6b3d3f8",316:"1f60ada6",337:"9817c57c",342:"d8fdc379",354:"d4d139cf",391:"01c87958",400:"8101d000",479:"2ffb6250",485:"068e0723",508:"645b4512",532:"5f9f8896",533:"fefb3e25",547:"db28ee96",556:"44dad5b3",559:"718c64b8",570:"560afca4",576:"654808f0",599:"ed444d24",629:"44a1d9a5",643:"c8433635",671:"4a609b8d",672:"cd707f99",680:"2d675250",700:"f3ff5af8",737:"ad60fd74",741:"ac5fd360",799:"cd4972bb",869:"69d85131",895:"bec9cc3b",921:"ce5a6d0d",928:"3beb70a2",981:"24da50c7",1006:"f780b170",1043:"046d3c82",1045:"15733d94",1048:"709cdfc2",1070:"da0db748",1134:"c212472f",1144:"c90eccaf",1148:"d2ed3fe7",1154:"8cb80842",1211:"aafaf5b8",1253:"ae4b4a00",1257:"a45a12f2",1265:"c52284da",1274:"5f6ea65a",1276:"5a16a6b9",1343:"055822e7",1416:"1fc22584",1423:"1abf9902",1427:"6898e563",1433:"f3920edc",1450:"c7c58e3b",1461:"65b68b07",1462:"fcf08abc",1470:"0a231e88",1475:"cb052a73",1482:"15e6fd08",1512:"30781524",1520:"6bcbe891",1545:"c9fb6de0",1578:"6f6909d4",1581:"27abe1de",1582:"394cb56c",1646:"e6e27b60",1657:"82e1375a",1660:"7d56a2e2",1674:"e1c98df1",1702:"3649b28d",1713:"d23dfb2c",1717:"9bfe0d09",1727:"dbe51261",1783:"85cabd8c",1799:"9a9b1076",1831:"8146b9da",1836:"2e42f320",1855:"a387e74d",1880:"96a03e43",1939:"b96fed89",1953:"e246a13c",1962:"37792ed8",2011:"59d51f98",2045:"7ac84951",2076:"06f89bcc",2102:"26eb6ba5",2141:"36c3c2d2",2216:"3757f588",2240:"f3bd8bbb",2249:"f4830452",2254:"5cebf233",2300:"f7b34b30",2303:"28df682f",2307:"34380248",2338:"de9d7624",2339:"a869b4ee",2364:"f89faf70",2386:"192e235c",2396:"3e4a0979",2404:"8bd1b437",2412:"6ee6f8b7",2425:"33c9399c",2443:"a9c06066",2476:"3e6c7e4e",2494:"68080a87",2501:"fcb0bc1f",2529:"249b73cb",2538:"de4a3723",2539:"de2869e3",2548:"aa53f43d",2570:"f4a44834",2594:"e87d3761",2603:"85e48726",2659:"eb719cac",2707:"723cda76",2806:"51bded21",2819:"0fbea5d3",2823:"3cc247de",2826:"d3bab665",2829:"fd1401f6",2837:"54a82605",2865:"51a1270c",2875:"d6c2be18",2884:"ae39654d",2969:"ab3357d7",2983:"975a2db9",3006:"42e7b3d8",3133:"9bf3f89c",3141:"1fc5faf9",3157:"2904d96b",3183:"61dcad61",3198:"8e655451",3212:"6260cd55",3220:"3ddf8ba2",3247:"0ba4993c",3260:"a795770b",3276:"ef9ae649",3282:"2a793456",3317:"4e335d81",3332:"d045c0ba",3355:"cd9c2405",3356:"590829e4",3391:"07620c5c",3433:"976280bb",3442:"bf2f6d25",3447:"23e9c2b0",3451:"f6547a4d",3496:"9254f3ce",3509:"c9e1d301",3550:"3dc83156",3581:"a6322e38",3585:"1eb2d694",3665:"418d20c0",3668:"e20bf085",3697:"481a10d9",3747:"12d13832",3754:"6fecd7ea",3777:"d5b0f2f1",3784:"e8b68872",3805:"9dbcb95e",3862:"43117f72",3873:"41793370",3885:"f87f7f15",3910:"a3b97753",3935:"74d0c027",3951:"4654c7a3",3987:"5cecd51b",4014:"27a8e97c",4017:"55e12afd",4030:"76e6c94a",4056:"b4bf6d05",4058:"82246f46",4078:"d8792aa1",4088:"236723f3",4093:"752b2bb3",4105:"7c5585a5",4142:"644a6f83",4144:"6c481ee3",4164:"4c56a74f",4216:"1920b017",4217:"0d94453e",4227:"a4e7f34d",4259:"3512e445",4264:"9661341f",4347:"ce21ef2e",4354:"140899b7",4360:"cf5efa52",4449:"64fddfc3",4492:"40e3ac56",4495:"8ccc2f6f",4496:"34af7799",4498:"e2f4b87a",4504:"e3c016da",4514:"37fb9cb3",4520:"fdf68850",4546:"fb88c733",4565:"ae294bdd",4572:"10e7095e",4599:"61def4cb",4601:"cbf5ce86",4610:"26af587b",4621:"4c8af890",4628:"ece2c60c",4662:"8e6a41e0",4685:"c33f1528",4715:"5f4a3061",4736:"7e24aa42",4741:"6f1fa4e8",4757:"09640328",4766:"8e4c898e",4770:"bb41d548",4790:"619413e4",4795:"01a11873",4797:"a24e92db",4800:"002fc1e4",4849:"505eb1b0",4850:"1edda4b7",4862:"e2317425",4884:"5f60c065",4889:"2eb41eae",4928:"748e190b",4973:"6ae0105e",4994:"b29c2a2b",5022:"bebc9a44",5043:"2962e042",5048:"a72484ef",5060:"85dafcc6",5096:"7b40a148",5111:"3eb748b8",5125:"23ce1bc5",5148:"b62780ff",5176:"ab21bb03",5179:"4546216f",5186:"6590a173",5191:"919b3ee4",5238:"ee7df2db",5265:"05a22136",5290:"5dabcdc2",5297:"65ee262a",5319:"60523ac1",5321:"1163c84e",5335:"b4007e8b",5354:"7ae70604",5357:"f68b668d",5359:"15b73e30",5382:"7f0d74ef",5402:"9dddbe0e",5416:"454536b7",5434:"38b302a6",5470:"ba5fda93",5494:"d89549c4",5518:"d184e3f9",5549:"891d4b3b",5572:"fd3c7e53",5573:"8b1ab9ba",5599:"11129a04",5624:"abb6b4a7",5631:"e00d3d36",5650:"489aec64",5679:"4a090bef",5705:"956a5d8e",5729:"146e5f6d",5764:"e0d7e586",5775:"7f4cd88a",5786:"a972d493",5798:"70aba542",5816:"4d57f59d",5825:"f6c5dae5",5876:"5eded409",5888:"4402ef26",5891:"07cb27d0",5895:"7370305c",5902:"3da7b925",5915:"478d0bdb",5972:"8f7e14fc",5992:"ea16925f",6029:"fbd8ed65",6034:"10c30eb9",6045:"d268f87f",6047:"3ce45acd",6052:"caa98ed9",6063:"1db45b5e",6069:"b4e1e133",6126:"99519171",6127:"c7d01807",6170:"c4b92aae",6265:"e91d0d20",6270:"8926591a",6277:"c776eceb",6328:"a3462b5d",6366:"726fd5fa",6378:"7f3a946a",6411:"12ef4384",6434:"bf1e6bf5",6444:"765017d1",6452:"d18ad5ab",6531:"5b8bb018",6541:"f5c00dbd",6583:"f72468fb",6587:"48d424f2",6634:"479a9e43",6651:"c2dabd4d",6656:"2fabaf00",6685:"091e60b4",6729:"3a8b6118",6741:"fefccb4c",6758:"25946e5a",6774:"59d4d618",6784:"c398dbc1",6788:"a4a84ebf",6796:"fd91f44b",6805:"e891e856",6820:"9cc5c9dc",6845:"3ad94e9e",6882:"560fe4cc",6883:"6cb80143",6904:"971f0af9",6913:"afbf3f5e",6963:"f68a1507",6982:"2b5dac0b",7008:"a5de8132",7043:"3d7898ce",7045:"af4bbd65",7046:"ee7a6bf0",7058:"25df014b",7062:"45fe6a1a",7084:"46ccce72",7156:"e7466006",7178:"80066754",7182:"09e4c243",7242:"fd83f7fd",7260:"32aef0a1",7331:"2e27a23b",7333:"4745ce6c",7365:"1005464f",7395:"81b2d7a4",7460:"948ed516",7477:"53307869",7482:"fd06a9ed",7527:"955042c7",7545:"bdbff210",7560:"0702c803",7589:"6e6c8ca0",7591:"c8233ce9",7614:"97f6c814",7622:"f3cdf29e",7686:"4fcec9f9",7706:"c2a79e40",7806:"4f76273b",7852:"30fc72f3",7855:"d79dd706",7857:"91ee9735",7878:"adc7478a",7883:"2817a0c6",7884:"4e91c64e",7922:"7596f514",7948:"f5f7c14d",7963:"64ac60d4",7964:"29aed9a1",8014:"f53b2e08",8062:"e361204c",8072:"acbba690",8077:"ba01fc96",8085:"09ec08e0",8089:"d536b13a",8143:"97a7860c",8155:"c06253bf",8161:"83c5fa9a",8237:"0056aaf3",8241:"f5082795",8302:"a6f288f6",8307:"ed05ac68",8325:"ca5e41c9",8340:"35eeb8f5",8350:"07df8a75",8365:"90ac6928",8398:"ab9caf1e",8431:"ae3cac82",8435:"26529304",8447:"3bfa7b76",8517:"a4e112fb",8561:"333e8ec9",8563:"1dc6aea5",8634:"d73a267f",8639:"ebbaf1d9",8665:"7b2911fc",8688:"ab016f3c",8689:"e26e0dca",8723:"4e82066f",8737:"ce7dad23",8776:"0ad26240",8782:"f1508d41",8787:"cfa24132",8797:"d47f3a6e",8823:"7c08de47",8827:"0a68aaec",8842:"9f25a3e2",8866:"e74b9e9c",8882:"e2a82b4f",8885:"4b7dc783",8898:"d002bcd8",8909:"bf822f6b",8920:"7f82440c",8963:"790aecdd",8982:"82592b30",8999:"17540658",9076:"b772835c",9104:"bbcb2345",9133:"35d336df",9205:"721f8563",9215:"6e02f41a",9252:"0d791a59",9260:"cf5f8140",9332:"46b984fb",9360:"bfbfbaeb",9366:"4447376a",9391:"3d74a6b5",9404:"9fcc3d3e",9408:"a7fc9d1c",9416:"229f850d",9487:"4d567133",9489:"fea93179",9507:"03d03b10",9519:"d28a4c2e",9554:"ed358e7b",9559:"f794af19",9590:"4f91dc6f",9647:"76d0ea98",9649:"922294e3",9674:"a264c908",9677:"43027c3b",9695:"e0a40581",9715:"a7a4fc47",9716:"08598cab",9785:"176dc5e2",9788:"679e1a8c",9890:"4fc3c43a",9891:"e2c2e560",9895:"b8e31ff2",9921:"0889f1b1",9922:"06bafddd",9928:"5989f5e0",9944:"3a56f60b",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",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",6656:"03cdfb68",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,5043:1,5048:1,5096:1,5111:1,5125:1,5148:1,5176:1,5179:1,5186:1,5191:1,5238:1,5297:1,5319:1,5335:1,5357:1,5359:1,5382:1,5402:1,5470:1,5518:1,5549:1,5572:1,5573:1,5599:1,5624:1,5650:1,5705:1,5729:1,5775:1,5786:1,5798:1,5816:1,5825:1,5888:1,5891:1,5895:1,5915:1,5972:1,5992:1,6029:1,6052:1,6063:1,6069:1,6127:1,6265:1,6270:1,6277:1,6328:1,6366:1,6434:1,6444:1,6452:1,6541:1,6583:1,6587:1,6634:1,6651:1,6656:1,6685:1,6729:1,6741:1,6758:1,6784:1,6788:1,6796:1,6805:1,6820:1,6845:1,6882:1,6883:1,6904:1,6913:1,6963:1,6982:1,7008:1,7043:1,7045:1,7046:1,7058:1,7062:1,7178:1,7182:1,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),A=__webpack_require__(86357),k=__webpack_require__(93074),R=__webpack_require__(96331),C=__webpack_require__(2924),D=__webpack_require__(26425),M=__webpack_require__(32125),B=__webpack_require__(16137),N=__webpack_require__(48435),K=__webpack_require__(11553),G=__webpack_require__(70365),W=__webpack_require__(33717),se=__webpack_require__(17482),ie=__webpack_require__(23708),le=__webpack_require__(65033),q=__webpack_require__(52732),J=__webpack_require__(99382),V=__webpack_require__(88437),ue=__webpack_require__(68440),ee=__webpack_require__(13412),Q=__webpack_require__(11005),ce=__webpack_require__(70348),z=__webpack_require__(19801),$=__webpack_require__(91550),ae=__webpack_require__(85223),_e=__webpack_require__(7154),De=__webpack_require__(67788),ke=__webpack_require__(96009),He=__webpack_require__(9402),$e=__webpack_require__(62489),Bt=__webpack_require__(80881),gt=__webpack_require__(62837),Dt=__webpack_require__(4705),nr=__webpack_require__(13941),Xt=__webpack_require__(1148),cr=__webpack_require__(82445),Ge=__webpack_require__(27267),Tt=__webpack_require__(96353),Ut=__webpack_require__(90308),at=__webpack_require__(84818),bt=__webpack_require__(80585),dt=__webpack_require__(89170),tt=__webpack_require__(71012),Ue=__webpack_require__(84203),ye=__webpack_require__(22112),Ce=__webpack_require__(81440),Me=__webpack_require__(25430),je=__webpack_require__(70105),We=__webpack_require__(71390),nt=__webpack_require__(96844),lt=__webpack_require__(83578),Vt=__webpack_require__(69762),Ht=__webpack_require__(76880),Pe=__webpack_require__(65009),et=__webpack_require__(28796),Kt=__webpack_require__(56450),kt=__webpack_require__(78342),Zt=__webpack_require__(13161),Nt=__webpack_require__(54226),tr=__webpack_require__(70201),Wt=__webpack_require__(34941),Fe=__webpack_require__(85671),fe=__webpack_require__(35152),pe=__webpack_require__(85660),Pt=__webpack_require__(80031),Ie=__webpack_require__(34434),ct=__webpack_require__(83579),zt=__webpack_require__(74307),wt=__webpack_require__(97423),Oe=__webpack_require__(93321),xt=__webpack_require__(82277),xe=__webpack_require__(61425),Ye=__webpack_require__(61873),mt=__webpack_require__(9307),Mt=__webpack_require__(8821),Be=__webpack_require__(64385),Ir=__webpack_require__(64099),St=__webpack_require__(62455),Zr=__webpack_require__(79965),Yr=__webpack_require__(59118),xr=__webpack_require__(275),Mr=__webpack_require__(31919),mr=__webpack_require__(51284),Nr=__webpack_require__(10177),nn=__webpack_require__(85690),on=__webpack_require__(92114),or=__webpack_require__(1017),Rt=__webpack_require__(14480),_t=__webpack_require__(40516),vt=__webpack_require__(76345),$t=__webpack_require__(7282),Sr=__webpack_require__(58055),vr=__webpack_require__(93547),Qr=__webpack_require__(31237),Wr=__webpack_require__(17954),An=__webpack_require__(58580),At=__webpack_require__(47146),lr=__webpack_require__(40416),Vr=__webpack_require__(7615),dn=__webpack_require__(72820),Bn=__webpack_require__(86070),ti=__webpack_require__(23569),Un=__webpack_require__(55639),Ri=__webpack_require__(63046),ni=__webpack_require__(464),ci=__webpack_require__(51082),gi=__webpack_require__(83850),di=__webpack_require__(41990),Qi=__webpack_require__(15787),Gn=__webpack_require__(55888),Xi=__webpack_require__(53827),Et=__webpack_require__(78143),st=__webpack_require__(66419),Vn=__webpack_require__(75765),yi=__webpack_require__(14645),Kn=__webpack_require__(71122),Ki=__webpack_require__(42084),_i=__webpack_require__(25070),ei=__webpack_require__(77140),vn=__webpack_require__(15954),er=__webpack_require__(4266),pt=__webpack_require__(49988),rt=__webpack_require__(38823),Ot=__webpack_require__(24627),ft=__webpack_require__(4045),ur=__webpack_require__(50747),fr=__webpack_require__(43595),Tr=__webpack_require__(92324),$r=__webpack_require__(23551),Ze=__webpack_require__(74521),qe=__webpack_require__(57891),Ee=__webpack_require__(84138),ot=__webpack_require__(51832),ar=__webpack_require__(37135),br=__webpack_require__(6474),Dr=__webpack_require__(40135),Pr=__webpack_require__(7982),Fr=__webpack_require__(14893),mn=__webpack_require__(49233),Er=__webpack_require__(92130),un=__webpack_require__(42844),Jr=__webpack_require__(6536),sn=__webpack_require__(27228),xn=__webpack_require__(62921),ha=__webpack_require__(44001),Ci=__webpack_require__(92262),li=__webpack_require__(54744),_n=__webpack_require__(38214),ai=__webpack_require__(12756),Fi=__webpack_require__(93379),oa=__webpack_require__(62007),Cs=__webpack_require__(90572),ua=__webpack_require__(37343),ms=__webpack_require__(45945),Ts=__webpack_require__(75551),Ra=__webpack_require__(32493),ws=__webpack_require__(20852),Zn=__webpack_require__(46302),ns=__webpack_require__(18827),Ga=__webpack_require__(76718),Ps=__webpack_require__(79172),zi=__webpack_require__(32192),vs=__webpack_require__(42828),Po=__webpack_require__(5658),Pa=__webpack_require__(55629),ta=__webpack_require__(62925),Fa=__webpack_require__(9595),Ks=__webpack_require__(58127),In=__webpack_require__(70917),La=__webpack_require__(53427),as=__webpack_require__(70878),ss=__webpack_require__(49257),Li=__webpack_require__(72910),Da=__webpack_require__(34932),Ia=__webpack_require__(81046),cs=__webpack_require__(85744),Ys=__webpack_require__(13494),Eo=__webpack_require__(56338),Io=__webpack_require__(66755),Do=__webpack_require__(68709),Ba=__webpack_require__(4939),qa=__webpack_require__(81927),lo=__webpack_require__(60462),Oo=__webpack_require__(72571),wo=__webpack_require__(71200),ko=__webpack_require__(85767),fi=__webpack_require__(84432),si=__webpack_require__(59022),Na=__webpack_require__(19363),Va=__webpack_require__(51054),$a=__webpack_require__(60330),Xs=__webpack_require__(55234),So=__webpack_require__(88104),Zo=__webpack_require__(64336),fs=__webpack_require__(63914),No=__webpack_require__(35246),Ho=__webpack_require__(83470),iu=__webpack_require__(79641),mo=__webpack_require__(72397),Cu=__webpack_require__(24860),vo=__webpack_require__(19320),Vs=__webpack_require__(56233),Ko=__webpack_require__(59419),du=__webpack_require__(64344),co=__webpack_require__(5316),go=__webpack_require__(93744),au=__webpack_require__(19299),Ro=__webpack_require__(15286),$o=__webpack_require__(91927),os=__webpack_require__(27730),Ao=__webpack_require__(58707),hu=__webpack_require__(41356),qt=__webpack_require__(51606),hr=__webpack_require__(8966),sr=__webpack_require__(38458),pr=__webpack_require__(71957),Ar=__webpack_require__(89466),fn=__webpack_require__(69653),Rn=__webpack_require__(96519),wn=__webpack_require__(95576),Ln=__webpack_require__(63079),Jn=__webpack_require__(8995),Qn=__webpack_require__(23080),dr=__webpack_require__(74701),Lr=__webpack_require__(91809),Or=__webpack_require__(77517),gn=__webpack_require__(30149),yn=__webpack_require__(55410),ht=__webpack_require__(46161),Dn=__webpack_require__(14800),Mn=__webpack_require__(91130),Ei=__webpack_require__(2722),Zi=__webpack_require__(55885),Jt=__webpack_require__(39034),Yi=__webpack_require__(8604),Bi=__webpack_require__(64963),fa=__webpack_require__(25178),Ja=__webpack_require__(1905),gs=__webpack_require__(94306),Ti=__webpack_require__(11762),io=__webpack_require__(93164),Us=__webpack_require__(88900),ds=__webpack_require__(54815),Ea=__webpack_require__(81138),us=__webpack_require__(37252),Qs=__webpack_require__(81673),kn=__webpack_require__(48966),Ss=__webpack_require__(13015),zs=__webpack_require__(78527),Xe=__webpack_require__(20511),Qe=__webpack_require__(78366),Ft=__webpack_require__(27427),Gt=__webpack_require__(43890),gr=__webpack_require__(55844),Rr=__webpack_require__(71361),jr=__webpack_require__(44550),hn=__webpack_require__(413),tn=__webpack_require__(77464),pn=__webpack_require__(77703),Yn=__webpack_require__(93854),qn=__webpack_require__(962),mi=__webpack_require__(44169),wi=__webpack_require__(56272),Hi=__webpack_require__(43466),Mi=__webpack_require__(48156),bi=__webpack_require__(93236),pa=__webpack_require__(42212),xi=__webpack_require__(63923),hi=__webpack_require__(2278),la=__webpack_require__(36955),qs=__webpack_require__(77326),As=__webpack_require__(53571),Wi=__webpack_require__(28670),Oa=__webpack_require__(31050),Ji=__webpack_require__(25321),Oi=__webpack_require__(96364),ga=__webpack_require__(46304),ka=__webpack_require__(55163),Ka=__webpack_require__(78722),Js=__webpack_require__(35977),Ya=__webpack_require__(81848),fo=__webpack_require__(52867),ja=__webpack_require__(72211),Xa=__webpack_require__(84862),ls=__webpack_require__(92381),ra=__webpack_require__(19517),za=__webpack_require__(69667),ys=__webpack_require__(80820),ya=__webpack_require__(87873),be=__webpack_require__(54609),Ae=__webpack_require__(28566),wr=__webpack_require__(51697),Xr=__webpack_require__(61872),yr=__webpack_require__(76077),Kr=__webpack_require__(9196),En=__webpack_require__(5369),Xn=__webpack_require__(26259),ki=__webpack_require__(47736),On=__webpack_require__(28220),Cn=__webpack_require__(62060),Nn=__webpack_require__(49350),ia=__webpack_require__(20126),Gi=__webpack_require__(18090),yo=__webpack_require__(14309),ao=__webpack_require__(17822),Yo=__webpack_require__(83543),bl=__webpack_require__(13853),Mu=__webpack_require__(25188),Xo=__webpack_require__(10215),xc=__webpack_require__(3432),vu=__webpack_require__(90486),Ve=__webpack_require__(6736),Z=__webpack_require__(8774),X=__webpack_require__(94065),ne=__webpack_require__(93036),he=__webpack_require__(75708),Te=__webpack_require__(84624),Ke=__webpack_require__(66233),Ct=__webpack_require__(43710),jt=__webpack_require__(92762),ir=__webpack_require__(24467),It=__webpack_require__(68465),Ur=__webpack_require__(77004),en=__webpack_require__(83925),bn=__webpack_require__(51117),$n=__webpack_require__(87236),Hn=__webpack_require__(83733),Si=__webpack_require__(92044),da=__webpack_require__(29190),aa=__webpack_require__(10775),ca=__webpack_require__(19593),Ma=__webpack_require__(26502),es=__webpack_require__(10174),bs=__webpack_require__(96378),Za=__webpack_require__(58216),qi=__webpack_require__(41401),Ns=__webpack_require__(79908),Is=__webpack_require__(82531),pi=__webpack_require__(79890),ho=__webpack_require__(88472),so=__webpack_require__(38944),Qo=__webpack_require__(78423),Rs=__webpack_require__(65713),Ls=__webpack_require__(22968),$s=__webpack_require__(17564),xl=__webpack_require__(1220),Ku=__webpack_require__(44886),Tu=__webpack_require__(57019),qo=__webpack_require__(35295),Zs=__webpack_require__(80286),Fu=__webpack_require__(38487),gu=__webpack_require__(29916),bo=__webpack_require__(25541),rl=__webpack_require__(45612),El=__webpack_require__(34926),jo=__webpack_require__(98080),wl=__webpack_require__(68255),Ms=__webpack_require__(96351),Uo=__webpack_require__(16450),Bu=__webpack_require__(60244),Ul=__webpack_require__(86921),yu=__webpack_require__(82928),ac=__webpack_require__(42947),zl=__webpack_require__(71568),ri=__webpack_require__(94194),sc=__webpack_require__(30556),oo=__webpack_require__(32100),Zl=__webpack_require__(93102),Jo=__webpack_require__(1821),nl=__webpack_require__(82074),eo=__webpack_require__(13578),Uc=__webpack_require__(59348),Ec=__webpack_require__(62882),xo=__webpack_require__(37457),rf=__webpack_require__(70654),nf=__webpack_require__(90252),zc=__webpack_require__(29482),bu=__webpack_require__(51630),wc=__webpack_require__(61933),xu=__webpack_require__(619),pu=__webpack_require__(99675),Sl=__webpack_require__(52548),Hs=__webpack_require__(53637),Fs=__webpack_require__(57482),Lo=__webpack_require__(59725),Hl=__webpack_require__(17610),Al=__webpack_require__(56966),su=__webpack_require__(11507),Sc=__webpack_require__(16315),Ac=__webpack_require__(60239),ou=__webpack_require__(49381),Cl=__webpack_require__(17230),Eu=__webpack_require__(62720),Wl=__webpack_require__(57151),il=__webpack_require__(48732),Ca=__webpack_require__(18481),af=__webpack_require__(55055),Zc=__webpack_require__(7195),Nu=__webpack_require__(89179),Cc=__webpack_require__(90965),sf=__webpack_require__(67725),oc=__webpack_require__(59884),uu=__webpack_require__(89202),Tc=__webpack_require__(97815),Tl=__webpack_require__(11593),Gl=__webpack_require__(7597),uc=__webpack_require__(55182),Vl=__webpack_require__(34366),eu=__webpack_require__(85425),$u=__webpack_require__(64522),lc=__webpack_require__(41599),ju=__webpack_require__(86465),Pc=__webpack_require__(78437),Hc=__webpack_require__(73624),Kl=__webpack_require__(62059),Ws=__webpack_require__(10305),Wc=__webpack_require__(41208),Pl=__webpack_require__(25204),al=__webpack_require__(40061),Pu=__webpack_require__(47803),to=__webpack_require__(7893),sl=__webpack_require__(4890),of=__webpack_require__(5340),Ic=__webpack_require__(61650),Gc=__webpack_require__(58246),Yu=__webpack_require__(65873),Mo=__webpack_require__(63579),Il=__webpack_require__(87296),ze=__webpack_require__(59301),wu=__webpack_require__(4676),Wo=__webpack_require__(35338),Dl=__webpack_require__(91231);function Ds(Sn){var Wn=Sn.id,Ni=Sn.basename,ba=Sn.cb,Vi=new URLSearchParams({route:Wn,url:window.location.href}).toString(),na="".concat(uo(window.umiServerLoaderPath||Ni),"__serverLoader?").concat(Vi);fetch(na,{credentials:"include"}).then(function(ma){return ma.json()}).then(ba).catch(console.error)}function uo(){var Sn=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return Sn.endsWith("/")?Sn:"".concat(Sn,"/")}var Uu=__webpack_require__(38127),zo=__webpack_require__(38329),ol=__webpack_require__(8616),zu=["content"],Su=["content"],Xu=/^(http:|https:)?\/\//;function ul(Sn){return Xu.test(Sn)||Sn.startsWith("/")&&!Sn.startsWith("/*")||Sn.startsWith("./")||Sn.startsWith("../")}var lu=function(){return ze.createElement("noscript",{dangerouslySetInnerHTML:{__html:"<b>Enable JavaScript to run this app.</b>"}})},Qu=function(Wn){var Ni,ba=Wn.loaderData,Vi=Wn.htmlPageOpts,na=Wn.manifest,ma=(na==null||(Ni=na.assets)===null||Ni===void 0?void 0:Ni["umi.css"])||"";return ze.createElement("script",{suppressHydrationWarning:!0,dangerouslySetInnerHTML:{__html:"window.__UMI_LOADER_DATA__ = ".concat(JSON.stringify(ba||{}),"; window.__UMI_METADATA_LOADER_DATA__ = ").concat(JSON.stringify(Vi||{}),"; window.__UMI_BUILD_ClIENT_CSS__ = '").concat(ma,"'")}})};function tu(Sn){var Wn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(typeof Sn=="string")return ul(Sn)?(0,Mo.Z)({src:Sn},Wn):{content:Sn};if((0,ol.Z)(Sn)==="object")return(0,Mo.Z)((0,Mo.Z)({},Sn),Wn);throw new Error("Invalid script type: ".concat((0,ol.Z)(Sn)))}function wf(Sn){return ul(Sn)?{type:"link",href:Sn}:{type:"style",content:Sn}}var Vc=function(Wn){var Ni,ba,Vi,na,ma,hs,ji=Wn.htmlPageOpts;return ze.createElement(ze.Fragment,null,(ji==null?void 0:ji.title)&&ze.createElement("title",null,ji.title),ji==null||(Ni=ji.favicons)===null||Ni===void 0?void 0:Ni.map(function(ps,Du){return ze.createElement("link",{key:Du,rel:"shortcut icon",href:ps})}),(ji==null?void 0:ji.description)&&ze.createElement("meta",{name:"description",content:ji.description}),(ji==null||(ba=ji.keywords)===null||ba===void 0?void 0:ba.length)&&ze.createElement("meta",{name:"keywords",content:ji.keywords.join(",")}),ji==null||(Vi=ji.metas)===null||Vi===void 0?void 0:Vi.map(function(ps){return ze.createElement("meta",{key:ps.name,name:ps.name,content:ps.content})}),ji==null||(na=ji.links)===null||na===void 0?void 0:na.map(function(ps,Du){return ze.createElement("link",(0,zo.Z)({key:Du},ps))}),ji==null||(ma=ji.styles)===null||ma===void 0?void 0:ma.map(function(ps,Du){var Ou=wf(ps),el=Ou.type,Gu=Ou.href,_l=Ou.content;if(el==="link")return ze.createElement("link",{key:Du,rel:"stylesheet",href:Gu});if(el==="style")return ze.createElement("style",{key:Du},_l)}),ji==null||(hs=ji.headScripts)===null||hs===void 0?void 0:hs.map(function(ps,Du){var Ou=tu(ps),el=Ou.content,Gu=(0,Uu.Z)(Ou,zu);return ze.createElement("script",(0,zo.Z)({dangerouslySetInnerHTML:{__html:el},key:Du},Gu))}))};function po(Sn){var Wn,Ni=Sn.children,ba=Sn.loaderData,Vi=Sn.manifest,na=Sn.htmlPageOpts,ma=Sn.__INTERNAL_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,hs=Sn.mountElementId;if(ma!=null&&ma.pureHtml)return ze.createElement("html",null,ze.createElement("head",null),ze.createElement("body",null,ze.createElement(lu,null),ze.createElement("div",{id:hs},Ni),ze.createElement(Qu,{manifest:Vi,loaderData:ba,htmlPageOpts:na})));if(ma!=null&&ma.pureApp)return ze.createElement(ze.Fragment,null,Ni);var ji=typeof window=="undefined"?Vi==null?void 0:Vi.assets["umi.css"]:window.__UMI_BUILD_ClIENT_CSS__;return ze.createElement("html",{suppressHydrationWarning:!0,lang:(na==null?void 0:na.lang)||"en"},ze.createElement("head",null,ze.createElement("meta",{charSet:"utf-8"}),ze.createElement("meta",{name:"viewport",content:"width=device-width, initial-scale=1"}),ji&&ze.createElement("link",{suppressHydrationWarning:!0,rel:"stylesheet",href:ji}),ze.createElement(Vc,{htmlPageOpts:na})),ze.createElement("body",null,ze.createElement(lu,null),ze.createElement("div",{id:hs},Ni),ze.createElement(Qu,{manifest:Vi,loaderData:ba,htmlPageOpts:na}),na==null||(Wn=na.scripts)===null||Wn===void 0?void 0:Wn.map(function(ps,Du){var Ou=tu(ps),el=Ou.content,Gu=(0,Uu.Z)(Ou,Su);return ze.createElement("script",(0,zo.Z)({dangerouslySetInnerHTML:{__html:el},key:Du},Gu))})))}var _u=ze.createContext(void 0);function Ol(){return ze.useContext(_u)}var Yl=["redirect"];function Xl(Sn){var Wn=Sn.routesById,Ni=Sn.parentId,ba=Sn.routeComponents,Vi=Sn.useStream,na=Vi===void 0?!0:Vi;return Object.keys(Wn).filter(function(ma){return Wn[ma].parentId===Ni}).map(function(ma){var hs=kl((0,Mo.Z)((0,Mo.Z)({route:Wn[ma],routeComponent:ba[ma],loadingComponent:Sn.loadingComponent,reactRouter5Compat:Sn.reactRouter5Compat},Sn.reactRouter5Compat&&{hasChildren:Object.keys(Wn).filter(function(ps){return Wn[ps].parentId===ma}).length>0}),{},{useStream:na})),ji=Xl({routesById:Wn,routeComponents:ba,parentId:hs.id,loadingComponent:Sn.loadingComponent,reactRouter5Compat:Sn.reactRouter5Compat,useStream:na});return ji.length>0&&(hs.children=ji,hs.routes=ji),hs})}function ll(Sn){var Wn=(0,Wo.UO)(),Ni=(0,Wo.Gn)(Sn.to,Wn),ba=(0,Dl.T$)(),Vi=(0,Wo.TH)();if(ba!=null&&ba.keepQuery){var na=Vi.search+Vi.hash;Ni+=na}var ma=(0,Mo.Z)((0,Mo.Z)({},Sn),{},{to:Ni});return ze.createElement(Wo.Fg,(0,zo.Z)({replace:!0},ma))}function kl(Sn){var Wn=Sn.route,Ni=Sn.useStream,ba=Ni===void 0?!0:Ni,Vi=Wn.redirect,na=(0,Uu.Z)(Wn,Yl),ma=Sn.reactRouter5Compat?cc:Iu;return(0,Mo.Z)({element:Vi?ze.createElement(ll,{to:Vi}):ze.createElement(_u.Provider,{value:{route:Sn.route}},ze.createElement(ma,{loader:ze.memo(Sn.routeComponent),loadingComponent:Sn.loadingComponent||Dc,hasChildren:Sn.hasChildren,useStream:ba}))},na)}function Dc(){return ze.createElement("div",null)}function cc(Sn){var Wn=Ol(),Ni=Wn.route,ba=(0,Dl.Ov)(),Vi=ba.history,na=ba.clientRoutes,ma=(0,Wo.UO)(),hs={params:ma,isExact:!0,path:Ni.path,url:Vi.location.pathname},ji=Sn.loader,ps={location:Vi.location,match:hs,history:Vi,params:ma,route:Ni,routes:na};return Sn.useStream?ze.createElement(ze.Suspense,{fallback:ze.createElement(Sn.loadingComponent,null)},ze.createElement(ji,ps,Sn.hasChildren&&ze.createElement(Wo.j3,null))):ze.createElement(ji,ps,Sn.hasChildren&&ze.createElement(Wo.j3,null))}function Iu(Sn){var Wn=Sn.loader;return Sn.useStream?ze.createElement(ze.Suspense,{fallback:ze.createElement(Sn.loadingComponent,null)},ze.createElement(Wn,null)):ze.createElement(Wn,null)}var Rl=null;function Oc(){return Rl}function kc(Sn){var Wn=Sn.history,Ni=ze.useState({action:Wn.action,location:Wn.location}),ba=(0,Il.Z)(Ni,2),Vi=ba[0],na=ba[1];return(0,ze.useLayoutEffect)(function(){return Wn.listen(na)},[Wn]),(0,ze.useLayoutEffect)(function(){function ma(hs){Sn.pluginManager.applyPlugins({key:"onRouteChange",type:"event",args:{routes:Sn.routes,clientRoutes:Sn.clientRoutes,location:hs.location,action:hs.action,basename:Sn.basename,isFirst:!!hs.isFirst}})}return ma({location:Vi.location,action:Vi.action,isFirst:!0}),Wn.listen(ma)},[Wn,Sn.routes,Sn.clientRoutes]),ze.createElement(Wo.F0,{navigator:Wn,location:Vi.location,basename:Sn.basename},Sn.children)}function Fo(){var Sn=(0,Dl.Ov)(),Wn=Sn.clientRoutes;return(0,Wo.V$)(Wn)}var Ql=["innerProvider","i18nProvider","accessProvider","dataflowProvider","outerProvider","rootContainer"],Ll=function(Wn,Ni){var ba=Wn.basename||"/",Vi=Xl({routesById:Wn.routes,routeComponents:Wn.routeComponents,loadingComponent:Wn.loadingComponent,reactRouter5Compat:Wn.reactRouter5Compat,useStream:Wn.useStream});Wn.pluginManager.applyPlugins({key:"patchClientRoutes",type:"event",args:{routes:Vi}});for(var na=ze.createElement(kc,{basename:ba,pluginManager:Wn.pluginManager,routes:Wn.routes,clientRoutes:Vi,history:Wn.history},Ni),ma=0,hs=Ql;ma<hs.length;ma++){var ji=hs[ma];na=Wn.pluginManager.applyPlugins({type:"modify",key:ji,initialValue:na,args:{routes:Wn.routes,history:Wn.history,plugin:Wn.pluginManager}})}var ps=function(){var Ou=(0,ze.useState)({}),el=(0,Il.Z)(Ou,2),Gu=el[0],_l=el[1],If=(0,ze.useState)(window.__UMI_LOADER_DATA__||{}),Sf=(0,Il.Z)(If,2),Fl=Sf[0],uf=Sf[1],Lc=(0,ze.useCallback)(function(Qc,lf){var tl,Df=(((tl=(0,Wo.fp)(Vi,Qc,ba))===null||tl===void 0?void 0:tl.map(function(Vu){return Vu.route.id}))||[]).filter(Boolean);Df.forEach(function(Vu){var gc,cf;if(window.__umi_route_prefetch__){var Go,qc=(Go=Wn.routeComponents[Vu])===null||Go===void 0||(Go=Go._payload)===null||Go===void 0?void 0:Go._result;typeof qc=="function"&&qc()}var ff=(gc=Wn.routes[Vu])===null||gc===void 0?void 0:gc.clientLoader,ku=!!ff,yc=(cf=Wn.routes[Vu])===null||cf===void 0?void 0:cf.hasServerLoader;!lf&&yc&&!ku&&!window.__UMI_LOADER_DATA__&&Ds({id:Vu,basename:ba,cb:function(Fc){ze.startTransition(function(){uf(function(Jc){return(0,Mo.Z)((0,Mo.Z)({},Jc),{},(0,Yu.Z)({},Vu,Fc))})})}});var To=!!Gu[Vu],df=ku&&ff.hydrate||!yc,hf=yc&&!window.__UMI_LOADER_DATA__;ku&&!To&&(df||hf)&&ff({serverLoader:function(){return Ds({id:Vu,basename:ba,cb:function(Jc){ze.startTransition(function(){uf(function(Bc){return(0,Mo.Z)((0,Mo.Z)({},Bc),{},(0,Yu.Z)({},Vu,Jc))})})}})}}).then(function(Mc){_l(function(Fc){return(0,Mo.Z)((0,Mo.Z)({},Fc),{},(0,Yu.Z)({},Vu,Mc))})})})},[Gu]);return(0,ze.useEffect)(function(){return Lc(window.location.pathname,!0),Wn.history.listen(function(Qc){Lc(Qc.location.pathname)})},[]),(0,ze.useLayoutEffect)(function(){typeof Wn.callback=="function"&&Wn.callback()},[]),ze.createElement(Dl.Il.Provider,{value:{routes:Wn.routes,routeComponents:Wn.routeComponents,clientRoutes:Vi,pluginManager:Wn.pluginManager,rootElement:Wn.rootElement,basename:ba,clientLoaderData:Gu,serverLoaderData:Fl,preloadRoute:Lc,history:Wn.history}},na)};return ps};function Rc(Sn){var Wn=Sn.rootElement||document.getElementById("root"),Ni=Ll(Sn,ze.createElement(Fo,null));if(Sn.components)return Ni;if(Sn.hydrate){var ba=window.__UMI_LOADER_DATA__||{},Vi=window.__UMI_METADATA_LOADER_DATA__||{},na={metadata:Vi,loaderData:ba,mountElementId:Sn.mountElementId},ma=Sn.__INTERNAL_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.pureApp||Sn.__INTERNAL_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.pureHtml;wu.hydrateRoot(ma?Wn:document,ma?ze.createElement(Ni,null):ze.createElement(po,na,ze.createElement(Ni,null)));return}if(wu.createRoot){Rl=wu.createRoot(Wn),Rl.render(ze.createElement(Ni,null));return}wu.render(ze.createElement(Ni,null),Wn)}var ql=(Sn,Wn,Ni)=>new Promise((ba,Vi)=>{var na=ji=>{try{hs(Ni.next(ji))}catch(ps){Vi(ps)}},ma=ji=>{try{hs(Ni.throw(ji))}catch(ps){Vi(ps)}},hs=ji=>ji.done?ba(ji.value):Promise.resolve(ji.value).then(na,ma);hs((Ni=Ni.apply(Sn,Wn)).next())});function Kc(){return ql(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:"/iwce/:itemname",parentId:"464",id:"484"},485:{path:"/hpc-course",parentId:"464",id:"485"},486:{path:"/user_agents",parentId:"464",id:"486"},487:{path:"/three",parentId:"464",id:"487"},488:{path:"/introduction",parentId:"464",id:"488"},489:{path:"/chatgpt",parentId:"464",id:"489"},490:{path:"/*",parentId:"464",id:"490"},"@@/global-layout":{id:"@@/global-layout",path:"/",isLayout:!0}},routeComponents:{1:ze.lazy(()=>__webpack_require__.e(599).then(__webpack_require__.bind(__webpack_require__,20599))),2:ze.lazy(()=>Promise.all([__webpack_require__.e(1433),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,40081))),3:ze.lazy(()=>Promise.all([__webpack_require__.e(1433),__webpack_require__.e(4862)]).then(__webpack_require__.bind(__webpack_require__,7621))),4:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(1433),__webpack_require__.e(3260)]).then(__webpack_require__.bind(__webpack_require__,8391))),5:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(1433),__webpack_require__.e(3260)]).then(__webpack_require__.bind(__webpack_require__,8391))),6:ze.lazy(()=>__webpack_require__.e(3247).then(__webpack_require__.bind(__webpack_require__,64226))),7:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(1433),__webpack_require__.e(400),__webpack_require__.e(4599)]).then(__webpack_require__.bind(__webpack_require__,56474))),8:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(1433),__webpack_require__.e(400),__webpack_require__.e(1545)]).then(__webpack_require__.bind(__webpack_require__,91046))),9:ze.lazy(()=>Promise.all([__webpack_require__.e(1433),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,40081))),10:ze.lazy(()=>__webpack_require__.e(6052).then(__webpack_require__.bind(__webpack_require__,19372))),11:ze.lazy(()=>__webpack_require__.e(5572).then(__webpack_require__.bind(__webpack_require__,27851))),12:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(8982)]).then(__webpack_require__.bind(__webpack_require__,86364))),13:ze.lazy(()=>__webpack_require__.e(869).then(__webpack_require__.bind(__webpack_require__,58966))),14:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(6411),__webpack_require__.e(3332)]).then(__webpack_require__.bind(__webpack_require__,46930))),15:ze.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(4601)]).then(__webpack_require__.bind(__webpack_require__,22834))),16:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(8982)]).then(__webpack_require__.bind(__webpack_require__,86364))),17:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(1433),__webpack_require__.e(400),__webpack_require__.e(4599)]).then(__webpack_require__.bind(__webpack_require__,56474))),18:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(1433),__webpack_require__.e(400),__webpack_require__.e(4599)]).then(__webpack_require__.bind(__webpack_require__,56474))),19:ze.lazy(()=>Promise.all([__webpack_require__.e(1433),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,40081))),20:ze.lazy(()=>__webpack_require__.e(6685).then(__webpack_require__.bind(__webpack_require__,46275))),21:ze.lazy(()=>__webpack_require__.e(9921).then(__webpack_require__.bind(__webpack_require__,20973))),22:ze.lazy(()=>__webpack_require__.e(1674).then(__webpack_require__.bind(__webpack_require__,31793))),23:ze.lazy(()=>__webpack_require__.e(6685).then(__webpack_require__.bind(__webpack_require__,46275))),24:ze.lazy(()=>__webpack_require__.e(1702).then(__webpack_require__.bind(__webpack_require__,37273))),25:ze.lazy(()=>__webpack_require__.e(1702).then(__webpack_require__.bind(__webpack_require__,37273))),26:ze.lazy(()=>__webpack_require__.e(6882).then(__webpack_require__.bind(__webpack_require__,45029))),27:ze.lazy(()=>__webpack_require__.e(6882).then(__webpack_require__.bind(__webpack_require__,45029))),28:ze.lazy(()=>__webpack_require__.e(109).then(__webpack_require__.bind(__webpack_require__,46922))),29:ze.lazy(()=>__webpack_require__.e(737).then(__webpack_require__.bind(__webpack_require__,94044))),30:ze.lazy(()=>__webpack_require__.e(3391).then(__webpack_require__.bind(__webpack_require__,67311))),31:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(6411),__webpack_require__.e(3581)]).then(__webpack_require__.bind(__webpack_require__,89358))),32:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(6411),__webpack_require__.e(342)]).then(__webpack_require__.bind(__webpack_require__,88924))),33:ze.lazy(()=>Promise.all([__webpack_require__.e(1433),__webpack_require__.e(2303)]).then(__webpack_require__.bind(__webpack_require__,63437))),34:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(1450)]).then(__webpack_require__.bind(__webpack_require__,60922))),35:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(195)]).then(__webpack_require__.bind(__webpack_require__,70731))),36:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(3668)]).then(__webpack_require__.bind(__webpack_require__,29289))),37:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(1433),__webpack_require__.e(2338)]).then(__webpack_require__.bind(__webpack_require__,61995))),38:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(4662)]).then(__webpack_require__.bind(__webpack_require__,75400))),39:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(8072)]).then(__webpack_require__.bind(__webpack_require__,52934))),40:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(479)]).then(__webpack_require__.bind(__webpack_require__,34353))),41:ze.lazy(()=>__webpack_require__.e(5297).then(__webpack_require__.bind(__webpack_require__,30748))),42:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(6411),__webpack_require__.e(4164)]).then(__webpack_require__.bind(__webpack_require__,44597))),43:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(1433),__webpack_require__.e(400),__webpack_require__.e(4599)]).then(__webpack_require__.bind(__webpack_require__,56474))),44:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(1134),__webpack_require__.e(4889)]).then(__webpack_require__.bind(__webpack_require__,60839))),45:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(1134),__webpack_require__.e(4105)]).then(__webpack_require__.bind(__webpack_require__,77638))),46:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(7883)]).then(__webpack_require__.bind(__webpack_require__,8282))),47:ze.lazy(()=>__webpack_require__.e(7482).then(__webpack_require__.bind(__webpack_require__,53147))),48:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(5816)]).then(__webpack_require__.bind(__webpack_require__,12624))),49:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(337)]).then(__webpack_require__.bind(__webpack_require__,23129))),50:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(1433),__webpack_require__.e(292)]).then(__webpack_require__.bind(__webpack_require__,84511))),51:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(1433),__webpack_require__.e(292)]).then(__webpack_require__.bind(__webpack_require__,84511))),52:ze.lazy(()=>__webpack_require__.e(5992).then(__webpack_require__.bind(__webpack_require__,10147))),53:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(6411),__webpack_require__.e(1433),__webpack_require__.e(8085)]).then(__webpack_require__.bind(__webpack_require__,84611))),54:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(6411),__webpack_require__.e(1433),__webpack_require__.e(8085)]).then(__webpack_require__.bind(__webpack_require__,84611))),55:ze.lazy(()=>__webpack_require__.e(8431).then(__webpack_require__.bind(__webpack_require__,83922))),56:ze.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(5902)]).then(__webpack_require__.bind(__webpack_require__,82856))),57:ze.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(3433)]).then(__webpack_require__.bind(__webpack_require__,31533))),58:ze.lazy(()=>__webpack_require__.e(5125).then(__webpack_require__.bind(__webpack_require__,3276))),59:ze.lazy(()=>__webpack_require__.e(5125).then(__webpack_require__.bind(__webpack_require__,3276))),60:ze.lazy(()=>__webpack_require__.e(921).then(__webpack_require__.bind(__webpack_require__,77329))),61:ze.lazy(()=>__webpack_require__.e(921).then(__webpack_require__.bind(__webpack_require__,77329))),62:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(1578)]).then(__webpack_require__.bind(__webpack_require__,75288))),63:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(3317)]).then(__webpack_require__.bind(__webpack_require__,83485))),64:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(1482)]).then(__webpack_require__.bind(__webpack_require__,97780))),65:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(4795)]).then(__webpack_require__.bind(__webpack_require__,28915))),66:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(26)]).then(__webpack_require__.bind(__webpack_require__,57643))),67:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(8882)]).then(__webpack_require__.bind(__webpack_require__,8321))),68:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(5888)]).then(__webpack_require__.bind(__webpack_require__,77498))),69:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(9715)]).then(__webpack_require__.bind(__webpack_require__,56010))),70:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(7045)]).then(__webpack_require__.bind(__webpack_require__,7769))),71:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(1211)]).then(__webpack_require__.bind(__webpack_require__,36618))),72:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(1582)]).then(__webpack_require__.bind(__webpack_require__,1910))),73:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(6729)]).then(__webpack_require__.bind(__webpack_require__,34104))),74:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(9695)]).then(__webpack_require__.bind(__webpack_require__,3487))),75:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(8723)]).then(__webpack_require__.bind(__webpack_require__,17042))),76:ze.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(7622)]).then(__webpack_require__.bind(__webpack_require__,72583))),77:ze.lazy(()=>__webpack_require__.e(5148).then(__webpack_require__.bind(__webpack_require__,61193))),78:ze.lazy(()=>__webpack_require__.e(643).then(__webpack_require__.bind(__webpack_require__,13750))),79:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(3442)]).then(__webpack_require__.bind(__webpack_require__,96046))),80:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(2102)]).then(__webpack_require__.bind(__webpack_require__,22996))),81:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(2425)]).then(__webpack_require__.bind(__webpack_require__,41305))),82:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(2404)]).then(__webpack_require__.bind(__webpack_require__,78554))),83:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(9785)]).then(__webpack_require__.bind(__webpack_require__,74124))),84:ze.lazy(()=>__webpack_require__.e(869).then(__webpack_require__.bind(__webpack_require__,58966))),85:ze.lazy(()=>__webpack_require__.e(2819).then(__webpack_require__.bind(__webpack_require__,55998))),86:ze.lazy(()=>__webpack_require__.e(1512).then(__webpack_require__.bind(__webpack_require__,31905))),87:ze.lazy(()=>__webpack_require__.e(7395).then(__webpack_require__.bind(__webpack_require__,21229))),88:ze.lazy(()=>__webpack_require__.e(3585).then(__webpack_require__.bind(__webpack_require__,98731))),89:ze.lazy(()=>__webpack_require__.e(6963).then(__webpack_require__.bind(__webpack_require__,37244))),90:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(4030)]).then(__webpack_require__.bind(__webpack_require__,35171))),91:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(4030)]).then(__webpack_require__.bind(__webpack_require__,35171))),92:ze.lazy(()=>__webpack_require__.e(6127).then(__webpack_require__.bind(__webpack_require__,42383))),93:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(3951)]).then(__webpack_require__.bind(__webpack_require__,71073))),94:ze.lazy(()=>__webpack_require__.e(1048).then(__webpack_require__.bind(__webpack_require__,97838))),95:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(2884)]).then(__webpack_require__.bind(__webpack_require__,22450))),96:ze.lazy(()=>__webpack_require__.e(4770).then(__webpack_require__.bind(__webpack_require__,57454))),97:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(2603)]).then(__webpack_require__.bind(__webpack_require__,60846))),98:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(4216)]).then(__webpack_require__.bind(__webpack_require__,45062))),99:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(5319)]).then(__webpack_require__.bind(__webpack_require__,93341))),100:ze.lazy(()=>__webpack_require__.e(895).then(__webpack_require__.bind(__webpack_require__,25921))),101:ze.lazy(()=>__webpack_require__.e(3282).then(__webpack_require__.bind(__webpack_require__,93365))),102:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(7852)]).then(__webpack_require__.bind(__webpack_require__,20383))),103:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(7852)]).then(__webpack_require__.bind(__webpack_require__,20383))),104:ze.lazy(()=>__webpack_require__.e(5048).then(__webpack_require__.bind(__webpack_require__,77437))),105:ze.lazy(()=>__webpack_require__.e(1043).then(__webpack_require__.bind(__webpack_require__,15828))),106:ze.lazy(()=>__webpack_require__.e(1043).then(__webpack_require__.bind(__webpack_require__,15828))),107:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(5825)]).then(__webpack_require__.bind(__webpack_require__,57720))),108:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(5825)]).then(__webpack_require__.bind(__webpack_require__,57720))),109:ze.lazy(()=>__webpack_require__.e(3355).then(__webpack_require__.bind(__webpack_require__,3403))),110:ze.lazy(()=>__webpack_require__.e(3355).then(__webpack_require__.bind(__webpack_require__,3403))),111:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(4142),__webpack_require__.e(9890)]).then(__webpack_require__.bind(__webpack_require__,94863))),112:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(4142),__webpack_require__.e(9890)]).then(__webpack_require__.bind(__webpack_require__,94863))),113:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(4142),__webpack_require__.e(3935)]).then(__webpack_require__.bind(__webpack_require__,14902))),114:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(4142),__webpack_require__.e(3935)]).then(__webpack_require__.bind(__webpack_require__,14902))),115:ze.lazy(()=>__webpack_require__.e(8014).then(__webpack_require__.bind(__webpack_require__,6218))),116:ze.lazy(()=>__webpack_require__.e(8077).then(__webpack_require__.bind(__webpack_require__,83443))),117:ze.lazy(()=>__webpack_require__.e(3356).then(__webpack_require__.bind(__webpack_require__,5010))),118:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(6788)]).then(__webpack_require__.bind(__webpack_require__,11008))),119:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(6788)]).then(__webpack_require__.bind(__webpack_require__,11008))),120:ze.lazy(()=>__webpack_require__.e(1962).then(__webpack_require__.bind(__webpack_require__,21413))),121:ze.lazy(()=>__webpack_require__.e(4928).then(__webpack_require__.bind(__webpack_require__,11133))),122:ze.lazy(()=>__webpack_require__.e(1257).then(__webpack_require__.bind(__webpack_require__,25251))),123:ze.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(8435)]).then(__webpack_require__.bind(__webpack_require__,36464))),124:ze.lazy(()=>__webpack_require__.e(8340).then(__webpack_require__.bind(__webpack_require__,25083))),125:ze.lazy(()=>__webpack_require__.e(4093).then(__webpack_require__.bind(__webpack_require__,29860))),126:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(1265)]).then(__webpack_require__.bind(__webpack_require__,61434))),127:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(1265)]).then(__webpack_require__.bind(__webpack_require__,61434))),128:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(8827)]).then(__webpack_require__.bind(__webpack_require__,51291))),129:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(8827)]).then(__webpack_require__.bind(__webpack_require__,51291))),130:ze.lazy(()=>__webpack_require__.e(6758).then(__webpack_require__.bind(__webpack_require__,27776))),131:ze.lazy(()=>__webpack_require__.e(6758).then(__webpack_require__.bind(__webpack_require__,27776))),132:ze.lazy(()=>__webpack_require__.e(9332).then(__webpack_require__.bind(__webpack_require__,66640))),133:ze.lazy(()=>__webpack_require__.e(9332).then(__webpack_require__.bind(__webpack_require__,66640))),134:ze.lazy(()=>__webpack_require__.e(4217).then(__webpack_require__.bind(__webpack_require__,96573))),135:ze.lazy(()=>__webpack_require__.e(3220).then(__webpack_require__.bind(__webpack_require__,58786))),136:ze.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(533)]).then(__webpack_require__.bind(__webpack_require__,1697))),137:ze.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(5798)]).then(__webpack_require__.bind(__webpack_require__,70302))),138:ze.lazy(()=>__webpack_require__.e(7878).then(__webpack_require__.bind(__webpack_require__,27599))),139:ze.lazy(()=>__webpack_require__.e(7878).then(__webpack_require__.bind(__webpack_require__,27599))),140:ze.lazy(()=>__webpack_require__.e(9944).then(__webpack_require__.bind(__webpack_require__,76161))),141:ze.lazy(()=>__webpack_require__.e(8302).then(__webpack_require__.bind(__webpack_require__,23889))),142:ze.lazy(()=>__webpack_require__.e(8302).then(__webpack_require__.bind(__webpack_require__,23889))),143:ze.lazy(()=>__webpack_require__.e(8634).then(__webpack_require__.bind(__webpack_require__,69808))),144:ze.lazy(()=>__webpack_require__.e(8634).then(__webpack_require__.bind(__webpack_require__,69808))),145:ze.lazy(()=>__webpack_require__.e(7922).then(__webpack_require__.bind(__webpack_require__,8176))),146:ze.lazy(()=>__webpack_require__.e(1727).then(__webpack_require__.bind(__webpack_require__,21095))),147:ze.lazy(()=>__webpack_require__.e(1727).then(__webpack_require__.bind(__webpack_require__,21095))),148:ze.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(1427)]).then(__webpack_require__.bind(__webpack_require__,63679))),149:ze.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(1427)]).then(__webpack_require__.bind(__webpack_require__,63679))),150:ze.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(8689)]).then(__webpack_require__.bind(__webpack_require__,99046))),151:ze.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(7806)]).then(__webpack_require__.bind(__webpack_require__,82503))),152:ze.lazy(()=>__webpack_require__.e(3276).then(__webpack_require__.bind(__webpack_require__,15531))),153:ze.lazy(()=>__webpack_require__.e(8885).then(__webpack_require__.bind(__webpack_require__,50715))),154:ze.lazy(()=>__webpack_require__.e(3451).then(__webpack_require__.bind(__webpack_require__,90317))),155:ze.lazy(()=>__webpack_require__.e(9922).then(__webpack_require__.bind(__webpack_require__,1377))),156:ze.lazy(()=>__webpack_require__.e(4572).then(__webpack_require__.bind(__webpack_require__,65515))),157:ze.lazy(()=>__webpack_require__.e(4017).then(__webpack_require__.bind(__webpack_require__,99342))),158:ze.lazy(()=>__webpack_require__.e(5518).then(__webpack_require__.bind(__webpack_require__,26032))),159:ze.lazy(()=>Promise.all([__webpack_require__.e(1433),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,40081))),160:ze.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(391),__webpack_require__.e(6883)]).then(__webpack_require__.bind(__webpack_require__,80961))),161:ze.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(391),__webpack_require__.e(6883)]).then(__webpack_require__.bind(__webpack_require__,80961))),162:ze.lazy(()=>__webpack_require__.e(4449).then(__webpack_require__.bind(__webpack_require__,43008))),163:ze.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(391),__webpack_require__.e(6883)]).then(__webpack_require__.bind(__webpack_require__,80961))),164:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(5265),__webpack_require__.e(2570)]).then(__webpack_require__.bind(__webpack_require__,79177))),165:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(5265),__webpack_require__.e(2570)]).then(__webpack_require__.bind(__webpack_require__,79177))),166:ze.lazy(()=>__webpack_require__.e(8787).then(__webpack_require__.bind(__webpack_require__,719))),167:ze.lazy(()=>__webpack_require__.e(5650).then(__webpack_require__.bind(__webpack_require__,14796))),168:ze.lazy(()=>__webpack_require__.e(1799).then(__webpack_require__.bind(__webpack_require__,5629))),169:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(5265),__webpack_require__.e(8797)]).then(__webpack_require__.bind(__webpack_require__,29526))),170:ze.lazy(()=>Promise.all([__webpack_require__.e(1433),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,40081))),171:ze.lazy(()=>__webpack_require__.e(8639).then(__webpack_require__.bind(__webpack_require__,37226))),172:ze.lazy(()=>__webpack_require__.e(2983).then(__webpack_require__.bind(__webpack_require__,24564))),173:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(4264)]).then(__webpack_require__.bind(__webpack_require__,96560))),174:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(4264)]).then(__webpack_require__.bind(__webpack_require__,96560))),175:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(508)]).then(__webpack_require__.bind(__webpack_require__,35918))),176:ze.lazy(()=>Promise.all([__webpack_require__.e(1433),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,40081))),177:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(1433),__webpack_require__.e(400),__webpack_require__.e(4599)]).then(__webpack_require__.bind(__webpack_require__,56474))),178:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(1433),__webpack_require__.e(1953)]).then(__webpack_require__.bind(__webpack_require__,85953))),179:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(1433),__webpack_require__.e(1953)]).then(__webpack_require__.bind(__webpack_require__,85953))),180:ze.lazy(()=>__webpack_require__.e(1581).then(__webpack_require__.bind(__webpack_require__,6413))),181:ze.lazy(()=>__webpack_require__.e(4144).then(__webpack_require__.bind(__webpack_require__,37852))),182:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(1433),__webpack_require__.e(400),__webpack_require__.e(4599)]).then(__webpack_require__.bind(__webpack_require__,56474))),183:ze.lazy(()=>Promise.all([__webpack_require__.e(1433),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,40081))),184:ze.lazy(()=>__webpack_require__.e(8782).then(__webpack_require__.bind(__webpack_require__,20186))),185:ze.lazy(()=>__webpack_require__.e(7884).then(__webpack_require__.bind(__webpack_require__,15352))),186:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(7008)]).then(__webpack_require__.bind(__webpack_require__,98622))),187:ze.lazy(()=>__webpack_require__.e(5549).then(__webpack_require__.bind(__webpack_require__,84246))),188:ze.lazy(()=>__webpack_require__.e(9674).then(__webpack_require__.bind(__webpack_require__,28092))),189:ze.lazy(()=>__webpack_require__.e(5573).then(__webpack_require__.bind(__webpack_require__,40580))),190:ze.lazy(()=>__webpack_require__.e(2141).then(__webpack_require__.bind(__webpack_require__,2751))),191:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(6411),__webpack_require__.e(33),__webpack_require__.e(6277)]).then(__webpack_require__.bind(__webpack_require__,69638))),192:ze.lazy(()=>__webpack_require__.e(6328).then(__webpack_require__.bind(__webpack_require__,21052))),193:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(7857)]).then(__webpack_require__.bind(__webpack_require__,46897))),194:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(1433),__webpack_require__.e(1657)]).then(__webpack_require__.bind(__webpack_require__,29040))),195:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(1433),__webpack_require__.e(1657)]).then(__webpack_require__.bind(__webpack_require__,29040))),196:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(1433),__webpack_require__.e(4498)]).then(__webpack_require__.bind(__webpack_require__,2134))),197:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(1433),__webpack_require__.e(4498)]).then(__webpack_require__.bind(__webpack_require__,2134))),198:ze.lazy(()=>__webpack_require__.e(9205).then(__webpack_require__.bind(__webpack_require__,56405))),199:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(1423)]).then(__webpack_require__.bind(__webpack_require__,92185))),200:ze.lazy(()=>__webpack_require__.e(7614).then(__webpack_require__.bind(__webpack_require__,63798))),201:ze.lazy(()=>__webpack_require__.e(2875).then(__webpack_require__.bind(__webpack_require__,78932))),202:ze.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(9133)]).then(__webpack_require__.bind(__webpack_require__,70624))),203:ze.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(8688)]).then(__webpack_require__.bind(__webpack_require__,51518))),204:ze.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(8688)]).then(__webpack_require__.bind(__webpack_require__,51518))),205:ze.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(5470)]).then(__webpack_require__.bind(__webpack_require__,18509))),206:ze.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(6541)]).then(__webpack_require__.bind(__webpack_require__,52021))),207:ze.lazy(()=>Promise.all([__webpack_require__.e(33),__webpack_require__.e(1475)]).then(__webpack_require__.bind(__webpack_require__,58100))),208:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(6411),__webpack_require__.e(2254)]).then(__webpack_require__.bind(__webpack_require__,71666))),209:ze.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(9408)]).then(__webpack_require__.bind(__webpack_require__,28744))),210:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(6411),__webpack_require__.e(6845)]).then(__webpack_require__.bind(__webpack_require__,72281))),211:ze.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(4884)]).then(__webpack_require__.bind(__webpack_require__,96146))),212:ze.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(4884)]).then(__webpack_require__.bind(__webpack_require__,96146))),213:ze.lazy(()=>__webpack_require__.e(1148).then(__webpack_require__.bind(__webpack_require__,6850))),214:ze.lazy(()=>__webpack_require__.e(1148).then(__webpack_require__.bind(__webpack_require__,6850))),215:ze.lazy(()=>__webpack_require__.e(7046).then(__webpack_require__.bind(__webpack_require__,83283))),216:ze.lazy(()=>__webpack_require__.e(7046).then(__webpack_require__.bind(__webpack_require__,83283))),217:ze.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(8688)]).then(__webpack_require__.bind(__webpack_require__,51518))),218:ze.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(8688)]).then(__webpack_require__.bind(__webpack_require__,51518))),219:ze.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(5096)]).then(__webpack_require__.bind(__webpack_require__,68639))),220:ze.lazy(()=>__webpack_require__.e(9215).then(__webpack_require__.bind(__webpack_require__,5134))),221:ze.lazy(()=>Promise.all([__webpack_require__.e(1433),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,40081))),222:ze.lazy(()=>__webpack_require__.e(5176).then(__webpack_require__.bind(__webpack_require__,59622))),223:ze.lazy(()=>__webpack_require__.e(6587).then(__webpack_require__.bind(__webpack_require__,65866))),224:ze.lazy(()=>__webpack_require__.e(9891).then(__webpack_require__.bind(__webpack_require__,86974))),225:ze.lazy(()=>__webpack_require__.e(8062).then(__webpack_require__.bind(__webpack_require__,49690))),226:ze.lazy(()=>__webpack_require__.e(5402).then(__webpack_require__.bind(__webpack_require__,50650))),227:ze.lazy(()=>__webpack_require__.e(5402).then(__webpack_require__.bind(__webpack_require__,50650))),228:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(6820)]).then(__webpack_require__.bind(__webpack_require__,8191))),229:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(8517)]).then(__webpack_require__.bind(__webpack_require__,31721))),230:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(7043)]).then(__webpack_require__.bind(__webpack_require__,80751))),231:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(2806)]).then(__webpack_require__.bind(__webpack_require__,53605))),232:ze.lazy(()=>__webpack_require__.e(5043).then(__webpack_require__.bind(__webpack_require__,8712))),233:ze.lazy(()=>__webpack_require__.e(799).then(__webpack_require__.bind(__webpack_require__,26021))),234:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(3157)]).then(__webpack_require__.bind(__webpack_require__,75992))),235:ze.lazy(()=>__webpack_require__.e(2529).then(__webpack_require__.bind(__webpack_require__,43116))),236:ze.lazy(()=>__webpack_require__.e(6583).then(__webpack_require__.bind(__webpack_require__,26501))),237:ze.lazy(()=>__webpack_require__.e(5895).then(__webpack_require__.bind(__webpack_require__,22802))),238:ze.lazy(()=>__webpack_require__.e(6982).then(__webpack_require__.bind(__webpack_require__,49451))),239:ze.lazy(()=>__webpack_require__.e(6805).then(__webpack_require__.bind(__webpack_require__,97118))),240:ze.lazy(()=>__webpack_require__.e(1416).then(__webpack_require__.bind(__webpack_require__,16430))),241:ze.lazy(()=>__webpack_require__.e(6583).then(__webpack_require__.bind(__webpack_require__,26501))),242:ze.lazy(()=>__webpack_require__.e(8307).then(__webpack_require__.bind(__webpack_require__,51705))),243:ze.lazy(()=>__webpack_require__.e(2826).then(__webpack_require__.bind(__webpack_require__,36806))),244:ze.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(2659)]).then(__webpack_require__.bind(__webpack_require__,31324))),245:ze.lazy(()=>__webpack_require__.e(4610).then(__webpack_require__.bind(__webpack_require__,88755))),246:ze.lazy(()=>__webpack_require__.e(9590).then(__webpack_require__.bind(__webpack_require__,81187))),247:ze.lazy(()=>__webpack_require__.e(2076).then(__webpack_require__.bind(__webpack_require__,62484))),248:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(4849)]).then(__webpack_require__.bind(__webpack_require__,20267))),249:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(310)]).then(__webpack_require__.bind(__webpack_require__,18460))),250:ze.lazy(()=>__webpack_require__.e(5191).then(__webpack_require__.bind(__webpack_require__,43173))),251:ze.lazy(()=>__webpack_require__.e(3496).then(__webpack_require__.bind(__webpack_require__,68861))),252:ze.lazy(()=>__webpack_require__.e(7948).then(__webpack_require__.bind(__webpack_require__,47412))),253:ze.lazy(()=>__webpack_require__.e(9519).then(__webpack_require__.bind(__webpack_require__,86576))),254:ze.lazy(()=>__webpack_require__.e(5599).then(__webpack_require__.bind(__webpack_require__,56543))),255:ze.lazy(()=>__webpack_require__.e(4736).then(__webpack_require__.bind(__webpack_require__,7942))),256:ze.lazy(()=>__webpack_require__.e(2412).then(__webpack_require__.bind(__webpack_require__,89993))),257:ze.lazy(()=>__webpack_require__.e(2240).then(__webpack_require__.bind(__webpack_require__,83184))),258:ze.lazy(()=>__webpack_require__.e(265).then(__webpack_require__.bind(__webpack_require__,14631))),259:ze.lazy(()=>__webpack_require__.e(9360).then(__webpack_require__.bind(__webpack_require__,88038))),260:ze.lazy(()=>__webpack_require__.e(2396).then(__webpack_require__.bind(__webpack_require__,35670))),261:ze.lazy(()=>__webpack_require__.e(7855).then(__webpack_require__.bind(__webpack_require__,99624))),262:ze.lazy(()=>__webpack_require__.e(9507).then(__webpack_require__.bind(__webpack_require__,69157))),263:ze.lazy(()=>__webpack_require__.e(1343).then(__webpack_require__.bind(__webpack_require__,11234))),264:ze.lazy(()=>__webpack_require__.e(599).then(__webpack_require__.bind(__webpack_require__,20599))),265:ze.lazy(()=>Promise.all([__webpack_require__.e(1433),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,40081))),266:ze.lazy(()=>__webpack_require__.e(9647).then(__webpack_require__.bind(__webpack_require__,3447))),267:ze.lazy(()=>__webpack_require__.e(485).then(__webpack_require__.bind(__webpack_require__,96555))),268:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(4741)]).then(__webpack_require__.bind(__webpack_require__,14222))),269:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(4741)]).then(__webpack_require__.bind(__webpack_require__,14222))),270:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(4994)]).then(__webpack_require__.bind(__webpack_require__,833))),271:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(4994)]).then(__webpack_require__.bind(__webpack_require__,833))),272:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(7460)]).then(__webpack_require__.bind(__webpack_require__,30197))),273:ze.lazy(()=>__webpack_require__.e(9716).then(__webpack_require__.bind(__webpack_require__,84958))),274:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(6913)]).then(__webpack_require__.bind(__webpack_require__,81171))),275:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(6913)]).then(__webpack_require__.bind(__webpack_require__,81171))),276:ze.lazy(()=>Promise.all([__webpack_require__.e(1433),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,40081))),277:ze.lazy(()=>__webpack_require__.e(3006).then(__webpack_require__.bind(__webpack_require__,62861))),278:ze.lazy(()=>__webpack_require__.e(2045).then(__webpack_require__.bind(__webpack_require__,10497))),279:ze.lazy(()=>__webpack_require__.e(1520).then(__webpack_require__.bind(__webpack_require__,2131))),280:ze.lazy(()=>__webpack_require__.e(9649).then(__webpack_require__.bind(__webpack_require__,62256))),281:ze.lazy(()=>__webpack_require__.e(4546).then(__webpack_require__.bind(__webpack_require__,872))),282:ze.lazy(()=>__webpack_require__.e(5357).then(__webpack_require__.bind(__webpack_require__,64361))),283:ze.lazy(()=>__webpack_require__.e(8665).then(__webpack_require__.bind(__webpack_require__,85761))),284:ze.lazy(()=>__webpack_require__.e(3183).then(__webpack_require__.bind(__webpack_require__,93875))),285:ze.lazy(()=>__webpack_require__.e(4800).then(__webpack_require__.bind(__webpack_require__,21202))),286:ze.lazy(()=>__webpack_require__.e(9489).then(__webpack_require__.bind(__webpack_require__,91460))),287:ze.lazy(()=>__webpack_require__.e(9391).then(__webpack_require__.bind(__webpack_require__,17689))),288:ze.lazy(()=>__webpack_require__.e(5335).then(__webpack_require__.bind(__webpack_require__,37222))),289:ze.lazy(()=>__webpack_require__.e(2823).then(__webpack_require__.bind(__webpack_require__,14455))),290:ze.lazy(()=>__webpack_require__.e(4973).then(__webpack_require__.bind(__webpack_require__,41313))),291:ze.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(6651)]).then(__webpack_require__.bind(__webpack_require__,46859))),292:ze.lazy(()=>__webpack_require__.e(6741).then(__webpack_require__.bind(__webpack_require__,5942))),293:ze.lazy(()=>__webpack_require__.e(5775).then(__webpack_require__.bind(__webpack_require__,15920))),294:ze.lazy(()=>__webpack_require__.e(2548).then(__webpack_require__.bind(__webpack_require__,76515))),295:ze.lazy(()=>__webpack_require__.e(599).then(__webpack_require__.bind(__webpack_require__,20599))),296:ze.lazy(()=>Promise.all([__webpack_require__.e(1433),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,40081))),297:ze.lazy(()=>__webpack_require__.e(6634).then(__webpack_require__.bind(__webpack_require__,97800))),298:ze.lazy(()=>__webpack_require__.e(680).then(__webpack_require__.bind(__webpack_require__,89705))),299:ze.lazy(()=>__webpack_require__.e(6366).then(__webpack_require__.bind(__webpack_require__,47363))),300:ze.lazy(()=>__webpack_require__.e(6452).then(__webpack_require__.bind(__webpack_require__,16302))),301:ze.lazy(()=>__webpack_require__.e(1070).then(__webpack_require__.bind(__webpack_require__,90894))),302:ze.lazy(()=>__webpack_require__.e(7242).then(__webpack_require__.bind(__webpack_require__,13747))),303:ze.lazy(()=>__webpack_require__.e(2707).then(__webpack_require__.bind(__webpack_require__,14828))),304:ze.lazy(()=>__webpack_require__.e(2865).then(__webpack_require__.bind(__webpack_require__,99436))),305:ze.lazy(()=>__webpack_require__.e(6784).then(__webpack_require__.bind(__webpack_require__,19552))),306:ze.lazy(()=>__webpack_require__.e(6784).then(__webpack_require__.bind(__webpack_require__,19552))),307:ze.lazy(()=>__webpack_require__.e(3141).then(__webpack_require__.bind(__webpack_require__,562))),308:ze.lazy(()=>__webpack_require__.e(599).then(__webpack_require__.bind(__webpack_require__,20599))),309:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(6411),__webpack_require__.e(1433),__webpack_require__.e(3665)]).then(__webpack_require__.bind(__webpack_require__,60483))),310:ze.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(1433),__webpack_require__.e(700)]).then(__webpack_require__.bind(__webpack_require__,40678))),311:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(6411),__webpack_require__.e(1433),__webpack_require__.e(3665)]).then(__webpack_require__.bind(__webpack_require__,60483))),312:ze.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(1433),__webpack_require__.e(700)]).then(__webpack_require__.bind(__webpack_require__,40678))),313:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(6411),__webpack_require__.e(1433),__webpack_require__.e(3665)]).then(__webpack_require__.bind(__webpack_require__,60483))),314:ze.lazy(()=>__webpack_require__.e(599).then(__webpack_require__.bind(__webpack_require__,20599))),315:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(7527)]).then(__webpack_require__.bind(__webpack_require__,72222))),316:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(6270)]).then(__webpack_require__.bind(__webpack_require__,91176))),317:ze.lazy(()=>Promise.all([__webpack_require__.e(1433),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,40081))),318:ze.lazy(()=>__webpack_require__.e(547).then(__webpack_require__.bind(__webpack_require__,21119))),319:ze.lazy(()=>__webpack_require__.e(9788).then(__webpack_require__.bind(__webpack_require__,64348))),320:ze.lazy(()=>__webpack_require__.e(576).then(__webpack_require__.bind(__webpack_require__,21496))),321:ze.lazy(()=>__webpack_require__.e(7260).then(__webpack_require__.bind(__webpack_require__,95335))),322:ze.lazy(()=>__webpack_require__.e(4520).then(__webpack_require__.bind(__webpack_require__,45423))),323:ze.lazy(()=>__webpack_require__.e(9076).then(__webpack_require__.bind(__webpack_require__,37196))),324:ze.lazy(()=>__webpack_require__.e(4514).then(__webpack_require__.bind(__webpack_require__,36178))),325:ze.lazy(()=>__webpack_require__.e(4495).then(__webpack_require__.bind(__webpack_require__,86672))),326:ze.lazy(()=>Promise.all([__webpack_require__.e(1433),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,40081))),327:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(928)]).then(__webpack_require__.bind(__webpack_require__,10729))),328:ze.lazy(()=>__webpack_require__.e(1006).then(__webpack_require__.bind(__webpack_require__,54204))),329:ze.lazy(()=>__webpack_require__.e(1006).then(__webpack_require__.bind(__webpack_require__,54204))),330:ze.lazy(()=>Promise.all([__webpack_require__.e(1433),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,40081))),331:ze.lazy(()=>__webpack_require__.e(1939).then(__webpack_require__.bind(__webpack_require__,23395))),332:ze.lazy(()=>__webpack_require__.e(556).then(__webpack_require__.bind(__webpack_require__,68703))),333:ze.lazy(()=>__webpack_require__.e(6434).then(__webpack_require__.bind(__webpack_require__,3819))),334:ze.lazy(()=>__webpack_require__.e(1880).then(__webpack_require__.bind(__webpack_require__,39983))),335:ze.lazy(()=>__webpack_require__.e(8237).then(__webpack_require__.bind(__webpack_require__,79046))),336:ze.lazy(()=>__webpack_require__.e(3447).then(__webpack_require__.bind(__webpack_require__,47873))),337:ze.lazy(()=>__webpack_require__.e(264).then(__webpack_require__.bind(__webpack_require__,42176))),338:ze.lazy(()=>__webpack_require__.e(4259).then(__webpack_require__.bind(__webpack_require__,92105))),339:ze.lazy(()=>Promise.all([__webpack_require__.e(1433),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,40081))),340:ze.lazy(()=>__webpack_require__.e(4078).then(__webpack_require__.bind(__webpack_require__,97128))),341:ze.lazy(()=>__webpack_require__.e(2829).then(__webpack_require__.bind(__webpack_require__,82821))),342:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(5359)]).then(__webpack_require__.bind(__webpack_require__,5211))),343:ze.lazy(()=>Promise.all([__webpack_require__.e(1433),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,40081))),344:ze.lazy(()=>__webpack_require__.e(559).then(__webpack_require__.bind(__webpack_require__,54587))),345:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(3747)]).then(__webpack_require__.bind(__webpack_require__,40599))),346:ze.lazy(()=>__webpack_require__.e(4757).then(__webpack_require__.bind(__webpack_require__,89955))),347:ze.lazy(()=>__webpack_require__.e(1783).then(__webpack_require__.bind(__webpack_require__,61471))),348:ze.lazy(()=>__webpack_require__.e(7477).then(__webpack_require__.bind(__webpack_require__,3279))),349:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(9677)]).then(__webpack_require__.bind(__webpack_require__,99661))),350:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(9677)]).then(__webpack_require__.bind(__webpack_require__,99661))),351:ze.lazy(()=>__webpack_require__.e(6796).then(__webpack_require__.bind(__webpack_require__,36546))),352:ze.lazy(()=>__webpack_require__.e(4504).then(__webpack_require__.bind(__webpack_require__,21105))),353:ze.lazy(()=>__webpack_require__.e(7058).then(__webpack_require__.bind(__webpack_require__,97769))),354:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(8447)]).then(__webpack_require__.bind(__webpack_require__,11369))),355:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(1045)]).then(__webpack_require__.bind(__webpack_require__,97927))),356:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(1045)]).then(__webpack_require__.bind(__webpack_require__,97927))),357:ze.lazy(()=>__webpack_require__.e(5238).then(__webpack_require__.bind(__webpack_require__,13793))),358:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(4715)]).then(__webpack_require__.bind(__webpack_require__,42100))),359:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(3873)]).then(__webpack_require__.bind(__webpack_require__,22330))),360:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(6069)]).then(__webpack_require__.bind(__webpack_require__,91591))),361:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(6069)]).then(__webpack_require__.bind(__webpack_require__,91591))),362:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(6265)]).then(__webpack_require__.bind(__webpack_require__,14291))),363:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(8563)]).then(__webpack_require__.bind(__webpack_require__,75673))),364:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(8563)]).then(__webpack_require__.bind(__webpack_require__,75673))),365:ze.lazy(()=>__webpack_require__.e(1713).then(__webpack_require__.bind(__webpack_require__,82125))),366:ze.lazy(()=>__webpack_require__.e(5891).then(__webpack_require__.bind(__webpack_require__,30654))),367:ze.lazy(()=>__webpack_require__.e(8398).then(__webpack_require__.bind(__webpack_require__,38542))),368:ze.lazy(()=>__webpack_require__.e(8241).then(__webpack_require__.bind(__webpack_require__,92314))),369:ze.lazy(()=>__webpack_require__.e(2339).then(__webpack_require__.bind(__webpack_require__,74232))),370:ze.lazy(()=>__webpack_require__.e(7589).then(__webpack_require__.bind(__webpack_require__,50983))),371:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(3747)]).then(__webpack_require__.bind(__webpack_require__,40599))),372:ze.lazy(()=>__webpack_require__.e(5705).then(__webpack_require__.bind(__webpack_require__,84033))),373:ze.lazy(()=>Promise.all([__webpack_require__.e(1433),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,40081))),374:ze.lazy(()=>__webpack_require__.e(559).then(__webpack_require__.bind(__webpack_require__,54587))),375:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(3747)]).then(__webpack_require__.bind(__webpack_require__,40599))),376:ze.lazy(()=>__webpack_require__.e(4757).then(__webpack_require__.bind(__webpack_require__,89955))),377:ze.lazy(()=>__webpack_require__.e(1783).then(__webpack_require__.bind(__webpack_require__,61471))),378:ze.lazy(()=>__webpack_require__.e(7477).then(__webpack_require__.bind(__webpack_require__,3279))),379:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(9677)]).then(__webpack_require__.bind(__webpack_require__,99661))),380:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(9677)]).then(__webpack_require__.bind(__webpack_require__,99661))),381:ze.lazy(()=>__webpack_require__.e(6796).then(__webpack_require__.bind(__webpack_require__,36546))),382:ze.lazy(()=>__webpack_require__.e(4504).then(__webpack_require__.bind(__webpack_require__,21105))),383:ze.lazy(()=>__webpack_require__.e(7058).then(__webpack_require__.bind(__webpack_require__,97769))),384:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(8447)]).then(__webpack_require__.bind(__webpack_require__,11369))),385:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(1045)]).then(__webpack_require__.bind(__webpack_require__,97927))),386:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(1045)]).then(__webpack_require__.bind(__webpack_require__,97927))),387:ze.lazy(()=>__webpack_require__.e(5238).then(__webpack_require__.bind(__webpack_require__,13793))),388:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(4715)]).then(__webpack_require__.bind(__webpack_require__,42100))),389:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(3873)]).then(__webpack_require__.bind(__webpack_require__,22330))),390:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(6069)]).then(__webpack_require__.bind(__webpack_require__,91591))),391:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(6069)]).then(__webpack_require__.bind(__webpack_require__,91591))),392:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(6265)]).then(__webpack_require__.bind(__webpack_require__,14291))),393:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(8563)]).then(__webpack_require__.bind(__webpack_require__,75673))),394:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(8563)]).then(__webpack_require__.bind(__webpack_require__,75673))),395:ze.lazy(()=>__webpack_require__.e(1713).then(__webpack_require__.bind(__webpack_require__,82125))),396:ze.lazy(()=>__webpack_require__.e(5891).then(__webpack_require__.bind(__webpack_require__,30654))),397:ze.lazy(()=>__webpack_require__.e(8398).then(__webpack_require__.bind(__webpack_require__,38542))),398:ze.lazy(()=>__webpack_require__.e(8241).then(__webpack_require__.bind(__webpack_require__,92314))),399:ze.lazy(()=>__webpack_require__.e(2339).then(__webpack_require__.bind(__webpack_require__,74232))),400:ze.lazy(()=>__webpack_require__.e(7589).then(__webpack_require__.bind(__webpack_require__,50983))),401:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(3747)]).then(__webpack_require__.bind(__webpack_require__,40599))),402:ze.lazy(()=>__webpack_require__.e(5705).then(__webpack_require__.bind(__webpack_require__,84033))),403:ze.lazy(()=>Promise.all([__webpack_require__.e(1433),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,40081))),404:ze.lazy(()=>__webpack_require__.e(4766).then(__webpack_require__.bind(__webpack_require__,28712))),405:ze.lazy(()=>__webpack_require__.e(7560).then(__webpack_require__.bind(__webpack_require__,27454))),406:ze.lazy(()=>__webpack_require__.e(6029).then(__webpack_require__.bind(__webpack_require__,33675))),407:ze.lazy(()=>__webpack_require__.e(5179).then(__webpack_require__.bind(__webpack_require__,58197))),408:ze.lazy(()=>__webpack_require__.e(4621).then(__webpack_require__.bind(__webpack_require__,57857))),409:ze.lazy(()=>Promise.all([__webpack_require__.e(1433),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,40081))),410:ze.lazy(()=>__webpack_require__.e(1831).then(__webpack_require__.bind(__webpack_require__,30266))),411:ze.lazy(()=>__webpack_require__.e(2539).then(__webpack_require__.bind(__webpack_require__,88036))),412:ze.lazy(()=>__webpack_require__.e(8143).then(__webpack_require__.bind(__webpack_require__,42463))),413:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(5624)]).then(__webpack_require__.bind(__webpack_require__,66493))),414:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(1461)]).then(__webpack_require__.bind(__webpack_require__,67489))),415:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(4492)]).then(__webpack_require__.bind(__webpack_require__,32891))),416:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(9416)]).then(__webpack_require__.bind(__webpack_require__,57895))),417:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(2443)]).then(__webpack_require__.bind(__webpack_require__,75411))),418:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(2443)]).then(__webpack_require__.bind(__webpack_require__,75411))),419:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(2443)]).then(__webpack_require__.bind(__webpack_require__,75411))),420:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(2443)]).then(__webpack_require__.bind(__webpack_require__,75411))),421:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(2443)]).then(__webpack_require__.bind(__webpack_require__,75411))),422:ze.lazy(()=>__webpack_require__.e(5022).then(__webpack_require__.bind(__webpack_require__,98372))),423:ze.lazy(()=>__webpack_require__.e(6063).then(__webpack_require__.bind(__webpack_require__,16486))),424:ze.lazy(()=>__webpack_require__.e(6063).then(__webpack_require__.bind(__webpack_require__,16486))),425:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(7545)]).then(__webpack_require__.bind(__webpack_require__,9))),426:ze.lazy(()=>__webpack_require__.e(1253).then(__webpack_require__.bind(__webpack_require__,16459))),427:ze.lazy(()=>Promise.all([__webpack_require__.e(1433),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,40081))),428:ze.lazy(()=>__webpack_require__.e(2216).then(__webpack_require__.bind(__webpack_require__,69623))),429:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(5382)]).then(__webpack_require__.bind(__webpack_require__,73171))),430:ze.lazy(()=>Promise.all([__webpack_require__.e(1433),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,40081))),431:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(6411),__webpack_require__.e(8823)]).then(__webpack_require__.bind(__webpack_require__,90309))),432:ze.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(5915)]).then(__webpack_require__.bind(__webpack_require__,89325))),433:ze.lazy(()=>Promise.all([__webpack_require__.e(1433),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,40081))),434:ze.lazy(()=>__webpack_require__.e(570).then(__webpack_require__.bind(__webpack_require__,14103))),435:ze.lazy(()=>Promise.all([__webpack_require__.e(1433),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,40081))),436:ze.lazy(()=>__webpack_require__.e(8365).then(__webpack_require__.bind(__webpack_require__,84575))),437:ze.lazy(()=>__webpack_require__.e(672).then(__webpack_require__.bind(__webpack_require__,6556))),438:ze.lazy(()=>__webpack_require__.e(4058).then(__webpack_require__.bind(__webpack_require__,38124))),439:ze.lazy(()=>Promise.all([__webpack_require__.e(1433),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,40081))),440:ze.lazy(()=>__webpack_require__.e(4056).then(__webpack_require__.bind(__webpack_require__,75503))),441:ze.lazy(()=>__webpack_require__.e(9487).then(__webpack_require__.bind(__webpack_require__,3518))),442:ze.lazy(()=>Promise.all([__webpack_require__.e(1433),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,40081))),443:ze.lazy(()=>__webpack_require__.e(532).then(__webpack_require__.bind(__webpack_require__,36693))),444:ze.lazy(()=>__webpack_require__.e(7178).then(__webpack_require__.bind(__webpack_require__,11112))),445:ze.lazy(()=>__webpack_require__.e(1660).then(__webpack_require__.bind(__webpack_require__,19041))),446:ze.lazy(()=>__webpack_require__.e(7333).then(__webpack_require__.bind(__webpack_require__,76904))),447:ze.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(4227)]).then(__webpack_require__.bind(__webpack_require__,63295))),448:ze.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(8155)]).then(__webpack_require__.bind(__webpack_require__,4280))),449:ze.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(5186)]).then(__webpack_require__.bind(__webpack_require__,29069))),450:ze.lazy(()=>__webpack_require__.e(5786).then(__webpack_require__.bind(__webpack_require__,28128))),451:ze.lazy(()=>__webpack_require__.e(9366).then(__webpack_require__.bind(__webpack_require__,54240))),452:ze.lazy(()=>__webpack_require__.e(5972).then(__webpack_require__.bind(__webpack_require__,23900))),453:ze.lazy(()=>__webpack_require__.e(9366).then(__webpack_require__.bind(__webpack_require__,54240))),454:ze.lazy(()=>__webpack_require__.e(1470).then(__webpack_require__.bind(__webpack_require__,39090))),455:ze.lazy(()=>__webpack_require__.e(7182).then(__webpack_require__.bind(__webpack_require__,20649))),456:ze.lazy(()=>Promise.all([__webpack_require__.e(1433),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,40081))),457:ze.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(2476)]).then(__webpack_require__.bind(__webpack_require__,57915))),458:ze.lazy(()=>Promise.all([__webpack_require__.e(1433),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,40081))),459:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(5729)]).then(__webpack_require__.bind(__webpack_require__,24721))),460:ze.lazy(()=>Promise.all([__webpack_require__.e(1433),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,40081))),461:ze.lazy(()=>__webpack_require__.e(6444).then(__webpack_require__.bind(__webpack_require__,62904))),462:ze.lazy(()=>__webpack_require__.e(5111).then(__webpack_require__.bind(__webpack_require__,87038))),463:ze.lazy(()=>__webpack_require__.e(2307).then(__webpack_require__.bind(__webpack_require__,33262))),464:ze.lazy(()=>Promise.all([__webpack_require__.e(1433),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,40081))),465:ze.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(391),__webpack_require__.e(8866)]).then(__webpack_require__.bind(__webpack_require__,14917))),466:ze.lazy(()=>__webpack_require__.e(2300).then(__webpack_require__.bind(__webpack_require__,33662))),467:ze.lazy(()=>__webpack_require__.e(2501).then(__webpack_require__.bind(__webpack_require__,57548))),468:ze.lazy(()=>__webpack_require__.e(3212).then(__webpack_require__.bind(__webpack_require__,13540))),469:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(6904)]).then(__webpack_require__.bind(__webpack_require__,88986))),470:ze.lazy(()=>__webpack_require__.e(1855).then(__webpack_require__.bind(__webpack_require__,93185))),471:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(6904)]).then(__webpack_require__.bind(__webpack_require__,88986))),472:ze.lazy(()=>__webpack_require__.e(1276).then(__webpack_require__.bind(__webpack_require__,86308))),473:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(5816)]).then(__webpack_require__.bind(__webpack_require__,12624))),474:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(5816)]).then(__webpack_require__.bind(__webpack_require__,12624))),475:ze.lazy(()=>__webpack_require__.e(3784).then(__webpack_require__.bind(__webpack_require__,19560))),476:ze.lazy(()=>__webpack_require__.e(3862).then(__webpack_require__.bind(__webpack_require__,18430))),477:ze.lazy(()=>__webpack_require__.e(4565).then(__webpack_require__.bind(__webpack_require__,57050))),478:ze.lazy(()=>__webpack_require__.e(6531).then(__webpack_require__.bind(__webpack_require__,60279))),479:ze.lazy(()=>__webpack_require__.e(6170).then(__webpack_require__.bind(__webpack_require__,32717))),480:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(4496)]).then(__webpack_require__.bind(__webpack_require__,22255))),481:ze.lazy(()=>__webpack_require__.e(1836).then(__webpack_require__.bind(__webpack_require__,79752))),482:ze.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(8435)]).then(__webpack_require__.bind(__webpack_require__,36464))),483:ze.lazy(()=>__webpack_require__.e(3509).then(__webpack_require__.bind(__webpack_require__,94878))),484:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(4496)]).then(__webpack_require__.bind(__webpack_require__,22255))),485:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(4496)]).then(__webpack_require__.bind(__webpack_require__,22255))),486:ze.lazy(()=>__webpack_require__.e(6034).then(__webpack_require__.bind(__webpack_require__,43982))),487:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(8999)]).then(__webpack_require__.bind(__webpack_require__,49851))),488:ze.lazy(()=>__webpack_require__.e(3910).then(__webpack_require__.bind(__webpack_require__,53727))),489:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(67)]).then(__webpack_require__.bind(__webpack_require__,73752))),490:ze.lazy(()=>__webpack_require__.e(6531).then(__webpack_require__.bind(__webpack_require__,60279))),"@@/global-layout":ze.lazy(()=>__webpack_require__.e(1717).then(__webpack_require__.bind(__webpack_require__,60990)))}}})}var I=__webpack_require__(3191),O=__webpack_require__(58293),L=__webpack_require__(71418),ve=__webpack_require__(5755),Re=()=>ze.createElement(L.Z,{size:"middle",className:ve.Z.loading}),rn=__webpack_require__(25690),jn=__webpack_require__(61186),ln=__webpack_require__.n(jn),Pi=__webpack_require__(91392),Ha=__webpack_require__.n(Pi),Ta=__webpack_require__(34749),Gs=__webpack_require__.n(Ta),ts=__webpack_require__(19277),_o=__webpack_require__.n(ts),xs=__webpack_require__(10238),Jl=__webpack_require__.n(xs),fc=__webpack_require__(33656),ec=__webpack_require__.n(fc),Ml=__webpack_require__(90111),cl=__webpack_require__.n(Ml),Ii=__webpack_require__(74959),fl=__webpack_require__.n(Ii),dc=__webpack_require__(23250),Co=__webpack_require__.n(dc),ro=__webpack_require__(58862),Qa=__webpack_require__.n(ro),Zu=__webpack_require__(58319),Hu=__webpack_require__.n(Zu),hc=__webpack_require__(62053),qu=__webpack_require__.n(hc),dl=__webpack_require__(47477),Yc=__webpack_require__.n(dl),tc=__webpack_require__(59717),hl=__webpack_require__.n(tc);ln().extend(Gs()),ln().extend(_o()),ln().extend(Jl()),ln().extend(ec()),ln().extend(cl()),ln().extend(fl()),ln().extend(Co()),ln().extend(Qa()),ln().extend(Hu()),ln().extend(qu()),ln().extend(Yc()),ln().extend(hl()),ln().extend(Ha());var pc=Object.defineProperty,_c=Object.getOwnPropertySymbols,Xc=Object.prototype.hasOwnProperty,ru=Object.prototype.propertyIsEnumerable,Wu=(Sn,Wn,Ni)=>Wn in Sn?pc(Sn,Wn,{enumerable:!0,configurable:!0,writable:!0,value:Ni}):Sn[Wn]=Ni,pl=(Sn,Wn)=>{for(var Ni in Wn||(Wn={}))Xc.call(Wn,Ni)&&Wu(Sn,Ni,Wn[Ni]);if(_c)for(var Ni of _c(Wn))ru.call(Wn,Ni)&&Wu(Sn,Ni,Wn[Ni]);return Sn},mc=(Sn,Wn,Ni)=>new Promise((ba,Vi)=>{var na=ji=>{try{hs(Ni.next(ji))}catch(ps){Vi(ps)}},ma=ji=>{try{hs(Ni.throw(ji))}catch(ps){Vi(ps)}},hs=ji=>ji.done?ba(ji.value):Promise.resolve(ji.value).then(na,ma);hs((Ni=Ni.apply(Sn,Wn)).next())});const mu="/react/build/",vc=!1;function Ju(){return mc(this,null,function*(){const Sn=(0,I.gD)(),{routes:Wn,routeComponents:Ni}=yield Kc(Sn);yield Sn.applyPlugins({key:"patchRoutes",type:rn.ApplyPluginsType.event,args:{routes:Wn,routeComponents:Ni}});const ba=Sn.applyPlugins({key:"modifyContextOpts",type:rn.ApplyPluginsType.modify,initialValue:{}}),Vi=ba.basename||"/",na=ba.historyType||"browser",ma=(0,O.fi)(pl({type:na,basename:Vi},ba.historyOpts));return Sn.applyPlugins({key:"render",type:rn.ApplyPluginsType.compose,initialValue(){const hs={useStream:!0,routes:Wn,routeComponents:Ni,pluginManager:Sn,mountElementId:"root",rootElement:ba.rootElement||document.getElementById("root"),loadingComponent:Re,publicPath:mu,runtimePublicPath:vc,history:ma,historyType:na,basename:Vi,__INTERNAL_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:{pureApp:!1,pureHtml:!1},callback:ba.callback},ji=Sn.applyPlugins({key:"modifyClientRenderOpts",type:rn.ApplyPluginsType.modify,initialValue:hs});return Rc(ji)}})()})}Ju(),typeof window!="undefined"&&(window.g_umi={version:"4.4.11"})})()})();
|