You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
NewEduCoderBuild/umi.1b412092.js

1486 lines
2.8 MiB

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

(function(){var __webpack_modules__={30071:function(d,v,e){"use strict";e.r(v),e.d(v,{blue:function(){return oe},blueDark:function(){return $e},cyan:function(){return ne},cyanDark:function(){return We},geekblue:function(){return J},geekblueDark:function(){return Lt},generate:function(){return A},gold:function(){return V},goldDark:function(){return ie},gray:function(){return ee},green:function(){return ae},greenDark:function(){return Pe},grey:function(){return se},greyDark:function(){return Zt},lime:function(){return H},limeDark:function(){return Ae},magenta:function(){return K},magentaDark:function(){return kt},orange:function(){return N},orangeDark:function(){return $},presetDarkPalettes:function(){return Mt},presetPalettes:function(){return Q},presetPrimaryColors:function(){return I},purple:function(){return q},purpleDark:function(){return bt},red:function(){return M},redDark:function(){return le},volcano:function(){return B},volcanoDark:function(){return z},yellow:function(){return W},yellowDark:function(){return _e}});var r=e(20068);const i=Math.round;function l(tr,je){const wt=tr.replace(/^[^(]*\((.*)/,"$1").replace(/\).*/,"").match(/\d*\.?\d+%?/g)||[],Ft=wt.map(tt=>parseFloat(tt));for(let tt=0;tt<3;tt+=1)Ft[tt]=je(Ft[tt]||0,wt[tt]||"",tt);return wt[3]?Ft[3]=wt[3].includes("%")?Ft[3]/100:Ft[3]:Ft[3]=1,Ft}const c=(tr,je,wt)=>wt===0?tr:tr/100;function f(tr,je){const wt=je||255;return tr>wt?wt:tr<0?0:tr}class o{constructor(je){(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 wt(Ft){return Ft[0]in je&&Ft[1]in je&&Ft[2]in je}if(je)if(typeof je=="string"){let tt=function(gt){return Ft.startsWith(gt)};const Ft=je.trim();/^#?[A-F\d]{3,8}$/i.test(Ft)?this.fromHexString(Ft):tt("rgb")?this.fromRgbString(Ft):tt("hsl")?this.fromHslString(Ft):(tt("hsv")||tt("hsb"))&&this.fromHsvString(Ft)}else if(je instanceof o)this.r=je.r,this.g=je.g,this.b=je.b,this.a=je.a,this._h=je._h,this._s=je._s,this._l=je._l,this._v=je._v;else if(wt("rgb"))this.r=f(je.r),this.g=f(je.g),this.b=f(je.b),this.a=typeof je.a=="number"?f(je.a,1):1;else if(wt("hsl"))this.fromHsl(je);else if(wt("hsv"))this.fromHsv(je);else throw new Error("@ant-design/fast-color: unsupported input "+JSON.stringify(je))}setR(je){return this._sc("r",je)}setG(je){return this._sc("g",je)}setB(je){return this._sc("b",je)}setA(je){return this._sc("a",je,1)}setHue(je){const wt=this.toHsv();return wt.h=je,this._c(wt)}getLuminance(){function je(gt){const ft=gt/255;return ft<=.03928?ft/12.92:Math.pow((ft+.055)/1.055,2.4)}const wt=je(this.r),Ft=je(this.g),tt=je(this.b);return .2126*wt+.7152*Ft+.0722*tt}getHue(){if(typeof this._h=="undefined"){const je=this.getMax()-this.getMin();je===0?this._h=0:this._h=i(60*(this.r===this.getMax()?(this.g-this.b)/je+(this.g<this.b?6:0):this.g===this.getMax()?(this.b-this.r)/je+2:(this.r-this.g)/je+4))}return this._h}getSaturation(){if(typeof this._s=="undefined"){const je=this.getMax()-this.getMin();je===0?this._s=0:this._s=je/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(je=10){const wt=this.getHue(),Ft=this.getSaturation();let tt=this.getLightness()-je/100;return tt<0&&(tt=0),this._c({h:wt,s:Ft,l:tt,a:this.a})}lighten(je=10){const wt=this.getHue(),Ft=this.getSaturation();let tt=this.getLightness()+je/100;return tt>1&&(tt=1),this._c({h:wt,s:Ft,l:tt,a:this.a})}mix(je,wt=50){const Ft=this._c(je),tt=wt/100,gt=Qe=>(Ft[Qe]-this[Qe])*tt+this[Qe],ft={r:i(gt("r")),g:i(gt("g")),b:i(gt("b")),a:i(gt("a")*100)/100};return this._c(ft)}tint(je=10){return this.mix({r:255,g:255,b:255,a:1},je)}shade(je=10){return this.mix({r:0,g:0,b:0,a:1},je)}onBackground(je){const wt=this._c(je),Ft=this.a+wt.a*(1-this.a),tt=gt=>i((this[gt]*this.a+wt[gt]*wt.a*(1-this.a))/Ft);return this._c({r:tt("r"),g:tt("g"),b:tt("b"),a:Ft})}isDark(){return this.getBrightness()<128}isLight(){return this.getBrightness()>=128}equals(je){return this.r===je.r&&this.g===je.g&&this.b===je.b&&this.a===je.a}clone(){return this._c(this)}toHexString(){let je="#";const wt=(this.r||0).toString(16);je+=wt.length===2?wt:"0"+wt;const Ft=(this.g||0).toString(16);je+=Ft.length===2?Ft:"0"+Ft;const tt=(this.b||0).toString(16);if(je+=tt.length===2?tt:"0"+tt,typeof this.a=="number"&&this.a>=0&&this.a<1){const gt=i(this.a*255).toString(16);je+=gt.length===2?gt:"0"+gt}return je}toHsl(){return{h:this.getHue(),s:this.getSaturation(),l:this.getLightness(),a:this.a}}toHslString(){const je=this.getHue(),wt=i(this.getSaturation()*100),Ft=i(this.getLightness()*100);return this.a!==1?`hsla(${je},${wt}%,${Ft}%,${this.a})`:`hsl(${je},${wt}%,${Ft}%)`}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(je,wt,Ft){const tt=this.clone();return tt[je]=f(wt,Ft),tt}_c(je){return new this.constructor(je)}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(je){const wt=je.replace("#","");function Ft(tt,gt){return parseInt(wt[tt]+wt[gt||tt],16)}wt.length<6?(this.r=Ft(0),this.g=Ft(1),this.b=Ft(2),this.a=wt[3]?Ft(3)/255:1):(this.r=Ft(0,1),this.g=Ft(2,3),this.b=Ft(4,5),this.a=wt[6]?Ft(6,7)/255:1)}fromHsl({h:je,s:wt,l:Ft,a:tt}){if(this._h=je%360,this._s=wt,this._l=Ft,this.a=typeof tt=="number"?tt:1,wt<=0){const He=i(Ft*255);this.r=He,this.g=He,this.b=He}let gt=0,ft=0,Qe=0;const Ne=je/60,xe=(1-Math.abs(2*Ft-1))*wt,ke=xe*(1-Math.abs(Ne%2-1));Ne>=0&&Ne<1?(gt=xe,ft=ke):Ne>=1&&Ne<2?(gt=ke,ft=xe):Ne>=2&&Ne<3?(ft=xe,Qe=ke):Ne>=3&&Ne<4?(ft=ke,Qe=xe):Ne>=4&&Ne<5?(gt=ke,Qe=xe):Ne>=5&&Ne<6&&(gt=xe,Qe=ke);const Ge=Ft-xe/2;this.r=i((gt+Ge)*255),this.g=i((ft+Ge)*255),this.b=i((Qe+Ge)*255)}fromHsv({h:je,s:wt,v:Ft,a:tt}){this._h=je%360,this._s=wt,this._v=Ft,this.a=typeof tt=="number"?tt:1;const gt=i(Ft*255);if(this.r=gt,this.g=gt,this.b=gt,wt<=0)return;const ft=je/60,Qe=Math.floor(ft),Ne=ft-Qe,xe=i(Ft*(1-wt)*255),ke=i(Ft*(1-wt*Ne)*255),Ge=i(Ft*(1-wt*(1-Ne))*255);switch(Qe){case 0:this.g=Ge,this.b=xe;break;case 1:this.r=ke,this.b=xe;break;case 2:this.r=xe,this.b=Ge;break;case 3:this.r=xe,this.g=ke;break;case 4:this.r=Ge,this.g=xe;break;case 5:default:this.g=xe,this.b=ke;break}}fromHsvString(je){const wt=l(je,c);this.fromHsv({h:wt[0],s:wt[1],v:wt[2],a:wt[3]})}fromHslString(je){const wt=l(je,c);this.fromHsl({h:wt[0],s:wt[1],l:wt[2],a:wt[3]})}fromRgbString(je){const wt=l(je,(Ft,tt)=>tt.includes("%")?i(Ft/100*255):Ft);this.r=wt[0],this.g=wt[1],this.b=wt[2],this.a=wt[3]}}var h=2,u=.16,a=.05,x=.05,p=.15,y=5,_=4,b=[{index:7,amount:15},{index:6,amount:25},{index:5,amount:30},{index:5,amount:45},{index:5,amount:65},{index:5,amount:85},{index:4,amount:90},{index:3,amount:95},{index:2,amount:97},{index:1,amount:98}];function S(tr,je,wt){var Ft;return Math.round(tr.h)>=60&&Math.round(tr.h)<=240?Ft=wt?Math.round(tr.h)-h*je:Math.round(tr.h)+h*je:Ft=wt?Math.round(tr.h)+h*je:Math.round(tr.h)-h*je,Ft<0?Ft+=360:Ft>=360&&(Ft-=360),Ft}function k(tr,je,wt){if(tr.h===0&&tr.s===0)return tr.s;var Ft;return wt?Ft=tr.s-u*je:je===_?Ft=tr.s+u:Ft=tr.s+a*je,Ft>1&&(Ft=1),wt&&je===y&&Ft>.1&&(Ft=.1),Ft<.06&&(Ft=.06),Math.round(Ft*100)/100}function R(tr,je,wt){var Ft;return wt?Ft=tr.v+x*je:Ft=tr.v-p*je,Ft=Math.max(0,Math.min(1,Ft)),Math.round(Ft*100)/100}function A(tr){for(var je=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},wt=[],Ft=new o(tr),tt=Ft.toHsv(),gt=y;gt>0;gt-=1){var ft=new o({h:S(tt,gt,!0),s:k(tt,gt,!0),v:R(tt,gt,!0)});wt.push(ft)}wt.push(Ft);for(var Qe=1;Qe<=_;Qe+=1){var Ne=new o({h:S(tt,Qe),s:k(tt,Qe),v:R(tt,Qe)});wt.push(Ne)}return je.theme==="dark"?b.map(function(xe){var ke=xe.index,Ge=xe.amount;return new o(je.backgroundColor||"#141414").mix(wt[ke],Ge).toHexString()}):wt.map(function(xe){return xe.toHexString()})}var I={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 V=["#fffbe6","#fff1b8","#ffe58f","#ffd666","#ffc53d","#faad14","#d48806","#ad6800","#874d00","#613400"];V.primary=V[5];var W=["#feffe6","#ffffb8","#fffb8f","#fff566","#ffec3d","#fadb14","#d4b106","#ad8b00","#876800","#614700"];W.primary=W[5];var H=["#fcffe6","#f4ffb8","#eaff8f","#d3f261","#bae637","#a0d911","#7cb305","#5b8c00","#3f6600","#254000"];H.primary=H[5];var ae=["#f6ffed","#d9f7be","#b7eb8f","#95de64","#73d13d","#52c41a","#389e0d","#237804","#135200","#092b00"];ae.primary=ae[5];var ne=["#e6fffb","#b5f5ec","#87e8de","#5cdbd3","#36cfc9","#13c2c2","#08979c","#006d75","#00474f","#002329"];ne.primary=ne[5];var oe=["#e6f4ff","#bae0ff","#91caff","#69b1ff","#4096ff","#1677ff","#0958d9","#003eb3","#002c8c","#001d66"];oe.primary=oe[5];var J=["#f0f5ff","#d6e4ff","#adc6ff","#85a5ff","#597ef7","#2f54eb","#1d39c4","#10239e","#061178","#030852"];J.primary=J[5];var q=["#f9f0ff","#efdbff","#d3adf7","#b37feb","#9254de","#722ed1","#531dab","#391085","#22075e","#120338"];q.primary=q[5];var K=["#fff0f6","#ffd6e7","#ffadd2","#ff85c0","#f759ab","#eb2f96","#c41d7f","#9e1068","#780650","#520339"];K.primary=K[5];var se=["#a6a6a6","#999999","#8c8c8c","#808080","#737373","#666666","#404040","#1a1a1a","#000000","#000000"];se.primary=se[5];var ee=se,Q={red:M,volcano:B,orange:N,gold:V,yellow:W,lime:H,green:ae,cyan:ne,blue:oe,geekblue:J,purple:q,magenta:K,grey:se},le=["#2a1215","#431418","#58181c","#791a1f","#a61d24","#d32029","#e84749","#f37370","#f89f9a","#fac8c3"];le.primary=le[5];var z=["#2b1611","#441d12","#592716","#7c3118","#aa3e19","#d84a1b","#e87040","#f3956a","#f8b692","#fad4bc"];z.primary=z[5];var $=["#2b1d11","#442a11","#593815","#7c4a15","#aa6215","#d87a16","#e89a3c","#f3b765","#f8cf8d","#fae3b7"];$.primary=$[5];var ie=["#2b2111","#443111","#594214","#7c5914","#aa7714","#d89614","#e8b339","#f3cc62","#f8df8b","#faedb5"];ie.primary=ie[5];var _e=["#2b2611","#443b11","#595014","#7c6e14","#aa9514","#d8bd14","#e8d639","#f3ea62","#f8f48b","#fafab5"];_e.primary=_e[5];var Ae=["#1f2611","#2e3c10","#3e4f13","#536d13","#6f9412","#8bbb11","#a9d134","#c9e75d","#e4f88b","#f0fab5"];Ae.primary=Ae[5];var Pe=["#162312","#1d3712","#274916","#306317","#3c8618","#49aa19","#6abe39","#8fd460","#b2e58b","#d5f2bb"];Pe.primary=Pe[5];var We=["#112123","#113536","#144848","#146262","#138585","#13a8a8","#33bcb7","#58d1c9","#84e2d8","#b2f1e8"];We.primary=We[5];var $e=["#111a2c","#112545","#15325b","#15417e","#1554ad","#1668dc","#3c89e8","#65a9f3","#8dc5f8","#b7dcfa"];$e.primary=$e[5];var Lt=["#131629","#161d40","#1c2755","#203175","#263ea0","#2b4acb","#5273e0","#7f9ef3","#a8c1f8","#d2e0fa"];Lt.primary=Lt[5];var bt=["#1a1325","#24163a","#301c4d","#3e2069","#51258f","#642ab5","#854eca","#ab7ae0","#cda8f0","#ebd7fa"];bt.primary=bt[5];var kt=["#291321","#40162f","#551c3b","#75204f","#a02669","#cb2b83","#e0529c","#f37fb7","#f8a8cc","#fad2e3"];kt.primary=kt[5];var Zt=["#151515","#1f1f1f","#2d2d2d","#393939","#494949","#5a5a5a","#6a6a6a","#7b7b7b","#888888","#969696"];Zt.primary=Zt[5];var Mt={red:le,volcano:z,orange:$,gold:ie,yellow:_e,lime:Ae,green:Pe,cyan:We,blue:$e,geekblue:Lt,purple:bt,magenta:kt,grey:Zt}},36237:function(d,v,e){"use strict";e.r(v),e.d(v,{Keyframes:function(){return Ro},NaNLinter:function(){return Ja},StyleContext:function(){return ne},StyleProvider:function(){return ae},Theme:function(){return kt},_experimental:function(){return Uo},createCache:function(){return W},createTheme:function(){return Mt},extractStyle:function(){return qu},genCalc:function(){return Pe},getComputedToken:function(){return mr},legacyLogicalPropertiesTransformer:function(){return Mu},legacyNotSelectorLinter:function(){return Rs},logicalPropertiesLinter:function(){return fo},parentSelectorLinter:function(){return Ps},px2remTransformer:function(){return tu},token2CSSVar:function(){return Me},unit:function(){return nr},useCSSVarRegister:function(){return ko},useCacheToken:function(){return on},useStyleRegister:function(){return as}});var r=e(42978),i=e(20068),l=e(94480),c=e(33885);function f(Jt){for(var dr=0,ur,hr=0,Sr=Jt.length;Sr>=4;++hr,Sr-=4)ur=Jt.charCodeAt(hr)&255|(Jt.charCodeAt(++hr)&255)<<8|(Jt.charCodeAt(++hr)&255)<<16|(Jt.charCodeAt(++hr)&255)<<24,ur=(ur&65535)*1540483477+((ur>>>16)*59797<<16),ur^=ur>>>24,dr=(ur&65535)*1540483477+((ur>>>16)*59797<<16)^(dr&65535)*1540483477+((dr>>>16)*59797<<16);switch(Sr){case 3:dr^=(Jt.charCodeAt(hr+2)&255)<<16;case 2:dr^=(Jt.charCodeAt(hr+1)&255)<<8;case 1:dr^=Jt.charCodeAt(hr)&255,dr=(dr&65535)*1540483477+((dr>>>16)*59797<<16)}return dr^=dr>>>13,dr=(dr&65535)*1540483477+((dr>>>16)*59797<<16),((dr^dr>>>15)>>>0).toString(36)}var o=f,h=e(810),u=e(59301),a=e.t(u,2),x=e(75931),p=e(80547),y=e(13697),_=e(67732),b=e(83652),S="%";function k(Jt){return Jt.join(S)}var R=function(){function Jt(dr){(0,_.Z)(this,Jt),(0,i.Z)(this,"instanceId",void 0),(0,i.Z)(this,"cache",new Map),(0,i.Z)(this,"extracted",new Set),this.instanceId=dr}return(0,b.Z)(Jt,[{key:"get",value:function(ur){return this.opGet(k(ur))}},{key:"opGet",value:function(ur){return this.cache.get(ur)||null}},{key:"update",value:function(ur,hr){return this.opUpdate(k(ur),hr)}},{key:"opUpdate",value:function(ur,hr){var Sr=this.cache.get(ur),yn=hr(Sr);yn===null?this.cache.delete(ur):this.cache.set(ur,yn)}}]),Jt}(),A=R,I=["children"],M="data-token-hash",B="data-css-hash",N="data-cache-path",V="__cssinjs_instance__";function W(){var Jt=Math.random().toString(12).slice(2);if(typeof document!="undefined"&&document.head&&document.body){var dr=document.body.querySelectorAll("style[".concat(B,"]"))||[],ur=document.head.firstChild;Array.from(dr).forEach(function(Sr){Sr[V]=Sr[V]||Jt,Sr[V]===Jt&&document.head.insertBefore(Sr,ur)});var hr={};Array.from(document.querySelectorAll("style[".concat(B,"]"))).forEach(function(Sr){var yn=Sr.getAttribute(B);if(hr[yn]){if(Sr[V]===Jt){var Zn;(Zn=Sr.parentNode)===null||Zn===void 0||Zn.removeChild(Sr)}}else hr[yn]=!0})}return new A(Jt)}var H=u.createContext({hashPriority:"low",cache:W(),defaultCache:!0}),ae=function(dr){var ur=dr.children,hr=(0,x.Z)(dr,I),Sr=u.useContext(H),yn=(0,p.Z)(function(){var Zn=(0,c.Z)({},Sr);Object.keys(hr).forEach(function(Hn){var li=hr[Hn];hr[Hn]!==void 0&&(Zn[Hn]=li)});var Rn=hr.cache;return Zn.cache=Zn.cache||W(),Zn.defaultCache=!Rn&&Sr.defaultCache,Zn},[Sr,hr],function(Zn,Rn){return!(0,y.Z)(Zn[0],Rn[0],!0)||!(0,y.Z)(Zn[1],Rn[1],!0)});return u.createElement(H.Provider,{value:yn},ur)},ne=H,oe=e(76190),J=e(47273),q=e(31226),K=e(42403),se=e(158),ee=(0,b.Z)(function Jt(){(0,_.Z)(this,Jt)}),Q=ee,le="CALC_UNIT",z=new RegExp(le,"g");function $(Jt){return typeof Jt=="number"?"".concat(Jt).concat(le):Jt}var ie=function(Jt){(0,K.Z)(ur,Jt);var dr=(0,se.Z)(ur);function ur(hr,Sr){var yn;(0,_.Z)(this,ur),yn=dr.call(this),(0,i.Z)((0,q.Z)(yn),"result",""),(0,i.Z)((0,q.Z)(yn),"unitlessCssVar",void 0),(0,i.Z)((0,q.Z)(yn),"lowPriority",void 0);var Zn=(0,oe.Z)(hr);return yn.unitlessCssVar=Sr,hr instanceof ur?yn.result="(".concat(hr.result,")"):Zn==="number"?yn.result=$(hr):Zn==="string"&&(yn.result=hr),yn}return(0,b.Z)(ur,[{key:"add",value:function(Sr){return Sr instanceof ur?this.result="".concat(this.result," + ").concat(Sr.getResult()):(typeof Sr=="number"||typeof Sr=="string")&&(this.result="".concat(this.result," + ").concat($(Sr))),this.lowPriority=!0,this}},{key:"sub",value:function(Sr){return Sr instanceof ur?this.result="".concat(this.result," - ").concat(Sr.getResult()):(typeof Sr=="number"||typeof Sr=="string")&&(this.result="".concat(this.result," - ").concat($(Sr))),this.lowPriority=!0,this}},{key:"mul",value:function(Sr){return this.lowPriority&&(this.result="(".concat(this.result,")")),Sr instanceof ur?this.result="".concat(this.result," * ").concat(Sr.getResult(!0)):(typeof Sr=="number"||typeof Sr=="string")&&(this.result="".concat(this.result," * ").concat(Sr)),this.lowPriority=!1,this}},{key:"div",value:function(Sr){return this.lowPriority&&(this.result="(".concat(this.result,")")),Sr instanceof ur?this.result="".concat(this.result," / ").concat(Sr.getResult(!0)):(typeof Sr=="number"||typeof Sr=="string")&&(this.result="".concat(this.result," / ").concat(Sr)),this.lowPriority=!1,this}},{key:"getResult",value:function(Sr){return this.lowPriority||Sr?"(".concat(this.result,")"):this.result}},{key:"equal",value:function(Sr){var yn=this,Zn=Sr||{},Rn=Zn.unit,Hn=!0;return typeof Rn=="boolean"?Hn=Rn:Array.from(this.unitlessCssVar).some(function(li){return yn.result.includes(li)})&&(Hn=!1),this.result=this.result.replace(z,Hn?"px":""),typeof this.lowPriority!="undefined"?"calc(".concat(this.result,")"):this.result}}]),ur}(Q),_e=function(Jt){(0,K.Z)(ur,Jt);var dr=(0,se.Z)(ur);function ur(hr){var Sr;return(0,_.Z)(this,ur),Sr=dr.call(this),(0,i.Z)((0,q.Z)(Sr),"result",0),hr instanceof ur?Sr.result=hr.result:typeof hr=="number"&&(Sr.result=hr),Sr}return(0,b.Z)(ur,[{key:"add",value:function(Sr){return Sr instanceof ur?this.result+=Sr.result:typeof Sr=="number"&&(this.result+=Sr),this}},{key:"sub",value:function(Sr){return Sr instanceof ur?this.result-=Sr.result:typeof Sr=="number"&&(this.result-=Sr),this}},{key:"mul",value:function(Sr){return Sr instanceof ur?this.result*=Sr.result:typeof Sr=="number"&&(this.result*=Sr),this}},{key:"div",value:function(Sr){return Sr instanceof ur?this.result/=Sr.result:typeof Sr=="number"&&(this.result/=Sr),this}},{key:"equal",value:function(){return this.result}}]),ur}(Q),Ae=function(dr,ur){var hr=dr==="css"?ie:_e;return function(Sr){return new hr(Sr,ur)}},Pe=Ae;function We(Jt,dr){if(Jt.length!==dr.length)return!1;for(var ur=0;ur<Jt.length;ur++)if(Jt[ur]!==dr[ur])return!1;return!0}var $e=function(){function Jt(){(0,_.Z)(this,Jt),(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)(Jt,[{key:"size",value:function(){return this.keys.length}},{key:"internalGet",value:function(ur){var hr,Sr,yn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Zn={map:this.cache};return ur.forEach(function(Rn){if(!Zn)Zn=void 0;else{var Hn;Zn=(Hn=Zn)===null||Hn===void 0||(Hn=Hn.map)===null||Hn===void 0?void 0:Hn.get(Rn)}}),(hr=Zn)!==null&&hr!==void 0&&hr.value&&yn&&(Zn.value[1]=this.cacheCallTimes++),(Sr=Zn)===null||Sr===void 0?void 0:Sr.value}},{key:"get",value:function(ur){var hr;return(hr=this.internalGet(ur,!0))===null||hr===void 0?void 0:hr[0]}},{key:"has",value:function(ur){return!!this.internalGet(ur)}},{key:"set",value:function(ur,hr){var Sr=this;if(!this.has(ur)){if(this.size()+1>Jt.MAX_CACHE_SIZE+Jt.MAX_CACHE_OFFSET){var yn=this.keys.reduce(function(li,ei){var cr=(0,r.Z)(li,2),Mr=cr[1];return Sr.internalGet(ei)[1]<Mr?[ei,Sr.internalGet(ei)[1]]:li},[this.keys[0],this.cacheCallTimes]),Zn=(0,r.Z)(yn,1),Rn=Zn[0];this.delete(Rn)}this.keys.push(ur)}var Hn=this.cache;ur.forEach(function(li,ei){if(ei===ur.length-1)Hn.set(li,{value:[hr,Sr.cacheCallTimes++]});else{var cr=Hn.get(li);cr?cr.map||(cr.map=new Map):Hn.set(li,{map:new Map}),Hn=Hn.get(li).map}})}},{key:"deleteByPath",value:function(ur,hr){var Sr=ur.get(hr[0]);if(hr.length===1){var yn;return Sr.map?ur.set(hr[0],{map:Sr.map}):ur.delete(hr[0]),(yn=Sr.value)===null||yn===void 0?void 0:yn[0]}var Zn=this.deleteByPath(Sr.map,hr.slice(1));return(!Sr.map||Sr.map.size===0)&&!Sr.value&&ur.delete(hr[0]),Zn}},{key:"delete",value:function(ur){if(this.has(ur))return this.keys=this.keys.filter(function(hr){return!We(hr,ur)}),this.deleteByPath(this.cache,ur)}}]),Jt}();(0,i.Z)($e,"MAX_CACHE_SIZE",20),(0,i.Z)($e,"MAX_CACHE_OFFSET",5);var Lt=e(48736),bt=0,kt=function(){function Jt(dr){(0,_.Z)(this,Jt),(0,i.Z)(this,"derivatives",void 0),(0,i.Z)(this,"id",void 0),this.derivatives=Array.isArray(dr)?dr:[dr],this.id=bt,dr.length===0&&(0,Lt.Kp)(dr.length>0,"[Ant Design CSS-in-JS] Theme should have at least one derivative function."),bt+=1}return(0,b.Z)(Jt,[{key:"getDerivativeToken",value:function(ur){return this.derivatives.reduce(function(hr,Sr){return Sr(ur,hr)},void 0)}}]),Jt}(),Zt=new $e;function Mt(Jt){var dr=Array.isArray(Jt)?Jt:[Jt];return Zt.has(dr)||Zt.set(dr,new kt(dr)),Zt.get(dr)}var tr=new WeakMap,je={};function wt(Jt,dr){for(var ur=tr,hr=0;hr<dr.length;hr+=1){var Sr=dr[hr];ur.has(Sr)||ur.set(Sr,new WeakMap),ur=ur.get(Sr)}return ur.has(je)||ur.set(je,Jt()),ur.get(je)}var Ft=new WeakMap;function tt(Jt){var dr=Ft.get(Jt)||"";return dr||(Object.keys(Jt).forEach(function(ur){var hr=Jt[ur];dr+=ur,hr instanceof kt?dr+=hr.id:hr&&(0,oe.Z)(hr)==="object"?dr+=tt(hr):dr+=hr}),dr=o(dr),Ft.set(Jt,dr)),dr}function gt(Jt,dr){return o("".concat(dr,"_").concat(tt(Jt)))}var ft="random-".concat(Date.now(),"-").concat(Math.random()).replace(/\./g,""),Qe="_bAmBoO_";function Ne(Jt,dr,ur){if((0,J.Z)()){var hr,Sr;(0,h.hq)(Jt,ft);var yn=document.createElement("div");yn.style.position="fixed",yn.style.left="0",yn.style.top="0",dr==null||dr(yn),document.body.appendChild(yn);var Zn=ur?ur(yn):(hr=getComputedStyle(yn).content)===null||hr===void 0?void 0:hr.includes(Qe);return(Sr=yn.parentNode)===null||Sr===void 0||Sr.removeChild(yn),(0,h.jL)(ft),Zn}return!1}var xe=null;function ke(){return xe===void 0&&(xe=Ne("@layer ".concat(ft," { .").concat(ft,' { content: "').concat(Qe,'"!important; } }'),function(Jt){Jt.className=ft})),xe}var Ge=void 0;function He(){return Ge===void 0&&(Ge=Ne(":where(.".concat(ft,') { content: "').concat(Qe,'"!important; }'),function(Jt){Jt.className=ft})),Ge}var Ye=void 0;function dt(){return Ye===void 0&&(Ye=Ne(".".concat(ft," { inset-block: 93px !important; }"),function(Jt){Jt.className=ft},function(Jt){return getComputedStyle(Jt).bottom==="93px"})),Ye}var xt=(0,J.Z)();function nr(Jt){return typeof Jt=="number"?"".concat(Jt,"px"):Jt}function qt(Jt,dr,ur){var hr=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},Sr=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!1;if(Sr)return Jt;var yn=(0,c.Z)((0,c.Z)({},hr),{},(0,i.Z)((0,i.Z)({},M,dr),B,ur)),Zn=Object.keys(yn).map(function(Rn){var Hn=yn[Rn];return Hn?"".concat(Rn,'="').concat(Hn,'"'):null}).filter(function(Rn){return Rn}).join(" ");return"<style ".concat(Zn,">").concat(Jt,"</style>")}var Me=function(dr){var ur=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";return"--".concat(ur?"".concat(ur,"-"):"").concat(dr).replace(/([a-z0-9])([A-Z])/g,"$1-$2").replace(/([A-Z]+)([A-Z][a-z0-9]+)/g,"$1-$2").replace(/([a-z])([A-Z0-9])/g,"$1-$2").toLowerCase()},qe=function(dr,ur,hr){return Object.keys(dr).length?".".concat(ur).concat(hr!=null&&hr.scope?".".concat(hr.scope):"","{").concat(Object.entries(dr).map(function(Sr){var yn=(0,r.Z)(Sr,2),Zn=yn[0],Rn=yn[1];return"".concat(Zn,":").concat(Rn,";")}).join(""),"}"):""},Vt=function(dr,ur,hr){var Sr={},yn={};return Object.entries(dr).forEach(function(Zn){var Rn,Hn,li=(0,r.Z)(Zn,2),ei=li[0],cr=li[1];if(hr!=null&&(Rn=hr.preserve)!==null&&Rn!==void 0&&Rn[ei])yn[ei]=cr;else if((typeof cr=="string"||typeof cr=="number")&&!(hr!=null&&(Hn=hr.ignore)!==null&&Hn!==void 0&&Hn[ei])){var Mr,Fr=Me(ei,hr==null?void 0:hr.prefix);Sr[Fr]=typeof cr=="number"&&!(hr!=null&&(Mr=hr.unitless)!==null&&Mr!==void 0&&Mr[ei])?"".concat(cr,"px"):String(cr),yn[ei]="var(".concat(Fr,")")}}),[yn,qe(Sr,ur,{scope:hr==null?void 0:hr.scope})]},Rt=e(34280),zt=(0,c.Z)({},a),Ht=zt.useInsertionEffect,Ct=function(dr,ur,hr){u.useMemo(dr,hr),(0,Rt.Z)(function(){return ur(!0)},hr)},Xt=Ht?function(Jt,dr,ur){return Ht(function(){return Jt(),dr()},ur)}:Ct,ze=Xt,ce=(0,c.Z)({},a),pe=ce.useInsertionEffect,It=function(dr){var ur=[],hr=!1;function Sr(yn){hr||ur.push(yn)}return u.useEffect(function(){return hr=!1,function(){hr=!0,ur.length&&ur.forEach(function(yn){return yn()})}},dr),Sr},Te=function(){return function(dr){dr()}},ct=typeof pe!="undefined"?It:Te,Wt=ct;function Tt(){return!1}var Ce=!1;function St(){return Ce}var ye=Tt;if(0)var Je,yt;function Bt(Jt,dr,ur,hr,Sr){var yn=u.useContext(ne),Zn=yn.cache,Rn=[Jt].concat((0,l.Z)(dr)),Hn=k(Rn),li=Wt([Hn]),ei=ye(),cr=function(Tn){Zn.opUpdate(Hn,function(pt){var jn=pt||[void 0,void 0],Wn=(0,r.Z)(jn,2),Ni=Wn[0],ra=Ni===void 0?0:Ni,zr=Wn[1],pa=zr,Xi=pa||ur(),Pa=[ra,Xi];return Tn?Tn(Pa):Pa})};u.useMemo(function(){cr()},[Hn]);var Mr=Zn.opGet(Hn),Fr=Mr[1];return ze(function(){Sr==null||Sr(Fr)},function(Sn){return cr(function(Tn){var pt=(0,r.Z)(Tn,2),jn=pt[0],Wn=pt[1];return Sn&&jn===0&&(Sr==null||Sr(Fr)),[jn+1,Wn]}),function(){Zn.opUpdate(Hn,function(Tn){var pt=Tn||[],jn=(0,r.Z)(pt,2),Wn=jn[0],Ni=Wn===void 0?0:Wn,ra=jn[1],zr=Ni-1;return zr===0?(li(function(){(Sn||!Zn.opGet(Hn))&&(hr==null||hr(ra,!1))}),null):[Ni-1,ra]})}},[Hn]),Fr}var Be={},Dr="css",At=new Map;function Xr(Jt){At.set(Jt,(At.get(Jt)||0)+1)}function en(Jt,dr){if(typeof document!="undefined"){var ur=document.querySelectorAll("style[".concat(M,'="').concat(Jt,'"]'));ur.forEach(function(hr){if(hr[V]===dr){var Sr;(Sr=hr.parentNode)===null||Sr===void 0||Sr.removeChild(hr)}})}}var Lr=0;function Nr(Jt,dr){At.set(Jt,(At.get(Jt)||0)-1);var ur=new Set;At.forEach(function(hr,Sr){hr<=0&&ur.add(Sr)}),At.size-ur.size>Lr&&ur.forEach(function(hr){en(hr,dr),At.delete(hr)})}var mr=function(dr,ur,hr,Sr){var yn=hr.getDerivativeToken(dr),Zn=(0,c.Z)((0,c.Z)({},yn),ur);return Sr&&(Zn=Sr(Zn)),Zn},Zr="token";function on(Jt,dr){var ur=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},hr=(0,u.useContext)(ne),Sr=hr.cache.instanceId,yn=hr.container,Zn=ur.salt,Rn=Zn===void 0?"":Zn,Hn=ur.override,li=Hn===void 0?Be:Hn,ei=ur.formatToken,cr=ur.getComputedToken,Mr=ur.cssVar,Fr=wt(function(){return Object.assign.apply(Object,[{}].concat((0,l.Z)(dr)))},dr),Sn=tt(Fr),Tn=tt(li),pt=Mr?tt(Mr):"",jn=Bt(Zr,[Rn,Jt.id,Sn,Tn,pt],function(){var Wn,Ni=cr?cr(Fr,li,Jt):mr(Fr,li,Jt,ei),ra=(0,c.Z)({},Ni),zr="";if(Mr){var pa=Vt(Ni,Mr.key,{prefix:Mr.prefix,ignore:Mr.ignore,unitless:Mr.unitless,preserve:Mr.preserve}),Xi=(0,r.Z)(pa,2);Ni=Xi[0],zr=Xi[1]}var Pa=gt(Ni,Rn);Ni._tokenKey=Pa,ra._tokenKey=gt(ra,Rn);var ps=(Wn=Mr==null?void 0:Mr.key)!==null&&Wn!==void 0?Wn:Pa;Ni._themeKey=ps,Xr(ps);var Vs="".concat(Dr,"-").concat(o(Pa));return Ni._hashId=Vs,[Ni,Vs,ra,zr,(Mr==null?void 0:Mr.key)||""]},function(Wn){Nr(Wn[0]._themeKey,Sr)},function(Wn){var Ni=(0,r.Z)(Wn,4),ra=Ni[0],zr=Ni[3];if(Mr&&zr){var pa=(0,h.hq)(zr,o("css-variables-".concat(ra._themeKey)),{mark:B,prepend:"queue",attachTo:yn,priority:-999});pa[V]=Sr,pa.setAttribute(M,ra._themeKey)}});return jn}var _n=function(dr,ur,hr){var Sr=(0,r.Z)(dr,5),yn=Sr[2],Zn=Sr[3],Rn=Sr[4],Hn=hr||{},li=Hn.plain;if(!Zn)return null;var ei=yn._tokenKey,cr=-999,Mr={"data-rc-order":"prependQueue","data-rc-priority":"".concat(cr)},Fr=qt(Zn,Rn,ei,Mr,li);return[cr,ei,Fr]},Yt=e(54476),mt={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},st=mt,lt="-ms-",Nt="-moz-",br="-webkit-",vr="comm",nt="rule",Tr="decl",vn="@page",Gn="@media",Yr="@import",Yn="@charset",Jn="@viewport",kn="@supports",Qn="@document",ri="@namespace",Ai="@keyframes",wi="@font-face",Ui="@counter-style",oa="@font-feature-values",Vi="@layer",zi="@scope",mi=Math.abs,Ki=String.fromCharCode,Dt=Object.assign;function vt(Jt,dr){return Ti(Jt,0)^45?(((dr<<2^Ti(Jt,0))<<2^Ti(Jt,1))<<2^Ti(Jt,2))<<2^Ti(Jt,3):0}function Zi(Jt){return Jt.trim()}function Hi(Jt,dr){return(Jt=dr.exec(Jt))?Jt[0]:Jt}function hi(Jt,dr,ur){return Jt.replace(dr,ur)}function Fa(Jt,dr,ur){return Jt.indexOf(dr,ur)}function Ti(Jt,dr){return Jt.charCodeAt(dr)|0}function si(Jt,dr,ur){return Jt.slice(dr,ur)}function Dn(Jt){return Jt.length}function rr(Jt){return Jt.length}function _t(Jt,dr){return dr.push(Jt),Jt}function rt(Jt,dr){return Jt.map(dr).join("")}function Ot(Jt,dr){return Jt.filter(function(ur){return!Hi(ur,dr)})}function ht(Jt,dr){for(var ur="",hr=0;hr<Jt.length;hr++)ur+=dr(Jt[hr],hr,Jt,dr)||"";return ur}function lr(Jt,dr,ur,hr){switch(Jt.type){case Vi:if(Jt.children.length)break;case Yr:case ri:case Tr:return Jt.return=Jt.return||Jt.value;case vr:return"";case Ai:return Jt.return=Jt.value+"{"+ht(Jt.children,hr)+"}";case nt:if(!Dn(Jt.value=Jt.props.join(",")))return""}return Dn(ur=ht(Jt.children,hr))?Jt.return=Jt.value+"{"+ur+"}":""}var fr=1,Cr=1,Gr=0,Ze=0,et=0,be="";function it(Jt,dr,ur,hr,Sr,yn,Zn,Rn){return{value:Jt,root:dr,parent:ur,type:hr,props:Sr,children:yn,line:fr,column:Cr,length:Zn,return:"",siblings:Rn}}function or(Jt,dr){return assign(it("",null,null,"",null,null,0,Jt.siblings),Jt,{length:-Jt.length},dr)}function kr(Jt){for(;Jt.root;)Jt=or(Jt.root,{children:[Jt]});append(Jt,Jt.siblings)}function Ir(){return et}function Pr(){return et=Ze>0?Ti(be,--Ze):0,Cr--,et===10&&(Cr=1,fr--),et}function Wr(){return et=Ze<Gr?Ti(be,Ze++):0,Cr++,et===10&&(Cr=1,fr++),et}function wn(){return Ti(be,Ze)}function gr(){return Ze}function fn(Jt,dr){return si(be,Jt,dr)}function un(Jt){switch(Jt){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function dn(Jt){return fr=Cr=1,Gr=Dn(be=Jt),Ze=0,[]}function gn(Jt){return be="",Jt}function ka(Jt){return Zi(fn(Ze-1,ta(Jt===91?Jt+2:Jt===40?Jt+1:Jt)))}function Ci(Jt){return gn(bn(dn(Jt)))}function pi(Jt){for(;(et=wn())&&et<33;)Wr();return un(Jt)>2||un(et)>3?"":" "}function bn(Jt){for(;Wr();)switch(un(et)){case 0:append(Ks(Ze-1),Jt);break;case 2:append(ka(et),Jt);break;default:append(from(et),Jt)}return Jt}function ui(Jt,dr){for(;--dr&&Wr()&&!(et<48||et>102||et>57&&et<65||et>70&&et<97););return fn(Jt,gr()+(dr<6&&wn()==32&&Wr()==32))}function ta(Jt){for(;Wr();)switch(et){case Jt:return Ze;case 34:case 39:Jt!==34&&Jt!==39&&ta(et);break;case 40:Jt===41&&ta(Jt);break;case 92:Wr();break}return Ze}function Ca(Jt,dr){for(;Wr()&&Jt+et!==57;)if(Jt+et===84&&wn()===47)break;return"/*"+fn(dr,Ze-1)+"*"+Ki(Jt===47?Jt:Wr())}function Ks(Jt){for(;!un(wn());)Wr();return fn(Jt,Ze)}function Ha(Jt){return gn(Zs("",null,null,null,[""],Jt=dn(Jt),0,[0],Jt))}function Zs(Jt,dr,ur,hr,Sr,yn,Zn,Rn,Hn){for(var li=0,ei=0,cr=Zn,Mr=0,Fr=0,Sn=0,Tn=1,pt=1,jn=1,Wn=0,Ni="",ra=Sr,zr=yn,pa=hr,Xi=Ni;pt;)switch(Sn=Wn,Wn=Wr()){case 40:if(Sn!=108&&Ti(Xi,cr-1)==58){Fa(Xi+=hi(ka(Wn),"&","&\f"),"&\f",mi(li?Rn[li-1]:0))!=-1&&(jn=-1);break}case 34:case 39:case 91:Xi+=ka(Wn);break;case 9:case 10:case 13:case 32:Xi+=pi(Sn);break;case 92:Xi+=ui(gr()-1,7);continue;case 47:switch(wn()){case 42:case 47:_t(is(Ca(Wr(),gr()),dr,ur,Hn),Hn),(un(Sn||1)==5||un(wn()||1)==5)&&Dn(Xi)&&si(Xi,-1,void 0)!==" "&&(Xi+=" ");break;default:Xi+="/"}break;case 123*Tn:Rn[li++]=Dn(Xi)*jn;case 125*Tn:case 59:case 0:switch(Wn){case 0:case 125:pt=0;case 59+ei:jn==-1&&(Xi=hi(Xi,/\f/g,"")),Fr>0&&(Dn(Xi)-cr||Tn===0&&Sn===47)&&_t(Fr>32?Hs(Xi+";",hr,ur,cr-1,Hn):Hs(hi(Xi," ","")+";",hr,ur,cr-2,Hn),Hn);break;case 59:Xi+=";";default:if(_t(pa=Js(Xi,dr,ur,li,ei,Sr,Rn,Ni,ra=[],zr=[],cr,yn),yn),Wn===123)if(ei===0)Zs(Xi,dr,pa,pa,ra,yn,cr,Rn,zr);else{switch(Mr){case 99:if(Ti(Xi,3)===110)break;case 108:if(Ti(Xi,2)===97)break;default:ei=0;case 100:case 109:case 115:}ei?Zs(Jt,pa,pa,hr&&_t(Js(Jt,pa,pa,0,0,Sr,Rn,Ni,Sr,ra=[],cr,zr),zr),Sr,zr,cr,Rn,hr?ra:zr):Zs(Xi,pa,pa,pa,[""],zr,0,Rn,zr)}}li=ei=Fr=0,Tn=jn=1,Ni=Xi="",cr=Zn;break;case 58:cr=1+Dn(Xi),Fr=Sn;default:if(Tn<1){if(Wn==123)--Tn;else if(Wn==125&&Tn++==0&&Pr()==125)continue}switch(Xi+=Ki(Wn),Wn*Tn){case 38:jn=ei>0?1:(Xi+="\f",-1);break;case 44:Rn[li++]=(Dn(Xi)-1)*jn,jn=1;break;case 64:wn()===45&&(Xi+=ka(Wr())),Mr=wn(),ei=cr=Dn(Ni=Xi+=Ks(gr())),Wn++;break;case 45:Sn===45&&Dn(Xi)==2&&(Tn=0)}}return yn}function Js(Jt,dr,ur,hr,Sr,yn,Zn,Rn,Hn,li,ei,cr){for(var Mr=Sr-1,Fr=Sr===0?yn:[""],Sn=rr(Fr),Tn=0,pt=0,jn=0;Tn<hr;++Tn)for(var Wn=0,Ni=si(Jt,Mr+1,Mr=mi(pt=Zn[Tn])),ra=Jt;Wn<Sn;++Wn)(ra=Zi(pt>0?Fr[Wn]+" "+Ni:hi(Ni,/&\f/g,Fr[Wn])))&&(Hn[jn++]=ra);return it(Jt,dr,ur,Sr===0?nt:Rn,Hn,li,ei,cr)}function is(Jt,dr,ur,hr){return it(Jt,dr,ur,vr,Ki(Ir()),si(Jt,2,-2),0,hr)}function Hs(Jt,dr,ur,hr,Sr){return it(Jt,dr,ur,Tr,si(Jt,0,hr),si(Jt,hr+1,-1),hr,Sr)}function Aa(Jt,dr){var ur=dr.path,hr=dr.parentSelectors;(0,Lt.ZP)(!1,"[Ant Design CSS-in-JS] ".concat(ur?"Error in ".concat(ur,": "):"").concat(Jt).concat(hr.length?" Selector: ".concat(hr.join(" | ")):""))}var Ss=function(dr,ur,hr){if(dr==="content"){var Sr=/(attr|counters?|url|(((repeating-)?(linear|radial))|conic)-gradient)\(|(no-)?(open|close)-quote/,yn=["normal","none","initial","inherit","unset"];(typeof ur!="string"||yn.indexOf(ur)===-1&&!Sr.test(ur)&&(ur.charAt(0)!==ur.charAt(ur.length-1)||ur.charAt(0)!=='"'&&ur.charAt(0)!=="'"))&&lintWarning("You seem to be using a value for 'content' without quotes, try replacing it with `content: '\"".concat(ur,"\"'`."),hr)}},ds=null,eo=function(dr,ur,hr){dr==="animation"&&hr.hashId&&ur!=="none"&&lintWarning("You seem to be using hashed animation '".concat(ur,"', in which case 'animationName' with Keyframe as value is recommended."),hr)},Bi=null;function ks(Jt){var dr,ur=((dr=Jt.match(/:not\(([^)]*)\)/))===null||dr===void 0?void 0:dr[1])||"",hr=ur.split(/(\[[^[]*])|(?=[.#])/).filter(function(Sr){return Sr});return hr.length>1}function Bo(Jt){return Jt.parentSelectors.reduce(function(dr,ur){return dr?ur.includes("&")?ur.replace(/&/g,dr):"".concat(dr," ").concat(ur):ur},"")}var Wa=function(dr,ur,hr){var Sr=Bo(hr),yn=Sr.match(/:not\([^)]*\)/g)||[];yn.length>0&&yn.some(ks)&&Aa("Concat ':not' selector not support in legacy browsers.",hr)},Rs=Wa,ci=function(dr,ur,hr){switch(dr){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":Aa("You seem to be using non-logical property '".concat(dr,"' 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."),hr);return;case"margin":case"padding":case"borderWidth":case"borderStyle":if(typeof ur=="string"){var Sr=ur.split(" ").map(function(Rn){return Rn.trim()});Sr.length===4&&Sr[1]!==Sr[3]&&Aa("You seem to be using '".concat(dr,"' property with different left ").concat(dr," and right ").concat(dr,", 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."),hr)}return;case"clear":case"textAlign":(ur==="left"||ur==="right")&&Aa("You seem to be using non-logical value '".concat(ur,"' of ").concat(dr,", 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."),hr);return;case"borderRadius":if(typeof ur=="string"){var yn=ur.split("/").map(function(Rn){return Rn.trim()}),Zn=yn.reduce(function(Rn,Hn){if(Rn)return Rn;var li=Hn.split(" ").map(function(ei){return ei.trim()});return li.length>=2&&li[0]!==li[1]||li.length===3&&li[1]!==li[2]||li.length===4&&li[2]!==li[3]?!0:Rn},!1);Zn&&Aa("You seem to be using non-logical value '".concat(ur,"' of ").concat(dr,", 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."),hr)}return;default:}},fo=ci,Nn=function(dr,ur,hr){(typeof ur=="string"&&/NaN/g.test(ur)||Number.isNaN(ur))&&Aa("Unexpected 'NaN' in property '".concat(dr,": ").concat(ur,"'."),hr)},Ja=Nn,As=function(dr,ur,hr){hr.parentSelectors.some(function(Sr){var yn=Sr.split(",");return yn.some(function(Zn){return Zn.split("&").length>2})})&&Aa("Should not use more than one `&` in a selector.",hr)},Ps=As,ca="data-ant-cssinjs-cache-path",es="_FILE_STYLE__";function Yi(Jt){return Object.keys(Jt).map(function(dr){var ur=Jt[dr];return"".concat(dr,":").concat(ur)}).join(";")}var Ws,vo=!0;function Wo(Jt){var dr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;Ws=Jt,vo=dr}function Go(){if(!Ws&&(Ws={},(0,J.Z)())){var Jt=document.createElement("div");Jt.className=ca,Jt.style.position="fixed",Jt.style.visibility="hidden",Jt.style.top="-9999px",document.body.appendChild(Jt);var dr=getComputedStyle(Jt).content||"";dr=dr.replace(/^"/,"").replace(/"$/,""),dr.split(";").forEach(function(Sr){var yn=Sr.split(":"),Zn=(0,r.Z)(yn,2),Rn=Zn[0],Hn=Zn[1];Ws[Rn]=Hn});var ur=document.querySelector("style[".concat(ca,"]"));if(ur){var hr;vo=!1,(hr=ur.parentNode)===null||hr===void 0||hr.removeChild(ur)}document.body.removeChild(Jt)}}function mu(Jt){return Go(),!!Ws[Jt]}function uu(Jt){var dr=Ws[Jt],ur=null;if(dr&&(0,J.Z)())if(vo)ur=es;else{var hr=document.querySelector("style[".concat(B,'="').concat(Ws[Jt],'"]'));hr?ur=hr.innerHTML:delete Ws[Jt]}return[ur,dr]}var ho="_skip_check_",No="_multi_value_";function Co(Jt){var dr=ht(Ha(Jt),lr);return dr.replace(/\{%%%\:[^;];}/g,";")}function qo(Jt){return(0,oe.Z)(Jt)==="object"&&Jt&&(ho in Jt||No in Jt)}function Ko(Jt,dr,ur){if(!dr)return Jt;var hr=".".concat(dr),Sr=ur==="low"?":where(".concat(hr,")"):hr,yn=Jt.split(",").map(function(Zn){var Rn,Hn=Zn.trim().split(/\s+/),li=Hn[0]||"",ei=((Rn=li.match(/^\w+/))===null||Rn===void 0?void 0:Rn[0])||"";return li="".concat(ei).concat(Sr).concat(li.slice(ei.length)),[li].concat((0,l.Z)(Hn.slice(1))).join(" ")});return yn.join(",")}var vi=function Jt(dr){var ur=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},hr=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{root:!0,parentSelectors:[]},Sr=hr.root,yn=hr.injectHash,Zn=hr.parentSelectors,Rn=ur.hashId,Hn=ur.layer,li=ur.path,ei=ur.hashPriority,cr=ur.transformers,Mr=cr===void 0?[]:cr,Fr=ur.linters,Sn=Fr===void 0?[]:Fr,Tn="",pt={};function jn(ra){var zr=ra.getName(Rn);if(!pt[zr]){var pa=Jt(ra.style,ur,{root:!1,parentSelectors:Zn}),Xi=(0,r.Z)(pa,1),Pa=Xi[0];pt[zr]="@keyframes ".concat(ra.getName(Rn)).concat(Pa)}}function Wn(ra){var zr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[];return ra.forEach(function(pa){Array.isArray(pa)?Wn(pa,zr):pa&&zr.push(pa)}),zr}var Ni=Wn(Array.isArray(dr)?dr:[dr]);return Ni.forEach(function(ra){var zr=typeof ra=="string"&&!Sr?{}:ra;if(typeof zr=="string")Tn+="".concat(zr,`
`);else if(zr._keyframe)jn(zr);else{var pa=Mr.reduce(function(Xi,Pa){var ps;return(Pa==null||(ps=Pa.visit)===null||ps===void 0?void 0:ps.call(Pa,Xi))||Xi},zr);Object.keys(pa).forEach(function(Xi){var Pa=pa[Xi];if((0,oe.Z)(Pa)==="object"&&Pa&&(Xi!=="animationName"||!Pa._keyframe)&&!qo(Pa)){var ps=!1,Vs=Xi.trim(),$i=!1;(Sr||yn)&&Rn?Vs.startsWith("@")?ps=!0:Vs==="&"?Vs=Ko("",Rn,ei):Vs=Ko(Xi,Rn,ei):Sr&&!Rn&&(Vs==="&"||Vs==="")&&(Vs="",$i=!0);var no=Jt(Pa,ur,{root:$i,injectHash:ps,parentSelectors:[].concat((0,l.Z)(Zn),[Vs])}),so=(0,r.Z)(no,2),Fs=so[0],Va=so[1];pt=(0,c.Z)((0,c.Z)({},pt),Va),Tn+="".concat(Vs).concat(Fs)}else{let Fn=function($a,rs){var Xe=$a.replace(/[A-Z]/g,function($t){return"-".concat($t.toLowerCase())}),Ie=rs;!st[$a]&&typeof Ie=="number"&&Ie!==0&&(Ie="".concat(Ie,"px")),$a==="animationName"&&rs!==null&&rs!==void 0&&rs._keyframe&&(jn(rs),Ie=rs.getName(Rn)),Tn+="".concat(Xe,":").concat(Ie,";")};var Xs,po=(Xs=Pa==null?void 0:Pa.value)!==null&&Xs!==void 0?Xs:Pa;(0,oe.Z)(Pa)==="object"&&Pa!==null&&Pa!==void 0&&Pa[No]&&Array.isArray(po)?po.forEach(function($a){Fn(Xi,$a)}):Fn(Xi,po)}})}}),Sr?Hn&&(Tn&&(Tn="@layer ".concat(Hn.name," {").concat(Tn,"}")),Hn.dependencies&&(pt["@layer ".concat(Hn.name)]=Hn.dependencies.map(function(ra){return"@layer ".concat(ra,", ").concat(Hn.name,";")}).join(`
`))):Tn="{".concat(Tn,"}"),[Tn,pt]};function _i(Jt,dr){return o("".concat(Jt.join("%")).concat(dr))}function ts(){return null}var ss="style";function as(Jt,dr){var ur=Jt.token,hr=Jt.path,Sr=Jt.hashId,yn=Jt.layer,Zn=Jt.nonce,Rn=Jt.clientOnly,Hn=Jt.order,li=Hn===void 0?0:Hn,ei=u.useContext(ne),cr=ei.autoClear,Mr=ei.mock,Fr=ei.defaultCache,Sn=ei.hashPriority,Tn=ei.container,pt=ei.ssrInline,jn=ei.transformers,Wn=ei.linters,Ni=ei.cache,ra=ei.layer,zr=ur._tokenKey,pa=[zr];ra&&pa.push("layer"),pa.push.apply(pa,(0,l.Z)(hr));var Xi=xt,Pa=Bt(ss,pa,function(){var so=pa.join("|");if(mu(so)){var Fs=uu(so),Va=(0,r.Z)(Fs,2),Xs=Va[0],po=Va[1];if(Xs)return[Xs,zr,po,{},Rn,li]}var Fn=dr(),$a=vi(Fn,{hashId:Sr,hashPriority:Sn,layer:ra?yn:void 0,path:hr.join("-"),transformers:jn,linters:Wn}),rs=(0,r.Z)($a,2),Xe=rs[0],Ie=rs[1],$t=Co(Xe),Gt=_i(pa,$t);return[$t,zr,Gt,Ie,Rn,li]},function(so,Fs){var Va=(0,r.Z)(so,3),Xs=Va[2];(Fs||cr)&&xt&&(0,h.jL)(Xs,{mark:B,attachTo:Tn})},function(so){var Fs=(0,r.Z)(so,4),Va=Fs[0],Xs=Fs[1],po=Fs[2],Fn=Fs[3];if(Xi&&Va!==es){var $a={mark:B,prepend:ra?!1:"queue",attachTo:Tn,priority:li},rs=typeof Zn=="function"?Zn():Zn;rs&&($a.csp={nonce:rs});var Xe=[],Ie=[];Object.keys(Fn).forEach(function(Gt){Gt.startsWith("@layer")?Xe.push(Gt):Ie.push(Gt)}),Xe.forEach(function(Gt){(0,h.hq)(Co(Fn[Gt]),"_layer-".concat(Gt),(0,c.Z)((0,c.Z)({},$a),{},{prepend:!0}))});var $t=(0,h.hq)(Va,po,$a);$t[V]=Ni.instanceId,$t.setAttribute(M,zr),Ie.forEach(function(Gt){(0,h.hq)(Co(Fn[Gt]),"_effect-".concat(Gt),$a)})}}),ps=(0,r.Z)(Pa,3),Vs=ps[0],$i=ps[1],no=ps[2];return function(so){var Fs;return!pt||Xi||!Fr?Fs=u.createElement(ts,null):Fs=u.createElement("style",(0,Yt.Z)({},(0,i.Z)((0,i.Z)({},M,$i),B,no),{dangerouslySetInnerHTML:{__html:Vs}})),u.createElement(u.Fragment,null,Fs,so)}}var Ga=function(dr,ur,hr){var Sr=(0,r.Z)(dr,6),yn=Sr[0],Zn=Sr[1],Rn=Sr[2],Hn=Sr[3],li=Sr[4],ei=Sr[5],cr=hr||{},Mr=cr.plain;if(li)return null;var Fr=yn,Sn={"data-rc-order":"prependQueue","data-rc-priority":"".concat(ei)};return Fr=qt(yn,Zn,Rn,Sn,Mr),Hn&&Object.keys(Hn).forEach(function(Tn){if(!ur[Tn]){ur[Tn]=!0;var pt=Co(Hn[Tn]),jn=qt(pt,Zn,"_effect-".concat(Tn),Sn,Mr);Tn.startsWith("@layer")?Fr=jn+Fr:Fr+=jn}}),[ei,Rn,Fr]},hs="cssVar",Jo=function(dr,ur){var hr=dr.key,Sr=dr.prefix,yn=dr.unitless,Zn=dr.ignore,Rn=dr.token,Hn=dr.scope,li=Hn===void 0?"":Hn,ei=(0,u.useContext)(ne),cr=ei.cache.instanceId,Mr=ei.container,Fr=Rn._tokenKey,Sn=[].concat((0,l.Z)(dr.path),[hr,li,Fr]),Tn=Bt(hs,Sn,function(){var pt=ur(),jn=Vt(pt,hr,{prefix:Sr,unitless:yn,ignore:Zn,scope:li}),Wn=(0,r.Z)(jn,2),Ni=Wn[0],ra=Wn[1],zr=_i(Sn,ra);return[Ni,ra,zr,hr]},function(pt){var jn=(0,r.Z)(pt,3),Wn=jn[2];xt&&(0,h.jL)(Wn,{mark:B,attachTo:Mr})},function(pt){var jn=(0,r.Z)(pt,3),Wn=jn[1],Ni=jn[2];if(Wn){var ra=(0,h.hq)(Wn,Ni,{mark:B,prepend:"queue",attachTo:Mr,priority:-999});ra[V]=cr,ra.setAttribute(M,hr)}});return Tn},Is=function(dr,ur,hr){var Sr=(0,r.Z)(dr,4),yn=Sr[1],Zn=Sr[2],Rn=Sr[3],Hn=hr||{},li=Hn.plain;if(!yn)return null;var ei=-999,cr={"data-rc-order":"prependQueue","data-rc-priority":"".concat(ei)},Mr=qt(yn,Rn,Zn,cr,li);return[ei,Zn,Mr]},ko=Jo,vu=(0,i.Z)((0,i.Z)((0,i.Z)({},ss,Ga),Zr,_n),hs,Is);function wu(Jt){return Jt!==null}function qu(Jt,dr){var ur=typeof dr=="boolean"?{plain:dr}:dr||{},hr=ur.plain,Sr=hr===void 0?!1:hr,yn=ur.types,Zn=yn===void 0?["style","token","cssVar"]:yn,Rn=ur.once,Hn=Rn===void 0?!1:Rn,li=new RegExp("^(".concat((typeof Zn=="string"?[Zn]:Zn).join("|"),")%")),ei=Array.from(Jt.cache.keys()).filter(function(Sn){return li.test(Sn)}),cr={},Mr={},Fr="";return ei.map(function(Sn){if(Hn&&Jt.extracted.has(Sn))return null;var Tn=Sn.replace(li,"").replace(/%/g,"|"),pt=Sn.split("%"),jn=(0,r.Z)(pt,1),Wn=jn[0],Ni=vu[Wn],ra=Ni(Jt.cache.get(Sn)[1],cr,{plain:Sr});if(!ra)return null;var zr=(0,r.Z)(ra,3),pa=zr[0],Xi=zr[1],Pa=zr[2];return Sn.startsWith("style")&&(Mr[Tn]=Xi),Jt.extracted.add(Sn),[pa,Pa]}).filter(wu).sort(function(Sn,Tn){var pt=(0,r.Z)(Sn,1),jn=pt[0],Wn=(0,r.Z)(Tn,1),Ni=Wn[0];return jn-Ni}).forEach(function(Sn){var Tn=(0,r.Z)(Sn,2),pt=Tn[1];Fr+=pt}),Fr+=qt(".".concat(ca,'{content:"').concat(Yi(Mr),'";}'),void 0,void 0,(0,i.Z)({},ca,ca),Sr),Fr}var ll=function(){function Jt(dr,ur){(0,_.Z)(this,Jt),(0,i.Z)(this,"name",void 0),(0,i.Z)(this,"style",void 0),(0,i.Z)(this,"_keyframe",!0),this.name=dr,this.style=ur}return(0,b.Z)(Jt,[{key:"getName",value:function(){var ur=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return ur?"".concat(ur,"-").concat(this.name):this.name}}]),Jt}(),Ro=ll;function to(Jt){if(typeof Jt=="number")return[[Jt],!1];var dr=String(Jt).trim(),ur=dr.match(/(.*)(!important)/),hr=(ur?ur[1]:dr).trim().split(/\s+/),Sr=[],yn=0;return[hr.reduce(function(Zn,Rn){if(Rn.includes("(")||Rn.includes(")")){var Hn=Rn.split("(").length-1,li=Rn.split(")").length-1;yn+=Hn-li}return yn>=0&&Sr.push(Rn),yn===0&&(Zn.push(Sr.join(" ")),Sr=[]),Zn},[]),!!ur]}function $o(Jt){return Jt.notSplit=!0,Jt}var ju={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:$o(["borderTop","borderBottom"]),borderBlockStart:$o(["borderTop"]),borderBlockEnd:$o(["borderBottom"]),borderInline:$o(["borderLeft","borderRight"]),borderInlineStart:$o(["borderLeft"]),borderInlineEnd:$o(["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 Lo(Jt,dr){var ur=Jt;return dr&&(ur="".concat(ur," !important")),{_skip_check_:!0,value:ur}}var jo={visit:function(dr){var ur={};return Object.keys(dr).forEach(function(hr){var Sr=dr[hr],yn=ju[hr];if(yn&&(typeof Sr=="number"||typeof Sr=="string")){var Zn=to(Sr),Rn=(0,r.Z)(Zn,2),Hn=Rn[0],li=Rn[1];yn.length&&yn.notSplit?yn.forEach(function(ei){ur[ei]=Lo(Sr,li)}):yn.length===1?ur[yn[0]]=Lo(Hn[0],li):yn.length===2?yn.forEach(function(ei,cr){var Mr;ur[ei]=Lo((Mr=Hn[cr])!==null&&Mr!==void 0?Mr:Hn[0],li)}):yn.length===4?yn.forEach(function(ei,cr){var Mr,Fr;ur[ei]=Lo((Mr=(Fr=Hn[cr])!==null&&Fr!==void 0?Fr:Hn[cr-2])!==null&&Mr!==void 0?Mr:Hn[0],li)}):ur[hr]=Sr}else ur[hr]=Sr}),ur}},Mu=jo,eu=/url\([^)]+\)|var\([^)]+\)|(\d*\.?\d+)px/g;function hu(Jt,dr){var ur=Math.pow(10,dr+1),hr=Math.floor(Jt*ur);return Math.round(hr/10)*10/ur}var ro=function(){var dr=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},ur=dr.rootValue,hr=ur===void 0?16:ur,Sr=dr.precision,yn=Sr===void 0?5:Sr,Zn=dr.mediaQuery,Rn=Zn===void 0?!1:Zn,Hn=function(cr,Mr){if(!Mr)return cr;var Fr=parseFloat(Mr);if(Fr<=1)return cr;var Sn=hu(Fr/hr,yn);return"".concat(Sn,"rem")},li=function(cr){var Mr=(0,c.Z)({},cr);return Object.entries(cr).forEach(function(Fr){var Sn=(0,r.Z)(Fr,2),Tn=Sn[0],pt=Sn[1];if(typeof pt=="string"&&pt.includes("px")){var jn=pt.replace(eu,Hn);Mr[Tn]=jn}!st[Tn]&&typeof pt=="number"&&pt!==0&&(Mr[Tn]="".concat(pt,"px").replace(eu,Hn));var Wn=Tn.trim();if(Wn.startsWith("@")&&Wn.includes("px")&&Rn){var Ni=Tn.replace(eu,Hn);Mr[Ni]=Mr[Tn],delete Mr[Tn]}}),Mr};return{visit:li}},tu=ro,Uo={supportModernCSS:function(){return He()&&dt()}}},7657:function(d,v,e){"use strict";e.d(v,{Z:function(){return le}});var r=e(54476),i=e(42978),l=e(20068),c=e(75931),f=e(59301),o=e(92310),h=e.n(o),u=e(30071),a=e(18418),x=e(33885),p=e(76190),y=e(810),_=e(96452),b=e(48736);function S(z){return z.replace(/-(.)/g,function($,ie){return ie.toUpperCase()})}function k(z,$){(0,b.ZP)(z,"[@ant-design/icons] ".concat($))}function R(z){return(0,p.Z)(z)==="object"&&typeof z.name=="string"&&typeof z.theme=="string"&&((0,p.Z)(z.icon)==="object"||typeof z.icon=="function")}function A(){var z=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return Object.keys(z).reduce(function($,ie){var _e=z[ie];switch(ie){case"class":$.className=_e,delete $.class;break;default:delete $[ie],$[S(ie)]=_e}return $},{})}function I(z,$,ie){return ie?f.createElement(z.tag,(0,x.Z)((0,x.Z)({key:$},A(z.attrs)),ie),(z.children||[]).map(function(_e,Ae){return I(_e,"".concat($,"-").concat(z.tag,"-").concat(Ae))})):f.createElement(z.tag,(0,x.Z)({key:$},A(z.attrs)),(z.children||[]).map(function(_e,Ae){return I(_e,"".concat($,"-").concat(z.tag,"-").concat(Ae))}))}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"},V=`
.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);
}
}
`,W=function($){var ie=(0,f.useContext)(a.Z),_e=ie.csp,Ae=ie.prefixCls,Pe=ie.layer,We=V;Ae&&(We=We.replace(/anticon/g,Ae)),Pe&&(We="@layer ".concat(Pe,` {
`).concat(We,`
}`)),(0,f.useEffect)(function(){var $e=$.current,Lt=(0,_.A)($e);(0,y.hq)(We,"@ant-design-icons",{prepend:!Pe,csp:_e,attachTo:Lt})},[])},H=["icon","className","onClick","style","primaryColor","secondaryColor"],ae={primaryColor:"#333",secondaryColor:"#E6E6E6",calculated:!1};function ne(z){var $=z.primaryColor,ie=z.secondaryColor;ae.primaryColor=$,ae.secondaryColor=ie||M($),ae.calculated=!!ie}function oe(){return(0,x.Z)({},ae)}var J=function($){var ie=$.icon,_e=$.className,Ae=$.onClick,Pe=$.style,We=$.primaryColor,$e=$.secondaryColor,Lt=(0,c.Z)($,H),bt=f.useRef(),kt=ae;if(We&&(kt={primaryColor:We,secondaryColor:$e||M(We)}),W(bt),k(R(ie),"icon should be icon definiton, but got ".concat(ie)),!R(ie))return null;var Zt=ie;return Zt&&typeof Zt.icon=="function"&&(Zt=(0,x.Z)((0,x.Z)({},Zt),{},{icon:Zt.icon(kt.primaryColor,kt.secondaryColor)})),I(Zt.icon,"svg-".concat(Zt.name),(0,x.Z)((0,x.Z)({className:_e,onClick:Ae,style:Pe,"data-icon":Zt.name,width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true"},Lt),{},{ref:bt}))};J.displayName="IconReact",J.getTwoToneColors=oe,J.setTwoToneColors=ne;var q=J;function K(z){var $=B(z),ie=(0,i.Z)($,2),_e=ie[0],Ae=ie[1];return q.setTwoToneColors({primaryColor:_e,secondaryColor:Ae})}function se(){var z=q.getTwoToneColors();return z.calculated?[z.primaryColor,z.secondaryColor]:z.primaryColor}var ee=["className","icon","spin","rotate","tabIndex","onClick","twoToneColor"];K(u.blue.primary);var Q=f.forwardRef(function(z,$){var ie=z.className,_e=z.icon,Ae=z.spin,Pe=z.rotate,We=z.tabIndex,$e=z.onClick,Lt=z.twoToneColor,bt=(0,c.Z)(z,ee),kt=f.useContext(a.Z),Zt=kt.prefixCls,Mt=Zt===void 0?"anticon":Zt,tr=kt.rootClassName,je=h()(tr,Mt,(0,l.Z)((0,l.Z)({},"".concat(Mt,"-").concat(_e.name),!!_e.name),"".concat(Mt,"-spin"),!!Ae||_e.name==="loading"),ie),wt=We;wt===void 0&&$e&&(wt=-1);var Ft=Pe?{msTransform:"rotate(".concat(Pe,"deg)"),transform:"rotate(".concat(Pe,"deg)")}:void 0,tt=B(Lt),gt=(0,i.Z)(tt,2),ft=gt[0],Qe=gt[1];return f.createElement("span",(0,r.Z)({role:"img","aria-label":_e.name},bt,{ref:$,tabIndex:wt,onClick:$e,className:je}),f.createElement(q,{icon:_e,primaryColor:ft,secondaryColor:Qe,style:Ft}))});Q.displayName="AntdIcon",Q.getTwoToneColor=se,Q.setTwoToneColor=K;var le=Q},18418:function(d,v,e){"use strict";var r=e(59301),i=(0,r.createContext)({});v.Z=i},29679:function(d,v,e){"use strict";e.d(v,{Z:function(){return u}});var r=e(54476),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(54476),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(54476),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(54476),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(54476),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(54476),i=e(59301),l={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M988 548c-19.9 0-36-16.1-36-36 0-59.4-11.6-117-34.6-171.3a440.45 440.45 0 00-94.3-139.9 437.71 437.71 0 00-139.9-94.3C629 83.6 571.4 72 512 72c-19.9 0-36-16.1-36-36s16.1-36 36-36c69.1 0 136.2 13.5 199.3 40.3C772.3 66 827 103 874 150c47 47 83.9 101.8 109.7 162.7 26.7 63.1 40.2 130.2 40.2 199.3.1 19.9-16 36-35.9 36z"}}]},name:"loading",theme:"outlined"},c=l,f=e(7657),o=function(x,p){return i.createElement(f.Z,(0,r.Z)({},x,{ref:p,icon:c}))},h=i.forwardRef(o),u=h},12722:function(d,v,e){"use strict";e.d(v,{GC:function(){return x},T6:function(){return y},VD:function(){return _},WE:function(){return h},Wl:function(){return p},Yt:function(){return b},lC:function(){return l},py:function(){return o},rW:function(){return i},s:function(){return a},ve:function(){return f},vq:function(){return u}});var r=e(12187);function i(S,k,R){return{r:(0,r.sh)(S,255)*255,g:(0,r.sh)(k,255)*255,b:(0,r.sh)(R,255)*255}}function l(S,k,R){S=(0,r.sh)(S,255),k=(0,r.sh)(k,255),R=(0,r.sh)(R,255);var A=Math.max(S,k,R),I=Math.min(S,k,R),M=0,B=0,N=(A+I)/2;if(A===I)B=0,M=0;else{var V=A-I;switch(B=N>.5?V/(2-A-I):V/(A+I),A){case S:M=(k-R)/V+(k<R?6:0);break;case k:M=(R-S)/V+2;break;case R:M=(S-k)/V+4;break;default:break}M/=6}return{h:M,s:B,l:N}}function c(S,k,R){return R<0&&(R+=1),R>1&&(R-=1),R<.16666666666666666?S+(k-S)*(6*R):R<.5?k:R<.6666666666666666?S+(k-S)*(.6666666666666666-R)*6:S}function f(S,k,R){var A,I,M;if(S=(0,r.sh)(S,360),k=(0,r.sh)(k,100),R=(0,r.sh)(R,100),k===0)I=R,M=R,A=R;else{var B=R<.5?R*(1+k):R+k-R*k,N=2*R-B;A=c(N,B,S+.3333333333333333),I=c(N,B,S),M=c(N,B,S-.3333333333333333)}return{r:A*255,g:I*255,b:M*255}}function o(S,k,R){S=(0,r.sh)(S,255),k=(0,r.sh)(k,255),R=(0,r.sh)(R,255);var A=Math.max(S,k,R),I=Math.min(S,k,R),M=0,B=A,N=A-I,V=A===0?0:N/A;if(A===I)M=0;else{switch(A){case S:M=(k-R)/N+(k<R?6:0);break;case k:M=(R-S)/N+2;break;case R:M=(S-k)/N+4;break;default:break}M/=6}return{h:M,s:V,v:B}}function h(S,k,R){S=(0,r.sh)(S,360)*6,k=(0,r.sh)(k,100),R=(0,r.sh)(R,100);var A=Math.floor(S),I=S-A,M=R*(1-k),B=R*(1-I*k),N=R*(1-(1-I)*k),V=A%6,W=[R,B,M,M,N,R][V],H=[N,R,R,B,M,M][V],ae=[M,M,N,R,R,B][V];return{r:W*255,g:H*255,b:ae*255}}function u(S,k,R,A){var I=[(0,r.FZ)(Math.round(S).toString(16)),(0,r.FZ)(Math.round(k).toString(16)),(0,r.FZ)(Math.round(R).toString(16))];return A&&I[0].startsWith(I[0].charAt(1))&&I[1].startsWith(I[1].charAt(1))&&I[2].startsWith(I[2].charAt(1))?I[0].charAt(0)+I[1].charAt(0)+I[2].charAt(0):I.join("")}function a(S,k,R,A,I){var M=[(0,r.FZ)(Math.round(S).toString(16)),(0,r.FZ)(Math.round(k).toString(16)),(0,r.FZ)(Math.round(R).toString(16)),(0,r.FZ)(p(A))];return I&&M[0].startsWith(M[0].charAt(1))&&M[1].startsWith(M[1].charAt(1))&&M[2].startsWith(M[2].charAt(1))&&M[3].startsWith(M[3].charAt(1))?M[0].charAt(0)+M[1].charAt(0)+M[2].charAt(0)+M[3].charAt(0):M.join("")}function x(S,k,R,A){var I=[(0,r.FZ)(p(A)),(0,r.FZ)(Math.round(S).toString(16)),(0,r.FZ)(Math.round(k).toString(16)),(0,r.FZ)(Math.round(R).toString(16))];return I.join("")}function p(S){return Math.round(parseFloat(S)*255).toString(16)}function y(S){return _(S)/255}function _(S){return parseInt(S,16)}function b(S){return{r:S>>16,g:(S&65280)>>8,b:S&255}}},93796:function(d,v,e){"use strict";e.d(v,{R:function(){return r}});var r={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",goldenrod:"#daa520",gold:"#ffd700",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavenderblush:"#fff0f5",lavender:"#e6e6fa",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"}},9915:function(d,v,e){"use strict";e.d(v,{ky:function(){return y},uA:function(){return c},uz:function(){return p}});var r=e(12722),i=e(93796),l=e(12187);function c(_){var b={r:0,g:0,b:0},S=1,k=null,R=null,A=null,I=!1,M=!1;return typeof _=="string"&&(_=p(_)),typeof _=="object"&&(y(_.r)&&y(_.g)&&y(_.b)?(b=(0,r.rW)(_.r,_.g,_.b),I=!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),I=!0,M="hsv"):y(_.h)&&y(_.s)&&y(_.l)&&(k=(0,l.JX)(_.s),A=(0,l.JX)(_.l),b=(0,r.ve)(_.h,k,A),I=!0,M="hsl"),Object.prototype.hasOwnProperty.call(_,"a")&&(S=_.a)),S=(0,l.Yq)(S),{ok:I,format:_.format||M,r:Math.min(255,Math.max(b.r,0)),g:Math.min(255,Math.max(b.g,0)),b:Math.min(255,Math.max(b.b,0)),a:S}}var f="[-\\+]?\\d+%?",o="[-\\+]?\\d*\\.\\d+%?",h="(?:".concat(o,")|(?:").concat(f,")"),u="[\\s|\\(]+(".concat(h,")[,|\\s]+(").concat(h,")[,|\\s]+(").concat(h,")\\s*\\)?"),a="[\\s|\\(]+(".concat(h,")[,|\\s]+(").concat(h,")[,|\\s]+(").concat(h,")[,|\\s]+(").concat(h,")\\s*\\)?"),x={CSS_UNIT:new RegExp(h),rgb:new RegExp("rgb"+u),rgba:new RegExp("rgba"+a),hsl:new RegExp("hsl"+u),hsla:new RegExp("hsla"+a),hsv:new RegExp("hsv"+u),hsva:new RegExp("hsva"+a),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/};function p(_){if(_=_.trim().toLowerCase(),_.length===0)return!1;var b=!1;if(i.R[_])_=i.R[_],b=!0;else if(_==="transparent")return{r:0,g:0,b:0,a:0,format:"name"};var S=x.rgb.exec(_);return S?{r:S[1],g:S[2],b:S[3]}:(S=x.rgba.exec(_),S?{r:S[1],g:S[2],b:S[3],a:S[4]}:(S=x.hsl.exec(_),S?{h:S[1],s:S[2],l:S[3]}:(S=x.hsla.exec(_),S?{h:S[1],s:S[2],l:S[3],a:S[4]}:(S=x.hsv.exec(_),S?{h:S[1],s:S[2],v:S[3]}:(S=x.hsva.exec(_),S?{h:S[1],s:S[2],v:S[3],a:S[4]}:(S=x.hex8.exec(_),S?{r:(0,r.VD)(S[1]),g:(0,r.VD)(S[2]),b:(0,r.VD)(S[3]),a:(0,r.T6)(S[4]),format:b?"name":"hex8"}:(S=x.hex6.exec(_),S?{r:(0,r.VD)(S[1]),g:(0,r.VD)(S[2]),b:(0,r.VD)(S[3]),format:b?"name":"hex"}:(S=x.hex4.exec(_),S?{r:(0,r.VD)(S[1]+S[1]),g:(0,r.VD)(S[2]+S[2]),b:(0,r.VD)(S[3]+S[3]),a:(0,r.T6)(S[4]+S[4]),format:b?"name":"hex8"}:(S=x.hex3.exec(_),S?{r:(0,r.VD)(S[1]+S[1]),g:(0,r.VD)(S[2]+S[2]),b:(0,r.VD)(S[3]+S[3]),format:b?"name":"hex"}:!1)))))))))}function y(_){return!!x.CSS_UNIT.exec(String(_))}},64993:function(d,v,e){"use strict";e.d(v,{C:function(){return f},H:function(){return o}});var r=e(12722),i=e(93796),l=e(9915),c=e(12187),f=function(){function h(u,a){u===void 0&&(u=""),a===void 0&&(a={});var x;if(u instanceof h)return u;typeof u=="number"&&(u=(0,r.Yt)(u)),this.originalInput=u;var p=(0,l.uA)(u);this.originalInput=u,this.r=p.r,this.g=p.g,this.b=p.b,this.a=p.a,this.roundA=Math.round(100*this.a)/100,this.format=(x=a.format)!==null&&x!==void 0?x:p.format,this.gradientType=a.gradientType,this.r<1&&(this.r=Math.round(this.r)),this.g<1&&(this.g=Math.round(this.g)),this.b<1&&(this.b=Math.round(this.b)),this.isValid=p.ok}return h.prototype.isDark=function(){return this.getBrightness()<128},h.prototype.isLight=function(){return!this.isDark()},h.prototype.getBrightness=function(){var u=this.toRgb();return(u.r*299+u.g*587+u.b*114)/1e3},h.prototype.getLuminance=function(){var u=this.toRgb(),a,x,p,y=u.r/255,_=u.g/255,b=u.b/255;return y<=.03928?a=y/12.92:a=Math.pow((y+.055)/1.055,2.4),_<=.03928?x=_/12.92:x=Math.pow((_+.055)/1.055,2.4),b<=.03928?p=b/12.92:p=Math.pow((b+.055)/1.055,2.4),.2126*a+.7152*x+.0722*p},h.prototype.getAlpha=function(){return this.a},h.prototype.setAlpha=function(u){return this.a=(0,c.Yq)(u),this.roundA=Math.round(100*this.a)/100,this},h.prototype.isMonochrome=function(){var u=this.toHsl().s;return u===0},h.prototype.toHsv=function(){var u=(0,r.py)(this.r,this.g,this.b);return{h:u.h*360,s:u.s,v:u.v,a:this.a}},h.prototype.toHsvString=function(){var u=(0,r.py)(this.r,this.g,this.b),a=Math.round(u.h*360),x=Math.round(u.s*100),p=Math.round(u.v*100);return this.a===1?"hsv(".concat(a,", ").concat(x,"%, ").concat(p,"%)"):"hsva(".concat(a,", ").concat(x,"%, ").concat(p,"%, ").concat(this.roundA,")")},h.prototype.toHsl=function(){var u=(0,r.lC)(this.r,this.g,this.b);return{h:u.h*360,s:u.s,l:u.l,a:this.a}},h.prototype.toHslString=function(){var u=(0,r.lC)(this.r,this.g,this.b),a=Math.round(u.h*360),x=Math.round(u.s*100),p=Math.round(u.l*100);return this.a===1?"hsl(".concat(a,", ").concat(x,"%, ").concat(p,"%)"):"hsla(".concat(a,", ").concat(x,"%, ").concat(p,"%, ").concat(this.roundA,")")},h.prototype.toHex=function(u){return u===void 0&&(u=!1),(0,r.vq)(this.r,this.g,this.b,u)},h.prototype.toHexString=function(u){return u===void 0&&(u=!1),"#"+this.toHex(u)},h.prototype.toHex8=function(u){return u===void 0&&(u=!1),(0,r.s)(this.r,this.g,this.b,this.a,u)},h.prototype.toHex8String=function(u){return u===void 0&&(u=!1),"#"+this.toHex8(u)},h.prototype.toHexShortString=function(u){return u===void 0&&(u=!1),this.a===1?this.toHexString(u):this.toHex8String(u)},h.prototype.toRgb=function(){return{r:Math.round(this.r),g:Math.round(this.g),b:Math.round(this.b),a:this.a}},h.prototype.toRgbString=function(){var u=Math.round(this.r),a=Math.round(this.g),x=Math.round(this.b);return this.a===1?"rgb(".concat(u,", ").concat(a,", ").concat(x,")"):"rgba(".concat(u,", ").concat(a,", ").concat(x,", ").concat(this.roundA,")")},h.prototype.toPercentageRgb=function(){var u=function(a){return"".concat(Math.round((0,c.sh)(a,255)*100),"%")};return{r:u(this.r),g:u(this.g),b:u(this.b),a:this.a}},h.prototype.toPercentageRgbString=function(){var u=function(a){return Math.round((0,c.sh)(a,255)*100)};return this.a===1?"rgb(".concat(u(this.r),"%, ").concat(u(this.g),"%, ").concat(u(this.b),"%)"):"rgba(".concat(u(this.r),"%, ").concat(u(this.g),"%, ").concat(u(this.b),"%, ").concat(this.roundA,")")},h.prototype.toName=function(){if(this.a===0)return"transparent";if(this.a<1)return!1;for(var u="#"+(0,r.vq)(this.r,this.g,this.b,!1),a=0,x=Object.entries(i.R);a<x.length;a++){var p=x[a],y=p[0],_=p[1];if(u===_)return y}return!1},h.prototype.toString=function(u){var a=!!u;u=u!=null?u:this.format;var x=!1,p=this.a<1&&this.a>=0,y=!a&&p&&(u.startsWith("hex")||u==="name");return y?u==="name"&&this.a===0?this.toName():this.toRgbString():(u==="rgb"&&(x=this.toRgbString()),u==="prgb"&&(x=this.toPercentageRgbString()),(u==="hex"||u==="hex6")&&(x=this.toHexString()),u==="hex3"&&(x=this.toHexString(!0)),u==="hex4"&&(x=this.toHex8String(!0)),u==="hex8"&&(x=this.toHex8String()),u==="name"&&(x=this.toName()),u==="hsl"&&(x=this.toHslString()),u==="hsv"&&(x=this.toHsvString()),x||this.toHexString())},h.prototype.toNumber=function(){return(Math.round(this.r)<<16)+(Math.round(this.g)<<8)+Math.round(this.b)},h.prototype.clone=function(){return new h(this.toString())},h.prototype.lighten=function(u){u===void 0&&(u=10);var a=this.toHsl();return a.l+=u/100,a.l=(0,c.V2)(a.l),new h(a)},h.prototype.brighten=function(u){u===void 0&&(u=10);var a=this.toRgb();return a.r=Math.max(0,Math.min(255,a.r-Math.round(255*-(u/100)))),a.g=Math.max(0,Math.min(255,a.g-Math.round(255*-(u/100)))),a.b=Math.max(0,Math.min(255,a.b-Math.round(255*-(u/100)))),new h(a)},h.prototype.darken=function(u){u===void 0&&(u=10);var a=this.toHsl();return a.l-=u/100,a.l=(0,c.V2)(a.l),new h(a)},h.prototype.tint=function(u){return u===void 0&&(u=10),this.mix("white",u)},h.prototype.shade=function(u){return u===void 0&&(u=10),this.mix("black",u)},h.prototype.desaturate=function(u){u===void 0&&(u=10);var a=this.toHsl();return a.s-=u/100,a.s=(0,c.V2)(a.s),new h(a)},h.prototype.saturate=function(u){u===void 0&&(u=10);var a=this.toHsl();return a.s+=u/100,a.s=(0,c.V2)(a.s),new h(a)},h.prototype.greyscale=function(){return this.desaturate(100)},h.prototype.spin=function(u){var a=this.toHsl(),x=(a.h+u)%360;return a.h=x<0?360+x:x,new h(a)},h.prototype.mix=function(u,a){a===void 0&&(a=50);var x=this.toRgb(),p=new h(u).toRgb(),y=a/100,_={r:(p.r-x.r)*y+x.r,g:(p.g-x.g)*y+x.g,b:(p.b-x.b)*y+x.b,a:(p.a-x.a)*y+x.a};return new h(_)},h.prototype.analogous=function(u,a){u===void 0&&(u=6),a===void 0&&(a=30);var x=this.toHsl(),p=360/a,y=[this];for(x.h=(x.h-(p*u>>1)+720)%360;--u;)x.h=(x.h+p)%360,y.push(new h(x));return y},h.prototype.complement=function(){var u=this.toHsl();return u.h=(u.h+180)%360,new h(u)},h.prototype.monochromatic=function(u){u===void 0&&(u=6);for(var a=this.toHsv(),x=a.h,p=a.s,y=a.v,_=[],b=1/u;u--;)_.push(new h({h:x,s:p,v:y})),y=(y+b)%1;return _},h.prototype.splitcomplement=function(){var u=this.toHsl(),a=u.h;return[this,new h({h:(a+72)%360,s:u.s,l:u.l}),new h({h:(a+216)%360,s:u.s,l:u.l})]},h.prototype.onBackground=function(u){var a=this.toRgb(),x=new h(u).toRgb(),p=a.a+x.a*(1-a.a);return new h({r:(a.r*a.a+x.r*x.a*(1-a.a))/p,g:(a.g*a.a+x.g*x.a*(1-a.a))/p,b:(a.b*a.a+x.b*x.a*(1-a.a))/p,a:p})},h.prototype.triad=function(){return this.polyad(3)},h.prototype.tetrad=function(){return this.polyad(4)},h.prototype.polyad=function(u){for(var a=this.toHsl(),x=a.h,p=[this],y=360/u,_=1;_<u;_++)p.push(new h({h:(x+_*y)%360,s:a.s,l:a.l}));return p},h.prototype.equals=function(u){return this.toRgbString()===new h(u).toRgbString()},h}();function o(h,u){return h===void 0&&(h=""),u===void 0&&(u={}),new f(h,u)}},12187:function(d,v,e){"use strict";e.d(v,{FZ:function(){return h},JX:function(){return o},V2:function(){return i},Yq:function(){return f},sh:function(){return r}});function r(u,a){l(u)&&(u="100%");var x=c(u);return u=a===360?u:Math.min(a,Math.max(0,parseFloat(u))),x&&(u=parseInt(String(u*a),10)/100),Math.abs(u-a)<1e-6?1:(a===360?u=(u<0?u%a+a:u%a)/parseFloat(String(a)):u=u%a/parseFloat(String(a)),u)}function i(u){return Math.min(1,Math.max(0,u))}function l(u){return typeof u=="string"&&u.indexOf(".")!==-1&&parseFloat(u)===1}function c(u){return typeof u=="string"&&u.indexOf("%")!==-1}function f(u){return u=parseFloat(u),(isNaN(u)||u<0||u>1)&&(u=1),u}function o(u){return u<=1?"".concat(Number(u)*100,"%"):u}function h(u){return u.length===1?"0"+u:String(u)}},43403:function(d,v,e){"use strict";e.d(v,{Z:function(){return W}});var r=e(42978),i=e(59301),l=e(4676),c=e(47273),f=e(48736),o=e(8654),h=i.createContext(null),u=h,a=e(94480),x=e(34280),p=[];function y(H,ae){var ne=i.useState(function(){if(!(0,c.Z)())return null;var _e=document.createElement("div");return _e}),oe=(0,r.Z)(ne,1),J=oe[0],q=i.useRef(!1),K=i.useContext(u),se=i.useState(p),ee=(0,r.Z)(se,2),Q=ee[0],le=ee[1],z=K||(q.current?void 0:function(_e){le(function(Ae){var Pe=[_e].concat((0,a.Z)(Ae));return Pe})});function $(){J.parentElement||document.body.appendChild(J),q.current=!0}function ie(){var _e;(_e=J.parentElement)===null||_e===void 0||_e.removeChild(J),q.current=!1}return(0,x.Z)(function(){return H?K?K($):$():ie(),ie},[H]),(0,x.Z)(function(){Q.length&&(Q.forEach(function(_e){return _e()}),le(p))},[Q]),[J,z]}var _=e(810),b=e(75152);function S(){return document.body.scrollHeight>(window.innerHeight||document.documentElement.clientHeight)&&window.innerWidth>document.body.offsetWidth}var k="rc-util-locker-".concat(Date.now()),R=0;function A(H){var ae=!!H,ne=i.useState(function(){return R+=1,"".concat(k,"_").concat(R)}),oe=(0,r.Z)(ne,1),J=oe[0];(0,x.Z)(function(){if(ae){var q=(0,b.o)(document.body).width,K=S();(0,_.hq)(`
html body {
overflow-y: hidden;
`.concat(K?"width: calc(100% - ".concat(q,"px);"):"",`
}`),J)}else(0,_.jL)(J);return function(){(0,_.jL)(J)}},[ae,J])}var I=!1;function M(H){return typeof H=="boolean"&&(I=H),I}var B=function(ae){return ae===!1?!1:!(0,c.Z)()||!ae?null:typeof ae=="string"?document.querySelector(ae):typeof ae=="function"?ae():ae},N=i.forwardRef(function(H,ae){var ne=H.open,oe=H.autoLock,J=H.getContainer,q=H.debug,K=H.autoDestroy,se=K===void 0?!0:K,ee=H.children,Q=i.useState(ne),le=(0,r.Z)(Q,2),z=le[0],$=le[1],ie=z||ne;i.useEffect(function(){(se||ne)&&$(ne)},[ne,se]);var _e=i.useState(function(){return B(J)}),Ae=(0,r.Z)(_e,2),Pe=Ae[0],We=Ae[1];i.useEffect(function(){var tt=B(J);We(tt!=null?tt:null)});var $e=y(ie&&!Pe,q),Lt=(0,r.Z)($e,2),bt=Lt[0],kt=Lt[1],Zt=Pe!=null?Pe:bt;A(oe&&ne&&(0,c.Z)()&&(Zt===bt||Zt===document.body));var Mt=null;if(ee&&(0,o.Yr)(ee)&&ae){var tr=ee;Mt=tr.ref}var je=(0,o.x1)(Mt,ae);if(!ie||!(0,c.Z)()||Pe===void 0)return null;var wt=Zt===!1||M(),Ft=ee;return ae&&(Ft=i.cloneElement(ee,{ref:je})),i.createElement(u.Provider,{value:kt},wt?Ft:(0,l.createPortal)(Ft,Zt))}),V=N,W=V},35593:function(d,v,e){"use strict";e.d(v,{Z:function(){return Ft}});var r=e(33885),i=e(42978),l=e(75931),c=e(43403),f=e(92310),o=e.n(f),h=e(29301),u=e(76846),a=e(96452),x=e(6089),p=e(80402),y=e(34280),_=e(49658),b=e(59301),S=e(54476),k=e(77900),R=e(8654);function A(tt){var gt=tt.prefixCls,ft=tt.align,Qe=tt.arrow,Ne=tt.arrowPos,xe=Qe||{},ke=xe.className,Ge=xe.content,He=Ne.x,Ye=He===void 0?0:He,dt=Ne.y,xt=dt===void 0?0:dt,nr=b.useRef();if(!ft||!ft.points)return null;var qt={position:"absolute"};if(ft.autoArrow!==!1){var Me=ft.points[0],qe=ft.points[1],Vt=Me[0],Rt=Me[1],zt=qe[0],Ht=qe[1];Vt===zt||!["t","b"].includes(Vt)?qt.top=xt:Vt==="t"?qt.top=0:qt.bottom=0,Rt===Ht||!["l","r"].includes(Rt)?qt.left=Ye:Rt==="l"?qt.left=0:qt.right=0}return b.createElement("div",{ref:nr,className:o()("".concat(gt,"-arrow"),ke),style:qt},Ge)}function I(tt){var gt=tt.prefixCls,ft=tt.open,Qe=tt.zIndex,Ne=tt.mask,xe=tt.motion;return Ne?b.createElement(k.default,(0,S.Z)({},xe,{motionAppear:!0,visible:ft,removeOnLeave:!0}),function(ke){var Ge=ke.className;return b.createElement("div",{style:{zIndex:Qe},className:o()("".concat(gt,"-mask"),Ge)})}):null}var M=b.memo(function(tt){var gt=tt.children;return gt},function(tt,gt){return gt.cache}),B=M,N=b.forwardRef(function(tt,gt){var ft=tt.popup,Qe=tt.className,Ne=tt.prefixCls,xe=tt.style,ke=tt.target,Ge=tt.onVisibleChanged,He=tt.open,Ye=tt.keepDom,dt=tt.fresh,xt=tt.onClick,nr=tt.mask,qt=tt.arrow,Me=tt.arrowPos,qe=tt.align,Vt=tt.motion,Rt=tt.maskMotion,zt=tt.forceRender,Ht=tt.getPopupContainer,Ct=tt.autoDestroy,Xt=tt.portal,ze=tt.zIndex,ce=tt.onMouseEnter,pe=tt.onMouseLeave,It=tt.onPointerEnter,Te=tt.ready,ct=tt.offsetX,Wt=tt.offsetY,Tt=tt.offsetR,Ce=tt.offsetB,St=tt.onAlign,ye=tt.onPrepare,Je=tt.stretch,yt=tt.targetWidth,Bt=tt.targetHeight,Be=typeof ft=="function"?ft():ft,Dr=He||Ye,At=(Ht==null?void 0:Ht.length)>0,Xr=b.useState(!Ht||!At),en=(0,i.Z)(Xr,2),Lr=en[0],Nr=en[1];if((0,y.Z)(function(){!Lr&&At&&ke&&Nr(!0)},[Lr,At,ke]),!Lr)return null;var mr="auto",Zr={left:"-1000vw",top:"-1000vh",right:mr,bottom:mr};if(Te||!He){var on,_n=qe.points,Yt=qe.dynamicInset||((on=qe._experimental)===null||on===void 0?void 0:on.dynamicInset),mt=Yt&&_n[0][1]==="r",st=Yt&&_n[0][0]==="b";mt?(Zr.right=Tt,Zr.left=mr):(Zr.left=ct,Zr.right=mr),st?(Zr.bottom=Ce,Zr.top=mr):(Zr.top=Wt,Zr.bottom=mr)}var lt={};return Je&&(Je.includes("height")&&Bt?lt.height=Bt:Je.includes("minHeight")&&Bt&&(lt.minHeight=Bt),Je.includes("width")&&yt?lt.width=yt:Je.includes("minWidth")&&yt&&(lt.minWidth=yt)),He||(lt.pointerEvents="none"),b.createElement(Xt,{open:zt||Dr,getContainer:Ht&&function(){return Ht(ke)},autoDestroy:Ct},b.createElement(I,{prefixCls:Ne,open:He,zIndex:ze,mask:nr,motion:Rt}),b.createElement(h.Z,{onResize:St,disabled:!He},function(Nt){return b.createElement(k.default,(0,S.Z)({motionAppear:!0,motionEnter:!0,motionLeave:!0,removeOnLeave:!1,forceRender:zt,leavedClassName:"".concat(Ne,"-hidden")},Vt,{onAppearPrepare:ye,onEnterPrepare:ye,visible:He,onVisibleChanged:function(vr){var nt;Vt==null||(nt=Vt.onVisibleChanged)===null||nt===void 0||nt.call(Vt,vr),Ge(vr)}}),function(br,vr){var nt=br.className,Tr=br.style,vn=o()(Ne,nt,Qe);return b.createElement("div",{ref:(0,R.sQ)(Nt,gt,vr),className:vn,style:(0,r.Z)((0,r.Z)((0,r.Z)((0,r.Z)({"--arrow-x":"".concat(Me.x||0,"px"),"--arrow-y":"".concat(Me.y||0,"px")},Zr),lt),Tr),{},{boxSizing:"border-box",zIndex:ze},xe),onMouseEnter:ce,onMouseLeave:pe,onPointerEnter:It,onClick:xt},qt&&b.createElement(A,{prefixCls:Ne,arrow:qt,arrowPos:Me,align:qe}),b.createElement(B,{cache:!He&&!dt},Be))})}))}),V=N,W=b.forwardRef(function(tt,gt){var ft=tt.children,Qe=tt.getTriggerDOMNode,Ne=(0,R.Yr)(ft),xe=b.useCallback(function(Ge){(0,R.mH)(gt,Qe?Qe(Ge):Ge)},[Qe]),ke=(0,R.x1)(xe,ft.ref);return Ne?b.cloneElement(ft,{ref:ke}):ft}),H=W,ae=b.createContext(null),ne=ae;function oe(tt){return tt?Array.isArray(tt)?tt:[tt]:[]}function J(tt,gt,ft,Qe){return b.useMemo(function(){var Ne=oe(ft!=null?ft:gt),xe=oe(Qe!=null?Qe:gt),ke=new Set(Ne),Ge=new Set(xe);return tt&&(ke.has("hover")&&(ke.delete("hover"),ke.add("click")),Ge.has("hover")&&(Ge.delete("hover"),Ge.add("click"))),[ke,Ge]},[tt,gt,ft,Qe])}var q=e(29194);function K(){var tt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],gt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],ft=arguments.length>2?arguments[2]:void 0;return ft?tt[0]===gt[0]:tt[0]===gt[0]&&tt[1]===gt[1]}function se(tt,gt,ft,Qe){for(var Ne=ft.points,xe=Object.keys(tt),ke=0;ke<xe.length;ke+=1){var Ge,He=xe[ke];if(K((Ge=tt[He])===null||Ge===void 0?void 0:Ge.points,Ne,Qe))return"".concat(gt,"-placement-").concat(He)}return""}function ee(tt,gt,ft,Qe){return gt||(ft?{motionName:"".concat(tt,"-").concat(ft)}:Qe?{motionName:Qe}:null)}function Q(tt){return tt.ownerDocument.defaultView}function le(tt){for(var gt=[],ft=tt==null?void 0:tt.parentElement,Qe=["hidden","scroll","clip","auto"];ft;){var Ne=Q(ft).getComputedStyle(ft),xe=Ne.overflowX,ke=Ne.overflowY,Ge=Ne.overflow;[xe,ke,Ge].some(function(He){return Qe.includes(He)})&&gt.push(ft),ft=ft.parentElement}return gt}function z(tt){var gt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;return Number.isNaN(tt)?gt:tt}function $(tt){return z(parseFloat(tt),0)}function ie(tt,gt){var ft=(0,r.Z)({},tt);return(gt||[]).forEach(function(Qe){if(!(Qe instanceof HTMLBodyElement||Qe instanceof HTMLHtmlElement)){var Ne=Q(Qe).getComputedStyle(Qe),xe=Ne.overflow,ke=Ne.overflowClipMargin,Ge=Ne.borderTopWidth,He=Ne.borderBottomWidth,Ye=Ne.borderLeftWidth,dt=Ne.borderRightWidth,xt=Qe.getBoundingClientRect(),nr=Qe.offsetHeight,qt=Qe.clientHeight,Me=Qe.offsetWidth,qe=Qe.clientWidth,Vt=$(Ge),Rt=$(He),zt=$(Ye),Ht=$(dt),Ct=z(Math.round(xt.width/Me*1e3)/1e3),Xt=z(Math.round(xt.height/nr*1e3)/1e3),ze=(Me-qe-zt-Ht)*Ct,ce=(nr-qt-Vt-Rt)*Xt,pe=Vt*Xt,It=Rt*Xt,Te=zt*Ct,ct=Ht*Ct,Wt=0,Tt=0;if(xe==="clip"){var Ce=$(ke);Wt=Ce*Ct,Tt=Ce*Xt}var St=xt.x+Te-Wt,ye=xt.y+pe-Tt,Je=St+xt.width+2*Wt-Te-ct-ze,yt=ye+xt.height+2*Tt-pe-It-ce;ft.left=Math.max(ft.left,St),ft.top=Math.max(ft.top,ye),ft.right=Math.min(ft.right,Je),ft.bottom=Math.min(ft.bottom,yt)}}),ft}function _e(tt){var gt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,ft="".concat(gt),Qe=ft.match(/^(.*)\%$/);return Qe?tt*(parseFloat(Qe[1])/100):parseFloat(ft)}function Ae(tt,gt){var ft=gt||[],Qe=(0,i.Z)(ft,2),Ne=Qe[0],xe=Qe[1];return[_e(tt.width,Ne),_e(tt.height,xe)]}function Pe(){var tt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return[tt[0],tt[1]]}function We(tt,gt){var ft=gt[0],Qe=gt[1],Ne,xe;return ft==="t"?xe=tt.y:ft==="b"?xe=tt.y+tt.height:xe=tt.y+tt.height/2,Qe==="l"?Ne=tt.x:Qe==="r"?Ne=tt.x+tt.width:Ne=tt.x+tt.width/2,{x:Ne,y:xe}}function $e(tt,gt){var ft={t:"b",b:"t",l:"r",r:"l"};return tt.map(function(Qe,Ne){return Ne===gt?ft[Qe]||"c":Qe}).join("")}function Lt(tt,gt,ft,Qe,Ne,xe,ke){var Ge=b.useState({ready:!1,offsetX:0,offsetY:0,offsetR:0,offsetB:0,arrowX:0,arrowY:0,scaleX:1,scaleY:1,align:Ne[Qe]||{}}),He=(0,i.Z)(Ge,2),Ye=He[0],dt=He[1],xt=b.useRef(0),nr=b.useMemo(function(){return gt?le(gt):[]},[gt]),qt=b.useRef({}),Me=function(){qt.current={}};tt||Me();var qe=(0,x.Z)(function(){if(gt&&ft&&tt){let es=function(Ws,vo){var Wo=arguments.length>2&&arguments[2]!==void 0?arguments[2]:vn,Go=Be.x+Ws,mu=Be.y+vo,uu=Go+on,ho=mu+Zr,No=Math.max(Go,Wo.left),Co=Math.max(mu,Wo.top),qo=Math.min(uu,Wo.right),Ko=Math.min(ho,Wo.bottom);return Math.max(0,(qo-No)*(Ko-Co))},Yi=function(){or=Be.y+rr,kr=or+Zr,Ir=Be.x+Dn,Pr=Ir+on};var zt,Ht,Ct=gt,Xt=Ct.ownerDocument,ze=Q(Ct),ce=ze.getComputedStyle(Ct),pe=ce.width,It=ce.height,Te=ce.position,ct=Ct.style.left,Wt=Ct.style.top,Tt=Ct.style.right,Ce=Ct.style.bottom,St=Ct.style.overflow,ye=(0,r.Z)((0,r.Z)({},Ne[Qe]),xe),Je=Xt.createElement("div");(zt=Ct.parentElement)===null||zt===void 0||zt.appendChild(Je),Je.style.left="".concat(Ct.offsetLeft,"px"),Je.style.top="".concat(Ct.offsetTop,"px"),Je.style.position=Te,Je.style.height="".concat(Ct.offsetHeight,"px"),Je.style.width="".concat(Ct.offsetWidth,"px"),Ct.style.left="0",Ct.style.top="0",Ct.style.right="auto",Ct.style.bottom="auto",Ct.style.overflow="hidden";var yt;if(Array.isArray(ft))yt={x:ft[0],y:ft[1],width:0,height:0};else{var Bt=ft.getBoundingClientRect();yt={x:Bt.x,y:Bt.y,width:Bt.width,height:Bt.height}}var Be=Ct.getBoundingClientRect(),Dr=Xt.documentElement,At=Dr.clientWidth,Xr=Dr.clientHeight,en=Dr.scrollWidth,Lr=Dr.scrollHeight,Nr=Dr.scrollTop,mr=Dr.scrollLeft,Zr=Be.height,on=Be.width,_n=yt.height,Yt=yt.width,mt={left:0,top:0,right:At,bottom:Xr},st={left:-mr,top:-Nr,right:en-mr,bottom:Lr-Nr},lt=ye.htmlRegion,Nt="visible",br="visibleFirst";lt!=="scroll"&&lt!==br&&(lt=Nt);var vr=lt===br,nt=ie(st,nr),Tr=ie(mt,nr),vn=lt===Nt?Tr:nt,Gn=vr?Tr:vn;Ct.style.left="auto",Ct.style.top="auto",Ct.style.right="0",Ct.style.bottom="0";var Yr=Ct.getBoundingClientRect();Ct.style.left=ct,Ct.style.top=Wt,Ct.style.right=Tt,Ct.style.bottom=Ce,Ct.style.overflow=St,(Ht=Ct.parentElement)===null||Ht===void 0||Ht.removeChild(Je);var Yn=z(Math.round(on/parseFloat(pe)*1e3)/1e3),Jn=z(Math.round(Zr/parseFloat(It)*1e3)/1e3);if(Yn===0||Jn===0||(0,u.Sh)(ft)&&!(0,q.Z)(ft))return;var kn=ye.offset,Qn=ye.targetOffset,ri=Ae(Be,kn),Ai=(0,i.Z)(ri,2),wi=Ai[0],Ui=Ai[1],oa=Ae(yt,Qn),Vi=(0,i.Z)(oa,2),zi=Vi[0],mi=Vi[1];yt.x-=zi,yt.y-=mi;var Ki=ye.points||[],Dt=(0,i.Z)(Ki,2),vt=Dt[0],Zi=Dt[1],Hi=Pe(Zi),hi=Pe(vt),Fa=We(yt,Hi),Ti=We(Be,hi),si=(0,r.Z)({},ye),Dn=Fa.x-Ti.x+wi,rr=Fa.y-Ti.y+Ui,_t=es(Dn,rr),rt=es(Dn,rr,Tr),Ot=We(yt,["t","l"]),ht=We(Be,["t","l"]),lr=We(yt,["b","r"]),fr=We(Be,["b","r"]),Cr=ye.overflow||{},Gr=Cr.adjustX,Ze=Cr.adjustY,et=Cr.shiftX,be=Cr.shiftY,it=function(vo){return typeof vo=="boolean"?vo:vo>=0},or,kr,Ir,Pr;Yi();var Wr=it(Ze),wn=hi[0]===Hi[0];if(Wr&&hi[0]==="t"&&(kr>Gn.bottom||qt.current.bt)){var gr=rr;wn?gr-=Zr-_n:gr=Ot.y-fr.y-Ui;var fn=es(Dn,gr),un=es(Dn,gr,Tr);fn>_t||fn===_t&&(!vr||un>=rt)?(qt.current.bt=!0,rr=gr,Ui=-Ui,si.points=[$e(hi,0),$e(Hi,0)]):qt.current.bt=!1}if(Wr&&hi[0]==="b"&&(or<Gn.top||qt.current.tb)){var dn=rr;wn?dn+=Zr-_n:dn=lr.y-ht.y-Ui;var gn=es(Dn,dn),ka=es(Dn,dn,Tr);gn>_t||gn===_t&&(!vr||ka>=rt)?(qt.current.tb=!0,rr=dn,Ui=-Ui,si.points=[$e(hi,0),$e(Hi,0)]):qt.current.tb=!1}var Ci=it(Gr),pi=hi[1]===Hi[1];if(Ci&&hi[1]==="l"&&(Pr>Gn.right||qt.current.rl)){var bn=Dn;pi?bn-=on-Yt:bn=Ot.x-fr.x-wi;var ui=es(bn,rr),ta=es(bn,rr,Tr);ui>_t||ui===_t&&(!vr||ta>=rt)?(qt.current.rl=!0,Dn=bn,wi=-wi,si.points=[$e(hi,1),$e(Hi,1)]):qt.current.rl=!1}if(Ci&&hi[1]==="r"&&(Ir<Gn.left||qt.current.lr)){var Ca=Dn;pi?Ca+=on-Yt:Ca=lr.x-ht.x-wi;var Ks=es(Ca,rr),Ha=es(Ca,rr,Tr);Ks>_t||Ks===_t&&(!vr||Ha>=rt)?(qt.current.lr=!0,Dn=Ca,wi=-wi,si.points=[$e(hi,1),$e(Hi,1)]):qt.current.lr=!1}Yi();var Zs=et===!0?0:et;typeof Zs=="number"&&(Ir<Tr.left&&(Dn-=Ir-Tr.left-wi,yt.x+Yt<Tr.left+Zs&&(Dn+=yt.x-Tr.left+Yt-Zs)),Pr>Tr.right&&(Dn-=Pr-Tr.right-wi,yt.x>Tr.right-Zs&&(Dn+=yt.x-Tr.right+Zs)));var Js=be===!0?0:be;typeof Js=="number"&&(or<Tr.top&&(rr-=or-Tr.top-Ui,yt.y+_n<Tr.top+Js&&(rr+=yt.y-Tr.top+_n-Js)),kr>Tr.bottom&&(rr-=kr-Tr.bottom-Ui,yt.y>Tr.bottom-Js&&(rr+=yt.y-Tr.bottom+Js)));var is=Be.x+Dn,Hs=is+on,Aa=Be.y+rr,Ss=Aa+Zr,ds=yt.x,eo=ds+Yt,Bi=yt.y,ks=Bi+_n,Bo=Math.max(is,ds),Wa=Math.min(Hs,eo),Rs=(Bo+Wa)/2,ci=Rs-is,fo=Math.max(Aa,Bi),Nn=Math.min(Ss,ks),Ja=(fo+Nn)/2,As=Ja-Aa;ke==null||ke(gt,si);var Ps=Yr.right-Be.x-(Dn+Be.width),ca=Yr.bottom-Be.y-(rr+Be.height);dt({ready:!0,offsetX:Dn/Yn,offsetY:rr/Jn,offsetR:Ps/Yn,offsetB:ca/Jn,arrowX:ci/Yn,arrowY:As/Jn,scaleX:Yn,scaleY:Jn,align:si})}}),Vt=function(){xt.current+=1;var Ht=xt.current;Promise.resolve().then(function(){xt.current===Ht&&qe()})},Rt=function(){dt(function(Ht){return(0,r.Z)((0,r.Z)({},Ht),{},{ready:!1})})};return(0,y.Z)(Rt,[Qe]),(0,y.Z)(function(){tt||Rt()},[tt]),[Ye.ready,Ye.offsetX,Ye.offsetY,Ye.offsetR,Ye.offsetB,Ye.arrowX,Ye.arrowY,Ye.scaleX,Ye.scaleY,Ye.align,Vt]}var bt=e(94480);function kt(tt,gt,ft,Qe,Ne){(0,y.Z)(function(){if(tt&&gt&&ft){let xt=function(){Qe(),Ne()};var xe=gt,ke=ft,Ge=le(xe),He=le(ke),Ye=Q(ke),dt=new Set([Ye].concat((0,bt.Z)(Ge),(0,bt.Z)(He)));return dt.forEach(function(nr){nr.addEventListener("scroll",xt,{passive:!0})}),Ye.addEventListener("resize",xt,{passive:!0}),Qe(),function(){dt.forEach(function(nr){nr.removeEventListener("scroll",xt),Ye.removeEventListener("resize",xt)})}}},[tt,gt,ft])}var Zt=e(48736),Mt=e(16089);function tr(tt,gt,ft,Qe,Ne,xe,ke,Ge){var He=b.useRef(tt),Ye=b.useRef(!1);He.current!==tt&&(Ye.current=!0,He.current=tt),b.useEffect(function(){var dt=(0,Mt.Z)(function(){Ye.current=!1});return function(){Mt.Z.cancel(dt)}},[tt]),b.useEffect(function(){if(gt&&Qe&&(!Ne||xe)){var dt=function(){var Te=!1,ct=function(Ce){var St=Ce.target;Te=ke(St)},Wt=function(Ce){var St=Ce.target;!Ye.current&&He.current&&!Te&&!ke(St)&&Ge(!1)};return[ct,Wt]},xt=dt(),nr=(0,i.Z)(xt,2),qt=nr[0],Me=nr[1],qe=dt(),Vt=(0,i.Z)(qe,2),Rt=Vt[0],zt=Vt[1],Ht=Q(Qe);Ht.addEventListener("mousedown",qt,!0),Ht.addEventListener("click",Me,!0),Ht.addEventListener("contextmenu",Me,!0);var Ct=(0,a.A)(ft);if(Ct&&(Ct.addEventListener("mousedown",Rt,!0),Ct.addEventListener("click",zt,!0),Ct.addEventListener("contextmenu",zt,!0)),0)var Xt,ze,ce,pe;return function(){Ht.removeEventListener("mousedown",qt,!0),Ht.removeEventListener("click",Me,!0),Ht.removeEventListener("contextmenu",Me,!0),Ct&&(Ct.removeEventListener("mousedown",Rt,!0),Ct.removeEventListener("click",zt,!0),Ct.removeEventListener("contextmenu",zt,!0))}}},[gt,ft,Qe,Ne,xe])}var je=["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 wt(){var tt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:c.Z,gt=b.forwardRef(function(ft,Qe){var Ne=ft.prefixCls,xe=Ne===void 0?"rc-trigger-popup":Ne,ke=ft.children,Ge=ft.action,He=Ge===void 0?"hover":Ge,Ye=ft.showAction,dt=ft.hideAction,xt=ft.popupVisible,nr=ft.defaultPopupVisible,qt=ft.onPopupVisibleChange,Me=ft.afterPopupVisibleChange,qe=ft.mouseEnterDelay,Vt=ft.mouseLeaveDelay,Rt=Vt===void 0?.1:Vt,zt=ft.focusDelay,Ht=ft.blurDelay,Ct=ft.mask,Xt=ft.maskClosable,ze=Xt===void 0?!0:Xt,ce=ft.getPopupContainer,pe=ft.forceRender,It=ft.autoDestroy,Te=ft.destroyPopupOnHide,ct=ft.popup,Wt=ft.popupClassName,Tt=ft.popupStyle,Ce=ft.popupPlacement,St=ft.builtinPlacements,ye=St===void 0?{}:St,Je=ft.popupAlign,yt=ft.zIndex,Bt=ft.stretch,Be=ft.getPopupClassNameFromAlign,Dr=ft.fresh,At=ft.alignPoint,Xr=ft.onPopupClick,en=ft.onPopupAlign,Lr=ft.arrow,Nr=ft.popupMotion,mr=ft.maskMotion,Zr=ft.popupTransitionName,on=ft.popupAnimation,_n=ft.maskTransitionName,Yt=ft.maskAnimation,mt=ft.className,st=ft.getTriggerDOMNode,lt=(0,l.Z)(ft,je),Nt=It||Te||!1,br=b.useState(!1),vr=(0,i.Z)(br,2),nt=vr[0],Tr=vr[1];(0,y.Z)(function(){Tr((0,_.Z)())},[]);var vn=b.useRef({}),Gn=b.useContext(ne),Yr=b.useMemo(function(){return{registerSubPopup:function(_i,ts){vn.current[_i]=ts,Gn==null||Gn.registerSubPopup(_i,ts)}}},[Gn]),Yn=(0,p.Z)(),Jn=b.useState(null),kn=(0,i.Z)(Jn,2),Qn=kn[0],ri=kn[1],Ai=(0,x.Z)(function(vi){(0,u.Sh)(vi)&&Qn!==vi&&ri(vi),Gn==null||Gn.registerSubPopup(Yn,vi)}),wi=b.useState(null),Ui=(0,i.Z)(wi,2),oa=Ui[0],Vi=Ui[1],zi=b.useRef(null),mi=(0,x.Z)(function(vi){(0,u.Sh)(vi)&&oa!==vi&&(Vi(vi),zi.current=vi)}),Ki=b.Children.only(ke),Dt=(Ki==null?void 0:Ki.props)||{},vt={},Zi=(0,x.Z)(function(vi){var _i,ts,ss=oa;return(ss==null?void 0:ss.contains(vi))||((_i=(0,a.A)(ss))===null||_i===void 0?void 0:_i.host)===vi||vi===ss||(Qn==null?void 0:Qn.contains(vi))||((ts=(0,a.A)(Qn))===null||ts===void 0?void 0:ts.host)===vi||vi===Qn||Object.values(vn.current).some(function(as){return(as==null?void 0:as.contains(vi))||vi===as})}),Hi=ee(xe,Nr,on,Zr),hi=ee(xe,mr,Yt,_n),Fa=b.useState(nr||!1),Ti=(0,i.Z)(Fa,2),si=Ti[0],Dn=Ti[1],rr=xt!=null?xt:si,_t=(0,x.Z)(function(vi){xt===void 0&&Dn(vi)});(0,y.Z)(function(){Dn(xt||!1)},[xt]);var rt=b.useRef(rr);rt.current=rr;var Ot=b.useRef([]);Ot.current=[];var ht=(0,x.Z)(function(vi){var _i;_t(vi),((_i=Ot.current[Ot.current.length-1])!==null&&_i!==void 0?_i:rr)!==vi&&(Ot.current.push(vi),qt==null||qt(vi))}),lr=b.useRef(),fr=function(){clearTimeout(lr.current)},Cr=function(_i){var ts=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;fr(),ts===0?ht(_i):lr.current=setTimeout(function(){ht(_i)},ts*1e3)};b.useEffect(function(){return fr},[]);var Gr=b.useState(!1),Ze=(0,i.Z)(Gr,2),et=Ze[0],be=Ze[1];(0,y.Z)(function(vi){(!vi||rr)&&be(!0)},[rr]);var it=b.useState(null),or=(0,i.Z)(it,2),kr=or[0],Ir=or[1],Pr=b.useState([0,0]),Wr=(0,i.Z)(Pr,2),wn=Wr[0],gr=Wr[1],fn=function(_i){gr([_i.clientX,_i.clientY])},un=Lt(rr,Qn,At?wn:oa,Ce,ye,Je,en),dn=(0,i.Z)(un,11),gn=dn[0],ka=dn[1],Ci=dn[2],pi=dn[3],bn=dn[4],ui=dn[5],ta=dn[6],Ca=dn[7],Ks=dn[8],Ha=dn[9],Zs=dn[10],Js=J(nt,He,Ye,dt),is=(0,i.Z)(Js,2),Hs=is[0],Aa=is[1],Ss=Hs.has("click"),ds=Aa.has("click")||Aa.has("contextMenu"),eo=(0,x.Z)(function(){et||Zs()}),Bi=function(){rt.current&&At&&ds&&Cr(!1)};kt(rr,oa,Qn,eo,Bi),(0,y.Z)(function(){eo()},[wn,Ce]),(0,y.Z)(function(){rr&&!(ye!=null&&ye[Ce])&&eo()},[JSON.stringify(Je)]);var ks=b.useMemo(function(){var vi=se(ye,xe,Ha,At);return o()(vi,Be==null?void 0:Be(Ha))},[Ha,Be,ye,xe,At]);b.useImperativeHandle(Qe,function(){return{nativeElement:zi.current,forceAlign:eo}});var Bo=b.useState(0),Wa=(0,i.Z)(Bo,2),Rs=Wa[0],ci=Wa[1],fo=b.useState(0),Nn=(0,i.Z)(fo,2),Ja=Nn[0],As=Nn[1],Ps=function(){if(Bt&&oa){var _i=oa.getBoundingClientRect();ci(_i.width),As(_i.height)}},ca=function(){Ps(),eo()},es=function(_i){be(!1),Zs(),Me==null||Me(_i)},Yi=function(){return new Promise(function(_i){Ps(),Ir(function(){return _i})})};(0,y.Z)(function(){kr&&(Zs(),kr(),Ir(null))},[kr]);function Ws(vi,_i,ts,ss){vt[vi]=function(as){var Ga;ss==null||ss(as),Cr(_i,ts);for(var hs=arguments.length,Jo=new Array(hs>1?hs-1:0),Is=1;Is<hs;Is++)Jo[Is-1]=arguments[Is];(Ga=Dt[vi])===null||Ga===void 0||Ga.call.apply(Ga,[Dt,as].concat(Jo))}}(Ss||ds)&&(vt.onClick=function(vi){var _i;rt.current&&ds?Cr(!1):!rt.current&&Ss&&(fn(vi),Cr(!0));for(var ts=arguments.length,ss=new Array(ts>1?ts-1:0),as=1;as<ts;as++)ss[as-1]=arguments[as];(_i=Dt.onClick)===null||_i===void 0||_i.call.apply(_i,[Dt,vi].concat(ss))}),tr(rr,ds,oa,Qn,Ct,ze,Zi,Cr);var vo=Hs.has("hover"),Wo=Aa.has("hover"),Go,mu;vo&&(Ws("onMouseEnter",!0,qe,function(vi){fn(vi)}),Ws("onPointerEnter",!0,qe,function(vi){fn(vi)}),Go=function(_i){(rr||et)&&Qn!==null&&Qn!==void 0&&Qn.contains(_i.target)&&Cr(!0,qe)},At&&(vt.onMouseMove=function(vi){var _i;(_i=Dt.onMouseMove)===null||_i===void 0||_i.call(Dt,vi)})),Wo&&(Ws("onMouseLeave",!1,Rt),Ws("onPointerLeave",!1,Rt),mu=function(){Cr(!1,Rt)}),Hs.has("focus")&&Ws("onFocus",!0,zt),Aa.has("focus")&&Ws("onBlur",!1,Ht),Hs.has("contextMenu")&&(vt.onContextMenu=function(vi){var _i;rt.current&&Aa.has("contextMenu")?Cr(!1):(fn(vi),Cr(!0)),vi.preventDefault();for(var ts=arguments.length,ss=new Array(ts>1?ts-1:0),as=1;as<ts;as++)ss[as-1]=arguments[as];(_i=Dt.onContextMenu)===null||_i===void 0||_i.call.apply(_i,[Dt,vi].concat(ss))}),mt&&(vt.className=o()(Dt.className,mt));var uu=(0,r.Z)((0,r.Z)({},Dt),vt),ho={},No=["onContextMenu","onClick","onMouseDown","onTouchStart","onMouseEnter","onMouseLeave","onFocus","onBlur"];No.forEach(function(vi){lt[vi]&&(ho[vi]=function(){for(var _i,ts=arguments.length,ss=new Array(ts),as=0;as<ts;as++)ss[as]=arguments[as];(_i=uu[vi])===null||_i===void 0||_i.call.apply(_i,[uu].concat(ss)),lt[vi].apply(lt,ss)})});var Co=b.cloneElement(Ki,(0,r.Z)((0,r.Z)({},uu),ho)),qo={x:ui,y:ta},Ko=Lr?(0,r.Z)({},Lr!==!0?Lr:{}):null;return b.createElement(b.Fragment,null,b.createElement(h.Z,{disabled:!rr,ref:mi,onResize:ca},b.createElement(H,{getTriggerDOMNode:st},Co)),b.createElement(ne.Provider,{value:Yr},b.createElement(V,{portal:tt,ref:Ai,prefixCls:xe,popup:ct,className:o()(Wt,ks),style:Tt,target:oa,onMouseEnter:Go,onMouseLeave:mu,onPointerEnter:Go,zIndex:yt,open:rr,keepDom:et,fresh:Dr,onClick:Xr,mask:Ct,motion:Hi,maskMotion:hi,onVisibleChanged:es,onPrepare:Yi,forceRender:pe,autoDestroy:Nt,getPopupContainer:ce,align:Ha,arrow:Ko,arrowPos:qo,ready:gn,offsetX:ka,offsetY:Ci,offsetR:pi,offsetB:bn,onAlign:eo,stretch:Bt,targetWidth:Rs/Ca,targetHeight:Ja/Ks})))});return gt}var Ft=wt(c.Z)},48850:function(){"use strict"},41977:function(d,v){"use strict";v.Z={loading:"loading___hdeS1",layoutMainClass:"layoutMainClass___t8btz"}},77254: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},22575:function(d,v,e){"use strict";e.d(v,{zt:function(){return ps},$j:function(){return Xi},Ue:function(){return vo},I0:function(){return so},v9:function(){return vu}});var r={};e.r(r),e.d(r,{actionChannel:function(){return Yt},all:function(){return Be},apply:function(){return en},call:function(){return Xr},cancel:function(){return on},cancelled:function(){return mt},cps:function(){return Lr},flush:function(){return st},fork:function(){return Nr},getContext:function(){return lt},join:function(){return Zr},put:function(){return Bt},race:function(){return Dr},select:function(){return _n},setContext:function(){return Nt},spawn:function(){return mr},take:function(){return Je},takeEvery:function(){return _t},takeLatest:function(){return rt},takem:function(){return yt},throttle:function(){return Ot}});var i=e(59301),l=e(75682),c=e(59781),f=Object.assign||function(Xe){for(var Ie=1;Ie<arguments.length;Ie++){var $t=arguments[Ie];for(var Gt in $t)Object.prototype.hasOwnProperty.call($t,Gt)&&(Xe[Gt]=$t[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(Ie){return"@@redux-saga/"+Ie},u=h("TASK"),a=h("HELPER"),x=h("MATCH"),p=h("CANCEL_PROMISE"),y=h("SAGA_ACTION"),_=h("SELF_CANCELLATION"),b=function(Ie){return function(){return Ie}},S=b(!0),k=null,R=function(){},A=function(Ie){return Ie};function I(Xe,Ie,$t){if(!Ie(Xe))throw le("error","uncaught at check",$t),new Error($t)}var M=Object.prototype.hasOwnProperty;function B(Xe,Ie){return N.notUndef(Xe)&&M.call(Xe,Ie)}var N={undef:function(Ie){return Ie==null},notUndef:function(Ie){return Ie!=null},func:function(Ie){return typeof Ie=="function"},number:function(Ie){return typeof Ie=="number"},string:function(Ie){return typeof Ie=="string"},array:Array.isArray,object:function(Ie){return Ie&&!N.array(Ie)&&(typeof Ie=="undefined"?"undefined":o(Ie))==="object"},promise:function(Ie){return Ie&&N.func(Ie.then)},iterator:function(Ie){return Ie&&N.func(Ie.next)&&N.func(Ie.throw)},iterable:function(Ie){return Ie&&N.func(Symbol)?N.func(Ie[Symbol.iterator]):N.array(Ie)},task:function(Ie){return Ie&&Ie[u]},observable:function(Ie){return Ie&&N.func(Ie.subscribe)},buffer:function(Ie){return Ie&&N.func(Ie.isEmpty)&&N.func(Ie.take)&&N.func(Ie.put)},pattern:function(Ie){return Ie&&(N.string(Ie)||(typeof Ie=="undefined"?"undefined":o(Ie))==="symbol"||N.func(Ie)||N.array(Ie))},channel:function(Ie){return Ie&&N.func(Ie.take)&&N.func(Ie.close)},helper:function(Ie){return Ie&&Ie[a]},stringableFunc:function(Ie){return N.func(Ie)&&B(Ie,"toString")}},V={assign:function(Ie,$t){for(var Gt in $t)B($t,Gt)&&(Ie[Gt]=$t[Gt])}};function W(Xe,Ie){var $t=Xe.indexOf(Ie);$t>=0&&Xe.splice($t,1)}var H={from:function(Ie){var $t=Array(Ie.length);for(var Gt in Ie)B(Ie,Gt)&&($t[Gt]=Ie[Gt]);return $t}};function ae(){var Xe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},Ie=f({},Xe),$t=new Promise(function(Gt,yr){Ie.resolve=Gt,Ie.reject=yr});return Ie.promise=$t,Ie}function ne(Xe){for(var Ie=[],$t=0;$t<Xe;$t++)Ie.push(ae());return Ie}function oe(Xe){var Ie=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,$t=void 0,Gt=new Promise(function(yr){$t=setTimeout(function(){return yr(Ie)},Xe)});return Gt[p]=function(){return clearTimeout($t)},Gt}function J(){var Xe,Ie=!0,$t=void 0,Gt=void 0;return Xe={},Xe[u]=!0,Xe.isRunning=function(){return Ie},Xe.result=function(){return $t},Xe.error=function(){return Gt},Xe.setRunning=function(Br){return Ie=Br},Xe.setResult=function(Br){return $t=Br},Xe.setError=function(Br){return Gt=Br},Xe}function q(){var Xe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0;return function(){return++Xe}}var K=q(),se=function(Ie){throw Ie},ee=function(Ie){return{value:Ie,done:!0}};function Q(Xe){var Ie=arguments.length>1&&arguments[1]!==void 0?arguments[1]:se,$t=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"",Gt=arguments[3],yr={name:$t,next:Xe,throw:Ie,return:ee};return Gt&&(yr[a]=!0),typeof Symbol!="undefined"&&(yr[Symbol.iterator]=function(){return yr}),yr}function le(Xe,Ie){var $t=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"";typeof window=="undefined"?console.log("redux-saga "+Xe+": "+Ie+`
`+($t&&$t.stack||$t)):console[Xe](Ie,$t)}function z(Xe,Ie){return function(){return Xe.apply(void 0,arguments)}}var $=function(Ie,$t){return Ie+" has been deprecated in favor of "+$t+", please update your code"},ie=function(Ie){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: `+Ie+`
`)},_e=function(Ie,$t){return(Ie?Ie+".":"")+"setContext(props): argument "+$t+" is not a plain object"},Ae=function(Ie){return function($t){return Ie(Object.defineProperty($t,y,{value:!0}))}},Pe=function Xe(Ie){return function(){for(var $t=arguments.length,Gt=Array($t),yr=0;yr<$t;yr++)Gt[yr]=arguments[yr];var Br=[],Hr=Ie.apply(void 0,Gt);return{next:function(ln){return Br.push(ln),Hr.next(ln)},clone:function(){var ln=Xe(Ie).apply(void 0,Gt);return Br.forEach(function(En){return ln.next(En)}),ln},return:function(ln){return Hr.return(ln)},throw:function(ln){return Hr.throw(ln)}}}},We="Channel's Buffer overflow!",$e=1,Lt=2,bt=3,kt=4,Zt={isEmpty:S,put:R,take:R};function Mt(){var Xe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:10,Ie=arguments[1],$t=new Array(Xe),Gt=0,yr=0,Br=0,Hr=function(ii){$t[yr]=ii,yr=(yr+1)%Xe,Gt++},xn=function(){if(Gt!=0){var ii=$t[Br];return $t[Br]=null,Gt--,Br=(Br+1)%Xe,ii}},ln=function(){for(var ii=[];Gt;)ii.push(xn());return ii};return{isEmpty:function(){return Gt==0},put:function(ii){if(Gt<Xe)Hr(ii);else{var ai=void 0;switch(Ie){case $e:throw new Error(We);case bt:$t[yr]=ii,yr=(yr+1)%Xe,Br=yr;break;case kt:ai=2*Xe,$t=ln(),Gt=$t.length,yr=$t.length,Br=0,$t.length=ai,Xe=ai,Hr(ii);break;default:}}},take:xn,flush:ln}}var tr={none:function(){return Zt},fixed:function(Ie){return Mt(Ie,$e)},dropping:function(Ie){return Mt(Ie,Lt)},sliding:function(Ie){return Mt(Ie,bt)},expanding:function(Ie){return Mt(Ie,kt)}},je=[],wt=0;function Ft(Xe){try{gt(),Xe()}finally{ft()}}function tt(Xe){je.push(Xe),wt||(gt(),Qe())}function gt(){wt++}function ft(){wt--}function Qe(){ft();for(var Xe=void 0;!wt&&(Xe=je.shift())!==void 0;)Ft(Xe)}var Ne=Object.assign||function(Xe){for(var Ie=1;Ie<arguments.length;Ie++){var $t=arguments[Ie];for(var Gt in $t)Object.prototype.hasOwnProperty.call($t,Gt)&&(Xe[Gt]=$t[Gt])}return Xe},xe="@@redux-saga/CHANNEL_END",ke={type:xe},Ge=function(Ie){return Ie&&Ie.type===xe};function He(){var Xe=[];function Ie(Gt){return Xe.push(Gt),function(){return W(Xe,Gt)}}function $t(Gt){for(var yr=Xe.slice(),Br=0,Hr=yr.length;Br<Hr;Br++)yr[Br](Gt)}return{subscribe:Ie,emit:$t}}var Ye="invalid buffer passed to channel factory function",dt="Saga was provided with an undefined action";function xt(){var Xe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:tr.fixed(),Ie=!1,$t=[];I(Xe,N.buffer,Ye);function Gt(){if(Ie&&$t.length)throw ie("Cannot have a closed channel with pending takers");if($t.length&&!Xe.isEmpty())throw ie("Cannot have pending takers with non empty buffer")}function yr(ln){if(Gt(),I(ln,N.notUndef,dt),!Ie){if(!$t.length)return Xe.put(ln);for(var En=0;En<$t.length;En++){var ii=$t[En];if(!ii[x]||ii[x](ln))return $t.splice(En,1),ii(ln)}}}function Br(ln){Gt(),I(ln,N.func,"channel.take's callback must be a function"),Ie&&Xe.isEmpty()?ln(ke):Xe.isEmpty()?($t.push(ln),ln.cancel=function(){return W($t,ln)}):ln(Xe.take())}function Hr(ln){if(Gt(),I(ln,N.func,"channel.flush' callback must be a function"),Ie&&Xe.isEmpty()){ln(ke);return}ln(Xe.flush())}function xn(){if(Gt(),!Ie&&(Ie=!0,$t.length)){var ln=$t;$t=[];for(var En=0,ii=ln.length;En<ii;En++)ln[En](ke)}}return{take:Br,put:yr,flush:Hr,close:xn,get __takers__(){return $t},get __closed__(){return Ie}}}function nr(Xe){var Ie=arguments.length>1&&arguments[1]!==void 0?arguments[1]:tr.none(),$t=arguments[2];arguments.length>2&&I($t,N.func,"Invalid match function passed to eventChannel");var Gt=xt(Ie),yr=function(){Gt.__closed__||(Br&&Br(),Gt.close())},Br=Xe(function(Hr){if(Ge(Hr)){yr();return}$t&&!$t(Hr)||Gt.put(Hr)});if(Gt.__closed__&&Br(),!N.func(Br))throw new Error("in eventChannel: subscribe should return a function to unsubscribe");return{take:Gt.take,flush:Gt.flush,close:yr}}function qt(Xe){var Ie=nr(function($t){return Xe(function(Gt){if(Gt[y]){$t(Gt);return}tt(function(){return $t(Gt)})})});return Ne({},Ie,{take:function(Gt,yr){arguments.length>1&&(I(yr,N.func,"channel.take's matcher argument must be a function"),Gt[x]=yr),Ie.take(Gt)}})}var Me=h("IO"),qe="TAKE",Vt="PUT",Rt="ALL",zt="RACE",Ht="CALL",Ct="CPS",Xt="FORK",ze="JOIN",ce="CANCEL",pe="SELECT",It="ACTION_CHANNEL",Te="CANCELLED",ct="FLUSH",Wt="GET_CONTEXT",Tt="SET_CONTEXT",Ce=`
(HINT: if you are getting this errors in tests, consider using createMockTask from redux-saga/utils)`,St=function(Ie,$t){var Gt;return Gt={},Gt[Me]=!0,Gt[Ie]=$t,Gt},ye=function(Ie){return I(vr.fork(Ie),N.object,"detach(eff): argument must be a fork effect"),Ie[Xt].detached=!0,Ie};function Je(){var Xe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"*";if(arguments.length&&I(arguments[0],N.notUndef,"take(patternOrChannel): patternOrChannel is undefined"),N.pattern(Xe))return St(qe,{pattern:Xe});if(N.channel(Xe))return St(qe,{channel:Xe});throw new Error("take(patternOrChannel): argument "+String(Xe)+" is not valid channel or a valid pattern")}Je.maybe=function(){var Xe=Je.apply(void 0,arguments);return Xe[qe].maybe=!0,Xe};var yt=z(Je.maybe,$("takem","take.maybe"));function Bt(Xe,Ie){return arguments.length>1?(I(Xe,N.notUndef,"put(channel, action): argument channel is undefined"),I(Xe,N.channel,"put(channel, action): argument "+Xe+" is not a valid channel"),I(Ie,N.notUndef,"put(channel, action): argument action is undefined")):(I(Xe,N.notUndef,"put(action): argument action is undefined"),Ie=Xe,Xe=null),St(Vt,{channel:Xe,action:Ie})}Bt.resolve=function(){var Xe=Bt.apply(void 0,arguments);return Xe[Vt].resolve=!0,Xe},Bt.sync=z(Bt.resolve,$("put.sync","put.resolve"));function Be(Xe){return St(Rt,Xe)}function Dr(Xe){return St(zt,Xe)}function At(Xe,Ie,$t){I(Ie,N.notUndef,Xe+": argument fn is undefined");var Gt=null;if(N.array(Ie)){var yr=Ie;Gt=yr[0],Ie=yr[1]}else if(Ie.fn){var Br=Ie;Gt=Br.context,Ie=Br.fn}return Gt&&N.string(Ie)&&N.func(Gt[Ie])&&(Ie=Gt[Ie]),I(Ie,N.func,Xe+": argument "+Ie+" is not a function"),{context:Gt,fn:Ie,args:$t}}function Xr(Xe){for(var Ie=arguments.length,$t=Array(Ie>1?Ie-1:0),Gt=1;Gt<Ie;Gt++)$t[Gt-1]=arguments[Gt];return St(Ht,At("call",Xe,$t))}function en(Xe,Ie){var $t=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[];return St(Ht,At("apply",{context:Xe,fn:Ie},$t))}function Lr(Xe){for(var Ie=arguments.length,$t=Array(Ie>1?Ie-1:0),Gt=1;Gt<Ie;Gt++)$t[Gt-1]=arguments[Gt];return St(Ct,At("cps",Xe,$t))}function Nr(Xe){for(var Ie=arguments.length,$t=Array(Ie>1?Ie-1:0),Gt=1;Gt<Ie;Gt++)$t[Gt-1]=arguments[Gt];return St(Xt,At("fork",Xe,$t))}function mr(Xe){for(var Ie=arguments.length,$t=Array(Ie>1?Ie-1:0),Gt=1;Gt<Ie;Gt++)$t[Gt-1]=arguments[Gt];return ye(Nr.apply(void 0,[Xe].concat($t)))}function Zr(){for(var Xe=arguments.length,Ie=Array(Xe),$t=0;$t<Xe;$t++)Ie[$t]=arguments[$t];if(Ie.length>1)return Be(Ie.map(function(yr){return Zr(yr)}));var Gt=Ie[0];return I(Gt,N.notUndef,"join(task): argument task is undefined"),I(Gt,N.task,"join(task): argument "+Gt+" is not a valid Task object "+Ce),St(ze,Gt)}function on(){for(var Xe=arguments.length,Ie=Array(Xe),$t=0;$t<Xe;$t++)Ie[$t]=arguments[$t];if(Ie.length>1)return Be(Ie.map(function(yr){return on(yr)}));var Gt=Ie[0];return Ie.length===1&&(I(Gt,N.notUndef,"cancel(task): argument task is undefined"),I(Gt,N.task,"cancel(task): argument "+Gt+" is not a valid Task object "+Ce)),St(ce,Gt||_)}function _n(Xe){for(var Ie=arguments.length,$t=Array(Ie>1?Ie-1:0),Gt=1;Gt<Ie;Gt++)$t[Gt-1]=arguments[Gt];return arguments.length===0?Xe=A:(I(Xe,N.notUndef,"select(selector,[...]): argument selector is undefined"),I(Xe,N.func,"select(selector,[...]): argument "+Xe+" is not a function")),St(pe,{selector:Xe,args:$t})}function Yt(Xe,Ie){return I(Xe,N.notUndef,"actionChannel(pattern,...): argument pattern is undefined"),arguments.length>1&&(I(Ie,N.notUndef,"actionChannel(pattern, buffer): argument buffer is undefined"),I(Ie,N.buffer,"actionChannel(pattern, buffer): argument "+Ie+" is not a valid buffer")),St(It,{pattern:Xe,buffer:Ie})}function mt(){return St(Te,{})}function st(Xe){return I(Xe,N.channel,"flush(channel): argument "+Xe+" is not valid channel"),St(ct,Xe)}function lt(Xe){return I(Xe,N.string,"getContext(prop): argument "+Xe+" is not a string"),St(Wt,Xe)}function Nt(Xe){return I(Xe,N.object,_e(null,Xe)),St(Tt,Xe)}var br=function(Ie){return function($t){return $t&&$t[Me]&&$t[Ie]}},vr={take:br(qe),put:br(Vt),all:br(Rt),race:br(zt),call:br(Ht),cps:br(Ct),fork:br(Xt),join:br(ze),cancel:br(ce),select:br(pe),actionChannel:br(It),cancelled:br(Te),flush:br(ct),getContext:br(Wt),setContext:br(Tt)},nt=Object.assign||function(Xe){for(var Ie=1;Ie<arguments.length;Ie++){var $t=arguments[Ie];for(var Gt in $t)Object.prototype.hasOwnProperty.call($t,Gt)&&(Xe[Gt]=$t[Gt])}return Xe},Tr=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 vn(Xe,Ie){for(var $t in Ie){var Gt=Ie[$t];Gt.configurable=Gt.enumerable=!0,"value"in Gt&&(Gt.writable=!0),Object.defineProperty(Xe,$t,Gt)}return Xe}var Gn="proc first argument (Saga function result) must be an iterator",Yr={toString:function(){return"@@redux-saga/CHANNEL_END"}},Yn={toString:function(){return"@@redux-saga/TASK_CANCEL"}},Jn={wildcard:function(){return S},default:function(Ie){return(typeof Ie=="undefined"?"undefined":Tr(Ie))==="symbol"?function($t){return $t.type===Ie}:function($t){return $t.type===String(Ie)}},array:function(Ie){return function($t){return Ie.some(function(Gt){return kn(Gt)($t)})}},predicate:function(Ie){return function($t){return Ie($t)}}};function kn(Xe){return(Xe==="*"?Jn.wildcard:N.array(Xe)?Jn.array:N.stringableFunc(Xe)?Jn.default:N.func(Xe)?Jn.predicate:Jn.default)(Xe)}function Qn(Xe,Ie,$t){var Gt=[],yr=void 0,Br=!1;xn(Ie);function Hr(En){ln(),$t(En,!0)}function xn(En){Gt.push(En),En.cont=function(ii,ai){Br||(W(Gt,En),En.cont=R,ai?Hr(ii):(En===Ie&&(yr=ii),Gt.length||(Br=!0,$t(yr))))}}function ln(){Br||(Br=!0,Gt.forEach(function(En){En.cont=R,En.cancel()}),Gt=[])}return{addTask:xn,cancelAll:ln,abort:Hr,getTasks:function(){return Gt},taskNames:function(){return Gt.map(function(ii){return ii.name})}}}function ri(Xe){var Ie=Xe.context,$t=Xe.fn,Gt=Xe.args;if(N.iterator($t))return $t;var yr=void 0,Br=void 0;try{yr=$t.apply(Ie,Gt)}catch(Hr){Br=Hr}return N.iterator(yr)?yr:Q(Br?function(){throw Br}:function(){var Hr=void 0,xn={done:!1,value:yr},ln=function(ii){return{done:!0,value:ii}};return function(En){return Hr?ln(En):(Hr=!0,xn)}}())}var Ai=function(Ie){return{fn:Ie}};function wi(Xe){var Ie=arguments.length>1&&arguments[1]!==void 0?arguments[1]:function(){return R},$t=arguments.length>2&&arguments[2]!==void 0?arguments[2]:R,Gt=arguments.length>3&&arguments[3]!==void 0?arguments[3]:R,yr=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{},Br=arguments.length>5&&arguments[5]!==void 0?arguments[5]:{},Hr=arguments.length>6&&arguments[6]!==void 0?arguments[6]:0,xn=arguments.length>7&&arguments[7]!==void 0?arguments[7]:"anonymous",ln=arguments[8];I(Xe,N.iterator,Gn);var En="[...effects]",ii=z(oo,$(En,"all("+En+")")),ai=Br.sagaMonitor,gi=Br.logger,Li=Br.onError,ua=gi||le,Qi=function(Jr){var On=Jr.sagaStack;!On&&Jr.stack&&(On=Jr.stack.split(`
`)[0].indexOf(Jr.message)!==-1?Jr.stack:"Error: "+Jr.message+`
`+Jr.stack),ua("error","uncaught at "+xn,On||Jr.message||Jr)},Pi=qt(Ie),Da=Object.create(yr);ia.cancel=R;var Ii=rn(Hr,xn,Xe,ln),yi={name:xn,cancel:go,isRunning:!0},ga=Qn(xn,yi,Ya);function go(){yi.isRunning&&!yi.isCancelled&&(yi.isCancelled=!0,ia(Yn))}function Bs(){Xe._isRunning&&!Xe._isCancelled&&(Xe._isCancelled=!0,ga.cancelAll(),Ya(Yn))}return ln&&(ln.cancel=Bs),Xe._isRunning=!0,ia(),Ii;function ia(xr,Jr){if(!yi.isRunning)throw new Error("Trying to resume an already finished generator");try{var On=void 0;Jr?On=Xe.throw(xr):xr===Yn?(yi.isCancelled=!0,ia.cancel(),On=N.func(Xe.return)?Xe.return(Yn):{done:!0,value:Yn}):xr===Yr?On=N.func(Xe.return)?Xe.return():{done:!0}:On=Xe.next(xr),On.done?(yi.isMainRunning=!1,yi.cont&&yi.cont(On.value)):ba(On.value,Hr,"",ia)}catch(oi){yi.isCancelled&&Qi(oi),yi.isMainRunning=!1,yi.cont(oi,!0)}}function Ya(xr,Jr){Xe._isRunning=!1,Pi.close(),Jr?(xr instanceof Error&&Object.defineProperty(xr,"sagaStack",{value:"at "+xn+`
`+(xr.sagaStack||xr.stack),configurable:!0}),Ii.cont||(xr instanceof Error&&Li?Li(xr):Qi(xr)),Xe._error=xr,Xe._isAborted=!0,Xe._deferredEnd&&Xe._deferredEnd.reject(xr)):(Xe._result=xr,Xe._deferredEnd&&Xe._deferredEnd.resolve(xr)),Ii.cont&&Ii.cont(xr,Jr),Ii.joiners.forEach(function(On){return On.cb(xr,Jr)}),Ii.joiners=null}function ba(xr,Jr){var On=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"",oi=arguments[3],Wi=K();ai&&ai.effectTriggered({effectId:Wi,parentEffectId:Jr,label:On,effect:xr});var Un=void 0;function Ln(aa,na){Un||(Un=!0,oi.cancel=R,ai&&(na?ai.effectRejected(Wi,aa):ai.effectResolved(Wi,aa)),oi(aa,na))}Ln.cancel=R,oi.cancel=function(){if(!Un){Un=!0;try{Ln.cancel()}catch(aa){Qi(aa)}Ln.cancel=R,ai&&ai.effectCancelled(Wi)}};var Cn=void 0;return N.promise(xr)?Mi(xr,Ln):N.helper(xr)?Po(Ai(xr),Wi,Ln):N.iterator(xr)?Ra(xr,Wi,xn,Ln):N.array(xr)?ii(xr,Wi,Ln):(Cn=vr.take(xr))?os(Cn,Ln):(Cn=vr.put(xr))?us(Cn,Ln):(Cn=vr.all(xr))?oo(Cn,Wi,Ln):(Cn=vr.race(xr))?Ta(Cn,Wi,Ln):(Cn=vr.call(xr))?yo(Cn,Wi,Ln):(Cn=vr.cps(xr))?bs(Cn,Ln):(Cn=vr.fork(xr))?Po(Cn,Wi,Ln):(Cn=vr.join(xr))?_s(Cn,Ln):(Cn=vr.cancel(xr))?bo(Cn,Ln):(Cn=vr.select(xr))?ls(Cn,Ln):(Cn=vr.actionChannel(xr))?Qs(Cn,Ln):(Cn=vr.flush(xr))?ge(Cn,Ln):(Cn=vr.cancelled(xr))?La(Cn,Ln):(Cn=vr.getContext(xr))?we(Cn,Ln):(Cn=vr.setContext(xr))?wr(Cn,Ln):Ln(xr)}function Mi(xr,Jr){var On=xr[p];N.func(On)?Jr.cancel=On:N.func(xr.abort)&&(Jr.cancel=function(){return xr.abort()}),xr.then(Jr,function(oi){return Jr(oi,!0)})}function Ra(xr,Jr,On,oi){wi(xr,Ie,$t,Gt,Da,Br,Jr,On,oi)}function os(xr,Jr){var On=xr.channel,oi=xr.pattern,Wi=xr.maybe;On=On||Pi;var Un=function(Cn){return Cn instanceof Error?Jr(Cn,!0):Ge(Cn)&&!Wi?Jr(Yr):Jr(Cn)};try{On.take(Un,kn(oi))}catch(Ln){return Jr(Ln,!0)}Jr.cancel=Un.cancel}function us(xr,Jr){var On=xr.channel,oi=xr.action,Wi=xr.resolve;tt(function(){var Un=void 0;try{Un=(On?On.put:$t)(oi)}catch(Ln){if(On||Wi)return Jr(Ln,!0);Qi(Ln)}if(Wi&&N.promise(Un))Mi(Un,Jr);else return Jr(Un)})}function yo(xr,Jr,On){var oi=xr.context,Wi=xr.fn,Un=xr.args,Ln=void 0;try{Ln=Wi.apply(oi,Un)}catch(Cn){return On(Cn,!0)}return N.promise(Ln)?Mi(Ln,On):N.iterator(Ln)?Ra(Ln,Jr,Wi.name,On):On(Ln)}function bs(xr,Jr){var On=xr.context,oi=xr.fn,Wi=xr.args;try{var Un=function(Cn,aa){return N.undef(Cn)?Jr(aa):Jr(Cn,!0)};oi.apply(On,Wi.concat(Un)),Un.cancel&&(Jr.cancel=function(){return Un.cancel()})}catch(Ln){return Jr(Ln,!0)}}function Po(xr,Jr,On){var oi=xr.context,Wi=xr.fn,Un=xr.args,Ln=xr.detached,Cn=ri({context:oi,fn:Wi,args:Un});try{gt();var aa=wi(Cn,Ie,$t,Gt,Da,Br,Jr,Wi.name,Ln?null:R);Ln?On(aa):Cn._isRunning?(ga.addTask(aa),On(aa)):Cn._error?ga.abort(Cn._error):On(aa)}finally{Qe()}}function _s(xr,Jr){if(xr.isRunning()){var On={task:Ii,cb:Jr};Jr.cancel=function(){return W(xr.joiners,On)},xr.joiners.push(On)}else xr.isAborted()?Jr(xr.error(),!0):Jr(xr.result())}function bo(xr,Jr){xr===_&&(xr=Ii),xr.isRunning()&&xr.cancel(),Jr()}function oo(xr,Jr,On){var oi=Object.keys(xr);if(!oi.length)return On(N.array(xr)?[]:{});var Wi=0,Un=void 0,Ln={},Cn={};function aa(){Wi===oi.length&&(Un=!0,On(N.array(xr)?H.from(nt({},Ln,{length:oi.length})):Ln))}oi.forEach(function(na){var zo=function(Su,jl){Un||(jl||Ge(Su)||Su===Yr||Su===Yn?(On.cancel(),On(Su,jl)):(Ln[na]=Su,Wi++,aa()))};zo.cancel=R,Cn[na]=zo}),On.cancel=function(){Un||(Un=!0,oi.forEach(function(na){return Cn[na].cancel()}))},oi.forEach(function(na){return ba(xr[na],Jr,na,Cn[na])})}function Ta(xr,Jr,On){var oi=void 0,Wi=Object.keys(xr),Un={};Wi.forEach(function(Ln){var Cn=function(na,zo){if(!oi){if(zo)On.cancel(),On(na,!0);else if(!Ge(na)&&na!==Yr&&na!==Yn){var uo;On.cancel(),oi=!0;var Su=(uo={},uo[Ln]=na,uo);On(N.array(xr)?[].slice.call(nt({},Su,{length:Wi.length})):Su)}}};Cn.cancel=R,Un[Ln]=Cn}),On.cancel=function(){oi||(oi=!0,Wi.forEach(function(Ln){return Un[Ln].cancel()}))},Wi.forEach(function(Ln){oi||ba(xr[Ln],Jr,Ln,Un[Ln])})}function ls(xr,Jr){var On=xr.selector,oi=xr.args;try{var Wi=On.apply(void 0,[Gt()].concat(oi));Jr(Wi)}catch(Un){Jr(Un,!0)}}function Qs(xr,Jr){var On=xr.pattern,oi=xr.buffer,Wi=kn(On);Wi.pattern=On,Jr(nr(Ie,oi||tr.fixed(),Wi))}function La(xr,Jr){Jr(!!yi.isCancelled)}function ge(xr,Jr){xr.flush(Jr)}function we(xr,Jr){Jr(Da[xr])}function wr(xr,Jr){V.assign(Da,xr),Jr()}function rn(xr,Jr,On,oi){var Wi,Un,Ln;return On._deferredEnd=null,Un={},Un[u]=!0,Un.id=xr,Un.name=Jr,Wi="done",Ln={},Ln[Wi]=Ln[Wi]||{},Ln[Wi].get=function(){if(On._deferredEnd)return On._deferredEnd.promise;var Cn=ae();return On._deferredEnd=Cn,On._isRunning||(On._error?Cn.reject(On._error):Cn.resolve(On._result)),Cn.promise},Un.cont=oi,Un.joiners=[],Un.cancel=Bs,Un.isRunning=function(){return On._isRunning},Un.isCancelled=function(){return On._isCancelled},Un.isAborted=function(){return On._isAborted},Un.result=function(){return On._result},Un.error=function(){return On._error},Un.setContext=function(aa){I(aa,N.object,_e("task",aa)),V.assign(Da,aa)},vn(Un,Ln),Un}}var Ui="runSaga(storeInterface, saga, ...args)",oa=Ui+": saga argument must be a Generator function!";function Vi(Xe,Ie){for(var $t=arguments.length,Gt=Array($t>2?$t-2:0),yr=2;yr<$t;yr++)Gt[yr-2]=arguments[yr];var Br=void 0;N.iterator(Xe)?(Br=Xe,Xe=Ie):(I(Ie,N.func,oa),Br=Ie.apply(void 0,Gt),I(Br,N.iterator,oa));var Hr=Xe,xn=Hr.subscribe,ln=Hr.dispatch,En=Hr.getState,ii=Hr.context,ai=Hr.sagaMonitor,gi=Hr.logger,Li=Hr.onError,ua=K();ai&&(ai.effectTriggered=ai.effectTriggered||R,ai.effectResolved=ai.effectResolved||R,ai.effectRejected=ai.effectRejected||R,ai.effectCancelled=ai.effectCancelled||R,ai.actionDispatched=ai.actionDispatched||R,ai.effectTriggered({effectId:ua,root:!0,parentEffectId:0,effect:{root:!0,saga:Ie,args:Gt}}));var Qi=wi(Br,xn,Ae(ln),En,ii,{sagaMonitor:ai,logger:gi,onError:Li},ua,Ie.name);return ai&&ai.effectResolved(ua,Qi),Qi}function zi(Xe,Ie){var $t={};for(var Gt in Xe)Ie.indexOf(Gt)>=0||Object.prototype.hasOwnProperty.call(Xe,Gt)&&($t[Gt]=Xe[Gt]);return $t}function mi(){var Xe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},Ie=Xe.context,$t=Ie===void 0?{}:Ie,Gt=zi(Xe,["context"]),yr=Gt.sagaMonitor,Br=Gt.logger,Hr=Gt.onError;if(N.func(Gt))throw new Error("Saga middleware no longer accept Generator functions. Use sagaMiddleware.run instead");if(Br&&!N.func(Br))throw new Error("`options.logger` passed to the Saga middleware is not a function!");if(Hr&&!N.func(Hr))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 xn(ln){var En=ln.getState,ii=ln.dispatch,ai=He();return ai.emit=(Gt.emitter||A)(ai.emit),xn.run=Vi.bind(null,{context:$t,subscribe:ai.subscribe,dispatch:ii,getState:En,sagaMonitor:yr,logger:Br,onError:Hr}),function(gi){return function(Li){yr&&yr.actionDispatched&&yr.actionDispatched(Li);var ua=gi(Li);return ai.emit(Li),ua}}}return xn.run=function(){throw new Error("Before running a Saga, you must mount the Saga middleware on the Store using applyMiddleware")},xn.setContext=function(ln){I(ln,N.object,_e("sagaMiddleware",ln)),V.assign($t,ln)},xn}var Ki={done:!0,value:void 0},Dt={};function vt(Xe){return N.channel(Xe)?"channel":Array.isArray(Xe)?String(Xe.map(function(Ie){return String(Ie)})):String(Xe)}function Zi(Xe,Ie){var $t=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"iterator",Gt=void 0,yr=Ie;function Br(Hr,xn){if(yr===Dt)return Ki;if(xn)throw yr=Dt,xn;Gt&&Gt(Hr);var ln=Xe[yr](),En=ln[0],ii=ln[1],ai=ln[2];return yr=En,Gt=ai,yr===Dt?Ki:ii}return Q(Br,function(Hr){return Br(null,Hr)},$t,!0)}function Hi(Xe,Ie){for(var $t=arguments.length,Gt=Array($t>2?$t-2:0),yr=2;yr<$t;yr++)Gt[yr-2]=arguments[yr];var Br={done:!1,value:Je(Xe)},Hr=function(ii){return{done:!1,value:Nr.apply(void 0,[Ie].concat(Gt,[ii]))}},xn=void 0,ln=function(ii){return xn=ii};return Zi({q1:function(){return["q2",Br,ln]},q2:function(){return xn===ke?[Dt]:["q1",Hr(xn)]}},"q1","takeEvery("+vt(Xe)+", "+Ie.name+")")}function hi(Xe,Ie){for(var $t=arguments.length,Gt=Array($t>2?$t-2:0),yr=2;yr<$t;yr++)Gt[yr-2]=arguments[yr];var Br={done:!1,value:Je(Xe)},Hr=function(Li){return{done:!1,value:Nr.apply(void 0,[Ie].concat(Gt,[Li]))}},xn=function(Li){return{done:!1,value:on(Li)}},ln=void 0,En=void 0,ii=function(Li){return ln=Li},ai=function(Li){return En=Li};return Zi({q1:function(){return["q2",Br,ai]},q2:function(){return En===ke?[Dt]:ln?["q3",xn(ln)]:["q1",Hr(En),ii]},q3:function(){return["q1",Hr(En),ii]}},"q1","takeLatest("+vt(Xe)+", "+Ie.name+")")}function Fa(Xe,Ie,$t){for(var Gt=arguments.length,yr=Array(Gt>3?Gt-3:0),Br=3;Br<Gt;Br++)yr[Br-3]=arguments[Br];var Hr=void 0,xn=void 0,ln={done:!1,value:Yt(Ie,tr.sliding(1))},En=function(){return{done:!1,value:Je(xn)}},ii=function(Qi){return{done:!1,value:Nr.apply(void 0,[$t].concat(yr,[Qi]))}},ai={done:!1,value:Xr(oe,Xe)},gi=function(Qi){return Hr=Qi},Li=function(Qi){return xn=Qi};return Zi({q1:function(){return["q2",ln,Li]},q2:function(){return["q3",En(),gi]},q3:function(){return Hr===ke?[Dt]:["q4",ii(Hr)]},q4:function(){return["q2",ai]}},"q1","throttle("+vt(Ie)+", "+$t.name+")")}var Ti=function(Ie){return"import { "+Ie+" } from 'redux-saga' has been deprecated in favor of import { "+Ie+` } from 'redux-saga/effects'.
The latter will not work with yield*, as helper effects are wrapped automatically for you in fork effect.
Therefore yield `+Ie+" will return task descriptor to your saga and execute next lines of code."},si=null,Dn=null,rr=null;function _t(Xe,Ie){for(var $t=arguments.length,Gt=Array($t>2?$t-2:0),yr=2;yr<$t;yr++)Gt[yr-2]=arguments[yr];return Nr.apply(void 0,[Hi,Xe,Ie].concat(Gt))}function rt(Xe,Ie){for(var $t=arguments.length,Gt=Array($t>2?$t-2:0),yr=2;yr<$t;yr++)Gt[yr-2]=arguments[yr];return Nr.apply(void 0,[hi,Xe,Ie].concat(Gt))}function Ot(Xe,Ie,$t){for(var Gt=arguments.length,yr=Array(Gt>3?Gt-3:0),Br=3;Br<Gt;Br++)yr[Br-3]=arguments[Br];return Nr.apply(void 0,[Fa,Xe,Ie,$t].concat(yr))}var ht=mi,lr=e(44520),fr=e.n(lr),Cr=e(76190),Gr=e(78639),Ze=e.n(Gr),et=e(94480),be=e(66712),it=e(56754),or=e.n(it),kr=e(67732),Ir=e(83652),Pr=e(89381),Wr=e.n(Pr),wn=e(60288),gr=e(42978),fn=e(329),un=e.n(fn),dn=Array.isArray.bind(Array),gn=function(Ie){return typeof Ie=="function"},ka=function(Ie){return Ie},Ci=function(){},pi=function(Ie,$t){for(var Gt=0,yr=Ie.length;Gt<yr;Gt+=1)if($t(Ie[Gt],Gt))return Gt;return-1},bn=Object.freeze({isPlainObject:Ze(),isArray:dn,isFunction:gn,returnSelf:ka,noop:Ci,findIndex:pi});function ui(Xe,Ie){var $t=Xe.namespace,Gt=Xe.reducers,yr=Xe.effects,Br=Xe.subscriptions;invariant($t,"[app.model] namespace should be defined"),invariant(typeof $t=="string","[app.model] namespace should be string, but got ".concat(_typeof($t))),invariant(!Ie.some(function(Hr){return Hr.namespace===$t}),"[app.model] namespace should be unique"),Gt&&(invariant(isPlainObject(Gt)||dn(Gt),"[app.model] reducers should be plain object or array, but got ".concat(_typeof(Gt))),invariant(!dn(Gt)||isPlainObject(Gt[0])&&gn(Gt[1]),"[app.model] reducers with array should be [Object, Function]")),yr&&invariant(isPlainObject(yr),"[app.model] effects should be plain object, but got ".concat(_typeof(yr))),Br&&(invariant(isPlainObject(Br),"[app.model] subscriptions should be plain object, but got ".concat(_typeof(Br))),invariant(ta(Br),"[app.model] subscription should be function"))}function ta(Xe){return Object.keys(Xe).every(function(Ie){return gn(Xe[Ie])})}var Ca="/";function Ks(Xe,Ie,$t){return Object.keys(Xe).reduce(function(Gt,yr){or()(yr.indexOf("".concat(Ie).concat(Ca))!==0,"[prefixNamespace]: ".concat($t," ").concat(yr," should not be prefixed with namespace ").concat(Ie));var Br="".concat(Ie).concat(Ca).concat(yr);return Gt[Br]=Xe[yr],Gt},{})}function Ha(Xe){var Ie=Xe.namespace,$t=Xe.reducers,Gt=Xe.effects;if($t)if(dn($t)){var yr=(0,be.Z)($t),Br=yr[0],Hr=yr.slice(1);Xe.reducers=[Ks(Br,Ie,"reducer")].concat((0,et.Z)(Hr))}else Xe.reducers=Ks($t,Ie,"reducer");return Gt&&(Xe.effects=Ks(Gt,Ie,"effect")),Xe}var Zs=["onError","onStateChange","onAction","onHmr","onReducer","onEffect","extraReducers","extraEnhancers","_handleActions"];function Js(Xe){return Object.keys(Xe).reduce(function(Ie,$t){return Zs.indexOf($t)>-1&&(Ie[$t]=Xe[$t]),Ie},{})}var is=function(){function Xe(){(0,kr.Z)(this,Xe),this._handleActions=null,this.hooks=Zs.reduce(function(Ie,$t){return Ie[$t]=[],Ie},{})}return(0,Ir.Z)(Xe,[{key:"use",value:function($t){fr()(Ze()($t),"plugin.use: plugin should be plain object");var Gt=this.hooks;for(var yr in $t)Object.prototype.hasOwnProperty.call($t,yr)&&(fr()(Gt[yr],"plugin.use: unknown plugin property: ".concat(yr)),yr==="_handleActions"?this._handleActions=$t[yr]:yr==="extraEnhancers"?Gt[yr]=$t[yr]:Gt[yr].push($t[yr]))}},{key:"apply",value:function($t,Gt){var yr=this.hooks,Br=["onError","onHmr"];fr()(Br.indexOf($t)>-1,"plugin.apply: hook ".concat($t," cannot be applied"));var Hr=yr[$t];return function(){if(Hr.length){var xn=!0,ln=!1,En=void 0;try{for(var ii=Hr[Symbol.iterator](),ai;!(xn=(ai=ii.next()).done);xn=!0){var gi=ai.value;gi.apply(void 0,arguments)}}catch(Li){ln=!0,En=Li}finally{try{!xn&&ii.return!=null&&ii.return()}finally{if(ln)throw En}}}else Gt&&Gt.apply(void 0,arguments)}}},{key:"get",value:function($t){var Gt=this.hooks;return fr()($t in Gt,"plugin.get: hook ".concat($t," cannot be got")),$t==="extraReducers"?Hs(Gt[$t]):$t==="onReducer"?Aa(Gt[$t]):Gt[$t]}}]),Xe}();function Hs(Xe){var Ie={},$t=!0,Gt=!1,yr=void 0;try{for(var Br=Xe[Symbol.iterator](),Hr;!($t=(Hr=Br.next()).done);$t=!0){var xn=Hr.value;Ie=(0,l.Z)({},Ie,xn)}}catch(ln){Gt=!0,yr=ln}finally{try{!$t&&Br.return!=null&&Br.return()}finally{if(Gt)throw yr}}return Ie}function Aa(Xe){return function(Ie){var $t=!0,Gt=!1,yr=void 0;try{for(var Br=Xe[Symbol.iterator](),Hr;!($t=(Hr=Br.next()).done);$t=!0){var xn=Hr.value;Ie=xn(Ie)}}catch(ln){Gt=!0,yr=ln}finally{try{!$t&&Br.return!=null&&Br.return()}finally{if(Gt)throw yr}}return Ie}}function Ss(Xe){var Ie=Xe.reducers,$t=Xe.initialState,Gt=Xe.plugin,yr=Xe.sagaMiddleware,Br=Xe.promiseMiddleware,Hr=Xe.createOpts.setupMiddlewares,xn=Hr===void 0?ka:Hr,ln=Gt.get("extraEnhancers");fr()(dn(ln),"[app.start] extraEnhancers should be array, but got ".concat((0,Cr.Z)(ln)));var En=Gt.get("onAction"),ii=xn([Br,yr].concat((0,et.Z)(Wr()(En)))),ai=c.qC,gi=[c.md.apply(void 0,(0,et.Z)(ii))].concat((0,et.Z)(ln));return(0,c.MT)(Ie,$t,ai.apply(void 0,(0,et.Z)(gi)))}function ds(Xe,Ie){var $t="".concat(Ie.namespace).concat(Ca).concat(Xe),Gt=$t.replace(/\/@@[^/]+?$/,""),yr=Array.isArray(Ie.reducers)?Ie.reducers[0][Gt]:Ie.reducers&&Ie.reducers[Gt];return yr||Ie.effects&&Ie.effects[Gt]?$t:Xe}function eo(Xe,Ie,$t,Gt){var yr=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{};return un().mark(function Br(){var Hr;return un().wrap(function(ln){for(;;)switch(ln.prev=ln.next){case 0:ln.t0=un().keys(Xe);case 1:if((ln.t1=ln.t0()).done){ln.next=7;break}if(Hr=ln.t1.value,!Object.prototype.hasOwnProperty.call(Xe,Hr)){ln.next=5;break}return ln.delegateYield(un().mark(function En(){var ii,ai;return un().wrap(function(Li){for(;;)switch(Li.prev=Li.next){case 0:return ii=Bi(Hr,Xe[Hr],Ie,$t,Gt,yr),Li.next=3,Nr(ii);case 3:return ai=Li.sent,Li.next=6,Nr(un().mark(function ua(){return un().wrap(function(Pi){for(;;)switch(Pi.prev=Pi.next){case 0:return Pi.next=2,Je("".concat(Ie.namespace,"/@@CANCEL_EFFECTS"));case 2:return Pi.next=4,on(ai);case 4:case"end":return Pi.stop()}},ua)}));case 6:case"end":return Li.stop()}},En)})(),"t2",5);case 5:ln.next=1;break;case 7:case"end":return ln.stop()}},Br)})}function Bi(Xe,Ie,$t,Gt,yr,Br){var Hr=un().mark(ua),xn=Ie,ln="takeEvery",En,ii;if(Array.isArray(Ie)){var ai=(0,gr.Z)(Ie,1);xn=ai[0];var gi=Ie[1];gi&&gi.type&&(ln=gi.type,ln==="throttle"&&(fr()(gi.ms,"app.start: opts.ms should be defined if type is throttle"),En=gi.ms),ln==="poll"&&(fr()(gi.delay,"app.start: opts.delay should be defined if type is poll"),ii=gi.delay)),fr()(["watcher","takeEvery","takeLatest","throttle","poll"].indexOf(ln)>-1,"app.start: effect type should be takeEvery, takeLatest, throttle, poll or watcher")}function Li(){}function ua(){var Pi,Da,Ii,yi,ga,go,Bs,ia,Ya,ba=arguments;return un().wrap(function(Ra){for(;;)switch(Ra.prev=Ra.next){case 0:for(Pi=ba.length,Da=new Array(Pi),Ii=0;Ii<Pi;Ii++)Da[Ii]=ba[Ii];return yi=Da.length>0?Da[0]:{},ga=yi.__dva_resolve,go=ga===void 0?Li:ga,Bs=yi.__dva_reject,ia=Bs===void 0?Li:Bs,Ra.prev=2,Ra.next=5,Bt({type:"".concat(Xe).concat(Ca,"@@start")});case 5:return Ra.next=7,xn.apply(void 0,(0,et.Z)(Da.concat(ks($t,Br))));case 7:return Ya=Ra.sent,Ra.next=10,Bt({type:"".concat(Xe).concat(Ca,"@@end")});case 10:go(Ya),Ra.next=17;break;case 13:Ra.prev=13,Ra.t0=Ra.catch(2),Gt(Ra.t0,{key:Xe,effectArgs:Da}),Ra.t0._dontReject||ia(Ra.t0);case 17:case"end":return Ra.stop()}},Hr,null,[[2,13]])}var Qi=Bo(yr,ua,$t,Xe);switch(ln){case"watcher":return ua;case"takeLatest":return un().mark(function Pi(){return un().wrap(function(Ii){for(;;)switch(Ii.prev=Ii.next){case 0:return Ii.next=2,rt(Xe,Qi);case 2:case"end":return Ii.stop()}},Pi)});case"throttle":return un().mark(function Pi(){return un().wrap(function(Ii){for(;;)switch(Ii.prev=Ii.next){case 0:return Ii.next=2,Ot(En,Xe,Qi);case 2:case"end":return Ii.stop()}},Pi)});case"poll":return un().mark(function Pi(){var Da,Ii,yi,ga,go,Bs,ia;return un().wrap(function(ba){for(;;)switch(ba.prev=ba.next){case 0:yi=function(Ra,os){var us;return un().wrap(function(bs){for(;;)switch(bs.prev=bs.next){case 0:us=Ra.call;case 1:return bs.next=4,us(Qi,os);case 4:return bs.next=6,us(Ii,ii);case 6:bs.next=1;break;case 8:case"end":return bs.stop()}},Da)},Ii=function(Ra){return new Promise(function(os){return setTimeout(os,Ra)})},Da=un().mark(yi),ga=Xr,go=Je,Bs=Dr;case 4:return ba.next=7,go("".concat(Xe,"-start"));case 7:return ia=ba.sent,ba.next=10,Bs([ga(yi,r,ia),go("".concat(Xe,"-stop"))]);case 10:ba.next=4;break;case 12:case"end":return ba.stop()}},Pi)});default:return un().mark(function Pi(){return un().wrap(function(Ii){for(;;)switch(Ii.prev=Ii.next){case 0:return Ii.next=2,_t(Xe,Qi);case 2:case"end":return Ii.stop()}},Pi)})}}function ks(Xe,Ie){function $t(Hr,xn){fr()(Hr,"dispatch: action should be a plain Object with type");var ln=Ie.namespacePrefixWarning,En=ln===void 0?!0:ln;En&&or()(Hr.indexOf("".concat(Xe.namespace).concat(Ca))!==0,"[".concat(xn,"] ").concat(Hr," should not be prefixed with namespace ").concat(Xe.namespace))}function Gt(Hr){var xn=Hr.type;return $t(xn,"sagaEffects.put"),Bt((0,l.Z)({},Hr,{type:ds(xn,Xe)}))}function yr(Hr){var xn=Hr.type;return $t(xn,"sagaEffects.put.resolve"),Bt.resolve((0,l.Z)({},Hr,{type:ds(xn,Xe)}))}Gt.resolve=yr;function Br(Hr){return typeof Hr=="string"?($t(Hr,"sagaEffects.take"),Je(ds(Hr,Xe))):Array.isArray(Hr)?Je(Hr.map(function(xn){return typeof xn=="string"?($t(xn,"sagaEffects.take"),ds(xn,Xe)):xn})):Je(Hr)}return(0,l.Z)({},r,{put:Gt,take:Br})}function Bo(Xe,Ie,$t,Gt){var yr=!0,Br=!1,Hr=void 0;try{for(var xn=Xe[Symbol.iterator](),ln;!(yr=(ln=xn.next()).done);yr=!0){var En=ln.value;Ie=En(Ie,r,$t,Gt)}}catch(ii){Br=!0,Hr=ii}finally{try{!yr&&xn.return!=null&&xn.return()}finally{if(Br)throw Hr}}return Ie}function Wa(Xe){return Xe}function Rs(Xe){var Ie=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Wa;return function($t,Gt){var yr=Gt.type;return fr()(yr,"dispatch: action should be a plain Object with type"),Xe===yr?Ie($t,Gt):$t}}function ci(){for(var Xe=arguments.length,Ie=new Array(Xe),$t=0;$t<Xe;$t++)Ie[$t]=arguments[$t];return function(Gt,yr){return Ie.reduce(function(Br,Hr){return Hr(Br,yr)},Gt)}}function fo(Xe,Ie){var $t=Object.keys(Xe).map(function(yr){return Rs(yr,Xe[yr])}),Gt=ci.apply(void 0,(0,et.Z)($t));return function(){var yr=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Ie,Br=arguments.length>1?arguments[1]:void 0;return Gt(yr,Br)}}function Nn(Xe,Ie,$t){return Array.isArray(Xe)?Xe[1](($t||fo)(Xe[0],Ie)):($t||fo)(Xe||{},Ie)}function Ja(Xe){return function(){return function($t){return function(Gt){var yr=Gt.type;return Ie(yr)?new Promise(function(Br,Hr){$t((0,l.Z)({__dva_resolve:Br,__dva_reject:Hr},Gt))}):$t(Gt)}}};function Ie($t){if(!$t||typeof $t!="string")return!1;var Gt=$t.split(Ca),yr=(0,gr.Z)(Gt,1),Br=yr[0],Hr=Xe._models.filter(function(xn){return xn.namespace===Br})[0];return!!(Hr&&Hr.effects&&Hr.effects[$t])}}function As(Xe,Ie){return function($t){var Gt=$t.type;return fr()(Gt,"dispatch: action should be a plain Object with type"),or()(Gt.indexOf("".concat(Ie.namespace).concat(Ca))!==0,"dispatch: ".concat(Gt," should not be prefixed with namespace ").concat(Ie.namespace)),Xe((0,l.Z)({},$t,{type:ds(Gt,Ie)}))}}function Ps(Xe,Ie,$t,Gt){var yr=[],Br=[];for(var Hr in Xe)if(Object.prototype.hasOwnProperty.call(Xe,Hr)){var xn=Xe[Hr],ln=xn({dispatch:As($t._store.dispatch,Ie),history:$t._history},Gt);gn(ln)?yr.push(ln):Br.push(Hr)}return{funcs:yr,nonFuncs:Br}}function ca(Xe,Ie){if(Xe[Ie]){var $t=Xe[Ie],Gt=$t.funcs,yr=$t.nonFuncs;or()(yr.length===0,"[app.unmodel] subscription should return unlistener function, check these subscriptions ".concat(yr.join(", ")));var Br=!0,Hr=!1,xn=void 0;try{for(var ln=Gt[Symbol.iterator](),En;!(Br=(En=ln.next()).done);Br=!0){var ii=En.value;ii()}}catch(ai){Hr=!0,xn=ai}finally{try{!Br&&ln.return!=null&&ln.return()}finally{if(Hr)throw xn}}delete Xe[Ie]}}var es=Ci,Yi=pi,Ws={namespace:"@@dva",state:0,reducers:{UPDATE:function(Ie){return Ie+1}}};function vo(){var Xe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},Ie=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},$t=Ie.initialReducer,Gt=Ie.setupApp,yr=Gt===void 0?es:Gt,Br=new is;Br.use(Js(Xe));var Hr={_models:[Ha((0,l.Z)({},Ws))],_store:null,_plugin:Br,use:Br.use.bind(Br),model:xn,start:ai};return Hr;function xn(gi){var Li=Ha((0,l.Z)({},gi));return Hr._models.push(Li),Li}function ln(gi,Li,ua,Qi){Qi=xn(Qi);var Pi=Hr._store;Pi.asyncReducers[Qi.namespace]=Nn(Qi.reducers,Qi.state,Br._handleActions),Pi.replaceReducer(gi()),Qi.effects&&Pi.runSaga(Hr._getSaga(Qi.effects,Qi,Li,Br.get("onEffect"),Xe)),Qi.subscriptions&&(ua[Qi.namespace]=Ps(Qi.subscriptions,Qi,Hr,Li))}function En(gi,Li,ua,Qi){var Pi=Hr._store;delete Pi.asyncReducers[Qi],delete Li[Qi],Pi.replaceReducer(gi()),Pi.dispatch({type:"@@dva/UPDATE"}),Pi.dispatch({type:"".concat(Qi,"/@@CANCEL_EFFECTS")}),ca(ua,Qi),Hr._models=Hr._models.filter(function(Da){return Da.namespace!==Qi})}function ii(gi,Li,ua,Qi,Pi){var Da=Hr._store,Ii=Pi.namespace,yi=Yi(Hr._models,function(ga){return ga.namespace===Ii});~yi&&(Da.dispatch({type:"".concat(Ii,"/@@CANCEL_EFFECTS")}),delete Da.asyncReducers[Ii],delete Li[Ii],ca(ua,Ii),Hr._models.splice(yi,1)),Hr.model(Pi),Da.dispatch({type:"@@dva/UPDATE"})}function ai(){var gi=function(wr,rn){wr&&(typeof wr=="string"&&(wr=new Error(wr)),wr.preventDefault=function(){wr._dontReject=!0},Br.apply("onError",function(xr){throw new Error(xr.stack||xr)})(wr,Hr._store.dispatch,rn))},Li=ht(),ua=Ja(Hr);Hr._getSaga=eo.bind(null);var Qi=[],Pi=(0,l.Z)({},$t),Da=!0,Ii=!1,yi=void 0;try{for(var ga=Hr._models[Symbol.iterator](),go;!(Da=(go=ga.next()).done);Da=!0){var Bs=go.value;Pi[Bs.namespace]=Nn(Bs.reducers,Bs.state,Br._handleActions),Bs.effects&&Qi.push(Hr._getSaga(Bs.effects,Bs,gi,Br.get("onEffect"),Xe))}}catch(we){Ii=!0,yi=we}finally{try{!Da&&ga.return!=null&&ga.return()}finally{if(Ii)throw yi}}var ia=Br.get("onReducer"),Ya=Br.get("extraReducers");fr()(Object.keys(Ya).every(function(we){return!(we in Pi)}),"[app.start] extraReducers is conflict with other reducers, reducers list: ".concat(Object.keys(Pi).join(", "))),Hr._store=Ss({reducers:ge(),initialState:Xe.initialState||{},plugin:Br,createOpts:Ie,sagaMiddleware:Li,promiseMiddleware:ua});var ba=Hr._store;ba.runSaga=Li.run,ba.asyncReducers={};var Mi=Br.get("onStateChange"),Ra=!0,os=!1,us=void 0;try{for(var yo=function(){var wr=Po.value;ba.subscribe(function(){wr(ba.getState())})},bs=Mi[Symbol.iterator](),Po;!(Ra=(Po=bs.next()).done);Ra=!0)yo()}catch(we){os=!0,us=we}finally{try{!Ra&&bs.return!=null&&bs.return()}finally{if(os)throw us}}Qi.forEach(Li.run),yr(Hr);var _s={},bo=!0,oo=!1,Ta=void 0;try{for(var ls=this._models[Symbol.iterator](),Qs;!(bo=(Qs=ls.next()).done);bo=!0){var La=Qs.value;La.subscriptions&&(_s[La.namespace]=Ps(La.subscriptions,La,Hr,gi))}}catch(we){oo=!0,Ta=we}finally{try{!bo&&ls.return!=null&&ls.return()}finally{if(oo)throw Ta}}Hr.model=ln.bind(Hr,ge,gi,_s),Hr.unmodel=En.bind(Hr,ge,Pi,_s),Hr.replaceModel=ii.bind(Hr,ge,Pi,_s,gi);function ge(){return ia((0,c.UY)((0,l.Z)({},Pi,Ya,Hr._store?Hr._store.asyncReducers:{})))}}}var Wo=e(44718),Go=e(56805),mu=e(4676);function uu(Xe){Xe()}let ho=uu;const No=Xe=>ho=Xe,Co=()=>ho,qo=Symbol.for("react-redux-context"),Ko=typeof globalThis!="undefined"?globalThis:{};function vi(){var Xe;if(!i.createContext)return{};const Ie=(Xe=Ko[qo])!=null?Xe:Ko[qo]=new Map;let $t=Ie.get(i.createContext);return $t||($t=i.createContext(null),Ie.set(i.createContext,$t)),$t}const _i=vi();var ts=null;function ss(Xe=_i){return function(){return(0,i.useContext)(Xe)}}const as=ss(),Ga=()=>{throw new Error("uSES not initialized!")};let hs=Ga;const Jo=Xe=>{hs=Xe},Is=(Xe,Ie)=>Xe===Ie;function ko(Xe=_i){const Ie=Xe===_i?as:ss(Xe);return function(Gt,yr={}){const{equalityFn:Br=Is,stabilityCheck:Hr=void 0,noopCheck:xn=void 0}=typeof yr=="function"?{equalityFn:yr}:yr,{store:ln,subscription:En,getServerState:ii,stabilityCheck:ai,noopCheck:gi}=Ie(),Li=(0,i.useRef)(!0),ua=(0,i.useCallback)({[Gt.name](Pi){return Gt(Pi)}}[Gt.name],[Gt,ai,Hr]),Qi=hs(En.addNestedSub,ln.getState,ii||ln.getState,ua,Br);return(0,i.useDebugValue)(Qi),Qi}}const vu=ko();var wu=e(54476),qu=e(85377),ll=e(94266),Ro=e.n(ll),to=e(23265);const $o=["initMapStateToProps","initMapDispatchToProps","initMergeProps"];function ju(Xe,Ie,$t,Gt,{areStatesEqual:yr,areOwnPropsEqual:Br,areStatePropsEqual:Hr}){let xn=!1,ln,En,ii,ai,gi;function Li(Ii,yi){return ln=Ii,En=yi,ii=Xe(ln,En),ai=Ie(Gt,En),gi=$t(ii,ai,En),xn=!0,gi}function ua(){return ii=Xe(ln,En),Ie.dependsOnOwnProps&&(ai=Ie(Gt,En)),gi=$t(ii,ai,En),gi}function Qi(){return Xe.dependsOnOwnProps&&(ii=Xe(ln,En)),Ie.dependsOnOwnProps&&(ai=Ie(Gt,En)),gi=$t(ii,ai,En),gi}function Pi(){const Ii=Xe(ln,En),yi=!Hr(Ii,ii);return ii=Ii,yi&&(gi=$t(ii,ai,En)),gi}function Da(Ii,yi){const ga=!Br(yi,En),go=!yr(Ii,ln,yi,En);return ln=Ii,En=yi,ga&&go?ua():ga?Qi():go?Pi():gi}return function(yi,ga){return xn?Da(yi,ga):Li(yi,ga)}}function Lo(Xe,Ie){let{initMapStateToProps:$t,initMapDispatchToProps:Gt,initMergeProps:yr}=Ie,Br=(0,qu.Z)(Ie,$o);const Hr=$t(Xe,Br),xn=Gt(Xe,Br),ln=yr(Xe,Br);return ju(Hr,xn,ln,Xe,Br)}function jo(Xe,Ie){const $t={};for(const Gt in Xe){const yr=Xe[Gt];typeof yr=="function"&&($t[Gt]=(...Br)=>Ie(yr(...Br)))}return $t}function Mu(Xe){return function($t){const Gt=Xe($t);function yr(){return Gt}return yr.dependsOnOwnProps=!1,yr}}function eu(Xe){return Xe.dependsOnOwnProps?!!Xe.dependsOnOwnProps:Xe.length!==1}function hu(Xe,Ie){return function(Gt,{displayName:yr}){const Br=function(xn,ln){return Br.dependsOnOwnProps?Br.mapToProps(xn,ln):Br.mapToProps(xn,void 0)};return Br.dependsOnOwnProps=!0,Br.mapToProps=function(xn,ln){Br.mapToProps=Xe,Br.dependsOnOwnProps=eu(Xe);let En=Br(xn,ln);return typeof En=="function"&&(Br.mapToProps=En,Br.dependsOnOwnProps=eu(En),En=Br(xn,ln)),En},Br}}function ro(Xe,Ie){return($t,Gt)=>{throw new Error(`Invalid value of type ${typeof Xe} for ${Ie} argument when connecting component ${Gt.wrappedComponentName}.`)}}function tu(Xe){return Xe&&typeof Xe=="object"?Mu(Ie=>jo(Xe,Ie)):Xe?typeof Xe=="function"?hu(Xe,"mapDispatchToProps"):ro(Xe,"mapDispatchToProps"):Mu(Ie=>({dispatch:Ie}))}function Uo(Xe){return Xe?typeof Xe=="function"?hu(Xe,"mapStateToProps"):ro(Xe,"mapStateToProps"):Mu(()=>({}))}function Jt(Xe,Ie,$t){return(0,wu.Z)({},$t,Xe,Ie)}function dr(Xe){return function($t,{displayName:Gt,areMergedPropsEqual:yr}){let Br=!1,Hr;return function(ln,En,ii){const ai=Xe(ln,En,ii);return Br?yr(ai,Hr)||(Hr=ai):(Br=!0,Hr=ai),Hr}}}function ur(Xe){return Xe?typeof Xe=="function"?dr(Xe):ro(Xe,"mergeProps"):()=>Jt}function hr(){const Xe=Co();let Ie=null,$t=null;return{clear(){Ie=null,$t=null},notify(){Xe(()=>{let Gt=Ie;for(;Gt;)Gt.callback(),Gt=Gt.next})},get(){let Gt=[],yr=Ie;for(;yr;)Gt.push(yr),yr=yr.next;return Gt},subscribe(Gt){let yr=!0,Br=$t={callback:Gt,next:null,prev:$t};return Br.prev?Br.prev.next=Br:Ie=Br,function(){!yr||Ie===null||(yr=!1,Br.next?Br.next.prev=Br.prev:$t=Br.prev,Br.prev?Br.prev.next=Br.next:Ie=Br.next)}}}}const Sr={notify(){},get:()=>[]};function yn(Xe,Ie){let $t,Gt=Sr,yr=0,Br=!1;function Hr(Qi){ii();const Pi=Gt.subscribe(Qi);let Da=!1;return()=>{Da||(Da=!0,Pi(),ai())}}function xn(){Gt.notify()}function ln(){ua.onStateChange&&ua.onStateChange()}function En(){return Br}function ii(){yr++,$t||($t=Ie?Ie.addNestedSub(ln):Xe.subscribe(ln),Gt=hr())}function ai(){yr--,$t&&yr===0&&($t(),$t=void 0,Gt.clear(),Gt=Sr)}function gi(){Br||(Br=!0,ii())}function Li(){Br&&(Br=!1,ai())}const ua={addNestedSub:Hr,notifyNestedSubs:xn,handleChangeWrapper:ln,isSubscribed:En,trySubscribe:gi,tryUnsubscribe:Li,getListeners:()=>Gt};return ua}const Rn=typeof window!="undefined"&&typeof window.document!="undefined"&&typeof window.document.createElement!="undefined"?i.useLayoutEffect:i.useEffect;function Hn(Xe,Ie){return Xe===Ie?Xe!==0||Ie!==0||1/Xe===1/Ie:Xe!==Xe&&Ie!==Ie}function li(Xe,Ie){if(Hn(Xe,Ie))return!0;if(typeof Xe!="object"||Xe===null||typeof Ie!="object"||Ie===null)return!1;const $t=Object.keys(Xe),Gt=Object.keys(Ie);if($t.length!==Gt.length)return!1;for(let yr=0;yr<$t.length;yr++)if(!Object.prototype.hasOwnProperty.call(Ie,$t[yr])||!Hn(Xe[$t[yr]],Ie[$t[yr]]))return!1;return!0}const ei=["reactReduxForwardedRef"];let cr=Ga;const Mr=Xe=>{cr=Xe},Fr=null,Sn=[null,null],Tn=Xe=>{try{return JSON.stringify(Xe)}catch(Ie){return String(Xe)}};function pt(Xe,Ie,$t){Rn(()=>Xe(...Ie),$t)}function jn(Xe,Ie,$t,Gt,yr,Br){Xe.current=Gt,$t.current=!1,yr.current&&(yr.current=null,Br())}function Wn(Xe,Ie,$t,Gt,yr,Br,Hr,xn,ln,En,ii){if(!Xe)return()=>{};let ai=!1,gi=null;const Li=()=>{if(ai||!xn.current)return;const Qi=Ie.getState();let Pi,Da;try{Pi=Gt(Qi,yr.current)}catch(Ii){Da=Ii,gi=Ii}Da||(gi=null),Pi===Br.current?Hr.current||En():(Br.current=Pi,ln.current=Pi,Hr.current=!0,ii())};return $t.onStateChange=Li,$t.trySubscribe(),Li(),()=>{if(ai=!0,$t.tryUnsubscribe(),$t.onStateChange=null,gi)throw gi}}const Ni=()=>Fr;function ra(Xe,Ie){return Xe===Ie}let zr=!1;function pa(Xe,Ie,$t,{pure:Gt,areStatesEqual:yr=ra,areOwnPropsEqual:Br=li,areStatePropsEqual:Hr=li,areMergedPropsEqual:xn=li,forwardRef:ln=!1,context:En=_i}={}){const ii=En,ai=Uo(Xe),gi=tu(Ie),Li=ur($t),ua=!!Xe;return Pi=>{const Da=Pi.displayName||Pi.name||"Component",Ii=`Connect(${Da})`,yi={shouldHandleStateChanges:ua,displayName:Ii,wrappedComponentName:Da,WrappedComponent:Pi,initMapStateToProps:ai,initMapDispatchToProps:gi,initMergeProps:Li,areStatesEqual:yr,areStatePropsEqual:Hr,areOwnPropsEqual:Br,areMergedPropsEqual:xn};function ga(ia){const[Ya,ba,Mi]=i.useMemo(()=>{const{reactReduxForwardedRef:Un}=ia,Ln=(0,qu.Z)(ia,ei);return[ia.context,Un,Ln]},[ia]),Ra=i.useMemo(()=>Ya&&Ya.Consumer&&(0,to.isContextConsumer)(i.createElement(Ya.Consumer,null))?Ya:ii,[Ya,ii]),os=i.useContext(Ra),us=!!ia.store&&!!ia.store.getState&&!!ia.store.dispatch,yo=!!os&&!!os.store,bs=us?ia.store:os.store,Po=yo?os.getServerState:bs.getState,_s=i.useMemo(()=>Lo(bs.dispatch,yi),[bs]),[bo,oo]=i.useMemo(()=>{if(!ua)return Sn;const Un=yn(bs,us?void 0:os.subscription),Ln=Un.notifyNestedSubs.bind(Un);return[Un,Ln]},[bs,us,os]),Ta=i.useMemo(()=>us?os:(0,wu.Z)({},os,{subscription:bo}),[us,os,bo]),ls=i.useRef(),Qs=i.useRef(Mi),La=i.useRef(),ge=i.useRef(!1),we=i.useRef(!1),wr=i.useRef(!1),rn=i.useRef();Rn(()=>(wr.current=!0,()=>{wr.current=!1}),[]);const xr=i.useMemo(()=>()=>La.current&&Mi===Qs.current?La.current:_s(bs.getState(),Mi),[bs,Mi]),Jr=i.useMemo(()=>Ln=>bo?Wn(ua,bs,bo,_s,Qs,ls,ge,wr,La,oo,Ln):()=>{},[bo]);pt(jn,[Qs,ls,ge,Mi,La,oo]);let On;try{On=cr(Jr,xr,Po?()=>_s(Po(),Mi):xr)}catch(Un){throw rn.current&&(Un.message+=`
The error may be correlated with this previous error:
${rn.current.stack}
`),Un}Rn(()=>{rn.current=void 0,La.current=void 0,ls.current=On});const oi=i.useMemo(()=>i.createElement(Pi,(0,wu.Z)({},On,{ref:ba})),[ba,Pi,On]);return i.useMemo(()=>ua?i.createElement(Ra.Provider,{value:Ta},oi):oi,[Ra,oi,Ta])}const Bs=i.memo(ga);if(Bs.WrappedComponent=Pi,Bs.displayName=ga.displayName=Ii,ln){const Ya=i.forwardRef(function(Mi,Ra){return i.createElement(Bs,(0,wu.Z)({},Mi,{reactReduxForwardedRef:Ra}))});return Ya.displayName=Ii,Ya.WrappedComponent=Pi,Ro()(Ya,Pi)}return Ro()(Bs,Pi)}}var Xi=pa;function Pa({store:Xe,context:Ie,children:$t,serverState:Gt,stabilityCheck:yr="once",noopCheck:Br="once"}){const Hr=i.useMemo(()=>{const En=yn(Xe);return{store:Xe,subscription:En,getServerState:Gt?()=>Gt:void 0,stabilityCheck:yr,noopCheck:Br}},[Xe,Gt,yr,Br]),xn=i.useMemo(()=>Xe.getState(),[Xe]);Rn(()=>{const{subscription:En}=Hr;return En.onStateChange=En.notifyNestedSubs,En.trySubscribe(),xn!==Xe.getState()&&En.notifyNestedSubs(),()=>{En.tryUnsubscribe(),En.onStateChange=void 0}},[Hr,xn]);const ln=Ie||_i;return i.createElement(ln.Provider,{value:Hr},$t)}var ps=Pa;function Vs(Xe=_i){const Ie=Xe===_i?as:ss(Xe);return function(){const{store:Gt}=Ie();return Gt}}const $i=Vs();function no(Xe=_i){const Ie=Xe===_i?$i:Vs(Xe);return function(){return Ie().dispatch}}const so=no();Jo(Go.useSyncExternalStoreWithSelector),Mr(Wo.useSyncExternalStore),No(mu.unstable_batchedUpdates);var Fs=Object.defineProperty,Va=Object.getOwnPropertySymbols,Xs=Object.prototype.hasOwnProperty,po=Object.prototype.propertyIsEnumerable,Fn=(Xe,Ie,$t)=>Ie in Xe?Fs(Xe,Ie,{enumerable:!0,configurable:!0,writable:!0,value:$t}):Xe[Ie]=$t,$a=(Xe,Ie)=>{for(var $t in Ie||(Ie={}))Xs.call(Ie,$t)&&Fn(Xe,$t,Ie[$t]);if(Va)for(var $t of Va(Ie))po.call(Ie,$t)&&Fn(Xe,$t,Ie[$t]);return Xe};function rs(Xe){const Ie=create(Xe,{initialReducer:{},setupApp(){}}),$t=Ie.start;return Ie.router=Gt,Ie.start=yr,Ie;function Gt(Br){Ie._router=Br}function yr(Br){if(typeof Br!="undefined")throw new Error("dva.start() should not be called with any arguments.");Ie._store||$t.call(Ie);const Hr=Ie._store,xn=Ie._router;return ln=>React.createElement(Provider,{store:Hr},xn($a({app:Ie},ln)))}}},26243:function(d,v,e){"use strict";e.d(v,{fi:function(){return _},m8:function(){return p}});var r=e(19340),i=Object.defineProperty,l=Object.defineProperties,c=Object.getOwnPropertyDescriptors,f=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,h=Object.prototype.propertyIsEnumerable,u=(R,A,I)=>A in R?i(R,A,{enumerable:!0,configurable:!0,writable:!0,value:I}):R[A]=I,a=(R,A)=>{for(var I in A||(A={}))o.call(A,I)&&u(R,I,A[I]);if(f)for(var I of f(A))h.call(A,I)&&u(R,I,A[I]);return R},x=(R,A)=>l(R,c(A));let p,y="/";function _(R){let A;return R.type==="hash"?A=(0,r.q_)():R.type==="memory"?A=(0,r.PP)(R):A=(0,r.lX)(),R.basename&&(y=R.basename),p=x(a({},A),{push(I,M){A.push(S(I,A),M)},replace(I,M){A.replace(S(I,A),M)},get location(){return A.location},get action(){return A.action}}),A}function b(R){R&&(p=R)}function S(R,A){if(typeof R=="string")return`${k(y)}${R}`;if(typeof R=="object"){const I=A.location.pathname;return x(a({},R),{pathname:R.pathname?`${k(y)}${R.pathname}`:I})}else throw new Error(`Unexpected to: ${R}`)}function k(R){return R.slice(-1)==="/"?R.slice(0,-1):R}},19873:function(d,v,e){"use strict";e.d(v,{gD:function(){return _n},We:function(){return Yt}});var r={};e.r(r),e.d(r,{dva:function(){return a}});var i={};e.r(i),e.d(i,{innerProvider:function(){return Ye}});var l={};e.r(l),e.d(l,{rootContainer:function(){return Te}});var c={};e.r(c),e.d(c,{dataflowProvider:function(){return Wt}});var f={};e.r(f),e.d(f,{i18nProvider:function(){return Lr}});var o=e(8591),h=e(66649),u=e.n(h);u().locale("ZH-cn");const a={config:{onError(mt){o.ZP.error(mt.message,3)}}};var x=e(59301),p=e(12708),y=e.n(p),_=e(12373),b=e.n(_),S=e(44520),k=e.n(S),R=e(19747),A=e.n(R);function I(){return I=Object.assign||function(mt){for(var st=1;st<arguments.length;st++){var lt=arguments[st];for(var Nt in lt)Object.prototype.hasOwnProperty.call(lt,Nt)&&(mt[Nt]=lt[Nt])}return mt},I.apply(this,arguments)}function M(mt,st){mt.prototype=Object.create(st.prototype),mt.prototype.constructor=mt,B(mt,st)}function B(mt,st){return B=Object.setPrototypeOf||function(lt,Nt){return lt.__proto__=Nt,lt},B(mt,st)}function N(mt,st){if(mt==null)return{};var lt,Nt,br={},vr=Object.keys(mt);for(Nt=0;Nt<vr.length;Nt++)st.indexOf(lt=vr[Nt])>=0||(br[lt]=mt[lt]);return br}var V={BASE:"base",BODY:"body",HEAD:"head",HTML:"html",LINK:"link",META:"meta",NOSCRIPT:"noscript",SCRIPT:"script",STYLE:"style",TITLE:"title",FRAGMENT:"Symbol(react.fragment)"},W={rel:["amphtml","canonical","alternate"]},H={type:["application/ld+json"]},ae={charset:"",name:["robots","description"],property:["og:type","og:title","og:url","og:image","og:image:alt","og:description","twitter:url","twitter:title","twitter:description","twitter:image","twitter:image:alt","twitter:card","twitter:site"]},ne=Object.keys(V).map(function(mt){return V[mt]}),oe={accesskey:"accessKey",charset:"charSet",class:"className",contenteditable:"contentEditable",contextmenu:"contextMenu","http-equiv":"httpEquiv",itemprop:"itemProp",tabindex:"tabIndex"},J=Object.keys(oe).reduce(function(mt,st){return mt[oe[st]]=st,mt},{}),q=function(mt,st){for(var lt=mt.length-1;lt>=0;lt-=1){var Nt=mt[lt];if(Object.prototype.hasOwnProperty.call(Nt,st))return Nt[st]}return null},K=function(mt){var st=q(mt,V.TITLE),lt=q(mt,"titleTemplate");if(Array.isArray(st)&&(st=st.join("")),lt&&st)return lt.replace(/%s/g,function(){return st});var Nt=q(mt,"defaultTitle");return st||Nt||void 0},se=function(mt){return q(mt,"onChangeClientState")||function(){}},ee=function(mt,st){return st.filter(function(lt){return lt[mt]!==void 0}).map(function(lt){return lt[mt]}).reduce(function(lt,Nt){return I({},lt,Nt)},{})},Q=function(mt,st){return st.filter(function(lt){return lt[V.BASE]!==void 0}).map(function(lt){return lt[V.BASE]}).reverse().reduce(function(lt,Nt){if(!lt.length)for(var br=Object.keys(Nt),vr=0;vr<br.length;vr+=1){var nt=br[vr].toLowerCase();if(mt.indexOf(nt)!==-1&&Nt[nt])return lt.concat(Nt)}return lt},[])},le=function(mt,st,lt){var Nt={};return lt.filter(function(br){return!!Array.isArray(br[mt])||(br[mt]!==void 0&&console&&typeof console.warn=="function"&&console.warn("Helmet: "+mt+' should be of type "Array". Instead found type "'+typeof br[mt]+'"'),!1)}).map(function(br){return br[mt]}).reverse().reduce(function(br,vr){var nt={};vr.filter(function(Yn){for(var Jn,kn=Object.keys(Yn),Qn=0;Qn<kn.length;Qn+=1){var ri=kn[Qn],Ai=ri.toLowerCase();st.indexOf(Ai)===-1||Jn==="rel"&&Yn[Jn].toLowerCase()==="canonical"||Ai==="rel"&&Yn[Ai].toLowerCase()==="stylesheet"||(Jn=Ai),st.indexOf(ri)===-1||ri!=="innerHTML"&&ri!=="cssText"&&ri!=="itemprop"||(Jn=ri)}if(!Jn||!Yn[Jn])return!1;var wi=Yn[Jn].toLowerCase();return Nt[Jn]||(Nt[Jn]={}),nt[Jn]||(nt[Jn]={}),!Nt[Jn][wi]&&(nt[Jn][wi]=!0,!0)}).reverse().forEach(function(Yn){return br.push(Yn)});for(var Tr=Object.keys(nt),vn=0;vn<Tr.length;vn+=1){var Gn=Tr[vn],Yr=I({},Nt[Gn],nt[Gn]);Nt[Gn]=Yr}return br},[]).reverse()},z=function(mt,st){if(Array.isArray(mt)&&mt.length){for(var lt=0;lt<mt.length;lt+=1)if(mt[lt][st])return!0}return!1},$=function(mt){return Array.isArray(mt)?mt.join(""):mt},ie=function(mt,st){return Array.isArray(mt)?mt.reduce(function(lt,Nt){return function(br,vr){for(var nt=Object.keys(br),Tr=0;Tr<nt.length;Tr+=1)if(vr[nt[Tr]]&&vr[nt[Tr]].includes(br[nt[Tr]]))return!0;return!1}(Nt,st)?lt.priority.push(Nt):lt.default.push(Nt),lt},{priority:[],default:[]}):{default:mt}},_e=function(mt,st){var lt;return I({},mt,((lt={})[st]=void 0,lt))},Ae=[V.NOSCRIPT,V.SCRIPT,V.STYLE],Pe=function(mt,st){return st===void 0&&(st=!0),st===!1?String(mt):String(mt).replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#x27;")},We=function(mt){return Object.keys(mt).reduce(function(st,lt){var Nt=mt[lt]!==void 0?lt+'="'+mt[lt]+'"':""+lt;return st?st+" "+Nt:Nt},"")},$e=function(mt,st){return st===void 0&&(st={}),Object.keys(mt).reduce(function(lt,Nt){return lt[oe[Nt]||Nt]=mt[Nt],lt},st)},Lt=function(mt,st){return st.map(function(lt,Nt){var br,vr=((br={key:Nt})["data-rh"]=!0,br);return Object.keys(lt).forEach(function(nt){var Tr=oe[nt]||nt;Tr==="innerHTML"||Tr==="cssText"?vr.dangerouslySetInnerHTML={__html:lt.innerHTML||lt.cssText}:vr[Tr]=lt[nt]}),x.createElement(mt,vr)})},bt=function(mt,st,lt){switch(mt){case V.TITLE:return{toComponent:function(){return br=st.titleAttributes,(vr={key:Nt=st.title})["data-rh"]=!0,nt=$e(br,vr),[x.createElement(V.TITLE,nt,Nt)];var Nt,br,vr,nt},toString:function(){return function(Nt,br,vr,nt){var Tr=We(vr),vn=$(br);return Tr?"<"+Nt+' data-rh="true" '+Tr+">"+Pe(vn,nt)+"</"+Nt+">":"<"+Nt+' data-rh="true">'+Pe(vn,nt)+"</"+Nt+">"}(mt,st.title,st.titleAttributes,lt)}};case"bodyAttributes":case"htmlAttributes":return{toComponent:function(){return $e(st)},toString:function(){return We(st)}};default:return{toComponent:function(){return Lt(mt,st)},toString:function(){return function(Nt,br,vr){return br.reduce(function(nt,Tr){var vn=Object.keys(Tr).filter(function(Yn){return!(Yn==="innerHTML"||Yn==="cssText")}).reduce(function(Yn,Jn){var kn=Tr[Jn]===void 0?Jn:Jn+'="'+Pe(Tr[Jn],vr)+'"';return Yn?Yn+" "+kn:kn},""),Gn=Tr.innerHTML||Tr.cssText||"",Yr=Ae.indexOf(Nt)===-1;return nt+"<"+Nt+' data-rh="true" '+vn+(Yr?"/>":">"+Gn+"</"+Nt+">")},"")}(mt,st,lt)}}}},kt=function(mt){var st=mt.baseTag,lt=mt.bodyAttributes,Nt=mt.encode,br=mt.htmlAttributes,vr=mt.noscriptTags,nt=mt.styleTags,Tr=mt.title,vn=Tr===void 0?"":Tr,Gn=mt.titleAttributes,Yr=mt.linkTags,Yn=mt.metaTags,Jn=mt.scriptTags,kn={toComponent:function(){},toString:function(){return""}};if(mt.prioritizeSeoTags){var Qn=function(ri){var Ai=ri.linkTags,wi=ri.scriptTags,Ui=ri.encode,oa=ie(ri.metaTags,ae),Vi=ie(Ai,W),zi=ie(wi,H);return{priorityMethods:{toComponent:function(){return[].concat(Lt(V.META,oa.priority),Lt(V.LINK,Vi.priority),Lt(V.SCRIPT,zi.priority))},toString:function(){return bt(V.META,oa.priority,Ui)+" "+bt(V.LINK,Vi.priority,Ui)+" "+bt(V.SCRIPT,zi.priority,Ui)}},metaTags:oa.default,linkTags:Vi.default,scriptTags:zi.default}}(mt);kn=Qn.priorityMethods,Yr=Qn.linkTags,Yn=Qn.metaTags,Jn=Qn.scriptTags}return{priority:kn,base:bt(V.BASE,st,Nt),bodyAttributes:bt("bodyAttributes",lt,Nt),htmlAttributes:bt("htmlAttributes",br,Nt),link:bt(V.LINK,Yr,Nt),meta:bt(V.META,Yn,Nt),noscript:bt(V.NOSCRIPT,vr,Nt),script:bt(V.SCRIPT,Jn,Nt),style:bt(V.STYLE,nt,Nt),title:bt(V.TITLE,{title:vn,titleAttributes:Gn},Nt)}},Zt=[],Mt=function(mt,st){var lt=this;st===void 0&&(st=typeof document!="undefined"),this.instances=[],this.value={setHelmet:function(Nt){lt.context.helmet=Nt},helmetInstances:{get:function(){return lt.canUseDOM?Zt:lt.instances},add:function(Nt){(lt.canUseDOM?Zt:lt.instances).push(Nt)},remove:function(Nt){var br=(lt.canUseDOM?Zt:lt.instances).indexOf(Nt);(lt.canUseDOM?Zt:lt.instances).splice(br,1)}}},this.context=mt,this.canUseDOM=st,st||(mt.helmet=kt({baseTag:[],bodyAttributes:{},encodeSpecialCharacters:!0,htmlAttributes:{},linkTags:[],metaTags:[],noscriptTags:[],scriptTags:[],styleTags:[],title:"",titleAttributes:{}}))},tr=x.createContext({}),je=y().shape({setHelmet:y().func,helmetInstances:y().shape({get:y().func,add:y().func,remove:y().func})}),wt=typeof document!="undefined",Ft=function(mt){function st(lt){var Nt;return(Nt=mt.call(this,lt)||this).helmetData=new Mt(Nt.props.context,st.canUseDOM),Nt}return M(st,mt),st.prototype.render=function(){return x.createElement(tr.Provider,{value:this.helmetData.value},this.props.children)},st}(x.Component);Ft.canUseDOM=wt,Ft.propTypes={context:y().shape({helmet:y().shape()}),children:y().node.isRequired},Ft.defaultProps={context:{}},Ft.displayName="HelmetProvider";var tt=function(mt,st){var lt,Nt=document.head||document.querySelector(V.HEAD),br=Nt.querySelectorAll(mt+"[data-rh]"),vr=[].slice.call(br),nt=[];return st&&st.length&&st.forEach(function(Tr){var vn=document.createElement(mt);for(var Gn in Tr)Object.prototype.hasOwnProperty.call(Tr,Gn)&&(Gn==="innerHTML"?vn.innerHTML=Tr.innerHTML:Gn==="cssText"?vn.styleSheet?vn.styleSheet.cssText=Tr.cssText:vn.appendChild(document.createTextNode(Tr.cssText)):vn.setAttribute(Gn,Tr[Gn]===void 0?"":Tr[Gn]));vn.setAttribute("data-rh","true"),vr.some(function(Yr,Yn){return lt=Yn,vn.isEqualNode(Yr)})?vr.splice(lt,1):nt.push(vn)}),vr.forEach(function(Tr){return Tr.parentNode.removeChild(Tr)}),nt.forEach(function(Tr){return Nt.appendChild(Tr)}),{oldTags:vr,newTags:nt}},gt=function(mt,st){var lt=document.getElementsByTagName(mt)[0];if(lt){for(var Nt=lt.getAttribute("data-rh"),br=Nt?Nt.split(","):[],vr=[].concat(br),nt=Object.keys(st),Tr=0;Tr<nt.length;Tr+=1){var vn=nt[Tr],Gn=st[vn]||"";lt.getAttribute(vn)!==Gn&&lt.setAttribute(vn,Gn),br.indexOf(vn)===-1&&br.push(vn);var Yr=vr.indexOf(vn);Yr!==-1&&vr.splice(Yr,1)}for(var Yn=vr.length-1;Yn>=0;Yn-=1)lt.removeAttribute(vr[Yn]);br.length===vr.length?lt.removeAttribute("data-rh"):lt.getAttribute("data-rh")!==nt.join(",")&&lt.setAttribute("data-rh",nt.join(","))}},ft=function(mt,st){var lt=mt.baseTag,Nt=mt.htmlAttributes,br=mt.linkTags,vr=mt.metaTags,nt=mt.noscriptTags,Tr=mt.onChangeClientState,vn=mt.scriptTags,Gn=mt.styleTags,Yr=mt.title,Yn=mt.titleAttributes;gt(V.BODY,mt.bodyAttributes),gt(V.HTML,Nt),function(ri,Ai){ri!==void 0&&document.title!==ri&&(document.title=$(ri)),gt(V.TITLE,Ai)}(Yr,Yn);var Jn={baseTag:tt(V.BASE,lt),linkTags:tt(V.LINK,br),metaTags:tt(V.META,vr),noscriptTags:tt(V.NOSCRIPT,nt),scriptTags:tt(V.SCRIPT,vn),styleTags:tt(V.STYLE,Gn)},kn={},Qn={};Object.keys(Jn).forEach(function(ri){var Ai=Jn[ri],wi=Ai.newTags,Ui=Ai.oldTags;wi.length&&(kn[ri]=wi),Ui.length&&(Qn[ri]=Jn[ri].oldTags)}),st&&st(),Tr(mt,kn,Qn)},Qe=null,Ne=function(mt){function st(){for(var Nt,br=arguments.length,vr=new Array(br),nt=0;nt<br;nt++)vr[nt]=arguments[nt];return(Nt=mt.call.apply(mt,[this].concat(vr))||this).rendered=!1,Nt}M(st,mt);var lt=st.prototype;return lt.shouldComponentUpdate=function(Nt){return!A()(Nt,this.props)},lt.componentDidUpdate=function(){this.emitChange()},lt.componentWillUnmount=function(){this.props.context.helmetInstances.remove(this),this.emitChange()},lt.emitChange=function(){var Nt,br,vr=this.props.context,nt=vr.setHelmet,Tr=null,vn=(Nt=vr.helmetInstances.get().map(function(Gn){var Yr=I({},Gn.props);return delete Yr.context,Yr}),{baseTag:Q(["href"],Nt),bodyAttributes:ee("bodyAttributes",Nt),defer:q(Nt,"defer"),encode:q(Nt,"encodeSpecialCharacters"),htmlAttributes:ee("htmlAttributes",Nt),linkTags:le(V.LINK,["rel","href"],Nt),metaTags:le(V.META,["name","charset","http-equiv","property","itemprop"],Nt),noscriptTags:le(V.NOSCRIPT,["innerHTML"],Nt),onChangeClientState:se(Nt),scriptTags:le(V.SCRIPT,["src","innerHTML"],Nt),styleTags:le(V.STYLE,["cssText"],Nt),title:K(Nt),titleAttributes:ee("titleAttributes",Nt),prioritizeSeoTags:z(Nt,"prioritizeSeoTags")});Ft.canUseDOM?(br=vn,Qe&&cancelAnimationFrame(Qe),br.defer?Qe=requestAnimationFrame(function(){ft(br,function(){Qe=null})}):(ft(br),Qe=null)):kt&&(Tr=kt(vn)),nt(Tr)},lt.init=function(){this.rendered||(this.rendered=!0,this.props.context.helmetInstances.add(this),this.emitChange())},lt.render=function(){return this.init(),null},st}(x.Component);Ne.propTypes={context:je.isRequired},Ne.displayName="HelmetDispatcher";var xe=["children"],ke=["children"],Ge=function(mt){function st(){return mt.apply(this,arguments)||this}M(st,mt);var lt=st.prototype;return lt.shouldComponentUpdate=function(Nt){return!b()(_e(this.props,"helmetData"),_e(Nt,"helmetData"))},lt.mapNestedChildrenToProps=function(Nt,br){if(!br)return null;switch(Nt.type){case V.SCRIPT:case V.NOSCRIPT:return{innerHTML:br};case V.STYLE:return{cssText:br};default:throw new Error("<"+Nt.type+" /> elements are self-closing and can not contain children. Refer to our API for more information.")}},lt.flattenArrayTypeChildren=function(Nt){var br,vr=Nt.child,nt=Nt.arrayTypeChildren;return I({},nt,((br={})[vr.type]=[].concat(nt[vr.type]||[],[I({},Nt.newChildProps,this.mapNestedChildrenToProps(vr,Nt.nestedChildren))]),br))},lt.mapObjectTypeChildren=function(Nt){var br,vr,nt=Nt.child,Tr=Nt.newProps,vn=Nt.newChildProps,Gn=Nt.nestedChildren;switch(nt.type){case V.TITLE:return I({},Tr,((br={})[nt.type]=Gn,br.titleAttributes=I({},vn),br));case V.BODY:return I({},Tr,{bodyAttributes:I({},vn)});case V.HTML:return I({},Tr,{htmlAttributes:I({},vn)});default:return I({},Tr,((vr={})[nt.type]=I({},vn),vr))}},lt.mapArrayTypeChildrenToProps=function(Nt,br){var vr=I({},br);return Object.keys(Nt).forEach(function(nt){var Tr;vr=I({},vr,((Tr={})[nt]=Nt[nt],Tr))}),vr},lt.warnOnInvalidChildren=function(Nt,br){return k()(ne.some(function(vr){return Nt.type===vr}),typeof Nt.type=="function"?"You may be attempting to nest <Helmet> components within each other, which is not allowed. Refer to our API for more information.":"Only elements types "+ne.join(", ")+" are allowed. Helmet does not support rendering <"+Nt.type+"> elements. Refer to our API for more information."),k()(!br||typeof br=="string"||Array.isArray(br)&&!br.some(function(vr){return typeof vr!="string"}),"Helmet expects a string as a child of <"+Nt.type+">. Did you forget to wrap your children in braces? ( <"+Nt.type+">{``}</"+Nt.type+"> ) Refer to our API for more information."),!0},lt.mapChildrenToProps=function(Nt,br){var vr=this,nt={};return x.Children.forEach(Nt,function(Tr){if(Tr&&Tr.props){var vn=Tr.props,Gn=vn.children,Yr=N(vn,xe),Yn=Object.keys(Yr).reduce(function(kn,Qn){return kn[J[Qn]||Qn]=Yr[Qn],kn},{}),Jn=Tr.type;switch(typeof Jn=="symbol"?Jn=Jn.toString():vr.warnOnInvalidChildren(Tr,Gn),Jn){case V.FRAGMENT:br=vr.mapChildrenToProps(Gn,br);break;case V.LINK:case V.META:case V.NOSCRIPT:case V.SCRIPT:case V.STYLE:nt=vr.flattenArrayTypeChildren({child:Tr,arrayTypeChildren:nt,newChildProps:Yn,nestedChildren:Gn});break;default:br=vr.mapObjectTypeChildren({child:Tr,newProps:br,newChildProps:Yn,nestedChildren:Gn})}}}),this.mapArrayTypeChildrenToProps(nt,br)},lt.render=function(){var Nt=this.props,br=Nt.children,vr=N(Nt,ke),nt=I({},vr),Tr=vr.helmetData;return br&&(nt=this.mapChildrenToProps(br,nt)),!Tr||Tr instanceof Mt||(Tr=new Mt(Tr.context,Tr.instances)),Tr?x.createElement(Ne,I({},nt,{context:Tr.value,helmetData:void 0})):x.createElement(tr.Consumer,null,function(vn){return x.createElement(Ne,I({},nt,{context:vn}))})},st}(x.Component);Ge.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},Ge.defaultProps={defer:!0,encodeSpecialCharacters:!0,prioritizeSeoTags:!1},Ge.displayName="Helmet";const He={},Ye=mt=>x.createElement(Ft,{context:He},mt);var dt=e(92736),xt=e(65582),nr=e(36237),qt=e(85277),Me=e(28440),qe=e.n(Me),Vt=Object.defineProperty,Rt=Object.getOwnPropertySymbols,zt=Object.prototype.hasOwnProperty,Ht=Object.prototype.propertyIsEnumerable,Ct=(mt,st,lt)=>st in mt?Vt(mt,st,{enumerable:!0,configurable:!0,writable:!0,value:lt}):mt[st]=lt,Xt=(mt,st)=>{for(var lt in st||(st={}))zt.call(st,lt)&&Ct(mt,lt,st[lt]);if(Rt)for(var lt of Rt(st))Ht.call(st,lt)&&Ct(mt,lt,st[lt]);return mt},ze=(mt,st)=>{var lt={};for(var Nt in mt)zt.call(mt,Nt)&&st.indexOf(Nt)<0&&(lt[Nt]=mt[Nt]);if(mt!=null&&Rt)for(var Nt of Rt(mt))st.indexOf(Nt)<0&&Ht.call(mt,Nt)&&(lt[Nt]=mt[Nt]);return lt};let ce=null;const pe=()=>(ce||(ce=Yt().applyPlugins({key:"antd",type:xt.ApplyPluginsType.modify,initialValue:Xt({},{componentSize:"middle"})})),ce);function It({children:mt}){let st=mt;const[lt,Nt]=x.useState(()=>{const vr=pe(),{appConfig:nt}=vr;return ze(vr,["appConfig"])}),br=vr=>{Nt(nt=>qe()({},nt,typeof vr=="function"?vr(nt):vr))};return lt.prefixCls&&dt.ZP.config({prefixCls:lt.prefixCls}),lt.iconPrefixCls&&dt.ZP.config({iconPrefixCls:lt.iconPrefixCls}),lt.theme&&dt.ZP.config({theme:lt.theme}),st=x.createElement(dt.ZP,Xt({},lt),st),st=x.createElement(nr.StyleProvider,{hashPriority:"high"},st),st=x.createElement(qt.C.Provider,{value:br},x.createElement(qt.S.Provider,{value:lt},st)),st}function Te(mt){return x.createElement(It,null,mt)}var ct=e(74133);function Wt(mt,st){return x.createElement(ct.j,st,mt)}var Tt=e(69351),Ce=e(43388),St=e(81863),ye=Object.defineProperty,Je=Object.getOwnPropertySymbols,yt=Object.prototype.hasOwnProperty,Bt=Object.prototype.propertyIsEnumerable,Be=(mt,st,lt)=>st in mt?ye(mt,st,{enumerable:!0,configurable:!0,writable:!0,value:lt}):mt[st]=lt,Dr=(mt,st)=>{for(var lt in st||(st={}))yt.call(st,lt)&&Be(mt,lt,st[lt]);if(Je)for(var lt of Je(st))Bt.call(st,lt)&&Be(mt,lt,st[lt]);return mt};function At(){var mt,st;const lt=getLocale();(mt=moment)!=null&&mt.locale&&moment.locale(((st=localeInfo[lt])==null?void 0:st.momentLocale)||"zh-cn"),setIntl(lt)}const Xr=typeof window!="undefined"&&typeof window.document!="undefined"&&typeof window.document.createElement!="undefined"?x.useLayoutEffect:x.useEffect,en=mt=>{var st;const lt=(0,Ce.Kd)(),[Nt,br]=x.useState(lt),[vr,nt]=x.useState(()=>(0,Ce.lw)(Nt,!0)),Tr=Yr=>{var Yn,Jn;(Yn=u())!=null&&Yn.locale&&u().locale(((Jn=Ce.H8[Yr])==null?void 0:Jn.momentLocale)||"en"),br(Yr),nt((0,Ce.lw)(Yr))};Xr(()=>(Ce.B.on(Ce.PZ,Tr),()=>{Ce.B.off(Ce.PZ,Tr)}),[]);const vn=Dr({},St.Z),Gn=(0,Ce.Mg)();return x.createElement(dt.ZP,{direction:Gn,locale:((st=Ce.H8[Nt])==null?void 0:st.antd)||vn},x.createElement(Ce.eU,{value:vr},mt.children))};function Lr(mt){return x.createElement(en,null,mt)}function Nr(mt){return mt.default?typeof mt.default=="function"?mt.default():mt.default:mt}function mr(){return[{apply:Nr(r),path:void 0},{apply:i,path:void 0},{apply:l,path:void 0},{apply:c,path:void 0},{apply:f,path:void 0}]}function Zr(){return["patchRoutes","patchClientRoutes","modifyContextOpts","modifyClientRenderOpts","rootContainer","innerProvider","i18nProvider","accessProvider","dataflowProvider","outerProvider","render","onRouteChange","antd","dva","locale","qiankun"]}let on=null;function _n(){return on=xt.PluginManager.create({plugins:mr(),validKeys:Zr()}),on}function Yt(){return on}},65582:function(d,v,e){"use strict";e.d(v,{ApplyPluginsType:function(){return wt},Link:function(){return q},Outlet:function(){return K.j3},PluginManager:function(){return Ft},connect:function(){return f.$j},getDvaApp:function(){return o.Q},history:function(){return tt.m8},useAppData:function(){return H.Ov},useDispatch:function(){return f.I0},useLocation:function(){return K.TH},useOutletContext:function(){return K.bx},useParams:function(){return K.UO},useSearchParams:function(){return W.lr},useSelector:function(){return f.v9}});var r=e(59301),i=e(85277);function l(){return React.useContext(AntdConfigContext)}function c(){return React.useContext(AntdConfigContextSetter)}var f=e(22575),o=e(74133),h=e(43388),u=Object.defineProperty,a=Object.defineProperties,x=Object.getOwnPropertyDescriptors,p=Object.getOwnPropertySymbols,y=Object.prototype.hasOwnProperty,_=Object.prototype.propertyIsEnumerable,b=(Ye,dt,xt)=>dt in Ye?u(Ye,dt,{enumerable:!0,configurable:!0,writable:!0,value:xt}):Ye[dt]=xt,S=(Ye,dt)=>{for(var xt in dt||(dt={}))y.call(dt,xt)&&b(Ye,xt,dt[xt]);if(p)for(var xt of p(dt))_.call(dt,xt)&&b(Ye,xt,dt[xt]);return Ye},k=(Ye,dt)=>a(Ye,x(dt)),R=(Ye,dt)=>{var xt={};for(var nr in Ye)y.call(Ye,nr)&&dt.indexOf(nr)<0&&(xt[nr]=Ye[nr]);if(Ye!=null&&p)for(var nr of p(Ye))dt.indexOf(nr)<0&&_.call(Ye,nr)&&(xt[nr]=Ye[nr]);return xt};const A=Ye=>{var dt=Ye,{overlayClassName:xt}=dt,nr=R(dt,["overlayClassName"]);return React.createElement(Dropdown,S({overlayClassName:xt},nr))},I=Ye=>Ye.reduce((dt,xt)=>xt.lang?k(S({},dt),{[xt.lang]:xt}):dt,{}),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=Ye=>React.createElement(React.Fragment,null);var N=e(38329),V=e(38127),W=e(32451),H=e(67704),ae=e(87296);function ne(Ye,dt){var xt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},nr=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};if(typeof IntersectionObserver!="function")return null;var qt=r.useRef(typeof IntersectionObserver=="function"),Me=r.useRef(null);return r.useEffect(function(){if(!(!Ye.current||!qt.current||nr.disabled))return Me.current=new IntersectionObserver(function(qe){var Vt=(0,ae.Z)(qe,1),Rt=Vt[0];dt(Rt)},xt),Me.current.observe(Ye.current),function(){var qe;(qe=Me.current)===null||qe===void 0||qe.disconnect()}},[dt,xt,nr.disabled,Ye]),Me.current}var oe=["prefetch"];function J(Ye){var dt=r.useRef(null);return r.useEffect(function(){Ye&&(typeof Ye=="function"?Ye(dt.current):Ye.current=dt.current)}),dt}var q=r.forwardRef(function(Ye,dt){var xt,nr=Ye.prefetch,qt=(0,V.Z)(Ye,oe),Me=typeof window!="undefined"&&window.__umi_route_prefetch__||{defaultPrefetch:"none",defaultPrefetchTimeout:50},qe=Me.defaultPrefetch,Vt=Me.defaultPrefetchTimeout,Rt=(nr===!0?"intent":nr===!1?"none":nr)||qe;if(!["intent","render","viewport","none"].includes(Rt))throw new Error("Invalid prefetch value ".concat(Rt," found in Link component"));var zt=(0,H.Ov)(),Ht=typeof Ye.to=="string"?Ye.to:(xt=Ye.to)===null||xt===void 0?void 0:xt.pathname,Ct=r.useRef(!1),Xt=J(dt),ze=function(It){if(Rt==="intent"){var Te=It.target||{};Te.preloadTimeout||(Te.preloadTimeout=setTimeout(function(){var ct;Te.preloadTimeout=null,(ct=zt.preloadRoute)===null||ct===void 0||ct.call(zt,Ht)},Ye.prefetchTimeout||Vt))}},ce=function(It){if(Rt==="intent"){var Te=It.target||{};Te.preloadTimeout&&(clearTimeout(Te.preloadTimeout),Te.preloadTimeout=null)}};return(0,r.useLayoutEffect)(function(){if(Rt==="render"&&!Ct.current){var pe;(pe=zt.preloadRoute)===null||pe===void 0||pe.call(zt,Ht),Ct.current=!0}},[Rt,Ht]),ne(Xt,function(pe){if(pe!=null&&pe.isIntersecting){var It;(It=zt.preloadRoute)===null||It===void 0||It.call(zt,Ht)}},{rootMargin:"100px"},{disabled:Rt!=="viewport"}),Ht?r.createElement(W.rU,(0,N.Z)({onMouseEnter:ze,onMouseLeave:ce,ref:Xt},qt),Ye.children):null}),K=e(35338),se=e(8616);function ee(){"use strict";ee=function(){return dt};var Ye,dt={},xt=Object.prototype,nr=xt.hasOwnProperty,qt=Object.defineProperty||function(Lr,Nr,mr){Lr[Nr]=mr.value},Me=typeof Symbol=="function"?Symbol:{},qe=Me.iterator||"@@iterator",Vt=Me.asyncIterator||"@@asyncIterator",Rt=Me.toStringTag||"@@toStringTag";function zt(Lr,Nr,mr){return Object.defineProperty(Lr,Nr,{value:mr,enumerable:!0,configurable:!0,writable:!0}),Lr[Nr]}try{zt({},"")}catch(Lr){zt=function(mr,Zr,on){return mr[Zr]=on}}function Ht(Lr,Nr,mr,Zr){var on=Nr&&Nr.prototype instanceof Te?Nr:Te,_n=Object.create(on.prototype),Yt=new Xr(Zr||[]);return qt(_n,"_invoke",{value:Bt(Lr,mr,Yt)}),_n}function Ct(Lr,Nr,mr){try{return{type:"normal",arg:Lr.call(Nr,mr)}}catch(Zr){return{type:"throw",arg:Zr}}}dt.wrap=Ht;var Xt="suspendedStart",ze="suspendedYield",ce="executing",pe="completed",It={};function Te(){}function ct(){}function Wt(){}var Tt={};zt(Tt,qe,function(){return this});var Ce=Object.getPrototypeOf,St=Ce&&Ce(Ce(en([])));St&&St!==xt&&nr.call(St,qe)&&(Tt=St);var ye=Wt.prototype=Te.prototype=Object.create(Tt);function Je(Lr){["next","throw","return"].forEach(function(Nr){zt(Lr,Nr,function(mr){return this._invoke(Nr,mr)})})}function yt(Lr,Nr){function mr(on,_n,Yt,mt){var st=Ct(Lr[on],Lr,_n);if(st.type!=="throw"){var lt=st.arg,Nt=lt.value;return Nt&&(0,se.Z)(Nt)=="object"&&nr.call(Nt,"__await")?Nr.resolve(Nt.__await).then(function(br){mr("next",br,Yt,mt)},function(br){mr("throw",br,Yt,mt)}):Nr.resolve(Nt).then(function(br){lt.value=br,Yt(lt)},function(br){return mr("throw",br,Yt,mt)})}mt(st.arg)}var Zr;qt(this,"_invoke",{value:function(_n,Yt){function mt(){return new Nr(function(st,lt){mr(_n,Yt,st,lt)})}return Zr=Zr?Zr.then(mt,mt):mt()}})}function Bt(Lr,Nr,mr){var Zr=Xt;return function(on,_n){if(Zr===ce)throw new Error("Generator is already running");if(Zr===pe){if(on==="throw")throw _n;return{value:Ye,done:!0}}for(mr.method=on,mr.arg=_n;;){var Yt=mr.delegate;if(Yt){var mt=Be(Yt,mr);if(mt){if(mt===It)continue;return mt}}if(mr.method==="next")mr.sent=mr._sent=mr.arg;else if(mr.method==="throw"){if(Zr===Xt)throw Zr=pe,mr.arg;mr.dispatchException(mr.arg)}else mr.method==="return"&&mr.abrupt("return",mr.arg);Zr=ce;var st=Ct(Lr,Nr,mr);if(st.type==="normal"){if(Zr=mr.done?pe:ze,st.arg===It)continue;return{value:st.arg,done:mr.done}}st.type==="throw"&&(Zr=pe,mr.method="throw",mr.arg=st.arg)}}}function Be(Lr,Nr){var mr=Nr.method,Zr=Lr.iterator[mr];if(Zr===Ye)return Nr.delegate=null,mr==="throw"&&Lr.iterator.return&&(Nr.method="return",Nr.arg=Ye,Be(Lr,Nr),Nr.method==="throw")||mr!=="return"&&(Nr.method="throw",Nr.arg=new TypeError("The iterator does not provide a '"+mr+"' method")),It;var on=Ct(Zr,Lr.iterator,Nr.arg);if(on.type==="throw")return Nr.method="throw",Nr.arg=on.arg,Nr.delegate=null,It;var _n=on.arg;return _n?_n.done?(Nr[Lr.resultName]=_n.value,Nr.next=Lr.nextLoc,Nr.method!=="return"&&(Nr.method="next",Nr.arg=Ye),Nr.delegate=null,It):_n:(Nr.method="throw",Nr.arg=new TypeError("iterator result is not an object"),Nr.delegate=null,It)}function Dr(Lr){var Nr={tryLoc:Lr[0]};1 in Lr&&(Nr.catchLoc=Lr[1]),2 in Lr&&(Nr.finallyLoc=Lr[2],Nr.afterLoc=Lr[3]),this.tryEntries.push(Nr)}function At(Lr){var Nr=Lr.completion||{};Nr.type="normal",delete Nr.arg,Lr.completion=Nr}function Xr(Lr){this.tryEntries=[{tryLoc:"root"}],Lr.forEach(Dr,this),this.reset(!0)}function en(Lr){if(Lr||Lr===""){var Nr=Lr[qe];if(Nr)return Nr.call(Lr);if(typeof Lr.next=="function")return Lr;if(!isNaN(Lr.length)){var mr=-1,Zr=function on(){for(;++mr<Lr.length;)if(nr.call(Lr,mr))return on.value=Lr[mr],on.done=!1,on;return on.value=Ye,on.done=!0,on};return Zr.next=Zr}}throw new TypeError((0,se.Z)(Lr)+" is not iterable")}return ct.prototype=Wt,qt(ye,"constructor",{value:Wt,configurable:!0}),qt(Wt,"constructor",{value:ct,configurable:!0}),ct.displayName=zt(Wt,Rt,"GeneratorFunction"),dt.isGeneratorFunction=function(Lr){var Nr=typeof Lr=="function"&&Lr.constructor;return!!Nr&&(Nr===ct||(Nr.displayName||Nr.name)==="GeneratorFunction")},dt.mark=function(Lr){return Object.setPrototypeOf?Object.setPrototypeOf(Lr,Wt):(Lr.__proto__=Wt,zt(Lr,Rt,"GeneratorFunction")),Lr.prototype=Object.create(ye),Lr},dt.awrap=function(Lr){return{__await:Lr}},Je(yt.prototype),zt(yt.prototype,Vt,function(){return this}),dt.AsyncIterator=yt,dt.async=function(Lr,Nr,mr,Zr,on){on===void 0&&(on=Promise);var _n=new yt(Ht(Lr,Nr,mr,Zr),on);return dt.isGeneratorFunction(Nr)?_n:_n.next().then(function(Yt){return Yt.done?Yt.value:_n.next()})},Je(ye),zt(ye,Rt,"Generator"),zt(ye,qe,function(){return this}),zt(ye,"toString",function(){return"[object Generator]"}),dt.keys=function(Lr){var Nr=Object(Lr),mr=[];for(var Zr in Nr)mr.push(Zr);return mr.reverse(),function on(){for(;mr.length;){var _n=mr.pop();if(_n in Nr)return on.value=_n,on.done=!1,on}return on.done=!0,on}},dt.values=en,Xr.prototype={constructor:Xr,reset:function(Nr){if(this.prev=0,this.next=0,this.sent=this._sent=Ye,this.done=!1,this.delegate=null,this.method="next",this.arg=Ye,this.tryEntries.forEach(At),!Nr)for(var mr in this)mr.charAt(0)==="t"&&nr.call(this,mr)&&!isNaN(+mr.slice(1))&&(this[mr]=Ye)},stop:function(){this.done=!0;var Nr=this.tryEntries[0].completion;if(Nr.type==="throw")throw Nr.arg;return this.rval},dispatchException:function(Nr){if(this.done)throw Nr;var mr=this;function Zr(lt,Nt){return Yt.type="throw",Yt.arg=Nr,mr.next=lt,Nt&&(mr.method="next",mr.arg=Ye),!!Nt}for(var on=this.tryEntries.length-1;on>=0;--on){var _n=this.tryEntries[on],Yt=_n.completion;if(_n.tryLoc==="root")return Zr("end");if(_n.tryLoc<=this.prev){var mt=nr.call(_n,"catchLoc"),st=nr.call(_n,"finallyLoc");if(mt&&st){if(this.prev<_n.catchLoc)return Zr(_n.catchLoc,!0);if(this.prev<_n.finallyLoc)return Zr(_n.finallyLoc)}else if(mt){if(this.prev<_n.catchLoc)return Zr(_n.catchLoc,!0)}else{if(!st)throw new Error("try statement without catch or finally");if(this.prev<_n.finallyLoc)return Zr(_n.finallyLoc)}}}},abrupt:function(Nr,mr){for(var Zr=this.tryEntries.length-1;Zr>=0;--Zr){var on=this.tryEntries[Zr];if(on.tryLoc<=this.prev&&nr.call(on,"finallyLoc")&&this.prev<on.finallyLoc){var _n=on;break}}_n&&(Nr==="break"||Nr==="continue")&&_n.tryLoc<=mr&&mr<=_n.finallyLoc&&(_n=null);var Yt=_n?_n.completion:{};return Yt.type=Nr,Yt.arg=mr,_n?(this.method="next",this.next=_n.finallyLoc,It):this.complete(Yt)},complete:function(Nr,mr){if(Nr.type==="throw")throw Nr.arg;return Nr.type==="break"||Nr.type==="continue"?this.next=Nr.arg:Nr.type==="return"?(this.rval=this.arg=Nr.arg,this.method="return",this.next="end"):Nr.type==="normal"&&mr&&(this.next=mr),It},finish:function(Nr){for(var mr=this.tryEntries.length-1;mr>=0;--mr){var Zr=this.tryEntries[mr];if(Zr.finallyLoc===Nr)return this.complete(Zr.completion,Zr.afterLoc),At(Zr),It}},catch:function(Nr){for(var mr=this.tryEntries.length-1;mr>=0;--mr){var Zr=this.tryEntries[mr];if(Zr.tryLoc===Nr){var on=Zr.completion;if(on.type==="throw"){var _n=on.arg;At(Zr)}return _n}}throw new Error("illegal catch attempt")},delegateYield:function(Nr,mr,Zr){return this.delegate={iterator:en(Nr),resultName:mr,nextLoc:Zr},this.method==="next"&&(this.arg=Ye),It}},dt}var Q=e(63579);function le(Ye,dt,xt,nr,qt,Me,qe){try{var Vt=Ye[Me](qe),Rt=Vt.value}catch(zt){xt(zt);return}Vt.done?dt(Rt):Promise.resolve(Rt).then(nr,qt)}function z(Ye){return function(){var dt=this,xt=arguments;return new Promise(function(nr,qt){var Me=Ye.apply(dt,xt);function qe(Rt){le(Me,nr,qt,qe,Vt,"next",Rt)}function Vt(Rt){le(Me,nr,qt,qe,Vt,"throw",Rt)}qe(void 0)})}}var $=e(99227);function ie(Ye,dt){var xt=typeof Symbol!="undefined"&&Ye[Symbol.iterator]||Ye["@@iterator"];if(!xt){if(Array.isArray(Ye)||(xt=(0,$.Z)(Ye))||dt&&Ye&&typeof Ye.length=="number"){xt&&(Ye=xt);var nr=0,qt=function(){};return{s:qt,n:function(){return nr>=Ye.length?{done:!0}:{done:!1,value:Ye[nr++]}},e:function(zt){throw zt},f:qt}}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 Me=!0,qe=!1,Vt;return{s:function(){xt=xt.call(Ye)},n:function(){var zt=xt.next();return Me=zt.done,zt},e:function(zt){qe=!0,Vt=zt},f:function(){try{!Me&&xt.return!=null&&xt.return()}finally{if(qe)throw Vt}}}}var _e=e(73825);function Ae(Ye){if(typeof Symbol!="undefined"&&Ye[Symbol.iterator]!=null||Ye["@@iterator"]!=null)return Array.from(Ye)}var Pe=e(66160);function We(Ye){return(0,_e.Z)(Ye)||Ae(Ye)||(0,$.Z)(Ye)||(0,Pe.Z)()}function $e(Ye,dt){if(!(Ye instanceof dt))throw new TypeError("Cannot call a class as a function")}var Lt=e(89878);function bt(Ye,dt){for(var xt=0;xt<dt.length;xt++){var nr=dt[xt];nr.enumerable=nr.enumerable||!1,nr.configurable=!0,"value"in nr&&(nr.writable=!0),Object.defineProperty(Ye,(0,Lt.Z)(nr.key),nr)}}function kt(Ye,dt,xt){return dt&&bt(Ye.prototype,dt),xt&&bt(Ye,xt),Object.defineProperty(Ye,"prototype",{writable:!1}),Ye}var Zt=e(65873);function Mt(Ye,dt){if(!Ye)throw new Error(dt)}function tr(Ye){var dt=Ye.fns,xt=Ye.args;if(dt.length===1)return dt[0];var nr=dt.pop();return dt.reduce(function(qt,Me){return function(){return Me(qt,xt)}},nr)}function je(Ye){return!!Ye&&(0,se.Z)(Ye)==="object"&&typeof Ye.then=="function"}var wt=function(Ye){return Ye.compose="compose",Ye.modify="modify",Ye.event="event",Ye}({}),Ft=function(){function Ye(dt){$e(this,Ye),(0,Zt.Z)(this,"opts",void 0),(0,Zt.Z)(this,"hooks",{}),this.opts=dt}return kt(Ye,[{key:"register",value:function(xt){var nr=this;Mt(xt.apply,"plugin register failed, apply must supplied"),Object.keys(xt.apply).forEach(function(qt){Mt(nr.opts.validKeys.indexOf(qt)>-1,"register failed, invalid key ".concat(qt," ").concat(xt.path?"from plugin ".concat(xt.path):"",".")),nr.hooks[qt]=(nr.hooks[qt]||[]).concat(xt.apply[qt])})}},{key:"getHooks",value:function(xt){var nr=xt.split("."),qt=We(nr),Me=qt[0],qe=qt.slice(1),Vt=this.hooks[Me]||[];return qe.length&&(Vt=Vt.map(function(Rt){try{var zt=Rt,Ht=ie(qe),Ct;try{for(Ht.s();!(Ct=Ht.n()).done;){var Xt=Ct.value;zt=zt[Xt]}}catch(ze){Ht.e(ze)}finally{Ht.f()}return zt}catch(ze){return null}}).filter(Boolean)),Vt}},{key:"applyPlugins",value:function(xt){var nr=xt.key,qt=xt.type,Me=xt.initialValue,qe=xt.args,Vt=xt.async,Rt=this.getHooks(nr)||[];switch(qe&&Mt((0,se.Z)(qe)==="object","applyPlugins failed, args must be plain object."),Vt&&Mt(qt===wt.modify||qt===wt.event,"async only works with modify and event type."),qt){case wt.modify:return Vt?Rt.reduce(function(){var zt=z(ee().mark(function Ht(Ct,Xt){var ze;return ee().wrap(function(pe){for(;;)switch(pe.prev=pe.next){case 0:if(Mt(typeof Xt=="function"||(0,se.Z)(Xt)==="object"||je(Xt),"applyPlugins failed, all hooks for key ".concat(nr," must be function, plain object or Promise.")),!je(Ct)){pe.next=5;break}return pe.next=4,Ct;case 4:Ct=pe.sent;case 5:if(typeof Xt!="function"){pe.next=16;break}if(ze=Xt(Ct,qe),!je(ze)){pe.next=13;break}return pe.next=10,ze;case 10:return pe.abrupt("return",pe.sent);case 13:return pe.abrupt("return",ze);case 14:pe.next=21;break;case 16:if(!je(Xt)){pe.next=20;break}return pe.next=19,Xt;case 19:Xt=pe.sent;case 20:return pe.abrupt("return",(0,Q.Z)((0,Q.Z)({},Ct),Xt));case 21:case"end":return pe.stop()}},Ht)}));return function(Ht,Ct){return zt.apply(this,arguments)}}(),je(Me)?Me:Promise.resolve(Me)):Rt.reduce(function(zt,Ht){return Mt(typeof Ht=="function"||(0,se.Z)(Ht)==="object","applyPlugins failed, all hooks for key ".concat(nr," must be function or plain object.")),typeof Ht=="function"?Ht(zt,qe):(0,Q.Z)((0,Q.Z)({},zt),Ht)},Me);case wt.event:return z(ee().mark(function zt(){var Ht,Ct,Xt,ze;return ee().wrap(function(pe){for(;;)switch(pe.prev=pe.next){case 0:Ht=ie(Rt),pe.prev=1,Ht.s();case 3:if((Ct=Ht.n()).done){pe.next=12;break}if(Xt=Ct.value,Mt(typeof Xt=="function","applyPlugins failed, all hooks for key ".concat(nr," must be function.")),ze=Xt(qe),!(Vt&&je(ze))){pe.next=10;break}return pe.next=10,ze;case 10:pe.next=3;break;case 12:pe.next=17;break;case 14:pe.prev=14,pe.t0=pe.catch(1),Ht.e(pe.t0);case 17:return pe.prev=17,Ht.f(),pe.finish(17);case 20:case"end":return pe.stop()}},zt,null,[[1,14,17,20]])}))();case wt.compose:return function(){return tr({fns:Rt.concat(Me),args:qe})()}}}}],[{key:"create",value:function(xt){var nr=new Ye({validKeys:xt.validKeys});return xt.plugins.forEach(function(qt){nr.register(qt)}),nr}}]),Ye}(),tt=e(26243);let gt=0,ft=0;function Qe(Ye,dt){}function Ne(Ye){return JSON.stringify(Ye,null,2)}function xe(Ye){const dt=Ye.length>1?Ye.map(ke).join(" "):Ye[0];return typeof dt=="object"?`${Ne(dt)}`:dt.toString()}function ke(Ye){return typeof Ye=="object"?`${JSON.stringify(Ye)}`:Ye.toString()}const Ge={log(...Ye){xe(Ye)},info(...Ye){xe(Ye)},warn(...Ye){xe(Ye)},error(...Ye){xe(Ye)},group(){ft++},groupCollapsed(){ft++},groupEnd(){ft&&--ft},clear(){},trace(...Ye){console.trace(...Ye)},profile(...Ye){console.profile(...Ye)},profileEnd(...Ye){console.profileEnd(...Ye)}},He=()=>{}},85277: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.")})},74133:function(d,v,e){"use strict";e.d(v,{j:function(){return Mc},Q:function(){return xf}});var r=e(22575),i=e(89880),l=e.n(i),c=e(59301),f=e(65582),o=e(47735),h=Object.defineProperty,u=Object.getOwnPropertySymbols,a=Object.prototype.hasOwnProperty,x=Object.prototype.propertyIsEnumerable,p=(P,D,L)=>D in P?h(P,D,{enumerable:!0,configurable:!0,writable:!0,value:L}):P[D]=L,y=(P,D)=>{for(var L in D||(D={}))a.call(D,L)&&p(P,L,D[L]);if(u)for(var L of u(D))x.call(D,L)&&p(P,L,D[L]);return P},b={namespace:"account",state:{basicInfo:void 0,actionTabs:{key:"",params:{}}},effects:{*updateAvatar({payload:P},{call:D,put:L}){return yield D(o.n1,P)},*appplySchool({payload:P},{call:D,put:L}){return yield D(o.bz,P)},*getSchoolOption({payload:P},{call:D,put:L}){return yield D(o.GY,P)},*getDepartmentOption({payload:P},{call:D,put:L}){return yield D(o.Ql,P)},*appplyDepartment({payload:P},{call:D,put:L}){return yield D(o.Zm,P)},*updateAccount({payload:P},{call:D,put:L}){return yield D(o.sG,P)},*cancelRealNameAuth({payload:P},{call:D,put:L}){return yield D(o.P,P)},*cancelProfessionalAuth({payload:P},{call:D,put:L}){return yield D(o.$f,P)},*applyProfessionalAuth({payload:P},{call:D,put:L}){return yield D(o.Ow,P)},*applyRealNameAuth({payload:P},{call:D,put:L}){return yield D(o.ht,P)},*getCode({payload:P},{call:D,put:L}){return yield D(o.Cq,P)},*bindPhone({payload:P},{call:D,put:L}){return yield D(o.eF,P)},*bindEmail({payload:P},{call:D,put:L}){return yield D(o.I8,P)},*updatePassword({payload:P},{call:D,put:L}){return yield D(o.gQ,P)},*unbindAccount({payload:P},{call:D,put:L}){return yield D(o.wi,P)},*getBasicInfo({payload:P},{call:D,put:L}){const me=yield D(o.o9,P);return yield L({type:"save",payload:{basicInfo:y({},me)}}),me},*setActionTabs({payload:P},{call:D,put:L}){yield L({type:"save",payload:{actionTabs:y({},P)}})}},reducers:{save(P,D){return y(y({},P),D.payload)}},subscriptions:{setup({dispatch:P,history:D}){return D.listen(({pathname:L})=>{L==="/"&&P({type:"query"})})}}},S=e(5959),k=Object.defineProperty,R=Object.getOwnPropertySymbols,A=Object.prototype.hasOwnProperty,I=Object.prototype.propertyIsEnumerable,M=(P,D,L)=>D in P?k(P,D,{enumerable:!0,configurable:!0,writable:!0,value:L}):P[D]=L,B=(P,D)=>{for(var L in D||(D={}))A.call(D,L)&&M(P,L,D[L]);if(R)for(var L of R(D))I.call(D,L)&&M(P,L,D[L]);return P},V={namespace:"announcement",state:{name:"\u666E\u901A\u8BD5\u5377\uFF0C\u968F\u673A\u8BD5\u5377\u8BE6\u60C5\u9875\u9762",loading:!0,actionTabs:{}},effects:{*informDown({payload:P,callback:D},{call:L,put:me}){return yield L(S.nZ,P)},*informUp({payload:P,callback:D},{call:L,put:me}){return yield L(S.TO,P)},*setActionTabs({payload:P},{call:D,put:L}){yield L({type:"save",payload:{actionTabs:B({},P)}})}},reducers:{save(P,D){return B(B({},P),D.payload)}},subscriptions:{setup({dispatch:P,history:D}){}}},W=e(7310),H=Object.defineProperty,ae=Object.getOwnPropertySymbols,ne=Object.prototype.hasOwnProperty,oe=Object.prototype.propertyIsEnumerable,J=(P,D,L)=>D in P?H(P,D,{enumerable:!0,configurable:!0,writable:!0,value:L}):P[D]=L,q=(P,D)=>{for(var L in D||(D={}))ne.call(D,L)&&J(P,L,D[L]);if(ae)for(var L of ae(D))oe.call(D,L)&&J(P,L,D[L]);return P},se={namespace:"attachment",state:{name:"\u8D44\u6E90",loading:!0,detail:{},actionTabs:{}},effects:{*allAttachment({payload:P,callback:D},{call:L,put:me}){const De=yield L(W.SV,P);return yield me({type:"save",payload:{allList:q({},De)}}),De},*mineAttachment({payload:P,callback:D},{call:L,put:me}){const De=yield L(W.zI,P);return yield me({type:"save",payload:{mineList:q({},De)}}),De},*fileImport({payload:P,callback:D},{call:L,put:me}){return yield L(W.tO,P)},*getDetail({payload:P,callback:D},{call:L,put:me}){const De=yield L(W.Nm,P);return yield me({type:"save",payload:{detail:q({},De)}}),De},*updateVisits({payload:P,callback:D},{call:L,put:me}){return yield L(W.H,P)},*setActionTabs({payload:P},{call:D,put:L}){yield L({type:"save",payload:{actionTabs:q({},P)}})}},reducers:{save(P,D){return q(q({},P),D.payload)}},subscriptions:{setup({dispatch:P,history:D}){}}},ee=e(26795),Q=Object.defineProperty,le=Object.getOwnPropertySymbols,z=Object.prototype.hasOwnProperty,$=Object.prototype.propertyIsEnumerable,ie=(P,D,L)=>D in P?Q(P,D,{enumerable:!0,configurable:!0,writable:!0,value:L}):P[D]=L,_e=(P,D)=>{for(var L in D||(D={}))z.call(D,L)&&ie(P,L,D[L]);if(le)for(var L of le(D))$.call(D,L)&&ie(P,L,D[L]);return P},Pe={namespace:"boards",state:{name:"\u8BA8\u8BBA",loading:!0,actionTabs:{},boardsDetail:{},boardsCategoryList:{}},effects:{*getBoardsCategoryList({payload:P,callback:D},{call:L,put:me}){const De=yield L(ee.yq,P);return yield me({type:"save",payload:{boardsCategoryList:_e({},De.data)}}),De.data},*getBoardsDetail({payload:P,callback:D},{call:L,put:me}){const De=yield L(ee.dI,P);return yield me({type:"save",payload:{boardsDetail:_e({},De.data)}}),De.data},*setTopping({payload:P,callback:D},{call:L,put:me}){return yield L(ee.cc,P)},*escTopping({payload:P,callback:D},{call:L,put:me}){return yield L(ee.CJ,P)},*getReplyList({payload:P,callback:D},{call:L,put:me}){const De=yield L(ee.PC,P);yield me({type:"save",payload:{replyList:_e({},De.data)}})},*createReply({payload:P,callback:D},{call:L,put:me}){return yield L(ee.PP,P)},*replyLike({payload:P,callback:D},{call:L,put:me}){return yield L(ee.NA,P)},*replyUnLike({payload:P,callback:D},{call:L,put:me}){return yield L(ee.YQ,P)},*deleteReply({payload:P,callback:D},{call:L,put:me}){return yield L(ee.Mf,P)},*setActionTabs({payload:P},{call:D,put:L}){yield L({type:"save",payload:{actionTabs:_e({},P)}})}},reducers:{save(P,D){return _e(_e({},P),D.payload)}},subscriptions:{setup({dispatch:P,history:D}){}}},We=e(87513),$e=Object.defineProperty,Lt=Object.getOwnPropertySymbols,bt=Object.prototype.hasOwnProperty,kt=Object.prototype.propertyIsEnumerable,Zt=(P,D,L)=>D in P?$e(P,D,{enumerable:!0,configurable:!0,writable:!0,value:L}):P[D]=L,Mt=(P,D)=>{for(var L in D||(D={}))bt.call(D,L)&&Zt(P,L,D[L]);if(Lt)for(var L of Lt(D))kt.call(D,L)&&Zt(P,L,D[L]);return P},je={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:P,callback:D},{call:L,put:me}){const De=yield L(We.$Q,P);return yield me({type:"save",payload:{ScoreRangesData:De==null?void 0:De.data}}),De},*getQuestionResult({payload:P,callback:D},{call:L,put:me}){const De=yield L(We._U,P);return yield me({type:"save",payload:{NormalResult:De}}),De},*getUserExercise({payload:P,callback:D},{call:L,put:me}){const De=yield L(We.xA,P);return yield me({type:"save",payload:{userExerciseList:Mt({},(De==null?void 0:De.data)||{})}}),console.log("getUserExercise-res:",De),De==null?void 0:De.data},*getExerciseIdentityPhotos({payload:P,callback:D},{call:L,put:me}){const De=yield L(We.J,P);return yield me({type:"save",payload:{exerciseIdentityPhotos:Mt({},(De==null?void 0:De.data)||{})}}),De==null?void 0:De.data},*getExerciseExportHeadData({payload:P,callback:D},{call:L,put:me}){const De=yield L(We.iw,P);return yield me({type:"save",payload:{exerciseExportHeadData:Mt({},De)}}),De},*getExerciseUserInfo({payload:P,callback:D},{call:L,put:me}){const De=yield L(We.Ty,P);return(De==null?void 0:De.status)===0&&(yield me({type:"save",payload:Mt({},{exerciseUserInfo:Mt({},De.data)})})),De},*getExaminationIntelligentSettings({payload:P,callback:D},{call:L,put:me}){const De=yield L(We.sA,P);return yield me({type:"save",payload:{examinationIntelligentSettings:Mt({},De)}}),De},*getRandomEditExercises({payload:P,callback:D},{call:L,put:me}){const De=yield L(We.yu,P);return yield me({type:"save",payload:{editRandomExercises:Mt({},De)}}),De},*getExerciseList({payload:P,callback:D},{call:L,put:me}){const De=yield L(We.G$,P);if(De!=null&&De.total_exercise_users)try{localStorage.total_exercise_users=JSON.stringify(De.total_exercise_users)}catch(an){}return yield me({type:"save",payload:{exerciseList:Mt({},De)}}),yield me({type:"save",payload:{order_type:P.order_type,order:P.order}}),De},*getExerciseStatistics({payload:P,callback:D},{call:L,put:me}){const De=yield L(We._u,P);return yield me({type:"save",payload:{statisticsList:Mt({},De)}}),De},*getBrankList({payload:P,callback:D},{call:L,put:me}){const De=yield L(We.n$,P);return yield me({type:"save",payload:{brankList:Mt({},De)}}),De},*saveBanks({payload:P,callback:D},{call:L,put:me}){return yield L(We.lf,P)},*getExerciseCourses({payload:P,callback:D},{call:L,put:me}){const De=yield L(We.N3,P);return yield me({type:"save",payload:{exerciseCoursesList:Mt({},De)}}),De},*addExercise({payload:P,callback:D},{call:L,put:me}){return yield L(We.uR,P)},*editExercise({payload:P,callback:D},{call:L,put:me}){const De=yield L(We.qf,P);return yield me({type:"save",payload:{editData:Mt({},De)}}),De},*getTagDiscipline({payload:P,callback:D},{call:L,put:me}){const De=yield L(We.YY,P);return yield me({type:"save",payload:{tagDisciplineData:Mt({},De)}}),De},*editExerciseQuestion({payload:P,callback:D},{call:L,put:me}){return yield L(We.Di,P)},*addExerciseQuestion({payload:P,callback:D},{call:L,put:me}){return yield L(We.MK,P)},*exeriseMoveUpDown({payload:P,callback:D},{call:L,put:me}){return yield L(We.GK,P)},*getEndGroups({payload:P,callback:D},{call:L,put:me}){const De=yield L(We.KE,P);return yield me({type:"save",payload:{endGroups:Mt({},De)}}),De},*getPublishGroups({payload:P,callback:D},{call:L,put:me}){const De=yield L(We.ux,P);return yield me({type:"save",payload:{publishGroups:Mt({},De)}}),De},*getCommonHeader({payload:P,callback:D},{call:L,put:me}){const De=yield L(We.UK,P);return yield me({type:"save",payload:{commonHeader:Mt({},De)}}),De},*getReviewExercise({payload:P,callback:D},{call:L,put:me}){const De=yield L(We.BJ,P);return yield me({type:"save",payload:{reviewExercise:Mt({},De)}}),De},*postReviewExercise({payload:P,callback:D},{call:L,put:me}){const De=yield L(We.pu,P);return yield me({type:"save",payload:{reviewExercise:Mt({},De)}}),De},*getCentralizeReviewExercise({payload:P,callback:D},{call:L,put:me}){const De=yield L(We.X4,P);return yield me({type:"save",payload:{reviewExercise:Mt({},De)}}),De},*clearData({payload:P,callback:D},{call:L,put:me}){yield me({type:"save",payload:{[P.key]:{}}})},*getReviewGroupExercise({payload:P,callback:D},{call:L,put:me}){const De=yield L(We.W4,P);return yield me({type:"save",payload:{reviewGroupExercise:Mt({},De)}}),De},*getWorkSetting({payload:P,callback:D},{call:L,put:me}){const De=yield L(We.Ul,P);return yield me({type:"save",payload:{workSetting:Mt({},De)}}),De},*getRedoModal({payload:P,callback:D},{call:L,put:me}){const De=yield L(We.tX,P);return yield me({type:"save",payload:{redoModal:Mt({},De)}}),De},*getRedoListModal({payload:P,callback:D},{call:L,put:me}){const De=yield L(We.s,P);return yield me({type:"save",payload:{redoModal:Mt({},De)}}),De},*getCodeReviewDetail({payload:P,callback:D},{call:L,put:me}){const De=yield L(We.Xn,P);return yield me({type:"save",payload:{codeReviewDetail:Mt({},De)}}),De},*changeScore({payload:P,callback:D},{call:L,put:me}){return yield L(We.gG,P)},*setActionTabs({payload:P},{call:D,put:L}){yield L({type:"save",payload:{actionTabs:Mt({},P)}})},*setUpdateIndex({payload:P},{call:D,put:L}){yield L({type:"save",payload:{updateIndex:P==="clear"?null:Math.random()}})},*setSaveExerciseDownUsers({payload:P},{call:D,put:L}){yield L({type:"save",payload:{saveExerciseDownUsers:P}})}},reducers:{save(P,D){return Mt(Mt({},P),D.payload)}},subscriptions:{setup({dispatch:P,history:D}){}}},wt=e(66479),Ft=Object.defineProperty,tt=Object.getOwnPropertySymbols,gt=Object.prototype.hasOwnProperty,ft=Object.prototype.propertyIsEnumerable,Qe=(P,D,L)=>D in P?Ft(P,D,{enumerable:!0,configurable:!0,writable:!0,value:L}):P[D]=L,Ne=(P,D)=>{for(var L in D||(D={}))gt.call(D,L)&&Qe(P,L,D[L]);if(tt)for(var L of tt(D))ft.call(D,L)&&Qe(P,L,D[L]);return P},ke={namespace:"graduation",state:{name:"\u6BD5\u4E1A\u8BBE\u8BA1",loading:!0,actionTabs:{},detailList:{},detailTaskList:{},replyList:{},detail:{},addTopicData:{},editTopicData:{},editTasksData:{}},effects:{*getTopisDetailList({payload:P,callback:D},{call:L,put:me}){const De=yield L(wt.x_,P);return yield me({type:"save",payload:{detailList:Ne({},De)}}),De},*getTasksListDetail({payload:P,callback:D},{call:L,put:me}){const De=yield L(wt.QA,P);return yield me({type:"save",payload:{detailTaskList:Ne({},De)}}),De},*getTopisDetail({payload:P,callback:D},{call:L,put:me}){const De=yield L(wt.B6,P);return yield me({type:"save",payload:{detail:Ne({},De)}}),De},*getTasksDetail({payload:P,callback:D},{call:L,put:me}){const De=yield L(wt.y3,P);return yield me({type:"save",payload:{tasksDetail:Ne({},De)}}),De},*refuseTopic({payload:P,callback:D},{call:L,put:me}){return yield L(wt.mM,P)},*agreeTopic({payload:P,callback:D},{call:L,put:me}){return yield L(wt.je,P)},*getReplyList({payload:P,callback:D},{call:L,put:me}){const De=yield L(wt.PC,P);yield me({type:"save",payload:{replyList:Ne({},De)}})},*createReply({payload:P,callback:D},{call:L,put:me}){return yield L(wt.PP,P)},*replyLike({payload:P,callback:D},{call:L,put:me}){return yield L(wt.NA,P)},*replyUnLike({payload:P,callback:D},{call:L,put:me}){return yield L(wt.YQ,P)},*deleteReply({payload:P,callback:D},{call:L,put:me}){return yield L(wt.Mf,P)},*addTopicDefaultData({payload:P,callback:D},{call:L,put:me}){const De=yield L(wt.y0,P);yield me({type:"save",payload:{addTopicData:Ne({},De)}})},*editTopicDefaultData({payload:P,callback:D},{call:L,put:me}){const De=yield L(wt.hL,P);return yield me({type:"save",payload:{editTopicData:Ne({},De)}}),De},*editTasksDefaultData({payload:P,callback:D},{call:L,put:me}){const De=yield L(wt._n,P);return yield me({type:"save",payload:{editTasksData:Ne({},De)}}),De},*addTopic({payload:P,callback:D},{call:L,put:me}){return yield L(wt.Gr,P)},*editTopic({payload:P,callback:D},{call:L,put:me}){return yield L(wt.wA,P)},*addTasks({payload:P,callback:D},{call:L,put:me}){return yield L(wt.Sv,P)},*editTasks({payload:P,callback:D},{call:L,put:me}){return yield L(wt.RP,P)},*setActionTabs({payload:P},{call:D,put:L}){yield L({type:"save",payload:{actionTabs:Ne({},P)}})}},reducers:{save(P,D){return Ne(Ne({},P),D.payload)}},subscriptions:{setup({dispatch:P,history:D}){}}},Ge=e(89392),He=e(88761),Ye=Object.defineProperty,dt=Object.getOwnPropertySymbols,xt=Object.prototype.hasOwnProperty,nr=Object.prototype.propertyIsEnumerable,qt=(P,D,L)=>D in P?Ye(P,D,{enumerable:!0,configurable:!0,writable:!0,value:L}):P[D]=L,Me=(P,D)=>{for(var L in D||(D={}))xt.call(D,L)&&qt(P,L,D[L]);if(dt)for(var L of dt(D))nr.call(D,L)&&qt(P,L,D[L]);return P},Vt={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:P,callback:D},{call:L,put:me}){const De=yield L(He.h$,P);try{sessionStorage.all_student_works=JSON.stringify(De.all_student_works),sessionStorage.all_student_works_params=JSON.stringify(P),localStorage.setItem("all_student_works_param",JSON.stringify(P))}catch(an){}return yield me({type:"save",payload:{workList:Me({},De)}}),De},*getShixunWorkHeadInfo({payload:P,callback:D},{call:L,put:me}){const De=yield L(He.fK,P);try{}catch(an){}return yield me({type:"save",payload:{headerInfo:De==null?void 0:De.data}}),De},*getShixunWorkList({payload:P,callback:D},{call:L,put:me}){const De=yield L(He.Z8,P);try{sessionStorage.all_student_works=JSON.stringify(De.all_student_works),sessionStorage.all_student_works_params=JSON.stringify(P),localStorage.setItem("all_student_works_param",JSON.stringify(P))}catch(an){}return yield me({type:"save",payload:{shixunWorkList:De==null?void 0:De.data,homeworkAssistantPermissions:De.homework_assistant_permissions,shixunAssistantPermission:De.shixun_assistant_permission,courseAssistantPermission:De.course_assistant_permission}}),De},*getCodeReview({payload:P,callback:D},{call:L,put:me}){const De=yield L(He.RP,P);return yield me({type:"save",payload:{codeReview:Me({},De)}}),De},*getCodeReviewDetail({payload:P,callback:D},{call:L,put:me}){const De=yield L(He.Xn,P);return yield me({type:"save",payload:{codeReviewDetail:Me({},De)}}),De},*getWorkDetail({payload:P,callback:D},{call:L,put:me}){const De=yield L(He.to,P);return yield me({type:"save",payload:{workDetail:Me({},De)}}),De},*updateWork({payload:P,callback:D},{call:L,put:me}){return yield L(He.H,P)},*getShixunWorkReport({payload:P,callback:D},{call:L,put:me}){const De=yield L(He.sw,P);try{De.all_student_works=JSON.parse(sessionStorage.all_student_works||"[]")}catch(an){}return yield me({type:"save",payload:{shixunWorkReport:Me({},De)}}),De},*getShixunWorkReports({payload:P,callback:D},{call:L,put:me}){const De=yield L(He.cz,P);try{De.all_student_works=JSON.parse(sessionStorage.all_student_works||"[]")}catch(an){}return yield me({type:"save",payload:{shixunWorkReport:Me({},De)}}),De},*getWorkSetting({payload:P,callback:D},{call:L,put:me}){var De,an;const Vn=yield L(He.Ul,P);(De=Vn==null?void 0:Vn.group_settings)==null||De.map(Fi=>{Fi.value=Fi.group_name,Fi.id=Fi.group_id,Fi.group_id=[Fi.group_id]}),(an=Vn==null?void 0:Vn.allow_late_settings)==null||an.map(Fi=>{Fi.value=Fi.group_name,Fi.id=Fi.group_id,Fi.group_id=[Fi.group_id]});const hn={shixun_evaluation:Vn.shixun_evaluation,challenge_settings:Vn.challenge_settings};return yield me({type:"save",payload:{workSetting:Me({},Vn),changeData:(0,Ge.cloneDeep)(hn)}}),Vn},*updateSetting({payload:P,callback:D},{call:L,put:me}){return yield L(He.m7,P)},*getCodeReviewCourse({payload:P,callback:D},{call:L,put:me}){const De=yield L(He.JG,P);return yield me({type:"save",payload:{codeReviewCourse:Me({},De)}}),De},*exportShixunWorks({payload:P,callback:D},{call:L,put:me}){const De=yield L(He.Dx,P)},*getReferenceAnswer({payload:P,callback:D},{call:L,put:me}){const De=yield L(He.Q3,P);return yield me({type:"save",payload:{referenceAnswer:Me({},De)}}),De},*getPublishGroups({payload:P,callback:D},{call:L,put:me}){const De=yield L(He.ux,P);return yield me({type:"save",payload:{publishGroups:Me({},De)}}),De},*getEndGroups({payload:P,callback:D},{call:L,put:me}){const De=yield L(He.KE,P);return yield me({type:"save",payload:{endGroups:Me({},De)}}),De},*getBrankList({payload:P,callback:D},{call:L,put:me}){const De=yield L(He.n$,P);return yield me({type:"save",payload:{brankList:Me({},De)}}),De},*changeScore({payload:P,callback:D},{call:L,put:me}){return yield L(He.gG,P)},*saveBanks({payload:P,callback:D},{call:L,put:me}){return yield L(He.lf,P)},*addCommonHomeWorkDefaultData({payload:P,callback:D},{call:L,put:me}){const De=yield L(He.Qt,P);return yield me({type:"save",payload:{commonHomeWorkAddDefaultData:Me({},De)}}),De},*getSearchMemberList({payload:P,callback:D},{call:L,put:me}){const De=yield L(He.Lz,P);return yield me({type:"save",payload:{searchMemberList:Me({},De)}}),De},*getProjectList({payload:P,callback:D},{call:L,put:me}){const De=yield L(He.ku,P);return yield me({type:"save",payload:{searchProjectList:Me({},De)}}),De},*addStudentWorkDefaultData({payload:P,callback:D},{call:L,put:me}){const De=yield L(He.ak,P);return yield me({type:"save",payload:{studentWorkAddDefaultData:Me({},De)}}),De},*editStudentWorkDefaultData({payload:P,callback:D},{call:L,put:me}){const De=yield L(He.PW,P);return yield me({type:"save",payload:{studentWorkEditDefaultData:Me({},De)}}),De},*editCommonHomeWorkDefaultData({payload:P,callback:D},{call:L,put:me}){const De=yield L(He.BD,P);return yield me({type:"save",payload:{commonHomeWorkEditDefaultData:Me({},De)}}),De},*editCommonHomeWorkDefaultBankData({payload:P,callback:D},{call:L,put:me}){const De=yield L(He.pH,P);return yield me({type:"save",payload:{commonHomeWorkEditDefaultData:Me({},De)}}),De},*getReplyList({payload:P,callback:D},{call:L,put:me}){const De=yield L(He.PC,P);yield me({type:"save",payload:{replyList:Me({},De)}})},*getStudentWorkDetail({payload:P,callback:D},{call:L,put:me}){const De=yield L(He.Hj,P);yield me({type:"save",payload:{studentWorkDetail:Me({},De)}})},*getStudentWorkSupplyDetail({payload:P,callback:D},{call:L,put:me}){const De=yield L(He.ub,P);yield me({type:"save",payload:{studentWorkSupplyDetail:Me({},De)}})},*getStudentWorkCommon({payload:P,callback:D},{call:L,put:me}){const De=yield L(He.JA,P);yield me({type:"save",payload:{studentWorkCommon:Me({},De)}})},*getAllStudentWorks({payload:P,callback:D},{call:L,put:me}){const De=yield L(He.ql,P);return yield me({type:"save",payload:{allStudentWorks:Me({},De)}}),De},*getFileRepeatResult({payload:P,callback:D},{call:L,put:me}){const De=yield L(He.oN,P);return yield me({type:"save",payload:{codeReview:Me({},De)}}),De},*getFileRepeatDetail({payload:P,callback:D},{call:L,put:me}){const De=yield L(He.Ti,P);return yield me({type:"save",payload:{codeReviewDetail:Me({},De)}}),De},*createReply({payload:P,callback:D},{call:L,put:me}){return yield L(He.PP,P)},*replyLike({payload:P,callback:D},{call:L,put:me}){return yield L(He.NA,P)},*replyUnLike({payload:P,callback:D},{call:L,put:me}){return yield L(He.YQ,P)},*deleteReply({payload:P,callback:D},{call:L,put:me}){return yield L(He.Mf,P)},*setActionTabs({payload:P},{call:D,put:L}){yield L({type:"save",payload:{actionTabs:Me({},P)}})}},reducers:{save(P,D){return Me(Me({},P),D.payload)}},subscriptions:{setup({dispatch:P,history:D}){return D.listen(({pathname:L})=>{L==="/"&&P({type:"query"})})}}},Rt=e(33270),zt=e(41867),Ht=Object.defineProperty,Ct=Object.getOwnPropertySymbols,Xt=Object.prototype.hasOwnProperty,ze=Object.prototype.propertyIsEnumerable,ce=(P,D,L)=>D in P?Ht(P,D,{enumerable:!0,configurable:!0,writable:!0,value:L}):P[D]=L,pe=(P,D)=>{for(var L in D||(D={}))Xt.call(D,L)&&ce(P,L,D[L]);if(Ct)for(var L of Ct(D))ze.call(D,L)&&ce(P,L,D[L]);return P},Te={namespace:"classroomList",state:{name:"",loading:!0,detailTopBanner:{copy_completed:!0},detailLeftMenus:{},detailLeftMenusNames:{},detailShixunsList:{},detailGraduationTopicsList:{},detailGraduationTaskList:{},detailExerciseList:{},detailPollsList:{},detailCommonHomeworksList:{},detailAttendancesList:{},detailAttendancesDetail:{},detailAnnouncementList:{},detailAttachmentList:{},detailCourseware:{},courseMine:{},detailVideoList:{},detailLiveVideoList:{},detailBoardList:{},courseGroups:{},allCourseGroups:{},detailCourseGroupsList:{},detailCoursStudentsList:{},detailCourseStatisticsList:{},detailAttendancesStatistic:{},detailCourseWorkscore:{},detailCourseActscore:{},coursesLists:{},shixunLists:{},schoolList:{},taskList:[],searchMemberList:{},actionTabs:{key:""},listParams:{order:"all",page:1,limit:16,search:""},shareStatus:!1,AssistantObject:{},updateData:""},effects:{*setAssistantPermissions({payload:P},{call:D,put:L}){yield D(Rt.gq,P)},*getAssistantPermissions({payload:P},{call:D,put:L}){if(!(0,zt.eB)())return;const me=yield D(Rt.rS,P);yield L({type:"save",payload:{AssistantObject:me.permissions}})},*getAiStatusQuery({payload:P},{call:D,put:L}){const me=yield D(Rt.LH,P);return yield L({type:"save",payload:{cal_finish_if:me.cal_finish_if}}),me},*updateCoursePortraitData({payload:P},{call:D,put:L}){return yield D(Rt.Z_,P)},*getUserPortraitConfig({payload:P},{call:D,put:L}){const me=yield D(Rt._0,P);return yield L({type:"save",payload:{userPortraitConfig:me.data}}),me},*updateUserPortraitConfig({payload:P},{call:D,put:L}){return yield D(Rt.r2,P)},*getClassroom({payload:P},{call:D,put:L}){const me=P,De=yield D(Rt.V8,P);return yield L({type:"save",payload:pe({listParams:me},De)}),De},*getClassroomTopBanner({payload:P},{call:D,put:L}){const me=yield D(Rt.U_,P);return yield L({type:"save",payload:{detailTopBanner:me.status?{copy_completed:!0}:pe({},me)}}),me.status?{copy_completed:!0}:me},*getClassroomLeftMenus({payload:P},{call:D,put:L}){const me=yield D(Rt.w9,P);let De=[...(me==null?void 0:me.course_modules)||[],...(me==null?void 0:me.hidden_modules)||[]],an={};return De==null||De.forEach(Vn=>{an[Vn.type]=Vn.name}),yield L({type:"save",payload:{detailLeftMenus:pe({},me),detailLeftMenusNames:an}}),me},*getClassroomShixunsList({payload:P},{call:D,put:L}){const me=yield D(Rt.Nd,P);yield L({type:"save",payload:{detailShixunsList:pe({},me)}})},*getClassroomTeacherShixunsList({payload:P},{call:D,put:L}){const me=yield D(Rt.Gk,P);return yield L({type:"save",payload:{detailShixunsList:pe({},me)}}),me},*getClassroomCommonList({payload:P},{call:D,put:L}){const me=yield D(Rt.Nd,P);yield L({type:"save",payload:{detailCommonHomeworksList:pe({},me)}})},*getClassroomTeacherCommonList({payload:P},{call:D,put:L}){const me=yield D(Rt.Gk,P);return yield L({type:"save",payload:{detailCommonHomeworksList:pe({},me)}}),me},*getClassroomGraduationTopicsList({payload:P},{call:D,put:L}){const me=yield D(Rt.yV,P);yield L({type:"save",payload:{detailGraduationTopicsList:pe({},me)}})},*getClassroomGraduationTaskList({payload:P},{call:D,put:L}){const me=yield D(Rt.R2,P);yield L({type:"save",payload:{detailGraduationTaskList:pe({},me)}})},*getClassroomExercisesList({payload:P},{call:D,put:L}){const me=yield D(Rt.N7,P);yield L({type:"save",payload:{detailExerciseList:pe({},me)}})},*getClassroomPollsList({payload:P},{call:D,put:L}){const me=yield D(Rt.BR,P);yield L({type:"save",payload:{detailPollsList:pe({},me)}})},*getCourseGroups({payload:P},{call:D,put:L}){const me=yield D(Rt.qB,P);yield L({type:"save",payload:{courseGroups:pe({},me)}})},*getAllCourseGroup({payload:P},{call:D,put:L}){const me=yield D(Rt.c_,P);return yield L({type:"save",payload:{allCourseGroups:pe({},me)}}),me},*getClassroomCommonHomeworksList({payload:P},{call:D,put:L}){const me=yield D(Rt.Al,P);yield L({type:"save",payload:{detailCommonHomeworksList:pe({},me)}})},*getClassroomAttendancesList({payload:P},{call:D,put:L}){const me=yield D(Rt.Vw,P);yield L({type:"save",payload:{detailAttendancesList:pe({},me)}})},*getClassroomAttendancesStatistic({payload:P},{call:D,put:L}){const me=yield D(Rt.Ls,P);yield L({type:"save",payload:{detailAttendancesStatistic:pe({},me)}})},*getAttendanceDetail({payload:P},{call:D,put:L}){const me=yield D(Rt.zg,P);return yield L({type:"save",payload:{detailAttendancesDetail:pe({},me)}}),me},*getAnnouncementList({payload:P},{call:D,put:L}){const me=yield D(Rt.QZ,P);yield L({type:"save",payload:{detailAnnouncementList:pe({},me)}})},*getAttachmentList({payload:P},{call:D,put:L}){const me=yield D(Rt.KT,P);yield L({type:"save",payload:{detailAttachmentList:pe({},me.data)}})},*getCourseware({payload:P},{call:D,put:L}){const me=yield D(Rt.ZT,P);yield L({type:"save",payload:{detailCourseware:pe({},me.data)}})},*getVideoList({payload:P},{call:D,put:L}){const me=yield D(Rt.O3,P);yield L({type:"save",payload:{detailVideoList:pe({},me)}})},*getLiveVideoList({payload:P},{call:D,put:L}){const me=yield D(Rt.DJ,P);yield L({type:"save",payload:{detailLiveVideoList:pe({},me)}})},*getCoursesMine({payload:P,callback:D},{call:L,put:me}){const De=yield L(Rt.Ed,P);return yield me({type:"save",payload:{courseMine:pe({},De)}}),De.data},*getBoardList({payload:P,callback:D},{call:L,put:me}){const De=yield L(Rt.KP,P);return yield me({type:"save",payload:{detailBoardList:pe({},De.data)}}),De.data},*getCourseGroupsList({payload:P,callback:D},{call:L,put:me}){const De=yield L(Rt.kW,P);return yield me({type:"save",payload:{detailCourseGroupsList:pe({},De)}}),De},*getCourseStudentsList({payload:P,callback:D},{call:L,put:me}){const De=yield L(Rt.J2,P);return yield me({type:"save",payload:{detailCoursStudentsList:pe({},De)}}),De.data},*getCourseStatistics({payload:P,callback:D},{call:L,put:me}){const De=yield L(Rt.g4,P);return yield me({type:"save",payload:{detailCourseStatisticsList:pe({},De)}}),De},*getCourseActscore({payload:P,callback:D},{call:L,put:me}){const De=yield L(Rt.t1,P);return yield me({type:"save",payload:{detailCourseActscore:pe({},De)}}),De},*getCourseWorkscore({payload:P,callback:D},{call:L,put:me}){const De=yield L(Rt.GV,P);return yield me({type:"save",payload:{detailCourseWorkscore:pe({},De)}}),De},*getShixunLists({payload:P,callback:D},{call:L,put:me}){const De=yield L(Rt.Pj,P);return yield me({type:"save",payload:{shixunLists:pe({},De)}}),De},*getExperimentLists({payload:P,callback:D},{call:L,put:me}){const De=yield L(Rt._9,P);return yield me({type:"save",payload:{shixunLists:pe({},De)}}),De},*getShixunAiRecommendLists({payload:P,callback:D},{call:L,put:me}){const De=yield L(Rt.Hn,P);return yield me({type:"save",payload:{shixunAiRecommendLists:pe({},De)}}),De},*getCoursesLists({payload:P,callback:D},{call:L,put:me}){const De=yield L(Rt.W7,P);return yield me({type:"save",payload:{coursesLists:pe({},De)}}),De},*createCoursesHomework({payload:P,callback:D},{call:L,put:me}){return yield L(Rt.Ds,P)},*createShixunHomework({payload:P,callback:D},{call:L,put:me}){return yield L(Rt.aQ,P)},*createExperiment({payload:P,callback:D},{call:L,put:me}){return yield L(Rt.BQ,P)},*getSchoolList({payload:P,callback:D},{call:L,put:me}){const De=yield L(Rt.K$,P);return yield me({type:"save",payload:{schoolList:pe({},De.school_names)}}),De.school_names},*searchSchoolTeacherList({payload:P,callback:D},{call:L,put:me}){const De=yield L(Rt.nQ,P);return yield me({type:"save",payload:{searchMemberList:pe({},De)}}),De},*getAllTaskList({payload:P,callback:D},{call:L,put:me}){const De=yield L(Rt.km,P);return yield me({type:"save",payload:{taskList:[...De.tasks]}}),De},*updateTaskPosition({payload:P,callback:D},{call:L,put:me}){const De=yield L(Rt.U8,P);return yield me({type:"save",payload:{actionTabs:{key:""}}}),De},*setActionTabs({payload:P},{call:D,put:L}){yield L({type:"save",payload:{actionTabs:pe({},P)}})},*setUpdateData({payload:P},{call:D,put:L}){yield L({type:"save",payload:{updateData:P}})}},reducers:{save(P,D){return pe(pe({},P),D.payload)}},subscriptions:{setup({dispatch:P,history:D}){return D.listen(({pathname:L})=>{L==="/"&&P({type:"query"})})}}},ct=Object.defineProperty,Wt=Object.getOwnPropertySymbols,Tt=Object.prototype.hasOwnProperty,Ce=Object.prototype.propertyIsEnumerable,St=(P,D,L)=>D in P?ct(P,D,{enumerable:!0,configurable:!0,writable:!0,value:L}):P[D]=L,ye=(P,D)=>{for(var L in D||(D={}))Tt.call(D,L)&&St(P,L,D[L]);if(Wt)for(var L of Wt(D))Ce.call(D,L)&&St(P,L,D[L]);return P},yt={namespace:"newClassroom",state:{schoolList:[],searchCourseList:[],actionTabs:{key:"",params:{}}},effects:{*getSchoolList({payload:P},{call:D,put:L}){const me=yield D(Rt.K$,P);yield L({type:"save",payload:{schoolList:(me==null?void 0:me.school_names)||[]}})},*getSearchCourseList({payload:P},{call:D,put:L}){const me=yield D(Rt.oM,P);yield L({type:"save",payload:{searchCourseList:(me==null?void 0:me.course_lists)||[]}})},*submitCourses({payload:P},{call:D,put:L}){return yield D(Rt.Bn,P)},*appplySchool({payload:P},{call:D,put:L}){return yield D(Rt.bz,P)},*setActionTabs({payload:P},{call:D,put:L}){yield L({type:"save",payload:{actionTabs:ye({},P)}})},*joincoursegroup({payload:P},{call:D,put:L}){return yield D(Rt.WK,P)}},reducers:{save(P,D){return ye(ye({},P),D.payload)}},subscriptions:{setup({dispatch:P,history:D}){}}},Bt=Object.defineProperty,Be=Object.getOwnPropertySymbols,Dr=Object.prototype.hasOwnProperty,At=Object.prototype.propertyIsEnumerable,Xr=(P,D,L)=>D in P?Bt(P,D,{enumerable:!0,configurable:!0,writable:!0,value:L}):P[D]=L,en=(P,D)=>{for(var L in D||(D={}))Dr.call(D,L)&&Xr(P,L,D[L]);if(Be)for(var L of Be(D))At.call(D,L)&&Xr(P,L,D[L]);return P},Nr={namespace:"classroomsOverview",state:{},effects:{*getCourseUseInfos({payload:P},{call:D,put:L}){const me=yield D(Rt.Dd,P);yield L({type:"save",payload:{CourseUseInfos:me}})},*getRankList({payload:P},{call:D,put:L}){const me=yield D(Rt.Fg,P);yield L({type:"save",payload:{RankList:{teacher_list:[{rank:"\u6392\u540D",name:"\u59D3\u540D",course_num:"\u7BA1\u7406\u8BFE",homework_num:"\u53D1\u5E03\u4F5C\u4E1A\u6570",exercise_num:"\u53D1\u5E03\u8003\u8BD5\u6570",resource_num:"\u4E0A\u4F20\u8D44\u6E90\u6570"},...(me==null?void 0:me.teacher_list)||[]],student_list:[{rank:"\u6392\u540D",name:"\u59D3\u540D",student_id:"\u5B66\u53F7/\u5DE5\u53F7",finish_num:"\u5B8C\u6210\u4F5C\u4E1A\u6570",total_score:"\u603B\u6210\u7EE9"},...(me==null?void 0:me.student_list)||[]],learn_course_list:[{rank:"\u6392\u540D",name:"\u6559\u5B66\u8BFE\u5802\u540D\u79F0",num:"\u5B66\u4E60\u4EBA\u6570"},...(me==null?void 0:me.learn_course_list)||[]],interact_course_list:[{rank:"\u6392\u540D",name:"\u6559\u5B66\u8BFE\u5802\u540D\u79F0",num:"\u4E92\u52A8\u8BA8\u8BBA\u6570"},...(me==null?void 0:me.interact_course_list)||[]],finish_course_list:[{rank:"\u6392\u540D",name:"\u6559\u5B66\u8BFE\u5802\u540D\u79F0",num:"\u603B\u5B8C\u6210\u6570"},...(me==null?void 0:me.finish_course_list)||[]]}}})},*getStatisticsBody({payload:P},{call:D,put:L}){const me=yield D(Rt.Gz,P);yield L({type:"save",payload:{SBody:me}})},*getStatisticsHeader({payload:P},{call:D,put:L}){const me=yield D(Rt.Hl,P);yield L({type:"save",payload:{SHeader:me}})}},reducers:{save(P,D){return en(en({},P),D.payload)}},subscriptions:{setup({dispatch:P,history:D}){return D.listen(({pathname:L})=>{L==="/"&&P({type:"query"})})}}},mr=e(43150),Zr=Object.defineProperty,on=Object.getOwnPropertySymbols,_n=Object.prototype.hasOwnProperty,Yt=Object.prototype.propertyIsEnumerable,mt=(P,D,L)=>D in P?Zr(P,D,{enumerable:!0,configurable:!0,writable:!0,value:L}):P[D]=L,st=(P,D)=>{for(var L in D||(D={}))_n.call(D,L)&&mt(P,L,D[L]);if(on)for(var L of on(D))Yt.call(D,L)&&mt(P,L,D[L]);return P},Nt={namespace:"polls",state:{name:"\u666E\u901A\u8BD5\u5377\uFF0C\u968F\u673A\u8BD5\u5377\u8BE6\u60C5\u9875\u9762",loading:!0,pollsList:{},statisticsList:{},pollsCoursesList:{},brankList:{},actionTabs:{},commonHeader:{},pollSetting:{},endGroups:{},publishGroups:{},exerciseBanks:{}},effects:{*getPollsList({payload:P,callback:D},{call:L,put:me}){const De=yield L(mr.s3,P);return yield me({type:"save",payload:{pollsList:st({},De)}}),De},*getCommonHeader({payload:P,callback:D},{call:L,put:me}){const De=yield L(mr.UK,P);return yield me({type:"save",payload:{commonHeader:st({},De)}}),De},*getPollsStatistics({payload:P,callback:D},{call:L,put:me}){const De=yield L(mr.Qn,P);return yield me({type:"save",payload:{statisticsList:st({},De)}}),De},*getBrankList({payload:P,callback:D},{call:L,put:me}){const De=yield L(mr.n$,P);return yield me({type:"save",payload:{brankList:st({},De)}}),De},*saveBanks({payload:P,callback:D},{call:L,put:me}){return yield L(mr.lf,P)},*getPollsCourses({payload:P,callback:D},{call:L,put:me}){const De=yield L(mr.Q9,P);return yield me({type:"save",payload:{pollsCoursesList:st({},De)}}),De},*getPollsSetting({payload:P,callback:D},{call:L,put:me}){const De=yield L(mr.Hi,P);return yield me({type:"save",payload:{pollSetting:st({},De)}}),De},*editPolls({payload:P,callback:D},{call:L,put:me}){const De=yield L(mr.Ye,P);return yield me({type:"save",payload:{editData:st({},JSON.parse(JSON.stringify(De)))}}),De},*getEndGroups({payload:P,callback:D},{call:L,put:me}){const De=yield L(mr.KE,P);return yield me({type:"save",payload:{endGroups:st({},De)}}),De},*getPublishGroups({payload:P,callback:D},{call:L,put:me}){const De=yield L(mr.ux,P);return yield me({type:"save",payload:{publishGroups:st({},De)}}),De},*getExerciseBanks({payload:P,callback:D},{call:L,put:me}){const De=yield L(mr.kp,P);return yield me({type:"save",payload:{exerciseBanks:st({},De)}}),De},*setActionTabs({payload:P},{call:D,put:L}){yield L({type:"save",payload:{actionTabs:st({},P)}})}},reducers:{save(P,D){return st(st({},P),D.payload)}},subscriptions:{setup({dispatch:P,history:D}){}}},br=e(93539),vr=Object.defineProperty,nt=Object.getOwnPropertySymbols,Tr=Object.prototype.hasOwnProperty,vn=Object.prototype.propertyIsEnumerable,Gn=(P,D,L)=>D in P?vr(P,D,{enumerable:!0,configurable:!0,writable:!0,value:L}):P[D]=L,Yr=(P,D)=>{for(var L in D||(D={}))Tr.call(D,L)&&Gn(P,L,D[L]);if(nt)for(var L of nt(D))vn.call(D,L)&&Gn(P,L,D[L]);return P},Jn={namespace:"teachers",state:{list:{},applyList:{},allCourseGroups:{},graduationGroupList:{},studentsList:{},actionTabs:{key:"",params:{}},updateIndex:1},effects:{*getList({payload:P},{call:D,put:L}){var me;const De=yield D(br.gp,P);return(me=De==null?void 0:De.teacher_list)==null||me.map(an=>(an.key=an.course_member_id,an)),yield L({type:"save",payload:{list:De}}),De},*getStudentsList({payload:P},{call:D,put:L}){var me;const De=yield D(br.ur,P);return(me=De==null?void 0:De.students)==null||me.map(an=>(an.key=an.user_id,an)),yield L({type:"save",payload:{studentsList:De}}),De},*getApplyList({payload:P},{call:D,put:L}){const me=yield D(br.s,P);return yield L({type:"save",payload:{applyList:me}}),me},*getAllCourseGroups({payload:P},{call:D,put:L}){const me=yield D(br.xV,P);return yield L({type:"save",payload:{allCourseGroups:me}}),me},*getGraduationGroupList({payload:P},{call:D,put:L}){const me=yield D(br.Bg,P);return yield L({type:"save",payload:{graduationGroupList:me}}),me},*setAllCourseGroups({payload:P},{call:D,put:L}){const me=yield D(br.oZ,P);return yield L({type:"save",payload:{setAllCourseGroups:me}}),me},*setActionTabs({payload:P},{call:D,put:L}){yield L({type:"save",payload:{actionTabs:Yr({},P)}})},*setUpdateIndex({payload:P},{call:D,put:L}){yield L({type:"save",payload:{updateIndex:Math.random()}})}},reducers:{save(P,D){return Yr(Yr({},P),D.payload)}},subscriptions:{setup({dispatch:P,history:D}){}}},kn=e(54624),Qn=Object.defineProperty,ri=Object.getOwnPropertySymbols,Ai=Object.prototype.hasOwnProperty,wi=Object.prototype.propertyIsEnumerable,Ui=(P,D,L)=>D in P?Qn(P,D,{enumerable:!0,configurable:!0,writable:!0,value:L}):P[D]=L,oa=(P,D)=>{for(var L in D||(D={}))Ai.call(D,L)&&Ui(P,L,D[L]);if(ri)for(var L of ri(D))wi.call(D,L)&&Ui(P,L,D[L]);return P},zi={namespace:"video",state:{name:"\u8D44\u6E90",loading:!0,actionTabs:{},videoStatisticsList:{},newVideoStatisticsList:{},videoDurationStatics:{},StudentvideoStatistics:{},videoPeopleStatics:{},videoStatistics:{},oneVideoStatisticsList:{}},effects:{*getVideoStatisticsList({payload:P,callback:D},{call:L,put:me}){const De=yield L(kn.BQ,P);return yield me({type:"save",payload:{videoStatisticsList:oa({},De)}}),De},*getNewVideoStatisticsList({payload:P,callback:D},{call:L,put:me}){const De=yield L(kn.cU,P);return yield me({type:"save",payload:{newVideoStatisticsList:oa({},De)}}),De},*getVideoPeopleStatics({payload:P,callback:D},{call:L,put:me}){const De=yield L(kn.Zx,P);return yield me({type:"save",payload:{videoPeopleStatics:oa({},De)}}),De},*getVideoDurationStatics({payload:P,callback:D},{call:L,put:me}){const De=yield L(kn.Mz,P);return yield me({type:"save",payload:{videoDurationStatics:oa({},De)}}),De},*getVideoStatistics({payload:P,callback:D},{call:L,put:me}){const De=yield L(kn.ZY,P);return yield me({type:"save",payload:{videoStatistics:oa({},De)}}),De},*getOneVideoStatisticsList({payload:P,callback:D},{call:L,put:me}){const De=yield L(kn.cU,P);return yield me({type:"save",payload:{oneVideoStatisticsList:oa({},De)}}),De},*setActionTabs({payload:P},{call:D,put:L}){yield L({type:"save",payload:{actionTabs:oa({},P)}})},*getStudentVideoStatisticsList({payload:P,callback:D},{call:L,put:me}){const De=yield L(kn.Vg,P);return yield me({type:"save",payload:{StudentvideoStatistics:oa({},De)}}),De}},reducers:{save(P,D){return oa(oa({},P),D.payload)}},subscriptions:{setup({dispatch:P,history:D}){}}},mi=e(30945),Ki=Object.defineProperty,Dt=Object.getOwnPropertySymbols,vt=Object.prototype.hasOwnProperty,Zi=Object.prototype.propertyIsEnumerable,Hi=(P,D,L)=>D in P?Ki(P,D,{enumerable:!0,configurable:!0,writable:!0,value:L}):P[D]=L,hi=(P,D)=>{for(var L in D||(D={}))vt.call(D,L)&&Hi(P,L,D[L]);if(Dt)for(var L of Dt(D))Zi.call(D,L)&&Hi(P,L,D[L]);return P},Ti={namespace:"competitions",state:{name:"",loading:!0,listParams:{page:1,per_page:20,category:""},Staff:{},Header:{},competition_title:"",banner:"",competitions:[],count:"",RightItems:{},Prizes:{},Account:{},TabResultList:{},competition_team:{},all_team_member:{},actionTabs:{key:"",params:{}},GuidesData:{}},effects:{*postGuides({payload:P,callback:D},{call:L,put:me}){return yield L(mi.cC,P)},*getGuides({payload:P,callback:D},{call:L,put:me}){const De=yield L(mi.Ax,P);return yield me({type:"save",payload:{GuidesData:De}}),De},*getWorkSubmitUpdateRes({payload:P,callback:D},{call:L,put:me}){return yield L(mi.zF,P)},*getList({payload:P},{call:D,put:L}){const me=P,De=yield D(mi.bQ,P);return yield L({type:"save",payload:hi({listParams:me},De)}),De},*getMemberWorks({payload:P},{call:D,put:L}){const me=yield D(mi.xx,P);return yield L({type:"save",payload:{MemberWorks:me||{}}}),me},*addApplytojoincourse({payload:P,callback:D},{call:L,put:me}){return yield L(mi.qS,P)},*competitionTeams({payload:P,callback:D},{call:L,put:me}){return yield L(mi.Pt,P)},*getStaff({payload:P,callback:D},{call:L,put:me}){const De=yield L(mi.Dh,P);return yield me({type:"save",payload:{Staff:De}}),De},*getHeader({payload:P,callback:D},{call:L,put:me}){const De=yield L(mi.Pg,P);return yield me({type:"save",payload:{Header:De}}),De},*getItem({payload:P,callback:D},{call:L,put:me}){const De=yield L(mi.rV,P);return yield me({type:"save",payload:{RightItems:De}}),De},*updateMdContent({payload:P,callback:D},{call:L,put:me}){return yield L(mi.zj,P)},*getTeamList({payload:P,callback:D},{call:L,put:me}){return yield L(mi.aq,P)},*getTeamDetail({payload:P,callback:D},{call:L,put:me}){return yield L(mi.Ze,P)},*UpTeam({payload:P,callback:D},{call:L,put:me}){return yield L(mi.yS,P)},*DeleteTeam({payload:P,callback:D},{call:L,put:me}){return yield L(mi.ps,P)},*ExitTeam({payload:P,callback:D},{call:L,put:me}){return yield L(mi.vV,P)},*AddTeam({payload:P,callback:D},{call:L,put:me}){return yield L(mi.FU,P)},*AddPersonnel({payload:P,callback:D},{call:L,put:me}){return yield L(mi.R9,P)},*JoinTeam({payload:P,callback:D},{call:L,put:me}){return yield L(mi.zc,P)},*getTeacher({payload:P,callback:D},{call:L,put:me}){return yield L(mi.jS,P)},*getStudents({payload:P,callback:D},{call:L,put:me}){return yield L(mi.sK,P)},*SubmitTeam({payload:P,callback:D},{call:L,put:me}){return yield L(mi.rm,P)},*Reward({payload:P,callback:D},{call:L,put:me}){return yield L(mi.Qp,P)},*ChartRules({payload:P,callback:D},{call:L,put:me}){return yield L(mi.Ux,P)},*Charts({payload:P,callback:D},{call:L,put:me}){return yield L(mi.GQ,P)},*TabResults({payload:P,callback:D},{call:L,put:me}){const De=yield L(mi.ml,P);return yield me({type:"save",payload:{TabResultList:De}}),De},*setActionTabs({payload:P},{call:D,put:L}){yield L({type:"save",payload:{actionTabs:hi({},P)}})},*Results({payload:P,callback:D},{call:L,put:me}){return yield L(mi.u9,P)},*Prize({payload:P,callback:D},{call:L,put:me}){const De=yield L(mi.pU,P);return yield me({type:"save",payload:{Prizes:De}}),De},*Accounts({payload:P,callback:D},{call:L,put:me}){const De=yield L(mi.XJ,P);return yield me({type:"save",payload:{Account:De}}),De},*getVerification({payload:P,callback:D},{call:L,put:me}){return yield L(mi.Ni,P)},*PhoneBind({payload:P,callback:D},{call:L,put:me}){return yield L(mi.uZ,P)},*EmailBind({payload:P,callback:D},{call:L,put:me}){return yield L(mi.rk,P)},*Authentication({payload:P,callback:D},{call:L,put:me}){return yield L(mi.Vy,P)},*Professional({payload:P,callback:D},{call:L,put:me}){return yield L(mi.tC,P)},*setleader({payload:P,callback:D},{call:L,put:me}){return yield L(mi.tO,P)},*getShixun({payload:P,callback:D},{call:L,put:me}){return yield L(mi.qj,P)},*getCourse({payload:P,callback:D},{call:L,put:me}){return yield L(mi.XR,P)},*competition_teams({payload:P,callback:D},{call:L,put:me}){const De=yield L(mi.zz,P);return yield me({type:"save",payload:{competition_team:De}}),De},*all_team_members({payload:P,callback:D},{call:L,put:me}){const De=yield L(mi.$P,P);return yield me({type:"save",payload:{all_team_member:De}}),De}},reducers:{save(P,D){return hi(hi({},P),D.payload)}},subscriptions:{setup({dispatch:P,history:D}){return D.listen(({pathname:L})=>{L==="/"&&P({type:"query"})})}}},si=e(55510),Dn=e(86967),rr=Object.defineProperty,_t=Object.defineProperties,rt=Object.getOwnPropertyDescriptors,Ot=Object.getOwnPropertySymbols,ht=Object.prototype.hasOwnProperty,lr=Object.prototype.propertyIsEnumerable,fr=(P,D,L)=>D in P?rr(P,D,{enumerable:!0,configurable:!0,writable:!0,value:L}):P[D]=L,Cr=(P,D)=>{for(var L in D||(D={}))ht.call(D,L)&&fr(P,L,D[L]);if(Ot)for(var L of Ot(D))lr.call(D,L)&&fr(P,L,D[L]);return P},Gr=(P,D)=>_t(P,rt(D)),et={namespace:"engineeringEvaluteDetail",state:{classDataSource:{active:null,dataList:[]},actionTabs:{key:"",params:{}},name:"",headerData:{dataSource:{[Dn.k[0]]:{width:235,placeholder:`\u8BF7\u9009\u62E9${Dn.k[0]}`,loading:"engineeringEvaluteDetail/getMajorList",dataList:[]},[Dn.k[1]]:{width:138,placeholder:`\u8BF7\u9009\u62E9${Dn.k[1]}`,loading:"engineeringEvaluteDetail/getYearList",dataList:[]}},active:{}},tabListData:[],echartsData:{barData:{name:"",dataSource:{xData:[],yBarData:[],yLineData:[]}},lineData:{name:"",xData:[],seriesData:[]},scatterData:{}}},effects:{*setActionTabs({payload:P},{call:D,put:L}){yield L({type:"save",payload:{actionTabs:Cr({},P)}})},*getMajorList({payload:P},{call:D,put:L,select:me}){const{userInfo:De}=yield me(an=>an.user);if(De!=null&&De.school_id){const an=yield D(si.BA,De.school_id);an&&an.data&&(yield L({type:"setMajorOrYearDataSource",payload:{key:Dn.k[0],value:an.data.map(Vn=>({label:Vn.name,value:Vn.ec_major_school_id}))}}))}},*getYearList({payload:P},{call:D,put:L}){const me=yield D(si.Nx,P);me&&me.data&&(yield L({type:"setMajorOrYearDataSource",payload:{key:Dn.k[1],value:me.data.map(De=>({label:De.year,value:De.ec_year_id}))}}))},*getCourseResultDetail({payload:P},{call:D,put:L}){console.log(P,"payload");const me=yield D(si.p1,P);me&&me.ec_course_target&&(yield L({type:"setEchartsData",payload:me}))},*getCourseResultDetailClass({payload:P},{call:D,put:L}){const me=yield D(si.ff,P);me&&me.class_name&&(yield L({type:"save",payload:{classDataSource:{active:null,dataList:[...me.class_name]}}}))},*setClassActive({payload:P},{call:D,put:L}){yield L({type:"save",payload:{classDataSource:Cr({},P)}})}},reducers:{save(P,D){return Cr(Cr({},P),D.payload)},setMajorOrYearDataSource(P,{payload:D}){return Gr(Cr({},P),{headerData:Gr(Cr({},P.headerData),{dataSource:Gr(Cr({},P.headerData.dataSource),{[D.key]:Gr(Cr({},P.headerData.dataSource[D.key]),{dataList:D.value})})})})},setMajorOrYearActive(P,{payload:D}){return Gr(Cr({},P),{headerData:Gr(Cr({},P.headerData),{active:Gr(Cr({},P.headerData.active),{[D.key]:D.value})})})},setEchartsData(P,{payload:D}){let L={name:D.course_name||"",dataSource:{xData:[],yBarData:[],yLineData:[]}},me={name:D.course_name||"",xData:[],seriesData:[]},De={};return D.ec_course_target.forEach((an,Vn)=>{an.position=Vn+1,L=Gr(Cr({},L),{dataSource:{xData:[...L.dataSource.xData,Vn+1],yBarData:[...L.dataSource.yBarData,an.actual_grade],yLineData:[...L.dataSource.yLineData,an.standard_grade]}});let hn=[],Fi={min:[],max:[]},cs=[],Ka=[],Ho=[];an.student_data.detail.forEach((ns,Ao)=>{let js=ns.score;hn.push(Ao+1),Fi.max.push(js>=an.student_data.goal_score?js:null),Fi.min.push(js>=an.student_data.goal_score?null:js),cs.push(ns.name),Ka.push(ns.student_id),Ho.push(ns.clazz)}),De[Vn+1]={name:Vn+1,average_score:an.student_data.average_score,goal_score:an.student_data.goal_score,xData:hn,yData:Fi,name_data:cs,student_ids:Ka,class_data:Ho,goal_scoreData:new Array(an.student_data.detail.length).fill(an.student_data.goal_score),average_scoreData:new Array(an.student_data.detail.length).fill(an.student_data.average_score)}}),D.history.forEach(an=>{me=Gr(Cr({},me),{xData:[...me.xData,an.year],seriesData:[...me.seriesData,an.total_score]})}),Gr(Cr({},P),{name:D.course_name||"",tabListData:D.ec_course_target,echartsData:{barData:L,lineData:me,scatterData:De}})}},subscriptions:{setup({dispatch:P,history:D}){return D.listen(({pathname:L})=>{L==="/"&&P({type:"query"})})}}},be=Object.defineProperty,it=Object.getOwnPropertySymbols,or=Object.prototype.hasOwnProperty,kr=Object.prototype.propertyIsEnumerable,Ir=(P,D,L)=>D in P?be(P,D,{enumerable:!0,configurable:!0,writable:!0,value:L}):P[D]=L,Pr=(P,D)=>{for(var L in D||(D={}))or.call(D,L)&&Ir(P,L,D[L]);if(it)for(var L of it(D))kr.call(D,L)&&Ir(P,L,D[L]);return P},wn={namespace:"engineering",state:{showMenu:!0,matrixVerify:{key:!1,params:{}},actionTabs:{key:"",params:{}}},effects:{*setActionTabs({payload:P},{call:D,put:L}){yield L({type:"save",payload:{actionTabs:Pr({},P)}})},*setShowMenu({payload:P},{call:D,put:L}){yield L({type:"save",payload:{showMenu:P}})},*setMatrixVerify({payload:P},{call:D,put:L}){yield L({type:"save",payload:{matrixVerify:Pr({},P)}})}},reducers:{save(P,D){return Pr(Pr({},P),D.payload)}},subscriptions:{setup({dispatch:P,history:D}){return D.listen(({pathname:L})=>{L==="/"&&P({type:"query"})})}}},gr=e(2001),fn=Object.defineProperty,un=Object.defineProperties,dn=Object.getOwnPropertyDescriptors,gn=Object.getOwnPropertySymbols,ka=Object.prototype.hasOwnProperty,Ci=Object.prototype.propertyIsEnumerable,pi=(P,D,L)=>D in P?fn(P,D,{enumerable:!0,configurable:!0,writable:!0,value:L}):P[D]=L,bn=(P,D)=>{for(var L in D||(D={}))ka.call(D,L)&&pi(P,L,D[L]);if(gn)for(var L of gn(D))Ci.call(D,L)&&pi(P,L,D[L]);return P},ui=(P,D)=>un(P,dn(D)),Ca={namespace:"engineeringNavigtion",state:{actionTabs:{key:"",params:{}},headerData:{title:"\u8BA4\u8BC1\u5BFC\u822A",dataSource:{[Dn.k[0]]:{width:235,placeholder:`\u8BF7\u9009\u62E9${Dn.k[0]}`,loading:"engineeringNavigtion/getMajorList",dataList:[]},[Dn.k[1]]:{width:138,placeholder:`\u8BF7\u9009\u62E9${Dn.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:P},{call:D,put:L}){yield L({type:"save",payload:{actionTabs:bn({},P)}})},*getMajorList({},{call:P,put:D,select:L}){const{userInfo:me}=yield L(De=>De.user);if(me!=null&&me.school_id){const De=yield P(si.BA,me.school_id);if(De&&De.data){const an=gr.U.getItem(me==null?void 0:me.login);yield D({type:"setMajorOrYearDataSource",payload:{key:Dn.k[0],value:De.data.map(Vn=>({label:Vn.name,value:Vn.ec_major_school_id})),active:De.data.length>0?an[0]||De.data[0].ec_major_school_id:void 0}})}}},*getYearList({payload:P},{call:D,put:L,select:me}){const De=yield D(si.Nx,P.id),{userInfo:an}=yield me(Vn=>Vn.user);if(De&&De.data){const Vn=gr.U.getItem(an==null?void 0:an.login);yield L({type:"setMajorOrYearDataSource",payload:{key:Dn.k[1],value:De.data.map(hn=>({label:hn.year,value:hn.ec_year_id})),active:De.data.length>0?P.firstEnter?Vn[1]:De.data[0].ec_year_id:void 0}})}},*getTopPage({},{call:P,put:D,select:L}){const{headerData:me}=yield L(Vn=>Vn.engineeringNavigtion),{userInfo:De}=yield L(Vn=>Vn.user);let an={};if(me.active[Dn.k[1]]&&De.school_id){const Vn=[me.active[Dn.k[0]],me.active[Dn.k[1]]];gr.U.setItem(De==null?void 0:De.login,Vn);const hn=yield P(si.bA,{ec_year_id:me.active[Dn.k[1]],school_id:De.school_id});hn&&hn.data&&(an=hn.data),yield D({type:"setTopPage",payload:an})}},*putTopPageName({payload:P,callback:D},{call:L,put:me}){try{const De=yield L(si.ay,P);D(De)}catch(De){let an="";De&&(an=JSON.stringify(De),De.message&&(an=De.message)),D({message:an,status:999})}}},reducers:{save(P,D){return bn(bn({},P),D.payload)},setMajorOrYearDataSource(P,{payload:D}){let L=P.headerData.active;return D.active&&(L=ui(bn({},L),{[D.key]:D.active})),ui(bn({},P),{headerData:ui(bn({},P.headerData),{dataSource:ui(bn({},P.headerData.dataSource),{[D.key]:ui(bn({},P.headerData.dataSource[D.key]),{dataList:D.value})}),active:L})})},setMajorOrYearActive(P,{payload:D}){return ui(bn({},P),{headerData:ui(bn({},P.headerData),{active:ui(bn({},P.headerData.active),{[D.key]:D.value})})})},setTopPage(P,{payload:D}){return ui(bn({},P),{headerData:ui(bn({},P.headerData),{name:D.name,tabBarContent:{user_name:D.user_name,user_school:D.user_school,user_type:D.user_type}}),cardListData:ui(bn({},P.cardListData),{appraiseData:ui(bn({},P.cardListData.appraiseData),{norm:ui(bn({},P.cardListData.appraiseData.norm),{result:D.graduaiton_result,listData:P.cardListData.appraiseData.norm.listData.map(L=>ui(bn({},L),{value:D[L.key]||0}))}),course:ui(bn({},P.cardListData.appraiseData.course),{result:D.course_result,listData:P.cardListData.appraiseData.course.listData.map(L=>ui(bn({},L),{value:D[L.key]||0}))})}),teamData:{teach:ui(bn({},P.cardListData.teamData.teach),{tabBarContent:`${D.course_teachers?D.course_teachers.length:0}\u4EBA`,listData:D.course_teachers||[]}),work:ui(bn({},P.cardListData.teamData.work),{tabBarContent:`${D.work_teachers?D.work_teachers.length:0}\u4EBA`,listData:D.work_teachers||[]})}}),totalListData:P.totalListData.map(L=>ui(bn({},L),{value:D[L.key]||0}))})}},subscriptions:{setup({dispatch:P,history:D}){return D.listen(({pathname:L})=>{L==="/"&&P({type:"query"})})}}},Ks=Object.defineProperty,Ha=Object.defineProperties,Zs=Object.getOwnPropertyDescriptors,Js=Object.getOwnPropertySymbols,is=Object.prototype.hasOwnProperty,Hs=Object.prototype.propertyIsEnumerable,Aa=(P,D,L)=>D in P?Ks(P,D,{enumerable:!0,configurable:!0,writable:!0,value:L}):P[D]=L,Ss=(P,D)=>{for(var L in D||(D={}))is.call(D,L)&&Aa(P,L,D[L]);if(Js)for(var L of Js(D))Hs.call(D,L)&&Aa(P,L,D[L]);return P},ds=(P,D)=>Ha(P,Zs(D)),Bi={namespace:"engineeringNormDetail",state:{actionTabs:{key:"",params:{}},dataSource:{name:"",goal_value:0,actual_value:0,subitems:[]}},effects:{*setActionTabs({payload:P},{call:D,put:L}){yield L({type:"save",payload:{actionTabs:Ss({},P)}})},*getGraduationResultDetail({payload:P},{call:D,put:L}){const me=yield D(si.gq,P);yield L({type:"save",payload:{dataSource:me}})}},reducers:{save(P,D){return Ss(Ss({},P),D.payload)},setDataSource(P,{payload:D}){let L=D;return ds(Ss({},P),{dataSource:L})}},subscriptions:{setup({dispatch:P,history:D}){return D.listen(({pathname:L})=>{L==="/"&&P({type:"query"})})}}},ks=e(8591),Bo=Object.defineProperty,Wa=Object.defineProperties,Rs=Object.getOwnPropertyDescriptors,ci=Object.getOwnPropertySymbols,fo=Object.prototype.hasOwnProperty,Nn=Object.prototype.propertyIsEnumerable,Ja=(P,D,L)=>D in P?Bo(P,D,{enumerable:!0,configurable:!0,writable:!0,value:L}):P[D]=L,As=(P,D)=>{for(var L in D||(D={}))fo.call(D,L)&&Ja(P,L,D[L]);if(ci)for(var L of ci(D))Nn.call(D,L)&&Ja(P,L,D[L]);return P},Ps=(P,D)=>Wa(P,Rs(D)),ca=(P,D)=>{var L={};for(var me in P)fo.call(P,me)&&D.indexOf(me)<0&&(L[me]=P[me]);if(P!=null&&ci)for(var me of ci(P))D.indexOf(me)<0&&Nn.call(P,me)&&(L[me]=P[me]);return L},Yi={namespace:"engineeringNormList",state:{actionTabs:{key:"",params:{}},headerData:{dataSource:{[Dn.k[0]]:{width:235,placeholder:`\u8BF7\u9009\u62E9${Dn.k[0]}`,loading:"engineeringNormList/getMajorList",dataList:[]},[Dn.k[1]]:{width:138,placeholder:`\u8BF7\u9009\u62E9${Dn.k[1]}`,loading:"engineeringNormList/getYearList",dataList:[]}},active:{}},tabListData:[],expandedRowKeys:[],all_goal_value:""},effects:{*setActionTabs({payload:P},{call:D,put:L}){yield L({type:"save",payload:{actionTabs:As({},P)}})},*getMajorList({},{call:P,put:D,select:L}){const{userInfo:me}=yield L(De=>De.user);if(me!=null&&me.school_id){const De=yield P(si.BA,me.school_id);if(De&&De.data){const an=gr.U.getItem(me==null?void 0:me.login);yield D({type:"setMajorOrYearDataSource",payload:{key:Dn.k[0],value:De.data.map(Vn=>({label:Vn.name,value:Vn.ec_major_school_id})),active:De.data.length>0?an[0]||De.data[0].ec_major_school_id:void 0}})}}},*getYearList({payload:P},{call:D,put:L,select:me}){const De=yield D(si.Nx,P.id),{userInfo:an}=yield me(Vn=>Vn.user);if(De&&De.data){const Vn=gr.U.getItem(an==null?void 0:an.login);yield L({type:"setMajorOrYearDataSource",payload:{key:Dn.k[1],value:De.data.map(hn=>({label:hn.year,value:hn.ec_year_id})),active:De.data.length>0?P.firstEnter?Vn[1]:De.data[0].ec_year_id:void 0}})}},*getGraduationResults({},{call:P,put:D,select:L}){const{headerData:me}=yield L(cs=>cs.engineeringNormList),{userInfo:De}=yield L(cs=>cs.user);let an=[],Vn=[],hn="";const Fi=me.active[Dn.k[1]];if(Fi){const cs=[me.active[Dn.k[0]],me.active[Dn.k[1]]];gr.U.setItem(De==null?void 0:De.login,cs);const Ka=yield P(si.eM,Fi);Ka&&Ka.graduation_requirements&&(hn=Ka.all_goal_value||"",an=Ka.graduation_requirements.map(Ho=>{var ns=Ho,{subitems:Ao}=ns,js=ca(ns,["subitems"]);return Vn.push(js.id),Ps(As({},js),{children:Ao})}))}yield D({type:"save",payload:{tabListData:an,all_goal_value:hn,expandedRowKeys:Vn}})},*exportGraduation({},{call:P,select:D}){const{headerData:L}=yield D(me=>me.engineeringNormList);L.active[Dn.k[1]]&&(yield P(si.OE,L.active[Dn.k[1]]))},*compute({payload:P},{call:D,put:L}){const me=P,{all:De}=me,an=ca(me,["all"]),Vn=yield D(De?si.Qx:si.Xl,an);Vn&&Vn.status===0?(ks.ZP.success("\u8BA1\u7B97\u5B8C\u6210"),yield L({type:"getGraduationResults"})):ks.ZP.error(Vn.message)},*getFormulas({callback:P},{call:D,select:L}){const{headerData:me}=yield L(De=>De.engineeringNormList);if(me.active[Dn.k[1]]){const De=yield D(si.mK,me.active[Dn.k[1]]);P(De)}},*setFormulas({payload:P,callback:D},{call:L}){const me=yield L(si.y9,P);D(me)},*putGoalValue({payload:P},{call:D,put:L}){const me=yield D(si.No,P);if(me&&me.status===0)ks.ZP.success("\u4FDD\u5B58\u6210\u529F"),yield L({type:"save",payload:{actionTabs:{key:"",params:{}}}}),yield L({type:"getGraduationResults"});else{let De="\u4FDD\u5B58\u5931\u8D25";me&&me.message&&(De=me.message),ks.ZP.error(De)}}},reducers:{save(P,D){return As(As({},P),D.payload)},setMajorOrYearDataSource(P,{payload:D}){let L=P.headerData.active;return D.active&&(L=Ps(As({},L),{[D.key]:D.active})),Ps(As({},P),{headerData:Ps(As({},P.headerData),{dataSource:Ps(As({},P.headerData.dataSource),{[D.key]:Ps(As({},P.headerData.dataSource[D.key]),{dataList:D.value})}),active:L})})},setMajorOrYearActive(P,{payload:D}){return Ps(As({},P),{headerData:Ps(As({},P.headerData),{active:Ps(As({},P.headerData.active),{[D.key]:D.value})})})}},subscriptions:{setup({dispatch:P,history:D}){return D.listen(({pathname:L})=>{L==="/"&&P({type:"query"})})}}},Ws=e(16209),vo=Object.defineProperty,Wo=Object.getOwnPropertySymbols,Go=Object.prototype.hasOwnProperty,mu=Object.prototype.propertyIsEnumerable,uu=(P,D,L)=>D in P?vo(P,D,{enumerable:!0,configurable:!0,writable:!0,value:L}):P[D]=L,ho=(P,D)=>{for(var L in D||(D={}))Go.call(D,L)&&uu(P,L,D[L]);if(Wo)for(var L of Wo(D))mu.call(D,L)&&uu(P,L,D[L]);return P},Co={namespace:"forumsDetail",state:{forumsDetailData:{}},effects:{*getForumsDetailData({payload:P},{call:D,put:L}){const me=yield D(Ws.Si,P);return yield L({type:"save",payload:{forumsDetailData:ho({},me)}}),me},*setForumsDetailData({payload:P},{call:D,put:L}){yield L({type:"save",payload:{forumsDetailData:ho({},P)}})}},reducers:{save(P,D){return ho(ho({},P),D.payload)}},subscriptions:{setup({dispatch:P,history:D}){return D.listen(({pathname:L})=>{L==="/"&&P({type:"query"})})}}},qo=Object.defineProperty,Ko=Object.getOwnPropertySymbols,vi=Object.prototype.hasOwnProperty,_i=Object.prototype.propertyIsEnumerable,ts=(P,D,L)=>D in P?qo(P,D,{enumerable:!0,configurable:!0,writable:!0,value:L}):P[D]=L,ss=(P,D)=>{for(var L in D||(D={}))vi.call(D,L)&&ts(P,L,D[L]);if(Ko)for(var L of Ko(D))_i.call(D,L)&&ts(P,L,D[L]);return P},Ga={namespace:"forumsList",state:{forumsData:{},listParams:{page:1,order:"updated_at"}},effects:{*getForumsData({payload:P},{call:D,put:L}){const me=yield D(P.memoType==="shixun_discuss"?Ws.kd:Ws.bc,P);return delete P.memoType,yield L({type:"save",payload:{listParams:P,forumsData:ss({},me)}}),me}},reducers:{save(P,D){return ss(ss({},P),D.payload)}},subscriptions:{setup({dispatch:P,history:D}){return D.listen(({pathname:L})=>{L==="/"&&P({type:"query"})})}}},hs=e(79274),Jo=e(74128),Is=e(28209),ko=e.n(Is),vu=Object.defineProperty,wu=Object.getOwnPropertySymbols,qu=Object.prototype.hasOwnProperty,ll=Object.prototype.propertyIsEnumerable,Ro=(P,D,L)=>D in P?vu(P,D,{enumerable:!0,configurable:!0,writable:!0,value:L}):P[D]=L,to=(P,D)=>{for(var L in D||(D={}))qu.call(D,L)&&Ro(P,L,D[L]);if(wu)for(var L of wu(D))ll.call(D,L)&&Ro(P,L,D[L]);return P},ju={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:P},{call:D,put:L}){var me,De;const an=yield D(hs.D2,P);Jo.Z.ONLYOFFICE=(me=an==null?void 0:an.setting)==null?void 0:me.office_server_url,Lo(an);try{const Fi="5183666c72eec9e4",cs="5183666c72eec9e4";var Vn=ko().enc.Utf8.parse(Fi);let Ka=ko().enc.Utf8.parse(cs);var hn=ko().AES.decrypt(((De=an==null?void 0:an.setting)==null?void 0:De.user_default_password)||"",Vn,{iv:Ka,mode:ko().mode.CBC});an.setting.user_default_password=hn.toString(ko().enc.Utf8)}catch(Fi){}yield L({type:"save",payload:to({},an)})},*getSystemUpdate({payload:P},{call:D,put:L}){const me=yield D(hs.n0,P);yield L({type:"save",payload:{updateData:to({},me)}})},*setTheme({payload:P},{call:D,put:L}){const me=yield D(hs.n0,P);yield L({type:"save",payload:{theme:P||"default"}})},*setShareData({payload:P},{call:D,put:L}){yield L({type:"save",payload:{shareData:P}})},*setGlobalLoading({payload:P},{call:D,put:L}){yield L({type:"save",payload:{globalLoading:to({},P)}})},*delayTipToggle({payload:P},{call:D,put:L}){yield L({type:"save",payload:{showTip:P}})},*headerToggle({payload:P},{call:D,put:L}){yield L({type:"save",payload:{showHeader:P}})},*footerToggle({payload:P},{call:D,put:L}){yield L({type:"save",payload:{showFooter:P}})},*headerFooterToggle({payload:P},{call:D,put:L}){yield L({type:"save",payload:{showHeaderFooter:P}})},*delayTipToggle({payload:P},{call:D,put:L}){yield L({type:"save",payload:{showTip:P}})},*headerFixedToggle({payload:P},{call:D,put:L}){yield L({type:"save",payload:{showHeaderFixed:P}})},*onlyShowBackTopToggle({payload:P},{call:D,put:L}){yield L({type:"save",payload:{onlyShowBackTop:P}})},*onlyShowBackTopIconToggle({payload:P},{call:D,put:L}){yield L({type:"save",payload:{onlyShowBackTopIcons:P}})},*setOperateModel({payload:P},{call:D,put:L}){yield L({type:"save",payload:{operateModel:P}})},*setOperateModelPath({payload:P},{call:D,put:L}){yield L({type:"save",payload:{operateModelPath:P}})},*setShowQuestionBackTop({payload:P},{call:D,put:L}){yield L({type:"save",payload:{showQuestionBackTop:P}})},*setInfoData({payload:P},{call:D,put:L}){yield L({type:"save",payload:{infoData:to({},P)}})},*setActionTabs({payload:P},{call:D,put:L}){yield L({type:"save",payload:{actionTabs:to({},P)}})}},reducers:{save(P,D){return to(to({},P),D.payload)}},subscriptions:{setup({dispatch:P,history:D}){return D.listen(({pathname:L})=>{})}}};const Lo=(P={})=>{var D,L,me,De,an;if(window.self!==window.top||!((D=P.setting)!=null&&D.tab_logo_url))return;const Vn=document.createElement("link"),hn=document.getElementById("dynamic-favicon");Vn.id="dynamic-favicon",Vn.rel="shortcut icon",Vn.href=(L=P.setting)!=null&&L.tab_logo_url?`${Jo.Z.IMG_SERVER}/${(me=P.setting)==null?void 0:me.tab_logo_url}`:"",hn&&document.head.removeChild(hn),document.head.appendChild(Vn);try{(De=P.setting)!=null&&De.main_site||(document.querySelector('meta[name="keywords"]').content=(an=P.setting)==null?void 0:an.name,document.querySelector('meta[name="description"]').remove())}catch(Fi){}};var jo=e(37090),Mu=Object.defineProperty,eu=Object.getOwnPropertySymbols,hu=Object.prototype.hasOwnProperty,ro=Object.prototype.propertyIsEnumerable,tu=(P,D,L)=>D in P?Mu(P,D,{enumerable:!0,configurable:!0,writable:!0,value:L}):P[D]=L,Uo=(P,D)=>{for(var L in D||(D={}))hu.call(D,L)&&tu(P,L,D[L]);if(eu)for(var L of eu(D))ro.call(D,L)&&tu(P,L,D[L]);return P},dr={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:P},{call:D,put:L}){return yield D(jo.Xh,P)},*getGraduationsFinalScore({payload:P},{call:D,put:L}){return yield D(jo.H3,P)},*getDelGraduationsTasks({payload:P},{call:D,put:L}){return yield D(jo.km,P)},*getGraduationsTasks({payload:P},{call:D,put:L}){const me=yield D(jo.Xw,P);yield L({type:"save",payload:{Tasks:me}})},*getGraduationsTeachers({payload:P},{call:D,put:L}){var me;const De=yield D(jo.AA,P);return(me=De==null?void 0:De.data)==null||me.map(an=>(an.key=an.id,an)),yield L({type:"save",payload:{teachers:De}}),De},*getGraduationsStudents({payload:P},{call:D,put:L}){var me;const De=yield D(jo.eh,P);(me=De==null?void 0:De.data)==null||me.map(an=>(an.key=an.id,an)),yield L({type:"save",payload:{students:De}})},*getGraduationsNotices({payload:P},{call:D,put:L}){const me=yield D(jo.Rk,P);yield L({type:"save",payload:{Notices:me}})},*getGraduationsInfo({payload:P},{call:D,put:L}){const me=yield D(jo.F7,P);yield L({type:"save",payload:{graduation:me.graduation}})},*setActionTabs({payload:P},{call:D,put:L}){yield L({type:"save",payload:{actionTabs:Uo({},P)}})},*setUpdateIndex({payload:P},{call:D,put:L}){yield L({type:"save",payload:{updateIndex:Math.random()}})},*getGraduationsDetails({payload:P},{call:D,put:L}){const me=yield D(jo.Ou,P);yield L({type:"save",payload:{details:(me==null?void 0:me.graduation)||{},menus:(me==null?void 0:me.data)||[],forTask:(me==null?void 0:me.for_task)||[]}})}},reducers:{save(P,D){return Uo(Uo({},P),D.payload)}}},ur=e(95707),hr=Object.defineProperty,Sr=Object.defineProperties,yn=Object.getOwnPropertyDescriptors,Zn=Object.getOwnPropertySymbols,Rn=Object.prototype.hasOwnProperty,Hn=Object.prototype.propertyIsEnumerable,li=(P,D,L)=>D in P?hr(P,D,{enumerable:!0,configurable:!0,writable:!0,value:L}):P[D]=L,ei=(P,D)=>{for(var L in D||(D={}))Rn.call(D,L)&&li(P,L,D[L]);if(Zn)for(var L of Zn(D))Hn.call(D,L)&&li(P,L,D[L]);return P},cr=(P,D)=>Sr(P,yn(D)),Fr={namespace:"homePage",state:{name:"\u9996\u9875",loading:!0},effects:{*home({payload:P},{call:D,put:L}){const me=yield D(ur.Tt,{payload:P});yield L({type:"save",payload:cr(ei({},me),{isloading:!0})})},*query({payload:P},{call:D,put:L}){yield L({type:"save",payload:{name:"linlu"}})},*getHomeNotice({payload:P,callback:D},{call:L,put:me}){return yield L(ur.LA,P)},*UploadNotice({payload:P,callback:D},{call:L,put:me}){return yield L(ur.S_,P)}},reducers:{save(P,D){return ei(ei({},P),D.payload)}},subscriptions:{setup({dispatch:P,history:D}){return D.listen(({pathname:L})=>{L==="/"&&P({type:"query"})})}}},Sn=Object.defineProperty,Tn=Object.defineProperties,pt=Object.getOwnPropertyDescriptors,jn=Object.getOwnPropertySymbols,Wn=Object.prototype.hasOwnProperty,Ni=Object.prototype.propertyIsEnumerable,ra=(P,D,L)=>D in P?Sn(P,D,{enumerable:!0,configurable:!0,writable:!0,value:L}):P[D]=L,zr=(P,D)=>{for(var L in D||(D={}))Wn.call(D,L)&&ra(P,L,D[L]);if(jn)for(var L of jn(D))Ni.call(D,L)&&ra(P,L,D[L]);return P},pa=(P,D)=>Tn(P,pt(D)),Pa={namespace:"innovation",state:{visibleModalName:"",hideRemindModal:!0,openForkModalPosition:"forkButton",simpleModalProps:{visible:!1}},reducers:{save(P,D){return zr(zr({},P),D.payload)},openModal(P,D){return pa(zr({},P),{visibleModalName:D.payload})},closeModal(P){return pa(zr({},P),{visibleModalName:""})},openSimpleModal(P,D){return pa(zr({},P),{simpleModalProps:zr({visible:!0},D.payload)})},closeSimpleModal(P){return pa(zr({},P),{simpleModalProps:{visible:!1}})}}},ps=e(38147),Vs=Object.defineProperty,$i=Object.getOwnPropertySymbols,no=Object.prototype.hasOwnProperty,so=Object.prototype.propertyIsEnumerable,Fs=(P,D,L)=>D in P?Vs(P,D,{enumerable:!0,configurable:!0,writable:!0,value:L}):P[D]=L,Va=(P,D)=>{for(var L in D||(D={}))no.call(D,L)&&Fs(P,L,D[L]);if($i)for(var L of $i(D))so.call(D,L)&&Fs(P,L,D[L]);return P},Xs=(P,D,L)=>new Promise((me,De)=>{var an=Fi=>{try{hn(L.next(Fi))}catch(cs){De(cs)}},Vn=Fi=>{try{hn(L.throw(Fi))}catch(cs){De(cs)}},hn=Fi=>Fi.done?me(Fi.value):Promise.resolve(Fi.value).then(an,Vn);hn((L=L.apply(P,D)).next())});const po=P=>Xs(void 0,null,function*(){return(0,ps.ZP)("/api/paid_subjects/banner.json",{method:"get",params:Va({},P)})}),Fn=P=>Xs(void 0,null,function*(){return(0,ps.ZP)("/api/paid_subjects/top_category.json",{method:"get",params:Va({},P)})}),$a=P=>Xs(void 0,null,function*(){return(0,ps.ZP)("/api/paid_subjects/hot_recommend_subjects.json",{method:"get",params:Va({},P)})}),rs=P=>Xs(void 0,null,function*(){return(0,ps.ZP)("/api/paid_subjects/time_discount_subjects.json",{method:"get",params:Va({},P)})}),Xe=P=>Xs(void 0,null,function*(){return(0,ps.ZP)("/api/paid_subjects.json",{method:"post",body:Va({},P)})}),Ie=P=>Xs(void 0,null,function*(){return(0,ps.ZP)("/api/paid_subjects/all_tags.json",{method:"get",params:Va({},P)})}),$t=P=>Xs(void 0,null,function*(){return(0,ps.ZP)("/api/paid_subjects/user_comments.json",{method:"get",params:Va({},P)})}),Gt=P=>Xs(void 0,null,function*(){return(0,ps.ZP)("/api/paid_subjects/info_show.json",{method:"get",params:Va({},P)})});var yr=Object.defineProperty,Br=Object.getOwnPropertySymbols,Hr=Object.prototype.hasOwnProperty,xn=Object.prototype.propertyIsEnumerable,ln=(P,D,L)=>D in P?yr(P,D,{enumerable:!0,configurable:!0,writable:!0,value:L}):P[D]=L,En=(P,D)=>{for(var L in D||(D={}))Hr.call(D,L)&&ln(P,L,D[L]);if(Br)for(var L of Br(D))xn.call(D,L)&&ln(P,L,D[L]);return P},ai={namespace:"intraincourse",state:{name:"\u7528\u6237\u767B\u5F55\u6A21\u5757",BannerList:[],Adv:{},TopCategoryList:[],HotList:[],DiscountList:[],SubjectList:{},Tags:[],UserComments:[],InfoShow:{}},effects:{*getBannerList({payload:P},{call:D,put:L}){const{data:{adv:me,top_banner:De}}=yield D(po,P);yield L({type:"save",payload:{BannerList:De,Adv:me}})},*getTopCategoryList({payload:P},{call:D,put:L}){const{data:{top_category_list:me}}=yield D(Fn,P);yield L({type:"save",payload:{TopCategoryList:[{id:-1,name:"\u5168\u90E8"},...me]}})},*getHotList({payload:P},{call:D,put:L}){const{data:{hot_list:me}}=yield D($a,P);yield L({type:"save",payload:{HotList:me}})},*getDiscountList({payload:P},{call:D,put:L}){const{data:{discount_list:me}}=yield D(rs,P);yield L({type:"save",payload:{DiscountList:me}})},*getPaidSubjects({payload:P},{call:D,put:L}){const{data:me}=yield D(Xe,P);yield L({type:"save",payload:{SubjectList:me}})},*getTags({payload:P},{call:D,put:L}){const{data:{list:me}}=yield D(Ie,P);yield L({type:"save",payload:{Tags:me}})},*getUserComments({payload:P},{call:D,put:L}){const{data:{list:me}}=yield D($t,P);yield L({type:"save",payload:{UserComments:me}})},*getInfoShow({payload:P},{call:D,put:L}){const{data:me}=yield D(Gt,P);yield L({type:"save",payload:{InfoShow:me}})}},reducers:{save(P,D){return En(En({},P),D.payload)}}},Li={namespace:"loadingss",state:{global:!1,effects:{},models:{}}},ua=e(5664),Qi=Object.defineProperty,Pi=Object.getOwnPropertySymbols,Da=Object.prototype.hasOwnProperty,Ii=Object.prototype.propertyIsEnumerable,yi=(P,D,L)=>D in P?Qi(P,D,{enumerable:!0,configurable:!0,writable:!0,value:L}):P[D]=L,ga=(P,D)=>{for(var L in D||(D={}))Da.call(D,L)&&yi(P,L,D[L]);if(Pi)for(var L of Pi(D))Ii.call(D,L)&&yi(P,L,D[L]);return P},Bs={namespace:"messages",state:{tidingsList:[],privateMessage:[],unreadInfo:[],recentContacts:{},privateMessageDetails:{},userPrivateMessage:{},actionTabs:{key:"",params:{}}},effects:{*getPrivateMessageDetails({payload:P},{call:D,put:L}){const me=yield D(ua.Ub,P);return yield L({type:"save",payload:{privateMessageDetails:me||[]}}),me},*getTidings({payload:P},{call:D,put:L}){const me=yield D(ua.AD,P);yield L({type:"save",payload:{tidingsList:me||[]}})},*getPrivateMessages({payload:P},{call:D,put:L}){const me=yield D(ua.V8,P);return yield L({type:"save",payload:{privateMessage:me||[]}}),me},*getUsersForPrivateMessages({payload:P},{call:D,put:L}){const me=yield D(ua.QJ,P);return yield L({type:"save",payload:{userPrivateMessage:me||[]}}),me},*unreadMessageInfo({payload:P},{call:D,put:L}){const me=yield D(ua.Ig,P);yield L({type:"save",payload:{unreadInfo:me||[]}})},*getRecentContacts({payload:P},{call:D,put:L}){const me=yield D(ua.Ko,P);return yield L({type:"save",payload:{recentContacts:me||[]}}),me},*setActionTabs({payload:P},{call:D,put:L}){yield L({type:"save",payload:{actionTabs:ga({},P)}})}},reducers:{save(P,D){return ga(ga({},P),D.payload)}},subscriptions:{setup({dispatch:P,history:D}){}}},ia=e(29297),Ya=e(65862),ba=e(2337),Mi=Object.defineProperty,Ra=Object.defineProperties,os=Object.getOwnPropertyDescriptors,us=Object.getOwnPropertySymbols,yo=Object.prototype.hasOwnProperty,bs=Object.prototype.propertyIsEnumerable,Po=(P,D,L)=>D in P?Mi(P,D,{enumerable:!0,configurable:!0,writable:!0,value:L}):P[D]=L,_s=(P,D)=>{for(var L in D||(D={}))yo.call(D,L)&&Po(P,L,D[L]);if(us)for(var L of us(D))bs.call(D,L)&&Po(P,L,D[L]);return P},bo=(P,D)=>Ra(P,os(D));const oo=(P,D)=>{var L,me,De,an,Vn,hn,Fi,cs,Ka;if(!P)return;const{exam:Ho,single_questions:ns,multiple_questions:Ao,judgement_questions:js,program_questions:tf,completion_questions:ql,subjective_questions:Fc,practical_questions:rf,combination_questions:Vu,bprogram_questions:Si}=P||{},Sl=[_s({type:"SINGLE",question_type:0,name:((L=D==null?void 0:D.find(vs=>vs.value==ba.fw[0].nameType))==null?void 0:L.name)||ba.fw[0].name},ns),_s({type:"MULTIPLE",question_type:1,name:((me=D==null?void 0:D.find(vs=>vs.value==ba.fw[1].nameType))==null?void 0:me.name)||ba.fw[1].name},Ao),_s({type:"JUDGMENT",question_type:2,name:((De=D==null?void 0:D.find(vs=>vs.value==ba.fw[2].nameType))==null?void 0:De.name)||ba.fw[2].name},js),_s({type:"PROGRAM",question_type:6,name:((an=D==null?void 0:D.find(vs=>vs.value==ba.fw[6].nameType))==null?void 0:an.name)||ba.fw[6].name},tf),_s({type:"COMPLETION",question_type:3,name:((Vn=D==null?void 0:D.find(vs=>vs.value==ba.fw[3].nameType))==null?void 0:Vn.name)||ba.fw[3].name},ql),_s({type:"SUBJECTIVE",question_type:4,name:((hn=D==null?void 0:D.find(vs=>vs.value==ba.fw[4].nameType))==null?void 0:hn.name)||ba.fw[4].name},Fc),_s({type:"PRACTICAL",question_type:5,name:((Fi=D==null?void 0:D.find(vs=>vs.value==ba.fw[5].nameType))==null?void 0:Fi.name)||ba.fw[5].name},rf),_s({type:"COMBINATION",question_type:7,name:((cs=D==null?void 0:D.find(vs=>vs.value==ba.fw[7].nameType))==null?void 0:cs.name)||ba.fw[7].name},Vu),_s({type:"BPROGRAM",question_type:8,name:((Ka=D==null?void 0:D.find(vs=>vs.value==ba.fw[8].nameType))==null?void 0:Ka.name)||ba.fw[8].name},Si)],Bc=[];if(P.sort_by_qustion_type)for(const vs of P.qustion_type_order_name_en)Bc.push(Sl.find(vl=>vl.type===vs));const co=(P.sort_by_qustion_type?Bc:Sl).filter(vs=>(vs==null?void 0:vs.questions_count)>0).map((vs,vl)=>{var Jl;return _s(_s({},vs),{number:(0,Ya.EM)(vl+1),questions:(Jl=vs==null?void 0:vs.questions)==null?void 0:Jl.map(gl=>bo(_s({},gl),{shixun:gl.examination_bank_shixun_challenges,question_type:vs.question_type}))})});return{exam:Ho,questionList:co}};var Ta=e(3033),ls=Object.defineProperty,Qs=Object.getOwnPropertySymbols,La=Object.prototype.hasOwnProperty,ge=Object.prototype.propertyIsEnumerable,we=(P,D,L)=>D in P?ls(P,D,{enumerable:!0,configurable:!0,writable:!0,value:L}):P[D]=L,wr=(P,D)=>{for(var L in D||(D={}))La.call(D,L)&&we(P,L,D[L]);if(Qs)for(var L of Qs(D))ge.call(D,L)&&we(P,L,D[L]);return P},xr={namespace:"paperlibrary",state:{paperData:void 0,disciplinesData:void 0,teachGroupData:void 0,courseOptions:[],actionTabs:{key:"",params:{}}},effects:{*postExistCourse({payload:P},{call:D,put:L}){return yield D(ia.a2,P)},*postCheckExaminationBanks({payload:P},{call:D,put:L}){return yield D(ia.q$,P)},*postPaperlibraryCopy({payload:P},{call:D,put:L}){return yield D(ia.ID,P)},*getDisciplines({payload:P},{call:D,put:L}){const me=yield D(ia.d1,P);return yield L({type:"save",payload:{disciplinesData:wr({},me)}}),me},*getCustomDisciplines({payload:P},{call:D,put:L}){const me=yield D(ia.ar,P);return yield L({type:"save",payload:{disciplinesData:wr({},me)}}),me},*getEditDisciplines({payload:P},{call:D,put:L}){const me=yield D(ia.d1,P),De=me==null?void 0:me.disciplines,an=(0,Ta.L)(De);return yield L({type:"save",payload:{courseOptions:an,disciplinesData:wr({},me)}}),me},*getTeachGroupData({payload:P},{call:D,put:L}){const me=yield D(ia.Dm,P);return yield L({type:"save",payload:{teachGroupData:wr({},me)}}),me},*getPaperData({payload:P},{call:D,put:L}){const me=yield D(ia.iT,P),De=yield D(ia.cV,P),an=oo(me,De.data);return yield L({type:"save",payload:{paperData:an}}),me},*getPaperlibraryList({payload:P},{call:D,put:L}){return yield D(ia.Gd,P)},*setPublic({payload:P},{call:D,put:L}){return yield D(ia.DF,P)},*handleDelete({payload:P},{call:D,put:L}){return yield D(ia.fn,P)},*getCourseList({payload:P},{call:D,put:L}){return yield D(ia.tS,P)},*postBatchSendToCourse({payload:P},{call:D,put:L}){return yield D(ia.lc,P)},*sendToClass({payload:P},{call:D,put:L}){return yield D(ia.kp,P)},*adjustPosition({payload:P},{call:D,put:L}){return yield D(ia.qN,P)},*setScore({payload:P},{call:D,put:L}){return yield D(ia.ts,P)},*handleDeleteEditQuestion({payload:P},{call:D,put:L}){return yield D(ia.NC,P)},*batchSetScore({payload:P},{call:D,put:L}){return yield D(ia.YP,P)},*batchDelete({payload:P},{call:D,put:L}){return yield D(ia.Hm,P)},*updatePaper({payload:P},{call:D,put:L}){return yield D(ia.jK,P)},*setActionTabs({payload:P},{call:D,put:L}){yield L({type:"save",payload:{actionTabs:wr({},P)}})}},reducers:{save(P,D){return wr(wr({},P),D.payload)}},subscriptions:{setup({dispatch:P,history:D}){return D.listen(({pathname:L})=>{L==="/"&&P({type:"query"})})}}},Jr=Object.defineProperty,On=Object.getOwnPropertySymbols,oi=Object.prototype.hasOwnProperty,Wi=Object.prototype.propertyIsEnumerable,Un=(P,D,L)=>D in P?Jr(P,D,{enumerable:!0,configurable:!0,writable:!0,value:L}):P[D]=L,Ln=(P,D)=>{for(var L in D||(D={}))oi.call(D,L)&&Un(P,L,D[L]);if(On)for(var L of On(D))Wi.call(D,L)&&Un(P,L,D[L]);return P},aa={namespace:"newExercisePaper",state:{loading:!0,exerciseExportHeadData:{},tagDisciplineData:{},editData:{},actionTabs:{removeEventListenerExitScreen:!1}},effects:{*getExerciseExportHeadData({payload:P,callback:D},{call:L,put:me}){const De=yield L(ia.Dq,P);return yield me({type:"save",payload:{exerciseExportHeadData:Ln({},De)}}),De},*editExercise({payload:P,callback:D},{call:L,put:me}){const De=yield L(ia.Di,P);return yield me({type:"save",payload:{editData:Ln({},De)}}),De},*getTagDiscipline({payload:P,callback:D},{call:L,put:me}){const De=yield L(We.YY,P);return yield me({type:"save",payload:{tagDisciplineData:Ln({},De)}}),De},*editExerciseQuestion({payload:P,callback:D},{call:L,put:me}){return yield L(ia.oF,P)},*addExerciseQuestion({payload:P,callback:D},{call:L,put:me}){return yield L(ia.oF,P)},*setActionTabs({payload:P},{call:D,put:L}){yield L({type:"save",payload:{actionTabs:Ln({},P)}})}},reducers:{save(P,D){return Ln(Ln({},P),D.payload)},modifyTitle(P,D){const L=(0,Ge.cloneDeep)(P);return L.editData.exercise.exercise_name=D.payload,L}},subscriptions:{setup({dispatch:P,history:D}){}}},na=e(49320),zo=Object.defineProperty,uo=Object.getOwnPropertySymbols,Su=Object.prototype.hasOwnProperty,jl=Object.prototype.propertyIsEnumerable,bl=(P,D,L)=>D in P?zo(P,D,{enumerable:!0,configurable:!0,writable:!0,value:L}):P[D]=L,Ju=(P,D)=>{for(var L in D||(D={}))Su.call(D,L)&&bl(P,L,D[L]);if(uo)for(var L of uo(D))jl.call(D,L)&&bl(P,L,D[L]);return P},Uu={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:P},{call:D,put:L}){const me=yield D(na.Ax,P);yield L({type:"save",payload:{discusses:Ju({},me)}})},*getPathsDetail({payload:P},{call:D,put:L}){const me=yield D(na.lk,P);return yield L({type:"save",payload:{detail:Ju({},me)}}),me},*getCourseDetail({payload:P},{call:D,put:L}){const me=yield D(na.Sp,P);return yield L({type:"save",payload:{detail:Ju({},me)}}),me},*getRightData({payload:P},{call:D,put:L}){const me=yield D(na.AQ,P);yield L({type:"save",payload:{rightData:Ju({},me)}})},*getCoureses({payload:P},{call:D,put:L}){const me=yield D(na.ue,P);yield L({type:"save",payload:{Courses:Ju({},me)}})},*getStageChildrenData({payload:P},{call:D,put:L}){const me=yield D(na.w4,P);return yield L({type:"save",payload:{StageChildrenData:me}}),me},*getStageData({payload:P},{call:D,put:L}){var me,De;let an=null;P!=null&&P.show_course_section?an=yield D(na.yN,P):an=yield D(na.p,P),yield L({type:"save",payload:{stageData:((me=an==null?void 0:an.data)==null?void 0:me.stages)||(an==null?void 0:an.stages)||[],isShowSchedule:((De=an==null?void 0:an.data)==null?void 0:De.is_show_schedule)||(an==null?void 0:an.is_show_schedule)||!1}})},*setActionTabs({payload:P},{call:D,put:L}){yield L({type:"save",payload:{actionTabs:Ju({},P)}})}},reducers:{save(P,D){return Ju(Ju({},P),D.payload)}}},Ke=Object.defineProperty,Z=Object.getOwnPropertySymbols,Y=Object.prototype.hasOwnProperty,te=Object.prototype.propertyIsEnumerable,he=(P,D,L)=>D in P?Ke(P,D,{enumerable:!0,configurable:!0,writable:!0,value:L}):P[D]=L,Se=(P,D)=>{for(var L in D||(D={}))Y.call(D,L)&&he(P,L,D[L]);if(Z)for(var L of Z(D))te.call(D,L)&&he(P,L,D[L]);return P},Pt={namespace:"pathsList",state:{name:"",loading:!0,actionTabs:{key:"",params:{}},listParams:{sort:"desc",order:"new",page:1,limit:16,keyword:""}},effects:{*getCourse({payload:P},{call:D,put:L}){const me=P,De=yield D(na.tS,P);return yield L({type:"save",payload:Se({listParams:me},De)}),De},*getMenus({payload:P},{call:D,put:L}){const me=yield D(na.fh,P);yield L({type:"save",payload:{menus:me}})},*setActionTabs({payload:P},{call:D,put:L}){yield L({type:"save",payload:{actionTabs:Se({},P)}})},*clearListParams({payload:P},{call:D,put:L}){yield L({type:"save",payload:{listParams:{sort:"desc",order:"new",page:1,limit:16,keyword:""}}})}},reducers:{save(P,D){return Se(Se({},P),D.payload)}},subscriptions:{setup({dispatch:P,history:D}){return D.listen(({pathname:L})=>{L==="/"&&P({type:"query"})})}}},Ut=Object.defineProperty,ar=Object.getOwnPropertySymbols,Ar=Object.prototype.hasOwnProperty,Kr=Object.prototype.propertyIsEnumerable,cn=(P,D,L)=>D in P?Ut(P,D,{enumerable:!0,configurable:!0,writable:!0,value:L}):P[D]=L,An=(P,D)=>{for(var L in D||(D={}))Ar.call(D,L)&&cn(P,L,D[L]);if(ar)for(var L of ar(D))Kr.call(D,L)&&cn(P,L,D[L]);return P},ti={namespace:"newCourse",state:{actionTabs:{key:"",params:{}}},effects:{*editCourse({payload:P},{call:D,put:L}){return yield D(na.tu,P)},*submitCourse({payload:P},{call:D,put:L}){return yield D(na.pU,P)},*getEditCourseData({payload:P},{call:D,put:L}){return yield D(na.mQ,P)},*getSchoolOption({payload:P},{call:D,put:L}){return yield D(na.GY,P)},*appplySchool({payload:P},{call:D,put:L}){return yield D(na.bz,P)},*setActionTabs({payload:P},{call:D,put:L}){yield L({type:"save",payload:{actionTabs:An({},P)}})}},reducers:{save(P,D){return An(An({},P),D.payload)}},subscriptions:{setup({dispatch:P,history:D}){return D.listen(({pathname:L})=>{L==="/"&&P({type:"query"})})}}},Oi=Object.defineProperty,ji=Object.defineProperties,la=Object.getOwnPropertyDescriptors,wa=Object.getOwnPropertySymbols,Ts=Object.prototype.hasOwnProperty,Ds=Object.prototype.propertyIsEnumerable,Ls=(P,D,L)=>D in P?Oi(P,D,{enumerable:!0,configurable:!0,writable:!0,value:L}):P[D]=L,ms=(P,D)=>{for(var L in D||(D={}))Ts.call(D,L)&&Ls(P,L,D[L]);if(wa)for(var L of wa(D))Ds.call(D,L)&&Ls(P,L,D[L]);return P},Oa=(P,D)=>ji(P,la(D)),xs={namespace:"pathsOverview",state:{},effects:{*getSubjectUseInfos({payload:P},{call:D,put:L}){const me=yield D(na.nq,P);yield L({type:"save",payload:{SubjectUseInfos:me}})},*getRankList({payload:P},{call:D,put:L}){const me=yield D(na.Fg,P);yield L({type:"save",payload:{RankList:Oa(ms({},me),{learn_list:[{rank:"\u6392\u540D",name:"\u5B9E\u8DF5\u8BFE\u7A0B\u540D\u79F0",data:"\u5B66\u4E60\u4EBA\u6570"},...(me==null?void 0:me.learn_list)||[]]})}})},*getStatisticsBody({payload:P},{call:D,put:L}){const me=yield D(na.Gz,P);yield L({type:"save",payload:{SBody:me}})},*getOnlineCount({payload:P},{call:D,put:L}){const me=yield D(na.hS,P);yield L({type:"save",payload:{OnlineCount:me==null?void 0:me.data}})},*getStatisticsHeader({payload:P},{call:D,put:L}){const me=yield D(na.Hl,P);yield L({type:"save",payload:{SHeader:me}})}},reducers:{save(P,D){return ms(ms({},P),D.payload)}},subscriptions:{setup({dispatch:P,history:D}){return D.listen(({pathname:L})=>{L==="/"&&P({type:"query"})})}}},pr=e(11517),Io=Object.defineProperty,Mo=Object.getOwnPropertySymbols,gu=Object.prototype.hasOwnProperty,Ns=Object.prototype.propertyIsEnumerable,Vo=(P,D,L)=>D in P?Io(P,D,{enumerable:!0,configurable:!0,writable:!0,value:L}):P[D]=L,_o=(P,D)=>{for(var L in D||(D={}))gu.call(D,L)&&Vo(P,L,D[L]);if(Mo)for(var L of Mo(D))Ns.call(D,L)&&Vo(P,L,D[L]);return P},xl={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:P},{call:D,put:L}){const me=yield D(pr.ex,P);return yield L({type:"save",payload:{groupfolderList:me}}),me},*getDisciplines({payload:P},{call:D,put:L}){const me=yield D(pr.d1,P);return yield L({type:"save",payload:{disciplinesData:_o({},me)}}),me},*getEditDisciplines({payload:P},{call:D,put:L}){const me=yield D(pr.d1,P),De=me==null?void 0:me.disciplines,an=(0,Ta.L)(De);return yield L({type:"save",payload:{courseOptions:an,disciplinesData:_o({},me)}}),me},*getBasketList({payload:P},{call:D,put:L}){const me=yield D(pr.Qj,P);return yield L({type:"save",payload:{basketData:_o({},me)}}),me},*getTeachGroupData({payload:P},{call:D,put:L}){const me=yield D(pr.Dm,P);return yield L({type:"save",payload:{teachGroupData:_o({},me)}}),me},*getEditData({payload:P},{call:D,put:L}){const me=yield D(pr.FG,P);return yield L({type:"save",payload:{editData:_o({},me)}}),me},*getEditDataBprogram({payload:P},{call:D,put:L}){const me=yield D(pr.Bo,P);return yield L({type:"save",payload:{editData:_o({},me)}}),me},*getGroupData({payload:P},{call:D,put:L}){const me=yield D(pr.hI,P);return yield L({type:"save",payload:{groupData:_o({},me)}}),me},*getItemBanks({payload:P},{call:D,put:L}){const me=yield D(pr.Of,P);return yield L({type:"save",payload:{itemBanks:_o({},me)}}),me},*setPrivate({payload:P},{call:D,put:L}){return yield D(pr.Pl,P)},*revokePublish({payload:P},{call:D,put:L}){return yield D(pr.IJ,P)},*setPublic({payload:P},{call:D,put:L}){return yield D(pr.DF,P)},*handleDelete({payload:P},{call:D,put:L}){return yield D(pr.fn,P)},*startExperience({payload:P},{call:D,put:L}){return yield D(pr.Bd,P)},*cancel({payload:P},{call:D,put:L}){return yield D(pr.al,P)},*select({payload:P},{call:D,put:L}){return yield D(pr.Ys,P)},*examUnselectAll({payload:P},{call:D,put:L}){return yield D(pr.rV,P)},*basketDelete({payload:P},{call:D,put:L}){return yield D(pr.x5,P)},*unselectAll({payload:P},{call:D,put:L}){return yield D(pr.HF,P)},*addKnowledge({payload:P},{call:D,put:L}){return yield D(pr.U6,P)},*editProblemset({payload:P},{call:D,put:L}){return yield D(pr.Wk,P)},*addProblemset({payload:P},{call:D,put:L}){return yield D(pr.Mr,P)},*setActionTabs({payload:P},{call:D,put:L}){yield L({type:"save",payload:{actionTabs:_o({},P)}})}},reducers:{save(P,D){return _o(_o({},P),D.payload)}},subscriptions:{setup({dispatch:P,history:D}){return D.listen(({pathname:L})=>{L==="/"&&P({type:"query"})})}}},El=Object.defineProperty,el=Object.getOwnPropertySymbols,$s=Object.prototype.hasOwnProperty,zu=Object.prototype.propertyIsEnumerable,Zu=(P,D,L)=>D in P?El(P,D,{enumerable:!0,configurable:!0,writable:!0,value:L}):P[D]=L,Do=(P,D)=>{for(var L in D||(D={}))$s.call(D,L)&&Zu(P,L,D[L]);if(el)for(var L of el(D))zu.call(D,L)&&Zu(P,L,D[L]);return P},Ul={namespace:"problemsetPreview",state:{disciplinesData:void 0,courseOptions:[],paperData:void 0,actionTabs:{key:"",params:{}}},effects:{*getPaperData({payload:P},{call:D,put:L}){const me=yield D(pr.iT,P),De=(0,Ta.r)(me);return yield L({type:"save",payload:{paperData:De}}),me},*getEditDisciplines({payload:P},{call:D,put:L}){const me=yield D(pr.d1,P),De=me==null?void 0:me.disciplines,an=(0,Ta.L)(De);return yield L({type:"save",payload:{courseOptions:an,disciplinesData:Do({},me)}}),me},*setScore({payload:P},{call:D,put:L}){return yield D(pr.ts,P)},*handleDelete({payload:P},{call:D,put:L}){return yield D(pr.Cn,P)},*batchSetScore({payload:P},{call:D,put:L}){return yield D(pr.YP,P)},*batchDelete({payload:P},{call:D,put:L}){return yield D(pr.Hm,P)},*adjustPosition({payload:P},{call:D,put:L}){return yield D(pr.qN,P)},*newPreviewProblemset({payload:P},{call:D,put:L}){return yield D(pr.et,P)},*setActionTabs({payload:P},{call:D,put:L}){yield L({type:"save",payload:{actionTabs:Do({},P)}})}},reducers:{save(P,D){return Do(Do({},P),D.payload)}},subscriptions:{setup({dispatch:P,history:D}){return D.listen(({pathname:L})=>{L==="/"&&P({type:"query"})})}}},pu=e(37822),zl=Object.defineProperty,xo=Object.getOwnPropertySymbols,ru=Object.prototype.hasOwnProperty,cl=Object.prototype.propertyIsEnumerable,Zl=(P,D,L)=>D in P?zl(P,D,{enumerable:!0,configurable:!0,writable:!0,value:L}):P[D]=L,Xo=(P,D)=>{for(var L in D||(D={}))ru.call(D,L)&&Zl(P,L,D[L]);if(xo)for(var L of xo(D))cl.call(D,L)&&Zl(P,L,D[L]);return P},Wl={namespace:"restful",state:{restful:void 0,restfulDetail:{},actionTabs:{key:"",params:{}}},effects:{*getRestful({payload:P},{call:D,put:L}){const me=yield D(pu.Go,P);return yield L({type:"save",payload:{restful:Xo({},me)}}),me},*getRestfulDetail({payload:P},{call:D,put:L}){const me=yield D(pu.H5,P);return yield L({type:"save",payload:{restfulDetail:Xo({},(me==null?void 0:me.data)||{})}}),(me==null?void 0:me.data)||{}},*setActionTabs({payload:P},{call:D,put:L}){yield L({type:"save",payload:{actionTabs:Xo({},P)}})}},reducers:{save(P,D){return Xo(Xo({},P),D.payload)}},subscriptions:{setup({dispatch:P,history:D}){return D.listen(({pathname:L})=>{L==="/"&&P({type:"query"})})}}},fi=e(60979);const oc=(P={})=>{var D,L,me,De,an,Vn;return[{name:"\u5185\u5BB9\u5BA1\u6838\u60C5\u51B5",id:"Content",status:(D=P==null?void 0:P.content_info)==null?void 0:D.status,username:(L=P==null?void 0:P.content_info)==null?void 0:L.username,time:(me=P==null?void 0:P.content_info)==null?void 0:me.time},{name:"\u6027\u80FD\u5BA1\u6838\u60C5\u51B5",id:"Performance",status:(De=P==null?void 0:P.perference_info)==null?void 0:De.status,username:(an=P==null?void 0:P.perference_info)==null?void 0:an.username,time:(Vn=P==null?void 0:P.perference_info)==null?void 0:Vn.time}]};var ao=Object.defineProperty,Wc=Object.defineProperties,Fu=Object.getOwnPropertyDescriptors,fl=Object.getOwnPropertySymbols,tl=Object.prototype.hasOwnProperty,Sc=Object.prototype.propertyIsEnumerable,Gc=(P,D,L)=>D in P?ao(P,D,{enumerable:!0,configurable:!0,writable:!0,value:L}):P[D]=L,Eo=(P,D)=>{for(var L in D||(D={}))tl.call(D,L)&&Gc(P,L,D[L]);if(fl)for(var L of fl(D))Sc.call(D,L)&&Gc(P,L,D[L]);return P},Kc=(P,D)=>Wc(P,Fu(D)),uc={namespace:"shixunsDetail",state:{detail:void 0,rightData:void 0,challenges:{is_jupyter:!0,is_jupyter_lab:!0},auditSituationData:void 0,setting:void 0,challengesNew:{},challengesEdit:{},editChallengesQuestion:{},fileContent:{},hasStartedEnv:!1,repository:{},mirrorApplies:{},infoWithJupyterLab:{},actionTabs:{key:"",params:{}}},effects:{*getShixunsDetail({payload:P},{call:D,put:L}){const me=yield D(fi.Po,P);return yield L({type:"save",payload:{detail:Eo({},me)}}),me},*getMirrorApplies({payload:P},{call:D,put:L}){const me=yield D(fi.tX,P);return yield L({type:"save",payload:{mirrorApplies:Eo({},(me==null?void 0:me.data)||{})}}),me},*getRightData({payload:P},{call:D,put:L}){const me=yield D(fi.AQ,P);yield L({type:"save",payload:{rightData:Eo({},me)}})},*getChallengesData({payload:P},{call:D,put:L}){const me=yield D(fi.n5,P);yield L({type:"save",payload:{challenges:Eo({},me)}})},*saveCopyForExercise({payload:P},{call:D,put:L}){return yield D(fi.FB,P)},*execJupyter({payload:P},{call:D,put:L}){return yield D(fi.BK,P)},*execShixun({payload:P},{call:D,put:L}){const me=yield D(fi.Ir,P);return(me==null?void 0:me.status)===-3&&(0,Ya.eF)(),me},*openChallenge({payload:P},{call:D,put:L}){return yield D(fi.dK,P)},*challengeMoveUp({payload:P},{call:D,put:L}){return yield D(fi.zD,P)},*challengeMoveDown({payload:P},{call:D,put:L}){return yield D(fi.hn,P)},*cancelCollect({payload:P},{call:D,put:L}){return yield D(fi.rs,P)},*collect({payload:P},{call:D,put:L}){return yield D(fi.KM,P)},*searchUserCourses({payload:P},{call:D,put:L}){return yield D(fi._7,P)},*sendToCourse({payload:P},{call:D,put:L}){return yield D(fi.Q,P)},*cancelRelease({payload:P},{call:D,put:L}){return yield D(fi.Ne,P)},*cancelPublic({payload:P},{call:D,put:L}){return yield D(fi.Er,P)},*applyPublic({payload:P},{call:D,put:L}){return yield D(fi.WO,P)},*release({payload:P},{call:D,put:L}){return yield D(fi.Ar,P)},*updateAuditSituation({payload:P},{call:D,put:L}){return yield D(fi.LP,P)},*getCollaboratorsData({payload:P},{call:D,put:L}){return yield D(fi.j8,P)},*addCollaborator({payload:P},{call:D,put:L}){return yield D(fi.OV,P)},*addTeachGroupMember({payload:P},{call:D,put:L}){return yield D(fi.l3,P)},*getChangeManager({payload:P},{call:D,put:L}){return yield D(fi.P2,P)},*changeManager({payload:P},{call:D,put:L}){return yield D(fi.X$,P)},*deleteCollaborators({payload:P},{call:D,put:L}){return yield D(fi.xk,P)},*getRankingList({payload:P},{call:D,put:L}){return yield D(fi.E4,P)},*getMirrorScript({payload:P},{call:D,put:L}){return yield D(fi.Z2,P)},*getScriptContent({payload:P},{call:D,put:L}){return yield D(fi.Bj,P)},*getCustomScript({payload:P},{call:D,put:L}){return yield D(fi.Wi,P)},*updateSettingBasicInfo({payload:P},{call:D,put:L}){return yield D(fi.ZO,P)},*getShixunQuote({payload:P},{call:D,put:L}){return yield D(fi.Gr,P)},*deleteShixun({payload:P},{call:D,put:L}){return yield D(fi.Ps,P)},*permanentClose({payload:P},{call:D,put:L}){return yield D(fi.U9,P)},*getDepartments({payload:P},{call:D,put:L}){return yield D(fi.Ql,P)},*updatePermissionSetting({payload:P},{call:D,put:L}){return yield D(fi.aH,P)},*updateLearnSetting({payload:P},{call:D,put:L}){return yield D(fi.yE,P)},*updateSetting({payload:P},{call:D,put:L}){return yield D(fi.m7,P)},*getSetData({payload:P},{call:D,put:L}){return yield D(fi.U0,P)},*deleteDataSet({payload:P},{call:D,put:L}){return yield D(fi.uo,P)},*deleteGitFile({payload:P},{call:D,put:L}){return yield D(fi.sr,P)},*deleteGitFiles({payload:P},{call:D,put:L}){return yield D(fi.p0,P)},*moveGitFile({payload:P},{call:D,put:L}){return yield D(fi.IT,P)},*moveGitFiles({payload:P},{call:D,put:L}){return yield D(fi.t2,P)},*getRepository({payload:P},{call:D,put:L}){const me=yield D(fi.Ag,P);return yield L({type:"save",payload:{repository:Eo({},me)}}),Eo({},me)},*getRepositorys({payload:P},{call:D,put:L}){const me=yield D(fi.Wl,P);return yield L({type:"save",payload:{repository:Eo({},me)}}),Eo({},me)},*getRepositorys({payload:P},{call:D,put:L}){const me=yield D(fi.Wl,P);return yield L({type:"save",payload:{repository:Eo({},me)}}),Eo({},me)},*getSecretRepository({payload:P},{call:D,put:L}){const me=yield D(fi.w,P);return yield L({type:"save",payload:{secretRepository:Eo({},me)}}),me},*addRepositoryFile({payload:P},{call:D,put:L}){return yield D(fi.v3,P)},*addRepositoryFiles({payload:P},{call:D,put:L}){return yield D(fi.fL,P)},*getRepositoryCommit({payload:P},{call:D,put:L}){return yield D(fi.Je,P)},*getFileContent({payload:P},{call:D,put:L}){const me=yield D(fi.LK,P);return yield L({type:"save",payload:{fileContent:Kc(Eo({},me),{params:P})}}),me},*getFileContents({payload:P},{call:D,put:L}){const me=yield D(fi.nu,P);return yield L({type:"save",payload:{fileContent:Kc(Eo({},me),{params:P})}}),me},*updateRepositoryFile({payload:P},{call:D,put:L}){return yield D(fi.kF,P)},*updateRepositoryFiles({payload:P},{call:D,put:L}){return yield D(fi.jq,P)},*uploadGitFolder({payload:P},{call:D,put:L}){return yield D(fi.Op,P)},*updateCollaboratorEditable({payload:P},{call:D,put:L}){return yield D(fi.Dz,P)},*getSettingsData({payload:P},{call:D,put:L}){const me=yield D(fi.DC,P);yield L({type:"save",payload:{setting:Eo({},me)}})},*getChallengesNew({payload:P},{call:D,put:L}){const me=yield D(fi.km,P);yield L({type:"save",payload:{challengesNew:Eo({},me)}})},*getChallengesEdit({payload:P},{call:D,put:L}){const me=yield D(fi.q0,P);return yield L({type:"save",payload:{challengesEdit:Eo({},me)}}),me},*getAuditSituationData({payload:P},{call:D,put:L}){const me=yield D(fi.GI,P),De=oc(me);yield L({type:"save",payload:{auditSituationData:De}})},*getEditChallengesQuestion({payload:P},{call:D,put:L}){const me=yield D(fi.UQ,P);return yield L({type:"save",payload:{editChallengesQuestion:me}}),me},*getInfoWithJupyterLab({payload:P},{call:D,put:L}){const me=yield D(fi.mI,P);return yield L({type:"save",payload:{infoWithJupyterLab:me}}),me},*setActionTabs({payload:P},{call:D,put:L}){yield L({type:"save",payload:{actionTabs:Eo({},P)}})}},reducers:{save(P,D){return console.log("reducers:",P,D),Eo(Eo({},P),D.payload)}},subscriptions:{setup({dispatch:P,history:D}){return D.listen(({pathname:L})=>{L==="/"&&P({type:"query"})})}}},Il=Object.defineProperty,Vc=Object.getOwnPropertySymbols,Dl=Object.prototype.hasOwnProperty,Au=Object.prototype.propertyIsEnumerable,Kl=(P,D,L)=>D in P?Il(P,D,{enumerable:!0,configurable:!0,writable:!0,value:L}):P[D]=L,lo=(P,D)=>{for(var L in D||(D={}))Dl.call(D,L)&&Kl(P,L,D[L]);if(Vc)for(var L of Vc(D))Au.call(D,L)&&Kl(P,L,D[L]);return P},lu={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:P},{call:D,put:L}){const me=yield D(fi.he,P),De=lo({},P);return yield L({type:"save",payload:lo({listParams:De},me)}),me},*getMenus({payload:P},{call:D,put:L}){var me;const De=yield D(fi.I_,P);(me=De==null?void 0:De.disciplines)==null||me.map(an=>(an.sub_repertoires=an.sub_disciplines,an)),yield L({type:"save",payload:{menus:[...(De==null?void 0:De.disciplines)||[]]}})},*clearListParams({payload:P},{call:D,put:L}){yield L({type:"save",payload:{listParams:{sort:"desc",order_by:"new",page:1,limit:16,keyword:"",status:0,diff:0,hideme:!1}}})}},reducers:{save(P,D){return lo(lo({},P),D.payload)}},subscriptions:{setup({dispatch:P,history:D}){return D.listen(({pathname:L})=>{L==="/"&&P({type:"query"})})}}},Vl=Object.defineProperty,wl=Object.getOwnPropertySymbols,Bu=Object.prototype.hasOwnProperty,cu=Object.prototype.propertyIsEnumerable,pf=(P,D,L)=>D in P?Vl(P,D,{enumerable:!0,configurable:!0,writable:!0,value:L}):P[D]=L,Tu=(P,D)=>{for(var L in D||(D={}))Bu.call(D,L)&&pf(P,L,D[L]);if(wl)for(var L of wl(D))cu.call(D,L)&&pf(P,L,D[L]);return P},Hu={namespace:"newShixuns",state:{newData:{},actionTabs:{key:"",params:{}},environmentData:{}},effects:{*getNewShixunsData({payload:P},{call:D,put:L}){const me=yield D(fi.b8,P);return yield L({type:"save",payload:{newData:Tu({},me)}}),me},*deleteAttachment({payload:P},{call:D,put:L}){return yield D(fi.OW,P)},*applyShixunMirror({payload:P},{call:D,put:L}){return yield D(fi.EH,P)},*submitShixuns({payload:P},{call:D,put:L}){return yield D(fi.eX,P)},*getShixunsJupyterLab({payload:P},{call:D,put:L}){const me=yield D(fi.Gu,P);return yield L({type:"save",payload:{newData:Tu({},me)}}),me},*setActionTabs({payload:P},{call:D,put:L}){yield L({type:"save",payload:{actionTabs:Tu({},P)}})},*getEnvironmentData({payload:P},{call:D,put:L}){const me=yield D(fi.K,P);return console.log(me,"response"),yield L({type:"save",payload:{environmentData:Tu({},me.data)}}),me}},reducers:{save(P,D){return Tu(Tu({},P),D.payload)}},subscriptions:{setup({dispatch:P,history:D}){}}},Ac=Object.defineProperty,Ol=Object.getOwnPropertySymbols,Ia=Object.prototype.hasOwnProperty,_f=Object.prototype.propertyIsEnumerable,Yc=(P,D,L)=>D in P?Ac(P,D,{enumerable:!0,configurable:!0,writable:!0,value:L}):P[D]=L,dl=(P,D)=>{for(var L in D||(D={}))Ia.call(D,L)&&Yc(P,L,D[L]);if(Ol)for(var L of Ol(D))_f.call(D,L)&&Yc(P,L,D[L]);return P},Of={namespace:"shixunsOverview",state:{},effects:{*getShixunUseInfos({payload:P},{call:D,put:L}){const me=yield D(fi.e,P);yield L({type:"save",payload:{ShixunUseInfos:me}})},*getRankList({payload:P},{call:D,put:L}){const me=yield D(fi.Fg,P);yield L({type:"save",payload:{RankList:{user_list:[{rank:"\u6392\u540D",name:"\u59D3\u540D",role:"\u89D2\u8272",student_id:"\u5B66\u53F7/\u5DE5\u53F7",num:"\u901A\u8FC7\u5173\u5361\u6570"},...(me==null?void 0:me.user_list)||[]],learn_list:[{rank:"\u6392\u540D",name:"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0",num:"\u5B66\u4E60\u4EBA\u6570"},...(me==null?void 0:me.learn_list)||[]],clearance_list:[{rank:"\u6392\u540D",name:"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0",num:"\u901A\u5173\u6570"},...(me==null?void 0:me.clearance_list)||[]],quote_list:[{rank:"\u6392\u540D",name:"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0",num:"\u5F15\u7528\u6B21\u6570"},...(me==null?void 0:me.quote_list)||[]]}}})},*getStatisticsBody({payload:P},{call:D,put:L}){const me=yield D(fi.Gz,P);yield L({type:"save",payload:{SBody:me}})},*getOnlineCount({payload:P},{call:D,put:L}){const me=yield D(fi.hS,P);yield L({type:"save",payload:{OnlineCount:me==null?void 0:me.data}})},*getStatisticsHeader({payload:P},{call:D,put:L}){const me=yield D(fi.Hl,P);yield L({type:"save",payload:{SHeader:me}})}},reducers:{save(P,D){return dl(dl({},P),D.payload)}},subscriptions:{setup({dispatch:P,history:D}){return D.listen(({pathname:L})=>{L==="/"&&P({type:"query"})})}}},Tc=(P,D,L)=>new Promise((me,De)=>{var an=Fi=>{try{hn(L.next(Fi))}catch(cs){De(cs)}},Vn=Fi=>{try{hn(L.throw(Fi))}catch(cs){De(cs)}},hn=Fi=>Fi.done?me(Fi.value):Promise.resolve(Fi.value).then(an,Vn);hn((L=L.apply(P,D)).next())});function Cu(P){return Tc(this,null,function*(){return(0,ps.ZP)("/api/shixuns/new.json",{method:"Get",params:P})})}function mf(P){return Tc(this,null,function*(){return(0,ps.ZP)(`/api/shixuns/${P.id}/required_status.json`,{method:"Get",params:{}})})}var Cc=Object.defineProperty,Yl=Object.defineProperties,vf=Object.getOwnPropertyDescriptors,Pc=Object.getOwnPropertySymbols,Pu=Object.prototype.hasOwnProperty,hl=Object.prototype.propertyIsEnumerable,Ic=(P,D,L)=>D in P?Cc(P,D,{enumerable:!0,configurable:!0,writable:!0,value:L}):P[D]=L,pl=(P,D)=>{for(var L in D||(D={}))Pu.call(D,L)&&Ic(P,L,D[L]);if(Pc)for(var L of Pc(D))hl.call(D,L)&&Ic(P,L,D[L]);return P},Qc=(P,D)=>Yl(P,vf(D)),lc={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:P},{call:D,put:L}){yield L({type:"save",payload:pl({},P)})},*getTestData({payload:P},{call:D,put:L}){const me=yield D(Cu,P);yield L({type:"save",payload:{data:me}})},*setUpdateIndex({payload:P},{call:D,put:L}){yield L({type:"save",payload:{updateIndex:Math.random()}})},*getCommonData({payload:P},{call:D,put:L}){const me=yield D(mf,P);yield L({type:"save",payload:pl({},me.data)})},*setSideBarTabs({payload:P},{call:D,put:L}){yield L({type:"sideBar",payload:pl({},P)})}},reducers:{save(P,D){return pl(pl({},P),D.payload)},sideBar(P,D){return Qc(pl({},P),{sideBar:pl(pl({},P.sideBar),D.payload)})}},subscriptions:{setup({dispatch:P,history:D}){}}},wo=e(89540),Dc=Object.defineProperty,qc=Object.getOwnPropertySymbols,_l=Object.prototype.hasOwnProperty,Nu=Object.prototype.propertyIsEnumerable,So=(P,D,L)=>D in P?Dc(P,D,{enumerable:!0,configurable:!0,writable:!0,value:L}):P[D]=L,kl=(P,D)=>{for(var L in D||(D={}))_l.call(D,L)&&So(P,L,D[L]);if(qc)for(var L of qc(D))Nu.call(D,L)&&So(P,L,D[L]);return P},Oc={namespace:"userDetail",state:{systemUpdate:void 0,homepageInfo:void 0,homeworkBanksDetail:{},actionTabs:{key:"",params:{}}},effects:{*getHomeworkBanksDetail({payload:P},{call:D,put:L}){const me=yield D(wo.JJ,P);return yield L({type:"save",payload:{homeworkBanksDetail:kl({},me)}}),me},*getSystemUpdate({payload:P},{call:D,put:L}){const me=yield D(wo.n0,P);return yield L({type:"save",payload:{systemUpdate:kl({},me)}}),me},*getHomepageInfo({payload:P},{call:D,put:L}){const me=yield D(wo.DA,P);return yield L({type:"save",payload:{homepageInfo:kl({},me)}}),me},*signed({payload:P},{call:D,put:L}){return yield D(wo.qN,P)},*getCourses({payload:P},{call:D,put:L}){return yield D(wo.Ho,P)},*getShixuns({payload:P},{call:D,put:L}){return yield D(wo.rV,P)},*getPaths({payload:P},{call:D,put:L}){return yield D(wo.w3,P)},*getProjects({payload:P},{call:D,put:L}){return yield D(wo.mW,P)},*getVideos({payload:P},{call:D,put:L}){return yield D(wo.WY,P)},*getReviewVideos({payload:P},{call:D,put:L}){return yield D(wo.Qx,P)},*deleteVideo({payload:P},{call:D,put:L}){return yield D(wo.FM,P)},*getQuestionBanks({payload:P},{call:D,put:L}){return yield D(wo.ai,P)},*topicsSetPublic({payload:P},{call:D,put:L}){return yield D(wo.Cx,P)},*topicsDelete({payload:P},{call:D,put:L}){return yield D(wo.WS,P)},*topicGetCourseList({payload:P},{call:D,put:L}){return yield D(wo.gI,P)},*topicSendToClass({payload:P},{call:D,put:L}){return P.object_type==="videos"?yield D(wo.Fn,P):yield D(wo.Ef,P)},*logWatchHistory({payload:P},{call:D,put:L}){const me=yield D(wo.lO,P);return me==null?void 0:me.log_id},*setActionTabs({payload:P},{call:D,put:L}){yield L({type:"save",payload:{actionTabs:kl({},P)}})}},reducers:{save(P,D){return kl(kl({},P),D.payload)}},subscriptions:{setup({dispatch:P,history:D}){return D.listen(({pathname:L})=>{L==="/"&&P({type:"query"})})}}},Wu=Object.defineProperty,Gs=Object.getOwnPropertySymbols,mo=Object.prototype.hasOwnProperty,Iu=Object.prototype.propertyIsEnumerable,Ue=(P,D,L)=>D in P?Wu(P,D,{enumerable:!0,configurable:!0,writable:!0,value:L}):P[D]=L,Gu=(P,D)=>{for(var L in D||(D={}))mo.call(D,L)&&Ue(P,L,D[L]);if(Gs)for(var L of Gs(D))Iu.call(D,L)&&Ue(P,L,D[L]);return P},yu=(P,D)=>{var L={};for(var me in P)mo.call(P,me)&&D.indexOf(me)<0&&(L[me]=P[me]);if(P!=null&&Gs)for(var me of Gs(P))D.indexOf(me)<0&&Iu.call(P,me)&&(L[me]=P[me]);return L},fu={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:P},{call:D,put:L}){const me=P,{to:De}=me,an=yu(me,["to"]);if(!(yield D(wo.Es,an)).status)try{De?f.history.replace(De):location.reload()}catch(hn){}},*showPopLogin({payload:P},{put:D}){yield D({type:"save",payload:{showPopLogin:P.showPopLogin,showClosable:P.showClosable}})},*setBindAccountModal({payload:P},{put:D}){yield D({type:"save",payload:{bindAccountModalVisible:P.bindAccountModalVisible,userInfoForBindAccountModal:P.userInfoForBindAccountModal,loginInfo:P.loginInfo}})},*getUserInfo({payload:P},{call:D,put:L}){const me=yield D(wo.bG,Gu({},P));return localStorage.userInfo=JSON.stringify(me),yield L({type:"save",payload:{userInfo:Gu({},me)}}),me},*getNavigationInfo({payload:P},{call:D,put:L}){const me=yield D(wo.x4,Gu({},P));yield L({type:"save",payload:{navigationInfo:Gu({},me)}})},*setActionTabs({payload:P},{call:D,put:L}){yield L({type:"save",payload:{actionTabs:Gu({},P)}})}},reducers:{save(P,D){return Gu(Gu({},P),D.payload)}}},Ku=e(24514),fc=Object.defineProperty,dc=Object.defineProperties,rl=Object.getOwnPropertyDescriptors,nl=Object.getOwnPropertySymbols,Du=Object.prototype.hasOwnProperty,yf=Object.prototype.propertyIsEnumerable,hc=(P,D,L)=>D in P?fc(P,D,{enumerable:!0,configurable:!0,writable:!0,value:L}):P[D]=L,bu=(P,D)=>{for(var L in D||(D={}))Du.call(D,L)&&hc(P,L,D[L]);if(nl)for(var L of nl(D))yf.call(D,L)&&hc(P,L,D[L]);return P},ml=(P,D)=>dc(P,rl(D));const Ou=()=>{var P,D,L,me,De,an,Vn;let hn=window.location.href.split("/");if(!hn.includes("video"))return;let Fi=(P=hn[hn.length-1])==null?void 0:P.split("?")[0];Fi=Number(Fi);const cs=(L=(D=hn[hn.length-1])==null?void 0:D.split("?")[1])==null?void 0:L.split("=")[1];return((De=(me=hn[hn.length-1])==null?void 0:me.split("?")[1])==null?void 0:De.split("=")[0])==="subject_id"?{videoId:Fi,subject_id:cs}:((Vn=(an=hn[hn.length-1])==null?void 0:an.split("?")[1])==null?void 0:Vn.split("=")[0])==="new_video_id"?{videoId:Fi,new_video_id:cs}:{videoId:Fi,course_id:cs}};var Jc={namespace:"videoDetail",state:{detail:{},actionTabs:{key:"",params:{}},videoTabs:{key:"",params:{}},stages:[],cust_seq:0,queryParams:Ou(),videoList:[],attachmentList:[],selectParams:{checkBoxValue:!1,radioValue:1},active:{}},effects:{*getVideoDetail({payload:P,callback:D},{call:L,put:me}){const De=yield L(kn.O2,P);return D?D(De):yield me({type:"save",payload:{detail:bu({},De)}}),De},*setVideoValue({payload:P},{call:D,put:L}){yield L({type:"save",payload:{detail:bu({},P)}})},*setActionTabs({payload:P},{call:D,put:L}){yield L({type:"save",payload:{actionTabs:bu({},P)}})},*setVideoTabs({payload:P},{call:D,put:L}){yield L({type:"save",payload:{videoTabs:bu({},P)}})},*setSelectValue({payload:P},{call:D,put:L}){yield L({type:"save",payload:{selectParams:bu({},P)}})},*getStageData({payload:P},{call:D,put:L,select:me}){const De=yield D(kn.yN,P),an=yield D(na.lk,{id:P.subject_id}),{queryParams:Vn}=yield me(ns=>ns.videoDetail),{stages:hn=[]}=De,Fi=[];let cs=[],Ka={};const Ho=ns=>{ns.forEach(Ao=>{String(Ao.id)===String(Vn.videoId)&&(Ka=Ao),Ao.item_type==="VideoItem"?Fi.push(Ao):Ao.item_type==="Attachment"&&cs.push(Ao),Ao.children&&Ao.children.length&&Ho(Ao.children)})};hn==null||hn.forEach(ns=>{Ho(ns.items)}),window.filterVideoSign=[...Fi],yield L({type:"save",payload:{stages:hn,active:Ka,cust_seq:an.cust_seq,videoList:Fi,attachmentList:cs}})},*getVideoData({payload:P},{call:D,put:L,select:me}){const De=yield D(kn.fn,P),{categories:an=[],coruse_videos:Vn=[]}=De;yield L({type:"save",payload:{stages:(an==null?void 0:an.length)>0?an:[{coruse_videos:Vn,name:"\u672A\u5206\u914D\u76EE\u5F55"}]}})},*getCourseStageData({payload:P},{call:D,put:L,select:me}){const De=yield D(Ku.R7,P),{queryParams:an}=yield me(Ho=>Ho.videoDetail),{stages:Vn}=De;let hn=[],Fi=[],cs={};const Ka=Ho=>{Ho.forEach(ns=>{String(ns.id)===String(an.videoId)&&(cs=ns),ns.item_type==="VideoItem"?hn.push(ns):ns.item_type==="Attachment"&&Fi.push(ns),ns.children&&ns.children.length&&Ka(ns.children)})};Vn==null||Vn.forEach(Ho=>{Ka(Ho.items)}),window.filterVideoSign=[...hn],yield L({type:"save",payload:{active:cs,stages:Vn,cust_seq:!0,videoList:hn,attachmentList:Fi}})}},reducers:{save(P,D){return bu(bu({},P),D.payload)},handleListItemClick(P,D){const{videoList:L,attachmentList:me}=P,De=D.payload.videoId||D.payload.attachmentId,an=[...L,...me].find(Vn=>`${Vn.id}`==`${De}`);return ml(bu({},P),{active:an,queryParams:bu(bu({},Ou()),D.payload)})}},subscriptions:{setup({dispatch:P,history:D}){return D.listen(({pathname:L})=>{L==="/"&&P({type:"query"})})}}},Zo=e(35965),Rl=Object.defineProperty,kc=Object.getOwnPropertySymbols,pc=Object.prototype.hasOwnProperty,_c=Object.prototype.propertyIsEnumerable,mc=(P,D,L)=>D in P?Rl(P,D,{enumerable:!0,configurable:!0,writable:!0,value:L}):P[D]=L,vc=(P,D)=>{for(var L in D||(D={}))pc.call(D,L)&&mc(P,L,D[L]);if(kc)for(var L of kc(D))_c.call(D,L)&&mc(P,L,D[L]);return P},Rc={namespace:"virtualSpaces",state:{showMenu:!0,loading:!0,actionTabs:{key:"",params:{},module_id:""},virtualSpacesDetails:{},menus:[],LessonsList:{},LessonDetail:{},LessonResList:{},DiscussionList:{},DiscussionDetail:{},Workplace:{BaseData:{}}},effects:{*getBaseStatisticData({payload:P},{call:D,put:L}){const me=yield D(Zo.y2,P);return yield L({type:"save",payload:{Workplace:{BaseData:me.data}}}),me},*putEditDiscussion({payload:P},{call:D,put:L}){return yield D(Zo.CH,P)},*getDiscussionDetail({payload:P},{call:D,put:L}){const me=yield D(Zo.XQ,P);return yield L({type:"save",payload:{DiscussionDetail:me}}),me},*postDiscussionList({payload:P},{call:D,put:L}){return yield D(Zo.Ll,P)},*getDiscussionList({payload:P},{call:D,put:L}){const me=yield D(Zo.EA,P);return yield L({type:"save",payload:{DiscussionList:me}}),me},*postAddLessonRes({payload:P},{call:D,put:L}){return yield D(Zo.cZ,P)},*getLessonResourcesList({payload:P},{call:D,put:L}){const me=yield D(Zo.b,P);return yield L({type:"save",payload:{LessonResList:me}}),me},*putGoodLessonsDetail({payload:P},{call:D,put:L}){return yield D(Zo.To,P)},*getGoodLessonsDetail({payload:P},{call:D,put:L}){const me=yield D(Zo.FU,P);return yield L({type:"save",payload:{LessonDetail:me}}),me},*postGoodLessonsList({payload:P},{call:D,put:L}){return yield D(Zo.Vf,P)},*getGoodLessonsList({payload:P},{call:D,put:L}){const me=yield D(Zo.G_,P);return yield L({type:"save",payload:{LessonsList:me}}),me},*setActionTabs({payload:P},{call:D,put:L}){yield L({type:"save",payload:{actionTabs:vc({},P)}})},*setShowMenu({payload:P},{call:D,put:L}){yield L({type:"save",payload:{showMenu:P}})},*getVirtualSpacesDetails({payload:P},{call:D,put:L}){const me=yield D(Zo.sT,P);yield L({type:"save",payload:{virtualSpacesDetails:vc({},me)}})},*setVirtualSpacesLoading({payload:P},{call:D,put:L}){yield L({type:"save",payload:{loading:P}})},*getVirtualSpacesMenus({payload:P},{call:D,put:L}){const me=yield D(Zo.Sl,P);return yield L({type:"save",payload:{menus:me}}),me}},reducers:{save(P,D){return vc(vc({},P),D.payload)}},subscriptions:{setup({dispatch:P,history:D}){return D.listen(({pathname:L})=>{L==="/"&&P({type:"query"})})}}};const Xl={model_1:{namespace:"account.index",model:b},model_2:{namespace:"classrooms.announcement",model:V},model_3:{namespace:"classrooms.attachment",model:se},model_4:{namespace:"classrooms.boards",model:Pe},model_5:{namespace:"classrooms.exercise",model:je},model_6:{namespace:"classrooms.graduation",model:ke},model_7:{namespace:"classrooms.homeworks",model:Vt},model_8:{namespace:"classrooms.index",model:Te},model_9:{namespace:"classrooms.new",model:yt},model_10:{namespace:"classrooms.overview",model:Nr},model_11:{namespace:"classrooms.polls",model:Nt},model_12:{namespace:"classrooms.teacher",model:Jn},model_13:{namespace:"classrooms.video",model:zi},model_14:{namespace:"competitions.index",model:Ti},model_15:{namespace:"engineering.evaluateDetail",model:et},model_16:{namespace:"engineering.evaluateList",model:Dn.Z},model_17:{namespace:"engineering.index",model:wn},model_18:{namespace:"engineering.navigation",model:Ca},model_19:{namespace:"engineering.normDetail",model:Bi},model_20:{namespace:"engineering.normList",model:Yi},model_21:{namespace:"forums.detail",model:Co},model_22:{namespace:"forums.index",model:Ga},model_23:{namespace:"globalSetting",model:ju},model_24:{namespace:"graduations.index",model:dr},model_25:{namespace:"homePage",model:Fr},model_26:{namespace:"innovation.index",model:Pa},model_27:{namespace:"intraincourse.index",model:ai},model_28:{namespace:"loading",model:Li},model_29:{namespace:"messages.index",model:Bs},model_30:{namespace:"paperlibrary.index",model:xr},model_31:{namespace:"paperlibrary.newPaper",model:aa},model_32:{namespace:"paths.detail",model:Uu},model_33:{namespace:"paths.index",model:Pt},model_34:{namespace:"paths.new",model:ti},model_35:{namespace:"paths.overview",model:xs},model_36:{namespace:"problemset.index",model:xl},model_37:{namespace:"problemset.preview",model:Ul},model_38:{namespace:"resetFul.index",model:Wl},model_39:{namespace:"shixuns.detail",model:uc},model_40:{namespace:"shixuns.index",model:lu},model_41:{namespace:"shixuns.new",model:Hu},model_42:{namespace:"shixuns.overview",model:Of},model_43:{namespace:"shixuns.practiceSetting",model:lc},model_44:{namespace:"user.detail",model:Oc},model_45:{namespace:"user.index",model:fu},model_46:{namespace:"video.detail",model:Jc},model_47:{namespace:"virtualSpaces.index",model:Rc}};var Ql=Object.defineProperty,bf=Object.getOwnPropertySymbols,ef=Object.prototype.hasOwnProperty,il=Object.prototype.propertyIsEnumerable,gc=(P,D,L)=>D in P?Ql(P,D,{enumerable:!0,configurable:!0,writable:!0,value:L}):P[D]=L,yc=(P,D)=>{for(var L in D||(D={}))ef.call(D,L)&&gc(P,L,D[L]);if(bf)for(var L of bf(D))il.call(D,L)&&gc(P,L,D[L]);return P};let Lc;function Mc(P){const{pluginManager:D}=(0,f.useAppData)(),L=(0,c.useRef)(),me=D.applyPlugins({key:"dva",type:f.ApplyPluginsType.modify,initialValue:{}});if(!L.current){L.current=(0,r.Ue)(yc({history:f.history},me.config||{}),{initialReducer:{},setupMiddlewares(De){return[...De]},setupApp(De){De._history=f.history}}),Lc=L.current,L.current.use(l()()),(me.plugins||[]).forEach(De=>{L.current.use(De)});for(const De of Object.keys(Xl))L.current.model(yc({namespace:Xl[De].namespace},Xl[De].model));L.current.start()}return c.createElement(r.zt,{store:L.current._store},P.children)}function xf(){return Lc}},43388:function(d,v,e){"use strict";e.d(v,{PZ:function(){return hi},eU:function(){return a},B:function(){return Hi},Mg:function(){return ht},lw:function(){return _t},Kd:function(){return Ot},H8:function(){return Ti}});var r=e(59301),i=e(94266),l=e.n(i);const c=l()||i;function f(Ze){return Ze.displayName||Ze.name||"Component"}const o=r.createContext(null),{Consumer:h,Provider:u}=o,a=u,x=null;function p(Ze,et){const{intlPropName:be="intl",forwardRef:it=!1,enforceContext:or=!0}=et||{},kr=Ir=>React.createElement(h,null,Pr=>(or&&invariantIntlContext(Pr),React.createElement(Ze,Object.assign({},Ir,{[be]:Pr},{ref:it?Ir.forwardedRef:null}))));return kr.displayName=`injectIntl(${f(Ze)})`,kr.WrappedComponent=Ze,c(it?React.forwardRef((Ir,Pr)=>React.createElement(kr,Object.assign({},Ir,{forwardedRef:Pr}))):kr,Ze)}var y;(function(Ze){Ze[Ze.literal=0]="literal",Ze[Ze.argument=1]="argument",Ze[Ze.number=2]="number",Ze[Ze.date=3]="date",Ze[Ze.time=4]="time",Ze[Ze.select=5]="select",Ze[Ze.plural=6]="plural",Ze[Ze.pound=7]="pound"})(y||(y={}));function _(Ze){return Ze.type===y.literal}function b(Ze){return Ze.type===y.argument}function S(Ze){return Ze.type===y.number}function k(Ze){return Ze.type===y.date}function R(Ze){return Ze.type===y.time}function A(Ze){return Ze.type===y.select}function I(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 V(Ze){return{type:y.literal,value:Ze}}function W(Ze,et){return{type:y.number,value:Ze,style:et}}var H=function(){var Ze=function(et,be){return Ze=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(it,or){it.__proto__=or}||function(it,or){for(var kr in or)or.hasOwnProperty(kr)&&(it[kr]=or[kr])},Ze(et,be)};return function(et,be){Ze(et,be);function it(){this.constructor=et}et.prototype=be===null?Object.create(be):(it.prototype=be.prototype,new it)}}(),ae=function(){return ae=Object.assign||function(Ze){for(var et,be=1,it=arguments.length;be<it;be++){et=arguments[be];for(var or in et)Object.prototype.hasOwnProperty.call(et,or)&&(Ze[or]=et[or])}return Ze},ae.apply(this,arguments)},ne=function(Ze){H(et,Ze);function et(be,it,or,kr){var Ir=Ze.call(this)||this;return Ir.message=be,Ir.expected=it,Ir.found=or,Ir.location=kr,Ir.name="SyntaxError",typeof Error.captureStackTrace=="function"&&Error.captureStackTrace(Ir,et),Ir}return et.buildMessage=function(be,it){function or(gr){return gr.charCodeAt(0).toString(16).toUpperCase()}function kr(gr){return gr.replace(/\\/g,"\\\\").replace(/"/g,'\\"').replace(/\0/g,"\\0").replace(/\t/g,"\\t").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/[\x00-\x0F]/g,function(fn){return"\\x0"+or(fn)}).replace(/[\x10-\x1F\x7F-\x9F]/g,function(fn){return"\\x"+or(fn)})}function Ir(gr){return gr.replace(/\\/g,"\\\\").replace(/\]/g,"\\]").replace(/\^/g,"\\^").replace(/-/g,"\\-").replace(/\0/g,"\\0").replace(/\t/g,"\\t").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/[\x00-\x0F]/g,function(fn){return"\\x0"+or(fn)}).replace(/[\x10-\x1F\x7F-\x9F]/g,function(fn){return"\\x"+or(fn)})}function Pr(gr){switch(gr.type){case"literal":return'"'+kr(gr.text)+'"';case"class":var fn=gr.parts.map(function(un){return Array.isArray(un)?Ir(un[0])+"-"+Ir(un[1]):Ir(un)});return"["+(gr.inverted?"^":"")+fn+"]";case"any":return"any character";case"end":return"end of input";case"other":return gr.description}}function Wr(gr){var fn=gr.map(Pr),un,dn;if(fn.sort(),fn.length>0){for(un=1,dn=1;un<fn.length;un++)fn[un-1]!==fn[un]&&(fn[dn]=fn[un],dn++);fn.length=dn}switch(fn.length){case 1:return fn[0];case 2:return fn[0]+" or "+fn[1];default:return fn.slice(0,-1).join(", ")+", or "+fn[fn.length-1]}}function wn(gr){return gr?'"'+kr(gr)+'"':"end of input"}return"Expected "+Wr(be)+" but "+wn(it)+" found."},et}(Error);function oe(Ze,et){et=et!==void 0?et:{};var be={},it={start:Xe},or=Xe,kr=function(ge){return ge.join("")},Ir=function(ge){return ae({type:y.literal,value:ge},La())},Pr="#",Wr=$i("#",!1),wn=function(){return ae({type:y.pound},La())},gr=Va("argumentElement"),fn="{",un=$i("{",!1),dn="}",gn=$i("}",!1),ka=function(ge){return ae({type:y.argument,value:ge},La())},Ci=Va("numberSkeletonId"),pi=/^['\/{}]/,bn=no(["'","/","{","}"],!1,!1),ui=so(),ta=Va("numberSkeletonTokenOption"),Ca="/",Ks=$i("/",!1),Ha=function(ge){return ge},Zs=Va("numberSkeletonToken"),Js=function(ge,we){return{stem:ge,options:we}},is=function(ge){return ae({type:0,tokens:ge},La())},Hs="::",Aa=$i("::",!1),Ss=function(ge){return ge},ds=function(){return Ta.push("numberArgStyle"),!0},eo=function(ge){return Ta.pop(),ge.replace(/\s*$/,"")},Bi=",",ks=$i(",",!1),Bo="number",Wa=$i("number",!1),Rs=function(ge,we,wr){return ae({type:we==="number"?y.number:we==="date"?y.date:y.time,style:wr&&wr[2],value:ge},La())},ci="'",fo=$i("'",!1),Nn=/^[^']/,Ja=no(["'"],!0,!1),As=/^[^a-zA-Z'{}]/,Ps=no([["a","z"],["A","Z"],"'","{","}"],!0,!1),ca=/^[a-zA-Z]/,es=no([["a","z"],["A","Z"]],!1,!1),Yi=function(ge){return ae({type:1,pattern:ge},La())},Ws=function(){return Ta.push("dateOrTimeArgStyle"),!0},vo="date",Wo=$i("date",!1),Go="time",mu=$i("time",!1),uu="plural",ho=$i("plural",!1),No="selectordinal",Co=$i("selectordinal",!1),qo="offset:",Ko=$i("offset:",!1),vi=function(ge,we,wr,rn){return ae({type:y.plural,pluralType:we==="plural"?"cardinal":"ordinal",value:ge,offset:wr?wr[2]:0,options:rn.reduce(function(xr,Jr){var On=Jr.id,oi=Jr.value,Wi=Jr.location;return On in xr&&Vs('Duplicate option "'+On+'" in plural element: "'+Xi()+'"',Pa()),xr[On]={value:oi,location:Wi},xr},{})},La())},_i="select",ts=$i("select",!1),ss=function(ge,we){return ae({type:y.select,value:ge,options:we.reduce(function(wr,rn){var xr=rn.id,Jr=rn.value,On=rn.location;return xr in wr&&Vs('Duplicate option "'+xr+'" in select element: "'+Xi()+'"',Pa()),wr[xr]={value:Jr,location:On},wr},{})},La())},as="=",Ga=$i("=",!1),hs=function(ge){return Ta.push("select"),!0},Jo=function(ge,we){return Ta.pop(),ae({id:ge,value:we},La())},Is=function(ge){return Ta.push("plural"),!0},ko=function(ge,we){return Ta.pop(),ae({id:ge,value:we},La())},vu=Va("whitespace"),wu=/^[\t-\r \x85\xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/,qu=no([[" ","\r"]," ","\x85","\xA0","\u1680",["\u2000","\u200A"],"\u2028","\u2029","\u202F","\u205F","\u3000"],!1,!1),ll=Va("syntax pattern"),Ro=/^[!-\/:-@[-\^`{-~\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]/,to=no([["!","/"],[":","@"],["[","^"],"`",["{","~"],["\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),$o=Va("optional whitespace"),ju=Va("number"),Lo="-",jo=$i("-",!1),Mu=function(ge,we){return we?ge?-we:we:0},eu=Va("apostrophe"),hu=Va("double apostrophes"),ro="''",tu=$i("''",!1),Uo=function(){return"'"},Jt=function(ge,we){return ge+we.replace("''","'")},dr=function(ge){return ge!=="{"&&!(Qs()&&ge==="#")&&!(ls()&&ge==="}")},ur=`
`,hr=$i(`
`,!1),Sr=function(ge){return ge==="{"||ge==="}"||Qs()&&ge==="#"},yn=Va("argNameOrNumber"),Zn=Va("argNumber"),Rn="0",Hn=$i("0",!1),li=function(){return 0},ei=/^[1-9]/,cr=no([["1","9"]],!1,!1),Mr=/^[0-9]/,Fr=no([["0","9"]],!1,!1),Sn=function(ge){return parseInt(ge.join(""),10)},Tn=Va("argName"),pt=0,jn=0,Wn=[{line:1,column:1}],Ni=0,ra=[],zr=0,pa;if(et.startRule!==void 0){if(!(et.startRule in it))throw new Error(`Can't start parsing from rule "`+et.startRule+'".');or=it[et.startRule]}function Xi(){return Ze.substring(jn,pt)}function Pa(){return po(jn,pt)}function ps(ge,we){throw we=we!==void 0?we:po(jn,pt),rs([Va(ge)],Ze.substring(jn,pt),we)}function Vs(ge,we){throw we=we!==void 0?we:po(jn,pt),$a(ge,we)}function $i(ge,we){return{type:"literal",text:ge,ignoreCase:we}}function no(ge,we,wr){return{type:"class",parts:ge,inverted:we,ignoreCase:wr}}function so(){return{type:"any"}}function Fs(){return{type:"end"}}function Va(ge){return{type:"other",description:ge}}function Xs(ge){var we=Wn[ge],wr;if(we)return we;for(wr=ge-1;!Wn[wr];)wr--;for(we=Wn[wr],we={line:we.line,column:we.column};wr<ge;)Ze.charCodeAt(wr)===10?(we.line++,we.column=1):we.column++,wr++;return Wn[ge]=we,we}function po(ge,we){var wr=Xs(ge),rn=Xs(we);return{start:{offset:ge,line:wr.line,column:wr.column},end:{offset:we,line:rn.line,column:rn.column}}}function Fn(ge){pt<Ni||(pt>Ni&&(Ni=pt,ra=[]),ra.push(ge))}function $a(ge,we){return new ne(ge,[],"",we)}function rs(ge,we,wr){return new ne(ne.buildMessage(ge,we),ge,we,wr)}function Xe(){var ge;return ge=Ie(),ge}function Ie(){var ge,we;for(ge=[],we=$t();we!==be;)ge.push(we),we=$t();return ge}function $t(){var ge;return ge=yr(),ge===be&&(ge=Hr(),ge===be&&(ge=Ii(),ge===be&&(ge=yi(),ge===be&&(ge=ga(),ge===be&&(ge=Br()))))),ge}function Gt(){var ge,we,wr;if(ge=pt,we=[],wr=us(),wr===be&&(wr=yo(),wr===be&&(wr=bs())),wr!==be)for(;wr!==be;)we.push(wr),wr=us(),wr===be&&(wr=yo(),wr===be&&(wr=bs()));else we=be;return we!==be&&(jn=ge,we=kr(we)),ge=we,ge}function yr(){var ge,we;return ge=pt,we=Gt(),we!==be&&(jn=ge,we=Ir(we)),ge=we,ge}function Br(){var ge,we;return ge=pt,Ze.charCodeAt(pt)===35?(we=Pr,pt++):(we=be,zr===0&&Fn(Wr)),we!==be&&(jn=ge,we=wn()),ge=we,ge}function Hr(){var ge,we,wr,rn,xr,Jr;return zr++,ge=pt,Ze.charCodeAt(pt)===123?(we=fn,pt++):(we=be,zr===0&&Fn(un)),we!==be?(wr=Mi(),wr!==be?(rn=_s(),rn!==be?(xr=Mi(),xr!==be?(Ze.charCodeAt(pt)===125?(Jr=dn,pt++):(Jr=be,zr===0&&Fn(gn)),Jr!==be?(jn=ge,we=ka(rn),ge=we):(pt=ge,ge=be)):(pt=ge,ge=be)):(pt=ge,ge=be)):(pt=ge,ge=be)):(pt=ge,ge=be),zr--,ge===be&&(we=be,zr===0&&Fn(gr)),ge}function xn(){var ge,we,wr,rn,xr;if(zr++,ge=pt,we=[],wr=pt,rn=pt,zr++,xr=Ya(),xr===be&&(pi.test(Ze.charAt(pt))?(xr=Ze.charAt(pt),pt++):(xr=be,zr===0&&Fn(bn))),zr--,xr===be?rn=void 0:(pt=rn,rn=be),rn!==be?(Ze.length>pt?(xr=Ze.charAt(pt),pt++):(xr=be,zr===0&&Fn(ui)),xr!==be?(rn=[rn,xr],wr=rn):(pt=wr,wr=be)):(pt=wr,wr=be),wr!==be)for(;wr!==be;)we.push(wr),wr=pt,rn=pt,zr++,xr=Ya(),xr===be&&(pi.test(Ze.charAt(pt))?(xr=Ze.charAt(pt),pt++):(xr=be,zr===0&&Fn(bn))),zr--,xr===be?rn=void 0:(pt=rn,rn=be),rn!==be?(Ze.length>pt?(xr=Ze.charAt(pt),pt++):(xr=be,zr===0&&Fn(ui)),xr!==be?(rn=[rn,xr],wr=rn):(pt=wr,wr=be)):(pt=wr,wr=be);else we=be;return we!==be?ge=Ze.substring(ge,pt):ge=we,zr--,ge===be&&(we=be,zr===0&&Fn(Ci)),ge}function ln(){var ge,we,wr;return zr++,ge=pt,Ze.charCodeAt(pt)===47?(we=Ca,pt++):(we=be,zr===0&&Fn(Ks)),we!==be?(wr=xn(),wr!==be?(jn=ge,we=Ha(wr),ge=we):(pt=ge,ge=be)):(pt=ge,ge=be),zr--,ge===be&&(we=be,zr===0&&Fn(ta)),ge}function En(){var ge,we,wr,rn,xr;if(zr++,ge=pt,we=Mi(),we!==be)if(wr=xn(),wr!==be){for(rn=[],xr=ln();xr!==be;)rn.push(xr),xr=ln();rn!==be?(jn=ge,we=Js(wr,rn),ge=we):(pt=ge,ge=be)}else pt=ge,ge=be;else pt=ge,ge=be;return zr--,ge===be&&(we=be,zr===0&&Fn(Zs)),ge}function ii(){var ge,we,wr;if(ge=pt,we=[],wr=En(),wr!==be)for(;wr!==be;)we.push(wr),wr=En();else we=be;return we!==be&&(jn=ge,we=is(we)),ge=we,ge}function ai(){var ge,we,wr;return ge=pt,Ze.substr(pt,2)===Hs?(we=Hs,pt+=2):(we=be,zr===0&&Fn(Aa)),we!==be?(wr=ii(),wr!==be?(jn=ge,we=Ss(wr),ge=we):(pt=ge,ge=be)):(pt=ge,ge=be),ge===be&&(ge=pt,jn=pt,we=ds(),we?we=void 0:we=be,we!==be?(wr=Gt(),wr!==be?(jn=ge,we=eo(wr),ge=we):(pt=ge,ge=be)):(pt=ge,ge=be)),ge}function gi(){var ge,we,wr,rn,xr,Jr,On,oi,Wi,Un,Ln,Cn,aa;return ge=pt,Ze.charCodeAt(pt)===123?(we=fn,pt++):(we=be,zr===0&&Fn(un)),we!==be?(wr=Mi(),wr!==be?(rn=_s(),rn!==be?(xr=Mi(),xr!==be?(Ze.charCodeAt(pt)===44?(Jr=Bi,pt++):(Jr=be,zr===0&&Fn(ks)),Jr!==be?(On=Mi(),On!==be?(Ze.substr(pt,6)===Bo?(oi=Bo,pt+=6):(oi=be,zr===0&&Fn(Wa)),oi!==be?(Wi=Mi(),Wi!==be?(Un=pt,Ze.charCodeAt(pt)===44?(Ln=Bi,pt++):(Ln=be,zr===0&&Fn(ks)),Ln!==be?(Cn=Mi(),Cn!==be?(aa=ai(),aa!==be?(Ln=[Ln,Cn,aa],Un=Ln):(pt=Un,Un=be)):(pt=Un,Un=be)):(pt=Un,Un=be),Un===be&&(Un=null),Un!==be?(Ln=Mi(),Ln!==be?(Ze.charCodeAt(pt)===125?(Cn=dn,pt++):(Cn=be,zr===0&&Fn(gn)),Cn!==be?(jn=ge,we=Rs(rn,oi,Un),ge=we):(pt=ge,ge=be)):(pt=ge,ge=be)):(pt=ge,ge=be)):(pt=ge,ge=be)):(pt=ge,ge=be)):(pt=ge,ge=be)):(pt=ge,ge=be)):(pt=ge,ge=be)):(pt=ge,ge=be)):(pt=ge,ge=be)):(pt=ge,ge=be),ge}function Li(){var ge,we,wr,rn;if(ge=pt,Ze.charCodeAt(pt)===39?(we=ci,pt++):(we=be,zr===0&&Fn(fo)),we!==be){if(wr=[],rn=us(),rn===be&&(Nn.test(Ze.charAt(pt))?(rn=Ze.charAt(pt),pt++):(rn=be,zr===0&&Fn(Ja))),rn!==be)for(;rn!==be;)wr.push(rn),rn=us(),rn===be&&(Nn.test(Ze.charAt(pt))?(rn=Ze.charAt(pt),pt++):(rn=be,zr===0&&Fn(Ja)));else wr=be;wr!==be?(Ze.charCodeAt(pt)===39?(rn=ci,pt++):(rn=be,zr===0&&Fn(fo)),rn!==be?(we=[we,wr,rn],ge=we):(pt=ge,ge=be)):(pt=ge,ge=be)}else pt=ge,ge=be;if(ge===be)if(ge=[],we=us(),we===be&&(As.test(Ze.charAt(pt))?(we=Ze.charAt(pt),pt++):(we=be,zr===0&&Fn(Ps))),we!==be)for(;we!==be;)ge.push(we),we=us(),we===be&&(As.test(Ze.charAt(pt))?(we=Ze.charAt(pt),pt++):(we=be,zr===0&&Fn(Ps)));else ge=be;return ge}function ua(){var ge,we;if(ge=[],ca.test(Ze.charAt(pt))?(we=Ze.charAt(pt),pt++):(we=be,zr===0&&Fn(es)),we!==be)for(;we!==be;)ge.push(we),ca.test(Ze.charAt(pt))?(we=Ze.charAt(pt),pt++):(we=be,zr===0&&Fn(es));else ge=be;return ge}function Qi(){var ge,we,wr,rn;if(ge=pt,we=pt,wr=[],rn=Li(),rn===be&&(rn=ua()),rn!==be)for(;rn!==be;)wr.push(rn),rn=Li(),rn===be&&(rn=ua());else wr=be;return wr!==be?we=Ze.substring(we,pt):we=wr,we!==be&&(jn=ge,we=Yi(we)),ge=we,ge}function Pi(){var ge,we,wr;return ge=pt,Ze.substr(pt,2)===Hs?(we=Hs,pt+=2):(we=be,zr===0&&Fn(Aa)),we!==be?(wr=Qi(),wr!==be?(jn=ge,we=Ss(wr),ge=we):(pt=ge,ge=be)):(pt=ge,ge=be),ge===be&&(ge=pt,jn=pt,we=Ws(),we?we=void 0:we=be,we!==be?(wr=Gt(),wr!==be?(jn=ge,we=eo(wr),ge=we):(pt=ge,ge=be)):(pt=ge,ge=be)),ge}function Da(){var ge,we,wr,rn,xr,Jr,On,oi,Wi,Un,Ln,Cn,aa;return ge=pt,Ze.charCodeAt(pt)===123?(we=fn,pt++):(we=be,zr===0&&Fn(un)),we!==be?(wr=Mi(),wr!==be?(rn=_s(),rn!==be?(xr=Mi(),xr!==be?(Ze.charCodeAt(pt)===44?(Jr=Bi,pt++):(Jr=be,zr===0&&Fn(ks)),Jr!==be?(On=Mi(),On!==be?(Ze.substr(pt,4)===vo?(oi=vo,pt+=4):(oi=be,zr===0&&Fn(Wo)),oi===be&&(Ze.substr(pt,4)===Go?(oi=Go,pt+=4):(oi=be,zr===0&&Fn(mu))),oi!==be?(Wi=Mi(),Wi!==be?(Un=pt,Ze.charCodeAt(pt)===44?(Ln=Bi,pt++):(Ln=be,zr===0&&Fn(ks)),Ln!==be?(Cn=Mi(),Cn!==be?(aa=Pi(),aa!==be?(Ln=[Ln,Cn,aa],Un=Ln):(pt=Un,Un=be)):(pt=Un,Un=be)):(pt=Un,Un=be),Un===be&&(Un=null),Un!==be?(Ln=Mi(),Ln!==be?(Ze.charCodeAt(pt)===125?(Cn=dn,pt++):(Cn=be,zr===0&&Fn(gn)),Cn!==be?(jn=ge,we=Rs(rn,oi,Un),ge=we):(pt=ge,ge=be)):(pt=ge,ge=be)):(pt=ge,ge=be)):(pt=ge,ge=be)):(pt=ge,ge=be)):(pt=ge,ge=be)):(pt=ge,ge=be)):(pt=ge,ge=be)):(pt=ge,ge=be)):(pt=ge,ge=be)):(pt=ge,ge=be),ge}function Ii(){var ge;return ge=gi(),ge===be&&(ge=Da()),ge}function yi(){var ge,we,wr,rn,xr,Jr,On,oi,Wi,Un,Ln,Cn,aa,na,zo,uo;if(ge=pt,Ze.charCodeAt(pt)===123?(we=fn,pt++):(we=be,zr===0&&Fn(un)),we!==be)if(wr=Mi(),wr!==be)if(rn=_s(),rn!==be)if(xr=Mi(),xr!==be)if(Ze.charCodeAt(pt)===44?(Jr=Bi,pt++):(Jr=be,zr===0&&Fn(ks)),Jr!==be)if(On=Mi(),On!==be)if(Ze.substr(pt,6)===uu?(oi=uu,pt+=6):(oi=be,zr===0&&Fn(ho)),oi===be&&(Ze.substr(pt,13)===No?(oi=No,pt+=13):(oi=be,zr===0&&Fn(Co))),oi!==be)if(Wi=Mi(),Wi!==be)if(Ze.charCodeAt(pt)===44?(Un=Bi,pt++):(Un=be,zr===0&&Fn(ks)),Un!==be)if(Ln=Mi(),Ln!==be)if(Cn=pt,Ze.substr(pt,7)===qo?(aa=qo,pt+=7):(aa=be,zr===0&&Fn(Ko)),aa!==be?(na=Mi(),na!==be?(zo=Ra(),zo!==be?(aa=[aa,na,zo],Cn=aa):(pt=Cn,Cn=be)):(pt=Cn,Cn=be)):(pt=Cn,Cn=be),Cn===be&&(Cn=null),Cn!==be)if(aa=Mi(),aa!==be){if(na=[],zo=ia(),zo!==be)for(;zo!==be;)na.push(zo),zo=ia();else na=be;na!==be?(zo=Mi(),zo!==be?(Ze.charCodeAt(pt)===125?(uo=dn,pt++):(uo=be,zr===0&&Fn(gn)),uo!==be?(jn=ge,we=vi(rn,oi,Cn,na),ge=we):(pt=ge,ge=be)):(pt=ge,ge=be)):(pt=ge,ge=be)}else pt=ge,ge=be;else pt=ge,ge=be;else pt=ge,ge=be;else pt=ge,ge=be;else pt=ge,ge=be;else pt=ge,ge=be;else pt=ge,ge=be;else pt=ge,ge=be;else pt=ge,ge=be;else pt=ge,ge=be;else pt=ge,ge=be;else pt=ge,ge=be;return ge}function ga(){var ge,we,wr,rn,xr,Jr,On,oi,Wi,Un,Ln,Cn,aa,na;if(ge=pt,Ze.charCodeAt(pt)===123?(we=fn,pt++):(we=be,zr===0&&Fn(un)),we!==be)if(wr=Mi(),wr!==be)if(rn=_s(),rn!==be)if(xr=Mi(),xr!==be)if(Ze.charCodeAt(pt)===44?(Jr=Bi,pt++):(Jr=be,zr===0&&Fn(ks)),Jr!==be)if(On=Mi(),On!==be)if(Ze.substr(pt,6)===_i?(oi=_i,pt+=6):(oi=be,zr===0&&Fn(ts)),oi!==be)if(Wi=Mi(),Wi!==be)if(Ze.charCodeAt(pt)===44?(Un=Bi,pt++):(Un=be,zr===0&&Fn(ks)),Un!==be)if(Ln=Mi(),Ln!==be){if(Cn=[],aa=Bs(),aa!==be)for(;aa!==be;)Cn.push(aa),aa=Bs();else Cn=be;Cn!==be?(aa=Mi(),aa!==be?(Ze.charCodeAt(pt)===125?(na=dn,pt++):(na=be,zr===0&&Fn(gn)),na!==be?(jn=ge,we=ss(rn,Cn),ge=we):(pt=ge,ge=be)):(pt=ge,ge=be)):(pt=ge,ge=be)}else pt=ge,ge=be;else pt=ge,ge=be;else pt=ge,ge=be;else pt=ge,ge=be;else pt=ge,ge=be;else pt=ge,ge=be;else pt=ge,ge=be;else pt=ge,ge=be;else pt=ge,ge=be;else pt=ge,ge=be;return ge}function go(){var ge,we,wr,rn;return ge=pt,we=pt,Ze.charCodeAt(pt)===61?(wr=as,pt++):(wr=be,zr===0&&Fn(Ga)),wr!==be?(rn=Ra(),rn!==be?(wr=[wr,rn],we=wr):(pt=we,we=be)):(pt=we,we=be),we!==be?ge=Ze.substring(ge,pt):ge=we,ge===be&&(ge=oo()),ge}function Bs(){var ge,we,wr,rn,xr,Jr,On,oi;return ge=pt,we=Mi(),we!==be?(wr=oo(),wr!==be?(rn=Mi(),rn!==be?(Ze.charCodeAt(pt)===123?(xr=fn,pt++):(xr=be,zr===0&&Fn(un)),xr!==be?(jn=pt,Jr=hs(wr),Jr?Jr=void 0:Jr=be,Jr!==be?(On=Ie(),On!==be?(Ze.charCodeAt(pt)===125?(oi=dn,pt++):(oi=be,zr===0&&Fn(gn)),oi!==be?(jn=ge,we=Jo(wr,On),ge=we):(pt=ge,ge=be)):(pt=ge,ge=be)):(pt=ge,ge=be)):(pt=ge,ge=be)):(pt=ge,ge=be)):(pt=ge,ge=be)):(pt=ge,ge=be),ge}function ia(){var ge,we,wr,rn,xr,Jr,On,oi;return ge=pt,we=Mi(),we!==be?(wr=go(),wr!==be?(rn=Mi(),rn!==be?(Ze.charCodeAt(pt)===123?(xr=fn,pt++):(xr=be,zr===0&&Fn(un)),xr!==be?(jn=pt,Jr=Is(wr),Jr?Jr=void 0:Jr=be,Jr!==be?(On=Ie(),On!==be?(Ze.charCodeAt(pt)===125?(oi=dn,pt++):(oi=be,zr===0&&Fn(gn)),oi!==be?(jn=ge,we=ko(wr,On),ge=we):(pt=ge,ge=be)):(pt=ge,ge=be)):(pt=ge,ge=be)):(pt=ge,ge=be)):(pt=ge,ge=be)):(pt=ge,ge=be)):(pt=ge,ge=be),ge}function Ya(){var ge,we;return zr++,wu.test(Ze.charAt(pt))?(ge=Ze.charAt(pt),pt++):(ge=be,zr===0&&Fn(qu)),zr--,ge===be&&(we=be,zr===0&&Fn(vu)),ge}function ba(){var ge,we;return zr++,Ro.test(Ze.charAt(pt))?(ge=Ze.charAt(pt),pt++):(ge=be,zr===0&&Fn(to)),zr--,ge===be&&(we=be,zr===0&&Fn(ll)),ge}function Mi(){var ge,we,wr;for(zr++,ge=pt,we=[],wr=Ya();wr!==be;)we.push(wr),wr=Ya();return we!==be?ge=Ze.substring(ge,pt):ge=we,zr--,ge===be&&(we=be,zr===0&&Fn($o)),ge}function Ra(){var ge,we,wr;return zr++,ge=pt,Ze.charCodeAt(pt)===45?(we=Lo,pt++):(we=be,zr===0&&Fn(jo)),we===be&&(we=null),we!==be?(wr=bo(),wr!==be?(jn=ge,we=Mu(we,wr),ge=we):(pt=ge,ge=be)):(pt=ge,ge=be),zr--,ge===be&&(we=be,zr===0&&Fn(ju)),ge}function os(){var ge,we;return zr++,Ze.charCodeAt(pt)===39?(ge=ci,pt++):(ge=be,zr===0&&Fn(fo)),zr--,ge===be&&(we=be,zr===0&&Fn(eu)),ge}function us(){var ge,we;return zr++,ge=pt,Ze.substr(pt,2)===ro?(we=ro,pt+=2):(we=be,zr===0&&Fn(tu)),we!==be&&(jn=ge,we=Uo()),ge=we,zr--,ge===be&&(we=be,zr===0&&Fn(hu)),ge}function yo(){var ge,we,wr,rn,xr,Jr;if(ge=pt,Ze.charCodeAt(pt)===39?(we=ci,pt++):(we=be,zr===0&&Fn(fo)),we!==be)if(wr=Po(),wr!==be){for(rn=pt,xr=[],Ze.substr(pt,2)===ro?(Jr=ro,pt+=2):(Jr=be,zr===0&&Fn(tu)),Jr===be&&(Nn.test(Ze.charAt(pt))?(Jr=Ze.charAt(pt),pt++):(Jr=be,zr===0&&Fn(Ja)));Jr!==be;)xr.push(Jr),Ze.substr(pt,2)===ro?(Jr=ro,pt+=2):(Jr=be,zr===0&&Fn(tu)),Jr===be&&(Nn.test(Ze.charAt(pt))?(Jr=Ze.charAt(pt),pt++):(Jr=be,zr===0&&Fn(Ja)));xr!==be?rn=Ze.substring(rn,pt):rn=xr,rn!==be?(Ze.charCodeAt(pt)===39?(xr=ci,pt++):(xr=be,zr===0&&Fn(fo)),xr===be&&(xr=null),xr!==be?(jn=ge,we=Jt(wr,rn),ge=we):(pt=ge,ge=be)):(pt=ge,ge=be)}else pt=ge,ge=be;else pt=ge,ge=be;return ge}function bs(){var ge,we,wr,rn;return ge=pt,we=pt,Ze.length>pt?(wr=Ze.charAt(pt),pt++):(wr=be,zr===0&&Fn(ui)),wr!==be?(jn=pt,rn=dr(wr),rn?rn=void 0:rn=be,rn!==be?(wr=[wr,rn],we=wr):(pt=we,we=be)):(pt=we,we=be),we===be&&(Ze.charCodeAt(pt)===10?(we=ur,pt++):(we=be,zr===0&&Fn(hr))),we!==be?ge=Ze.substring(ge,pt):ge=we,ge}function Po(){var ge,we,wr,rn;return ge=pt,we=pt,Ze.length>pt?(wr=Ze.charAt(pt),pt++):(wr=be,zr===0&&Fn(ui)),wr!==be?(jn=pt,rn=Sr(wr),rn?rn=void 0:rn=be,rn!==be?(wr=[wr,rn],we=wr):(pt=we,we=be)):(pt=we,we=be),we!==be?ge=Ze.substring(ge,pt):ge=we,ge}function _s(){var ge,we;return zr++,ge=pt,we=bo(),we===be&&(we=oo()),we!==be?ge=Ze.substring(ge,pt):ge=we,zr--,ge===be&&(we=be,zr===0&&Fn(yn)),ge}function bo(){var ge,we,wr,rn,xr;if(zr++,ge=pt,Ze.charCodeAt(pt)===48?(we=Rn,pt++):(we=be,zr===0&&Fn(Hn)),we!==be&&(jn=ge,we=li()),ge=we,ge===be){if(ge=pt,we=pt,ei.test(Ze.charAt(pt))?(wr=Ze.charAt(pt),pt++):(wr=be,zr===0&&Fn(cr)),wr!==be){for(rn=[],Mr.test(Ze.charAt(pt))?(xr=Ze.charAt(pt),pt++):(xr=be,zr===0&&Fn(Fr));xr!==be;)rn.push(xr),Mr.test(Ze.charAt(pt))?(xr=Ze.charAt(pt),pt++):(xr=be,zr===0&&Fn(Fr));rn!==be?(wr=[wr,rn],we=wr):(pt=we,we=be)}else pt=we,we=be;we!==be&&(jn=ge,we=Sn(we)),ge=we}return zr--,ge===be&&(we=be,zr===0&&Fn(Zn)),ge}function oo(){var ge,we,wr,rn,xr;if(zr++,ge=pt,we=[],wr=pt,rn=pt,zr++,xr=Ya(),xr===be&&(xr=ba()),zr--,xr===be?rn=void 0:(pt=rn,rn=be),rn!==be?(Ze.length>pt?(xr=Ze.charAt(pt),pt++):(xr=be,zr===0&&Fn(ui)),xr!==be?(rn=[rn,xr],wr=rn):(pt=wr,wr=be)):(pt=wr,wr=be),wr!==be)for(;wr!==be;)we.push(wr),wr=pt,rn=pt,zr++,xr=Ya(),xr===be&&(xr=ba()),zr--,xr===be?rn=void 0:(pt=rn,rn=be),rn!==be?(Ze.length>pt?(xr=Ze.charAt(pt),pt++):(xr=be,zr===0&&Fn(ui)),xr!==be?(rn=[rn,xr],wr=rn):(pt=wr,wr=be)):(pt=wr,wr=be);else we=be;return we!==be?ge=Ze.substring(ge,pt):ge=we,zr--,ge===be&&(we=be,zr===0&&Fn(Tn)),ge}var Ta=["root"];function ls(){return Ta.length>1}function Qs(){return Ta[Ta.length-1]==="plural"}function La(){return et&&et.captureLocation?{location:Pa()}:{}}if(pa=or(),pa!==be&&pt===Ze.length)return pa;throw pa!==be&&pt<Ze.length&&Fn(Fs()),rs(ra,Ni<Ze.length?Ze.charAt(Ni):null,Ni<Ze.length?po(Ni,Ni+1):po(Ni,Ni))}var J=oe,q=function(){for(var Ze=0,et=0,be=arguments.length;et<be;et++)Ze+=arguments[et].length;for(var it=Array(Ze),or=0,et=0;et<be;et++)for(var kr=arguments[et],Ir=0,Pr=kr.length;Ir<Pr;Ir++,or++)it[or]=kr[Ir];return it},K=/(^|[^\\])#/g;function se(Ze){Ze.forEach(function(et){!I(et)&&!A(et)||Object.keys(et.options).forEach(function(be){for(var it,or=et.options[be],kr=-1,Ir=void 0,Pr=0;Pr<or.value.length;Pr++){var Wr=or.value[Pr];if(_(Wr)&&K.test(Wr.value)){kr=Pr,Ir=Wr;break}}if(Ir){var wn=Ir.value.replace(K,"$1{"+et.value+", number}"),gr=J(wn);(it=or.value).splice.apply(it,q([kr,1],gr))}se(or.value)})})}function ee(Ze,et){var be=J(Ze,et);return(!et||et.normalizeHashtagInPlural!==!1)&&se(be),be}var Q=function(){for(var Ze=0,et=0,be=arguments.length;et<be;et++)Ze+=arguments[et].length;for(var it=Array(Ze),or=0,et=0;et<be;et++)for(var kr=arguments[et],Ir=0,Pr=kr.length;Ir<Pr;Ir++,or++)it[or]=kr[Ir];return it};function le(Ze){return JSON.stringify(Ze.map(function(et){return et&&typeof et=="object"?z(et):et}))}function z(Ze){return Object.keys(Ze).sort().map(function(et){var be;return be={},be[et]=Ze[et],be})}var $=function(Ze,et){return et===void 0&&(et={}),function(){for(var be,it=[],or=0;or<arguments.length;or++)it[or]=arguments[or];var kr=le(it),Ir=kr&&et[kr];return Ir||(Ir=new((be=Ze).bind.apply(be,Q([void 0],it))),kr&&(et[kr]=Ir)),Ir}},ie=$,_e=function(){return _e=Object.assign||function(Ze){for(var et,be=1,it=arguments.length;be<it;be++){et=arguments[be];for(var or in et)Object.prototype.hasOwnProperty.call(et,or)&&(Ze[or]=et[or])}return Ze},_e.apply(this,arguments)},Ae=/(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;function Pe(Ze){var et={};return Ze.replace(Ae,function(be){var it=be.length;switch(be[0]){case"G":et.era=it===4?"long":it===5?"narrow":"short";break;case"y":et.year=it===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":et.month=["numeric","2-digit","short","long","narrow"][it-1];break;case"w":case"W":throw new RangeError("`w/W` (week) patterns are not supported");case"d":et.day=["numeric","2-digit"][it-1];break;case"D":case"F":case"g":throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");case"E":et.weekday=it===4?"short":it===5?"narrow":"short";break;case"e":if(it<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");et.weekday=["short","long","narrow","short"][it-4];break;case"c":if(it<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");et.weekday=["short","long","narrow","short"][it-4];break;case"a":et.hour12=!0;break;case"b":case"B":throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":et.hourCycle="h12",et.hour=["numeric","2-digit"][it-1];break;case"H":et.hourCycle="h23",et.hour=["numeric","2-digit"][it-1];break;case"K":et.hourCycle="h11",et.hour=["numeric","2-digit"][it-1];break;case"k":et.hourCycle="h24",et.hour=["numeric","2-digit"][it-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":et.minute=["numeric","2-digit"][it-1];break;case"s":et.second=["numeric","2-digit"][it-1];break;case"S":case"A":throw new RangeError("`S/A` (second) pattenrs are not supported, use `s` instead");case"z":et.timeZoneName=it<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""}),et}function We(Ze){return Ze.replace(/^(.*?)-/,"")}var $e=/^\.(?:(0+)(\+|#+)?)?$/g,Lt=/^(@+)?(\+|#+)?$/g;function bt(Ze){var et={};return Ze.replace(Lt,function(be,it,or){return typeof or!="string"?(et.minimumSignificantDigits=it.length,et.maximumSignificantDigits=it.length):or==="+"?et.minimumSignificantDigits=it.length:it[0]==="#"?et.maximumSignificantDigits=it.length:(et.minimumSignificantDigits=it.length,et.maximumSignificantDigits=it.length+(typeof or=="string"?or.length:0)),""}),et}function kt(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 Zt(Ze){var et={},be=kt(Ze);return be||et}function Mt(Ze){for(var et={},be=0,it=Ze;be<it.length;be++){var or=it[be];switch(or.stem){case"percent":et.style="percent";continue;case"currency":et.style="currency",et.currency=or.options[0];continue;case"group-off":et.useGrouping=!1;continue;case"precision-integer":et.maximumFractionDigits=0;continue;case"measure-unit":et.style="unit",et.unit=We(or.options[0]);continue;case"compact-short":et.notation="compact",et.compactDisplay="short";continue;case"compact-long":et.notation="compact",et.compactDisplay="long";continue;case"scientific":et=_e(_e(_e({},et),{notation:"scientific"}),or.options.reduce(function(Ir,Pr){return _e(_e({},Ir),Zt(Pr))},{}));continue;case"engineering":et=_e(_e(_e({},et),{notation:"engineering"}),or.options.reduce(function(Ir,Pr){return _e(_e({},Ir),Zt(Pr))},{}));continue;case"notation-simple":et.notation="standard";continue;case"unit-width-narrow":et.currencyDisplay="narrowSymbol",et.unitDisplay="narrow";continue;case"unit-width-short":et.currencyDisplay="code",et.unitDisplay="short";continue;case"unit-width-full-name":et.currencyDisplay="name",et.unitDisplay="long";continue;case"unit-width-iso-code":et.currencyDisplay="symbol";continue}if($e.test(or.stem)){if(or.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");or.stem.replace($e,function(Ir,Pr,Wr){return Ir==="."?et.maximumFractionDigits=0:Wr==="+"?et.minimumFractionDigits=Wr.length:Pr[0]==="#"?et.maximumFractionDigits=Pr.length:(et.minimumFractionDigits=Pr.length,et.maximumFractionDigits=Pr.length+(typeof Wr=="string"?Wr.length:0)),""}),or.options.length&&(et=_e(_e({},et),bt(or.options[0])));continue}if(Lt.test(or.stem)){et=_e(_e({},et),bt(or.stem));continue}var kr=kt(or.stem);kr&&(et=_e(_e({},et),kr))}return et}var tr=function(){var Ze=function(et,be){return Ze=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(it,or){it.__proto__=or}||function(it,or){for(var kr in or)or.hasOwnProperty(kr)&&(it[kr]=or[kr])},Ze(et,be)};return function(et,be){Ze(et,be);function it(){this.constructor=et}et.prototype=be===null?Object.create(be):(it.prototype=be.prototype,new it)}}(),je=function(){for(var Ze=0,et=0,be=arguments.length;et<be;et++)Ze+=arguments[et].length;for(var it=Array(Ze),or=0,et=0;et<be;et++)for(var kr=arguments[et],Ir=0,Pr=kr.length;Ir<Pr;Ir++,or++)it[or]=kr[Ir];return it},wt=function(Ze){tr(et,Ze);function et(be,it){var or=Ze.call(this,be)||this;return or.variableId=it,or}return et}(Error);function Ft(Ze){return Ze.length<2?Ze:Ze.reduce(function(et,be){var it=et[et.length-1];return!it||it.type!==0||be.type!==0?et.push(be):it.value+=be.value,et},[])}function tt(Ze,et,be,it,or,kr,Ir){if(Ze.length===1&&_(Ze[0]))return[{type:0,value:Ze[0].value}];for(var Pr=[],Wr=0,wn=Ze;Wr<wn.length;Wr++){var gr=wn[Wr];if(_(gr)){Pr.push({type:0,value:gr.value});continue}if(M(gr)){typeof kr=="number"&&Pr.push({type:0,value:be.getNumberFormat(et).format(kr)});continue}var fn=gr.value;if(!(or&&fn in or))throw new wt('The intl string context variable "'+fn+'" was not provided to the string "'+Ir+'"');var un=or[fn];if(b(gr)){(!un||typeof un=="string"||typeof un=="number")&&(un=typeof un=="string"||typeof un=="number"?String(un):""),Pr.push({type:1,value:un});continue}if(k(gr)){var dn=typeof gr.style=="string"?it.date[gr.style]:void 0;Pr.push({type:0,value:be.getDateTimeFormat(et,dn).format(un)});continue}if(R(gr)){var dn=typeof gr.style=="string"?it.time[gr.style]:N(gr.style)?Pe(gr.style.pattern):void 0;Pr.push({type:0,value:be.getDateTimeFormat(et,dn).format(un)});continue}if(S(gr)){var dn=typeof gr.style=="string"?it.number[gr.style]:B(gr.style)?Mt(gr.style.tokens):void 0;Pr.push({type:0,value:be.getNumberFormat(et,dn).format(un)});continue}if(A(gr)){var gn=gr.options[un]||gr.options.other;if(!gn)throw new RangeError('Invalid values for "'+gr.value+'": "'+un+'". Options are "'+Object.keys(gr.options).join('", "')+'"');Pr.push.apply(Pr,tt(gn.value,et,be,it,or));continue}if(I(gr)){var gn=gr.options["="+un];if(!gn){if(!Intl.PluralRules)throw new wt(`Intl.PluralRules is not available in this environment.
Try polyfilling it using "@formatjs/intl-pluralrules"
`);var ka=be.getPluralRules(et,{type:gr.pluralType}).select(un-(gr.offset||0));gn=gr.options[ka]||gr.options.other}if(!gn)throw new RangeError('Invalid values for "'+gr.value+'": "'+un+'". Options are "'+Object.keys(gr.options).join('", "')+'"');Pr.push.apply(Pr,tt(gn.value,et,be,it,or,un-(gr.offset||0)));continue}}return Ft(Pr)}function gt(Ze,et,be,it,or,kr){var Ir=tt(Ze,et,be,it,or,void 0,kr);return Ir.length===1?Ir[0].value:Ir.reduce(function(Pr,Wr){return Pr+=Wr.value},"")}var ft,Qe="@@",Ne=/@@(\d+_\d+)@@/g,xe=0;function ke(){return Date.now()+"_"+ ++xe}function Ge(Ze,et){return Ze.split(Ne).filter(Boolean).map(function(be){return et[be]!=null?et[be]:be}).reduce(function(be,it){return be.length&&typeof it=="string"&&typeof be[be.length-1]=="string"?be[be.length-1]+=it:be.push(it),be},[])}var He=/(<([0-9a-zA-Z-_]*?)>(.*?)<\/([0-9a-zA-Z-_]*?)>)|(<[0-9a-zA-Z-_]*?\/>)/,Ye=Date.now()+"@@",dt=["area","base","br","col","embed","hr","img","input","link","meta","param","source","track","wbr"];function xt(Ze,et,be){var it=Ze.tagName,or=Ze.outerHTML,kr=Ze.textContent,Ir=Ze.childNodes;if(!it)return Ge(kr||"",et);it=it.toLowerCase();var Pr=~dt.indexOf(it),Wr=be[it];if(Wr&&Pr)throw new wt(it+" is a self-closing tag and can not be used, please use another tag name.");if(!Ir.length)return[or];var wn=Array.prototype.slice.call(Ir).reduce(function(gr,fn){return gr.concat(xt(fn,et,be))},[]);return Wr?typeof Wr=="function"?[Wr.apply(void 0,wn)]:[Wr]:je(["<"+it+">"],wn,["</"+it+">"])}function nr(Ze,et,be,it,or,kr){var Ir=tt(Ze,et,be,it,or,void 0,kr),Pr={},Wr=Ir.reduce(function(un,dn){if(dn.type===0)return un+=dn.value;var gn=ke();return Pr[gn]=dn.value,un+=""+Qe+gn+Qe},"");if(!He.test(Wr))return Ge(Wr,Pr);if(!or)throw new wt("Message has placeholders but no values was given");if(typeof DOMParser=="undefined")throw new wt("Cannot format XML message without DOMParser");ft||(ft=new DOMParser);var wn=ft.parseFromString('<formatted-message id="'+Ye+'">'+Wr+"</formatted-message>","text/html").getElementById(Ye);if(!wn)throw new wt("Malformed HTML message "+Wr);var gr=Object.keys(or).filter(function(un){return!!wn.getElementsByTagName(un).length});if(!gr.length)return Ge(Wr,Pr);var fn=gr.filter(function(un){return un!==un.toLowerCase()});if(fn.length)throw new wt("HTML tag must be lowercased but the following tags are not: "+fn.join(", "));return Array.prototype.slice.call(wn.childNodes).reduce(function(un,dn){return un.concat(xt(dn,Pr,or))},[])}var qt=function(){return qt=Object.assign||function(Ze){for(var et,be=1,it=arguments.length;be<it;be++){et=arguments[be];for(var or in et)Object.prototype.hasOwnProperty.call(et,or)&&(Ze[or]=et[or])}return Ze},qt.apply(this,arguments)};function Me(Ze,et){return et?qt(qt(qt({},Ze||{}),et||{}),Object.keys(Ze).reduce(function(be,it){return be[it]=qt(qt({},Ze[it]),et[it]||{}),be},{})):Ze}function qe(Ze,et){return et?Object.keys(Ze).reduce(function(be,it){return be[it]=Me(Ze[it],et[it]),be},qt({},Ze)):Ze}function Vt(Ze){return Ze===void 0&&(Ze={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:ie(Intl.NumberFormat,Ze.number),getDateTimeFormat:ie(Intl.DateTimeFormat,Ze.dateTime),getPluralRules:ie(Intl.PluralRules,Ze.pluralRules)}}var Rt=function(){function Ze(et,be,it,or){var kr=this;if(be===void 0&&(be=Ze.defaultLocale),this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(Ir){return gt(kr.ast,kr.locales,kr.formatters,kr.formats,Ir,kr.message)},this.formatToParts=function(Ir){return tt(kr.ast,kr.locales,kr.formatters,kr.formats,Ir,void 0,kr.message)},this.formatHTMLMessage=function(Ir){return nr(kr.ast,kr.locales,kr.formatters,kr.formats,Ir,kr.message)},this.resolvedOptions=function(){return{locale:Intl.NumberFormat.supportedLocalesOf(kr.locales)[0]}},this.getAst=function(){return kr.ast},typeof et=="string"){if(this.message=et,!Ze.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");this.ast=Ze.__parse(et,{normalizeHashtagInPlural:!1})}else this.ast=et;if(!Array.isArray(this.ast))throw new TypeError("A message must be provided as a String or AST.");this.formats=qe(Ze.formats,it),this.locales=be,this.formatters=or&&or.formatters||Vt(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=Rt,Ht=zt;function Ct(Ze,et,be){if(be===void 0&&(be=Error),!Ze)throw new be(et)}const Xt={38:"&amp;",62:"&gt;",60:"&lt;",34:"&quot;",39:"&#x27;"},ze=/[&><"']/g;function ce(Ze){return(""+Ze).replace(ze,et=>Xt[et.charCodeAt(0)])}function pe(Ze,et,be={}){return et.reduce((it,or)=>(or in Ze?it[or]=Ze[or]:or in be&&(it[or]=be[or]),it),{})}function It(Ze){Ct(Ze,"[React Intl] Could not find required `intl` object. <IntlProvider> needs to exist in the component ancestry.")}function Te(Ze,et){const be=et?`
${et.stack}`:"";return`[React Intl] ${Ze}${be}`}function ct(Ze){}const Wt={formats:{},messages:{},timeZone:void 0,textComponent:r.Fragment,defaultLocale:"en",defaultFormats:{},onError:ct};function Tt(){return{dateTime:{},number:{},message:{},relativeTime:{},pluralRules:{},list:{},displayNames:{}}}function Ce(Ze=Tt()){const et=Intl.RelativeTimeFormat,be=Intl.ListFormat,it=Intl.DisplayNames;return{getDateTimeFormat:ie(Intl.DateTimeFormat,Ze.dateTime),getNumberFormat:ie(Intl.NumberFormat,Ze.number),getMessageFormat:ie(Ht,Ze.message),getRelativeTimeFormat:ie(et,Ze.relativeTime),getPluralRules:ie(Intl.PluralRules,Ze.pluralRules),getListFormat:ie(be,Ze.list),getDisplayNames:ie(it,Ze.displayNames)}}function St(Ze,et,be,it){const or=Ze&&Ze[et];let kr;if(or&&(kr=or[be]),kr)return kr;it(Te(`No ${et} format named: ${be}`))}const ye=["localeMatcher","style","currency","currencyDisplay","unit","unitDisplay","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","currencyDisplay","currencySign","notation","signDisplay","unit","unitDisplay"];function Je({locale:Ze,formats:et,onError:be},it,or={}){const{format:kr}=or,Ir=kr&&St(et,"number",kr,be)||{},Pr=pe(or,ye,Ir);return it(Ze,Pr)}function yt(Ze,et,be,it={}){try{return Je(Ze,et,it).format(be)}catch(or){Ze.onError(Te("Error formatting number.",or))}return String(be)}function Bt(Ze,et,be,it={}){try{return Je(Ze,et,it).formatToParts(be)}catch(or){Ze.onError(Te("Error formatting number.",or))}return[]}const Be=["numeric","style"];function Dr({locale:Ze,formats:et,onError:be},it,or={}){const{format:kr}=or,Ir=!!kr&&St(et,"relative",kr,be)||{},Pr=pe(or,Be,Ir);return it(Ze,Pr)}function At(Ze,et,be,it,or={}){it||(it="second"),Intl.RelativeTimeFormat||Ze.onError(Te(`Intl.RelativeTimeFormat is not available in this environment.
Try polyfilling it using "@formatjs/intl-relativetimeformat"
`));try{return Dr(Ze,et,or).format(be,it)}catch(Ir){Ze.onError(Te("Error formatting relative time.",Ir))}return String(be)}const Xr=["localeMatcher","formatMatcher","timeZone","hour12","weekday","era","year","month","day","hour","minute","second","timeZoneName"];function en({locale:Ze,formats:et,onError:be,timeZone:it},or,kr,Ir={}){const{format:Pr}=Ir,Wr=Object.assign(Object.assign({},it&&{timeZone:it}),Pr&&St(et,or,Pr,be));let wn=pe(Ir,Xr,Wr);return or==="time"&&!wn.hour&&!wn.minute&&!wn.second&&(wn=Object.assign(Object.assign({},wn),{hour:"numeric",minute:"numeric"})),kr(Ze,wn)}function Lr(Ze,et,be,it={}){const or=typeof be=="string"?new Date(be||0):be;try{return en(Ze,"date",et,it).format(or)}catch(kr){Ze.onError(Te("Error formatting date.",kr))}return String(or)}function Nr(Ze,et,be,it={}){const or=typeof be=="string"?new Date(be||0):be;try{return en(Ze,"time",et,it).format(or)}catch(kr){Ze.onError(Te("Error formatting time.",kr))}return String(or)}function mr(Ze,et,be,it={}){const or=typeof be=="string"?new Date(be||0):be;try{return en(Ze,"date",et,it).formatToParts(or)}catch(kr){Ze.onError(Te("Error formatting date.",kr))}return[]}function Zr(Ze,et,be,it={}){const or=typeof be=="string"?new Date(be||0):be;try{return en(Ze,"time",et,it).formatToParts(or)}catch(kr){Ze.onError(Te("Error formatting time.",kr))}return[]}const on=["localeMatcher","type"];function _n({locale:Ze,onError:et},be,it,or={}){Intl.PluralRules||et(Te(`Intl.PluralRules is not available in this environment.
Try polyfilling it using "@formatjs/intl-pluralrules"
`));const kr=pe(or,on);try{return be(Ze,kr).select(it)}catch(Ir){et(Te("Error formatting plural.",Ir))}return"other"}function Yt(Ze,et){return Object.keys(Ze).reduce((be,it)=>(be[it]=Object.assign({timeZone:et},Ze[it]),be),{})}function mt(Ze,et){return Object.keys(Object.assign(Object.assign({},Ze),et)).reduce((it,or)=>(it[or]=Object.assign(Object.assign({},Ze[or]||{}),et[or]||{}),it),{})}function st(Ze,et){if(!et)return Ze;const be=Ht.formats;return Object.assign(Object.assign(Object.assign({},be),Ze),{date:mt(Yt(be.date,et),Yt(Ze.date||{},et)),time:mt(Yt(be.time,et),Yt(Ze.time||{},et))})}const lt=Ze=>r.createElement(r.Fragment,null,...Ze);function Nt({locale:Ze,formats:et,messages:be,defaultLocale:it,defaultFormats:or,onError:kr,timeZone:Ir},Pr,Wr={id:""},wn={}){const{id:gr,defaultMessage:fn}=Wr;Ct(!!gr,"[React Intl] An `id` must be provided to format a message.");const un=be&&be[String(gr)];et=st(et,Ir),or=st(or,Ir);let dn=[];if(un)try{dn=Pr.getMessageFormat(un,Ze,et,{formatters:Pr}).formatHTMLMessage(wn)}catch(gn){kr(Te(`Error formatting message: "${gr}" for locale: "${Ze}"`+(fn?", using default message as fallback.":""),gn))}else(!fn||Ze&&Ze.toLowerCase()!==it.toLowerCase())&&kr(Te(`Missing message: "${gr}" for locale: "${Ze}"`+(fn?", using default message as fallback.":"")));if(!dn.length&&fn)try{dn=Pr.getMessageFormat(fn,it,or).formatHTMLMessage(wn)}catch(gn){kr(Te(`Error formatting the default message for: "${gr}"`,gn))}return dn.length?dn.length===1&&typeof dn[0]=="string"?dn[0]||fn||String(gr):lt(dn):(kr(Te(`Cannot format message: "${gr}", using message ${un||fn?"source":"id"} as fallback.`)),typeof un=="string"?un||fn||String(gr):fn||String(gr))}function br(Ze,et,be={id:""},it={}){const or=Object.keys(it).reduce((kr,Ir)=>{const Pr=it[Ir];return kr[Ir]=typeof Pr=="string"?ce(Pr):Pr,kr},{});return Nt(Ze,et,be,or)}var vr=e(18947),nt=e.n(vr);const Tr=["localeMatcher","type","style"],vn=Date.now();function Gn(Ze){return`${vn}_${Ze}_${vn}`}function Yr({locale:Ze,onError:et},be,it,or={}){Intl.ListFormat||et(Te(`Intl.ListFormat is not available in this environment.
Try polyfilling it using "@formatjs/intl-listformat"
`));const Ir=pe(or,Tr);try{const Pr={},Wr=it.map((gr,fn)=>{if(typeof gr=="object"){const un=Gn(fn);return Pr[un]=gr,un}return String(gr)});return Object.keys(Pr).length?be(Ze,Ir).formatToParts(Wr).reduce((gr,fn)=>{const un=fn.value;return Pr[un]?gr.push(Pr[un]):typeof gr[gr.length-1]=="string"?gr[gr.length-1]+=un:gr.push(un),gr},[]):be(Ze,Ir).format(Wr)}catch(Pr){et(Te("Error formatting list.",Pr))}return it}const Yn=["localeMatcher","style","type","fallback"];function Jn({locale:Ze,onError:et},be,it,or={}){Intl.DisplayNames||et(Te(`Intl.DisplayNames is not available in this environment.
Try polyfilling it using "@formatjs/intl-displaynames"
`));const Ir=pe(or,Yn);try{return be(Ze,Ir).of(it)}catch(Pr){et(Te("Error formatting display name.",Pr))}}const kn=nt()||vr;function Qn(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 ri(Ze,et){const be=Ce(et),it=Object.assign(Object.assign({},Wt),Ze),{locale:or,defaultLocale:kr,onError:Ir}=it;return or?!Intl.NumberFormat.supportedLocalesOf(or).length&&Ir?Ir(Te(`Missing locale data for locale: "${or}" in Intl.NumberFormat. Using default locale: "${kr}" as fallback. See https://github.com/formatjs/react-intl/blob/master/docs/Getting-Started.md#runtime-requirements for more details`)):!Intl.DateTimeFormat.supportedLocalesOf(or).length&&Ir&&Ir(Te(`Missing locale data for locale: "${or}" in Intl.DateTimeFormat. Using default locale: "${kr}" as fallback. See https://github.com/formatjs/react-intl/blob/master/docs/Getting-Started.md#runtime-requirements for more details`)):(Ir&&Ir(Te(`"locale" was not configured, using "${kr}" as fallback. See https://github.com/formatjs/react-intl/blob/master/docs/API.md#intlshape for more details`)),it.locale=it.defaultLocale||"en"),Object.assign(Object.assign({},it),{formatters:be,formatNumber:yt.bind(null,it,be.getNumberFormat),formatNumberToParts:Bt.bind(null,it,be.getNumberFormat),formatRelativeTime:At.bind(null,it,be.getRelativeTimeFormat),formatDate:Lr.bind(null,it,be.getDateTimeFormat),formatDateToParts:mr.bind(null,it,be.getDateTimeFormat),formatTime:Nr.bind(null,it,be.getDateTimeFormat),formatTimeToParts:Zr.bind(null,it,be.getDateTimeFormat),formatPlural:_n.bind(null,it,be.getPluralRules),formatMessage:Nt.bind(null,it,be),formatHTMLMessage:br.bind(null,it,be),formatList:Yr.bind(null,it,be.getListFormat),formatDisplayName:Jn.bind(null,it,be.getDisplayNames)})}class Ai extends r.PureComponent{constructor(){super(...arguments),this.cache=Tt(),this.state={cache:this.cache,intl:ri(Qn(this.props),this.cache),prevConfig:Qn(this.props)}}static getDerivedStateFromProps(et,{prevConfig:be,cache:it}){const or=Qn(et);return kn(be,or)?null:{intl:ri(or,it),prevConfig:or}}render(){return It(this.state.intl),r.createElement(a,{value:this.state.intl},this.props.children)}}Ai.displayName="IntlProvider",Ai.defaultProps=Wt;var wi=e(19873),Ui=e(3424),oa=e.n(Ui),Vi=e(85239),zi=Object.getOwnPropertySymbols,mi=Object.prototype.hasOwnProperty,Ki=Object.prototype.propertyIsEnumerable,Dt=(Ze,et)=>{var be={};for(var it in Ze)mi.call(Ze,it)&&et.indexOf(it)<0&&(be[it]=Ze[it]);if(Ze!=null&&zi)for(var it of zi(Ze))et.indexOf(it)<0&&Ki.call(Ze,it)&&(be[it]=Ze[it]);return be};let vt;const Zi=!0,Hi=new(oa()),hi=Symbol("LANG_CHANGE"),Fa=(Ze,et="")=>Object.keys(Ze).reduce((be,it)=>{const or=Ze[it],kr=et?`${et}.${it}`:it;return typeof or=="string"?be[kr]=or:Object.assign(be,Fa(or,kr)),be},{}),Ti={},si=(Ze,et,be)=>{var it,or,kr,Ir;if(!Ze)return;const Pr=(it=Ti[Ze])!=null&&it.messages?Object.assign({},Ti[Ze].messages,et):et,{momentLocale:Wr=(or=Ti[Ze])==null?void 0:or.momentLocale,antd:wn=(kr=Ti[Ze])==null?void 0:kr.antd}=be||{},gr=(Ir=Ze.split("-"))==null?void 0:Ir.join("-");Ti[Ze]={messages:Pr,locale:gr,momentLocale:Wr,antd:wn},gr===Ot()&&Hi.emit(hi,gr)},Dn=Ze=>(0,wi.We)().applyPlugins({key:"locale",type:"modify",initialValue:Ze}),rr=Ze=>{const be=Dn(Ti[Ze]),{cache:it}=be,or=Dt(be,["cache"]);return ri(or,it)},_t=(Ze,et)=>vt&&!et&&!Ze?vt:(Ze||(Ze=Ot()),Ze&&Ti[Ze]?rr(Ze):Ti["zh-CN"]?rr("zh-CN"):ri({locale:"zh-CN",messages:{}})),rt=Ze=>{vt=_t(Ze,!0)},Ot=()=>{const Ze=Dn({});return typeof(Ze==null?void 0:Ze.getLocale)=="function"?Ze.getLocale():(navigator.cookieEnabled&&typeof localStorage!="undefined"&&Zi?window.localStorage.getItem("umi_locale"):"")||void 0||"zh-CN"},ht=()=>{const Ze=Ot();return["he","ar","fa","ku"].filter(it=>Ze.startsWith(it)).length?"rtl":"ltr"},lr=(Ze,et=!0)=>{(()=>{if(Ot()!==Ze){if(navigator.cookieEnabled&&typeof window.localStorage!="undefined"&&Zi&&window.localStorage.setItem("umi_locale",Ze||""),rt(Ze),et)window.location.reload();else if(Hi.emit(hi,Ze),window.dispatchEvent){const it=new Event("languagechange");window.dispatchEvent(it)}}})()};let fr=!0;const Cr=(Ze,et)=>(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),vt||rt(Ot()),vt.formatMessage(Ze,et)),Gr=()=>Object.keys(Ti)},27158: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(46801),f=e(59301);const o=h=>new Promise((u,a)=>{if(window.RTCPeerConnection=window.RTCPeerConnection||window.mozRTCPeerConnection||window.webkitRTCPeerConnection,typeof window.RTCPeerConnection=="undefined")return a("WebRTC not supported by browser");let x=new RTCPeerConnection,p=[];x.createDataChannel(""),x.createOffer().then(y=>x.setLocalDescription(y)).catch(y=>a(y)),x.onicecandidate=y=>{console.log("event:",y);const _=[];if(!y||!y.candidate){if(console.log("ips",p),p.length==0||!(0,c.t)(p[0])){const H=r.default.info({title:f.createElement(i.Z,null,f.createElement(l.Z,{flex:"1"},"\u63D0\u793A"),f.createElement(l.Z,null,f.createElement("span",{className:"iconfont icon-yiguanbi1 current c-grey-c",onClick:()=>H.destroy()}))),icon:null,width:500,className:"custom-modal-divider",content:f.createElement(i.Z,null,f.createElement(l.Z,null,"\u5F53\u524D\u8003\u8BD5\u5DF2\u542F\u7528\u9650\u5236\u8003\u8BD5\u8BBF\u95EEIP\uFF08\u9650\u5236\u516C\u5171IP+\u5185\u7F51IP\uFF09\u3002",(h.ip_limit==="inner"||h.ip_bind)&&f.createElement(f.Fragment,null,f.createElement("span",{className:"c-red"},"\uFF08\u53EA\u5141\u8BB8\u5728Chrome\u8C37\u6B4C\u6D4F\u89C8\u5668\u4F5C\u7B54\uFF0C\u5E76\u4E14\u9700\u8981\u5B89\u88C5WebRTC Leak Prevent\u63D2\u4EF6\uFF09"),f.createElement("br",null),f.createElement(Button,{onClick:showInstallWebRtcDoc,type:"link"},"\u5982\u4F55\u5B89\u88C5WebRTC Leak Prevent\u63D2\u4EF6?"))))});return a("WebRTC disabled or restricted by browser")}const W=p.filter(H=>(0,c.t)(H));return!W||!W.length?a("IP\u83B7\u53D6\u5931\u8D25"):u(W.join(""))}let b=y.candidate.candidate.split(" "),[S,k,R,A,I,M,,B,...N]=b,V=["rtp","rtpc"];if(console.log("event:",y),p.some(W=>W==I)||p.push(I),console.log(" candidate: "+S.split(":")[1]),console.log(" component: "+V[k-1]),console.log(" protocol: "+R),console.log(" priority: "+A),console.log(" ip: "+I),console.log(" port: "+M),console.log(" type: "+B),N.length){console.log("attributes: ");for(let W=0;W<N.length;W+=2)console.log("> "+N[W]+": "+N[W+1])}}})},2524:function(d,v,e){"use strict";var r=e(59301),i=e(4977),l=e(3113),c=Object.defineProperty,f=Object.defineProperties,o=Object.getOwnPropertyDescriptors,h=Object.getOwnPropertySymbols,u=Object.prototype.hasOwnProperty,a=Object.prototype.propertyIsEnumerable,x=(b,S,k)=>S in b?c(b,S,{enumerable:!0,configurable:!0,writable:!0,value:k}):b[S]=k,p=(b,S)=>{for(var k in S||(S={}))u.call(S,k)&&x(b,k,S[k]);if(h)for(var k of h(S))a.call(S,k)&&x(b,k,S[k]);return b},y=(b,S)=>f(b,o(S));const _=({img:b,buttonProps:S={},styles:k={},customText:R,ButtonText:A,ButtonClick:I,Buttonclass:M,ButtonTwo:B,imgStyles:N,loading:V=!1})=>r.createElement("section",{className:"tc animated fadeIn",style:p(p({},{color:"#999",margin:"100px auto",visibility:V?"hidden":"visible"}),k)},r.createElement("img",{src:b||i,style:y(p({},N),{pointerEvents:"none",userSelect:"none"})}),r.createElement("p",{className:"mt20 font14"},R||"\u6682\u65F6\u8FD8\u6CA1\u6709\u76F8\u5173\u6570\u636E\u54E6!"),A&&r.createElement(l.ZP,p({className:M,onClick:I},S),A),B&&B);v.Z=_},21185:function(d,v,e){"use strict";e.d(v,{Z:function(){return ae}});var r=e(59301),i={wrp:"wrp___dq7YK",bgBlack:"bgBlack___ARIUV",monaco:"monaco___VnZC3",darkBlue:"darkBlue___UprA9",close:"close___LKoWu",embed:"embed___hvpEJ"},l=e(3113),c=e(54476),f={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M862 465.3h-81c-4.6 0-9 2-12.1 5.5L550 723.1V160c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v563.1L255.1 470.8c-3-3.5-7.4-5.5-12.1-5.5h-81c-6.8 0-10.5 8.1-6 13.2L487.9 861a31.96 31.96 0 0048.3 0L868 478.5c4.5-5.2.8-13.2-6-13.2z"}}]},name:"arrow-down",theme:"outlined"},o=f,h=e(7657),u=function(oe,J){return r.createElement(h.Z,(0,c.Z)({},oe,{ref:J,icon:o}))},a=r.forwardRef(u),x=a,p=e(50258),y=e(6848),_=e(65862),b=e(87513),S=e(2524),k=e(74128),R=e(7310),A=e(59301),I=Object.defineProperty,M=Object.getOwnPropertySymbols,B=Object.prototype.hasOwnProperty,N=Object.prototype.propertyIsEnumerable,V=(ne,oe,J)=>oe in ne?I(ne,oe,{enumerable:!0,configurable:!0,writable:!0,value:J}):ne[oe]=J,W=(ne,oe)=>{for(var J in oe||(oe={}))B.call(oe,J)&&V(ne,J,oe[J]);if(M)for(var J of M(oe))N.call(oe,J)&&V(ne,J,oe[J]);return ne},H=(ne,oe,J)=>new Promise((q,K)=>{var se=le=>{try{Q(J.next(le))}catch(z){K(z)}},ee=le=>{try{Q(J.throw(le))}catch(z){K(z)}},Q=le=>le.done?q(le.value):Promise.resolve(le.value).then(se,ee);Q((J=J.apply(ne,oe)).next())}),ae=({editOffice:ne="view",data:oe,theme:J,type:q,filename:K,monacoEditor:se,className:ee,style:Q,close:le,onClose:z,hasMask:$,disabledDownload:ie,onImgDimensions:_e,showNodata:Ae,recordInfo:Pe})=>{const[We,$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"),[Lt,bt]=(0,r.useState)(""),[kt,Zt]=(0,r.useState)(),Mt=window.ENV==="build"?"/react/build":"",tr=location.host.startsWith("localhost")?k.Z.PROXY_SERVER:k.Z.API_SERVER,wt=10*(1024*1024),Ft=(0,r.useRef)();oe!=null&&oe.startsWith("/api")&&q!=="txt"&&(oe=k.Z.API_SERVER+oe);const tt=Ne=>Ne.substring(Ne.lastIndexOf("/")+1).split(".").pop();K&&se&&(se.filename=K),(0,r.useEffect)(()=>{var Ne,xe;const ke=(xe=(Ne=document.cookie)==null?void 0:Ne.replace(/\s/g,""))==null?void 0:xe.split(";");ke==null||ke.map(Ge=>{let He=Ge.split("=");He[0]==="_educoder_session"&&bt(He[1])})},[]),(0,r.useEffect)(()=>{q==="office"&&(oe.indexOf("bigfilescdn.")>-1||oe.indexOf("bigfiles1")>-1?Zt({url:oe,fileType:tt(oe),model:oe.indexOf("model=edit")?"edit":"view"}):gt())},[q,oe]);const gt=()=>H(void 0,null,function*(){console.log("data:",oe);let Ne=oe;oe.startsWith("http")||(Ne=location.origin+Ne);let xe=new URL(Ne).pathname.split("/").pop();const ke=yield(0,b.gJ)({attachment_id:xe});ke.url=tr+ke.url,Zt(ke)}),ft=()=>{if(oe.startsWith("http")||oe.startsWith("blob:")){Qe();return}(0,_.Nd)(K||"educoder",decodeURIComponent(oe))},Qe=()=>{Pe&&(0,R.fc)({id:Pe==null?void 0:Pe.id,watch_type:1,course_id:Pe==null?void 0:Pe.course_id}),(0,_.Nd)(K||"educoder",decodeURIComponent(oe))};return console.log(oe,"data"),A.createElement("div",{style:W({},Q||{}),className:`${$&&i.bgBlack} ${q?i.wrp:"hide"}`},le&&A.createElement("div",{className:i.close,ref:Ft},!!_e&&A.createElement(y.Z,{title:"\u70B9\u51FB\u5BF9\u56FE\u7247\u8FDB\u884C\u6279\u6CE8",getPopupContainer:()=>Ft.current},A.createElement("span",{onClick:()=>{z(),_e()}},A.createElement("i",{className:"icon-yulanpizhu"}))),!ie&&A.createElement(y.Z,{title:"\u70B9\u51FB\u4E0B\u8F7D\u6B64\u6587\u4EF6",getPopupContainer:()=>Ft.current},A.createElement("span",{onClick:Qe},A.createElement("i",{className:"icon-quxiaozhiding"}))),A.createElement(y.Z,{title:"\u5173\u95ED",getPopupContainer:()=>Ft.current},A.createElement("span",{className:"",onClick:z},A.createElement("i",{className:"icon-guanbi1"})))),A.createElement("div",{className:`${i[ee]} ${ee} ${i.monaco} ${q==="txt"?"show":"hide"}`},q==="txt"&&A.createElement(A.Fragment,null,A.createElement(p.ZP,W({},se)))),q==="audio"&&A.createElement("audio",{src:(oe==null?void 0:oe.indexOf("http"))>-1||oe!=null&&oe.startsWith("/api")?oe:`data:image/png;base64,${oe}`,autoPlay:!0}),q==="video"&&A.createElement(A.Fragment,null,(oe==null?void 0:oe.indexOf("http"))>-1||oe!=null&&oe.startsWith("/api")?A.createElement("video",{controls:!0,src:`${oe}`,autoPlay:!0}):A.createElement("video",{controls:!0,src:`data:video/mp4;base64,${oe}`,autoPlay:!0})),q==="office"&&kt&&A.createElement("iframe",{src:`${Mt}/office.html?key=${kt.key}&url=${btoa(kt.url)}&callbackUrl=${tr+(kt.callbackUrl||"")}&fileType=${kt.fileType}&title=${kt.title||""}&model=${ne}&officeServer=${k.Z.ONLYOFFICE}&disabledDownload=${!!ie}`}),q==="html"&&A.createElement("iframe",{src:oe+"&disposition=inline"}),q==="pdf"&&A.createElement("iframe",{src:`${Mt}/js/pdfview/index.html?filename=${K||"educoder.pdf"}&url=${encodeURIComponent(oe)}&disabledDownload=${!!ie}`}),q==="image"&&A.createElement("img",{src:(oe==null?void 0:oe.indexOf("http"))>-1||oe!=null&&oe.startsWith("/api")?oe:`data:image/png;base64,${oe}`}),(q==="other"||q==="download")&&A.createElement(A.Fragment,null,Ae?A.createElement(S.Z,{customText:"\u5F53\u524D\u6587\u4EF6\u4E0D\u652F\u6301\u9884\u89C8\uFF0C\u53EF\u70B9\u51FB\u4E0B\u8F7D\u67E5\u770B",ButtonTwo:A.createElement(l.ZP,{icon:A.createElement("i",{className:"iconfont icon-xiazai4 font14"}),type:"primary",size:"middle",onClick:ft,disabled:ie},"\u4E0B\u8F7D")}):A.createElement(l.ZP,{type:"primary",size:"middle",onClick:ft,disabled:ie},A.createElement(x,null),"\u70B9\u51FB\u4E0B\u8F7D")))}},6339:function(d,v,e){"use strict";e.d(v,{z:function(){return W},Z:function(){return H}});var r=e(59301),i=e(48850),l=e(49142),c=e(64018),f=e(17030),o=e(74128),h=e(65862),u=e(15342),a=e(1012),x=e(21185),p=e(59301),_=({html:ae})=>{const ne=(0,r.useRef)(null),oe=(0,r.useRef)(null),J=`.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 q=ne.current.attachShadow({mode:"open"});oe.current=document.createElement("div"),oe.current.className="markdown-body",oe.current.innerHTML=ae,q.appendChild(oe.current);const K=document.createElement("style");return K.textContent=J,q.appendChild(K),()=>{q.innerHTML=""}},[]),(0,r.useEffect)(()=>{oe.current&&(oe.current.innerHTML=ae)},[ae]),p.createElement("div",{ref:ne})},b=Object.defineProperty,S=Object.getOwnPropertySymbols,k=Object.prototype.hasOwnProperty,R=Object.prototype.propertyIsEnumerable,A=(ae,ne,oe)=>ne in ae?b(ae,ne,{enumerable:!0,configurable:!0,writable:!0,value:oe}):ae[ne]=oe,I=(ae,ne)=>{for(var oe in ne||(ne={}))k.call(ne,oe)&&A(ae,oe,ne[oe]);if(S)for(var oe of S(ne))R.call(ne,oe)&&A(ae,oe,ne[oe]);return ae};const M="@\u2581\u2581@",B="@\u2581@",N=/<pre[^>]*>/g;function V(ae){let ne=document.createElement("div");return ne.innerHTML=ae,ne.childNodes.length===0?"":ne.childNodes[0].nodeValue}const W=(ae,ne)=>{ae=ae||"";const oe=/(?:https?:\/\/[^\/]+)?\/api\/attachments\/([A-Za-z0-9+/=]+)(\?.*?)?\)|(?:https?:\/\/[^\/]+)?\/api\/attachments\/([A-Za-z0-9+/=]+)(\?.*?)?|(?:https?:\/\/[^\/]+)?\/attachments\/download\/([A-Za-z0-9+/=]+)(\?.*?)?\//g,J=/\"(?:https?:\/\/[^\/]+)?\/api\/attachments\/([A-Za-z0-9+/=]+)(\?.*?)?|\"(?:https?:\/\/[^\/]+)?\/attachments\/download\/([A-Za-z0-9+/=]+)(\?.*?)?\//g,q=/\(\s+(?:https?:\/\/[^\/]+)?\/files\/uploads\/([A-Za-z0-9+/=]+)(\?.*?)?|\"(?:https?:\/\/[^\/]+)?\/files\/uploads\/([A-Za-z0-9+/=]+)(\?.*?)?\//g,K=/(?:https?:\/\/[^\/]+)?\/attachments\/download\/([A-Za-z0-9+/=]+)(\?.*?)?\//g;return ne?ae.replaceAll("https://www.educoder.net","").replaceAll("https://www-cdn.educoder.net","").replaceAll("//api/attachments","/api/attachments").replace(oe,(se,ee,Q,le,z,$,ie)=>{const _e=ee||le||$,Ae=Q||z||ie||"?";return o.Z.API_SERVER+"/api/attachments/"+_e+Ae+"&t="+(0,h.Jn)(_e,Date.now())+(se.indexOf(")")>-1?")":"&")}).replaceAll('src="(','src="').replaceAll("src='(",'src="'):(ae=ae.replace(K,(se,ee,Q,le,z,$,ie)=>{const _e=ee||le||$,Ae=Q||z||ie||"?";return o.Z.API_SERVER+"/attachments/download/"+_e+Ae+"&t="+(0,h.Jn)(_e,Date.now())+(se.indexOf(")")>-1?")":"&")}).replace(oe,(se,ee,Q,le,z,$,ie)=>{const _e=ee||le||$,Ae=Q||z||ie||"?";return o.Z.API_SERVER+"/api/attachments/"+_e+Ae+"&t="+(0,h.Jn)(_e,Date.now())+(se.indexOf(")")>-1?")":"&")}).replace(J,(se,ee,Q,le,z)=>{const $=ee||le,ie=Q||z||"";return'"'+o.Z.API_SERVER+"/api/attachments/"+$+ie+$+ie+"&t="+(0,h.Jn)($,Date.now())}).replace(q,(se,ee,Q,le,z)=>{const $=ee||le,ie=Q||z||"";return"("+o.Z.API_SERVER+"/files/uploads/"+$+ie+$+ie+"&t="+(0,h.Jn)($,Date.now())}).replaceAll('src="(','src="').replaceAll("src='(",'src="').replaceAll("http://video.educoder","https://video.educoder").replaceAll("http://www.educoder.net/api","https://data.educoder.net/api").replaceAll("https://www.educoder.net/api","https://data.educoder.net/api").replace(/\r\n/g,`
`),ae)};var H=({value:ae="",className:ne,showTextOnly:oe,showLines:J,style:q={},stylesPrev:K={},highlightKeywords:se,showProgramFill:ee,isProgramFill:Q,disabledFill:le=!1,programFillValue:z,onFillChange:$=Ae=>{},onFillBlur:ie=()=>{},onFillFocus:_e=()=>{}})=>{let Ae=String(ae);const[Pe,We]=(0,r.useState)(""),[$e,Lt]=(0,r.useState)("office"),[bt,kt]=(0,r.useState)([]),Zt=(0,r.useRef)("a"+(0,a.Z)()),Mt={},tr=(He,Ye,dt)=>{const xt=document.createElement(He===B?"input":"textarea");xt.style.width="100%",xt.style.height=He===B?"40px":"151px",xt.rows=5,xt.spellcheck=!1,xt.name="edu-program-fill",xt.placeholder="\u8BF7\u8F93\u5165",xt.dataset.id=Ye;const nr=Object.keys(Mt).length;return Mt[nr]=xt,`<span class="edu-program-fill-wrap ${He===B?"":"show"}" style="width:${He===B?"600px":"100%"}" title=${dt||""}><span>${xt.outerHTML}<span class="edu-program-fill-score" style="margin:0 6px"></span></span></span>`};function je(He){return He=He.replace(/!\[.*?\]\(.*?\)/g,""),He=He.replace(/\[.*?\]\(.*?\)/g,""),He=He.replace(new RegExp("<iframe.*?<\\/iframe>","gs"),""),He=He.replace(/<embed.*?>/g,""),He=He.replace(/<img.*?>/g,""),He=He.replace(new RegExp("<video.*?>.*?<\\/video>","gs"),""),He=He.replace(new RegExp("<audio.*?>.*?<\\/audio>","gs"),""),He=He.replace(new RegExp("<style.*?>.*?<\\/style>","gs"),""),He=He.replace(new RegExp("<script.*?>.*?<\\/script>","gs"),""),He}const wt=He=>He.replace(/<style.*?>([\s\S]+?)<\/style>/gim,function(Ye,dt){let xt=dt.replace(/(\n|\r)/g,"").split("}"),nr=[];return xt.map(qt=>{qt!=""&&nr.push(`.${Zt.current} ${qt}`)}),`<style>${nr.join("}")}</style>`}),Ft=(0,r.useMemo)(()=>{try{const xt=/\(\s+\/api\/attachments\/|\(\/api\/attachments\//g,nr=/\"\/api\/attachments\/|\"\/attachments\/download\//g,qt=/\(\s+\/files\/uploads\/|\"\/files\/uploads\//g,Me=/\(\/attachments\/download\//g;Ae=Ae.replace(Me,"("+o.Z.API_SERVER+"/attachments/download/").replace(xt,"("+o.Z.API_SERVER+"/api/attachments/").replace(nr,'"'+o.Z.API_SERVER+"/api/attachments/").replace(qt,'"'+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(xt){}if(ee){let xt=-1;return Ae=Ae.replaceAll("<","&lt;").replaceAll(">","&gt;").replace(/(@▁▁@|@▁@)/g,function(nr,qt,Me){var qe;return++xt,tr(nr,xt,(qe=z==null?void 0:z[xt])==null?void 0:qe.value.replaceAll("<","&lt;").replaceAll(">","&gt;"))}),`<pre style="background:#fff;padding:4px">${wt(Ae||"")}</pre>`}let He=wt(Ae);He=(0,l.ZP)(He);const Ye=(0,l.ez)();Ae.match(/\[TOC\]/)&&(He=He.replace("<p>[TOC]</p>",(0,l.Qv)()),(0,l.Iy)()),He=He.replace(/(__special_katext_id_\d+__)/g,(xt,nr)=>{const{type:qt,expression:Me}=Ye[nr];return(0,u.renderToString)(V(Me)||"",{displayMode:qt==="block",throwOnError:!1,output:"html"})}),He=He.replace(/▁/g,"\u2581\u2581\u2581\u2581\u2581"),(0,l.AL)();const dt=document.createElement("div");if(dt.innerHTML=He,oe)return dt.innerText;if(se){const xt=se.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");return Qe(dt,xt),dt.innerHTML}return setTimeout(()=>ke(),500),dt.innerHTML},[Ae,se]);(0,r.useEffect)(()=>{Ne.current&&Ne.current.querySelectorAll(["input","textarea"]).forEach(Ye=>{Ye.oninput=tt,Ye.onblur=gt,Ye.onfocus=ft})},[bt]),(0,r.useEffect)(()=>{var He,Ye,dt,xt,nr;if(z!=null&&z.length)try{const qt=Ne.current.querySelectorAll(".edu-program-fill-score"),Me=Ne.current.querySelectorAll('[name="edu-program-fill"]');for(const[qe,Vt]of Me.entries())Vt.value=((He=z==null?void 0:z[qe])==null?void 0:He.value)||"",((Ye=z==null?void 0:z[qe])==null?void 0:Ye.type)==="warning"?Vt.className="program-fill-warning":((dt=z==null?void 0:z[qe])==null?void 0:dt.type)==="success"?Vt.className="program-fill-success":Vt.className="";for(const[qe,Vt]of qt.entries())Vt.innerHTML=(xt=z==null?void 0:z[qe])!=null&&xt.score?`${(nr=z==null?void 0:z[qe])==null?void 0:nr.score}\u5206`:"";kt(z)}catch(qt){console.log(qt,"error")}},[z]);const tt=He=>{bt[He.target.dataset.id]=bt[He.target.dataset.id]||{},bt[He.target.dataset.id].value=He.target.value,kt([...bt]),$(bt,He.target.dataset.id)},gt=He=>{bt[He.target.dataset.id]=bt[He.target.dataset.id]||{},bt[He.target.dataset.id].value=He.target.value,kt([...bt]),ie(bt,He.target.dataset.id)},ft=He=>{bt[He.target.dataset.id]=bt[He.target.dataset.id]||{},bt[He.target.dataset.id].value=He.target.value,kt([...bt]),_e(bt,He.target.dataset.id)};function Qe(He,Ye){return He.childNodes.forEach(dt=>{var xt;if(dt.childNodes.length>0)Qe(dt,Ye);else if(dt.nodeName!=="IMG")if(dt.innerHTML)dt.innerHTML=(xt=dt.innerHTML)==null?void 0:xt.replace(new RegExp(Ye,"gi"),'<span style="color:#0152d9;background-color:#1890ff33">$&</span>');else{const nr=document.createElement("span");nr.innerHTML=dt.textContent.replace(new RegExp(Ye,"gi"),'<span style="color:#0152d9;background-color:#1890ff33">$&</span>'),dt.replaceWith(nr)}})}const Ne=(0,r.useRef)();l.jb.WebkitLineClamp=J,J&&(q=I(I({},q),l.jb));function xe(He){let Ye=He.target;if(Ye.tagName.toUpperCase()==="A"){let dt=Ye.getAttribute("href");if(dt.indexOf("office")>-1)He.preventDefault(),We(dt),Lt("office");else if(dt.indexOf("application/pdf")>-1)He.preventDefault(),We(dt),Lt("pdf");else if(dt.indexOf("text/html")>-1)He.preventDefault(),We(dt),Lt("html");else if(dt.startsWith("#")){He.preventDefault();let xt=document.getElementById(dt.replace("#",""));xt&&xt.scrollIntoView(!0)}}}const ke=()=>{var He;const Ye=(He=Ne.current)==null?void 0:He.querySelectorAll("video");Ye==null||Ye.forEach(dt=>{if(dt.oncontextmenu=()=>!1,dt.src.indexOf(".m3u8")>-1&&!dt.canPlayType("application/vnd.apple.mpegurl")){if(f.ZP.isSupported()){var xt=new f.ZP;xt.loadSource(dt.src),xt.attachMedia(dt)}}})};(0,r.useEffect)(()=>{if(Ne.current&&Ft&&Ft.match(N)&&window.PR.prettyPrint(),Ne.current)return Ne.current.addEventListener("click",xe),()=>{var He;(He=Ne.current)==null||He.removeEventListener("click",xe),(0,l.AL)(),(0,l.Iy)()}},[Ft,Ne.current,xe]),(0,r.useEffect)(()=>{var He;const Ye=dt=>{dt.preventDefault(),dt.clipboardData.setData("text",window.getSelection().toString())};return(He=Ne.current)==null||He.addEventListener("copy",Ye),()=>{var dt;(dt=Ne.current)==null||dt.removeEventListener("copy",Ye)}},[Ne.current]);const Ge=He=>/<style[\s\S]*?>/i.test(He||"");return r.createElement(r.Fragment,null,oe&&r.createElement("div",{ref:Ne},Ft),!oe&&!Ge(Ft)&&r.createElement("div",{ref:Ne,style:I({},q),className:`${ne||""} ${le?"disabled-fill":""} markdown-body ${Zt.current}`,dangerouslySetInnerHTML:{__html:Ft}}),!oe&&Ge(Ft)&&r.createElement(_,{html:Ft}),r.createElement(x.Z,{close:!0,data:Pe,type:Pe!=null&&Pe.length?$e:"",style:I({},K),onClose:()=>We("")}))}},50258:function(d,v,e){"use strict";e.d(v,{SV:function(){return kt},ZP:function(){return bt}});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=(Zt,Mt,tr)=>new Promise((je,wt)=>{var Ft=ft=>{try{gt(tr.next(ft))}catch(Qe){wt(Qe)}},tt=ft=>{try{gt(tr.throw(ft))}catch(Qe){wt(Qe)}},gt=ft=>ft.done?je(ft.value):Promise.resolve(ft.value).then(Ft,tt);gt((tr=tr.apply(Zt,Mt)).next())});const p={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"]}},y=(Zt,Mt,tr,je)=>{const wt=Mt.getValueInRange({startLineNumber:1,startColumn:1,endLineNumber:tr.lineNumber,endColumn:tr.column});return Array.from(new Set(wt.match(/\b\w{2,}\b/g)||[])).map(tt=>({label:tt,kind:Zt.languages.CompletionItemKind.Text,insertText:tt,range:je}))},_=(Zt,Mt,tr,je)=>{Zt.languages.registerCompletionItemProvider(Mt,{provideCompletionItems(wt,Ft){const tt=wt.getWordUntilPosition(Ft),gt={startLineNumber:Ft.lineNumber,endLineNumber:Ft.lineNumber,startColumn:tt.startColumn,endColumn:tt.endColumn},ft=wt.getLineContent(Ft.lineNumber).substring(tt.startColumn-2,tt.endColumn);return{suggestions:[...y(Zt,wt,Ft,gt),...tr.map(Ne=>({label:Ne,kind:Zt.languages.CompletionItemKind.Keyword,documentation:Ne,insertText:Ne,insertTextRules:Zt.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:gt})),...je.map(Ne=>({label:Ne.label,kind:Zt.languages.CompletionItemKind.Snippet,documentation:Ne.content,insertText:ft.startsWith("#")?Ne.content.replace(/#/,""):Ne.content,insertTextRules:Zt.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:gt}))]}}})};var b=Zt=>{p.languages.forEach(Mt=>{Zt.languages.registerDocumentFormattingEditProvider(Mt,{provideDocumentFormattingEdits(tr){return x(this,null,function*(){const je=a()(tr.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:tr.getFullModelRange(),text:je}]})}})}),_(Zt,"java",c.keywords,c.quickKey),_(Zt,"cpp",f.keywords,f.quickKey),_(Zt,"c",l.keywords,[]),_(Zt,"python",o.keywords,o.quickKey),_(Zt,"scala",h.keywords,h.quickKey)};const S="\u8BE5\u4EFB\u52A1\u5173\u5361\u8BBE\u7F6E\u4E86\u7981\u6B62\u590D\u5236\u7C98\u8D34\uFF0C\u8BF7\u624B\u52A8\u8F93\u5165\u4EE3\u7801\u3002";var k=Object.defineProperty,R=(Zt,Mt,tr)=>Mt in Zt?k(Zt,Mt,{enumerable:!0,configurable:!0,writable:!0,value:tr}):Zt[Mt]=tr,A=(Zt,Mt,tr)=>R(Zt,typeof Mt!="symbol"?Mt+"":Mt,tr);const I=class a0{constructor(Mt,tr,je){this.placeholder=Mt,this.editor=tr,this.monaco=je,tr.onDidChangeModelContent(()=>this.onDidChangeModelContent()),this.onDidChangeModelContent()}onDidChangeModelContent(){this.editor.getValue()===""?this.editor.addContentWidget(this):this.editor.removeContentWidget(this)}getId(){return a0.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)}};A(I,"ID","editor.widget.placeholderHint");var B=I,N=e(96236),V=e(8591),W=e(6848),H=e(89392),ae=e(77254),ne=e(56102),oe=Object.defineProperty,J=Object.defineProperties,q=Object.getOwnPropertyDescriptors,K=Object.getOwnPropertySymbols,se=Object.prototype.hasOwnProperty,ee=Object.prototype.propertyIsEnumerable,Q=(Zt,Mt,tr)=>Mt in Zt?oe(Zt,Mt,{enumerable:!0,configurable:!0,writable:!0,value:tr}):Zt[Mt]=tr,le=(Zt,Mt)=>{for(var tr in Mt||(Mt={}))se.call(Mt,tr)&&Q(Zt,tr,Mt[tr]);if(K)for(var tr of K(Mt))ee.call(Mt,tr)&&Q(Zt,tr,Mt[tr]);return Zt},z=(Zt,Mt)=>J(Zt,q(Mt)),$=(Zt,Mt)=>{var tr={};for(var je in Zt)se.call(Zt,je)&&Mt.indexOf(je)<0&&(tr[je]=Zt[je]);if(Zt!=null&&K)for(var je of K(Zt))Mt.indexOf(je)<0&&ee.call(Zt,je)&&(tr[je]=Zt[je]);return tr},ie=(Zt,Mt,tr)=>new Promise((je,wt)=>{var Ft=ft=>{try{gt(tr.next(ft))}catch(Qe){wt(Qe)}},tt=ft=>{try{gt(tr.throw(ft))}catch(Qe){wt(Qe)}},gt=ft=>ft.done?je(ft.value):Promise.resolve(ft.value).then(Ft,tt);gt((tr=tr.apply(Zt,Mt)).next())});function _e(Zt){return/^\d+$/.test(Zt)?`${Zt}px`:Zt}function Ae(){}let Pe=!1;const We={"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 $e(Zt=[]){let Mt=Zt;if(Array.isArray(Zt)){for(let tr=0;tr<Zt.length;tr++){let je=We[Zt[tr]];if(je)return je}return Mt[0]}return We[Mt]||Mt}let Lt=null;var bt=Zt=>{var Mt=Zt,{width:tr="100%",height:je="100%",value:wt,language:Ft="javascript",style:tt={},options:gt={},overrideServices:ft={},theme:Qe="vs-dark",onEditBlur:Ne,isCopy:xe=!1,onSave:ke,autoHeight:Ge=!1,forbidCopy:He=!1,onChange:Ye=Ae,editorDidMount:dt=Ae,onFocus:xt=Ae,onBreakPoint:nr=Ae,breakPointValue:qt=[],filename:Me="educoder.txt",errorLine:qe,errorContent:Vt="",highlightLine:Rt,openBreakPoint:zt=!1,placeholder:Ht=""}=Mt,Ct=$(Mt,["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 Xt=(0,r.useRef)(),ze=(0,r.useRef)({}),ce=(0,r.useRef)(),pe=(0,r.useRef)(),It=(0,r.useRef)([]),Te=(0,r.useRef)(!1),ct=(0,r.useRef)(),Wt=(0,r.useRef)(),Tt=(0,r.useRef)(!1),[Ce,St]=(0,r.useState)(!1);function ye(){let Yt;return Xt.current&&(Yt=new i.Z(mt=>{for(let st of mt)(st.target.offsetHeight>0||st.target.offsetWidth>0)&&ze.current.instance.layout()}),Yt.observe(Xt.current)),Yt}function Je(){V.ZP.warning({content:decodeURIComponent(S),key:"monaco-editor-tip"})}const yt=()=>{let Yt=ze.current.instance;if(wt!=null&&Yt&&Ce){const mt=Yt.getModel();mt&&wt!==mt.getValue()&&(Pe=!0,mt.setValue(wt),Yt.layout(),Pe=!1)}};(0,r.useEffect)(()=>{const Yt=ae.Z.subscribe("formatDocument",mt=>{var st;let lt=ze.current.instance;(st=lt==null?void 0:lt.getAction)==null||st.call(lt,"editor.action.formatDocument").run()});return window.updateMonacoValue=mt=>{Ye(mt)},Yt},[]),(0,r.useEffect)(()=>{var Yt;let mt=ze.current.instance;pe.current&&clearTimeout(pe.current),pe.current=setTimeout(()=>{yt()},500),wt&&(wt!=null&&wt.length)&&((Yt=mt==null?void 0:mt.updateOptions)==null||Yt.call(mt,{lineNumbersMinChars:Math.max(Math.floor(Math.log10(wt.split(/\r\n|\r|\n/g).length))+3,5)}))},[wt,Ce,ze.current]),(0,r.useEffect)(()=>{if(qe&&ze.current&&ze.current.instance){let mt=ze.current.instance;mt.changeViewZones(function(st){var lt=document.createElement("div");lt.style.padding="10px 20px",lt.style.width="calc(100% - 20px)",lt.className="my-error-line-wrp",lt.innerHTML=Vt,st.addZone({afterLineNumber:qe||11,heightInLines:3,domNode:lt})});var Yt={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}};mt.addOverlayWidget(Yt),mt.revealPositionInCenter({lineNumber:20,column:1})}},[qe,ze.current,Ce]);const Bt=(Yt="",mt)=>{if(!Yt||Yt.trim()==="")return!0;const lt=ze.current.instance.getModel().getLineTokens(mt);let Nt=!1;for(let br=0;br<2;br++)lt.getStandardTokenType(br)===1&&(Nt=!0);return Nt};(0,r.useEffect)(()=>{var Yt;const mt=(Yt=ze.current)==null?void 0:Yt.instance;if(mt&&Ce&&He){const st=mt.onDidBlurEditorWidget(()=>{Tt.current=!1}),lt=mt.onDidFocusEditorText(()=>{Tt.current=!0});return()=>{st.dispose(),lt.dispose()}}},[ze.current,Ce,He]),(0,r.useEffect)(()=>{var Yt;if((Yt=ze.current)!=null&&Yt.instance&&Ce&&zt){let mt=ze.current.instance,st=mt.getModel();if(!st)return;(()=>{var kn;let Qn=[],ri=[];const Ai=st.getAllDecorations();for(let Ui of Ai)Ui.options.className==="highlighted-line"&&(Qn.push((kn=Ui==null?void 0:Ui.range)==null?void 0:kn.startLineNumber),ri.push(Ui==null?void 0:Ui.id));if(Rt===Qn[0])return;st.deltaDecorations(ri,[]);const wi=st.getLineCount();Rt&&Rt<=wi&&(mt.deltaDecorations([],[{range:new Lt.Range(Rt,1,Rt,st.getLineMaxColumn(Rt)),options:{isWholeLine:!0,className:"highlighted-line"}}]),mt.revealLineInCenter(Rt))})();const Nt=(kn=!1)=>{var Qn;let ri=[],Ai=[];const wi=st.getAllDecorations();for(let Ui of wi)Ui.options.linesDecorationsClassName==="breakpoints-select"&&(ri.push((Qn=Ui==null?void 0:Ui.range)==null?void 0:Qn.startLineNumber),Ai.push(Ui==null?void 0:Ui.id));if(kn)return{lines:ri,ids:Ai};nr(ri)},br=kn=>ie(void 0,null,function*(){let Qn={range:new Lt.Range(kn,1,kn,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-select"}};yield st.deltaDecorations([],[Qn]),Nt()}),vr=kn=>ie(void 0,null,function*(){let Qn=[];const ri=mt.getLineDecorations(kn);for(let Ai of ri)Ai.options.linesDecorationsClassName==="breakpoints-select"&&Qn.push(Ai.id);yield st.deltaDecorations(Qn,[]),Nt()}),nt=kn=>{let Qn=mt.getLineDecorations(kn);for(let ri of Qn)if(ri.options.linesDecorationsClassName==="breakpoints-select")return!0;return!1};if(!(0,H.isEqual)(qt,Nt(!0).lines)){st.deltaDecorations(Nt(!0).ids,[]);const kn=qt.map(Qn=>({range:new Lt.Range(Qn,1,Qn,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-select"}}));st.deltaDecorations([],kn)}const Tr=mt.onDidChangeModelContent(kn=>{let Qn=mt.getPosition();if(Qn){let ri=Qn.lineNumber;clearTimeout(Wt.current),Wt.current=setTimeout(()=>{Bt(st.getLineContent(ri),ri)?vr(ri):nt(ri)?(vr(ri),br(ri)):Nt()},100)}}),vn=mt.onMouseDown(kn=>{var Qn,ri,Ai;if(kn.target.detail&&((Ai=(ri=(Qn=kn.target)==null?void 0:Qn.element)==null?void 0:ri.className)!=null&&Ai.includes("line-numbers"))){let wi=kn.target.position.lineNumber;if(Bt(st.getLineContent(wi),wi))return;nt(wi)?vr(wi):br(wi)}}),Gn=kn=>{let Qn={range:new Lt.Range(kn,1,kn,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-fake"}};It.current=mt.deltaDecorations(It.current,[Qn])},Yr=()=>{It.current=mt.deltaDecorations(It.current,[])},Yn=mt.onMouseMove(kn=>{var Qn,ri,Ai;if(Yr(),kn.target.detail&&((Ai=(ri=(Qn=kn.target)==null?void 0:Qn.element)==null?void 0:ri.className)!=null&&Ai.includes("line-numbers"))){let wi=kn.target.position.lineNumber;if(Bt(st.getLineContent(wi),wi))return;Gn(wi)}}),Jn=mt.onMouseLeave(()=>{Yr()});return()=>{Tr.dispose(),vn.dispose(),Yn.dispose(),Jn.dispose()}}},[ze.current,Ce,qt,Rt,zt,Ft]),(0,r.useEffect)(()=>{var Yt;(Yt=ze.current)!=null&&Yt.instance&&zt&&ze.current.instance.setPosition({lineNumber:0,column:0})},[Rt]);function Be(){let Yt=ze.current.instance;if(Yt){const mt=Yt.getSelection(),st=ze.current.pastePos||{},lt=new Lt.Range(st.startLineNumber||mt.endLineNumber,st.startColumn||mt.endColumn,st.endLineNumber||mt.endLineNumber,st.endColumn||mt.endColumn);setTimeout(()=>{Yt.executeEdits("",[{range:lt,text:""}])},300)}}function Dr(Yt){(window.navigator.platform.match("Mac")?Yt.metaKey:Yt.ctrlKey)&&Yt.keyCode==83&&(Yt.preventDefault(),ke())}const At=()=>{if(Ge&&ze.current.instance){const Yt=ze.current.instance.getContentHeight();on(Yt<je?je:Yt)}else on(je)};function Xr(Yt){var mt=document.createEvent("MouseEvents");mt.initMouseEvent("click",!0,!1,window,0,0,0,0,0,!1,!1,!1,!1,0,null),Yt.dispatchEvent(mt)}const en=Yt=>{if(!Tt.current)return;const{keyCode:mt,ctrlKey:st,metaKey:lt,target:Nt,type:br}=Yt;return(br==="paste"||(mt===67||mt===86)&&(lt||st))&&Nt.nodeName==="TEXTAREA"&&(Je(),Yt.preventDefault()),!1};function Lr(Yt,mt){var st=window.URL||window.webkitURL||window,lt=new Blob([mt]),Nt=document.createElementNS("http://www.w3.org/1999/xhtml","a");Nt.href=st.createObjectURL(lt),Nt.download=Yt,Xr(Nt)}(0,r.useEffect)(()=>{At()},[At]),(0,r.useEffect)(()=>{Xt.current&&!Ce&&Promise.all([e.e(8909),e.e(2460)]).then(e.bind(e,71448)).then(Yt=>{try{Lt=Yt,ze.current.instance=Lt.editor.create(Xt.current,{value:wt,language:$e(Ft),theme:Qe,requireConfig:{"vs/nls":{availableLanguages:{"*":"zh-cn"}}},wordWrap:!0,autoIndent:!0,contextmenu:!0,formatOnType:!0},ft);const mt=ze.current.instance;let Nt=[...N.BH._menuItems].find(Tr=>Tr[0]._debugName=="EditorContext")[1],br=["editor.action.clipboardCopyWithSyntaxHighlightingAction","editor.action.quickCommand","editor.action.clipboardCopyAction","editor.action.clipboardPasteAction","editor.action.clipboardCutAction"],vr=(Tr,vn)=>{var Gn,Yr;let Yn=Tr._first;do vn.includes((Yr=(Gn=Yn.element)==null?void 0:Gn.command)==null?void 0:Yr.id)&&Tr._remove(Yn);while(Yn=Yn.next)};if(dt(mt,Lt),setTimeout(()=>{At(),ze.current.instance.addAction({id:"d123123",label:"Download File",contextMenuGroupId:"9_cutcopypaste",run:()=>{Lr(Me||"educoder.txt",mt.getValue())}})},500),ze.current.subscription=mt.onDidChangeModelContent(Tr=>{Te.current?clearTimeout(ct.current):(At(),Ye(mt.getValue(),Tr)),ct.current=setTimeout(()=>{Te.current=!1},500)}),window.Monaco||b(Lt,$e(Ft)),He&&(vr(Nt,br),Xt.current.classList.add("noCopyPaste"),window.removeEventListener("keydown",en),window.removeEventListener("paste",en),window.addEventListener("keydown",en),window.addEventListener("paste",en)),window.Monaco=Lt,Ne&&mt.onDidBlurEditorWidget(()=>{Ne(mt.getValue())}),xt&&mt.onDidFocusEditorText(()=>{xt(mt.getValue())}),He)try{mt.onDidPaste(Tr=>{const vn=mt.getSelection(),Gn=ze.current.pastePos||{},Yr=new Lt.Range(Gn.startLineNumber||vn.endLineNumber,Gn.startColumn||vn.endColumn,Gn.endLineNumber||vn.endLineNumber,Gn.endColumn||vn.endColumn);mt.executeEdits("",[{range:Tr.range,text:""}])})}catch(Tr){}let nt=ye();return Ht&&typeof Ht=="string"&&new B(Ht,mt,Lt),St(!0),()=>{const Tr=ze.current.instance;Tr.dispose();const vn=Tr.getModel();vn&&vn.dispose(),ze.current.subscription&&ze.current.subscription.dispose(),nt.unobserve(Xt.current)}}catch(mt){}})},[]),(0,r.useEffect)(()=>{if(ze.current.instance&&Ce)return document.addEventListener("keydown",Dr,!1),()=>{document.removeEventListener("keydown",Dr)}},[ke,Ce]),(0,r.useEffect)(()=>{let Yt=ze.current.instance;if(Yt&&Ce){let mt=$e(Ft);Lt.editor.setModelLanguage(Yt.getModel(),mt)}},[Ft,Ce]),(0,r.useEffect)(()=>{ze.current.instance&&Ce&&Lt.editor.setTheme(Qe)},[Qe,Ce]),(0,r.useEffect)(()=>{let Yt=ze.current.instance;ce.current=gt,Yt&&Ce&&(Yt.updateOptions(le({},gt)),setTimeout(()=>{Yt.getModel().updateOptions(le({},gt))},200))},[JSON.stringify(gt),Ce]),(0,r.useEffect)(()=>{let Yt=ze.current.instance;Yt&&Ce&&Yt.layout()},[tr,je,Ce]);const[Nr,mr]=(0,r.useState)(_e(tr)),[Zr,on]=(0,r.useState)(_e(je)),_n=z(le({},tt),{width:Nr,height:Zr,position:"relative"});return r.createElement("div",{className:"my-monaco-editor",ref:Xt,style:_n},xe&&r.createElement(ne.CopyToClipboard,{text:wt,onCopy:()=>V.ZP.success("\u590D\u5236\u6210\u529F")},r.createElement(W.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 kt({width:Zt="100%",height:Mt="100%",original:tr,modified:je,language:wt,options:Ft={}}){const tt=(0,r.useRef)(),[gt,ft]=(0,r.useState)(null);function Qe(Ge){let He;return tt.current&&(He=new i.Z(Ye=>{for(let dt of Ye)(dt.target.offsetHeight>0||dt.target.offsetWidth>0)&&Ge.layout()}),He.observe(tt.current)),He}(0,r.useEffect)(()=>(tt.current&&Promise.all([e.e(8909),e.e(9404)]).then(e.bind(e,2550)).then(Ge=>{Lt=Ge;const He=Lt.editor.createDiffEditor(tt.current,z(le({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},Ft),{wordWrap:!0}));ft(He);let Ye=Qe(He);return()=>{He.dispose();const dt=He.getModel();dt&&dt.dispose(),Ye.unobserve(tt.current)}}),()=>{window.removeEventListener("keydown",checkPaste),window.removeEventListener("paste",checkPaste)}),[]),(0,r.useEffect)(()=>{gt&&gt.setModel({original:Lt.editor.createModel(tr,wt),modified:Lt.editor.createModel(je,wt)})},[tr,je,wt,gt]);const Ne=_e(Zt),xe=_e(Mt),ke={width:Ne,height:xe};return r.createElement("div",{className:"my-diff-editor",ref:tt,style:ke})}},86967:function(d,v,e){"use strict";e.d(v,{k:function(){return b}});var r=e(55510),i=e(8591),l=e(2001),c=Object.defineProperty,f=Object.defineProperties,o=Object.getOwnPropertyDescriptors,h=Object.getOwnPropertySymbols,u=Object.prototype.hasOwnProperty,a=Object.prototype.propertyIsEnumerable,x=(k,R,A)=>R in k?c(k,R,{enumerable:!0,configurable:!0,writable:!0,value:A}):k[R]=A,p=(k,R)=>{for(var A in R||(R={}))u.call(R,A)&&x(k,A,R[A]);if(h)for(var A of h(R))a.call(R,A)&&x(k,A,R[A]);return k},y=(k,R)=>f(k,o(R)),_=(k,R)=>{var A={};for(var I in k)u.call(k,I)&&R.indexOf(I)<0&&(A[I]=k[I]);if(k!=null&&h)for(var I of h(k))R.indexOf(I)<0&&a.call(k,I)&&(A[I]=k[I]);return A};const b=["\u8BA4\u8BC1\u4E13\u4E1A","\u8BA4\u8BC1\u5C4A\u522B"],S={namespace:"engineeringEvaluteList",state:{actionTabs:{key:"",params:{}},headerData:{dataSource:{[b[0]]:{width:235,placeholder:`\u8BF7\u9009\u62E9${b[0]}`,loading:"engineeringEvaluteList/getMajorList",dataList:[]},[b[1]]:{width:138,placeholder:`\u8BF7\u9009\u62E9${b[1]}`,loading:"engineeringEvaluteList/getYearList",dataList:[]}},active:{}},tabListData:{total:0,pageNo:1,pageSize:20,dataSource:[]}},effects:{*setActionTabs({payload:k},{call:R,put:A}){yield A({type:"save",payload:{actionTabs:p({},k)}})},*getMajorList({payload:k},{call:R,put:A,select:I}){const{userInfo:M}=yield I(B=>B.user);if(M!=null&&M.school_id){const B=yield R(r.BA,M.school_id);if(B&&B.data){const N=l.U.getItem(M==null?void 0:M.login);yield A({type:"setMajorOrYearDataSource",payload:{key:b[0],value:B.data.map(V=>({label:V.name,value:V.ec_major_school_id})),active:B.data.length>0?N[0]||B.data[0].ec_major_school_id:void 0}})}}},*getYearList({payload:k},{call:R,put:A,select:I}){const M=yield R(r.Nx,k.id),{userInfo:B}=yield I(N=>N.user);if(M&&M.data){const N=l.U.getItem(B==null?void 0:B.login);yield A({type:"setMajorOrYearDataSource",payload:{key:b[1],value:M.data.map(V=>({label:V.year,value:V.ec_year_id})),active:M.data.length>0?k.firstEnter?N[1]:M.data[0].ec_year_id:void 0}})}},*getCourseResults({payload:k={}},{call:R,put:A,select:I}){const{calc:M,page:B,per_page:N}=k,{headerData:V,tabListData:W}=yield I(ne=>ne.engineeringEvaluteList),{userInfo:H}=yield I(ne=>ne.user);let ae=V.active[b[1]];if(ae){let ne={id:ae,page:B||1,per_page:N||W.pageSize};M&&(ne=y(p({},ne),{page:W.pageNo}));const oe=yield R(r._y,ne),J=[V.active[b[0]],V.active[b[1]]];l.U.setItem(H==null?void 0:H.login,J),oe&&oe.ec_courses&&(yield A({type:"setCourseResults",payload:y(p({},W),{pageNo:ne.page,total:oe.count,pageSize:ne.per_page||W.pageSize,dataSource:oe.ec_courses.map((q,K)=>y(p({},q),{key:ne.page>1?(ne.page-1)*ne.per_page+K+1:K+1}))})}))}else yield A({type:"setCourseResults",payload:y(p({},W),{pageNo:1,total:0,dataSource:[]})})},*exportCourse({payload:k},{call:R,select:A}){const{headerData:I}=yield A(M=>M.engineeringEvaluteList);I.active[b[1]]&&(yield R(r.F,I.active[b[1]]))},*compute({payload:k},{call:R,put:A}){const I=k,{all:M}=I,B=_(I,["all"]),N=yield R(M?r.At:r.PX,B);N&&N.status===0?(i.ZP.success("\u8BA1\u7B97\u5B8C\u6210"),yield A({type:"getCourseResults",payload:{calc:!0}})):i.ZP.error(N.message)}},reducers:{save(k,R){return p(p({},k),R.payload)},setMajorOrYearDataSource(k,{payload:R}){let A=k.headerData.active;return R.active&&(A=y(p({},A),{[R.key]:R.active})),y(p({},k),{headerData:y(p({},k.headerData),{dataSource:y(p({},k.headerData.dataSource),{[R.key]:y(p({},k.headerData.dataSource[R.key]),{dataList:R.value})}),active:A})})},setMajorOrYearActive(k,{payload:R}){return y(p({},k),{headerData:y(p({},k.headerData),{active:y(p({},k.headerData.active),{[R.key]:R.value})})})},setCourseResults(k,{payload:R}){return y(p({},k),{tabListData:p(p({},k.tabListData),R)})}},subscriptions:{setup({dispatch:k,history:R}){return R.listen(({pathname:A})=>{A==="/"&&k({type:"query"})})}}};v.Z=S},3033:function(d,v,e){"use strict";e.d(v,{L:function(){return h},r:function(){return a}});var r=Object.defineProperty,i=Object.getOwnPropertySymbols,l=Object.prototype.hasOwnProperty,c=Object.prototype.propertyIsEnumerable,f=(x,p,y)=>p in x?r(x,p,{enumerable:!0,configurable:!0,writable:!0,value:y}):x[p]=y,o=(x,p)=>{for(var y in p||(p={}))l.call(p,y)&&f(x,y,p[y]);if(i)for(var y of i(p))c.call(p,y)&&f(x,y,p[y]);return x};const h=x=>x==null?void 0:x.map(p=>{const y=(p.sub_disciplines||[]).map(_=>({value:_.id,label:_.name}));return{value:p.id,label:p.name,children:y}}),u={1:"\u4E00",2:"\u4E8C",3:"\u4E09",4:"\u56DB",5:"\u4E94",6:"\u516D",7:"\u4E03",8:"\u516B"},a=x=>{if(!x)return;const{all_questions_count:p,all_score:y,single_questions:_,multiple_questions:b,judgement_questions:S,program_questions:k,completion_questions:R,subjective_questions:A,practical_questions:I,combination_questions:M}=x||{},N=[o({type:"SINGLE",name:"\u5355\u9009\u9898"},_),o({type:"MULTIPLE",name:"\u591A\u9009\u9898"},b),o({type:"COMPLETION",name:"\u586B\u7A7A\u9898"},R),o({type:"JUDGMENT",name:"\u5224\u65AD\u9898"},S),o({type:"SUBJECTIVE",name:"\u7B80\u7B54\u9898"},A),o({type:"PROGRAM",name:"\u7F16\u7A0B\u9898"},k),o({type:"PRACTICAL",name:"\u5B9E\u8BAD\u9898"},I),o({type:"COMBINATION",name:"\u7EC4\u5408\u9898"},M)].filter(V=>V.questions_count>0).map((V,W)=>o(o({},V),{number:u[W+1]}));return{all_questions_count:p,all_score:y,questionList:N}}},2001:function(d,v,e){"use strict";e.d(v,{U:function(){return c},t:function(){return l}});var r=e(43418),i=e(41867);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)}}},47735: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 I},Zm:function(){return u},bz:function(){return f},eF:function(){return S},gQ:function(){return R},ht:function(){return _},kN:function(){return M},n1:function(){return l},nI:function(){return B},o9:function(){return c},sG:function(){return a},wi:function(){return A}});var r=e(38147),i=(N,V,W)=>new Promise((H,ae)=>{var ne=q=>{try{J(W.next(q))}catch(K){ae(K)}},oe=q=>{try{J(W.throw(q))}catch(K){ae(K)}},J=q=>q.done?H(q.value):Promise.resolve(q.value).then(ne,oe);J((W=W.apply(N,V)).next())});function l(N){return i(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${N.login}/avatar.json`,{method:"put",body:N})})}function c(N){return i(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${N.login}.json`,{method:"get"})})}function f(N){return i(this,null,function*(){return(0,r.ZP)("/api/add_school_applies.json",{method:"post",body:N})})}function o(N){return i(this,null,function*(){return(0,r.ZP)("/api/schools/limit_list.json",{method:"get",params:N})})}function h(N){return i(this,null,function*(){return(0,r.ZP)(`/api/schools/${N.id}/departments/for_option.json`,{method:"get",params:N})})}function u(N){return i(this,null,function*(){return(0,r.ZP)("/api/add_department_applies.json",{method:"post",body:N})})}function a(N){return i(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${N.id}.json`,{method:"put",body:N})})}function x(N){return i(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${N.login}/authentication_apply.json`,{method:"delete"})})}function p(N){return i(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${N.login}/professional_auth_apply.json`,{method:"delete"})})}function y(N){return i(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${N.id}/professional_auth_apply.json`,{method:"post",body:N})})}function _(N){return i(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${N.id}/authentication_apply.json`,{method:"post",body:N})})}function b(N){return i(this,null,function*(){return(0,r.ZP)("/api/accounts/get_verification_code.json",{method:"get",params:N})})}function S(N){return i(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${N.login}/phone_bind.json`,{method:"post",body:N})})}function k(N){return i(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${N.login}/email_bind.json`,{method:"post",body:N})})}function R(N){return i(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${N.login}/password.json`,{method:"put",body:N})})}function A(N){return i(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${N.basicInfoId}/open_users/${N.id}.json`,{method:"delete"})})}function I(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,V){return i(this,null,function*(){return(0,r.ZP)(`/api/users/${N.login}/videos/${N.id}/create_subject_video.json`,{method:"post",body:V})})}},5959: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(38147),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,o=(_,b,S)=>b in _?i(_,b,{enumerable:!0,configurable:!0,writable:!0,value:S}):_[b]=S,h=(_,b)=>{for(var S in b||(b={}))c.call(b,S)&&o(_,S,b[S]);if(l)for(var S of l(b))f.call(b,S)&&o(_,S,b[S]);return _},u=(_,b,S)=>new Promise((k,R)=>{var A=B=>{try{M(S.next(B))}catch(N){R(N)}},I=B=>{try{M(S.throw(B))}catch(N){R(N)}},M=B=>B.done?k(B.value):Promise.resolve(B.value).then(A,I);M((S=S.apply(_,b)).next())});function a(_){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${_.coursesId}/inform_up.json`,{method:"post",body:h({},_)})})}function x(_){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${_.coursesId}/inform_down.json`,{method:"post",body:h({},_)})})}function p(_){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${_.coursesId}/update_informs.json`,{method:"post",body:h({},_)})})}function y(_){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${_.coursesId}/new_informs.json`,{method:"post",body:h({},_)})})}},7310:function(d,v,e){"use strict";e.d(v,{$n:function(){return S},H:function(){return b},Nm:function(){return y},Ot:function(){return _},SV:function(){return a},fc:function(){return R},mn:function(){return k},tO:function(){return p},zI:function(){return x}});var r=e(38147),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,o=(A,I,M)=>I in A?i(A,I,{enumerable:!0,configurable:!0,writable:!0,value:M}):A[I]=M,h=(A,I)=>{for(var M in I||(I={}))c.call(I,M)&&o(A,M,I[M]);if(l)for(var M of l(I))f.call(I,M)&&o(A,M,I[M]);return A},u=(A,I,M)=>new Promise((B,N)=>{var V=ae=>{try{H(M.next(ae))}catch(ne){N(ne)}},W=ae=>{try{H(M.throw(ae))}catch(ne){N(ne)}},H=ae=>ae.done?B(ae.value):Promise.resolve(ae.value).then(V,W);H((M=M.apply(A,I)).next())});function a(A){return u(this,null,function*(){return(0,r.ZP)("/api/files/public_with_course_and_project",{method:"get",params:h({},A)})})}function x(A){return u(this,null,function*(){return(0,r.ZP)("/api/files/mine_with_course_and_project.json",{method:"get",params:h({},A)})})}function p(A){return u(this,null,function*(){return(0,r.ZP)("/api/files/import.json",{method:"post",body:h({},A)})})}function y(A){return u(this,null,function*(){return(0,r.ZP)(`/api/files/${A.id}.json`,{method:"get",params:h({},A)})})}function _(A){return u(this,null,function*(){const{id:I}=A;return delete A.id,(0,r.ZP)(`/api/files/${I}.json`,{method:"put",body:h({},A)})})}function b(A){return u(this,null,function*(){return(0,r.ZP)(`/api/files/${A.id}/update_visits.json`,{method:"post"})})}function S(A){return u(this,null,function*(){return(0,r.ZP)(`/api/files/${A==null?void 0:A.id}/watch_list.json`,{method:"get",params:h({},A)})})}function k(A){return u(this,null,function*(){return(0,r.ZP)("/api/files/get_batches_publish_info.json",{method:"get",params:h({},A)})})}function R(A){return u(this,null,function*(){return(0,r.ZP)(`/api/files/${A==null?void 0:A.id}/add_file_quantity.json`,{method:"post",body:h({},A)})})}},26795:function(d,v,e){"use strict";e.d(v,{CJ:function(){return y},Mf:function(){return R},NA:function(){return S},PC:function(){return _},PP:function(){return b},YQ:function(){return k},cc:function(){return p},dI:function(){return x},yq:function(){return a}});var r=e(38147),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,o=(A,I,M)=>I in A?i(A,I,{enumerable:!0,configurable:!0,writable:!0,value:M}):A[I]=M,h=(A,I)=>{for(var M in I||(I={}))c.call(I,M)&&o(A,M,I[M]);if(l)for(var M of l(I))f.call(I,M)&&o(A,M,I[M]);return A},u=(A,I,M)=>new Promise((B,N)=>{var V=ae=>{try{H(M.next(ae))}catch(ne){N(ne)}},W=ae=>{try{H(M.throw(ae))}catch(ne){N(ne)}},H=ae=>ae.done?B(ae.value):Promise.resolve(ae.value).then(V,W);H((M=M.apply(A,I)).next())});function a(A){return u(this,null,function*(){return(0,r.ZP)("/api/courses/board_list.json",{method:"get",params:h({},A)})})}function x(A){return u(this,null,function*(){return(0,r.ZP)(`/api/messages/${A.boardId}.json`,{method:"get",params:h({},A)})})}function p(A){return u(this,null,function*(){return(0,r.ZP)(`/api/messages/${A.id}/sticky_top.json`,{method:"put",body:{course_id:A.coursesId}})})}function y(A){return u(this,null,function*(){return(0,r.ZP)(`/api/messages/${A.id}/sticky_top.json`,{method:"put",body:{course_id:A.coursesId}})})}function _(A){return u(this,null,function*(){return(0,r.ZP)(`/api/messages/${A.boardId}/reply_list.json`,{method:"get",params:h({},A)})})}function b(A){return u(this,null,function*(){return(0,r.ZP)(`/api/messages/${A.boardId}/reply.json`,{method:"post",body:h({},A)})})}function S(A){return u(this,null,function*(){return(0,r.ZP)("/api/praise_tread/like.json",{method:"post",body:h({},A)})})}function k(A){return u(this,null,function*(){return(0,r.ZP)("/api/praise_tread/unlike.json",{method:"delete",body:h({},A)})})}function R(A){return u(this,null,function*(){return(0,r.ZP)("/api/commons/delete.json",{method:"delete",body:h({},A)})})}},33270:function(d,v,e){"use strict";e.d(v,{$T:function(){return vr},A:function(){return Ht},Ab:function(){return wi},Al:function(){return Q},BQ:function(){return ft},BR:function(){return ee},Bn:function(){return Ge},Cq:function(){return Nt},DJ:function(){return $e},Dd:function(){return _},Ds:function(){return Ne},EO:function(){return Ct},Ed:function(){return Lt},F9:function(){return dt},FU:function(){return nr},Fg:function(){return b},GV:function(){return tr},Gk:function(){return J},Gm:function(){return Ft},Gz:function(){return S},Hl:function(){return k},Hn:function(){return W},ID:function(){return on},IU:function(){return Te},J2:function(){return Zt},K$:function(){return xe},KP:function(){return bt},KT:function(){return Pe},L$:function(){return Vt},LH:function(){return I},Lk:function(){return Ki},Ls:function(){return ie},MA:function(){return Gn},Mc:function(){return mi},N7:function(){return se},Nd:function(){return oe},Nl:function(){return It},Ns:function(){return _n},O3:function(){return We},Pj:function(){return wt},QX:function(){return pe},QZ:function(){return Ae},R2:function(){return K},Rk:function(){return br},S9:function(){return Rt},U8:function(){return mt},UD:function(){return Lr},U_:function(){return ae},Uy:function(){return mr},V8:function(){return V},Vw:function(){return $},W0:function(){return Wt},W7:function(){return Qe},WK:function(){return Yr},Wr:function(){return Ai},YR:function(){return ze},Z0:function(){return yt},ZL:function(){return St},ZT:function(){return Ui},ZX:function(){return Jn},Z_:function(){return M},_0:function(){return B},_9:function(){return tt},_B:function(){return Vi},aP:function(){return Tt},aQ:function(){return gt},aZ:function(){return Me},al:function(){return zt},bm:function(){return en},bz:function(){return He},c_:function(){return lt},ds:function(){return Xr},fN:function(){return Yn},fr:function(){return Xt},g4:function(){return Mt},gq:function(){return R},hf:function(){return z},i:function(){return Bt},i6:function(){return Tr},i7:function(){return Zr},iE:function(){return a},ih:function(){return kn},kW:function(){return kt},km:function(){return Yt},nP:function(){return p},nQ:function(){return Ye},nX:function(){return Dr},oM:function(){return ke},oR:function(){return zi},o_:function(){return Ce},pf:function(){return At},pr:function(){return oa},pv:function(){return nt},qB:function(){return le},r2:function(){return N},rS:function(){return A},s:function(){return Qn},sb:function(){return qe},sm:function(){return y},t1:function(){return je},tB:function(){return ri},tR:function(){return xt},td:function(){return ct},uh:function(){return qt},up:function(){return st},v2:function(){return x},vV:function(){return ye},w9:function(){return ne},wR:function(){return vn},yS:function(){return ce},yV:function(){return q},yd:function(){return Be},zg:function(){return _e}});var r=e(38147),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,o=(Dt,vt,Zi)=>vt in Dt?i(Dt,vt,{enumerable:!0,configurable:!0,writable:!0,value:Zi}):Dt[vt]=Zi,h=(Dt,vt)=>{for(var Zi in vt||(vt={}))c.call(vt,Zi)&&o(Dt,Zi,vt[Zi]);if(l)for(var Zi of l(vt))f.call(vt,Zi)&&o(Dt,Zi,vt[Zi]);return Dt},u=(Dt,vt,Zi)=>new Promise((Hi,hi)=>{var Fa=Dn=>{try{si(Zi.next(Dn))}catch(rr){hi(rr)}},Ti=Dn=>{try{si(Zi.throw(Dn))}catch(rr){hi(rr)}},si=Dn=>Dn.done?Hi(Dn.value):Promise.resolve(Dn.value).then(Fa,Ti);si((Zi=Zi.apply(Dt,vt)).next())});const a=Dt=>u(void 0,null,function*(){return(0,r.ZP)(`/api/courses/${Dt==null?void 0:Dt.course_id}/course_videos/configs.json`,{method:"put",body:Dt})}),x=Dt=>u(void 0,null,function*(){return(0,r.ZP)(`/api/courses/${Dt==null?void 0:Dt.course_id}/course_videos/list_for_config.json`,{method:"Get",params:Dt})}),p=Dt=>u(void 0,null,function*(){return(0,r.ZP)(`/api/courses/${Dt==null?void 0:Dt.course_id}/homework_commons/max_late_time.json`,{method:"Get",params:Dt})}),y=Dt=>u(void 0,null,function*(){return(0,r.ZP)(`/api/courses/${Dt==null?void 0:Dt.course_id}/homework_commons/batch_late_setting`,{method:"post",body:Dt})}),_=Dt=>u(void 0,null,function*(){return(0,r.ZP)("/api/course_statistics/course_use_infos.json",{method:"Get",params:Dt})}),b=Dt=>u(void 0,null,function*(){return(0,r.ZP)("/api/course_statistics/rank_list.json",{method:"Get",params:Dt})}),S=Dt=>u(void 0,null,function*(){return(0,r.ZP)("/api/course_statistics/statistics_body.json",{method:"Get",params:Dt})}),k=Dt=>u(void 0,null,function*(){return(0,r.ZP)("/api/course_statistics/statistics_header.json",{method:"Get",params:Dt})});function R(Dt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Dt.course_id}/set_assistant_permissions.json`,{method:"post",body:h({},Dt.permissions)})})}function A(Dt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Dt.course_id}/assistant_permissions.json`,{method:"Get",params:h({},Dt)})})}function I(Dt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Dt.id}/ai_status_query.json`,{method:"Get",params:Dt})})}function M(Dt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Dt.coursesId}/update_course_portrait_data.json`,{method:"post",body:h({},Dt)})})}function B(Dt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Dt.id}/get_user_portrait_config.json`,{method:"Get",params:Dt})})}function N(Dt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Dt.coursesId}/update_user_portrait_config.json?id=${Dt.coursesId}`,{method:"put",body:h({},Dt)})})}function V(Dt){return u(this,null,function*(){return(0,r.ZP)("/api/courses.json",{method:"Get",params:h({},Dt)})})}function W(Dt){return u(this,null,function*(){return(0,r.ZP)("/api/intelligent_recommendations/according_course_recommend_shixuns.json",{method:"Get",params:h({},Dt)})})}function H(Dt){return u(this,null,function*(){return Fetch("/api/disciplines.json",{method:"Get",params:h({},Dt)})})}function ae(Dt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Dt.id}/top_banner.json`,{method:"get",params:h({},Dt)})})}function ne(Dt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Dt.id||Dt.coursesId}/left_banner.json`,{method:"get",params:h({},Dt)})})}function oe(Dt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Dt.id}/homework_commons.json`,{method:"get",params:h({},Dt)})})}function J(Dt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Dt.id}/homework_commons/list.json`,{method:"get",params:h({},Dt)})})}function q(Dt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Dt.id}/graduation_topics.json`,{method:"get",params:h({},Dt)})})}function K(Dt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Dt.id}/graduation_tasks.json`,{method:"get",params:h({},Dt)})})}function se(Dt){return u(this,null,function*(){return(0,r.ZP)(`/api/v2/courses/${Dt.id}/exercises.json`,{method:"get",params:h({},Dt)})})}function ee(Dt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Dt.id}/polls.json`,{method:"get",params:h({},Dt)})})}function Q(Dt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Dt.id}/homework_commons.json`,{method:"get",params:h({},Dt)})})}function le(Dt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Dt.id}/course_groups.json`,{method:"get",params:h({},Dt)})})}function z(Dt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Dt.id}/all_course_groups.json`,{method:"get",params:h({},Dt)})})}function $(Dt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Dt.id}/attendances.json`,{method:"get",params:h({},Dt)})})}function ie(Dt){return u(this,null,function*(){return(0,r.ZP)(`/api/weapps/courses/${Dt.coursesId}/attendances.json`,{method:"get",params:h({},Dt)})})}function _e(Dt){return u(this,null,function*(){return(0,r.ZP)(`/api/attendances/${Dt.id}/edit.json`,{method:"get",params:h({},Dt)})})}function Ae(Dt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Dt.id}/informs.json`,{method:"get",params:h({},Dt)})})}function Pe(Dt){return u(this,null,function*(){return(0,r.ZP)("/api/files.json",{method:"get",params:h({},Dt)})})}function We(Dt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Dt.id}/course_videos.json`,{method:"get",params:h({},Dt)})})}function $e(Dt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Dt.id}/live_links.json`,{method:"get",params:h({},Dt)})})}function Lt(Dt){return u(this,null,function*(){return(0,r.ZP)("/api/courses/mine.json",{method:"get",params:h({},Dt)})})}function bt(Dt){return u(this,null,function*(){return(0,r.ZP)(`/api/boards/${Dt.categoryId}/messages.json`,{method:"get",params:h({},Dt)})})}function kt(Dt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Dt.id}/course_groups.json`,{method:"get",params:h({},Dt)})})}function Zt(Dt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Dt.id}/students.json`,{method:"get",params:h({},Dt)})})}function Mt(Dt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Dt.coursesId}/statistics.json`,{method:"get",params:h({},Dt)})})}function tr(Dt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Dt.coursesId}/work_score.json`,{method:"get",params:h({},Dt)})})}function je(Dt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Dt.coursesId}/act_score.json`,{method:"get",params:h({},Dt)})})}function wt(Dt){return u(this,null,function*(){return(0,r.ZP)("/api/shixun_lists.json",{method:"get",params:h({},Dt)})})}function Ft(Dt){return u(this,null,function*(){return(0,r.ZP)("/api/item_banks.json",{method:"get",params:h({},Dt)})})}function tt(Dt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Dt==null?void 0:Dt.course_id}/homework_commons/impersonal_list.json`,{method:"get",params:h({},Dt)})})}function gt(Dt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Dt.coursesId}/homework_commons/create_shixun_homework.json`,{method:"post",body:h({},Dt)})})}function ft(Dt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Dt==null?void 0:Dt.course_id}/homework_commons/create_collaborators.json`,{method:"post",body:h({},Dt)})})}function Qe(Dt){return u(this,null,function*(){return(0,r.ZP)("/api/subject_lists.json",{method:"get",params:h({},Dt)})})}function Ne(Dt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Dt.coursesId}/homework_commons/create_subject_homework.json`,{method:"post",body:h({},Dt)})})}function xe(Dt){return u(this,null,function*(){return(0,r.ZP)("/api/schools/school_list.json",{method:"get",params:Dt})})}function ke(Dt){return u(this,null,function*(){return(0,r.ZP)("/api/courses/search_course_list.json",{method:"post",body:Dt})})}function Ge(Dt){return u(this,null,function*(){return(0,r.ZP)("/api/courses.json",{method:"post",body:Dt})})}function He(Dt){return u(this,null,function*(){return(0,r.ZP)("/api/add_school_applies.json",{method:"post",body:Dt})})}function Ye(Dt){return u(this,null,function*(){return(0,r.ZP)("/api/users/member_search.json",{method:"get",params:Dt})})}function dt(Dt){return u(this,null,function*(){return(0,r.ZP)("/api/student_groups.json",{method:"get",params:h({page:1,limit:1e3},Dt)})})}function xt(Dt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Dt.identifier}/add_student_groups.json`,{method:"post",body:Dt})})}function nr(Dt){return u(this,null,function*(){return(0,r.ZP)("/api/courses/search_all.json",{method:"get",params:Dt})})}function qt(Dt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Dt.coursesId}/add_teacher.json`,{method:"post",body:Dt})})}function Me(Dt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Dt.coursesId}/add_students_by_search.json`,{method:"post",body:Dt})})}function qe(Dt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Dt.coursesId}/set_public_or_private.json`,{method:"post",body:Dt})})}function Vt(Dt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Dt.coursesId}/set_invite_code_halt.json`,{method:"post",body:Dt})})}function Rt(Dt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Dt.coursesId}/duplicate_course.json`,{method:"post",body:Dt})})}function zt(Dt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Dt.coursesId}/update_end_date.json`,{method:"put",body:Dt})})}function Ht(Dt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Dt.coursesId}.json`,{method:"delete",body:Dt})})}function Ct(Dt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Dt.coursesId}/settings.json`,{method:"get",params:h({},Dt)})})}function Xt(Dt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Dt.coursesId}.json`,{method:"put",body:Dt})})}function ze(Dt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Dt.coursesId}/export_couser_info.json`,{method:"get",params:{export:!0}})})}function ce(Dt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Dt.coursesId}/export_member_act_score_async.json`,{method:"get",params:h({export:!0},Dt)})})}function pe(Dt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Dt.coursesId}/export_total_homework_commons_score.json`,{method:"get",params:h({export:!0},Dt)})})}function It(Dt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Dt.coursesId}/export_total_exercises_and_other_score.json`,{method:"get",params:h({export:!0},Dt)})})}function Te(Dt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Dt.coursesId}/export_star_user.json`,{method:"get",params:h({export:!0},Dt)})})}function ct(Dt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Dt.coursesId}/export_mooc_records.json`,{method:"get",params:h({export:!0},Dt)})})}function Wt(Dt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Dt.coursesId}/export_total_course_score.json`,{method:"get",params:h({export:!0},Dt)})})}function Tt(Dt){return u(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Dt.categoryId}/export_scores.json`,{method:"get",params:h({export:!0},Dt)})})}function Ce(Dt){return u(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Dt.categoryId}/export_shixun_report.json`,{method:"get",params:h({export:!0},Dt)})})}function St(Dt){return u(this,null,function*(){return(0,r.ZP)(`/api/exercises/${Dt.categoryId}/export_exercise_users.json`,{method:"get",params:h({export:!0},Dt)})})}function ye(Dt){return u(this,null,function*(){return(0,r.ZP)(`/api/exercises/${Dt.categoryId}/export_exercise_word.json`,{method:"get",params:h({export:!0},Dt)})})}function Je(Dt){return u(this,null,function*(){return Fetch(`/api/homework_commons/${Dt.categoryId}/works_list.zip`,{method:"get",params:h({export:!0},Dt)})})}function yt(Dt){return u(this,null,function*(){return(0,r.ZP)(`/api//course_second_categories/${Dt.id}.json`,{method:"delete",params:{export:!0}})})}function Bt(Dt){return u(this,null,function*(){return(0,r.ZP)(`/api//boards/${Dt.id}.json`,{method:"delete",params:{export:!0}})})}function Be(Dt){return u(this,null,function*(){return(0,r.ZP)(`/api/course_modules/${Dt.id}/sticky_module.json`,{method:"get"})})}function Dr(Dt){return u(this,null,function*(){return(0,r.ZP)(`/api/course_modules/${Dt.id}/hidden_module.json`,{method:"get"})})}function At(Dt){return u(this,null,function*(){return(0,r.ZP)("/api/courses/new.json",{method:"get",params:Dt})})}function Xr(Dt){return u(this,null,function*(){return(0,r.ZP)(`/api/weapps/attendances/${Dt.id}.json`,{method:"get",params:Dt})})}function en(Dt){return u(this,null,function*(){return(0,r.ZP)("/api/weapps/course_member_attendances.json",{method:"get",params:Dt})})}function Lr(Dt){return u(this,null,function*(){return(0,r.ZP)("/api/weapps/course_member_attendances/update_status.json",{method:"post",body:Dt})})}function Nr(Dt){return u(this,null,function*(){return Fetch(`/api/polls/${Dt.categoryId}/commit_result.xlsx`,{method:"get",params:h({export:!0},Dt)})})}function mr(Dt){return u(this,null,function*(){return(0,r.ZP)(`/api/exercises/${Dt.categoryId}/export_scores.json`,{method:"get",params:h({export:!0},Dt)})})}function Zr(Dt){return(0,r.ZP)(`/api/polls/${Dt.categoryId}/start_answer.json`,{method:"get",params:h({},Dt)})}function on(Dt){return u(this,null,function*(){return(0,r.ZP)(`/api/poll_questions/${Dt.questionId}/poll_votes.json`,{method:"post",body:Dt})})}function _n(Dt){return u(this,null,function*(){return(0,r.ZP)(`/api/polls/${Dt.categoryId}/commit_poll.json`,{method:"post",body:Dt})})}function Yt(Dt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Dt.courseId}/tasks_list.json`,{method:"get",params:Dt})})}function mt(Dt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Dt.courseId}/update_task_position.json`,{method:"post",body:Dt})})}function st(Dt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Dt.coursesId}/calculate_all_shixun_scores.json`,{method:"get",params:Dt})})}function lt(Dt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Dt.coursesId}/all_course_groups.json`,{method:"get",params:Dt})})}function Nt(Dt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Dt.coursesId}/polls/all_course_groups.json`,{method:"get",params:Dt})})}function br(Dt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Dt.coursesId}/students.json`,{method:"get",params:Dt})})}function vr(Dt){return u(this,null,function*(){return(0,r.ZP)(`/api/course_groups/${Dt.categoryId}/rename_group.json`,{method:"POST",body:Dt})})}function nt(Dt){return u(this,null,function*(){return(0,r.ZP)(`/api/course_groups/${Dt.categoryId}.json`,{method:"delete",body:Dt})})}function Tr(Dt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Dt.coursesId}/join_course_group.json`,{method:"POST",body:Dt})})}function vn(Dt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Dt.coursesId}/transfer_to_course_group.json`,{method:"post",body:Dt})})}function Gn(Dt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Dt.coursesId}/delete_from_course.json`,{method:"post",body:Dt})})}function Yr(Dt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Dt.coursesId}/join_course_group.json`,{method:"post",body:Dt})})}function Yn(Dt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Dt.coursesId}/exit_course.json`,{method:"post"})})}function Jn(Dt){return u(this,null,function*(){return(0,r.ZP)("/api/weapps/course_member_attendances.json",{method:"post",body:h({},Dt)})})}function kn(Dt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Dt.coursesId}/mooc_users/${Dt.user_id}/edit.json`,{method:"get",params:Dt})})}function Qn(Dt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Dt.coursesId}/mooc_users.json`,{method:"post",body:Dt})})}function ri(Dt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Dt.coursesId}/mooc_users/${Dt.user_id}.json`,{method:"put",body:Dt})})}function Ai(Dt){return u(this,null,function*(){return(0,r.ZP)(`/api/course_second_categories/${Dt.id}/move_category.json`,{method:"post",body:Dt})})}function wi(Dt){return u(this,null,function*(){return(0,r.ZP)(`/api/boards/${Dt.id}/move_category.json`,{method:"post",body:Dt})})}function Ui(Dt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Dt.id}/courseware.json`,{method:"get",params:Dt})})}function oa(Dt,vt){return u(this,null,function*(){return(0,r.ZP)(`/api/exercises/${Dt}/mark_wrong_topic.json`,{method:"get",params:vt})})}function Vi(Dt,vt){return u(this,null,function*(){return(0,r.ZP)(`/api/exercises/${Dt}/cancel_wrong_topic.json`,{method:"get",params:vt})})}function zi(Dt,vt){return u(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Dt}/allow_end_group.json`,{method:"get",params:vt})})}function mi(Dt,vt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Dt}/homework_commons/end_with_homework_list_position.json`,{method:"post",body:vt})})}function Ki(Dt,vt){return u(this,null,function*(){return(0,r.ZP)(`/api/tasks/${Dt}/get_content_for_commit_id.json`,{method:"get",params:vt})})}},30945:function(d,v,e){"use strict";e.d(v,{$M:function(){return Mt},$P:function(){return nr},Ax:function(){return x},Dh:function(){return k},FU:function(){return H},GQ:function(){return ee},IN:function(){return Ne},JM:function(){return He},Ju:function(){return Zt},Mn:function(){return Qe},Ni:function(){return ie},Pg:function(){return R},Pt:function(){return S},Qp:function(){return K},R9:function(){return ae},Ux:function(){return se},Vy:function(){return We},XJ:function(){return $},XR:function(){return bt},Ze:function(){return B},aq:function(){return M},bQ:function(){return _},bu:function(){return p},cC:function(){return a},jS:function(){return oe},lm:function(){return xe},ml:function(){return le},o3:function(){return je},pA:function(){return Ft},pS:function(){return Ge},pU:function(){return z},ps:function(){return W},q0:function(){return gt},qN:function(){return ft},qS:function(){return b},qj:function(){return Lt},qt:function(){return dt},rV:function(){return A},rZ:function(){return Ye},rk:function(){return Ae},rm:function(){return q},sK:function(){return J},sL:function(){return tt},su:function(){return ke},tC:function(){return Pe},tO:function(){return $e},u9:function(){return Q},uZ:function(){return _e},vV:function(){return V},xx:function(){return qt},y8:function(){return kt},yS:function(){return N},zF:function(){return y},zc:function(){return ne},zj:function(){return I},zz:function(){return xt}});var r=e(38147),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,o=(Me,qe,Vt)=>qe in Me?i(Me,qe,{enumerable:!0,configurable:!0,writable:!0,value:Vt}):Me[qe]=Vt,h=(Me,qe)=>{for(var Vt in qe||(qe={}))c.call(qe,Vt)&&o(Me,Vt,qe[Vt]);if(l)for(var Vt of l(qe))f.call(qe,Vt)&&o(Me,Vt,qe[Vt]);return Me},u=(Me,qe,Vt)=>new Promise((Rt,zt)=>{var Ht=ze=>{try{Xt(Vt.next(ze))}catch(ce){zt(ce)}},Ct=ze=>{try{Xt(Vt.throw(ze))}catch(ce){zt(ce)}},Xt=ze=>ze.done?Rt(ze.value):Promise.resolve(ze.value).then(Ht,Ct);Xt((Vt=Vt.apply(Me,qe)).next())});const a=Me=>(0,r.ZP)(`/api/competitions/${Me.identifier}/create_guide.json`,{method:"post",body:Me}),x=Me=>(0,r.ZP)(`/api/competitions/${Me.identifier}/guides.json`,{method:"get",params:Me}),p=Me=>(0,r.ZP)(`/api/competitions/${Me.identifier}/competition_teams/${Me.competition_team_id}/edit_info.json`,{method:"put",body:Me});function y(Me){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Me.identifier}/update_result.json`,{method:"post",body:Me})})}function _(Me){return u(this,null,function*(){return(0,r.ZP)("/api/competitions.json",{method:"Get",params:h({},Me)})})}function b(Me){return u(this,null,function*(){return(0,r.ZP)("/api/courses/apply_to_join_course.json",{method:"post",body:Me})})}function S(Me){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Me.identifier}/competition_teams.json`,{method:"post"})})}function k(Me){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Me.identifier}/competition_staff.json`,{method:"get"})})}function R(Me){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Me.identifier}/common_header.json`,{method:"get"})})}function A(Me){return u(this,null,function*(){return(0,r.ZP)(`/api/${Me.url}`,{method:"get",params:h({},Me)})})}function I(Me){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Me.identifier}/update_md_content.json`,{method:"post",body:Me})})}function M(Me){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Me.identifier}/competition_teams.json`,{method:"get",params:Me})})}function B(Me){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Me.identifier}/competition_teams/${Me.Teannameid}/edit.json`,{method:"get",params:Me})})}function N(Me){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Me.identifier}/competition_teams/${Me.Teannameid}.json`,{method:"put",body:Me})})}function V(Me){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Me.identifier}/competition_teams/${Me.id}/leave.json`,{method:"post",body:Me})})}function W(Me){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Me.identifier}/competition_teams/${Me.id}.json`,{method:"delete"})})}function H(Me){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Me.identifier}/competition_teams.json`,{method:"post",body:Me})})}function ae(Me){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Me.id}/add_managers.json`,{method:"post",body:Me})})}function ne(Me){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Me.identifier}/competition_teams/join.json`,{method:"post",body:Me})})}function oe(Me){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Me.identifier}/teachers.json`,{method:"get",params:Me})})}function J(Me){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Me.identifier}/students.json`,{method:"get",params:Me})})}function q(Me){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Me.identifier}/competition_teams/${Me.teamid}/crud_team_members.json`,{method:"post",body:Me})})}function K(Me){return u(this,null,function*(){return(0,r.ZP)("/api/users/competition_reward.json",{method:"post",body:Me})})}function se(Me){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Me.identifier}/chart_rules.json`,{method:"get"})})}function ee(Me){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Me.identifier}/charts.json`,{method:"get",params:Me})})}function Q(Me){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Me.identifier}/results.json`,{method:"get",params:Me})})}function le(Me){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Me.identifier}/md_tab_rules.json`,{method:"get",params:Me})})}function z(Me){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Me.identifier}/prize.json`,{method:"get",params:Me})})}function $(Me){return u(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${Me.id}.json`,{method:"get",params:Me})})}function ie(Me){return u(this,null,function*(){return(0,r.ZP)("/api/accounts/get_verification_code.json",{method:"get",params:Me})})}function _e(Me){return u(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${Me.userid}/phone_bind.json`,{method:"post",body:Me})})}function Ae(Me){return u(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${Me.userid}/email_bind.json`,{method:"post",body:Me})})}function Pe(Me){return u(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${Me.userid}/professional_auth_apply.json`,{method:"delete"})})}function We(Me){return u(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${Me.userid}/authentication_apply.json`,{method:"delete"})})}function $e(Me){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Me.identifier}/prize_leader_account.json`,{method:"put",body:Me})})}function Lt(Me){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Me.identifier}/competition_teams/${Me.teamid}/shixun_detail.json`,{method:"get"})})}function bt(Me){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Me.identifier}/competition_teams/${Me.teamid}/course_detail.json`,{method:"get"})})}function kt(Me){return u(this,null,function*(){return(0,r.ZP)(`/api/attachments/${Me.id}.json`,{method:"delete"})})}function Zt(Me){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Me.id}/get_certificate_info.json`,{method:"get",params:Me})})}function Mt(Me){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Me.id}/basic_setting.json`,{method:"post",body:Me})})}function tr(){return u(this,null,function*(){return Fetch("/api/competitions/download_template",{method:"get",responseType:"arraybuffer"})})}function je(Me){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Me}/common_header.json`,{method:"get"})})}function wt(Me){return u(this,null,function*(){return Fetch("/api/competitions.json",{method:"post",body:Me})})}function Ft(Me){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Me==null?void 0:Me.id}/search_managers.json`,{method:"get",params:Me})})}function tt(Me){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Me}/get_managers.json`,{method:"get"})})}function gt(Me){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Me==null?void 0:Me.id}/add_managers.json`,{method:"post",body:Me})})}function ft(Me){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Me==null?void 0:Me.id}/delete_managers.json`,{method:"delete",body:Me})})}function Qe(Me){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Me}/get_picture.json`,{method:"get"})})}function Ne(Me){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Me==null?void 0:Me.id}/identifier_exist.json`,{method:"post",body:Me})})}function xe(Me){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Me}/get_shixun_settings.json`,{method:"get"})})}function ke(Me){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Me==null?void 0:Me.id}/shixun_add.json`,{method:"post",body:Me})})}function Ge(Me){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Me==null?void 0:Me.id}/shixun_delete.json`,{method:"delete",body:Me})})}function He(Me){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Me==null?void 0:Me.id}/shixun_select.json`,{method:"post",body:Me})})}function Ye(Me){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Me}/info_finish.json`,{method:"get"})})}function dt(Me){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Me==null?void 0:Me.id}/competition_review.json`,{method:"post",body:h({},Me)})})}function xt(Me){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Me.identifier}/competition_teams.json`,{method:"get",params:Me})})}function nr(Me){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Me.identifier}/all_team_members.json`,{method:"get",params:Me})})}function qt(Me){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Me.identifier}/competition_commit_records/member_works.json`,{method:"get",params:Me})})}},55510:function(d,v,e){"use strict";e.d(v,{F:function(){return b},OE:function(){return I},ff:function(){return S},p1:function(){return k},_y:function(){return _},mK:function(){return V},gq:function(){return H},eM:function(){return N},BA:function(){return oe},bA:function(){return q},Nx:function(){return J},Qx:function(){return M},At:function(){return R},PX:function(){return A},Xl:function(){return B},y9:function(){return W},No:function(){return ae},ay:function(){return K}});var r=e(38147),i=Object.defineProperty,l=Object.defineProperties,c=Object.getOwnPropertyDescriptors,f=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,h=Object.prototype.propertyIsEnumerable,u=(se,ee,Q)=>ee in se?i(se,ee,{enumerable:!0,configurable:!0,writable:!0,value:Q}):se[ee]=Q,a=(se,ee)=>{for(var Q in ee||(ee={}))o.call(ee,Q)&&u(se,Q,ee[Q]);if(f)for(var Q of f(ee))h.call(ee,Q)&&u(se,Q,ee[Q]);return se},x=(se,ee)=>l(se,c(ee)),p=(se,ee)=>{var Q={};for(var le in se)o.call(se,le)&&ee.indexOf(le)<0&&(Q[le]=se[le]);if(se!=null&&f)for(var le of f(se))ee.indexOf(le)<0&&h.call(se,le)&&(Q[le]=se[le]);return Q},y=(se,ee,Q)=>new Promise((le,z)=>{var $=Ae=>{try{_e(Q.next(Ae))}catch(Pe){z(Pe)}},ie=Ae=>{try{_e(Q.throw(Ae))}catch(Pe){z(Pe)}},_e=Ae=>Ae.done?le(Ae.value):Promise.resolve(Ae.value).then($,ie);_e((Q=Q.apply(se,ee)).next())});const _=se=>y(void 0,null,function*(){var ee=se,{id:Q}=ee,le=p(ee,["id"]);return(0,r.ZP)(`/api/ec_years/${Q}/course_results.json`,{method:"get",params:le})}),b=se=>{let ee=document.createElement("iframe");ee.src=`/api/ec_years/${se}/course_results.xlsx`,ee.style.display="none",document.body.appendChild(ee)},S=({ec_year_id:se})=>(0,r.ZP)(`/api/ec_years/${se}/course_results/get_class.json`,{method:"get"}),k=({ec_year_id:se,id:ee,class_name:Q=null})=>(0,r.ZP)(`/api/ec_years/${se}/course_results/${ee}.json`,{method:"get",params:{class_name:Q}}),R=({ec_year_id:se})=>(0,r.ZP)("/api/ec_courses/1/evaluations/compute_all_courses_data",{method:"post",body:{ec_year_id:se}}),A=({ec_course_id:se})=>(0,r.ZP)(`/api/ec_courses/${se}/evaluations/evaluation_data`,{method:"POST"}),I=se=>{let ee=document.createElement("iframe");ee.src=`/api/ec_years/${se}/ec_graduation_results.xlsx`,ee.style.display="none",document.body.appendChild(ee)},M=({ec_year_id:se})=>(0,r.ZP)(`/api/ec_years/${se}/ec_graduation_results/compute_all`,{method:"post"}),B=({ec_year_id:se,id:ee})=>(0,r.ZP)(`/api/ec_years/${se}/ec_graduation_results/compute_single?id=${ee}`,{method:"POST"}),N=se=>(0,r.ZP)(`/api/ec_years/${se}/ec_graduation_results.json`,{method:"get"}),V=se=>(0,r.ZP)(`/api/ec_years/${se}/ec_graduation_results/get_formulas.json`,{method:"get"}),W=({ec_year_id:se,formula_one:ee,formula_two:Q,formula_three:le})=>(0,r.ZP)(`/api/ec_years/${se}/ec_graduation_results/set_formulas.json`,{method:"PUT",body:{formula_one_id:ee,formula_two_id:Q,formula_three_id:le}}),H=({ec_year_id:se,id:ee})=>(0,r.ZP)(`/api/ec_years/${se}/ec_graduation_results/${ee}.json`,{method:"get"}),ae=se=>{var ee=se,{ec_year_id:Q,type:le,goal_value:z}=ee,$=p(ee,["ec_year_id","type","goal_value"]);let ie=`?type=${le}`,_e={method:"PUT"};return le==="all"&&(ie+=`&goal_value=${z}`),le==="each"&&(_e=x(a({},_e),{body:$})),(0,r.ZP)(`/api/ec_years/${Q}/ec_graduation_results/set_goal_value${ie}`,_e)};var ne=(se,ee,Q)=>new Promise((le,z)=>{var $=Ae=>{try{_e(Q.next(Ae))}catch(Pe){z(Pe)}},ie=Ae=>{try{_e(Q.throw(Ae))}catch(Pe){z(Pe)}},_e=Ae=>Ae.done?le(Ae.value):Promise.resolve(Ae.value).then($,ie);_e((Q=Q.apply(se,ee)).next())});const oe=se=>ne(void 0,null,function*(){return(0,r.ZP)(`/api/schools/${se}/ec_majors/get_major_list.json`,{method:"get"})}),J=se=>ne(void 0,null,function*(){return(0,r.ZP)(`/api/ec_major_schools/${se}/ec_years/get_year_list.json`,{method:"get"})}),q=({ec_year_id:se,school_id:ee})=>(0,r.ZP)(`/api/ec_years/${se}/top_pages.json`,{method:"get",params:{school_id:ee}}),K=({id:se,name:ee})=>(0,r.ZP)(`/api/ec_years/1/top_pages/${se}?name=${ee}`,{method:"PUT"})},87513:function(d,v,e){"use strict";e.d(v,{$Q:function(){return I},$l:function(){return vr},BJ:function(){return ft},CD:function(){return qe},Cd:function(){return dt},Cl:function(){return Be},Di:function(){return tr},Fl:function(){return Ft},G$:function(){return le},GK:function(){return wt},Ip:function(){return xe},J:function(){return z},KE:function(){return tt},L8:function(){return Xt},LP:function(){return ke},MK:function(){return je},Mb:function(){return Lr},N0:function(){return W},N3:function(){return $e},OO:function(){return R},P8:function(){return _n},PJ:function(){return ie},PT:function(){return mr},Qc:function(){return ae},RK:function(){return Q},Ty:function(){return Je},UH:function(){return ct},UK:function(){return Lt},Uj:function(){return qt},Ul:function(){return Ye},VL:function(){return zt},Vj:function(){return ce},W4:function(){return nr},WL:function(){return pe},Wj:function(){return ee},X4:function(){return Ne},Xn:function(){return Xr},Xo:function(){return oe},YY:function(){return Mt},Ym:function(){return N},Yu:function(){return Yt},ZD:function(){return on},Zg:function(){return Dr},_B:function(){return Me},_F:function(){return Nr},_U:function(){return q},_u:function(){return _e},aU:function(){return V},ab:function(){return Bt},cC:function(){return ye},cV:function(){return K},ck:function(){return Zr},dp:function(){return H},eA:function(){return Nt},fG:function(){return S},gA:function(){return se},gG:function(){return en},gJ:function(){return mt},hk:function(){return y},hv:function(){return _},iB:function(){return b},iU:function(){return k},iw:function(){return St},kp:function(){return Ht},lL:function(){return A},lf:function(){return We},n$:function(){return Pe},n7:function(){return J},nF:function(){return ze},o3:function(){return st},oS:function(){return Ge},oX:function(){return Rt},oy:function(){return yt},p7:function(){return B},pL:function(){return Vt},pu:function(){return Qe},q6:function(){return Ct},qf:function(){return Zt},qz:function(){return He},s:function(){return Tt},sA:function(){return It},sS:function(){return lt},tX:function(){return Wt},uR:function(){return bt},ux:function(){return gt},wy:function(){return kt},xA:function(){return Ce},yE:function(){return ne},yu:function(){return Te},zP:function(){return M},zR:function(){return br}});var r=e(38147),i=Object.defineProperty,l=Object.defineProperties,c=Object.getOwnPropertyDescriptors,f=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,h=Object.prototype.propertyIsEnumerable,u=(nt,Tr,vn)=>Tr in nt?i(nt,Tr,{enumerable:!0,configurable:!0,writable:!0,value:vn}):nt[Tr]=vn,a=(nt,Tr)=>{for(var vn in Tr||(Tr={}))o.call(Tr,vn)&&u(nt,vn,Tr[vn]);if(f)for(var vn of f(Tr))h.call(Tr,vn)&&u(nt,vn,Tr[vn]);return nt},x=(nt,Tr)=>l(nt,c(Tr)),p=(nt,Tr,vn)=>new Promise((Gn,Yr)=>{var Yn=Qn=>{try{kn(vn.next(Qn))}catch(ri){Yr(ri)}},Jn=Qn=>{try{kn(vn.throw(Qn))}catch(ri){Yr(ri)}},kn=Qn=>Qn.done?Gn(Qn.value):Promise.resolve(Qn.value).then(Yn,Jn);kn((vn=vn.apply(nt,Tr)).next())});const y=nt=>(0,r.ZP)(`/api/exercises/${nt==null?void 0:nt.exercise_id}/statistics/list_student_score_by_question_type.json`,{method:"get",params:nt}),_=nt=>(0,r.ZP)(`/api/exercises/${nt==null?void 0:nt.exercise_id}/statistics/list_student_score_by_question.json`,{method:"get",params:nt}),b=nt=>(0,r.ZP)(`/api/exercises/${nt.exercise_id}/statistics/export_class_compare.xlsl`,{method:"get",params:nt}),S=nt=>(0,r.ZP)(`/api/exercises/${nt.exercise_id}/statistics/class_question_compare.json`,{method:"get",params:nt}),k=nt=>(0,r.ZP)(`/api/exercises/${nt==null?void 0:nt.exercise_id}/statistics/class_score_distribution.json`,{method:"get",params:nt}),R=nt=>(0,r.ZP)(`/api/exercises/${nt==null?void 0:nt.exercise_id}/statistics/list_student_score.json`,{method:"get",params:nt}),A=nt=>(0,r.ZP)(`/api/exercises/${nt==null?void 0:nt.exercise_id}/statistics/set_score_ranges.json`,{method:"put",body:nt}),I=nt=>(0,r.ZP)(`/api/exercises/${nt==null?void 0:nt.exercise_id}/statistics/score_ranges.json`,{method:"get",params:nt}),M=nt=>(0,r.ZP)(`/api/exercises/${nt.id}/sava_exam_summary.json`,{method:"post",body:nt}),B=nt=>(0,r.ZP)("/api/intelligent_reviews/exam_summary.json",{method:"post",body:nt}),N=nt=>(0,r.ZP)(`/api/exercises/${nt.id}/generate_exam_summary.json`,{method:"post",body:nt}),V=nt=>(0,r.ZP)(`/api/exercises/${nt.id}/exam_summary_settings.json`,{method:"post",body:nt}),W=nt=>p(void 0,null,function*(){return(0,r.ZP)(`/api/exercises/${nt==null?void 0:nt.exercise_id}/review_exercise_user.json`,{method:"post",body:nt})}),H=nt=>(0,r.ZP)(`/api/exercises/${nt==null?void 0:nt.id}/code_check.json`,{method:"get",params:nt}),ae=nt=>(0,r.ZP)(`/api/exercises/${nt.id}/reset_pwd.json`,{method:"post",body:nt}),ne=nt=>(0,r.ZP)(`/api/exercises/${nt.id}/encrypt_or_decrypt.json`,{method:"post",body:nt}),oe=nt=>p(void 0,null,function*(){return(0,r.ZP)(`/api/exercises/${nt.id}/delayed_time_or_force.json`,{method:"post",body:nt})}),J=nt=>p(void 0,null,function*(){return(0,r.ZP)(`/api/exercises/${nt==null?void 0:nt.id}/exercise_time.json`,{method:"Get",params:nt})}),q=nt=>(0,r.ZP)(`/api/exercises/${nt==null?void 0:nt.id}/exercise_question_result.json`,{method:"get",params:nt}),K=nt=>(0,r.ZP)(`/api/exercises/${nt.id}/get_question_type_alias.json`,{method:"get",params:nt});function se(nt){return p(this,null,function*(){return(0,r.ZP)(`/api/exercise_questions/${nt==null?void 0:nt.id}/teacher_update.json`,{method:"post",body:a({},nt)})})}function ee(nt){return p(this,null,function*(){return(0,r.ZP)(`/api/exercise_questions/${nt==null?void 0:nt.id}/adjust_comment.json`,{method:"post",body:a({},nt)})})}function Q(nt){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${nt.id}/edit_question_type_alias.json`,{method:"POST",body:nt})})}function le(nt){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${nt.categoryId}/exercise_lists.json`,{method:"get",params:a({},nt)})})}function z(nt){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${nt.categoryId}/exercise_identity_photos.json`,{method:"get",params:a({},nt)})})}function $(nt){return p(this,null,function*(){return Fetch(`/api/exercises/${nt.categoryId}/video_push_url.json`,{method:"get",params:a({},nt)})})}function ie(nt){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${nt.categoryId}/query_identity_photo_state.json`,{method:"get",params:a({},nt)})})}function _e(nt){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${nt.categoryId}/exercise_result.json`,{method:"get",params:a({},nt)})})}function Ae(nt){return p(this,null,function*(){return Fetch(`/api/exercises/${nt.categoryId}/exercise_score_area_setting.json`,{method:"post",body:a({},nt)})})}function Pe(nt){return p(this,null,function*(){return(0,r.ZP)("/api/question_banks/bank_list.json",{method:"get",params:a({},nt)})})}function We(nt){return p(this,null,function*(){return(0,r.ZP)("/api/question_banks/save_banks.json",{method:"POST",body:a({},nt)})})}function $e(nt){return p(this,null,function*(){return(0,r.ZP)(`/api/courses/${nt.coursesId}/exercises/publish_modal.json`,{method:"get",params:a({},nt)})})}function Lt(nt){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${nt.categoryId}/common_header.json`,{method:"get",params:a({},nt)})})}function bt(nt){return p(this,null,function*(){return(0,r.ZP)(`/api/courses/${nt.coursesId}/exercises.json`,{method:"post",body:a({},nt)})})}function kt(nt){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${nt.exerciseId}.json`,{method:"put",body:a({},nt)})})}function Zt(nt){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${nt.categoryId}.json`,{method:"get",params:a({},nt)})})}function Mt(nt){return p(this,null,function*(){return(0,r.ZP)("/api/tag_disciplines.json",{method:"get",params:a({},nt)})})}function tr(nt){return p(this,null,function*(){const{id:Tr}=nt;return delete nt.id,(0,r.ZP)(`/api/exercise_questions/${Tr}.json`,{method:"put",body:a({},nt)})})}function je(nt){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${nt.categoryId}/exercise_questions.json`,{method:"post",body:a({},nt)})})}function wt(nt){return p(this,null,function*(){return(0,r.ZP)(`/api/exercise_questions/${nt.id}/up_down.json`,{method:"post",body:a({},nt)})})}function Ft(nt){return p(this,null,function*(){return(0,r.ZP)(`/api/exercise_questions/${nt.id}.json`,{method:"delete"})})}function tt(nt){return p(this,null,function*(){return(0,r.ZP)(`/api/courses/${nt.coursesId}/exercises/end_modal.json`,{method:"get",params:a({},nt)})})}function gt(nt){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${nt.categoryId}/publish_groups.json`,{method:"get",params:a({},nt)})})}function ft(nt){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${nt.exerciseId}/user_exercise_detail.json`,{method:"get",params:a({},nt)})})}function Qe(nt){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${nt.exerciseId}/consult_exercise.json`,{method:"post",body:a({},nt)})})}function Ne(nt){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${nt.exerciseId}/teacher_appraise.json`,{method:"get",params:a({},nt)})})}function xe(nt){return p(this,null,function*(){return(0,r.ZP)(`/api/exercise_questions/${nt.id}/adjust_score.json`,{method:"post",body:a({},nt)})})}function ke(nt){return p(this,null,function*(){return(0,r.ZP)(`/api/exercise_questions/${nt.id}/batch_adjust_score.json`,{method:"post",body:a({},nt)})})}function Ge(nt){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${nt.id}/adjust_score.json`,{method:"post",body:a({},nt)})})}function He(nt){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${nt.id}/delayed_time.json`,{method:"post",body:a({},nt)})})}function Ye(nt){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${nt.categoryId}/exercise_setting.json`,{method:"get",params:a({},nt)})})}function dt(nt){return p(this,null,function*(){return(0,r.ZP)(`/api/v2/exercises/${nt.categoryId}/exercise_setting.json`,{method:"get",params:a({},nt)})})}function xt(nt){return p(this,null,function*(){return Fetch(`/api/exercises/${nt.categoryId}/commit_setting.json`,{method:"post",body:a({},nt)})})}function nr(nt){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${nt.exerciseId}/review_exercises_by_students.json`,{method:"post",body:a({},nt)})})}function qt(nt){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${nt.categoryId}/exercise_lists.xlsx`,{method:"get",params:x(a({},nt),{export:!0})})})}function Me(nt){return(0,r.ZP)(`/api/exercises/${nt.categoryId}/user_exercise_detail.json`,{method:"get",params:x(a({},nt),{login:null})})}function qe(nt){return(0,r.ZP)(`/api/exercises/${nt.categoryId}/start.json`,{method:"get",params:a({},nt)})}function Vt(nt){return(0,r.ZP)(`/api/exercises/${nt.categoryId}/start_unlock.json`,{method:"post",body:a({},nt)})}function Rt(nt){return p(this,null,function*(){return(0,r.ZP)(`/api/exercise_questions/${nt.questionId}/exercise_answers.json`,{method:"post",body:nt})})}function zt(nt){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${nt.categoryId}/commit_exercise.json`,{method:"post",body:nt})})}function Ht(nt){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${nt.categoryId}/simulate_commit_exercise.json`,{method:"post",body:nt})})}function Ct(nt){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${nt.categoryId}/redo_exercise.json`,{method:"post",body:nt})})}function Xt(nt){return(0,r.ZP)(`/api/${nt.url}`,{method:"get",params:a({},nt)})}function ze(nt){return(0,r.ZP)(`/api/problems/${nt.id}/start.json`,{method:"get",params:a({},nt)})}function ce(nt){return(0,r.ZP)(`/api/exercises/${nt.id}/begin_commit.json`,{method:"get",params:a({},nt)})}function pe(nt){return(0,r.ZP)(`/api/exercises/${nt.id}/simulate_begin_commit.json`,{method:"get",params:a({},nt)})}function It(nt){return(0,r.ZP)("/api/examination_intelligent_settings/optional_items.json",{method:"post",body:a({},nt)})}function Te(nt){return console.log("params:",nt),(0,r.ZP)(`/api/exercises/${nt.categoryId}/edit.json`,{method:"get",params:a({},nt)})}function ct(nt){return(0,r.ZP)(`/api/exercises/${nt.id}/get_objective_scores.json`,{method:"get",params:a({},nt)})}function Wt(nt){return(0,r.ZP)(`/api/exercises/${nt.categoryId}/redo_modal.json`,{method:"get",params:a({},nt)})}function Tt(nt){return(0,r.ZP)(`/api/exercises/${nt.categoryId}/student_redo_lists.json`,{method:"get",params:a({},nt)})}function Ce(nt){return(0,r.ZP)("/api/exercises/get_user_exercises.json",{method:"get",params:nt})}function St(nt){return(0,r.ZP)(`/api/exercises/${nt.id}/exercise_header.json`,{method:"get",params:a({},nt)})}function ye(nt){return(0,r.ZP)(`/api/exercises/${nt.categoryId}/allow_close_camera.json`,{method:"post",body:a({},nt)})}function Je(nt){return(0,r.ZP)(`/api/exercises/${nt.categoryId}/get_exercise_user_info.json`,{method:"get",params:a({},nt)})}function yt(nt){return(0,r.ZP)(`/api/exercises/${nt.id}/record_screen`,{method:"post",params:a({},nt)})}function Bt(nt){return(0,r.ZP)(`/api/exercises/${nt.id}/unbind_ip.json`,{method:"post",body:a({},nt)})}function Be(nt){return(0,r.ZP)(`/api/exercises/${nt.id}/check_ip.json`,{method:"get",params:a({},nt)})}function Dr(nt){return(0,r.ZP)(`/api/exercises/${nt==null?void 0:nt.id}/check_user_exercise.json`,{method:"get",params:a({},nt)})}function At(nt){return Fetch(`/api/exercises/${nt.id}/make_up_students.json`,{method:"get",params:a({},nt)})}function Xr(nt){return p(this,null,function*(){return(0,r.ZP)(`/api/courses/${nt.coursesId}/exercises/code_review_detail.json`,{method:"get",params:a({},nt)})})}function en(nt){return p(this,null,function*(){return(0,r.ZP)(`/api/exercise_questions/${nt.question_id}/adjust_score.json`,{method:"post",body:a({},nt)})})}function Lr(nt){return p(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${nt.categoryId}/simulate_exercise.json`,{method:"post",body:a({},nt)})})}function Nr(nt){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${nt.categoryId}/simulate_start_answer.json`,{method:"get",params:a({},nt)})})}function mr(nt){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${nt.categoryId}/exercise_time.json`,{method:"get",params:a({},nt)})})}function Zr(nt){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${nt.categoryId}/commit_screen_at.json`,{method:"post",body:a({},nt)})})}function on(nt,Tr){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${nt}/unlock_user`,{method:"post",body:Tr})})}function _n(nt,Tr){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${nt}/save_screen_record.json`,{method:"post",body:Tr})})}function Yt(nt,Tr){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${nt}/screen_record_list.json`,{method:"get",params:Tr})})}function mt(nt){return p(this,null,function*(){return(0,r.ZP)("/api/attachments/set_ecs_attachment.json",{method:"get",params:a({},nt)})})}function st(nt){return p(this,null,function*(){return(0,r.ZP)("/api/exercises/need_redo.json",{method:"get",params:nt})})}function lt(nt,Tr){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${nt}/mark.json`,{method:"post",body:Tr})})}function Nt(nt){return p(this,null,function*(){return(0,r.ZP)(`/api/myshixuns/${nt}/exit_delete_pod.json`,{method:"post",body:nt})})}function br(nt){return p(this,null,function*(){return(0,r.ZP)("/api/users/change_exercise_score.json",{method:"put",body:nt})})}function vr(nt){return p(this,null,function*(){return(0,r.ZP)(`/api/exercise_questions/${nt==null?void 0:nt.id}/send_to_item_bank.json`,{method:"post",body:a({},nt)})})}},16209:function(d,v,e){"use strict";e.d(v,{B0:function(){return p},Si:function(){return R},Sr:function(){return I},YP:function(){return A},b4:function(){return k},bc:function(){return a},dX:function(){return S},eh:function(){return M},iI:function(){return _},kd:function(){return x},qR:function(){return b},sW:function(){return y},ts:function(){return N},vL:function(){return B},z5:function(){return V}});var r=e(38147),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,o=(W,H,ae)=>H in W?i(W,H,{enumerable:!0,configurable:!0,writable:!0,value:ae}):W[H]=ae,h=(W,H)=>{for(var ae in H||(H={}))c.call(H,ae)&&o(W,ae,H[ae]);if(l)for(var ae of l(H))f.call(H,ae)&&o(W,ae,H[ae]);return W},u=(W,H,ae)=>new Promise((ne,oe)=>{var J=se=>{try{K(ae.next(se))}catch(ee){oe(ee)}},q=se=>{try{K(ae.throw(se))}catch(ee){oe(ee)}},K=se=>se.done?ne(se.value):Promise.resolve(se.value).then(J,q);K((ae=ae.apply(W,H)).next())});function a(W){return u(this,null,function*(){return(0,r.ZP)("/api/memos.json",{method:"get",params:W})})}function x(W){return u(this,null,function*(){return(0,r.ZP)("/api/discusses/forum_discusses.json",{method:"get",params:W})})}function p(W){return u(this,null,function*(){return(0,r.ZP)(`/api/memos/${W.id}/sticky_or_cancel.json`,{method:"post",body:W})})}function y(W){return u(this,null,function*(){return(0,r.ZP)(`/api/memos/${W.id}.json`,{method:"delete",body:W})})}function _(W){return u(this,null,function*(){return(0,r.ZP)("/api/memos/new.json",{method:"get",params:W})})}function b(W){return u(this,null,function*(){return(0,r.ZP)(`/api/memos/${W.id}/edit.json`,{method:"get",params:W})})}function S(W){return u(this,null,function*(){return(0,r.ZP)("/api/memos.json",{method:"post",body:h({},W)})})}function k(W){return u(this,null,function*(){return(0,r.ZP)(`/api/memos/${W.id}.json`,{method:"put",body:h({},W)})})}function R(W){return u(this,null,function*(){return(0,r.ZP)(`/api/memos/${W.id}.json`,{method:"get",params:W})})}function A(W){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${W.user_id}/watch.json`,{method:"post",body:W})})}function I(W){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${W.user_id}/watch.json`,{method:"delete",body:h({},W)})})}function M(W){return u(this,null,function*(){return(0,r.ZP)(`/api/discusses/${W.id}/reward_code.json`,{method:"post",body:W})})}function B(W){return u(this,null,function*(){return(0,r.ZP)(`/api/discusses/${W.id}/plus.json`,{method:"post",body:W})})}function N(W){return u(this,null,function*(){return(0,r.ZP)("/api/memos/reply.json",{method:"post",body:W})})}function V(W){return u(this,null,function*(){return(0,r.ZP)(`/api/memos/${W.id}/more_reply.json`,{method:"get",params:W})})}},79274:function(d,v,e){"use strict";e.d(v,{D2:function(){return a},n0:function(){return x},tk:function(){return p}});var r=e(38147),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,o=(y,_,b)=>_ in y?i(y,_,{enumerable:!0,configurable:!0,writable:!0,value:b}):y[_]=b,h=(y,_)=>{for(var b in _||(_={}))c.call(_,b)&&o(y,b,_[b]);if(l)for(var b of l(_))f.call(_,b)&&o(y,b,_[b]);return y},u=(y,_,b)=>new Promise((S,k)=>{var R=M=>{try{I(b.next(M))}catch(B){k(B)}},A=M=>{try{I(b.throw(M))}catch(B){k(B)}},I=M=>M.done?S(M.value):Promise.resolve(M.value).then(R,A);I((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})})}},66479:function(d,v,e){"use strict";e.d(v,{B6:function(){return p},Gr:function(){return N},Mf:function(){return I},NA:function(){return R},PC:function(){return S},PP:function(){return k},QA:function(){return x},RP:function(){return H},Sv:function(){return W},YQ:function(){return A},_n:function(){return ae},hL:function(){return B},je:function(){return b},mM:function(){return _},wA:function(){return V},x_:function(){return y},y0:function(){return M},y3:function(){return a}});var r=e(38147),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,o=(ne,oe,J)=>oe in ne?i(ne,oe,{enumerable:!0,configurable:!0,writable:!0,value:J}):ne[oe]=J,h=(ne,oe)=>{for(var J in oe||(oe={}))c.call(oe,J)&&o(ne,J,oe[J]);if(l)for(var J of l(oe))f.call(oe,J)&&o(ne,J,oe[J]);return ne},u=(ne,oe,J)=>new Promise((q,K)=>{var se=le=>{try{Q(J.next(le))}catch(z){K(z)}},ee=le=>{try{Q(J.throw(le))}catch(z){K(z)}},Q=le=>le.done?q(le.value):Promise.resolve(le.value).then(se,ee);Q((J=J.apply(ne,oe)).next())});function a(ne){return u(this,null,function*(){return(0,r.ZP)(`/api/graduation_tasks/${ne.categoryId}.json`,{method:"get",params:h({},ne)})})}function x(ne){return u(this,null,function*(){return(0,r.ZP)(`/api/graduation_tasks/${ne.categoryId}/tasks_list.json`,{method:"get",params:h({},ne)})})}function p(ne){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${ne.coursesId}/graduation_topics/${ne.categoryId}/show_detail.json`,{method:"get",params:h({},ne)})})}function y(ne){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${ne.coursesId}/graduation_topics/${ne.categoryId}.json`,{method:"get",params:h({},ne)})})}function _(ne){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${ne.coursesId}/graduation_topics/${ne.categoryId}/refuse_student_topic.json`,{method:"post",body:h({},ne)})})}function b(ne){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${ne.coursesId}/graduation_topics/${ne.categoryId}/accept_student_topic.json`,{method:"post",body:h({},ne)})})}function S(ne){return u(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${ne.categoryId}/show_comment.json`,{method:"get",params:h({},ne)})})}function k(ne){return u(this,null,function*(){return(0,r.ZP)("/api/users/reply_message.json",{method:"post",body:h({},ne)})})}function R(ne){return u(this,null,function*(){return(0,r.ZP)("/api/praise_tread/like.json",{method:"post",body:h({},ne)})})}function A(ne){return u(this,null,function*(){return(0,r.ZP)("/api/praise_tread/unlike.json",{method:"delete",body:h({},ne)})})}function I(ne){return u(this,null,function*(){return(0,r.ZP)("/api/commons/delete.json",{method:"delete",body:h({},ne)})})}function M(ne){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${ne.coursesId}/graduation_topics/new.json`,{method:"get",params:h({},ne)})})}function B(ne){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${ne.coursesId}/graduation_topics/${ne.categoryId}/edit.json`,{method:"get",params:h({},ne)})})}function N(ne){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${ne.coursesId}/graduation_topics`,{method:"post",body:h({},ne)})})}function V(ne){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${ne.coursesId}/graduation_topics/${ne.categoryId}`,{method:"put",body:h({},ne)})})}function W(ne){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${ne.coursesId}/graduation_tasks`,{method:"post",body:h({},ne)})})}function H(ne){return u(this,null,function*(){return(0,r.ZP)(`/api/graduation_tasks/${ne.categoryId}.json`,{method:"put",body:h({},ne)})})}function ae(ne){return u(this,null,function*(){return(0,r.ZP)(`/api/graduation_tasks/${ne.categoryId}/edit.json`,{method:"get",params:h({},ne)})})}},37090:function(d,v,e){"use strict";e.d(v,{AA:function(){return V},Db:function(){return x},Dd:function(){return b},F7:function(){return J},Fi:function(){return le},H3:function(){return _},HF:function(){return k},HH:function(){return y},Ib:function(){return se},J3:function(){return o},NT:function(){return l},NX:function(){return A},Ot:function(){return R},Ou:function(){return q},Ps:function(){return c},Rk:function(){return oe},Tz:function(){return a},V1:function(){return ee},Wz:function(){return f},Xh:function(){return p},Xw:function(){return ne},YS:function(){return H},Zd:function(){return Q},bS:function(){return I},ck:function(){return S},eh:function(){return N},il:function(){return h},j7:function(){return u},jW:function(){return W},km:function(){return ae},l5:function(){return B},rU:function(){return z},xF:function(){return M},zC:function(){return K},zT:function(){return $}});var r=e(38147),i=(ie,_e,Ae)=>new Promise((Pe,We)=>{var $e=kt=>{try{bt(Ae.next(kt))}catch(Zt){We(Zt)}},Lt=kt=>{try{bt(Ae.throw(kt))}catch(Zt){We(Zt)}},bt=kt=>kt.done?Pe(kt.value):Promise.resolve(kt.value).then($e,Lt);bt((Ae=Ae.apply(ie,_e)).next())});function l(ie){return(0,r.ZP)("/api/schools/search.json",{method:"get",params:ie})}function c(ie){return(0,r.ZP)(`/api/schools/${ie.id}/departments/for_option.json`,{method:"get",params:ie})}function f(ie){return(0,r.ZP)("/api/graduations.json",{method:"POST",body:ie})}function o(ie){return(0,r.ZP)("/api/graduations.json",{method:"get",params:ie})}function h(ie){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ie.identifier}/graduation_stages/${ie.stageid}/authorized_redelivery.json`,{method:"POST",body:ie})})}function u(ie){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ie.identifier}/graduation_stages/${ie.stageid}/submit.json`,{method:"POST",body:ie})})}function a(ie){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ie.id}/student_tasks/export_status.json`,{method:"get",params:ie})})}function x(ie){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ie.id}/student_tasks/export_all_attachments.json`,{method:"get",params:ie})})}function p(ie){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ie.identifier}/graduation_stages/${ie.id}.json`,{method:"get",params:ie})})}function y(ie){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ie.id}/student_tasks/set_final_score.json`,{method:"POST",body:ie})})}function _(ie){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ie.id}/student_tasks/final_score.json`,{method:"get",params:ie})})}function b(ie){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ie.id}/set_novice_guide.json`,{method:"POST",body:ie})})}function S(ie){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ie.id}/graduation_notices/${ie.doid}/set_do.json`,{method:"POST",body:ie})})}function k(ie){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ie.id}/graduation_teachers.json`,{method:"POST",body:ie})})}function R(ie){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ie.identifier}/graduation_students/${ie.id}/update_major.json`,{method:"PUT",body:ie})})}function A(ie){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ie.id}/graduation_students.json`,{method:"POST",body:ie})})}function I(ie){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ie.id}/graduation_teachers/search.json`,{method:"get",params:ie})})}function M(ie){return i(this,null,function*(){return(0,r.ZP)("/api/schools/search.json",{method:"get",params:ie})})}function B(ie){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ie.id}/graduation_students/search.json`,{method:"get",params:ie})})}function N(ie){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ie.id}/graduation_students.json`,{method:"get",params:ie})})}function V(ie){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ie.id}/graduation_teachers.json`,{method:"get",params:ie})})}function W(ie){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ie.graduation_id}/graduation_tasks.json`,{method:"POST",body:ie})})}function H(ie){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ie.graduation_id}/graduation_tasks/${ie.id}.json`,{method:"PUT",body:ie})})}function ae(ie){return i(this,null,function*(){var _e;return(0,r.ZP)(`/api/graduations/${ie.id}/graduation_tasks/${(_e=ie.ids)==null?void 0:_e[0]}`,{method:"DELETE",body:{ids:ie.ids}})})}function ne(ie){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ie.id}/graduation_tasks.json`,{method:"get",params:ie})})}function oe(ie){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ie.id}/graduation_notices.json`,{method:"get",params:ie})})}function J(ie){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ie.id}.json`,{method:"get"})})}function q(ie){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ie==null?void 0:ie.id}/common_header.json`,{method:"get"})})}function K(ie,_e){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ie}/preview.json`,{method:"get"})})}function se(ie,_e){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ie}/graduation_teachers/not_pass.json`,{method:"post",body:_e})})}function ee(ie,_e){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ie}/graduation_teachers/pass.json`,{method:"post",body:_e})})}function Q(ie,_e){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ie}/graduation_students/not_pass.json`,{method:"post",body:_e})})}function le(ie,_e){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ie}/graduation_students/pass.json`,{method:"post",body:_e})})}function z(ie,_e){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ie}/graduation_students/batch_delete`,{method:"delete",body:_e})})}function $(ie,_e){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ie}/graduation_teachers/batch_delete`,{method:"delete",body:_e})})}},95707: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(38147),i=(p,y,_)=>new Promise((b,S)=>{var k=I=>{try{A(_.next(I))}catch(M){S(M)}},R=I=>{try{A(_.throw(I))}catch(M){S(M)}},A=I=>I.done?b(I.value):Promise.resolve(I.value).then(k,R);A((_=_.apply(p,y)).next())});const l=p=>i(void 0,null,function*(){return(0,r.ZP)("/api/home/env_detail.json",{method:"Get",params:p})}),c=p=>i(void 0,null,function*(){return(0,r.ZP)("/api/home/env_list.json",{method:"Get",params:p})}),f=p=>i(void 0,null,function*(){return(0,r.ZP)("/api/home/online_list.json",{method:"Get",params:p})});function o(){return i(this,null,function*(){return(0,r.ZP)("/api/home/index.json",{method:"Get"})})}function h(p){return i(this,null,function*(){return(0,r.ZP)("/api/courses/apply_to_join_course.json",{method:"post",body:p})})}function u(p){return i(this,null,function*(){return(0,r.ZP)("/api/project_applies.json",{method:"post",body:p})})}function a(p){return i(this,null,function*(){return(0,r.ZP)("/api/users/home_notice.json",{method:"Get"})})}function x(p){return i(this,null,function*(){return(0,r.ZP)("/api/users/view_notice.json",{method:"post",body:p})})}},5664:function(d,v,e){"use strict";e.d(v,{AD:function(){return a},Ig:function(){return x},Ko:function(){return _},QJ:function(){return b},Ub:function(){return S},V8:function(){return p},dl:function(){return k},w0:function(){return y}});var r=e(38147),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,o=(R,A,I)=>A in R?i(R,A,{enumerable:!0,configurable:!0,writable:!0,value:I}):R[A]=I,h=(R,A)=>{for(var I in A||(A={}))c.call(A,I)&&o(R,I,A[I]);if(l)for(var I of l(A))f.call(A,I)&&o(R,I,A[I]);return R},u=(R,A,I)=>new Promise((M,B)=>{var N=H=>{try{W(I.next(H))}catch(ae){B(ae)}},V=H=>{try{W(I.throw(H))}catch(ae){B(ae)}},W=H=>H.done?M(H.value):Promise.resolve(H.value).then(N,V);W((I=I.apply(R,A)).next())});function a(R){return u(this,null,function*(){return(0,r.ZP)("/api/users/tidings.json",{method:"get",params:h({},R)})})}function x(R){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${R.userId}/unread_message_info.json`,{method:"get",params:h({},R)})})}function p(R){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${R.userId}/private_messages.json`,{method:"get",params:h({},R)})})}function y(R){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${R.userId}/private_messages.json`,{method:"post",body:h({},R)})})}function _(R){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${R.id}/recent_contacts.json`,{method:"get",params:h({},R)})})}function b(R){return u(this,null,function*(){return(0,r.ZP)("/api/users_for_private_messages.json",{method:"get",params:h({},R)})})}function S(R){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${R.userId}/private_message_details.json`,{method:"get",params:h({},R)})})}function k(R){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${R.userId}/private_messages/${R.id}.json`,{method:"delete"})})}},24514: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 I},ms:function(){return R},s0:function(){return S},vf:function(){return y},xn:function(){return x},yy:function(){return A}});var r=e(38147),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,o=(N,V,W)=>V in N?i(N,V,{enumerable:!0,configurable:!0,writable:!0,value:W}):N[V]=W,h=(N,V)=>{for(var W in V||(V={}))c.call(V,W)&&o(N,W,V[W]);if(l)for(var W of l(V))f.call(V,W)&&o(N,W,V[W]);return N},u=(N,V,W)=>new Promise((H,ae)=>{var ne=q=>{try{J(W.next(q))}catch(K){ae(K)}},oe=q=>{try{J(W.throw(q))}catch(K){ae(K)}},J=q=>q.done?H(q.value):Promise.resolve(q.value).then(ne,oe);J((W=W.apply(N,V)).next())});function a(N){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${N.coursesId}/online_learning.json`,{method:"get"})})}function x(N){return u(this,null,function*(){return(0,r.ZP)(`/api/course_stages/${N.id}.json`,{method:"put",body:N})})}function p(N){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${N.coursesId}/course_stages.json`,{method:"post",body:N})})}function y(N){return u(this,null,function*(){return(0,r.ZP)(`/api/course_stages/${N.id}/add_shixun_to_stage.json`,{method:"post",body:N})})}function _(N){return u(this,null,function*(){return(0,r.ZP)(`/api/course_stages/${N.id}/select_shixun_to_stage.json`,{method:"post",body:N})})}function b(N){return u(this,null,function*(){return(0,r.ZP)(`/api/course_stages/${N.id}/add_video_to_stage.json`,{method:"post",body:N})})}function S(N){return u(this,null,function*(){return(0,r.ZP)(`/api/course_stages/${N.id}/add_attachment_to_stage.json`,{method:"post",body:N})})}function k(N){return u(this,null,function*(){return Fetch("/api/paths/add_shixun_to_stage.json",{method:"post",body:N})})}function R(N){return u(this,null,function*(){return(0,r.ZP)(`/api/course_stages/${N.id}/up_position.json`,{method:"post"})})}function A(N){return u(this,null,function*(){return(0,r.ZP)(`/api/course_stages/${N.id}/down_position.json`,{method:"post"})})}function I(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"})})}},29297:function(d,v,e){"use strict";e.d(v,{DF:function(){return b},Di:function(){return ee},Dm:function(){return oe},Dq:function(){return Ae},Gd:function(){return _},Hb:function(){return Pe},Hm:function(){return H},ID:function(){return u},JP:function(){return _e},NC:function(){return V},Pl:function(){return S},Qc:function(){return c},Qp:function(){return J},RK:function(){return x},YP:function(){return W},a2:function(){return o},ar:function(){return y},cV:function(){return a},d1:function(){return p},dp:function(){return l},fn:function(){return k},iT:function(){return M},jK:function(){return ne},kF:function(){return We},kp:function(){return I},lc:function(){return A},oF:function(){return le},q$:function(){return h},qN:function(){return ae},tS:function(){return R},ts:function(){return B},un:function(){return K},w0:function(){return se},wX:function(){return q},yE:function(){return f}});var r=e(38147),i=($e,Lt,bt)=>new Promise((kt,Zt)=>{var Mt=wt=>{try{je(bt.next(wt))}catch(Ft){Zt(Ft)}},tr=wt=>{try{je(bt.throw(wt))}catch(Ft){Zt(Ft)}},je=wt=>wt.done?kt(wt.value):Promise.resolve(wt.value).then(Mt,tr);je((bt=bt.apply($e,Lt)).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 S($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 A=$e=>(0,r.ZP)("/api/examination_banks/batch_send_to_course.json",{method:"post",body:$e});function I($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 V($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 W($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 H($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 ae($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 ne($e){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${$e.id}.json`,{method:"put",body:$e})})}function oe($e){return i(this,null,function*(){return(0,r.ZP)("/api/teach_group_shares.json",{method:"get",params:$e})})}function J($e){return i(this,null,function*(){return(0,r.ZP)("/api/examination_banks/set_batch_public.json",{method:"post",body:$e})})}function q($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 K($e){return i(this,null,function*(){return(0,r.ZP)("/api/examination_banks/create_exam.json",{method:"post",body:$e})})}function se($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,Lt){return i(this,null,function*(){return Fetch(`/api/examination_banks/${$e}/examination_banks_item_banks.json`,{method:"post",body:Lt})})}function le($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,Lt){return i(this,null,function*(){return Fetch(`/api/examination_banks/${$e}/sort_question_type.json`,{method:"post",body:Lt})})}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 ie($e,Lt){return i(this,null,function*(){return Fetch(`/api/examination_banks/${$e}/batch_set_score.json`,{method:"post",body:Lt})})}function _e($e){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${$e}/simulate_exercise.json`,{method:"post"})})}function Ae($e){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${$e}/exercise_header.json`,{method:"get"})})}function Pe($e,Lt,bt){return i(this,null,function*(){const kt=new FormData;return kt.append("file",Lt),kt.append("sub_discipline_id",bt),(0,r.ZP)(`/api/examination_banks/${$e}/import_item_banks.json`,{method:"post",body:kt},!0)})}function We($e){return i(this,null,function*(){return(0,r.ZP)("/api/users/change_exam_score.json",{method:"put",body:$e})})}},49320:function(d,v,e){"use strict";e.d(v,{$D:function(){return J},A2:function(){return xe},A7:function(){return Wt},AQ:function(){return N},Ax:function(){return Me},Bn:function(){return St},CI:function(){return Ye},DQ:function(){return pe},DU:function(){return Ft},EP:function(){return oe},Ep:function(){return Ne},Er:function(){return ie},Ex:function(){return Rt},FD:function(){return It},F_:function(){return wt},Fg:function(){return x},GY:function(){return Xt},Go:function(){return le},Gz:function(){return p},Hl:function(){return y},JS:function(){return bt},KM:function(){return se},M2:function(){return Ge},MO:function(){return _e},Mt:function(){return He},Mu:function(){return qe},NV:function(){return Ce},Q:function(){return Ae},Sp:function(){return B},VO:function(){return Te},WD:function(){return Ct},WO:function(){return $},WW:function(){return zt},_C:function(){return Tt},_V:function(){return qt},bw:function(){return ne},bz:function(){return ce},c3:function(){return Lt},eJ:function(){return Q},ef:function(){return je},fh:function(){return k},fj:function(){return z},hS:function(){return _},jT:function(){return ct},ke:function(){return Ht},lk:function(){return M},mQ:function(){return I},ms:function(){return xt},mx:function(){return We},nq:function(){return a},ol:function(){return ze},p:function(){return W},p4:function(){return Pe},pU:function(){return A},rS:function(){return kt},rs:function(){return ee},s0:function(){return ke},sm:function(){return $e},tS:function(){return b},tu:function(){return R},ue:function(){return V},vf:function(){return ft},w4:function(){return H},xG:function(){return Qe},xn:function(){return gt},yN:function(){return ae},yy:function(){return nr}});var r=e(38147),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,o=(ye,Je,yt)=>Je in ye?i(ye,Je,{enumerable:!0,configurable:!0,writable:!0,value:yt}):ye[Je]=yt,h=(ye,Je)=>{for(var yt in Je||(Je={}))c.call(Je,yt)&&o(ye,yt,Je[yt]);if(l)for(var yt of l(Je))f.call(Je,yt)&&o(ye,yt,Je[yt]);return ye},u=(ye,Je,yt)=>new Promise((Bt,Be)=>{var Dr=en=>{try{Xr(yt.next(en))}catch(Lr){Be(Lr)}},At=en=>{try{Xr(yt.throw(en))}catch(Lr){Be(Lr)}},Xr=en=>en.done?Bt(en.value):Promise.resolve(en.value).then(Dr,At);Xr((yt=yt.apply(ye,Je)).next())});const a=ye=>u(void 0,null,function*(){return(0,r.ZP)("/api/subject_statistics/subject_use_infos.json",{method:"Get",params:ye})}),x=ye=>u(void 0,null,function*(){return(0,r.ZP)("/api/subject_statistics/rank_list.json",{method:"Get",params:ye})}),p=ye=>u(void 0,null,function*(){return(0,r.ZP)("/api/subject_statistics/statistics_body.json",{method:"Get",params:ye})}),y=ye=>u(void 0,null,function*(){return(0,r.ZP)("/api/subject_statistics/statistics_header.json",{method:"Get",params:ye})}),_=ye=>u(void 0,null,function*(){return(0,r.ZP)("/api/subject_statistics/online_count.json",{method:"Get",params:ye})});function b(ye){return u(this,null,function*(){return(0,r.ZP)("/api/paths.json",{method:"Get",params:h({},ye)})})}function S(ye){return u(this,null,function*(){return Fetch("/api/intelligent_recommendations/subject_lists.json",{method:"Get",params:h({},ye)})})}function k(ye){return u(this,null,function*(){return(0,r.ZP)("/api/disciplines.json",{method:"Get",params:h({},ye)})})}function R(ye){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${ye.id}.json`,{method:"PUT",body:ye})})}function A(ye){return u(this,null,function*(){return(0,r.ZP)("/api/paths.json",{method:"post",body:ye})})}function I(ye){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${ye.id}/edit.json`,{method:"get"})})}function M(ye){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${ye.id}.json`,{method:"get",params:h({identifier:ye.id},ye)})})}function B(ye){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${ye.id}.json`,{method:"get",params:h({identifier:ye.id},ye)})})}function N(ye){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${ye.id}/right_banner.json`,{method:"get",params:ye})})}function V(ye){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${ye.id}/spoc_courses.json`,{method:"get",params:ye})})}const W=ye=>u(void 0,null,function*(){return(0,r.ZP)("/api/v2/stages.json",{method:"Get",params:ye})}),H=ye=>u(void 0,null,function*(){return(0,r.ZP)(`/api/v2/stage_shixuns/${ye.id}/children.json`,{method:"Get",params:ye})});function ae(ye){return u(this,null,function*(){return(0,r.ZP)("/api/stages.json",{method:"get",params:ye})})}function ne(ye){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${ye.id}/update_team_title.json`,{method:"post",body:ye})})}function oe(ye){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${ye.id}/delete_member.json`,{method:"Delete",body:ye})})}function J(ye){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${ye.id}/spoc_courses/${ye==null?void 0:ye.courseid}.json`,{method:"Delete"})})}function q(ye){return u(this,null,function*(){return Fetch(`/api/paths/${ye.id}/up_member_position.json`,{method:"post",body:ye})})}function K(ye){return u(this,null,function*(){return Fetch(`/api/paths/${ye.id}/down_member_position.json`,{method:"post",body:ye})})}function se(ye){return u(this,null,function*(){return(0,r.ZP)("/api/collections.json",{method:"post",body:ye})})}function ee(ye){return u(this,null,function*(){return(0,r.ZP)("/api/collections/cancel.json",{method:"Delete",body:ye})})}function Q(ye){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${ye.id}.json`,{method:"Delete",body:ye})})}function le(ye){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${ye.id}/publish.json`,{method:"post",body:ye})})}function z(ye){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${ye.id}/cancel_publish.json`,{method:"post",body:ye})})}function $(ye){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${ye.id}/apply_public.json`,{method:"post",body:ye})})}function ie(ye){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${ye.id}/cancel_public.json`,{method:"post",body:ye})})}function _e(ye){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${ye.id}/choose_course.json`,{method:"get",params:ye})})}function Ae(ye){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${ye.id}/send_to_course.json`,{method:"post",body:ye})})}function Pe(ye){return u(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${ye.id}/send_to_course.json`,{method:"post",body:ye})})}function We(ye){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${ye.id}/add_subject_members.json`,{method:"post",body:ye})})}function $e(ye){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${ye.id}/spoc_courses.json`,{method:"post",body:ye})})}function Lt(ye){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${ye.id}/appointment.json`,{method:"post",body:ye})})}function bt(ye){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${ye.id}/join_excellent_course.json`,{method:"post",body:ye})})}function kt(ye){return u(this,null,function*(){return(0,r.ZP)("/api/watch_attachment_histories.json",{method:"post",body:ye})})}function Zt(ye){return u(this,null,function*(){return Fetch(`/api/paths/${ye.id}/statistics_info.json`,{method:"get",params:ye})})}function Mt(ye){return u(this,null,function*(){return Fetch(`/api/paths/${ye.id}/shixun_analyze.json`,{method:"get",params:ye})})}function tr(ye){return u(this,null,function*(){return Fetch(`/api/paths/${ye.id}/learning_analyze.json`,{method:"get",params:ye})})}function je(ye){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${ye.id}/learning_statistics.json`,{method:"get",params:ye})})}function wt(ye){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${ye.id}/shixun_statistics.json`,{method:"get",params:ye})})}function Ft(ye){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${ye.id}/study_analyze/${ye.type}.json`,{method:"get",params:ye})})}function tt(ye){return u(this,null,function*(){return Fetch("/api/paths/append_to_stage.json",{method:"post",body:ye})})}function gt(ye){return u(this,null,function*(){return(0,r.ZP)(`/api/stages/${ye.id}.json`,{method:"put",body:ye})})}function ft(ye){return u(this,null,function*(){return(0,r.ZP)(`/api/stages/${ye.id}/add_shixun_to_stage.json`,{method:"post",body:ye})})}const Qe=ye=>u(void 0,null,function*(){return(0,r.ZP)(`/api/stages/${ye==null?void 0:ye.stage_id}/select_challenge_to_stage.json`,{method:"post",body:ye})});function Ne(ye){return u(this,null,function*(){return(0,r.ZP)(`/api/stages/${ye.id}/select_shixun_to_stage.json`,{method:"post",body:ye})})}function xe(ye){return u(this,null,function*(){return(0,r.ZP)(`/api/stages/${ye.id}/add_video_to_stage.json`,{method:"post",body:ye})})}function ke(ye){return u(this,null,function*(){return(0,r.ZP)(`/api/stages/${ye.id}/add_attachment_to_stage.json`,{method:"post",body:ye})})}function Ge(ye){return u(this,null,function*(){return(0,r.ZP)(`/api/stage_shixuns/${ye.id}.json`,{method:"put",body:ye})})}function He(ye){return u(this,null,function*(){return(0,r.ZP)(`/api/stages/${ye.id}/add_blank_to_stage.json`,{method:"post",body:ye})})}function Ye(ye){return u(this,null,function*(){return(0,r.ZP)("/api/stages.json",{method:"post",body:ye})})}function dt(ye){return u(this,null,function*(){return Fetch("/api/paths/add_shixun_to_stage.json",{method:"post",body:ye})})}function xt(ye){return u(this,null,function*(){return(0,r.ZP)(`/api/stages/${ye.id}/up_position.json`,{method:"get"})})}function nr(ye){return u(this,null,function*(){return(0,r.ZP)(`/api/stages/${ye.id}/down_position.json`,{method:"get"})})}function qt(ye){return u(this,null,function*(){return(0,r.ZP)(`/api/stages/${ye.id}.json`,{method:"delete"})})}function Me(ye){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${ye.pathId}/discusses.json`,{method:"get",params:h({},ye)})})}function qe(ye){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${ye.coursesId}/excellent_discusses.json`,{method:"get",params:h({},ye)})})}function Vt(ye){return u(this,null,function*(){return Fetch("/api/discusses.json",{method:"post",body:h({},ye)})})}function Rt(ye){return u(this,null,function*(){return(0,r.ZP)(`/api/stages/${ye.stage_id}/items/move_position`,{method:"post",body:h({},ye)})})}function zt(ye){return u(this,null,function*(){return(0,r.ZP)(`/api/stages/${ye.stage_id}/items/${ye.id}`,{method:"delete"})})}function Ht(ye){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${ye.id}/excellent_discuss`,{method:"post",body:h({},ye)})})}function Ct(ye){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${ye.id}/post_discuss`,{method:"post",body:h({},ye)})})}function Xt(ye){return u(this,null,function*(){return(0,r.ZP)("/api/schools/for_option.json",{method:"get",params:ye})})}function ze(ye){return u(this,null,function*(){return(0,r.ZP)("/api/schools/province_data.json",{method:"get",params:ye})})}function ce(ye){return u(this,null,function*(){return(0,r.ZP)("/api/add_school_applies.json",{method:"post",body:ye})})}function pe(ye){return u(this,null,function*(){return(0,r.ZP)(`/api/stages/${ye==null?void 0:ye.id}/add_homework_to_stage.json`,{method:"post",body:ye})})}function It(ye){return u(this,null,function*(){return(0,r.ZP)(`/api/stage_shixuns/${ye==null?void 0:ye.id}/edit.json`,{method:"get",params:ye})})}function Te(ye){return u(this,null,function*(){return(0,r.ZP)(`/api/stage_shixuns/${ye==null?void 0:ye.id}.json`,{method:"put",body:ye})})}function ct(ye){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${ye==null?void 0:ye.user_id}/subjects/subject_homework.json`,{method:"get",params:ye})})}function Wt(ye){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${ye==null?void 0:ye.user_id}/courses/course_homework.json`,{method:"get",params:ye})})}function Tt(ye){return u(this,null,function*(){return(0,r.ZP)(`/api/stages/${ye==null?void 0:ye.id}/batch_add_homework_to_stage.json`,{method:"post",body:ye})})}function Ce(ye){return u(this,null,function*(){return(0,r.ZP)("/api/paths/get_homework_detail.json",{method:"get",params:ye})})}function St(ye){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${ye==null?void 0:ye.user_login}/subjects/cancel.json`,{method:"get",params:ye})})}},43150:function(d,v,e){"use strict";e.d(v,{Fd:function(){return se},Hi:function(){return y},IU:function(){return V},KE:function(){return b},Kc:function(){return Q},MK:function(){return W},Q9:function(){return I},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 oe},iV:function(){return le},jy:function(){return H},kp:function(){return ne},lf:function(){return A},m7:function(){return _},n$:function(){return R},rJ:function(){return M},s3:function(){return x},ux:function(){return S},vf:function(){return K},wh:function(){return ae},wo:function(){return ee},x$:function(){return q}});var r=e(38147),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,o=($,ie,_e)=>ie in $?i($,ie,{enumerable:!0,configurable:!0,writable:!0,value:_e}):$[ie]=_e,h=($,ie)=>{for(var _e in ie||(ie={}))c.call(ie,_e)&&o($,_e,ie[_e]);if(l)for(var _e of l(ie))f.call(ie,_e)&&o($,_e,ie[_e]);return $},u=($,ie,_e)=>new Promise((Ae,Pe)=>{var We=bt=>{try{Lt(_e.next(bt))}catch(kt){Pe(kt)}},$e=bt=>{try{Lt(_e.throw(bt))}catch(kt){Pe(kt)}},Lt=bt=>bt.done?Ae(bt.value):Promise.resolve(bt.value).then(We,$e);Lt((_e=_e.apply($,ie)).next())});const a=$=>u(void 0,null,function*(){return(0,r.ZP)(`/api/poll_questions/${$==null?void 0:$.id}/commit_word_cloud.json`,{method:"Get",params:$})});function x($){return u(this,null,function*(){return(0,r.ZP)(`/api/polls/${$.categoryId}/poll_lists.json`,{method:"get",params:h({},$)})})}function p($){return u(this,null,function*(){return(0,r.ZP)(`/api/polls/${$.categoryId}/common_header.json`,{method:"get"})})}function y($){return u(this,null,function*(){return(0,r.ZP)(`/api/polls/${$.categoryId}/poll_setting.json`,{method:"get"})})}function _($){return u(this,null,function*(){return(0,r.ZP)(`/api/polls/${$.categoryId}/commit_setting.json`,{method:"post",body:h({},$)})})}function b($){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${$.coursesId}/polls/end_poll_modal.json`,{method:"get",params:h({},$)})})}function S($){return u(this,null,function*(){return(0,r.ZP)(`/api/polls/${$.categoryId}/publish_groups.json`,{method:"get",params:h({},$)})})}function k($){return u(this,null,function*(){return(0,r.ZP)(`/api/polls/${$.categoryId}/commit_result.json`,{method:"get",params:h({},$)})})}function R($){return u(this,null,function*(){return(0,r.ZP)("/api/question_banks/bank_list.json",{method:"get",params:h({},$)})})}function A($){return u(this,null,function*(){return(0,r.ZP)("/api/question_banks/save_banks.json",{method:"POST",body:h({},$)})})}function I($){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 V($){return u(this,null,function*(){return(0,r.ZP)(`/api/poll_questions/${$.pollsId}.json`,{method:"put",body:h({},$)})})}function W($){return u(this,null,function*(){return(0,r.ZP)(`/api/polls/${$.pollsId}/poll_questions.json`,{method:"post",body:h({},$)})})}function H($){return u(this,null,function*(){return(0,r.ZP)(`/api/poll_questions/${$.pollsId}.json`,{method:"delete",body:h({},$)})})}function ae($){return u(this,null,function*(){return(0,r.ZP)(`/api/poll_questions/${$.pollsId}/up_down.json`,{method:"post",body:h({},$)})})}function ne($){return u(this,null,function*(){return(0,r.ZP)(`/api/exercise_banks/${$.topicId}.json`,{method:"get"})})}function oe($){return u(this,null,function*(){return(0,r.ZP)(`/api/exercise_banks/${$.topicId}.json`,{method:"put",body:h({},$)})})}function J($){return u(this,null,function*(){return Fetch(`/api/exercise_banks/${$.topicId}.json`,{method:"put",body:h({},$)})})}function q($){return u(this,null,function*(){return(0,r.ZP)(`/api/exercise_bank_questions/${$.pollsId}.json`,{method:"delete",body:h({},$)})})}function K($){return u(this,null,function*(){return(0,r.ZP)(`/api/poll_questions/${$.pollsId}/up_down.json`,{method:"post",body:h({},$)})})}function se($){return u(this,null,function*(){return(0,r.ZP)("/api/poll_bank_questions.json",{method:"post",body:h({},$)})})}function ee($){return u(this,null,function*(){return(0,r.ZP)(`/api/poll_bank_questions/${$.pollsId}.json`,{method:"put",body:h({},$)})})}function Q($){return u(this,null,function*(){return(0,r.ZP)(`/api/exercise_bank_questions/${$.id}.json`,{method:"put",body:h({},$)})})}function le($){return u(this,null,function*(){return(0,r.ZP)("/api/exercise_bank_questions.json",{method:"post",body:h({},$)})})}function z($){return u(this,null,function*(){return(0,r.ZP)(`/api/exercise_bank_questions/${$.exerciseId}/up_down.json`,{method:"post",body:h({},$)})})}},11517:function(d,v,e){"use strict";e.d(v,{$c:function(){return dt},A1:function(){return He},Bd:function(){return I},Bo:function(){return J},Cc:function(){return se},Cn:function(){return le},DF:function(){return R},Dm:function(){return je},FG:function(){return oe},GW:function(){return wt},HF:function(){return W},Hm:function(){return $},IJ:function(){return Ge},L5:function(){return tr},LS:function(){return tt},MZ:function(){return xe},Mr:function(){return ne},NZ:function(){return Lt},Of:function(){return S},Pl:function(){return k},Qj:function(){return _},Qp:function(){return ft},RT:function(){return Me},Rp:function(){return gt},U6:function(){return H},Vl:function(){return ee},Wk:function(){return ae},YP:function(){return z},Ys:function(){return B},al:function(){return M},bF:function(){return xt},d1:function(){return y},dt:function(){return nr},et:function(){return _e},ex:function(){return b},fY:function(){return Ae},fn:function(){return A},hI:function(){return bt},hg:function(){return Ne},iT:function(){return q},lS:function(){return $e},nD:function(){return Ft},qN:function(){return ie},rV:function(){return N},s:function(){return We},sD:function(){return ke},sS:function(){return Mt},ts:function(){return K},vi:function(){return Ye},wX:function(){return Qe},x5:function(){return V},zh:function(){return Pe}});var r=e(38147),i=Object.defineProperty,l=Object.defineProperties,c=Object.getOwnPropertyDescriptors,f=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,h=Object.prototype.propertyIsEnumerable,u=(qe,Vt,Rt)=>Vt in qe?i(qe,Vt,{enumerable:!0,configurable:!0,writable:!0,value:Rt}):qe[Vt]=Rt,a=(qe,Vt)=>{for(var Rt in Vt||(Vt={}))o.call(Vt,Rt)&&u(qe,Rt,Vt[Rt]);if(f)for(var Rt of f(Vt))h.call(Vt,Rt)&&u(qe,Rt,Vt[Rt]);return qe},x=(qe,Vt)=>l(qe,c(Vt)),p=(qe,Vt,Rt)=>new Promise((zt,Ht)=>{var Ct=ce=>{try{ze(Rt.next(ce))}catch(pe){Ht(pe)}},Xt=ce=>{try{ze(Rt.throw(ce))}catch(pe){Ht(pe)}},ze=ce=>ce.done?zt(ce.value):Promise.resolve(ce.value).then(Ct,Xt);ze((Rt=Rt.apply(qe,Vt)).next())});function y(qe){return p(this,null,function*(){return(0,r.ZP)("/api/disciplines.json",{method:"get",params:x(a({},qe),{clazz:"ItemBanksGroup"})})})}function _(qe){return p(this,null,function*(){return(0,r.ZP)("/api/item_baskets/basket_list.json",{method:"get",params:qe})})}function b(qe){return p(this,null,function*(){return(0,r.ZP)("/api/item_banks_groups/for_problemset.json",{method:"post",body:qe})})}function S(qe){return p(this,null,function*(){return(0,r.ZP)("/api/item_banks/list.json",{method:"post",body:qe})})}function k(qe){return p(this,null,function*(){return(0,r.ZP)(`/api/item_banks/${qe.id}/set_private.json`,{method:"post"})})}function R(qe){return p(this,null,function*(){return(0,r.ZP)(`/api/item_banks/${qe.id}/set_public.json`,{method:"post"})})}function A(qe){return p(this,null,function*(){return(0,r.ZP)(`/api/item_banks/${qe.id}.json`,{method:"delete"})})}function I(qe){return p(this,null,function*(){return(0,r.ZP)(`/api/problems/${qe.id}/start.json`,{method:"get"})})}function M(qe){return p(this,null,function*(){return(0,r.ZP)(`/api/item_baskets/${qe.id}.json`,{method:"delete",body:a({},qe)})})}function B(qe){return p(this,null,function*(){return(0,r.ZP)("/api/item_baskets.json",{method:"post",body:qe})})}function N(qe){return p(this,null,function*(){return(0,r.ZP)("/api/examination_banks/cancel_items.json",{method:"post",body:qe})})}function V(qe){return p(this,null,function*(){return(0,r.ZP)("/api/item_baskets/delete_item_type.json",{method:"delete",body:{item_type:qe.type}})})}function W(qe){return p(this,null,function*(){return(0,r.ZP)("/api/examination_banks/cancel_items.json",{method:"post",body:qe})})}function H(qe){return p(this,null,function*(){return(0,r.ZP)("/api/tag_disciplines.json",{method:"post",body:qe})})}function ae(qe){return p(this,null,function*(){return(0,r.ZP)(`/api/item_banks/${qe.id}.json`,{method:"put",body:qe})})}function ne(qe){return p(this,null,function*(){return(0,r.ZP)("/api/item_banks.json",{method:"post",body:qe})})}function oe(qe){return p(this,null,function*(){return(0,r.ZP)(`/api/item_banks/${qe.id}/edit.json`,{method:"get"})})}function J(qe){return p(this,null,function*(){return(0,r.ZP)(`/api/problems/${qe.id}/edit.json`,{method:"get"})})}function q(qe){return p(this,null,function*(){return(0,r.ZP)("/api/item_baskets.json",{method:"get",params:qe})})}function K(qe){return p(this,null,function*(){return(0,r.ZP)(`/api/item_baskets/${qe.id}/set_score.json`,{method:"post",body:qe})})}function se(qe){return p(this,null,function*(){return(0,r.ZP)(`/api/item_baskets/${qe.id}/set_challenge_score.json`,{method:"post",body:qe})})}function ee(qe){return p(this,null,function*(){return(0,r.ZP)(`/api/item_baskets/${qe.id}/combination_set_score.json`,{method:"post",body:qe})})}function Q(qe){return p(this,null,function*(){return Fetch(`/api/examination_banks//${qe.exerid}/examination_banks_item_banks/${qe.id}/combination_set_score.json`,{method:"post",body:qe})})}function le(qe){return p(this,null,function*(){return(0,r.ZP)(`/api/item_baskets/${qe.id}.json`,{method:"delete"})})}function z(qe){return p(this,null,function*(){return(0,r.ZP)("/api/item_baskets/batch_set_score.json",{method:"post",body:qe})})}function $(qe){return p(this,null,function*(){return(0,r.ZP)("/api/item_baskets/delete_item_type.json",{method:"delete",body:qe})})}function ie(qe){return p(this,null,function*(){return(0,r.ZP)(`/api/item_baskets/${qe.id}/adjust_position.json`,{method:"post",body:qe})})}function _e(qe){return p(this,null,function*(){return(0,r.ZP)("/api/examination_banks.json",{method:"post",body:qe})})}function Ae(qe){return p(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${qe.id}/revoke_item.json`,{method:"delete",body:qe})})}function Pe(qe){return p(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${qe.exam_id}/examination_banks_item_banks.json`,{method:"post",body:qe})})}function We(qe){return p(this,null,function*(){return(0,r.ZP)(`/api/item_banks/${qe.id}/join_to_collection.json`,{method:"post",params:qe})})}function $e(qe){return p(this,null,function*(){return(0,r.ZP)(`/api/item_banks/${qe.id}/cancel_collection.json`,{method:"post",params:qe})})}function Lt(qe){return p(this,null,function*(){return(0,r.ZP)("/api/item_banks_groups.json",{method:"get",params:qe})})}function bt(qe){return p(this,null,function*(){return(0,r.ZP)("/api/item_banks_groups/mine.json",{method:"get",params:qe})})}function kt(qe){return p(this,null,function*(){return Fetch(`/api/item_banks/${qe.id}/join_to_group.json`,{method:"post",body:qe})})}function Zt(qe){return p(this,null,function*(){return Fetch(`/api/item_banks_groups/${qe.id}.json`,{method:"put",body:qe})})}function Mt(qe){return p(this,null,function*(){return(0,r.ZP)("/api/item_banks_groups.json",{method:"post",body:qe})})}function tr(qe){return p(this,null,function*(){return(0,r.ZP)(`/api/item_banks/${qe.id}/feedback.json`,{method:"post",body:qe})})}function je(qe){return p(this,null,function*(){return(0,r.ZP)("/api/teach_group_shares.json",{method:"get",params:qe})})}function wt(qe){return p(this,null,function*(){return(0,r.ZP)("/api/teach_group_shares.json",{method:"post",body:qe})})}function Ft(qe){return p(this,null,function*(){return(0,r.ZP)("/api/item_banks/batch_delete.json",{method:"post",body:qe})})}function tt(qe){return p(this,null,function*(){return(0,r.ZP)("/api/item_banks/batch_to_group.json",{method:"post",body:qe})})}function gt(qe){return p(this,null,function*(){return(0,r.ZP)("/api/item_banks/add_to_mine.json",{method:"post",body:qe})})}function ft(qe){return p(this,null,function*(){return(0,r.ZP)("/api/item_banks/set_batch_public.json",{method:"post",body:qe})})}function Qe(qe){return p(this,null,function*(){return(0,r.ZP)(`/api/item_banks/${qe==null?void 0:qe.id}/set_public.json`,{method:"post",body:qe})})}function Ne(qe){return p(this,null,function*(){return(0,r.ZP)("/api/teach_group_shares/show_groups.json",{method:"get",params:qe})})}function xe(qe){return(0,r.ZP)(`/api/problems/${qe.identifier}/publish.json`,{method:"post",body:qe})}function ke(qe){return(0,r.ZP)(`/api/problems/${qe.identifier}/cancel_publish.json`,{method:"post",body:qe})}function Ge(qe){return(0,r.ZP)("/api/item_banks/cancel_public.json",{method:"post",body:{ids:[...qe.id]}})}function He(qe){return p(this,null,function*(){return(0,r.ZP)(`/api/item_banks_groups/${qe.id}/up_position.json`,{method:"get",params:qe})})}function Ye(qe){return p(this,null,function*(){return(0,r.ZP)(`/api/item_banks_groups/${qe.id}/down_position.json`,{method:"get",params:qe})})}function dt(qe){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${qe.id}/edit_hack.json`,{method:"get",params:qe})})}function xt(qe){return p(this,null,function*(){return(0,r.ZP)("/api/problems/batch_publish_condition.json",{method:"post",body:qe})})}function nr(qe){return p(this,null,function*(){return(0,r.ZP)("/api/problems/batch_publish.json",{method:"post",body:qe})})}function qt(qe){return p(this,null,function*(){return Fetch("/api/item_banks/get_groups.json",{method:"get",params:qe})})}function Me(){return p(this,null,function*(){return(0,r.ZP)("/api/item_baskets/delete_all_items.json",{method:"delete"})})}},37822:function(d,v,e){"use strict";e.d(v,{E1:function(){return f},Go:function(){return l},H5:function(){return c}});var r=e(38147),i=(o,h,u)=>new Promise((a,x)=>{var p=b=>{try{_(u.next(b))}catch(S){x(S)}},y=b=>{try{_(u.throw(b))}catch(S){x(S)}},_=b=>b.done?a(b.value):Promise.resolve(b.value).then(p,y);_((u=u.apply(o,h)).next())});function l(o){return i(this,null,function*(){return(0,r.ZP)("/api/restfuls.json",{method:"get",params:o})})}function c(o){return i(this,null,function*(){return(0,r.ZP)(`/api/restfuls/${o.id}.json`,{method:"get",params:o})})}function f(o){return i(this,null,function*(){return(0,r.ZP)(`/api/restfuls/${o.id}.json`,{method:"delete",params:o})})}},88761:function(d,v,e){"use strict";e.d(v,{Am:function(){return _},Ar:function(){return je},BD:function(){return Ye},Be:function(){return Qe},Dx:function(){return ee},Fr:function(){return pe},G$:function(){return k},GS:function(){return H},Gw:function(){return S},H:function(){return Mt},H1:function(){return tr},Hj:function(){return xt},JA:function(){return qt},JG:function(){return se},KE:function(){return z},Lz:function(){return Ge},Mf:function(){return Zt},NA:function(){return bt},PC:function(){return $e},PP:function(){return Lt},PW:function(){return tt},Q3:function(){return Q},QC:function(){return Me},Qt:function(){return He},Qz:function(){return I},R$:function(){return ze},RP:function(){return oe},Ti:function(){return Tt},Uc:function(){return zt},Ul:function(){return q},VB:function(){return ct},Vs:function(){return Ht},Wr:function(){return R},Xn:function(){return J},YQ:function(){return kt},Yn:function(){return b},Z8:function(){return V},ak:function(){return Ft},cN:function(){return B},co:function(){return Ne},cz:function(){return Pe},fK:function(){return W},gG:function(){return We},gZ:function(){return Rt},h$:function(){return N},ku:function(){return ke},lf:function(){return ie},m7:function(){return K},mQ:function(){return M},mz:function(){return ft},n$:function(){return $},oK:function(){return y},oN:function(){return Wt},pH:function(){return dt},pb:function(){return Te},qP:function(){return qe},ql:function(){return Vt},rN:function(){return xe},sw:function(){return _e},t1:function(){return Ae},to:function(){return ne},ub:function(){return nr},ux:function(){return le},wS:function(){return It},wT:function(){return A},yT:function(){return wt},yy:function(){return Ct},z2:function(){return gt}});var r=e(38147),i=Object.defineProperty,l=Object.defineProperties,c=Object.getOwnPropertyDescriptors,f=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,h=Object.prototype.propertyIsEnumerable,u=(Ce,St,ye)=>St in Ce?i(Ce,St,{enumerable:!0,configurable:!0,writable:!0,value:ye}):Ce[St]=ye,a=(Ce,St)=>{for(var ye in St||(St={}))o.call(St,ye)&&u(Ce,ye,St[ye]);if(f)for(var ye of f(St))h.call(St,ye)&&u(Ce,ye,St[ye]);return Ce},x=(Ce,St)=>l(Ce,c(St)),p=(Ce,St,ye)=>new Promise((Je,yt)=>{var Bt=At=>{try{Dr(ye.next(At))}catch(Xr){yt(Xr)}},Be=At=>{try{Dr(ye.throw(At))}catch(Xr){yt(Xr)}},Dr=At=>At.done?Je(At.value):Promise.resolve(At.value).then(Bt,Be);Dr((ye=ye.apply(Ce,St)).next())});const y=Ce=>p(void 0,null,function*(){return(0,r.ZP)(`/api/student_works/${Ce.id}/update_journals.json`,{method:"post",body:Ce})}),_=Ce=>p(void 0,null,function*(){return(0,r.ZP)(`/api/student_works/${Ce==null?void 0:Ce.homeworkId}/change_score.json`,{method:"post",body:Ce})}),b=Ce=>p(void 0,null,function*(){return(0,r.ZP)(`/api/student_works/${Ce==null?void 0:Ce.homeworkId}/history_comment`,{method:"Get",params:Ce})}),S=Ce=>p(void 0,null,function*(){return(0,r.ZP)(`/api/student_works/${Ce==null?void 0:Ce.homeworkId}/feedback_know`,{method:"Get",params:Ce})}),k=Ce=>p(void 0,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Ce==null?void 0:Ce.userId}/student_work_feedbacks.json`,{method:"POST",body:Ce})}),R=Ce=>p(void 0,null,function*(){return(0,r.ZP)(`/api/student_works/${Ce==null?void 0:Ce.userId}/feedback_list.json`,{method:"Get",params:Ce})}),A=Ce=>p(void 0,null,function*(){return(0,r.ZP)(`/api/student_works/${Ce==null?void 0:Ce.userId}/histories.json`,{method:"Get",params:Ce})}),I=Ce=>p(void 0,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Ce==null?void 0:Ce.homeworkId}/feedback_list`,{method:"Get",params:Ce})}),M=Ce=>p(void 0,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Ce==null?void 0:Ce.homeworkId}/anonymous_exception_list.json`,{method:"Get",params:Ce})}),B=Ce=>p(void 0,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Ce==null?void 0:Ce.homeworkId}/appeal_list`,{method:"Get",params:Ce})});function N(Ce){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Ce.categoryId}/works_list.json`,{method:"post",body:a({},Ce)})})}function V(Ce){return p(this,null,function*(){return(0,r.ZP)(`/api/shixun_homeworks/${Ce.categoryId}/student_works.json`,{method:"get",params:a({},Ce)})})}function W(Ce){return p(this,null,function*(){return(0,r.ZP)(`/api/shixun_homeworks/${Ce.categoryId}/header_info.json`,{method:"get",params:a({},Ce)})})}function H(Ce){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${Ce}/query_game_url.json`,{method:"get"})})}function ae(Ce){return p(this,null,function*(){return Fetch(`/api/student_works/${Ce}/get_newest_shixun_work_comments.json`,{method:"get"})})}function ne(Ce){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Ce.categoryId}.json`,{method:"get"})})}function oe(Ce){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Ce.categoryId}/code_review_results.json`,{method:"get",params:a({},Ce)})})}function J(Ce){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Ce.categoryId}/code_review_detail.json`,{method:"get",params:a({},Ce)})})}function q(Ce){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Ce.categoryId}/settings.json`,{method:"get",params:a({},Ce)})})}function K(Ce){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Ce.categoryId}/update_settings.json`,{method:"post",body:a({},Ce)})})}function se(Ce){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Ce.categoryId}/group_list.json`,{method:"get",params:a({},Ce)})})}function ee(Ce){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Ce.categoryId}/works_list.xlsx`,{method:"get",params:a({},Ce)})})}function Q(Ce){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Ce.coursesId}/reference_answer.json`,{method:"get",params:a({},Ce)})})}function le(Ce){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Ce.categoryId}/publish_groups.json`,{method:"get",params:a({},Ce)})})}function z(Ce){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Ce.categoryId}/end_groups.json`,{method:"get",params:a({},Ce)})})}function $(Ce){return p(this,null,function*(){return(0,r.ZP)("/api/question_banks/bank_list.json",{method:"get",params:a({},Ce)})})}function ie(Ce){return p(this,null,function*(){return(0,r.ZP)("/api/question_banks/save_banks.json",{method:"post",body:a({},Ce)})})}function _e(Ce){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${Ce.homeworkId}/shixun_work_report.json`,{method:"get",params:Ce})})}function Ae(Ce){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${Ce.homeworkId}/shixun_work_report_echart_data.json`,{method:"get",params:Ce})})}function Pe(Ce){return p(this,null,function*(){return(0,r.ZP)(`/api/courses/${Ce.coursesId}/homework_commons/user_hack_detail.json`,{method:"get",params:x(a({},Ce),{id:Ce.categoryId})})})}function We(Ce){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${Ce.categoryId}/adjust_review_score.json`,{method:"post",body:a({},Ce)})})}function $e(Ce){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Ce.categoryId}/show_comment.json`,{method:"get",params:a({},Ce)})})}function Lt(Ce){return p(this,null,function*(){return(0,r.ZP)("/api/users/reply_message.json",{method:"post",body:a({},Ce)})})}function bt(Ce){return p(this,null,function*(){return(0,r.ZP)("/api/praise_tread/like.json",{method:"post",body:a({},Ce)})})}function kt(Ce){return p(this,null,function*(){return(0,r.ZP)("/api/praise_tread/unlike.json",{method:"delete",body:a({},Ce)})})}function Zt(Ce){return p(this,null,function*(){return(0,r.ZP)("/api/commons/delete.json",{method:"delete",body:a({},Ce)})})}function Mt(Ce){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Ce.categoryId}/update_explanation.json`,{method:"post",body:a({},Ce)})})}function tr(Ce){return p(this,null,function*(){return(0,r.ZP)(`/api/courses/${Ce.coursesId}/homework_commons.json`,{method:"post",body:a({},Ce)})})}function je(Ce){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Ce.categoryId}.json`,{method:"put",body:a({},Ce)})})}function wt(Ce){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_banks/${Ce.id}.json`,{method:"put",body:a({},Ce)})})}function Ft(Ce){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Ce.commonHomeworkId}/student_works/new.json`,{method:"get",params:a({},Ce)})})}function tt(Ce){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${Ce.homeworkId}/edit.json`,{method:"get",params:a({},Ce)})})}function gt(Ce){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${Ce.homeworkId}.json`,{method:"put",body:a({},Ce)})})}function ft(Ce){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${Ce.homeworkId}/revise_attachment.json`,{method:"post",body:a({},Ce)})})}function Qe(Ce){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Ce.commonHomeworkId}/student_works.json`,{method:"post",body:a({},Ce)})})}function Ne(Ce){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Ce.homeworkId}/student_works/relate_project.json`,{method:"post",body:a({},Ce)})})}function xe(Ce){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Ce.homeworkId}/student_works/cancel_relate_project.json`,{method:"get"})})}function ke(Ce){return p(this,null,function*(){return(0,r.ZP)("/api/users/projects/search.json",{method:"get",params:a({},Ce)})})}function Ge(Ce){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Ce.commonHomeworkId}/student_works/search_member_list.json`,{method:"get",params:a({},Ce)})})}function He(Ce){return p(this,null,function*(){return(0,r.ZP)(`/api/courses/${Ce.coursesId}/homework_commons/new.json`,{method:"get",params:a({},Ce)})})}function Ye(Ce){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Ce.categoryId}/edit.json`,{method:"get",params:a({},Ce)})})}function dt(Ce){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_banks/${Ce.id}.json`,{method:"get",params:a({},Ce)})})}function xt(Ce){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${Ce.userId}.json`,{method:"get",params:a({},Ce)})})}function nr(Ce){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${Ce.userId}/supply_attachments.json`,{method:"get",params:a({},Ce)})})}function qt(Ce){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${Ce.userId}/comment_list.json`,{method:"get",params:a({},Ce)})})}function Me(Ce){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${Ce.userId}/destroy_score.json`,{method:"delete",body:a({},Ce)})})}function qe(Ce){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${Ce.userId}/add_score_reply.json`,{method:"post",body:a({},Ce)})})}function Vt(Ce){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Ce.categoryId}/all_student_works.json`,{method:"get",params:a({},Ce)})})}function Rt(Ce){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${Ce.homeworkId}/destroy_work_comment.json`,{method:"delete",body:a({},Ce)})})}function zt(Ce){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Ce.categoryId}/score_status.json`,{method:"get",params:a({},Ce)})})}function Ht(Ce){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Ce.categoryId}/update_score.json`,{method:"get",params:a({},Ce)})})}function Ct(Ce){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${Ce.userId}/add_score.json`,{method:"post",body:a({},Ce)})})}function Xt(Ce){return p(this,null,function*(){return Fetch(`/api/student_works/${Ce.userId}/cancel_appeal.json`,{method:"post",body:a({},Ce)})})}function ze(Ce){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${Ce.userId}/appeal_anonymous_score.json`,{method:"post",body:a({},Ce)})})}function ce(Ce){return p(this,null,function*(){return Fetch(`/api/student_works/${Ce.userId}/deal_appeal_score.json`,{method:"post",body:a({},Ce)})})}function pe(Ce){return p(this,null,function*(){return(0,r.ZP)(`/api/myshixuns/${Ce.id}/reset_my_game.json`,{method:"get",params:a({},Ce)})})}function It(Ce){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${Ce.homeworkId}/commit_des.json`,{method:"get",params:a({},Ce)})})}function Te(Ce){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${Ce.homeworkId}/update_des.json`,{method:"post",body:a({},Ce)})})}function ct(Ce){return p(this,null,function*(){return(0,r.ZP)(`/api/courses/${Ce.coursesId}/homework_commons/file_repeat_list.json`,{method:"get",params:a({},Ce)})})}function Wt(Ce){return p(this,null,function*(){return(0,r.ZP)(`/api/courses/${Ce.coursesId}/homework_commons/file_repeat_result.json`,{method:"get",params:a({},Ce)})})}function Tt(Ce){return p(this,null,function*(){return(0,r.ZP)(`/api/courses/${Ce.course_id}/homework_commons/file_repeat_detail.json`,{method:"get",params:a({},Ce)})})}},60979:function(d,v,e){"use strict";e.d(v,{$Q:function(){return Nr},AE:function(){return Ht},AQ:function(){return M},Ag:function(){return St},Ar:function(){return le},At:function(){return mt},BK:function(){return V},Bj:function(){return Ft},DC:function(){return je},Dz:function(){return st},E4:function(){return tr},EH:function(){return ie},Ee:function(){return vn},Er:function(){return ee},FB:function(){return N},Fg:function(){return S},GI:function(){return Pe},Gr:function(){return ft},Gu:function(){return Ae},Gz:function(){return b},HS:function(){return Dt},Hl:function(){return y},IT:function(){return Tt},I_:function(){return A},Ir:function(){return W},Je:function(){return Be},K:function(){return Nt},K0:function(){return Tr},KM:function(){return J},K_:function(){return Zr},LK:function(){return Dr},LP:function(){return We},Ne:function(){return se},OV:function(){return Lt},OW:function(){return $},Op:function(){return Lr},P2:function(){return kt},Po:function(){return I},Ps:function(){return Qe},Q:function(){return K},Q1:function(){return br},QA:function(){return oa},Ql:function(){return xe},Rs:function(){return Me},SG:function(){return Ki},Tn:function(){return Xt},Tr:function(){return Vi},U0:function(){return Ye},U9:function(){return Ne},UQ:function(){return Te},Ui:function(){return mr},Vx:function(){return nt},WO:function(){return Q},WT:function(){return zi},Wi:function(){return tt},Wl:function(){return ye},X$:function(){return Zt},Yn:function(){return ce},Z2:function(){return wt},ZO:function(){return gt},Zt:function(){return lt},_7:function(){return q},_9:function(){return pe},aH:function(){return ke},al:function(){return nr},b8:function(){return z},bq:function(){return ze},dK:function(){return H},e:function(){return k},eX:function(){return _e},eb:function(){return qe},fL:function(){return Bt},h4:function(){return vr},hS:function(){return _},he:function(){return R},hn:function(){return ne},ii:function(){return qt},im:function(){return It},j8:function(){return $e},jq:function(){return en},kF:function(){return Xr},km:function(){return xt},l3:function(){return bt},m7:function(){return He},mI:function(){return Ui},n5:function(){return B},nu:function(){return At},p0:function(){return Wt},q0:function(){return zt},q9:function(){return Yt},qA:function(){return _n},rO:function(){return Rt},rs:function(){return oe},sr:function(){return ct},t2:function(){return Ce},tX:function(){return Gn},uo:function(){return dt},v3:function(){return yt},w:function(){return Je},xK:function(){return Ct},xg:function(){return Vt},xk:function(){return Mt},yE:function(){return Ge},yx:function(){return wi},zD:function(){return ae},zH:function(){return on}});var r=e(38147),i=Object.defineProperty,l=Object.defineProperties,c=Object.getOwnPropertyDescriptors,f=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,h=Object.prototype.propertyIsEnumerable,u=(vt,Zi,Hi)=>Zi in vt?i(vt,Zi,{enumerable:!0,configurable:!0,writable:!0,value:Hi}):vt[Zi]=Hi,a=(vt,Zi)=>{for(var Hi in Zi||(Zi={}))o.call(Zi,Hi)&&u(vt,Hi,Zi[Hi]);if(f)for(var Hi of f(Zi))h.call(Zi,Hi)&&u(vt,Hi,Zi[Hi]);return vt},x=(vt,Zi)=>l(vt,c(Zi)),p=(vt,Zi,Hi)=>new Promise((hi,Fa)=>{var Ti=rr=>{try{Dn(Hi.next(rr))}catch(_t){Fa(_t)}},si=rr=>{try{Dn(Hi.throw(rr))}catch(_t){Fa(_t)}},Dn=rr=>rr.done?hi(rr.value):Promise.resolve(rr.value).then(Ti,si);Dn((Hi=Hi.apply(vt,Zi)).next())});const y=vt=>p(void 0,null,function*(){return(0,r.ZP)("/api/shixun_statistics/statistics_header.json",{method:"Get",params:vt})}),_=vt=>p(void 0,null,function*(){return(0,r.ZP)("/api/shixun_statistics/online_count.json",{method:"Get",params:vt})}),b=vt=>p(void 0,null,function*(){return(0,r.ZP)("/api/shixun_statistics/statistics_body.json",{method:"Get",params:vt})}),S=vt=>p(void 0,null,function*(){return(0,r.ZP)("/api/shixun_statistics/rank_list.json",{method:"Get",params:vt})}),k=vt=>p(void 0,null,function*(){return(0,r.ZP)("/api/shixun_statistics/shixun_use_infos.json",{method:"Get",params:vt})});function R(vt){return p(this,null,function*(){return(0,r.ZP)("/api/shixuns.json",{method:"Get",params:a({},vt)})})}function A(vt){return p(this,null,function*(){return(0,r.ZP)("/api/disciplines.json",{method:"Get",params:a({source:"shixun"},vt||{})})})}function I(vt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${vt.id}.json`,{method:"Get",params:vt})})}function M(vt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${vt.id}/show_right.json`,{method:"Get"})})}function B(vt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${vt.id}/challenges.json`,{method:"Get"})})}function N(vt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${vt.id}/save_copy_for_exercise.json`,{method:"post",body:{save_type:vt.save_type}})})}function V(vt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${vt.id}/jupyter_exec.json${vt.reset?`?reset=${vt.reset}`:""}`,{method:"Get",params:vt})})}function W(vt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${vt.id}/shixun_exec.json${vt.reset?`?reset=${vt.reset}`:""}`,{method:"Get",params:vt})})}function H(vt){return p(this,null,function*(){return(0,r.ZP)(vt.url,{method:"Get"})})}function ae(vt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${vt.shixun_identifier}/challenges/${vt.challenge_id}/index_up.json`,{method:"Get"})})}function ne(vt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${vt.shixun_identifier}/challenges/${vt.challenge_id}/index_down.json`,{method:"Get"})})}function oe(vt){return p(this,null,function*(){return(0,r.ZP)("/api/collections/cancel.json",{method:"Delete",body:{container_id:vt.container_id,container_type:vt.container_type}})})}function J(vt){return p(this,null,function*(){return(0,r.ZP)("/api/collections.json",{method:"Post",body:{container_id:vt.container_id,container_type:vt.container_type}})})}function q(vt){return p(this,null,function*(){const{id:Zi}=vt||{};return(0,r.ZP)(`/api/shixuns/${Zi}/search_user_courses.json`,{method:"Get",params:vt})})}function K(vt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${vt==null?void 0:vt.id}/send_to_course.json`,{method:"Post",body:a({},vt)})})}function se(vt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${vt.id}/cancel_publish.json`,{method:"Get"})})}function ee(vt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${vt.id}/cancel_apply_public.json`,{method:"Get"})})}function Q(vt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${vt.id}/apply_public.json`,{method:"post",body:a({},vt)})})}function le(vt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${vt.id}/publish.json`,{method:"Get"})})}function z(vt){return p(this,null,function*(){return(0,r.ZP)("/api/shixuns/jupyter_new.json",{method:"Get"})})}function $(vt){return p(this,null,function*(){return(0,r.ZP)(`/api/attachments/${vt.id}.json`,{method:"delete"})})}function ie(vt){return p(this,null,function*(){return(0,r.ZP)("/api/shixuns/apply_shixun_mirror.json",{method:"post",body:vt})})}function _e(vt){return p(this,null,function*(){return(0,r.ZP)("/api/shixuns.json",{method:"post",body:vt})})}function Ae(vt){return p(this,null,function*(){return(0,r.ZP)("/api/shixuns/jupyter_lab_new.json",{method:"get",params:vt})})}function Pe(vt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${vt.id}/review_newest_record.json`,{method:"Get"})})}function We(vt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${vt.id}/review_shixun.json`,{method:"post",body:vt})})}function $e(vt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${vt.id}/collaborators.json`,{method:"Get",params:vt})})}function Lt(vt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${vt.id}/shixun_members_added.json`,{method:"post",body:vt})})}function bt(vt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${vt.identifier}/add_members_group.json`,{method:"post",body:vt})})}function kt(vt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${vt.id}/change_manager.json`,{method:"Get",params:vt})})}function Zt(vt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${vt.id}/change_manager.json`,{method:"post",body:vt})})}function Mt(vt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${vt.id}/collaborators_delete.json`,{method:"delete",body:{user_id:vt.userId}})})}function tr(vt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${vt.id}/ranking_list.json`,{method:"Get"})})}function je(vt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${vt.id}/settings.json`,{method:"Get"})})}function wt(vt){return p(this,null,function*(){return(0,r.ZP)("/api/shixuns/get_mirror_script.json",{method:"Get",params:{mirror_id:vt.mirror_id}})})}function Ft(vt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${vt.id}/get_script_contents.json`,{method:"Get",params:vt})})}function tt(vt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${vt.id}/get_custom_script.json`,{method:"Get",params:vt})})}function gt(vt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${vt.id}/update_for_jupyter.json`,{method:"put",body:vt})})}function ft(vt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${vt.id}/shixun_quotes.json`,{method:"Get"})})}function Qe(vt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${vt.id}.json`,{method:"delete"})})}function Ne(vt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${vt.id}/close.json`,{method:"post",body:vt})})}function xe(vt){return p(this,null,function*(){return(0,r.ZP)("/api/shixuns/departments.json",{method:"Get",params:vt})})}function ke(vt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${vt.id}/update_permission_setting.json`,{method:"post",body:vt})})}function Ge(vt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${vt.id}/update_learn_setting.json`,{method:"post",body:vt})})}function He(vt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${vt.id}/update_setting`,{method:"post",body:vt})})}function Ye(vt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${vt.id}/get_data_sets.json`,{method:"Get",params:vt})})}function dt(vt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${vt.id}/destroy_data_sets.json`,{method:"Delete",body:{id:vt.deleteId}})})}function xt(vt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${vt.id}/challenges/new.json`,{method:"get"})})}function nr(vt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${vt.identifier}/challenges.json`,{method:"post",body:a({},vt)})})}function qt(vt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${vt.id}/challenges/${vt.challengeId}/edit.json`,{method:"get",params:{tab:vt.tab}})})}function Me(vt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${vt.id}/challenges/${vt.challengesId}.json`,{method:"put",body:a({},vt)})})}function qe(vt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${vt.id}/challenges/${vt.challengesId}/choose_questions.json`,{method:"get"})})}function Vt(vt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${vt.id}/challenges/move_position.json`,{method:"post",body:a({},vt)})})}function Rt(vt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${vt.id}/challenges/${vt.challengesId}.json`,{method:"delete",body:a({},vt)})})}function zt(vt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${vt.id}/challenges/${vt.challengesId}/edit.json`,{method:"get",params:a({},vt)})})}function Ht(vt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${vt.id}/challenges/${vt.challengeId}/answer.json`,{method:"get",params:a({},vt)})})}function Ct(vt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${vt.id}/challenges/${vt.challengeId}/crud_answer.json`,{method:"post",body:a({},vt)})})}function Xt(vt){return p(this,null,function*(){if(vt.type===1)return(0,r.ZP)(`/api/shixuns/${vt.id}/challenges/${vt.challengesId}/create_choose_question.json`,{method:"post",body:a({},vt)});if(vt.type===2)return(0,r.ZP)(`/api/shixuns/${vt.id}/challenges/${vt.challengesId}/create_blank_question.json`,{method:"post",body:a({},vt)});if(vt.type===3)return(0,r.ZP)(`/api/shixuns/${vt.id}/challenges/${vt.challengesId}/create_judge_question.json`,{method:"post",body:a({},vt)})})}function ze(vt){return p(this,null,function*(){if(vt.type===1)return(0,r.ZP)(`/api/shixuns/${vt.id}/challenges/${vt.challengesId}/update_choose_question.json`,{method:"post",body:x(a({},vt),{choose_id:vt.questionId})});if(vt.type===2)return(0,r.ZP)(`/api/shixuns/${vt.id}/challenges/${vt.challengesId}/update_blank_question.json`,{method:"put",body:x(a({},vt),{choose_id:vt.questionId})});if(vt.type===3)return(0,r.ZP)(`/api/shixuns/${vt.id}/challenges/${vt.challengesId}/update_judge_question.json`,{method:"put",body:x(a({},vt),{choose_id:vt.questionId})})})}function ce(vt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${vt.id}/challenges/${vt.challengesId}/destroy_challenge_choose.json`,{method:"Delete",body:{choose_id:vt.questionId}})})}function pe(vt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${vt.id}/challenges/${vt.challengesId}/choose_question_up_position.json`,{method:"post",body:{challenge_choose_id:vt.questionId}})})}function It(vt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${vt.id}/challenges/${vt.challengesId}/choose_question_down_position.json`,{method:"post",body:{challenge_choose_id:vt.questionId}})})}function Te(vt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${vt.id}/challenges/${vt.challengesId}/edit_choose_question.json`,{method:"get",params:x(a({},vt),{choose_id:vt.questionId})})})}function ct(vt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${vt.id}/delete_git_file.json`,{method:"Delete",body:vt})})}function Wt(vt){return p(this,null,function*(){return(0,r.ZP)(`/api/sci/projects/${vt.id}/delete_git_file.json`,{method:"Delete",body:vt})})}function Tt(vt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${vt.id}/mv_file.json`,{method:"post",body:vt})})}function Ce(vt){return p(this,null,function*(){return(0,r.ZP)(`/api/sci/projects/${vt.id}/mv_file.json`,{method:"post",body:vt})})}function St(vt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${vt.id}/repository.json`,{method:"post",body:vt})})}function ye(vt){return p(this,null,function*(){return(0,r.ZP)(`/api/sci/projects/${vt.id}/repository.json`,{method:"post",body:vt})})}function Je(vt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${vt.id}/secret_repository.json`,{method:"post",body:vt})})}function yt(vt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${vt.id}/add_file.json`,{method:"post",body:vt})})}function Bt(vt){return p(this,null,function*(){return(0,r.ZP)(`/api/sci/projects/${vt.id}/add_file.json`,{method:"post",body:vt})})}function Be(vt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${vt.id}/commits.json`,{method:"post",body:vt})})}function Dr(vt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${vt.id}/file_content.json`,{method:"post",body:vt})})}function At(vt){return p(this,null,function*(){return(0,r.ZP)(`/api/sci/projects/${vt.id}/file_content.json`,{method:"post",body:vt})})}function Xr(vt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${vt.id}/update_file.json`,{method:"post",body:vt})})}function en(vt){return p(this,null,function*(){return(0,r.ZP)(`/api/sci/projects/${vt.id}/update_file.json`,{method:"post",body:vt})})}function Lr(vt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${vt.id}/upload_git_folder.json`,{method:"post",body:{path:vt.path,secret_repository:vt.secret_repository}})})}function Nr(vt){return p(this,null,function*(){return(0,r.ZP)(`/api/${vt.url}`,{method:"Get"})})}function mr(vt){return p(this,null,function*(){return(0,r.ZP)("/api/jupyters/get_info_with_tpm.json",{method:"Get",params:vt})})}function Zr(vt){return p(this,null,function*(){return(0,r.ZP)("/api/jupyters/timeinfo_with_tpm.json",{method:"Get",params:vt})})}function on(vt){return p(this,null,function*(){return(0,r.ZP)("/api/jupyters/reset_with_tpm.json",{method:"Get",params:vt})})}function _n(vt){return p(this,null,function*(){return(0,r.ZP)("/api/jupyters/save_with_tpm.json",{method:"Get",params:vt})})}function Yt(vt){return p(this,null,function*(){return(0,r.ZP)("/api/jupyters/active_with_tpm.json",{method:"Get",params:vt})})}function mt(vt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${vt.id}/fork_list.json`,{method:"Get",params:vt})})}function st(vt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${vt.identifier}/change_editable.json`,{method:"put",body:a({},vt)})})}function lt(vt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${vt.id}/set_secret_dir.json`,{method:"post",body:a({},vt)})})}function Nt(vt){return p(this,null,function*(){return(0,r.ZP)("/api/shixuns/new.json",{method:"Get",params:vt})})}function br(vt){return p(this,null,function*(){return(0,r.ZP)("/api/shixuns/environment_info",{method:"Get",params:vt})})}function vr(vt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${vt.id}/init_repository.json`,{method:"post",body:a({},vt)})})}function nt(vt){return p(this,null,function*(){return(0,r.ZP)(`/api/sci/projects/${vt.id}/init_repository.json`,{method:"post",body:a({},vt)})})}function Tr(vt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${vt.id}/update_secret_repository.json`,{method:"post",body:a({},vt)})})}function vn(vt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${vt.id}/exist_exercise.json`,{method:"get",params:a({},vt)})})}function Gn(vt){return p(this,null,function*(){return(0,r.ZP)(`/api/mirror_applies/${vt.id}.json`,{method:"get",params:a({},vt)})})}function Yr(vt){return p(this,null,function*(){return Fetch(`/api/mirror_applies/${vt.id}/publish.json`,{method:"post",body:a({},vt)})})}function Yn(vt){return p(this,null,function*(){return Fetch(`/api/mirror_applies/${vt.id}/open_vnc.json`,{method:"post",params:a({},vt)})})}function Jn(vt){return p(this,null,function*(){return Fetch(`/api/mirror_applies/${vt.id}/open_webssh.json`,{method:"post",params:a({},vt)})})}function kn(vt){return p(this,null,function*(){return Fetch(`/api/mirror_applies/${vt.id}/save_image.json`,{method:"post",body:a({},vt)})})}function Qn(vt){return p(this,null,function*(){return Fetch(`/api/mirror_applies/${vt.id}/delete_image.json`,{method:"post",body:a({},vt)})})}function ri(vt){return p(this,null,function*(){return Fetch(`/api/mirror_applies/${vt.id}/extend_vnc.json`,{method:"post",body:a({},vt)})})}function Ai(vt){return p(this,null,function*(){return Fetch(`/api/mirror_applies/${vt.id}/reset_vnc_link.json`,{method:"post",body:a({},vt)})})}function wi(vt){return p(this,null,function*(){return(0,r.ZP)("/api/paths/get_task_pass.json",{method:"get",params:a({},vt)})})}function Ui(vt){return p(this,null,function*(){return(0,r.ZP)("/api/jupyters/get_info_with_jupyter_lab.json",{method:"get",params:a({},vt)})})}function oa(vt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${vt.id}/update_jupyter_lab_setting.json`,{method:"post",body:a({},vt)})})}function Vi(vt){return p(this,null,function*(){return(0,r.ZP)("/api/shixuns/check_shixun_copy.json",{method:"post",body:vt})})}function zi(vt){return p(this,null,function*(){return(0,r.ZP)(`/api/progress_homeworks/${vt}`,{method:"get",params:{is_initiative_study:1}})})}function mi(vt){return p(this,null,function*(){return Fetch(`/api/shixuns/${vt.id}/update_shixun_study_num.json`,{method:"post",body:a({},vt)})})}function Ki(vt){return p(this,null,function*(){return(0,r.ZP)("/api/jupyters/preview.json",{method:"get",params:vt})})}function Dt(vt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${vt}/recommend_config.json`,{method:"get"})})}},93539:function(d,v,e){"use strict";e.d(v,{Bg:function(){return p},FO:function(){return M},eJ:function(){return b},eZ:function(){return S},fd:function(){return W},gp:function(){return a},iU:function(){return N},l3:function(){return R},mw:function(){return A},oZ:function(){return _},rM:function(){return I},r_:function(){return V},s:function(){return x},ur:function(){return B},xV:function(){return y},yb:function(){return k}});var r=e(38147),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,o=(H,ae,ne)=>ae in H?i(H,ae,{enumerable:!0,configurable:!0,writable:!0,value:ne}):H[ae]=ne,h=(H,ae)=>{for(var ne in ae||(ae={}))c.call(ae,ne)&&o(H,ne,ae[ne]);if(l)for(var ne of l(ae))f.call(ae,ne)&&o(H,ne,ae[ne]);return H},u=(H,ae,ne)=>new Promise((oe,J)=>{var q=ee=>{try{se(ne.next(ee))}catch(Q){J(Q)}},K=ee=>{try{se(ne.throw(ee))}catch(Q){J(Q)}},se=ee=>ee.done?oe(ee.value):Promise.resolve(ee.value).then(q,K);se((ne=ne.apply(H,ae)).next())});function a(H){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${H.coursesId}/teachers.json`,{method:"get",params:h({},H)})})}function x(H){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${H.coursesId}/apply_teachers.json`,{method:"get",params:h({},H)})})}function p(H){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${H.coursesId}/graduation_group_list.json`,{method:"get",params:h({},H)})})}function y(H){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${H.coursesId}/all_course_groups.json`,{method:"get",params:h({},H)})})}function _(H){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${H.coursesId}/set_course_group.json`,{method:"post",body:h({},H)})})}function b(H){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${H.coursesId}/join_graduation_group.json`,{method:"post",body:h({},H)})})}function S(H){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${H.coursesId}/create_graduation_group.json`,{method:"post",body:h({},H)})})}function k(H){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${H.coursesId}/delete_course_teacher.json`,{method:"post",body:h({},H)})})}function R(H){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${H.coursesId}/delete_from_course.json`,{method:"post",body:h({},H)})})}function A(H){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${H.coursesId}/change_member_role.json`,{method:"post",body:h({},H)})})}function I(H){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${H.coursesId}/change_course_admin.json`,{method:"post",body:h({},H)})})}function M(H){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${H.coursesId}/teacher_application_review.json`,{method:"post",body:h({},H)})})}function B(H){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${H.coursesId}/students.json`,{method:"get",params:h({},H)})})}function N(H,ae){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${H}/apply_students.json`,{method:"get",params:ae})})}function V(H,ae){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${H}/join_student_checkout.json`,{method:"get",params:ae})})}function W(H,ae){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${H}/student_application_review.json`,{method:"post",body:ae})})}},89540:function(d,v,e){"use strict";e.d(v,{B$:function(){return y},Cx:function(){return q},DA:function(){return I},DH:function(){return p},Ef:function(){return ee},Es:function(){return b},Ex:function(){return Zt},FM:function(){return ne},Fn:function(){return Q},Gq:function(){return tr},Ho:function(){return B},IU:function(){return _e},JJ:function(){return le},Ol:function(){return $e},Qx:function(){return ae},Tv:function(){return z},V8:function(){return x},WS:function(){return K},WY:function(){return H},ai:function(){return J},bG:function(){return k},bJ:function(){return a},c0:function(){return Mt},dE:function(){return ie},dt:function(){return $},gI:function(){return se},lO:function(){return oe},mW:function(){return W},n0:function(){return A},nV:function(){return We},o1:function(){return Lt},qE:function(){return _},qN:function(){return M},rV:function(){return N},sh:function(){return Pe},vR:function(){return S},w3:function(){return V},x4:function(){return R},z2:function(){return bt}});var r=e(38147),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,o=(je,wt,Ft)=>wt in je?i(je,wt,{enumerable:!0,configurable:!0,writable:!0,value:Ft}):je[wt]=Ft,h=(je,wt)=>{for(var Ft in wt||(wt={}))c.call(wt,Ft)&&o(je,Ft,wt[Ft]);if(l)for(var Ft of l(wt))f.call(wt,Ft)&&o(je,Ft,wt[Ft]);return je},u=(je,wt,Ft)=>new Promise((tt,gt)=>{var ft=xe=>{try{Ne(Ft.next(xe))}catch(ke){gt(ke)}},Qe=xe=>{try{Ne(Ft.throw(xe))}catch(ke){gt(ke)}},Ne=xe=>xe.done?tt(xe.value):Promise.resolve(xe.value).then(ft,Qe);Ne((Ft=Ft.apply(je,wt)).next())});const a=je=>u(void 0,null,function*(){return(0,r.ZP)(`/api/common_comments/${je.id}/move.json`,{method:"post",body:je})}),x=je=>u(void 0,null,function*(){return(0,r.ZP)(`/api/common_comments/${je.id}.json`,{method:"delete",body:je})}),p=je=>u(void 0,null,function*(){return(0,r.ZP)(`/api/common_comments/${je.id}.json`,{method:"put",body:je})}),y=je=>u(void 0,null,function*(){return(0,r.ZP)("/api/common_comments.json",{method:"post",body:je})}),_=je=>u(void 0,null,function*(){return(0,r.ZP)("/api/common_comments.json",{method:"Get",params:je})});function b(je){return u(this,null,function*(){return(0,r.ZP)("/api/accounts/login.json",{method:"post",body:h({},je)})})}function S(je){return u(this,null,function*(){return(0,r.ZP)("/api/accounts/logout.json",{method:"get"})})}function k(je){return u(this,null,function*(){return(0,r.ZP)("/api/users/get_user_info.json",{method:"get",params:h({},je)})})}function R(je){return u(this,null,function*(){return(0,r.ZP)("/api/users/get_notice.json",{method:"get",params:h({},je)})})}function A(){return u(this,null,function*(){return(0,r.ZP)("/api/users/system_update.json",{method:"get"})})}function I(je){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${je.username}/homepage_info.json`,{method:"get"})})}function M(je){return u(this,null,function*(){return(0,r.ZP)("/api/users/attendance.json",{method:"post"})})}function B(je){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${je.username}/courses.json`,{method:"get",params:je})})}function N(je){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${je.username}/shixuns.json`,{method:"get",params:je})})}function V(je){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${je.username}/subjects.json`,{method:"get",params:je})})}function W(je){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${je.username}/projects.json`,{method:"get",params:je})})}function H(je){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${je.username}/videos.json`,{method:"get",params:je})})}function ae(je){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${je.username}/videos/review.json`,{method:"get",params:je})})}function ne(je){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${je.username}/videos/${je.id}.json`,{method:"delete"})})}function oe(je){return u(this,null,function*(){return(0,r.ZP)("/api/watch_video_histories.json",{method:"post",body:je})})}function J(je){return u(this,null,function*(){return(0,r.ZP)("/api/users/question_banks.json",{method:"get",params:je})})}function q(je){return u(this,null,function*(){return(0,r.ZP)("/api/question_banks/multi_public.json",{method:"post",body:je})})}function K(je){return u(this,null,function*(){return(0,r.ZP)("/api/question_banks/multi_delete.json",{method:"delete",body:je})})}function se(je){return u(this,null,function*(){return(0,r.ZP)("/api/question_banks/my_courses.json",{method:"get",params:je})})}function ee(je){return u(this,null,function*(){return(0,r.ZP)("/api/question_banks/send_to_course.json",{method:"post",body:je})})}function Q(je){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${je.username}/videos/${je.object_id}/create_course_video.json`,{method:"post",body:je})})}function le(je){return u(this,null,function*(){return(0,r.ZP)(`/api/homework_banks/${je.topicId}.json`,{method:"get",params:je})})}function z(je){return u(this,null,function*(){return(0,r.ZP)("/api/question_banks/multi_delete.json",{method:"delete",body:h({},je)})})}function $(je){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${je.username}/videos/batch_publish.json`,{method:"post",body:je})})}function ie(je){return u(this,null,function*(){return(0,r.ZP)(`/api/myshixuns/${je.identifier}/cancel.json`,{method:"delete",body:h({},je)})})}function _e(je){return u(this,null,function*(){return(0,r.ZP)("/api/users/get_engineer_url.json",{method:"get",params:h({},je)})})}function Ae(je){return u(this,null,function*(){return Fetch("/api/intelligent_recommendations/user_choice_learn_path.json",{method:"post",body:h({},je)})})}function Pe(){return u(this,null,function*(){return(0,r.ZP)("/api/intelligent_recommendations/persona.json",{method:"get"})})}function We(){return u(this,null,function*(){return(0,r.ZP)("/api/intelligent_recommendations/user_learn_path.json",{method:"get"})})}function $e(je){return(0,r.ZP)("/api/accounts/valid_email_and_phone.json",{method:"get",params:je})}function Lt(je){return(0,r.ZP)("/api/accounts/get_verification_code.json",{method:"get",params:je})}function bt(je){return(0,r.ZP)("/api/accounts/register.json",{method:"post",body:h({},je)})}function kt(je){return Fetch("/api/weapps/register.json",{method:"post",body:h({},je)})}function Zt(je){return(0,r.ZP)(`/api/users/accounts/${je.login}/password.json`,{method:"put",body:h({},je)})}function Mt(je){return(0,r.ZP)("/api/accounts/reset_password.json",{method:"post",body:h({},je)})}function tr(je){return(0,r.ZP)("/api/accounts/login_for_phone.json",{method:"get",params:h({},je)})}},54624:function(d,v,e){"use strict";e.d(v,{BQ:function(){return a},DH:function(){return B},Db:function(){return oe},Ju:function(){return ne},Mz:function(){return W},O2:function(){return _},TJ:function(){return k},Vg:function(){return y},ZY:function(){return x},Zx:function(){return V},cU:function(){return p},fn:function(){return ae},jK:function(){return R},yN:function(){return H}});var r=e(38147),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,o=(J,q,K)=>q in J?i(J,q,{enumerable:!0,configurable:!0,writable:!0,value:K}):J[q]=K,h=(J,q)=>{for(var K in q||(q={}))c.call(q,K)&&o(J,K,q[K]);if(l)for(var K of l(q))f.call(q,K)&&o(J,K,q[K]);return J},u=(J,q,K)=>new Promise((se,ee)=>{var Q=$=>{try{z(K.next($))}catch(ie){ee(ie)}},le=$=>{try{z(K.throw($))}catch(ie){ee(ie)}},z=$=>$.done?se($.value):Promise.resolve($.value).then(Q,le);z((K=K.apply(J,q)).next())});function a(J){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${J.coursesId}/watch_video_histories.json`,{method:"Get",params:h({},J)})})}function x(J){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${J.coursesId}/watch_statics.json`,{method:"Get",params:h({},J)})})}function p(J){return u(this,null,function*(){return(0,r.ZP)(`/api/course_videos/${J.videoId}/watch_histories.json`,{method:"Get",params:h({},J)})})}function y(J){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${J.coursesId}/own_watch_histories.json`,{method:"Get",params:h({},J)})})}function _(J){return u(this,null,function*(){return(0,r.ZP)(`/api/video_items/${J.id}.json`,{method:"Get",params:h({},J)})})}function b(J){return u(this,null,function*(){return Fetch("/api/video_items.json",{method:"post",body:J})})}function S(J){return u(this,null,function*(){return Fetch(`/api/video_items/${J.id}/edit.json`,{method:"Get",params:h({},J)})})}function k(J){return u(this,null,function*(){return(0,r.ZP)(`/api/stage_shixuns/${J.id}/edit.json`,{method:"Get",params:h({},J)})})}function R(J){return u(this,null,function*(){return(0,r.ZP)(`/api/video_items/${J.id}/star.json`,{method:"post",body:J})})}function A(J){return u(this,null,function*(){return Fetch(`/api/video_items/${J.id}.json`,{method:"put",body:J})})}function I(J){return u(this,null,function*(){return Fetch(`/api/video_items/${J.id}/send_to_course.json`,{method:"post",body:J})})}function M(J){return u(this,null,function*(){return Fetch("/api/users/my_courses.json",{method:"Get",params:h({},J)})})}function B(J){return u(this,null,function*(){return(0,r.ZP)(`/api/video_items/${J.id}/view_video.json`,{method:"post",body:J})})}function N(J){return u(this,null,function*(){return Fetch(`/api/video_items/${J.id}/add_school.json`,{method:"post",body:J})})}function V(J){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${J.course_id}/video_people_statics.json`,{method:"get",params:J})})}function W(J){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${J.course_id}/video_duration_statics.json`,{method:"get",params:J})})}function H(J){return u(this,null,function*(){return(0,r.ZP)("/api/stages.json",{method:"get",params:J})})}function ae(J){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${J==null?void 0:J.id}/course_videos_tree.json`,{method:"get",params:J})})}function ne(J){return u(this,null,function*(){return(0,r.ZP)("/api/study_action_analyses.json",{method:"post",body:J})})}function oe(J){return u(this,null,function*(){return(0,r.ZP)("/api/study_action_analyses/detail.json",{method:"post",body:J})})}},35965:function(d,v,e){"use strict";e.d(v,{A:function(){return W},CH:function(){return c},EA:function(){return h},FU:function(){return x},G_:function(){return _},LY:function(){return M},Ll:function(){return o},MM:function(){return R},Ps:function(){return B},Sl:function(){return S},To:function(){return p},Vf:function(){return y},XQ:function(){return f},b:function(){return a},bq:function(){return V},cZ:function(){return u},rV:function(){return I},sT:function(){return b},tS:function(){return N},xt:function(){return A},y2:function(){return l}});var r=e(38147),i=(H,ae,ne)=>new Promise((oe,J)=>{var q=ee=>{try{se(ne.next(ee))}catch(Q){J(Q)}},K=ee=>{try{se(ne.throw(ee))}catch(Q){J(Q)}},se=ee=>ee.done?oe(ee.value):Promise.resolve(ee.value).then(q,K);se((ne=ne.apply(H,ae)).next())});const l=H=>i(void 0,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${H.virtual_spacesId}/base_statistic_data.json`,{method:"Get",params:H})});function c(H){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${H.virtual_spacesId}/discussions/${H.id}.json`,{method:"put",body:H})})}function f(H){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${H.virtual_spacesId}/discussions/${H.id}.json`,{method:"get",params:H})})}function o(H){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${H.virtual_spacesId}/discussions.json`,{method:"post",body:H})})}function h(H){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${H.virtual_spacesId}/discussions.json`,{method:"get",params:H})})}function u(H){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${H.virtual_spacesId}/good_lessons/${H.id}/add_resources.json`,{method:"post",body:H})})}function a(H){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${H.virtual_spacesId}/good_lessons/${H.id}/lesson_resources_list.json`,{method:"get",params:H})})}function x(H){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${H.virtual_spacesId}/good_lessons/${H.id}.json`,{method:"get",params:H})})}function p(H){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${H.virtual_spacesId}/good_lessons/${H.id}.json`,{method:"put",body:H})})}function y(H){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${H.virtual_spacesId}/good_lessons.json`,{method:"post",body:H})})}function _(H){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${H.virtual_spacesId}/good_lessons.json`,{method:"get",params:H})})}function b(H){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${H==null?void 0:H.id}.json`,{method:"get"})})}function S(H){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${H==null?void 0:H.id}/modules.json`,{method:"get"})})}function k(H){return i(this,null,function*(){return Fetch(`/api/virtual_classrooms/${H.id}/videos/batch_publish.json`,{method:"post",body:H})})}function R(H){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${H.virtual_spacesId}/members.json`,{method:"post",body:H})})}function A(H){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${H.virtual_spacesId}/members/${H.id}/change_creator.json`,{method:"post",body:H})})}function I(H,ae){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${H}/shixuns.json`,{method:"get",params:ae})})}function M(H,ae){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${H}/shixuns`,{method:"post",body:ae})})}function B(H){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${H.virtual_classroom_id}/shixuns/${H.shixun_id}.json`,{method:"delete"})})}function N(H,ae){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${H}/subjects.json`,{method:"get",params:ae})})}function V(H,ae){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${H}/subjects.json`,{method:"post",body:ae})})}function W(H){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${H.virtual_classroom_id}/subjects/${H.subject_id}.json`,{method:"delete"})})}},41867:function(d,v,e){"use strict";e.d(v,{$O:function(){return q},EO:function(){return dt},G5:function(){return V},GD:function(){return i},GJ:function(){return x},Gg:function(){return p},I2:function(){return f},IR:function(){return H},JA:function(){return Ye},JL:function(){return A},Jd:function(){return J},Ny:function(){return k},RV:function(){return ne},Rb:function(){return N},Rm:function(){return W},V9:function(){return $},Yh:function(){return Q},aN:function(){return b},aQ:function(){return u},ag:function(){return He},bg:function(){return nr},d8:function(){return B},dE:function(){return ae},eB:function(){return oe},eY:function(){return qt},fn:function(){return Ge},h:function(){return Ht},j5:function(){return _},m$:function(){return Me},oF:function(){return y},qz:function(){return h},t_:function(){return S},tu:function(){return Vt},y8:function(){return xt}});var r=e(65582),i=(Ct=>(Ct[Ct.SuperAdmin=1]="SuperAdmin",Ct[Ct.Operation=2]="Operation",Ct[Ct.CertifiedTeacher=5]="CertifiedTeacher",Ct[Ct.TrainingProduction=8]="TrainingProduction",Ct[Ct.UncertifiedTeacher=12]="UncertifiedTeacher",Ct[Ct.Student=15]="Student",Ct))(i||{}),l=(Ct=>(Ct[Ct.SuperAdmin=1]="SuperAdmin",Ct[Ct.Operation=2]="Operation",Ct[Ct.Admin=5]="Admin",Ct[Ct.Teacher=8]="Teacher",Ct[Ct.Assistant=12]="Assistant",Ct[Ct.Student=15]="Student",Ct))(l||{}),c=(Ct=>(Ct[Ct.SuperAdmin=0]="SuperAdmin",Ct[Ct.Teacher=1]="Teacher",Ct[Ct.Student=2]="Student",Ct))(c||{});const f=Ct=>{const{user:Xt}=(0,r.getDvaApp)()._store.getState(),{userInfo:ze}=Xt;return Ct.some(ce=>ce==(ze==null?void 0:ze.role))},o=Ct=>{const{user:Xt}=(0,r.getDvaApp)()._store.getState(),{userInfo:ze}=Xt;return ze!=null&&ze.own?!0:Ct.some(ce=>{var pe;return ce==((pe=ze==null?void 0:ze.course)==null?void 0:pe.course_role)})},h=()=>{const{user:Ct}=(0,r.getDvaApp)()._store.getState(),{userInfo:Xt}=Ct;return Xt.main_site},u=()=>{var Ct;const{user:Xt}=(0,r.getDvaApp)()._store.getState(),{userInfo:ze}=Xt;return(Ct=ze==null?void 0:ze.course)==null?void 0:Ct.course_is_end},a=()=>{const{user:Ct}=getDvaApp()._store.getState(),{userInfo:Xt}=Ct;return Xt.authentication},x=()=>o([1,2,5,8,12]),p=()=>o([1,8,5,12,2]),y=()=>o([1,8,5]),_=()=>o([1]),b=()=>o([1,2,5]),S=()=>o([1,2]),k=()=>f([1,2]),R=()=>f([1]),A=()=>f([1,2,5]),I=()=>o([1,5]),M=()=>o([5,8]),B=()=>o([5]),N=()=>o([1,5,2]),V=()=>o([1,2,5,8]),W=()=>o([12]),H=()=>o([8]),ae=()=>o([15]),ne=()=>o([1,2,5,8,12,15]),oe=()=>o([1,2,5,8,12]),J=()=>{var Ct;const{user:Xt}=(0,r.getDvaApp)()._store.getState(),{userInfo:ze}=Xt;return((Ct=ze==null?void 0:ze.course)==null?void 0:Ct.course_role)===null},q=()=>{var Ct;const{user:Xt,globalSetting:ze}=(0,r.getDvaApp)()._store.getState(),{userInfo:ce}=Xt,pe=((Ct=ze==null?void 0:ze.setting)==null?void 0:Ct.big_model_users)||[];return pe==null?void 0:pe.includes(ce==null?void 0:ce.login)},K=(Ct=!0,Xt=!1)=>f([1,2,5,8,12,15]),se=(Ct=!0,Xt=!1)=>Xt||!Xt&&f([1]),ee=(Ct=!0,Xt=!1)=>Xt||!Xt&&f([1,2]),Q=()=>f([15]),le=(Ct=!0,Xt=!1)=>Ct?f([1,2,5,8,12,15]):Xt||!Xt&&f([1,2]),z=(Ct=!0,Xt=!1)=>Ct?f([1,2,5,8,12,15]):Xt||!Xt&&f([1,2]),$=(Ct=!0,Xt=!1)=>{const{user:ze}=(0,r.getDvaApp)()._store.getState(),{userInfo:ce}=ze;return ce!=null&&ce.is_shixun_marker?!0:f([1,2,5,8])},ie=(Ct=!0,Xt=!1)=>Ct?f([1]):Xt||!Xt&&f([1]),_e=(Ct=!0,Xt=!1)=>Ct?f([1,2]):Xt||!Xt&&f([1,2]),Ae=(Ct=!0,Xt=!1)=>Ct?f([1,2,5,8,12,15]):Xt||!Xt&&f([1,2]),Pe=(Ct=!0,Xt=!1)=>Ct?f([1,2,5,8,12]):Xt||!Xt&&f([1,2]),We=(Ct=!0,Xt=!1)=>Ct?f([1,2,5]):Xt||!Xt&&f([1,2]),$e=(Ct=!0,Xt=!1)=>Ct?f([1]):!1,Lt=(Ct=!0,Xt=!1)=>f([1,2,5,8,12,15]),bt=(Ct=!0,Xt=!1)=>Ct?f([1]):Xt||!Xt&&f([1]),kt=(Ct=!0,Xt=!1)=>Ct?f([1,2]):Xt||!Xt&&f([1,2]),Zt=(Ct=!0,Xt=!1)=>Ct?f([1,2,5,8,12,15]):Xt||!Xt&&f([1,2]),Mt=(Ct=!0,Xt=!1)=>Ct?!1:Xt||!Xt&&f([1,2]),tr=(Ct=!0,Xt=!1)=>Ct?Xt||!Xt&&f([1,2]):!1,je=(Ct=!0,Xt=!1)=>Ct?f([1,2,5,8,12]):!1,wt=(Ct=!0,Xt=!1)=>Ct?!Xt&&f([1,2,5,8,12]):!1,Ft=(Ct=!0,Xt=!1)=>Ct?f([1,2,5]):Xt||!Xt&&f([1,2]),tt=(Ct=!0,Xt=!1)=>f([1,2,5,8,12]),gt=(Ct=!0,Xt=!1)=>Ct?f([1]):Xt||!Xt&&f([1]),ft=(Ct=!0,Xt=!1)=>Ct?f([1,2]):Xt||!Xt&&f([1,2]),Qe=(Ct=!0,Xt=!1)=>Ct?f([1,2,5,8,12]):Xt||!Xt&&f([1,2]),Ne=(Ct=!0,Xt=!1)=>Ct?Xt||!Xt&&f([1,2]):!1,xe=(Ct=!0,Xt=!1)=>Ct?f([1,2,5,8,12]):Xt||!Xt&&f([1,2]),ke=(Ct=!0,Xt=!1)=>o([8]),Ge=()=>f([1]),He=()=>f([1,2]),Ye=()=>f([15]),dt=()=>f([1,2,5]),xt=()=>f([1,2,5,12]),nr=()=>{var Ct;const{user:Xt}=(0,r.getDvaApp)()._store.getState();return!!((Ct=Xt.userInfo)!=null&&Ct.login)},qt=()=>{const{user:Ct}=(0,r.getDvaApp)()._store.getState();return Ct.userInfo},Me=()=>{var Ct,Xt;const{user:ze}=(0,r.getDvaApp)()._store.getState();return!!((Xt=(Ct=ze.userInfo)==null?void 0:Ct.path)!=null&&Xt.own)},qe=Ct=>{const{graduations:Xt}=(0,r.getDvaApp)()._store.getState(),{details:ze}=Xt;return Ct.some(ce=>ce===(ze==null?void 0:ze.user_identity))},Vt=()=>qe([0,1]),Rt=()=>qe([0]),zt=()=>qe([1]),Ht=()=>qe([2])},2337: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||{})},37142: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"}},74128:function(d,v,e){"use strict";e.d(v,{Z:function(){return c}});const r={PROXY_SERVER:"http://172.16.100.14",API_SERVER:"",REPORT_SERVER:"http://192.168.1.57:3001",IMG_SERVER:"http://172.16.100.14",FORGE:"https://code.educoder.net/",SSH_SERVER:"wss://webssh.educoder.net",SSH_Slice:"https://testfu.educoder.net",OFFICE_SERVER:"https://testoffice.educoder.net",ONLYOFFICE:"https://testoffice.educoder.net",OFFICE_IP:"http://113.246.243.98:9569",TERMINAL_URL:"testsvc1.vnc.educoder.net",QQLoginCB:encodeURIComponent("https://test-newweb.educoder.net")};var i=null,c={local:{API_SERVER:"http://localhost:3000",IMG_SERVER:"https://testali-cdn.educoder.net/",REPORT_SERVER:"http://192.168.1.57:3001",FORGE:"https://test-oldweb.educoder.net/",SSH_SERVER:"wss://pre-webssh.educoder.net",SSH_Slice:"https://testfu.educoder.net",OFFICE_SERVER:"https://testoffice.educoder.net",ONLYOFFICE:"https://testoffice.educoder.net",OFFICE_IP:"http://113.246.243.98:9569",QQLoginCB:encodeURIComponent("https://test-newweb.educoder.net")},dev:r,newReactTest:{API_SERVER:(()=>{let f;switch(location.host){case"test4.educoder.net":f="https://test4-data.educoder.net";break;case"test3.educoder.net":f="https://test3-data.educoder.net";break;case"test2.educoder.net":f="https://test2-data.educoder.net";break;default:f="https://test-data.educoder.net";break}return f})(),SSH_SERVER:"wss://pre-webssh.educoder.net",SSH_Slice:"https://testfu.educoder.net",IMG_SERVER:(()=>{let f="https://new-testali-cdn.educoder.net";const o=location.host;return o==="test3.educoder.net"&&(f="https://test3-data.educoder.net"),o==="test4.educoder.net"&&(f="https://test4-data.educoder.net"),f})(),OFFICE_SERVER:"https://testoffice.educoder.net",ONLYOFFICE:"https://testoffice.educoder.net",OFFICE_IP:"http://113.246.243.98:9569",REPORT_SERVER:"http://192.168.1.57:3001",FORGE:"https://test-oldweb.educoder.net/",QQLoginCB:encodeURIComponent("https://test-data.educoder.net"),TERMINAL_URL:"testsvc1.vnc.educoder.net"},preNewBuild:{API_SERVER:(()=>{let f="https://pre-data.educoder.net";return location.host==="pre2.educoder.net"&&(f="https://pre-data2.educoder.net"),f})(),IMG_SERVER:"https://preali-cdn.educoder.net",SSH_SERVER:"wss://pre-webssh.educoder.net",SSH_Slice:"https://testfu.educoder.net",REPORT_SERVER:"http://192.168.1.57:3001",OFFICE_SERVER:"https://testoffice.educoder.net",ONLYOFFICE:"https://testoffice.educoder.net",OFFICE_IP:"http://113.246.243.98:9569",FORGE:"https://forge.educoder.net/",QQLoginCB:encodeURIComponent("https://pre.educoder.net")},newBuild:{API_SERVER:(()=>{let f="https://data.educoder.net";return document.domain==="kepukehuan.educoder.net"?f="https://kepukehuan-data.educoder.net":(document.domain==="www.tokcoder.com"||document.domain==="tokcoder.com")&&(f="https://data.tokcoder.com"),f})(),SSH_SERVER:"wss://webssh.educoder.net",REPORT_SERVER:"http://192.168.1.57:3001",SSH_Slice:"https://fu.educoder.net",IMG_SERVER:"https://ali-cdn.educoder.net",OFFICE_SERVER:"https://officeserver.educoder.net",ONLYOFFICE:"https://office.educoder.net",OFFICE_IP:"https://officedata.educoder.net",FORGE:"https://code.educoder.net/",QQLoginCB:encodeURIComponent("https://www.educoder.net"),TERMINAL_URL:".jupyter.educoder.net"},newTest:{API_SERVER:"https://test-data.educoder.net",IMG_SERVER:"https://test-data.educoder.net",REPORT_SERVER:"http://192.168.1.57:3001",SSH_SERVER:"wss://pre-webssh.educoder.net",SSH_Slice:"https://testfu.educoder.net",OFFICE_SERVER:"https://testoffice.educoder.net",ONLYOFFICE:"https://testoffice.educoder.net",OFFICE_IP:"http://113.246.243.98:9569",FORGE:"http://test-oldweb.educoder.net/",QQLoginCB:encodeURIComponent("https://test-data.educoder.net")},test:{API_SERVER:"",IMG_SERVER:"",REPORT_SERVER:"http://192.168.1.57:3001",FORGE:"http://test-oldweb.educoder.net/",SSH_Slice:"https://testfu.educoder.net",OFFICE_SERVER:"https://testoffice.educoder.net",ONLYOFFICE:"https://testoffice.educoder.net",OFFICE_IP:"http://113.246.243.98:9569",SSH_SERVER:"wss://pre-webssh.educoder.net",QQLoginCB:encodeURIComponent("https://test-newweb.educoder.net")},preBuild:{API_SERVER:"",IMG_SERVER:"https://preali-cdn.educoder.net",REPORT_SERVER:"http://192.168.1.57:3001",FORGE:"https://forge.educoder.net/",SSH_Slice:"https://testfu.educoder.net",OFFICE_SERVER:"https://testoffice.educoder.net",ONLYOFFICE:"https://testoffice.educoder.net",OFFICE_IP:"http://113.246.243.98:9569",SSH_SERVER:"wss://pre-webssh.educoder.net",QQLoginCB:encodeURIComponent("https://test-newweb.educoder.net")},newWeb:{API_SERVER:"https://test-newweb.educoder.net",IMG_SERVER:"https://test-newweb.educoder.net/",REPORT_SERVER:"http://192.168.1.57:3001",FORGE:"http://test-oldweb.educoder.net/",SSH_Slice:"https://testfu.educoder.net",OFFICE_SERVER:"https://testoffice.educoder.net",ONLYOFFICE:"https://testoffice.educoder.net",OFFICE_IP:"http://113.246.243.98:9569",SSH_SERVER:"wss://pre-webssh.educoder.net",QQLoginCB:encodeURIComponent("https://test-newweb.educoder.net")},build:{API_SERVER:"",IMG_SERVER:"",REPORT_SERVER:"http://192.168.1.57:3001",FORGE:"https://forge.educoder.net/",SSH_SERVER:"wss://webssh.educoder.net",SSH_Slice:"https://fu.educoder.net",OFFICE_SERVER:"https://officeserver.educoder.net",ONLYOFFICE:"",OFFICE_IP:"https://officedata.educoder.net",QQLoginCB:encodeURIComponent("https://www.educoder.net"),TERMINAL_URL:".jupyter.educoder.net"}}[window.ENV||"dev"]},38147:function(d,v,e){"use strict";e.d(v,{IV:function(){return z},U2:function(){return se},ZP:function(){return oe},d4:function(){return ee},gz:function(){return le},rz:function(){return ne},v_:function(){return Q}});var r=e(74128),i=e(28909),l=e(43418),c=e(8591),f=e(85582),o=e.n(f),h=e(59301),u=e(65582),a=e(65862),x=e(89392),p=e.n(x),y=Object.defineProperty,_=Object.defineProperties,b=Object.getOwnPropertyDescriptors,S=Object.getOwnPropertySymbols,k=Object.prototype.hasOwnProperty,R=Object.prototype.propertyIsEnumerable,A=($,ie,_e)=>ie in $?y($,ie,{enumerable:!0,configurable:!0,writable:!0,value:_e}):$[ie]=_e,I=($,ie)=>{for(var _e in ie||(ie={}))k.call(ie,_e)&&A($,_e,ie[_e]);if(S)for(var _e of S(ie))R.call(ie,_e)&&A($,_e,ie[_e]);return $},M=($,ie)=>_($,b(ie)),B=($,ie,_e)=>new Promise((Ae,Pe)=>{var We=bt=>{try{Lt(_e.next(bt))}catch(kt){Pe(kt)}},$e=bt=>{try{Lt(_e.throw(bt))}catch(kt){Pe(kt)}},Lt=bt=>bt.done?Ae(bt.value):Promise.resolve(bt.value).then(We,$e);Lt((_e=_e.apply($,ie)).next())});let N;const V={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"},W=($,ie)=>B(void 0,null,function*(){if($.status>=200&&$.status<300)return $;const _e=V[$.status]||$.statusText;let Ae;var Pe=$.json();yield Pe.then(($e,Lt)=>{setTimeout(()=>{let bt=(0,u.getDvaApp)()},400),Ae=$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 We=new Error(_e);throw We.name=$.status,We.response=$,{data:$,code:$.status,message:Ae||_e}}),H=($,ie)=>{const _e=$.headers.get("Content-Type");return _e&&_e.match(/application\/json/i)&&$.clone().text().then(()=>{}),$};function ae($){try{return decodeURIComponent($),decodeURIComponent(encodeURIComponent($))===$}catch(ie){return!1}}const ne=$=>{$=$||{};let ie="";for(let _e in $)typeof $[_e]=="object"?Array.isArray($[_e])&&$[_e].forEach((Ae,Pe)=>{ie+="&"+_e+"[]="+Ae}):$[_e]!==void 0&&(ie+="&"+_e+"="+(ae($[_e])?$[_e]:encodeURIComponent($[_e])));return ie.substr(1)};function oe($,ie,_e,Ae){ie.method||(ie.method="get"),ie.method=ie.method.toUpperCase(),ie.mode="cors";const Pe=I({},ie),{user:We}=(0,u.getDvaApp)()._store.getState(),{userInfo:$e}=We,Lt=$+(Pe.body?JSON.stringify(Pe.body):""),bt=o().sha256().update(Lt).digest("hex"),kt={credentials:"include",withCredentials:!0},Zt={};$e!=null&&$e.login&&(Zt.zzud=$e==null?void 0:$e.login,$e!=null&&$e.school_id&&(Zt.zzsud=$e==null?void 0:$e.school_id),Pe.params=I(I({},Pe.params||{}),Zt));let Mt=I(I({},kt),(0,x.cloneDeep)(Pe));(Mt.method==="POST"||Mt.method==="PUT"||Mt.method==="PATCH"||Mt.method==="DELETE")&&(_e?(Mt.headers=M(I({_method:ie.method.toUpperCase()},Mt.headers),{"Pc-Authorization":(0,a.ej)("_educoder_session"),"X-Original-Protocol":location.protocol,"X-Original-Host":location.host}),Mt.body=Pe.body):(Mt.headers=I({Accept:"application/json",_method:ie.method.toUpperCase(),"Content-Type":"application/json; charset=utf-8","Pc-Authorization":(0,a.ej)("_educoder_session"),"X-Original-Protocol":location.protocol,"X-Original-Host":location.host},Mt.headers),Mt.body=JSON.stringify(Pe.body))),Mt.method=="GET"?(Mt.headers=M(I({Accept:"application/json","Content-Type":"application/json; charset=utf-8",_method:ie.method.toUpperCase()},Mt.headers),{"Pc-Authorization":(0,a.ej)("_educoder_session"),"X-Original-Protocol":location.protocol,"X-Original-Host":location.host}),Pe.params&&ne(Pe.params)&&($+="?"+ne(Pe.params))):Zt.zzud&&($+="?"+ne(I({},Zt)));const tr=Pe.expirys&&60;let je;(gt=>{gt.json="application/json;charset=UTF-8",gt.form="application/x-www-form-urlencoded; charset=UTF-8"})(je||(je={}));let wt;(gt=>{gt.get="GET",gt.post="POST"})(wt||(wt={}));const Ft=gt=>B(this,null,function*(){const ft=yield gt.arrayBuffer();let Qe;const Ne=new Blob([ft]);try{Qe=gt.headers.get("Content-Disposition").split(";")[1].replace("filename=","").replace(/[\s+,\',\",\,\,\“,\”,\<,\>,\《,\》]/g,"")}catch(He){Qe="userfiles.zip"}const xe=document.createElement("a"),ke=window.URL.createObjectURL(Ne),Ge=Qe;return xe.href=ke,xe.download=Ge,xe.click(),window.URL.revokeObjectURL(ke),ft});let tt=r.Z.API_SERVER;return(window.ENV==="dev"||$.startsWith("http"))&&(tt=""),Mt.method=="GET"&&Mt.params&&Object.keys(Mt.params).map(gt=>{if(Mt.params[gt]&&!Array.isArray(Mt.params[gt]))try{Mt.params[gt]=encodeURIComponent(decodeURIComponent(Mt.params[gt]))}catch(ft){Mt.params[gt]=encodeURIComponent(Mt.params[gt])}}),(0,a.Ec)(Mt,$),Ae&&(tt=""),Mt.headers._method=Mt.method,Mt.headers["X-HTTP-Method-Override"]=Mt.method,Mt.method!=="GET"&&(Mt.method="POST"),fetch(tt+$,Mt).then(gt=>W(gt,I({url:r.Z.API_SERVER+$},Mt))).then(gt=>H(gt,bt)).then(gt=>B(this,null,function*(){var ft,Qe,Ne,xe;try{const Ge=gt.headers.get("cs");Ge&&(0,a.d8)("_educoder_session",Ge,1)}catch(Ge){}if(gt.status===204)return gt.text();let ke;if(gt.headers.get("content-type").indexOf("application/json")>-1){ke=yield gt.json();try{const Ge=/\(\s+\/api\/attachments\/(\d+)|\(\/api\/attachments\/(\d+)\//g,He=/\"\/api\/attachments\/(\d+)\//g,Ye=/\(\s+\/files\/uploads\/(\d+)|\"\/files\/uploads\/(\d+)\//g,dt=/\/api\/attachments\/(\d+)/g,xt=/\/attachments\/download\/(\d+)/g;let nr=JSON.stringify(ke).replace(dt,(qt,Me,qe,Vt)=>{const Rt=Me||qe||Vt;return"/api/attachments/"+(0,a.Jn)(Rt)}).replace(xt,(qt,Me,qe)=>{const Vt=Me||qe;return"/attachments/download/"+(0,a.Jn)(Vt)}).replace(Ge,(qt,Me,qe,Vt)=>{const Rt=Me||qe||Vt;return"(/api/attachments/"+(0,a.Jn)(Rt)}).replace(He,(qt,Me,qe)=>{const Vt=Me||qe;return'"/api/attachments/'+(0,a.Jn)(Vt)}).replace(Ye,(qt,Me,qe)=>{const Vt=Me||qe;return"(/files/uploads/"+(0,a.Jn)(Vt)}).replace(/\r\n/g,`
`);ke=JSON.parse(nr)}catch(Ge){}}else Mt.headers["Content-Type"]==="application/xml"?ke=yield gt.text():(ft=Pe.body)!=null&&ft.autoDownload||(Qe=Pe.params)!=null&&Qe.autoDownload?ke=yield Ft(gt):ke=yield gt.arrayBuffer();try{ke.status===401&&(!((Ne=Mt.params)!=null&&Ne.hidePopLogin)||!((xe=Mt.body)!=null&&xe.hidePopLogin))&&(0,u.getDvaApp)()._store.dispatch({type:"user/showPopLogin",payload:{showPopLogin:!0,showClosable:!0}}),ke.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(Ge){console.log("fetcherr",Ge)}return K(ke,$),ke})).catch(gt=>{try{const ft=gt.code;if(gt instanceof TypeError&&window.showNetworkErrorTip(`${$}<span class="ml10">${gt.message}</span>`),ft){if(ft===401){(0,u.getDvaApp)()._store.dispatch({type:"user/showPopLogin",payload:{showPopLogin:!0,showClosable:!0}});return}K(gt,$)}else $.includes("/file/filePatchMerge")?(0,u.getDvaApp)()._store.dispatch({type:"shixunHomeworks/setActionTabs",payload:{key:"\u5206\u7247\u4E13\u7528504",params:Mt.body}}):gt.message!=="403"&&window.showNetworkErrorTip(`${$}<span class="ml10">${gt.message}</span>`);return gt}catch(ft){}})}let J=!1,q=!1;const K=($,ie)=>{var _e,Ae,Pe;if($.status==-6&&!q){q=!0,(0,a.d8)("_educoder_session","logout",1),(0,a.m5)(),setTimeout(()=>q=!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){q=!0,setTimeout(()=>q=!1,500);let $e="";(_e=$==null?void 0:$.data)!=null&&_e.exercise_list&&((Pe=(Ae=$==null?void 0:$.data)==null?void 0:Ae.exercise_list)==null||Pe.map(Lt=>{$e+=`<a target="_blank" href="/classrooms/${Lt.identifier}/exercise">\u300A${Lt.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&&!q){q=!0,setTimeout(()=>q=!1,500),c.ZP.warning({content:$.message,key:"message-key"});return}const We={403:"/403",404:"/404",500:"/500"};if(We[$.status]&&!J){const{user:$e}=(0,u.getDvaApp)()._store.getState(),{userInfo:Lt}=$e;throw window.location.pathname.indexOf("/users")>-1&&document.domain==="kepukehuan.educoder.net"&&(J=!0),setTimeout(()=>J=!1,500),sessionStorage.setItem("errorStatus",JSON.stringify($)),Object.values(We).includes(window.location.pathname)?console.log("\u5F53\u524D\u8DEF\u5F84\u5B58\u5728\u4E8E mapping \u4E2D, \u4E0D\u518D\u6267\u884C\u8DF3\u8F6C"):location.replace(We[$.status]),new Error("403")}};function se($,ie){return oe(`/api/${$}`,{method:"Get",params:ie||{}})}function ee($,ie){return oe(`/${$}`,{method:"Get",params:ie})}function Q($,ie){return oe(`/api/${$}`,{method:"Post",body:I({},ie)})}function le($,ie){return oe(`/api/${$}`,{method:"Put",body:I({},ie)})}function z($,ie){return oe(`/api/${$}`,{method:"delete",body:I({},ie||{})})}},73637: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="},49142:function(d,v,e){"use strict";e.d(v,{AL:function(){return B},Iy:function(){return p},Qv:function(){return b},ez:function(){return M},jb:function(){return y}});var r=e(32834),i=e.n(r),l=e(11690),c=e.n(l);let f=1;function o(ae,ne){const oe=ae.match(/^(\s+)(?:```)/);if(oe===null)return ne;const J=oe[1];return ne.split(`
`).map(q=>{const K=q.match(/^\s+/);if(K===null)return q;const[se]=K;return se.length>=J.length?q.slice(J.length):q}).join(`
`)}let h=[],u=["<ul>"];const a=new(i()).Renderer,x=/^ *(#{1,6}) *([^\n]+?) *(?:#+ *)?(?:\n+|$)/;function p(){h.length=0,u=["<ul>"]}const y={overflow:"hidden",WebkitBoxOrient:"vertical",display:"-webkit-box",WebkitLineClamp:2};function _(ae,ne,oe,J){if(ne>=ae.length||ae[ne].level<=oe)return ne;var q=ae[ne];J.push("<li><a href='#"+f+q.anchor+"'>"+q.text+"</a>"),ne++;var K=[];return ne=_(ae,ne,q.level,K),K.length>0&&(J.push("<ul>"),K.forEach(function(se){J.push(se)}),J.push("</ul>")),J.push("</li>"),ne=_(ae,ne,oe,J),ne}function b(){return _(h,0,0,u),u.push("</ul>"),u.join("")}const S={heading(ae){const ne=x.exec(ae);if(f+=1,ne)return{type:"heading",raw:ne[0],depth:ne[1].length,text:ne[2]}},fences(ae){const ne=this.rules.block.fences.exec(ae);if(ne){const oe=ne[0];let J=o(oe,ne[3]||"");const q=ne[2]?ne[2].trim():ne[2];if(["latex","katex","math"].indexOf(q)>=0){const K=A(),se=J;J=K,I[K]={type:"block",expression:se}}return{type:"code",raw:oe,lang:q,text:J}}}},k=/(?:\${2})([^\n`]+?)(?:\${2})/gi;let R=0;const A=()=>`__special_katext_id_${R++}__`;let I={};function M(){return I}function B(){R=0,I={}}function N(ae){return ae=ae.replace(k,(ne,oe)=>{const J=A();return I[J]={type:"inline",expression:oe},J}),ae}const V=a.listitem;a.listitem=function(ae){return V(N(ae))};const W=a.paragraph;a.paragraph=function(ae){return W(N(ae))};const H=a.tablecell;a.tablecell=function(ae,ne){return H(N(ae),ne)},a.code=function(ae,ne,oe){const J=(ne||"").match(/\S*/)[0];return J?["latex","katex","math"].indexOf(J)>=0?`<p class='editormd-tex'>${ae}</p>`:`<pre class="prettyprint linenums"><code class="language-${ne}">${oe?ae:(0,l.escape)(ae,!0)}</code></pre>
`:'<pre class="prettyprint linenums"><code>'+(oe?ae:(0,l.escape)(ae,!0))+"</code></pre>"},a.heading=function(ae,ne,oe){let J=this.options.headerPrefix+oe.toLowerCase().replace(/[^\w\\u4e00-\\u9fa5]]+/g,"-");return h.push({anchor:J,level:ne,text:ae}),"<h"+ne+' id="'+f+J+'">'+ae+"</h"+ne+">"},i().setOptions({silent:!0,gfm:!0,pedantic:!1}),i().use({tokenizer:S,renderer:a}),v.ZP=i()},65862:function(__unused_webpack_module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,{AS:function(){return vtrsKey},BO:function(){return NewAntdDisabledDate},Br:function(){return getBlob},DH:function(){return timego},Dk:function(){return setDocumentTitle},Dw:function(){return onPreviewImage},EJ:function(){return HighLightedContent},EM:function(){return toChineseNumber},EN:function(){return preciseCalculation},Ec:function(){return setHeader},FH:function(){return downLoadFile},G5:function(){return sendAppStatus},G7:function(){return handleValidatorNickName},HJ:function(){return handleValidatorName},I9:function(){return RomanNumber},IS:function(){return isWechatBrowser},Il:function(){return setThreeComponent},JL:function(){return formatHomeWorkStatusToName},Jn:function(){return getImageUrl},L4:function(){return PollsStatus},L9:function(){return trackEvent},LR:function(){return download},Ll:function(){return checkIsClientExam},M:function(){return setmiyah},M2:function(){return randomArray},NY:function(){return setUrlQuery},Nd:function(){return downLoadLink},Oo:function(){return getCategoryName},Or:function(){return toWechatLogin},PF:function(){return formatRandomPaperDatas},Pq:function(){return cutName},Q8:function(){return disabledDate},QB:function(){return timeContrast},QE:function(){return releaseRuleDataAdjust},QH:function(){return downLoadFileIframe},Qq:function(){return JudgeSort},RD:function(){return bytesToSize},RG:function(){return copyTextFuc},Sp:function(){return rangeNumber},Tv:function(){return ImgSrcConvert},U6:function(){return HalfPastOne},UQ:function(){return HomeWorkDetailStatus},Uw:function(){return CommonWorkStatus},VV:function(){return StatusClassroomsTags},Vf:function(){return domScrollToTop},W:function(){return isUnOrNull},WX:function(){return isLocalApp},Y:function(){return HomeWorkCommonDetailStatus},YA:function(){return getHiddenName},ZJ:function(){return toDataUrl},_g:function(){return getMessagesUrl},_m:function(){return isKepuKehuan},ad:function(){return formatRandomPaperData},b9:function(){return isPc},cX:function(){return localSort},d0:function(){return disabledTime},d8:function(){return setCookie},db:function(){return getFileContentAndUrl},eF:function(){return bindPhone},eP:function(){return isArrayBuffer},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__(41867),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__(27158),_service_exercise__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(87513),_contentType__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(37142),umi__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__(65582),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__(74128),_components_mediator__WEBPACK_IMPORTED_MODULE_8__=__webpack_require__(77254),_components_RenderHtml__WEBPACK_IMPORTED_MODULE_9__=__webpack_require__(6339),_utils_fetch__WEBPACK_IMPORTED_MODULE_10__=__webpack_require__(38147),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__(73637),moment__WEBPACK_IMPORTED_MODULE_12__=__webpack_require__(66649),moment__WEBPACK_IMPORTED_MODULE_12___default=__webpack_require__.n(moment__WEBPACK_IMPORTED_MODULE_12__),dayjs_plugin_customParseFormat__WEBPACK_IMPORTED_MODULE_13__=__webpack_require__(64796),dayjs_plugin_customParseFormat__WEBPACK_IMPORTED_MODULE_13___default=__webpack_require__.n(dayjs_plugin_customParseFormat__WEBPACK_IMPORTED_MODULE_13__),uuid__WEBPACK_IMPORTED_MODULE_18__=__webpack_require__(1012),__defProp=Object.defineProperty,__defProps=Object.defineProperties,__getOwnPropDescs=Object.getOwnPropertyDescriptors,__getOwnPropSymbols=Object.getOwnPropertySymbols,__hasOwnProp=Object.prototype.hasOwnProperty,__propIsEnum=Object.prototype.propertyIsEnumerable,__defNormalProp=(d,v,e)=>v in d?__defProp(d,v,{enumerable:!0,configurable:!0,writable:!0,value:e}):d[v]=e,__spreadValues=(d,v)=>{for(var e in v||(v={}))__hasOwnProp.call(v,e)&&__defNormalProp(d,e,v[e]);if(__getOwnPropSymbols)for(var e of __getOwnPropSymbols(v))__propIsEnum.call(v,e)&&__defNormalProp(d,e,v[e]);return d},__spreadProps=(d,v)=>__defProps(d,__getOwnPropDescs(v)),__async=(d,v,e)=>new Promise((r,i)=>{var l=o=>{try{f(e.next(o))}catch(h){i(h)}},c=o=>{try{f(e.throw(o))}catch(h){i(h)}},f=o=>o.done?r(o.value):Promise.resolve(o.value).then(l,c);f((e=e.apply(d,v)).next())}),_a,_b;moment__WEBPACK_IMPORTED_MODULE_12___default().extend(dayjs_plugin_customParseFormat__WEBPACK_IMPORTED_MODULE_13___default());const HighLightedContent=(d,v=[],e="#2EC25B")=>(typeof v=="string"&&(v=[v]),d.replace(new RegExp(`(${v.join("|")})`,"gi"),`<span style="color:${e}">$1</span>`)),parseParams=d=>{d=d||{};let v="";for(let e in d)typeof d[e]=="object"?Array.isArray(d[e])&&d[e].forEach((r,i)=>{v+="&"+e+"[]="+r}):d[e]!==void 0&&(v+="&"+e+"="+d[e]);return v.substr(1)},getKey=d=>window.atob(window.atob(d));function bytesToSize(d){var v=["Bytes","KB","MB","GB","TB"];if(d==0)return"0 Byte";var e=parseInt(""+Math.floor(Math.log(d)/Math.log(1024)),10);return(d/Math.pow(1024,e)).toFixed(1)+" "+v[e]}const getTwoDecimalPlaces=d=>Math.round(Math.round(d*1e5)/1e3*100)/100,NewAntdDisabledDate=(d,v=null)=>{const e=d<moment__WEBPACK_IMPORTED_MODULE_12___default()(v==null?void 0:v.startTime).startOf("day"),r=d>moment__WEBPACK_IMPORTED_MODULE_12___default()(v==null?void 0:v.endTime).endOf("day"),i=d<moment__WEBPACK_IMPORTED_MODULE_12___default()(v==null?void 0:v.compared).startOf("day");return v!=null&&v.endTime?v!=null&&v.compared?moment__WEBPACK_IMPORTED_MODULE_12___default()()<=moment__WEBPACK_IMPORTED_MODULE_12___default()(v==null?void 0:v.compared)?i||r:e||r:d&&e||r:v!=null&&v.compared&&moment__WEBPACK_IMPORTED_MODULE_12___default()()<=moment__WEBPACK_IMPORTED_MODULE_12___default()(v==null?void 0:v.compared)?i:e},NewAntdDisabledTime=(d,v=null)=>{const e=parseInt(moment__WEBPACK_IMPORTED_MODULE_12___default()(d).format("HH")),r=parseInt(moment__WEBPACK_IMPORTED_MODULE_12___default()(d).format("mm")),i=parseInt(moment__WEBPACK_IMPORTED_MODULE_12___default()().format("HH")),l=parseInt(moment__WEBPACK_IMPORTED_MODULE_12___default()().format("mm")),c=parseInt(moment__WEBPACK_IMPORTED_MODULE_12___default()().format("ss"));function f(o,h){const u=[];for(let a=o;a<h;a++)u.push(a);return u}if(!d)return{disabledHours:()=>f(0,i),disabledMinutes:()=>f(0,l)};if(v!=null&&v.compared){const o=parseInt(moment__WEBPACK_IMPORTED_MODULE_12___default()(v==null?void 0:v.compared).format("HH")),h=parseInt(moment__WEBPACK_IMPORTED_MODULE_12___default()(v==null?void 0:v.compared).format("mm")),u=parseInt(moment__WEBPACK_IMPORTED_MODULE_12___default()(v==null?void 0:v.compared).format("ss"));return moment__WEBPACK_IMPORTED_MODULE_12___default()(d).isSame(moment__WEBPACK_IMPORTED_MODULE_12___default()(v==null?void 0:v.compared),"day")?{disabledHours:()=>f(0,o),disabledMinutes:()=>e<=o?f(0,h):[]}:void 0}if(moment__WEBPACK_IMPORTED_MODULE_12___default()(d).isSame(moment__WEBPACK_IMPORTED_MODULE_12___default()(),"day"))return{disabledHours:()=>f(0,i),disabledMinutes:()=>moment__WEBPACK_IMPORTED_MODULE_12___default()(d).isSame(moment__WEBPACK_IMPORTED_MODULE_12___default()(),"hour")&&e<=i?f(0,l):[]}},disabledDate=(d,v,e,r)=>{r=typeof r=="string"?moment__WEBPACK_IMPORTED_MODULE_12___default()(r):r;const i=r?d<(r==null?void 0:r.startOf("day")):d<moment__WEBPACK_IMPORTED_MODULE_12___default()().startOf("day"),l=d>moment__WEBPACK_IMPORTED_MODULE_12___default()(v).endOf("day"),c=d<moment__WEBPACK_IMPORTED_MODULE_12___default()(e).startOf("day");return v?e?moment__WEBPACK_IMPORTED_MODULE_12___default()()<=moment__WEBPACK_IMPORTED_MODULE_12___default()(e)?c||l:i||l:d&&i||l:e&&moment__WEBPACK_IMPORTED_MODULE_12___default()()<=moment__WEBPACK_IMPORTED_MODULE_12___default()(e)?c:i},disabledTime=(d,v)=>{const e=parseInt(moment__WEBPACK_IMPORTED_MODULE_12___default()(d).format("HH")),r=parseInt(moment__WEBPACK_IMPORTED_MODULE_12___default()().format("HH")),i=parseInt(moment__WEBPACK_IMPORTED_MODULE_12___default()().format("mm"));function l(c,f){const o=[];for(let h=c;h<f;h++)o.push(h);return o}if(!d)return{disabledHours:()=>l(0,r),disabledMinutes:()=>l(0,i)};if(v){const c=parseInt(moment__WEBPACK_IMPORTED_MODULE_12___default()(v).format("HH")),f=parseInt(moment__WEBPACK_IMPORTED_MODULE_12___default()(v).format("mm"));return moment__WEBPACK_IMPORTED_MODULE_12___default()(d).isSame(moment__WEBPACK_IMPORTED_MODULE_12___default()(v),"day")?{disabledHours:()=>l(0,c),disabledMinutes:()=>e<=c?l(0,f):[]}:void 0}if(moment__WEBPACK_IMPORTED_MODULE_12___default()(d).isSame(moment__WEBPACK_IMPORTED_MODULE_12___default()(),"day"))return{disabledHours:()=>l(0,r),disabledMinutes:()=>moment__WEBPACK_IMPORTED_MODULE_12___default()(d).isSame(moment__WEBPACK_IMPORTED_MODULE_12___default()(),"hour")&&e<=r?l(0,i):[]}},preciseCalculation=(d,v,e)=>{typeof d=="string"&&(d=Number(d)),typeof v=="string"&&(v=Number(v));const r=(d.toString().split(".")[1]||"").length,i=(v.toString().split(".")[1]||"").length,l=Math.max(r,i),c=Math.pow(10,l);return(()=>{switch(e){case"+":return(Math.round(d*c)+Math.round(v*c))/c;case"-":return(Math.round(d*c)-Math.round(v*c))/c;case"*":return Math.round(d*c)*Math.round(v*c)/(c*c);case"/":return Math.round(d*c)/Math.round(v*c);default:throw new Error("\u4E0D\u652F\u6301\u7684\u8FD0\u7B97\u7B26\u53F7")}})()},toWNumber=d=>d/1e4>1?react__WEBPACK_IMPORTED_MODULE_0__.createElement(react__WEBPACK_IMPORTED_MODULE_0__.Fragment,null,Math.round(d/1e4*100)/100,react__WEBPACK_IMPORTED_MODULE_0__.createElement("i",{className:"font12"},"w")):d,toChineseNumber=d=>{const v=d.toString().replace(/(?=(\d{4})+$)/g,",").split(",").filter(Boolean),e=["\u96F6","\u4E00","\u4E8C","\u4E09","\u56DB","\u4E94","\u516D","\u4E03","\u516B","\u4E5D"],r=["","\u5341","\u767E","\u5343"],i=["","\u4E07","\u4EBF"],l=f=>{let o="";for(let h=0;h<f.length;h++){const u=+f[h],a=e[u],x=r[f.length-1-h];u===0?o[o.length-1]!==e[0]&&(o+=a):o+=a+x}return o[o.length-1]===e[0]&&(o=o.slice(0,-1)),o};let c="";for(let f=0;f<v.length;f++){const o=v[f],h=l(o),u=h?i[v.length-1-f]:"";c+=h+u}return c=c.replace(/^一十$/,"\u5341"),c=c.replace(/^一(?=十[一二三四五六七八九])/,""),c},moveArray=(d,v,e)=>{const r=d.splice(v,1)[0];return d.splice(e,0,r),d},ZimuSort=["A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"],JudgeSort=["\u6B63\u786E","\u9519\u8BEF"],RomanNumber=["I","II","III","IV","V","VI","VII","VIII","IX","X","XI","XII","XIII","XIV","XV","XVI","XVII","XVIII","XIX","XX"],findEndWhitespace=d=>{if(!d)return"";const v=d.replace(/(?:\r\n|\n)/g,`\x1B[41m\x1B[37m\u21B5\x1B[0m\r
`).replace(/ +$/g,"\x1B[41m \x1B[0m");return console.debug("str:",v,JSON.stringify(d)),v},StatusTags=d=>{const v={\u5DF2\u622A\u6B62:{class:"tag-style bg-pink ml10"},\u63D0\u4EA4\u4E2D:{class:"tag-style bg-blue ml10"},\u8FDB\u884C\u4E2D:{class:"tag-style bg-blue ml10"},\u672A\u53D1\u5E03:{class:"tag-style bgB8B8B8 ml10"},\u8865\u4EA4\u4E2D:{class:"tag-style bg-blue ml10"},\u96C6\u4E2D\u9605\u5377:{class:"tag-style bg-light-orangess ml10soft"}};return d.data&&d.data.map(function(e,r){return react__WEBPACK_IMPORTED_MODULE_0__.createElement("span",{key:r,className:v[e]&&v[e].class},e)})},formatHomeWorkStatusToName=d=>({[-1]:"\u91CD\u505A\u4E2D",0:"\u672A\u5F00\u542F",1:"\u672A\u901A\u5173",2:"\u6309\u65F6\u901A\u5173"})[d]||"\u8FDF\u4EA4\u901A\u5173",HomeWorkListStatus=d=>{var v,e;const r={[-1]:{name:"\u91CD\u505A\u4E2D",class:"c-orange"},0:{name:"\u672A\u5F00\u542F",class:"c-black"},1:{name:"\u672A\u901A\u5173",class:"c-red"},2:{name:"\u6309\u65F6\u901A\u5173",class:"c-green"},3:{name:"\u8865\u4EA4\u901A\u5173",class:"c-orange"},4:{name:"\u622A\u6B62\u901A\u5173",class:"c-red"}};return react__WEBPACK_IMPORTED_MODULE_0__.createElement("span",{className:(v=r==null?void 0:r[d.status])==null?void 0:v.class},(e=r==null?void 0:r[d.status])==null?void 0:e.name)},HomeWorkShixunListStatus=d=>{var v,e;const r={[-1]:{name:"\u91CD\u505A\u4E2D",class:"c-orange"},0:{name:"\u672A\u5F00\u542F",class:"c-black"},1:{name:"\u672A\u901A\u5173",class:"c-red"},2:{name:"\u6309\u65F6\u901A\u5173",class:"c-green"},3:{name:"\u8865\u4EA4\u901A\u5173",class:"c-orange"},4:{name:"\u622A\u6B62\u540E\u901A\u5173",class:"c-red"}};return react__WEBPACK_IMPORTED_MODULE_0__.createElement("span",{className:(v=r==null?void 0:r[d.status])==null?void 0:v.class},(e=r==null?void 0:r[d.status])==null?void 0:e.name)},HomeWorkDetailStatus=d=>{var v,e;const r={[-1]:{name:"\u91CD\u505A\u4E2D",class:"c-orange",color:"#999999"},0:{name:"\u672A\u5F00\u542F",class:"c-black",color:"#999999"},1:{name:"\u672A\u901A\u5173",class:"c-red",color:"#d4443d"},2:{name:"\u6309\u65F6\u901A\u5173",class:"c-green",color:"#57be40"},3:{name:"\u8865\u4EA4\u901A\u5173",class:"c-orange",color:"#f09143"},4:{name:"\u622A\u6B62\u901A\u5173",class:"c-red",color:"#d4443d"}};return react__WEBPACK_IMPORTED_MODULE_0__.createElement("span",{style:{marginLeft:"10px",color:"#fff",background:(v=r==null?void 0:r[d.status])==null?void 0:v.color,borderRadius:"20px",width:"65px",height:"18px",justifyContent:"center",display:"inline-flex",lineHeight:"18px"}},(e=r==null?void 0:r[d.status])==null?void 0:e.name)},HomeWorkShixunDetailStatus=d=>{var v,e;const r={[-1]:{name:"\u91CD\u505A\u4E2D",class:"c-orange",color:"#999999"},0:{name:"\u672A\u5F00\u542F",class:"c-black",color:"#999999"},1:{name:"\u672A\u901A\u5173",class:"c-red",color:"#d4443d"},2:{name:"\u6309\u65F6\u901A\u5173",class:"c-green",color:"#57be40"},3:{name:"\u8865\u4EA4\u901A\u5173",class:"c-orange",color:"#f09143"},4:{name:"\u622A\u6B62\u540E\u901A\u5173",class:"c-red",color:"#d4443d"},5:{name:"\u622A\u6B62\u540E\u8BC4\u6D4B",class:"c-red",color:"#d4443d"}};return react__WEBPACK_IMPORTED_MODULE_0__.createElement("span",{style:{marginLeft:"10px",color:"#fff",background:(v=r==null?void 0:r[d.status])==null?void 0:v.color,borderRadius:"20px",padding:"0 8px",height:"18px",justifyContent:"center",display:"inline-flex",lineHeight:"18px"}},(e=r==null?void 0:r[d.status])==null?void 0:e.name)},HomeWorkCommonDetailStatus=d=>{var v,e;const r={[-1]:{name:"\u91CD\u505A\u4E2D",class:"c-black",color:"#999999"},0:{name:"\u672A\u63D0\u4EA4",class:"c-black",color:"#999999"},1:{name:"\u6309\u65F6\u63D0\u4EA4",class:"c-green",color:"#57be40"},2:{name:"\u5EF6\u65F6\u63D0\u4EA4",class:"c-red",color:"#d4443d"}};return react__WEBPACK_IMPORTED_MODULE_0__.createElement("span",{style:{marginLeft:"10px",color:"#fff",background:(v=r==null?void 0:r[d.status])==null?void 0:v.color,borderRadius:"20px",padding:"0 8px",height:"18px",justifyContent:"center",display:"inline-flex",lineHeight:"18px"}},(e=r==null?void 0:r[d.status])==null?void 0:e.name)},StatusGraduationProjectTags=d=>{const{status:v}=d,e={0:{class:"tag-style bg-blue ml10",name:"\u5F85\u9009\u4E2D"},1:{class:"tag-style bg-blue ml10",name:"\u5F85\u786E\u8BA4"},2:{class:"tag-style bg-pink ml10",name:"\u5DF2\u786E\u8BA4"}};try{return react__WEBPACK_IMPORTED_MODULE_0__.createElement("span",{className:e[v].class},e[v].name)}catch(r){console.log("utils.StatusGraduationProjectTags",d.status)}},ExerciseStatus={1:"\u672A\u53D1\u5E03",2:"\u8003\u8BD5\u4E2D",3:"\u5DF2\u622A\u6B62",4:"\u5DF2\u7ED3\u675F",5:"\u96C6\u4E2D\u9605\u5377",99:"\u6A21\u62DF\u8003\u8BD5\u4E2D"},PollsStatus={1:"\u672A\u53D1\u5E03",2:"\u63D0\u4EA4\u4E2D",3:"\u5DF2\u622A\u6B62",4:"\u5DF2\u7ED3\u675F",5:"\u672A\u5F00\u59CB"},StatusClassroomsTags=d=>{let v={\u6A21\u62DF\u8003\u8BD5\u4E2D:{class:"tag-style bg-light-pink ml10"},\u5DF2\u5F00\u542F\u9632\u4F5C\u5F0A:{class:"tag-style-fzb ml10 iconfont icon-fangzuobi"},\u516C\u5F00:{class:"tag-style bg-blue ml10"},\u5DF2\u5F00\u542F\u8865\u4EA4:{class:"tag-style bg-green ml10soft"},\u672A\u5F00\u542F\u8865\u4EA4:{class:"tag-style bg-pink ml10soft"},\u672A\u53D1\u5E03:{class:"tag-style bgB8B8B8 ml10soft"},\u672A\u5F00\u59CB:{class:"tag-style bg-c5d6ff ml10soft"},\u533F\u540D\u4F5C\u54C1:{class:"tag-style bg-cyan ml10"},\u5DF2\u9009\u62E9:{class:"tag-style bg-grey-ede ml10"},\u5DF2\u7ED3\u675F:{class:"tag-style bg-grey-ede ml10soft"},\u63D0\u4EA4\u4E2D:{class:"tag-style bg-blue ml10soft"},\u8FDB\u884C\u4E2D:{class:"tag-style bg-blue ml10soft"},\u533F\u8BC4\u4E2D:{class:"tag-style bg-blue ml10"},\u7533\u8BC9\u4E2D:{class:"tag-style bg-blue ml10"},\u8003\u8BD5\u4E2D:{class:"tag-style bg-light-blue ml10"},\u8865\u4EA4\u4E2D:{class:"tag-style bg-blue ml10soft"},\u8BC4\u9605\u4E2D:{class:"tag-style bg-blue ml10"},\u5F85\u9009\u4E2D:{class:"tag-style bg-blue ml10"},\u4EA4\u53C9\u8BC4\u9605\u4E2D:{class:"tag-style bg-light-orange ml10"},\u5DF2\u5F00\u542F\u4EA4\u53C9\u8BC4\u9605:{class:"tag-style bg-lightblue-purple ml10"},\u5F85\u786E\u8BA4:{class:"tag-style bg-lightblue-purple ml10"},\u5F85\u5904\u7406:{class:"tag-style bg-lightblue-purple ml10"},\u79C1\u6709:{class:"tag-style bg-lightblue-purple ml10"},\u672A\u63D0\u4EA4:{class:"tag-style bg-lightblue-purple ml10"},\u5DF2\u786E\u8BA4:{class:"tag-style bg-light-pink ml10"},\u5DF2\u53D1\u5E03:{class:"tag-style bg-light-blue ml10"},\u5DF2\u622A\u6B62:{class:"tag-style bg-light-pink ml10soft"},\u5F00\u53D1\u8BFE\u7A0B:{class:"tag-style bg-orange ml10"},\u5DF2\u5F00\u64AD:{class:"tag-style-border border-green c-green ml10"},\u672A\u5F00\u64AD:{class:"tag-style-border border-light-black ml10"},\u6309\u65F6\u901A\u5173:{class:"tag-style-border border-light-black ml10"},\u8FDF\u4EA4\u901A\u5173:{class:"tag-style-border border-light-black ml10"},\u672A\u901A\u5173:{class:"tag-style-border border-light-black ml10"},\u672A\u5F00\u542F:{class:"tag-style-border border-light-black ml10"},\u5BFC\u5165:{class:"export ml10"},\u96C6\u4E2D\u9605\u5377:{class:"tag-style bg-light-orangess ml10soft"}};const e={\u672A\u53D1\u5E03:{class:"tag-style bg-C6CED6 ml10soft"},\u672A\u5F00\u59CB:{class:"tag-style bg-C1E2FF ml10soft"},\u8FDB\u884C\u4E2D:{class:"tag-style bg-0152d9 ml10soft"},\u5DF2\u622A\u6B62:{class:"tag-style bg-E53333 ml10soft"},\u63D0\u4EA4\u4E2D:{class:"tag-style bg-0152d9 ml10soft"},\u8865\u4EA4\u4E2D:{class:"tag-style bg-44D7B6 ml10soft"}};d.temporary&&(v=__spreadValues(__spreadValues({},v),e));const r=[];d.is_random&&r.push(react__WEBPACK_IMPORTED_MODULE_0__.createElement("span",{className:"tag-style bg-blue ml10"},"\u968F\u673A"));try{d.status&&d.status.map((i,l)=>{r.push(react__WEBPACK_IMPORTED_MODULE_0__.createElement("span",{style:(d==null?void 0:d.style)||[],key:l,className:v[i]&&v[i].class},i))})}catch(i){console.log("utils.status.tag:",i,d.status)}return r},exerciseTips=(d,v)=>{if(d===5||v)return react__WEBPACK_IMPORTED_MODULE_0__.createElement("span",{style:{backgroundColor:"#f59a23"},className:"tag-style ml5"},"\u96C6\u4E2D\u9605\u5377");if(d===1)return react__WEBPACK_IMPORTED_MODULE_0__.createElement("span",{style:{backgroundColor:"#B8B8B8"},className:"tag-style ml5"},"\u672A\u5F00\u59CB");if(d===2)return react__WEBPACK_IMPORTED_MODULE_0__.createElement("span",{style:{backgroundColor:"#007AFF"},className:"tag-style ml5"},"\u8003\u8BD5\u4E2D");if(d===3||d===4)return react__WEBPACK_IMPORTED_MODULE_0__.createElement("span",{style:{backgroundColor:"#FC2D6B"},className:"tag-style ml5"},"\u5DF2\u622A\u6B62");if(d===-1)return react__WEBPACK_IMPORTED_MODULE_0__.createElement("span",{className:"export ml5"},"\u5BFC\u5165")},WorkStatus=d=>{var v,e;const r={[-1]:{name:"\u91CD\u505A\u4E2D",class:"c-orange"},0:{name:"\u672A\u63D0\u4EA4",class:"c-black"},1:{name:"\u672A\u901A\u5173",class:"c-red"},2:{name:"\u6309\u65F6\u901A\u5173",class:"c-green"},3:{name:"\u8FDF\u4EA4\u901A\u5173",class:"c-orange"}};return react__WEBPACK_IMPORTED_MODULE_0__.createElement("span",{className:(v=r[d.status])==null?void 0:v.class},(e=r[d.status])==null?void 0:e.name)},CommonWorkStatus=d=>{var v,e;const r={0:{name:"\u672A\u63D0\u4EA4",class:"c-black"},1:{name:"\u6309\u65F6\u63D0\u4EA4",class:"c-green"},2:{name:"\u5EF6\u65F6\u63D0\u4EA4",class:"c-red"},3:{name:"\u90E8\u5206\u63D0\u4EA4",class:"c-green"},4:{name:`\u6309\u65F6\u63D0\u4EA4${d!=null&&d.lineBreak?`
`:""}\uFF08\u6559\u5E08\u63D0\u4EA4\uFF09`,class:"c-green"},5:{name:`\u672A\u63D0\u4EA4${d!=null&&d.lineBreak?`
`:""}\uFF08\u6559\u5E08\u63D0\u4EA4\uFF09`,class:"c-black"},6:{name:"\u6309\u65F6\u63D0\u4EA4\uFF08\u7EBF\u4E0B\uFF09",class:"c-green"}};return react__WEBPACK_IMPORTED_MODULE_0__.createElement("span",{className:(v=r[d.status])==null?void 0:v.class},(e=r[d.status])==null?void 0:e.name)},timego=d=>{d=new Date(d).getTime();let v=1e3*60,e=v*60,r=e*24,i="",c=new Date().getTime()-d;if(c<0)return console.log("\u65F6\u95F4\u4E0D\u5BF9\u52B2,\u670D\u52A1\u5668\u521B\u5EFA\u65F6\u95F4\u4E0E\u5F53\u524D\u65F6\u95F4\u4E0D\u540C\u6B65"),i="\u521A\u521A";let f=parseInt(c/r,10),o=parseInt(c/e,10),h=parseInt(c/v,10);return f>30?i=""+timeformat(d,"yyyy-MM-dd"):f>1?i=""+f+"\u5929\u524D":f==1?i="\u6628\u5929":o>=1?i=""+o+"\u5C0F\u65F6\u524D":h>=5?i=""+h+"\u5206\u949F\u524D":i="\u521A\u521A",i};function replaceParamVal(paramName,replaceWith){var oUrl=window.location.href.toString(),re=eval("/("+paramName+"=)([^&]*)/gi"),nUrl=oUrl.replace(re,paramName+"="+replaceWith);window.history.replaceState(null,"",nUrl)}const timeformat=(d,v)=>{typeof d=="string"&&(d.indexOf("T")>=0&&(d=d.replace("T"," ")),d=new Date(Date.parse(d.replace(/-/g,"/")))),d=new Date(d);let e={"M+":d.getMonth()+1,"d+":d.getDate(),"h+":d.getHours(),"m+":d.getMinutes(),"s+":d.getSeconds(),"q+":Math.floor((d.getMonth()+3)/3),S:d.getMilliseconds()},r=[["\u65E5","\u4E00","\u4E8C","\u4E09","\u56DB","\u4E94","\u516D"],["\u5468\u65E5","\u5468\u4E00","\u5468\u4E8C","\u5468\u4E09","\u5468\u56DB","\u5468\u4E94","\u5468\u516D"],["\u661F\u671F\u65E5","\u661F\u671F\u4E00","\u661F\u671F\u4E8C","\u661F\u671F\u4E09","\u661F\u671F\u56DB","\u661F\u671F\u4E94","\u661F\u671F\u516D"]];/(y+)/.test(v)&&(v=v.replace(RegExp.$1,(d.getFullYear()+"").substr(4-RegExp.$1.length))),/(w+)/.test(v)&&(v=v.replace(RegExp.$1,r[RegExp.$1.length-1][d.getDay()]));for(let i in e)new RegExp("("+i+")").test(v)&&(v=v.replace(RegExp.$1,RegExp.$1.length==1?e[i]:("00"+e[i]).substr((""+e[i]).length)));return v},toTimeFormat=d=>{if(!d||d<0)return"0\u79D2";console.log("time:",d);let v=60,e=v*60,r=e*24,i=d/r,l=d/e,c=d/v,f=d%60;return i>=1?parseInt(i.toString())+"\u5929"+Math.floor(l%24)+"\u65F6"+Math.floor(c%60)+"\u5206"+Math.floor(d%60)+"\u79D2":l>1?parseInt(l.toString())+"\u65F6"+Math.floor(c%60)+"\u5206"+Math.floor(d%60)+"\u79D2":c>=1?parseInt(c.toString())+"\u5206"+Math.floor(d%60)+"\u79D2":Math.ceil(d)+"\u79D2"},validateLength=(d="",v=100)=>{let e=0;if(d){e=d.length;for(let r=0;r<e;r++){let i=d.charCodeAt(r);i>=55296&&i<=56319&&(e--,r++)}}return e<=v};function buildTree(d,v){const e={};let r=null;return d.forEach(i=>{e[i.properties.uuid]=__spreadProps(__spreadValues({},i),{children:[]})}),v.forEach(i=>{const l=e[i.startNodeUuid],c=e[i.endNodeUuid];l&&c&&l.children.push(c)}),d.forEach(i=>{!v.some(c=>c.endNodeUuid===i.properties.uuid)&&(r=e[i.properties.uuid])}),r}const handleValidatorNickName=(d,v,e)=>{if(v){let r=/[`~!@#$%^&*()\-+=<>?:"{}|,.\/;'\\[\]~@#¥%……&*()——\-+={}|《》?:“”【】、;‘’,。、]/im;const l=/[\uD83C|\uD83D|\uD83E][\uDC00-\uDFFF][\u200D|\uFE0F]|[\uD83C|\uD83D|\uD83E][\uDC00-\uDFFF]|[0-9|*|#]\uFE0F\u20E3|[0-9|#]\u20E3|[\u203C-\u3299]\uFE0F\u200D|[\u203C-\u3299]\uFE0F|[\u2122-\u2B55]|\u303D|[\A9|\AE]\u3030|\uA9|\uAE|\u3030/gi.test(v),c=r.test(v);(l===!0||c===!0||v.length<2||v.length>=21)&&e("2-20\u4F4D\u4E2D\u82F1\u6587\u3001\u6570\u5B57\u53CA\u4E0B\u5212\u7EBF")}e()},handleValidatorName=(d,v,e)=>{if(v){let r=/[`~!@#$%^&()_\-+=<>?:"{}|,.\/;'\\[\]~@#¥%……&()——\-+={}|《》?:“”【】、;‘’,。、]/im;const l=/[\uD83C|\uD83D|\uD83E][\uDC00-\uDFFF][\u200D|\uFE0F]|[\uD83C|\uD83D|\uD83E][\uDC00-\uDFFF]|[0-9|*|#]\uFE0F\u20E3|[0-9|#]\u20E3|[\u203C-\u3299]\uFE0F\u200D|[\u203C-\u3299]\uFE0F|[\u2122-\u2B55]|\u303D|[\A9|\AE]\u3030|\uA9|\uAE|\u3030/gi.test(v),c=r.test(v);(l===!0||c===!0||v.length<2||v.length>=21)&&e("2-20\u4F4D\u4E2D\u82F1\u6587\u3001\u6570\u5B57")}e()},getHiddenName=d=>{if(!d)return"";let v=d.length-1,e="";for(var r=0;r<v;r++)e+="*";return d.substr(0,1)+e},getBase64=(d,v)=>{const e=new FileReader;e.addEventListener("load",()=>v(e.result)),e.readAsDataURL(d)},getFileContentAndUrl=d=>new Promise((v,e)=>{var r=new FileReader;r.onload=function(){try{const i=window.URL.createObjectURL(d);v({text:this.result,link:i})}catch(i){antd__WEBPACK_IMPORTED_MODULE_14__.ZP.warning("\u5F53\u524D\u6587\u4EF6\u65E0\u6CD5\u8BFB\u53D6\u5185\u5BB9"),e("\u5F53\u524D\u6587\u4EF6\u65E0\u6CD5\u8BFB\u53D6\u5185\u5BB9")}},r.readAsText(d)});function setmiyah(d){return md5__WEBPACK_IMPORTED_MODULE_6___default()("79e33abd4b6588941ab7622aed1e67e8"+d)}const getCookie=d=>{var v,e=RegExp("(^| )"+d+"=([^;]+)(;|$)");return(v=document.cookie.match(e))?decodeURIComponent(v[2]):null};function setCookie(d,v,e){var r=new Date;r.setTime(r.getTime()+e*24*60*60*1e3);var i="expires="+r.toUTCString();document.cookie=d+"="+v+"; "+i+`;domain=${document.domain.indexOf("educoder.net")>-1?".educoder.net":document.domain};path=/;SameSite=None;secure`}const delCookie=d=>{document.cookie=d+"=; expires=Thu, 01 Jan 1970 00:00:01 GMT;path=/;"},clearAllCookies=()=>{for(var d=document.cookie.split(";"),v=0;v<d.length;v++){var e=d[v],r=e.indexOf("="),i=r>-1?e.substr(0,r):e;document.cookie=i+"=;expires=Thu, 01 Jan 1970 00:00:00 GMT"}};function downLoadLink(d,v){let e=document.createElement("a");document.body.appendChild(e),e.href=v,d&&(e.title=d,e.download=d);let r=document.createEvent("MouseEvents");r.initEvent("click",!1,!1),e.dispatchEvent(r),document.body.removeChild(e)}function getFirstLevelDomain(){var d=window.location.hostname,v=d.split(".").reverse();return v.length>2?[v[1],v[0]].join("."):d}function getBlob(d){return new Promise(v=>{const e=new window.XMLHttpRequest;(d.indexOf(getFirstLevelDomain())>-1||location.hostname==="localhost"&&d.indexOf("/api/")>-1)&&(e.withCredentials=!0),e.open("GET",d,!0),e.responseType="blob",e.onload=()=>{e.status===200&&v(e.response)},e.send()})}function saveAs(d,v){if(window.navigator.msSaveOrOpenBlob)window.navigator.msSaveBlob(d,v);else{const e=document.createElement("a"),r=document.querySelector("body");e.href=window.URL.createObjectURL(d),e.download=v,e.style.display="none",r.appendChild(e),e.click(),r.removeChild(e),window.URL.revokeObjectURL(e.href)}}function download(d,v){getBlob(d).then(e=>{saveAs(e,v)})}function downLoadFileIframe(d,v){return new Promise((e,r)=>{var i=v,l=document.createElement("iframe"),c;document.body.appendChild(l),l.src=i,l.style.display="none",l.addEventListener("load",function(){setTimeout(()=>{document.body.removeChild(l)},1e3)},!0),c=setInterval(()=>{getCookie("fileDownload")&&(delCookie("fileDownload"),clearInterval(c),document.body.removeChild(l),e())},1e3)})}function downLoadFile(d,v){downLoadLink(d,v)}const setUrlQuery=d=>{let{url:v,query:e}=d;if(!v)return"";if(e){let r=[];for(const i in e)e.hasOwnProperty(i)&&!isUnOrNull(e[i])&&(typeof e[i]=="object"?e[i].map(l=>{r.push(`${i}[]=${l}`)}):r.push(`${i}=${e[i]}`));v.indexOf("?")!==-1?v=`${v}&${r.join("&")}`:v=`${v}?${r.join("&")}`,console.log("url1111",v)}return v};function isPc(){let d=navigator.userAgent,v=["Android","iPhone","SymbianOS","Windows Phone","iPad","iPod"],e=!0;for(var r=0;r<v.length;r++)if(d.indexOf(v[r])>0){e=!1;break}return e}function isChrome(){let d=navigator.userAgent;return["Chrome"].some(e=>d.indexOf(e)>-1)}function isFirefox(){let d=navigator.userAgent;return["Firefox"].some(e=>d.indexOf(e)>-1)}function isChromeOrFirefox(){let d=navigator.userAgent;return["Chrome","Firefox"].some(e=>d.indexOf(e)>-1)}const formatMoney=(d="")=>{var v;return(v=d==null?void 0:d.toString())==null?void 0:v.replace(/\B(?=(\d{3})+(?!\d))/g,",")},openNewWindow=d=>{let v=document.createElement("a");v.target="_blank",document.body.appendChild(v),v.href=d;let e=document.createEvent("MouseEvents");e.initEvent("click",!1,!1),v.dispatchEvent(e),document.body.removeChild(v)},openNewWindows=d=>{let v=document.createElement("a");document.body.appendChild(v),v.href=d;let e=document.createEvent("MouseEvents");e.initEvent("click",!1,!1),v.dispatchEvent(e),document.body.removeChild(v)},formatTextMiddleIntercept=(d="")=>d.length<=6?d:`${d.substring(0,3)}...${d.substring(d.length-3,d.length)}`,HalfPastOne=()=>{let d=new Date().getHours(),v=new Date().getMinutes();return v>=30?(d++,v="00"):v="30",d+":"+v},DayHalfPastOne=(d="-")=>{let v=new Date().getHours(),e=new Date().getMinutes();return e>=30?(v++,e="00"):e="30",new Date().toLocaleDateString().replace(/\//g,d)+" "+v+":"+e};var Type=(d=>(d.Number="Number",d.String="String",d.Boolean="Boolean",d.Object="Object",d.Array="Array",d.Function="Function",d))(Type||{});const type=d=>{const v=Object.prototype.toString.call(d);return v.substring(8,v.length-1)},isEmpty=d=>type(d)==="Array"?d.length===0:type(d)==="Object"?Object.keys(d).length===0:!d,rangeNumber=(d,v)=>{const e=[];for(let r=d;r<v;r++)e.push(r);return e},middleEllipsis=(d,v=12)=>{let e=v/2-2,r=v/2+3;return d.length>v?d.substr(0,e)+"..."+d.substr(r,v):d},formatRate=d=>d>4.5?5:d>4&&d<=4.5?4.5:d>3.5&&d<=4?4:d>3&&d<=3.5?3.5:d>2.5&&d<=3?3:d>2&&d<=2.5?2.5:d>1.5&&d<=2?2:d>1&&d<=1.5?1.5:d>.5&&d<=1?1:d>0&&d<=.5?.5:0,isUnOrNull=d=>d==null;function getUrlToken(d,v){const e=new RegExp(`(^|&)${d}=([^&]*)(&|$)`,"i"),r=v.substr(1).match(e);return r!=null?decodeURIComponent(r[2]):null}const getMessagesUrl=d=>{var v;if(d.link_url)return window.open(d.link_url);switch(d==null?void 0:d.container_type){case"TeacherChangeUserInfo":return window.open("/account/profile");case"TeacherResetUserPassword":return window.open("/account/secure");case"ApplyUserAuthentication":return window.open("/account/certification")}switch(d.container_type){case"ApplyUserAuthentication":if(d.tiding_type==="Apply"){if(d.auth_type===1)return window.open("/admins/identity_authentications");if(d.auth_type===2)return window.open("/admins/professional_authentications")}return d.tiding_type==="System"?window.open("/account/certification"):d.tiding_type==="Code"?window.open("/account/profile"):void 0;case"CancelUserAuthentication":return window.open("/account/certification");case"CancelUserProCertification":return window.open("/account/certification");case"ApplyAddMajor":return window.open("/account/profile");case"Major":return window.open("/account/profile");case"ApplyAddDepartment":return d.tiding_type==="Apply"?window.open("/admins/department_applies"):d.tiding_type==="System"?window.open("/account/profile"):void 0;case"ApplyAddSchools":return d.tiding_type==="Apply"?window.open("/admins/unit_applies"):d.tiding_type==="System"?window.open("/account/profile"):void 0;case"ApplyAction":switch(d.parent_container_type){case"ApplyShixun":if(d.tiding_type==="Apply")return window.open("/admins/shixun_authorizations");if(d.tiding_type==="System")return window.open(`/shixuns/${d.identifier}/challenges`);case"ApplySubject":if(d.tiding_type==="Apply")return window.open("/admins/subject_authorizations");if(d.tiding_type==="System")return window.open(`/paths/${d.parent_container_id}`);case"TrialAuthorization":if(d.tiding_type==="Apply")return window.open("/managements/trial_authorization");if(d.tiding_type==="System")return window.open("/account/profile")}return;case"JoinCourse":return window.open(`/classrooms/${d.belong_container_id}/teachers`);case"StudentJoinCourse":if(d.tiding_type==="Apply")return window.open(`/classrooms/${d.belong_container_id}/teachers`);if(d.tiding_type==="System")return window.open(`/classrooms/${d.belong_container_id}/students`);case"DealCourse":return window.open(`/classrooms/${d.belong_container_id}/shixun_homework/`);case"TeacherJoinCourse":return window.open(`/classrooms/${d.belong_container_id}/shixun_homework/`);case"Course":return d.tiding_type==="Delete"?void 0:window.open(`/classrooms/${d.belong_container_id}/shixun_homework/`);case"ArchiveCourse":return window.open(`/classrooms/${d.belong_container_id}/shixun_homework/`);case"Shixun":return window.open(`/shixuns/${d.identifier}/challenges`);case"Subject":return window.open(`/paths/${d.container_id}`);case"JournalsForMessage":switch(d.parent_container_type){case"Principal":return"";case"HomeworkCommon":return d.homework_type==="normal"?window.open(`/classrooms/${d.belong_container_id}/common_homework/${d.parent_container_id}/question`):d.homework_type==="group"?window.open(`/classrooms/${d.belong_container_id}/group_homework/${d.parent_container_id}/question`):d.homework_type==="practice"?window.open(`/classrooms/${d.belong_container_id}/shixun_homework/${d.parent_container_id}/detail?tabs=1`):"";case"GraduationTopic":return window.open(`/classrooms/${d.belong_container_id}/graduation_topics/${d.parent_container_id}/detail`);case"StudentWorksScore":return window.open(d.link_url)}case"Memo":return window.open(`/forums/${d.parent_container_id}`);case"Message":return window.open("/forums/");case"Watcher":return window.open(`/users/${d.trigger_user.login}/classrooms`);case"PraiseTread":return"";case"Grade":return"";case"JoinProject":return window.open(_env__WEBPACK_IMPORTED_MODULE_7__.Z.FORGE+d.project_url);case"ReporterJoinProject":return window.open(_env__WEBPACK_IMPORTED_MODULE_7__.Z.FORGE+d.project_url);case"DealProject":return window.open(_env__WEBPACK_IMPORTED_MODULE_7__.Z.FORGE+d.project_url);case"ManagerJoinProject":return window.open(_env__WEBPACK_IMPORTED_MODULE_7__.Z.FORGE+d.project_url);case"Poll":switch(d.parent_container_type){case"CommitPoll":return window.open(` /classrooms/${d.belong_container_id}/poll/${d.container_id}/detail`);default:return window.open(` /classrooms/${d.belong_container_id}/poll/${d.container_id}/detail`)}case"Exercise":switch(d.parent_container_type){case"CommitExercise":return window.open(` /classrooms/${d.belong_container_id}/exercise/${d.container_id}/detail?tab=0`);case"ExerciseScore":return window.open(` /classrooms/${d.belong_container_id}/exercise/${d.container_id}/detail?tab=0`);default:return window.open(`/classrooms/${d.belong_container_id}/exercise/${d.container_id}/detail?tab=0`)}case"StudentGraduationTopic":return window.open(`/classrooms/${d.belong_container_id}/graduation_topics/${d.parent_container_id}/detail`);case"DealStudentTopicSelect":return window.open(`/classrooms/${d.belong_container_id}/graduation_topics/${d.parent_container_id}/detail`);case"GraduationTask":return window.open(`/classrooms/${d.belong_container_id}/graduation_tasks/${d.container_id}`);case"GraduationWork":return window.open(`/classrooms/${d.belong_container_id}/graduation_tasks/${d.container_id}`);case"GraduationWorkScore":return window.open(`/classrooms/${d.belong_container_id}/graduation_tasks/${d.parent_container_id}`);case"HomeworkCommon":switch(d.parent_container_type){case"AnonymousCommentFail":if(d.homework_type==="normal")return window.open(`/classrooms/${d.belong_container_id}/common_homework/${d.parent_container_id}/detail`);if(d.homework_type==="group")return window.open(`/classrooms/${d.belong_container_id}/group_homework/${d.parent_container_id}/detail`);if(d.homework_type==="practice")return window.open(`/classrooms/${d.belong_container_id}/shixun_homework/${d.parent_container_id}/detail?tabs=0`);case"HomeworkPublish":if(d.homework_type==="normal")return window.open(`/classrooms/${d.belong_container_id}/common_homework/${d.parent_container_id}/detail`);if(d.homework_type==="group")return window.open(`/classrooms/${d.belong_container_id}/group_homework/${d.parent_container_id}/detail`);if(d.homework_type==="practice")return window.open(`/classrooms/${d.belong_container_id}/shixun_homework/${d.parent_container_id}/detail?tabs=0`);case"AnonymousAppeal":if(d.homework_type==="normal")return window.open(`/classrooms/${d.belong_container_id}/common_homework/${d.parent_container_id}/detail`);if(d.homework_type==="group")return window.open(`/classrooms/${d.belong_container_id}/group_homework/${d.parent_container_id}/detail`);if(d.homework_type==="practice")return window.open(`/classrooms/${d.belong_container_id}/shixun_homework/${d.parent_container_id}/detail?tabs=0`);default:if(d.homework_type==="normal")return window.open(`/classrooms/${d.belong_container_id}/common_homework/${d.parent_container_id}/detail`);if(d.homework_type==="group")return window.open(`/classrooms/${d.belong_container_id}/group_homework/${d.parent_container_id}/detail`);if(d.homework_type==="practice")return window.open(`/classrooms/${d.belong_container_id}/shixun_homework/${d.parent_container_id}/detail?tabs=0`)}case"StudentWork":if(d.homework_type==="normal")return window.open(`/classrooms/${d.belong_container_id}/common_homework/${d.parent_container_id}/review/${d.container_id}`);if(d.homework_type==="group")return window.open(`/classrooms/${d.belong_container_id}/group_homework/${d.parent_container_id}/review/${d.container_id}`);if(d.homework_type==="practice")return window.open(`/classrooms/${d.belong_container_id}/shixun_homework/${d.parent_container_id}/detail`);case"StudentWorksScore":return window.open(`/classrooms/${d.belong_container_id}/common_homework/${d.trigger_user.id}/review/${d.parent_container_id}`);case"StudentWorksScoresAppeal":return window.open(`/classrooms/${d.belong_container_id}/common_homework/${d.trigger_user.id}/review/${d.parent_container_id}`);case"ChallengeWorkScore":return"";case"SendMessage":return window.open(`${_env__WEBPACK_IMPORTED_MODULE_7__.Z.API_SERVER}/admins/mirror_repositories`);case"Journal":return window.open(`/issues/${d.parent_container_id}`);case"Issue":return window.open(`/issues/${d.container_id}`);case"PullRequest":return window.open(_env__WEBPACK_IMPORTED_MODULE_7__.Z.FORGE+d.project_url);case"Department":return window.open("/account/profile");case"Library":if(d.tiding_type==="Apply")return window.open("/admins/library_applies");if(d.tiding_type==="System")return window.open(`/moop_cases/${d.container_id}`);case"ProjectPackage":return d.tiding_type==="Destroyed"||d.tiding_type==="Destroyed_end"?void 0:d.tiding_type==="Apply"?window.open("/admins/project_package_applies"):window.open(`/crowdsourcing/${d.container_id}`);case"Discuss":return d.parent_container_type==="Hack"&&d.extra?window.open(`/myproblems/${d.extra}/comment`):d.extra==="ai_reply"&&d.task_identifier?window.open(`/tasks/${d.task_identifier}?extra=extra`):window.open(`/shixuns/${d.identifier}/shixun_discuss`);case"Video":return d.tiding_type==="Apply"?window.open("/admins/video_applies"):d.tiding_type==="System"?window.open(`/users/${(v=(0,_utils_authority__WEBPACK_IMPORTED_MODULE_1__.eY)())==null?void 0:v.login}/videos`):"";case"PublicCourseStart":return window.open(`/classrooms/${d.container_id}/informs`);case"SubjectStartCourse":return window.open(`/paths/${d.container_id}`);case"ResubmitStudentWork":if(d.homework_type==="normal")return window.open(`/classrooms/${d.belong_container_id}/common_homework/${d.parent_container_id}/${d.container_id}/appraise`);if(d.homework_type==="group")return window.open(`/classrooms/${d.belong_container_id}/group_homework/${d.parent_container_id}/${d.container_id}/appraise`);case"AdjustScore":if(d.homework_type==="normal")return window.open(`/classrooms/${d.belong_container_id}/common_homework/${d.parent_container_id}`);if(d.homework_type==="group")return window.open(`/classrooms/${d.belong_container_id}/group_homework/${d.parent_container_id}`);case"LiveLink":return window.open(`/classrooms/${d.belong_container_id}/course_videos?open=live`);case"Hack":if(d.extra&&d.parent_container_type!=="HackDelete")return window.open(`/problems/${d.extra}/edit`);default:return}},checkLocalOrPublicIp=(d,v)=>__async(void 0,null,function*(){let e="",r;return new Promise((i,l)=>__async(void 0,null,function*(){if(d.ip_limit!=="no"||d.ip_bind_type)try{e=yield(0,_components_Exercise_ip__WEBPACK_IMPORTED_MODULE_2__.y)({ip_limit:d==null?void 0:d.ip_limit,ip_bind:d==null?void 0:d.ip_bind_type}),console.log(e,44)}catch(f){l(void 0)}const c=yield(0,_service_exercise__WEBPACK_IMPORTED_MODULE_3__.Cl)({id:d.exerciseId,ip:e});if(c.status===0)i(c);else if(c.status===-5){(0,umi__WEBPACK_IMPORTED_MODULE_5__.getDvaApp)()._store.dispatch({type:"exercise/setActionTabs",payload:{key:"student-unlock",exerciseParams:{errorMessage:c==null?void 0:c.message,exercise_user_id:d==null?void 0:d.exercise_user_id,id:d.exerciseId,unlockClose:d.unlockClose}}});return}else i(c);if(d.errmsgHide||v)return!0;if(c.status===-1)return r=antd__WEBPACK_IMPORTED_MODULE_15__.default.info({title:react__WEBPACK_IMPORTED_MODULE_0__.createElement(antd__WEBPACK_IMPORTED_MODULE_16__.Z,null,react__WEBPACK_IMPORTED_MODULE_0__.createElement(antd__WEBPACK_IMPORTED_MODULE_17__.Z,{flex:"1"},"\u63D0\u793A"),react__WEBPACK_IMPORTED_MODULE_0__.createElement(antd__WEBPACK_IMPORTED_MODULE_17__.Z,null,react__WEBPACK_IMPORTED_MODULE_0__.createElement("span",{className:"iconfont icon-yiguanbi1 current c-grey-c",onClick:()=>r.destroy()}))),icon:null,className:"custom-modal-divider",content:react__WEBPACK_IMPORTED_MODULE_0__.createElement("div",{className:"font16 p20"},"\u60A8\u7684IP\u4E0D\u5728\u8003\u8BD5\u5141\u8BB8\u7684\u8303\u56F4\u5185\uFF01"),okText:"\u6211\u77E5\u9053\u4E86"}),!1;if(c.status===-2)return r=antd__WEBPACK_IMPORTED_MODULE_15__.default.info({title:react__WEBPACK_IMPORTED_MODULE_0__.createElement(antd__WEBPACK_IMPORTED_MODULE_16__.Z,null,react__WEBPACK_IMPORTED_MODULE_0__.createElement(antd__WEBPACK_IMPORTED_MODULE_17__.Z,{flex:"1"},"\u63D0\u793A"),react__WEBPACK_IMPORTED_MODULE_0__.createElement(antd__WEBPACK_IMPORTED_MODULE_17__.Z,null,react__WEBPACK_IMPORTED_MODULE_0__.createElement("span",{className:"iconfont icon-yiguanbi1 current c-grey-c",onClick:()=>r.destroy()}))),icon:null,className:"custom-modal-divider",content:react__WEBPACK_IMPORTED_MODULE_0__.createElement("div",{className:"font16 p20"},"\u60A8\u5DF2\u7ED1\u5B9A\u5F53\u524D\u8003\u8BD5IP\u5730\u5740\uFF1A",react__WEBPACK_IMPORTED_MODULE_0__.createElement("span",{className:"c-red"},c.ip),"\u8BF7\u4F7F\u7528\u8BE5IP\u5730\u5740\u8FDB\u5165\u8003\u8BD5\u3002"),okText:"\u6211\u77E5\u9053\u4E86"}),!1}))}),checkDisabledExam=d=>new Promise((v,e)=>__async(void 0,null,function*(){const r=yield(0,_service_exercise__WEBPACK_IMPORTED_MODULE_3__.Zg)({id:d==null?void 0:d.exerciseId,coursesId:d==null?void 0:d.coursesId});if((r==null?void 0:r.status)===0){v("");return}setTimeout(()=>{window.location.reload()},2e3),e("")})),isKepuKehuan=()=>location.pathname.indexOf("/classrooms/4RW9CYHY")>-1||location.pathname.indexOf("/classrooms/qb4ft587")>-1||location.pathname.indexOf("/classrooms/c5q9bsp2")>-1,startExercise=d=>__async(void 0,null,function*(){var v,e,r;sessionStorage.removeItem("studentunlock");let i;if((location.pathname.indexOf("/classrooms/4RW9CYHY")>-1||location.pathname.indexOf("/classrooms/qb4ft587")>-1||location.pathname.indexOf("/classrooms/c5q9bsp2")>-1)&&!isPc()){antd__WEBPACK_IMPORTED_MODULE_15__.default.info({content:"\u8BF7\u4F7F\u7528\u7535\u8111\u53C2\u52A0\u8003\u8BD5\uFF01"});return}if(copyTextFuc(" ",!0),yield checkDisabledExam(d),d.ip_limit!=="no"||d.ip_bind){const l=yield checkLocalOrPublicIp(d,!0);if((l==null?void 0:l.status)!==0)return;if(!isChrome()){antd__WEBPACK_IMPORTED_MODULE_15__.default.info({icon:null,okText:"\u786E\u5B9A",width:500,content:react__WEBPACK_IMPORTED_MODULE_0__.createElement("div",{className:"font16"},"\u672C\u6B21\u8003\u8BD5\u5DF2\u5F00\u542F\u9632\u4F5C\u5F0A\u8BBE\u7F6E\uFF0C\u4EC5\u652F\u6301",react__WEBPACK_IMPORTED_MODULE_0__.createElement("span",{className:"c-red"},"\u8C37\u6B4C"),"\u3002",react__WEBPACK_IMPORTED_MODULE_0__.createElement("br",null),"\u8BF7\u4F7F\u7528",react__WEBPACK_IMPORTED_MODULE_0__.createElement("span",{className:"c-red"},"\u8C37\u6B4C"),"\u6D4F\u89C8\u5668\u5F00\u59CB\u8003\u8BD5\u3002")});return}}if(d.forbid_screen){const l=new WebSocket("ws://localhost:8082");yield new Promise(c=>setTimeout(()=>c(),200)),sendAppStatus(l,d)}if(d.open_camera||d.screen_open||d.ip_limit!=="no"||d.identity_verify){if(!isChromeOrFirefox())return antd__WEBPACK_IMPORTED_MODULE_15__.default.info({icon:null,okText:"\u786E\u5B9A",width:500,content:react__WEBPACK_IMPORTED_MODULE_0__.createElement("div",{className:"font16"},"\u672C\u6B21\u8003\u8BD5\u5DF2\u5F00\u542F\u9632\u4F5C\u5F0A\u8BBE\u7F6E\uFF0C\u4EC5\u652F\u6301",react__WEBPACK_IMPORTED_MODULE_0__.createElement("span",{className:"c-red"},"\u8C37\u6B4C"),"\u3001",react__WEBPACK_IMPORTED_MODULE_0__.createElement("span",{className:"c-red"},"\u706B\u72D0"),"\u6D4F\u89C8\u5668\u3002",react__WEBPACK_IMPORTED_MODULE_0__.createElement("br",null),"\u8BF7\u4F7F\u7528",react__WEBPACK_IMPORTED_MODULE_0__.createElement("span",{className:"c-red"},"\u8C37\u6B4C"),"\u3001",react__WEBPACK_IMPORTED_MODULE_0__.createElement("span",{className:"c-red"},"\u706B\u72D0"),"\u6D4F\u89C8\u5668\u5F00\u59CB\u8003\u8BD5\u3002")}),!1;d.open_phone_video_recording?window.location.href=`/classrooms/${d.coursesId}/exercise/${d.exerciseId}/users/${(v=(0,_utils_authority__WEBPACK_IMPORTED_MODULE_1__.eY)())==null?void 0:v.login}/check`:d.identity_verify&&d.current_status===2?window.location.href=`/classrooms/${d.coursesId}/exercise/${d.exerciseId}/users/${(e=(0,_utils_authority__WEBPACK_IMPORTED_MODULE_1__.eY)())==null?void 0:e.login}/check`:window.location.href=`/classrooms/${d.coursesId}/exercise/${d.exerciseId}/users/${(r=(0,_utils_authority__WEBPACK_IMPORTED_MODULE_1__.eY)())==null?void 0:r.login}`}else d.identity_verify&&d.current_status===2?window.location.href=`/classrooms/${d.coursesId}/exercise/${d.exerciseId}/users/${d.login}/check`:window.location.href=`/classrooms/${d.coursesId}/exercise/${d.exerciseId}/users/${d.login}`});var httpBuildQuery=function(d,v,e,r){if(console.log("param:",d),v=v||null,e=e||"&",r=r||null,!d)return"";var i=function(o){for(var h=new Array,u=0;u<o.length;u++)o[u]&&h.push(o[u]);return h},l=function(o){return encodeURIComponent(o).replace(/[!'()*]/g,escape)},c=function(o){return!isNaN(parseFloat(o))&&isFinite(o)},f=Object.keys(d).map(function(o){var h,u=o;if(typeof d[o]=="object"&&d[o]!==null)h=httpBuildQuery(d[o],null);else{v&&(u=c(u)?v+Number(u):u);var a=d[o];a=a===!0?"1":a,a=a===!1?"0":a,a=a===0?"0":a,a=a||"",h=u+"="+a}return h});return i(f).join(e).replace(/[!'()*]/g,escape)};const parseParamsStr=(d,v)=>{const e={},r=Object.assign(!0,d,{}),i=[];return Object.keys(r).sort().forEach(function(l){if(r[l]=r[l]===!0?"true":r[l],r[l]=r[l]===!1?"false":r[l],v==="GET"){if(r[l]!==null){if(typeof r[l]=="object"&&(!Array.isArray(r[l])||Array.isArray(r[l])&&!r[l].length))return;const c=r[l]===null||r[l]==="null"?"":r[l];i.push(`${l}=${typeof c=="string"||typeof c=="number"?decodeURIComponent(c):JSON.stringify(c)}`)}}else{const c=r[l]===null||r[l]==="null"?"":r[l];i.push(`${l}=${typeof c=="string"||typeof c=="number"?c:JSON.stringify(c)}`),r[l],e[l]=r[l]}}),i.join("&").trim()},educationList=[{name:"\u672C\u79D1",id:6},{name:"\u5927\u4E13",id:5},{name:"\u4E2D\u4E13",id:4},{name:"\u9AD8\u4E2D",id:3},{name:"\u521D\u4E2D",id:2},{name:"\u5C0F\u5B66",id:1},{name:"\u5176\u4ED6",id:9},{name:"\u7855\u58EB",id:7},{name:"\u535A\u58EB",id:8},{name:"\u9AD8\u4E2D",id:3},{name:"\u521D\u4E2D",id:2},{name:"\u5C0F\u5B66",id:1},{name:"\u5176\u4ED6",id:9},{name:"\u7855\u58EB",id:7},{name:"\u535A\u58EB",id:8}];function getTopLevelDomain(){let d=window.location.hostname;if(/^\d+\.\d+\.\d+\.\d+$/.test(d)||d==="localhost")return d;let v=d.split(".");return v.length>2&&/^[a-z]{2}$/.test(v[v.length-2])?v.slice(-3).join("."):v.slice(-2).join(".")}const setHeader=(d,v)=>{var e;try{const r=Date.now(),i=(0,uuid__WEBPACK_IMPORTED_MODULE_18__.Z)();let l="method="+((e=d.method)==null?void 0:e.toLocaleUpperCase())+"&ak="+getKey(_key__WEBPACK_IMPORTED_MODULE_19__.mi)+"&sk="+getKey(_key__WEBPACK_IMPORTED_MODULE_19__.hw)+"&time="+r;return d.headers["X-EDU-Type"]="pc",d.headers["X-EDU-Timestamp"]=r,d.headers["X-EDU-Signature"]=md5__WEBPACK_IMPORTED_MODULE_6___default()(window.btoa(l)),d.headers["Pc-Authorization"]=getCookie("_educoder_session"),d.headers["X-Request-Id"]=i,d}catch(r){console.log("error:",r,d,v)}},setThreeComponent=()=>{(function(d){XMLHttpRequest.prototype.open=function(v,e,r=!0){const i=setHeader({method:v,headers:{}});d.call(this,v,e,r);try{e.indexOf(getTopLevelDomain())>-1&&(this.setRequestHeader("X-EDU-Type","pc"),this.setRequestHeader("X-EDU-Timestamps",i.headers["X-EDU-Timestamp"]),this.setRequestHeader("X-EDU-Signatures",i.headers["X-EDU-Signature"]),this.setRequestHeader("Pc-Authorization",getCookie("_educoder_session")))}catch(l){}}})(XMLHttpRequest.prototype.open),function(d){window.fetch=function(v,e){var r;return e=e||{},(r=e.headers)!=null&&r["X-EDU-Timestamp"]||setHeader(e),d.apply(this,arguments).then(function(i){return i})}}(window.fetch)},parseUrl=d=>{const v=/(\w+)=([^\#&]*)/gi,e={};return d.replace(v,function(r,i,l){e[i]=decodeURI(l)}),e},messageInfo=(d,v)=>{const r={1:"\u5F53\u524D\u5B9E\u8DF5\u9879\u76EE\u6682\u672A\u53D1\u5E03\uFF0C\u8BF7\u8054\u7CFB\u672C\u8BFE\u5802\u6559\u5E08\u3002",2:"\u5F53\u524D\u5B9E\u8DF5\u9879\u76EE\u4E0D\u5B58\u5728\uFF0C\u8BF7\u8054\u7CFB\u672C\u8BFE\u5802\u6559\u5E08\u3002",3:"\u5F53\u524D\u5B9E\u8DF5\u9879\u76EE\u9762\u5411\u6307\u5B9A\u5355\u4F4D\u5F00\u653E\uFF0C\u8BF7\u8054\u7CFB\u672C\u8BFE\u5802\u6559\u5E08\u3002",4:`\u5F53\u524D\u5B9E\u8DF5\u9879\u76EE\u5C06\u4E8E${v}\u53D1\u5E03\uFF0C\u8BF7\u7B49\u5F85\u3002`}[d];antd__WEBPACK_IMPORTED_MODULE_14__.ZP.warning(r)},base64ToBlob=(d,v)=>{var e;const r=window.atob(d),i=r.length,l=new Uint8Array(i);for(let c=0;c<i;++c)l[c]=r.charCodeAt(c);return new Blob([l],{type:_contentType__WEBPACK_IMPORTED_MODULE_4__.F[(e=v.split("."))==null?void 0:e[1]]||"application/octet-stream"})},downloadFile=(d,v,e)=>{const r=base64ToBlob(v,e);if(window.navigator.msSaveOrOpenBlob)navigator.msSaveBlob(r,d);else{const i=document.createElement("a");i.href=window.URL.createObjectURL(r),i.download=d,document.body.appendChild(i);const l=document.createEvent("MouseEvents");l.initEvent("click",!1,!1),i.dispatchEvent(l),document.body.removeChild(i)}},trackEvent=d=>{var v;if(d.length)try{window._czc.push(["_trackEvent",...d]),window==null||window.gtag("event",d[1],{event_category:d[0],event_label:d[2]||"",value:d[3]||"",user_id:((v=(0,_utils_authority__WEBPACK_IMPORTED_MODULE_1__.eY)())==null?void 0:v.login)||""})}catch(e){console.log("trackEvent:err:",e)}},trackEventCustom=d=>{if(d.length)try{window._czc.push(["_setCustomVar",...d])}catch(v){console.log("trackEvent:err:",v)}},onPreviewImage=d=>{const v=(i,l)=>{if(i.localName===l)return i;for(let c=0,f=i;f=f.parentNode;c++){if(f.localName===l)return f;if(f==document.documentElement)return!1}},e=d.target,r=v(e,"a");if(!(r!=null&&r.href)&&e.tagName.toUpperCase()==="IMG"){let i=e.src||e.getAttribute("src");i&&i.indexOf("/images/avatars/User")===-1&&(d.stopPropagation(),d.preventDefault(),_components_mediator__WEBPACK_IMPORTED_MODULE_8__.Z.publish("preview-image",i))}},getCategoryName=(d,v)=>{var e,r,i,l;if(d&&d!=""){let c=(e=d==null?void 0:d.filter(f=>f.type===location.pathname.split("/")[3]))==null?void 0:e[0];return v?(l=(i=(r=c==null?void 0:c.second_category)==null?void 0:r.filter(f=>f.category_id==v))==null?void 0:i[0])==null?void 0:l.category_name:c==null?void 0:c.name}return null},bindPhone=d=>{const v=antd__WEBPACK_IMPORTED_MODULE_15__.default.confirm({title:"\u5B8C\u5584\u624B\u673A\u53F7\u7801",content:"\u6309\u7167\u6709\u5173\u653F\u7B56\u89C4\u5B9A\uFF0C\u7279\u6B8A\u5B9E\u9A8C\u9700\u8981\u5148\u7ED1\u5B9A\u624B\u673A\u53F7\u624D\u80FD\u4F7F\u7528\uFF0C\u8BF7\u5148\u7ED1\u5B9A\u624B\u673A\u53F7\u7801",okText:"\u7ACB\u5373\u7ED1\u5B9A",cancelText:"\u53D6\u6D88",centered:!0,onOk:()=>{location.href="/account/secure"},onCancel:()=>{v.destroy(),d!=null&&d.onCancel&&d.onCancel()}})},copyTextFuc=(d="",v=!1)=>{const e=document.createElement("textarea");e.value=d,document.body.appendChild(e),e.select(),document.execCommand("Copy"),v||antd__WEBPACK_IMPORTED_MODULE_14__.ZP.success("\u590D\u5236\u6210\u529F"),document.body.removeChild(e)},getJsonFromUrl=d=>{if(d||(d=window.location.search),!d)return{};let v=d.substring(1),e={};return v.split("&").forEach(function(r){let i=r.split("=");e[i[0]]=decodeURIComponent(i[1])}),e},arrTrans=(d,v)=>{if(!v)return null;const e=[];return v.forEach((r,i)=>{const l=Math.floor(i/d);e[l]||(e[l]=[]),e[l].push(r)}),e},setDocumentTitle=d=>{checkIsClientExam()?document.title="\u5934\u6B4C\u8003\u8BD5\u7CFB\u7EDF":d!==""&&d&&(document.title=d||(document.domain.indexOf(".educoder.net")>-1?"\u5934\u6B4C\u5B9E\u8DF5\u6559\u5B66\u5E73\u53F0":""))},checkIsClientExam=()=>{var d;return(d=window==null?void 0:window.localStorage)==null?void 0:d.isClientExam},localSort={setItem:(d,v,e)=>{const r=d,i=localStorage.getItem(r),l=i!==null&&i!=="[object Object]"?JSON.parse(i):{};l[e]=v,localStorage.setItem(r,JSON.stringify(l))},getItem:(d,v)=>{const e=d,r=localStorage.getItem(e);return(r!==null&&r!=="[object Object]"?JSON.parse(r):{})[v]}},ImgSrcConvert=d=>d!=null&&d.startsWith("http")?d:_env__WEBPACK_IMPORTED_MODULE_7__.Z.IMG_SERVER+d,compareVersion=d=>{const v=getVersion(),e=d.split("."),r=v.split("."),i=Math.max(e.length,r.length);for(;e.length<i;)e.push("0");for(;r.length<i;)r.push("0");for(let l=0;l<i;l++){const c=parseInt(e[l]),f=parseInt(r[l]);if(c>f)return 1;if(c<f)return-1}return 0},getImageUrl=(d,v)=>{d=`${d}${v?","+v:""}`;const e=crypto_js__WEBPACK_IMPORTED_MODULE_11___default().enc.Utf8.parse(window.atob(window.atob(_key__WEBPACK_IMPORTED_MODULE_19__.Bn)).substring(0,16)),r=crypto_js__WEBPACK_IMPORTED_MODULE_11___default().AES.encrypt(d||"",e,{iv:e,mode:crypto_js__WEBPACK_IMPORTED_MODULE_11___default().mode.CBC});return window.btoa(r.toString())},getVersion=()=>{const v=navigator.userAgent.toLowerCase().match(/version\/[\d.]+/gi);return v&&v[0].replace(/version\//,"")},isLocalApp=()=>navigator.userAgent.indexOf("ExerciseApp")>-1;function randomArray(d,v){let e=d.length,r,i;v=v||1;let l=function(){var c=Math.sin(v++)*1e3;return c-Math.floor(c)};for(;e!==0;)i=Math.floor(l()*e),e-=1,r=d[e],d[e]=d[i],d[i]=r;return d}function pointerEvents(d){const v=document.getElementsByTagName("iframe");for(let r=0;r<v.length;r++)v[r].style["pointer-events"]=d;const e=document.getElementsByTagName("canvas");for(let r=0;r<e.length;r++)e[r].style["pointer-events"]=d}const toDataUrl=d=>new Promise((v,e)=>{var r=new XMLHttpRequest;r.withCredentials=!0,r.onload=function(){var i=new FileReader;i.onloadend=function(){v(i.result)},i.readAsDataURL(r.response)},r.open("GET",d),r.responseType="blob",r.send()}),vtrsKey=(_b=(_a=location==null?void 0:location.pathname)==null?void 0:_a.split("/"))==null?void 0:_b[1];function scrollToTop(){window.scrollTo({left:0,top:0,behavior:"smooth"})}function domScrollToTop(d){var v;(v=document.querySelector(d))==null||v.scrollTo({left:0,top:0,behavior:"smooth"})}function dealUploadChange(d){var v,e,r,i,l;const c=(v=d.fileList)==null?void 0:v.map(f=>{var o,h;return __spreadProps(__spreadValues({},f),{status:typeof(f==null?void 0:f.response)=="string"||((o=f==null?void 0:f.response)==null?void 0:o.status)===-1?"error":f.status,response:typeof(f==null?void 0:f.response)=="string"?f==null?void 0:f.response:f!=null&&f.response&&(f==null?void 0:f.response.status)===-1?(h=f==null?void 0:f.response)==null?void 0:h.message:f==null?void 0:f.response})});return((r=(e=d.file)==null?void 0:e.response)==null?void 0:r.status)===-1&&(antd__WEBPACK_IMPORTED_MODULE_14__.ZP.destroy(),antd__WEBPACK_IMPORTED_MODULE_14__.ZP.warning((l=(i=d.file)==null?void 0:i.response)==null?void 0:l.message)),c}function cutFileName(d="",v){if(!d)return"";const e=d.lastIndexOf(".");let r=[d,""];if(e!==-1&&e!==d.length-1){const i=d.substring(0,e),l=d.substring(e+1);r=[i,l]}return r[0].length>v?r[0].slice(0,v)+"..."+r[1]:d}function cutName(d="",v,e="--"){return d?(d==null?void 0:d.length)>=v?(d==null?void 0:d.slice(0,v))+"...":d:e}function timeContrast(d){return d?moment__WEBPACK_IMPORTED_MODULE_12___default()().isBefore(moment__WEBPACK_IMPORTED_MODULE_12___default()(d)):!0}function showTotal(d){return react__WEBPACK_IMPORTED_MODULE_0__.createElement("span",{className:"font14 c-grey-333"},"\u5171",react__WEBPACK_IMPORTED_MODULE_0__.createElement("span",{className:"c-light-primary"},"\xA0",d,"\xA0"),"\u6761\u6570\u636E")}const formatRandomPaperData=d=>{const v={1:"\u4E00",2:"\u4E8C",3:"\u4E09",4:"\u56DB",5:"\u4E94",6:"\u516D",7:"\u4E03"};if(!d)return;const{exam:e,single_questions:r,multiple_questions:i,judgement_questions:l,program_questions:c,completion_questions:f,subjective_questions:o,practical_questions:h,combination_questions:u,bprogram_questions:a}=d||{},x=[__spreadValues({type:"SINGLE",name:"\u5355\u9009\u9898"},r),__spreadValues({type:"MULTIPLE",name:"\u591A\u9009\u9898"},i),__spreadValues({type:"COMPLETION",name:"\u586B\u7A7A\u9898"},f),__spreadValues({type:"JUDGMENT",name:"\u5224\u65AD\u9898"},l),__spreadValues({type:"SUBJECTIVE",name:"\u7B80\u7B54\u9898"},o),__spreadValues({type:"PROGRAM",name:"\u7F16\u7A0B\u9898"},c),__spreadValues({type:"BPROGRAM",name:"\u7A0B\u5E8F\u586B\u7A7A\u9898"},a),__spreadValues({type:"PRACTICAL",name:"\u5B9E\u8BAD\u9898"},h),__spreadValues({type:"COMBINATION",name:"\u7EC4\u5408\u9898"},u)],p=[];let y=0,_=0;const b=x.filter(S=>S.questions_count>0).map((S,k)=>{var R;return(R=S.questions)==null||R.forEach(A=>{p.push(A.id),y=y+A.score,_=_+1}),__spreadValues(__spreadValues({},S),{number:v[k+1]})});return{all_questions_count:_,all_score:y,questionList:b,ids:p,exam:e}},formatRandomPaperDatas=d=>{var v;const e={1:"\u4E00",2:"\u4E8C",3:"\u4E09",4:"\u56DB",5:"\u4E94",6:"\u516D",7:"\u4E03"};if(!d)return;const{exam:r,single_questions:i,multiple_questions:l,judgement_questions:c,program_questions:f,completion_questions:o,subjective_questions:h,practical_questions:u,combination_questions:a,bprogram_questions:x}=d||{},p=[__spreadValues({type:"SINGLE",name:"\u5355\u9009\u9898"},i),__spreadValues({type:"MULTIPLE",name:"\u591A\u9009\u9898"},l),__spreadValues({type:"COMPLETION",name:"\u586B\u7A7A\u9898"},o),__spreadValues({type:"JUDGMENT",name:"\u5224\u65AD\u9898"},c),__spreadValues({type:"SUBJECTIVE",name:"\u7B80\u7B54\u9898"},h),__spreadValues({type:"PROGRAM",name:"\u7F16\u7A0B\u9898"},f),__spreadValues({type:"BPROGRAM",name:"\u7A0B\u5E8F\u586B\u7A7A\u9898"},x),__spreadValues({type:"PRACTICAL",name:"\u5B9E\u8BAD\u9898"},u),__spreadValues({type:"COMBINATION",name:"\u7EC4\u5408\u9898"},a)];let y=[];(v=r==null?void 0:r.question_type_position)==null||v.map((R,A)=>{p==null||p.map((I,M)=>{R.type===I.type&&y.push(I)})});const _=[];let b=0,S=0;const k=y.filter(R=>R.questions_count>0).map((R,A)=>{var I;return(I=R.questions)==null||I.forEach(M=>{_.push(M.id),b=b+M.score,S=S+1}),__spreadValues(__spreadValues({},R),{number:e[A+1]})});return{all_questions_count:S,all_score:b,questionList:k,ids:_,exam:r}},isWechatBrowser=()=>navigator.userAgent.toLowerCase().match(/MicroMessenger/i)=="micromessenger",toWechatLogin=()=>{isWechatBrowser()?window.location.href="https://open.weixin.qq.com/connect/oauth2/authorize?appid=wx0955caba88bc37eb&redirect_uri=https%3A%2F%2Fwww.educoder.net%2fotherloginstart&response_type=code&scope=snsapi_userinfo&state=STATE#wechat_redirect":window.location.href="/wxlogin.html"},isMobileDevice=()=>typeof window.orientation!="undefined"||navigator.userAgent.indexOf("Mobi")!==-1,sendAppStatus=(d,v)=>{var e;try{v?(d.send(JSON.stringify({type:"toggleLockExit",data:!0})),v!=null&&v.forbid_screen&&d.send(JSON.stringify({type:"open-disabled-switchscreen"})),v!=null&&v.use_white_list&&d.send(JSON.stringify({type:"open-only-allow-runapp",data:v==null?void 0:v.white_list})),v!=null&&v.net_limit&&d.send(JSON.stringify({type:"network-close",data:(e=v==null?void 0:v.net_limit_list)==null?void 0:e.split(`
`)}))):(d.send(JSON.stringify({type:"toggleLockExit",data:!1})),d.send(JSON.stringify({type:"close-disabled-switchscreen"})),d.send(JSON.stringify({type:"close-only-allow-runapp"})),d.send(JSON.stringify({type:"network-open"})))}catch(r){}},addJumping=()=>{const d=document.querySelector('a[title="\u589E\u52A0\u586B\u7A7A"]'),v=d==null?void 0:d.querySelector("span");v&&(v.classList.remove("jumping-icon"),v.offsetWidth,v.classList.add("jumping-icon"),setTimeout(()=>{var e;(e=v==null?void 0:v.classList)==null||e.remove("jumping-icon")},2e3))},showClassroomsmodal=d=>d!=null&&d.forbid_student_visit?(antd__WEBPACK_IMPORTED_MODULE_15__.default.warning({title:"\u63D0\u793A",icon:null,centered:!0,okText:"\u6211\u77E5\u9053\u4E86",content:react__WEBPACK_IMPORTED_MODULE_0__.createElement("span",null,react__WEBPACK_IMPORTED_MODULE_0__.createElement("span",{style:{fontWeight:600}},d==null?void 0:d.username,"\u8001\u5E08 "),"\u5DF2\u5173\u95ED\u8BE5\u8BFE\u5802\uFF0C\u5B66\u751F\u7528\u6237\u6682\u65F6\u65E0\u6CD5\u8BBF\u95EE ")}),!0):!1,getExamRestrictionInfo=d=>{const v=[];return d.is_locked&&v.push("\u8003\u8BD5\u89E3\u9501\u7801"),d.login_restrict&&v.push("\u8003\u8BD5\u767B\u5F55\u9650\u5236"),d.screen_open&&v.push("\u5207\u5C4F\u540E\u5F3A\u5236\u4EA4\u5377"),d.ip_bind&&v.push("IP\u5730\u5740\u7ED1\u5B9A"),(d.ip_limit==="pub"||d.ip_limit==="inner")&&v.push("\u9650\u5236\u8003\u8BD5\u8BBF\u95EEIP"),d.open_camera&&v.push("\u8003\u8BD5\u4E2D\u542F\u7528\u62CD\u7167\u529F\u80FD\u8FDB\u884C\u76D1\u8003\u548C\u884C\u4E3A\u5206\u6790"),d.identity_verify&&v.push("\u8003\u8BD5\u524D\u4EBA\u8138\u8EAB\u4EFD\u6838\u9A8C"),d.open_phone_video_recording&&v.push("\u8003\u8BD5\u4E2D\u5F00\u542F\u624B\u673A\u89C6\u9891\u5F55\u5236"),v.length>0?v.join("\u3001"):""},releaseRuleDataAdjust=d=>{const v=d.reduce((r,i)=>{const l=`${i.publish_time}_${i.end_time}_${i.is_admin}`;return r[l]?(r[l].group_name.push(i.group_name),r[l].group_id.push(i.group_id)):r[l]={publish_time:i.publish_time,end_time:i.end_time,is_admin:i.is_admin,group_name:[i.group_name],group_id:[i.group_id]},r},{});return Object.values(v).map(r=>__spreadProps(__spreadValues({},r),{group_name:r.group_name.flat(),group_id:r.group_id.flat()}))},showInstallWebRtcDoc=()=>new Promise((d,v)=>__async(void 0,null,function*(){const e=yield(0,_utils_fetch__WEBPACK_IMPORTED_MODULE_10__.ZP)("/api/documents/webrtc_content",{method:"get"});antd__WEBPACK_IMPORTED_MODULE_15__.default.info({title:"WebRTC\u63D2\u4EF6\u5B89\u88C5\u6559\u7A0B",width:"1000px",centered:!0,content:react__WEBPACK_IMPORTED_MODULE_0__.createElement("div",{style:{maxHeight:"70vh",overflow:"auto"}},react__WEBPACK_IMPORTED_MODULE_0__.createElement(_components_RenderHtml__WEBPACK_IMPORTED_MODULE_9__.Z,{value:(e==null?void 0:e.data)||""}))}),d(e==null?void 0:e.data)}));function copyToClipboard(d){return navigator.clipboard?navigator.clipboard.writeText(d).then(()=>(console.log("Text copied to clipboard successfully!"),!0)).catch(v=>{throw console.error("Failed to copy text: ",v),v}):new Promise((v,e)=>{const r=document.createElement("textarea");r.value=d,document.body.appendChild(r),r.select();try{const i=document.execCommand("copy");document.body.removeChild(r),i?(console.log("Text copied to clipboard successfully!"),v(!0)):(console.error("Failed to copy text using execCommand."),e(!1))}catch(i){document.body.removeChild(r),console.error("Failed to copy text: ",i),e(i)}})}const isArrayBuffer=d=>Object.prototype.toString.call(d)==="[object ArrayBuffer]",parseArrayBufferAsText=(d,v="utf-8")=>isArrayBuffer(d)?new TextDecoder(v).decode(d):d},46801: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)}},67704:function(d,v,e){"use strict";e.d(v,{Il:function(){return f},Ov:function(){return o},T$:function(){return u}});var r=e(38127),i=e(59301),l=e(35338),c=["element"],f=i.createContext({});function o(){return i.useContext(f)}function h(){var y=(0,l.TH)(),_=o(),b=_.clientRoutes,S=(0,l.fp)(b,y.pathname);return S||[]}function u(){var y,_=h().slice(-1),b=((y=_[0])===null||y===void 0?void 0:y.route)||{},S=b.element,k=(0,r.Z)(b,c);return k}function a(){var y=h(),_=o(),b=_.serverLoaderData,S=_.basename,k=React.useState(function(){var M={},B=!1;return y.forEach(function(N){var V=b[N.route.id];V&&(Object.assign(M,V),B=!0)}),B?M:void 0}),R=_slicedToArray(k,2),A=R[0],I=R[1];return React.useEffect(function(){window.__UMI_LOADER_DATA__||Promise.all(y.filter(function(M){return M.route.hasServerLoader}).map(function(M){return new Promise(function(B){fetchServerLoader({id:M.route.id,basename:S,cb:B})})})).then(function(M){if(M.length){var B={};M.forEach(function(N){Object.assign(B,N)}),I(B)}})},[]),{data:A}}function x(){var y=useRouteData(),_=o();return{data:_.clientLoaderData[y.route.id]}}function p(){var y=a(),_=x();return{data:_objectSpread(_objectSpread({},y.data),_.data)}}},91392:function(d){var v={en_GB:"en-gb",en_US:"en",zh_CN:"zh-cn",zh_TW:"zh-tw"},e=function(i){var l=v[i];return l||i.split("_")[0]};d.exports=function(r,i,l){var c=i.prototype.locale;i.prototype.locale=function(f){return typeof f=="string"&&(f=e(f)),c.call(this,f)}}},92806:function(d,v,e){"use strict";var r=e(41799),i=e(59301),l=e(3113),c=e(67797);function f(h){return!!(h&&h.then)}const o=h=>{const{type:u,children:a,prefixCls:x,buttonProps:p,close:y,autoFocus:_,emitEvent:b,isSilent:S,quitOnNullishReturnValue:k,actionFn:R}=h,A=i.useRef(!1),I=i.useRef(null),[M,B]=(0,r.Z)(!1),N=function(){y==null||y.apply(void 0,arguments)};i.useEffect(()=>{let H=null;return _&&(H=setTimeout(()=>{var ae;(ae=I.current)===null||ae===void 0||ae.focus()})),()=>{H&&clearTimeout(H)}},[]);const V=H=>{f(H)&&(B(!0),H.then(function(){B(!1,!0),N.apply(void 0,arguments),A.current=!1},ae=>{if(B(!1,!0),A.current=!1,!(S!=null&&S()))return Promise.reject(ae)}))},W=H=>{if(A.current)return;if(A.current=!0,!R){N();return}let ae;if(b){if(ae=R(H),k&&!f(ae)){A.current=!1,N(H);return}}else if(R.length)ae=R(y),A.current=!1;else if(ae=R(),!ae){N();return}V(ae)};return i.createElement(l.ZP,Object.assign({},(0,c.n)(u),{onClick:W,loading:M,prefixCls:x},p,{ref:I}),a)};v.Z=o},53487:function(d,v,e){"use strict";e.d(v,{Z:function(){return o},i:function(){return f}});var r=e(18929),i=e(59301),l=e(92736),c=e(36355);function f(h){return function(a){return i.createElement(l.ZP,{theme:{token:{motion:!1,zIndexPopupBase:0}}},i.createElement(h,Object.assign({},a)))}}function o(h,u,a,x){function p(y){const{prefixCls:_,style:b}=y,S=i.useRef(null),[k,R]=i.useState(0),[A,I]=i.useState(0),[M,B]=(0,r.Z)(!1,{value:y.open}),{getPrefixCls:N}=i.useContext(c.E_),V=N(u||"select",_);i.useEffect(()=>{if(B(!0),typeof ResizeObserver!="undefined"){const H=new ResizeObserver(ne=>{const oe=ne[0].target;R(oe.offsetHeight+8),I(oe.offsetWidth)}),ae=setInterval(()=>{var ne;const oe=a?`.${a(V)}`:`.${V}-dropdown`,J=(ne=S.current)===null||ne===void 0?void 0:ne.querySelector(oe);J&&(clearInterval(ae),H.observe(J))},10);return()=>{clearInterval(ae),H.disconnect()}}},[]);let W=Object.assign(Object.assign({},y),{style:Object.assign(Object.assign({},b),{margin:0}),open:M,visible:M,getPopupContainer:()=>S.current});return x&&(W=x(W)),i.createElement("div",{ref:S,style:{paddingBottom:k,position:"relative",minWidth:A}},i.createElement(h,Object.assign({},W)))}return f(p)}},36785:function(d,v,e){"use strict";e.d(v,{o2:function(){return f},yT:function(){return o}});var r=e(94480),i=e(33166);const l=i.i.map(h=>`${h}-inverse`),c=["success","processing","error","default","warning"];function f(h){return(arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0)?[].concat((0,r.Z)(l),(0,r.Z)(i.i)).includes(h):i.i.includes(h)}function o(h){return c.includes(h)}},47729:function(d,v,e){"use strict";e.d(v,{Z:function(){return c}});var r=e(99267),i=e(59301);function l(f,o,h){return typeof f=="boolean"?f:o===void 0?!!h:o!==!1&&o!==null}function c(f,o,h){let u=arguments.length>3&&arguments[3]!==void 0?arguments[3]:i.createElement(r.Z,null),a=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!1;if(!l(f,o,a))return[!1,null];const p=typeof o=="boolean"||o===void 0||o===null?u:o;return[!0,h?h(p):p]}},62892:function(d,v,e){"use strict";e.d(v,{m:function(){return h}});const r=()=>({height:0,opacity:0}),i=u=>{const{scrollHeight:a}=u;return{height:a,opacity:1}},l=u=>({height:u?u.offsetHeight:0}),c=(u,a)=>(a==null?void 0:a.deadline)===!0||a.propertyName==="height",f=function(){return{motionName:`${arguments.length>0&&arguments[0]!==void 0?arguments[0]:"ant"}-motion-collapse`,onAppearStart:r,onEnterStart:r,onAppearActive:i,onEnterActive:i,onLeaveStart:l,onLeaveActive:r,onAppearEnd:c,onEnterEnd:c,onLeaveEnd:c,motionDeadline:500}},o=null,h=(u,a,x)=>x!==void 0?x:`${u}-${a}`;v.Z=f},79676:function(d,v,e){"use strict";e.d(v,{Z:function(){return o}});var r=e(19447);function i(h,u,a,x){if(x===!1)return{adjustX:!1,adjustY:!1};const p=x&&typeof x=="object"?x:{},y={};switch(h){case"top":case"bottom":y.shiftX=u.dropdownArrowOffset*2+a;break;case"left":case"right":y.shiftY=u.dropdownArrowOffsetVertical*2+a;break}const _=Object.assign(Object.assign({},y),p);return _.shiftX||(_.adjustX=!0),_.shiftY||(_.adjustY=!0),_}const l={left:{points:["cr","cl"]},right:{points:["cl","cr"]},top:{points:["bc","tc"]},bottom:{points:["tc","bc"]},topLeft:{points:["bl","tl"]},leftTop:{points:["tr","tl"]},topRight:{points:["br","tr"]},rightTop:{points:["tl","tr"]},bottomRight:{points:["tr","br"]},rightBottom:{points:["bl","br"]},bottomLeft:{points:["tl","bl"]},leftBottom:{points:["br","bl"]}},c={topLeft:{points:["bl","tc"]},leftTop:{points:["tr","cl"]},topRight:{points:["br","tc"]},rightTop:{points:["tl","cr"]},bottomRight:{points:["tr","bc"]},rightBottom:{points:["bl","cr"]},bottomLeft:{points:["tl","bc"]},leftBottom:{points:["br","cl"]}},f=new Set(["topLeft","topRight","bottomLeft","bottomRight","leftTop","leftBottom","rightTop","rightBottom"]);function o(h){const{arrowWidth:u,autoAdjustOverflow:a,arrowPointAtCenter:x,offset:p,borderRadius:y,visibleFirst:_}=h,b=u/2,S={};return Object.keys(l).forEach(k=>{const R=x&&c[k]||l[k],A=Object.assign(Object.assign({},R),{offset:[0,0]});switch(S[k]=A,f.has(k)&&(A.autoArrow=!1),k){case"top":case"topLeft":case"topRight":A.offset[1]=-b-p;break;case"bottom":case"bottomLeft":case"bottomRight":A.offset[1]=b+p;break;case"left":case"leftTop":case"leftBottom":A.offset[0]=-b-p;break;case"right":case"rightTop":case"rightBottom":A.offset[0]=b+p;break}const I=(0,r.fS)({contentRadius:y,limitVerticalRadius:!0});if(x)switch(k){case"topLeft":case"bottomLeft":A.offset[0]=-I.dropdownArrowOffset-b;break;case"topRight":case"bottomRight":A.offset[0]=I.dropdownArrowOffset+b;break;case"leftTop":case"rightTop":A.offset[1]=-I.dropdownArrowOffset-b;break;case"leftBottom":case"rightBottom":A.offset[1]=I.dropdownArrowOffset+b;break}A.overflow=i(k,I,u,a),_&&(A.htmlRegion="visibleFirst")}),S}},92343:function(d,v,e){"use strict";var r;e.d(v,{M2:function(){return c},Tm:function(){return o},l$:function(){return l},wm:function(){return f}});var i=e(59301);const{isValidElement:l}=r||(r=e.t(i,2));function c(h){return h&&l(h)&&h.type===i.Fragment}function f(h,u,a){return l(h)?i.cloneElement(h,typeof a=="function"?a(h.props||{}):a):u}function o(h,u){return f(h,h,u)}},69507:function(d,v,e){"use strict";e.d(v,{ZP:function(){return o},c4:function(){return l},m9:function(){return h}});var r=e(59301),i=e(88088);const l=["xxl","xl","lg","md","sm","xs"],c=u=>({xs:`(max-width: ${u.screenXSMax}px)`,sm:`(min-width: ${u.screenSM}px)`,md:`(min-width: ${u.screenMD}px)`,lg:`(min-width: ${u.screenLG}px)`,xl:`(min-width: ${u.screenXL}px)`,xxl:`(min-width: ${u.screenXXL}px)`}),f=u=>{const a=u,x=[].concat(l).reverse();return x.forEach((p,y)=>{const _=p.toUpperCase(),b=`screen${_}Min`,S=`screen${_}`;if(!(a[b]<=a[S]))throw new Error(`${b}<=${S} fails : !(${a[b]}<=${a[S]})`);if(y<x.length-1){const k=`screen${_}Max`;if(!(a[S]<=a[k]))throw new Error(`${S}<=${k} fails : !(${a[S]}<=${a[k]})`);const A=`screen${x[y+1].toUpperCase()}Min`;if(!(a[k]<=a[A]))throw new Error(`${k}<=${A} fails : !(${a[k]}<=${a[A]})`)}}),u};function o(){const[,u]=(0,i.Z)(),a=c(f(u));return r.useMemo(()=>{const x=new Map;let p=-1,y={};return{matchHandlers:{},dispatch(_){return y=_,x.forEach(b=>b(y)),x.size>=1},subscribe(_){return x.size||this.register(),p+=1,x.set(p,_),_(y),p},unsubscribe(_){x.delete(_),x.size||this.unregister()},unregister(){Object.keys(a).forEach(_=>{const b=a[_],S=this.matchHandlers[b];S==null||S.mql.removeListener(S==null?void 0:S.listener)}),x.clear()},register(){Object.keys(a).forEach(_=>{const b=a[_],S=R=>{let{matches:A}=R;this.dispatch(Object.assign(Object.assign({},y),{[_]:A}))},k=window.matchMedia(b);k.addListener(S),this.matchHandlers[b]={mql:k,listener:S},S(k)})},responsiveMap:a}},[u])}const h=(u,a)=>{if(a&&typeof a=="object")for(let x=0;x<l.length;x++){const p=l[x];if(u[p]&&a[p]!==void 0)return a[p]}}},14088:function(d,v,e){"use strict";e.d(v,{Z:function(){return ae}});var r=e(92310),i=e.n(r),l=e(8654),c=e(29194),f=e(59301),o=e(36355),h=e(92343),u=e(83116);const a=ne=>{const{componentCls:oe,colorPrimary:J}=ne;return{[oe]:{position:"absolute",background:"transparent",pointerEvents:"none",boxSizing:"border-box",color:`var(--wave-color, ${J})`,boxShadow:"0 0 0 0 currentcolor",opacity:.2,"&.wave-motion-appear":{transition:[`box-shadow 0.4s ${ne.motionEaseOutCirc}`,`opacity 2s ${ne.motionEaseOutCirc}`].join(","),"&-active":{boxShadow:"0 0 0 6px currentcolor",opacity:0},"&.wave-quick":{transition:[`box-shadow 0.3s ${ne.motionEaseInOut}`,`opacity 0.35s ${ne.motionEaseInOut}`].join(",")}}}}};var x=(0,u.Z)("Wave",ne=>[a(ne)]),p=e(70425),y=e(16089),_=e(77900),b=e(1585);function S(ne){const oe=(ne||"").match(/rgba?\((\d*), (\d*), (\d*)(, [\d.]*)?\)/);return oe&&oe[1]&&oe[2]&&oe[3]?!(oe[1]===oe[2]&&oe[2]===oe[3]):!0}function k(ne){return ne&&ne!=="#fff"&&ne!=="#ffffff"&&ne!=="rgb(255, 255, 255)"&&ne!=="rgba(255, 255, 255, 1)"&&S(ne)&&!/rgba\((?:\d*, ){3}0\)/.test(ne)&&ne!=="transparent"}function R(ne){const{borderTopColor:oe,borderColor:J,backgroundColor:q}=getComputedStyle(ne);return k(oe)?oe:k(J)?J:k(q)?q:null}var A=e(4572);function I(ne){return Number.isNaN(ne)?0:ne}const M=ne=>{const{className:oe,target:J,component:q}=ne,K=f.useRef(null),[se,ee]=f.useState(null),[Q,le]=f.useState([]),[z,$]=f.useState(0),[ie,_e]=f.useState(0),[Ae,Pe]=f.useState(0),[We,$e]=f.useState(0),[Lt,bt]=f.useState(!1),kt={left:z,top:ie,width:Ae,height:We,borderRadius:Q.map(tr=>`${tr}px`).join(" ")};se&&(kt["--wave-color"]=se);function Zt(){const tr=getComputedStyle(J);ee(R(J));const je=tr.position==="static",{borderLeftWidth:wt,borderTopWidth:Ft}=tr;$(je?J.offsetLeft:I(-parseFloat(wt))),_e(je?J.offsetTop:I(-parseFloat(Ft))),Pe(J.offsetWidth),$e(J.offsetHeight);const{borderTopLeftRadius:tt,borderTopRightRadius:gt,borderBottomLeftRadius:ft,borderBottomRightRadius:Qe}=tr;le([tt,gt,Qe,ft].map(Ne=>I(parseFloat(Ne))))}if(f.useEffect(()=>{if(J){const tr=(0,y.Z)(()=>{Zt(),bt(!0)});let je;return typeof ResizeObserver!="undefined"&&(je=new ResizeObserver(Zt),je.observe(J)),()=>{y.Z.cancel(tr),je==null||je.disconnect()}}},[]),!Lt)return null;const Mt=(q==="Checkbox"||q==="Radio")&&(J==null?void 0:J.classList.contains(A.A));return f.createElement(_.default,{visible:!0,motionAppear:!0,motionName:"wave-motion",motionDeadline:5e3,onAppearEnd:(tr,je)=>{var wt;if(je.deadline||je.propertyName==="opacity"){const Ft=(wt=K.current)===null||wt===void 0?void 0:wt.parentElement;(0,b.v)(Ft).then(()=>{Ft==null||Ft.remove()})}return!1}},tr=>{let{className:je}=tr;return f.createElement("div",{ref:K,className:i()(oe,{"wave-quick":Mt},je),style:kt})})};var N=(ne,oe)=>{var J;const{component:q}=oe;if(q==="Checkbox"&&!(!((J=ne.querySelector("input"))===null||J===void 0)&&J.checked))return;const K=document.createElement("div");K.style.position="absolute",K.style.left="0px",K.style.top="0px",ne==null||ne.insertBefore(K,ne==null?void 0:ne.firstChild),(0,b.s)(f.createElement(M,Object.assign({},oe,{target:ne})),K)},V=e(88088);function W(ne,oe,J){const{wave:q}=f.useContext(o.E_),[,K,se]=(0,V.Z)(),ee=(0,p.useEvent)(z=>{const $=ne.current;if(q!=null&&q.disabled||!$)return;const ie=$.querySelector(`.${A.A}`)||$,{showEffect:_e}=q||{};(_e||N)(ie,{className:oe,token:K,component:J,event:z,hashId:se})}),Q=f.useRef();return z=>{y.Z.cancel(Q.current),Q.current=(0,y.Z)(()=>{ee(z)})}}var ae=ne=>{const{children:oe,disabled:J,component:q}=ne,{getPrefixCls:K}=(0,f.useContext)(o.E_),se=(0,f.useRef)(null),ee=K("wave"),[,Q]=x(ee),le=W(se,i()(ee,Q),q);if(f.useEffect(()=>{const $=se.current;if(!$||$.nodeType!==1||J)return;const ie=_e=>{!(0,c.Z)(_e.target)||!$.getAttribute||$.getAttribute("disabled")||$.disabled||$.className.includes("disabled")||$.className.includes("-leave")||le(_e)};return $.addEventListener("click",ie,!0),()=>{$.removeEventListener("click",ie,!0)}},[J]),!f.isValidElement(oe))return oe!=null?oe:null;const z=(0,l.Yr)(oe)?(0,l.sQ)(oe.ref,se):se;return(0,h.Tm)(oe,{ref:z})}},4572:function(d,v,e){"use strict";e.d(v,{A:function(){return r}});const r="ant-wave-target"},67797:function(d,v,e){"use strict";e.d(v,{n:function(){return Rt},Z:function(){return Xt}});var r=e(59301),i=e(92310),l=e.n(i),c=e(2738),f=e(8654),o=e(14088),h=e(36355),u=e(1684),a=e(19716),x=e(33234),p=e(88088),y=function(ze,ce){var pe={};for(var It in ze)Object.prototype.hasOwnProperty.call(ze,It)&&ce.indexOf(It)<0&&(pe[It]=ze[It]);if(ze!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Te=0,It=Object.getOwnPropertySymbols(ze);Te<It.length;Te++)ce.indexOf(It[Te])<0&&Object.prototype.propertyIsEnumerable.call(ze,It[Te])&&(pe[It[Te]]=ze[It[Te]]);return pe};const _=r.createContext(void 0);var S=ze=>{const{getPrefixCls:ce,direction:pe}=r.useContext(h.E_),{prefixCls:It,size:Te,className:ct}=ze,Wt=y(ze,["prefixCls","size","className"]),Tt=ce("btn-group",It),[,,Ce]=(0,p.Z)();let St="";switch(Te){case"large":St="lg";break;case"small":St="sm";break;case"middle":case void 0:break;default:}const ye=l()(Tt,{[`${Tt}-${St}`]:St,[`${Tt}-rtl`]:pe==="rtl"},ct,Ce);return r.createElement(_.Provider,{value:Te},r.createElement("div",Object.assign({},Wt,{className:ye})))},k=e(92343);const R=/^[\u4e00-\u9fa5]{2}$/,A=R.test.bind(R);function I(ze){return typeof ze=="string"}function M(ze){return ze==="text"||ze==="link"}function B(ze,ce){if(ze==null)return;const pe=ce?" ":"";return typeof ze!="string"&&typeof ze!="number"&&I(ze.type)&&A(ze.props.children)?(0,k.Tm)(ze,{children:ze.props.children.split("").join(pe)}):I(ze)?A(ze)?r.createElement("span",null,ze.split("").join(pe)):r.createElement("span",null,ze):(0,k.M2)(ze)?r.createElement("span",null,ze):ze}function N(ze,ce){let pe=!1;const It=[];return r.Children.forEach(ze,Te=>{const ct=typeof Te,Wt=ct==="string"||ct==="number";if(pe&&Wt){const Tt=It.length-1,Ce=It[Tt];It[Tt]=`${Ce}${Te}`}else It.push(Te);pe=Wt}),r.Children.map(It,Te=>B(Te,ce))}const V=null,W=null,H=null;var ne=(0,r.forwardRef)((ze,ce)=>{const{className:pe,style:It,children:Te,prefixCls:ct}=ze,Wt=l()(`${ct}-icon`,pe);return r.createElement("span",{ref:ce,className:Wt,style:It},Te)}),oe=e(58617),J=e(77900);const q=(0,r.forwardRef)((ze,ce)=>{let{prefixCls:pe,className:It,style:Te,iconClassName:ct}=ze;const Wt=l()(`${pe}-loading-icon`,It);return r.createElement(ne,{prefixCls:pe,className:Wt,style:Te,ref:ce},r.createElement(oe.Z,{className:ct}))}),K=()=>({width:0,opacity:0,transform:"scale(0)"}),se=ze=>({width:ze.scrollWidth,opacity:1,transform:"scale(1)"});var Q=ze=>{const{prefixCls:ce,loading:pe,existIcon:It,className:Te,style:ct}=ze,Wt=!!pe;return It?r.createElement(q,{prefixCls:ce,className:Te,style:ct}):r.createElement(J.default,{visible:Wt,motionName:`${ce}-loading-icon-motion`,removeOnLeave:!0,onAppearStart:K,onAppearActive:se,onEnterStart:K,onEnterActive:se,onLeaveStart:se,onLeaveActive:K},(Tt,Ce)=>{let{className:St,style:ye}=Tt;return r.createElement(q,{prefixCls:ce,className:Te,style:Object.assign(Object.assign({},ct),ye),ref:Ce,iconClassName:St})})},le=e(17313),z=e(37613),$=e(83116);const ie=(ze,ce)=>({[`> span, > ${ze}`]:{"&:not(:last-child)":{[`&, & > ${ze}`]:{"&:not(:disabled)":{borderInlineEndColor:ce}}},"&:not(:first-child)":{[`&, & > ${ze}`]:{"&:not(:disabled)":{borderInlineStartColor:ce}}}}});var Ae=ze=>{const{componentCls:ce,fontSize:pe,lineWidth:It,groupBorderColor:Te,colorErrorHover:ct}=ze;return{[`${ce}-group`]:[{position:"relative",display:"inline-flex",[`> span, > ${ce}`]:{"&:not(:last-child)":{[`&, & > ${ce}`]:{borderStartEndRadius:0,borderEndEndRadius:0}},"&:not(:first-child)":{marginInlineStart:-It,[`&, & > ${ce}`]:{borderStartStartRadius:0,borderEndStartRadius:0}}},[ce]:{position:"relative",zIndex:1,"&:hover,\n &:focus,\n &:active":{zIndex:2},"&[disabled]":{zIndex:0}},[`${ce}-icon-only`]:{fontSize:pe}},ie(`${ce}-primary`,Te),ie(`${ce}-danger`,ct)]}};const Pe=ze=>{const{componentCls:ce,iconCls:pe,fontWeight:It}=ze;return{[ce]:{outline:"none",position:"relative",display:"inline-block",fontWeight:It,whiteSpace:"nowrap",textAlign:"center",backgroundImage:"none",backgroundColor:"transparent",border:`${ze.lineWidth}px ${ze.lineType} transparent`,cursor:"pointer",transition:`all ${ze.motionDurationMid} ${ze.motionEaseInOut}`,userSelect:"none",touchAction:"manipulation",lineHeight:ze.lineHeight,color:ze.colorText,"&:disabled > *":{pointerEvents:"none"},"> span":{display:"inline-block"},[`${ce}-icon`]:{lineHeight:0},[`> ${pe} + span, > span + ${pe}`]:{marginInlineStart:ze.marginXS},[`&:not(${ce}-icon-only) > ${ce}-icon`]:{[`&${ce}-loading-icon, &:not(:last-child)`]:{marginInlineEnd:ze.marginXS}},"> a":{color:"currentColor"},"&:not(:disabled)":Object.assign({},(0,le.Qy)(ze)),[`&-icon-only${ce}-compact-item`]:{flex:"none"},[`&-compact-item${ce}-primary`]:{[`&:not([disabled]) + ${ce}-compact-item${ce}-primary:not([disabled])`]:{position:"relative","&:before":{position:"absolute",top:-ze.lineWidth,insetInlineStart:-ze.lineWidth,display:"inline-block",width:ze.lineWidth,height:`calc(100% + ${ze.lineWidth*2}px)`,backgroundColor:ze.colorPrimaryHover,content:'""'}}},"&-compact-vertical-item":{[`&${ce}-primary`]:{[`&:not([disabled]) + ${ce}-compact-vertical-item${ce}-primary:not([disabled])`]:{position:"relative","&:before":{position:"absolute",top:-ze.lineWidth,insetInlineStart:-ze.lineWidth,display:"inline-block",width:`calc(100% + ${ze.lineWidth*2}px)`,height:ze.lineWidth,backgroundColor:ze.colorPrimaryHover,content:'""'}}}}}}},We=(ze,ce,pe)=>({[`&:not(:disabled):not(${ze}-disabled)`]:{"&:hover":ce,"&:active":pe}}),$e=ze=>({minWidth:ze.controlHeight,paddingInlineStart:0,paddingInlineEnd:0,borderRadius:"50%"}),Lt=ze=>({borderRadius:ze.controlHeight,paddingInlineStart:ze.controlHeight/2,paddingInlineEnd:ze.controlHeight/2}),bt=ze=>({cursor:"not-allowed",borderColor:ze.borderColorDisabled,color:ze.colorTextDisabled,backgroundColor:ze.colorBgContainerDisabled,boxShadow:"none"}),kt=(ze,ce,pe,It,Te,ct,Wt,Tt)=>({[`&${ze}-background-ghost`]:Object.assign(Object.assign({color:pe||void 0,backgroundColor:ce,borderColor:It||void 0,boxShadow:"none"},We(ze,Object.assign({backgroundColor:ce},Wt),Object.assign({backgroundColor:ce},Tt))),{"&:disabled":{cursor:"not-allowed",color:Te||void 0,borderColor:ct||void 0}})}),Zt=ze=>({[`&:disabled, &${ze.componentCls}-disabled`]:Object.assign({},bt(ze))}),Mt=ze=>Object.assign({},Zt(ze)),tr=ze=>({[`&:disabled, &${ze.componentCls}-disabled`]:{cursor:"not-allowed",color:ze.colorTextDisabled}}),je=ze=>Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},Mt(ze)),{backgroundColor:ze.defaultBg,borderColor:ze.defaultBorderColor,color:ze.defaultColor,boxShadow:ze.defaultShadow}),We(ze.componentCls,{color:ze.colorPrimaryHover,borderColor:ze.colorPrimaryHover},{color:ze.colorPrimaryActive,borderColor:ze.colorPrimaryActive})),kt(ze.componentCls,ze.ghostBg,ze.defaultGhostColor,ze.defaultGhostBorderColor,ze.colorTextDisabled,ze.colorBorder)),{[`&${ze.componentCls}-dangerous`]:Object.assign(Object.assign(Object.assign({color:ze.colorError,borderColor:ze.colorError},We(ze.componentCls,{color:ze.colorErrorHover,borderColor:ze.colorErrorBorderHover},{color:ze.colorErrorActive,borderColor:ze.colorErrorActive})),kt(ze.componentCls,ze.ghostBg,ze.colorError,ze.colorError,ze.colorTextDisabled,ze.colorBorder)),Zt(ze))}),wt=ze=>Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},Mt(ze)),{color:ze.primaryColor,backgroundColor:ze.colorPrimary,boxShadow:ze.primaryShadow}),We(ze.componentCls,{color:ze.colorTextLightSolid,backgroundColor:ze.colorPrimaryHover},{color:ze.colorTextLightSolid,backgroundColor:ze.colorPrimaryActive})),kt(ze.componentCls,ze.ghostBg,ze.colorPrimary,ze.colorPrimary,ze.colorTextDisabled,ze.colorBorder,{color:ze.colorPrimaryHover,borderColor:ze.colorPrimaryHover},{color:ze.colorPrimaryActive,borderColor:ze.colorPrimaryActive})),{[`&${ze.componentCls}-dangerous`]:Object.assign(Object.assign(Object.assign({backgroundColor:ze.colorError,boxShadow:ze.dangerShadow,color:ze.dangerColor},We(ze.componentCls,{backgroundColor:ze.colorErrorHover},{backgroundColor:ze.colorErrorActive})),kt(ze.componentCls,ze.ghostBg,ze.colorError,ze.colorError,ze.colorTextDisabled,ze.colorBorder,{color:ze.colorErrorHover,borderColor:ze.colorErrorHover},{color:ze.colorErrorActive,borderColor:ze.colorErrorActive})),Zt(ze))}),Ft=ze=>Object.assign(Object.assign({},je(ze)),{borderStyle:"dashed"}),tt=ze=>Object.assign(Object.assign(Object.assign({color:ze.colorLink},We(ze.componentCls,{color:ze.colorLinkHover,backgroundColor:ze.linkHoverBg},{color:ze.colorLinkActive})),tr(ze)),{[`&${ze.componentCls}-dangerous`]:Object.assign(Object.assign({color:ze.colorError},We(ze.componentCls,{color:ze.colorErrorHover},{color:ze.colorErrorActive})),tr(ze))}),gt=ze=>Object.assign(Object.assign(Object.assign({},We(ze.componentCls,{color:ze.colorText,backgroundColor:ze.textHoverBg},{color:ze.colorText,backgroundColor:ze.colorBgTextActive})),tr(ze)),{[`&${ze.componentCls}-dangerous`]:Object.assign(Object.assign({color:ze.colorError},tr(ze)),We(ze.componentCls,{color:ze.colorErrorHover,backgroundColor:ze.colorErrorBg},{color:ze.colorErrorHover,backgroundColor:ze.colorErrorBg}))}),ft=ze=>{const{componentCls:ce}=ze;return{[`${ce}-default`]:je(ze),[`${ce}-primary`]:wt(ze),[`${ce}-dashed`]:Ft(ze),[`${ce}-link`]:tt(ze),[`${ce}-text`]:gt(ze),[`${ce}-ghost`]:kt(ze.componentCls,ze.ghostBg,ze.colorBgContainer,ze.colorBgContainer,ze.colorTextDisabled,ze.colorBorder)}},Qe=function(ze){let ce=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";const{componentCls:pe,controlHeight:It,fontSize:Te,lineHeight:ct,lineWidth:Wt,borderRadius:Tt,buttonPaddingHorizontal:Ce,iconCls:St}=ze,ye=Math.max(0,(It-Te*ct)/2-Wt),Je=`${pe}-icon-only`;return[{[`${pe}${ce}`]:{fontSize:Te,height:It,padding:`${ye}px ${Ce}px`,borderRadius:Tt,[`&${Je}`]:{width:It,paddingInlineStart:0,paddingInlineEnd:0,[`&${pe}-round`]:{width:"auto"},[St]:{fontSize:ze.buttonIconOnlyFontSize}},[`&${pe}-loading`]:{opacity:ze.opacityLoading,cursor:"default"},[`${pe}-loading-icon`]:{transition:`width ${ze.motionDurationSlow} ${ze.motionEaseInOut}, opacity ${ze.motionDurationSlow} ${ze.motionEaseInOut}`}}},{[`${pe}${pe}-circle${ce}`]:$e(ze)},{[`${pe}${pe}-round${ce}`]:Lt(ze)}]},Ne=ze=>Qe((0,z.TS)(ze,{fontSize:ze.contentFontSize})),xe=ze=>{const ce=(0,z.TS)(ze,{controlHeight:ze.controlHeightSM,fontSize:ze.contentFontSizeSM,padding:ze.paddingXS,buttonPaddingHorizontal:ze.paddingInlineSM,borderRadius:ze.borderRadiusSM,buttonIconOnlyFontSize:ze.onlyIconSizeSM});return Qe(ce,`${ze.componentCls}-sm`)},ke=ze=>{const ce=(0,z.TS)(ze,{controlHeight:ze.controlHeightLG,fontSize:ze.contentFontSizeLG,buttonPaddingHorizontal:ze.paddingInlineLG,borderRadius:ze.borderRadiusLG,buttonIconOnlyFontSize:ze.onlyIconSizeLG});return Qe(ce,`${ze.componentCls}-lg`)},Ge=ze=>{const{componentCls:ce}=ze;return{[ce]:{[`&${ce}-block`]:{width:"100%"}}}},He=ze=>{const{paddingInline:ce,onlyIconSize:pe}=ze;return(0,z.TS)(ze,{buttonPaddingHorizontal:ce,buttonIconOnlyFontSize:pe})},Ye=ze=>({fontWeight:400,defaultShadow:`0 ${ze.controlOutlineWidth}px 0 ${ze.controlTmpOutline}`,primaryShadow:`0 ${ze.controlOutlineWidth}px 0 ${ze.controlOutline}`,dangerShadow:`0 ${ze.controlOutlineWidth}px 0 ${ze.colorErrorOutline}`,primaryColor:ze.colorTextLightSolid,dangerColor:ze.colorTextLightSolid,borderColorDisabled:ze.colorBorder,defaultGhostColor:ze.colorBgContainer,ghostBg:"transparent",defaultGhostBorderColor:ze.colorBgContainer,paddingInline:ze.paddingContentHorizontal-ze.lineWidth,paddingInlineLG:ze.paddingContentHorizontal-ze.lineWidth,paddingInlineSM:8-ze.lineWidth,onlyIconSize:ze.fontSizeLG,onlyIconSizeSM:ze.fontSizeLG-2,onlyIconSizeLG:ze.fontSizeLG+2,groupBorderColor:ze.colorPrimaryHover,linkHoverBg:"transparent",textHoverBg:ze.colorBgTextHover,defaultColor:ze.colorText,defaultBg:ze.colorBgContainer,defaultBorderColor:ze.colorBorder,defaultBorderColorDisabled:ze.colorBorder,contentFontSize:ze.fontSize,contentFontSizeSM:ze.fontSize,contentFontSizeLG:ze.fontSizeLG});var dt=(0,$.Z)("Button",ze=>{const ce=He(ze);return[Pe(ce),xe(ce),Ne(ce),ke(ce),Ge(ce),ft(ce),Ae(ce)]},Ye),xt=e(74207);function nr(ze,ce){return{[`&-item:not(${ce}-last-item)`]:{marginBottom:-ze.lineWidth},"&-item":{"&:hover,&:focus,&:active":{zIndex:2},"&[disabled]":{zIndex:0}}}}function qt(ze,ce){return{[`&-item:not(${ce}-first-item):not(${ce}-last-item)`]:{borderRadius:0},[`&-item${ce}-first-item:not(${ce}-last-item)`]:{[`&, &${ze}-sm, &${ze}-lg`]:{borderEndEndRadius:0,borderEndStartRadius:0}},[`&-item${ce}-last-item:not(${ce}-first-item)`]:{[`&, &${ze}-sm, &${ze}-lg`]:{borderStartStartRadius:0,borderStartEndRadius:0}}}}function Me(ze){const ce=`${ze.componentCls}-compact-vertical`;return{[ce]:Object.assign(Object.assign({},nr(ze,ce)),qt(ze.componentCls,ce))}}var qe=(0,$.b)(["Button","compact"],ze=>{const ce=He(ze);return[(0,xt.c)(ce),Me(ce)]},Ye),Vt=function(ze,ce){var pe={};for(var It in ze)Object.prototype.hasOwnProperty.call(ze,It)&&ce.indexOf(It)<0&&(pe[It]=ze[It]);if(ze!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Te=0,It=Object.getOwnPropertySymbols(ze);Te<It.length;Te++)ce.indexOf(It[Te])<0&&Object.prototype.propertyIsEnumerable.call(ze,It[Te])&&(pe[It[Te]]=ze[It[Te]]);return pe};function Rt(ze){return ze==="danger"?{danger:!0}:{type:ze}}function zt(ze){if(typeof ze=="object"&&ze){const ce=ze==null?void 0:ze.delay;return{loading:!1,delay:!Number.isNaN(ce)&&typeof ce=="number"?ce:0}}return{loading:!!ze,delay:0}}const Ht=(ze,ce)=>{var pe,It;const{loading:Te=!1,prefixCls:ct,type:Wt="default",danger:Tt,shape:Ce="default",size:St,styles:ye,disabled:Je,className:yt,rootClassName:Bt,children:Be,icon:Dr,ghost:At=!1,block:Xr=!1,htmlType:en="button",classNames:Lr,style:Nr={}}=ze,mr=Vt(ze,["loading","prefixCls","type","danger","shape","size","styles","disabled","className","rootClassName","children","icon","ghost","block","htmlType","classNames","style"]),{getPrefixCls:Zr,autoInsertSpaceInButton:on,direction:_n,button:Yt}=(0,r.useContext)(h.E_),mt=Zr("btn",ct),[st,lt]=dt(mt),Nt=(0,r.useContext)(u.Z),br=Je!=null?Je:Nt,vr=(0,r.useContext)(_),nt=(0,r.useMemo)(()=>zt(Te),[Te]),[Tr,vn]=(0,r.useState)(nt.loading),[Gn,Yr]=(0,r.useState)(!1),Yn=(0,r.createRef)(),Jn=(0,f.sQ)(ce,Yn),kn=r.Children.count(Be)===1&&!Dr&&!M(Wt);(0,r.useEffect)(()=>{let Ti=null;nt.delay>0?Ti=setTimeout(()=>{Ti=null,vn(!0)},nt.delay):vn(nt.loading);function si(){Ti&&(clearTimeout(Ti),Ti=null)}return si},[nt]),(0,r.useEffect)(()=>{if(!Jn||!Jn.current||on===!1)return;const Ti=Jn.current.textContent;kn&&A(Ti)?Gn||Yr(!0):Gn&&Yr(!1)},[Jn]);const Qn=Ti=>{const{onClick:si}=ze;if(Tr||br){Ti.preventDefault();return}si==null||si(Ti)},ri=on!==!1,{compactSize:Ai,compactItemClassnames:wi}=(0,x.ri)(mt,_n),Ui={large:"lg",small:"sm",middle:void 0},oa=(0,a.Z)(Ti=>{var si,Dn;return(Dn=(si=St!=null?St:Ai)!==null&&si!==void 0?si:vr)!==null&&Dn!==void 0?Dn:Ti}),Vi=oa&&Ui[oa]||"",zi=Tr?"loading":Dr,mi=(0,c.Z)(mr,["navigate"]),Ki=l()(mt,lt,{[`${mt}-${Ce}`]:Ce!=="default"&&Ce,[`${mt}-${Wt}`]:Wt,[`${mt}-${Vi}`]:Vi,[`${mt}-icon-only`]:!Be&&Be!==0&&!!zi,[`${mt}-background-ghost`]:At&&!M(Wt),[`${mt}-loading`]:Tr,[`${mt}-two-chinese-chars`]:Gn&&ri&&!Tr,[`${mt}-block`]:Xr,[`${mt}-dangerous`]:!!Tt,[`${mt}-rtl`]:_n==="rtl"},wi,yt,Bt,Yt==null?void 0:Yt.className),Dt=Object.assign(Object.assign({},Yt==null?void 0:Yt.style),Nr),vt=l()(Lr==null?void 0:Lr.icon,(pe=Yt==null?void 0:Yt.classNames)===null||pe===void 0?void 0:pe.icon),Zi=Object.assign(Object.assign({},(ye==null?void 0:ye.icon)||{}),((It=Yt==null?void 0:Yt.styles)===null||It===void 0?void 0:It.icon)||{}),Hi=Dr&&!Tr?r.createElement(ne,{prefixCls:mt,className:vt,style:Zi},Dr):r.createElement(Q,{existIcon:!!Dr,prefixCls:mt,loading:!!Tr}),hi=Be||Be===0?N(Be,kn&&ri):null;if(mi.href!==void 0)return st(r.createElement("a",Object.assign({},mi,{className:l()(Ki,{[`${mt}-disabled`]:br}),style:Dt,onClick:Qn,ref:Jn}),Hi,hi));let Fa=r.createElement("button",Object.assign({},mr,{type:en,className:Ki,style:Dt,onClick:Qn,disabled:br,ref:Jn}),Hi,hi,wi&&r.createElement(qe,{key:"compact",prefixCls:mt}));return M(Wt)||(Fa=r.createElement(o.Z,{component:"Button",disabled:!!Tr},Fa)),st(Fa)},Ct=(0,r.forwardRef)(Ht);Ct.Group=S,Ct.__ANT_BUTTON=!0;var Xt=Ct},3113:function(d,v,e){"use strict";var r=e(67797);v.ZP=r.Z},43604:function(d,v,e){"use strict";var r=e(37028);v.Z=r.Z},1684:function(d,v,e){"use strict";e.d(v,{n:function(){return l}});var r=e(59301);const i=r.createContext(!1),l=c=>{let{children:f,disabled:o}=c;const h=r.useContext(i);return r.createElement(i.Provider,{value:o!=null?o:h},f)};v.Z=i},52946:function(d,v,e){"use strict";e.d(v,{q:function(){return l}});var r=e(59301);const i=r.createContext(void 0),l=c=>{let{children:f,size:o}=c;const h=r.useContext(i);return r.createElement(i.Provider,{value:o||h},f)};v.Z=i},36355:function(d,v,e){"use strict";e.d(v,{E_:function(){return c},oR:function(){return i}});var r=e(59301);const i="anticon",l=(o,h)=>h||(o?`ant-${o}`:"ant"),c=r.createContext({getPrefixCls:l,iconPrefixCls:i}),{Consumer:f}=c},19716:function(d,v,e){"use strict";var r=e(59301),i=e(52946);const l=c=>{const f=r.useContext(i.Z);return r.useMemo(()=>c?typeof c=="string"?c!=null?c:f:c instanceof Function?c(f):f:f,[c,f])};v.Z=l},92736:function(d,v,e){"use strict";e.d(v,{ZP:function(){return tr},w6:function(){return kt}});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=je=>{const{locale:wt={},children:Ft,_ANT_MARK__:tt}=je;f.useEffect(()=>(0,h.f)(wt&&wt.Modal),[wt]);const gt=f.useMemo(()=>Object.assign(Object.assign({},wt),{exist:!0}),[wt]);return f.createElement(u.Z.Provider,{value:gt},Ft)},y=e(31724),_=e(45246),b=e(34117),S=e(36355),k=e(30071),R=e(64993),A=e(47273),I=e(810);const M=`-ant-${Date.now()}-${Math.random()}`;function B(je,wt){const Ft={},tt=(Qe,Ne)=>{let xe=Qe.clone();return xe=(Ne==null?void 0:Ne(xe))||xe,xe.toRgbString()},gt=(Qe,Ne)=>{const xe=new R.C(Qe),ke=(0,k.generate)(xe.toRgbString());Ft[`${Ne}-color`]=tt(xe),Ft[`${Ne}-color-disabled`]=ke[1],Ft[`${Ne}-color-hover`]=ke[4],Ft[`${Ne}-color-active`]=ke[6],Ft[`${Ne}-color-outline`]=xe.clone().setAlpha(.2).toRgbString(),Ft[`${Ne}-color-deprecated-bg`]=ke[0],Ft[`${Ne}-color-deprecated-border`]=ke[2]};if(wt.primaryColor){gt(wt.primaryColor,"primary");const Qe=new R.C(wt.primaryColor),Ne=(0,k.generate)(Qe.toRgbString());Ne.forEach((ke,Ge)=>{Ft[`primary-${Ge+1}`]=ke}),Ft["primary-color-deprecated-l-35"]=tt(Qe,ke=>ke.lighten(35)),Ft["primary-color-deprecated-l-20"]=tt(Qe,ke=>ke.lighten(20)),Ft["primary-color-deprecated-t-20"]=tt(Qe,ke=>ke.tint(20)),Ft["primary-color-deprecated-t-50"]=tt(Qe,ke=>ke.tint(50)),Ft["primary-color-deprecated-f-12"]=tt(Qe,ke=>ke.setAlpha(ke.getAlpha()*.12));const xe=new R.C(Ne[0]);Ft["primary-color-active-deprecated-f-30"]=tt(xe,ke=>ke.setAlpha(ke.getAlpha()*.3)),Ft["primary-color-active-deprecated-d-02"]=tt(xe,ke=>ke.darken(2))}return wt.successColor&&gt(wt.successColor,"success"),wt.warningColor&&gt(wt.warningColor,"warning"),wt.errorColor&&gt(wt.errorColor,"error"),wt.infoColor&&gt(wt.infoColor,"info"),`
:root {
${Object.keys(Ft).map(Qe=>`--${je}-${Qe}: ${Ft[Qe]};`).join(`
`)}
}
`.trim()}function N(je,wt){const Ft=B(je,wt);(0,A.Z)()&&(0,I.hq)(Ft,`${M}-dynamic-theme`)}var V=e(1684),W=e(52946);function H(){const je=(0,f.useContext)(V.Z),wt=(0,f.useContext)(W.Z);return{componentDisabled:je,componentSize:wt}}var ae=H,ne=e(13697);function oe(je,wt){const Ft=je||{},tt=Ft.inherit===!1||!wt?_.u_:wt;return(0,l.Z)(()=>{if(!je)return wt;const gt=Object.assign({},tt.components);return Object.keys(je.components||{}).forEach(ft=>{gt[ft]=Object.assign(Object.assign({},gt[ft]),je.components[ft])}),Object.assign(Object.assign(Object.assign({},tt),Ft),{token:Object.assign(Object.assign({},tt.token),Ft.token),components:gt})},[Ft,tt],(gt,ft)=>gt.some((Qe,Ne)=>{const xe=ft[Ne];return!(0,ne.Z)(Qe,xe,!0)}))}var J=e(77900),q=e(88088);function K(je){const{children:wt}=je,[,Ft]=(0,q.Z)(),{motion:tt}=Ft,gt=f.useRef(!1);return gt.current=gt.current||tt===!1,gt.current?f.createElement(J.Provider,{motion:tt},wt):wt}var se=e(73040),ee=function(je,wt){var Ft={};for(var tt in je)Object.prototype.hasOwnProperty.call(je,tt)&&wt.indexOf(tt)<0&&(Ft[tt]=je[tt]);if(je!=null&&typeof Object.getOwnPropertySymbols=="function")for(var gt=0,tt=Object.getOwnPropertySymbols(je);gt<tt.length;gt++)wt.indexOf(tt[gt])<0&&Object.prototype.propertyIsEnumerable.call(je,tt[gt])&&(Ft[tt[gt]]=je[tt[gt]]);return Ft};let Q=!1;const le=null,z=null,$=["getTargetContainer","getPopupContainer","renderEmpty","pageHeader","input","pagination","form","select","button"],ie="ant";let _e,Ae,Pe;function We(){return _e||ie}function $e(){return Ae||S.oR}function Lt(je){return Object.keys(je).some(wt=>wt.endsWith("Color"))}const bt=je=>{let{prefixCls:wt,iconPrefixCls:Ft,theme:tt}=je;wt!==void 0&&(_e=wt),Ft!==void 0&&(Ae=Ft),tt&&(Lt(tt)?N(We(),tt):Pe=tt)},kt=()=>({getPrefixCls:(je,wt)=>wt||(je?`${We()}-${je}`:We()),getIconPrefixCls:$e,getRootPrefixCls:()=>_e||We(),getTheme:()=>Pe}),Zt=je=>{const{children:wt,csp:Ft,autoInsertSpaceInButton:tt,alert:gt,anchor:ft,form:Qe,locale:Ne,componentSize:xe,direction:ke,space:Ge,virtual:He,dropdownMatchSelectWidth:Ye,popupMatchSelectWidth:dt,popupOverflow:xt,legacyLocale:nr,parentContext:qt,iconPrefixCls:Me,theme:qe,componentDisabled:Vt,segmented:Rt,statistic:zt,spin:Ht,calendar:Ct,carousel:Xt,cascader:ze,collapse:ce,typography:pe,checkbox:It,descriptions:Te,divider:ct,drawer:Wt,skeleton:Tt,steps:Ce,image:St,layout:ye,list:Je,mentions:yt,modal:Bt,progress:Be,result:Dr,slider:At,breadcrumb:Xr,menu:en,pagination:Lr,input:Nr,empty:mr,badge:Zr,radio:on,rate:_n,switch:Yt,transfer:mt,avatar:st,message:lt,tag:Nt,table:br,card:vr,tabs:nt,timeline:Tr,timePicker:vn,upload:Gn,notification:Yr,tree:Yn,colorPicker:Jn,datePicker:kn,wave:Qn}=je,ri=f.useCallback((hi,Fa)=>{const{prefixCls:Ti}=je;if(Fa)return Fa;const si=Ti||qt.getPrefixCls("");return hi?`${si}-${hi}`:si},[qt.getPrefixCls,je.prefixCls]),Ai=Me||qt.iconPrefixCls||S.oR,wi=Ai!==qt.iconPrefixCls,Ui=Ft||qt.csp,oa=(0,se.Z)(Ai,Ui),Vi=oe(qe,qt.theme),zi={csp:Ui,autoInsertSpaceInButton:tt,alert:gt,anchor:ft,locale:Ne||nr,direction:ke,space:Ge,virtual:He,popupMatchSelectWidth:dt!=null?dt:Ye,popupOverflow:xt,getPrefixCls:ri,iconPrefixCls:Ai,theme:Vi,segmented:Rt,statistic:zt,spin:Ht,calendar:Ct,carousel:Xt,cascader:ze,collapse:ce,typography:pe,checkbox:It,descriptions:Te,divider:ct,drawer:Wt,skeleton:Tt,steps:Ce,image:St,input:Nr,layout:ye,list:Je,mentions:yt,modal:Bt,progress:Be,result:Dr,slider:At,breadcrumb:Xr,menu:en,pagination:Lr,empty:mr,badge:Zr,radio:on,rate:_n,switch:Yt,transfer:mt,avatar:st,message:lt,tag:Nt,table:br,card:vr,tabs:nt,timeline:Tr,timePicker:vn,upload:Gn,notification:Yr,tree:Yn,colorPicker:Jn,datePicker:kn,wave:Qn},mi=Object.assign({},qt);Object.keys(zi).forEach(hi=>{zi[hi]!==void 0&&(mi[hi]=zi[hi])}),$.forEach(hi=>{const Fa=je[hi];Fa&&(mi[hi]=Fa)});const Ki=(0,l.Z)(()=>mi,mi,(hi,Fa)=>{const Ti=Object.keys(hi),si=Object.keys(Fa);return Ti.length!==si.length||Ti.some(Dn=>hi[Dn]!==Fa[Dn])}),Dt=f.useMemo(()=>({prefixCls:Ai,csp:Ui}),[Ai,Ui]);let vt=wi?oa(wt):wt;const Zi=f.useMemo(()=>{var hi,Fa,Ti,si;return(0,c.T)(((hi=y.Z.Form)===null||hi===void 0?void 0:hi.defaultValidateMessages)||{},((Ti=(Fa=Ki.locale)===null||Fa===void 0?void 0:Fa.Form)===null||Ti===void 0?void 0:Ti.defaultValidateMessages)||{},((si=Ki.form)===null||si===void 0?void 0:si.validateMessages)||{},(Qe==null?void 0:Qe.validateMessages)||{})},[Ki,Qe==null?void 0:Qe.validateMessages]);Object.keys(Zi).length>0&&(vt=f.createElement(o.Z.Provider,{value:Zi},wt)),Ne&&(vt=f.createElement(p,{locale:Ne,_ANT_MARK__:a},vt)),(Ai||Ui)&&(vt=f.createElement(i.Z.Provider,{value:Dt},vt)),xe&&(vt=f.createElement(W.q,{size:xe},vt)),vt=f.createElement(K,null,vt);const Hi=f.useMemo(()=>{const hi=Vi||{},{algorithm:Fa,token:Ti,components:si}=hi,Dn=ee(hi,["algorithm","token","components"]),rr=Fa&&(!Array.isArray(Fa)||Fa.length>0)?(0,r.createTheme)(Fa):_.uH,_t={};return Object.entries(si||{}).forEach(rt=>{let[Ot,ht]=rt;const lr=Object.assign({},ht);"algorithm"in lr&&(lr.algorithm===!0?lr.theme=rr:(Array.isArray(lr.algorithm)||typeof lr.algorithm=="function")&&(lr.theme=(0,r.createTheme)(lr.algorithm)),delete lr.algorithm),_t[Ot]=lr}),Object.assign(Object.assign({},Dn),{theme:rr,token:Object.assign(Object.assign({},b.Z),Ti),components:_t})},[Vi]);return qe&&(vt=f.createElement(_.Mj.Provider,{value:Hi},vt)),Vt!==void 0&&(vt=f.createElement(V.n,{disabled:Vt},vt)),f.createElement(S.E_.Provider,{value:Ki},vt)},Mt=je=>{const wt=f.useContext(S.E_),Ft=f.useContext(u.Z);return f.createElement(Zt,Object.assign({parentContext:wt,legacyLocale:Ft},je))};Mt.ConfigContext=S.E_,Mt.SizeContext=W.Z,Mt.config=bt,Mt.useConfig=ae,Object.defineProperty(Mt,"SizeContext",{get:()=>W.Z});var tr=Mt},48183:function(d,v,e){"use strict";e.d(v,{Z:function(){return f}});var r={locale:"en_US",today:"Today",now:"Now",backToToday:"Back to today",ok:"OK",clear:"Clear",month:"Month",year:"Year",timeSelect:"select time",dateSelect:"select date",weekSelect:"Choose a week",monthSelect:"Choose a month",yearSelect:"Choose a year",decadeSelect:"Choose a decade",yearFormat:"YYYY",dateFormat:"M/D/YYYY",dayFormat:"D",dateTimeFormat:"M/D/YYYY HH:mm:ss",monthBeforeYear:!0,previousMonth:"Previous month (PageUp)",nextMonth:"Next month (PageDown)",previousYear:"Last year (Control + left)",nextYear:"Next year (Control + right)",previousDecade:"Last decade",nextDecade:"Next decade",previousCentury:"Last century",nextCentury:"Next century"},i=r,l=e(67532),f={lang:Object.assign({placeholder:"Select date",yearPlaceholder:"Select year",quarterPlaceholder:"Select quarter",monthPlaceholder:"Select month",weekPlaceholder:"Select week",rangePlaceholder:["Start date","End date"],rangeYearPlaceholder:["Start year","End year"],rangeQuarterPlaceholder:["Start quarter","End quarter"],rangeMonthPlaceholder:["Start month","End month"],rangeWeekPlaceholder:["Start week","End week"]},i),timePickerLocale:Object.assign({},l.Z)}},32441:function(d,v,e){"use strict";e.d(v,{RV:function(){return o},Rk:function(){return h},Ux:function(){return a},aM:function(){return u},q3:function(){return c},qI:function(){return f}});var r=e(59301),i=e(95013),l=e(2738);const c=r.createContext({labelAlign:"right",vertical:!1,itemRef:()=>{}}),f=r.createContext(null),o=x=>{const p=(0,l.Z)(x,["prefixCls"]);return r.createElement(i.FormProvider,Object.assign({},p))},h=r.createContext({prefixCls:""}),u=r.createContext({}),a=x=>{let{children:p,status:y,override:_}=x;const b=(0,r.useContext)(u),S=(0,r.useMemo)(()=>{const k=Object.assign({},b);return _&&delete k.isFormItemInput,y&&(delete k.status,delete k.hasFeedback,delete k.feedbackIcon),k},[y,_,b]);return r.createElement(u.Provider,{value:S},p)}},28726:function(d,v,e){"use strict";var r=e(59301);v.Z=(0,r.createContext)(void 0)},6700:function(d,v,e){"use strict";var r=e(59301);const i=(0,r.createContext)({});v.Z=i},37028:function(d,v,e){"use strict";var r=e(59301),i=e(92310),l=e.n(i),c=e(36355),f=e(6700),o=e(98242),h=function(p,y){var _={};for(var b in p)Object.prototype.hasOwnProperty.call(p,b)&&y.indexOf(b)<0&&(_[b]=p[b]);if(p!=null&&typeof Object.getOwnPropertySymbols=="function")for(var S=0,b=Object.getOwnPropertySymbols(p);S<b.length;S++)y.indexOf(b[S])<0&&Object.prototype.propertyIsEnumerable.call(p,b[S])&&(_[b[S]]=p[b[S]]);return _};function u(p){return typeof p=="number"?`${p} ${p} auto`:/^\d+(\.\d+)?(px|em|rem|%)$/.test(p)?`0 0 ${p}`:p}const a=["xs","sm","md","lg","xl","xxl"],x=r.forwardRef((p,y)=>{const{getPrefixCls:_,direction:b}=r.useContext(c.E_),{gutter:S,wrap:k}=r.useContext(f.Z),{prefixCls:R,span:A,order:I,offset:M,push:B,pull:N,className:V,children:W,flex:H,style:ae}=p,ne=h(p,["prefixCls","span","order","offset","push","pull","className","children","flex","style"]),oe=_("col",R),[J,q]=(0,o.c)(oe);let K={};a.forEach(Q=>{let le={};const z=p[Q];typeof z=="number"?le.span=z:typeof z=="object"&&(le=z||{}),delete ne[Q],K=Object.assign(Object.assign({},K),{[`${oe}-${Q}-${le.span}`]:le.span!==void 0,[`${oe}-${Q}-order-${le.order}`]:le.order||le.order===0,[`${oe}-${Q}-offset-${le.offset}`]:le.offset||le.offset===0,[`${oe}-${Q}-push-${le.push}`]:le.push||le.push===0,[`${oe}-${Q}-pull-${le.pull}`]:le.pull||le.pull===0,[`${oe}-${Q}-flex-${le.flex}`]:le.flex||le.flex==="auto",[`${oe}-rtl`]:b==="rtl"})});const se=l()(oe,{[`${oe}-${A}`]:A!==void 0,[`${oe}-order-${I}`]:I,[`${oe}-offset-${M}`]:M,[`${oe}-push-${B}`]:B,[`${oe}-pull-${N}`]:N},V,K,q),ee={};if(S&&S[0]>0){const Q=S[0]/2;ee.paddingLeft=Q,ee.paddingRight=Q}return H&&(ee.flex=u(H),k===!1&&!ee.minWidth&&(ee.minWidth=0)),J(r.createElement("div",Object.assign({},ne,{style:Object.assign(Object.assign({},ee),ae),className:se,ref:y}),W))});v.Z=x},27382:function(d,v,e){"use strict";var r=e(59301),i=e(92310),l=e.n(i),c=e(69507),f=e(36355),o=e(6700),h=e(98242),u=function(_,b){var S={};for(var k in _)Object.prototype.hasOwnProperty.call(_,k)&&b.indexOf(k)<0&&(S[k]=_[k]);if(_!=null&&typeof Object.getOwnPropertySymbols=="function")for(var R=0,k=Object.getOwnPropertySymbols(_);R<k.length;R++)b.indexOf(k[R])<0&&Object.prototype.propertyIsEnumerable.call(_,k[R])&&(S[k[R]]=_[k[R]]);return S};const a=null,x=null;function p(_,b){const[S,k]=r.useState(typeof _=="string"?_:""),R=()=>{if(typeof _=="string"&&k(_),typeof _=="object")for(let A=0;A<c.c4.length;A++){const I=c.c4[A];if(!b[I])continue;const M=_[I];if(M!==void 0){k(M);return}}};return r.useEffect(()=>{R()},[JSON.stringify(_),b]),S}const y=r.forwardRef((_,b)=>{const{prefixCls:S,justify:k,align:R,className:A,style:I,children:M,gutter:B=0,wrap:N}=_,V=u(_,["prefixCls","justify","align","className","style","children","gutter","wrap"]),{getPrefixCls:W,direction:H}=r.useContext(f.E_),[ae,ne]=r.useState({xs:!0,sm:!0,md:!0,lg:!0,xl:!0,xxl:!0}),[oe,J]=r.useState({xs:!1,sm:!1,md:!1,lg:!1,xl:!1,xxl:!1}),q=p(R,oe),K=p(k,oe),se=r.useRef(B),ee=(0,c.ZP)();r.useEffect(()=>{const bt=ee.subscribe(kt=>{J(kt);const Zt=se.current||0;(!Array.isArray(Zt)&&typeof Zt=="object"||Array.isArray(Zt)&&(typeof Zt[0]=="object"||typeof Zt[1]=="object"))&&ne(kt)});return()=>ee.unsubscribe(bt)},[]);const Q=()=>{const bt=[void 0,void 0];return(Array.isArray(B)?B:[B,void 0]).forEach((Zt,Mt)=>{if(typeof Zt=="object")for(let tr=0;tr<c.c4.length;tr++){const je=c.c4[tr];if(ae[je]&&Zt[je]!==void 0){bt[Mt]=Zt[je];break}}else bt[Mt]=Zt}),bt},le=W("row",S),[z,$]=(0,h.V)(le),ie=Q(),_e=l()(le,{[`${le}-no-wrap`]:N===!1,[`${le}-${K}`]:K,[`${le}-${q}`]:q,[`${le}-rtl`]:H==="rtl"},A,$),Ae={},Pe=ie[0]!=null&&ie[0]>0?ie[0]/-2:void 0;Pe&&(Ae.marginLeft=Pe,Ae.marginRight=Pe),[,Ae.rowGap]=ie;const[We,$e]=ie,Lt=r.useMemo(()=>({gutter:[We,$e],wrap:N}),[We,$e,N]);return z(r.createElement(o.Z.Provider,{value:Lt},r.createElement("div",Object.assign({},V,{className:_e,style:Object.assign(Object.assign({},Ae),I),ref:b}),M)))});v.Z=y},98242:function(d,v,e){"use strict";e.d(v,{V:function(){return u},c:function(){return a}});var r=e(83116),i=e(37613);const l=x=>{const{componentCls:p}=x;return{[p]:{display:"flex",flexFlow:"row wrap",minWidth:0,"&::before, &::after":{display:"flex"},"&-no-wrap":{flexWrap:"nowrap"},"&-start":{justifyContent:"flex-start"},"&-center":{justifyContent:"center"},"&-end":{justifyContent:"flex-end"},"&-space-between":{justifyContent:"space-between"},"&-space-around":{justifyContent:"space-around"},"&-space-evenly":{justifyContent:"space-evenly"},"&-top":{alignItems:"flex-start"},"&-middle":{alignItems:"center"},"&-bottom":{alignItems:"flex-end"}}}},c=x=>{const{componentCls:p}=x;return{[p]:{position:"relative",maxWidth:"100%",minHeight:1}}},f=(x,p)=>{const{componentCls:y,gridColumns:_}=x,b={};for(let S=_;S>=0;S--)S===0?(b[`${y}${p}-${S}`]={display:"none"},b[`${y}-push-${S}`]={insetInlineStart:"auto"},b[`${y}-pull-${S}`]={insetInlineEnd:"auto"},b[`${y}${p}-push-${S}`]={insetInlineStart:"auto"},b[`${y}${p}-pull-${S}`]={insetInlineEnd:"auto"},b[`${y}${p}-offset-${S}`]={marginInlineStart:0},b[`${y}${p}-order-${S}`]={order:0}):(b[`${y}${p}-${S}`]=[{"--ant-display":"block",display:"block"},{display:"var(--ant-display)",flex:`0 0 ${S/_*100}%`,maxWidth:`${S/_*100}%`}],b[`${y}${p}-push-${S}`]={insetInlineStart:`${S/_*100}%`},b[`${y}${p}-pull-${S}`]={insetInlineEnd:`${S/_*100}%`},b[`${y}${p}-offset-${S}`]={marginInlineStart:`${S/_*100}%`},b[`${y}${p}-order-${S}`]={order:S});return b},o=(x,p)=>f(x,p),h=(x,p,y)=>({[`@media (min-width: ${p}px)`]:Object.assign({},o(x,y))}),u=(0,r.Z)("Grid",x=>[l(x)]),a=(0,r.Z)("Grid",x=>{const p=(0,i.TS)(x,{gridColumns:24}),y={"-sm":p.screenSMMin,"-md":p.screenMDMin,"-lg":p.screenLGMin,"-xl":p.screenXLMin,"-xxl":p.screenXXLMin};return[c(p),o(p,""),o(p,"-xs"),Object.keys(y).map(_=>h(p,y[_],_)).reduce((_,b)=>Object.assign(Object.assign({},_),b),{})]})},41887:function(d,v,e){"use strict";var r=e(59301);const i=(0,r.createContext)(void 0);v.Z=i},31724:function(d,v,e){"use strict";e.d(v,{Z:function(){return h}});var r=e(22075),i=e(48183),l=i.Z,c=e(67532);const f="${label} is not a valid ${type}";var h={locale:"en",Pagination:r.Z,DatePicker:i.Z,TimePicker:c.Z,Calendar:l,global:{placeholder:"Please select"},Table:{filterTitle:"Filter menu",filterConfirm:"OK",filterReset:"Reset",filterEmptyText:"No filters",filterCheckall:"Select all items",filterSearchPlaceholder:"Search in filters",emptyText:"No data",selectAll:"Select current page",selectInvert:"Invert current page",selectNone:"Clear all data",selectionAll:"Select all data",sortTitle:"Sort",expand:"Expand row",collapse:"Collapse row",triggerDesc:"Click to sort descending",triggerAsc:"Click to sort ascending",cancelSort:"Click to cancel sorting"},Tour:{Next:"Next",Previous:"Previous",Finish:"Finish"},Modal:{okText:"OK",cancelText:"Cancel",justOkText:"OK"},Popconfirm:{okText:"OK",cancelText:"Cancel"},Transfer:{titles:["",""],searchPlaceholder:"Search here",itemUnit:"item",itemsUnit:"items",remove:"Remove",selectCurrent:"Select current page",removeCurrent:"Remove current page",selectAll:"Select all data",removeAll:"Remove all data",selectInvert:"Invert current page"},Upload:{uploading:"Uploading...",removeFile:"Remove file",uploadError:"Upload error",previewFile:"Preview file",downloadFile:"Download file"},Empty:{description:"No data"},Icon:{icon:"icon"},Text:{edit:"Edit",copy:"Copy",copied:"Copied",expand:"Expand"},PageHeader:{back:"Back"},Form:{optional:"(optional)",defaultValidateMessages:{default:"Field validation error for ${label}",required:"Please enter ${label}",enum:"${label} must be one of [${enum}]",whitespace:"${label} cannot be a blank character",date:{format:"${label} date format is invalid",parse:"${label} cannot be converted to a date",invalid:"${label} is an invalid date"},types:{string:f,method:f,array:f,object:f,number:f,date:f,boolean:f,integer:f,float:f,regexp:f,email:f,url:f,hex:f},string:{len:"${label} must be ${len} characters",min:"${label} must be at least ${min} characters",max:"${label} must be up to ${max} characters",range:"${label} must be between ${min}-${max} characters"},number:{len:"${label} must be equal to ${len}",min:"${label} must be minimum ${min}",max:"${label} must be maximum ${max}",range:"${label} must be between ${min}-${max}"},array:{len:"Must be ${len} ${label}",min:"At least ${min} ${label}",max:"At most ${max} ${label}",range:"The amount of ${label} must be between ${min}-${max}"},pattern:{mismatch:"${label} does not match the pattern ${pattern}"}}},Image:{preview:"Preview"},QRCode:{expired:"QR code expired",refresh:"Refresh"},ColorPicker:{presetEmpty:"Empty"}}},9763:function(d,v,e){"use strict";var r=e(59301),i=e(41887),l=e(31724);const c=(f,o)=>{const h=r.useContext(i.Z),u=r.useMemo(()=>{var x;const p=o||l.Z[f],y=(x=h==null?void 0:h[f])!==null&&x!==void 0?x:{};return Object.assign(Object.assign({},typeof p=="function"?p():p),y||{})},[f,o,h]),a=r.useMemo(()=>{const x=h==null?void 0:h.locale;return h!=null&&h.exist&&!x?l.Z.locale:x},[h]);return[u,a]};v.Z=c},81863:function(d,v,e){"use strict";e.d(v,{Z:function(){return p}});var r=e(91735),i={locale:"zh_CN",today:"\u4ECA\u5929",now:"\u6B64\u523B",backToToday:"\u8FD4\u56DE\u4ECA\u5929",ok:"\u786E\u5B9A",timeSelect:"\u9009\u62E9\u65F6\u95F4",dateSelect:"\u9009\u62E9\u65E5\u671F",weekSelect:"\u9009\u62E9\u5468",clear:"\u6E05\u9664",month:"\u6708",year:"\u5E74",previousMonth:"\u4E0A\u4E2A\u6708 (\u7FFB\u9875\u4E0A\u952E)",nextMonth:"\u4E0B\u4E2A\u6708 (\u7FFB\u9875\u4E0B\u952E)",monthSelect:"\u9009\u62E9\u6708\u4EFD",yearSelect:"\u9009\u62E9\u5E74\u4EFD",decadeSelect:"\u9009\u62E9\u5E74\u4EE3",yearFormat:"YYYY\u5E74",dayFormat:"D\u65E5",dateFormat:"YYYY\u5E74M\u6708D\u65E5",dateTimeFormat:"YYYY\u5E74M\u6708D\u65E5 HH\u65F6mm\u5206ss\u79D2",previousYear:"\u4E0A\u4E00\u5E74 (Control\u952E\u52A0\u5DE6\u65B9\u5411\u952E)",nextYear:"\u4E0B\u4E00\u5E74 (Control\u952E\u52A0\u53F3\u65B9\u5411\u952E)",previousDecade:"\u4E0A\u4E00\u5E74\u4EE3",nextDecade:"\u4E0B\u4E00\u5E74\u4EE3",previousCentury:"\u4E0A\u4E00\u4E16\u7EAA",nextCentury:"\u4E0B\u4E00\u4E16\u7EAA"},l=i,f={placeholder:"\u8BF7\u9009\u62E9\u65F6\u95F4",rangePlaceholder:["\u5F00\u59CB\u65F6\u95F4","\u7ED3\u675F\u65F6\u95F4"]};const o={lang:Object.assign({placeholder:"\u8BF7\u9009\u62E9\u65E5\u671F",yearPlaceholder:"\u8BF7\u9009\u62E9\u5E74\u4EFD",quarterPlaceholder:"\u8BF7\u9009\u62E9\u5B63\u5EA6",monthPlaceholder:"\u8BF7\u9009\u62E9\u6708\u4EFD",weekPlaceholder:"\u8BF7\u9009\u62E9\u5468",rangePlaceholder:["\u5F00\u59CB\u65E5\u671F","\u7ED3\u675F\u65E5\u671F"],rangeYearPlaceholder:["\u5F00\u59CB\u5E74\u4EFD","\u7ED3\u675F\u5E74\u4EFD"],rangeMonthPlaceholder:["\u5F00\u59CB\u6708\u4EFD","\u7ED3\u675F\u6708\u4EFD"],rangeQuarterPlaceholder:["\u5F00\u59CB\u5B63\u5EA6","\u7ED3\u675F\u5B63\u5EA6"],rangeWeekPlaceholder:["\u5F00\u59CB\u5468","\u7ED3\u675F\u5468"]},l),timePickerLocale:Object.assign({},f)};o.lang.ok="\u786E\u5B9A";var h=o,u=h;const a="${label}\u4E0D\u662F\u4E00\u4E2A\u6709\u6548\u7684${type}";var p={locale:"zh-cn",Pagination:r.Z,DatePicker:h,TimePicker:f,Calendar:u,global:{placeholder:"\u8BF7\u9009\u62E9"},Table:{filterTitle:"\u7B5B\u9009",filterConfirm:"\u786E\u5B9A",filterReset:"\u91CD\u7F6E",filterEmptyText:"\u65E0\u7B5B\u9009\u9879",filterCheckall:"\u5168\u9009",filterSearchPlaceholder:"\u5728\u7B5B\u9009\u9879\u4E2D\u641C\u7D22",selectAll:"\u5168\u9009\u5F53\u9875",selectInvert:"\u53CD\u9009\u5F53\u9875",selectNone:"\u6E05\u7A7A\u6240\u6709",selectionAll:"\u5168\u9009\u6240\u6709",sortTitle:"\u6392\u5E8F",expand:"\u5C55\u5F00\u884C",collapse:"\u5173\u95ED\u884C",triggerDesc:"\u70B9\u51FB\u964D\u5E8F",triggerAsc:"\u70B9\u51FB\u5347\u5E8F",cancelSort:"\u53D6\u6D88\u6392\u5E8F"},Modal:{okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",justOkText:"\u77E5\u9053\u4E86"},Tour:{Next:"\u4E0B\u4E00\u6B65",Previous:"\u4E0A\u4E00\u6B65",Finish:"\u7ED3\u675F\u5BFC\u89C8"},Popconfirm:{cancelText:"\u53D6\u6D88",okText:"\u786E\u5B9A"},Transfer:{titles:["",""],searchPlaceholder:"\u8BF7\u8F93\u5165\u641C\u7D22\u5185\u5BB9",itemUnit:"\u9879",itemsUnit:"\u9879",remove:"\u5220\u9664",selectCurrent:"\u5168\u9009\u5F53\u9875",removeCurrent:"\u5220\u9664\u5F53\u9875",selectAll:"\u5168\u9009\u6240\u6709",removeAll:"\u5220\u9664\u5168\u90E8",selectInvert:"\u53CD\u9009\u5F53\u9875"},Upload:{uploading:"\u6587\u4EF6\u4E0A\u4F20\u4E2D",removeFile:"\u5220\u9664\u6587\u4EF6",uploadError:"\u4E0A\u4F20\u9519\u8BEF",previewFile:"\u9884\u89C8\u6587\u4EF6",downloadFile:"\u4E0B\u8F7D\u6587\u4EF6"},Empty:{description:"\u6682\u65E0\u6570\u636E"},Icon:{icon:"\u56FE\u6807"},Text:{edit:"\u7F16\u8F91",copy:"\u590D\u5236",copied:"\u590D\u5236\u6210\u529F",expand:"\u5C55\u5F00"},PageHeader:{back:"\u8FD4\u56DE"},Form:{optional:"\uFF08\u53EF\u9009\uFF09",defaultValidateMessages:{default:"\u5B57\u6BB5\u9A8C\u8BC1\u9519\u8BEF${label}",required:"\u8BF7\u8F93\u5165${label}",enum:"${label}\u5FC5\u987B\u662F\u5176\u4E2D\u4E00\u4E2A[${enum}]",whitespace:"${label}\u4E0D\u80FD\u4E3A\u7A7A\u5B57\u7B26",date:{format:"${label}\u65E5\u671F\u683C\u5F0F\u65E0\u6548",parse:"${label}\u4E0D\u80FD\u8F6C\u6362\u4E3A\u65E5\u671F",invalid:"${label}\u662F\u4E00\u4E2A\u65E0\u6548\u65E5\u671F"},types:{string:a,method:a,array:a,object:a,number:a,date:a,boolean:a,integer:a,float:a,regexp:a,email:a,url:a,hex:a},string:{len:"${label}\u987B\u4E3A${len}\u4E2A\u5B57\u7B26",min:"${label}\u6700\u5C11${min}\u4E2A\u5B57\u7B26",max:"${label}\u6700\u591A${max}\u4E2A\u5B57\u7B26",range:"${label}\u987B\u5728${min}-${max}\u5B57\u7B26\u4E4B\u95F4"},number:{len:"${label}\u5FC5\u987B\u7B49\u4E8E${len}",min:"${label}\u6700\u5C0F\u503C\u4E3A${min}",max:"${label}\u6700\u5927\u503C\u4E3A${max}",range:"${label}\u987B\u5728${min}-${max}\u4E4B\u95F4"},array:{len:"\u987B\u4E3A${len}\u4E2A${label}",min:"\u6700\u5C11${min}\u4E2A${label}",max:"\u6700\u591A${max}\u4E2A${label}",range:"${label}\u6570\u91CF\u987B\u5728${min}-${max}\u4E4B\u95F4"},pattern:{mismatch:"${label}\u4E0E\u6A21\u5F0F\u4E0D\u5339\u914D${pattern}"}}},Image:{preview:"\u9884\u89C8"},QRCode:{expired:"\u4E8C\u7EF4\u7801\u8FC7\u671F",refresh:"\u70B9\u51FB\u5237\u65B0"},ColorPicker:{presetEmpty:"\u6682\u65E0"}}},8591:function(d,v,e){"use strict";e.d(v,{ZP:function(){return gt}});var r=e(94480),i=e(59301),l=e(1585),c=e(92736),f=e(29679),o=e(19248),h=e(96512),u=e(78987),a=e(58617),x=e(92310),p=e.n(x),y=e(581),_=e(36355),b=e(36237),S=e(17313),k=e(83116),R=e(37613);const A=ft=>{const{componentCls:Qe,iconCls:Ne,boxShadow:xe,colorText:ke,colorSuccess:Ge,colorError:He,colorWarning:Ye,colorInfo:dt,fontSizeLG:xt,motionEaseInOutCirc:nr,motionDurationSlow:qt,marginXS:Me,paddingXS:qe,borderRadiusLG:Vt,zIndexPopup:Rt,contentPadding:zt,contentBg:Ht}=ft,Ct=`${Qe}-notice`,Xt=new b.Keyframes("MessageMoveIn",{"0%":{padding:0,transform:"translateY(-100%)",opacity:0},"100%":{padding:qe,transform:"translateY(0)",opacity:1}}),ze=new b.Keyframes("MessageMoveOut",{"0%":{maxHeight:ft.height,padding:qe,opacity:1},"100%":{maxHeight:0,padding:0,opacity:0}}),ce={padding:qe,textAlign:"center",[`${Qe}-custom-content > ${Ne}`]:{verticalAlign:"text-bottom",marginInlineEnd:Me,fontSize:xt},[`${Ct}-content`]:{display:"inline-block",padding:zt,background:Ht,borderRadius:Vt,boxShadow:xe,pointerEvents:"all"},[`${Qe}-success > ${Ne}`]:{color:Ge},[`${Qe}-error > ${Ne}`]:{color:He},[`${Qe}-warning > ${Ne}`]:{color:Ye},[`${Qe}-info > ${Ne},
${Qe}-loading > ${Ne}`]:{color:dt}};return[{[Qe]:Object.assign(Object.assign({},(0,S.Wf)(ft)),{color:ke,position:"fixed",top:Me,width:"100%",pointerEvents:"none",zIndex:Rt,[`${Qe}-move-up`]:{animationFillMode:"forwards"},[`
${Qe}-move-up-appear,
${Qe}-move-up-enter
`]:{animationName:Xt,animationDuration:qt,animationPlayState:"paused",animationTimingFunction:nr},[`
${Qe}-move-up-appear${Qe}-move-up-appear-active,
${Qe}-move-up-enter${Qe}-move-up-enter-active
`]:{animationPlayState:"running"},[`${Qe}-move-up-leave`]:{animationName:ze,animationDuration:qt,animationPlayState:"paused",animationTimingFunction:nr},[`${Qe}-move-up-leave${Qe}-move-up-leave-active`]:{animationPlayState:"running"},"&-rtl":{direction:"rtl",span:{direction:"rtl"}}})},{[Qe]:{[Ct]:Object.assign({},ce)}},{[`${Qe}-notice-pure-panel`]:Object.assign(Object.assign({},ce),{padding:0,textAlign:"start"})}]};var I=(0,k.Z)("Message",ft=>{const Qe=(0,R.TS)(ft,{height:150});return[A(Qe)]},ft=>({zIndexPopup:ft.zIndexPopupBase+10,contentBg:ft.colorBgElevated,contentPadding:`${(ft.controlHeightLG-ft.fontSize*ft.lineHeight)/2}px ${ft.paddingSM}px`})),M=function(ft,Qe){var Ne={};for(var xe in ft)Object.prototype.hasOwnProperty.call(ft,xe)&&Qe.indexOf(xe)<0&&(Ne[xe]=ft[xe]);if(ft!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ke=0,xe=Object.getOwnPropertySymbols(ft);ke<xe.length;ke++)Qe.indexOf(xe[ke])<0&&Object.prototype.propertyIsEnumerable.call(ft,xe[ke])&&(Ne[xe[ke]]=ft[xe[ke]]);return Ne};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=ft=>{let{prefixCls:Qe,type:Ne,icon:xe,children:ke}=ft;return i.createElement("div",{className:p()(`${Qe}-custom-content`,`${Qe}-${Ne}`)},xe||B[Ne],i.createElement("span",null,ke))};var W=ft=>{const{prefixCls:Qe,className:Ne,type:xe,icon:ke,content:Ge}=ft,He=M(ft,["prefixCls","className","type","icon","content"]),{getPrefixCls:Ye}=i.useContext(_.E_),dt=Qe||Ye("message"),[,xt]=I(dt);return i.createElement(y.qX,Object.assign({},He,{prefixCls:dt,className:p()(Ne,xt,`${dt}-notice-pure-panel`),eventKey:"pure",duration:null,content:i.createElement(N,{prefixCls:dt,type:xe,icon:ke},Ge)}))},H=e(99267);function ae(ft,Qe){return{motionName:Qe!=null?Qe:`${ft}-move-up`}}function ne(ft){let Qe;const Ne=new Promise(ke=>{Qe=ft(()=>{ke(!0)})}),xe=()=>{Qe==null||Qe()};return xe.then=(ke,Ge)=>Ne.then(ke,Ge),xe.promise=Ne,xe}var oe=function(ft,Qe){var Ne={};for(var xe in ft)Object.prototype.hasOwnProperty.call(ft,xe)&&Qe.indexOf(xe)<0&&(Ne[xe]=ft[xe]);if(ft!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ke=0,xe=Object.getOwnPropertySymbols(ft);ke<xe.length;ke++)Qe.indexOf(xe[ke])<0&&Object.prototype.propertyIsEnumerable.call(ft,xe[ke])&&(Ne[xe[ke]]=ft[xe[ke]]);return Ne};const J=8,q=3,K=ft=>{let{children:Qe,prefixCls:Ne}=ft;const[,xe]=I(Ne);return i.createElement(y.JB,{classNames:{list:xe,notice:xe}},Qe)},se=(ft,Qe)=>{let{prefixCls:Ne,key:xe}=Qe;return i.createElement(K,{prefixCls:Ne,key:xe},ft)},ee=i.forwardRef((ft,Qe)=>{const{top:Ne,prefixCls:xe,getContainer:ke,maxCount:Ge,duration:He=q,rtl:Ye,transitionName:dt,onAllRemoved:xt}=ft,{getPrefixCls:nr,getPopupContainer:qt,message:Me}=i.useContext(_.E_),qe=xe||nr("message"),Vt=()=>({left:"50%",transform:"translateX(-50%)",top:Ne!=null?Ne:J}),Rt=()=>p()({[`${qe}-rtl`]:Ye}),zt=()=>ae(qe,dt),Ht=i.createElement("span",{className:`${qe}-close-x`},i.createElement(H.Z,{className:`${qe}-close-icon`})),[Ct,Xt]=(0,y.lm)({prefixCls:qe,style:Vt,className:Rt,motion:zt,closable:!1,closeIcon:Ht,duration:He,getContainer:()=>(ke==null?void 0:ke())||(qt==null?void 0:qt())||document.body,maxCount:Ge,onAllRemoved:xt,renderNotifications:se});return i.useImperativeHandle(Qe,()=>Object.assign(Object.assign({},Ct),{prefixCls:qe,message:Me})),Xt});let Q=0;function le(ft){const Qe=i.useRef(null);return[i.useMemo(()=>{const xe=dt=>{var xt;(xt=Qe.current)===null||xt===void 0||xt.close(dt)},ke=dt=>{if(!Qe.current){const pe=()=>{};return pe.then=()=>{},pe}const{open:xt,prefixCls:nr,message:qt}=Qe.current,Me=`${nr}-notice`,{content:qe,icon:Vt,type:Rt,key:zt,className:Ht,style:Ct,onClose:Xt}=dt,ze=oe(dt,["content","icon","type","key","className","style","onClose"]);let ce=zt;return ce==null&&(Q+=1,ce=`antd-message-${Q}`),ne(pe=>(xt(Object.assign(Object.assign({},ze),{key:ce,content:i.createElement(N,{prefixCls:nr,type:Rt,icon:Vt},qe),placement:"top",className:p()(Rt&&`${Me}-${Rt}`,Ht,qt==null?void 0:qt.className),style:Object.assign(Object.assign({},qt==null?void 0:qt.style),Ct),onClose:()=>{Xt==null||Xt(),pe()}})),()=>{xe(ce)}))},He={open:ke,destroy:dt=>{var xt;dt!==void 0?xe(dt):(xt=Qe.current)===null||xt===void 0||xt.destroy()}};return["info","success","warning","error","loading"].forEach(dt=>{const xt=(nr,qt,Me)=>{let qe;nr&&typeof nr=="object"&&"content"in nr?qe=nr:qe={content:nr};let Vt,Rt;typeof qt=="function"?Rt=qt:(Vt=qt,Rt=Me);const zt=Object.assign(Object.assign({onClose:Rt,duration:Vt},qe),{type:dt});return ke(zt)};He[dt]=xt}),He},[]),i.createElement(ee,Object.assign({key:"message-holder"},ft,{ref:Qe}))]}function z(ft){return le(ft)}let $=null,ie=ft=>ft(),_e=[],Ae={};function Pe(){const{prefixCls:ft,getContainer:Qe,duration:Ne,rtl:xe,maxCount:ke,top:Ge}=Ae,He=ft!=null?ft:(0,c.w6)().getPrefixCls("message"),Ye=(Qe==null?void 0:Qe())||document.body;return{prefixCls:He,getContainer:()=>Ye,duration:Ne,rtl:xe,maxCount:ke,top:Ge}}const We=i.forwardRef((ft,Qe)=>{const[Ne,xe]=i.useState(Pe),[ke,Ge]=le(Ne),He=(0,c.w6)(),Ye=He.getRootPrefixCls(),dt=He.getIconPrefixCls(),xt=He.getTheme(),nr=()=>{xe(Pe)};return i.useEffect(nr,[]),i.useImperativeHandle(Qe,()=>{const qt=Object.assign({},ke);return Object.keys(qt).forEach(Me=>{qt[Me]=function(){return nr(),ke[Me].apply(ke,arguments)}}),{instance:qt,sync:nr}}),i.createElement(c.ZP,{prefixCls:Ye,iconPrefixCls:dt,theme:xt},Ge)});function $e(){if(!$){const ft=document.createDocumentFragment(),Qe={fragment:ft};$=Qe,ie(()=>{(0,l.s)(i.createElement(We,{ref:Ne=>{const{instance:xe,sync:ke}=Ne||{};Promise.resolve().then(()=>{!Qe.instance&&xe&&(Qe.instance=xe,Qe.sync=ke,$e())})}}),ft)});return}$.instance&&(_e.forEach(ft=>{const{type:Qe,skipped:Ne}=ft;if(!Ne)switch(Qe){case"open":{ie(()=>{const xe=$.instance.open(Object.assign(Object.assign({},Ae),ft.config));xe==null||xe.then(ft.resolve),ft.setCloseFn(xe)});break}case"destroy":ie(()=>{$==null||$.instance.destroy(ft.key)});break;default:ie(()=>{var xe;const ke=(xe=$.instance)[Qe].apply(xe,(0,r.Z)(ft.args));ke==null||ke.then(ft.resolve),ft.setCloseFn(ke)})}}),_e=[])}function Lt(ft){Ae=Object.assign(Object.assign({},Ae),ft),ie(()=>{var Qe;(Qe=$==null?void 0:$.sync)===null||Qe===void 0||Qe.call($)})}function bt(ft){const Qe=ne(Ne=>{let xe;const ke={type:"open",config:ft,resolve:Ne,setCloseFn:Ge=>{xe=Ge}};return _e.push(ke),()=>{xe?ie(()=>{xe()}):ke.skipped=!0}});return $e(),Qe}function kt(ft,Qe){const Ne=ne(xe=>{let ke;const Ge={type:ft,args:Qe,resolve:xe,setCloseFn:He=>{ke=He}};return _e.push(Ge),()=>{ke?ie(()=>{ke()}):Ge.skipped=!0}});return $e(),Ne}function Zt(ft){_e.push({type:"destroy",key:ft}),$e()}const Mt=["success","info","warning","error","loading"],je={open:bt,destroy:Zt,config:Lt,useMessage:z,_InternalPanelDoNotUseOrYouWillBeFired:W};Mt.forEach(ft=>{je[ft]=function(){for(var Qe=arguments.length,Ne=new Array(Qe),xe=0;xe<Qe;xe++)Ne[xe]=arguments[xe];return kt(ft,Ne)}});const wt=()=>{};let Ft=null,tt=null;var gt=je},43418:function(d,v,e){"use strict";e.d(v,{default:function(){return ct}});var r=e(94480),i=e(1585),l=e(59301),c=e(92736),f=e(29679),o=e(19248),h=e(96512),u=e(78987),a=e(92310),x=e.n(a),p=e(62892),y=e(9763),_=e(92806);const b=l.createContext({}),{Provider:S}=b;var R=()=>{const{autoFocusButton:Wt,cancelButtonProps:Tt,cancelTextLocale:Ce,isSilent:St,mergedOkCancel:ye,rootPrefixCls:Je,close:yt,onCancel:Bt,onConfirm:Be}=(0,l.useContext)(b);return ye?l.createElement(_.Z,{isSilent:St,actionFn:Bt,close:function(){yt==null||yt.apply(void 0,arguments),Be==null||Be(!1)},autoFocus:Wt==="cancel",buttonProps:Tt,prefixCls:`${Je}-btn`},Ce):null},I=()=>{const{autoFocusButton:Wt,close:Tt,isSilent:Ce,okButtonProps:St,rootPrefixCls:ye,okTextLocale:Je,okType:yt,onConfirm:Bt,onOk:Be}=(0,l.useContext)(b);return l.createElement(_.Z,{isSilent:Ce,type:yt||"primary",actionFn:Be,close:function(){Tt==null||Tt.apply(void 0,arguments),Bt==null||Bt(!0)},autoFocus:Wt==="ok",buttonProps:St,prefixCls:`${ye}-btn`},Je)},M=e(99267),B=e(86923),N=e(47729),V=e(47273);const W=()=>(0,V.Z)()&&window.document.documentElement;var H=e(36355),ae=e(32441),ne=e(33234),oe=e(11575),J=e(1684),q=e(3113),se=()=>{const{cancelButtonProps:Wt,cancelTextLocale:Tt,onCancel:Ce}=(0,l.useContext)(b);return l.createElement(q.ZP,Object.assign({onClick:Ce},Wt),Tt)},ee=e(67797),le=()=>{const{confirmLoading:Wt,okButtonProps:Tt,okType:Ce,okTextLocale:St,onOk:ye}=(0,l.useContext)(b);return l.createElement(q.ZP,Object.assign({},(0,ee.n)(Ce),{loading:Wt,onClick:ye},Tt),St)},z=e(98044);function $(Wt,Tt){return l.createElement("span",{className:`${Wt}-close-x`},Tt||l.createElement(M.Z,{className:`${Wt}-close-icon`}))}const ie=Wt=>{const{okText:Tt,okType:Ce="primary",cancelText:St,confirmLoading:ye,onOk:Je,onCancel:yt,okButtonProps:Bt,cancelButtonProps:Be,footer:Dr}=Wt,[At]=(0,y.Z)("Modal",(0,z.A)()),Xr=Tt||(At==null?void 0:At.okText),en=St||(At==null?void 0:At.cancelText),Lr={confirmLoading:ye,okButtonProps:Bt,cancelButtonProps:Be,okTextLocale:Xr,cancelTextLocale:en,okType:Ce,onOk:Je,onCancel:yt},Nr=l.useMemo(()=>Lr,(0,r.Z)(Object.values(Lr)));let mr;return typeof Dr=="function"||typeof Dr=="undefined"?(mr=l.createElement(S,{value:Nr},l.createElement(se,null),l.createElement(le,null)),typeof Dr=="function"&&(mr=Dr(mr,{OkBtn:le,CancelBtn:se}))):mr=Dr,l.createElement(J.n,{disabled:!1},mr)};var _e=e(73819),Ae=function(Wt,Tt){var Ce={};for(var St in Wt)Object.prototype.hasOwnProperty.call(Wt,St)&&Tt.indexOf(St)<0&&(Ce[St]=Wt[St]);if(Wt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ye=0,St=Object.getOwnPropertySymbols(Wt);ye<St.length;ye++)Tt.indexOf(St[ye])<0&&Object.prototype.propertyIsEnumerable.call(Wt,St[ye])&&(Ce[St[ye]]=Wt[St[ye]]);return Ce};let Pe;const We=Wt=>{Pe={x:Wt.pageX,y:Wt.pageY},setTimeout(()=>{Pe=null},100)};W()&&document.documentElement.addEventListener("click",We,!0);var Lt=Wt=>{var Tt;const{getPopupContainer:Ce,getPrefixCls:St,direction:ye,modal:Je}=l.useContext(H.E_),yt=Jn=>{const{onCancel:kn}=Wt;kn==null||kn(Jn)},Bt=Jn=>{const{onOk:kn}=Wt;kn==null||kn(Jn)},{prefixCls:Be,className:Dr,rootClassName:At,open:Xr,wrapClassName:en,centered:Lr,getContainer:Nr,closeIcon:mr,closable:Zr,focusTriggerAfterClose:on=!0,style:_n,visible:Yt,width:mt=520,footer:st}=Wt,lt=Ae(Wt,["prefixCls","className","rootClassName","open","wrapClassName","centered","getContainer","closeIcon","closable","focusTriggerAfterClose","style","visible","width","footer"]),Nt=St("modal",Be),br=St(),[vr,nt]=(0,_e.ZP)(Nt),Tr=x()(en,{[`${Nt}-centered`]:!!Lr,[`${Nt}-wrap-rtl`]:ye==="rtl"}),vn=st!==null&&l.createElement(ie,Object.assign({},Wt,{onOk:Bt,onCancel:yt})),[Gn,Yr]=(0,N.Z)(Zr,mr,Jn=>$(Nt,Jn),l.createElement(M.Z,{className:`${Nt}-close-icon`}),!0),Yn=(0,oe.H)(`.${Nt}-content`);return vr(l.createElement(ne.BR,null,l.createElement(ae.Ux,{status:!0,override:!0},l.createElement(B.Z,Object.assign({width:mt},lt,{getContainer:Nr===void 0?Ce:Nr,prefixCls:Nt,rootClassName:x()(nt,At),wrapClassName:Tr,footer:vn,visible:Xr!=null?Xr:Yt,mousePosition:(Tt=lt.mousePosition)!==null&&Tt!==void 0?Tt:Pe,onClose:yt,closable:Gn,closeIcon:Yr,focusTriggerAfterClose:on,transitionName:(0,p.m)(br,"zoom",Wt.transitionName),maskTransitionName:(0,p.m)(br,"fade",Wt.maskTransitionName),className:x()(nt,Dr,Je==null?void 0:Je.className),style:Object.assign(Object.assign({},Je==null?void 0:Je.style),_n),panelRef:Yn})))))},bt=e(17313),kt=e(83116);const Zt=Wt=>{const{componentCls:Tt,titleFontSize:Ce,titleLineHeight:St,modalConfirmIconSize:ye,fontSize:Je,lineHeight:yt}=Wt,Bt=`${Tt}-confirm`,Be=Math.round(Ce*St),Dr=Math.round(Je*yt);return{[Bt]:{"&-rtl":{direction:"rtl"},[`${Wt.antCls}-modal-header`]:{display:"none"},[`${Bt}-body-wrapper`]:Object.assign({},(0,bt.dF)()),[`${Bt}-body`]:{display:"flex",flexWrap:"nowrap",alignItems:"start",[`> ${Wt.iconCls}`]:{flex:"none",fontSize:ye,marginInlineEnd:Wt.marginSM,marginTop:(Dr-ye)/2},[`&-has-title > ${Wt.iconCls}`]:{marginTop:(Be-ye)/2}},[`${Bt}-paragraph`]:{display:"flex",flexDirection:"column",flex:"auto",rowGap:Wt.marginXS},[`${Bt}-title`]:{color:Wt.colorTextHeading,fontWeight:Wt.fontWeightStrong,fontSize:Ce,lineHeight:St},[`${Bt}-content`]:{color:Wt.colorText,fontSize:Je,lineHeight:yt},[`${Bt}-btns`]:{textAlign:"end",marginTop:Wt.marginSM,[`${Wt.antCls}-btn + ${Wt.antCls}-btn`]:{marginBottom:0,marginInlineStart:Wt.marginXS}}},[`${Bt}-error ${Bt}-body > ${Wt.iconCls}`]:{color:Wt.colorError},[`${Bt}-warning ${Bt}-body > ${Wt.iconCls},
${Bt}-confirm ${Bt}-body > ${Wt.iconCls}`]:{color:Wt.colorWarning},[`${Bt}-info ${Bt}-body > ${Wt.iconCls}`]:{color:Wt.colorInfo},[`${Bt}-success ${Bt}-body > ${Wt.iconCls}`]:{color:Wt.colorSuccess}}};var Mt=(0,kt.b)(["Modal","confirm"],Wt=>{const Tt=(0,_e.B4)(Wt);return[Zt(Tt)]},_e.eh,{order:-1e3}),tr=function(Wt,Tt){var Ce={};for(var St in Wt)Object.prototype.hasOwnProperty.call(Wt,St)&&Tt.indexOf(St)<0&&(Ce[St]=Wt[St]);if(Wt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ye=0,St=Object.getOwnPropertySymbols(Wt);ye<St.length;ye++)Tt.indexOf(St[ye])<0&&Object.prototype.propertyIsEnumerable.call(Wt,St[ye])&&(Ce[St[ye]]=Wt[St[ye]]);return Ce};function je(Wt){const{prefixCls:Tt,icon:Ce,okText:St,cancelText:ye,confirmPrefixCls:Je,type:yt,okCancel:Bt,footer:Be,locale:Dr}=Wt,At=tr(Wt,["prefixCls","icon","okText","cancelText","confirmPrefixCls","type","okCancel","footer","locale"]);let Xr=Ce;if(!Ce&&Ce!==null)switch(yt){case"info":Xr=l.createElement(u.Z,null);break;case"success":Xr=l.createElement(f.Z,null);break;case"error":Xr=l.createElement(o.Z,null);break;default:Xr=l.createElement(h.Z,null)}const en=Bt!=null?Bt:yt==="confirm",Lr=Wt.autoFocusButton===null?!1:Wt.autoFocusButton||"ok",[Nr]=(0,y.Z)("Modal"),mr=Dr||Nr,Zr=St||(en?mr==null?void 0:mr.okText:mr==null?void 0:mr.justOkText),on=ye||(mr==null?void 0:mr.cancelText),_n=Object.assign({autoFocusButton:Lr,cancelTextLocale:on,okTextLocale:Zr,mergedOkCancel:en},At),Yt=l.useMemo(()=>_n,(0,r.Z)(Object.values(_n))),mt=l.createElement(l.Fragment,null,l.createElement(R,null),l.createElement(I,null)),st=Wt.title!==void 0&&Wt.title!==null,lt=`${Je}-body`;return l.createElement("div",{className:`${Je}-body-wrapper`},l.createElement("div",{className:x()(lt,{[`${lt}-has-title`]:st})},Xr,l.createElement("div",{className:`${Je}-paragraph`},st&&l.createElement("span",{className:`${Je}-title`},Wt.title),l.createElement("div",{className:`${Je}-content`},Wt.content))),Be===void 0||typeof Be=="function"?l.createElement(S,{value:Yt},l.createElement("div",{className:`${Je}-btns`},typeof Be=="function"?Be(mt,{OkBtn:I,CancelBtn:R}):mt)):Be,l.createElement(Mt,{prefixCls:Tt}))}var Ft=Wt=>{const{close:Tt,zIndex:Ce,afterClose:St,visible:ye,open:Je,keyboard:yt,centered:Bt,getContainer:Be,maskStyle:Dr,direction:At,prefixCls:Xr,wrapClassName:en,rootPrefixCls:Lr,iconPrefixCls:Nr,theme:mr,bodyStyle:Zr,closable:on=!1,closeIcon:_n,modalRender:Yt,focusTriggerAfterClose:mt,onConfirm:st}=Wt,lt=`${Xr}-confirm`,Nt=Wt.width||416,br=Wt.style||{},vr=Wt.mask===void 0?!0:Wt.mask,nt=Wt.maskClosable===void 0?!1:Wt.maskClosable,Tr=x()(lt,`${lt}-${Wt.type}`,{[`${lt}-rtl`]:At==="rtl"},Wt.className);return l.createElement(c.ZP,{prefixCls:Lr,iconPrefixCls:Nr,direction:At,theme:mr},l.createElement(Lt,{prefixCls:Xr,className:Tr,wrapClassName:x()({[`${lt}-centered`]:!!Wt.centered},en),onCancel:()=>{Tt==null||Tt({triggerCancel:!0}),st==null||st(!1)},open:Je,title:"",footer:null,transitionName:(0,p.m)(Lr||"","zoom",Wt.transitionName),maskTransitionName:(0,p.m)(Lr||"","fade",Wt.maskTransitionName),mask:vr,maskClosable:nt,maskStyle:Dr,style:br,bodyStyle:Zr,width:Nt,zIndex:Ce,afterClose:St,keyboard:yt,centered:Bt,getContainer:Be,closable:on,closeIcon:_n,modalRender:Yt,focusTriggerAfterClose:mt},l.createElement(je,Object.assign({},Wt,{confirmPrefixCls:lt}))))},gt=[],ft=function(Wt,Tt){var Ce={};for(var St in Wt)Object.prototype.hasOwnProperty.call(Wt,St)&&Tt.indexOf(St)<0&&(Ce[St]=Wt[St]);if(Wt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ye=0,St=Object.getOwnPropertySymbols(Wt);ye<St.length;ye++)Tt.indexOf(St[ye])<0&&Object.prototype.propertyIsEnumerable.call(Wt,St[ye])&&(Ce[St[ye]]=Wt[St[ye]]);return Ce};let Qe="";function Ne(){return Qe}function xe(Wt){const Tt=document.createDocumentFragment();let Ce=Object.assign(Object.assign({},Wt),{close:yt,open:!0}),St;function ye(){for(var Be=arguments.length,Dr=new Array(Be),At=0;At<Be;At++)Dr[At]=arguments[At];const Xr=Dr.some(en=>en&&en.triggerCancel);Wt.onCancel&&Xr&&Wt.onCancel.apply(Wt,[()=>{}].concat((0,r.Z)(Dr.slice(1))));for(let en=0;en<gt.length;en++)if(gt[en]===yt){gt.splice(en,1);break}(0,i.v)(Tt)}function Je(Be){var{okText:Dr,cancelText:At,prefixCls:Xr,getContainer:en}=Be,Lr=ft(Be,["okText","cancelText","prefixCls","getContainer"]);clearTimeout(St),St=setTimeout(()=>{const Nr=(0,z.A)(),{getPrefixCls:mr,getIconPrefixCls:Zr,getTheme:on}=(0,c.w6)(),_n=mr(void 0,Ne()),Yt=Xr||`${_n}-modal`,mt=Zr(),st=on();let lt=en;lt===!1&&(lt=void 0),(0,i.s)(l.createElement(Ft,Object.assign({},Lr,{getContainer:lt,prefixCls:Yt,rootPrefixCls:_n,iconPrefixCls:mt,okText:Dr,locale:Nr,theme:st,cancelText:At||Nr.cancelText})),Tt)})}function yt(){for(var Be=arguments.length,Dr=new Array(Be),At=0;At<Be;At++)Dr[At]=arguments[At];Ce=Object.assign(Object.assign({},Ce),{open:!1,afterClose:()=>{typeof Wt.afterClose=="function"&&Wt.afterClose(),ye.apply(this,Dr)}}),Ce.visible&&delete Ce.visible,Je(Ce)}function Bt(Be){typeof Be=="function"?Ce=Be(Ce):Ce=Object.assign(Object.assign({},Ce),Be),Je(Ce)}return Je(Ce),gt.push(yt),{destroy:yt,update:Bt}}function ke(Wt){return Object.assign(Object.assign({},Wt),{type:"warning"})}function Ge(Wt){return Object.assign(Object.assign({},Wt),{type:"info"})}function He(Wt){return Object.assign(Object.assign({},Wt),{type:"success"})}function Ye(Wt){return Object.assign(Object.assign({},Wt),{type:"error"})}function dt(Wt){return Object.assign(Object.assign({},Wt),{type:"confirm"})}function xt(Wt){let{rootPrefixCls:Tt}=Wt;Qe=Tt}var nr=e(53487),qt=function(Wt,Tt){var Ce={};for(var St in Wt)Object.prototype.hasOwnProperty.call(Wt,St)&&Tt.indexOf(St)<0&&(Ce[St]=Wt[St]);if(Wt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ye=0,St=Object.getOwnPropertySymbols(Wt);ye<St.length;ye++)Tt.indexOf(St[ye])<0&&Object.prototype.propertyIsEnumerable.call(Wt,St[ye])&&(Ce[St[ye]]=Wt[St[ye]]);return Ce};const Me=Wt=>{const{prefixCls:Tt,className:Ce,closeIcon:St,closable:ye,type:Je,title:yt,children:Bt}=Wt,Be=qt(Wt,["prefixCls","className","closeIcon","closable","type","title","children"]),{getPrefixCls:Dr}=l.useContext(H.E_),At=Dr(),Xr=Tt||Dr("modal"),[,en]=(0,_e.ZP)(Xr),Lr=`${Xr}-confirm`;let Nr={};return Je?Nr={closable:ye!=null?ye:!1,title:"",footer:"",children:l.createElement(je,Object.assign({},Wt,{prefixCls:Xr,confirmPrefixCls:Lr,rootPrefixCls:At,content:Bt}))}:Nr={closable:ye!=null?ye:!0,title:yt,footer:Wt.footer===void 0?l.createElement(ie,Object.assign({},Wt)):Wt.footer,children:Bt},l.createElement(B.s,Object.assign({prefixCls:Xr,className:x()(en,`${Xr}-pure-panel`,Je&&Lr,Je&&`${Lr}-${Je}`,Ce)},Be,{closeIcon:$(Xr,St),closable:ye},Nr))};var qe=(0,nr.i)(Me);function Vt(){const[Wt,Tt]=l.useState([]),Ce=l.useCallback(St=>(Tt(ye=>[].concat((0,r.Z)(ye),[St])),()=>{Tt(ye=>ye.filter(Je=>Je!==St))}),[]);return[Wt,Ce]}var Rt=e(31724),zt=function(Wt,Tt){var Ce={};for(var St in Wt)Object.prototype.hasOwnProperty.call(Wt,St)&&Tt.indexOf(St)<0&&(Ce[St]=Wt[St]);if(Wt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ye=0,St=Object.getOwnPropertySymbols(Wt);ye<St.length;ye++)Tt.indexOf(St[ye])<0&&Object.prototype.propertyIsEnumerable.call(Wt,St[ye])&&(Ce[St[ye]]=Wt[St[ye]]);return Ce};const Ht=(Wt,Tt)=>{var Ce,{afterClose:St,config:ye}=Wt,Je=zt(Wt,["afterClose","config"]);const[yt,Bt]=l.useState(!0),[Be,Dr]=l.useState(ye),{direction:At,getPrefixCls:Xr}=l.useContext(H.E_),en=Xr("modal"),Lr=Xr(),Nr=()=>{var _n;St(),(_n=Be.afterClose)===null||_n===void 0||_n.call(Be)},mr=function(){Bt(!1);for(var _n=arguments.length,Yt=new Array(_n),mt=0;mt<_n;mt++)Yt[mt]=arguments[mt];const st=Yt.some(lt=>lt&&lt.triggerCancel);Be.onCancel&&st&&Be.onCancel.apply(Be,[()=>{}].concat((0,r.Z)(Yt.slice(1))))};l.useImperativeHandle(Tt,()=>({destroy:mr,update:_n=>{Dr(Yt=>Object.assign(Object.assign({},Yt),_n))}}));const Zr=(Ce=Be.okCancel)!==null&&Ce!==void 0?Ce:Be.type==="confirm",[on]=(0,y.Z)("Modal",Rt.Z.Modal);return l.createElement(Ft,Object.assign({prefixCls:en,rootPrefixCls:Lr},Be,{close:mr,open:yt,afterClose:Nr,okText:Be.okText||(Zr?on==null?void 0:on.okText:on==null?void 0:on.justOkText),direction:Be.direction||At,cancelText:Be.cancelText||(on==null?void 0:on.cancelText)},Je))};var Ct=l.forwardRef(Ht);let Xt=0;const ze=l.memo(l.forwardRef((Wt,Tt)=>{const[Ce,St]=Vt();return l.useImperativeHandle(Tt,()=>({patchElement:St}),[]),l.createElement(l.Fragment,null,Ce)}));function ce(){const Wt=l.useRef(null),[Tt,Ce]=l.useState([]);l.useEffect(()=>{Tt.length&&((0,r.Z)(Tt).forEach(yt=>{yt()}),Ce([]))},[Tt]);const St=l.useCallback(Je=>function(Bt){var Be;Xt+=1;const Dr=l.createRef();let At;const Xr=new Promise(Zr=>{At=Zr});let en=!1,Lr;const Nr=l.createElement(Ct,{key:`modal-${Xt}`,config:Je(Bt),ref:Dr,afterClose:()=>{Lr==null||Lr()},isSilent:()=>en,onConfirm:Zr=>{At(Zr)}});return Lr=(Be=Wt.current)===null||Be===void 0?void 0:Be.patchElement(Nr),Lr&&gt.push(Lr),{destroy:()=>{function Zr(){var on;(on=Dr.current)===null||on===void 0||on.destroy()}Dr.current?Zr():Ce(on=>[].concat((0,r.Z)(on),[Zr]))},update:Zr=>{function on(){var _n;(_n=Dr.current)===null||_n===void 0||_n.update(Zr)}Dr.current?on():Ce(_n=>[].concat((0,r.Z)(_n),[on]))},then:Zr=>(en=!0,Xr.then(Zr))}},[]);return[l.useMemo(()=>({info:St(Ge),success:St(He),error:St(Ye),warning:St(ke),confirm:St(dt)}),[]),l.createElement(ze,{key:"modal-holder",ref:Wt})]}var pe=ce;function It(Wt){return xe(ke(Wt))}const Te=Lt;Te.useModal=pe,Te.info=function(Tt){return xe(Ge(Tt))},Te.success=function(Tt){return xe(He(Tt))},Te.error=function(Tt){return xe(Ye(Tt))},Te.warning=It,Te.warn=It,Te.confirm=function(Tt){return xe(dt(Tt))},Te.destroyAll=function(){for(;gt.length;){const Tt=gt.pop();Tt&&Tt()}},Te.config=xt,Te._InternalPanelDoNotUseOrYouWillBeFired=qe;var ct=Te},98044:function(d,v,e){"use strict";e.d(v,{A:function(){return o},f:function(){return f}});var r=e(31724);let i=Object.assign({},r.Z.Modal),l=[];const c=()=>l.reduce((h,u)=>Object.assign(Object.assign({},h),u),r.Z.Modal);function f(h){if(h){const u=Object.assign({},h);return l.push(u),i=c(),()=>{l=l.filter(a=>a!==u),i=c()}}i=Object.assign({},r.Z.Modal)}function o(){return i}},73819:function(d,v,e){"use strict";e.d(v,{B4:function(){return p},QA:function(){return h},eh:function(){return y}});var r=e(17313),i=e(1950),l=e(29878),c=e(37613),f=e(83116);function o(_){return{position:_,inset:0}}const h=_=>{const{componentCls:b,antCls:S}=_;return[{[`${b}-root`]:{[`${b}${S}-zoom-enter, ${b}${S}-zoom-appear`]:{transform:"none",opacity:0,animationDuration:_.motionDurationSlow,userSelect:"none"},[`${b}${S}-zoom-leave ${b}-content`]:{pointerEvents:"none"},[`${b}-mask`]:Object.assign(Object.assign({},o("fixed")),{zIndex:_.zIndexPopupBase,height:"100%",backgroundColor:_.colorBgMask,pointerEvents:"none",[`${b}-hidden`]:{display:"none"}}),[`${b}-wrap`]:Object.assign(Object.assign({},o("fixed")),{zIndex:_.zIndexPopupBase,overflow:"auto",outline:0,WebkitOverflowScrolling:"touch",[`&:has(${b}${S}-zoom-enter), &:has(${b}${S}-zoom-appear)`]:{pointerEvents:"none"}})}},{[`${b}-root`]:(0,i.J$)(_)}]},u=_=>{const{componentCls:b}=_;return[{[`${b}-root`]:{[`${b}-wrap-rtl`]:{direction:"rtl"},[`${b}-centered`]:{textAlign:"center","&::before":{display:"inline-block",width:0,height:"100%",verticalAlign:"middle",content:'""'},[b]:{top:0,display:"inline-block",paddingBottom:0,textAlign:"start",verticalAlign:"middle"}},[`@media (max-width: ${_.screenSMMax})`]:{[b]:{maxWidth:"calc(100vw - 16px)",margin:`${_.marginXS} auto`},[`${b}-centered`]:{[b]:{flex:1}}}}},{[b]:Object.assign(Object.assign({},(0,r.Wf)(_)),{pointerEvents:"none",position:"relative",top:100,width:"auto",maxWidth:`calc(100vw - ${_.margin*2}px)`,margin:"0 auto",paddingBottom:_.paddingLG,[`${b}-title`]:{margin:0,color:_.titleColor,fontWeight:_.fontWeightStrong,fontSize:_.titleFontSize,lineHeight:_.titleLineHeight,wordWrap:"break-word"},[`${b}-content`]:{position:"relative",backgroundColor:_.contentBg,backgroundClip:"padding-box",border:0,borderRadius:_.borderRadiusLG,boxShadow:_.boxShadow,pointerEvents:"auto",padding:`${_.paddingMD}px ${_.paddingContentHorizontalLG}px`},[`${b}-close`]:Object.assign({position:"absolute",top:(_.modalHeaderHeight-_.modalCloseBtnSize)/2,insetInlineEnd:(_.modalHeaderHeight-_.modalCloseBtnSize)/2,zIndex:_.zIndexPopupBase+10,padding:0,color:_.modalCloseIconColor,fontWeight:_.fontWeightStrong,lineHeight:1,textDecoration:"none",background:"transparent",borderRadius:_.borderRadiusSM,width:_.modalCloseBtnSize,height:_.modalCloseBtnSize,border:0,outline:0,cursor:"pointer",transition:`color ${_.motionDurationMid}, background-color ${_.motionDurationMid}`,"&-x":{display:"flex",fontSize:_.fontSizeLG,fontStyle:"normal",lineHeight:`${_.modalCloseBtnSize}px`,justifyContent:"center",textTransform:"none",textRendering:"auto"},"&:hover":{color:_.modalIconHoverColor,backgroundColor:_.wireframe?"transparent":_.colorFillContent,textDecoration:"none"},"&:active":{backgroundColor:_.wireframe?"transparent":_.colorFillContentHover}},(0,r.Qy)(_)),[`${b}-header`]:{color:_.colorText,background:_.headerBg,borderRadius:`${_.borderRadiusLG}px ${_.borderRadiusLG}px 0 0`,marginBottom:_.marginXS},[`${b}-body`]:{fontSize:_.fontSize,lineHeight:_.lineHeight,wordWrap:"break-word"},[`${b}-footer`]:{textAlign:"end",background:_.footerBg,marginTop:_.marginSM,[`${_.antCls}-btn + ${_.antCls}-btn:not(${_.antCls}-dropdown-trigger)`]:{marginBottom:0,marginInlineStart:_.marginXS}},[`${b}-open`]:{overflow:"hidden"}})},{[`${b}-pure-panel`]:{top:"auto",padding:0,display:"flex",flexDirection:"column",[`${b}-content,
${b}-body,
${b}-confirm-body-wrapper`]:{display:"flex",flexDirection:"column",flex:"auto"},[`${b}-confirm-body`]:{marginBottom:"auto"}}}]},a=_=>{const{componentCls:b,antCls:S}=_,k=`${b}-confirm`;return{[b]:{[`${b}-content`]:{padding:0},[`${b}-header`]:{padding:_.modalHeaderPadding,borderBottom:`${_.modalHeaderBorderWidth}px ${_.modalHeaderBorderStyle} ${_.modalHeaderBorderColorSplit}`,marginBottom:0},[`${b}-body`]:{padding:_.modalBodyPadding},[`${b}-footer`]:{padding:`${_.modalFooterPaddingVertical}px ${_.modalFooterPaddingHorizontal}px`,borderTop:`${_.modalFooterBorderWidth}px ${_.modalFooterBorderStyle} ${_.modalFooterBorderColorSplit}`,borderRadius:`0 0 ${_.borderRadiusLG}px ${_.borderRadiusLG}px`,marginTop:0}},[k]:{[`${S}-modal-body`]:{padding:`${_.padding*2}px ${_.padding*2}px ${_.paddingLG}px`},[`${k}-body`]:{[`> ${_.iconCls}`]:{marginInlineEnd:_.margin,[`+ ${k}-title + ${k}-content`]:{marginInlineStart:_.modalConfirmIconSize+_.margin}}},[`${k}-btns`]:{marginTop:_.marginLG}}}},x=_=>{const{componentCls:b}=_;return{[`${b}-root`]:{[`${b}-wrap-rtl`]:{direction:"rtl",[`${b}-confirm-body`]:{direction:"rtl"}}}}},p=_=>{const b=_.padding,S=_.fontSizeHeading5,k=_.lineHeightHeading5;return(0,c.TS)(_,{modalBodyPadding:_.paddingLG,modalHeaderPadding:`${b}px ${_.paddingLG}px`,modalHeaderBorderWidth:_.lineWidth,modalHeaderBorderStyle:_.lineType,modalHeaderBorderColorSplit:_.colorSplit,modalHeaderHeight:k*S+b*2,modalFooterBorderColorSplit:_.colorSplit,modalFooterBorderStyle:_.lineType,modalFooterPaddingVertical:_.paddingXS,modalFooterPaddingHorizontal:_.padding,modalFooterBorderWidth:_.lineWidth,modalIconHoverColor:_.colorIconHover,modalCloseIconColor:_.colorIcon,modalCloseBtnSize:_.fontSize*_.lineHeight,modalConfirmIconSize:_.fontSize*_.lineHeight})},y=_=>({footerBg:"transparent",headerBg:_.colorBgElevated,titleLineHeight:_.lineHeightHeading5,titleFontSize:_.fontSizeHeading5,contentBg:_.colorBgElevated,titleColor:_.colorTextHeading});v.ZP=(0,f.Z)("Modal",_=>{const b=p(_);return[u(b),x(b),h(b),_.wireframe&&a(b),(0,l._y)(b,"zoom")]},y)},28909:function(d,v,e){"use strict";e.d(v,{Z:function(){return ft}});var r=e(59301),i=e(1585),l=e(92736),c=e(29679),f=e(19248),o=e(99267),h=e(96512),u=e(78987),a=e(58617),x=e(92310),p=e.n(x),y=e(581),_=e(36355),b=e(36237),S=e(17313),k=e(83116),R=e(37613),I=Qe=>{const{componentCls:Ne,width:xe,notificationMarginEdge:ke}=Qe,Ge=new b.Keyframes("antNotificationTopFadeIn",{"0%":{marginTop:"-100%",opacity:0},"100%":{marginTop:0,opacity:1}}),He=new b.Keyframes("antNotificationBottomFadeIn",{"0%":{marginBottom:"-100%",opacity:0},"100%":{marginBottom:0,opacity:1}}),Ye=new b.Keyframes("antNotificationLeftFadeIn",{"0%":{right:{_skip_check_:!0,value:xe},opacity:0},"100%":{right:{_skip_check_:!0,value:0},opacity:1}});return{[`&${Ne}-top, &${Ne}-bottom`]:{marginInline:0},[`&${Ne}-top`]:{[`${Ne}-fade-enter${Ne}-fade-enter-active, ${Ne}-fade-appear${Ne}-fade-appear-active`]:{animationName:Ge}},[`&${Ne}-bottom`]:{[`${Ne}-fade-enter${Ne}-fade-enter-active, ${Ne}-fade-appear${Ne}-fade-appear-active`]:{animationName:He}},[`&${Ne}-topLeft, &${Ne}-bottomLeft`]:{marginInlineEnd:0,marginInlineStart:ke,[`${Ne}-fade-enter${Ne}-fade-enter-active, ${Ne}-fade-appear${Ne}-fade-appear-active`]:{animationName:Ye}}}};const M=Qe=>{const{iconCls:Ne,componentCls:xe,boxShadow:ke,fontSizeLG:Ge,notificationMarginBottom:He,borderRadiusLG:Ye,colorSuccess:dt,colorInfo:xt,colorWarning:nr,colorError:qt,colorTextHeading:Me,notificationBg:qe,notificationPadding:Vt,notificationMarginEdge:Rt,motionDurationMid:zt,motionEaseInOut:Ht,fontSize:Ct,lineHeight:Xt,width:ze,notificationIconSize:ce,colorText:pe}=Qe,It=`${xe}-notice`,Te=new b.Keyframes("antNotificationFadeIn",{"0%":{left:{_skip_check_:!0,value:ze},opacity:0},"100%":{left:{_skip_check_:!0,value:0},opacity:1}}),ct=new b.Keyframes("antNotificationFadeOut",{"0%":{maxHeight:Qe.animationMaxHeight,marginBottom:He,opacity:1},"100%":{maxHeight:0,marginBottom:0,paddingTop:0,paddingBottom:0,opacity:0}}),Wt={position:"relative",width:ze,maxWidth:`calc(100vw - ${Rt*2}px)`,marginBottom:He,marginInlineStart:"auto",padding:Vt,overflow:"hidden",lineHeight:Xt,wordWrap:"break-word",background:qe,borderRadius:Ye,boxShadow:ke,[`${xe}-close-icon`]:{fontSize:Ct,cursor:"pointer"},[`${It}-message`]:{marginBottom:Qe.marginXS,color:Me,fontSize:Ge,lineHeight:Qe.lineHeightLG},[`${It}-description`]:{fontSize:Ct,color:pe},[`&${It}-closable ${It}-message`]:{paddingInlineEnd:Qe.paddingLG},[`${It}-with-icon ${It}-message`]:{marginBottom:Qe.marginXS,marginInlineStart:Qe.marginSM+ce,fontSize:Ge},[`${It}-with-icon ${It}-description`]:{marginInlineStart:Qe.marginSM+ce,fontSize:Ct},[`${It}-icon`]:{position:"absolute",fontSize:ce,lineHeight:0,[`&-success${Ne}`]:{color:dt},[`&-info${Ne}`]:{color:xt},[`&-warning${Ne}`]:{color:nr},[`&-error${Ne}`]:{color:qt}},[`${It}-close`]:{position:"absolute",top:Qe.notificationPaddingVertical,insetInlineEnd:Qe.notificationPaddingHorizontal,color:Qe.colorIcon,outline:"none",width:Qe.notificationCloseButtonSize,height:Qe.notificationCloseButtonSize,borderRadius:Qe.borderRadiusSM,transition:`background-color ${Qe.motionDurationMid}, color ${Qe.motionDurationMid}`,display:"flex",alignItems:"center",justifyContent:"center","&:hover":{color:Qe.colorIconHover,backgroundColor:Qe.wireframe?"transparent":Qe.colorFillContent}},[`${It}-btn`]:{float:"right",marginTop:Qe.marginSM}};return[{[xe]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,S.Wf)(Qe)),{position:"fixed",zIndex:Qe.zIndexPopup,marginInlineEnd:Rt,[`${xe}-hook-holder`]:{position:"relative"},[`&${xe}-top, &${xe}-bottom`]:{[It]:{marginInline:"auto auto"}},[`&${xe}-topLeft, &${xe}-bottomLeft`]:{[It]:{marginInlineEnd:"auto",marginInlineStart:0}},[`${xe}-fade-enter, ${xe}-fade-appear`]:{animationDuration:Qe.motionDurationMid,animationTimingFunction:Ht,animationFillMode:"both",opacity:0,animationPlayState:"paused"},[`${xe}-fade-leave`]:{animationTimingFunction:Ht,animationFillMode:"both",animationDuration:zt,animationPlayState:"paused"},[`${xe}-fade-enter${xe}-fade-enter-active, ${xe}-fade-appear${xe}-fade-appear-active`]:{animationName:Te,animationPlayState:"running"},[`${xe}-fade-leave${xe}-fade-leave-active`]:{animationName:ct,animationPlayState:"running"}}),I(Qe)),{"&-rtl":{direction:"rtl",[`${It}-btn`]:{float:"left"}}})},{[xe]:{[It]:Object.assign({},Wt)}},{[`${It}-pure-panel`]:Object.assign(Object.assign({},Wt),{margin:0})}]};var B=(0,k.Z)("Notification",Qe=>{const Ne=Qe.paddingMD,xe=Qe.paddingLG,ke=(0,R.TS)(Qe,{notificationBg:Qe.colorBgElevated,notificationPaddingVertical:Ne,notificationPaddingHorizontal:xe,notificationIconSize:Qe.fontSizeLG*Qe.lineHeightLG,notificationCloseButtonSize:Qe.controlHeightLG*.55,notificationMarginBottom:Qe.margin,notificationPadding:`${Qe.paddingMD}px ${Qe.paddingContentHorizontalLG}px`,notificationMarginEdge:Qe.marginLG,animationMaxHeight:150});return[M(ke)]},Qe=>({zIndexPopup:Qe.zIndexPopupBase+50,width:384})),N=function(Qe,Ne){var xe={};for(var ke in Qe)Object.prototype.hasOwnProperty.call(Qe,ke)&&Ne.indexOf(ke)<0&&(xe[ke]=Qe[ke]);if(Qe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ge=0,ke=Object.getOwnPropertySymbols(Qe);Ge<ke.length;Ge++)Ne.indexOf(ke[Ge])<0&&Object.prototype.propertyIsEnumerable.call(Qe,ke[Ge])&&(xe[ke[Ge]]=Qe[ke[Ge]]);return xe};const V={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 W(Qe,Ne){return Ne===null||Ne===!1?null:Ne||r.createElement("span",{className:`${Qe}-close-x`},r.createElement(o.Z,{className:`${Qe}-close-icon`}))}const H={success:c.Z,info:u.Z,error:f.Z,warning:h.Z},ae=Qe=>{const{prefixCls:Ne,icon:xe,type:ke,message:Ge,description:He,btn:Ye,role:dt="alert"}=Qe;let xt=null;return xe?xt=r.createElement("span",{className:`${Ne}-icon`},xe):ke&&(xt=r.createElement(H[ke]||null,{className:p()(`${Ne}-icon`,`${Ne}-icon-${ke}`)})),r.createElement("div",{className:p()({[`${Ne}-with-icon`]:xt}),role:dt},xt,r.createElement("div",{className:`${Ne}-message`},Ge),r.createElement("div",{className:`${Ne}-description`},He),Ye&&r.createElement("div",{className:`${Ne}-btn`},Ye))};var oe=Qe=>{const{prefixCls:Ne,className:xe,icon:ke,type:Ge,message:He,description:Ye,btn:dt,closable:xt=!0,closeIcon:nr}=Qe,qt=N(Qe,["prefixCls","className","icon","type","message","description","btn","closable","closeIcon"]),{getPrefixCls:Me}=r.useContext(_.E_),qe=Ne||Me("notification"),Vt=`${qe}-notice`,[,Rt]=B(qe);return r.createElement(y.qX,Object.assign({},qt,{prefixCls:qe,className:p()(xe,Rt,`${Vt}-pure-panel`),eventKey:"pure",duration:null,closable:xt,closeIcon:W(qe,nr),content:r.createElement(ae,{prefixCls:Vt,icon:ke,type:Ge,message:He,description:Ye,btn:dt})}))};function J(Qe,Ne,xe){let ke;switch(Qe){case"top":ke={left:"50%",transform:"translateX(-50%)",right:"auto",top:Ne,bottom:"auto"};break;case"topLeft":ke={left:0,top:Ne,bottom:"auto"};break;case"topRight":ke={right:0,top:Ne,bottom:"auto"};break;case"bottom":ke={left:"50%",transform:"translateX(-50%)",right:"auto",top:"auto",bottom:xe};break;case"bottomLeft":ke={left:0,top:"auto",bottom:xe};break;default:ke={right:0,top:"auto",bottom:xe};break}return ke}function q(Qe){return{motionName:`${Qe}-fade`}}var K=function(Qe,Ne){var xe={};for(var ke in Qe)Object.prototype.hasOwnProperty.call(Qe,ke)&&Ne.indexOf(ke)<0&&(xe[ke]=Qe[ke]);if(Qe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ge=0,ke=Object.getOwnPropertySymbols(Qe);Ge<ke.length;Ge++)Ne.indexOf(ke[Ge])<0&&Object.prototype.propertyIsEnumerable.call(Qe,ke[Ge])&&(xe[ke[Ge]]=Qe[ke[Ge]]);return xe};const se=24,ee=4.5,Q="topRight",le=Qe=>{let{children:Ne,prefixCls:xe}=Qe;const[,ke]=B(xe);return r.createElement(y.JB,{classNames:{list:ke,notice:ke}},Ne)},z=(Qe,Ne)=>{let{prefixCls:xe,key:ke}=Ne;return r.createElement(le,{prefixCls:xe,key:ke},Qe)},$=r.forwardRef((Qe,Ne)=>{const{top:xe,bottom:ke,prefixCls:Ge,getContainer:He,maxCount:Ye,rtl:dt,onAllRemoved:xt}=Qe,{getPrefixCls:nr,getPopupContainer:qt,notification:Me}=r.useContext(_.E_),qe=Ge||nr("notification"),Vt=Xt=>J(Xt,xe!=null?xe:se,ke!=null?ke:se),Rt=()=>p()({[`${qe}-rtl`]:dt}),zt=()=>q(qe),[Ht,Ct]=(0,y.lm)({prefixCls:qe,style:Vt,className:Rt,motion:zt,closable:!0,closeIcon:W(qe),duration:ee,getContainer:()=>(He==null?void 0:He())||(qt==null?void 0:qt())||document.body,maxCount:Ye,onAllRemoved:xt,renderNotifications:z});return r.useImperativeHandle(Ne,()=>Object.assign(Object.assign({},Ht),{prefixCls:qe,notification:Me})),Ct});function ie(Qe){const Ne=r.useRef(null);return[r.useMemo(()=>{const ke=dt=>{var xt;if(!Ne.current)return;const{open:nr,prefixCls:qt,notification:Me}=Ne.current,qe=`${qt}-notice`,{message:Vt,description:Rt,icon:zt,type:Ht,btn:Ct,className:Xt,style:ze,role:ce="alert",closeIcon:pe}=dt,It=K(dt,["message","description","icon","type","btn","className","style","role","closeIcon"]),Te=W(qe,pe);return nr(Object.assign(Object.assign({placement:(xt=Qe==null?void 0:Qe.placement)!==null&&xt!==void 0?xt:Q},It),{content:r.createElement(ae,{prefixCls:qe,icon:zt,type:Ht,message:Vt,description:Rt,btn:Ct,role:ce}),className:p()(Ht&&`${qe}-${Ht}`,Xt,Me==null?void 0:Me.className),style:Object.assign(Object.assign({},Me==null?void 0:Me.style),ze),closeIcon:Te,closable:!!Te}))},He={open:ke,destroy:dt=>{var xt,nr;dt!==void 0?(xt=Ne.current)===null||xt===void 0||xt.close(dt):(nr=Ne.current)===null||nr===void 0||nr.destroy()}};return["success","info","warning","error"].forEach(dt=>{He[dt]=xt=>ke(Object.assign(Object.assign({},xt),{type:dt}))}),He},[]),r.createElement($,Object.assign({key:"notification-holder"},Qe,{ref:Ne}))]}function _e(Qe){return ie(Qe)}let Ae=null,Pe=Qe=>Qe(),We=[],$e={};function Lt(){const{prefixCls:Qe,getContainer:Ne,rtl:xe,maxCount:ke,top:Ge,bottom:He}=$e,Ye=Qe!=null?Qe:(0,l.w6)().getPrefixCls("notification"),dt=(Ne==null?void 0:Ne())||document.body;return{prefixCls:Ye,getContainer:()=>dt,rtl:xe,maxCount:ke,top:Ge,bottom:He}}const bt=r.forwardRef((Qe,Ne)=>{const[xe,ke]=r.useState(Lt),[Ge,He]=ie(xe),Ye=(0,l.w6)(),dt=Ye.getRootPrefixCls(),xt=Ye.getIconPrefixCls(),nr=Ye.getTheme(),qt=()=>{ke(Lt)};return r.useEffect(qt,[]),r.useImperativeHandle(Ne,()=>{const Me=Object.assign({},Ge);return Object.keys(Me).forEach(qe=>{Me[qe]=function(){return qt(),Ge[qe].apply(Ge,arguments)}}),{instance:Me,sync:qt}}),r.createElement(l.ZP,{prefixCls:dt,iconPrefixCls:xt,theme:nr},He)});function kt(){if(!Ae){const Qe=document.createDocumentFragment(),Ne={fragment:Qe};Ae=Ne,Pe(()=>{(0,i.s)(r.createElement(bt,{ref:xe=>{const{instance:ke,sync:Ge}=xe||{};Promise.resolve().then(()=>{!Ne.instance&&ke&&(Ne.instance=ke,Ne.sync=Ge,kt())})}}),Qe)});return}Ae.instance&&(We.forEach(Qe=>{switch(Qe.type){case"open":{Pe(()=>{Ae.instance.open(Object.assign(Object.assign({},$e),Qe.config))});break}case"destroy":Pe(()=>{Ae==null||Ae.instance.destroy(Qe.key)});break}}),We=[])}function Zt(Qe){$e=Object.assign(Object.assign({},$e),Qe),Pe(()=>{var Ne;(Ne=Ae==null?void 0:Ae.sync)===null||Ne===void 0||Ne.call(Ae)})}function Mt(Qe){We.push({type:"open",config:Qe}),kt()}function tr(Qe){We.push({type:"destroy",key:Qe}),kt()}const je=["success","info","warning","error"],Ft={open:Mt,destroy:tr,config:Zt,useNotification:_e,_InternalPanelDoNotUseOrYouWillBeFired:oe};je.forEach(Qe=>{Ft[Qe]=Ne=>Mt(Object.assign(Object.assign({},Ne),{type:Qe}))});const tt=()=>{};let gt=null;var ft=Ft},95237:function(d,v,e){"use strict";var r=e(27382);v.Z=r.Z},33234:function(d,v,e){"use strict";e.d(v,{BR:function(){return p},ri:function(){return x}});var r=e(92310),i=e.n(r),l=e(11592),c=e(59301),f=e(36355),o=e(19716),h=e(2856),u=function(b,S){var k={};for(var R in b)Object.prototype.hasOwnProperty.call(b,R)&&S.indexOf(R)<0&&(k[R]=b[R]);if(b!=null&&typeof Object.getOwnPropertySymbols=="function")for(var A=0,R=Object.getOwnPropertySymbols(b);A<R.length;A++)S.indexOf(R[A])<0&&Object.prototype.propertyIsEnumerable.call(b,R[A])&&(k[R[A]]=b[R[A]]);return k};const a=c.createContext(null),x=(b,S)=>{const k=c.useContext(a),R=c.useMemo(()=>{if(!k)return"";const{compactDirection:A,isFirstItem:I,isLastItem:M}=k,B=A==="vertical"?"-vertical-":"-";return i()(`${b}-compact${B}item`,{[`${b}-compact${B}first-item`]:I,[`${b}-compact${B}last-item`]:M,[`${b}-compact${B}item-rtl`]:S==="rtl"})},[b,S,k]);return{compactSize:k==null?void 0:k.compactSize,compactDirection:k==null?void 0:k.compactDirection,compactItemClassnames:R}},p=b=>{let{children:S}=b;return c.createElement(a.Provider,{value:null},S)},y=b=>{var{children:S}=b,k=u(b,["children"]);return c.createElement(a.Provider,{value:k},S)},_=b=>{const{getPrefixCls:S,direction:k}=c.useContext(f.E_),{size:R,direction:A,block:I,prefixCls:M,className:B,rootClassName:N,children:V}=b,W=u(b,["size","direction","block","prefixCls","className","rootClassName","children"]),H=(0,o.Z)(ee=>R!=null?R:ee),ae=S("space-compact",M),[ne,oe]=(0,h.Z)(ae),J=i()(ae,oe,{[`${ae}-rtl`]:k==="rtl",[`${ae}-block`]:I,[`${ae}-vertical`]:A==="vertical"},B,N),q=c.useContext(a),K=(0,l.Z)(V),se=c.useMemo(()=>K.map((ee,Q)=>{const le=ee&&ee.key||`${ae}-item-${Q}`;return c.createElement(y,{key:le,compactSize:H,compactDirection:A,isFirstItem:Q===0&&(!q||(q==null?void 0:q.isFirstItem)),isLastItem:Q===K.length-1&&(!q||(q==null?void 0:q.isLastItem))},ee)}),[R,K,q]);return K.length===0?null:ne(c.createElement("div",Object.assign({className:J},W),se))};v.ZP=_},2856:function(d,v,e){"use strict";e.d(v,{Z:function(){return h}});var r=e(83116),i=e(37613),c=u=>{const{componentCls:a}=u;return{[a]:{"&-block":{display:"flex",width:"100%"},"&-vertical":{flexDirection:"column"}}}};const f=u=>{const{componentCls:a}=u;return{[a]:{display:"inline-flex","&-rtl":{direction:"rtl"},"&-vertical":{flexDirection:"column"},"&-align":{flexDirection:"column","&-center":{alignItems:"center"},"&-start":{alignItems:"flex-start"},"&-end":{alignItems:"flex-end"},"&-baseline":{alignItems:"baseline"}},[`${a}-item:empty`]:{display:"none"}}}},o=u=>{const{componentCls:a}=u;return{[a]:{"&-gap-row-small":{rowGap:u.spaceGapSmallSize},"&-gap-row-middle":{rowGap:u.spaceGapMiddleSize},"&-gap-row-large":{rowGap:u.spaceGapLargeSize},"&-gap-col-small":{columnGap:u.spaceGapSmallSize},"&-gap-col-middle":{columnGap:u.spaceGapMiddleSize},"&-gap-col-large":{columnGap:u.spaceGapLargeSize}}}};var h=(0,r.Z)("Space",u=>{const a=(0,i.TS)(u,{spaceGapSmallSize:u.paddingXS,spaceGapMiddleSize:u.padding,spaceGapLargeSize:u.paddingLG});return[f(a),o(a),c(a)]},()=>({}),{resetStyle:!1})},71418:function(d,v,e){"use strict";e.d(v,{Z:function(){return V}});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=W=>({[`${W.componentCls}`]:Object.assign(Object.assign({},(0,a.Wf)(W)),{position:"absolute",display:"none",color:W.colorPrimary,fontSize:0,textAlign:"center",verticalAlign:"middle",opacity:0,transition:`transform ${W.motionDurationSlow} ${W.motionEaseInOutCirc}`,"&-spinning":{position:"static",display:"inline-block",opacity:1},"&-nested-loading":{position:"relative",[`> div > ${W.componentCls}`]:{position:"absolute",top:0,insetInlineStart:0,zIndex:4,display:"block",width:"100%",height:"100%",maxHeight:W.contentHeight,[`${W.componentCls}-dot`]:{position:"absolute",top:"50%",insetInlineStart:"50%",margin:-W.dotSize/2},[`${W.componentCls}-text`]:{position:"absolute",top:"50%",width:"100%",paddingTop:(W.dotSize-W.fontSize)/2+2,textShadow:`0 1px 2px ${W.colorBgContainer}`,fontSize:W.fontSize},[`&${W.componentCls}-show-text ${W.componentCls}-dot`]:{marginTop:-(W.dotSize/2)-10},"&-sm":{[`${W.componentCls}-dot`]:{margin:-W.dotSizeSM/2},[`${W.componentCls}-text`]:{paddingTop:(W.dotSizeSM-W.fontSize)/2+2},[`&${W.componentCls}-show-text ${W.componentCls}-dot`]:{marginTop:-(W.dotSizeSM/2)-10}},"&-lg":{[`${W.componentCls}-dot`]:{margin:-(W.dotSizeLG/2)},[`${W.componentCls}-text`]:{paddingTop:(W.dotSizeLG-W.fontSize)/2+2},[`&${W.componentCls}-show-text ${W.componentCls}-dot`]:{marginTop:-(W.dotSizeLG/2)-10}}},[`${W.componentCls}-container`]:{position:"relative",transition:`opacity ${W.motionDurationSlow}`,"&::after":{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,zIndex:10,width:"100%",height:"100%",background:W.colorBgContainer,opacity:0,transition:`all ${W.motionDurationSlow}`,content:'""',pointerEvents:"none"}},[`${W.componentCls}-blur`]:{clear:"both",opacity:.5,userSelect:"none",pointerEvents:"none","&::after":{opacity:.4,pointerEvents:"auto"}}},"&-tip":{color:W.spinDotDefault},[`${W.componentCls}-dot`]:{position:"relative",display:"inline-block",fontSize:W.dotSize,width:"1em",height:"1em","&-item":{position:"absolute",display:"block",width:(W.dotSize-W.marginXXS/2)/2,height:(W.dotSize-W.marginXXS/2)/2,backgroundColor:W.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 ${W.componentCls}-dot`]:{fontSize:W.dotSizeSM,i:{width:(W.dotSizeSM-W.marginXXS/2)/2,height:(W.dotSizeSM-W.marginXXS/2)/2}},[`&-lg ${W.componentCls}-dot`]:{fontSize:W.dotSizeLG,i:{width:(W.dotSizeLG-W.marginXXS)/2,height:(W.dotSizeLG-W.marginXXS)/2}},[`&${W.componentCls}-show-text ${W.componentCls}-text`]:{display:"block"}})});var S=(0,x.Z)("Spin",W=>{const H=(0,p.TS)(W,{spinDotDefault:W.colorTextDescription});return[b(H)]},W=>({contentHeight:400,dotSize:W.controlHeightLG/2,dotSizeSM:W.controlHeightLG*.35,dotSizeLG:W.controlHeight})),k=function(W,H){var ae={};for(var ne in W)Object.prototype.hasOwnProperty.call(W,ne)&&H.indexOf(ne)<0&&(ae[ne]=W[ne]);if(W!=null&&typeof Object.getOwnPropertySymbols=="function")for(var oe=0,ne=Object.getOwnPropertySymbols(W);oe<ne.length;oe++)H.indexOf(ne[oe])<0&&Object.prototype.propertyIsEnumerable.call(W,ne[oe])&&(ae[ne[oe]]=W[ne[oe]]);return ae};const R=null;let A=null;function I(W,H){const{indicator:ae}=H,ne=`${W}-dot`;return ae===null?null:(0,o.l$)(ae)?(0,o.Tm)(ae,{className:i()(ae.props.className,ne)}):(0,o.l$)(A)?(0,o.Tm)(A,{className:i()(A.props.className,ne)}):c.createElement("span",{className:i()(ne,`${W}-dot-spin`)},c.createElement("i",{className:`${W}-dot-item`,key:1}),c.createElement("i",{className:`${W}-dot-item`,key:2}),c.createElement("i",{className:`${W}-dot-item`,key:3}),c.createElement("i",{className:`${W}-dot-item`,key:4}))}function M(W,H){return!!W&&!!H&&!isNaN(Number(H))}const B=W=>{const{spinPrefixCls:H,spinning:ae=!0,delay:ne=0,className:oe,rootClassName:J,size:q="default",tip:K,wrapperClassName:se,style:ee,children:Q,hashId:le}=W,z=k(W,["spinPrefixCls","spinning","delay","className","rootClassName","size","tip","wrapperClassName","style","children","hashId"]),[$,ie]=c.useState(()=>ae&&!M(ae,ne));c.useEffect(()=>{if(ae){const Zt=(0,f.D)(ne,()=>{ie(!0)});return Zt(),()=>{var Mt;(Mt=Zt==null?void 0:Zt.cancel)===null||Mt===void 0||Mt.call(Zt)}}ie(!1)},[ne,ae]);const _e=c.useMemo(()=>typeof Q!="undefined",[Q]),{direction:Ae,spin:Pe}=c.useContext(h.E_),We=i()(H,Pe==null?void 0:Pe.className,{[`${H}-sm`]:q==="small",[`${H}-lg`]:q==="large",[`${H}-spinning`]:$,[`${H}-show-text`]:!!K,[`${H}-rtl`]:Ae==="rtl"},oe,J,le),$e=i()(`${H}-container`,{[`${H}-blur`]:$}),Lt=(0,l.Z)(z,["indicator","prefixCls"]),bt=Object.assign(Object.assign({},Pe==null?void 0:Pe.style),ee),kt=c.createElement("div",Object.assign({},Lt,{style:bt,className:We,"aria-live":"polite","aria-busy":$}),I(H,W),K&&_e?c.createElement("div",{className:`${H}-text`},K):null);return _e?c.createElement("div",Object.assign({},Lt,{className:i()(`${H}-nested-loading`,se,le)}),$&&c.createElement("div",{key:"loading"},kt),c.createElement("div",{className:$e,key:"container"},Q)):kt},N=W=>{const{prefixCls:H}=W,{getPrefixCls:ae}=c.useContext(h.E_),ne=ae("spin",H),[oe,J]=S(ne),q=Object.assign(Object.assign({},W),{spinPrefixCls:ne,hashId:J});return oe(c.createElement(B,Object.assign({},q)))};N.setDefaultIndicator=W=>{A=W};var V=N},74207:function(d,v,e){"use strict";e.d(v,{c:function(){return l}});function r(c,f,o){const{focusElCls:h,focus:u,borderElCls:a}=o,x=a?"> *":"",p=["hover",u?"focus":null,"active"].filter(Boolean).map(y=>`&:${y} ${x}`).join(",");return{[`&-item:not(${f}-last-item)`]:{marginInlineEnd:-c.lineWidth},"&-item":Object.assign(Object.assign({[p]:{zIndex:2}},h?{[`&${h}`]:{zIndex:2}}:{}),{[`&[disabled] ${x}`]:{zIndex:0}})}}function i(c,f,o){const{borderElCls:h}=o,u=h?`> ${h}`:"";return{[`&-item:not(${f}-first-item):not(${f}-last-item) ${u}`]:{borderRadius:0},[`&-item:not(${f}-last-item)${f}-first-item`]:{[`& ${u}, &${c}-sm ${u}, &${c}-lg ${u}`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`&-item:not(${f}-first-item)${f}-last-item`]:{[`& ${u}, &${c}-sm ${u}, &${c}-lg ${u}`]:{borderStartStartRadius:0,borderEndStartRadius:0}}}}function l(c){let f=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{focus:!0};const{componentCls:o}=c,h=`${o}-compact`;return{[h]:Object.assign(Object.assign({},r(c,h,f)),i(o,h,f))}}},17313:function(d,v,e){"use strict";e.d(v,{Lx:function(){return f},Qy:function(){return u},Ro:function(){return l},Wf:function(){return i},dF:function(){return c},du:function(){return o},oN:function(){return h},vS:function(){return r}});const r={overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"},i=a=>({boxSizing:"border-box",margin:0,padding:0,color:a.colorText,fontSize:a.fontSize,lineHeight:a.lineHeight,listStyle:"none",fontFamily:a.fontFamily}),l=()=>({display:"inline-flex",alignItems:"center",color:"inherit",fontStyle:"normal",lineHeight:0,textAlign:"center",textTransform:"none",verticalAlign:"-0.125em",textRendering:"optimizeLegibility","-webkit-font-smoothing":"antialiased","-moz-osx-font-smoothing":"grayscale","> *":{lineHeight:1},svg:{display:"inline-block"}}),c=()=>({"&::before":{display:"table",content:'""'},"&::after":{display:"table",clear:"both",content:'""'}}),f=a=>({a:{color:a.colorLink,textDecoration:a.linkDecoration,backgroundColor:"transparent",outline:"none",cursor:"pointer",transition:`color ${a.motionDurationSlow}`,"-webkit-text-decoration-skip":"objects","&:hover":{color:a.colorLinkHover},"&:active":{color:a.colorLinkActive},"&:active,\n &:hover":{textDecoration:a.linkHoverDecoration,outline:0},"&:focus":{textDecoration:a.linkFocusDecoration,outline:0},"&[disabled]":{color:a.colorTextDisabled,cursor:"not-allowed"}}}),o=(a,x)=>{const{fontFamily:p,fontSize:y}=a,_=`[class^="${x}"], [class*=" ${x}"]`;return{[_]:{fontFamily:p,fontSize:y,boxSizing:"border-box","&::before, &::after":{boxSizing:"border-box"},[_]:{boxSizing:"border-box","&::before, &::after":{boxSizing:"border-box"}}}}},h=a=>({outline:`${a.lineWidthFocus}px solid ${a.colorPrimaryBorder}`,outlineOffset:1,transition:"outline-offset 0s, outline 0s"}),u=a=>({"&:focus-visible":Object.assign({},h(a))})},1950:function(d,v,e){"use strict";e.d(v,{J$:function(){return f}});var r=e(36237),i=e(95406);const l=new r.Keyframes("antFadeIn",{"0%":{opacity:0},"100%":{opacity:1}}),c=new r.Keyframes("antFadeOut",{"0%":{opacity:1},"100%":{opacity:0}}),f=function(o){let h=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;const{antCls:u}=o,a=`${u}-fade`,x=h?"&":"";return[(0,i.R)(a,l,c,o.motionDurationMid,h),{[`
${x}${a}-enter,
${x}${a}-appear
`]:{opacity:0,animationTimingFunction:"linear"},[`${x}${a}-leave`]:{animationTimingFunction:"linear"}}]}},95406:function(d,v,e){"use strict";e.d(v,{R:function(){return l}});const r=c=>({animationDuration:c,animationFillMode:"both"}),i=c=>({animationDuration:c,animationFillMode:"both"}),l=function(c,f,o,h){const a=(arguments.length>4&&arguments[4]!==void 0?arguments[4]:!1)?"&":"";return{[`
${a}${c}-enter,
${a}${c}-appear
`]:Object.assign(Object.assign({},r(h)),{animationPlayState:"paused"}),[`${a}${c}-leave`]:Object.assign(Object.assign({},i(h)),{animationPlayState:"paused"}),[`
${a}${c}-enter${c}-enter-active,
${a}${c}-appear${c}-appear-active
`]:{animationName:f,animationPlayState:"running"},[`${a}${c}-leave${c}-leave-active`]:{animationName:o,animationPlayState:"running",pointerEvents:"none"}}}},29878:function(d,v,e){"use strict";e.d(v,{_y:function(){return k},kr:function(){return l}});var r=e(36237),i=e(95406);const l=new r.Keyframes("antZoomIn",{"0%":{transform:"scale(0.2)",opacity:0},"100%":{transform:"scale(1)",opacity:1}}),c=new r.Keyframes("antZoomOut",{"0%":{transform:"scale(1)"},"100%":{transform:"scale(0.2)",opacity:0}}),f=new r.Keyframes("antZoomBigIn",{"0%":{transform:"scale(0.8)",opacity:0},"100%":{transform:"scale(1)",opacity:1}}),o=new r.Keyframes("antZoomBigOut",{"0%":{transform:"scale(1)"},"100%":{transform:"scale(0.8)",opacity:0}}),h=new r.Keyframes("antZoomUpIn",{"0%":{transform:"scale(0.8)",transformOrigin:"50% 0%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"50% 0%"}}),u=new r.Keyframes("antZoomUpOut",{"0%":{transform:"scale(1)",transformOrigin:"50% 0%"},"100%":{transform:"scale(0.8)",transformOrigin:"50% 0%",opacity:0}}),a=new r.Keyframes("antZoomLeftIn",{"0%":{transform:"scale(0.8)",transformOrigin:"0% 50%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"0% 50%"}}),x=new r.Keyframes("antZoomLeftOut",{"0%":{transform:"scale(1)",transformOrigin:"0% 50%"},"100%":{transform:"scale(0.8)",transformOrigin:"0% 50%",opacity:0}}),p=new r.Keyframes("antZoomRightIn",{"0%":{transform:"scale(0.8)",transformOrigin:"100% 50%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"100% 50%"}}),y=new r.Keyframes("antZoomRightOut",{"0%":{transform:"scale(1)",transformOrigin:"100% 50%"},"100%":{transform:"scale(0.8)",transformOrigin:"100% 50%",opacity:0}}),_=new r.Keyframes("antZoomDownIn",{"0%":{transform:"scale(0.8)",transformOrigin:"50% 100%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"50% 100%"}}),b=new r.Keyframes("antZoomDownOut",{"0%":{transform:"scale(1)",transformOrigin:"50% 100%"},"100%":{transform:"scale(0.8)",transformOrigin:"50% 100%",opacity:0}}),S={zoom:{inKeyframes:l,outKeyframes:c},"zoom-big":{inKeyframes:f,outKeyframes:o},"zoom-big-fast":{inKeyframes:f,outKeyframes:o},"zoom-left":{inKeyframes:a,outKeyframes:x},"zoom-right":{inKeyframes:p,outKeyframes:y},"zoom-up":{inKeyframes:h,outKeyframes:u},"zoom-down":{inKeyframes:_,outKeyframes:b}},k=(R,A)=>{const{antCls:I}=R,M=`${I}-${A}`,{inKeyframes:B,outKeyframes:N}=S[A];return[(0,i.R)(M,B,N,A==="zoom-big-fast"?R.motionDurationFast:R.motionDurationMid),{[`
${M}-enter,
${M}-appear
`]:{transform:"scale(0)",opacity:0,animationTimingFunction:R.motionEaseOutCirc,"&-prepare":{transform:"none"}},[`${M}-leave`]:{animationTimingFunction:R.motionEaseInOutCirc}}]}},19447:function(d,v,e){"use strict";e.d(v,{ZP:function(){return f},fS:function(){return l},qN:function(){return i}});var r=e(47585);const i=8;function l(o){const h=i,{contentRadius:u,limitVerticalRadius:a}=o,x=u>12?u+2:12;return{dropdownArrowOffset:x,dropdownArrowOffsetVertical:a?h:x}}function c(o,h){return o?h:{}}function f(o,h){const{componentCls:u,sizePopupArrow:a,borderRadiusXS:x,borderRadiusOuter:p,boxShadowPopoverArrow:y}=o,{colorBg:_,contentRadius:b=o.borderRadiusLG,limitVerticalRadius:S,arrowDistance:k=0,arrowPlacement:R={left:!0,right:!0,top:!0,bottom:!0}}=h,{dropdownArrowOffsetVertical:A,dropdownArrowOffset:I}=l({contentRadius:b,limitVerticalRadius:S});return{[u]:Object.assign(Object.assign(Object.assign(Object.assign({[`${u}-arrow`]:[Object.assign(Object.assign({position:"absolute",zIndex:1,display:"block"},(0,r.r)(a,x,p,_,y)),{"&:before":{background:_}})]},c(!!R.top,{[[`&-placement-top ${u}-arrow`,`&-placement-topLeft ${u}-arrow`,`&-placement-topRight ${u}-arrow`].join(",")]:{bottom:k,transform:"translateY(100%) rotate(180deg)"},[`&-placement-top ${u}-arrow`]:{left:{_skip_check_:!0,value:"50%"},transform:"translateX(-50%) translateY(100%) rotate(180deg)"},[`&-placement-topLeft ${u}-arrow`]:{left:{_skip_check_:!0,value:I}},[`&-placement-topRight ${u}-arrow`]:{right:{_skip_check_:!0,value:I}}})),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:I}},[`&-placement-bottomRight ${u}-arrow`]:{right:{_skip_check_:!0,value:I}}})),c(!!R.left,{[[`&-placement-left ${u}-arrow`,`&-placement-leftTop ${u}-arrow`,`&-placement-leftBottom ${u}-arrow`].join(",")]:{right:{_skip_check_:!0,value:k},transform:"translateX(100%) rotate(90deg)"},[`&-placement-left ${u}-arrow`]:{top:{_skip_check_:!0,value:"50%"},transform:"translateY(-50%) translateX(100%) rotate(90deg)"},[`&-placement-leftTop ${u}-arrow`]:{top:A},[`&-placement-leftBottom ${u}-arrow`]:{bottom:A}})),c(!!R.right,{[[`&-placement-right ${u}-arrow`,`&-placement-rightTop ${u}-arrow`,`&-placement-rightBottom ${u}-arrow`].join(",")]:{left:{_skip_check_:!0,value:k},transform:"translateX(-100%) rotate(-90deg)"},[`&-placement-right ${u}-arrow`]:{top:{_skip_check_:!0,value:"50%"},transform:"translateY(-50%) translateX(-100%) rotate(-90deg)"},[`&-placement-rightTop ${u}-arrow`]:{top:A},[`&-placement-rightBottom ${u}-arrow`]:{bottom:A}}))}}},47585:function(d,v,e){"use strict";e.d(v,{r:function(){return r}});const r=(i,l,c,f,o)=>{const h=i/2,u=0,a=h,x=c*1/Math.sqrt(2),p=h-c*(1-1/Math.sqrt(2)),y=h-l*(1/Math.sqrt(2)),_=c*(Math.sqrt(2)-1)+l*(1/Math.sqrt(2)),b=2*h-y,S=_,k=2*h-x,R=p,A=2*h-u,I=a,M=h*Math.sqrt(2)+c*(Math.sqrt(2)-2),B=c*(Math.sqrt(2)-1);return{pointerEvents:"none",width:i,height:i,overflow:"hidden","&::before":{position:"absolute",bottom:0,insetInlineStart:0,width:i,height:i/2,background:f,clipPath:{_multi_value_:!0,value:[`polygon(${B}px 100%, 50% ${B}px, ${2*h-B}px 100%, ${B}px 100%)`,`path('M ${u} ${a} A ${c} ${c} 0 0 0 ${x} ${p} L ${y} ${_} A ${l} ${l} 0 0 1 ${b} ${S} L ${k} ${R} A ${c} ${c} 0 0 0 ${A} ${I} 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 V},u_:function(){return N},uH:function(){return B}});var r=e(36237),i=e(59301),l=e(30071),f=W=>{const{controlHeight:H}=W;return{controlHeightSM:H*.75,controlHeightXS:H*.5,controlHeightLG:H*1.25}};function o(W){const{sizeUnit:H,sizeStep:ae}=W;return{sizeXXL:H*(ae+8),sizeXL:H*(ae+4),sizeLG:H*(ae+2),sizeMD:H*(ae+1),sizeMS:H*ae,size:H*ae,sizeSM:H*(ae-1),sizeXS:H*(ae-2),sizeXXS:H*(ae-3)}}var h=e(34117),u=e(64993);function a(W,H){let{generateColorPalettes:ae,generateNeutralColorPalettes:ne}=H;const{colorSuccess:oe,colorWarning:J,colorError:q,colorInfo:K,colorPrimary:se,colorBgBase:ee,colorTextBase:Q}=W,le=ae(se),z=ae(oe),$=ae(J),ie=ae(q),_e=ae(K),Ae=ne(ee,Q),Pe=W.colorLink||W.colorInfo,We=ae(Pe);return Object.assign(Object.assign({},Ae),{colorPrimaryBg:le[1],colorPrimaryBgHover:le[2],colorPrimaryBorder:le[3],colorPrimaryBorderHover:le[4],colorPrimaryHover:le[5],colorPrimary:le[6],colorPrimaryActive:le[7],colorPrimaryTextHover:le[8],colorPrimaryText:le[9],colorPrimaryTextActive:le[10],colorSuccessBg:z[1],colorSuccessBgHover:z[2],colorSuccessBorder:z[3],colorSuccessBorderHover:z[4],colorSuccessHover:z[4],colorSuccess:z[6],colorSuccessActive:z[7],colorSuccessTextHover:z[8],colorSuccessText:z[9],colorSuccessTextActive:z[10],colorErrorBg:ie[1],colorErrorBgHover:ie[2],colorErrorBorder:ie[3],colorErrorBorderHover:ie[4],colorErrorHover:ie[5],colorError:ie[6],colorErrorActive:ie[7],colorErrorTextHover:ie[8],colorErrorText:ie[9],colorErrorTextActive:ie[10],colorWarningBg:$[1],colorWarningBgHover:$[2],colorWarningBorder:$[3],colorWarningBorderHover:$[4],colorWarningHover:$[4],colorWarning:$[6],colorWarningActive:$[7],colorWarningTextHover:$[8],colorWarningText:$[9],colorWarningTextActive:$[10],colorInfoBg:_e[1],colorInfoBgHover:_e[2],colorInfoBorder:_e[3],colorInfoBorderHover:_e[4],colorInfoHover:_e[4],colorInfo:_e[6],colorInfoActive:_e[7],colorInfoTextHover:_e[8],colorInfoText:_e[9],colorInfoTextActive:_e[10],colorLinkHover:We[4],colorLink:We[6],colorLinkActive:We[7],colorBgMask:new u.C("#000").setAlpha(.45).toRgbString(),colorWhite:"#fff"})}var p=W=>{let H=W,ae=W,ne=W,oe=W;return W<6&&W>=5?H=W+1:W<16&&W>=6?H=W+2:W>=16&&(H=16),W<7&&W>=5?ae=4:W<8&&W>=7?ae=5:W<14&&W>=8?ae=6:W<16&&W>=14?ae=7:W>=16&&(ae=8),W<6&&W>=2?ne=1:W>=6&&(ne=2),W>4&&W<8?oe=4:W>=8&&(oe=6),{borderRadius:W>16?16:W,borderRadiusXS:ne,borderRadiusSM:ae,borderRadiusLG:H,borderRadiusOuter:oe}};function y(W){const{motionUnit:H,motionBase:ae,borderRadius:ne,lineWidth:oe}=W;return Object.assign({motionDurationFast:`${(ae+H).toFixed(1)}s`,motionDurationMid:`${(ae+H*2).toFixed(1)}s`,motionDurationSlow:`${(ae+H*3).toFixed(1)}s`,lineWidthBold:oe+1},p(ne))}const _=(W,H)=>new u.C(W).setAlpha(H).toRgbString(),b=(W,H)=>new u.C(W).darken(H).toHexString(),S=W=>{const H=(0,l.generate)(W);return{1:H[0],2:H[1],3:H[2],4:H[3],5:H[4],6:H[5],7:H[6],8:H[4],9:H[5],10:H[6]}},k=(W,H)=>{const ae=W||"#fff",ne=H||"#000";return{colorBgBase:ae,colorTextBase:ne,colorText:_(ne,.88),colorTextSecondary:_(ne,.65),colorTextTertiary:_(ne,.45),colorTextQuaternary:_(ne,.25),colorFill:_(ne,.15),colorFillSecondary:_(ne,.06),colorFillTertiary:_(ne,.04),colorFillQuaternary:_(ne,.02),colorBgLayout:b(ae,4),colorBgContainer:b(ae,0),colorBgElevated:b(ae,0),colorBgSpotlight:_(ne,.85),colorBorder:b(ae,15),colorBorderSecondary:b(ae,6)}};function R(W){const H=new Array(10).fill(null).map((ae,ne)=>{const oe=ne-1,J=W*Math.pow(2.71828,oe/5),q=ne>1?Math.floor(J):Math.ceil(J);return Math.floor(q/2)*2});return H[1]=W,H.map(ae=>{const ne=ae+8;return{size:ae,lineHeight:ne/ae}})}var I=W=>{const H=R(W),ae=H.map(oe=>oe.size),ne=H.map(oe=>oe.lineHeight);return{fontSizeSM:ae[0],fontSize:ae[1],fontSizeLG:ae[2],fontSizeXL:ae[3],fontSizeHeading1:ae[6],fontSizeHeading2:ae[5],fontSizeHeading3:ae[4],fontSizeHeading4:ae[3],fontSizeHeading5:ae[2],lineHeight:ne[1],lineHeightLG:ne[2],lineHeightSM:ne[0],lineHeightHeading1:ne[6],lineHeightHeading2:ne[5],lineHeightHeading3:ne[4],lineHeightHeading4:ne[3],lineHeightHeading5:ne[2]}};function M(W){const H=Object.keys(h.M).map(ae=>{const ne=(0,l.generate)(W[ae]);return new Array(10).fill(1).reduce((oe,J,q)=>(oe[`${ae}-${q+1}`]=ne[q],oe[`${ae}${q+1}`]=ne[q],oe),{})}).reduce((ae,ne)=>(ae=Object.assign(Object.assign({},ae),ne),ae),{});return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},W),H),a(W,{generateColorPalettes:S,generateNeutralColorPalettes:k})),I(W.fontSize)),o(W)),f(W)),y(W))}const B=(0,r.createTheme)(M),N={token:h.Z,hashed:!0},V=i.createContext(N)},33166:function(d,v,e){"use strict";e.d(v,{i:function(){return r}});const r=["blue","purple","cyan","green","magenta","pink","red","orange","yellow","volcano","geekblue","lime","gold"]},34117:function(d,v,e){"use strict";e.d(v,{M:function(){return r}});const r={blue:"#1677ff",purple:"#722ED1",cyan:"#13C2C2",green:"#52C41A",magenta:"#EB2F96",pink:"#eb2f96",red:"#F5222D",orange:"#FA8C16",yellow:"#FADB14",volcano:"#FA541C",geekblue:"#2F54EB",gold:"#FAAD14",lime:"#A0D911"},i=Object.assign(Object.assign({},r),{colorPrimary:"#1677ff",colorSuccess:"#52c41a",colorWarning:"#faad14",colorError:"#ff4d4f",colorInfo:"#1677ff",colorLink:"",colorTextBase:"",colorBgBase:"",fontFamily:`-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial,
'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol',
'Noto Color Emoji'`,fontFamilyCode:"'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, Courier, monospace",fontSize:14,lineWidth:1,lineType:"solid",motionUnit:.1,motionBase:0,motionEaseOutCirc:"cubic-bezier(0.08, 0.82, 0.17, 1)",motionEaseInOutCirc:"cubic-bezier(0.78, 0.14, 0.15, 0.86)",motionEaseOut:"cubic-bezier(0.215, 0.61, 0.355, 1)",motionEaseInOut:"cubic-bezier(0.645, 0.045, 0.355, 1)",motionEaseOutBack:"cubic-bezier(0.12, 0.4, 0.29, 1.46)",motionEaseInBack:"cubic-bezier(0.71, -0.46, 0.88, 0.6)",motionEaseInQuint:"cubic-bezier(0.755, 0.05, 0.855, 0.06)",motionEaseOutQuint:"cubic-bezier(0.23, 1, 0.32, 1)",borderRadius:6,sizeUnit:4,sizeStep:4,sizePopupArrow:16,controlHeight:32,zIndexBase:0,zIndexPopupBase:1e3,opacityImage:1,wireframe:!1,motion:!0});v.Z=i},88088:function(d,v,e){"use strict";e.d(v,{Z:function(){return S}});var r=e(36237),i=e(59301),l="5.9.0",c=l,f=e(45246),o=e(34117),h=e(64993);function u(k){return k>=0&&k<=255}function a(k,R){const{r:A,g:I,b:M,a:B}=new h.C(k).toRgb();if(B<1)return k;const{r:N,g:V,b:W}=new h.C(R).toRgb();for(let H=.01;H<=1;H+=.01){const ae=Math.round((A-N*(1-H))/H),ne=Math.round((I-V*(1-H))/H),oe=Math.round((M-W*(1-H))/H);if(u(ae)&&u(ne)&&u(oe))return new h.C({r:ae,g:ne,b:oe,a:Math.round(H*100)/100}).toRgbString()}return new h.C({r:A,g:I,b:M,a:1}).toRgbString()}var x=a,p=function(k,R){var A={};for(var I in k)Object.prototype.hasOwnProperty.call(k,I)&&R.indexOf(I)<0&&(A[I]=k[I]);if(k!=null&&typeof Object.getOwnPropertySymbols=="function")for(var M=0,I=Object.getOwnPropertySymbols(k);M<I.length;M++)R.indexOf(I[M])<0&&Object.prototype.propertyIsEnumerable.call(k,I[M])&&(A[I[M]]=k[I[M]]);return A};function y(k){const{override:R}=k,A=p(k,["override"]),I=Object.assign({},R);Object.keys(o.Z).forEach(oe=>{delete I[oe]});const M=Object.assign(Object.assign({},A),I),B=480,N=576,V=768,W=992,H=1200,ae=1600;if(M.motion===!1){const oe="0s";M.motionDurationFast=oe,M.motionDurationMid=oe,M.motionDurationSlow=oe}return Object.assign(Object.assign(Object.assign({},M),{colorFillContent:M.colorFillSecondary,colorFillContentHover:M.colorFill,colorFillAlter:M.colorFillQuaternary,colorBgContainerDisabled:M.colorFillTertiary,colorBorderBg:M.colorBgContainer,colorSplit:x(M.colorBorderSecondary,M.colorBgContainer),colorTextPlaceholder:M.colorTextQuaternary,colorTextDisabled:M.colorTextQuaternary,colorTextHeading:M.colorText,colorTextLabel:M.colorTextSecondary,colorTextDescription:M.colorTextTertiary,colorTextLightSolid:M.colorWhite,colorHighlight:M.colorError,colorBgTextHover:M.colorFillSecondary,colorBgTextActive:M.colorFill,colorIcon:M.colorTextTertiary,colorIconHover:M.colorText,colorErrorOutline:x(M.colorErrorBg,M.colorBgContainer),colorWarningOutline:x(M.colorWarningBg,M.colorBgContainer),fontSizeIcon:M.fontSizeSM,lineWidthFocus:M.lineWidth*4,lineWidth:M.lineWidth,controlOutlineWidth:M.lineWidth*2,controlInteractiveSize:M.controlHeight/2,controlItemBgHover:M.colorFillTertiary,controlItemBgActive:M.colorPrimaryBg,controlItemBgActiveHover:M.colorPrimaryBgHover,controlItemBgActiveDisabled:M.colorFill,controlTmpOutline:M.colorFillQuaternary,controlOutline:x(M.colorPrimaryBg,M.colorBgContainer),lineType:M.lineType,borderRadius:M.borderRadius,borderRadiusXS:M.borderRadiusXS,borderRadiusSM:M.borderRadiusSM,borderRadiusLG:M.borderRadiusLG,fontWeightStrong:600,opacityLoading:.65,linkDecoration:"none",linkHoverDecoration:"none",linkFocusDecoration:"none",controlPaddingHorizontal:12,controlPaddingHorizontalSM:8,paddingXXS:M.sizeXXS,paddingXS:M.sizeXS,paddingSM:M.sizeSM,padding:M.size,paddingMD:M.sizeMD,paddingLG:M.sizeLG,paddingXL:M.sizeXL,paddingContentHorizontalLG:M.sizeLG,paddingContentVerticalLG:M.sizeMS,paddingContentHorizontal:M.sizeMS,paddingContentVertical:M.sizeSM,paddingContentHorizontalSM:M.size,paddingContentVerticalSM:M.sizeXS,marginXXS:M.sizeXXS,marginXS:M.sizeXS,marginSM:M.sizeSM,margin:M.size,marginMD:M.sizeMD,marginLG:M.sizeLG,marginXL:M.sizeXL,marginXXL:M.sizeXXL,boxShadow:`
0 6px 16px 0 rgba(0, 0, 0, 0.08),
0 3px 6px -4px rgba(0, 0, 0, 0.12),
0 9px 28px 8px rgba(0, 0, 0, 0.05)
`,boxShadowSecondary:`
0 6px 16px 0 rgba(0, 0, 0, 0.08),
0 3px 6px -4px rgba(0, 0, 0, 0.12),
0 9px 28px 8px rgba(0, 0, 0, 0.05)
`,boxShadowTertiary:`
0 1px 2px 0 rgba(0, 0, 0, 0.03),
0 1px 6px -1px rgba(0, 0, 0, 0.02),
0 2px 4px 0 rgba(0, 0, 0, 0.02)
`,screenXS:B,screenXSMin:B,screenXSMax:N-1,screenSM:N,screenSMMin:N,screenSMMax:V-1,screenMD:V,screenMDMin:V,screenMDMax:W-1,screenLG:W,screenLGMin:W,screenLGMax:H-1,screenXL:H,screenXLMin:H,screenXLMax:ae-1,screenXXL:ae,screenXXLMin:ae,boxShadowPopoverArrow:"2px 2px 5px rgba(0, 0, 0, 0.05)",boxShadowCard:`
0 1px 2px -2px ${new h.C("rgba(0, 0, 0, 0.16)").toRgbString()},
0 3px 6px 0 ${new h.C("rgba(0, 0, 0, 0.12)").toRgbString()},
0 5px 12px 4px ${new h.C("rgba(0, 0, 0, 0.09)").toRgbString()}
`,boxShadowDrawerRight:`
-6px 0 16px 0 rgba(0, 0, 0, 0.08),
-3px 0 6px -4px rgba(0, 0, 0, 0.12),
-9px 0 28px 8px rgba(0, 0, 0, 0.05)
`,boxShadowDrawerLeft:`
6px 0 16px 0 rgba(0, 0, 0, 0.08),
3px 0 6px -4px rgba(0, 0, 0, 0.12),
9px 0 28px 8px rgba(0, 0, 0, 0.05)
`,boxShadowDrawerUp:`
0 6px 16px 0 rgba(0, 0, 0, 0.08),
0 3px 6px -4px rgba(0, 0, 0, 0.12),
0 9px 28px 8px rgba(0, 0, 0, 0.05)
`,boxShadowDrawerDown:`
0 -6px 16px 0 rgba(0, 0, 0, 0.08),
0 -3px 6px -4px rgba(0, 0, 0, 0.12),
0 -9px 28px 8px rgba(0, 0, 0, 0.05)
`,boxShadowTabsOverflowLeft:"inset 10px 0 8px -8px rgba(0, 0, 0, 0.08)",boxShadowTabsOverflowRight:"inset -10px 0 8px -8px rgba(0, 0, 0, 0.08)",boxShadowTabsOverflowTop:"inset 0 10px 8px -8px rgba(0, 0, 0, 0.08)",boxShadowTabsOverflowBottom:"inset 0 -10px 8px -8px rgba(0, 0, 0, 0.08)"}),I)}var _=function(k,R){var A={};for(var I in k)Object.prototype.hasOwnProperty.call(k,I)&&R.indexOf(I)<0&&(A[I]=k[I]);if(k!=null&&typeof Object.getOwnPropertySymbols=="function")for(var M=0,I=Object.getOwnPropertySymbols(k);M<I.length;M++)R.indexOf(I[M])<0&&Object.prototype.propertyIsEnumerable.call(k,I[M])&&(A[I[M]]=k[I[M]]);return A};const b=(k,R,A)=>{const I=A.getDerivativeToken(k),{override:M}=R,B=_(R,["override"]);let N=Object.assign(Object.assign({},I),{override:M});return N=y(N),B&&Object.entries(B).forEach(V=>{let[W,H]=V;const{theme:ae}=H,ne=_(H,["theme"]);let oe=ne;ae&&(oe=b(Object.assign(Object.assign({},N),ne),{override:ne},ae)),N[W]=oe}),N};function S(){const{token:k,hashed:R,theme:A,components:I}=i.useContext(f.Mj),M=`${c}-${R||""}`,B=A||f.uH,[N,V]=(0,r.useCacheToken)(B,[o.Z,k],{salt:M,override:Object.assign({override:k},I),getComputedToken:b,formatToken:y});return[B,N,R?V:""]}},83116:function(d,v,e){"use strict";e.d(v,{Z:function(){return a},b:function(){return x}});var r=e(59301),i=e(36237),l=e(70425),c=e(36355),f=e(17313),o=e(88088),h=e(37613),u=e(73040);function a(p,y,_){let b=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};const S=Array.isArray(p)?p:[p,p],[k]=S,R=S.join("-");return A=>{const[I,M,B]=(0,o.Z)(),{getPrefixCls:N,iconPrefixCls:V,csp:W}=(0,r.useContext)(c.E_),H=N(),ae={theme:I,token:M,hashId:B,nonce:()=>W==null?void 0:W.nonce,clientOnly:b.clientOnly,order:b.order||-999};return(0,i.useStyleRegister)(Object.assign(Object.assign({},ae),{clientOnly:!1,path:["Shared",H]}),()=>[{"&":(0,f.Lx)(M)}]),(0,u.Z)(V),[(0,i.useStyleRegister)(Object.assign(Object.assign({},ae),{path:[R,A,V]}),()=>{const{token:ne,flush:oe}=(0,h.ZP)(M),J=Object.assign({},M[k]);if(b.deprecatedTokens){const{deprecatedTokens:le}=b;le.forEach(z=>{let[$,ie]=z;var _e;(J!=null&&J[$]||J!=null&&J[ie])&&((_e=J[ie])!==null&&_e!==void 0||(J[ie]=J==null?void 0:J[$]))})}const q=typeof _=="function"?_((0,h.TS)(ne,J!=null?J:{})):_,K=Object.assign(Object.assign({},q),J),se=`.${A}`,ee=(0,h.TS)(ne,{componentCls:se,prefixCls:A,iconCls:`.${V}`,antCls:`.${H}`},K),Q=y(ee,{hashId:B,prefixCls:A,rootPrefixCls:H,iconPrefixCls:V,overrideComponentToken:J});return oe(k,K),[b.resetStyle===!1?null:(0,f.du)(M,A),Q]}),B]}}const x=(p,y,_,b)=>{const S=a(p,y,_,Object.assign({resetStyle:!1,order:-998},b));return R=>{let{prefixCls:A}=R;return S(A),null}}},45157:function(d,v,e){"use strict";e.d(v,{Z:function(){return i}});var r=e(33166);function i(l,c){return r.i.reduce((f,o)=>{const h=l[`${o}1`],u=l[`${o}3`],a=l[`${o}6`],x=l[`${o}7`];return Object.assign(Object.assign({},f),c(o,{lightColor:h,lightBorderColor:u,darkColor:a,textColor:x}))},{})}},37613:function(d,v,e){"use strict";e.d(v,{TS:function(){return l},ZP:function(){return h}});const r=typeof CSSINJS_STATISTIC!="undefined";let i=!0;function l(){for(var u=arguments.length,a=new Array(u),x=0;x<u;x++)a[x]=arguments[x];if(!r)return Object.assign.apply(Object,[{}].concat(a));i=!1;const p={};return a.forEach(y=>{Object.keys(y).forEach(b=>{Object.defineProperty(p,b,{configurable:!0,enumerable:!0,get:()=>y[b]})})}),i=!0,p}const c={},f={};function o(){}function h(u){let a,x=u,p=o;return r&&(a=new Set,x=new Proxy(u,{get(y,_){return i&&a.add(_),y[_]}}),p=(y,_)=>{var b;c[y]={global:Array.from(a),component:Object.assign(Object.assign({},(b=c[y])===null||b===void 0?void 0:b.component),_)}}),{token:x,keys:a,flush:p}}},73040:function(d,v,e){"use strict";var r=e(36237),i=e(17313),l=e(88088);const c=(f,o)=>{const[h,u]=(0,l.Z)();return(0,r.useStyleRegister)({theme:h,token:u,hashId:"",path:["ant-design-icons",f],nonce:()=>o==null?void 0:o.nonce},()=>[{[`.${f}`]:Object.assign(Object.assign({},(0,i.Ro)()),{[`.${f} .${f}-icon`]:{display:"block"}})}])};v.Z=c},67532:function(d,v){"use strict";const e={placeholder:"Select time",rangePlaceholder:["Start time","End time"]};v.Z=e},6848:function(d,v,e){"use strict";e.d(v,{Z:function(){return oe}});var r=e(59301),i=e(92310),l=e.n(i),c=e(55477),f=e(18929),o=e(62892),h=e(79676),u=e(92343),a=e(36355),x=e(33234),p=e(88088),y=e(17313),_=e(29878),b=e(19447),S=e(45157),k=e(37613),R=e(83116);const A=J=>{const{componentCls:q,tooltipMaxWidth:K,tooltipColor:se,tooltipBg:ee,tooltipBorderRadius:Q,zIndexPopup:le,controlHeight:z,boxShadowSecondary:$,paddingSM:ie,paddingXS:_e,tooltipRadiusOuter:Ae}=J;return[{[q]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,y.Wf)(J)),{position:"absolute",zIndex:le,display:"block",width:"max-content",maxWidth:K,visibility:"visible",transformOrigin:"var(--arrow-x, 50%) var(--arrow-y, 50%)","&-hidden":{display:"none"},"--antd-arrow-background-color":ee,[`${q}-inner`]:{minWidth:z,minHeight:z,padding:`${ie/2}px ${_e}px`,color:se,textAlign:"start",textDecoration:"none",wordWrap:"break-word",backgroundColor:ee,borderRadius:Q,boxShadow:$,boxSizing:"border-box"},[["&-placement-left","&-placement-leftTop","&-placement-leftBottom","&-placement-right","&-placement-rightTop","&-placement-rightBottom"].join(",")]:{[`${q}-inner`]:{borderRadius:Math.min(Q,b.qN)}},[`${q}-content`]:{position:"relative"}}),(0,S.Z)(J,(Pe,We)=>{let{darkColor:$e}=We;return{[`&${q}-${Pe}`]:{[`${q}-inner`]:{backgroundColor:$e},[`${q}-arrow`]:{"--antd-arrow-background-color":$e}}}})),{"&-rtl":{direction:"rtl"}})},(0,b.ZP)((0,k.TS)(J,{borderRadiusOuter:Ae}),{colorBg:"var(--antd-arrow-background-color)",contentRadius:Q,limitVerticalRadius:!0}),{[`${q}-pure`]:{position:"relative",maxWidth:"none",margin:J.sizePopupArrow}}]};var I=(J,q)=>(0,R.Z)("Tooltip",se=>{if(q===!1)return[];const{borderRadius:ee,colorTextLightSolid:Q,colorBgDefault:le,borderRadiusOuter:z}=se,$=(0,k.TS)(se,{tooltipMaxWidth:250,tooltipColor:Q,tooltipBorderRadius:ee,tooltipBg:le,tooltipRadiusOuter:z>4?4:z});return[A($),(0,_._y)(se,"zoom-big-fast")]},se=>{let{zIndexPopupBase:ee,colorBgSpotlight:Q}=se;return{zIndexPopup:ee+70,colorBgDefault:Q}},{resetStyle:!1})(J),M=e(36785);function B(J,q){const K=(0,M.o2)(q),se=l()({[`${J}-${q}`]:q&&K}),ee={},Q={};return q&&!K&&(ee.background=q,Q["--antd-arrow-background-color"]=q),{className:se,overlayStyle:ee,arrowStyle:Q}}var V=J=>{const{prefixCls:q,className:K,placement:se="top",title:ee,color:Q,overlayInnerStyle:le}=J,{getPrefixCls:z}=r.useContext(a.E_),$=z("tooltip",q),[ie,_e]=I($,!0),Ae=B($,Q),Pe=Ae.arrowStyle,We=Object.assign(Object.assign({},le),Ae.overlayStyle),$e=l()(_e,$,`${$}-pure`,`${$}-placement-${se}`,K,Ae.className);return ie(r.createElement("div",{className:$e,style:Pe},r.createElement("div",{className:`${$}-arrow`}),r.createElement(c.G,Object.assign({},J,{className:_e,prefixCls:$,overlayInnerStyle:We}),ee)))},W=function(J,q){var K={};for(var se in J)Object.prototype.hasOwnProperty.call(J,se)&&q.indexOf(se)<0&&(K[se]=J[se]);if(J!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ee=0,se=Object.getOwnPropertySymbols(J);ee<se.length;ee++)q.indexOf(se[ee])<0&&Object.prototype.propertyIsEnumerable.call(J,se[ee])&&(K[se[ee]]=J[se[ee]]);return K};const H=(J,q)=>{const K={},se=Object.assign({},J);return q.forEach(ee=>{J&&ee in J&&(K[ee]=J[ee],delete se[ee])}),{picked:K,omitted:se}};function ae(J,q){const K=J.type;if((K.__ANT_BUTTON===!0||J.type==="button")&&J.props.disabled||K.__ANT_SWITCH===!0&&(J.props.disabled||J.props.loading)||K.__ANT_RADIO===!0&&J.props.disabled){const{picked:se,omitted:ee}=H(J.props.style,["position","left","right","top","bottom","float","display","zIndex"]),Q=Object.assign(Object.assign({display:"inline-block"},se),{cursor:"not-allowed",width:J.props.block?"100%":void 0}),le=Object.assign(Object.assign({},ee),{pointerEvents:"none"}),z=(0,u.Tm)(J,{style:le,className:null});return r.createElement("span",{style:Q,className:l()(J.props.className,`${q}-disabled-compatible-wrapper`)},z)}return J}const ne=r.forwardRef((J,q)=>{var K,se;const{prefixCls:ee,openClassName:Q,getTooltipContainer:le,overlayClassName:z,color:$,overlayInnerStyle:ie,children:_e,afterOpenChange:Ae,afterVisibleChange:Pe,destroyTooltipOnHide:We,arrow:$e=!0,title:Lt,overlay:bt,builtinPlacements:kt,arrowPointAtCenter:Zt=!1,autoAdjustOverflow:Mt=!0}=J,tr=!!$e,[,je]=(0,p.Z)(),{getPopupContainer:wt,getPrefixCls:Ft,direction:tt}=r.useContext(a.E_),gt=r.useRef(null),ft=()=>{var Ce;(Ce=gt.current)===null||Ce===void 0||Ce.forceAlign()};r.useImperativeHandle(q,()=>({forceAlign:ft,forcePopupAlign:()=>{ft()}}));const[Qe,Ne]=(0,f.Z)(!1,{value:(K=J.open)!==null&&K!==void 0?K:J.visible,defaultValue:(se=J.defaultOpen)!==null&&se!==void 0?se:J.defaultVisible}),xe=!Lt&&!bt&&Lt!==0,ke=Ce=>{var St,ye;Ne(xe?!1:Ce),xe||((St=J.onOpenChange)===null||St===void 0||St.call(J,Ce),(ye=J.onVisibleChange)===null||ye===void 0||ye.call(J,Ce))},Ge=r.useMemo(()=>{var Ce,St;let ye=Zt;return typeof $e=="object"&&(ye=(St=(Ce=$e.pointAtCenter)!==null&&Ce!==void 0?Ce:$e.arrowPointAtCenter)!==null&&St!==void 0?St:Zt),kt||(0,h.Z)({arrowPointAtCenter:ye,autoAdjustOverflow:Mt,arrowWidth:tr?je.sizePopupArrow:0,borderRadius:je.borderRadius,offset:je.marginXXS,visibleFirst:!0})},[Zt,$e,kt,je]),He=r.useMemo(()=>Lt===0?Lt:bt||Lt||"",[bt,Lt]),Ye=r.createElement(x.BR,null,typeof He=="function"?He():He),{getPopupContainer:dt,placement:xt="top",mouseEnterDelay:nr=.1,mouseLeaveDelay:qt=.1,overlayStyle:Me,rootClassName:qe}=J,Vt=W(J,["getPopupContainer","placement","mouseEnterDelay","mouseLeaveDelay","overlayStyle","rootClassName"]),Rt=Ft("tooltip",ee),zt=Ft(),Ht=J["data-popover-inject"];let Ct=Qe;!("open"in J)&&!("visible"in J)&&xe&&(Ct=!1);const Xt=ae((0,u.l$)(_e)&&!(0,u.M2)(_e)?_e:r.createElement("span",null,_e),Rt),ze=Xt.props,ce=!ze.className||typeof ze.className=="string"?l()(ze.className,Q||`${Rt}-open`):ze.className,[pe,It]=I(Rt,!Ht),Te=B(Rt,$),ct=Te.arrowStyle,Wt=Object.assign(Object.assign({},ie),Te.overlayStyle),Tt=l()(z,{[`${Rt}-rtl`]:tt==="rtl"},Te.className,qe,It);return pe(r.createElement(c.Z,Object.assign({},Vt,{showArrow:tr,placement:xt,mouseEnterDelay:nr,mouseLeaveDelay:qt,prefixCls:Rt,overlayClassName:Tt,overlayStyle:Object.assign(Object.assign({},ct),Me),getTooltipContainer:dt||le||wt,ref:gt,builtinPlacements:Ge,overlay:Ye,visible:Ct,onVisibleChange:ke,afterVisibleChange:Ae!=null?Ae:Pe,overlayInnerStyle:Wt,arrowContent:r.createElement("span",{className:`${Rt}-arrow-content`}),motion:{motionName:(0,o.m)(zt,"zoom-big-fast",J.transitionName),motionDeadline:1e3},destroyTooltipOnHide:!!We}),Ct?(0,u.Tm)(Xt,{className:ce}):Xt))});ne._InternalPanelDoNotUseOrYouWillBeFired=V;var oe=ne},11575:function(d,v,e){"use strict";e.d(v,{H:function(){return f}});var r=e(70425),i=e(59301);function l(){}const c=i.createContext({add:l,remove:l});function f(h){const u=i.useContext(c),a=i.useRef();return(0,r.useEvent)(p=>{if(p){const y=h?p.querySelector(h):p;u.add(y),a.current=y}else u.remove(a.current)})}var o=null},67751:function(d){var v={utf8:{stringToBytes:function(e){return v.bin.stringToBytes(unescape(encodeURIComponent(e)))},bytesToString:function(e){return decodeURIComponent(escape(v.bin.bytesToString(e)))}},bin:{stringToBytes:function(e){for(var r=[],i=0;i<e.length;i++)r.push(e.charCodeAt(i)&255);return r},bytesToString:function(e){for(var r=[],i=0;i<e.length;i++)r.push(String.fromCharCode(e[i]));return r.join("")}}};d.exports=v},64018:function(){var d,v,e,r=!1,i,l;window.PR_SHOULD_USE_CONTINUATION=!0;var c,f;(function(){var o=window,h=["break,continue,do,else,for,if,return,while"],u=[h,"auto,case,char,const,default,double,enum,extern,float,goto,inline,int,long,register,restrict,short,signed,sizeof,static,struct,switch,typedef,union,unsigned,void,volatile"],a=[u,"catch,class,delete,false,import,new,operator,private,protected,public,this,throw,true,try,typeof"],x=[a,"alignas,alignof,align_union,asm,axiom,bool,concept,concept_map,const_cast,constexpr,decltype,delegate,dynamic_cast,explicit,export,friend,generic,late_check,mutable,namespace,noexcept,noreturn,nullptr,property,reinterpret_cast,static_assert,static_cast,template,typeid,typename,using,virtual,where"],p=[a,"abstract,assert,boolean,byte,extends,finally,final,implements,import,instanceof,interface,null,native,package,strictfp,super,synchronized,throws,transient"],y=[a,"abstract,add,alias,as,ascending,async,await,base,bool,by,byte,checked,decimal,delegate,descending,dynamic,event,finally,fixed,foreach,from,get,global,group,implicit,in,interface,internal,into,is,join,let,lock,null,object,out,override,orderby,params,partial,readonly,ref,remove,sbyte,sealed,select,set,stackalloc,string,select,uint,ulong,unchecked,unsafe,ushort,value,var,virtual,where,yield"],_="all,and,by,catch,class,else,extends,false,finally,for,if,in,is,isnt,loop,new,no,not,null,of,off,on,or,return,super,then,throw,true,try,unless,until,when,while,yes",b=[a,"abstract,async,await,constructor,debugger,enum,eval,export,function,get,implements,instanceof,interface,let,null,set,undefined,var,with,yield,Infinity,NaN"],S="caller,delete,die,do,dump,elsif,eval,exit,foreach,for,goto,if,import,last,local,my,next,no,our,print,package,redo,require,sub,undef,unless,until,use,wantarray,while,BEGIN,END",k=[h,"and,as,assert,class,def,del,elif,except,exec,finally,from,global,import,in,is,lambda,nonlocal,not,or,pass,print,raise,try,with,yield,False,True,None"],R=[h,"alias,and,begin,case,class,def,defined,elsif,end,ensure,false,in,module,next,nil,not,or,redo,rescue,retry,self,super,then,true,undef,unless,until,when,yield,BEGIN,END"],A=[h,"case,done,elif,esac,eval,fi,function,in,local,set,then,until"],I=[x,y,p,b,S,k,R,A],M=/^(DIR|FILE|array|vector|(de|priority_)?queue|(forward_)?list|stack|(const_)?(reverse_)?iterator|(unordered_)?(multi)?(set|map)|bitset|u?(int|float)\d*)\b/,B="str",N="kwd",V="com",W="typ",H="lit",ae="pun",ne="pln",oe="tag",J="dec",q="src",K="atn",se="atv",ee="nocode",Q="(?:^^\\.?|[+-]|[!=]=?=?|\\#|%=?|&&?=?|\\(|\\*=?|[+\\-]=|->|\\/=?|::?|<<?=?|>>?>?=?|,|;|\\?|@|\\[|~|{|\\^\\^?=?|\\|\\|?=?|break|case|continue|delete|do|else|finally|instanceof|return|throw|try|typeof)\\s*";function le(tt){for(var gt=0,ft=!1,Qe=!1,Ne=0,xe=tt.length;Ne<xe;++Ne){var ke=tt[Ne];if(ke.ignoreCase)Qe=!0;else if(/[a-z]/i.test(ke.source.replace(/\\u[0-9a-f]{4}|\\x[0-9a-f]{2}|\\[^ux]/gi,""))){ft=!0,Qe=!1;break}}var Ge={b:8,t:9,n:10,v:11,f:12,r:13};function He(qt){var Me=qt.charCodeAt(0);if(Me!==92)return Me;var qe=qt.charAt(1);return Me=Ge[qe],Me||("0"<=qe&&qe<="7"?parseInt(qt.substring(1),8):qe==="u"||qe==="x"?parseInt(qt.substring(2),16):qt.charCodeAt(1))}function Ye(qt){if(qt<32)return(qt<16?"\\x0":"\\x")+qt.toString(16);var Me=String.fromCharCode(qt);return Me==="\\"||Me==="-"||Me==="]"||Me==="^"?"\\"+Me:Me}function dt(qt){var Me=qt.substring(1,qt.length-1).match(new RegExp("\\\\u[0-9A-Fa-f]{4}|\\\\x[0-9A-Fa-f]{2}|\\\\[0-3][0-7]{0,2}|\\\\[0-7]{1,2}|\\\\[\\s\\S]|-|[^-\\\\]","g")),qe=[],Vt=Me[0]==="^",Rt=["["];Vt&&Rt.push("^");for(var zt=Vt?1:0,Ht=Me.length;zt<Ht;++zt){var Ct=Me[zt];if(/\\[bdsw]/i.test(Ct))Rt.push(Ct);else{var Xt=He(Ct),ze;zt+2<Ht&&Me[zt+1]==="-"?(ze=He(Me[zt+2]),zt+=2):ze=Xt,qe.push([Xt,ze]),ze<65||Xt>122||(ze<65||Xt>90||qe.push([Math.max(65,Xt)|32,Math.min(ze,90)|32]),ze<97||Xt>122||qe.push([Math.max(97,Xt)&-33,Math.min(ze,122)&-33]))}}qe.sort(function(Te,ct){return Te[0]-ct[0]||ct[1]-Te[1]});for(var ce=[],pe=[],zt=0;zt<qe.length;++zt){var It=qe[zt];It[0]<=pe[1]+1?pe[1]=Math.max(pe[1],It[1]):ce.push(pe=It)}for(var zt=0;zt<ce.length;++zt){var It=ce[zt];Rt.push(Ye(It[0])),It[1]>It[0]&&(It[1]+1>It[0]&&Rt.push("-"),Rt.push(Ye(It[1])))}return Rt.push("]"),Rt.join("")}function xt(qt){for(var Me=qt.source.match(new RegExp("(?:\\[(?:[^\\x5C\\x5D]|\\\\[\\s\\S])*\\]|\\\\u[A-Fa-f0-9]{4}|\\\\x[A-Fa-f0-9]{2}|\\\\[0-9]+|\\\\[^ux0-9]|\\(\\?[:!=]|[\\(\\)\\^]|[^\\x5B\\x5C\\(\\)\\^]+)","g")),qe=Me.length,Vt=[],Rt=0,zt=0;Rt<qe;++Rt){var Ht=Me[Rt];if(Ht==="(")++zt;else if(Ht.charAt(0)==="\\"){var Ct=+Ht.substring(1);Ct&&(Ct<=zt?Vt[Ct]=-1:Me[Rt]=Ye(Ct))}}for(var Rt=1;Rt<Vt.length;++Rt)Vt[Rt]===-1&&(Vt[Rt]=++gt);for(var Rt=0,zt=0;Rt<qe;++Rt){var Ht=Me[Rt];if(Ht==="(")++zt,Vt[zt]||(Me[Rt]="(?:");else if(Ht.charAt(0)==="\\"){var Ct=+Ht.substring(1);Ct&&Ct<=zt&&(Me[Rt]="\\"+Vt[Ct])}}for(var Rt=0;Rt<qe;++Rt)Me[Rt]==="^"&&Me[Rt+1]!=="^"&&(Me[Rt]="");if(qt.ignoreCase&&ft)for(var Rt=0;Rt<qe;++Rt){var Ht=Me[Rt],Xt=Ht.charAt(0);Ht.length>=2&&Xt==="["?Me[Rt]=dt(Ht):Xt!=="\\"&&(Me[Rt]=Ht.replace(/[a-zA-Z]/g,function(pe){var It=pe.charCodeAt(0);return"["+String.fromCharCode(It&-33,It|32)+"]"}))}return Me.join("")}for(var nr=[],Ne=0,xe=tt.length;Ne<xe;++Ne){var ke=tt[Ne];if(ke.global||ke.multiline)throw new Error(""+ke);nr.push("(?:"+xt(ke)+")")}return new RegExp(nr.join("|"),Qe?"gi":"g")}function z(tt,gt){var ft=/(?:^|\s)nocode(?:\s|$)/,Qe=[],Ne=0,xe=[],ke=0;function Ge(He){var Ye=He.nodeType;if(Ye==1){if(ft.test(He.className))return;for(var dt=He.firstChild;dt;dt=dt.nextSibling)Ge(dt);var xt=He.nodeName.toLowerCase();(xt==="br"||xt==="li")&&(Qe[ke]=`
`,xe[ke<<1]=Ne++,xe[ke++<<1|1]=He)}else if(Ye==3||Ye==4){var nr=He.nodeValue;nr.length&&(gt?nr=nr.replace(/\r\n?/g,`
`):nr=nr.replace(/[ \t\r\n]+/g," "),Qe[ke]=nr,xe[ke<<1]=Ne,Ne+=nr.length,xe[ke++<<1|1]=He)}}return Ge(tt),{sourceCode:Qe.join("").replace(/\n$/,""),spans:xe}}function $(tt,gt,ft,Qe,Ne){if(ft){var xe={sourceNode:tt,pre:1,langExtension:null,numberLines:null,sourceCode:ft,spans:null,basePos:gt,decorations:null};Qe(xe),Ne.push.apply(Ne,xe.decorations)}}var ie=/\S/;function _e(tt){for(var gt=void 0,ft=tt.firstChild;ft;ft=ft.nextSibling){var Qe=ft.nodeType;gt=Qe===1?gt?tt:ft:Qe===3&&ie.test(ft.nodeValue)?tt:gt}return gt===tt?void 0:gt}function Ae(tt,gt){var ft={},Qe;(function(){for(var ke=tt.concat(gt),Ge=[],He={},Ye=0,dt=ke.length;Ye<dt;++Ye){var xt=ke[Ye],nr=xt[3];if(nr)for(var qt=nr.length;--qt>=0;)ft[nr.charAt(qt)]=xt;var Me=xt[1],qe=""+Me;He.hasOwnProperty(qe)||(Ge.push(Me),He[qe]=null)}Ge.push(/[\0-\uffff]/),Qe=le(Ge)})();var Ne=gt.length,xe=function(ke){for(var Ge=ke.sourceCode,He=ke.basePos,Ye=ke.sourceNode,dt=[He,ne],xt=0,nr=Ge.match(Qe)||[],qt={},Me=0,qe=nr.length;Me<qe;++Me){var Vt=nr[Me],Rt=qt[Vt],zt=void 0,Ht;if(typeof Rt=="string")Ht=!1;else{var Ct=ft[Vt.charAt(0)];if(Ct)zt=Vt.match(Ct[1]),Rt=Ct[0];else{for(var Xt=0;Xt<Ne;++Xt)if(Ct=gt[Xt],zt=Vt.match(Ct[1]),zt){Rt=Ct[0];break}zt||(Rt=ne)}Ht=Rt.length>=5&&Rt.substring(0,5)==="lang-",Ht&&!(zt&&typeof zt[1]=="string")&&(Ht=!1,Rt=q),Ht||(qt[Vt]=Rt)}var ze=xt;if(xt+=Vt.length,!Ht)dt.push(He+ze,Rt);else{var ce=zt[1],pe=Vt.indexOf(ce),It=pe+ce.length;zt[2]&&(It=Vt.length-zt[2].length,pe=It-ce.length);var Te=Rt.substring(5);$(Ye,He+ze,Vt.substring(0,pe),xe,dt),$(Ye,He+ze+pe,ce,Zt(Te,ce),dt),$(Ye,He+ze+It,Vt.substring(It),xe,dt)}}ke.decorations=dt};return xe}function Pe(tt){var gt=[],ft=[];tt.tripleQuotedStrings?gt.push([B,/^(?:\'\'\'(?:[^\'\\]|\\[\s\S]|\'{1,2}(?=[^\']))*(?:\'\'\'|$)|\"\"\"(?:[^\"\\]|\\[\s\S]|\"{1,2}(?=[^\"]))*(?:\"\"\"|$)|\'(?:[^\\\']|\\[\s\S])*(?:\'|$)|\"(?:[^\\\"]|\\[\s\S])*(?:\"|$))/,null,`'"`]):tt.multiLineStrings?gt.push([B,/^(?:\'(?:[^\\\']|\\[\s\S])*(?:\'|$)|\"(?:[^\\\"]|\\[\s\S])*(?:\"|$)|\`(?:[^\\\`]|\\[\s\S])*(?:\`|$))/,null,"'\"`"]):gt.push([B,/^(?:\'(?:[^\\\'\r\n]|\\.)*(?:\'|$)|\"(?:[^\\\"\r\n]|\\.)*(?:\"|$))/,null,`"'`]),tt.verbatimStrings&&ft.push([B,/^@\"(?:[^\"]|\"\")*(?:\"|$)/,null]);var Qe=tt.hashComments;Qe&&(tt.cStyleComments?(Qe>1?gt.push([V,/^#(?:##(?:[^#]|#(?!##))*(?:###|$)|.*)/,null,"#"]):gt.push([V,/^#(?:(?:define|e(?:l|nd)if|else|error|ifn?def|include|line|pragma|undef|warning)\b|[^\r\n]*)/,null,"#"]),ft.push([B,/^<(?:(?:(?:\.\.\/)*|\/?)(?:[\w-]+(?:\/[\w-]+)+)?[\w-]+\.h(?:h|pp|\+\+)?|[a-z]\w*)>/,null])):gt.push([V,/^#[^\r\n]*/,null,"#"])),tt.cStyleComments&&(ft.push([V,/^\/\/[^\r\n]*/,null]),ft.push([V,/^\/\*[\s\S]*?(?:\*\/|$)/,null]));var Ne=tt.regexLiterals;if(Ne){var xe=Ne>1?"":`
\r`,ke=xe?".":"[\\S\\s]",Ge="/(?=[^/*"+xe+"])(?:[^/\\x5B\\x5C"+xe+"]|\\x5C"+ke+"|\\x5B(?:[^\\x5C\\x5D"+xe+"]|\\x5C"+ke+")*(?:\\x5D|$))+/";ft.push(["lang-regex",RegExp("^"+Q+"("+Ge+")")])}var He=tt.types;He&&ft.push([W,He]);var Ye=(""+tt.keywords).replace(/^ | $/g,"");Ye.length&&ft.push([N,new RegExp("^(?:"+Ye.replace(/[\s,]+/g,"|")+")\\b"),null]),gt.push([ne,/^\s+/,null,` \r
\xA0`]);var dt="^.[^\\s\\w.$@'\"`/\\\\]*";return tt.regexLiterals&&(dt+="(?!s*/)"),ft.push([H,/^@[a-z_$][a-z_$@0-9]*/i,null],[W,/^(?:[@_]?[A-Z]+[a-z][A-Za-z_$@0-9]*|\w+_t\b)/,null],[ne,/^[a-z_$][a-z_$@0-9]*/i,null],[H,new RegExp("^(?:0x[a-f0-9]+|(?:\\d(?:_\\d+)*\\d*(?:\\.\\d*)?|\\.\\d\\+)(?:e[+\\-]?\\d+)?)[a-z]*","i"),null,"0123456789"],[ne,/^\\[\s\S]?/,null],[ae,new RegExp(dt),null]),Ae(gt,ft)}var We=Pe({keywords:I,hashComments:!0,cStyleComments:!0,multiLineStrings:!0,regexLiterals:!0});function $e(tt,gt,ft){for(var Qe=/(?:^|\s)nocode(?:\s|$)/,Ne=/\r\n?|\n/,xe=tt.ownerDocument,ke=xe.createElement("li");tt.firstChild;)ke.appendChild(tt.firstChild);var Ge=[ke];function He(Me){var qe=Me.nodeType;if(qe==1&&!Qe.test(Me.className))if(Me.nodeName==="br")Ye(Me),Me.parentNode&&Me.parentNode.removeChild(Me);else for(var Vt=Me.firstChild;Vt;Vt=Vt.nextSibling)He(Vt);else if((qe==3||qe==4)&&ft){var Rt=Me.nodeValue,zt=Rt.match(Ne);if(zt){var Ht=Rt.substring(0,zt.index);Me.nodeValue=Ht;var Ct=Rt.substring(zt.index+zt[0].length);if(Ct){var Xt=Me.parentNode;Xt.insertBefore(xe.createTextNode(Ct),Me.nextSibling)}Ye(Me),Ht||Me.parentNode.removeChild(Me)}}}function Ye(Me){for(;!Me.nextSibling;)if(Me=Me.parentNode,!Me)return;function qe(zt,Ht){var Ct=Ht?zt.cloneNode(!1):zt,Xt=zt.parentNode;if(Xt){var ze=qe(Xt,1),ce=zt.nextSibling;ze.appendChild(Ct);for(var pe=ce;pe;pe=ce)ce=pe.nextSibling,ze.appendChild(pe)}return Ct}for(var Vt=qe(Me.nextSibling,0),Rt;(Rt=Vt.parentNode)&&Rt.nodeType===1;)Vt=Rt;Ge.push(Vt)}for(var dt=0;dt<Ge.length;++dt)He(Ge[dt]);gt===(gt|0)&&Ge[0].setAttribute("value",gt);var xt=xe.createElement("ol");xt.className="linenums";for(var nr=Math.max(0,gt-1|0)||0,dt=0,qt=Ge.length;dt<qt;++dt)ke=Ge[dt],ke.className="L"+(dt+nr)%10,ke.firstChild||ke.appendChild(xe.createTextNode("\xA0")),xt.appendChild(ke);tt.appendChild(xt)}function Lt(tt){var gt=/\bMSIE\s(\d+)/.exec(navigator.userAgent);gt=gt&&+gt[1]<=8;var ft=/\n/g,Qe=tt.sourceCode,Ne=Qe.length,xe=0,ke=tt.spans,Ge=ke.length,He=0,Ye=tt.decorations,dt=Ye.length,xt=0;Ye[dt]=Ne;var nr,qt;for(qt=nr=0;qt<dt;)Ye[qt]!==Ye[qt+2]?(Ye[nr++]=Ye[qt++],Ye[nr++]=Ye[qt++]):qt+=2;for(dt=nr,qt=nr=0;qt<dt;){for(var Me=Ye[qt],qe=Ye[qt+1],Vt=qt+2;Vt+2<=dt&&Ye[Vt+1]===qe;)Vt+=2;Ye[nr++]=Me,Ye[nr++]=qe,qt=Vt}dt=Ye.length=nr;var Rt=tt.sourceNode,zt="";Rt&&(zt=Rt.style.display,Rt.style.display="none");try{for(var Ht=null;He<Ge;){var Ct=ke[He],Xt=ke[He+2]||Ne,ze=Ye[xt+2]||Ne,Vt=Math.min(Xt,ze),ce=ke[He+1],pe;if(ce.nodeType!==1&&(pe=Qe.substring(xe,Vt))){gt&&(pe=pe.replace(ft,"\r")),ce.nodeValue=pe;var It=ce.ownerDocument,Te=It.createElement("span");Te.className=Ye[xt+1];var ct=ce.parentNode;ct.replaceChild(Te,ce),Te.appendChild(ce),xe<Xt&&(ke[He+1]=ce=It.createTextNode(Qe.substring(Vt,Xt)),ct.insertBefore(ce,Te.nextSibling))}xe=Vt,xe>=Xt&&(He+=2),xe>=ze&&(xt+=2)}}finally{Rt&&(Rt.style.display=zt)}}var bt={};function kt(tt,gt){for(var ft=gt.length;--ft>=0;){var Qe=gt[ft];bt.hasOwnProperty(Qe)?o.console&&console.warn("cannot override language handler %s",Qe):bt[Qe]=tt}}function Zt(tt,gt){return tt&&bt.hasOwnProperty(tt)||(tt=/^\s*</.test(gt)?"default-markup":"default-code"),bt[tt]}kt(We,["default-code"]),kt(Ae([],[[ne,/^[^<?]+/],[J,/^<!\w[^>]*(?:>|$)/],[V,/^<\!--[\s\S]*?(?:-\->|$)/],["lang-",/^<\?([\s\S]+?)(?:\?>|$)/],["lang-",/^<%([\s\S]+?)(?:%>|$)/],[ae,/^(?:<[%?]|[%?]>)/],["lang-",/^<xmp\b[^>]*>([\s\S]+?)<\/xmp\b[^>]*>/i],["lang-js",/^<script\b[^>]*>([\s\S]*?)(<\/script\b[^>]*>)/i],["lang-css",/^<style\b[^>]*>([\s\S]*?)(<\/style\b[^>]*>)/i],["lang-in.tag",/^(<\/?[a-z][^<>]*>)/i]]),["default-markup","htm","html","mxml","xhtml","xml","xsl"]),kt(Ae([[ne,/^[\s]+/,null,` \r
`],[se,/^(?:\"[^\"]*\"?|\'[^\']*\'?)/,null,`"'`]],[[oe,/^^<\/?[a-z](?:[\w.:-]*\w)?|\/?>$/i],[K,/^(?!style[\s=]|on)[a-z](?:[\w:-]*\w)?/i],["lang-uq.val",/^=\s*([^>\'\"\s]*(?:[^>\'\"\s\/]|\/(?=\s)))/],[ae,/^[=<>\/]+/],["lang-js",/^on\w+\s*=\s*\"([^\"]+)\"/i],["lang-js",/^on\w+\s*=\s*\'([^\']+)\'/i],["lang-js",/^on\w+\s*=\s*([^\"\'>\s]+)/i],["lang-css",/^style\s*=\s*\"([^\"]+)\"/i],["lang-css",/^style\s*=\s*\'([^\']+)\'/i],["lang-css",/^style\s*=\s*([^\"\'>\s]+)/i]]),["in.tag"]),kt(Ae([],[[se,/^[\s\S]+/]]),["uq.val"]),kt(Pe({keywords:x,hashComments:!0,cStyleComments:!0,types:M}),["c","cc","cpp","cxx","cyc","m"]),kt(Pe({keywords:"null,true,false"}),["json"]),kt(Pe({keywords:y,hashComments:!0,cStyleComments:!0,verbatimStrings:!0,types:M}),["cs"]),kt(Pe({keywords:p,cStyleComments:!0}),["java"]),kt(Pe({keywords:A,hashComments:!0,multiLineStrings:!0}),["bash","bsh","csh","sh"]),kt(Pe({keywords:k,hashComments:!0,multiLineStrings:!0,tripleQuotedStrings:!0}),["cv","py","python"]),kt(Pe({keywords:S,hashComments:!0,multiLineStrings:!0,regexLiterals:2}),["perl","pl","pm"]),kt(Pe({keywords:R,hashComments:!0,multiLineStrings:!0,regexLiterals:!0}),["rb","ruby"]),kt(Pe({keywords:b,cStyleComments:!0,regexLiterals:!0}),["javascript","js","ts","typescript"]),kt(Pe({keywords:_,hashComments:3,cStyleComments:!0,multilineStrings:!0,tripleQuotedStrings:!0,regexLiterals:!0}),["coffee"]),kt(Ae([],[[B,/^[\s\S]+/]]),["regex"]);function Mt(tt){var gt=tt.langExtension;try{var ft=z(tt.sourceNode,tt.pre),Qe=ft.sourceCode;tt.sourceCode=Qe,tt.spans=ft.spans,tt.basePos=0,Zt(gt,Qe)(tt),Lt(tt)}catch(Ne){o.console&&console.log(Ne&&Ne.stack||Ne)}}function tr(tt,gt,ft){var Qe=ft||!1,Ne=gt||null,xe=document.createElement("div");xe.innerHTML="<pre>"+tt+"</pre>",xe=xe.firstChild,Qe&&$e(xe,Qe,!0);var ke={langExtension:Ne,numberLines:Qe,sourceNode:xe,pre:1,sourceCode:null,basePos:null,spans:null,decorations:null};return Mt(ke),xe.innerHTML}function je(tt,gt){var ft=gt||document.body,Qe=ft.ownerDocument||document;function Ne(Ct){return ft.getElementsByTagName(Ct)}for(var xe=[Ne("pre"),Ne("code"),Ne("xmp")],ke=[],Ge=0;Ge<xe.length;++Ge)for(var He=0,Ye=xe[Ge].length;He<Ye;++He)ke.push(xe[Ge][He]);xe=null;var dt=Date;dt.now||(dt={now:function(){return+new Date}});var xt=0,nr=/\blang(?:uage)?-([\w.]+)(?!\S)/,qt=/\bprettyprint\b/,Me=/\bprettyprinted\b/,qe=/pre|xmp/i,Vt=/^code$/i,Rt=/^(?:pre|code|xmp)$/i,zt={};function Ht(){for(var Ct=o.PR_SHOULD_USE_CONTINUATION?dt.now()+250:1/0;xt<ke.length&&dt.now()<Ct;xt++){for(var Xt=ke[xt],ze=zt,ce=Xt;ce=ce.previousSibling;){var pe=ce.nodeType,It=(pe===7||pe===8)&&ce.nodeValue;if(It?!/^\??prettify\b/.test(It):pe!==3||/\S/.test(ce.nodeValue))break;if(It){ze={},It.replace(/\b(\w+)=([\w:.%+-]+)/g,function(At,Xr,en){ze[Xr]=en});break}}var Te=Xt.className;if((ze!==zt||qt.test(Te))&&!Me.test(Te)){for(var ct=!1,Wt=Xt.parentNode;Wt;Wt=Wt.parentNode){var Tt=Wt.tagName;if(Rt.test(Tt)&&Wt.className&&qt.test(Wt.className)){ct=!0;break}}if(!ct){Xt.className+=" prettyprinted";var Ce=ze.lang;if(!Ce){Ce=Te.match(nr);var St;!Ce&&(St=_e(Xt))&&Vt.test(St.tagName)&&(Ce=St.className.match(nr)),Ce&&(Ce=Ce[1])}var ye;if(qe.test(Xt.tagName))ye=1;else{var Je=Xt.currentStyle,yt=Qe.defaultView,Bt=Je?Je.whiteSpace:yt&&yt.getComputedStyle?yt.getComputedStyle(Xt,null).getPropertyValue("white-space"):0;ye=Bt&&Bt.substring(0,3)==="pre"}var Be=ze.linenums;(Be=Be==="true"||+Be)||(Be=Te.match(/\blinenums\b(?::(\d+))?/),Be=Be?Be[1]&&Be[1].length?+Be[1]:!0:!1),Be&&$e(Xt,Be,ye);var Dr={langExtension:Ce,sourceNode:Xt,numberLines:Be,pre:ye,sourceCode:null,basePos:null,spans:null,decorations:null};Mt(Dr)}}}xt<ke.length?o.setTimeout(Ht,250):typeof tt=="function"&&tt()}Ht()}var wt=o.PR={createSimpleLexer:Ae,registerLangHandler:kt,sourceDecorator:Pe,PR_ATTRIB_NAME:K,PR_ATTRIB_VALUE:se,PR_COMMENT:V,PR_DECLARATION:J,PR_KEYWORD:N,PR_LITERAL:H,PR_NOCODE:ee,PR_PLAIN:ne,PR_PUNCTUATION:ae,PR_SOURCE:q,PR_STRING:B,PR_TAG:oe,PR_TYPE:W,prettyPrintOne:r?o.prettyPrintOne=tr:c=tr,prettyPrint:f=r?o.prettyPrint=je:f=je},Ft=o.define;typeof Ft=="function"&&Ft.amd&&Ft("google-code-prettify",[],function(){return wt})})()},25769:function(d,v,e){"use strict";var r=e(98040),i={"text/plain":"Text","text/html":"Url",default:"Text"},l="Copy to clipboard: #{key}, Enter";function c(o){var h=(/mac os x/i.test(navigator.userAgent)?"\u2318":"Ctrl")+"+C";return o.replace(/#{\s*key\s*}/g,h)}function f(o,h){var u,a,x,p,y,_,b=!1;h||(h={}),u=h.debug||!1;try{x=r(),p=document.createRange(),y=document.getSelection(),_=document.createElement("span"),_.textContent=o,_.ariaHidden="true",_.style.all="unset",_.style.position="fixed",_.style.top=0,_.style.clip="rect(0, 0, 0, 0)",_.style.whiteSpace="pre",_.style.webkitUserSelect="text",_.style.MozUserSelect="text",_.style.msUserSelect="text",_.style.userSelect="text",_.addEventListener("copy",function(k){if(k.stopPropagation(),h.format)if(k.preventDefault(),typeof k.clipboardData=="undefined"){u&&console.warn("unable to use e.clipboardData"),u&&console.warn("trying IE specific stuff"),window.clipboardData.clearData();var R=i[h.format]||i.default;window.clipboardData.setData(R,o)}else k.clipboardData.clearData(),k.clipboardData.setData(h.format,o);h.onCopy&&(k.preventDefault(),h.onCopy(k.clipboardData))}),document.body.appendChild(_),p.selectNodeContents(_),y.addRange(p);var S=document.execCommand("copy");if(!S)throw new Error("copy command was unsuccessful");b=!0}catch(k){u&&console.error("unable to copy using execCommand: ",k),u&&console.warn("trying IE specific stuff");try{window.clipboardData.setData(h.format||"text",o),h.onCopy&&h.onCopy(window.clipboardData),b=!0}catch(R){u&&console.error("unable to copy using clipboardData: ",R),u&&console.error("falling back to prompt"),a=c("message"in h?h.message:l),window.prompt(a,o)}}finally{y&&(typeof y.removeRange=="function"?y.removeRange(p):y.removeAllRanges()),_&&document.body.removeChild(_),x()}return b}d.exports=f},75041:function(d){(function(){var v="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",e={rotl:function(r,i){return r<<i|r>>>32-i},rotr:function(r,i){return r<<32-i|r>>>i},endian:function(r){if(r.constructor==Number)return e.rotl(r,8)&16711935|e.rotl(r,24)&4278255360;for(var i=0;i<r.length;i++)r[i]=e.endian(r[i]);return r},randomBytes:function(r){for(var i=[];r>0;r--)i.push(Math.floor(Math.random()*256));return i},bytesToWords:function(r){for(var i=[],l=0,c=0;l<r.length;l++,c+=8)i[c>>>5]|=r[l]<<24-c%32;return i},wordsToBytes:function(r){for(var i=[],l=0;l<r.length*32;l+=8)i.push(r[l>>>5]>>>24-l%32&255);return i},bytesToHex:function(r){for(var i=[],l=0;l<r.length;l++)i.push((r[l]>>>4).toString(16)),i.push((r[l]&15).toString(16));return i.join("")},hexToBytes:function(r){for(var i=[],l=0;l<r.length;l+=2)i.push(parseInt(r.substr(l,2),16));return i},bytesToBase64:function(r){for(var i=[],l=0;l<r.length;l+=3)for(var c=r[l]<<16|r[l+1]<<8|r[l+2],f=0;f<4;f++)l*8+f*6<=r.length*8?i.push(v.charAt(c>>>6*(3-f)&63)):i.push("=");return i.join("")},base64ToBytes:function(r){r=r.replace(/[^A-Z0-9+\/]/ig,"");for(var i=[],l=0,c=0;l<r.length;c=++l%4)c!=0&&i.push((v.indexOf(r.charAt(l-1))&Math.pow(2,-2*c+8)-1)<<c*2|v.indexOf(r.charAt(l))>>>6-c*2);return i}};d.exports=e})()},84452:function(d,v,e){(function(r,i,l){d.exports=v=i(e(52952),e(35909),e(34905),e(28492),e(93617))})(this,function(r){return function(){var i=r,l=i.lib,c=l.BlockCipher,f=i.algo,o=[],h=[],u=[],a=[],x=[],p=[],y=[],_=[],b=[],S=[];(function(){for(var A=[],I=0;I<256;I++)I<128?A[I]=I<<1:A[I]=I<<1^283;for(var M=0,B=0,I=0;I<256;I++){var N=B^B<<1^B<<2^B<<3^B<<4;N=N>>>8^N&255^99,o[M]=N,h[N]=M;var V=A[M],W=A[V],H=A[W],ae=A[N]*257^N*16843008;u[M]=ae<<24|ae>>>8,a[M]=ae<<16|ae>>>16,x[M]=ae<<8|ae>>>24,p[M]=ae;var ae=H*16843009^W*65537^V*257^M*16843008;y[N]=ae<<24|ae>>>8,_[N]=ae<<16|ae>>>16,b[N]=ae<<8|ae>>>24,S[N]=ae,M?(M=V^A[A[A[H^V]]],B^=A[A[B]]):M=B=1}})();var k=[0,1,2,4,8,16,32,64,128,27,54],R=f.AES=c.extend({_doReset:function(){var A;if(!(this._nRounds&&this._keyPriorReset===this._key)){for(var I=this._keyPriorReset=this._key,M=I.words,B=I.sigBytes/4,N=this._nRounds=B+6,V=(N+1)*4,W=this._keySchedule=[],H=0;H<V;H++)H<B?W[H]=M[H]:(A=W[H-1],H%B?B>6&&H%B==4&&(A=o[A>>>24]<<24|o[A>>>16&255]<<16|o[A>>>8&255]<<8|o[A&255]):(A=A<<8|A>>>24,A=o[A>>>24]<<24|o[A>>>16&255]<<16|o[A>>>8&255]<<8|o[A&255],A^=k[H/B|0]<<24),W[H]=W[H-B]^A);for(var ae=this._invKeySchedule=[],ne=0;ne<V;ne++){var H=V-ne;if(ne%4)var A=W[H];else var A=W[H-4];ne<4||H<=4?ae[ne]=A:ae[ne]=y[o[A>>>24]]^_[o[A>>>16&255]]^b[o[A>>>8&255]]^S[o[A&255]]}}},encryptBlock:function(A,I){this._doCryptBlock(A,I,this._keySchedule,u,a,x,p,o)},decryptBlock:function(A,I){var M=A[I+1];A[I+1]=A[I+3],A[I+3]=M,this._doCryptBlock(A,I,this._invKeySchedule,y,_,b,S,h);var M=A[I+1];A[I+1]=A[I+3],A[I+3]=M},_doCryptBlock:function(A,I,M,B,N,V,W,H){for(var ae=this._nRounds,ne=A[I]^M[0],oe=A[I+1]^M[1],J=A[I+2]^M[2],q=A[I+3]^M[3],K=4,se=1;se<ae;se++){var ee=B[ne>>>24]^N[oe>>>16&255]^V[J>>>8&255]^W[q&255]^M[K++],Q=B[oe>>>24]^N[J>>>16&255]^V[q>>>8&255]^W[ne&255]^M[K++],le=B[J>>>24]^N[q>>>16&255]^V[ne>>>8&255]^W[oe&255]^M[K++],z=B[q>>>24]^N[ne>>>16&255]^V[oe>>>8&255]^W[J&255]^M[K++];ne=ee,oe=Q,J=le,q=z}var ee=(H[ne>>>24]<<24|H[oe>>>16&255]<<16|H[J>>>8&255]<<8|H[q&255])^M[K++],Q=(H[oe>>>24]<<24|H[J>>>16&255]<<16|H[q>>>8&255]<<8|H[ne&255])^M[K++],le=(H[J>>>24]<<24|H[q>>>16&255]<<16|H[ne>>>8&255]<<8|H[oe&255])^M[K++],z=(H[q>>>24]<<24|H[ne>>>16&255]<<16|H[oe>>>8&255]<<8|H[J&255])^M[K++];A[I]=ee,A[I+1]=Q,A[I+2]=le,A[I+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(oe,J){return this.create(this._ENC_XFORM_MODE,oe,J)},createDecryptor:function(oe,J){return this.create(this._DEC_XFORM_MODE,oe,J)},init:function(oe,J,q){this.cfg=this.cfg.extend(q),this._xformMode=oe,this._key=J,this.reset()},reset:function(){h.reset.call(this),this._doReset()},process:function(oe){return this._append(oe),this._process()},finalize:function(oe){oe&&this._append(oe);var J=this._doFinalize();return J},keySize:128/32,ivSize:128/32,_ENC_XFORM_MODE:1,_DEC_XFORM_MODE:2,_createHelper:function(){function oe(J){return typeof J=="string"?ne:W}return function(J){return{encrypt:function(q,K,se){return oe(K).encrypt(J,q,K,se)},decrypt:function(q,K,se){return oe(K).decrypt(J,q,K,se)}}}}()}),b=c.StreamCipher=_.extend({_doFinalize:function(){var oe=this._process(!0);return oe},blockSize:1}),S=l.mode={},k=c.BlockCipherMode=f.extend({createEncryptor:function(oe,J){return this.Encryptor.create(oe,J)},createDecryptor:function(oe,J){return this.Decryptor.create(oe,J)},init:function(oe,J){this._cipher=oe,this._iv=J}}),R=S.CBC=function(){var oe=k.extend();oe.Encryptor=oe.extend({processBlock:function(q,K){var se=this._cipher,ee=se.blockSize;J.call(this,q,K,ee),se.encryptBlock(q,K),this._prevBlock=q.slice(K,K+ee)}}),oe.Decryptor=oe.extend({processBlock:function(q,K){var se=this._cipher,ee=se.blockSize,Q=q.slice(K,K+ee);se.decryptBlock(q,K),J.call(this,q,K,ee),this._prevBlock=Q}});function J(q,K,se){var ee,Q=this._iv;Q?(ee=Q,this._iv=i):ee=this._prevBlock;for(var le=0;le<se;le++)q[K+le]^=ee[le]}return oe}(),A=l.pad={},I=A.Pkcs7={pad:function(oe,J){for(var q=J*4,K=q-oe.sigBytes%q,se=K<<24|K<<16|K<<8|K,ee=[],Q=0;Q<K;Q+=4)ee.push(se);var le=o.create(ee,K);oe.concat(le)},unpad:function(oe){var J=oe.words[oe.sigBytes-1>>>2]&255;oe.sigBytes-=J}},M=c.BlockCipher=_.extend({cfg:_.cfg.extend({mode:R,padding:I}),reset:function(){var oe;_.reset.call(this);var J=this.cfg,q=J.iv,K=J.mode;this._xformMode==this._ENC_XFORM_MODE?oe=K.createEncryptor:(oe=K.createDecryptor,this._minBufferSize=1),this._mode&&this._mode.__creator==oe?this._mode.init(this,q&&q.words):(this._mode=oe.call(K,this,q&&q.words),this._mode.__creator=oe)},_doProcessBlock:function(oe,J){this._mode.processBlock(oe,J)},_doFinalize:function(){var oe,J=this.cfg.padding;return this._xformMode==this._ENC_XFORM_MODE?(J.pad(this._data,this.blockSize),oe=this._process(!0)):(oe=this._process(!0),J.unpad(oe)),oe},blockSize:128/32}),B=c.CipherParams=f.extend({init:function(oe){this.mixIn(oe)},toString:function(oe){return(oe||this.formatter).stringify(this)}}),N=l.format={},V=N.OpenSSL={stringify:function(oe){var J,q=oe.ciphertext,K=oe.salt;return K?J=o.create([1398893684,1701076831]).concat(K).concat(q):J=q,J.toString(x)},parse:function(oe){var J,q=x.parse(oe),K=q.words;return K[0]==1398893684&&K[1]==1701076831&&(J=o.create(K.slice(2,4)),K.splice(0,4),q.sigBytes-=16),B.create({ciphertext:q,salt:J})}},W=c.SerializableCipher=f.extend({cfg:f.extend({format:V}),encrypt:function(oe,J,q,K){K=this.cfg.extend(K);var se=oe.createEncryptor(q,K),ee=se.finalize(J),Q=se.cfg;return B.create({ciphertext:ee,key:q,iv:Q.iv,algorithm:oe,mode:Q.mode,padding:Q.padding,blockSize:oe.blockSize,formatter:K.format})},decrypt:function(oe,J,q,K){K=this.cfg.extend(K),J=this._parse(J,K.format);var se=oe.createDecryptor(q,K).finalize(J.ciphertext);return se},_parse:function(oe,J){return typeof oe=="string"?J.parse(oe,this):oe}}),H=l.kdf={},ae=H.OpenSSL={execute:function(oe,J,q,K){K||(K=o.random(64/8));var se=y.create({keySize:J+q}).compute(oe,K),ee=o.create(se.words.slice(J),q*4);return se.sigBytes=J*4,B.create({key:se,iv:ee,salt:K})}},ne=c.PasswordBasedCipher=W.extend({cfg:W.cfg.extend({kdf:ae}),encrypt:function(oe,J,q,K){K=this.cfg.extend(K);var se=K.kdf.execute(q,oe.keySize,oe.ivSize);K.iv=se.iv;var ee=W.encrypt.call(this,oe,J,se.key,K);return ee.mixIn(se),ee},decrypt:function(oe,J,q,K){K=this.cfg.extend(K),J=this._parse(J,K.format);var se=K.kdf.execute(q,oe.keySize,oe.ivSize,J.salt);K.iv=se.iv;var ee=W.decrypt.call(this,oe,J,se.key,K);return ee}})}()})},52952:function(d,v,e){(function(r,i){d.exports=v=i()})(this,function(){var r=r||function(i,l){var c;if(typeof window!="undefined"&&window.crypto&&(c=window.crypto),typeof self!="undefined"&&self.crypto&&(c=self.crypto),typeof globalThis!="undefined"&&globalThis.crypto&&(c=globalThis.crypto),!c&&typeof window!="undefined"&&window.msCrypto&&(c=window.msCrypto),!c&&typeof e.g!="undefined"&&e.g.crypto&&(c=e.g.crypto),!c)try{c=e(3828)}catch(A){}var f=function(){if(c){if(typeof c.getRandomValues=="function")try{return c.getRandomValues(new Uint32Array(1))[0]}catch(A){}if(typeof c.randomBytes=="function")try{return c.randomBytes(4).readInt32LE()}catch(A){}}throw new Error("Native crypto module could not be used to get secure random number.")},o=Object.create||function(){function A(){}return function(I){var M;return A.prototype=I,M=new A,A.prototype=null,M}}(),h={},u=h.lib={},a=u.Base=function(){return{extend:function(A){var I=o(this);return A&&I.mixIn(A),(!I.hasOwnProperty("init")||this.init===I.init)&&(I.init=function(){I.$super.init.apply(this,arguments)}),I.init.prototype=I,I.$super=this,I},create:function(){var A=this.extend();return A.init.apply(A,arguments),A},init:function(){},mixIn:function(A){for(var I in A)A.hasOwnProperty(I)&&(this[I]=A[I]);A.hasOwnProperty("toString")&&(this.toString=A.toString)},clone:function(){return this.init.prototype.extend(this)}}}(),x=u.WordArray=a.extend({init:function(A,I){A=this.words=A||[],I!=l?this.sigBytes=I:this.sigBytes=A.length*4},toString:function(A){return(A||y).stringify(this)},concat:function(A){var I=this.words,M=A.words,B=this.sigBytes,N=A.sigBytes;if(this.clamp(),B%4)for(var V=0;V<N;V++){var W=M[V>>>2]>>>24-V%4*8&255;I[B+V>>>2]|=W<<24-(B+V)%4*8}else for(var H=0;H<N;H+=4)I[B+H>>>2]=M[H>>>2];return this.sigBytes+=N,this},clamp:function(){var A=this.words,I=this.sigBytes;A[I>>>2]&=4294967295<<32-I%4*8,A.length=i.ceil(I/4)},clone:function(){var A=a.clone.call(this);return A.words=this.words.slice(0),A},random:function(A){for(var I=[],M=0;M<A;M+=4)I.push(f());return new x.init(I,A)}}),p=h.enc={},y=p.Hex={stringify:function(A){for(var I=A.words,M=A.sigBytes,B=[],N=0;N<M;N++){var V=I[N>>>2]>>>24-N%4*8&255;B.push((V>>>4).toString(16)),B.push((V&15).toString(16))}return B.join("")},parse:function(A){for(var I=A.length,M=[],B=0;B<I;B+=2)M[B>>>3]|=parseInt(A.substr(B,2),16)<<24-B%8*4;return new x.init(M,I/2)}},_=p.Latin1={stringify:function(A){for(var I=A.words,M=A.sigBytes,B=[],N=0;N<M;N++){var V=I[N>>>2]>>>24-N%4*8&255;B.push(String.fromCharCode(V))}return B.join("")},parse:function(A){for(var I=A.length,M=[],B=0;B<I;B++)M[B>>>2]|=(A.charCodeAt(B)&255)<<24-B%4*8;return new x.init(M,I)}},b=p.Utf8={stringify:function(A){try{return decodeURIComponent(escape(_.stringify(A)))}catch(I){throw new Error("Malformed UTF-8 data")}},parse:function(A){return _.parse(unescape(encodeURIComponent(A)))}},S=u.BufferedBlockAlgorithm=a.extend({reset:function(){this._data=new x.init,this._nDataBytes=0},_append:function(A){typeof A=="string"&&(A=b.parse(A)),this._data.concat(A),this._nDataBytes+=A.sigBytes},_process:function(A){var I,M=this._data,B=M.words,N=M.sigBytes,V=this.blockSize,W=V*4,H=N/W;A?H=i.ceil(H):H=i.max((H|0)-this._minBufferSize,0);var ae=H*V,ne=i.min(ae*4,N);if(ae){for(var oe=0;oe<ae;oe+=V)this._doProcessBlock(B,oe);I=B.splice(0,ae),M.sigBytes-=ne}return new x.init(I,ne)},clone:function(){var A=a.clone.call(this);return A._data=this._data.clone(),A},_minBufferSize:0}),k=u.Hasher=S.extend({cfg:a.extend(),init:function(A){this.cfg=this.cfg.extend(A),this.reset()},reset:function(){S.reset.call(this),this._doReset()},update:function(A){return this._append(A),this._process(),this},finalize:function(A){A&&this._append(A);var I=this._doFinalize();return I},blockSize:512/32,_createHelper:function(A){return function(I,M){return new A.init(M).finalize(I)}},_createHmacHelper:function(A){return function(I,M){return new R.HMAC.init(A,M).finalize(I)}}}),R=h.algo={};return h}(Math);return r})},35909:function(d,v,e){(function(r,i){d.exports=v=i(e(52952))})(this,function(r){return function(){var i=r,l=i.lib,c=l.WordArray,f=i.enc,o=f.Base64={stringify:function(u){var a=u.words,x=u.sigBytes,p=this._map;u.clamp();for(var y=[],_=0;_<x;_+=3)for(var b=a[_>>>2]>>>24-_%4*8&255,S=a[_+1>>>2]>>>24-(_+1)%4*8&255,k=a[_+2>>>2]>>>24-(_+2)%4*8&255,R=b<<16|S<<8|k,A=0;A<4&&_+A*.75<x;A++)y.push(p.charAt(R>>>6*(3-A)&63));var I=p.charAt(64);if(I)for(;y.length%4;)y.push(I);return y.join("")},parse:function(u){var a=u.length,x=this._map,p=this._reverseMap;if(!p){p=this._reverseMap=[];for(var y=0;y<x.length;y++)p[x.charCodeAt(y)]=y}var _=x.charAt(64);if(_){var b=u.indexOf(_);b!==-1&&(a=b)}return h(u,a,p)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="};function h(u,a,x){for(var p=[],y=0,_=0;_<a;_++)if(_%4){var b=x[u.charCodeAt(_-1)]<<_%4*2,S=x[u.charCodeAt(_)]>>>6-_%4*2,k=b|S;p[y>>>2]|=k<<24-y%4*8,y++}return c.create(p,y)}}(),r.enc.Base64})},52695:function(d,v,e){(function(r,i){d.exports=v=i(e(52952))})(this,function(r){return function(){var i=r,l=i.lib,c=l.WordArray,f=i.enc,o=f.Base64url={stringify:function(u,a=!0){var x=u.words,p=u.sigBytes,y=a?this._safe_map:this._map;u.clamp();for(var _=[],b=0;b<p;b+=3)for(var S=x[b>>>2]>>>24-b%4*8&255,k=x[b+1>>>2]>>>24-(b+1)%4*8&255,R=x[b+2>>>2]>>>24-(b+2)%4*8&255,A=S<<16|k<<8|R,I=0;I<4&&b+I*.75<p;I++)_.push(y.charAt(A>>>6*(3-I)&63));var M=y.charAt(64);if(M)for(;_.length%4;)_.push(M);return _.join("")},parse:function(u,a=!0){var x=u.length,p=a?this._safe_map:this._map,y=this._reverseMap;if(!y){y=this._reverseMap=[];for(var _=0;_<p.length;_++)y[p.charCodeAt(_)]=_}var b=p.charAt(64);if(b){var S=u.indexOf(b);S!==-1&&(x=S)}return h(u,x,y)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",_safe_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_"};function h(u,a,x){for(var p=[],y=0,_=0;_<a;_++)if(_%4){var b=x[u.charCodeAt(_-1)]<<_%4*2,S=x[u.charCodeAt(_)]>>>6-_%4*2,k=b|S;p[y>>>2]|=k<<24-y%4*8,y++}return c.create(p,y)}}(),r.enc.Base64url})},73323:function(d,v,e){(function(r,i){d.exports=v=i(e(52952))})(this,function(r){return function(){var i=r,l=i.lib,c=l.WordArray,f=i.enc,o=f.Utf16=f.Utf16BE={stringify:function(u){for(var a=u.words,x=u.sigBytes,p=[],y=0;y<x;y+=2){var _=a[y>>>2]>>>16-y%4*8&65535;p.push(String.fromCharCode(_))}return p.join("")},parse:function(u){for(var a=u.length,x=[],p=0;p<a;p++)x[p>>>1]|=u.charCodeAt(p)<<16-p%2*16;return c.create(x,a*2)}};f.Utf16LE={stringify:function(u){for(var a=u.words,x=u.sigBytes,p=[],y=0;y<x;y+=2){var _=h(a[y>>>2]>>>16-y%4*8&65535);p.push(String.fromCharCode(_))}return p.join("")},parse:function(u){for(var a=u.length,x=[],p=0;p<a;p++)x[p>>>1]|=h(u.charCodeAt(p)<<16-p%2*16);return c.create(x,a*2)}};function h(u){return u<<8&4278255360|u>>>8&16711935}}(),r.enc.Utf16})},28492:function(d,v,e){(function(r,i,l){d.exports=v=i(e(52952),e(49479),e(83760))})(this,function(r){return function(){var i=r,l=i.lib,c=l.Base,f=l.WordArray,o=i.algo,h=o.MD5,u=o.EvpKDF=c.extend({cfg:c.extend({keySize:128/32,hasher:h,iterations:1}),init:function(a){this.cfg=this.cfg.extend(a)},compute:function(a,x){for(var p,y=this.cfg,_=y.hasher.create(),b=f.create(),S=b.words,k=y.keySize,R=y.iterations;S.length<k;){p&&_.update(p),p=_.update(a).finalize(x),_.reset();for(var A=1;A<R;A++)p=_.finalize(p),_.reset();b.concat(p)}return b.sigBytes=k*4,b}});i.EvpKDF=function(a,x,p){return u.create(p).compute(a,x)}}(),r.EvpKDF})},24408:function(d,v,e){(function(r,i,l){d.exports=v=i(e(52952),e(93617))})(this,function(r){return function(i){var l=r,c=l.lib,f=c.CipherParams,o=l.enc,h=o.Hex,u=l.format,a=u.Hex={stringify:function(x){return x.ciphertext.toString(h)},parse:function(x){var p=h.parse(x);return f.create({ciphertext:p})}}}(),r.format.Hex})},83760:function(d,v,e){(function(r,i){d.exports=v=i(e(52952))})(this,function(r){(function(){var i=r,l=i.lib,c=l.Base,f=i.enc,o=f.Utf8,h=i.algo,u=h.HMAC=c.extend({init:function(a,x){a=this._hasher=new a.init,typeof x=="string"&&(x=o.parse(x));var p=a.blockSize,y=p*4;x.sigBytes>y&&(x=a.finalize(x)),x.clamp();for(var _=this._oKey=x.clone(),b=this._iKey=x.clone(),S=_.words,k=b.words,R=0;R<p;R++)S[R]^=1549556828,k[R]^=909522486;_.sigBytes=b.sigBytes=y,this.reset()},reset:function(){var a=this._hasher;a.reset(),a.update(this._iKey)},update:function(a){return this._hasher.update(a),this},finalize:function(a){var x=this._hasher,p=x.finalize(a);x.reset();var y=x.finalize(this._oKey.clone().concat(p));return y}})})()})},28209:function(d,v,e){(function(r,i,l){d.exports=v=i(e(52952),e(41988),e(79183),e(73323),e(35909),e(52695),e(34905),e(49479),e(2481),e(93653),e(12133),e(82307),e(79421),e(25824),e(83760),e(37248),e(28492),e(93617),e(2882),e(98277),e(69972),e(30509),e(79182),e(74990),e(2593),e(10829),e(10265),e(18846),e(24408),e(84452),e(61945),e(22528),e(21865),e(35308))})(this,function(r){return r})},79183:function(d,v,e){(function(r,i){d.exports=v=i(e(52952))})(this,function(r){return function(){if(typeof ArrayBuffer=="function"){var i=r,l=i.lib,c=l.WordArray,f=c.init,o=c.init=function(h){if(h instanceof ArrayBuffer&&(h=new Uint8Array(h)),(h instanceof Int8Array||typeof Uint8ClampedArray!="undefined"&&h instanceof Uint8ClampedArray||h instanceof Int16Array||h instanceof Uint16Array||h instanceof Int32Array||h instanceof Uint32Array||h instanceof Float32Array||h instanceof Float64Array)&&(h=new Uint8Array(h.buffer,h.byteOffset,h.byteLength)),h instanceof Uint8Array){for(var u=h.byteLength,a=[],x=0;x<u;x++)a[x>>>2]|=h[x]<<24-x%4*8;f.call(this,a,u)}else f.apply(this,arguments)};o.prototype=c}}(),r.lib.WordArray})},34905:function(d,v,e){(function(r,i){d.exports=v=i(e(52952))})(this,function(r){return function(i){var l=r,c=l.lib,f=c.WordArray,o=c.Hasher,h=l.algo,u=[];(function(){for(var b=0;b<64;b++)u[b]=i.abs(i.sin(b+1))*4294967296|0})();var a=h.MD5=o.extend({_doReset:function(){this._hash=new f.init([1732584193,4023233417,2562383102,271733878])},_doProcessBlock:function(b,S){for(var k=0;k<16;k++){var R=S+k,A=b[R];b[R]=(A<<8|A>>>24)&16711935|(A<<24|A>>>8)&4278255360}var I=this._hash.words,M=b[S+0],B=b[S+1],N=b[S+2],V=b[S+3],W=b[S+4],H=b[S+5],ae=b[S+6],ne=b[S+7],oe=b[S+8],J=b[S+9],q=b[S+10],K=b[S+11],se=b[S+12],ee=b[S+13],Q=b[S+14],le=b[S+15],z=I[0],$=I[1],ie=I[2],_e=I[3];z=x(z,$,ie,_e,M,7,u[0]),_e=x(_e,z,$,ie,B,12,u[1]),ie=x(ie,_e,z,$,N,17,u[2]),$=x($,ie,_e,z,V,22,u[3]),z=x(z,$,ie,_e,W,7,u[4]),_e=x(_e,z,$,ie,H,12,u[5]),ie=x(ie,_e,z,$,ae,17,u[6]),$=x($,ie,_e,z,ne,22,u[7]),z=x(z,$,ie,_e,oe,7,u[8]),_e=x(_e,z,$,ie,J,12,u[9]),ie=x(ie,_e,z,$,q,17,u[10]),$=x($,ie,_e,z,K,22,u[11]),z=x(z,$,ie,_e,se,7,u[12]),_e=x(_e,z,$,ie,ee,12,u[13]),ie=x(ie,_e,z,$,Q,17,u[14]),$=x($,ie,_e,z,le,22,u[15]),z=p(z,$,ie,_e,B,5,u[16]),_e=p(_e,z,$,ie,ae,9,u[17]),ie=p(ie,_e,z,$,K,14,u[18]),$=p($,ie,_e,z,M,20,u[19]),z=p(z,$,ie,_e,H,5,u[20]),_e=p(_e,z,$,ie,q,9,u[21]),ie=p(ie,_e,z,$,le,14,u[22]),$=p($,ie,_e,z,W,20,u[23]),z=p(z,$,ie,_e,J,5,u[24]),_e=p(_e,z,$,ie,Q,9,u[25]),ie=p(ie,_e,z,$,V,14,u[26]),$=p($,ie,_e,z,oe,20,u[27]),z=p(z,$,ie,_e,ee,5,u[28]),_e=p(_e,z,$,ie,N,9,u[29]),ie=p(ie,_e,z,$,ne,14,u[30]),$=p($,ie,_e,z,se,20,u[31]),z=y(z,$,ie,_e,H,4,u[32]),_e=y(_e,z,$,ie,oe,11,u[33]),ie=y(ie,_e,z,$,K,16,u[34]),$=y($,ie,_e,z,Q,23,u[35]),z=y(z,$,ie,_e,B,4,u[36]),_e=y(_e,z,$,ie,W,11,u[37]),ie=y(ie,_e,z,$,ne,16,u[38]),$=y($,ie,_e,z,q,23,u[39]),z=y(z,$,ie,_e,ee,4,u[40]),_e=y(_e,z,$,ie,M,11,u[41]),ie=y(ie,_e,z,$,V,16,u[42]),$=y($,ie,_e,z,ae,23,u[43]),z=y(z,$,ie,_e,J,4,u[44]),_e=y(_e,z,$,ie,se,11,u[45]),ie=y(ie,_e,z,$,le,16,u[46]),$=y($,ie,_e,z,N,23,u[47]),z=_(z,$,ie,_e,M,6,u[48]),_e=_(_e,z,$,ie,ne,10,u[49]),ie=_(ie,_e,z,$,Q,15,u[50]),$=_($,ie,_e,z,H,21,u[51]),z=_(z,$,ie,_e,se,6,u[52]),_e=_(_e,z,$,ie,V,10,u[53]),ie=_(ie,_e,z,$,q,15,u[54]),$=_($,ie,_e,z,B,21,u[55]),z=_(z,$,ie,_e,oe,6,u[56]),_e=_(_e,z,$,ie,le,10,u[57]),ie=_(ie,_e,z,$,ae,15,u[58]),$=_($,ie,_e,z,ee,21,u[59]),z=_(z,$,ie,_e,W,6,u[60]),_e=_(_e,z,$,ie,K,10,u[61]),ie=_(ie,_e,z,$,N,15,u[62]),$=_($,ie,_e,z,J,21,u[63]),I[0]=I[0]+z|0,I[1]=I[1]+$|0,I[2]=I[2]+ie|0,I[3]=I[3]+_e|0},_doFinalize:function(){var b=this._data,S=b.words,k=this._nDataBytes*8,R=b.sigBytes*8;S[R>>>5]|=128<<24-R%32;var A=i.floor(k/4294967296),I=k;S[(R+64>>>9<<4)+15]=(A<<8|A>>>24)&16711935|(A<<24|A>>>8)&4278255360,S[(R+64>>>9<<4)+14]=(I<<8|I>>>24)&16711935|(I<<24|I>>>8)&4278255360,b.sigBytes=(S.length+1)*4,this._process();for(var M=this._hash,B=M.words,N=0;N<4;N++){var V=B[N];B[N]=(V<<8|V>>>24)&16711935|(V<<24|V>>>8)&4278255360}return M},clone:function(){var b=o.clone.call(this);return b._hash=this._hash.clone(),b}});function x(b,S,k,R,A,I,M){var B=b+(S&k|~S&R)+A+M;return(B<<I|B>>>32-I)+S}function p(b,S,k,R,A,I,M){var B=b+(S&R|k&~R)+A+M;return(B<<I|B>>>32-I)+S}function y(b,S,k,R,A,I,M){var B=b+(S^k^R)+A+M;return(B<<I|B>>>32-I)+S}function _(b,S,k,R,A,I,M){var B=b+(k^(S|~R))+A+M;return(B<<I|B>>>32-I)+S}l.MD5=o._createHelper(a),l.HmacMD5=o._createHmacHelper(a)}(Math),r.MD5})},2882:function(d,v,e){(function(r,i,l){d.exports=v=i(e(52952),e(93617))})(this,function(r){return r.mode.CFB=function(){var i=r.lib.BlockCipherMode.extend();i.Encryptor=i.extend({processBlock:function(c,f){var o=this._cipher,h=o.blockSize;l.call(this,c,f,h,o),this._prevBlock=c.slice(f,f+h)}}),i.Decryptor=i.extend({processBlock:function(c,f){var o=this._cipher,h=o.blockSize,u=c.slice(f,f+h);l.call(this,c,f,h,o),this._prevBlock=u}});function l(c,f,o,h){var u,a=this._iv;a?(u=a.slice(0),this._iv=void 0):u=this._prevBlock,h.encryptBlock(u,0);for(var x=0;x<o;x++)c[f+x]^=u[x]}return i}(),r.mode.CFB})},69972:function(d,v,e){(function(r,i,l){d.exports=v=i(e(52952),e(93617))})(this,function(r){return r.mode.CTRGladman=function(){var i=r.lib.BlockCipherMode.extend();function l(o){if((o>>24&255)===255){var h=o>>16&255,u=o>>8&255,a=o&255;h===255?(h=0,u===255?(u=0,a===255?a=0:++a):++u):++h,o=0,o+=h<<16,o+=u<<8,o+=a}else o+=16777216;return o}function c(o){return(o[0]=l(o[0]))===0&&(o[1]=l(o[1])),o}var f=i.Encryptor=i.extend({processBlock:function(o,h){var u=this._cipher,a=u.blockSize,x=this._iv,p=this._counter;x&&(p=this._counter=x.slice(0),this._iv=void 0),c(p);var y=p.slice(0);u.encryptBlock(y,0);for(var _=0;_<a;_++)o[h+_]^=y[_]}});return i.Decryptor=f,i}(),r.mode.CTRGladman})},98277:function(d,v,e){(function(r,i,l){d.exports=v=i(e(52952),e(93617))})(this,function(r){return r.mode.CTR=function(){var i=r.lib.BlockCipherMode.extend(),l=i.Encryptor=i.extend({processBlock:function(c,f){var o=this._cipher,h=o.blockSize,u=this._iv,a=this._counter;u&&(a=this._counter=u.slice(0),this._iv=void 0);var x=a.slice(0);o.encryptBlock(x,0),a[h-1]=a[h-1]+1|0;for(var p=0;p<h;p++)c[f+p]^=x[p]}});return i.Decryptor=l,i}(),r.mode.CTR})},79182:function(d,v,e){(function(r,i,l){d.exports=v=i(e(52952),e(93617))})(this,function(r){return r.mode.ECB=function(){var i=r.lib.BlockCipherMode.extend();return i.Encryptor=i.extend({processBlock:function(l,c){this._cipher.encryptBlock(l,c)}}),i.Decryptor=i.extend({processBlock:function(l,c){this._cipher.decryptBlock(l,c)}}),i}(),r.mode.ECB})},30509:function(d,v,e){(function(r,i,l){d.exports=v=i(e(52952),e(93617))})(this,function(r){return r.mode.OFB=function(){var i=r.lib.BlockCipherMode.extend(),l=i.Encryptor=i.extend({processBlock:function(c,f){var o=this._cipher,h=o.blockSize,u=this._iv,a=this._keystream;u&&(a=this._keystream=u.slice(0),this._iv=void 0),o.encryptBlock(a,0);for(var x=0;x<h;x++)c[f+x]^=a[x]}});return i.Decryptor=l,i}(),r.mode.OFB})},74990:function(d,v,e){(function(r,i,l){d.exports=v=i(e(52952),e(93617))})(this,function(r){return r.pad.AnsiX923={pad:function(i,l){var c=i.sigBytes,f=l*4,o=f-c%f,h=c+o-1;i.clamp(),i.words[h>>>2]|=o<<24-h%4*8,i.sigBytes+=o},unpad:function(i){var l=i.words[i.sigBytes-1>>>2]&255;i.sigBytes-=l}},r.pad.Ansix923})},2593:function(d,v,e){(function(r,i,l){d.exports=v=i(e(52952),e(93617))})(this,function(r){return r.pad.Iso10126={pad:function(i,l){var c=l*4,f=c-i.sigBytes%c;i.concat(r.lib.WordArray.random(f-1)).concat(r.lib.WordArray.create([f<<24],1))},unpad:function(i){var l=i.words[i.sigBytes-1>>>2]&255;i.sigBytes-=l}},r.pad.Iso10126})},10829:function(d,v,e){(function(r,i,l){d.exports=v=i(e(52952),e(93617))})(this,function(r){return r.pad.Iso97971={pad:function(i,l){i.concat(r.lib.WordArray.create([2147483648],1)),r.pad.ZeroPadding.pad(i,l)},unpad:function(i){r.pad.ZeroPadding.unpad(i),i.sigBytes--}},r.pad.Iso97971})},18846:function(d,v,e){(function(r,i,l){d.exports=v=i(e(52952),e(93617))})(this,function(r){return r.pad.NoPadding={pad:function(){},unpad:function(){}},r.pad.NoPadding})},10265:function(d,v,e){(function(r,i,l){d.exports=v=i(e(52952),e(93617))})(this,function(r){return r.pad.ZeroPadding={pad:function(i,l){var c=l*4;i.clamp(),i.sigBytes+=c-(i.sigBytes%c||c)},unpad:function(i){for(var l=i.words,c=i.sigBytes-1,c=i.sigBytes-1;c>=0;c--)if(l[c>>>2]>>>24-c%4*8&255){i.sigBytes=c+1;break}}},r.pad.ZeroPadding})},37248:function(d,v,e){(function(r,i,l){d.exports=v=i(e(52952),e(49479),e(83760))})(this,function(r){return function(){var i=r,l=i.lib,c=l.Base,f=l.WordArray,o=i.algo,h=o.SHA1,u=o.HMAC,a=o.PBKDF2=c.extend({cfg:c.extend({keySize:128/32,hasher:h,iterations:1}),init:function(x){this.cfg=this.cfg.extend(x)},compute:function(x,p){for(var y=this.cfg,_=u.create(y.hasher,x),b=f.create(),S=f.create([1]),k=b.words,R=S.words,A=y.keySize,I=y.iterations;k.length<A;){var M=_.update(p).finalize(S);_.reset();for(var B=M.words,N=B.length,V=M,W=1;W<I;W++){V=_.finalize(V),_.reset();for(var H=V.words,ae=0;ae<N;ae++)B[ae]^=H[ae]}b.concat(M),R[0]++}return b.sigBytes=A*4,b}});i.PBKDF2=function(x,p,y){return a.create(y).compute(x,p)}}(),r.PBKDF2})},35308:function(d,v,e){(function(r,i,l){d.exports=v=i(e(52952),e(35909),e(34905),e(28492),e(93617))})(this,function(r){return function(){var i=r,l=i.lib,c=l.StreamCipher,f=i.algo,o=[],h=[],u=[],a=f.RabbitLegacy=c.extend({_doReset:function(){var p=this._key.words,y=this.cfg.iv,_=this._X=[p[0],p[3]<<16|p[2]>>>16,p[1],p[0]<<16|p[3]>>>16,p[2],p[1]<<16|p[0]>>>16,p[3],p[2]<<16|p[1]>>>16],b=this._C=[p[2]<<16|p[2]>>>16,p[0]&4294901760|p[1]&65535,p[3]<<16|p[3]>>>16,p[1]&4294901760|p[2]&65535,p[0]<<16|p[0]>>>16,p[2]&4294901760|p[3]&65535,p[1]<<16|p[1]>>>16,p[3]&4294901760|p[0]&65535];this._b=0;for(var S=0;S<4;S++)x.call(this);for(var S=0;S<8;S++)b[S]^=_[S+4&7];if(y){var k=y.words,R=k[0],A=k[1],I=(R<<8|R>>>24)&16711935|(R<<24|R>>>8)&4278255360,M=(A<<8|A>>>24)&16711935|(A<<24|A>>>8)&4278255360,B=I>>>16|M&4294901760,N=M<<16|I&65535;b[0]^=I,b[1]^=B,b[2]^=M,b[3]^=N,b[4]^=I,b[5]^=B,b[6]^=M,b[7]^=N;for(var S=0;S<4;S++)x.call(this)}},_doProcessBlock:function(p,y){var _=this._X;x.call(this),o[0]=_[0]^_[5]>>>16^_[3]<<16,o[1]=_[2]^_[7]>>>16^_[5]<<16,o[2]=_[4]^_[1]>>>16^_[7]<<16,o[3]=_[6]^_[3]>>>16^_[1]<<16;for(var b=0;b<4;b++)o[b]=(o[b]<<8|o[b]>>>24)&16711935|(o[b]<<24|o[b]>>>8)&4278255360,p[y+b]^=o[b]},blockSize:128/32,ivSize:64/32});function x(){for(var p=this._X,y=this._C,_=0;_<8;_++)h[_]=y[_];y[0]=y[0]+1295307597+this._b|0,y[1]=y[1]+3545052371+(y[0]>>>0<h[0]>>>0?1:0)|0,y[2]=y[2]+886263092+(y[1]>>>0<h[1]>>>0?1:0)|0,y[3]=y[3]+1295307597+(y[2]>>>0<h[2]>>>0?1:0)|0,y[4]=y[4]+3545052371+(y[3]>>>0<h[3]>>>0?1:0)|0,y[5]=y[5]+886263092+(y[4]>>>0<h[4]>>>0?1:0)|0,y[6]=y[6]+1295307597+(y[5]>>>0<h[5]>>>0?1:0)|0,y[7]=y[7]+3545052371+(y[6]>>>0<h[6]>>>0?1:0)|0,this._b=y[7]>>>0<h[7]>>>0?1:0;for(var _=0;_<8;_++){var b=p[_]+y[_],S=b&65535,k=b>>>16,R=((S*S>>>17)+S*k>>>15)+k*k,A=((b&4294901760)*b|0)+((b&65535)*b|0);u[_]=R^A}p[0]=u[0]+(u[7]<<16|u[7]>>>16)+(u[6]<<16|u[6]>>>16)|0,p[1]=u[1]+(u[0]<<8|u[0]>>>24)+u[7]|0,p[2]=u[2]+(u[1]<<16|u[1]>>>16)+(u[0]<<16|u[0]>>>16)|0,p[3]=u[3]+(u[2]<<8|u[2]>>>24)+u[1]|0,p[4]=u[4]+(u[3]<<16|u[3]>>>16)+(u[2]<<16|u[2]>>>16)|0,p[5]=u[5]+(u[4]<<8|u[4]>>>24)+u[3]|0,p[6]=u[6]+(u[5]<<16|u[5]>>>16)+(u[4]<<16|u[4]>>>16)|0,p[7]=u[7]+(u[6]<<8|u[6]>>>24)+u[5]|0}i.RabbitLegacy=c._createHelper(a)}(),r.RabbitLegacy})},21865:function(d,v,e){(function(r,i,l){d.exports=v=i(e(52952),e(35909),e(34905),e(28492),e(93617))})(this,function(r){return function(){var i=r,l=i.lib,c=l.StreamCipher,f=i.algo,o=[],h=[],u=[],a=f.Rabbit=c.extend({_doReset:function(){for(var p=this._key.words,y=this.cfg.iv,_=0;_<4;_++)p[_]=(p[_]<<8|p[_]>>>24)&16711935|(p[_]<<24|p[_]>>>8)&4278255360;var b=this._X=[p[0],p[3]<<16|p[2]>>>16,p[1],p[0]<<16|p[3]>>>16,p[2],p[1]<<16|p[0]>>>16,p[3],p[2]<<16|p[1]>>>16],S=this._C=[p[2]<<16|p[2]>>>16,p[0]&4294901760|p[1]&65535,p[3]<<16|p[3]>>>16,p[1]&4294901760|p[2]&65535,p[0]<<16|p[0]>>>16,p[2]&4294901760|p[3]&65535,p[1]<<16|p[1]>>>16,p[3]&4294901760|p[0]&65535];this._b=0;for(var _=0;_<4;_++)x.call(this);for(var _=0;_<8;_++)S[_]^=b[_+4&7];if(y){var k=y.words,R=k[0],A=k[1],I=(R<<8|R>>>24)&16711935|(R<<24|R>>>8)&4278255360,M=(A<<8|A>>>24)&16711935|(A<<24|A>>>8)&4278255360,B=I>>>16|M&4294901760,N=M<<16|I&65535;S[0]^=I,S[1]^=B,S[2]^=M,S[3]^=N,S[4]^=I,S[5]^=B,S[6]^=M,S[7]^=N;for(var _=0;_<4;_++)x.call(this)}},_doProcessBlock:function(p,y){var _=this._X;x.call(this),o[0]=_[0]^_[5]>>>16^_[3]<<16,o[1]=_[2]^_[7]>>>16^_[5]<<16,o[2]=_[4]^_[1]>>>16^_[7]<<16,o[3]=_[6]^_[3]>>>16^_[1]<<16;for(var b=0;b<4;b++)o[b]=(o[b]<<8|o[b]>>>24)&16711935|(o[b]<<24|o[b]>>>8)&4278255360,p[y+b]^=o[b]},blockSize:128/32,ivSize:64/32});function x(){for(var p=this._X,y=this._C,_=0;_<8;_++)h[_]=y[_];y[0]=y[0]+1295307597+this._b|0,y[1]=y[1]+3545052371+(y[0]>>>0<h[0]>>>0?1:0)|0,y[2]=y[2]+886263092+(y[1]>>>0<h[1]>>>0?1:0)|0,y[3]=y[3]+1295307597+(y[2]>>>0<h[2]>>>0?1:0)|0,y[4]=y[4]+3545052371+(y[3]>>>0<h[3]>>>0?1:0)|0,y[5]=y[5]+886263092+(y[4]>>>0<h[4]>>>0?1:0)|0,y[6]=y[6]+1295307597+(y[5]>>>0<h[5]>>>0?1:0)|0,y[7]=y[7]+3545052371+(y[6]>>>0<h[6]>>>0?1:0)|0,this._b=y[7]>>>0<h[7]>>>0?1:0;for(var _=0;_<8;_++){var b=p[_]+y[_],S=b&65535,k=b>>>16,R=((S*S>>>17)+S*k>>>15)+k*k,A=((b&4294901760)*b|0)+((b&65535)*b|0);u[_]=R^A}p[0]=u[0]+(u[7]<<16|u[7]>>>16)+(u[6]<<16|u[6]>>>16)|0,p[1]=u[1]+(u[0]<<8|u[0]>>>24)+u[7]|0,p[2]=u[2]+(u[1]<<16|u[1]>>>16)+(u[0]<<16|u[0]>>>16)|0,p[3]=u[3]+(u[2]<<8|u[2]>>>24)+u[1]|0,p[4]=u[4]+(u[3]<<16|u[3]>>>16)+(u[2]<<16|u[2]>>>16)|0,p[5]=u[5]+(u[4]<<8|u[4]>>>24)+u[3]|0,p[6]=u[6]+(u[5]<<16|u[5]>>>16)+(u[4]<<16|u[4]>>>16)|0,p[7]=u[7]+(u[6]<<8|u[6]>>>24)+u[5]|0}i.Rabbit=c._createHelper(a)}(),r.Rabbit})},22528:function(d,v,e){(function(r,i,l){d.exports=v=i(e(52952),e(35909),e(34905),e(28492),e(93617))})(this,function(r){return function(){var i=r,l=i.lib,c=l.StreamCipher,f=i.algo,o=f.RC4=c.extend({_doReset:function(){for(var a=this._key,x=a.words,p=a.sigBytes,y=this._S=[],_=0;_<256;_++)y[_]=_;for(var _=0,b=0;_<256;_++){var S=_%p,k=x[S>>>2]>>>24-S%4*8&255;b=(b+y[_]+k)%256;var R=y[_];y[_]=y[b],y[b]=R}this._i=this._j=0},_doProcessBlock:function(a,x){a[x]^=h.call(this)},keySize:256/32,ivSize:0});function h(){for(var a=this._S,x=this._i,p=this._j,y=0,_=0;_<4;_++){x=(x+1)%256,p=(p+a[x])%256;var b=a[x];a[x]=a[p],a[p]=b,y|=a[(a[x]+a[p])%256]<<24-_*8}return this._i=x,this._j=p,y}i.RC4=c._createHelper(o);var u=f.RC4Drop=o.extend({cfg:o.cfg.extend({drop:192}),_doReset:function(){o._doReset.call(this);for(var a=this.cfg.drop;a>0;a--)h.call(this)}});i.RC4Drop=c._createHelper(u)}(),r.RC4})},25824:function(d,v,e){(function(r,i){d.exports=v=i(e(52952))})(this,function(r){return function(i){var l=r,c=l.lib,f=c.WordArray,o=c.Hasher,h=l.algo,u=f.create([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13]),a=f.create([5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11]),x=f.create([11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6]),p=f.create([8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11]),y=f.create([0,1518500249,1859775393,2400959708,2840853838]),_=f.create([1352829926,1548603684,1836072691,2053994217,0]),b=h.RIPEMD160=o.extend({_doReset:function(){this._hash=f.create([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(B,N){for(var V=0;V<16;V++){var W=N+V,H=B[W];B[W]=(H<<8|H>>>24)&16711935|(H<<24|H>>>8)&4278255360}var ae=this._hash.words,ne=y.words,oe=_.words,J=u.words,q=a.words,K=x.words,se=p.words,ee,Q,le,z,$,ie,_e,Ae,Pe,We;ie=ee=ae[0],_e=Q=ae[1],Ae=le=ae[2],Pe=z=ae[3],We=$=ae[4];for(var $e,V=0;V<80;V+=1)$e=ee+B[N+J[V]]|0,V<16?$e+=S(Q,le,z)+ne[0]:V<32?$e+=k(Q,le,z)+ne[1]:V<48?$e+=R(Q,le,z)+ne[2]:V<64?$e+=A(Q,le,z)+ne[3]:$e+=I(Q,le,z)+ne[4],$e=$e|0,$e=M($e,K[V]),$e=$e+$|0,ee=$,$=z,z=M(le,10),le=Q,Q=$e,$e=ie+B[N+q[V]]|0,V<16?$e+=I(_e,Ae,Pe)+oe[0]:V<32?$e+=A(_e,Ae,Pe)+oe[1]:V<48?$e+=R(_e,Ae,Pe)+oe[2]:V<64?$e+=k(_e,Ae,Pe)+oe[3]:$e+=S(_e,Ae,Pe)+oe[4],$e=$e|0,$e=M($e,se[V]),$e=$e+We|0,ie=We,We=Pe,Pe=M(Ae,10),Ae=_e,_e=$e;$e=ae[1]+le+Pe|0,ae[1]=ae[2]+z+We|0,ae[2]=ae[3]+$+ie|0,ae[3]=ae[4]+ee+_e|0,ae[4]=ae[0]+Q+Ae|0,ae[0]=$e},_doFinalize:function(){var B=this._data,N=B.words,V=this._nDataBytes*8,W=B.sigBytes*8;N[W>>>5]|=128<<24-W%32,N[(W+64>>>9<<4)+14]=(V<<8|V>>>24)&16711935|(V<<24|V>>>8)&4278255360,B.sigBytes=(N.length+1)*4,this._process();for(var H=this._hash,ae=H.words,ne=0;ne<5;ne++){var oe=ae[ne];ae[ne]=(oe<<8|oe>>>24)&16711935|(oe<<24|oe>>>8)&4278255360}return H},clone:function(){var B=o.clone.call(this);return B._hash=this._hash.clone(),B}});function S(B,N,V){return B^N^V}function k(B,N,V){return B&N|~B&V}function R(B,N,V){return(B|~N)^V}function A(B,N,V){return B&V|N&~V}function I(B,N,V){return B^(N|~V)}function M(B,N){return B<<N|B>>>32-N}l.RIPEMD160=o._createHelper(b),l.HmacRIPEMD160=o._createHmacHelper(b)}(Math),r.RIPEMD160})},49479:function(d,v,e){(function(r,i){d.exports=v=i(e(52952))})(this,function(r){return function(){var i=r,l=i.lib,c=l.WordArray,f=l.Hasher,o=i.algo,h=[],u=o.SHA1=f.extend({_doReset:function(){this._hash=new c.init([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(a,x){for(var p=this._hash.words,y=p[0],_=p[1],b=p[2],S=p[3],k=p[4],R=0;R<80;R++){if(R<16)h[R]=a[x+R]|0;else{var A=h[R-3]^h[R-8]^h[R-14]^h[R-16];h[R]=A<<1|A>>>31}var I=(y<<5|y>>>27)+k+h[R];R<20?I+=(_&b|~_&S)+1518500249:R<40?I+=(_^b^S)+1859775393:R<60?I+=(_&b|_&S|b&S)-1894007588:I+=(_^b^S)-899497514,k=S,S=b,b=_<<30|_>>>2,_=y,y=I}p[0]=p[0]+y|0,p[1]=p[1]+_|0,p[2]=p[2]+b|0,p[3]=p[3]+S|0,p[4]=p[4]+k|0},_doFinalize:function(){var a=this._data,x=a.words,p=this._nDataBytes*8,y=a.sigBytes*8;return x[y>>>5]|=128<<24-y%32,x[(y+64>>>9<<4)+14]=Math.floor(p/4294967296),x[(y+64>>>9<<4)+15]=p,a.sigBytes=x.length*4,this._process(),this._hash},clone:function(){var a=f.clone.call(this);return a._hash=this._hash.clone(),a}});i.SHA1=f._createHelper(u),i.HmacSHA1=f._createHmacHelper(u)}(),r.SHA1})},93653:function(d,v,e){(function(r,i,l){d.exports=v=i(e(52952),e(2481))})(this,function(r){return function(){var i=r,l=i.lib,c=l.WordArray,f=i.algo,o=f.SHA256,h=f.SHA224=o.extend({_doReset:function(){this._hash=new c.init([3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428])},_doFinalize:function(){var u=o._doFinalize.call(this);return u.sigBytes-=4,u}});i.SHA224=o._createHelper(h),i.HmacSHA224=o._createHmacHelper(h)}(),r.SHA224})},2481:function(d,v,e){(function(r,i){d.exports=v=i(e(52952))})(this,function(r){return function(i){var l=r,c=l.lib,f=c.WordArray,o=c.Hasher,h=l.algo,u=[],a=[];(function(){function y(k){for(var R=i.sqrt(k),A=2;A<=R;A++)if(!(k%A))return!1;return!0}function _(k){return(k-(k|0))*4294967296|0}for(var b=2,S=0;S<64;)y(b)&&(S<8&&(u[S]=_(i.pow(b,.5))),a[S]=_(i.pow(b,.3333333333333333)),S++),b++})();var x=[],p=h.SHA256=o.extend({_doReset:function(){this._hash=new f.init(u.slice(0))},_doProcessBlock:function(y,_){for(var b=this._hash.words,S=b[0],k=b[1],R=b[2],A=b[3],I=b[4],M=b[5],B=b[6],N=b[7],V=0;V<64;V++){if(V<16)x[V]=y[_+V]|0;else{var W=x[V-15],H=(W<<25|W>>>7)^(W<<14|W>>>18)^W>>>3,ae=x[V-2],ne=(ae<<15|ae>>>17)^(ae<<13|ae>>>19)^ae>>>10;x[V]=H+x[V-7]+ne+x[V-16]}var oe=I&M^~I&B,J=S&k^S&R^k&R,q=(S<<30|S>>>2)^(S<<19|S>>>13)^(S<<10|S>>>22),K=(I<<26|I>>>6)^(I<<21|I>>>11)^(I<<7|I>>>25),se=N+K+oe+a[V]+x[V],ee=q+J;N=B,B=M,M=I,I=A+se|0,A=R,R=k,k=S,S=se+ee|0}b[0]=b[0]+S|0,b[1]=b[1]+k|0,b[2]=b[2]+R|0,b[3]=b[3]+A|0,b[4]=b[4]+I|0,b[5]=b[5]+M|0,b[6]=b[6]+B|0,b[7]=b[7]+N|0},_doFinalize:function(){var y=this._data,_=y.words,b=this._nDataBytes*8,S=y.sigBytes*8;return _[S>>>5]|=128<<24-S%32,_[(S+64>>>9<<4)+14]=i.floor(b/4294967296),_[(S+64>>>9<<4)+15]=b,y.sigBytes=_.length*4,this._process(),this._hash},clone:function(){var y=o.clone.call(this);return y._hash=this._hash.clone(),y}});l.SHA256=o._createHelper(p),l.HmacSHA256=o._createHmacHelper(p)}(Math),r.SHA256})},79421:function(d,v,e){(function(r,i,l){d.exports=v=i(e(52952),e(41988))})(this,function(r){return function(i){var l=r,c=l.lib,f=c.WordArray,o=c.Hasher,h=l.x64,u=h.Word,a=l.algo,x=[],p=[],y=[];(function(){for(var S=1,k=0,R=0;R<24;R++){x[S+5*k]=(R+1)*(R+2)/2%64;var A=k%5,I=(2*S+3*k)%5;S=A,k=I}for(var S=0;S<5;S++)for(var k=0;k<5;k++)p[S+5*k]=k+(2*S+3*k)%5*5;for(var M=1,B=0;B<24;B++){for(var N=0,V=0,W=0;W<7;W++){if(M&1){var H=(1<<W)-1;H<32?V^=1<<H:N^=1<<H-32}M&128?M=M<<1^113:M<<=1}y[B]=u.create(N,V)}})();var _=[];(function(){for(var S=0;S<25;S++)_[S]=u.create()})();var b=a.SHA3=o.extend({cfg:o.cfg.extend({outputLength:512}),_doReset:function(){for(var S=this._state=[],k=0;k<25;k++)S[k]=new u.init;this.blockSize=(1600-2*this.cfg.outputLength)/32},_doProcessBlock:function(S,k){for(var R=this._state,A=this.blockSize/2,I=0;I<A;I++){var M=S[k+2*I],B=S[k+2*I+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[I];N.high^=B,N.low^=M}for(var V=0;V<24;V++){for(var W=0;W<5;W++){for(var H=0,ae=0,ne=0;ne<5;ne++){var N=R[W+5*ne];H^=N.high,ae^=N.low}var oe=_[W];oe.high=H,oe.low=ae}for(var W=0;W<5;W++)for(var J=_[(W+4)%5],q=_[(W+1)%5],K=q.high,se=q.low,H=J.high^(K<<1|se>>>31),ae=J.low^(se<<1|K>>>31),ne=0;ne<5;ne++){var N=R[W+5*ne];N.high^=H,N.low^=ae}for(var ee=1;ee<25;ee++){var H,ae,N=R[ee],Q=N.high,le=N.low,z=x[ee];z<32?(H=Q<<z|le>>>32-z,ae=le<<z|Q>>>32-z):(H=le<<z-32|Q>>>64-z,ae=Q<<z-32|le>>>64-z);var $=_[p[ee]];$.high=H,$.low=ae}var ie=_[0],_e=R[0];ie.high=_e.high,ie.low=_e.low;for(var W=0;W<5;W++)for(var ne=0;ne<5;ne++){var ee=W+5*ne,N=R[ee],Ae=_[ee],Pe=_[(W+1)%5+5*ne],We=_[(W+2)%5+5*ne];N.high=Ae.high^~Pe.high&We.high,N.low=Ae.low^~Pe.low&We.low}var N=R[0],$e=y[V];N.high^=$e.high,N.low^=$e.low}},_doFinalize:function(){var S=this._data,k=S.words,R=this._nDataBytes*8,A=S.sigBytes*8,I=this.blockSize*32;k[A>>>5]|=1<<24-A%32,k[(i.ceil((A+1)/I)*I>>>5)-1]|=128,S.sigBytes=k.length*4,this._process();for(var M=this._state,B=this.cfg.outputLength/8,N=B/8,V=[],W=0;W<N;W++){var H=M[W],ae=H.high,ne=H.low;ae=(ae<<8|ae>>>24)&16711935|(ae<<24|ae>>>8)&4278255360,ne=(ne<<8|ne>>>24)&16711935|(ne<<24|ne>>>8)&4278255360,V.push(ne),V.push(ae)}return new f.init(V,B)},clone:function(){for(var S=o.clone.call(this),k=S._state=this._state.slice(0),R=0;R<25;R++)k[R]=k[R].clone();return S}});l.SHA3=o._createHelper(b),l.HmacSHA3=o._createHmacHelper(b)}(Math),r.SHA3})},82307:function(d,v,e){(function(r,i,l){d.exports=v=i(e(52952),e(41988),e(12133))})(this,function(r){return function(){var i=r,l=i.x64,c=l.Word,f=l.WordArray,o=i.algo,h=o.SHA512,u=o.SHA384=h.extend({_doReset:function(){this._hash=new f.init([new c.init(3418070365,3238371032),new c.init(1654270250,914150663),new c.init(2438529370,812702999),new c.init(355462360,4144912697),new c.init(1731405415,4290775857),new c.init(2394180231,1750603025),new c.init(3675008525,1694076839),new c.init(1203062813,3204075428)])},_doFinalize:function(){var a=h._doFinalize.call(this);return a.sigBytes-=16,a}});i.SHA384=h._createHelper(u),i.HmacSHA384=h._createHmacHelper(u)}(),r.SHA384})},12133:function(d,v,e){(function(r,i,l){d.exports=v=i(e(52952),e(41988))})(this,function(r){return function(){var i=r,l=i.lib,c=l.Hasher,f=i.x64,o=f.Word,h=f.WordArray,u=i.algo;function a(){return o.create.apply(o,arguments)}var x=[a(1116352408,3609767458),a(1899447441,602891725),a(3049323471,3964484399),a(3921009573,2173295548),a(961987163,4081628472),a(1508970993,3053834265),a(2453635748,2937671579),a(2870763221,3664609560),a(3624381080,2734883394),a(310598401,1164996542),a(607225278,1323610764),a(1426881987,3590304994),a(1925078388,4068182383),a(2162078206,991336113),a(2614888103,633803317),a(3248222580,3479774868),a(3835390401,2666613458),a(4022224774,944711139),a(264347078,2341262773),a(604807628,2007800933),a(770255983,1495990901),a(1249150122,1856431235),a(1555081692,3175218132),a(1996064986,2198950837),a(2554220882,3999719339),a(2821834349,766784016),a(2952996808,2566594879),a(3210313671,3203337956),a(3336571891,1034457026),a(3584528711,2466948901),a(113926993,3758326383),a(338241895,168717936),a(666307205,1188179964),a(773529912,1546045734),a(1294757372,1522805485),a(1396182291,2643833823),a(1695183700,2343527390),a(1986661051,1014477480),a(2177026350,1206759142),a(2456956037,344077627),a(2730485921,1290863460),a(2820302411,3158454273),a(3259730800,3505952657),a(3345764771,106217008),a(3516065817,3606008344),a(3600352804,1432725776),a(4094571909,1467031594),a(275423344,851169720),a(430227734,3100823752),a(506948616,1363258195),a(659060556,3750685593),a(883997877,3785050280),a(958139571,3318307427),a(1322822218,3812723403),a(1537002063,2003034995),a(1747873779,3602036899),a(1955562222,1575990012),a(2024104815,1125592928),a(2227730452,2716904306),a(2361852424,442776044),a(2428436474,593698344),a(2756734187,3733110249),a(3204031479,2999351573),a(3329325298,3815920427),a(3391569614,3928383900),a(3515267271,566280711),a(3940187606,3454069534),a(4118630271,4000239992),a(116418474,1914138554),a(174292421,2731055270),a(289380356,3203993006),a(460393269,320620315),a(685471733,587496836),a(852142971,1086792851),a(1017036298,365543100),a(1126000580,2618297676),a(1288033470,3409855158),a(1501505948,4234509866),a(1607167915,987167468),a(1816402316,1246189591)],p=[];(function(){for(var _=0;_<80;_++)p[_]=a()})();var y=u.SHA512=c.extend({_doReset:function(){this._hash=new h.init([new o.init(1779033703,4089235720),new o.init(3144134277,2227873595),new o.init(1013904242,4271175723),new o.init(2773480762,1595750129),new o.init(1359893119,2917565137),new o.init(2600822924,725511199),new o.init(528734635,4215389547),new o.init(1541459225,327033209)])},_doProcessBlock:function(_,b){for(var S=this._hash.words,k=S[0],R=S[1],A=S[2],I=S[3],M=S[4],B=S[5],N=S[6],V=S[7],W=k.high,H=k.low,ae=R.high,ne=R.low,oe=A.high,J=A.low,q=I.high,K=I.low,se=M.high,ee=M.low,Q=B.high,le=B.low,z=N.high,$=N.low,ie=V.high,_e=V.low,Ae=W,Pe=H,We=ae,$e=ne,Lt=oe,bt=J,kt=q,Zt=K,Mt=se,tr=ee,je=Q,wt=le,Ft=z,tt=$,gt=ie,ft=_e,Qe=0;Qe<80;Qe++){var Ne,xe,ke=p[Qe];if(Qe<16)xe=ke.high=_[b+Qe*2]|0,Ne=ke.low=_[b+Qe*2+1]|0;else{var Ge=p[Qe-15],He=Ge.high,Ye=Ge.low,dt=(He>>>1|Ye<<31)^(He>>>8|Ye<<24)^He>>>7,xt=(Ye>>>1|He<<31)^(Ye>>>8|He<<24)^(Ye>>>7|He<<25),nr=p[Qe-2],qt=nr.high,Me=nr.low,qe=(qt>>>19|Me<<13)^(qt<<3|Me>>>29)^qt>>>6,Vt=(Me>>>19|qt<<13)^(Me<<3|qt>>>29)^(Me>>>6|qt<<26),Rt=p[Qe-7],zt=Rt.high,Ht=Rt.low,Ct=p[Qe-16],Xt=Ct.high,ze=Ct.low;Ne=xt+Ht,xe=dt+zt+(Ne>>>0<xt>>>0?1:0),Ne=Ne+Vt,xe=xe+qe+(Ne>>>0<Vt>>>0?1:0),Ne=Ne+ze,xe=xe+Xt+(Ne>>>0<ze>>>0?1:0),ke.high=xe,ke.low=Ne}var ce=Mt&je^~Mt&Ft,pe=tr&wt^~tr&tt,It=Ae&We^Ae&Lt^We&Lt,Te=Pe&$e^Pe&bt^$e&bt,ct=(Ae>>>28|Pe<<4)^(Ae<<30|Pe>>>2)^(Ae<<25|Pe>>>7),Wt=(Pe>>>28|Ae<<4)^(Pe<<30|Ae>>>2)^(Pe<<25|Ae>>>7),Tt=(Mt>>>14|tr<<18)^(Mt>>>18|tr<<14)^(Mt<<23|tr>>>9),Ce=(tr>>>14|Mt<<18)^(tr>>>18|Mt<<14)^(tr<<23|Mt>>>9),St=x[Qe],ye=St.high,Je=St.low,yt=ft+Ce,Bt=gt+Tt+(yt>>>0<ft>>>0?1:0),yt=yt+pe,Bt=Bt+ce+(yt>>>0<pe>>>0?1:0),yt=yt+Je,Bt=Bt+ye+(yt>>>0<Je>>>0?1:0),yt=yt+Ne,Bt=Bt+xe+(yt>>>0<Ne>>>0?1:0),Be=Wt+Te,Dr=ct+It+(Be>>>0<Wt>>>0?1:0);gt=Ft,ft=tt,Ft=je,tt=wt,je=Mt,wt=tr,tr=Zt+yt|0,Mt=kt+Bt+(tr>>>0<Zt>>>0?1:0)|0,kt=Lt,Zt=bt,Lt=We,bt=$e,We=Ae,$e=Pe,Pe=yt+Be|0,Ae=Bt+Dr+(Pe>>>0<yt>>>0?1:0)|0}H=k.low=H+Pe,k.high=W+Ae+(H>>>0<Pe>>>0?1:0),ne=R.low=ne+$e,R.high=ae+We+(ne>>>0<$e>>>0?1:0),J=A.low=J+bt,A.high=oe+Lt+(J>>>0<bt>>>0?1:0),K=I.low=K+Zt,I.high=q+kt+(K>>>0<Zt>>>0?1:0),ee=M.low=ee+tr,M.high=se+Mt+(ee>>>0<tr>>>0?1:0),le=B.low=le+wt,B.high=Q+je+(le>>>0<wt>>>0?1:0),$=N.low=$+tt,N.high=z+Ft+($>>>0<tt>>>0?1:0),_e=V.low=_e+ft,V.high=ie+gt+(_e>>>0<ft>>>0?1:0)},_doFinalize:function(){var _=this._data,b=_.words,S=this._nDataBytes*8,k=_.sigBytes*8;b[k>>>5]|=128<<24-k%32,b[(k+128>>>10<<5)+30]=Math.floor(S/4294967296),b[(k+128>>>10<<5)+31]=S,_.sigBytes=b.length*4,this._process();var R=this._hash.toX32();return R},clone:function(){var _=c.clone.call(this);return _._hash=this._hash.clone(),_},blockSize:1024/32});i.SHA512=c._createHelper(y),i.HmacSHA512=c._createHmacHelper(y)}(),r.SHA512})},61945:function(d,v,e){(function(r,i,l){d.exports=v=i(e(52952),e(35909),e(34905),e(28492),e(93617))})(this,function(r){return function(){var i=r,l=i.lib,c=l.WordArray,f=l.BlockCipher,o=i.algo,h=[57,49,41,33,25,17,9,1,58,50,42,34,26,18,10,2,59,51,43,35,27,19,11,3,60,52,44,36,63,55,47,39,31,23,15,7,62,54,46,38,30,22,14,6,61,53,45,37,29,21,13,5,28,20,12,4],u=[14,17,11,24,1,5,3,28,15,6,21,10,23,19,12,4,26,8,16,7,27,20,13,2,41,52,31,37,47,55,30,40,51,45,33,48,44,49,39,56,34,53,46,42,50,36,29,32],a=[1,2,4,6,8,10,12,14,15,17,19,21,23,25,27,28],x=[{0:8421888,268435456:32768,536870912:8421378,805306368:2,1073741824:512,1342177280:8421890,1610612736:8389122,1879048192:8388608,2147483648:514,2415919104:8389120,2684354560:33280,2952790016:8421376,3221225472:32770,3489660928:8388610,3758096384:0,4026531840:33282,134217728:0,402653184:8421890,671088640:33282,939524096:32768,1207959552:8421888,1476395008:512,1744830464:8421378,2013265920:2,2281701376:8389120,2550136832:33280,2818572288:8421376,3087007744:8389122,3355443200:8388610,3623878656:32770,3892314112:514,4160749568:8388608,1:32768,268435457:2,536870913:8421888,805306369:8388608,1073741825:8421378,1342177281:33280,1610612737:512,1879048193:8389122,2147483649:8421890,2415919105:8421376,2684354561:8388610,2952790017:33282,3221225473:514,3489660929:8389120,3758096385:32770,4026531841:0,134217729:8421890,402653185:8421376,671088641:8388608,939524097:512,1207959553:32768,1476395009:8388610,1744830465:2,2013265921:33282,2281701377:32770,2550136833:8389122,2818572289:514,3087007745:8421888,3355443201:8389120,3623878657:0,3892314113:33280,4160749569:8421378},{0:1074282512,16777216:16384,33554432:524288,50331648:1074266128,67108864:1073741840,83886080:1074282496,100663296:1073758208,117440512:16,134217728:540672,150994944:1073758224,167772160:1073741824,184549376:540688,201326592:524304,218103808:0,234881024:16400,251658240:1074266112,8388608:1073758208,25165824:540688,41943040:16,58720256:1073758224,75497472:1074282512,92274688:1073741824,109051904:524288,125829120:1074266128,142606336:524304,159383552:0,176160768:16384,192937984:1074266112,209715200:1073741840,226492416:540672,243269632:1074282496,260046848:16400,268435456:0,285212672:1074266128,301989888:1073758224,318767104:1074282496,335544320:1074266112,352321536:16,369098752:540688,385875968:16384,402653184:16400,419430400:524288,436207616:524304,452984832:1073741840,469762048:540672,486539264:1073758208,503316480:1073741824,520093696:1074282512,276824064:540688,293601280:524288,310378496:1074266112,327155712:16384,343932928:1073758208,360710144:1074282512,377487360:16,394264576:1073741824,411041792:1074282496,427819008:1073741840,444596224:1073758224,461373440:524304,478150656:0,494927872:16400,511705088:1074266128,528482304:540672},{0:260,1048576:0,2097152:67109120,3145728:65796,4194304:65540,5242880:67108868,6291456:67174660,7340032:67174400,8388608:67108864,9437184:67174656,10485760:65792,11534336:67174404,12582912:67109124,13631488:65536,14680064:4,15728640:256,524288:67174656,1572864:67174404,2621440:0,3670016:67109120,4718592:67108868,5767168:65536,6815744:65540,7864320:260,8912896:4,9961472:256,11010048:67174400,12058624:65796,13107200:65792,14155776:67109124,15204352:67174660,16252928:67108864,16777216:67174656,17825792:65540,18874368:65536,19922944:67109120,20971520:256,22020096:67174660,23068672:67108868,24117248:0,25165824:67109124,26214400:67108864,27262976:4,28311552:65792,29360128:67174400,30408704:260,31457280:65796,32505856:67174404,17301504:67108864,18350080:260,19398656:67174656,20447232:0,21495808:65540,22544384:67109120,23592960:256,24641536:67174404,25690112:65536,26738688:67174660,27787264:65796,28835840:67108868,29884416:67109124,30932992:67174400,31981568:4,33030144:65792},{0:2151682048,65536:2147487808,131072:4198464,196608:2151677952,262144:0,327680:4198400,393216:2147483712,458752:4194368,524288:2147483648,589824:4194304,655360:64,720896:2147487744,786432:2151678016,851968:4160,917504:4096,983040:2151682112,32768:2147487808,98304:64,163840:2151678016,229376:2147487744,294912:4198400,360448:2151682112,425984:0,491520:2151677952,557056:4096,622592:2151682048,688128:4194304,753664:4160,819200:2147483648,884736:4194368,950272:4198464,1015808:2147483712,1048576:4194368,1114112:4198400,1179648:2147483712,1245184:0,1310720:4160,1376256:2151678016,1441792:2151682048,1507328:2147487808,1572864:2151682112,1638400:2147483648,1703936:2151677952,1769472:4198464,1835008:2147487744,1900544:4194304,1966080:64,2031616:4096,1081344:2151677952,1146880:2151682112,1212416:0,1277952:4198400,1343488:4194368,1409024:2147483648,1474560:2147487808,1540096:64,1605632:2147483712,1671168:4096,1736704:2147487744,1802240:2151678016,1867776:4160,1933312:2151682048,1998848:4194304,2064384:4198464},{0:128,4096:17039360,8192:262144,12288:536870912,16384:537133184,20480:16777344,24576:553648256,28672:262272,32768:16777216,36864:537133056,40960:536871040,45056:553910400,49152:553910272,53248:0,57344:17039488,61440:553648128,2048:17039488,6144:553648256,10240:128,14336:17039360,18432:262144,22528:537133184,26624:553910272,30720:536870912,34816:537133056,38912:0,43008:553910400,47104:16777344,51200:536871040,55296:553648128,59392:16777216,63488:262272,65536:262144,69632:128,73728:536870912,77824:553648256,81920:16777344,86016:553910272,90112:537133184,94208:16777216,98304:553910400,102400:553648128,106496:17039360,110592:537133056,114688:262272,118784:536871040,122880:0,126976:17039488,67584:553648256,71680:16777216,75776:17039360,79872:537133184,83968:536870912,88064:17039488,92160:128,96256:553910272,100352:262272,104448:553910400,108544:0,112640:553648128,116736:16777344,120832:262144,124928:537133056,129024:536871040},{0:268435464,256:8192,512:270532608,768:270540808,1024:268443648,1280:2097152,1536:2097160,1792:268435456,2048:0,2304:268443656,2560:2105344,2816:8,3072:270532616,3328:2105352,3584:8200,3840:270540800,128:270532608,384:270540808,640:8,896:2097152,1152:2105352,1408:268435464,1664:268443648,1920:8200,2176:2097160,2432:8192,2688:268443656,2944:270532616,3200:0,3456:270540800,3712:2105344,3968:268435456,4096:268443648,4352:270532616,4608:270540808,4864:8200,5120:2097152,5376:268435456,5632:268435464,5888:2105344,6144:2105352,6400:0,6656:8,6912:270532608,7168:8192,7424:268443656,7680:270540800,7936:2097160,4224:8,4480:2105344,4736:2097152,4992:268435464,5248:268443648,5504:8200,5760:270540808,6016:270532608,6272:270540800,6528:270532616,6784:8192,7040:2105352,7296:2097160,7552:0,7808:268435456,8064:268443656},{0:1048576,16:33555457,32:1024,48:1049601,64:34604033,80:0,96:1,112:34603009,128:33555456,144:1048577,160:33554433,176:34604032,192:34603008,208:1025,224:1049600,240:33554432,8:34603009,24:0,40:33555457,56:34604032,72:1048576,88:33554433,104:33554432,120:1025,136:1049601,152:33555456,168:34603008,184:1048577,200:1024,216:34604033,232:1,248:1049600,256:33554432,272:1048576,288:33555457,304:34603009,320:1048577,336:33555456,352:34604032,368:1049601,384:1025,400:34604033,416:1049600,432:1,448:0,464:34603008,480:33554433,496:1024,264:1049600,280:33555457,296:34603009,312:1,328:33554432,344:1048576,360:1025,376:34604032,392:33554433,408:34603008,424:0,440:34604033,456:1049601,472:1024,488:33555456,504:1048577},{0:134219808,1:131072,2:134217728,3:32,4:131104,5:134350880,6:134350848,7:2048,8:134348800,9:134219776,10:133120,11:134348832,12:2080,13:0,14:134217760,15:133152,2147483648:2048,2147483649:134350880,2147483650:134219808,2147483651:134217728,2147483652:134348800,2147483653:133120,2147483654:133152,2147483655:32,2147483656:134217760,2147483657:2080,2147483658:131104,2147483659:134350848,2147483660:0,2147483661:134348832,2147483662:134219776,2147483663:131072,16:133152,17:134350848,18:32,19:2048,20:134219776,21:134217760,22:134348832,23:131072,24:0,25:131104,26:134348800,27:134219808,28:134350880,29:133120,30:2080,31:134217728,2147483664:131072,2147483665:2048,2147483666:134348832,2147483667:133152,2147483668:32,2147483669:134348800,2147483670:134217728,2147483671:134219808,2147483672:134350880,2147483673:134217760,2147483674:134219776,2147483675:0,2147483676:133120,2147483677:2080,2147483678:131104,2147483679:134350848}],p=[4160749569,528482304,33030144,2064384,129024,8064,504,2147483679],y=o.DES=f.extend({_doReset:function(){for(var k=this._key,R=k.words,A=[],I=0;I<56;I++){var M=h[I]-1;A[I]=R[M>>>5]>>>31-M%32&1}for(var B=this._subKeys=[],N=0;N<16;N++){for(var V=B[N]=[],W=a[N],I=0;I<24;I++)V[I/6|0]|=A[(u[I]-1+W)%28]<<31-I%6,V[4+(I/6|0)]|=A[28+(u[I+24]-1+W)%28]<<31-I%6;V[0]=V[0]<<1|V[0]>>>31;for(var I=1;I<7;I++)V[I]=V[I]>>>(I-1)*4+3;V[7]=V[7]<<5|V[7]>>>27}for(var H=this._invSubKeys=[],I=0;I<16;I++)H[I]=B[15-I]},encryptBlock:function(k,R){this._doCryptBlock(k,R,this._subKeys)},decryptBlock:function(k,R){this._doCryptBlock(k,R,this._invSubKeys)},_doCryptBlock:function(k,R,A){this._lBlock=k[R],this._rBlock=k[R+1],_.call(this,4,252645135),_.call(this,16,65535),b.call(this,2,858993459),b.call(this,8,16711935),_.call(this,1,1431655765);for(var I=0;I<16;I++){for(var M=A[I],B=this._lBlock,N=this._rBlock,V=0,W=0;W<8;W++)V|=x[W][((N^M[W])&p[W])>>>0];this._lBlock=N,this._rBlock=B^V}var H=this._lBlock;this._lBlock=this._rBlock,this._rBlock=H,_.call(this,1,1431655765),b.call(this,8,16711935),b.call(this,2,858993459),_.call(this,16,65535),_.call(this,4,252645135),k[R]=this._lBlock,k[R+1]=this._rBlock},keySize:64/32,ivSize:64/32,blockSize:64/32});function _(k,R){var A=(this._lBlock>>>k^this._rBlock)&R;this._rBlock^=A,this._lBlock^=A<<k}function b(k,R){var A=(this._rBlock>>>k^this._lBlock)&R;this._lBlock^=A,this._rBlock^=A<<k}i.DES=f._createHelper(y);var S=o.TripleDES=f.extend({_doReset:function(){var k=this._key,R=k.words;if(R.length!==2&&R.length!==4&&R.length<6)throw new Error("Invalid key length - 3DES requires the key length to be 64, 128, 192 or >192.");var A=R.slice(0,2),I=R.length<4?R.slice(0,2):R.slice(2,4),M=R.length<6?R.slice(0,2):R.slice(4,6);this._des1=y.createEncryptor(c.create(A)),this._des2=y.createEncryptor(c.create(I)),this._des3=y.createEncryptor(c.create(M))},encryptBlock:function(k,R){this._des1.encryptBlock(k,R),this._des2.decryptBlock(k,R),this._des3.encryptBlock(k,R)},decryptBlock:function(k,R){this._des3.decryptBlock(k,R),this._des2.encryptBlock(k,R),this._des1.decryptBlock(k,R)},keySize:192/32,ivSize:64/32,blockSize:64/32});i.TripleDES=f._createHelper(S)}(),r.TripleDES})},41988:function(d,v,e){(function(r,i){d.exports=v=i(e(52952))})(this,function(r){return function(i){var l=r,c=l.lib,f=c.Base,o=c.WordArray,h=l.x64={},u=h.Word=f.extend({init:function(x,p){this.high=x,this.low=p}}),a=h.WordArray=f.extend({init:function(x,p){x=this.words=x||[],p!=i?this.sigBytes=p:this.sigBytes=x.length*8},toX32:function(){for(var x=this.words,p=x.length,y=[],_=0;_<p;_++){var b=x[_];y.push(b.high),y.push(b.low)}return o.create(y,this.sigBytes)},clone:function(){for(var x=f.clone.call(this),p=x.words=this.words.slice(0),y=p.length,_=0;_<y;_++)p[_]=p[_].clone();return x}})}(),r})},35413:function(d,v,e){"use strict";var r=e(57046),i=e(69574),l=e(63474),c=e(47095),f=e(99363),o=d.exports=function(h,u){var a,x,p,y,_;return arguments.length<2||typeof h!="string"?(y=u,u=h,h=null):y=arguments[2],r(h)?(a=f.call(h,"c"),x=f.call(h,"e"),p=f.call(h,"w")):(a=p=!0,x=!1),_={value:u,configurable:a,enumerable:x,writable:p},y?l(c(y),_):_};o.gs=function(h,u,a){var x,p,y,_;return typeof h!="string"?(y=a,a=u,u=h,h=null):y=arguments[3],r(u)?i(u)?r(a)?i(a)||(y=a,a=void 0):a=void 0:(y=u,u=a=void 0):u=void 0,r(h)?(x=f.call(h,"c"),p=f.call(h,"e")):(x=!0,p=!1),_={get:u,set:a,configurable:x,enumerable:p},y?l(c(y),_):_}},66649:function(d){(function(v,e){d.exports=e()})(this,function(){"use strict";var v=1e3,e=6e4,r=36e5,i="millisecond",l="second",c="minute",f="hour",o="day",h="week",u="month",a="quarter",x="year",p="date",y="Invalid Date",_=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,b=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,S={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(ne){var oe=["th","st","nd","rd"],J=ne%100;return"["+ne+(oe[(J-20)%10]||oe[J]||oe[0])+"]"}},k=function(ne,oe,J){var q=String(ne);return!q||q.length>=oe?ne:""+Array(oe+1-q.length).join(J)+ne},R={s:k,z:function(ne){var oe=-ne.utcOffset(),J=Math.abs(oe),q=Math.floor(J/60),K=J%60;return(oe<=0?"+":"-")+k(q,2,"0")+":"+k(K,2,"0")},m:function ne(oe,J){if(oe.date()<J.date())return-ne(J,oe);var q=12*(J.year()-oe.year())+(J.month()-oe.month()),K=oe.clone().add(q,u),se=J-K<0,ee=oe.clone().add(q+(se?-1:1),u);return+(-(q+(J-K)/(se?K-ee:ee-K))||0)},a:function(ne){return ne<0?Math.ceil(ne)||0:Math.floor(ne)},p:function(ne){return{M:u,y:x,w:h,d:o,D:p,h:f,m:c,s:l,ms:i,Q:a}[ne]||String(ne||"").toLowerCase().replace(/s$/,"")},u:function(ne){return ne===void 0}},A="en",I={};I[A]=S;var M="$isDayjsObject",B=function(ne){return ne instanceof H||!(!ne||!ne[M])},N=function ne(oe,J,q){var K;if(!oe)return A;if(typeof oe=="string"){var se=oe.toLowerCase();I[se]&&(K=se),J&&(I[se]=J,K=se);var ee=oe.split("-");if(!K&&ee.length>1)return ne(ee[0])}else{var Q=oe.name;I[Q]=oe,K=Q}return!q&&K&&(A=K),K||!q&&A},V=function(ne,oe){if(B(ne))return ne.clone();var J=typeof oe=="object"?oe:{};return J.date=ne,J.args=arguments,new H(J)},W=R;W.l=N,W.i=B,W.w=function(ne,oe){return V(ne,{locale:oe.$L,utc:oe.$u,x:oe.$x,$offset:oe.$offset})};var H=function(){function ne(J){this.$L=N(J.locale,null,!0),this.parse(J),this.$x=this.$x||J.x||{},this[M]=!0}var oe=ne.prototype;return oe.parse=function(J){this.$d=function(q){var K=q.date,se=q.utc;if(K===null)return new Date(NaN);if(W.u(K))return new Date;if(K instanceof Date)return new Date(K);if(typeof K=="string"&&!/Z$/i.test(K)){var ee=K.match(_);if(ee){var Q=ee[2]-1||0,le=(ee[7]||"0").substring(0,3);return se?new Date(Date.UTC(ee[1],Q,ee[3]||1,ee[4]||0,ee[5]||0,ee[6]||0,le)):new Date(ee[1],Q,ee[3]||1,ee[4]||0,ee[5]||0,ee[6]||0,le)}}return new Date(K)}(J),this.init()},oe.init=function(){var J=this.$d;this.$y=J.getFullYear(),this.$M=J.getMonth(),this.$D=J.getDate(),this.$W=J.getDay(),this.$H=J.getHours(),this.$m=J.getMinutes(),this.$s=J.getSeconds(),this.$ms=J.getMilliseconds()},oe.$utils=function(){return W},oe.isValid=function(){return this.$d.toString()!==y},oe.isSame=function(J,q){var K=V(J);return this.startOf(q)<=K&&K<=this.endOf(q)},oe.isAfter=function(J,q){return V(J)<this.startOf(q)},oe.isBefore=function(J,q){return this.endOf(q)<V(J)},oe.$g=function(J,q,K){return W.u(J)?this[q]:this.set(K,J)},oe.unix=function(){return Math.floor(this.valueOf()/1e3)},oe.valueOf=function(){return this.$d.getTime()},oe.startOf=function(J,q){var K=this,se=!!W.u(q)||q,ee=W.p(J),Q=function(We,$e){var Lt=W.w(K.$u?Date.UTC(K.$y,$e,We):new Date(K.$y,$e,We),K);return se?Lt:Lt.endOf(o)},le=function(We,$e){return W.w(K.toDate()[We].apply(K.toDate("s"),(se?[0,0,0,0]:[23,59,59,999]).slice($e)),K)},z=this.$W,$=this.$M,ie=this.$D,_e="set"+(this.$u?"UTC":"");switch(ee){case x:return se?Q(1,0):Q(31,11);case u:return se?Q(1,$):Q(0,$+1);case h:var Ae=this.$locale().weekStart||0,Pe=(z<Ae?z+7:z)-Ae;return Q(se?ie-Pe:ie+(6-Pe),$);case o:case p:return le(_e+"Hours",0);case f:return le(_e+"Minutes",1);case c:return le(_e+"Seconds",2);case l:return le(_e+"Milliseconds",3);default:return this.clone()}},oe.endOf=function(J){return this.startOf(J,!1)},oe.$set=function(J,q){var K,se=W.p(J),ee="set"+(this.$u?"UTC":""),Q=(K={},K[o]=ee+"Date",K[p]=ee+"Date",K[u]=ee+"Month",K[x]=ee+"FullYear",K[f]=ee+"Hours",K[c]=ee+"Minutes",K[l]=ee+"Seconds",K[i]=ee+"Milliseconds",K)[se],le=se===o?this.$D+(q-this.$W):q;if(se===u||se===x){var z=this.clone().set(p,1);z.$d[Q](le),z.init(),this.$d=z.set(p,Math.min(this.$D,z.daysInMonth())).$d}else Q&&this.$d[Q](le);return this.init(),this},oe.set=function(J,q){return this.clone().$set(J,q)},oe.get=function(J){return this[W.p(J)]()},oe.add=function(J,q){var K,se=this;J=Number(J);var ee=W.p(q),Q=function($){var ie=V(se);return W.w(ie.date(ie.date()+Math.round($*J)),se)};if(ee===u)return this.set(u,this.$M+J);if(ee===x)return this.set(x,this.$y+J);if(ee===o)return Q(1);if(ee===h)return Q(7);var le=(K={},K[c]=e,K[f]=r,K[l]=v,K)[ee]||1,z=this.$d.getTime()+J*le;return W.w(z,this)},oe.subtract=function(J,q){return this.add(-1*J,q)},oe.format=function(J){var q=this,K=this.$locale();if(!this.isValid())return K.invalidDate||y;var se=J||"YYYY-MM-DDTHH:mm:ssZ",ee=W.z(this),Q=this.$H,le=this.$m,z=this.$M,$=K.weekdays,ie=K.months,_e=K.meridiem,Ae=function($e,Lt,bt,kt){return $e&&($e[Lt]||$e(q,se))||bt[Lt].slice(0,kt)},Pe=function($e){return W.s(Q%12||12,$e,"0")},We=_e||function($e,Lt,bt){var kt=$e<12?"AM":"PM";return bt?kt.toLowerCase():kt};return se.replace(b,function($e,Lt){return Lt||function(bt){switch(bt){case"YY":return String(q.$y).slice(-2);case"YYYY":return W.s(q.$y,4,"0");case"M":return z+1;case"MM":return W.s(z+1,2,"0");case"MMM":return Ae(K.monthsShort,z,ie,3);case"MMMM":return Ae(ie,z);case"D":return q.$D;case"DD":return W.s(q.$D,2,"0");case"d":return String(q.$W);case"dd":return Ae(K.weekdaysMin,q.$W,$,2);case"ddd":return Ae(K.weekdaysShort,q.$W,$,3);case"dddd":return $[q.$W];case"H":return String(Q);case"HH":return W.s(Q,2,"0");case"h":return Pe(1);case"hh":return Pe(2);case"a":return We(Q,le,!0);case"A":return We(Q,le,!1);case"m":return String(le);case"mm":return W.s(le,2,"0");case"s":return String(q.$s);case"ss":return W.s(q.$s,2,"0");case"SSS":return W.s(q.$ms,3,"0");case"Z":return ee}return null}($e)||ee.replace(":","")})},oe.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},oe.diff=function(J,q,K){var se,ee=this,Q=W.p(q),le=V(J),z=(le.utcOffset()-this.utcOffset())*e,$=this-le,ie=function(){return W.m(ee,le)};switch(Q){case x:se=ie()/12;break;case u:se=ie();break;case a:se=ie()/3;break;case h:se=($-z)/6048e5;break;case o:se=($-z)/864e5;break;case f:se=$/r;break;case c:se=$/e;break;case l:se=$/v;break;default:se=$}return K?se:W.a(se)},oe.daysInMonth=function(){return this.endOf(u).$D},oe.$locale=function(){return I[this.$L]},oe.locale=function(J,q){if(!J)return this.$L;var K=this.clone(),se=N(J,q,!0);return se&&(K.$L=se),K},oe.clone=function(){return W.w(this.$d,this)},oe.toDate=function(){return new Date(this.valueOf())},oe.toJSON=function(){return this.isValid()?this.toISOString():null},oe.toISOString=function(){return this.$d.toISOString()},oe.toString=function(){return this.$d.toUTCString()},ne}(),ae=H.prototype;return V.prototype=ae,[["$ms",i],["$s",l],["$m",c],["$H",f],["$W",o],["$M",u],["$y",x],["$D",p]].forEach(function(ne){ae[ne[1]]=function(oe){return this.$g(oe,ne[0],ne[1])}}),V.extend=function(ne,oe){return ne.$i||(ne(oe,H,V),ne.$i=!0),V},V.locale=N,V.isDayjs=B,V.unix=function(ne){return V(1e3*ne)},V.en=I[A],V.Ls=I,V.p={},V})},69351:function(d,v,e){(function(r,i){d.exports=i(e(66649))})(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})},13477: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)}}})},64796:function(d){(function(v,e){d.exports=e()})(this,function(){"use strict";var v={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},e=/(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|Q|YYYY|YY?|ww?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g,r=/\d/,i=/\d\d/,l=/\d\d?/,c=/\d*[^-_:/,()\s\d]+/,f={},o=function(_){return(_=+_)+(_>68?1900:2e3)},h=function(_){return function(b){this[_]=+b}},u=[/[+-]\d\d:?(\d\d)?|Z/,function(_){(this.zone||(this.zone={})).offset=function(b){if(!b||b==="Z")return 0;var S=b.match(/([+-]|\d\d)/g),k=60*S[1]+(+S[2]||0);return k===0?0:S[0]==="+"?-k:k}(_)}],a=function(_){var b=f[_];return b&&(b.indexOf?b:b.s.concat(b.f))},x=function(_,b){var S,k=f.meridiem;if(k){for(var R=1;R<=24;R+=1)if(_.indexOf(k(R,0,b))>-1){S=R>12;break}}else S=_===(b?"pm":"PM");return S},p={A:[c,function(_){this.afternoon=x(_,!1)}],a:[c,function(_){this.afternoon=x(_,!0)}],Q:[r,function(_){this.month=3*(_-1)+1}],S:[r,function(_){this.milliseconds=100*+_}],SS:[i,function(_){this.milliseconds=10*+_}],SSS:[/\d{3}/,function(_){this.milliseconds=+_}],s:[l,h("seconds")],ss:[l,h("seconds")],m:[l,h("minutes")],mm:[l,h("minutes")],H:[l,h("hours")],h:[l,h("hours")],HH:[l,h("hours")],hh:[l,h("hours")],D:[l,h("day")],DD:[i,h("day")],Do:[c,function(_){var b=f.ordinal,S=_.match(/\d+/);if(this.day=S[0],b)for(var k=1;k<=31;k+=1)b(k).replace(/\[|\]/g,"")===_&&(this.day=k)}],w:[l,h("week")],ww:[i,h("week")],M:[l,h("month")],MM:[i,h("month")],MMM:[c,function(_){var b=a("months"),S=(a("monthsShort")||b.map(function(k){return k.slice(0,3)})).indexOf(_)+1;if(S<1)throw new Error;this.month=S%12||S}],MMMM:[c,function(_){var b=a("months").indexOf(_)+1;if(b<1)throw new Error;this.month=b%12||b}],Y:[/[+-]?\d+/,h("year")],YY:[i,function(_){this.year=o(_)}],YYYY:[/\d{4}/,h("year")],Z:u,ZZ:u};function y(_){var b,S;b=_,S=f&&f.formats;for(var k=(_=b.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,function(V,W,H){var ae=H&&H.toUpperCase();return W||S[H]||v[H]||S[ae].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(ne,oe,J){return oe||J.slice(1)})})).match(e),R=k.length,A=0;A<R;A+=1){var I=k[A],M=p[I],B=M&&M[0],N=M&&M[1];k[A]=N?{regex:B,parser:N}:I.replace(/^\[|\]$/g,"")}return function(V){for(var W={},H=0,ae=0;H<R;H+=1){var ne=k[H];if(typeof ne=="string")ae+=ne.length;else{var oe=ne.regex,J=ne.parser,q=V.slice(ae),K=oe.exec(q)[0];J.call(W,K),V=V.replace(K,"")}}return function(se){var ee=se.afternoon;if(ee!==void 0){var Q=se.hours;ee?Q<12&&(se.hours+=12):Q===12&&(se.hours=0),delete se.afternoon}}(W),W}}return function(_,b,S){S.p.customParseFormat=!0,_&&_.parseTwoDigitYear&&(o=_.parseTwoDigitYear);var k=b.prototype,R=k.parse;k.parse=function(A){var I=A.date,M=A.utc,B=A.args;this.$u=M;var N=B[1];if(typeof N=="string"){var V=B[2]===!0,W=B[3]===!0,H=V||W,ae=B[2];W&&(ae=B[2]),f=this.$locale(),!V&&ae&&(f=S.Ls[ae]),this.$d=function(q,K,se,ee){try{if(["x","X"].indexOf(K)>-1)return new Date((K==="X"?1e3:1)*q);var Q=y(K)(q),le=Q.year,z=Q.month,$=Q.day,ie=Q.hours,_e=Q.minutes,Ae=Q.seconds,Pe=Q.milliseconds,We=Q.zone,$e=Q.week,Lt=new Date,bt=$||(le||z?1:Lt.getDate()),kt=le||Lt.getFullYear(),Zt=0;le&&!z||(Zt=z>0?z-1:Lt.getMonth());var Mt,tr=ie||0,je=_e||0,wt=Ae||0,Ft=Pe||0;return We?new Date(Date.UTC(kt,Zt,bt,tr,je,wt,Ft+60*We.offset*1e3)):se?new Date(Date.UTC(kt,Zt,bt,tr,je,wt,Ft)):(Mt=new Date(kt,Zt,bt,tr,je,wt,Ft),$e&&(Mt=ee(Mt).week($e).toDate()),Mt)}catch(tt){return new Date("")}}(I,N,M,S),this.init(),ae&&ae!==!0&&(this.$L=this.locale(ae).$L),H&&I!=this.format(N)&&(this.$d=new Date("")),f={}}else if(N instanceof Array)for(var ne=N.length,oe=1;oe<=ne;oe+=1){B[1]=N[oe-1];var J=S.apply(this,B);if(J.isValid()){this.$d=J.$d,this.$L=J.$L,this.init();break}oe===ne&&(this.$d=new Date(""))}else R.call(this,A)}}})},1554: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(I){return I instanceof R},p=function(I,M,B){return new R(I,B,M.$l)},y=function(I){return e.p(I)+"s"},_=function(I){return I<0},b=function(I){return _(I)?Math.ceil(I):Math.floor(I)},S=function(I){return Math.abs(I)},k=function(I,M){return I?_(I)?{negative:!0,format:""+S(I)+M}:{negative:!1,format:""+I+M}:{negative:!1,format:""}},R=function(){function I(B,N,V){var W=this;if(this.$d={},this.$l=V,B===void 0&&(this.$ms=0,this.parseFromMilliseconds()),N)return p(B*a[y(N)],this);if(typeof B=="number")return this.$ms=B,this.parseFromMilliseconds(),this;if(typeof B=="object")return Object.keys(B).forEach(function(ne){W.$d[y(ne)]=B[ne]}),this.calMilliseconds(),this;if(typeof B=="string"){var H=B.match(u);if(H){var ae=H.slice(2).map(function(ne){return ne!=null?Number(ne):0});return this.$d.years=ae[0],this.$d.months=ae[1],this.$d.weeks=ae[2],this.$d.days=ae[3],this.$d.hours=ae[4],this.$d.minutes=ae[5],this.$d.seconds=ae[6],this.calMilliseconds(),this}}return this}var M=I.prototype;return M.calMilliseconds=function(){var B=this;this.$ms=Object.keys(this.$d).reduce(function(N,V){return N+(B.$d[V]||0)*a[V]},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"),V=+this.$d.days||0;this.$d.weeks&&(V+=7*this.$d.weeks);var W=k(V,"D"),H=k(this.$d.hours,"H"),ae=k(this.$d.minutes,"M"),ne=this.$d.seconds||0;this.$d.milliseconds&&(ne+=this.$d.milliseconds/1e3,ne=Math.round(1e3*ne)/1e3);var oe=k(ne,"S"),J=B.negative||N.negative||W.negative||H.negative||ae.negative||oe.negative,q=H.format||ae.format||oe.format?"T":"",K=(J?"-":"")+"P"+B.format+N.format+W.format+q+H.format+ae.format+oe.format;return K==="P"||K==="-P"?"P0D":K},M.toJSON=function(){return this.toISOString()},M.format=function(B){var N=B||"YYYY-MM-DDTHH:mm:ss",V={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(W,H){return H||String(V[W])})},M.as=function(B){return this.$ms/a[y(B)]},M.get=function(B){var N=this.$ms,V=y(B);return V==="milliseconds"?N%=1e3:N=V==="weeks"?b(N/a[V]):this.$d[V],N||0},M.add=function(B,N,V){var W;return W=N?B*a[y(N)]:x(B)?B.$ms:p(B,this).$ms,p(this.$ms+W*(V?-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")},I}(),A=function(I,M,B){return I.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(I,M,B){v=B,e=B().$utils(),B.duration=function(W,H){var ae=B.locale();return p(W,{$l:ae},H)},B.isDuration=x;var N=M.prototype.add,V=M.prototype.subtract;M.prototype.add=function(W,H){return x(W)?A(this,W,1):N.bind(this)(W,H)},M.prototype.subtract=function(W,H){return x(W)?A(this,W,-1):V.bind(this)(W,H)}}})},5116: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)}}})},14805: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)}}})},73100: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)}}})},50991:function(d){(function(v,e){d.exports=e()})(this,function(){"use strict";return function(v,e,r){var i=e.prototype,l=function(u){return u&&(u.indexOf?u:u.s)},c=function(u,a,x,p,y){var _=u.name?u:u.$locale(),b=l(_[a]),S=l(_[x]),k=b||S.map(function(A){return A.slice(0,p)});if(!y)return k;var R=_.weekStart;return k.map(function(A,I){return k[(I+(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)}}})},39050:function(d){(function(v,e){d.exports=e()})(this,function(){"use strict";var v={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"};return function(e,r,i){var l=r.prototype,c=l.format;i.en.formats=v,l.format=function(f){f===void 0&&(f="YYYY-MM-DDTHH:mm:ssZ");var o=this.$locale().formats,h=function(u,a){return u.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,function(x,p,y){var _=y&&y.toUpperCase();return p||a[y]||v[y]||a[_].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(b,S,k){return S||k.slice(1)})})}(f,o===void 0?{}:o);return c.call(this,h)}}})},59697:function(d){(function(v,e){d.exports=e()})(this,function(){"use strict";return function(v,e,r){v=v||{};var i=e.prototype,l={future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function c(o,h,u,a){return i.fromToBase(o,h,u,a)}r.en.relativeTime=l,i.fromToBase=function(o,h,u,a,x){for(var p,y,_,b=u.$locale().relativeTime||l,S=v.thresholds||[{l:"s",r:44,d:"second"},{l:"m",r:89},{l:"mm",r:44,d:"minute"},{l:"h",r:89},{l:"hh",r:21,d:"hour"},{l:"d",r:35},{l:"dd",r:25,d:"day"},{l:"M",r:45},{l:"MM",r:10,d:"month"},{l:"y",r:17},{l:"yy",d:"year"}],k=S.length,R=0;R<k;R+=1){var A=S[R];A.d&&(p=a?r(o).diff(u,A.d,!0):u.diff(o,A.d,!0));var I=(v.rounding||Math.round)(Math.abs(p));if(_=p>0,I<=A.r||!A.r){I<=1&&R>0&&(A=S[R-1]);var M=b[A.l];x&&(I=x(""+I)),y=typeof M=="string"?M.replace("%d",I):M(I,h,A.l,_);break}}if(h)return y;var B=_?b.future:b.past;return typeof B=="function"?B(y):B.replace("%s",y)},i.to=function(o,h){return c(o,h,this,!0)},i.from=function(o,h){return c(o,h,this)};var f=function(o){return o.$u?r.utc():r()};i.toNow=function(o){return this.to(f(this),o)},i.fromNow=function(o){return this.from(f(this),o)}}})},9084: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)}}})},58626: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}}})},9007:function(d){(function(v,e){d.exports=e()})(this,function(){"use strict";return function(v,e){e.prototype.weekday=function(r){var i=this.$locale().weekStart||0,l=this.$W,c=(l<i?l+7:l)-i;return this.$utils().u(r)?c:this.subtract(c,"day").add(r,"day")}}})},89880:function(d){"use strict";function v(o,h,u){return h in o?Object.defineProperty(o,h,{value:u,enumerable:!0,configurable:!0,writable:!0}):o[h]=u,o}function e(o,h){var u=Object.keys(o);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(o);h&&(a=a.filter(function(x){return Object.getOwnPropertyDescriptor(o,x).enumerable})),u.push.apply(u,a)}return u}function r(o){for(var h=1;h<arguments.length;h++){var u=arguments[h]!=null?arguments[h]:{};h%2?e(Object(u),!0).forEach(function(a){v(o,a,u[a])}):Object.getOwnPropertyDescriptors?Object.defineProperties(o,Object.getOwnPropertyDescriptors(u)):e(Object(u)).forEach(function(a){Object.defineProperty(o,a,Object.getOwnPropertyDescriptor(u,a))})}return o}var i="@@DVA_LOADING/SHOW",l="@@DVA_LOADING/HIDE",c="loading";function f(){var o=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},h=o.namespace||c,u=o.only,a=u===void 0?[]:u,x=o.except,p=x===void 0?[]:x;if(a.length>0&&p.length>0)throw Error("It is ambiguous to configurate `only` and `except` items at the same time.");var y={global:!1,models:{},effects:{}},_=v({},h,function(){var S=arguments.length>0&&arguments[0]!==void 0?arguments[0]:y,k=arguments.length>1?arguments[1]:void 0,R=k.type,A=k.payload,I=A||{},M=I.namespace,B=I.actionType,N;switch(R){case i:N=r(r({},S),{},{global:!0,models:r(r({},S.models),{},v({},M,!0)),effects:r(r({},S.effects),{},v({},B,!0))});break;case l:{var V=r(r({},S.effects),{},v({},B,!1)),W=r(r({},S.models),{},v({},M,Object.keys(V).some(function(ae){var ne=ae.split("/")[0];return ne!==M?!1:V[ae]}))),H=Object.keys(W).some(function(ae){return W[ae]});N=r(r({},S),{},{global:H,models:W,effects:V});break}default:N=S;break}return N});function b(S,k,R,A){var I=k.put,M=R.namespace;return a.length===0&&p.length===0||a.length>0&&a.indexOf(A)!==-1||p.length>0&&p.indexOf(A)===-1?regeneratorRuntime.mark(function B(){var N=arguments;return regeneratorRuntime.wrap(function(W){for(;;)switch(W.prev=W.next){case 0:return W.next=2,I({type:i,payload:{namespace:M,actionType:A}});case 2:return W.next=4,S.apply(void 0,N);case 4:return W.next=6,I({type:l,payload:{namespace:M,actionType:A}});case 6:case"end":return W.stop()}},B)}):S}return{extraReducers:_,onEffect:b}}d.exports=f},68192:function(d){"use strict";d.exports=function(){}},63474:function(d,v,e){"use strict";d.exports=e(71111)()?Object.assign:e(47597)},71111:function(d){"use strict";d.exports=function(){var v=Object.assign,e;return typeof v!="function"?!1:(e={foo:"raz"},v(e,{bar:"dwa"},{trzy:"trzy"}),e.foo+e.bar+e.trzy==="razdwatrzy")}},47597:function(d,v,e){"use strict";var r=e(90721),i=e(58883),l=Math.max;d.exports=function(c,f){var o,h,u=l(arguments.length,2),a;for(c=Object(i(c)),a=function(x){try{c[x]=f[x]}catch(p){o||(o=p)}},h=1;h<u;++h)f=arguments[h],r(f).forEach(a);if(o!==void 0)throw o;return c}},67390:function(d,v,e){"use strict";var r=e(68192)();d.exports=function(i){return i!==r&&i!==null}},90721:function(d,v,e){"use strict";d.exports=e(69075)()?Object.keys:e(34810)},69075:function(d){"use strict";d.exports=function(){try{return Object.keys("primitive"),!0}catch(v){return!1}}},34810:function(d,v,e){"use strict";var r=e(67390),i=Object.keys;d.exports=function(l){return i(r(l)?Object(l):l)}},47095:function(d,v,e){"use strict";var r=e(67390),i=Array.prototype.forEach,l=Object.create,c=function(f,o){var h;for(h in f)o[h]=f[h]};d.exports=function(f){var o=l(null);return i.call(arguments,function(h){r(h)&&c(Object(h),o)}),o}},15895:function(d){"use strict";d.exports=function(v){if(typeof v!="function")throw new TypeError(v+" is not a function");return v}},58883:function(d,v,e){"use strict";var r=e(67390);d.exports=function(i){if(!r(i))throw new TypeError("Cannot use null or undefined");return i}},99363:function(d,v,e){"use strict";d.exports=e(65136)()?String.prototype.contains:e(12444)},65136:function(d){"use strict";var v="razdwatrzy";d.exports=function(){return typeof v.contains!="function"?!1:v.contains("dwa")===!0&&v.contains("foo")===!1}},12444:function(d){"use strict";var v=String.prototype.indexOf;d.exports=function(e){return v.call(this,e,arguments[1])>-1}},3424:function(d,v,e){"use strict";var r=e(35413),i=e(15895),l=Function.prototype.apply,c=Function.prototype.call,f=Object.create,o=Object.defineProperty,h=Object.defineProperties,u=Object.prototype.hasOwnProperty,a={configurable:!0,enumerable:!1,writable:!0},x,p,y,_,b,S,k;x=function(R,A){var I;return i(A),u.call(this,"__ee__")?I=this.__ee__:(I=a.value=f(null),o(this,"__ee__",a),a.value=null),I[R]?typeof I[R]=="object"?I[R].push(A):I[R]=[I[R],A]:I[R]=A,this},p=function(R,A){var I,M;return i(A),M=this,x.call(this,R,I=function(){y.call(M,R,I),l.call(A,this,arguments)}),I.__eeOnceListener__=A,this},y=function(R,A){var I,M,B,N;if(i(A),!u.call(this,"__ee__"))return this;if(I=this.__ee__,!I[R])return this;if(M=I[R],typeof M=="object")for(N=0;B=M[N];++N)(B===A||B.__eeOnceListener__===A)&&(M.length===2?I[R]=M[N?0:1]:M.splice(N,1));else(M===A||M.__eeOnceListener__===A)&&delete I[R];return this},_=function(R){var A,I,M,B,N;if(u.call(this,"__ee__")&&(B=this.__ee__[R],!!B))if(typeof B=="object"){for(I=arguments.length,N=new Array(I-1),A=1;A<I;++A)N[A-1]=arguments[A];for(B=B.slice(),A=0;M=B[A];++A)l.call(M,this,N)}else switch(arguments.length){case 1:c.call(B,this);break;case 2:c.call(B,this,arguments[1]);break;case 3:c.call(B,this,arguments[1],arguments[2]);break;default:for(I=arguments.length,N=new Array(I-1),A=1;A<I;++A)N[A-1]=arguments[A];l.call(B,this,N)}},b={on:x,once:p,off:y,emit:_},S={on:r(x),once:r(p),off:r(y),emit:r(_)},k=h({},S),d.exports=v=function(R){return R==null?f(k):h(Object(R),S)},v.methods=b},89381:function(d){d.exports=function(e,r){if(r=typeof r=="number"?r:1/0,!r)return Array.isArray(e)?e.map(function(l){return l}):e;return i(e,1);function i(l,c){return l.reduce(function(f,o){return Array.isArray(o)&&c<r?f.concat(i(o,c+1)):f.concat(o)},[])}}},60288:function(d,v,e){var r;typeof window!="undefined"?r=window:typeof e.g!="undefined"?r=e.g:typeof self!="undefined"?r=self:r={},d.exports=r},85582:function(d,v,e){var r=v;r.utils=e(8631),r.common=e(28766),r.sha=e(26672),r.ripemd=e(20427),r.hmac=e(57969),r.sha1=r.sha.sha1,r.sha256=r.sha.sha256,r.sha224=r.sha.sha224,r.sha384=r.sha.sha384,r.sha512=r.sha.sha512,r.ripemd160=r.ripemd.ripemd160},28766:function(d,v,e){"use strict";var r=e(8631),i=e(61339);function l(){this.pending=null,this.pendingTotal=0,this.blockSize=this.constructor.blockSize,this.outSize=this.constructor.outSize,this.hmacStrength=this.constructor.hmacStrength,this.padLength=this.constructor.padLength/8,this.endian="big",this._delta8=this.blockSize/8,this._delta32=this.blockSize/32}v.BlockHash=l,l.prototype.update=function(f,o){if(f=r.toArray(f,o),this.pending?this.pending=this.pending.concat(f):this.pending=f,this.pendingTotal+=f.length,this.pending.length>=this._delta8){f=this.pending;var h=f.length%this._delta8;this.pending=f.slice(f.length-h,f.length),this.pending.length===0&&(this.pending=null),f=r.join32(f,0,f.length-h,this.endian);for(var u=0;u<f.length;u+=this._delta32)this._update(f,u,u+this._delta32)}return this},l.prototype.digest=function(f){return this.update(this._pad()),i(this.pending===null),this._digest(f)},l.prototype._pad=function(){var f=this.pendingTotal,o=this._delta8,h=o-(f+this.padLength)%o,u=new Array(h+this.padLength);u[0]=128;for(var a=1;a<h;a++)u[a]=0;if(f<<=3,this.endian==="big"){for(var x=8;x<this.padLength;x++)u[a++]=0;u[a++]=0,u[a++]=0,u[a++]=0,u[a++]=0,u[a++]=f>>>24&255,u[a++]=f>>>16&255,u[a++]=f>>>8&255,u[a++]=f&255}else for(u[a++]=f&255,u[a++]=f>>>8&255,u[a++]=f>>>16&255,u[a++]=f>>>24&255,u[a++]=0,u[a++]=0,u[a++]=0,u[a++]=0,x=8;x<this.padLength;x++)u[a++]=0;return u}},57969:function(d,v,e){"use strict";var r=e(8631),i=e(61339);function l(c,f,o){if(!(this instanceof l))return new l(c,f,o);this.Hash=c,this.blockSize=c.blockSize/8,this.outSize=c.outSize/8,this.inner=null,this.outer=null,this._init(r.toArray(f,o))}d.exports=l,l.prototype._init=function(f){f.length>this.blockSize&&(f=new this.Hash().update(f).digest()),i(f.length<=this.blockSize);for(var o=f.length;o<this.blockSize;o++)f.push(0);for(o=0;o<f.length;o++)f[o]^=54;for(this.inner=new this.Hash().update(f),o=0;o<f.length;o++)f[o]^=106;this.outer=new this.Hash().update(f)},l.prototype.update=function(f,o){return this.inner.update(f,o),this},l.prototype.digest=function(f){return this.outer.update(this.inner.digest()),this.outer.digest(f)}},20427:function(d,v,e){"use strict";var r=e(8631),i=e(28766),l=r.rotl32,c=r.sum32,f=r.sum32_3,o=r.sum32_4,h=i.BlockHash;function u(){if(!(this instanceof u))return new u;h.call(this),this.h=[1732584193,4023233417,2562383102,271733878,3285377520],this.endian="little"}r.inherits(u,h),v.ripemd160=u,u.blockSize=512,u.outSize=160,u.hmacStrength=192,u.padLength=64,u.prototype._update=function(R,A){for(var I=this.h[0],M=this.h[1],B=this.h[2],N=this.h[3],V=this.h[4],W=I,H=M,ae=B,ne=N,oe=V,J=0;J<80;J++){var q=c(l(o(I,a(J,M,B,N),R[y[J]+A],x(J)),b[J]),V);I=V,V=N,N=l(B,10),B=M,M=q,q=c(l(o(W,a(79-J,H,ae,ne),R[_[J]+A],p(J)),S[J]),oe),W=oe,oe=ne,ne=l(ae,10),ae=H,H=q}q=f(this.h[1],B,ne),this.h[1]=f(this.h[2],N,oe),this.h[2]=f(this.h[3],V,W),this.h[3]=f(this.h[4],I,H),this.h[4]=f(this.h[0],M,ae),this.h[0]=q},u.prototype._digest=function(R){return R==="hex"?r.toHex32(this.h,"little"):r.split32(this.h,"little")};function a(k,R,A,I){return k<=15?R^A^I:k<=31?R&A|~R&I:k<=47?(R|~A)^I:k<=63?R&I|A&~I:R^(A|~I)}function x(k){return k<=15?0:k<=31?1518500249:k<=47?1859775393:k<=63?2400959708:2840853838}function p(k){return k<=15?1352829926:k<=31?1548603684:k<=47?1836072691:k<=63?2053994217:0}var y=[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13],_=[5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11],b=[11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6],S=[8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11]},26672:function(d,v,e){"use strict";v.sha1=e(16114),v.sha224=e(44853),v.sha256=e(6586),v.sha384=e(66474),v.sha512=e(50663)},16114:function(d,v,e){"use strict";var r=e(8631),i=e(28766),l=e(81692),c=r.rotl32,f=r.sum32,o=r.sum32_5,h=l.ft_1,u=i.BlockHash,a=[1518500249,1859775393,2400959708,3395469782];function x(){if(!(this instanceof x))return new x;u.call(this),this.h=[1732584193,4023233417,2562383102,271733878,3285377520],this.W=new Array(80)}r.inherits(x,u),d.exports=x,x.blockSize=512,x.outSize=160,x.hmacStrength=80,x.padLength=64,x.prototype._update=function(y,_){for(var b=this.W,S=0;S<16;S++)b[S]=y[_+S];for(;S<b.length;S++)b[S]=c(b[S-3]^b[S-8]^b[S-14]^b[S-16],1);var k=this.h[0],R=this.h[1],A=this.h[2],I=this.h[3],M=this.h[4];for(S=0;S<b.length;S++){var B=~~(S/20),N=o(c(k,5),h(B,R,A,I),M,b[S],a[B]);M=I,I=A,A=c(R,30),R=k,k=N}this.h[0]=f(this.h[0],k),this.h[1]=f(this.h[1],R),this.h[2]=f(this.h[2],A),this.h[3]=f(this.h[3],I),this.h[4]=f(this.h[4],M)},x.prototype._digest=function(y){return y==="hex"?r.toHex32(this.h,"big"):r.split32(this.h,"big")}},44853:function(d,v,e){"use strict";var r=e(8631),i=e(6586);function l(){if(!(this instanceof l))return new l;i.call(this),this.h=[3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428]}r.inherits(l,i),d.exports=l,l.blockSize=512,l.outSize=224,l.hmacStrength=192,l.padLength=64,l.prototype._digest=function(f){return f==="hex"?r.toHex32(this.h.slice(0,7),"big"):r.split32(this.h.slice(0,7),"big")}},6586:function(d,v,e){"use strict";var r=e(8631),i=e(28766),l=e(81692),c=e(61339),f=r.sum32,o=r.sum32_4,h=r.sum32_5,u=l.ch32,a=l.maj32,x=l.s0_256,p=l.s1_256,y=l.g0_256,_=l.g1_256,b=i.BlockHash,S=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298];function k(){if(!(this instanceof k))return new k;b.call(this),this.h=[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225],this.k=S,this.W=new Array(64)}r.inherits(k,b),d.exports=k,k.blockSize=512,k.outSize=256,k.hmacStrength=192,k.padLength=64,k.prototype._update=function(A,I){for(var M=this.W,B=0;B<16;B++)M[B]=A[I+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],V=this.h[1],W=this.h[2],H=this.h[3],ae=this.h[4],ne=this.h[5],oe=this.h[6],J=this.h[7];for(c(this.k.length===M.length),B=0;B<M.length;B++){var q=h(J,p(ae),u(ae,ne,oe),this.k[B],M[B]),K=f(x(N),a(N,V,W));J=oe,oe=ne,ne=ae,ae=f(H,q),H=W,W=V,V=N,N=f(q,K)}this.h[0]=f(this.h[0],N),this.h[1]=f(this.h[1],V),this.h[2]=f(this.h[2],W),this.h[3]=f(this.h[3],H),this.h[4]=f(this.h[4],ae),this.h[5]=f(this.h[5],ne),this.h[6]=f(this.h[6],oe),this.h[7]=f(this.h[7],J)},k.prototype._digest=function(A){return A==="hex"?r.toHex32(this.h,"big"):r.split32(this.h,"big")}},66474:function(d,v,e){"use strict";var r=e(8631),i=e(50663);function l(){if(!(this instanceof l))return new l;i.call(this),this.h=[3418070365,3238371032,1654270250,914150663,2438529370,812702999,355462360,4144912697,1731405415,4290775857,2394180231,1750603025,3675008525,1694076839,1203062813,3204075428]}r.inherits(l,i),d.exports=l,l.blockSize=1024,l.outSize=384,l.hmacStrength=192,l.padLength=128,l.prototype._digest=function(f){return f==="hex"?r.toHex32(this.h.slice(0,12),"big"):r.split32(this.h.slice(0,12),"big")}},50663:function(d,v,e){"use strict";var r=e(8631),i=e(28766),l=e(61339),c=r.rotr64_hi,f=r.rotr64_lo,o=r.shr64_hi,h=r.shr64_lo,u=r.sum64,a=r.sum64_hi,x=r.sum64_lo,p=r.sum64_4_hi,y=r.sum64_4_lo,_=r.sum64_5_hi,b=r.sum64_5_lo,S=i.BlockHash,k=[1116352408,3609767458,1899447441,602891725,3049323471,3964484399,3921009573,2173295548,961987163,4081628472,1508970993,3053834265,2453635748,2937671579,2870763221,3664609560,3624381080,2734883394,310598401,1164996542,607225278,1323610764,1426881987,3590304994,1925078388,4068182383,2162078206,991336113,2614888103,633803317,3248222580,3479774868,3835390401,2666613458,4022224774,944711139,264347078,2341262773,604807628,2007800933,770255983,1495990901,1249150122,1856431235,1555081692,3175218132,1996064986,2198950837,2554220882,3999719339,2821834349,766784016,2952996808,2566594879,3210313671,3203337956,3336571891,1034457026,3584528711,2466948901,113926993,3758326383,338241895,168717936,666307205,1188179964,773529912,1546045734,1294757372,1522805485,1396182291,2643833823,1695183700,2343527390,1986661051,1014477480,2177026350,1206759142,2456956037,344077627,2730485921,1290863460,2820302411,3158454273,3259730800,3505952657,3345764771,106217008,3516065817,3606008344,3600352804,1432725776,4094571909,1467031594,275423344,851169720,430227734,3100823752,506948616,1363258195,659060556,3750685593,883997877,3785050280,958139571,3318307427,1322822218,3812723403,1537002063,2003034995,1747873779,3602036899,1955562222,1575990012,2024104815,1125592928,2227730452,2716904306,2361852424,442776044,2428436474,593698344,2756734187,3733110249,3204031479,2999351573,3329325298,3815920427,3391569614,3928383900,3515267271,566280711,3940187606,3454069534,4118630271,4000239992,116418474,1914138554,174292421,2731055270,289380356,3203993006,460393269,320620315,685471733,587496836,852142971,1086792851,1017036298,365543100,1126000580,2618297676,1288033470,3409855158,1501505948,4234509866,1607167915,987167468,1816402316,1246189591];function R(){if(!(this instanceof R))return new R;S.call(this),this.h=[1779033703,4089235720,3144134277,2227873595,1013904242,4271175723,2773480762,1595750129,1359893119,2917565137,2600822924,725511199,528734635,4215389547,1541459225,327033209],this.k=k,this.W=new Array(160)}r.inherits(R,S),d.exports=R,R.blockSize=1024,R.outSize=512,R.hmacStrength=192,R.padLength=128,R.prototype._prepareBlock=function(K,se){for(var ee=this.W,Q=0;Q<32;Q++)ee[Q]=K[se+Q];for(;Q<ee.length;Q+=2){var le=oe(ee[Q-4],ee[Q-3]),z=J(ee[Q-4],ee[Q-3]),$=ee[Q-14],ie=ee[Q-13],_e=ae(ee[Q-30],ee[Q-29]),Ae=ne(ee[Q-30],ee[Q-29]),Pe=ee[Q-32],We=ee[Q-31];ee[Q]=p(le,z,$,ie,_e,Ae,Pe,We),ee[Q+1]=y(le,z,$,ie,_e,Ae,Pe,We)}},R.prototype._update=function(K,se){this._prepareBlock(K,se);var ee=this.W,Q=this.h[0],le=this.h[1],z=this.h[2],$=this.h[3],ie=this.h[4],_e=this.h[5],Ae=this.h[6],Pe=this.h[7],We=this.h[8],$e=this.h[9],Lt=this.h[10],bt=this.h[11],kt=this.h[12],Zt=this.h[13],Mt=this.h[14],tr=this.h[15];l(this.k.length===ee.length);for(var je=0;je<ee.length;je+=2){var wt=Mt,Ft=tr,tt=W(We,$e),gt=H(We,$e),ft=A(We,$e,Lt,bt,kt,Zt),Qe=I(We,$e,Lt,bt,kt,Zt),Ne=this.k[je],xe=this.k[je+1],ke=ee[je],Ge=ee[je+1],He=_(wt,Ft,tt,gt,ft,Qe,Ne,xe,ke,Ge),Ye=b(wt,Ft,tt,gt,ft,Qe,Ne,xe,ke,Ge);wt=N(Q,le),Ft=V(Q,le),tt=M(Q,le,z,$,ie,_e),gt=B(Q,le,z,$,ie,_e);var dt=a(wt,Ft,tt,gt),xt=x(wt,Ft,tt,gt);Mt=kt,tr=Zt,kt=Lt,Zt=bt,Lt=We,bt=$e,We=a(Ae,Pe,He,Ye),$e=x(Pe,Pe,He,Ye),Ae=ie,Pe=_e,ie=z,_e=$,z=Q,$=le,Q=a(He,Ye,dt,xt),le=x(He,Ye,dt,xt)}u(this.h,0,Q,le),u(this.h,2,z,$),u(this.h,4,ie,_e),u(this.h,6,Ae,Pe),u(this.h,8,We,$e),u(this.h,10,Lt,bt),u(this.h,12,kt,Zt),u(this.h,14,Mt,tr)},R.prototype._digest=function(K){return K==="hex"?r.toHex32(this.h,"big"):r.split32(this.h,"big")};function A(q,K,se,ee,Q){var le=q&se^~q&Q;return le<0&&(le+=4294967296),le}function I(q,K,se,ee,Q,le){var z=K&ee^~K&le;return z<0&&(z+=4294967296),z}function M(q,K,se,ee,Q){var le=q&se^q&Q^se&Q;return le<0&&(le+=4294967296),le}function B(q,K,se,ee,Q,le){var z=K&ee^K&le^ee&le;return z<0&&(z+=4294967296),z}function N(q,K){var se=c(q,K,28),ee=c(K,q,2),Q=c(K,q,7),le=se^ee^Q;return le<0&&(le+=4294967296),le}function V(q,K){var se=f(q,K,28),ee=f(K,q,2),Q=f(K,q,7),le=se^ee^Q;return le<0&&(le+=4294967296),le}function W(q,K){var se=c(q,K,14),ee=c(q,K,18),Q=c(K,q,9),le=se^ee^Q;return le<0&&(le+=4294967296),le}function H(q,K){var se=f(q,K,14),ee=f(q,K,18),Q=f(K,q,9),le=se^ee^Q;return le<0&&(le+=4294967296),le}function ae(q,K){var se=c(q,K,1),ee=c(q,K,8),Q=o(q,K,7),le=se^ee^Q;return le<0&&(le+=4294967296),le}function ne(q,K){var se=f(q,K,1),ee=f(q,K,8),Q=h(q,K,7),le=se^ee^Q;return le<0&&(le+=4294967296),le}function oe(q,K){var se=c(q,K,19),ee=c(K,q,29),Q=o(q,K,6),le=se^ee^Q;return le<0&&(le+=4294967296),le}function J(q,K){var se=f(q,K,19),ee=f(K,q,29),Q=h(q,K,6),le=se^ee^Q;return le<0&&(le+=4294967296),le}},81692:function(d,v,e){"use strict";var r=e(8631),i=r.rotr32;function l(p,y,_,b){if(p===0)return c(y,_,b);if(p===1||p===3)return o(y,_,b);if(p===2)return f(y,_,b)}v.ft_1=l;function c(p,y,_){return p&y^~p&_}v.ch32=c;function f(p,y,_){return p&y^p&_^y&_}v.maj32=f;function o(p,y,_){return p^y^_}v.p32=o;function h(p){return i(p,2)^i(p,13)^i(p,22)}v.s0_256=h;function u(p){return i(p,6)^i(p,11)^i(p,25)}v.s1_256=u;function a(p){return i(p,7)^i(p,18)^p>>>3}v.g0_256=a;function x(p){return i(p,17)^i(p,19)^p>>>10}v.g1_256=x},8631:function(d,v,e){"use strict";var r=e(61339),i=e(4603);v.inherits=i;function l(J,q){return(J.charCodeAt(q)&64512)!==55296||q<0||q+1>=J.length?!1:(J.charCodeAt(q+1)&64512)===56320}function c(J,q){if(Array.isArray(J))return J.slice();if(!J)return[];var K=[];if(typeof J=="string")if(q){if(q==="hex")for(J=J.replace(/[^a-z0-9]+/ig,""),J.length%2!==0&&(J="0"+J),ee=0;ee<J.length;ee+=2)K.push(parseInt(J[ee]+J[ee+1],16))}else for(var se=0,ee=0;ee<J.length;ee++){var Q=J.charCodeAt(ee);Q<128?K[se++]=Q:Q<2048?(K[se++]=Q>>6|192,K[se++]=Q&63|128):l(J,ee)?(Q=65536+((Q&1023)<<10)+(J.charCodeAt(++ee)&1023),K[se++]=Q>>18|240,K[se++]=Q>>12&63|128,K[se++]=Q>>6&63|128,K[se++]=Q&63|128):(K[se++]=Q>>12|224,K[se++]=Q>>6&63|128,K[se++]=Q&63|128)}else for(ee=0;ee<J.length;ee++)K[ee]=J[ee]|0;return K}v.toArray=c;function f(J){for(var q="",K=0;K<J.length;K++)q+=u(J[K].toString(16));return q}v.toHex=f;function o(J){var q=J>>>24|J>>>8&65280|J<<8&16711680|(J&255)<<24;return q>>>0}v.htonl=o;function h(J,q){for(var K="",se=0;se<J.length;se++){var ee=J[se];q==="little"&&(ee=o(ee)),K+=a(ee.toString(16))}return K}v.toHex32=h;function u(J){return J.length===1?"0"+J:J}v.zero2=u;function a(J){return J.length===7?"0"+J:J.length===6?"00"+J:J.length===5?"000"+J:J.length===4?"0000"+J:J.length===3?"00000"+J:J.length===2?"000000"+J:J.length===1?"0000000"+J:J}v.zero8=a;function x(J,q,K,se){var ee=K-q;r(ee%4===0);for(var Q=new Array(ee/4),le=0,z=q;le<Q.length;le++,z+=4){var $;se==="big"?$=J[z]<<24|J[z+1]<<16|J[z+2]<<8|J[z+3]:$=J[z+3]<<24|J[z+2]<<16|J[z+1]<<8|J[z],Q[le]=$>>>0}return Q}v.join32=x;function p(J,q){for(var K=new Array(J.length*4),se=0,ee=0;se<J.length;se++,ee+=4){var Q=J[se];q==="big"?(K[ee]=Q>>>24,K[ee+1]=Q>>>16&255,K[ee+2]=Q>>>8&255,K[ee+3]=Q&255):(K[ee+3]=Q>>>24,K[ee+2]=Q>>>16&255,K[ee+1]=Q>>>8&255,K[ee]=Q&255)}return K}v.split32=p;function y(J,q){return J>>>q|J<<32-q}v.rotr32=y;function _(J,q){return J<<q|J>>>32-q}v.rotl32=_;function b(J,q){return J+q>>>0}v.sum32=b;function S(J,q,K){return J+q+K>>>0}v.sum32_3=S;function k(J,q,K,se){return J+q+K+se>>>0}v.sum32_4=k;function R(J,q,K,se,ee){return J+q+K+se+ee>>>0}v.sum32_5=R;function A(J,q,K,se){var ee=J[q],Q=J[q+1],le=se+Q>>>0,z=(le<se?1:0)+K+ee;J[q]=z>>>0,J[q+1]=le}v.sum64=A;function I(J,q,K,se){var ee=q+se>>>0,Q=(ee<q?1:0)+J+K;return Q>>>0}v.sum64_hi=I;function M(J,q,K,se){var ee=q+se;return ee>>>0}v.sum64_lo=M;function B(J,q,K,se,ee,Q,le,z){var $=0,ie=q;ie=ie+se>>>0,$+=ie<q?1:0,ie=ie+Q>>>0,$+=ie<Q?1:0,ie=ie+z>>>0,$+=ie<z?1:0;var _e=J+K+ee+le+$;return _e>>>0}v.sum64_4_hi=B;function N(J,q,K,se,ee,Q,le,z){var $=q+se+Q+z;return $>>>0}v.sum64_4_lo=N;function V(J,q,K,se,ee,Q,le,z,$,ie){var _e=0,Ae=q;Ae=Ae+se>>>0,_e+=Ae<q?1:0,Ae=Ae+Q>>>0,_e+=Ae<Q?1:0,Ae=Ae+z>>>0,_e+=Ae<z?1:0,Ae=Ae+ie>>>0,_e+=Ae<ie?1:0;var Pe=J+K+ee+le+$+_e;return Pe>>>0}v.sum64_5_hi=V;function W(J,q,K,se,ee,Q,le,z,$,ie){var _e=q+se+Q+z+ie;return _e>>>0}v.sum64_5_lo=W;function H(J,q,K){var se=q<<32-K|J>>>K;return se>>>0}v.rotr64_hi=H;function ae(J,q,K){var se=J<<32-K|q>>>K;return se>>>0}v.rotr64_lo=ae;function ne(J,q,K){return J>>>K}v.shr64_hi=ne;function oe(J,q,K){var se=J<<32-K|q>>>K;return se>>>0}v.shr64_lo=oe},19340:function(d,v,e){"use strict";e.d(v,{Ep:function(){return S},PP:function(){return x},aU:function(){return i},cP:function(){return k},lX:function(){return u},q_:function(){return a}});var r=e(54476),i;(function(R){R.Pop="POP",R.Push="PUSH",R.Replace="REPLACE"})(i||(i={}));var l=function(R){return R};function c(R,A){if(!R){typeof console!="undefined"&&console.warn(A);try{throw new Error(A)}catch(I){}}}var f="beforeunload",o="hashchange",h="popstate";function u(R){R===void 0&&(R={});var A=R,I=A.window,M=I===void 0?document.defaultView:I,B=M.history;function N(){var Ae=M.location,Pe=Ae.pathname,We=Ae.search,$e=Ae.hash,Lt=B.state||{};return[Lt.idx,l({pathname:Pe,search:We,hash:$e,state:Lt.usr||null,key:Lt.key||"default"})]}var V=null;function W(){if(V)q.call(V),V=null;else{var Ae=i.Pop,Pe=N(),We=Pe[0],$e=Pe[1];if(q.length){if(We!=null){var Lt=ne-We;Lt&&(V={action:Ae,location:$e,retry:function(){ie(Lt*-1)}},ie(Lt))}}else le(Ae)}}M.addEventListener(h,W);var H=i.Pop,ae=N(),ne=ae[0],oe=ae[1],J=_(),q=_();ne==null&&(ne=0,B.replaceState((0,r.Z)({},B.state,{idx:ne}),""));function K(Ae){return typeof Ae=="string"?Ae:S(Ae)}function se(Ae,Pe){return Pe===void 0&&(Pe=null),l((0,r.Z)({pathname:oe.pathname,hash:"",search:""},typeof Ae=="string"?k(Ae):Ae,{state:Pe,key:b()}))}function ee(Ae,Pe){return[{usr:Ae.state,key:Ae.key,idx:Pe},K(Ae)]}function Q(Ae,Pe,We){return!q.length||(q.call({action:Ae,location:Pe,retry:We}),!1)}function le(Ae){H=Ae;var Pe=N();ne=Pe[0],oe=Pe[1],J.call({action:H,location:oe})}function z(Ae,Pe){var We=i.Push,$e=se(Ae,Pe);function Lt(){z(Ae,Pe)}if(Q(We,$e,Lt)){var bt=ee($e,ne+1),kt=bt[0],Zt=bt[1];try{B.pushState(kt,"",Zt)}catch(Mt){M.location.assign(Zt)}le(We)}}function $(Ae,Pe){var We=i.Replace,$e=se(Ae,Pe);function Lt(){$(Ae,Pe)}if(Q(We,$e,Lt)){var bt=ee($e,ne),kt=bt[0],Zt=bt[1];B.replaceState(kt,"",Zt),le(We)}}function ie(Ae){B.go(Ae)}var _e={get action(){return H},get location(){return oe},createHref:K,push:z,replace:$,go:ie,back:function(){ie(-1)},forward:function(){ie(1)},listen:function(Pe){return J.push(Pe)},block:function(Pe){var We=q.push(Pe);return q.length===1&&M.addEventListener(f,y),function(){We(),q.length||M.removeEventListener(f,y)}}};return _e}function a(R){R===void 0&&(R={});var A=R,I=A.window,M=I===void 0?document.defaultView:I,B=M.history;function N(){var Pe=k(M.location.hash.substr(1)),We=Pe.pathname,$e=We===void 0?"/":We,Lt=Pe.search,bt=Lt===void 0?"":Lt,kt=Pe.hash,Zt=kt===void 0?"":kt,Mt=B.state||{};return[Mt.idx,l({pathname:$e,search:bt,hash:Zt,state:Mt.usr||null,key:Mt.key||"default"})]}var V=null;function W(){if(V)q.call(V),V=null;else{var Pe=i.Pop,We=N(),$e=We[0],Lt=We[1];if(q.length){if($e!=null){var bt=ne-$e;bt&&(V={action:Pe,location:Lt,retry:function(){_e(bt*-1)}},_e(bt))}}else z(Pe)}}M.addEventListener(h,W),M.addEventListener(o,function(){var Pe=N(),We=Pe[1];S(We)!==S(oe)&&W()});var H=i.Pop,ae=N(),ne=ae[0],oe=ae[1],J=_(),q=_();ne==null&&(ne=0,B.replaceState((0,r.Z)({},B.state,{idx:ne}),""));function K(){var Pe=document.querySelector("base"),We="";if(Pe&&Pe.getAttribute("href")){var $e=M.location.href,Lt=$e.indexOf("#");We=Lt===-1?$e:$e.slice(0,Lt)}return We}function se(Pe){return K()+"#"+(typeof Pe=="string"?Pe:S(Pe))}function ee(Pe,We){return We===void 0&&(We=null),l((0,r.Z)({pathname:oe.pathname,hash:"",search:""},typeof Pe=="string"?k(Pe):Pe,{state:We,key:b()}))}function Q(Pe,We){return[{usr:Pe.state,key:Pe.key,idx:We},se(Pe)]}function le(Pe,We,$e){return!q.length||(q.call({action:Pe,location:We,retry:$e}),!1)}function z(Pe){H=Pe;var We=N();ne=We[0],oe=We[1],J.call({action:H,location:oe})}function $(Pe,We){var $e=i.Push,Lt=ee(Pe,We);function bt(){$(Pe,We)}if(le($e,Lt,bt)){var kt=Q(Lt,ne+1),Zt=kt[0],Mt=kt[1];try{B.pushState(Zt,"",Mt)}catch(tr){M.location.assign(Mt)}z($e)}}function ie(Pe,We){var $e=i.Replace,Lt=ee(Pe,We);function bt(){ie(Pe,We)}if(le($e,Lt,bt)){var kt=Q(Lt,ne),Zt=kt[0],Mt=kt[1];B.replaceState(Zt,"",Mt),z($e)}}function _e(Pe){B.go(Pe)}var Ae={get action(){return H},get location(){return oe},createHref:se,push:$,replace:ie,go:_e,back:function(){_e(-1)},forward:function(){_e(1)},listen:function(We){return J.push(We)},block:function(We){var $e=q.push(We);return q.length===1&&M.addEventListener(f,y),function(){$e(),q.length||M.removeEventListener(f,y)}}};return Ae}function x(R){R===void 0&&(R={});var A=R,I=A.initialEntries,M=I===void 0?["/"]:I,B=A.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 $}),V=p(B==null?N.length-1:B,0,N.length-1),W=i.Pop,H=N[V],ae=_(),ne=_();function oe(z){return typeof z=="string"?z:S(z)}function J(z,$){return $===void 0&&($=null),l((0,r.Z)({pathname:H.pathname,search:"",hash:""},typeof z=="string"?k(z):z,{state:$,key:b()}))}function q(z,$,ie){return!ne.length||(ne.call({action:z,location:$,retry:ie}),!1)}function K(z,$){W=z,H=$,ae.call({action:W,location:H})}function se(z,$){var ie=i.Push,_e=J(z,$);function Ae(){se(z,$)}q(ie,_e,Ae)&&(V+=1,N.splice(V,N.length,_e),K(ie,_e))}function ee(z,$){var ie=i.Replace,_e=J(z,$);function Ae(){ee(z,$)}q(ie,_e,Ae)&&(N[V]=_e,K(ie,_e))}function Q(z){var $=p(V+z,0,N.length-1),ie=i.Pop,_e=N[$];function Ae(){Q(z)}q(ie,_e,Ae)&&(V=$,K(ie,_e))}var le={get index(){return V},get action(){return W},get location(){return H},createHref:oe,push:se,replace:ee,go:Q,back:function(){Q(-1)},forward:function(){Q(1)},listen:function($){return ae.push($)},block:function($){return ne.push($)}};return le}function p(R,A,I){return Math.min(Math.max(R,A),I)}function y(R){R.preventDefault(),R.returnValue=""}function _(){var R=[];return{get length(){return R.length},push:function(I){return R.push(I),function(){R=R.filter(function(M){return M!==I})}},call:function(I){R.forEach(function(M){return M&&M(I)})}}}function b(){return Math.random().toString(36).substr(2,8)}function S(R){var A=R.pathname,I=A===void 0?"/":A,M=R.search,B=M===void 0?"":M,N=R.hash,V=N===void 0?"":N;return B&&B!=="?"&&(I+=B.charAt(0)==="?"?B:"?"+B),V&&V!=="#"&&(I+=V.charAt(0)==="#"?V:"#"+V),I}function k(R){var A={};if(R){var I=R.indexOf("#");I>=0&&(A.hash=R.substr(I),R=R.substr(0,I));var M=R.indexOf("?");M>=0&&(A.search=R.substr(M),R=R.substr(0,M)),R&&(A.pathname=R)}return A}},94266:function(d,v,e){"use strict";var r=e(99234),i={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},l={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},c={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},f={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},o={};o[r.ForwardRef]=c,o[r.Memo]=f;function h(S){return r.isMemo(S)?f:o[S.$$typeof]||i}var u=Object.defineProperty,a=Object.getOwnPropertyNames,x=Object.getOwnPropertySymbols,p=Object.getOwnPropertyDescriptor,y=Object.getPrototypeOf,_=Object.prototype;function b(S,k,R){if(typeof k!="string"){if(_){var A=y(k);A&&A!==_&&b(S,A,R)}var I=a(k);x&&(I=I.concat(x(k)));for(var M=h(S),B=h(k),N=0;N<I.length;++N){var V=I[N];if(!l[V]&&!(R&&R[V])&&!(B&&B[V])&&!(M&&M[V])){var W=p(k,V);try{u(S,V,W)}catch(H){}}}}return S}d.exports=b},4603:function(d){typeof Object.create=="function"?d.exports=function(e,r){r&&(e.super_=r,e.prototype=Object.create(r.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}))}:d.exports=function(e,r){if(r){e.super_=r;var i=function(){};i.prototype=r.prototype,e.prototype=new i,e.prototype.constructor=e}}},44520:function(d){"use strict";var v=function(e,r,i,l,c,f,o,h){if(!e){var u;if(r===void 0)u=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var a=[i,l,c,f,o,h],x=0;u=new Error(r.replace(/%s/g,function(){return a[x++]})),u.name="Invariant Violation"}throw u.framesToPop=1,u}};d.exports=v},78034:function(d){d.exports=function(r){return r!=null&&(v(r)||e(r)||!!r._isBuffer)};function v(r){return!!r.constructor&&typeof r.constructor.isBuffer=="function"&&r.constructor.isBuffer(r)}function e(r){return typeof r.readFloatLE=="function"&&typeof r.slice=="function"&&v(r.slice(0,0))}},78639:function(d,v,e){"use strict";var r=e(77497);function i(l){return r(l)===!0&&Object.prototype.toString.call(l)==="[object Object]"}d.exports=function(c){var f,o;return!(i(c)===!1||(f=c.constructor,typeof f!="function")||(o=f.prototype,i(o)===!1)||o.hasOwnProperty("isPrototypeOf")===!1)}},77497:function(d){"use strict";d.exports=function(e){return e!=null&&typeof e=="object"&&Array.isArray(e)===!1}},53184:function(d,v,e){"use strict";var r,i;function l(c,f,o){var h=function(u,a){return c.js_beautify(u,a)};return h.js=c.js_beautify,h.css=f.css_beautify,h.html=o.html_beautify,h.js_beautify=c.js_beautify,h.css_beautify=f.css_beautify,h.html_beautify=o.html_beautify,h}r=[e(58553),e(87804),e(40998)],i=function(c,f,o){return l(c,f,o)}.apply(v,r),i!==void 0&&(d.exports=i)},87804:function(d,v){var e,r;(function(){var i;(function(){"use strict";var c=[,,function(u){function a(y){this.__parent=y,this.__character_count=0,this.__indent_count=-1,this.__alignment_count=0,this.__wrap_point_index=0,this.__wrap_point_character_count=0,this.__wrap_point_indent_count=-1,this.__wrap_point_alignment_count=0,this.__items=[]}a.prototype.clone_empty=function(){var y=new a(this.__parent);return y.set_indent(this.__indent_count,this.__alignment_count),y},a.prototype.item=function(y){return y<0?this.__items[this.__items.length+y]:this.__items[y]},a.prototype.has_match=function(y){for(var _=this.__items.length-1;_>=0;_--)if(this.__items[_].match(y))return!0;return!1},a.prototype.set_indent=function(y,_){this.is_empty()&&(this.__indent_count=y||0,this.__alignment_count=_||0,this.__character_count=this.__parent.get_indent_size(this.__indent_count,this.__alignment_count))},a.prototype._set_wrap_point=function(){this.__parent.wrap_line_length&&(this.__wrap_point_index=this.__items.length,this.__wrap_point_character_count=this.__character_count,this.__wrap_point_indent_count=this.__parent.next_line.__indent_count,this.__wrap_point_alignment_count=this.__parent.next_line.__alignment_count)},a.prototype._should_wrap=function(){return this.__wrap_point_index&&this.__character_count>this.__parent.wrap_line_length&&this.__wrap_point_character_count>this.__parent.next_line.__character_count},a.prototype._allow_wrap=function(){if(this._should_wrap()){this.__parent.add_new_line();var y=this.__parent.current_line;return y.set_indent(this.__wrap_point_indent_count,this.__wrap_point_alignment_count),y.__items=this.__items.slice(this.__wrap_point_index),this.__items=this.__items.slice(0,this.__wrap_point_index),y.__character_count+=this.__character_count-this.__wrap_point_character_count,this.__character_count=this.__wrap_point_character_count,y.__items[0]===" "&&(y.__items.splice(0,1),y.__character_count-=1),!0}return!1},a.prototype.is_empty=function(){return this.__items.length===0},a.prototype.last=function(){return this.is_empty()?null:this.__items[this.__items.length-1]},a.prototype.push=function(y){this.__items.push(y);var _=y.lastIndexOf(`
`);_!==-1?this.__character_count=y.length-_:this.__character_count+=y.length},a.prototype.pop=function(){var y=null;return this.is_empty()||(y=this.__items.pop(),this.__character_count-=y.length),y},a.prototype._remove_indent=function(){this.__indent_count>0&&(this.__indent_count-=1,this.__character_count-=this.__parent.indent_size)},a.prototype._remove_wrap_indent=function(){this.__wrap_point_indent_count>0&&(this.__wrap_point_indent_count-=1)},a.prototype.trim=function(){for(;this.last()===" ";)this.__items.pop(),this.__character_count-=1},a.prototype.toString=function(){var y="";return this.is_empty()?this.__parent.indent_empty_lines&&(y=this.__parent.get_indent_string(this.__indent_count)):(y=this.__parent.get_indent_string(this.__indent_count,this.__alignment_count),y+=this.__items.join("")),y};function x(y,_){this.__cache=[""],this.__indent_size=y.indent_size,this.__indent_string=y.indent_char,y.indent_with_tabs||(this.__indent_string=new Array(y.indent_size+1).join(y.indent_char)),_=_||"",y.indent_level>0&&(_=new Array(y.indent_level+1).join(this.__indent_string)),this.__base_string=_,this.__base_string_length=_.length}x.prototype.get_indent_size=function(y,_){var b=this.__base_string_length;return _=_||0,y<0&&(b=0),b+=y*this.__indent_size,b+=_,b},x.prototype.get_indent_string=function(y,_){var b=this.__base_string;return _=_||0,y<0&&(y=0,b=""),_+=y*this.__indent_size,this.__ensure_cache(_),b+=this.__cache[_],b},x.prototype.__ensure_cache=function(y){for(;y>=this.__cache.length;)this.__add_column()},x.prototype.__add_column=function(){var y=this.__cache.length,_=0,b="";this.__indent_size&&y>=this.__indent_size&&(_=Math.floor(y/this.__indent_size),y-=_*this.__indent_size,b=new Array(_+1).join(this.__indent_string)),y&&(b+=new Array(y+1).join(" ")),this.__cache.push(b)};function p(y,_){this.__indent_cache=new x(y,_),this.raw=!1,this._end_with_newline=y.end_with_newline,this.indent_size=y.indent_size,this.wrap_line_length=y.wrap_line_length,this.indent_empty_lines=y.indent_empty_lines,this.__lines=[],this.previous_line=null,this.current_line=null,this.next_line=new a(this),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=!1,this.__add_outputline()}p.prototype.__add_outputline=function(){this.previous_line=this.current_line,this.current_line=this.next_line.clone_empty(),this.__lines.push(this.current_line)},p.prototype.get_line_number=function(){return this.__lines.length},p.prototype.get_indent_string=function(y,_){return this.__indent_cache.get_indent_string(y,_)},p.prototype.get_indent_size=function(y,_){return this.__indent_cache.get_indent_size(y,_)},p.prototype.is_empty=function(){return!this.previous_line&&this.current_line.is_empty()},p.prototype.add_new_line=function(y){return this.is_empty()||!y&&this.just_added_newline()?!1:(this.raw||this.__add_outputline(),!0)},p.prototype.get_code=function(y){this.trim(!0);var _=this.current_line.pop();_&&(_[_.length-1]===`
`&&(_=_.replace(/\n+$/g,"")),this.current_line.push(_)),this._end_with_newline&&this.__add_outputline();var b=this.__lines.join(`
`);return y!==`
`&&(b=b.replace(/[\n]/g,y)),b},p.prototype.set_wrap_point=function(){this.current_line._set_wrap_point()},p.prototype.set_indent=function(y,_){return y=y||0,_=_||0,this.next_line.set_indent(y,_),this.__lines.length>1?(this.current_line.set_indent(y,_),!0):(this.current_line.set_indent(),!1)},p.prototype.add_raw_token=function(y){for(var _=0;_<y.newlines;_++)this.__add_outputline();this.current_line.set_indent(-1),this.current_line.push(y.whitespace_before),this.current_line.push(y.text),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=!1},p.prototype.add_token=function(y){this.__add_space_before_token(),this.current_line.push(y),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=this.current_line._allow_wrap()},p.prototype.__add_space_before_token=function(){this.space_before_token&&!this.just_added_newline()&&(this.non_breaking_space||this.set_wrap_point(),this.current_line.push(" "))},p.prototype.remove_indent=function(y){for(var _=this.__lines.length;y<_;)this.__lines[y]._remove_indent(),y++;this.current_line._remove_wrap_indent()},p.prototype.trim=function(y){for(y=y===void 0?!1:y,this.current_line.trim();y&&this.__lines.length>1&&this.current_line.is_empty();)this.__lines.pop(),this.current_line=this.__lines[this.__lines.length-1],this.current_line.trim();this.previous_line=this.__lines.length>1?this.__lines[this.__lines.length-2]:null},p.prototype.just_added_newline=function(){return this.current_line.is_empty()},p.prototype.just_added_blankline=function(){return this.is_empty()||this.current_line.is_empty()&&this.previous_line.is_empty()},p.prototype.ensure_empty_line_above=function(y,_){for(var b=this.__lines.length-2;b>=0;){var S=this.__lines[b];if(S.is_empty())break;if(S.item(0).indexOf(y)!==0&&S.item(-1)!==_){this.__lines.splice(b+1,0,new a(this)),this.previous_line=this.__lines[this.__lines.length-2];break}b--}},u.exports.Output=p},,,,function(u){function a(y,_){this.raw_options=x(y,_),this.disabled=this._get_boolean("disabled"),this.eol=this._get_characters("eol","auto"),this.end_with_newline=this._get_boolean("end_with_newline"),this.indent_size=this._get_number("indent_size",4),this.indent_char=this._get_characters("indent_char"," "),this.indent_level=this._get_number("indent_level"),this.preserve_newlines=this._get_boolean("preserve_newlines",!0),this.max_preserve_newlines=this._get_number("max_preserve_newlines",32786),this.preserve_newlines||(this.max_preserve_newlines=0),this.indent_with_tabs=this._get_boolean("indent_with_tabs",this.indent_char===" "),this.indent_with_tabs&&(this.indent_char=" ",this.indent_size===1&&(this.indent_size=4)),this.wrap_line_length=this._get_number("wrap_line_length",this._get_number("max_char")),this.indent_empty_lines=this._get_boolean("indent_empty_lines"),this.templating=this._get_selection_list("templating",["auto","none","angular","django","erb","handlebars","php","smarty"],["auto"])}a.prototype._get_array=function(y,_){var b=this.raw_options[y],S=_||[];return typeof b=="object"?b!==null&&typeof b.concat=="function"&&(S=b.concat()):typeof b=="string"&&(S=b.split(/[^a-zA-Z0-9_\/\-]+/)),S},a.prototype._get_boolean=function(y,_){var b=this.raw_options[y],S=b===void 0?!!_:!!b;return S},a.prototype._get_characters=function(y,_){var b=this.raw_options[y],S=_||"";return typeof b=="string"&&(S=b.replace(/\\r/,"\r").replace(/\\n/,`
`).replace(/\\t/," ")),S},a.prototype._get_number=function(y,_){var b=this.raw_options[y];_=parseInt(_,10),isNaN(_)&&(_=0);var S=parseInt(b,10);return isNaN(S)&&(S=_),S},a.prototype._get_selection=function(y,_,b){var S=this._get_selection_list(y,_,b);if(S.length!==1)throw new Error("Invalid Option Value: The option '"+y+`' can only be one of the following values:
`+_+`
You passed in: '`+this.raw_options[y]+"'");return S[0]},a.prototype._get_selection_list=function(y,_,b){if(!_||_.length===0)throw new Error("Selection list cannot be empty.");if(b=b||[_[0]],!this._is_valid_selection(b,_))throw new Error("Invalid Default Value!");var S=this._get_array(y,b);if(!this._is_valid_selection(S,_))throw new Error("Invalid Option Value: The option '"+y+`' can contain only the following values:
`+_+`
You passed in: '`+this.raw_options[y]+"'");return S},a.prototype._is_valid_selection=function(y,_){return y.length&&_.length&&!y.some(function(b){return _.indexOf(b)===-1})};function x(y,_){var b={};y=p(y);var S;for(S in y)S!==_&&(b[S]=y[S]);if(_&&y[_])for(S in y[_])b[S]=y[_][S];return b}function p(y){var _={},b;for(b in y){var S=b.replace(/-/g,"_");_[S]=y[b]}return _}u.exports.Options=a,u.exports.normalizeOpts=p,u.exports.mergeOpts=x},,function(u){var a=RegExp.prototype.hasOwnProperty("sticky");function x(p){this.__input=p||"",this.__input_length=this.__input.length,this.__position=0}x.prototype.restart=function(){this.__position=0},x.prototype.back=function(){this.__position>0&&(this.__position-=1)},x.prototype.hasNext=function(){return this.__position<this.__input_length},x.prototype.next=function(){var p=null;return this.hasNext()&&(p=this.__input.charAt(this.__position),this.__position+=1),p},x.prototype.peek=function(p){var y=null;return p=p||0,p+=this.__position,p>=0&&p<this.__input_length&&(y=this.__input.charAt(p)),y},x.prototype.__match=function(p,y){p.lastIndex=y;var _=p.exec(this.__input);return _&&!(a&&p.sticky)&&_.index!==y&&(_=null),_},x.prototype.test=function(p,y){return y=y||0,y+=this.__position,y>=0&&y<this.__input_length?!!this.__match(p,y):!1},x.prototype.testChar=function(p,y){var _=this.peek(y);return p.lastIndex=0,_!==null&&p.test(_)},x.prototype.match=function(p){var y=this.__match(p,this.__position);return y?this.__position+=y[0].length:y=null,y},x.prototype.read=function(p,y,_){var b="",S;return p&&(S=this.match(p),S&&(b+=S[0])),y&&(S||!p)&&(b+=this.readUntil(y,_)),b},x.prototype.readUntil=function(p,y){var _="",b=this.__position;p.lastIndex=this.__position;var S=p.exec(this.__input);return S?(b=S.index,y&&(b+=S[0].length)):b=this.__input_length,_=this.__input.substring(this.__position,b),this.__position=b,_},x.prototype.readUntilAfter=function(p){return this.readUntil(p,!0)},x.prototype.get_regexp=function(p,y){var _=null,b="g";return y&&a&&(b="y"),typeof p=="string"&&p!==""?_=new RegExp(p,b):p&&(_=new RegExp(p.source,b)),_},x.prototype.get_literal_regexp=function(p){return RegExp(p.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&"))},x.prototype.peekUntilAfter=function(p){var y=this.__position,_=this.readUntilAfter(p);return this.__position=y,_},x.prototype.lookBack=function(p){var y=this.__position-1;return y>=p.length&&this.__input.substring(y-p.length,y).toLowerCase()===p},u.exports.InputScanner=x},,,,,function(u){function a(x,p){x=typeof x=="string"?x:x.source,p=typeof p=="string"?p:p.source,this.__directives_block_pattern=new RegExp(x+/ beautify( \w+[:]\w+)+ /.source+p,"g"),this.__directive_pattern=/ (\w+)[:](\w+)/g,this.__directives_end_ignore_pattern=new RegExp(x+/\sbeautify\signore:end\s/.source+p,"g")}a.prototype.get_directives=function(x){if(!x.match(this.__directives_block_pattern))return null;var p={};this.__directive_pattern.lastIndex=0;for(var y=this.__directive_pattern.exec(x);y;)p[y[1]]=y[2],y=this.__directive_pattern.exec(x);return p},a.prototype.readIgnored=function(x){return x.readUntilAfter(this.__directives_end_ignore_pattern)},u.exports.Directives=a},,function(u,a,x){var p=x(16).Beautifier,y=x(17).Options;function _(b,S){var k=new p(b,S);return k.beautify()}u.exports=_,u.exports.defaultOptions=function(){return new y}},function(u,a,x){var p=x(17).Options,y=x(2).Output,_=x(8).InputScanner,b=x(13).Directives,S=new b(/\/\*/,/\*\//),k=/\r\n|[\r\n]/,R=/\r\n|[\r\n]/g,A=/\s/,I=/(?:\s|\n)+/g,M=/\/\*(?:[\s\S]*?)((?:\*\/)|$)/g,B=/\/\/(?:[^\n\r\u2028\u2029]*)/g;function N(V,W){this._source_text=V||"",this._options=new p(W),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(V){var W="";for(this._ch=this._input.next();this._ch;){if(W+=this._ch,this._ch==="\\")W+=this._input.next();else if(V.indexOf(this._ch)!==-1||this._ch===`
`)break;this._ch=this._input.next()}return W},N.prototype.eatWhitespace=function(V){for(var W=A.test(this._input.peek()),H=0;A.test(this._input.peek());)this._ch=this._input.next(),V&&this._ch===`
`&&(H===0||H<this._options.max_preserve_newlines)&&(H++,this._output.add_new_line(!0));return W},N.prototype.foundNestedPseudoClass=function(){for(var V=0,W=1,H=this._input.peek(W);H;){if(H==="{")return!0;if(H==="(")V+=1;else if(H===")"){if(V===0)return!1;V-=1}else if(H===";"||H==="}")return!1;W++,H=this._input.peek(W)}return!1},N.prototype.print_string=function(V){this._output.set_indent(this._indentLevel),this._output.non_breaking_space=!0,this._output.add_token(V)},N.prototype.preserveSingleSpace=function(V){V&&(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 V=this._source_text,W=this._options.eol;W==="auto"&&(W=`
`,V&&k.test(V||"")&&(W=V.match(k)[0])),V=V.replace(R,`
`);var H=V.match(/^[\t ]*/)[0];this._output=new y(this._options,H),this._input=new _(V),this._indentLevel=0,this._nestedLevel=0,this._ch=null;for(var ae=0,ne=!1,oe=!1,J=!1,q=!1,K=!1,se=this._ch,ee=!1,Q,le,z;Q=this._input.read(I),le=Q!=="",z=se,this._ch=this._input.next(),this._ch==="\\"&&this._input.hasNext()&&(this._ch+=this._input.next()),se=this._ch,this._ch;)if(this._ch==="/"&&this._input.peek()==="*"){this._output.add_new_line(),this._input.back();var $=this._input.read(M),ie=S.get_directives($);ie&&ie.ignore==="start"&&($+=S.readIgnored(this._input)),this.print_string($),this.eatWhitespace(!0),this._output.add_new_line()}else if(this._ch==="/"&&this._input.peek()==="/")this._output.space_before_token=!0,this._input.back(),this.print_string(this._input.read(B)),this.eatWhitespace(!0);else if(this._ch==="$"){this.preserveSingleSpace(le),this.print_string(this._ch);var _e=this._input.peekUntilAfter(/[: ,;{}()[\]\/='"]/g);_e.match(/[ :]$/)&&(_e=this.eatString(": ").replace(/\s+$/,""),this.print_string(_e),this._output.space_before_token=!0),ae===0&&_e.indexOf(":")!==-1&&(oe=!0,this.indent())}else if(this._ch==="@")if(this.preserveSingleSpace(le),this._input.peek()==="{")this.print_string(this._ch+this.eatString("}"));else{this.print_string(this._ch);var Ae=this._input.peekUntilAfter(/[: ,;{}()[\]\/='"]/g);Ae.match(/[ :]$/)&&(Ae=this.eatString(": ").replace(/\s+$/,""),this.print_string(Ae),this._output.space_before_token=!0),ae===0&&Ae.indexOf(":")!==-1?(oe=!0,this.indent()):Ae in this.NESTED_AT_RULE?(this._nestedLevel+=1,Ae in this.CONDITIONAL_GROUP_RULE&&(J=!0)):ae===0&&!oe&&(q=!0)}else if(this._ch==="#"&&this._input.peek()==="{")this.preserveSingleSpace(le),this.print_string(this._ch+this.eatString("}"));else if(this._ch==="{")oe&&(oe=!1,this.outdent()),q=!1,J?(J=!1,ne=this._indentLevel>=this._nestedLevel):ne=this._indentLevel>=this._nestedLevel-1,this._options.newline_between_rules&&ne&&this._output.previous_line&&this._output.previous_line.item(-1)!=="{"&&this._output.ensure_empty_line_above("/",","),this._output.space_before_token=!0,this._options.brace_style==="expand"?(this._output.add_new_line(),this.print_string(this._ch),this.indent(),this._output.set_indent(this._indentLevel)):(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),oe&&(this.outdent(),oe=!1),this.print_string(this._ch),ne=!1,this._nestedLevel&&this._nestedLevel--,this.eatWhitespace(!0),this._output.add_new_line(),this._options.newline_between_rules&&!this._output.just_added_blankline()&&this._input.peek()!=="}"&&this._output.add_new_line(!0),this._input.peek()===")"&&(this._output.trim(!0),this._options.brace_style==="expand"&&this._output.add_new_line(!0));else if(this._ch===":"){for(var Pe=0;Pe<this.NON_SEMICOLON_NEWLINE_PROPERTY.length;Pe++)if(this._input.lookBack(this.NON_SEMICOLON_NEWLINE_PROPERTY[Pe])){ee=!0;break}(ne||J)&&!(this._input.lookBack("&")||this.foundNestedPseudoClass())&&!this._input.lookBack("(")&&!q&&ae===0?(this.print_string(":"),oe||(oe=!0,this._output.space_before_token=!0,this.eatWhitespace(!0),this.indent())):(this._input.lookBack(" ")&&(this._output.space_before_token=!0),this._input.peek()===":"?(this._ch=this._input.next(),this.print_string("::")):this.print_string(":"))}else if(this._ch==='"'||this._ch==="'"){var We=z==='"'||z==="'";this.preserveSingleSpace(We||le),this.print_string(this._ch+this.eatString(this._ch)),this.eatWhitespace(!0)}else if(this._ch===";")ee=!1,ae===0?(oe&&(this.outdent(),oe=!1),q=!1,this.print_string(this._ch),this.eatWhitespace(!0),this._input.peek()!=="/"&&this._output.add_new_line()):(this.print_string(this._ch),this.eatWhitespace(!0),this._output.space_before_token=!0);else if(this._ch==="(")if(this._input.lookBack("url"))this.print_string(this._ch),this.eatWhitespace(),ae++,this.indent(),this._ch=this._input.next(),this._ch===")"||this._ch==='"'||this._ch==="'"?this._input.back():this._ch&&(this.print_string(this._ch+this.eatString(")")),ae&&(ae--,this.outdent()));else{var $e=!1;this._input.lookBack("with")&&($e=!0),this.preserveSingleSpace(le||$e),this.print_string(this._ch),oe&&z==="$"&&this._options.selector_separator_newline?(this._output.add_new_line(),K=!0):(this.eatWhitespace(),ae++,this.indent())}else if(this._ch===")")ae&&(ae--,this.outdent()),K&&this._input.peek()===";"&&this._options.selector_separator_newline&&(K=!1,this.outdent(),this._output.add_new_line()),this.print_string(this._ch);else if(this._ch===",")this.print_string(this._ch),this.eatWhitespace(!0),this._options.selector_separator_newline&&(!oe||K)&&ae===0&&!q?this._output.add_new_line():this._output.space_before_token=!0;else if((this._ch===">"||this._ch==="+"||this._ch==="~")&&!oe&&ae===0)this._options.space_around_combinator?(this._output.space_before_token=!0,this.print_string(this._ch),this._output.space_before_token=!0):(this.print_string(this._ch),this.eatWhitespace(),this._ch&&A.test(this._ch)&&(this._ch=""));else if(this._ch==="]")this.print_string(this._ch);else if(this._ch==="[")this.preserveSingleSpace(le),this.print_string(this._ch);else if(this._ch==="=")this.eatWhitespace(),this.print_string("="),A.test(this._ch)&&(this._ch="");else if(this._ch==="!"&&!this._input.lookBack("\\"))this._output.space_before_token=!0,this.print_string(this._ch);else{var Lt=z==='"'||z==="'";this.preserveSingleSpace(Lt||le),this.print_string(this._ch),!this._output.just_added_newline()&&this._input.peek()===`
`&&ee&&this._output.add_new_line()}var bt=this._output.get_code(W);return bt},u.exports.Beautifier=N},function(u,a,x){var p=x(6).Options;function y(_){p.call(this,_,"css"),this.selector_separator_newline=this._get_boolean("selector_separator_newline",!0),this.newline_between_rules=this._get_boolean("newline_between_rules",!0);var b=this._get_boolean("space_around_selector_separator");this.space_around_combinator=this._get_boolean("space_around_combinator")||b;var S=this._get_selection_list("brace_style",["collapse","expand","end-expand","none","preserve-inline"]);this.brace_style="collapse";for(var k=0;k<S.length;k++)S[k]!=="expand"?this.brace_style="collapse":this.brace_style=S[k]}y.prototype=new p,u.exports.Options=y}],f={};function o(u){var a=f[u];if(a!==void 0)return a.exports;var x=f[u]={exports:{}};return c[u](x,x.exports,o),x.exports}var h=o(15);i=h})();var l=i;e=[],r=function(){return{css_beautify:l}}.apply(v,e),r!==void 0&&(d.exports=r)})()},40998:function(d,v,e){var r,i;(function(){var l;(function(){"use strict";var h=[,,function(p){function y(S){this.__parent=S,this.__character_count=0,this.__indent_count=-1,this.__alignment_count=0,this.__wrap_point_index=0,this.__wrap_point_character_count=0,this.__wrap_point_indent_count=-1,this.__wrap_point_alignment_count=0,this.__items=[]}y.prototype.clone_empty=function(){var S=new y(this.__parent);return S.set_indent(this.__indent_count,this.__alignment_count),S},y.prototype.item=function(S){return S<0?this.__items[this.__items.length+S]:this.__items[S]},y.prototype.has_match=function(S){for(var k=this.__items.length-1;k>=0;k--)if(this.__items[k].match(S))return!0;return!1},y.prototype.set_indent=function(S,k){this.is_empty()&&(this.__indent_count=S||0,this.__alignment_count=k||0,this.__character_count=this.__parent.get_indent_size(this.__indent_count,this.__alignment_count))},y.prototype._set_wrap_point=function(){this.__parent.wrap_line_length&&(this.__wrap_point_index=this.__items.length,this.__wrap_point_character_count=this.__character_count,this.__wrap_point_indent_count=this.__parent.next_line.__indent_count,this.__wrap_point_alignment_count=this.__parent.next_line.__alignment_count)},y.prototype._should_wrap=function(){return this.__wrap_point_index&&this.__character_count>this.__parent.wrap_line_length&&this.__wrap_point_character_count>this.__parent.next_line.__character_count},y.prototype._allow_wrap=function(){if(this._should_wrap()){this.__parent.add_new_line();var S=this.__parent.current_line;return S.set_indent(this.__wrap_point_indent_count,this.__wrap_point_alignment_count),S.__items=this.__items.slice(this.__wrap_point_index),this.__items=this.__items.slice(0,this.__wrap_point_index),S.__character_count+=this.__character_count-this.__wrap_point_character_count,this.__character_count=this.__wrap_point_character_count,S.__items[0]===" "&&(S.__items.splice(0,1),S.__character_count-=1),!0}return!1},y.prototype.is_empty=function(){return this.__items.length===0},y.prototype.last=function(){return this.is_empty()?null:this.__items[this.__items.length-1]},y.prototype.push=function(S){this.__items.push(S);var k=S.lastIndexOf(`
`);k!==-1?this.__character_count=S.length-k:this.__character_count+=S.length},y.prototype.pop=function(){var S=null;return this.is_empty()||(S=this.__items.pop(),this.__character_count-=S.length),S},y.prototype._remove_indent=function(){this.__indent_count>0&&(this.__indent_count-=1,this.__character_count-=this.__parent.indent_size)},y.prototype._remove_wrap_indent=function(){this.__wrap_point_indent_count>0&&(this.__wrap_point_indent_count-=1)},y.prototype.trim=function(){for(;this.last()===" ";)this.__items.pop(),this.__character_count-=1},y.prototype.toString=function(){var S="";return this.is_empty()?this.__parent.indent_empty_lines&&(S=this.__parent.get_indent_string(this.__indent_count)):(S=this.__parent.get_indent_string(this.__indent_count,this.__alignment_count),S+=this.__items.join("")),S};function _(S,k){this.__cache=[""],this.__indent_size=S.indent_size,this.__indent_string=S.indent_char,S.indent_with_tabs||(this.__indent_string=new Array(S.indent_size+1).join(S.indent_char)),k=k||"",S.indent_level>0&&(k=new Array(S.indent_level+1).join(this.__indent_string)),this.__base_string=k,this.__base_string_length=k.length}_.prototype.get_indent_size=function(S,k){var R=this.__base_string_length;return k=k||0,S<0&&(R=0),R+=S*this.__indent_size,R+=k,R},_.prototype.get_indent_string=function(S,k){var R=this.__base_string;return k=k||0,S<0&&(S=0,R=""),k+=S*this.__indent_size,this.__ensure_cache(k),R+=this.__cache[k],R},_.prototype.__ensure_cache=function(S){for(;S>=this.__cache.length;)this.__add_column()},_.prototype.__add_column=function(){var S=this.__cache.length,k=0,R="";this.__indent_size&&S>=this.__indent_size&&(k=Math.floor(S/this.__indent_size),S-=k*this.__indent_size,R=new Array(k+1).join(this.__indent_string)),S&&(R+=new Array(S+1).join(" ")),this.__cache.push(R)};function b(S,k){this.__indent_cache=new _(S,k),this.raw=!1,this._end_with_newline=S.end_with_newline,this.indent_size=S.indent_size,this.wrap_line_length=S.wrap_line_length,this.indent_empty_lines=S.indent_empty_lines,this.__lines=[],this.previous_line=null,this.current_line=null,this.next_line=new y(this),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=!1,this.__add_outputline()}b.prototype.__add_outputline=function(){this.previous_line=this.current_line,this.current_line=this.next_line.clone_empty(),this.__lines.push(this.current_line)},b.prototype.get_line_number=function(){return this.__lines.length},b.prototype.get_indent_string=function(S,k){return this.__indent_cache.get_indent_string(S,k)},b.prototype.get_indent_size=function(S,k){return this.__indent_cache.get_indent_size(S,k)},b.prototype.is_empty=function(){return!this.previous_line&&this.current_line.is_empty()},b.prototype.add_new_line=function(S){return this.is_empty()||!S&&this.just_added_newline()?!1:(this.raw||this.__add_outputline(),!0)},b.prototype.get_code=function(S){this.trim(!0);var k=this.current_line.pop();k&&(k[k.length-1]===`
`&&(k=k.replace(/\n+$/g,"")),this.current_line.push(k)),this._end_with_newline&&this.__add_outputline();var R=this.__lines.join(`
`);return S!==`
`&&(R=R.replace(/[\n]/g,S)),R},b.prototype.set_wrap_point=function(){this.current_line._set_wrap_point()},b.prototype.set_indent=function(S,k){return S=S||0,k=k||0,this.next_line.set_indent(S,k),this.__lines.length>1?(this.current_line.set_indent(S,k),!0):(this.current_line.set_indent(),!1)},b.prototype.add_raw_token=function(S){for(var k=0;k<S.newlines;k++)this.__add_outputline();this.current_line.set_indent(-1),this.current_line.push(S.whitespace_before),this.current_line.push(S.text),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=!1},b.prototype.add_token=function(S){this.__add_space_before_token(),this.current_line.push(S),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=this.current_line._allow_wrap()},b.prototype.__add_space_before_token=function(){this.space_before_token&&!this.just_added_newline()&&(this.non_breaking_space||this.set_wrap_point(),this.current_line.push(" "))},b.prototype.remove_indent=function(S){for(var k=this.__lines.length;S<k;)this.__lines[S]._remove_indent(),S++;this.current_line._remove_wrap_indent()},b.prototype.trim=function(S){for(S=S===void 0?!1:S,this.current_line.trim();S&&this.__lines.length>1&&this.current_line.is_empty();)this.__lines.pop(),this.current_line=this.__lines[this.__lines.length-1],this.current_line.trim();this.previous_line=this.__lines.length>1?this.__lines[this.__lines.length-2]:null},b.prototype.just_added_newline=function(){return this.current_line.is_empty()},b.prototype.just_added_blankline=function(){return this.is_empty()||this.current_line.is_empty()&&this.previous_line.is_empty()},b.prototype.ensure_empty_line_above=function(S,k){for(var R=this.__lines.length-2;R>=0;){var A=this.__lines[R];if(A.is_empty())break;if(A.item(0).indexOf(S)!==0&&A.item(-1)!==k){this.__lines.splice(R+1,0,new y(this)),this.previous_line=this.__lines[this.__lines.length-2];break}R--}},p.exports.Output=b},function(p){function y(_,b,S,k){this.type=_,this.text=b,this.comments_before=null,this.newlines=S||0,this.whitespace_before=k||"",this.parent=null,this.next=null,this.previous=null,this.opened=null,this.closed=null,this.directives=null}p.exports.Token=y},,,function(p){function y(S,k){this.raw_options=_(S,k),this.disabled=this._get_boolean("disabled"),this.eol=this._get_characters("eol","auto"),this.end_with_newline=this._get_boolean("end_with_newline"),this.indent_size=this._get_number("indent_size",4),this.indent_char=this._get_characters("indent_char"," "),this.indent_level=this._get_number("indent_level"),this.preserve_newlines=this._get_boolean("preserve_newlines",!0),this.max_preserve_newlines=this._get_number("max_preserve_newlines",32786),this.preserve_newlines||(this.max_preserve_newlines=0),this.indent_with_tabs=this._get_boolean("indent_with_tabs",this.indent_char===" "),this.indent_with_tabs&&(this.indent_char=" ",this.indent_size===1&&(this.indent_size=4)),this.wrap_line_length=this._get_number("wrap_line_length",this._get_number("max_char")),this.indent_empty_lines=this._get_boolean("indent_empty_lines"),this.templating=this._get_selection_list("templating",["auto","none","angular","django","erb","handlebars","php","smarty"],["auto"])}y.prototype._get_array=function(S,k){var R=this.raw_options[S],A=k||[];return typeof R=="object"?R!==null&&typeof R.concat=="function"&&(A=R.concat()):typeof R=="string"&&(A=R.split(/[^a-zA-Z0-9_\/\-]+/)),A},y.prototype._get_boolean=function(S,k){var R=this.raw_options[S],A=R===void 0?!!k:!!R;return A},y.prototype._get_characters=function(S,k){var R=this.raw_options[S],A=k||"";return typeof R=="string"&&(A=R.replace(/\\r/,"\r").replace(/\\n/,`
`).replace(/\\t/," ")),A},y.prototype._get_number=function(S,k){var R=this.raw_options[S];k=parseInt(k,10),isNaN(k)&&(k=0);var A=parseInt(R,10);return isNaN(A)&&(A=k),A},y.prototype._get_selection=function(S,k,R){var A=this._get_selection_list(S,k,R);if(A.length!==1)throw new Error("Invalid Option Value: The option '"+S+`' can only be one of the following values:
`+k+`
You passed in: '`+this.raw_options[S]+"'");return A[0]},y.prototype._get_selection_list=function(S,k,R){if(!k||k.length===0)throw new Error("Selection list cannot be empty.");if(R=R||[k[0]],!this._is_valid_selection(R,k))throw new Error("Invalid Default Value!");var A=this._get_array(S,R);if(!this._is_valid_selection(A,k))throw new Error("Invalid Option Value: The option '"+S+`' can contain only the following values:
`+k+`
You passed in: '`+this.raw_options[S]+"'");return A},y.prototype._is_valid_selection=function(S,k){return S.length&&k.length&&!S.some(function(R){return k.indexOf(R)===-1})};function _(S,k){var R={};S=b(S);var A;for(A in S)A!==k&&(R[A]=S[A]);if(k&&S[k])for(A in S[k])R[A]=S[k][A];return R}function b(S){var k={},R;for(R in S){var A=R.replace(/-/g,"_");k[A]=S[R]}return k}p.exports.Options=y,p.exports.normalizeOpts=b,p.exports.mergeOpts=_},,function(p){var y=RegExp.prototype.hasOwnProperty("sticky");function _(b){this.__input=b||"",this.__input_length=this.__input.length,this.__position=0}_.prototype.restart=function(){this.__position=0},_.prototype.back=function(){this.__position>0&&(this.__position-=1)},_.prototype.hasNext=function(){return this.__position<this.__input_length},_.prototype.next=function(){var b=null;return this.hasNext()&&(b=this.__input.charAt(this.__position),this.__position+=1),b},_.prototype.peek=function(b){var S=null;return b=b||0,b+=this.__position,b>=0&&b<this.__input_length&&(S=this.__input.charAt(b)),S},_.prototype.__match=function(b,S){b.lastIndex=S;var k=b.exec(this.__input);return k&&!(y&&b.sticky)&&k.index!==S&&(k=null),k},_.prototype.test=function(b,S){return S=S||0,S+=this.__position,S>=0&&S<this.__input_length?!!this.__match(b,S):!1},_.prototype.testChar=function(b,S){var k=this.peek(S);return b.lastIndex=0,k!==null&&b.test(k)},_.prototype.match=function(b){var S=this.__match(b,this.__position);return S?this.__position+=S[0].length:S=null,S},_.prototype.read=function(b,S,k){var R="",A;return b&&(A=this.match(b),A&&(R+=A[0])),S&&(A||!b)&&(R+=this.readUntil(S,k)),R},_.prototype.readUntil=function(b,S){var k="",R=this.__position;b.lastIndex=this.__position;var A=b.exec(this.__input);return A?(R=A.index,S&&(R+=A[0].length)):R=this.__input_length,k=this.__input.substring(this.__position,R),this.__position=R,k},_.prototype.readUntilAfter=function(b){return this.readUntil(b,!0)},_.prototype.get_regexp=function(b,S){var k=null,R="g";return S&&y&&(R="y"),typeof b=="string"&&b!==""?k=new RegExp(b,R):b&&(k=new RegExp(b.source,R)),k},_.prototype.get_literal_regexp=function(b){return RegExp(b.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&"))},_.prototype.peekUntilAfter=function(b){var S=this.__position,k=this.readUntilAfter(b);return this.__position=S,k},_.prototype.lookBack=function(b){var S=this.__position-1;return S>=b.length&&this.__input.substring(S-b.length,S).toLowerCase()===b},p.exports.InputScanner=_},function(p,y,_){var b=_(8).InputScanner,S=_(3).Token,k=_(10).TokenStream,R=_(11).WhitespacePattern,A={START:"TK_START",RAW:"TK_RAW",EOF:"TK_EOF"},I=function(M,B){this._input=new b(M),this._options=B||{},this.__tokens=null,this._patterns={},this._patterns.whitespace=new R(this._input)};I.prototype.tokenize=function(){this._input.restart(),this.__tokens=new k,this._reset();for(var M,B=new S(A.START,""),N=null,V=[],W=new k;B.type!==A.EOF;){for(M=this._get_next_token(B,N);this._is_comment(M);)W.add(M),M=this._get_next_token(B,N);W.isEmpty()||(M.comments_before=W,W=new k),M.parent=N,this._is_opening(M)?(V.push(N),N=M):N&&this._is_closing(M,N)&&(M.opened=N,N.closed=M,N=V.pop(),M.parent=N),M.previous=B,B.next=M,this.__tokens.add(M),B=M}return this.__tokens},I.prototype._is_first_token=function(){return this.__tokens.isEmpty()},I.prototype._reset=function(){},I.prototype._get_next_token=function(M,B){this._readWhitespace();var N=this._input.read(/.+/g);return N?this._create_token(A.RAW,N):this._create_token(A.EOF,"")},I.prototype._is_comment=function(M){return!1},I.prototype._is_opening=function(M){return!1},I.prototype._is_closing=function(M,B){return!1},I.prototype._create_token=function(M,B){var N=new S(M,B,this._patterns.whitespace.newline_count,this._patterns.whitespace.whitespace_before_token);return N},I.prototype._readWhitespace=function(){return this._patterns.whitespace.read()},p.exports.Tokenizer=I,p.exports.TOKEN=A},function(p){function y(_){this.__tokens=[],this.__tokens_length=this.__tokens.length,this.__position=0,this.__parent_token=_}y.prototype.restart=function(){this.__position=0},y.prototype.isEmpty=function(){return this.__tokens_length===0},y.prototype.hasNext=function(){return this.__position<this.__tokens_length},y.prototype.next=function(){var _=null;return this.hasNext()&&(_=this.__tokens[this.__position],this.__position+=1),_},y.prototype.peek=function(_){var b=null;return _=_||0,_+=this.__position,_>=0&&_<this.__tokens_length&&(b=this.__tokens[_]),b},y.prototype.add=function(_){this.__parent_token&&(_.parent=this.__parent_token),this.__tokens.push(_),this.__tokens_length+=1},p.exports.TokenStream=y},function(p,y,_){var b=_(12).Pattern;function S(k,R){b.call(this,k,R),R?this._line_regexp=this._input.get_regexp(R._line_regexp):this.__set_whitespace_patterns("",""),this.newline_count=0,this.whitespace_before_token=""}S.prototype=new b,S.prototype.__set_whitespace_patterns=function(k,R){k+="\\t ",R+="\\n\\r",this._match_pattern=this._input.get_regexp("["+k+R+"]+",!0),this._newline_regexp=this._input.get_regexp("\\r\\n|["+R+"]")},S.prototype.read=function(){this.newline_count=0,this.whitespace_before_token="";var k=this._input.read(this._match_pattern);if(k===" ")this.whitespace_before_token=" ";else if(k){var R=this.__split(this._newline_regexp,k);this.newline_count=R.length-1,this.whitespace_before_token=R[this.newline_count]}return k},S.prototype.matching=function(k,R){var A=this._create();return A.__set_whitespace_patterns(k,R),A._update(),A},S.prototype._create=function(){return new S(this._input,this)},S.prototype.__split=function(k,R){k.lastIndex=0;for(var A=0,I=[],M=k.exec(R);M;)I.push(R.substring(A,M.index)),A=M.index+M[0].length,M=k.exec(R);return A<R.length?I.push(R.substring(A,R.length)):I.push(""),I},p.exports.WhitespacePattern=S},function(p){function y(_,b){this._input=_,this._starting_pattern=null,this._match_pattern=null,this._until_pattern=null,this._until_after=!1,b&&(this._starting_pattern=this._input.get_regexp(b._starting_pattern,!0),this._match_pattern=this._input.get_regexp(b._match_pattern,!0),this._until_pattern=this._input.get_regexp(b._until_pattern),this._until_after=b._until_after)}y.prototype.read=function(){var _=this._input.read(this._starting_pattern);return(!this._starting_pattern||_)&&(_+=this._input.read(this._match_pattern,this._until_pattern,this._until_after)),_},y.prototype.read_match=function(){return this._input.match(this._match_pattern)},y.prototype.until_after=function(_){var b=this._create();return b._until_after=!0,b._until_pattern=this._input.get_regexp(_),b._update(),b},y.prototype.until=function(_){var b=this._create();return b._until_after=!1,b._until_pattern=this._input.get_regexp(_),b._update(),b},y.prototype.starting_with=function(_){var b=this._create();return b._starting_pattern=this._input.get_regexp(_,!0),b._update(),b},y.prototype.matching=function(_){var b=this._create();return b._match_pattern=this._input.get_regexp(_,!0),b._update(),b},y.prototype._create=function(){return new y(this._input,this)},y.prototype._update=function(){},p.exports.Pattern=y},function(p){function y(_,b){_=typeof _=="string"?_:_.source,b=typeof b=="string"?b:b.source,this.__directives_block_pattern=new RegExp(_+/ beautify( \w+[:]\w+)+ /.source+b,"g"),this.__directive_pattern=/ (\w+)[:](\w+)/g,this.__directives_end_ignore_pattern=new RegExp(_+/\sbeautify\signore:end\s/.source+b,"g")}y.prototype.get_directives=function(_){if(!_.match(this.__directives_block_pattern))return null;var b={};this.__directive_pattern.lastIndex=0;for(var S=this.__directive_pattern.exec(_);S;)b[S[1]]=S[2],S=this.__directive_pattern.exec(_);return b},y.prototype.readIgnored=function(_){return _.readUntilAfter(this.__directives_end_ignore_pattern)},p.exports.Directives=y},function(p,y,_){var b=_(12).Pattern,S={django:!1,erb:!1,handlebars:!1,php:!1,smarty:!1,angular:!1};function k(R,A){b.call(this,R,A),this.__template_pattern=null,this._disabled=Object.assign({},S),this._excluded=Object.assign({},S),A&&(this.__template_pattern=this._input.get_regexp(A.__template_pattern),this._excluded=Object.assign(this._excluded,A._excluded),this._disabled=Object.assign(this._disabled,A._disabled));var I=new b(R);this.__patterns={handlebars_comment:I.starting_with(/{{!--/).until_after(/--}}/),handlebars_unescaped:I.starting_with(/{{{/).until_after(/}}}/),handlebars:I.starting_with(/{{/).until_after(/}}/),php:I.starting_with(/<\?(?:[= ]|php)/).until_after(/\?>/),erb:I.starting_with(/<%[^%]/).until_after(/[^%]%>/),django:I.starting_with(/{%/).until_after(/%}/),django_value:I.starting_with(/{{/).until_after(/}}/),django_comment:I.starting_with(/{#/).until_after(/#}/),smarty:I.starting_with(/{(?=[^}{\s\n])/).until_after(/[^\s\n]}/),smarty_comment:I.starting_with(/{\*/).until_after(/\*}/),smarty_literal:I.starting_with(/{literal}/).until_after(/{\/literal}/)}}k.prototype=new b,k.prototype._create=function(){return new k(this._input,this)},k.prototype._update=function(){this.__set_templated_pattern()},k.prototype.disable=function(R){var A=this._create();return A._disabled[R]=!0,A._update(),A},k.prototype.read_options=function(R){var A=this._create();for(var I in S)A._disabled[I]=R.templating.indexOf(I)===-1;return A._update(),A},k.prototype.exclude=function(R){var A=this._create();return A._excluded[R]=!0,A._update(),A},k.prototype.read=function(){var R="";this._match_pattern?R=this._input.read(this._starting_pattern):R=this._input.read(this._starting_pattern,this.__template_pattern);for(var A=this._read_template();A;)this._match_pattern?A+=this._input.read(this._match_pattern):A+=this._input.readUntil(this.__template_pattern),R+=A,A=this._read_template();return this._until_after&&(R+=this._input.readUntilAfter(this._until_pattern)),R},k.prototype.__set_templated_pattern=function(){var R=[];this._disabled.php||R.push(this.__patterns.php._starting_pattern.source),this._disabled.handlebars||R.push(this.__patterns.handlebars._starting_pattern.source),this._disabled.angular||R.push(this.__patterns.handlebars._starting_pattern.source),this._disabled.erb||R.push(this.__patterns.erb._starting_pattern.source),this._disabled.django||(R.push(this.__patterns.django._starting_pattern.source),R.push(this.__patterns.django_value._starting_pattern.source),R.push(this.__patterns.django_comment._starting_pattern.source)),this._disabled.smarty||R.push(this.__patterns.smarty._starting_pattern.source),this._until_pattern&&R.push(this._until_pattern.source),this.__template_pattern=this._input.get_regexp("(?:"+R.join("|")+")")},k.prototype._read_template=function(){var R="",A=this._input.peek();if(A==="<"){var I=this._input.peek(1);!this._disabled.php&&!this._excluded.php&&I==="?"&&(R=R||this.__patterns.php.read()),!this._disabled.erb&&!this._excluded.erb&&I==="%"&&(R=R||this.__patterns.erb.read())}else A==="{"&&(!this._disabled.handlebars&&!this._excluded.handlebars&&(R=R||this.__patterns.handlebars_comment.read(),R=R||this.__patterns.handlebars_unescaped.read(),R=R||this.__patterns.handlebars.read()),this._disabled.django||(!this._excluded.django&&!this._excluded.handlebars&&(R=R||this.__patterns.django_value.read()),this._excluded.django||(R=R||this.__patterns.django_comment.read(),R=R||this.__patterns.django.read())),this._disabled.smarty||this._disabled.django&&this._disabled.handlebars&&(R=R||this.__patterns.smarty_comment.read(),R=R||this.__patterns.smarty_literal.read(),R=R||this.__patterns.smarty.read()));return R},p.exports.TemplatablePattern=k},,,,function(p,y,_){var b=_(19).Beautifier,S=_(20).Options;function k(R,A,I,M){var B=new b(R,A,I,M);return B.beautify()}p.exports=k,p.exports.defaultOptions=function(){return new S}},function(p,y,_){var b=_(20).Options,S=_(2).Output,k=_(21).Tokenizer,R=_(21).TOKEN,A=/\r\n|[\r\n]/,I=/\r\n|[\r\n]/g,M=function(q,K){this.indent_level=0,this.alignment_size=0,this.max_preserve_newlines=q.max_preserve_newlines,this.preserve_newlines=q.preserve_newlines,this._output=new S(q,K)};M.prototype.current_line_has_match=function(q){return this._output.current_line.has_match(q)},M.prototype.set_space_before_token=function(q,K){this._output.space_before_token=q,this._output.non_breaking_space=K},M.prototype.set_wrap_point=function(){this._output.set_indent(this.indent_level,this.alignment_size),this._output.set_wrap_point()},M.prototype.add_raw_token=function(q){this._output.add_raw_token(q)},M.prototype.print_preserved_newlines=function(q){var K=0;q.type!==R.TEXT&&q.previous.type!==R.TEXT&&(K=q.newlines?1:0),this.preserve_newlines&&(K=q.newlines<this.max_preserve_newlines+1?q.newlines:this.max_preserve_newlines+1);for(var se=0;se<K;se++)this.print_newline(se>0);return K!==0},M.prototype.traverse_whitespace=function(q){return q.whitespace_before||q.newlines?(this.print_preserved_newlines(q)||(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(q){this._output.add_new_line(q)},M.prototype.print_token=function(q){q.text&&(this._output.set_indent(this.indent_level,this.alignment_size),this._output.add_token(q.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(q){return q=this.indent_level+(q||0),q<1?"":this._output.get_indent_string(q)};var B=function(q){for(var K=null,se=q.next;se.type!==R.EOF&&q.closed!==se;){if(se.type===R.ATTRIBUTE&&se.text==="type"){se.next&&se.next.type===R.EQUALS&&se.next.next&&se.next.next.type===R.VALUE&&(K=se.next.next.text);break}se=se.next}return K},N=function(q,K){var se=null,ee=null;return K.closed?(q==="script"?se="text/javascript":q==="style"&&(se="text/css"),se=B(K)||se,se.search("text/css")>-1?ee="css":se.search(/module|((text|application|dojo)\/(x-)?(javascript|ecmascript|jscript|livescript|(ld\+)?json|method|aspect))/)>-1?ee="javascript":se.search(/(text|application|dojo)\/(x-)?(html)/)>-1?ee="html":se.search(/test\/null/)>-1&&(ee="null"),ee):null};function V(q,K){return K.indexOf(q)!==-1}function W(q,K,se){this.parent=q||null,this.tag=K?K.tag_name:"",this.indent_level=se||0,this.parser_token=K||null}function H(q){this._printer=q,this._current_frame=null}H.prototype.get_parser_token=function(){return this._current_frame?this._current_frame.parser_token:null},H.prototype.record_tag=function(q){var K=new W(this._current_frame,q,this._printer.indent_level);this._current_frame=K},H.prototype._try_pop_frame=function(q){var K=null;return q&&(K=q.parser_token,this._printer.indent_level=q.indent_level,this._current_frame=q.parent),K},H.prototype._get_frame=function(q,K){for(var se=this._current_frame;se&&q.indexOf(se.tag)===-1;){if(K&&K.indexOf(se.tag)!==-1){se=null;break}se=se.parent}return se},H.prototype.try_pop=function(q,K){var se=this._get_frame([q],K);return this._try_pop_frame(se)},H.prototype.indent_to_tag=function(q){var K=this._get_frame(q);K&&(this._printer.indent_level=K.indent_level)};function ae(q,K,se,ee){this._source_text=q||"",K=K||{},this._js_beautify=se,this._css_beautify=ee,this._tag_stack=null;var Q=new b(K,"html");this._options=Q,this._is_wrap_attributes_force=this._options.wrap_attributes.substr(0,5)==="force",this._is_wrap_attributes_force_expand_multiline=this._options.wrap_attributes==="force-expand-multiline",this._is_wrap_attributes_force_aligned=this._options.wrap_attributes==="force-aligned",this._is_wrap_attributes_aligned_multiple=this._options.wrap_attributes==="aligned-multiple",this._is_wrap_attributes_preserve=this._options.wrap_attributes.substr(0,8)==="preserve",this._is_wrap_attributes_preserve_aligned=this._options.wrap_attributes==="preserve-aligned"}ae.prototype.beautify=function(){if(this._options.disabled)return this._source_text;var q=this._source_text,K=this._options.eol;this._options.eol==="auto"&&(K=`
`,q&&A.test(q)&&(K=q.match(A)[0])),q=q.replace(I,`
`);var se=q.match(/^[\t ]*/)[0],ee={text:"",type:""},Q=new ne(this._options),le=new M(this._options,se),z=new k(q,this._options).tokenize();this._tag_stack=new H(le);for(var $=null,ie=z.next();ie.type!==R.EOF;)ie.type===R.TAG_OPEN||ie.type===R.COMMENT?($=this._handle_tag_open(le,ie,Q,ee,z),Q=$):ie.type===R.ATTRIBUTE||ie.type===R.EQUALS||ie.type===R.VALUE||ie.type===R.TEXT&&!Q.tag_complete?$=this._handle_inside_tag(le,ie,Q,ee):ie.type===R.TAG_CLOSE?$=this._handle_tag_close(le,ie,Q):ie.type===R.TEXT?$=this._handle_text(le,ie,Q):ie.type===R.CONTROL_FLOW_OPEN?$=this._handle_control_flow_open(le,ie):ie.type===R.CONTROL_FLOW_CLOSE?$=this._handle_control_flow_close(le,ie):le.add_raw_token(ie),ee=$,ie=z.next();var _e=le._output.get_code(K);return _e},ae.prototype._handle_control_flow_open=function(q,K){var se={text:K.text,type:K.type};return q.set_space_before_token(K.newlines||K.whitespace_before!=="",!0),K.newlines?q.print_preserved_newlines(K):q.set_space_before_token(K.newlines||K.whitespace_before!=="",!0),q.print_token(K),q.indent(),se},ae.prototype._handle_control_flow_close=function(q,K){var se={text:K.text,type:K.type};return q.deindent(),K.newlines?q.print_preserved_newlines(K):q.set_space_before_token(K.newlines||K.whitespace_before!=="",!0),q.print_token(K),se},ae.prototype._handle_tag_close=function(q,K,se){var ee={text:K.text,type:K.type};return q.alignment_size=0,se.tag_complete=!0,q.set_space_before_token(K.newlines||K.whitespace_before!=="",!0),se.is_unformatted?q.add_raw_token(K):(se.tag_start_char==="<"&&(q.set_space_before_token(K.text[0]==="/",!0),this._is_wrap_attributes_force_expand_multiline&&se.has_wrapped_attrs&&q.print_newline(!1)),q.print_token(K)),se.indent_content&&!(se.is_unformatted||se.is_content_unformatted)&&(q.indent(),se.indent_content=!1),!se.is_inline_element&&!(se.is_unformatted||se.is_content_unformatted)&&q.set_wrap_point(),ee},ae.prototype._handle_inside_tag=function(q,K,se,ee){var Q=se.has_wrapped_attrs,le={text:K.text,type:K.type};return q.set_space_before_token(K.newlines||K.whitespace_before!=="",!0),se.is_unformatted?q.add_raw_token(K):se.tag_start_char==="{"&&K.type===R.TEXT?q.print_preserved_newlines(K)?(K.newlines=0,q.add_raw_token(K)):q.print_token(K):(K.type===R.ATTRIBUTE?q.set_space_before_token(!0):(K.type===R.EQUALS||K.type===R.VALUE&&K.previous.type===R.EQUALS)&&q.set_space_before_token(!1),K.type===R.ATTRIBUTE&&se.tag_start_char==="<"&&((this._is_wrap_attributes_preserve||this._is_wrap_attributes_preserve_aligned)&&(q.traverse_whitespace(K),Q=Q||K.newlines!==0),this._is_wrap_attributes_force&&se.attr_count>=this._options.wrap_attributes_min_attrs&&(ee.type!==R.TAG_OPEN||this._is_wrap_attributes_force_expand_multiline)&&(q.print_newline(!1),Q=!0)),q.print_token(K),Q=Q||q.previous_token_wrapped(),se.has_wrapped_attrs=Q),le},ae.prototype._handle_text=function(q,K,se){var ee={text:K.text,type:"TK_CONTENT"};return se.custom_beautifier_name?this._print_custom_beatifier_text(q,K,se):se.is_unformatted||se.is_content_unformatted?q.add_raw_token(K):(q.traverse_whitespace(K),q.print_token(K)),ee},ae.prototype._print_custom_beatifier_text=function(q,K,se){var ee=this;if(K.text!==""){var Q=K.text,le,z=1,$="",ie="";se.custom_beautifier_name==="javascript"&&typeof this._js_beautify=="function"?le=this._js_beautify:se.custom_beautifier_name==="css"&&typeof this._css_beautify=="function"?le=this._css_beautify:se.custom_beautifier_name==="html"&&(le=function(Lt,bt){var kt=new ae(Lt,bt,ee._js_beautify,ee._css_beautify);return kt.beautify()}),this._options.indent_scripts==="keep"?z=0:this._options.indent_scripts==="separate"&&(z=-q.indent_level);var _e=q.get_full_indent(z);if(Q=Q.replace(/\n[ \t]*$/,""),se.custom_beautifier_name!=="html"&&Q[0]==="<"&&Q.match(/^(<!--|<!\[CDATA\[)/)){var Ae=/^(<!--[^\n]*|<!\[CDATA\[)(\n?)([ \t\n]*)([\s\S]*)(-->|]]>)$/.exec(Q);if(!Ae){q.add_raw_token(K);return}$=_e+Ae[1]+`
`,Q=Ae[4],Ae[5]&&(ie=_e+Ae[5]),Q=Q.replace(/\n[ \t]*$/,""),(Ae[2]||Ae[3].indexOf(`
`)!==-1)&&(Ae=Ae[3].match(/[ \t]+$/),Ae&&(K.whitespace_before=Ae[0]))}if(Q)if(le){var Pe=function(){this.eol=`
`};Pe.prototype=this._options.raw_options;var We=new Pe;Q=le(_e+Q,We)}else{var $e=K.whitespace_before;$e&&(Q=Q.replace(new RegExp(`
(`+$e+")?","g"),`
`)),Q=_e+Q.replace(/\n/g,`
`+_e)}$&&(Q?Q=$+Q+`
`+ie:Q=$+ie),q.print_newline(!1),Q&&(K.text=Q,K.whitespace_before="",K.newlines=0,q.add_raw_token(K),q.print_newline(!0))}},ae.prototype._handle_tag_open=function(q,K,se,ee,Q){var le=this._get_tag_open_token(K);if((se.is_unformatted||se.is_content_unformatted)&&!se.is_empty_element&&K.type===R.TAG_OPEN&&!le.is_start_tag?(q.add_raw_token(K),le.start_tag_token=this._tag_stack.try_pop(le.tag_name)):(q.traverse_whitespace(K),this._set_tag_position(q,K,le,se,ee),le.is_inline_element||q.set_wrap_point(),q.print_token(K)),le.is_start_tag&&this._is_wrap_attributes_force){var z=0,$;do $=Q.peek(z),$.type===R.ATTRIBUTE&&(le.attr_count+=1),z+=1;while($.type!==R.EOF&&$.type!==R.TAG_CLOSE)}return(this._is_wrap_attributes_force_aligned||this._is_wrap_attributes_aligned_multiple||this._is_wrap_attributes_preserve_aligned)&&(le.alignment_size=K.text.length+1),!le.tag_complete&&!le.is_unformatted&&(q.alignment_size=le.alignment_size),le};var ne=function(q,K,se){if(this.parent=K||null,this.text="",this.type="TK_TAG_OPEN",this.tag_name="",this.is_inline_element=!1,this.is_unformatted=!1,this.is_content_unformatted=!1,this.is_empty_element=!1,this.is_start_tag=!1,this.is_end_tag=!1,this.indent_content=!1,this.multiline_content=!1,this.custom_beautifier_name=null,this.start_tag_token=null,this.attr_count=0,this.has_wrapped_attrs=!1,this.alignment_size=0,this.tag_complete=!1,this.tag_start_char="",this.tag_check="",!se)this.tag_complete=!0;else{var ee;this.tag_start_char=se.text[0],this.text=se.text,this.tag_start_char==="<"?(ee=se.text.match(/^<([^\s>]*)/),this.tag_check=ee?ee[1]:""):(ee=se.text.match(/^{{~?(?:[\^]|#\*?)?([^\s}]+)/),this.tag_check=ee?ee[1]:"",(se.text.startsWith("{{#>")||se.text.startsWith("{{~#>"))&&this.tag_check[0]===">"&&(this.tag_check===">"&&se.next!==null?this.tag_check=se.next.text.split(" ")[0]:this.tag_check=se.text.split(">")[1])),this.tag_check=this.tag_check.toLowerCase(),se.type===R.COMMENT&&(this.tag_complete=!0),this.is_start_tag=this.tag_check.charAt(0)!=="/",this.tag_name=this.is_start_tag?this.tag_check:this.tag_check.substr(1),this.is_end_tag=!this.is_start_tag||se.closed&&se.closed.text==="/>";var Q=2;this.tag_start_char==="{"&&this.text.length>=3&&this.text.charAt(2)==="~"&&(Q=3),this.is_end_tag=this.is_end_tag||this.tag_start_char==="{"&&(!q.indent_handlebars||this.text.length<3||/[^#\^]/.test(this.text.charAt(Q)))}};ae.prototype._get_tag_open_token=function(q){var K=new ne(this._options,this._tag_stack.get_parser_token(),q);return K.alignment_size=this._options.wrap_attributes_indent_size,K.is_end_tag=K.is_end_tag||V(K.tag_check,this._options.void_elements),K.is_empty_element=K.tag_complete||K.is_start_tag&&K.is_end_tag,K.is_unformatted=!K.tag_complete&&V(K.tag_check,this._options.unformatted),K.is_content_unformatted=!K.is_empty_element&&V(K.tag_check,this._options.content_unformatted),K.is_inline_element=V(K.tag_name,this._options.inline)||this._options.inline_custom_elements&&K.tag_name.includes("-")||K.tag_start_char==="{",K},ae.prototype._set_tag_position=function(q,K,se,ee,Q){if(se.is_empty_element||(se.is_end_tag?se.start_tag_token=this._tag_stack.try_pop(se.tag_name):(this._do_optional_end_element(se)&&(se.is_inline_element||q.print_newline(!1)),this._tag_stack.record_tag(se),(se.tag_name==="script"||se.tag_name==="style")&&!(se.is_unformatted||se.is_content_unformatted)&&(se.custom_beautifier_name=N(se.tag_check,K)))),V(se.tag_check,this._options.extra_liners)&&(q.print_newline(!1),q._output.just_added_blankline()||q.print_newline(!0)),se.is_empty_element){if(se.tag_start_char==="{"&&se.tag_check==="else"){this._tag_stack.indent_to_tag(["if","unless","each"]),se.indent_content=!0;var le=q.current_line_has_match(/{{#if/);le||q.print_newline(!1)}se.tag_name==="!--"&&Q.type===R.TAG_CLOSE&&ee.is_end_tag&&se.text.indexOf(`
`)===-1||(se.is_inline_element||se.is_unformatted||q.print_newline(!1),this._calcluate_parent_multiline(q,se))}else if(se.is_end_tag){var z=!1;z=se.start_tag_token&&se.start_tag_token.multiline_content,z=z||!se.is_inline_element&&!(ee.is_inline_element||ee.is_unformatted)&&!(Q.type===R.TAG_CLOSE&&se.start_tag_token===ee)&&Q.type!=="TK_CONTENT",(se.is_content_unformatted||se.is_unformatted)&&(z=!1),z&&q.print_newline(!1)}else se.indent_content=!se.custom_beautifier_name,se.tag_start_char==="<"&&(se.tag_name==="html"?se.indent_content=this._options.indent_inner_html:se.tag_name==="head"?se.indent_content=this._options.indent_head_inner_html:se.tag_name==="body"&&(se.indent_content=this._options.indent_body_inner_html)),!(se.is_inline_element||se.is_unformatted)&&(Q.type!=="TK_CONTENT"||se.is_content_unformatted)&&q.print_newline(!1),this._calcluate_parent_multiline(q,se)},ae.prototype._calcluate_parent_multiline=function(q,K){K.parent&&q._output.just_added_newline()&&!((K.is_inline_element||K.is_unformatted)&&K.parent.is_inline_element)&&(K.parent.multiline_content=!0)};var oe=["address","article","aside","blockquote","details","div","dl","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hr","main","menu","nav","ol","p","pre","section","table","ul"],J=["a","audio","del","ins","map","noscript","video"];ae.prototype._do_optional_end_element=function(q){var K=null;if(!(q.is_empty_element||!q.is_start_tag||!q.parent)){if(q.tag_name==="body")K=K||this._tag_stack.try_pop("head");else if(q.tag_name==="li")K=K||this._tag_stack.try_pop("li",["ol","ul","menu"]);else if(q.tag_name==="dd"||q.tag_name==="dt")K=K||this._tag_stack.try_pop("dt",["dl"]),K=K||this._tag_stack.try_pop("dd",["dl"]);else if(q.parent.tag_name==="p"&&oe.indexOf(q.tag_name)!==-1){var se=q.parent.parent;(!se||J.indexOf(se.tag_name)===-1)&&(K=K||this._tag_stack.try_pop("p"))}else q.tag_name==="rp"||q.tag_name==="rt"?(K=K||this._tag_stack.try_pop("rt",["ruby","rtc"]),K=K||this._tag_stack.try_pop("rp",["ruby","rtc"])):q.tag_name==="optgroup"?K=K||this._tag_stack.try_pop("optgroup",["select"]):q.tag_name==="option"?K=K||this._tag_stack.try_pop("option",["select","datalist","optgroup"]):q.tag_name==="colgroup"?K=K||this._tag_stack.try_pop("caption",["table"]):q.tag_name==="thead"?(K=K||this._tag_stack.try_pop("caption",["table"]),K=K||this._tag_stack.try_pop("colgroup",["table"])):q.tag_name==="tbody"||q.tag_name==="tfoot"?(K=K||this._tag_stack.try_pop("caption",["table"]),K=K||this._tag_stack.try_pop("colgroup",["table"]),K=K||this._tag_stack.try_pop("thead",["table"]),K=K||this._tag_stack.try_pop("tbody",["table"])):q.tag_name==="tr"?(K=K||this._tag_stack.try_pop("caption",["table"]),K=K||this._tag_stack.try_pop("colgroup",["table"]),K=K||this._tag_stack.try_pop("tr",["table","thead","tbody","tfoot"])):(q.tag_name==="th"||q.tag_name==="td")&&(K=K||this._tag_stack.try_pop("td",["table","thead","tbody","tfoot","tr"]),K=K||this._tag_stack.try_pop("th",["table","thead","tbody","tfoot","tr"]));return q.parent=this._tag_stack.get_parser_token(),K}},p.exports.Beautifier=ae},function(p,y,_){var b=_(6).Options;function S(k){b.call(this,k,"html"),this.templating.length===1&&this.templating[0]==="auto"&&(this.templating=["django","erb","handlebars","php"]),this.indent_inner_html=this._get_boolean("indent_inner_html"),this.indent_body_inner_html=this._get_boolean("indent_body_inner_html",!0),this.indent_head_inner_html=this._get_boolean("indent_head_inner_html",!0),this.indent_handlebars=this._get_boolean("indent_handlebars",!0),this.wrap_attributes=this._get_selection("wrap_attributes",["auto","force","force-aligned","force-expand-multiline","aligned-multiple","preserve","preserve-aligned"]),this.wrap_attributes_min_attrs=this._get_number("wrap_attributes_min_attrs",2),this.wrap_attributes_indent_size=this._get_number("wrap_attributes_indent_size",this.indent_size),this.extra_liners=this._get_array("extra_liners",["head","body","/html"]),this.inline=this._get_array("inline",["a","abbr","area","audio","b","bdi","bdo","br","button","canvas","cite","code","data","datalist","del","dfn","em","embed","i","iframe","img","input","ins","kbd","keygen","label","map","mark","math","meter","noscript","object","output","progress","q","ruby","s","samp","select","small","span","strong","sub","sup","svg","template","textarea","time","u","var","video","wbr","text","acronym","big","strike","tt"]),this.inline_custom_elements=this._get_boolean("inline_custom_elements",!0),this.void_elements=this._get_array("void_elements",["area","base","br","col","embed","hr","img","input","keygen","link","menuitem","meta","param","source","track","wbr","!doctype","?xml","basefont","isindex"]),this.unformatted=this._get_array("unformatted",[]),this.content_unformatted=this._get_array("content_unformatted",["pre","textarea"]),this.unformatted_content_delimiter=this._get_characters("unformatted_content_delimiter"),this.indent_scripts=this._get_selection("indent_scripts",["normal","keep","separate"])}S.prototype=new b,p.exports.Options=S},function(p,y,_){var b=_(9).Tokenizer,S=_(9).TOKEN,k=_(13).Directives,R=_(14).TemplatablePattern,A=_(12).Pattern,I={TAG_OPEN:"TK_TAG_OPEN",TAG_CLOSE:"TK_TAG_CLOSE",CONTROL_FLOW_OPEN:"TK_CONTROL_FLOW_OPEN",CONTROL_FLOW_CLOSE:"TK_CONTROL_FLOW_CLOSE",ATTRIBUTE:"TK_ATTRIBUTE",EQUALS:"TK_EQUALS",VALUE:"TK_VALUE",COMMENT:"TK_COMMENT",TEXT:"TK_TEXT",UNKNOWN:"TK_UNKNOWN",START:S.START,RAW:S.RAW,EOF:S.EOF},M=new k(/<\!--/,/-->/),B=function(N,V){b.call(this,N,V),this._current_tag_name="";var W=new R(this._input).read_options(this._options),H=new A(this._input);if(this.__patterns={word:W.until(/[\n\r\t <]/),word_control_flow_close_excluded:W.until(/[\n\r\t <}]/),single_quote:W.until_after(/'/),double_quote:W.until_after(/"/),attribute:W.until(/[\n\r\t =>]|\/>/),element_name:W.until(/[\n\r\t >\/]/),angular_control_flow_start:H.matching(/\@[a-zA-Z]+[^({]*[({]/),handlebars_comment:H.starting_with(/{{!--/).until_after(/--}}/),handlebars:H.starting_with(/{{/).until_after(/}}/),handlebars_open:H.until(/[\n\r\t }]/),handlebars_raw_close:H.until(/}}/),comment:H.starting_with(/<!--/).until_after(/-->/),cdata:H.starting_with(/<!\[CDATA\[/).until_after(/]]>/),conditional_comment:H.starting_with(/<!\[/).until_after(/]>/),processing:H.starting_with(/<\?/).until_after(/\?>/)},this._options.indent_handlebars&&(this.__patterns.word=this.__patterns.word.exclude("handlebars"),this.__patterns.word_control_flow_close_excluded=this.__patterns.word_control_flow_close_excluded.exclude("handlebars")),this._unformatted_content_delimiter=null,this._options.unformatted_content_delimiter){var ae=this._input.get_literal_regexp(this._options.unformatted_content_delimiter);this.__patterns.unformatted_content_delimiter=H.matching(ae).until_after(ae)}};B.prototype=new b,B.prototype._is_comment=function(N){return!1},B.prototype._is_opening=function(N){return N.type===I.TAG_OPEN||N.type===I.CONTROL_FLOW_OPEN},B.prototype._is_closing=function(N,V){return N.type===I.TAG_CLOSE&&V&&((N.text===">"||N.text==="/>")&&V.text[0]==="<"||N.text==="}}"&&V.text[0]==="{"&&V.text[1]==="{")||N.type===I.CONTROL_FLOW_CLOSE&&N.text==="}"&&V.text.endsWith("{")},B.prototype._reset=function(){this._current_tag_name=""},B.prototype._get_next_token=function(N,V){var W=null;this._readWhitespace();var H=this._input.peek();return H===null?this._create_token(I.EOF,""):(W=W||this._read_open_handlebars(H,V),W=W||this._read_attribute(H,N,V),W=W||this._read_close(H,V),W=W||this._read_script_and_style(H,N),W=W||this._read_control_flows(H,V),W=W||this._read_raw_content(H,N,V),W=W||this._read_content_word(H,V),W=W||this._read_comment_or_cdata(H),W=W||this._read_processing(H),W=W||this._read_open(H,V),W=W||this._create_token(I.UNKNOWN,this._input.next()),W)},B.prototype._read_comment_or_cdata=function(N){var V=null,W=null,H=null;if(N==="<"){var ae=this._input.peek(1);ae==="!"&&(W=this.__patterns.comment.read(),W?(H=M.get_directives(W),H&&H.ignore==="start"&&(W+=M.readIgnored(this._input))):W=this.__patterns.cdata.read()),W&&(V=this._create_token(I.COMMENT,W),V.directives=H)}return V},B.prototype._read_processing=function(N){var V=null,W=null,H=null;if(N==="<"){var ae=this._input.peek(1);(ae==="!"||ae==="?")&&(W=this.__patterns.conditional_comment.read(),W=W||this.__patterns.processing.read()),W&&(V=this._create_token(I.COMMENT,W),V.directives=H)}return V},B.prototype._read_open=function(N,V){var W=null,H=null;return(!V||V.type===I.CONTROL_FLOW_OPEN)&&N==="<"&&(W=this._input.next(),this._input.peek()==="/"&&(W+=this._input.next()),W+=this.__patterns.element_name.read(),H=this._create_token(I.TAG_OPEN,W)),H},B.prototype._read_open_handlebars=function(N,V){var W=null,H=null;return(!V||V.type===I.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)==="!"?(W=this.__patterns.handlebars_comment.read(),W=W||this.__patterns.handlebars.read(),H=this._create_token(I.COMMENT,W)):(W=this.__patterns.handlebars_open.read(),H=this._create_token(I.TAG_OPEN,W))),H},B.prototype._read_control_flows=function(N,V){var W="",H=null;if(!this._options.templating.includes("angular"))return H;if(N==="@"){if(W=this.__patterns.angular_control_flow_start.read(),W==="")return H;for(var ae=W.endsWith("(")?1:0,ne=0;!(W.endsWith("{")&&ae===ne);){var oe=this._input.next();if(oe===null)break;oe==="("?ae++:oe===")"&&ne++,W+=oe}H=this._create_token(I.CONTROL_FLOW_OPEN,W)}else N==="}"&&V&&V.type===I.CONTROL_FLOW_OPEN&&(W=this._input.next(),H=this._create_token(I.CONTROL_FLOW_CLOSE,W));return H},B.prototype._read_close=function(N,V){var W=null,H=null;return V&&V.type===I.TAG_OPEN&&(V.text[0]==="<"&&(N===">"||N==="/"&&this._input.peek(1)===">")?(W=this._input.next(),N==="/"&&(W+=this._input.next()),H=this._create_token(I.TAG_CLOSE,W)):V.text[0]==="{"&&N==="}"&&this._input.peek(1)==="}"&&(this._input.next(),this._input.next(),H=this._create_token(I.TAG_CLOSE,"}}"))),H},B.prototype._read_attribute=function(N,V,W){var H=null,ae="";if(W&&W.text[0]==="<")if(N==="=")H=this._create_token(I.EQUALS,this._input.next());else if(N==='"'||N==="'"){var ne=this._input.next();N==='"'?ne+=this.__patterns.double_quote.read():ne+=this.__patterns.single_quote.read(),H=this._create_token(I.VALUE,ne)}else ae=this.__patterns.attribute.read(),ae&&(V.type===I.EQUALS?H=this._create_token(I.VALUE,ae):H=this._create_token(I.ATTRIBUTE,ae));return H},B.prototype._is_content_unformatted=function(N){return this._options.void_elements.indexOf(N)===-1&&(this._options.content_unformatted.indexOf(N)!==-1||this._options.unformatted.indexOf(N)!==-1)},B.prototype._read_raw_content=function(N,V,W){var H="";if(W&&W.text[0]==="{")H=this.__patterns.handlebars_raw_close.read();else if(V.type===I.TAG_CLOSE&&V.opened.text[0]==="<"&&V.text[0]!=="/"){var ae=V.opened.text.substr(1).toLowerCase();this._is_content_unformatted(ae)&&(H=this._input.readUntil(new RegExp("</"+ae+"[\\n\\r\\t ]*?>","ig")))}return H?this._create_token(I.TEXT,H):null},B.prototype._read_script_and_style=function(N,V){if(V.type===I.TAG_CLOSE&&V.opened.text[0]==="<"&&V.text[0]!=="/"){var W=V.opened.text.substr(1).toLowerCase();if(W==="script"||W==="style"){var H=this._read_comment_or_cdata(N);if(H)return H.type=I.TEXT,H;var ae=this._input.readUntil(new RegExp("</"+W+"[\\n\\r\\t ]*?>","ig"));if(ae)return this._create_token(I.TEXT,ae)}}return null},B.prototype._read_content_word=function(N,V){var W="";return this._options.unformatted_content_delimiter&&N===this._options.unformatted_content_delimiter[0]&&(W=this.__patterns.unformatted_content_delimiter.read()),W||(W=V&&V.type===I.CONTROL_FLOW_OPEN?this.__patterns.word_control_flow_close_excluded.read():this.__patterns.word.read()),W?this._create_token(I.TEXT,W):null},p.exports.Tokenizer=B,p.exports.TOKEN=I}],u={};function a(p){var y=u[p];if(y!==void 0)return y.exports;var _=u[p]={exports:{}};return h[p](_,_.exports,a),_.exports}var x=a(18);l=x})();var c=l;if(1)r=[e,e(58553),e(87804)],i=function(h){var u=e(58553),a=e(87804);return{html_beautify:function(x,p){return c(x,p,u.js_beautify,a.css_beautify)}}}.apply(v,r),i!==void 0&&(d.exports=i);else var f,o})()},58553:function(d,v){var e,r;(function(){var i;(function(){"use strict";var c=[function(u,a,x){var p=x(1).Beautifier,y=x(5).Options;function _(b,S){var k=new p(b,S);return k.beautify()}u.exports=_,u.exports.defaultOptions=function(){return new y}},function(u,a,x){var p=x(2).Output,y=x(3).Token,_=x(4),b=x(5).Options,S=x(7).Tokenizer,k=x(7).line_starters,R=x(7).positionable_operators,A=x(7).TOKEN;function I($,ie){return ie.indexOf($)!==-1}function M($){return $.replace(/^\s+/g,"")}function B($){for(var ie={},_e=0;_e<$.length;_e++)ie[$[_e].replace(/-/g,"_")]=$[_e];return ie}function N($,ie){return $&&$.type===A.RESERVED&&$.text===ie}function V($,ie){return $&&$.type===A.RESERVED&&I($.text,ie)}var W=["case","return","do","if","throw","else","await","break","continue","async"],H=["before-newline","after-newline","preserve-newline"],ae=B(H),ne=[ae.before_newline,ae.preserve_newline],oe={BlockStatement:"BlockStatement",Statement:"Statement",ObjectLiteral:"ObjectLiteral",ArrayLiteral:"ArrayLiteral",ForInitializer:"ForInitializer",Conditional:"Conditional",Expression:"Expression"};function J($,ie){ie.multiline_frame||ie.mode===oe.ForInitializer||ie.mode===oe.Conditional||$.remove_indent(ie.start_line_index)}function q($){$=$.replace(_.allLineBreaks,`
`);for(var ie=[],_e=$.indexOf(`
`);_e!==-1;)ie.push($.substring(0,_e)),$=$.substring(_e+1),_e=$.indexOf(`
`);return $.length&&ie.push($),ie}function K($){return $===oe.ArrayLiteral}function se($){return I($,[oe.Expression,oe.ForInitializer,oe.Conditional])}function ee($,ie){for(var _e=0;_e<$.length;_e++){var Ae=$[_e].trim();if(Ae.charAt(0)!==ie)return!1}return!0}function Q($,ie){for(var _e=0,Ae=$.length,Pe;_e<Ae;_e++)if(Pe=$[_e],Pe&&Pe.indexOf(ie)!==0)return!1;return!0}function le($,ie){ie=ie||{},this._source_text=$||"",this._output=null,this._tokens=null,this._last_last_text=null,this._flags=null,this._previous_flags=null,this._flag_store=null,this._options=new b(ie)}le.prototype.create_flags=function($,ie){var _e=0;$&&(_e=$.indentation_level,!this._output.just_added_newline()&&$.line_indent_level>_e&&(_e=$.line_indent_level));var Ae={mode:ie,parent:$,last_token:$?$.last_token:new y(A.START_BLOCK,""),last_word:$?$.last_word:"",declaration_statement:!1,declaration_assignment:!1,multiline_frame:!1,inline_frame:!1,if_block:!1,else_block:!1,class_start_block:!1,do_block:!1,do_while:!1,import_block:!1,in_case_statement:!1,in_case:!1,case_body:!1,case_block:!1,indentation_level:_e,alignment:0,line_indent_level:$?$.line_indent_level:_e,start_line_index:this._output.get_line_number(),ternary_depth:0};return Ae},le.prototype._reset=function($){var ie=$.match(/^[\t ]*/)[0];this._last_last_text="",this._output=new p(this._options,ie),this._output.raw=this._options.test_output_raw,this._flag_store=[],this.set_mode(oe.BlockStatement);var _e=new S($,this._options);return this._tokens=_e.tokenize(),$},le.prototype.beautify=function(){if(this._options.disabled)return this._source_text;var $,ie=this._reset(this._source_text),_e=this._options.eol;this._options.eol==="auto"&&(_e=`
`,ie&&_.lineBreak.test(ie||"")&&(_e=ie.match(_.lineBreak)[0]));for(var Ae=this._tokens.next();Ae;)this.handle_token(Ae),this._last_last_text=this._flags.last_token.text,this._flags.last_token=Ae,Ae=this._tokens.next();return $=this._output.get_code(_e),$},le.prototype.handle_token=function($,ie){$.type===A.START_EXPR?this.handle_start_expr($):$.type===A.END_EXPR?this.handle_end_expr($):$.type===A.START_BLOCK?this.handle_start_block($):$.type===A.END_BLOCK?this.handle_end_block($):$.type===A.WORD?this.handle_word($):$.type===A.RESERVED?this.handle_word($):$.type===A.SEMICOLON?this.handle_semicolon($):$.type===A.STRING?this.handle_string($):$.type===A.EQUALS?this.handle_equals($):$.type===A.OPERATOR?this.handle_operator($):$.type===A.COMMA?this.handle_comma($):$.type===A.BLOCK_COMMENT?this.handle_block_comment($,ie):$.type===A.COMMENT?this.handle_comment($,ie):$.type===A.DOT?this.handle_dot($):$.type===A.EOF?this.handle_eof($):$.type===A.UNKNOWN?this.handle_unknown($,ie):this.handle_unknown($,ie)},le.prototype.handle_whitespace_and_comments=function($,ie){var _e=$.newlines,Ae=this._options.keep_array_indentation&&K(this._flags.mode);if($.comments_before)for(var Pe=$.comments_before.next();Pe;)this.handle_whitespace_and_comments(Pe,ie),this.handle_token(Pe,ie),Pe=$.comments_before.next();if(Ae)for(var We=0;We<_e;We+=1)this.print_newline(We>0,ie);else if(this._options.max_preserve_newlines&&_e>this._options.max_preserve_newlines&&(_e=this._options.max_preserve_newlines),this._options.preserve_newlines&&_e>1){this.print_newline(!1,ie);for(var $e=1;$e<_e;$e+=1)this.print_newline(!0,ie)}};var z=["async","break","continue","return","throw","yield"];le.prototype.allow_wrap_or_preserved_newline=function($,ie){if(ie=ie===void 0?!1:ie,!this._output.just_added_newline()){var _e=this._options.preserve_newlines&&$.newlines||ie,Ae=I(this._flags.last_token.text,R)||I($.text,R);if(Ae){var Pe=I(this._flags.last_token.text,R)&&I(this._options.operator_position,ne)||I($.text,R);_e=_e&&Pe}if(_e)this.print_newline(!1,!0);else if(this._options.wrap_line_length){if(V(this._flags.last_token,z))return;this._output.set_wrap_point()}}},le.prototype.print_newline=function($,ie){if(!ie&&this._flags.last_token.text!==";"&&this._flags.last_token.text!==","&&this._flags.last_token.text!=="="&&(this._flags.last_token.type!==A.OPERATOR||this._flags.last_token.text==="--"||this._flags.last_token.text==="++"))for(var _e=this._tokens.peek();this._flags.mode===oe.Statement&&!(this._flags.if_block&&N(_e,"else"))&&!this._flags.do_block;)this.restore_mode();this._output.add_new_line($)&&(this._flags.multiline_frame=!0)},le.prototype.print_token_line_indentation=function($){this._output.just_added_newline()&&(this._options.keep_array_indentation&&$.newlines&&($.text==="["||K(this._flags.mode))?(this._output.current_line.set_indent(-1),this._output.current_line.push($.whitespace_before),this._output.space_before_token=!1):this._output.set_indent(this._flags.indentation_level,this._flags.alignment)&&(this._flags.line_indent_level=this._flags.indentation_level))},le.prototype.print_token=function($){if(this._output.raw){this._output.add_raw_token($);return}if(this._options.comma_first&&$.previous&&$.previous.type===A.COMMA&&this._output.just_added_newline()&&this._output.previous_line.last()===","){var ie=this._output.previous_line.pop();this._output.previous_line.is_empty()&&(this._output.previous_line.push(ie),this._output.trim(!0),this._output.current_line.pop(),this._output.trim()),this.print_token_line_indentation($),this._output.add_token(","),this._output.space_before_token=!0}this.print_token_line_indentation($),this._output.non_breaking_space=!0,this._output.add_token($.text),this._output.previous_token_wrapped&&(this._flags.multiline_frame=!0)},le.prototype.indent=function(){this._flags.indentation_level+=1,this._output.set_indent(this._flags.indentation_level,this._flags.alignment)},le.prototype.deindent=function(){this._flags.indentation_level>0&&(!this._flags.parent||this._flags.indentation_level>this._flags.parent.indentation_level)&&(this._flags.indentation_level-=1,this._output.set_indent(this._flags.indentation_level,this._flags.alignment))},le.prototype.set_mode=function($){this._flags?(this._flag_store.push(this._flags),this._previous_flags=this._flags):this._previous_flags=this.create_flags(null,$),this._flags=this.create_flags(this._previous_flags,$),this._output.set_indent(this._flags.indentation_level,this._flags.alignment)},le.prototype.restore_mode=function(){this._flag_store.length>0&&(this._previous_flags=this._flags,this._flags=this._flag_store.pop(),this._previous_flags.mode===oe.Statement&&J(this._output,this._previous_flags),this._output.set_indent(this._flags.indentation_level,this._flags.alignment))},le.prototype.start_of_object_property=function(){return this._flags.parent.mode===oe.ObjectLiteral&&this._flags.mode===oe.Statement&&(this._flags.last_token.text===":"&&this._flags.ternary_depth===0||V(this._flags.last_token,["get","set"]))},le.prototype.start_of_statement=function($){var ie=!1;return ie=ie||V(this._flags.last_token,["var","let","const"])&&$.type===A.WORD,ie=ie||N(this._flags.last_token,"do"),ie=ie||!(this._flags.parent.mode===oe.ObjectLiteral&&this._flags.mode===oe.Statement)&&V(this._flags.last_token,z)&&!$.newlines,ie=ie||N(this._flags.last_token,"else")&&!(N($,"if")&&!$.comments_before),ie=ie||this._flags.last_token.type===A.END_EXPR&&(this._previous_flags.mode===oe.ForInitializer||this._previous_flags.mode===oe.Conditional),ie=ie||this._flags.last_token.type===A.WORD&&this._flags.mode===oe.BlockStatement&&!this._flags.in_case&&!($.text==="--"||$.text==="++")&&this._last_last_text!=="function"&&$.type!==A.WORD&&$.type!==A.RESERVED,ie=ie||this._flags.mode===oe.ObjectLiteral&&(this._flags.last_token.text===":"&&this._flags.ternary_depth===0||V(this._flags.last_token,["get","set"])),ie?(this.set_mode(oe.Statement),this.indent(),this.handle_whitespace_and_comments($,!0),this.start_of_object_property()||this.allow_wrap_or_preserved_newline($,V($,["do","for","if","while"])),!0):!1},le.prototype.handle_start_expr=function($){this.start_of_statement($)||this.handle_whitespace_and_comments($);var ie=oe.Expression;if($.text==="["){if(this._flags.last_token.type===A.WORD||this._flags.last_token.text===")"){V(this._flags.last_token,k)&&(this._output.space_before_token=!0),this.print_token($),this.set_mode(ie),this.indent(),this._options.space_in_paren&&(this._output.space_before_token=!0);return}ie=oe.ArrayLiteral,K(this._flags.mode)&&(this._flags.last_token.text==="["||this._flags.last_token.text===","&&(this._last_last_text==="]"||this._last_last_text==="}"))&&(this._options.keep_array_indentation||this.print_newline()),I(this._flags.last_token.type,[A.START_EXPR,A.END_EXPR,A.WORD,A.OPERATOR,A.DOT])||(this._output.space_before_token=!0)}else{if(this._flags.last_token.type===A.RESERVED)this._flags.last_token.text==="for"?(this._output.space_before_token=this._options.space_before_conditional,ie=oe.ForInitializer):I(this._flags.last_token.text,["if","while","switch"])?(this._output.space_before_token=this._options.space_before_conditional,ie=oe.Conditional):I(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:(I(this._flags.last_token.text,k)||this._flags.last_token.text==="catch")&&(this._output.space_before_token=!0);else if(this._flags.last_token.type===A.EQUALS||this._flags.last_token.type===A.OPERATOR)this.start_of_object_property()||this.allow_wrap_or_preserved_newline($);else if(this._flags.last_token.type===A.WORD){this._output.space_before_token=!1;var _e=this._tokens.peek(-3);if(this._options.space_after_named_function&&_e){var Ae=this._tokens.peek(-4);V(_e,["async","function"])||_e.text==="*"&&V(Ae,["async","function"])?this._output.space_before_token=!0:this._flags.mode===oe.ObjectLiteral?(_e.text==="{"||_e.text===","||_e.text==="*"&&(Ae.text==="{"||Ae.text===","))&&(this._output.space_before_token=!0):this._flags.parent&&this._flags.parent.class_start_block&&(this._output.space_before_token=!0)}}else this.allow_wrap_or_preserved_newline($);(this._flags.last_token.type===A.RESERVED&&(this._flags.last_word==="function"||this._flags.last_word==="typeof")||this._flags.last_token.text==="*"&&(I(this._last_last_text,["function","yield"])||this._flags.mode===oe.ObjectLiteral&&I(this._last_last_text,["{",","])))&&(this._output.space_before_token=this._options.space_after_anon_function)}this._flags.last_token.text===";"||this._flags.last_token.type===A.START_BLOCK?this.print_newline():(this._flags.last_token.type===A.END_EXPR||this._flags.last_token.type===A.START_EXPR||this._flags.last_token.type===A.END_BLOCK||this._flags.last_token.text==="."||this._flags.last_token.type===A.COMMA)&&this.allow_wrap_or_preserved_newline($,$.newlines),this.print_token($),this.set_mode(ie),this._options.space_in_paren&&(this._output.space_before_token=!0),this.indent()},le.prototype.handle_end_expr=function($){for(;this._flags.mode===oe.Statement;)this.restore_mode();this.handle_whitespace_and_comments($),this._flags.multiline_frame&&this.allow_wrap_or_preserved_newline($,$.text==="]"&&K(this._flags.mode)&&!this._options.keep_array_indentation),this._options.space_in_paren&&(this._flags.last_token.type===A.START_EXPR&&!this._options.space_in_empty_paren?(this._output.trim(),this._output.space_before_token=!1):this._output.space_before_token=!0),this.deindent(),this.print_token($),this.restore_mode(),J(this._output,this._previous_flags),this._flags.do_while&&this._previous_flags.mode===oe.Conditional&&(this._previous_flags.mode=oe.Expression,this._flags.do_block=!1,this._flags.do_while=!1)},le.prototype.handle_start_block=function($){this.handle_whitespace_and_comments($);var ie=this._tokens.peek(),_e=this._tokens.peek(1);this._flags.last_word==="switch"&&this._flags.last_token.type===A.END_EXPR?(this.set_mode(oe.BlockStatement),this._flags.in_case_statement=!0):this._flags.case_body?this.set_mode(oe.BlockStatement):_e&&(I(_e.text,[":",","])&&I(ie.type,[A.STRING,A.WORD,A.RESERVED])||I(ie.text,["get","set","..."])&&I(_e.type,[A.WORD,A.RESERVED]))?I(this._last_last_text,["class","interface"])&&!I(_e.text,[":",","])?this.set_mode(oe.BlockStatement):this.set_mode(oe.ObjectLiteral):this._flags.last_token.type===A.OPERATOR&&this._flags.last_token.text==="=>"?this.set_mode(oe.BlockStatement):I(this._flags.last_token.type,[A.EQUALS,A.START_EXPR,A.COMMA,A.OPERATOR])||V(this._flags.last_token,["return","throw","import","default"])?this.set_mode(oe.ObjectLiteral):this.set_mode(oe.BlockStatement),this._flags.last_token&&V(this._flags.last_token.previous,["class","extends"])&&(this._flags.class_start_block=!0);var Ae=!ie.comments_before&&ie.text==="}",Pe=Ae&&this._flags.last_word==="function"&&this._flags.last_token.type===A.END_EXPR;if(this._options.brace_preserve_inline){var We=0,$e=null;this._flags.inline_frame=!0;do if(We+=1,$e=this._tokens.peek(We-1),$e.newlines){this._flags.inline_frame=!1;break}while($e.type!==A.EOF&&!($e.type===A.END_BLOCK&&$e.opened===$))}(this._options.brace_style==="expand"||this._options.brace_style==="none"&&$.newlines)&&!this._flags.inline_frame?this._flags.last_token.type!==A.OPERATOR&&(Pe||this._flags.last_token.type===A.EQUALS||V(this._flags.last_token,W)&&this._flags.last_token.text!=="else")?this._output.space_before_token=!0:this.print_newline(!1,!0):(K(this._previous_flags.mode)&&(this._flags.last_token.type===A.START_EXPR||this._flags.last_token.type===A.COMMA)&&((this._flags.last_token.type===A.COMMA||this._options.space_in_paren)&&(this._output.space_before_token=!0),(this._flags.last_token.type===A.COMMA||this._flags.last_token.type===A.START_EXPR&&this._flags.inline_frame)&&(this.allow_wrap_or_preserved_newline($),this._previous_flags.multiline_frame=this._previous_flags.multiline_frame||this._flags.multiline_frame,this._flags.multiline_frame=!1)),this._flags.last_token.type!==A.OPERATOR&&this._flags.last_token.type!==A.START_EXPR&&(I(this._flags.last_token.type,[A.START_BLOCK,A.SEMICOLON])&&!this._flags.inline_frame?this.print_newline():this._output.space_before_token=!0)),this.print_token($),this.indent(),!Ae&&!(this._options.brace_preserve_inline&&this._flags.inline_frame)&&this.print_newline()},le.prototype.handle_end_block=function($){for(this.handle_whitespace_and_comments($);this._flags.mode===oe.Statement;)this.restore_mode();var ie=this._flags.last_token.type===A.START_BLOCK;this._flags.inline_frame&&!ie?this._output.space_before_token=!0:this._options.brace_style==="expand"?ie||this.print_newline():ie||(K(this._flags.mode)&&this._options.keep_array_indentation?(this._options.keep_array_indentation=!1,this.print_newline(),this._options.keep_array_indentation=!0):this.print_newline()),this.restore_mode(),this.print_token($)},le.prototype.handle_word=function($){if($.type===A.RESERVED){if(I($.text,["set","get"])&&this._flags.mode!==oe.ObjectLiteral)$.type=A.WORD;else if($.text==="import"&&I(this._tokens.peek().text,["(","."]))$.type=A.WORD;else if(I($.text,["as","from"])&&!this._flags.import_block)$.type=A.WORD;else if(this._flags.mode===oe.ObjectLiteral){var ie=this._tokens.peek();ie.text===":"&&($.type=A.WORD)}}if(this.start_of_statement($)?V(this._flags.last_token,["var","let","const"])&&$.type===A.WORD&&(this._flags.declaration_statement=!0):$.newlines&&!se(this._flags.mode)&&(this._flags.last_token.type!==A.OPERATOR||this._flags.last_token.text==="--"||this._flags.last_token.text==="++")&&this._flags.last_token.type!==A.EQUALS&&(this._options.preserve_newlines||!V(this._flags.last_token,["var","let","const","set","get"]))?(this.handle_whitespace_and_comments($),this.print_newline()):this.handle_whitespace_and_comments($),this._flags.do_block&&!this._flags.do_while)if(N($,"while")){this._output.space_before_token=!0,this.print_token($),this._output.space_before_token=!0,this._flags.do_while=!0;return}else this.print_newline(),this._flags.do_block=!1;if(this._flags.if_block)if(!this._flags.else_block&&N($,"else"))this._flags.else_block=!0;else{for(;this._flags.mode===oe.Statement;)this.restore_mode();this._flags.if_block=!1,this._flags.else_block=!1}if(this._flags.in_case_statement&&V($,["case","default"])){this.print_newline(),!this._flags.case_block&&(this._flags.case_body||this._options.jslint_happy)&&this.deindent(),this._flags.case_body=!1,this.print_token($),this._flags.in_case=!0;return}if((this._flags.last_token.type===A.COMMA||this._flags.last_token.type===A.START_EXPR||this._flags.last_token.type===A.EQUALS||this._flags.last_token.type===A.OPERATOR)&&!this.start_of_object_property()&&!(I(this._flags.last_token.text,["+","-"])&&this._last_last_text===":"&&this._flags.parent.mode===oe.ObjectLiteral)&&this.allow_wrap_or_preserved_newline($),N($,"function")){(I(this._flags.last_token.text,["}",";"])||this._output.just_added_newline()&&!(I(this._flags.last_token.text,["(","[","{",":","=",","])||this._flags.last_token.type===A.OPERATOR))&&!this._output.just_added_blankline()&&!$.comments_before&&(this.print_newline(),this.print_newline(!0)),this._flags.last_token.type===A.RESERVED||this._flags.last_token.type===A.WORD?V(this._flags.last_token,["get","set","new","export"])||V(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===A.OPERATOR||this._flags.last_token.text==="="?this._output.space_before_token=!0:!this._flags.multiline_frame&&(se(this._flags.mode)||K(this._flags.mode))||this.print_newline(),this.print_token($),this._flags.last_word=$.text;return}var _e="NONE";if(this._flags.last_token.type===A.END_BLOCK?this._previous_flags.inline_frame?_e="SPACE":V($,["else","catch","finally","from"])?this._options.brace_style==="expand"||this._options.brace_style==="end-expand"||this._options.brace_style==="none"&&$.newlines?_e="NEWLINE":(_e="SPACE",this._output.space_before_token=!0):_e="NEWLINE":this._flags.last_token.type===A.SEMICOLON&&this._flags.mode===oe.BlockStatement?_e="NEWLINE":this._flags.last_token.type===A.SEMICOLON&&se(this._flags.mode)?_e="SPACE":this._flags.last_token.type===A.STRING?_e="NEWLINE":this._flags.last_token.type===A.RESERVED||this._flags.last_token.type===A.WORD||this._flags.last_token.text==="*"&&(I(this._last_last_text,["function","yield"])||this._flags.mode===oe.ObjectLiteral&&I(this._last_last_text,["{",","]))?_e="SPACE":this._flags.last_token.type===A.START_BLOCK?this._flags.inline_frame?_e="SPACE":_e="NEWLINE":this._flags.last_token.type===A.END_EXPR&&(this._output.space_before_token=!0,_e="NEWLINE"),V($,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"),V($,["else","catch","finally"]))if((!(this._flags.last_token.type===A.END_BLOCK&&this._previous_flags.mode===oe.BlockStatement)||this._options.brace_style==="expand"||this._options.brace_style==="end-expand"||this._options.brace_style==="none"&&$.newlines)&&!this._flags.inline_frame)this.print_newline();else{this._output.trim(!0);var Ae=this._output.current_line;Ae.last()!=="}"&&this.print_newline(),this._output.space_before_token=!0}else _e==="NEWLINE"?V(this._flags.last_token,W)?this._output.space_before_token=!0:this._flags.last_token.text==="declare"&&V($,["var","let","const"])?this._output.space_before_token=!0:this._flags.last_token.type!==A.END_EXPR?(this._flags.last_token.type!==A.START_EXPR||!V($,["var","let","const"]))&&this._flags.last_token.text!==":"&&(N($,"if")&&N($.previous,"else")?this._output.space_before_token=!0:this.print_newline()):V($,k)&&this._flags.last_token.text!==")"&&this.print_newline():this._flags.multiline_frame&&K(this._flags.mode)&&this._flags.last_token.text===","&&this._last_last_text==="}"?this.print_newline():_e==="SPACE"&&(this._output.space_before_token=!0);$.previous&&($.previous.type===A.WORD||$.previous.type===A.RESERVED)&&(this._output.space_before_token=!0),this.print_token($),this._flags.last_word=$.text,$.type===A.RESERVED&&($.text==="do"?this._flags.do_block=!0:$.text==="if"?this._flags.if_block=!0:$.text==="import"?this._flags.import_block=!0:this._flags.import_block&&N($,"from")&&(this._flags.import_block=!1))},le.prototype.handle_semicolon=function($){this.start_of_statement($)?this._output.space_before_token=!1:this.handle_whitespace_and_comments($);for(var ie=this._tokens.peek();this._flags.mode===oe.Statement&&!(this._flags.if_block&&N(ie,"else"))&&!this._flags.do_block;)this.restore_mode();this._flags.import_block&&(this._flags.import_block=!1),this.print_token($)},le.prototype.handle_string=function($){$.text.startsWith("`")&&$.newlines===0&&$.whitespace_before===""&&($.previous.text===")"||this._flags.last_token.type===A.WORD)||(this.start_of_statement($)?this._output.space_before_token=!0:(this.handle_whitespace_and_comments($),this._flags.last_token.type===A.RESERVED||this._flags.last_token.type===A.WORD||this._flags.inline_frame?this._output.space_before_token=!0:this._flags.last_token.type===A.COMMA||this._flags.last_token.type===A.START_EXPR||this._flags.last_token.type===A.EQUALS||this._flags.last_token.type===A.OPERATOR?this.start_of_object_property()||this.allow_wrap_or_preserved_newline($):$.text.startsWith("`")&&this._flags.last_token.type===A.END_EXPR&&($.previous.text==="]"||$.previous.text===")")&&$.newlines===0?this._output.space_before_token=!0:this.print_newline())),this.print_token($)},le.prototype.handle_equals=function($){this.start_of_statement($)||this.handle_whitespace_and_comments($),this._flags.declaration_statement&&(this._flags.declaration_assignment=!0),this._output.space_before_token=!0,this.print_token($),this._output.space_before_token=!0},le.prototype.handle_comma=function($){this.handle_whitespace_and_comments($,!0),this.print_token($),this._output.space_before_token=!0,this._flags.declaration_statement?(se(this._flags.parent.mode)&&(this._flags.declaration_assignment=!1),this._flags.declaration_assignment?(this._flags.declaration_assignment=!1,this.print_newline(!1,!0)):this._options.comma_first&&this.allow_wrap_or_preserved_newline($)):this._flags.mode===oe.ObjectLiteral||this._flags.mode===oe.Statement&&this._flags.parent.mode===oe.ObjectLiteral?(this._flags.mode===oe.Statement&&this.restore_mode(),this._flags.inline_frame||this.print_newline()):this._options.comma_first&&this.allow_wrap_or_preserved_newline($)},le.prototype.handle_operator=function($){var ie=$.text==="*"&&(V(this._flags.last_token,["function","yield"])||I(this._flags.last_token.type,[A.START_BLOCK,A.COMMA,A.END_BLOCK,A.SEMICOLON])),_e=I($.text,["-","+"])&&(I(this._flags.last_token.type,[A.START_BLOCK,A.START_EXPR,A.EQUALS,A.OPERATOR])||I(this._flags.last_token.text,k)||this._flags.last_token.text===",");if(!this.start_of_statement($)){var Ae=!ie;this.handle_whitespace_and_comments($,Ae)}if($.text==="*"&&this._flags.last_token.type===A.DOT){this.print_token($);return}if($.text==="::"){this.print_token($);return}if(I($.text,["-","+"])&&this.start_of_object_property()){this.print_token($);return}if(this._flags.last_token.type===A.OPERATOR&&I(this._options.operator_position,ne)&&this.allow_wrap_or_preserved_newline($),$.text===":"&&this._flags.in_case){this.print_token($),this._flags.in_case=!1,this._flags.case_body=!0,this._tokens.peek().type!==A.START_BLOCK?(this.indent(),this.print_newline(),this._flags.case_block=!1):(this._flags.case_block=!0,this._output.space_before_token=!0);return}var Pe=!0,We=!0,$e=!1;if($.text===":"?this._flags.ternary_depth===0?Pe=!1:(this._flags.ternary_depth-=1,$e=!0):$.text==="?"&&(this._flags.ternary_depth+=1),!_e&&!ie&&this._options.preserve_newlines&&I($.text,R)){var Lt=$.text===":",bt=Lt&&$e,kt=Lt&&!$e;switch(this._options.operator_position){case ae.before_newline:this._output.space_before_token=!kt,this.print_token($),(!Lt||bt)&&this.allow_wrap_or_preserved_newline($),this._output.space_before_token=!0;return;case ae.after_newline:this._output.space_before_token=!0,!Lt||bt?this._tokens.peek().newlines?this.print_newline(!1,!0):this.allow_wrap_or_preserved_newline($):this._output.space_before_token=!1,this.print_token($),this._output.space_before_token=!0;return;case ae.preserve_newline:kt||this.allow_wrap_or_preserved_newline($),Pe=!(this._output.just_added_newline()||kt),this._output.space_before_token=Pe,this.print_token($),this._output.space_before_token=!0;return}}if(ie){this.allow_wrap_or_preserved_newline($),Pe=!1;var Zt=this._tokens.peek();We=Zt&&I(Zt.type,[A.WORD,A.RESERVED])}else if($.text==="...")this.allow_wrap_or_preserved_newline($),Pe=this._flags.last_token.type===A.START_BLOCK,We=!1;else if(I($.text,["--","++","!","~"])||_e){if((this._flags.last_token.type===A.COMMA||this._flags.last_token.type===A.START_EXPR)&&this.allow_wrap_or_preserved_newline($),Pe=!1,We=!1,$.newlines&&($.text==="--"||$.text==="++"||$.text==="~")){var Mt=V(this._flags.last_token,W)&&$.newlines;Mt&&(this._previous_flags.if_block||this._previous_flags.else_block)&&this.restore_mode(),this.print_newline(Mt,!0)}this._flags.last_token.text===";"&&se(this._flags.mode)&&(Pe=!0),this._flags.last_token.type===A.RESERVED?Pe=!0:this._flags.last_token.type===A.END_EXPR?Pe=!(this._flags.last_token.text==="]"&&($.text==="--"||$.text==="++")):this._flags.last_token.type===A.OPERATOR&&(Pe=I($.text,["--","-","++","+"])&&I(this._flags.last_token.text,["--","-","++","+"]),I($.text,["+","-"])&&I(this._flags.last_token.text,["--","++"])&&(We=!0)),(this._flags.mode===oe.BlockStatement&&!this._flags.inline_frame||this._flags.mode===oe.Statement)&&(this._flags.last_token.text==="{"||this._flags.last_token.text===";")&&this.print_newline()}this._output.space_before_token=this._output.space_before_token||Pe,this.print_token($),this._output.space_before_token=We},le.prototype.handle_block_comment=function($,ie){if(this._output.raw){this._output.add_raw_token($),$.directives&&$.directives.preserve==="end"&&(this._output.raw=this._options.test_output_raw);return}if($.directives){this.print_newline(!1,ie),this.print_token($),$.directives.preserve==="start"&&(this._output.raw=!0),this.print_newline(!1,!0);return}if(!_.newline.test($.text)&&!$.newlines){this._output.space_before_token=!0,this.print_token($),this._output.space_before_token=!0;return}else this.print_block_commment($,ie)},le.prototype.print_block_commment=function($,ie){var _e=q($.text),Ae,Pe=!1,We=!1,$e=$.whitespace_before,Lt=$e.length;if(this.print_newline(!1,ie),this.print_token_line_indentation($),this._output.add_token(_e[0]),this.print_newline(!1,ie),_e.length>1){for(_e=_e.slice(1),Pe=ee(_e,"*"),We=Q(_e,$e),Pe&&(this._flags.alignment=1),Ae=0;Ae<_e.length;Ae++)Pe?(this.print_token_line_indentation($),this._output.add_token(M(_e[Ae]))):We&&_e[Ae]?(this.print_token_line_indentation($),this._output.add_token(_e[Ae].substring(Lt))):(this._output.current_line.set_indent(-1),this._output.add_token(_e[Ae])),this.print_newline(!1,ie);this._flags.alignment=0}},le.prototype.handle_comment=function($,ie){$.newlines?this.print_newline(!1,ie):this._output.trim(!0),this._output.space_before_token=!0,this.print_token($),this.print_newline(!1,ie)},le.prototype.handle_dot=function($){this.start_of_statement($)||this.handle_whitespace_and_comments($,!0),this._flags.last_token.text.match("^[0-9]+$")&&(this._output.space_before_token=!0),V(this._flags.last_token,W)?this._output.space_before_token=!1:this.allow_wrap_or_preserved_newline($,this._flags.last_token.text===")"&&this._options.break_chained_methods),this._options.unindent_chained_methods&&this._output.just_added_newline()&&this.deindent(),this.print_token($)},le.prototype.handle_unknown=function($,ie){this.print_token($),$.text[$.text.length-1]===`
`&&this.print_newline(!1,ie)},le.prototype.handle_eof=function($){for(;this._flags.mode===oe.Statement;)this.restore_mode();this.handle_whitespace_and_comments($)},u.exports.Beautifier=le},function(u){function a(y){this.__parent=y,this.__character_count=0,this.__indent_count=-1,this.__alignment_count=0,this.__wrap_point_index=0,this.__wrap_point_character_count=0,this.__wrap_point_indent_count=-1,this.__wrap_point_alignment_count=0,this.__items=[]}a.prototype.clone_empty=function(){var y=new a(this.__parent);return y.set_indent(this.__indent_count,this.__alignment_count),y},a.prototype.item=function(y){return y<0?this.__items[this.__items.length+y]:this.__items[y]},a.prototype.has_match=function(y){for(var _=this.__items.length-1;_>=0;_--)if(this.__items[_].match(y))return!0;return!1},a.prototype.set_indent=function(y,_){this.is_empty()&&(this.__indent_count=y||0,this.__alignment_count=_||0,this.__character_count=this.__parent.get_indent_size(this.__indent_count,this.__alignment_count))},a.prototype._set_wrap_point=function(){this.__parent.wrap_line_length&&(this.__wrap_point_index=this.__items.length,this.__wrap_point_character_count=this.__character_count,this.__wrap_point_indent_count=this.__parent.next_line.__indent_count,this.__wrap_point_alignment_count=this.__parent.next_line.__alignment_count)},a.prototype._should_wrap=function(){return this.__wrap_point_index&&this.__character_count>this.__parent.wrap_line_length&&this.__wrap_point_character_count>this.__parent.next_line.__character_count},a.prototype._allow_wrap=function(){if(this._should_wrap()){this.__parent.add_new_line();var y=this.__parent.current_line;return y.set_indent(this.__wrap_point_indent_count,this.__wrap_point_alignment_count),y.__items=this.__items.slice(this.__wrap_point_index),this.__items=this.__items.slice(0,this.__wrap_point_index),y.__character_count+=this.__character_count-this.__wrap_point_character_count,this.__character_count=this.__wrap_point_character_count,y.__items[0]===" "&&(y.__items.splice(0,1),y.__character_count-=1),!0}return!1},a.prototype.is_empty=function(){return this.__items.length===0},a.prototype.last=function(){return this.is_empty()?null:this.__items[this.__items.length-1]},a.prototype.push=function(y){this.__items.push(y);var _=y.lastIndexOf(`
`);_!==-1?this.__character_count=y.length-_:this.__character_count+=y.length},a.prototype.pop=function(){var y=null;return this.is_empty()||(y=this.__items.pop(),this.__character_count-=y.length),y},a.prototype._remove_indent=function(){this.__indent_count>0&&(this.__indent_count-=1,this.__character_count-=this.__parent.indent_size)},a.prototype._remove_wrap_indent=function(){this.__wrap_point_indent_count>0&&(this.__wrap_point_indent_count-=1)},a.prototype.trim=function(){for(;this.last()===" ";)this.__items.pop(),this.__character_count-=1},a.prototype.toString=function(){var y="";return this.is_empty()?this.__parent.indent_empty_lines&&(y=this.__parent.get_indent_string(this.__indent_count)):(y=this.__parent.get_indent_string(this.__indent_count,this.__alignment_count),y+=this.__items.join("")),y};function x(y,_){this.__cache=[""],this.__indent_size=y.indent_size,this.__indent_string=y.indent_char,y.indent_with_tabs||(this.__indent_string=new Array(y.indent_size+1).join(y.indent_char)),_=_||"",y.indent_level>0&&(_=new Array(y.indent_level+1).join(this.__indent_string)),this.__base_string=_,this.__base_string_length=_.length}x.prototype.get_indent_size=function(y,_){var b=this.__base_string_length;return _=_||0,y<0&&(b=0),b+=y*this.__indent_size,b+=_,b},x.prototype.get_indent_string=function(y,_){var b=this.__base_string;return _=_||0,y<0&&(y=0,b=""),_+=y*this.__indent_size,this.__ensure_cache(_),b+=this.__cache[_],b},x.prototype.__ensure_cache=function(y){for(;y>=this.__cache.length;)this.__add_column()},x.prototype.__add_column=function(){var y=this.__cache.length,_=0,b="";this.__indent_size&&y>=this.__indent_size&&(_=Math.floor(y/this.__indent_size),y-=_*this.__indent_size,b=new Array(_+1).join(this.__indent_string)),y&&(b+=new Array(y+1).join(" ")),this.__cache.push(b)};function p(y,_){this.__indent_cache=new x(y,_),this.raw=!1,this._end_with_newline=y.end_with_newline,this.indent_size=y.indent_size,this.wrap_line_length=y.wrap_line_length,this.indent_empty_lines=y.indent_empty_lines,this.__lines=[],this.previous_line=null,this.current_line=null,this.next_line=new a(this),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=!1,this.__add_outputline()}p.prototype.__add_outputline=function(){this.previous_line=this.current_line,this.current_line=this.next_line.clone_empty(),this.__lines.push(this.current_line)},p.prototype.get_line_number=function(){return this.__lines.length},p.prototype.get_indent_string=function(y,_){return this.__indent_cache.get_indent_string(y,_)},p.prototype.get_indent_size=function(y,_){return this.__indent_cache.get_indent_size(y,_)},p.prototype.is_empty=function(){return!this.previous_line&&this.current_line.is_empty()},p.prototype.add_new_line=function(y){return this.is_empty()||!y&&this.just_added_newline()?!1:(this.raw||this.__add_outputline(),!0)},p.prototype.get_code=function(y){this.trim(!0);var _=this.current_line.pop();_&&(_[_.length-1]===`
`&&(_=_.replace(/\n+$/g,"")),this.current_line.push(_)),this._end_with_newline&&this.__add_outputline();var b=this.__lines.join(`
`);return y!==`
`&&(b=b.replace(/[\n]/g,y)),b},p.prototype.set_wrap_point=function(){this.current_line._set_wrap_point()},p.prototype.set_indent=function(y,_){return y=y||0,_=_||0,this.next_line.set_indent(y,_),this.__lines.length>1?(this.current_line.set_indent(y,_),!0):(this.current_line.set_indent(),!1)},p.prototype.add_raw_token=function(y){for(var _=0;_<y.newlines;_++)this.__add_outputline();this.current_line.set_indent(-1),this.current_line.push(y.whitespace_before),this.current_line.push(y.text),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=!1},p.prototype.add_token=function(y){this.__add_space_before_token(),this.current_line.push(y),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=this.current_line._allow_wrap()},p.prototype.__add_space_before_token=function(){this.space_before_token&&!this.just_added_newline()&&(this.non_breaking_space||this.set_wrap_point(),this.current_line.push(" "))},p.prototype.remove_indent=function(y){for(var _=this.__lines.length;y<_;)this.__lines[y]._remove_indent(),y++;this.current_line._remove_wrap_indent()},p.prototype.trim=function(y){for(y=y===void 0?!1:y,this.current_line.trim();y&&this.__lines.length>1&&this.current_line.is_empty();)this.__lines.pop(),this.current_line=this.__lines[this.__lines.length-1],this.current_line.trim();this.previous_line=this.__lines.length>1?this.__lines[this.__lines.length-2]:null},p.prototype.just_added_newline=function(){return this.current_line.is_empty()},p.prototype.just_added_blankline=function(){return this.is_empty()||this.current_line.is_empty()&&this.previous_line.is_empty()},p.prototype.ensure_empty_line_above=function(y,_){for(var b=this.__lines.length-2;b>=0;){var S=this.__lines[b];if(S.is_empty())break;if(S.item(0).indexOf(y)!==0&&S.item(-1)!==_){this.__lines.splice(b+1,0,new a(this)),this.previous_line=this.__lines[this.__lines.length-2];break}b--}},u.exports.Output=p},function(u){function a(x,p,y,_){this.type=x,this.text=p,this.comments_before=null,this.newlines=y||0,this.whitespace_before=_||"",this.parent=null,this.next=null,this.previous=null,this.opened=null,this.closed=null,this.directives=null}u.exports.Token=a},function(u,a){var x="\\x23\\x24\\x40\\x41-\\x5a\\x5f\\x61-\\x7a",p="\\x24\\x30-\\x39\\x41-\\x5a\\x5f\\x61-\\x7a",y="\\xaa\\xb5\\xba\\xc0-\\xd6\\xd8-\\xf6\\xf8-\\u02c1\\u02c6-\\u02d1\\u02e0-\\u02e4\\u02ec\\u02ee\\u0370-\\u0374\\u0376\\u0377\\u037a-\\u037d\\u0386\\u0388-\\u038a\\u038c\\u038e-\\u03a1\\u03a3-\\u03f5\\u03f7-\\u0481\\u048a-\\u0527\\u0531-\\u0556\\u0559\\u0561-\\u0587\\u05d0-\\u05ea\\u05f0-\\u05f2\\u0620-\\u064a\\u066e\\u066f\\u0671-\\u06d3\\u06d5\\u06e5\\u06e6\\u06ee\\u06ef\\u06fa-\\u06fc\\u06ff\\u0710\\u0712-\\u072f\\u074d-\\u07a5\\u07b1\\u07ca-\\u07ea\\u07f4\\u07f5\\u07fa\\u0800-\\u0815\\u081a\\u0824\\u0828\\u0840-\\u0858\\u08a0\\u08a2-\\u08ac\\u0904-\\u0939\\u093d\\u0950\\u0958-\\u0961\\u0971-\\u0977\\u0979-\\u097f\\u0985-\\u098c\\u098f\\u0990\\u0993-\\u09a8\\u09aa-\\u09b0\\u09b2\\u09b6-\\u09b9\\u09bd\\u09ce\\u09dc\\u09dd\\u09df-\\u09e1\\u09f0\\u09f1\\u0a05-\\u0a0a\\u0a0f\\u0a10\\u0a13-\\u0a28\\u0a2a-\\u0a30\\u0a32\\u0a33\\u0a35\\u0a36\\u0a38\\u0a39\\u0a59-\\u0a5c\\u0a5e\\u0a72-\\u0a74\\u0a85-\\u0a8d\\u0a8f-\\u0a91\\u0a93-\\u0aa8\\u0aaa-\\u0ab0\\u0ab2\\u0ab3\\u0ab5-\\u0ab9\\u0abd\\u0ad0\\u0ae0\\u0ae1\\u0b05-\\u0b0c\\u0b0f\\u0b10\\u0b13-\\u0b28\\u0b2a-\\u0b30\\u0b32\\u0b33\\u0b35-\\u0b39\\u0b3d\\u0b5c\\u0b5d\\u0b5f-\\u0b61\\u0b71\\u0b83\\u0b85-\\u0b8a\\u0b8e-\\u0b90\\u0b92-\\u0b95\\u0b99\\u0b9a\\u0b9c\\u0b9e\\u0b9f\\u0ba3\\u0ba4\\u0ba8-\\u0baa\\u0bae-\\u0bb9\\u0bd0\\u0c05-\\u0c0c\\u0c0e-\\u0c10\\u0c12-\\u0c28\\u0c2a-\\u0c33\\u0c35-\\u0c39\\u0c3d\\u0c58\\u0c59\\u0c60\\u0c61\\u0c85-\\u0c8c\\u0c8e-\\u0c90\\u0c92-\\u0ca8\\u0caa-\\u0cb3\\u0cb5-\\u0cb9\\u0cbd\\u0cde\\u0ce0\\u0ce1\\u0cf1\\u0cf2\\u0d05-\\u0d0c\\u0d0e-\\u0d10\\u0d12-\\u0d3a\\u0d3d\\u0d4e\\u0d60\\u0d61\\u0d7a-\\u0d7f\\u0d85-\\u0d96\\u0d9a-\\u0db1\\u0db3-\\u0dbb\\u0dbd\\u0dc0-\\u0dc6\\u0e01-\\u0e30\\u0e32\\u0e33\\u0e40-\\u0e46\\u0e81\\u0e82\\u0e84\\u0e87\\u0e88\\u0e8a\\u0e8d\\u0e94-\\u0e97\\u0e99-\\u0e9f\\u0ea1-\\u0ea3\\u0ea5\\u0ea7\\u0eaa\\u0eab\\u0ead-\\u0eb0\\u0eb2\\u0eb3\\u0ebd\\u0ec0-\\u0ec4\\u0ec6\\u0edc-\\u0edf\\u0f00\\u0f40-\\u0f47\\u0f49-\\u0f6c\\u0f88-\\u0f8c\\u1000-\\u102a\\u103f\\u1050-\\u1055\\u105a-\\u105d\\u1061\\u1065\\u1066\\u106e-\\u1070\\u1075-\\u1081\\u108e\\u10a0-\\u10c5\\u10c7\\u10cd\\u10d0-\\u10fa\\u10fc-\\u1248\\u124a-\\u124d\\u1250-\\u1256\\u1258\\u125a-\\u125d\\u1260-\\u1288\\u128a-\\u128d\\u1290-\\u12b0\\u12b2-\\u12b5\\u12b8-\\u12be\\u12c0\\u12c2-\\u12c5\\u12c8-\\u12d6\\u12d8-\\u1310\\u1312-\\u1315\\u1318-\\u135a\\u1380-\\u138f\\u13a0-\\u13f4\\u1401-\\u166c\\u166f-\\u167f\\u1681-\\u169a\\u16a0-\\u16ea\\u16ee-\\u16f0\\u1700-\\u170c\\u170e-\\u1711\\u1720-\\u1731\\u1740-\\u1751\\u1760-\\u176c\\u176e-\\u1770\\u1780-\\u17b3\\u17d7\\u17dc\\u1820-\\u1877\\u1880-\\u18a8\\u18aa\\u18b0-\\u18f5\\u1900-\\u191c\\u1950-\\u196d\\u1970-\\u1974\\u1980-\\u19ab\\u19c1-\\u19c7\\u1a00-\\u1a16\\u1a20-\\u1a54\\u1aa7\\u1b05-\\u1b33\\u1b45-\\u1b4b\\u1b83-\\u1ba0\\u1bae\\u1baf\\u1bba-\\u1be5\\u1c00-\\u1c23\\u1c4d-\\u1c4f\\u1c5a-\\u1c7d\\u1ce9-\\u1cec\\u1cee-\\u1cf1\\u1cf5\\u1cf6\\u1d00-\\u1dbf\\u1e00-\\u1f15\\u1f18-\\u1f1d\\u1f20-\\u1f45\\u1f48-\\u1f4d\\u1f50-\\u1f57\\u1f59\\u1f5b\\u1f5d\\u1f5f-\\u1f7d\\u1f80-\\u1fb4\\u1fb6-\\u1fbc\\u1fbe\\u1fc2-\\u1fc4\\u1fc6-\\u1fcc\\u1fd0-\\u1fd3\\u1fd6-\\u1fdb\\u1fe0-\\u1fec\\u1ff2-\\u1ff4\\u1ff6-\\u1ffc\\u2071\\u207f\\u2090-\\u209c\\u2102\\u2107\\u210a-\\u2113\\u2115\\u2119-\\u211d\\u2124\\u2126\\u2128\\u212a-\\u212d\\u212f-\\u2139\\u213c-\\u213f\\u2145-\\u2149\\u214e\\u2160-\\u2188\\u2c00-\\u2c2e\\u2c30-\\u2c5e\\u2c60-\\u2ce4\\u2ceb-\\u2cee\\u2cf2\\u2cf3\\u2d00-\\u2d25\\u2d27\\u2d2d\\u2d30-\\u2d67\\u2d6f\\u2d80-\\u2d96\\u2da0-\\u2da6\\u2da8-\\u2dae\\u2db0-\\u2db6\\u2db8-\\u2dbe\\u2dc0-\\u2dc6\\u2dc8-\\u2dce\\u2dd0-\\u2dd6\\u2dd8-\\u2dde\\u2e2f\\u3005-\\u3007\\u3021-\\u3029\\u3031-\\u3035\\u3038-\\u303c\\u3041-\\u3096\\u309d-\\u309f\\u30a1-\\u30fa\\u30fc-\\u30ff\\u3105-\\u312d\\u3131-\\u318e\\u31a0-\\u31ba\\u31f0-\\u31ff\\u3400-\\u4db5\\u4e00-\\u9fcc\\ua000-\\ua48c\\ua4d0-\\ua4fd\\ua500-\\ua60c\\ua610-\\ua61f\\ua62a\\ua62b\\ua640-\\ua66e\\ua67f-\\ua697\\ua6a0-\\ua6ef\\ua717-\\ua71f\\ua722-\\ua788\\ua78b-\\ua78e\\ua790-\\ua793\\ua7a0-\\ua7aa\\ua7f8-\\ua801\\ua803-\\ua805\\ua807-\\ua80a\\ua80c-\\ua822\\ua840-\\ua873\\ua882-\\ua8b3\\ua8f2-\\ua8f7\\ua8fb\\ua90a-\\ua925\\ua930-\\ua946\\ua960-\\ua97c\\ua984-\\ua9b2\\ua9cf\\uaa00-\\uaa28\\uaa40-\\uaa42\\uaa44-\\uaa4b\\uaa60-\\uaa76\\uaa7a\\uaa80-\\uaaaf\\uaab1\\uaab5\\uaab6\\uaab9-\\uaabd\\uaac0\\uaac2\\uaadb-\\uaadd\\uaae0-\\uaaea\\uaaf2-\\uaaf4\\uab01-\\uab06\\uab09-\\uab0e\\uab11-\\uab16\\uab20-\\uab26\\uab28-\\uab2e\\uabc0-\\uabe2\\uac00-\\ud7a3\\ud7b0-\\ud7c6\\ud7cb-\\ud7fb\\uf900-\\ufa6d\\ufa70-\\ufad9\\ufb00-\\ufb06\\ufb13-\\ufb17\\ufb1d\\ufb1f-\\ufb28\\ufb2a-\\ufb36\\ufb38-\\ufb3c\\ufb3e\\ufb40\\ufb41\\ufb43\\ufb44\\ufb46-\\ufbb1\\ufbd3-\\ufd3d\\ufd50-\\ufd8f\\ufd92-\\ufdc7\\ufdf0-\\ufdfb\\ufe70-\\ufe74\\ufe76-\\ufefc\\uff21-\\uff3a\\uff41-\\uff5a\\uff66-\\uffbe\\uffc2-\\uffc7\\uffca-\\uffcf\\uffd2-\\uffd7\\uffda-\\uffdc",_="\\u0300-\\u036f\\u0483-\\u0487\\u0591-\\u05bd\\u05bf\\u05c1\\u05c2\\u05c4\\u05c5\\u05c7\\u0610-\\u061a\\u0620-\\u0649\\u0672-\\u06d3\\u06e7-\\u06e8\\u06fb-\\u06fc\\u0730-\\u074a\\u0800-\\u0814\\u081b-\\u0823\\u0825-\\u0827\\u0829-\\u082d\\u0840-\\u0857\\u08e4-\\u08fe\\u0900-\\u0903\\u093a-\\u093c\\u093e-\\u094f\\u0951-\\u0957\\u0962-\\u0963\\u0966-\\u096f\\u0981-\\u0983\\u09bc\\u09be-\\u09c4\\u09c7\\u09c8\\u09d7\\u09df-\\u09e0\\u0a01-\\u0a03\\u0a3c\\u0a3e-\\u0a42\\u0a47\\u0a48\\u0a4b-\\u0a4d\\u0a51\\u0a66-\\u0a71\\u0a75\\u0a81-\\u0a83\\u0abc\\u0abe-\\u0ac5\\u0ac7-\\u0ac9\\u0acb-\\u0acd\\u0ae2-\\u0ae3\\u0ae6-\\u0aef\\u0b01-\\u0b03\\u0b3c\\u0b3e-\\u0b44\\u0b47\\u0b48\\u0b4b-\\u0b4d\\u0b56\\u0b57\\u0b5f-\\u0b60\\u0b66-\\u0b6f\\u0b82\\u0bbe-\\u0bc2\\u0bc6-\\u0bc8\\u0bca-\\u0bcd\\u0bd7\\u0be6-\\u0bef\\u0c01-\\u0c03\\u0c46-\\u0c48\\u0c4a-\\u0c4d\\u0c55\\u0c56\\u0c62-\\u0c63\\u0c66-\\u0c6f\\u0c82\\u0c83\\u0cbc\\u0cbe-\\u0cc4\\u0cc6-\\u0cc8\\u0cca-\\u0ccd\\u0cd5\\u0cd6\\u0ce2-\\u0ce3\\u0ce6-\\u0cef\\u0d02\\u0d03\\u0d46-\\u0d48\\u0d57\\u0d62-\\u0d63\\u0d66-\\u0d6f\\u0d82\\u0d83\\u0dca\\u0dcf-\\u0dd4\\u0dd6\\u0dd8-\\u0ddf\\u0df2\\u0df3\\u0e34-\\u0e3a\\u0e40-\\u0e45\\u0e50-\\u0e59\\u0eb4-\\u0eb9\\u0ec8-\\u0ecd\\u0ed0-\\u0ed9\\u0f18\\u0f19\\u0f20-\\u0f29\\u0f35\\u0f37\\u0f39\\u0f41-\\u0f47\\u0f71-\\u0f84\\u0f86-\\u0f87\\u0f8d-\\u0f97\\u0f99-\\u0fbc\\u0fc6\\u1000-\\u1029\\u1040-\\u1049\\u1067-\\u106d\\u1071-\\u1074\\u1082-\\u108d\\u108f-\\u109d\\u135d-\\u135f\\u170e-\\u1710\\u1720-\\u1730\\u1740-\\u1750\\u1772\\u1773\\u1780-\\u17b2\\u17dd\\u17e0-\\u17e9\\u180b-\\u180d\\u1810-\\u1819\\u1920-\\u192b\\u1930-\\u193b\\u1951-\\u196d\\u19b0-\\u19c0\\u19c8-\\u19c9\\u19d0-\\u19d9\\u1a00-\\u1a15\\u1a20-\\u1a53\\u1a60-\\u1a7c\\u1a7f-\\u1a89\\u1a90-\\u1a99\\u1b46-\\u1b4b\\u1b50-\\u1b59\\u1b6b-\\u1b73\\u1bb0-\\u1bb9\\u1be6-\\u1bf3\\u1c00-\\u1c22\\u1c40-\\u1c49\\u1c5b-\\u1c7d\\u1cd0-\\u1cd2\\u1d00-\\u1dbe\\u1e01-\\u1f15\\u200c\\u200d\\u203f\\u2040\\u2054\\u20d0-\\u20dc\\u20e1\\u20e5-\\u20f0\\u2d81-\\u2d96\\u2de0-\\u2dff\\u3021-\\u3028\\u3099\\u309a\\ua640-\\ua66d\\ua674-\\ua67d\\ua69f\\ua6f0-\\ua6f1\\ua7f8-\\ua800\\ua806\\ua80b\\ua823-\\ua827\\ua880-\\ua881\\ua8b4-\\ua8c4\\ua8d0-\\ua8d9\\ua8f3-\\ua8f7\\ua900-\\ua909\\ua926-\\ua92d\\ua930-\\ua945\\ua980-\\ua983\\ua9b3-\\ua9c0\\uaa00-\\uaa27\\uaa40-\\uaa41\\uaa4c-\\uaa4d\\uaa50-\\uaa59\\uaa7b\\uaae0-\\uaae9\\uaaf2-\\uaaf3\\uabc0-\\uabe1\\uabec\\uabed\\uabf0-\\uabf9\\ufb20-\\ufb28\\ufe00-\\ufe0f\\ufe20-\\ufe26\\ufe33\\ufe34\\ufe4d-\\ufe4f\\uff10-\\uff19\\uff3f",b="\\\\u[0-9a-fA-F]{4}|\\\\u\\{[0-9a-fA-F]+\\}",S="(?:"+b+"|["+x+y+"])",k="(?:"+b+"|["+p+y+_+"])*";a.identifier=new RegExp(S+k,"g"),a.identifierStart=new RegExp(S),a.identifierMatch=new RegExp("(?:"+b+"|["+p+y+_+"])+");var R=/[\u1680\u180e\u2000-\u200a\u202f\u205f\u3000\ufeff]/;a.newline=/[\n\r\u2028\u2029]/,a.lineBreak=new RegExp(`\r
|`+a.newline.source),a.allLineBreaks=new RegExp(a.lineBreak.source,"g")},function(u,a,x){var p=x(6).Options,y=["before-newline","after-newline","preserve-newline"];function _(b){p.call(this,b,"js");var S=this.raw_options.brace_style||null;S==="expand-strict"?this.raw_options.brace_style="expand":S==="collapse-preserve-inline"?this.raw_options.brace_style="collapse,preserve-inline":this.raw_options.braces_on_own_line!==void 0&&(this.raw_options.brace_style=this.raw_options.braces_on_own_line?"expand":"collapse");var k=this._get_selection_list("brace_style",["collapse","expand","end-expand","none","preserve-inline"]);this.brace_preserve_inline=!1,this.brace_style="collapse";for(var R=0;R<k.length;R++)k[R]==="preserve-inline"?this.brace_preserve_inline=!0:this.brace_style=k[R];this.unindent_chained_methods=this._get_boolean("unindent_chained_methods"),this.break_chained_methods=this._get_boolean("break_chained_methods"),this.space_in_paren=this._get_boolean("space_in_paren"),this.space_in_empty_paren=this._get_boolean("space_in_empty_paren"),this.jslint_happy=this._get_boolean("jslint_happy"),this.space_after_anon_function=this._get_boolean("space_after_anon_function"),this.space_after_named_function=this._get_boolean("space_after_named_function"),this.keep_array_indentation=this._get_boolean("keep_array_indentation"),this.space_before_conditional=this._get_boolean("space_before_conditional",!0),this.unescape_strings=this._get_boolean("unescape_strings"),this.e4x=this._get_boolean("e4x"),this.comma_first=this._get_boolean("comma_first"),this.operator_position=this._get_selection("operator_position",y),this.test_output_raw=this._get_boolean("test_output_raw"),this.jslint_happy&&(this.space_after_anon_function=!0)}_.prototype=new p,u.exports.Options=_},function(u){function a(y,_){this.raw_options=x(y,_),this.disabled=this._get_boolean("disabled"),this.eol=this._get_characters("eol","auto"),this.end_with_newline=this._get_boolean("end_with_newline"),this.indent_size=this._get_number("indent_size",4),this.indent_char=this._get_characters("indent_char"," "),this.indent_level=this._get_number("indent_level"),this.preserve_newlines=this._get_boolean("preserve_newlines",!0),this.max_preserve_newlines=this._get_number("max_preserve_newlines",32786),this.preserve_newlines||(this.max_preserve_newlines=0),this.indent_with_tabs=this._get_boolean("indent_with_tabs",this.indent_char===" "),this.indent_with_tabs&&(this.indent_char=" ",this.indent_size===1&&(this.indent_size=4)),this.wrap_line_length=this._get_number("wrap_line_length",this._get_number("max_char")),this.indent_empty_lines=this._get_boolean("indent_empty_lines"),this.templating=this._get_selection_list("templating",["auto","none","angular","django","erb","handlebars","php","smarty"],["auto"])}a.prototype._get_array=function(y,_){var b=this.raw_options[y],S=_||[];return typeof b=="object"?b!==null&&typeof b.concat=="function"&&(S=b.concat()):typeof b=="string"&&(S=b.split(/[^a-zA-Z0-9_\/\-]+/)),S},a.prototype._get_boolean=function(y,_){var b=this.raw_options[y],S=b===void 0?!!_:!!b;return S},a.prototype._get_characters=function(y,_){var b=this.raw_options[y],S=_||"";return typeof b=="string"&&(S=b.replace(/\\r/,"\r").replace(/\\n/,`
`).replace(/\\t/," ")),S},a.prototype._get_number=function(y,_){var b=this.raw_options[y];_=parseInt(_,10),isNaN(_)&&(_=0);var S=parseInt(b,10);return isNaN(S)&&(S=_),S},a.prototype._get_selection=function(y,_,b){var S=this._get_selection_list(y,_,b);if(S.length!==1)throw new Error("Invalid Option Value: The option '"+y+`' can only be one of the following values:
`+_+`
You passed in: '`+this.raw_options[y]+"'");return S[0]},a.prototype._get_selection_list=function(y,_,b){if(!_||_.length===0)throw new Error("Selection list cannot be empty.");if(b=b||[_[0]],!this._is_valid_selection(b,_))throw new Error("Invalid Default Value!");var S=this._get_array(y,b);if(!this._is_valid_selection(S,_))throw new Error("Invalid Option Value: The option '"+y+`' can contain only the following values:
`+_+`
You passed in: '`+this.raw_options[y]+"'");return S},a.prototype._is_valid_selection=function(y,_){return y.length&&_.length&&!y.some(function(b){return _.indexOf(b)===-1})};function x(y,_){var b={};y=p(y);var S;for(S in y)S!==_&&(b[S]=y[S]);if(_&&y[_])for(S in y[_])b[S]=y[_][S];return b}function p(y){var _={},b;for(b in y){var S=b.replace(/-/g,"_");_[S]=y[b]}return _}u.exports.Options=a,u.exports.normalizeOpts=p,u.exports.mergeOpts=x},function(u,a,x){var p=x(8).InputScanner,y=x(9).Tokenizer,_=x(9).TOKEN,b=x(13).Directives,S=x(4),k=x(12).Pattern,R=x(14).TemplatablePattern;function A(ee,Q){return Q.indexOf(ee)!==-1}var I={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]/,V=/[^\d\.]/,W=">>> === !== &&= ??= ||= << && >= ** != == <= >> || ?? |> < / - + > : & % ? ^ | *".split(" "),H=">>>= ... >>= <<= === >>> !== **= &&= ??= ||= => ^= :: /= << <= == && -= >= >> != -- += ** || ?? ++ %= &= *= |= |> = ! ? > < : / ^ - + * & % ~ |";H=H.replace(/[-[\]{}()*+?.,\\^$|#]/g,"\\$&"),H="\\?\\.(?!\\d) "+H,H=H.replace(/ /g,"|");var ae=new RegExp(H),ne="continue,try,throw,return,var,let,const,if,switch,case,default,for,while,break,function,import,export".split(","),oe=ne.concat(["do","in","of","else","get","set","new","catch","finally","typeof","yield","async","await","from","as","class","extends"]),J=new RegExp("^(?:"+oe.join("|")+")$"),q,K=function(ee,Q){y.call(this,ee,Q),this._patterns.whitespace=this._patterns.whitespace.matching(/\u00A0\u1680\u180e\u2000-\u200a\u202f\u205f\u3000\ufeff/.source,/\u2028\u2029/.source);var le=new k(this._input),z=new R(this._input).read_options(this._options);this.__patterns={template:z,identifier:z.starting_with(S.identifier).matching(S.identifierMatch),number:le.matching(B),punct:le.matching(ae),comment:le.starting_with(/\/\//).until(/[\n\r\u2028\u2029]/),block_comment:le.starting_with(/\/\*/).until_after(/\*\//),html_comment_start:le.matching(/<!--/),html_comment_end:le.matching(/-->/),include:le.starting_with(/#include/).until_after(S.lineBreak),shebang:le.starting_with(/#!/).until_after(S.lineBreak),xml:le.matching(/[\s\S]*?<(\/?)([-a-zA-Z:0-9_.]+|{[^}]+?}|!\[CDATA\[[^\]]*?\]\]|)(\s*{[^}]+?}|\s+[-a-zA-Z:0-9_.]+|\s+[-a-zA-Z:0-9_.]+\s*=\s*('[^']*'|"[^"]*"|{([^{}]|{[^}]+?})+?}))*\s*(\/?)\s*>/),single_quote:z.until(/['\\\n\r\u2028\u2029]/),double_quote:z.until(/["\\\n\r\u2028\u2029]/),template_text:z.until(/[`\\$]/),template_expression:z.until(/[`}\\]/)}};K.prototype=new y,K.prototype._is_comment=function(ee){return ee.type===I.COMMENT||ee.type===I.BLOCK_COMMENT||ee.type===I.UNKNOWN},K.prototype._is_opening=function(ee){return ee.type===I.START_BLOCK||ee.type===I.START_EXPR},K.prototype._is_closing=function(ee,Q){return(ee.type===I.END_BLOCK||ee.type===I.END_EXPR)&&Q&&(ee.text==="]"&&Q.text==="["||ee.text===")"&&Q.text==="("||ee.text==="}"&&Q.text==="{")},K.prototype._reset=function(){q=!1},K.prototype._get_next_token=function(ee,Q){var le=null;this._readWhitespace();var z=this._input.peek();return z===null?this._create_token(I.EOF,""):(le=le||this._read_non_javascript(z),le=le||this._read_string(z),le=le||this._read_pair(z,this._input.peek(1)),le=le||this._read_word(ee),le=le||this._read_singles(z),le=le||this._read_comment(z),le=le||this._read_regexp(z,ee),le=le||this._read_xml(z,ee),le=le||this._read_punctuation(),le=le||this._create_token(I.UNKNOWN,this._input.next()),le)},K.prototype._read_word=function(ee){var Q;if(Q=this.__patterns.identifier.read(),Q!=="")return Q=Q.replace(S.allLineBreaks,`
`),!(ee.type===I.DOT||ee.type===I.RESERVED&&(ee.text==="set"||ee.text==="get"))&&J.test(Q)?(Q==="in"||Q==="of")&&(ee.type===I.WORD||ee.type===I.STRING)?this._create_token(I.OPERATOR,Q):this._create_token(I.RESERVED,Q):this._create_token(I.WORD,Q);if(Q=this.__patterns.number.read(),Q!=="")return this._create_token(I.WORD,Q)},K.prototype._read_singles=function(ee){var Q=null;return ee==="("||ee==="["?Q=this._create_token(I.START_EXPR,ee):ee===")"||ee==="]"?Q=this._create_token(I.END_EXPR,ee):ee==="{"?Q=this._create_token(I.START_BLOCK,ee):ee==="}"?Q=this._create_token(I.END_BLOCK,ee):ee===";"?Q=this._create_token(I.SEMICOLON,ee):ee==="."&&V.test(this._input.peek(1))?Q=this._create_token(I.DOT,ee):ee===","&&(Q=this._create_token(I.COMMA,ee)),Q&&this._input.next(),Q},K.prototype._read_pair=function(ee,Q){var le=null;return ee==="#"&&Q==="{"&&(le=this._create_token(I.START_BLOCK,ee+Q)),le&&(this._input.next(),this._input.next()),le},K.prototype._read_punctuation=function(){var ee=this.__patterns.punct.read();if(ee!=="")return ee==="="?this._create_token(I.EQUALS,ee):ee==="?."?this._create_token(I.DOT,ee):this._create_token(I.OPERATOR,ee)},K.prototype._read_non_javascript=function(ee){var Q="";if(ee==="#"){if(this._is_first_token()&&(Q=this.__patterns.shebang.read(),Q))return this._create_token(I.UNKNOWN,Q.trim()+`
`);if(Q=this.__patterns.include.read(),Q)return this._create_token(I.UNKNOWN,Q.trim()+`
`);ee=this._input.next();var le="#";if(this._input.hasNext()&&this._input.testChar(N)){do ee=this._input.next(),le+=ee;while(this._input.hasNext()&&ee!=="#"&&ee!=="=");return ee==="#"||(this._input.peek()==="["&&this._input.peek(1)==="]"?(le+="[]",this._input.next(),this._input.next()):this._input.peek()==="{"&&this._input.peek(1)==="}"&&(le+="{}",this._input.next(),this._input.next())),this._create_token(I.WORD,le)}this._input.back()}else if(ee==="<"&&this._is_first_token()){if(Q=this.__patterns.html_comment_start.read(),Q){for(;this._input.hasNext()&&!this._input.testChar(S.newline);)Q+=this._input.next();return q=!0,this._create_token(I.COMMENT,Q)}}else if(q&&ee==="-"&&(Q=this.__patterns.html_comment_end.read(),Q))return q=!1,this._create_token(I.COMMENT,Q);return null},K.prototype._read_comment=function(ee){var Q=null;if(ee==="/"){var le="";if(this._input.peek(1)==="*"){le=this.__patterns.block_comment.read();var z=M.get_directives(le);z&&z.ignore==="start"&&(le+=M.readIgnored(this._input)),le=le.replace(S.allLineBreaks,`
`),Q=this._create_token(I.BLOCK_COMMENT,le),Q.directives=z}else this._input.peek(1)==="/"&&(le=this.__patterns.comment.read(),Q=this._create_token(I.COMMENT,le))}return Q},K.prototype._read_string=function(ee){if(ee==="`"||ee==="'"||ee==='"'){var Q=this._input.next();return this.has_char_escapes=!1,ee==="`"?Q+=this._read_string_recursive("`",!0,"${"):Q+=this._read_string_recursive(ee),this.has_char_escapes&&this._options.unescape_strings&&(Q=se(Q)),this._input.peek()===ee&&(Q+=this._input.next()),Q=Q.replace(S.allLineBreaks,`
`),this._create_token(I.STRING,Q)}return null},K.prototype._allow_regexp_or_xml=function(ee){return ee.type===I.RESERVED&&A(ee.text,["return","case","throw","else","do","typeof","yield"])||ee.type===I.END_EXPR&&ee.text===")"&&ee.opened.previous.type===I.RESERVED&&A(ee.opened.previous.text,["if","while","for"])||A(ee.type,[I.COMMENT,I.START_EXPR,I.START_BLOCK,I.START,I.END_BLOCK,I.OPERATOR,I.EQUALS,I.EOF,I.SEMICOLON,I.COMMA])},K.prototype._read_regexp=function(ee,Q){if(ee==="/"&&this._allow_regexp_or_xml(Q)){for(var le=this._input.next(),z=!1,$=!1;this._input.hasNext()&&(z||$||this._input.peek()!==ee)&&!this._input.testChar(S.newline);)le+=this._input.peek(),z?z=!1:(z=this._input.peek()==="\\",this._input.peek()==="["?$=!0:this._input.peek()==="]"&&($=!1)),this._input.next();return this._input.peek()===ee&&(le+=this._input.next(),le+=this._input.read(S.identifier)),this._create_token(I.STRING,le)}return null},K.prototype._read_xml=function(ee,Q){if(this._options.e4x&&ee==="<"&&this._allow_regexp_or_xml(Q)){var le="",z=this.__patterns.xml.read_match();if(z){for(var $=z[2].replace(/^{\s+/,"{").replace(/\s+}$/,"}"),ie=$.indexOf("{")===0,_e=0;z;){var Ae=!!z[1],Pe=z[2],We=!!z[z.length-1]||Pe.slice(0,8)==="![CDATA[";if(!We&&(Pe===$||ie&&Pe.replace(/^{\s+/,"{").replace(/\s+}$/,"}"))&&(Ae?--_e:++_e),le+=z[0],_e<=0)break;z=this.__patterns.xml.read_match()}return z||(le+=this._input.match(/[\s\S]*/g)[0]),le=le.replace(S.allLineBreaks,`
`),this._create_token(I.STRING,le)}}return null};function se(ee){for(var Q="",le=0,z=new p(ee),$=null;z.hasNext();)if($=z.match(/([\s]|[^\\]|\\\\)+/g),$&&(Q+=$[0]),z.peek()==="\\"){if(z.next(),z.peek()==="x")$=z.match(/x([0-9A-Fa-f]{2})/g);else if(z.peek()==="u")$=z.match(/u([0-9A-Fa-f]{4})/g),$||($=z.match(/u\{([0-9A-Fa-f]+)\}/g));else{Q+="\\",z.hasNext()&&(Q+=z.next());continue}if(!$||(le=parseInt($[1],16),le>126&&le<=255&&$[0].indexOf("x")===0))return ee;le>=0&&le<32||le>1114111?Q+="\\"+$[0]:le===34||le===39||le===92?Q+="\\"+String.fromCharCode(le):Q+=String.fromCharCode(le)}return Q}K.prototype._read_string_recursive=function(ee,Q,le){var z,$;ee==="'"?$=this.__patterns.single_quote:ee==='"'?$=this.__patterns.double_quote:ee==="`"?$=this.__patterns.template_text:ee==="}"&&($=this.__patterns.template_expression);for(var ie=$.read(),_e="";this._input.hasNext();){if(_e=this._input.next(),_e===ee||!Q&&S.newline.test(_e)){this._input.back();break}else _e==="\\"&&this._input.hasNext()?(z=this._input.peek(),z==="x"||z==="u"?this.has_char_escapes=!0:z==="\r"&&this._input.peek(1)===`
`&&this._input.next(),_e+=this._input.next()):le&&(le==="${"&&_e==="$"&&this._input.peek()==="{"&&(_e+=this._input.next()),le===_e&&(ee==="`"?_e+=this._read_string_recursive("}",Q,"`"):_e+=this._read_string_recursive("`",Q,"${"),this._input.hasNext()&&(_e+=this._input.next())));_e+=$.read(),ie+=_e}return ie},u.exports.Tokenizer=K,u.exports.TOKEN=I,u.exports.positionable_operators=W.slice(),u.exports.line_starters=ne.slice()},function(u){var a=RegExp.prototype.hasOwnProperty("sticky");function x(p){this.__input=p||"",this.__input_length=this.__input.length,this.__position=0}x.prototype.restart=function(){this.__position=0},x.prototype.back=function(){this.__position>0&&(this.__position-=1)},x.prototype.hasNext=function(){return this.__position<this.__input_length},x.prototype.next=function(){var p=null;return this.hasNext()&&(p=this.__input.charAt(this.__position),this.__position+=1),p},x.prototype.peek=function(p){var y=null;return p=p||0,p+=this.__position,p>=0&&p<this.__input_length&&(y=this.__input.charAt(p)),y},x.prototype.__match=function(p,y){p.lastIndex=y;var _=p.exec(this.__input);return _&&!(a&&p.sticky)&&_.index!==y&&(_=null),_},x.prototype.test=function(p,y){return y=y||0,y+=this.__position,y>=0&&y<this.__input_length?!!this.__match(p,y):!1},x.prototype.testChar=function(p,y){var _=this.peek(y);return p.lastIndex=0,_!==null&&p.test(_)},x.prototype.match=function(p){var y=this.__match(p,this.__position);return y?this.__position+=y[0].length:y=null,y},x.prototype.read=function(p,y,_){var b="",S;return p&&(S=this.match(p),S&&(b+=S[0])),y&&(S||!p)&&(b+=this.readUntil(y,_)),b},x.prototype.readUntil=function(p,y){var _="",b=this.__position;p.lastIndex=this.__position;var S=p.exec(this.__input);return S?(b=S.index,y&&(b+=S[0].length)):b=this.__input_length,_=this.__input.substring(this.__position,b),this.__position=b,_},x.prototype.readUntilAfter=function(p){return this.readUntil(p,!0)},x.prototype.get_regexp=function(p,y){var _=null,b="g";return y&&a&&(b="y"),typeof p=="string"&&p!==""?_=new RegExp(p,b):p&&(_=new RegExp(p.source,b)),_},x.prototype.get_literal_regexp=function(p){return RegExp(p.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&"))},x.prototype.peekUntilAfter=function(p){var y=this.__position,_=this.readUntilAfter(p);return this.__position=y,_},x.prototype.lookBack=function(p){var y=this.__position-1;return y>=p.length&&this.__input.substring(y-p.length,y).toLowerCase()===p},u.exports.InputScanner=x},function(u,a,x){var p=x(8).InputScanner,y=x(3).Token,_=x(10).TokenStream,b=x(11).WhitespacePattern,S={START:"TK_START",RAW:"TK_RAW",EOF:"TK_EOF"},k=function(R,A){this._input=new p(R),this._options=A||{},this.__tokens=null,this._patterns={},this._patterns.whitespace=new b(this._input)};k.prototype.tokenize=function(){this._input.restart(),this.__tokens=new _,this._reset();for(var R,A=new y(S.START,""),I=null,M=[],B=new _;A.type!==S.EOF;){for(R=this._get_next_token(A,I);this._is_comment(R);)B.add(R),R=this._get_next_token(A,I);B.isEmpty()||(R.comments_before=B,B=new _),R.parent=I,this._is_opening(R)?(M.push(I),I=R):I&&this._is_closing(R,I)&&(R.opened=I,I.closed=R,I=M.pop(),R.parent=I),R.previous=A,A.next=R,this.__tokens.add(R),A=R}return this.__tokens},k.prototype._is_first_token=function(){return this.__tokens.isEmpty()},k.prototype._reset=function(){},k.prototype._get_next_token=function(R,A){this._readWhitespace();var I=this._input.read(/.+/g);return I?this._create_token(S.RAW,I):this._create_token(S.EOF,"")},k.prototype._is_comment=function(R){return!1},k.prototype._is_opening=function(R){return!1},k.prototype._is_closing=function(R,A){return!1},k.prototype._create_token=function(R,A){var I=new y(R,A,this._patterns.whitespace.newline_count,this._patterns.whitespace.whitespace_before_token);return I},k.prototype._readWhitespace=function(){return this._patterns.whitespace.read()},u.exports.Tokenizer=k,u.exports.TOKEN=S},function(u){function a(x){this.__tokens=[],this.__tokens_length=this.__tokens.length,this.__position=0,this.__parent_token=x}a.prototype.restart=function(){this.__position=0},a.prototype.isEmpty=function(){return this.__tokens_length===0},a.prototype.hasNext=function(){return this.__position<this.__tokens_length},a.prototype.next=function(){var x=null;return this.hasNext()&&(x=this.__tokens[this.__position],this.__position+=1),x},a.prototype.peek=function(x){var p=null;return x=x||0,x+=this.__position,x>=0&&x<this.__tokens_length&&(p=this.__tokens[x]),p},a.prototype.add=function(x){this.__parent_token&&(x.parent=this.__parent_token),this.__tokens.push(x),this.__tokens_length+=1},u.exports.TokenStream=a},function(u,a,x){var p=x(12).Pattern;function y(_,b){p.call(this,_,b),b?this._line_regexp=this._input.get_regexp(b._line_regexp):this.__set_whitespace_patterns("",""),this.newline_count=0,this.whitespace_before_token=""}y.prototype=new p,y.prototype.__set_whitespace_patterns=function(_,b){_+="\\t ",b+="\\n\\r",this._match_pattern=this._input.get_regexp("["+_+b+"]+",!0),this._newline_regexp=this._input.get_regexp("\\r\\n|["+b+"]")},y.prototype.read=function(){this.newline_count=0,this.whitespace_before_token="";var _=this._input.read(this._match_pattern);if(_===" ")this.whitespace_before_token=" ";else if(_){var b=this.__split(this._newline_regexp,_);this.newline_count=b.length-1,this.whitespace_before_token=b[this.newline_count]}return _},y.prototype.matching=function(_,b){var S=this._create();return S.__set_whitespace_patterns(_,b),S._update(),S},y.prototype._create=function(){return new y(this._input,this)},y.prototype.__split=function(_,b){_.lastIndex=0;for(var S=0,k=[],R=_.exec(b);R;)k.push(b.substring(S,R.index)),S=R.index+R[0].length,R=_.exec(b);return S<b.length?k.push(b.substring(S,b.length)):k.push(""),k},u.exports.WhitespacePattern=y},function(u){function a(x,p){this._input=x,this._starting_pattern=null,this._match_pattern=null,this._until_pattern=null,this._until_after=!1,p&&(this._starting_pattern=this._input.get_regexp(p._starting_pattern,!0),this._match_pattern=this._input.get_regexp(p._match_pattern,!0),this._until_pattern=this._input.get_regexp(p._until_pattern),this._until_after=p._until_after)}a.prototype.read=function(){var x=this._input.read(this._starting_pattern);return(!this._starting_pattern||x)&&(x+=this._input.read(this._match_pattern,this._until_pattern,this._until_after)),x},a.prototype.read_match=function(){return this._input.match(this._match_pattern)},a.prototype.until_after=function(x){var p=this._create();return p._until_after=!0,p._until_pattern=this._input.get_regexp(x),p._update(),p},a.prototype.until=function(x){var p=this._create();return p._until_after=!1,p._until_pattern=this._input.get_regexp(x),p._update(),p},a.prototype.starting_with=function(x){var p=this._create();return p._starting_pattern=this._input.get_regexp(x,!0),p._update(),p},a.prototype.matching=function(x){var p=this._create();return p._match_pattern=this._input.get_regexp(x,!0),p._update(),p},a.prototype._create=function(){return new a(this._input,this)},a.prototype._update=function(){},u.exports.Pattern=a},function(u){function a(x,p){x=typeof x=="string"?x:x.source,p=typeof p=="string"?p:p.source,this.__directives_block_pattern=new RegExp(x+/ beautify( \w+[:]\w+)+ /.source+p,"g"),this.__directive_pattern=/ (\w+)[:](\w+)/g,this.__directives_end_ignore_pattern=new RegExp(x+/\sbeautify\signore:end\s/.source+p,"g")}a.prototype.get_directives=function(x){if(!x.match(this.__directives_block_pattern))return null;var p={};this.__directive_pattern.lastIndex=0;for(var y=this.__directive_pattern.exec(x);y;)p[y[1]]=y[2],y=this.__directive_pattern.exec(x);return p},a.prototype.readIgnored=function(x){return x.readUntilAfter(this.__directives_end_ignore_pattern)},u.exports.Directives=a},function(u,a,x){var p=x(12).Pattern,y={django:!1,erb:!1,handlebars:!1,php:!1,smarty:!1,angular:!1};function _(b,S){p.call(this,b,S),this.__template_pattern=null,this._disabled=Object.assign({},y),this._excluded=Object.assign({},y),S&&(this.__template_pattern=this._input.get_regexp(S.__template_pattern),this._excluded=Object.assign(this._excluded,S._excluded),this._disabled=Object.assign(this._disabled,S._disabled));var k=new p(b);this.__patterns={handlebars_comment:k.starting_with(/{{!--/).until_after(/--}}/),handlebars_unescaped:k.starting_with(/{{{/).until_after(/}}}/),handlebars:k.starting_with(/{{/).until_after(/}}/),php:k.starting_with(/<\?(?:[= ]|php)/).until_after(/\?>/),erb:k.starting_with(/<%[^%]/).until_after(/[^%]%>/),django:k.starting_with(/{%/).until_after(/%}/),django_value:k.starting_with(/{{/).until_after(/}}/),django_comment:k.starting_with(/{#/).until_after(/#}/),smarty:k.starting_with(/{(?=[^}{\s\n])/).until_after(/[^\s\n]}/),smarty_comment:k.starting_with(/{\*/).until_after(/\*}/),smarty_literal:k.starting_with(/{literal}/).until_after(/{\/literal}/)}}_.prototype=new p,_.prototype._create=function(){return new _(this._input,this)},_.prototype._update=function(){this.__set_templated_pattern()},_.prototype.disable=function(b){var S=this._create();return S._disabled[b]=!0,S._update(),S},_.prototype.read_options=function(b){var S=this._create();for(var k in y)S._disabled[k]=b.templating.indexOf(k)===-1;return S._update(),S},_.prototype.exclude=function(b){var S=this._create();return S._excluded[b]=!0,S._update(),S},_.prototype.read=function(){var b="";this._match_pattern?b=this._input.read(this._starting_pattern):b=this._input.read(this._starting_pattern,this.__template_pattern);for(var S=this._read_template();S;)this._match_pattern?S+=this._input.read(this._match_pattern):S+=this._input.readUntil(this.__template_pattern),b+=S,S=this._read_template();return this._until_after&&(b+=this._input.readUntilAfter(this._until_pattern)),b},_.prototype.__set_templated_pattern=function(){var b=[];this._disabled.php||b.push(this.__patterns.php._starting_pattern.source),this._disabled.handlebars||b.push(this.__patterns.handlebars._starting_pattern.source),this._disabled.angular||b.push(this.__patterns.handlebars._starting_pattern.source),this._disabled.erb||b.push(this.__patterns.erb._starting_pattern.source),this._disabled.django||(b.push(this.__patterns.django._starting_pattern.source),b.push(this.__patterns.django_value._starting_pattern.source),b.push(this.__patterns.django_comment._starting_pattern.source)),this._disabled.smarty||b.push(this.__patterns.smarty._starting_pattern.source),this._until_pattern&&b.push(this._until_pattern.source),this.__template_pattern=this._input.get_regexp("(?:"+b.join("|")+")")},_.prototype._read_template=function(){var b="",S=this._input.peek();if(S==="<"){var k=this._input.peek(1);!this._disabled.php&&!this._excluded.php&&k==="?"&&(b=b||this.__patterns.php.read()),!this._disabled.erb&&!this._excluded.erb&&k==="%"&&(b=b||this.__patterns.erb.read())}else S==="{"&&(!this._disabled.handlebars&&!this._excluded.handlebars&&(b=b||this.__patterns.handlebars_comment.read(),b=b||this.__patterns.handlebars_unescaped.read(),b=b||this.__patterns.handlebars.read()),this._disabled.django||(!this._excluded.django&&!this._excluded.handlebars&&(b=b||this.__patterns.django_value.read()),this._excluded.django||(b=b||this.__patterns.django_comment.read(),b=b||this.__patterns.django.read())),this._disabled.smarty||this._disabled.django&&this._disabled.handlebars&&(b=b||this.__patterns.smarty_comment.read(),b=b||this.__patterns.smarty_literal.read(),b=b||this.__patterns.smarty.read()));return b},u.exports.TemplatablePattern=_}],f={};function o(u){var a=f[u];if(a!==void 0)return a.exports;var x=f[u]={exports:{}};return c[u](x,x.exports,o),x.exports}var h=o(0);i=h})();var l=i;e=[],r=function(){return{js_beautify:l}}.apply(v,e),r!==void 0&&(d.exports=r)})()},15342:function(d){(function(e,r){d.exports=r()})(typeof self!="undefined"?self:this,function(){return function(v){var e={};function r(i){if(e[i])return e[i].exports;var l=e[i]={i,l:!1,exports:{}};return v[i].call(l.exports,l,l.exports,r),l.l=!0,l.exports}return r.m=v,r.c=e,r.d=function(i,l,c){r.o(i,l)||Object.defineProperty(i,l,{enumerable:!0,get:c})},r.r=function(i){typeof Symbol!="undefined"&&Symbol.toStringTag&&Object.defineProperty(i,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(i,"__esModule",{value:!0})},r.t=function(i,l){if(l&1&&(i=r(i)),l&8||l&4&&typeof i=="object"&&i&&i.__esModule)return i;var c=Object.create(null);if(r.r(c),Object.defineProperty(c,"default",{enumerable:!0,value:i}),l&2&&typeof i!="string")for(var f in i)r.d(c,f,function(o){return i[o]}.bind(null,f));return c},r.n=function(i){var l=i&&i.__esModule?function(){return i.default}:function(){return i};return r.d(l,"a",l),l},r.o=function(i,l){return Object.prototype.hasOwnProperty.call(i,l)},r.p="",r(r.s=1)}([function(v,e,r){},function(v,e,r){"use strict";r.r(e);var i=r(0),l=function(){function Ke(Z,Y,te){this.lexer=void 0,this.start=void 0,this.end=void 0,this.lexer=Z,this.start=Y,this.end=te}return Ke.range=function(Y,te){return te?!Y||!Y.loc||!te.loc||Y.loc.lexer!==te.loc.lexer?null:new Ke(Y.loc.lexer,Y.loc.start,te.loc.end):Y&&Y.loc},Ke}(),c=function(){function Ke(Y,te){this.text=void 0,this.loc=void 0,this.text=Y,this.loc=te}var Z=Ke.prototype;return Z.range=function(te,he){return new Ke(he,l.range(this,te))},Ke}(),f=function Ke(Z,Y){this.position=void 0;var te="KaTeX parse error: "+Z,he,Se=Y&&Y.loc;if(Se&&Se.start<=Se.end){var Ve=Se.lexer.input;he=Se.start;var Pt=Se.end;he===Ve.length?te+=" at end of input: ":te+=" at position "+(he+1)+": ";var Ut=Ve.slice(he,Pt).replace(/[^]/g,"$&\u0332"),ar;he>15?ar="\u2026"+Ve.slice(he-15,he):ar=Ve.slice(0,he);var Ar;Pt+15<Ve.length?Ar=Ve.slice(Pt,Pt+15)+"\u2026":Ar=Ve.slice(Pt),te+=ar+Ut+Ar}var Kr=new Error(te);return Kr.name="ParseError",Kr.__proto__=Ke.prototype,Kr.position=he,Kr};f.prototype.__proto__=Error.prototype;var o=f,h=function(Z,Y){return Z.indexOf(Y)!==-1},u=function(Z,Y){return Z===void 0?Y:Z},a=/([A-Z])/g,x=function(Z){return Z.replace(a,"-$1").toLowerCase()},p={"&":"&amp;",">":"&gt;","<":"&lt;",'"':"&quot;","'":"&#x27;"},y=/[&><"']/g;function _(Ke){return String(Ke).replace(y,function(Z){return p[Z]})}var b=function Ke(Z){return Z.type==="ordgroup"||Z.type==="color"?Z.body.length===1?Ke(Z.body[0]):Z:Z.type==="font"?Ke(Z.body):Z},S=function(Z){var Y=b(Z);return Y.type==="mathord"||Y.type==="textord"||Y.type==="atom"},k=function(Z){if(!Z)throw new Error("Expected non-null, but got "+String(Z));return Z},R=function(Z){var Y=/^\s*([^\\/#]*?)(?::|&#0*58|&#x0*3a)/i.exec(Z);return Y!=null?Y[1]:"_relative"},A={contains:h,deflt:u,escape:_,hyphenate:x,getBaseElem:b,isCharacterBox:S,protocolFromUrl:R},I=function(){function Ke(Y){this.displayMode=void 0,this.output=void 0,this.leqno=void 0,this.fleqn=void 0,this.throwOnError=void 0,this.errorColor=void 0,this.macros=void 0,this.minRuleThickness=void 0,this.colorIsTextColor=void 0,this.strict=void 0,this.trust=void 0,this.maxSize=void 0,this.maxExpand=void 0,Y=Y||{},this.displayMode=A.deflt(Y.displayMode,!1),this.output=A.deflt(Y.output,"htmlAndMathml"),this.leqno=A.deflt(Y.leqno,!1),this.fleqn=A.deflt(Y.fleqn,!1),this.throwOnError=A.deflt(Y.throwOnError,!0),this.errorColor=A.deflt(Y.errorColor,"#cc0000"),this.macros=Y.macros||{},this.minRuleThickness=Math.max(0,A.deflt(Y.minRuleThickness,0)),this.colorIsTextColor=A.deflt(Y.colorIsTextColor,!1),this.strict=A.deflt(Y.strict,"warn"),this.trust=A.deflt(Y.trust,!1),this.maxSize=Math.max(0,A.deflt(Y.maxSize,1/0)),this.maxExpand=Math.max(0,A.deflt(Y.maxExpand,1e3))}var Z=Ke.prototype;return Z.reportNonstrict=function(te,he,Se){var Ve=this.strict;if(typeof Ve=="function"&&(Ve=Ve(te,he,Se)),!(!Ve||Ve==="ignore")){if(Ve===!0||Ve==="error")throw new o("LaTeX-incompatible input and strict mode is set to 'error': "+(he+" ["+te+"]"),Se);Ve==="warn"?typeof console!="undefined"&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+(he+" ["+te+"]")):typeof console!="undefined"&&console.warn("LaTeX-incompatible input and strict mode is set to "+("unrecognized '"+Ve+"': "+he+" ["+te+"]"))}},Z.useStrictBehavior=function(te,he,Se){var Ve=this.strict;if(typeof Ve=="function")try{Ve=Ve(te,he,Se)}catch(Pt){Ve="error"}return!Ve||Ve==="ignore"?!1:Ve===!0||Ve==="error"?!0:Ve==="warn"?(typeof console!="undefined"&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+(he+" ["+te+"]")),!1):(typeof console!="undefined"&&console.warn("LaTeX-incompatible input and strict mode is set to "+("unrecognized '"+Ve+"': "+he+" ["+te+"]")),!1)},Z.isTrusted=function(te){te.url&&!te.protocol&&(te.protocol=A.protocolFromUrl(te.url));var he=typeof this.trust=="function"?this.trust(te):this.trust;return!!he},Ke}(),M=function(){function Ke(Y,te,he){this.id=void 0,this.size=void 0,this.cramped=void 0,this.id=Y,this.size=te,this.cramped=he}var Z=Ke.prototype;return Z.sup=function(){return J[q[this.id]]},Z.sub=function(){return J[K[this.id]]},Z.fracNum=function(){return J[se[this.id]]},Z.fracDen=function(){return J[ee[this.id]]},Z.cramp=function(){return J[Q[this.id]]},Z.text=function(){return J[le[this.id]]},Z.isTight=function(){return this.size>=2},Ke}(),B=0,N=1,V=2,W=3,H=4,ae=5,ne=6,oe=7,J=[new M(B,0,!1),new M(N,0,!0),new M(V,1,!1),new M(W,1,!0),new M(H,2,!1),new M(ae,2,!0),new M(ne,3,!1),new M(oe,3,!0)],q=[H,ae,H,ae,ne,oe,ne,oe],K=[ae,ae,ae,ae,oe,oe,oe,oe],se=[V,W,H,ae,ne,oe,ne,oe],ee=[W,W,ae,ae,oe,oe,oe,oe],Q=[N,N,W,W,ae,ae,oe,oe],le=[B,N,V,W,V,W,V,W],z={DISPLAY:J[B],TEXT:J[V],SCRIPT:J[H],SCRIPTSCRIPT:J[ne]},$=[{name:"latin",blocks:[[256,591],[768,879]]},{name:"cyrillic",blocks:[[1024,1279]]},{name:"brahmic",blocks:[[2304,4255]]},{name:"georgian",blocks:[[4256,4351]]},{name:"cjk",blocks:[[12288,12543],[19968,40879],[65280,65376]]},{name:"hangul",blocks:[[44032,55215]]}];function ie(Ke){for(var Z=0;Z<$.length;Z++)for(var Y=$[Z],te=0;te<Y.blocks.length;te++){var he=Y.blocks[te];if(Ke>=he[0]&&Ke<=he[1])return Y.name}return null}var _e=[];$.forEach(function(Ke){return Ke.blocks.forEach(function(Z){return _e.push.apply(_e,Z)})});function Ae(Ke){for(var Z=0;Z<_e.length;Z+=2)if(Ke>=_e[Z]&&Ke<=_e[Z+1])return!0;return!1}var Pe=80,We=function(Z,Y){return"M95,"+(622+Z+Y)+`
c-2.7,0,-7.17,-2.7,-13.5,-8c-5.8,-5.3,-9.5,-10,-9.5,-14
c0,-2,0.3,-3.3,1,-4c1.3,-2.7,23.83,-20.7,67.5,-54
c44.2,-33.3,65.8,-50.3,66.5,-51c1.3,-1.3,3,-2,5,-2c4.7,0,8.7,3.3,12,10
s173,378,173,378c0.7,0,35.3,-71,104,-213c68.7,-142,137.5,-285,206.5,-429
c69,-144,104.5,-217.7,106.5,-221
l`+Z/2.075+" -"+Z+`
c5.3,-9.3,12,-14,20,-14
H400000v`+(40+Z)+`H845.2724
s-225.272,467,-225.272,467s-235,486,-235,486c-2.7,4.7,-9,7,-19,7
c-6,0,-10,-1,-12,-3s-194,-422,-194,-422s-65,47,-65,47z
M`+(834+Z)+" "+Y+"h400000v"+(40+Z)+"h-400000z"},$e=function(Z,Y){return"M263,"+(601+Z+Y)+`c0.7,0,18,39.7,52,119
c34,79.3,68.167,158.7,102.5,238c34.3,79.3,51.8,119.3,52.5,120
c340,-704.7,510.7,-1060.3,512,-1067
l`+Z/2.084+" -"+Z+`
c4.7,-7.3,11,-11,19,-11
H40000v`+(40+Z)+`H1012.3
s-271.3,567,-271.3,567c-38.7,80.7,-84,175,-136,283c-52,108,-89.167,185.3,-111.5,232
c-22.3,46.7,-33.8,70.3,-34.5,71c-4.7,4.7,-12.3,7,-23,7s-12,-1,-12,-1
s-109,-253,-109,-253c-72.7,-168,-109.3,-252,-110,-252c-10.7,8,-22,16.7,-34,26
c-22,17.3,-33.3,26,-34,26s-26,-26,-26,-26s76,-59,76,-59s76,-60,76,-60z
M`+(1001+Z)+" "+Y+"h400000v"+(40+Z)+"h-400000z"},Lt=function(Z,Y){return"M983 "+(10+Z+Y)+`
l`+Z/3.13+" -"+Z+`
c4,-6.7,10,-10,18,-10 H400000v`+(40+Z)+`
H1013.1s-83.4,268,-264.1,840c-180.7,572,-277,876.3,-289,913c-4.7,4.7,-12.7,7,-24,7
s-12,0,-12,0c-1.3,-3.3,-3.7,-11.7,-7,-25c-35.3,-125.3,-106.7,-373.3,-214,-744
c-10,12,-21,25,-33,39s-32,39,-32,39c-6,-5.3,-15,-14,-27,-26s25,-30,25,-30
c26.7,-32.7,52,-63,76,-91s52,-60,52,-60s208,722,208,722
c56,-175.3,126.3,-397.3,211,-666c84.7,-268.7,153.8,-488.2,207.5,-658.5
c53.7,-170.3,84.5,-266.8,92.5,-289.5z
M`+(1001+Z)+" "+Y+"h400000v"+(40+Z)+"h-400000z"},bt=function(Z,Y){return"M424,"+(2398+Z+Y)+`
c-1.3,-0.7,-38.5,-172,-111.5,-514c-73,-342,-109.8,-513.3,-110.5,-514
c0,-2,-10.7,14.3,-32,49c-4.7,7.3,-9.8,15.7,-15.5,25c-5.7,9.3,-9.8,16,-12.5,20
s-5,7,-5,7c-4,-3.3,-8.3,-7.7,-13,-13s-13,-13,-13,-13s76,-122,76,-122s77,-121,77,-121
s209,968,209,968c0,-2,84.7,-361.7,254,-1079c169.3,-717.3,254.7,-1077.7,256,-1081
l`+Z/4.223+" -"+Z+`c4,-6.7,10,-10,18,-10 H400000
v`+(40+Z)+`H1014.6
s-87.3,378.7,-272.6,1166c-185.3,787.3,-279.3,1182.3,-282,1185
c-2,6,-10,9,-24,9
c-8,0,-12,-0.7,-12,-2z M`+(1001+Z)+" "+Y+`
h400000v`+(40+Z)+"h-400000z"},kt=function(Z,Y){return"M473,"+(2713+Z+Y)+`
c339.3,-1799.3,509.3,-2700,510,-2702 l`+Z/5.298+" -"+Z+`
c3.3,-7.3,9.3,-11,18,-11 H400000v`+(40+Z)+`H1017.7
s-90.5,478,-276.2,1466c-185.7,988,-279.5,1483,-281.5,1485c-2,6,-10,9,-24,9
c-8,0,-12,-0.7,-12,-2c0,-1.3,-5.3,-32,-16,-92c-50.7,-293.3,-119.7,-693.3,-207,-1200
c0,-1.3,-5.3,8.7,-16,30c-10.7,21.3,-21.3,42.7,-32,64s-16,33,-16,33s-26,-26,-26,-26
s76,-153,76,-153s77,-151,77,-151c0.7,0.7,35.7,202,105,604c67.3,400.7,102,602.7,104,
606zM`+(1001+Z)+" "+Y+"h400000v"+(40+Z)+"H1017.7z"},Zt=function(Z,Y,te){var he=te-54-Y-Z;return"M702 "+(Z+Y)+"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 `+Y+"H400000v"+(40+Z)+"H742z"},Mt=function(Z,Y,te){Y=1e3*Y;var he="";switch(Z){case"sqrtMain":he=We(Y,Pe);break;case"sqrtSize1":he=$e(Y,Pe);break;case"sqrtSize2":he=Lt(Y,Pe);break;case"sqrtSize3":he=bt(Y,Pe);break;case"sqrtSize4":he=kt(Y,Pe);break;case"sqrtTall":he=Zt(Y,Pe,te)}return he},tr={doubleleftarrow:`M262 157
l10-10c34-36 62.7-77 86-123 3.3-8 5-13.3 5-16 0-5.3-6.7-8-20-8-7.3
0-12.2.5-14.5 1.5-2.3 1-4.8 4.5-7.5 10.5-49.3 97.3-121.7 169.3-217 216-28
14-57.3 25-88 33-6.7 2-11 3.8-13 5.5-2 1.7-3 4.2-3 7.5s1 5.8 3 7.5
c2 1.7 6.3 3.5 13 5.5 68 17.3 128.2 47.8 180.5 91.5 52.3 43.7 93.8 96.2 124.5
157.5 9.3 8 15.3 12.3 18 13h6c12-.7 18-4 18-10 0-2-1.7-7-5-15-23.3-46-52-87
-86-123l-10-10h399738v-40H218c328 0 0 0 0 0l-10-8c-26.7-20-65.7-43-117-69 2.7
-2 6-3.7 10-5 36.7-16 72.3-37.3 107-64l10-8h399782v-40z
m8 0v40h399730v-40zm0 194v40h399730v-40z`,doublerightarrow:`M399738 392l
-10 10c-34 36-62.7 77-86 123-3.3 8-5 13.3-5 16 0 5.3 6.7 8 20 8 7.3 0 12.2-.5
14.5-1.5 2.3-1 4.8-4.5 7.5-10.5 49.3-97.3 121.7-169.3 217-216 28-14 57.3-25 88
-33 6.7-2 11-3.8 13-5.5 2-1.7 3-4.2 3-7.5s-1-5.8-3-7.5c-2-1.7-6.3-3.5-13-5.5-68
-17.3-128.2-47.8-180.5-91.5-52.3-43.7-93.8-96.2-124.5-157.5-9.3-8-15.3-12.3-18
-13h-6c-12 .7-18 4-18 10 0 2 1.7 7 5 15 23.3 46 52 87 86 123l10 10H0v40h399782
c-328 0 0 0 0 0l10 8c26.7 20 65.7 43 117 69-2.7 2-6 3.7-10 5-36.7 16-72.3 37.3
-107 64l-10 8H0v40zM0 157v40h399730v-40zm0 194v40h399730v-40z`,leftarrow:`M400000 241H110l3-3c68.7-52.7 113.7-120
135-202 4-14.7 6-23 6-25 0-7.3-7-11-21-11-8 0-13.2.8-15.5 2.5-2.3 1.7-4.2 5.8
-5.5 12.5-1.3 4.7-2.7 10.3-4 17-12 48.7-34.8 92-68.5 130S65.3 228.3 18 247
c-10 4-16 7.7-18 11 0 8.7 6 14.3 18 17 47.3 18.7 87.8 47 121.5 85S196 441.3 208
490c.7 2 1.3 5 2 9s1.2 6.7 1.5 8c.3 1.3 1 3.3 2 6s2.2 4.5 3.5 5.5c1.3 1 3.3
1.8 6 2.5s6 1 10 1c14 0 21-3.7 21-11 0-2-2-10.3-6-25-20-79.3-65-146.7-135-202
l-3-3h399890zM100 241v40h399900v-40z`,leftbrace:`M6 548l-6-6v-35l6-11c56-104 135.3-181.3 238-232 57.3-28.7 117
-45 179-50h399577v120H403c-43.3 7-81 15-113 26-100.7 33-179.7 91-237 174-2.7
5-6 9-10 13-.7 1-7.3 1-20 1H6z`,leftbraceunder:`M0 6l6-6h17c12.688 0 19.313.3 20 1 4 4 7.313 8.3 10 13
35.313 51.3 80.813 93.8 136.5 127.5 55.688 33.7 117.188 55.8 184.5 66.5.688
0 2 .3 4 1 18.688 2.7 76 4.3 172 5h399450v120H429l-6-1c-124.688-8-235-61.7
-331-161C60.687 138.7 32.312 99.3 7 54L0 41V6z`,leftgroup:`M400000 80
H435C64 80 168.3 229.4 21 260c-5.9 1.2-18 0-18 0-2 0-3-1-3-3v-38C76 61 257 0
435 0h399565z`,leftgroupunder:`M400000 262
H435C64 262 168.3 112.6 21 82c-5.9-1.2-18 0-18 0-2 0-3 1-3 3v38c76 158 257 219
435 219h399565z`,leftharpoon:`M0 267c.7 5.3 3 10 7 14h399993v-40H93c3.3
-3.3 10.2-9.5 20.5-18.5s17.8-15.8 22.5-20.5c50.7-52 88-110.3 112-175 4-11.3 5
-18.3 3-21-1.3-4-7.3-6-18-6-8 0-13 .7-15 2s-4.7 6.7-8 16c-42 98.7-107.3 174.7
-196 228-6.7 4.7-10.7 8-12 10-1.3 2-2 5.7-2 11zm100-26v40h399900v-40z`,leftharpoonplus:`M0 267c.7 5.3 3 10 7 14h399993v-40H93c3.3-3.3 10.2-9.5
20.5-18.5s17.8-15.8 22.5-20.5c50.7-52 88-110.3 112-175 4-11.3 5-18.3 3-21-1.3
-4-7.3-6-18-6-8 0-13 .7-15 2s-4.7 6.7-8 16c-42 98.7-107.3 174.7-196 228-6.7 4.7
-10.7 8-12 10-1.3 2-2 5.7-2 11zm100-26v40h399900v-40zM0 435v40h400000v-40z
m0 0v40h400000v-40z`,leftharpoondown:`M7 241c-4 4-6.333 8.667-7 14 0 5.333.667 9 2 11s5.333
5.333 12 10c90.667 54 156 130 196 228 3.333 10.667 6.333 16.333 9 17 2 .667 5
1 9 1h5c10.667 0 16.667-2 18-6 2-2.667 1-9.667-3-21-32-87.333-82.667-157.667
-152-211l-3-3h399907v-40zM93 281 H400000 v-40L7 241z`,leftharpoondownplus:`M7 435c-4 4-6.3 8.7-7 14 0 5.3.7 9 2 11s5.3 5.3 12
10c90.7 54 156 130 196 228 3.3 10.7 6.3 16.3 9 17 2 .7 5 1 9 1h5c10.7 0 16.7
-2 18-6 2-2.7 1-9.7-3-21-32-87.3-82.7-157.7-152-211l-3-3h399907v-40H7zm93 0
v40h399900v-40zM0 241v40h399900v-40zm0 0v40h399900v-40z`,lefthook:`M400000 281 H103s-33-11.2-61-33.5S0 197.3 0 164s14.2-61.2 42.5
-83.5C70.8 58.2 104 47 142 47 c16.7 0 25 6.7 25 20 0 12-8.7 18.7-26 20-40 3.3
-68.7 15.7-86 37-10 12-15 25.3-15 40 0 22.7 9.8 40.7 29.5 54 19.7 13.3 43.5 21
71.5 23h399859zM103 281v-40h399897v40z`,leftlinesegment:`M40 281 V428 H0 V94 H40 V241 H400000 v40z
M40 281 V428 H0 V94 H40 V241 H400000 v40z`,leftmapsto:`M40 281 V448H0V74H40V241H400000v40z
M40 281 V448H0V74H40V241H400000v40z`,leftToFrom:`M0 147h400000v40H0zm0 214c68 40 115.7 95.7 143 167h22c15.3 0 23
-.3 23-1 0-1.3-5.3-13.7-16-37-18-35.3-41.3-69-70-101l-7-8h399905v-40H95l7-8
c28.7-32 52-65.7 70-101 10.7-23.3 16-35.7 16-37 0-.7-7.7-1-23-1h-22C115.7 265.3
68 321 0 361zm0-174v-40h399900v40zm100 154v40h399900v-40z`,longequal:`M0 50 h400000 v40H0z m0 194h40000v40H0z
M0 50 h400000 v40H0z m0 194h40000v40H0z`,midbrace:`M200428 334
c-100.7-8.3-195.3-44-280-108-55.3-42-101.7-93-139-153l-9-14c-2.7 4-5.7 8.7-9 14
-53.3 86.7-123.7 153-211 199-66.7 36-137.3 56.3-212 62H0V214h199568c178.3-11.7
311.7-78.3 403-201 6-8 9.7-12 11-12 .7-.7 6.7-1 18-1s17.3.3 18 1c1.3 0 5 4 11
12 44.7 59.3 101.3 106.3 170 141s145.3 54.3 229 60h199572v120z`,midbraceunder:`M199572 214
c100.7 8.3 195.3 44 280 108 55.3 42 101.7 93 139 153l9 14c2.7-4 5.7-8.7 9-14
53.3-86.7 123.7-153 211-199 66.7-36 137.3-56.3 212-62h199568v120H200432c-178.3
11.7-311.7 78.3-403 201-6 8-9.7 12-11 12-.7.7-6.7 1-18 1s-17.3-.3-18-1c-1.3 0
-5-4-11-12-44.7-59.3-101.3-106.3-170-141s-145.3-54.3-229-60H0V214z`,oiintSize1:`M512.6 71.6c272.6 0 320.3 106.8 320.3 178.2 0 70.8-47.7 177.6
-320.3 177.6S193.1 320.6 193.1 249.8c0-71.4 46.9-178.2 319.5-178.2z
m368.1 178.2c0-86.4-60.9-215.4-368.1-215.4-306.4 0-367.3 129-367.3 215.4 0 85.8
60.9 214.8 367.3 214.8 307.2 0 368.1-129 368.1-214.8z`,oiintSize2:`M757.8 100.1c384.7 0 451.1 137.6 451.1 230 0 91.3-66.4 228.8
-451.1 228.8-386.3 0-452.7-137.5-452.7-228.8 0-92.4 66.4-230 452.7-230z
m502.4 230c0-111.2-82.4-277.2-502.4-277.2s-504 166-504 277.2
c0 110 84 276 504 276s502.4-166 502.4-276z`,oiiintSize1:`M681.4 71.6c408.9 0 480.5 106.8 480.5 178.2 0 70.8-71.6 177.6
-480.5 177.6S202.1 320.6 202.1 249.8c0-71.4 70.5-178.2 479.3-178.2z
m525.8 178.2c0-86.4-86.8-215.4-525.7-215.4-437.9 0-524.7 129-524.7 215.4 0
85.8 86.8 214.8 524.7 214.8 438.9 0 525.7-129 525.7-214.8z`,oiiintSize2:`M1021.2 53c603.6 0 707.8 165.8 707.8 277.2 0 110-104.2 275.8
-707.8 275.8-606 0-710.2-165.8-710.2-275.8C311 218.8 415.2 53 1021.2 53z
m770.4 277.1c0-131.2-126.4-327.6-770.5-327.6S248.4 198.9 248.4 330.1
c0 130 128.8 326.4 772.7 326.4s770.5-196.4 770.5-326.4z`,rightarrow:`M0 241v40h399891c-47.3 35.3-84 78-110 128
-16.7 32-27.7 63.7-33 95 0 1.3-.2 2.7-.5 4-.3 1.3-.5 2.3-.5 3 0 7.3 6.7 11 20
11 8 0 13.2-.8 15.5-2.5 2.3-1.7 4.2-5.5 5.5-11.5 2-13.3 5.7-27 11-41 14.7-44.7
39-84.5 73-119.5s73.7-60.2 119-75.5c6-2 9-5.7 9-11s-3-9-9-11c-45.3-15.3-85
-40.5-119-75.5s-58.3-74.8-73-119.5c-4.7-14-8.3-27.3-11-40-1.3-6.7-3.2-10.8-5.5
-12.5-2.3-1.7-7.5-2.5-15.5-2.5-14 0-21 3.7-21 11 0 2 2 10.3 6 25 20.7 83.3 67
151.7 139 205zm0 0v40h399900v-40z`,rightbrace:`M400000 542l
-6 6h-17c-12.7 0-19.3-.3-20-1-4-4-7.3-8.3-10-13-35.3-51.3-80.8-93.8-136.5-127.5
s-117.2-55.8-184.5-66.5c-.7 0-2-.3-4-1-18.7-2.7-76-4.3-172-5H0V214h399571l6 1
c124.7 8 235 61.7 331 161 31.3 33.3 59.7 72.7 85 118l7 13v35z`,rightbraceunder:`M399994 0l6 6v35l-6 11c-56 104-135.3 181.3-238 232-57.3
28.7-117 45-179 50H-300V214h399897c43.3-7 81-15 113-26 100.7-33 179.7-91 237
-174 2.7-5 6-9 10-13 .7-1 7.3-1 20-1h17z`,rightgroup:`M0 80h399565c371 0 266.7 149.4 414 180 5.9 1.2 18 0 18 0 2 0
3-1 3-3v-38c-76-158-257-219-435-219H0z`,rightgroupunder:`M0 262h399565c371 0 266.7-149.4 414-180 5.9-1.2 18 0 18
0 2 0 3 1 3 3v38c-76 158-257 219-435 219H0z`,rightharpoon:`M0 241v40h399993c4.7-4.7 7-9.3 7-14 0-9.3
-3.7-15.3-11-18-92.7-56.7-159-133.7-199-231-3.3-9.3-6-14.7-8-16-2-1.3-7-2-15-2
-10.7 0-16.7 2-18 6-2 2.7-1 9.7 3 21 15.3 42 36.7 81.8 64 119.5 27.3 37.7 58
69.2 92 94.5zm0 0v40h399900v-40z`,rightharpoonplus:`M0 241v40h399993c4.7-4.7 7-9.3 7-14 0-9.3-3.7-15.3-11
-18-92.7-56.7-159-133.7-199-231-3.3-9.3-6-14.7-8-16-2-1.3-7-2-15-2-10.7 0-16.7
2-18 6-2 2.7-1 9.7 3 21 15.3 42 36.7 81.8 64 119.5 27.3 37.7 58 69.2 92 94.5z
m0 0v40h399900v-40z m100 194v40h399900v-40zm0 0v40h399900v-40z`,rightharpoondown:`M399747 511c0 7.3 6.7 11 20 11 8 0 13-.8 15-2.5s4.7-6.8
8-15.5c40-94 99.3-166.3 178-217 13.3-8 20.3-12.3 21-13 5.3-3.3 8.5-5.8 9.5
-7.5 1-1.7 1.5-5.2 1.5-10.5s-2.3-10.3-7-15H0v40h399908c-34 25.3-64.7 57-92 95
-27.3 38-48.7 77.7-64 119-3.3 8.7-5 14-5 16zM0 241v40h399900v-40z`,rightharpoondownplus:`M399747 705c0 7.3 6.7 11 20 11 8 0 13-.8
15-2.5s4.7-6.8 8-15.5c40-94 99.3-166.3 178-217 13.3-8 20.3-12.3 21-13 5.3-3.3
8.5-5.8 9.5-7.5 1-1.7 1.5-5.2 1.5-10.5s-2.3-10.3-7-15H0v40h399908c-34 25.3
-64.7 57-92 95-27.3 38-48.7 77.7-64 119-3.3 8.7-5 14-5 16zM0 435v40h399900v-40z
m0-194v40h400000v-40zm0 0v40h400000v-40z`,righthook:`M399859 241c-764 0 0 0 0 0 40-3.3 68.7-15.7 86-37 10-12 15-25.3
15-40 0-22.7-9.8-40.7-29.5-54-19.7-13.3-43.5-21-71.5-23-17.3-1.3-26-8-26-20 0
-13.3 8.7-20 26-20 38 0 71 11.2 99 33.5 0 0 7 5.6 21 16.7 14 11.2 21 33.5 21
66.8s-14 61.2-42 83.5c-28 22.3-61 33.5-99 33.5L0 241z M0 281v-40h399859v40z`,rightlinesegment:`M399960 241 V94 h40 V428 h-40 V281 H0 v-40z
M399960 241 V94 h40 V428 h-40 V281 H0 v-40z`,rightToFrom:`M400000 167c-70.7-42-118-97.7-142-167h-23c-15.3 0-23 .3-23
1 0 1.3 5.3 13.7 16 37 18 35.3 41.3 69 70 101l7 8H0v40h399905l-7 8c-28.7 32
-52 65.7-70 101-10.7 23.3-16 35.7-16 37 0 .7 7.7 1 23 1h23c24-69.3 71.3-125 142
-167z M100 147v40h399900v-40zM0 341v40h399900v-40z`,twoheadleftarrow:`M0 167c68 40
115.7 95.7 143 167h22c15.3 0 23-.3 23-1 0-1.3-5.3-13.7-16-37-18-35.3-41.3-69
-70-101l-7-8h125l9 7c50.7 39.3 85 86 103 140h46c0-4.7-6.3-18.7-19-42-18-35.3
-40-67.3-66-96l-9-9h399716v-40H284l9-9c26-28.7 48-60.7 66-96 12.7-23.333 19
-37.333 19-42h-46c-18 54-52.3 100.7-103 140l-9 7H95l7-8c28.7-32 52-65.7 70-101
10.7-23.333 16-35.7 16-37 0-.7-7.7-1-23-1h-22C115.7 71.3 68 127 0 167z`,twoheadrightarrow:`M400000 167
c-68-40-115.7-95.7-143-167h-22c-15.3 0-23 .3-23 1 0 1.3 5.3 13.7 16 37 18 35.3
41.3 69 70 101l7 8h-125l-9-7c-50.7-39.3-85-86-103-140h-46c0 4.7 6.3 18.7 19 42
18 35.3 40 67.3 66 96l9 9H0v40h399716l-9 9c-26 28.7-48 60.7-66 96-12.7 23.333
-19 37.333-19 42h46c18-54 52.3-100.7 103-140l9-7h125l-7 8c-28.7 32-52 65.7-70
101-10.7 23.333-16 35.7-16 37 0 .7 7.7 1 23 1h22c27.3-71.3 75-127 143-167z`,tilde1:`M200 55.538c-77 0-168 73.953-177 73.953-3 0-7
-2.175-9-5.437L2 97c-1-2-2-4-2-6 0-4 2-7 5-9l20-12C116 12 171 0 207 0c86 0
114 68 191 68 78 0 168-68 177-68 4 0 7 2 9 5l12 19c1 2.175 2 4.35 2 6.525 0
4.35-2 7.613-5 9.788l-19 13.05c-92 63.077-116.937 75.308-183 76.128
-68.267.847-113-73.952-191-73.952z`,tilde2:`M344 55.266c-142 0-300.638 81.316-311.5 86.418
-8.01 3.762-22.5 10.91-23.5 5.562L1 120c-1-2-1-3-1-4 0-5 3-9 8-10l18.4-9C160.9
31.9 283 0 358 0c148 0 188 122 331 122s314-97 326-97c4 0 8 2 10 7l7 21.114
c1 2.14 1 3.21 1 4.28 0 5.347-3 9.626-7 10.696l-22.3 12.622C852.6 158.372 751
181.476 676 181.476c-149 0-189-126.21-332-126.21z`,tilde3:`M786 59C457 59 32 175.242 13 175.242c-6 0-10-3.457
-11-10.37L.15 138c-1-7 3-12 10-13l19.2-6.4C378.4 40.7 634.3 0 804.3 0c337 0
411.8 157 746.8 157 328 0 754-112 773-112 5 0 10 3 11 9l1 14.075c1 8.066-.697
16.595-6.697 17.492l-21.052 7.31c-367.9 98.146-609.15 122.696-778.15 122.696
-338 0-409-156.573-744-156.573z`,tilde4:`M786 58C457 58 32 177.487 13 177.487c-6 0-10-3.345
-11-10.035L.15 143c-1-7 3-12 10-13l22-6.7C381.2 35 637.15 0 807.15 0c337 0 409
177 744 177 328 0 754-127 773-127 5 0 10 3 11 9l1 14.794c1 7.805-3 13.38-9
14.495l-20.7 5.574c-366.85 99.79-607.3 139.372-776.3 139.372-338 0-409
-175.236-744-175.236z`,vec:`M377 20c0-5.333 1.833-10 5.5-14S391 0 397 0c4.667 0 8.667 1.667 12 5
3.333 2.667 6.667 9 10 19 6.667 24.667 20.333 43.667 41 57 7.333 4.667 11
10.667 11 18 0 6-1 10-3 12s-6.667 5-14 9c-28.667 14.667-53.667 35.667-75 63
-1.333 1.333-3.167 3.5-5.5 6.5s-4 4.833-5 5.5c-1 .667-2.5 1.333-4.5 2s-4.333 1
-7 1c-4.667 0-9.167-1.833-13.5-5.5S337 184 337 178c0-12.667 15.667-32.333 47-59
H213l-171-1c-8.667-6-13-12.333-13-19 0-4.667 4.333-11.333 13-20h359
c-16-25.333-24-45-24-59z`,widehat1:`M529 0h5l519 115c5 1 9 5 9 10 0 1-1 2-1 3l-4 22
c-1 5-5 9-11 9h-2L532 67 19 159h-2c-5 0-9-4-11-9l-5-22c-1-6 2-12 8-13z`,widehat2:`M1181 0h2l1171 176c6 0 10 5 10 11l-2 23c-1 6-5 10
-11 10h-1L1182 67 15 220h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z`,widehat3:`M1181 0h2l1171 236c6 0 10 5 10 11l-2 23c-1 6-5 10
-11 10h-1L1182 67 15 280h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z`,widehat4:`M1181 0h2l1171 296c6 0 10 5 10 11l-2 23c-1 6-5 10
-11 10h-1L1182 67 15 340h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z`,widecheck1:`M529,159h5l519,-115c5,-1,9,-5,9,-10c0,-1,-1,-2,-1,-3l-4,-22c-1,
-5,-5,-9,-11,-9h-2l-512,92l-513,-92h-2c-5,0,-9,4,-11,9l-5,22c-1,6,2,12,8,13z`,widecheck2:`M1181,220h2l1171,-176c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10,
-11,-10h-1l-1168,153l-1167,-153h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z`,widecheck3:`M1181,280h2l1171,-236c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10,
-11,-10h-1l-1168,213l-1167,-213h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z`,widecheck4:`M1181,340h2l1171,-296c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10,
-11,-10h-1l-1168,273l-1167,-273h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z`,baraboveleftarrow:`M400000 620h-399890l3 -3c68.7 -52.7 113.7 -120 135 -202
c4 -14.7 6 -23 6 -25c0 -7.3 -7 -11 -21 -11c-8 0 -13.2 0.8 -15.5 2.5
c-2.3 1.7 -4.2 5.8 -5.5 12.5c-1.3 4.7 -2.7 10.3 -4 17c-12 48.7 -34.8 92 -68.5 130
s-74.2 66.3 -121.5 85c-10 4 -16 7.7 -18 11c0 8.7 6 14.3 18 17c47.3 18.7 87.8 47
121.5 85s56.5 81.3 68.5 130c0.7 2 1.3 5 2 9s1.2 6.7 1.5 8c0.3 1.3 1 3.3 2 6
s2.2 4.5 3.5 5.5c1.3 1 3.3 1.8 6 2.5s6 1 10 1c14 0 21 -3.7 21 -11
c0 -2 -2 -10.3 -6 -25c-20 -79.3 -65 -146.7 -135 -202l-3 -3h399890z
M100 620v40h399900v-40z M0 241v40h399900v-40zM0 241v40h399900v-40z`,rightarrowabovebar:`M0 241v40h399891c-47.3 35.3-84 78-110 128-16.7 32
-27.7 63.7-33 95 0 1.3-.2 2.7-.5 4-.3 1.3-.5 2.3-.5 3 0 7.3 6.7 11 20 11 8 0
13.2-.8 15.5-2.5 2.3-1.7 4.2-5.5 5.5-11.5 2-13.3 5.7-27 11-41 14.7-44.7 39
-84.5 73-119.5s73.7-60.2 119-75.5c6-2 9-5.7 9-11s-3-9-9-11c-45.3-15.3-85-40.5
-119-75.5s-58.3-74.8-73-119.5c-4.7-14-8.3-27.3-11-40-1.3-6.7-3.2-10.8-5.5
-12.5-2.3-1.7-7.5-2.5-15.5-2.5-14 0-21 3.7-21 11 0 2 2 10.3 6 25 20.7 83.3 67
151.7 139 205zm96 379h399894v40H0zm0 0h399904v40H0z`,baraboveshortleftharpoon:`M507,435c-4,4,-6.3,8.7,-7,14c0,5.3,0.7,9,2,11
c1.3,2,5.3,5.3,12,10c90.7,54,156,130,196,228c3.3,10.7,6.3,16.3,9,17
c2,0.7,5,1,9,1c0,0,5,0,5,0c10.7,0,16.7,-2,18,-6c2,-2.7,1,-9.7,-3,-21
c-32,-87.3,-82.7,-157.7,-152,-211c0,0,-3,-3,-3,-3l399351,0l0,-40
c-398570,0,-399437,0,-399437,0z M593 435 v40 H399500 v-40z
M0 281 v-40 H399908 v40z M0 281 v-40 H399908 v40z`,rightharpoonaboveshortbar:`M0,241 l0,40c399126,0,399993,0,399993,0
c4.7,-4.7,7,-9.3,7,-14c0,-9.3,-3.7,-15.3,-11,-18c-92.7,-56.7,-159,-133.7,-199,
-231c-3.3,-9.3,-6,-14.7,-8,-16c-2,-1.3,-7,-2,-15,-2c-10.7,0,-16.7,2,-18,6
c-2,2.7,-1,9.7,3,21c15.3,42,36.7,81.8,64,119.5c27.3,37.7,58,69.2,92,94.5z
M0 241 v40 H399908 v-40z M0 475 v-40 H399500 v40z M0 475 v-40 H399500 v40z`,shortbaraboveleftharpoon:`M7,435c-4,4,-6.3,8.7,-7,14c0,5.3,0.7,9,2,11
c1.3,2,5.3,5.3,12,10c90.7,54,156,130,196,228c3.3,10.7,6.3,16.3,9,17c2,0.7,5,1,9,
1c0,0,5,0,5,0c10.7,0,16.7,-2,18,-6c2,-2.7,1,-9.7,-3,-21c-32,-87.3,-82.7,-157.7,
-152,-211c0,0,-3,-3,-3,-3l399907,0l0,-40c-399126,0,-399993,0,-399993,0z
M93 435 v40 H400000 v-40z M500 241 v40 H400000 v-40z M500 241 v40 H400000 v-40z`,shortrightharpoonabovebar:`M53,241l0,40c398570,0,399437,0,399437,0
c4.7,-4.7,7,-9.3,7,-14c0,-9.3,-3.7,-15.3,-11,-18c-92.7,-56.7,-159,-133.7,-199,
-231c-3.3,-9.3,-6,-14.7,-8,-16c-2,-1.3,-7,-2,-15,-2c-10.7,0,-16.7,2,-18,6
c-2,2.7,-1,9.7,3,21c15.3,42,36.7,81.8,64,119.5c27.3,37.7,58,69.2,92,94.5z
M500 241 v40 H399408 v-40z M500 435 v40 H400000 v-40z`},je=function(){function Ke(Y){this.children=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,this.children=Y,this.classes=[],this.height=0,this.depth=0,this.maxFontSize=0,this.style={}}var Z=Ke.prototype;return Z.hasClass=function(te){return A.contains(this.classes,te)},Z.toNode=function(){for(var te=document.createDocumentFragment(),he=0;he<this.children.length;he++)te.appendChild(this.children[he].toNode());return te},Z.toMarkup=function(){for(var te="",he=0;he<this.children.length;he++)te+=this.children[he].toMarkup();return te},Z.toText=function(){var te=function(Se){return Se.toText()};return this.children.map(te).join("")},Ke}(),wt=function(Z){return Z.filter(function(Y){return Y}).join(" ")},Ft=function(Z,Y,te){if(this.classes=Z||[],this.attributes={},this.height=0,this.depth=0,this.maxFontSize=0,this.style=te||{},Y){Y.style.isTight()&&this.classes.push("mtight");var he=Y.getColor();he&&(this.style.color=he)}},tt=function(Z){var Y=document.createElement(Z);Y.className=wt(this.classes);for(var te in this.style)this.style.hasOwnProperty(te)&&(Y.style[te]=this.style[te]);for(var he in this.attributes)this.attributes.hasOwnProperty(he)&&Y.setAttribute(he,this.attributes[he]);for(var Se=0;Se<this.children.length;Se++)Y.appendChild(this.children[Se].toNode());return Y},gt=function(Z){var Y="<"+Z;this.classes.length&&(Y+=' class="'+A.escape(wt(this.classes))+'"');var te="";for(var he in this.style)this.style.hasOwnProperty(he)&&(te+=A.hyphenate(he)+":"+this.style[he]+";");te&&(Y+=' style="'+A.escape(te)+'"');for(var Se in this.attributes)this.attributes.hasOwnProperty(Se)&&(Y+=" "+Se+'="'+A.escape(this.attributes[Se])+'"');Y+=">";for(var Ve=0;Ve<this.children.length;Ve++)Y+=this.children[Ve].toMarkup();return Y+="</"+Z+">",Y},ft=function(){function Ke(Y,te,he,Se){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,Ft.call(this,Y,he,Se),this.children=te||[]}var Z=Ke.prototype;return Z.setAttribute=function(te,he){this.attributes[te]=he},Z.hasClass=function(te){return A.contains(this.classes,te)},Z.toNode=function(){return tt.call(this,"span")},Z.toMarkup=function(){return gt.call(this,"span")},Ke}(),Qe=function(){function Ke(Y,te,he,Se){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,Ft.call(this,te,Se),this.children=he||[],this.setAttribute("href",Y)}var Z=Ke.prototype;return Z.setAttribute=function(te,he){this.attributes[te]=he},Z.hasClass=function(te){return A.contains(this.classes,te)},Z.toNode=function(){return tt.call(this,"a")},Z.toMarkup=function(){return gt.call(this,"a")},Ke}(),Ne=function(){function Ke(Y,te,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=te,this.src=Y,this.classes=["mord"],this.style=he}var Z=Ke.prototype;return Z.hasClass=function(te){return A.contains(this.classes,te)},Z.toNode=function(){var te=document.createElement("img");te.src=this.src,te.alt=this.alt,te.className="mord";for(var he in this.style)this.style.hasOwnProperty(he)&&(te.style[he]=this.style[he]);return te},Z.toMarkup=function(){var te="<img src='"+this.src+" 'alt='"+this.alt+"' ",he="";for(var Se in this.style)this.style.hasOwnProperty(Se)&&(he+=A.hyphenate(Se)+":"+this.style[Se]+";");return he&&(te+=' style="'+A.escape(he)+'"'),te+="'/>",te},Ke}(),xe={\u00EE:"\u0131\u0302",\u00EF:"\u0131\u0308",\u00ED:"\u0131\u0301",\u00EC:"\u0131\u0300"},ke=function(){function Ke(Y,te,he,Se,Ve,Pt,Ut,ar){this.text=void 0,this.height=void 0,this.depth=void 0,this.italic=void 0,this.skew=void 0,this.width=void 0,this.maxFontSize=void 0,this.classes=void 0,this.style=void 0,this.text=Y,this.height=te||0,this.depth=he||0,this.italic=Se||0,this.skew=Ve||0,this.width=Pt||0,this.classes=Ut||[],this.style=ar||{},this.maxFontSize=0;var Ar=ie(this.text.charCodeAt(0));Ar&&this.classes.push(Ar+"_fallback"),/[îïíì]/.test(this.text)&&(this.text=xe[this.text])}var Z=Ke.prototype;return Z.hasClass=function(te){return A.contains(this.classes,te)},Z.toNode=function(){var te=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=wt(this.classes));for(var Se in this.style)this.style.hasOwnProperty(Se)&&(he=he||document.createElement("span"),he.style[Se]=this.style[Se]);return he?(he.appendChild(te),he):te},Z.toMarkup=function(){var te=!1,he="<span";this.classes.length&&(te=!0,he+=' class="',he+=A.escape(wt(this.classes)),he+='"');var Se="";this.italic>0&&(Se+="margin-right:"+this.italic+"em;");for(var Ve in this.style)this.style.hasOwnProperty(Ve)&&(Se+=A.hyphenate(Ve)+":"+this.style[Ve]+";");Se&&(te=!0,he+=' style="'+A.escape(Se)+'"');var Pt=A.escape(this.text);return te?(he+=">",he+=Pt,he+="</span>",he):Pt},Ke}(),Ge=function(){function Ke(Y,te){this.children=void 0,this.attributes=void 0,this.children=Y||[],this.attributes=te||{}}var Z=Ke.prototype;return Z.toNode=function(){var te="http://www.w3.org/2000/svg",he=document.createElementNS(te,"svg");for(var Se in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,Se)&&he.setAttribute(Se,this.attributes[Se]);for(var Ve=0;Ve<this.children.length;Ve++)he.appendChild(this.children[Ve].toNode());return he},Z.toMarkup=function(){var te="<svg";for(var he in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,he)&&(te+=" "+he+"='"+this.attributes[he]+"'");te+=">";for(var Se=0;Se<this.children.length;Se++)te+=this.children[Se].toMarkup();return te+="</svg>",te},Ke}(),He=function(){function Ke(Y,te){this.pathName=void 0,this.alternate=void 0,this.pathName=Y,this.alternate=te}var Z=Ke.prototype;return Z.toNode=function(){var te="http://www.w3.org/2000/svg",he=document.createElementNS(te,"path");return this.alternate?he.setAttribute("d",this.alternate):he.setAttribute("d",tr[this.pathName]),he},Z.toMarkup=function(){return this.alternate?"<path d='"+this.alternate+"'/>":"<path d='"+tr[this.pathName]+"'/>"},Ke}(),Ye=function(){function Ke(Y){this.attributes=void 0,this.attributes=Y||{}}var Z=Ke.prototype;return Z.toNode=function(){var te="http://www.w3.org/2000/svg",he=document.createElementNS(te,"line");for(var Se in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,Se)&&he.setAttribute(Se,this.attributes[Se]);return he},Z.toMarkup=function(){var te="<line";for(var he in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,he)&&(te+=" "+he+"='"+this.attributes[he]+"'");return te+="/>",te},Ke}();function dt(Ke){if(Ke instanceof ke)return Ke;throw new Error("Expected symbolNode but got "+String(Ke)+".")}function xt(Ke){if(Ke instanceof ft)return Ke;throw new Error("Expected span<HtmlDomNode> but got "+String(Ke)+".")}var nr={"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]}},qt={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]},Me={\u00C5:"A",\u00C7:"C",\u00D0:"D",\u00DE:"o",\u00E5:"a",\u00E7:"c",\u00F0:"d",\u00FE:"o",\u0410:"A",\u0411:"B",\u0412:"B",\u0413:"F",\u0414:"A",\u0415:"E",\u0416:"K",\u0417:"3",\u0418:"N",\u0419:"N",\u041A:"K",\u041B:"N",\u041C:"M",\u041D:"H",\u041E:"O",\u041F:"N",\u0420:"P",\u0421:"C",\u0422:"T",\u0423:"y",\u0424:"O",\u0425:"X",\u0426:"U",\u0427:"h",\u0428:"W",\u0429:"W",\u042A:"B",\u042B:"X",\u042C:"B",\u042D:"3",\u042E:"X",\u042F:"R",\u0430:"a",\u0431:"b",\u0432:"a",\u0433:"r",\u0434:"y",\u0435:"e",\u0436:"m",\u0437:"e",\u0438:"n",\u0439:"n",\u043A:"n",\u043B:"n",\u043C:"m",\u043D:"n",\u043E:"o",\u043F:"n",\u0440:"p",\u0441:"c",\u0442:"o",\u0443:"y",\u0444:"b",\u0445:"x",\u0446:"n",\u0447:"n",\u0448:"w",\u0449:"w",\u044A:"a",\u044B:"m",\u044C:"a",\u044D:"e",\u044E:"m",\u044F:"r"};function qe(Ke,Z){nr[Ke]=Z}function Vt(Ke,Z,Y){if(!nr[Z])throw new Error("Font metrics not found for font: "+Z+".");var te=Ke.charCodeAt(0),he=nr[Z][te];if(!he&&Ke[0]in Me&&(te=Me[Ke[0]].charCodeAt(0),he=nr[Z][te]),!he&&Y==="text"&&Ae(te)&&(he=nr[Z][77]),he)return{depth:he[0],height:he[1],italic:he[2],skew:he[3],width:he[4]}}var Rt={};function zt(Ke){var Z;if(Ke>=5?Z=0:Ke>=3?Z=1:Z=2,!Rt[Z]){var Y=Rt[Z]={cssEmPerMu:qt.quad[Z]/18};for(var te in qt)qt.hasOwnProperty(te)&&(Y[te]=qt[te][Z])}return Rt[Z]}var Ht={bin:1,close:1,inner:1,open:1,punct:1,rel:1},Ct={"accent-token":1,mathord:1,"op-token":1,spacing:1,textord:1},Xt={math:{},text:{}},ze=Xt;function ce(Ke,Z,Y,te,he,Se){Xt[Ke][he]={font:Z,group:Y,replace:te},Se&&te&&(Xt[Ke][te]=Xt[Ke][he])}var pe="math",It="text",Te="main",ct="ams",Wt="accent-token",Tt="bin",Ce="close",St="inner",ye="mathord",Je="op-token",yt="open",Bt="punct",Be="rel",Dr="spacing",At="textord";ce(pe,Te,Be,"\u2261","\\equiv",!0),ce(pe,Te,Be,"\u227A","\\prec",!0),ce(pe,Te,Be,"\u227B","\\succ",!0),ce(pe,Te,Be,"\u223C","\\sim",!0),ce(pe,Te,Be,"\u22A5","\\perp"),ce(pe,Te,Be,"\u2AAF","\\preceq",!0),ce(pe,Te,Be,"\u2AB0","\\succeq",!0),ce(pe,Te,Be,"\u2243","\\simeq",!0),ce(pe,Te,Be,"\u2223","\\mid",!0),ce(pe,Te,Be,"\u226A","\\ll",!0),ce(pe,Te,Be,"\u226B","\\gg",!0),ce(pe,Te,Be,"\u224D","\\asymp",!0),ce(pe,Te,Be,"\u2225","\\parallel"),ce(pe,Te,Be,"\u22C8","\\bowtie",!0),ce(pe,Te,Be,"\u2323","\\smile",!0),ce(pe,Te,Be,"\u2291","\\sqsubseteq",!0),ce(pe,Te,Be,"\u2292","\\sqsupseteq",!0),ce(pe,Te,Be,"\u2250","\\doteq",!0),ce(pe,Te,Be,"\u2322","\\frown",!0),ce(pe,Te,Be,"\u220B","\\ni",!0),ce(pe,Te,Be,"\u221D","\\propto",!0),ce(pe,Te,Be,"\u22A2","\\vdash",!0),ce(pe,Te,Be,"\u22A3","\\dashv",!0),ce(pe,Te,Be,"\u220B","\\owns"),ce(pe,Te,Bt,".","\\ldotp"),ce(pe,Te,Bt,"\u22C5","\\cdotp"),ce(pe,Te,At,"#","\\#"),ce(It,Te,At,"#","\\#"),ce(pe,Te,At,"&","\\&"),ce(It,Te,At,"&","\\&"),ce(pe,Te,At,"\u2135","\\aleph",!0),ce(pe,Te,At,"\u2200","\\forall",!0),ce(pe,Te,At,"\u210F","\\hbar",!0),ce(pe,Te,At,"\u2203","\\exists",!0),ce(pe,Te,At,"\u2207","\\nabla",!0),ce(pe,Te,At,"\u266D","\\flat",!0),ce(pe,Te,At,"\u2113","\\ell",!0),ce(pe,Te,At,"\u266E","\\natural",!0),ce(pe,Te,At,"\u2663","\\clubsuit",!0),ce(pe,Te,At,"\u2118","\\wp",!0),ce(pe,Te,At,"\u266F","\\sharp",!0),ce(pe,Te,At,"\u2662","\\diamondsuit",!0),ce(pe,Te,At,"\u211C","\\Re",!0),ce(pe,Te,At,"\u2661","\\heartsuit",!0),ce(pe,Te,At,"\u2111","\\Im",!0),ce(pe,Te,At,"\u2660","\\spadesuit",!0),ce(It,Te,At,"\xA7","\\S",!0),ce(It,Te,At,"\xB6","\\P",!0),ce(pe,Te,At,"\u2020","\\dag"),ce(It,Te,At,"\u2020","\\dag"),ce(It,Te,At,"\u2020","\\textdagger"),ce(pe,Te,At,"\u2021","\\ddag"),ce(It,Te,At,"\u2021","\\ddag"),ce(It,Te,At,"\u2021","\\textdaggerdbl"),ce(pe,Te,Ce,"\u23B1","\\rmoustache",!0),ce(pe,Te,yt,"\u23B0","\\lmoustache",!0),ce(pe,Te,Ce,"\u27EF","\\rgroup",!0),ce(pe,Te,yt,"\u27EE","\\lgroup",!0),ce(pe,Te,Tt,"\u2213","\\mp",!0),ce(pe,Te,Tt,"\u2296","\\ominus",!0),ce(pe,Te,Tt,"\u228E","\\uplus",!0),ce(pe,Te,Tt,"\u2293","\\sqcap",!0),ce(pe,Te,Tt,"\u2217","\\ast"),ce(pe,Te,Tt,"\u2294","\\sqcup",!0),ce(pe,Te,Tt,"\u25EF","\\bigcirc"),ce(pe,Te,Tt,"\u2219","\\bullet"),ce(pe,Te,Tt,"\u2021","\\ddagger"),ce(pe,Te,Tt,"\u2240","\\wr",!0),ce(pe,Te,Tt,"\u2A3F","\\amalg"),ce(pe,Te,Tt,"&","\\And"),ce(pe,Te,Be,"\u27F5","\\longleftarrow",!0),ce(pe,Te,Be,"\u21D0","\\Leftarrow",!0),ce(pe,Te,Be,"\u27F8","\\Longleftarrow",!0),ce(pe,Te,Be,"\u27F6","\\longrightarrow",!0),ce(pe,Te,Be,"\u21D2","\\Rightarrow",!0),ce(pe,Te,Be,"\u27F9","\\Longrightarrow",!0),ce(pe,Te,Be,"\u2194","\\leftrightarrow",!0),ce(pe,Te,Be,"\u27F7","\\longleftrightarrow",!0),ce(pe,Te,Be,"\u21D4","\\Leftrightarrow",!0),ce(pe,Te,Be,"\u27FA","\\Longleftrightarrow",!0),ce(pe,Te,Be,"\u21A6","\\mapsto",!0),ce(pe,Te,Be,"\u27FC","\\longmapsto",!0),ce(pe,Te,Be,"\u2197","\\nearrow",!0),ce(pe,Te,Be,"\u21A9","\\hookleftarrow",!0),ce(pe,Te,Be,"\u21AA","\\hookrightarrow",!0),ce(pe,Te,Be,"\u2198","\\searrow",!0),ce(pe,Te,Be,"\u21BC","\\leftharpoonup",!0),ce(pe,Te,Be,"\u21C0","\\rightharpoonup",!0),ce(pe,Te,Be,"\u2199","\\swarrow",!0),ce(pe,Te,Be,"\u21BD","\\leftharpoondown",!0),ce(pe,Te,Be,"\u21C1","\\rightharpoondown",!0),ce(pe,Te,Be,"\u2196","\\nwarrow",!0),ce(pe,Te,Be,"\u21CC","\\rightleftharpoons",!0),ce(pe,ct,Be,"\u226E","\\nless",!0),ce(pe,ct,Be,"\uE010","\\@nleqslant"),ce(pe,ct,Be,"\uE011","\\@nleqq"),ce(pe,ct,Be,"\u2A87","\\lneq",!0),ce(pe,ct,Be,"\u2268","\\lneqq",!0),ce(pe,ct,Be,"\uE00C","\\@lvertneqq"),ce(pe,ct,Be,"\u22E6","\\lnsim",!0),ce(pe,ct,Be,"\u2A89","\\lnapprox",!0),ce(pe,ct,Be,"\u2280","\\nprec",!0),ce(pe,ct,Be,"\u22E0","\\npreceq",!0),ce(pe,ct,Be,"\u22E8","\\precnsim",!0),ce(pe,ct,Be,"\u2AB9","\\precnapprox",!0),ce(pe,ct,Be,"\u2241","\\nsim",!0),ce(pe,ct,Be,"\uE006","\\@nshortmid"),ce(pe,ct,Be,"\u2224","\\nmid",!0),ce(pe,ct,Be,"\u22AC","\\nvdash",!0),ce(pe,ct,Be,"\u22AD","\\nvDash",!0),ce(pe,ct,Be,"\u22EA","\\ntriangleleft"),ce(pe,ct,Be,"\u22EC","\\ntrianglelefteq",!0),ce(pe,ct,Be,"\u228A","\\subsetneq",!0),ce(pe,ct,Be,"\uE01A","\\@varsubsetneq"),ce(pe,ct,Be,"\u2ACB","\\subsetneqq",!0),ce(pe,ct,Be,"\uE017","\\@varsubsetneqq"),ce(pe,ct,Be,"\u226F","\\ngtr",!0),ce(pe,ct,Be,"\uE00F","\\@ngeqslant"),ce(pe,ct,Be,"\uE00E","\\@ngeqq"),ce(pe,ct,Be,"\u2A88","\\gneq",!0),ce(pe,ct,Be,"\u2269","\\gneqq",!0),ce(pe,ct,Be,"\uE00D","\\@gvertneqq"),ce(pe,ct,Be,"\u22E7","\\gnsim",!0),ce(pe,ct,Be,"\u2A8A","\\gnapprox",!0),ce(pe,ct,Be,"\u2281","\\nsucc",!0),ce(pe,ct,Be,"\u22E1","\\nsucceq",!0),ce(pe,ct,Be,"\u22E9","\\succnsim",!0),ce(pe,ct,Be,"\u2ABA","\\succnapprox",!0),ce(pe,ct,Be,"\u2246","\\ncong",!0),ce(pe,ct,Be,"\uE007","\\@nshortparallel"),ce(pe,ct,Be,"\u2226","\\nparallel",!0),ce(pe,ct,Be,"\u22AF","\\nVDash",!0),ce(pe,ct,Be,"\u22EB","\\ntriangleright"),ce(pe,ct,Be,"\u22ED","\\ntrianglerighteq",!0),ce(pe,ct,Be,"\uE018","\\@nsupseteqq"),ce(pe,ct,Be,"\u228B","\\supsetneq",!0),ce(pe,ct,Be,"\uE01B","\\@varsupsetneq"),ce(pe,ct,Be,"\u2ACC","\\supsetneqq",!0),ce(pe,ct,Be,"\uE019","\\@varsupsetneqq"),ce(pe,ct,Be,"\u22AE","\\nVdash",!0),ce(pe,ct,Be,"\u2AB5","\\precneqq",!0),ce(pe,ct,Be,"\u2AB6","\\succneqq",!0),ce(pe,ct,Be,"\uE016","\\@nsubseteqq"),ce(pe,ct,Tt,"\u22B4","\\unlhd"),ce(pe,ct,Tt,"\u22B5","\\unrhd"),ce(pe,ct,Be,"\u219A","\\nleftarrow",!0),ce(pe,ct,Be,"\u219B","\\nrightarrow",!0),ce(pe,ct,Be,"\u21CD","\\nLeftarrow",!0),ce(pe,ct,Be,"\u21CF","\\nRightarrow",!0),ce(pe,ct,Be,"\u21AE","\\nleftrightarrow",!0),ce(pe,ct,Be,"\u21CE","\\nLeftrightarrow",!0),ce(pe,ct,Be,"\u25B3","\\vartriangle"),ce(pe,ct,At,"\u210F","\\hslash"),ce(pe,ct,At,"\u25BD","\\triangledown"),ce(pe,ct,At,"\u25CA","\\lozenge"),ce(pe,ct,At,"\u24C8","\\circledS"),ce(pe,ct,At,"\xAE","\\circledR"),ce(It,ct,At,"\xAE","\\circledR"),ce(pe,ct,At,"\u2221","\\measuredangle",!0),ce(pe,ct,At,"\u2204","\\nexists"),ce(pe,ct,At,"\u2127","\\mho"),ce(pe,ct,At,"\u2132","\\Finv",!0),ce(pe,ct,At,"\u2141","\\Game",!0),ce(pe,ct,At,"\u2035","\\backprime"),ce(pe,ct,At,"\u25B2","\\blacktriangle"),ce(pe,ct,At,"\u25BC","\\blacktriangledown"),ce(pe,ct,At,"\u25A0","\\blacksquare"),ce(pe,ct,At,"\u29EB","\\blacklozenge"),ce(pe,ct,At,"\u2605","\\bigstar"),ce(pe,ct,At,"\u2222","\\sphericalangle",!0),ce(pe,ct,At,"\u2201","\\complement",!0),ce(pe,ct,At,"\xF0","\\eth",!0),ce(pe,ct,At,"\u2571","\\diagup"),ce(pe,ct,At,"\u2572","\\diagdown"),ce(pe,ct,At,"\u25A1","\\square"),ce(pe,ct,At,"\u25A1","\\Box"),ce(pe,ct,At,"\u25CA","\\Diamond"),ce(pe,ct,At,"\xA5","\\yen",!0),ce(It,ct,At,"\xA5","\\yen",!0),ce(pe,ct,At,"\u2713","\\checkmark",!0),ce(It,ct,At,"\u2713","\\checkmark"),ce(pe,ct,At,"\u2136","\\beth",!0),ce(pe,ct,At,"\u2138","\\daleth",!0),ce(pe,ct,At,"\u2137","\\gimel",!0),ce(pe,ct,At,"\u03DD","\\digamma",!0),ce(pe,ct,At,"\u03F0","\\varkappa"),ce(pe,ct,yt,"\u250C","\\ulcorner",!0),ce(pe,ct,Ce,"\u2510","\\urcorner",!0),ce(pe,ct,yt,"\u2514","\\llcorner",!0),ce(pe,ct,Ce,"\u2518","\\lrcorner",!0),ce(pe,ct,Be,"\u2266","\\leqq",!0),ce(pe,ct,Be,"\u2A7D","\\leqslant",!0),ce(pe,ct,Be,"\u2A95","\\eqslantless",!0),ce(pe,ct,Be,"\u2272","\\lesssim",!0),ce(pe,ct,Be,"\u2A85","\\lessapprox",!0),ce(pe,ct,Be,"\u224A","\\approxeq",!0),ce(pe,ct,Tt,"\u22D6","\\lessdot"),ce(pe,ct,Be,"\u22D8","\\lll",!0),ce(pe,ct,Be,"\u2276","\\lessgtr",!0),ce(pe,ct,Be,"\u22DA","\\lesseqgtr",!0),ce(pe,ct,Be,"\u2A8B","\\lesseqqgtr",!0),ce(pe,ct,Be,"\u2251","\\doteqdot"),ce(pe,ct,Be,"\u2253","\\risingdotseq",!0),ce(pe,ct,Be,"\u2252","\\fallingdotseq",!0),ce(pe,ct,Be,"\u223D","\\backsim",!0),ce(pe,ct,Be,"\u22CD","\\backsimeq",!0),ce(pe,ct,Be,"\u2AC5","\\subseteqq",!0),ce(pe,ct,Be,"\u22D0","\\Subset",!0),ce(pe,ct,Be,"\u228F","\\sqsubset",!0),ce(pe,ct,Be,"\u227C","\\preccurlyeq",!0),ce(pe,ct,Be,"\u22DE","\\curlyeqprec",!0),ce(pe,ct,Be,"\u227E","\\precsim",!0),ce(pe,ct,Be,"\u2AB7","\\precapprox",!0),ce(pe,ct,Be,"\u22B2","\\vartriangleleft"),ce(pe,ct,Be,"\u22B4","\\trianglelefteq"),ce(pe,ct,Be,"\u22A8","\\vDash",!0),ce(pe,ct,Be,"\u22AA","\\Vvdash",!0),ce(pe,ct,Be,"\u2323","\\smallsmile"),ce(pe,ct,Be,"\u2322","\\smallfrown"),ce(pe,ct,Be,"\u224F","\\bumpeq",!0),ce(pe,ct,Be,"\u224E","\\Bumpeq",!0),ce(pe,ct,Be,"\u2267","\\geqq",!0),ce(pe,ct,Be,"\u2A7E","\\geqslant",!0),ce(pe,ct,Be,"\u2A96","\\eqslantgtr",!0),ce(pe,ct,Be,"\u2273","\\gtrsim",!0),ce(pe,ct,Be,"\u2A86","\\gtrapprox",!0),ce(pe,ct,Tt,"\u22D7","\\gtrdot"),ce(pe,ct,Be,"\u22D9","\\ggg",!0),ce(pe,ct,Be,"\u2277","\\gtrless",!0),ce(pe,ct,Be,"\u22DB","\\gtreqless",!0),ce(pe,ct,Be,"\u2A8C","\\gtreqqless",!0),ce(pe,ct,Be,"\u2256","\\eqcirc",!0),ce(pe,ct,Be,"\u2257","\\circeq",!0),ce(pe,ct,Be,"\u225C","\\triangleq",!0),ce(pe,ct,Be,"\u223C","\\thicksim"),ce(pe,ct,Be,"\u2248","\\thickapprox"),ce(pe,ct,Be,"\u2AC6","\\supseteqq",!0),ce(pe,ct,Be,"\u22D1","\\Supset",!0),ce(pe,ct,Be,"\u2290","\\sqsupset",!0),ce(pe,ct,Be,"\u227D","\\succcurlyeq",!0),ce(pe,ct,Be,"\u22DF","\\curlyeqsucc",!0),ce(pe,ct,Be,"\u227F","\\succsim",!0),ce(pe,ct,Be,"\u2AB8","\\succapprox",!0),ce(pe,ct,Be,"\u22B3","\\vartriangleright"),ce(pe,ct,Be,"\u22B5","\\trianglerighteq"),ce(pe,ct,Be,"\u22A9","\\Vdash",!0),ce(pe,ct,Be,"\u2223","\\shortmid"),ce(pe,ct,Be,"\u2225","\\shortparallel"),ce(pe,ct,Be,"\u226C","\\between",!0),ce(pe,ct,Be,"\u22D4","\\pitchfork",!0),ce(pe,ct,Be,"\u221D","\\varpropto"),ce(pe,ct,Be,"\u25C0","\\blacktriangleleft"),ce(pe,ct,Be,"\u2234","\\therefore",!0),ce(pe,ct,Be,"\u220D","\\backepsilon"),ce(pe,ct,Be,"\u25B6","\\blacktriangleright"),ce(pe,ct,Be,"\u2235","\\because",!0),ce(pe,ct,Be,"\u22D8","\\llless"),ce(pe,ct,Be,"\u22D9","\\gggtr"),ce(pe,ct,Tt,"\u22B2","\\lhd"),ce(pe,ct,Tt,"\u22B3","\\rhd"),ce(pe,ct,Be,"\u2242","\\eqsim",!0),ce(pe,Te,Be,"\u22C8","\\Join"),ce(pe,ct,Be,"\u2251","\\Doteq",!0),ce(pe,ct,Tt,"\u2214","\\dotplus",!0),ce(pe,ct,Tt,"\u2216","\\smallsetminus"),ce(pe,ct,Tt,"\u22D2","\\Cap",!0),ce(pe,ct,Tt,"\u22D3","\\Cup",!0),ce(pe,ct,Tt,"\u2A5E","\\doublebarwedge",!0),ce(pe,ct,Tt,"\u229F","\\boxminus",!0),ce(pe,ct,Tt,"\u229E","\\boxplus",!0),ce(pe,ct,Tt,"\u22C7","\\divideontimes",!0),ce(pe,ct,Tt,"\u22C9","\\ltimes",!0),ce(pe,ct,Tt,"\u22CA","\\rtimes",!0),ce(pe,ct,Tt,"\u22CB","\\leftthreetimes",!0),ce(pe,ct,Tt,"\u22CC","\\rightthreetimes",!0),ce(pe,ct,Tt,"\u22CF","\\curlywedge",!0),ce(pe,ct,Tt,"\u22CE","\\curlyvee",!0),ce(pe,ct,Tt,"\u229D","\\circleddash",!0),ce(pe,ct,Tt,"\u229B","\\circledast",!0),ce(pe,ct,Tt,"\u22C5","\\centerdot"),ce(pe,ct,Tt,"\u22BA","\\intercal",!0),ce(pe,ct,Tt,"\u22D2","\\doublecap"),ce(pe,ct,Tt,"\u22D3","\\doublecup"),ce(pe,ct,Tt,"\u22A0","\\boxtimes",!0),ce(pe,ct,Be,"\u21E2","\\dashrightarrow",!0),ce(pe,ct,Be,"\u21E0","\\dashleftarrow",!0),ce(pe,ct,Be,"\u21C7","\\leftleftarrows",!0),ce(pe,ct,Be,"\u21C6","\\leftrightarrows",!0),ce(pe,ct,Be,"\u21DA","\\Lleftarrow",!0),ce(pe,ct,Be,"\u219E","\\twoheadleftarrow",!0),ce(pe,ct,Be,"\u21A2","\\leftarrowtail",!0),ce(pe,ct,Be,"\u21AB","\\looparrowleft",!0),ce(pe,ct,Be,"\u21CB","\\leftrightharpoons",!0),ce(pe,ct,Be,"\u21B6","\\curvearrowleft",!0),ce(pe,ct,Be,"\u21BA","\\circlearrowleft",!0),ce(pe,ct,Be,"\u21B0","\\Lsh",!0),ce(pe,ct,Be,"\u21C8","\\upuparrows",!0),ce(pe,ct,Be,"\u21BF","\\upharpoonleft",!0),ce(pe,ct,Be,"\u21C3","\\downharpoonleft",!0),ce(pe,ct,Be,"\u22B8","\\multimap",!0),ce(pe,ct,Be,"\u21AD","\\leftrightsquigarrow",!0),ce(pe,ct,Be,"\u21C9","\\rightrightarrows",!0),ce(pe,ct,Be,"\u21C4","\\rightleftarrows",!0),ce(pe,ct,Be,"\u21A0","\\twoheadrightarrow",!0),ce(pe,ct,Be,"\u21A3","\\rightarrowtail",!0),ce(pe,ct,Be,"\u21AC","\\looparrowright",!0),ce(pe,ct,Be,"\u21B7","\\curvearrowright",!0),ce(pe,ct,Be,"\u21BB","\\circlearrowright",!0),ce(pe,ct,Be,"\u21B1","\\Rsh",!0),ce(pe,ct,Be,"\u21CA","\\downdownarrows",!0),ce(pe,ct,Be,"\u21BE","\\upharpoonright",!0),ce(pe,ct,Be,"\u21C2","\\downharpoonright",!0),ce(pe,ct,Be,"\u21DD","\\rightsquigarrow",!0),ce(pe,ct,Be,"\u21DD","\\leadsto"),ce(pe,ct,Be,"\u21DB","\\Rrightarrow",!0),ce(pe,ct,Be,"\u21BE","\\restriction"),ce(pe,Te,At,"\u2018","`"),ce(pe,Te,At,"$","\\$"),ce(It,Te,At,"$","\\$"),ce(It,Te,At,"$","\\textdollar"),ce(pe,Te,At,"%","\\%"),ce(It,Te,At,"%","\\%"),ce(pe,Te,At,"_","\\_"),ce(It,Te,At,"_","\\_"),ce(It,Te,At,"_","\\textunderscore"),ce(pe,Te,At,"\u2220","\\angle",!0),ce(pe,Te,At,"\u221E","\\infty",!0),ce(pe,Te,At,"\u2032","\\prime"),ce(pe,Te,At,"\u25B3","\\triangle"),ce(pe,Te,At,"\u0393","\\Gamma",!0),ce(pe,Te,At,"\u0394","\\Delta",!0),ce(pe,Te,At,"\u0398","\\Theta",!0),ce(pe,Te,At,"\u039B","\\Lambda",!0),ce(pe,Te,At,"\u039E","\\Xi",!0),ce(pe,Te,At,"\u03A0","\\Pi",!0),ce(pe,Te,At,"\u03A3","\\Sigma",!0),ce(pe,Te,At,"\u03A5","\\Upsilon",!0),ce(pe,Te,At,"\u03A6","\\Phi",!0),ce(pe,Te,At,"\u03A8","\\Psi",!0),ce(pe,Te,At,"\u03A9","\\Omega",!0),ce(pe,Te,At,"A","\u0391"),ce(pe,Te,At,"B","\u0392"),ce(pe,Te,At,"E","\u0395"),ce(pe,Te,At,"Z","\u0396"),ce(pe,Te,At,"H","\u0397"),ce(pe,Te,At,"I","\u0399"),ce(pe,Te,At,"K","\u039A"),ce(pe,Te,At,"M","\u039C"),ce(pe,Te,At,"N","\u039D"),ce(pe,Te,At,"O","\u039F"),ce(pe,Te,At,"P","\u03A1"),ce(pe,Te,At,"T","\u03A4"),ce(pe,Te,At,"X","\u03A7"),ce(pe,Te,At,"\xAC","\\neg",!0),ce(pe,Te,At,"\xAC","\\lnot"),ce(pe,Te,At,"\u22A4","\\top"),ce(pe,Te,At,"\u22A5","\\bot"),ce(pe,Te,At,"\u2205","\\emptyset"),ce(pe,ct,At,"\u2205","\\varnothing"),ce(pe,Te,ye,"\u03B1","\\alpha",!0),ce(pe,Te,ye,"\u03B2","\\beta",!0),ce(pe,Te,ye,"\u03B3","\\gamma",!0),ce(pe,Te,ye,"\u03B4","\\delta",!0),ce(pe,Te,ye,"\u03F5","\\epsilon",!0),ce(pe,Te,ye,"\u03B6","\\zeta",!0),ce(pe,Te,ye,"\u03B7","\\eta",!0),ce(pe,Te,ye,"\u03B8","\\theta",!0),ce(pe,Te,ye,"\u03B9","\\iota",!0),ce(pe,Te,ye,"\u03BA","\\kappa",!0),ce(pe,Te,ye,"\u03BB","\\lambda",!0),ce(pe,Te,ye,"\u03BC","\\mu",!0),ce(pe,Te,ye,"\u03BD","\\nu",!0),ce(pe,Te,ye,"\u03BE","\\xi",!0),ce(pe,Te,ye,"\u03BF","\\omicron",!0),ce(pe,Te,ye,"\u03C0","\\pi",!0),ce(pe,Te,ye,"\u03C1","\\rho",!0),ce(pe,Te,ye,"\u03C3","\\sigma",!0),ce(pe,Te,ye,"\u03C4","\\tau",!0),ce(pe,Te,ye,"\u03C5","\\upsilon",!0),ce(pe,Te,ye,"\u03D5","\\phi",!0),ce(pe,Te,ye,"\u03C7","\\chi",!0),ce(pe,Te,ye,"\u03C8","\\psi",!0),ce(pe,Te,ye,"\u03C9","\\omega",!0),ce(pe,Te,ye,"\u03B5","\\varepsilon",!0),ce(pe,Te,ye,"\u03D1","\\vartheta",!0),ce(pe,Te,ye,"\u03D6","\\varpi",!0),ce(pe,Te,ye,"\u03F1","\\varrho",!0),ce(pe,Te,ye,"\u03C2","\\varsigma",!0),ce(pe,Te,ye,"\u03C6","\\varphi",!0),ce(pe,Te,Tt,"\u2217","*"),ce(pe,Te,Tt,"+","+"),ce(pe,Te,Tt,"\u2212","-"),ce(pe,Te,Tt,"\u22C5","\\cdot",!0),ce(pe,Te,Tt,"\u2218","\\circ"),ce(pe,Te,Tt,"\xF7","\\div",!0),ce(pe,Te,Tt,"\xB1","\\pm",!0),ce(pe,Te,Tt,"\xD7","\\times",!0),ce(pe,Te,Tt,"\u2229","\\cap",!0),ce(pe,Te,Tt,"\u222A","\\cup",!0),ce(pe,Te,Tt,"\u2216","\\setminus"),ce(pe,Te,Tt,"\u2227","\\land"),ce(pe,Te,Tt,"\u2228","\\lor"),ce(pe,Te,Tt,"\u2227","\\wedge",!0),ce(pe,Te,Tt,"\u2228","\\vee",!0),ce(pe,Te,At,"\u221A","\\surd"),ce(pe,Te,yt,"(","("),ce(pe,Te,yt,"[","["),ce(pe,Te,yt,"\u27E8","\\langle",!0),ce(pe,Te,yt,"\u2223","\\lvert"),ce(pe,Te,yt,"\u2225","\\lVert"),ce(pe,Te,Ce,")",")"),ce(pe,Te,Ce,"]","]"),ce(pe,Te,Ce,"?","?"),ce(pe,Te,Ce,"!","!"),ce(pe,Te,Ce,"\u27E9","\\rangle",!0),ce(pe,Te,Ce,"\u2223","\\rvert"),ce(pe,Te,Ce,"\u2225","\\rVert"),ce(pe,Te,Be,"=","="),ce(pe,Te,Be,"<","<"),ce(pe,Te,Be,">",">"),ce(pe,Te,Be,":",":"),ce(pe,Te,Be,"\u2248","\\approx",!0),ce(pe,Te,Be,"\u2245","\\cong",!0),ce(pe,Te,Be,"\u2265","\\ge"),ce(pe,Te,Be,"\u2265","\\geq",!0),ce(pe,Te,Be,"\u2190","\\gets"),ce(pe,Te,Be,">","\\gt"),ce(pe,Te,Be,"\u2208","\\in",!0),ce(pe,Te,Be,"\uE020","\\@not"),ce(pe,Te,Be,"\u2282","\\subset",!0),ce(pe,Te,Be,"\u2283","\\supset",!0),ce(pe,Te,Be,"\u2286","\\subseteq",!0),ce(pe,Te,Be,"\u2287","\\supseteq",!0),ce(pe,ct,Be,"\u2288","\\nsubseteq",!0),ce(pe,ct,Be,"\u2289","\\nsupseteq",!0),ce(pe,Te,Be,"\u22A8","\\models"),ce(pe,Te,Be,"\u2190","\\leftarrow",!0),ce(pe,Te,Be,"\u2264","\\le"),ce(pe,Te,Be,"\u2264","\\leq",!0),ce(pe,Te,Be,"<","\\lt"),ce(pe,Te,Be,"\u2192","\\rightarrow",!0),ce(pe,Te,Be,"\u2192","\\to"),ce(pe,ct,Be,"\u2271","\\ngeq",!0),ce(pe,ct,Be,"\u2270","\\nleq",!0),ce(pe,Te,Dr,"\xA0","\\ "),ce(pe,Te,Dr,"\xA0","~"),ce(pe,Te,Dr,"\xA0","\\space"),ce(pe,Te,Dr,"\xA0","\\nobreakspace"),ce(It,Te,Dr,"\xA0","\\ "),ce(It,Te,Dr,"\xA0","~"),ce(It,Te,Dr,"\xA0","\\space"),ce(It,Te,Dr,"\xA0","\\nobreakspace"),ce(pe,Te,Dr,null,"\\nobreak"),ce(pe,Te,Dr,null,"\\allowbreak"),ce(pe,Te,Bt,",",","),ce(pe,Te,Bt,";",";"),ce(pe,ct,Tt,"\u22BC","\\barwedge",!0),ce(pe,ct,Tt,"\u22BB","\\veebar",!0),ce(pe,Te,Tt,"\u2299","\\odot",!0),ce(pe,Te,Tt,"\u2295","\\oplus",!0),ce(pe,Te,Tt,"\u2297","\\otimes",!0),ce(pe,Te,At,"\u2202","\\partial",!0),ce(pe,Te,Tt,"\u2298","\\oslash",!0),ce(pe,ct,Tt,"\u229A","\\circledcirc",!0),ce(pe,ct,Tt,"\u22A1","\\boxdot",!0),ce(pe,Te,Tt,"\u25B3","\\bigtriangleup"),ce(pe,Te,Tt,"\u25BD","\\bigtriangledown"),ce(pe,Te,Tt,"\u2020","\\dagger"),ce(pe,Te,Tt,"\u22C4","\\diamond"),ce(pe,Te,Tt,"\u22C6","\\star"),ce(pe,Te,Tt,"\u25C3","\\triangleleft"),ce(pe,Te,Tt,"\u25B9","\\triangleright"),ce(pe,Te,yt,"{","\\{"),ce(It,Te,At,"{","\\{"),ce(It,Te,At,"{","\\textbraceleft"),ce(pe,Te,Ce,"}","\\}"),ce(It,Te,At,"}","\\}"),ce(It,Te,At,"}","\\textbraceright"),ce(pe,Te,yt,"{","\\lbrace"),ce(pe,Te,Ce,"}","\\rbrace"),ce(pe,Te,yt,"[","\\lbrack"),ce(It,Te,At,"[","\\lbrack"),ce(pe,Te,Ce,"]","\\rbrack"),ce(It,Te,At,"]","\\rbrack"),ce(pe,Te,yt,"(","\\lparen"),ce(pe,Te,Ce,")","\\rparen"),ce(It,Te,At,"<","\\textless"),ce(It,Te,At,">","\\textgreater"),ce(pe,Te,yt,"\u230A","\\lfloor",!0),ce(pe,Te,Ce,"\u230B","\\rfloor",!0),ce(pe,Te,yt,"\u2308","\\lceil",!0),ce(pe,Te,Ce,"\u2309","\\rceil",!0),ce(pe,Te,At,"\\","\\backslash"),ce(pe,Te,At,"\u2223","|"),ce(pe,Te,At,"\u2223","\\vert"),ce(It,Te,At,"|","\\textbar"),ce(pe,Te,At,"\u2225","\\|"),ce(pe,Te,At,"\u2225","\\Vert"),ce(It,Te,At,"\u2225","\\textbardbl"),ce(It,Te,At,"~","\\textasciitilde"),ce(It,Te,At,"\\","\\textbackslash"),ce(It,Te,At,"^","\\textasciicircum"),ce(pe,Te,Be,"\u2191","\\uparrow",!0),ce(pe,Te,Be,"\u21D1","\\Uparrow",!0),ce(pe,Te,Be,"\u2193","\\downarrow",!0),ce(pe,Te,Be,"\u21D3","\\Downarrow",!0),ce(pe,Te,Be,"\u2195","\\updownarrow",!0),ce(pe,Te,Be,"\u21D5","\\Updownarrow",!0),ce(pe,Te,Je,"\u2210","\\coprod"),ce(pe,Te,Je,"\u22C1","\\bigvee"),ce(pe,Te,Je,"\u22C0","\\bigwedge"),ce(pe,Te,Je,"\u2A04","\\biguplus"),ce(pe,Te,Je,"\u22C2","\\bigcap"),ce(pe,Te,Je,"\u22C3","\\bigcup"),ce(pe,Te,Je,"\u222B","\\int"),ce(pe,Te,Je,"\u222B","\\intop"),ce(pe,Te,Je,"\u222C","\\iint"),ce(pe,Te,Je,"\u222D","\\iiint"),ce(pe,Te,Je,"\u220F","\\prod"),ce(pe,Te,Je,"\u2211","\\sum"),ce(pe,Te,Je,"\u2A02","\\bigotimes"),ce(pe,Te,Je,"\u2A01","\\bigoplus"),ce(pe,Te,Je,"\u2A00","\\bigodot"),ce(pe,Te,Je,"\u222E","\\oint"),ce(pe,Te,Je,"\u222F","\\oiint"),ce(pe,Te,Je,"\u2230","\\oiiint"),ce(pe,Te,Je,"\u2A06","\\bigsqcup"),ce(pe,Te,Je,"\u222B","\\smallint"),ce(It,Te,St,"\u2026","\\textellipsis"),ce(pe,Te,St,"\u2026","\\mathellipsis"),ce(It,Te,St,"\u2026","\\ldots",!0),ce(pe,Te,St,"\u2026","\\ldots",!0),ce(pe,Te,St,"\u22EF","\\@cdots",!0),ce(pe,Te,St,"\u22F1","\\ddots",!0),ce(pe,Te,At,"\u22EE","\\varvdots"),ce(pe,Te,Wt,"\u02CA","\\acute"),ce(pe,Te,Wt,"\u02CB","\\grave"),ce(pe,Te,Wt,"\xA8","\\ddot"),ce(pe,Te,Wt,"~","\\tilde"),ce(pe,Te,Wt,"\u02C9","\\bar"),ce(pe,Te,Wt,"\u02D8","\\breve"),ce(pe,Te,Wt,"\u02C7","\\check"),ce(pe,Te,Wt,"^","\\hat"),ce(pe,Te,Wt,"\u20D7","\\vec"),ce(pe,Te,Wt,"\u02D9","\\dot"),ce(pe,Te,Wt,"\u02DA","\\mathring"),ce(pe,Te,ye,"\u0131","\\imath",!0),ce(pe,Te,ye,"\u0237","\\jmath",!0),ce(It,Te,At,"\u0131","\\i",!0),ce(It,Te,At,"\u0237","\\j",!0),ce(It,Te,At,"\xDF","\\ss",!0),ce(It,Te,At,"\xE6","\\ae",!0),ce(It,Te,At,"\xE6","\\ae",!0),ce(It,Te,At,"\u0153","\\oe",!0),ce(It,Te,At,"\xF8","\\o",!0),ce(It,Te,At,"\xC6","\\AE",!0),ce(It,Te,At,"\u0152","\\OE",!0),ce(It,Te,At,"\xD8","\\O",!0),ce(It,Te,Wt,"\u02CA","\\'"),ce(It,Te,Wt,"\u02CB","\\`"),ce(It,Te,Wt,"\u02C6","\\^"),ce(It,Te,Wt,"\u02DC","\\~"),ce(It,Te,Wt,"\u02C9","\\="),ce(It,Te,Wt,"\u02D8","\\u"),ce(It,Te,Wt,"\u02D9","\\."),ce(It,Te,Wt,"\u02DA","\\r"),ce(It,Te,Wt,"\u02C7","\\v"),ce(It,Te,Wt,"\xA8",'\\"'),ce(It,Te,Wt,"\u02DD","\\H"),ce(It,Te,Wt,"\u25EF","\\textcircled");var Xr={"--":!0,"---":!0,"``":!0,"''":!0};ce(It,Te,At,"\u2013","--"),ce(It,Te,At,"\u2013","\\textendash"),ce(It,Te,At,"\u2014","---"),ce(It,Te,At,"\u2014","\\textemdash"),ce(It,Te,At,"\u2018","`"),ce(It,Te,At,"\u2018","\\textquoteleft"),ce(It,Te,At,"\u2019","'"),ce(It,Te,At,"\u2019","\\textquoteright"),ce(It,Te,At,"\u201C","``"),ce(It,Te,At,"\u201C","\\textquotedblleft"),ce(It,Te,At,"\u201D","''"),ce(It,Te,At,"\u201D","\\textquotedblright"),ce(pe,Te,At,"\xB0","\\degree",!0),ce(It,Te,At,"\xB0","\\degree"),ce(It,Te,At,"\xB0","\\textdegree",!0),ce(pe,Te,ye,"\xA3","\\pounds"),ce(pe,Te,ye,"\xA3","\\mathsterling",!0),ce(It,Te,ye,"\xA3","\\pounds"),ce(It,Te,ye,"\xA3","\\textsterling",!0),ce(pe,ct,At,"\u2720","\\maltese"),ce(It,ct,At,"\u2720","\\maltese"),ce(It,Te,Dr,"\xA0","\\ "),ce(It,Te,Dr,"\xA0"," "),ce(It,Te,Dr,"\xA0","~");for(var en='0123456789/@."',Lr=0;Lr<en.length;Lr++){var Nr=en.charAt(Lr);ce(pe,Te,At,Nr,Nr)}for(var mr='0123456789!@*()-=+[]<>|";:?/.,',Zr=0;Zr<mr.length;Zr++){var on=mr.charAt(Zr);ce(It,Te,At,on,on)}for(var _n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz",Yt=0;Yt<_n.length;Yt++){var mt=_n.charAt(Yt);ce(pe,Te,ye,mt,mt),ce(It,Te,At,mt,mt)}ce(pe,ct,At,"C","\u2102"),ce(It,ct,At,"C","\u2102"),ce(pe,ct,At,"H","\u210D"),ce(It,ct,At,"H","\u210D"),ce(pe,ct,At,"N","\u2115"),ce(It,ct,At,"N","\u2115"),ce(pe,ct,At,"P","\u2119"),ce(It,ct,At,"P","\u2119"),ce(pe,ct,At,"Q","\u211A"),ce(It,ct,At,"Q","\u211A"),ce(pe,ct,At,"R","\u211D"),ce(It,ct,At,"R","\u211D"),ce(pe,ct,At,"Z","\u2124"),ce(It,ct,At,"Z","\u2124"),ce(pe,Te,ye,"h","\u210E"),ce(It,Te,ye,"h","\u210E");for(var st="",lt=0;lt<_n.length;lt++){var Nt=_n.charAt(lt);st=String.fromCharCode(55349,56320+lt),ce(pe,Te,ye,Nt,st),ce(It,Te,At,Nt,st),st=String.fromCharCode(55349,56372+lt),ce(pe,Te,ye,Nt,st),ce(It,Te,At,Nt,st),st=String.fromCharCode(55349,56424+lt),ce(pe,Te,ye,Nt,st),ce(It,Te,At,Nt,st),st=String.fromCharCode(55349,56580+lt),ce(pe,Te,ye,Nt,st),ce(It,Te,At,Nt,st),st=String.fromCharCode(55349,56736+lt),ce(pe,Te,ye,Nt,st),ce(It,Te,At,Nt,st),st=String.fromCharCode(55349,56788+lt),ce(pe,Te,ye,Nt,st),ce(It,Te,At,Nt,st),st=String.fromCharCode(55349,56840+lt),ce(pe,Te,ye,Nt,st),ce(It,Te,At,Nt,st),st=String.fromCharCode(55349,56944+lt),ce(pe,Te,ye,Nt,st),ce(It,Te,At,Nt,st),lt<26&&(st=String.fromCharCode(55349,56632+lt),ce(pe,Te,ye,Nt,st),ce(It,Te,At,Nt,st),st=String.fromCharCode(55349,56476+lt),ce(pe,Te,ye,Nt,st),ce(It,Te,At,Nt,st))}st="\u{1D55C}",ce(pe,Te,ye,"k",st),ce(It,Te,At,"k",st);for(var br=0;br<10;br++){var vr=br.toString();st=String.fromCharCode(55349,57294+br),ce(pe,Te,ye,vr,st),ce(It,Te,At,vr,st),st=String.fromCharCode(55349,57314+br),ce(pe,Te,ye,vr,st),ce(It,Te,At,vr,st),st=String.fromCharCode(55349,57324+br),ce(pe,Te,ye,vr,st),ce(It,Te,At,vr,st),st=String.fromCharCode(55349,57334+br),ce(pe,Te,ye,vr,st),ce(It,Te,At,vr,st)}for(var nt="\xC7\xD0\xDE\xE7\xFE",Tr=0;Tr<nt.length;Tr++){var vn=nt.charAt(Tr);ce(pe,Te,ye,vn,vn),ce(It,Te,At,vn,vn)}ce(It,Te,At,"\xF0","\xF0"),ce(It,Te,At,"\u2013","\u2013"),ce(It,Te,At,"\u2014","\u2014"),ce(It,Te,At,"\u2018","\u2018"),ce(It,Te,At,"\u2019","\u2019"),ce(It,Te,At,"\u201C","\u201C"),ce(It,Te,At,"\u201D","\u201D");var Gn=[["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"]],Yr=[["mathbf","textbf","Main-Bold"],["","",""],["mathsf","textsf","SansSerif-Regular"],["mathboldsf","textboldsf","SansSerif-Bold"],["mathtt","texttt","Typewriter-Regular"]],Yn=function(Z,Y){var te=Z.charCodeAt(0),he=Z.charCodeAt(1),Se=(te-55296)*1024+(he-56320)+65536,Ve=Y==="math"?0:1;if(119808<=Se&&Se<120484){var Pt=Math.floor((Se-119808)/26);return[Gn[Pt][2],Gn[Pt][Ve]]}else if(120782<=Se&&Se<=120831){var Ut=Math.floor((Se-120782)/10);return[Yr[Ut][2],Yr[Ut][Ve]]}else{if(Se===120485||Se===120486)return[Gn[0][2],Gn[0][Ve]];if(120486<Se&&Se<120782)return["",""];throw new o("Unsupported character: "+Z)}},Jn=[[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]],kn=[.5,.6,.7,.8,.9,1,1.2,1.44,1.728,2.074,2.488],Qn=function(Z,Y){return Y.size<2?Z:Jn[Z-1][Y.size-1]},ri=function(){function Ke(Y){this.style=void 0,this.color=void 0,this.size=void 0,this.textSize=void 0,this.phantom=void 0,this.font=void 0,this.fontFamily=void 0,this.fontWeight=void 0,this.fontShape=void 0,this.sizeMultiplier=void 0,this.maxSize=void 0,this.minRuleThickness=void 0,this._fontMetrics=void 0,this.style=Y.style,this.color=Y.color,this.size=Y.size||Ke.BASESIZE,this.textSize=Y.textSize||this.size,this.phantom=!!Y.phantom,this.font=Y.font||"",this.fontFamily=Y.fontFamily||"",this.fontWeight=Y.fontWeight||"",this.fontShape=Y.fontShape||"",this.sizeMultiplier=kn[this.size-1],this.maxSize=Y.maxSize,this.minRuleThickness=Y.minRuleThickness,this._fontMetrics=void 0}var Z=Ke.prototype;return Z.extend=function(te){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 Se in te)te.hasOwnProperty(Se)&&(he[Se]=te[Se]);return new Ke(he)},Z.havingStyle=function(te){return this.style===te?this:this.extend({style:te,size:Qn(this.textSize,te)})},Z.havingCrampedStyle=function(){return this.havingStyle(this.style.cramp())},Z.havingSize=function(te){return this.size===te&&this.textSize===te?this:this.extend({style:this.style.text(),size:te,textSize:te,sizeMultiplier:kn[te-1]})},Z.havingBaseStyle=function(te){te=te||this.style.text();var he=Qn(Ke.BASESIZE,te);return this.size===he&&this.textSize===Ke.BASESIZE&&this.style===te?this:this.extend({style:te,size:he})},Z.havingBaseSizing=function(){var te;switch(this.style.id){case 4:case 5:te=3;break;case 6:case 7:te=1;break;default:te=6}return this.extend({style:this.style.text(),size:te})},Z.withColor=function(te){return this.extend({color:te})},Z.withPhantom=function(){return this.extend({phantom:!0})},Z.withFont=function(te){return this.extend({font:te})},Z.withTextFontFamily=function(te){return this.extend({fontFamily:te,font:""})},Z.withTextFontWeight=function(te){return this.extend({fontWeight:te,font:""})},Z.withTextFontShape=function(te){return this.extend({fontShape:te,font:""})},Z.sizingClasses=function(te){return te.size!==this.size?["sizing","reset-size"+te.size,"size"+this.size]:[]},Z.baseSizingClasses=function(){return this.size!==Ke.BASESIZE?["sizing","reset-size"+this.size,"size"+Ke.BASESIZE]:[]},Z.fontMetrics=function(){return this._fontMetrics||(this._fontMetrics=zt(this.size)),this._fontMetrics},Z.getColor=function(){return this.phantom?"transparent":this.color},Ke}();ri.BASESIZE=6;var Ai=ri,wi={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},Ui={ex:!0,em:!0,mu:!0},oa=function(Z){return typeof Z!="string"&&(Z=Z.unit),Z in wi||Z in Ui||Z==="ex"},Vi=function(Z,Y){var te;if(Z.unit in wi)te=wi[Z.unit]/Y.fontMetrics().ptPerEm/Y.sizeMultiplier;else if(Z.unit==="mu")te=Y.fontMetrics().cssEmPerMu;else{var he;if(Y.style.isTight()?he=Y.havingStyle(Y.style.text()):he=Y,Z.unit==="ex")te=he.fontMetrics().xHeight;else if(Z.unit==="em")te=he.fontMetrics().quad;else throw new o("Invalid unit: '"+Z.unit+"'");he!==Y&&(te*=he.sizeMultiplier/Y.sizeMultiplier)}return Math.min(Z.number*te,Y.maxSize)},zi=["\\imath","\u0131","\\jmath","\u0237","\\pounds","\\mathsterling","\\textsterling","\xA3"],mi=function(Z,Y,te){return ze[te][Z]&&ze[te][Z].replace&&(Z=ze[te][Z].replace),{value:Z,metrics:Vt(Z,Y,te)}},Ki=function(Z,Y,te,he,Se){var Ve=mi(Z,Y,te),Pt=Ve.metrics;Z=Ve.value;var Ut;if(Pt){var ar=Pt.italic;(te==="text"||he&&he.font==="mathit")&&(ar=0),Ut=new ke(Z,Pt.height,Pt.depth,ar,Pt.skew,Pt.width,Se)}else typeof console!="undefined"&&console.warn("No character metrics "+("for '"+Z+"' in style '"+Y+"' and mode '"+te+"'")),Ut=new ke(Z,0,0,0,0,0,Se);if(he){Ut.maxFontSize=he.sizeMultiplier,he.style.isTight()&&Ut.classes.push("mtight");var Ar=he.getColor();Ar&&(Ut.style.color=Ar)}return Ut},Dt=function(Z,Y,te,he){return he===void 0&&(he=[]),te.font==="boldsymbol"&&mi(Z,"Main-Bold",Y).metrics?Ki(Z,"Main-Bold",Y,te,he.concat(["mathbf"])):Z==="\\"||ze[Y][Z].font==="main"?Ki(Z,"Main-Regular",Y,te,he):Ki(Z,"AMS-Regular",Y,te,he.concat(["amsrm"]))},vt=function(Z,Y,te,he){return/[0-9]/.test(Z.charAt(0))||A.contains(zi,Z)?{fontName:"Main-Italic",fontClass:"mathit"}:{fontName:"Math-Italic",fontClass:"mathdefault"}},Zi=function(Z,Y,te,he){return A.contains(zi,Z)?{fontName:"Main-Italic",fontClass:"mathit"}:/[0-9]/.test(Z.charAt(0))?{fontName:"Caligraphic-Regular",fontClass:"mathcal"}:{fontName:"Math-Italic",fontClass:"mathdefault"}},Hi=function(Z,Y,te,he){return mi(Z,"Math-BoldItalic",Y).metrics?{fontName:"Math-BoldItalic",fontClass:"boldsymbol"}:{fontName:"Main-Bold",fontClass:"mathbf"}},hi=function(Z,Y,te){var he=Z.mode,Se=Z.text,Ve=["mord"],Pt=he==="math"||he==="text"&&Y.font,Ut=Pt?Y.font:Y.fontFamily;if(Se.charCodeAt(0)===55349){var ar=Yn(Se,he),Ar=ar[0],Kr=ar[1];return Ki(Se,Ar,he,Y,Ve.concat(Kr))}else if(Ut){var cn,An;if(Ut==="boldsymbol"||Ut==="mathnormal"){var Kn=Ut==="boldsymbol"?Hi(Se,he,Y,Ve):Zi(Se,he,Y,Ve);cn=Kn.fontName,An=[Kn.fontClass]}else A.contains(zi,Se)?(cn="Main-Italic",An=["mathit"]):Pt?(cn=Ze[Ut].fontName,An=[Ut]):(cn=Gr(Ut,Y.fontWeight,Y.fontShape),An=[Ut,Y.fontWeight,Y.fontShape]);if(mi(Se,cn,he).metrics)return Ki(Se,cn,he,Y,Ve.concat(An));if(Xr.hasOwnProperty(Se)&&cn.substr(0,10)==="Typewriter"){for(var ti=[],Oi=0;Oi<Se.length;Oi++)ti.push(Ki(Se[Oi],cn,he,Y,Ve.concat(An)));return Ot(ti)}}if(te==="mathord"){var ji=vt(Se,he,Y,Ve);return Ki(Se,ji.fontName,he,Y,Ve.concat([ji.fontClass]))}else if(te==="textord"){var la=ze[he][Se]&&ze[he][Se].font;if(la==="ams"){var wa=Gr("amsrm",Y.fontWeight,Y.fontShape);return Ki(Se,wa,he,Y,Ve.concat("amsrm",Y.fontWeight,Y.fontShape))}else if(la==="main"||!la){var Ts=Gr("textrm",Y.fontWeight,Y.fontShape);return Ki(Se,Ts,he,Y,Ve.concat(Y.fontWeight,Y.fontShape))}else{var Ds=Gr(la,Y.fontWeight,Y.fontShape);return Ki(Se,Ds,he,Y,Ve.concat(Ds,Y.fontWeight,Y.fontShape))}}else throw new Error("unexpected type: "+te+" in makeOrd")},Fa=function(Z,Y){if(wt(Z.classes)!==wt(Y.classes)||Z.skew!==Y.skew||Z.maxFontSize!==Y.maxFontSize)return!1;for(var te in Z.style)if(Z.style.hasOwnProperty(te)&&Z.style[te]!==Y.style[te])return!1;for(var he in Y.style)if(Y.style.hasOwnProperty(he)&&Z.style[he]!==Y.style[he])return!1;return!0},Ti=function(Z){for(var Y=0;Y<Z.length-1;Y++){var te=Z[Y],he=Z[Y+1];te instanceof ke&&he instanceof ke&&Fa(te,he)&&(te.text+=he.text,te.height=Math.max(te.height,he.height),te.depth=Math.max(te.depth,he.depth),te.italic=he.italic,Z.splice(Y+1,1),Y--)}return Z},si=function(Z){for(var Y=0,te=0,he=0,Se=0;Se<Z.children.length;Se++){var Ve=Z.children[Se];Ve.height>Y&&(Y=Ve.height),Ve.depth>te&&(te=Ve.depth),Ve.maxFontSize>he&&(he=Ve.maxFontSize)}Z.height=Y,Z.depth=te,Z.maxFontSize=he},Dn=function(Z,Y,te,he){var Se=new ft(Z,Y,te,he);return si(Se),Se},rr=function(Z,Y,te,he){return new ft(Z,Y,te,he)},_t=function(Z,Y,te){var he=Dn([Z],[],Y);return he.height=Math.max(te||Y.fontMetrics().defaultRuleThickness,Y.minRuleThickness),he.style.borderBottomWidth=he.height+"em",he.maxFontSize=1,he},rt=function(Z,Y,te,he){var Se=new Qe(Z,Y,te,he);return si(Se),Se},Ot=function(Z){var Y=new je(Z);return si(Y),Y},ht=function(Z,Y){return Z instanceof je?Dn([],[Z],Y):Z},lr=function(Z){if(Z.positionType==="individualShift"){for(var Y=Z.children,te=[Y[0]],he=-Y[0].shift-Y[0].elem.depth,Se=he,Ve=1;Ve<Y.length;Ve++){var Pt=-Y[Ve].shift-Se-Y[Ve].elem.depth,Ut=Pt-(Y[Ve-1].elem.height+Y[Ve-1].elem.depth);Se=Se+Pt,te.push({type:"kern",size:Ut}),te.push(Y[Ve])}return{children:te,depth:he}}var ar;if(Z.positionType==="top"){for(var Ar=Z.positionData,Kr=0;Kr<Z.children.length;Kr++){var cn=Z.children[Kr];Ar-=cn.type==="kern"?cn.size:cn.elem.height+cn.elem.depth}ar=Ar}else if(Z.positionType==="bottom")ar=-Z.positionData;else{var An=Z.children[0];if(An.type!=="elem")throw new Error('First child must have type "elem".');if(Z.positionType==="shift")ar=-An.elem.depth-Z.positionData;else if(Z.positionType==="firstBaseline")ar=-An.elem.depth;else throw new Error("Invalid positionType "+Z.positionType+".")}return{children:Z.children,depth:ar}},fr=function(Z,Y){for(var te=lr(Z),he=te.children,Se=te.depth,Ve=0,Pt=0;Pt<he.length;Pt++){var Ut=he[Pt];if(Ut.type==="elem"){var ar=Ut.elem;Ve=Math.max(Ve,ar.maxFontSize,ar.height)}}Ve+=2;var Ar=Dn(["pstrut"],[]);Ar.style.height=Ve+"em";for(var Kr=[],cn=Se,An=Se,Kn=Se,ti=0;ti<he.length;ti++){var Oi=he[ti];if(Oi.type==="kern")Kn+=Oi.size;else{var ji=Oi.elem,la=Oi.wrapperClasses||[],wa=Oi.wrapperStyle||{},Ts=Dn(la,[Ar,ji],void 0,wa);Ts.style.top=-Ve-Kn-ji.depth+"em",Oi.marginLeft&&(Ts.style.marginLeft=Oi.marginLeft),Oi.marginRight&&(Ts.style.marginRight=Oi.marginRight),Kr.push(Ts),Kn+=ji.height+ji.depth}cn=Math.min(cn,Kn),An=Math.max(An,Kn)}var Ds=Dn(["vlist"],Kr);Ds.style.height=An+"em";var Ls;if(cn<0){var ms=Dn([],[]),Oa=Dn(["vlist"],[ms]);Oa.style.height=-cn+"em";var io=Dn(["vlist-s"],[new ke("\u200B")]);Ls=[Dn(["vlist-r"],[Ds,io]),Dn(["vlist-r"],[Oa])]}else Ls=[Dn(["vlist-r"],[Ds])];var xs=Dn(["vlist-t"],Ls);return Ls.length===2&&xs.classes.push("vlist-t2"),xs.height=An,xs.depth=-cn,xs},Cr=function(Z,Y){var te=Dn(["mspace"],[],Y),he=Vi(Z,Y);return te.style.marginRight=he+"em",te},Gr=function(Z,Y,te){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 Se;return Y==="textbf"&&te==="textit"?Se="BoldItalic":Y==="textbf"?Se="Bold":Y==="textit"?Se="Italic":Se="Regular",he+"-"+Se},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"}},et={vec:["vec",.471,.714],oiintSize1:["oiintSize1",.957,.499],oiintSize2:["oiintSize2",1.472,.659],oiiintSize1:["oiiintSize1",1.304,.499],oiiintSize2:["oiiintSize2",1.98,.659]},be=function(Z,Y){var te=et[Z],he=te[0],Se=te[1],Ve=te[2],Pt=new He(he),Ut=new Ge([Pt],{width:Se+"em",height:Ve+"em",style:"width:"+Se+"em",viewBox:"0 0 "+1e3*Se+" "+1e3*Ve,preserveAspectRatio:"xMinYMin"}),ar=rr(["overlay"],[Ut],Y);return ar.height=Ve,ar.style.height=Ve+"em",ar.style.width=Se+"em",ar},it={fontMap:Ze,makeSymbol:Ki,mathsym:Dt,makeSpan:Dn,makeSvgSpan:rr,makeLineSpan:_t,makeAnchor:rt,makeFragment:Ot,wrapFragment:ht,makeVList:fr,makeOrd:hi,makeGlue:Cr,staticSvg:be,svgData:et,tryCombineChars:Ti};function or(Ke,Z){var Y=kr(Ke,Z);if(!Y)throw new Error("Expected node of type "+Z+", but got "+(Ke?"node of type "+Ke.type:String(Ke)));return Y}function kr(Ke,Z){return Ke&&Ke.type===Z?Ke:null}function Ir(Ke,Z){var Y=Pr(Ke,Z);if(!Y)throw new Error('Expected node of type "atom" and family "'+Z+'", but got '+(Ke?Ke.type==="atom"?"atom of family "+Ke.family:"node of type "+Ke.type:String(Ke)));return Y}function Pr(Ke,Z){return Ke&&Ke.type==="atom"&&Ke.family===Z?Ke:null}function Wr(Ke){var Z=wn(Ke);if(!Z)throw new Error("Expected node of symbol group type, but got "+(Ke?"node of type "+Ke.type:String(Ke)));return Z}function wn(Ke){return Ke&&(Ke.type==="atom"||Ct.hasOwnProperty(Ke.type))?Ke:null}var gr={number:3,unit:"mu"},fn={number:4,unit:"mu"},un={number:5,unit:"mu"},dn={mord:{mop:gr,mbin:fn,mrel:un,minner:gr},mop:{mord:gr,mop:gr,mrel:un,minner:gr},mbin:{mord:fn,mop:fn,mopen:fn,minner:fn},mrel:{mord:un,mop:un,mopen:un,minner:un},mopen:{},mclose:{mop:gr,mbin:fn,mrel:un,minner:gr},mpunct:{mord:gr,mop:gr,mrel:un,mopen:gr,mclose:gr,mpunct:gr,minner:gr},minner:{mord:gr,mop:gr,mbin:fn,mrel:un,mopen:gr,mpunct:gr,minner:gr}},gn={mord:{mop:gr},mop:{mord:gr,mop:gr},mbin:{},mrel:{},mopen:{},mclose:{mop:gr},mpunct:{},minner:{mop:gr}},ka={},Ci={},pi={};function bn(Ke){for(var Z=Ke.type,Y=Ke.names,te=Ke.props,he=Ke.handler,Se=Ke.htmlBuilder,Ve=Ke.mathmlBuilder,Pt={type:Z,numArgs:te.numArgs,argTypes:te.argTypes,greediness:te.greediness===void 0?1:te.greediness,allowedInText:!!te.allowedInText,allowedInMath:te.allowedInMath===void 0?!0:te.allowedInMath,numOptionalArgs:te.numOptionalArgs||0,infix:!!te.infix,handler:he},Ut=0;Ut<Y.length;++Ut)ka[Y[Ut]]=Pt;Z&&(Se&&(Ci[Z]=Se),Ve&&(pi[Z]=Ve))}function ui(Ke){var Z=Ke.type,Y=Ke.htmlBuilder,te=Ke.mathmlBuilder;bn({type:Z,names:[],props:{numArgs:0},handler:function(){throw new Error("Should never be called.")},htmlBuilder:Y,mathmlBuilder:te})}var ta=function(Z){var Y=kr(Z,"ordgroup");return Y?Y.body:[Z]},Ca=it.makeSpan,Ks=["leftmost","mbin","mopen","mrel","mop","mpunct"],Ha=["rightmost","mrel","mclose","mpunct"],Zs={display:z.DISPLAY,text:z.TEXT,script:z.SCRIPT,scriptscript:z.SCRIPTSCRIPT},Js={mord:"mord",mop:"mop",mbin:"mbin",mrel:"mrel",mopen:"mopen",mclose:"mclose",mpunct:"mpunct",minner:"minner"},is=function(Z,Y,te,he){he===void 0&&(he=[null,null]);for(var Se=[],Ve=0;Ve<Z.length;Ve++){var Pt=Bi(Z[Ve],Y);if(Pt instanceof je){var Ut=Pt.children;Se.push.apply(Se,Ut)}else Se.push(Pt)}if(!te)return Se;var ar=Y;if(Z.length===1){var Ar=kr(Z[0],"sizing")||kr(Z[0],"styling");Ar&&(Ar.type==="sizing"?ar=Y.havingSize(Ar.size):Ar.type==="styling"&&(ar=Y.havingStyle(Zs[Ar.style])))}var Kr=Ca([he[0]||"leftmost"],[],Y),cn=Ca([he[1]||"rightmost"],[],Y);return Hs(Se,function(An,Kn){var ti=Kn.classes[0],Oi=An.classes[0];ti==="mbin"&&A.contains(Ha,Oi)?Kn.classes[0]="mord":Oi==="mbin"&&A.contains(Ks,ti)&&(An.classes[0]="mord")},{node:Kr},cn),Hs(Se,function(An,Kn){var ti=ds(Kn),Oi=ds(An),ji=ti&&Oi?An.hasClass("mtight")?gn[ti][Oi]:dn[ti][Oi]:null;if(ji)return it.makeGlue(ji,ar)},{node:Kr},cn),Se},Hs=function Ke(Z,Y,te,he){he&&Z.push(he);for(var Se=0;Se<Z.length;Se++){var Ve=Z[Se],Pt=Aa(Ve);if(Pt){Ke(Pt.children,Y,te);continue}if(Ve.classes[0]!=="mspace"){var Ut=Y(Ve,te.node);Ut&&(te.insertAfter?te.insertAfter(Ut):(Z.unshift(Ut),Se++)),te.node=Ve,te.insertAfter=function(ar){return function(Ar){Z.splice(ar+1,0,Ar),Se++}}(Se)}}he&&Z.pop()},Aa=function(Z){return Z instanceof je||Z instanceof Qe?Z:null},Ss=function Ke(Z,Y){var te=Aa(Z);if(te){var he=te.children;if(he.length){if(Y==="right")return Ke(he[he.length-1],"right");if(Y==="left")return Ke(he[0],"left")}}return Z},ds=function(Z,Y){return Z?(Y&&(Z=Ss(Z,Y)),Js[Z.classes[0]]||null):null},eo=function(Z,Y){var te=["nulldelimiter"].concat(Z.baseSizingClasses());return Ca(Y.concat(te))},Bi=function(Z,Y,te){if(!Z)return Ca();if(Ci[Z.type]){var he=Ci[Z.type](Z,Y);if(te&&Y.size!==te.size){he=Ca(Y.sizingClasses(te),[he],Y);var Se=Y.sizeMultiplier/te.sizeMultiplier;he.height*=Se,he.depth*=Se}return he}else throw new o("Got group of unknown type: '"+Z.type+"'")};function ks(Ke,Z){var Y=Ca(["base"],Ke,Z),te=Ca(["strut"]);return te.style.height=Y.height+Y.depth+"em",te.style.verticalAlign=-Y.depth+"em",Y.children.unshift(te),Y}function Bo(Ke,Z){var Y=null;Ke.length===1&&Ke[0].type==="tag"&&(Y=Ke[0].tag,Ke=Ke[0].body);for(var te=is(Ke,Z,!0),he=[],Se=[],Ve=0;Ve<te.length;Ve++)if(Se.push(te[Ve]),te[Ve].hasClass("mbin")||te[Ve].hasClass("mrel")||te[Ve].hasClass("allowbreak")){for(var Pt=!1;Ve<te.length-1&&te[Ve+1].hasClass("mspace")&&!te[Ve+1].hasClass("newline");)Ve++,Se.push(te[Ve]),te[Ve].hasClass("nobreak")&&(Pt=!0);Pt||(he.push(ks(Se,Z)),Se=[])}else te[Ve].hasClass("newline")&&(Se.pop(),Se.length>0&&(he.push(ks(Se,Z)),Se=[]),he.push(te[Ve]));Se.length>0&&he.push(ks(Se,Z));var Ut;Y&&(Ut=ks(is(Y,Z,!0)),Ut.classes=["tag"],he.push(Ut));var ar=Ca(["katex-html"],he);if(ar.setAttribute("aria-hidden","true"),Ut){var Ar=Ut.children[0];Ar.style.height=ar.height+ar.depth+"em",Ar.style.verticalAlign=-ar.depth+"em"}return ar}function Wa(Ke){return new je(Ke)}var Rs=function(){function Ke(Y,te){this.type=void 0,this.attributes=void 0,this.children=void 0,this.type=Y,this.attributes={},this.children=te||[]}var Z=Ke.prototype;return Z.setAttribute=function(te,he){this.attributes[te]=he},Z.getAttribute=function(te){return this.attributes[te]},Z.toNode=function(){var te=document.createElementNS("http://www.w3.org/1998/Math/MathML",this.type);for(var he in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,he)&&te.setAttribute(he,this.attributes[he]);for(var Se=0;Se<this.children.length;Se++)te.appendChild(this.children[Se].toNode());return te},Z.toMarkup=function(){var te="<"+this.type;for(var he in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,he)&&(te+=" "+he+'="',te+=A.escape(this.attributes[he]),te+='"');te+=">";for(var Se=0;Se<this.children.length;Se++)te+=this.children[Se].toMarkup();return te+="</"+this.type+">",te},Z.toText=function(){return this.children.map(function(te){return te.toText()}).join("")},Ke}(),ci=function(){function Ke(Y){this.text=void 0,this.text=Y}var Z=Ke.prototype;return Z.toNode=function(){return document.createTextNode(this.text)},Z.toMarkup=function(){return A.escape(this.toText())},Z.toText=function(){return this.text},Ke}(),fo=function(){function Ke(Y){this.width=void 0,this.character=void 0,this.width=Y,Y>=.05555&&Y<=.05556?this.character="\u200A":Y>=.1666&&Y<=.1667?this.character="\u2009":Y>=.2222&&Y<=.2223?this.character="\u2005":Y>=.2777&&Y<=.2778?this.character="\u2005\u200A":Y>=-.05556&&Y<=-.05555?this.character="\u200A\u2063":Y>=-.1667&&Y<=-.1666?this.character="\u2009\u2063":Y>=-.2223&&Y<=-.2222?this.character="\u205F\u2063":Y>=-.2778&&Y<=-.2777?this.character="\u2005\u2063":this.character=null}var Z=Ke.prototype;return Z.toNode=function(){if(this.character)return document.createTextNode(this.character);var te=document.createElementNS("http://www.w3.org/1998/Math/MathML","mspace");return te.setAttribute("width",this.width+"em"),te},Z.toMarkup=function(){return this.character?"<mtext>"+this.character+"</mtext>":'<mspace width="'+this.width+'em"/>'},Z.toText=function(){return this.character?this.character:" "},Ke}(),Nn={MathNode:Rs,TextNode:ci,SpaceNode:fo,newDocumentFragment:Wa},Ja=function(Z,Y,te){return ze[Y][Z]&&ze[Y][Z].replace&&Z.charCodeAt(0)!==55349&&!(Xr.hasOwnProperty(Z)&&te&&(te.fontFamily&&te.fontFamily.substr(4,2)==="tt"||te.font&&te.font.substr(4,2)==="tt"))&&(Z=ze[Y][Z].replace),new Nn.TextNode(Z)},As=function(Z){return Z.length===1?Z[0]:new Nn.MathNode("mrow",Z)},Ps=function(Z,Y){if(Y.fontFamily==="texttt")return"monospace";if(Y.fontFamily==="textsf")return Y.fontShape==="textit"&&Y.fontWeight==="textbf"?"sans-serif-bold-italic":Y.fontShape==="textit"?"sans-serif-italic":Y.fontWeight==="textbf"?"bold-sans-serif":"sans-serif";if(Y.fontShape==="textit"&&Y.fontWeight==="textbf")return"bold-italic";if(Y.fontShape==="textit")return"italic";if(Y.fontWeight==="textbf")return"bold";var te=Y.font;if(!te||te==="mathnormal")return null;var he=Z.mode;if(te==="mathit")return"italic";if(te==="boldsymbol")return"bold-italic";if(te==="mathbf")return"bold";if(te==="mathbb")return"double-struck";if(te==="mathfrak")return"fraktur";if(te==="mathscr"||te==="mathcal")return"script";if(te==="mathsf")return"sans-serif";if(te==="mathtt")return"monospace";var Se=Z.text;if(A.contains(["\\imath","\\jmath"],Se))return null;ze[he][Se]&&ze[he][Se].replace&&(Se=ze[he][Se].replace);var Ve=it.fontMap[te].fontName;return Vt(Se,Ve,he)?it.fontMap[te].variant:null},ca=function(Z,Y,te){if(Z.length===1){var he=Yi(Z[0],Y);return te&&he instanceof Rs&&he.type==="mo"&&(he.setAttribute("lspace","0em"),he.setAttribute("rspace","0em")),[he]}for(var Se=[],Ve,Pt=0;Pt<Z.length;Pt++){var Ut=Yi(Z[Pt],Y);if(Ut instanceof Rs&&Ve instanceof Rs){if(Ut.type==="mtext"&&Ve.type==="mtext"&&Ut.getAttribute("mathvariant")===Ve.getAttribute("mathvariant")){var ar;(ar=Ve.children).push.apply(ar,Ut.children);continue}else if(Ut.type==="mn"&&Ve.type==="mn"){var Ar;(Ar=Ve.children).push.apply(Ar,Ut.children);continue}else if(Ut.type==="mi"&&Ut.children.length===1&&Ve.type==="mn"){var Kr=Ut.children[0];if(Kr instanceof ci&&Kr.text==="."){var cn;(cn=Ve.children).push.apply(cn,Ut.children);continue}}else if(Ve.type==="mi"&&Ve.children.length===1){var An=Ve.children[0];if(An instanceof ci&&An.text==="\u0338"&&(Ut.type==="mo"||Ut.type==="mi"||Ut.type==="mn")){var Kn=Ut.children[0];Kn instanceof ci&&Kn.text.length>0&&(Kn.text=Kn.text.slice(0,1)+"\u0338"+Kn.text.slice(1),Se.pop())}}}Se.push(Ut),Ve=Ut}return Se},es=function(Z,Y,te){return As(ca(Z,Y,te))},Yi=function(Z,Y){if(!Z)return new Nn.MathNode("mrow");if(pi[Z.type]){var te=pi[Z.type](Z,Y);return te}else throw new o("Got group of unknown type: '"+Z.type+"'")};function Ws(Ke,Z,Y,te){var he=ca(Ke,Y),Se;he.length===1&&he[0]instanceof Rs&&A.contains(["mrow","mtable"],he[0].type)?Se=he[0]:Se=new Nn.MathNode("mrow",he);var Ve=new Nn.MathNode("annotation",[new Nn.TextNode(Z)]);Ve.setAttribute("encoding","application/x-tex");var Pt=new Nn.MathNode("semantics",[Se,Ve]),Ut=new Nn.MathNode("math",[Pt]);Ut.setAttribute("xmlns","http://www.w3.org/1998/Math/MathML");var ar=te?"katex":"katex-mathml";return it.makeSpan([ar],[Ut])}var vo=function(Z){return new Ai({style:Z.displayMode?z.DISPLAY:z.TEXT,maxSize:Z.maxSize,minRuleThickness:Z.minRuleThickness})},Wo=function(Z,Y){if(Y.displayMode){var te=["katex-display"];Y.leqno&&te.push("leqno"),Y.fleqn&&te.push("fleqn"),Z=it.makeSpan(te,[Z])}return Z},Go=function(Z,Y,te){var he=vo(te),Se;if(te.output==="mathml")return Ws(Z,Y,he,!0);if(te.output==="html"){var Ve=Bo(Z,he);Se=it.makeSpan(["katex"],[Ve])}else{var Pt=Ws(Z,Y,he,!1),Ut=Bo(Z,he);Se=it.makeSpan(["katex"],[Pt,Ut])}return Wo(Se,te)},mu=function(Z,Y,te){var he=vo(te),Se=Bo(Z,he),Ve=it.makeSpan(["katex"],[Se]);return Wo(Ve,te)},uu=Go,ho={widehat:"^",widecheck:"\u02C7",widetilde:"~",utilde:"~",overleftarrow:"\u2190",underleftarrow:"\u2190",xleftarrow:"\u2190",overrightarrow:"\u2192",underrightarrow:"\u2192",xrightarrow:"\u2192",underbrace:"\u23DF",overbrace:"\u23DE",overgroup:"\u23E0",undergroup:"\u23E1",overleftrightarrow:"\u2194",underleftrightarrow:"\u2194",xleftrightarrow:"\u2194",Overrightarrow:"\u21D2",xRightarrow:"\u21D2",overleftharpoon:"\u21BC",xleftharpoonup:"\u21BC",overrightharpoon:"\u21C0",xrightharpoonup:"\u21C0",xLeftarrow:"\u21D0",xLeftrightarrow:"\u21D4",xhookleftarrow:"\u21A9",xhookrightarrow:"\u21AA",xmapsto:"\u21A6",xrightharpoondown:"\u21C1",xleftharpoondown:"\u21BD",xrightleftharpoons:"\u21CC",xleftrightharpoons:"\u21CB",xtwoheadleftarrow:"\u219E",xtwoheadrightarrow:"\u21A0",xlongequal:"=",xtofrom:"\u21C4",xrightleftarrows:"\u21C4",xrightequilibrium:"\u21CC",xleftequilibrium:"\u21CB"},No=function(Z){var Y=new Nn.MathNode("mo",[new Nn.TextNode(ho[Z.substr(1)])]);return Y.setAttribute("stretchy","true"),Y},Co={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]},qo=function(Z){return Z.type==="ordgroup"?Z.body.length:1},Ko=function(Z,Y){function te(){var Ut=4e5,ar=Z.label.substr(1);if(A.contains(["widehat","widecheck","widetilde","utilde"],ar)){var Ar=Z,Kr=qo(Ar.base),cn,An,Kn;if(Kr>5)ar==="widehat"||ar==="widecheck"?(cn=420,Ut=2364,Kn=.42,An=ar+"4"):(cn=312,Ut=2340,Kn=.34,An="tilde4");else{var ti=[1,1,2,2,3,3][Kr];ar==="widehat"||ar==="widecheck"?(Ut=[0,1062,2364,2364,2364][ti],cn=[0,239,300,360,420][ti],Kn=[0,.24,.3,.3,.36,.42][ti],An=ar+ti):(Ut=[0,600,1033,2339,2340][ti],cn=[0,260,286,306,312][ti],Kn=[0,.26,.286,.3,.306,.34][ti],An="tilde"+ti)}var Oi=new He(An),ji=new Ge([Oi],{width:"100%",height:Kn+"em",viewBox:"0 0 "+Ut+" "+cn,preserveAspectRatio:"none"});return{span:it.makeSvgSpan([],[ji],Y),minWidth:0,height:Kn}}else{var la=[],wa=Co[ar],Ts=wa[0],Ds=wa[1],Ls=wa[2],ms=Ls/1e3,Oa=Ts.length,io,xs;if(Oa===1){var pr=wa[3];io=["hide-tail"],xs=[pr]}else if(Oa===2)io=["halfarrow-left","halfarrow-right"],xs=["xMinYMin","xMaxYMin"];else if(Oa===3)io=["brace-left","brace-center","brace-right"],xs=["xMinYMin","xMidYMin","xMaxYMin"];else throw new Error(`Correct katexImagesData or update code here to support
`+Oa+" children.");for(var Io=0;Io<Oa;Io++){var Mo=new He(Ts[Io]),gu=new Ge([Mo],{width:"400em",height:ms+"em",viewBox:"0 0 "+Ut+" "+Ls,preserveAspectRatio:xs[Io]+" slice"}),Ns=it.makeSvgSpan([io[Io]],[gu],Y);if(Oa===1)return{span:Ns,minWidth:Ds,height:ms};Ns.style.height=ms+"em",la.push(Ns)}return{span:it.makeSpan(["stretchy"],la,Y),minWidth:Ds,height:ms}}}var he=te(),Se=he.span,Ve=he.minWidth,Pt=he.height;return Se.height=Pt,Se.style.height=Pt+"em",Ve>0&&(Se.style.minWidth=Ve+"em"),Se},vi=function(Z,Y,te,he){var Se,Ve=Z.height+Z.depth+2*te;if(/fbox|color/.test(Y)){if(Se=it.makeSpan(["stretchy",Y],[],he),Y==="fbox"){var Pt=he.color&&he.getColor();Pt&&(Se.style.borderColor=Pt)}}else{var Ut=[];/^[bx]cancel$/.test(Y)&&Ut.push(new Ye({x1:"0",y1:"0",x2:"100%",y2:"100%","stroke-width":"0.046em"})),/^x?cancel$/.test(Y)&&Ut.push(new Ye({x1:"0",y1:"100%",x2:"100%",y2:"0","stroke-width":"0.046em"}));var ar=new Ge(Ut,{width:"100%",height:Ve+"em"});Se=it.makeSvgSpan([],[ar],he)}return Se.height=Ve,Se.style.height=Ve+"em",Se},_i={encloseSpan:vi,mathMLnode:No,svgSpan:Ko},ts=function(Z,Y){var te,he,Se=kr(Z,"supsub"),Ve;Se?(he=or(Se.base,"accent"),te=he.base,Se.base=te,Ve=xt(Bi(Se,Y)),Se.base=he):(he=or(Z,"accent"),te=he.base);var Pt=Bi(te,Y.havingCrampedStyle()),Ut=he.isShifty&&A.isCharacterBox(te),ar=0;if(Ut){var Ar=A.getBaseElem(te),Kr=Bi(Ar,Y.havingCrampedStyle());ar=dt(Kr).skew}var cn=Math.min(Pt.height,Y.fontMetrics().xHeight),An;if(he.isStretchy)An=_i.svgSpan(he,Y),An=it.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:Pt},{type:"elem",elem:An,wrapperClasses:["svg-align"],wrapperStyle:ar>0?{width:"calc(100% - "+2*ar+"em)",marginLeft:2*ar+"em"}:void 0}]},Y);else{var Kn,ti;he.label==="\\vec"?(Kn=it.staticSvg("vec",Y),ti=it.svgData.vec[1]):(Kn=it.makeOrd({mode:he.mode,text:he.label},Y,"textord"),Kn=dt(Kn),Kn.italic=0,ti=Kn.width),An=it.makeSpan(["accent-body"],[Kn]);var Oi=he.label==="\\textcircled";Oi&&(An.classes.push("accent-full"),cn=Pt.height);var ji=ar;Oi||(ji-=ti/2),An.style.left=ji+"em",he.label==="\\textcircled"&&(An.style.top=".2em"),An=it.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:Pt},{type:"kern",size:-cn},{type:"elem",elem:An}]},Y)}var la=it.makeSpan(["mord","accent"],[An],Y);return Ve?(Ve.children[0]=la,Ve.height=Math.max(la.height,Ve.height),Ve.classes[0]="mord",Ve):la},ss=function(Z,Y){var te=Z.isStretchy?_i.mathMLnode(Z.label):new Nn.MathNode("mo",[Ja(Z.label,Z.mode)]),he=new Nn.MathNode("mover",[Yi(Z.base,Y),te]);return he.setAttribute("accent","true"),he},as=new RegExp(["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring"].map(function(Ke){return"\\"+Ke}).join("|"));bn({type:"accent",names:["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring","\\widecheck","\\widehat","\\widetilde","\\overrightarrow","\\overleftarrow","\\Overrightarrow","\\overleftrightarrow","\\overgroup","\\overlinesegment","\\overleftharpoon","\\overrightharpoon"],props:{numArgs:1},handler:function(Z,Y){var te=Y[0],he=!as.test(Z.funcName),Se=!he||Z.funcName==="\\widehat"||Z.funcName==="\\widetilde"||Z.funcName==="\\widecheck";return{type:"accent",mode:Z.parser.mode,label:Z.funcName,isStretchy:he,isShifty:Se,base:te}},htmlBuilder:ts,mathmlBuilder:ss}),bn({type:"accent",names:["\\'","\\`","\\^","\\~","\\=","\\u","\\.",'\\"',"\\r","\\H","\\v","\\textcircled"],props:{numArgs:1,allowedInText:!0,allowedInMath:!1},handler:function(Z,Y){var te=Y[0];return{type:"accent",mode:Z.parser.mode,label:Z.funcName,isStretchy:!1,isShifty:!0,base:te}},htmlBuilder:ts,mathmlBuilder:ss}),bn({type:"accentUnder",names:["\\underleftarrow","\\underrightarrow","\\underleftrightarrow","\\undergroup","\\underlinesegment","\\utilde"],props:{numArgs:1},handler:function(Z,Y){var te=Z.parser,he=Z.funcName,Se=Y[0];return{type:"accentUnder",mode:te.mode,label:he,base:Se}},htmlBuilder:function(Z,Y){var te=Bi(Z.base,Y),he=_i.svgSpan(Z,Y),Se=Z.label==="\\utilde"?.12:0,Ve=it.makeVList({positionType:"bottom",positionData:he.height+Se,children:[{type:"elem",elem:he,wrapperClasses:["svg-align"]},{type:"kern",size:Se},{type:"elem",elem:te}]},Y);return it.makeSpan(["mord","accentunder"],[Ve],Y)},mathmlBuilder:function(Z,Y){var te=_i.mathMLnode(Z.label),he=new Nn.MathNode("munder",[Yi(Z.base,Y),te]);return he.setAttribute("accentunder","true"),he}});var Ga=function(Z){var Y=new Nn.MathNode("mpadded",Z?[Z]:[]);return Y.setAttribute("width","+0.6em"),Y.setAttribute("lspace","0.3em"),Y};bn({type:"xArrow",names:["\\xleftarrow","\\xrightarrow","\\xLeftarrow","\\xRightarrow","\\xleftrightarrow","\\xLeftrightarrow","\\xhookleftarrow","\\xhookrightarrow","\\xmapsto","\\xrightharpoondown","\\xrightharpoonup","\\xleftharpoondown","\\xleftharpoonup","\\xrightleftharpoons","\\xleftrightharpoons","\\xlongequal","\\xtwoheadrightarrow","\\xtwoheadleftarrow","\\xtofrom","\\xrightleftarrows","\\xrightequilibrium","\\xleftequilibrium"],props:{numArgs:1,numOptionalArgs:1},handler:function(Z,Y,te){var he=Z.parser,Se=Z.funcName;return{type:"xArrow",mode:he.mode,label:Se,body:Y[0],below:te[0]}},htmlBuilder:function(Z,Y){var te=Y.style,he=Y.havingStyle(te.sup()),Se=it.wrapFragment(Bi(Z.body,he,Y),Y);Se.classes.push("x-arrow-pad");var Ve;Z.below&&(he=Y.havingStyle(te.sub()),Ve=it.wrapFragment(Bi(Z.below,he,Y),Y),Ve.classes.push("x-arrow-pad"));var Pt=_i.svgSpan(Z,Y),Ut=-Y.fontMetrics().axisHeight+.5*Pt.height,ar=-Y.fontMetrics().axisHeight-.5*Pt.height-.111;(Se.depth>.25||Z.label==="\\xleftequilibrium")&&(ar-=Se.depth);var Ar;if(Ve){var Kr=-Y.fontMetrics().axisHeight+Ve.height+.5*Pt.height+.111;Ar=it.makeVList({positionType:"individualShift",children:[{type:"elem",elem:Se,shift:ar},{type:"elem",elem:Pt,shift:Ut},{type:"elem",elem:Ve,shift:Kr}]},Y)}else Ar=it.makeVList({positionType:"individualShift",children:[{type:"elem",elem:Se,shift:ar},{type:"elem",elem:Pt,shift:Ut}]},Y);return Ar.children[0].children[0].children[1].classes.push("svg-align"),it.makeSpan(["mrel","x-arrow"],[Ar],Y)},mathmlBuilder:function(Z,Y){var te=_i.mathMLnode(Z.label),he;if(Z.body){var Se=Ga(Yi(Z.body,Y));if(Z.below){var Ve=Ga(Yi(Z.below,Y));he=new Nn.MathNode("munderover",[te,Ve,Se])}else he=new Nn.MathNode("mover",[te,Se])}else if(Z.below){var Pt=Ga(Yi(Z.below,Y));he=new Nn.MathNode("munder",[te,Pt])}else he=Ga(),he=new Nn.MathNode("mover",[te,he]);return he}}),bn({type:"textord",names:["\\@char"],props:{numArgs:1,allowedInText:!0},handler:function(Z,Y){for(var te=Z.parser,he=or(Y[0],"ordgroup"),Se=he.body,Ve="",Pt=0;Pt<Se.length;Pt++){var Ut=or(Se[Pt],"textord");Ve+=Ut.text}var ar=parseInt(Ve);if(isNaN(ar))throw new o("\\@char has non-numeric argument "+Ve);return{type:"textord",mode:te.mode,text:String.fromCharCode(ar)}}});var hs=function(Z,Y){var te=is(Z.body,Y.withColor(Z.color),!1);return it.makeFragment(te)},Jo=function(Z,Y){var te=ca(Z.body,Y.withColor(Z.color)),he=new Nn.MathNode("mstyle",te);return he.setAttribute("mathcolor",Z.color),he};bn({type:"color",names:["\\textcolor"],props:{numArgs:2,allowedInText:!0,greediness:3,argTypes:["color","original"]},handler:function(Z,Y){var te=Z.parser,he=or(Y[0],"color-token").color,Se=Y[1];return{type:"color",mode:te.mode,color:he,body:ta(Se)}},htmlBuilder:hs,mathmlBuilder:Jo}),bn({type:"color",names:["\\color"],props:{numArgs:1,allowedInText:!0,greediness:3,argTypes:["color"]},handler:function(Z,Y){var te=Z.parser,he=Z.breakOnTokenText,Se=or(Y[0],"color-token").color;te.gullet.macros.set("\\current@color",Se);var Ve=te.parseExpression(!0,he);return{type:"color",mode:te.mode,color:Se,body:Ve}},htmlBuilder:hs,mathmlBuilder:Jo}),bn({type:"cr",names:["\\cr","\\newline"],props:{numArgs:0,numOptionalArgs:1,argTypes:["size"],allowedInText:!0},handler:function(Z,Y,te){var he=Z.parser,Se=Z.funcName,Ve=te[0],Pt=Se==="\\cr",Ut=!1;return Pt||(he.settings.displayMode&&he.settings.useStrictBehavior("newLineInDisplayMode","In LaTeX, \\\\ or \\newline does nothing in display mode")?Ut=!1:Ut=!0),{type:"cr",mode:he.mode,newLine:Ut,newRow:Pt,size:Ve&&or(Ve,"size").value}},htmlBuilder:function(Z,Y){if(Z.newRow)throw new o("\\cr valid only within a tabular/array environment");var te=it.makeSpan(["mspace"],[],Y);return Z.newLine&&(te.classes.push("newline"),Z.size&&(te.style.marginTop=Vi(Z.size,Y)+"em")),te},mathmlBuilder:function(Z,Y){var te=new Nn.MathNode("mspace");return Z.newLine&&(te.setAttribute("linebreak","newline"),Z.size&&te.setAttribute("height",Vi(Z.size,Y)+"em")),te}});var Is=function(Z,Y,te){var he=ze.math[Z]&&ze.math[Z].replace,Se=Vt(he||Z,Y,te);if(!Se)throw new Error("Unsupported symbol "+Z+" and font size "+Y+".");return Se},ko=function(Z,Y,te,he){var Se=te.havingBaseStyle(Y),Ve=it.makeSpan(he.concat(Se.sizingClasses(te)),[Z],te),Pt=Se.sizeMultiplier/te.sizeMultiplier;return Ve.height*=Pt,Ve.depth*=Pt,Ve.maxFontSize=Se.sizeMultiplier,Ve},vu=function(Z,Y,te){var he=Y.havingBaseStyle(te),Se=(1-Y.sizeMultiplier/he.sizeMultiplier)*Y.fontMetrics().axisHeight;Z.classes.push("delimcenter"),Z.style.top=Se+"em",Z.height-=Se,Z.depth+=Se},wu=function(Z,Y,te,he,Se,Ve){var Pt=it.makeSymbol(Z,"Main-Regular",Se,he),Ut=ko(Pt,Y,he,Ve);return te&&vu(Ut,he,Y),Ut},qu=function(Z,Y,te,he){return it.makeSymbol(Z,"Size"+Y+"-Regular",te,he)},ll=function(Z,Y,te,he,Se,Ve){var Pt=qu(Z,Y,Se,he),Ut=ko(it.makeSpan(["delimsizing","size"+Y],[Pt],he),z.TEXT,he,Ve);return te&&vu(Ut,he,z.TEXT),Ut},Ro=function(Z,Y,te){var he;Y==="Size1-Regular"?he="delim-size1":he="delim-size4";var Se=it.makeSpan(["delimsizinginner",he],[it.makeSpan([],[it.makeSymbol(Z,Y,te)])]);return{type:"elem",elem:Se}},to={type:"kern",size:-.005},$o=function(Z,Y,te,he,Se,Ve){var Pt,Ut,ar,Ar;Pt=ar=Ar=Z,Ut=null;var Kr="Size1-Regular";Z==="\\uparrow"?ar=Ar="\u23D0":Z==="\\Uparrow"?ar=Ar="\u2016":Z==="\\downarrow"?Pt=ar="\u23D0":Z==="\\Downarrow"?Pt=ar="\u2016":Z==="\\updownarrow"?(Pt="\\uparrow",ar="\u23D0",Ar="\\downarrow"):Z==="\\Updownarrow"?(Pt="\\Uparrow",ar="\u2016",Ar="\\Downarrow"):Z==="["||Z==="\\lbrack"?(Pt="\u23A1",ar="\u23A2",Ar="\u23A3",Kr="Size4-Regular"):Z==="]"||Z==="\\rbrack"?(Pt="\u23A4",ar="\u23A5",Ar="\u23A6",Kr="Size4-Regular"):Z==="\\lfloor"||Z==="\u230A"?(ar=Pt="\u23A2",Ar="\u23A3",Kr="Size4-Regular"):Z==="\\lceil"||Z==="\u2308"?(Pt="\u23A1",ar=Ar="\u23A2",Kr="Size4-Regular"):Z==="\\rfloor"||Z==="\u230B"?(ar=Pt="\u23A5",Ar="\u23A6",Kr="Size4-Regular"):Z==="\\rceil"||Z==="\u2309"?(Pt="\u23A4",ar=Ar="\u23A5",Kr="Size4-Regular"):Z==="("||Z==="\\lparen"?(Pt="\u239B",ar="\u239C",Ar="\u239D",Kr="Size4-Regular"):Z===")"||Z==="\\rparen"?(Pt="\u239E",ar="\u239F",Ar="\u23A0",Kr="Size4-Regular"):Z==="\\{"||Z==="\\lbrace"?(Pt="\u23A7",Ut="\u23A8",Ar="\u23A9",ar="\u23AA",Kr="Size4-Regular"):Z==="\\}"||Z==="\\rbrace"?(Pt="\u23AB",Ut="\u23AC",Ar="\u23AD",ar="\u23AA",Kr="Size4-Regular"):Z==="\\lgroup"||Z==="\u27EE"?(Pt="\u23A7",Ar="\u23A9",ar="\u23AA",Kr="Size4-Regular"):Z==="\\rgroup"||Z==="\u27EF"?(Pt="\u23AB",Ar="\u23AD",ar="\u23AA",Kr="Size4-Regular"):Z==="\\lmoustache"||Z==="\u23B0"?(Pt="\u23A7",Ar="\u23AD",ar="\u23AA",Kr="Size4-Regular"):(Z==="\\rmoustache"||Z==="\u23B1")&&(Pt="\u23AB",Ar="\u23A9",ar="\u23AA",Kr="Size4-Regular");var cn=Is(Pt,Kr,Se),An=cn.height+cn.depth,Kn=Is(ar,Kr,Se),ti=Kn.height+Kn.depth,Oi=Is(Ar,Kr,Se),ji=Oi.height+Oi.depth,la=0,wa=1;if(Ut!==null){var Ts=Is(Ut,Kr,Se);la=Ts.height+Ts.depth,wa=2}var Ds=An+ji+la,Ls=Math.max(0,Math.ceil((Y-Ds)/(wa*ti))),ms=Ds+Ls*wa*ti,Oa=he.fontMetrics().axisHeight;te&&(Oa*=he.sizeMultiplier);var io=ms/2-Oa,xs=(Ls+1)*.005-ti,pr=[];if(pr.push(Ro(Ar,Kr,Se)),Ut===null)for(var Io=0;Io<Ls;Io++)pr.push(to),pr.push(Ro(ar,Kr,Se));else{for(var Mo=0;Mo<Ls;Mo++)pr.push(to),pr.push(Ro(ar,Kr,Se));pr.push({type:"kern",size:xs}),pr.push(Ro(ar,Kr,Se)),pr.push(to),pr.push(Ro(Ut,Kr,Se));for(var gu=0;gu<Ls;gu++)pr.push(to),pr.push(Ro(ar,Kr,Se))}pr.push({type:"kern",size:xs}),pr.push(Ro(ar,Kr,Se)),pr.push(to),pr.push(Ro(Pt,Kr,Se));var Ns=he.havingBaseStyle(z.TEXT),Vo=it.makeVList({positionType:"bottom",positionData:io,children:pr},Ns);return ko(it.makeSpan(["delimsizing","mult"],[Vo],Ns),z.TEXT,he,Ve)},ju=80,Lo=.08,jo=function(Z,Y,te,he,Se){var Ve=Mt(Z,he,te),Pt=new He(Z,Ve),Ut=new Ge([Pt],{width:"400em",height:Y+"em",viewBox:"0 0 400000 "+te,preserveAspectRatio:"xMinYMin slice"});return it.makeSvgSpan(["hide-tail"],[Ut],Se)},Mu=function(Z,Y){var te=Y.havingBaseSizing(),he=Sr("\\surd",Z*te.sizeMultiplier,ur,te),Se=te.sizeMultiplier,Ve=Math.max(0,Y.minRuleThickness-Y.fontMetrics().sqrtRuleThickness),Pt,Ut=0,ar=0,Ar=0,Kr;return he.type==="small"?(Ar=1e3+1e3*Ve+ju,Z<1?Se=1:Z<1.4&&(Se=.7),Ut=(1+Ve+Lo)/Se,ar=(1+Ve)/Se,Pt=jo("sqrtMain",Ut,Ar,Ve,Y),Pt.style.minWidth="0.853em",Kr=.833/Se):he.type==="large"?(Ar=(1e3+ju)*tu[he.size],ar=(tu[he.size]+Ve)/Se,Ut=(tu[he.size]+Ve+Lo)/Se,Pt=jo("sqrtSize"+he.size,Ut,Ar,Ve,Y),Pt.style.minWidth="1.02em",Kr=1/Se):(Ut=Z+Ve+Lo,ar=Z+Ve,Ar=Math.floor(1e3*Z+Ve)+ju,Pt=jo("sqrtTall",Ut,Ar,Ve,Y),Pt.style.minWidth="0.742em",Kr=1.056),Pt.height=ar,Pt.style.height=Ut+"em",{span:Pt,advanceWidth:Kr,ruleWidth:(Y.fontMetrics().sqrtRuleThickness+Ve)*Se}},eu=["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","\u230A","\u230B","\\lceil","\\rceil","\u2308","\u2309","\\surd"],hu=["\\uparrow","\\downarrow","\\updownarrow","\\Uparrow","\\Downarrow","\\Updownarrow","|","\\|","\\vert","\\Vert","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","\u27EE","\u27EF","\\lmoustache","\\rmoustache","\u23B0","\u23B1"],ro=["<",">","\\langle","\\rangle","/","\\backslash","\\lt","\\gt"],tu=[0,1.2,1.8,2.4,3],Uo=function(Z,Y,te,he,Se){if(Z==="<"||Z==="\\lt"||Z==="\u27E8"?Z="\\langle":(Z===">"||Z==="\\gt"||Z==="\u27E9")&&(Z="\\rangle"),A.contains(eu,Z)||A.contains(ro,Z))return ll(Z,Y,!1,te,he,Se);if(A.contains(hu,Z))return $o(Z,tu[Y],!1,te,he,Se);throw new o("Illegal delimiter: '"+Z+"'")},Jt=[{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}],dr=[{type:"small",style:z.SCRIPTSCRIPT},{type:"small",style:z.SCRIPT},{type:"small",style:z.TEXT},{type:"stack"}],ur=[{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"}],hr=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.")},Sr=function(Z,Y,te,he){for(var Se=Math.min(2,3-he.style.size),Ve=Se;Ve<te.length&&te[Ve].type!=="stack";Ve++){var Pt=Is(Z,hr(te[Ve]),"math"),Ut=Pt.height+Pt.depth;if(te[Ve].type==="small"){var ar=he.havingBaseStyle(te[Ve].style);Ut*=ar.sizeMultiplier}if(Ut>Y)return te[Ve]}return te[te.length-1]},yn=function(Z,Y,te,he,Se,Ve){Z==="<"||Z==="\\lt"||Z==="\u27E8"?Z="\\langle":(Z===">"||Z==="\\gt"||Z==="\u27E9")&&(Z="\\rangle");var Pt;A.contains(ro,Z)?Pt=Jt:A.contains(eu,Z)?Pt=ur:Pt=dr;var Ut=Sr(Z,Y,Pt,he);return Ut.type==="small"?wu(Z,Ut.style,te,he,Se,Ve):Ut.type==="large"?ll(Z,Ut.size,te,he,Se,Ve):$o(Z,Y,te,he,Se,Ve)},Zn=function(Z,Y,te,he,Se,Ve){var Pt=he.fontMetrics().axisHeight*he.sizeMultiplier,Ut=901,ar=5/he.fontMetrics().ptPerEm,Ar=Math.max(Y-Pt,te+Pt),Kr=Math.max(Ar/500*Ut,2*Ar-ar);return yn(Z,Kr,!0,he,Se,Ve)},Rn={sqrtImage:Mu,sizedDelim:Uo,customSizedDelim:yn,leftRightDelim:Zn},Hn={"\\bigl":{mclass:"mopen",size:1},"\\Bigl":{mclass:"mopen",size:2},"\\biggl":{mclass:"mopen",size:3},"\\Biggl":{mclass:"mopen",size:4},"\\bigr":{mclass:"mclose",size:1},"\\Bigr":{mclass:"mclose",size:2},"\\biggr":{mclass:"mclose",size:3},"\\Biggr":{mclass:"mclose",size:4},"\\bigm":{mclass:"mrel",size:1},"\\Bigm":{mclass:"mrel",size:2},"\\biggm":{mclass:"mrel",size:3},"\\Biggm":{mclass:"mrel",size:4},"\\big":{mclass:"mord",size:1},"\\Big":{mclass:"mord",size:2},"\\bigg":{mclass:"mord",size:3},"\\Bigg":{mclass:"mord",size:4}},li=["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","\u230A","\u230B","\\lceil","\\rceil","\u2308","\u2309","<",">","\\langle","\u27E8","\\rangle","\u27E9","\\lt","\\gt","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","\u27EE","\u27EF","\\lmoustache","\\rmoustache","\u23B0","\u23B1","/","\\backslash","|","\\vert","\\|","\\Vert","\\uparrow","\\Uparrow","\\downarrow","\\Downarrow","\\updownarrow","\\Updownarrow","."];function ei(Ke,Z){var Y=wn(Ke);if(Y&&A.contains(li,Y.text))return Y;throw new o("Invalid delimiter: '"+(Y?Y.text:JSON.stringify(Ke))+"' after '"+Z.funcName+"'",Ke)}bn({type:"delimsizing",names:["\\bigl","\\Bigl","\\biggl","\\Biggl","\\bigr","\\Bigr","\\biggr","\\Biggr","\\bigm","\\Bigm","\\biggm","\\Biggm","\\big","\\Big","\\bigg","\\Bigg"],props:{numArgs:1},handler:function(Z,Y){var te=ei(Y[0],Z);return{type:"delimsizing",mode:Z.parser.mode,size:Hn[Z.funcName].size,mclass:Hn[Z.funcName].mclass,delim:te.text}},htmlBuilder:function(Z,Y){return Z.delim==="."?it.makeSpan([Z.mclass]):Rn.sizedDelim(Z.delim,Z.size,Y,Z.mode,[Z.mclass])},mathmlBuilder:function(Z){var Y=[];Z.delim!=="."&&Y.push(Ja(Z.delim,Z.mode));var te=new Nn.MathNode("mo",Y);return Z.mclass==="mopen"||Z.mclass==="mclose"?te.setAttribute("fence","true"):te.setAttribute("fence","false"),te}});function cr(Ke){if(!Ke.body)throw new Error("Bug: The leftright ParseNode wasn't fully parsed.")}bn({type:"leftright-right",names:["\\right"],props:{numArgs:1},handler:function(Z,Y){var te=Z.parser.gullet.macros.get("\\current@color");if(te&&typeof te!="string")throw new o("\\current@color set to non-string in \\right");return{type:"leftright-right",mode:Z.parser.mode,delim:ei(Y[0],Z).text,color:te}}}),bn({type:"leftright",names:["\\left"],props:{numArgs:1},handler:function(Z,Y){var te=ei(Y[0],Z),he=Z.parser;++he.leftrightDepth;var Se=he.parseExpression(!1);--he.leftrightDepth,he.expect("\\right",!1);var Ve=or(he.parseFunction(),"leftright-right");return{type:"leftright",mode:he.mode,body:Se,left:te.text,right:Ve.delim,rightColor:Ve.color}},htmlBuilder:function(Z,Y){cr(Z);for(var te=is(Z.body,Y,!0,["mopen","mclose"]),he=0,Se=0,Ve=!1,Pt=0;Pt<te.length;Pt++)te[Pt].isMiddle?Ve=!0:(he=Math.max(te[Pt].height,he),Se=Math.max(te[Pt].depth,Se));he*=Y.sizeMultiplier,Se*=Y.sizeMultiplier;var Ut;if(Z.left==="."?Ut=eo(Y,["mopen"]):Ut=Rn.leftRightDelim(Z.left,he,Se,Y,Z.mode,["mopen"]),te.unshift(Ut),Ve)for(var ar=1;ar<te.length;ar++){var Ar=te[ar],Kr=Ar.isMiddle;Kr&&(te[ar]=Rn.leftRightDelim(Kr.delim,he,Se,Kr.options,Z.mode,[]))}var cn;if(Z.right===".")cn=eo(Y,["mclose"]);else{var An=Z.rightColor?Y.withColor(Z.rightColor):Y;cn=Rn.leftRightDelim(Z.right,he,Se,An,Z.mode,["mclose"])}return te.push(cn),it.makeSpan(["minner"],te,Y)},mathmlBuilder:function(Z,Y){cr(Z);var te=ca(Z.body,Y);if(Z.left!=="."){var he=new Nn.MathNode("mo",[Ja(Z.left,Z.mode)]);he.setAttribute("fence","true"),te.unshift(he)}if(Z.right!=="."){var Se=new Nn.MathNode("mo",[Ja(Z.right,Z.mode)]);Se.setAttribute("fence","true"),Z.rightColor&&Se.setAttribute("mathcolor",Z.rightColor),te.push(Se)}return As(te)}}),bn({type:"middle",names:["\\middle"],props:{numArgs:1},handler:function(Z,Y){var te=ei(Y[0],Z);if(!Z.parser.leftrightDepth)throw new o("\\middle without preceding \\left",te);return{type:"middle",mode:Z.parser.mode,delim:te.text}},htmlBuilder:function(Z,Y){var te;if(Z.delim===".")te=eo(Y,[]);else{te=Rn.sizedDelim(Z.delim,1,Y,Z.mode,[]);var he={delim:Z.delim,options:Y};te.isMiddle=he}return te},mathmlBuilder:function(Z,Y){var te=Z.delim==="\\vert"||Z.delim==="|"?Ja("|","text"):Ja(Z.delim,Z.mode),he=new Nn.MathNode("mo",[te]);return he.setAttribute("fence","true"),he.setAttribute("lspace","0.05em"),he.setAttribute("rspace","0.05em"),he}});var Mr=function(Z,Y){var te=it.wrapFragment(Bi(Z.body,Y),Y),he=Z.label.substr(1),Se=Y.sizeMultiplier,Ve,Pt=0,Ut=A.isCharacterBox(Z.body);if(he==="sout")Ve=it.makeSpan(["stretchy","sout"]),Ve.height=Y.fontMetrics().defaultRuleThickness/Se,Pt=-.5*Y.fontMetrics().xHeight;else{/cancel/.test(he)?Ut||te.classes.push("cancel-pad"):te.classes.push("boxpad");var ar=0,Ar=0;/box/.test(he)?(Ar=Math.max(Y.fontMetrics().fboxrule,Y.minRuleThickness),ar=Y.fontMetrics().fboxsep+(he==="colorbox"?0:Ar)):ar=Ut?.2:0,Ve=_i.encloseSpan(te,he,ar,Y),/fbox|boxed|fcolorbox/.test(he)&&(Ve.style.borderStyle="solid",Ve.style.borderWidth=Ar+"em"),Pt=te.depth+ar,Z.backgroundColor&&(Ve.style.backgroundColor=Z.backgroundColor,Z.borderColor&&(Ve.style.borderColor=Z.borderColor))}var Kr;return Z.backgroundColor?Kr=it.makeVList({positionType:"individualShift",children:[{type:"elem",elem:Ve,shift:Pt},{type:"elem",elem:te,shift:0}]},Y):Kr=it.makeVList({positionType:"individualShift",children:[{type:"elem",elem:te,shift:0},{type:"elem",elem:Ve,shift:Pt,wrapperClasses:/cancel/.test(he)?["svg-align"]:[]}]},Y),/cancel/.test(he)&&(Kr.height=te.height,Kr.depth=te.depth),/cancel/.test(he)&&!Ut?it.makeSpan(["mord","cancel-lap"],[Kr],Y):it.makeSpan(["mord"],[Kr],Y)},Fr=function(Z,Y){var te=0,he=new Nn.MathNode(Z.label.indexOf("colorbox")>-1?"mpadded":"menclose",[Yi(Z.body,Y)]);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(te=Y.fontMetrics().fboxsep*Y.fontMetrics().ptPerEm,he.setAttribute("width","+"+2*te+"pt"),he.setAttribute("height","+"+2*te+"pt"),he.setAttribute("lspace",te+"pt"),he.setAttribute("voffset",te+"pt"),Z.label==="\\fcolorbox"){var Se=Math.max(Y.fontMetrics().fboxrule,Y.minRuleThickness);he.setAttribute("style","border: "+Se+"em solid "+String(Z.borderColor))}break;case"\\xcancel":he.setAttribute("notation","updiagonalstrike downdiagonalstrike");break}return Z.backgroundColor&&he.setAttribute("mathbackground",Z.backgroundColor),he};bn({type:"enclose",names:["\\colorbox"],props:{numArgs:2,allowedInText:!0,greediness:3,argTypes:["color","text"]},handler:function(Z,Y,te){var he=Z.parser,Se=Z.funcName,Ve=or(Y[0],"color-token").color,Pt=Y[1];return{type:"enclose",mode:he.mode,label:Se,backgroundColor:Ve,body:Pt}},htmlBuilder:Mr,mathmlBuilder:Fr}),bn({type:"enclose",names:["\\fcolorbox"],props:{numArgs:3,allowedInText:!0,greediness:3,argTypes:["color","color","text"]},handler:function(Z,Y,te){var he=Z.parser,Se=Z.funcName,Ve=or(Y[0],"color-token").color,Pt=or(Y[1],"color-token").color,Ut=Y[2];return{type:"enclose",mode:he.mode,label:Se,backgroundColor:Pt,borderColor:Ve,body:Ut}},htmlBuilder:Mr,mathmlBuilder:Fr}),bn({type:"enclose",names:["\\fbox"],props:{numArgs:1,argTypes:["hbox"],allowedInText:!0},handler:function(Z,Y){var te=Z.parser;return{type:"enclose",mode:te.mode,label:"\\fbox",body:Y[0]}}}),bn({type:"enclose",names:["\\cancel","\\bcancel","\\xcancel","\\sout"],props:{numArgs:1},handler:function(Z,Y,te){var he=Z.parser,Se=Z.funcName,Ve=Y[0];return{type:"enclose",mode:he.mode,label:Se,body:Ve}},htmlBuilder:Mr,mathmlBuilder:Fr});var Sn={};function Tn(Ke){for(var Z=Ke.type,Y=Ke.names,te=Ke.props,he=Ke.handler,Se=Ke.htmlBuilder,Ve=Ke.mathmlBuilder,Pt={type:Z,numArgs:te.numArgs||0,greediness:1,allowedInText:!1,numOptionalArgs:0,handler:he},Ut=0;Ut<Y.length;++Ut)Sn[Y[Ut]]=Pt;Se&&(Ci[Z]=Se),Ve&&(pi[Z]=Ve)}function pt(Ke){var Z=[];Ke.consumeSpaces();for(var Y=Ke.fetch().text;Y==="\\hline"||Y==="\\hdashline";)Ke.consume(),Z.push(Y==="\\hdashline"),Ke.consumeSpaces(),Y=Ke.fetch().text;return Z}function jn(Ke,Z,Y){var te=Z.hskipBeforeAndAfter,he=Z.addJot,Se=Z.cols,Ve=Z.arraystretch,Pt=Z.colSeparationType;if(Ke.gullet.beginGroup(),Ke.gullet.macros.set("\\\\","\\cr"),!Ve){var Ut=Ke.gullet.expandMacroAsText("\\arraystretch");if(Ut==null)Ve=1;else if(Ve=parseFloat(Ut),!Ve||Ve<0)throw new o("Invalid \\arraystretch: "+Ut)}Ke.gullet.beginGroup();var ar=[],Ar=[ar],Kr=[],cn=[];for(cn.push(pt(Ke));;){var An=Ke.parseExpression(!1,"\\cr");Ke.gullet.endGroup(),Ke.gullet.beginGroup(),An={type:"ordgroup",mode:Ke.mode,body:An},Y&&(An={type:"styling",mode:Ke.mode,style:Y,body:[An]}),ar.push(An);var Kn=Ke.fetch().text;if(Kn==="&")Ke.consume();else if(Kn==="\\end"){ar.length===1&&An.type==="styling"&&An.body[0].body.length===0&&Ar.pop(),cn.length<Ar.length+1&&cn.push([]);break}else if(Kn==="\\cr"){var ti=or(Ke.parseFunction(),"cr");Kr.push(ti.size),cn.push(pt(Ke)),ar=[],Ar.push(ar)}else throw new o("Expected & or \\\\ or \\cr or \\end",Ke.nextToken)}return Ke.gullet.endGroup(),Ke.gullet.endGroup(),{type:"array",mode:Ke.mode,addJot:he,arraystretch:Ve,body:Ar,cols:Se,rowGaps:Kr,hskipBeforeAndAfter:te,hLinesBeforeRow:cn,colSeparationType:Pt}}function Wn(Ke){return Ke.substr(0,1)==="d"?"display":"text"}var Ni=function(Z,Y){var te,he,Se=Z.body.length,Ve=Z.hLinesBeforeRow,Pt=0,Ut=new Array(Se),ar=[],Ar=Math.max(Y.fontMetrics().arrayRuleWidth,Y.minRuleThickness),Kr=1/Y.fontMetrics().ptPerEm,cn=5*Kr;if(Z.colSeparationType&&Z.colSeparationType==="small"){var An=Y.havingStyle(z.SCRIPT).sizeMultiplier;cn=.2778*(An/Y.sizeMultiplier)}var Kn=12*Kr,ti=3*Kr,Oi=Z.arraystretch*Kn,ji=.7*Oi,la=.3*Oi,wa=0;function Ts(ru){for(var cl=0;cl<ru.length;++cl)cl>0&&(wa+=.25),ar.push({pos:wa,isDashed:ru[cl]})}for(Ts(Ve[0]),te=0;te<Z.body.length;++te){var Ds=Z.body[te],Ls=ji,ms=la;Pt<Ds.length&&(Pt=Ds.length);var Oa=new Array(Ds.length);for(he=0;he<Ds.length;++he){var io=Bi(Ds[he],Y);ms<io.depth&&(ms=io.depth),Ls<io.height&&(Ls=io.height),Oa[he]=io}var xs=Z.rowGaps[te],pr=0;xs&&(pr=Vi(xs,Y),pr>0&&(pr+=la,ms<pr&&(ms=pr),pr=0)),Z.addJot&&(ms+=ti),Oa.height=Ls,Oa.depth=ms,wa+=Ls,Oa.pos=wa,wa+=ms+pr,Ut[te]=Oa,Ts(Ve[te+1])}var Io=wa/2+Y.fontMetrics().axisHeight,Mo=Z.cols||[],gu=[],Ns,Vo;for(he=0,Vo=0;he<Pt||Vo<Mo.length;++he,++Vo){for(var _o=Mo[Vo]||{},sc=!0;_o.type==="separator";){if(sc||(Ns=it.makeSpan(["arraycolsep"],[]),Ns.style.width=Y.fontMetrics().doubleRuleSep+"em",gu.push(Ns)),_o.separator==="|"||_o.separator===":"){var xl=_o.separator==="|"?"solid":"dashed",El=it.makeSpan(["vertical-separator"],[],Y);El.style.height=wa+"em",El.style.borderRightWidth=Ar+"em",El.style.borderRightStyle=xl,El.style.margin="0 -"+Ar/2+"em",El.style.verticalAlign=-(wa-Io)+"em",gu.push(El)}else throw new o("Invalid separator type: "+_o.separator);Vo++,_o=Mo[Vo]||{},sc=!1}if(!(he>=Pt)){var el=void 0;(he>0||Z.hskipBeforeAndAfter)&&(el=A.deflt(_o.pregap,cn),el!==0&&(Ns=it.makeSpan(["arraycolsep"],[]),Ns.style.width=el+"em",gu.push(Ns)));var $s=[];for(te=0;te<Se;++te){var zu=Ut[te],Zu=zu[he];if(Zu){var Do=zu.pos-Io;Zu.depth=zu.depth,Zu.height=zu.height,$s.push({type:"elem",elem:Zu,shift:Do})}}$s=it.makeVList({positionType:"individualShift",children:$s},Y),$s=it.makeSpan(["col-align-"+(_o.align||"c")],[$s]),gu.push($s),(he<Pt-1||Z.hskipBeforeAndAfter)&&(el=A.deflt(_o.postgap,cn),el!==0&&(Ns=it.makeSpan(["arraycolsep"],[]),Ns.style.width=el+"em",gu.push(Ns)))}}if(Ut=it.makeSpan(["mtable"],gu),ar.length>0){for(var Yo=it.makeLineSpan("hline",Y,Ar),Ul=it.makeLineSpan("hdashline",Y,Ar),pu=[{type:"elem",elem:Ut,shift:0}];ar.length>0;){var zl=ar.pop(),xo=zl.pos-Io;zl.isDashed?pu.push({type:"elem",elem:Ul,shift:xo}):pu.push({type:"elem",elem:Yo,shift:xo})}Ut=it.makeVList({positionType:"individualShift",children:pu},Y)}return it.makeSpan(["mord"],[Ut],Y)},ra={c:"center ",l:"left ",r:"right "},zr=function(Z,Y){var te=new Nn.MathNode("mtable",Z.body.map(function(wa){return new Nn.MathNode("mtr",wa.map(function(Ts){return new Nn.MathNode("mtd",[Yi(Ts,Y)])}))})),he=Z.arraystretch===.5?.1:.16+Z.arraystretch-1+(Z.addJot?.09:0);te.setAttribute("rowspacing",he+"em");var Se="",Ve="";if(Z.cols){var Pt=Z.cols,Ut="",ar=!1,Ar=0,Kr=Pt.length;Pt[0].type==="separator"&&(Se+="top ",Ar=1),Pt[Pt.length-1].type==="separator"&&(Se+="bottom ",Kr-=1);for(var cn=Ar;cn<Kr;cn++)Pt[cn].type==="align"?(Ve+=ra[Pt[cn].align],ar&&(Ut+="none "),ar=!0):Pt[cn].type==="separator"&&ar&&(Ut+=Pt[cn].separator==="|"?"solid ":"dashed ",ar=!1);te.setAttribute("columnalign",Ve.trim()),/[sd]/.test(Ut)&&te.setAttribute("columnlines",Ut.trim())}if(Z.colSeparationType==="align"){for(var An=Z.cols||[],Kn="",ti=1;ti<An.length;ti++)Kn+=ti%2?"0em ":"1em ";te.setAttribute("columnspacing",Kn.trim())}else Z.colSeparationType==="alignat"?te.setAttribute("columnspacing","0em"):Z.colSeparationType==="small"?te.setAttribute("columnspacing","0.2778em"):te.setAttribute("columnspacing","1em");var Oi="",ji=Z.hLinesBeforeRow;Se+=ji[0].length>0?"left ":"",Se+=ji[ji.length-1].length>0?"right ":"";for(var la=1;la<ji.length-1;la++)Oi+=ji[la].length===0?"none ":ji[la][0]?"dashed ":"solid ";return/[sd]/.test(Oi)&&te.setAttribute("rowlines",Oi.trim()),Se!==""&&(te=new Nn.MathNode("menclose",[te]),te.setAttribute("notation",Se.trim())),Z.arraystretch&&Z.arraystretch<1&&(te=new Nn.MathNode("mstyle",[te]),te.setAttribute("scriptlevel","1")),te},pa=function(Z,Y){var te=[],he=jn(Z.parser,{cols:te,addJot:!0},"display"),Se,Ve=0,Pt={type:"ordgroup",mode:Z.mode,body:[]},Ut=kr(Y[0],"ordgroup");if(Ut){for(var ar="",Ar=0;Ar<Ut.body.length;Ar++){var Kr=or(Ut.body[Ar],"textord");ar+=Kr.text}Se=Number(ar),Ve=Se*2}var cn=!Ve;he.body.forEach(function(Oi){for(var ji=1;ji<Oi.length;ji+=2){var la=or(Oi[ji],"styling"),wa=or(la.body[0],"ordgroup");wa.body.unshift(Pt)}if(cn)Ve<Oi.length&&(Ve=Oi.length);else{var Ts=Oi.length/2;if(Se<Ts)throw new o("Too many math in a row: "+("expected "+Se+", but got "+Ts),Oi[0])}});for(var An=0;An<Ve;++An){var Kn="r",ti=0;An%2===1?Kn="l":An>0&&cn&&(ti=1),te[An]={type:"align",align:Kn,pregap:ti,postgap:0}}return he.colSeparationType=cn?"align":"alignat",he};Tn({type:"array",names:["array","darray"],props:{numArgs:1},handler:function(Z,Y){var te=wn(Y[0]),he=te?[Y[0]]:or(Y[0],"ordgroup").body,Se=he.map(function(Pt){var Ut=Wr(Pt),ar=Ut.text;if("lcr".indexOf(ar)!==-1)return{type:"align",align:ar};if(ar==="|")return{type:"separator",separator:"|"};if(ar===":")return{type:"separator",separator:":"};throw new o("Unknown column alignment: "+ar,Pt)}),Ve={cols:Se,hskipBeforeAndAfter:!0};return jn(Z.parser,Ve,Wn(Z.envName))},htmlBuilder:Ni,mathmlBuilder:zr}),Tn({type:"array",names:["matrix","pmatrix","bmatrix","Bmatrix","vmatrix","Vmatrix"],props:{numArgs:0},handler:function(Z){var Y={matrix:null,pmatrix:["(",")"],bmatrix:["[","]"],Bmatrix:["\\{","\\}"],vmatrix:["|","|"],Vmatrix:["\\Vert","\\Vert"]}[Z.envName],te={hskipBeforeAndAfter:!1},he=jn(Z.parser,te,Wn(Z.envName));return Y?{type:"leftright",mode:Z.mode,body:[he],left:Y[0],right:Y[1],rightColor:void 0}:he},htmlBuilder:Ni,mathmlBuilder:zr}),Tn({type:"array",names:["smallmatrix"],props:{numArgs:0},handler:function(Z){var Y={arraystretch:.5},te=jn(Z.parser,Y,"script");return te.colSeparationType="small",te},htmlBuilder:Ni,mathmlBuilder:zr}),Tn({type:"array",names:["subarray"],props:{numArgs:1},handler:function(Z,Y){var te=wn(Y[0]),he=te?[Y[0]]:or(Y[0],"ordgroup").body,Se=he.map(function(Pt){var Ut=Wr(Pt),ar=Ut.text;if("lc".indexOf(ar)!==-1)return{type:"align",align:ar};throw new o("Unknown column alignment: "+ar,Pt)});if(Se.length>1)throw new o("{subarray} can contain only one column");var Ve={cols:Se,hskipBeforeAndAfter:!1,arraystretch:.5};if(Ve=jn(Z.parser,Ve,"script"),Ve.body[0].length>1)throw new o("{subarray} can contain only one column");return Ve},htmlBuilder:Ni,mathmlBuilder:zr}),Tn({type:"array",names:["cases","dcases"],props:{numArgs:0},handler:function(Z){var Y={arraystretch:1.2,cols:[{type:"align",align:"l",pregap:0,postgap:1},{type:"align",align:"l",pregap:0,postgap:0}]},te=jn(Z.parser,Y,Wn(Z.envName));return{type:"leftright",mode:Z.mode,body:[te],left:"\\{",right:".",rightColor:void 0}},htmlBuilder:Ni,mathmlBuilder:zr}),Tn({type:"array",names:["aligned"],props:{numArgs:0},handler:pa,htmlBuilder:Ni,mathmlBuilder:zr}),Tn({type:"array",names:["gathered"],props:{numArgs:0},handler:function(Z){var Y={cols:[{type:"align",align:"c"}],addJot:!0};return jn(Z.parser,Y,"display")},htmlBuilder:Ni,mathmlBuilder:zr}),Tn({type:"array",names:["alignedat"],props:{numArgs:1},handler:pa,htmlBuilder:Ni,mathmlBuilder:zr}),bn({type:"text",names:["\\hline","\\hdashline"],props:{numArgs:0,allowedInText:!0,allowedInMath:!0},handler:function(Z,Y){throw new o(Z.funcName+" valid only within array environment")}});var Xi=Sn,Pa=Xi;bn({type:"environment",names:["\\begin","\\end"],props:{numArgs:1,argTypes:["text"]},handler:function(Z,Y){var te=Z.parser,he=Z.funcName,Se=Y[0];if(Se.type!=="ordgroup")throw new o("Invalid environment name",Se);for(var Ve="",Pt=0;Pt<Se.body.length;++Pt)Ve+=or(Se.body[Pt],"textord").text;if(he==="\\begin"){if(!Pa.hasOwnProperty(Ve))throw new o("No such environment: "+Ve,Se);var Ut=Pa[Ve],ar=te.parseArguments("\\begin{"+Ve+"}",Ut),Ar=ar.args,Kr=ar.optArgs,cn={mode:te.mode,envName:Ve,parser:te},An=Ut.handler(cn,Ar,Kr);te.expect("\\end",!1);var Kn=te.nextToken,ti=or(te.parseFunction(),"environment");if(ti.name!==Ve)throw new o("Mismatch: \\begin{"+Ve+"} matched by \\end{"+ti.name+"}",Kn);return An}return{type:"environment",mode:te.mode,name:Ve,nameGroup:Se}}});var ps=it.makeSpan;function Vs(Ke,Z){var Y=is(Ke.body,Z,!0);return ps([Ke.mclass],Y,Z)}function $i(Ke,Z){var Y,te=ca(Ke.body,Z);return Ke.mclass==="minner"?Nn.newDocumentFragment(te):(Ke.mclass==="mord"?Ke.isCharacterBox?(Y=te[0],Y.type="mi"):Y=new Nn.MathNode("mi",te):(Ke.isCharacterBox?(Y=te[0],Y.type="mo"):Y=new Nn.MathNode("mo",te),Ke.mclass==="mbin"?(Y.attributes.lspace="0.22em",Y.attributes.rspace="0.22em"):Ke.mclass==="mpunct"?(Y.attributes.lspace="0em",Y.attributes.rspace="0.17em"):(Ke.mclass==="mopen"||Ke.mclass==="mclose")&&(Y.attributes.lspace="0em",Y.attributes.rspace="0em")),Y)}bn({type:"mclass",names:["\\mathord","\\mathbin","\\mathrel","\\mathopen","\\mathclose","\\mathpunct","\\mathinner"],props:{numArgs:1},handler:function(Z,Y){var te=Z.parser,he=Z.funcName,Se=Y[0];return{type:"mclass",mode:te.mode,mclass:"m"+he.substr(5),body:ta(Se),isCharacterBox:A.isCharacterBox(Se)}},htmlBuilder:Vs,mathmlBuilder:$i});var no=function(Z){var Y=Z.type==="ordgroup"&&Z.body.length?Z.body[0]:Z;return Y.type==="atom"&&(Y.family==="bin"||Y.family==="rel")?"m"+Y.family:"mord"};bn({type:"mclass",names:["\\@binrel"],props:{numArgs:2},handler:function(Z,Y){var te=Z.parser;return{type:"mclass",mode:te.mode,mclass:no(Y[0]),body:[Y[1]],isCharacterBox:A.isCharacterBox(Y[1])}}}),bn({type:"mclass",names:["\\stackrel","\\overset","\\underset"],props:{numArgs:2},handler:function(Z,Y){var te=Z.parser,he=Z.funcName,Se=Y[1],Ve=Y[0],Pt;he!=="\\stackrel"?Pt=no(Se):Pt="mrel";var Ut={type:"op",mode:Se.mode,limits:!0,alwaysHandleSupSub:!0,parentIsSupSub:!1,symbol:!1,suppressBaseShift:he!=="\\stackrel",body:ta(Se)},ar={type:"supsub",mode:Ve.mode,base:Ut,sup:he==="\\underset"?null:Ve,sub:he==="\\underset"?Ve:null};return{type:"mclass",mode:te.mode,mclass:Pt,body:[ar],isCharacterBox:A.isCharacterBox(ar)}},htmlBuilder:Vs,mathmlBuilder:$i});var so=function(Z,Y){var te=Z.font,he=Y.withFont(te);return Bi(Z.body,he)},Fs=function(Z,Y){var te=Z.font,he=Y.withFont(te);return Yi(Z.body,he)},Va={"\\Bbb":"\\mathbb","\\bold":"\\mathbf","\\frak":"\\mathfrak","\\bm":"\\boldsymbol"};bn({type:"font",names:["\\mathrm","\\mathit","\\mathbf","\\mathnormal","\\mathbb","\\mathcal","\\mathfrak","\\mathscr","\\mathsf","\\mathtt","\\Bbb","\\bold","\\frak"],props:{numArgs:1,greediness:2},handler:function(Z,Y){var te=Z.parser,he=Z.funcName,Se=Y[0],Ve=he;return Ve in Va&&(Ve=Va[Ve]),{type:"font",mode:te.mode,font:Ve.slice(1),body:Se}},htmlBuilder:so,mathmlBuilder:Fs}),bn({type:"mclass",names:["\\boldsymbol","\\bm"],props:{numArgs:1,greediness:2},handler:function(Z,Y){var te=Z.parser,he=Y[0],Se=A.isCharacterBox(he);return{type:"mclass",mode:te.mode,mclass:no(he),body:[{type:"font",mode:te.mode,font:"boldsymbol",body:he}],isCharacterBox:Se}}}),bn({type:"font",names:["\\rm","\\sf","\\tt","\\bf","\\it"],props:{numArgs:0,allowedInText:!0},handler:function(Z,Y){var te=Z.parser,he=Z.funcName,Se=Z.breakOnTokenText,Ve=te.mode,Pt=te.parseExpression(!0,Se),Ut="math"+he.slice(1);return{type:"font",mode:Ve,font:Ut,body:{type:"ordgroup",mode:te.mode,body:Pt}}},htmlBuilder:so,mathmlBuilder:Fs});var Xs=function(Z,Y){var te=Y;return Z==="display"?te=te.id>=z.SCRIPT.id?te.text():z.DISPLAY:Z==="text"&&te.size===z.DISPLAY.size?te=z.TEXT:Z==="script"?te=z.SCRIPT:Z==="scriptscript"&&(te=z.SCRIPTSCRIPT),te},po=function(Z,Y){var te=Xs(Z.size,Y.style),he=te.fracNum(),Se=te.fracDen(),Ve;Ve=Y.havingStyle(he);var Pt=Bi(Z.numer,Ve,Y);if(Z.continued){var Ut=8.5/Y.fontMetrics().ptPerEm,ar=3.5/Y.fontMetrics().ptPerEm;Pt.height=Pt.height<Ut?Ut:Pt.height,Pt.depth=Pt.depth<ar?ar:Pt.depth}Ve=Y.havingStyle(Se);var Ar=Bi(Z.denom,Ve,Y),Kr,cn,An;Z.hasBarLine?(Z.barSize?(cn=Vi(Z.barSize,Y),Kr=it.makeLineSpan("frac-line",Y,cn)):Kr=it.makeLineSpan("frac-line",Y),cn=Kr.height,An=Kr.height):(Kr=null,cn=0,An=Y.fontMetrics().defaultRuleThickness);var Kn,ti,Oi;te.size===z.DISPLAY.size||Z.size==="display"?(Kn=Y.fontMetrics().num1,cn>0?ti=3*An:ti=7*An,Oi=Y.fontMetrics().denom1):(cn>0?(Kn=Y.fontMetrics().num2,ti=An):(Kn=Y.fontMetrics().num3,ti=3*An),Oi=Y.fontMetrics().denom2);var ji;if(Kr){var wa=Y.fontMetrics().axisHeight;Kn-Pt.depth-(wa+.5*cn)<ti&&(Kn+=ti-(Kn-Pt.depth-(wa+.5*cn))),wa-.5*cn-(Ar.height-Oi)<ti&&(Oi+=ti-(wa-.5*cn-(Ar.height-Oi)));var Ts=-(wa-.5*cn);ji=it.makeVList({positionType:"individualShift",children:[{type:"elem",elem:Ar,shift:Oi},{type:"elem",elem:Kr,shift:Ts},{type:"elem",elem:Pt,shift:-Kn}]},Y)}else{var la=Kn-Pt.depth-(Ar.height-Oi);la<ti&&(Kn+=.5*(ti-la),Oi+=.5*(ti-la)),ji=it.makeVList({positionType:"individualShift",children:[{type:"elem",elem:Ar,shift:Oi},{type:"elem",elem:Pt,shift:-Kn}]},Y)}Ve=Y.havingStyle(te),ji.height*=Ve.sizeMultiplier/Y.sizeMultiplier,ji.depth*=Ve.sizeMultiplier/Y.sizeMultiplier;var Ds;te.size===z.DISPLAY.size?Ds=Y.fontMetrics().delim1:Ds=Y.fontMetrics().delim2;var Ls,ms;return Z.leftDelim==null?Ls=eo(Y,["mopen"]):Ls=Rn.customSizedDelim(Z.leftDelim,Ds,!0,Y.havingStyle(te),Z.mode,["mopen"]),Z.continued?ms=it.makeSpan([]):Z.rightDelim==null?ms=eo(Y,["mclose"]):ms=Rn.customSizedDelim(Z.rightDelim,Ds,!0,Y.havingStyle(te),Z.mode,["mclose"]),it.makeSpan(["mord"].concat(Ve.sizingClasses(Y)),[Ls,it.makeSpan(["mfrac"],[ji]),ms],Y)},Fn=function(Z,Y){var te=new Nn.MathNode("mfrac",[Yi(Z.numer,Y),Yi(Z.denom,Y)]);if(!Z.hasBarLine)te.setAttribute("linethickness","0px");else if(Z.barSize){var he=Vi(Z.barSize,Y);te.setAttribute("linethickness",he+"em")}var Se=Xs(Z.size,Y.style);if(Se.size!==Y.style.size){te=new Nn.MathNode("mstyle",[te]);var Ve=Se.size===z.DISPLAY.size?"true":"false";te.setAttribute("displaystyle",Ve),te.setAttribute("scriptlevel","0")}if(Z.leftDelim!=null||Z.rightDelim!=null){var Pt=[];if(Z.leftDelim!=null){var Ut=new Nn.MathNode("mo",[new Nn.TextNode(Z.leftDelim.replace("\\",""))]);Ut.setAttribute("fence","true"),Pt.push(Ut)}if(Pt.push(te),Z.rightDelim!=null){var ar=new Nn.MathNode("mo",[new Nn.TextNode(Z.rightDelim.replace("\\",""))]);ar.setAttribute("fence","true"),Pt.push(ar)}return As(Pt)}return te};bn({type:"genfrac",names:["\\cfrac","\\dfrac","\\frac","\\tfrac","\\dbinom","\\binom","\\tbinom","\\\\atopfrac","\\\\bracefrac","\\\\brackfrac"],props:{numArgs:2,greediness:2},handler:function(Z,Y){var te=Z.parser,he=Z.funcName,Se=Y[0],Ve=Y[1],Pt,Ut=null,ar=null,Ar="auto";switch(he){case"\\cfrac":case"\\dfrac":case"\\frac":case"\\tfrac":Pt=!0;break;case"\\\\atopfrac":Pt=!1;break;case"\\dbinom":case"\\binom":case"\\tbinom":Pt=!1,Ut="(",ar=")";break;case"\\\\bracefrac":Pt=!1,Ut="\\{",ar="\\}";break;case"\\\\brackfrac":Pt=!1,Ut="[",ar="]";break;default:throw new Error("Unrecognized genfrac command")}switch(he){case"\\cfrac":case"\\dfrac":case"\\dbinom":Ar="display";break;case"\\tfrac":case"\\tbinom":Ar="text";break}return{type:"genfrac",mode:te.mode,continued:he==="\\cfrac",numer:Se,denom:Ve,hasBarLine:Pt,leftDelim:Ut,rightDelim:ar,size:Ar,barSize:null}},htmlBuilder:po,mathmlBuilder:Fn}),bn({type:"infix",names:["\\over","\\choose","\\atop","\\brace","\\brack"],props:{numArgs:0,infix:!0},handler:function(Z){var Y=Z.parser,te=Z.funcName,he=Z.token,Se;switch(te){case"\\over":Se="\\frac";break;case"\\choose":Se="\\binom";break;case"\\atop":Se="\\\\atopfrac";break;case"\\brace":Se="\\\\bracefrac";break;case"\\brack":Se="\\\\brackfrac";break;default:throw new Error("Unrecognized infix genfrac command")}return{type:"infix",mode:Y.mode,replaceWith:Se,token:he}}});var $a=["display","text","script","scriptscript"],rs=function(Z){var Y=null;return Z.length>0&&(Y=Z,Y=Y==="."?null:Y),Y};bn({type:"genfrac",names:["\\genfrac"],props:{numArgs:6,greediness:6,argTypes:["math","math","size","text","math","math"]},handler:function(Z,Y){var te=Z.parser,he=Y[4],Se=Y[5],Ve=kr(Y[0],"atom");Ve&&(Ve=Ir(Y[0],"open"));var Pt=Ve?rs(Ve.text):null,Ut=kr(Y[1],"atom");Ut&&(Ut=Ir(Y[1],"close"));var ar=Ut?rs(Ut.text):null,Ar=or(Y[2],"size"),Kr,cn=null;Ar.isBlank?Kr=!0:(cn=Ar.value,Kr=cn.number>0);var An="auto",Kn=kr(Y[3],"ordgroup");if(Kn){if(Kn.body.length>0){var ti=or(Kn.body[0],"textord");An=$a[Number(ti.text)]}}else Kn=or(Y[3],"textord"),An=$a[Number(Kn.text)];return{type:"genfrac",mode:te.mode,numer:he,denom:Se,continued:!1,hasBarLine:Kr,barSize:cn,leftDelim:Pt,rightDelim:ar,size:An}},htmlBuilder:po,mathmlBuilder:Fn}),bn({type:"infix",names:["\\above"],props:{numArgs:1,argTypes:["size"],infix:!0},handler:function(Z,Y){var te=Z.parser,he=Z.funcName,Se=Z.token;return{type:"infix",mode:te.mode,replaceWith:"\\\\abovefrac",size:or(Y[0],"size").value,token:Se}}}),bn({type:"genfrac",names:["\\\\abovefrac"],props:{numArgs:3,argTypes:["math","size","math"]},handler:function(Z,Y){var te=Z.parser,he=Z.funcName,Se=Y[0],Ve=k(or(Y[1],"infix").size),Pt=Y[2],Ut=Ve.number>0;return{type:"genfrac",mode:te.mode,numer:Se,denom:Pt,continued:!1,hasBarLine:Ut,barSize:Ve,leftDelim:null,rightDelim:null,size:"auto"}},htmlBuilder:po,mathmlBuilder:Fn});var Xe=function(Z,Y){var te=Y.style,he,Se,Ve=kr(Z,"supsub");Ve?(he=Ve.sup?Bi(Ve.sup,Y.havingStyle(te.sup()),Y):Bi(Ve.sub,Y.havingStyle(te.sub()),Y),Se=or(Ve.base,"horizBrace")):Se=or(Z,"horizBrace");var Pt=Bi(Se.base,Y.havingBaseStyle(z.DISPLAY)),Ut=_i.svgSpan(Se,Y),ar;if(Se.isOver?(ar=it.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:Pt},{type:"kern",size:.1},{type:"elem",elem:Ut}]},Y),ar.children[0].children[0].children[1].classes.push("svg-align")):(ar=it.makeVList({positionType:"bottom",positionData:Pt.depth+.1+Ut.height,children:[{type:"elem",elem:Ut},{type:"kern",size:.1},{type:"elem",elem:Pt}]},Y),ar.children[0].children[0].children[0].classes.push("svg-align")),he){var Ar=it.makeSpan(["mord",Se.isOver?"mover":"munder"],[ar],Y);Se.isOver?ar=it.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:Ar},{type:"kern",size:.2},{type:"elem",elem:he}]},Y):ar=it.makeVList({positionType:"bottom",positionData:Ar.depth+.2+he.height+he.depth,children:[{type:"elem",elem:he},{type:"kern",size:.2},{type:"elem",elem:Ar}]},Y)}return it.makeSpan(["mord",Se.isOver?"mover":"munder"],[ar],Y)},Ie=function(Z,Y){var te=_i.mathMLnode(Z.label);return new Nn.MathNode(Z.isOver?"mover":"munder",[Yi(Z.base,Y),te])};bn({type:"horizBrace",names:["\\overbrace","\\underbrace"],props:{numArgs:1},handler:function(Z,Y){var te=Z.parser,he=Z.funcName;return{type:"horizBrace",mode:te.mode,label:he,isOver:/^\\over/.test(he),base:Y[0]}},htmlBuilder:Xe,mathmlBuilder:Ie}),bn({type:"href",names:["\\href"],props:{numArgs:2,argTypes:["url","original"],allowedInText:!0},handler:function(Z,Y){var te=Z.parser,he=Y[1],Se=or(Y[0],"url").url;return te.settings.isTrusted({command:"\\href",url:Se})?{type:"href",mode:te.mode,href:Se,body:ta(he)}:te.formatUnsupportedCmd("\\href")},htmlBuilder:function(Z,Y){var te=is(Z.body,Y,!1);return it.makeAnchor(Z.href,[],te,Y)},mathmlBuilder:function(Z,Y){var te=es(Z.body,Y);return te instanceof Rs||(te=new Rs("mrow",[te])),te.setAttribute("href",Z.href),te}}),bn({type:"href",names:["\\url"],props:{numArgs:1,argTypes:["url"],allowedInText:!0},handler:function(Z,Y){var te=Z.parser,he=or(Y[0],"url").url;if(!te.settings.isTrusted({command:"\\url",url:he}))return te.formatUnsupportedCmd("\\url");for(var Se=[],Ve=0;Ve<he.length;Ve++){var Pt=he[Ve];Pt==="~"&&(Pt="\\textasciitilde"),Se.push({type:"textord",mode:"text",text:Pt})}var Ut={type:"text",mode:te.mode,font:"\\texttt",body:Se};return{type:"href",mode:te.mode,href:he,body:ta(Ut)}}}),bn({type:"htmlmathml",names:["\\html@mathml"],props:{numArgs:2,allowedInText:!0},handler:function(Z,Y){var te=Z.parser;return{type:"htmlmathml",mode:te.mode,html:ta(Y[0]),mathml:ta(Y[1])}},htmlBuilder:function(Z,Y){var te=is(Z.html,Y,!1);return it.makeFragment(te)},mathmlBuilder:function(Z,Y){return es(Z.mathml,Y)}});var $t=function(Z){if(/^[-+]? *(\d+(\.\d*)?|\.\d+)$/.test(Z))return{number:+Z,unit:"bp"};var Y=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(Z);if(!Y)throw new o("Invalid size: '"+Z+"' in \\includegraphics");var te={number:+(Y[1]+Y[2]),unit:Y[3]};if(!oa(te))throw new o("Invalid unit: '"+te.unit+"' in \\includegraphics.");return te};bn({type:"includegraphics",names:["\\includegraphics"],props:{numArgs:1,numOptionalArgs:1,argTypes:["raw","url"],allowedInText:!1},handler:function(Z,Y,te){var he=Z.parser,Se={number:0,unit:"em"},Ve={number:.9,unit:"em"},Pt={number:0,unit:"em"},Ut="";if(te[0])for(var ar=or(te[0],"raw").string,Ar=ar.split(","),Kr=0;Kr<Ar.length;Kr++){var cn=Ar[Kr].split("=");if(cn.length===2){var An=cn[1].trim();switch(cn[0].trim()){case"alt":Ut=An;break;case"width":Se=$t(An);break;case"height":Ve=$t(An);break;case"totalheight":Pt=$t(An);break;default:throw new o("Invalid key: '"+cn[0]+"' in \\includegraphics.")}}}var Kn=or(Y[0],"url").url;return Ut===""&&(Ut=Kn,Ut=Ut.replace(/^.*[\\/]/,""),Ut=Ut.substring(0,Ut.lastIndexOf("."))),he.settings.isTrusted({command:"\\includegraphics",url:Kn})?{type:"includegraphics",mode:he.mode,alt:Ut,width:Se,height:Ve,totalheight:Pt,src:Kn}:he.formatUnsupportedCmd("\\includegraphics")},htmlBuilder:function(Z,Y){var te=Vi(Z.height,Y),he=0;Z.totalheight.number>0&&(he=Vi(Z.totalheight,Y)-te,he=Number(he.toFixed(2)));var Se=0;Z.width.number>0&&(Se=Vi(Z.width,Y));var Ve={height:te+he+"em"};Se>0&&(Ve.width=Se+"em"),he>0&&(Ve.verticalAlign=-he+"em");var Pt=new Ne(Z.src,Z.alt,Ve);return Pt.height=te,Pt.depth=he,Pt},mathmlBuilder:function(Z,Y){var te=new Nn.MathNode("mglyph",[]);te.setAttribute("alt",Z.alt);var he=Vi(Z.height,Y),Se=0;if(Z.totalheight.number>0&&(Se=Vi(Z.totalheight,Y)-he,Se=Se.toFixed(2),te.setAttribute("valign","-"+Se+"em")),te.setAttribute("height",he+Se+"em"),Z.width.number>0){var Ve=Vi(Z.width,Y);te.setAttribute("width",Ve+"em")}return te.setAttribute("src",Z.src),te}}),bn({type:"kern",names:["\\kern","\\mkern","\\hskip","\\mskip"],props:{numArgs:1,argTypes:["size"],allowedInText:!0},handler:function(Z,Y){var te=Z.parser,he=Z.funcName,Se=or(Y[0],"size");if(te.settings.strict){var Ve=he[1]==="m",Pt=Se.value.unit==="mu";Ve?(Pt||te.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+he+" supports only mu units, "+("not "+Se.value.unit+" units")),te.mode!=="math"&&te.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+he+" works only in math mode")):Pt&&te.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+he+" doesn't support mu units")}return{type:"kern",mode:te.mode,dimension:Se.value}},htmlBuilder:function(Z,Y){return it.makeGlue(Z.dimension,Y)},mathmlBuilder:function(Z,Y){var te=Vi(Z.dimension,Y);return new Nn.SpaceNode(te)}}),bn({type:"lap",names:["\\mathllap","\\mathrlap","\\mathclap"],props:{numArgs:1,allowedInText:!0},handler:function(Z,Y){var te=Z.parser,he=Z.funcName,Se=Y[0];return{type:"lap",mode:te.mode,alignment:he.slice(5),body:Se}},htmlBuilder:function(Z,Y){var te;Z.alignment==="clap"?(te=it.makeSpan([],[Bi(Z.body,Y)]),te=it.makeSpan(["inner"],[te],Y)):te=it.makeSpan(["inner"],[Bi(Z.body,Y)]);var he=it.makeSpan(["fix"],[]),Se=it.makeSpan([Z.alignment],[te,he],Y),Ve=it.makeSpan(["strut"]);return Ve.style.height=Se.height+Se.depth+"em",Ve.style.verticalAlign=-Se.depth+"em",Se.children.unshift(Ve),Se=it.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:Se}]},Y),it.makeSpan(["mord"],[Se],Y)},mathmlBuilder:function(Z,Y){var te=new Nn.MathNode("mpadded",[Yi(Z.body,Y)]);if(Z.alignment!=="rlap"){var he=Z.alignment==="llap"?"-1":"-0.5";te.setAttribute("lspace",he+"width")}return te.setAttribute("width","0px"),te}}),bn({type:"styling",names:["\\(","$"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler:function(Z,Y){var te=Z.funcName,he=Z.parser,Se=he.mode;he.switchMode("math");var Ve=te==="\\("?"\\)":"$",Pt=he.parseExpression(!1,Ve);return he.expect(Ve),he.switchMode(Se),{type:"styling",mode:he.mode,style:"text",body:Pt}}}),bn({type:"text",names:["\\)","\\]"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler:function(Z,Y){throw new o("Mismatched "+Z.funcName)}});var Gt=function(Z,Y){switch(Y.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}};bn({type:"mathchoice",names:["\\mathchoice"],props:{numArgs:4},handler:function(Z,Y){var te=Z.parser;return{type:"mathchoice",mode:te.mode,display:ta(Y[0]),text:ta(Y[1]),script:ta(Y[2]),scriptscript:ta(Y[3])}},htmlBuilder:function(Z,Y){var te=Gt(Z,Y),he=is(te,Y,!1);return it.makeFragment(he)},mathmlBuilder:function(Z,Y){var te=Gt(Z,Y);return es(te,Y)}});var yr=function(Z,Y,te,he,Se,Ve,Pt){Z=it.makeSpan([],[Z]);var Ut,ar;if(Y){var Ar=Bi(Y,he.havingStyle(Se.sup()),he);ar={elem:Ar,kern:Math.max(he.fontMetrics().bigOpSpacing1,he.fontMetrics().bigOpSpacing3-Ar.depth)}}if(te){var Kr=Bi(te,he.havingStyle(Se.sub()),he);Ut={elem:Kr,kern:Math.max(he.fontMetrics().bigOpSpacing2,he.fontMetrics().bigOpSpacing4-Kr.height)}}var cn;if(ar&&Ut){var An=he.fontMetrics().bigOpSpacing5+Ut.elem.height+Ut.elem.depth+Ut.kern+Z.depth+Pt;cn=it.makeVList({positionType:"bottom",positionData:An,children:[{type:"kern",size:he.fontMetrics().bigOpSpacing5},{type:"elem",elem:Ut.elem,marginLeft:-Ve+"em"},{type:"kern",size:Ut.kern},{type:"elem",elem:Z},{type:"kern",size:ar.kern},{type:"elem",elem:ar.elem,marginLeft:Ve+"em"},{type:"kern",size:he.fontMetrics().bigOpSpacing5}]},he)}else if(Ut){var Kn=Z.height-Pt;cn=it.makeVList({positionType:"top",positionData:Kn,children:[{type:"kern",size:he.fontMetrics().bigOpSpacing5},{type:"elem",elem:Ut.elem,marginLeft:-Ve+"em"},{type:"kern",size:Ut.kern},{type:"elem",elem:Z}]},he)}else if(ar){var ti=Z.depth+Pt;cn=it.makeVList({positionType:"bottom",positionData:ti,children:[{type:"elem",elem:Z},{type:"kern",size:ar.kern},{type:"elem",elem:ar.elem,marginLeft:Ve+"em"},{type:"kern",size:he.fontMetrics().bigOpSpacing5}]},he)}else return Z;return it.makeSpan(["mop","op-limits"],[cn],he)},Br=["\\smallint"],Hr=function(Z,Y){var te,he,Se=!1,Ve,Pt=kr(Z,"supsub");Pt?(te=Pt.sup,he=Pt.sub,Ve=or(Pt.base,"op"),Se=!0):Ve=or(Z,"op");var Ut=Y.style,ar=!1;Ut.size===z.DISPLAY.size&&Ve.symbol&&!A.contains(Br,Ve.name)&&(ar=!0);var Ar;if(Ve.symbol){var Kr=ar?"Size2-Regular":"Size1-Regular",cn="";if((Ve.name==="\\oiint"||Ve.name==="\\oiiint")&&(cn=Ve.name.substr(1),Ve.name=cn==="oiint"?"\\iint":"\\iiint"),Ar=it.makeSymbol(Ve.name,Kr,"math",Y,["mop","op-symbol",ar?"large-op":"small-op"]),cn.length>0){var An=Ar.italic,Kn=it.staticSvg(cn+"Size"+(ar?"2":"1"),Y);Ar=it.makeVList({positionType:"individualShift",children:[{type:"elem",elem:Ar,shift:0},{type:"elem",elem:Kn,shift:ar?.08:0}]},Y),Ve.name="\\"+cn,Ar.classes.unshift("mop"),Ar.italic=An}}else if(Ve.body){var ti=is(Ve.body,Y,!0);ti.length===1&&ti[0]instanceof ke?(Ar=ti[0],Ar.classes[0]="mop"):Ar=it.makeSpan(["mop"],it.tryCombineChars(ti),Y)}else{for(var Oi=[],ji=1;ji<Ve.name.length;ji++)Oi.push(it.mathsym(Ve.name[ji],Ve.mode,Y));Ar=it.makeSpan(["mop"],Oi,Y)}var la=0,wa=0;return(Ar instanceof ke||Ve.name==="\\oiint"||Ve.name==="\\oiiint")&&!Ve.suppressBaseShift&&(la=(Ar.height-Ar.depth)/2-Y.fontMetrics().axisHeight,wa=Ar.italic),Se?yr(Ar,te,he,Y,Ut,wa,la):(la&&(Ar.style.position="relative",Ar.style.top=la+"em"),Ar)},xn=function(Z,Y){var te;if(Z.symbol)te=new Rs("mo",[Ja(Z.name,Z.mode)]),A.contains(Br,Z.name)&&te.setAttribute("largeop","false");else if(Z.body)te=new Rs("mo",ca(Z.body,Y));else{te=new Rs("mi",[new ci(Z.name.slice(1))]);var he=new Rs("mo",[Ja("\u2061","text")]);Z.parentIsSupSub?te=new Rs("mo",[te,he]):te=Wa([te,he])}return te},ln={"\u220F":"\\prod","\u2210":"\\coprod","\u2211":"\\sum","\u22C0":"\\bigwedge","\u22C1":"\\bigvee","\u22C2":"\\bigcap","\u22C3":"\\bigcup","\u2A00":"\\bigodot","\u2A01":"\\bigoplus","\u2A02":"\\bigotimes","\u2A04":"\\biguplus","\u2A06":"\\bigsqcup"};bn({type:"op",names:["\\coprod","\\bigvee","\\bigwedge","\\biguplus","\\bigcap","\\bigcup","\\intop","\\prod","\\sum","\\bigotimes","\\bigoplus","\\bigodot","\\bigsqcup","\\smallint","\u220F","\u2210","\u2211","\u22C0","\u22C1","\u22C2","\u22C3","\u2A00","\u2A01","\u2A02","\u2A04","\u2A06"],props:{numArgs:0},handler:function(Z,Y){var te=Z.parser,he=Z.funcName,Se=he;return Se.length===1&&(Se=ln[Se]),{type:"op",mode:te.mode,limits:!0,parentIsSupSub:!1,symbol:!0,name:Se}},htmlBuilder:Hr,mathmlBuilder:xn}),bn({type:"op",names:["\\mathop"],props:{numArgs:1},handler:function(Z,Y){var te=Z.parser,he=Y[0];return{type:"op",mode:te.mode,limits:!1,parentIsSupSub:!1,symbol:!1,body:ta(he)}},htmlBuilder:Hr,mathmlBuilder:xn});var En={"\u222B":"\\int","\u222C":"\\iint","\u222D":"\\iiint","\u222E":"\\oint","\u222F":"\\oiint","\u2230":"\\oiiint"};bn({type:"op",names:["\\arcsin","\\arccos","\\arctan","\\arctg","\\arcctg","\\arg","\\ch","\\cos","\\cosec","\\cosh","\\cot","\\cotg","\\coth","\\csc","\\ctg","\\cth","\\deg","\\dim","\\exp","\\hom","\\ker","\\lg","\\ln","\\log","\\sec","\\sin","\\sinh","\\sh","\\tan","\\tanh","\\tg","\\th"],props:{numArgs:0},handler:function(Z){var Y=Z.parser,te=Z.funcName;return{type:"op",mode:Y.mode,limits:!1,parentIsSupSub:!1,symbol:!1,name:te}},htmlBuilder:Hr,mathmlBuilder:xn}),bn({type:"op",names:["\\det","\\gcd","\\inf","\\lim","\\max","\\min","\\Pr","\\sup"],props:{numArgs:0},handler:function(Z){var Y=Z.parser,te=Z.funcName;return{type:"op",mode:Y.mode,limits:!0,parentIsSupSub:!1,symbol:!1,name:te}},htmlBuilder:Hr,mathmlBuilder:xn}),bn({type:"op",names:["\\int","\\iint","\\iiint","\\oint","\\oiint","\\oiiint","\u222B","\u222C","\u222D","\u222E","\u222F","\u2230"],props:{numArgs:0},handler:function(Z){var Y=Z.parser,te=Z.funcName,he=te;return he.length===1&&(he=En[he]),{type:"op",mode:Y.mode,limits:!1,parentIsSupSub:!1,symbol:!0,name:he}},htmlBuilder:Hr,mathmlBuilder:xn});var ii=function(Z,Y){var te,he,Se=!1,Ve,Pt=kr(Z,"supsub");Pt?(te=Pt.sup,he=Pt.sub,Ve=or(Pt.base,"operatorname"),Se=!0):Ve=or(Z,"operatorname");var Ut;if(Ve.body.length>0){for(var ar=Ve.body.map(function(An){var Kn=An.text;return typeof Kn=="string"?{type:"textord",mode:An.mode,text:Kn}:An}),Ar=is(ar,Y.withFont("mathrm"),!0),Kr=0;Kr<Ar.length;Kr++){var cn=Ar[Kr];cn instanceof ke&&(cn.text=cn.text.replace(/\u2212/,"-").replace(/\u2217/,"*"))}Ut=it.makeSpan(["mop"],Ar,Y)}else Ut=it.makeSpan(["mop"],[],Y);return Se?yr(Ut,te,he,Y,Y.style,0,0):Ut},ai=function(Z,Y){for(var te=ca(Z.body,Y.withFont("mathrm")),he=!0,Se=0;Se<te.length;Se++){var Ve=te[Se];if(!(Ve instanceof Nn.SpaceNode))if(Ve instanceof Nn.MathNode)switch(Ve.type){case"mi":case"mn":case"ms":case"mspace":case"mtext":break;case"mo":{var Pt=Ve.children[0];Ve.children.length===1&&Pt instanceof Nn.TextNode?Pt.text=Pt.text.replace(/\u2212/,"-").replace(/\u2217/,"*"):he=!1;break}default:he=!1}else he=!1}if(he){var Ut=te.map(function(Kr){return Kr.toText()}).join("");te=[new Nn.TextNode(Ut)]}var ar=new Nn.MathNode("mi",te);ar.setAttribute("mathvariant","normal");var Ar=new Nn.MathNode("mo",[Ja("\u2061","text")]);return Z.parentIsSupSub?new Nn.MathNode("mo",[ar,Ar]):Nn.newDocumentFragment([ar,Ar])};bn({type:"operatorname",names:["\\operatorname","\\operatorname*"],props:{numArgs:1},handler:function(Z,Y){var te=Z.parser,he=Z.funcName,Se=Y[0];return{type:"operatorname",mode:te.mode,body:ta(Se),alwaysHandleSupSub:he==="\\operatorname*",limits:!1,parentIsSupSub:!1}},htmlBuilder:ii,mathmlBuilder:ai}),ui({type:"ordgroup",htmlBuilder:function(Z,Y){return Z.semisimple?it.makeFragment(is(Z.body,Y,!1)):it.makeSpan(["mord"],is(Z.body,Y,!0),Y)},mathmlBuilder:function(Z,Y){return es(Z.body,Y,!0)}}),bn({type:"overline",names:["\\overline"],props:{numArgs:1},handler:function(Z,Y){var te=Z.parser,he=Y[0];return{type:"overline",mode:te.mode,body:he}},htmlBuilder:function(Z,Y){var te=Bi(Z.body,Y.havingCrampedStyle()),he=it.makeLineSpan("overline-line",Y),Se=Y.fontMetrics().defaultRuleThickness,Ve=it.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:te},{type:"kern",size:3*Se},{type:"elem",elem:he},{type:"kern",size:Se}]},Y);return it.makeSpan(["mord","overline"],[Ve],Y)},mathmlBuilder:function(Z,Y){var te=new Nn.MathNode("mo",[new Nn.TextNode("\u203E")]);te.setAttribute("stretchy","true");var he=new Nn.MathNode("mover",[Yi(Z.body,Y),te]);return he.setAttribute("accent","true"),he}}),bn({type:"phantom",names:["\\phantom"],props:{numArgs:1,allowedInText:!0},handler:function(Z,Y){var te=Z.parser,he=Y[0];return{type:"phantom",mode:te.mode,body:ta(he)}},htmlBuilder:function(Z,Y){var te=is(Z.body,Y.withPhantom(),!1);return it.makeFragment(te)},mathmlBuilder:function(Z,Y){var te=ca(Z.body,Y);return new Nn.MathNode("mphantom",te)}}),bn({type:"hphantom",names:["\\hphantom"],props:{numArgs:1,allowedInText:!0},handler:function(Z,Y){var te=Z.parser,he=Y[0];return{type:"hphantom",mode:te.mode,body:he}},htmlBuilder:function(Z,Y){var te=it.makeSpan([],[Bi(Z.body,Y.withPhantom())]);if(te.height=0,te.depth=0,te.children)for(var he=0;he<te.children.length;he++)te.children[he].height=0,te.children[he].depth=0;return te=it.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:te}]},Y),it.makeSpan(["mord"],[te],Y)},mathmlBuilder:function(Z,Y){var te=ca(ta(Z.body),Y),he=new Nn.MathNode("mphantom",te),Se=new Nn.MathNode("mpadded",[he]);return Se.setAttribute("height","0px"),Se.setAttribute("depth","0px"),Se}}),bn({type:"vphantom",names:["\\vphantom"],props:{numArgs:1,allowedInText:!0},handler:function(Z,Y){var te=Z.parser,he=Y[0];return{type:"vphantom",mode:te.mode,body:he}},htmlBuilder:function(Z,Y){var te=it.makeSpan(["inner"],[Bi(Z.body,Y.withPhantom())]),he=it.makeSpan(["fix"],[]);return it.makeSpan(["mord","rlap"],[te,he],Y)},mathmlBuilder:function(Z,Y){var te=ca(ta(Z.body),Y),he=new Nn.MathNode("mphantom",te),Se=new Nn.MathNode("mpadded",[he]);return Se.setAttribute("width","0px"),Se}}),bn({type:"raisebox",names:["\\raisebox"],props:{numArgs:2,argTypes:["size","hbox"],allowedInText:!0},handler:function(Z,Y){var te=Z.parser,he=or(Y[0],"size").value,Se=Y[1];return{type:"raisebox",mode:te.mode,dy:he,body:Se}},htmlBuilder:function(Z,Y){var te=Bi(Z.body,Y),he=Vi(Z.dy,Y);return it.makeVList({positionType:"shift",positionData:-he,children:[{type:"elem",elem:te}]},Y)},mathmlBuilder:function(Z,Y){var te=new Nn.MathNode("mpadded",[Yi(Z.body,Y)]),he=Z.dy.number+Z.dy.unit;return te.setAttribute("voffset",he),te}}),bn({type:"rule",names:["\\rule"],props:{numArgs:2,numOptionalArgs:1,argTypes:["size","size","size"]},handler:function(Z,Y,te){var he=Z.parser,Se=te[0],Ve=or(Y[0],"size"),Pt=or(Y[1],"size");return{type:"rule",mode:he.mode,shift:Se&&or(Se,"size").value,width:Ve.value,height:Pt.value}},htmlBuilder:function(Z,Y){var te=it.makeSpan(["mord","rule"],[],Y),he=Vi(Z.width,Y),Se=Vi(Z.height,Y),Ve=Z.shift?Vi(Z.shift,Y):0;return te.style.borderRightWidth=he+"em",te.style.borderTopWidth=Se+"em",te.style.bottom=Ve+"em",te.width=he,te.height=Se+Ve,te.depth=-Ve,te.maxFontSize=Se*1.125*Y.sizeMultiplier,te},mathmlBuilder:function(Z,Y){var te=Vi(Z.width,Y),he=Vi(Z.height,Y),Se=Z.shift?Vi(Z.shift,Y):0,Ve=Y.color&&Y.getColor()||"black",Pt=new Nn.MathNode("mspace");Pt.setAttribute("mathbackground",Ve),Pt.setAttribute("width",te+"em"),Pt.setAttribute("height",he+"em");var Ut=new Nn.MathNode("mpadded",[Pt]);return Se>=0?Ut.setAttribute("height","+"+Se+"em"):(Ut.setAttribute("height",Se+"em"),Ut.setAttribute("depth","+"+-Se+"em")),Ut.setAttribute("voffset",Se+"em"),Ut}});function gi(Ke,Z,Y){for(var te=is(Ke,Z,!1),he=Z.sizeMultiplier/Y.sizeMultiplier,Se=0;Se<te.length;Se++){var Ve=te[Se].classes.indexOf("sizing");Ve<0?Array.prototype.push.apply(te[Se].classes,Z.sizingClasses(Y)):te[Se].classes[Ve+1]==="reset-size"+Z.size&&(te[Se].classes[Ve+1]="reset-size"+Y.size),te[Se].height*=he,te[Se].depth*=he}return it.makeFragment(te)}var Li=["\\tiny","\\sixptsize","\\scriptsize","\\footnotesize","\\small","\\normalsize","\\large","\\Large","\\LARGE","\\huge","\\Huge"],ua=function(Z,Y){var te=Y.havingSize(Z.size);return gi(Z.body,te,Y)};bn({type:"sizing",names:Li,props:{numArgs:0,allowedInText:!0},handler:function(Z,Y){var te=Z.breakOnTokenText,he=Z.funcName,Se=Z.parser,Ve=Se.parseExpression(!1,te);return{type:"sizing",mode:Se.mode,size:Li.indexOf(he)+1,body:Ve}},htmlBuilder:ua,mathmlBuilder:function(Z,Y){var te=Y.havingSize(Z.size),he=ca(Z.body,te),Se=new Nn.MathNode("mstyle",he);return Se.setAttribute("mathsize",te.sizeMultiplier+"em"),Se}}),bn({type:"smash",names:["\\smash"],props:{numArgs:1,numOptionalArgs:1,allowedInText:!0},handler:function(Z,Y,te){var he=Z.parser,Se=!1,Ve=!1,Pt=te[0]&&or(te[0],"ordgroup");if(Pt)for(var Ut="",ar=0;ar<Pt.body.length;++ar){var Ar=Pt.body[ar];if(Ut=Ar.text,Ut==="t")Se=!0;else if(Ut==="b")Ve=!0;else{Se=!1,Ve=!1;break}}else Se=!0,Ve=!0;var Kr=Y[0];return{type:"smash",mode:he.mode,body:Kr,smashHeight:Se,smashDepth:Ve}},htmlBuilder:function(Z,Y){var te=it.makeSpan([],[Bi(Z.body,Y)]);if(!Z.smashHeight&&!Z.smashDepth)return te;if(Z.smashHeight&&(te.height=0,te.children))for(var he=0;he<te.children.length;he++)te.children[he].height=0;if(Z.smashDepth&&(te.depth=0,te.children))for(var Se=0;Se<te.children.length;Se++)te.children[Se].depth=0;var Ve=it.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:te}]},Y);return it.makeSpan(["mord"],[Ve],Y)},mathmlBuilder:function(Z,Y){var te=new Nn.MathNode("mpadded",[Yi(Z.body,Y)]);return Z.smashHeight&&te.setAttribute("height","0px"),Z.smashDepth&&te.setAttribute("depth","0px"),te}}),bn({type:"sqrt",names:["\\sqrt"],props:{numArgs:1,numOptionalArgs:1},handler:function(Z,Y,te){var he=Z.parser,Se=te[0],Ve=Y[0];return{type:"sqrt",mode:he.mode,body:Ve,index:Se}},htmlBuilder:function(Z,Y){var te=Bi(Z.body,Y.havingCrampedStyle());te.height===0&&(te.height=Y.fontMetrics().xHeight),te=it.wrapFragment(te,Y);var he=Y.fontMetrics(),Se=he.defaultRuleThickness,Ve=Se;Y.style.id<z.TEXT.id&&(Ve=Y.fontMetrics().xHeight);var Pt=Se+Ve/4,Ut=te.height+te.depth+Pt+Se,ar=Rn.sqrtImage(Ut,Y),Ar=ar.span,Kr=ar.ruleWidth,cn=ar.advanceWidth,An=Ar.height-Kr;An>te.height+te.depth+Pt&&(Pt=(Pt+An-te.height-te.depth)/2);var Kn=Ar.height-te.height-Pt-Kr;te.style.paddingLeft=cn+"em";var ti=it.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:te,wrapperClasses:["svg-align"]},{type:"kern",size:-(te.height+Kn)},{type:"elem",elem:Ar},{type:"kern",size:Kr}]},Y);if(Z.index){var Oi=Y.havingStyle(z.SCRIPTSCRIPT),ji=Bi(Z.index,Oi,Y),la=.6*(ti.height-ti.depth),wa=it.makeVList({positionType:"shift",positionData:-la,children:[{type:"elem",elem:ji}]},Y),Ts=it.makeSpan(["root"],[wa]);return it.makeSpan(["mord","sqrt"],[Ts,ti],Y)}else return it.makeSpan(["mord","sqrt"],[ti],Y)},mathmlBuilder:function(Z,Y){var te=Z.body,he=Z.index;return he?new Nn.MathNode("mroot",[Yi(te,Y),Yi(he,Y)]):new Nn.MathNode("msqrt",[Yi(te,Y)])}});var Qi={display:z.DISPLAY,text:z.TEXT,script:z.SCRIPT,scriptscript:z.SCRIPTSCRIPT};bn({type:"styling",names:["\\displaystyle","\\textstyle","\\scriptstyle","\\scriptscriptstyle"],props:{numArgs:0,allowedInText:!0},handler:function(Z,Y){var te=Z.breakOnTokenText,he=Z.funcName,Se=Z.parser,Ve=Se.parseExpression(!0,te),Pt=he.slice(1,he.length-5);return{type:"styling",mode:Se.mode,style:Pt,body:Ve}},htmlBuilder:function(Z,Y){var te=Qi[Z.style],he=Y.havingStyle(te).withFont("");return gi(Z.body,he,Y)},mathmlBuilder:function(Z,Y){var te=Qi[Z.style],he=Y.havingStyle(te),Se=ca(Z.body,he),Ve=new Nn.MathNode("mstyle",Se),Pt={display:["0","true"],text:["0","false"],script:["1","false"],scriptscript:["2","false"]},Ut=Pt[Z.style];return Ve.setAttribute("scriptlevel",Ut[0]),Ve.setAttribute("displaystyle",Ut[1]),Ve}});var Pi=function(Z,Y){var te=Z.base;if(te)if(te.type==="op"){var he=te.limits&&(Y.style.size===z.DISPLAY.size||te.alwaysHandleSupSub);return he?Hr:null}else if(te.type==="operatorname"){var Se=te.alwaysHandleSupSub&&(Y.style.size===z.DISPLAY.size||te.limits);return Se?ii:null}else{if(te.type==="accent")return A.isCharacterBox(te.base)?ts:null;if(te.type==="horizBrace"){var Ve=!Z.sub;return Ve===te.isOver?Xe:null}else return null}else return null};ui({type:"supsub",htmlBuilder:function(Z,Y){var te=Pi(Z,Y);if(te)return te(Z,Y);var he=Z.base,Se=Z.sup,Ve=Z.sub,Pt=Bi(he,Y),Ut,ar,Ar=Y.fontMetrics(),Kr=0,cn=0,An=he&&A.isCharacterBox(he);if(Se){var Kn=Y.havingStyle(Y.style.sup());Ut=Bi(Se,Kn,Y),An||(Kr=Pt.height-Kn.fontMetrics().supDrop*Kn.sizeMultiplier/Y.sizeMultiplier)}if(Ve){var ti=Y.havingStyle(Y.style.sub());ar=Bi(Ve,ti,Y),An||(cn=Pt.depth+ti.fontMetrics().subDrop*ti.sizeMultiplier/Y.sizeMultiplier)}var Oi;Y.style===z.DISPLAY?Oi=Ar.sup1:Y.style.cramped?Oi=Ar.sup3:Oi=Ar.sup2;var ji=Y.sizeMultiplier,la=.5/Ar.ptPerEm/ji+"em",wa=null;if(ar){var Ts=Z.base&&Z.base.type==="op"&&Z.base.name&&(Z.base.name==="\\oiint"||Z.base.name==="\\oiiint");(Pt instanceof ke||Ts)&&(wa=-Pt.italic+"em")}var Ds;if(Ut&&ar){Kr=Math.max(Kr,Oi,Ut.depth+.25*Ar.xHeight),cn=Math.max(cn,Ar.sub2);var Ls=Ar.defaultRuleThickness,ms=4*Ls;if(Kr-Ut.depth-(ar.height-cn)<ms){cn=ms-(Kr-Ut.depth)+ar.height;var Oa=.8*Ar.xHeight-(Kr-Ut.depth);Oa>0&&(Kr+=Oa,cn-=Oa)}var io=[{type:"elem",elem:ar,shift:cn,marginRight:la,marginLeft:wa},{type:"elem",elem:Ut,shift:-Kr,marginRight:la}];Ds=it.makeVList({positionType:"individualShift",children:io},Y)}else if(ar){cn=Math.max(cn,Ar.sub1,ar.height-.8*Ar.xHeight);var xs=[{type:"elem",elem:ar,marginLeft:wa,marginRight:la}];Ds=it.makeVList({positionType:"shift",positionData:cn,children:xs},Y)}else if(Ut)Kr=Math.max(Kr,Oi,Ut.depth+.25*Ar.xHeight),Ds=it.makeVList({positionType:"shift",positionData:-Kr,children:[{type:"elem",elem:Ut,marginRight:la}]},Y);else throw new Error("supsub must have either sup or sub.");var pr=ds(Pt,"right")||"mord";return it.makeSpan([pr],[Pt,it.makeSpan(["msupsub"],[Ds])],Y)},mathmlBuilder:function(Z,Y){var te=!1,he,Se,Ve=kr(Z.base,"horizBrace");Ve&&(Se=!!Z.sup,Se===Ve.isOver&&(te=!0,he=Ve.isOver)),Z.base&&(Z.base.type==="op"||Z.base.type==="operatorname")&&(Z.base.parentIsSupSub=!0);var Pt=[Yi(Z.base,Y)];Z.sub&&Pt.push(Yi(Z.sub,Y)),Z.sup&&Pt.push(Yi(Z.sup,Y));var Ut;if(te)Ut=he?"mover":"munder";else if(Z.sub)if(Z.sup){var Kr=Z.base;Kr&&Kr.type==="op"&&Kr.limits&&Y.style===z.DISPLAY||Kr&&Kr.type==="operatorname"&&Kr.alwaysHandleSupSub&&(Y.style===z.DISPLAY||Kr.limits)?Ut="munderover":Ut="msubsup"}else{var Ar=Z.base;Ar&&Ar.type==="op"&&Ar.limits&&(Y.style===z.DISPLAY||Ar.alwaysHandleSupSub)||Ar&&Ar.type==="operatorname"&&Ar.alwaysHandleSupSub&&(Ar.limits||Y.style===z.DISPLAY)?Ut="munder":Ut="msub"}else{var ar=Z.base;ar&&ar.type==="op"&&ar.limits&&(Y.style===z.DISPLAY||ar.alwaysHandleSupSub)||ar&&ar.type==="operatorname"&&ar.alwaysHandleSupSub&&(ar.limits||Y.style===z.DISPLAY)?Ut="mover":Ut="msup"}var cn=new Nn.MathNode(Ut,Pt);return cn}}),ui({type:"atom",htmlBuilder:function(Z,Y){return it.mathsym(Z.text,Z.mode,Y,["m"+Z.family])},mathmlBuilder:function(Z,Y){var te=new Nn.MathNode("mo",[Ja(Z.text,Z.mode)]);if(Z.family==="bin"){var he=Ps(Z,Y);he==="bold-italic"&&te.setAttribute("mathvariant",he)}else Z.family==="punct"?te.setAttribute("separator","true"):(Z.family==="open"||Z.family==="close")&&te.setAttribute("stretchy","false");return te}});var Da={mi:"italic",mn:"normal",mtext:"normal"};ui({type:"mathord",htmlBuilder:function(Z,Y){return it.makeOrd(Z,Y,"mathord")},mathmlBuilder:function(Z,Y){var te=new Nn.MathNode("mi",[Ja(Z.text,Z.mode,Y)]),he=Ps(Z,Y)||"italic";return he!==Da[te.type]&&te.setAttribute("mathvariant",he),te}}),ui({type:"textord",htmlBuilder:function(Z,Y){return it.makeOrd(Z,Y,"textord")},mathmlBuilder:function(Z,Y){var te=Ja(Z.text,Z.mode,Y),he=Ps(Z,Y)||"normal",Se;return Z.mode==="text"?Se=new Nn.MathNode("mtext",[te]):/[0-9]/.test(Z.text)?Se=new Nn.MathNode("mn",[te]):Z.text==="\\prime"?Se=new Nn.MathNode("mo",[te]):Se=new Nn.MathNode("mi",[te]),he!==Da[Se.type]&&Se.setAttribute("mathvariant",he),Se}});var Ii={"\\nobreak":"nobreak","\\allowbreak":"allowbreak"},yi={" ":{},"\\ ":{},"~":{className:"nobreak"},"\\space":{},"\\nobreakspace":{className:"nobreak"}};ui({type:"spacing",htmlBuilder:function(Z,Y){if(yi.hasOwnProperty(Z.text)){var te=yi[Z.text].className||"";if(Z.mode==="text"){var he=it.makeOrd(Z,Y,"textord");return he.classes.push(te),he}else return it.makeSpan(["mspace",te],[it.mathsym(Z.text,Z.mode,Y)],Y)}else{if(Ii.hasOwnProperty(Z.text))return it.makeSpan(["mspace",Ii[Z.text]],[],Y);throw new o('Unknown type of space "'+Z.text+'"')}},mathmlBuilder:function(Z,Y){var te;if(yi.hasOwnProperty(Z.text))te=new Nn.MathNode("mtext",[new Nn.TextNode("\xA0")]);else{if(Ii.hasOwnProperty(Z.text))return new Nn.MathNode("mspace");throw new o('Unknown type of space "'+Z.text+'"')}return te}});var ga=function(){var Z=new Nn.MathNode("mtd",[]);return Z.setAttribute("width","50%"),Z};ui({type:"tag",mathmlBuilder:function(Z,Y){var te=new Nn.MathNode("mtable",[new Nn.MathNode("mtr",[ga(),new Nn.MathNode("mtd",[es(Z.body,Y)]),ga(),new Nn.MathNode("mtd",[es(Z.tag,Y)])])]);return te.setAttribute("width","100%"),te}});var go={"\\text":void 0,"\\textrm":"textrm","\\textsf":"textsf","\\texttt":"texttt","\\textnormal":"textrm"},Bs={"\\textbf":"textbf","\\textmd":"textmd"},ia={"\\textit":"textit","\\textup":"textup"},Ya=function(Z,Y){var te=Z.font;return te?go[te]?Y.withTextFontFamily(go[te]):Bs[te]?Y.withTextFontWeight(Bs[te]):Y.withTextFontShape(ia[te]):Y};bn({type:"text",names:["\\text","\\textrm","\\textsf","\\texttt","\\textnormal","\\textbf","\\textmd","\\textit","\\textup"],props:{numArgs:1,argTypes:["text"],greediness:2,allowedInText:!0},handler:function(Z,Y){var te=Z.parser,he=Z.funcName,Se=Y[0];return{type:"text",mode:te.mode,body:ta(Se),font:he}},htmlBuilder:function(Z,Y){var te=Ya(Z,Y),he=is(Z.body,te,!0);return it.makeSpan(["mord","text"],it.tryCombineChars(he),te)},mathmlBuilder:function(Z,Y){var te=Ya(Z,Y);return es(Z.body,te)}}),bn({type:"underline",names:["\\underline"],props:{numArgs:1,allowedInText:!0},handler:function(Z,Y){var te=Z.parser;return{type:"underline",mode:te.mode,body:Y[0]}},htmlBuilder:function(Z,Y){var te=Bi(Z.body,Y),he=it.makeLineSpan("underline-line",Y),Se=Y.fontMetrics().defaultRuleThickness,Ve=it.makeVList({positionType:"top",positionData:te.height,children:[{type:"kern",size:Se},{type:"elem",elem:he},{type:"kern",size:3*Se},{type:"elem",elem:te}]},Y);return it.makeSpan(["mord","underline"],[Ve],Y)},mathmlBuilder:function(Z,Y){var te=new Nn.MathNode("mo",[new Nn.TextNode("\u203E")]);te.setAttribute("stretchy","true");var he=new Nn.MathNode("munder",[Yi(Z.body,Y),te]);return he.setAttribute("accentunder","true"),he}}),bn({type:"verb",names:["\\verb"],props:{numArgs:0,allowedInText:!0},handler:function(Z,Y,te){throw new o("\\verb ended by end of line instead of matching delimiter")},htmlBuilder:function(Z,Y){for(var te=ba(Z),he=[],Se=Y.havingStyle(Y.style.text()),Ve=0;Ve<te.length;Ve++){var Pt=te[Ve];Pt==="~"&&(Pt="\\textasciitilde"),he.push(it.makeSymbol(Pt,"Typewriter-Regular",Z.mode,Se,["mord","texttt"]))}return it.makeSpan(["mord","text"].concat(Se.sizingClasses(Y)),it.tryCombineChars(he),Se)},mathmlBuilder:function(Z,Y){var te=new Nn.TextNode(ba(Z)),he=new Nn.MathNode("mtext",[te]);return he.setAttribute("mathvariant","monospace"),he}});var ba=function(Z){return Z.body.replace(/ /g,Z.star?"\u2423":"\xA0")},Mi=ka,Ra=Mi,os=`[ \r
]`,us="\\\\[a-zA-Z@]+",yo="\\\\[^\uD800-\uDFFF]",bs=""+us+os+"*",Po=new RegExp("^("+us+")"+os+"*$"),_s="[\u0300-\u036F]",bo=new RegExp(_s+"+$"),oo="("+os+"+)|([!-\\[\\]-\u2027\u202A-\uD7FF\uF900-\uFFFF]"+(_s+"*")+"|[\uD800-\uDBFF][\uDC00-\uDFFF]"+(_s+"*")+"|\\\\verb\\*([^]).*?\\3|\\\\verb([^*a-zA-Z]).*?\\4|\\\\operatorname\\*"+("|"+bs)+("|"+yo+")"),Ta=function(){function Ke(Y,te){this.input=void 0,this.settings=void 0,this.tokenRegex=void 0,this.catcodes=void 0,this.input=Y,this.settings=te,this.tokenRegex=new RegExp(oo,"g"),this.catcodes={"%":14}}var Z=Ke.prototype;return Z.setCatcode=function(te,he){this.catcodes[te]=he},Z.lex=function(){var te=this.input,he=this.tokenRegex.lastIndex;if(he===te.length)return new c("EOF",new l(this,he,he));var Se=this.tokenRegex.exec(te);if(Se===null||Se.index!==he)throw new o("Unexpected character: '"+te[he]+"'",new c(te[he],new l(this,he,he+1)));var Ve=Se[2]||" ";if(this.catcodes[Ve]===14){var Pt=te.indexOf(`
`,this.tokenRegex.lastIndex);return Pt===-1?(this.tokenRegex.lastIndex=te.length,this.settings.reportNonstrict("commentAtEnd","% comment has no terminating newline; LaTeX would fail because of commenting the end of math mode (e.g. $)")):this.tokenRegex.lastIndex=Pt+1,this.lex()}var Ut=Ve.match(Po);return Ut&&(Ve=Ut[1]),new c(Ve,new l(this,he,this.tokenRegex.lastIndex))},Ke}(),ls=function(){function Ke(Y,te){Y===void 0&&(Y={}),te===void 0&&(te={}),this.current=void 0,this.builtins=void 0,this.undefStack=void 0,this.current=te,this.builtins=Y,this.undefStack=[]}var Z=Ke.prototype;return Z.beginGroup=function(){this.undefStack.push({})},Z.endGroup=function(){if(this.undefStack.length===0)throw new o("Unbalanced namespace destruction: attempt to pop global namespace; please report this as a bug");var te=this.undefStack.pop();for(var he in te)te.hasOwnProperty(he)&&(te[he]===void 0?delete this.current[he]:this.current[he]=te[he])},Z.has=function(te){return this.current.hasOwnProperty(te)||this.builtins.hasOwnProperty(te)},Z.get=function(te){return this.current.hasOwnProperty(te)?this.current[te]:this.builtins[te]},Z.set=function(te,he,Se){if(Se===void 0&&(Se=!1),Se){for(var Ve=0;Ve<this.undefStack.length;Ve++)delete this.undefStack[Ve][te];this.undefStack.length>0&&(this.undefStack[this.undefStack.length-1][te]=he)}else{var Pt=this.undefStack[this.undefStack.length-1];Pt&&!Pt.hasOwnProperty(te)&&(Pt[te]=this.current[te])}this.current[te]=he},Ke}(),Qs={},La=Qs;function ge(Ke,Z){Qs[Ke]=Z}ge("\\@firstoftwo",function(Ke){var Z=Ke.consumeArgs(2);return{tokens:Z[0],numArgs:0}}),ge("\\@secondoftwo",function(Ke){var Z=Ke.consumeArgs(2);return{tokens:Z[1],numArgs:0}}),ge("\\@ifnextchar",function(Ke){var Z=Ke.consumeArgs(3),Y=Ke.future();return Z[0].length===1&&Z[0][0].text===Y.text?{tokens:Z[1],numArgs:0}:{tokens:Z[2],numArgs:0}}),ge("\\@ifstar","\\@ifnextchar *{\\@firstoftwo{#1}}"),ge("\\TextOrMath",function(Ke){var Z=Ke.consumeArgs(2);return Ke.mode==="text"?{tokens:Z[0],numArgs:0}:{tokens:Z[1],numArgs:0}});var we={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,a:10,A:10,b:11,B:11,c:12,C:12,d:13,D:13,e:14,E:14,f:15,F:15};ge("\\char",function(Ke){var Z=Ke.popToken(),Y,te="";if(Z.text==="'")Y=8,Z=Ke.popToken();else if(Z.text==='"')Y=16,Z=Ke.popToken();else if(Z.text==="`")if(Z=Ke.popToken(),Z.text[0]==="\\")te=Z.text.charCodeAt(1);else{if(Z.text==="EOF")throw new o("\\char` missing argument");te=Z.text.charCodeAt(0)}else Y=10;if(Y){if(te=we[Z.text],te==null||te>=Y)throw new o("Invalid base-"+Y+" digit "+Z.text);for(var he;(he=we[Ke.future().text])!=null&&he<Y;)te*=Y,te+=he,Ke.popToken()}return"\\@char{"+te+"}"});var wr=function(Z,Y){var te=Z.consumeArgs(1)[0];if(te.length!==1)throw new o("\\gdef's first argument must be a macro name");var he=te[0].text,Se=0;for(te=Z.consumeArgs(1)[0];te.length===1&&te[0].text==="#";){if(te=Z.consumeArgs(1)[0],te.length!==1)throw new o('Invalid argument number length "'+te.length+'"');if(!/^[1-9]$/.test(te[0].text))throw new o('Invalid argument number "'+te[0].text+'"');if(Se++,parseInt(te[0].text)!==Se)throw new o('Argument number "'+te[0].text+'" out of order');te=Z.consumeArgs(1)[0]}return Z.macros.set(he,{tokens:te,numArgs:Se},Y),""};ge("\\gdef",function(Ke){return wr(Ke,!0)}),ge("\\def",function(Ke){return wr(Ke,!1)}),ge("\\global",function(Ke){var Z=Ke.consumeArgs(1)[0];if(Z.length!==1)throw new o("Invalid command after \\global");var Y=Z[0].text;if(Y==="\\def")return wr(Ke,!0);throw new o("Invalid command '"+Y+"' after \\global")});var rn=function(Z,Y,te){var he=Z.consumeArgs(1)[0];if(he.length!==1)throw new o("\\newcommand's first argument must be a macro name");var Se=he[0].text,Ve=Z.isDefined(Se);if(Ve&&!Y)throw new o("\\newcommand{"+Se+"} attempting to redefine "+(Se+"; use \\renewcommand"));if(!Ve&&!te)throw new o("\\renewcommand{"+Se+"} when command "+Se+" does not yet exist; use \\newcommand");var Pt=0;if(he=Z.consumeArgs(1)[0],he.length===1&&he[0].text==="["){for(var Ut="",ar=Z.expandNextToken();ar.text!=="]"&&ar.text!=="EOF";)Ut+=ar.text,ar=Z.expandNextToken();if(!Ut.match(/^\s*[0-9]+\s*$/))throw new o("Invalid number of arguments: "+Ut);Pt=parseInt(Ut),he=Z.consumeArgs(1)[0]}return Z.macros.set(Se,{tokens:he,numArgs:Pt}),""};ge("\\newcommand",function(Ke){return rn(Ke,!1,!0)}),ge("\\renewcommand",function(Ke){return rn(Ke,!0,!1)}),ge("\\providecommand",function(Ke){return rn(Ke,!0,!0)}),ge("\\bgroup","{"),ge("\\egroup","}"),ge("\\lq","`"),ge("\\rq","'"),ge("\\aa","\\r a"),ge("\\AA","\\r A"),ge("\\textcopyright","\\html@mathml{\\textcircled{c}}{\\char`\xA9}"),ge("\\copyright","\\TextOrMath{\\textcopyright}{\\text{\\textcopyright}}"),ge("\\textregistered","\\html@mathml{\\textcircled{\\scriptsize R}}{\\char`\xAE}"),ge("\u212C","\\mathscr{B}"),ge("\u2130","\\mathscr{E}"),ge("\u2131","\\mathscr{F}"),ge("\u210B","\\mathscr{H}"),ge("\u2110","\\mathscr{I}"),ge("\u2112","\\mathscr{L}"),ge("\u2133","\\mathscr{M}"),ge("\u211B","\\mathscr{R}"),ge("\u212D","\\mathfrak{C}"),ge("\u210C","\\mathfrak{H}"),ge("\u2128","\\mathfrak{Z}"),ge("\\Bbbk","\\Bbb{k}"),ge("\xB7","\\cdotp"),ge("\\llap","\\mathllap{\\textrm{#1}}"),ge("\\rlap","\\mathrlap{\\textrm{#1}}"),ge("\\clap","\\mathclap{\\textrm{#1}}"),ge("\\not",'\\html@mathml{\\mathrel{\\mathrlap\\@not}}{\\char"338}'),ge("\\neq","\\html@mathml{\\mathrel{\\not=}}{\\mathrel{\\char`\u2260}}"),ge("\\ne","\\neq"),ge("\u2260","\\neq"),ge("\\notin","\\html@mathml{\\mathrel{{\\in}\\mathllap{/\\mskip1mu}}}{\\mathrel{\\char`\u2209}}"),ge("\u2209","\\notin"),ge("\u2258","\\html@mathml{\\mathrel{=\\kern{-1em}\\raisebox{0.4em}{$\\scriptsize\\frown$}}}{\\mathrel{\\char`\u2258}}"),ge("\u2259","\\html@mathml{\\stackrel{\\tiny\\wedge}{=}}{\\mathrel{\\char`\u2258}}"),ge("\u225A","\\html@mathml{\\stackrel{\\tiny\\vee}{=}}{\\mathrel{\\char`\u225A}}"),ge("\u225B","\\html@mathml{\\stackrel{\\scriptsize\\star}{=}}{\\mathrel{\\char`\u225B}}"),ge("\u225D","\\html@mathml{\\stackrel{\\tiny\\mathrm{def}}{=}}{\\mathrel{\\char`\u225D}}"),ge("\u225E","\\html@mathml{\\stackrel{\\tiny\\mathrm{m}}{=}}{\\mathrel{\\char`\u225E}}"),ge("\u225F","\\html@mathml{\\stackrel{\\tiny?}{=}}{\\mathrel{\\char`\u225F}}"),ge("\u27C2","\\perp"),ge("\u203C","\\mathclose{!\\mkern-0.8mu!}"),ge("\u220C","\\notni"),ge("\u231C","\\ulcorner"),ge("\u231D","\\urcorner"),ge("\u231E","\\llcorner"),ge("\u231F","\\lrcorner"),ge("\xA9","\\copyright"),ge("\xAE","\\textregistered"),ge("\uFE0F","\\textregistered"),ge("\\vdots","\\mathord{\\varvdots\\rule{0pt}{15pt}}"),ge("\u22EE","\\vdots"),ge("\\varGamma","\\mathit{\\Gamma}"),ge("\\varDelta","\\mathit{\\Delta}"),ge("\\varTheta","\\mathit{\\Theta}"),ge("\\varLambda","\\mathit{\\Lambda}"),ge("\\varXi","\\mathit{\\Xi}"),ge("\\varPi","\\mathit{\\Pi}"),ge("\\varSigma","\\mathit{\\Sigma}"),ge("\\varUpsilon","\\mathit{\\Upsilon}"),ge("\\varPhi","\\mathit{\\Phi}"),ge("\\varPsi","\\mathit{\\Psi}"),ge("\\varOmega","\\mathit{\\Omega}"),ge("\\substack","\\begin{subarray}{c}#1\\end{subarray}"),ge("\\colon","\\nobreak\\mskip2mu\\mathpunct{}\\mathchoice{\\mkern-3mu}{\\mkern-3mu}{}{}{:}\\mskip6mu"),ge("\\boxed","\\fbox{$\\displaystyle{#1}$}"),ge("\\iff","\\DOTSB\\;\\Longleftrightarrow\\;"),ge("\\implies","\\DOTSB\\;\\Longrightarrow\\;"),ge("\\impliedby","\\DOTSB\\;\\Longleftarrow\\;");var xr={",":"\\dotsc","\\not":"\\dotsb","+":"\\dotsb","=":"\\dotsb","<":"\\dotsb",">":"\\dotsb","-":"\\dotsb","*":"\\dotsb",":":"\\dotsb","\\DOTSB":"\\dotsb","\\coprod":"\\dotsb","\\bigvee":"\\dotsb","\\bigwedge":"\\dotsb","\\biguplus":"\\dotsb","\\bigcap":"\\dotsb","\\bigcup":"\\dotsb","\\prod":"\\dotsb","\\sum":"\\dotsb","\\bigotimes":"\\dotsb","\\bigoplus":"\\dotsb","\\bigodot":"\\dotsb","\\bigsqcup":"\\dotsb","\\And":"\\dotsb","\\longrightarrow":"\\dotsb","\\Longrightarrow":"\\dotsb","\\longleftarrow":"\\dotsb","\\Longleftarrow":"\\dotsb","\\longleftrightarrow":"\\dotsb","\\Longleftrightarrow":"\\dotsb","\\mapsto":"\\dotsb","\\longmapsto":"\\dotsb","\\hookrightarrow":"\\dotsb","\\doteq":"\\dotsb","\\mathbin":"\\dotsb","\\mathrel":"\\dotsb","\\relbar":"\\dotsb","\\Relbar":"\\dotsb","\\xrightarrow":"\\dotsb","\\xleftarrow":"\\dotsb","\\DOTSI":"\\dotsi","\\int":"\\dotsi","\\oint":"\\dotsi","\\iint":"\\dotsi","\\iiint":"\\dotsi","\\iiiint":"\\dotsi","\\idotsint":"\\dotsi","\\DOTSX":"\\dotsx"};ge("\\dots",function(Ke){var Z="\\dotso",Y=Ke.expandAfterFuture().text;return Y in xr?Z=xr[Y]:(Y.substr(0,4)==="\\not"||Y in ze.math&&A.contains(["bin","rel"],ze.math[Y].group))&&(Z="\\dotsb"),Z});var Jr={")":!0,"]":!0,"\\rbrack":!0,"\\}":!0,"\\rbrace":!0,"\\rangle":!0,"\\rceil":!0,"\\rfloor":!0,"\\rgroup":!0,"\\rmoustache":!0,"\\right":!0,"\\bigr":!0,"\\biggr":!0,"\\Bigr":!0,"\\Biggr":!0,$:!0,";":!0,".":!0,",":!0};ge("\\dotso",function(Ke){var Z=Ke.future().text;return Z in Jr?"\\ldots\\,":"\\ldots"}),ge("\\dotsc",function(Ke){var Z=Ke.future().text;return Z in Jr&&Z!==","?"\\ldots\\,":"\\ldots"}),ge("\\cdots",function(Ke){var Z=Ke.future().text;return Z in Jr?"\\@cdots\\,":"\\@cdots"}),ge("\\dotsb","\\cdots"),ge("\\dotsm","\\cdots"),ge("\\dotsi","\\!\\cdots"),ge("\\dotsx","\\ldots\\,"),ge("\\DOTSI","\\relax"),ge("\\DOTSB","\\relax"),ge("\\DOTSX","\\relax"),ge("\\tmspace","\\TextOrMath{\\kern#1#3}{\\mskip#1#2}\\relax"),ge("\\,","\\tmspace+{3mu}{.1667em}"),ge("\\thinspace","\\,"),ge("\\>","\\mskip{4mu}"),ge("\\:","\\tmspace+{4mu}{.2222em}"),ge("\\medspace","\\:"),ge("\\;","\\tmspace+{5mu}{.2777em}"),ge("\\thickspace","\\;"),ge("\\!","\\tmspace-{3mu}{.1667em}"),ge("\\negthinspace","\\!"),ge("\\negmedspace","\\tmspace-{4mu}{.2222em}"),ge("\\negthickspace","\\tmspace-{5mu}{.277em}"),ge("\\enspace","\\kern.5em "),ge("\\enskip","\\hskip.5em\\relax"),ge("\\quad","\\hskip1em\\relax"),ge("\\qquad","\\hskip2em\\relax"),ge("\\tag","\\@ifstar\\tag@literal\\tag@paren"),ge("\\tag@paren","\\tag@literal{({#1})}"),ge("\\tag@literal",function(Ke){if(Ke.macros.get("\\df@tag"))throw new o("Multiple \\tag");return"\\gdef\\df@tag{\\text{#1}}"}),ge("\\bmod","\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}\\mathbin{\\rm mod}\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}"),ge("\\pod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern8mu}{\\mkern8mu}{\\mkern8mu}(#1)"),ge("\\pmod","\\pod{{\\rm mod}\\mkern6mu#1}"),ge("\\mod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern12mu}{\\mkern12mu}{\\mkern12mu}{\\rm mod}\\,\\,#1"),ge("\\pmb","\\html@mathml{\\@binrel{#1}{\\mathrlap{#1}\\kern0.5px#1}}{\\mathbf{#1}}"),ge("\\\\","\\newline"),ge("\\TeX","\\textrm{\\html@mathml{T\\kern-.1667em\\raisebox{-.5ex}{E}\\kern-.125emX}{TeX}}");var On=nr["Main-Regular"][84][1]-.7*nr["Main-Regular"][65][1]+"em";ge("\\LaTeX","\\textrm{\\html@mathml{"+("L\\kern-.36em\\raisebox{"+On+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{LaTeX}}"),ge("\\KaTeX","\\textrm{\\html@mathml{"+("K\\kern-.17em\\raisebox{"+On+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{KaTeX}}"),ge("\\hspace","\\@ifstar\\@hspacer\\@hspace"),ge("\\@hspace","\\hskip #1\\relax"),ge("\\@hspacer","\\rule{0pt}{0pt}\\hskip #1\\relax"),ge("\\ordinarycolon",":"),ge("\\vcentcolon","\\mathrel{\\mathop\\ordinarycolon}"),ge("\\dblcolon",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-.9mu}\\vcentcolon}}{\\mathop{\\char"2237}}'),ge("\\coloneqq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2254}}'),ge("\\Coloneqq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2237\\char"3d}}'),ge("\\coloneq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"3a\\char"2212}}'),ge("\\Coloneq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"2237\\char"2212}}'),ge("\\eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2255}}'),ge("\\Eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"3d\\char"2237}}'),ge("\\eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2239}}'),ge("\\Eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"2212\\char"2237}}'),ge("\\colonapprox",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"3a\\char"2248}}'),ge("\\Colonapprox",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"2237\\char"2248}}'),ge("\\colonsim",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"3a\\char"223c}}'),ge("\\Colonsim",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"2237\\char"223c}}'),ge("\u2237","\\dblcolon"),ge("\u2239","\\eqcolon"),ge("\u2254","\\coloneqq"),ge("\u2255","\\eqqcolon"),ge("\u2A74","\\Coloneqq"),ge("\\ratio","\\vcentcolon"),ge("\\coloncolon","\\dblcolon"),ge("\\colonequals","\\coloneqq"),ge("\\coloncolonequals","\\Coloneqq"),ge("\\equalscolon","\\eqqcolon"),ge("\\equalscoloncolon","\\Eqqcolon"),ge("\\colonminus","\\coloneq"),ge("\\coloncolonminus","\\Coloneq"),ge("\\minuscolon","\\eqcolon"),ge("\\minuscoloncolon","\\Eqcolon"),ge("\\coloncolonapprox","\\Colonapprox"),ge("\\coloncolonsim","\\Colonsim"),ge("\\simcolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\vcentcolon}"),ge("\\simcoloncolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\dblcolon}"),ge("\\approxcolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\vcentcolon}"),ge("\\approxcoloncolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\dblcolon}"),ge("\\notni","\\html@mathml{\\not\\ni}{\\mathrel{\\char`\u220C}}"),ge("\\limsup","\\DOTSB\\operatorname*{lim\\,sup}"),ge("\\liminf","\\DOTSB\\operatorname*{lim\\,inf}"),ge("\\gvertneqq","\\html@mathml{\\@gvertneqq}{\u2269}"),ge("\\lvertneqq","\\html@mathml{\\@lvertneqq}{\u2268}"),ge("\\ngeqq","\\html@mathml{\\@ngeqq}{\u2271}"),ge("\\ngeqslant","\\html@mathml{\\@ngeqslant}{\u2271}"),ge("\\nleqq","\\html@mathml{\\@nleqq}{\u2270}"),ge("\\nleqslant","\\html@mathml{\\@nleqslant}{\u2270}"),ge("\\nshortmid","\\html@mathml{\\@nshortmid}{\u2224}"),ge("\\nshortparallel","\\html@mathml{\\@nshortparallel}{\u2226}"),ge("\\nsubseteqq","\\html@mathml{\\@nsubseteqq}{\u2288}"),ge("\\nsupseteqq","\\html@mathml{\\@nsupseteqq}{\u2289}"),ge("\\varsubsetneq","\\html@mathml{\\@varsubsetneq}{\u228A}"),ge("\\varsubsetneqq","\\html@mathml{\\@varsubsetneqq}{\u2ACB}"),ge("\\varsupsetneq","\\html@mathml{\\@varsupsetneq}{\u228B}"),ge("\\varsupsetneqq","\\html@mathml{\\@varsupsetneqq}{\u2ACC}"),ge("\\llbracket","\\html@mathml{\\mathopen{[\\mkern-3.2mu[}}{\\mathopen{\\char`\u27E6}}"),ge("\\rrbracket","\\html@mathml{\\mathclose{]\\mkern-3.2mu]}}{\\mathclose{\\char`\u27E7}}"),ge("\u27E6","\\llbracket"),ge("\u27E7","\\rrbracket"),ge("\\lBrace","\\html@mathml{\\mathopen{\\{\\mkern-3.2mu[}}{\\mathopen{\\char`\u2983}}"),ge("\\rBrace","\\html@mathml{\\mathclose{]\\mkern-3.2mu\\}}}{\\mathclose{\\char`\u2984}}"),ge("\u2983","\\lBrace"),ge("\u2984","\\rBrace"),ge("\\darr","\\downarrow"),ge("\\dArr","\\Downarrow"),ge("\\Darr","\\Downarrow"),ge("\\lang","\\langle"),ge("\\rang","\\rangle"),ge("\\uarr","\\uparrow"),ge("\\uArr","\\Uparrow"),ge("\\Uarr","\\Uparrow"),ge("\\N","\\mathbb{N}"),ge("\\R","\\mathbb{R}"),ge("\\Z","\\mathbb{Z}"),ge("\\alef","\\aleph"),ge("\\alefsym","\\aleph"),ge("\\Alpha","\\mathrm{A}"),ge("\\Beta","\\mathrm{B}"),ge("\\bull","\\bullet"),ge("\\Chi","\\mathrm{X}"),ge("\\clubs","\\clubsuit"),ge("\\cnums","\\mathbb{C}"),ge("\\Complex","\\mathbb{C}"),ge("\\Dagger","\\ddagger"),ge("\\diamonds","\\diamondsuit"),ge("\\empty","\\emptyset"),ge("\\Epsilon","\\mathrm{E}"),ge("\\Eta","\\mathrm{H}"),ge("\\exist","\\exists"),ge("\\harr","\\leftrightarrow"),ge("\\hArr","\\Leftrightarrow"),ge("\\Harr","\\Leftrightarrow"),ge("\\hearts","\\heartsuit"),ge("\\image","\\Im"),ge("\\infin","\\infty"),ge("\\Iota","\\mathrm{I}"),ge("\\isin","\\in"),ge("\\Kappa","\\mathrm{K}"),ge("\\larr","\\leftarrow"),ge("\\lArr","\\Leftarrow"),ge("\\Larr","\\Leftarrow"),ge("\\lrarr","\\leftrightarrow"),ge("\\lrArr","\\Leftrightarrow"),ge("\\Lrarr","\\Leftrightarrow"),ge("\\Mu","\\mathrm{M}"),ge("\\natnums","\\mathbb{N}"),ge("\\Nu","\\mathrm{N}"),ge("\\Omicron","\\mathrm{O}"),ge("\\plusmn","\\pm"),ge("\\rarr","\\rightarrow"),ge("\\rArr","\\Rightarrow"),ge("\\Rarr","\\Rightarrow"),ge("\\real","\\Re"),ge("\\reals","\\mathbb{R}"),ge("\\Reals","\\mathbb{R}"),ge("\\Rho","\\mathrm{P}"),ge("\\sdot","\\cdot"),ge("\\sect","\\S"),ge("\\spades","\\spadesuit"),ge("\\sub","\\subset"),ge("\\sube","\\subseteq"),ge("\\supe","\\supseteq"),ge("\\Tau","\\mathrm{T}"),ge("\\thetasym","\\vartheta"),ge("\\weierp","\\wp"),ge("\\Zeta","\\mathrm{Z}"),ge("\\argmin","\\DOTSB\\operatorname*{arg\\,min}"),ge("\\argmax","\\DOTSB\\operatorname*{arg\\,max}"),ge("\\plim","\\DOTSB\\mathop{\\operatorname{plim}}\\limits"),ge("\\blue","\\textcolor{##6495ed}{#1}"),ge("\\orange","\\textcolor{##ffa500}{#1}"),ge("\\pink","\\textcolor{##ff00af}{#1}"),ge("\\red","\\textcolor{##df0030}{#1}"),ge("\\green","\\textcolor{##28ae7b}{#1}"),ge("\\gray","\\textcolor{gray}{#1}"),ge("\\purple","\\textcolor{##9d38bd}{#1}"),ge("\\blueA","\\textcolor{##ccfaff}{#1}"),ge("\\blueB","\\textcolor{##80f6ff}{#1}"),ge("\\blueC","\\textcolor{##63d9ea}{#1}"),ge("\\blueD","\\textcolor{##11accd}{#1}"),ge("\\blueE","\\textcolor{##0c7f99}{#1}"),ge("\\tealA","\\textcolor{##94fff5}{#1}"),ge("\\tealB","\\textcolor{##26edd5}{#1}"),ge("\\tealC","\\textcolor{##01d1c1}{#1}"),ge("\\tealD","\\textcolor{##01a995}{#1}"),ge("\\tealE","\\textcolor{##208170}{#1}"),ge("\\greenA","\\textcolor{##b6ffb0}{#1}"),ge("\\greenB","\\textcolor{##8af281}{#1}"),ge("\\greenC","\\textcolor{##74cf70}{#1}"),ge("\\greenD","\\textcolor{##1fab54}{#1}"),ge("\\greenE","\\textcolor{##0d923f}{#1}"),ge("\\goldA","\\textcolor{##ffd0a9}{#1}"),ge("\\goldB","\\textcolor{##ffbb71}{#1}"),ge("\\goldC","\\textcolor{##ff9c39}{#1}"),ge("\\goldD","\\textcolor{##e07d10}{#1}"),ge("\\goldE","\\textcolor{##a75a05}{#1}"),ge("\\redA","\\textcolor{##fca9a9}{#1}"),ge("\\redB","\\textcolor{##ff8482}{#1}"),ge("\\redC","\\textcolor{##f9685d}{#1}"),ge("\\redD","\\textcolor{##e84d39}{#1}"),ge("\\redE","\\textcolor{##bc2612}{#1}"),ge("\\maroonA","\\textcolor{##ffbde0}{#1}"),ge("\\maroonB","\\textcolor{##ff92c6}{#1}"),ge("\\maroonC","\\textcolor{##ed5fa6}{#1}"),ge("\\maroonD","\\textcolor{##ca337c}{#1}"),ge("\\maroonE","\\textcolor{##9e034e}{#1}"),ge("\\purpleA","\\textcolor{##ddd7ff}{#1}"),ge("\\purpleB","\\textcolor{##c6b9fc}{#1}"),ge("\\purpleC","\\textcolor{##aa87ff}{#1}"),ge("\\purpleD","\\textcolor{##7854ab}{#1}"),ge("\\purpleE","\\textcolor{##543b78}{#1}"),ge("\\mintA","\\textcolor{##f5f9e8}{#1}"),ge("\\mintB","\\textcolor{##edf2df}{#1}"),ge("\\mintC","\\textcolor{##e0e5cc}{#1}"),ge("\\grayA","\\textcolor{##f6f7f7}{#1}"),ge("\\grayB","\\textcolor{##f0f1f2}{#1}"),ge("\\grayC","\\textcolor{##e3e5e6}{#1}"),ge("\\grayD","\\textcolor{##d6d8da}{#1}"),ge("\\grayE","\\textcolor{##babec2}{#1}"),ge("\\grayF","\\textcolor{##888d93}{#1}"),ge("\\grayG","\\textcolor{##626569}{#1}"),ge("\\grayH","\\textcolor{##3b3e40}{#1}"),ge("\\grayI","\\textcolor{##21242c}{#1}"),ge("\\kaBlue","\\textcolor{##314453}{#1}"),ge("\\kaGreen","\\textcolor{##71B307}{#1}");var oi={"\\relax":!0,"^":!0,_:!0,"\\limits":!0,"\\nolimits":!0},Wi=function(){function Ke(Y,te,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=te,this.expansionCount=0,this.feed(Y),this.macros=new ls(La,te.macros),this.mode=he,this.stack=[]}var Z=Ke.prototype;return Z.feed=function(te){this.lexer=new Ta(te,this.settings)},Z.switchMode=function(te){this.mode=te},Z.beginGroup=function(){this.macros.beginGroup()},Z.endGroup=function(){this.macros.endGroup()},Z.future=function(){return this.stack.length===0&&this.pushToken(this.lexer.lex()),this.stack[this.stack.length-1]},Z.popToken=function(){return this.future(),this.stack.pop()},Z.pushToken=function(te){this.stack.push(te)},Z.pushTokens=function(te){var he;(he=this.stack).push.apply(he,te)},Z.consumeSpaces=function(){for(;;){var te=this.future();if(te.text===" ")this.stack.pop();else break}},Z.consumeArgs=function(te){for(var he=[],Se=0;Se<te;++Se){this.consumeSpaces();var Ve=this.popToken();if(Ve.text==="{"){for(var Pt=[],Ut=1;Ut!==0;){var ar=this.popToken();if(Pt.push(ar),ar.text==="{")++Ut;else if(ar.text==="}")--Ut;else if(ar.text==="EOF")throw new o("End of input in macro argument",Ve)}Pt.pop(),Pt.reverse(),he[Se]=Pt}else{if(Ve.text==="EOF")throw new o("End of input expecting macro argument");he[Se]=[Ve]}}return he},Z.expandOnce=function(){var te=this.popToken(),he=te.text,Se=this._getExpansion(he);if(Se==null)return this.pushToken(te),te;if(this.expansionCount++,this.expansionCount>this.settings.maxExpand)throw new o("Too many expansions: infinite loop or need to increase maxExpand setting");var Ve=Se.tokens;if(Se.numArgs){var Pt=this.consumeArgs(Se.numArgs);Ve=Ve.slice();for(var Ut=Ve.length-1;Ut>=0;--Ut){var ar=Ve[Ut];if(ar.text==="#"){if(Ut===0)throw new o("Incomplete placeholder at end of macro body",ar);if(ar=Ve[--Ut],ar.text==="#")Ve.splice(Ut+1,1);else if(/^[1-9]$/.test(ar.text)){var Ar;(Ar=Ve).splice.apply(Ar,[Ut,2].concat(Pt[+ar.text-1]))}else throw new o("Not a valid argument number",ar)}}}return this.pushTokens(Ve),Ve},Z.expandAfterFuture=function(){return this.expandOnce(),this.future()},Z.expandNextToken=function(){for(;;){var te=this.expandOnce();if(te instanceof c)if(te.text==="\\relax")this.stack.pop();else return this.stack.pop()}throw new Error},Z.expandMacro=function(te){if(this.macros.get(te)){var he=[],Se=this.stack.length;for(this.pushToken(new c(te));this.stack.length>Se;){var Ve=this.expandOnce();Ve instanceof c&&he.push(this.stack.pop())}return he}},Z.expandMacroAsText=function(te){var he=this.expandMacro(te);return he&&he.map(function(Se){return Se.text}).join("")},Z._getExpansion=function(te){var he=this.macros.get(te);if(he==null)return he;var Se=typeof he=="function"?he(this):he;if(typeof Se=="string"){var Ve=0;if(Se.indexOf("#")!==-1)for(var Pt=Se.replace(/##/g,"");Pt.indexOf("#"+(Ve+1))!==-1;)++Ve;for(var Ut=new Ta(Se,this.settings),ar=[],Ar=Ut.lex();Ar.text!=="EOF";)ar.push(Ar),Ar=Ut.lex();ar.reverse();var Kr={tokens:ar,numArgs:Ve};return Kr}return Se},Z.isDefined=function(te){return this.macros.has(te)||Ra.hasOwnProperty(te)||ze.math.hasOwnProperty(te)||ze.text.hasOwnProperty(te)||oi.hasOwnProperty(te)},Ke}(),Un={"\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"}},Ln={\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"},Cn=function(){function Ke(Y,te){this.mode=void 0,this.gullet=void 0,this.settings=void 0,this.leftrightDepth=void 0,this.nextToken=void 0,this.mode="math",this.gullet=new Wi(Y,te,this.mode),this.settings=te,this.leftrightDepth=0}var Z=Ke.prototype;return Z.expect=function(te,he){if(he===void 0&&(he=!0),this.fetch().text!==te)throw new o("Expected '"+te+"', 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(te){this.mode=te,this.gullet.switchMode(te)},Z.parse=function(){this.gullet.beginGroup(),this.settings.colorIsTextColor&&this.gullet.macros.set("\\color","\\textcolor");var te=this.parseExpression(!1);return this.expect("EOF"),this.gullet.endGroup(),te},Z.parseExpression=function(te,he){for(var Se=[];;){this.mode==="math"&&this.consumeSpaces();var Ve=this.fetch();if(Ke.endOfExpression.indexOf(Ve.text)!==-1||he&&Ve.text===he||te&&Ra[Ve.text]&&Ra[Ve.text].infix)break;var Pt=this.parseAtom(he);if(!Pt)break;Se.push(Pt)}return this.mode==="text"&&this.formLigatures(Se),this.handleInfixNodes(Se)},Z.handleInfixNodes=function(te){for(var he=-1,Se,Ve=0;Ve<te.length;Ve++){var Pt=kr(te[Ve],"infix");if(Pt){if(he!==-1)throw new o("only one infix operator per group",Pt.token);he=Ve,Se=Pt.replaceWith}}if(he!==-1&&Se){var Ut,ar,Ar=te.slice(0,he),Kr=te.slice(he+1);Ar.length===1&&Ar[0].type==="ordgroup"?Ut=Ar[0]:Ut={type:"ordgroup",mode:this.mode,body:Ar},Kr.length===1&&Kr[0].type==="ordgroup"?ar=Kr[0]:ar={type:"ordgroup",mode:this.mode,body:Kr};var cn;return Se==="\\\\abovefrac"?cn=this.callFunction(Se,[Ut,te[he],ar],[]):cn=this.callFunction(Se,[Ut,ar],[]),[cn]}else return te},Z.handleSupSubscript=function(te){var he=this.fetch(),Se=he.text;this.consume();var Ve=this.parseGroup(te,!1,Ke.SUPSUB_GREEDINESS,void 0,void 0,!0);if(!Ve)throw new o("Expected group after '"+Se+"'",he);return Ve},Z.formatUnsupportedCmd=function(te){for(var he=[],Se=0;Se<te.length;Se++)he.push({type:"textord",mode:"text",text:te[Se]});var Ve={type:"text",mode:this.mode,body:he},Pt={type:"color",mode:this.mode,color:this.settings.errorColor,body:[Ve]};return Pt},Z.parseAtom=function(te){var he=this.parseGroup("atom",!1,null,te);if(this.mode==="text")return he;for(var Se,Ve;;){this.consumeSpaces();var Pt=this.fetch();if(Pt.text==="\\limits"||Pt.text==="\\nolimits"){var Ut=kr(he,"op");if(Ut){var ar=Pt.text==="\\limits";Ut.limits=ar,Ut.alwaysHandleSupSub=!0}else if(Ut=kr(he,"operatorname"),Ut&&Ut.alwaysHandleSupSub){var Ar=Pt.text==="\\limits";Ut.limits=Ar}else throw new o("Limit controls must follow a math operator",Pt);this.consume()}else if(Pt.text==="^"){if(Se)throw new o("Double superscript",Pt);Se=this.handleSupSubscript("superscript")}else if(Pt.text==="_"){if(Ve)throw new o("Double subscript",Pt);Ve=this.handleSupSubscript("subscript")}else if(Pt.text==="'"){if(Se)throw new o("Double superscript",Pt);var Kr={type:"textord",mode:this.mode,text:"\\prime"},cn=[Kr];for(this.consume();this.fetch().text==="'";)cn.push(Kr),this.consume();this.fetch().text==="^"&&cn.push(this.handleSupSubscript("superscript")),Se={type:"ordgroup",mode:this.mode,body:cn}}else break}return Se||Ve?{type:"supsub",mode:this.mode,base:he,sup:Se,sub:Ve}:he},Z.parseFunction=function(te,he,Se){var Ve=this.fetch(),Pt=Ve.text,Ut=Ra[Pt];if(!Ut)return null;if(this.consume(),Se!=null&&Ut.greediness<=Se)throw new o("Got function '"+Pt+"' with no arguments"+(he?" as "+he:""),Ve);if(this.mode==="text"&&!Ut.allowedInText)throw new o("Can't use function '"+Pt+"' in text mode",Ve);if(this.mode==="math"&&Ut.allowedInMath===!1)throw new o("Can't use function '"+Pt+"' in math mode",Ve);var ar=this.parseArguments(Pt,Ut),Ar=ar.args,Kr=ar.optArgs;return this.callFunction(Pt,Ar,Kr,Ve,te)},Z.callFunction=function(te,he,Se,Ve,Pt){var Ut={funcName:te,parser:this,token:Ve,breakOnTokenText:Pt},ar=Ra[te];if(ar&&ar.handler)return ar.handler(Ut,he,Se);throw new o("No function handler for "+te)},Z.parseArguments=function(te,he){var Se=he.numArgs+he.numOptionalArgs;if(Se===0)return{args:[],optArgs:[]};for(var Ve=he.greediness,Pt=[],Ut=[],ar=0;ar<Se;ar++){var Ar=he.argTypes&&he.argTypes[ar],Kr=ar<he.numOptionalArgs,cn=ar>0&&!Kr||ar===0&&!Kr&&this.mode==="math",An=this.parseGroupOfType("argument to '"+te+"'",Ar,Kr,Ve,cn);if(!An){if(Kr){Ut.push(null);continue}throw new o("Expected group after '"+te+"'",this.fetch())}(Kr?Ut:Pt).push(An)}return{args:Pt,optArgs:Ut}},Z.parseGroupOfType=function(te,he,Se,Ve,Pt){switch(he){case"color":return Pt&&this.consumeSpaces(),this.parseColorGroup(Se);case"size":return Pt&&this.consumeSpaces(),this.parseSizeGroup(Se);case"url":return this.parseUrlGroup(Se,Pt);case"math":case"text":return this.parseGroup(te,Se,Ve,void 0,he,Pt);case"hbox":{var Ut=this.parseGroup(te,Se,Ve,void 0,"text",Pt);if(!Ut)return Ut;var ar={type:"styling",mode:Ut.mode,body:[Ut],style:"text"};return ar}case"raw":{if(Pt&&this.consumeSpaces(),Se&&this.fetch().text==="{")return null;var Ar=this.parseStringGroup("raw",Se,!0);if(Ar)return{type:"raw",mode:"text",string:Ar.text};throw new o("Expected raw group",this.fetch())}case"original":case null:case void 0:return this.parseGroup(te,Se,Ve,void 0,void 0,Pt);default:throw new o("Unknown group type as "+te,this.fetch())}},Z.consumeSpaces=function(){for(;this.fetch().text===" ";)this.consume()},Z.parseStringGroup=function(te,he,Se){var Ve=he?"[":"{",Pt=he?"]":"}",Ut=this.fetch();if(Ut.text!==Ve){if(he)return null;if(Se&&Ut.text!=="EOF"&&/[^{}[\]]/.test(Ut.text))return this.consume(),Ut}var ar=this.mode;this.mode="text",this.expect(Ve);for(var Ar="",Kr=this.fetch(),cn=0,An=Kr,Kn;(Kn=this.fetch()).text!==Pt||Se&&cn>0;){switch(Kn.text){case"EOF":throw new o("Unexpected end of input in "+te,Kr.range(An,Ar));case Ve:cn++;break;case Pt:cn--;break}An=Kn,Ar+=An.text,this.consume()}return this.expect(Pt),this.mode=ar,Kr.range(An,Ar)},Z.parseRegexGroup=function(te,he){var Se=this.mode;this.mode="text";for(var Ve=this.fetch(),Pt=Ve,Ut="",ar;(ar=this.fetch()).text!=="EOF"&&te.test(Ut+ar.text);)Pt=ar,Ut+=Pt.text,this.consume();if(Ut==="")throw new o("Invalid "+he+": '"+Ve.text+"'",Ve);return this.mode=Se,Ve.range(Pt,Ut)},Z.parseColorGroup=function(te){var he=this.parseStringGroup("color",te);if(!he)return null;var Se=/^(#[a-f0-9]{3}|#?[a-f0-9]{6}|[a-z]+)$/i.exec(he.text);if(!Se)throw new o("Invalid color: '"+he.text+"'",he);var Ve=Se[0];return/^[0-9a-f]{6}$/i.test(Ve)&&(Ve="#"+Ve),{type:"color-token",mode:this.mode,color:Ve}},Z.parseSizeGroup=function(te){var he,Se=!1;if(!te&&this.fetch().text!=="{"?he=this.parseRegexGroup(/^[-+]? *(?:$|\d+|\d+\.\d*|\.\d*) *[a-z]{0,2} *$/,"size"):he=this.parseStringGroup("size",te),!he)return null;!te&&he.text.length===0&&(he.text="0pt",Se=!0);var Ve=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(he.text);if(!Ve)throw new o("Invalid size: '"+he.text+"'",he);var Pt={number:+(Ve[1]+Ve[2]),unit:Ve[3]};if(!oa(Pt))throw new o("Invalid unit: '"+Pt.unit+"'",he);return{type:"size",mode:this.mode,value:Pt,isBlank:Se}},Z.parseUrlGroup=function(te,he){this.gullet.lexer.setCatcode("%",13);var Se=this.parseStringGroup("url",te,!0);if(this.gullet.lexer.setCatcode("%",14),!Se)return null;var Ve=Se.text.replace(/\\([#$%&~_^{}])/g,"$1");return{type:"url",mode:this.mode,url:Ve}},Z.parseGroup=function(te,he,Se,Ve,Pt,Ut){var ar=this.mode;Pt&&this.switchMode(Pt),Ut&&this.consumeSpaces();var Ar=this.fetch(),Kr=Ar.text,cn;if(he?Kr==="[":Kr==="{"||Kr==="\\begingroup"){this.consume();var An=Ke.endOfGroup[Kr];this.gullet.beginGroup();var Kn=this.parseExpression(!1,An),ti=this.fetch();this.expect(An),this.gullet.endGroup(),cn={type:"ordgroup",mode:this.mode,loc:l.range(Ar,ti),body:Kn,semisimple:Kr==="\\begingroup"||void 0}}else if(he)cn=null;else if(cn=this.parseFunction(Ve,te,Se)||this.parseSymbol(),cn==null&&Kr[0]==="\\"&&!oi.hasOwnProperty(Kr)){if(this.settings.throwOnError)throw new o("Undefined control sequence: "+Kr,Ar);cn=this.formatUnsupportedCmd(Kr),this.consume()}return Pt&&this.switchMode(ar),cn},Z.formLigatures=function(te){for(var he=te.length-1,Se=0;Se<he;++Se){var Ve=te[Se],Pt=Ve.text;Pt==="-"&&te[Se+1].text==="-"&&(Se+1<he&&te[Se+2].text==="-"?(te.splice(Se,3,{type:"textord",mode:"text",loc:l.range(Ve,te[Se+2]),text:"---"}),he-=2):(te.splice(Se,2,{type:"textord",mode:"text",loc:l.range(Ve,te[Se+1]),text:"--"}),he-=1)),(Pt==="'"||Pt==="`")&&te[Se+1].text===Pt&&(te.splice(Se,2,{type:"textord",mode:"text",loc:l.range(Ve,te[Se+1]),text:Pt+Pt}),he-=1)}},Z.parseSymbol=function(){var te=this.fetch(),he=te.text;if(/^\\verb[^a-zA-Z]/.test(he)){this.consume();var Se=he.slice(5),Ve=Se.charAt(0)==="*";if(Ve&&(Se=Se.slice(1)),Se.length<2||Se.charAt(0)!==Se.slice(-1))throw new o(`\\verb assertion failed --
please report what input caused this bug`);return Se=Se.slice(1,-1),{type:"verb",mode:"text",body:Se,star:Ve}}Ln.hasOwnProperty(he[0])&&!ze[this.mode][he[0]]&&(this.settings.strict&&this.mode==="math"&&this.settings.reportNonstrict("unicodeTextInMathMode",'Accented Unicode text character "'+he[0]+'" used in math mode',te),he=Ln[he[0]]+he.substr(1));var Pt=bo.exec(he);Pt&&(he=he.substring(0,Pt.index),he==="i"?he="\u0131":he==="j"&&(he="\u0237"));var Ut;if(ze[this.mode][he]){this.settings.strict&&this.mode==="math"&&nt.indexOf(he)>=0&&this.settings.reportNonstrict("unicodeTextInMathMode",'Latin-1/Unicode text character "'+he[0]+'" used in math mode',te);var ar=ze[this.mode][he].group,Ar=l.range(te),Kr;if(Ht.hasOwnProperty(ar)){var cn=ar;Kr={type:"atom",mode:this.mode,family:cn,loc:Ar,text:he}}else Kr={type:ar,mode:this.mode,loc:Ar,text:he};Ut=Kr}else if(he.charCodeAt(0)>=128)this.settings.strict&&(Ae(he.charCodeAt(0))?this.mode==="math"&&this.settings.reportNonstrict("unicodeTextInMathMode",'Unicode text character "'+he[0]+'" used in math mode',te):this.settings.reportNonstrict("unknownSymbol",'Unrecognized Unicode character "'+he[0]+'"'+(" ("+he.charCodeAt(0)+")"),te)),Ut={type:"textord",mode:"text",loc:l.range(te),text:he};else return null;if(this.consume(),Pt)for(var An=0;An<Pt[0].length;An++){var Kn=Pt[0][An];if(!Un[Kn])throw new o("Unknown accent ' "+Kn+"'",te);var ti=Un[Kn][this.mode];if(!ti)throw new o("Accent "+Kn+" unsupported in "+this.mode+" mode",te);Ut={type:"accent",mode:this.mode,loc:l.range(te),label:ti,isStretchy:!1,isShifty:!0,base:Ut}}return Ut},Ke}();Cn.endOfExpression=["}","\\endgroup","\\end","\\right","&"],Cn.endOfGroup={"[":"]","{":"}","\\begingroup":"\\endgroup"},Cn.SUPSUB_GREEDINESS=1;var aa=function(Z,Y){if(!(typeof Z=="string"||Z instanceof String))throw new TypeError("KaTeX can only parse string typed expression");var te=new Cn(Z,Y);delete te.gullet.macros.current["\\df@tag"];var he=te.parse();if(te.gullet.macros.get("\\df@tag")){if(!Y.displayMode)throw new o("\\tag works only in display equations");te.gullet.feed("\\df@tag"),he=[{type:"tag",mode:"text",body:he,tag:te.parse()}]}return he},na=aa,zo=function(Z,Y,te){Y.textContent="";var he=bl(Z,te).toNode();Y.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."),zo=function(){throw new o("KaTeX doesn't work in quirks mode.")});var uo=function(Z,Y){var te=bl(Z,Y).toMarkup();return te},Su=function(Z,Y){var te=new I(Y);return na(Z,te)},jl=function(Z,Y,te){if(te.throwOnError||!(Z instanceof o))throw Z;var he=it.makeSpan(["katex-error"],[new ke(Y)]);return he.setAttribute("title",Z.toString()),he.setAttribute("style","color:"+te.errorColor),he},bl=function(Z,Y){var te=new I(Y);try{var he=na(Z,te);return Go(he,Z,te)}catch(Se){return jl(Se,Z,te)}},Ju=function(Z,Y){var te=new I(Y);try{var he=na(Z,te);return mu(he,Z,te)}catch(Se){return jl(Se,Z,te)}},Hc={version:"0.11.1",render:zo,renderToString:uo,ParseError:o,__parse:Su,__renderToDomTree:bl,__renderToHTMLTree:Ju,__setFontMetrics:qe,__defineSymbol:ce,__defineMacro:ge,__domTree:{Span:ft,Anchor:Qe,SymbolNode:ke,SvgNode:Ge,PathNode:He,LineNode:Ye}},Uu=e.default=Hc}]).default})},76414:function(d,v,e){var r=e(64696),i=e(16824),l=e(23476),c=e(63122),f=e(37279);function o(h){var u=-1,a=h==null?0:h.length;for(this.clear();++u<a;){var x=h[u];this.set(x[0],x[1])}}o.prototype.clear=r,o.prototype.delete=i,o.prototype.get=l,o.prototype.has=c,o.prototype.set=f,d.exports=o},99746:function(d,v,e){var r=e(34251),i=e(24968),l=e(28290),c=e(88068),f=e(54238);function o(h){var u=-1,a=h==null?0:h.length;for(this.clear();++u<a;){var x=h[u];this.set(x[0],x[1])}}o.prototype.clear=r,o.prototype.delete=i,o.prototype.get=l,o.prototype.has=c,o.prototype.set=f,d.exports=o},40164:function(d,v,e){var r=e(73893),i=e(33152),l=r(i,"Map");d.exports=l},52166:function(d,v,e){var r=e(35365),i=e(63765),l=e(12608),c=e(10203),f=e(11298);function o(h){var u=-1,a=h==null?0:h.length;for(this.clear();++u<a;){var x=h[u];this.set(x[0],x[1])}}o.prototype.clear=r,o.prototype.delete=i,o.prototype.get=l,o.prototype.has=c,o.prototype.set=f,d.exports=o},91866:function(d,v,e){var r=e(99746),i=e(31119),l=e(64399),c=e(81897),f=e(90558),o=e(64841);function h(u){var a=this.__data__=new r(u);this.size=a.size}h.prototype.clear=i,h.prototype.delete=l,h.prototype.get=c,h.prototype.has=f,h.prototype.set=o,d.exports=h},91869:function(d,v,e){var r=e(33152),i=r.Symbol;d.exports=i},77945:function(d,v,e){var r=e(33152),i=r.Uint8Array;d.exports=i},79628:function(d){function v(e,r,i){switch(i.length){case 0:return e.call(r);case 1:return e.call(r,i[0]);case 2:return e.call(r,i[0],i[1]);case 3:return e.call(r,i[0],i[1],i[2])}return e.apply(r,i)}d.exports=v},63333:function(d,v,e){var r=e(67943),i=e(13053),l=e(80744),c=e(57835),f=e(70213),o=e(18397),h=Object.prototype,u=h.hasOwnProperty;function a(x,p){var y=l(x),_=!y&&i(x),b=!y&&!_&&c(x),S=!y&&!_&&!b&&o(x),k=y||_||b||S,R=k?r(x.length,String):[],A=R.length;for(var I in x)(p||u.call(x,I))&&!(k&&(I=="length"||b&&(I=="offset"||I=="parent")||S&&(I=="buffer"||I=="byteLength"||I=="byteOffset")||f(I,A)))&&R.push(I);return R}d.exports=a},89135:function(d,v,e){var r=e(42813),i=e(43607);function l(c,f,o){(o!==void 0&&!i(c[f],o)||o===void 0&&!(f in c))&&r(c,f,o)}d.exports=l},60348:function(d,v,e){var r=e(42813),i=e(43607),l=Object.prototype,c=l.hasOwnProperty;function f(o,h,u){var a=o[h];(!(c.call(o,h)&&i(a,u))||u===void 0&&!(h in o))&&r(o,h,u)}d.exports=f},67971:function(d,v,e){var r=e(43607);function i(l,c){for(var f=l.length;f--;)if(r(l[f][0],c))return f;return-1}d.exports=i},42813:function(d,v,e){var r=e(35234);function i(l,c,f){c=="__proto__"&&r?r(l,c,{configurable:!0,enumerable:!0,value:f,writable:!0}):l[c]=f}d.exports=i},35024:function(d,v,e){var r=e(20816),i=Object.create,l=function(){function c(){}return function(f){if(!r(f))return{};if(i)return i(f);c.prototype=f;var o=new c;return c.prototype=void 0,o}}();d.exports=l},14018:function(d,v,e){var r=e(78010),i=r();d.exports=i},86756:function(d,v,e){var r=e(91869),i=e(72533),l=e(74702),c="[object Null]",f="[object Undefined]",o=r?r.toStringTag:void 0;function h(u){return u==null?u===void 0?f:c:o&&o in Object(u)?i(u):l(u)}d.exports=h},61506:function(d,v,e){var r=e(86756),i=e(93913),l="[object Arguments]";function c(f){return i(f)&&r(f)==l}d.exports=c},6367:function(d,v,e){var r=e(9363),i=e(89379),l=e(20816),c=e(63256),f=/[\\^$.*+?()[\]{}|]/g,o=/^\[object .+?Constructor\]$/,h=Function.prototype,u=Object.prototype,a=h.toString,x=u.hasOwnProperty,p=RegExp("^"+a.call(x).replace(f,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function y(_){if(!l(_)||i(_))return!1;var b=r(_)?p:o;return b.test(c(_))}d.exports=y},10766:function(d,v,e){var r=e(86756),i=e(11156),l=e(93913),c="[object Arguments]",f="[object Array]",o="[object Boolean]",h="[object Date]",u="[object Error]",a="[object Function]",x="[object Map]",p="[object Number]",y="[object Object]",_="[object RegExp]",b="[object Set]",S="[object String]",k="[object WeakMap]",R="[object ArrayBuffer]",A="[object DataView]",I="[object Float32Array]",M="[object Float64Array]",B="[object Int8Array]",N="[object Int16Array]",V="[object Int32Array]",W="[object Uint8Array]",H="[object Uint8ClampedArray]",ae="[object Uint16Array]",ne="[object Uint32Array]",oe={};oe[I]=oe[M]=oe[B]=oe[N]=oe[V]=oe[W]=oe[H]=oe[ae]=oe[ne]=!0,oe[c]=oe[f]=oe[R]=oe[o]=oe[A]=oe[h]=oe[u]=oe[a]=oe[x]=oe[p]=oe[y]=oe[_]=oe[b]=oe[S]=oe[k]=!1;function J(q){return l(q)&&i(q.length)&&!!oe[r(q)]}d.exports=J},33988:function(d,v,e){var r=e(20816),i=e(7975),l=e(97817),c=Object.prototype,f=c.hasOwnProperty;function o(h){if(!r(h))return l(h);var u=i(h),a=[];for(var x in h)x=="constructor"&&(u||!f.call(h,x))||a.push(x);return a}d.exports=o},50097:function(d,v,e){var r=e(91866),i=e(89135),l=e(14018),c=e(23585),f=e(20816),o=e(56730),h=e(47052);function u(a,x,p,y,_){a!==x&&l(x,function(b,S){if(_||(_=new r),f(b))c(a,x,S,p,u,y,_);else{var k=y?y(h(a,S),b,S+"",a,x,_):void 0;k===void 0&&(k=b),i(a,S,k)}},o)}d.exports=u},23585:function(d,v,e){var r=e(89135),i=e(32315),l=e(78358),c=e(47760),f=e(4084),o=e(13053),h=e(80744),u=e(41590),a=e(57835),x=e(9363),p=e(20816),y=e(19308),_=e(18397),b=e(47052),S=e(20480);function k(R,A,I,M,B,N,V){var W=b(R,I),H=b(A,I),ae=V.get(H);if(ae){r(R,I,ae);return}var ne=N?N(W,H,I+"",R,A,V):void 0,oe=ne===void 0;if(oe){var J=h(H),q=!J&&a(H),K=!J&&!q&&_(H);ne=H,J||q||K?h(W)?ne=W:u(W)?ne=c(W):q?(oe=!1,ne=i(H,!0)):K?(oe=!1,ne=l(H,!0)):ne=[]:y(H)||o(H)?(ne=W,o(W)?ne=S(W):(!p(W)||x(W))&&(ne=f(H))):oe=!1}oe&&(V.set(H,ne),B(ne,H,M,N,V),V.delete(H)),r(R,I,ne)}d.exports=k},92918:function(d,v,e){var r=e(46962),i=e(19652),l=e(71152);function c(f,o){return l(i(f,o,r),f+"")}d.exports=c},63989:function(d,v,e){var r=e(13503),i=e(35234),l=e(46962),c=i?function(f,o){return i(f,"toString",{configurable:!0,enumerable:!1,value:r(o),writable:!0})}:l;d.exports=c},67943:function(d){function v(e,r){for(var i=-1,l=Array(e);++i<e;)l[i]=r(i);return l}d.exports=v},38342:function(d){function v(e){return function(r){return e(r)}}d.exports=v},20188:function(d,v,e){var r=e(77945);function i(l){var c=new l.constructor(l.byteLength);return new r(c).set(new r(l)),c}d.exports=i},32315:function(d,v,e){d=e.nmd(d);var r=e(33152),i=v&&!v.nodeType&&v,l=i&&!0&&d&&!d.nodeType&&d,c=l&&l.exports===i,f=c?r.Buffer:void 0,o=f?f.allocUnsafe:void 0;function h(u,a){if(a)return u.slice();var x=u.length,p=o?o(x):new u.constructor(x);return u.copy(p),p}d.exports=h},78358:function(d,v,e){var r=e(20188);function i(l,c){var f=c?r(l.buffer):l.buffer;return new l.constructor(f,l.byteOffset,l.length)}d.exports=i},47760:function(d){function v(e,r){var i=-1,l=e.length;for(r||(r=Array(l));++i<l;)r[i]=e[i];return r}d.exports=v},95378:function(d,v,e){var r=e(60348),i=e(42813);function l(c,f,o,h){var u=!o;o||(o={});for(var a=-1,x=f.length;++a<x;){var p=f[a],y=h?h(o[p],c[p],p,o,c):void 0;y===void 0&&(y=c[p]),u?i(o,p,y):r(o,p,y)}return o}d.exports=l},64218:function(d,v,e){var r=e(33152),i=r["__core-js_shared__"];d.exports=i},63323:function(d,v,e){var r=e(92918),i=e(8138);function l(c){return r(function(f,o){var h=-1,u=o.length,a=u>1?o[u-1]:void 0,x=u>2?o[2]:void 0;for(a=c.length>3&&typeof a=="function"?(u--,a):void 0,x&&i(o[0],o[1],x)&&(a=u<3?void 0:a,u=1),f=Object(f);++h<u;){var p=o[h];p&&c(f,p,h,a)}return f})}d.exports=l},78010:function(d){function v(e){return function(r,i,l){for(var c=-1,f=Object(r),o=l(r),h=o.length;h--;){var u=o[e?h:++c];if(i(f[u],u,f)===!1)break}return r}}d.exports=v},35234:function(d,v,e){var r=e(73893),i=function(){try{var l=r(Object,"defineProperty");return l({},"",{}),l}catch(c){}}();d.exports=i},37675:function(d,v,e){var r=typeof e.g=="object"&&e.g&&e.g.Object===Object&&e.g;d.exports=r},89819:function(d,v,e){var r=e(94358);function i(l,c){var f=l.__data__;return r(c)?f[typeof c=="string"?"string":"hash"]:f.map}d.exports=i},73893:function(d,v,e){var r=e(6367),i=e(49966);function l(c,f){var o=i(c,f);return r(o)?o:void 0}d.exports=l},49217:function(d,v,e){var r=e(31030),i=r(Object.getPrototypeOf,Object);d.exports=i},72533:function(d,v,e){var r=e(91869),i=Object.prototype,l=i.hasOwnProperty,c=i.toString,f=r?r.toStringTag:void 0;function o(h){var u=l.call(h,f),a=h[f];try{h[f]=void 0;var x=!0}catch(y){}var p=c.call(h);return x&&(u?h[f]=a:delete h[f]),p}d.exports=o},49966:function(d){function v(e,r){return e==null?void 0:e[r]}d.exports=v},64696:function(d,v,e){var r=e(65294);function i(){this.__data__=r?r(null):{},this.size=0}d.exports=i},16824:function(d){function v(e){var r=this.has(e)&&delete this.__data__[e];return this.size-=r?1:0,r}d.exports=v},23476:function(d,v,e){var r=e(65294),i="__lodash_hash_undefined__",l=Object.prototype,c=l.hasOwnProperty;function f(o){var h=this.__data__;if(r){var u=h[o];return u===i?void 0:u}return c.call(h,o)?h[o]:void 0}d.exports=f},63122:function(d,v,e){var r=e(65294),i=Object.prototype,l=i.hasOwnProperty;function c(f){var o=this.__data__;return r?o[f]!==void 0:l.call(o,f)}d.exports=c},37279:function(d,v,e){var r=e(65294),i="__lodash_hash_undefined__";function l(c,f){var o=this.__data__;return this.size+=this.has(c)?0:1,o[c]=r&&f===void 0?i:f,this}d.exports=l},4084:function(d,v,e){var r=e(35024),i=e(49217),l=e(7975);function c(f){return typeof f.constructor=="function"&&!l(f)?r(i(f)):{}}d.exports=c},70213:function(d){var v=9007199254740991,e=/^(?:0|[1-9]\d*)$/;function r(i,l){var c=typeof i;return l=l==null?v:l,!!l&&(c=="number"||c!="symbol"&&e.test(i))&&i>-1&&i%1==0&&i<l}d.exports=r},8138:function(d,v,e){var r=e(43607),i=e(24665),l=e(70213),c=e(20816);function f(o,h,u){if(!c(u))return!1;var a=typeof h;return(a=="number"?i(u)&&l(h,u.length):a=="string"&&h in u)?r(u[h],o):!1}d.exports=f},94358:function(d){function v(e){var r=typeof e;return r=="string"||r=="number"||r=="symbol"||r=="boolean"?e!=="__proto__":e===null}d.exports=v},89379:function(d,v,e){var r=e(64218),i=function(){var c=/[^.]+$/.exec(r&&r.keys&&r.keys.IE_PROTO||"");return c?"Symbol(src)_1."+c:""}();function l(c){return!!i&&i in c}d.exports=l},7975:function(d){var v=Object.prototype;function e(r){var i=r&&r.constructor,l=typeof i=="function"&&i.prototype||v;return r===l}d.exports=e},34251:function(d){function v(){this.__data__=[],this.size=0}d.exports=v},24968:function(d,v,e){var r=e(67971),i=Array.prototype,l=i.splice;function c(f){var o=this.__data__,h=r(o,f);if(h<0)return!1;var u=o.length-1;return h==u?o.pop():l.call(o,h,1),--this.size,!0}d.exports=c},28290:function(d,v,e){var r=e(67971);function i(l){var c=this.__data__,f=r(c,l);return f<0?void 0:c[f][1]}d.exports=i},88068:function(d,v,e){var r=e(67971);function i(l){return r(this.__data__,l)>-1}d.exports=i},54238:function(d,v,e){var r=e(67971);function i(l,c){var f=this.__data__,o=r(f,l);return o<0?(++this.size,f.push([l,c])):f[o][1]=c,this}d.exports=i},35365:function(d,v,e){var r=e(76414),i=e(99746),l=e(40164);function c(){this.size=0,this.__data__={hash:new r,map:new(l||i),string:new r}}d.exports=c},63765:function(d,v,e){var r=e(89819);function i(l){var c=r(this,l).delete(l);return this.size-=c?1:0,c}d.exports=i},12608:function(d,v,e){var r=e(89819);function i(l){return r(this,l).get(l)}d.exports=i},10203:function(d,v,e){var r=e(89819);function i(l){return r(this,l).has(l)}d.exports=i},11298:function(d,v,e){var r=e(89819);function i(l,c){var f=r(this,l),o=f.size;return f.set(l,c),this.size+=f.size==o?0:1,this}d.exports=i},65294:function(d,v,e){var r=e(73893),i=r(Object,"create");d.exports=i},97817:function(d){function v(e){var r=[];if(e!=null)for(var i in Object(e))r.push(i);return r}d.exports=v},52495:function(d,v,e){d=e.nmd(d);var r=e(37675),i=v&&!v.nodeType&&v,l=i&&!0&&d&&!d.nodeType&&d,c=l&&l.exports===i,f=c&&r.process,o=function(){try{var h=l&&l.require&&l.require("util").types;return h||f&&f.binding&&f.binding("util")}catch(u){}}();d.exports=o},74702:function(d){var v=Object.prototype,e=v.toString;function r(i){return e.call(i)}d.exports=r},31030:function(d){function v(e,r){return function(i){return e(r(i))}}d.exports=v},19652:function(d,v,e){var r=e(79628),i=Math.max;function l(c,f,o){return f=i(f===void 0?c.length-1:f,0),function(){for(var h=arguments,u=-1,a=i(h.length-f,0),x=Array(a);++u<a;)x[u]=h[f+u];u=-1;for(var p=Array(f+1);++u<f;)p[u]=h[u];return p[f]=o(x),r(c,this,p)}}d.exports=l},33152:function(d,v,e){var r=e(37675),i=typeof self=="object"&&self&&self.Object===Object&&self,l=r||i||Function("return this")();d.exports=l},47052:function(d){function v(e,r){if(!(r==="constructor"&&typeof e[r]=="function")&&r!="__proto__")return e[r]}d.exports=v},71152:function(d,v,e){var r=e(63989),i=e(12345),l=i(r);d.exports=l},12345:function(d){var v=800,e=16,r=Date.now;function i(l){var c=0,f=0;return function(){var o=r(),h=e-(o-f);if(f=o,h>0){if(++c>=v)return arguments[0]}else c=0;return l.apply(void 0,arguments)}}d.exports=i},31119:function(d,v,e){var r=e(99746);function i(){this.__data__=new r,this.size=0}d.exports=i},64399:function(d){function v(e){var r=this.__data__,i=r.delete(e);return this.size=r.size,i}d.exports=v},81897:function(d){function v(e){return this.__data__.get(e)}d.exports=v},90558:function(d){function v(e){return this.__data__.has(e)}d.exports=v},64841:function(d,v,e){var r=e(99746),i=e(40164),l=e(52166),c=200;function f(o,h){var u=this.__data__;if(u instanceof r){var a=u.__data__;if(!i||a.length<c-1)return a.push([o,h]),this.size=++u.size,this;u=this.__data__=new l(a)}return u.set(o,h),this.size=u.size,this}d.exports=f},63256:function(d){var v=Function.prototype,e=v.toString;function r(i){if(i!=null){try{return e.call(i)}catch(l){}try{return i+""}catch(l){}}return""}d.exports=r},13503:function(d){function v(e){return function(){return e}}d.exports=v},43607:function(d){function v(e,r){return e===r||e!==e&&r!==r}d.exports=v},46962:function(d){function v(e){return e}d.exports=v},13053:function(d,v,e){var r=e(61506),i=e(93913),l=Object.prototype,c=l.hasOwnProperty,f=l.propertyIsEnumerable,o=r(function(){return arguments}())?r:function(h){return i(h)&&c.call(h,"callee")&&!f.call(h,"callee")};d.exports=o},80744:function(d){var v=Array.isArray;d.exports=v},24665:function(d,v,e){var r=e(9363),i=e(11156);function l(c){return c!=null&&i(c.length)&&!r(c)}d.exports=l},41590:function(d,v,e){var r=e(24665),i=e(93913);function l(c){return i(c)&&r(c)}d.exports=l},57835:function(d,v,e){d=e.nmd(d);var r=e(33152),i=e(55950),l=v&&!v.nodeType&&v,c=l&&!0&&d&&!d.nodeType&&d,f=c&&c.exports===l,o=f?r.Buffer:void 0,h=o?o.isBuffer:void 0,u=h||i;d.exports=u},9363:function(d,v,e){var r=e(86756),i=e(20816),l="[object AsyncFunction]",c="[object Function]",f="[object GeneratorFunction]",o="[object Proxy]";function h(u){if(!i(u))return!1;var a=r(u);return a==c||a==f||a==l||a==o}d.exports=h},11156:function(d){var v=9007199254740991;function e(r){return typeof r=="number"&&r>-1&&r%1==0&&r<=v}d.exports=e},20816:function(d){function v(e){var r=typeof e;return e!=null&&(r=="object"||r=="function")}d.exports=v},93913:function(d){function v(e){return e!=null&&typeof e=="object"}d.exports=v},19308:function(d,v,e){var r=e(86756),i=e(49217),l=e(93913),c="[object Object]",f=Function.prototype,o=Object.prototype,h=f.toString,u=o.hasOwnProperty,a=h.call(Object);function x(p){if(!l(p)||r(p)!=c)return!1;var y=i(p);if(y===null)return!0;var _=u.call(y,"constructor")&&y.constructor;return typeof _=="function"&&_ instanceof _&&h.call(_)==a}d.exports=x},18397:function(d,v,e){var r=e(10766),i=e(38342),l=e(52495),c=l&&l.isTypedArray,f=c?i(c):r;d.exports=f},56730:function(d,v,e){var r=e(63333),i=e(33988),l=e(24665);function c(f){return l(f)?r(f,!0):i(f)}d.exports=c},89392:function(d,v,e){d=e.nmd(d);var r;(function(){var i,l="4.17.21",c=200,f="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",o="Expected a function",h="Invalid `variable` option passed into `_.template`",u="__lodash_hash_undefined__",a=500,x="__lodash_placeholder__",p=1,y=2,_=4,b=1,S=2,k=1,R=2,A=4,I=8,M=16,B=32,N=64,V=128,W=256,H=512,ae=30,ne="...",oe=800,J=16,q=1,K=2,se=3,ee=1/0,Q=9007199254740991,le=17976931348623157e292,z=NaN,$=4294967295,ie=$-1,_e=$>>>1,Ae=[["ary",V],["bind",k],["bindKey",R],["curry",I],["curryRight",M],["flip",H],["partial",B],["partialRight",N],["rearg",W]],Pe="[object Arguments]",We="[object Array]",$e="[object AsyncFunction]",Lt="[object Boolean]",bt="[object Date]",kt="[object DOMException]",Zt="[object Error]",Mt="[object Function]",tr="[object GeneratorFunction]",je="[object Map]",wt="[object Number]",Ft="[object Null]",tt="[object Object]",gt="[object Promise]",ft="[object Proxy]",Qe="[object RegExp]",Ne="[object Set]",xe="[object String]",ke="[object Symbol]",Ge="[object Undefined]",He="[object WeakMap]",Ye="[object WeakSet]",dt="[object ArrayBuffer]",xt="[object DataView]",nr="[object Float32Array]",qt="[object Float64Array]",Me="[object Int8Array]",qe="[object Int16Array]",Vt="[object Int32Array]",Rt="[object Uint8Array]",zt="[object Uint8ClampedArray]",Ht="[object Uint16Array]",Ct="[object Uint32Array]",Xt=/\b__p \+= '';/g,ze=/\b(__p \+=) '' \+/g,ce=/(__e\(.*?\)|\b__t\)) \+\n'';/g,pe=/&(?:amp|lt|gt|quot|#39);/g,It=/[&<>"']/g,Te=RegExp(pe.source),ct=RegExp(It.source),Wt=/<%-([\s\S]+?)%>/g,Tt=/<%([\s\S]+?)%>/g,Ce=/<%=([\s\S]+?)%>/g,St=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,ye=/^\w*$/,Je=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,yt=/[\\^$.*+?()[\]{}|]/g,Bt=RegExp(yt.source),Be=/^\s+/,Dr=/\s/,At=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,Xr=/\{\n\/\* \[wrapped with (.+)\] \*/,en=/,? & /,Lr=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,Nr=/[()=,{}\[\]\/\s]/,mr=/\\(\\)?/g,Zr=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,on=/\w*$/,_n=/^[-+]0x[0-9a-f]+$/i,Yt=/^0b[01]+$/i,mt=/^\[object .+?Constructor\]$/,st=/^0o[0-7]+$/i,lt=/^(?:0|[1-9]\d*)$/,Nt=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,br=/($^)/,vr=/['\n\r\u2028\u2029\\]/g,nt="\\ud800-\\udfff",Tr="\\u0300-\\u036f",vn="\\ufe20-\\ufe2f",Gn="\\u20d0-\\u20ff",Yr=Tr+vn+Gn,Yn="\\u2700-\\u27bf",Jn="a-z\\xdf-\\xf6\\xf8-\\xff",kn="\\xac\\xb1\\xd7\\xf7",Qn="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",ri="\\u2000-\\u206f",Ai=" \\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",wi="A-Z\\xc0-\\xd6\\xd8-\\xde",Ui="\\ufe0e\\ufe0f",oa=kn+Qn+ri+Ai,Vi="['\u2019]",zi="["+nt+"]",mi="["+oa+"]",Ki="["+Yr+"]",Dt="\\d+",vt="["+Yn+"]",Zi="["+Jn+"]",Hi="[^"+nt+oa+Dt+Yn+Jn+wi+"]",hi="\\ud83c[\\udffb-\\udfff]",Fa="(?:"+Ki+"|"+hi+")",Ti="[^"+nt+"]",si="(?:\\ud83c[\\udde6-\\uddff]){2}",Dn="[\\ud800-\\udbff][\\udc00-\\udfff]",rr="["+wi+"]",_t="\\u200d",rt="(?:"+Zi+"|"+Hi+")",Ot="(?:"+rr+"|"+Hi+")",ht="(?:"+Vi+"(?:d|ll|m|re|s|t|ve))?",lr="(?:"+Vi+"(?:D|LL|M|RE|S|T|VE))?",fr=Fa+"?",Cr="["+Ui+"]?",Gr="(?:"+_t+"(?:"+[Ti,si,Dn].join("|")+")"+Cr+fr+")*",Ze="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",et="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",be=Cr+fr+Gr,it="(?:"+[vt,si,Dn].join("|")+")"+be,or="(?:"+[Ti+Ki+"?",Ki,si,Dn,zi].join("|")+")",kr=RegExp(Vi,"g"),Ir=RegExp(Ki,"g"),Pr=RegExp(hi+"(?="+hi+")|"+or+be,"g"),Wr=RegExp([rr+"?"+Zi+"+"+ht+"(?="+[mi,rr,"$"].join("|")+")",Ot+"+"+lr+"(?="+[mi,rr+rt,"$"].join("|")+")",rr+"?"+rt+"+"+ht,rr+"+"+lr,et,Ze,Dt,it].join("|"),"g"),wn=RegExp("["+_t+nt+Yr+Ui+"]"),gr=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,fn=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],un=-1,dn={};dn[nr]=dn[qt]=dn[Me]=dn[qe]=dn[Vt]=dn[Rt]=dn[zt]=dn[Ht]=dn[Ct]=!0,dn[Pe]=dn[We]=dn[dt]=dn[Lt]=dn[xt]=dn[bt]=dn[Zt]=dn[Mt]=dn[je]=dn[wt]=dn[tt]=dn[Qe]=dn[Ne]=dn[xe]=dn[He]=!1;var gn={};gn[Pe]=gn[We]=gn[dt]=gn[xt]=gn[Lt]=gn[bt]=gn[nr]=gn[qt]=gn[Me]=gn[qe]=gn[Vt]=gn[je]=gn[wt]=gn[tt]=gn[Qe]=gn[Ne]=gn[xe]=gn[ke]=gn[Rt]=gn[zt]=gn[Ht]=gn[Ct]=!0,gn[Zt]=gn[Mt]=gn[He]=!1;var ka={\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={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},pi={"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#39;":"'"},bn={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},ui=parseFloat,ta=parseInt,Ca=typeof e.g=="object"&&e.g&&e.g.Object===Object&&e.g,Ks=typeof self=="object"&&self&&self.Object===Object&&self,Ha=Ca||Ks||Function("return this")(),Zs=v&&!v.nodeType&&v,Js=Zs&&!0&&d&&!d.nodeType&&d,is=Js&&Js.exports===Zs,Hs=is&&Ca.process,Aa=function(){try{var cr=Js&&Js.require&&Js.require("util").types;return cr||Hs&&Hs.binding&&Hs.binding("util")}catch(Mr){}}(),Ss=Aa&&Aa.isArrayBuffer,ds=Aa&&Aa.isDate,eo=Aa&&Aa.isMap,Bi=Aa&&Aa.isRegExp,ks=Aa&&Aa.isSet,Bo=Aa&&Aa.isTypedArray;function Wa(cr,Mr,Fr){switch(Fr.length){case 0:return cr.call(Mr);case 1:return cr.call(Mr,Fr[0]);case 2:return cr.call(Mr,Fr[0],Fr[1]);case 3:return cr.call(Mr,Fr[0],Fr[1],Fr[2])}return cr.apply(Mr,Fr)}function Rs(cr,Mr,Fr,Sn){for(var Tn=-1,pt=cr==null?0:cr.length;++Tn<pt;){var jn=cr[Tn];Mr(Sn,jn,Fr(jn),cr)}return Sn}function ci(cr,Mr){for(var Fr=-1,Sn=cr==null?0:cr.length;++Fr<Sn&&Mr(cr[Fr],Fr,cr)!==!1;);return cr}function fo(cr,Mr){for(var Fr=cr==null?0:cr.length;Fr--&&Mr(cr[Fr],Fr,cr)!==!1;);return cr}function Nn(cr,Mr){for(var Fr=-1,Sn=cr==null?0:cr.length;++Fr<Sn;)if(!Mr(cr[Fr],Fr,cr))return!1;return!0}function Ja(cr,Mr){for(var Fr=-1,Sn=cr==null?0:cr.length,Tn=0,pt=[];++Fr<Sn;){var jn=cr[Fr];Mr(jn,Fr,cr)&&(pt[Tn++]=jn)}return pt}function As(cr,Mr){var Fr=cr==null?0:cr.length;return!!Fr&&No(cr,Mr,0)>-1}function Ps(cr,Mr,Fr){for(var Sn=-1,Tn=cr==null?0:cr.length;++Sn<Tn;)if(Fr(Mr,cr[Sn]))return!0;return!1}function ca(cr,Mr){for(var Fr=-1,Sn=cr==null?0:cr.length,Tn=Array(Sn);++Fr<Sn;)Tn[Fr]=Mr(cr[Fr],Fr,cr);return Tn}function es(cr,Mr){for(var Fr=-1,Sn=Mr.length,Tn=cr.length;++Fr<Sn;)cr[Tn+Fr]=Mr[Fr];return cr}function Yi(cr,Mr,Fr,Sn){var Tn=-1,pt=cr==null?0:cr.length;for(Sn&&pt&&(Fr=cr[++Tn]);++Tn<pt;)Fr=Mr(Fr,cr[Tn],Tn,cr);return Fr}function Ws(cr,Mr,Fr,Sn){var Tn=cr==null?0:cr.length;for(Sn&&Tn&&(Fr=cr[--Tn]);Tn--;)Fr=Mr(Fr,cr[Tn],Tn,cr);return Fr}function vo(cr,Mr){for(var Fr=-1,Sn=cr==null?0:cr.length;++Fr<Sn;)if(Mr(cr[Fr],Fr,cr))return!0;return!1}var Wo=vi("length");function Go(cr){return cr.split("")}function mu(cr){return cr.match(Lr)||[]}function uu(cr,Mr,Fr){var Sn;return Fr(cr,function(Tn,pt,jn){if(Mr(Tn,pt,jn))return Sn=pt,!1}),Sn}function ho(cr,Mr,Fr,Sn){for(var Tn=cr.length,pt=Fr+(Sn?1:-1);Sn?pt--:++pt<Tn;)if(Mr(cr[pt],pt,cr))return pt;return-1}function No(cr,Mr,Fr){return Mr===Mr?Jt(cr,Mr,Fr):ho(cr,qo,Fr)}function Co(cr,Mr,Fr,Sn){for(var Tn=Fr-1,pt=cr.length;++Tn<pt;)if(Sn(cr[Tn],Mr))return Tn;return-1}function qo(cr){return cr!==cr}function Ko(cr,Mr){var Fr=cr==null?0:cr.length;return Fr?as(cr,Mr)/Fr:z}function vi(cr){return function(Mr){return Mr==null?i:Mr[cr]}}function _i(cr){return function(Mr){return cr==null?i:cr[Mr]}}function ts(cr,Mr,Fr,Sn,Tn){return Tn(cr,function(pt,jn,Wn){Fr=Sn?(Sn=!1,pt):Mr(Fr,pt,jn,Wn)}),Fr}function ss(cr,Mr){var Fr=cr.length;for(cr.sort(Mr);Fr--;)cr[Fr]=cr[Fr].value;return cr}function as(cr,Mr){for(var Fr,Sn=-1,Tn=cr.length;++Sn<Tn;){var pt=Mr(cr[Sn]);pt!==i&&(Fr=Fr===i?pt:Fr+pt)}return Fr}function Ga(cr,Mr){for(var Fr=-1,Sn=Array(cr);++Fr<cr;)Sn[Fr]=Mr(Fr);return Sn}function hs(cr,Mr){return ca(Mr,function(Fr){return[Fr,cr[Fr]]})}function Jo(cr){return cr&&cr.slice(0,Sr(cr)+1).replace(Be,"")}function Is(cr){return function(Mr){return cr(Mr)}}function ko(cr,Mr){return ca(Mr,function(Fr){return cr[Fr]})}function vu(cr,Mr){return cr.has(Mr)}function wu(cr,Mr){for(var Fr=-1,Sn=cr.length;++Fr<Sn&&No(Mr,cr[Fr],0)>-1;);return Fr}function qu(cr,Mr){for(var Fr=cr.length;Fr--&&No(Mr,cr[Fr],0)>-1;);return Fr}function ll(cr,Mr){for(var Fr=cr.length,Sn=0;Fr--;)cr[Fr]===Mr&&++Sn;return Sn}var Ro=_i(ka),to=_i(Ci);function $o(cr){return"\\"+bn[cr]}function ju(cr,Mr){return cr==null?i:cr[Mr]}function Lo(cr){return wn.test(cr)}function jo(cr){return gr.test(cr)}function Mu(cr){for(var Mr,Fr=[];!(Mr=cr.next()).done;)Fr.push(Mr.value);return Fr}function eu(cr){var Mr=-1,Fr=Array(cr.size);return cr.forEach(function(Sn,Tn){Fr[++Mr]=[Tn,Sn]}),Fr}function hu(cr,Mr){return function(Fr){return cr(Mr(Fr))}}function ro(cr,Mr){for(var Fr=-1,Sn=cr.length,Tn=0,pt=[];++Fr<Sn;){var jn=cr[Fr];(jn===Mr||jn===x)&&(cr[Fr]=x,pt[Tn++]=Fr)}return pt}function tu(cr){var Mr=-1,Fr=Array(cr.size);return cr.forEach(function(Sn){Fr[++Mr]=Sn}),Fr}function Uo(cr){var Mr=-1,Fr=Array(cr.size);return cr.forEach(function(Sn){Fr[++Mr]=[Sn,Sn]}),Fr}function Jt(cr,Mr,Fr){for(var Sn=Fr-1,Tn=cr.length;++Sn<Tn;)if(cr[Sn]===Mr)return Sn;return-1}function dr(cr,Mr,Fr){for(var Sn=Fr+1;Sn--;)if(cr[Sn]===Mr)return Sn;return Sn}function ur(cr){return Lo(cr)?Zn(cr):Wo(cr)}function hr(cr){return Lo(cr)?Rn(cr):Go(cr)}function Sr(cr){for(var Mr=cr.length;Mr--&&Dr.test(cr.charAt(Mr)););return Mr}var yn=_i(pi);function Zn(cr){for(var Mr=Pr.lastIndex=0;Pr.test(cr);)++Mr;return Mr}function Rn(cr){return cr.match(Pr)||[]}function Hn(cr){return cr.match(Wr)||[]}var li=function cr(Mr){Mr=Mr==null?Ha:ei.defaults(Ha.Object(),Mr,ei.pick(Ha,fn));var Fr=Mr.Array,Sn=Mr.Date,Tn=Mr.Error,pt=Mr.Function,jn=Mr.Math,Wn=Mr.Object,Ni=Mr.RegExp,ra=Mr.String,zr=Mr.TypeError,pa=Fr.prototype,Xi=pt.prototype,Pa=Wn.prototype,ps=Mr["__core-js_shared__"],Vs=Xi.toString,$i=Pa.hasOwnProperty,no=0,so=function(){var w=/[^.]+$/.exec(ps&&ps.keys&&ps.keys.IE_PROTO||"");return w?"Symbol(src)_1."+w:""}(),Fs=Pa.toString,Va=Vs.call(Wn),Xs=Ha._,po=Ni("^"+Vs.call($i).replace(yt,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Fn=is?Mr.Buffer:i,$a=Mr.Symbol,rs=Mr.Uint8Array,Xe=Fn?Fn.allocUnsafe:i,Ie=hu(Wn.getPrototypeOf,Wn),$t=Wn.create,Gt=Pa.propertyIsEnumerable,yr=pa.splice,Br=$a?$a.isConcatSpreadable:i,Hr=$a?$a.iterator:i,xn=$a?$a.toStringTag:i,ln=function(){try{var w=Ka(Wn,"defineProperty");return w({},"",{}),w}catch(F){}}(),En=Mr.clearTimeout!==Ha.clearTimeout&&Mr.clearTimeout,ii=Sn&&Sn.now!==Ha.Date.now&&Sn.now,ai=Mr.setTimeout!==Ha.setTimeout&&Mr.setTimeout,gi=jn.ceil,Li=jn.floor,ua=Wn.getOwnPropertySymbols,Qi=Fn?Fn.isBuffer:i,Pi=Mr.isFinite,Da=pa.join,Ii=hu(Wn.keys,Wn),yi=jn.max,ga=jn.min,go=Sn.now,Bs=Mr.parseInt,ia=jn.random,Ya=pa.reverse,ba=Ka(Mr,"DataView"),Mi=Ka(Mr,"Map"),Ra=Ka(Mr,"Promise"),os=Ka(Mr,"Set"),us=Ka(Mr,"WeakMap"),yo=Ka(Wn,"create"),bs=us&&new us,Po={},_s=Sa(ba),bo=Sa(Mi),oo=Sa(Ra),Ta=Sa(os),ls=Sa(us),Qs=$a?$a.prototype:i,La=Qs?Qs.valueOf:i,ge=Qs?Qs.toString:i;function we(w){if(ou(w)&&!ya(w)&&!(w instanceof Jr)){if(w instanceof xr)return w;if($i.call(w,"__wrapped__"))return Os(w)}return new xr(w)}var wr=function(){function w(){}return function(F){if(!Fo(F))return{};if($t)return $t(F);w.prototype=F;var fe=new w;return w.prototype=i,fe}}();function rn(){}function xr(w,F){this.__wrapped__=w,this.__actions__=[],this.__chain__=!!F,this.__index__=0,this.__values__=i}we.templateSettings={escape:Wt,evaluate:Tt,interpolate:Ce,variable:"",imports:{_:we}},we.prototype=rn.prototype,we.prototype.constructor=we,xr.prototype=wr(rn.prototype),xr.prototype.constructor=xr;function Jr(w){this.__wrapped__=w,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=$,this.__views__=[]}function On(){var w=new Jr(this.__wrapped__);return w.__actions__=fu(this.__actions__),w.__dir__=this.__dir__,w.__filtered__=this.__filtered__,w.__iteratees__=fu(this.__iteratees__),w.__takeCount__=this.__takeCount__,w.__views__=fu(this.__views__),w}function oi(){if(this.__filtered__){var w=new Jr(this);w.__dir__=-1,w.__filtered__=!0}else w=this.clone(),w.__dir__*=-1;return w}function Wi(){var w=this.__wrapped__.value(),F=this.__dir__,fe=ya(w),Fe=F<0,Et=fe?w.length:0,Qt=tf(0,Et,this.__views__),_r=Qt.start,Rr=Qt.end,Qr=Rr-_r,Bn=Fe?Rr:_r-1,$n=this.__iteratees__,qn=$n.length,Ri=0,Ea=ga(Qr,this.__takeCount__);if(!fe||!Fe&&Et==Qr&&Ea==Qr)return gf(w,this.__actions__);var za=[];e:for(;Qr--&&Ri<Ea;){Bn+=F;for(var Cs=-1,Za=w[Bn];++Cs<qn;){var zs=$n[Cs],Ys=zs.iteratee,Ec=zs.type,$l=Ys(Za);if(Ec==K)Za=$l;else if(!$l){if(Ec==q)continue e;break e}}za[Ri++]=Za}return za}Jr.prototype=wr(rn.prototype),Jr.prototype.constructor=Jr;function Un(w){var F=-1,fe=w==null?0:w.length;for(this.clear();++F<fe;){var Fe=w[F];this.set(Fe[0],Fe[1])}}function Ln(){this.__data__=yo?yo(null):{},this.size=0}function Cn(w){var F=this.has(w)&&delete this.__data__[w];return this.size-=F?1:0,F}function aa(w){var F=this.__data__;if(yo){var fe=F[w];return fe===u?i:fe}return $i.call(F,w)?F[w]:i}function na(w){var F=this.__data__;return yo?F[w]!==i:$i.call(F,w)}function zo(w,F){var fe=this.__data__;return this.size+=this.has(w)?0:1,fe[w]=yo&&F===i?u:F,this}Un.prototype.clear=Ln,Un.prototype.delete=Cn,Un.prototype.get=aa,Un.prototype.has=na,Un.prototype.set=zo;function uo(w){var F=-1,fe=w==null?0:w.length;for(this.clear();++F<fe;){var Fe=w[F];this.set(Fe[0],Fe[1])}}function Su(){this.__data__=[],this.size=0}function jl(w){var F=this.__data__,fe=Ts(F,w);if(fe<0)return!1;var Fe=F.length-1;return fe==Fe?F.pop():yr.call(F,fe,1),--this.size,!0}function bl(w){var F=this.__data__,fe=Ts(F,w);return fe<0?i:F[fe][1]}function Ju(w){return Ts(this.__data__,w)>-1}function Hc(w,F){var fe=this.__data__,Fe=Ts(fe,w);return Fe<0?(++this.size,fe.push([w,F])):fe[Fe][1]=F,this}uo.prototype.clear=Su,uo.prototype.delete=jl,uo.prototype.get=bl,uo.prototype.has=Ju,uo.prototype.set=Hc;function Uu(w){var F=-1,fe=w==null?0:w.length;for(this.clear();++F<fe;){var Fe=w[F];this.set(Fe[0],Fe[1])}}function Ke(){this.size=0,this.__data__={hash:new Un,map:new(Mi||uo),string:new Un}}function Z(w){var F=Fi(this,w).delete(w);return this.size-=F?1:0,F}function Y(w){return Fi(this,w).get(w)}function te(w){return Fi(this,w).has(w)}function he(w,F){var fe=Fi(this,w),Fe=fe.size;return fe.set(w,F),this.size+=fe.size==Fe?0:1,this}Uu.prototype.clear=Ke,Uu.prototype.delete=Z,Uu.prototype.get=Y,Uu.prototype.has=te,Uu.prototype.set=he;function Se(w){var F=-1,fe=w==null?0:w.length;for(this.__data__=new Uu;++F<fe;)this.add(w[F])}function Ve(w){return this.__data__.set(w,u),this}function Pt(w){return this.__data__.has(w)}Se.prototype.add=Se.prototype.push=Ve,Se.prototype.has=Pt;function Ut(w){var F=this.__data__=new uo(w);this.size=F.size}function ar(){this.__data__=new uo,this.size=0}function Ar(w){var F=this.__data__,fe=F.delete(w);return this.size=F.size,fe}function Kr(w){return this.__data__.get(w)}function cn(w){return this.__data__.has(w)}function An(w,F){var fe=this.__data__;if(fe instanceof uo){var Fe=fe.__data__;if(!Mi||Fe.length<c-1)return Fe.push([w,F]),this.size=++fe.size,this;fe=this.__data__=new Uu(Fe)}return fe.set(w,F),this.size=fe.size,this}Ut.prototype.clear=ar,Ut.prototype.delete=Ar,Ut.prototype.get=Kr,Ut.prototype.has=cn,Ut.prototype.set=An;function Kn(w,F){var fe=ya(w),Fe=!fe&&du(w),Et=!fe&&!Fe&&zc(w),Qt=!fe&&!Fe&&!Et&&rd(w),_r=fe||Fe||Et||Qt,Rr=_r?Ga(w.length,ra):[],Qr=Rr.length;for(var Bn in w)(F||$i.call(w,Bn))&&!(_r&&(Bn=="length"||Et&&(Bn=="offset"||Bn=="parent")||Qt&&(Bn=="buffer"||Bn=="byteLength"||Bn=="byteOffset")||nu(Bn,Qr)))&&Rr.push(Bn);return Rr}function ti(w){var F=w.length;return F?w[Hu(0,F-1)]:i}function Oi(w,F){return qi(fu(w),xs(F,0,w.length))}function ji(w){return qi(fu(w))}function la(w,F,fe){(fe!==i&&!ys(w[F],fe)||fe===i&&!(F in w))&&Oa(w,F,fe)}function wa(w,F,fe){var Fe=w[F];(!($i.call(w,F)&&ys(Fe,fe))||fe===i&&!(F in w))&&Oa(w,F,fe)}function Ts(w,F){for(var fe=w.length;fe--;)if(ys(w[fe][0],F))return fe;return-1}function Ds(w,F,fe,Fe){return Vo(w,function(Et,Qt,_r){F(Fe,Et,fe(Et),_r)}),Fe}function Ls(w,F){return w&&Ku(F,ul(F),w)}function ms(w,F){return w&&Ku(F,ic(F),w)}function Oa(w,F,fe){F=="__proto__"&&ln?ln(w,F,{configurable:!0,enumerable:!0,value:fe,writable:!0}):w[F]=fe}function io(w,F){for(var fe=-1,Fe=F.length,Et=Fr(Fe),Qt=w==null;++fe<Fe;)Et[fe]=Qt?i:Rd(w,F[fe]);return Et}function xs(w,F,fe){return w===w&&(fe!==i&&(w=w<=fe?w:fe),F!==i&&(w=w>=F?w:F)),w}function pr(w,F,fe,Fe,Et,Qt){var _r,Rr=F&p,Qr=F&y,Bn=F&_;if(fe&&(_r=Et?fe(w,Fe,Et,Qt):fe(w)),_r!==i)return _r;if(!Fo(w))return w;var $n=ya(w);if($n){if(_r=rf(w),!Rr)return fu(w,_r)}else{var qn=js(w),Ri=qn==Mt||qn==tr;if(zc(w))return kf(w,Rr);if(qn==tt||qn==Pe||Ri&&!Et){if(_r=Qr||Ri?{}:Vu(w),!Rr)return Qr?dc(w,ms(_r,w)):fc(w,Ls(_r,w))}else{if(!gn[qn])return Et?w:{};_r=Si(w,qn,Rr)}}Qt||(Qt=new Ut);var Ea=Qt.get(w);if(Ea)return Ea;Qt.set(w,_r),Hd(w)?w.forEach(function(Za){_r.add(pr(Za,F,fe,Za,w,Qt))}):Gf(w)&&w.forEach(function(Za,zs){_r.set(zs,pr(Za,F,fe,zs,w,Qt))});var za=Bn?Qr?me:L:Qr?ic:ul,Cs=$n?i:za(w);return ci(Cs||w,function(Za,zs){Cs&&(zs=Za,Za=w[zs]),wa(_r,zs,pr(Za,F,fe,zs,w,Qt))}),_r}function Io(w){var F=ul(w);return function(fe){return Mo(fe,w,F)}}function Mo(w,F,fe){var Fe=fe.length;if(w==null)return!Fe;for(w=Wn(w);Fe--;){var Et=fe[Fe],Qt=F[Et],_r=w[Et];if(_r===i&&!(Et in w)||!Qt(_r))return!1}return!0}function gu(w,F,fe){if(typeof w!="function")throw new zr(o);return xu(function(){w.apply(i,fe)},F)}function Ns(w,F,fe,Fe){var Et=-1,Qt=As,_r=!0,Rr=w.length,Qr=[],Bn=F.length;if(!Rr)return Qr;fe&&(F=ca(F,Is(fe))),Fe?(Qt=Ps,_r=!1):F.length>=c&&(Qt=vu,_r=!1,F=new Se(F));e:for(;++Et<Rr;){var $n=w[Et],qn=fe==null?$n:fe($n);if($n=Fe||$n!==0?$n:0,_r&&qn===qn){for(var Ri=Bn;Ri--;)if(F[Ri]===qn)continue e;Qr.push($n)}else Qt(F,qn,Fe)||Qr.push($n)}return Qr}var Vo=Du(Do),_o=Du(Yo,!0);function sc(w,F){var fe=!0;return Vo(w,function(Fe,Et,Qt){return fe=!!F(Fe,Et,Qt),fe}),fe}function xl(w,F,fe){for(var Fe=-1,Et=w.length;++Fe<Et;){var Qt=w[Fe],_r=F(Qt);if(_r!=null&&(Rr===i?_r===_r&&!xc(_r):fe(_r,Rr)))var Rr=_r,Qr=Qt}return Qr}function El(w,F,fe,Fe){var Et=w.length;for(fe=ws(fe),fe<0&&(fe=-fe>Et?0:Et+fe),Fe=Fe===i||Fe>Et?Et:ws(Fe),Fe<0&&(Fe+=Et),Fe=fe>Fe?0:Gd(Fe);fe<Fe;)w[fe++]=F;return w}function el(w,F){var fe=[];return Vo(w,function(Fe,Et,Qt){F(Fe,Et,Qt)&&fe.push(Fe)}),fe}function $s(w,F,fe,Fe,Et){var Qt=-1,_r=w.length;for(fe||(fe=Bc),Et||(Et=[]);++Qt<_r;){var Rr=w[Qt];F>0&&fe(Rr)?F>1?$s(Rr,F-1,fe,Fe,Et):es(Et,Rr):Fe||(Et[Et.length]=Rr)}return Et}var zu=yf(),Zu=yf(!0);function Do(w,F){return w&&zu(w,F,ul)}function Yo(w,F){return w&&Zu(w,F,ul)}function Ul(w,F){return Ja(F,function(fe){return Pl(w[fe])})}function pu(w,F){F=_l(F,w);for(var fe=0,Fe=F.length;w!=null&&fe<Fe;)w=w[fa(F[fe++])];return fe&&fe==Fe?w:i}function zl(w,F,fe){var Fe=F(w);return ya(w)?Fe:es(Fe,fe(w))}function xo(w){return w==null?w===i?Ge:Ft:xn&&xn in Wn(w)?Ho(w):wf(w)}function ru(w,F){return w>F}function cl(w,F){return w!=null&&$i.call(w,F)}function Zl(w,F){return w!=null&&F in Wn(w)}function Xo(w,F,fe){return w>=ga(F,fe)&&w<yi(F,fe)}function Hl(w,F,fe){for(var Fe=fe?Ps:As,Et=w[0].length,Qt=w.length,_r=Qt,Rr=Fr(Qt),Qr=1/0,Bn=[];_r--;){var $n=w[_r];_r&&F&&($n=ca($n,Is(F))),Qr=ga($n.length,Qr),Rr[_r]=!fe&&(F||Et>=120&&$n.length>=120)?new Se(_r&&$n):i}$n=w[0];var qn=-1,Ri=Rr[0];e:for(;++qn<Et&&Bn.length<Qr;){var Ea=$n[qn],za=F?F(Ea):Ea;if(Ea=fe||Ea!==0?Ea:0,!(Ri?vu(Ri,za):Fe(Bn,za,fe))){for(_r=Qt;--_r;){var Cs=Rr[_r];if(!(Cs?vu(Cs,za):Fe(w[_r],za,fe)))continue e}Ri&&Ri.push(za),Bn.push(Ea)}}return Bn}function Wl(w,F,fe,Fe){return Do(w,function(Et,Qt,_r){F(Fe,fe(Et),Qt,_r)}),Fe}function fi(w,F,fe){F=_l(F,w),w=Tl(w,F);var Fe=w==null?w:w[fa(au(F))];return Fe==null?i:Wa(Fe,w,fe)}function oc(w){return ou(w)&&xo(w)==Pe}function ao(w){return ou(w)&&xo(w)==dt}function Wc(w){return ou(w)&&xo(w)==bt}function Fu(w,F,fe,Fe,Et){return w===F?!0:w==null||F==null||!ou(w)&&!ou(F)?w!==w&&F!==F:fl(w,F,fe,Fe,Fu,Et)}function fl(w,F,fe,Fe,Et,Qt){var _r=ya(w),Rr=ya(F),Qr=_r?We:js(w),Bn=Rr?We:js(F);Qr=Qr==Pe?tt:Qr,Bn=Bn==Pe?tt:Bn;var $n=Qr==tt,qn=Bn==tt,Ri=Qr==Bn;if(Ri&&zc(w)){if(!zc(F))return!1;_r=!0,$n=!1}if(Ri&&!$n)return Qt||(Qt=new Ut),_r||rd(w)?Mc(w,F,fe,Fe,Et,Qt):xf(w,F,Qr,fe,Fe,Et,Qt);if(!(fe&b)){var Ea=$n&&$i.call(w,"__wrapped__"),za=qn&&$i.call(F,"__wrapped__");if(Ea||za){var Cs=Ea?w.value():w,Za=za?F.value():F;return Qt||(Qt=new Ut),Et(Cs,Za,fe,Fe,Qt)}}return Ri?(Qt||(Qt=new Ut),P(w,F,fe,Fe,Et,Qt)):!1}function tl(w){return ou(w)&&js(w)==je}function Sc(w,F,fe,Fe){var Et=fe.length,Qt=Et,_r=!Fe;if(w==null)return!Qt;for(w=Wn(w);Et--;){var Rr=fe[Et];if(_r&&Rr[2]?Rr[1]!==w[Rr[0]]:!(Rr[0]in w))return!1}for(;++Et<Qt;){Rr=fe[Et];var Qr=Rr[0],Bn=w[Qr],$n=Rr[1];if(_r&&Rr[2]){if(Bn===i&&!(Qr in w))return!1}else{var qn=new Ut;if(Fe)var Ri=Fe(Bn,$n,Qr,w,F,qn);if(!(Ri===i?Fu($n,Bn,b|S,Fe,qn):Ri))return!1}}return!0}function Gc(w){if(!Fo(w)||gl(w))return!1;var F=Pl(w)?po:mt;return F.test(Sa(w))}function Eo(w){return ou(w)&&xo(w)==Qe}function Kc(w){return ou(w)&&js(w)==Ne}function Gl(w){return ou(w)&&Qf(w.length)&&!!dn[xo(w)]}function uc(w){return typeof w=="function"?w:w==null?ac:typeof w=="object"?ya(w)?lo(w[0],w[1]):Kl(w):n0(w)}function Il(w){if(!Al(w))return Ii(w);var F=[];for(var fe in Wn(w))$i.call(w,fe)&&fe!="constructor"&&F.push(fe);return F}function Vc(w){if(!Fo(w))return Fl(w);var F=Al(w),fe=[];for(var Fe in w)Fe=="constructor"&&(F||!$i.call(w,Fe))||fe.push(Fe);return fe}function Dl(w,F){return w<F}function Au(w,F){var fe=-1,Fe=su(w)?Fr(w.length):[];return Vo(w,function(Et,Qt,_r){Fe[++fe]=F(Et,Qt,_r)}),Fe}function Kl(w){var F=cs(w);return F.length==1&&F[0][2]?ku(F[0][0],F[0][1]):function(fe){return fe===w||Sc(fe,w,F)}}function lo(w,F){return vs(w)&&Ef(F)?ku(fa(w),F):function(fe){var Fe=Rd(fe,w);return Fe===i&&Fe===F?Ld(fe,w):Fu(F,Fe,b|S)}}function Qo(w,F,fe,Fe,Et){w!==F&&zu(F,function(Qt,_r){if(Et||(Et=new Ut),Fo(Qt))lu(w,F,_r,fe,Qo,Fe,Et);else{var Rr=Fe?Fe(Nc(w,_r),Qt,_r+"",w,F,Et):i;Rr===i&&(Rr=Qt),la(w,_r,Rr)}},ic)}function lu(w,F,fe,Fe,Et,Qt,_r){var Rr=Nc(w,fe),Qr=Nc(F,fe),Bn=_r.get(Qr);if(Bn){la(w,fe,Bn);return}var $n=Qt?Qt(Rr,Qr,fe+"",w,F,_r):i,qn=$n===i;if(qn){var Ri=ya(Qr),Ea=!Ri&&zc(Qr),za=!Ri&&!Ea&&rd(Qr);$n=Qr,Ri||Ea||za?ya(Rr)?$n=Rr:Oo(Rr)?$n=fu(Rr):Ea?(qn=!1,$n=kf(Qr,!0)):za?(qn=!1,$n=Iu(Qr,!0)):$n=[]:dd(Qr)||du(Qr)?($n=Rr,du(Rr)?$n=Kd(Rr):(!Fo(Rr)||Pl(Rr))&&($n=Vu(Qr))):qn=!1}qn&&(_r.set(Qr,$n),Et($n,Qr,Fe,Qt,_r),_r.delete(Qr)),la(w,fe,$n)}function Vl(w,F){var fe=w.length;if(fe)return F+=F<0?fe:0,nu(F,fe)?w[F]:i}function wl(w,F,fe){F.length?F=ca(F,function(Qt){return ya(Qt)?function(_r){return pu(_r,Qt.length===1?Qt[0]:Qt)}:Qt}):F=[ac];var Fe=-1;F=ca(F,Is(hn()));var Et=Au(w,function(Qt,_r,Rr){var Qr=ca(F,function(Bn){return Bn(Qt)});return{criteria:Qr,index:++Fe,value:Qt}});return ss(Et,function(Qt,_r){return Gu(Qt,_r,fe)})}function Bu(w,F){return cu(w,F,function(fe,Fe){return Ld(w,Fe)})}function cu(w,F,fe){for(var Fe=-1,Et=F.length,Qt={};++Fe<Et;){var _r=F[Fe],Rr=pu(w,_r);fe(Rr,_r)&&dl(Qt,_l(_r,w),Rr)}return Qt}function pf(w){return function(F){return pu(F,w)}}function Tu(w,F,fe,Fe){var Et=Fe?Co:No,Qt=-1,_r=F.length,Rr=w;for(w===F&&(F=fu(F)),fe&&(Rr=ca(w,Is(fe)));++Qt<_r;)for(var Qr=0,Bn=F[Qt],$n=fe?fe(Bn):Bn;(Qr=Et(Rr,$n,Qr,Fe))>-1;)Rr!==w&&yr.call(Rr,Qr,1),yr.call(w,Qr,1);return w}function _u(w,F){for(var fe=w?F.length:0,Fe=fe-1;fe--;){var Et=F[fe];if(fe==Fe||Et!==Qt){var Qt=Et;nu(Et)?yr.call(w,Et,1):Ic(w,Et)}}return w}function Hu(w,F){return w+Li(ia()*(F-w+1))}function Ac(w,F,fe,Fe){for(var Et=-1,Qt=yi(gi((F-w)/(fe||1)),0),_r=Fr(Qt);Qt--;)_r[Fe?Qt:++Et]=w,w+=fe;return _r}function Ol(w,F){var fe="";if(!w||F<1||F>Q)return fe;do F%2&&(fe+=w),F=Li(F/2),F&&(w+=w);while(F);return fe}function Ia(w,F){return Eu(Ru(w,F,ac),w+"")}function _f(w){return ti(nd(w))}function Yc(w,F){var fe=nd(w);return qi(fe,xs(F,0,fe.length))}function dl(w,F,fe,Fe){if(!Fo(w))return w;F=_l(F,w);for(var Et=-1,Qt=F.length,_r=Qt-1,Rr=w;Rr!=null&&++Et<Qt;){var Qr=fa(F[Et]),Bn=fe;if(Qr==="__proto__"||Qr==="constructor"||Qr==="prototype")return w;if(Et!=_r){var $n=Rr[Qr];Bn=Fe?Fe($n,Qr,Rr):i,Bn===i&&(Bn=Fo($n)?$n:nu(F[Et+1])?[]:{})}wa(Rr,Qr,Bn),Rr=Rr[Qr]}return w}var Xc=bs?function(w,F){return bs.set(w,F),w}:ac,Of=ln?function(w,F){return ln(w,"toString",{configurable:!0,enumerable:!1,value:Fd(F),writable:!0})}:ac;function Tc(w){return qi(nd(w))}function Cu(w,F,fe){var Fe=-1,Et=w.length;F<0&&(F=-F>Et?0:Et+F),fe=fe>Et?Et:fe,fe<0&&(fe+=Et),Et=F>fe?0:fe-F>>>0,F>>>=0;for(var Qt=Fr(Et);++Fe<Et;)Qt[Fe]=w[Fe+F];return Qt}function mf(w,F){var fe;return Vo(w,function(Fe,Et,Qt){return fe=F(Fe,Et,Qt),!fe}),!!fe}function Cc(w,F,fe){var Fe=0,Et=w==null?Fe:w.length;if(typeof F=="number"&&F===F&&Et<=_e){for(;Fe<Et;){var Qt=Fe+Et>>>1,_r=w[Qt];_r!==null&&!xc(_r)&&(fe?_r<=F:_r<F)?Fe=Qt+1:Et=Qt}return Et}return Yl(w,F,ac,fe)}function Yl(w,F,fe,Fe){var Et=0,Qt=w==null?0:w.length;if(Qt===0)return 0;F=fe(F);for(var _r=F!==F,Rr=F===null,Qr=xc(F),Bn=F===i;Et<Qt;){var $n=Li((Et+Qt)/2),qn=fe(w[$n]),Ri=qn!==i,Ea=qn===null,za=qn===qn,Cs=xc(qn);if(_r)var Za=Fe||za;else Bn?Za=za&&(Fe||Ri):Rr?Za=za&&Ri&&(Fe||!Ea):Qr?Za=za&&Ri&&!Ea&&(Fe||!Cs):Ea||Cs?Za=!1:Za=Fe?qn<=F:qn<F;Za?Et=$n+1:Qt=$n}return ga(Qt,ie)}function vf(w,F){for(var fe=-1,Fe=w.length,Et=0,Qt=[];++fe<Fe;){var _r=w[fe],Rr=F?F(_r):_r;if(!fe||!ys(Rr,Qr)){var Qr=Rr;Qt[Et++]=_r===0?0:_r}}return Qt}function Pc(w){return typeof w=="number"?w:xc(w)?z:+w}function Pu(w){if(typeof w=="string")return w;if(ya(w))return ca(w,Pu)+"";if(xc(w))return ge?ge.call(w):"";var F=w+"";return F=="0"&&1/w==-ee?"-0":F}function hl(w,F,fe){var Fe=-1,Et=As,Qt=w.length,_r=!0,Rr=[],Qr=Rr;if(fe)_r=!1,Et=Ps;else if(Qt>=c){var Bn=F?null:bf(w);if(Bn)return tu(Bn);_r=!1,Et=vu,Qr=new Se}else Qr=F?[]:Rr;e:for(;++Fe<Qt;){var $n=w[Fe],qn=F?F($n):$n;if($n=fe||$n!==0?$n:0,_r&&qn===qn){for(var Ri=Qr.length;Ri--;)if(Qr[Ri]===qn)continue e;F&&Qr.push(qn),Rr.push($n)}else Et(Qr,qn,fe)||(Qr!==Rr&&Qr.push(qn),Rr.push($n))}return Rr}function Ic(w,F){return F=_l(F,w),w=Tl(w,F),w==null||delete w[fa(au(F))]}function pl(w,F,fe,Fe){return dl(w,F,fe(pu(w,F)),Fe)}function Qc(w,F,fe,Fe){for(var Et=w.length,Qt=Fe?Et:-1;(Fe?Qt--:++Qt<Et)&&F(w[Qt],Qt,w););return fe?Cu(w,Fe?0:Qt,Fe?Qt+1:Et):Cu(w,Fe?Qt+1:0,Fe?Et:Qt)}function gf(w,F){var fe=w;return fe instanceof Jr&&(fe=fe.value()),Yi(F,function(Fe,Et){return Et.func.apply(Et.thisArg,es([Fe],Et.args))},fe)}function lc(w,F,fe){var Fe=w.length;if(Fe<2)return Fe?hl(w[0]):[];for(var Et=-1,Qt=Fr(Fe);++Et<Fe;)for(var _r=w[Et],Rr=-1;++Rr<Fe;)Rr!=Et&&(Qt[Et]=Ns(Qt[Et]||_r,w[Rr],F,fe));return hl($s(Qt,1),F,fe)}function wo(w,F,fe){for(var Fe=-1,Et=w.length,Qt=F.length,_r={};++Fe<Et;){var Rr=Fe<Qt?F[Fe]:i;fe(_r,w[Fe],Rr)}return _r}function Dc(w){return Oo(w)?w:[]}function qc(w){return typeof w=="function"?w:ac}function _l(w,F){return ya(w)?w:vs(w,F)?[w]:Ba(To(w))}var Nu=Ia;function So(w,F,fe){var Fe=w.length;return fe=fe===i?Fe:fe,!F&&fe>=Fe?w:Cu(w,F,fe)}var kl=En||function(w){return Ha.clearTimeout(w)};function kf(w,F){if(F)return w.slice();var fe=w.length,Fe=Xe?Xe(fe):new w.constructor(fe);return w.copy(Fe),Fe}function Oc(w){var F=new w.constructor(w.byteLength);return new rs(F).set(new rs(w)),F}function Wu(w,F){var fe=F?Oc(w.buffer):w.buffer;return new w.constructor(fe,w.byteOffset,w.byteLength)}function Gs(w){var F=new w.constructor(w.source,on.exec(w));return F.lastIndex=w.lastIndex,F}function mo(w){return La?Wn(La.call(w)):{}}function Iu(w,F){var fe=F?Oc(w.buffer):w.buffer;return new w.constructor(fe,w.byteOffset,w.length)}function Ue(w,F){if(w!==F){var fe=w!==i,Fe=w===null,Et=w===w,Qt=xc(w),_r=F!==i,Rr=F===null,Qr=F===F,Bn=xc(F);if(!Rr&&!Bn&&!Qt&&w>F||Qt&&_r&&Qr&&!Rr&&!Bn||Fe&&_r&&Qr||!fe&&Qr||!Et)return 1;if(!Fe&&!Qt&&!Bn&&w<F||Bn&&fe&&Et&&!Fe&&!Qt||Rr&&fe&&Et||!_r&&Et||!Qr)return-1}return 0}function Gu(w,F,fe){for(var Fe=-1,Et=w.criteria,Qt=F.criteria,_r=Et.length,Rr=fe.length;++Fe<_r;){var Qr=Ue(Et[Fe],Qt[Fe]);if(Qr){if(Fe>=Rr)return Qr;var Bn=fe[Fe];return Qr*(Bn=="desc"?-1:1)}}return w.index-F.index}function yu(w,F,fe,Fe){for(var Et=-1,Qt=w.length,_r=fe.length,Rr=-1,Qr=F.length,Bn=yi(Qt-_r,0),$n=Fr(Qr+Bn),qn=!Fe;++Rr<Qr;)$n[Rr]=F[Rr];for(;++Et<_r;)(qn||Et<Qt)&&($n[fe[Et]]=w[Et]);for(;Bn--;)$n[Rr++]=w[Et++];return $n}function cc(w,F,fe,Fe){for(var Et=-1,Qt=w.length,_r=-1,Rr=fe.length,Qr=-1,Bn=F.length,$n=yi(Qt-Rr,0),qn=Fr($n+Bn),Ri=!Fe;++Et<$n;)qn[Et]=w[Et];for(var Ea=Et;++Qr<Bn;)qn[Ea+Qr]=F[Qr];for(;++_r<Rr;)(Ri||Et<Qt)&&(qn[Ea+fe[_r]]=w[Et++]);return qn}function fu(w,F){var fe=-1,Fe=w.length;for(F||(F=Fr(Fe));++fe<Fe;)F[fe]=w[fe];return F}function Ku(w,F,fe,Fe){var Et=!fe;fe||(fe={});for(var Qt=-1,_r=F.length;++Qt<_r;){var Rr=F[Qt],Qr=Fe?Fe(fe[Rr],w[Rr],Rr,fe,w):i;Qr===i&&(Qr=w[Rr]),Et?Oa(fe,Rr,Qr):wa(fe,Rr,Qr)}return fe}function fc(w,F){return Ku(w,ns(w),F)}function dc(w,F){return Ku(w,Ao(w),F)}function rl(w,F){return function(fe,Fe){var Et=ya(fe)?Rs:Ds,Qt=F?F():{};return Et(fe,w,hn(Fe,2),Qt)}}function nl(w){return Ia(function(F,fe){var Fe=-1,Et=fe.length,Qt=Et>1?fe[Et-1]:i,_r=Et>2?fe[2]:i;for(Qt=w.length>3&&typeof Qt=="function"?(Et--,Qt):i,_r&&co(fe[0],fe[1],_r)&&(Qt=Et<3?i:Qt,Et=1),F=Wn(F);++Fe<Et;){var Rr=fe[Fe];Rr&&w(F,Rr,Fe,Qt)}return F})}function Du(w,F){return function(fe,Fe){if(fe==null)return fe;if(!su(fe))return w(fe,Fe);for(var Et=fe.length,Qt=F?Et:-1,_r=Wn(fe);(F?Qt--:++Qt<Et)&&Fe(_r[Qt],Qt,_r)!==!1;);return fe}}function yf(w){return function(F,fe,Fe){for(var Et=-1,Qt=Wn(F),_r=Fe(F),Rr=_r.length;Rr--;){var Qr=_r[w?Rr:++Et];if(fe(Qt[Qr],Qr,Qt)===!1)break}return F}}function hc(w,F,fe){var Fe=F&k,Et=Ou(w);function Qt(){var _r=this&&this!==Ha&&this instanceof Qt?Et:w;return _r.apply(Fe?fe:this,arguments)}return Qt}function bu(w){return function(F){F=To(F);var fe=Lo(F)?hr(F):i,Fe=fe?fe[0]:F.charAt(0),Et=fe?So(fe,1).join(""):F.slice(1);return Fe[w]()+Et}}function ml(w){return function(F){return Yi(t0(e0(F).replace(kr,"")),w,"")}}function Ou(w){return function(){var F=arguments;switch(F.length){case 0:return new w;case 1:return new w(F[0]);case 2:return new w(F[0],F[1]);case 3:return new w(F[0],F[1],F[2]);case 4:return new w(F[0],F[1],F[2],F[3]);case 5:return new w(F[0],F[1],F[2],F[3],F[4]);case 6:return new w(F[0],F[1],F[2],F[3],F[4],F[5]);case 7:return new w(F[0],F[1],F[2],F[3],F[4],F[5],F[6])}var fe=wr(w.prototype),Fe=w.apply(fe,F);return Fo(Fe)?Fe:fe}}function Uf(w,F,fe){var Fe=Ou(w);function Et(){for(var Qt=arguments.length,_r=Fr(Qt),Rr=Qt,Qr=Vn(Et);Rr--;)_r[Rr]=arguments[Rr];var Bn=Qt<3&&_r[0]!==Qr&&_r[Qt-1]!==Qr?[]:ro(_r,Qr);if(Qt-=Bn.length,Qt<fe)return Xl(w,F,Rl,Et.placeholder,i,_r,Bn,i,i,fe-Qt);var $n=this&&this!==Ha&&this instanceof Et?Fe:w;return Wa($n,this,_r)}return Et}function Jc(w){return function(F,fe,Fe){var Et=Wn(F);if(!su(F)){var Qt=hn(fe,3);F=ul(F),fe=function(Rr){return Qt(Et[Rr],Rr,Et)}}var _r=w(F,fe,Fe);return _r>-1?Et[Qt?F[_r]:_r]:i}}function Zo(w){return D(function(F){var fe=F.length,Fe=fe,Et=xr.prototype.thru;for(w&&F.reverse();Fe--;){var Qt=F[Fe];if(typeof Qt!="function")throw new zr(o);if(Et&&!_r&&an(Qt)=="wrapper")var _r=new xr([],!0)}for(Fe=_r?Fe:fe;++Fe<fe;){Qt=F[Fe];var Rr=an(Qt),Qr=Rr=="wrapper"?De(Qt):i;Qr&&Jl(Qr[0])&&Qr[1]==(V|I|B|W)&&!Qr[4].length&&Qr[9]==1?_r=_r[an(Qr[0])].apply(_r,Qr[3]):_r=Qt.length==1&&Jl(Qt)?_r[Rr]():_r.thru(Qt)}return function(){var Bn=arguments,$n=Bn[0];if(_r&&Bn.length==1&&ya($n))return _r.plant($n).value();for(var qn=0,Ri=fe?F[qn].apply(this,Bn):$n;++qn<fe;)Ri=F[qn].call(this,Ri);return Ri}})}function Rl(w,F,fe,Fe,Et,Qt,_r,Rr,Qr,Bn){var $n=F&V,qn=F&k,Ri=F&R,Ea=F&(I|M),za=F&H,Cs=Ri?i:Ou(w);function Za(){for(var zs=arguments.length,Ys=Fr(zs),Ec=zs;Ec--;)Ys[Ec]=arguments[Ec];if(Ea)var $l=Vn(Za),wc=ll(Ys,$l);if(Fe&&(Ys=yu(Ys,Fe,Et,Ea)),Qt&&(Ys=cc(Ys,Qt,_r,Ea)),zs-=wc,Ea&&zs<Bn){var Lu=ro(Ys,$l);return Xl(w,F,Rl,Za.placeholder,fe,Ys,Lu,Rr,Qr,Bn-zs)}var hf=qn?fe:this,jf=Ri?hf[w]:w;return zs=Ys.length,Rr?Ys=ec(Ys,Rr):za&&zs>1&&Ys.reverse(),$n&&Qr<zs&&(Ys.length=Qr),this&&this!==Ha&&this instanceof Za&&(jf=Cs||Ou(jf)),jf.apply(hf,Ys)}return Za}function kc(w,F){return function(fe,Fe){return Wl(fe,w,F(Fe),{})}}function pc(w,F){return function(fe,Fe){var Et;if(fe===i&&Fe===i)return F;if(fe!==i&&(Et=fe),Fe!==i){if(Et===i)return Fe;typeof fe=="string"||typeof Fe=="string"?(fe=Pu(fe),Fe=Pu(Fe)):(fe=Pc(fe),Fe=Pc(Fe)),Et=w(fe,Fe)}return Et}}function _c(w){return D(function(F){return F=ca(F,Is(hn())),Ia(function(fe){var Fe=this;return w(F,function(Et){return Wa(Et,Fe,fe)})})})}function mc(w,F){F=F===i?" ":Pu(F);var fe=F.length;if(fe<2)return fe?Ol(F,w):F;var Fe=Ol(F,gi(w/ur(F)));return Lo(F)?So(hr(Fe),0,w).join(""):Fe.slice(0,w)}function vc(w,F,fe,Fe){var Et=F&k,Qt=Ou(w);function _r(){for(var Rr=-1,Qr=arguments.length,Bn=-1,$n=Fe.length,qn=Fr($n+Qr),Ri=this&&this!==Ha&&this instanceof _r?Qt:w;++Bn<$n;)qn[Bn]=Fe[Bn];for(;Qr--;)qn[Bn++]=arguments[++Rr];return Wa(Ri,Et?fe:this,qn)}return _r}function Rf(w){return function(F,fe,Fe){return Fe&&typeof Fe!="number"&&co(F,fe,Fe)&&(fe=Fe=i),F=$f(F),fe===i?(fe=F,F=0):fe=$f(fe),Fe=Fe===i?F<fe?1:-1:$f(Fe),Ac(F,fe,Fe,w)}}function Rc(w){return function(F,fe){return typeof F=="string"&&typeof fe=="string"||(F=Zc(F),fe=Zc(fe)),w(F,fe)}}function Xl(w,F,fe,Fe,Et,Qt,_r,Rr,Qr,Bn){var $n=F&I,qn=$n?_r:i,Ri=$n?i:_r,Ea=$n?Qt:i,za=$n?i:Qt;F|=$n?B:N,F&=~($n?N:B),F&A||(F&=~(k|R));var Cs=[w,F,Et,Ea,qn,za,Ri,Rr,Qr,Bn],Za=fe.apply(i,Cs);return Jl(w)&&$u(Za,Cs),Za.placeholder=Fe,Mn(Za,w,F)}function Ql(w){var F=jn[w];return function(fe,Fe){if(fe=Zc(fe),Fe=Fe==null?0:ga(ws(Fe),292),Fe&&Pi(fe)){var Et=(To(fe)+"e").split("e"),Qt=F(Et[0]+"e"+(+Et[1]+Fe));return Et=(To(Qt)+"e").split("e"),+(Et[0]+"e"+(+Et[1]-Fe))}return F(fe)}}var bf=os&&1/tu(new os([,-0]))[1]==ee?function(w){return new os(w)}:$d;function ef(w){return function(F){var fe=js(F);return fe==je?eu(F):fe==Ne?Uo(F):hs(F,w(F))}}function il(w,F,fe,Fe,Et,Qt,_r,Rr){var Qr=F&R;if(!Qr&&typeof w!="function")throw new zr(o);var Bn=Fe?Fe.length:0;if(Bn||(F&=~(B|N),Fe=Et=i),_r=_r===i?_r:yi(ws(_r),0),Rr=Rr===i?Rr:ws(Rr),Bn-=Et?Et.length:0,F&N){var $n=Fe,qn=Et;Fe=Et=i}var Ri=Qr?i:De(w),Ea=[w,F,fe,Fe,Et,$n,qn,Qt,_r,Rr];if(Ri&&nf(Ea,Ri),w=Ea[0],F=Ea[1],fe=Ea[2],Fe=Ea[3],Et=Ea[4],Rr=Ea[9]=Ea[9]===i?Qr?0:w.length:yi(Ea[9]-Bn,0),!Rr&&F&(I|M)&&(F&=~(I|M)),!F||F==k)var za=hc(w,F,fe);else F==I||F==M?za=Uf(w,F,Rr):(F==B||F==(k|B))&&!Et.length?za=vc(w,F,fe,Fe):za=Rl.apply(i,Ea);var Cs=Ri?Xc:$u;return Mn(Cs(za,Ea),w,F)}function gc(w,F,fe,Fe){return w===i||ys(w,Pa[fe])&&!$i.call(Fe,fe)?F:w}function yc(w,F,fe,Fe,Et,Qt){return Fo(w)&&Fo(F)&&(Qt.set(F,w),Qo(w,F,i,yc,Qt),Qt.delete(F)),w}function Lc(w){return dd(w)?i:w}function Mc(w,F,fe,Fe,Et,Qt){var _r=fe&b,Rr=w.length,Qr=F.length;if(Rr!=Qr&&!(_r&&Qr>Rr))return!1;var Bn=Qt.get(w),$n=Qt.get(F);if(Bn&&$n)return Bn==F&&$n==w;var qn=-1,Ri=!0,Ea=fe&S?new Se:i;for(Qt.set(w,F),Qt.set(F,w);++qn<Rr;){var za=w[qn],Cs=F[qn];if(Fe)var Za=_r?Fe(Cs,za,qn,F,w,Qt):Fe(za,Cs,qn,w,F,Qt);if(Za!==i){if(Za)continue;Ri=!1;break}if(Ea){if(!vo(F,function(zs,Ys){if(!vu(Ea,Ys)&&(za===zs||Et(za,zs,fe,Fe,Qt)))return Ea.push(Ys)})){Ri=!1;break}}else if(!(za===Cs||Et(za,Cs,fe,Fe,Qt))){Ri=!1;break}}return Qt.delete(w),Qt.delete(F),Ri}function xf(w,F,fe,Fe,Et,Qt,_r){switch(fe){case xt:if(w.byteLength!=F.byteLength||w.byteOffset!=F.byteOffset)return!1;w=w.buffer,F=F.buffer;case dt:return!(w.byteLength!=F.byteLength||!Qt(new rs(w),new rs(F)));case Lt:case bt:case wt:return ys(+w,+F);case Zt:return w.name==F.name&&w.message==F.message;case Qe:case xe:return w==F+"";case je:var Rr=eu;case Ne:var Qr=Fe&b;if(Rr||(Rr=tu),w.size!=F.size&&!Qr)return!1;var Bn=_r.get(w);if(Bn)return Bn==F;Fe|=S,_r.set(w,F);var $n=Mc(Rr(w),Rr(F),Fe,Et,Qt,_r);return _r.delete(w),$n;case ke:if(La)return La.call(w)==La.call(F)}return!1}function P(w,F,fe,Fe,Et,Qt){var _r=fe&b,Rr=L(w),Qr=Rr.length,Bn=L(F),$n=Bn.length;if(Qr!=$n&&!_r)return!1;for(var qn=Qr;qn--;){var Ri=Rr[qn];if(!(_r?Ri in F:$i.call(F,Ri)))return!1}var Ea=Qt.get(w),za=Qt.get(F);if(Ea&&za)return Ea==F&&za==w;var Cs=!0;Qt.set(w,F),Qt.set(F,w);for(var Za=_r;++qn<Qr;){Ri=Rr[qn];var zs=w[Ri],Ys=F[Ri];if(Fe)var Ec=_r?Fe(Ys,zs,Ri,F,w,Qt):Fe(zs,Ys,Ri,w,F,Qt);if(!(Ec===i?zs===Ys||Et(zs,Ys,fe,Fe,Qt):Ec)){Cs=!1;break}Za||(Za=Ri=="constructor")}if(Cs&&!Za){var $l=w.constructor,wc=F.constructor;$l!=wc&&"constructor"in w&&"constructor"in F&&!(typeof $l=="function"&&$l instanceof $l&&typeof wc=="function"&&wc instanceof wc)&&(Cs=!1)}return Qt.delete(w),Qt.delete(F),Cs}function D(w){return Eu(Ru(w,i,of),w+"")}function L(w){return zl(w,ul,ns)}function me(w){return zl(w,ic,Ao)}var De=bs?function(w){return bs.get(w)}:$d;function an(w){for(var F=w.name+"",fe=Po[F],Fe=$i.call(Po,F)?fe.length:0;Fe--;){var Et=fe[Fe],Qt=Et.func;if(Qt==null||Qt==w)return Et.name}return F}function Vn(w){var F=$i.call(we,"placeholder")?we:w;return F.placeholder}function hn(){var w=we.iteratee||Bd;return w=w===Bd?uc:w,arguments.length?w(arguments[0],arguments[1]):w}function Fi(w,F){var fe=w.__data__;return vl(F)?fe[typeof F=="string"?"string":"hash"]:fe.map}function cs(w){for(var F=ul(w),fe=F.length;fe--;){var Fe=F[fe],Et=w[Fe];F[fe]=[Fe,Et,Ef(Et)]}return F}function Ka(w,F){var fe=ju(w,F);return Gc(fe)?fe:i}function Ho(w){var F=$i.call(w,xn),fe=w[xn];try{w[xn]=i;var Fe=!0}catch(Qt){}var Et=Fs.call(w);return Fe&&(F?w[xn]=fe:delete w[xn]),Et}var ns=ua?function(w){return w==null?[]:(w=Wn(w),Ja(ua(w),function(F){return Gt.call(w,F)}))}:jd,Ao=ua?function(w){for(var F=[];w;)es(F,ns(w)),w=Ie(w);return F}:jd,js=xo;(ba&&js(new ba(new ArrayBuffer(1)))!=xt||Mi&&js(new Mi)!=je||Ra&&js(Ra.resolve())!=gt||os&&js(new os)!=Ne||us&&js(new us)!=He)&&(js=function(w){var F=xo(w),fe=F==tt?w.constructor:i,Fe=fe?Sa(fe):"";if(Fe)switch(Fe){case _s:return xt;case bo:return je;case oo:return gt;case Ta:return Ne;case ls:return He}return F});function tf(w,F,fe){for(var Fe=-1,Et=fe.length;++Fe<Et;){var Qt=fe[Fe],_r=Qt.size;switch(Qt.type){case"drop":w+=_r;break;case"dropRight":F-=_r;break;case"take":F=ga(F,w+_r);break;case"takeRight":w=yi(w,F-_r);break}}return{start:w,end:F}}function ql(w){var F=w.match(Xr);return F?F[1].split(en):[]}function Fc(w,F,fe){F=_l(F,w);for(var Fe=-1,Et=F.length,Qt=!1;++Fe<Et;){var _r=fa(F[Fe]);if(!(Qt=w!=null&&fe(w,_r)))break;w=w[_r]}return Qt||++Fe!=Et?Qt:(Et=w==null?0:w.length,!!Et&&Qf(Et)&&nu(_r,Et)&&(ya(w)||du(w)))}function rf(w){var F=w.length,fe=new w.constructor(F);return F&&typeof w[0]=="string"&&$i.call(w,"index")&&(fe.index=w.index,fe.input=w.input),fe}function Vu(w){return typeof w.constructor=="function"&&!Al(w)?wr(Ie(w)):{}}function Si(w,F,fe){var Fe=w.constructor;switch(F){case dt:return Oc(w);case Lt:case bt:return new Fe(+w);case xt:return Wu(w,fe);case nr:case qt:case Me:case qe:case Vt:case Rt:case zt:case Ht:case Ct:return Iu(w,fe);case je:return new Fe;case wt:case xe:return new Fe(w);case Qe:return Gs(w);case Ne:return new Fe;case ke:return mo(w)}}function Sl(w,F){var fe=F.length;if(!fe)return w;var Fe=fe-1;return F[Fe]=(fe>1?"& ":"")+F[Fe],F=F.join(fe>2?", ":" "),w.replace(At,`{
/* [wrapped with `+F+`] */
`)}function Bc(w){return ya(w)||du(w)||!!(Br&&w&&w[Br])}function nu(w,F){var fe=typeof w;return F=F==null?Q:F,!!F&&(fe=="number"||fe!="symbol"&&lt.test(w))&&w>-1&&w%1==0&&w<F}function co(w,F,fe){if(!Fo(fe))return!1;var Fe=typeof F;return(Fe=="number"?su(fe)&&nu(F,fe.length):Fe=="string"&&F in fe)?ys(fe[F],w):!1}function vs(w,F){if(ya(w))return!1;var fe=typeof w;return fe=="number"||fe=="symbol"||fe=="boolean"||w==null||xc(w)?!0:ye.test(w)||!St.test(w)||F!=null&&w in Wn(F)}function vl(w){var F=typeof w;return F=="string"||F=="number"||F=="symbol"||F=="boolean"?w!=="__proto__":w===null}function Jl(w){var F=an(w),fe=we[F];if(typeof fe!="function"||!(F in Jr.prototype))return!1;if(w===fe)return!0;var Fe=De(fe);return!!Fe&&w===Fe[0]}function gl(w){return!!so&&so in w}var Ll=ps?Pl:Ud;function Al(w){var F=w&&w.constructor,fe=typeof F=="function"&&F.prototype||Pa;return w===fe}function Ef(w){return w===w&&!Fo(w)}function ku(w,F){return function(fe){return fe==null?!1:fe[w]===F&&(F!==i||w in Wn(fe))}}function Ml(w){var F=pn(w,function(Fe){return fe.size===a&&fe.clear(),Fe}),fe=F.cache;return F}function nf(w,F){var fe=w[1],Fe=F[1],Et=fe|Fe,Qt=Et<(k|R|V),_r=Fe==V&&fe==I||Fe==V&&fe==W&&w[7].length<=F[8]||Fe==(V|W)&&F[7].length<=F[8]&&fe==I;if(!(Qt||_r))return w;Fe&k&&(w[2]=F[2],Et|=fe&k?0:A);var Rr=F[3];if(Rr){var Qr=w[3];w[3]=Qr?yu(Qr,Rr,F[4]):Rr,w[4]=Qr?ro(w[3],x):F[4]}return Rr=F[5],Rr&&(Qr=w[5],w[5]=Qr?cc(Qr,Rr,F[6]):Rr,w[6]=Qr?ro(w[5],x):F[6]),Rr=F[7],Rr&&(w[7]=Rr),Fe&V&&(w[8]=w[8]==null?F[8]:ga(w[8],F[8])),w[9]==null&&(w[9]=F[9]),w[0]=F[0],w[1]=Et,w}function Fl(w){var F=[];if(w!=null)for(var fe in Wn(w))F.push(fe);return F}function wf(w){return Fs.call(w)}function Ru(w,F,fe){return F=yi(F===i?w.length-1:F,0),function(){for(var Fe=arguments,Et=-1,Qt=yi(Fe.length-F,0),_r=Fr(Qt);++Et<Qt;)_r[Et]=Fe[F+Et];Et=-1;for(var Rr=Fr(F+1);++Et<F;)Rr[Et]=Fe[Et];return Rr[F]=fe(_r),Wa(w,this,Rr)}}function Tl(w,F){return F.length<2?w:pu(w,Cu(F,0,-1))}function ec(w,F){for(var fe=w.length,Fe=ga(F.length,fe),Et=fu(w);Fe--;){var Qt=F[Fe];w[Fe]=nu(Qt,fe)?Et[Qt]:i}return w}function Nc(w,F){if(!(F==="constructor"&&typeof w[F]=="function")&&F!="__proto__")return w[F]}var $u=ni(Xc),xu=ai||function(w,F){return Ha.setTimeout(w,F)},Eu=ni(Of);function Mn(w,F,fe){var Fe=F+"";return Eu(w,Sl(Fe,xa(ql(Fe),fe)))}function ni(w){var F=0,fe=0;return function(){var Fe=go(),Et=J-(Fe-fe);if(fe=Fe,Et>0){if(++F>=oe)return arguments[0]}else F=0;return w.apply(i,arguments)}}function qi(w,F){var fe=-1,Fe=w.length,Et=Fe-1;for(F=F===i?Fe:F;++fe<F;){var Qt=Hu(fe,Et),_r=w[Qt];w[Qt]=w[fe],w[fe]=_r}return w.length=F,w}var Ba=Ml(function(w){var F=[];return w.charCodeAt(0)===46&&F.push(""),w.replace(Je,function(fe,Fe,Et,Qt){F.push(Et?Qt.replace(mr,"$1"):Fe||fe)}),F});function fa(w){if(typeof w=="string"||xc(w))return w;var F=w+"";return F=="0"&&1/w==-ee?"-0":F}function Sa(w){if(w!=null){try{return Vs.call(w)}catch(F){}try{return w+""}catch(F){}}return""}function xa(w,F){return ci(Ae,function(fe){var Fe="_."+fe[0];F&fe[1]&&!As(w,Fe)&&w.push(Fe)}),w.sort()}function Os(w){if(w instanceof Jr)return w.clone();var F=new xr(w.__wrapped__,w.__chain__);return F.__actions__=fu(w.__actions__),F.__index__=w.__index__,F.__values__=w.__values__,F}function da(w,F,fe){(fe?co(w,F,fe):F===i)?F=1:F=yi(ws(F),0);var Fe=w==null?0:w.length;if(!Fe||F<1)return[];for(var Et=0,Qt=0,_r=Fr(gi(Fe/F));Et<Fe;)_r[Qt++]=Cu(w,Et,Et+=F);return _r}function Ms(w){for(var F=-1,fe=w==null?0:w.length,Fe=0,Et=[];++F<fe;){var Qt=w[F];Qt&&(Et[Fe++]=Qt)}return Et}function Yu(){var w=arguments.length;if(!w)return[];for(var F=Fr(w-1),fe=arguments[0],Fe=w;Fe--;)F[Fe-1]=arguments[Fe];return es(ya(fe)?fu(fe):[fe],$s(F,1))}var al=Ia(function(w,F){return Oo(w)?Ns(w,$s(F,1,Oo,!0)):[]}),yl=Ia(function(w,F){var fe=au(F);return Oo(fe)&&(fe=i),Oo(w)?Ns(w,$s(F,1,Oo,!0),hn(fe,2)):[]}),Xu=Ia(function(w,F){var fe=au(F);return Oo(fe)&&(fe=i),Oo(w)?Ns(w,$s(F,1,Oo,!0),i,fe):[]});function Bl(w,F,fe){var Fe=w==null?0:w.length;return Fe?(F=fe||F===i?1:ws(F),Cu(w,F<0?0:F,Fe)):[]}function Kf(w,F,fe){var Fe=w==null?0:w.length;return Fe?(F=fe||F===i?1:ws(F),F=Fe-F,Cu(w,0,F<0?0:F)):[]}function Sf(w,F){return w&&w.length?Qc(w,hn(F,3),!0,!0):[]}function tc(w,F){return w&&w.length?Qc(w,hn(F,3),!0):[]}function Lf(w,F,fe,Fe){var Et=w==null?0:w.length;return Et?(fe&&typeof fe!="number"&&co(w,F,fe)&&(fe=0,Fe=Et),El(w,F,fe,Fe)):[]}function af(w,F,fe){var Fe=w==null?0:w.length;if(!Fe)return-1;var Et=fe==null?0:ws(fe);return Et<0&&(Et=yi(Fe+Et,0)),ho(w,hn(F,3),Et)}function sf(w,F,fe){var Fe=w==null?0:w.length;if(!Fe)return-1;var Et=Fe-1;return fe!==i&&(Et=ws(fe),Et=fe<0?yi(Fe+Et,0):ga(Et,Fe-1)),ho(w,hn(F,3),Et,!0)}function of(w){var F=w==null?0:w.length;return F?$s(w,1):[]}function Qu(w){var F=w==null?0:w.length;return F?$s(w,ee):[]}function Vf(w,F){var fe=w==null?0:w.length;return fe?(F=F===i?1:ws(F),$s(w,F)):[]}function sl(w){for(var F=-1,fe=w==null?0:w.length,Fe={};++F<fe;){var Et=w[F];Fe[Et[0]]=Et[1]}return Fe}function uf(w){return w&&w.length?w[0]:i}function Mf(w,F,fe){var Fe=w==null?0:w.length;if(!Fe)return-1;var Et=fe==null?0:ws(fe);return Et<0&&(Et=yi(Fe+Et,0)),No(w,F,Et)}function iu(w){var F=w==null?0:w.length;return F?Cu(w,0,-1):[]}var Af=Ia(function(w){var F=ca(w,Dc);return F.length&&F[0]===w[0]?Hl(F):[]}),lf=Ia(function(w){var F=au(w),fe=ca(w,Dc);return F===au(fe)?F=i:fe.pop(),fe.length&&fe[0]===w[0]?Hl(fe,hn(F,2)):[]}),Cl=Ia(function(w){var F=au(w),fe=ca(w,Dc);return F=typeof F=="function"?F:i,F&&fe.pop(),fe.length&&fe[0]===w[0]?Hl(fe,i,F):[]});function $c(w,F){return w==null?"":Da.call(w,F)}function au(w){var F=w==null?0:w.length;return F?w[F-1]:i}function Tf(w,F,fe){var Fe=w==null?0:w.length;if(!Fe)return-1;var Et=Fe;return fe!==i&&(Et=ws(fe),Et=Et<0?yi(Fe+Et,0):ga(Et,Fe-1)),F===F?dr(w,F,Et):ho(w,qo,Et,!0)}function Cf(w,F){return w&&w.length?Vl(w,ws(F)):i}var cf=Ia(jc);function jc(w,F){return w&&w.length&&F&&F.length?Tu(w,F):w}function Ff(w,F,fe){return w&&w.length&&F&&F.length?Tu(w,F,hn(fe,2)):w}function Uc(w,F,fe){return w&&w.length&&F&&F.length?Tu(w,F,i,fe):w}var zf=D(function(w,F){var fe=w==null?0:w.length,Fe=io(w,F);return _u(w,ca(F,function(Et){return nu(Et,fe)?+Et:Et}).sort(Ue)),Fe});function Yf(w,F){var fe=[];if(!(w&&w.length))return fe;var Fe=-1,Et=[],Qt=w.length;for(F=hn(F,3);++Fe<Qt;){var _r=w[Fe];F(_r,Fe,w)&&(fe.push(_r),Et.push(Fe))}return _u(w,Et),fe}function Bf(w){return w==null?w:Ya.call(w)}function Xf(w,F,fe){var Fe=w==null?0:w.length;return Fe?(fe&&typeof fe!="number"&&co(w,F,fe)?(F=0,fe=Fe):(F=F==null?0:ws(F),fe=fe===i?Fe:ws(fe)),Cu(w,F,fe)):[]}function Zf(w,F){return Cc(w,F)}function ff(w,F,fe){return Yl(w,F,hn(fe,2))}function id(w,F){var fe=w==null?0:w.length;if(fe){var Fe=Cc(w,F);if(Fe<fe&&ys(w[Fe],F))return Fe}return-1}function Hf(w,F){return Cc(w,F,!0)}function Nf(w,F,fe){return Yl(w,F,hn(fe,2),!0)}function ad(w,F){var fe=w==null?0:w.length;if(fe){var Fe=Cc(w,F,!0)-1;if(ys(w[Fe],F))return Fe}return-1}function Pf(w){return w&&w.length?vf(w):[]}function Jf(w,F){return w&&w.length?vf(w,hn(F,2)):[]}function Wf(w){var F=w==null?0:w.length;return F?Cu(w,1,F):[]}function g(w,F,fe){return w&&w.length?(F=fe||F===i?1:ws(F),Cu(w,0,F<0?0:F)):[]}function T(w,F,fe){var Fe=w==null?0:w.length;return Fe?(F=fe||F===i?1:ws(F),F=Fe-F,Cu(w,F<0?0:F,Fe)):[]}function U(w,F){return w&&w.length?Qc(w,hn(F,3),!1,!0):[]}function ve(w,F){return w&&w.length?Qc(w,hn(F,3)):[]}var Oe=Ia(function(w){return hl($s(w,1,Oo,!0))}),at=Ia(function(w){var F=au(w);return Oo(F)&&(F=i),hl($s(w,1,Oo,!0),hn(F,2))}),jt=Ia(function(w){var F=au(w);return F=typeof F=="function"?F:i,hl($s(w,1,Oo,!0),i,F)});function sr(w){return w&&w.length?hl(w):[]}function Or(w,F){return w&&w.length?hl(w,hn(F,2)):[]}function mn(w,F){return F=typeof F=="function"?F:i,w&&w.length?hl(w,i,F):[]}function Di(w){if(!(w&&w.length))return[];var F=0;return w=Ja(w,function(fe){if(Oo(fe))return F=yi(fe.length,F),!0}),Ga(F,function(fe){return ca(w,vi(fe))})}function ja(w,F){if(!(w&&w.length))return[];var fe=Di(w);return F==null?fe:ca(fe,function(Fe){return Wa(F,i,Fe)})}var Xn=Ia(function(w,F){return Oo(w)?Ns(w,F):[]}),ma=Ia(function(w){return lc(Ja(w,Oo))}),Ua=Ia(function(w){var F=au(w);return Oo(F)&&(F=i),lc(Ja(w,Oo),hn(F,2))}),Ma=Ia(function(w){var F=au(w);return F=typeof F=="function"?F:i,lc(Ja(w,Oo),i,F)}),tn=Ia(Di);function $r(w,F){return wo(w||[],F||[],wa)}function qr(w,F){return wo(w||[],F||[],dl)}var Pn=Ia(function(w){var F=w.length,fe=F>1?w[F-1]:i;return fe=typeof fe=="function"?(w.pop(),fe):i,ja(w,fe)});function zn(w){var F=we(w);return F.__chain__=!0,F}function Xa(w,F){return F(w),w}function Gi(w,F){return F(w)}var Qa=D(function(w){var F=w.length,fe=F?w[0]:0,Fe=this.__wrapped__,Et=function(Qt){return io(Qt,w)};return F>1||this.__actions__.length||!(Fe instanceof Jr)||!nu(fe)?this.thru(Et):(Fe=Fe.slice(fe,+fe+(F?1:0)),Fe.__actions__.push({func:Gi,args:[Et],thisArg:i}),new xr(Fe,this.__chain__).thru(function(Qt){return F&&!Qt.length&&Qt.push(i),Qt}))});function fs(){return zn(this)}function qa(){return new xr(this.value(),this.__chain__)}function Nl(){this.__values__===i&&(this.__values__=Wd(this.value()));var w=this.__index__>=this.__values__.length,F=w?i:this.__values__[this.__index__++];return{done:w,value:F}}function sd(){return this}function od(w){for(var F,fe=this;fe instanceof rn;){var Fe=Os(fe);Fe.__index__=0,Fe.__values__=i,F?Et.__wrapped__=Fe:F=Fe;var Et=Fe;fe=fe.__wrapped__}return Et.__wrapped__=w,F}function ud(){var w=this.__wrapped__;if(w instanceof Jr){var F=w;return this.__actions__.length&&(F=new Jr(this)),F=F.reverse(),F.__actions__.push({func:Gi,args:[Bf],thisArg:i}),new xr(F,this.__chain__)}return this.thru(Bf)}function ed(){return gf(this.__wrapped__,this.__actions__)}var Sd=rl(function(w,F,fe){$i.call(w,fe)?++w[fe]:Oa(w,fe,1)});function Ad(w,F,fe){var Fe=ya(w)?Nn:sc;return fe&&co(w,F,fe)&&(F=i),Fe(w,hn(F,3))}function Td(w,F){var fe=ya(w)?Ja:el;return fe(w,hn(F,3))}var hd=Jc(af),pd=Jc(sf);function _d(w,F){return $s(td(w,F),1)}function Cd(w,F){return $s(td(w,F),ee)}function Pd(w,F,fe){return fe=fe===i?1:ws(fe),$s(td(w,F),fe)}function md(w,F){var fe=ya(w)?ci:Vo;return fe(w,hn(F,3))}function vd(w,F){var fe=ya(w)?fo:_o;return fe(w,hn(F,3))}var Id=rl(function(w,F,fe){$i.call(w,fe)?w[fe].push(F):Oa(w,fe,[F])});function ld(w,F,fe,Fe){w=su(w)?w:nd(w),fe=fe&&!Fe?ws(fe):0;var Et=w.length;return fe<0&&(fe=yi(Et+fe,0)),Ed(w)?fe<=Et&&w.indexOf(F,fe)>-1:!!Et&&No(w,F,fe)>-1}var gd=Ia(function(w,F,fe){var Fe=-1,Et=typeof F=="function",Qt=su(w)?Fr(w.length):[];return Vo(w,function(_r){Qt[++Fe]=Et?Wa(F,_r,fe):fi(_r,F,fe)}),Qt}),cd=rl(function(w,F,fe){Oa(w,fe,F)});function td(w,F){var fe=ya(w)?ca:Au;return fe(w,hn(F,3))}function If(w,F,fe,Fe){return w==null?[]:(ya(F)||(F=F==null?[]:[F]),fe=Fe?i:fe,ya(fe)||(fe=fe==null?[]:[fe]),wl(w,F,fe))}var O=rl(function(w,F,fe){w[fe?0:1].push(F)},function(){return[[],[]]});function t(w,F,fe){var Fe=ya(w)?Yi:ts,Et=arguments.length<3;return Fe(w,hn(F,4),fe,Et,Vo)}function n(w,F,fe){var Fe=ya(w)?Ws:ts,Et=arguments.length<3;return Fe(w,hn(F,4),fe,Et,_o)}function s(w,F){var fe=ya(w)?Ja:el;return fe(w,Ur(hn(F,3)))}function m(w){var F=ya(w)?ti:_f;return F(w)}function E(w,F,fe){(fe?co(w,F,fe):F===i)?F=1:F=ws(F);var Fe=ya(w)?Oi:Yc;return Fe(w,F)}function C(w){var F=ya(w)?ji:Tc;return F(w)}function j(w){if(w==null)return 0;if(su(w))return Ed(w)?ur(w):w.length;var F=js(w);return F==je||F==Ne?w.size:Il(w).length}function X(w,F,fe){var Fe=ya(w)?vo:mf;return fe&&co(w,F,fe)&&(F=i),Fe(w,hn(F,3))}var G=Ia(function(w,F){if(w==null)return[];var fe=F.length;return fe>1&&co(w,F[0],F[1])?F=[]:fe>2&&co(F[0],F[1],F[2])&&(F=[F[0]]),wl(w,$s(F,1),[])}),ue=ii||function(){return Ha.Date.now()};function de(w,F){if(typeof F!="function")throw new zr(o);return w=ws(w),function(){if(--w<1)return F.apply(this,arguments)}}function Ee(w,F,fe){return F=fe?i:F,F=w&&F==null?w.length:F,il(w,V,i,i,i,i,F)}function Re(w,F){var fe;if(typeof F!="function")throw new zr(o);return w=ws(w),function(){return--w>0&&(fe=F.apply(this,arguments)),w<=1&&(F=i),fe}}var Le=Ia(function(w,F,fe){var Fe=k;if(fe.length){var Et=ro(fe,Vn(Le));Fe|=B}return il(w,Fe,F,fe,Et)}),ut=Ia(function(w,F,fe){var Fe=k|R;if(fe.length){var Et=ro(fe,Vn(ut));Fe|=B}return il(F,Fe,w,fe,Et)});function ot(w,F,fe){F=fe?i:F;var Fe=il(w,I,i,i,i,i,i,F);return Fe.placeholder=ot.placeholder,Fe}function Kt(w,F,fe){F=fe?i:F;var Fe=il(w,M,i,i,i,i,i,F);return Fe.placeholder=Kt.placeholder,Fe}function er(w,F,fe){var Fe,Et,Qt,_r,Rr,Qr,Bn=0,$n=!1,qn=!1,Ri=!0;if(typeof w!="function")throw new zr(o);F=Zc(F)||0,Fo(fe)&&($n=!!fe.leading,qn="maxWait"in fe,Qt=qn?yi(Zc(fe.maxWait)||0,F):Qt,Ri="trailing"in fe?!!fe.trailing:Ri);function Ea(Lu){var hf=Fe,jf=Et;return Fe=Et=i,Bn=Lu,_r=w.apply(jf,hf),_r}function za(Lu){return Bn=Lu,Rr=xu(zs,F),$n?Ea(Lu):_r}function Cs(Lu){var hf=Lu-Qr,jf=Lu-Bn,i0=F-hf;return qn?ga(i0,Qt-jf):i0}function Za(Lu){var hf=Lu-Qr,jf=Lu-Bn;return Qr===i||hf>=F||hf<0||qn&&jf>=Qt}function zs(){var Lu=ue();if(Za(Lu))return Ys(Lu);Rr=xu(zs,Cs(Lu))}function Ys(Lu){return Rr=i,Ri&&Fe?Ea(Lu):(Fe=Et=i,_r)}function Ec(){Rr!==i&&kl(Rr),Bn=0,Fe=Qr=Et=Rr=i}function $l(){return Rr===i?_r:Ys(ue())}function wc(){var Lu=ue(),hf=Za(Lu);if(Fe=arguments,Et=this,Qr=Lu,hf){if(Rr===i)return za(Qr);if(qn)return kl(Rr),Rr=xu(zs,F),Ea(Qr)}return Rr===i&&(Rr=xu(zs,F)),_r}return wc.cancel=Ec,wc.flush=$l,wc}var ir=Ia(function(w,F){return gu(w,1,F)}),Er=Ia(function(w,F,fe){return gu(w,Zc(F)||0,fe)});function jr(w){return il(w,H)}function pn(w,F){if(typeof w!="function"||F!=null&&typeof F!="function")throw new zr(o);var fe=function(){var Fe=arguments,Et=F?F.apply(this,Fe):Fe[0],Qt=fe.cache;if(Qt.has(Et))return Qt.get(Et);var _r=w.apply(this,Fe);return fe.cache=Qt.set(Et,_r)||Qt,_r};return fe.cache=new(pn.Cache||Uu),fe}pn.Cache=Uu;function Ur(w){if(typeof w!="function")throw new zr(o);return function(){var F=arguments;switch(F.length){case 0:return!w.call(this);case 1:return!w.call(this,F[0]);case 2:return!w.call(this,F[0],F[1]);case 3:return!w.call(this,F[0],F[1],F[2])}return!w.apply(this,F)}}function sn(w){return Re(2,w)}var nn=Nu(function(w,F){F=F.length==1&&ya(F[0])?ca(F[0],Is(hn())):ca($s(F,1),Is(hn()));var fe=F.length;return Ia(function(Fe){for(var Et=-1,Qt=ga(Fe.length,fe);++Et<Qt;)Fe[Et]=F[Et].call(this,Fe[Et]);return Wa(w,this,Fe)})}),Vr=Ia(function(w,F){var fe=ro(F,Vn(Vr));return il(w,B,i,F,fe)}),In=Ia(function(w,F){var fe=ro(F,Vn(In));return il(w,N,i,F,fe)}),Ei=D(function(w,F){return il(w,W,i,i,i,F)});function Ji(w,F){if(typeof w!="function")throw new zr(o);return F=F===i?F:ws(F),Ia(w,F)}function va(w,F){if(typeof w!="function")throw new zr(o);return F=F==null?0:yi(ws(F),0),Ia(function(fe){var Fe=fe[F],Et=So(fe,0,F);return Fe&&es(Et,Fe),Wa(w,this,Et)})}function ea(w,F,fe){var Fe=!0,Et=!0;if(typeof w!="function")throw new zr(o);return Fo(fe)&&(Fe="leading"in fe?!!fe.leading:Fe,Et="trailing"in fe?!!fe.trailing:Et),er(w,F,{leading:Fe,maxWait:F,trailing:Et})}function di(w){return Ee(w,1)}function sa(w,F){return Vr(qc(F),w)}function ki(){if(!arguments.length)return[];var w=arguments[0];return ya(w)?w:[w]}function ha(w){return pr(w,_)}function Na(w,F){return F=typeof F=="function"?F:i,pr(w,_,F)}function bi(w){return pr(w,p|_)}function xi(w,F){return F=typeof F=="function"?F:i,pr(w,p|_,F)}function gs(w,F){return F==null||Mo(w,F,ul(F))}function ys(w,F){return w===F||w!==w&&F!==F}var Es=Rc(ru),Us=Rc(function(w,F){return w>=F}),du=oc(function(){return arguments}())?oc:function(w){return ou(w)&&$i.call(w,"callee")&&!Gt.call(w,"callee")},ya=Fr.isArray,rc=Ss?Is(Ss):ao;function su(w){return w!=null&&Qf(w.length)&&!Pl(w)}function Oo(w){return ou(w)&&su(w)}function Dd(w){return w===!0||w===!1||ou(w)&&xo(w)==Lt}var zc=Qi||Ud,fd=ds?Is(ds):Wc;function zd(w){return ou(w)&&w.nodeType===1&&!dd(w)}function qs(w){if(w==null)return!0;if(su(w)&&(ya(w)||typeof w=="string"||typeof w.splice=="function"||zc(w)||rd(w)||du(w)))return!w.length;var F=js(w);if(F==je||F==Ne)return!w.size;if(Al(w))return!Il(w).length;for(var fe in w)if($i.call(w,fe))return!1;return!0}function ol(w,F){return Fu(w,F)}function nc(w,F,fe){fe=typeof fe=="function"?fe:i;var Fe=fe?fe(w,F):i;return Fe===i?Fu(w,F,i,fe):!!Fe}function df(w){if(!ou(w))return!1;var F=xo(w);return F==Zt||F==kt||typeof w.message=="string"&&typeof w.name=="string"&&!dd(w)}function bc(w){return typeof w=="number"&&Pi(w)}function Pl(w){if(!Fo(w))return!1;var F=xo(w);return F==Mt||F==tr||F==$e||F==ft}function Df(w){return typeof w=="number"&&w==ws(w)}function Qf(w){return typeof w=="number"&&w>-1&&w%1==0&&w<=Q}function Fo(w){var F=typeof w;return w!=null&&(F=="object"||F=="function")}function ou(w){return w!=null&&typeof w=="object"}var Gf=eo?Is(eo):tl;function yd(w,F){return w===F||Sc(w,F,cs(F))}function Od(w,F,fe){return fe=typeof fe=="function"?fe:i,Sc(w,F,cs(F),fe)}function bd(w){return Zd(w)&&w!=+w}function xd(w){if(Ll(w))throw new Tn(f);return Gc(w)}function qf(w){return w===null}function o0(w){return w==null}function Zd(w){return typeof w=="number"||ou(w)&&xo(w)==wt}function dd(w){if(!ou(w)||xo(w)!=tt)return!1;var F=Ie(w);if(F===null)return!0;var fe=$i.call(F,"constructor")&&F.constructor;return typeof fe=="function"&&fe instanceof fe&&Vs.call(fe)==Va}var kd=Bi?Is(Bi):Eo;function u0(w){return Df(w)&&w>=-Q&&w<=Q}var Hd=ks?Is(ks):Kc;function Ed(w){return typeof w=="string"||!ya(w)&&ou(w)&&xo(w)==xe}function xc(w){return typeof w=="symbol"||ou(w)&&xo(w)==ke}var rd=Bo?Is(Bo):Gl;function l0(w){return w===i}function c0(w){return ou(w)&&js(w)==He}function f0(w){return ou(w)&&xo(w)==Ye}var d0=Rc(Dl),h0=Rc(function(w,F){return w<=F});function Wd(w){if(!w)return[];if(su(w))return Ed(w)?hr(w):fu(w);if(Hr&&w[Hr])return Mu(w[Hr]());var F=js(w),fe=F==je?eu:F==Ne?tu:nd;return fe(w)}function $f(w){if(!w)return w===0?w:0;if(w=Zc(w),w===ee||w===-ee){var F=w<0?-1:1;return F*le}return w===w?w:0}function ws(w){var F=$f(w),fe=F%1;return F===F?fe?F-fe:F:0}function Gd(w){return w?xs(ws(w),0,$):0}function Zc(w){if(typeof w=="number")return w;if(xc(w))return z;if(Fo(w)){var F=typeof w.valueOf=="function"?w.valueOf():w;w=Fo(F)?F+"":F}if(typeof w!="string")return w===0?w:+w;w=Jo(w);var fe=Yt.test(w);return fe||st.test(w)?ta(w.slice(2),fe?2:8):_n.test(w)?z:+w}function Kd(w){return Ku(w,ic(w))}function p0(w){return w?xs(ws(w),-Q,Q):w===0?w:0}function To(w){return w==null?"":Pu(w)}var _0=nl(function(w,F){if(Al(F)||su(F)){Ku(F,ul(F),w);return}for(var fe in F)$i.call(F,fe)&&wa(w,fe,F[fe])}),Vd=nl(function(w,F){Ku(F,ic(F),w)}),wd=nl(function(w,F,fe,Fe){Ku(F,ic(F),w,Fe)}),m0=nl(function(w,F,fe,Fe){Ku(F,ul(F),w,Fe)}),v0=D(io);function g0(w,F){var fe=wr(w);return F==null?fe:Ls(fe,F)}var y0=Ia(function(w,F){w=Wn(w);var fe=-1,Fe=F.length,Et=Fe>2?F[2]:i;for(Et&&co(F[0],F[1],Et)&&(Fe=1);++fe<Fe;)for(var Qt=F[fe],_r=ic(Qt),Rr=-1,Qr=_r.length;++Rr<Qr;){var Bn=_r[Rr],$n=w[Bn];($n===i||ys($n,Pa[Bn])&&!$i.call(w,Bn))&&(w[Bn]=Qt[Bn])}return w}),b0=Ia(function(w){return w.push(i,yc),Wa(Yd,i,w)});function x0(w,F){return uu(w,hn(F,3),Do)}function E0(w,F){return uu(w,hn(F,3),Yo)}function w0(w,F){return w==null?w:zu(w,hn(F,3),ic)}function S0(w,F){return w==null?w:Zu(w,hn(F,3),ic)}function A0(w,F){return w&&Do(w,hn(F,3))}function T0(w,F){return w&&Yo(w,hn(F,3))}function C0(w){return w==null?[]:Ul(w,ul(w))}function P0(w){return w==null?[]:Ul(w,ic(w))}function Rd(w,F,fe){var Fe=w==null?i:pu(w,F);return Fe===i?fe:Fe}function I0(w,F){return w!=null&&Fc(w,F,cl)}function Ld(w,F){return w!=null&&Fc(w,F,Zl)}var D0=kc(function(w,F,fe){F!=null&&typeof F.toString!="function"&&(F=Fs.call(F)),w[F]=fe},Fd(ac)),O0=kc(function(w,F,fe){F!=null&&typeof F.toString!="function"&&(F=Fs.call(F)),$i.call(w,F)?w[F].push(fe):w[F]=[fe]},hn),k0=Ia(fi);function ul(w){return su(w)?Kn(w):Il(w)}function ic(w){return su(w)?Kn(w,!0):Vc(w)}function R0(w,F){var fe={};return F=hn(F,3),Do(w,function(Fe,Et,Qt){Oa(fe,F(Fe,Et,Qt),Fe)}),fe}function L0(w,F){var fe={};return F=hn(F,3),Do(w,function(Fe,Et,Qt){Oa(fe,Et,F(Fe,Et,Qt))}),fe}var M0=nl(function(w,F,fe){Qo(w,F,fe)}),Yd=nl(function(w,F,fe,Fe){Qo(w,F,fe,Fe)}),F0=D(function(w,F){var fe={};if(w==null)return fe;var Fe=!1;F=ca(F,function(Qt){return Qt=_l(Qt,w),Fe||(Fe=Qt.length>1),Qt}),Ku(w,me(w),fe),Fe&&(fe=pr(fe,p|y|_,Lc));for(var Et=F.length;Et--;)Ic(fe,F[Et]);return fe});function B0(w,F){return Xd(w,Ur(hn(F)))}var N0=D(function(w,F){return w==null?{}:Bu(w,F)});function Xd(w,F){if(w==null)return{};var fe=ca(me(w),function(Fe){return[Fe]});return F=hn(F),cu(w,fe,function(Fe,Et){return F(Fe,Et[0])})}function $0(w,F,fe){F=_l(F,w);var Fe=-1,Et=F.length;for(Et||(Et=1,w=i);++Fe<Et;){var Qt=w==null?i:w[fa(F[Fe])];Qt===i&&(Fe=Et,Qt=fe),w=Pl(Qt)?Qt.call(w):Qt}return w}function j0(w,F,fe){return w==null?w:dl(w,F,fe)}function U0(w,F,fe,Fe){return Fe=typeof Fe=="function"?Fe:i,w==null?w:dl(w,F,fe,Fe)}var Qd=ef(ul),qd=ef(ic);function z0(w,F,fe){var Fe=ya(w),Et=Fe||zc(w)||rd(w);if(F=hn(F,4),fe==null){var Qt=w&&w.constructor;Et?fe=Fe?new Qt:[]:Fo(w)?fe=Pl(Qt)?wr(Ie(w)):{}:fe={}}return(Et?ci:Do)(w,function(_r,Rr,Qr){return F(fe,_r,Rr,Qr)}),fe}function Z0(w,F){return w==null?!0:Ic(w,F)}function H0(w,F,fe){return w==null?w:pl(w,F,qc(fe))}function W0(w,F,fe,Fe){return Fe=typeof Fe=="function"?Fe:i,w==null?w:pl(w,F,qc(fe),Fe)}function nd(w){return w==null?[]:ko(w,ul(w))}function G0(w){return w==null?[]:ko(w,ic(w))}function K0(w,F,fe){return fe===i&&(fe=F,F=i),fe!==i&&(fe=Zc(fe),fe=fe===fe?fe:0),F!==i&&(F=Zc(F),F=F===F?F:0),xs(Zc(w),F,fe)}function V0(w,F,fe){return F=$f(F),fe===i?(fe=F,F=0):fe=$f(fe),w=Zc(w),Xo(w,F,fe)}function Y0(w,F,fe){if(fe&&typeof fe!="boolean"&&co(w,F,fe)&&(F=fe=i),fe===i&&(typeof F=="boolean"?(fe=F,F=i):typeof w=="boolean"&&(fe=w,w=i)),w===i&&F===i?(w=0,F=1):(w=$f(w),F===i?(F=w,w=0):F=$f(F)),w>F){var Fe=w;w=F,F=Fe}if(fe||w%1||F%1){var Et=ia();return ga(w+Et*(F-w+ui("1e-"+((Et+"").length-1))),F)}return Hu(w,F)}var X0=ml(function(w,F,fe){return F=F.toLowerCase(),w+(fe?Jd(F):F)});function Jd(w){return Md(To(w).toLowerCase())}function e0(w){return w=To(w),w&&w.replace(Nt,Ro).replace(Ir,"")}function Q0(w,F,fe){w=To(w),F=Pu(F);var Fe=w.length;fe=fe===i?Fe:xs(ws(fe),0,Fe);var Et=fe;return fe-=F.length,fe>=0&&w.slice(fe,Et)==F}function q0(w){return w=To(w),w&&ct.test(w)?w.replace(It,to):w}function J0(w){return w=To(w),w&&Bt.test(w)?w.replace(yt,"\\$&"):w}var eh=ml(function(w,F,fe){return w+(fe?"-":"")+F.toLowerCase()}),th=ml(function(w,F,fe){return w+(fe?" ":"")+F.toLowerCase()}),rh=bu("toLowerCase");function nh(w,F,fe){w=To(w),F=ws(F);var Fe=F?ur(w):0;if(!F||Fe>=F)return w;var Et=(F-Fe)/2;return mc(Li(Et),fe)+w+mc(gi(Et),fe)}function ih(w,F,fe){w=To(w),F=ws(F);var Fe=F?ur(w):0;return F&&Fe<F?w+mc(F-Fe,fe):w}function ah(w,F,fe){w=To(w),F=ws(F);var Fe=F?ur(w):0;return F&&Fe<F?mc(F-Fe,fe)+w:w}function sh(w,F,fe){return fe||F==null?F=0:F&&(F=+F),Bs(To(w).replace(Be,""),F||0)}function oh(w,F,fe){return(fe?co(w,F,fe):F===i)?F=1:F=ws(F),Ol(To(w),F)}function uh(){var w=arguments,F=To(w[0]);return w.length<3?F:F.replace(w[1],w[2])}var lh=ml(function(w,F,fe){return w+(fe?"_":"")+F.toLowerCase()});function ch(w,F,fe){return fe&&typeof fe!="number"&&co(w,F,fe)&&(F=fe=i),fe=fe===i?$:fe>>>0,fe?(w=To(w),w&&(typeof F=="string"||F!=null&&!kd(F))&&(F=Pu(F),!F&&Lo(w))?So(hr(w),0,fe):w.split(F,fe)):[]}var fh=ml(function(w,F,fe){return w+(fe?" ":"")+Md(F)});function dh(w,F,fe){return w=To(w),fe=fe==null?0:xs(ws(fe),0,w.length),F=Pu(F),w.slice(fe,fe+F.length)==F}function hh(w,F,fe){var Fe=we.templateSettings;fe&&co(w,F,fe)&&(F=i),w=To(w),F=wd({},F,Fe,gc);var Et=wd({},F.imports,Fe.imports,gc),Qt=ul(Et),_r=ko(Et,Qt),Rr,Qr,Bn=0,$n=F.interpolate||br,qn="__p += '",Ri=Ni((F.escape||br).source+"|"+$n.source+"|"+($n===Ce?Zr:br).source+"|"+(F.evaluate||br).source+"|$","g"),Ea="//# sourceURL="+($i.call(F,"sourceURL")?(F.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++un+"]")+`
`;w.replace(Ri,function(Za,zs,Ys,Ec,$l,wc){return Ys||(Ys=Ec),qn+=w.slice(Bn,wc).replace(vr,$o),zs&&(Rr=!0,qn+=`' +
__e(`+zs+`) +
'`),$l&&(Qr=!0,qn+=`';
`+$l+`;
__p += '`),Ys&&(qn+=`' +
((__t = (`+Ys+`)) == null ? '' : __t) +
'`),Bn=wc+Za.length,Za}),qn+=`';
`;var za=$i.call(F,"variable")&&F.variable;if(!za)qn=`with (obj) {
`+qn+`
}
`;else if(Nr.test(za))throw new Tn(h);qn=(Qr?qn.replace(Xt,""):qn).replace(ze,"$1").replace(ce,"$1;"),qn="function("+(za||"obj")+`) {
`+(za?"":`obj || (obj = {});
`)+"var __t, __p = ''"+(Rr?", __e = _.escape":"")+(Qr?`, __j = Array.prototype.join;
function print() { __p += __j.call(arguments, '') }
`:`;
`)+qn+`return __p
}`;var Cs=r0(function(){return pt(Qt,Ea+"return "+qn).apply(i,_r)});if(Cs.source=qn,df(Cs))throw Cs;return Cs}function ph(w){return To(w).toLowerCase()}function _h(w){return To(w).toUpperCase()}function mh(w,F,fe){if(w=To(w),w&&(fe||F===i))return Jo(w);if(!w||!(F=Pu(F)))return w;var Fe=hr(w),Et=hr(F),Qt=wu(Fe,Et),_r=qu(Fe,Et)+1;return So(Fe,Qt,_r).join("")}function vh(w,F,fe){if(w=To(w),w&&(fe||F===i))return w.slice(0,Sr(w)+1);if(!w||!(F=Pu(F)))return w;var Fe=hr(w),Et=qu(Fe,hr(F))+1;return So(Fe,0,Et).join("")}function gh(w,F,fe){if(w=To(w),w&&(fe||F===i))return w.replace(Be,"");if(!w||!(F=Pu(F)))return w;var Fe=hr(w),Et=wu(Fe,hr(F));return So(Fe,Et).join("")}function yh(w,F){var fe=ae,Fe=ne;if(Fo(F)){var Et="separator"in F?F.separator:Et;fe="length"in F?ws(F.length):fe,Fe="omission"in F?Pu(F.omission):Fe}w=To(w);var Qt=w.length;if(Lo(w)){var _r=hr(w);Qt=_r.length}if(fe>=Qt)return w;var Rr=fe-ur(Fe);if(Rr<1)return Fe;var Qr=_r?So(_r,0,Rr).join(""):w.slice(0,Rr);if(Et===i)return Qr+Fe;if(_r&&(Rr+=Qr.length-Rr),kd(Et)){if(w.slice(Rr).search(Et)){var Bn,$n=Qr;for(Et.global||(Et=Ni(Et.source,To(on.exec(Et))+"g")),Et.lastIndex=0;Bn=Et.exec($n);)var qn=Bn.index;Qr=Qr.slice(0,qn===i?Rr:qn)}}else if(w.indexOf(Pu(Et),Rr)!=Rr){var Ri=Qr.lastIndexOf(Et);Ri>-1&&(Qr=Qr.slice(0,Ri))}return Qr+Fe}function bh(w){return w=To(w),w&&Te.test(w)?w.replace(pe,yn):w}var xh=ml(function(w,F,fe){return w+(fe?" ":"")+F.toUpperCase()}),Md=bu("toUpperCase");function t0(w,F,fe){return w=To(w),F=fe?i:F,F===i?jo(w)?Hn(w):mu(w):w.match(F)||[]}var r0=Ia(function(w,F){try{return Wa(w,i,F)}catch(fe){return df(fe)?fe:new Tn(fe)}}),Eh=D(function(w,F){return ci(F,function(fe){fe=fa(fe),Oa(w,fe,Le(w[fe],w))}),w});function wh(w){var F=w==null?0:w.length,fe=hn();return w=F?ca(w,function(Fe){if(typeof Fe[1]!="function")throw new zr(o);return[fe(Fe[0]),Fe[1]]}):[],Ia(function(Fe){for(var Et=-1;++Et<F;){var Qt=w[Et];if(Wa(Qt[0],this,Fe))return Wa(Qt[1],this,Fe)}})}function Sh(w){return Io(pr(w,p))}function Fd(w){return function(){return w}}function Ah(w,F){return w==null||w!==w?F:w}var Th=Zo(),Ch=Zo(!0);function ac(w){return w}function Bd(w){return uc(typeof w=="function"?w:pr(w,p))}function Ph(w){return Kl(pr(w,p))}function Ih(w,F){return lo(w,pr(F,p))}var Dh=Ia(function(w,F){return function(fe){return fi(fe,w,F)}}),Oh=Ia(function(w,F){return function(fe){return fi(w,fe,F)}});function Nd(w,F,fe){var Fe=ul(F),Et=Ul(F,Fe);fe==null&&!(Fo(F)&&(Et.length||!Fe.length))&&(fe=F,F=w,w=this,Et=Ul(F,ul(F)));var Qt=!(Fo(fe)&&"chain"in fe)||!!fe.chain,_r=Pl(w);return ci(Et,function(Rr){var Qr=F[Rr];w[Rr]=Qr,_r&&(w.prototype[Rr]=function(){var Bn=this.__chain__;if(Qt||Bn){var $n=w(this.__wrapped__),qn=$n.__actions__=fu(this.__actions__);return qn.push({func:Qr,args:arguments,thisArg:w}),$n.__chain__=Bn,$n}return Qr.apply(w,es([this.value()],arguments))})}),w}function kh(){return Ha._===this&&(Ha._=Xs),this}function $d(){}function Rh(w){return w=ws(w),Ia(function(F){return Vl(F,w)})}var Lh=_c(ca),Mh=_c(Nn),Fh=_c(vo);function n0(w){return vs(w)?vi(fa(w)):pf(w)}function Bh(w){return function(F){return w==null?i:pu(w,F)}}var Nh=Rf(),$h=Rf(!0);function jd(){return[]}function Ud(){return!1}function jh(){return{}}function Uh(){return""}function zh(){return!0}function Zh(w,F){if(w=ws(w),w<1||w>Q)return[];var fe=$,Fe=ga(w,$);F=hn(F),w-=$;for(var Et=Ga(Fe,F);++fe<w;)F(fe);return Et}function Hh(w){return ya(w)?ca(w,fa):xc(w)?[w]:fu(Ba(To(w)))}function Wh(w){var F=++no;return To(w)+F}var Gh=pc(function(w,F){return w+F},0),Kh=Ql("ceil"),Vh=pc(function(w,F){return w/F},1),Yh=Ql("floor");function Xh(w){return w&&w.length?xl(w,ac,ru):i}function Qh(w,F){return w&&w.length?xl(w,hn(F,2),ru):i}function qh(w){return Ko(w,ac)}function Jh(w,F){return Ko(w,hn(F,2))}function ep(w){return w&&w.length?xl(w,ac,Dl):i}function tp(w,F){return w&&w.length?xl(w,hn(F,2),Dl):i}var rp=pc(function(w,F){return w*F},1),np=Ql("round"),ip=pc(function(w,F){return w-F},0);function ap(w){return w&&w.length?as(w,ac):0}function sp(w,F){return w&&w.length?as(w,hn(F,2)):0}return we.after=de,we.ary=Ee,we.assign=_0,we.assignIn=Vd,we.assignInWith=wd,we.assignWith=m0,we.at=v0,we.before=Re,we.bind=Le,we.bindAll=Eh,we.bindKey=ut,we.castArray=ki,we.chain=zn,we.chunk=da,we.compact=Ms,we.concat=Yu,we.cond=wh,we.conforms=Sh,we.constant=Fd,we.countBy=Sd,we.create=g0,we.curry=ot,we.curryRight=Kt,we.debounce=er,we.defaults=y0,we.defaultsDeep=b0,we.defer=ir,we.delay=Er,we.difference=al,we.differenceBy=yl,we.differenceWith=Xu,we.drop=Bl,we.dropRight=Kf,we.dropRightWhile=Sf,we.dropWhile=tc,we.fill=Lf,we.filter=Td,we.flatMap=_d,we.flatMapDeep=Cd,we.flatMapDepth=Pd,we.flatten=of,we.flattenDeep=Qu,we.flattenDepth=Vf,we.flip=jr,we.flow=Th,we.flowRight=Ch,we.fromPairs=sl,we.functions=C0,we.functionsIn=P0,we.groupBy=Id,we.initial=iu,we.intersection=Af,we.intersectionBy=lf,we.intersectionWith=Cl,we.invert=D0,we.invertBy=O0,we.invokeMap=gd,we.iteratee=Bd,we.keyBy=cd,we.keys=ul,we.keysIn=ic,we.map=td,we.mapKeys=R0,we.mapValues=L0,we.matches=Ph,we.matchesProperty=Ih,we.memoize=pn,we.merge=M0,we.mergeWith=Yd,we.method=Dh,we.methodOf=Oh,we.mixin=Nd,we.negate=Ur,we.nthArg=Rh,we.omit=F0,we.omitBy=B0,we.once=sn,we.orderBy=If,we.over=Lh,we.overArgs=nn,we.overEvery=Mh,we.overSome=Fh,we.partial=Vr,we.partialRight=In,we.partition=O,we.pick=N0,we.pickBy=Xd,we.property=n0,we.propertyOf=Bh,we.pull=cf,we.pullAll=jc,we.pullAllBy=Ff,we.pullAllWith=Uc,we.pullAt=zf,we.range=Nh,we.rangeRight=$h,we.rearg=Ei,we.reject=s,we.remove=Yf,we.rest=Ji,we.reverse=Bf,we.sampleSize=E,we.set=j0,we.setWith=U0,we.shuffle=C,we.slice=Xf,we.sortBy=G,we.sortedUniq=Pf,we.sortedUniqBy=Jf,we.split=ch,we.spread=va,we.tail=Wf,we.take=g,we.takeRight=T,we.takeRightWhile=U,we.takeWhile=ve,we.tap=Xa,we.throttle=ea,we.thru=Gi,we.toArray=Wd,we.toPairs=Qd,we.toPairsIn=qd,we.toPath=Hh,we.toPlainObject=Kd,we.transform=z0,we.unary=di,we.union=Oe,we.unionBy=at,we.unionWith=jt,we.uniq=sr,we.uniqBy=Or,we.uniqWith=mn,we.unset=Z0,we.unzip=Di,we.unzipWith=ja,we.update=H0,we.updateWith=W0,we.values=nd,we.valuesIn=G0,we.without=Xn,we.words=t0,we.wrap=sa,we.xor=ma,we.xorBy=Ua,we.xorWith=Ma,we.zip=tn,we.zipObject=$r,we.zipObjectDeep=qr,we.zipWith=Pn,we.entries=Qd,we.entriesIn=qd,we.extend=Vd,we.extendWith=wd,Nd(we,we),we.add=Gh,we.attempt=r0,we.camelCase=X0,we.capitalize=Jd,we.ceil=Kh,we.clamp=K0,we.clone=ha,we.cloneDeep=bi,we.cloneDeepWith=xi,we.cloneWith=Na,we.conformsTo=gs,we.deburr=e0,we.defaultTo=Ah,we.divide=Vh,we.endsWith=Q0,we.eq=ys,we.escape=q0,we.escapeRegExp=J0,we.every=Ad,we.find=hd,we.findIndex=af,we.findKey=x0,we.findLast=pd,we.findLastIndex=sf,we.findLastKey=E0,we.floor=Yh,we.forEach=md,we.forEachRight=vd,we.forIn=w0,we.forInRight=S0,we.forOwn=A0,we.forOwnRight=T0,we.get=Rd,we.gt=Es,we.gte=Us,we.has=I0,we.hasIn=Ld,we.head=uf,we.identity=ac,we.includes=ld,we.indexOf=Mf,we.inRange=V0,we.invoke=k0,we.isArguments=du,we.isArray=ya,we.isArrayBuffer=rc,we.isArrayLike=su,we.isArrayLikeObject=Oo,we.isBoolean=Dd,we.isBuffer=zc,we.isDate=fd,we.isElement=zd,we.isEmpty=qs,we.isEqual=ol,we.isEqualWith=nc,we.isError=df,we.isFinite=bc,we.isFunction=Pl,we.isInteger=Df,we.isLength=Qf,we.isMap=Gf,we.isMatch=yd,we.isMatchWith=Od,we.isNaN=bd,we.isNative=xd,we.isNil=o0,we.isNull=qf,we.isNumber=Zd,we.isObject=Fo,we.isObjectLike=ou,we.isPlainObject=dd,we.isRegExp=kd,we.isSafeInteger=u0,we.isSet=Hd,we.isString=Ed,we.isSymbol=xc,we.isTypedArray=rd,we.isUndefined=l0,we.isWeakMap=c0,we.isWeakSet=f0,we.join=$c,we.kebabCase=eh,we.last=au,we.lastIndexOf=Tf,we.lowerCase=th,we.lowerFirst=rh,we.lt=d0,we.lte=h0,we.max=Xh,we.maxBy=Qh,we.mean=qh,we.meanBy=Jh,we.min=ep,we.minBy=tp,we.stubArray=jd,we.stubFalse=Ud,we.stubObject=jh,we.stubString=Uh,we.stubTrue=zh,we.multiply=rp,we.nth=Cf,we.noConflict=kh,we.noop=$d,we.now=ue,we.pad=nh,we.padEnd=ih,we.padStart=ah,we.parseInt=sh,we.random=Y0,we.reduce=t,we.reduceRight=n,we.repeat=oh,we.replace=uh,we.result=$0,we.round=np,we.runInContext=cr,we.sample=m,we.size=j,we.snakeCase=lh,we.some=X,we.sortedIndex=Zf,we.sortedIndexBy=ff,we.sortedIndexOf=id,we.sortedLastIndex=Hf,we.sortedLastIndexBy=Nf,we.sortedLastIndexOf=ad,we.startCase=fh,we.startsWith=dh,we.subtract=ip,we.sum=ap,we.sumBy=sp,we.template=hh,we.times=Zh,we.toFinite=$f,we.toInteger=ws,we.toLength=Gd,we.toLower=ph,we.toNumber=Zc,we.toSafeInteger=p0,we.toString=To,we.toUpper=_h,we.trim=mh,we.trimEnd=vh,we.trimStart=gh,we.truncate=yh,we.unescape=bh,we.uniqueId=Wh,we.upperCase=xh,we.upperFirst=Md,we.each=md,we.eachRight=vd,we.first=uf,Nd(we,function(){var w={};return Do(we,function(F,fe){$i.call(we.prototype,fe)||(w[fe]=F)}),w}(),{chain:!1}),we.VERSION=l,ci(["bind","bindKey","curry","curryRight","partial","partialRight"],function(w){we[w].placeholder=we}),ci(["drop","take"],function(w,F){Jr.prototype[w]=function(fe){fe=fe===i?1:yi(ws(fe),0);var Fe=this.__filtered__&&!F?new Jr(this):this.clone();return Fe.__filtered__?Fe.__takeCount__=ga(fe,Fe.__takeCount__):Fe.__views__.push({size:ga(fe,$),type:w+(Fe.__dir__<0?"Right":"")}),Fe},Jr.prototype[w+"Right"]=function(fe){return this.reverse()[w](fe).reverse()}}),ci(["filter","map","takeWhile"],function(w,F){var fe=F+1,Fe=fe==q||fe==se;Jr.prototype[w]=function(Et){var Qt=this.clone();return Qt.__iteratees__.push({iteratee:hn(Et,3),type:fe}),Qt.__filtered__=Qt.__filtered__||Fe,Qt}}),ci(["head","last"],function(w,F){var fe="take"+(F?"Right":"");Jr.prototype[w]=function(){return this[fe](1).value()[0]}}),ci(["initial","tail"],function(w,F){var fe="drop"+(F?"":"Right");Jr.prototype[w]=function(){return this.__filtered__?new Jr(this):this[fe](1)}}),Jr.prototype.compact=function(){return this.filter(ac)},Jr.prototype.find=function(w){return this.filter(w).head()},Jr.prototype.findLast=function(w){return this.reverse().find(w)},Jr.prototype.invokeMap=Ia(function(w,F){return typeof w=="function"?new Jr(this):this.map(function(fe){return fi(fe,w,F)})}),Jr.prototype.reject=function(w){return this.filter(Ur(hn(w)))},Jr.prototype.slice=function(w,F){w=ws(w);var fe=this;return fe.__filtered__&&(w>0||F<0)?new Jr(fe):(w<0?fe=fe.takeRight(-w):w&&(fe=fe.drop(w)),F!==i&&(F=ws(F),fe=F<0?fe.dropRight(-F):fe.take(F-w)),fe)},Jr.prototype.takeRightWhile=function(w){return this.reverse().takeWhile(w).reverse()},Jr.prototype.toArray=function(){return this.take($)},Do(Jr.prototype,function(w,F){var fe=/^(?:filter|find|map|reject)|While$/.test(F),Fe=/^(?:head|last)$/.test(F),Et=we[Fe?"take"+(F=="last"?"Right":""):F],Qt=Fe||/^find/.test(F);Et&&(we.prototype[F]=function(){var _r=this.__wrapped__,Rr=Fe?[1]:arguments,Qr=_r instanceof Jr,Bn=Rr[0],$n=Qr||ya(_r),qn=function(zs){var Ys=Et.apply(we,es([zs],Rr));return Fe&&Ri?Ys[0]:Ys};$n&&fe&&typeof Bn=="function"&&Bn.length!=1&&(Qr=$n=!1);var Ri=this.__chain__,Ea=!!this.__actions__.length,za=Qt&&!Ri,Cs=Qr&&!Ea;if(!Qt&&$n){_r=Cs?_r:new Jr(this);var Za=w.apply(_r,Rr);return Za.__actions__.push({func:Gi,args:[qn],thisArg:i}),new xr(Za,Ri)}return za&&Cs?w.apply(this,Rr):(Za=this.thru(qn),za?Fe?Za.value()[0]:Za.value():Za)})}),ci(["pop","push","shift","sort","splice","unshift"],function(w){var F=pa[w],fe=/^(?:push|sort|unshift)$/.test(w)?"tap":"thru",Fe=/^(?:pop|shift)$/.test(w);we.prototype[w]=function(){var Et=arguments;if(Fe&&!this.__chain__){var Qt=this.value();return F.apply(ya(Qt)?Qt:[],Et)}return this[fe](function(_r){return F.apply(ya(_r)?_r:[],Et)})}}),Do(Jr.prototype,function(w,F){var fe=we[F];if(fe){var Fe=fe.name+"";$i.call(Po,Fe)||(Po[Fe]=[]),Po[Fe].push({name:F,func:fe})}}),Po[Rl(i,R).name]=[{name:"wrapper",func:i}],Jr.prototype.clone=On,Jr.prototype.reverse=oi,Jr.prototype.value=Wi,we.prototype.at=Qa,we.prototype.chain=fs,we.prototype.commit=qa,we.prototype.next=Nl,we.prototype.plant=od,we.prototype.reverse=ud,we.prototype.toJSON=we.prototype.valueOf=we.prototype.value=ed,we.prototype.first=we.prototype.head,Hr&&(we.prototype[Hr]=sd),we},ei=li();Ha._=ei,r=function(){return ei}.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(Tt,Ce){for(var St=0;St<Ce.length;St++){var ye=Ce[St];ye.enumerable=ye.enumerable||!1,ye.configurable=!0,"value"in ye&&(ye.writable=!0),Object.defineProperty(Tt,ye.key,ye)}}function e(Tt,Ce,St){return Ce&&v(Tt.prototype,Ce),St&&v(Tt,St),Tt}function r(Tt,Ce){if(Tt){if(typeof Tt=="string")return i(Tt,Ce);var St=Object.prototype.toString.call(Tt).slice(8,-1);if(St==="Object"&&Tt.constructor&&(St=Tt.constructor.name),St==="Map"||St==="Set")return Array.from(Tt);if(St==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(St))return i(Tt,Ce)}}function i(Tt,Ce){(Ce==null||Ce>Tt.length)&&(Ce=Tt.length);for(var St=0,ye=new Array(Ce);St<Ce;St++)ye[St]=Tt[St];return ye}function l(Tt,Ce){var St=typeof Symbol!="undefined"&&Tt[Symbol.iterator]||Tt["@@iterator"];if(St)return(St=St.call(Tt)).next.bind(St);if(Array.isArray(Tt)||(St=r(Tt))||Ce&&Tt&&typeof Tt.length=="number"){St&&(Tt=St);var ye=0;return function(){return ye>=Tt.length?{done:!0}:{done:!1,value:Tt[ye++]}}}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(Tt){c.exports.defaults=Tt}c.exports={defaults:f(),getDefaults:f,changeDefaults:o};var h=/[&<>"']/,u=/[&<>"']/g,a=/[<>"']|&(?!#?\w+;)/,x=/[<>"']|&(?!#?\w+;)/g,p={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},y=function(Ce){return p[Ce]};function _(Tt,Ce){if(Ce){if(h.test(Tt))return Tt.replace(u,y)}else if(a.test(Tt))return Tt.replace(x,y);return Tt}var b=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig;function S(Tt){return Tt.replace(b,function(Ce,St){return St=St.toLowerCase(),St==="colon"?":":St.charAt(0)==="#"?St.charAt(1)==="x"?String.fromCharCode(parseInt(St.substring(2),16)):String.fromCharCode(+St.substring(1)):""})}var k=/(^|[^\[])\^/g;function R(Tt,Ce){Tt=Tt.source||Tt,Ce=Ce||"";var St={replace:function(Je,yt){return yt=yt.source||yt,yt=yt.replace(k,"$1"),Tt=Tt.replace(Je,yt),St},getRegex:function(){return new RegExp(Tt,Ce)}};return St}var A=/[^\w:]/g,I=/^$|^[a-z][a-z0-9+.-]*:|^[?#]/i;function M(Tt,Ce,St){if(Tt){var ye;try{ye=decodeURIComponent(S(St)).replace(A,"").toLowerCase()}catch(Je){return null}if(ye.indexOf("javascript:")===0||ye.indexOf("vbscript:")===0||ye.indexOf("data:")===0)return null}Ce&&!I.test(St)&&(St=H(Ce,St));try{St=encodeURI(St).replace(/%25/g,"%")}catch(Je){return null}return St}var B={},N=/^[^:]+:\/*[^/]*$/,V=/^([^:]+:)[\s\S]*$/,W=/^([^:]+:\/*[^/]*)[\s\S]*$/;function H(Tt,Ce){B[" "+Tt]||(N.test(Tt)?B[" "+Tt]=Tt+"/":B[" "+Tt]=J(Tt,"/",!0)),Tt=B[" "+Tt];var St=Tt.indexOf(":")===-1;return Ce.substring(0,2)==="//"?St?Ce:Tt.replace(V,"$1")+Ce:Ce.charAt(0)==="/"?St?Ce:Tt.replace(W,"$1")+Ce:Tt+Ce}var ae={exec:function(){}};function ne(Tt){for(var Ce=1,St,ye;Ce<arguments.length;Ce++){St=arguments[Ce];for(ye in St)Object.prototype.hasOwnProperty.call(St,ye)&&(Tt[ye]=St[ye])}return Tt}function oe(Tt,Ce){var St=Tt.replace(/\|/g,function(yt,Bt,Be){for(var Dr=!1,At=Bt;--At>=0&&Be[At]==="\\";)Dr=!Dr;return Dr?"|":" |"}),ye=St.split(/ \|/),Je=0;if(ye.length>Ce)ye.splice(Ce);else for(;ye.length<Ce;)ye.push("");for(;Je<ye.length;Je++)ye[Je]=ye[Je].trim().replace(/\\\|/g,"|");return ye}function J(Tt,Ce,St){var ye=Tt.length;if(ye===0)return"";for(var Je=0;Je<ye;){var yt=Tt.charAt(ye-Je-1);if(yt===Ce&&!St)Je++;else if(yt!==Ce&&St)Je++;else break}return Tt.substr(0,ye-Je)}function q(Tt,Ce){if(Tt.indexOf(Ce[1])===-1)return-1;for(var St=Tt.length,ye=0,Je=0;Je<St;Je++)if(Tt[Je]==="\\")Je++;else if(Tt[Je]===Ce[0])ye++;else if(Tt[Je]===Ce[1]&&(ye--,ye<0))return Je;return-1}function K(Tt){Tt&&Tt.sanitize&&!Tt.silent&&console.warn("marked(): sanitize and sanitizer parameters are deprecated since version 0.7.0, should not be used and will be removed in the future. Read more here: https://marked.js.org/#/USING_ADVANCED.md#options")}function se(Tt,Ce){if(Ce<1)return"";for(var St="";Ce>1;)Ce&1&&(St+=Tt),Ce>>=1,Tt+=Tt;return St+Tt}var ee={escape:_,unescape:S,edit:R,cleanUrl:M,resolveUrl:H,noopTest:ae,merge:ne,splitCells:oe,rtrim:J,findClosingBracket:q,checkSanitizeDeprecation:K,repeatString:se},Q=c.exports.defaults,le=ee.rtrim,z=ee.splitCells,$=ee.escape,ie=ee.findClosingBracket;function _e(Tt,Ce,St){var ye=Ce.href,Je=Ce.title?$(Ce.title):null,yt=Tt[1].replace(/\\([\[\]])/g,"$1");return Tt[0].charAt(0)!=="!"?{type:"link",raw:St,href:ye,title:Je,text:yt}:{type:"image",raw:St,href:ye,title:Je,text:$(yt)}}function Ae(Tt,Ce){var St=Tt.match(/^(\s+)(?:```)/);if(St===null)return Ce;var ye=St[1];return Ce.split(`
`).map(function(Je){var yt=Je.match(/^\s+/);if(yt===null)return Je;var Bt=yt[0];return Bt.length>=ye.length?Je.slice(ye.length):Je}).join(`
`)}var Pe=function(){function Tt(St){this.options=St||Q}var Ce=Tt.prototype;return Ce.space=function(ye){var Je=this.rules.block.newline.exec(ye);if(Je)return Je[0].length>1?{type:"space",raw:Je[0]}:{raw:`
`}},Ce.code=function(ye){var Je=this.rules.block.code.exec(ye);if(Je){var yt=Je[0].replace(/^ {1,4}/gm,"");return{type:"code",raw:Je[0],codeBlockStyle:"indented",text:this.options.pedantic?yt:le(yt,`
`)}}},Ce.fences=function(ye){var Je=this.rules.block.fences.exec(ye);if(Je){var yt=Je[0],Bt=Ae(yt,Je[3]||"");return{type:"code",raw:yt,lang:Je[2]?Je[2].trim():Je[2],text:Bt}}},Ce.heading=function(ye){var Je=this.rules.block.heading.exec(ye);if(Je){var yt=Je[2].trim();if(/#$/.test(yt)){var Bt=le(yt,"#");(this.options.pedantic||!Bt||/ $/.test(Bt))&&(yt=Bt.trim())}return{type:"heading",raw:Je[0],depth:Je[1].length,text:yt}}},Ce.nptable=function(ye){var Je=this.rules.block.nptable.exec(ye);if(Je){var yt={type:"table",header:z(Je[1].replace(/^ *| *\| *$/g,"")),align:Je[2].replace(/^ *|\| *$/g,"").split(/ *\| */),cells:Je[3]?Je[3].replace(/\n$/,"").split(`
`):[],raw:Je[0]};if(yt.header.length===yt.align.length){var Bt=yt.align.length,Be;for(Be=0;Be<Bt;Be++)/^ *-+: *$/.test(yt.align[Be])?yt.align[Be]="right":/^ *:-+: *$/.test(yt.align[Be])?yt.align[Be]="center":/^ *:-+ *$/.test(yt.align[Be])?yt.align[Be]="left":yt.align[Be]=null;for(Bt=yt.cells.length,Be=0;Be<Bt;Be++)yt.cells[Be]=z(yt.cells[Be],yt.header.length);return yt}}},Ce.hr=function(ye){var Je=this.rules.block.hr.exec(ye);if(Je)return{type:"hr",raw:Je[0]}},Ce.blockquote=function(ye){var Je=this.rules.block.blockquote.exec(ye);if(Je){var yt=Je[0].replace(/^ *> ?/gm,"");return{type:"blockquote",raw:Je[0],text:yt}}},Ce.list=function(ye){var Je=this.rules.block.list.exec(ye);if(Je){var yt=Je[0],Bt=Je[2],Be=Bt.length>1,Dr={type:"list",raw:yt,ordered:Be,start:Be?+Bt.slice(0,-1):"",loose:!1,items:[]},At=Je[0].match(this.rules.block.item),Xr=!1,en,Lr,Nr,mr,Zr,on,_n,Yt,mt,st=At.length;Nr=this.rules.block.listItemStart.exec(At[0]);for(var lt=0;lt<st;lt++){if(en=At[lt],yt=en,this.options.pedantic||(mt=en.match(new RegExp("\\n\\s*\\n {0,"+(Nr[0].length-1)+"}\\S")),mt&&(Zr=en.length-mt.index+At.slice(lt+1).join(`
`).length,Dr.raw=Dr.raw.substring(0,Dr.raw.length-Zr),en=en.substring(0,mt.index),yt=en,st=lt+1)),lt!==st-1){if(mr=this.rules.block.listItemStart.exec(At[lt+1]),this.options.pedantic?mr[1].length>Nr[1].length:mr[1].length>=Nr[0].length||mr[1].length>3){At.splice(lt,2,At[lt]+(!this.options.pedantic&&mr[1].length<Nr[0].length&&!At[lt].match(/\n$/)?"":`
`)+At[lt+1]),lt--,st--;continue}else(!this.options.pedantic||this.options.smartLists?mr[2][mr[2].length-1]!==Bt[Bt.length-1]:Be===(mr[2].length===1))&&(Zr=At.slice(lt+1).join(`
`).length,Dr.raw=Dr.raw.substring(0,Dr.raw.length-Zr),lt=st-1);Nr=mr}Lr=en.length,en=en.replace(/^ *([*+-]|\d+[.)]) ?/,""),~en.indexOf(`
`)&&(Lr-=en.length,en=this.options.pedantic?en.replace(/^ {1,4}/gm,""):en.replace(new RegExp("^ {1,"+Lr+"}","gm"),"")),en=le(en,`
`),lt!==st-1&&(yt=yt+`
`),on=Xr||/\n\n(?!\s*$)/.test(yt),lt!==st-1&&(Xr=yt.slice(-2)===`
`,on||(on=Xr)),on&&(Dr.loose=!0),this.options.gfm&&(_n=/^\[[ xX]\] /.test(en),Yt=void 0,_n&&(Yt=en[1]!==" ",en=en.replace(/^\[[ xX]\] +/,""))),Dr.items.push({type:"list_item",raw:yt,task:_n,checked:Yt,loose:on,text:en})}return Dr}},Ce.html=function(ye){var Je=this.rules.block.html.exec(ye);if(Je)return{type:this.options.sanitize?"paragraph":"html",raw:Je[0],pre:!this.options.sanitizer&&(Je[1]==="pre"||Je[1]==="script"||Je[1]==="style"),text:this.options.sanitize?this.options.sanitizer?this.options.sanitizer(Je[0]):$(Je[0]):Je[0]}},Ce.def=function(ye){var Je=this.rules.block.def.exec(ye);if(Je){Je[3]&&(Je[3]=Je[3].substring(1,Je[3].length-1));var yt=Je[1].toLowerCase().replace(/\s+/g," ");return{type:"def",tag:yt,raw:Je[0],href:Je[2],title:Je[3]}}},Ce.table=function(ye){var Je=this.rules.block.table.exec(ye);if(Je){var yt={type:"table",header:z(Je[1].replace(/^ *| *\| *$/g,"")),align:Je[2].replace(/^ *|\| *$/g,"").split(/ *\| */),cells:Je[3]?Je[3].replace(/\n$/,"").split(`
`):[]};if(yt.header.length===yt.align.length){yt.raw=Je[0];var Bt=yt.align.length,Be;for(Be=0;Be<Bt;Be++)/^ *-+: *$/.test(yt.align[Be])?yt.align[Be]="right":/^ *:-+: *$/.test(yt.align[Be])?yt.align[Be]="center":/^ *:-+ *$/.test(yt.align[Be])?yt.align[Be]="left":yt.align[Be]=null;for(Bt=yt.cells.length,Be=0;Be<Bt;Be++)yt.cells[Be]=z(yt.cells[Be].replace(/^ *\| *| *\| *$/g,""),yt.header.length);return yt}}},Ce.lheading=function(ye){var Je=this.rules.block.lheading.exec(ye);if(Je)return{type:"heading",raw:Je[0],depth:Je[2].charAt(0)==="="?1:2,text:Je[1]}},Ce.paragraph=function(ye){var Je=this.rules.block.paragraph.exec(ye);if(Je)return{type:"paragraph",raw:Je[0],text:Je[1].charAt(Je[1].length-1)===`
`?Je[1].slice(0,-1):Je[1]}},Ce.text=function(ye){var Je=this.rules.block.text.exec(ye);if(Je)return{type:"text",raw:Je[0],text:Je[0]}},Ce.escape=function(ye){var Je=this.rules.inline.escape.exec(ye);if(Je)return{type:"escape",raw:Je[0],text:$(Je[1])}},Ce.tag=function(ye,Je,yt){var Bt=this.rules.inline.tag.exec(ye);if(Bt)return!Je&&/^<a /i.test(Bt[0])?Je=!0:Je&&/^<\/a>/i.test(Bt[0])&&(Je=!1),!yt&&/^<(pre|code|kbd|script)(\s|>)/i.test(Bt[0])?yt=!0:yt&&/^<\/(pre|code|kbd|script)(\s|>)/i.test(Bt[0])&&(yt=!1),{type:this.options.sanitize?"text":"html",raw:Bt[0],inLink:Je,inRawBlock:yt,text:this.options.sanitize?this.options.sanitizer?this.options.sanitizer(Bt[0]):$(Bt[0]):Bt[0]}},Ce.link=function(ye){var Je=this.rules.inline.link.exec(ye);if(Je){var yt=Je[2].trim();if(!this.options.pedantic&&/^</.test(yt)){if(!/>$/.test(yt))return;var Bt=le(yt.slice(0,-1),"\\");if((yt.length-Bt.length)%2===0)return}else{var Be=ie(Je[2],"()");if(Be>-1){var Dr=Je[0].indexOf("!")===0?5:4,At=Dr+Je[1].length+Be;Je[2]=Je[2].substring(0,Be),Je[0]=Je[0].substring(0,At).trim(),Je[3]=""}}var Xr=Je[2],en="";if(this.options.pedantic){var Lr=/^([^'"]*[^\s])\s+(['"])(.*)\2/.exec(Xr);Lr&&(Xr=Lr[1],en=Lr[3])}else en=Je[3]?Je[3].slice(1,-1):"";return Xr=Xr.trim(),/^</.test(Xr)&&(this.options.pedantic&&!/>$/.test(yt)?Xr=Xr.slice(1):Xr=Xr.slice(1,-1)),_e(Je,{href:Xr&&Xr.replace(this.rules.inline._escapes,"$1"),title:en&&en.replace(this.rules.inline._escapes,"$1")},Je[0])}},Ce.reflink=function(ye,Je){var yt;if((yt=this.rules.inline.reflink.exec(ye))||(yt=this.rules.inline.nolink.exec(ye))){var Bt=(yt[2]||yt[1]).replace(/\s+/g," ");if(Bt=Je[Bt.toLowerCase()],!Bt||!Bt.href){var Be=yt[0].charAt(0);return{type:"text",raw:Be,text:Be}}return _e(yt,Bt,yt[0])}},Ce.emStrong=function(ye,Je,yt){yt===void 0&&(yt="");var Bt=this.rules.inline.emStrong.lDelim.exec(ye);if(Bt&&!(Bt[3]&&yt.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=Bt[1]||Bt[2]||"";if(!Be||Be&&(yt===""||this.rules.inline.punctuation.exec(yt))){var Dr=Bt[0].length-1,At,Xr,en=Dr,Lr=0,Nr=Bt[0][0]==="*"?this.rules.inline.emStrong.rDelimAst:this.rules.inline.emStrong.rDelimUnd;for(Nr.lastIndex=0,Je=Je.slice(-1*ye.length+Dr);(Bt=Nr.exec(Je))!=null;)if(At=Bt[1]||Bt[2]||Bt[3]||Bt[4]||Bt[5]||Bt[6],!!At){if(Xr=At.length,Bt[3]||Bt[4]){en+=Xr;continue}else if((Bt[5]||Bt[6])&&Dr%3&&!((Dr+Xr)%3)){Lr+=Xr;continue}if(en-=Xr,!(en>0))return Xr=Math.min(Xr,Xr+en+Lr),Math.min(Dr,Xr)%2?{type:"em",raw:ye.slice(0,Dr+Bt.index+Xr+1),text:ye.slice(1,Dr+Bt.index+Xr)}:{type:"strong",raw:ye.slice(0,Dr+Bt.index+Xr+1),text:ye.slice(2,Dr+Bt.index+Xr-1)}}}}},Ce.codespan=function(ye){var Je=this.rules.inline.code.exec(ye);if(Je){var yt=Je[2].replace(/\n/g," "),Bt=/[^ ]/.test(yt),Be=/^ /.test(yt)&&/ $/.test(yt);return Bt&&Be&&(yt=yt.substring(1,yt.length-1)),yt=$(yt,!0),{type:"codespan",raw:Je[0],text:yt}}},Ce.br=function(ye){var Je=this.rules.inline.br.exec(ye);if(Je)return{type:"br",raw:Je[0]}},Ce.del=function(ye){var Je=this.rules.inline.del.exec(ye);if(Je)return{type:"del",raw:Je[0],text:Je[2]}},Ce.autolink=function(ye,Je){var yt=this.rules.inline.autolink.exec(ye);if(yt){var Bt,Be;return yt[2]==="@"?(Bt=$(this.options.mangle?Je(yt[1]):yt[1]),Be="mailto:"+Bt):(Bt=$(yt[1]),Be=Bt),{type:"link",raw:yt[0],text:Bt,href:Be,tokens:[{type:"text",raw:Bt,text:Bt}]}}},Ce.url=function(ye,Je){var yt;if(yt=this.rules.inline.url.exec(ye)){var Bt,Be;if(yt[2]==="@")Bt=$(this.options.mangle?Je(yt[0]):yt[0]),Be="mailto:"+Bt;else{var Dr;do Dr=yt[0],yt[0]=this.rules.inline._backpedal.exec(yt[0])[0];while(Dr!==yt[0]);Bt=$(yt[0]),yt[1]==="www."?Be="http://"+Bt:Be=Bt}return{type:"link",raw:yt[0],text:Bt,href:Be,tokens:[{type:"text",raw:Bt,text:Bt}]}}},Ce.inlineText=function(ye,Je,yt){var Bt=this.rules.inline.text.exec(ye);if(Bt){var Be;return Je?Be=this.options.sanitize?this.options.sanitizer?this.options.sanitizer(Bt[0]):$(Bt[0]):Bt[0]:Be=$(this.options.smartypants?yt(Bt[0]):Bt[0]),{type:"text",raw:Bt[0],text:Be}}},Tt}(),We=ee.noopTest,$e=ee.edit,Lt=ee.merge,bt={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:We,table:We,lheading:/^([^\n]+)\n {0,3}(=+|-+) *(?:\n+|$)/,_paragraph:/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html| +\n)[^\n]+)*)/,text:/^[^\n]+/};bt._label=/(?!\s*\])(?:\\[\[\]]|[^\[\]])+/,bt._title=/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/,bt.def=$e(bt.def).replace("label",bt._label).replace("title",bt._title).getRegex(),bt.bullet=/(?:[*+-]|\d{1,9}[.)])/,bt.item=/^( *)(bull) ?[^\n]*(?:\n(?! *bull ?)[^\n]*)*/,bt.item=$e(bt.item,"gm").replace(/bull/g,bt.bullet).getRegex(),bt.listItemStart=$e(/^( *)(bull) */).replace("bull",bt.bullet).getRegex(),bt.list=$e(bt.list).replace(/bull/g,bt.bullet).replace("hr","\\n+(?=\\1?(?:(?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$))").replace("def","\\n+(?="+bt.def.source+")").getRegex(),bt._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",bt._comment=/<!--(?!-?>)[\s\S]*?(?:-->|$)/,bt.html=$e(bt.html,"i").replace("comment",bt._comment).replace("tag",bt._tag).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),bt.paragraph=$e(bt._paragraph).replace("hr",bt.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",bt._tag).getRegex(),bt.blockquote=$e(bt.blockquote).replace("paragraph",bt.paragraph).getRegex(),bt.normal=Lt({},bt),bt.gfm=Lt({},bt.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*|$)"}),bt.gfm.nptable=$e(bt.gfm.nptable).replace("hr",bt.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",bt._tag).getRegex(),bt.gfm.table=$e(bt.gfm.table).replace("hr",bt.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",bt._tag).getRegex(),bt.pedantic=Lt({},bt.normal,{html:$e(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:"[^"]*"|'[^']*'|\\s[^'"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`).replace("comment",bt._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:We,paragraph:$e(bt.normal._paragraph).replace("hr",bt.hr).replace("heading",` *#{1,6} *[^
]`).replace("lheading",bt.lheading).replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").getRegex()});var kt={escape:/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,autolink:/^<(scheme:[^\s\x00-\x1f<>]*|email)>/,url:We,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:We,text:/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/,punctuation:/^([\spunctuation])/};kt._punctuation="!\"#$%&'()+\\-.,/:;<=>?@\\[\\]`^{|}~",kt.punctuation=$e(kt.punctuation).replace(/punctuation/g,kt._punctuation).getRegex(),kt.blockSkip=/\[[^\]]*?\]\([^\)]*?\)|`[^`]*?`|<[^>]*?>/g,kt.escapedEmSt=/\\\*|\\_/g,kt._comment=$e(bt._comment).replace("(?:-->|$)","-->").getRegex(),kt.emStrong.lDelim=$e(kt.emStrong.lDelim).replace(/punct/g,kt._punctuation).getRegex(),kt.emStrong.rDelimAst=$e(kt.emStrong.rDelimAst,"g").replace(/punct/g,kt._punctuation).getRegex(),kt.emStrong.rDelimUnd=$e(kt.emStrong.rDelimUnd,"g").replace(/punct/g,kt._punctuation).getRegex(),kt._escapes=/\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/g,kt._scheme=/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/,kt._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])?)+(?![-_])/,kt.autolink=$e(kt.autolink).replace("scheme",kt._scheme).replace("email",kt._email).getRegex(),kt._attribute=/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/,kt.tag=$e(kt.tag).replace("comment",kt._comment).replace("attribute",kt._attribute).getRegex(),kt._label=/(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/,kt._href=/<(?:\\.|[^\n<>\\])+>|[^\s\x00-\x1f]*/,kt._title=/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/,kt.link=$e(kt.link).replace("label",kt._label).replace("href",kt._href).replace("title",kt._title).getRegex(),kt.reflink=$e(kt.reflink).replace("label",kt._label).getRegex(),kt.reflinkSearch=$e(kt.reflinkSearch,"g").replace("reflink",kt.reflink).replace("nolink",kt.nolink).getRegex(),kt.normal=Lt({},kt),kt.pedantic=Lt({},kt.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",kt._label).getRegex(),reflink:$e(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",kt._label).getRegex()}),kt.gfm=Lt({},kt.normal,{escape:$e(kt.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.!#$%&'*+\/=?_`{\|}~-]+@)))/}),kt.gfm.url=$e(kt.gfm.url,"i").replace("email",kt.gfm._extended_email).getRegex(),kt.breaks=Lt({},kt.gfm,{br:$e(kt.br).replace("{2,}","*").getRegex(),text:$e(kt.gfm.text).replace("\\b_","\\b_| {2,}\\n").replace(/\{2,\}/g,"*").getRegex()});var Zt={block:bt,inline:kt},Mt=Pe,tr=c.exports.defaults,je=Zt.block,wt=Zt.inline,Ft=ee.repeatString;function tt(Tt){return Tt.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 gt(Tt){var Ce="",St,ye,Je=Tt.length;for(St=0;St<Je;St++)ye=Tt.charCodeAt(St),Math.random()>.5&&(ye="x"+ye.toString(16)),Ce+="&#"+ye+";";return Ce}var ft=function(){function Tt(St){this.tokens=[],this.tokens.links=Object.create(null),this.options=St||tr,this.options.tokenizer=this.options.tokenizer||new Mt,this.tokenizer=this.options.tokenizer,this.tokenizer.options=this.options;var ye={block:je.normal,inline:wt.normal};this.options.pedantic?(ye.block=je.pedantic,ye.inline=wt.pedantic):this.options.gfm&&(ye.block=je.gfm,this.options.breaks?ye.inline=wt.breaks:ye.inline=wt.gfm),this.tokenizer.rules=ye}Tt.lex=function(ye,Je){var yt=new Tt(Je);return yt.lex(ye)},Tt.lexInline=function(ye,Je){var yt=new Tt(Je);return yt.inlineTokens(ye)};var Ce=Tt.prototype;return Ce.lex=function(ye){return ye=ye.replace(/\r\n|\r/g,`
`).replace(/\t/g," "),this.blockTokens(ye,this.tokens,!0),this.inline(this.tokens),this.tokens},Ce.blockTokens=function(ye,Je,yt){Je===void 0&&(Je=[]),yt===void 0&&(yt=!0),this.options.pedantic&&(ye=ye.replace(/^ +$/gm,""));for(var Bt,Be,Dr,At;ye;){if(Bt=this.tokenizer.space(ye)){ye=ye.substring(Bt.raw.length),Bt.type&&Je.push(Bt);continue}if(Bt=this.tokenizer.code(ye)){ye=ye.substring(Bt.raw.length),At=Je[Je.length-1],At&&At.type==="paragraph"?(At.raw+=`
`+Bt.raw,At.text+=`
`+Bt.text):Je.push(Bt);continue}if(Bt=this.tokenizer.fences(ye)){ye=ye.substring(Bt.raw.length),Je.push(Bt);continue}if(Bt=this.tokenizer.heading(ye)){ye=ye.substring(Bt.raw.length),Je.push(Bt);continue}if(Bt=this.tokenizer.nptable(ye)){ye=ye.substring(Bt.raw.length),Je.push(Bt);continue}if(Bt=this.tokenizer.hr(ye)){ye=ye.substring(Bt.raw.length),Je.push(Bt);continue}if(Bt=this.tokenizer.blockquote(ye)){ye=ye.substring(Bt.raw.length),Bt.tokens=this.blockTokens(Bt.text,[],yt),Je.push(Bt);continue}if(Bt=this.tokenizer.list(ye)){for(ye=ye.substring(Bt.raw.length),Dr=Bt.items.length,Be=0;Be<Dr;Be++)Bt.items[Be].tokens=this.blockTokens(Bt.items[Be].text,[],!1);Je.push(Bt);continue}if(Bt=this.tokenizer.html(ye)){ye=ye.substring(Bt.raw.length),Je.push(Bt);continue}if(yt&&(Bt=this.tokenizer.def(ye))){ye=ye.substring(Bt.raw.length),this.tokens.links[Bt.tag]||(this.tokens.links[Bt.tag]={href:Bt.href,title:Bt.title});continue}if(Bt=this.tokenizer.table(ye)){ye=ye.substring(Bt.raw.length),Je.push(Bt);continue}if(Bt=this.tokenizer.lheading(ye)){ye=ye.substring(Bt.raw.length),Je.push(Bt);continue}if(yt&&(Bt=this.tokenizer.paragraph(ye))){ye=ye.substring(Bt.raw.length),Je.push(Bt);continue}if(Bt=this.tokenizer.text(ye)){ye=ye.substring(Bt.raw.length),At=Je[Je.length-1],At&&At.type==="text"?(At.raw+=`
`+Bt.raw,At.text+=`
`+Bt.text):Je.push(Bt);continue}if(ye){var Xr="Infinite loop on byte: "+ye.charCodeAt(0);if(this.options.silent){console.error(Xr);break}else throw new Error(Xr)}}return Je},Ce.inline=function(ye){var Je,yt,Bt,Be,Dr,At,Xr=ye.length;for(Je=0;Je<Xr;Je++)switch(At=ye[Je],At.type){case"paragraph":case"text":case"heading":{At.tokens=[],this.inlineTokens(At.text,At.tokens);break}case"table":{for(At.tokens={header:[],cells:[]},Be=At.header.length,yt=0;yt<Be;yt++)At.tokens.header[yt]=[],this.inlineTokens(At.header[yt],At.tokens.header[yt]);for(Be=At.cells.length,yt=0;yt<Be;yt++)for(Dr=At.cells[yt],At.tokens.cells[yt]=[],Bt=0;Bt<Dr.length;Bt++)At.tokens.cells[yt][Bt]=[],this.inlineTokens(Dr[Bt],At.tokens.cells[yt][Bt]);break}case"blockquote":{this.inline(At.tokens);break}case"list":{for(Be=At.items.length,yt=0;yt<Be;yt++)this.inline(At.items[yt].tokens);break}}return ye},Ce.inlineTokens=function(ye,Je,yt,Bt){Je===void 0&&(Je=[]),yt===void 0&&(yt=!1),Bt===void 0&&(Bt=!1);var Be,Dr,At=ye,Xr,en,Lr;if(this.tokens.links){var Nr=Object.keys(this.tokens.links);if(Nr.length>0)for(;(Xr=this.tokenizer.rules.inline.reflinkSearch.exec(At))!=null;)Nr.includes(Xr[0].slice(Xr[0].lastIndexOf("[")+1,-1))&&(At=At.slice(0,Xr.index)+"["+Ft("a",Xr[0].length-2)+"]"+At.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;(Xr=this.tokenizer.rules.inline.blockSkip.exec(At))!=null;)At=At.slice(0,Xr.index)+"["+Ft("a",Xr[0].length-2)+"]"+At.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);for(;(Xr=this.tokenizer.rules.inline.escapedEmSt.exec(At))!=null;)At=At.slice(0,Xr.index)+"++"+At.slice(this.tokenizer.rules.inline.escapedEmSt.lastIndex);for(;ye;){if(en||(Lr=""),en=!1,Be=this.tokenizer.escape(ye)){ye=ye.substring(Be.raw.length),Je.push(Be);continue}if(Be=this.tokenizer.tag(ye,yt,Bt)){ye=ye.substring(Be.raw.length),yt=Be.inLink,Bt=Be.inRawBlock;var mr=Je[Je.length-1];mr&&Be.type==="text"&&mr.type==="text"?(mr.raw+=Be.raw,mr.text+=Be.text):Je.push(Be);continue}if(Be=this.tokenizer.link(ye)){ye=ye.substring(Be.raw.length),Be.type==="link"&&(Be.tokens=this.inlineTokens(Be.text,[],!0,Bt)),Je.push(Be);continue}if(Be=this.tokenizer.reflink(ye,this.tokens.links)){ye=ye.substring(Be.raw.length);var Zr=Je[Je.length-1];Be.type==="link"?(Be.tokens=this.inlineTokens(Be.text,[],!0,Bt),Je.push(Be)):Zr&&Be.type==="text"&&Zr.type==="text"?(Zr.raw+=Be.raw,Zr.text+=Be.text):Je.push(Be);continue}if(Be=this.tokenizer.emStrong(ye,At,Lr)){ye=ye.substring(Be.raw.length),Be.tokens=this.inlineTokens(Be.text,[],yt,Bt),Je.push(Be);continue}if(Be=this.tokenizer.codespan(ye)){ye=ye.substring(Be.raw.length),Je.push(Be);continue}if(Be=this.tokenizer.br(ye)){ye=ye.substring(Be.raw.length),Je.push(Be);continue}if(Be=this.tokenizer.del(ye)){ye=ye.substring(Be.raw.length),Be.tokens=this.inlineTokens(Be.text,[],yt,Bt),Je.push(Be);continue}if(Be=this.tokenizer.autolink(ye,gt)){ye=ye.substring(Be.raw.length),Je.push(Be);continue}if(!yt&&(Be=this.tokenizer.url(ye,gt))){ye=ye.substring(Be.raw.length),Je.push(Be);continue}if(Be=this.tokenizer.inlineText(ye,Bt,tt)){ye=ye.substring(Be.raw.length),Be.raw.slice(-1)!=="_"&&(Lr=Be.raw.slice(-1)),en=!0,Dr=Je[Je.length-1],Dr&&Dr.type==="text"?(Dr.raw+=Be.raw,Dr.text+=Be.text):Je.push(Be);continue}if(ye){var on="Infinite loop on byte: "+ye.charCodeAt(0);if(this.options.silent){console.error(on);break}else throw new Error(on)}}return Je},e(Tt,null,[{key:"rules",get:function(){return{block:je,inline:wt}}}]),Tt}(),Qe=c.exports.defaults,Ne=ee.cleanUrl,xe=ee.escape,ke=function(){function Tt(St){this.options=St||Qe}var Ce=Tt.prototype;return Ce.code=function(ye,Je,yt){var Bt=(Je||"").match(/\S*/)[0];if(this.options.highlight){var Be=this.options.highlight(ye,Bt);Be!=null&&Be!==ye&&(yt=!0,ye=Be)}return ye=ye.replace(/\n$/,"")+`
`,Bt?'<pre><code class="'+this.options.langPrefix+xe(Bt,!0)+'">'+(yt?ye:xe(ye,!0))+`</code></pre>
`:"<pre><code>"+(yt?ye:xe(ye,!0))+`</code></pre>
`},Ce.blockquote=function(ye){return`<blockquote>
`+ye+`</blockquote>
`},Ce.html=function(ye){return ye},Ce.heading=function(ye,Je,yt,Bt){return this.options.headerIds?"<h"+Je+' id="'+this.options.headerPrefix+Bt.slug(yt)+'">'+ye+"</h"+Je+`>
`:"<h"+Je+">"+ye+"</h"+Je+`>
`},Ce.hr=function(){return this.options.xhtml?`<hr/>
`:`<hr>
`},Ce.list=function(ye,Je,yt){var Bt=Je?"ol":"ul",Be=Je&&yt!==1?' start="'+yt+'"':"";return"<"+Bt+Be+`>
`+ye+"</"+Bt+`>
`},Ce.listitem=function(ye){return"<li>"+ye+`</li>
`},Ce.checkbox=function(ye){return"<input "+(ye?'checked="" ':"")+'disabled="" type="checkbox"'+(this.options.xhtml?" /":"")+"> "},Ce.paragraph=function(ye){return"<p>"+ye+`</p>
`},Ce.table=function(ye,Je){return Je&&(Je="<tbody>"+Je+"</tbody>"),`<table>
<thead>
`+ye+`</thead>
`+Je+`</table>
`},Ce.tablerow=function(ye){return`<tr>
`+ye+`</tr>
`},Ce.tablecell=function(ye,Je){var yt=Je.header?"th":"td",Bt=Je.align?"<"+yt+' align="'+Je.align+'">':"<"+yt+">";return Bt+ye+"</"+yt+`>
`},Ce.strong=function(ye){return"<strong>"+ye+"</strong>"},Ce.em=function(ye){return"<em>"+ye+"</em>"},Ce.codespan=function(ye){return"<code>"+ye+"</code>"},Ce.br=function(){return this.options.xhtml?"<br/>":"<br>"},Ce.del=function(ye){return"<del>"+ye+"</del>"},Ce.link=function(ye,Je,yt){if(ye=Ne(this.options.sanitize,this.options.baseUrl,ye),ye===null)return yt;var Bt='<a href="'+xe(ye)+'"';return Je&&(Bt+=' title="'+Je+'"'),Bt+=">"+yt+"</a>",Bt},Ce.image=function(ye,Je,yt){if(ye=Ne(this.options.sanitize,this.options.baseUrl,ye),ye===null)return yt;var Bt='<img src="'+ye+'" alt="'+yt+'"';return Je&&(Bt+=' title="'+Je+'"'),Bt+=this.options.xhtml?"/>":">",Bt},Ce.text=function(ye){return ye},Tt}(),Ge=function(){function Tt(){}var Ce=Tt.prototype;return Ce.strong=function(ye){return ye},Ce.em=function(ye){return ye},Ce.codespan=function(ye){return ye},Ce.del=function(ye){return ye},Ce.html=function(ye){return ye},Ce.text=function(ye){return ye},Ce.link=function(ye,Je,yt){return""+yt},Ce.image=function(ye,Je,yt){return""+yt},Ce.br=function(){return""},Tt}(),He=function(){function Tt(){this.seen={}}var Ce=Tt.prototype;return Ce.serialize=function(ye){return ye.toLowerCase().trim().replace(/<[!\/a-z].*?>/ig,"").replace(/[\u2000-\u206F\u2E00-\u2E7F\\'!"#$%&()*+,./:;<=>?@[\]^`{|}~]/g,"").replace(/\s/g,"-")},Ce.getNextSafeSlug=function(ye,Je){var yt=ye,Bt=0;if(this.seen.hasOwnProperty(yt)){Bt=this.seen[ye];do Bt++,yt=ye+"-"+Bt;while(this.seen.hasOwnProperty(yt))}return Je||(this.seen[ye]=Bt,this.seen[yt]=0),yt},Ce.slug=function(ye,Je){Je===void 0&&(Je={});var yt=this.serialize(ye);return this.getNextSafeSlug(yt,Je.dryrun)},Tt}(),Ye=ke,dt=Ge,xt=He,nr=c.exports.defaults,qt=ee.unescape,Me=function(){function Tt(St){this.options=St||nr,this.options.renderer=this.options.renderer||new Ye,this.renderer=this.options.renderer,this.renderer.options=this.options,this.textRenderer=new dt,this.slugger=new xt}Tt.parse=function(ye,Je){var yt=new Tt(Je);return yt.parse(ye)},Tt.parseInline=function(ye,Je){var yt=new Tt(Je);return yt.parseInline(ye)};var Ce=Tt.prototype;return Ce.parse=function(ye,Je){Je===void 0&&(Je=!0);var yt="",Bt,Be,Dr,At,Xr,en,Lr,Nr,mr,Zr,on,_n,Yt,mt,st,lt,Nt,br,vr=ye.length;for(Bt=0;Bt<vr;Bt++)switch(Zr=ye[Bt],Zr.type){case"space":continue;case"hr":{yt+=this.renderer.hr();continue}case"heading":{yt+=this.renderer.heading(this.parseInline(Zr.tokens),Zr.depth,qt(this.parseInline(Zr.tokens,this.textRenderer)),this.slugger);continue}case"code":{yt+=this.renderer.code(Zr.text,Zr.lang,Zr.escaped);continue}case"table":{for(Nr="",Lr="",At=Zr.header.length,Be=0;Be<At;Be++)Lr+=this.renderer.tablecell(this.parseInline(Zr.tokens.header[Be]),{header:!0,align:Zr.align[Be]});for(Nr+=this.renderer.tablerow(Lr),mr="",At=Zr.cells.length,Be=0;Be<At;Be++){for(en=Zr.tokens.cells[Be],Lr="",Xr=en.length,Dr=0;Dr<Xr;Dr++)Lr+=this.renderer.tablecell(this.parseInline(en[Dr]),{header:!1,align:Zr.align[Dr]});mr+=this.renderer.tablerow(Lr)}yt+=this.renderer.table(Nr,mr);continue}case"blockquote":{mr=this.parse(Zr.tokens),yt+=this.renderer.blockquote(mr);continue}case"list":{for(on=Zr.ordered,_n=Zr.start,Yt=Zr.loose,At=Zr.items.length,mr="",Be=0;Be<At;Be++)st=Zr.items[Be],lt=st.checked,Nt=st.task,mt="",st.task&&(br=this.renderer.checkbox(lt),Yt?st.tokens.length>0&&st.tokens[0].type==="text"?(st.tokens[0].text=br+" "+st.tokens[0].text,st.tokens[0].tokens&&st.tokens[0].tokens.length>0&&st.tokens[0].tokens[0].type==="text"&&(st.tokens[0].tokens[0].text=br+" "+st.tokens[0].tokens[0].text)):st.tokens.unshift({type:"text",text:br}):mt+=br),mt+=this.parse(st.tokens,Yt),mr+=this.renderer.listitem(mt,Nt,lt);yt+=this.renderer.list(mr,on,_n);continue}case"html":{yt+=this.renderer.html(Zr.text);continue}case"paragraph":{yt+=this.renderer.paragraph(this.parseInline(Zr.tokens));continue}case"text":{for(mr=Zr.tokens?this.parseInline(Zr.tokens):Zr.text;Bt+1<vr&&ye[Bt+1].type==="text";)Zr=ye[++Bt],mr+=`
`+(Zr.tokens?this.parseInline(Zr.tokens):Zr.text);yt+=Je?this.renderer.paragraph(mr):mr;continue}default:{var nt='Token with "'+Zr.type+'" type was not found.';if(this.options.silent){console.error(nt);return}else throw new Error(nt)}}return yt},Ce.parseInline=function(ye,Je){Je=Je||this.renderer;var yt="",Bt,Be,Dr=ye.length;for(Bt=0;Bt<Dr;Bt++)switch(Be=ye[Bt],Be.type){case"escape":{yt+=Je.text(Be.text);break}case"html":{yt+=Je.html(Be.text);break}case"link":{yt+=Je.link(Be.href,Be.title,this.parseInline(Be.tokens,Je));break}case"image":{yt+=Je.image(Be.href,Be.title,Be.text);break}case"strong":{yt+=Je.strong(this.parseInline(Be.tokens,Je));break}case"em":{yt+=Je.em(this.parseInline(Be.tokens,Je));break}case"codespan":{yt+=Je.codespan(Be.text);break}case"br":{yt+=Je.br();break}case"del":{yt+=Je.del(this.parseInline(Be.tokens,Je));break}case"text":{yt+=Je.text(Be.text);break}default:{var At='Token with "'+Be.type+'" type was not found.';if(this.options.silent){console.error(At);return}else throw new Error(At)}}return yt},Tt}(),qe=ft,Vt=Me,Rt=Pe,zt=ke,Ht=Ge,Ct=He,Xt=ee.merge,ze=ee.checkSanitizeDeprecation,ce=ee.escape,pe=c.exports.getDefaults,It=c.exports.changeDefaults,Te=c.exports.defaults;function ct(Tt,Ce,St){if(typeof Tt=="undefined"||Tt===null)throw new Error("marked(): input parameter is undefined or null");if(typeof Tt!="string")throw new Error("marked(): input parameter is of type "+Object.prototype.toString.call(Tt)+", string expected");if(typeof Ce=="function"&&(St=Ce,Ce=null),Ce=Xt({},ct.defaults,Ce||{}),ze(Ce),St){var ye=Ce.highlight,Je;try{Je=qe.lex(Tt,Ce)}catch(Dr){return St(Dr)}var yt=function(At){var Xr;if(!At)try{Ce.walkTokens&&ct.walkTokens(Je,Ce.walkTokens),Xr=Vt.parse(Je,Ce)}catch(en){At=en}return Ce.highlight=ye,At?St(At):St(null,Xr)};if(!ye||ye.length<3||(delete Ce.highlight,!Je.length))return yt();var Bt=0;ct.walkTokens(Je,function(Dr){Dr.type==="code"&&(Bt++,setTimeout(function(){ye(Dr.text,Dr.lang,function(At,Xr){if(At)return yt(At);Xr!=null&&Xr!==Dr.text&&(Dr.text=Xr,Dr.escaped=!0),Bt--,Bt===0&&yt()})},0))}),Bt===0&&yt();return}try{var Be=qe.lex(Tt,Ce);return Ce.walkTokens&&ct.walkTokens(Be,Ce.walkTokens),Vt.parse(Be,Ce)}catch(Dr){if(Dr.message+=`
Please report this to https://github.com/markedjs/marked.`,Ce.silent)return"<p>An error occurred:</p><pre>"+ce(Dr.message+"",!0)+"</pre>";throw Dr}}ct.options=ct.setOptions=function(Tt){return Xt(ct.defaults,Tt),It(ct.defaults),ct},ct.getDefaults=pe,ct.defaults=Te,ct.use=function(Tt){var Ce=Xt({},Tt);if(Tt.renderer&&function(){var ye=ct.defaults.renderer||new zt,Je=function(Be){var Dr=ye[Be];ye[Be]=function(){for(var At=arguments.length,Xr=new Array(At),en=0;en<At;en++)Xr[en]=arguments[en];var Lr=Tt.renderer[Be].apply(ye,Xr);return Lr===!1&&(Lr=Dr.apply(ye,Xr)),Lr}};for(var yt in Tt.renderer)Je(yt);Ce.renderer=ye}(),Tt.tokenizer&&function(){var ye=ct.defaults.tokenizer||new Rt,Je=function(Be){var Dr=ye[Be];ye[Be]=function(){for(var At=arguments.length,Xr=new Array(At),en=0;en<At;en++)Xr[en]=arguments[en];var Lr=Tt.tokenizer[Be].apply(ye,Xr);return Lr===!1&&(Lr=Dr.apply(ye,Xr)),Lr}};for(var yt in Tt.tokenizer)Je(yt);Ce.tokenizer=ye}(),Tt.walkTokens){var St=ct.defaults.walkTokens;Ce.walkTokens=function(ye){Tt.walkTokens(ye),St&&St(ye)}}ct.setOptions(Ce)},ct.walkTokens=function(Tt,Ce){for(var St=l(Tt),ye;!(ye=St()).done;){var Je=ye.value;switch(Ce(Je),Je.type){case"table":{for(var yt=l(Je.tokens.header),Bt;!(Bt=yt()).done;){var Be=Bt.value;ct.walkTokens(Be,Ce)}for(var Dr=l(Je.tokens.cells),At;!(At=Dr()).done;)for(var Xr=At.value,en=l(Xr),Lr;!(Lr=en()).done;){var Nr=Lr.value;ct.walkTokens(Nr,Ce)}break}case"list":{ct.walkTokens(Je.items,Ce);break}default:Je.tokens&&ct.walkTokens(Je.tokens,Ce)}}},ct.parseInline=function(Tt,Ce){if(typeof Tt=="undefined"||Tt===null)throw new Error("marked.parseInline(): input parameter is undefined or null");if(typeof Tt!="string")throw new Error("marked.parseInline(): input parameter is of type "+Object.prototype.toString.call(Tt)+", string expected");Ce=Xt({},ct.defaults,Ce||{}),ze(Ce);try{var St=qe.lexInline(Tt,Ce);return Ce.walkTokens&&ct.walkTokens(St,Ce.walkTokens),Vt.parseInline(St,Ce)}catch(ye){if(ye.message+=`
Please report this to https://github.com/markedjs/marked.`,Ce.silent)return"<p>An error occurred:</p><pre>"+ce(ye.message+"",!0)+"</pre>";throw ye}},ct.Parser=Vt,ct.parser=Vt.parse,ct.Renderer=zt,ct.TextRenderer=Ht,ct.Lexer=qe,ct.lexer=qe.lex,ct.Tokenizer=Rt,ct.Slugger=Ct,ct.parse=ct;var Wt=ct;return Wt})},11690:function(d){const v=/[&<>"']/,e=/[&<>"']/g,r=/[<>"']|&(?!#?\w+;)/,i=/[<>"']|&(?!#?\w+;)/g,l={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},c=H=>l[H];function f(H,ae){if(ae){if(v.test(H))return H.replace(e,c)}else if(r.test(H))return H.replace(i,c);return H}const o=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig;function h(H){return H.replace(o,(ae,ne)=>(ne=ne.toLowerCase(),ne==="colon"?":":ne.charAt(0)==="#"?ne.charAt(1)==="x"?String.fromCharCode(parseInt(ne.substring(2),16)):String.fromCharCode(+ne.substring(1)):""))}const u=/(^|[^\[])\^/g;function a(H,ae){H=H.source||H,ae=ae||"";const ne={replace:(oe,J)=>(J=J.source||J,J=J.replace(u,"$1"),H=H.replace(oe,J),ne),getRegex:()=>new RegExp(H,ae)};return ne}const x=/[^\w:]/g,p=/^$|^[a-z][a-z0-9+.-]*:|^[?#]/i;function y(H,ae,ne){if(H){let oe;try{oe=decodeURIComponent(h(ne)).replace(x,"").toLowerCase()}catch(J){return null}if(oe.indexOf("javascript:")===0||oe.indexOf("vbscript:")===0||oe.indexOf("data:")===0)return null}ae&&!p.test(ne)&&(ne=R(ae,ne));try{ne=encodeURI(ne).replace(/%25/g,"%")}catch(oe){return null}return ne}const _={},b=/^[^:]+:\/*[^/]*$/,S=/^([^:]+:)[\s\S]*$/,k=/^([^:]+:\/*[^/]*)[\s\S]*$/;function R(H,ae){_[" "+H]||(b.test(H)?_[" "+H]=H+"/":_[" "+H]=B(H,"/",!0)),H=_[" "+H];const ne=H.indexOf(":")===-1;return ae.substring(0,2)==="//"?ne?ae:H.replace(S,"$1")+ae:ae.charAt(0)==="/"?ne?ae:H.replace(k,"$1")+ae:H+ae}const A={exec:function(){}};function I(H){let ae=1,ne,oe;for(;ae<arguments.length;ae++){ne=arguments[ae];for(oe in ne)Object.prototype.hasOwnProperty.call(ne,oe)&&(H[oe]=ne[oe])}return H}function M(H,ae){const ne=H.replace(/\|/g,(q,K,se)=>{let ee=!1,Q=K;for(;--Q>=0&&se[Q]==="\\";)ee=!ee;return ee?"|":" |"}),oe=ne.split(/ \|/);let J=0;if(oe.length>ae)oe.splice(ae);else for(;oe.length<ae;)oe.push("");for(;J<oe.length;J++)oe[J]=oe[J].trim().replace(/\\\|/g,"|");return oe}function B(H,ae,ne){const oe=H.length;if(oe===0)return"";let J=0;for(;J<oe;){const q=H.charAt(oe-J-1);if(q===ae&&!ne)J++;else if(q!==ae&&ne)J++;else break}return H.substr(0,oe-J)}function N(H,ae){if(H.indexOf(ae[1])===-1)return-1;const ne=H.length;let oe=0,J=0;for(;J<ne;J++)if(H[J]==="\\")J++;else if(H[J]===ae[0])oe++;else if(H[J]===ae[1]&&(oe--,oe<0))return J;return-1}function V(H){H&&H.sanitize&&!H.silent&&console.warn("marked(): sanitize and sanitizer parameters are deprecated since version 0.7.0, should not be used and will be removed in the future. Read more here: https://marked.js.org/#/USING_ADVANCED.md#options")}function W(H,ae){if(ae<1)return"";let ne="";for(;ae>1;)ae&1&&(ne+=H),ae>>=1,H+=H;return ne+H}d.exports={escape:f,unescape:h,edit:a,cleanUrl:y,resolveUrl:R,noopTest:A,merge:I,splitCells:M,rtrim:B,findClosingBracket:N,checkSanitizeDeprecation:V,repeatString:W}},93735:function(d,v,e){(function(){var r=e(75041),i=e(67751).utf8,l=e(78034),c=e(67751).bin,f=function(o,h){o.constructor==String?h&&h.encoding==="binary"?o=c.stringToBytes(o):o=i.stringToBytes(o):l(o)?o=Array.prototype.slice.call(o,0):!Array.isArray(o)&&o.constructor!==Uint8Array&&(o=o.toString());for(var u=r.bytesToWords(o),a=o.length*8,x=1732584193,p=-271733879,y=-1732584194,_=271733878,b=0;b<u.length;b++)u[b]=(u[b]<<8|u[b]>>>24)&16711935|(u[b]<<24|u[b]>>>8)&4278255360;u[a>>>5]|=128<<a%32,u[(a+64>>>9<<4)+14]=a;for(var S=f._ff,k=f._gg,R=f._hh,A=f._ii,b=0;b<u.length;b+=16){var I=x,M=p,B=y,N=_;x=S(x,p,y,_,u[b+0],7,-680876936),_=S(_,x,p,y,u[b+1],12,-389564586),y=S(y,_,x,p,u[b+2],17,606105819),p=S(p,y,_,x,u[b+3],22,-1044525330),x=S(x,p,y,_,u[b+4],7,-176418897),_=S(_,x,p,y,u[b+5],12,1200080426),y=S(y,_,x,p,u[b+6],17,-1473231341),p=S(p,y,_,x,u[b+7],22,-45705983),x=S(x,p,y,_,u[b+8],7,1770035416),_=S(_,x,p,y,u[b+9],12,-1958414417),y=S(y,_,x,p,u[b+10],17,-42063),p=S(p,y,_,x,u[b+11],22,-1990404162),x=S(x,p,y,_,u[b+12],7,1804603682),_=S(_,x,p,y,u[b+13],12,-40341101),y=S(y,_,x,p,u[b+14],17,-1502002290),p=S(p,y,_,x,u[b+15],22,1236535329),x=k(x,p,y,_,u[b+1],5,-165796510),_=k(_,x,p,y,u[b+6],9,-1069501632),y=k(y,_,x,p,u[b+11],14,643717713),p=k(p,y,_,x,u[b+0],20,-373897302),x=k(x,p,y,_,u[b+5],5,-701558691),_=k(_,x,p,y,u[b+10],9,38016083),y=k(y,_,x,p,u[b+15],14,-660478335),p=k(p,y,_,x,u[b+4],20,-405537848),x=k(x,p,y,_,u[b+9],5,568446438),_=k(_,x,p,y,u[b+14],9,-1019803690),y=k(y,_,x,p,u[b+3],14,-187363961),p=k(p,y,_,x,u[b+8],20,1163531501),x=k(x,p,y,_,u[b+13],5,-1444681467),_=k(_,x,p,y,u[b+2],9,-51403784),y=k(y,_,x,p,u[b+7],14,1735328473),p=k(p,y,_,x,u[b+12],20,-1926607734),x=R(x,p,y,_,u[b+5],4,-378558),_=R(_,x,p,y,u[b+8],11,-2022574463),y=R(y,_,x,p,u[b+11],16,1839030562),p=R(p,y,_,x,u[b+14],23,-35309556),x=R(x,p,y,_,u[b+1],4,-1530992060),_=R(_,x,p,y,u[b+4],11,1272893353),y=R(y,_,x,p,u[b+7],16,-155497632),p=R(p,y,_,x,u[b+10],23,-1094730640),x=R(x,p,y,_,u[b+13],4,681279174),_=R(_,x,p,y,u[b+0],11,-358537222),y=R(y,_,x,p,u[b+3],16,-722521979),p=R(p,y,_,x,u[b+6],23,76029189),x=R(x,p,y,_,u[b+9],4,-640364487),_=R(_,x,p,y,u[b+12],11,-421815835),y=R(y,_,x,p,u[b+15],16,530742520),p=R(p,y,_,x,u[b+2],23,-995338651),x=A(x,p,y,_,u[b+0],6,-198630844),_=A(_,x,p,y,u[b+7],10,1126891415),y=A(y,_,x,p,u[b+14],15,-1416354905),p=A(p,y,_,x,u[b+5],21,-57434055),x=A(x,p,y,_,u[b+12],6,1700485571),_=A(_,x,p,y,u[b+3],10,-1894986606),y=A(y,_,x,p,u[b+10],15,-1051523),p=A(p,y,_,x,u[b+1],21,-2054922799),x=A(x,p,y,_,u[b+8],6,1873313359),_=A(_,x,p,y,u[b+15],10,-30611744),y=A(y,_,x,p,u[b+6],15,-1560198380),p=A(p,y,_,x,u[b+13],21,1309151649),x=A(x,p,y,_,u[b+4],6,-145523070),_=A(_,x,p,y,u[b+11],10,-1120210379),y=A(y,_,x,p,u[b+2],15,718787259),p=A(p,y,_,x,u[b+9],21,-343485551),x=x+I>>>0,p=p+M>>>0,y=y+B>>>0,_=_+N>>>0}return r.endian([x,p,y,_])};f._ff=function(o,h,u,a,x,p,y){var _=o+(h&u|~h&a)+(x>>>0)+y;return(_<<p|_>>>32-p)+h},f._gg=function(o,h,u,a,x,p,y){var _=o+(h&a|u&~a)+(x>>>0)+y;return(_<<p|_>>>32-p)+h},f._hh=function(o,h,u,a,x,p,y){var _=o+(h^u^a)+(x>>>0)+y;return(_<<p|_>>>32-p)+h},f._ii=function(o,h,u,a,x,p,y){var _=o+(u^(h|~a))+(x>>>0)+y;return(_<<p|_>>>32-p)+h},f._blocksize=16,f._digestsize=16,d.exports=function(o,h){if(o==null)throw new Error("Illegal argument "+o);var u=r.wordsToBytes(f(o,h));return h&&h.asBytes?u:h&&h.asString?c.bytesToString(u):r.bytesToHex(u)}})()},61339:function(d){d.exports=v;function v(e,r){if(!e)throw new Error(r||"Assertion failed")}v.equal=function(r,i,l){if(r!=i)throw new Error(l||"Assertion failed: "+r+" != "+i)}},75918:function(d,v,e){"use strict";e.d(v,{Wi:function(){return o},Z0:function(){return h},aU:function(){return f},eZ:function(){return a},wY:function(){return u}});var r=e(4348),i=e(69323),l=e(13268),c=function(x,p,y,_){function b(S){return S instanceof y?S:new y(function(k){k(S)})}return new(y||(y=Promise))(function(S,k){function R(M){try{I(_.next(M))}catch(B){k(B)}}function A(M){try{I(_.throw(M))}catch(B){k(B)}}function I(M){M.done?S(M.value):b(M.value).then(R,A)}I((_=_.apply(x,p||[])).next())})};class f extends i.JT{constructor(p,y="",_="",b=!0,S){super(),this._onDidChange=this._register(new r.Q5),this.onDidChange=this._onDidChange.event,this._enabled=!0,this._id=p,this._label=y,this._cssClass=_,this._enabled=b,this._actionCallback=S}get id(){return this._id}get label(){return this._label}set label(p){this._setLabel(p)}_setLabel(p){this._label!==p&&(this._label=p,this._onDidChange.fire({label:p}))}get tooltip(){return this._tooltip||""}set tooltip(p){this._setTooltip(p)}_setTooltip(p){this._tooltip!==p&&(this._tooltip=p,this._onDidChange.fire({tooltip:p}))}get class(){return this._cssClass}set class(p){this._setClass(p)}_setClass(p){this._cssClass!==p&&(this._cssClass=p,this._onDidChange.fire({class:p}))}get enabled(){return this._enabled}set enabled(p){this._setEnabled(p)}_setEnabled(p){this._enabled!==p&&(this._enabled=p,this._onDidChange.fire({enabled:p}))}get checked(){return this._checked}set checked(p){this._setChecked(p)}_setChecked(p){this._checked!==p&&(this._checked=p,this._onDidChange.fire({checked:p}))}run(p,y){return c(this,void 0,void 0,function*(){this._actionCallback&&(yield this._actionCallback(p))})}}class o extends i.JT{constructor(){super(...arguments),this._onBeforeRun=this._register(new r.Q5),this.onBeforeRun=this._onBeforeRun.event,this._onDidRun=this._register(new r.Q5),this.onDidRun=this._onDidRun.event}run(p,y){return c(this,void 0,void 0,function*(){if(!p.enabled)return;this._onBeforeRun.fire({action:p});let _;try{yield this.runAction(p,y)}catch(b){_=b}this._onDidRun.fire({action:p,error:_})})}runAction(p,y){return c(this,void 0,void 0,function*(){yield p.run(y)})}}class h extends f{constructor(p){super(h.ID,p,p?"separator text":"separator"),this.checked=!1,this.enabled=!1}}h.ID="vs.actions.separator";class u{constructor(p,y,_,b){this.tooltip="",this.enabled=!0,this.checked=!1,this.id=p,this.label=y,this.class=b,this._actions=_}get actions(){return this._actions}dispose(){}run(){return c(this,void 0,void 0,function*(){})}}class a extends f{constructor(){super(a.ID,l.N("submenu.empty","(empty)"),void 0,!1)}}a.ID="vs.actions.empty"},76068:function(d,v,e){"use strict";e.d(v,{ok:function(){return r}});function r(i,l){if(!i)throw new Error(l?`Assertion failed (${l})`:"Assertion Failed")}},52615:function(d,v,e){"use strict";e.d(v,{CM:function(){return f},JL:function(){return o},dT:function(){return u},fK:function(){return c},lA:function(){return h}});var r=e(4348);class i{constructor(){this._icons=new Map,this._onDidRegister=new r.Q5}add(x){const p=this._icons.get(x.id);p?x.description?p.description=x.description:console.error(`Duplicate registration of codicon ${x.id}`):(this._icons.set(x.id,x),this._onDidRegister.fire(x))}get(x){return this._icons.get(x)}get all(){return this._icons.values()}get onDidRegister(){return this._onDidRegister.event}}const l=new i,c=l;function f(a,x){return new h(a,x)}function o(a){return a?a.replace(/\$\((.*?)\)/g,(x,p)=>` ${p} `).trim():""}class h{constructor(x,p,y){this.id=x,this.definition=p,this.description=y,l.add(this)}get classNames(){return"codicon codicon-"+this.id}get classNamesArray(){return["codicon","codicon-"+this.id]}get cssSelector(){return".codicon.codicon-"+this.id}}var u;(function(a){a.iconNameSegment="[A-Za-z0-9]+",a.iconNameExpression="[A-Za-z0-9\\-]+",a.iconModifierExpression="~[A-Za-z]+";const x=new RegExp(`^(${a.iconNameExpression})(${a.iconModifierExpression})?$`);function p(b){if(b instanceof h)return["codicon","codicon-"+b.id];const S=x.exec(b.id);if(!S)return p(h.error);let[,k,R]=S;const A=["codicon","codicon-"+k];return R&&A.push("codicon-modifier-"+R.substr(1)),A}a.asClassNameArray=p;function y(b){return p(b).join(" ")}a.asClassName=y;function _(b){return"."+p(b).join(".")}a.asCSSSelector=_})(u||(u={})),function(a){a.add=new a("add",{fontCharacter:"\\ea60"}),a.plus=new a("plus",a.add.definition),a.gistNew=new a("gist-new",a.add.definition),a.repoCreate=new a("repo-create",a.add.definition),a.lightbulb=new a("lightbulb",{fontCharacter:"\\ea61"}),a.lightBulb=new a("light-bulb",{fontCharacter:"\\ea61"}),a.repo=new a("repo",{fontCharacter:"\\ea62"}),a.repoDelete=new a("repo-delete",{fontCharacter:"\\ea62"}),a.gistFork=new a("gist-fork",{fontCharacter:"\\ea63"}),a.repoForked=new a("repo-forked",{fontCharacter:"\\ea63"}),a.gitPullRequest=new a("git-pull-request",{fontCharacter:"\\ea64"}),a.gitPullRequestAbandoned=new a("git-pull-request-abandoned",{fontCharacter:"\\ea64"}),a.recordKeys=new a("record-keys",{fontCharacter:"\\ea65"}),a.keyboard=new a("keyboard",{fontCharacter:"\\ea65"}),a.tag=new a("tag",{fontCharacter:"\\ea66"}),a.tagAdd=new a("tag-add",{fontCharacter:"\\ea66"}),a.tagRemove=new a("tag-remove",{fontCharacter:"\\ea66"}),a.person=new a("person",{fontCharacter:"\\ea67"}),a.personFollow=new a("person-follow",{fontCharacter:"\\ea67"}),a.personOutline=new a("person-outline",{fontCharacter:"\\ea67"}),a.personFilled=new a("person-filled",{fontCharacter:"\\ea67"}),a.gitBranch=new a("git-branch",{fontCharacter:"\\ea68"}),a.gitBranchCreate=new a("git-branch-create",{fontCharacter:"\\ea68"}),a.gitBranchDelete=new a("git-branch-delete",{fontCharacter:"\\ea68"}),a.sourceControl=new a("source-control",{fontCharacter:"\\ea68"}),a.mirror=new a("mirror",{fontCharacter:"\\ea69"}),a.mirrorPublic=new a("mirror-public",{fontCharacter:"\\ea69"}),a.star=new a("star",{fontCharacter:"\\ea6a"}),a.starAdd=new a("star-add",{fontCharacter:"\\ea6a"}),a.starDelete=new a("star-delete",{fontCharacter:"\\ea6a"}),a.starEmpty=new a("star-empty",{fontCharacter:"\\ea6a"}),a.comment=new a("comment",{fontCharacter:"\\ea6b"}),a.commentAdd=new a("comment-add",{fontCharacter:"\\ea6b"}),a.alert=new a("alert",{fontCharacter:"\\ea6c"}),a.warning=new a("warning",{fontCharacter:"\\ea6c"}),a.search=new a("search",{fontCharacter:"\\ea6d"}),a.searchSave=new a("search-save",{fontCharacter:"\\ea6d"}),a.logOut=new a("log-out",{fontCharacter:"\\ea6e"}),a.signOut=new a("sign-out",{fontCharacter:"\\ea6e"}),a.logIn=new a("log-in",{fontCharacter:"\\ea6f"}),a.signIn=new a("sign-in",{fontCharacter:"\\ea6f"}),a.eye=new a("eye",{fontCharacter:"\\ea70"}),a.eyeUnwatch=new a("eye-unwatch",{fontCharacter:"\\ea70"}),a.eyeWatch=new a("eye-watch",{fontCharacter:"\\ea70"}),a.circleFilled=new a("circle-filled",{fontCharacter:"\\ea71"}),a.primitiveDot=new a("primitive-dot",{fontCharacter:"\\ea71"}),a.closeDirty=new a("close-dirty",{fontCharacter:"\\ea71"}),a.debugBreakpoint=new a("debug-breakpoint",{fontCharacter:"\\ea71"}),a.debugBreakpointDisabled=new a("debug-breakpoint-disabled",{fontCharacter:"\\ea71"}),a.debugHint=new a("debug-hint",{fontCharacter:"\\ea71"}),a.primitiveSquare=new a("primitive-square",{fontCharacter:"\\ea72"}),a.edit=new a("edit",{fontCharacter:"\\ea73"}),a.pencil=new a("pencil",{fontCharacter:"\\ea73"}),a.info=new a("info",{fontCharacter:"\\ea74"}),a.issueOpened=new a("issue-opened",{fontCharacter:"\\ea74"}),a.gistPrivate=new a("gist-private",{fontCharacter:"\\ea75"}),a.gitForkPrivate=new a("git-fork-private",{fontCharacter:"\\ea75"}),a.lock=new a("lock",{fontCharacter:"\\ea75"}),a.mirrorPrivate=new a("mirror-private",{fontCharacter:"\\ea75"}),a.close=new a("close",{fontCharacter:"\\ea76"}),a.removeClose=new a("remove-close",{fontCharacter:"\\ea76"}),a.x=new a("x",{fontCharacter:"\\ea76"}),a.repoSync=new a("repo-sync",{fontCharacter:"\\ea77"}),a.sync=new a("sync",{fontCharacter:"\\ea77"}),a.clone=new a("clone",{fontCharacter:"\\ea78"}),a.desktopDownload=new a("desktop-download",{fontCharacter:"\\ea78"}),a.beaker=new a("beaker",{fontCharacter:"\\ea79"}),a.microscope=new a("microscope",{fontCharacter:"\\ea79"}),a.vm=new a("vm",{fontCharacter:"\\ea7a"}),a.deviceDesktop=new a("device-desktop",{fontCharacter:"\\ea7a"}),a.file=new a("file",{fontCharacter:"\\ea7b"}),a.fileText=new a("file-text",{fontCharacter:"\\ea7b"}),a.more=new a("more",{fontCharacter:"\\ea7c"}),a.ellipsis=new a("ellipsis",{fontCharacter:"\\ea7c"}),a.kebabHorizontal=new a("kebab-horizontal",{fontCharacter:"\\ea7c"}),a.mailReply=new a("mail-reply",{fontCharacter:"\\ea7d"}),a.reply=new a("reply",{fontCharacter:"\\ea7d"}),a.organization=new a("organization",{fontCharacter:"\\ea7e"}),a.organizationFilled=new a("organization-filled",{fontCharacter:"\\ea7e"}),a.organizationOutline=new a("organization-outline",{fontCharacter:"\\ea7e"}),a.newFile=new a("new-file",{fontCharacter:"\\ea7f"}),a.fileAdd=new a("file-add",{fontCharacter:"\\ea7f"}),a.newFolder=new a("new-folder",{fontCharacter:"\\ea80"}),a.fileDirectoryCreate=new a("file-directory-create",{fontCharacter:"\\ea80"}),a.trash=new a("trash",{fontCharacter:"\\ea81"}),a.trashcan=new a("trashcan",{fontCharacter:"\\ea81"}),a.history=new a("history",{fontCharacter:"\\ea82"}),a.clock=new a("clock",{fontCharacter:"\\ea82"}),a.folder=new a("folder",{fontCharacter:"\\ea83"}),a.fileDirectory=new a("file-directory",{fontCharacter:"\\ea83"}),a.symbolFolder=new a("symbol-folder",{fontCharacter:"\\ea83"}),a.logoGithub=new a("logo-github",{fontCharacter:"\\ea84"}),a.markGithub=new a("mark-github",{fontCharacter:"\\ea84"}),a.github=new a("github",{fontCharacter:"\\ea84"}),a.terminal=new a("terminal",{fontCharacter:"\\ea85"}),a.console=new a("console",{fontCharacter:"\\ea85"}),a.repl=new a("repl",{fontCharacter:"\\ea85"}),a.zap=new a("zap",{fontCharacter:"\\ea86"}),a.symbolEvent=new a("symbol-event",{fontCharacter:"\\ea86"}),a.error=new a("error",{fontCharacter:"\\ea87"}),a.stop=new a("stop",{fontCharacter:"\\ea87"}),a.variable=new a("variable",{fontCharacter:"\\ea88"}),a.symbolVariable=new a("symbol-variable",{fontCharacter:"\\ea88"}),a.array=new a("array",{fontCharacter:"\\ea8a"}),a.symbolArray=new a("symbol-array",{fontCharacter:"\\ea8a"}),a.symbolModule=new a("symbol-module",{fontCharacter:"\\ea8b"}),a.symbolPackage=new a("symbol-package",{fontCharacter:"\\ea8b"}),a.symbolNamespace=new a("symbol-namespace",{fontCharacter:"\\ea8b"}),a.symbolObject=new a("symbol-object",{fontCharacter:"\\ea8b"}),a.symbolMethod=new a("symbol-method",{fontCharacter:"\\ea8c"}),a.symbolFunction=new a("symbol-function",{fontCharacter:"\\ea8c"}),a.symbolConstructor=new a("symbol-constructor",{fontCharacter:"\\ea8c"}),a.symbolBoolean=new a("symbol-boolean",{fontCharacter:"\\ea8f"}),a.symbolNull=new a("symbol-null",{fontCharacter:"\\ea8f"}),a.symbolNumeric=new a("symbol-numeric",{fontCharacter:"\\ea90"}),a.symbolNumber=new a("symbol-number",{fontCharacter:"\\ea90"}),a.symbolStructure=new a("symbol-structure",{fontCharacter:"\\ea91"}),a.symbolStruct=new a("symbol-struct",{fontCharacter:"\\ea91"}),a.symbolParameter=new a("symbol-parameter",{fontCharacter:"\\ea92"}),a.symbolTypeParameter=new a("symbol-type-parameter",{fontCharacter:"\\ea92"}),a.symbolKey=new a("symbol-key",{fontCharacter:"\\ea93"}),a.symbolText=new a("symbol-text",{fontCharacter:"\\ea93"}),a.symbolReference=new a("symbol-reference",{fontCharacter:"\\ea94"}),a.goToFile=new a("go-to-file",{fontCharacter:"\\ea94"}),a.symbolEnum=new a("symbol-enum",{fontCharacter:"\\ea95"}),a.symbolValue=new a("symbol-value",{fontCharacter:"\\ea95"}),a.symbolRuler=new a("symbol-ruler",{fontCharacter:"\\ea96"}),a.symbolUnit=new a("symbol-unit",{fontCharacter:"\\ea96"}),a.activateBreakpoints=new a("activate-breakpoints",{fontCharacter:"\\ea97"}),a.archive=new a("archive",{fontCharacter:"\\ea98"}),a.arrowBoth=new a("arrow-both",{fontCharacter:"\\ea99"}),a.arrowDown=new a("arrow-down",{fontCharacter:"\\ea9a"}),a.arrowLeft=new a("arrow-left",{fontCharacter:"\\ea9b"}),a.arrowRight=new a("arrow-right",{fontCharacter:"\\ea9c"}),a.arrowSmallDown=new a("arrow-small-down",{fontCharacter:"\\ea9d"}),a.arrowSmallLeft=new a("arrow-small-left",{fontCharacter:"\\ea9e"}),a.arrowSmallRight=new a("arrow-small-right",{fontCharacter:"\\ea9f"}),a.arrowSmallUp=new a("arrow-small-up",{fontCharacter:"\\eaa0"}),a.arrowUp=new a("arrow-up",{fontCharacter:"\\eaa1"}),a.bell=new a("bell",{fontCharacter:"\\eaa2"}),a.bold=new a("bold",{fontCharacter:"\\eaa3"}),a.book=new a("book",{fontCharacter:"\\eaa4"}),a.bookmark=new a("bookmark",{fontCharacter:"\\eaa5"}),a.debugBreakpointConditionalUnverified=new a("debug-breakpoint-conditional-unverified",{fontCharacter:"\\eaa6"}),a.debugBreakpointConditional=new a("debug-breakpoint-conditional",{fontCharacter:"\\eaa7"}),a.debugBreakpointConditionalDisabled=new a("debug-breakpoint-conditional-disabled",{fontCharacter:"\\eaa7"}),a.debugBreakpointDataUnverified=new a("debug-breakpoint-data-unverified",{fontCharacter:"\\eaa8"}),a.debugBreakpointData=new a("debug-breakpoint-data",{fontCharacter:"\\eaa9"}),a.debugBreakpointDataDisabled=new a("debug-breakpoint-data-disabled",{fontCharacter:"\\eaa9"}),a.debugBreakpointLogUnverified=new a("debug-breakpoint-log-unverified",{fontCharacter:"\\eaaa"}),a.debugBreakpointLog=new a("debug-breakpoint-log",{fontCharacter:"\\eaab"}),a.debugBreakpointLogDisabled=new a("debug-breakpoint-log-disabled",{fontCharacter:"\\eaab"}),a.briefcase=new a("briefcase",{fontCharacter:"\\eaac"}),a.broadcast=new a("broadcast",{fontCharacter:"\\eaad"}),a.browser=new a("browser",{fontCharacter:"\\eaae"}),a.bug=new a("bug",{fontCharacter:"\\eaaf"}),a.calendar=new a("calendar",{fontCharacter:"\\eab0"}),a.caseSensitive=new a("case-sensitive",{fontCharacter:"\\eab1"}),a.check=new a("check",{fontCharacter:"\\eab2"}),a.checklist=new a("checklist",{fontCharacter:"\\eab3"}),a.chevronDown=new a("chevron-down",{fontCharacter:"\\eab4"}),a.dropDownButton=new a("drop-down-button",a.chevronDown.definition),a.chevronLeft=new a("chevron-left",{fontCharacter:"\\eab5"}),a.chevronRight=new a("chevron-right",{fontCharacter:"\\eab6"}),a.chevronUp=new a("chevron-up",{fontCharacter:"\\eab7"}),a.chromeClose=new a("chrome-close",{fontCharacter:"\\eab8"}),a.chromeMaximize=new a("chrome-maximize",{fontCharacter:"\\eab9"}),a.chromeMinimize=new a("chrome-minimize",{fontCharacter:"\\eaba"}),a.chromeRestore=new a("chrome-restore",{fontCharacter:"\\eabb"}),a.circleOutline=new a("circle-outline",{fontCharacter:"\\eabc"}),a.debugBreakpointUnverified=new a("debug-breakpoint-unverified",{fontCharacter:"\\eabc"}),a.circleSlash=new a("circle-slash",{fontCharacter:"\\eabd"}),a.circuitBoard=new a("circuit-board",{fontCharacter:"\\eabe"}),a.clearAll=new a("clear-all",{fontCharacter:"\\eabf"}),a.clippy=new a("clippy",{fontCharacter:"\\eac0"}),a.closeAll=new a("close-all",{fontCharacter:"\\eac1"}),a.cloudDownload=new a("cloud-download",{fontCharacter:"\\eac2"}),a.cloudUpload=new a("cloud-upload",{fontCharacter:"\\eac3"}),a.code=new a("code",{fontCharacter:"\\eac4"}),a.collapseAll=new a("collapse-all",{fontCharacter:"\\eac5"}),a.colorMode=new a("color-mode",{fontCharacter:"\\eac6"}),a.commentDiscussion=new a("comment-discussion",{fontCharacter:"\\eac7"}),a.compareChanges=new a("compare-changes",{fontCharacter:"\\eafd"}),a.creditCard=new a("credit-card",{fontCharacter:"\\eac9"}),a.dash=new a("dash",{fontCharacter:"\\eacc"}),a.dashboard=new a("dashboard",{fontCharacter:"\\eacd"}),a.database=new a("database",{fontCharacter:"\\eace"}),a.debugContinue=new a("debug-continue",{fontCharacter:"\\eacf"}),a.debugDisconnect=new a("debug-disconnect",{fontCharacter:"\\ead0"}),a.debugPause=new a("debug-pause",{fontCharacter:"\\ead1"}),a.debugRestart=new a("debug-restart",{fontCharacter:"\\ead2"}),a.debugStart=new a("debug-start",{fontCharacter:"\\ead3"}),a.debugStepInto=new a("debug-step-into",{fontCharacter:"\\ead4"}),a.debugStepOut=new a("debug-step-out",{fontCharacter:"\\ead5"}),a.debugStepOver=new a("debug-step-over",{fontCharacter:"\\ead6"}),a.debugStop=new a("debug-stop",{fontCharacter:"\\ead7"}),a.debug=new a("debug",{fontCharacter:"\\ead8"}),a.deviceCameraVideo=new a("device-camera-video",{fontCharacter:"\\ead9"}),a.deviceCamera=new a("device-camera",{fontCharacter:"\\eada"}),a.deviceMobile=new a("device-mobile",{fontCharacter:"\\eadb"}),a.diffAdded=new a("diff-added",{fontCharacter:"\\eadc"}),a.diffIgnored=new a("diff-ignored",{fontCharacter:"\\eadd"}),a.diffModified=new a("diff-modified",{fontCharacter:"\\eade"}),a.diffRemoved=new a("diff-removed",{fontCharacter:"\\eadf"}),a.diffRenamed=new a("diff-renamed",{fontCharacter:"\\eae0"}),a.diff=new a("diff",{fontCharacter:"\\eae1"}),a.discard=new a("discard",{fontCharacter:"\\eae2"}),a.editorLayout=new a("editor-layout",{fontCharacter:"\\eae3"}),a.emptyWindow=new a("empty-window",{fontCharacter:"\\eae4"}),a.exclude=new a("exclude",{fontCharacter:"\\eae5"}),a.extensions=new a("extensions",{fontCharacter:"\\eae6"}),a.eyeClosed=new a("eye-closed",{fontCharacter:"\\eae7"}),a.fileBinary=new a("file-binary",{fontCharacter:"\\eae8"}),a.fileCode=new a("file-code",{fontCharacter:"\\eae9"}),a.fileMedia=new a("file-media",{fontCharacter:"\\eaea"}),a.filePdf=new a("file-pdf",{fontCharacter:"\\eaeb"}),a.fileSubmodule=new a("file-submodule",{fontCharacter:"\\eaec"}),a.fileSymlinkDirectory=new a("file-symlink-directory",{fontCharacter:"\\eaed"}),a.fileSymlinkFile=new a("file-symlink-file",{fontCharacter:"\\eaee"}),a.fileZip=new a("file-zip",{fontCharacter:"\\eaef"}),a.files=new a("files",{fontCharacter:"\\eaf0"}),a.filter=new a("filter",{fontCharacter:"\\eaf1"}),a.flame=new a("flame",{fontCharacter:"\\eaf2"}),a.foldDown=new a("fold-down",{fontCharacter:"\\eaf3"}),a.foldUp=new a("fold-up",{fontCharacter:"\\eaf4"}),a.fold=new a("fold",{fontCharacter:"\\eaf5"}),a.folderActive=new a("folder-active",{fontCharacter:"\\eaf6"}),a.folderOpened=new a("folder-opened",{fontCharacter:"\\eaf7"}),a.gear=new a("gear",{fontCharacter:"\\eaf8"}),a.gift=new a("gift",{fontCharacter:"\\eaf9"}),a.gistSecret=new a("gist-secret",{fontCharacter:"\\eafa"}),a.gist=new a("gist",{fontCharacter:"\\eafb"}),a.gitCommit=new a("git-commit",{fontCharacter:"\\eafc"}),a.gitCompare=new a("git-compare",{fontCharacter:"\\eafd"}),a.gitMerge=new a("git-merge",{fontCharacter:"\\eafe"}),a.githubAction=new a("github-action",{fontCharacter:"\\eaff"}),a.githubAlt=new a("github-alt",{fontCharacter:"\\eb00"}),a.globe=new a("globe",{fontCharacter:"\\eb01"}),a.grabber=new a("grabber",{fontCharacter:"\\eb02"}),a.graph=new a("graph",{fontCharacter:"\\eb03"}),a.gripper=new a("gripper",{fontCharacter:"\\eb04"}),a.heart=new a("heart",{fontCharacter:"\\eb05"}),a.home=new a("home",{fontCharacter:"\\eb06"}),a.horizontalRule=new a("horizontal-rule",{fontCharacter:"\\eb07"}),a.hubot=new a("hubot",{fontCharacter:"\\eb08"}),a.inbox=new a("inbox",{fontCharacter:"\\eb09"}),a.issueClosed=new a("issue-closed",{fontCharacter:"\\eba4"}),a.issueReopened=new a("issue-reopened",{fontCharacter:"\\eb0b"}),a.issues=new a("issues",{fontCharacter:"\\eb0c"}),a.italic=new a("italic",{fontCharacter:"\\eb0d"}),a.jersey=new a("jersey",{fontCharacter:"\\eb0e"}),a.json=new a("json",{fontCharacter:"\\eb0f"}),a.kebabVertical=new a("kebab-vertical",{fontCharacter:"\\eb10"}),a.key=new a("key",{fontCharacter:"\\eb11"}),a.law=new a("law",{fontCharacter:"\\eb12"}),a.lightbulbAutofix=new a("lightbulb-autofix",{fontCharacter:"\\eb13"}),a.linkExternal=new a("link-external",{fontCharacter:"\\eb14"}),a.link=new a("link",{fontCharacter:"\\eb15"}),a.listOrdered=new a("list-ordered",{fontCharacter:"\\eb16"}),a.listUnordered=new a("list-unordered",{fontCharacter:"\\eb17"}),a.liveShare=new a("live-share",{fontCharacter:"\\eb18"}),a.loading=new a("loading",{fontCharacter:"\\eb19"}),a.location=new a("location",{fontCharacter:"\\eb1a"}),a.mailRead=new a("mail-read",{fontCharacter:"\\eb1b"}),a.mail=new a("mail",{fontCharacter:"\\eb1c"}),a.markdown=new a("markdown",{fontCharacter:"\\eb1d"}),a.megaphone=new a("megaphone",{fontCharacter:"\\eb1e"}),a.mention=new a("mention",{fontCharacter:"\\eb1f"}),a.milestone=new a("milestone",{fontCharacter:"\\eb20"}),a.mortarBoard=new a("mortar-board",{fontCharacter:"\\eb21"}),a.move=new a("move",{fontCharacter:"\\eb22"}),a.multipleWindows=new a("multiple-windows",{fontCharacter:"\\eb23"}),a.mute=new a("mute",{fontCharacter:"\\eb24"}),a.noNewline=new a("no-newline",{fontCharacter:"\\eb25"}),a.note=new a("note",{fontCharacter:"\\eb26"}),a.octoface=new a("octoface",{fontCharacter:"\\eb27"}),a.openPreview=new a("open-preview",{fontCharacter:"\\eb28"}),a.package_=new a("package",{fontCharacter:"\\eb29"}),a.paintcan=new a("paintcan",{fontCharacter:"\\eb2a"}),a.pin=new a("pin",{fontCharacter:"\\eb2b"}),a.play=new a("play",{fontCharacter:"\\eb2c"}),a.run=new a("run",{fontCharacter:"\\eb2c"}),a.plug=new a("plug",{fontCharacter:"\\eb2d"}),a.preserveCase=new a("preserve-case",{fontCharacter:"\\eb2e"}),a.preview=new a("preview",{fontCharacter:"\\eb2f"}),a.project=new a("project",{fontCharacter:"\\eb30"}),a.pulse=new a("pulse",{fontCharacter:"\\eb31"}),a.question=new a("question",{fontCharacter:"\\eb32"}),a.quote=new a("quote",{fontCharacter:"\\eb33"}),a.radioTower=new a("radio-tower",{fontCharacter:"\\eb34"}),a.reactions=new a("reactions",{fontCharacter:"\\eb35"}),a.references=new a("references",{fontCharacter:"\\eb36"}),a.refresh=new a("refresh",{fontCharacter:"\\eb37"}),a.regex=new a("regex",{fontCharacter:"\\eb38"}),a.remoteExplorer=new a("remote-explorer",{fontCharacter:"\\eb39"}),a.remote=new a("remote",{fontCharacter:"\\eb3a"}),a.remove=new a("remove",{fontCharacter:"\\eb3b"}),a.replaceAll=new a("replace-all",{fontCharacter:"\\eb3c"}),a.replace=new a("replace",{fontCharacter:"\\eb3d"}),a.repoClone=new a("repo-clone",{fontCharacter:"\\eb3e"}),a.repoForcePush=new a("repo-force-push",{fontCharacter:"\\eb3f"}),a.repoPull=new a("repo-pull",{fontCharacter:"\\eb40"}),a.repoPush=new a("repo-push",{fontCharacter:"\\eb41"}),a.report=new a("report",{fontCharacter:"\\eb42"}),a.requestChanges=new a("request-changes",{fontCharacter:"\\eb43"}),a.rocket=new a("rocket",{fontCharacter:"\\eb44"}),a.rootFolderOpened=new a("root-folder-opened",{fontCharacter:"\\eb45"}),a.rootFolder=new a("root-folder",{fontCharacter:"\\eb46"}),a.rss=new a("rss",{fontCharacter:"\\eb47"}),a.ruby=new a("ruby",{fontCharacter:"\\eb48"}),a.saveAll=new a("save-all",{fontCharacter:"\\eb49"}),a.saveAs=new a("save-as",{fontCharacter:"\\eb4a"}),a.save=new a("save",{fontCharacter:"\\eb4b"}),a.screenFull=new a("screen-full",{fontCharacter:"\\eb4c"}),a.screenNormal=new a("screen-normal",{fontCharacter:"\\eb4d"}),a.searchStop=new a("search-stop",{fontCharacter:"\\eb4e"}),a.server=new a("server",{fontCharacter:"\\eb50"}),a.settingsGear=new a("settings-gear",{fontCharacter:"\\eb51"}),a.settings=new a("settings",{fontCharacter:"\\eb52"}),a.shield=new a("shield",{fontCharacter:"\\eb53"}),a.smiley=new a("smiley",{fontCharacter:"\\eb54"}),a.sortPrecedence=new a("sort-precedence",{fontCharacter:"\\eb55"}),a.splitHorizontal=new a("split-horizontal",{fontCharacter:"\\eb56"}),a.splitVertical=new a("split-vertical",{fontCharacter:"\\eb57"}),a.squirrel=new a("squirrel",{fontCharacter:"\\eb58"}),a.starFull=new a("star-full",{fontCharacter:"\\eb59"}),a.starHalf=new a("star-half",{fontCharacter:"\\eb5a"}),a.symbolClass=new a("symbol-class",{fontCharacter:"\\eb5b"}),a.symbolColor=new a("symbol-color",{fontCharacter:"\\eb5c"}),a.symbolConstant=new a("symbol-constant",{fontCharacter:"\\eb5d"}),a.symbolEnumMember=new a("symbol-enum-member",{fontCharacter:"\\eb5e"}),a.symbolField=new a("symbol-field",{fontCharacter:"\\eb5f"}),a.symbolFile=new a("symbol-file",{fontCharacter:"\\eb60"}),a.symbolInterface=new a("symbol-interface",{fontCharacter:"\\eb61"}),a.symbolKeyword=new a("symbol-keyword",{fontCharacter:"\\eb62"}),a.symbolMisc=new a("symbol-misc",{fontCharacter:"\\eb63"}),a.symbolOperator=new a("symbol-operator",{fontCharacter:"\\eb64"}),a.symbolProperty=new a("symbol-property",{fontCharacter:"\\eb65"}),a.wrench=new a("wrench",{fontCharacter:"\\eb65"}),a.wrenchSubaction=new a("wrench-subaction",{fontCharacter:"\\eb65"}),a.symbolSnippet=new a("symbol-snippet",{fontCharacter:"\\eb66"}),a.tasklist=new a("tasklist",{fontCharacter:"\\eb67"}),a.telescope=new a("telescope",{fontCharacter:"\\eb68"}),a.textSize=new a("text-size",{fontCharacter:"\\eb69"}),a.threeBars=new a("three-bars",{fontCharacter:"\\eb6a"}),a.thumbsdown=new a("thumbsdown",{fontCharacter:"\\eb6b"}),a.thumbsup=new a("thumbsup",{fontCharacter:"\\eb6c"}),a.tools=new a("tools",{fontCharacter:"\\eb6d"}),a.triangleDown=new a("triangle-down",{fontCharacter:"\\eb6e"}),a.triangleLeft=new a("triangle-left",{fontCharacter:"\\eb6f"}),a.triangleRight=new a("triangle-right",{fontCharacter:"\\eb70"}),a.triangleUp=new a("triangle-up",{fontCharacter:"\\eb71"}),a.twitter=new a("twitter",{fontCharacter:"\\eb72"}),a.unfold=new a("unfold",{fontCharacter:"\\eb73"}),a.unlock=new a("unlock",{fontCharacter:"\\eb74"}),a.unmute=new a("unmute",{fontCharacter:"\\eb75"}),a.unverified=new a("unverified",{fontCharacter:"\\eb76"}),a.verified=new a("verified",{fontCharacter:"\\eb77"}),a.versions=new a("versions",{fontCharacter:"\\eb78"}),a.vmActive=new a("vm-active",{fontCharacter:"\\eb79"}),a.vmOutline=new a("vm-outline",{fontCharacter:"\\eb7a"}),a.vmRunning=new a("vm-running",{fontCharacter:"\\eb7b"}),a.watch=new a("watch",{fontCharacter:"\\eb7c"}),a.whitespace=new a("whitespace",{fontCharacter:"\\eb7d"}),a.wholeWord=new a("whole-word",{fontCharacter:"\\eb7e"}),a.window=new a("window",{fontCharacter:"\\eb7f"}),a.wordWrap=new a("word-wrap",{fontCharacter:"\\eb80"}),a.zoomIn=new a("zoom-in",{fontCharacter:"\\eb81"}),a.zoomOut=new a("zoom-out",{fontCharacter:"\\eb82"}),a.listFilter=new a("list-filter",{fontCharacter:"\\eb83"}),a.listFlat=new a("list-flat",{fontCharacter:"\\eb84"}),a.listSelection=new a("list-selection",{fontCharacter:"\\eb85"}),a.selection=new a("selection",{fontCharacter:"\\eb85"}),a.listTree=new a("list-tree",{fontCharacter:"\\eb86"}),a.debugBreakpointFunctionUnverified=new a("debug-breakpoint-function-unverified",{fontCharacter:"\\eb87"}),a.debugBreakpointFunction=new a("debug-breakpoint-function",{fontCharacter:"\\eb88"}),a.debugBreakpointFunctionDisabled=new a("debug-breakpoint-function-disabled",{fontCharacter:"\\eb88"}),a.debugStackframeActive=new a("debug-stackframe-active",{fontCharacter:"\\eb89"}),a.debugStackframeDot=new a("debug-stackframe-dot",{fontCharacter:"\\eb8a"}),a.debugStackframe=new a("debug-stackframe",{fontCharacter:"\\eb8b"}),a.debugStackframeFocused=new a("debug-stackframe-focused",{fontCharacter:"\\eb8b"}),a.debugBreakpointUnsupported=new a("debug-breakpoint-unsupported",{fontCharacter:"\\eb8c"}),a.symbolString=new a("symbol-string",{fontCharacter:"\\eb8d"}),a.debugReverseContinue=new a("debug-reverse-continue",{fontCharacter:"\\eb8e"}),a.debugStepBack=new a("debug-step-back",{fontCharacter:"\\eb8f"}),a.debugRestartFrame=new a("debug-restart-frame",{fontCharacter:"\\eb90"}),a.callIncoming=new a("call-incoming",{fontCharacter:"\\eb92"}),a.callOutgoing=new a("call-outgoing",{fontCharacter:"\\eb93"}),a.menu=new a("menu",{fontCharacter:"\\eb94"}),a.expandAll=new a("expand-all",{fontCharacter:"\\eb95"}),a.feedback=new a("feedback",{fontCharacter:"\\eb96"}),a.groupByRefType=new a("group-by-ref-type",{fontCharacter:"\\eb97"}),a.ungroupByRefType=new a("ungroup-by-ref-type",{fontCharacter:"\\eb98"}),a.account=new a("account",{fontCharacter:"\\eb99"}),a.bellDot=new a("bell-dot",{fontCharacter:"\\eb9a"}),a.debugConsole=new a("debug-console",{fontCharacter:"\\eb9b"}),a.library=new a("library",{fontCharacter:"\\eb9c"}),a.output=new a("output",{fontCharacter:"\\eb9d"}),a.runAll=new a("run-all",{fontCharacter:"\\eb9e"}),a.syncIgnored=new a("sync-ignored",{fontCharacter:"\\eb9f"}),a.pinned=new a("pinned",{fontCharacter:"\\eba0"}),a.githubInverted=new a("github-inverted",{fontCharacter:"\\eba1"}),a.debugAlt=new a("debug-alt",{fontCharacter:"\\eb91"}),a.serverProcess=new a("server-process",{fontCharacter:"\\eba2"}),a.serverEnvironment=new a("server-environment",{fontCharacter:"\\eba3"}),a.pass=new a("pass",{fontCharacter:"\\eba4"}),a.stopCircle=new a("stop-circle",{fontCharacter:"\\eba5"}),a.playCircle=new a("play-circle",{fontCharacter:"\\eba6"}),a.record=new a("record",{fontCharacter:"\\eba7"}),a.debugAltSmall=new a("debug-alt-small",{fontCharacter:"\\eba8"}),a.vmConnect=new a("vm-connect",{fontCharacter:"\\eba9"}),a.cloud=new a("cloud",{fontCharacter:"\\ebaa"}),a.merge=new a("merge",{fontCharacter:"\\ebab"}),a.exportIcon=new a("export",{fontCharacter:"\\ebac"}),a.graphLeft=new a("graph-left",{fontCharacter:"\\ebad"}),a.magnet=new a("magnet",{fontCharacter:"\\ebae"}),a.notebook=new a("notebook",{fontCharacter:"\\ebaf"}),a.redo=new a("redo",{fontCharacter:"\\ebb0"}),a.checkAll=new a("check-all",{fontCharacter:"\\ebb1"}),a.pinnedDirty=new a("pinned-dirty",{fontCharacter:"\\ebb2"}),a.passFilled=new a("pass-filled",{fontCharacter:"\\ebb3"}),a.circleLargeFilled=new a("circle-large-filled",{fontCharacter:"\\ebb4"}),a.circleLargeOutline=new a("circle-large-outline",{fontCharacter:"\\ebb5"}),a.combine=new a("combine",{fontCharacter:"\\ebb6"}),a.gather=new a("gather",{fontCharacter:"\\ebb6"}),a.table=new a("table",{fontCharacter:"\\ebb7"}),a.variableGroup=new a("variable-group",{fontCharacter:"\\ebb8"}),a.typeHierarchy=new a("type-hierarchy",{fontCharacter:"\\ebb9"}),a.typeHierarchySub=new a("type-hierarchy-sub",{fontCharacter:"\\ebba"}),a.typeHierarchySuper=new a("type-hierarchy-super",{fontCharacter:"\\ebbb"}),a.gitPullRequestCreate=new a("git-pull-request-create",{fontCharacter:"\\ebbc"}),a.runAbove=new a("run-above",{fontCharacter:"\\ebbd"}),a.runBelow=new a("run-below",{fontCharacter:"\\ebbe"}),a.notebookTemplate=new a("notebook-template",{fontCharacter:"\\ebbf"}),a.debugRerun=new a("debug-rerun",{fontCharacter:"\\ebc0"}),a.workspaceTrusted=new a("workspace-trusted",{fontCharacter:"\\ebc1"}),a.workspaceUntrusted=new a("workspace-untrusted",{fontCharacter:"\\ebc2"}),a.workspaceUnspecified=new a("workspace-unspecified",{fontCharacter:"\\ebc3"}),a.terminalCmd=new a("terminal-cmd",{fontCharacter:"\\ebc4"}),a.terminalDebian=new a("terminal-debian",{fontCharacter:"\\ebc5"}),a.terminalLinux=new a("terminal-linux",{fontCharacter:"\\ebc6"}),a.terminalPowershell=new a("terminal-powershell",{fontCharacter:"\\ebc7"}),a.terminalTmux=new a("terminal-tmux",{fontCharacter:"\\ebc8"}),a.terminalUbuntu=new a("terminal-ubuntu",{fontCharacter:"\\ebc9"}),a.terminalBash=new a("terminal-bash",{fontCharacter:"\\ebca"}),a.arrowSwap=new a("arrow-swap",{fontCharacter:"\\ebcb"}),a.copy=new a("copy",{fontCharacter:"\\ebcc"}),a.personAdd=new a("person-add",{fontCharacter:"\\ebcd"}),a.filterFilled=new a("filter-filled",{fontCharacter:"\\ebce"}),a.wand=new a("wand",{fontCharacter:"\\ebcf"}),a.debugLineByLine=new a("debug-line-by-line",{fontCharacter:"\\ebd0"}),a.inspect=new a("inspect",{fontCharacter:"\\ebd1"}),a.layers=new a("layers",{fontCharacter:"\\ebd2"}),a.layersDot=new a("layers-dot",{fontCharacter:"\\ebd3"}),a.layersActive=new a("layers-active",{fontCharacter:"\\ebd4"}),a.compass=new a("compass",{fontCharacter:"\\ebd5"}),a.compassDot=new a("compass-dot",{fontCharacter:"\\ebd6"}),a.compassActive=new a("compass-active",{fontCharacter:"\\ebd7"}),a.azure=new a("azure",{fontCharacter:"\\ebd8"}),a.issueDraft=new a("issue-draft",{fontCharacter:"\\ebd9"}),a.gitPullRequestClosed=new a("git-pull-request-closed",{fontCharacter:"\\ebda"}),a.gitPullRequestDraft=new a("git-pull-request-draft",{fontCharacter:"\\ebdb"}),a.debugAll=new a("debug-all",{fontCharacter:"\\ebdc"}),a.debugCoverage=new a("debug-coverage",{fontCharacter:"\\ebdd"}),a.runErrors=new a("run-errors",{fontCharacter:"\\ebde"}),a.folderLibrary=new a("folder-library",{fontCharacter:"\\ebdf"}),a.debugContinueSmall=new a("debug-continue-small",{fontCharacter:"\\ebe0"}),a.beakerStop=new a("beaker-stop",{fontCharacter:"\\ebe1"}),a.graphLine=new a("graph-line",{fontCharacter:"\\ebe2"}),a.graphScatter=new a("graph-scatter",{fontCharacter:"\\ebe3"}),a.pieChart=new a("pie-chart",{fontCharacter:"\\ebe4"}),a.bracket=new a("bracket",a.json.definition),a.bracketDot=new a("bracket-dot",{fontCharacter:"\\ebe5"}),a.bracketError=new a("bracket-error",{fontCharacter:"\\ebe6"}),a.lockSmall=new a("lock-small",{fontCharacter:"\\ebe7"}),a.azureDevops=new a("azure-devops",{fontCharacter:"\\ebe8"}),a.verifiedFilled=new a("verified-filled",{fontCharacter:"\\ebe9"})}(h||(h={}))},79881:function(d,v,e){"use strict";e.d(v,{B8:function(){return p},Cp:function(){return c},F0:function(){return u},L6:function(){return x},VV:function(){return h},b1:function(){return a},dL:function(){return l},ri:function(){return f}});class r{constructor(){this.listeners=[],this.unexpectedErrorHandler=function(_){setTimeout(()=>{throw _.stack?new Error(_.message+`
`+_.stack):_},0)}}emit(_){this.listeners.forEach(b=>{b(_)})}onUnexpectedError(_){this.unexpectedErrorHandler(_),this.emit(_)}onUnexpectedExternalError(_){this.unexpectedErrorHandler(_)}}const i=new r;function l(y){h(y)||i.onUnexpectedError(y)}function c(y){h(y)||i.onUnexpectedExternalError(y)}function f(y){if(y instanceof Error){let{name:_,message:b}=y;const S=y.stacktrace||y.stack;return{$isError:!0,name:_,message:b,stack:S}}return y}const o="Canceled";function h(y){return y instanceof Error&&y.name===o&&y.message===o}function u(){const y=new Error(o);return y.name=y.message,y}function a(y){return y?new Error(`Illegal argument: ${y}`):new Error("Illegal argument")}function x(y){return y?new Error(`Illegal state: ${y}`):new Error("Illegal state")}class p extends Error{constructor(_){super("NotSupported"),_&&(this.message=_)}}},4348:function(d,v,e){"use strict";e.d(v,{D0:function(){return p},E7:function(){return y},K3:function(){return x},Q5:function(){return a},ZD:function(){return _},ju:function(){return f}});var r=e(79881),i=e(69323),l=e(34502),c=e(95830),f;(function(b){b.None=()=>i.JT.None;function S(se){return(ee,Q=null,le)=>{let z=!1,$;return $=se(ie=>{if(!z)return $?$.dispose():z=!0,ee.call(Q,ie)},null,le),z&&$.dispose(),$}}b.once=S;function k(se,ee){return N((Q,le=null,z)=>se($=>Q.call(le,ee($)),null,z))}b.map=k;function R(se,ee){return N((Q,le=null,z)=>se($=>{ee($),Q.call(le,$)},null,z))}b.forEach=R;function A(se,ee){return N((Q,le=null,z)=>se($=>ee($)&&Q.call(le,$),null,z))}b.filter=A;function I(se){return se}b.signal=I;function M(...se){return(ee,Q=null,le)=>(0,i.F8)(...se.map(z=>z($=>ee.call(Q,$),null,le)))}b.any=M;function B(se,ee,Q){let le=Q;return k(se,z=>(le=ee(le,z),le))}b.reduce=B;function N(se){let ee;const Q=new a({onFirstListenerAdd(){ee=se(Q.fire,Q)},onLastListenerRemove(){ee.dispose()}});return Q.event}function V(se,ee,Q=100,le=!1,z){let $,ie,_e,Ae=0;const Pe=new a({leakWarningThreshold:z,onFirstListenerAdd(){$=se(We=>{Ae++,ie=ee(ie,We),le&&!_e&&(Pe.fire(ie),ie=void 0),clearTimeout(_e),_e=setTimeout(()=>{const $e=ie;ie=void 0,_e=void 0,(!le||Ae>1)&&Pe.fire($e),Ae=0},Q)})},onLastListenerRemove(){$.dispose()}});return Pe.event}b.debounce=V;function W(se,ee=(Q,le)=>Q===le){let Q=!0,le;return A(se,z=>{const $=Q||!ee(z,le);return Q=!1,le=z,$})}b.latch=W;function H(se,ee){return[b.filter(se,ee),b.filter(se,Q=>!ee(Q))]}b.split=H;function ae(se,ee=!1,Q=[]){let le=Q.slice(),z=se(_e=>{le?le.push(_e):ie.fire(_e)});const $=()=>{le&&le.forEach(_e=>ie.fire(_e)),le=null},ie=new a({onFirstListenerAdd(){z||(z=se(_e=>ie.fire(_e)))},onFirstListenerDidAdd(){le&&(ee?setTimeout($):$())},onLastListenerRemove(){z&&z.dispose(),z=null}});return ie.event}b.buffer=ae;class ne{constructor(ee){this.event=ee}map(ee){return new ne(k(this.event,ee))}forEach(ee){return new ne(R(this.event,ee))}filter(ee){return new ne(A(this.event,ee))}reduce(ee,Q){return new ne(B(this.event,ee,Q))}latch(){return new ne(W(this.event))}debounce(ee,Q=100,le=!1,z){return new ne(V(this.event,ee,Q,le,z))}on(ee,Q,le){return this.event(ee,Q,le)}once(ee,Q,le){return S(this.event)(ee,Q,le)}}function oe(se){return new ne(se)}b.chain=oe;function J(se,ee,Q=le=>le){const le=(..._e)=>ie.fire(Q(..._e)),z=()=>se.on(ee,le),$=()=>se.removeListener(ee,le),ie=new a({onFirstListenerAdd:z,onLastListenerRemove:$});return ie.event}b.fromNodeEventEmitter=J;function q(se,ee,Q=le=>le){const le=(..._e)=>ie.fire(Q(..._e)),z=()=>se.addEventListener(ee,le),$=()=>se.removeEventListener(ee,le),ie=new a({onFirstListenerAdd:z,onLastListenerRemove:$});return ie.event}b.fromDOMEventEmitter=q;function K(se){return new Promise(ee=>S(se)(ee))}b.toPromise=K})(f||(f={}));class o{constructor(S){this._listenerCount=0,this._invocationCount=0,this._elapsedOverall=0,this._name=`${S}_${o._idPool++}`}start(S){this._stopWatch=new c.G(!0),this._listenerCount=S}stop(){if(this._stopWatch){const S=this._stopWatch.elapsed();this._elapsedOverall+=S,this._invocationCount+=1,console.info(`did FIRE ${this._name}: elapsed_ms: ${S.toFixed(5)}, listener: ${this._listenerCount} (elapsed_overall: ${this._elapsedOverall.toFixed(2)}, invocations: ${this._invocationCount})`),this._stopWatch=void 0}}}o._idPool=0;let h=-1;class u{constructor(S,k=Math.random().toString(18).slice(2,5)){this.customThreshold=S,this.name=k,this._warnCountdown=0}dispose(){this._stacks&&this._stacks.clear()}check(S){let k=h;if(typeof this.customThreshold=="number"&&(k=this.customThreshold),k<=0||S<k)return;this._stacks||(this._stacks=new Map);const R=new Error().stack.split(`
`).slice(3).join(`
`),A=this._stacks.get(R)||0;if(this._stacks.set(R,A+1),this._warnCountdown-=1,this._warnCountdown<=0){this._warnCountdown=k*.5;let I,M=0;for(const[B,N]of this._stacks)(!I||M<N)&&(I=B,M=N);console.warn(`[${this.name}] potential listener LEAK detected, having ${S} listeners already. MOST frequent listener (${M}):`),console.warn(I)}return()=>{const I=this._stacks.get(R)||0;this._stacks.set(R,I-1)}}}class a{constructor(S){var k;this._disposed=!1,this._options=S,this._leakageMon=h>0?new u(this._options&&this._options.leakWarningThreshold):void 0,this._perfMon=!((k=this._options)===null||k===void 0)&&k._profName?new o(this._options._profName):void 0}get event(){return this._event||(this._event=(S,k,R)=>{var A;this._listeners||(this._listeners=new l.S);const I=this._listeners.isEmpty();I&&this._options&&this._options.onFirstListenerAdd&&this._options.onFirstListenerAdd(this);const M=this._listeners.push(k?[S,k]:S);I&&this._options&&this._options.onFirstListenerDidAdd&&this._options.onFirstListenerDidAdd(this),this._options&&this._options.onListenerDidAdd&&this._options.onListenerDidAdd(this,S,k);const B=(A=this._leakageMon)===null||A===void 0?void 0:A.check(this._listeners.size),N=(0,i.OF)(()=>{B&&B(),this._disposed||(M(),this._options&&this._options.onLastListenerRemove&&(this._listeners&&!this._listeners.isEmpty()||this._options.onLastListenerRemove(this)))});return R instanceof i.SL?R.add(N):Array.isArray(R)&&R.push(N),N}),this._event}fire(S){var k,R;if(this._listeners){this._deliveryQueue||(this._deliveryQueue=new l.S);for(let A of this._listeners)this._deliveryQueue.push([A,S]);for((k=this._perfMon)===null||k===void 0||k.start(this._deliveryQueue.size);this._deliveryQueue.size>0;){const[A,I]=this._deliveryQueue.shift();try{typeof A=="function"?A.call(void 0,I):A[0].call(A[1],I)}catch(M){(0,r.dL)(M)}}(R=this._perfMon)===null||R===void 0||R.stop()}}dispose(){var S,k,R,A,I;this._disposed||(this._disposed=!0,(S=this._listeners)===null||S===void 0||S.clear(),(k=this._deliveryQueue)===null||k===void 0||k.clear(),(A=(R=this._options)===null||R===void 0?void 0:R.onLastListenerRemove)===null||A===void 0||A.call(R),(I=this._leakageMon)===null||I===void 0||I.dispose())}}class x extends a{constructor(S){super(S),this._isPaused=0,this._eventQueue=new l.S,this._mergeFn=S==null?void 0:S.merge}pause(){this._isPaused++}resume(){if(this._isPaused!==0&&--this._isPaused===0)if(this._mergeFn){const S=Array.from(this._eventQueue);this._eventQueue.clear(),super.fire(this._mergeFn(S))}else for(;!this._isPaused&&this._eventQueue.size!==0;)super.fire(this._eventQueue.shift())}fire(S){this._listeners&&(this._isPaused!==0?this._eventQueue.push(S):super.fire(S))}}class p extends x{constructor(S){var k;super(S),this._delay=(k=S.delay)!==null&&k!==void 0?k:100}fire(S){this._handle||(this.pause(),this._handle=setTimeout(()=>{this._handle=void 0,this.resume()},this._delay)),super.fire(S)}}class y{constructor(){this.buffers=[]}wrapEvent(S){return(k,R,A)=>S(I=>{const M=this.buffers[this.buffers.length-1];M?M.push(()=>k.call(R,I)):k.call(R,I)},void 0,A)}bufferEvents(S){const k=[];this.buffers.push(k);const R=S();return this.buffers.pop(),k.forEach(A=>A()),R}}class _{constructor(){this.listening=!1,this.inputEvent=f.None,this.inputEventListener=i.JT.None,this.emitter=new a({onFirstListenerDidAdd:()=>{this.listening=!0,this.inputEventListener=this.inputEvent(this.emitter.fire,this.emitter)},onLastListenerRemove:()=>{this.listening=!1,this.inputEventListener.dispose()}}),this.event=this.emitter.event}set input(S){this.inputEvent=S,this.listening&&(this.inputEventListener.dispose(),this.inputEventListener=S(this.emitter.fire,this.emitter))}dispose(){this.inputEventListener.dispose(),this.emitter.dispose()}}},17845:function(d,v,e){"use strict";e.d(v,{I:function(){return r}});function r(i){const l=this;let c=!1,f;return function(){return c||(c=!0,f=i.apply(l,arguments)),f}}},88226:function(d,v,e){"use strict";e.d(v,{$:function(){return r}});var r;(function(i){function l(M){return M&&typeof M=="object"&&typeof M[Symbol.iterator]=="function"}i.is=l;const c=Object.freeze([]);function f(){return c}i.empty=f;function*o(M){yield M}i.single=o;function h(M){return M||c}i.from=h;function u(M){return!M||M[Symbol.iterator]().next().done===!0}i.isEmpty=u;function a(M){return M[Symbol.iterator]().next().value}i.first=a;function x(M,B){for(const N of M)if(B(N))return!0;return!1}i.some=x;function p(M,B){for(const N of M)if(B(N))return N}i.find=p;function*y(M,B){for(const N of M)B(N)&&(yield N)}i.filter=y;function*_(M,B){let N=0;for(const V of M)yield B(V,N++)}i.map=_;function*b(...M){for(const B of M)for(const N of B)yield N}i.concat=b;function*S(M){for(const B of M)for(const N of B)yield N}i.concatNested=S;function k(M,B,N){let V=N;for(const W of M)V=B(V,W);return V}i.reduce=k;function*R(M,B,N=M.length){for(B<0&&(B+=M.length),N<0?N+=M.length:N>M.length&&(N=M.length);B<N;B++)yield M[B]}i.slice=R;function A(M,B=Number.POSITIVE_INFINITY){const N=[];if(B===0)return[N,M];const V=M[Symbol.iterator]();for(let W=0;W<B;W++){const H=V.next();if(H.done)return[N,i.empty()];N.push(H.value)}return[N,{[Symbol.iterator](){return V}}]}i.consume=A;function I(M,B,N=(V,W)=>V===W){const V=M[Symbol.iterator](),W=B[Symbol.iterator]();for(;;){const H=V.next(),ae=W.next();if(H.done!==ae.done)return!1;if(H.done)return!0;if(!N(H.value,ae.value))return!1}}i.equals=I})(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 I},OF:function(){return S},SL:function(){return k},Wf:function(){return y},XK:function(){return A},dk:function(){return x}});var r=e(17845),i=e(88226);const l=!1;let c=null;function f(M){c=M}if(l){const M="__is_disposable_tracked__";f(new class{trackDisposable(B){const N=new Error("Potentially leaked disposable").stack;setTimeout(()=>{B[M]||console.log(N)},3e3)}setParent(B,N){if(B&&B!==R.None)try{B[M]=!0}catch(V){}}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(V){B.push(V)}if(B.length===1)throw B[0];if(B.length>1)throw new p(B);return Array.isArray(M)?[]:M}else if(M)return M.dispose(),M}function b(...M){const B=S(()=>_(M));return a(M,B),B}function S(M){const B=o({dispose:(0,r.I)(()=>{h(B),M()})});return B}class k{constructor(){this._toDispose=new Set,this._isDisposed=!1,o(this)}dispose(){this._isDisposed||(h(this),this._isDisposed=!0,this.clear())}clear(){try{_(this._toDispose.values())}finally{this._toDispose.clear()}}add(B){if(!B)return B;if(B===this)throw new Error("Cannot register a disposable on itself!");return u(B,this),this._isDisposed?k.DISABLE_DISPOSED_WARNING||console.warn(new Error("Trying to add a disposable to a DisposableStore that has already been disposed of. The added object will be leaked!").stack):this._toDispose.add(B),B}}k.DISABLE_DISPOSED_WARNING=!1;class R{constructor(){this._store=new k,o(this),u(this._store,this)}dispose(){h(this),this._store.dispose()}_register(B){if(B===this)throw new Error("Cannot register a disposable on itself!");return this._store.add(B)}}R.None=Object.freeze({dispose(){}});class A{constructor(){this._isDisposed=!1,o(this)}get value(){return this._isDisposed?void 0:this._value}set value(B){var N;this._isDisposed||B===this._value||((N=this._value)===null||N===void 0||N.dispose(),B&&u(B,this),this._value=B)}clear(){this.value=void 0}dispose(){var B;this._isDisposed=!0,h(this),(B=this._value)===null||B===void 0||B.dispose(),this._value=void 0}clearAndLeak(){const B=this._value;return this._value=void 0,B&&u(B,null),B}}class I{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 V},ED:function(){return I},IJ:function(){return B},OS:function(){return ne},WE:function(){return H},dz:function(){return M},gn:function(){return W},li:function(){return S},r:function(){return q},tY:function(){return N},xS:function(){return ae}});var r=e(97671),i;const l="en";let c=!1,f=!1,o=!1,h=!1,u=!1,a=!1,x=!1,p,y=null,_=null,b;const S=typeof self=="object"?self:typeof e.g=="object"?e.g:{};let k;typeof S.vscode!="undefined"&&typeof S.vscode.process!="undefined"?k=S.vscode.process:typeof r!="undefined"&&(k=r);const R=typeof((i=k==null?void 0:k.versions)===null||i===void 0?void 0:i.electron)=="string"&&k.type==="renderer";if(typeof navigator=="object"&&!R)b=navigator.userAgent,c=b.indexOf("Windows")>=0,f=b.indexOf("Macintosh")>=0,x=(b.indexOf("Macintosh")>=0||b.indexOf("iPad")>=0||b.indexOf("iPhone")>=0)&&!!navigator.maxTouchPoints&&navigator.maxTouchPoints>0,o=b.indexOf("Linux")>=0,a=!0,p=navigator.language,y=p;else if(typeof k=="object"){c=k.platform==="win32",f=k.platform==="darwin",o=k.platform==="linux",h=o&&!!k.env.SNAP&&!!k.env.SNAP_REVISION,p=l,y=l;const K=k.env.VSCODE_NLS_CONFIG;if(K)try{const se=JSON.parse(K),ee=se.availableLanguages["*"];p=se.locale,y=ee||l,_=se._translationsConfigFile}catch(se){}u=!0}else console.error("Unable to resolve platform.");let A=0;f?A=1:c?A=3:o&&(A=2);const I=c,M=f,B=o,N=u,V=a,W=x,H=b,ae=function(){if(S.setImmediate)return S.setImmediate.bind(S);if(typeof S.postMessage=="function"&&!S.importScripts){let ee=[];S.addEventListener("message",le=>{if(le.data&&le.data.vscodeSetImmediateId)for(let z=0,$=ee.length;z<$;z++){const ie=ee[z];if(ie.id===le.data.vscodeSetImmediateId){ee.splice(z,1),ie.callback();return}}});let Q=0;return le=>{const z=++Q;ee.push({id:z,callback:le}),S.postMessage({vscodeSetImmediateId:z},"*")}}if(typeof(k==null?void 0:k.nextTick)=="function")return k.nextTick.bind(k);const se=Promise.resolve();return ee=>se.then(ee)}(),ne=f||x?2:c?1:3;let oe=!0,J=!1;function q(){if(!J){J=!0;const K=new Uint8Array(2);K[0]=1,K[1]=2,oe=new Uint16Array(K.buffer)[0]===513}return oe}},95830:function(d,v,e){"use strict";e.d(v,{G:function(){return l}});var r=e(23345);const i=r.li.performance&&typeof r.li.performance.now=="function";class l{constructor(f){this._highResolution=i&&f,this._startTime=this._now(),this._stopTime=-1}static create(f=!0){return new l(f)}stop(){this._stopTime=this._now()}elapsed(){return this._stopTime!==-1?this._stopTime-this._startTime:this._now()-this._startTime}_now(){return this._highResolution?r.li.performance.now():Date.now()}}},82983:function(d,v,e){"use strict";e.d(v,{$i:function(){return Ae},C8:function(){return bt},GF:function(){return p},HO:function(){return Q},IO:function(){return y},K7:function(){return Lt},Kw:function(){return Mt},LC:function(){return S},Mh:function(){return ae},P1:function(){return ne},PJ:function(){return tr},Qe:function(){return Pe},R1:function(){return x},RP:function(){return ie},S6:function(){return je},TT:function(){return I},Ut:function(){return z},V8:function(){return k},WU:function(){return l},YK:function(){return J},YU:function(){return c},ZG:function(){return oe},ZH:function(){return K},ab:function(){return We},c1:function(){return kt},df:function(){return V},ec:function(){return f},fi:function(){return wt},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 gt},oL:function(){return u},ok:function(){return H},ow:function(){return R},qq:function(){return W},qu:function(){return A},rL:function(){return q},uS:function(){return Zt},un:function(){return a},uq:function(){return b},vH:function(){return ee},xe:function(){return $e},zY:function(){return M}});function r(xe){return!xe||typeof xe!="string"?!0:xe.trim().length===0}const i=/{(\d+)}/g;function l(xe,...ke){return ke.length===0?xe:xe.replace(i,function(Ge,He){const Ye=parseInt(He,10);return isNaN(Ye)||Ye<0||Ye>=ke.length?Ge:ke[Ye]})}function c(xe){return xe.replace(/[<>&]/g,function(ke){switch(ke){case"<":return"&lt;";case">":return"&gt;";case"&":return"&amp;";default:return ke}})}function f(xe){return xe.replace(/[\\\{\}\*\+\?\|\^\$\.\[\]\(\)]/g,"\\$&")}function o(xe,ke=" "){const Ge=h(xe,ke);return u(Ge,ke)}function h(xe,ke){if(!xe||!ke)return xe;const Ge=ke.length;if(Ge===0||xe.length===0)return xe;let He=0;for(;xe.indexOf(ke,He)===He;)He=He+Ge;return xe.substring(He)}function u(xe,ke){if(!xe||!ke)return xe;const Ge=ke.length,He=xe.length;if(Ge===0||He===0)return xe;let Ye=He,dt=-1;for(;dt=xe.lastIndexOf(ke,Ye-1),!(dt===-1||dt+Ge!==Ye);){if(dt===0)return"";Ye=dt}return xe.substring(0,Ye)}function a(xe){return xe.replace(/[\-\\\{\}\+\?\|\^\$\.\,\[\]\(\)\#\s]/g,"\\$&").replace(/[\*]/g,".*")}function x(xe){return xe.replace(/\*/g,"")}function p(xe,ke,Ge={}){if(!xe)throw new Error("Cannot create regex from empty string");ke||(xe=f(xe)),Ge.wholeWord&&(/\B/.test(xe.charAt(0))||(xe="\\b"+xe),/\B/.test(xe.charAt(xe.length-1))||(xe=xe+"\\b"));let He="";return Ge.global&&(He+="g"),Ge.matchCase||(He+="i"),Ge.multiline&&(He+="m"),Ge.unicode&&(He+="u"),new RegExp(xe,He)}function y(xe){return xe.source==="^"||xe.source==="^$"||xe.source==="$"||xe.source==="^\\s*$"?!1:!!(xe.exec("")&&xe.lastIndex===0)}function _(xe){return(xe.global?"g":"")+(xe.ignoreCase?"i":"")+(xe.multiline?"m":"")+(xe.unicode?"u":"")}function b(xe){return xe.split(/\r\n|\r|\n/)}function S(xe){for(let ke=0,Ge=xe.length;ke<Ge;ke++){const He=xe.charCodeAt(ke);if(He!==32&&He!==9)return ke}return-1}function k(xe,ke=0,Ge=xe.length){for(let He=ke;He<Ge;He++){const Ye=xe.charCodeAt(He);if(Ye!==32&&Ye!==9)return xe.substring(ke,He)}return xe.substring(ke,Ge)}function R(xe,ke=xe.length-1){for(let Ge=ke;Ge>=0;Ge--){const He=xe.charCodeAt(Ge);if(He!==32&&He!==9)return Ge}return-1}function A(xe,ke){return xe<ke?-1:xe>ke?1:0}function I(xe,ke,Ge=0,He=xe.length,Ye=0,dt=ke.length){for(;Ge<He&&Ye<dt;Ge++,Ye++){let qt=xe.charCodeAt(Ge),Me=ke.charCodeAt(Ye);if(qt<Me)return-1;if(qt>Me)return 1}const xt=He-Ge,nr=dt-Ye;return xt<nr?-1:xt>nr?1:0}function M(xe,ke){return B(xe,ke,0,xe.length,0,ke.length)}function B(xe,ke,Ge=0,He=xe.length,Ye=0,dt=ke.length){for(;Ge<He&&Ye<dt;Ge++,Ye++){let qt=xe.charCodeAt(Ge),Me=ke.charCodeAt(Ye);if(qt===Me)continue;if(qt>=128||Me>=128)return I(xe.toLowerCase(),ke.toLowerCase(),Ge,He,Ye,dt);N(qt)&&(qt-=32),N(Me)&&(Me-=32);const qe=qt-Me;if(qe!==0)return qe}const xt=He-Ge,nr=dt-Ye;return xt<nr?-1:xt>nr?1:0}function N(xe){return xe>=97&&xe<=122}function V(xe){return xe>=65&&xe<=90}function W(xe,ke){return xe.length===ke.length&&B(xe,ke)===0}function H(xe,ke){const Ge=ke.length;return ke.length>xe.length?!1:B(xe,ke,0,Ge)===0}function ae(xe,ke){let Ge,He=Math.min(xe.length,ke.length);for(Ge=0;Ge<He;Ge++)if(xe.charCodeAt(Ge)!==ke.charCodeAt(Ge))return Ge;return He}function ne(xe,ke){let Ge,He=Math.min(xe.length,ke.length);const Ye=xe.length-1,dt=ke.length-1;for(Ge=0;Ge<He;Ge++)if(xe.charCodeAt(Ye-Ge)!==ke.charCodeAt(dt-Ge))return Ge;return He}function oe(xe){return 55296<=xe&&xe<=56319}function J(xe){return 56320<=xe&&xe<=57343}function q(xe,ke){return(xe-55296<<10)+(ke-56320)+65536}function K(xe,ke,Ge){const He=xe.charCodeAt(Ge);if(oe(He)&&Ge+1<ke){const Ye=xe.charCodeAt(Ge+1);if(J(Ye))return q(He,Ye)}return He}function se(xe,ke){const Ge=xe.charCodeAt(ke-1);if(J(Ge)&&ke>1){const He=xe.charCodeAt(ke-2);if(oe(He))return q(He,Ge)}return Ge}function ee(xe,ke){const Ge=Ft.getInstance(),He=ke,Ye=xe.length,dt=K(xe,Ye,ke);ke+=dt>=65536?2:1;let xt=Ge.getGraphemeBreakType(dt);for(;ke<Ye;){const nr=K(xe,Ye,ke),qt=Ge.getGraphemeBreakType(nr);if(wt(xt,qt))break;ke+=nr>=65536?2:1,xt=qt}return ke-He}function Q(xe,ke){const Ge=Ft.getInstance(),He=ke,Ye=se(xe,ke);ke-=Ye>=65536?2:1;let dt=Ge.getGraphemeBreakType(Ye);for(;ke>0;){const xt=se(xe,ke),nr=Ge.getGraphemeBreakType(xt);if(wt(nr,dt))break;ke-=xt>=65536?2:1,dt=nr}return He-ke}const le=/(?:[\u05BE\u05C0\u05C3\u05C6\u05D0-\u05F4\u0608\u060B\u060D\u061B-\u064A\u066D-\u066F\u0671-\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u0710\u0712-\u072F\u074D-\u07A5\u07B1-\u07EA\u07F4\u07F5\u07FA-\u0815\u081A\u0824\u0828\u0830-\u0858\u085E-\u08BD\u200F\uFB1D\uFB1F-\uFB28\uFB2A-\uFD3D\uFD50-\uFDFC\uFE70-\uFEFC]|\uD802[\uDC00-\uDD1B\uDD20-\uDE00\uDE10-\uDE33\uDE40-\uDEE4\uDEEB-\uDF35\uDF40-\uDFFF]|\uD803[\uDC00-\uDCFF]|\uD83A[\uDC00-\uDCCF\uDD00-\uDD43\uDD50-\uDFFF]|\uD83B[\uDC00-\uDEBB])/;function z(xe){return le.test(xe)}const $=/(?:[\u231A\u231B\u23F0\u23F3\u2600-\u27BF\u2B50\u2B55]|\uD83C[\uDDE6-\uDDFF\uDF00-\uDFFF]|\uD83D[\uDC00-\uDE4F\uDE80-\uDEFC\uDFE0-\uDFEB]|\uD83E[\uDD00-\uDDFF\uDE70-\uDED6])/;function ie(xe){return $.test(xe)}const _e=/^[\t\n\r\x20-\x7E]*$/;function Ae(xe){return _e.test(xe)}const Pe=/[\u2028\u2029]/;function We(xe){return Pe.test(xe)}function $e(xe){for(let ke=0,Ge=xe.length;ke<Ge;ke++)if(Lt(xe.charCodeAt(ke)))return!0;return!1}function Lt(xe){return xe=+xe,xe>=11904&&xe<=55215||xe>=63744&&xe<=64255||xe>=65281&&xe<=65374}function bt(xe){return xe>=127462&&xe<=127487||xe===8986||xe===8987||xe===9200||xe===9203||xe>=9728&&xe<=10175||xe===11088||xe===11093||xe>=127744&&xe<=128591||xe>=128640&&xe<=128764||xe>=128992&&xe<=129003||xe>=129280&&xe<=129535||xe>=129648&&xe<=129750}const kt="\uFEFF";function Zt(xe){return!!(xe&&xe.length>0&&xe.charCodeAt(0)===65279)}function Mt(xe,ke=!1){return xe?(ke&&(xe=xe.replace(/\\./g,"")),xe.toLowerCase()!==xe):!1}function tr(xe){return xe=xe%52,xe<26?String.fromCharCode(97+xe):String.fromCharCode(65+xe-26)}function je(xe){return Ft.getInstance().getGraphemeBreakType(xe)}function wt(xe,ke){return xe===0?ke!==5&&ke!==7:xe===2&&ke===3?!1:xe===4||xe===2||xe===3||ke===4||ke===2||ke===3?!0:!(xe===8&&(ke===8||ke===9||ke===11||ke===12)||(xe===11||xe===9)&&(ke===9||ke===10)||(xe===12||xe===10)&&ke===10||ke===5||ke===13||ke===7||xe===1||xe===13&&ke===14||xe===6&&ke===6)}class Ft{constructor(){this._data=tt()}static getInstance(){return Ft._INSTANCE||(Ft._INSTANCE=new Ft),Ft._INSTANCE}getGraphemeBreakType(ke){if(ke<32)return ke===10?3:ke===13?2:4;if(ke<127)return 0;const Ge=this._data,He=Ge.length/3;let Ye=1;for(;Ye<=He;)if(ke<Ge[3*Ye])Ye=2*Ye;else if(ke>Ge[3*Ye+1])Ye=2*Ye+1;else return Ge[3*Ye+2];return 0}}Ft._INSTANCE=null;function tt(){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 gt(xe,ke){if(xe===0)return 0;const Ge=ft(xe,ke);if(Ge!==void 0)return Ge;const He=se(ke,xe);return xe-=Qe(He),xe}function ft(xe,ke){let Ge=se(ke,xe);for(xe-=Qe(Ge);Ne(Ge)||Ge===65039||Ge===8419;){if(xe===0)return;Ge=se(ke,xe),xe-=Qe(Ge)}if(bt(Ge)){if(xe>=0){const He=se(ke,xe);He===8205&&(xe-=Qe(He))}return xe}}function Qe(xe){return xe>=65536?2:1}function Ne(xe){return 127995<=xe&&xe<=127999}},72999:function(d,v,e){"use strict";e.d(v,{$E:function(){return S},$K:function(){return h},D8:function(){return y},HD:function(){return i},IU:function(){return k},Jp:function(){return u},Kn:function(){return l},cW:function(){return x},f6:function(){return R},hj:function(){return c},jn:function(){return f},kJ:function(){return r},mf:function(){return p},o8:function(){return o},p_:function(){return a},vE:function(){return A}});function r(I){return Array.isArray(I)}function i(I){return typeof I=="string"}function l(I){return typeof I=="object"&&I!==null&&!Array.isArray(I)&&!(I instanceof RegExp)&&!(I instanceof Date)}function c(I){return typeof I=="number"&&!isNaN(I)}function f(I){return I===!0||I===!1}function o(I){return typeof I=="undefined"}function h(I){return!u(I)}function u(I){return o(I)||I===null}function a(I,M){if(!I)throw new Error(M?`Unexpected type, expected '${M}'`:"Unexpected type")}function x(I){if(u(I))throw new Error("Assertion Failed: argument is undefined or null");return I}function p(I){return typeof I=="function"}function y(I,M){const B=Math.min(I.length,M.length);for(let N=0;N<B;N++)_(I[N],M[N])}function _(I,M){if(i(M)){if(typeof I!==M)throw new Error(`argument does not match constraint: typeof ${M}`)}else if(p(M)){try{if(I instanceof M)return}catch(B){}if(!u(I)&&I.constructor===M||M.length===1&&M.call(void 0,I)===!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(I){let M=[],B=Object.getPrototypeOf(I);for(;Object.prototype!==B;)M=M.concat(Object.getOwnPropertyNames(B)),B=Object.getPrototypeOf(B);return M}function S(I){const M=[];for(const B of b(I))typeof I[B]=="function"&&M.push(B);return M}function k(I,M){const B=V=>function(){const W=Array.prototype.slice.call(arguments,0);return M(V,W)};let N={};for(const V of I)N[V]=B(V);return N}function R(I){return I===null?void 0:I}function A(I,M="Unreachable"){throw new Error(M)}},13268:function(d,v,e){"use strict";e.d(v,{N:function(){return i}});function r(l,c){let f;return c.length===0?f=l:f=l.replace(/\{(\d+)\}/g,function(o,h){const u=h[0];return typeof c[u]!="undefined"?c[u]:o}),f}function i(l,c,...f){return r(c,f)}},96236:function(d,v,e){"use strict";e.d(v,{BH:function(){return k},NZ:function(){return R},U8:function(){return A},co:function(){return S},eH:function(){return b},vr:function(){return _}});var r=e(75918),i=e(52615),l=e(4348),c=e(88226),f=e(69323),o=e(34502),h=e(35884),u=e(90689),a=e(16925),x=e(49055),p=function(I,M,B,N){var V=arguments.length,W=V<3?M:N===null?N=Object.getOwnPropertyDescriptor(M,B):N,H;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")W=Reflect.decorate(I,M,B,N);else for(var ae=I.length-1;ae>=0;ae--)(H=I[ae])&&(W=(V<3?H(W):V>3?H(M,B,W):H(M,B))||W);return V>3&&W&&Object.defineProperty(M,B,W),W},y=function(I,M){return function(B,N){M(B,N,I)}};function _(I){return I.command!==void 0}class b{constructor(M){this.id=b._idPool++,this._debugName=M}}b._idPool=0,b.CommandPalette=new b("CommandPalette"),b.EditorContext=new b("EditorContext"),b.SimpleEditorContext=new b("SimpleEditorContext"),b.EditorContextCopy=new b("EditorContextCopy"),b.EditorContextPeek=new b("EditorContextPeek"),b.MenubarEditMenu=new b("MenubarEditMenu"),b.MenubarCopy=new b("MenubarCopy"),b.MenubarGoMenu=new b("MenubarGoMenu"),b.MenubarSelectionMenu=new b("MenubarSelectionMenu"),b.InlineCompletionsActions=new b("InlineCompletionsActions");const S=(0,a.yh)("menuService"),k=new class{constructor(){this._commands=new Map,this._menuItems=new Map,this._onDidChangeMenu=new l.Q5,this.onDidChangeMenu=this._onDidChangeMenu.event,this._commandPaletteChangeEvent={has:I=>I===b.CommandPalette}}addCommand(I){return this.addCommands(c.$.single(I))}addCommands(I){for(const M of I)this._commands.set(M.id,M);return this._onDidChangeMenu.fire(this._commandPaletteChangeEvent),(0,f.OF)(()=>{let M=!1;for(const B of I)M=this._commands.delete(B.id)||M;M&&this._onDidChangeMenu.fire(this._commandPaletteChangeEvent)})}getCommand(I){return this._commands.get(I)}getCommands(){const I=new Map;return this._commands.forEach((M,B)=>I.set(B,M)),I}appendMenuItem(I,M){return this.appendMenuItems(c.$.single({id:I,item:M}))}appendMenuItems(I){const M=new Set,B=new o.S;for(const{id:N,item:V}of I){let W=this._menuItems.get(N);W||(W=new o.S,this._menuItems.set(N,W)),B.push(W.push(V)),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(I){let M;return this._menuItems.has(I)?M=[...this._menuItems.get(I)]:M=[],I===b.CommandPalette&&this._appendImplicitItems(M),M}_appendImplicitItems(I){const M=new Set;for(const B of I)_(B)&&(M.add(B.command.id),B.alt&&M.add(B.alt.id));this._commands.forEach((B,N)=>{M.has(N)||I.push({command:B})})}};class R extends r.wY{constructor(M,B,N,V){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=V}get actions(){const M=[],B=this._menuService.createMenu(this.item.submenu,this._contextKeyService),N=B.getActions(this._options);B.dispose();for(const[,V]of N)V.length>0&&(M.push(...V),M.push(new r.Z0));return M.length&&M.pop(),M}}let A=class s0{constructor(M,B,N,V,W){var H,ae;if(this._commandService=W,this.id=M.id,this.label=N!=null&&N.renderShortTitle&&M.shortTitle?typeof M.shortTitle=="string"?M.shortTitle:M.shortTitle.value:typeof M.title=="string"?M.title:M.title.value,this.tooltip=(ae=typeof M.tooltip=="string"?M.tooltip:(H=M.tooltip)===null||H===void 0?void 0:H.value)!==null&&ae!==void 0?ae:"",this.enabled=!M.precondition||V.contextMatchesRules(M.precondition),this.checked=void 0,M.toggled){const ne=M.toggled.condition?M.toggled:{condition:M.toggled};this.checked=V.contextMatchesRules(ne.condition),this.checked&&ne.tooltip&&(this.tooltip=typeof ne.tooltip=="string"?ne.tooltip:ne.tooltip.value),ne.title&&(this.label=typeof ne.title=="string"?ne.title:ne.title.value)}this.item=M,this.alt=B?new s0(B,void 0,N,V,W):void 0,this._options=N,x.kS.isThemeIcon(M.icon)&&(this.class=i.dT.asClassName(M.icon))}dispose(){}run(...M){var B,N;let V=[];return!((B=this._options)===null||B===void 0)&&B.arg&&(V=[...V,this._options.arg]),!((N=this._options)===null||N===void 0)&&N.shouldForwardArgs&&(V=[...V,...M]),this._commandService.executeCommand(this.id,...V)}};A=p([y(3,u.i6),y(4,h.H)],A)},35884:function(d,v,e){"use strict";e.d(v,{H:function(){return h},P:function(){return u}});var r=e(4348),i=e(88226),l=e(69323),c=e(34502),f=e(72999),o=e(16925);const h=(0,o.yh)("commandService"),u=new class{constructor(){this._commands=new Map,this._onDidRegisterCommand=new r.Q5,this.onDidRegisterCommand=this._onDidRegisterCommand.event}registerCommand(a,x){if(!a)throw new Error("invalid command");if(typeof a=="string"){if(!x)throw new Error("invalid command");return this.registerCommand({id:a,handler:x})}if(a.description){const S=[];for(let R of a.description.args)S.push(R.constraint);const k=a.handler;a.handler=function(R,...A){return(0,f.D8)(A,S),k(R,...A)}}const{id:p}=a;let y=this._commands.get(p);y||(y=new c.S,this._commands.set(p,y));let _=y.unshift(a),b=(0,l.OF)(()=>{_();const S=this._commands.get(p);S!=null&&S.isEmpty()&&this._commands.delete(p)});return this._onDidRegisterCommand.fire(p),b}registerCommandAlias(a,x){return u.registerCommand(a,(p,...y)=>p.get(h).executeCommand(x,...y))}getCommand(a){const x=this._commands.get(a);if(!(!x||x.isEmpty()))return i.$.first(x)}getCommands(){const a=new Map;for(const x of this._commands.keys()){const p=this.getCommand(x);p&&a.set(x,p)}return a}};u.registerCommand("noop",()=>{})},90689:function(d,v,e){"use strict";e.d(v,{Ao:function(){return h},Eq:function(){return q},Fb:function(){return u},K8:function(){return ee},i6:function(){return J},uy:function(){return oe}});var r=e(23345),i=e(82983),l=e(16925);let c=r.WE||"";const f=new Map;f.set("false",!1),f.set("true",!0),f.set("isMac",r.dz),f.set("isLinux",r.IJ),f.set("isWindows",r.ED),f.set("isWeb",r.$L),f.set("isMacNative",r.dz&&!r.$L),f.set("isEdge",c.indexOf("Edg/")>=0),f.set("isFirefox",c.indexOf("Firefox")>=0),f.set("isChrome",c.indexOf("Chrome")>=0),f.set("isSafari",c.indexOf("Safari")>=0);const o=Object.prototype.hasOwnProperty;class h{static has(z){return y.create(z)}static equals(z,$){return _.create(z,$)}static regex(z,$){return V.create(z,$)}static not(z){return R.create(z)}static and(...z){return ae.create(z,null)}static or(...z){return ne.create(z,null,!0)}static deserialize(z,$=!1){if(z)return this._deserializeOrExpression(z,$)}static _deserializeOrExpression(z,$){let ie=z.split("||");return ne.create(ie.map(_e=>this._deserializeAndExpression(_e,$)),null,!0)}static _deserializeAndExpression(z,$){let ie=z.split("&&");return ae.create(ie.map(_e=>this._deserializeOne(_e,$)),null)}static _deserializeOne(z,$){if(z=z.trim(),z.indexOf("!=")>=0){let ie=z.split("!=");return k.create(ie[0].trim(),this._deserializeValue(ie[1],$))}if(z.indexOf("==")>=0){let ie=z.split("==");return _.create(ie[0].trim(),this._deserializeValue(ie[1],$))}if(z.indexOf("=~")>=0){let ie=z.split("=~");return V.create(ie[0].trim(),this._deserializeRegexValue(ie[1],$))}if(z.indexOf(" in ")>=0){let ie=z.split(" in ");return b.create(ie[0].trim(),ie[1].trim())}if(/^[^<=>]+>=[^<=>]+$/.test(z)){const ie=z.split(">=");return M.create(ie[0].trim(),ie[1].trim())}if(/^[^<=>]+>[^<=>]+$/.test(z)){const ie=z.split(">");return I.create(ie[0].trim(),ie[1].trim())}if(/^[^<=>]+<=[^<=>]+$/.test(z)){const ie=z.split("<=");return N.create(ie[0].trim(),ie[1].trim())}if(/^[^<=>]+<[^<=>]+$/.test(z)){const ie=z.split("<");return B.create(ie[0].trim(),ie[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 ie=/^'([^']*)'$/.exec(z);return ie?ie[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 ie=z.indexOf("/"),_e=z.lastIndexOf("/");if(ie===_e||ie<0){if($)throw new Error(`bad regexp-value '${z}', missing /-enclosure`);return console.warn(`bad regexp-value '${z}', missing /-enclosure`),null}let Ae=z.slice(ie+1,_e),Pe=z[_e+1]==="i"?"i":"";try{return new RegExp(Ae,Pe)}catch(We){if($)throw new Error(`bad regexp-value '${z}', parse error: ${We}`);return console.warn(`bad regexp-value '${z}', parse error: ${We}`),null}}}function u(le,z){const $=le?le.substituteConstants():void 0,ie=z?z.substituteConstants():void 0;return!$&&!ie?!0:!$||!ie?!1:$.equals(ie)}function a(le,z){return le.cmp(z)}class x{constructor(){this.type=0}cmp(z){return this.type-z.type}equals(z){return z.type===this.type}substituteConstants(){return this}evaluate(z){return!1}serialize(){return"false"}keys(){return[]}negate(){return p.INSTANCE}}x.INSTANCE=new x;class p{constructor(){this.type=1}cmp(z){return this.type-z.type}equals(z){return z.type===this.type}substituteConstants(){return this}evaluate(z){return!0}serialize(){return"true"}keys(){return[]}negate(){return x.INSTANCE}}p.INSTANCE=new p;class y{constructor(z,$){this.key=z,this.negated=$,this.type=2}static create(z,$=null){const ie=f.get(z);return typeof ie=="boolean"?ie?p.INSTANCE:x.INSTANCE:new y(z,$)}cmp(z){return z.type!==this.type?this.type-z.type:K(this.key,z.key)}equals(z){return z.type===this.type?this.key===z.key:!1}substituteConstants(){const z=f.get(this.key);return typeof z=="boolean"?z?p.INSTANCE:x.INSTANCE:this}evaluate(z){return!!z.getValue(this.key)}serialize(){return this.key}keys(){return[this.key]}negate(){return this.negated||(this.negated=R.create(this.key,this)),this.negated}}class _{constructor(z,$,ie){this.key=z,this.value=$,this.negated=ie,this.type=4}static create(z,$,ie=null){if(typeof $=="boolean")return $?y.create(z,ie):R.create(z,ie);const _e=f.get(z);return typeof _e=="boolean"?$===(_e?"true":"false")?p.INSTANCE:x.INSTANCE:new _(z,$,ie)}cmp(z){return z.type!==this.type?this.type-z.type:se(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:se(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),ie=z.getValue(this.key);return Array.isArray($)?$.indexOf(ie)>=0:typeof ie=="string"&&typeof $=="object"&&$!==null?o.call($,ie):!1}serialize(){return`${this.key} in '${this.valueKey}'`}keys(){return[this.key,this.valueKey]}negate(){return this.negated||(this.negated=S.create(this)),this.negated}}class S{constructor(z){this._actual=z,this.type=11}static create(z){return new S(z)}cmp(z){return z.type!==this.type?this.type-z.type:this._actual.cmp(z._actual)}equals(z){return z.type===this.type?this._actual.equals(z._actual):!1}substituteConstants(){return this}evaluate(z){return!this._actual.evaluate(z)}serialize(){throw new Error("Method not implemented.")}keys(){return this._actual.keys()}negate(){return this._actual}}class k{constructor(z,$,ie){this.key=z,this.value=$,this.negated=ie,this.type=5}static create(z,$,ie=null){if(typeof $=="boolean")return $?R.create(z,ie):y.create(z,ie);const _e=f.get(z);return typeof _e=="boolean"?$===(_e?"true":"false")?x.INSTANCE:p.INSTANCE:new k(z,$,ie)}cmp(z){return z.type!==this.type?this.type-z.type:se(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 ie=f.get(z);return typeof ie=="boolean"?ie?x.INSTANCE:p.INSTANCE:new R(z,$)}cmp(z){return z.type!==this.type?this.type-z.type:K(this.key,z.key)}equals(z){return z.type===this.type?this.key===z.key:!1}substituteConstants(){const z=f.get(this.key);return typeof z=="boolean"?z?x.INSTANCE:p.INSTANCE:this}evaluate(z){return!z.getValue(this.key)}serialize(){return`!${this.key}`}keys(){return[this.key]}negate(){return this.negated||(this.negated=y.create(this.key,this)),this.negated}}function A(le,z){if(typeof le=="string"){const $=parseFloat(le);isNaN($)||(le=$)}return typeof le=="string"||typeof le=="number"?z(le):x.INSTANCE}class I{constructor(z,$,ie){this.key=z,this.value=$,this.negated=ie,this.type=12}static create(z,$,ie=null){return A($,_e=>new I(z,_e,ie))}cmp(z){return z.type!==this.type?this.type-z.type:se(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,$,ie){this.key=z,this.value=$,this.negated=ie,this.type=13}static create(z,$,ie=null){return A($,_e=>new M(z,_e,ie))}cmp(z){return z.type!==this.type?this.type-z.type:se(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,$,ie){this.key=z,this.value=$,this.negated=ie,this.type=14}static create(z,$,ie=null){return A($,_e=>new B(z,_e,ie))}cmp(z){return z.type!==this.type?this.type-z.type:se(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,$,ie){this.key=z,this.value=$,this.negated=ie,this.type=15}static create(z,$,ie=null){return A($,_e=>new N(z,_e,ie))}cmp(z){return z.type!==this.type?this.type-z.type:se(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=I.create(this.key,this.value,this)),this.negated}}class V{constructor(z,$){this.key=z,this.regexp=$,this.type=7,this.negated=null}static create(z,$){return new V(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:"",ie=z.regexp?z.regexp.source:"";return $<ie?-1:$>ie?1:0}equals(z){if(z.type===this.type){const $=this.regexp?this.regexp.source:"",ie=z.regexp?z.regexp.source:"";return this.key===z.key&&$===ie}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=W.create(this)),this.negated}}class W{constructor(z){this._actual=z,this.type=8}static create(z){return new W(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 H(le){let z=null;for(let $=0,ie=le.length;$<ie;$++){const _e=le[$].substituteConstants();if(le[$]!==_e&&z===null){z=[];for(let Ae=0;Ae<$;Ae++)z[Ae]=le[Ae]}z!==null&&(z[$]=_e)}return z===null?le:z}class ae{constructor(z,$){this.expr=z,this.negated=$,this.type=6}static create(z,$){return ae._normalizeArr(z,$)}cmp(z){if(z.type!==this.type)return this.type-z.type;if(this.expr.length<z.expr.length)return-1;if(this.expr.length>z.expr.length)return 1;for(let $=0,ie=this.expr.length;$<ie;$++){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,ie=this.expr.length;$<ie;$++)if(!this.expr[$].equals(z.expr[$]))return!1;return!0}return!1}substituteConstants(){const z=H(this.expr);return z===this.expr?this:ae.create(z,this.negated)}evaluate(z){for(let $=0,ie=this.expr.length;$<ie;$++)if(!this.expr[$].evaluate(z))return!1;return!0}static _normalizeArr(z,$){const ie=[];let _e=!1;for(const Ae of z)if(Ae){if(Ae.type===1){_e=!0;continue}if(Ae.type===0)return x.INSTANCE;if(Ae.type===6){ie.push(...Ae.expr);continue}ie.push(Ae)}if(ie.length===0&&_e)return p.INSTANCE;if(ie.length!==0){if(ie.length===1)return ie[0];ie.sort(a);for(let Ae=1;Ae<ie.length;Ae++)ie[Ae-1].equals(ie[Ae])&&(ie.splice(Ae,1),Ae--);if(ie.length===1)return ie[0];for(;ie.length>1;){const Ae=ie[ie.length-1];if(Ae.type!==9)break;ie.pop();const Pe=ie.pop(),We=ie.length===0,$e=ne.create(Ae.expr.map(Lt=>ae.create([Lt,Pe],null)),null,We);$e&&(ie.push($e),ie.sort(a))}return ie.length===1?ie[0]:new ae(ie,$)}}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=ne.create(z,this,!0)}return this.negated}}class ne{constructor(z,$){this.expr=z,this.negated=$,this.type=9}static create(z,$,ie){return ne._normalizeArr(z,$,ie)}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,ie=this.expr.length;$<ie;$++){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,ie=this.expr.length;$<ie;$++)if(!this.expr[$].equals(z.expr[$]))return!1;return!0}return!1}substituteConstants(){const z=H(this.expr);return z===this.expr?this:ne.create(z,this.negated,!1)}evaluate(z){for(let $=0,ie=this.expr.length;$<ie;$++)if(this.expr[$].evaluate(z))return!0;return!1}static _normalizeArr(z,$,ie){let _e=[],Ae=!1;if(z){for(let Pe=0,We=z.length;Pe<We;Pe++){const $e=z[Pe];if($e){if($e.type===0){Ae=!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&&Ae)return x.INSTANCE;_e.sort(a)}if(_e.length!==0){if(_e.length===1)return _e[0];for(let Pe=1;Pe<_e.length;Pe++)_e[Pe-1].equals(_e[Pe])&&(_e.splice(Pe,1),Pe--);if(_e.length===1)return _e[0];if(ie){for(let Pe=0;Pe<_e.length;Pe++)for(let We=Pe+1;We<_e.length;We++)ee(_e[Pe],_e[We])&&(_e.splice(We,1),We--);if(_e.length===1)return _e[0]}return new ne(_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(),ie=z.shift(),_e=[];for(const Pe of Q($))for(const We of Q(ie))_e.push(ae.create([Pe,We],null));const Ae=z.length===0;z.unshift(ne.create(_e,null,Ae))}this.negated=z[0]}return this.negated}}class oe extends y{constructor(z,$,ie){super(z,null),this._defaultValue=$,typeof ie=="object"?oe._info.push(Object.assign(Object.assign({},ie),{key:z})):ie!==!0&&oe._info.push({key:z,description:ie,type:$!=null?typeof $:void 0})}static all(){return oe._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)}}oe._info=[];const J=(0,l.yh)("contextKeyService"),q="setContext";function K(le,z){return le<z?-1:le>z?1:0}function se(le,z,$,ie){return le<$?-1:le>$?1:z<ie?-1:z>ie?1:0}function ee(le,z){if(z.type===6&&le.type!==9&&le.type!==6){for(const _e of z.expr)if(le.equals(_e))return!0}const $=le.negate(),ie=Q($).concat(Q(z));ie.sort(a);for(let _e=0;_e<ie.length;_e++){const Pe=ie[_e].negate();for(let We=_e+1;We<ie.length;We++){const $e=ie[We];if(Pe.equals($e))return!0}}return!1}function Q(le){return le.type===9?le.expr:[le]}},16925:function(d,v,e){"use strict";e.d(v,{I8:function(){return r},TG:function(){return i},jt:function(){return f},yh:function(){return c}});var r;(function(o){o.serviceIds=new Map,o.DI_TARGET="$di$target",o.DI_DEPENDENCIES="$di$dependencies";function h(u){return u[o.DI_DEPENDENCIES]||[]}o.getServiceDependencies=h})(r||(r={}));const i=c("instantiationService");function l(o,h,u,a){h[r.DI_TARGET]===h?h[r.DI_DEPENDENCIES].push({id:o,index:u,optional:a}):(h[r.DI_DEPENDENCIES]=[{id:o,index:u,optional:a}],h[r.DI_TARGET]=h)}function c(o){if(r.serviceIds.has(o))return r.serviceIds.get(o);const h=function(u,a,x){if(arguments.length!==3)throw new Error("@IServiceName-decorator can only be used to decorate a parameter");l(h,u,x,!1)};return h.toString=()=>o,r.serviceIds.set(o,h),h}function f(o){return function(h,u,a){if(arguments.length!==3)throw new Error("@optional-decorator can only be used to decorate a parameter");l(o,h,a,!0)}}},44650:function(d,v,e){"use strict";e.d(v,{B:function(){return c}});var r=e(76068),i=e(72999);class l{constructor(){this.data=new Map}add(o,h){r.ok(i.HD(o)),r.ok(i.Kn(h)),r.ok(!this.data.has(o),"There is already an extension with this id"),this.data.set(o,h)}as(o){return this.data.get(o)||null}}const c=new l},66213:function(d,v,e){"use strict";e.d(v,{e:function(){return r}});var r;(function(i){i.DARK="dark",i.LIGHT="light",i.HIGH_CONTRAST="hc"})(r||(r={}))},49055:function(d,v,e){"use strict";e.d(v,{EN:function(){return a},IP:function(){return y},Ic:function(){return S},XE:function(){return h},bB:function(){return k},kS:function(){return x},m6:function(){return p}});var r=e(52615),i=e(4348),l=e(69323),c=e(16925),f=e(44650),o=e(66213);const h=(0,c.yh)("themeService");var u;(function(R){function A(I){return I&&typeof I=="object"&&typeof I.id=="string"}R.isThemeColor=A})(u||(u={}));function a(R){return{id:R}}var x;(function(R){function A(W){return W&&typeof W=="object"&&typeof W.id=="string"&&(typeof W.color=="undefined"||u.isThemeColor(W.color))}R.isThemeIcon=A;const I=new RegExp(`^\\$\\((${r.dT.iconNameExpression}(?:${r.dT.iconModifierExpression})?)\\)$`);function M(W){const H=I.exec(W);if(!H)return;let[,ae]=H;return{id:ae}}R.fromString=M;function B(W,H){let ae=W.id;const ne=ae.lastIndexOf("~");return ne!==-1&&(ae=ae.substring(0,ne)),H&&(ae=`${ae}~${H}`),{id:ae}}R.modify=B;function N(W,H){var ae,ne;return W.id===H.id&&((ae=W.color)===null||ae===void 0?void 0:ae.id)===((ne=H.color)===null||ne===void 0?void 0:ne.id)}R.isEqual=N;function V(W,H){return{id:W.id,color:H?a(H):void 0}}R.asThemeIcon=V,R.asClassNameArray=r.dT.asClassNameArray,R.asClassName=r.dT.asClassName,R.asCSSSelector=r.dT.asCSSSelector})(x||(x={}));function p(R){switch(R){case o.e.DARK:return"vs-dark";case o.e.HIGH_CONTRAST:return"hc-black";default:return"vs"}}const y={ThemingContribution:"base.contributions.theming"};class _{constructor(){this.themingParticipants=[],this.themingParticipants=[],this.onThemingParticipantAddedEmitter=new i.Q5}onColorThemeChange(A){return this.themingParticipants.push(A),this.onThemingParticipantAddedEmitter.fire(A),(0,l.OF)(()=>{const I=this.themingParticipants.indexOf(A);this.themingParticipants.splice(I,1)})}getThemingParticipants(){return this.themingParticipants}}let b=new _;f.B.add(y.ThemingContribution,b);function S(R){return b.onColorThemeChange(R)}class k extends l.JT{constructor(A){super(),this.themeService=A,this.theme=A.getColorTheme(),this._register(this.themeService.onDidColorThemeChange(I=>this.onThemeChange(I)))}onThemeChange(A){this.theme=A,this.updateStyles()}updateStyles(){}}},84126:function(d){"use strict";var v=Object.getOwnPropertySymbols,e=Object.prototype.hasOwnProperty,r=Object.prototype.propertyIsEnumerable;function i(c){if(c==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(c)}function l(){try{if(!Object.assign)return!1;var c=new String("abc");if(c[5]="de",Object.getOwnPropertyNames(c)[0]==="5")return!1;for(var f={},o=0;o<10;o++)f["_"+String.fromCharCode(o)]=o;var h=Object.getOwnPropertyNames(f).map(function(a){return f[a]});if(h.join("")!=="0123456789")return!1;var u={};return"abcdefghijklmnopqrst".split("").forEach(function(a){u[a]=a}),Object.keys(Object.assign({},u)).join("")==="abcdefghijklmnopqrst"}catch(a){return!1}}d.exports=l()?Object.assign:function(c,f){for(var o,h=i(c),u,a=1;a<arguments.length;a++){o=Object(arguments[a]);for(var x in o)e.call(o,x)&&(h[x]=o[x]);if(v){u=v(o);for(var p=0;p<u.length;p++)r.call(o,u[p])&&(h[u[p]]=o[u[p]])}}return h}},97671:function(d){var v=d.exports={},e,r;function i(){throw new Error("setTimeout has not been defined")}function l(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?e=setTimeout:e=i}catch(b){e=i}try{typeof clearTimeout=="function"?r=clearTimeout:r=l}catch(b){r=l}})();function c(b){if(e===setTimeout)return setTimeout(b,0);if((e===i||!e)&&setTimeout)return e=setTimeout,setTimeout(b,0);try{return e(b,0)}catch(S){try{return e.call(null,b,0)}catch(k){return e.call(this,b,0)}}}function f(b){if(r===clearTimeout)return clearTimeout(b);if((r===l||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(b);try{return r(b)}catch(S){try{return r.call(null,b)}catch(k){return r.call(this,b)}}}var o=[],h=!1,u,a=-1;function x(){!h||!u||(h=!1,u.length?o=u.concat(o):a=-1,o.length&&p())}function p(){if(!h){var b=c(x);h=!0;for(var S=o.length;S;){for(u=o,o=[];++a<S;)u&&u[a].run();a=-1,S=o.length}u=null,h=!1,f(b)}}v.nextTick=function(b){var S=new Array(arguments.length-1);if(arguments.length>1)for(var k=1;k<arguments.length;k++)S[k-1]=arguments[k];o.push(new y(b,S)),o.length===1&&!h&&c(p)};function y(b,S){this.fun=b,this.array=S}y.prototype.run=function(){this.fun.apply(null,this.array)},v.title="browser",v.browser=!0,v.env={},v.argv=[],v.version="",v.versions={};function _(){}v.on=_,v.addListener=_,v.once=_,v.off=_,v.removeListener=_,v.removeAllListeners=_,v.emit=_,v.prependListener=_,v.prependOnceListener=_,v.listeners=function(b){return[]},v.binding=function(b){throw new Error("process.binding is not supported")},v.cwd=function(){return"/"},v.chdir=function(b){throw new Error("process.chdir is not supported")},v.umask=function(){return 0}},79442:function(d,v,e){"use strict";var r=e(97825);function i(){}function l(){}l.resetWarningCache=i,d.exports=function(){function c(h,u,a,x,p,y){if(y!==r){var _=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw _.name="Invariant Violation",_}}c.isRequired=c;function f(){return c}var o={array:c,bigint:c,bool:c,func:c,number:c,object:c,string:c,symbol:c,any:c,arrayOf:f,element:c,elementType:c,instanceOf:f,node:c,objectOf:f,oneOf:f,oneOfType:f,shape:f,exact:f,checkPropTypes:l,resetWarningCache:i};return o.PropTypes=o,o}},12708:function(d,v,e){if(0)var r,i;else d.exports=e(79442)()},97825:function(d){"use strict";var v="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";d.exports=v},86923:function(d,v,e){"use strict";e.d(v,{s:function(){return B},Z:function(){return oe}});var r=e(54476),i=e(42978),l=e(43403),c=e(59301),f=c.createContext({}),o=e(33885),h=e(92310),u=e.n(h),a=e(48519),x=e(80402),p=e(10228),y=e(26112);function _(J,q,K){var se=q;return!se&&K&&(se="".concat(J,"-").concat(K)),se}function b(J,q){var K=J["page".concat(q?"Y":"X","Offset")],se="scroll".concat(q?"Top":"Left");if(typeof K!="number"){var ee=J.document;K=ee.documentElement[se],typeof K!="number"&&(K=ee.body[se])}return K}function S(J){var q=J.getBoundingClientRect(),K={left:q.left,top:q.top},se=J.ownerDocument,ee=se.defaultView||se.parentWindow;return K.left+=b(ee),K.top+=b(ee,!0),K}var k=e(77900),R=e(8654),A=c.memo(function(J){var q=J.children;return q},function(J,q){var K=q.shouldUpdate;return!K}),I={width:0,height:0,overflow:"hidden",outline:"none"},M=c.forwardRef(function(J,q){var K=J.prefixCls,se=J.className,ee=J.style,Q=J.title,le=J.ariaId,z=J.footer,$=J.closable,ie=J.closeIcon,_e=J.onClose,Ae=J.children,Pe=J.bodyStyle,We=J.bodyProps,$e=J.modalRender,Lt=J.onMouseDown,bt=J.onMouseUp,kt=J.holderRef,Zt=J.visible,Mt=J.forceRender,tr=J.width,je=J.height,wt=c.useContext(f),Ft=wt.panel,tt=(0,R.x1)(kt,Ft),gt=(0,c.useRef)(),ft=(0,c.useRef)();c.useImperativeHandle(q,function(){return{focus:function(){var Ye;(Ye=gt.current)===null||Ye===void 0||Ye.focus()},changeActive:function(Ye){var dt=document,xt=dt.activeElement;Ye&&xt===ft.current?gt.current.focus():!Ye&&xt===gt.current&&ft.current.focus()}}});var Qe={};tr!==void 0&&(Qe.width=tr),je!==void 0&&(Qe.height=je);var Ne;z&&(Ne=c.createElement("div",{className:"".concat(K,"-footer")},z));var xe;Q&&(xe=c.createElement("div",{className:"".concat(K,"-header")},c.createElement("div",{className:"".concat(K,"-title"),id:le},Q)));var ke;$&&(ke=c.createElement("button",{type:"button",onClick:_e,"aria-label":"Close",className:"".concat(K,"-close")},ie||c.createElement("span",{className:"".concat(K,"-close-x")})));var Ge=c.createElement("div",{className:"".concat(K,"-content")},ke,xe,c.createElement("div",(0,r.Z)({className:"".concat(K,"-body"),style:Pe},We),Ae),Ne);return c.createElement("div",{key:"dialog-element",role:"dialog","aria-labelledby":Q?le:null,"aria-modal":"true",ref:tt,style:(0,o.Z)((0,o.Z)({},ee),Qe),className:u()(K,se),onMouseDown:Lt,onMouseUp:bt},c.createElement("div",{tabIndex:0,ref:gt,style:I,"aria-hidden":"true"}),c.createElement(A,{shouldUpdate:Zt||Mt},$e?$e(Ge):Ge),c.createElement("div",{tabIndex:0,ref:ft,style:I,"aria-hidden":"true"}))}),B=M,N=c.forwardRef(function(J,q){var K=J.prefixCls,se=J.title,ee=J.style,Q=J.className,le=J.visible,z=J.forceRender,$=J.destroyOnClose,ie=J.motionName,_e=J.ariaId,Ae=J.onVisibleChanged,Pe=J.mousePosition,We=(0,c.useRef)(),$e=c.useState(),Lt=(0,i.Z)($e,2),bt=Lt[0],kt=Lt[1],Zt={};bt&&(Zt.transformOrigin=bt);function Mt(){var tr=S(We.current);kt(Pe?"".concat(Pe.x-tr.left,"px ").concat(Pe.y-tr.top,"px"):"")}return c.createElement(k.default,{visible:le,onVisibleChanged:Ae,onAppearPrepare:Mt,onEnterPrepare:Mt,forceRender:z,motionName:ie,removeOnLeave:$,ref:We},function(tr,je){var wt=tr.className,Ft=tr.style;return c.createElement(B,(0,r.Z)({},J,{ref:q,title:se,ariaId:_e,prefixCls:K,holderRef:je,style:(0,o.Z)((0,o.Z)((0,o.Z)({},Ft),ee),Zt),className:u()(Q,wt)}))})});N.displayName="Content";var V=N;function W(J){var q=J.prefixCls,K=J.style,se=J.visible,ee=J.maskProps,Q=J.motionName;return c.createElement(k.default,{key:"mask",visible:se,motionName:Q,leavedClassName:"".concat(q,"-mask-hidden")},function(le,z){var $=le.className,ie=le.style;return c.createElement("div",(0,r.Z)({ref:z,style:(0,o.Z)((0,o.Z)({},ie),K),className:u()("".concat(q,"-mask"),$)},ee))})}function H(J){var q=J.prefixCls,K=q===void 0?"rc-dialog":q,se=J.zIndex,ee=J.visible,Q=ee===void 0?!1:ee,le=J.keyboard,z=le===void 0?!0:le,$=J.focusTriggerAfterClose,ie=$===void 0?!0:$,_e=J.wrapStyle,Ae=J.wrapClassName,Pe=J.wrapProps,We=J.onClose,$e=J.afterOpenChange,Lt=J.afterClose,bt=J.transitionName,kt=J.animation,Zt=J.closable,Mt=Zt===void 0?!0:Zt,tr=J.mask,je=tr===void 0?!0:tr,wt=J.maskTransitionName,Ft=J.maskAnimation,tt=J.maskClosable,gt=tt===void 0?!0:tt,ft=J.maskStyle,Qe=J.maskProps,Ne=J.rootClassName,xe=(0,c.useRef)(),ke=(0,c.useRef)(),Ge=(0,c.useRef)(),He=c.useState(Q),Ye=(0,i.Z)(He,2),dt=Ye[0],xt=Ye[1],nr=(0,x.Z)();function qt(){(0,a.Z)(ke.current,document.activeElement)||(xe.current=document.activeElement)}function Me(){if(!(0,a.Z)(ke.current,document.activeElement)){var ce;(ce=Ge.current)===null||ce===void 0||ce.focus()}}function qe(ce){if(ce)Me();else{if(xt(!1),je&&xe.current&&ie){try{xe.current.focus({preventScroll:!0})}catch(pe){}xe.current=null}dt&&(Lt==null||Lt())}$e==null||$e(ce)}function Vt(ce){We==null||We(ce)}var Rt=(0,c.useRef)(!1),zt=(0,c.useRef)(),Ht=function(){clearTimeout(zt.current),Rt.current=!0},Ct=function(){zt.current=setTimeout(function(){Rt.current=!1})},Xt=null;gt&&(Xt=function(pe){Rt.current?Rt.current=!1:ke.current===pe.target&&Vt(pe)});function ze(ce){if(z&&ce.keyCode===p.Z.ESC){ce.stopPropagation(),Vt(ce);return}Q&&ce.keyCode===p.Z.TAB&&Ge.current.changeActive(!ce.shiftKey)}return(0,c.useEffect)(function(){Q&&(xt(!0),qt())},[Q]),(0,c.useEffect)(function(){return function(){clearTimeout(zt.current)}},[]),c.createElement("div",(0,r.Z)({className:u()("".concat(K,"-root"),Ne)},(0,y.Z)(J,{data:!0})),c.createElement(W,{prefixCls:K,visible:je&&Q,motionName:_(K,wt,Ft),style:(0,o.Z)({zIndex:se},ft),maskProps:Qe}),c.createElement("div",(0,r.Z)({tabIndex:-1,onKeyDown:ze,className:u()("".concat(K,"-wrap"),Ae),ref:ke,onClick:Xt,style:(0,o.Z)((0,o.Z)({zIndex:se},_e),{},{display:dt?null:"none"})},Pe),c.createElement(V,(0,r.Z)({},J,{onMouseDown:Ht,onMouseUp:Ct,ref:Ge,closable:Mt,ariaId:nr,prefixCls:K,visible:Q&&dt,onClose:Vt,onVisibleChanged:qe,motionName:_(K,bt,kt)}))))}var ae=function(q){var K=q.visible,se=q.getContainer,ee=q.forceRender,Q=q.destroyOnClose,le=Q===void 0?!1:Q,z=q.afterClose,$=q.panelRef,ie=c.useState(K),_e=(0,i.Z)(ie,2),Ae=_e[0],Pe=_e[1],We=c.useMemo(function(){return{panel:$}},[$]);return c.useEffect(function(){K&&Pe(!0)},[K]),!ee&&le&&!Ae?null:c.createElement(f.Provider,{value:We},c.createElement(l.Z,{open:K||ee||Ae,autoDestroy:!1,getContainer:se,autoLock:K||Ae},c.createElement(H,(0,r.Z)({},q,{destroyOnClose:le,afterClose:function(){z==null||z(),Pe(!1)}}))))};ae.displayName="Dialog";var ne=ae,oe=ne},95013:function(d,v,e){"use strict";e.r(v),e.d(v,{Field:function(){return Tr},FieldContext:function(){return M},FormProvider:function(){return zi},List:function(){return Gn},ListContext:function(){return N},default:function(){return Dn},useForm:function(){return oa},useWatch:function(){return Fa}});var r=e(59301),i=e(54476),l=e(75931),c=e(75044),f=e(3202),o=e(33885),h=e(94480),u=e(67732),a=e(83652),x=e(31226),p=e(42403),y=e(158),_=e(20068),b=e(11592),S=e(13697),k=e(48736),R="RC_FORM_INTERNAL_HOOKS",A=function(){(0,k.ZP)(!1,"Can not find FormContext. Please make sure you wrap Field under Form.")},I=r.createContext({getFieldValue:A,getFieldsValue:A,getFieldError:A,getFieldWarning:A,getFieldsError:A,isFieldsTouched:A,isFieldTouched:A,isFieldValidating:A,isFieldsValidating:A,resetFields:A,setFields:A,setFieldValue:A,setFieldsValue:A,validateFields:A,submit:A,getInternalHooks:function(){return A(),{dispatch:A,initEntityValue:A,registerField:A,useSubscribe:A,setInitialValues:A,destroyForm:A,setCallbacks:A,registerWatch:A,getFields:A,setValidateMessages:A,setPreserve:A,getInitialValue:A}}}),M=I,B=r.createContext(null),N=B;function V(rr){return rr==null?[]:Array.isArray(rr)?rr:[rr]}function W(rr){return rr&&!!rr._init}var H=e(97671);function ae(){return ae=Object.assign?Object.assign.bind():function(rr){for(var _t=1;_t<arguments.length;_t++){var rt=arguments[_t];for(var Ot in rt)Object.prototype.hasOwnProperty.call(rt,Ot)&&(rr[Ot]=rt[Ot])}return rr},ae.apply(this,arguments)}function ne(rr,_t){rr.prototype=Object.create(_t.prototype),rr.prototype.constructor=rr,J(rr,_t)}function oe(rr){return oe=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(rt){return rt.__proto__||Object.getPrototypeOf(rt)},oe(rr)}function J(rr,_t){return J=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(Ot,ht){return Ot.__proto__=ht,Ot},J(rr,_t)}function q(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(rr){return!1}}function K(rr,_t,rt){return q()?K=Reflect.construct.bind():K=function(ht,lr,fr){var Cr=[null];Cr.push.apply(Cr,lr);var Gr=Function.bind.apply(ht,Cr),Ze=new Gr;return fr&&J(Ze,fr.prototype),Ze},K.apply(null,arguments)}function se(rr){return Function.toString.call(rr).indexOf("[native code]")!==-1}function ee(rr){var _t=typeof Map=="function"?new Map:void 0;return ee=function(Ot){if(Ot===null||!se(Ot))return Ot;if(typeof Ot!="function")throw new TypeError("Super expression must either be null or a function");if(typeof _t!="undefined"){if(_t.has(Ot))return _t.get(Ot);_t.set(Ot,ht)}function ht(){return K(Ot,arguments,oe(this).constructor)}return ht.prototype=Object.create(Ot.prototype,{constructor:{value:ht,enumerable:!1,writable:!0,configurable:!0}}),J(ht,Ot)},ee(rr)}var Q=/%[sdj%]/g,le=function(){};function z(rr){if(!rr||!rr.length)return null;var _t={};return rr.forEach(function(rt){var Ot=rt.field;_t[Ot]=_t[Ot]||[],_t[Ot].push(rt)}),_t}function $(rr){for(var _t=arguments.length,rt=new Array(_t>1?_t-1:0),Ot=1;Ot<_t;Ot++)rt[Ot-1]=arguments[Ot];var ht=0,lr=rt.length;if(typeof rr=="function")return rr.apply(null,rt);if(typeof rr=="string"){var fr=rr.replace(Q,function(Cr){if(Cr==="%%")return"%";if(ht>=lr)return Cr;switch(Cr){case"%s":return String(rt[ht++]);case"%d":return Number(rt[ht++]);case"%j":try{return JSON.stringify(rt[ht++])}catch(Gr){return"[Circular]"}break;default:return Cr}});return fr}return rr}function ie(rr){return rr==="string"||rr==="url"||rr==="hex"||rr==="email"||rr==="date"||rr==="pattern"}function _e(rr,_t){return!!(rr==null||_t==="array"&&Array.isArray(rr)&&!rr.length||ie(_t)&&typeof rr=="string"&&!rr)}function Ae(rr,_t,rt){var Ot=[],ht=0,lr=rr.length;function fr(Cr){Ot.push.apply(Ot,Cr||[]),ht++,ht===lr&&rt(Ot)}rr.forEach(function(Cr){_t(Cr,fr)})}function Pe(rr,_t,rt){var Ot=0,ht=rr.length;function lr(fr){if(fr&&fr.length){rt(fr);return}var Cr=Ot;Ot=Ot+1,Cr<ht?_t(rr[Cr],lr):rt([])}lr([])}function We(rr){var _t=[];return Object.keys(rr).forEach(function(rt){_t.push.apply(_t,rr[rt]||[])}),_t}var $e=function(rr){ne(_t,rr);function _t(rt,Ot){var ht;return ht=rr.call(this,"Async Validation Error")||this,ht.errors=rt,ht.fields=Ot,ht}return _t}(ee(Error));function Lt(rr,_t,rt,Ot,ht){if(_t.first){var lr=new Promise(function(it,or){var kr=function(Wr){return Ot(Wr),Wr.length?or(new $e(Wr,z(Wr))):it(ht)},Ir=We(rr);Pe(Ir,rt,kr)});return lr.catch(function(it){return it}),lr}var fr=_t.firstFields===!0?Object.keys(rr):_t.firstFields||[],Cr=Object.keys(rr),Gr=Cr.length,Ze=0,et=[],be=new Promise(function(it,or){var kr=function(Pr){if(et.push.apply(et,Pr),Ze++,Ze===Gr)return Ot(et),et.length?or(new $e(et,z(et))):it(ht)};Cr.length||(Ot(et),it(ht)),Cr.forEach(function(Ir){var Pr=rr[Ir];fr.indexOf(Ir)!==-1?Pe(Pr,rt,kr):Ae(Pr,rt,kr)})});return be.catch(function(it){return it}),be}function bt(rr){return!!(rr&&rr.message!==void 0)}function kt(rr,_t){for(var rt=rr,Ot=0;Ot<_t.length;Ot++){if(rt==null)return rt;rt=rt[_t[Ot]]}return rt}function Zt(rr,_t){return function(rt){var Ot;return rr.fullFields?Ot=kt(_t,rr.fullFields):Ot=_t[rt.field||rr.fullField],bt(rt)?(rt.field=rt.field||rr.fullField,rt.fieldValue=Ot,rt):{message:typeof rt=="function"?rt():rt,fieldValue:Ot,field:rt.field||rr.fullField}}}function Mt(rr,_t){if(_t){for(var rt in _t)if(_t.hasOwnProperty(rt)){var Ot=_t[rt];typeof Ot=="object"&&typeof rr[rt]=="object"?rr[rt]=ae({},rr[rt],Ot):rr[rt]=Ot}}return rr}var tr=function(_t,rt,Ot,ht,lr,fr){_t.required&&(!Ot.hasOwnProperty(_t.field)||_e(rt,fr||_t.type))&&ht.push($(lr.messages.required,_t.fullField))},je=function(_t,rt,Ot,ht,lr){(/^\s+$/.test(rt)||rt==="")&&ht.push($(lr.messages.whitespace,_t.fullField))},wt,Ft=function(){if(wt)return wt;var rr="[a-fA-F\\d:]",_t=function(fn){return fn&&fn.includeBoundaries?"(?:(?<=\\s|^)(?="+rr+")|(?<="+rr+")(?=\\s|$))":""},rt="(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)(?:\\.(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)){3}",Ot="[a-fA-F\\d]{1,4}",ht=(`
(?:
(?:`+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(),lr=new RegExp("(?:^"+rt+"$)|(?:^"+ht+"$)"),fr=new RegExp("^"+rt+"$"),Cr=new RegExp("^"+ht+"$"),Gr=function(fn){return fn&&fn.exact?lr:new RegExp("(?:"+_t(fn)+rt+_t(fn)+")|(?:"+_t(fn)+ht+_t(fn)+")","g")};Gr.v4=function(gr){return gr&&gr.exact?fr:new RegExp(""+_t(gr)+rt+_t(gr),"g")},Gr.v6=function(gr){return gr&&gr.exact?Cr:new RegExp(""+_t(gr)+ht+_t(gr),"g")};var Ze="(?:(?:[a-z]+:)?//)",et="(?:\\S+(?::\\S*)?@)?",be=Gr.v4().source,it=Gr.v6().source,or="(?:(?:[a-z\\u00a1-\\uffff0-9][-_]*)*[a-z\\u00a1-\\uffff0-9]+)",kr="(?:\\.(?:[a-z\\u00a1-\\uffff0-9]-*)*[a-z\\u00a1-\\uffff0-9]+)*",Ir="(?:\\.(?:[a-z\\u00a1-\\uffff]{2,}))",Pr="(?::\\d{2,5})?",Wr='(?:[/?#][^\\s"]*)?',wn="(?:"+Ze+"|www\\.)"+et+"(?:localhost|"+be+"|"+it+"|"+or+kr+Ir+")"+Pr+Wr;return wt=new RegExp("(?:^"+wn+"$)","i"),wt},tt={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},gt={integer:function(_t){return gt.number(_t)&&parseInt(_t,10)===_t},float:function(_t){return gt.number(_t)&&!gt.integer(_t)},array:function(_t){return Array.isArray(_t)},regexp:function(_t){if(_t instanceof RegExp)return!0;try{return!!new RegExp(_t)}catch(rt){return!1}},date:function(_t){return typeof _t.getTime=="function"&&typeof _t.getMonth=="function"&&typeof _t.getYear=="function"&&!isNaN(_t.getTime())},number:function(_t){return isNaN(_t)?!1:typeof _t=="number"},object:function(_t){return typeof _t=="object"&&!gt.array(_t)},method:function(_t){return typeof _t=="function"},email:function(_t){return typeof _t=="string"&&_t.length<=320&&!!_t.match(tt.email)},url:function(_t){return typeof _t=="string"&&_t.length<=2048&&!!_t.match(Ft())},hex:function(_t){return typeof _t=="string"&&!!_t.match(tt.hex)}},ft=function(_t,rt,Ot,ht,lr){if(_t.required&&rt===void 0){tr(_t,rt,Ot,ht,lr);return}var fr=["integer","float","array","regexp","object","method","email","number","date","url","hex"],Cr=_t.type;fr.indexOf(Cr)>-1?gt[Cr](rt)||ht.push($(lr.messages.types[Cr],_t.fullField,_t.type)):Cr&&typeof rt!==_t.type&&ht.push($(lr.messages.types[Cr],_t.fullField,_t.type))},Qe=function(_t,rt,Ot,ht,lr){var fr=typeof _t.len=="number",Cr=typeof _t.min=="number",Gr=typeof _t.max=="number",Ze=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,et=rt,be=null,it=typeof rt=="number",or=typeof rt=="string",kr=Array.isArray(rt);if(it?be="number":or?be="string":kr&&(be="array"),!be)return!1;kr&&(et=rt.length),or&&(et=rt.replace(Ze,"_").length),fr?et!==_t.len&&ht.push($(lr.messages[be].len,_t.fullField,_t.len)):Cr&&!Gr&&et<_t.min?ht.push($(lr.messages[be].min,_t.fullField,_t.min)):Gr&&!Cr&&et>_t.max?ht.push($(lr.messages[be].max,_t.fullField,_t.max)):Cr&&Gr&&(et<_t.min||et>_t.max)&&ht.push($(lr.messages[be].range,_t.fullField,_t.min,_t.max))},Ne="enum",xe=function(_t,rt,Ot,ht,lr){_t[Ne]=Array.isArray(_t[Ne])?_t[Ne]:[],_t[Ne].indexOf(rt)===-1&&ht.push($(lr.messages[Ne],_t.fullField,_t[Ne].join(", ")))},ke=function(_t,rt,Ot,ht,lr){if(_t.pattern){if(_t.pattern instanceof RegExp)_t.pattern.lastIndex=0,_t.pattern.test(rt)||ht.push($(lr.messages.pattern.mismatch,_t.fullField,rt,_t.pattern));else if(typeof _t.pattern=="string"){var fr=new RegExp(_t.pattern);fr.test(rt)||ht.push($(lr.messages.pattern.mismatch,_t.fullField,rt,_t.pattern))}}},Ge={required:tr,whitespace:je,type:ft,range:Qe,enum:xe,pattern:ke},He=function(_t,rt,Ot,ht,lr){var fr=[],Cr=_t.required||!_t.required&&ht.hasOwnProperty(_t.field);if(Cr){if(_e(rt,"string")&&!_t.required)return Ot();Ge.required(_t,rt,ht,fr,lr,"string"),_e(rt,"string")||(Ge.type(_t,rt,ht,fr,lr),Ge.range(_t,rt,ht,fr,lr),Ge.pattern(_t,rt,ht,fr,lr),_t.whitespace===!0&&Ge.whitespace(_t,rt,ht,fr,lr))}Ot(fr)},Ye=function(_t,rt,Ot,ht,lr){var fr=[],Cr=_t.required||!_t.required&&ht.hasOwnProperty(_t.field);if(Cr){if(_e(rt)&&!_t.required)return Ot();Ge.required(_t,rt,ht,fr,lr),rt!==void 0&&Ge.type(_t,rt,ht,fr,lr)}Ot(fr)},dt=function(_t,rt,Ot,ht,lr){var fr=[],Cr=_t.required||!_t.required&&ht.hasOwnProperty(_t.field);if(Cr){if(rt===""&&(rt=void 0),_e(rt)&&!_t.required)return Ot();Ge.required(_t,rt,ht,fr,lr),rt!==void 0&&(Ge.type(_t,rt,ht,fr,lr),Ge.range(_t,rt,ht,fr,lr))}Ot(fr)},xt=function(_t,rt,Ot,ht,lr){var fr=[],Cr=_t.required||!_t.required&&ht.hasOwnProperty(_t.field);if(Cr){if(_e(rt)&&!_t.required)return Ot();Ge.required(_t,rt,ht,fr,lr),rt!==void 0&&Ge.type(_t,rt,ht,fr,lr)}Ot(fr)},nr=function(_t,rt,Ot,ht,lr){var fr=[],Cr=_t.required||!_t.required&&ht.hasOwnProperty(_t.field);if(Cr){if(_e(rt)&&!_t.required)return Ot();Ge.required(_t,rt,ht,fr,lr),_e(rt)||Ge.type(_t,rt,ht,fr,lr)}Ot(fr)},qt=function(_t,rt,Ot,ht,lr){var fr=[],Cr=_t.required||!_t.required&&ht.hasOwnProperty(_t.field);if(Cr){if(_e(rt)&&!_t.required)return Ot();Ge.required(_t,rt,ht,fr,lr),rt!==void 0&&(Ge.type(_t,rt,ht,fr,lr),Ge.range(_t,rt,ht,fr,lr))}Ot(fr)},Me=function(_t,rt,Ot,ht,lr){var fr=[],Cr=_t.required||!_t.required&&ht.hasOwnProperty(_t.field);if(Cr){if(_e(rt)&&!_t.required)return Ot();Ge.required(_t,rt,ht,fr,lr),rt!==void 0&&(Ge.type(_t,rt,ht,fr,lr),Ge.range(_t,rt,ht,fr,lr))}Ot(fr)},qe=function(_t,rt,Ot,ht,lr){var fr=[],Cr=_t.required||!_t.required&&ht.hasOwnProperty(_t.field);if(Cr){if(rt==null&&!_t.required)return Ot();Ge.required(_t,rt,ht,fr,lr,"array"),rt!=null&&(Ge.type(_t,rt,ht,fr,lr),Ge.range(_t,rt,ht,fr,lr))}Ot(fr)},Vt=function(_t,rt,Ot,ht,lr){var fr=[],Cr=_t.required||!_t.required&&ht.hasOwnProperty(_t.field);if(Cr){if(_e(rt)&&!_t.required)return Ot();Ge.required(_t,rt,ht,fr,lr),rt!==void 0&&Ge.type(_t,rt,ht,fr,lr)}Ot(fr)},Rt="enum",zt=function(_t,rt,Ot,ht,lr){var fr=[],Cr=_t.required||!_t.required&&ht.hasOwnProperty(_t.field);if(Cr){if(_e(rt)&&!_t.required)return Ot();Ge.required(_t,rt,ht,fr,lr),rt!==void 0&&Ge[Rt](_t,rt,ht,fr,lr)}Ot(fr)},Ht=function(_t,rt,Ot,ht,lr){var fr=[],Cr=_t.required||!_t.required&&ht.hasOwnProperty(_t.field);if(Cr){if(_e(rt,"string")&&!_t.required)return Ot();Ge.required(_t,rt,ht,fr,lr),_e(rt,"string")||Ge.pattern(_t,rt,ht,fr,lr)}Ot(fr)},Ct=function(_t,rt,Ot,ht,lr){var fr=[],Cr=_t.required||!_t.required&&ht.hasOwnProperty(_t.field);if(Cr){if(_e(rt,"date")&&!_t.required)return Ot();if(Ge.required(_t,rt,ht,fr,lr),!_e(rt,"date")){var Gr;rt instanceof Date?Gr=rt:Gr=new Date(rt),Ge.type(_t,Gr,ht,fr,lr),Gr&&Ge.range(_t,Gr.getTime(),ht,fr,lr)}}Ot(fr)},Xt=function(_t,rt,Ot,ht,lr){var fr=[],Cr=Array.isArray(rt)?"array":typeof rt;Ge.required(_t,rt,ht,fr,lr,Cr),Ot(fr)},ze=function(_t,rt,Ot,ht,lr){var fr=_t.type,Cr=[],Gr=_t.required||!_t.required&&ht.hasOwnProperty(_t.field);if(Gr){if(_e(rt,fr)&&!_t.required)return Ot();Ge.required(_t,rt,ht,Cr,lr,fr),_e(rt,fr)||Ge.type(_t,rt,ht,Cr,lr)}Ot(Cr)},ce=function(_t,rt,Ot,ht,lr){var fr=[],Cr=_t.required||!_t.required&&ht.hasOwnProperty(_t.field);if(Cr){if(_e(rt)&&!_t.required)return Ot();Ge.required(_t,rt,ht,fr,lr)}Ot(fr)},pe={string:He,method:Ye,number:dt,boolean:xt,regexp:nr,integer:qt,float:Me,array:qe,object:Vt,enum:zt,pattern:Ht,date:Ct,url:ze,hex:ze,email:ze,required:Xt,any:ce};function It(){return{default:"Validation error on field %s",required:"%s is required",enum:"%s must be one of %s",whitespace:"%s cannot be empty",date:{format:"%s date %s is invalid for format %s",parse:"%s date could not be parsed, %s is invalid ",invalid:"%s date %s is invalid"},types:{string:"%s is not a %s",method:"%s is not a %s (function)",array:"%s is not an %s",object:"%s is not an %s",number:"%s is not a %s",date:"%s is not a %s",boolean:"%s is not a %s",integer:"%s is not an %s",float:"%s is not a %s",regexp:"%s is not a valid %s",email:"%s is not a valid %s",url:"%s is not a valid %s",hex:"%s is not a valid %s"},string:{len:"%s must be exactly %s characters",min:"%s must be at least %s characters",max:"%s cannot be longer than %s characters",range:"%s must be between %s and %s characters"},number:{len:"%s must equal %s",min:"%s cannot be less than %s",max:"%s cannot be greater than %s",range:"%s must be between %s and %s"},array:{len:"%s must be exactly %s in length",min:"%s cannot be less than %s in length",max:"%s cannot be greater than %s in length",range:"%s must be between %s and %s in length"},pattern:{mismatch:"%s value %s does not match pattern %s"},clone:function(){var _t=JSON.parse(JSON.stringify(this));return _t.clone=this.clone,_t}}}var Te=It(),ct=function(){function rr(rt){this.rules=null,this._messages=Te,this.define(rt)}var _t=rr.prototype;return _t.define=function(Ot){var ht=this;if(!Ot)throw new Error("Cannot configure a schema with no rules");if(typeof Ot!="object"||Array.isArray(Ot))throw new Error("Rules must be an object");this.rules={},Object.keys(Ot).forEach(function(lr){var fr=Ot[lr];ht.rules[lr]=Array.isArray(fr)?fr:[fr]})},_t.messages=function(Ot){return Ot&&(this._messages=Mt(It(),Ot)),this._messages},_t.validate=function(Ot,ht,lr){var fr=this;ht===void 0&&(ht={}),lr===void 0&&(lr=function(){});var Cr=Ot,Gr=ht,Ze=lr;if(typeof Gr=="function"&&(Ze=Gr,Gr={}),!this.rules||Object.keys(this.rules).length===0)return Ze&&Ze(null,Cr),Promise.resolve(Cr);function et(Ir){var Pr=[],Wr={};function wn(fn){if(Array.isArray(fn)){var un;Pr=(un=Pr).concat.apply(un,fn)}else Pr.push(fn)}for(var gr=0;gr<Ir.length;gr++)wn(Ir[gr]);Pr.length?(Wr=z(Pr),Ze(Pr,Wr)):Ze(null,Cr)}if(Gr.messages){var be=this.messages();be===Te&&(be=It()),Mt(be,Gr.messages),Gr.messages=be}else Gr.messages=this.messages();var it={},or=Gr.keys||Object.keys(this.rules);or.forEach(function(Ir){var Pr=fr.rules[Ir],Wr=Cr[Ir];Pr.forEach(function(wn){var gr=wn;typeof gr.transform=="function"&&(Cr===Ot&&(Cr=ae({},Cr)),Wr=Cr[Ir]=gr.transform(Wr)),typeof gr=="function"?gr={validator:gr}:gr=ae({},gr),gr.validator=fr.getValidationMethod(gr),gr.validator&&(gr.field=Ir,gr.fullField=gr.fullField||Ir,gr.type=fr.getType(gr),it[Ir]=it[Ir]||[],it[Ir].push({rule:gr,value:Wr,source:Cr,field:Ir}))})});var kr={};return Lt(it,Gr,function(Ir,Pr){var Wr=Ir.rule,wn=(Wr.type==="object"||Wr.type==="array")&&(typeof Wr.fields=="object"||typeof Wr.defaultField=="object");wn=wn&&(Wr.required||!Wr.required&&Ir.value),Wr.field=Ir.field;function gr(dn,gn){return ae({},gn,{fullField:Wr.fullField+"."+dn,fullFields:Wr.fullFields?[].concat(Wr.fullFields,[dn]):[dn]})}function fn(dn){dn===void 0&&(dn=[]);var gn=Array.isArray(dn)?dn:[dn];!Gr.suppressWarning&&gn.length&&rr.warning("async-validator:",gn),gn.length&&Wr.message!==void 0&&(gn=[].concat(Wr.message));var ka=gn.map(Zt(Wr,Cr));if(Gr.first&&ka.length)return kr[Wr.field]=1,Pr(ka);if(!wn)Pr(ka);else{if(Wr.required&&!Ir.value)return Wr.message!==void 0?ka=[].concat(Wr.message).map(Zt(Wr,Cr)):Gr.error&&(ka=[Gr.error(Wr,$(Gr.messages.required,Wr.field))]),Pr(ka);var Ci={};Wr.defaultField&&Object.keys(Ir.value).map(function(ui){Ci[ui]=Wr.defaultField}),Ci=ae({},Ci,Ir.rule.fields);var pi={};Object.keys(Ci).forEach(function(ui){var ta=Ci[ui],Ca=Array.isArray(ta)?ta:[ta];pi[ui]=Ca.map(gr.bind(null,ui))});var bn=new rr(pi);bn.messages(Gr.messages),Ir.rule.options&&(Ir.rule.options.messages=Gr.messages,Ir.rule.options.error=Gr.error),bn.validate(Ir.value,Ir.rule.options||Gr,function(ui){var ta=[];ka&&ka.length&&ta.push.apply(ta,ka),ui&&ui.length&&ta.push.apply(ta,ui),Pr(ta.length?ta:null)})}}var un;if(Wr.asyncValidator)un=Wr.asyncValidator(Wr,Ir.value,fn,Ir.source,Gr);else if(Wr.validator){try{un=Wr.validator(Wr,Ir.value,fn,Ir.source,Gr)}catch(dn){console.error==null||console.error(dn),Gr.suppressValidatorError||setTimeout(function(){throw dn},0),fn(dn.message)}un===!0?fn():un===!1?fn(typeof Wr.message=="function"?Wr.message(Wr.fullField||Wr.field):Wr.message||(Wr.fullField||Wr.field)+" fails"):un instanceof Array?fn(un):un instanceof Error&&fn(un.message)}un&&un.then&&un.then(function(){return fn()},function(dn){return fn(dn)})},function(Ir){et(Ir)},Cr)},_t.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"},_t.getValidationMethod=function(Ot){if(typeof Ot.validator=="function")return Ot.validator;var ht=Object.keys(Ot),lr=ht.indexOf("message");return lr!==-1&&ht.splice(lr,1),ht.length===1&&ht[0]==="required"?pe.required:pe[this.getType(Ot)]||void 0},rr}();ct.register=function(_t,rt){if(typeof rt!="function")throw new Error("Cannot register a validator by type, validator is not a function");pe[_t]=rt},ct.warning=le,ct.messages=Te,ct.validators=pe;var Wt="'${name}' is not a valid ${type}",Tt={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:Wt,method:Wt,array:Wt,object:Wt,number:Wt,date:Wt,boolean:Wt,integer:Wt,float:Wt,regexp:Wt,email:Wt,url:Wt,hex:Wt},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}"}},Ce=e(24434),St=ct;function ye(rr,_t){return rr.replace(/\$\{\w+\}/g,function(rt){var Ot=rt.slice(2,-1);return _t[Ot]})}var Je="CODE_LOGIC_ERROR";function yt(rr,_t,rt,Ot,ht){return Bt.apply(this,arguments)}function Bt(){return Bt=(0,f.Z)((0,c.Z)().mark(function rr(_t,rt,Ot,ht,lr){var fr,Cr,Gr,Ze,et,be,it,or,kr;return(0,c.Z)().wrap(function(Pr){for(;;)switch(Pr.prev=Pr.next){case 0:return fr=(0,o.Z)({},Ot),delete fr.ruleIndex,St.warning=function(){},fr.validator&&(Cr=fr.validator,fr.validator=function(){try{return Cr.apply(void 0,arguments)}catch(Wr){return console.error(Wr),Promise.reject(Je)}}),Gr=null,fr&&fr.type==="array"&&fr.defaultField&&(Gr=fr.defaultField,delete fr.defaultField),Ze=new St((0,_.Z)({},_t,[fr])),et=(0,Ce.T)(Tt,ht.validateMessages),Ze.messages(et),be=[],Pr.prev=10,Pr.next=13,Promise.resolve(Ze.validate((0,_.Z)({},_t,rt),(0,o.Z)({},ht)));case 13:Pr.next=18;break;case 15:Pr.prev=15,Pr.t0=Pr.catch(10),Pr.t0.errors&&(be=Pr.t0.errors.map(function(Wr,wn){var gr=Wr.message,fn=gr===Je?et.default:gr;return r.isValidElement(fn)?r.cloneElement(fn,{key:"error_".concat(wn)}):fn}));case 18:if(!(!be.length&&Gr)){Pr.next=23;break}return Pr.next=21,Promise.all(rt.map(function(Wr,wn){return yt("".concat(_t,".").concat(wn),Wr,Gr,ht,lr)}));case 21:return it=Pr.sent,Pr.abrupt("return",it.reduce(function(Wr,wn){return[].concat((0,h.Z)(Wr),(0,h.Z)(wn))},[]));case 23:return or=(0,o.Z)((0,o.Z)({},Ot),{},{name:_t,enum:(Ot.enum||[]).join(", ")},lr),kr=be.map(function(Wr){return typeof Wr=="string"?ye(Wr,or):Wr}),Pr.abrupt("return",kr);case 26:case"end":return Pr.stop()}},rr,null,[[10,15]])})),Bt.apply(this,arguments)}function Be(rr,_t,rt,Ot,ht,lr){var fr=rr.join("."),Cr=rt.map(function(et,be){var it=et.validator,or=(0,o.Z)((0,o.Z)({},et),{},{ruleIndex:be});return it&&(or.validator=function(kr,Ir,Pr){var Wr=!1,wn=function(){for(var un=arguments.length,dn=new Array(un),gn=0;gn<un;gn++)dn[gn]=arguments[gn];Promise.resolve().then(function(){(0,k.ZP)(!Wr,"Your validator function has already return a promise. `callback` will be ignored."),Wr||Pr.apply(void 0,dn)})},gr=it(kr,Ir,wn);Wr=gr&&typeof gr.then=="function"&&typeof gr.catch=="function",(0,k.ZP)(Wr,"`callback` is deprecated. Please return a promise instead."),Wr&&gr.then(function(){Pr()}).catch(function(fn){Pr(fn||" ")})}),or}).sort(function(et,be){var it=et.warningOnly,or=et.ruleIndex,kr=be.warningOnly,Ir=be.ruleIndex;return!!it==!!kr?or-Ir:it?1:-1}),Gr;if(ht===!0)Gr=new Promise(function(){var et=(0,f.Z)((0,c.Z)().mark(function be(it,or){var kr,Ir,Pr;return(0,c.Z)().wrap(function(wn){for(;;)switch(wn.prev=wn.next){case 0:kr=0;case 1:if(!(kr<Cr.length)){wn.next=12;break}return Ir=Cr[kr],wn.next=5,yt(fr,_t,Ir,Ot,lr);case 5:if(Pr=wn.sent,!Pr.length){wn.next=9;break}return or([{errors:Pr,rule:Ir}]),wn.abrupt("return");case 9:kr+=1,wn.next=1;break;case 12:it([]);case 13:case"end":return wn.stop()}},be)}));return function(be,it){return et.apply(this,arguments)}}());else{var Ze=Cr.map(function(et){return yt(fr,_t,et,Ot,lr).then(function(be){return{errors:be,rule:et}})});Gr=(ht?Xr(Ze):Dr(Ze)).then(function(et){return Promise.reject(et)})}return Gr.catch(function(et){return et}),Gr}function Dr(rr){return At.apply(this,arguments)}function At(){return At=(0,f.Z)((0,c.Z)().mark(function rr(_t){return(0,c.Z)().wrap(function(Ot){for(;;)switch(Ot.prev=Ot.next){case 0:return Ot.abrupt("return",Promise.all(_t).then(function(ht){var lr,fr=(lr=[]).concat.apply(lr,(0,h.Z)(ht));return fr}));case 1:case"end":return Ot.stop()}},rr)})),At.apply(this,arguments)}function Xr(rr){return en.apply(this,arguments)}function en(){return en=(0,f.Z)((0,c.Z)().mark(function rr(_t){var rt;return(0,c.Z)().wrap(function(ht){for(;;)switch(ht.prev=ht.next){case 0:return rt=0,ht.abrupt("return",new Promise(function(lr){_t.forEach(function(fr){fr.then(function(Cr){Cr.errors.length&&lr([Cr]),rt+=1,rt===_t.length&&lr([])})})}));case 2:case"end":return ht.stop()}},rr)})),en.apply(this,arguments)}var Lr=e(76190),Nr=e(97938);function mr(rr){return V(rr)}function Zr(rr,_t){var rt={};return _t.forEach(function(Ot){var ht=(0,Nr.Z)(rr,Ot);rt=(0,Ce.Z)(rt,Ot,ht)}),rt}function on(rr,_t){var rt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;return rr&&rr.some(function(Ot){return _n(_t,Ot,rt)})}function _n(rr,_t){var rt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;return!rr||!_t||!rt&&rr.length!==_t.length?!1:_t.every(function(Ot,ht){return rr[ht]===Ot})}function Yt(rr,_t){if(rr===_t)return!0;if(!rr&&_t||rr&&!_t||!rr||!_t||(0,Lr.Z)(rr)!=="object"||(0,Lr.Z)(_t)!=="object")return!1;var rt=Object.keys(rr),Ot=Object.keys(_t),ht=new Set([].concat(rt,Ot));return(0,h.Z)(ht).every(function(lr){var fr=rr[lr],Cr=_t[lr];return typeof fr=="function"&&typeof Cr=="function"?!0:fr===Cr})}function mt(rr){var _t=arguments.length<=1?void 0:arguments[1];return _t&&_t.target&&(0,Lr.Z)(_t.target)==="object"&&rr in _t.target?_t.target[rr]:_t}function st(rr,_t,rt){var Ot=rr.length;if(_t<0||_t>=Ot||rt<0||rt>=Ot)return rr;var ht=rr[_t],lr=_t-rt;return lr>0?[].concat((0,h.Z)(rr.slice(0,rt)),[ht],(0,h.Z)(rr.slice(rt,_t)),(0,h.Z)(rr.slice(_t+1,Ot))):lr<0?[].concat((0,h.Z)(rr.slice(0,_t)),(0,h.Z)(rr.slice(_t+1,rt+1)),[ht],(0,h.Z)(rr.slice(rt+1,Ot))):rr}var lt=["name"],Nt=[];function br(rr,_t,rt,Ot,ht,lr){return typeof rr=="function"?rr(_t,rt,"source"in lr?{source:lr.source}:{}):Ot!==ht}var vr=function(rr){(0,p.Z)(rt,rr);var _t=(0,y.Z)(rt);function rt(Ot){var ht;if((0,u.Z)(this,rt),ht=_t.call(this,Ot),(0,_.Z)((0,x.Z)(ht),"state",{resetCount:0}),(0,_.Z)((0,x.Z)(ht),"cancelRegisterFunc",null),(0,_.Z)((0,x.Z)(ht),"mounted",!1),(0,_.Z)((0,x.Z)(ht),"touched",!1),(0,_.Z)((0,x.Z)(ht),"dirty",!1),(0,_.Z)((0,x.Z)(ht),"validatePromise",void 0),(0,_.Z)((0,x.Z)(ht),"prevValidating",void 0),(0,_.Z)((0,x.Z)(ht),"errors",Nt),(0,_.Z)((0,x.Z)(ht),"warnings",Nt),(0,_.Z)((0,x.Z)(ht),"cancelRegister",function(){var Gr=ht.props,Ze=Gr.preserve,et=Gr.isListField,be=Gr.name;ht.cancelRegisterFunc&&ht.cancelRegisterFunc(et,Ze,mr(be)),ht.cancelRegisterFunc=null}),(0,_.Z)((0,x.Z)(ht),"getNamePath",function(){var Gr=ht.props,Ze=Gr.name,et=Gr.fieldContext,be=et.prefixName,it=be===void 0?[]:be;return Ze!==void 0?[].concat((0,h.Z)(it),(0,h.Z)(Ze)):[]}),(0,_.Z)((0,x.Z)(ht),"getRules",function(){var Gr=ht.props,Ze=Gr.rules,et=Ze===void 0?[]:Ze,be=Gr.fieldContext;return et.map(function(it){return typeof it=="function"?it(be):it})}),(0,_.Z)((0,x.Z)(ht),"refresh",function(){ht.mounted&&ht.setState(function(Gr){var Ze=Gr.resetCount;return{resetCount:Ze+1}})}),(0,_.Z)((0,x.Z)(ht),"metaCache",null),(0,_.Z)((0,x.Z)(ht),"triggerMetaEvent",function(Gr){var Ze=ht.props.onMetaChange;if(Ze){var et=(0,o.Z)((0,o.Z)({},ht.getMeta()),{},{destroy:Gr});(0,S.Z)(ht.metaCache,et)||Ze(et),ht.metaCache=et}else ht.metaCache=null}),(0,_.Z)((0,x.Z)(ht),"onStoreChange",function(Gr,Ze,et){var be=ht.props,it=be.shouldUpdate,or=be.dependencies,kr=or===void 0?[]:or,Ir=be.onReset,Pr=et.store,Wr=ht.getNamePath(),wn=ht.getValue(Gr),gr=ht.getValue(Pr),fn=Ze&&on(Ze,Wr);switch(et.type==="valueUpdate"&&et.source==="external"&&wn!==gr&&(ht.touched=!0,ht.dirty=!0,ht.validatePromise=null,ht.errors=Nt,ht.warnings=Nt,ht.triggerMetaEvent()),et.type){case"reset":if(!Ze||fn){ht.touched=!1,ht.dirty=!1,ht.validatePromise=void 0,ht.errors=Nt,ht.warnings=Nt,ht.triggerMetaEvent(),Ir==null||Ir(),ht.refresh();return}break;case"remove":{if(it){ht.reRender();return}break}case"setField":{var un=et.data;if(fn){"touched"in un&&(ht.touched=un.touched),"validating"in un&&!("originRCField"in un)&&(ht.validatePromise=un.validating?Promise.resolve([]):null),"errors"in un&&(ht.errors=un.errors||Nt),"warnings"in un&&(ht.warnings=un.warnings||Nt),ht.dirty=!0,ht.triggerMetaEvent(),ht.reRender();return}else if("value"in un&&on(Ze,Wr,!0)){ht.reRender();return}if(it&&!Wr.length&&br(it,Gr,Pr,wn,gr,et)){ht.reRender();return}break}case"dependenciesUpdate":{var dn=kr.map(mr);if(dn.some(function(gn){return on(et.relatedFields,gn)})){ht.reRender();return}break}default:if(fn||(!kr.length||Wr.length||it)&&br(it,Gr,Pr,wn,gr,et)){ht.reRender();return}break}it===!0&&ht.reRender()}),(0,_.Z)((0,x.Z)(ht),"validateRules",function(Gr){var Ze=ht.getNamePath(),et=ht.getValue(),be=Gr||{},it=be.triggerName,or=be.validateOnly,kr=or===void 0?!1:or,Ir=Promise.resolve().then((0,f.Z)((0,c.Z)().mark(function Pr(){var Wr,wn,gr,fn,un,dn,gn;return(0,c.Z)().wrap(function(Ci){for(;;)switch(Ci.prev=Ci.next){case 0:if(ht.mounted){Ci.next=2;break}return Ci.abrupt("return",[]);case 2:if(Wr=ht.props,wn=Wr.validateFirst,gr=wn===void 0?!1:wn,fn=Wr.messageVariables,un=Wr.validateDebounce,dn=ht.getRules(),it&&(dn=dn.filter(function(pi){return pi}).filter(function(pi){var bn=pi.validateTrigger;if(!bn)return!0;var ui=V(bn);return ui.includes(it)})),!(un&&it)){Ci.next=10;break}return Ci.next=8,new Promise(function(pi){setTimeout(pi,un)});case 8:if(ht.validatePromise===Ir){Ci.next=10;break}return Ci.abrupt("return",[]);case 10:return gn=Be(Ze,et,dn,Gr,gr,fn),gn.catch(function(pi){return pi}).then(function(){var pi=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Nt;if(ht.validatePromise===Ir){var bn;ht.validatePromise=null;var ui=[],ta=[];(bn=pi.forEach)===null||bn===void 0||bn.call(pi,function(Ca){var Ks=Ca.rule.warningOnly,Ha=Ca.errors,Zs=Ha===void 0?Nt:Ha;Ks?ta.push.apply(ta,(0,h.Z)(Zs)):ui.push.apply(ui,(0,h.Z)(Zs))}),ht.errors=ui,ht.warnings=ta,ht.triggerMetaEvent(),ht.reRender()}}),Ci.abrupt("return",gn);case 13:case"end":return Ci.stop()}},Pr)})));return kr||(ht.validatePromise=Ir,ht.dirty=!0,ht.errors=Nt,ht.warnings=Nt,ht.triggerMetaEvent(),ht.reRender()),Ir}),(0,_.Z)((0,x.Z)(ht),"isFieldValidating",function(){return!!ht.validatePromise}),(0,_.Z)((0,x.Z)(ht),"isFieldTouched",function(){return ht.touched}),(0,_.Z)((0,x.Z)(ht),"isFieldDirty",function(){if(ht.dirty||ht.props.initialValue!==void 0)return!0;var Gr=ht.props.fieldContext,Ze=Gr.getInternalHooks(R),et=Ze.getInitialValue;return et(ht.getNamePath())!==void 0}),(0,_.Z)((0,x.Z)(ht),"getErrors",function(){return ht.errors}),(0,_.Z)((0,x.Z)(ht),"getWarnings",function(){return ht.warnings}),(0,_.Z)((0,x.Z)(ht),"isListField",function(){return ht.props.isListField}),(0,_.Z)((0,x.Z)(ht),"isList",function(){return ht.props.isList}),(0,_.Z)((0,x.Z)(ht),"isPreserve",function(){return ht.props.preserve}),(0,_.Z)((0,x.Z)(ht),"getMeta",function(){ht.prevValidating=ht.isFieldValidating();var Gr={touched:ht.isFieldTouched(),validating:ht.prevValidating,errors:ht.errors,warnings:ht.warnings,name:ht.getNamePath(),validated:ht.validatePromise===null};return Gr}),(0,_.Z)((0,x.Z)(ht),"getOnlyChild",function(Gr){if(typeof Gr=="function"){var Ze=ht.getMeta();return(0,o.Z)((0,o.Z)({},ht.getOnlyChild(Gr(ht.getControlled(),Ze,ht.props.fieldContext))),{},{isFunction:!0})}var et=(0,b.Z)(Gr);return et.length!==1||!r.isValidElement(et[0])?{child:et,isFunction:!1}:{child:et[0],isFunction:!1}}),(0,_.Z)((0,x.Z)(ht),"getValue",function(Gr){var Ze=ht.props.fieldContext.getFieldsValue,et=ht.getNamePath();return(0,Nr.Z)(Gr||Ze(!0),et)}),(0,_.Z)((0,x.Z)(ht),"getControlled",function(){var Gr=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},Ze=ht.props,et=Ze.trigger,be=Ze.validateTrigger,it=Ze.getValueFromEvent,or=Ze.normalize,kr=Ze.valuePropName,Ir=Ze.getValueProps,Pr=Ze.fieldContext,Wr=be!==void 0?be:Pr.validateTrigger,wn=ht.getNamePath(),gr=Pr.getInternalHooks,fn=Pr.getFieldsValue,un=gr(R),dn=un.dispatch,gn=ht.getValue(),ka=Ir||function(ui){return(0,_.Z)({},kr,ui)},Ci=Gr[et],pi=(0,o.Z)((0,o.Z)({},Gr),ka(gn));pi[et]=function(){ht.touched=!0,ht.dirty=!0,ht.triggerMetaEvent();for(var ui,ta=arguments.length,Ca=new Array(ta),Ks=0;Ks<ta;Ks++)Ca[Ks]=arguments[Ks];it?ui=it.apply(void 0,Ca):ui=mt.apply(void 0,[kr].concat(Ca)),or&&(ui=or(ui,gn,fn(!0))),dn({type:"updateValue",namePath:wn,value:ui}),Ci&&Ci.apply(void 0,Ca)};var bn=V(Wr||[]);return bn.forEach(function(ui){var ta=pi[ui];pi[ui]=function(){ta&&ta.apply(void 0,arguments);var Ca=ht.props.rules;Ca&&Ca.length&&dn({type:"validateField",namePath:wn,triggerName:ui})}}),pi}),Ot.fieldContext){var lr=Ot.fieldContext.getInternalHooks,fr=lr(R),Cr=fr.initEntityValue;Cr((0,x.Z)(ht))}return ht}return(0,a.Z)(rt,[{key:"componentDidMount",value:function(){var ht=this.props,lr=ht.shouldUpdate,fr=ht.fieldContext;if(this.mounted=!0,fr){var Cr=fr.getInternalHooks,Gr=Cr(R),Ze=Gr.registerField;this.cancelRegisterFunc=Ze(this)}lr===!0&&this.reRender()}},{key:"componentWillUnmount",value:function(){this.cancelRegister(),this.triggerMetaEvent(!0),this.mounted=!1}},{key:"reRender",value:function(){this.mounted&&this.forceUpdate()}},{key:"render",value:function(){var ht=this.state.resetCount,lr=this.props.children,fr=this.getOnlyChild(lr),Cr=fr.child,Gr=fr.isFunction,Ze;return Gr?Ze=Cr:r.isValidElement(Cr)?Ze=r.cloneElement(Cr,this.getControlled(Cr.props)):((0,k.ZP)(!Cr,"`children` of Field is not validate ReactElement."),Ze=Cr),r.createElement(r.Fragment,{key:ht},Ze)}}]),rt}(r.Component);(0,_.Z)(vr,"contextType",M),(0,_.Z)(vr,"defaultProps",{trigger:"onChange",valuePropName:"value"});function nt(rr){var _t=rr.name,rt=(0,l.Z)(rr,lt),Ot=r.useContext(M),ht=r.useContext(N),lr=_t!==void 0?mr(_t):void 0,fr="keep";return rt.isListField||(fr="_".concat((lr||[]).join("_"))),r.createElement(vr,(0,i.Z)({key:fr,name:lr,isListField:!!ht},rt,{fieldContext:Ot}))}var Tr=nt;function vn(rr){var _t=rr.name,rt=rr.initialValue,Ot=rr.children,ht=rr.rules,lr=rr.validateTrigger,fr=rr.isListField,Cr=r.useContext(M),Gr=r.useContext(N),Ze=r.useRef({keys:[],id:0}),et=Ze.current,be=r.useMemo(function(){var Ir=mr(Cr.prefixName)||[];return[].concat((0,h.Z)(Ir),(0,h.Z)(mr(_t)))},[Cr.prefixName,_t]),it=r.useMemo(function(){return(0,o.Z)((0,o.Z)({},Cr),{},{prefixName:be})},[Cr,be]),or=r.useMemo(function(){return{getKey:function(Pr){var Wr=be.length,wn=Pr[Wr];return[et.keys[wn],Pr.slice(Wr+1)]}}},[be]);if(typeof Ot!="function")return(0,k.ZP)(!1,"Form.List only accepts function as children."),null;var kr=function(Pr,Wr,wn){var gr=wn.source;return gr==="internal"?!1:Pr!==Wr};return r.createElement(N.Provider,{value:or},r.createElement(M.Provider,{value:it},r.createElement(Tr,{name:[],shouldUpdate:kr,rules:ht,validateTrigger:lr,initialValue:rt,isList:!0,isListField:fr!=null?fr:!!Gr},function(Ir,Pr){var Wr=Ir.value,wn=Wr===void 0?[]:Wr,gr=Ir.onChange,fn=Cr.getFieldValue,un=function(){var Ci=fn(be||[]);return Ci||[]},dn={add:function(Ci,pi){var bn=un();pi>=0&&pi<=bn.length?(et.keys=[].concat((0,h.Z)(et.keys.slice(0,pi)),[et.id],(0,h.Z)(et.keys.slice(pi))),gr([].concat((0,h.Z)(bn.slice(0,pi)),[Ci],(0,h.Z)(bn.slice(pi))))):(et.keys=[].concat((0,h.Z)(et.keys),[et.id]),gr([].concat((0,h.Z)(bn),[Ci]))),et.id+=1},remove:function(Ci){var pi=un(),bn=new Set(Array.isArray(Ci)?Ci:[Ci]);bn.size<=0||(et.keys=et.keys.filter(function(ui,ta){return!bn.has(ta)}),gr(pi.filter(function(ui,ta){return!bn.has(ta)})))},move:function(Ci,pi){if(Ci!==pi){var bn=un();Ci<0||Ci>=bn.length||pi<0||pi>=bn.length||(et.keys=st(et.keys,Ci,pi),gr(st(bn,Ci,pi)))}}},gn=wn||[];return Array.isArray(gn)||(gn=[]),Ot(gn.map(function(ka,Ci){var pi=et.keys[Ci];return pi===void 0&&(et.keys[Ci]=et.id,pi=et.keys[Ci],et.id+=1),{name:Ci,key:pi,isListField:!0}}),dn,Pr)})))}var Gn=vn,Yr=e(42978);function Yn(rr){var _t=!1,rt=rr.length,Ot=[];return rr.length?new Promise(function(ht,lr){rr.forEach(function(fr,Cr){fr.catch(function(Gr){return _t=!0,Gr}).then(function(Gr){rt-=1,Ot[Cr]=Gr,!(rt>0)&&(_t&&lr(Ot),ht(Ot))})})}):Promise.resolve([])}var Jn="__@field_split__";function kn(rr){return rr.map(function(_t){return"".concat((0,Lr.Z)(_t),":").concat(_t)}).join(Jn)}var Qn=function(){function rr(){(0,u.Z)(this,rr),(0,_.Z)(this,"kvs",new Map)}return(0,a.Z)(rr,[{key:"set",value:function(rt,Ot){this.kvs.set(kn(rt),Ot)}},{key:"get",value:function(rt){return this.kvs.get(kn(rt))}},{key:"update",value:function(rt,Ot){var ht=this.get(rt),lr=Ot(ht);lr?this.set(rt,lr):this.delete(rt)}},{key:"delete",value:function(rt){this.kvs.delete(kn(rt))}},{key:"map",value:function(rt){return(0,h.Z)(this.kvs.entries()).map(function(Ot){var ht=(0,Yr.Z)(Ot,2),lr=ht[0],fr=ht[1],Cr=lr.split(Jn);return rt({key:Cr.map(function(Gr){var Ze=Gr.match(/^([^:]*):(.*)$/),et=(0,Yr.Z)(Ze,3),be=et[1],it=et[2];return be==="number"?Number(it):it}),value:fr})})}},{key:"toJSON",value:function(){var rt={};return this.map(function(Ot){var ht=Ot.key,lr=Ot.value;return rt[ht.join(".")]=lr,null}),rt}}]),rr}(),ri=Qn,Ai=["name"],wi=(0,a.Z)(function rr(_t){var rt=this;(0,u.Z)(this,rr),(0,_.Z)(this,"formHooked",!1),(0,_.Z)(this,"forceRootUpdate",void 0),(0,_.Z)(this,"subscribable",!0),(0,_.Z)(this,"store",{}),(0,_.Z)(this,"fieldEntities",[]),(0,_.Z)(this,"initialValues",{}),(0,_.Z)(this,"callbacks",{}),(0,_.Z)(this,"validateMessages",null),(0,_.Z)(this,"preserve",null),(0,_.Z)(this,"lastValidatePromise",null),(0,_.Z)(this,"getForm",function(){return{getFieldValue:rt.getFieldValue,getFieldsValue:rt.getFieldsValue,getFieldError:rt.getFieldError,getFieldWarning:rt.getFieldWarning,getFieldsError:rt.getFieldsError,isFieldsTouched:rt.isFieldsTouched,isFieldTouched:rt.isFieldTouched,isFieldValidating:rt.isFieldValidating,isFieldsValidating:rt.isFieldsValidating,resetFields:rt.resetFields,setFields:rt.setFields,setFieldValue:rt.setFieldValue,setFieldsValue:rt.setFieldsValue,validateFields:rt.validateFields,submit:rt.submit,_init:!0,getInternalHooks:rt.getInternalHooks}}),(0,_.Z)(this,"getInternalHooks",function(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,ht){if(rt.initialValues=Ot||{},ht){var lr,fr=(0,Ce.T)(Ot,rt.store);(lr=rt.prevWithoutPreserves)===null||lr===void 0||lr.map(function(Cr){var Gr=Cr.key;fr=(0,Ce.Z)(fr,Gr,(0,Nr.Z)(Ot,Gr))}),rt.prevWithoutPreserves=null,rt.updateStore(fr)}}),(0,_.Z)(this,"destroyForm",function(){var Ot=new ri;rt.getFieldEntities(!0).forEach(function(ht){rt.isMergedPreserve(ht.isPreserve())||Ot.set(ht.getNamePath(),!0)}),rt.prevWithoutPreserves=Ot}),(0,_.Z)(this,"getInitialValue",function(Ot){var ht=(0,Nr.Z)(rt.initialValues,Ot);return Ot.length?(0,Ce.T)(ht):ht}),(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(ht){return ht!==Ot})}}),(0,_.Z)(this,"notifyWatch",function(){var Ot=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];if(rt.watchList.length){var ht=rt.getFieldsValue(),lr=rt.getFieldsValue(!0);rt.watchList.forEach(function(fr){fr(ht,lr,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(ht){return ht.getNamePath().length}):rt.fieldEntities}),(0,_.Z)(this,"getFieldsMap",function(){var Ot=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,ht=new ri;return rt.getFieldEntities(Ot).forEach(function(lr){var fr=lr.getNamePath();ht.set(fr,lr)}),ht}),(0,_.Z)(this,"getFieldEntitiesForNamePathList",function(Ot){if(!Ot)return rt.getFieldEntities(!0);var ht=rt.getFieldsMap(!0);return Ot.map(function(lr){var fr=mr(lr);return ht.get(fr)||{INVALIDATE_NAME_PATH:mr(lr)}})}),(0,_.Z)(this,"getFieldsValue",function(Ot,ht){rt.warningUnhooked();var lr,fr,Cr;if(Ot===!0||Array.isArray(Ot)?(lr=Ot,fr=ht):Ot&&(0,Lr.Z)(Ot)==="object"&&(Cr=Ot.strict,fr=Ot.filter),lr===!0&&!fr)return rt.store;var Gr=rt.getFieldEntitiesForNamePathList(Array.isArray(lr)?lr:null),Ze=[];return Gr.forEach(function(et){var be,it,or="INVALIDATE_NAME_PATH"in et?et.INVALIDATE_NAME_PATH:et.getNamePath();if(Cr){var kr,Ir;if((kr=(Ir=et).isList)!==null&&kr!==void 0&&kr.call(Ir))return}else if(!lr&&(be=(it=et).isListField)!==null&&be!==void 0&&be.call(it))return;if(!fr)Ze.push(or);else{var Pr="getMeta"in et?et.getMeta():null;fr(Pr)&&Ze.push(or)}}),Zr(rt.store,Ze.map(mr))}),(0,_.Z)(this,"getFieldValue",function(Ot){rt.warningUnhooked();var ht=mr(Ot);return(0,Nr.Z)(rt.store,ht)}),(0,_.Z)(this,"getFieldsError",function(Ot){rt.warningUnhooked();var ht=rt.getFieldEntitiesForNamePathList(Ot);return ht.map(function(lr,fr){return lr&&!("INVALIDATE_NAME_PATH"in lr)?{name:lr.getNamePath(),errors:lr.getErrors(),warnings:lr.getWarnings()}:{name:mr(Ot[fr]),errors:[],warnings:[]}})}),(0,_.Z)(this,"getFieldError",function(Ot){rt.warningUnhooked();var ht=mr(Ot),lr=rt.getFieldsError([ht])[0];return lr.errors}),(0,_.Z)(this,"getFieldWarning",function(Ot){rt.warningUnhooked();var ht=mr(Ot),lr=rt.getFieldsError([ht])[0];return lr.warnings}),(0,_.Z)(this,"isFieldsTouched",function(){rt.warningUnhooked();for(var Ot=arguments.length,ht=new Array(Ot),lr=0;lr<Ot;lr++)ht[lr]=arguments[lr];var fr=ht[0],Cr=ht[1],Gr,Ze=!1;ht.length===0?Gr=null:ht.length===1?Array.isArray(fr)?(Gr=fr.map(mr),Ze=!1):(Gr=null,Ze=fr):(Gr=fr.map(mr),Ze=Cr);var et=rt.getFieldEntities(!0),be=function(Pr){return Pr.isFieldTouched()};if(!Gr)return Ze?et.every(be):et.some(be);var it=new ri;Gr.forEach(function(Ir){it.set(Ir,[])}),et.forEach(function(Ir){var Pr=Ir.getNamePath();Gr.forEach(function(Wr){Wr.every(function(wn,gr){return Pr[gr]===wn})&&it.update(Wr,function(wn){return[].concat((0,h.Z)(wn),[Ir])})})});var or=function(Pr){return Pr.some(be)},kr=it.map(function(Ir){var Pr=Ir.value;return Pr});return Ze?kr.every(or):kr.some(or)}),(0,_.Z)(this,"isFieldTouched",function(Ot){return rt.warningUnhooked(),rt.isFieldsTouched([Ot])}),(0,_.Z)(this,"isFieldsValidating",function(Ot){rt.warningUnhooked();var ht=rt.getFieldEntities();if(!Ot)return ht.some(function(fr){return fr.isFieldValidating()});var lr=Ot.map(mr);return ht.some(function(fr){var Cr=fr.getNamePath();return on(lr,Cr)&&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]:{},ht=new ri,lr=rt.getFieldEntities(!0);lr.forEach(function(Gr){var Ze=Gr.props.initialValue,et=Gr.getNamePath();if(Ze!==void 0){var be=ht.get(et)||new Set;be.add({entity:Gr,value:Ze}),ht.set(et,be)}});var fr=function(Ze){Ze.forEach(function(et){var be=et.props.initialValue;if(be!==void 0){var it=et.getNamePath(),or=rt.getInitialValue(it);if(or!==void 0)(0,k.ZP)(!1,"Form already set 'initialValues' with path '".concat(it.join("."),"'. Field can not overwrite it."));else{var kr=ht.get(it);if(kr&&kr.size>1)(0,k.ZP)(!1,"Multiple Field with path '".concat(it.join("."),"' set 'initialValue'. Can not decide which one to pick."));else if(kr){var Ir=rt.getFieldValue(it);(!Ot.skipExist||Ir===void 0)&&rt.updateStore((0,Ce.Z)(rt.store,it,(0,h.Z)(kr)[0].value))}}}})},Cr;Ot.entities?Cr=Ot.entities:Ot.namePathList?(Cr=[],Ot.namePathList.forEach(function(Gr){var Ze=ht.get(Gr);if(Ze){var et;(et=Cr).push.apply(et,(0,h.Z)((0,h.Z)(Ze).map(function(be){return be.entity})))}})):Cr=lr,fr(Cr)}),(0,_.Z)(this,"resetFields",function(Ot){rt.warningUnhooked();var ht=rt.store;if(!Ot){rt.updateStore((0,Ce.T)(rt.initialValues)),rt.resetWithFieldInitialValue(),rt.notifyObservers(ht,null,{type:"reset"}),rt.notifyWatch();return}var lr=Ot.map(mr);lr.forEach(function(fr){var Cr=rt.getInitialValue(fr);rt.updateStore((0,Ce.Z)(rt.store,fr,Cr))}),rt.resetWithFieldInitialValue({namePathList:lr}),rt.notifyObservers(ht,lr,{type:"reset"}),rt.notifyWatch(lr)}),(0,_.Z)(this,"setFields",function(Ot){rt.warningUnhooked();var ht=rt.store,lr=[];Ot.forEach(function(fr){var Cr=fr.name,Gr=(0,l.Z)(fr,Ai),Ze=mr(Cr);lr.push(Ze),"value"in Gr&&rt.updateStore((0,Ce.Z)(rt.store,Ze,Gr.value)),rt.notifyObservers(ht,[Ze],{type:"setField",data:fr})}),rt.notifyWatch(lr)}),(0,_.Z)(this,"getFields",function(){var Ot=rt.getFieldEntities(!0),ht=Ot.map(function(lr){var fr=lr.getNamePath(),Cr=lr.getMeta(),Gr=(0,o.Z)((0,o.Z)({},Cr),{},{name:fr,value:rt.getFieldValue(fr)});return Object.defineProperty(Gr,"originRCField",{value:!0}),Gr});return ht}),(0,_.Z)(this,"initEntityValue",function(Ot){var ht=Ot.props.initialValue;if(ht!==void 0){var lr=Ot.getNamePath(),fr=(0,Nr.Z)(rt.store,lr);fr===void 0&&rt.updateStore((0,Ce.Z)(rt.store,lr,ht))}}),(0,_.Z)(this,"isMergedPreserve",function(Ot){var ht=Ot!==void 0?Ot:rt.preserve;return ht!=null?ht:!0}),(0,_.Z)(this,"registerField",function(Ot){rt.fieldEntities.push(Ot);var ht=Ot.getNamePath();if(rt.notifyWatch([ht]),Ot.props.initialValue!==void 0){var lr=rt.store;rt.resetWithFieldInitialValue({entities:[Ot],skipExist:!0}),rt.notifyObservers(lr,[Ot.getNamePath()],{type:"valueUpdate",source:"internal"})}return function(fr,Cr){var Gr=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[];if(rt.fieldEntities=rt.fieldEntities.filter(function(be){return be!==Ot}),!rt.isMergedPreserve(Cr)&&(!fr||Gr.length>1)){var Ze=fr?void 0:rt.getInitialValue(ht);if(ht.length&&rt.getFieldValue(ht)!==Ze&&rt.fieldEntities.every(function(be){return!_n(be.getNamePath(),ht)})){var et=rt.store;rt.updateStore((0,Ce.Z)(et,ht,Ze,!0)),rt.notifyObservers(et,[ht],{type:"remove"}),rt.triggerDependenciesUpdate(et,ht)}}rt.notifyWatch([ht])}}),(0,_.Z)(this,"dispatch",function(Ot){switch(Ot.type){case"updateValue":{var ht=Ot.namePath,lr=Ot.value;rt.updateValue(ht,lr);break}case"validateField":{var fr=Ot.namePath,Cr=Ot.triggerName;rt.validateFields([fr],{triggerName:Cr});break}default:}}),(0,_.Z)(this,"notifyObservers",function(Ot,ht,lr){if(rt.subscribable){var fr=(0,o.Z)((0,o.Z)({},lr),{},{store:rt.getFieldsValue(!0)});rt.getFieldEntities().forEach(function(Cr){var Gr=Cr.onStoreChange;Gr(Ot,ht,fr)})}else rt.forceRootUpdate()}),(0,_.Z)(this,"triggerDependenciesUpdate",function(Ot,ht){var lr=rt.getDependencyChildrenFields(ht);return lr.length&&rt.validateFields(lr),rt.notifyObservers(Ot,lr,{type:"dependenciesUpdate",relatedFields:[ht].concat((0,h.Z)(lr))}),lr}),(0,_.Z)(this,"updateValue",function(Ot,ht){var lr=mr(Ot),fr=rt.store;rt.updateStore((0,Ce.Z)(rt.store,lr,ht)),rt.notifyObservers(fr,[lr],{type:"valueUpdate",source:"internal"}),rt.notifyWatch([lr]);var Cr=rt.triggerDependenciesUpdate(fr,lr),Gr=rt.callbacks.onValuesChange;if(Gr){var Ze=Zr(rt.store,[lr]);Gr(Ze,rt.getFieldsValue())}rt.triggerOnFieldsChange([lr].concat((0,h.Z)(Cr)))}),(0,_.Z)(this,"setFieldsValue",function(Ot){rt.warningUnhooked();var ht=rt.store;if(Ot){var lr=(0,Ce.T)(rt.store,Ot);rt.updateStore(lr)}rt.notifyObservers(ht,null,{type:"valueUpdate",source:"external"}),rt.notifyWatch()}),(0,_.Z)(this,"setFieldValue",function(Ot,ht){rt.setFields([{name:Ot,value:ht}])}),(0,_.Z)(this,"getDependencyChildrenFields",function(Ot){var ht=new Set,lr=[],fr=new ri;rt.getFieldEntities().forEach(function(Gr){var Ze=Gr.props.dependencies;(Ze||[]).forEach(function(et){var be=mr(et);fr.update(be,function(){var it=arguments.length>0&&arguments[0]!==void 0?arguments[0]:new Set;return it.add(Gr),it})})});var Cr=function Gr(Ze){var et=fr.get(Ze)||new Set;et.forEach(function(be){if(!ht.has(be)){ht.add(be);var it=be.getNamePath();be.isFieldDirty()&&it.length&&(lr.push(it),Gr(it))}})};return Cr(Ot),lr}),(0,_.Z)(this,"triggerOnFieldsChange",function(Ot,ht){var lr=rt.callbacks.onFieldsChange;if(lr){var fr=rt.getFields();if(ht){var Cr=new ri;ht.forEach(function(Ze){var et=Ze.name,be=Ze.errors;Cr.set(et,be)}),fr.forEach(function(Ze){Ze.errors=Cr.get(Ze.name)||Ze.errors})}var Gr=fr.filter(function(Ze){var et=Ze.name;return on(Ot,et)});Gr.length&&lr(Gr,fr)}}),(0,_.Z)(this,"validateFields",function(Ot,ht){var lr;rt.warningUnhooked();var fr,Cr;Array.isArray(Ot)||typeof Ot=="string"||typeof ht=="string"?(fr=Ot,Cr=ht):Cr=Ot;var Gr=!!fr,Ze=Gr?fr.map(mr):[],et=[],be=String(Date.now()),it=new Set,or=(lr=Cr)===null||lr===void 0?void 0:lr.recursive;rt.getFieldEntities(!0).forEach(function(Wr){if(Gr||Ze.push(Wr.getNamePath()),!(!Wr.props.rules||!Wr.props.rules.length)){var wn=Wr.getNamePath();if(it.add(wn.join(be)),!Gr||on(Ze,wn,or)){var gr=Wr.validateRules((0,o.Z)({validateMessages:(0,o.Z)((0,o.Z)({},Tt),rt.validateMessages)},Cr));et.push(gr.then(function(){return{name:wn,errors:[],warnings:[]}}).catch(function(fn){var un,dn=[],gn=[];return(un=fn.forEach)===null||un===void 0||un.call(fn,function(ka){var Ci=ka.rule.warningOnly,pi=ka.errors;Ci?gn.push.apply(gn,(0,h.Z)(pi)):dn.push.apply(dn,(0,h.Z)(pi))}),dn.length?Promise.reject({name:wn,errors:dn,warnings:gn}):{name:wn,errors:dn,warnings:gn}}))}}});var kr=Yn(et);rt.lastValidatePromise=kr,kr.catch(function(Wr){return Wr}).then(function(Wr){var wn=Wr.map(function(gr){var fn=gr.name;return fn});rt.notifyObservers(rt.store,wn,{type:"validateFinish"}),rt.triggerOnFieldsChange(wn,Wr)});var Ir=kr.then(function(){return rt.lastValidatePromise===kr?Promise.resolve(rt.getFieldsValue(Ze)):Promise.reject([])}).catch(function(Wr){var wn=Wr.filter(function(gr){return gr&&gr.errors.length});return Promise.reject({values:rt.getFieldsValue(Ze),errorFields:wn,outOfDate:rt.lastValidatePromise!==kr})});Ir.catch(function(Wr){return Wr});var Pr=Ze.filter(function(Wr){return it.has(Wr.join(be))});return rt.triggerOnFieldsChange(Pr),Ir}),(0,_.Z)(this,"submit",function(){rt.warningUnhooked(),rt.validateFields().then(function(Ot){var ht=rt.callbacks.onFinish;if(ht)try{ht(Ot)}catch(lr){console.error(lr)}}).catch(function(Ot){var ht=rt.callbacks.onFinishFailed;ht&&ht(Ot)})}),this.forceRootUpdate=_t});function Ui(rr){var _t=r.useRef(),rt=r.useState({}),Ot=(0,Yr.Z)(rt,2),ht=Ot[1];if(!_t.current)if(rr)_t.current=rr;else{var lr=function(){ht({})},fr=new wi(lr);_t.current=fr.getForm()}return[_t.current]}var oa=Ui,Vi=r.createContext({triggerFormChange:function(){},triggerFormFinish:function(){},registerForm:function(){},unregisterForm:function(){}}),zi=function(_t){var rt=_t.validateMessages,Ot=_t.onFormChange,ht=_t.onFormFinish,lr=_t.children,fr=r.useContext(Vi),Cr=r.useRef({});return r.createElement(Vi.Provider,{value:(0,o.Z)((0,o.Z)({},fr),{},{validateMessages:(0,o.Z)((0,o.Z)({},fr.validateMessages),rt),triggerFormChange:function(Ze,et){Ot&&Ot(Ze,{changedFields:et,forms:Cr.current}),fr.triggerFormChange(Ze,et)},triggerFormFinish:function(Ze,et){ht&&ht(Ze,{values:et,forms:Cr.current}),fr.triggerFormFinish(Ze,et)},registerForm:function(Ze,et){Ze&&(Cr.current=(0,o.Z)((0,o.Z)({},Cr.current),{},(0,_.Z)({},Ze,et))),fr.registerForm(Ze,et)},unregisterForm:function(Ze){var et=(0,o.Z)({},Cr.current);delete et[Ze],Cr.current=et,fr.unregisterForm(Ze)}})},lr)},mi=Vi,Ki=["name","initialValues","fields","form","preserve","children","component","validateMessages","validateTrigger","onValuesChange","onFieldsChange","onFinish","onFinishFailed"],Dt=function(_t,rt){var Ot=_t.name,ht=_t.initialValues,lr=_t.fields,fr=_t.form,Cr=_t.preserve,Gr=_t.children,Ze=_t.component,et=Ze===void 0?"form":Ze,be=_t.validateMessages,it=_t.validateTrigger,or=it===void 0?"onChange":it,kr=_t.onValuesChange,Ir=_t.onFieldsChange,Pr=_t.onFinish,Wr=_t.onFinishFailed,wn=(0,l.Z)(_t,Ki),gr=r.useContext(mi),fn=oa(fr),un=(0,Yr.Z)(fn,1),dn=un[0],gn=dn.getInternalHooks(R),ka=gn.useSubscribe,Ci=gn.setInitialValues,pi=gn.setCallbacks,bn=gn.setValidateMessages,ui=gn.setPreserve,ta=gn.destroyForm;r.useImperativeHandle(rt,function(){return dn}),r.useEffect(function(){return gr.registerForm(Ot,dn),function(){gr.unregisterForm(Ot)}},[gr,dn,Ot]),bn((0,o.Z)((0,o.Z)({},gr.validateMessages),be)),pi({onValuesChange:kr,onFieldsChange:function(Ss){if(gr.triggerFormChange(Ot,Ss),Ir){for(var ds=arguments.length,eo=new Array(ds>1?ds-1:0),Bi=1;Bi<ds;Bi++)eo[Bi-1]=arguments[Bi];Ir.apply(void 0,[Ss].concat(eo))}},onFinish:function(Ss){gr.triggerFormFinish(Ot,Ss),Pr&&Pr(Ss)},onFinishFailed:Wr}),ui(Cr);var Ca=r.useRef(null);Ci(ht,!Ca.current),Ca.current||(Ca.current=!0),r.useEffect(function(){return ta},[]);var Ks,Ha=typeof Gr=="function";if(Ha){var Zs=dn.getFieldsValue(!0);Ks=Gr(Zs,dn)}else Ks=Gr;ka(!Ha);var Js=r.useRef();r.useEffect(function(){Yt(Js.current||[],lr||[])||dn.setFields(lr||[]),Js.current=lr},[lr,dn]);var is=r.useMemo(function(){return(0,o.Z)((0,o.Z)({},dn),{},{validateTrigger:or})},[dn,or]),Hs=r.createElement(N.Provider,{value:null},r.createElement(M.Provider,{value:is},Ks));return et===!1?Hs:r.createElement(et,(0,i.Z)({},wn,{onSubmit:function(Ss){Ss.preventDefault(),Ss.stopPropagation(),dn.submit()},onReset:function(Ss){var ds;Ss.preventDefault(),dn.resetFields(),(ds=wn.onReset)===null||ds===void 0||ds.call(wn,Ss)}}),Hs)},vt=Dt;function Zi(rr){try{return JSON.stringify(rr)}catch(_t){return Math.random()}}var Hi=function(){};function hi(){for(var rr=arguments.length,_t=new Array(rr),rt=0;rt<rr;rt++)_t[rt]=arguments[rt];var Ot=_t[0],ht=Ot===void 0?[]:Ot,lr=_t[1],fr=lr===void 0?{}:lr,Cr=W(fr)?{form:fr}:fr,Gr=Cr.form,Ze=(0,r.useState)(),et=(0,Yr.Z)(Ze,2),be=et[0],it=et[1],or=(0,r.useMemo)(function(){return Zi(be)},[be]),kr=(0,r.useRef)(or);kr.current=or;var Ir=(0,r.useContext)(M),Pr=Gr||Ir,Wr=Pr&&Pr._init,wn=mr(ht),gr=(0,r.useRef)(wn);return gr.current=wn,Hi(wn),(0,r.useEffect)(function(){if(Wr){var fn=Pr.getFieldsValue,un=Pr.getInternalHooks,dn=un(R),gn=dn.registerWatch,ka=gn(function(pi,bn){var ui=(0,Nr.Z)(Cr.preserve?bn:pi,gr.current),ta=Zi(ui);kr.current!==ta&&(kr.current=ta,it(ui))}),Ci=(0,Nr.Z)(Cr.preserve?fn(!0):fn(),gr.current);return be!==Ci&&it(Ci),ka}},[Wr]),be}var Fa=hi,Ti=r.forwardRef(vt),si=Ti;si.FormProvider=zi,si.Field=Tr,si.List=Gn,si.useForm=oa,si.useWatch=Fa;var Dn=si},77900:function(d,v,e){"use strict";e.r(v),e.d(v,{CSSMotionList:function(){return ze},Provider:function(){return _},default:function(){return ce}});var r=e(20068),i=e(33885),l=e(42978),c=e(76190),f=e(92310),o=e.n(f),h=e(76846),u=e(8654),a=e(59301),x=e(75931),p=["children"],y=a.createContext({});function _(pe){var It=pe.children,Te=(0,x.Z)(pe,p);return a.createElement(y.Provider,{value:Te},It)}var b=e(67732),S=e(83652),k=e(42403),R=e(158),A=function(pe){(0,k.Z)(Te,pe);var It=(0,R.Z)(Te);function Te(){return(0,b.Z)(this,Te),It.apply(this,arguments)}return(0,S.Z)(Te,[{key:"render",value:function(){return this.props.children}}]),Te}(a.Component),I=A,M=e(70425),B=e(41799),N=e(6089);function V(pe){var It=a.useReducer(function(St){return St+1},0),Te=(0,l.Z)(It,2),ct=Te[1],Wt=a.useRef(pe),Tt=(0,N.Z)(function(){return Wt.current}),Ce=(0,N.Z)(function(St){Wt.current=typeof St=="function"?St(Wt.current):St,ct()});return[Tt,Ce]}var W="none",H="appear",ae="enter",ne="leave",oe="none",J="prepare",q="start",K="active",se="end",ee="prepared",Q=e(47273);function le(pe,It){var Te={};return Te[pe.toLowerCase()]=It.toLowerCase(),Te["Webkit".concat(pe)]="webkit".concat(It),Te["Moz".concat(pe)]="moz".concat(It),Te["ms".concat(pe)]="MS".concat(It),Te["O".concat(pe)]="o".concat(It.toLowerCase()),Te}function z(pe,It){var Te={animationend:le("Animation","AnimationEnd"),transitionend:le("Transition","TransitionEnd")};return pe&&("AnimationEvent"in It||delete Te.animationend.animation,"TransitionEvent"in It||delete Te.transitionend.transition),Te}var $=z((0,Q.Z)(),typeof window!="undefined"?window:{}),ie={};if((0,Q.Z)()){var _e=document.createElement("div");ie=_e.style}var Ae={};function Pe(pe){if(Ae[pe])return Ae[pe];var It=$[pe];if(It)for(var Te=Object.keys(It),ct=Te.length,Wt=0;Wt<ct;Wt+=1){var Tt=Te[Wt];if(Object.prototype.hasOwnProperty.call(It,Tt)&&Tt in ie)return Ae[pe]=It[Tt],Ae[pe]}return""}var We=Pe("animationend"),$e=Pe("transitionend"),Lt=!!(We&&$e),bt=We||"animationend",kt=$e||"transitionend";function Zt(pe,It){if(!pe)return null;if((0,c.Z)(pe)==="object"){var Te=It.replace(/-\w/g,function(ct){return ct[1].toUpperCase()});return pe[Te]}return"".concat(pe,"-").concat(It)}var Mt=function(pe){var It=(0,a.useRef)();function Te(Wt){Wt&&(Wt.removeEventListener(kt,pe),Wt.removeEventListener(bt,pe))}function ct(Wt){It.current&&It.current!==Wt&&Te(It.current),Wt&&Wt!==It.current&&(Wt.addEventListener(kt,pe),Wt.addEventListener(bt,pe),It.current=Wt)}return a.useEffect(function(){return function(){Te(It.current)}},[]),[ct,Te]},tr=(0,Q.Z)()?a.useLayoutEffect:a.useEffect,je=tr,wt=e(16089),Ft=function(){var pe=a.useRef(null);function It(){wt.Z.cancel(pe.current)}function Te(ct){var Wt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:2;It();var Tt=(0,wt.Z)(function(){Wt<=1?ct({isCanceled:function(){return Tt!==pe.current}}):Te(ct,Wt-1)});pe.current=Tt}return a.useEffect(function(){return function(){It()}},[]),[Te,It]},tt=[J,q,K,se],gt=[J,ee],ft=!1,Qe=!0;function Ne(pe){return pe===K||pe===se}var xe=function(pe,It,Te){var ct=(0,B.Z)(oe),Wt=(0,l.Z)(ct,2),Tt=Wt[0],Ce=Wt[1],St=Ft(),ye=(0,l.Z)(St,2),Je=ye[0],yt=ye[1];function Bt(){Ce(J,!0)}var Be=It?gt:tt;return je(function(){if(Tt!==oe&&Tt!==se){var Dr=Be.indexOf(Tt),At=Be[Dr+1],Xr=Te(Tt);Xr===ft?Ce(At,!0):At&&Je(function(en){function Lr(){en.isCanceled()||Ce(At,!0)}Xr===!0?Lr():Promise.resolve(Xr).then(Lr)})}},[pe,Tt]),a.useEffect(function(){return function(){yt()}},[]),[Bt,Tt]};function ke(pe,It,Te,ct){var Wt=ct.motionEnter,Tt=Wt===void 0?!0:Wt,Ce=ct.motionAppear,St=Ce===void 0?!0:Ce,ye=ct.motionLeave,Je=ye===void 0?!0:ye,yt=ct.motionDeadline,Bt=ct.motionLeaveImmediately,Be=ct.onAppearPrepare,Dr=ct.onEnterPrepare,At=ct.onLeavePrepare,Xr=ct.onAppearStart,en=ct.onEnterStart,Lr=ct.onLeaveStart,Nr=ct.onAppearActive,mr=ct.onEnterActive,Zr=ct.onLeaveActive,on=ct.onAppearEnd,_n=ct.onEnterEnd,Yt=ct.onLeaveEnd,mt=ct.onVisibleChanged,st=(0,B.Z)(),lt=(0,l.Z)(st,2),Nt=lt[0],br=lt[1],vr=V(W),nt=(0,l.Z)(vr,2),Tr=nt[0],vn=nt[1],Gn=(0,B.Z)(null),Yr=(0,l.Z)(Gn,2),Yn=Yr[0],Jn=Yr[1],kn=Tr(),Qn=(0,a.useRef)(!1),ri=(0,a.useRef)(null);function Ai(){return Te()}var wi=(0,a.useRef)(!1);function Ui(){vn(W),Jn(null,!0)}var oa=(0,M.useEvent)(function(rr){var _t=Tr();if(_t!==W){var rt=Ai();if(!(rr&&!rr.deadline&&rr.target!==rt)){var Ot=wi.current,ht;_t===H&&Ot?ht=on==null?void 0:on(rt,rr):_t===ae&&Ot?ht=_n==null?void 0:_n(rt,rr):_t===ne&&Ot&&(ht=Yt==null?void 0:Yt(rt,rr)),Ot&&ht!==!1&&Ui()}}}),Vi=Mt(oa),zi=(0,l.Z)(Vi,1),mi=zi[0],Ki=function(_t){switch(_t){case H:return(0,r.Z)((0,r.Z)((0,r.Z)({},J,Be),q,Xr),K,Nr);case ae:return(0,r.Z)((0,r.Z)((0,r.Z)({},J,Dr),q,en),K,mr);case ne:return(0,r.Z)((0,r.Z)((0,r.Z)({},J,At),q,Lr),K,Zr);default:return{}}},Dt=a.useMemo(function(){return Ki(kn)},[kn]),vt=xe(kn,!pe,function(rr){if(rr===J){var _t=Dt[J];return _t?_t(Ai()):ft}if(hi in Dt){var rt;Jn(((rt=Dt[hi])===null||rt===void 0?void 0:rt.call(Dt,Ai(),null))||null)}return hi===K&&kn!==W&&(mi(Ai()),yt>0&&(clearTimeout(ri.current),ri.current=setTimeout(function(){oa({deadline:!0})},yt))),hi===ee&&Ui(),Qe}),Zi=(0,l.Z)(vt,2),Hi=Zi[0],hi=Zi[1],Fa=Ne(hi);wi.current=Fa;var Ti=(0,a.useRef)(null);je(function(){if(!(Qn.current&&Ti.current===It)){br(It);var rr=Qn.current;Qn.current=!0;var _t;!rr&&It&&St&&(_t=H),rr&&It&&Tt&&(_t=ae),(rr&&!It&&Je||!rr&&Bt&&!It&&Je)&&(_t=ne);var rt=Ki(_t);_t&&(pe||rt[J])?(vn(_t),Hi()):vn(W),Ti.current=It}},[It]),(0,a.useEffect)(function(){(kn===H&&!St||kn===ae&&!Tt||kn===ne&&!Je)&&vn(W)},[St,Tt,Je]),(0,a.useEffect)(function(){return function(){Qn.current=!1,clearTimeout(ri.current)}},[]);var si=a.useRef(!1);(0,a.useEffect)(function(){Nt&&(si.current=!0),Nt!==void 0&&kn===W&&((si.current||Nt)&&(mt==null||mt(Nt)),si.current=!0)},[Nt,kn]);var Dn=Yn;return Dt[J]&&hi===q&&(Dn=(0,i.Z)({transition:"none"},Dn)),[kn,hi,Dn,Nt!=null?Nt:It]}function Ge(pe){var It=pe;(0,c.Z)(pe)==="object"&&(It=pe.transitionSupport);function Te(Wt,Tt){return!!(Wt.motionName&&It&&Tt!==!1)}var ct=a.forwardRef(function(Wt,Tt){var Ce=Wt.visible,St=Ce===void 0?!0:Ce,ye=Wt.removeOnLeave,Je=ye===void 0?!0:ye,yt=Wt.forceRender,Bt=Wt.children,Be=Wt.motionName,Dr=Wt.leavedClassName,At=Wt.eventProps,Xr=a.useContext(y),en=Xr.motion,Lr=Te(Wt,en),Nr=(0,a.useRef)(),mr=(0,a.useRef)();function Zr(){try{return Nr.current instanceof HTMLElement?Nr.current:(0,h.ZP)(mr.current)}catch(Yr){return null}}var on=ke(Lr,St,Zr,Wt),_n=(0,l.Z)(on,4),Yt=_n[0],mt=_n[1],st=_n[2],lt=_n[3],Nt=a.useRef(lt);lt&&(Nt.current=!0);var br=a.useCallback(function(Yr){Nr.current=Yr,(0,u.mH)(Tt,Yr)},[Tt]),vr,nt=(0,i.Z)((0,i.Z)({},At),{},{visible:St});if(!Bt)vr=null;else if(Yt===W)lt?vr=Bt((0,i.Z)({},nt),br):!Je&&Nt.current&&Dr?vr=Bt((0,i.Z)((0,i.Z)({},nt),{},{className:Dr}),br):yt||!Je&&!Dr?vr=Bt((0,i.Z)((0,i.Z)({},nt),{},{style:{display:"none"}}),br):vr=null;else{var Tr;mt===J?Tr="prepare":Ne(mt)?Tr="active":mt===q&&(Tr="start");var vn=Zt(Be,"".concat(Yt,"-").concat(Tr));vr=Bt((0,i.Z)((0,i.Z)({},nt),{},{className:o()(Zt(Be,Yt),(0,r.Z)((0,r.Z)({},vn,vn&&Tr),Be,typeof Be=="string")),style:st}),br)}if(a.isValidElement(vr)&&(0,u.Yr)(vr)){var Gn=(0,u.C4)(vr);Gn||(vr=a.cloneElement(vr,{ref:br}))}return a.createElement(I,{ref:mr},vr)});return ct.displayName="CSSMotion",ct}var He=Ge(Lt),Ye=e(54476),dt=e(31226),xt="add",nr="keep",qt="remove",Me="removed";function qe(pe){var It;return pe&&(0,c.Z)(pe)==="object"&&"key"in pe?It=pe:It={key:pe},(0,i.Z)((0,i.Z)({},It),{},{key:String(It.key)})}function Vt(){var pe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];return pe.map(qe)}function Rt(){var pe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],It=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],Te=[],ct=0,Wt=It.length,Tt=Vt(pe),Ce=Vt(It);Tt.forEach(function(Je){for(var yt=!1,Bt=ct;Bt<Wt;Bt+=1){var Be=Ce[Bt];if(Be.key===Je.key){ct<Bt&&(Te=Te.concat(Ce.slice(ct,Bt).map(function(Dr){return(0,i.Z)((0,i.Z)({},Dr),{},{status:xt})})),ct=Bt),Te.push((0,i.Z)((0,i.Z)({},Be),{},{status:nr})),ct+=1,yt=!0;break}}yt||Te.push((0,i.Z)((0,i.Z)({},Je),{},{status:qt}))}),ct<Wt&&(Te=Te.concat(Ce.slice(ct).map(function(Je){return(0,i.Z)((0,i.Z)({},Je),{},{status:xt})})));var St={};Te.forEach(function(Je){var yt=Je.key;St[yt]=(St[yt]||0)+1});var ye=Object.keys(St).filter(function(Je){return St[Je]>1});return ye.forEach(function(Je){Te=Te.filter(function(yt){var Bt=yt.key,Be=yt.status;return Bt!==Je||Be!==qt}),Te.forEach(function(yt){yt.key===Je&&(yt.status=nr)})}),Te}var zt=["component","children","onVisibleChanged","onAllRemoved"],Ht=["status"],Ct=["eventProps","visible","children","motionName","motionAppear","motionEnter","motionLeave","motionLeaveImmediately","motionDeadline","removeOnLeave","leavedClassName","onAppearPrepare","onAppearStart","onAppearActive","onAppearEnd","onEnterStart","onEnterActive","onEnterEnd","onLeaveStart","onLeaveActive","onLeaveEnd"];function Xt(pe){var It=arguments.length>1&&arguments[1]!==void 0?arguments[1]:He,Te=function(ct){(0,k.Z)(Tt,ct);var Wt=(0,R.Z)(Tt);function Tt(){var Ce;(0,b.Z)(this,Tt);for(var St=arguments.length,ye=new Array(St),Je=0;Je<St;Je++)ye[Je]=arguments[Je];return Ce=Wt.call.apply(Wt,[this].concat(ye)),(0,r.Z)((0,dt.Z)(Ce),"state",{keyEntities:[]}),(0,r.Z)((0,dt.Z)(Ce),"removeKey",function(yt){Ce.setState(function(Bt){var Be=Bt.keyEntities.map(function(Dr){return Dr.key!==yt?Dr:(0,i.Z)((0,i.Z)({},Dr),{},{status:Me})});return{keyEntities:Be}},function(){var Bt=Ce.state.keyEntities,Be=Bt.filter(function(Dr){var At=Dr.status;return At!==Me}).length;Be===0&&Ce.props.onAllRemoved&&Ce.props.onAllRemoved()})}),Ce}return(0,S.Z)(Tt,[{key:"render",value:function(){var St=this,ye=this.state.keyEntities,Je=this.props,yt=Je.component,Bt=Je.children,Be=Je.onVisibleChanged,Dr=Je.onAllRemoved,At=(0,x.Z)(Je,zt),Xr=yt||a.Fragment,en={};return Ct.forEach(function(Lr){en[Lr]=At[Lr],delete At[Lr]}),delete At.keys,a.createElement(Xr,At,ye.map(function(Lr,Nr){var mr=Lr.status,Zr=(0,x.Z)(Lr,Ht),on=mr===xt||mr===nr;return a.createElement(It,(0,Ye.Z)({},en,{key:Zr.key,visible:on,eventProps:Zr,onVisibleChanged:function(Yt){Be==null||Be(Yt,{key:Zr.key}),Yt||St.removeKey(Zr.key)}}),function(_n,Yt){return Bt((0,i.Z)((0,i.Z)({},_n),{},{index:Nr}),Yt)})}))}}],[{key:"getDerivedStateFromProps",value:function(St,ye){var Je=St.keys,yt=ye.keyEntities,Bt=Vt(Je),Be=Rt(yt,Bt);return{keyEntities:Be.filter(function(Dr){var At=yt.find(function(Xr){var en=Xr.key;return Dr.key===en});return!(At&&At.status===Me&&Dr.status===qt)})}}}]),Tt}(a.Component);return(0,r.Z)(Te,"defaultProps",{component:"div"}),Te}var ze=Xt(Lt),ce=He},581:function(d,v,e){"use strict";e.d(v,{qX:function(){return b},JB:function(){return R},lm:function(){return ae}});var r=e(94480),i=e(42978),l=e(75931),c=e(59301),f=e(33885),o=e(4676),h=e(54476),u=e(92310),a=e.n(u),x=e(77900),p=e(20068),y=e(10228),_=c.forwardRef(function(ne,oe){var J=ne.prefixCls,q=ne.style,K=ne.className,se=ne.duration,ee=se===void 0?4.5:se,Q=ne.eventKey,le=ne.content,z=ne.closable,$=ne.closeIcon,ie=$===void 0?"x":$,_e=ne.props,Ae=ne.onClick,Pe=ne.onNoticeClose,We=ne.times,$e=c.useState(!1),Lt=(0,i.Z)($e,2),bt=Lt[0],kt=Lt[1],Zt=function(){Pe(Q)},Mt=function(wt){(wt.key==="Enter"||wt.code==="Enter"||wt.keyCode===y.Z.ENTER)&&Zt()};c.useEffect(function(){if(!bt&&ee>0){var je=setTimeout(function(){Zt()},ee*1e3);return function(){clearTimeout(je)}}},[ee,bt,We]);var tr="".concat(J,"-notice");return c.createElement("div",(0,h.Z)({},_e,{ref:oe,className:a()(tr,K,(0,p.Z)({},"".concat(tr,"-closable"),z)),style:q,onMouseEnter:function(){kt(!0)},onMouseLeave:function(){kt(!1)},onClick:Ae}),c.createElement("div",{className:"".concat(tr,"-content")},le),z&&c.createElement("a",{tabIndex:0,className:"".concat(tr,"-close"),onKeyDown:Mt,onClick:function(wt){wt.preventDefault(),wt.stopPropagation(),Zt()}},ie))}),b=_,S=c.createContext({}),k=function(oe){var J=oe.children,q=oe.classNames;return c.createElement(S.Provider,{value:{classNames:q}},J)},R=k,A=function(oe){var J=oe.configList,q=oe.placement,K=oe.prefixCls,se=oe.className,ee=oe.style,Q=oe.motion,le=oe.onAllNoticeRemoved,z=oe.onNoticeClose,$=(0,c.useContext)(S),ie=$.classNames,_e=J.map(function(Pe){return{config:Pe,key:Pe.key}}),Ae=typeof Q=="function"?Q(q):Q;return c.createElement(x.CSSMotionList,(0,h.Z)({key:q,className:a()(K,"".concat(K,"-").concat(q),ie==null?void 0:ie.list,se),style:ee,keys:_e,motionAppear:!0},Ae,{onAllRemoved:function(){le(q)}}),function(Pe,We){var $e=Pe.config,Lt=Pe.className,bt=Pe.style,kt=$e,Zt=kt.key,Mt=kt.times,tr=$e,je=tr.className,wt=tr.style;return c.createElement(b,(0,h.Z)({},$e,{ref:We,prefixCls:K,className:a()(Lt,je,ie==null?void 0:ie.notice),style:(0,f.Z)((0,f.Z)({},bt),wt),times:Mt,key:Zt,eventKey:Zt,onNoticeClose:z}))})},I=A,M=c.forwardRef(function(ne,oe){var J=ne.prefixCls,q=J===void 0?"rc-notification":J,K=ne.container,se=ne.motion,ee=ne.maxCount,Q=ne.className,le=ne.style,z=ne.onAllRemoved,$=ne.renderNotifications,ie=c.useState([]),_e=(0,i.Z)(ie,2),Ae=_e[0],Pe=_e[1],We=function(wt){var Ft,tt=Ae.find(function(gt){return gt.key===wt});tt==null||(Ft=tt.onClose)===null||Ft===void 0||Ft.call(tt),Pe(function(gt){return gt.filter(function(ft){return ft.key!==wt})})};c.useImperativeHandle(oe,function(){return{open:function(wt){Pe(function(Ft){var tt=(0,r.Z)(Ft),gt=tt.findIndex(function(Ne){return Ne.key===wt.key}),ft=(0,f.Z)({},wt);if(gt>=0){var Qe;ft.times=(((Qe=Ft[gt])===null||Qe===void 0?void 0:Qe.times)||0)+1,tt[gt]=ft}else ft.times=0,tt.push(ft);return ee>0&&tt.length>ee&&(tt=tt.slice(-ee)),tt})},close:function(wt){We(wt)},destroy:function(){Pe([])}}});var $e=c.useState({}),Lt=(0,i.Z)($e,2),bt=Lt[0],kt=Lt[1];c.useEffect(function(){var je={};Ae.forEach(function(wt){var Ft=wt.placement,tt=Ft===void 0?"topRight":Ft;tt&&(je[tt]=je[tt]||[],je[tt].push(wt))}),Object.keys(bt).forEach(function(wt){je[wt]=je[wt]||[]}),kt(je)},[Ae]);var Zt=function(wt){kt(function(Ft){var tt=(0,f.Z)({},Ft),gt=tt[wt]||[];return gt.length||delete tt[wt],tt})},Mt=c.useRef(!1);if(c.useEffect(function(){Object.keys(bt).length>0?Mt.current=!0:Mt.current&&(z==null||z(),Mt.current=!1)},[bt]),!K)return null;var tr=Object.keys(bt);return(0,o.createPortal)(c.createElement(c.Fragment,null,tr.map(function(je){var wt=bt[je],Ft=c.createElement(I,{key:je,configList:wt,placement:je,prefixCls:q,className:Q==null?void 0:Q(je),style:le==null?void 0:le(je),motion:se,onNoticeClose:We,onAllNoticeRemoved:Zt});return $?$(Ft,{prefixCls:q,key:je}):Ft})),K)}),B=M,N=["getContainer","motion","prefixCls","maxCount","className","style","onAllRemoved","renderNotifications"],V=function(){return document.body},W=0;function H(){for(var ne={},oe=arguments.length,J=new Array(oe),q=0;q<oe;q++)J[q]=arguments[q];return J.forEach(function(K){K&&Object.keys(K).forEach(function(se){var ee=K[se];ee!==void 0&&(ne[se]=ee)})}),ne}function ae(){var ne=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},oe=ne.getContainer,J=oe===void 0?V:oe,q=ne.motion,K=ne.prefixCls,se=ne.maxCount,ee=ne.className,Q=ne.style,le=ne.onAllRemoved,z=ne.renderNotifications,$=(0,l.Z)(ne,N),ie=c.useState(),_e=(0,i.Z)(ie,2),Ae=_e[0],Pe=_e[1],We=c.useRef(),$e=c.createElement(B,{container:Ae,ref:We,prefixCls:K,motion:q,maxCount:se,className:ee,style:Q,onAllRemoved:le,renderNotifications:z}),Lt=c.useState([]),bt=(0,i.Z)(Lt,2),kt=bt[0],Zt=bt[1],Mt=c.useMemo(function(){return{open:function(je){var wt=H($,je);(wt.key===null||wt.key===void 0)&&(wt.key="rc-notification-".concat(W),W+=1),Zt(function(Ft){return[].concat((0,r.Z)(Ft),[{type:"open",config:wt}])})},close:function(je){Zt(function(wt){return[].concat((0,r.Z)(wt),[{type:"close",key:je}])})},destroy:function(){Zt(function(je){return[].concat((0,r.Z)(je),[{type:"destroy"}])})}}},[]);return c.useEffect(function(){Pe(J())}),c.useEffect(function(){We.current&&kt.length&&(kt.forEach(function(tr){switch(tr.type){case"open":We.current.open(tr.config);break;case"close":We.current.close(tr.key);break;case"destroy":We.current.destroy();break}}),Zt(function(tr){return tr.filter(function(je){return!kt.includes(je)})}))},[kt]),[Mt,$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 q}});var r=e(54476),i=e(59301),l=e(11592),c=e(48736),f=e(33885),o=e(76190),h=e(76846),u=e(8654),a=i.createContext(null);function x(K){var se=K.children,ee=K.onBatchResize,Q=i.useRef(0),le=i.useRef([]),z=i.useContext(a),$=i.useCallback(function(ie,_e,Ae){Q.current+=1;var Pe=Q.current;le.current.push({size:ie,element:_e,data:Ae}),Promise.resolve().then(function(){Pe===Q.current&&(ee==null||ee(le.current),le.current=[])}),z==null||z(ie,_e,Ae)},[ee,z]);return i.createElement(a.Provider,{value:$},se)}var p=e(76374),y=new Map;function _(K){K.forEach(function(se){var ee,Q=se.target;(ee=y.get(Q))===null||ee===void 0||ee.forEach(function(le){return le(Q)})})}var b=new p.Z(_),S=null,k=null;function R(K,se){y.has(K)||(y.set(K,new Set),b.observe(K)),y.get(K).add(se)}function A(K,se){y.has(K)&&(y.get(K).delete(se),y.get(K).size||(b.unobserve(K),y.delete(K)))}var I=e(67732),M=e(83652),B=e(42403),N=e(158),V=function(K){(0,B.Z)(ee,K);var se=(0,N.Z)(ee);function ee(){return(0,I.Z)(this,ee),se.apply(this,arguments)}return(0,M.Z)(ee,[{key:"render",value:function(){return this.props.children}}]),ee}(i.Component);function W(K,se){var ee=K.children,Q=K.disabled,le=i.useRef(null),z=i.useRef(null),$=i.useContext(a),ie=typeof ee=="function",_e=ie?ee(le):ee,Ae=i.useRef({width:-1,height:-1,offsetWidth:-1,offsetHeight:-1}),Pe=!ie&&i.isValidElement(_e)&&(0,u.Yr)(_e),We=Pe?(0,u.C4)(_e):null,$e=(0,u.x1)(We,le),Lt=function(){var Mt;return(0,h.ZP)(le.current)||(le.current&&(0,o.Z)(le.current)==="object"?(0,h.ZP)((Mt=le.current)===null||Mt===void 0?void 0:Mt.nativeElement):null)||(0,h.ZP)(z.current)};i.useImperativeHandle(se,function(){return Lt()});var bt=i.useRef(K);bt.current=K;var kt=i.useCallback(function(Zt){var Mt=bt.current,tr=Mt.onResize,je=Mt.data,wt=Zt.getBoundingClientRect(),Ft=wt.width,tt=wt.height,gt=Zt.offsetWidth,ft=Zt.offsetHeight,Qe=Math.floor(Ft),Ne=Math.floor(tt);if(Ae.current.width!==Qe||Ae.current.height!==Ne||Ae.current.offsetWidth!==gt||Ae.current.offsetHeight!==ft){var xe={width:Qe,height:Ne,offsetWidth:gt,offsetHeight:ft};Ae.current=xe;var ke=gt===Math.round(Ft)?Ft:gt,Ge=ft===Math.round(tt)?tt:ft,He=(0,f.Z)((0,f.Z)({},xe),{},{offsetWidth:ke,offsetHeight:Ge});$==null||$(He,Zt,je),tr&&Promise.resolve().then(function(){tr(He,Zt)})}},[]);return i.useEffect(function(){var Zt=Lt();return Zt&&!Q&&R(Zt,kt),function(){return A(Zt,kt)}},[le.current,Q]),i.createElement(V,{ref:z},Pe?i.cloneElement(_e,{ref:$e}):_e)}var H=i.forwardRef(W),ae=H,ne="rc-observer-key";function oe(K,se){var ee=K.children,Q=typeof ee=="function"?[ee]:(0,l.Z)(ee);return Q.map(function(le,z){var $=(le==null?void 0:le.key)||"".concat(ne,"-").concat(z);return i.createElement(ae,(0,r.Z)({},K,{key:$,ref:z===0?se:void 0}),le)})}var J=i.forwardRef(oe);J.Collection=x;var q=J},55477:function(d,v,e){"use strict";e.d(v,{G:function(){return _},Z:function(){return R}});var r=e(54476),i=e(33885),l=e(75931),c=e(35593),f=e(59301),o={shiftX:64,adjustY:1},h={adjustX:1,shiftY:!0},u=[0,0],a={left:{points:["cr","cl"],overflow:h,offset:[-4,0],targetOffset:u},right:{points:["cl","cr"],overflow:h,offset:[4,0],targetOffset:u},top:{points:["bc","tc"],overflow:o,offset:[0,-4],targetOffset:u},bottom:{points:["tc","bc"],overflow:o,offset:[0,4],targetOffset:u},topLeft:{points:["bl","tl"],overflow:o,offset:[0,-4],targetOffset:u},leftTop:{points:["tr","tl"],overflow:h,offset:[-4,0],targetOffset:u},topRight:{points:["br","tr"],overflow:o,offset:[0,-4],targetOffset:u},rightTop:{points:["tl","tr"],overflow:h,offset:[4,0],targetOffset:u},bottomRight:{points:["tr","br"],overflow:o,offset:[0,4],targetOffset:u},rightBottom:{points:["bl","br"],overflow:h,offset:[4,0],targetOffset:u},bottomLeft:{points:["tl","bl"],overflow:o,offset:[0,4],targetOffset:u},leftBottom:{points:["br","bl"],overflow:h,offset:[-4,0],targetOffset:u}},x=null,p=e(92310),y=e.n(p);function _(A){var I=A.children,M=A.prefixCls,B=A.id,N=A.overlayInnerStyle,V=A.className,W=A.style;return f.createElement("div",{className:y()("".concat(M,"-content"),V),style:W},f.createElement("div",{className:"".concat(M,"-inner"),id:B,role:"tooltip",style:N},typeof I=="function"?I():I))}var b=["overlayClassName","trigger","mouseEnterDelay","mouseLeaveDelay","overlayStyle","prefixCls","children","onVisibleChange","afterVisibleChange","transitionName","animation","motion","placement","align","destroyTooltipOnHide","defaultVisible","getTooltipContainer","overlayInnerStyle","arrowContent","overlay","id","showArrow"],S=function(I,M){var B=I.overlayClassName,N=I.trigger,V=N===void 0?["hover"]:N,W=I.mouseEnterDelay,H=W===void 0?0:W,ae=I.mouseLeaveDelay,ne=ae===void 0?.1:ae,oe=I.overlayStyle,J=I.prefixCls,q=J===void 0?"rc-tooltip":J,K=I.children,se=I.onVisibleChange,ee=I.afterVisibleChange,Q=I.transitionName,le=I.animation,z=I.motion,$=I.placement,ie=$===void 0?"right":$,_e=I.align,Ae=_e===void 0?{}:_e,Pe=I.destroyTooltipOnHide,We=Pe===void 0?!1:Pe,$e=I.defaultVisible,Lt=I.getTooltipContainer,bt=I.overlayInnerStyle,kt=I.arrowContent,Zt=I.overlay,Mt=I.id,tr=I.showArrow,je=tr===void 0?!0:tr,wt=(0,l.Z)(I,b),Ft=(0,f.useRef)(null);(0,f.useImperativeHandle)(M,function(){return Ft.current});var tt=(0,i.Z)({},wt);"visible"in I&&(tt.popupVisible=I.visible);var gt=function(){return f.createElement(_,{key:"content",prefixCls:q,id:Mt,overlayInnerStyle:bt},Zt)};return f.createElement(c.Z,(0,r.Z)({popupClassName:B,prefixCls:q,popup:gt,action:V,builtinPlacements:a,popupPlacement:ie,ref:Ft,popupAlign:Ae,getPopupContainer:Lt,onPopupVisibleChange:se,afterPopupVisibleChange:ee,popupTransitionName:Q,popupAnimation:le,popupMotion:z,defaultPopupVisible:$e,autoDestroy:We,mouseLeaveDelay:ne,popupStyle:oe,mouseEnterDelay:H,arrow:je},tt),K)},k=(0,f.forwardRef)(S),R=k},11592:function(d,v,e){"use strict";e.d(v,{Z:function(){return l}});var r=e(34678),i=e(59301);function l(c){var f=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},o=[];return i.Children.forEach(c,function(h){h==null&&!f.keepEmpty||(Array.isArray(h)?o=o.concat(l(h)):(0,r.Z)(h)&&h.props?o=o.concat(l(h.props.children,f)):o.push(h))}),o}},47273:function(d,v,e){"use strict";e.d(v,{Z:function(){return r}});function r(){return!!(typeof window!="undefined"&&window.document&&window.document.createElement)}},48519:function(d,v,e){"use strict";e.d(v,{Z:function(){return r}});function r(i,l){if(!i)return!1;if(i.contains)return i.contains(l);for(var c=l;c;){if(c===i)return!0;c=c.parentNode}return!1}},810:function(d,v,e){"use strict";e.d(v,{hq:function(){return R},jL:function(){return b}});var r=e(33885),i=e(47273),l=e(48519),c="data-rc-order",f="data-rc-priority",o="rc-util-key",h=new Map;function u(){var A=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},I=A.mark;return I?I.startsWith("data-")?I:"data-".concat(I):o}function a(A){if(A.attachTo)return A.attachTo;var I=document.querySelector("head");return I||document.body}function x(A){return A==="queue"?"prependQueue":A?"prepend":"append"}function p(A){return Array.from((h.get(A)||A).children).filter(function(I){return I.tagName==="STYLE"})}function y(A){var I=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!(0,i.Z)())return null;var M=I.csp,B=I.prepend,N=I.priority,V=N===void 0?0:N,W=x(B),H=W==="prependQueue",ae=document.createElement("style");ae.setAttribute(c,W),H&&V&&ae.setAttribute(f,"".concat(V)),M!=null&&M.nonce&&(ae.nonce=M==null?void 0:M.nonce),ae.innerHTML=A;var ne=a(I),oe=ne.firstChild;if(B){if(H){var J=(I.styles||p(ne)).filter(function(q){if(!["prepend","prependQueue"].includes(q.getAttribute(c)))return!1;var K=Number(q.getAttribute(f)||0);return V>=K});if(J.length)return ne.insertBefore(ae,J[J.length-1].nextSibling),ae}ne.insertBefore(ae,oe)}else ne.appendChild(ae);return ae}function _(A){var I=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},M=a(I);return(I.styles||p(M)).find(function(B){return B.getAttribute(u(I))===A})}function b(A){var I=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},M=_(A,I);if(M){var B=a(I);B.removeChild(M)}}function S(A,I){var M=h.get(A);if(!M||!(0,l.Z)(document,M)){var B=y("",I),N=B.parentNode;h.set(A,N),A.removeChild(B)}}function k(){h.clear()}function R(A,I){var M=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},B=a(M),N=p(B),V=(0,r.Z)((0,r.Z)({},M),{},{styles:N});S(B,V);var W=_(I,V);if(W){var H,ae;if((H=V.csp)!==null&&H!==void 0&&H.nonce&&W.nonce!==((ae=V.csp)===null||ae===void 0?void 0:ae.nonce)){var ne;W.nonce=(ne=V.csp)===null||ne===void 0?void 0:ne.nonce}return W.innerHTML!==A&&(W.innerHTML=A),W}var oe=y(A,V);return oe.setAttribute(u(V),I),oe}},76846:function(d,v,e){"use strict";e.d(v,{Sh:function(){return c},ZP:function(){return o}});var r=e(76190),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(76190),i=Symbol.for("react.element"),l=Symbol.for("react.transitional.element"),c=Symbol.for("react.fragment");function f(o){return o&&(0,r.Z)(o)==="object"&&(o.$$typeof===i||o.$$typeof===l)&&o.type===c}},1585:function(d,v,e){"use strict";var r;e.d(v,{s:function(){return A},v:function(){return V}});var i=e(75044),l=e(3202),c=e(76190),f=e(33885),o=e(4676),h=(0,f.Z)({},r||(r=e.t(o,2))),u=h.version,a=h.render,x=h.unmountComponentAtNode,p;try{var y=Number((u||"").split(".")[0]);y>=18&&(p=h.createRoot)}catch(H){}function _(H){var ae=h.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;ae&&(0,c.Z)(ae)==="object"&&(ae.usingClientEntryPoint=H)}var b="__rc_react_root__";function S(H,ae){_(!0);var ne=ae[b]||p(ae);_(!1),ne.render(H),ae[b]=ne}function k(H,ae){a==null||a(H,ae)}function R(H,ae){}function A(H,ae){if(p){S(H,ae);return}k(H,ae)}function I(H){return M.apply(this,arguments)}function M(){return M=(0,l.Z)((0,i.Z)().mark(function H(ae){return(0,i.Z)().wrap(function(oe){for(;;)switch(oe.prev=oe.next){case 0:return oe.abrupt("return",Promise.resolve().then(function(){var J;(J=ae[b])===null||J===void 0||J.unmount(),delete ae[b]}));case 1:case"end":return oe.stop()}},H)})),M.apply(this,arguments)}function B(H){x(H)}function N(H){}function V(H){return W.apply(this,arguments)}function W(){return W=(0,l.Z)((0,i.Z)().mark(function H(ae){return(0,i.Z)().wrap(function(oe){for(;;)switch(oe.prev=oe.next){case 0:if(p===void 0){oe.next=2;break}return oe.abrupt("return",I(ae));case 2:B(ae);case 3:case"end":return oe.stop()}},H)})),W.apply(this,arguments)}},75152:function(d,v,e){"use strict";e.d(v,{Z:function(){return c},o:function(){return f}});var r=e(810),i;function l(o){var h="rc-scrollbar-measure-".concat(Math.random().toString(36).substring(7)),u=document.createElement("div");u.id=h;var a=u.style;a.position="absolute",a.left="0",a.top="0",a.width="100px",a.height="100px",a.overflow="scroll";var x,p;if(o){var y=getComputedStyle(o);a.scrollbarColor=y.scrollbarColor,a.scrollbarWidth=y.scrollbarWidth;var _=getComputedStyle(o,"::-webkit-scrollbar"),b=parseInt(_.width,10),S=parseInt(_.height,10);try{var k=b?"width: ".concat(_.width,";"):"",R=S?"height: ".concat(_.height,";"):"";(0,r.hq)(`
#`.concat(h,`::-webkit-scrollbar {
`).concat(k,`
`).concat(R,`
}`),h)}catch(M){console.error(M),x=b,p=S}}document.body.appendChild(u);var A=o&&x&&!isNaN(x)?x:u.offsetWidth-u.clientWidth,I=o&&p&&!isNaN(p)?p:u.offsetHeight-u.clientHeight;return document.body.removeChild(u),(0,r.jL)(h),{width:A,height:I}}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(42978),l=e(33885),c=e(59301);function f(){var a=(0,l.Z)({},r||(r=e.t(c,2)));return a.useId}var o=0;function h(){}var u=f();v.Z=u?function(x){var p=u();return x||p}:function(x){var p=c.useState("ssr-id"),y=(0,i.Z)(p,2),_=y[0],b=y[1];return c.useEffect(function(){var S=o;o+=1,b("rc_unique_".concat(S))},[]),x||_}},34280:function(d,v,e){"use strict";e.d(v,{o:function(){return f}});var r=e(59301),i=e(47273),l=(0,i.Z)()?r.useLayoutEffect:r.useEffect,c=function(h,u){var a=r.useRef(!0);l(function(){return h(a.current)},u),l(function(){return a.current=!1,function(){a.current=!0}},[])},f=function(h,u){c(function(a){if(!a)return h()},u)};v.Z=c},80547:function(d,v,e){"use strict";e.d(v,{Z:function(){return i}});var r=e(59301);function i(l,c,f){var o=r.useRef({});return(!("value"in o.current)||f(o.current.condition,c))&&(o.current.value=l(),o.current.condition=c),o.current.value}},18929:function(d,v,e){"use strict";e.d(v,{Z:function(){return o}});var r=e(42978),i=e(6089),l=e(34280),c=e(41799);function f(h){return h!==void 0}function o(h,u){var a=u||{},x=a.defaultValue,p=a.value,y=a.onChange,_=a.postState,b=(0,c.Z)(function(){return f(p)?p:f(x)?typeof x=="function"?x():x:typeof h=="function"?h():h}),S=(0,r.Z)(b,2),k=S[0],R=S[1],A=p!==void 0?p:k,I=_?_(A):A,M=(0,i.Z)(y),B=(0,c.Z)([A]),N=(0,r.Z)(B,2),V=N[0],W=N[1];(0,l.o)(function(){var ae=V[0];k!==ae&&M(k,ae)},[V]),(0,l.o)(function(){f(p)||R(p)},[p]);var H=(0,i.Z)(function(ae,ne){R(ae,ne),W([A],ne)});return[I,H]}},41799:function(d,v,e){"use strict";e.d(v,{Z:function(){return l}});var r=e(42978),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(76190),i=e(48736);function l(c,f){var o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,h=new Set;function u(a,x){var p=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1,y=h.has(a);if((0,i.ZP)(!y,"Warning: There may be circular references"),y)return!1;if(a===x)return!0;if(o&&p>1)return!1;h.add(a);var _=p+1;if(Array.isArray(a)){if(!Array.isArray(x)||a.length!==x.length)return!1;for(var b=0;b<a.length;b++)if(!u(a[b],x[b],_))return!1;return!0}if(a&&x&&(0,r.Z)(a)==="object"&&(0,r.Z)(x)==="object"){var S=Object.keys(a);return S.length!==Object.keys(x).length?!1:S.every(function(k){return u(a[k],x[k],_)})}return!1}return u(c,f)}v.Z=l},49658:function(d,v){"use strict";v.Z=function(){if(typeof navigator=="undefined"||typeof window=="undefined")return!1;var e=navigator.userAgent||navigator.vendor||window.opera;return/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino|android|ipad|playbook|silk/i.test(e)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw-(n|u)|c55\/|capi|ccwa|cdm-|cell|chtm|cldc|cmd-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc-s|devi|dica|dmob|do(c|p)o|ds(12|-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(-|_)|g1 u|g560|gene|gf-5|g-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd-(m|p|t)|hei-|hi(pt|ta)|hp( i|ip)|hs-c|ht(c(-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i-(20|go|ma)|i230|iac( |-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|-[a-w])|libw|lynx|m1-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|-([1-8]|c))|phil|pire|pl(ay|uc)|pn-2|po(ck|rt|se)|prox|psio|pt-g|qa-a|qc(07|12|21|32|60|-[2-7]|i-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h-|oo|p-)|sdk\/|se(c(-|0|1)|47|mc|nd|ri)|sgh-|shar|sie(-|m)|sk-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h-|v-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl-|tdg-|tel(i|m)|tim-|t-mo|to(pl|sh)|ts(70|m-|m3|m5)|tx-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas-|your|zeto|zte-/i.test(e==null?void 0:e.substr(0,4))}},2738:function(d,v,e){"use strict";e.d(v,{Z:function(){return r}});function r(i,l){var c=Object.assign({},i);return Array.isArray(l)&&l.forEach(function(f){delete c[f]}),c}},26112:function(d,v,e){"use strict";e.d(v,{Z:function(){return u}});var r=e(33885),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(76190),i=e(59301),l=e(23265),c=e(80547),f=e(34678),o=Number(i.version.split(".")[0]),h=function(S,k){typeof S=="function"?S(k):(0,r.Z)(S)==="object"&&S&&"current"in S&&(S.current=k)},u=function(){for(var S=arguments.length,k=new Array(S),R=0;R<S;R++)k[R]=arguments[R];var A=k.filter(Boolean);return A.length<=1?A[0]:function(I){k.forEach(function(M){h(M,I)})}},a=function(){for(var S=arguments.length,k=new Array(S),R=0;R<S;R++)k[R]=arguments[R];return(0,c.Z)(function(){return u.apply(void 0,k)},k,function(A,I){return A.length!==I.length||A.every(function(M,B){return M!==I[B]})})},x=function(S){var k,R;if(!S)return!1;if(p(S)&&o>=19)return!0;var A=(0,l.isMemo)(S)?S.type.type:S.type;return!(typeof A=="function"&&!((k=A.prototype)!==null&&k!==void 0&&k.render)&&A.$$typeof!==l.ForwardRef||typeof S=="function"&&!((R=S.prototype)!==null&&R!==void 0&&R.render)&&S.$$typeof!==l.ForwardRef)};function p(b){return(0,i.isValidElement)(b)&&!(0,f.Z)(b)}var y=function(S){return p(S)&&x(S)},_=function(S){if(S&&p(S)){var k=S;return k.props.propertyIsEnumerable("ref")?k.props.ref:k.ref}return null}},97938:function(d,v,e){"use strict";e.d(v,{Z:function(){return r}});function r(i,l){for(var c=i,f=0;f<l.length;f+=1){if(c==null)return;c=c[l[f]]}return c}},24434:function(d,v,e){"use strict";e.d(v,{T:function(){return p},Z:function(){return h}});var r=e(76190),i=e(33885),l=e(94480),c=e(66712),f=e(97938);function o(y,_,b,S){if(!_.length)return b;var k=(0,c.Z)(_),R=k[0],A=k.slice(1),I;return!y&&typeof R=="number"?I=[]:Array.isArray(y)?I=(0,l.Z)(y):I=(0,i.Z)({},y),S&&b===void 0&&A.length===1?delete I[R][A[0]]:I[R]=o(I[R],A,b,S),I}function h(y,_,b){var S=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;return _.length&&S&&b===void 0&&!(0,f.Z)(y,_.slice(0,-1))?y:o(y,_,b,S)}function u(y){return(0,r.Z)(y)==="object"&&y!==null&&Object.getPrototypeOf(y)===Object.prototype}function a(y){return Array.isArray(y)?[]:{}}var x=typeof Reflect=="undefined"?Object.keys:Reflect.ownKeys;function p(){for(var y=arguments.length,_=new Array(y),b=0;b<y;b++)_[b]=arguments[b];var S=a(_[0]);return _.forEach(function(k){function R(A,I){var M=new Set(I),B=(0,f.Z)(k,A),N=Array.isArray(B);if(N||u(B)){if(!M.has(B)){M.add(B);var V=(0,f.Z)(S,A);N?S=h(S,A,[]):(!V||(0,r.Z)(V)!=="object")&&(S=h(S,A,a(B))),x(B).forEach(function(W){R([].concat((0,l.Z)(A),[W]),M)})}}else S=h(S,A,B)}R([])}),S}},48736:function(d,v,e){"use strict";e.d(v,{ET:function(){return a},Kp:function(){return c}});var r={},i=[],l=function(p){i.push(p)};function c(x,p){if(0)var y}function f(x,p){if(0)var y}function o(){r={}}function h(x,p,y){!p&&!r[y]&&(x(!1,y),r[y]=!0)}function u(x,p){h(c,x,p)}function a(x,p){h(f,x,p)}u.preMessage=l,u.resetWarned=o,u.noteOnce=a,v.ZP=u},83145:function(d,v,e){"use strict";Object.defineProperty(v,"__esModule",{value:!0}),v.CopyToClipboard=void 0;var r=l(e(59301)),i=l(e(25769));function l(I){return I&&I.__esModule?I:{default:I}}function c(I){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(I)}function f(I,M){var B=Object.keys(I);if(Object.getOwnPropertySymbols){var N=Object.getOwnPropertySymbols(I);M&&(N=N.filter(function(V){return Object.getOwnPropertyDescriptor(I,V).enumerable})),B.push.apply(B,N)}return B}function o(I){for(var M=1;M<arguments.length;M++){var B=arguments[M]!=null?arguments[M]:{};M%2?f(B,!0).forEach(function(N){R(I,N,B[N])}):Object.getOwnPropertyDescriptors?Object.defineProperties(I,Object.getOwnPropertyDescriptors(B)):f(B).forEach(function(N){Object.defineProperty(I,N,Object.getOwnPropertyDescriptor(B,N))})}return I}function h(I,M){if(I==null)return{};var B=u(I,M),N,V;if(Object.getOwnPropertySymbols){var W=Object.getOwnPropertySymbols(I);for(V=0;V<W.length;V++)N=W[V],!(M.indexOf(N)>=0)&&Object.prototype.propertyIsEnumerable.call(I,N)&&(B[N]=I[N])}return B}function u(I,M){if(I==null)return{};var B={},N=Object.keys(I),V,W;for(W=0;W<N.length;W++)V=N[W],!(M.indexOf(V)>=0)&&(B[V]=I[V]);return B}function a(I,M){if(!(I instanceof M))throw new TypeError("Cannot call a class as a function")}function x(I,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(I,N.key,N)}}function p(I,M,B){return M&&x(I.prototype,M),B&&x(I,B),I}function y(I,M){return M&&(c(M)==="object"||typeof M=="function")?M:b(I)}function _(I){return _=Object.setPrototypeOf?Object.getPrototypeOf:function(B){return B.__proto__||Object.getPrototypeOf(B)},_(I)}function b(I){if(I===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return I}function S(I,M){if(typeof M!="function"&&M!==null)throw new TypeError("Super expression must either be null or a function");I.prototype=Object.create(M&&M.prototype,{constructor:{value:I,writable:!0,configurable:!0}}),M&&k(I,M)}function k(I,M){return k=Object.setPrototypeOf||function(N,V){return N.__proto__=V,N},k(I,M)}function R(I,M,B){return M in I?Object.defineProperty(I,M,{value:B,enumerable:!0,configurable:!0,writable:!0}):I[M]=B,I}var A=function(I){S(M,I);function M(){var B,N;a(this,M);for(var V=arguments.length,W=new Array(V),H=0;H<V;H++)W[H]=arguments[H];return N=y(this,(B=_(M)).call.apply(B,[this].concat(W))),R(b(N),"onClick",function(ae){var ne=N.props,oe=ne.text,J=ne.onCopy,q=ne.children,K=ne.options,se=r.default.Children.only(q),ee=(0,i.default)(oe,K);J&&J(oe,ee),se&&se.props&&typeof se.props.onClick=="function"&&se.props.onClick(ae)}),N}return p(M,[{key:"render",value:function(){var N=this.props,V=N.text,W=N.onCopy,H=N.options,ae=N.children,ne=h(N,["text","onCopy","options","children"]),oe=r.default.Children.only(ae);return r.default.cloneElement(oe,o({},ne,{onClick:this.onClick}))}}]),M}(r.default.PureComponent);v.CopyToClipboard=A,R(A,"defaultProps",{onCopy:void 0,options:void 0})},56102:function(d,v,e){"use strict";var r=e(83145),i=r.CopyToClipboard;i.CopyToClipboard=i,d.exports=i},23675:function(d,v,e){"use strict";var r=e(59301),i=e(84126),l=e(43014);function c(g){for(var T="https://reactjs.org/docs/error-decoder.html?invariant="+g,U=1;U<arguments.length;U++)T+="&args[]="+encodeURIComponent(arguments[U]);return"Minified React error #"+g+"; visit "+T+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}if(!r)throw Error(c(227));var f=new Set,o={};function h(g,T){u(g,T),u(g+"Capture",T)}function u(g,T){for(o[g]=T,g=0;g<T.length;g++)f.add(T[g])}var a=!(typeof window=="undefined"||typeof window.document=="undefined"||typeof window.document.createElement=="undefined"),x=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,p=Object.prototype.hasOwnProperty,y={},_={};function b(g){return p.call(_,g)?!0:p.call(y,g)?!1:x.test(g)?_[g]=!0:(y[g]=!0,!1)}function S(g,T,U,ve){if(U!==null&&U.type===0)return!1;switch(typeof T){case"function":case"symbol":return!0;case"boolean":return ve?!1:U!==null?!U.acceptsBooleans:(g=g.toLowerCase().slice(0,5),g!=="data-"&&g!=="aria-");default:return!1}}function k(g,T,U,ve){if(T===null||typeof T=="undefined"||S(g,T,U,ve))return!0;if(ve)return!1;if(U!==null)switch(U.type){case 3:return!T;case 4:return T===!1;case 5:return isNaN(T);case 6:return isNaN(T)||1>T}return!1}function R(g,T,U,ve,Oe,at,jt){this.acceptsBooleans=T===2||T===3||T===4,this.attributeName=ve,this.attributeNamespace=Oe,this.mustUseProperty=U,this.propertyName=g,this.type=T,this.sanitizeURL=at,this.removeEmptyString=jt}var A={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(g){A[g]=new R(g,0,!1,g,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(g){var T=g[0];A[T]=new R(T,1,!1,g[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(g){A[g]=new R(g,2,!1,g.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(g){A[g]=new R(g,2,!1,g,null,!1,!1)}),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(g){A[g]=new R(g,3,!1,g.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(g){A[g]=new R(g,3,!0,g,null,!1,!1)}),["capture","download"].forEach(function(g){A[g]=new R(g,4,!1,g,null,!1,!1)}),["cols","rows","size","span"].forEach(function(g){A[g]=new R(g,6,!1,g,null,!1,!1)}),["rowSpan","start"].forEach(function(g){A[g]=new R(g,5,!1,g.toLowerCase(),null,!1,!1)});var I=/[\-:]([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 T=g.replace(I,M);A[T]=new R(T,1,!1,g,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(g){var T=g.replace(I,M);A[T]=new R(T,1,!1,g,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(g){var T=g.replace(I,M);A[T]=new R(T,1,!1,g,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(g){A[g]=new R(g,1,!1,g.toLowerCase(),null,!1,!1)}),A.xlinkHref=new R("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(g){A[g]=new R(g,1,!1,g.toLowerCase(),null,!0,!0)});function B(g,T,U,ve){var Oe=A.hasOwnProperty(T)?A[T]:null,at=Oe!==null?Oe.type===0:ve?!1:!(!(2<T.length)||T[0]!=="o"&&T[0]!=="O"||T[1]!=="n"&&T[1]!=="N");at||(k(T,U,Oe,ve)&&(U=null),ve||Oe===null?b(T)&&(U===null?g.removeAttribute(T):g.setAttribute(T,""+U)):Oe.mustUseProperty?g[Oe.propertyName]=U===null?Oe.type===3?!1:"":U:(T=Oe.attributeName,ve=Oe.attributeNamespace,U===null?g.removeAttribute(T):(Oe=Oe.type,U=Oe===3||Oe===4&&U===!0?"":""+U,ve?g.setAttributeNS(ve,T,U):g.setAttribute(T,U))))}var N=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,V=60103,W=60106,H=60107,ae=60108,ne=60114,oe=60109,J=60110,q=60112,K=60113,se=60120,ee=60115,Q=60116,le=60121,z=60128,$=60129,ie=60130,_e=60131;if(typeof Symbol=="function"&&Symbol.for){var Ae=Symbol.for;V=Ae("react.element"),W=Ae("react.portal"),H=Ae("react.fragment"),ae=Ae("react.strict_mode"),ne=Ae("react.profiler"),oe=Ae("react.provider"),J=Ae("react.context"),q=Ae("react.forward_ref"),K=Ae("react.suspense"),se=Ae("react.suspense_list"),ee=Ae("react.memo"),Q=Ae("react.lazy"),le=Ae("react.block"),Ae("react.scope"),z=Ae("react.opaque.id"),$=Ae("react.debug_trace_mode"),ie=Ae("react.offscreen"),_e=Ae("react.legacy_hidden")}var Pe=typeof Symbol=="function"&&Symbol.iterator;function We(g){return g===null||typeof g!="object"?null:(g=Pe&&g[Pe]||g["@@iterator"],typeof g=="function"?g:null)}var $e;function Lt(g){if($e===void 0)try{throw Error()}catch(U){var T=U.stack.trim().match(/\n( *(at )?)/);$e=T&&T[1]||""}return`
`+$e+g}var bt=!1;function kt(g,T){if(!g||bt)return"";bt=!0;var U=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(T)if(T=function(){throw Error()},Object.defineProperty(T.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(T,[])}catch(Or){var ve=Or}Reflect.construct(g,[],T)}else{try{T.call()}catch(Or){ve=Or}g.call(T.prototype)}else{try{throw Error()}catch(Or){ve=Or}g()}}catch(Or){if(Or&&ve&&typeof Or.stack=="string"){for(var Oe=Or.stack.split(`
`),at=ve.stack.split(`
`),jt=Oe.length-1,sr=at.length-1;1<=jt&&0<=sr&&Oe[jt]!==at[sr];)sr--;for(;1<=jt&&0<=sr;jt--,sr--)if(Oe[jt]!==at[sr]){if(jt!==1||sr!==1)do if(jt--,sr--,0>sr||Oe[jt]!==at[sr])return`
`+Oe[jt].replace(" at new "," at ");while(1<=jt&&0<=sr);break}}}finally{bt=!1,Error.prepareStackTrace=U}return(g=g?g.displayName||g.name:"")?Lt(g):""}function Zt(g){switch(g.tag){case 5:return Lt(g.type);case 16:return Lt("Lazy");case 13:return Lt("Suspense");case 19:return Lt("SuspenseList");case 0:case 2:case 15:return g=kt(g.type,!1),g;case 11:return g=kt(g.type.render,!1),g;case 22:return g=kt(g.type._render,!1),g;case 1:return g=kt(g.type,!0),g;default:return""}}function Mt(g){if(g==null)return null;if(typeof g=="function")return g.displayName||g.name||null;if(typeof g=="string")return g;switch(g){case H:return"Fragment";case W:return"Portal";case ne:return"Profiler";case ae:return"StrictMode";case K:return"Suspense";case se:return"SuspenseList"}if(typeof g=="object")switch(g.$$typeof){case J:return(g.displayName||"Context")+".Consumer";case oe:return(g._context.displayName||"Context")+".Provider";case q:var T=g.render;return T=T.displayName||T.name||"",g.displayName||(T!==""?"ForwardRef("+T+")":"ForwardRef");case ee:return Mt(g.type);case le:return Mt(g._render);case Q:T=g._payload,g=g._init;try{return Mt(g(T))}catch(U){}}return null}function tr(g){switch(typeof g){case"boolean":case"number":case"object":case"string":case"undefined":return g;default:return""}}function je(g){var T=g.type;return(g=g.nodeName)&&g.toLowerCase()==="input"&&(T==="checkbox"||T==="radio")}function wt(g){var T=je(g)?"checked":"value",U=Object.getOwnPropertyDescriptor(g.constructor.prototype,T),ve=""+g[T];if(!g.hasOwnProperty(T)&&typeof U!="undefined"&&typeof U.get=="function"&&typeof U.set=="function"){var Oe=U.get,at=U.set;return Object.defineProperty(g,T,{configurable:!0,get:function(){return Oe.call(this)},set:function(jt){ve=""+jt,at.call(this,jt)}}),Object.defineProperty(g,T,{enumerable:U.enumerable}),{getValue:function(){return ve},setValue:function(jt){ve=""+jt},stopTracking:function(){g._valueTracker=null,delete g[T]}}}}function Ft(g){g._valueTracker||(g._valueTracker=wt(g))}function tt(g){if(!g)return!1;var T=g._valueTracker;if(!T)return!0;var U=T.getValue(),ve="";return g&&(ve=je(g)?g.checked?"true":"false":g.value),g=ve,g!==U?(T.setValue(g),!0):!1}function gt(g){if(g=g||(typeof document!="undefined"?document:void 0),typeof g=="undefined")return null;try{return g.activeElement||g.body}catch(T){return g.body}}function ft(g,T){var U=T.checked;return i({},T,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:U!=null?U:g._wrapperState.initialChecked})}function Qe(g,T){var U=T.defaultValue==null?"":T.defaultValue,ve=T.checked!=null?T.checked:T.defaultChecked;U=tr(T.value!=null?T.value:U),g._wrapperState={initialChecked:ve,initialValue:U,controlled:T.type==="checkbox"||T.type==="radio"?T.checked!=null:T.value!=null}}function Ne(g,T){T=T.checked,T!=null&&B(g,"checked",T,!1)}function xe(g,T){Ne(g,T);var U=tr(T.value),ve=T.type;if(U!=null)ve==="number"?(U===0&&g.value===""||g.value!=U)&&(g.value=""+U):g.value!==""+U&&(g.value=""+U);else if(ve==="submit"||ve==="reset"){g.removeAttribute("value");return}T.hasOwnProperty("value")?Ge(g,T.type,U):T.hasOwnProperty("defaultValue")&&Ge(g,T.type,tr(T.defaultValue)),T.checked==null&&T.defaultChecked!=null&&(g.defaultChecked=!!T.defaultChecked)}function ke(g,T,U){if(T.hasOwnProperty("value")||T.hasOwnProperty("defaultValue")){var ve=T.type;if(!(ve!=="submit"&&ve!=="reset"||T.value!==void 0&&T.value!==null))return;T=""+g._wrapperState.initialValue,U||T===g.value||(g.value=T),g.defaultValue=T}U=g.name,U!==""&&(g.name=""),g.defaultChecked=!!g._wrapperState.initialChecked,U!==""&&(g.name=U)}function Ge(g,T,U){(T!=="number"||gt(g.ownerDocument)!==g)&&(U==null?g.defaultValue=""+g._wrapperState.initialValue:g.defaultValue!==""+U&&(g.defaultValue=""+U))}function He(g){var T="";return r.Children.forEach(g,function(U){U!=null&&(T+=U)}),T}function Ye(g,T){return g=i({children:void 0},T),(T=He(T.children))&&(g.children=T),g}function dt(g,T,U,ve){if(g=g.options,T){T={};for(var Oe=0;Oe<U.length;Oe++)T["$"+U[Oe]]=!0;for(U=0;U<g.length;U++)Oe=T.hasOwnProperty("$"+g[U].value),g[U].selected!==Oe&&(g[U].selected=Oe),Oe&&ve&&(g[U].defaultSelected=!0)}else{for(U=""+tr(U),T=null,Oe=0;Oe<g.length;Oe++){if(g[Oe].value===U){g[Oe].selected=!0,ve&&(g[Oe].defaultSelected=!0);return}T!==null||g[Oe].disabled||(T=g[Oe])}T!==null&&(T.selected=!0)}}function xt(g,T){if(T.dangerouslySetInnerHTML!=null)throw Error(c(91));return i({},T,{value:void 0,defaultValue:void 0,children:""+g._wrapperState.initialValue})}function nr(g,T){var U=T.value;if(U==null){if(U=T.children,T=T.defaultValue,U!=null){if(T!=null)throw Error(c(92));if(Array.isArray(U)){if(!(1>=U.length))throw Error(c(93));U=U[0]}T=U}T==null&&(T=""),U=T}g._wrapperState={initialValue:tr(U)}}function qt(g,T){var U=tr(T.value),ve=tr(T.defaultValue);U!=null&&(U=""+U,U!==g.value&&(g.value=U),T.defaultValue==null&&g.defaultValue!==U&&(g.defaultValue=U)),ve!=null&&(g.defaultValue=""+ve)}function Me(g){var T=g.textContent;T===g._wrapperState.initialValue&&T!==""&&T!==null&&(g.value=T)}var qe={html:"http://www.w3.org/1999/xhtml",mathml:"http://www.w3.org/1998/Math/MathML",svg:"http://www.w3.org/2000/svg"};function Vt(g){switch(g){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function Rt(g,T){return g==null||g==="http://www.w3.org/1999/xhtml"?Vt(T):g==="http://www.w3.org/2000/svg"&&T==="foreignObject"?"http://www.w3.org/1999/xhtml":g}var zt,Ht=function(g){return typeof MSApp!="undefined"&&MSApp.execUnsafeLocalFunction?function(T,U,ve,Oe){MSApp.execUnsafeLocalFunction(function(){return g(T,U,ve,Oe)})}:g}(function(g,T){if(g.namespaceURI!==qe.svg||"innerHTML"in g)g.innerHTML=T;else{for(zt=zt||document.createElement("div"),zt.innerHTML="<svg>"+T.valueOf().toString()+"</svg>",T=zt.firstChild;g.firstChild;)g.removeChild(g.firstChild);for(;T.firstChild;)g.appendChild(T.firstChild)}});function Ct(g,T){if(T){var U=g.firstChild;if(U&&U===g.lastChild&&U.nodeType===3){U.nodeValue=T;return}}g.textContent=T}var Xt={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},ze=["Webkit","ms","Moz","O"];Object.keys(Xt).forEach(function(g){ze.forEach(function(T){T=T+g.charAt(0).toUpperCase()+g.substring(1),Xt[T]=Xt[g]})});function ce(g,T,U){return T==null||typeof T=="boolean"||T===""?"":U||typeof T!="number"||T===0||Xt.hasOwnProperty(g)&&Xt[g]?(""+T).trim():T+"px"}function pe(g,T){g=g.style;for(var U in T)if(T.hasOwnProperty(U)){var ve=U.indexOf("--")===0,Oe=ce(U,T[U],ve);U==="float"&&(U="cssFloat"),ve?g.setProperty(U,Oe):g[U]=Oe}}var It=i({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function Te(g,T){if(T){if(It[g]&&(T.children!=null||T.dangerouslySetInnerHTML!=null))throw Error(c(137,g));if(T.dangerouslySetInnerHTML!=null){if(T.children!=null)throw Error(c(60));if(!(typeof T.dangerouslySetInnerHTML=="object"&&"__html"in T.dangerouslySetInnerHTML))throw Error(c(61))}if(T.style!=null&&typeof T.style!="object")throw Error(c(62))}}function ct(g,T){if(g.indexOf("-")===-1)return typeof T.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 Wt(g){return g=g.target||g.srcElement||window,g.correspondingUseElement&&(g=g.correspondingUseElement),g.nodeType===3?g.parentNode:g}var Tt=null,Ce=null,St=null;function ye(g){if(g=us(g)){if(typeof Tt!="function")throw Error(c(280));var T=g.stateNode;T&&(T=bs(T),Tt(g.stateNode,g.type,T))}}function Je(g){Ce?St?St.push(g):St=[g]:Ce=g}function yt(){if(Ce){var g=Ce,T=St;if(St=Ce=null,ye(g),T)for(g=0;g<T.length;g++)ye(T[g])}}function Bt(g,T){return g(T)}function Be(g,T,U,ve,Oe){return g(T,U,ve,Oe)}function Dr(){}var At=Bt,Xr=!1,en=!1;function Lr(){(Ce!==null||St!==null)&&(Dr(),yt())}function Nr(g,T,U){if(en)return g(T,U);en=!0;try{return At(g,T,U)}finally{en=!1,Lr()}}function mr(g,T){var U=g.stateNode;if(U===null)return null;var ve=bs(U);if(ve===null)return null;U=ve[T];e:switch(T){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(ve=!ve.disabled)||(g=g.type,ve=!(g==="button"||g==="input"||g==="select"||g==="textarea")),g=!ve;break e;default:g=!1}if(g)return null;if(U&&typeof U!="function")throw Error(c(231,T,typeof U));return U}var Zr=!1;if(a)try{var on={};Object.defineProperty(on,"passive",{get:function(){Zr=!0}}),window.addEventListener("test",on,on),window.removeEventListener("test",on,on)}catch(g){Zr=!1}function _n(g,T,U,ve,Oe,at,jt,sr,Or){var mn=Array.prototype.slice.call(arguments,3);try{T.apply(U,mn)}catch(Di){this.onError(Di)}}var Yt=!1,mt=null,st=!1,lt=null,Nt={onError:function(g){Yt=!0,mt=g}};function br(g,T,U,ve,Oe,at,jt,sr,Or){Yt=!1,mt=null,_n.apply(Nt,arguments)}function vr(g,T,U,ve,Oe,at,jt,sr,Or){if(br.apply(this,arguments),Yt){if(Yt){var mn=mt;Yt=!1,mt=null}else throw Error(c(198));st||(st=!0,lt=mn)}}function nt(g){var T=g,U=g;if(g.alternate)for(;T.return;)T=T.return;else{g=T;do T=g,T.flags&1026&&(U=T.return),g=T.return;while(g)}return T.tag===3?U:null}function Tr(g){if(g.tag===13){var T=g.memoizedState;if(T===null&&(g=g.alternate,g!==null&&(T=g.memoizedState)),T!==null)return T.dehydrated}return null}function vn(g){if(nt(g)!==g)throw Error(c(188))}function Gn(g){var T=g.alternate;if(!T){if(T=nt(g),T===null)throw Error(c(188));return T!==g?null:g}for(var U=g,ve=T;;){var Oe=U.return;if(Oe===null)break;var at=Oe.alternate;if(at===null){if(ve=Oe.return,ve!==null){U=ve;continue}break}if(Oe.child===at.child){for(at=Oe.child;at;){if(at===U)return vn(Oe),g;if(at===ve)return vn(Oe),T;at=at.sibling}throw Error(c(188))}if(U.return!==ve.return)U=Oe,ve=at;else{for(var jt=!1,sr=Oe.child;sr;){if(sr===U){jt=!0,U=Oe,ve=at;break}if(sr===ve){jt=!0,ve=Oe,U=at;break}sr=sr.sibling}if(!jt){for(sr=at.child;sr;){if(sr===U){jt=!0,U=at,ve=Oe;break}if(sr===ve){jt=!0,ve=at,U=Oe;break}sr=sr.sibling}if(!jt)throw Error(c(189))}}if(U.alternate!==ve)throw Error(c(190))}if(U.tag!==3)throw Error(c(188));return U.stateNode.current===U?g:T}function Yr(g){if(g=Gn(g),!g)return null;for(var T=g;;){if(T.tag===5||T.tag===6)return T;if(T.child)T.child.return=T,T=T.child;else{if(T===g)break;for(;!T.sibling;){if(!T.return||T.return===g)return null;T=T.return}T.sibling.return=T.return,T=T.sibling}}return null}function Yn(g,T){for(var U=g.alternate;T!==null;){if(T===g||T===U)return!0;T=T.return}return!1}var Jn,kn,Qn,ri,Ai=!1,wi=[],Ui=null,oa=null,Vi=null,zi=new Map,mi=new Map,Ki=[],Dt="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 vt(g,T,U,ve,Oe){return{blockedOn:g,domEventName:T,eventSystemFlags:U|16,nativeEvent:Oe,targetContainers:[ve]}}function Zi(g,T){switch(g){case"focusin":case"focusout":Ui=null;break;case"dragenter":case"dragleave":oa=null;break;case"mouseover":case"mouseout":Vi=null;break;case"pointerover":case"pointerout":zi.delete(T.pointerId);break;case"gotpointercapture":case"lostpointercapture":mi.delete(T.pointerId)}}function Hi(g,T,U,ve,Oe,at){return g===null||g.nativeEvent!==at?(g=vt(T,U,ve,Oe,at),T!==null&&(T=us(T),T!==null&&kn(T)),g):(g.eventSystemFlags|=ve,T=g.targetContainers,Oe!==null&&T.indexOf(Oe)===-1&&T.push(Oe),g)}function hi(g,T,U,ve,Oe){switch(T){case"focusin":return Ui=Hi(Ui,g,T,U,ve,Oe),!0;case"dragenter":return oa=Hi(oa,g,T,U,ve,Oe),!0;case"mouseover":return Vi=Hi(Vi,g,T,U,ve,Oe),!0;case"pointerover":var at=Oe.pointerId;return zi.set(at,Hi(zi.get(at)||null,g,T,U,ve,Oe)),!0;case"gotpointercapture":return at=Oe.pointerId,mi.set(at,Hi(mi.get(at)||null,g,T,U,ve,Oe)),!0}return!1}function Fa(g){var T=os(g.target);if(T!==null){var U=nt(T);if(U!==null){if(T=U.tag,T===13){if(T=Tr(U),T!==null){g.blockedOn=T,ri(g.lanePriority,function(){l.unstable_runWithPriority(g.priority,function(){Qn(U)})});return}}else if(T===3&&U.stateNode.hydrate){g.blockedOn=U.tag===3?U.stateNode.containerInfo:null;return}}}g.blockedOn=null}function Ti(g){if(g.blockedOn!==null)return!1;for(var T=g.targetContainers;0<T.length;){var U=Hs(g.domEventName,g.eventSystemFlags,T[0],g.nativeEvent);if(U!==null)return T=us(U),T!==null&&kn(T),g.blockedOn=U,!1;T.shift()}return!0}function si(g,T,U){Ti(g)&&U.delete(T)}function Dn(){for(Ai=!1;0<wi.length;){var g=wi[0];if(g.blockedOn!==null){g=us(g.blockedOn),g!==null&&Jn(g);break}for(var T=g.targetContainers;0<T.length;){var U=Hs(g.domEventName,g.eventSystemFlags,T[0],g.nativeEvent);if(U!==null){g.blockedOn=U;break}T.shift()}g.blockedOn===null&&wi.shift()}Ui!==null&&Ti(Ui)&&(Ui=null),oa!==null&&Ti(oa)&&(oa=null),Vi!==null&&Ti(Vi)&&(Vi=null),zi.forEach(si),mi.forEach(si)}function rr(g,T){g.blockedOn===T&&(g.blockedOn=null,Ai||(Ai=!0,l.unstable_scheduleCallback(l.unstable_NormalPriority,Dn)))}function _t(g){function T(Oe){return rr(Oe,g)}if(0<wi.length){rr(wi[0],g);for(var U=1;U<wi.length;U++){var ve=wi[U];ve.blockedOn===g&&(ve.blockedOn=null)}}for(Ui!==null&&rr(Ui,g),oa!==null&&rr(oa,g),Vi!==null&&rr(Vi,g),zi.forEach(T),mi.forEach(T),U=0;U<Ki.length;U++)ve=Ki[U],ve.blockedOn===g&&(ve.blockedOn=null);for(;0<Ki.length&&(U=Ki[0],U.blockedOn===null);)Fa(U),U.blockedOn===null&&Ki.shift()}function rt(g,T){var U={};return U[g.toLowerCase()]=T.toLowerCase(),U["Webkit"+g]="webkit"+T,U["Moz"+g]="moz"+T,U}var Ot={animationend:rt("Animation","AnimationEnd"),animationiteration:rt("Animation","AnimationIteration"),animationstart:rt("Animation","AnimationStart"),transitionend:rt("Transition","TransitionEnd")},ht={},lr={};a&&(lr=document.createElement("div").style,"AnimationEvent"in window||(delete Ot.animationend.animation,delete Ot.animationiteration.animation,delete Ot.animationstart.animation),"TransitionEvent"in window||delete Ot.transitionend.transition);function fr(g){if(ht[g])return ht[g];if(!Ot[g])return g;var T=Ot[g],U;for(U in T)if(T.hasOwnProperty(U)&&U in lr)return ht[g]=T[U];return g}var Cr=fr("animationend"),Gr=fr("animationiteration"),Ze=fr("animationstart"),et=fr("transitionend"),be=new Map,it=new Map,or=["abort","abort",Cr,"animationEnd",Gr,"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",et,"transitionEnd","waiting","waiting"];function kr(g,T){for(var U=0;U<g.length;U+=2){var ve=g[U],Oe=g[U+1];Oe="on"+(Oe[0].toUpperCase()+Oe.slice(1)),it.set(ve,T),be.set(ve,Oe),h(Oe,[ve])}}var Ir=l.unstable_now;Ir();var Pr=8;function Wr(g){if(1&g)return Pr=15,1;if(2&g)return Pr=14,2;if(4&g)return Pr=13,4;var T=24&g;return T!==0?(Pr=12,T):g&32?(Pr=11,32):(T=192&g,T!==0?(Pr=10,T):g&256?(Pr=9,256):(T=3584&g,T!==0?(Pr=8,T):g&4096?(Pr=7,4096):(T=4186112&g,T!==0?(Pr=6,T):(T=62914560&g,T!==0?(Pr=5,T):g&67108864?(Pr=4,67108864):g&134217728?(Pr=3,134217728):(T=805306368&g,T!==0?(Pr=2,T):1073741824&g?(Pr=1,1073741824):(Pr=8,g))))))}function wn(g){switch(g){case 99:return 15;case 98:return 10;case 97:case 96:return 8;case 95:return 2;default:return 0}}function gr(g){switch(g){case 15:case 14:return 99;case 13:case 12:case 11:case 10:return 98;case 9:case 8:case 7:case 6:case 4:case 5:return 97;case 3:case 2:case 1:return 95;case 0:return 90;default:throw Error(c(358,g))}}function fn(g,T){var U=g.pendingLanes;if(U===0)return Pr=0;var ve=0,Oe=0,at=g.expiredLanes,jt=g.suspendedLanes,sr=g.pingedLanes;if(at!==0)ve=at,Oe=Pr=15;else if(at=U&134217727,at!==0){var Or=at&~jt;Or!==0?(ve=Wr(Or),Oe=Pr):(sr&=at,sr!==0&&(ve=Wr(sr),Oe=Pr))}else at=U&~jt,at!==0?(ve=Wr(at),Oe=Pr):sr!==0&&(ve=Wr(sr),Oe=Pr);if(ve===0)return 0;if(ve=31-pi(ve),ve=U&((0>ve?0:1<<ve)<<1)-1,T!==0&&T!==ve&&!(T&jt)){if(Wr(T),Oe<=Pr)return T;Pr=Oe}if(T=g.entangledLanes,T!==0)for(g=g.entanglements,T&=ve;0<T;)U=31-pi(T),Oe=1<<U,ve|=g[U],T&=~Oe;return ve}function un(g){return g=g.pendingLanes&-1073741825,g!==0?g:g&1073741824?1073741824:0}function dn(g,T){switch(g){case 15:return 1;case 14:return 2;case 12:return g=gn(24&~T),g===0?dn(10,T):g;case 10:return g=gn(192&~T),g===0?dn(8,T):g;case 8:return g=gn(3584&~T),g===0&&(g=gn(4186112&~T),g===0&&(g=512)),g;case 2:return T=gn(805306368&~T),T===0&&(T=268435456),T}throw Error(c(358,g))}function gn(g){return g&-g}function ka(g){for(var T=[],U=0;31>U;U++)T.push(g);return T}function Ci(g,T,U){g.pendingLanes|=T;var ve=T-1;g.suspendedLanes&=ve,g.pingedLanes&=ve,g=g.eventTimes,T=31-pi(T),g[T]=U}var pi=Math.clz32?Math.clz32:ta,bn=Math.log,ui=Math.LN2;function ta(g){return g===0?32:31-(bn(g)/ui|0)|0}var Ca=l.unstable_UserBlockingPriority,Ks=l.unstable_runWithPriority,Ha=!0;function Zs(g,T,U,ve){Xr||Dr();var Oe=is,at=Xr;Xr=!0;try{Be(Oe,g,T,U,ve)}finally{(Xr=at)||Lr()}}function Js(g,T,U,ve){Ks(Ca,is.bind(null,g,T,U,ve))}function is(g,T,U,ve){if(Ha){var Oe;if((Oe=(T&4)===0)&&0<wi.length&&-1<Dt.indexOf(g))g=vt(null,g,T,U,ve),wi.push(g);else{var at=Hs(g,T,U,ve);if(at===null)Oe&&Zi(g,ve);else{if(Oe){if(-1<Dt.indexOf(g)){g=vt(at,g,T,U,ve),wi.push(g);return}if(hi(at,g,T,U,ve))return;Zi(g,ve)}Hr(g,T,ve,null,U)}}}}function Hs(g,T,U,ve){var Oe=Wt(ve);if(Oe=os(Oe),Oe!==null){var at=nt(Oe);if(at===null)Oe=null;else{var jt=at.tag;if(jt===13){if(Oe=Tr(at),Oe!==null)return Oe;Oe=null}else if(jt===3){if(at.stateNode.hydrate)return at.tag===3?at.stateNode.containerInfo:null;Oe=null}else at!==Oe&&(Oe=null)}}return Hr(g,T,ve,Oe,U),null}var Aa=null,Ss=null,ds=null;function eo(){if(ds)return ds;var g,T=Ss,U=T.length,ve,Oe="value"in Aa?Aa.value:Aa.textContent,at=Oe.length;for(g=0;g<U&&T[g]===Oe[g];g++);var jt=U-g;for(ve=1;ve<=jt&&T[U-ve]===Oe[at-ve];ve++);return ds=Oe.slice(g,1<ve?1-ve:void 0)}function Bi(g){var T=g.keyCode;return"charCode"in g?(g=g.charCode,g===0&&T===13&&(g=13)):g=T,g===10&&(g=13),32<=g||g===13?g:0}function ks(){return!0}function Bo(){return!1}function Wa(g){function T(U,ve,Oe,at,jt){this._reactName=U,this._targetInst=Oe,this.type=ve,this.nativeEvent=at,this.target=jt,this.currentTarget=null;for(var sr in g)g.hasOwnProperty(sr)&&(U=g[sr],this[sr]=U?U(at):at[sr]);return this.isDefaultPrevented=(at.defaultPrevented!=null?at.defaultPrevented:at.returnValue===!1)?ks:Bo,this.isPropagationStopped=Bo,this}return i(T.prototype,{preventDefault:function(){this.defaultPrevented=!0;var U=this.nativeEvent;U&&(U.preventDefault?U.preventDefault():typeof U.returnValue!="unknown"&&(U.returnValue=!1),this.isDefaultPrevented=ks)},stopPropagation:function(){var U=this.nativeEvent;U&&(U.stopPropagation?U.stopPropagation():typeof U.cancelBubble!="unknown"&&(U.cancelBubble=!0),this.isPropagationStopped=ks)},persist:function(){},isPersistent:ks}),T}var Rs={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(g){return g.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},ci=Wa(Rs),fo=i({},Rs,{view:0,detail:0}),Nn=Wa(fo),Ja,As,Ps,ca=i({},fo,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:ts,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!==Ps&&(Ps&&g.type==="mousemove"?(Ja=g.screenX-Ps.screenX,As=g.screenY-Ps.screenY):As=Ja=0,Ps=g),Ja)},movementY:function(g){return"movementY"in g?g.movementY:As}}),es=Wa(ca),Yi=i({},ca,{dataTransfer:0}),Ws=Wa(Yi),vo=i({},fo,{relatedTarget:0}),Wo=Wa(vo),Go=i({},Rs,{animationName:0,elapsedTime:0,pseudoElement:0}),mu=Wa(Go),uu=i({},Rs,{clipboardData:function(g){return"clipboardData"in g?g.clipboardData:window.clipboardData}}),ho=Wa(uu),No=i({},Rs,{data:0}),Co=Wa(No),qo={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"},vi={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function _i(g){var T=this.nativeEvent;return T.getModifierState?T.getModifierState(g):(g=vi[g])?!!T[g]:!1}function ts(){return _i}var ss=i({},fo,{key:function(g){if(g.key){var T=qo[g.key]||g.key;if(T!=="Unidentified")return T}return g.type==="keypress"?(g=Bi(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:ts,charCode:function(g){return g.type==="keypress"?Bi(g):0},keyCode:function(g){return g.type==="keydown"||g.type==="keyup"?g.keyCode:0},which:function(g){return g.type==="keypress"?Bi(g):g.type==="keydown"||g.type==="keyup"?g.keyCode:0}}),as=Wa(ss),Ga=i({},ca,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),hs=Wa(Ga),Jo=i({},fo,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:ts}),Is=Wa(Jo),ko=i({},Rs,{propertyName:0,elapsedTime:0,pseudoElement:0}),vu=Wa(ko),wu=i({},ca,{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}),qu=Wa(wu),ll=[9,13,27,32],Ro=a&&"CompositionEvent"in window,to=null;a&&"documentMode"in document&&(to=document.documentMode);var $o=a&&"TextEvent"in window&&!to,ju=a&&(!Ro||to&&8<to&&11>=to),Lo=" ",jo=!1;function Mu(g,T){switch(g){case"keyup":return ll.indexOf(T.keyCode)!==-1;case"keydown":return T.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function eu(g){return g=g.detail,typeof g=="object"&&"data"in g?g.data:null}var hu=!1;function ro(g,T){switch(g){case"compositionend":return eu(T);case"keypress":return T.which!==32?null:(jo=!0,Lo);case"textInput":return g=T.data,g===Lo&&jo?null:g;default:return null}}function tu(g,T){if(hu)return g==="compositionend"||!Ro&&Mu(g,T)?(g=eo(),ds=Ss=Aa=null,hu=!1,g):null;switch(g){case"paste":return null;case"keypress":if(!(T.ctrlKey||T.altKey||T.metaKey)||T.ctrlKey&&T.altKey){if(T.char&&1<T.char.length)return T.char;if(T.which)return String.fromCharCode(T.which)}return null;case"compositionend":return ju&&T.locale!=="ko"?null:T.data;default:return null}}var Uo={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 Jt(g){var T=g&&g.nodeName&&g.nodeName.toLowerCase();return T==="input"?!!Uo[g.type]:T==="textarea"}function dr(g,T,U,ve){Je(ve),T=ln(T,"onChange"),0<T.length&&(U=new ci("onChange","change",null,U,ve),g.push({event:U,listeners:T}))}var ur=null,hr=null;function Sr(g){Xe(g,0)}function yn(g){var T=yo(g);if(tt(T))return g}function Zn(g,T){if(g==="change")return T}var Rn=!1;if(a){var Hn;if(a){var li="oninput"in document;if(!li){var ei=document.createElement("div");ei.setAttribute("oninput","return;"),li=typeof ei.oninput=="function"}Hn=li}else Hn=!1;Rn=Hn&&(!document.documentMode||9<document.documentMode)}function cr(){ur&&(ur.detachEvent("onpropertychange",Mr),hr=ur=null)}function Mr(g){if(g.propertyName==="value"&&yn(hr)){var T=[];if(dr(T,hr,g,Wt(g)),g=Sr,Xr)g(T);else{Xr=!0;try{Bt(g,T)}finally{Xr=!1,Lr()}}}}function Fr(g,T,U){g==="focusin"?(cr(),ur=T,hr=U,ur.attachEvent("onpropertychange",Mr)):g==="focusout"&&cr()}function Sn(g){if(g==="selectionchange"||g==="keyup"||g==="keydown")return yn(hr)}function Tn(g,T){if(g==="click")return yn(T)}function pt(g,T){if(g==="input"||g==="change")return yn(T)}function jn(g,T){return g===T&&(g!==0||1/g===1/T)||g!==g&&T!==T}var Wn=typeof Object.is=="function"?Object.is:jn,Ni=Object.prototype.hasOwnProperty;function ra(g,T){if(Wn(g,T))return!0;if(typeof g!="object"||g===null||typeof T!="object"||T===null)return!1;var U=Object.keys(g),ve=Object.keys(T);if(U.length!==ve.length)return!1;for(ve=0;ve<U.length;ve++)if(!Ni.call(T,U[ve])||!Wn(g[U[ve]],T[U[ve]]))return!1;return!0}function zr(g){for(;g&&g.firstChild;)g=g.firstChild;return g}function pa(g,T){var U=zr(g);g=0;for(var ve;U;){if(U.nodeType===3){if(ve=g+U.textContent.length,g<=T&&ve>=T)return{node:U,offset:T-g};g=ve}e:{for(;U;){if(U.nextSibling){U=U.nextSibling;break e}U=U.parentNode}U=void 0}U=zr(U)}}function Xi(g,T){return g&&T?g===T?!0:g&&g.nodeType===3?!1:T&&T.nodeType===3?Xi(g,T.parentNode):"contains"in g?g.contains(T):g.compareDocumentPosition?!!(g.compareDocumentPosition(T)&16):!1:!1}function Pa(){for(var g=window,T=gt();T instanceof g.HTMLIFrameElement;){try{var U=typeof T.contentWindow.location.href=="string"}catch(ve){U=!1}if(U)g=T.contentWindow;else break;T=gt(g.document)}return T}function ps(g){var T=g&&g.nodeName&&g.nodeName.toLowerCase();return T&&(T==="input"&&(g.type==="text"||g.type==="search"||g.type==="tel"||g.type==="url"||g.type==="password")||T==="textarea"||g.contentEditable==="true")}var Vs=a&&"documentMode"in document&&11>=document.documentMode,$i=null,no=null,so=null,Fs=!1;function Va(g,T,U){var ve=U.window===U?U.document:U.nodeType===9?U:U.ownerDocument;Fs||$i==null||$i!==gt(ve)||(ve=$i,"selectionStart"in ve&&ps(ve)?ve={start:ve.selectionStart,end:ve.selectionEnd}:(ve=(ve.ownerDocument&&ve.ownerDocument.defaultView||window).getSelection(),ve={anchorNode:ve.anchorNode,anchorOffset:ve.anchorOffset,focusNode:ve.focusNode,focusOffset:ve.focusOffset}),so&&ra(so,ve)||(so=ve,ve=ln(no,"onSelect"),0<ve.length&&(T=new ci("onSelect","select",null,T,U),g.push({event:T,listeners:ve}),T.target=$i)))}kr("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),kr("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),kr(or,2);for(var Xs="change selectionchange textInput compositionstart compositionend compositionupdate".split(" "),po=0;po<Xs.length;po++)it.set(Xs[po],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 Fn="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),$a=new Set("cancel close invalid load scroll toggle".split(" ").concat(Fn));function rs(g,T,U){var ve=g.type||"unknown-event";g.currentTarget=U,vr(ve,T,void 0,g),g.currentTarget=null}function Xe(g,T){T=(T&4)!==0;for(var U=0;U<g.length;U++){var ve=g[U],Oe=ve.event;ve=ve.listeners;e:{var at=void 0;if(T)for(var jt=ve.length-1;0<=jt;jt--){var sr=ve[jt],Or=sr.instance,mn=sr.currentTarget;if(sr=sr.listener,Or!==at&&Oe.isPropagationStopped())break e;rs(Oe,sr,mn),at=Or}else for(jt=0;jt<ve.length;jt++){if(sr=ve[jt],Or=sr.instance,mn=sr.currentTarget,sr=sr.listener,Or!==at&&Oe.isPropagationStopped())break e;rs(Oe,sr,mn),at=Or}}}if(st)throw g=lt,st=!1,lt=null,g}function Ie(g,T){var U=Po(T),ve=g+"__bubble";U.has(ve)||(Br(T,g,2,!1),U.add(ve))}var $t="_reactListening"+Math.random().toString(36).slice(2);function Gt(g){g[$t]||(g[$t]=!0,f.forEach(function(T){$a.has(T)||yr(T,!1,g,null),yr(T,!0,g,null)}))}function yr(g,T,U,ve){var Oe=4<arguments.length&&arguments[4]!==void 0?arguments[4]:0,at=U;if(g==="selectionchange"&&U.nodeType!==9&&(at=U.ownerDocument),ve!==null&&!T&&$a.has(g)){if(g!=="scroll")return;Oe|=2,at=ve}var jt=Po(at),sr=g+"__"+(T?"capture":"bubble");jt.has(sr)||(T&&(Oe|=4),Br(at,g,Oe,T),jt.add(sr))}function Br(g,T,U,ve){var Oe=it.get(T);switch(Oe===void 0?2:Oe){case 0:Oe=Zs;break;case 1:Oe=Js;break;default:Oe=is}U=Oe.bind(null,T,U,g),Oe=void 0,!Zr||T!=="touchstart"&&T!=="touchmove"&&T!=="wheel"||(Oe=!0),ve?Oe!==void 0?g.addEventListener(T,U,{capture:!0,passive:Oe}):g.addEventListener(T,U,!0):Oe!==void 0?g.addEventListener(T,U,{passive:Oe}):g.addEventListener(T,U,!1)}function Hr(g,T,U,ve,Oe){var at=ve;if(!(T&1)&&!(T&2)&&ve!==null)e:for(;;){if(ve===null)return;var jt=ve.tag;if(jt===3||jt===4){var sr=ve.stateNode.containerInfo;if(sr===Oe||sr.nodeType===8&&sr.parentNode===Oe)break;if(jt===4)for(jt=ve.return;jt!==null;){var Or=jt.tag;if((Or===3||Or===4)&&(Or=jt.stateNode.containerInfo,Or===Oe||Or.nodeType===8&&Or.parentNode===Oe))return;jt=jt.return}for(;sr!==null;){if(jt=os(sr),jt===null)return;if(Or=jt.tag,Or===5||Or===6){ve=at=jt;continue e}sr=sr.parentNode}}ve=ve.return}Nr(function(){var mn=at,Di=Wt(U),ja=[];e:{var Xn=be.get(g);if(Xn!==void 0){var ma=ci,Ua=g;switch(g){case"keypress":if(Bi(U)===0)break e;case"keydown":case"keyup":ma=as;break;case"focusin":Ua="focus",ma=Wo;break;case"focusout":Ua="blur",ma=Wo;break;case"beforeblur":case"afterblur":ma=Wo;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":ma=es;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":ma=Ws;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":ma=Is;break;case Cr:case Gr:case Ze:ma=mu;break;case et:ma=vu;break;case"scroll":ma=Nn;break;case"wheel":ma=qu;break;case"copy":case"cut":case"paste":ma=ho;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":ma=hs}var Ma=(T&4)!==0,tn=!Ma&&g==="scroll",$r=Ma?Xn!==null?Xn+"Capture":null:Xn;Ma=[];for(var qr=mn,Pn;qr!==null;){Pn=qr;var zn=Pn.stateNode;if(Pn.tag===5&&zn!==null&&(Pn=zn,$r!==null&&(zn=mr(qr,$r),zn!=null&&Ma.push(xn(qr,zn,Pn)))),tn)break;qr=qr.return}0<Ma.length&&(Xn=new ma(Xn,Ua,null,U,Di),ja.push({event:Xn,listeners:Ma}))}}if(!(T&7)){e:{if(Xn=g==="mouseover"||g==="pointerover",ma=g==="mouseout"||g==="pointerout",Xn&&!(T&16)&&(Ua=U.relatedTarget||U.fromElement)&&(os(Ua)||Ua[Mi]))break e;if((ma||Xn)&&(Xn=Di.window===Di?Di:(Xn=Di.ownerDocument)?Xn.defaultView||Xn.parentWindow:window,ma?(Ua=U.relatedTarget||U.toElement,ma=mn,Ua=Ua?os(Ua):null,Ua!==null&&(tn=nt(Ua),Ua!==tn||Ua.tag!==5&&Ua.tag!==6)&&(Ua=null)):(ma=null,Ua=mn),ma!==Ua)){if(Ma=es,zn="onMouseLeave",$r="onMouseEnter",qr="mouse",(g==="pointerout"||g==="pointerover")&&(Ma=hs,zn="onPointerLeave",$r="onPointerEnter",qr="pointer"),tn=ma==null?Xn:yo(ma),Pn=Ua==null?Xn:yo(Ua),Xn=new Ma(zn,qr+"leave",ma,U,Di),Xn.target=tn,Xn.relatedTarget=Pn,zn=null,os(Di)===mn&&(Ma=new Ma($r,qr+"enter",Ua,U,Di),Ma.target=Pn,Ma.relatedTarget=tn,zn=Ma),tn=zn,ma&&Ua)t:{for(Ma=ma,$r=Ua,qr=0,Pn=Ma;Pn;Pn=En(Pn))qr++;for(Pn=0,zn=$r;zn;zn=En(zn))Pn++;for(;0<qr-Pn;)Ma=En(Ma),qr--;for(;0<Pn-qr;)$r=En($r),Pn--;for(;qr--;){if(Ma===$r||$r!==null&&Ma===$r.alternate)break t;Ma=En(Ma),$r=En($r)}Ma=null}else Ma=null;ma!==null&&ii(ja,Xn,ma,Ma,!1),Ua!==null&&tn!==null&&ii(ja,tn,Ua,Ma,!0)}}e:{if(Xn=mn?yo(mn):window,ma=Xn.nodeName&&Xn.nodeName.toLowerCase(),ma==="select"||ma==="input"&&Xn.type==="file")var Xa=Zn;else if(Jt(Xn))if(Rn)Xa=pt;else{Xa=Sn;var Gi=Fr}else(ma=Xn.nodeName)&&ma.toLowerCase()==="input"&&(Xn.type==="checkbox"||Xn.type==="radio")&&(Xa=Tn);if(Xa&&(Xa=Xa(g,mn))){dr(ja,Xa,U,Di);break e}Gi&&Gi(g,Xn,mn),g==="focusout"&&(Gi=Xn._wrapperState)&&Gi.controlled&&Xn.type==="number"&&Ge(Xn,"number",Xn.value)}switch(Gi=mn?yo(mn):window,g){case"focusin":(Jt(Gi)||Gi.contentEditable==="true")&&($i=Gi,no=mn,so=null);break;case"focusout":so=no=$i=null;break;case"mousedown":Fs=!0;break;case"contextmenu":case"mouseup":case"dragend":Fs=!1,Va(ja,U,Di);break;case"selectionchange":if(Vs)break;case"keydown":case"keyup":Va(ja,U,Di)}var Qa;if(Ro)e:{switch(g){case"compositionstart":var fs="onCompositionStart";break e;case"compositionend":fs="onCompositionEnd";break e;case"compositionupdate":fs="onCompositionUpdate";break e}fs=void 0}else hu?Mu(g,U)&&(fs="onCompositionEnd"):g==="keydown"&&U.keyCode===229&&(fs="onCompositionStart");fs&&(ju&&U.locale!=="ko"&&(hu||fs!=="onCompositionStart"?fs==="onCompositionEnd"&&hu&&(Qa=eo()):(Aa=Di,Ss="value"in Aa?Aa.value:Aa.textContent,hu=!0)),Gi=ln(mn,fs),0<Gi.length&&(fs=new Co(fs,g,null,U,Di),ja.push({event:fs,listeners:Gi}),Qa?fs.data=Qa:(Qa=eu(U),Qa!==null&&(fs.data=Qa)))),(Qa=$o?ro(g,U):tu(g,U))&&(mn=ln(mn,"onBeforeInput"),0<mn.length&&(Di=new Co("onBeforeInput","beforeinput",null,U,Di),ja.push({event:Di,listeners:mn}),Di.data=Qa))}Xe(ja,T)})}function xn(g,T,U){return{instance:g,listener:T,currentTarget:U}}function ln(g,T){for(var U=T+"Capture",ve=[];g!==null;){var Oe=g,at=Oe.stateNode;Oe.tag===5&&at!==null&&(Oe=at,at=mr(g,U),at!=null&&ve.unshift(xn(g,at,Oe)),at=mr(g,T),at!=null&&ve.push(xn(g,at,Oe))),g=g.return}return ve}function En(g){if(g===null)return null;do g=g.return;while(g&&g.tag!==5);return g||null}function ii(g,T,U,ve,Oe){for(var at=T._reactName,jt=[];U!==null&&U!==ve;){var sr=U,Or=sr.alternate,mn=sr.stateNode;if(Or!==null&&Or===ve)break;sr.tag===5&&mn!==null&&(sr=mn,Oe?(Or=mr(U,at),Or!=null&&jt.unshift(xn(U,Or,sr))):Oe||(Or=mr(U,at),Or!=null&&jt.push(xn(U,Or,sr)))),U=U.return}jt.length!==0&&g.push({event:T,listeners:jt})}function ai(){}var gi=null,Li=null;function ua(g,T){switch(g){case"button":case"input":case"select":case"textarea":return!!T.autoFocus}return!1}function Qi(g,T){return g==="textarea"||g==="option"||g==="noscript"||typeof T.children=="string"||typeof T.children=="number"||typeof T.dangerouslySetInnerHTML=="object"&&T.dangerouslySetInnerHTML!==null&&T.dangerouslySetInnerHTML.__html!=null}var Pi=typeof setTimeout=="function"?setTimeout:void 0,Da=typeof clearTimeout=="function"?clearTimeout:void 0;function Ii(g){g.nodeType===1?g.textContent="":g.nodeType===9&&(g=g.body,g!=null&&(g.textContent=""))}function yi(g){for(;g!=null;g=g.nextSibling){var T=g.nodeType;if(T===1||T===3)break}return g}function ga(g){g=g.previousSibling;for(var T=0;g;){if(g.nodeType===8){var U=g.data;if(U==="$"||U==="$!"||U==="$?"){if(T===0)return g;T--}else U==="/$"&&T++}g=g.previousSibling}return null}var go=0;function Bs(g){return{$$typeof:z,toString:g,valueOf:g}}var ia=Math.random().toString(36).slice(2),Ya="__reactFiber$"+ia,ba="__reactProps$"+ia,Mi="__reactContainer$"+ia,Ra="__reactEvents$"+ia;function os(g){var T=g[Ya];if(T)return T;for(var U=g.parentNode;U;){if(T=U[Mi]||U[Ya]){if(U=T.alternate,T.child!==null||U!==null&&U.child!==null)for(g=ga(g);g!==null;){if(U=g[Ya])return U;g=ga(g)}return T}g=U,U=g.parentNode}return null}function us(g){return g=g[Ya]||g[Mi],!g||g.tag!==5&&g.tag!==6&&g.tag!==13&&g.tag!==3?null:g}function yo(g){if(g.tag===5||g.tag===6)return g.stateNode;throw Error(c(33))}function bs(g){return g[ba]||null}function Po(g){var T=g[Ra];return T===void 0&&(T=g[Ra]=new Set),T}var _s=[],bo=-1;function oo(g){return{current:g}}function Ta(g){0>bo||(g.current=_s[bo],_s[bo]=null,bo--)}function ls(g,T){bo++,_s[bo]=g.current,g.current=T}var Qs={},La=oo(Qs),ge=oo(!1),we=Qs;function wr(g,T){var U=g.type.contextTypes;if(!U)return Qs;var ve=g.stateNode;if(ve&&ve.__reactInternalMemoizedUnmaskedChildContext===T)return ve.__reactInternalMemoizedMaskedChildContext;var Oe={},at;for(at in U)Oe[at]=T[at];return ve&&(g=g.stateNode,g.__reactInternalMemoizedUnmaskedChildContext=T,g.__reactInternalMemoizedMaskedChildContext=Oe),Oe}function rn(g){return g=g.childContextTypes,g!=null}function xr(){Ta(ge),Ta(La)}function Jr(g,T,U){if(La.current!==Qs)throw Error(c(168));ls(La,T),ls(ge,U)}function On(g,T,U){var ve=g.stateNode;if(g=T.childContextTypes,typeof ve.getChildContext!="function")return U;ve=ve.getChildContext();for(var Oe in ve)if(!(Oe in g))throw Error(c(108,Mt(T)||"Unknown",Oe));return i({},U,ve)}function oi(g){return g=(g=g.stateNode)&&g.__reactInternalMemoizedMergedChildContext||Qs,we=La.current,ls(La,g),ls(ge,ge.current),!0}function Wi(g,T,U){var ve=g.stateNode;if(!ve)throw Error(c(169));U?(g=On(g,T,we),ve.__reactInternalMemoizedMergedChildContext=g,Ta(ge),Ta(La),ls(La,g)):Ta(ge),ls(ge,U)}var Un=null,Ln=null,Cn=l.unstable_runWithPriority,aa=l.unstable_scheduleCallback,na=l.unstable_cancelCallback,zo=l.unstable_shouldYield,uo=l.unstable_requestPaint,Su=l.unstable_now,jl=l.unstable_getCurrentPriorityLevel,bl=l.unstable_ImmediatePriority,Ju=l.unstable_UserBlockingPriority,Hc=l.unstable_NormalPriority,Uu=l.unstable_LowPriority,Ke=l.unstable_IdlePriority,Z={},Y=uo!==void 0?uo:function(){},te=null,he=null,Se=!1,Ve=Su(),Pt=1e4>Ve?Su:function(){return Su()-Ve};function Ut(){switch(jl()){case bl:return 99;case Ju:return 98;case Hc:return 97;case Uu:return 96;case Ke:return 95;default:throw Error(c(332))}}function ar(g){switch(g){case 99:return bl;case 98:return Ju;case 97:return Hc;case 96:return Uu;case 95:return Ke;default:throw Error(c(332))}}function Ar(g,T){return g=ar(g),Cn(g,T)}function Kr(g,T,U){return g=ar(g),aa(g,T,U)}function cn(){if(he!==null){var g=he;he=null,na(g)}An()}function An(){if(!Se&&te!==null){Se=!0;var g=0;try{var T=te;Ar(99,function(){for(;g<T.length;g++){var U=T[g];do U=U(!0);while(U!==null)}}),te=null}catch(U){throw te!==null&&(te=te.slice(g+1)),aa(bl,cn),U}finally{Se=!1}}}var Kn=N.ReactCurrentBatchConfig;function ti(g,T){if(g&&g.defaultProps){T=i({},T),g=g.defaultProps;for(var U in g)T[U]===void 0&&(T[U]=g[U]);return T}return T}var Oi=oo(null),ji=null,la=null,wa=null;function Ts(){wa=la=ji=null}function Ds(g){var T=Oi.current;Ta(Oi),g.type._context._currentValue=T}function Ls(g,T){for(;g!==null;){var U=g.alternate;if((g.childLanes&T)===T){if(U===null||(U.childLanes&T)===T)break;U.childLanes|=T}else g.childLanes|=T,U!==null&&(U.childLanes|=T);g=g.return}}function ms(g,T){ji=g,wa=la=null,g=g.dependencies,g!==null&&g.firstContext!==null&&(g.lanes&T&&(Nu=!0),g.firstContext=null)}function Oa(g,T){if(wa!==g&&T!==!1&&T!==0)if((typeof T!="number"||T===1073741823)&&(wa=g,T=1073741823),T={context:g,observedBits:T,next:null},la===null){if(ji===null)throw Error(c(308));la=T,ji.dependencies={lanes:0,firstContext:T,responders:null}}else la=la.next=T;return g._currentValue}var io=!1;function xs(g){g.updateQueue={baseState:g.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null},effects:null}}function pr(g,T){g=g.updateQueue,T.updateQueue===g&&(T.updateQueue={baseState:g.baseState,firstBaseUpdate:g.firstBaseUpdate,lastBaseUpdate:g.lastBaseUpdate,shared:g.shared,effects:g.effects})}function Io(g,T){return{eventTime:g,lane:T,tag:0,payload:null,callback:null,next:null}}function Mo(g,T){if(g=g.updateQueue,g!==null){g=g.shared;var U=g.pending;U===null?T.next=T:(T.next=U.next,U.next=T),g.pending=T}}function gu(g,T){var U=g.updateQueue,ve=g.alternate;if(ve!==null&&(ve=ve.updateQueue,U===ve)){var Oe=null,at=null;if(U=U.firstBaseUpdate,U!==null){do{var jt={eventTime:U.eventTime,lane:U.lane,tag:U.tag,payload:U.payload,callback:U.callback,next:null};at===null?Oe=at=jt:at=at.next=jt,U=U.next}while(U!==null);at===null?Oe=at=T:at=at.next=T}else Oe=at=T;U={baseState:ve.baseState,firstBaseUpdate:Oe,lastBaseUpdate:at,shared:ve.shared,effects:ve.effects},g.updateQueue=U;return}g=U.lastBaseUpdate,g===null?U.firstBaseUpdate=T:g.next=T,U.lastBaseUpdate=T}function Ns(g,T,U,ve){var Oe=g.updateQueue;io=!1;var at=Oe.firstBaseUpdate,jt=Oe.lastBaseUpdate,sr=Oe.shared.pending;if(sr!==null){Oe.shared.pending=null;var Or=sr,mn=Or.next;Or.next=null,jt===null?at=mn:jt.next=mn,jt=Or;var Di=g.alternate;if(Di!==null){Di=Di.updateQueue;var ja=Di.lastBaseUpdate;ja!==jt&&(ja===null?Di.firstBaseUpdate=mn:ja.next=mn,Di.lastBaseUpdate=Or)}}if(at!==null){ja=Oe.baseState,jt=0,Di=mn=Or=null;do{sr=at.lane;var Xn=at.eventTime;if((ve&sr)===sr){Di!==null&&(Di=Di.next={eventTime:Xn,lane:0,tag:at.tag,payload:at.payload,callback:at.callback,next:null});e:{var ma=g,Ua=at;switch(sr=T,Xn=U,Ua.tag){case 1:if(ma=Ua.payload,typeof ma=="function"){ja=ma.call(Xn,ja,sr);break e}ja=ma;break e;case 3:ma.flags=ma.flags&-4097|64;case 0:if(ma=Ua.payload,sr=typeof ma=="function"?ma.call(Xn,ja,sr):ma,sr==null)break e;ja=i({},ja,sr);break e;case 2:io=!0}}at.callback!==null&&(g.flags|=32,sr=Oe.effects,sr===null?Oe.effects=[at]:sr.push(at))}else Xn={eventTime:Xn,lane:sr,tag:at.tag,payload:at.payload,callback:at.callback,next:null},Di===null?(mn=Di=Xn,Or=ja):Di=Di.next=Xn,jt|=sr;if(at=at.next,at===null){if(sr=Oe.shared.pending,sr===null)break;at=sr.next,sr.next=null,Oe.lastBaseUpdate=sr,Oe.shared.pending=null}}while(!0);Di===null&&(Or=ja),Oe.baseState=Or,Oe.firstBaseUpdate=mn,Oe.lastBaseUpdate=Di,Ao|=jt,g.lanes=jt,g.memoizedState=ja}}function Vo(g,T,U){if(g=T.effects,T.effects=null,g!==null)for(T=0;T<g.length;T++){var ve=g[T],Oe=ve.callback;if(Oe!==null){if(ve.callback=null,ve=U,typeof Oe!="function")throw Error(c(191,Oe));Oe.call(ve)}}}var _o=new r.Component().refs;function sc(g,T,U,ve){T=g.memoizedState,U=U(ve,T),U=U==null?T:i({},T,U),g.memoizedState=U,g.lanes===0&&(g.updateQueue.baseState=U)}var xl={isMounted:function(g){return(g=g._reactInternals)?nt(g)===g:!1},enqueueSetState:function(g,T,U){g=g._reactInternals;var ve=Ru(),Oe=Tl(g),at=Io(ve,Oe);at.payload=T,U!=null&&(at.callback=U),Mo(g,at),ec(g,Oe,ve)},enqueueReplaceState:function(g,T,U){g=g._reactInternals;var ve=Ru(),Oe=Tl(g),at=Io(ve,Oe);at.tag=1,at.payload=T,U!=null&&(at.callback=U),Mo(g,at),ec(g,Oe,ve)},enqueueForceUpdate:function(g,T){g=g._reactInternals;var U=Ru(),ve=Tl(g),Oe=Io(U,ve);Oe.tag=2,T!=null&&(Oe.callback=T),Mo(g,Oe),ec(g,ve,U)}};function El(g,T,U,ve,Oe,at,jt){return g=g.stateNode,typeof g.shouldComponentUpdate=="function"?g.shouldComponentUpdate(ve,at,jt):T.prototype&&T.prototype.isPureReactComponent?!ra(U,ve)||!ra(Oe,at):!0}function el(g,T,U){var ve=!1,Oe=Qs,at=T.contextType;return typeof at=="object"&&at!==null?at=Oa(at):(Oe=rn(T)?we:La.current,ve=T.contextTypes,at=(ve=ve!=null)?wr(g,Oe):Qs),T=new T(U,at),g.memoizedState=T.state!==null&&T.state!==void 0?T.state:null,T.updater=xl,g.stateNode=T,T._reactInternals=g,ve&&(g=g.stateNode,g.__reactInternalMemoizedUnmaskedChildContext=Oe,g.__reactInternalMemoizedMaskedChildContext=at),T}function $s(g,T,U,ve){g=T.state,typeof T.componentWillReceiveProps=="function"&&T.componentWillReceiveProps(U,ve),typeof T.UNSAFE_componentWillReceiveProps=="function"&&T.UNSAFE_componentWillReceiveProps(U,ve),T.state!==g&&xl.enqueueReplaceState(T,T.state,null)}function zu(g,T,U,ve){var Oe=g.stateNode;Oe.props=U,Oe.state=g.memoizedState,Oe.refs=_o,xs(g);var at=T.contextType;typeof at=="object"&&at!==null?Oe.context=Oa(at):(at=rn(T)?we:La.current,Oe.context=wr(g,at)),Ns(g,U,Oe,ve),Oe.state=g.memoizedState,at=T.getDerivedStateFromProps,typeof at=="function"&&(sc(g,T,at,U),Oe.state=g.memoizedState),typeof T.getDerivedStateFromProps=="function"||typeof Oe.getSnapshotBeforeUpdate=="function"||typeof Oe.UNSAFE_componentWillMount!="function"&&typeof Oe.componentWillMount!="function"||(T=Oe.state,typeof Oe.componentWillMount=="function"&&Oe.componentWillMount(),typeof Oe.UNSAFE_componentWillMount=="function"&&Oe.UNSAFE_componentWillMount(),T!==Oe.state&&xl.enqueueReplaceState(Oe,Oe.state,null),Ns(g,U,Oe,ve),Oe.state=g.memoizedState),typeof Oe.componentDidMount=="function"&&(g.flags|=4)}var Zu=Array.isArray;function Do(g,T,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 ve=U.stateNode}if(!ve)throw Error(c(147,g));var Oe=""+g;return T!==null&&T.ref!==null&&typeof T.ref=="function"&&T.ref._stringRef===Oe?T.ref:(T=function(at){var jt=ve.refs;jt===_o&&(jt=ve.refs={}),at===null?delete jt[Oe]:jt[Oe]=at},T._stringRef=Oe,T)}if(typeof g!="string")throw Error(c(284));if(!U._owner)throw Error(c(290,g))}return g}function Yo(g,T){if(g.type!=="textarea")throw Error(c(31,Object.prototype.toString.call(T)==="[object Object]"?"object with keys {"+Object.keys(T).join(", ")+"}":T))}function Ul(g){function T(tn,$r){if(g){var qr=tn.lastEffect;qr!==null?(qr.nextEffect=$r,tn.lastEffect=$r):tn.firstEffect=tn.lastEffect=$r,$r.nextEffect=null,$r.flags=8}}function U(tn,$r){if(!g)return null;for(;$r!==null;)T(tn,$r),$r=$r.sibling;return null}function ve(tn,$r){for(tn=new Map;$r!==null;)$r.key!==null?tn.set($r.key,$r):tn.set($r.index,$r),$r=$r.sibling;return tn}function Oe(tn,$r){return tn=Cl(tn,$r),tn.index=0,tn.sibling=null,tn}function at(tn,$r,qr){return tn.index=qr,g?(qr=tn.alternate,qr!==null?(qr=qr.index,qr<$r?(tn.flags=2,$r):qr):(tn.flags=2,$r)):$r}function jt(tn){return g&&tn.alternate===null&&(tn.flags=2),tn}function sr(tn,$r,qr,Pn){return $r===null||$r.tag!==6?($r=Cf(qr,tn.mode,Pn),$r.return=tn,$r):($r=Oe($r,qr),$r.return=tn,$r)}function Or(tn,$r,qr,Pn){return $r!==null&&$r.elementType===qr.type?(Pn=Oe($r,qr.props),Pn.ref=Do(tn,$r,qr),Pn.return=tn,Pn):(Pn=$c(qr.type,qr.key,qr.props,null,tn.mode,Pn),Pn.ref=Do(tn,$r,qr),Pn.return=tn,Pn)}function mn(tn,$r,qr,Pn){return $r===null||$r.tag!==4||$r.stateNode.containerInfo!==qr.containerInfo||$r.stateNode.implementation!==qr.implementation?($r=cf(qr,tn.mode,Pn),$r.return=tn,$r):($r=Oe($r,qr.children||[]),$r.return=tn,$r)}function Di(tn,$r,qr,Pn,zn){return $r===null||$r.tag!==7?($r=au(qr,tn.mode,Pn,zn),$r.return=tn,$r):($r=Oe($r,qr),$r.return=tn,$r)}function ja(tn,$r,qr){if(typeof $r=="string"||typeof $r=="number")return $r=Cf(""+$r,tn.mode,qr),$r.return=tn,$r;if(typeof $r=="object"&&$r!==null){switch($r.$$typeof){case V:return qr=$c($r.type,$r.key,$r.props,null,tn.mode,qr),qr.ref=Do(tn,null,$r),qr.return=tn,qr;case W:return $r=cf($r,tn.mode,qr),$r.return=tn,$r}if(Zu($r)||We($r))return $r=au($r,tn.mode,qr,null),$r.return=tn,$r;Yo(tn,$r)}return null}function Xn(tn,$r,qr,Pn){var zn=$r!==null?$r.key:null;if(typeof qr=="string"||typeof qr=="number")return zn!==null?null:sr(tn,$r,""+qr,Pn);if(typeof qr=="object"&&qr!==null){switch(qr.$$typeof){case V:return qr.key===zn?qr.type===H?Di(tn,$r,qr.props.children,Pn,zn):Or(tn,$r,qr,Pn):null;case W:return qr.key===zn?mn(tn,$r,qr,Pn):null}if(Zu(qr)||We(qr))return zn!==null?null:Di(tn,$r,qr,Pn,null);Yo(tn,qr)}return null}function ma(tn,$r,qr,Pn,zn){if(typeof Pn=="string"||typeof Pn=="number")return tn=tn.get(qr)||null,sr($r,tn,""+Pn,zn);if(typeof Pn=="object"&&Pn!==null){switch(Pn.$$typeof){case V:return tn=tn.get(Pn.key===null?qr:Pn.key)||null,Pn.type===H?Di($r,tn,Pn.props.children,zn,Pn.key):Or($r,tn,Pn,zn);case W:return tn=tn.get(Pn.key===null?qr:Pn.key)||null,mn($r,tn,Pn,zn)}if(Zu(Pn)||We(Pn))return tn=tn.get(qr)||null,Di($r,tn,Pn,zn,null);Yo($r,Pn)}return null}function Ua(tn,$r,qr,Pn){for(var zn=null,Xa=null,Gi=$r,Qa=$r=0,fs=null;Gi!==null&&Qa<qr.length;Qa++){Gi.index>Qa?(fs=Gi,Gi=null):fs=Gi.sibling;var qa=Xn(tn,Gi,qr[Qa],Pn);if(qa===null){Gi===null&&(Gi=fs);break}g&&Gi&&qa.alternate===null&&T(tn,Gi),$r=at(qa,$r,Qa),Xa===null?zn=qa:Xa.sibling=qa,Xa=qa,Gi=fs}if(Qa===qr.length)return U(tn,Gi),zn;if(Gi===null){for(;Qa<qr.length;Qa++)Gi=ja(tn,qr[Qa],Pn),Gi!==null&&($r=at(Gi,$r,Qa),Xa===null?zn=Gi:Xa.sibling=Gi,Xa=Gi);return zn}for(Gi=ve(tn,Gi);Qa<qr.length;Qa++)fs=ma(Gi,tn,Qa,qr[Qa],Pn),fs!==null&&(g&&fs.alternate!==null&&Gi.delete(fs.key===null?Qa:fs.key),$r=at(fs,$r,Qa),Xa===null?zn=fs:Xa.sibling=fs,Xa=fs);return g&&Gi.forEach(function(Nl){return T(tn,Nl)}),zn}function Ma(tn,$r,qr,Pn){var zn=We(qr);if(typeof zn!="function")throw Error(c(150));if(qr=zn.call(qr),qr==null)throw Error(c(151));for(var Xa=zn=null,Gi=$r,Qa=$r=0,fs=null,qa=qr.next();Gi!==null&&!qa.done;Qa++,qa=qr.next()){Gi.index>Qa?(fs=Gi,Gi=null):fs=Gi.sibling;var Nl=Xn(tn,Gi,qa.value,Pn);if(Nl===null){Gi===null&&(Gi=fs);break}g&&Gi&&Nl.alternate===null&&T(tn,Gi),$r=at(Nl,$r,Qa),Xa===null?zn=Nl:Xa.sibling=Nl,Xa=Nl,Gi=fs}if(qa.done)return U(tn,Gi),zn;if(Gi===null){for(;!qa.done;Qa++,qa=qr.next())qa=ja(tn,qa.value,Pn),qa!==null&&($r=at(qa,$r,Qa),Xa===null?zn=qa:Xa.sibling=qa,Xa=qa);return zn}for(Gi=ve(tn,Gi);!qa.done;Qa++,qa=qr.next())qa=ma(Gi,tn,Qa,qa.value,Pn),qa!==null&&(g&&qa.alternate!==null&&Gi.delete(qa.key===null?Qa:qa.key),$r=at(qa,$r,Qa),Xa===null?zn=qa:Xa.sibling=qa,Xa=qa);return g&&Gi.forEach(function(sd){return T(tn,sd)}),zn}return function(tn,$r,qr,Pn){var zn=typeof qr=="object"&&qr!==null&&qr.type===H&&qr.key===null;zn&&(qr=qr.props.children);var Xa=typeof qr=="object"&&qr!==null;if(Xa)switch(qr.$$typeof){case V:e:{for(Xa=qr.key,zn=$r;zn!==null;){if(zn.key===Xa){switch(zn.tag){case 7:if(qr.type===H){U(tn,zn.sibling),$r=Oe(zn,qr.props.children),$r.return=tn,tn=$r;break e}break;default:if(zn.elementType===qr.type){U(tn,zn.sibling),$r=Oe(zn,qr.props),$r.ref=Do(tn,zn,qr),$r.return=tn,tn=$r;break e}}U(tn,zn);break}else T(tn,zn);zn=zn.sibling}qr.type===H?($r=au(qr.props.children,tn.mode,Pn,qr.key),$r.return=tn,tn=$r):(Pn=$c(qr.type,qr.key,qr.props,null,tn.mode,Pn),Pn.ref=Do(tn,$r,qr),Pn.return=tn,tn=Pn)}return jt(tn);case W:e:{for(zn=qr.key;$r!==null;){if($r.key===zn)if($r.tag===4&&$r.stateNode.containerInfo===qr.containerInfo&&$r.stateNode.implementation===qr.implementation){U(tn,$r.sibling),$r=Oe($r,qr.children||[]),$r.return=tn,tn=$r;break e}else{U(tn,$r);break}else T(tn,$r);$r=$r.sibling}$r=cf(qr,tn.mode,Pn),$r.return=tn,tn=$r}return jt(tn)}if(typeof qr=="string"||typeof qr=="number")return qr=""+qr,$r!==null&&$r.tag===6?(U(tn,$r.sibling),$r=Oe($r,qr),$r.return=tn,tn=$r):(U(tn,$r),$r=Cf(qr,tn.mode,Pn),$r.return=tn,tn=$r),jt(tn);if(Zu(qr))return Ua(tn,$r,qr,Pn);if(We(qr))return Ma(tn,$r,qr,Pn);if(Xa&&Yo(tn,qr),typeof qr=="undefined"&&!zn)switch(tn.tag){case 1:case 22:case 0:case 11:case 15:throw Error(c(152,Mt(tn.type)||"Component"))}return U(tn,$r)}}var pu=Ul(!0),zl=Ul(!1),xo={},ru=oo(xo),cl=oo(xo),Zl=oo(xo);function Xo(g){if(g===xo)throw Error(c(174));return g}function Hl(g,T){switch(ls(Zl,T),ls(cl,g),ls(ru,xo),g=T.nodeType,g){case 9:case 11:T=(T=T.documentElement)?T.namespaceURI:Rt(null,"");break;default:g=g===8?T.parentNode:T,T=g.namespaceURI||null,g=g.tagName,T=Rt(T,g)}Ta(ru),ls(ru,T)}function Wl(){Ta(ru),Ta(cl),Ta(Zl)}function fi(g){Xo(Zl.current);var T=Xo(ru.current),U=Rt(T,g.type);T!==U&&(ls(cl,g),ls(ru,U))}function oc(g){cl.current===g&&(Ta(ru),Ta(cl))}var ao=oo(0);function Wc(g){for(var T=g;T!==null;){if(T.tag===13){var U=T.memoizedState;if(U!==null&&(U=U.dehydrated,U===null||U.data==="$?"||U.data==="$!"))return T}else if(T.tag===19&&T.memoizedProps.revealOrder!==void 0){if(T.flags&64)return T}else if(T.child!==null){T.child.return=T,T=T.child;continue}if(T===g)break;for(;T.sibling===null;){if(T.return===null||T.return===g)return null;T=T.return}T.sibling.return=T.return,T=T.sibling}return null}var Fu=null,fl=null,tl=!1;function Sc(g,T){var U=iu(5,null,null,0);U.elementType="DELETED",U.type="DELETED",U.stateNode=T,U.return=g,U.flags=8,g.lastEffect!==null?(g.lastEffect.nextEffect=U,g.lastEffect=U):g.firstEffect=g.lastEffect=U}function Gc(g,T){switch(g.tag){case 5:var U=g.type;return T=T.nodeType!==1||U.toLowerCase()!==T.nodeName.toLowerCase()?null:T,T!==null?(g.stateNode=T,!0):!1;case 6:return T=g.pendingProps===""||T.nodeType!==3?null:T,T!==null?(g.stateNode=T,!0):!1;case 13:return!1;default:return!1}}function Eo(g){if(tl){var T=fl;if(T){var U=T;if(!Gc(g,T)){if(T=yi(U.nextSibling),!T||!Gc(g,T)){g.flags=g.flags&-1025|2,tl=!1,Fu=g;return}Sc(Fu,U)}Fu=g,fl=yi(T.firstChild)}else g.flags=g.flags&-1025|2,tl=!1,Fu=g}}function Kc(g){for(g=g.return;g!==null&&g.tag!==5&&g.tag!==3&&g.tag!==13;)g=g.return;Fu=g}function Gl(g){if(g!==Fu)return!1;if(!tl)return Kc(g),tl=!0,!1;var T=g.type;if(g.tag!==5||T!=="head"&&T!=="body"&&!Qi(T,g.memoizedProps))for(T=fl;T;)Sc(g,T),T=yi(T.nextSibling);if(Kc(g),g.tag===13){if(g=g.memoizedState,g=g!==null?g.dehydrated:null,!g)throw Error(c(317));e:{for(g=g.nextSibling,T=0;g;){if(g.nodeType===8){var U=g.data;if(U==="/$"){if(T===0){fl=yi(g.nextSibling);break e}T--}else U!=="$"&&U!=="$!"&&U!=="$?"||T++}g=g.nextSibling}fl=null}}else fl=Fu?yi(g.stateNode.nextSibling):null;return!0}function uc(){fl=Fu=null,tl=!1}var Il=[];function Vc(){for(var g=0;g<Il.length;g++)Il[g]._workInProgressVersionPrimary=null;Il.length=0}var Dl=N.ReactCurrentDispatcher,Au=N.ReactCurrentBatchConfig,Kl=0,lo=null,Qo=null,lu=null,Vl=!1,wl=!1;function Bu(){throw Error(c(321))}function cu(g,T){if(T===null)return!1;for(var U=0;U<T.length&&U<g.length;U++)if(!Wn(g[U],T[U]))return!1;return!0}function pf(g,T,U,ve,Oe,at){if(Kl=at,lo=T,T.memoizedState=null,T.updateQueue=null,T.lanes=0,Dl.current=g===null||g.memoizedState===null?wo:Dc,g=U(ve,Oe),wl){at=0;do{if(wl=!1,!(25>at))throw Error(c(301));at+=1,lu=Qo=null,T.updateQueue=null,Dl.current=qc,g=U(ve,Oe)}while(wl)}if(Dl.current=lc,T=Qo!==null&&Qo.next!==null,Kl=0,lu=Qo=lo=null,Vl=!1,T)throw Error(c(300));return g}function Tu(){var g={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return lu===null?lo.memoizedState=lu=g:lu=lu.next=g,lu}function _u(){if(Qo===null){var g=lo.alternate;g=g!==null?g.memoizedState:null}else g=Qo.next;var T=lu===null?lo.memoizedState:lu.next;if(T!==null)lu=T,Qo=g;else{if(g===null)throw Error(c(310));Qo=g,g={memoizedState:Qo.memoizedState,baseState:Qo.baseState,baseQueue:Qo.baseQueue,queue:Qo.queue,next:null},lu===null?lo.memoizedState=lu=g:lu=lu.next=g}return lu}function Hu(g,T){return typeof T=="function"?T(g):T}function Ac(g){var T=_u(),U=T.queue;if(U===null)throw Error(c(311));U.lastRenderedReducer=g;var ve=Qo,Oe=ve.baseQueue,at=U.pending;if(at!==null){if(Oe!==null){var jt=Oe.next;Oe.next=at.next,at.next=jt}ve.baseQueue=Oe=at,U.pending=null}if(Oe!==null){Oe=Oe.next,ve=ve.baseState;var sr=jt=at=null,Or=Oe;do{var mn=Or.lane;if((Kl&mn)===mn)sr!==null&&(sr=sr.next={lane:0,action:Or.action,eagerReducer:Or.eagerReducer,eagerState:Or.eagerState,next:null}),ve=Or.eagerReducer===g?Or.eagerState:g(ve,Or.action);else{var Di={lane:mn,action:Or.action,eagerReducer:Or.eagerReducer,eagerState:Or.eagerState,next:null};sr===null?(jt=sr=Di,at=ve):sr=sr.next=Di,lo.lanes|=mn,Ao|=mn}Or=Or.next}while(Or!==null&&Or!==Oe);sr===null?at=ve:sr.next=jt,Wn(ve,T.memoizedState)||(Nu=!0),T.memoizedState=ve,T.baseState=at,T.baseQueue=sr,U.lastRenderedState=ve}return[T.memoizedState,U.dispatch]}function Ol(g){var T=_u(),U=T.queue;if(U===null)throw Error(c(311));U.lastRenderedReducer=g;var ve=U.dispatch,Oe=U.pending,at=T.memoizedState;if(Oe!==null){U.pending=null;var jt=Oe=Oe.next;do at=g(at,jt.action),jt=jt.next;while(jt!==Oe);Wn(at,T.memoizedState)||(Nu=!0),T.memoizedState=at,T.baseQueue===null&&(T.baseState=at),U.lastRenderedState=at}return[at,ve]}function Ia(g,T,U){var ve=T._getVersion;ve=ve(T._source);var Oe=T._workInProgressVersionPrimary;if(Oe!==null?g=Oe===ve:(g=g.mutableReadLanes,(g=(Kl&g)===g)&&(T._workInProgressVersionPrimary=ve,Il.push(T))),g)return U(T._source);throw Il.push(T),Error(c(350))}function _f(g,T,U,ve){var Oe=an;if(Oe===null)throw Error(c(349));var at=T._getVersion,jt=at(T._source),sr=Dl.current,Or=sr.useState(function(){return Ia(Oe,T,U)}),mn=Or[1],Di=Or[0];Or=lu;var ja=g.memoizedState,Xn=ja.refs,ma=Xn.getSnapshot,Ua=ja.source;ja=ja.subscribe;var Ma=lo;return g.memoizedState={refs:Xn,source:T,subscribe:ve},sr.useEffect(function(){Xn.getSnapshot=U,Xn.setSnapshot=mn;var tn=at(T._source);if(!Wn(jt,tn)){tn=U(T._source),Wn(Di,tn)||(mn(tn),tn=Tl(Ma),Oe.mutableReadLanes|=tn&Oe.pendingLanes),tn=Oe.mutableReadLanes,Oe.entangledLanes|=tn;for(var $r=Oe.entanglements,qr=tn;0<qr;){var Pn=31-pi(qr),zn=1<<Pn;$r[Pn]|=tn,qr&=~zn}}},[U,T,ve]),sr.useEffect(function(){return ve(T._source,function(){var tn=Xn.getSnapshot,$r=Xn.setSnapshot;try{$r(tn(T._source));var qr=Tl(Ma);Oe.mutableReadLanes|=qr&Oe.pendingLanes}catch(Pn){$r(function(){throw Pn})}})},[T,ve]),Wn(ma,U)&&Wn(Ua,T)&&Wn(ja,ve)||(g={pending:null,dispatch:null,lastRenderedReducer:Hu,lastRenderedState:Di},g.dispatch=mn=gf.bind(null,lo,g),Or.queue=g,Or.baseQueue=null,Di=Ia(Oe,T,U),Or.memoizedState=Or.baseState=Di),Di}function Yc(g,T,U){var ve=_u();return _f(ve,g,T,U)}function dl(g){var T=Tu();return typeof g=="function"&&(g=g()),T.memoizedState=T.baseState=g,g=T.queue={pending:null,dispatch:null,lastRenderedReducer:Hu,lastRenderedState:g},g=g.dispatch=gf.bind(null,lo,g),[T.memoizedState,g]}function Xc(g,T,U,ve){return g={tag:g,create:T,destroy:U,deps:ve,next:null},T=lo.updateQueue,T===null?(T={lastEffect:null},lo.updateQueue=T,T.lastEffect=g.next=g):(U=T.lastEffect,U===null?T.lastEffect=g.next=g:(ve=U.next,U.next=g,g.next=ve,T.lastEffect=g)),g}function Of(g){var T=Tu();return g={current:g},T.memoizedState=g}function Tc(){return _u().memoizedState}function Cu(g,T,U,ve){var Oe=Tu();lo.flags|=g,Oe.memoizedState=Xc(1|T,U,void 0,ve===void 0?null:ve)}function mf(g,T,U,ve){var Oe=_u();ve=ve===void 0?null:ve;var at=void 0;if(Qo!==null){var jt=Qo.memoizedState;if(at=jt.destroy,ve!==null&&cu(ve,jt.deps)){Xc(T,U,at,ve);return}}lo.flags|=g,Oe.memoizedState=Xc(1|T,U,at,ve)}function Cc(g,T){return Cu(516,4,g,T)}function Yl(g,T){return mf(516,4,g,T)}function vf(g,T){return mf(4,2,g,T)}function Pc(g,T){if(typeof T=="function")return g=g(),T(g),function(){T(null)};if(T!=null)return g=g(),T.current=g,function(){T.current=null}}function Pu(g,T,U){return U=U!=null?U.concat([g]):null,mf(4,2,Pc.bind(null,T,g),U)}function hl(){}function Ic(g,T){var U=_u();T=T===void 0?null:T;var ve=U.memoizedState;return ve!==null&&T!==null&&cu(T,ve[1])?ve[0]:(U.memoizedState=[g,T],g)}function pl(g,T){var U=_u();T=T===void 0?null:T;var ve=U.memoizedState;return ve!==null&&T!==null&&cu(T,ve[1])?ve[0]:(g=g(),U.memoizedState=[g,T],g)}function Qc(g,T){var U=Ut();Ar(98>U?98:U,function(){g(!0)}),Ar(97<U?97:U,function(){var ve=Au.transition;Au.transition=1;try{g(!1),T()}finally{Au.transition=ve}})}function gf(g,T,U){var ve=Ru(),Oe=Tl(g),at={lane:Oe,action:U,eagerReducer:null,eagerState:null,next:null},jt=T.pending;if(jt===null?at.next=at:(at.next=jt.next,jt.next=at),T.pending=at,jt=g.alternate,g===lo||jt!==null&&jt===lo)wl=Vl=!0;else{if(g.lanes===0&&(jt===null||jt.lanes===0)&&(jt=T.lastRenderedReducer,jt!==null))try{var sr=T.lastRenderedState,Or=jt(sr,U);if(at.eagerReducer=jt,at.eagerState=Or,Wn(Or,sr))return}catch(mn){}finally{}ec(g,Oe,ve)}}var lc={readContext:Oa,useCallback:Bu,useContext:Bu,useEffect:Bu,useImperativeHandle:Bu,useLayoutEffect:Bu,useMemo:Bu,useReducer:Bu,useRef:Bu,useState:Bu,useDebugValue:Bu,useDeferredValue:Bu,useTransition:Bu,useMutableSource:Bu,useOpaqueIdentifier:Bu,unstable_isNewReconciler:!1},wo={readContext:Oa,useCallback:function(g,T){return Tu().memoizedState=[g,T===void 0?null:T],g},useContext:Oa,useEffect:Cc,useImperativeHandle:function(g,T,U){return U=U!=null?U.concat([g]):null,Cu(4,2,Pc.bind(null,T,g),U)},useLayoutEffect:function(g,T){return Cu(4,2,g,T)},useMemo:function(g,T){var U=Tu();return T=T===void 0?null:T,g=g(),U.memoizedState=[g,T],g},useReducer:function(g,T,U){var ve=Tu();return T=U!==void 0?U(T):T,ve.memoizedState=ve.baseState=T,g=ve.queue={pending:null,dispatch:null,lastRenderedReducer:g,lastRenderedState:T},g=g.dispatch=gf.bind(null,lo,g),[ve.memoizedState,g]},useRef:Of,useState:dl,useDebugValue:hl,useDeferredValue:function(g){var T=dl(g),U=T[0],ve=T[1];return Cc(function(){var Oe=Au.transition;Au.transition=1;try{ve(g)}finally{Au.transition=Oe}},[g]),U},useTransition:function(){var g=dl(!1),T=g[0];return g=Qc.bind(null,g[1]),Of(g),[g,T]},useMutableSource:function(g,T,U){var ve=Tu();return ve.memoizedState={refs:{getSnapshot:T,setSnapshot:null},source:g,subscribe:U},_f(ve,g,T,U)},useOpaqueIdentifier:function(){if(tl){var g=!1,T=Bs(function(){throw g||(g=!0,U("r:"+(go++).toString(36))),Error(c(355))}),U=dl(T)[1];return!(lo.mode&2)&&(lo.flags|=516,Xc(5,function(){U("r:"+(go++).toString(36))},void 0,null)),T}return T="r:"+(go++).toString(36),dl(T),T},unstable_isNewReconciler:!1},Dc={readContext:Oa,useCallback:Ic,useContext:Oa,useEffect:Yl,useImperativeHandle:Pu,useLayoutEffect:vf,useMemo:pl,useReducer:Ac,useRef:Tc,useState:function(){return Ac(Hu)},useDebugValue:hl,useDeferredValue:function(g){var T=Ac(Hu),U=T[0],ve=T[1];return Yl(function(){var Oe=Au.transition;Au.transition=1;try{ve(g)}finally{Au.transition=Oe}},[g]),U},useTransition:function(){var g=Ac(Hu)[0];return[Tc().current,g]},useMutableSource:Yc,useOpaqueIdentifier:function(){return Ac(Hu)[0]},unstable_isNewReconciler:!1},qc={readContext:Oa,useCallback:Ic,useContext:Oa,useEffect:Yl,useImperativeHandle:Pu,useLayoutEffect:vf,useMemo:pl,useReducer:Ol,useRef:Tc,useState:function(){return Ol(Hu)},useDebugValue:hl,useDeferredValue:function(g){var T=Ol(Hu),U=T[0],ve=T[1];return Yl(function(){var Oe=Au.transition;Au.transition=1;try{ve(g)}finally{Au.transition=Oe}},[g]),U},useTransition:function(){var g=Ol(Hu)[0];return[Tc().current,g]},useMutableSource:Yc,useOpaqueIdentifier:function(){return Ol(Hu)[0]},unstable_isNewReconciler:!1},_l=N.ReactCurrentOwner,Nu=!1;function So(g,T,U,ve){T.child=g===null?zl(T,null,U,ve):pu(T,g.child,U,ve)}function kl(g,T,U,ve,Oe){U=U.render;var at=T.ref;return ms(T,Oe),ve=pf(g,T,U,ve,at,Oe),g!==null&&!Nu?(T.updateQueue=g.updateQueue,T.flags&=-517,g.lanes&=~Oe,Du(g,T,Oe)):(T.flags|=1,So(g,T,ve,Oe),T.child)}function kf(g,T,U,ve,Oe,at){if(g===null){var jt=U.type;return typeof jt=="function"&&!Af(jt)&&jt.defaultProps===void 0&&U.compare===null&&U.defaultProps===void 0?(T.tag=15,T.type=jt,Oc(g,T,jt,ve,Oe,at)):(g=$c(U.type,null,ve,T,T.mode,at),g.ref=T.ref,g.return=T,T.child=g)}return jt=g.child,!(Oe&at)&&(Oe=jt.memoizedProps,U=U.compare,U=U!==null?U:ra,U(Oe,ve)&&g.ref===T.ref)?Du(g,T,at):(T.flags|=1,g=Cl(jt,ve),g.ref=T.ref,g.return=T,T.child=g)}function Oc(g,T,U,ve,Oe,at){if(g!==null&&ra(g.memoizedProps,ve)&&g.ref===T.ref)if(Nu=!1,(at&Oe)!==0)g.flags&16384&&(Nu=!0);else return T.lanes=g.lanes,Du(g,T,at);return mo(g,T,U,ve,at)}function Wu(g,T,U){var ve=T.pendingProps,Oe=ve.children,at=g!==null?g.memoizedState:null;if(ve.mode==="hidden"||ve.mode==="unstable-defer-without-hiding")if(!(T.mode&4))T.memoizedState={baseLanes:0},fa(T,U);else if(U&1073741824)T.memoizedState={baseLanes:0},fa(T,at!==null?at.baseLanes:U);else return g=at!==null?at.baseLanes|U:U,T.lanes=T.childLanes=1073741824,T.memoizedState={baseLanes:g},fa(T,g),null;else at!==null?(ve=at.baseLanes|U,T.memoizedState=null):ve=U,fa(T,ve);return So(g,T,Oe,U),T.child}function Gs(g,T){var U=T.ref;(g===null&&U!==null||g!==null&&g.ref!==U)&&(T.flags|=128)}function mo(g,T,U,ve,Oe){var at=rn(U)?we:La.current;return at=wr(T,at),ms(T,Oe),U=pf(g,T,U,ve,at,Oe),g!==null&&!Nu?(T.updateQueue=g.updateQueue,T.flags&=-517,g.lanes&=~Oe,Du(g,T,Oe)):(T.flags|=1,So(g,T,U,Oe),T.child)}function Iu(g,T,U,ve,Oe){if(rn(U)){var at=!0;oi(T)}else at=!1;if(ms(T,Oe),T.stateNode===null)g!==null&&(g.alternate=null,T.alternate=null,T.flags|=2),el(T,U,ve),zu(T,U,ve,Oe),ve=!0;else if(g===null){var jt=T.stateNode,sr=T.memoizedProps;jt.props=sr;var Or=jt.context,mn=U.contextType;typeof mn=="object"&&mn!==null?mn=Oa(mn):(mn=rn(U)?we:La.current,mn=wr(T,mn));var Di=U.getDerivedStateFromProps,ja=typeof Di=="function"||typeof jt.getSnapshotBeforeUpdate=="function";ja||typeof jt.UNSAFE_componentWillReceiveProps!="function"&&typeof jt.componentWillReceiveProps!="function"||(sr!==ve||Or!==mn)&&$s(T,jt,ve,mn),io=!1;var Xn=T.memoizedState;jt.state=Xn,Ns(T,ve,jt,Oe),Or=T.memoizedState,sr!==ve||Xn!==Or||ge.current||io?(typeof Di=="function"&&(sc(T,U,Di,ve),Or=T.memoizedState),(sr=io||El(T,U,sr,ve,Xn,Or,mn))?(ja||typeof jt.UNSAFE_componentWillMount!="function"&&typeof jt.componentWillMount!="function"||(typeof jt.componentWillMount=="function"&&jt.componentWillMount(),typeof jt.UNSAFE_componentWillMount=="function"&&jt.UNSAFE_componentWillMount()),typeof jt.componentDidMount=="function"&&(T.flags|=4)):(typeof jt.componentDidMount=="function"&&(T.flags|=4),T.memoizedProps=ve,T.memoizedState=Or),jt.props=ve,jt.state=Or,jt.context=mn,ve=sr):(typeof jt.componentDidMount=="function"&&(T.flags|=4),ve=!1)}else{jt=T.stateNode,pr(g,T),sr=T.memoizedProps,mn=T.type===T.elementType?sr:ti(T.type,sr),jt.props=mn,ja=T.pendingProps,Xn=jt.context,Or=U.contextType,typeof Or=="object"&&Or!==null?Or=Oa(Or):(Or=rn(U)?we:La.current,Or=wr(T,Or));var ma=U.getDerivedStateFromProps;(Di=typeof ma=="function"||typeof jt.getSnapshotBeforeUpdate=="function")||typeof jt.UNSAFE_componentWillReceiveProps!="function"&&typeof jt.componentWillReceiveProps!="function"||(sr!==ja||Xn!==Or)&&$s(T,jt,ve,Or),io=!1,Xn=T.memoizedState,jt.state=Xn,Ns(T,ve,jt,Oe);var Ua=T.memoizedState;sr!==ja||Xn!==Ua||ge.current||io?(typeof ma=="function"&&(sc(T,U,ma,ve),Ua=T.memoizedState),(mn=io||El(T,U,mn,ve,Xn,Ua,Or))?(Di||typeof jt.UNSAFE_componentWillUpdate!="function"&&typeof jt.componentWillUpdate!="function"||(typeof jt.componentWillUpdate=="function"&&jt.componentWillUpdate(ve,Ua,Or),typeof jt.UNSAFE_componentWillUpdate=="function"&&jt.UNSAFE_componentWillUpdate(ve,Ua,Or)),typeof jt.componentDidUpdate=="function"&&(T.flags|=4),typeof jt.getSnapshotBeforeUpdate=="function"&&(T.flags|=256)):(typeof jt.componentDidUpdate!="function"||sr===g.memoizedProps&&Xn===g.memoizedState||(T.flags|=4),typeof jt.getSnapshotBeforeUpdate!="function"||sr===g.memoizedProps&&Xn===g.memoizedState||(T.flags|=256),T.memoizedProps=ve,T.memoizedState=Ua),jt.props=ve,jt.state=Ua,jt.context=Or,ve=mn):(typeof jt.componentDidUpdate!="function"||sr===g.memoizedProps&&Xn===g.memoizedState||(T.flags|=4),typeof jt.getSnapshotBeforeUpdate!="function"||sr===g.memoizedProps&&Xn===g.memoizedState||(T.flags|=256),ve=!1)}return Ue(g,T,U,ve,at,Oe)}function Ue(g,T,U,ve,Oe,at){Gs(g,T);var jt=(T.flags&64)!==0;if(!ve&&!jt)return Oe&&Wi(T,U,!1),Du(g,T,at);ve=T.stateNode,_l.current=T;var sr=jt&&typeof U.getDerivedStateFromError!="function"?null:ve.render();return T.flags|=1,g!==null&&jt?(T.child=pu(T,g.child,null,at),T.child=pu(T,null,sr,at)):So(g,T,sr,at),T.memoizedState=ve.state,Oe&&Wi(T,U,!0),T.child}function Gu(g){var T=g.stateNode;T.pendingContext?Jr(g,T.pendingContext,T.pendingContext!==T.context):T.context&&Jr(g,T.context,!1),Hl(g,T.containerInfo)}var yu={dehydrated:null,retryLane:0};function cc(g,T,U){var ve=T.pendingProps,Oe=ao.current,at=!1,jt;return(jt=(T.flags&64)!==0)||(jt=g!==null&&g.memoizedState===null?!1:(Oe&2)!==0),jt?(at=!0,T.flags&=-65):g!==null&&g.memoizedState===null||ve.fallback===void 0||ve.unstable_avoidThisFallback===!0||(Oe|=1),ls(ao,Oe&1),g===null?(ve.fallback!==void 0&&Eo(T),g=ve.children,Oe=ve.fallback,at?(g=fu(T,g,Oe,U),T.child.memoizedState={baseLanes:U},T.memoizedState=yu,g):typeof ve.unstable_expectedLoadTime=="number"?(g=fu(T,g,Oe,U),T.child.memoizedState={baseLanes:U},T.memoizedState=yu,T.lanes=33554432,g):(U=Tf({mode:"visible",children:g},T.mode,U,null),U.return=T,T.child=U)):g.memoizedState!==null?at?(ve=fc(g,T,ve.children,ve.fallback,U),at=T.child,Oe=g.child.memoizedState,at.memoizedState=Oe===null?{baseLanes:U}:{baseLanes:Oe.baseLanes|U},at.childLanes=g.childLanes&~U,T.memoizedState=yu,ve):(U=Ku(g,T,ve.children,U),T.memoizedState=null,U):at?(ve=fc(g,T,ve.children,ve.fallback,U),at=T.child,Oe=g.child.memoizedState,at.memoizedState=Oe===null?{baseLanes:U}:{baseLanes:Oe.baseLanes|U},at.childLanes=g.childLanes&~U,T.memoizedState=yu,ve):(U=Ku(g,T,ve.children,U),T.memoizedState=null,U)}function fu(g,T,U,ve){var Oe=g.mode,at=g.child;return T={mode:"hidden",children:T},!(Oe&2)&&at!==null?(at.childLanes=0,at.pendingProps=T):at=Tf(T,Oe,0,null),U=au(U,Oe,ve,null),at.return=g,U.return=g,at.sibling=U,g.child=at,U}function Ku(g,T,U,ve){var Oe=g.child;return g=Oe.sibling,U=Cl(Oe,{mode:"visible",children:U}),!(T.mode&2)&&(U.lanes=ve),U.return=T,U.sibling=null,g!==null&&(g.nextEffect=null,g.flags=8,T.firstEffect=T.lastEffect=g),T.child=U}function fc(g,T,U,ve,Oe){var at=T.mode,jt=g.child;g=jt.sibling;var sr={mode:"hidden",children:U};return!(at&2)&&T.child!==jt?(U=T.child,U.childLanes=0,U.pendingProps=sr,jt=U.lastEffect,jt!==null?(T.firstEffect=U.firstEffect,T.lastEffect=jt,jt.nextEffect=null):T.firstEffect=T.lastEffect=null):U=Cl(jt,sr),g!==null?ve=Cl(g,ve):(ve=au(ve,at,Oe,null),ve.flags|=2),ve.return=T,U.return=T,U.sibling=ve,T.child=U,ve}function dc(g,T){g.lanes|=T;var U=g.alternate;U!==null&&(U.lanes|=T),Ls(g.return,T)}function rl(g,T,U,ve,Oe,at){var jt=g.memoizedState;jt===null?g.memoizedState={isBackwards:T,rendering:null,renderingStartTime:0,last:ve,tail:U,tailMode:Oe,lastEffect:at}:(jt.isBackwards=T,jt.rendering=null,jt.renderingStartTime=0,jt.last=ve,jt.tail=U,jt.tailMode=Oe,jt.lastEffect=at)}function nl(g,T,U){var ve=T.pendingProps,Oe=ve.revealOrder,at=ve.tail;if(So(g,T,ve.children,U),ve=ao.current,ve&2)ve=ve&1|2,T.flags|=64;else{if(g!==null&&g.flags&64)e:for(g=T.child;g!==null;){if(g.tag===13)g.memoizedState!==null&&dc(g,U);else if(g.tag===19)dc(g,U);else if(g.child!==null){g.child.return=g,g=g.child;continue}if(g===T)break e;for(;g.sibling===null;){if(g.return===null||g.return===T)break e;g=g.return}g.sibling.return=g.return,g=g.sibling}ve&=1}if(ls(ao,ve),!(T.mode&2))T.memoizedState=null;else switch(Oe){case"forwards":for(U=T.child,Oe=null;U!==null;)g=U.alternate,g!==null&&Wc(g)===null&&(Oe=U),U=U.sibling;U=Oe,U===null?(Oe=T.child,T.child=null):(Oe=U.sibling,U.sibling=null),rl(T,!1,Oe,U,at,T.lastEffect);break;case"backwards":for(U=null,Oe=T.child,T.child=null;Oe!==null;){if(g=Oe.alternate,g!==null&&Wc(g)===null){T.child=Oe;break}g=Oe.sibling,Oe.sibling=U,U=Oe,Oe=g}rl(T,!0,U,null,at,T.lastEffect);break;case"together":rl(T,!1,null,null,void 0,T.lastEffect);break;default:T.memoizedState=null}return T.child}function Du(g,T,U){if(g!==null&&(T.dependencies=g.dependencies),Ao|=T.lanes,U&T.childLanes){if(g!==null&&T.child!==g.child)throw Error(c(153));if(T.child!==null){for(g=T.child,U=Cl(g,g.pendingProps),T.child=U,U.return=T;g.sibling!==null;)g=g.sibling,U=U.sibling=Cl(g,g.pendingProps),U.return=T;U.sibling=null}return T.child}return null}var yf,hc,bu,ml;yf=function(g,T){for(var U=T.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===T)break;for(;U.sibling===null;){if(U.return===null||U.return===T)return;U=U.return}U.sibling.return=U.return,U=U.sibling}},hc=function(){},bu=function(g,T,U,ve){var Oe=g.memoizedProps;if(Oe!==ve){g=T.stateNode,Xo(ru.current);var at=null;switch(U){case"input":Oe=ft(g,Oe),ve=ft(g,ve),at=[];break;case"option":Oe=Ye(g,Oe),ve=Ye(g,ve),at=[];break;case"select":Oe=i({},Oe,{value:void 0}),ve=i({},ve,{value:void 0}),at=[];break;case"textarea":Oe=xt(g,Oe),ve=xt(g,ve),at=[];break;default:typeof Oe.onClick!="function"&&typeof ve.onClick=="function"&&(g.onclick=ai)}Te(U,ve);var jt;U=null;for(mn in Oe)if(!ve.hasOwnProperty(mn)&&Oe.hasOwnProperty(mn)&&Oe[mn]!=null)if(mn==="style"){var sr=Oe[mn];for(jt in sr)sr.hasOwnProperty(jt)&&(U||(U={}),U[jt]="")}else mn!=="dangerouslySetInnerHTML"&&mn!=="children"&&mn!=="suppressContentEditableWarning"&&mn!=="suppressHydrationWarning"&&mn!=="autoFocus"&&(o.hasOwnProperty(mn)?at||(at=[]):(at=at||[]).push(mn,null));for(mn in ve){var Or=ve[mn];if(sr=Oe!=null?Oe[mn]:void 0,ve.hasOwnProperty(mn)&&Or!==sr&&(Or!=null||sr!=null))if(mn==="style")if(sr){for(jt in sr)!sr.hasOwnProperty(jt)||Or&&Or.hasOwnProperty(jt)||(U||(U={}),U[jt]="");for(jt in Or)Or.hasOwnProperty(jt)&&sr[jt]!==Or[jt]&&(U||(U={}),U[jt]=Or[jt])}else U||(at||(at=[]),at.push(mn,U)),U=Or;else mn==="dangerouslySetInnerHTML"?(Or=Or?Or.__html:void 0,sr=sr?sr.__html:void 0,Or!=null&&sr!==Or&&(at=at||[]).push(mn,Or)):mn==="children"?typeof Or!="string"&&typeof Or!="number"||(at=at||[]).push(mn,""+Or):mn!=="suppressContentEditableWarning"&&mn!=="suppressHydrationWarning"&&(o.hasOwnProperty(mn)?(Or!=null&&mn==="onScroll"&&Ie("scroll",g),at||sr===Or||(at=[])):typeof Or=="object"&&Or!==null&&Or.$$typeof===z?Or.toString():(at=at||[]).push(mn,Or))}U&&(at=at||[]).push("style",U);var mn=at;(T.updateQueue=mn)&&(T.flags|=4)}},ml=function(g,T,U,ve){U!==ve&&(T.flags|=4)};function Ou(g,T){if(!tl)switch(g.tailMode){case"hidden":T=g.tail;for(var U=null;T!==null;)T.alternate!==null&&(U=T),T=T.sibling;U===null?g.tail=null:U.sibling=null;break;case"collapsed":U=g.tail;for(var ve=null;U!==null;)U.alternate!==null&&(ve=U),U=U.sibling;ve===null?T||g.tail===null?g.tail=null:g.tail.sibling=null:ve.sibling=null}}function Uf(g,T,U){var ve=T.pendingProps;switch(T.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return null;case 1:return rn(T.type)&&xr(),null;case 3:return Wl(),Ta(ge),Ta(La),Vc(),ve=T.stateNode,ve.pendingContext&&(ve.context=ve.pendingContext,ve.pendingContext=null),(g===null||g.child===null)&&(Gl(T)?T.flags|=4:ve.hydrate||(T.flags|=256)),hc(T),null;case 5:oc(T);var Oe=Xo(Zl.current);if(U=T.type,g!==null&&T.stateNode!=null)bu(g,T,U,ve,Oe),g.ref!==T.ref&&(T.flags|=128);else{if(!ve){if(T.stateNode===null)throw Error(c(166));return null}if(g=Xo(ru.current),Gl(T)){ve=T.stateNode,U=T.type;var at=T.memoizedProps;switch(ve[Ya]=T,ve[ba]=at,U){case"dialog":Ie("cancel",ve),Ie("close",ve);break;case"iframe":case"object":case"embed":Ie("load",ve);break;case"video":case"audio":for(g=0;g<Fn.length;g++)Ie(Fn[g],ve);break;case"source":Ie("error",ve);break;case"img":case"image":case"link":Ie("error",ve),Ie("load",ve);break;case"details":Ie("toggle",ve);break;case"input":Qe(ve,at),Ie("invalid",ve);break;case"select":ve._wrapperState={wasMultiple:!!at.multiple},Ie("invalid",ve);break;case"textarea":nr(ve,at),Ie("invalid",ve)}Te(U,at),g=null;for(var jt in at)at.hasOwnProperty(jt)&&(Oe=at[jt],jt==="children"?typeof Oe=="string"?ve.textContent!==Oe&&(g=["children",Oe]):typeof Oe=="number"&&ve.textContent!==""+Oe&&(g=["children",""+Oe]):o.hasOwnProperty(jt)&&Oe!=null&&jt==="onScroll"&&Ie("scroll",ve));switch(U){case"input":Ft(ve),ke(ve,at,!0);break;case"textarea":Ft(ve),Me(ve);break;case"select":case"option":break;default:typeof at.onClick=="function"&&(ve.onclick=ai)}ve=g,T.updateQueue=ve,ve!==null&&(T.flags|=4)}else{switch(jt=Oe.nodeType===9?Oe:Oe.ownerDocument,g===qe.html&&(g=Vt(U)),g===qe.html?U==="script"?(g=jt.createElement("div"),g.innerHTML="<script><\/script>",g=g.removeChild(g.firstChild)):typeof ve.is=="string"?g=jt.createElement(U,{is:ve.is}):(g=jt.createElement(U),U==="select"&&(jt=g,ve.multiple?jt.multiple=!0:ve.size&&(jt.size=ve.size))):g=jt.createElementNS(g,U),g[Ya]=T,g[ba]=ve,yf(g,T,!1,!1),T.stateNode=g,jt=ct(U,ve),U){case"dialog":Ie("cancel",g),Ie("close",g),Oe=ve;break;case"iframe":case"object":case"embed":Ie("load",g),Oe=ve;break;case"video":case"audio":for(Oe=0;Oe<Fn.length;Oe++)Ie(Fn[Oe],g);Oe=ve;break;case"source":Ie("error",g),Oe=ve;break;case"img":case"image":case"link":Ie("error",g),Ie("load",g),Oe=ve;break;case"details":Ie("toggle",g),Oe=ve;break;case"input":Qe(g,ve),Oe=ft(g,ve),Ie("invalid",g);break;case"option":Oe=Ye(g,ve);break;case"select":g._wrapperState={wasMultiple:!!ve.multiple},Oe=i({},ve,{value:void 0}),Ie("invalid",g);break;case"textarea":nr(g,ve),Oe=xt(g,ve),Ie("invalid",g);break;default:Oe=ve}Te(U,Oe);var sr=Oe;for(at in sr)if(sr.hasOwnProperty(at)){var Or=sr[at];at==="style"?pe(g,Or):at==="dangerouslySetInnerHTML"?(Or=Or?Or.__html:void 0,Or!=null&&Ht(g,Or)):at==="children"?typeof Or=="string"?(U!=="textarea"||Or!=="")&&Ct(g,Or):typeof Or=="number"&&Ct(g,""+Or):at!=="suppressContentEditableWarning"&&at!=="suppressHydrationWarning"&&at!=="autoFocus"&&(o.hasOwnProperty(at)?Or!=null&&at==="onScroll"&&Ie("scroll",g):Or!=null&&B(g,at,Or,jt))}switch(U){case"input":Ft(g),ke(g,ve,!1);break;case"textarea":Ft(g),Me(g);break;case"option":ve.value!=null&&g.setAttribute("value",""+tr(ve.value));break;case"select":g.multiple=!!ve.multiple,at=ve.value,at!=null?dt(g,!!ve.multiple,at,!1):ve.defaultValue!=null&&dt(g,!!ve.multiple,ve.defaultValue,!0);break;default:typeof Oe.onClick=="function"&&(g.onclick=ai)}ua(U,ve)&&(T.flags|=4)}T.ref!==null&&(T.flags|=128)}return null;case 6:if(g&&T.stateNode!=null)ml(g,T,g.memoizedProps,ve);else{if(typeof ve!="string"&&T.stateNode===null)throw Error(c(166));U=Xo(Zl.current),Xo(ru.current),Gl(T)?(ve=T.stateNode,U=T.memoizedProps,ve[Ya]=T,ve.nodeValue!==U&&(T.flags|=4)):(ve=(U.nodeType===9?U:U.ownerDocument).createTextNode(ve),ve[Ya]=T,T.stateNode=ve)}return null;case 13:return Ta(ao),ve=T.memoizedState,T.flags&64?(T.lanes=U,T):(ve=ve!==null,U=!1,g===null?T.memoizedProps.fallback!==void 0&&Gl(T):U=g.memoizedState!==null,ve&&!U&&T.mode&2&&(g===null&&T.memoizedProps.unstable_avoidThisFallback!==!0||ao.current&1?Ka===0&&(Ka=3):((Ka===0||Ka===3)&&(Ka=4),an===null||!(Ao&134217727)&&!(js&134217727)||Eu(an,hn))),(ve||U)&&(T.flags|=4),null);case 4:return Wl(),hc(T),g===null&&Gt(T.stateNode.containerInfo),null;case 10:return Ds(T),null;case 17:return rn(T.type)&&xr(),null;case 19:if(Ta(ao),ve=T.memoizedState,ve===null)return null;if(at=(T.flags&64)!==0,jt=ve.rendering,jt===null)if(at)Ou(ve,!1);else{if(Ka!==0||g!==null&&g.flags&64)for(g=T.child;g!==null;){if(jt=Wc(g),jt!==null){for(T.flags|=64,Ou(ve,!1),at=jt.updateQueue,at!==null&&(T.updateQueue=at,T.flags|=4),ve.lastEffect===null&&(T.firstEffect=null),T.lastEffect=ve.lastEffect,ve=U,U=T.child;U!==null;)at=U,g=ve,at.flags&=2,at.nextEffect=null,at.firstEffect=null,at.lastEffect=null,jt=at.alternate,jt===null?(at.childLanes=0,at.lanes=g,at.child=null,at.memoizedProps=null,at.memoizedState=null,at.updateQueue=null,at.dependencies=null,at.stateNode=null):(at.childLanes=jt.childLanes,at.lanes=jt.lanes,at.child=jt.child,at.memoizedProps=jt.memoizedProps,at.memoizedState=jt.memoizedState,at.updateQueue=jt.updateQueue,at.type=jt.type,g=jt.dependencies,at.dependencies=g===null?null:{lanes:g.lanes,firstContext:g.firstContext}),U=U.sibling;return ls(ao,ao.current&1|2),T.child}g=g.sibling}ve.tail!==null&&Pt()>rf&&(T.flags|=64,at=!0,Ou(ve,!1),T.lanes=33554432)}else{if(!at)if(g=Wc(jt),g!==null){if(T.flags|=64,at=!0,U=g.updateQueue,U!==null&&(T.updateQueue=U,T.flags|=4),Ou(ve,!0),ve.tail===null&&ve.tailMode==="hidden"&&!jt.alternate&&!tl)return T=T.lastEffect=ve.lastEffect,T!==null&&(T.nextEffect=null),null}else 2*Pt()-ve.renderingStartTime>rf&&U!==1073741824&&(T.flags|=64,at=!0,Ou(ve,!1),T.lanes=33554432);ve.isBackwards?(jt.sibling=T.child,T.child=jt):(U=ve.last,U!==null?U.sibling=jt:T.child=jt,ve.last=jt)}return ve.tail!==null?(U=ve.tail,ve.rendering=U,ve.tail=U.sibling,ve.lastEffect=T.lastEffect,ve.renderingStartTime=Pt(),U.sibling=null,T=ao.current,ls(ao,at?T&1|2:T&1),U):null;case 23:case 24:return Sa(),g!==null&&g.memoizedState!==null!=(T.memoizedState!==null)&&ve.mode!=="unstable-defer-without-hiding"&&(T.flags|=4),null}throw Error(c(156,T.tag))}function Jc(g){switch(g.tag){case 1:rn(g.type)&&xr();var T=g.flags;return T&4096?(g.flags=T&-4097|64,g):null;case 3:if(Wl(),Ta(ge),Ta(La),Vc(),T=g.flags,T&64)throw Error(c(285));return g.flags=T&-4097|64,g;case 5:return oc(g),null;case 13:return Ta(ao),T=g.flags,T&4096?(g.flags=T&-4097|64,g):null;case 19:return Ta(ao),null;case 4:return Wl(),null;case 10:return Ds(g),null;case 23:case 24:return Sa(),null;default:return null}}function Zo(g,T){try{var U="",ve=T;do U+=Zt(ve),ve=ve.return;while(ve);var Oe=U}catch(at){Oe=`
Error generating stack: `+at.message+`
`+at.stack}return{value:g,source:T,stack:Oe}}function Rl(g,T){try{console.error(T.value)}catch(U){setTimeout(function(){throw U})}}var kc=typeof WeakMap=="function"?WeakMap:Map;function pc(g,T,U){U=Io(-1,U),U.tag=3,U.payload={element:null};var ve=T.value;return U.callback=function(){Sl||(Sl=!0,Bc=ve),Rl(g,T)},U}function _c(g,T,U){U=Io(-1,U),U.tag=3;var ve=g.type.getDerivedStateFromError;if(typeof ve=="function"){var Oe=T.value;U.payload=function(){return Rl(g,T),ve(Oe)}}var at=g.stateNode;return at!==null&&typeof at.componentDidCatch=="function"&&(U.callback=function(){typeof ve!="function"&&(nu===null?nu=new Set([this]):nu.add(this),Rl(g,T));var jt=T.stack;this.componentDidCatch(T.value,{componentStack:jt!==null?jt:""})}),U}var mc=typeof WeakSet=="function"?WeakSet:Set;function vc(g){var T=g.ref;if(T!==null)if(typeof T=="function")try{T(null)}catch(U){Qu(g,U)}else T.current=null}function Rf(g,T){switch(T.tag){case 0:case 11:case 15:case 22:return;case 1:if(T.flags&256&&g!==null){var U=g.memoizedProps,ve=g.memoizedState;g=T.stateNode,T=g.getSnapshotBeforeUpdate(T.elementType===T.type?U:ti(T.type,U),ve),g.__reactInternalSnapshotBeforeUpdate=T}return;case 3:T.flags&256&&Ii(T.stateNode.containerInfo);return;case 5:case 6:case 4:case 17:return}throw Error(c(163))}function Rc(g,T,U){switch(U.tag){case 0:case 11:case 15:case 22:if(T=U.updateQueue,T=T!==null?T.lastEffect:null,T!==null){g=T=T.next;do{if((g.tag&3)===3){var ve=g.create;g.destroy=ve()}g=g.next}while(g!==T)}if(T=U.updateQueue,T=T!==null?T.lastEffect:null,T!==null){g=T=T.next;do{var Oe=g;ve=Oe.next,Oe=Oe.tag,Oe&4&&Oe&1&&(af(U,g),Lf(U,g)),g=ve}while(g!==T)}return;case 1:g=U.stateNode,U.flags&4&&(T===null?g.componentDidMount():(ve=U.elementType===U.type?T.memoizedProps:ti(U.type,T.memoizedProps),g.componentDidUpdate(ve,T.memoizedState,g.__reactInternalSnapshotBeforeUpdate))),T=U.updateQueue,T!==null&&Vo(U,T,g);return;case 3:if(T=U.updateQueue,T!==null){if(g=null,U.child!==null)switch(U.child.tag){case 5:g=U.child.stateNode;break;case 1:g=U.child.stateNode}Vo(U,T,g)}return;case 5:g=U.stateNode,T===null&&U.flags&4&&ua(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&&_t(U))));return;case 19:case 17:case 20:case 21:case 23:case 24:return}throw Error(c(163))}function Xl(g,T){for(var U=g;;){if(U.tag===5){var ve=U.stateNode;if(T)ve=ve.style,typeof ve.setProperty=="function"?ve.setProperty("display","none","important"):ve.display="none";else{ve=U.stateNode;var Oe=U.memoizedProps.style;Oe=Oe!=null&&Oe.hasOwnProperty("display")?Oe.display:null,ve.style.display=ce("display",Oe)}}else if(U.tag===6)U.stateNode.nodeValue=T?"":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 Ql(g,T){if(Ln&&typeof Ln.onCommitFiberUnmount=="function")try{Ln.onCommitFiberUnmount(Un,T)}catch(at){}switch(T.tag){case 0:case 11:case 14:case 15:case 22:if(g=T.updateQueue,g!==null&&(g=g.lastEffect,g!==null)){var U=g=g.next;do{var ve=U,Oe=ve.destroy;if(ve=ve.tag,Oe!==void 0)if(ve&4)af(T,U);else{ve=T;try{Oe()}catch(at){Qu(ve,at)}}U=U.next}while(U!==g)}break;case 1:if(vc(T),g=T.stateNode,typeof g.componentWillUnmount=="function")try{g.props=T.memoizedProps,g.state=T.memoizedState,g.componentWillUnmount()}catch(at){Qu(T,at)}break;case 5:vc(T);break;case 4:Lc(g,T)}}function bf(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 ef(g){return g.tag===5||g.tag===3||g.tag===4}function il(g){e:{for(var T=g.return;T!==null;){if(ef(T))break e;T=T.return}throw Error(c(160))}var U=T;switch(T=U.stateNode,U.tag){case 5:var ve=!1;break;case 3:T=T.containerInfo,ve=!0;break;case 4:T=T.containerInfo,ve=!0;break;default:throw Error(c(161))}U.flags&16&&(Ct(T,""),U.flags&=-17);e:t:for(U=g;;){for(;U.sibling===null;){if(U.return===null||ef(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}}ve?gc(g,U,T):yc(g,U,T)}function gc(g,T,U){var ve=g.tag,Oe=ve===5||ve===6;if(Oe)g=Oe?g.stateNode:g.stateNode.instance,T?U.nodeType===8?U.parentNode.insertBefore(g,T):U.insertBefore(g,T):(U.nodeType===8?(T=U.parentNode,T.insertBefore(g,U)):(T=U,T.appendChild(g)),U=U._reactRootContainer,U!=null||T.onclick!==null||(T.onclick=ai));else if(ve!==4&&(g=g.child,g!==null))for(gc(g,T,U),g=g.sibling;g!==null;)gc(g,T,U),g=g.sibling}function yc(g,T,U){var ve=g.tag,Oe=ve===5||ve===6;if(Oe)g=Oe?g.stateNode:g.stateNode.instance,T?U.insertBefore(g,T):U.appendChild(g);else if(ve!==4&&(g=g.child,g!==null))for(yc(g,T,U),g=g.sibling;g!==null;)yc(g,T,U),g=g.sibling}function Lc(g,T){for(var U=T,ve=!1,Oe,at;;){if(!ve){ve=U.return;e:for(;;){if(ve===null)throw Error(c(160));switch(Oe=ve.stateNode,ve.tag){case 5:at=!1;break e;case 3:Oe=Oe.containerInfo,at=!0;break e;case 4:Oe=Oe.containerInfo,at=!0;break e}ve=ve.return}ve=!0}if(U.tag===5||U.tag===6){e:for(var jt=g,sr=U,Or=sr;;)if(Ql(jt,Or),Or.child!==null&&Or.tag!==4)Or.child.return=Or,Or=Or.child;else{if(Or===sr)break e;for(;Or.sibling===null;){if(Or.return===null||Or.return===sr)break e;Or=Or.return}Or.sibling.return=Or.return,Or=Or.sibling}at?(jt=Oe,sr=U.stateNode,jt.nodeType===8?jt.parentNode.removeChild(sr):jt.removeChild(sr)):Oe.removeChild(U.stateNode)}else if(U.tag===4){if(U.child!==null){Oe=U.stateNode.containerInfo,at=!0,U.child.return=U,U=U.child;continue}}else if(Ql(g,U),U.child!==null){U.child.return=U,U=U.child;continue}if(U===T)break;for(;U.sibling===null;){if(U.return===null||U.return===T)return;U=U.return,U.tag===4&&(ve=!1)}U.sibling.return=U.return,U=U.sibling}}function Mc(g,T){switch(T.tag){case 0:case 11:case 14:case 15:case 22:var U=T.updateQueue;if(U=U!==null?U.lastEffect:null,U!==null){var ve=U=U.next;do(ve.tag&3)===3&&(g=ve.destroy,ve.destroy=void 0,g!==void 0&&g()),ve=ve.next;while(ve!==U)}return;case 1:return;case 5:if(U=T.stateNode,U!=null){ve=T.memoizedProps;var Oe=g!==null?g.memoizedProps:ve;g=T.type;var at=T.updateQueue;if(T.updateQueue=null,at!==null){for(U[ba]=ve,g==="input"&&ve.type==="radio"&&ve.name!=null&&Ne(U,ve),ct(g,Oe),T=ct(g,ve),Oe=0;Oe<at.length;Oe+=2){var jt=at[Oe],sr=at[Oe+1];jt==="style"?pe(U,sr):jt==="dangerouslySetInnerHTML"?Ht(U,sr):jt==="children"?Ct(U,sr):B(U,jt,sr,T)}switch(g){case"input":xe(U,ve);break;case"textarea":qt(U,ve);break;case"select":g=U._wrapperState.wasMultiple,U._wrapperState.wasMultiple=!!ve.multiple,at=ve.value,at!=null?dt(U,!!ve.multiple,at,!1):g!==!!ve.multiple&&(ve.defaultValue!=null?dt(U,!!ve.multiple,ve.defaultValue,!0):dt(U,!!ve.multiple,ve.multiple?[]:"",!1))}}}return;case 6:if(T.stateNode===null)throw Error(c(162));T.stateNode.nodeValue=T.memoizedProps;return;case 3:U=T.stateNode,U.hydrate&&(U.hydrate=!1,_t(U.containerInfo));return;case 12:return;case 13:T.memoizedState!==null&&(Fc=Pt(),Xl(T.child,!0)),xf(T);return;case 19:xf(T);return;case 17:return;case 23:case 24:Xl(T,T.memoizedState!==null);return}throw Error(c(163))}function xf(g){var T=g.updateQueue;if(T!==null){g.updateQueue=null;var U=g.stateNode;U===null&&(U=g.stateNode=new mc),T.forEach(function(ve){var Oe=sl.bind(null,g,ve);U.has(ve)||(U.add(ve),ve.then(Oe,Oe))})}}function P(g,T){return g!==null&&(g=g.memoizedState,g===null||g.dehydrated!==null)?(T=T.memoizedState,T!==null&&T.dehydrated===null):!1}var D=Math.ceil,L=N.ReactCurrentDispatcher,me=N.ReactCurrentOwner,De=0,an=null,Vn=null,hn=0,Fi=0,cs=oo(0),Ka=0,Ho=null,ns=0,Ao=0,js=0,tf=0,ql=null,Fc=0,rf=1/0;function Vu(){rf=Pt()+500}var Si=null,Sl=!1,Bc=null,nu=null,co=!1,vs=null,vl=90,Jl=[],gl=[],Ll=null,Al=0,Ef=null,ku=-1,Ml=0,nf=0,Fl=null,wf=!1;function Ru(){return De&48?Pt():ku!==-1?ku:ku=Pt()}function Tl(g){if(g=g.mode,!(g&2))return 1;if(!(g&4))return Ut()===99?1:2;if(Ml===0&&(Ml=ns),Kn.transition!==0){nf!==0&&(nf=ql!==null?ql.pendingLanes:0),g=Ml;var T=4186112&~nf;return T&=-T,T===0&&(g=4186112&~g,T=g&-g,T===0&&(T=8192)),T}return g=Ut(),De&4&&g===98?g=dn(12,Ml):(g=wn(g),g=dn(g,Ml)),g}function ec(g,T,U){if(50<Al)throw Al=0,Ef=null,Error(c(185));if(g=Nc(g,T),g===null)return null;Ci(g,T,U),g===an&&(js|=T,Ka===4&&Eu(g,hn));var ve=Ut();T===1?De&8&&!(De&48)?Mn(g):($u(g,U),De===0&&(Vu(),cn())):(!(De&4)||ve!==98&&ve!==99||(Ll===null?Ll=new Set([g]):Ll.add(g)),$u(g,U)),ql=g}function Nc(g,T){g.lanes|=T;var U=g.alternate;for(U!==null&&(U.lanes|=T),U=g,g=g.return;g!==null;)g.childLanes|=T,U=g.alternate,U!==null&&(U.childLanes|=T),U=g,g=g.return;return U.tag===3?U.stateNode:null}function $u(g,T){for(var U=g.callbackNode,ve=g.suspendedLanes,Oe=g.pingedLanes,at=g.expirationTimes,jt=g.pendingLanes;0<jt;){var sr=31-pi(jt),Or=1<<sr,mn=at[sr];if(mn===-1){if(!(Or&ve)||Or&Oe){mn=T,Wr(Or);var Di=Pr;at[sr]=10<=Di?mn+250:6<=Di?mn+5e3:-1}}else mn<=T&&(g.expiredLanes|=Or);jt&=~Or}if(ve=fn(g,g===an?hn:0),T=Pr,ve===0)U!==null&&(U!==Z&&na(U),g.callbackNode=null,g.callbackPriority=0);else{if(U!==null){if(g.callbackPriority===T)return;U!==Z&&na(U)}T===15?(U=Mn.bind(null,g),te===null?(te=[U],he=aa(bl,An)):te.push(U),U=Z):T===14?U=Kr(99,Mn.bind(null,g)):(U=gr(T),U=Kr(U,xu.bind(null,g))),g.callbackPriority=T,g.callbackNode=U}}function xu(g){if(ku=-1,nf=Ml=0,De&48)throw Error(c(327));var T=g.callbackNode;if(tc()&&g.callbackNode!==T)return null;var U=fn(g,g===an?hn:0);if(U===0)return null;var ve=U,Oe=De;De|=16;var at=da();(an!==g||hn!==ve)&&(Vu(),xa(g,ve));do try{al();break}catch(sr){Os(g,sr)}while(!0);if(Ts(),L.current=at,De=Oe,Vn!==null?ve=0:(an=null,hn=0,ve=Ka),ns&js)xa(g,0);else if(ve!==0){if(ve===2&&(De|=64,g.hydrate&&(g.hydrate=!1,Ii(g.containerInfo)),U=un(g),U!==0&&(ve=Ms(g,U))),ve===1)throw T=Ho,xa(g,0),Eu(g,U),$u(g,Pt()),T;switch(g.finishedWork=g.current.alternate,g.finishedLanes=U,ve){case 0:case 1:throw Error(c(345));case 2:Bl(g);break;case 3:if(Eu(g,U),(U&62914560)===U&&(ve=Fc+500-Pt(),10<ve)){if(fn(g,0)!==0)break;if(Oe=g.suspendedLanes,(Oe&U)!==U){Ru(),g.pingedLanes|=g.suspendedLanes&Oe;break}g.timeoutHandle=Pi(Bl.bind(null,g),ve);break}Bl(g);break;case 4:if(Eu(g,U),(U&4186112)===U)break;for(ve=g.eventTimes,Oe=-1;0<U;){var jt=31-pi(U);at=1<<jt,jt=ve[jt],jt>Oe&&(Oe=jt),U&=~at}if(U=Oe,U=Pt()-U,U=(120>U?120:480>U?480:1080>U?1080:1920>U?1920:3e3>U?3e3:4320>U?4320:1960*D(U/1960))-U,10<U){g.timeoutHandle=Pi(Bl.bind(null,g),U);break}Bl(g);break;case 5:Bl(g);break;default:throw Error(c(329))}}return $u(g,Pt()),g.callbackNode===T?xu.bind(null,g):null}function Eu(g,T){for(T&=~tf,T&=~js,g.suspendedLanes|=T,g.pingedLanes&=~T,g=g.expirationTimes;0<T;){var U=31-pi(T),ve=1<<U;g[U]=-1,T&=~ve}}function Mn(g){if(De&48)throw Error(c(327));if(tc(),g===an&&g.expiredLanes&hn){var T=hn,U=Ms(g,T);ns&js&&(T=fn(g,T),U=Ms(g,T))}else T=fn(g,0),U=Ms(g,T);if(g.tag!==0&&U===2&&(De|=64,g.hydrate&&(g.hydrate=!1,Ii(g.containerInfo)),T=un(g),T!==0&&(U=Ms(g,T))),U===1)throw U=Ho,xa(g,0),Eu(g,T),$u(g,Pt()),U;return g.finishedWork=g.current.alternate,g.finishedLanes=T,Bl(g),$u(g,Pt()),null}function ni(){if(Ll!==null){var g=Ll;Ll=null,g.forEach(function(T){T.expiredLanes|=24&T.pendingLanes,$u(T,Pt())})}cn()}function qi(g,T){var U=De;De|=1;try{return g(T)}finally{De=U,De===0&&(Vu(),cn())}}function Ba(g,T){var U=De;De&=-2,De|=8;try{return g(T)}finally{De=U,De===0&&(Vu(),cn())}}function fa(g,T){ls(cs,Fi),Fi|=T,ns|=T}function Sa(){Fi=cs.current,Ta(cs)}function xa(g,T){g.finishedWork=null,g.finishedLanes=0;var U=g.timeoutHandle;if(U!==-1&&(g.timeoutHandle=-1,Da(U)),Vn!==null)for(U=Vn.return;U!==null;){var ve=U;switch(ve.tag){case 1:ve=ve.type.childContextTypes,ve!=null&&xr();break;case 3:Wl(),Ta(ge),Ta(La),Vc();break;case 5:oc(ve);break;case 4:Wl();break;case 13:Ta(ao);break;case 19:Ta(ao);break;case 10:Ds(ve);break;case 23:case 24:Sa()}U=U.return}an=g,Vn=Cl(g.current,null),hn=Fi=ns=T,Ka=0,Ho=null,tf=js=Ao=0}function Os(g,T){do{var U=Vn;try{if(Ts(),Dl.current=lc,Vl){for(var ve=lo.memoizedState;ve!==null;){var Oe=ve.queue;Oe!==null&&(Oe.pending=null),ve=ve.next}Vl=!1}if(Kl=0,lu=Qo=lo=null,wl=!1,me.current=null,U===null||U.return===null){Ka=1,Ho=T,Vn=null;break}e:{var at=g,jt=U.return,sr=U,Or=T;if(T=hn,sr.flags|=2048,sr.firstEffect=sr.lastEffect=null,Or!==null&&typeof Or=="object"&&typeof Or.then=="function"){var mn=Or;if(!(sr.mode&2)){var Di=sr.alternate;Di?(sr.updateQueue=Di.updateQueue,sr.memoizedState=Di.memoizedState,sr.lanes=Di.lanes):(sr.updateQueue=null,sr.memoizedState=null)}var ja=(ao.current&1)!==0,Xn=jt;do{var ma;if(ma=Xn.tag===13){var Ua=Xn.memoizedState;if(Ua!==null)ma=Ua.dehydrated!==null;else{var Ma=Xn.memoizedProps;ma=Ma.fallback===void 0?!1:Ma.unstable_avoidThisFallback!==!0?!0:!ja}}if(ma){var tn=Xn.updateQueue;if(tn===null){var $r=new Set;$r.add(mn),Xn.updateQueue=$r}else tn.add(mn);if(!(Xn.mode&2)){if(Xn.flags|=64,sr.flags|=16384,sr.flags&=-2981,sr.tag===1)if(sr.alternate===null)sr.tag=17;else{var qr=Io(-1,1);qr.tag=2,Mo(sr,qr)}sr.lanes|=1;break e}Or=void 0,sr=T;var Pn=at.pingCache;if(Pn===null?(Pn=at.pingCache=new kc,Or=new Set,Pn.set(mn,Or)):(Or=Pn.get(mn),Or===void 0&&(Or=new Set,Pn.set(mn,Or))),!Or.has(sr)){Or.add(sr);var zn=Vf.bind(null,at,mn,sr);mn.then(zn,zn)}Xn.flags|=4096,Xn.lanes=T;break e}Xn=Xn.return}while(Xn!==null);Or=Error((Mt(sr.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.`)}Ka!==5&&(Ka=2),Or=Zo(Or,sr),Xn=jt;do{switch(Xn.tag){case 3:at=Or,Xn.flags|=4096,T&=-T,Xn.lanes|=T;var Xa=pc(Xn,at,T);gu(Xn,Xa);break e;case 1:at=Or;var Gi=Xn.type,Qa=Xn.stateNode;if(!(Xn.flags&64)&&(typeof Gi.getDerivedStateFromError=="function"||Qa!==null&&typeof Qa.componentDidCatch=="function"&&(nu===null||!nu.has(Qa)))){Xn.flags|=4096,T&=-T,Xn.lanes|=T;var fs=_c(Xn,at,T);gu(Xn,fs);break e}}Xn=Xn.return}while(Xn!==null)}Xu(U)}catch(qa){T=qa,Vn===U&&U!==null&&(Vn=U=U.return);continue}break}while(!0)}function da(){var g=L.current;return L.current=lc,g===null?lc:g}function Ms(g,T){var U=De;De|=16;var ve=da();an===g&&hn===T||xa(g,T);do try{Yu();break}catch(Oe){Os(g,Oe)}while(!0);if(Ts(),De=U,L.current=ve,Vn!==null)throw Error(c(261));return an=null,hn=0,Ka}function Yu(){for(;Vn!==null;)yl(Vn)}function al(){for(;Vn!==null&&!zo();)yl(Vn)}function yl(g){var T=uf(g.alternate,g,Fi);g.memoizedProps=g.pendingProps,T===null?Xu(g):Vn=T,me.current=null}function Xu(g){var T=g;do{var U=T.alternate;if(g=T.return,T.flags&2048){if(U=Jc(T),U!==null){U.flags&=2047,Vn=U;return}g!==null&&(g.firstEffect=g.lastEffect=null,g.flags|=2048)}else{if(U=Uf(U,T,Fi),U!==null){Vn=U;return}if(U=T,U.tag!==24&&U.tag!==23||U.memoizedState===null||Fi&1073741824||!(U.mode&4)){for(var ve=0,Oe=U.child;Oe!==null;)ve|=Oe.lanes|Oe.childLanes,Oe=Oe.sibling;U.childLanes=ve}g!==null&&!(g.flags&2048)&&(g.firstEffect===null&&(g.firstEffect=T.firstEffect),T.lastEffect!==null&&(g.lastEffect!==null&&(g.lastEffect.nextEffect=T.firstEffect),g.lastEffect=T.lastEffect),1<T.flags&&(g.lastEffect!==null?g.lastEffect.nextEffect=T:g.firstEffect=T,g.lastEffect=T))}if(T=T.sibling,T!==null){Vn=T;return}Vn=T=g}while(T!==null);Ka===0&&(Ka=5)}function Bl(g){var T=Ut();return Ar(99,Kf.bind(null,g,T)),null}function Kf(g,T){do tc();while(vs!==null);if(De&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 ve=U.lanes|U.childLanes,Oe=ve,at=g.pendingLanes&~Oe;g.pendingLanes=Oe,g.suspendedLanes=0,g.pingedLanes=0,g.expiredLanes&=Oe,g.mutableReadLanes&=Oe,g.entangledLanes&=Oe,Oe=g.entanglements;for(var jt=g.eventTimes,sr=g.expirationTimes;0<at;){var Or=31-pi(at),mn=1<<Or;Oe[Or]=0,jt[Or]=-1,sr[Or]=-1,at&=~mn}if(Ll!==null&&!(ve&24)&&Ll.has(g)&&Ll.delete(g),g===an&&(Vn=an=null,hn=0),1<U.flags?U.lastEffect!==null?(U.lastEffect.nextEffect=U,ve=U.firstEffect):ve=U:ve=U.firstEffect,ve!==null){if(Oe=De,De|=32,me.current=null,gi=Ha,jt=Pa(),ps(jt)){if("selectionStart"in jt)sr={start:jt.selectionStart,end:jt.selectionEnd};else e:if(sr=(sr=jt.ownerDocument)&&sr.defaultView||window,(mn=sr.getSelection&&sr.getSelection())&&mn.rangeCount!==0){sr=mn.anchorNode,at=mn.anchorOffset,Or=mn.focusNode,mn=mn.focusOffset;try{sr.nodeType,Or.nodeType}catch(qa){sr=null;break e}var Di=0,ja=-1,Xn=-1,ma=0,Ua=0,Ma=jt,tn=null;t:for(;;){for(var $r;Ma!==sr||at!==0&&Ma.nodeType!==3||(ja=Di+at),Ma!==Or||mn!==0&&Ma.nodeType!==3||(Xn=Di+mn),Ma.nodeType===3&&(Di+=Ma.nodeValue.length),($r=Ma.firstChild)!==null;)tn=Ma,Ma=$r;for(;;){if(Ma===jt)break t;if(tn===sr&&++ma===at&&(ja=Di),tn===Or&&++Ua===mn&&(Xn=Di),($r=Ma.nextSibling)!==null)break;Ma=tn,tn=Ma.parentNode}Ma=$r}sr=ja===-1||Xn===-1?null:{start:ja,end:Xn}}else sr=null;sr=sr||{start:0,end:0}}else sr=null;Li={focusedElem:jt,selectionRange:sr},Ha=!1,Fl=null,wf=!1,Si=ve;do try{Sf()}catch(qa){if(Si===null)throw Error(c(330));Qu(Si,qa),Si=Si.nextEffect}while(Si!==null);Fl=null,Si=ve;do try{for(jt=g;Si!==null;){var qr=Si.flags;if(qr&16&&Ct(Si.stateNode,""),qr&128){var Pn=Si.alternate;if(Pn!==null){var zn=Pn.ref;zn!==null&&(typeof zn=="function"?zn(null):zn.current=null)}}switch(qr&1038){case 2:il(Si),Si.flags&=-3;break;case 6:il(Si),Si.flags&=-3,Mc(Si.alternate,Si);break;case 1024:Si.flags&=-1025;break;case 1028:Si.flags&=-1025,Mc(Si.alternate,Si);break;case 4:Mc(Si.alternate,Si);break;case 8:sr=Si,Lc(jt,sr);var Xa=sr.alternate;bf(sr),Xa!==null&&bf(Xa)}Si=Si.nextEffect}}catch(qa){if(Si===null)throw Error(c(330));Qu(Si,qa),Si=Si.nextEffect}while(Si!==null);if(zn=Li,Pn=Pa(),qr=zn.focusedElem,jt=zn.selectionRange,Pn!==qr&&qr&&qr.ownerDocument&&Xi(qr.ownerDocument.documentElement,qr)){for(jt!==null&&ps(qr)&&(Pn=jt.start,zn=jt.end,zn===void 0&&(zn=Pn),"selectionStart"in qr?(qr.selectionStart=Pn,qr.selectionEnd=Math.min(zn,qr.value.length)):(zn=(Pn=qr.ownerDocument||document)&&Pn.defaultView||window,zn.getSelection&&(zn=zn.getSelection(),sr=qr.textContent.length,Xa=Math.min(jt.start,sr),jt=jt.end===void 0?Xa:Math.min(jt.end,sr),!zn.extend&&Xa>jt&&(sr=jt,jt=Xa,Xa=sr),sr=pa(qr,Xa),at=pa(qr,jt),sr&&at&&(zn.rangeCount!==1||zn.anchorNode!==sr.node||zn.anchorOffset!==sr.offset||zn.focusNode!==at.node||zn.focusOffset!==at.offset)&&(Pn=Pn.createRange(),Pn.setStart(sr.node,sr.offset),zn.removeAllRanges(),Xa>jt?(zn.addRange(Pn),zn.extend(at.node,at.offset)):(Pn.setEnd(at.node,at.offset),zn.addRange(Pn)))))),Pn=[],zn=qr;zn=zn.parentNode;)zn.nodeType===1&&Pn.push({element:zn,left:zn.scrollLeft,top:zn.scrollTop});for(typeof qr.focus=="function"&&qr.focus(),qr=0;qr<Pn.length;qr++)zn=Pn[qr],zn.element.scrollLeft=zn.left,zn.element.scrollTop=zn.top}Ha=!!gi,Li=gi=null,g.current=U,Si=ve;do try{for(qr=g;Si!==null;){var Gi=Si.flags;if(Gi&36&&Rc(qr,Si.alternate,Si),Gi&128){Pn=void 0;var Qa=Si.ref;if(Qa!==null){var fs=Si.stateNode;switch(Si.tag){case 5:Pn=fs;break;default:Pn=fs}typeof Qa=="function"?Qa(Pn):Qa.current=Pn}}Si=Si.nextEffect}}catch(qa){if(Si===null)throw Error(c(330));Qu(Si,qa),Si=Si.nextEffect}while(Si!==null);Si=null,Y(),De=Oe}else g.current=U;if(co)co=!1,vs=g,vl=T;else for(Si=ve;Si!==null;)T=Si.nextEffect,Si.nextEffect=null,Si.flags&8&&(Gi=Si,Gi.sibling=null,Gi.stateNode=null),Si=T;if(ve=g.pendingLanes,ve===0&&(nu=null),ve===1?g===Ef?Al++:(Al=0,Ef=g):Al=0,U=U.stateNode,Ln&&typeof Ln.onCommitFiberRoot=="function")try{Ln.onCommitFiberRoot(Un,U,void 0,(U.current.flags&64)===64)}catch(qa){}if($u(g,Pt()),Sl)throw Sl=!1,g=Bc,Bc=null,g;return De&8||cn(),null}function Sf(){for(;Si!==null;){var g=Si.alternate;wf||Fl===null||(Si.flags&8?Yn(Si,Fl)&&(wf=!0):Si.tag===13&&P(g,Si)&&Yn(Si,Fl)&&(wf=!0));var T=Si.flags;T&256&&Rf(g,Si),!(T&512)||co||(co=!0,Kr(97,function(){return tc(),null})),Si=Si.nextEffect}}function tc(){if(vl!==90){var g=97<vl?97:vl;return vl=90,Ar(g,sf)}return!1}function Lf(g,T){Jl.push(T,g),co||(co=!0,Kr(97,function(){return tc(),null}))}function af(g,T){gl.push(T,g),co||(co=!0,Kr(97,function(){return tc(),null}))}function sf(){if(vs===null)return!1;var g=vs;if(vs=null,De&48)throw Error(c(331));var T=De;De|=32;var U=gl;gl=[];for(var ve=0;ve<U.length;ve+=2){var Oe=U[ve],at=U[ve+1],jt=Oe.destroy;if(Oe.destroy=void 0,typeof jt=="function")try{jt()}catch(Or){if(at===null)throw Error(c(330));Qu(at,Or)}}for(U=Jl,Jl=[],ve=0;ve<U.length;ve+=2){Oe=U[ve],at=U[ve+1];try{var sr=Oe.create;Oe.destroy=sr()}catch(Or){if(at===null)throw Error(c(330));Qu(at,Or)}}for(sr=g.current.firstEffect;sr!==null;)g=sr.nextEffect,sr.nextEffect=null,sr.flags&8&&(sr.sibling=null,sr.stateNode=null),sr=g;return De=T,cn(),!0}function of(g,T,U){T=Zo(U,T),T=pc(g,T,1),Mo(g,T),T=Ru(),g=Nc(g,1),g!==null&&(Ci(g,1,T),$u(g,T))}function Qu(g,T){if(g.tag===3)of(g,g,T);else for(var U=g.return;U!==null;){if(U.tag===3){of(U,g,T);break}else if(U.tag===1){var ve=U.stateNode;if(typeof U.type.getDerivedStateFromError=="function"||typeof ve.componentDidCatch=="function"&&(nu===null||!nu.has(ve))){g=Zo(T,g);var Oe=_c(U,g,1);if(Mo(U,Oe),Oe=Ru(),U=Nc(U,1),U!==null)Ci(U,1,Oe),$u(U,Oe);else if(typeof ve.componentDidCatch=="function"&&(nu===null||!nu.has(ve)))try{ve.componentDidCatch(T,g)}catch(at){}break}}U=U.return}}function Vf(g,T,U){var ve=g.pingCache;ve!==null&&ve.delete(T),T=Ru(),g.pingedLanes|=g.suspendedLanes&U,an===g&&(hn&U)===U&&(Ka===4||Ka===3&&(hn&62914560)===hn&&500>Pt()-Fc?xa(g,0):tf|=U),$u(g,T)}function sl(g,T){var U=g.stateNode;U!==null&&U.delete(T),T=0,T===0&&(T=g.mode,T&2?T&4?(Ml===0&&(Ml=ns),T=gn(62914560&~Ml),T===0&&(T=4194304)):T=Ut()===99?1:2:T=1),U=Ru(),g=Nc(g,T),g!==null&&(Ci(g,T,U),$u(g,U))}var uf;uf=function(g,T,U){var ve=T.lanes;if(g!==null)if(g.memoizedProps!==T.pendingProps||ge.current)Nu=!0;else if(U&ve)Nu=!!(g.flags&16384);else{switch(Nu=!1,T.tag){case 3:Gu(T),uc();break;case 5:fi(T);break;case 1:rn(T.type)&&oi(T);break;case 4:Hl(T,T.stateNode.containerInfo);break;case 10:ve=T.memoizedProps.value;var Oe=T.type._context;ls(Oi,Oe._currentValue),Oe._currentValue=ve;break;case 13:if(T.memoizedState!==null)return U&T.child.childLanes?cc(g,T,U):(ls(ao,ao.current&1),T=Du(g,T,U),T!==null?T.sibling:null);ls(ao,ao.current&1);break;case 19:if(ve=(U&T.childLanes)!==0,g.flags&64){if(ve)return nl(g,T,U);T.flags|=64}if(Oe=T.memoizedState,Oe!==null&&(Oe.rendering=null,Oe.tail=null,Oe.lastEffect=null),ls(ao,ao.current),ve)break;return null;case 23:case 24:return T.lanes=0,Wu(g,T,U)}return Du(g,T,U)}else Nu=!1;switch(T.lanes=0,T.tag){case 2:if(ve=T.type,g!==null&&(g.alternate=null,T.alternate=null,T.flags|=2),g=T.pendingProps,Oe=wr(T,La.current),ms(T,U),Oe=pf(null,T,ve,g,Oe,U),T.flags|=1,typeof Oe=="object"&&Oe!==null&&typeof Oe.render=="function"&&Oe.$$typeof===void 0){if(T.tag=1,T.memoizedState=null,T.updateQueue=null,rn(ve)){var at=!0;oi(T)}else at=!1;T.memoizedState=Oe.state!==null&&Oe.state!==void 0?Oe.state:null,xs(T);var jt=ve.getDerivedStateFromProps;typeof jt=="function"&&sc(T,ve,jt,g),Oe.updater=xl,T.stateNode=Oe,Oe._reactInternals=T,zu(T,ve,g,U),T=Ue(null,T,ve,!0,at,U)}else T.tag=0,So(null,T,Oe,U),T=T.child;return T;case 16:Oe=T.elementType;e:{switch(g!==null&&(g.alternate=null,T.alternate=null,T.flags|=2),g=T.pendingProps,at=Oe._init,Oe=at(Oe._payload),T.type=Oe,at=T.tag=lf(Oe),g=ti(Oe,g),at){case 0:T=mo(null,T,Oe,g,U);break e;case 1:T=Iu(null,T,Oe,g,U);break e;case 11:T=kl(null,T,Oe,g,U);break e;case 14:T=kf(null,T,Oe,ti(Oe.type,g),ve,U);break e}throw Error(c(306,Oe,""))}return T;case 0:return ve=T.type,Oe=T.pendingProps,Oe=T.elementType===ve?Oe:ti(ve,Oe),mo(g,T,ve,Oe,U);case 1:return ve=T.type,Oe=T.pendingProps,Oe=T.elementType===ve?Oe:ti(ve,Oe),Iu(g,T,ve,Oe,U);case 3:if(Gu(T),ve=T.updateQueue,g===null||ve===null)throw Error(c(282));if(ve=T.pendingProps,Oe=T.memoizedState,Oe=Oe!==null?Oe.element:null,pr(g,T),Ns(T,ve,null,U),ve=T.memoizedState.element,ve===Oe)uc(),T=Du(g,T,U);else{if(Oe=T.stateNode,(at=Oe.hydrate)&&(fl=yi(T.stateNode.containerInfo.firstChild),Fu=T,at=tl=!0),at){if(g=Oe.mutableSourceEagerHydrationData,g!=null)for(Oe=0;Oe<g.length;Oe+=2)at=g[Oe],at._workInProgressVersionPrimary=g[Oe+1],Il.push(at);for(U=zl(T,null,ve,U),T.child=U;U;)U.flags=U.flags&-3|1024,U=U.sibling}else So(g,T,ve,U),uc();T=T.child}return T;case 5:return fi(T),g===null&&Eo(T),ve=T.type,Oe=T.pendingProps,at=g!==null?g.memoizedProps:null,jt=Oe.children,Qi(ve,Oe)?jt=null:at!==null&&Qi(ve,at)&&(T.flags|=16),Gs(g,T),So(g,T,jt,U),T.child;case 6:return g===null&&Eo(T),null;case 13:return cc(g,T,U);case 4:return Hl(T,T.stateNode.containerInfo),ve=T.pendingProps,g===null?T.child=pu(T,null,ve,U):So(g,T,ve,U),T.child;case 11:return ve=T.type,Oe=T.pendingProps,Oe=T.elementType===ve?Oe:ti(ve,Oe),kl(g,T,ve,Oe,U);case 7:return So(g,T,T.pendingProps,U),T.child;case 8:return So(g,T,T.pendingProps.children,U),T.child;case 12:return So(g,T,T.pendingProps.children,U),T.child;case 10:e:{ve=T.type._context,Oe=T.pendingProps,jt=T.memoizedProps,at=Oe.value;var sr=T.type._context;if(ls(Oi,sr._currentValue),sr._currentValue=at,jt!==null)if(sr=jt.value,at=Wn(sr,at)?0:(typeof ve._calculateChangedBits=="function"?ve._calculateChangedBits(sr,at):1073741823)|0,at===0){if(jt.children===Oe.children&&!ge.current){T=Du(g,T,U);break e}}else for(sr=T.child,sr!==null&&(sr.return=T);sr!==null;){var Or=sr.dependencies;if(Or!==null){jt=sr.child;for(var mn=Or.firstContext;mn!==null;){if(mn.context===ve&&mn.observedBits&at){sr.tag===1&&(mn=Io(-1,U&-U),mn.tag=2,Mo(sr,mn)),sr.lanes|=U,mn=sr.alternate,mn!==null&&(mn.lanes|=U),Ls(sr.return,U),Or.lanes|=U;break}mn=mn.next}}else jt=sr.tag===10&&sr.type===T.type?null:sr.child;if(jt!==null)jt.return=sr;else for(jt=sr;jt!==null;){if(jt===T){jt=null;break}if(sr=jt.sibling,sr!==null){sr.return=jt.return,jt=sr;break}jt=jt.return}sr=jt}So(g,T,Oe.children,U),T=T.child}return T;case 9:return Oe=T.type,at=T.pendingProps,ve=at.children,ms(T,U),Oe=Oa(Oe,at.unstable_observedBits),ve=ve(Oe),T.flags|=1,So(g,T,ve,U),T.child;case 14:return Oe=T.type,at=ti(Oe,T.pendingProps),at=ti(Oe.type,at),kf(g,T,Oe,at,ve,U);case 15:return Oc(g,T,T.type,T.pendingProps,ve,U);case 17:return ve=T.type,Oe=T.pendingProps,Oe=T.elementType===ve?Oe:ti(ve,Oe),g!==null&&(g.alternate=null,T.alternate=null,T.flags|=2),T.tag=1,rn(ve)?(g=!0,oi(T)):g=!1,ms(T,U),el(T,ve,Oe),zu(T,ve,Oe,U),Ue(null,T,ve,!0,g,U);case 19:return nl(g,T,U);case 23:return Wu(g,T,U);case 24:return Wu(g,T,U)}throw Error(c(156,T.tag))};function Mf(g,T,U,ve){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=T,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=ve,this.flags=0,this.lastEffect=this.firstEffect=this.nextEffect=null,this.childLanes=this.lanes=0,this.alternate=null}function iu(g,T,U,ve){return new Mf(g,T,U,ve)}function Af(g){return g=g.prototype,!(!g||!g.isReactComponent)}function lf(g){if(typeof g=="function")return Af(g)?1:0;if(g!=null){if(g=g.$$typeof,g===q)return 11;if(g===ee)return 14}return 2}function Cl(g,T){var U=g.alternate;return U===null?(U=iu(g.tag,T,g.key,g.mode),U.elementType=g.elementType,U.type=g.type,U.stateNode=g.stateNode,U.alternate=g,g.alternate=U):(U.pendingProps=T,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,T=g.dependencies,U.dependencies=T===null?null:{lanes:T.lanes,firstContext:T.firstContext},U.sibling=g.sibling,U.index=g.index,U.ref=g.ref,U}function $c(g,T,U,ve,Oe,at){var jt=2;if(ve=g,typeof g=="function")Af(g)&&(jt=1);else if(typeof g=="string")jt=5;else e:switch(g){case H:return au(U.children,Oe,at,T);case $:jt=8,Oe|=16;break;case ae:jt=8,Oe|=1;break;case ne:return g=iu(12,U,T,Oe|8),g.elementType=ne,g.type=ne,g.lanes=at,g;case K:return g=iu(13,U,T,Oe),g.type=K,g.elementType=K,g.lanes=at,g;case se:return g=iu(19,U,T,Oe),g.elementType=se,g.lanes=at,g;case ie:return Tf(U,Oe,at,T);case _e:return g=iu(24,U,T,Oe),g.elementType=_e,g.lanes=at,g;default:if(typeof g=="object"&&g!==null)switch(g.$$typeof){case oe:jt=10;break e;case J:jt=9;break e;case q:jt=11;break e;case ee:jt=14;break e;case Q:jt=16,ve=null;break e;case le:jt=22;break e}throw Error(c(130,g==null?g:typeof g,""))}return T=iu(jt,U,T,Oe),T.elementType=g,T.type=ve,T.lanes=at,T}function au(g,T,U,ve){return g=iu(7,g,ve,T),g.lanes=U,g}function Tf(g,T,U,ve){return g=iu(23,g,ve,T),g.elementType=ie,g.lanes=U,g}function Cf(g,T,U){return g=iu(6,g,null,T),g.lanes=U,g}function cf(g,T,U){return T=iu(4,g.children!==null?g.children:[],g.key,T),T.lanes=U,T.stateNode={containerInfo:g.containerInfo,pendingChildren:null,implementation:g.implementation},T}function jc(g,T,U){this.tag=T,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=ka(0),this.expirationTimes=ka(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=ka(0),this.mutableSourceEagerHydrationData=null}function Ff(g,T,U){var ve=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:W,key:ve==null?null:""+ve,children:g,containerInfo:T,implementation:U}}function Uc(g,T,U,ve){var Oe=T.current,at=Ru(),jt=Tl(Oe);e:if(U){U=U._reactInternals;t:{if(nt(U)!==U||U.tag!==1)throw Error(c(170));var sr=U;do{switch(sr.tag){case 3:sr=sr.stateNode.context;break t;case 1:if(rn(sr.type)){sr=sr.stateNode.__reactInternalMemoizedMergedChildContext;break t}}sr=sr.return}while(sr!==null);throw Error(c(171))}if(U.tag===1){var Or=U.type;if(rn(Or)){U=On(U,Or,sr);break e}}U=sr}else U=Qs;return T.context===null?T.context=U:T.pendingContext=U,T=Io(at,jt),T.payload={element:g},ve=ve===void 0?null:ve,ve!==null&&(T.callback=ve),Mo(Oe,T),ec(Oe,jt,at),jt}function zf(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 Yf(g,T){if(g=g.memoizedState,g!==null&&g.dehydrated!==null){var U=g.retryLane;g.retryLane=U!==0&&U<T?U:T}}function Bf(g,T){Yf(g,T),(g=g.alternate)&&Yf(g,T)}function Xf(){return null}function Zf(g,T,U){var ve=U!=null&&U.hydrationOptions!=null&&U.hydrationOptions.mutableSources||null;if(U=new jc(g,T,U!=null&&U.hydrate===!0),T=iu(3,null,null,T===2?7:T===1?3:0),U.current=T,T.stateNode=U,xs(T),g[Mi]=U.current,Gt(g.nodeType===8?g.parentNode:g),ve)for(g=0;g<ve.length;g++){T=ve[g];var Oe=T._getVersion;Oe=Oe(T._source),U.mutableSourceEagerHydrationData==null?U.mutableSourceEagerHydrationData=[T,Oe]:U.mutableSourceEagerHydrationData.push(T,Oe)}this._internalRoot=U}Zf.prototype.render=function(g){Uc(g,this._internalRoot,null,null)},Zf.prototype.unmount=function(){var g=this._internalRoot,T=g.containerInfo;Uc(null,g,null,function(){T[Mi]=null})};function ff(g){return!(!g||g.nodeType!==1&&g.nodeType!==9&&g.nodeType!==11&&(g.nodeType!==8||g.nodeValue!==" react-mount-point-unstable "))}function id(g,T){if(T||(T=g?g.nodeType===9?g.documentElement:g.firstChild:null,T=!(!T||T.nodeType!==1||!T.hasAttribute("data-reactroot"))),!T)for(var U;U=g.lastChild;)g.removeChild(U);return new Zf(g,0,T?{hydrate:!0}:void 0)}function Hf(g,T,U,ve,Oe){var at=U._reactRootContainer;if(at){var jt=at._internalRoot;if(typeof Oe=="function"){var sr=Oe;Oe=function(){var mn=zf(jt);sr.call(mn)}}Uc(T,jt,g,Oe)}else{if(at=U._reactRootContainer=id(U,ve),jt=at._internalRoot,typeof Oe=="function"){var Or=Oe;Oe=function(){var mn=zf(jt);Or.call(mn)}}Ba(function(){Uc(T,jt,g,Oe)})}return zf(jt)}Jn=function(g){if(g.tag===13){var T=Ru();ec(g,4,T),Bf(g,4)}},kn=function(g){if(g.tag===13){var T=Ru();ec(g,67108864,T),Bf(g,67108864)}},Qn=function(g){if(g.tag===13){var T=Ru(),U=Tl(g);ec(g,U,T),Bf(g,U)}},ri=function(g,T){return T()},Tt=function(g,T,U){switch(T){case"input":if(xe(g,U),T=U.name,U.type==="radio"&&T!=null){for(U=g;U.parentNode;)U=U.parentNode;for(U=U.querySelectorAll("input[name="+JSON.stringify(""+T)+'][type="radio"]'),T=0;T<U.length;T++){var ve=U[T];if(ve!==g&&ve.form===g.form){var Oe=bs(ve);if(!Oe)throw Error(c(90));tt(ve),xe(ve,Oe)}}}break;case"textarea":qt(g,U);break;case"select":T=U.value,T!=null&&dt(g,!!U.multiple,T,!1)}},Bt=qi,Be=function(g,T,U,ve,Oe){var at=De;De|=4;try{return Ar(98,g.bind(null,T,U,ve,Oe))}finally{De=at,De===0&&(Vu(),cn())}},Dr=function(){!(De&49)&&(ni(),tc())},At=function(g,T){var U=De;De|=2;try{return g(T)}finally{De=U,De===0&&(Vu(),cn())}};function Nf(g,T){var U=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!ff(T))throw Error(c(200));return Ff(g,T,null,U)}var ad={Events:[us,yo,bs,Je,yt,tc,{current:!1}]},Pf={findFiberByHostInstance:os,bundleType:0,version:"17.0.2",rendererPackageName:"react-dom"},Jf={bundleType:Pf.bundleType,version:Pf.version,rendererPackageName:Pf.rendererPackageName,rendererConfig:Pf.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=Yr(g),g===null?null:g.stateNode},findFiberByHostInstance:Pf.findFiberByHostInstance||Xf,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__!="undefined"){var Wf=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Wf.isDisabled&&Wf.supportsFiber)try{Un=Wf.inject(Jf),Ln=Wf}catch(g){}}v.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=ad,v.createPortal=Nf,v.findDOMNode=function(g){if(g==null)return null;if(g.nodeType===1)return g;var T=g._reactInternals;if(T===void 0)throw typeof g.render=="function"?Error(c(188)):Error(c(268,Object.keys(g)));return g=Yr(T),g=g===null?null:g.stateNode,g},v.flushSync=function(g,T){var U=De;if(U&48)return g(T);De|=1;try{if(g)return Ar(99,g.bind(null,T))}finally{De=U,cn()}},v.hydrate=function(g,T,U){if(!ff(T))throw Error(c(200));return Hf(null,g,T,!0,U)},v.render=function(g,T,U){if(!ff(T))throw Error(c(200));return Hf(null,g,T,!1,U)},v.unmountComponentAtNode=function(g){if(!ff(g))throw Error(c(40));return g._reactRootContainer?(Ba(function(){Hf(null,null,g,!1,function(){g._reactRootContainer=null,g[Mi]=null})}),!0):!1},v.unstable_batchedUpdates=qi,v.unstable_createPortal=function(g,T){return Nf(g,T,2<arguments.length&&arguments[2]!==void 0?arguments[2]:null)},v.unstable_renderSubtreeIntoContainer=function(g,T,U,ve){if(!ff(U))throw Error(c(200));if(g==null||g._reactInternals===void 0)throw Error(c(38));return Hf(g,T,U,!1,ve)},v.version="17.0.2"},4676:function(d,v,e){"use strict";function r(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__=="undefined"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(r)}catch(i){console.error(i)}}r(),d.exports=e(23675)},12373:function(d){var v=typeof Element!="undefined",e=typeof Map=="function",r=typeof Set=="function",i=typeof ArrayBuffer=="function"&&!!ArrayBuffer.isView;function l(c,f){if(c===f)return!0;if(c&&f&&typeof c=="object"&&typeof f=="object"){if(c.constructor!==f.constructor)return!1;var o,h,u;if(Array.isArray(c)){if(o=c.length,o!=f.length)return!1;for(h=o;h--!==0;)if(!l(c[h],f[h]))return!1;return!0}var a;if(e&&c instanceof Map&&f instanceof Map){if(c.size!==f.size)return!1;for(a=c.entries();!(h=a.next()).done;)if(!f.has(h.value[0]))return!1;for(a=c.entries();!(h=a.next()).done;)if(!l(h.value[1],f.get(h.value[0])))return!1;return!0}if(r&&c instanceof Set&&f instanceof Set){if(c.size!==f.size)return!1;for(a=c.entries();!(h=a.next()).done;)if(!f.has(h.value[0]))return!1;return!0}if(i&&ArrayBuffer.isView(c)&&ArrayBuffer.isView(f)){if(o=c.length,o!=f.length)return!1;for(h=o;h--!==0;)if(c[h]!==f[h])return!1;return!0}if(c.constructor===RegExp)return c.source===f.source&&c.flags===f.flags;if(c.valueOf!==Object.prototype.valueOf&&typeof c.valueOf=="function"&&typeof f.valueOf=="function")return c.valueOf()===f.valueOf();if(c.toString!==Object.prototype.toString&&typeof c.toString=="function"&&typeof f.toString=="function")return c.toString()===f.toString();if(u=Object.keys(c),o=u.length,o!==Object.keys(f).length)return!1;for(h=o;h--!==0;)if(!Object.prototype.hasOwnProperty.call(f,u[h]))return!1;if(v&&c instanceof Element)return!1;for(h=o;h--!==0;)if(!((u[h]==="_owner"||u[h]==="__v"||u[h]==="__o")&&c.$$typeof)&&!l(c[u[h]],f[u[h]]))return!1;return!0}return c!==c&&f!==f}d.exports=function(f,o){try{return l(f,o)}catch(h){if((h.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw h}}},30508:function(d,v){"use strict";var e=typeof Symbol=="function"&&Symbol.for,r=e?Symbol.for("react.element"):60103,i=e?Symbol.for("react.portal"):60106,l=e?Symbol.for("react.fragment"):60107,c=e?Symbol.for("react.strict_mode"):60108,f=e?Symbol.for("react.profiler"):60114,o=e?Symbol.for("react.provider"):60109,h=e?Symbol.for("react.context"):60110,u=e?Symbol.for("react.async_mode"):60111,a=e?Symbol.for("react.concurrent_mode"):60111,x=e?Symbol.for("react.forward_ref"):60112,p=e?Symbol.for("react.suspense"):60113,y=e?Symbol.for("react.suspense_list"):60120,_=e?Symbol.for("react.memo"):60115,b=e?Symbol.for("react.lazy"):60116,S=e?Symbol.for("react.block"):60121,k=e?Symbol.for("react.fundamental"):60117,R=e?Symbol.for("react.responder"):60118,A=e?Symbol.for("react.scope"):60119;function I(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 I(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)||I(B)===u},v.isConcurrentMode=M,v.isContextConsumer=function(B){return I(B)===h},v.isContextProvider=function(B){return I(B)===o},v.isElement=function(B){return typeof B=="object"&&B!==null&&B.$$typeof===r},v.isForwardRef=function(B){return I(B)===x},v.isFragment=function(B){return I(B)===l},v.isLazy=function(B){return I(B)===b},v.isMemo=function(B){return I(B)===_},v.isPortal=function(B){return I(B)===i},v.isProfiler=function(B){return I(B)===f},v.isStrictMode=function(B){return I(B)===c},v.isSuspense=function(B){return I(B)===p},v.isValidElementType=function(B){return typeof B=="string"||typeof B=="function"||B===l||B===a||B===f||B===c||B===p||B===y||typeof B=="object"&&B!==null&&(B.$$typeof===b||B.$$typeof===_||B.$$typeof===o||B.$$typeof===h||B.$$typeof===x||B.$$typeof===k||B.$$typeof===R||B.$$typeof===A||B.$$typeof===S)},v.typeOf=I},99234:function(d,v,e){"use strict";d.exports=e(30508)},88172:function(d,v){"use strict";var e=Symbol.for("react.element"),r=Symbol.for("react.portal"),i=Symbol.for("react.fragment"),l=Symbol.for("react.strict_mode"),c=Symbol.for("react.profiler"),f=Symbol.for("react.provider"),o=Symbol.for("react.context"),h=Symbol.for("react.server_context"),u=Symbol.for("react.forward_ref"),a=Symbol.for("react.suspense"),x=Symbol.for("react.suspense_list"),p=Symbol.for("react.memo"),y=Symbol.for("react.lazy"),_=Symbol.for("react.offscreen"),b;b=Symbol.for("react.module.reference");function S(k){if(typeof k=="object"&&k!==null){var R=k.$$typeof;switch(R){case e:switch(k=k.type,k){case i:case c:case l:case a:case x:return k;default:switch(k=k&&k.$$typeof,k){case h:case o:case u:case y:case p:case f:return k;default:return R}}case r:return R}}}v.ContextConsumer=o,v.ContextProvider=f,v.Element=e,v.ForwardRef=u,v.Fragment=i,v.Lazy=y,v.Memo=p,v.Portal=r,v.Profiler=c,v.StrictMode=l,v.Suspense=a,v.SuspenseList=x,v.isAsyncMode=function(){return!1},v.isConcurrentMode=function(){return!1},v.isContextConsumer=function(k){return S(k)===o},v.isContextProvider=function(k){return S(k)===f},v.isElement=function(k){return typeof k=="object"&&k!==null&&k.$$typeof===e},v.isForwardRef=function(k){return S(k)===u},v.isFragment=function(k){return S(k)===i},v.isLazy=function(k){return S(k)===y},v.isMemo=function(k){return S(k)===p},v.isPortal=function(k){return S(k)===r},v.isProfiler=function(k){return S(k)===c},v.isStrictMode=function(k){return S(k)===l},v.isSuspense=function(k){return S(k)===a},v.isSuspenseList=function(k){return S(k)===x},v.isValidElementType=function(k){return typeof k=="string"||typeof k=="function"||k===i||k===c||k===l||k===a||k===x||k===_||typeof k=="object"&&k!==null&&(k.$$typeof===y||k.$$typeof===p||k.$$typeof===f||k.$$typeof===o||k.$$typeof===u||k.$$typeof===b||k.getModuleId!==void 0)},v.typeOf=S},23265:function(d,v,e){"use strict";d.exports=e(88172)},32451:function(d,v,e){"use strict";e.d(v,{lr:function(){return k},rU:function(){return _}});var r=e(59301),i=e(35338),l=e(19340);function c(){return c=Object.assign||function(A){for(var I=1;I<arguments.length;I++){var M=arguments[I];for(var B in M)Object.prototype.hasOwnProperty.call(M,B)&&(A[B]=M[B])}return A},c.apply(this,arguments)}function f(A,I){if(A==null)return{};var M={},B=Object.keys(A),N,V;for(V=0;V<B.length;V++)N=B[V],!(I.indexOf(N)>=0)&&(M[N]=A[N]);return M}const o=["onClick","reloadDocument","replace","state","target","to"],h=null;function u(A,I){if(!A){typeof console!="undefined"&&console.warn(I);try{throw new Error(I)}catch(M){}}}function a(A){let{basename:I,children:M,window:B}=A,N=useRef();N.current==null&&(N.current=createBrowserHistory({window:B}));let V=N.current,[W,H]=useState({action:V.action,location:V.location});return useLayoutEffect(()=>V.listen(H),[V]),createElement(Router,{basename:I,children:M,location:W.location,navigationType:W.action,navigator:V})}function x(A){let{basename:I,children:M,window:B}=A,N=useRef();N.current==null&&(N.current=createHashHistory({window:B}));let V=N.current,[W,H]=useState({action:V.action,location:V.location});return useLayoutEffect(()=>V.listen(H),[V]),createElement(Router,{basename:I,children:M,location:W.location,navigationType:W.action,navigator:V})}function p(A){let{basename:I,children:M,history:B}=A;const[N,V]=useState({action:B.action,location:B.location});return useLayoutEffect(()=>B.listen(V),[B]),createElement(Router,{basename:I,children:M,location:N.location,navigationType:N.action,navigator:B})}function y(A){return!!(A.metaKey||A.altKey||A.ctrlKey||A.shiftKey)}const _=(0,r.forwardRef)(function(I,M){let{onClick:B,reloadDocument:N,replace:V=!1,state:W,target:H,to:ae}=I,ne=f(I,o),oe=(0,i.oQ)(ae),J=S(ae,{replace:V,state:W,target:H});function q(K){B&&B(K),!K.defaultPrevented&&!N&&J(K)}return(0,r.createElement)("a",c({},ne,{href:oe,onClick:q,ref:M,target:H}))}),b=null;function S(A,I){let{target:M,replace:B,state:N}=I===void 0?{}:I,V=(0,i.s0)(),W=(0,i.TH)(),H=(0,i.WU)(A);return(0,r.useCallback)(ae=>{if(ae.button===0&&(!M||M==="_self")&&!y(ae)){ae.preventDefault();let ne=!!B||(0,l.Ep)(W)===(0,l.Ep)(H);V(A,{replace:ne,state:N})}},[W,V,H,B,N,M,A])}function k(A){let I=(0,r.useRef)(R(A)),M=(0,i.TH)(),B=(0,r.useMemo)(()=>{let W=R(M.search);for(let H of I.current.keys())W.has(H)||I.current.getAll(H).forEach(ae=>{W.append(H,ae)});return W},[M.search]),N=(0,i.s0)(),V=(0,r.useCallback)((W,H)=>{N("?"+R(W),H)},[N]);return[B,V]}function R(A){return A===void 0&&(A=""),new URLSearchParams(typeof A=="string"||Array.isArray(A)||A instanceof URLSearchParams?A:Object.keys(A).reduce((I,M)=>{let B=A[M];return I.concat(Array.isArray(B)?B.map(N=>[M,N]):[[M,B]])},[]))}},35338:function(d,v,e){"use strict";e.d(v,{F0:function(){return tt},Fg:function(){return je},Gn:function(){return x},TH:function(){return ie},UO:function(){return bt},V$:function(){return Zt},WU:function(){return kt},bx:function(){return $e},fp:function(){return p},j3:function(){return wt},oQ:function(){return z},s0:function(){return Pe}});var r=e(19340),i=e(59301);const l=(0,i.createContext)(null),c=(0,i.createContext)(null),f=(0,i.createContext)({outlet:null,matches:[]});function o(Ne,xe){if(!Ne)throw new Error(xe)}function h(Ne,xe){if(!Ne){typeof console!="undefined"&&console.warn(xe);try{throw new Error(xe)}catch(ke){}}}const u={};function a(Ne,xe,ke){!xe&&!u[Ne]&&(u[Ne]=!0)}function x(Ne,xe){return xe===void 0&&(xe={}),Ne.replace(/:(\w+)/g,(ke,Ge)=>(xe[Ge]==null&&o(!1),xe[Ge])).replace(/\/*\*$/,ke=>xe["*"]==null?"":xe["*"].replace(/^\/*/,"/"))}function p(Ne,xe,ke){ke===void 0&&(ke="/");let Ge=typeof xe=="string"?(0,r.cP)(xe):xe,He=K(Ge.pathname||"/",ke);if(He==null)return null;let Ye=y(Ne);_(Ye);let dt=null;for(let xt=0;dt==null&&xt<Ye.length;++xt)dt=V(Ye[xt],He);return dt}function y(Ne,xe,ke,Ge){return xe===void 0&&(xe=[]),ke===void 0&&(ke=[]),Ge===void 0&&(Ge=""),Ne.forEach((He,Ye)=>{let dt={relativePath:He.path||"",caseSensitive:He.caseSensitive===!0,childrenIndex:Ye,route:He};dt.relativePath.startsWith("/")&&(dt.relativePath.startsWith(Ge)||o(!1),dt.relativePath=dt.relativePath.slice(Ge.length));let xt=se([Ge,dt.relativePath]),nr=ke.concat(dt);He.children&&He.children.length>0&&(He.index===!0&&o(!1),y(He.children,xe,nr,xt)),!(He.path==null&&!He.index)&&xe.push({path:xt,score:B(xt,He.index),routesMeta:nr})}),xe}function _(Ne){Ne.sort((xe,ke)=>xe.score!==ke.score?ke.score-xe.score:N(xe.routesMeta.map(Ge=>Ge.childrenIndex),ke.routesMeta.map(Ge=>Ge.childrenIndex)))}const b=/^:\w+$/,S=3,k=2,R=1,A=10,I=-2,M=Ne=>Ne==="*";function B(Ne,xe){let ke=Ne.split("/"),Ge=ke.length;return ke.some(M)&&(Ge+=I),xe&&(Ge+=k),ke.filter(He=>!M(He)).reduce((He,Ye)=>He+(b.test(Ye)?S:Ye===""?R:A),Ge)}function N(Ne,xe){return Ne.length===xe.length&&Ne.slice(0,-1).every((Ge,He)=>Ge===xe[He])?Ne[Ne.length-1]-xe[xe.length-1]:0}function V(Ne,xe){let{routesMeta:ke}=Ne,Ge={},He="/",Ye=[];for(let dt=0;dt<ke.length;++dt){let xt=ke[dt],nr=dt===ke.length-1,qt=He==="/"?xe:xe.slice(He.length)||"/",Me=W({path:xt.relativePath,caseSensitive:xt.caseSensitive,end:nr},qt);if(!Me)return null;Object.assign(Ge,Me.params);let qe=xt.route;Ye.push({params:Ge,pathname:se([He,Me.pathname]),pathnameBase:ee(se([He,Me.pathnameBase])),route:qe}),Me.pathnameBase!=="/"&&(He=se([He,Me.pathnameBase]))}return Ye}function W(Ne,xe){typeof Ne=="string"&&(Ne={path:Ne,caseSensitive:!1,end:!0});let[ke,Ge]=H(Ne.path,Ne.caseSensitive,Ne.end),He=xe.match(ke);if(!He)return null;let Ye=He[0],dt=Ye.replace(/(.)\/+$/,"$1"),xt=He.slice(1);return{params:Ge.reduce((qt,Me,qe)=>{if(Me==="*"){let Vt=xt[qe]||"";dt=Ye.slice(0,Ye.length-Vt.length).replace(/(.)\/+$/,"$1")}return qt[Me]=ae(xt[qe]||"",Me),qt},{}),pathname:Ye,pathnameBase:dt,pattern:Ne}}function H(Ne,xe,ke){xe===void 0&&(xe=!1),ke===void 0&&(ke=!0);let Ge=[],He="^"+Ne.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^$?{}|()[\]]/g,"\\$&").replace(/:(\w+)/g,(dt,xt)=>(Ge.push(xt),"([^\\/]+)"));return Ne.endsWith("*")?(Ge.push("*"),He+=Ne==="*"||Ne==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):He+=ke?"\\/*$":"(?:(?=[.~-]|%[0-9A-F]{2})|\\b|\\/|$)",[new RegExp(He,xe?void 0:"i"),Ge]}function ae(Ne,xe){try{return decodeURIComponent(Ne)}catch(ke){return Ne}}function ne(Ne,xe){xe===void 0&&(xe="/");let{pathname:ke,search:Ge="",hash:He=""}=typeof Ne=="string"?(0,r.cP)(Ne):Ne;return{pathname:ke?ke.startsWith("/")?ke:oe(ke,xe):xe,search:Q(Ge),hash:le(He)}}function oe(Ne,xe){let ke=xe.replace(/\/+$/,"").split("/");return Ne.split("/").forEach(He=>{He===".."?ke.length>1&&ke.pop():He!=="."&&ke.push(He)}),ke.length>1?ke.join("/"):"/"}function J(Ne,xe,ke){let Ge=typeof Ne=="string"?(0,r.cP)(Ne):Ne,He=Ne===""||Ge.pathname===""?"/":Ge.pathname,Ye;if(He==null)Ye=ke;else{let xt=xe.length-1;if(He.startsWith("..")){let nr=He.split("/");for(;nr[0]==="..";)nr.shift(),xt-=1;Ge.pathname=nr.join("/")}Ye=xt>=0?xe[xt]:"/"}let dt=ne(Ge,Ye);return He&&He!=="/"&&He.endsWith("/")&&!dt.pathname.endsWith("/")&&(dt.pathname+="/"),dt}function q(Ne){return Ne===""||Ne.pathname===""?"/":typeof Ne=="string"?(0,r.cP)(Ne).pathname:Ne.pathname}function K(Ne,xe){if(xe==="/")return Ne;if(!Ne.toLowerCase().startsWith(xe.toLowerCase()))return null;let ke=Ne.charAt(xe.length);return ke&&ke!=="/"?null:Ne.slice(xe.length)||"/"}const se=Ne=>Ne.join("/").replace(/\/\/+/g,"/"),ee=Ne=>Ne.replace(/\/+$/,"").replace(/^\/*/,"/"),Q=Ne=>!Ne||Ne==="?"?"":Ne.startsWith("?")?Ne:"?"+Ne,le=Ne=>!Ne||Ne==="#"?"":Ne.startsWith("#")?Ne:"#"+Ne;function z(Ne){$()||o(!1);let{basename:xe,navigator:ke}=(0,i.useContext)(l),{hash:Ge,pathname:He,search:Ye}=kt(Ne),dt=He;if(xe!=="/"){let xt=q(Ne),nr=xt!=null&&xt.endsWith("/");dt=He==="/"?xe+(nr?"/":""):se([xe,He])}return ke.createHref({pathname:dt,search:Ye,hash:Ge})}function $(){return(0,i.useContext)(c)!=null}function ie(){return $()||o(!1),(0,i.useContext)(c).location}function _e(){return useContext(c).navigationType}function Ae(Ne){$()||o(!1);let{pathname:xe}=ie();return useMemo(()=>W(Ne,xe),[xe,Ne])}function Pe(){$()||o(!1);let{basename:Ne,navigator:xe}=(0,i.useContext)(l),{matches:ke}=(0,i.useContext)(f),{pathname:Ge}=ie(),He=JSON.stringify(ke.map(xt=>xt.pathnameBase)),Ye=(0,i.useRef)(!1);return(0,i.useEffect)(()=>{Ye.current=!0}),(0,i.useCallback)(function(xt,nr){if(nr===void 0&&(nr={}),!Ye.current)return;if(typeof xt=="number"){xe.go(xt);return}let qt=J(xt,JSON.parse(He),Ge);Ne!=="/"&&(qt.pathname=se([Ne,qt.pathname])),(nr.replace?xe.replace:xe.push)(qt,nr.state)},[Ne,xe,He,Ge])}const We=(0,i.createContext)(null);function $e(){return(0,i.useContext)(We)}function Lt(Ne){let xe=(0,i.useContext)(f).outlet;return xe&&(0,i.createElement)(We.Provider,{value:Ne},xe)}function bt(){let{matches:Ne}=(0,i.useContext)(f),xe=Ne[Ne.length-1];return xe?xe.params:{}}function kt(Ne){let{matches:xe}=(0,i.useContext)(f),{pathname:ke}=ie(),Ge=JSON.stringify(xe.map(He=>He.pathnameBase));return(0,i.useMemo)(()=>J(Ne,JSON.parse(Ge),ke),[Ne,Ge,ke])}function Zt(Ne,xe){$()||o(!1);let{matches:ke}=(0,i.useContext)(f),Ge=ke[ke.length-1],He=Ge?Ge.params:{},Ye=Ge?Ge.pathname:"/",dt=Ge?Ge.pathnameBase:"/",xt=Ge&&Ge.route,nr=ie(),qt;if(xe){var Me;let zt=typeof xe=="string"?(0,r.cP)(xe):xe;dt==="/"||(Me=zt.pathname)!=null&&Me.startsWith(dt)||o(!1),qt=zt}else qt=nr;let qe=qt.pathname||"/",Vt=dt==="/"?qe:qe.slice(dt.length)||"/",Rt=p(Ne,{pathname:Vt});return Mt(Rt&&Rt.map(zt=>Object.assign({},zt,{params:Object.assign({},He,zt.params),pathname:se([dt,zt.pathname]),pathnameBase:zt.pathnameBase==="/"?dt:se([dt,zt.pathnameBase])})),ke)}function Mt(Ne,xe){return xe===void 0&&(xe=[]),Ne==null?null:Ne.reduceRight((ke,Ge,He)=>(0,i.createElement)(f.Provider,{children:Ge.route.element!==void 0?Ge.route.element:ke,value:{outlet:ke,matches:xe.concat(Ne.slice(0,He+1))}}),null)}function tr(Ne){let{basename:xe,children:ke,initialEntries:Ge,initialIndex:He}=Ne,Ye=useRef();Ye.current==null&&(Ye.current=createMemoryHistory({initialEntries:Ge,initialIndex:He}));let dt=Ye.current,[xt,nr]=useState({action:dt.action,location:dt.location});return useLayoutEffect(()=>dt.listen(nr),[dt]),createElement(tt,{basename:xe,children:ke,location:xt.location,navigationType:xt.action,navigator:dt})}function je(Ne){let{to:xe,replace:ke,state:Ge}=Ne;$()||o(!1);let He=Pe();return(0,i.useEffect)(()=>{He(xe,{replace:ke,state:Ge})}),null}function wt(Ne){return Lt(Ne.context)}function Ft(Ne){o(!1)}function tt(Ne){let{basename:xe="/",children:ke=null,location:Ge,navigationType:He=r.aU.Pop,navigator:Ye,static:dt=!1}=Ne;$()&&o(!1);let xt=ee(xe),nr=(0,i.useMemo)(()=>({basename:xt,navigator:Ye,static:dt}),[xt,Ye,dt]);typeof Ge=="string"&&(Ge=(0,r.cP)(Ge));let{pathname:qt="/",search:Me="",hash:qe="",state:Vt=null,key:Rt="default"}=Ge,zt=(0,i.useMemo)(()=>{let Ht=K(qt,xt);return Ht==null?null:{pathname:Ht,search:Me,hash:qe,state:Vt,key:Rt}},[xt,qt,Me,qe,Vt,Rt]);return zt==null?null:(0,i.createElement)(l.Provider,{value:nr},(0,i.createElement)(c.Provider,{children:ke,value:{location:zt,navigationType:He}}))}function gt(Ne){let{children:xe,location:ke}=Ne;return Zt(ft(xe),ke)}function ft(Ne){let xe=[];return Children.forEach(Ne,ke=>{if(!isValidElement(ke))return;if(ke.type===Fragment){xe.push.apply(xe,ft(ke.props.children));return}ke.type!==Ft&&o(!1);let Ge={caseSensitive:ke.props.caseSensitive,element:ke.props.element,index:ke.props.index,path:ke.props.path};ke.props.children&&(Ge.children=ft(ke.props.children)),xe.push(Ge)}),xe}function Qe(Ne){return Mt(Ne)}},76100:function(d,v,e){"use strict";var r=e(84126),i=60103,l=60106;v.Fragment=60107,v.StrictMode=60108,v.Profiler=60114;var c=60109,f=60110,o=60112;v.Suspense=60113;var h=60115,u=60116;if(typeof Symbol=="function"&&Symbol.for){var a=Symbol.for;i=a("react.element"),l=a("react.portal"),v.Fragment=a("react.fragment"),v.StrictMode=a("react.strict_mode"),v.Profiler=a("react.profiler"),c=a("react.provider"),f=a("react.context"),o=a("react.forward_ref"),v.Suspense=a("react.suspense"),h=a("react.memo"),u=a("react.lazy")}var x=typeof Symbol=="function"&&Symbol.iterator;function p(Q){return Q===null||typeof Q!="object"?null:(Q=x&&Q[x]||Q["@@iterator"],typeof Q=="function"?Q:null)}function y(Q){for(var le="https://reactjs.org/docs/error-decoder.html?invariant="+Q,z=1;z<arguments.length;z++)le+="&args[]="+encodeURIComponent(arguments[z]);return"Minified React error #"+Q+"; visit "+le+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var _={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},b={};function S(Q,le,z){this.props=Q,this.context=le,this.refs=b,this.updater=z||_}S.prototype.isReactComponent={},S.prototype.setState=function(Q,le){if(typeof Q!="object"&&typeof Q!="function"&&Q!=null)throw Error(y(85));this.updater.enqueueSetState(this,Q,le,"setState")},S.prototype.forceUpdate=function(Q){this.updater.enqueueForceUpdate(this,Q,"forceUpdate")};function k(){}k.prototype=S.prototype;function R(Q,le,z){this.props=Q,this.context=le,this.refs=b,this.updater=z||_}var A=R.prototype=new k;A.constructor=R,r(A,S.prototype),A.isPureReactComponent=!0;var I={current:null},M=Object.prototype.hasOwnProperty,B={key:!0,ref:!0,__self:!0,__source:!0};function N(Q,le,z){var $,ie={},_e=null,Ae=null;if(le!=null)for($ in le.ref!==void 0&&(Ae=le.ref),le.key!==void 0&&(_e=""+le.key),le)M.call(le,$)&&!B.hasOwnProperty($)&&(ie[$]=le[$]);var Pe=arguments.length-2;if(Pe===1)ie.children=z;else if(1<Pe){for(var We=Array(Pe),$e=0;$e<Pe;$e++)We[$e]=arguments[$e+2];ie.children=We}if(Q&&Q.defaultProps)for($ in Pe=Q.defaultProps,Pe)ie[$]===void 0&&(ie[$]=Pe[$]);return{$$typeof:i,type:Q,key:_e,ref:Ae,props:ie,_owner:I.current}}function V(Q,le){return{$$typeof:i,type:Q.type,key:le,ref:Q.ref,props:Q.props,_owner:Q._owner}}function W(Q){return typeof Q=="object"&&Q!==null&&Q.$$typeof===i}function H(Q){var le={"=":"=0",":":"=2"};return"$"+Q.replace(/[=:]/g,function(z){return le[z]})}var ae=/\/+/g;function ne(Q,le){return typeof Q=="object"&&Q!==null&&Q.key!=null?H(""+Q.key):le.toString(36)}function oe(Q,le,z,$,ie){var _e=typeof Q;(_e==="undefined"||_e==="boolean")&&(Q=null);var Ae=!1;if(Q===null)Ae=!0;else switch(_e){case"string":case"number":Ae=!0;break;case"object":switch(Q.$$typeof){case i:case l:Ae=!0}}if(Ae)return Ae=Q,ie=ie(Ae),Q=$===""?"."+ne(Ae,0):$,Array.isArray(ie)?(z="",Q!=null&&(z=Q.replace(ae,"$&/")+"/"),oe(ie,le,z,"",function($e){return $e})):ie!=null&&(W(ie)&&(ie=V(ie,z+(!ie.key||Ae&&Ae.key===ie.key?"":(""+ie.key).replace(ae,"$&/")+"/")+Q)),le.push(ie)),1;if(Ae=0,$=$===""?".":$+":",Array.isArray(Q))for(var Pe=0;Pe<Q.length;Pe++){_e=Q[Pe];var We=$+ne(_e,Pe);Ae+=oe(_e,le,z,We,ie)}else if(We=p(Q),typeof We=="function")for(Q=We.call(Q),Pe=0;!(_e=Q.next()).done;)_e=_e.value,We=$+ne(_e,Pe++),Ae+=oe(_e,le,z,We,ie);else if(_e==="object")throw le=""+Q,Error(y(31,le==="[object Object]"?"object with keys {"+Object.keys(Q).join(", ")+"}":le));return Ae}function J(Q,le,z){if(Q==null)return Q;var $=[],ie=0;return oe(Q,$,"","",function(_e){return le.call(z,_e,ie++)}),$}function q(Q){if(Q._status===-1){var le=Q._result;le=le(),Q._status=0,Q._result=le,le.then(function(z){Q._status===0&&(z=z.default,Q._status=1,Q._result=z)},function(z){Q._status===0&&(Q._status=2,Q._result=z)})}if(Q._status===1)return Q._result;throw Q._result}var K={current:null};function se(){var Q=K.current;if(Q===null)throw Error(y(321));return Q}var ee={ReactCurrentDispatcher:K,ReactCurrentBatchConfig:{transition:0},ReactCurrentOwner:I,IsSomeRendererActing:{current:!1},assign:r};v.Children={map:J,forEach:function(Q,le,z){J(Q,function(){le.apply(this,arguments)},z)},count:function(Q){var le=0;return J(Q,function(){le++}),le},toArray:function(Q){return J(Q,function(le){return le})||[]},only:function(Q){if(!W(Q))throw Error(y(143));return Q}},v.Component=S,v.PureComponent=R,v.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=ee,v.cloneElement=function(Q,le,z){if(Q==null)throw Error(y(267,Q));var $=r({},Q.props),ie=Q.key,_e=Q.ref,Ae=Q._owner;if(le!=null){if(le.ref!==void 0&&(_e=le.ref,Ae=I.current),le.key!==void 0&&(ie=""+le.key),Q.type&&Q.type.defaultProps)var Pe=Q.type.defaultProps;for(We in le)M.call(le,We)&&!B.hasOwnProperty(We)&&($[We]=le[We]===void 0&&Pe!==void 0?Pe[We]:le[We])}var We=arguments.length-2;if(We===1)$.children=z;else if(1<We){Pe=Array(We);for(var $e=0;$e<We;$e++)Pe[$e]=arguments[$e+2];$.children=Pe}return{$$typeof:i,type:Q.type,key:ie,ref:_e,props:$,_owner:Ae}},v.createContext=function(Q,le){return le===void 0&&(le=null),Q={$$typeof:f,_calculateChangedBits:le,_currentValue:Q,_currentValue2:Q,_threadCount:0,Provider:null,Consumer:null},Q.Provider={$$typeof:c,_context:Q},Q.Consumer=Q},v.createElement=N,v.createFactory=function(Q){var le=N.bind(null,Q);return le.type=Q,le},v.createRef=function(){return{current:null}},v.forwardRef=function(Q){return{$$typeof:o,render:Q}},v.isValidElement=W,v.lazy=function(Q){return{$$typeof:u,_payload:{_status:-1,_result:Q},_init:q}},v.memo=function(Q,le){return{$$typeof:h,type:Q,compare:le===void 0?null:le}},v.useCallback=function(Q,le){return se().useCallback(Q,le)},v.useContext=function(Q,le){return se().useContext(Q,le)},v.useDebugValue=function(){},v.useEffect=function(Q,le){return se().useEffect(Q,le)},v.useImperativeHandle=function(Q,le,z){return se().useImperativeHandle(Q,le,z)},v.useLayoutEffect=function(Q,le){return se().useLayoutEffect(Q,le)},v.useMemo=function(Q,le){return se().useMemo(Q,le)},v.useReducer=function(Q,le,z){return se().useReducer(Q,le,z)},v.useRef=function(Q){return se().useRef(Q)},v.useState=function(Q){return se().useState(Q)},v.version="17.0.2"},59301:function(d,v,e){"use strict";d.exports=e(76100)},59781:function(d,v,e){"use strict";e.d(v,{DE:function(){return I},MT:function(){return y},UY:function(){return R},md:function(){return B},qC:function(){return M}});var r=e(33885);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 V=N;Object.getPrototypeOf(V)!==null;)V=Object.getPrototypeOf(V);return Object.getPrototypeOf(N)===V}function h(N){if(N===void 0)return"undefined";if(N===null)return"null";var V=typeof N;switch(V){case"boolean":case"string":case"number":case"symbol":case"function":return V}if(Array.isArray(N))return"array";if(x(N))return"date";if(a(N))return"error";var W=u(N);switch(W){case"Symbol":case"Promise":case"WeakMap":case"WeakSet":case"Map":case"Set":return W}return V.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 V=typeof N;return V}function y(N,V,W){var H;if(typeof V=="function"&&typeof W=="function"||typeof W=="function"&&typeof arguments[3]=="function")throw new Error(i(0));if(typeof V=="function"&&typeof W=="undefined"&&(W=V,V=void 0),typeof W!="undefined"){if(typeof W!="function")throw new Error(i(1));return W(y)(N,V)}if(typeof N!="function")throw new Error(i(2));var ae=N,ne=V,oe=[],J=oe,q=!1;function K(){J===oe&&(J=oe.slice())}function se(){if(q)throw new Error(i(3));return ne}function ee($){if(typeof $!="function")throw new Error(i(4));if(q)throw new Error(i(5));var ie=!0;return K(),J.push($),function(){if(ie){if(q)throw new Error(i(6));ie=!1,K();var Ae=J.indexOf($);J.splice(Ae,1),oe=null}}}function Q($){if(!o($))throw new Error(i(7));if(typeof $.type=="undefined")throw new Error(i(8));if(q)throw new Error(i(9));try{q=!0,ne=ae(ne,$)}finally{q=!1}for(var ie=oe=J,_e=0;_e<ie.length;_e++){var Ae=ie[_e];Ae()}return $}function le($){if(typeof $!="function")throw new Error(i(10));ae=$,Q({type:f.REPLACE})}function z(){var $,ie=ee;return $={subscribe:function(Ae){if(typeof Ae!="object"||Ae===null)throw new Error(i(11));function Pe(){Ae.next&&Ae.next(se())}Pe();var We=ie(Pe);return{unsubscribe:We}}},$[l]=function(){return this},$}return Q({type:f.INIT}),H={dispatch:Q,subscribe:ee,getState:se,replaceReducer:le},H[l]=z,H}var _=null;function b(N){typeof console!="undefined"&&typeof console.error=="function"&&console.error(N);try{throw new Error(N)}catch(V){}}function S(N,V,W,H){var ae=Object.keys(V),ne=W&&W.type===f.INIT?"preloadedState argument passed to createStore":"previous state received by the reducer";if(ae.length===0)return"Store does not have a valid reducer. Make sure the argument passed to combineReducers is an object whose values are reducers.";if(!o(N))return"The "+ne+' has unexpected type of "'+p(N)+'". Expected argument to be an object with the following '+('keys: "'+ae.join('", "')+'"');var oe=Object.keys(N).filter(function(J){return!V.hasOwnProperty(J)&&!H[J]});if(oe.forEach(function(J){H[J]=!0}),!(W&&W.type===f.REPLACE)&&oe.length>0)return"Unexpected "+(oe.length>1?"keys":"key")+" "+('"'+oe.join('", "')+'" found in '+ne+". ")+"Expected to find one of the known reducer keys instead: "+('"'+ae.join('", "')+'". Unexpected keys will be ignored.')}function k(N){Object.keys(N).forEach(function(V){var W=N[V],H=W(void 0,{type:f.INIT});if(typeof H=="undefined")throw new Error(i(12));if(typeof W(void 0,{type:f.PROBE_UNKNOWN_ACTION()})=="undefined")throw new Error(i(13))})}function R(N){for(var V=Object.keys(N),W={},H=0;H<V.length;H++){var ae=V[H];typeof N[ae]=="function"&&(W[ae]=N[ae])}var ne=Object.keys(W),oe,J;try{k(W)}catch(q){J=q}return function(K,se){if(K===void 0&&(K={}),J)throw J;if(0)var ee;for(var Q=!1,le={},z=0;z<ne.length;z++){var $=ne[z],ie=W[$],_e=K[$],Ae=ie(_e,se);if(typeof Ae=="undefined"){var Pe=se&&se.type;throw new Error(i(14))}le[$]=Ae,Q=Q||Ae!==_e}return Q=Q||ne.length!==Object.keys(K).length,Q?le:K}}function A(N,V){return function(){return V(N.apply(this,arguments))}}function I(N,V){if(typeof N=="function")return A(N,V);if(typeof N!="object"||N===null)throw new Error(i(16));var W={};for(var H in N){var ae=N[H];typeof ae=="function"&&(W[H]=A(ae,V))}return W}function M(){for(var N=arguments.length,V=new Array(N),W=0;W<N;W++)V[W]=arguments[W];return V.length===0?function(H){return H}:V.length===1?V[0]:V.reduce(function(H,ae){return function(){return H(ae.apply(void 0,arguments))}})}function B(){for(var N=arguments.length,V=new Array(N),W=0;W<N;W++)V[W]=arguments[W];return function(H){return function(){var ae=H.apply(void 0,arguments),ne=function(){throw new Error(i(15))},oe={getState:ae.getState,dispatch:function(){return ne.apply(void 0,arguments)}},J=V.map(function(q){return q(oe)});return ne=M.apply(void 0,J)(ae.dispatch),(0,r.Z)((0,r.Z)({},ae),{},{dispatch:ne})}}}},58246:function(d){var v=function(e){"use strict";var r=Object.prototype,i=r.hasOwnProperty,l=Object.defineProperty||function(ee,Q,le){ee[Q]=le.value},c,f=typeof Symbol=="function"?Symbol:{},o=f.iterator||"@@iterator",h=f.asyncIterator||"@@asyncIterator",u=f.toStringTag||"@@toStringTag";function a(ee,Q,le){return Object.defineProperty(ee,Q,{value:le,enumerable:!0,configurable:!0,writable:!0}),ee[Q]}try{a({},"")}catch(ee){a=function(Q,le,z){return Q[le]=z}}function x(ee,Q,le,z){var $=Q&&Q.prototype instanceof R?Q:R,ie=Object.create($.prototype),_e=new q(z||[]);return l(ie,"_invoke",{value:ae(ee,le,_e)}),ie}e.wrap=x;function p(ee,Q,le){try{return{type:"normal",arg:ee.call(Q,le)}}catch(z){return{type:"throw",arg:z}}}var y="suspendedStart",_="suspendedYield",b="executing",S="completed",k={};function R(){}function A(){}function I(){}var M={};a(M,o,function(){return this});var B=Object.getPrototypeOf,N=B&&B(B(K([])));N&&N!==r&&i.call(N,o)&&(M=N);var V=I.prototype=R.prototype=Object.create(M);A.prototype=I,l(V,"constructor",{value:I,configurable:!0}),l(I,"constructor",{value:A,configurable:!0}),A.displayName=a(I,u,"GeneratorFunction");function W(ee){["next","throw","return"].forEach(function(Q){a(ee,Q,function(le){return this._invoke(Q,le)})})}e.isGeneratorFunction=function(ee){var Q=typeof ee=="function"&&ee.constructor;return Q?Q===A||(Q.displayName||Q.name)==="GeneratorFunction":!1},e.mark=function(ee){return Object.setPrototypeOf?Object.setPrototypeOf(ee,I):(ee.__proto__=I,a(ee,u,"GeneratorFunction")),ee.prototype=Object.create(V),ee},e.awrap=function(ee){return{__await:ee}};function H(ee,Q){function le(ie,_e,Ae,Pe){var We=p(ee[ie],ee,_e);if(We.type==="throw")Pe(We.arg);else{var $e=We.arg,Lt=$e.value;return Lt&&typeof Lt=="object"&&i.call(Lt,"__await")?Q.resolve(Lt.__await).then(function(bt){le("next",bt,Ae,Pe)},function(bt){le("throw",bt,Ae,Pe)}):Q.resolve(Lt).then(function(bt){$e.value=bt,Ae($e)},function(bt){return le("throw",bt,Ae,Pe)})}}var z;function $(ie,_e){function Ae(){return new Q(function(Pe,We){le(ie,_e,Pe,We)})}return z=z?z.then(Ae,Ae):Ae()}l(this,"_invoke",{value:$})}W(H.prototype),a(H.prototype,h,function(){return this}),e.AsyncIterator=H,e.async=function(ee,Q,le,z,$){$===void 0&&($=Promise);var ie=new H(x(ee,Q,le,z),$);return e.isGeneratorFunction(Q)?ie:ie.next().then(function(_e){return _e.done?_e.value:ie.next()})};function ae(ee,Q,le){var z=y;return function(ie,_e){if(z===b)throw new Error("Generator is already running");if(z===S){if(ie==="throw")throw _e;return se()}for(le.method=ie,le.arg=_e;;){var Ae=le.delegate;if(Ae){var Pe=ne(Ae,le);if(Pe){if(Pe===k)continue;return Pe}}if(le.method==="next")le.sent=le._sent=le.arg;else if(le.method==="throw"){if(z===y)throw z=S,le.arg;le.dispatchException(le.arg)}else le.method==="return"&&le.abrupt("return",le.arg);z=b;var We=p(ee,Q,le);if(We.type==="normal"){if(z=le.done?S:_,We.arg===k)continue;return{value:We.arg,done:le.done}}else We.type==="throw"&&(z=S,le.method="throw",le.arg=We.arg)}}}function ne(ee,Q){var le=Q.method,z=ee.iterator[le];if(z===c)return Q.delegate=null,le==="throw"&&ee.iterator.return&&(Q.method="return",Q.arg=c,ne(ee,Q),Q.method==="throw")||le!=="return"&&(Q.method="throw",Q.arg=new TypeError("The iterator does not provide a '"+le+"' method")),k;var $=p(z,ee.iterator,Q.arg);if($.type==="throw")return Q.method="throw",Q.arg=$.arg,Q.delegate=null,k;var ie=$.arg;if(!ie)return Q.method="throw",Q.arg=new TypeError("iterator result is not an object"),Q.delegate=null,k;if(ie.done)Q[ee.resultName]=ie.value,Q.next=ee.nextLoc,Q.method!=="return"&&(Q.method="next",Q.arg=c);else return ie;return Q.delegate=null,k}W(V),a(V,u,"Generator"),a(V,o,function(){return this}),a(V,"toString",function(){return"[object Generator]"});function oe(ee){var Q={tryLoc:ee[0]};1 in ee&&(Q.catchLoc=ee[1]),2 in ee&&(Q.finallyLoc=ee[2],Q.afterLoc=ee[3]),this.tryEntries.push(Q)}function J(ee){var Q=ee.completion||{};Q.type="normal",delete Q.arg,ee.completion=Q}function q(ee){this.tryEntries=[{tryLoc:"root"}],ee.forEach(oe,this),this.reset(!0)}e.keys=function(ee){var Q=Object(ee),le=[];for(var z in Q)le.push(z);return le.reverse(),function $(){for(;le.length;){var ie=le.pop();if(ie in Q)return $.value=ie,$.done=!1,$}return $.done=!0,$}};function K(ee){if(ee){var Q=ee[o];if(Q)return Q.call(ee);if(typeof ee.next=="function")return ee;if(!isNaN(ee.length)){var le=-1,z=function $(){for(;++le<ee.length;)if(i.call(ee,le))return $.value=ee[le],$.done=!1,$;return $.value=c,$.done=!0,$};return z.next=z}}return{next:se}}e.values=K;function se(){return{value:c,done:!0}}return q.prototype={constructor:q,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(J),!ee)for(var Q in this)Q.charAt(0)==="t"&&i.call(this,Q)&&!isNaN(+Q.slice(1))&&(this[Q]=c)},stop:function(){this.done=!0;var ee=this.tryEntries[0],Q=ee.completion;if(Q.type==="throw")throw Q.arg;return this.rval},dispatchException:function(ee){if(this.done)throw ee;var Q=this;function le(Pe,We){return ie.type="throw",ie.arg=ee,Q.next=Pe,We&&(Q.method="next",Q.arg=c),!!We}for(var z=this.tryEntries.length-1;z>=0;--z){var $=this.tryEntries[z],ie=$.completion;if($.tryLoc==="root")return le("end");if($.tryLoc<=this.prev){var _e=i.call($,"catchLoc"),Ae=i.call($,"finallyLoc");if(_e&&Ae){if(this.prev<$.catchLoc)return le($.catchLoc,!0);if(this.prev<$.finallyLoc)return le($.finallyLoc)}else if(_e){if(this.prev<$.catchLoc)return le($.catchLoc,!0)}else if(Ae){if(this.prev<$.finallyLoc)return le($.finallyLoc)}else throw new Error("try statement without catch or finally")}}},abrupt:function(ee,Q){for(var le=this.tryEntries.length-1;le>=0;--le){var z=this.tryEntries[le];if(z.tryLoc<=this.prev&&i.call(z,"finallyLoc")&&this.prev<z.finallyLoc){var $=z;break}}$&&(ee==="break"||ee==="continue")&&$.tryLoc<=Q&&Q<=$.finallyLoc&&($=null);var ie=$?$.completion:{};return ie.type=ee,ie.arg=Q,$?(this.method="next",this.next=$.finallyLoc,k):this.complete(ie)},complete:function(ee,Q){if(ee.type==="throw")throw ee.arg;return ee.type==="break"||ee.type==="continue"?this.next=ee.arg:ee.type==="return"?(this.rval=this.arg=ee.arg,this.method="return",this.next="end"):ee.type==="normal"&&Q&&(this.next=Q),k},finish:function(ee){for(var Q=this.tryEntries.length-1;Q>=0;--Q){var le=this.tryEntries[Q];if(le.finallyLoc===ee)return this.complete(le.completion,le.afterLoc),J(le),k}},catch:function(ee){for(var Q=this.tryEntries.length-1;Q>=0;--Q){var le=this.tryEntries[Q];if(le.tryLoc===ee){var z=le.completion;if(z.type==="throw"){var $=z.arg;J(le)}return $}}throw new Error("illegal catch attempt")},delegateYield:function(ee,Q,le){return this.delegate={iterator:K(ee),resultName:Q,nextLoc:le},this.method==="next"&&(this.arg=c),k}},e}(d.exports);try{regeneratorRuntime=v}catch(e){typeof globalThis=="object"?globalThis.regeneratorRuntime=v:Function("r","regeneratorRuntime = r")(v)}},76374:function(d,v,e){"use strict";var r=function(){if(typeof Map!="undefined")return Map;function q(K,se){var ee=-1;return K.some(function(Q,le){return Q[0]===se?(ee=le,!0):!1}),ee}return function(){function K(){this.__entries__=[]}return Object.defineProperty(K.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),K.prototype.get=function(se){var ee=q(this.__entries__,se),Q=this.__entries__[ee];return Q&&Q[1]},K.prototype.set=function(se,ee){var Q=q(this.__entries__,se);~Q?this.__entries__[Q][1]=ee:this.__entries__.push([se,ee])},K.prototype.delete=function(se){var ee=this.__entries__,Q=q(ee,se);~Q&&ee.splice(Q,1)},K.prototype.has=function(se){return!!~q(this.__entries__,se)},K.prototype.clear=function(){this.__entries__.splice(0)},K.prototype.forEach=function(se,ee){ee===void 0&&(ee=null);for(var Q=0,le=this.__entries__;Q<le.length;Q++){var z=le[Q];se.call(ee,z[1],z[0])}},K}()}(),i=typeof window!="undefined"&&typeof document!="undefined"&&window.document===document,l=function(){return typeof e.g!="undefined"&&e.g.Math===Math?e.g:typeof self!="undefined"&&self.Math===Math?self:typeof window!="undefined"&&window.Math===Math?window:Function("return this")()}(),c=function(){return typeof requestAnimationFrame=="function"?requestAnimationFrame.bind(l):function(q){return setTimeout(function(){return q(Date.now())},1e3/60)}}(),f=2;function o(q,K){var se=!1,ee=!1,Q=0;function le(){se&&(se=!1,q()),ee&&$()}function z(){c(le)}function $(){var ie=Date.now();if(se){if(ie-Q<f)return;ee=!0}else se=!0,ee=!1,setTimeout(z,K);Q=ie}return $}var h=20,u=["top","right","bottom","left","width","height","size","weight"],a=typeof MutationObserver!="undefined",x=function(){function q(){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 q.prototype.addObserver=function(K){~this.observers_.indexOf(K)||this.observers_.push(K),this.connected_||this.connect_()},q.prototype.removeObserver=function(K){var se=this.observers_,ee=se.indexOf(K);~ee&&se.splice(ee,1),!se.length&&this.connected_&&this.disconnect_()},q.prototype.refresh=function(){var K=this.updateObservers_();K&&this.refresh()},q.prototype.updateObservers_=function(){var K=this.observers_.filter(function(se){return se.gatherActive(),se.hasActive()});return K.forEach(function(se){return se.broadcastActive()}),K.length>0},q.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)},q.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)},q.prototype.onTransitionEnd_=function(K){var se=K.propertyName,ee=se===void 0?"":se,Q=u.some(function(le){return!!~ee.indexOf(le)});Q&&this.refresh()},q.getInstance=function(){return this.instance_||(this.instance_=new q),this.instance_},q.instance_=null,q}(),p=function(q,K){for(var se=0,ee=Object.keys(K);se<ee.length;se++){var Q=ee[se];Object.defineProperty(q,Q,{value:K[Q],enumerable:!1,writable:!1,configurable:!0})}return q},y=function(q){var K=q&&q.ownerDocument&&q.ownerDocument.defaultView;return K||l},_=V(0,0,0,0);function b(q){return parseFloat(q)||0}function S(q){for(var K=[],se=1;se<arguments.length;se++)K[se-1]=arguments[se];return K.reduce(function(ee,Q){var le=q["border-"+Q+"-width"];return ee+b(le)},0)}function k(q){for(var K=["top","right","bottom","left"],se={},ee=0,Q=K;ee<Q.length;ee++){var le=Q[ee],z=q["padding-"+le];se[le]=b(z)}return se}function R(q){var K=q.getBBox();return V(0,0,K.width,K.height)}function A(q){var K=q.clientWidth,se=q.clientHeight;if(!K&&!se)return _;var ee=y(q).getComputedStyle(q),Q=k(ee),le=Q.left+Q.right,z=Q.top+Q.bottom,$=b(ee.width),ie=b(ee.height);if(ee.boxSizing==="border-box"&&(Math.round($+le)!==K&&($-=S(ee,"left","right")+le),Math.round(ie+z)!==se&&(ie-=S(ee,"top","bottom")+z)),!M(q)){var _e=Math.round($+le)-K,Ae=Math.round(ie+z)-se;Math.abs(_e)!==1&&($-=_e),Math.abs(Ae)!==1&&(ie-=Ae)}return V(Q.left,Q.top,$,ie)}var I=function(){return typeof SVGGraphicsElement!="undefined"?function(q){return q instanceof y(q).SVGGraphicsElement}:function(q){return q instanceof y(q).SVGElement&&typeof q.getBBox=="function"}}();function M(q){return q===y(q).document.documentElement}function B(q){return i?I(q)?R(q):A(q):_}function N(q){var K=q.x,se=q.y,ee=q.width,Q=q.height,le=typeof DOMRectReadOnly!="undefined"?DOMRectReadOnly:Object,z=Object.create(le.prototype);return p(z,{x:K,y:se,width:ee,height:Q,top:se,right:K+ee,bottom:Q+se,left:K}),z}function V(q,K,se,ee){return{x:q,y:K,width:se,height:ee}}var W=function(){function q(K){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=V(0,0,0,0),this.target=K}return q.prototype.isActive=function(){var K=B(this.target);return this.contentRect_=K,K.width!==this.broadcastWidth||K.height!==this.broadcastHeight},q.prototype.broadcastRect=function(){var K=this.contentRect_;return this.broadcastWidth=K.width,this.broadcastHeight=K.height,K},q}(),H=function(){function q(K,se){var ee=N(se);p(this,{target:K,contentRect:ee})}return q}(),ae=function(){function q(K,se,ee){if(this.activeObservations_=[],this.observations_=new r,typeof K!="function")throw new TypeError("The callback provided as parameter 1 is not a function.");this.callback_=K,this.controller_=se,this.callbackCtx_=ee}return q.prototype.observe=function(K){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if(!(typeof Element=="undefined"||!(Element instanceof Object))){if(!(K instanceof y(K).Element))throw new TypeError('parameter 1 is not of type "Element".');var se=this.observations_;se.has(K)||(se.set(K,new W(K)),this.controller_.addObserver(this),this.controller_.refresh())}},q.prototype.unobserve=function(K){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if(!(typeof Element=="undefined"||!(Element instanceof Object))){if(!(K instanceof y(K).Element))throw new TypeError('parameter 1 is not of type "Element".');var se=this.observations_;se.has(K)&&(se.delete(K),se.size||this.controller_.removeObserver(this))}},q.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},q.prototype.gatherActive=function(){var K=this;this.clearActive(),this.observations_.forEach(function(se){se.isActive()&&K.activeObservations_.push(se)})},q.prototype.broadcastActive=function(){if(this.hasActive()){var K=this.callbackCtx_,se=this.activeObservations_.map(function(ee){return new H(ee.target,ee.broadcastRect())});this.callback_.call(K,se,K),this.clearActive()}},q.prototype.clearActive=function(){this.activeObservations_.splice(0)},q.prototype.hasActive=function(){return this.activeObservations_.length>0},q}(),ne=typeof WeakMap!="undefined"?new WeakMap:new r,oe=function(){function q(K){if(!(this instanceof q))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var se=x.getInstance(),ee=new ae(K,se,this);ne.set(this,ee)}return q}();["observe","unobserve","disconnect"].forEach(function(q){oe.prototype[q]=function(){var K;return(K=ne.get(this))[q].apply(K,arguments)}});var J=function(){return typeof l.ResizeObserver!="undefined"?l.ResizeObserver:oe}();v.Z=J},74284:function(d,v){"use strict";var e,r,i,l;if(typeof performance=="object"&&typeof performance.now=="function"){var c=performance;v.unstable_now=function(){return c.now()}}else{var f=Date,o=f.now();v.unstable_now=function(){return f.now()-o}}if(typeof window=="undefined"||typeof MessageChannel!="function"){var h=null,u=null,a=function(){if(h!==null)try{var z=v.unstable_now();h(!0,z),h=null}catch($){throw setTimeout(a,0),$}};e=function(z){h!==null?setTimeout(e,0,z):(h=z,setTimeout(a,0))},r=function(z,$){u=setTimeout(z,$)},i=function(){clearTimeout(u)},v.unstable_shouldYield=function(){return!1},l=v.unstable_forceFrameRate=function(){}}else{var x=window.setTimeout,p=window.clearTimeout;if(typeof console!="undefined"){var y=window.cancelAnimationFrame;typeof window.requestAnimationFrame!="function"&&console.error("This browser doesn't support requestAnimationFrame. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills"),typeof y!="function"&&console.error("This browser doesn't support cancelAnimationFrame. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills")}var _=!1,b=null,S=-1,k=5,R=0;v.unstable_shouldYield=function(){return v.unstable_now()>=R},l=function(){},v.unstable_forceFrameRate=function(z){0>z||125<z?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):k=0<z?Math.floor(1e3/z):5};var A=new MessageChannel,I=A.port2;A.port1.onmessage=function(){if(b!==null){var z=v.unstable_now();R=z+k;try{b(!0,z)?I.postMessage(null):(_=!1,b=null)}catch($){throw I.postMessage(null),$}}else _=!1},e=function(z){b=z,_||(_=!0,I.postMessage(null))},r=function(z,$){S=x(function(){z(v.unstable_now())},$)},i=function(){p(S),S=-1}}function M(z,$){var ie=z.length;z.push($);e:for(;;){var _e=ie-1>>>1,Ae=z[_e];if(Ae!==void 0&&0<V(Ae,$))z[_e]=$,z[ie]=Ae,ie=_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 ie=z.pop();if(ie!==$){z[0]=ie;e:for(var _e=0,Ae=z.length;_e<Ae;){var Pe=2*(_e+1)-1,We=z[Pe],$e=Pe+1,Lt=z[$e];if(We!==void 0&&0>V(We,ie))Lt!==void 0&&0>V(Lt,We)?(z[_e]=Lt,z[$e]=ie,_e=$e):(z[_e]=We,z[Pe]=ie,_e=Pe);else if(Lt!==void 0&&0>V(Lt,ie))z[_e]=Lt,z[$e]=ie,_e=$e;else break e}}return $}return null}function V(z,$){var ie=z.sortIndex-$.sortIndex;return ie!==0?ie:z.id-$.id}var W=[],H=[],ae=1,ne=null,oe=3,J=!1,q=!1,K=!1;function se(z){for(var $=B(H);$!==null;){if($.callback===null)N(H);else if($.startTime<=z)N(H),$.sortIndex=$.expirationTime,M(W,$);else break;$=B(H)}}function ee(z){if(K=!1,se(z),!q)if(B(W)!==null)q=!0,e(Q);else{var $=B(H);$!==null&&r(ee,$.startTime-z)}}function Q(z,$){q=!1,K&&(K=!1,i()),J=!0;var ie=oe;try{for(se($),ne=B(W);ne!==null&&(!(ne.expirationTime>$)||z&&!v.unstable_shouldYield());){var _e=ne.callback;if(typeof _e=="function"){ne.callback=null,oe=ne.priorityLevel;var Ae=_e(ne.expirationTime<=$);$=v.unstable_now(),typeof Ae=="function"?ne.callback=Ae:ne===B(W)&&N(W),se($)}else N(W);ne=B(W)}if(ne!==null)var Pe=!0;else{var We=B(H);We!==null&&r(ee,We.startTime-$),Pe=!1}return Pe}finally{ne=null,oe=ie,J=!1}}var le=l;v.unstable_IdlePriority=5,v.unstable_ImmediatePriority=1,v.unstable_LowPriority=4,v.unstable_NormalPriority=3,v.unstable_Profiling=null,v.unstable_UserBlockingPriority=2,v.unstable_cancelCallback=function(z){z.callback=null},v.unstable_continueExecution=function(){q||J||(q=!0,e(Q))},v.unstable_getCurrentPriorityLevel=function(){return oe},v.unstable_getFirstCallbackNode=function(){return B(W)},v.unstable_next=function(z){switch(oe){case 1:case 2:case 3:var $=3;break;default:$=oe}var ie=oe;oe=$;try{return z()}finally{oe=ie}},v.unstable_pauseExecution=function(){},v.unstable_requestPaint=le,v.unstable_runWithPriority=function(z,$){switch(z){case 1:case 2:case 3:case 4:case 5:break;default:z=3}var ie=oe;oe=z;try{return $()}finally{oe=ie}},v.unstable_scheduleCallback=function(z,$,ie){var _e=v.unstable_now();switch(typeof ie=="object"&&ie!==null?(ie=ie.delay,ie=typeof ie=="number"&&0<ie?_e+ie:_e):ie=_e,z){case 1:var Ae=-1;break;case 2:Ae=250;break;case 5:Ae=1073741823;break;case 4:Ae=1e4;break;default:Ae=5e3}return Ae=ie+Ae,z={id:ae++,callback:$,priorityLevel:z,startTime:ie,expirationTime:Ae,sortIndex:-1},ie>_e?(z.sortIndex=ie,M(H,z),B(W)===null&&z===B(H)&&(K?i():K=!0,r(ee,ie-_e))):(z.sortIndex=Ae,M(W,z),q||J||(q=!0,e(Q))),z},v.unstable_wrapCallback=function(z){var $=oe;return function(){var ie=oe;oe=$;try{return z.apply(this,arguments)}finally{oe=ie}}}},43014:function(d,v,e){"use strict";d.exports=e(74284)},18947:function(d){"use strict";function v(e,r){if(e===r)return!0;if(!e||!r)return!1;var i=Object.keys(e),l=Object.keys(r),c=i.length;if(l.length!==c)return!1;for(var f=0;f<c;f++){var o=i[f];if(e[o]!==r[o]||!Object.prototype.hasOwnProperty.call(r,o))return!1}return!0}d.exports=v},19747:function(d){d.exports=function(e,r,i,l){var c=i?i.call(l,e,r):void 0;if(c!==void 0)return!!c;if(e===r)return!0;if(typeof e!="object"||!e||typeof r!="object"||!r)return!1;var f=Object.keys(e),o=Object.keys(r);if(f.length!==o.length)return!1;for(var h=Object.prototype.hasOwnProperty.bind(r),u=0;u<f.length;u++){var a=f[u];if(!h(a))return!1;var x=e[a],p=r[a];if(c=i?i.call(l,x,p,a):void 0,c===!1||c===void 0&&x!==p)return!1}return!0}},98040:function(d){d.exports=function(){var v=document.getSelection();if(!v.rangeCount)return function(){};for(var e=document.activeElement,r=[],i=0;i<v.rangeCount;i++)r.push(v.getRangeAt(i));switch(e.tagName.toUpperCase()){case"INPUT":case"TEXTAREA":e.blur();break;default:e=null;break}return v.removeAllRanges(),function(){v.type==="Caret"&&v.removeAllRanges(),v.rangeCount||r.forEach(function(l){v.addRange(l)}),e&&e.focus()}}},797:function(d,v,e){"use strict";var r=e(54723);d.exports=function(i){if(typeof i!="function"||!hasOwnProperty.call(i,"length"))return!1;try{if(typeof i.length!="number"||typeof i.call!="function"||typeof i.apply!="function")return!1}catch(l){return!1}return!r(i)}},95562:function(d,v,e){"use strict";var r=e(57046),i={object:!0,function:!0,undefined:!0};d.exports=function(l){return r(l)?hasOwnProperty.call(i,typeof l):!1}},69574:function(d,v,e){"use strict";var r=e(797),i=/^\s*class[\s{/}]/,l=Function.prototype.toString;d.exports=function(c){return!(!r(c)||i.test(l.call(c)))}},54723:function(d,v,e){"use strict";var r=e(95562);d.exports=function(i){if(!r(i))return!1;try{return i.constructor?i.constructor.prototype===i:!1}catch(l){return!1}}},57046:function(d){"use strict";var v=void 0;d.exports=function(e){return e!==v&&e!==null}},23188:function(d,v,e){"use strict";var r=e(59301);function i(y,_){return y===_&&(y!==0||1/y===1/_)||y!==y&&_!==_}var l=typeof Object.is=="function"?Object.is:i,c=r.useState,f=r.useEffect,o=r.useLayoutEffect,h=r.useDebugValue;function u(y,_){var b=_(),S=c({inst:{value:b,getSnapshot:_}}),k=S[0].inst,R=S[1];return o(function(){k.value=b,k.getSnapshot=_,a(k)&&R({inst:k})},[y,b,_]),f(function(){return a(k)&&R({inst:k}),y(function(){a(k)&&R({inst:k})})},[y]),h(b),b}function a(y){var _=y.getSnapshot;y=y.value;try{var b=_();return!l(y,b)}catch(S){return!0}}function x(y,_){return _()}var p=typeof window=="undefined"||typeof window.document=="undefined"||typeof window.document.createElement=="undefined"?x:u;v.useSyncExternalStore=r.useSyncExternalStore!==void 0?r.useSyncExternalStore:p},35316:function(d,v,e){"use strict";var r=e(59301),i=e(44718);function l(x,p){return x===p&&(x!==0||1/x===1/p)||x!==x&&p!==p}var c=typeof Object.is=="function"?Object.is:l,f=i.useSyncExternalStore,o=r.useRef,h=r.useEffect,u=r.useMemo,a=r.useDebugValue;v.useSyncExternalStoreWithSelector=function(x,p,y,_,b){var S=o(null);if(S.current===null){var k={hasValue:!1,value:null};S.current=k}else k=S.current;S=u(function(){function A(V){if(!I){if(I=!0,M=V,V=_(V),b!==void 0&&k.hasValue){var W=k.value;if(b(W,V))return B=W}return B=V}if(W=B,c(M,V))return W;var H=_(V);return b!==void 0&&b(W,H)?(M=V,W):(M=V,B=H)}var I=!1,M,B,N=y===void 0?null:y;return[function(){return A(p())},N===null?void 0:function(){return A(N())}]},[p,y,_,b]);var R=f(x,S[0],S[1]);return h(function(){k.hasValue=!0,k.value=R},[R]),a(R),R}},44718:function(d,v,e){"use strict";d.exports=e(23188)},56805:function(d,v,e){"use strict";d.exports=e(35316)},1012:function(d,v,e){"use strict";e.d(v,{Z:function(){return y}});var r=typeof crypto!="undefined"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||typeof msCrypto!="undefined"&&typeof msCrypto.getRandomValues=="function"&&msCrypto.getRandomValues.bind(msCrypto),i=new Uint8Array(16);function l(){if(!r)throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return r(i)}var c=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i;function f(_){return typeof _=="string"&&c.test(_)}for(var o=f,h=[],u=0;u<256;++u)h.push((u+256).toString(16).substr(1));function a(_){var b=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,S=(h[_[b+0]]+h[_[b+1]]+h[_[b+2]]+h[_[b+3]]+"-"+h[_[b+4]]+h[_[b+5]]+"-"+h[_[b+6]]+h[_[b+7]]+"-"+h[_[b+8]]+h[_[b+9]]+"-"+h[_[b+10]]+h[_[b+11]]+h[_[b+12]]+h[_[b+13]]+h[_[b+14]]+h[_[b+15]]).toLowerCase();if(!o(S))throw TypeError("Stringified UUID is invalid");return S}var x=a;function p(_,b,S){_=_||{};var k=_.random||(_.rng||l)();if(k[6]=k[6]&15|64,k[8]=k[8]&63|128,b){S=S||0;for(var R=0;R<16;++R)b[S+R]=k[R];return b}return x(k)}var y=p},56754:function(d){"use strict";var v=function(){};d.exports=v},85239:function(d){"use strict";var v=!1,e=function(){};if(v){var r=function(l,c){var f=arguments.length;c=new Array(f>1?f-1:0);for(var o=1;o<f;o++)c[o-1]=arguments[o];var h=0,u="Warning: "+l.replace(/%s/g,function(){return c[h++]});typeof console!="undefined"&&console.error(u);try{throw new Error(u)}catch(a){}};e=function(i,l,c){var f=arguments.length;c=new Array(f>2?f-2:0);for(var o=2;o<f;o++)c[o-2]=arguments[o];if(l===void 0)throw new Error("`warning(condition, format, ...args)` requires a warning message argument");i||r.apply(null,[l].concat(c))}}d.exports=e},4977:function(d){"use strict";d.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMwAAACaCAYAAADl9acYAAAAAXNSR0IArs4c6QAAIABJREFUeF7tXQd4U1Ubfs/NaJtO9kzLahFQEJkiUBBFUFFkCCjiAAVFERT5FREQQQXBBcpysWRP2RtkKRsEOphNodCZdDfjnv85CU2TZt2bhABNDw9PmtzvrO+c957xLQIP0pkz1yrQIEmwwcDzHhTj91klEo7jpcG5zetWUJdmRjmPvTM9GI9JgSGvadOoLE9KJJ5kPp2YXLtZdO1kT8ooz2vigCNelvPYezPEG7z0CDAn4pJqPvJA5A3vdcl/S3LEy3Iee29OeIOX5YDx3nh4VFI5YDxin6DM5YARxKb7g6gcMHd+nMoBc+d57LKGhCQ1ZURBCoVL2nKCO8sBZWW50x1TOWDuLP8FlV4OGEFs8glROWB8wmbPKikHjGf882bucsB4k5t3qKxywNwhxrpRbJkGTOx0ehlA3d9e5VEtzA3ulGe55zmg1QOfrCVo34BgQGvr5rLDRl4RRZG+5NjBESBc4FHw1LlrCAuPsCo0JjKi7J5hYqfTXADBq4byCJLf82Nf3kA3OfD9LgKdgeCzZ4CUTJ1VKQFyKQgpmeMSjiKvQC+oplspN/wOMDcBVFv0Bo+KwYJ4VE50H3Jg7j6CWzkEX74A3MrSgTfeKZpSaBCHcAVn/JunBHlFPDR5BkG9LMjPt7mZLOtbskQADea9wqOW9coqiGHlRPcHBxYcJriQQvB9P+v2cqCwWFxgoOJk6JeTNX4HmJMAHv6xP4/6VXw/+OxNx/bM/pIohdUE9VW/VxwjOHiJYO5A6xolpGSpYW3jIW4w/A8wM+h+UHSY2pvHgzV9NXymeor0wPc7Cf7XzWJ/4Nsm+Ly2LzZx+OwZ3yuVbzhNsPEMwcI3rM8wMikHiURi5gNbbQoKrc84zpjkj2eYzQC6f96DomUd305ctrp8tp5gSk/f1utzlFhUOHYthy9f8D1gdpwnWHiEYOVQ6zNM6QM/AY+CImHnF9YtfwTMCgB9P+5G0SHa9xP3bk2gT9cBU3r6Hjp95nBYNcz3gDlwkRhX843vlfS59PmFHfjFzgC/2pJ1nEEnEIpIAG+834Wia2Ox7PJ8wt0twLz7J8Gsl3zf316zCVYPsz5oe85F1yUcu0YwcQPBjlElZyjL8wsrQeyBn+XxK8DETqefgyACFCPe6kjxfDPfT6C7BpilBLMG+L6/A34h+P1VikCZ60nuTYpzN4AxqznjCqPOMZ1RSp9f2OVLYZH1lbOrNvjVlswIGEAKYOyrj1K82NL3E+huAWbEMnbFSn1+Qzd4AcE3fajPZV6X04D3lnHGM4xOawKFJwLLYiD5H2AoCkHwJQMLA42v090CzJjVBBN7UCh8rN3AgDrqCYq6lX3L6RQ1MGQRhwWvA7UrALbnFzCJjOhG+d2WjFCkUYKZPZpSDIv1PWDGrycY34NCahI0+yxN/Ivg3c4UlUN8VqWxok/XEfRrSdG0tm/rzcoHBv7KYc5AILqqLWDcOb/45RmGEFyhFL8/0Yga33y+Tl9uJhjxOEVIoG9rnrqVKSJSRFb0fb3tG1A81sC39TLRSu85HL57Eaii0Bm3oqEKqZXSJaUURUxTU0Tyuy0ZAc5SYCUbxE+6+x4w3+0kGNiWooqP3/Qz9xB0bUTRsLqI2eEFUlbvA9WBJxv5ltdMit9jFocpLwB1InQIkBEQTmLUHStOBoMBOr24K2+/AwwPHOKArS2iKCY9VzKIg34jyMgTv6f1wpwqL8JLHKgUTLHwjZIxZTKg0V2Bzg2tLzvYBYA75xe/25J1mkEnGAzYyXE40KQmMK23uLeLN8b1j0ME7epTxFTzRmnCy/jzXyCqIny+NVryDzFeKfd+xLcrDOMMO8MMfgx45iFrOZA7AstiTvvVoZ91usM3tClHcLpeZWDmAN8DZtlRgkY1KJr5+BC87hQQLAeebCwcZN6gXH6MgG2P+rfyDmD+WLoV8xZugkIRiNh2TTHghcfRoF4tFBZpkXgpGQ81rmdu9puLOLzwMPBYPR1Cgzw/v7CC/WpLxjrc/jtaT2LApRrhwC+DfA+Y9aeI0dKzbT3vTCChk3r7eaBABzzfTGgO79CtPUmM9b7U2jv9bf3kOyjSlihLcoSg93MdkZ2Th227j2Hoq8/inTeeNzZ+xFIOsTHAsw/pAeL5+cUvAdPuG1pVRnArQgEsGex7wGw7RxAgBTo19M4EEjqtD1wEkrPYm15oDu/QbfkPSM0hHsu8du0/gSnfLkFGVrbThjFLynULJ6FOZHUw2RNbyd/qUJLFHZV+ywr9aksWO4Ou0BK8KueRz/bVq++CUuD+RGbhB3R/0LeAOZEEnFIRvPGYb+vdGw+cvU7w3uOe1dv+mfeRk5svCMUfvz8AA3o9jgkbCJQVgPe7lGTz5MDvj4f+VXs/JH1ip1PmAkHy17u8z42bjl4lxjf9C809m0CCZo4FUVwKsDPOJLz0ZTp6Fdh6jtnWe1bvuCm/4q/tRwQ1/b03e2LIwGfw1RaCkADg425AOvPkYCHZd0cG43dbsk4zaDFgWHiHcG85wjBQoEhnMhAzf5r/Jihkf9/+fjXDtDXqGA108+Eqcy0DYAfwMU95NnEFzVgLovibwK8HCab19qze61s24Pf5K7A5KwB5vHM1CblMij9m/Q87rtc1jsek54CMPIBayGD0BgP0ImUw/gwYFiqjllhHGAcvAkuPcijU8cgv0KGgSGv8LNJqweu1MOh14A3ss+S78W+Dzuo3RsPoTy0YgIjQALFz0C36tBzg570EE3p4NnHFVn5TA0zaSPDzy57Vu2bIS6jF67BDHYBHgnVI0kow+6ZjLyZNm9RD+35jkZINfNO7ZIVhEn+e16NQ6157/OqWjJ1h9n1IXoydTi8AeGD+KzxqinCEsfkswfBJC2HQacXOG7v0B+e9CGXVUK+U5aoQdm5iE3eqh296R/XoDEBu0e3/hcz3FzF+Z292trI91Zgav7N2tKrDrrfFTdgTI4dAl61BipZDDXYINRCMvBrusNvBikAMHT8LTM3/pwElK4xMAuQV6uBuKK4yA5hEVfY8SvmmHCETGyjDtzqbQLHf0KMgaCnWEcaW/whGT1mAHHZP6oW09bueaFy3khdKcl0EO+y+v4xgphs2MWxbs+K46bLCDIoi6+9iVLKY4PbTp8UB5t8h/UB53qimz1aJA9lyLExz7H1vyMCnUa15L/x9EfhtkIk/nh74y9ShPz5JnUGA26qFZIdcTofWqR5xxd5Uip1O9wDoJNYRxs4LBB9PXYxUdaHrGSqAYuWUp9GmSQ0BlN4h8cTq8qVfOGgKStpBeAoJb4DEYPrPsU89b/5e/LvEYPubLCIQX06NEtWpfwa/yA4h0FEgqVCK71OCUeTARdLLfbpg9PAXsfGsBBtOA0uHmKpyV0PZsqFl5lo5QaXWgRqNw4pTHiEYGa2M+KX0yMROpxsA9BDrCGNvAsG4GcuQdMt45eJx+nXsk3iyNbOY9k161wOry8/GqZCr1t4GBA/O3T0Nm7gSDl/89IBRHiU0nRk3CgU3knEmT4pZN51rrjI5TN2oGmCOMP44BKx7B8jINemP8ZRCK2Y5LNXAMrMlS0hSpwKw9TRGME+XHf5ekybEfPCInU7/BDBArCOMw5cIPvt+JRJUGqHj7JRu2rsd0P+JGBuanELTTVpwwO3/cnjFxNcTwMz95hquxud5pd+skIEfR6NJA+F2y6o1S3Fj4xpj/X9lBmK7OsDuChMUKMf+v36AXC4Fc4QxYwew/X0gM8/k5VKvN0BvcF9gfc8CJuGWuh4twgoQnJSBzK+nDP+3eLTsBahJSNL8DdD29kaUAFsDSU4vpVJp3FTETqdzAbwl1hHGySSCCTPX41RimlcmzthBrTCsV1Obss5cJ2hWXQupTIoiHUW+1nRYZkcn5kRbTzlIOQq5hBmimfRu2RwoeU4gl5rAFiI3Odpmb/NRK0zXu+zgKzZtWZWK/VvTxWZzSP/EK5HoEivcxsFQWIBzk8caVxmWmMT+g6thNlfMg/p1xYfv9DXSMEcYEzYAu247wnBXQ9myE/fslixRpf6FUgw2N5bgDChmk6Lw33MMqkqlg8JeVKmn8hRjHI0QIdgbiJynGWhiZ9AZoPhgaEeK50Q4wmDCvwmzt+HwGe8EcH67V1N8MshWV4UBpnlNLQID3Lcn5nkKrZ6iUEex4azEqC08di0BW1XDgsTP+2NHsrH6F+/0m9Xetns1PN9b3IWHPi8XyetXIOPoEeg1WbhYKMGK9CCoiiSoWq0SnuvWzqhLVuyoz+wI411mmi3epZI9Lt2zgElIUht9INtpdDJPMUsSGf59NCFFxc8TknI6AoZ9LqbCmj+V4X33zMAEAOMHtaXoJ0KLVpUJjJuzD3v+vSh+xtnJ0ffxaMwY0dHuCtO8pg6BAcK3LI4axCTai/4hRsBM3kww5DGK6o5vYx32S52pw9QxbEi8k6o2DMeoj2q5VVhqNnB29JsI0TP5M6Dj5Gg7dwmkpVZOsyOMtyg4joDyBhRq3d+Osbru3S2ZSp0LCmf+9ZM5CUY3qBWx3LREUy5RpbkKQOl0FAimvrksPAME08Q6wmD74DGz/8H2A/+5NdClM8U2r4VFE7rZBcwjtXQIkHsOGLbSLP7XBJhvdxD0fJiinhs+pVk5n41IBM/UFryQSHggvpxRooovpsgdFwjoD8MQri3ZIso/XYzm9a2FwDfUAFPxX/AaRYSCeCR/KW7fvQuYJE0RQF3vSQh2UQn3bsOaYXEJSZrPADrJBfP5BceCVx+4LO0r1hGG3gC8//Np/LXrmJjxdUhbv1YE9vzU22eAmbOPBRmieNCNFzvP8/jhaxVSL3vn4M9zBJN/bgSZgJsyplZ0KQ24oSZgq8vmE4V4+9hrkNIS8O5uPhbNOz+CprWpWRhd7Ahj9svMYM871rT38pbM/q2XvelHoeU4bpxBgt+Jjr8MAqfi80NXZEW/H1UEuOMIY/zCRPyxZr9XABMSJMP5pbelahYlsjNMi1p6402Pp8lyhWEhIBpVp2hdV1yp6nwgPAhYvzQF/+zOEpfZCfXgz6LRIMrxKsq0B5YcKsL6UxRFvBygelBdLjhZGMCx/RfTKWMCUGZzbAClvJEmtiGH97oEGLdhzBHGjL4UDyvLOmBUmn9AaamAay7GimAXgdErzG1RlX36k9el+PlgsPFtK9YRxtwtNzBl7havTZoLywYhuJRbSCNgauvBlAg9TQYDjyVHOeOWbOVxoEoo0Mn2JttpNZvOcmhfn0KTXoTr8TlITSnCrRSt8TMvV7gj79KVPDskCo+1tb/rZkLScavzcTlTARBrZUu+MB1coHNHZ8rQXEzvH4T+8yWY9DzQrj6QptFDzzRlPUj37JbM5pZMeCfZK5CNgsPt3PlbEny3LwSlHWEIqWLzcTWGfbFaCKkgml0zeyNaaa3QdqcAs+msSa2k+4OCmmYm2nyWQ98W9idabo4eqSla3EopMn6m3mRgKkJ6KlM6dV5Plz418ES3CjZE7Ar9w2X5UGXbv3bmC1NBAiqBEOf34zFhKlzLq40PuxK0i8qFutBzRdd7FjDx1zSDCKELxA2tmZoyyztqqc9tUdDlDAm+2hUCdxxhHIwrwOAJy5EvIkSCsz78Nq4rnmhpfU/BANOytgEydwQmpSpjQro/b68we+JNArzej4jjKouz0q+luDwGAzWCxnI1Kr0qPfpEZTzXv6pVwUzf6+MVBTiX6vi+hxoKQfUF4AJswWZZGF+UCUN2IsYMaINnbcVd4jp0m/qePcNcvJlTldcaUm5vVN3qnKNM1zUcJm4LhTuOMP65qMWYGWtxJcU76jGT3nwUrz1j7ZnCCBilAbLS96RucIFJtv88ZpLD/HMZSEgFXmkrrqANp2yjEYsroYRar6f44I3zxh9qNwnH8FHWNxBLj2ix6F85SKltmGV9lBrAF6RConCuh8fotCn7MSC2Fob3ELkPddDBexYwrL2JSZqtFPQpdwfHUT7mf+zjTWFwxxHG8St6zPhtCw6cZXcSnqdhLzTF2FethZcMMK2UBki9DBgmbz18mYAJbMUk5shiYBsxORzT5ucZ8PHbcUaC4OpBGDe55AbiShqP9/40gHLOt058UZbxXMPJnQuUKK+DLi8DEs0R/PJBLIIVwjULHPXgnt2SsQbHq7JeIJSYFIi8mNgeeeT6cFRQAItFOsL4L5li0do9WLrLriK06FZ2e7QO5v3PwugcgDcBo9MbsPT2CnMxFcYwdiNFuMhlKjcs/J23AMMEoONHJhj5JA2T44tvS2TTo5cX4kKqY5X9YuYacq9CEhzlMngmr8uGQasFLUpDPcUV/DCiKwrcNBwrrvueBsyKFVTSvG32aQraRPRMdJKBWaa+vSrcqNAo1hEGsyD8Y/1R/LzmjFea1EBZAbtn9rIqywiYSB5Siecey3U6A5YeN23JmCCPORIcK8IWhV0ps1Wpj8hzjyPmsDPN5P+ZNCWInMOXPz9g/PtgohZfbpEZ3SE5TxSGXBUkIa61vPnCDLCzFEuGrOMY1q02Xunq2VS6p7dkrKOJ17N7UAPP1PG9moatCoOBJ9go0hEGe+P+vC4e3yw84JX2VAoLxMmFL9sApnUkD4kXAKPV6bHsuNQIGDb5p28nmCwixmZSJnA5jeCZh1x3NzfpKi7M/xlFGRmo0qoNqnfohPAG1mcH1dUCfDP+sqkwjuCreY2Mf478swiJGa6V3Az518EFVgHhXMu0DYUZ4G8Dhuqy0Sg0EfM+8myHf88DhjEzIUmzAaA9XA+ZcIqR60KRp+XgjiOM3Sdu4s0vtyAkSIrgQCmCg6QIYZ+BMuPf7Dfzs9vP2bPi34ICZTh2szJ6NM41HuyrV7f2G8tWmNZRPCSc5yuMJWCYGcjHawm+7Sv8DPPfdSBfS9C5oWveHhg+GFqNyfRBEhgIeWgY2kz7AZysRDh5KT4fP0y5vZ0lwBdzGoO9FwbOK4S6KMDpCkP1eaD6fCNghCSDNhe8zmTsVznrMD59XIGa7Wx194SUVUxzT2/JihuZmJJThWoNZ0HgNY/EH28MRUY+B7GOMFibcrJzkJuXB3Z1zXHc7U9ivNlh0mX2aXpm/7ekLA57E6R44zHm5slWAs0A0ybKpDDoaWLhHJafMK0wLIm1ujx0iYD56WgrQO3ryuplSN6xzajkqM83+RCr1aUrol95A5zUJIT971QO5n2bZPybXYRNntsYvx4guLJrL1qkbsD2moOQHP6wlUskRkt5PfiCm5AEC/exa9DmgNcVoVL2KQy59RsqhAQg6tPvwAU5U1F0zvH7AjCsC4mqnE6UGpitvsfSJ0IIHb8lmNzIlkCsIwxPJzDLf10NrDtJMNyBjzDvAkaH5SdkbgOGOf5oVAN4sKawnl+YOwspf+81EzPIh9VvgCbvfoDAKlVx9JAai+ZcNz4PVBBE9W+M07uPo9/laeBgknSeC22ObbVeQ06QCRzselivuQhZBNveCX+JGAoyEZEThyE3fkIYNa00yh69UPdF6y2wsJ6ZqO6LLZl5pUlW9wHFMkrh6mTokgdf7QzG5UwpxDrCcFmwAAImPPztIMHorva3RkbA1GEhGoRPDkfVMj/EVoARaabM2vliCxj9QQtJ1GDAtU3rcGPXDmjVWWDfWWJbtHp9BiCwRScU6KQICJRg4VEp4g8ex4tXvrFSpGT0JxXNsKraIEgVFaHLuQ5ZSE1wAeLsEioRFZ5PnAVlTok5hiQwCG1+mAupwr1V5r4CDGNkgkrzEij93Znqi5CB/XafAhduySDWEYaQsl3RFGiB6Tsce4NkgGlbx+WtqatqjM9ZlOAVJ0tWmPeWEvzYX3gYcOY9cuKzsLE1EVK5oagQJ7/4DDlXS67gZTVqI6dlXxwNaIXrJ06j75UZkFhoHbNyK7Zqh2E3usHAlCupDgFhtSAJEmdsxsqJqZSHevmJaHPoC6vm1nvpNdTu7t6R+L4DjAk06t7M+tKuDb+QkQTw00EFTl2XQawjDIHFOyVj6h+frSeY4uC2it1MRVXgIeUIpBLTWcjdxMJArDgpN2/JPlpF8PlzwoPDjl9v0vZ1N2k1apz+ehJyVaZzS3HimUMKIoWUWrusqtDqUTR46308/bUKekghU1QBkbq+PbPXPkNuEog8DAOS5+ABzVEzSWj9GDSf+JVbXbovAcNs+oODFYSjsp8oqCm2gcj06z9BOHJNbjTZ7RDt/oQQWa2ZXEw0ZWY1yYzYGdCYuj5L7AJNwgBlvHRgj3mjnfvtx0YlS/Zcp9dj6wU5nmpiysccdLMYm5UECr3HruHwQ3/P+KPLzcWZ6VOQfdG5xWbVzl0R9fJgEI7DjO0Eu85rQSTuH1lbV45HbmYSzl1OR+2im4g0ZEJpyETdAC26zpnv1tDdt4AptulPNJ1rplMKUY6uFh8PxL5LARDrCMMtLtvJJAYw3qqTlcOCw7JYLUoBwWHZWWvBIYJxz3jeAiZxv7R0AZJ3bIetdT1B7T4voebTPc0VMbe2G08Wur26sII+6JyD5x4JQU6+FkfOp+DA2es4fO4GsvO1qFk5BE3qVEaTupWNn9G1K0AmILT1fQ8YxhhKqfTi9ewBoPQjSiFAxAasOh2AbfGBRr0qMY4wPJ86phLuFmBm7ibo2oSioYAL+uPXgKvpBIMe9VavgctnE5C7fyuyz58Bc2oRVKMWaj7XBxVbWGuELjxMsOxIAYjUtaqMo9Z90CkHz7WwXkoNPMXZy2k4ePYGDvx3HVdSTHIjBqCVn7verJQJwBQzjKnzJyRlPcZJuJ6UxwsAHEoP/joXgA3nAiHWEYa3ps7dAgyTeTwSRdHcuecDYzdXHCN4oBrwaH3v9Fqr55GWmY2ICNe3XWtOEvyy17MVZmRsLnq2dH4bdv5qBt6Ytg3d29TDOAFvhjIFmNLDGp+c1UxCycs8xTu3jcrMJDvi5VhxOghiHWF4Z+rcvRXGGBy2EvCYABB8sZHggycpqoa6f+lgya/MXC20RUUIDXV9gGJueb/d5tkZ5r0OOejd2nldm/+5gkkLDuOzQe3QrY1r2+0yDZjiwbp4PUNJeelKSqlZSX3/ZRkWHVNArCMMbwFm/AaC8c9Qt65rPWkDCw7Lggw9YVLhcprWnCCoH5qKGmHUaC4tl8sgl0kgl7FPqWhdt6upuQiWc1AoXN96MSd849ez62/31YPeeSwHL7Z1DpixvxzA7hNJWP9lL1RmjgtcJL8ADOOBSkWDCqiGaQoYlYn+TZJh/hEF3HGE4YqpQp7/sC0PrzRPhYxPg9yQjmCkoTA/HUV5aZDq0wBZBQQ0my6kKFE028/BGODpOYHBYfPy8qDT6aDT6Y2flolpUxeDhznscAWkfxKzEFNDAbncteIk8xIzYinxSBj1VrtcvPSo4y0Zs0Z96qPVqFpBgcXjnhXEx/saMCZfZNmTQCjTmZCAEC0oUglPU3iOnDEYtCcb16nCrDaN6ZxKU1HK0xOEIOrMDSlmHnDPEYZLzhoKAW0aivLSQXRpCKRp4HTpKMxNAy1KN36XE+cRAHjKIb/pckhk7h967bXz70STao47wWHZ9bZebwJOMYDY38Zrb4vEtKwZeAKMq5IJSDKZFOuPpqFr8yqCNBjYDd3AXwwgnPu+2Qa3zccrjzleNY7G3cR7P+7G8+2jMWaAMH8r9zVg4pKynudA1jmawExnjKf8fwRkAwF+j46MuJSoyupEKdkdnyoh0/e65wjDUX1c3MdA3hUEEO+YL6fU+BwRNUQa07tAM7v5OpNM8LoXg8PqDXrotHrojUDSQafXgXmrKZ3i0uV4vKkwiT2TJ/WcqYWBBLp8PzkieK1NIV5r71iO8/2qE1i2O8542GeHfiHpvgbMRVX2RzzlpwnpKCGEOa76i5dynxCeTriaTvpP2RnqliMMhwC9MBaBBaeFNEcQTU7FvpDWeU0QrVCiCynA7jjHip9Cy3FFxxz/mVYi0//sPD2u5wWgXUOBSmkAXvtVj7R819s3R215ta0Orz/m2FVVnwkbkJyWa7xOZtfKQtJ9DZiEpKzXAfKbkI6W0JAiQrDyZjZ5adyWUM4dRxiO6qOqRVCkLRPXHCfUt2gjhLXw7jmGBYdl18Uf+Tg47K4LBCz0uZh6P1oJnL/p/qH/5dYGvNnBfv5rN7PRb9JGVAoLwoavrC1enQ3gfQ2YC1ey6kil3CV2lhE7S7MKuMIxf4UGuuMIw1FdhszjCLk6XmxTHNLrqRT5TVdAJnNfPaR04cbgsPsIJjzrmbqL2E4evgxsPy+uXubM7+Vfmbss9661X2lDMdhuABRgyc4LmLnmJGKbKfHlW8KNyu5rwLBBS0zSbKBuWGOyWCoj1rrnCMPRZNEX5SLk3ACmVih2PjmkV9WYiso1RHrec1I7i1HJ5Ct3Kjiso6rPXgeY9P6bPsKB2uSRWKSlZbjNy3FjhuOTD5kIzja9891OnEhMxVs9muHVbsL5e98DJu5ydkNOxh934enfhmPsUDl0ZRgCZUS0IwyHWzJmqPPfcATorrk9yKUzZld5DTKlKUCQNxLr98jlJhV/X6ZrmcBXmwnmDBReb2R0CxQWmiOaiG5uj+5dsOyPH23yMd2ybmNWg6nJfDv8cbRpLDzO6H0PGMaN2zYyi8Q6/Ru+Ogw6A8FfIh1hOBs5evE7KLJ3ih5cRxluSR5FWLNxXiuPFeRJ6D53G5KWC3y4gmDhG8IAw7Ssa9Vlpsrup8jaNXHh+A6bAnYcu4bPfjto/H3z1D4IZ5JcgalMAIb1NVGlHkwpmQ1QwRf3H6wPRU6Re44wHPHXcGMTQm7+LJD9rsnU+soIaO2ux1z75Yu163fdStcUuYXA6wsIVg4VBpjMLDUeaOrgAOK6OjNFcvwhVCiluzbh90PYdvQqqlcMxuovSjSkhRRbZgDDOnsxOaczpYaFlEKQp4Sxm0KQlidxyxGGI+Zqs+IRfuUDIbwXTJMWsxghIc79CAsu7C6Ndg0lAAAdVklEQVStMEws88Jsgg3DhQEmSXUdLdt55hLJuIKs/g2x7UvcdrJtWPcxq40q/h2bKfGViAM/K69MAYZ16NKlzHCDlHwBwr0FUKdr7efbQpCs8a4jjMKCfITHDQRH3d97l578qmqTUblWczGYcErLzjDT+/hej63HLA5r32YOCl135dyFeHTuahtsynVOa4qvPv8II4aVyLJOXUzFsG9NW+bXuz+EISK9lJc5wBSz69KNzEheLxlFQVnEIrvmUlN3B+NiuncdYWi1OsjjP0KQznvxIDVVh0Bem1kreCcZg8N2pwhzX4juVkN6zebwx+u8oHr/OXoCPXrZBpsSW/GAvj3wy6yvzdl+WnsKi3aYnKFPHtIBnZu79qBpWWeZBUxxJ69coYE6ae4zlOqfIyBPM59uxc++36/AuZvedYTBJNz6+OkIL3AVn1b40N8K6oawRu8Jz+CCcvImgiEdKKoLF7p7pe4B8zl8148XVO+uPQcwYNAwj+tt0iga/+4t0Z4a8MUms9HY0vE9ECnUHc7tlpR5wFhyfA+l0lqq7L4A/QlAhTmHgnA8We51Rxh5FxejcvZSjwe7uIAk/cOo0nqK18qbsYPghebUGO7Dl+n1Pzh89iwvqN71G7fhzbc/9Lh5LALCzr+PQVMkR2w0Na4u566m49J1tVElRqyDEb8CTDH3LyblPMhTw67fjwZVPXTV+44wspP2oVq6IBU3QRPiprYWwtvOE0QrhGj2PoKO0dSoR+fL9O5SDm/H8oLq/XP5Gowc7R2tic9/XIlNyU2wY5RH1gJGVvklYFjHL6k0Ty85EbhxV6KceNsRRuatS6h1fYTX5mK+IQR5TZcbDb+8kVhw2MY1KFrV8UZpwsv4ZC3BCw8LC0o7/7fF+HRCydnDWS1FOSmQh1S363aX5XtlxGTEBfbCxveAIMFCB/s1+i1gGDsGL9Cvvpgm6eVtRxgZGZmomTQYHNUKn01OKHlIcEG5AfWE+eB2WefKY0DVMCDWO0G5XNZXTMDOTu3qUzxuinDhNH0/cx6+nGYrpS+diflxLkhPgFRRGfIQ+wzq9OxA5DUei5VDgYruObw0V+vXgOn8LR3L85jibUcY6iw1KiV9CLnhpqt5Ieg5DxkOV16PRyKFyTBcFbrxDPNZJj44rKtyXT1nvsYaVqeC4k1OmfoDfpjl2ncYb9CiMOOS0edyUOVoEGM4cuvUuGkrBHdbgIVvALWs4++6arLNc78GTOx0yq6efvS2I4zs7ByEJY1HkNYUactZ4kkg9FwE9JIKMEgijH8bjN/Z36bftCQcudLaeKC6q9KEPd8dB2Tliw8OK6x0x1Q/7SWoGkrRt4XrksZN/Brzfl3skpB59S9IN13hy0KrQxZkK+ANCQ1Do7ePYO5AoIF1DFqX5Zcm8G/AfENfB8Fv3naEkZubi6CkbxCou2yc9CZARJgBwcCRVlgZV3KC0aSmAhwnQYBcYowHI5FIwIN9MjPfkt/shcUQPdq3Mxy5DLDwfQNFBod1t77ifMyxuVxCBdX7wZgJWLzUdXh3Zh7NtmSgPCQBIQgIt+8/qtmw3fj5zep4yDoGregu+TVgOk2nTNl8pbcdYeTnFyA9U2MMDhQYIIFcwoGTSGCgnHHLECTnIJVIMG2H1BjywtcCRBYc9shlgrdEBocVPbtKZVjyDwGLLyqk3mHvjsGa9ZtdV0k4FGZdBa/NM/JbUcX+wSy692z8PDoWAjwpOa3TvwEzjXajHLa0b0DxSXfvnA9cj3AJxfe7TG5bq4aKyeU5bWIqsOkswcguvu3zyuPE6IBDSL2DBr+Hrdv3uOxshVqNkZqwH7q8NCNtYKUG4CS2V2G1OozE7ClvoZOHFx3+DZjptD0F/m4RRTHpOd9OHja4c/cRdHuQGh3r+TKxScuMuXz9kmDRmM/dgKB6+wwYgv0HjrhkS6+Bb2PlbzNQpDbZILEtGdualU4VH3gaX0/92ii89HZSVpY7NQllzvOLfYG7W7d7Nqe3a/NGA1hR7WfQZhKKU0yAN62396wkhTKFyUPa1qVo6KXDvNB62YH/2x0EXzzv/cnjrA07zhPsT4SgepkeGdMnc5V++nE6Phz/PTITmEIlhSykOmQK24M/W3mmzV2Lpxp7f5z9BjCPT6P1DRwuetMRhqsBtnzOnFHEVAMeVvp24hbpmata4lHcFzH9LKZl8TJXn4Cgep98+kWcPmtSknSWVi/7BZNmrsc/G2eC1xVAqqgEeYjtVRjhpPji1wN49qE7x+uYyAi7C4E3XvA+XWFU6Vo1ABsP2MzJwvDlMnjTEYarAbZ8zrYoVUKBR+vduUF01J67YUR2OhmYs49g9suu+9uhy/OIT2DyFedpz/bVWLXtFL77/F3o8zMhCQxHQJh9nZ/RU5diYJc7p95QZgCTnKHLppTaHK3Zm3bwYhkqKIDFg72/VLsabLZFYbYhnRu6nkCuyhL7/G4AJuEWwKT9QsyUWz3WDdeSkl1268zR3ThwLgtDBzyFIo0KnDwYgRH2VfYrP/jCzKTdX3pPZ8ll60wE990Kk5yhi6OU2kSaZx5OBy2UIkDqPUcYAnloJDtwkSC7AHj6Dm4THK4wIoPDiumXI1pVJjBqBcGqYa5fEA+16IxbqaabL2cp+dJJ3MqRoGXL1si7cRKcNAiBFe2vIopqDZemn133kqsyvf38fgTMJkops4WxSUOWSFGoI9joRUcYQhl+SgUkZZK7EtBp3DpgsjhzdqHdckiXlQcMWcReTq4Bw+z5mV2/sxQcrMCVuH+NoQof7DwESf/+aTz4B1WyH8tDHl7zhDpxlwA9A4+7alXAfQcYVYb2V1C8YY8N7y6XQl1AsGoojyD3vZK6zWHm9siDmK9u13u3Mgrtb71GbZCbm+e0mbVq1cDJIyavMK99OAvrfp0IfVEOFJWj7earUKUG9mxZ45WuOzqv2Cv8vgNMcqZuCuXpWHudGb1GipvZxKuOMLwyIn5eSGSDR8AiQDtLDzZ+ALu3rTKSzPrzAMa//xK0OSlQVLHZfd8uhuDQ/p1QKDyPiFCmAaNK17KD3g/2mP/ZXxJcyeAw/xUeNT3UZPXzOe7V7tes2wx6vcFpme3btcaa5SbX2gfP56Dnk62NipiKqo7tB1at+BMPPdjE47a6kr1YVnD/rTAZ+r6U8ivscWnyVgnibnL4sT+P+l6yN/F4NMoLQLXIh2zizpRmy9PduuCP+ab3YE4h8OCjzyMzfrvDMwyjm/rVZPR8vofHHC7TgLmRpetoMFC7Ximm75TgVDJn1G96srHrw6jHnC4vQBAHqipd+zvu/2JP/Dhjsrm8zv0n4sSWHx3KYRjh0DcH44NRnt8sl2nApGTROnqD7oq9kZq1T4IjV0Q7/xc06OVE7nPg6DS2bXL+AqvW4hVEdvnEXEna2bW4uGY4pEGO99ZPPv4YZs3y3DNpmQYM42hyujaBAjbXJxvOcFhxggHGI+UD92dGeU67HDg6/SGAd36GqfHoMNTuULJaFGZexem5T4CTOL7ufCCmAf7dv0EQ11MyrWN6WmYq84C5lqEdyVF8J4hTlkQc+URZUSbMG4PowsVlSEhSO3zlBtm5+alR0UOPD+KaZ5fa0aQryM+3oi/d/ocfaYOCQudxQCeOHYUPRrxpLocZk8U0i8Wt1HSHLQ+Qy3Hj0jFjzE1Xya8Bw4IuJWfoFgJ42RWjip8TQlbVqijtbwz3dw8kfwJM23YdkaXWOOX6tMljMWzIQCuawW9/hJVrNznNt37Fr+jc8VGXI+rXgCnmjipT353w/Es80IIALDAIM56QMFBQSpmkLAUEJzmeX1qrSuBfLrnqQwJ/AkyXJ7sh+bo5ALZdLs+cPgmvDuxj9ezPFesxbETJucZexrfeeAnTv3QdQqTMAyY5TdeZEspcjdjXjfDm5Ka4REDerF1F5tos0Ev1+hNger7QGxfiLzrl3PyfpqJfb+sr4vSMTDR4qCOYy15HSVmrJs4ddx3Dp8wDRpWhvQQKYfGjvTGJCS4rK8nvPDhvt9WfADPwlUE4etx5ROpFv/6A55950mYkn+zxMv45etLpCB/esw5NGjm3Vy77gEnX+lyQIua2xFOM+hNghg8fjp17Djhl2aolc9C1i21A1x9//h3jJn3jNO+EsaPwocWFgT3isg+Y8hXGatzv51uyTz75GGvWb3E66Teu+h0dLYIlFRNfuapCs7bOgzG1a9MCW9ezKI+OU5kHTPkZxnrw72fAfP3VFPy+yK42k7mTOzf+idYt7cfB7PBkH6cmzsz/29ULhxAe5thlT5kHjOV0SUzKfp6CLwkMAnIjJjLcyo3bRZV6Kk8xxpyPIjsmqiQgYkKS5jpAzfauBFzP6Miw9Z5urdzN709bsjmzZ+K7mb84ZdWBnavR9MFGdmm+/XE+Jn7pXOy2cP536NnD8UrkX4BRaSZQSieauUnIphhl+LNWoFJpFlFKSy7yCYmLUYabRyBBpdkISp8pzkMImRitDP/c3QnvaT5/AsyyJQswYcq3Tll29O+NaBht/45HyLZs0Et9MOvbSQ7r8DfArKOUPm/BjSkxkRFWl++JKvUuSvF4CSCwO1oZ0aX4e0KSmmn2fWoBmPXRynAf2ymW9MCfALNt8zqMGD3BKWDOHt2BKKVj36+du/XD8VNnHZZRu2YNnD+xqxwwjAOJKvU1SlHiDYGgT4wywspZb8I19QUQlBhPULokJqqCecVJUKl7g8JkocS0zQiSopURUZ6uFO7m9yfA/HtoL14Z8r5TViWe2Y9qVR2HUftp7kJ84iLGjLNVqsysMKcTk2s3i67t0KXIheTsSlJK0yilJRqVFPVjoiIuW59z1Ew5q8T9EsE3McoI85km4Zq6HgjMvn4IIVRPSJVGtcMy3J30nuTzJ8AkXjiJZ3uXRD+2xzdV/BGEhzsO1JlyMxWNHnncqRDzmymfYuhg+9pS3gKMq/kqZE54pBp85sy1CjRIEmww2BfnKoKC23NEsrzk/IKc/PycRjzTzrudQoLCAi3BwH6mlH6eV5Bjjo3HEUIUitALoDBfpfDU0C+/IM+5gEAIB9ygCVGEXXeUrawpX2bcvIx2jzuPHJ167SQCA5yHZevR9w3s+9uxy9mnn+qMZQtYyFPb5Awwaek3BcUBkEg4jhQY8po2jcpyY8gtprAnuV3kTVCpPwKFOcgkIdgbrYzobJntokrTgKfUKjY4B/RvEBlRAjTT1m4Ppehk0fIxMcoI51KxO9Q3f1phaFEmHmhuNWQ2XNWknHMYpq+YePGytXhnpPkYalNGSEgwkuIOQyq11V721grjjeng0QrjqgGJKs0SSqmF/ynyfUxk+CjLfAlJWR0BYmWFKZVyHevVDPvbmk7zHUBHFv9GCPkzWhkuWOPZVVvFPPcnwFQI5lE1qrlD9jA1/bSkUy7Zl52TiwYPdkBhUZFD2u0blqBta9u6/AcwSZrzFNR8PcxR8mqDqHCm2m9O8Uma/gTUKjY4R0h0A2W4lcbfxWuaQTyhC8yAAbkQHRne2OVI3QECfwIME7pWr9sC+QUFdjkZFhqK5MR/BHH5taEfOtUa+GT0u/hk9Ds2ZfkFYG7coIo8gyabUpiDHUqItGl9ZYjV/WJikmYUBbW66A+RhgfXrEmsLJsuqXIfMlD9mZIVBoZgSXhYaTpBI+chkb8BpknLJ6BKvmGXa1WrVMbFs/sFcXT7rv3o8/Iwh7SO1GT8AjCJydmPUp4/ZMGdwmhleCghRG+11VKpp4HiI4vfNDGRETbG4JRSaaJKk8Ni9ZhBw3HtomuHHRY0Wl4kEgsYL1bt9aJcWVyyCnv1HYBz5+x78K9Zswb27NwqqF16gwGxnZ9Eerr9y01mffnv4QNQKIIElceIfKl0y+q7Y2eY+CTNOwS05NqDkKMxyvDWpTmRqNIsppRanEXIhRgHW60ElYb5I21VXAYFGd4wMtxzTwqCh8dE6G+AGfzW2zhwwPLdV8KwunXqYOtm4VpKX0+bjt//cKxs+cu8n9Gh/WOCR6TMACZRlT2PUr7E0Jtw82KUYUNLcyL+mno3ISi5hiFkV4wy/Al7HEtQZc8F5d8q2ZZx86OVYebvgrnsIaG/Aeaj/43Fhr/smxs3bBiDDWtXCubohbg49OzVzyH9kMGv46MPzXc7LsstO4BJ0hyloC3Nkxt4JzoyYnZpDiRcU8eBwOxTlFK6uGFUhVfscSoxSf02BcwrCgE5Fh0Zbl5xXHLXSwRiAXM/ayuztn88/mv8PM/qrsbMyRbNH8KeLVYSAJdcZnKd/87H26Vr3uxB7NtmrR1d5s8w7LxxUZWdQ0Etzhvk0eja4TaSq4Qko4cFs5iYI9y0Bsqw/9kFTLKmLeWp+cxCQAobKMNszkUuR8xDAn8DzLTv5mDy1B/tcq1d25bYus4+mByxedacBRg7cardxxzH4VrcYSt1/zIPmMuqzKZ6ylnatRpCpPlhNWvWtLr5unmTBmdrNbmWnCOUjIqOCv/eHjdv3LihyNUrspmzjOLnUsI3q6esaL498xALgrL7G2B+W7gcI8fYVw5/PPYxrFvO3DcIT2npGWj4cGfo9Vb3P+YCmMSfSf6LU5kHTPy17FcJ4f8o2Y6R89GR4Taepy+pNNEGShOsAYN+0VERDi2WEpM05yioWf5CKfdaw6gws3xG+LC5T+lvgNmwaQcGDravgNm9a2csX2hfpcUZh/u/+i42b9ttl2T40Ffx1eclm4wyD5jEJM131FoqvyRaGW7tuMqo7pIVSynZa8k1Cr5jw8iKVlJ+y+elb9UIyPfRpbQH3IeCsJz+BphDR46jW0+7x0qj4RczABObNm7ZhZdef89uNmaMxozS/GaFSVSp91KKWAtufBQTGTG9NHcuXtf05w3WUn4CNIiOjHAYhTQhST0agFmHjBDsi1ZGlOiYiR05N+j9DTDxiZfRqoOVzZ+Za/369MD8WfbPI85Yq9Pp0fDhTmDumEondo5hZssRtzWgy/QKw1T5L6o0WZbq+pTiiYZRETYWQolJ2R9Q8DMsGRakDFcoCbGvhwEg/pq6CyEwO7MigKaBMrwCU/l3Y+67lcXfAMNC9tVp1M4ur159uQ9mznBsLemMwWMnTMOsueaduxXp0j9m4ZluJpvCMg2YxCR1fQqY9cDYRA4MC6usDCc2r5KEJDVbKdiKUZzUMZERFZwxWaXSVCwE0i1tbFytSm6hwkkmR4Cxp9rPirnfr5WZM75KymYwGGw99Qr1XmmPnefjEtG2k6UxbgmV5TmmbAMmWd2H8jBLsgjBtWhlhN1wuglJmiWAlTbz+Rg7lwOlmZ2oUl+lFGaLS8Khb3TtCLNFprcBUro8fwMM6z/zYpmaZutc/L23X8eUCZaaTeK437l7Pxw/aWu+3Oyhxvh7h2lIyzZgktRTKGCOY0kI1kUrI+xaICUkqZl715LzB8WumKgIu1J+y2FIVKnXUgqzTT8BvoyOjHBsbCFuDF1SiwWMywLvIoEQXTLWvB49+yAhwcpsydjqYUOHYNT79g/vQrq1bPkqTPj8CxtSdo759/DfCA1lLrcdp/te0p+g0myCRWhx5jGmYVQFu5f4CSpNHCg1S/kJIYuileGDXDE6/lrWBOY5xkxHyOYYZbjZq4yr/J4+90fAvPbGWzh8xFaNf8S772D4OzYaT4JZnJubi/Ydu9gNqTF39kx0irX1qGlZuM8Bc+PGZa86k8jVVzwGwOwRQQLD4CCpxq5LkFxDxXOgCC5mAOEwO5jLdHnlUqAP72KA5FcLxqWHSDPNajiCR8tNwlx9xav2sjo6w9ymTeCobjTR3bpjQlaDvLbddjnrptAV5oPRH2PTZlsPmLVrVv1q7+bf57rJSmO2Zu36TM3LLzArmAVWqo+qD/dD96c6Y1T3CiASx/F1JNpku9t9T9rjLO8d01a+Uw0uL/fucCCoSqPvCYGN9JJS8n5B2nn7ejMCmxpUpUl7TsL9HRHdBVWbD0CYspXRNZA+Lz394IQq91SI4HLACBxUfydTVGs8FpROseUDHZafGufRCtNxOh1nyM+YKFVUMqs86fLSaW7y0U1n5j/teahlLw5eOWC8yMyyXJSiWqMhoLBRGiOUvpaXFueRalLsdPongAGMfwUZl6G4sARtcw4e/XrXNhv7qbvN43sCMGcSUyy1Asw8aRpdw+gcw9FzMcwrLktMnnLaEg4oqjV8DpSzsRSjPAYUpF9Y5gmvOs2gbXke069tm8A9l7enaYNQWXCAhKMNK4ZFdl6yxqHfO0/qdDfvPQEYdxtfns93HIj9xpBm0BVUpgYteH0ReL0W1FAEWXDl/w5+VvEhIS1JSbli98VYnLdGjbr7furWZVGYXDawYlAAgmTSMY8vXn1XXGk56k+ZBYw3ViV7TLvXVipXk1DIRHZGwyYxex47nf4LwJ6xXuK+0cR5CDERjdjzWs8IXsvdvJRTGDDt7HXt9QLtmIJbF34QUcQdJS2zgLmjXPPHwmu2UCj0+SxYr1XiCN8l91a8fT19kXwqBv9Xg975fuHZaw9reZN6YLWqlfYe2rGoRO4motxiwIvI4pS0HDDe4qSflDPrqS5aA6UyAtAR23dz3u52gyffH3vj9HYWrcE0Nyl0lCOjC255dnXtrXaWA8ZbnPSTcna/3PsyBa0LILPLkjWVvN3tyk2emp+fljTEVC5N43j0zU2Ps/KM6u06xZRXDhgx3Cqnxe6Xe12gYKFJSF6XJaudK3qJ5xdRVG3ETNvZJcI5nqPPFt6ME629IL5a4TnKNGAopfLkbIRIDAgBj2BQnUJPiUIqQRD7JNSgAIgCBIGUkkCOIIAHH0gIFwBKAkH5QEogJwRyUCKn4OWEcDJCIQeBnFLIACoFAfOgLQX7TnH7O5UCHAdQCQjhQKkEIKbvAGf8m4DAFAqEEGIcCnLbbMH4m3FDAtDbtj70dtADCmb7w/6B8gB4gBiMfxNiAGW/se8sogLRg0IPYvyvA2D6DqIn7DuFlhJoKeV1BJwWhGophZZQaEG4QhBaSClfxIEr/HbR1mZrli2unp/8X6tcHW92bhJdv/6cLRvW/AIiyweHPIMEubXDkEsI0QqfhibK4KqNXqEA86hxOF9X1B1Zl5mDlHsq3dOASU2lIQYZKuv0usrgSCUJIRUBvgLlSQVKEMGBhPOgEaB8OEDCKBBGYAyJEUKBEAI2ocuTOxw4dfoMzp0/j/j4RJw5+x/i4uJZGBKbotq0boWFf9jGwKSAjgDMwUkuBXIIkA3QbBBOw4GoeVANoVATjmYBXJaB0syWrR79SSaX33rhuef7zpr2P/u+ad3pjBfz3BXAUEq5lCzUNhj0dQmhUQBRArQWBalBCGoAtBqlqAZAuM9QLzKlvCjgzaHDceCgydslc+Eqk8nNoSiYIRn7r9PpUCEiAn/vMxvAepN1BYTgFkBuUYoUApoCEBYcWEUpuSaRSK/UqIBkQghbZX2W7jhgKKWylCx9WwOPdoTQhylIE0IRbemzzGe9La+oTHGA+aWjBIkE9Byl5JSEw6EaFaRHCCFs+3lH0h0FTHK6bjIFhoNtm8pTOQd8wgGiJsBPtSvLrAIPe6vqOw8YguGg5YDx1oCVl+OCA4SoCb1PAcO6Zt6SAe0IpQ9TigcBRANwHhSxfGaUc8A1B1g4s0RC8B8l5JQE9/mWzFF/iw/9hOjrGkCiYKDmQz9AaxKCqpSSagAtP/S7njRllIIUEELZgT+VgqZwIDeMh34JUUlAr1FaRg/9noxm8bUy1esq6+1cK5vORiS8/FrZEy7fmbzOrpUBqgGImhCoCUqulaU8zSBSWbpEh/SqVYmVz+0700rxpd7RM4z45ng3hz3BJSREoadQSDkSZKBQgPIKUAeCS8IHMiElE16aBZeAnICTWQouCYHUJMQ0Ci9vCy6JlIJKOJOAkqNMcGkrwCTMFJdYCCwtBZilBZbsO5NWwiQPoaUFlsQouGQSS8oTkzCzRHAJGIWVtLTgEryOAtpiwSUTWjJhJqi14JKnKCKEFoKgEITLlxDk63laICXIh4Hme0Nw6d3RvzOl/R8AdGoXzom1qQAAAABJRU5ErkJggg=="},3828:function(){},43968:function(d){function v(e,r){this.v=e,this.k=r}d.exports=v,d.exports.__esModule=!0,d.exports.default=d.exports},20943:function(d,v,e){var r=e(35859);function i(){var l,c,f=typeof Symbol=="function"?Symbol:{},o=f.iterator||"@@iterator",h=f.toStringTag||"@@toStringTag";function u(k,R,A,I){var M=R&&R.prototype instanceof x?R:x,B=Object.create(M.prototype);return r(B,"_invoke",function(N,V,W){var H,ae,ne,oe=0,J=W||[],q=!1,K={p:0,n:0,v:l,a:se,f:se.bind(l,4),d:function(Q,le){return H=Q,ae=0,ne=l,K.n=le,a}};function se(ee,Q){for(ae=ee,ne=Q,c=0;!q&&oe&&!le&&c<J.length;c++){var le,z=J[c],$=K.p,ie=z[2];ee>3?(le=ie===Q)&&(ne=z[(ae=z[4])?5:(ae=3,3)],z[4]=z[5]=l):z[0]<=$&&((le=ee<2&&$<z[1])?(ae=0,K.v=Q,K.n=z[1]):$<ie&&(le=ee<3||z[0]>Q||Q>ie)&&(z[4]=ee,z[5]=Q,K.n=ie,ae=0))}if(le||ee>1)return a;throw q=!0,Q}return function(ee,Q,le){if(oe>1)throw TypeError("Generator is already running");for(q&&Q===1&&se(Q,le),ae=Q,ne=le;(c=ae<2?l:ne)||!q;){H||(ae?ae<3?(ae>1&&(K.n=-1),se(ae,ne)):K.n=ne:K.v=ne);try{if(oe=2,H){if(ae||(ee="next"),c=H[ee]){if(!(c=c.call(H,ne)))throw TypeError("iterator result is not an object");if(!c.done)return c;ne=c.value,ae<2&&(ae=0)}else ae===1&&(c=H.return)&&c.call(H),ae<2&&(ne=TypeError("The iterator does not provide a '"+ee+"' method"),ae=1);H=l}else if((c=(q=K.n<0)?ne:N.call(V,K))!==a)break}catch(z){H=l,ae=1,ne=z}finally{oe=1}}return{value:c,done:q}}}(k,A,I),!0),B}var a={};function x(){}function p(){}function y(){}c=Object.getPrototypeOf;var _=[][o]?c(c([][o]())):(r(c={},o,function(){return this}),c),b=y.prototype=x.prototype=Object.create(_);function S(k){return Object.setPrototypeOf?Object.setPrototypeOf(k,y):(k.__proto__=y,r(k,h,"GeneratorFunction")),k.prototype=Object.create(b),k}return p.prototype=y,r(b,"constructor",y),r(y,"constructor",p),p.displayName="GeneratorFunction",r(y,h,"GeneratorFunction"),r(b),r(b,h,"Generator"),r(b,o,function(){return this}),r(b,"toString",function(){return"[object Generator]"}),(d.exports=i=function(){return{w:u,m:S}},d.exports.__esModule=!0,d.exports.default=d.exports)()}d.exports=i,d.exports.__esModule=!0,d.exports.default=d.exports},36490:function(d,v,e){var r=e(66142);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},66142:function(d,v,e){var r=e(20943),i=e(70715);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},70715:function(d,v,e){var r=e(43968),i=e(35859);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},35859:function(d){function v(e,r,i,l){var c=Object.defineProperty;try{c({},"",{})}catch(f){c=0}d.exports=v=function(o,h,u,a){function x(p,y){v(o,p,function(_){return this._invoke(p,y,_)})}h?c?c(o,h,{value:u,enumerable:!a,configurable:!a,writable:!a}):o[h]=u:(x("next",0),x("throw",1),x("return",2))},d.exports.__esModule=!0,d.exports.default=d.exports,v(e,r,i,l)}d.exports=v,d.exports.__esModule=!0,d.exports.default=d.exports},27419: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},68037:function(d,v,e){var r=e(43968),i=e(20943),l=e(36490),c=e(66142),f=e(70715),o=e(27419),h=e(88562);function u(){"use strict";var a=i(),x=a.m(u),p=(Object.getPrototypeOf?Object.getPrototypeOf(x):x.__proto__).constructor;function y(S){var k=typeof S=="function"&&S.constructor;return!!k&&(k===p||(k.displayName||k.name)==="GeneratorFunction")}var _={throw:1,return:2,break:3,continue:3};function b(S){var k,R;return function(A){k||(k={stop:function(){return R(A.a,2)},catch:function(){return A.v},abrupt:function(M,B){return R(A.a,_[M],B)},delegateYield:function(M,B,N){return k.resultName=B,R(A.d,h(M),N)},finish:function(M){return R(A.f,M)}},R=function(M,B,N){A.p=k.prev,A.n=k.next;try{return M(B,N)}finally{k.next=A.n}}),k.resultName&&(k[k.resultName]=A.v,k.resultName=void 0),k.sent=A.v,k.next=A.n;try{return S.call(this,k)}finally{A.p=k.prev,A.n=k.next}}}return(d.exports=u=function(){return{wrap:function(R,A,I,M){return a.w(b(R),A,I,M&&M.reverse())},isGeneratorFunction:y,mark:a.m,awrap:function(R,A){return new r(R,A)},AsyncIterator:f,async:function(R,A,I,M,B){return(y(A)?c:l)(b(R),A,I,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},88562:function(d,v,e){var r=e(33906).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},33906: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},329:function(d,v,e){var r=e(68037)();d.exports=r;try{regeneratorRuntime=r}catch(i){typeof globalThis=="object"?globalThis.regeneratorRuntime=r:Function("r","regeneratorRuntime = r")(r)}},92310:function(d,v){var e,r;(function(){"use strict";var i={}.hasOwnProperty;function l(){for(var o="",h=0;h<arguments.length;h++){var u=arguments[h];u&&(o=f(o,c(u)))}return o}function c(o){if(typeof o=="string"||typeof o=="number")return o;if(typeof o!="object")return"";if(Array.isArray(o))return l.apply(null,o);if(o.toString!==Object.prototype.toString&&!o.toString.toString().includes("[native code]"))return o.toString();var h="";for(var u in o)i.call(o,u)&&o[u]&&(h=f(h,u));return h}function f(o,h){return h?o?o+" "+h:o+h:o}d.exports?(l.default=l,d.exports=l):(e=[],r=function(){return l}.apply(v,e),r!==void 0&&(d.exports=r))})()},63335:function(d,v,e){"use strict";var r=e(55327),i=e(40593),l=TypeError;d.exports=function(c){if(r(c))return c;throw new l(i(c)+" is not a function")}},6086:function(d,v,e){"use strict";var r=e(39812),i=e(40593),l=TypeError;d.exports=function(c){if(r(c))return c;throw new l(i(c)+" is not a constructor")}},42683:function(d,v,e){"use strict";var r=e(2786).has;d.exports=function(i){return r(i),i}},557:function(d,v,e){"use strict";var r=e(55327),i=String,l=TypeError;d.exports=function(c){if(typeof c=="object"||r(c))return c;throw new l("Can't set "+i(c)+" as a prototype")}},17442:function(d,v,e){"use strict";var r=e(19691).has;d.exports=function(i){return r(i),i}},79606:function(d){"use strict";var v=TypeError;d.exports=function(e){if(typeof e=="string")return e;throw new v("Argument is not a string")}},63619:function(d,v,e){"use strict";var r=e(42530).has;d.exports=function(i){return r(i),i}},18888:function(d,v,e){"use strict";var r=e(91385).has;d.exports=function(i){return r(i),i}},5978:function(d,v,e){"use strict";var r=e(89945),i=e(94237),l=e(80666),c=e(80449),f=e(63335),o=e(4112),h=e(53776),u=e(59893),a=u("asyncDispose"),x=u("dispose"),p=i([].push),y=function(b,S){if(S==="async-dispose"){var k=h(b,a);return k!==void 0?k:(k=h(b,x),function(){r(k,this)})}return h(b,x)},_=function(b,S,k){return arguments.length<3&&!o(b)&&(k=f(y(c(b),S))),k===void 0?function(){}:l(k,b)};d.exports=function(b,S,k,R){var A;if(arguments.length<4){if(o(S)&&k==="sync-dispose")return;A=_(S,k)}else A=_(void 0,k,R);p(b.stack,A)}},81181:function(d,v,e){"use strict";var r=e(59893),i=e(20132),l=e(37691).f,c=r("unscopables"),f=Array.prototype;f[c]===void 0&&l(f,c,{configurable:!0,value:i(null)}),d.exports=function(o){f[c][o]=!0}},52216:function(d,v,e){"use strict";var r=e(13764).charAt;d.exports=function(i,l,c){return l+(c?r(i,l).length:1)}},56472:function(d,v,e){"use strict";var r=e(16332),i=TypeError;d.exports=function(l,c){if(r(c,l))return l;throw new i("Incorrect invocation")}},1674:function(d,v,e){"use strict";var r=e(31946),i=String,l=TypeError;d.exports=function(c){if(c===void 0||r(c))return c;throw new l(i(c)+" is not an object or undefined")}},80449:function(d,v,e){"use strict";var r=e(31946),i=String,l=TypeError;d.exports=function(c){if(r(c))return c;throw new l(i(c)+" is not an object")}},27270:function(d,v,e){"use strict";var r=e(97607),i=TypeError;d.exports=function(l){if(r(l)==="Uint8Array")return l;throw new i("Argument is not an Uint8Array")}},3737:function(d){"use strict";d.exports=typeof ArrayBuffer!="undefined"&&typeof DataView!="undefined"},78244:function(d,v,e){"use strict";var r=e(37758),i=e(29076),l=TypeError;d.exports=r(ArrayBuffer.prototype,"byteLength","get")||function(c){if(i(c)!=="ArrayBuffer")throw new l("ArrayBuffer expected");return c.byteLength}},93683:function(d,v,e){"use strict";var r=e(94237),i=e(78244),l=r(ArrayBuffer.prototype.slice);d.exports=function(c){if(i(c)!==0)return!1;try{return l(c,0,0),!1}catch(f){return!0}}},51424:function(d,v,e){"use strict";var r=e(3338);d.exports=r(function(){if(typeof ArrayBuffer=="function"){var i=new ArrayBuffer(8);Object.isExtensible(i)&&Object.defineProperty(i,"a",{value:8})}})},39760:function(d,v,e){"use strict";var r=e(92916),i=e(94237),l=e(37758),c=e(24225),f=e(93683),o=e(78244),h=e(39311),u=e(80426),a=r.structuredClone,x=r.ArrayBuffer,p=r.DataView,y=r.TypeError,_=Math.min,b=x.prototype,S=p.prototype,k=i(b.slice),R=l(b,"resizable","get"),A=l(b,"maxByteLength","get"),I=i(S.getInt8),M=i(S.setInt8);d.exports=(u||h)&&function(B,N,V){var W=o(B),H=N===void 0?W:c(N),ae=!R||!R(B),ne;if(f(B))throw new y("ArrayBuffer is detached");if(u&&(B=a(B,{transfer:[B]}),W===H&&(V||ae)))return B;if(W>=H&&(!V||ae))ne=k(B,0,H);else{var oe=V&&!ae&&A?{maxByteLength:A(B)}:void 0;ne=new x(H,oe);for(var J=new p(B),q=new p(ne),K=_(H,W),se=0;se<K;se++)M(q,se,I(J,se))}return u||h(B),ne}},58261:function(d,v,e){"use strict";var r=e(3737),i=e(35454),l=e(92916),c=e(55327),f=e(31946),o=e(32621),h=e(97607),u=e(40593),a=e(68151),x=e(2291),p=e(64110),y=e(16332),_=e(53456),b=e(58218),S=e(59893),k=e(6145),R=e(94844),A=R.enforce,I=R.get,M=l.Int8Array,B=M&&M.prototype,N=l.Uint8ClampedArray,V=N&&N.prototype,W=M&&_(M),H=B&&_(B),ae=Object.prototype,ne=l.TypeError,oe=S("toStringTag"),J=k("TYPED_ARRAY_TAG"),q="TypedArrayConstructor",K=r&&!!b&&h(l.opera)!=="Opera",se=!1,ee,Q,le,z={Int8Array:1,Uint8Array:1,Uint8ClampedArray:1,Int16Array:2,Uint16Array:2,Int32Array:4,Uint32Array:4,Float32Array:4,Float64Array:8},$={BigInt64Array:8,BigUint64Array:8},ie=function(kt){if(!f(kt))return!1;var Zt=h(kt);return Zt==="DataView"||o(z,Zt)||o($,Zt)},_e=function(bt){var kt=_(bt);if(f(kt)){var Zt=I(kt);return Zt&&o(Zt,q)?Zt[q]:_e(kt)}},Ae=function(bt){if(!f(bt))return!1;var kt=h(bt);return o(z,kt)||o($,kt)},Pe=function(bt){if(Ae(bt))return bt;throw new ne("Target is not a typed array")},We=function(bt){if(c(bt)&&(!b||y(W,bt)))return bt;throw new ne(u(bt)+" is not a typed array constructor")},$e=function(bt,kt,Zt,Mt){if(i){if(Zt)for(var tr in z){var je=l[tr];if(je&&o(je.prototype,bt))try{delete je.prototype[bt]}catch(wt){try{je.prototype[bt]=kt}catch(Ft){}}}(!H[bt]||Zt)&&x(H,bt,Zt?kt:K&&B[bt]||kt,Mt)}},Lt=function(bt,kt,Zt){var Mt,tr;if(i){if(b){if(Zt){for(Mt in z)if(tr=l[Mt],tr&&o(tr,bt))try{delete tr[bt]}catch(je){}}if(!W[bt]||Zt)try{return x(W,bt,Zt?kt:K&&W[bt]||kt)}catch(je){}else return}for(Mt in z)tr=l[Mt],tr&&(!tr[bt]||Zt)&&x(tr,bt,kt)}};for(ee in z)Q=l[ee],le=Q&&Q.prototype,le?A(le)[q]=Q:K=!1;for(ee in $)Q=l[ee],le=Q&&Q.prototype,le&&(A(le)[q]=Q);if((!K||!c(W)||W===Function.prototype)&&(W=function(){throw new ne("Incorrect invocation")},K))for(ee in z)l[ee]&&b(l[ee],W);if((!K||!H||H===ae)&&(H=W.prototype,K))for(ee in z)l[ee]&&b(l[ee].prototype,H);if(K&&_(V)!==H&&b(V,H),i&&!o(H,oe)){se=!0,p(H,oe,{configurable:!0,get:function(){return f(this)?this[J]:void 0}});for(ee in z)l[ee]&&a(l[ee],J,ee)}d.exports={NATIVE_ARRAY_BUFFER_VIEWS:K,TYPED_ARRAY_TAG:se&&J,aTypedArray:Pe,aTypedArrayConstructor:We,exportTypedArrayMethod:$e,exportTypedArrayStaticMethod:Lt,getTypedArrayConstructor:_e,isView:ie,isTypedArray:Ae,TypedArray:W,TypedArrayPrototype:H}},91669:function(d,v,e){"use strict";var r=e(92916),i=e(94237),l=e(35454),c=e(3737),f=e(8090),o=e(68151),h=e(64110),u=e(66477),a=e(3338),x=e(56472),p=e(56902),y=e(61578),_=e(24225),b=e(14894),S=e(61618),k=e(53456),R=e(58218),A=e(80689).f,I=e(75202),M=e(71698),B=e(94573),N=e(94844),V=f.PROPER,W=f.CONFIGURABLE,H="ArrayBuffer",ae="DataView",ne="prototype",oe="Wrong length",J="Wrong index",q=N.getterFor(H),K=N.getterFor(ae),se=N.set,ee=r[H],Q=ee,le=Q&&Q[ne],z=r[ae],$=z&&z[ne],ie=Object.prototype,_e=r.Array,Ae=r.RangeError,Pe=i(I),We=i([].reverse),$e=S.pack,Lt=S.unpack,bt=function(Ge){return[Ge&255]},kt=function(Ge){return[Ge&255,Ge>>8&255]},Zt=function(Ge){return[Ge&255,Ge>>8&255,Ge>>16&255,Ge>>24&255]},Mt=function(Ge){return Ge[3]<<24|Ge[2]<<16|Ge[1]<<8|Ge[0]},tr=function(Ge){return $e(b(Ge),23,4)},je=function(Ge){return $e(Ge,52,8)},wt=function(Ge,He,Ye){h(Ge[ne],He,{configurable:!0,get:function(){return Ye(this)[He]}})},Ft=function(Ge,He,Ye,dt){var xt=K(Ge),nr=_(Ye),qt=!!dt;if(nr+He>xt.byteLength)throw new Ae(J);var Me=xt.bytes,qe=nr+xt.byteOffset,Vt=M(Me,qe,qe+He);return qt?Vt:We(Vt)},tt=function(Ge,He,Ye,dt,xt,nr){var qt=K(Ge),Me=_(Ye),qe=dt(+xt),Vt=!!nr;if(Me+He>qt.byteLength)throw new Ae(J);for(var Rt=qt.bytes,zt=Me+qt.byteOffset,Ht=0;Ht<He;Ht++)Rt[zt+Ht]=qe[Vt?Ht:He-Ht-1]};if(!c)Q=function(He){x(this,le);var Ye=_(He);se(this,{type:H,bytes:Pe(_e(Ye),0),byteLength:Ye}),l||(this.byteLength=Ye,this.detached=!1)},le=Q[ne],z=function(He,Ye,dt){x(this,$),x(He,le);var xt=q(He),nr=xt.byteLength,qt=p(Ye);if(qt<0||qt>nr)throw new Ae("Wrong offset");if(dt=dt===void 0?nr-qt:y(dt),qt+dt>nr)throw new Ae(oe);se(this,{type:ae,buffer:He,byteLength:dt,byteOffset:qt,bytes:xt.bytes}),l||(this.buffer=He,this.byteLength=dt,this.byteOffset=qt)},$=z[ne],l&&(wt(Q,"byteLength",q),wt(z,"buffer",K),wt(z,"byteLength",K),wt(z,"byteOffset",K)),u($,{getInt8:function(He){return Ft(this,1,He)[0]<<24>>24},getUint8:function(He){return Ft(this,1,He)[0]},getInt16:function(He){var Ye=Ft(this,2,He,arguments.length>1?arguments[1]:!1);return(Ye[1]<<8|Ye[0])<<16>>16},getUint16:function(He){var Ye=Ft(this,2,He,arguments.length>1?arguments[1]:!1);return Ye[1]<<8|Ye[0]},getInt32:function(He){return Mt(Ft(this,4,He,arguments.length>1?arguments[1]:!1))},getUint32:function(He){return Mt(Ft(this,4,He,arguments.length>1?arguments[1]:!1))>>>0},getFloat32:function(He){return Lt(Ft(this,4,He,arguments.length>1?arguments[1]:!1),23)},getFloat64:function(He){return Lt(Ft(this,8,He,arguments.length>1?arguments[1]:!1),52)},setInt8:function(He,Ye){tt(this,1,He,bt,Ye)},setUint8:function(He,Ye){tt(this,1,He,bt,Ye)},setInt16:function(He,Ye){tt(this,2,He,kt,Ye,arguments.length>2?arguments[2]:!1)},setUint16:function(He,Ye){tt(this,2,He,kt,Ye,arguments.length>2?arguments[2]:!1)},setInt32:function(He,Ye){tt(this,4,He,Zt,Ye,arguments.length>2?arguments[2]:!1)},setUint32:function(He,Ye){tt(this,4,He,Zt,Ye,arguments.length>2?arguments[2]:!1)},setFloat32:function(He,Ye){tt(this,4,He,tr,Ye,arguments.length>2?arguments[2]:!1)},setFloat64:function(He,Ye){tt(this,8,He,je,Ye,arguments.length>2?arguments[2]:!1)}});else{var gt=V&&ee.name!==H;if(!a(function(){ee(1)})||!a(function(){new ee(-1)})||a(function(){return new ee,new ee(1.5),new ee(NaN),ee.length!==1||gt&&!W})){Q=function(He){return x(this,le),new ee(_(He))},Q[ne]=le;for(var ft=A(ee),Qe=0,Ne;ft.length>Qe;)(Ne=ft[Qe++])in Q||o(Q,Ne,ee[Ne]);le.constructor=Q}else gt&&W&&o(ee,"name",H);R&&k($)!==ie&&R($,ie);var xe=new z(new Q(2)),ke=i($.setInt8);xe.setInt8(0,2147483648),xe.setInt8(1,2147483649),(xe.getInt8(0)||!xe.getInt8(1))&&u($,{setInt8:function(He,Ye){ke(this,He,Ye<<24>>24)},setUint8:function(He,Ye){ke(this,He,Ye<<24>>24)}},{unsafe:!0})}B(Q,H),B(z,ae),d.exports={ArrayBuffer:Q,DataView:z}},92670:function(d,v,e){"use strict";var r=e(94029),i=e(51981),l=e(82762),c=e(84233),f=Math.min;d.exports=[].copyWithin||function(h,u){var a=r(this),x=l(a),p=i(h,x),y=i(u,x),_=arguments.length>2?arguments[2]:void 0,b=f((_===void 0?x:i(_,x))-y,x-p),S=1;for(y<p&&p<y+b&&(S=-1,y+=b-1,p+=b-1);b-- >0;)y in a?a[p]=a[y]:c(a,p),p+=S,y+=S;return a}},75202:function(d,v,e){"use strict";var r=e(94029),i=e(51981),l=e(82762);d.exports=function(f){for(var o=r(this),h=l(o),u=arguments.length,a=i(u>1?arguments[1]:void 0,h),x=u>2?arguments[2]:void 0,p=x===void 0?h:i(x,h);p>a;)o[a++]=f;return o}},59594:function(d,v,e){"use strict";var r=e(90560).forEach,i=e(45601),l=i("forEach");d.exports=l?[].forEach:function(f){return r(this,f,arguments.length>1?arguments[1]:void 0)}},32278:function(d,v,e){"use strict";var r=e(80666),i=e(94237),l=e(94029),c=e(39812),f=e(69034),o=e(85428),h=e(10731),u=e(26006),a=e(53776),x=e(65911),p=e(55174),y=e(59893),_=e(57975),b=e(55266).toArray,S=y("asyncIterator"),k=i(p("Array","values")),R=i(k([]).next),A=function(){return new I(this)},I=function(M){this.iterator=k(M)};I.prototype.next=function(){return R(this.iterator)},d.exports=function(B){var N=this,V=arguments.length,W=V>1?arguments[1]:void 0,H=V>2?arguments[2]:void 0;return new(x("Promise"))(function(ae){var ne=l(B);W!==void 0&&(W=r(W,H));var oe=a(ne,S),J=oe?void 0:u(ne)||A,q=c(N)?new N:[],K=oe?f(ne,oe):new _(h(o(ne,J)));ae(b(K,W,q))})}},69478:function(d,v,e){"use strict";var r=e(82762);d.exports=function(i,l,c){for(var f=0,o=arguments.length>2?c:r(l),h=new i(o);o>f;)h[f]=l[f++];return h}},60255:function(d,v,e){"use strict";var r=e(80666),i=e(89945),l=e(94029),c=e(46319),f=e(345),o=e(39812),h=e(82762),u=e(69392),a=e(85428),x=e(26006),p=Array;d.exports=function(_){var b=l(_),S=o(this),k=arguments.length,R=k>1?arguments[1]:void 0,A=R!==void 0;A&&(R=r(R,k>2?arguments[2]:void 0));var I=x(b),M=0,B,N,V,W,H,ae;if(I&&!(this===p&&f(I)))for(W=a(b,I),H=W.next,N=S?new this:[];!(V=i(H,W)).done;M++)ae=A?c(W,R,[V.value,M],!0):V.value,u(N,M,ae);else for(B=h(b),N=S?new this(B):p(B);B>M;M++)ae=A?R(b[M],M):b[M],u(N,M,ae);return N.length=M,N}},33940:function(d,v,e){"use strict";var r=e(80666),i=e(94237),l=e(1835),c=e(94029),f=e(82762),o=e(2786),h=o.Map,u=o.get,a=o.has,x=o.set,p=i([].push);d.exports=function(_){for(var b=c(this),S=l(b),k=r(_,arguments.length>1?arguments[1]:void 0),R=new h,A=f(S),I=0,M,B;A>I;I++)B=S[I],M=k(B,I,b),a(R,M)?p(u(R,M),B):x(R,M,[B]);return R}},36444:function(d,v,e){"use strict";var r=e(80666),i=e(94237),l=e(1835),c=e(94029),f=e(17818),o=e(82762),h=e(20132),u=e(69478),a=Array,x=i([].push);d.exports=function(p,y,_,b){for(var S=c(p),k=l(S),R=r(y,_),A=h(null),I=o(k),M=0,B,N,V;I>M;M++)V=k[M],N=f(R(V,M,S)),N in A?x(A[N],V):A[N]=[V];if(b&&(B=b(S),B!==a))for(N in A)A[N]=u(B,A[N]);return A}},22999:function(d,v,e){"use strict";var r=e(80524),i=e(51981),l=e(82762),c=function(f){return function(o,h,u){var a=r(o),x=l(a),p=i(u,x),y;if(f&&h!==h){for(;x>p;)if(y=a[p++],y!==y)return!0}else for(;x>p;p++)if((f||p in a)&&a[p]===h)return f||p||0;return!f&&-1}};d.exports={includes:c(!0),indexOf:c(!1)}},53279:function(d,v,e){"use strict";var r=e(80666),i=e(1835),l=e(94029),c=e(82762),f=function(o){var h=o===1;return function(u,a,x){for(var p=l(u),y=i(p),_=c(y),b=r(a,x),S,k;_-- >0;)if(S=y[_],k=b(S,_,p),k)switch(o){case 0:return S;case 1:return _}return h?-1:void 0}};d.exports={findLast:f(0),findLastIndex:f(1)}},90560:function(d,v,e){"use strict";var r=e(80666),i=e(94237),l=e(1835),c=e(94029),f=e(82762),o=e(81427),h=i([].push),u=function(a){var x=a===1,p=a===2,y=a===3,_=a===4,b=a===6,S=a===7,k=a===5||b;return function(R,A,I,M){for(var B=c(R),N=l(B),V=f(N),W=r(A,I),H=0,ae=M||o,ne=x?ae(R,V):p||S?ae(R,0):void 0,oe,J;V>H;H++)if((k||H in N)&&(oe=N[H],J=W(oe,H,B),a))if(x)ne[H]=J;else if(J)switch(a){case 3:return!0;case 5:return oe;case 6:return H;case 2:h(ne,oe)}else switch(a){case 4:return!1;case 7:h(ne,oe)}return b?-1:y||_?_:ne}};d.exports={forEach:u(0),map:u(1),filter:u(2),some:u(3),every:u(4),find:u(5),findIndex:u(6),filterReject:u(7)}},55009:function(d,v,e){"use strict";var r=e(13743),i=e(80524),l=e(56902),c=e(82762),f=e(45601),o=Math.min,h=[].lastIndexOf,u=!!h&&1/[1].lastIndexOf(1,-0)<0,a=f("lastIndexOf"),x=u||!a;d.exports=x?function(y){if(u)return r(h,this,arguments)||0;var _=i(this),b=c(_),S=b-1;for(arguments.length>1&&(S=o(S,l(arguments[1]))),S<0&&(S=b+S);S>=0;S--)if(S in _&&_[S]===y)return S||0;return-1}:h},17480:function(d,v,e){"use strict";var r=e(3338),i=e(59893),l=e(46573),c=i("species");d.exports=function(f){return l>=51||!r(function(){var o=[],h=o.constructor={};return h[c]=function(){return{foo:1}},o[f](Boolean).foo!==1})}},45601:function(d,v,e){"use strict";var r=e(3338);d.exports=function(i,l){var c=[][i];return!!c&&r(function(){c.call(null,l||function(){return 1},1)})}},16370:function(d,v,e){"use strict";var r=e(63335),i=e(94029),l=e(1835),c=e(82762),f=TypeError,o=function(h){return function(u,a,x,p){var y=i(u),_=l(y),b=c(y);r(a);var S=h?b-1:0,k=h?-1:1;if(x<2)for(;;){if(S in _){p=_[S],S+=k;break}if(S+=k,h?S<0:b<=S)throw new f("Reduce of empty array with no initial value")}for(;h?S>=0:b>S;S+=k)S in _&&(p=a(p,_[S],S,y));return p}};d.exports={left:o(!1),right:o(!0)}},39428:function(d,v,e){"use strict";var r=e(35454),i=e(18589),l=TypeError,c=Object.getOwnPropertyDescriptor,f=r&&!function(){if(this!==void 0)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(o){return o instanceof TypeError}}();d.exports=f?function(o,h){if(i(o)&&!c(o,"length").writable)throw new l("Cannot set read only .length");return o.length=h}:function(o,h){return o.length=h}},71698:function(d,v,e){"use strict";var r=e(51981),i=e(82762),l=e(69392),c=Array,f=Math.max;d.exports=function(o,h,u){for(var a=i(o),x=r(h,a),p=r(u===void 0?a:u,a),y=c(f(p-x,0)),_=0;x<p;x++,_++)l(y,_,o[x]);return y.length=_,y}},30867:function(d,v,e){"use strict";var r=e(94237);d.exports=r([].slice)},63668:function(d,v,e){"use strict";var r=e(71698),i=Math.floor,l=function(o,h){var u=o.length,a=i(u/2);return u<8?c(o,h):f(o,l(r(o,0,a),h),l(r(o,a),h),h)},c=function(o,h){for(var u=o.length,a=1,x,p;a<u;){for(p=a,x=o[a];p&&h(o[p-1],x)>0;)o[p]=o[--p];p!==a++&&(o[p]=x)}return o},f=function(o,h,u,a){for(var x=h.length,p=u.length,y=0,_=0;y<x||_<p;)o[y+_]=y<x&&_<p?a(h[y],u[_])<=0?h[y++]:u[_++]:y<x?h[y++]:u[_++];return o};d.exports=l},34487:function(d,v,e){"use strict";var r=e(18589),i=e(39812),l=e(31946),c=e(59893),f=c("species"),o=Array;d.exports=function(h){var u;return r(h)&&(u=h.constructor,i(u)&&(u===o||r(u.prototype))?u=void 0:l(u)&&(u=u[f],u===null&&(u=void 0))),u===void 0?o:u}},81427:function(d,v,e){"use strict";var r=e(34487);d.exports=function(i,l){return new(r(i))(l===0?0:l)}},85903:function(d,v,e){"use strict";var r=e(82762);d.exports=function(i,l){for(var c=r(i),f=new l(c),o=0;o<c;o++)f[o]=i[c-o-1];return f}},65621:function(d,v,e){"use strict";var r=e(94237),i=e(63335),l=e(4112),c=e(82762),f=e(94029),o=e(2786),h=e(95037),u=o.Map,a=o.has,x=o.set,p=r([].push);d.exports=function(_){var b=f(this),S=c(b),k=[],R=new u,A=l(_)?function(N){return N}:i(_),I,M,B;for(I=0;I<S;I++)M=b[I],B=A(M),a(R,B)||x(R,B,M);return h(R,function(N){p(k,N)}),k}},82041:function(d,v,e){"use strict";var r=e(82762),i=e(56902),l=RangeError;d.exports=function(c,f,o,h){var u=r(c),a=i(o),x=a<0?u+a:a;if(x>=u||x<0)throw new l("Incorrect index");for(var p=new f(u),y=0;y<u;y++)p[y]=y===x?h:c[y];return p}},57975:function(d,v,e){"use strict";var r=e(89945),i=e(80449),l=e(20132),c=e(53776),f=e(66477),o=e(94844),h=e(65911),u=e(14052),a=e(25587),x=h("Promise"),p="AsyncFromSyncIterator",y=o.set,_=o.getterFor(p),b=function(k,R,A){var I=k.done;x.resolve(k.value).then(function(M){R(a(M,I))},A)},S=function(R){R.type=p,y(this,R)};S.prototype=f(l(u),{next:function(){var R=_(this);return new x(function(A,I){var M=i(r(R.next,R.iterator));b(M,A,I)})},return:function(){var k=_(this).iterator;return new x(function(R,A){var I=c(k,"return");if(I===void 0)return R(a(void 0,!0));var M=i(r(I,k));b(M,R,A)})}}),d.exports=S},28255:function(d,v,e){"use strict";var r=e(89945),i=e(65911),l=e(53776);d.exports=function(c,f,o,h){try{var u=l(c,"return");if(u)return i("Promise").resolve(r(u,c)).then(function(){f(o)},function(a){h(a)})}catch(a){return h(a)}f(o)}},31342:function(d,v,e){"use strict";var r=e(89945),i=e(80734),l=e(80449),c=e(20132),f=e(68151),o=e(66477),h=e(59893),u=e(94844),a=e(65911),x=e(53776),p=e(14052),y=e(25587),_=e(67996),b=a("Promise"),S=h("toStringTag"),k="AsyncIteratorHelper",R="WrapForValidAsyncIterator",A=u.set,I=function(N){var V=!N,W=u.getterFor(N?R:k),H=function(ae){var ne=i(function(){return W(ae)}),oe=ne.error,J=ne.value;return oe||V&&J.done?{exit:!0,value:oe?b.reject(J):b.resolve(y(void 0,!0))}:{exit:!1,value:J}};return o(c(p),{next:function(){var ne=H(this),oe=ne.value;if(ne.exit)return oe;var J=i(function(){return l(oe.nextHandler(b))}),q=J.error,K=J.value;return q&&(oe.done=!0),q?b.reject(K):b.resolve(K)},return:function(){var ae=H(this),ne=ae.value;if(ae.exit)return ne;ne.done=!0;var oe=ne.iterator,J,q,K=i(function(){if(ne.inner)try{_(ne.inner.iterator,"normal")}catch(se){return _(oe,"throw",se)}return x(oe,"return")});return J=q=K.value,K.error?b.reject(q):J===void 0?b.resolve(y(void 0,!0)):(K=i(function(){return r(J,oe)}),q=K.value,K.error?b.reject(q):N?b.resolve(q):b.resolve(q).then(function(se){return l(se),y(void 0,!0)}))}})},M=I(!0),B=I(!1);f(B,S,"Async Iterator Helper"),d.exports=function(N,V){var W=function(ae,ne){ne?(ne.iterator=ae.iterator,ne.next=ae.next):ne=ae,ne.type=V?R:k,ne.nextHandler=N,ne.counter=0,ne.done=!1,A(this,ne)};return W.prototype=V?M:B,W}},34535:function(d,v,e){"use strict";var r=e(89945),i=e(41586),l=function(c,f){return[f,c]};d.exports=function(){return r(i,this,l)}},55266:function(d,v,e){"use strict";var r=e(89945),i=e(63335),l=e(80449),c=e(31946),f=e(66434),o=e(65911),h=e(10731),u=e(28255),a=function(x){var p=x===0,y=x===1,_=x===2,b=x===3;return function(S,k,R){l(S);var A=k!==void 0;(A||!p)&&i(k);var I=h(S),M=o("Promise"),B=I.iterator,N=I.next,V=0;return new M(function(W,H){var ae=function(oe){u(B,H,oe,H)},ne=function(){try{if(A)try{f(V)}catch(oe){ae(oe)}M.resolve(l(r(N,B))).then(function(oe){try{if(l(oe).done)p?(R.length=V,W(R)):W(b?!1:_||void 0);else{var J=oe.value;try{if(A){var q=k(J,V),K=function(se){if(y)ne();else if(_)se?ne():u(B,W,!1,H);else if(p)try{R[V++]=se,ne()}catch(ee){ae(ee)}else se?u(B,W,b||J,H):ne()};c(q)?M.resolve(q).then(K,ae):K(q)}else R[V++]=J,ne()}catch(se){ae(se)}}}catch(se){H(se)}},H)}catch(oe){H(oe)}};ne()})}};d.exports={toArray:a(0),forEach:a(1),every:a(2),some:a(3),find:a(4)}},41586:function(d,v,e){"use strict";var r=e(89945),i=e(63335),l=e(80449),c=e(31946),f=e(10731),o=e(31342),h=e(25587),u=e(28255),a=o(function(x){var p=this,y=p.iterator,_=p.mapper;return new x(function(b,S){var k=function(A){p.done=!0,S(A)},R=function(A){u(y,k,A,k)};x.resolve(l(r(p.next,y))).then(function(A){try{if(l(A).done)p.done=!0,b(h(void 0,!0));else{var I=A.value;try{var M=_(I,p.counter++),B=function(N){b(h(N,!1))};c(M)?x.resolve(M).then(B,R):B(M)}catch(N){R(N)}}}catch(N){k(N)}},k)})});d.exports=function(p){return l(this),i(p),new a(f(this),{mapper:p})}},14052:function(d,v,e){"use strict";var r=e(92916),i=e(77398),l=e(55327),c=e(20132),f=e(53456),o=e(2291),h=e(59893),u=e(16697),a="USE_FUNCTION_CONSTRUCTOR",x=h("asyncIterator"),p=r.AsyncIterator,y=i.AsyncIteratorPrototype,_,b;if(y)_=y;else if(l(p))_=p.prototype;else if(i[a]||r[a])try{b=f(f(f(Function("return async function*(){}()")()))),f(b)===Object.prototype&&(_=b)}catch(S){}_?u&&(_=c(_)):_={},l(_[x])||o(_,x,function(){return this}),d.exports=_},80025:function(d,v,e){"use strict";var r=e(89945),i=e(31342);d.exports=i(function(){return r(this.next,this.iterator)},!0)},66244:function(d){"use strict";var v="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",e=v+"+/",r=v+"-_",i=function(l){for(var c={},f=0;f<64;f++)c[l.charAt(f)]=f;return c};d.exports={i2c:e,c2i:i(e),i2cUrl:r,c2iUrl:i(r)}},46319:function(d,v,e){"use strict";var r=e(80449),i=e(67996);d.exports=function(l,c,f,o){try{return o?c(r(f)[0],f[1]):c(f)}catch(h){i(l,"throw",h)}}},35221:function(d,v,e){"use strict";var r=e(59893),i=r("iterator"),l=!1;try{var c=0,f={next:function(){return{done:!!c++}},return:function(){l=!0}};f[i]=function(){return this},Array.from(f,function(){throw 2})}catch(o){}d.exports=function(o,h){try{if(!h&&!l)return!1}catch(x){return!1}var u=!1;try{var a={};a[i]=function(){return{next:function(){return{done:u=!0}}}},o(a)}catch(x){}return u}},29076:function(d,v,e){"use strict";var r=e(94237),i=r({}.toString),l=r("".slice);d.exports=function(c){return l(i(c),8,-1)}},97607:function(d,v,e){"use strict";var r=e(68527),i=e(55327),l=e(29076),c=e(59893),f=c("toStringTag"),o=Object,h=l(function(){return arguments}())==="Arguments",u=function(a,x){try{return a[x]}catch(p){}};d.exports=r?l:function(a){var x,p,y;return a===void 0?"Undefined":a===null?"Null":typeof(p=u(x=o(a),f))=="string"?p:h?l(x):(y=l(x))==="Object"&&i(x.callee)?"Arguments":y}},72846:function(d,v,e){"use strict";var r=e(80666),i=e(89945),l=e(63335),c=e(6086),f=e(4112),o=e(62003),h=[].push;d.exports=function(a){var x=arguments.length,p=x>1?arguments[1]:void 0,y,_,b,S;return c(this),y=p!==void 0,y&&l(p),f(a)?new this:(_=[],y?(b=0,S=r(p,x>2?arguments[2]:void 0),o(a,function(k){i(h,_,S(k,b++))})):o(a,h,{that:_}),new this(_))}},48800:function(d,v,e){"use strict";var r=e(30867);d.exports=function(){return new this(r(arguments))}},40942:function(d,v,e){"use strict";var r=e(20132),i=e(64110),l=e(66477),c=e(80666),f=e(56472),o=e(4112),h=e(62003),u=e(24019),a=e(25587),x=e(51996),p=e(35454),y=e(2074).fastKey,_=e(94844),b=_.set,S=_.getterFor;d.exports={getConstructor:function(k,R,A,I){var M=k(function(H,ae){f(H,B),b(H,{type:R,index:r(null),first:void 0,last:void 0,size:0}),p||(H.size=0),o(ae)||h(ae,H[I],{that:H,AS_ENTRIES:A})}),B=M.prototype,N=S(R),V=function(H,ae,ne){var oe=N(H),J=W(H,ae),q,K;return J?J.value=ne:(oe.last=J={index:K=y(ae,!0),key:ae,value:ne,previous:q=oe.last,next:void 0,removed:!1},oe.first||(oe.first=J),q&&(q.next=J),p?oe.size++:H.size++,K!=="F"&&(oe.index[K]=J)),H},W=function(H,ae){var ne=N(H),oe=y(ae),J;if(oe!=="F")return ne.index[oe];for(J=ne.first;J;J=J.next)if(J.key===ae)return J};return l(B,{clear:function(){for(var ae=this,ne=N(ae),oe=ne.index,J=ne.first;J;)J.removed=!0,J.previous&&(J.previous=J.previous.next=void 0),delete oe[J.index],J=J.next;ne.first=ne.last=void 0,p?ne.size=0:ae.size=0},delete:function(H){var ae=this,ne=N(ae),oe=W(ae,H);if(oe){var J=oe.next,q=oe.previous;delete ne.index[oe.index],oe.removed=!0,q&&(q.next=J),J&&(J.previous=q),ne.first===oe&&(ne.first=J),ne.last===oe&&(ne.last=q),p?ne.size--:ae.size--}return!!oe},forEach:function(ae){for(var ne=N(this),oe=c(ae,arguments.length>1?arguments[1]:void 0),J;J=J?J.next:ne.first;)for(oe(J.value,J.key,this);J&&J.removed;)J=J.previous},has:function(ae){return!!W(this,ae)}}),l(B,A?{get:function(ae){var ne=W(this,ae);return ne&&ne.value},set:function(ae,ne){return V(this,ae===0?0:ae,ne)}}:{add:function(ae){return V(this,ae=ae===0?0:ae,ae)}}),p&&i(B,"size",{configurable:!0,get:function(){return N(this).size}}),M},setStrong:function(k,R,A){var I=R+" Iterator",M=S(R),B=S(I);u(k,R,function(N,V){b(this,{type:I,target:N,state:M(N),kind:V,last:void 0})},function(){for(var N=B(this),V=N.kind,W=N.last;W&&W.removed;)W=W.previous;return!N.target||!(N.last=W=W?W.next:N.state.first)?(N.target=void 0,a(void 0,!0)):a(V==="keys"?W.key:V==="values"?W.value:[W.key,W.value],!1)},A?"entries":"values",!A,!0),x(R)}}},39656:function(d,v,e){"use strict";var r=e(94237),i=e(66477),l=e(2074).getWeakData,c=e(56472),f=e(80449),o=e(4112),h=e(31946),u=e(62003),a=e(90560),x=e(32621),p=e(94844),y=p.set,_=p.getterFor,b=a.find,S=a.findIndex,k=r([].splice),R=0,A=function(B){return B.frozen||(B.frozen=new I)},I=function(){this.entries=[]},M=function(B,N){return b(B.entries,function(V){return V[0]===N})};I.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 V=M(this,B);V?V[1]=N:this.entries.push([B,N])},delete:function(B){var N=S(this.entries,function(V){return V[0]===B});return~N&&k(this.entries,N,1),!!~N}},d.exports={getConstructor:function(B,N,V,W){var H=B(function(J,q){c(J,ae),y(J,{type:N,id:R++,frozen:void 0}),o(q)||u(q,J[W],{that:J,AS_ENTRIES:V})}),ae=H.prototype,ne=_(N),oe=function(J,q,K){var se=ne(J),ee=l(f(q),!0);return ee===!0?A(se).set(q,K):ee[se.id]=K,J};return i(ae,{delete:function(J){var q=ne(this);if(!h(J))return!1;var K=l(J);return K===!0?A(q).delete(J):K&&x(K,q.id)&&delete K[q.id]},has:function(q){var K=ne(this);if(!h(q))return!1;var se=l(q);return se===!0?A(K).has(q):se&&x(se,K.id)}}),i(ae,V?{get:function(q){var K=ne(this);if(h(q)){var se=l(q);return se===!0?A(K).get(q):se?se[K.id]:void 0}},set:function(q,K){return oe(this,q,K)}}:{add:function(q){return oe(this,q,!0)}}),H}}},48059:function(d,v,e){"use strict";var r=e(94488),i=e(92916),l=e(94237),c=e(20865),f=e(2291),o=e(2074),h=e(62003),u=e(56472),a=e(55327),x=e(4112),p=e(31946),y=e(3338),_=e(35221),b=e(94573),S=e(25576);d.exports=function(k,R,A){var I=k.indexOf("Map")!==-1,M=k.indexOf("Weak")!==-1,B=I?"set":"add",N=i[k],V=N&&N.prototype,W=N,H={},ae=function(ee){var Q=l(V[ee]);f(V,ee,ee==="add"?function(z){return Q(this,z===0?0:z),this}:ee==="delete"?function(le){return M&&!p(le)?!1:Q(this,le===0?0:le)}:ee==="get"?function(z){return M&&!p(z)?void 0:Q(this,z===0?0:z)}:ee==="has"?function(z){return M&&!p(z)?!1:Q(this,z===0?0:z)}:function(z,$){return Q(this,z===0?0:z,$),this})},ne=c(k,!a(N)||!(M||V.forEach&&!y(function(){new N().entries().next()})));if(ne)W=A.getConstructor(R,k,I,B),o.enable();else if(c(k,!0)){var oe=new W,J=oe[B](M?{}:-0,1)!==oe,q=y(function(){oe.has(1)}),K=_(function(ee){new N(ee)}),se=!M&&y(function(){for(var ee=new N,Q=5;Q--;)ee[B](Q,Q);return!ee.has(-0)});K||(W=R(function(ee,Q){u(ee,V);var le=S(new N,ee,W);return x(Q)||h(Q,le[B],{that:le,AS_ENTRIES:I}),le}),W.prototype=V,V.constructor=W),(q||se)&&(ae("delete"),ae("has"),I&&ae("get")),(se||J)&&ae(B),M&&V.clear&&delete V.clear}return H[k]=W,r({global:!0,constructor:!0,forced:W!==N},H),b(W,k),M||A.setStrong(W,k,I),W}},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,"&quot;")+'"'),p+">"+x+"</"+h+">"}},25587:function(d){"use strict";d.exports=function(v,e){return{value:v,done:e}}},68151:function(d,v,e){"use strict";var r=e(35454),i=e(37691),l=e(35012);d.exports=r?function(c,f,o){return i.f(c,f,l(1,o))}:function(c,f,o){return c[f]=o,c}},35012:function(d){"use strict";d.exports=function(v,e){return{enumerable:!(v&1),configurable:!(v&2),writable:!(v&4),value:e}}},69392:function(d,v,e){"use strict";var r=e(17818),i=e(37691),l=e(35012);d.exports=function(c,f,o){var h=r(f);h in c?i.f(c,h,l(0,o)):c[h]=o}},32494:function(d,v,e){"use strict";var r=e(94237),i=e(3338),l=e(85571).start,c=RangeError,f=isFinite,o=Math.abs,h=Date.prototype,u=h.toISOString,a=r(h.getTime),x=r(h.getUTCDate),p=r(h.getUTCFullYear),y=r(h.getUTCHours),_=r(h.getUTCMilliseconds),b=r(h.getUTCMinutes),S=r(h.getUTCMonth),k=r(h.getUTCSeconds);d.exports=i(function(){return u.call(new Date(-50000000000001))!=="0385-07-25T07:06:39.999Z"})||!i(function(){u.call(new Date(NaN))})?function(){if(!f(a(this)))throw new c("Invalid time value");var A=this,I=p(A),M=_(A),B=I<0?"-":I>9999?"+":"";return B+l(o(I),B?6:4,0)+"-"+l(S(A)+1,2,0)+"-"+l(x(A),2,0)+"T"+l(y(A),2,0)+":"+l(b(A),2,0)+":"+l(k(A),2,0)+"."+l(M,3,0)+"Z"}:u},77119:function(d,v,e){"use strict";var r=e(80449),i=e(44759),l=TypeError;d.exports=function(c){if(r(this),c==="string"||c==="default")c="string";else if(c!=="number")throw new l("Incorrect hint");return i(this,c)}},64110:function(d,v,e){"use strict";var r=e(86528),i=e(37691);d.exports=function(l,c,f){return f.get&&r(f.get,c,{getter:!0}),f.set&&r(f.set,c,{setter:!0}),i.f(l,c,f)}},2291:function(d,v,e){"use strict";var r=e(55327),i=e(37691),l=e(86528),c=e(29539);d.exports=function(f,o,h,u){u||(u={});var a=u.enumerable,x=u.name!==void 0?u.name:o;if(r(h)&&l(h,x,u),u.global)a?f[o]=h:c(o,h);else{try{u.unsafe?f[o]&&(a=!0):delete f[o]}catch(p){}a?f[o]=h:i.f(f,o,{value:h,enumerable:!1,configurable:!u.nonConfigurable,writable:!u.nonWritable})}return f}},66477:function(d,v,e){"use strict";var r=e(2291);d.exports=function(i,l,c){for(var f in l)r(i,f,l[f],c);return i}},29539:function(d,v,e){"use strict";var r=e(92916),i=Object.defineProperty;d.exports=function(l,c){try{i(r,l,{value:c,configurable:!0,writable:!0})}catch(f){r[l]=c}return c}},84233:function(d,v,e){"use strict";var r=e(40593),i=TypeError;d.exports=function(l,c){if(!delete l[c])throw new i("Cannot delete property "+r(c)+" of "+r(l))}},35454:function(d,v,e){"use strict";var r=e(3338);d.exports=!r(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!==7})},39311:function(d,v,e){"use strict";var r=e(92916),i=e(11270),l=e(80426),c=r.structuredClone,f=r.ArrayBuffer,o=r.MessageChannel,h=!1,u,a,x,p;if(l)h=function(y){c(y,{transfer:[y]})};else if(f)try{o||(u=i("worker_threads"),u&&(o=u.MessageChannel)),o&&(a=new o,x=new f(2),p=function(y){a.port1.postMessage(null,[y])},x.byteLength===2&&(p(x),x.byteLength===0&&(h=p)))}catch(y){}d.exports=h},81766:function(d){"use strict";var v=typeof document=="object"&&document.all,e=typeof v=="undefined"&&v!==void 0;d.exports={all:v,IS_HTMLDDA:e}},86060:function(d,v,e){"use strict";var r=e(92916),i=e(31946),l=r.document,c=i(l)&&i(l.createElement);d.exports=function(f){return c?l.createElement(f):{}}},66434:function(d){"use strict";var v=TypeError,e=9007199254740991;d.exports=function(r){if(r>e)throw v("Maximum allowed index exceeded");return r}},52109:function(d){"use strict";d.exports={IndexSizeError:{s:"INDEX_SIZE_ERR",c:1,m:1},DOMStringSizeError:{s:"DOMSTRING_SIZE_ERR",c:2,m:0},HierarchyRequestError:{s:"HIERARCHY_REQUEST_ERR",c:3,m:1},WrongDocumentError:{s:"WRONG_DOCUMENT_ERR",c:4,m:1},InvalidCharacterError:{s:"INVALID_CHARACTER_ERR",c:5,m:1},NoDataAllowedError:{s:"NO_DATA_ALLOWED_ERR",c:6,m:0},NoModificationAllowedError:{s:"NO_MODIFICATION_ALLOWED_ERR",c:7,m:1},NotFoundError:{s:"NOT_FOUND_ERR",c:8,m:1},NotSupportedError:{s:"NOT_SUPPORTED_ERR",c:9,m:1},InUseAttributeError:{s:"INUSE_ATTRIBUTE_ERR",c:10,m:1},InvalidStateError:{s:"INVALID_STATE_ERR",c:11,m:1},SyntaxError:{s:"SYNTAX_ERR",c:12,m:1},InvalidModificationError:{s:"INVALID_MODIFICATION_ERR",c:13,m:1},NamespaceError:{s:"NAMESPACE_ERR",c:14,m:1},InvalidAccessError:{s:"INVALID_ACCESS_ERR",c:15,m:1},ValidationError:{s:"VALIDATION_ERR",c:16,m:0},TypeMismatchError:{s:"TYPE_MISMATCH_ERR",c:17,m:1},SecurityError:{s:"SECURITY_ERR",c:18,m:1},NetworkError:{s:"NETWORK_ERR",c:19,m:1},AbortError:{s:"ABORT_ERR",c:20,m:1},URLMismatchError:{s:"URL_MISMATCH_ERR",c:21,m:1},QuotaExceededError:{s:"QUOTA_EXCEEDED_ERR",c:22,m:1},TimeoutError:{s:"TIMEOUT_ERR",c:23,m:1},InvalidNodeTypeError:{s:"INVALID_NODE_TYPE_ERR",c:24,m:1},DataCloneError:{s:"DATA_CLONE_ERR",c:25,m:1}}},66749:function(d){"use strict";d.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},9518:function(d,v,e){"use strict";var r=e(86060),i=r("span").classList,l=i&&i.constructor&&i.constructor.prototype;d.exports=l===Object.prototype?void 0:l},78177:function(d,v,e){"use strict";var r=e(66011),i=r.match(/firefox\/(\d+)/i);d.exports=!!i&&+i[1]},66994:function(d,v,e){"use strict";var r=e(91821),i=e(90946);d.exports=!r&&!i&&typeof window=="object"&&typeof document=="object"},90843:function(d){"use strict";d.exports=typeof Bun=="function"&&Bun&&typeof Bun.version=="string"},91821:function(d){"use strict";d.exports=typeof Deno=="object"&&Deno&&typeof Deno.version=="object"},17687:function(d,v,e){"use strict";var r=e(66011);d.exports=/MSIE|Trident/.test(r)},1908:function(d,v,e){"use strict";var r=e(66011);d.exports=/ipad|iphone|ipod/i.test(r)&&typeof Pebble!="undefined"},70695:function(d,v,e){"use strict";var r=e(66011);d.exports=/(?:ipad|iphone|ipod).*applewebkit/i.test(r)},90946:function(d,v,e){"use strict";var r=e(92916),i=e(29076);d.exports=i(r.process)==="process"},44914:function(d,v,e){"use strict";var r=e(66011);d.exports=/web0s(?!.*chrome)/i.test(r)},66011:function(d){"use strict";d.exports=typeof navigator!="undefined"&&String(navigator.userAgent)||""},46573:function(d,v,e){"use strict";var r=e(92916),i=e(66011),l=r.process,c=r.Deno,f=l&&l.versions||c&&c.version,o=f&&f.v8,h,u;o&&(h=o.split("."),u=h[0]>0&&h[0]<4?1:+(h[0]+h[1])),!u&&i&&(h=i.match(/Edge\/(\d+)/),(!h||h[1]>=74)&&(h=i.match(/Chrome\/(\d+)/),h&&(u=+h[1]))),d.exports=u},19684:function(d,v,e){"use strict";var r=e(66011),i=r.match(/AppleWebKit\/(\d+)\./);d.exports=!!i&&+i[1]},46678:function(d){"use strict";d.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},80739:function(d,v,e){"use strict";var r=e(94237),i=Error,l=r("".replace),c=function(h){return String(new i(h).stack)}("zxcasd"),f=/\n\s*at [^:]*:[^\n]*/,o=f.test(c);d.exports=function(h,u){if(o&&typeof h=="string"&&!i.prepareStackTrace)for(;u--;)h=l(h,f,"");return h}},61888:function(d,v,e){"use strict";var r=e(68151),i=e(80739),l=e(25406),c=Error.captureStackTrace;d.exports=function(f,o,h,u){l&&(c?c(f,o):r(f,"stack",i(h,u)))}},25406:function(d,v,e){"use strict";var r=e(3338),i=e(35012);d.exports=!r(function(){var l=new Error("a");return"stack"in l?(Object.defineProperty(l,"stack",i(1,7)),l.stack!==7):!0})},13367:function(d,v,e){"use strict";var r=e(35454),i=e(3338),l=e(80449),c=e(7825),f=Error.prototype.toString,o=i(function(){if(r){var h=Object.create(Object.defineProperty({},"name",{get:function(){return this===h}}));if(f.call(h)!=="true")return!0}return f.call({message:1,name:2})!=="2: 1"||f.call({})!=="Error"});d.exports=o?function(){var u=l(this),a=c(u.name,"Error"),x=c(u.message);return a?x?a+": "+x:a:x}:f},94488:function(d,v,e){"use strict";var r=e(92916),i=e(71256).f,l=e(68151),c=e(2291),f=e(29539),o=e(24538),h=e(20865);d.exports=function(u,a){var x=u.target,p=u.global,y=u.stat,_,b,S,k,R,A;if(p?b=r:y?b=r[x]||f(x,{}):b=(r[x]||{}).prototype,b)for(S in a){if(R=a[S],u.dontCallGetSet?(A=i(b,S),k=A&&A.value):k=b[S],_=h(p?S:x+(y?".":"#")+S,u.forced),!_&&k!==void 0){if(typeof R==typeof k)continue;o(R,k)}(u.sham||k&&k.sham)&&l(R,"sham",!0),c(b,S,R,u)}}},3338:function(d){"use strict";d.exports=function(v){try{return!!v()}catch(e){return!0}}},8662:function(d,v,e){"use strict";e(44001);var r=e(34114),i=e(2291),l=e(88736),c=e(3338),f=e(59893),o=e(68151),h=f("species"),u=RegExp.prototype;d.exports=function(a,x,p,y){var _=f(a),b=!c(function(){var A={};return A[_]=function(){return 7},""[a](A)!==7}),S=b&&!c(function(){var A=!1,I=/a/;return a==="split"&&(I={},I.constructor={},I.constructor[h]=function(){return I},I.flags="",I[_]=/./[_]),I.exec=function(){return A=!0,null},I[_](""),!A});if(!b||!S||p){var k=r(/./[_]),R=x(_,""[a],function(A,I,M,B,N){var V=r(A),W=I.exec;return W===l||W===u.exec?b&&!N?{done:!0,value:k(I,M,B)}:{done:!0,value:V(M,I,B)}:{done:!1}});i(String.prototype,a,R[0]),i(u,_,R[1])}y&&o(u[_],"sham",!0)}},3372:function(d,v,e){"use strict";var r=e(18589),i=e(82762),l=e(66434),c=e(80666),f=function(o,h,u,a,x,p,y,_){for(var b=x,S=0,k=y?c(y,_):!1,R,A;S<a;)S in u&&(R=k?k(u[S],S,h):u[S],p>0&&r(R)?(A=i(R),b=f(o,h,R,A,b,p-1)-1):(l(b+1),o[b]=R),b++),S++;return b};d.exports=f},13247:function(d,v,e){"use strict";var r=e(3338);d.exports=!r(function(){return Object.isExtensible(Object.preventExtensions({}))})},13743:function(d,v,e){"use strict";var r=e(40486),i=Function.prototype,l=i.apply,c=i.call;d.exports=typeof Reflect=="object"&&Reflect.apply||(r?c.bind(l):function(){return c.apply(l,arguments)})},80666:function(d,v,e){"use strict";var r=e(34114),i=e(63335),l=e(40486),c=r(r.bind);d.exports=function(f,o){return i(f),o===void 0?f:l?c(f,o):function(){return f.apply(o,arguments)}}},40486:function(d,v,e){"use strict";var r=e(3338);d.exports=!r(function(){var i=function(){}.bind();return typeof i!="function"||i.hasOwnProperty("prototype")})},4645:function(d,v,e){"use strict";var r=e(94237),i=e(63335),l=e(31946),c=e(32621),f=e(30867),o=e(40486),h=Function,u=r([].concat),a=r([].join),x={},p=function(y,_,b){if(!c(x,_)){for(var S=[],k=0;k<_;k++)S[k]="a["+k+"]";x[_]=h("C,a","return new C("+a(S,",")+")")}return x[_](y,b)};d.exports=o?h.bind:function(_){var b=i(this),S=b.prototype,k=f(arguments,1),R=function(){var I=u(k,f(arguments));return this instanceof R?p(b,I.length,I):b.apply(_,I)};return l(S)&&(R.prototype=S),R}},89945:function(d,v,e){"use strict";var r=e(40486),i=Function.prototype.call;d.exports=r?i.bind(i):function(){return i.apply(i,arguments)}},47739:function(d,v,e){"use strict";var r=e(94237),i=e(63335);d.exports=function(){return r(i(this))}},8090:function(d,v,e){"use strict";var r=e(35454),i=e(32621),l=Function.prototype,c=r&&Object.getOwnPropertyDescriptor,f=i(l,"name"),o=f&&function(){}.name==="something",h=f&&(!r||r&&c(l,"name").configurable);d.exports={EXISTS:f,PROPER:o,CONFIGURABLE:h}},37758:function(d,v,e){"use strict";var r=e(94237),i=e(63335);d.exports=function(l,c,f){try{return r(i(Object.getOwnPropertyDescriptor(l,c)[f]))}catch(o){}}},34114:function(d,v,e){"use strict";var r=e(29076),i=e(94237);d.exports=function(l){if(r(l)==="Function")return i(l)}},94237:function(d,v,e){"use strict";var r=e(40486),i=Function.prototype,l=i.call,c=r&&i.bind.bind(l,l);d.exports=r?c:function(f){return function(){return l.apply(f,arguments)}}},81750:function(d){"use strict";var v=TypeError;d.exports=function(e){var r=e&&e.alphabet;if(r===void 0||r==="base64"||r==="base64url")return r||"base64";throw new v("Incorrect `alphabet` option")}},38116:function(d,v,e){"use strict";var r=e(89945),i=e(55327),l=e(80449),c=e(10731),f=e(26006),o=e(53776),h=e(59893),u=e(57975),a=h("asyncIterator");d.exports=function(x){var p=l(x),y=!0,_=o(p,a),b;return i(_)||(_=f(p),y=!1),_!==void 0?b=r(_,p):(b=p,y=!0),l(b),c(y?b:new u(c(b)))}},69034:function(d,v,e){"use strict";var r=e(89945),i=e(57975),l=e(80449),c=e(85428),f=e(10731),o=e(53776),h=e(59893),u=h("asyncIterator");d.exports=function(a,x){var p=arguments.length<2?o(a,u):x;return p?l(r(p,a)):new i(f(c(a)))}},55174:function(d,v,e){"use strict";var r=e(92916);d.exports=function(i,l){var c=r[i],f=c&&c.prototype;return f&&f[l]}},65911:function(d,v,e){"use strict";var r=e(92916),i=e(55327),l=function(c){return i(c)?c:void 0};d.exports=function(c,f){return arguments.length<2?l(r[c]):r[c]&&r[c][f]}},10731:function(d){"use strict";d.exports=function(v){return{iterator:v,next:v.next,done:!1}}},7157:function(d,v,e){"use strict";var r=e(89945),i=e(80449),l=e(10731),c=e(26006);d.exports=function(f,o){(!o||typeof f!="string")&&i(f);var h=c(f);return l(i(h!==void 0?r(h,f):f))}},26006:function(d,v,e){"use strict";var r=e(97607),i=e(53776),l=e(4112),c=e(48074),f=e(59893),o=f("iterator");d.exports=function(h){if(!l(h))return i(h,o)||i(h,"@@iterator")||c[r(h)]}},85428:function(d,v,e){"use strict";var r=e(89945),i=e(63335),l=e(80449),c=e(40593),f=e(26006),o=TypeError;d.exports=function(h,u){var a=arguments.length<2?f(h):u;if(i(a))return l(r(a,h));throw new o(c(h)+" is not iterable")}},65451:function(d,v,e){"use strict";var r=e(94237),i=e(18589),l=e(55327),c=e(29076),f=e(69905),o=r([].push);d.exports=function(h){if(l(h))return h;if(i(h)){for(var u=h.length,a=[],x=0;x<u;x++){var p=h[x];typeof p=="string"?o(a,p):(typeof p=="number"||c(p)==="Number"||c(p)==="String")&&o(a,f(p))}var y=a.length,_=!0;return function(b,S){if(_)return _=!1,S;if(i(this))return S;for(var k=0;k<y;k++)if(a[k]===b)return S}}}},53776:function(d,v,e){"use strict";var r=e(63335),i=e(4112);d.exports=function(l,c){var f=l[c];return i(f)?void 0:r(f)}},88203:function(d,v,e){"use strict";var r=e(63335),i=e(80449),l=e(89945),c=e(56902),f=e(10731),o="Invalid size",h=RangeError,u=TypeError,a=Math.max,x=function(p,y,_,b){this.set=p,this.size=y,this.has=_,this.keys=b};x.prototype={getIterator:function(){return f(i(l(this.keys,this.set)))},includes:function(p){return l(this.has,this.set,p)}},d.exports=function(p){i(p);var y=+p.size;if(y!==y)throw new u(o);var _=c(y);if(_<0)throw new h(o);return new x(p,a(_,0),r(p.has),r(p.keys))}},23011:function(d,v,e){"use strict";var r=e(94237),i=e(94029),l=Math.floor,c=r("".charAt),f=r("".replace),o=r("".slice),h=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,u=/\$([$&'`]|\d{1,2})/g;d.exports=function(a,x,p,y,_,b){var S=p+a.length,k=y.length,R=u;return _!==void 0&&(_=i(_),R=h),f(b,R,function(A,I){var M;switch(c(I,0)){case"$":return"$";case"&":return a;case"`":return o(x,0,p);case"'":return o(x,S);case"<":M=_[o(I,1,-1)];break;default:var B=+I;if(B===0)return A;if(B>k){var N=l(B/10);return N===0?A:N<=k?y[N-1]===void 0?c(I,1):y[N-1]+c(I,1):A}M=y[B-1]}return M===void 0?"":M})}},92916:function(d,v,e){"use strict";var r=function(i){return i&&i.Math===Math&&i};d.exports=r(typeof globalThis=="object"&&globalThis)||r(typeof window=="object"&&window)||r(typeof self=="object"&&self)||r(typeof e.g=="object"&&e.g)||r(typeof this=="object"&&this)||function(){return this}()||Function("return this")()},32621:function(d,v,e){"use strict";var r=e(94237),i=e(94029),l=r({}.hasOwnProperty);d.exports=Object.hasOwn||function(f,o){return l(i(f),o)}},54406:function(d){"use strict";d.exports={}},61810:function(d){"use strict";d.exports=function(v,e){try{arguments.length===1?console.error(v):console.error(v,e)}catch(r){}}},75171:function(d,v,e){"use strict";var r=e(65911);d.exports=r("document","documentElement")},46796:function(d,v,e){"use strict";var r=e(35454),i=e(3338),l=e(86060);d.exports=!r&&!i(function(){return Object.defineProperty(l("div"),"a",{get:function(){return 7}}).a!==7})},61618:function(d){"use strict";var v=Array,e=Math.abs,r=Math.pow,i=Math.floor,l=Math.log,c=Math.LN2,f=function(h,u,a){var x=v(a),p=a*8-u-1,y=(1<<p)-1,_=y>>1,b=u===23?r(2,-24)-r(2,-77):0,S=h<0||h===0&&1/h<0?1:0,k=0,R,A,I;for(h=e(h),h!==h||h===1/0?(A=h!==h?1:0,R=y):(R=i(l(h)/c),I=r(2,-R),h*I<1&&(R--,I*=2),R+_>=1?h+=b/I:h+=b*r(2,1-_),h*I>=2&&(R++,I/=2),R+_>=y?(A=0,R=y):R+_>=1?(A=(h*I-1)*r(2,u),R+=_):(A=h*r(2,_-1)*r(2,u),R=0));u>=8;)x[k++]=A&255,A/=256,u-=8;for(R=R<<u|A,p+=u;p>0;)x[k++]=R&255,R/=256,p-=8;return x[--k]|=S*128,x},o=function(h,u){var a=h.length,x=a*8-u-1,p=(1<<x)-1,y=p>>1,_=x-7,b=a-1,S=h[b--],k=S&127,R;for(S>>=7;_>0;)k=k*256+h[b--],_-=8;for(R=k&(1<<-_)-1,k>>=-_,_+=u;_>0;)R=R*256+h[b--],_-=8;if(k===0)k=1-y;else{if(k===p)return R?NaN:S?-1/0:1/0;R+=r(2,u),k-=y}return(S?-1:1)*R*r(2,k-u)};d.exports={pack:f,unpack:o}},1835:function(d,v,e){"use strict";var r=e(94237),i=e(3338),l=e(29076),c=Object,f=r("".split);d.exports=i(function(){return!c("z").propertyIsEnumerable(0)})?function(o){return l(o)==="String"?f(o,""):c(o)}:c},25576:function(d,v,e){"use strict";var r=e(55327),i=e(31946),l=e(58218);d.exports=function(c,f,o){var h,u;return l&&r(h=f.constructor)&&h!==o&&i(u=h.prototype)&&u!==o.prototype&&l(c,u),c}},15212:function(d,v,e){"use strict";var r=e(94237),i=e(55327),l=e(77398),c=r(Function.toString);i(l.inspectSource)||(l.inspectSource=function(f){return c(f)}),d.exports=l.inspectSource},73068:function(d,v,e){"use strict";var r=e(31946),i=e(68151);d.exports=function(l,c){r(c)&&"cause"in c&&i(l,"cause",c.cause)}},2074:function(d,v,e){"use strict";var r=e(94488),i=e(94237),l=e(54406),c=e(31946),f=e(32621),o=e(37691).f,h=e(80689),u=e(53393),a=e(12477),x=e(6145),p=e(13247),y=!1,_=x("meta"),b=0,S=function(B){o(B,_,{value:{objectID:"O"+b++,weakData:{}}})},k=function(B,N){if(!c(B))return typeof B=="symbol"?B:(typeof B=="string"?"S":"P")+B;if(!f(B,_)){if(!a(B))return"F";if(!N)return"E";S(B)}return B[_].objectID},R=function(B,N){if(!f(B,_)){if(!a(B))return!0;if(!N)return!1;S(B)}return B[_].weakData},A=function(B){return p&&y&&a(B)&&!f(B,_)&&S(B),B},I=function(){M.enable=function(){},y=!0;var B=h.f,N=i([].splice),V={};V[_]=1,B(V).length&&(h.f=function(W){for(var H=B(W),ae=0,ne=H.length;ae<ne;ae++)if(H[ae]===_){N(H,ae,1);break}return H},r({target:"Object",stat:!0,forced:!0},{getOwnPropertyNames:u.f}))},M=d.exports={enable:I,fastKey:k,getWeakData:R,onFreeze:A};l[_]=!0},94844:function(d,v,e){"use strict";var r=e(40115),i=e(92916),l=e(31946),c=e(68151),f=e(32621),o=e(77398),h=e(11898),u=e(54406),a="Object already initialized",x=i.TypeError,p=i.WeakMap,y,_,b,S=function(I){return b(I)?_(I):y(I,{})},k=function(I){return function(M){var B;if(!l(M)||(B=_(M)).type!==I)throw new x("Incompatible receiver, "+I+" 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(I,M){if(R.has(I))throw new x(a);return M.facade=I,R.set(I,M),M},_=function(I){return R.get(I)||{}},b=function(I){return R.has(I)}}else{var A=h("state");u[A]=!0,y=function(I,M){if(f(I,A))throw new x(a);return M.facade=I,c(I,A,M),M},_=function(I){return f(I,A)?I[A]:{}},b=function(I){return f(I,A)}}d.exports={set:y,get:_,has:b,enforce:S,getterFor:k}},345:function(d,v,e){"use strict";var r=e(59893),i=e(48074),l=r("iterator"),c=Array.prototype;d.exports=function(f){return f!==void 0&&(i.Array===f||c[l]===f)}},18589:function(d,v,e){"use strict";var r=e(29076);d.exports=Array.isArray||function(l){return r(l)==="Array"}},75406:function(d,v,e){"use strict";var r=e(97607);d.exports=function(i){var l=r(i);return l==="BigInt64Array"||l==="BigUint64Array"}},55327:function(d,v,e){"use strict";var r=e(81766),i=r.all;d.exports=r.IS_HTMLDDA?function(l){return typeof l=="function"||l===i}:function(l){return typeof l=="function"}},39812:function(d,v,e){"use strict";var r=e(94237),i=e(3338),l=e(55327),c=e(97607),f=e(65911),o=e(15212),h=function(){},u=[],a=f("Reflect","construct"),x=/^\s*(?:class|function)\b/,p=r(x.exec),y=!x.test(h),_=function(k){if(!l(k))return!1;try{return a(h,u,k),!0}catch(R){return!1}},b=function(k){if(!l(k))return!1;switch(c(k)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return y||!!p(x,o(k))}catch(R){return!0}};b.sham=!0,d.exports=!a||i(function(){var S;return _(_.call)||!_(Object)||!_(function(){S=!0})||S})?b:_},60516:function(d,v,e){"use strict";var r=e(32621);d.exports=function(i){return i!==void 0&&(r(i,"value")||r(i,"writable"))}},20865:function(d,v,e){"use strict";var r=e(3338),i=e(55327),l=/#|\.prototype\./,c=function(a,x){var p=o[f(a)];return p===u?!0:p===h?!1:i(x)?r(x):!!x},f=c.normalize=function(a){return String(a).replace(l,".").toLowerCase()},o=c.data={},h=c.NATIVE="N",u=c.POLYFILL="P";d.exports=c},62896:function(d,v,e){"use strict";var r=e(31946),i=Math.floor;d.exports=Number.isInteger||function(c){return!r(c)&&isFinite(c)&&i(c)===c}},30360:function(d,v,e){"use strict";var r=e(97607),i=e(32621),l=e(4112),c=e(59893),f=e(48074),o=c("iterator"),h=Object;d.exports=function(u){if(l(u))return!1;var a=h(u);return a[o]!==void 0||"@@iterator"in a||i(f,r(a))}},4112:function(d){"use strict";d.exports=function(v){return v==null}},31946:function(d,v,e){"use strict";var r=e(55327),i=e(81766),l=i.all;d.exports=i.IS_HTMLDDA?function(c){return typeof c=="object"?c!==null:r(c)||c===l}:function(c){return typeof c=="object"?c!==null:r(c)}},16697:function(d){"use strict";d.exports=!1},83502:function(d,v,e){"use strict";var r=e(31946),i=e(94844).get;d.exports=function(c){if(!r(c))return!1;var f=i(c);return!!f&&f.type==="RawJSON"}},44639:function(d,v,e){"use strict";var r=e(31946),i=e(29076),l=e(59893),c=l("match");d.exports=function(f){var o;return r(f)&&((o=f[c])!==void 0?!!o:i(f)==="RegExp")}},18446:function(d,v,e){"use strict";var r=e(65911),i=e(55327),l=e(16332),c=e(14417),f=Object;d.exports=c?function(o){return typeof o=="symbol"}:function(o){var h=r("Symbol");return i(h)&&l(h.prototype,f(o))}},43545:function(d,v,e){"use strict";var r=e(89945);d.exports=function(i,l,c){for(var f=c?i:i.iterator,o=i.next,h,u;!(h=r(o,f)).done;)if(u=l(h.value),u!==void 0)return u}},62003:function(d,v,e){"use strict";var r=e(80666),i=e(89945),l=e(80449),c=e(40593),f=e(345),o=e(82762),h=e(16332),u=e(85428),a=e(26006),x=e(67996),p=TypeError,y=function(b,S){this.stopped=b,this.result=S},_=y.prototype;d.exports=function(b,S,k){var R=k&&k.that,A=!!(k&&k.AS_ENTRIES),I=!!(k&&k.IS_RECORD),M=!!(k&&k.IS_ITERATOR),B=!!(k&&k.INTERRUPTED),N=r(S,R),V,W,H,ae,ne,oe,J,q=function(se){return V&&x(V,"normal",se),new y(!0,se)},K=function(se){return A?(l(se),B?N(se[0],se[1],q):N(se[0],se[1])):B?N(se,q):N(se)};if(I)V=b.iterator;else if(M)V=b;else{if(W=a(b),!W)throw new p(c(b)+" is not iterable");if(f(W)){for(H=0,ae=o(b);ae>H;H++)if(ne=K(b[H]),ne&&h(_,ne))return ne;return new y(!1)}V=u(b,W)}for(oe=I?b.next:V.next;!(J=i(oe,V)).done;){try{ne=K(J.value)}catch(se){x(V,"throw",se)}if(typeof ne=="object"&&ne&&h(_,ne))return ne}return new y(!1)}},67996:function(d,v,e){"use strict";var r=e(89945),i=e(80449),l=e(53776);d.exports=function(c,f,o){var h,u;i(c);try{if(h=l(c,"return"),!h){if(f==="throw")throw o;return o}h=r(h,c)}catch(a){u=!0,h=a}if(f==="throw")throw o;if(u)throw h;return i(h),o}},83126:function(d,v,e){"use strict";var r=e(46571).IteratorPrototype,i=e(20132),l=e(35012),c=e(94573),f=e(48074),o=function(){return this};d.exports=function(h,u,a,x){var p=u+" Iterator";return h.prototype=i(r,{next:l(+!x,a)}),c(h,p,!1,!0),f[p]=o,h}},20547:function(d,v,e){"use strict";var r=e(89945),i=e(20132),l=e(68151),c=e(66477),f=e(59893),o=e(94844),h=e(53776),u=e(46571).IteratorPrototype,a=e(25587),x=e(67996),p=f("toStringTag"),y="IteratorHelper",_="WrapForValidIterator",b=o.set,S=function(A){var I=o.getterFor(A?_:y);return c(i(u),{next:function(){var B=I(this);if(A)return B.nextHandler();try{var N=B.done?void 0:B.nextHandler();return a(N,B.done)}catch(V){throw B.done=!0,V}},return:function(){var M=I(this),B=M.iterator;if(M.done=!0,A){var N=h(B,"return");return N?r(N,B):a(void 0,!0)}if(M.inner)try{x(M.inner.iterator,"normal")}catch(V){return x(B,"throw",V)}return x(B,"normal"),a(void 0,!0)}})},k=S(!0),R=S(!1);l(R,p,"Iterator Helper"),d.exports=function(A,I){var M=function(N,V){V?(V.iterator=N.iterator,V.next=N.next):V=N,V.type=I?_:y,V.nextHandler=A,V.counter=0,V.done=!1,b(this,V)};return M.prototype=I?k:R,M}},24019:function(d,v,e){"use strict";var r=e(94488),i=e(89945),l=e(16697),c=e(8090),f=e(55327),o=e(83126),h=e(53456),u=e(58218),a=e(94573),x=e(68151),p=e(2291),y=e(59893),_=e(48074),b=e(46571),S=c.PROPER,k=c.CONFIGURABLE,R=b.IteratorPrototype,A=b.BUGGY_SAFARI_ITERATORS,I=y("iterator"),M="keys",B="values",N="entries",V=function(){return this};d.exports=function(W,H,ae,ne,oe,J,q){o(ae,H,ne);var K=function(Pe){if(Pe===oe&&z)return z;if(!A&&Pe&&Pe in Q)return Q[Pe];switch(Pe){case M:return function(){return new ae(this,Pe)};case B:return function(){return new ae(this,Pe)};case N:return function(){return new ae(this,Pe)}}return function(){return new ae(this)}},se=H+" Iterator",ee=!1,Q=W.prototype,le=Q[I]||Q["@@iterator"]||oe&&Q[oe],z=!A&&le||K(oe),$=H==="Array"&&Q.entries||le,ie,_e,Ae;if($&&(ie=h($.call(new W)),ie!==Object.prototype&&ie.next&&(!l&&h(ie)!==R&&(u?u(ie,R):f(ie[I])||p(ie,I,V)),a(ie,se,!0,!0),l&&(_[se]=V))),S&&oe===B&&le&&le.name!==B&&(!l&&k?x(Q,"name",B):(ee=!0,z=function(){return i(le,this)})),oe)if(_e={values:K(B),keys:J?z:K(M),entries:K(N)},q)for(Ae in _e)(A||ee||!(Ae in Q))&&p(Q,Ae,_e[Ae]);else r({target:H,proto:!0,forced:A||ee},_e);return(!l||q)&&Q[I]!==z&&p(Q,I,z,{name:oe}),_[H]=z,_e}},24771:function(d,v,e){"use strict";var r=e(89945),i=e(2155),l=function(c,f){return[f,c]};d.exports=function(){return r(i,this,l)}},2155:function(d,v,e){"use strict";var r=e(89945),i=e(63335),l=e(80449),c=e(10731),f=e(20547),o=e(46319),h=f(function(){var u=this.iterator,a=l(r(this.next,u)),x=this.done=!!a.done;if(!x)return o(u,this.mapper,[a.value,this.counter++],!0)});d.exports=function(a){return l(this),i(a),new h(c(this),{mapper:a})}},46571:function(d,v,e){"use strict";var r=e(3338),i=e(55327),l=e(31946),c=e(20132),f=e(53456),o=e(2291),h=e(59893),u=e(16697),a=h("iterator"),x=!1,p,y,_;[].keys&&(_=[].keys(),"next"in _?(y=f(f(_)),y!==Object.prototype&&(p=y)):x=!0);var b=!l(p)||r(function(){var S={};return p[a].call(S)!==S});b?p={}:u&&(p=c(p)),i(p[a])||o(p,a,function(){return this}),d.exports={IteratorPrototype:p,BUGGY_SAFARI_ITERATORS:x}},48074:function(d){"use strict";d.exports={}},82762:function(d,v,e){"use strict";var r=e(61578);d.exports=function(i){return r(i.length)}},86528:function(d,v,e){"use strict";var r=e(94237),i=e(3338),l=e(55327),c=e(32621),f=e(35454),o=e(8090).CONFIGURABLE,h=e(15212),u=e(94844),a=u.enforce,x=u.get,p=String,y=Object.defineProperty,_=r("".slice),b=r("".replace),S=r([].join),k=f&&!i(function(){return y(function(){},"length",{value:8}).length!==8}),R=String(String).split("String"),A=d.exports=function(I,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(I,"name")||o&&I.name!==M)&&(f?y(I,"name",{value:M,configurable:!0}):I.name=M),k&&B&&c(B,"arity")&&I.length!==B.arity&&y(I,"length",{value:B.arity});try{B&&c(B,"constructor")&&B.constructor?f&&y(I,"prototype",{writable:!1}):I.prototype&&(I.prototype=void 0)}catch(V){}var N=a(I);return c(N,"source")||(N.source=S(R,typeof M=="string"?M:"")),I};Function.prototype.toString=A(function(){return l(this)&&x(this).source||h(this)},"toString")},2786:function(d,v,e){"use strict";var r=e(94237),i=Map.prototype;d.exports={Map,set:r(i.set),get:r(i.get),has:r(i.has),remove:r(i.delete),proto:i}},95037:function(d,v,e){"use strict";var r=e(94237),i=e(43545),l=e(2786),c=l.Map,f=l.proto,o=r(f.forEach),h=r(f.entries),u=h(new c).next;d.exports=function(a,x,p){return p?i({iterator:h(a),next:u},function(y){return x(y[1],y[0])}):o(a,x)}},14615:function(d,v,e){"use strict";var r=e(89945),i=e(63335),l=e(55327),c=e(80449),f=TypeError;d.exports=function(h,u){var a=c(this),x=i(a.get),p=i(a.has),y=i(a.set),_=arguments.length>2?arguments[2]:void 0,b;if(!l(u)&&!l(_))throw new f("At least one callback required");return r(p,a,h)?(b=r(x,a,h),l(u)&&(b=u(b),r(y,a,h,b))):l(_)&&(b=_(),r(y,a,h,b)),b}},10014:function(d){"use strict";var v=Math.expm1,e=Math.exp;d.exports=!v||v(10)>22025.465794806718||v(10)<22025.465794806718||v(-2e-17)!==-2e-17?function(i){var l=+i;return l===0?l:l>-1e-6&&l<1e-6?l+l*l/2:e(l)-1}:v},35175:function(d,v,e){"use strict";var r=e(77056),i=.0009765625,l=65504,c=6103515625e-14;d.exports=Math.f16round||function(o){return r(o,i,l,c)}},77056:function(d,v,e){"use strict";var r=e(37666),i=Math.abs,l=2220446049250313e-31,c=1/l,f=function(o){return o+c-c};d.exports=function(o,h,u,a){var x=+o,p=i(x),y=r(x);if(p<a)return y*f(p/a/h)*a*h;var _=(1+h/l)*p,b=_-(_-p);return b>u||b!==b?y*(1/0):y*b}},14894:function(d,v,e){"use strict";var r=e(77056),i=11920928955078125e-23,l=34028234663852886e22,c=11754943508222875e-54;d.exports=Math.fround||function(o){return r(o,i,l,c)}},53309:function(d){"use strict";var v=Math.log,e=Math.LOG10E;d.exports=Math.log10||function(i){return v(i)*e}},25726:function(d){"use strict";var v=Math.log;d.exports=Math.log1p||function(r){var i=+r;return i>-1e-8&&i<1e-8?i-i*i/2:v(1+i)}},24619:function(d){"use strict";d.exports=Math.scale||function(e,r,i,l,c){var f=+e,o=+r,h=+i,u=+l,a=+c;return f!==f||o!==o||h!==h||u!==u||a!==a?NaN:f===1/0||f===-1/0?f:(f-o)*(a-u)/(h-o)+u}},37666:function(d){"use strict";d.exports=Math.sign||function(e){var r=+e;return r===0||r!==r?r:r<0?-1:1}},3312:function(d){"use strict";var v=Math.ceil,e=Math.floor;d.exports=Math.trunc||function(i){var l=+i;return(l>0?e:v)(l)}},72933:function(d,v,e){"use strict";var r=e(92916),i=e(80666),l=e(71256).f,c=e(28887).set,f=e(66790),o=e(70695),h=e(1908),u=e(44914),a=e(90946),x=r.MutationObserver||r.WebKitMutationObserver,p=r.document,y=r.process,_=r.Promise,b=l(r,"queueMicrotask"),S=b&&b.value,k,R,A,I,M;if(!S){var B=new f,N=function(){var V,W;for(a&&(V=y.domain)&&V.exit();W=B.get();)try{W()}catch(H){throw B.head&&k(),H}V&&V.enter()};!o&&!a&&!u&&x&&p?(R=!0,A=p.createTextNode(""),new x(N).observe(A,{characterData:!0}),k=function(){A.data=R=!R}):!h&&_&&_.resolve?(I=_.resolve(void 0),I.constructor=_,M=i(I.then,I),k=function(){M(N)}):a?k=function(){y.nextTick(N)}:(c=i(c,r),k=function(){c(N)}),S=function(V){B.head||k(),B.add(V)}}d.exports=S},82778:function(d,v,e){"use strict";var r=e(3338);d.exports=!r(function(){var i="9007199254740993",l=JSON.rawJSON(i);return!JSON.isRawJSON(l)||JSON.stringify(l)!==i})},73446:function(d,v,e){"use strict";var r=e(63335),i=TypeError,l=function(c){var f,o;this.promise=new c(function(h,u){if(f!==void 0||o!==void 0)throw new i("Bad Promise constructor");f=h,o=u}),this.resolve=r(f),this.reject=r(o)};d.exports.f=function(c){return new l(c)}},7825:function(d,v,e){"use strict";var r=e(69905);d.exports=function(i,l){return i===void 0?arguments.length<2?"":l:r(i)}},2279:function(d){"use strict";var v=RangeError;d.exports=function(e){if(e===e)return e;throw new v("NaN is not allowed")}},41696:function(d,v,e){"use strict";var r=e(44639),i=TypeError;d.exports=function(l){if(r(l))throw new i("The method doesn't accept regular expressions");return l}},1222:function(d,v,e){"use strict";var r=e(92916),i=r.isFinite;d.exports=Number.isFinite||function(c){return typeof c=="number"&&i(c)}},31280:function(d,v,e){"use strict";var r=e(92916),i=e(3338),l=e(94237),c=e(69905),f=e(52971).trim,o=e(19268),h=l("".charAt),u=r.parseFloat,a=r.Symbol,x=a&&a.iterator,p=1/u(o+"-0")!==-1/0||x&&!i(function(){u(Object(x))});d.exports=p?function(_){var b=f(c(_)),S=u(b);return S===0&&h(b,0)==="-"?-0:S}:u},52446:function(d,v,e){"use strict";var r=e(92916),i=e(3338),l=e(94237),c=e(69905),f=e(52971).trim,o=e(19268),h=r.parseInt,u=r.Symbol,a=u&&u.iterator,x=/^[+-]?0x/i,p=l(x.exec),y=h(o+"08")!==8||h(o+"0x16")!==22||a&&!i(function(){h(Object(a))});d.exports=y?function(b,S){var k=f(c(b));return h(k,S>>>0||(p(x,k)?16:10))}:h},17243:function(d,v,e){"use strict";var r=e(94844),i=e(83126),l=e(25587),c=e(4112),f=e(31946),o=e(64110),h=e(35454),u="Incorrect Iterator.range arguments",a="NumericRangeIterator",x=r.set,p=r.getterFor(a),y=RangeError,_=TypeError,b=i(function(R,A,I,M,B,N){if(typeof R!=M||A!==1/0&&A!==-1/0&&typeof A!=M)throw new _(u);if(R===1/0||R===-1/0)throw new y(u);var V=A>R,W=!1,H;if(I===void 0)H=void 0;else if(f(I))H=I.step,W=!!I.inclusive;else if(typeof I==M)H=I;else throw new _(u);if(c(H)&&(H=V?N:-N),typeof H!=M)throw new _(u);if(H===1/0||H===-1/0||H===B&&R!==A)throw new y(u);var ae=R!==R||A!==A||H!==H||A>R!=H>B;x(this,{type:a,start:R,end:A,step:H,inclusive:W,hitsEnd:ae,currentCount:B,zero:B}),h||(this.start=R,this.end=A,this.step=H,this.inclusive=W)},a,function(){var R=p(this);if(R.hitsEnd)return l(void 0,!0);var A=R.start,I=R.end,M=R.step,B=A+M*R.currentCount++;B===I&&(R.hitsEnd=!0);var N=R.inclusive,V;return I>A?V=N?B>I:B>=I:V=N?I>B:I>=B,V?(R.hitsEnd=!0,l(void 0,!0)):l(B,!1)}),S=function(k){o(b.prototype,k,{get:function(){return p(this)[k]},set:function(){},configurable:!0,enumerable:!1})};h&&(S("start"),S("end"),S("inclusive"),S("step")),d.exports=b},80530:function(d,v,e){"use strict";var r=e(35454),i=e(94237),l=e(89945),c=e(3338),f=e(7733),o=e(92635),h=e(27597),u=e(94029),a=e(1835),x=Object.assign,p=Object.defineProperty,y=i([].concat);d.exports=!x||c(function(){if(r&&x({b:1},x(p({},"a",{enumerable:!0,get:function(){p(this,"b",{value:3,enumerable:!1})}}),{b:2})).b!==1)return!0;var _={},b={},S=Symbol("assign detection"),k="abcdefghijklmnopqrst";return _[S]=7,k.split("").forEach(function(R){b[R]=R}),x({},_)[S]!==7||f(x({},b)).join("")!==k})?function(b,S){for(var k=u(b),R=arguments.length,A=1,I=o.f,M=h.f;R>A;)for(var B=a(arguments[A++]),N=I?y(f(B),I(B)):f(B),V=N.length,W=0,H;V>W;)H=N[W++],(!r||l(M,B,H))&&(k[H]=B[H]);return k}:x},20132:function(d,v,e){"use strict";var r=e(80449),i=e(55666),l=e(46678),c=e(54406),f=e(75171),o=e(86060),h=e(11898),u=">",a="<",x="prototype",p="script",y=h("IE_PROTO"),_=function(){},b=function(I){return a+p+u+I+a+"/"+p+u},S=function(I){I.write(b("")),I.close();var M=I.parentWindow.Object;return I=null,M},k=function(){var I=o("iframe"),M="java"+p+":",B;return I.style.display="none",f.appendChild(I),I.src=String(M),B=I.contentWindow.document,B.open(),B.write(b("document.F=Object")),B.close(),B.F},R,A=function(){try{R=new ActiveXObject("htmlfile")}catch(M){}A=typeof document!="undefined"?document.domain&&R?S(R):k():S(R);for(var I=l.length;I--;)delete A[x][l[I]];return A()};c[y]=!0,d.exports=Object.create||function(M,B){var N;return M!==null?(_[x]=r(M),N=new _,_[x]=null,N[y]=M):N=A(),B===void 0?N:i.f(N,B)}},55666:function(d,v,e){"use strict";var r=e(35454),i=e(93199),l=e(37691),c=e(80449),f=e(80524),o=e(7733);v.f=r&&!i?Object.defineProperties:function(u,a){c(u);for(var x=f(a),p=o(a),y=p.length,_=0,b;y>_;)l.f(u,b=p[_++],x[b]);return u}},37691:function(d,v,e){"use strict";var r=e(35454),i=e(46796),l=e(93199),c=e(80449),f=e(17818),o=TypeError,h=Object.defineProperty,u=Object.getOwnPropertyDescriptor,a="enumerable",x="configurable",p="writable";v.f=r?l?function(_,b,S){if(c(_),b=f(b),c(S),typeof _=="function"&&b==="prototype"&&"value"in S&&p in S&&!S[p]){var k=u(_,b);k&&k[p]&&(_[b]=S.value,S={configurable:x in S?S[x]:k[x],enumerable:a in S?S[a]:k[a],writable:!1})}return h(_,b,S)}:h:function(_,b,S){if(c(_),b=f(b),c(S),i)try{return h(_,b,S)}catch(k){}if("get"in S||"set"in S)throw new o("Accessors not supported");return"value"in S&&(_[b]=S.value),_}},71256:function(d,v,e){"use strict";var r=e(35454),i=e(89945),l=e(27597),c=e(35012),f=e(80524),o=e(17818),h=e(32621),u=e(46796),a=Object.getOwnPropertyDescriptor;v.f=r?a:function(p,y){if(p=f(p),y=o(y),u)try{return a(p,y)}catch(_){}if(h(p,y))return c(!i(l.f,p,y),p[y])}},53393:function(d,v,e){"use strict";var r=e(29076),i=e(80524),l=e(80689).f,c=e(71698),f=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],o=function(h){try{return l(h)}catch(u){return c(f)}};d.exports.f=function(u){return f&&r(u)==="Window"?o(u):l(i(u))}},80689:function(d,v,e){"use strict";var r=e(97486),i=e(46678),l=i.concat("length","prototype");v.f=Object.getOwnPropertyNames||function(f){return r(f,l)}},92635:function(d,v){"use strict";v.f=Object.getOwnPropertySymbols},53456:function(d,v,e){"use strict";var r=e(32621),i=e(55327),l=e(94029),c=e(11898),f=e(4870),o=c("IE_PROTO"),h=Object,u=h.prototype;d.exports=f?h.getPrototypeOf:function(a){var x=l(a);if(r(x,o))return x[o];var p=x.constructor;return i(p)&&x instanceof p?p.prototype:x instanceof h?u:null}},12477:function(d,v,e){"use strict";var r=e(3338),i=e(31946),l=e(29076),c=e(51424),f=Object.isExtensible,o=r(function(){f(1)});d.exports=o||c?function(u){return!i(u)||c&&l(u)==="ArrayBuffer"?!1:f?f(u):!0}:f},16332:function(d,v,e){"use strict";var r=e(94237);d.exports=r({}.isPrototypeOf)},20574:function(d,v,e){"use strict";var r=e(94844),i=e(83126),l=e(25587),c=e(32621),f=e(7733),o=e(94029),h="Object Iterator",u=r.set,a=r.getterFor(h);d.exports=i(function(p,y){var _=o(p);u(this,{type:h,mode:y,object:_,keys:f(_),index:0})},"Object",function(){for(var p=a(this),y=p.keys;;){if(y===null||p.index>=y.length)return p.object=p.keys=null,l(void 0,!0);var _=y[p.index++],b=p.object;if(c(b,_)){switch(p.mode){case"keys":return l(_,!1);case"values":return l(b[_],!1)}return l([_,b[_]],!1)}}})},97486:function(d,v,e){"use strict";var r=e(94237),i=e(32621),l=e(80524),c=e(22999).indexOf,f=e(54406),o=r([].push);d.exports=function(h,u){var a=l(h),x=0,p=[],y;for(y in a)!i(f,y)&&i(a,y)&&o(p,y);for(;u.length>x;)i(a,y=u[x++])&&(~c(p,y)||o(p,y));return p}},7733:function(d,v,e){"use strict";var r=e(97486),i=e(46678);d.exports=Object.keys||function(c){return r(c,i)}},27597:function(d,v){"use strict";var e={}.propertyIsEnumerable,r=Object.getOwnPropertyDescriptor,i=r&&!e.call({1:2},1);v.f=i?function(c){var f=r(this,c);return!!f&&f.enumerable}:e},25837:function(d,v,e){"use strict";var r=e(16697),i=e(92916),l=e(3338),c=e(19684);d.exports=r||!l(function(){if(!(c&&c<535)){var f=Math.random();__defineSetter__.call(null,f,function(){}),delete i[f]}})},58218:function(d,v,e){"use strict";var r=e(37758),i=e(80449),l=e(557);d.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var c=!1,f={},o;try{o=r(Object.prototype,"__proto__","set"),o(f,[]),c=f instanceof Array}catch(h){}return function(u,a){return i(u),l(a),c?o(u,a):u.__proto__=a,u}}():void 0)},88698:function(d,v,e){"use strict";var r=e(35454),i=e(3338),l=e(94237),c=e(53456),f=e(7733),o=e(80524),h=e(27597).f,u=l(h),a=l([].push),x=r&&i(function(){var y=Object.create(null);return y[2]=2,!u(y,2)}),p=function(y){return function(_){for(var b=o(_),S=f(b),k=x&&c(b)===null,R=S.length,A=0,I=[],M;R>A;)M=S[A++],(!r||(k?M in b:u(b,M)))&&a(I,y?[M,b[M]]:b[M]);return I}};d.exports={entries:p(!0),values:p(!1)}},28488:function(d,v,e){"use strict";var r=e(68527),i=e(97607);d.exports=r?{}.toString:function(){return"[object "+i(this)+"]"}},44759:function(d,v,e){"use strict";var r=e(89945),i=e(55327),l=e(31946),c=TypeError;d.exports=function(f,o){var h,u;if(o==="string"&&i(h=f.toString)&&!l(u=r(h,f))||i(h=f.valueOf)&&!l(u=r(h,f))||o!=="string"&&i(h=f.toString)&&!l(u=r(h,f)))return u;throw new c("Can't convert object to primitive value")}},48662:function(d,v,e){"use strict";var r=e(65911),i=e(94237),l=e(80689),c=e(92635),f=e(80449),o=i([].concat);d.exports=r("Reflect","ownKeys")||function(u){var a=l.f(f(u)),x=c.f;return x?o(a,x(u)):a}},70913:function(d,v,e){"use strict";var r=e(94237),i=e(32621),l=SyntaxError,c=parseInt,f=String.fromCharCode,o=r("".charAt),h=r("".slice),u=r(/./.exec),a={'\\"':'"',"\\\\":"\\","\\/":"/","\\b":"\b","\\f":"\f","\\n":`
`,"\\r":"\r","\\t":" "},x=/^[\da-f]{4}$/i,p=/^[\u0000-\u001F]$/;d.exports=function(y,_){for(var b=!0,S="";_<y.length;){var k=o(y,_);if(k==="\\"){var R=h(y,_,_+2);if(i(a,R))S+=a[R],_+=2;else if(R==="\\u"){_+=2;var A=h(y,_,_+4);if(!u(x,A))throw new l("Bad Unicode escape at: "+_);S+=f(c(A,16)),_+=4}else throw new l('Unknown escape sequence: "'+R+'"')}else if(k==='"'){b=!1,_++;break}else{if(u(p,k))throw new l("Bad control character in string literal at: "+_);S+=k,_++}}if(b)throw new l("Unterminated string at: "+_);return{value:S,end:_}}},9699:function(d,v,e){"use strict";var r=e(92916);d.exports=r},80734:function(d){"use strict";d.exports=function(v){try{return{error:!1,value:v()}}catch(e){return{error:!0,value:e}}}},82830:function(d,v,e){"use strict";var r=e(92916),i=e(2451),l=e(55327),c=e(20865),f=e(15212),o=e(59893),h=e(66994),u=e(91821),a=e(16697),x=e(46573),p=i&&i.prototype,y=o("species"),_=!1,b=l(r.PromiseRejectionEvent),S=c("Promise",function(){var k=f(i),R=k!==String(i);if(!R&&x===66||a&&!(p.catch&&p.finally))return!0;if(!x||x<51||!/native code/.test(k)){var A=new i(function(B){B(1)}),I=function(B){B(function(){},function(){})},M=A.constructor={};if(M[y]=I,_=A.then(function(){})instanceof I,!_)return!0}return!R&&(h||u)&&!b});d.exports={CONSTRUCTOR:S,REJECTION_EVENT:b,SUBCLASSING:_}},2451:function(d,v,e){"use strict";var r=e(92916);d.exports=r.Promise},15597:function(d,v,e){"use strict";var r=e(80449),i=e(31946),l=e(73446);d.exports=function(c,f){if(r(c),i(f)&&f.constructor===c)return f;var o=l.f(c),h=o.resolve;return h(f),o.promise}},22093:function(d,v,e){"use strict";var r=e(2451),i=e(35221),l=e(82830).CONSTRUCTOR;d.exports=l||!i(function(c){r.all(c).then(void 0,function(){})})},44166:function(d,v,e){"use strict";var r=e(37691).f;d.exports=function(i,l,c){c in i||r(i,c,{configurable:!0,get:function(){return l[c]},set:function(f){l[c]=f}})}},66790:function(d){"use strict";var v=function(){this.head=null,this.tail=null};v.prototype={add:function(e){var r={item:e,next:null},i=this.tail;i?i.next=r:this.head=r,this.tail=r},get:function(){var e=this.head;if(e){var r=this.head=e.next;return r===null&&(this.tail=null),e.item}}},d.exports=v},82584:function(d,v,e){"use strict";e(34941),e(55410);var r=e(65911),i=e(94237),l=e(77898),c=r("Map"),f=r("WeakMap"),o=i([].push),h=l("metadata"),u=h.store||(h.store=new f),a=function(S,k,R){var A=u.get(S);if(!A){if(!R)return;u.set(S,A=new c)}var I=A.get(k);if(!I){if(!R)return;A.set(k,I=new c)}return I},x=function(S,k,R){var A=a(k,R,!1);return A===void 0?!1:A.has(S)},p=function(S,k,R){var A=a(k,R,!1);return A===void 0?void 0:A.get(S)},y=function(S,k,R,A){a(R,A,!0).set(S,k)},_=function(S,k){var R=a(S,k,!1),A=[];return R&&R.forEach(function(I,M){o(A,M)}),A},b=function(S){return S===void 0||typeof S=="symbol"?S:String(S)};d.exports={store:u,getMap:a,has:x,get:p,set:y,keys:_,toKey:b}},94338:function(d,v,e){"use strict";var r=e(89945),i=e(80449),l=e(55327),c=e(29076),f=e(88736),o=TypeError;d.exports=function(h,u){var a=h.exec;if(l(a)){var x=r(a,h,u);return x!==null&&i(x),x}if(c(h)==="RegExp")return r(f,h,u);throw new o("RegExp#exec called on incompatible receiver")}},88736:function(d,v,e){"use strict";var r=e(89945),i=e(94237),l=e(69905),c=e(82163),f=e(19286),o=e(77898),h=e(20132),u=e(94844).get,a=e(6041),x=e(51224),p=o("native-string-replace",String.prototype.replace),y=RegExp.prototype.exec,_=y,b=i("".charAt),S=i("".indexOf),k=i("".replace),R=i("".slice),A=function(){var N=/a/,V=/b*/g;return r(y,N,"a"),r(y,V,"a"),N.lastIndex!==0||V.lastIndex!==0}(),I=f.BROKEN_CARET,M=/()??/.exec("")[1]!==void 0,B=A||M||I||a||x;B&&(_=function(V){var W=this,H=u(W),ae=l(V),ne=H.raw,oe,J,q,K,se,ee,Q;if(ne)return ne.lastIndex=W.lastIndex,oe=r(_,ne,ae),W.lastIndex=ne.lastIndex,oe;var le=H.groups,z=I&&W.sticky,$=r(c,W),ie=W.source,_e=0,Ae=ae;if(z&&($=k($,"y",""),S($,"g")===-1&&($+="g"),Ae=R(ae,W.lastIndex),W.lastIndex>0&&(!W.multiline||W.multiline&&b(ae,W.lastIndex-1)!==`
`)&&(ie="(?: "+ie+")",Ae=" "+Ae,_e++),J=new RegExp("^(?:"+ie+")",$)),M&&(J=new RegExp("^"+ie+"$(?!\\s)",$)),A&&(q=W.lastIndex),K=r(y,z?J:W,Ae),z?K?(K.input=R(K.input,_e),K[0]=R(K[0],_e),K.index=W.lastIndex,W.lastIndex+=K[0].length):W.lastIndex=0:A&&K&&(W.lastIndex=W.global?K.index+K[0].length:q),M&&K&&K.length>1&&r(p,K[0],J,function(){for(se=1;se<arguments.length-2;se++)arguments[se]===void 0&&(K[se]=void 0)}),K&&le)for(K.groups=ee=h(null),se=0;se<le.length;se++)Q=le[se],ee[Q[0]]=K[Q[1]];return K}),d.exports=_},82163:function(d,v,e){"use strict";var r=e(80449);d.exports=function(){var i=r(this),l="";return i.hasIndices&&(l+="d"),i.global&&(l+="g"),i.ignoreCase&&(l+="i"),i.multiline&&(l+="m"),i.dotAll&&(l+="s"),i.unicode&&(l+="u"),i.unicodeSets&&(l+="v"),i.sticky&&(l+="y"),l}},81644:function(d,v,e){"use strict";var r=e(89945),i=e(32621),l=e(16332),c=e(82163),f=RegExp.prototype;d.exports=function(o){var h=o.flags;return h===void 0&&!("flags"in f)&&!i(o,"flags")&&l(f,o)?r(c,o):h}},19286:function(d,v,e){"use strict";var r=e(3338),i=e(92916),l=i.RegExp,c=r(function(){var h=l("a","y");return h.lastIndex=2,h.exec("abcd")!==null}),f=c||r(function(){return!l("a","y").sticky}),o=c||r(function(){var h=l("^r","gy");return h.lastIndex=2,h.exec("str")!==null});d.exports={BROKEN_CARET:o,MISSED_STICKY:f,UNSUPPORTED_Y:c}},6041:function(d,v,e){"use strict";var r=e(3338),i=e(92916),l=i.RegExp;d.exports=r(function(){var c=l(".","s");return!(c.dotAll&&c.test(`
`)&&c.flags==="s")})},51224:function(d,v,e){"use strict";var r=e(3338),i=e(92916),l=i.RegExp;d.exports=r(function(){var c=l("(?<a>b)","g");return c.exec("b").groups.a!=="b"||"b".replace(c,"$<a>c")!=="bc"})},95955:function(d,v,e){"use strict";var r=e(4112),i=TypeError;d.exports=function(l){if(r(l))throw new i("Can't call method on "+l);return l}},88134:function(d){"use strict";d.exports=function(v,e){return v===e||v!==v&&e!==e}},5370:function(d){"use strict";d.exports=Object.is||function(e,r){return e===r?e!==0||1/e===1/r:e!==e&&r!==r}},93222:function(d,v,e){"use strict";var r=e(92916),i=e(13743),l=e(55327),c=e(90843),f=e(66011),o=e(30867),h=e(57106),u=r.Function,a=/MSIE .\./.test(f)||c&&function(){var x=r.Bun.version.split(".");return x.length<3||x[0]==="0"&&(x[1]<3||x[1]==="3"&&x[2]==="0")}();d.exports=function(x,p){var y=p?2:1;return a?function(_,b){var S=h(arguments.length,1)>y,k=l(_)?_:u(_),R=S?o(arguments,y):[],A=S?function(){i(k,this,R)}:k;return p?x(A,b):x(A)}:x}},61838:function(d,v,e){"use strict";var r=e(19691),i=e(57002),l=r.Set,c=r.add;d.exports=function(f){var o=new l;return i(f,function(h){c(o,h)}),o}},10038:function(d,v,e){"use strict";var r=e(17442),i=e(19691),l=e(61838),c=e(108),f=e(88203),o=e(57002),h=e(43545),u=i.has,a=i.remove;d.exports=function(p){var y=r(this),_=f(p),b=l(y);return c(y)<=_.size?o(y,function(S){_.includes(S)&&a(b,S)}):h(_.getIterator(),function(S){u(y,S)&&a(b,S)}),b}},19691:function(d,v,e){"use strict";var r=e(94237),i=Set.prototype;d.exports={Set,add:r(i.add),has:r(i.has),remove:r(i.delete),proto:i}},16049:function(d,v,e){"use strict";var r=e(17442),i=e(19691),l=e(108),c=e(88203),f=e(57002),o=e(43545),h=i.Set,u=i.add,a=i.has;d.exports=function(p){var y=r(this),_=c(p),b=new h;return l(y)>_.size?o(_.getIterator(),function(S){a(y,S)&&u(b,S)}):f(y,function(S){_.includes(S)&&u(b,S)}),b}},17616:function(d,v,e){"use strict";var r=e(17442),i=e(19691).has,l=e(108),c=e(88203),f=e(57002),o=e(43545),h=e(67996);d.exports=function(a){var x=r(this),p=c(a);if(l(x)<=p.size)return f(x,function(_){if(p.includes(_))return!1},!0)!==!1;var y=p.getIterator();return o(y,function(_){if(i(x,_))return h(y,"normal",!1)})!==!1}},84833:function(d,v,e){"use strict";var r=e(17442),i=e(108),l=e(57002),c=e(88203);d.exports=function(o){var h=r(this),u=c(o);return i(h)>u.size?!1:l(h,function(a){if(!u.includes(a))return!1},!0)!==!1}},51135:function(d,v,e){"use strict";var r=e(17442),i=e(19691).has,l=e(108),c=e(88203),f=e(43545),o=e(67996);d.exports=function(u){var a=r(this),x=c(u);if(l(a)<x.size)return!1;var p=x.getIterator();return f(p,function(y){if(!i(a,y))return o(p,"normal",!1)})!==!1}},57002:function(d,v,e){"use strict";var r=e(94237),i=e(43545),l=e(19691),c=l.Set,f=l.proto,o=r(f.forEach),h=r(f.keys),u=h(new c).next;d.exports=function(a,x,p){return p?i({iterator:h(a),next:u},x):o(a,x)}},22627:function(d,v,e){"use strict";var r=e(65911),i=function(l){return{size:l,has:function(){return!1},keys:function(){return{next:function(){return{done:!0}}}}}};d.exports=function(l){var c=r("Set");try{new c()[l](i(0));try{return new c()[l](i(-1)),!1}catch(f){return!0}}catch(f){return!1}}},108:function(d,v,e){"use strict";var r=e(37758),i=e(19691);d.exports=r(i.proto,"size","get")||function(l){return l.size}},51996:function(d,v,e){"use strict";var r=e(65911),i=e(64110),l=e(59893),c=e(35454),f=l("species");d.exports=function(o){var h=r(o);c&&h&&!h[f]&&i(h,f,{configurable:!0,get:function(){return this}})}},36312:function(d,v,e){"use strict";var r=e(17442),i=e(19691),l=e(61838),c=e(88203),f=e(43545),o=i.add,h=i.has,u=i.remove;d.exports=function(x){var p=r(this),y=c(x).getIterator(),_=l(p);return f(y,function(b){h(p,b)?u(_,b):o(_,b)}),_}},94573:function(d,v,e){"use strict";var r=e(37691).f,i=e(32621),l=e(59893),c=l("toStringTag");d.exports=function(f,o,h){f&&!h&&(f=f.prototype),f&&!i(f,c)&&r(f,c,{configurable:!0,value:o})}},24667:function(d,v,e){"use strict";var r=e(17442),i=e(19691).add,l=e(61838),c=e(88203),f=e(43545);d.exports=function(h){var u=r(this),a=c(h).getIterator(),x=l(u);return f(a,function(p){i(x,p)}),x}},11898:function(d,v,e){"use strict";var r=e(77898),i=e(6145),l=r("keys");d.exports=function(c){return l[c]||(l[c]=i(c))}},77398:function(d,v,e){"use strict";var r=e(92916),i=e(29539),l="__core-js_shared__",c=r[l]||i(l,{});d.exports=c},77898:function(d,v,e){"use strict";var r=e(16697),i=e(77398);(d.exports=function(l,c){return i[l]||(i[l]=c!==void 0?c:{})})("versions",[]).push({version:"3.34.0",mode:r?"pure":"global",copyright:"\xA9 2014-2023 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.34.0/LICENSE",source:"https://github.com/zloirock/core-js"})},60473:function(d,v,e){"use strict";var r=e(80449),i=e(6086),l=e(4112),c=e(59893),f=c("species");d.exports=function(o,h){var u=r(o).constructor,a;return u===void 0||l(a=r(u)[f])?h:i(a)}},67410:function(d,v,e){"use strict";var r=e(94237),i=e(80524),l=e(69905),c=e(82762),f=TypeError,o=r([].push),h=r([].join);d.exports=function(a){var x=i(a),p=c(x);if(!p)return"";for(var y=arguments.length,_=[],b=0;;){var S=x[b++];if(S===void 0)throw new f("Incorrect template");if(o(_,l(S)),b===p)return h(_,"");b<y&&o(_,l(arguments[b]))}}},17691:function(d,v,e){"use strict";var r=e(3338);d.exports=function(i){return r(function(){var l=""[i]('"');return l!==l.toLowerCase()||l.split('"').length>3})}},13764:function(d,v,e){"use strict";var r=e(94237),i=e(56902),l=e(69905),c=e(95955),f=r("".charAt),o=r("".charCodeAt),h=r("".slice),u=function(a){return function(x,p){var y=l(c(x)),_=i(p),b=y.length,S,k;return _<0||_>=b?a?"":void 0:(S=o(y,_),S<55296||S>56319||_+1===b||(k=o(y,_+1))<56320||k>57343?a?f(y,_):S:a?h(y,_,_+2):(S-55296<<10)+(k-56320)+65536)}};d.exports={codeAt:u(!1),charAt:u(!0)}},98352:function(d,v,e){"use strict";var r=e(66011);d.exports=/Version\/10(?:\.\d+){1,2}(?: [\w./]+)?(?: Mobile\/\w+)? Safari\//.test(r)},85571:function(d,v,e){"use strict";var r=e(94237),i=e(61578),l=e(69905),c=e(71049),f=e(95955),o=r(c),h=r("".slice),u=Math.ceil,a=function(x){return function(p,y,_){var b=l(f(p)),S=i(y),k=b.length,R=_===void 0?" ":l(_),A,I;return S<=k||R===""?b:(A=S-k,I=o(R,u(A/R.length)),I.length>A&&(I=h(I,0,A)),x?b+I:I+b)}};d.exports={start:a(!1),end:a(!0)}},79204:function(d,v,e){"use strict";var r=e(65911),i=e(94237),l=String.fromCharCode,c=r("String","fromCodePoint"),f=i("".charAt),o=i("".charCodeAt),h=i("".indexOf),u=i("".slice),a=48,x=57,p=97,y=102,_=65,b=70,S=function(A,I){var M=o(A,I);return M>=a&&M<=x},k=function(A,I,M){if(M>=A.length)return-1;for(var B=0;I<M;I++){var N=R(o(A,I));if(N===-1)return-1;B=B*16+N}return B},R=function(A){return A>=a&&A<=x?A-a:A>=p&&A<=y?A-p+10:A>=_&&A<=b?A-_+10:-1};d.exports=function(A){for(var I="",M=0,B=0,N;(B=h(A,"\\",B))>-1;){if(I+=u(A,M,B),++B===A.length)return;var V=f(A,B++);switch(V){case"b":I+="\b";break;case"t":I+=" ";break;case"n":I+=`
`;break;case"v":I+="\v";break;case"f":I+="\f";break;case"r":I+="\r";break;case"\r":B<A.length&&f(A,B)===`
`&&++B;case`
`:case"\u2028":case"\u2029":break;case"0":if(S(A,B))return;I+="\0";break;case"x":if(N=k(A,B,B+2),N===-1)return;B+=2,I+=l(N);break;case"u":if(B<A.length&&f(A,B)==="{"){var W=h(A,"}",++B);if(W===-1)return;N=k(A,B,W),B=W+1}else N=k(A,B,B+4),B+=4;if(N===-1||N>1114111)return;I+=c(N);break;default:if(S(V,0))return;I+=V}M=B}return I+u(A,M)}},93245:function(d,v,e){"use strict";var r=e(94237),i=2147483647,l=36,c=1,f=26,o=38,h=700,u=72,a=128,x="-",p=/[^\0-\u007E]/,y=/[.\u3002\uFF0E\uFF61]/g,_="Overflow: input needs wider integers to process",b=l-c,S=RangeError,k=r(y.exec),R=Math.floor,A=String.fromCharCode,I=r("".charCodeAt),M=r([].join),B=r([].push),N=r("".replace),V=r("".split),W=r("".toLowerCase),H=function(J){for(var q=[],K=0,se=J.length;K<se;){var ee=I(J,K++);if(ee>=55296&&ee<=56319&&K<se){var Q=I(J,K++);(Q&64512)===56320?B(q,((ee&1023)<<10)+(Q&1023)+65536):(B(q,ee),K--)}else B(q,ee)}return q},ae=function(J){return J+22+75*(J<26)},ne=function(J,q,K){var se=0;for(J=K?R(J/h):J>>1,J+=R(J/q);J>b*f>>1;)J=R(J/b),se+=l;return R(se+(b+1)*J/(J+o))},oe=function(J){var q=[];J=H(J);var K=J.length,se=a,ee=0,Q=u,le,z;for(le=0;le<J.length;le++)z=J[le],z<128&&B(q,A(z));var $=q.length,ie=$;for($&&B(q,x);ie<K;){var _e=i;for(le=0;le<J.length;le++)z=J[le],z>=se&&z<_e&&(_e=z);var Ae=ie+1;if(_e-se>R((i-ee)/Ae))throw new S(_);for(ee+=(_e-se)*Ae,se=_e,le=0;le<J.length;le++){if(z=J[le],z<se&&++ee>i)throw new S(_);if(z===se){for(var Pe=ee,We=l;;){var $e=We<=Q?c:We>=Q+f?f:We-Q;if(Pe<$e)break;var Lt=Pe-$e,bt=l-$e;B(q,A(ae($e+Lt%bt))),Pe=R(Lt/bt),We+=l}B(q,A(ae(Pe))),Q=ne(ee,Ae,ie===$),ee=0,ie++}}ee++,se++}return M(q,"")};d.exports=function(J){var q=[],K=V(N(W(J),y,"."),"."),se,ee;for(se=0;se<K.length;se++)ee=K[se],B(q,k(p,ee)?"xn--"+oe(ee):ee);return M(q,".")}},71049:function(d,v,e){"use strict";var r=e(56902),i=e(69905),l=e(95955),c=RangeError;d.exports=function(o){var h=i(l(this)),u="",a=r(o);if(a<0||a===1/0)throw new c("Wrong number of repetitions");for(;a>0;(a>>>=1)&&(h+=h))a&1&&(u+=h);return u}},9591:function(d,v,e){"use strict";var r=e(52971).end,i=e(18105);d.exports=i("trimEnd")?function(){return r(this)}:"".trimEnd},18105:function(d,v,e){"use strict";var r=e(8090).PROPER,i=e(3338),l=e(19268),c="\u200B\x85\u180E";d.exports=function(f){return i(function(){return!!l[f]()||c[f]()!==c||r&&l[f].name!==f})}},27374:function(d,v,e){"use strict";var r=e(52971).start,i=e(18105);d.exports=i("trimStart")?function(){return r(this)}:"".trimStart},52971:function(d,v,e){"use strict";var r=e(94237),i=e(95955),l=e(69905),c=e(19268),f=r("".replace),o=RegExp("^["+c+"]+"),h=RegExp("(^|[^"+c+"])["+c+"]+$"),u=function(a){return function(x){var p=l(i(x));return a&1&&(p=f(p,o,"")),a&2&&(p=f(p,h,"$1")),p}};d.exports={start:u(1),end:u(2),trim:u(3)}},80426:function(d,v,e){"use strict";var r=e(92916),i=e(3338),l=e(46573),c=e(66994),f=e(91821),o=e(90946),h=r.structuredClone;d.exports=!!h&&!i(function(){if(f&&l>92||o&&l>94||c&&l>97)return!1;var u=new ArrayBuffer(8),a=h(u,{transfer:[u]});return u.byteLength!==0||a.byteLength!==8})},42820:function(d,v,e){"use strict";var r=e(46573),i=e(3338),l=e(92916),c=l.String;d.exports=!!Object.getOwnPropertySymbols&&!i(function(){var f=Symbol("symbol detection");return!c(f)||!(Object(f)instanceof Symbol)||!Symbol.sham&&r&&r<41})},14311:function(d,v,e){"use strict";var r=e(89945),i=e(65911),l=e(59893),c=e(2291);d.exports=function(){var f=i("Symbol"),o=f&&f.prototype,h=o&&o.valueOf,u=l("toPrimitive");o&&!o[u]&&c(o,u,function(a){return r(h,this)},{arity:1})}},69077:function(d,v,e){"use strict";var r=e(65911),i=e(94237),l=r("Symbol"),c=l.keyFor,f=i(l.prototype.valueOf);d.exports=l.isRegisteredSymbol||function(h){try{return c(f(h))!==void 0}catch(u){return!1}}},40443:function(d,v,e){"use strict";for(var r=e(77898),i=e(65911),l=e(94237),c=e(18446),f=e(59893),o=i("Symbol"),h=o.isWellKnownSymbol,u=i("Object","getOwnPropertyNames"),a=l(o.prototype.valueOf),x=r("wks"),p=0,y=u(o),_=y.length;p<_;p++)try{var b=y[p];c(o[b])&&f(b)}catch(S){}d.exports=function(k){if(h&&h(k))return!0;try{for(var R=a(k),A=0,I=u(x),M=I.length;A<M;A++)if(x[I[A]]==R)return!0}catch(B){}return!1}},60798:function(d,v,e){"use strict";var r=e(42820);d.exports=r&&!!Symbol.for&&!!Symbol.keyFor},28887:function(d,v,e){"use strict";var r=e(92916),i=e(13743),l=e(80666),c=e(55327),f=e(32621),o=e(3338),h=e(75171),u=e(30867),a=e(86060),x=e(57106),p=e(70695),y=e(90946),_=r.setImmediate,b=r.clearImmediate,S=r.process,k=r.Dispatch,R=r.Function,A=r.MessageChannel,I=r.String,M=0,B={},N="onreadystatechange",V,W,H,ae;o(function(){V=r.location});var ne=function(K){if(f(B,K)){var se=B[K];delete B[K],se()}},oe=function(K){return function(){ne(K)}},J=function(K){ne(K.data)},q=function(K){r.postMessage(I(K),V.protocol+"//"+V.host)};(!_||!b)&&(_=function(se){x(arguments.length,1);var ee=c(se)?se:R(se),Q=u(arguments,1);return B[++M]=function(){i(ee,void 0,Q)},W(M),M},b=function(se){delete B[se]},y?W=function(K){S.nextTick(oe(K))}:k&&k.now?W=function(K){k.now(oe(K))}:A&&!p?(H=new A,ae=H.port2,H.port1.onmessage=J,W=l(ae.postMessage,ae)):r.addEventListener&&c(r.postMessage)&&!r.importScripts&&V&&V.protocol!=="file:"&&!o(q)?(W=q,r.addEventListener("message",J,!1)):N in a("script")?W=function(K){h.appendChild(a("script"))[N]=function(){h.removeChild(this),ne(K)}}:W=function(K){setTimeout(oe(K),0)}),d.exports={set:_,clear:b}},49228:function(d,v,e){"use strict";var r=e(94237);d.exports=r(1 .valueOf)},51981:function(d,v,e){"use strict";var r=e(56902),i=Math.max,l=Math.min;d.exports=function(c,f){var o=r(c);return o<0?i(o+f,0):l(o,f)}},93303:function(d,v,e){"use strict";var r=e(97954),i=TypeError;d.exports=function(l){var c=r(l,"number");if(typeof c=="number")throw new i("Can't convert number to bigint");return BigInt(c)}},24225:function(d,v,e){"use strict";var r=e(56902),i=e(61578),l=RangeError;d.exports=function(c){if(c===void 0)return 0;var f=r(c),o=i(f);if(f!==o)throw new l("Wrong length or index");return o}},80524:function(d,v,e){"use strict";var r=e(1835),i=e(95955);d.exports=function(l){return r(i(l))}},56902:function(d,v,e){"use strict";var r=e(3312);d.exports=function(i){var l=+i;return l!==l||l===0?0:r(l)}},61578:function(d,v,e){"use strict";var r=e(56902),i=Math.min;d.exports=function(l){return l>0?i(r(l),9007199254740991):0}},94029:function(d,v,e){"use strict";var r=e(95955),i=Object;d.exports=function(l){return i(r(l))}},64135:function(d,v,e){"use strict";var r=e(51358),i=RangeError;d.exports=function(l,c){var f=r(l);if(f%c)throw new i("Wrong offset");return f}},51358:function(d,v,e){"use strict";var r=e(56902),i=RangeError;d.exports=function(l){var c=r(l);if(c<0)throw new i("The argument can't be less than 0");return c}},97954:function(d,v,e){"use strict";var r=e(89945),i=e(31946),l=e(18446),c=e(53776),f=e(44759),o=e(59893),h=TypeError,u=o("toPrimitive");d.exports=function(a,x){if(!i(a)||l(a))return a;var p=c(a,u),y;if(p){if(x===void 0&&(x="default"),y=r(p,a,x),!i(y)||l(y))return y;throw new h("Can't convert object to primitive value")}return x===void 0&&(x="number"),f(a,x)}},17818:function(d,v,e){"use strict";var r=e(97954),i=e(18446);d.exports=function(l){var c=r(l,"string");return i(c)?c:c+""}},77999:function(d,v,e){"use strict";var r=e(65911),i=e(55327),l=e(30360),c=e(31946),f=r("Set"),o=function(h){return c(h)&&typeof h.size=="number"&&i(h.has)&&i(h.keys)};d.exports=function(h){return o(h)?h:l(h)?new f(h):h}},68527:function(d,v,e){"use strict";var r=e(59893),i=r("toStringTag"),l={};l[i]="z",d.exports=String(l)==="[object z]"},69905:function(d,v,e){"use strict";var r=e(97607),i=String;d.exports=function(l){if(r(l)==="Symbol")throw new TypeError("Cannot convert a Symbol value to a string");return i(l)}},86350:function(d){"use strict";var v=Math.round;d.exports=function(e){var r=v(e);return r<0?0:r>255?255:r&255}},11270:function(d,v,e){"use strict";var r=e(90946);d.exports=function(i){try{if(r)return Function('return require("'+i+'")')()}catch(l){}}},40593:function(d){"use strict";var v=String;d.exports=function(e){try{return v(e)}catch(r){return"Object"}}},69733:function(d,v,e){"use strict";var r=e(94488),i=e(92916),l=e(89945),c=e(35454),f=e(59627),o=e(58261),h=e(91669),u=e(56472),a=e(35012),x=e(68151),p=e(62896),y=e(61578),_=e(24225),b=e(64135),S=e(86350),k=e(17818),R=e(32621),A=e(97607),I=e(31946),M=e(18446),B=e(20132),N=e(16332),V=e(58218),W=e(80689).f,H=e(50706),ae=e(90560).forEach,ne=e(51996),oe=e(64110),J=e(37691),q=e(71256),K=e(94844),se=e(25576),ee=K.get,Q=K.set,le=K.enforce,z=J.f,$=q.f,ie=i.RangeError,_e=h.ArrayBuffer,Ae=_e.prototype,Pe=h.DataView,We=o.NATIVE_ARRAY_BUFFER_VIEWS,$e=o.TYPED_ARRAY_TAG,Lt=o.TypedArray,bt=o.TypedArrayPrototype,kt=o.aTypedArrayConstructor,Zt=o.isTypedArray,Mt="BYTES_PER_ELEMENT",tr="Wrong length",je=function(Qe,Ne){kt(Qe);for(var xe=0,ke=Ne.length,Ge=new Qe(ke);ke>xe;)Ge[xe]=Ne[xe++];return Ge},wt=function(Qe,Ne){oe(Qe,Ne,{configurable:!0,get:function(){return ee(this)[Ne]}})},Ft=function(Qe){var Ne;return N(Ae,Qe)||(Ne=A(Qe))==="ArrayBuffer"||Ne==="SharedArrayBuffer"},tt=function(Qe,Ne){return Zt(Qe)&&!M(Ne)&&Ne in Qe&&p(+Ne)&&Ne>=0},gt=function(Ne,xe){return xe=k(xe),tt(Ne,xe)?a(2,Ne[xe]):$(Ne,xe)},ft=function(Ne,xe,ke){return xe=k(xe),tt(Ne,xe)&&I(ke)&&R(ke,"value")&&!R(ke,"get")&&!R(ke,"set")&&!ke.configurable&&(!R(ke,"writable")||ke.writable)&&(!R(ke,"enumerable")||ke.enumerable)?(Ne[xe]=ke.value,Ne):z(Ne,xe,ke)};c?(We||(q.f=gt,J.f=ft,wt(bt,"buffer"),wt(bt,"byteOffset"),wt(bt,"byteLength"),wt(bt,"length")),r({target:"Object",stat:!0,forced:!We},{getOwnPropertyDescriptor:gt,defineProperty:ft}),d.exports=function(Qe,Ne,xe){var ke=Qe.match(/\d+/)[0]/8,Ge=Qe+(xe?"Clamped":"")+"Array",He="get"+Qe,Ye="set"+Qe,dt=i[Ge],xt=dt,nr=xt&&xt.prototype,qt={},Me=function(zt,Ht){var Ct=ee(zt);return Ct.view[He](Ht*ke+Ct.byteOffset,!0)},qe=function(zt,Ht,Ct){var Xt=ee(zt);Xt.view[Ye](Ht*ke+Xt.byteOffset,xe?S(Ct):Ct,!0)},Vt=function(zt,Ht){z(zt,Ht,{get:function(){return Me(this,Ht)},set:function(Ct){return qe(this,Ht,Ct)},enumerable:!0})};We?f&&(xt=Ne(function(zt,Ht,Ct,Xt){return u(zt,nr),se(function(){return I(Ht)?Ft(Ht)?Xt!==void 0?new dt(Ht,b(Ct,ke),Xt):Ct!==void 0?new dt(Ht,b(Ct,ke)):new dt(Ht):Zt(Ht)?je(xt,Ht):l(H,xt,Ht):new dt(_(Ht))}(),zt,xt)}),V&&V(xt,Lt),ae(W(dt),function(zt){zt in xt||x(xt,zt,dt[zt])}),xt.prototype=nr):(xt=Ne(function(zt,Ht,Ct,Xt){u(zt,nr);var ze=0,ce=0,pe,It,Te;if(!I(Ht))Te=_(Ht),It=Te*ke,pe=new _e(It);else if(Ft(Ht)){pe=Ht,ce=b(Ct,ke);var ct=Ht.byteLength;if(Xt===void 0){if(ct%ke)throw new ie(tr);if(It=ct-ce,It<0)throw new ie(tr)}else if(It=y(Xt)*ke,It+ce>ct)throw new ie(tr);Te=It/ke}else return Zt(Ht)?je(xt,Ht):l(H,xt,Ht);for(Q(zt,{buffer:pe,byteOffset:ce,byteLength:It,length:Te,view:new Pe(pe)});ze<Te;)Vt(zt,ze++)}),V&&V(xt,Lt),nr=xt.prototype=B(bt)),nr.constructor!==xt&&x(nr,"constructor",xt),le(nr).TypedArrayConstructor=xt,$e&&x(nr,$e,Ge);var Rt=xt!==dt;qt[Ge]=xt,r({global:!0,constructor:!0,forced:Rt,sham:!We},qt),Mt in xt||x(xt,Mt,ke),Mt in nr||x(nr,Mt,ke),ne(Ge)}):d.exports=function(){}},59627:function(d,v,e){"use strict";var r=e(92916),i=e(3338),l=e(35221),c=e(58261).NATIVE_ARRAY_BUFFER_VIEWS,f=r.ArrayBuffer,o=r.Int8Array;d.exports=!c||!i(function(){o(1)})||!i(function(){new o(-1)})||!l(function(h){new o,new o(null),new o(1.5),new o(h)},!0)||i(function(){return new o(new f(2),1,void 0).length!==1})},27607:function(d,v,e){"use strict";var r=e(69478),i=e(31384);d.exports=function(l,c){return r(i(l),c)}},50706:function(d,v,e){"use strict";var r=e(80666),i=e(89945),l=e(6086),c=e(94029),f=e(82762),o=e(85428),h=e(26006),u=e(345),a=e(75406),x=e(58261).aTypedArrayConstructor,p=e(93303);d.exports=function(_){var b=l(this),S=c(_),k=arguments.length,R=k>1?arguments[1]:void 0,A=R!==void 0,I=h(S),M,B,N,V,W,H,ae,ne;if(I&&!u(I))for(ae=o(S,I),ne=ae.next,S=[];!(H=i(ne,ae)).done;)S.push(H.value);for(A&&k>2&&(R=r(R,arguments[2])),B=f(S),N=new(x(b))(B),V=a(N),M=0;B>M;M++)W=A?R(S[M],M):S[M],N[M]=V?p(W):+W;return N}},31384:function(d,v,e){"use strict";var r=e(58261),i=e(60473),l=r.aTypedArrayConstructor,c=r.getTypedArrayConstructor;d.exports=function(f){return l(i(f,c(f)))}},6145:function(d,v,e){"use strict";var r=e(94237),i=0,l=Math.random(),c=r(1 .toString);d.exports=function(f){return"Symbol("+(f===void 0?"":f)+")_"+c(++i+l,36)}},3299:function(d,v,e){"use strict";var r=e(3338),i=e(59893),l=e(35454),c=e(16697),f=i("iterator");d.exports=!r(function(){var o=new URL("b?a=1&b=2&c=3","http://a"),h=o.searchParams,u=new URLSearchParams("a=1&a=2&b=3"),a="";return o.pathname="c%20d",h.forEach(function(x,p){h.delete("b"),a+=p+x}),u.delete("a",2),u.delete("b",void 0),c&&(!o.toJSON||!u.has("a",1)||u.has("a",2)||!u.has("a",void 0)||u.has("b"))||!h.size&&(c||!l)||!h.sort||o.href!=="http://a/c%20d?a=1&c=3"||h.get("c")!=="3"||String(new URLSearchParams("?a=1"))!=="a=1"||!h[f]||new URL("https://a@b").username!=="a"||new URLSearchParams(new URLSearchParams("a=b")).get("a")!=="b"||new URL("http://\u0442\u0435\u0441\u0442").host!=="xn--e1aybc"||new URL("http://a#\u0431").hash!=="#%D0%B1"||a!=="a1c3"||new URL("http://x",void 0).host!=="x"})},14417:function(d,v,e){"use strict";var r=e(42820);d.exports=r&&!Symbol.sham&&typeof Symbol.iterator=="symbol"},93199:function(d,v,e){"use strict";var r=e(35454),i=e(3338);d.exports=r&&i(function(){return Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype!==42})},57106:function(d){"use strict";var v=TypeError;d.exports=function(e,r){if(e<r)throw new v("Not enough arguments");return e}},40115:function(d,v,e){"use strict";var r=e(92916),i=e(55327),l=r.WeakMap;d.exports=i(l)&&/native code/.test(String(l))},42530:function(d,v,e){"use strict";var r=e(94237),i=WeakMap.prototype;d.exports={WeakMap,set:r(i.set),get:r(i.get),has:r(i.has),remove:r(i.delete)}},91385:function(d,v,e){"use strict";var r=e(94237),i=WeakSet.prototype;d.exports={WeakSet,add:r(i.add),has:r(i.has),remove:r(i.delete)}},94674:function(d,v,e){"use strict";var r=e(9699),i=e(32621),l=e(38282),c=e(37691).f;d.exports=function(f){var o=r.Symbol||(r.Symbol={});i(o,f)||c(o,f,{value:l.f(f)})}},38282:function(d,v,e){"use strict";var r=e(59893);v.f=r},59893:function(d,v,e){"use strict";var r=e(92916),i=e(77898),l=e(32621),c=e(6145),f=e(42820),o=e(14417),h=r.Symbol,u=i("wks"),a=o?h.for||h:h&&h.withoutSetter||c;d.exports=function(x){return l(u,x)||(u[x]=f&&l(h,x)?h[x]:a("Symbol."+x)),u[x]}},19268:function(d){"use strict";d.exports=`
\v\f\r \xA0\u1680\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF`},78540:function(d,v,e){"use strict";var r=e(65911),i=e(32621),l=e(68151),c=e(16332),f=e(58218),o=e(24538),h=e(44166),u=e(25576),a=e(7825),x=e(73068),p=e(61888),y=e(35454),_=e(16697);d.exports=function(b,S,k,R){var A="stackTraceLimit",I=R?2:1,M=b.split("."),B=M[M.length-1],N=r.apply(null,M);if(N){var V=N.prototype;if(!_&&i(V,"cause")&&delete V.cause,!k)return N;var W=r("Error"),H=S(function(ae,ne){var oe=a(R?ne:ae,void 0),J=R?new N(ae):new N;return oe!==void 0&&l(J,"message",oe),p(J,H,J.stack,2),this&&c(V,this)&&u(J,this,H),arguments.length>I&&x(J,arguments[I]),J});if(H.prototype=V,B!=="Error"?f?f(H,W):o(H,W,{name:!0}):y&&A in N&&(h(H,N,A),h(H,N,"prepareStackTrace")),o(H,N),!_)try{V.name!==B&&l(V,"name",B),V.constructor=H}catch(ae){}return H}}},93074:function(d,v,e){"use strict";var r=e(94488),i=e(65911),l=e(13743),c=e(3338),f=e(78540),o="AggregateError",h=i(o),u=!c(function(){return h([1]).errors[0]!==1})&&c(function(){return h([1],o,{cause:7}).cause!==7});r({global:!0,constructor:!0,arity:2,forced:u},{AggregateError:f(o,function(a){return function(p,y){return l(a,this,arguments)}},u,!0)})},6555:function(d,v,e){"use strict";var r=e(94488),i=e(16332),l=e(53456),c=e(58218),f=e(24538),o=e(20132),h=e(68151),u=e(35012),a=e(73068),x=e(61888),p=e(62003),y=e(7825),_=e(59893),b=_("toStringTag"),S=Error,k=[].push,R=function(M,B){var N=i(A,this),V;c?V=c(new S,N?l(this):A):(V=N?this:o(A),h(V,b,"Error")),B!==void 0&&h(V,"message",y(B)),x(V,R,V.stack,1),arguments.length>2&&a(V,arguments[2]);var W=[];return p(M,k,{that:W}),h(V,"errors",W),V};c?c(R,S):f(R,S,{name:!0});var A=R.prototype=o(S.prototype,{constructor:u(1,R),message:u(1,""),name:u(1,"AggregateError")});r({global:!0,constructor:!0,arity:2},{AggregateError:R})},86357:function(d,v,e){"use strict";e(6555)},89170:function(d,v,e){"use strict";var r=e(94488),i=e(92916),l=e(91669),c=e(51996),f="ArrayBuffer",o=l[f],h=i[f];r({global:!0,constructor:!0,forced:h!==o},{ArrayBuffer:o}),c(f)},71012:function(d,v,e){"use strict";var r=e(94488),i=e(58261),l=i.NATIVE_ARRAY_BUFFER_VIEWS;r({target:"ArrayBuffer",stat:!0,forced:!l},{isView:i.isView})},84203:function(d,v,e){"use strict";var r=e(94488),i=e(34114),l=e(3338),c=e(91669),f=e(80449),o=e(51981),h=e(61578),u=e(60473),a=c.ArrayBuffer,x=c.DataView,p=x.prototype,y=i(a.prototype.slice),_=i(p.getUint8),b=i(p.setUint8),S=l(function(){return!new a(2).slice(1,void 0).byteLength});r({target:"ArrayBuffer",proto:!0,unsafe:!0,forced:S},{slice:function(R,A){if(y&&A===void 0)return y(f(this),R);for(var I=f(this).byteLength,M=o(R,I),B=o(A===void 0?I:A,I),N=new(u(this,a))(h(B-M)),V=new x(this),W=new x(N),H=0;M<B;)b(W,H++,_(V,M++));return N}})},96331:function(d,v,e){"use strict";var r=e(94488),i=e(94029),l=e(82762),c=e(56902),f=e(81181);r({target:"Array",proto:!0},{at:function(h){var u=i(this),a=l(u),x=c(h),p=x>=0?x:a+x;return p<0||p>=a?void 0:u[p]}}),f("at")},2924:function(d,v,e){"use strict";var r=e(94488),i=e(3338),l=e(18589),c=e(31946),f=e(94029),o=e(82762),h=e(66434),u=e(69392),a=e(81427),x=e(17480),p=e(59893),y=e(46573),_=p("isConcatSpreadable"),b=y>=51||!i(function(){var R=[];return R[_]=!1,R.concat()[0]!==R}),S=function(R){if(!c(R))return!1;var A=R[_];return A!==void 0?!!A:l(R)},k=!b||!x("concat");r({target:"Array",proto:!0,arity:1,forced:k},{concat:function(A){var I=f(this),M=a(I,0),B=0,N,V,W,H,ae;for(N=-1,W=arguments.length;N<W;N++)if(ae=N===-1?I:arguments[N],S(ae))for(H=o(ae),h(B+H),V=0;V<H;V++,B++)V in ae&&u(M,B,ae[V]);else h(B+1),u(M,B++,ae);return M.length=B,M}})},26425:function(d,v,e){"use strict";var r=e(94488),i=e(92670),l=e(81181);r({target:"Array",proto:!0},{copyWithin:i}),l("copyWithin")},32125:function(d,v,e){"use strict";var r=e(94488),i=e(90560).every,l=e(45601),c=l("every");r({target:"Array",proto:!0,forced:!c},{every:function(o){return i(this,o,arguments.length>1?arguments[1]:void 0)}})},16137:function(d,v,e){"use strict";var r=e(94488),i=e(75202),l=e(81181);r({target:"Array",proto:!0},{fill:i}),l("fill")},48435:function(d,v,e){"use strict";var r=e(94488),i=e(90560).filter,l=e(17480),c=l("filter");r({target:"Array",proto:!0,forced:!c},{filter:function(o){return i(this,o,arguments.length>1?arguments[1]:void 0)}})},70365:function(d,v,e){"use strict";var r=e(94488),i=e(90560).findIndex,l=e(81181),c="findIndex",f=!0;c in[]&&Array(1)[c](function(){f=!1}),r({target:"Array",proto:!0,forced:f},{findIndex:function(h){return i(this,h,arguments.length>1?arguments[1]:void 0)}}),l(c)},17482:function(d,v,e){"use strict";var r=e(94488),i=e(53279).findLastIndex,l=e(81181);r({target:"Array",proto:!0},{findLastIndex:function(f){return i(this,f,arguments.length>1?arguments[1]:void 0)}}),l("findLastIndex")},33717:function(d,v,e){"use strict";var r=e(94488),i=e(53279).findLast,l=e(81181);r({target:"Array",proto:!0},{findLast:function(f){return i(this,f,arguments.length>1?arguments[1]:void 0)}}),l("findLast")},11553:function(d,v,e){"use strict";var r=e(94488),i=e(90560).find,l=e(81181),c="find",f=!0;c in[]&&Array(1)[c](function(){f=!1}),r({target:"Array",proto:!0,forced:f},{find:function(h){return i(this,h,arguments.length>1?arguments[1]:void 0)}}),l(c)},65033:function(d,v,e){"use strict";var r=e(94488),i=e(3372),l=e(63335),c=e(94029),f=e(82762),o=e(81427);r({target:"Array",proto:!0},{flatMap:function(u){var a=c(this),x=f(a),p;return l(u),p=o(a,0),p.length=i(p,a,a,x,0,1,u,arguments.length>1?arguments[1]:void 0),p}})},23708:function(d,v,e){"use strict";var r=e(94488),i=e(3372),l=e(94029),c=e(82762),f=e(56902),o=e(81427);r({target:"Array",proto:!0},{flat:function(){var u=arguments.length?arguments[0]:void 0,a=l(this),x=c(a),p=o(a,0);return p.length=i(p,a,a,x,0,u===void 0?1:f(u)),p}})},52732:function(d,v,e){"use strict";var r=e(94488),i=e(59594);r({target:"Array",proto:!0,forced:[].forEach!==i},{forEach:i})},99382:function(d,v,e){"use strict";var r=e(94488),i=e(60255),l=e(35221),c=!l(function(f){Array.from(f)});r({target:"Array",stat:!0,forced:c},{from:i})},88437:function(d,v,e){"use strict";var r=e(94488),i=e(22999).includes,l=e(3338),c=e(81181),f=l(function(){return!Array(1).includes()});r({target:"Array",proto:!0,forced:f},{includes:function(h){return i(this,h,arguments.length>1?arguments[1]:void 0)}}),c("includes")},68440:function(d,v,e){"use strict";var r=e(94488),i=e(34114),l=e(22999).indexOf,c=e(45601),f=i([].indexOf),o=!!f&&1/f([1],1,-0)<0,h=o||!c("indexOf");r({target:"Array",proto:!0,forced:h},{indexOf:function(a){var x=arguments.length>1?arguments[1]:void 0;return o?f(this,a,x)||0:l(this,a,x)}})},13412:function(d,v,e){"use strict";var r=e(94488),i=e(18589);r({target:"Array",stat:!0},{isArray:i})},11005:function(d,v,e){"use strict";var r=e(80524),i=e(81181),l=e(48074),c=e(94844),f=e(37691).f,o=e(24019),h=e(25587),u=e(16697),a=e(35454),x="Array Iterator",p=c.set,y=c.getterFor(x);d.exports=o(Array,"Array",function(b,S){p(this,{type:x,target:r(b),index:0,kind:S})},function(){var b=y(this),S=b.target,k=b.index++;if(!S||k>=S.length)return b.target=void 0,h(void 0,!0);switch(b.kind){case"keys":return h(k,!1);case"values":return h(S[k],!1)}return h([k,S[k]],!1)},"values");var _=l.Arguments=l.Array;if(i("keys"),i("values"),i("entries"),!u&&a&&_.name!=="values")try{f(_,"name",{value:"values"})}catch(b){}},70348:function(d,v,e){"use strict";var r=e(94488),i=e(94237),l=e(1835),c=e(80524),f=e(45601),o=i([].join),h=l!==Object,u=h||!f("join",",");r({target:"Array",proto:!0,forced:u},{join:function(x){return o(c(this),x===void 0?",":x)}})},19801:function(d,v,e){"use strict";var r=e(94488),i=e(55009);r({target:"Array",proto:!0,forced:i!==[].lastIndexOf},{lastIndexOf:i})},91550:function(d,v,e){"use strict";var r=e(94488),i=e(90560).map,l=e(17480),c=l("map");r({target:"Array",proto:!0,forced:!c},{map:function(o){return i(this,o,arguments.length>1?arguments[1]:void 0)}})},85223:function(d,v,e){"use strict";var r=e(94488),i=e(3338),l=e(39812),c=e(69392),f=Array,o=i(function(){function h(){}return!(f.of.call(h)instanceof h)});r({target:"Array",stat:!0,forced:o},{of:function(){for(var u=0,a=arguments.length,x=new(l(this)?this:f)(a);a>u;)c(x,u,arguments[u++]);return x.length=a,x}})},7154:function(d,v,e){"use strict";var r=e(94488),i=e(94029),l=e(82762),c=e(39428),f=e(66434),o=e(3338),h=o(function(){return[].push.call({length:4294967296},1)!==4294967297}),u=function(){try{Object.defineProperty([],"length",{writable:!1}).push()}catch(x){return x instanceof TypeError}},a=h||!u();r({target:"Array",proto:!0,arity:1,forced:a},{push:function(p){var y=i(this),_=l(y),b=arguments.length;f(_+b);for(var S=0;S<b;S++)y[_]=arguments[S],_++;return c(y,_),_}})},96009:function(d,v,e){"use strict";var r=e(94488),i=e(16370).right,l=e(45601),c=e(46573),f=e(90946),o=!f&&c>79&&c<83,h=o||!l("reduceRight");r({target:"Array",proto:!0,forced:h},{reduceRight:function(a){return i(this,a,arguments.length,arguments.length>1?arguments[1]:void 0)}})},67788:function(d,v,e){"use strict";var r=e(94488),i=e(16370).left,l=e(45601),c=e(46573),f=e(90946),o=!f&&c>79&&c<83,h=o||!l("reduce");r({target:"Array",proto:!0,forced:h},{reduce:function(a){var x=arguments.length;return i(this,a,x,x>1?arguments[1]:void 0)}})},9402:function(d,v,e){"use strict";var r=e(94488),i=e(94237),l=e(18589),c=i([].reverse),f=[1,2];r({target:"Array",proto:!0,forced:String(f)===String(f.reverse())},{reverse:function(){return l(this)&&(this.length=this.length),c(this)}})},62489:function(d,v,e){"use strict";var r=e(94488),i=e(18589),l=e(39812),c=e(31946),f=e(51981),o=e(82762),h=e(80524),u=e(69392),a=e(59893),x=e(17480),p=e(30867),y=x("slice"),_=a("species"),b=Array,S=Math.max;r({target:"Array",proto:!0,forced:!y},{slice:function(R,A){var I=h(this),M=o(I),B=f(R,M),N=f(A===void 0?M:A,M),V,W,H;if(i(I)&&(V=I.constructor,l(V)&&(V===b||i(V.prototype))?V=void 0:c(V)&&(V=V[_],V===null&&(V=void 0)),V===b||V===void 0))return p(I,B,N);for(W=new(V===void 0?b:V)(S(N-B,0)),H=0;B<N;B++,H++)B in I&&u(W,H,I[B]);return W.length=H,W}})},80881:function(d,v,e){"use strict";var r=e(94488),i=e(90560).some,l=e(45601),c=l("some");r({target:"Array",proto:!0,forced:!c},{some:function(o){return i(this,o,arguments.length>1?arguments[1]:void 0)}})},62837:function(d,v,e){"use strict";var r=e(94488),i=e(94237),l=e(63335),c=e(94029),f=e(82762),o=e(84233),h=e(69905),u=e(3338),a=e(63668),x=e(45601),p=e(78177),y=e(17687),_=e(46573),b=e(19684),S=[],k=i(S.sort),R=i(S.push),A=u(function(){S.sort(void 0)}),I=u(function(){S.sort(null)}),M=x("sort"),B=!u(function(){if(_)return _<70;if(!(p&&p>3)){if(y)return!0;if(b)return b<603;var W="",H,ae,ne,oe;for(H=65;H<76;H++){switch(ae=String.fromCharCode(H),H){case 66:case 69:case 70:case 72:ne=3;break;case 68:case 71:ne=4;break;default:ne=2}for(oe=0;oe<47;oe++)S.push({k:ae+oe,v:ne})}for(S.sort(function(J,q){return q.v-J.v}),oe=0;oe<S.length;oe++)ae=S[oe].k.charAt(0),W.charAt(W.length-1)!==ae&&(W+=ae);return W!=="DGBEFHACIJK"}}),N=A||!I||!M||!B,V=function(W){return function(H,ae){return ae===void 0?-1:H===void 0?1:W!==void 0?+W(H,ae)||0:h(H)>h(ae)?1:-1}};r({target:"Array",proto:!0,forced:N},{sort:function(H){H!==void 0&&l(H);var ae=c(this);if(B)return H===void 0?k(ae):k(ae,H);var ne=[],oe=f(ae),J,q;for(q=0;q<oe;q++)q in ae&&R(ne,ae[q]);for(a(ne,V(H)),J=f(ne),q=0;q<J;)ae[q]=ne[q++];for(;q<oe;)o(ae,q++);return ae}})},4705:function(d,v,e){"use strict";var r=e(51996);r("Array")},13941:function(d,v,e){"use strict";var r=e(94488),i=e(94029),l=e(51981),c=e(56902),f=e(82762),o=e(39428),h=e(66434),u=e(81427),a=e(69392),x=e(84233),p=e(17480),y=p("splice"),_=Math.max,b=Math.min;r({target:"Array",proto:!0,forced:!y},{splice:function(k,R){var A=i(this),I=f(A),M=l(k,I),B=arguments.length,N,V,W,H,ae,ne;for(B===0?N=V=0:B===1?(N=0,V=I-M):(N=B-2,V=b(_(c(R),0),I-M)),h(I+N-V),W=u(A,V),H=0;H<V;H++)ae=M+H,ae in A&&a(W,H,A[ae]);if(W.length=V,N<V){for(H=M;H<I-V;H++)ae=H+V,ne=H+N,ae in A?A[ne]=A[ae]:x(A,ne);for(H=I;H>I-V+N;H--)x(A,H-1)}else if(N>V)for(H=I-V;H>M;H--)ae=H+V-1,ne=H+N-1,ae in A?A[ne]=A[ae]:x(A,ne);for(H=0;H<N;H++)A[H+M]=arguments[H+2];return o(A,I-V+N),W}})},1148:function(d,v,e){"use strict";var r=e(94488),i=e(85903),l=e(80524),c=e(81181),f=Array;r({target:"Array",proto:!0},{toReversed:function(){return i(l(this),f)}}),c("toReversed")},82445:function(d,v,e){"use strict";var r=e(94488),i=e(94237),l=e(63335),c=e(80524),f=e(69478),o=e(55174),h=e(81181),u=Array,a=i(o("Array","sort"));r({target:"Array",proto:!0},{toSorted:function(p){p!==void 0&&l(p);var y=c(this),_=f(u,y);return a(_,p)}}),h("toSorted")},27267:function(d,v,e){"use strict";var r=e(94488),i=e(81181),l=e(66434),c=e(82762),f=e(51981),o=e(80524),h=e(56902),u=Array,a=Math.max,x=Math.min;r({target:"Array",proto:!0},{toSpliced:function(y,_){var b=o(this),S=c(b),k=f(y,S),R=arguments.length,A=0,I,M,B,N;for(R===0?I=M=0:R===1?(I=0,M=S-k):(I=R-2,M=x(a(h(_),0),S-k)),B=l(S+I-M),N=u(B);A<k;A++)N[A]=b[A];for(;A<k+I;A++)N[A]=arguments[A-k+2];for(;A<B;A++)N[A]=b[A+M-I];return N}}),i("toSpliced")},90308:function(d,v,e){"use strict";var r=e(81181);r("flatMap")},96353:function(d,v,e){"use strict";var r=e(81181);r("flat")},84818:function(d,v,e){"use strict";var r=e(94488),i=e(94029),l=e(82762),c=e(39428),f=e(84233),o=e(66434),h=[].unshift(0)!==1,u=function(){try{Object.defineProperty([],"length",{writable:!1}).unshift()}catch(x){return x instanceof TypeError}},a=h||!u();r({target:"Array",proto:!0,arity:1,forced:a},{unshift:function(p){var y=i(this),_=l(y),b=arguments.length;if(b){o(_+b);for(var S=_;S--;){var k=S+b;S in y?y[k]=y[S]:f(y,k)}for(var R=0;R<b;R++)y[R]=arguments[R]}return c(y,_+b)}})},80585:function(d,v,e){"use strict";var r=e(94488),i=e(82041),l=e(80524),c=Array;r({target:"Array",proto:!0},{with:function(f,o){return i(l(this),c,f,o)}})},40194:function(d,v,e){"use strict";var r=e(94488),i=e(91669),l=e(3737);r({global:!0,constructor:!0,forced:!l},{DataView:i.DataView})},22112:function(d,v,e){"use strict";e(40194)},81440:function(d,v,e){"use strict";var r=e(94488),i=e(94237),l=e(3338),c=l(function(){return new Date(16e11).getYear()!==120}),f=i(Date.prototype.getFullYear);r({target:"Date",proto:!0,forced:c},{getYear:function(){return f(this)-1900}})},25430:function(d,v,e){"use strict";var r=e(94488),i=e(94237),l=Date,c=i(l.prototype.getTime);r({target:"Date",stat:!0},{now:function(){return c(new l)}})},70105:function(d,v,e){"use strict";var r=e(94488),i=e(94237),l=e(56902),c=Date.prototype,f=i(c.getTime),o=i(c.setFullYear);r({target:"Date",proto:!0},{setYear:function(u){f(this);var a=l(u),x=a>=0&&a<=99?a+1900:a;return o(this,x)}})},71390:function(d,v,e){"use strict";var r=e(94488);r({target:"Date",proto:!0},{toGMTString:Date.prototype.toUTCString})},96844:function(d,v,e){"use strict";var r=e(94488),i=e(32494);r({target:"Date",proto:!0,forced:Date.prototype.toISOString!==i},{toISOString:i})},83578:function(d,v,e){"use strict";var r=e(94488),i=e(3338),l=e(94029),c=e(97954),f=i(function(){return new Date(NaN).toJSON()!==null||Date.prototype.toJSON.call({toISOString:function(){return 1}})!==1});r({target:"Date",proto:!0,arity:1,forced:f},{toJSON:function(h){var u=l(this),a=c(u,"number");return typeof a=="number"&&!isFinite(a)?null:u.toISOString()}})},69762:function(d,v,e){"use strict";var r=e(32621),i=e(2291),l=e(77119),c=e(59893),f=c("toPrimitive"),o=Date.prototype;r(o,f)||i(o,f,l)},76880:function(d,v,e){"use strict";var r=e(94237),i=e(2291),l=Date.prototype,c="Invalid Date",f="toString",o=r(l[f]),h=r(l.getTime);String(new Date(NaN))!==c&&i(l,f,function(){var a=h(this);return a===a?o(this):c})},31808:function(d,v,e){"use strict";var r=e(94488),i=e(92916),l=e(13743),c=e(78540),f="WebAssembly",o=i[f],h=new Error("e",{cause:7}).cause!==7,u=function(x,p){var y={};y[x]=c(x,p,h),r({global:!0,constructor:!0,arity:1,forced:h},y)},a=function(x,p){if(o&&o[x]){var y={};y[x]=c(f+"."+x,p,h),r({target:f,stat:!0,constructor:!0,arity:1,forced:h},y)}};u("Error",function(x){return function(y){return l(x,this,arguments)}}),u("EvalError",function(x){return function(y){return l(x,this,arguments)}}),u("RangeError",function(x){return function(y){return l(x,this,arguments)}}),u("ReferenceError",function(x){return function(y){return l(x,this,arguments)}}),u("SyntaxError",function(x){return function(y){return l(x,this,arguments)}}),u("TypeError",function(x){return function(y){return l(x,this,arguments)}}),u("URIError",function(x){return function(y){return l(x,this,arguments)}}),a("CompileError",function(x){return function(y){return l(x,this,arguments)}}),a("LinkError",function(x){return function(y){return l(x,this,arguments)}}),a("RuntimeError",function(x){return function(y){return l(x,this,arguments)}})},99953:function(d,v,e){"use strict";var r=e(2291),i=e(13367),l=Error.prototype;l.toString!==i&&r(l,"toString",i)},65009:function(d,v,e){"use strict";var r=e(94488),i=e(94237),l=e(69905),c=i("".charAt),f=i("".charCodeAt),o=i(/./.exec),h=i(1 .toString),u=i("".toUpperCase),a=/[\w*+\-./@]/,x=function(p,y){for(var _=h(p,16);_.length<y;)_="0"+_;return _};r({global:!0},{escape:function(y){for(var _=l(y),b="",S=_.length,k=0,R,A;k<S;)R=c(_,k++),o(a,R)?b+=R:(A=f(R,0),A<256?b+="%"+x(A,2):b+="%u"+u(x(A,4)));return b}})},28796:function(d,v,e){"use strict";var r=e(94488),i=e(4645);r({target:"Function",proto:!0,forced:Function.bind!==i},{bind:i})},56450:function(d,v,e){"use strict";var r=e(55327),i=e(31946),l=e(37691),c=e(53456),f=e(59893),o=e(86528),h=f("hasInstance"),u=Function.prototype;h in u||l.f(u,h,{value:o(function(a){if(!r(this)||!i(a))return!1;var x=this.prototype;if(!i(x))return a instanceof this;for(;a=c(a);)if(x===a)return!0;return!1},h)})},78342:function(d,v,e){"use strict";var r=e(35454),i=e(8090).EXISTS,l=e(94237),c=e(64110),f=Function.prototype,o=l(f.toString),h=/function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/,u=l(h.exec),a="name";r&&!i&&c(f,a,{configurable:!0,get:function(){try{return u(h,o(this))[1]}catch(x){return""}}})},13161:function(d,v,e){"use strict";var r=e(94488),i=e(92916);r({global:!0,forced:i.globalThis!==i},{globalThis:i})},54226:function(d,v,e){"use strict";var r=e(94488),i=e(65911),l=e(13743),c=e(89945),f=e(94237),o=e(3338),h=e(55327),u=e(18446),a=e(30867),x=e(65451),p=e(42820),y=String,_=i("JSON","stringify"),b=f(/./.exec),S=f("".charAt),k=f("".charCodeAt),R=f("".replace),A=f(1 .toString),I=/[\uD800-\uDFFF]/g,M=/^[\uD800-\uDBFF]$/,B=/^[\uDC00-\uDFFF]$/,N=!p||o(function(){var ae=i("Symbol")("stringify detection");return _([ae])!=="[null]"||_({a:ae})!=="{}"||_(Object(ae))!=="{}"}),V=o(function(){return _("\uDF06\uD834")!=='"\\udf06\\ud834"'||_("\uDEAD")!=='"\\udead"'}),W=function(ae,ne){var oe=a(arguments),J=x(ne);if(!(!h(J)&&(ae===void 0||u(ae))))return oe[1]=function(q,K){if(h(J)&&(K=c(J,this,y(q),K)),!u(K))return K},l(_,null,oe)},H=function(ae,ne,oe){var J=S(oe,ne-1),q=S(oe,ne+1);return b(M,ae)&&!b(B,q)||b(B,ae)&&!b(M,J)?"\\u"+A(k(ae,0),16):ae};_&&r({target:"JSON",stat:!0,arity:3,forced:N||V},{stringify:function(ne,oe,J){var q=a(arguments),K=l(N?W:_,null,q);return V&&typeof K=="string"?R(K,I,H):K}})},70201:function(d,v,e){"use strict";var r=e(92916),i=e(94573);i(r.JSON,"JSON",!0)},44781:function(d,v,e){"use strict";var r=e(48059),i=e(40942);r("Map",function(l){return function(){return l(this,arguments.length?arguments[0]:void 0)}},i)},85671:function(d,v,e){"use strict";var r=e(94488),i=e(94237),l=e(63335),c=e(95955),f=e(62003),o=e(2786),h=e(16697),u=o.Map,a=o.has,x=o.get,p=o.set,y=i([].push);r({target:"Map",stat:!0,forced:h},{groupBy:function(b,S){c(b),l(S);var k=new u,R=0;return f(b,function(A){var I=S(A,R++);a(k,I)?y(x(k,I),A):p(k,I,[A])}),k}})},34941:function(d,v,e){"use strict";e(44781)},35152:function(d,v,e){"use strict";var r=e(94488),i=e(25726),l=Math.acosh,c=Math.log,f=Math.sqrt,o=Math.LN2,h=!l||Math.floor(l(Number.MAX_VALUE))!==710||l(1/0)!==1/0;r({target:"Math",stat:!0,forced:h},{acosh:function(a){var x=+a;return x<1?NaN:x>9490626562425156e-8?c(x)+o:i(x-1+f(x-1)*f(x+1))}})},85660:function(d,v,e){"use strict";var r=e(94488),i=Math.asinh,l=Math.log,c=Math.sqrt;function f(h){var u=+h;return!isFinite(u)||u===0?u:u<0?-f(-u):l(u+c(u*u+1))}var o=!(i&&1/i(0)>0);r({target:"Math",stat:!0,forced:o},{asinh:f})},80031:function(d,v,e){"use strict";var r=e(94488),i=Math.atanh,l=Math.log,c=!(i&&1/i(-0)<0);r({target:"Math",stat:!0,forced:c},{atanh:function(o){var h=+o;return h===0?h:l((1+h)/(1-h))/2}})},34434:function(d,v,e){"use strict";var r=e(94488),i=e(37666),l=Math.abs,c=Math.pow;r({target:"Math",stat:!0},{cbrt:function(o){var h=+o;return i(h)*c(l(h),.3333333333333333)}})},83579:function(d,v,e){"use strict";var r=e(94488),i=Math.floor,l=Math.log,c=Math.LOG2E;r({target:"Math",stat:!0},{clz32:function(o){var h=o>>>0;return h?31-i(l(h+.5)*c):32}})},74307:function(d,v,e){"use strict";var r=e(94488),i=e(10014),l=Math.cosh,c=Math.abs,f=Math.E,o=!l||l(710)===1/0;r({target:"Math",stat:!0,forced:o},{cosh:function(u){var a=i(c(u)-1)+1;return(a+1/(a*f*f))*(f/2)}})},97423:function(d,v,e){"use strict";var r=e(94488),i=e(10014);r({target:"Math",stat:!0,forced:i!==Math.expm1},{expm1:i})},93321:function(d,v,e){"use strict";var r=e(94488),i=e(14894);r({target:"Math",stat:!0},{fround:i})},82277:function(d,v,e){"use strict";var r=e(94488),i=Math.hypot,l=Math.abs,c=Math.sqrt,f=!!i&&i(1/0,NaN)!==1/0;r({target:"Math",stat:!0,arity:2,forced:f},{hypot:function(h,u){for(var a=0,x=0,p=arguments.length,y=0,_,b;x<p;)_=l(arguments[x++]),y<_?(b=y/_,a=a*b*b+1,y=_):_>0?(b=_/y,a+=b*b):a+=_;return y===1/0?1/0:y*c(a)}})},61425:function(d,v,e){"use strict";var r=e(94488),i=e(3338),l=Math.imul,c=i(function(){return l(4294967295,5)!==-5||l.length!==2});r({target:"Math",stat:!0,forced:c},{imul:function(o,h){var u=65535,a=+o,x=+h,p=u&a,y=u&x;return 0|p*y+((u&a>>>16)*y+p*(u&x>>>16)<<16>>>0)}})},61873:function(d,v,e){"use strict";var r=e(94488),i=e(53309);r({target:"Math",stat:!0},{log10:i})},9307:function(d,v,e){"use strict";var r=e(94488),i=e(25726);r({target:"Math",stat:!0},{log1p:i})},8821:function(d,v,e){"use strict";var r=e(94488),i=Math.log,l=Math.LN2;r({target:"Math",stat:!0},{log2:function(f){return i(f)/l}})},64385:function(d,v,e){"use strict";var r=e(94488),i=e(37666);r({target:"Math",stat:!0},{sign:i})},64099:function(d,v,e){"use strict";var r=e(94488),i=e(3338),l=e(10014),c=Math.abs,f=Math.exp,o=Math.E,h=i(function(){return Math.sinh(-2e-17)!==-2e-17});r({target:"Math",stat:!0,forced:h},{sinh:function(a){var x=+a;return c(x)<1?(l(x)-l(-x))/2:(f(x-1)-f(-x-1))*(o/2)}})},62455:function(d,v,e){"use strict";var r=e(94488),i=e(10014),l=Math.exp;r({target:"Math",stat:!0},{tanh:function(f){var o=+f,h=i(o),u=i(-o);return h===1/0?1:u===1/0?-1:(h-u)/(l(o)+l(-o))}})},79965:function(d,v,e){"use strict";var r=e(94573);r(Math,"Math",!0)},59118:function(d,v,e){"use strict";var r=e(94488),i=e(3312);r({target:"Math",stat:!0},{trunc:i})},275:function(d,v,e){"use strict";var r=e(94488),i=e(16697),l=e(35454),c=e(92916),f=e(9699),o=e(94237),h=e(20865),u=e(32621),a=e(25576),x=e(16332),p=e(18446),y=e(97954),_=e(3338),b=e(80689).f,S=e(71256).f,k=e(37691).f,R=e(49228),A=e(52971).trim,I="Number",M=c[I],B=f[I],N=M.prototype,V=c.TypeError,W=o("".slice),H=o("".charCodeAt),ae=function(se){var ee=y(se,"number");return typeof ee=="bigint"?ee:ne(ee)},ne=function(se){var ee=y(se,"number"),Q,le,z,$,ie,_e,Ae,Pe;if(p(ee))throw new V("Cannot convert a Symbol value to a number");if(typeof ee=="string"&&ee.length>2){if(ee=A(ee),Q=H(ee,0),Q===43||Q===45){if(le=H(ee,2),le===88||le===120)return NaN}else if(Q===48){switch(H(ee,1)){case 66:case 98:z=2,$=49;break;case 79:case 111:z=8,$=55;break;default:return+ee}for(ie=W(ee,2),_e=ie.length,Ae=0;Ae<_e;Ae++)if(Pe=H(ie,Ae),Pe<48||Pe>$)return NaN;return parseInt(ie,z)}}return+ee},oe=h(I,!M(" 0o1")||!M("0b1")||M("+0x1")),J=function(se){return x(N,se)&&_(function(){R(se)})},q=function(ee){var Q=arguments.length<1?0:M(ae(ee));return J(this)?a(Object(Q),this,q):Q};q.prototype=N,oe&&!i&&(N.constructor=q),r({global:!0,constructor:!0,wrap:!0,forced:oe},{Number:q});var K=function(se,ee){for(var Q=l?b(ee):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,isFinite,isInteger,isNaN,isSafeInteger,parseFloat,parseInt,fromString,range".split(","),le=0,z;Q.length>le;le++)u(ee,z=Q[le])&&!u(se,z)&&k(se,z,S(ee,z))};i&&B&&K(f[I],B),(oe||i)&&K(f[I],M)},31919:function(d,v,e){"use strict";var r=e(94488);r({target:"Number",stat:!0,nonConfigurable:!0,nonWritable:!0},{EPSILON:Math.pow(2,-52)})},51284:function(d,v,e){"use strict";var r=e(94488),i=e(1222);r({target:"Number",stat:!0},{isFinite:i})},10177:function(d,v,e){"use strict";var r=e(94488),i=e(62896);r({target:"Number",stat:!0},{isInteger:i})},85690:function(d,v,e){"use strict";var r=e(94488);r({target:"Number",stat:!0},{isNaN:function(l){return l!==l}})},92114:function(d,v,e){"use strict";var r=e(94488),i=e(62896),l=Math.abs;r({target:"Number",stat:!0},{isSafeInteger:function(f){return i(f)&&l(f)<=9007199254740991}})},1017:function(d,v,e){"use strict";var r=e(94488);r({target:"Number",stat:!0,nonConfigurable:!0,nonWritable:!0},{MAX_SAFE_INTEGER:9007199254740991})},14480:function(d,v,e){"use strict";var r=e(94488);r({target:"Number",stat:!0,nonConfigurable:!0,nonWritable:!0},{MIN_SAFE_INTEGER:-9007199254740991})},40516:function(d,v,e){"use strict";var r=e(94488),i=e(31280);r({target:"Number",stat:!0,forced:Number.parseFloat!==i},{parseFloat:i})},76345:function(d,v,e){"use strict";var r=e(94488),i=e(52446);r({target:"Number",stat:!0,forced:Number.parseInt!==i},{parseInt:i})},7282:function(d,v,e){"use strict";var r=e(94488),i=e(94237),l=e(56902),c=e(49228),f=e(71049),o=e(53309),h=e(3338),u=RangeError,a=String,x=isFinite,p=Math.abs,y=Math.floor,_=Math.pow,b=Math.round,S=i(1 .toExponential),k=i(f),R=i("".slice),A=S(-69e-12,4)==="-6.9000e-11"&&S(1.255,2)==="1.25e+0"&&S(12345,3)==="1.235e+4"&&S(25,0)==="3e+1",I=function(){return h(function(){S(1,1/0)})&&h(function(){S(1,-1/0)})},M=function(){return!h(function(){S(1/0,1/0),S(NaN,1/0)})},B=!A||!I()||!M();r({target:"Number",proto:!0,forced:B},{toExponential:function(V){var W=c(this);if(V===void 0)return S(W);var H=l(V);if(!x(W))return String(W);if(H<0||H>20)throw new u("Incorrect fraction digits");if(A)return S(W,H);var ae="",ne="",oe=0,J="",q="";if(W<0&&(ae="-",W=-W),W===0)oe=0,ne=k("0",H+1);else{var K=o(W);oe=y(K);var se=0,ee=_(10,oe-H);se=b(W/ee),2*W>=(2*se+1)*ee&&(se+=1),se>=_(10,H+1)&&(se/=10,oe+=1),ne=a(se)}return H!==0&&(ne=R(ne,0,1)+"."+R(ne,1)),oe===0?(J="+",q="0"):(J=oe>0?"+":"-",q=a(p(oe))),ne+="e"+J+q,ae+ne}})},58055:function(d,v,e){"use strict";var r=e(94488),i=e(94237),l=e(56902),c=e(49228),f=e(71049),o=e(3338),h=RangeError,u=String,a=Math.floor,x=i(f),p=i("".slice),y=i(1 .toFixed),_=function(I,M,B){return M===0?B:M%2===1?_(I,M-1,B*I):_(I*I,M/2,B)},b=function(I){for(var M=0,B=I;B>=4096;)M+=12,B/=4096;for(;B>=2;)M+=1,B/=2;return M},S=function(I,M,B){for(var N=-1,V=B;++N<6;)V+=M*I[N],I[N]=V%1e7,V=a(V/1e7)},k=function(I,M){for(var B=6,N=0;--B>=0;)N+=I[B],I[B]=a(N/M),N=N%M*1e7},R=function(I){for(var M=6,B="";--M>=0;)if(B!==""||M===0||I[M]!==0){var N=u(I[M]);B=B===""?N:B+x("0",7-N.length)+N}return B},A=o(function(){return y(8e-5,3)!=="0.000"||y(.9,0)!=="1"||y(1.255,2)!=="1.25"||y(0xde0b6b3a7640080,0)!=="1000000000000000128"})||!o(function(){y({})});r({target:"Number",proto:!0,forced:A},{toFixed:function(M){var B=c(this),N=l(M),V=[0,0,0,0,0,0],W="",H="0",ae,ne,oe,J;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&&(W="-",B=-B),B>1e-21)if(ae=b(B*_(2,69,1))-69,ne=ae<0?B*_(2,-ae,1):B/_(2,ae,1),ne*=4503599627370496,ae=52-ae,ae>0){for(S(V,0,ne),oe=N;oe>=7;)S(V,1e7,0),oe-=7;for(S(V,_(10,oe,1),0),oe=ae-1;oe>=23;)k(V,8388608),oe-=23;k(V,1<<oe),S(V,1,1),k(V,2),H=R(V)}else S(V,0,ne),S(V,1<<-ae,0),H=R(V)+x("0",N);return N>0?(J=H.length,H=W+(J<=N?"0."+x("0",N-J)+H:p(H,0,J-N)+"."+p(H,J-N))):H=W+H,H}})},93547:function(d,v,e){"use strict";var r=e(94488),i=e(94237),l=e(3338),c=e(49228),f=i(1 .toPrecision),o=l(function(){return f(1,void 0)!=="1"})||!l(function(){f({})});r({target:"Number",proto:!0,forced:o},{toPrecision:function(u){return u===void 0?f(c(this)):f(c(this),u)}})},31237:function(d,v,e){"use strict";var r=e(94488),i=e(80530);r({target:"Object",stat:!0,arity:2,forced:Object.assign!==i},{assign:i})},17954:function(d,v,e){"use strict";var r=e(94488),i=e(35454),l=e(20132);r({target:"Object",stat:!0,sham:!i},{create:l})},58580:function(d,v,e){"use strict";var r=e(94488),i=e(35454),l=e(25837),c=e(63335),f=e(94029),o=e(37691);i&&r({target:"Object",proto:!0,forced:l},{__defineGetter__:function(u,a){o.f(f(this),u,{get:c(a),enumerable:!0,configurable:!0})}})},47146:function(d,v,e){"use strict";var r=e(94488),i=e(35454),l=e(55666).f;r({target:"Object",stat:!0,forced:Object.defineProperties!==l,sham:!i},{defineProperties:l})},40416:function(d,v,e){"use strict";var r=e(94488),i=e(35454),l=e(37691).f;r({target:"Object",stat:!0,forced:Object.defineProperty!==l,sham:!i},{defineProperty:l})},7615:function(d,v,e){"use strict";var r=e(94488),i=e(35454),l=e(25837),c=e(63335),f=e(94029),o=e(37691);i&&r({target:"Object",proto:!0,forced:l},{__defineSetter__:function(u,a){o.f(f(this),u,{set:c(a),enumerable:!0,configurable:!0})}})},72820:function(d,v,e){"use strict";var r=e(94488),i=e(88698).entries;r({target:"Object",stat:!0},{entries:function(c){return i(c)}})},86070:function(d,v,e){"use strict";var r=e(94488),i=e(13247),l=e(3338),c=e(31946),f=e(2074).onFreeze,o=Object.freeze,h=l(function(){o(1)});r({target:"Object",stat:!0,forced:h,sham:!i},{freeze:function(a){return o&&c(a)?o(f(a)):a}})},23569:function(d,v,e){"use strict";var r=e(94488),i=e(62003),l=e(69392);r({target:"Object",stat:!0},{fromEntries:function(f){var o={};return i(f,function(h,u){l(o,h,u)},{AS_ENTRIES:!0}),o}})},55639:function(d,v,e){"use strict";var r=e(94488),i=e(3338),l=e(80524),c=e(71256).f,f=e(35454),o=!f||i(function(){c(1)});r({target:"Object",stat:!0,forced:o,sham:!f},{getOwnPropertyDescriptor:function(u,a){return c(l(u),a)}})},63046:function(d,v,e){"use strict";var r=e(94488),i=e(35454),l=e(48662),c=e(80524),f=e(71256),o=e(69392);r({target:"Object",stat:!0,sham:!i},{getOwnPropertyDescriptors:function(u){for(var a=c(u),x=f.f,p=l(a),y={},_=0,b,S;p.length>_;)S=x(a,b=p[_++]),S!==void 0&&o(y,b,S);return y}})},464:function(d,v,e){"use strict";var r=e(94488),i=e(3338),l=e(53393).f,c=i(function(){return!Object.getOwnPropertyNames(1)});r({target:"Object",stat:!0,forced:c},{getOwnPropertyNames:l})},67936:function(d,v,e){"use strict";var r=e(94488),i=e(42820),l=e(3338),c=e(92635),f=e(94029),o=!i||l(function(){c.f(1)});r({target:"Object",stat:!0,forced:o},{getOwnPropertySymbols:function(u){var a=c.f;return a?a(f(u)):[]}})},51082:function(d,v,e){"use strict";var r=e(94488),i=e(3338),l=e(94029),c=e(53456),f=e(4870),o=i(function(){c(1)});r({target:"Object",stat:!0,forced:o,sham:!f},{getPrototypeOf:function(u){return c(l(u))}})},83850:function(d,v,e){"use strict";var r=e(94488),i=e(65911),l=e(94237),c=e(63335),f=e(95955),o=e(17818),h=e(62003),u=i("Object","create"),a=l([].push);r({target:"Object",stat:!0},{groupBy:function(p,y){f(p),c(y);var _=u(null),b=0;return h(p,function(S){var k=o(y(S,b++));k in _?a(_[k],S):_[k]=[S]}),_}})},41990:function(d,v,e){"use strict";var r=e(94488),i=e(32621);r({target:"Object",stat:!0},{hasOwn:i})},55888:function(d,v,e){"use strict";var r=e(94488),i=e(12477);r({target:"Object",stat:!0,forced:Object.isExtensible!==i},{isExtensible:i})},53827:function(d,v,e){"use strict";var r=e(94488),i=e(3338),l=e(31946),c=e(29076),f=e(51424),o=Object.isFrozen,h=f||i(function(){o(1)});r({target:"Object",stat:!0,forced:h},{isFrozen:function(a){return!l(a)||f&&c(a)==="ArrayBuffer"?!0:o?o(a):!1}})},78143:function(d,v,e){"use strict";var r=e(94488),i=e(3338),l=e(31946),c=e(29076),f=e(51424),o=Object.isSealed,h=f||i(function(){o(1)});r({target:"Object",stat:!0,forced:h},{isSealed:function(a){return!l(a)||f&&c(a)==="ArrayBuffer"?!0:o?o(a):!1}})},15787:function(d,v,e){"use strict";var r=e(94488),i=e(5370);r({target:"Object",stat:!0},{is:i})},66419:function(d,v,e){"use strict";var r=e(94488),i=e(94029),l=e(7733),c=e(3338),f=c(function(){l(1)});r({target:"Object",stat:!0,forced:f},{keys:function(h){return l(i(h))}})},75765:function(d,v,e){"use strict";var r=e(94488),i=e(35454),l=e(25837),c=e(94029),f=e(17818),o=e(53456),h=e(71256).f;i&&r({target:"Object",proto:!0,forced:l},{__lookupGetter__:function(a){var x=c(this),p=f(a),y;do if(y=h(x,p))return y.get;while(x=o(x))}})},14645:function(d,v,e){"use strict";var r=e(94488),i=e(35454),l=e(25837),c=e(94029),f=e(17818),o=e(53456),h=e(71256).f;i&&r({target:"Object",proto:!0,forced:l},{__lookupSetter__:function(a){var x=c(this),p=f(a),y;do if(y=h(x,p))return y.set;while(x=o(x))}})},71122:function(d,v,e){"use strict";var r=e(94488),i=e(31946),l=e(2074).onFreeze,c=e(13247),f=e(3338),o=Object.preventExtensions,h=f(function(){o(1)});r({target:"Object",stat:!0,forced:h,sham:!c},{preventExtensions:function(a){return o&&i(a)?o(l(a)):a}})},42084:function(d,v,e){"use strict";var r=e(35454),i=e(64110),l=e(31946),c=e(94029),f=e(95955),o=Object.getPrototypeOf,h=Object.setPrototypeOf,u=Object.prototype,a="__proto__";if(r&&o&&h&&!(a in u))try{i(u,a,{configurable:!0,get:function(){return o(c(this))},set:function(p){var y=f(this);!l(p)&&p!==null||!l(y)||h(y,p)}})}catch(x){}},25070:function(d,v,e){"use strict";var r=e(94488),i=e(31946),l=e(2074).onFreeze,c=e(13247),f=e(3338),o=Object.seal,h=f(function(){o(1)});r({target:"Object",stat:!0,forced:h,sham:!c},{seal:function(a){return o&&i(a)?o(l(a)):a}})},77140:function(d,v,e){"use strict";var r=e(94488),i=e(58218);r({target:"Object",stat:!0},{setPrototypeOf:i})},15954:function(d,v,e){"use strict";var r=e(68527),i=e(2291),l=e(28488);r||i(Object.prototype,"toString",l,{unsafe:!0})},4266:function(d,v,e){"use strict";var r=e(94488),i=e(88698).values;r({target:"Object",stat:!0},{values:function(c){return i(c)}})},49988:function(d,v,e){"use strict";var r=e(94488),i=e(31280);r({global:!0,forced:parseFloat!==i},{parseFloat:i})},38823:function(d,v,e){"use strict";var r=e(94488),i=e(52446);r({global:!0,forced:parseInt!==i},{parseInt:i})},4045:function(d,v,e){"use strict";var r=e(94488),i=e(89945),l=e(63335),c=e(73446),f=e(80734),o=e(62003),h=e(22093);r({target:"Promise",stat:!0,forced:h},{allSettled:function(a){var x=this,p=c.f(x),y=p.resolve,_=p.reject,b=f(function(){var S=l(x.resolve),k=[],R=0,A=1;o(a,function(I){var M=R++,B=!1;A++,i(S,x,I).then(function(N){B||(B=!0,k[M]={status:"fulfilled",value:N},--A||y(k))},function(N){B||(B=!0,k[M]={status:"rejected",reason:N},--A||y(k))})}),--A||y(k)});return b.error&&_(b.value),p.promise}})},12785:function(d,v,e){"use strict";var r=e(94488),i=e(89945),l=e(63335),c=e(73446),f=e(80734),o=e(62003),h=e(22093);r({target:"Promise",stat:!0,forced:h},{all:function(a){var x=this,p=c.f(x),y=p.resolve,_=p.reject,b=f(function(){var S=l(x.resolve),k=[],R=0,A=1;o(a,function(I){var M=R++,B=!1;A++,i(S,x,I).then(function(N){B||(B=!0,k[M]=N,--A||y(k))},_)}),--A||y(k)});return b.error&&_(b.value),p.promise}})},50747:function(d,v,e){"use strict";var r=e(94488),i=e(89945),l=e(63335),c=e(65911),f=e(73446),o=e(80734),h=e(62003),u=e(22093),a="No one promise resolved";r({target:"Promise",stat:!0,forced:u},{any:function(p){var y=this,_=c("AggregateError"),b=f.f(y),S=b.resolve,k=b.reject,R=o(function(){var A=l(y.resolve),I=[],M=0,B=1,N=!1;h(p,function(V){var W=M++,H=!1;B++,i(A,y,V).then(function(ae){H||N||(N=!0,S(ae))},function(ae){H||N||(H=!0,I[W]=ae,--B||k(new _(I,a)))})}),--B||k(new _(I,a))});return R.error&&k(R.value),b.promise}})},41902:function(d,v,e){"use strict";var r=e(94488),i=e(16697),l=e(82830).CONSTRUCTOR,c=e(2451),f=e(65911),o=e(55327),h=e(2291),u=c&&c.prototype;if(r({target:"Promise",proto:!0,forced:l,real:!0},{catch:function(x){return this.then(void 0,x)}}),!i&&o(c)){var a=f("Promise").prototype.catch;u.catch!==a&&h(u,"catch",a,{unsafe:!0})}},90366:function(d,v,e){"use strict";var r=e(94488),i=e(16697),l=e(90946),c=e(92916),f=e(89945),o=e(2291),h=e(58218),u=e(94573),a=e(51996),x=e(63335),p=e(55327),y=e(31946),_=e(56472),b=e(60473),S=e(28887).set,k=e(72933),R=e(61810),A=e(80734),I=e(66790),M=e(94844),B=e(2451),N=e(82830),V=e(73446),W="Promise",H=N.CONSTRUCTOR,ae=N.REJECTION_EVENT,ne=N.SUBCLASSING,oe=M.getterFor(W),J=M.set,q=B&&B.prototype,K=B,se=q,ee=c.TypeError,Q=c.document,le=c.process,z=V.f,$=z,ie=!!(Q&&Q.createEvent&&c.dispatchEvent),_e="unhandledrejection",Ae="rejectionhandled",Pe=0,We=1,$e=2,Lt=1,bt=2,kt,Zt,Mt,tr,je=function(Ge){var He;return y(Ge)&&p(He=Ge.then)?He:!1},wt=function(Ge,He){var Ye=He.value,dt=He.state===We,xt=dt?Ge.ok:Ge.fail,nr=Ge.resolve,qt=Ge.reject,Me=Ge.domain,qe,Vt,Rt;try{xt?(dt||(He.rejection===bt&&Qe(He),He.rejection=Lt),xt===!0?qe=Ye:(Me&&Me.enter(),qe=xt(Ye),Me&&(Me.exit(),Rt=!0)),qe===Ge.promise?qt(new ee("Promise-chain cycle")):(Vt=je(qe))?f(Vt,qe,nr,qt):nr(qe)):qt(Ye)}catch(zt){Me&&!Rt&&Me.exit(),qt(zt)}},Ft=function(Ge,He){Ge.notified||(Ge.notified=!0,k(function(){for(var Ye=Ge.reactions,dt;dt=Ye.get();)wt(dt,Ge);Ge.notified=!1,He&&!Ge.rejection&&gt(Ge)}))},tt=function(Ge,He,Ye){var dt,xt;ie?(dt=Q.createEvent("Event"),dt.promise=He,dt.reason=Ye,dt.initEvent(Ge,!1,!0),c.dispatchEvent(dt)):dt={promise:He,reason:Ye},!ae&&(xt=c["on"+Ge])?xt(dt):Ge===_e&&R("Unhandled promise rejection",Ye)},gt=function(Ge){f(S,c,function(){var He=Ge.facade,Ye=Ge.value,dt=ft(Ge),xt;if(dt&&(xt=A(function(){l?le.emit("unhandledRejection",Ye,He):tt(_e,He,Ye)}),Ge.rejection=l||ft(Ge)?bt:Lt,xt.error))throw xt.value})},ft=function(Ge){return Ge.rejection!==Lt&&!Ge.parent},Qe=function(Ge){f(S,c,function(){var He=Ge.facade;l?le.emit("rejectionHandled",He):tt(Ae,He,Ge.value)})},Ne=function(Ge,He,Ye){return function(dt){Ge(He,dt,Ye)}},xe=function(Ge,He,Ye){Ge.done||(Ge.done=!0,Ye&&(Ge=Ye),Ge.value=He,Ge.state=$e,Ft(Ge,!0))},ke=function(Ge,He,Ye){if(!Ge.done){Ge.done=!0,Ye&&(Ge=Ye);try{if(Ge.facade===He)throw new ee("Promise can't be resolved itself");var dt=je(He);dt?k(function(){var xt={done:!1};try{f(dt,He,Ne(ke,xt,Ge),Ne(xe,xt,Ge))}catch(nr){xe(xt,nr,Ge)}}):(Ge.value=He,Ge.state=We,Ft(Ge,!1))}catch(xt){xe({done:!1},xt,Ge)}}};if(H&&(K=function(He){_(this,se),x(He),f(kt,this);var Ye=oe(this);try{He(Ne(ke,Ye),Ne(xe,Ye))}catch(dt){xe(Ye,dt)}},se=K.prototype,kt=function(He){J(this,{type:W,done:!1,notified:!1,parent:!1,reactions:new I,rejection:!1,state:Pe,value:void 0})},kt.prototype=o(se,"then",function(He,Ye){var dt=oe(this),xt=z(b(this,K));return dt.parent=!0,xt.ok=p(He)?He:!0,xt.fail=p(Ye)&&Ye,xt.domain=l?le.domain:void 0,dt.state===Pe?dt.reactions.add(xt):k(function(){wt(xt,dt)}),xt.promise}),Zt=function(){var Ge=new kt,He=oe(Ge);this.promise=Ge,this.resolve=Ne(ke,He),this.reject=Ne(xe,He)},V.f=z=function(Ge){return Ge===K||Ge===Mt?new Zt(Ge):$(Ge)},!i&&p(B)&&q!==Object.prototype)){tr=q.then,ne||o(q,"then",function(He,Ye){var dt=this;return new K(function(xt,nr){f(tr,dt,xt,nr)}).then(He,Ye)},{unsafe:!0});try{delete q.constructor}catch(Ge){}h&&h(q,se)}r({global:!0,constructor:!0,wrap:!0,forced:H},{Promise:K}),u(K,W,!1,!0),a(W)},43595:function(d,v,e){"use strict";var r=e(94488),i=e(16697),l=e(2451),c=e(3338),f=e(65911),o=e(55327),h=e(60473),u=e(15597),a=e(2291),x=l&&l.prototype,p=!!l&&c(function(){x.finally.call({then:function(){}},function(){})});if(r({target:"Promise",proto:!0,real:!0,forced:p},{finally:function(_){var b=h(this,f("Promise")),S=o(_);return this.then(S?function(k){return u(b,_()).then(function(){return k})}:_,S?function(k){return u(b,_()).then(function(){throw k})}:_)}}),!i&&o(l)){var y=f("Promise").prototype.finally;x.finally!==y&&a(x,"finally",y,{unsafe:!0})}},24627:function(d,v,e){"use strict";e(90366),e(12785),e(41902),e(20733),e(95693),e(81930)},20733:function(d,v,e){"use strict";var r=e(94488),i=e(89945),l=e(63335),c=e(73446),f=e(80734),o=e(62003),h=e(22093);r({target:"Promise",stat:!0,forced:h},{race:function(a){var x=this,p=c.f(x),y=p.reject,_=f(function(){var b=l(x.resolve);o(a,function(S){i(b,x,S).then(p.resolve,y)})});return _.error&&y(_.value),p.promise}})},95693:function(d,v,e){"use strict";var r=e(94488),i=e(89945),l=e(73446),c=e(82830).CONSTRUCTOR;r({target:"Promise",stat:!0,forced:c},{reject:function(o){var h=l.f(this);return i(h.reject,void 0,o),h.promise}})},81930:function(d,v,e){"use strict";var r=e(94488),i=e(65911),l=e(16697),c=e(2451),f=e(82830).CONSTRUCTOR,o=e(15597),h=i("Promise"),u=l&&!f;r({target:"Promise",stat:!0,forced:l||f},{resolve:function(x){return o(u&&this===h?c:this,x)}})},92324:function(d,v,e){"use strict";var r=e(94488),i=e(73446);r({target:"Promise",stat:!0},{withResolvers:function(){var c=i.f(this);return{promise:c.promise,resolve:c.resolve,reject:c.reject}}})},23551:function(d,v,e){"use strict";var r=e(94488),i=e(13743),l=e(63335),c=e(80449),f=e(3338),o=!f(function(){Reflect.apply(function(){})});r({target:"Reflect",stat:!0,forced:o},{apply:function(u,a,x){return i(l(u),a,c(x))}})},74521:function(d,v,e){"use strict";var r=e(94488),i=e(65911),l=e(13743),c=e(4645),f=e(6086),o=e(80449),h=e(31946),u=e(20132),a=e(3338),x=i("Reflect","construct"),p=Object.prototype,y=[].push,_=a(function(){function k(){}return!(x(function(){},[],k)instanceof k)}),b=!a(function(){x(function(){})}),S=_||b;r({target:"Reflect",stat:!0,forced:S,sham:S},{construct:function(R,A){f(R),o(A);var I=arguments.length<3?R:f(arguments[2]);if(b&&!_)return x(R,A,I);if(R===I){switch(A.length){case 0:return new R;case 1:return new R(A[0]);case 2:return new R(A[0],A[1]);case 3:return new R(A[0],A[1],A[2]);case 4:return new R(A[0],A[1],A[2],A[3])}var M=[null];return l(y,M,A),new(l(c,R,M))}var B=I.prototype,N=u(h(B)?B:p),V=l(R,N,A);return h(V)?V:N}})},57891:function(d,v,e){"use strict";var r=e(94488),i=e(35454),l=e(80449),c=e(17818),f=e(37691),o=e(3338),h=o(function(){Reflect.defineProperty(f.f({},1,{value:1}),1,{value:2})});r({target:"Reflect",stat:!0,forced:h,sham:!i},{defineProperty:function(a,x,p){l(a);var y=c(x);l(p);try{return f.f(a,y,p),!0}catch(_){return!1}}})},84138:function(d,v,e){"use strict";var r=e(94488),i=e(80449),l=e(71256).f;r({target:"Reflect",stat:!0},{deleteProperty:function(f,o){var h=l(i(f),o);return h&&!h.configurable?!1:delete f[o]}})},37135:function(d,v,e){"use strict";var r=e(94488),i=e(35454),l=e(80449),c=e(71256);r({target:"Reflect",stat:!0,sham:!i},{getOwnPropertyDescriptor:function(o,h){return c.f(l(o),h)}})},6474:function(d,v,e){"use strict";var r=e(94488),i=e(80449),l=e(53456),c=e(4870);r({target:"Reflect",stat:!0,sham:!c},{getPrototypeOf:function(o){return l(i(o))}})},51832:function(d,v,e){"use strict";var r=e(94488),i=e(89945),l=e(31946),c=e(80449),f=e(60516),o=e(71256),h=e(53456);function u(a,x){var p=arguments.length<3?a:arguments[2],y,_;if(c(a)===p)return a[x];if(y=o.f(a,x),y)return f(y)?y.value:y.get===void 0?void 0:i(y.get,p);if(l(_=h(a)))return u(_,x,p)}r({target:"Reflect",stat:!0},{get:u})},40135:function(d,v,e){"use strict";var r=e(94488);r({target:"Reflect",stat:!0},{has:function(l,c){return c in l}})},7982:function(d,v,e){"use strict";var r=e(94488),i=e(80449),l=e(12477);r({target:"Reflect",stat:!0},{isExtensible:function(f){return i(f),l(f)}})},14893:function(d,v,e){"use strict";var r=e(94488),i=e(48662);r({target:"Reflect",stat:!0},{ownKeys:i})},49233:function(d,v,e){"use strict";var r=e(94488),i=e(65911),l=e(80449),c=e(13247);r({target:"Reflect",stat:!0,sham:!c},{preventExtensions:function(o){l(o);try{var h=i("Object","preventExtensions");return h&&h(o),!0}catch(u){return!1}}})},42844:function(d,v,e){"use strict";var r=e(94488),i=e(80449),l=e(557),c=e(58218);c&&r({target:"Reflect",stat:!0},{setPrototypeOf:function(o,h){i(o),l(h);try{return c(o,h),!0}catch(u){return!1}}})},92130:function(d,v,e){"use strict";var r=e(94488),i=e(89945),l=e(80449),c=e(31946),f=e(60516),o=e(3338),h=e(37691),u=e(71256),a=e(53456),x=e(35012);function p(_,b,S){var k=arguments.length<4?_:arguments[3],R=u.f(l(_),b),A,I,M;if(!R){if(c(I=a(_)))return p(I,b,S,k);R=x(0)}if(f(R)){if(R.writable===!1||!c(k))return!1;if(A=u.f(k,b)){if(A.get||A.set||A.writable===!1)return!1;A.value=S,h.f(k,b,A)}else h.f(k,b,x(0,S))}else{if(M=R.set,M===void 0)return!1;i(M,k,S)}return!0}var y=o(function(){var _=function(){},b=h.f(new _,"a",{configurable:!0});return Reflect.set(_.prototype,"a",1,b)!==!1});r({target:"Reflect",stat:!0,forced:y},{set:p})},6536:function(d,v,e){"use strict";var r=e(94488),i=e(92916),l=e(94573);r({global:!0},{Reflect:{}}),l(i.Reflect,"Reflect",!0)},27228:function(d,v,e){"use strict";var r=e(35454),i=e(92916),l=e(94237),c=e(20865),f=e(25576),o=e(68151),h=e(20132),u=e(80689).f,a=e(16332),x=e(44639),p=e(69905),y=e(81644),_=e(19286),b=e(44166),S=e(2291),k=e(3338),R=e(32621),A=e(94844).enforce,I=e(51996),M=e(59893),B=e(6041),N=e(51224),V=M("match"),W=i.RegExp,H=W.prototype,ae=i.SyntaxError,ne=l(H.exec),oe=l("".charAt),J=l("".replace),q=l("".indexOf),K=l("".slice),se=/^\?<[^\s\d!#%&*+<=>@^][^\s!#%&*+<=>@^]*>/,ee=/a/g,Q=/a/g,le=new W(ee)!==ee,z=_.MISSED_STICKY,$=_.UNSUPPORTED_Y,ie=r&&(!le||z||B||N||k(function(){return Q[V]=!1,W(ee)!==ee||W(Q)===Q||String(W(ee,"i"))!=="/a/i"})),_e=function(Lt){for(var bt=Lt.length,kt=0,Zt="",Mt=!1,tr;kt<=bt;kt++){if(tr=oe(Lt,kt),tr==="\\"){Zt+=tr+oe(Lt,++kt);continue}!Mt&&tr==="."?Zt+="[\\s\\S]":(tr==="["?Mt=!0:tr==="]"&&(Mt=!1),Zt+=tr)}return Zt},Ae=function(Lt){for(var bt=Lt.length,kt=0,Zt="",Mt=[],tr=h(null),je=!1,wt=!1,Ft=0,tt="",gt;kt<=bt;kt++){if(gt=oe(Lt,kt),gt==="\\")gt+=oe(Lt,++kt);else if(gt==="]")je=!1;else if(!je)switch(!0){case gt==="[":je=!0;break;case gt==="(":ne(se,K(Lt,kt+1))&&(kt+=2,wt=!0),Zt+=gt,Ft++;continue;case(gt===">"&&wt):if(tt===""||R(tr,tt))throw new ae("Invalid capture group name");tr[tt]=!0,Mt[Mt.length]=[tt,Ft],wt=!1,tt="";continue}wt?tt+=gt:Zt+=gt}return[Zt,Mt]};if(c("RegExp",ie)){for(var Pe=function(bt,kt){var Zt=a(H,this),Mt=x(bt),tr=kt===void 0,je=[],wt=bt,Ft,tt,gt,ft,Qe,Ne;if(!Zt&&Mt&&tr&&bt.constructor===Pe)return bt;if((Mt||a(H,bt))&&(bt=bt.source,tr&&(kt=y(wt))),bt=bt===void 0?"":p(bt),kt=kt===void 0?"":p(kt),wt=bt,B&&"dotAll"in ee&&(tt=!!kt&&q(kt,"s")>-1,tt&&(kt=J(kt,/s/g,""))),Ft=kt,z&&"sticky"in ee&&(gt=!!kt&&q(kt,"y")>-1,gt&&$&&(kt=J(kt,/y/g,""))),N&&(ft=Ae(bt),bt=ft[0],je=ft[1]),Qe=f(W(bt,kt),Zt?this:H,Pe),(tt||gt||je.length)&&(Ne=A(Qe),tt&&(Ne.dotAll=!0,Ne.raw=Pe(_e(bt),Ft)),gt&&(Ne.sticky=!0),je.length&&(Ne.groups=je)),bt!==wt)try{o(Qe,"source",wt===""?"(?:)":wt)}catch(xe){}return Qe},We=u(W),$e=0;We.length>$e;)b(Pe,W,We[$e++]);H.constructor=Pe,Pe.prototype=H,S(i,"RegExp",Pe,{constructor:!0})}I("RegExp")},62921:function(d,v,e){"use strict";var r=e(35454),i=e(6041),l=e(29076),c=e(64110),f=e(94844).get,o=RegExp.prototype,h=TypeError;r&&i&&c(o,"dotAll",{configurable:!0,get:function(){if(this!==o){if(l(this)==="RegExp")return!!f(this).dotAll;throw new h("Incompatible receiver, RegExp required")}}})},44001:function(d,v,e){"use strict";var r=e(94488),i=e(88736);r({target:"RegExp",proto:!0,forced:/./.exec!==i},{exec:i})},92262:function(d,v,e){"use strict";var r=e(92916),i=e(35454),l=e(64110),c=e(82163),f=e(3338),o=r.RegExp,h=o.prototype,u=i&&f(function(){var a=!0;try{o(".","d")}catch(R){a=!1}var x={},p="",y=a?"dgimsy":"gimsy",_=function(R,A){Object.defineProperty(x,R,{get:function(){return p+=A,!0}})},b={dotAll:"s",global:"g",ignoreCase:"i",multiline:"m",sticky:"y"};a&&(b.hasIndices="d");for(var S in b)_(S,b[S]);var k=Object.getOwnPropertyDescriptor(h,"flags").get.call(x);return k!==y||p!==y});u&&l(h,"flags",{configurable:!0,get:c})},54744:function(d,v,e){"use strict";var r=e(35454),i=e(19286).MISSED_STICKY,l=e(29076),c=e(64110),f=e(94844).get,o=RegExp.prototype,h=TypeError;r&&i&&c(o,"sticky",{configurable:!0,get:function(){if(this!==o){if(l(this)==="RegExp")return!!f(this).sticky;throw new h("Incompatible receiver, RegExp required")}}})},38214:function(d,v,e){"use strict";e(44001);var r=e(94488),i=e(89945),l=e(55327),c=e(80449),f=e(69905),o=function(){var u=!1,a=/[ac]/;return a.exec=function(){return u=!0,/./.exec.apply(this,arguments)},a.test("abc")===!0&&u}(),h=/./.test;r({target:"RegExp",proto:!0,forced:!o},{test:function(u){var a=c(this),x=f(u),p=a.exec;if(!l(p))return i(h,a,x);var y=i(p,a,x);return y===null?!1:(c(y),!0)}})},12756:function(d,v,e){"use strict";var r=e(8090).PROPER,i=e(2291),l=e(80449),c=e(69905),f=e(3338),o=e(81644),h="toString",u=RegExp.prototype,a=u[h],x=f(function(){return a.call({source:"a",flags:"b"})!=="/a/b"}),p=r&&a.name!==h;(x||p)&&i(RegExp.prototype,h,function(){var _=l(this),b=c(_.source),S=c(o(_));return"/"+b+"/"+S},{unsafe:!0})},69772:function(d,v,e){"use strict";var r=e(48059),i=e(40942);r("Set",function(l){return function(){return l(this,arguments.length?arguments[0]:void 0)}},i)},93379:function(d,v,e){"use strict";e(69772)},34932:function(d,v,e){"use strict";var r=e(94488),i=e(95994),l=e(17691);r({target:"String",proto:!0,forced:l("anchor")},{anchor:function(f){return i(this,"a","name",f)}})},62007:function(d,v,e){"use strict";var r=e(94488),i=e(94237),l=e(95955),c=e(56902),f=e(69905),o=e(3338),h=i("".charAt),u=o(function(){return"\u{20BB7}".at(-2)!=="\uD842"});r({target:"String",proto:!0,forced:u},{at:function(x){var p=f(l(this)),y=p.length,_=c(x),b=_>=0?_:y+_;return b<0||b>=y?void 0:h(p,b)}})},81046:function(d,v,e){"use strict";var r=e(94488),i=e(95994),l=e(17691);r({target:"String",proto:!0,forced:l("big")},{big:function(){return i(this,"big","","")}})},85744:function(d,v,e){"use strict";var r=e(94488),i=e(95994),l=e(17691);r({target:"String",proto:!0,forced:l("blink")},{blink:function(){return i(this,"blink","","")}})},13494:function(d,v,e){"use strict";var r=e(94488),i=e(95994),l=e(17691);r({target:"String",proto:!0,forced:l("bold")},{bold:function(){return i(this,"b","","")}})},90572:function(d,v,e){"use strict";var r=e(94488),i=e(13764).codeAt;r({target:"String",proto:!0},{codePointAt:function(c){return i(this,c)}})},37343:function(d,v,e){"use strict";var r=e(94488),i=e(34114),l=e(71256).f,c=e(61578),f=e(69905),o=e(41696),h=e(95955),u=e(86266),a=e(16697),x=i("".endsWith),p=i("".slice),y=Math.min,_=u("endsWith"),b=!a&&!_&&!!function(){var S=l(String.prototype,"endsWith");return S&&!S.writable}();r({target:"String",proto:!0,forced:!b&&!_},{endsWith:function(k){var R=f(h(this));o(k);var A=arguments.length>1?arguments[1]:void 0,I=R.length,M=A===void 0?I:y(c(A),I),B=f(k);return x?x(R,B,M):p(R,M-B.length,M)===B}})},56338:function(d,v,e){"use strict";var r=e(94488),i=e(95994),l=e(17691);r({target:"String",proto:!0,forced:l("fixed")},{fixed:function(){return i(this,"tt","","")}})},66755:function(d,v,e){"use strict";var r=e(94488),i=e(95994),l=e(17691);r({target:"String",proto:!0,forced:l("fontcolor")},{fontcolor:function(f){return i(this,"font","color",f)}})},68709:function(d,v,e){"use strict";var r=e(94488),i=e(95994),l=e(17691);r({target:"String",proto:!0,forced:l("fontsize")},{fontsize:function(f){return i(this,"font","size",f)}})},45945:function(d,v,e){"use strict";var r=e(94488),i=e(94237),l=e(51981),c=RangeError,f=String.fromCharCode,o=String.fromCodePoint,h=i([].join),u=!!o&&o.length!==1;r({target:"String",stat:!0,arity:1,forced:u},{fromCodePoint:function(x){for(var p=[],y=arguments.length,_=0,b;y>_;){if(b=+arguments[_++],l(b,1114111)!==b)throw new c(b+" is not a valid code point");p[_]=b<65536?f(b):f(((b-=65536)>>10)+55296,b%1024+56320)}return h(p,"")}})},75551:function(d,v,e){"use strict";var r=e(94488),i=e(94237),l=e(41696),c=e(95955),f=e(69905),o=e(86266),h=i("".indexOf);r({target:"String",proto:!0,forced:!o("includes")},{includes:function(a){return!!~h(f(c(this)),f(l(a)),arguments.length>1?arguments[1]:void 0)}})},32493:function(d,v,e){"use strict";var r=e(94488),i=e(94237),l=e(95955),c=e(69905),f=i("".charCodeAt);r({target:"String",proto:!0},{isWellFormed:function(){for(var h=c(l(this)),u=h.length,a=0;a<u;a++){var x=f(h,a);if((x&63488)===55296&&(x>=56320||++a>=u||(f(h,a)&64512)!==56320))return!1}return!0}})},4939:function(d,v,e){"use strict";var r=e(94488),i=e(95994),l=e(17691);r({target:"String",proto:!0,forced:l("italics")},{italics:function(){return i(this,"i","","")}})},20852:function(d,v,e){"use strict";var r=e(13764).charAt,i=e(69905),l=e(94844),c=e(24019),f=e(25587),o="String Iterator",h=l.set,u=l.getterFor(o);c(String,"String",function(a){h(this,{type:o,string:i(a),index:0})},function(){var x=u(this),p=x.string,y=x.index,_;return y>=p.length?f(void 0,!0):(_=r(p,y),x.index+=_.length,f(_,!1))})},81927:function(d,v,e){"use strict";var r=e(94488),i=e(95994),l=e(17691);r({target:"String",proto:!0,forced:l("link")},{link:function(f){return i(this,"a","href",f)}})},18827:function(d,v,e){"use strict";var r=e(94488),i=e(89945),l=e(34114),c=e(83126),f=e(25587),o=e(95955),h=e(61578),u=e(69905),a=e(80449),x=e(4112),p=e(29076),y=e(44639),_=e(81644),b=e(53776),S=e(2291),k=e(3338),R=e(59893),A=e(60473),I=e(52216),M=e(94338),B=e(94844),N=e(16697),V=R("matchAll"),W="RegExp String",H=W+" Iterator",ae=B.set,ne=B.getterFor(H),oe=RegExp.prototype,J=TypeError,q=l("".indexOf),K=l("".matchAll),se=!!K&&!k(function(){K("a",/./)}),ee=c(function(z,$,ie,_e){ae(this,{type:H,regexp:z,string:$,global:ie,unicode:_e,done:!1})},W,function(){var z=ne(this);if(z.done)return f(void 0,!0);var $=z.regexp,ie=z.string,_e=M($,ie);return _e===null?(z.done=!0,f(void 0,!0)):z.global?(u(_e[0])===""&&($.lastIndex=I(ie,h($.lastIndex),z.unicode)),f(_e,!1)):(z.done=!0,f(_e,!1))}),Q=function(le){var z=a(this),$=u(le),ie=A(z,RegExp),_e=u(_(z)),Ae,Pe,We;return Ae=new ie(ie===RegExp?z.source:z,_e),Pe=!!~q(_e,"g"),We=!!~q(_e,"u"),Ae.lastIndex=h(z.lastIndex),new ee(Ae,$,Pe,We)};r({target:"String",proto:!0,forced:se},{matchAll:function(z){var $=o(this),ie,_e,Ae,Pe;if(x(z)){if(se)return K($,z)}else{if(y(z)&&(ie=u(o(_(z))),!~q(ie,"g")))throw new J("`.matchAll` does not allow non-global regexes");if(se)return K($,z);if(Ae=b(z,V),Ae===void 0&&N&&p(z)==="RegExp"&&(Ae=Q),Ae)return i(Ae,z,$)}return _e=u($),Pe=new RegExp(z,"g"),N?i(Q,Pe,_e):Pe[V](_e)}}),N||V in oe||S(oe,V,Q)},46302:function(d,v,e){"use strict";var r=e(89945),i=e(8662),l=e(80449),c=e(4112),f=e(61578),o=e(69905),h=e(95955),u=e(53776),a=e(52216),x=e(94338);i("match",function(p,y,_){return[function(S){var k=h(this),R=c(S)?void 0:u(S,p);return R?r(R,S,k):new RegExp(S)[p](o(k))},function(b){var S=l(this),k=o(b),R=_(y,S,k);if(R.done)return R.value;if(!S.global)return x(S,k);var A=S.unicode;S.lastIndex=0;for(var I=[],M=0,B;(B=x(S,k))!==null;){var N=o(B[0]);I[M]=N,N===""&&(S.lastIndex=a(k,f(S.lastIndex),A)),M++}return M===0?null:I}]})},76718:function(d,v,e){"use strict";var r=e(94488),i=e(85571).end,l=e(98352);r({target:"String",proto:!0,forced:l},{padEnd:function(f){return i(this,f,arguments.length>1?arguments[1]:void 0)}})},79172:function(d,v,e){"use strict";var r=e(94488),i=e(85571).start,l=e(98352);r({target:"String",proto:!0,forced:l},{padStart:function(f){return i(this,f,arguments.length>1?arguments[1]:void 0)}})},32192:function(d,v,e){"use strict";var r=e(94488),i=e(94237),l=e(80524),c=e(94029),f=e(69905),o=e(82762),h=i([].push),u=i([].join);r({target:"String",stat:!0},{raw:function(x){var p=l(c(x).raw),y=o(p);if(!y)return"";for(var _=arguments.length,b=[],S=0;;){if(h(b,f(p[S++])),S===y)return u(b,"");S<_&&h(b,f(arguments[S]))}}})},42828:function(d,v,e){"use strict";var r=e(94488),i=e(71049);r({target:"String",proto:!0},{repeat:i})},55629:function(d,v,e){"use strict";var r=e(94488),i=e(89945),l=e(94237),c=e(95955),f=e(55327),o=e(4112),h=e(44639),u=e(69905),a=e(53776),x=e(81644),p=e(23011),y=e(59893),_=e(16697),b=y("replace"),S=TypeError,k=l("".indexOf),R=l("".replace),A=l("".slice),I=Math.max,M=function(B,N,V){return V>B.length?-1:N===""?V:k(B,N,V)};r({target:"String",proto:!0},{replaceAll:function(N,V){var W=c(this),H,ae,ne,oe,J,q,K,se,ee,Q=0,le=0,z="";if(!o(N)){if(H=h(N),H&&(ae=u(c(x(N))),!~k(ae,"g")))throw new S("`.replaceAll` does not allow non-global regexes");if(ne=a(N,b),ne)return i(ne,N,W,V);if(_&&H)return R(u(W),N,V)}for(oe=u(W),J=u(N),q=f(V),q||(V=u(V)),K=J.length,se=I(1,K),Q=M(oe,J,0);Q!==-1;)ee=q?u(V(J,Q,oe)):p(J,oe,Q,[],void 0,V),z+=A(oe,le,Q)+ee,le=Q+K,Q=M(oe,J,Q+se);return le<oe.length&&(z+=A(oe,le)),z}})},5658:function(d,v,e){"use strict";var r=e(13743),i=e(89945),l=e(94237),c=e(8662),f=e(3338),o=e(80449),h=e(55327),u=e(4112),a=e(56902),x=e(61578),p=e(69905),y=e(95955),_=e(52216),b=e(53776),S=e(23011),k=e(94338),R=e(59893),A=R("replace"),I=Math.max,M=Math.min,B=l([].concat),N=l([].push),V=l("".indexOf),W=l("".slice),H=function(J){return J===void 0?J:String(J)},ae=function(){return"a".replace(/./,"$0")==="$0"}(),ne=function(){return/./[A]?/./[A]("a","$0")==="":!1}(),oe=!f(function(){var J=/./;return J.exec=function(){var q=[];return q.groups={a:"7"},q},"".replace(J,"$<a>")!=="7"});c("replace",function(J,q,K){var se=ne?"$":"$0";return[function(Q,le){var z=y(this),$=u(Q)?void 0:b(Q,A);return $?i($,Q,z,le):i(q,p(z),Q,le)},function(ee,Q){var le=o(this),z=p(ee);if(typeof Q=="string"&&V(Q,se)===-1&&V(Q,"$<")===-1){var $=K(q,le,z,Q);if($.done)return $.value}var ie=h(Q);ie||(Q=p(Q));var _e=le.global,Ae;_e&&(Ae=le.unicode,le.lastIndex=0);for(var Pe=[],We;We=k(le,z),!(We===null||(N(Pe,We),!_e));){var $e=p(We[0]);$e===""&&(le.lastIndex=_(z,x(le.lastIndex),Ae))}for(var Lt="",bt=0,kt=0;kt<Pe.length;kt++){We=Pe[kt];for(var Zt=p(We[0]),Mt=I(M(a(We.index),z.length),0),tr=[],je,wt=1;wt<We.length;wt++)N(tr,H(We[wt]));var Ft=We.groups;if(ie){var tt=B([Zt],tr,Mt,z);Ft!==void 0&&N(tt,Ft),je=p(r(Q,void 0,tt))}else je=S(Zt,z,Mt,tr,Ft,Q);Mt>=bt&&(Lt+=W(z,bt,Mt)+je,bt=Mt+Zt.length)}return Lt+W(z,bt)}]},!oe||!ae||ne)},62925:function(d,v,e){"use strict";var r=e(89945),i=e(8662),l=e(80449),c=e(4112),f=e(95955),o=e(5370),h=e(69905),u=e(53776),a=e(94338);i("search",function(x,p,y){return[function(b){var S=f(this),k=c(b)?void 0:u(b,x);return k?r(k,b,S):new RegExp(b)[x](h(S))},function(_){var b=l(this),S=h(_),k=y(p,b,S);if(k.done)return k.value;var R=b.lastIndex;o(R,0)||(b.lastIndex=0);var A=a(b,S);return o(b.lastIndex,R)||(b.lastIndex=R),A===null?-1:A.index}]})},60462:function(d,v,e){"use strict";var r=e(94488),i=e(95994),l=e(17691);r({target:"String",proto:!0,forced:l("small")},{small:function(){return i(this,"small","","")}})},9595:function(d,v,e){"use strict";var r=e(13743),i=e(89945),l=e(94237),c=e(8662),f=e(80449),o=e(4112),h=e(44639),u=e(95955),a=e(60473),x=e(52216),p=e(61578),y=e(69905),_=e(53776),b=e(71698),S=e(94338),k=e(88736),R=e(19286),A=e(3338),I=R.UNSUPPORTED_Y,M=4294967295,B=Math.min,N=[].push,V=l(/./.exec),W=l(N),H=l("".slice),ae=!A(function(){var ne=/(?:)/,oe=ne.exec;ne.exec=function(){return oe.apply(this,arguments)};var J="ab".split(ne);return J.length!==2||J[0]!=="a"||J[1]!=="b"});c("split",function(ne,oe,J){var q;return"abbc".split(/(b)*/)[1]==="c"||"test".split(/(?:)/,-1).length!==4||"ab".split(/(?:ab)*/).length!==2||".".split(/(.?)(.?)/).length!==4||".".split(/()()/).length>1||"".split(/.?/).length?q=function(K,se){var ee=y(u(this)),Q=se===void 0?M:se>>>0;if(Q===0)return[];if(K===void 0)return[ee];if(!h(K))return i(oe,ee,K,Q);for(var le=[],z=(K.ignoreCase?"i":"")+(K.multiline?"m":"")+(K.unicode?"u":"")+(K.sticky?"y":""),$=0,ie=new RegExp(K.source,z+"g"),_e,Ae,Pe;(_e=i(k,ie,ee))&&(Ae=ie.lastIndex,!(Ae>$&&(W(le,H(ee,$,_e.index)),_e.length>1&&_e.index<ee.length&&r(N,le,b(_e,1)),Pe=_e[0].length,$=Ae,le.length>=Q)));)ie.lastIndex===_e.index&&ie.lastIndex++;return $===ee.length?(Pe||!V(ie,""))&&W(le,""):W(le,H(ee,$)),le.length>Q?b(le,0,Q):le}:"0".split(void 0,0).length?q=function(K,se){return K===void 0&&se===0?[]:i(oe,this,K,se)}:q=oe,[function(se,ee){var Q=u(this),le=o(se)?void 0:_(se,ne);return le?i(le,se,Q,ee):i(q,y(Q),se,ee)},function(K,se){var ee=f(this),Q=y(K),le=J(q,ee,Q,se,q!==oe);if(le.done)return le.value;var z=a(ee,RegExp),$=ee.unicode,ie=(ee.ignoreCase?"i":"")+(ee.multiline?"m":"")+(ee.unicode?"u":"")+(I?"g":"y"),_e=new z(I?"^(?:"+ee.source+")":ee,ie),Ae=se===void 0?M:se>>>0;if(Ae===0)return[];if(Q.length===0)return S(_e,Q)===null?[Q]:[];for(var Pe=0,We=0,$e=[];We<Q.length;){_e.lastIndex=I?0:We;var Lt=S(_e,I?H(Q,We):Q),bt;if(Lt===null||(bt=B(p(_e.lastIndex+(I?We:0)),Q.length))===Pe)We=x(Q,We,$);else{if(W($e,H(Q,Pe,We)),$e.length===Ae)return $e;for(var kt=1;kt<=Lt.length-1;kt++)if(W($e,Lt[kt]),$e.length===Ae)return $e;We=Pe=bt}}return W($e,H(Q,Pe)),$e}]},!ae,I)},58127:function(d,v,e){"use strict";var r=e(94488),i=e(34114),l=e(71256).f,c=e(61578),f=e(69905),o=e(41696),h=e(95955),u=e(86266),a=e(16697),x=i("".startsWith),p=i("".slice),y=Math.min,_=u("startsWith"),b=!a&&!_&&!!function(){var S=l(String.prototype,"startsWith");return S&&!S.writable}();r({target:"String",proto:!0,forced:!b&&!_},{startsWith:function(k){var R=f(h(this));o(k);var A=c(y(arguments.length>1?arguments[1]:void 0,R.length)),I=f(k);return x?x(R,I,A):p(R,A,A+I.length)===I}})},72571:function(d,v,e){"use strict";var r=e(94488),i=e(95994),l=e(17691);r({target:"String",proto:!0,forced:l("strike")},{strike:function(){return i(this,"strike","","")}})},71200:function(d,v,e){"use strict";var r=e(94488),i=e(95994),l=e(17691);r({target:"String",proto:!0,forced:l("sub")},{sub:function(){return i(this,"sub","","")}})},70917:function(d,v,e){"use strict";var r=e(94488),i=e(94237),l=e(95955),c=e(56902),f=e(69905),o=i("".slice),h=Math.max,u=Math.min,a=!"".substr||"ab".substr(-1)!=="b";r({target:"String",proto:!0,forced:a},{substr:function(p,y){var _=f(l(this)),b=_.length,S=c(p),k,R;return S===1/0&&(S=0),S<0&&(S=h(b+S,0)),k=y===void 0?b:c(y),k<=0||k===1/0?"":(R=u(S+k,b),S>=R?"":o(_,S,R))}})},85767:function(d,v,e){"use strict";var r=e(94488),i=e(95994),l=e(17691);r({target:"String",proto:!0,forced:l("sup")},{sup:function(){return i(this,"sup","","")}})},53427:function(d,v,e){"use strict";var r=e(94488),i=e(89945),l=e(94237),c=e(95955),f=e(69905),o=e(3338),h=Array,u=l("".charAt),a=l("".charCodeAt),x=l([].join),p="".toWellFormed,y="\uFFFD",_=p&&o(function(){return i(p,1)!=="1"});r({target:"String",proto:!0,forced:_},{toWellFormed:function(){var S=f(c(this));if(_)return i(p,S);for(var k=S.length,R=h(k),A=0;A<k;A++){var I=a(S,A);(I&63488)!==55296?R[A]=u(S,A):I>=56320||A+1>=k||(a(S,A+1)&64512)!==56320?R[A]=y:(R[A]=u(S,A),R[++A]=u(S,A))}return x(R,"")}})},49257:function(d,v,e){"use strict";e(20189);var r=e(94488),i=e(9591);r({target:"String",proto:!0,name:"trimEnd",forced:"".trimEnd!==i},{trimEnd:i})},93980:function(d,v,e){"use strict";var r=e(94488),i=e(27374);r({target:"String",proto:!0,name:"trimStart",forced:"".trimLeft!==i},{trimLeft:i})},20189:function(d,v,e){"use strict";var r=e(94488),i=e(9591);r({target:"String",proto:!0,name:"trimEnd",forced:"".trimRight!==i},{trimRight:i})},72910:function(d,v,e){"use strict";e(93980);var r=e(94488),i=e(27374);r({target:"String",proto:!0,name:"trimStart",forced:"".trimStart!==i},{trimStart:i})},70878:function(d,v,e){"use strict";var r=e(94488),i=e(52971).trim,l=e(18105);r({target:"String",proto:!0,forced:l("trim")},{trim:function(){return i(this)}})},64003:function(d,v,e){"use strict";var r=e(94674);r("asyncIterator")},39161:function(d,v,e){"use strict";var r=e(94488),i=e(92916),l=e(89945),c=e(94237),f=e(16697),o=e(35454),h=e(42820),u=e(3338),a=e(32621),x=e(16332),p=e(80449),y=e(80524),_=e(17818),b=e(69905),S=e(35012),k=e(20132),R=e(7733),A=e(80689),I=e(53393),M=e(92635),B=e(71256),N=e(37691),V=e(55666),W=e(27597),H=e(2291),ae=e(64110),ne=e(77898),oe=e(11898),J=e(54406),q=e(6145),K=e(59893),se=e(38282),ee=e(94674),Q=e(14311),le=e(94573),z=e(94844),$=e(90560).forEach,ie=oe("hidden"),_e="Symbol",Ae="prototype",Pe=z.set,We=z.getterFor(_e),$e=Object[Ae],Lt=i.Symbol,bt=Lt&&Lt[Ae],kt=i.RangeError,Zt=i.TypeError,Mt=i.QObject,tr=B.f,je=N.f,wt=I.f,Ft=W.f,tt=c([].push),gt=ne("symbols"),ft=ne("op-symbols"),Qe=ne("wks"),Ne=!Mt||!Mt[Ae]||!Mt[Ae].findChild,xe=function(qe,Vt,Rt){var zt=tr($e,Vt);zt&&delete $e[Vt],je(qe,Vt,Rt),zt&&qe!==$e&&je($e,Vt,zt)},ke=o&&u(function(){return k(je({},"a",{get:function(){return je(this,"a",{value:7}).a}})).a!==7})?xe:je,Ge=function(qe,Vt){var Rt=gt[qe]=k(bt);return Pe(Rt,{type:_e,tag:qe,description:Vt}),o||(Rt.description=Vt),Rt},He=function(Vt,Rt,zt){Vt===$e&&He(ft,Rt,zt),p(Vt);var Ht=_(Rt);return p(zt),a(gt,Ht)?(zt.enumerable?(a(Vt,ie)&&Vt[ie][Ht]&&(Vt[ie][Ht]=!1),zt=k(zt,{enumerable:S(0,!1)})):(a(Vt,ie)||je(Vt,ie,S(1,{})),Vt[ie][Ht]=!0),ke(Vt,Ht,zt)):je(Vt,Ht,zt)},Ye=function(Vt,Rt){p(Vt);var zt=y(Rt),Ht=R(zt).concat(Me(zt));return $(Ht,function(Ct){(!o||l(xt,zt,Ct))&&He(Vt,Ct,zt[Ct])}),Vt},dt=function(Vt,Rt){return Rt===void 0?k(Vt):Ye(k(Vt),Rt)},xt=function(Vt){var Rt=_(Vt),zt=l(Ft,this,Rt);return this===$e&&a(gt,Rt)&&!a(ft,Rt)?!1:zt||!a(this,Rt)||!a(gt,Rt)||a(this,ie)&&this[ie][Rt]?zt:!0},nr=function(Vt,Rt){var zt=y(Vt),Ht=_(Rt);if(!(zt===$e&&a(gt,Ht)&&!a(ft,Ht))){var Ct=tr(zt,Ht);return Ct&&a(gt,Ht)&&!(a(zt,ie)&&zt[ie][Ht])&&(Ct.enumerable=!0),Ct}},qt=function(Vt){var Rt=wt(y(Vt)),zt=[];return $(Rt,function(Ht){!a(gt,Ht)&&!a(J,Ht)&&tt(zt,Ht)}),zt},Me=function(qe){var Vt=qe===$e,Rt=wt(Vt?ft:y(qe)),zt=[];return $(Rt,function(Ht){a(gt,Ht)&&(!Vt||a($e,Ht))&&tt(zt,gt[Ht])}),zt};h||(Lt=function(){if(x(bt,this))throw new Zt("Symbol is not a constructor");var Vt=!arguments.length||arguments[0]===void 0?void 0:b(arguments[0]),Rt=q(Vt),zt=function(Ht){var Ct=this===void 0?i:this;Ct===$e&&l(zt,ft,Ht),a(Ct,ie)&&a(Ct[ie],Rt)&&(Ct[ie][Rt]=!1);var Xt=S(1,Ht);try{ke(Ct,Rt,Xt)}catch(ze){if(!(ze instanceof kt))throw ze;xe(Ct,Rt,Xt)}};return o&&Ne&&ke($e,Rt,{configurable:!0,set:zt}),Ge(Rt,Vt)},bt=Lt[Ae],H(bt,"toString",function(){return We(this).tag}),H(Lt,"withoutSetter",function(qe){return Ge(q(qe),qe)}),W.f=xt,N.f=He,V.f=Ye,B.f=nr,A.f=I.f=qt,M.f=Me,se.f=function(qe){return Ge(K(qe),qe)},o&&(ae(bt,"description",{configurable:!0,get:function(){return We(this).description}}),f||H($e,"propertyIsEnumerable",xt,{unsafe:!0}))),r({global:!0,constructor:!0,wrap:!0,forced:!h,sham:!h},{Symbol:Lt}),$(R(Qe),function(qe){ee(qe)}),r({target:_e,stat:!0,forced:!h},{useSetter:function(){Ne=!0},useSimple:function(){Ne=!1}}),r({target:"Object",stat:!0,forced:!h,sham:!o},{create:dt,defineProperty:He,defineProperties:Ye,getOwnPropertyDescriptor:nr}),r({target:"Object",stat:!0,forced:!h},{getOwnPropertyNames:qt}),Q(),le(Lt,_e),J[ie]=!0},44852:function(d,v,e){"use strict";var r=e(94488),i=e(35454),l=e(92916),c=e(94237),f=e(32621),o=e(55327),h=e(16332),u=e(69905),a=e(64110),x=e(24538),p=l.Symbol,y=p&&p.prototype;if(i&&o(p)&&(!("description"in y)||p().description!==void 0)){var _={},b=function(){var N=arguments.length<1||arguments[0]===void 0?void 0:u(arguments[0]),V=h(y,this)?new p(N):N===void 0?p():p(N);return N===""&&(_[V]=!0),V};x(b,p),b.prototype=y,y.constructor=b;var S=String(p("description detection"))==="Symbol(description detection)",k=c(y.valueOf),R=c(y.toString),A=/^Symbol\((.*)\)[^)]+$/,I=c("".replace),M=c("".slice);a(y,"description",{configurable:!0,get:function(){var N=k(this);if(f(_,N))return"";var V=R(N),W=S?M(V,7,-1):I(V,A,"$1");return W===""?void 0:W}}),r({global:!0,constructor:!0,forced:!0},{Symbol:b})}},54524:function(d,v,e){"use strict";var r=e(94488),i=e(65911),l=e(32621),c=e(69905),f=e(77898),o=e(60798),h=f("string-to-symbol-registry"),u=f("symbol-to-string-registry");r({target:"Symbol",stat:!0,forced:!o},{for:function(a){var x=c(a);if(l(h,x))return h[x];var p=i("Symbol")(x);return h[x]=p,u[p]=x,p}})},17898:function(d,v,e){"use strict";var r=e(94674);r("hasInstance")},40902:function(d,v,e){"use strict";var r=e(94674);r("isConcatSpreadable")},2259:function(d,v,e){"use strict";var r=e(94674);r("iterator")},68557:function(d,v,e){"use strict";e(39161),e(54524),e(32340),e(54226),e(67936)},32340:function(d,v,e){"use strict";var r=e(94488),i=e(32621),l=e(18446),c=e(40593),f=e(77898),o=e(60798),h=f("symbol-to-string-registry");r({target:"Symbol",stat:!0,forced:!o},{keyFor:function(a){if(!l(a))throw new TypeError(c(a)+" is not a symbol");if(i(h,a))return h[a]}})},69811:function(d,v,e){"use strict";var r=e(94674);r("matchAll")},14589:function(d,v,e){"use strict";var r=e(94674);r("match")},18114:function(d,v,e){"use strict";var r=e(94674);r("replace")},23844:function(d,v,e){"use strict";var r=e(94674);r("search")},39581:function(d,v,e){"use strict";var r=e(94674);r("species")},40632:function(d,v,e){"use strict";var r=e(94674);r("split")},22690:function(d,v,e){"use strict";var r=e(94674),i=e(14311);r("toPrimitive"),i()},7786:function(d,v,e){"use strict";var r=e(65911),i=e(94674),l=e(94573);i("toStringTag"),l(r("Symbol"),"Symbol")},99062:function(d,v,e){"use strict";var r=e(94674);r("unscopables")},35246:function(d,v,e){"use strict";var r=e(58261),i=e(82762),l=e(56902),c=r.aTypedArray,f=r.exportTypedArrayMethod;f("at",function(h){var u=c(this),a=i(u),x=l(h),p=x>=0?x:a+x;return p<0||p>=a?void 0:u[p]})},83470:function(d,v,e){"use strict";var r=e(94237),i=e(58261),l=e(92670),c=r(l),f=i.aTypedArray,o=i.exportTypedArrayMethod;o("copyWithin",function(u,a){return c(f(this),u,a,arguments.length>2?arguments[2]:void 0)})},79641:function(d,v,e){"use strict";var r=e(58261),i=e(90560).every,l=r.aTypedArray,c=r.exportTypedArrayMethod;c("every",function(o){return i(l(this),o,arguments.length>1?arguments[1]:void 0)})},72397:function(d,v,e){"use strict";var r=e(58261),i=e(75202),l=e(93303),c=e(97607),f=e(89945),o=e(94237),h=e(3338),u=r.aTypedArray,a=r.exportTypedArrayMethod,x=o("".slice),p=h(function(){var y=0;return new Int8Array(2).fill({valueOf:function(){return y++}}),y!==1});a("fill",function(_){var b=arguments.length;u(this);var S=x(c(this),0,3)==="Big"?l(_):+_;return f(i,this,S,b>1?arguments[1]:void 0,b>2?arguments[2]:void 0)},p)},24860:function(d,v,e){"use strict";var r=e(58261),i=e(90560).filter,l=e(27607),c=r.aTypedArray,f=r.exportTypedArrayMethod;f("filter",function(h){var u=i(c(this),h,arguments.length>1?arguments[1]:void 0);return l(this,u)})},56233:function(d,v,e){"use strict";var r=e(58261),i=e(90560).findIndex,l=r.aTypedArray,c=r.exportTypedArrayMethod;c("findIndex",function(o){return i(l(this),o,arguments.length>1?arguments[1]:void 0)})},64344:function(d,v,e){"use strict";var r=e(58261),i=e(53279).findLastIndex,l=r.aTypedArray,c=r.exportTypedArrayMethod;c("findLastIndex",function(o){return i(l(this),o,arguments.length>1?arguments[1]:void 0)})},59419:function(d,v,e){"use strict";var r=e(58261),i=e(53279).findLast,l=r.aTypedArray,c=r.exportTypedArrayMethod;c("findLast",function(o){return i(l(this),o,arguments.length>1?arguments[1]:void 0)})},19320:function(d,v,e){"use strict";var r=e(58261),i=e(90560).find,l=r.aTypedArray,c=r.exportTypedArrayMethod;c("find",function(o){return i(l(this),o,arguments.length>1?arguments[1]:void 0)})},84432:function(d,v,e){"use strict";var r=e(69733);r("Float32",function(i){return function(c,f,o){return i(this,c,f,o)}})},59022:function(d,v,e){"use strict";var r=e(69733);r("Float64",function(i){return function(c,f,o){return i(this,c,f,o)}})},5316:function(d,v,e){"use strict";var r=e(58261),i=e(90560).forEach,l=r.aTypedArray,c=r.exportTypedArrayMethod;c("forEach",function(o){i(l(this),o,arguments.length>1?arguments[1]:void 0)})},93744:function(d,v,e){"use strict";var r=e(59627),i=e(58261).exportTypedArrayStaticMethod,l=e(50706);i("from",l,r)},19299:function(d,v,e){"use strict";var r=e(58261),i=e(22999).includes,l=r.aTypedArray,c=r.exportTypedArrayMethod;c("includes",function(o){return i(l(this),o,arguments.length>1?arguments[1]:void 0)})},15286:function(d,v,e){"use strict";var r=e(58261),i=e(22999).indexOf,l=r.aTypedArray,c=r.exportTypedArrayMethod;c("indexOf",function(o){return i(l(this),o,arguments.length>1?arguments[1]:void 0)})},51054:function(d,v,e){"use strict";var r=e(69733);r("Int16",function(i){return function(c,f,o){return i(this,c,f,o)}})},60330:function(d,v,e){"use strict";var r=e(69733);r("Int32",function(i){return function(c,f,o){return i(this,c,f,o)}})},19363:function(d,v,e){"use strict";var r=e(69733);r("Int8",function(i){return function(c,f,o){return i(this,c,f,o)}})},91927:function(d,v,e){"use strict";var r=e(92916),i=e(3338),l=e(94237),c=e(58261),f=e(11005),o=e(59893),h=o("iterator"),u=r.Uint8Array,a=l(f.values),x=l(f.keys),p=l(f.entries),y=c.aTypedArray,_=c.exportTypedArrayMethod,b=u&&u.prototype,S=!i(function(){b[h].call([1])}),k=!!b&&b.values&&b[h]===b.values&&b.values.name==="values",R=function(){return a(y(this))};_("entries",function(){return p(y(this))},S),_("keys",function(){return x(y(this))},S),_("values",R,S||!k,{name:"values"}),_(h,R,S||!k,{name:"values"})},27730:function(d,v,e){"use strict";var r=e(58261),i=e(94237),l=r.aTypedArray,c=r.exportTypedArrayMethod,f=i([].join);c("join",function(h){return f(l(this),h)})},58707:function(d,v,e){"use strict";var r=e(58261),i=e(13743),l=e(55009),c=r.aTypedArray,f=r.exportTypedArrayMethod;f("lastIndexOf",function(h){var u=arguments.length;return i(l,c(this),u>1?[h,arguments[1]]:[h])})},41356:function(d,v,e){"use strict";var r=e(58261),i=e(90560).map,l=e(31384),c=r.aTypedArray,f=r.exportTypedArrayMethod;f("map",function(h){return i(c(this),h,arguments.length>1?arguments[1]:void 0,function(u,a){return new(l(u))(a)})})},51606:function(d,v,e){"use strict";var r=e(58261),i=e(59627),l=r.aTypedArrayConstructor,c=r.exportTypedArrayStaticMethod;c("of",function(){for(var o=0,h=arguments.length,u=new(l(this))(h);h>o;)u[o]=arguments[o++];return u},i)},38458:function(d,v,e){"use strict";var r=e(58261),i=e(16370).right,l=r.aTypedArray,c=r.exportTypedArrayMethod;c("reduceRight",function(o){var h=arguments.length;return i(l(this),o,h,h>1?arguments[1]:void 0)})},8966:function(d,v,e){"use strict";var r=e(58261),i=e(16370).left,l=r.aTypedArray,c=r.exportTypedArrayMethod;c("reduce",function(o){var h=arguments.length;return i(l(this),o,h,h>1?arguments[1]:void 0)})},71957:function(d,v,e){"use strict";var r=e(58261),i=r.aTypedArray,l=r.exportTypedArrayMethod,c=Math.floor;l("reverse",function(){for(var o=this,h=i(o).length,u=c(h/2),a=0,x;a<u;)x=o[a],o[a++]=o[--h],o[h]=x;return o})},89466:function(d,v,e){"use strict";var r=e(92916),i=e(89945),l=e(58261),c=e(82762),f=e(64135),o=e(94029),h=e(3338),u=r.RangeError,a=r.Int8Array,x=a&&a.prototype,p=x&&x.set,y=l.aTypedArray,_=l.exportTypedArrayMethod,b=!h(function(){var k=new Uint8ClampedArray(2);return i(p,k,{length:1,0:3},1),k[1]!==3}),S=b&&l.NATIVE_ARRAY_BUFFER_VIEWS&&h(function(){var k=new a(2);return k.set(1),k.set("2",1),k[0]!==0||k[1]!==2});_("set",function(R){y(this);var A=f(arguments.length>1?arguments[1]:void 0,1),I=o(R);if(b)return i(p,this,I,A);var M=this.length,B=c(I),N=0;if(B+A>M)throw new u("Wrong length");for(;N<B;)this[A+N]=I[N++]},!b||S)},69653:function(d,v,e){"use strict";var r=e(58261),i=e(31384),l=e(3338),c=e(30867),f=r.aTypedArray,o=r.exportTypedArrayMethod,h=l(function(){new Int8Array(1).slice()});o("slice",function(a,x){for(var p=c(f(this),a,x),y=i(this),_=0,b=p.length,S=new y(b);b>_;)S[_]=p[_++];return S},h)},96519:function(d,v,e){"use strict";var r=e(58261),i=e(90560).some,l=r.aTypedArray,c=r.exportTypedArrayMethod;c("some",function(o){return i(l(this),o,arguments.length>1?arguments[1]:void 0)})},95576:function(d,v,e){"use strict";var r=e(92916),i=e(34114),l=e(3338),c=e(63335),f=e(63668),o=e(58261),h=e(78177),u=e(17687),a=e(46573),x=e(19684),p=o.aTypedArray,y=o.exportTypedArrayMethod,_=r.Uint16Array,b=_&&i(_.prototype.sort),S=!!b&&!(l(function(){b(new _(2),null)})&&l(function(){b(new _(2),{})})),k=!!b&&!l(function(){if(a)return a<74;if(h)return h<67;if(u)return!0;if(x)return x<602;var A=new _(516),I=Array(516),M,B;for(M=0;M<516;M++)B=M%4,A[M]=515-M,I[M]=M-2*B+3;for(b(A,function(N,V){return(N/4|0)-(V/4|0)}),M=0;M<516;M++)if(A[M]!==I[M])return!0}),R=function(A){return function(I,M){return A!==void 0?+A(I,M)||0:M!==M?-1:I!==I?1:I===0&&M===0?1/I>0&&1/M<0?1:-1:I>M}};y("sort",function(I){return I!==void 0&&c(I),k?b(this,I):f(p(this),R(I))},!k||S)},63079:function(d,v,e){"use strict";var r=e(58261),i=e(61578),l=e(51981),c=e(31384),f=r.aTypedArray,o=r.exportTypedArrayMethod;o("subarray",function(u,a){var x=f(this),p=x.length,y=l(u,p),_=c(x);return new _(x.buffer,x.byteOffset+y*x.BYTES_PER_ELEMENT,i((a===void 0?p:l(a,p))-y))})},8995:function(d,v,e){"use strict";var r=e(92916),i=e(13743),l=e(58261),c=e(3338),f=e(30867),o=r.Int8Array,h=l.aTypedArray,u=l.exportTypedArrayMethod,a=[].toLocaleString,x=!!o&&c(function(){a.call(new o(1))}),p=c(function(){return[1,2].toLocaleString()!==new o([1,2]).toLocaleString()})||!c(function(){o.prototype.toLocaleString.call([1,2])});u("toLocaleString",function(){return i(a,x?f(h(this)):h(this),f(arguments))},p)},23080:function(d,v,e){"use strict";var r=e(85903),i=e(58261),l=i.aTypedArray,c=i.exportTypedArrayMethod,f=i.getTypedArrayConstructor;c("toReversed",function(){return r(l(this),f(this))})},74701:function(d,v,e){"use strict";var r=e(58261),i=e(94237),l=e(63335),c=e(69478),f=r.aTypedArray,o=r.getTypedArrayConstructor,h=r.exportTypedArrayMethod,u=i(r.TypedArrayPrototype.sort);h("toSorted",function(x){x!==void 0&&l(x);var p=f(this),y=c(o(p),p);return u(y,x)})},91809:function(d,v,e){"use strict";var r=e(58261).exportTypedArrayMethod,i=e(3338),l=e(92916),c=e(94237),f=l.Uint8Array,o=f&&f.prototype||{},h=[].toString,u=c([].join);i(function(){h.call({})})&&(h=function(){return u(this)});var a=o.toString!==h;r("toString",h,a)},64336:function(d,v,e){"use strict";var r=e(69733);r("Uint16",function(i){return function(c,f,o){return i(this,c,f,o)}})},63914:function(d,v,e){"use strict";var r=e(69733);r("Uint32",function(i){return function(c,f,o){return i(this,c,f,o)}})},55234:function(d,v,e){"use strict";var r=e(69733);r("Uint8",function(i){return function(c,f,o){return i(this,c,f,o)}})},88104:function(d,v,e){"use strict";var r=e(69733);r("Uint8",function(i){return function(c,f,o){return i(this,c,f,o)}},!0)},77517:function(d,v,e){"use strict";var r=e(82041),i=e(58261),l=e(75406),c=e(56902),f=e(93303),o=i.aTypedArray,h=i.getTypedArrayConstructor,u=i.exportTypedArrayMethod,a=!!function(){try{new Int8Array(1).with(2,{valueOf:function(){throw 8}})}catch(x){return x===8}}();u("with",function(x,p){var y=o(this),_=c(x),b=l(y)?f(p):+p;return r(y,h(y),_,b)},!a)},30149:function(d,v,e){"use strict";var r=e(94488),i=e(94237),l=e(69905),c=String.fromCharCode,f=i("".charAt),o=i(/./.exec),h=i("".slice),u=/^[\da-f]{2}$/i,a=/^[\da-f]{4}$/i;r({global:!0},{unescape:function(p){for(var y=l(p),_="",b=y.length,S=0,k,R;S<b;){if(k=f(y,S++),k==="%"){if(f(y,S)==="u"){if(R=h(y,S+1,S+5),o(a,R)){_+=c(parseInt(R,16)),S+=5;continue}}else if(R=h(y,S,S+2),o(u,R)){_+=c(parseInt(R,16)),S+=2;continue}}_+=k}return _}})},58453:function(d,v,e){"use strict";var r=e(13247),i=e(92916),l=e(94237),c=e(66477),f=e(2074),o=e(48059),h=e(39656),u=e(31946),a=e(94844).enforce,x=e(3338),p=e(40115),y=Object,_=Array.isArray,b=y.isExtensible,S=y.isFrozen,k=y.isSealed,R=y.freeze,A=y.seal,I={},M={},B=!i.ActiveXObject&&"ActiveXObject"in i,N,V=function(K){return function(){return K(this,arguments.length?arguments[0]:void 0)}},W=o("WeakMap",V,h),H=W.prototype,ae=l(H.set),ne=function(){return r&&x(function(){var K=R([]);return ae(new W,K,1),!S(K)})};if(p)if(B){N=h.getConstructor(V,"WeakMap",!0),f.enable();var oe=l(H.delete),J=l(H.has),q=l(H.get);c(H,{delete:function(K){if(u(K)&&!b(K)){var se=a(this);return se.frozen||(se.frozen=new N),oe(this,K)||se.frozen.delete(K)}return oe(this,K)},has:function(se){if(u(se)&&!b(se)){var ee=a(this);return ee.frozen||(ee.frozen=new N),J(this,se)||ee.frozen.has(se)}return J(this,se)},get:function(se){if(u(se)&&!b(se)){var ee=a(this);return ee.frozen||(ee.frozen=new N),J(this,se)?q(this,se):ee.frozen.get(se)}return q(this,se)},set:function(se,ee){if(u(se)&&!b(se)){var Q=a(this);Q.frozen||(Q.frozen=new N),J(this,se)?ae(this,se,ee):Q.frozen.set(se,ee)}else ae(this,se,ee);return this}})}else ne()&&c(H,{set:function(se,ee){var Q;return _(se)&&(S(se)?Q=I:k(se)&&(Q=M)),ae(this,se,ee),Q===I&&R(se),Q===M&&A(se),this}})},55410:function(d,v,e){"use strict";e(58453)},65092:function(d,v,e){"use strict";var r=e(48059),i=e(39656);r("WeakSet",function(l){return function(){return l(this,arguments.length?arguments[0]:void 0)}},i)},46161:function(d,v,e){"use strict";e(65092)},88900:function(d,v,e){"use strict";var r=e(35454),i=e(64110),l=e(93683),c=ArrayBuffer.prototype;r&&!("detached"in c)&&i(c,"detached",{configurable:!0,get:function(){return l(this)}})},81138:function(d,v,e){"use strict";var r=e(94488),i=e(39760);i&&r({target:"ArrayBuffer",proto:!0},{transferToFixedLength:function(){return i(this,arguments.length?arguments[0]:void 0,!1)}})},54815:function(d,v,e){"use strict";var r=e(94488),i=e(39760);i&&r({target:"ArrayBuffer",proto:!0},{transfer:function(){return i(this,arguments.length?arguments[0]:void 0,!0)}})},2722:function(d,v,e){"use strict";var r=e(94488),i=e(90560).filterReject,l=e(81181);r({target:"Array",proto:!0,forced:!0},{filterOut:function(f){return i(this,f,arguments.length>1?arguments[1]:void 0)}}),l("filterOut")},55885:function(d,v,e){"use strict";var r=e(94488),i=e(90560).filterReject,l=e(81181);r({target:"Array",proto:!0,forced:!0},{filterReject:function(f){return i(this,f,arguments.length>1?arguments[1]:void 0)}}),l("filterReject")},91130:function(d,v,e){"use strict";var r=e(94488),i=e(32278);r({target:"Array",stat:!0},{fromAsync:i})},64963:function(d,v,e){"use strict";var r=e(94488),i=e(45601),l=e(81181),c=e(33940),f=e(16697);r({target:"Array",proto:!0,name:"groupToMap",forced:f||!i("groupByToMap")},{groupByToMap:c}),l("groupByToMap")},8604:function(d,v,e){"use strict";var r=e(94488),i=e(36444),l=e(45601),c=e(81181);r({target:"Array",proto:!0,forced:!l("groupBy")},{groupBy:function(o){var h=arguments.length>1?arguments[1]:void 0;return i(this,o,h)}}),c("groupBy")},25178:function(d,v,e){"use strict";var r=e(94488),i=e(81181),l=e(33940),c=e(16697);r({target:"Array",proto:!0,forced:c},{groupToMap:l}),i("groupToMap")},39034:function(d,v,e){"use strict";var r=e(94488),i=e(36444),l=e(81181);r({target:"Array",proto:!0},{group:function(f){var o=arguments.length>1?arguments[1]:void 0;return i(this,f,o)}}),l("group")},1905:function(d,v,e){"use strict";var r=e(94488),i=e(18589),l=Object.isFrozen,c=function(f,o){if(!l||!i(f)||!l(f))return!1;for(var h=0,u=f.length,a;h<u;)if(a=f[h++],!(typeof a=="string"||o&&a===void 0))return!1;return u!==0};r({target:"Array",stat:!0,sham:!0,forced:!0},{isTemplateObject:function(o){if(!c(o,!0))return!1;var h=o.raw;return h.length===o.length&&c(h,!1)}})},94306:function(d,v,e){"use strict";var r=e(35454),i=e(81181),l=e(94029),c=e(82762),f=e(64110);r&&(f(Array.prototype,"lastIndex",{configurable:!0,get:function(){var h=l(this),u=c(h);return u===0?0:u-1}}),i("lastIndex"))},11762:function(d,v,e){"use strict";var r=e(35454),i=e(81181),l=e(94029),c=e(82762),f=e(64110);r&&(f(Array.prototype,"lastItem",{configurable:!0,get:function(){var h=l(this),u=c(h);return u===0?void 0:h[u-1]},set:function(h){var u=l(this),a=c(u);return u[a===0?0:a-1]=h}}),i("lastItem"))},93164:function(d,v,e){"use strict";var r=e(94488),i=e(81181),l=e(65621);r({target:"Array",proto:!0,forced:!0},{uniqueBy:l}),i("uniqueBy")},37252:function(d,v,e){"use strict";var r=e(94488),i=e(35454),l=e(65911),c=e(63335),f=e(56472),o=e(2291),h=e(66477),u=e(64110),a=e(59893),x=e(94844),p=e(5978),y=l("Promise"),_=l("SuppressedError"),b=ReferenceError,S=a("asyncDispose"),k=a("toStringTag"),R="AsyncDisposableStack",A=x.set,I=x.getterFor(R),M="async-dispose",B="disposed",N="pending",V=function(ae){var ne=I(ae);if(ne.state===B)throw new b(R+" already disposed");return ne},W=function(){A(f(this,H),{type:R,state:N,stack:[]}),i||(this.disposed=!1)},H=W.prototype;h(H,{disposeAsync:function(){var ne=this;return new y(function(oe,J){var q=I(ne);if(q.state===B)return oe(void 0);q.state=B,i||(ne.disposed=!0);var K=q.stack,se=K.length,ee=!1,Q,le=function($){ee?Q=new _($,Q):(ee=!0,Q=$),z()},z=function(){if(se){var $=K[--se];K[se]=null;try{y.resolve($()).then(z,le)}catch(ie){le(ie)}}else q.stack=null,ee?J(Q):oe(void 0)};z()})},use:function(ne){return p(V(this),ne,M),ne},adopt:function(ne,oe){var J=V(this);return c(oe),p(J,void 0,M,function(){return oe(ne)}),ne},defer:function(ne){var oe=V(this);c(ne),p(oe,void 0,M,ne)},move:function(){var ne=V(this),oe=new W;return I(oe).stack=ne.stack,ne.stack=[],ne.state=B,i||(this.disposed=!0),oe}}),i&&u(H,"disposed",{configurable:!0,get:function(){return I(this).state===B}}),o(H,S,H.disposeAsync,{name:"disposeAsync"}),o(H,k,R,{nonWritable:!0}),r({global:!0,constructor:!0},{AsyncDisposableStack:W})},48966:function(d,v,e){"use strict";var r=e(94488),i=e(34535);r({target:"AsyncIterator",name:"indexed",proto:!0,real:!0,forced:!0},{asIndexedPairs:i})},13015:function(d,v,e){"use strict";var r=e(89945),i=e(2291),l=e(65911),c=e(53776),f=e(32621),o=e(59893),h=e(14052),u=o("asyncDispose"),a=l("Promise");f(h,u)||i(h,u,function(){var x=this;return new a(function(p,y){var _=c(x,"return");_?a.resolve(r(_,x)).then(function(){p(void 0)},y):p(void 0)})})},81673:function(d,v,e){"use strict";var r=e(94488),i=e(56472),l=e(53456),c=e(68151),f=e(32621),o=e(59893),h=e(14052),u=e(16697),a=o("toStringTag"),x=TypeError,p=function(){if(i(this,h),l(this)===h)throw new x("Abstract class AsyncIterator not directly constructable")};p.prototype=h,f(h,a)||c(h,a,"AsyncIterator"),(u||!f(h,"constructor")||h.constructor===Object)&&c(h,"constructor",p),r({global:!0,constructor:!0,forced:u},{AsyncIterator:p})},78527:function(d,v,e){"use strict";var r=e(94488),i=e(89945),l=e(80449),c=e(10731),f=e(2279),o=e(51358),h=e(31342),u=e(25587),a=e(16697),x=h(function(p){var y=this;return new p(function(_,b){var S=function(R){y.done=!0,b(R)},k=function(){try{p.resolve(l(i(y.next,y.iterator))).then(function(R){try{l(R).done?(y.done=!0,_(u(void 0,!0))):y.remaining?(y.remaining--,k()):_(u(R.value,!1))}catch(A){S(A)}},S)}catch(R){S(R)}};k()})});r({target:"AsyncIterator",proto:!0,real:!0,forced:a},{drop:function(y){l(this);var _=o(f(+y));return new x(c(this),{remaining:_})}})},20511:function(d,v,e){"use strict";var r=e(94488),i=e(55266).every;r({target:"AsyncIterator",proto:!0,real:!0},{every:function(c){return i(this,c)}})},78366:function(d,v,e){"use strict";var r=e(94488),i=e(89945),l=e(63335),c=e(80449),f=e(31946),o=e(10731),h=e(31342),u=e(25587),a=e(28255),x=e(16697),p=h(function(y){var _=this,b=_.iterator,S=_.predicate;return new y(function(k,R){var A=function(B){_.done=!0,R(B)},I=function(B){a(b,A,B,A)},M=function(){try{y.resolve(c(i(_.next,b))).then(function(B){try{if(c(B).done)_.done=!0,k(u(void 0,!0));else{var N=B.value;try{var V=S(N,_.counter++),W=function(H){H?k(u(N,!1)):M()};f(V)?y.resolve(V).then(W,I):W(V)}catch(H){I(H)}}}catch(H){A(H)}},A)}catch(B){A(B)}};M()})});r({target:"AsyncIterator",proto:!0,real:!0,forced:x},{filter:function(_){return c(this),l(_),new p(o(this),{predicate:_})}})},27427:function(d,v,e){"use strict";var r=e(94488),i=e(55266).find;r({target:"AsyncIterator",proto:!0,real:!0},{find:function(c){return i(this,c)}})},43890:function(d,v,e){"use strict";var r=e(94488),i=e(89945),l=e(63335),c=e(80449),f=e(31946),o=e(10731),h=e(31342),u=e(25587),a=e(38116),x=e(28255),p=e(16697),y=h(function(_){var b=this,S=b.iterator,k=b.mapper;return new _(function(R,A){var I=function(V){b.done=!0,A(V)},M=function(V){x(S,I,V,I)},B=function(){try{_.resolve(c(i(b.next,S))).then(function(V){try{if(c(V).done)b.done=!0,R(u(void 0,!0));else{var W=V.value;try{var H=k(W,b.counter++),ae=function(ne){try{b.inner=a(ne),N()}catch(oe){M(oe)}};f(H)?_.resolve(H).then(ae,M):ae(H)}catch(ne){M(ne)}}}catch(ne){I(ne)}},I)}catch(V){I(V)}},N=function(){var V=b.inner;if(V)try{_.resolve(c(i(V.next,V.iterator))).then(function(W){try{c(W).done?(b.inner=null,B()):R(u(W.value,!1))}catch(H){M(H)}},M)}catch(W){M(W)}else B()};N()})});r({target:"AsyncIterator",proto:!0,real:!0,forced:p},{flatMap:function(b){return c(this),l(b),new y(o(this),{mapper:b,inner:null})}})},55844:function(d,v,e){"use strict";var r=e(94488),i=e(55266).forEach;r({target:"AsyncIterator",proto:!0,real:!0},{forEach:function(c){return i(this,c)}})},71361:function(d,v,e){"use strict";var r=e(94488),i=e(94029),l=e(16332),c=e(38116),f=e(14052),o=e(80025),h=e(16697);r({target:"AsyncIterator",stat:!0,forced:h},{from:function(a){var x=c(typeof a=="string"?i(a):a);return l(f,x.iterator)?x.iterator:new o(x)}})},44550:function(d,v,e){"use strict";var r=e(94488),i=e(34535);r({target:"AsyncIterator",proto:!0,real:!0,forced:!0},{indexed:i})},413:function(d,v,e){"use strict";var r=e(94488),i=e(41586),l=e(16697);r({target:"AsyncIterator",proto:!0,real:!0,forced:l},{map:i})},77464:function(d,v,e){"use strict";var r=e(94488),i=e(89945),l=e(63335),c=e(80449),f=e(31946),o=e(65911),h=e(10731),u=e(28255),a=o("Promise"),x=TypeError;r({target:"AsyncIterator",proto:!0,real:!0},{reduce:function(y){c(this),l(y);var _=h(this),b=_.iterator,S=_.next,k=arguments.length<2,R=k?void 0:arguments[1],A=0;return new a(function(I,M){var B=function(V){u(b,M,V,M)},N=function(){try{a.resolve(c(i(S,b))).then(function(V){try{if(c(V).done)k?M(new x("Reduce of empty iterator with no initial value")):I(R);else{var W=V.value;if(k)k=!1,R=W,N();else try{var H=y(R,W,A),ae=function(ne){R=ne,N()};f(H)?a.resolve(H).then(ae,B):ae(H)}catch(ne){B(ne)}}A++}catch(ne){M(ne)}},M)}catch(V){M(V)}};N()})}})},77703:function(d,v,e){"use strict";var r=e(94488),i=e(55266).some;r({target:"AsyncIterator",proto:!0,real:!0},{some:function(c){return i(this,c)}})},93854:function(d,v,e){"use strict";var r=e(94488),i=e(89945),l=e(80449),c=e(10731),f=e(2279),o=e(51358),h=e(31342),u=e(25587),a=e(16697),x=h(function(p){var y=this,_=y.iterator,b;if(!y.remaining--){var S=u(void 0,!0);return y.done=!0,b=_.return,b!==void 0?p.resolve(i(b,_,void 0)).then(function(){return S}):S}return p.resolve(i(y.next,_)).then(function(k){return l(k).done?(y.done=!0,u(void 0,!0)):u(k.value,!1)}).then(null,function(k){throw y.done=!0,k})});r({target:"AsyncIterator",proto:!0,real:!0,forced:a},{take:function(y){l(this);var _=o(f(+y));return new x(c(this),{remaining:_})}})},962:function(d,v,e){"use strict";var r=e(94488),i=e(55266).toArray;r({target:"AsyncIterator",proto:!0,real:!0},{toArray:function(){return i(this,void 0,[])}})},44169:function(d,v,e){"use strict";var r=e(94488),i=e(17243);typeof BigInt=="function"&&r({target:"BigInt",stat:!0,forced:!0},{range:function(c,f,o){return new i(c,f,o,"bigint",BigInt(0),BigInt(1))}})},56272:function(d,v,e){"use strict";var r=e(94488),i=e(13743),l=e(32754),c=e(65911),f=e(20132),o=Object,h=function(){var u=c("Object","freeze");return u?u(f(null)):f(null)};r({global:!0,forced:!0},{compositeKey:function(){return i(l,o,arguments).get("object",h)}})},43466:function(d,v,e){"use strict";var r=e(94488),i=e(32754),l=e(65911),c=e(13743);r({global:!0,forced:!0},{compositeSymbol:function(){return arguments.length===1&&typeof arguments[0]=="string"?l("Symbol").for(arguments[0]):c(i,null,arguments).get("symbol",l("Symbol"))}})},48156:function(d,v,e){"use strict";var r=e(94488),i=e(94237),l=e(61618).unpack,c=i(DataView.prototype.getUint16);r({target:"DataView",proto:!0},{getFloat16:function(o){var h=c(this,o,arguments.length>1?arguments[1]:!1);return l([h&255,h>>8&255],10)}})},93236:function(d,v,e){"use strict";var r=e(94488),i=e(94237),l=i(DataView.prototype.getUint8);r({target:"DataView",proto:!0,forced:!0},{getUint8Clamped:function(f){return l(this,f)}})},42212:function(d,v,e){"use strict";var r=e(94488),i=e(94237),l=e(97607),c=e(24225),f=e(61618).pack,o=e(35175),h=TypeError,u=i(DataView.prototype.setUint16);r({target:"DataView",proto:!0},{setFloat16:function(x,p){if(l(this)!=="DataView")throw new h("Incorrect receiver");var y=c(x),_=f(o(p),10,2);return u(this,y,_[1]<<8|_[0],arguments.length>2?arguments[2]:!1)}})},63923:function(d,v,e){"use strict";var r=e(94488),i=e(94237),l=e(97607),c=e(24225),f=e(86350),o=TypeError,h=i(DataView.prototype.setUint8);r({target:"DataView",proto:!0,forced:!0},{setUint8Clamped:function(a,x){if(l(this)!=="DataView")throw new o("Incorrect receiver");var p=c(a);return h(this,p,f(x))}})},2278:function(d,v,e){"use strict";var r=e(94488),i=e(35454),l=e(65911),c=e(63335),f=e(56472),o=e(2291),h=e(66477),u=e(64110),a=e(59893),x=e(94844),p=e(5978),y=l("SuppressedError"),_=ReferenceError,b=a("dispose"),S=a("toStringTag"),k="DisposableStack",R=x.set,A=x.getterFor(k),I="sync-dispose",M="disposed",B="pending",N=function(H){var ae=A(H);if(ae.state===M)throw new _(k+" already disposed");return ae},V=function(){R(f(this,W),{type:k,state:B,stack:[]}),i||(this.disposed=!1)},W=V.prototype;h(W,{dispose:function(){var ae=A(this);if(ae.state!==M){ae.state=M,i||(this.disposed=!0);for(var ne=ae.stack,oe=ne.length,J=!1,q;oe;){var K=ne[--oe];ne[oe]=null;try{K()}catch(se){J?q=new y(se,q):(J=!0,q=se)}}if(ae.stack=null,J)throw q}},use:function(ae){return p(N(this),ae,I),ae},adopt:function(ae,ne){var oe=N(this);return c(ne),p(oe,void 0,I,function(){ne(ae)}),ae},defer:function(ae){var ne=N(this);c(ae),p(ne,void 0,I,ae)},move:function(){var ae=N(this),ne=new V;return A(ne).stack=ae.stack,ae.stack=[],ae.state=M,i||(this.disposed=!0),ne}}),i&&u(W,"disposed",{configurable:!0,get:function(){return A(this).state===M}}),o(W,b,W.dispose,{name:"dispose"}),o(W,S,k,{nonWritable:!0}),r({global:!0,constructor:!0},{DisposableStack:V})},36955:function(d,v,e){"use strict";var r=e(94488),i=e(47739);r({target:"Function",proto:!0,forced:!0},{demethodize:i})},77326:function(d,v,e){"use strict";var r=e(94488),i=e(94237),l=e(55327),c=e(15212),f=e(32621),o=e(35454),h=Object.getOwnPropertyDescriptor,u=/^\s*class\b/,a=i(u.exec),x=function(p){try{if(!o||!a(u,c(p)))return!1}catch(_){}var y=h(p,"prototype");return!!y&&f(y,"writable")&&!y.writable};r({target:"Function",stat:!0,sham:!0,forced:!0},{isCallable:function(y){return l(y)&&!x(y)}})},53571:function(d,v,e){"use strict";var r=e(94488),i=e(39812);r({target:"Function",stat:!0,forced:!0},{isConstructor:i})},28670:function(d,v,e){"use strict";var r=e(59893),i=e(37691).f,l=r("metadata"),c=Function.prototype;c[l]===void 0&&i(c,l,{value:null})},31050:function(d,v,e){"use strict";var r=e(94488),i=e(47739);r({target:"Function",proto:!0,forced:!0,name:"demethodize"},{unThis:i})},96364:function(d,v,e){"use strict";var r=e(94488),i=e(24771);r({target:"Iterator",name:"indexed",proto:!0,real:!0,forced:!0},{asIndexedPairs:i})},25321:function(d,v,e){"use strict";var r=e(94488),i=e(92916),l=e(56472),c=e(80449),f=e(55327),o=e(53456),h=e(64110),u=e(69392),a=e(3338),x=e(32621),p=e(59893),y=e(46571).IteratorPrototype,_=e(35454),b=e(16697),S="constructor",k="Iterator",R=p("toStringTag"),A=TypeError,I=i[k],M=b||!f(I)||I.prototype!==y||!a(function(){I({})}),B=function(){if(l(this,y),o(this)===y)throw new A("Abstract class Iterator not directly constructable")},N=function(V,W){_?h(y,V,{configurable:!0,get:function(){return W},set:function(H){if(c(this),this===y)throw new A("You can't redefine this property");x(this,V)?this[V]=H:u(this,V,H)}}):y[V]=W};x(y,R)||N(R,k),(M||!x(y,S)||y[S]===Object)&&N(S,B),B.prototype=y,r({global:!0,constructor:!0,forced:M},{Iterator:B})},46304:function(d,v,e){"use strict";var r=e(89945),i=e(2291),l=e(53776),c=e(32621),f=e(59893),o=e(46571).IteratorPrototype,h=f("dispose");c(o,h)||i(o,h,function(){var u=l(this,"return");u&&r(u,this)})},55163:function(d,v,e){"use strict";var r=e(94488),i=e(89945),l=e(80449),c=e(10731),f=e(2279),o=e(51358),h=e(20547),u=e(16697),a=h(function(){for(var x=this.iterator,p=this.next,y,_;this.remaining;)if(this.remaining--,y=l(i(p,x)),_=this.done=!!y.done,_)return;if(y=l(i(p,x)),_=this.done=!!y.done,!_)return y.value});r({target:"Iterator",proto:!0,real:!0,forced:u},{drop:function(p){l(this);var y=o(f(+p));return new a(c(this),{remaining:y})}})},78722:function(d,v,e){"use strict";var r=e(94488),i=e(62003),l=e(63335),c=e(80449),f=e(10731);r({target:"Iterator",proto:!0,real:!0},{every:function(h){c(this),l(h);var u=f(this),a=0;return!i(u,function(x,p){if(!h(x,a++))return p()},{IS_RECORD:!0,INTERRUPTED:!0}).stopped}})},35977:function(d,v,e){"use strict";var r=e(94488),i=e(89945),l=e(63335),c=e(80449),f=e(10731),o=e(20547),h=e(46319),u=e(16697),a=o(function(){for(var x=this.iterator,p=this.predicate,y=this.next,_,b,S;;){if(_=c(i(y,x)),b=this.done=!!_.done,b)return;if(S=_.value,h(x,p,[S,this.counter++],!0))return S}});r({target:"Iterator",proto:!0,real:!0,forced:u},{filter:function(p){return c(this),l(p),new a(f(this),{predicate:p})}})},81848:function(d,v,e){"use strict";var r=e(94488),i=e(62003),l=e(63335),c=e(80449),f=e(10731);r({target:"Iterator",proto:!0,real:!0},{find:function(h){c(this),l(h);var u=f(this),a=0;return i(u,function(x,p){if(h(x,a++))return p(x)},{IS_RECORD:!0,INTERRUPTED:!0}).result}})},52867:function(d,v,e){"use strict";var r=e(94488),i=e(89945),l=e(63335),c=e(80449),f=e(10731),o=e(7157),h=e(20547),u=e(67996),a=e(16697),x=h(function(){for(var p=this.iterator,y=this.mapper,_,b;;){if(b=this.inner)try{if(_=c(i(b.next,b.iterator)),!_.done)return _.value;this.inner=null}catch(S){u(p,"throw",S)}if(_=c(i(this.next,p)),this.done=!!_.done)return;try{this.inner=o(y(_.value,this.counter++),!1)}catch(S){u(p,"throw",S)}}});r({target:"Iterator",proto:!0,real:!0,forced:a},{flatMap:function(y){return c(this),l(y),new x(f(this),{mapper:y,inner:null})}})},72211:function(d,v,e){"use strict";var r=e(94488),i=e(62003),l=e(63335),c=e(80449),f=e(10731);r({target:"Iterator",proto:!0,real:!0},{forEach:function(h){c(this),l(h);var u=f(this),a=0;i(u,function(x){h(x,a++)},{IS_RECORD:!0})}})},84862:function(d,v,e){"use strict";var r=e(94488),i=e(89945),l=e(94029),c=e(16332),f=e(46571).IteratorPrototype,o=e(20547),h=e(7157),u=e(16697),a=o(function(){return i(this.next,this.iterator)},!0);r({target:"Iterator",stat:!0,forced:u},{from:function(p){var y=h(typeof p=="string"?l(p):p,!0);return c(f,y.iterator)?y.iterator:new a(y)}})},92381:function(d,v,e){"use strict";var r=e(94488),i=e(24771);r({target:"Iterator",proto:!0,real:!0,forced:!0},{indexed:i})},19517:function(d,v,e){"use strict";var r=e(94488),i=e(2155),l=e(16697);r({target:"Iterator",proto:!0,real:!0,forced:l},{map:i})},69667:function(d,v,e){"use strict";var r=e(94488),i=e(17243),l=TypeError;r({target:"Iterator",stat:!0,forced:!0},{range:function(f,o,h){if(typeof f=="number")return new i(f,o,h,"number",0,1);if(typeof f=="bigint")return new i(f,o,h,"bigint",BigInt(0),BigInt(1));throw new l("Incorrect Iterator.range arguments")}})},80820:function(d,v,e){"use strict";var r=e(94488),i=e(62003),l=e(63335),c=e(80449),f=e(10731),o=TypeError;r({target:"Iterator",proto:!0,real:!0},{reduce:function(u){c(this),l(u);var a=f(this),x=arguments.length<2,p=x?void 0:arguments[1],y=0;if(i(a,function(_){x?(x=!1,p=_):p=u(p,_,y),y++},{IS_RECORD:!0}),x)throw new o("Reduce of empty iterator with no initial value");return p}})},87873:function(d,v,e){"use strict";var r=e(94488),i=e(62003),l=e(63335),c=e(80449),f=e(10731);r({target:"Iterator",proto:!0,real:!0},{some:function(h){c(this),l(h);var u=f(this),a=0;return i(u,function(x,p){if(h(x,a++))return p()},{IS_RECORD:!0,INTERRUPTED:!0}).stopped}})},54609:function(d,v,e){"use strict";var r=e(94488),i=e(89945),l=e(80449),c=e(10731),f=e(2279),o=e(51358),h=e(20547),u=e(67996),a=e(16697),x=h(function(){var p=this.iterator;if(!this.remaining--)return this.done=!0,u(p,"normal",void 0);var y=l(i(this.next,p)),_=this.done=!!y.done;if(!_)return y.value});r({target:"Iterator",proto:!0,real:!0,forced:a},{take:function(y){l(this);var _=o(f(+y));return new x(c(this),{remaining:_})}})},28566:function(d,v,e){"use strict";var r=e(94488),i=e(80449),l=e(62003),c=e(10731),f=[].push;r({target:"Iterator",proto:!0,real:!0},{toArray:function(){var h=[];return l(c(i(this)),f,{that:h,IS_RECORD:!0}),h}})},51697:function(d,v,e){"use strict";var r=e(94488),i=e(80449),l=e(57975),c=e(80025),f=e(10731),o=e(16697);r({target:"Iterator",proto:!0,real:!0,forced:o},{toAsync:function(){return new c(f(new l(f(i(this)))))}})},61872:function(d,v,e){"use strict";var r=e(94488),i=e(82778),l=e(83502);r({target:"JSON",stat:!0,forced:!i},{isRawJSON:l})},76077:function(d,v,e){"use strict";var r=e(94488),i=e(35454),l=e(92916),c=e(65911),f=e(94237),o=e(89945),h=e(55327),u=e(31946),a=e(18589),x=e(32621),p=e(69905),y=e(82762),_=e(69392),b=e(3338),S=e(70913),k=e(42820),R=l.JSON,A=l.Number,I=l.SyntaxError,M=R&&R.parse,B=c("Object","keys"),N=Object.getOwnPropertyDescriptor,V=f("".charAt),W=f("".slice),H=f(/./.exec),ae=f([].push),ne=/^\d$/,oe=/^[1-9]$/,J=/^(?:-|\d)$/,q=/^[\t\n\r ]$/,K=0,se=1,ee=function(Ae,Pe){Ae=p(Ae);var We=new $(Ae,0,""),$e=We.parse(),Lt=$e.value,bt=We.skip(q,$e.end);if(bt<Ae.length)throw new I('Unexpected extra character: "'+V(Ae,bt)+'" after the parsed data at: '+bt);return h(Pe)?Q({"":Lt},"",Pe,$e):Lt},Q=function(Ae,Pe,We,$e){var Lt=Ae[Pe],bt=$e&&Lt===$e.value,kt=bt&&typeof $e.source=="string"?{source:$e.source}:{},Zt,Mt,tr,je,wt;if(u(Lt)){var Ft=a(Lt),tt=bt?$e.nodes:Ft?[]:{};if(Ft)for(Zt=tt.length,tr=y(Lt),je=0;je<tr;je++)le(Lt,je,Q(Lt,""+je,We,je<Zt?tt[je]:void 0));else for(Mt=B(Lt),tr=y(Mt),je=0;je<tr;je++)wt=Mt[je],le(Lt,wt,Q(Lt,wt,We,x(tt,wt)?tt[wt]:void 0))}return o(We,Ae,Pe,Lt,kt)},le=function(Ae,Pe,We){if(i){var $e=N(Ae,Pe);if($e&&!$e.configurable)return}We===void 0?delete Ae[Pe]:_(Ae,Pe,We)},z=function(Ae,Pe,We,$e){this.value=Ae,this.end=Pe,this.source=We,this.nodes=$e},$=function(Ae,Pe){this.source=Ae,this.index=Pe};$.prototype={fork:function(Ae){return new $(this.source,Ae)},parse:function(){var Ae=this.source,Pe=this.skip(q,this.index),We=this.fork(Pe),$e=V(Ae,Pe);if(H(J,$e))return We.number();switch($e){case"{":return We.object();case"[":return We.array();case'"':return We.string();case"t":return We.keyword(!0);case"f":return We.keyword(!1);case"n":return We.keyword(null)}throw new I('Unexpected character: "'+$e+'" at: '+Pe)},node:function(Ae,Pe,We,$e,Lt){return new z(Pe,$e,Ae?null:W(this.source,We,$e),Lt)},object:function(){for(var Ae=this.source,Pe=this.index+1,We=!1,$e={},Lt={};Pe<Ae.length;){if(Pe=this.until(['"',"}"],Pe),V(Ae,Pe)==="}"&&!We){Pe++;break}var bt=this.fork(Pe).string(),kt=bt.value;Pe=bt.end,Pe=this.until([":"],Pe)+1,Pe=this.skip(q,Pe),bt=this.fork(Pe).parse(),_(Lt,kt,bt),_($e,kt,bt.value),Pe=this.until([",","}"],bt.end);var Zt=V(Ae,Pe);if(Zt===",")We=!0,Pe++;else if(Zt==="}"){Pe++;break}}return this.node(se,$e,this.index,Pe,Lt)},array:function(){for(var Ae=this.source,Pe=this.index+1,We=!1,$e=[],Lt=[];Pe<Ae.length;){if(Pe=this.skip(q,Pe),V(Ae,Pe)==="]"&&!We){Pe++;break}var bt=this.fork(Pe).parse();if(ae(Lt,bt),ae($e,bt.value),Pe=this.until([",","]"],bt.end),V(Ae,Pe)===",")We=!0,Pe++;else if(V(Ae,Pe)==="]"){Pe++;break}}return this.node(se,$e,this.index,Pe,Lt)},string:function(){var Ae=this.index,Pe=S(this.source,this.index+1);return this.node(K,Pe.value,Ae,Pe.end)},number:function(){var Ae=this.source,Pe=this.index,We=Pe;if(V(Ae,We)==="-"&&We++,V(Ae,We)==="0")We++;else if(H(oe,V(Ae,We)))We=this.skip(ne,++We);else throw new I("Failed to parse number at: "+We);if(V(Ae,We)==="."&&(We=this.skip(ne,++We)),V(Ae,We)==="e"||V(Ae,We)==="E"){We++,(V(Ae,We)==="+"||V(Ae,We)==="-")&&We++;var $e=We;if(We=this.skip(ne,We),$e===We)throw new I("Failed to parse number's exponent value at: "+We)}return this.node(K,A(W(Ae,Pe,We)),Pe,We)},keyword:function(Ae){var Pe=""+Ae,We=this.index,$e=We+Pe.length;if(W(this.source,We,$e)!==Pe)throw new I("Failed to parse value at: "+We);return this.node(K,Ae,We,$e)},skip:function(Ae,Pe){for(var We=this.source;Pe<We.length&&H(Ae,V(We,Pe));Pe++);return Pe},until:function(Ae,Pe){Pe=this.skip(q,Pe);for(var We=V(this.source,Pe),$e=0;$e<Ae.length;$e++)if(Ae[$e]===We)return Pe;throw new I('Unexpected character: "'+We+'" at: '+Pe)}};var ie=b(function(){var Ae="9007199254740993",Pe;return M(Ae,function(We,$e,Lt){Pe=Lt.source}),Pe!==Ae}),_e=k&&!b(function(){return 1/M("-0 ")!==-1/0});r({target:"JSON",stat:!0,forced:ie},{parse:function(Pe,We){return _e&&!h(We)?M(Pe):ee(Pe,We)}})},9196:function(d,v,e){"use strict";var r=e(94488),i=e(13247),l=e(82778),c=e(65911),f=e(89945),o=e(94237),h=e(55327),u=e(83502),a=e(69905),x=e(69392),p=e(70913),y=e(65451),_=e(6145),b=e(94844).set,S=String,k=SyntaxError,R=c("JSON","parse"),A=c("JSON","stringify"),I=c("Object","create"),M=c("Object","freeze"),B=o("".charAt),N=o("".slice),V=o(/./.exec),W=o([].push),H=_(),ae=H.length,ne="Unacceptable as raw JSON",oe=/^[\t\n\r ]$/;r({target:"JSON",stat:!0,forced:!l},{rawJSON:function(q){var K=a(q);if(K===""||V(oe,B(K,0))||V(oe,B(K,K.length-1)))throw new k(ne);var se=R(K);if(typeof se=="object"&&se!==null)throw new k(ne);var ee=I(null);return b(ee,{type:"RawJSON"}),x(ee,"rawJSON",K),i?M(ee):ee}}),A&&r({target:"JSON",stat:!0,arity:3,forced:!l},{stringify:function(q,K,se){var ee=y(K),Q=[],le=A(q,function(We,$e){var Lt=h(ee)?f(ee,this,S(We),$e):$e;return u(Lt)?H+(W(Q,Lt.rawJSON)-1):Lt},se);if(typeof le!="string")return le;for(var z="",$=le.length,ie=0;ie<$;ie++){var _e=B(le,ie);if(_e==='"'){var Ae=p(le,++ie).end-1,Pe=N(le,ie,Ae);z+=N(Pe,0,ae)===H?Q[N(Pe,ae)]:'"'+Pe+'"',ie=Ae}else z+=_e}return z}})},5369:function(d,v,e){"use strict";var r=e(94488),i=e(42683),l=e(2786).remove;r({target:"Map",proto:!0,real:!0,forced:!0},{deleteAll:function(){for(var f=i(this),o=!0,h,u=0,a=arguments.length;u<a;u++)h=l(f,arguments[u]),o=o&&h;return!!o}})},26259:function(d,v,e){"use strict";var r=e(94488),i=e(42683),l=e(2786),c=l.get,f=l.has,o=l.set;r({target:"Map",proto:!0,real:!0,forced:!0},{emplace:function(u,a){var x=i(this),p,y;return f(x,u)?(p=c(x,u),"update"in a&&(p=a.update(p,u,x),o(x,u,p)),p):(y=a.insert(u,x),o(x,u,y),y)}})},47736:function(d,v,e){"use strict";var r=e(94488),i=e(80666),l=e(42683),c=e(95037);r({target:"Map",proto:!0,real:!0,forced:!0},{every:function(o){var h=l(this),u=i(o,arguments.length>1?arguments[1]:void 0);return c(h,function(a,x){if(!u(a,x,h))return!1},!0)!==!1}})},28220:function(d,v,e){"use strict";var r=e(94488),i=e(80666),l=e(42683),c=e(2786),f=e(95037),o=c.Map,h=c.set;r({target:"Map",proto:!0,real:!0,forced:!0},{filter:function(a){var x=l(this),p=i(a,arguments.length>1?arguments[1]:void 0),y=new o;return f(x,function(_,b){p(_,b,x)&&h(y,b,_)}),y}})},49350:function(d,v,e){"use strict";var r=e(94488),i=e(80666),l=e(42683),c=e(95037);r({target:"Map",proto:!0,real:!0,forced:!0},{findKey:function(o){var h=l(this),u=i(o,arguments.length>1?arguments[1]:void 0),a=c(h,function(x,p){if(u(x,p,h))return{key:p}},!0);return a&&a.key}})},62060:function(d,v,e){"use strict";var r=e(94488),i=e(80666),l=e(42683),c=e(95037);r({target:"Map",proto:!0,real:!0,forced:!0},{find:function(o){var h=l(this),u=i(o,arguments.length>1?arguments[1]:void 0),a=c(h,function(x,p){if(u(x,p,h))return{value:x}},!0);return a&&a.value}})},20126:function(d,v,e){"use strict";var r=e(94488),i=e(72846);r({target:"Map",stat:!0,forced:!0},{from:i})},18090:function(d,v,e){"use strict";var r=e(94488),i=e(88134),l=e(42683),c=e(95037);r({target:"Map",proto:!0,real:!0,forced:!0},{includes:function(o){return c(l(this),function(h){if(i(h,o))return!0},!0)===!0}})},14309:function(d,v,e){"use strict";var r=e(94488),i=e(89945),l=e(62003),c=e(55327),f=e(63335),o=e(2786).Map;r({target:"Map",stat:!0,forced:!0},{keyBy:function(u,a){var x=c(this)?this:o,p=new x;f(a);var y=f(p.set);return l(u,function(_){i(y,p,a(_),_)}),p}})},17822:function(d,v,e){"use strict";var r=e(94488),i=e(42683),l=e(95037);r({target:"Map",proto:!0,real:!0,forced:!0},{keyOf:function(f){var o=l(i(this),function(h,u){if(h===f)return{key:u}},!0);return o&&o.key}})},83543:function(d,v,e){"use strict";var r=e(94488),i=e(80666),l=e(42683),c=e(2786),f=e(95037),o=c.Map,h=c.set;r({target:"Map",proto:!0,real:!0,forced:!0},{mapKeys:function(a){var x=l(this),p=i(a,arguments.length>1?arguments[1]:void 0),y=new o;return f(x,function(_,b){h(y,p(_,b,x),_)}),y}})},13853:function(d,v,e){"use strict";var r=e(94488),i=e(80666),l=e(42683),c=e(2786),f=e(95037),o=c.Map,h=c.set;r({target:"Map",proto:!0,real:!0,forced:!0},{mapValues:function(a){var x=l(this),p=i(a,arguments.length>1?arguments[1]:void 0),y=new o;return f(x,function(_,b){h(y,b,p(_,b,x))}),y}})},25188:function(d,v,e){"use strict";var r=e(94488),i=e(42683),l=e(62003),c=e(2786).set;r({target:"Map",proto:!0,real:!0,arity:1,forced:!0},{merge:function(o){for(var h=i(this),u=arguments.length,a=0;a<u;)l(arguments[a++],function(x,p){c(h,x,p)},{AS_ENTRIES:!0});return h}})},10215:function(d,v,e){"use strict";var r=e(94488),i=e(48800);r({target:"Map",stat:!0,forced:!0},{of:i})},3432:function(d,v,e){"use strict";var r=e(94488),i=e(63335),l=e(42683),c=e(95037),f=TypeError;r({target:"Map",proto:!0,real:!0,forced:!0},{reduce:function(h){var u=l(this),a=arguments.length<2,x=a?void 0:arguments[1];if(i(h),c(u,function(p,y){a?(a=!1,x=p):x=h(x,p,y,u)}),a)throw new f("Reduce of empty map with no initial value");return x}})},90486:function(d,v,e){"use strict";var r=e(94488),i=e(80666),l=e(42683),c=e(95037);r({target:"Map",proto:!0,real:!0,forced:!0},{some:function(o){var h=l(this),u=i(o,arguments.length>1?arguments[1]:void 0);return c(h,function(a,x){if(u(a,x,h))return!0},!0)===!0}})},8774:function(d,v,e){"use strict";var r=e(94488),i=e(14615);r({target:"Map",proto:!0,real:!0,name:"upsert",forced:!0},{updateOrInsert:i})},6736:function(d,v,e){"use strict";var r=e(94488),i=e(63335),l=e(42683),c=e(2786),f=TypeError,o=c.get,h=c.has,u=c.set;r({target:"Map",proto:!0,real:!0,forced:!0},{update:function(x,p){var y=l(this),_=arguments.length;i(p);var b=h(y,x);if(!b&&_<3)throw new f("Updating absent value");var S=b?o(y,x):i(_>2?arguments[2]:void 0)(x,y);return u(y,x,p(S,x,y)),y}})},94065:function(d,v,e){"use strict";var r=e(94488),i=e(14615);r({target:"Map",proto:!0,real:!0,forced:!0},{upsert:i})},93036:function(d,v,e){"use strict";var r=e(94488),i=Math.min,l=Math.max;r({target:"Math",stat:!0,forced:!0},{clamp:function(f,o,h){return i(h,l(o,f))}})},75708:function(d,v,e){"use strict";var r=e(94488);r({target:"Math",stat:!0,nonConfigurable:!0,nonWritable:!0},{DEG_PER_RAD:Math.PI/180})},84624:function(d,v,e){"use strict";var r=e(94488),i=180/Math.PI;r({target:"Math",stat:!0,forced:!0},{degrees:function(c){return c*i}})},43710:function(d,v,e){"use strict";var r=e(94488),i=e(35175);r({target:"Math",stat:!0},{f16round:i})},66233:function(d,v,e){"use strict";var r=e(94488),i=e(24619),l=e(14894);r({target:"Math",stat:!0,forced:!0},{fscale:function(f,o,h,u,a){return l(i(f,o,h,u,a))}})},92762:function(d,v,e){"use strict";var r=e(94488);r({target:"Math",stat:!0,forced:!0},{iaddh:function(l,c,f,o){var h=l>>>0,u=c>>>0,a=f>>>0;return u+(o>>>0)+((h&a|(h|a)&~(h+a>>>0))>>>31)|0}})},24467:function(d,v,e){"use strict";var r=e(94488);r({target:"Math",stat:!0,forced:!0},{imulh:function(l,c){var f=65535,o=+l,h=+c,u=o&f,a=h&f,x=o>>16,p=h>>16,y=(x*a>>>0)+(u*a>>>16);return x*p+(y>>16)+((u*p>>>0)+(y&f)>>16)}})},68465:function(d,v,e){"use strict";var r=e(94488);r({target:"Math",stat:!0,forced:!0},{isubh:function(l,c,f,o){var h=l>>>0,u=c>>>0,a=f>>>0;return u-(o>>>0)-((~h&a|~(h^a)&h-a>>>0)>>>31)|0}})},77004:function(d,v,e){"use strict";var r=e(94488);r({target:"Math",stat:!0,nonConfigurable:!0,nonWritable:!0},{RAD_PER_DEG:180/Math.PI})},83925:function(d,v,e){"use strict";var r=e(94488),i=Math.PI/180;r({target:"Math",stat:!0,forced:!0},{radians:function(c){return c*i}})},51117:function(d,v,e){"use strict";var r=e(94488),i=e(24619);r({target:"Math",stat:!0,forced:!0},{scale:i})},87236:function(d,v,e){"use strict";var r=e(94488),i=e(80449),l=e(1222),c=e(83126),f=e(25587),o=e(94844),h="Seeded Random",u=h+" Generator",a='Math.seededPRNG() argument should have a "seed" field with a finite value.',x=o.set,p=o.getterFor(u),y=TypeError,_=c(function(S){x(this,{type:u,seed:S%2147483647})},h,function(){var S=p(this),k=S.seed=(S.seed*1103515245+12345)%2147483647;return f((k&1073741823)/1073741823,!1)});r({target:"Math",stat:!0,forced:!0},{seededPRNG:function(S){var k=i(S).seed;if(!l(k))throw new y(a);return new _(k)}})},83733:function(d,v,e){"use strict";var r=e(94488);r({target:"Math",stat:!0,forced:!0},{signbit:function(l){var c=+l;return c===c&&c===0?1/c===-1/0:c<0}})},92044:function(d,v,e){"use strict";var r=e(94488);r({target:"Math",stat:!0,forced:!0},{umulh:function(l,c){var f=65535,o=+l,h=+c,u=o&f,a=h&f,x=o>>>16,p=h>>>16,y=(x*a>>>0)+(u*a>>>16);return x*p+(y>>>16)+((u*p>>>0)+(y&f)>>>16)}})},29190:function(d,v,e){"use strict";var r=e(94488),i=e(94237),l=e(56902),c="Invalid number representation",f="Invalid radix",o=RangeError,h=SyntaxError,u=TypeError,a=parseInt,x=Math.pow,p=/^[\d.a-z]+$/,y=i("".charAt),_=i(p.exec),b=i(1 .toString),S=i("".slice),k=i("".split);r({target:"Number",stat:!0,forced:!0},{fromString:function(A,I){var M=1;if(typeof A!="string")throw new u(c);if(!A.length)throw new h(c);if(y(A,0)==="-"&&(M=-1,A=S(A,1),!A.length))throw new h(c);var B=I===void 0?10:l(I);if(B<2||B>36)throw new o(f);if(!_(p,A))throw new h(c);var N=k(A,"."),V=a(N[0],B);if(N.length>1&&(V+=a(N[1],B)/x(B,N[1].length)),B===10&&b(V,B)!==A)throw new h(c);return M*V}})},10775:function(d,v,e){"use strict";var r=e(94488),i=e(17243);r({target:"Number",stat:!0,forced:!0},{range:function(c,f,o){return new i(c,f,o,"number",0,1)}})},19593:function(d,v,e){"use strict";var r=e(94488),i=e(20574);r({target:"Object",stat:!0,forced:!0},{iterateEntries:function(c){return new i(c,"entries")}})},26502:function(d,v,e){"use strict";var r=e(94488),i=e(20574);r({target:"Object",stat:!0,forced:!0},{iterateKeys:function(c){return new i(c,"keys")}})},10174:function(d,v,e){"use strict";var r=e(94488),i=e(20574);r({target:"Object",stat:!0,forced:!0},{iterateValues:function(c){return new i(c,"values")}})},76867:function(d,v,e){"use strict";var r=e(94488),i=e(89945),l=e(35454),c=e(51996),f=e(63335),o=e(80449),h=e(56472),u=e(55327),a=e(4112),x=e(31946),p=e(53776),y=e(2291),_=e(66477),b=e(64110),S=e(61810),k=e(59893),R=e(94844),A=k("observable"),I="Observable",M="Subscription",B="SubscriptionObserver",N=R.getterFor,V=R.set,W=N(I),H=N(M),ae=N(B),ne=function(se){this.observer=o(se),this.cleanup=void 0,this.subscriptionObserver=void 0};ne.prototype={type:M,clean:function(){var se=this.cleanup;if(se){this.cleanup=void 0;try{se()}catch(ee){S(ee)}}},close:function(){if(!l){var se=this.facade,ee=this.subscriptionObserver;se.closed=!0,ee&&(ee.closed=!0)}this.observer=void 0},isClosed:function(){return this.observer===void 0}};var oe=function(se,ee){var Q=V(this,new ne(se)),le;l||(this.closed=!1);try{(le=p(se,"start"))&&i(le,se,this)}catch(_e){S(_e)}if(!Q.isClosed()){var z=Q.subscriptionObserver=new J(Q);try{var $=ee(z),ie=$;a($)||(Q.cleanup=u($.unsubscribe)?function(){ie.unsubscribe()}:f($))}catch(_e){z.error(_e);return}Q.isClosed()&&Q.clean()}};oe.prototype=_({},{unsubscribe:function(){var ee=H(this);ee.isClosed()||(ee.close(),ee.clean())}}),l&&b(oe.prototype,"closed",{configurable:!0,get:function(){return H(this).isClosed()}});var J=function(se){V(this,{type:B,subscriptionState:se}),l||(this.closed=!1)};J.prototype=_({},{next:function(ee){var Q=ae(this).subscriptionState;if(!Q.isClosed()){var le=Q.observer;try{var z=p(le,"next");z&&i(z,le,ee)}catch($){S($)}}},error:function(ee){var Q=ae(this).subscriptionState;if(!Q.isClosed()){var le=Q.observer;Q.close();try{var z=p(le,"error");z?i(z,le,ee):S(ee)}catch($){S($)}Q.clean()}},complete:function(){var ee=ae(this).subscriptionState;if(!ee.isClosed()){var Q=ee.observer;ee.close();try{var le=p(Q,"complete");le&&i(le,Q)}catch(z){S(z)}ee.clean()}}}),l&&b(J.prototype,"closed",{configurable:!0,get:function(){return ae(this).subscriptionState.isClosed()}});var q=function(ee){h(this,K),V(this,{type:I,subscriber:f(ee)})},K=q.prototype;_(K,{subscribe:function(ee){var Q=arguments.length;return new oe(u(ee)?{next:ee,error:Q>1?arguments[1]:void 0,complete:Q>2?arguments[2]:void 0}:x(ee)?ee:{},W(this).subscriber)}}),y(K,A,function(){return this}),r({global:!0,constructor:!0,forced:!0},{Observable:q}),c(I)},14548:function(d,v,e){"use strict";var r=e(94488),i=e(65911),l=e(89945),c=e(80449),f=e(39812),o=e(85428),h=e(53776),u=e(62003),a=e(59893),x=a("observable");r({target:"Observable",stat:!0,forced:!0},{from:function(y){var _=f(this)?this:i("Observable"),b=h(c(y),x);if(b){var S=c(l(b,y));return S.constructor===_?S:new _(function(R){return S.subscribe(R)})}var k=o(y);return new _(function(R){u(k,function(A,I){if(R.next(A),R.closed)return I()},{IS_ITERATOR:!0,INTERRUPTED:!0}),R.complete()})}})},96378:function(d,v,e){"use strict";e(76867),e(14548),e(6053)},6053:function(d,v,e){"use strict";var r=e(94488),i=e(65911),l=e(39812),c=i("Array");r({target:"Observable",stat:!0,forced:!0},{of:function(){for(var o=l(this)?this:i("Observable"),h=arguments.length,u=c(h),a=0;a<h;)u[a]=arguments[a++];return new o(function(x){for(var p=0;p<h;p++)if(x.next(u[p]),x.closed)return;x.complete()})}})},58216:function(d,v,e){"use strict";var r=e(94488),i=e(73446),l=e(80734);r({target:"Promise",stat:!0,forced:!0},{try:function(c){var f=i.f(this),o=l(c);return(o.error?f.reject:f.resolve)(o.value),f.promise}})},41401:function(d,v,e){"use strict";var r=e(94488),i=e(82584),l=e(80449),c=i.toKey,f=i.set;r({target:"Reflect",stat:!0},{defineMetadata:function(h,u,a){var x=arguments.length<4?void 0:c(arguments[3]);f(h,u,l(a),x)}})},79908:function(d,v,e){"use strict";var r=e(94488),i=e(82584),l=e(80449),c=i.toKey,f=i.getMap,o=i.store;r({target:"Reflect",stat:!0},{deleteMetadata:function(u,a){var x=arguments.length<3?void 0:c(arguments[2]),p=f(l(a),x,!1);if(p===void 0||!p.delete(u))return!1;if(p.size)return!0;var y=o.get(a);return y.delete(x),!!y.size||o.delete(a)}})},79890:function(d,v,e){"use strict";var r=e(94488),i=e(94237),l=e(82584),c=e(80449),f=e(53456),o=e(65621),h=i(o),u=i([].concat),a=l.keys,x=l.toKey,p=function(y,_){var b=a(y,_),S=f(y);if(S===null)return b;var k=p(S,_);return k.length?b.length?h(u(b,k)):k:b};r({target:"Reflect",stat:!0},{getMetadataKeys:function(_){var b=arguments.length<2?void 0:x(arguments[1]);return p(c(_),b)}})},82531:function(d,v,e){"use strict";var r=e(94488),i=e(82584),l=e(80449),c=e(53456),f=i.has,o=i.get,h=i.toKey,u=function(a,x,p){var y=f(a,x,p);if(y)return o(a,x,p);var _=c(x);return _!==null?u(a,_,p):void 0};r({target:"Reflect",stat:!0},{getMetadata:function(x,p){var y=arguments.length<3?void 0:h(arguments[2]);return u(x,l(p),y)}})},38944:function(d,v,e){"use strict";var r=e(94488),i=e(82584),l=e(80449),c=i.keys,f=i.toKey;r({target:"Reflect",stat:!0},{getOwnMetadataKeys:function(h){var u=arguments.length<2?void 0:f(arguments[1]);return c(l(h),u)}})},88472:function(d,v,e){"use strict";var r=e(94488),i=e(82584),l=e(80449),c=i.get,f=i.toKey;r({target:"Reflect",stat:!0},{getOwnMetadata:function(h,u){var a=arguments.length<3?void 0:f(arguments[2]);return c(h,l(u),a)}})},78423:function(d,v,e){"use strict";var r=e(94488),i=e(82584),l=e(80449),c=e(53456),f=i.has,o=i.toKey,h=function(u,a,x){var p=f(u,a,x);if(p)return!0;var y=c(a);return y!==null?h(u,y,x):!1};r({target:"Reflect",stat:!0},{hasMetadata:function(a,x){var p=arguments.length<3?void 0:o(arguments[2]);return h(a,l(x),p)}})},65713:function(d,v,e){"use strict";var r=e(94488),i=e(82584),l=e(80449),c=i.has,f=i.toKey;r({target:"Reflect",stat:!0},{hasOwnMetadata:function(h,u){var a=arguments.length<3?void 0:f(arguments[2]);return c(h,l(u),a)}})},22968:function(d,v,e){"use strict";var r=e(94488),i=e(82584),l=e(80449),c=i.toKey,f=i.set;r({target:"Reflect",stat:!0},{metadata:function(h,u){return function(x,p){f(h,u,l(x),c(p))}}})},17564:function(d,v,e){"use strict";var r=e(94488),i=e(94237),l=e(69905),c=e(19268),f=i("".charCodeAt),o=i("".replace),h=RegExp("[!\"#$%&'()*+,\\-./:;<=>?@[\\\\\\]^`{|}~"+c+"]","g");r({target:"RegExp",stat:!0,forced:!0},{escape:function(a){var x=l(a),p=f(x,0);return(p>47&&p<58?"\\x3":"")+o(x,h,"\\$&")}})},1220:function(d,v,e){"use strict";var r=e(94488),i=e(17442),l=e(19691).add;r({target:"Set",proto:!0,real:!0,forced:!0},{addAll:function(){for(var f=i(this),o=0,h=arguments.length;o<h;o++)l(f,arguments[o]);return f}})},44886:function(d,v,e){"use strict";var r=e(94488),i=e(17442),l=e(19691).remove;r({target:"Set",proto:!0,real:!0,forced:!0},{deleteAll:function(){for(var f=i(this),o=!0,h,u=0,a=arguments.length;u<a;u++)h=l(f,arguments[u]),o=o&&h;return!!o}})},35295:function(d,v,e){"use strict";var r=e(94488),i=e(89945),l=e(77999),c=e(10038);r({target:"Set",proto:!0,real:!0,forced:!0},{difference:function(o){return i(c,this,l(o))}})},57019:function(d,v,e){"use strict";var r=e(94488),i=e(10038),l=e(22627);r({target:"Set",proto:!0,real:!0,forced:!l("difference")},{difference:i})},80286:function(d,v,e){"use strict";var r=e(94488),i=e(80666),l=e(17442),c=e(57002);r({target:"Set",proto:!0,real:!0,forced:!0},{every:function(o){var h=l(this),u=i(o,arguments.length>1?arguments[1]:void 0);return c(h,function(a){if(!u(a,a,h))return!1},!0)!==!1}})},38487:function(d,v,e){"use strict";var r=e(94488),i=e(80666),l=e(17442),c=e(19691),f=e(57002),o=c.Set,h=c.add;r({target:"Set",proto:!0,real:!0,forced:!0},{filter:function(a){var x=l(this),p=i(a,arguments.length>1?arguments[1]:void 0),y=new o;return f(x,function(_){p(_,_,x)&&h(y,_)}),y}})},29916:function(d,v,e){"use strict";var r=e(94488),i=e(80666),l=e(17442),c=e(57002);r({target:"Set",proto:!0,real:!0,forced:!0},{find:function(o){var h=l(this),u=i(o,arguments.length>1?arguments[1]:void 0),a=c(h,function(x){if(u(x,x,h))return{value:x}},!0);return a&&a.value}})},25541:function(d,v,e){"use strict";var r=e(94488),i=e(72846);r({target:"Set",stat:!0,forced:!0},{from:i})},34926:function(d,v,e){"use strict";var r=e(94488),i=e(89945),l=e(77999),c=e(16049);r({target:"Set",proto:!0,real:!0,forced:!0},{intersection:function(o){return i(c,this,l(o))}})},45612:function(d,v,e){"use strict";var r=e(94488),i=e(3338),l=e(16049),c=e(22627),f=!c("intersection")||i(function(){return Array.from(new Set([1,2,3]).intersection(new Set([3,2])))!=="3,2"});r({target:"Set",proto:!0,real:!0,forced:f},{intersection:l})},68255:function(d,v,e){"use strict";var r=e(94488),i=e(89945),l=e(77999),c=e(17616);r({target:"Set",proto:!0,real:!0,forced:!0},{isDisjointFrom:function(o){return i(c,this,l(o))}})},98080:function(d,v,e){"use strict";var r=e(94488),i=e(17616),l=e(22627);r({target:"Set",proto:!0,real:!0,forced:!l("isDisjointFrom")},{isDisjointFrom:i})},16450:function(d,v,e){"use strict";var r=e(94488),i=e(89945),l=e(77999),c=e(84833);r({target:"Set",proto:!0,real:!0,forced:!0},{isSubsetOf:function(o){return i(c,this,l(o))}})},96351:function(d,v,e){"use strict";var r=e(94488),i=e(84833),l=e(22627);r({target:"Set",proto:!0,real:!0,forced:!l("isSubsetOf")},{isSubsetOf:i})},86921:function(d,v,e){"use strict";var r=e(94488),i=e(89945),l=e(77999),c=e(51135);r({target:"Set",proto:!0,real:!0,forced:!0},{isSupersetOf:function(o){return i(c,this,l(o))}})},60244:function(d,v,e){"use strict";var r=e(94488),i=e(51135),l=e(22627);r({target:"Set",proto:!0,real:!0,forced:!l("isSupersetOf")},{isSupersetOf:i})},82928:function(d,v,e){"use strict";var r=e(94488),i=e(94237),l=e(17442),c=e(57002),f=e(69905),o=i([].join),h=i([].push);r({target:"Set",proto:!0,real:!0,forced:!0},{join:function(a){var x=l(this),p=a===void 0?",":f(a),y=[];return c(x,function(_){h(y,_)}),o(y,p)}})},42947:function(d,v,e){"use strict";var r=e(94488),i=e(80666),l=e(17442),c=e(19691),f=e(57002),o=c.Set,h=c.add;r({target:"Set",proto:!0,real:!0,forced:!0},{map:function(a){var x=l(this),p=i(a,arguments.length>1?arguments[1]:void 0),y=new o;return f(x,function(_){h(y,p(_,_,x))}),y}})},71568:function(d,v,e){"use strict";var r=e(94488),i=e(48800);r({target:"Set",stat:!0,forced:!0},{of:i})},94194:function(d,v,e){"use strict";var r=e(94488),i=e(63335),l=e(17442),c=e(57002),f=TypeError;r({target:"Set",proto:!0,real:!0,forced:!0},{reduce:function(h){var u=l(this),a=arguments.length<2,x=a?void 0:arguments[1];if(i(h),c(u,function(p){a?(a=!1,x=p):x=h(x,p,p,u)}),a)throw new f("Reduce of empty set with no initial value");return x}})},30556:function(d,v,e){"use strict";var r=e(94488),i=e(80666),l=e(17442),c=e(57002);r({target:"Set",proto:!0,real:!0,forced:!0},{some:function(o){var h=l(this),u=i(o,arguments.length>1?arguments[1]:void 0);return c(h,function(a){if(u(a,a,h))return!0},!0)===!0}})},93102:function(d,v,e){"use strict";var r=e(94488),i=e(89945),l=e(77999),c=e(36312);r({target:"Set",proto:!0,real:!0,forced:!0},{symmetricDifference:function(o){return i(c,this,l(o))}})},32100:function(d,v,e){"use strict";var r=e(94488),i=e(36312),l=e(22627);r({target:"Set",proto:!0,real:!0,forced:!l("symmetricDifference")},{symmetricDifference:i})},82074:function(d,v,e){"use strict";var r=e(94488),i=e(89945),l=e(77999),c=e(24667);r({target:"Set",proto:!0,real:!0,forced:!0},{union:function(o){return i(c,this,l(o))}})},1821:function(d,v,e){"use strict";var r=e(94488),i=e(24667),l=e(22627);r({target:"Set",proto:!0,real:!0,forced:!l("union")},{union:i})},13578:function(d,v,e){"use strict";var r=e(94488),i=e(13764).charAt,l=e(95955),c=e(56902),f=e(69905);r({target:"String",proto:!0,forced:!0},{at:function(h){var u=f(l(this)),a=u.length,x=c(h),p=x>=0?x:a+x;return p<0||p>=a?void 0:i(u,p)}})},62882:function(d,v,e){"use strict";var r=e(94488),i=e(83126),l=e(25587),c=e(95955),f=e(69905),o=e(94844),h=e(13764),u=h.codeAt,a=h.charAt,x="String Iterator",p=o.set,y=o.getterFor(x),_=i(function(S){p(this,{type:x,string:S,index:0})},"String",function(){var S=y(this),k=S.string,R=S.index,A;return R>=k.length?l(void 0,!0):(A=a(k,R),S.index+=A.length,l({codePoint:u(A,0),position:R},!1))});r({target:"String",proto:!0,forced:!0},{codePoints:function(){return new _(f(c(this)))}})},59348:function(d,v,e){"use strict";var r=e(94488),i=e(67410);r({target:"String",stat:!0,forced:!0},{cooked:i})},37457:function(d,v,e){"use strict";var r=e(13247),i=e(94488),l=e(86528),c=e(94237),f=e(13743),o=e(80449),h=e(94029),u=e(55327),a=e(82762),x=e(37691).f,p=e(71698),y=e(42530),_=e(67410),b=e(79204),S=e(19268),k=new y.WeakMap,R=y.get,A=y.has,I=y.set,M=Array,B=TypeError,N=Object.freeze||Object,V=Object.isFrozen,W=Math.min,H=c("".charAt),ae=c("".slice),ne=c("".split),oe=c(/./.exec),J=/([\n\u2028\u2029]|\r\n?)/g,q=RegExp("^["+S+"]*"),K=RegExp("[^"+S+"]"),se="Invalid tag",ee="Invalid opening line",Q="Invalid closing line",le=function(Pe){var We=Pe.raw;if(r&&!V(We))throw new B("Raw template should be frozen");if(A(k,We))return R(k,We);var $e=z(We),Lt=ie($e);return x(Lt,"raw",{value:N($e)}),N(Lt),I(k,We,Lt),Lt},z=function(Pe){var We=h(Pe),$e=a(We),Lt=M($e),bt=M($e),kt=0,Zt,Mt,tr,je;if(!$e)throw new B(se);for(;kt<$e;kt++){var wt=We[kt];if(typeof wt=="string")Lt[kt]=ne(wt,J);else throw new B(se)}for(kt=0;kt<$e;kt++){var Ft=kt+1===$e;if(Zt=Lt[kt],kt===0){if(Zt.length===1||Zt[0].length>0)throw new B(ee);Zt[1]=""}if(Ft){if(Zt.length===1||oe(K,Zt[Zt.length-1]))throw new B(Q);Zt[Zt.length-2]="",Zt[Zt.length-1]=""}for(var tt=2;tt<Zt.length;tt+=2){var gt=Zt[tt],ft=tt+1===Zt.length&&!Ft,Qe=oe(q,gt)[0];if(!ft&&Qe.length===gt.length){Zt[tt]="";continue}Mt=$(Qe,Mt)}}var Ne=Mt?Mt.length:0;for(kt=0;kt<$e;kt++){for(Zt=Lt[kt],tr=Zt[0],je=1;je<Zt.length;je+=2)tr+=Zt[je]+ae(Zt[je+1],Ne);bt[kt]=tr}return bt},$=function(Pe,We){if(We===void 0||Pe===We)return Pe;for(var $e=0,Lt=W(Pe.length,We.length);$e<Lt&&H(Pe,$e)===H(We,$e);$e++);return ae(Pe,0,$e)},ie=function(Pe){for(var We=0,$e=Pe.length,Lt=M($e);We<$e;We++)Lt[We]=b(Pe[We]);return Lt},_e=function(Pe){return l(function(We){var $e=p(arguments);return $e[0]=le(o(We)),f(Pe,this,$e)},"")},Ae=_e(_);i({target:"String",stat:!0,forced:!0},{dedent:function(We){return o(We),u(We)?_e(We):f(Ae,this,arguments)}})},14800:function(d,v,e){"use strict";var r=e(94488),i=e(16332),l=e(53456),c=e(58218),f=e(24538),o=e(20132),h=e(68151),u=e(35012),a=e(61888),x=e(7825),p=e(59893),y=p("toStringTag"),_=Error,b=function(R,A,I){var M=i(S,this),B;return c?B=c(new _,M?l(this):S):(B=M?this:o(S),h(B,y,"Error")),I!==void 0&&h(B,"message",x(I)),a(B,b,B.stack,1),h(B,"error",R),h(B,"suppressed",A),B};c?c(b,_):f(b,_,{name:!0});var S=b.prototype=o(_.prototype,{constructor:u(1,b),message:u(1,""),name:u(1,"SuppressedError")});r({global:!0,constructor:!0,arity:3},{SuppressedError:b})},70654:function(d,v,e){"use strict";var r=e(92916),i=e(94674),l=e(37691).f,c=e(71256).f,f=r.Symbol;if(i("asyncDispose"),f){var o=c(f,"asyncDispose");o.enumerable&&o.configurable&&o.writable&&l(f,"asyncDispose",{value:o.value,enumerable:!1,configurable:!1,writable:!1})}},90252:function(d,v,e){"use strict";var r=e(92916),i=e(94674),l=e(37691).f,c=e(71256).f,f=r.Symbol;if(i("dispose"),f){var o=c(f,"dispose");o.enumerable&&o.configurable&&o.writable&&l(f,"dispose",{value:o.value,enumerable:!1,configurable:!1,writable:!1})}},29482:function(d,v,e){"use strict";var r=e(94488),i=e(69077);r({target:"Symbol",stat:!0},{isRegisteredSymbol:i})},51630:function(d,v,e){"use strict";var r=e(94488),i=e(69077);r({target:"Symbol",stat:!0,name:"isRegisteredSymbol"},{isRegistered:i})},61933:function(d,v,e){"use strict";var r=e(94488),i=e(40443);r({target:"Symbol",stat:!0,forced:!0},{isWellKnownSymbol:i})},619:function(d,v,e){"use strict";var r=e(94488),i=e(40443);r({target:"Symbol",stat:!0,name:"isWellKnownSymbol",forced:!0},{isWellKnown:i})},99675:function(d,v,e){"use strict";var r=e(94674);r("matcher")},53637:function(d,v,e){"use strict";var r=e(94674);r("metadataKey")},52548:function(d,v,e){"use strict";var r=e(94674);r("metadata")},57482:function(d,v,e){"use strict";var r=e(94674);r("observable")},59725:function(d,v,e){"use strict";var r=e(94674);r("patternMatch")},17610:function(d,v,e){"use strict";var r=e(94674);r("replaceAll")},11507:function(d,v,e){"use strict";var r=e(58261),i=e(90560).filterReject,l=e(27607),c=r.aTypedArray,f=r.exportTypedArrayMethod;f("filterOut",function(h){var u=i(c(this),h,arguments.length>1?arguments[1]:void 0);return l(this,u)},!0)},16315:function(d,v,e){"use strict";var r=e(58261),i=e(90560).filterReject,l=e(27607),c=r.aTypedArray,f=r.exportTypedArrayMethod;f("filterReject",function(h){var u=i(c(this),h,arguments.length>1?arguments[1]:void 0);return l(this,u)},!0)},56966:function(d,v,e){"use strict";var r=e(65911),i=e(6086),l=e(32278),c=e(58261),f=e(69478),o=c.aTypedArrayConstructor,h=c.exportTypedArrayStaticMethod;h("fromAsync",function(a){var x=this,p=arguments.length,y=p>1?arguments[1]:void 0,_=p>2?arguments[2]:void 0;return new(r("Promise"))(function(b){i(x),b(l(a,y,_))}).then(function(b){return f(o(x),b)})},!0)},60239:function(d,v,e){"use strict";var r=e(58261),i=e(36444),l=e(31384),c=r.aTypedArray,f=r.exportTypedArrayMethod;f("groupBy",function(h){var u=arguments.length>1?arguments[1]:void 0;return i(c(this),h,u,l)},!0)},49381:function(d,v,e){"use strict";var r=e(58261),i=e(82762),l=e(75406),c=e(51981),f=e(93303),o=e(56902),h=e(3338),u=r.aTypedArray,a=r.getTypedArrayConstructor,x=r.exportTypedArrayMethod,p=Math.max,y=Math.min,_=!h(function(){var b=new Int8Array([1]),S=b.toSpliced(1,0,{valueOf:function(){return b[0]=2,3}});return S[0]!==2||S[1]!==3});x("toSpliced",function(S,k){var R=u(this),A=a(R),I=i(R),M=c(S,I),B=arguments.length,N=0,V,W,H,ae,ne,oe,J;if(B===0)V=W=0;else if(B===1)V=0,W=I-M;else if(W=y(p(o(k),0),I-M),V=B-2,V){ae=new A(V),H=l(ae);for(var q=2;q<B;q++)ne=arguments[q],ae[q-2]=H?f(ne):+ne}for(oe=I+V-W,J=new A(oe);N<M;N++)J[N]=R[N];for(;N<M+V;N++)J[N]=ae[N-M];for(;N<oe;N++)J[N]=R[N+W-V];return J},!_)},17230:function(d,v,e){"use strict";var r=e(94237),i=e(58261),l=e(69478),c=e(65621),f=i.aTypedArray,o=i.getTypedArrayConstructor,h=i.exportTypedArrayMethod,u=r(c);h("uniqueBy",function(x){return f(this),l(o(this),u(this,x))},!0)},62720:function(d,v,e){"use strict";var r=e(94488),i=e(92916),l=e(94237),c=e(1674),f=e(79606),o=e(32621),h=e(69478),u=e(66244),a=e(81750),x=u.c2i,p=u.c2iUrl,y=i.Uint8Array,_=i.SyntaxError,b=l("".charAt),S=l("".replace),k=l("".slice),R=l([].push),A=/[\t\n\f\r ]/g,I="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,V=a(N)==="base64"?x:p,W=N?!!N.strict:!1,H=W?B:S(B,A,"");if(H.length%4===0)k(H,-2)==="=="?H=k(H,0,-2):k(H,-1)==="="&&(H=k(H,0,-1));else if(W)throw new _("Input is not correctly padded");var ae=H.length%4;switch(ae){case 1:throw new _("Bad input length");case 2:H+="AA";break;case 3:H+="A"}for(var ne=[],oe=0,J=H.length,q=function(ee){var Q=b(H,oe+ee);if(!o(V,Q))throw new _('Bad char in input: "'+Q+'"');return V[Q]<<18-6*ee};oe<J;oe+=4){var K=q(0)+q(1)+q(2)+q(3);R(ne,K>>16&255,K>>8&255,K&255)}var se=ne.length;if(ae===2){if(W&&ne[se-2]!==0)throw new _(I);se-=2}else if(ae===3){if(W&&ne[se-1]!==0)throw new _(I);se--}return h(y,ne,se)}})},57151:function(d,v,e){"use strict";var r=e(94488),i=e(92916),l=e(94237),c=e(79606),f=i.Uint8Array,o=i.SyntaxError,h=i.parseInt,u=/[^\da-f]/i,a=l(u.exec),x=l("".slice);f&&r({target:"Uint8Array",stat:!0,forced:!0},{fromHex:function(y){c(y);var _=y.length;if(_%2)throw new o("String should have an even number of characters");if(a(u,y))throw new o("String should only contain hex characters");for(var b=new f(_/2),S=0;S<_;S+=2)b[S/2]=h(x(y,S,S+2),16);return b}})},48732:function(d,v,e){"use strict";var r=e(94488),i=e(92916),l=e(94237),c=e(1674),f=e(27270),o=e(66244),h=e(81750),u=o.i2c,a=o.i2cUrl,x=i.Uint8Array,p=l("".charAt);x&&r({target:"Uint8Array",proto:!0,forced:!0},{toBase64:function(){for(var _=f(this),b=arguments.length?c(arguments[0]):void 0,S=h(b)==="base64"?u:a,k="",R=0,A=_.length,I,M=function(B){return p(S,I>>6*B&63)};R+2<A;R+=3)I=(_[R]<<16)+(_[R+1]<<8)+_[R+2],k+=M(3)+M(2)+M(1)+M(0);return R+2===A?(I=(_[R]<<16)+(_[R+1]<<8),k+=M(3)+M(2)+M(1)+"="):R+1===A&&(I=_[R]<<16,k+=M(3)+M(2)+"=="),k}})},18481:function(d,v,e){"use strict";var r=e(94488),i=e(92916),l=e(94237),c=e(27270),f=i.Uint8Array,o=l(1 .toString);f&&r({target:"Uint8Array",proto:!0,forced:!0},{toHex:function(){c(this);for(var u="",a=0,x=this.length;a<x;a++){var p=o(this[a],16);u+=p.length===1?"0"+p:p}return u}})},55055:function(d,v,e){"use strict";var r=e(94488),i=e(63619),l=e(42530).remove;r({target:"WeakMap",proto:!0,real:!0,forced:!0},{deleteAll:function(){for(var f=i(this),o=!0,h,u=0,a=arguments.length;u<a;u++)h=l(f,arguments[u]),o=o&&h;return!!o}})},90965:function(d,v,e){"use strict";var r=e(94488),i=e(63619),l=e(42530),c=l.get,f=l.has,o=l.set;r({target:"WeakMap",proto:!0,real:!0,forced:!0},{emplace:function(u,a){var x=i(this),p,y;return f(x,u)?(p=c(x,u),"update"in a&&(p=a.update(p,u,x),o(x,u,p)),p):(y=a.insert(u,x),o(x,u,y),y)}})},7195:function(d,v,e){"use strict";var r=e(94488),i=e(72846);r({target:"WeakMap",stat:!0,forced:!0},{from:i})},89179:function(d,v,e){"use strict";var r=e(94488),i=e(48800);r({target:"WeakMap",stat:!0,forced:!0},{of:i})},67725:function(d,v,e){"use strict";var r=e(94488),i=e(14615);r({target:"WeakMap",proto:!0,real:!0,forced:!0},{upsert:i})},59884:function(d,v,e){"use strict";var r=e(94488),i=e(18888),l=e(91385).add;r({target:"WeakSet",proto:!0,real:!0,forced:!0},{addAll:function(){for(var f=i(this),o=0,h=arguments.length;o<h;o++)l(f,arguments[o]);return f}})},89202:function(d,v,e){"use strict";var r=e(94488),i=e(18888),l=e(91385).remove;r({target:"WeakSet",proto:!0,real:!0,forced:!0},{deleteAll:function(){for(var f=i(this),o=!0,h,u=0,a=arguments.length;u<a;u++)h=l(f,arguments[u]),o=o&&h;return!!o}})},97815:function(d,v,e){"use strict";var r=e(94488),i=e(72846);r({target:"WeakSet",stat:!0,forced:!0},{from:i})},11593:function(d,v,e){"use strict";var r=e(94488),i=e(48800);r({target:"WeakSet",stat:!0,forced:!0},{of:i})},7597:function(d,v,e){"use strict";var r=e(94488),i=e(92916),l=e(65911),c=e(94237),f=e(89945),o=e(3338),h=e(69905),u=e(57106),a=e(66244).c2i,x=/[^\d+/a-z]/i,p=/[\t\n\f\r ]+/g,y=/[=]{1,2}$/,_=l("atob"),b=String.fromCharCode,S=c("".charAt),k=c("".replace),R=c(x.exec),A=!!_&&!o(function(){return _("aGk=")!=="hi"}),I=A&&o(function(){return _(" ")!==""}),M=A&&!o(function(){_("a")}),B=A&&!o(function(){_()}),N=A&&_.length!==1,V=!A||I||M||B||N;r({global:!0,bind:!0,enumerable:!0,forced:V},{atob:function(H){if(u(arguments.length,1),A&&!I&&!M)return f(_,i,H);var ae=k(h(H),p,""),ne="",oe=0,J=0,q,K,se;if(ae.length%4===0&&(ae=k(ae,y,"")),q=ae.length,q%4===1||R(x,ae))throw new(l("DOMException"))("The string is not correctly encoded","InvalidCharacterError");for(;oe<q;)K=S(ae,oe++),se=J%4?se*64+a[K]:a[K],J++%4&&(ne+=b(255&se>>(-2*J&6)));return ne}})},55182:function(d,v,e){"use strict";var r=e(94488),i=e(92916),l=e(65911),c=e(94237),f=e(89945),o=e(3338),h=e(69905),u=e(57106),a=e(66244).i2c,x=l("btoa"),p=c("".charAt),y=c("".charCodeAt),_=!!x&&!o(function(){return x("hi")!=="aGk="}),b=_&&!o(function(){x()}),S=_&&o(function(){return x(null)!=="bnVsbA=="}),k=_&&x.length!==1;r({global:!0,bind:!0,enumerable:!0,forced:!_||b||S||k},{btoa:function(A){if(u(arguments.length,1),_)return f(x,i,h(A));for(var I=h(A),M="",B=0,N=a,V,W;p(I,B)||(N="=",B%1);){if(W=y(I,B+=.75),W>255)throw new(l("DOMException"))("The string contains characters outside of the Latin1 range","InvalidCharacterError");V=V<<8|W,M+=p(N,63&V>>8-B%1*8)}return M}})},91472:function(d,v,e){"use strict";var r=e(94488),i=e(92916),l=e(28887).clear;r({global:!0,bind:!0,enumerable:!0,forced:i.clearImmediate!==l},{clearImmediate:l})},34366:function(d,v,e){"use strict";var r=e(92916),i=e(66749),l=e(9518),c=e(59594),f=e(68151),o=function(u){if(u&&u.forEach!==c)try{f(u,"forEach",c)}catch(a){u.forEach=c}};for(var h in i)i[h]&&o(r[h]&&r[h].prototype);o(l)},85425:function(d,v,e){"use strict";var r=e(92916),i=e(66749),l=e(9518),c=e(11005),f=e(68151),o=e(94573),h=e(59893),u=h("iterator"),a=c.values,x=function(y,_){if(y){if(y[u]!==a)try{f(y,u,a)}catch(S){y[u]=a}if(o(y,_,!0),i[_]){for(var b in c)if(y[b]!==c[b])try{f(y,b,c[b])}catch(S){y[b]=c[b]}}}};for(var p in i)x(r[p]&&r[p].prototype,p);x(l,"DOMTokenList")},64522:function(d,v,e){"use strict";var r=e(94488),i=e(11270),l=e(65911),c=e(3338),f=e(20132),o=e(35012),h=e(37691).f,u=e(2291),a=e(64110),x=e(32621),p=e(56472),y=e(80449),_=e(13367),b=e(7825),S=e(52109),k=e(80739),R=e(94844),A=e(35454),I=e(16697),M="DOMException",B="DATA_CLONE_ERR",N=l("Error"),V=l(M)||function(){try{var bt=l("MessageChannel")||i("worker_threads").MessageChannel;new bt().port1.postMessage(new WeakMap)}catch(kt){if(kt.name===B&&kt.code===25)return kt.constructor}}(),W=V&&V.prototype,H=N.prototype,ae=R.set,ne=R.getterFor(M),oe="stack"in new N(M),J=function(bt){return x(S,bt)&&S[bt].m?S[bt].c:0},q=function(){p(this,K);var kt=arguments.length,Zt=b(kt<1?void 0:arguments[0]),Mt=b(kt<2?void 0:arguments[1],"Error"),tr=J(Mt);if(ae(this,{type:M,name:Mt,message:Zt,code:tr}),A||(this.name=Mt,this.message=Zt,this.code=tr),oe){var je=new N(Zt);je.name=M,h(this,"stack",o(1,k(je.stack,1)))}},K=q.prototype=f(H),se=function(bt){return{enumerable:!0,configurable:!0,get:bt}},ee=function(bt){return se(function(){return ne(this)[bt]})};A&&(a(K,"code",ee("code")),a(K,"message",ee("message")),a(K,"name",ee("name"))),h(K,"constructor",o(1,q));var Q=c(function(){return!(new V instanceof N)}),le=Q||c(function(){return H.toString!==_||String(new V(1,2))!=="2: 1"}),z=Q||c(function(){return new V(1,"DataCloneError").code!==25}),$=Q||V[B]!==25||W[B]!==25,ie=I?le||z||$:Q;r({global:!0,constructor:!0,forced:ie},{DOMException:ie?q:V});var _e=l(M),Ae=_e.prototype;le&&(I||V===_e)&&u(Ae,"toString",_),z&&A&&V===_e&&a(Ae,"code",se(function(){return J(y(this).name)}));for(var Pe in S)if(x(S,Pe)){var We=S[Pe],$e=We.s,Lt=o(6,We.c);x(_e,$e)||h(_e,$e,Lt),x(Ae,$e)||h(Ae,$e,Lt)}},41599:function(d,v,e){"use strict";var r=e(94488),i=e(92916),l=e(65911),c=e(35012),f=e(37691).f,o=e(32621),h=e(56472),u=e(25576),a=e(7825),x=e(52109),p=e(80739),y=e(35454),_=e(16697),b="DOMException",S=l("Error"),k=l(b),R=function(){h(this,A);var q=arguments.length,K=a(q<1?void 0:arguments[0]),se=a(q<2?void 0:arguments[1],"Error"),ee=new k(K,se),Q=new S(K);return Q.name=b,f(ee,"stack",c(1,p(Q.stack,1))),u(ee,this,R),ee},A=R.prototype=k.prototype,I="stack"in new S(b),M="stack"in new k(1,2),B=k&&y&&Object.getOwnPropertyDescriptor(i,b),N=!!B&&!(B.writable&&B.configurable),V=I&&!N&&!M;r({global:!0,constructor:!0,forced:_||V},{DOMException:V?R:k});var W=l(b),H=W.prototype;if(H.constructor!==W){_||f(H,"constructor",c(1,W));for(var ae in x)if(o(x,ae)){var ne=x[ae],oe=ne.s;o(W,oe)||f(W,oe,c(6,ne.c))}}},86465:function(d,v,e){"use strict";var r=e(65911),i=e(94573),l="DOMException";i(r(l),l)},78437:function(d,v,e){"use strict";e(91472),e(91700)},73624:function(d,v,e){"use strict";var r=e(94488),i=e(92916),l=e(72933),c=e(63335),f=e(57106),o=e(90946),h=i.process;r({global:!0,enumerable:!0,dontCallGetSet:!0},{queueMicrotask:function(a){f(arguments.length,1),c(a);var x=o&&h.domain;l(x?x.bind(a):a)}})},62059:function(d,v,e){"use strict";var r=e(94488),i=e(92916),l=e(64110),c=e(35454),f=TypeError,o=Object.defineProperty,h=i.self!==i;try{if(c){var u=Object.getOwnPropertyDescriptor(i,"self");(h||!u||!u.get||!u.enumerable)&&l(i,"self",{get:function(){return i},set:function(x){if(this!==i)throw new f("Illegal invocation");o(i,"self",{value:x,writable:!0,configurable:!0,enumerable:!0})},configurable:!0,enumerable:!0})}else r({global:!0,simple:!0,forced:h},{self:i})}catch(a){}},91700:function(d,v,e){"use strict";var r=e(94488),i=e(92916),l=e(28887).set,c=e(93222),f=i.setImmediate?c(l,!1):l;r({global:!0,bind:!0,enumerable:!0,forced:i.setImmediate!==f},{setImmediate:f})},88469:function(d,v,e){"use strict";var r=e(94488),i=e(92916),l=e(93222),c=l(i.setInterval,!0);r({global:!0,bind:!0,forced:i.setInterval!==c},{setInterval:c})},91572:function(d,v,e){"use strict";var r=e(94488),i=e(92916),l=e(93222),c=l(i.setTimeout,!0);r({global:!0,bind:!0,forced:i.setTimeout!==c},{setTimeout:c})},10305:function(d,v,e){"use strict";var r=e(16697),i=e(94488),l=e(92916),c=e(65911),f=e(94237),o=e(3338),h=e(6145),u=e(55327),a=e(39812),x=e(4112),p=e(31946),y=e(18446),_=e(62003),b=e(80449),S=e(97607),k=e(32621),R=e(69392),A=e(68151),I=e(82762),M=e(57106),B=e(81644),N=e(2786),V=e(19691),W=e(57002),H=e(39311),ae=e(25406),ne=e(80426),oe=l.Object,J=l.Array,q=l.Date,K=l.Error,se=l.TypeError,ee=l.PerformanceMark,Q=c("DOMException"),le=N.Map,z=N.has,$=N.get,ie=N.set,_e=V.Set,Ae=V.add,Pe=V.has,We=c("Object","keys"),$e=f([].push),Lt=f((!0).valueOf),bt=f(1 .valueOf),kt=f("".valueOf),Zt=f(q.prototype.getTime),Mt=h("structuredClone"),tr="DataCloneError",je="Transferring",wt=function(Me){return!o(function(){var qe=new l.Set([7]),Vt=Me(qe),Rt=Me(oe(7));return Vt===qe||!Vt.has(7)||!p(Rt)||+Rt!=7})&&Me},Ft=function(Me,qe){return!o(function(){var Vt=new qe,Rt=Me({a:Vt,b:Vt});return!(Rt&&Rt.a===Rt.b&&Rt.a instanceof qe&&Rt.a.stack===Vt.stack)})},tt=function(Me){return!o(function(){var qe=Me(new l.AggregateError([1],Mt,{cause:3}));return qe.name!=="AggregateError"||qe.errors[0]!==1||qe.message!==Mt||qe.cause!==3})},gt=l.structuredClone,ft=r||!Ft(gt,K)||!Ft(gt,Q)||!tt(gt),Qe=!gt&&wt(function(Me){return new ee(Mt,{detail:Me}).detail}),Ne=wt(gt)||Qe,xe=function(Me){throw new Q("Uncloneable type: "+Me,tr)},ke=function(Me,qe){throw new Q((qe||"Cloning")+" of "+Me+" cannot be properly polyfilled in this engine",tr)},Ge=function(Me,qe){return Ne||ke(qe),Ne(Me)},He=function(){var Me;try{Me=new l.DataTransfer}catch(qe){try{Me=new l.ClipboardEvent("").clipboardData}catch(Vt){}}return Me&&Me.items&&Me.files?Me:null},Ye=function(Me,qe,Vt){if(z(qe,Me))return $(qe,Me);var Rt=Vt||S(Me),zt,Ht,Ct,Xt,ze,ce;if(Rt==="SharedArrayBuffer")Ne?zt=Ne(Me):zt=Me;else{var pe=l.DataView;!pe&&!u(Me.slice)&&ke("ArrayBuffer");try{if(u(Me.slice)&&!Me.resizable)zt=Me.slice(0);else for(Ht=Me.byteLength,Ct=("maxByteLength"in Me)?{maxByteLength:Me.maxByteLength}:void 0,zt=new ArrayBuffer(Ht,Ct),Xt=new pe(Me),ze=new pe(zt),ce=0;ce<Ht;ce++)ze.setUint8(ce,Xt.getUint8(ce))}catch(It){throw new Q("ArrayBuffer is detached",tr)}}return ie(qe,Me,zt),zt},dt=function(Me,qe,Vt,Rt,zt){var Ht=l[qe];return p(Ht)||ke(qe),new Ht(Ye(Me.buffer,zt),Vt,Rt)},xt=function(Me,qe){if(y(Me)&&xe("Symbol"),!p(Me))return Me;if(qe){if(z(qe,Me))return $(qe,Me)}else qe=new le;var Vt=S(Me),Rt,zt,Ht,Ct,Xt,ze,ce,pe;switch(Vt){case"Array":Ht=J(I(Me));break;case"Object":Ht={};break;case"Map":Ht=new le;break;case"Set":Ht=new _e;break;case"RegExp":Ht=new RegExp(Me.source,B(Me));break;case"Error":switch(zt=Me.name,zt){case"AggregateError":Ht=new(c(zt))([]);break;case"EvalError":case"RangeError":case"ReferenceError":case"SuppressedError":case"SyntaxError":case"TypeError":case"URIError":Ht=new(c(zt));break;case"CompileError":case"LinkError":case"RuntimeError":Ht=new(c("WebAssembly",zt));break;default:Ht=new K}break;case"DOMException":Ht=new Q(Me.message,Me.name);break;case"ArrayBuffer":case"SharedArrayBuffer":Ht=Ye(Me,qe,Vt);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":ze=Vt==="DataView"?Me.byteLength:Me.length,Ht=dt(Me,Vt,Me.byteOffset,ze,qe);break;case"DOMQuad":try{Ht=new DOMQuad(xt(Me.p1,qe),xt(Me.p2,qe),xt(Me.p3,qe),xt(Me.p4,qe))}catch(It){Ht=Ge(Me,Vt)}break;case"File":if(Ne)try{Ht=Ne(Me),S(Ht)!==Vt&&(Ht=void 0)}catch(It){}if(!Ht)try{Ht=new File([Me],Me.name,Me)}catch(It){}Ht||ke(Vt);break;case"FileList":if(Ct=He(),Ct){for(Xt=0,ze=I(Me);Xt<ze;Xt++)Ct.items.add(xt(Me[Xt],qe));Ht=Ct.files}else Ht=Ge(Me,Vt);break;case"ImageData":try{Ht=new ImageData(xt(Me.data,qe),Me.width,Me.height,{colorSpace:Me.colorSpace})}catch(It){Ht=Ge(Me,Vt)}break;default:if(Ne)Ht=Ne(Me);else switch(Vt){case"BigInt":Ht=oe(Me.valueOf());break;case"Boolean":Ht=oe(Lt(Me));break;case"Number":Ht=oe(bt(Me));break;case"String":Ht=oe(kt(Me));break;case"Date":Ht=new q(Zt(Me));break;case"Blob":try{Ht=Me.slice(0,Me.size,Me.type)}catch(It){ke(Vt)}break;case"DOMPoint":case"DOMPointReadOnly":Rt=l[Vt];try{Ht=Rt.fromPoint?Rt.fromPoint(Me):new Rt(Me.x,Me.y,Me.z,Me.w)}catch(It){ke(Vt)}break;case"DOMRect":case"DOMRectReadOnly":Rt=l[Vt];try{Ht=Rt.fromRect?Rt.fromRect(Me):new Rt(Me.x,Me.y,Me.width,Me.height)}catch(It){ke(Vt)}break;case"DOMMatrix":case"DOMMatrixReadOnly":Rt=l[Vt];try{Ht=Rt.fromMatrix?Rt.fromMatrix(Me):new Rt(Me)}catch(It){ke(Vt)}break;case"AudioData":case"VideoFrame":u(Me.clone)||ke(Vt);try{Ht=Me.clone()}catch(It){xe(Vt)}break;case"CropTarget":case"CryptoKey":case"FileSystemDirectoryHandle":case"FileSystemFileHandle":case"FileSystemHandle":case"GPUCompilationInfo":case"GPUCompilationMessage":case"ImageBitmap":case"RTCCertificate":case"WebAssembly.Module":ke(Vt);default:xe(Vt)}}switch(ie(qe,Me,Ht),Vt){case"Array":case"Object":for(ce=We(Me),Xt=0,ze=I(ce);Xt<ze;Xt++)pe=ce[Xt],R(Ht,pe,xt(Me[pe],qe));break;case"Map":Me.forEach(function(It,Te){ie(Ht,xt(Te,qe),xt(It,qe))});break;case"Set":Me.forEach(function(It){Ae(Ht,xt(It,qe))});break;case"Error":A(Ht,"message",xt(Me.message,qe)),k(Me,"cause")&&A(Ht,"cause",xt(Me.cause,qe)),zt==="AggregateError"?Ht.errors=xt(Me.errors,qe):zt==="SuppressedError"&&(Ht.error=xt(Me.error,qe),Ht.suppressed=xt(Me.suppressed,qe));case"DOMException":ae&&A(Ht,"stack",xt(Me.stack,qe))}return Ht},nr=function(Me,qe){if(!p(Me))throw new se("Transfer option cannot be converted to a sequence");var Vt=[];_(Me,function(Te){$e(Vt,b(Te))});for(var Rt=0,zt=I(Vt),Ht=new _e,Ct,Xt,ze,ce,pe,It;Rt<zt;){if(Ct=Vt[Rt++],Xt=S(Ct),Xt==="ArrayBuffer"?Pe(Ht,Ct):z(qe,Ct))throw new Q("Duplicate transferable",tr);if(Xt==="ArrayBuffer"){Ae(Ht,Ct);continue}if(ne)ce=gt(Ct,{transfer:[Ct]});else switch(Xt){case"ImageBitmap":ze=l.OffscreenCanvas,a(ze)||ke(Xt,je);try{pe=new ze(Ct.width,Ct.height),It=pe.getContext("bitmaprenderer"),It.transferFromImageBitmap(Ct),ce=pe.transferToImageBitmap()}catch(Te){}break;case"AudioData":case"VideoFrame":(!u(Ct.clone)||!u(Ct.close))&&ke(Xt,je);try{ce=Ct.clone(),Ct.close()}catch(Te){}break;case"MediaSourceHandle":case"MessagePort":case"OffscreenCanvas":case"ReadableStream":case"TransformStream":case"WritableStream":ke(Xt,je)}if(ce===void 0)throw new Q("This object cannot be transferred: "+Xt,tr);ie(qe,Ct,ce)}return Ht},qt=function(Me){W(Me,function(qe){ne?Ne(qe,{transfer:[qe]}):u(qe.transfer)?qe.transfer():H?H(qe):ke("ArrayBuffer",je)})};i({global:!0,enumerable:!0,sham:!ne,forced:ft},{structuredClone:function(qe){var Vt=M(arguments.length,1)>1&&!x(arguments[1])?b(arguments[1]):void 0,Rt=Vt?Vt.transfer:void 0,zt,Ht;Rt!==void 0&&(zt=new le,Ht=nr(Rt,zt));var Ct=xt(qe,zt);return Ht&&qt(Ht),Ct}})},41208:function(d,v,e){"use strict";e(88469),e(91572)},91340:function(d,v,e){"use strict";e(11005);var r=e(94488),i=e(92916),l=e(89945),c=e(94237),f=e(35454),o=e(3299),h=e(2291),u=e(64110),a=e(66477),x=e(94573),p=e(83126),y=e(94844),_=e(56472),b=e(55327),S=e(32621),k=e(80666),R=e(97607),A=e(80449),I=e(31946),M=e(69905),B=e(20132),N=e(35012),V=e(85428),W=e(26006),H=e(25587),ae=e(57106),ne=e(59893),oe=e(63668),J=ne("iterator"),q="URLSearchParams",K=q+"Iterator",se=y.set,ee=y.getterFor(q),Q=y.getterFor(K),le=Object.getOwnPropertyDescriptor,z=function(zt){if(!f)return i[zt];var Ht=le(i,zt);return Ht&&Ht.value},$=z("fetch"),ie=z("Request"),_e=z("Headers"),Ae=ie&&ie.prototype,Pe=_e&&_e.prototype,We=i.RegExp,$e=i.TypeError,Lt=i.decodeURIComponent,bt=i.encodeURIComponent,kt=c("".charAt),Zt=c([].join),Mt=c([].push),tr=c("".replace),je=c([].shift),wt=c([].splice),Ft=c("".split),tt=c("".slice),gt=/\+/g,ft=Array(4),Qe=function(zt){return ft[zt-1]||(ft[zt-1]=We("((?:%[\\da-f]{2}){"+zt+"})","gi"))},Ne=function(zt){try{return Lt(zt)}catch(Ht){return zt}},xe=function(zt){var Ht=tr(zt,gt," "),Ct=4;try{return Lt(Ht)}catch(Xt){for(;Ct;)Ht=tr(Ht,Qe(Ct--),Ne);return Ht}},ke=/[!'()~]|%20/g,Ge={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"},He=function(zt){return Ge[zt]},Ye=function(zt){return tr(bt(zt),ke,He)},dt=p(function(Ht,Ct){se(this,{type:K,target:ee(Ht).entries,index:0,kind:Ct})},q,function(){var Ht=Q(this),Ct=Ht.target,Xt=Ht.index++;if(!Ct||Xt>=Ct.length)return Ht.target=void 0,H(void 0,!0);var ze=Ct[Xt];switch(Ht.kind){case"keys":return H(ze.key,!1);case"values":return H(ze.value,!1)}return H([ze.key,ze.value],!1)},!0),xt=function(zt){this.entries=[],this.url=null,zt!==void 0&&(I(zt)?this.parseObject(zt):this.parseQuery(typeof zt=="string"?kt(zt,0)==="?"?tt(zt,1):zt:M(zt)))};xt.prototype={type:q,bindURL:function(zt){this.url=zt,this.update()},parseObject:function(zt){var Ht=this.entries,Ct=W(zt),Xt,ze,ce,pe,It,Te,ct;if(Ct)for(Xt=V(zt,Ct),ze=Xt.next;!(ce=l(ze,Xt)).done;){if(pe=V(A(ce.value)),It=pe.next,(Te=l(It,pe)).done||(ct=l(It,pe)).done||!l(It,pe).done)throw new $e("Expected sequence with length 2");Mt(Ht,{key:M(Te.value),value:M(ct.value)})}else for(var Wt in zt)S(zt,Wt)&&Mt(Ht,{key:Wt,value:M(zt[Wt])})},parseQuery:function(zt){if(zt)for(var Ht=this.entries,Ct=Ft(zt,"&"),Xt=0,ze,ce;Xt<Ct.length;)ze=Ct[Xt++],ze.length&&(ce=Ft(ze,"="),Mt(Ht,{key:xe(je(ce)),value:xe(Zt(ce,"="))}))},serialize:function(){for(var zt=this.entries,Ht=[],Ct=0,Xt;Ct<zt.length;)Xt=zt[Ct++],Mt(Ht,Ye(Xt.key)+"="+Ye(Xt.value));return Zt(Ht,"&")},update:function(){this.entries.length=0,this.parseQuery(this.url.query)},updateURL:function(){this.url&&this.url.update()}};var nr=function(){_(this,qt);var Ht=arguments.length>0?arguments[0]:void 0,Ct=se(this,new xt(Ht));f||(this.size=Ct.entries.length)},qt=nr.prototype;if(a(qt,{append:function(Ht,Ct){var Xt=ee(this);ae(arguments.length,2),Mt(Xt.entries,{key:M(Ht),value:M(Ct)}),f||this.length++,Xt.updateURL()},delete:function(zt){for(var Ht=ee(this),Ct=ae(arguments.length,1),Xt=Ht.entries,ze=M(zt),ce=Ct<2?void 0:arguments[1],pe=ce===void 0?ce:M(ce),It=0;It<Xt.length;){var Te=Xt[It];if(Te.key===ze&&(pe===void 0||Te.value===pe)){if(wt(Xt,It,1),pe!==void 0)break}else It++}f||(this.size=Xt.length),Ht.updateURL()},get:function(Ht){var Ct=ee(this).entries;ae(arguments.length,1);for(var Xt=M(Ht),ze=0;ze<Ct.length;ze++)if(Ct[ze].key===Xt)return Ct[ze].value;return null},getAll:function(Ht){var Ct=ee(this).entries;ae(arguments.length,1);for(var Xt=M(Ht),ze=[],ce=0;ce<Ct.length;ce++)Ct[ce].key===Xt&&Mt(ze,Ct[ce].value);return ze},has:function(Ht){for(var Ct=ee(this).entries,Xt=ae(arguments.length,1),ze=M(Ht),ce=Xt<2?void 0:arguments[1],pe=ce===void 0?ce:M(ce),It=0;It<Ct.length;){var Te=Ct[It++];if(Te.key===ze&&(pe===void 0||Te.value===pe))return!0}return!1},set:function(Ht,Ct){var Xt=ee(this);ae(arguments.length,1);for(var ze=Xt.entries,ce=!1,pe=M(Ht),It=M(Ct),Te=0,ct;Te<ze.length;Te++)ct=ze[Te],ct.key===pe&&(ce?wt(ze,Te--,1):(ce=!0,ct.value=It));ce||Mt(ze,{key:pe,value:It}),f||(this.size=ze.length),Xt.updateURL()},sort:function(){var Ht=ee(this);oe(Ht.entries,function(Ct,Xt){return Ct.key>Xt.key?1:-1}),Ht.updateURL()},forEach:function(Ht){for(var Ct=ee(this).entries,Xt=k(Ht,arguments.length>1?arguments[1]:void 0),ze=0,ce;ze<Ct.length;)ce=Ct[ze++],Xt(ce.value,ce.key,this)},keys:function(){return new dt(this,"keys")},values:function(){return new dt(this,"values")},entries:function(){return new dt(this,"entries")}},{enumerable:!0}),h(qt,J,qt.entries,{name:"entries"}),h(qt,"toString",function(){return ee(this).serialize()},{enumerable:!0}),f&&u(qt,"size",{get:function(){return ee(this).entries.length},configurable:!0,enumerable:!0}),x(nr,q),r({global:!0,constructor:!0,forced:!o},{URLSearchParams:nr}),!o&&b(_e)){var Me=c(Pe.has),qe=c(Pe.set),Vt=function(zt){if(I(zt)){var Ht=zt.body,Ct;if(R(Ht)===q)return Ct=zt.headers?new _e(zt.headers):new _e,Me(Ct,"content-type")||qe(Ct,"content-type","application/x-www-form-urlencoded;charset=UTF-8"),B(zt,{body:N(0,M(Ht)),headers:N(0,Ct)})}return zt};if(b($)&&r({global:!0,enumerable:!0,dontCallGetSet:!0,forced:!0},{fetch:function(Ht){return $(Ht,arguments.length>1?Vt(arguments[1]):{})}}),b(ie)){var Rt=function(Ht){return _(this,Ae),new ie(Ht,arguments.length>1?Vt(arguments[1]):{})};Ae.constructor=Rt,Rt.prototype=Ae,r({global:!0,constructor:!0,dontCallGetSet:!0,forced:!0},{Request:Rt})}}d.exports={URLSearchParams:nr,getState:ee}},4890:function(d,v,e){"use strict";var r=e(2291),i=e(94237),l=e(69905),c=e(57106),f=URLSearchParams,o=f.prototype,h=i(o.append),u=i(o.delete),a=i(o.forEach),x=i([].push),p=new f("a=1&a=2&b=3");p.delete("a",1),p.delete("b",void 0),p+""!="a=2"&&r(o,"delete",function(y){var _=arguments.length,b=_<2?void 0:arguments[1];if(_&&b===void 0)return u(this,y);var S=[];a(this,function(V,W){x(S,{key:W,value:V})}),c(_,1);for(var k=l(y),R=l(b),A=0,I=0,M=!1,B=S.length,N;A<B;)N=S[A++],M||N.key===k?(M=!0,u(this,N.key)):I++;for(;I<B;)N=S[I++],N.key===k&&N.value===R||h(this,N.key,N.value)},{enumerable:!0,unsafe:!0})},5340:function(d,v,e){"use strict";var r=e(2291),i=e(94237),l=e(69905),c=e(57106),f=URLSearchParams,o=f.prototype,h=i(o.getAll),u=i(o.has),a=new f("a=1");(a.has("a",2)||!a.has("a",void 0))&&r(o,"has",function(p){var y=arguments.length,_=y<2?void 0:arguments[1];if(y&&_===void 0)return u(this,p);var b=h(this,p);c(y,1);for(var S=l(_),k=0;k<b.length;)if(b[k++]===S)return!0;return!1},{enumerable:!0,unsafe:!0})},7893:function(d,v,e){"use strict";e(91340)},61650:function(d,v,e){"use strict";var r=e(35454),i=e(94237),l=e(64110),c=URLSearchParams.prototype,f=i(c.forEach);r&&!("size"in c)&&l(c,"size",{get:function(){var h=0;return f(this,function(){h++}),h},configurable:!0,enumerable:!0})},40061:function(d,v,e){"use strict";var r=e(94488),i=e(65911),l=e(3338),c=e(57106),f=e(69905),o=e(3299),h=i("URL"),u=o&&l(function(){h.canParse()});r({target:"URL",stat:!0,forced:!u},{canParse:function(x){var p=c(arguments.length,1),y=f(x),_=p<2||arguments[1]===void 0?void 0:f(arguments[1]);try{return!!new h(y,_)}catch(b){return!1}}})},13588:function(d,v,e){"use strict";e(20852);var r=e(94488),i=e(35454),l=e(3299),c=e(92916),f=e(80666),o=e(94237),h=e(2291),u=e(64110),a=e(56472),x=e(32621),p=e(80530),y=e(60255),_=e(71698),b=e(13764).codeAt,S=e(93245),k=e(69905),R=e(94573),A=e(57106),I=e(91340),M=e(94844),B=M.set,N=M.getterFor("URL"),V=I.URLSearchParams,W=I.getState,H=c.URL,ae=c.TypeError,ne=c.parseInt,oe=Math.floor,J=Math.pow,q=o("".charAt),K=o(/./.exec),se=o([].join),ee=o(1 .toString),Q=o([].pop),le=o([].push),z=o("".replace),$=o([].shift),ie=o("".split),_e=o("".slice),Ae=o("".toLowerCase),Pe=o([].unshift),We="Invalid authority",$e="Invalid scheme",Lt="Invalid host",bt="Invalid port",kt=/[a-z]/i,Zt=/[\d+-.a-z]/i,Mt=/\d/,tr=/^0x/i,je=/^[0-7]+$/,wt=/^\d+$/,Ft=/^[\da-f]+$/i,tt=/[\0\t\n\r #%/:<>?@[\\\]^|]/,gt=/[\0\t\n\r #/:<>?@[\\\]^|]/,ft=/^[\u0000-\u0020]+/,Qe=/(^|[^\u0000-\u0020])[\u0000-\u0020]+$/,Ne=/[\t\n\r]/g,xe,ke=function(Yt){var mt=ie(Yt,"."),st,lt,Nt,br,vr,nt,Tr;if(mt.length&&mt[mt.length-1]===""&&mt.length--,st=mt.length,st>4)return Yt;for(lt=[],Nt=0;Nt<st;Nt++){if(br=mt[Nt],br==="")return Yt;if(vr=10,br.length>1&&q(br,0)==="0"&&(vr=K(tr,br)?16:8,br=_e(br,vr===8?1:2)),br==="")nt=0;else{if(!K(vr===10?wt:vr===8?je:Ft,br))return Yt;nt=ne(br,vr)}le(lt,nt)}for(Nt=0;Nt<st;Nt++)if(nt=lt[Nt],Nt===st-1){if(nt>=J(256,5-st))return null}else if(nt>255)return null;for(Tr=Q(lt),Nt=0;Nt<lt.length;Nt++)Tr+=lt[Nt]*J(256,3-Nt);return Tr},Ge=function(Yt){var mt=[0,0,0,0,0,0,0,0],st=0,lt=null,Nt=0,br,vr,nt,Tr,vn,Gn,Yr,Yn=function(){return q(Yt,Nt)};if(Yn()===":"){if(q(Yt,1)!==":")return;Nt+=2,st++,lt=st}for(;Yn();){if(st===8)return;if(Yn()===":"){if(lt!==null)return;Nt++,st++,lt=st;continue}for(br=vr=0;vr<4&&K(Ft,Yn());)br=br*16+ne(Yn(),16),Nt++,vr++;if(Yn()==="."){if(vr===0||(Nt-=vr,st>6))return;for(nt=0;Yn();){if(Tr=null,nt>0)if(Yn()==="."&&nt<4)Nt++;else return;if(!K(Mt,Yn()))return;for(;K(Mt,Yn());){if(vn=ne(Yn(),10),Tr===null)Tr=vn;else{if(Tr===0)return;Tr=Tr*10+vn}if(Tr>255)return;Nt++}mt[st]=mt[st]*256+Tr,nt++,(nt===2||nt===4)&&st++}if(nt!==4)return;break}else if(Yn()===":"){if(Nt++,!Yn())return}else if(Yn())return;mt[st++]=br}if(lt!==null)for(Gn=st-lt,st=7;st!==0&&Gn>0;)Yr=mt[st],mt[st--]=mt[lt+Gn-1],mt[lt+--Gn]=Yr;else if(st!==8)return;return mt},He=function(Yt){for(var mt=null,st=1,lt=null,Nt=0,br=0;br<8;br++)Yt[br]!==0?(Nt>st&&(mt=lt,st=Nt),lt=null,Nt=0):(lt===null&&(lt=br),++Nt);return Nt>st&&(mt=lt,st=Nt),mt},Ye=function(Yt){var mt,st,lt,Nt;if(typeof Yt=="number"){for(mt=[],st=0;st<4;st++)Pe(mt,Yt%256),Yt=oe(Yt/256);return se(mt,".")}else if(typeof Yt=="object"){for(mt="",lt=He(Yt),st=0;st<8;st++)Nt&&Yt[st]===0||(Nt&&(Nt=!1),lt===st?(mt+=st?":":"::",Nt=!0):(mt+=ee(Yt[st],16),st<7&&(mt+=":")));return"["+mt+"]"}return Yt},dt={},xt=p({},dt,{" ":1,'"':1,"<":1,">":1,"`":1}),nr=p({},xt,{"#":1,"?":1,"{":1,"}":1}),qt=p({},nr,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),Me=function(Yt,mt){var st=b(Yt,0);return st>32&&st<127&&!x(mt,Yt)?Yt:encodeURIComponent(Yt)},qe={ftp:21,file:null,http:80,https:443,ws:80,wss:443},Vt=function(Yt,mt){var st;return Yt.length===2&&K(kt,q(Yt,0))&&((st=q(Yt,1))===":"||!mt&&st==="|")},Rt=function(Yt){var mt;return Yt.length>1&&Vt(_e(Yt,0,2))&&(Yt.length===2||(mt=q(Yt,2))==="/"||mt==="\\"||mt==="?"||mt==="#")},zt=function(Yt){return Yt==="."||Ae(Yt)==="%2e"},Ht=function(Yt){return Yt=Ae(Yt),Yt===".."||Yt==="%2e."||Yt===".%2e"||Yt==="%2e%2e"},Ct={},Xt={},ze={},ce={},pe={},It={},Te={},ct={},Wt={},Tt={},Ce={},St={},ye={},Je={},yt={},Bt={},Be={},Dr={},At={},Xr={},en={},Lr=function(Yt,mt,st){var lt=k(Yt),Nt,br,vr;if(mt){if(br=this.parse(lt),br)throw new ae(br);this.searchParams=null}else{if(st!==void 0&&(Nt=new Lr(st,!0)),br=this.parse(lt,null,Nt),br)throw new ae(br);vr=W(new V),vr.bindURL(this),this.searchParams=vr}};Lr.prototype={type:"URL",parse:function(Yt,mt,st){var lt=this,Nt=mt||Ct,br=0,vr="",nt=!1,Tr=!1,vn=!1,Gn,Yr,Yn,Jn;for(Yt=k(Yt),mt||(lt.scheme="",lt.username="",lt.password="",lt.host=null,lt.port=null,lt.path=[],lt.query=null,lt.fragment=null,lt.cannotBeABaseURL=!1,Yt=z(Yt,ft,""),Yt=z(Yt,Qe,"$1")),Yt=z(Yt,Ne,""),Gn=y(Yt);br<=Gn.length;){switch(Yr=Gn[br],Nt){case Ct:if(Yr&&K(kt,Yr))vr+=Ae(Yr),Nt=Xt;else{if(mt)return $e;Nt=ze;continue}break;case Xt:if(Yr&&(K(Zt,Yr)||Yr==="+"||Yr==="-"||Yr==="."))vr+=Ae(Yr);else if(Yr===":"){if(mt&&(lt.isSpecial()!==x(qe,vr)||vr==="file"&&(lt.includesCredentials()||lt.port!==null)||lt.scheme==="file"&&!lt.host))return;if(lt.scheme=vr,mt){lt.isSpecial()&&qe[lt.scheme]===lt.port&&(lt.port=null);return}vr="",lt.scheme==="file"?Nt=Je:lt.isSpecial()&&st&&st.scheme===lt.scheme?Nt=ce:lt.isSpecial()?Nt=ct:Gn[br+1]==="/"?(Nt=pe,br++):(lt.cannotBeABaseURL=!0,le(lt.path,""),Nt=At)}else{if(mt)return $e;vr="",Nt=ze,br=0;continue}break;case ze:if(!st||st.cannotBeABaseURL&&Yr!=="#")return $e;if(st.cannotBeABaseURL&&Yr==="#"){lt.scheme=st.scheme,lt.path=_(st.path),lt.query=st.query,lt.fragment="",lt.cannotBeABaseURL=!0,Nt=en;break}Nt=st.scheme==="file"?Je:It;continue;case ce:if(Yr==="/"&&Gn[br+1]==="/")Nt=Wt,br++;else{Nt=It;continue}break;case pe:if(Yr==="/"){Nt=Tt;break}else{Nt=Dr;continue}case It:if(lt.scheme=st.scheme,Yr===xe)lt.username=st.username,lt.password=st.password,lt.host=st.host,lt.port=st.port,lt.path=_(st.path),lt.query=st.query;else if(Yr==="/"||Yr==="\\"&&lt.isSpecial())Nt=Te;else if(Yr==="?")lt.username=st.username,lt.password=st.password,lt.host=st.host,lt.port=st.port,lt.path=_(st.path),lt.query="",Nt=Xr;else if(Yr==="#")lt.username=st.username,lt.password=st.password,lt.host=st.host,lt.port=st.port,lt.path=_(st.path),lt.query=st.query,lt.fragment="",Nt=en;else{lt.username=st.username,lt.password=st.password,lt.host=st.host,lt.port=st.port,lt.path=_(st.path),lt.path.length--,Nt=Dr;continue}break;case Te:if(lt.isSpecial()&&(Yr==="/"||Yr==="\\"))Nt=Wt;else if(Yr==="/")Nt=Tt;else{lt.username=st.username,lt.password=st.password,lt.host=st.host,lt.port=st.port,Nt=Dr;continue}break;case ct:if(Nt=Wt,Yr!=="/"||q(vr,br+1)!=="/")continue;br++;break;case Wt:if(Yr!=="/"&&Yr!=="\\"){Nt=Tt;continue}break;case Tt:if(Yr==="@"){nt&&(vr="%40"+vr),nt=!0,Yn=y(vr);for(var kn=0;kn<Yn.length;kn++){var Qn=Yn[kn];if(Qn===":"&&!vn){vn=!0;continue}var ri=Me(Qn,qt);vn?lt.password+=ri:lt.username+=ri}vr=""}else if(Yr===xe||Yr==="/"||Yr==="?"||Yr==="#"||Yr==="\\"&&lt.isSpecial()){if(nt&&vr==="")return We;br-=y(vr).length+1,vr="",Nt=Ce}else vr+=Yr;break;case Ce:case St:if(mt&&lt.scheme==="file"){Nt=Bt;continue}else if(Yr===":"&&!Tr){if(vr==="")return Lt;if(Jn=lt.parseHost(vr),Jn)return Jn;if(vr="",Nt=ye,mt===St)return}else if(Yr===xe||Yr==="/"||Yr==="?"||Yr==="#"||Yr==="\\"&&lt.isSpecial()){if(lt.isSpecial()&&vr==="")return Lt;if(mt&&vr===""&&(lt.includesCredentials()||lt.port!==null))return;if(Jn=lt.parseHost(vr),Jn)return Jn;if(vr="",Nt=Be,mt)return;continue}else Yr==="["?Tr=!0:Yr==="]"&&(Tr=!1),vr+=Yr;break;case ye:if(K(Mt,Yr))vr+=Yr;else if(Yr===xe||Yr==="/"||Yr==="?"||Yr==="#"||Yr==="\\"&&lt.isSpecial()||mt){if(vr!==""){var Ai=ne(vr,10);if(Ai>65535)return bt;lt.port=lt.isSpecial()&&Ai===qe[lt.scheme]?null:Ai,vr=""}if(mt)return;Nt=Be;continue}else return bt;break;case Je:if(lt.scheme="file",Yr==="/"||Yr==="\\")Nt=yt;else if(st&&st.scheme==="file")switch(Yr){case xe:lt.host=st.host,lt.path=_(st.path),lt.query=st.query;break;case"?":lt.host=st.host,lt.path=_(st.path),lt.query="",Nt=Xr;break;case"#":lt.host=st.host,lt.path=_(st.path),lt.query=st.query,lt.fragment="",Nt=en;break;default:Rt(se(_(Gn,br),""))||(lt.host=st.host,lt.path=_(st.path),lt.shortenPath()),Nt=Dr;continue}else{Nt=Dr;continue}break;case yt:if(Yr==="/"||Yr==="\\"){Nt=Bt;break}st&&st.scheme==="file"&&!Rt(se(_(Gn,br),""))&&(Vt(st.path[0],!0)?le(lt.path,st.path[0]):lt.host=st.host),Nt=Dr;continue;case Bt:if(Yr===xe||Yr==="/"||Yr==="\\"||Yr==="?"||Yr==="#"){if(!mt&&Vt(vr))Nt=Dr;else if(vr===""){if(lt.host="",mt)return;Nt=Be}else{if(Jn=lt.parseHost(vr),Jn)return Jn;if(lt.host==="localhost"&&(lt.host=""),mt)return;vr="",Nt=Be}continue}else vr+=Yr;break;case Be:if(lt.isSpecial()){if(Nt=Dr,Yr!=="/"&&Yr!=="\\")continue}else if(!mt&&Yr==="?")lt.query="",Nt=Xr;else if(!mt&&Yr==="#")lt.fragment="",Nt=en;else if(Yr!==xe&&(Nt=Dr,Yr!=="/"))continue;break;case Dr:if(Yr===xe||Yr==="/"||Yr==="\\"&&lt.isSpecial()||!mt&&(Yr==="?"||Yr==="#")){if(Ht(vr)?(lt.shortenPath(),Yr!=="/"&&!(Yr==="\\"&&lt.isSpecial())&&le(lt.path,"")):zt(vr)?Yr!=="/"&&!(Yr==="\\"&&lt.isSpecial())&&le(lt.path,""):(lt.scheme==="file"&&!lt.path.length&&Vt(vr)&&(lt.host&&(lt.host=""),vr=q(vr,0)+":"),le(lt.path,vr)),vr="",lt.scheme==="file"&&(Yr===xe||Yr==="?"||Yr==="#"))for(;lt.path.length>1&&lt.path[0]==="";)$(lt.path);Yr==="?"?(lt.query="",Nt=Xr):Yr==="#"&&(lt.fragment="",Nt=en)}else vr+=Me(Yr,nr);break;case At:Yr==="?"?(lt.query="",Nt=Xr):Yr==="#"?(lt.fragment="",Nt=en):Yr!==xe&&(lt.path[0]+=Me(Yr,dt));break;case Xr:!mt&&Yr==="#"?(lt.fragment="",Nt=en):Yr!==xe&&(Yr==="'"&&lt.isSpecial()?lt.query+="%27":Yr==="#"?lt.query+="%23":lt.query+=Me(Yr,dt));break;case en:Yr!==xe&&(lt.fragment+=Me(Yr,xt));break}br++}},parseHost:function(Yt){var mt,st,lt;if(q(Yt,0)==="["){if(q(Yt,Yt.length-1)!=="]"||(mt=Ge(_e(Yt,1,-1)),!mt))return Lt;this.host=mt}else if(this.isSpecial()){if(Yt=S(Yt),K(tt,Yt)||(mt=ke(Yt),mt===null))return Lt;this.host=mt}else{if(K(gt,Yt))return Lt;for(mt="",st=y(Yt),lt=0;lt<st.length;lt++)mt+=Me(st[lt],dt);this.host=mt}},cannotHaveUsernamePasswordPort:function(){return!this.host||this.cannotBeABaseURL||this.scheme==="file"},includesCredentials:function(){return this.username!==""||this.password!==""},isSpecial:function(){return x(qe,this.scheme)},shortenPath:function(){var Yt=this.path,mt=Yt.length;mt&&(this.scheme!=="file"||mt!==1||!Vt(Yt[0],!0))&&Yt.length--},serialize:function(){var Yt=this,mt=Yt.scheme,st=Yt.username,lt=Yt.password,Nt=Yt.host,br=Yt.port,vr=Yt.path,nt=Yt.query,Tr=Yt.fragment,vn=mt+":";return Nt!==null?(vn+="//",Yt.includesCredentials()&&(vn+=st+(lt?":"+lt:"")+"@"),vn+=Ye(Nt),br!==null&&(vn+=":"+br)):mt==="file"&&(vn+="//"),vn+=Yt.cannotBeABaseURL?vr[0]:vr.length?"/"+se(vr,"/"):"",nt!==null&&(vn+="?"+nt),Tr!==null&&(vn+="#"+Tr),vn},setHref:function(Yt){var mt=this.parse(Yt);if(mt)throw new ae(mt);this.searchParams.update()},getOrigin:function(){var Yt=this.scheme,mt=this.port;if(Yt==="blob")try{return new Nr(Yt.path[0]).origin}catch(st){return"null"}return Yt==="file"||!this.isSpecial()?"null":Yt+"://"+Ye(this.host)+(mt!==null?":"+mt:"")},getProtocol:function(){return this.scheme+":"},setProtocol:function(Yt){this.parse(k(Yt)+":",Ct)},getUsername:function(){return this.username},setUsername:function(Yt){var mt=y(k(Yt));if(!this.cannotHaveUsernamePasswordPort()){this.username="";for(var st=0;st<mt.length;st++)this.username+=Me(mt[st],qt)}},getPassword:function(){return this.password},setPassword:function(Yt){var mt=y(k(Yt));if(!this.cannotHaveUsernamePasswordPort()){this.password="";for(var st=0;st<mt.length;st++)this.password+=Me(mt[st],qt)}},getHost:function(){var Yt=this.host,mt=this.port;return Yt===null?"":mt===null?Ye(Yt):Ye(Yt)+":"+mt},setHost:function(Yt){this.cannotBeABaseURL||this.parse(Yt,Ce)},getHostname:function(){var Yt=this.host;return Yt===null?"":Ye(Yt)},setHostname:function(Yt){this.cannotBeABaseURL||this.parse(Yt,St)},getPort:function(){var Yt=this.port;return Yt===null?"":k(Yt)},setPort:function(Yt){this.cannotHaveUsernamePasswordPort()||(Yt=k(Yt),Yt===""?this.port=null:this.parse(Yt,ye))},getPathname:function(){var Yt=this.path;return this.cannotBeABaseURL?Yt[0]:Yt.length?"/"+se(Yt,"/"):""},setPathname:function(Yt){this.cannotBeABaseURL||(this.path=[],this.parse(Yt,Be))},getSearch:function(){var Yt=this.query;return Yt?"?"+Yt:""},setSearch:function(Yt){Yt=k(Yt),Yt===""?this.query=null:(q(Yt,0)==="?"&&(Yt=_e(Yt,1)),this.query="",this.parse(Yt,Xr)),this.searchParams.update()},getSearchParams:function(){return this.searchParams.facade},getHash:function(){var Yt=this.fragment;return Yt?"#"+Yt:""},setHash:function(Yt){if(Yt=k(Yt),Yt===""){this.fragment=null;return}q(Yt,0)==="#"&&(Yt=_e(Yt,1)),this.fragment="",this.parse(Yt,en)},update:function(){this.query=this.searchParams.serialize()||null}};var Nr=function(mt){var st=a(this,mr),lt=A(arguments.length,1)>1?arguments[1]:void 0,Nt=B(st,new Lr(mt,!1,lt));i||(st.href=Nt.serialize(),st.origin=Nt.getOrigin(),st.protocol=Nt.getProtocol(),st.username=Nt.getUsername(),st.password=Nt.getPassword(),st.host=Nt.getHost(),st.hostname=Nt.getHostname(),st.port=Nt.getPort(),st.pathname=Nt.getPathname(),st.search=Nt.getSearch(),st.searchParams=Nt.getSearchParams(),st.hash=Nt.getHash())},mr=Nr.prototype,Zr=function(Yt,mt){return{get:function(){return N(this)[Yt]()},set:mt&&function(st){return N(this)[mt](st)},configurable:!0,enumerable:!0}};if(i&&(u(mr,"href",Zr("serialize","setHref")),u(mr,"origin",Zr("getOrigin")),u(mr,"protocol",Zr("getProtocol","setProtocol")),u(mr,"username",Zr("getUsername","setUsername")),u(mr,"password",Zr("getPassword","setPassword")),u(mr,"host",Zr("getHost","setHost")),u(mr,"hostname",Zr("getHostname","setHostname")),u(mr,"port",Zr("getPort","setPort")),u(mr,"pathname",Zr("getPathname","setPathname")),u(mr,"search",Zr("getSearch","setSearch")),u(mr,"searchParams",Zr("getSearchParams")),u(mr,"hash",Zr("getHash","setHash"))),h(mr,"toJSON",function(){return N(this).serialize()},{enumerable:!0}),h(mr,"toString",function(){return N(this).serialize()},{enumerable:!0}),H){var on=H.createObjectURL,_n=H.revokeObjectURL;on&&h(Nr,"createObjectURL",f(on,H)),_n&&h(Nr,"revokeObjectURL",f(_n,H))}R(Nr,"URL"),r({global:!0,constructor:!0,forced:!l,sham:!i},{URL:Nr})},25204:function(d,v,e){"use strict";e(13588)},47803:function(d,v,e){"use strict";var r=e(94488),i=e(89945);r({target:"URL",proto:!0,enumerable:!0},{toJSON:function(){return i(URL.prototype.toString,this)}})},73825:function(d,v,e){"use strict";e.d(v,{Z:function(){return r}});function r(i){if(Array.isArray(i))return i}},65873:function(d,v,e){"use strict";e.d(v,{Z:function(){return i}});var r=e(89878);function i(l,c,f){return c=(0,r.Z)(c),c in l?Object.defineProperty(l,c,{value:f,enumerable:!0,configurable:!0,writable:!0}):l[c]=f,l}},38329:function(d,v,e){"use strict";e.d(v,{Z:function(){return r}});function r(){return r=Object.assign?Object.assign.bind():function(i){for(var l=1;l<arguments.length;l++){var c=arguments[l];for(var f in c)Object.prototype.hasOwnProperty.call(c,f)&&(i[f]=c[f])}return i},r.apply(this,arguments)}},66160:function(d,v,e){"use strict";e.d(v,{Z:function(){return r}});function r(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}},63579:function(d,v,e){"use strict";e.d(v,{Z:function(){return l}});var r=e(65873);function i(c,f){var o=Object.keys(c);if(Object.getOwnPropertySymbols){var h=Object.getOwnPropertySymbols(c);f&&(h=h.filter(function(u){return Object.getOwnPropertyDescriptor(c,u).enumerable})),o.push.apply(o,h)}return o}function l(c){for(var f=1;f<arguments.length;f++){var o=arguments[f]!=null?arguments[f]:{};f%2?i(Object(o),!0).forEach(function(h){(0,r.Z)(c,h,o[h])}):Object.getOwnPropertyDescriptors?Object.defineProperties(c,Object.getOwnPropertyDescriptors(o)):i(Object(o)).forEach(function(h){Object.defineProperty(c,h,Object.getOwnPropertyDescriptor(o,h))})}return c}},38127:function(d,v,e){"use strict";e.d(v,{Z:function(){return i}});function r(l,c){if(l==null)return{};var f={},o=Object.keys(l),h,u;for(u=0;u<o.length;u++)h=o[u],!(c.indexOf(h)>=0)&&(f[h]=l[h]);return f}function i(l,c){if(l==null)return{};var f=r(l,c),o,h;if(Object.getOwnPropertySymbols){var u=Object.getOwnPropertySymbols(l);for(h=0;h<u.length;h++)o=u[h],!(c.indexOf(o)>=0)&&Object.prototype.propertyIsEnumerable.call(l,o)&&(f[o]=l[o])}return f}},87296:function(d,v,e){"use strict";e.d(v,{Z:function(){return f}});var r=e(73825);function i(o,h){var u=o==null?null:typeof Symbol!="undefined"&&o[Symbol.iterator]||o["@@iterator"];if(u!=null){var a,x,p,y,_=[],b=!0,S=!1;try{if(p=(u=u.call(o)).next,h===0){if(Object(u)!==u)return;b=!1}else for(;!(b=(a=p.call(u)).done)&&(_.push(a.value),_.length!==h);b=!0);}catch(k){S=!0,x=k}finally{try{if(!b&&u.return!=null&&(y=u.return(),Object(y)!==y))return}finally{if(S)throw x}}return _}}var l=e(99227),c=e(66160);function f(o,h){return(0,r.Z)(o)||i(o,h)||(0,l.Z)(o,h)||(0,c.Z)()}},89878:function(d,v,e){"use strict";e.d(v,{Z:function(){return l}});var r=e(8616);function i(c,f){if((0,r.Z)(c)!="object"||!c)return c;var o=c[Symbol.toPrimitive];if(o!==void 0){var h=o.call(c,f||"default");if((0,r.Z)(h)!="object")return h;throw new TypeError("@@toPrimitive must return a primitive value.")}return(f==="string"?String:Number)(c)}function l(c){var f=i(c,"string");return(0,r.Z)(f)=="symbol"?f:String(f)}},8616:function(d,v,e){"use strict";e.d(v,{Z:function(){return r}});function r(i){"@babel/helpers - typeof";return r=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(l){return typeof l}:function(l){return l&&typeof Symbol=="function"&&l.constructor===Symbol&&l!==Symbol.prototype?"symbol":typeof l},r(i)}},99227:function(d,v,e){"use strict";e.d(v,{Z:function(){return i}});function r(l,c){(c==null||c>l.length)&&(c=l.length);for(var f=0,o=new Array(c);f<c;f++)o[f]=l[f];return o}function i(l,c){if(l){if(typeof l=="string")return r(l,c);var f=Object.prototype.toString.call(l).slice(8,-1);if(f==="Object"&&l.constructor&&(f=l.constructor.name),f==="Map"||f==="Set")return Array.from(l);if(f==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(f))return r(l,c)}}},97047: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}},42028:function(d,v,e){"use strict";e.d(v,{Z:function(){return r}});function r(i){if(Array.isArray(i))return i}},31226: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}},3202: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)})}}},67732: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")}},83652:function(d,v,e){"use strict";e.d(v,{Z:function(){return l}});var r=e(88058);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}},158:function(d,v,e){"use strict";e.d(v,{Z:function(){return c}});var r=e(58289),i=e(75538),l=e(85458);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)}}},20068:function(d,v,e){"use strict";e.d(v,{Z:function(){return i}});var r=e(88058);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}},54476: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)}},58289: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)}},42403:function(d,v,e){"use strict";e.d(v,{Z:function(){return i}});var r=e(18773);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)}},75538: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})()}},7553: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)}},23317: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.`)}},75682:function(d,v,e){"use strict";e.d(v,{Z:function(){return i}});var r=e(20068);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}},33885:function(d,v,e){"use strict";e.d(v,{Z:function(){return l}});var r=e(20068);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}},75931:function(d,v,e){"use strict";e.d(v,{Z:function(){return i}});var r=e(85377);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}},85377: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}},85458:function(d,v,e){"use strict";e.d(v,{Z:function(){return l}});var r=e(76190),i=e(31226);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)}},75044:function(d,v,e){"use strict";e.d(v,{Z:function(){return x}});function r(p,y){this.v=p,this.k=y}function i(p,y,_,b){var S=Object.defineProperty;try{S({},"",{})}catch(k){S=0}i=function(R,A,I,M){function B(N,V){i(R,N,function(W){return this._invoke(N,V,W)})}A?S?S(R,A,{value:I,enumerable:!M,configurable:!M,writable:!M}):R[A]=I:(B("next",0),B("throw",1),B("return",2))},i(p,y,_,b)}function l(){var p,y,_=typeof Symbol=="function"?Symbol:{},b=_.iterator||"@@iterator",S=_.toStringTag||"@@toStringTag";function k(W,H,ae,ne){var oe=H&&H.prototype instanceof A?H:A,J=Object.create(oe.prototype);return i(J,"_invoke",function(q,K,se){var ee,Q,le,z=0,$=se||[],ie=!1,_e={p:0,n:0,v:p,a:Ae,f:Ae.bind(p,4),d:function(We,$e){return ee=We,Q=0,le=p,_e.n=$e,R}};function Ae(Pe,We){for(Q=Pe,le=We,y=0;!ie&&z&&!$e&&y<$.length;y++){var $e,Lt=$[y],bt=_e.p,kt=Lt[2];Pe>3?($e=kt===We)&&(le=Lt[(Q=Lt[4])?5:(Q=3,3)],Lt[4]=Lt[5]=p):Lt[0]<=bt&&(($e=Pe<2&&bt<Lt[1])?(Q=0,_e.v=We,_e.n=Lt[1]):bt<kt&&($e=Pe<3||Lt[0]>We||We>kt)&&(Lt[4]=Pe,Lt[5]=We,_e.n=kt,Q=0))}if($e||Pe>1)return R;throw ie=!0,We}return function(Pe,We,$e){if(z>1)throw TypeError("Generator is already running");for(ie&&We===1&&Ae(We,$e),Q=We,le=$e;(y=Q<2?p:le)||!ie;){ee||(Q?Q<3?(Q>1&&(_e.n=-1),Ae(Q,le)):_e.n=le:_e.v=le);try{if(z=2,ee){if(Q||(Pe="next"),y=ee[Pe]){if(!(y=y.call(ee,le)))throw TypeError("iterator result is not an object");if(!y.done)return y;le=y.value,Q<2&&(Q=0)}else Q===1&&(y=ee.return)&&y.call(ee),Q<2&&(le=TypeError("The iterator does not provide a '"+Pe+"' method"),Q=1);ee=p}else if((y=(ie=_e.n<0)?le:q.call(K,_e))!==R)break}catch(Lt){ee=p,Q=1,le=Lt}finally{z=1}}return{value:y,done:ie}}}(W,ae,ne),!0),J}var R={};function A(){}function I(){}function M(){}y=Object.getPrototypeOf;var B=[][b]?y(y([][b]())):(i(y={},b,function(){return this}),y),N=M.prototype=A.prototype=Object.create(B);function V(W){return Object.setPrototypeOf?Object.setPrototypeOf(W,M):(W.__proto__=M,i(W,S,"GeneratorFunction")),W.prototype=Object.create(N),W}return I.prototype=M,i(N,"constructor",M),i(M,"constructor",I),I.displayName="GeneratorFunction",i(M,S,"GeneratorFunction"),i(N),i(N,S,"Generator"),i(N,b,function(){return this}),i(N,"toString",function(){return"[object Generator]"}),(l=function(){return{w:k,m:V}})()}function c(p,y){function _(S,k,R,A){try{var I=p[S](k),M=I.value;return M instanceof r?y.resolve(M.v).then(function(B){_("next",B,R,A)},function(B){_("throw",B,R,A)}):y.resolve(M).then(function(B){I.value=B,R(I)},function(B){return _("throw",B,R,A)})}catch(B){A(B)}}var b;this.next||(i(c.prototype),i(c.prototype,typeof Symbol=="function"&&Symbol.asyncIterator||"@asyncIterator",function(){return this})),i(this,"_invoke",function(S,k,R){function A(){return new y(function(I,M){_(S,R,I,M)})}return b=b?b.then(A,A):A()},!0)}function f(p,y,_,b,S){return new c(l().w(p,y,_,b),S||Promise)}function o(p,y,_,b,S){var k=f(p,y,_,b,S);return k.next().then(function(R){return R.done?R.value:k.next()})}function h(p){var y=Object(p),_=[];for(var b in y)_.unshift(b);return function S(){for(;_.length;)if((b=_.pop())in y)return S.value=b,S.done=!1,S;return S.done=!0,S}}var u=e(76190);function a(p){if(p!=null){var y=p[typeof Symbol=="function"&&Symbol.iterator||"@@iterator"],_=0;if(y)return y.call(p);if(typeof p.next=="function")return p;if(!isNaN(p.length))return{next:function(){return p&&_>=p.length&&(p=void 0),{value:p&&p[_++],done:!p}}}}throw new TypeError((0,u.Z)(p)+" is not iterable")}function x(){"use strict";var p=l(),y=p.m(x),_=(Object.getPrototypeOf?Object.getPrototypeOf(y):y.__proto__).constructor;function b(R){var A=typeof R=="function"&&R.constructor;return!!A&&(A===_||(A.displayName||A.name)==="GeneratorFunction")}var S={throw:1,return:2,break:3,continue:3};function k(R){var A,I;return function(M){A||(A={stop:function(){return I(M.a,2)},catch:function(){return M.v},abrupt:function(N,V){return I(M.a,S[N],V)},delegateYield:function(N,V,W){return A.resultName=V,I(M.d,a(N),W)},finish:function(N){return I(M.f,N)}},I=function(N,V,W){M.p=A.prev,M.n=A.next;try{return N(V,W)}finally{A.next=M.n}}),A.resultName&&(A[A.resultName]=M.v,A.resultName=void 0),A.sent=M.v,A.next=M.n;try{return R.call(this,A)}finally{M.p=A.prev,M.n=A.next}}}return(x=function(){return{wrap:function(I,M,B,N){return p.w(k(I),M,B,N&&N.reverse())},isGeneratorFunction:b,mark:p.m,awrap:function(I,M){return new r(I,M)},AsyncIterator:c,async:function(I,M,B,N,V){return(b(M)?f:o)(k(I),M,B,N,V)},keys:h,values:a}})()}},18773: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)}},42978:function(d,v,e){"use strict";e.d(v,{Z:function(){return f}});var r=e(42028);function i(o,h){var u=o==null?null:typeof Symbol!="undefined"&&o[Symbol.iterator]||o["@@iterator"];if(u!=null){var a,x,p,y,_=[],b=!0,S=!1;try{if(p=(u=u.call(o)).next,h===0){if(Object(u)!==u)return;b=!1}else for(;!(b=(a=p.call(u)).done)&&(_.push(a.value),_.length!==h);b=!0);}catch(k){S=!0,x=k}finally{try{if(!b&&u.return!=null&&(y=u.return(),Object(y)!==y))return}finally{if(S)throw x}}return _}}var l=e(3208),c=e(23317);function f(o,h){return(0,r.Z)(o)||i(o,h)||(0,l.Z)(o,h)||(0,c.Z)()}},66712:function(d,v,e){"use strict";e.d(v,{Z:function(){return f}});var r=e(42028),i=e(7553),l=e(3208),c=e(23317);function f(o){return(0,r.Z)(o)||(0,i.Z)(o)||(0,l.Z)(o)||(0,c.Z)()}},94480:function(d,v,e){"use strict";e.d(v,{Z:function(){return o}});var r=e(97047);function i(h){if(Array.isArray(h))return(0,r.Z)(h)}var l=e(7553),c=e(3208);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()}},88058:function(d,v,e){"use strict";e.d(v,{Z:function(){return l}});var r=e(76190);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+""}},76190: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)}},3208:function(d,v,e){"use strict";e.d(v,{Z:function(){return i}});var r=e(97047);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}}},17030:function(d,v,e){"use strict";e.d(v,{ZP:function(){return If}});const r=Number.isFinite||function(O){return typeof O=="number"&&isFinite(O)},i=Number.isSafeInteger||function(O){return typeof O=="number"&&Math.abs(O)<=l},l=Number.MAX_SAFE_INTEGER||9007199254740991;let c=function(O){return O.NETWORK_ERROR="networkError",O.MEDIA_ERROR="mediaError",O.KEY_SYSTEM_ERROR="keySystemError",O.MUX_ERROR="muxError",O.OTHER_ERROR="otherError",O}({}),f=function(O){return O.KEY_SYSTEM_NO_KEYS="keySystemNoKeys",O.KEY_SYSTEM_NO_ACCESS="keySystemNoAccess",O.KEY_SYSTEM_NO_SESSION="keySystemNoSession",O.KEY_SYSTEM_NO_CONFIGURED_LICENSE="keySystemNoConfiguredLicense",O.KEY_SYSTEM_LICENSE_REQUEST_FAILED="keySystemLicenseRequestFailed",O.KEY_SYSTEM_SERVER_CERTIFICATE_REQUEST_FAILED="keySystemServerCertificateRequestFailed",O.KEY_SYSTEM_SERVER_CERTIFICATE_UPDATE_FAILED="keySystemServerCertificateUpdateFailed",O.KEY_SYSTEM_SESSION_UPDATE_FAILED="keySystemSessionUpdateFailed",O.KEY_SYSTEM_STATUS_OUTPUT_RESTRICTED="keySystemStatusOutputRestricted",O.KEY_SYSTEM_STATUS_INTERNAL_ERROR="keySystemStatusInternalError",O.KEY_SYSTEM_DESTROY_MEDIA_KEYS_ERROR="keySystemDestroyMediaKeysError",O.KEY_SYSTEM_DESTROY_CLOSE_SESSION_ERROR="keySystemDestroyCloseSessionError",O.KEY_SYSTEM_DESTROY_REMOVE_SESSION_ERROR="keySystemDestroyRemoveSessionError",O.MANIFEST_LOAD_ERROR="manifestLoadError",O.MANIFEST_LOAD_TIMEOUT="manifestLoadTimeOut",O.MANIFEST_PARSING_ERROR="manifestParsingError",O.MANIFEST_INCOMPATIBLE_CODECS_ERROR="manifestIncompatibleCodecsError",O.LEVEL_EMPTY_ERROR="levelEmptyError",O.LEVEL_LOAD_ERROR="levelLoadError",O.LEVEL_LOAD_TIMEOUT="levelLoadTimeOut",O.LEVEL_PARSING_ERROR="levelParsingError",O.LEVEL_SWITCH_ERROR="levelSwitchError",O.AUDIO_TRACK_LOAD_ERROR="audioTrackLoadError",O.AUDIO_TRACK_LOAD_TIMEOUT="audioTrackLoadTimeOut",O.SUBTITLE_LOAD_ERROR="subtitleTrackLoadError",O.SUBTITLE_TRACK_LOAD_TIMEOUT="subtitleTrackLoadTimeOut",O.FRAG_LOAD_ERROR="fragLoadError",O.FRAG_LOAD_TIMEOUT="fragLoadTimeOut",O.FRAG_DECRYPT_ERROR="fragDecryptError",O.FRAG_PARSING_ERROR="fragParsingError",O.FRAG_GAP="fragGap",O.REMUX_ALLOC_ERROR="remuxAllocError",O.KEY_LOAD_ERROR="keyLoadError",O.KEY_LOAD_TIMEOUT="keyLoadTimeOut",O.BUFFER_ADD_CODEC_ERROR="bufferAddCodecError",O.BUFFER_INCOMPATIBLE_CODECS_ERROR="bufferIncompatibleCodecsError",O.BUFFER_APPEND_ERROR="bufferAppendError",O.BUFFER_APPENDING_ERROR="bufferAppendingError",O.BUFFER_STALLED_ERROR="bufferStalledError",O.BUFFER_FULL_ERROR="bufferFullError",O.BUFFER_SEEK_OVER_HOLE="bufferSeekOverHole",O.BUFFER_NUDGE_ON_STALL="bufferNudgeOnStall",O.ASSET_LIST_LOAD_ERROR="assetListLoadError",O.ASSET_LIST_LOAD_TIMEOUT="assetListLoadTimeout",O.ASSET_LIST_PARSING_ERROR="assetListParsingError",O.INTERSTITIAL_ASSET_ITEM_ERROR="interstitialAssetItemError",O.INTERNAL_EXCEPTION="internalException",O.INTERNAL_ABORTED="aborted",O.ATTACH_MEDIA_ERROR="attachMediaError",O.UNKNOWN="unknown",O}({}),o=function(O){return O.MEDIA_ATTACHING="hlsMediaAttaching",O.MEDIA_ATTACHED="hlsMediaAttached",O.MEDIA_DETACHING="hlsMediaDetaching",O.MEDIA_DETACHED="hlsMediaDetached",O.MEDIA_ENDED="hlsMediaEnded",O.STALL_RESOLVED="hlsStallResolved",O.BUFFER_RESET="hlsBufferReset",O.BUFFER_CODECS="hlsBufferCodecs",O.BUFFER_CREATED="hlsBufferCreated",O.BUFFER_APPENDING="hlsBufferAppending",O.BUFFER_APPENDED="hlsBufferAppended",O.BUFFER_EOS="hlsBufferEos",O.BUFFERED_TO_END="hlsBufferedToEnd",O.BUFFER_FLUSHING="hlsBufferFlushing",O.BUFFER_FLUSHED="hlsBufferFlushed",O.MANIFEST_LOADING="hlsManifestLoading",O.MANIFEST_LOADED="hlsManifestLoaded",O.MANIFEST_PARSED="hlsManifestParsed",O.LEVEL_SWITCHING="hlsLevelSwitching",O.LEVEL_SWITCHED="hlsLevelSwitched",O.LEVEL_LOADING="hlsLevelLoading",O.LEVEL_LOADED="hlsLevelLoaded",O.LEVEL_UPDATED="hlsLevelUpdated",O.LEVEL_PTS_UPDATED="hlsLevelPtsUpdated",O.LEVELS_UPDATED="hlsLevelsUpdated",O.AUDIO_TRACKS_UPDATED="hlsAudioTracksUpdated",O.AUDIO_TRACK_SWITCHING="hlsAudioTrackSwitching",O.AUDIO_TRACK_SWITCHED="hlsAudioTrackSwitched",O.AUDIO_TRACK_LOADING="hlsAudioTrackLoading",O.AUDIO_TRACK_LOADED="hlsAudioTrackLoaded",O.AUDIO_TRACK_UPDATED="hlsAudioTrackUpdated",O.SUBTITLE_TRACKS_UPDATED="hlsSubtitleTracksUpdated",O.SUBTITLE_TRACKS_CLEARED="hlsSubtitleTracksCleared",O.SUBTITLE_TRACK_SWITCH="hlsSubtitleTrackSwitch",O.SUBTITLE_TRACK_LOADING="hlsSubtitleTrackLoading",O.SUBTITLE_TRACK_LOADED="hlsSubtitleTrackLoaded",O.SUBTITLE_TRACK_UPDATED="hlsSubtitleTrackUpdated",O.SUBTITLE_FRAG_PROCESSED="hlsSubtitleFragProcessed",O.CUES_PARSED="hlsCuesParsed",O.NON_NATIVE_TEXT_TRACKS_FOUND="hlsNonNativeTextTracksFound",O.INIT_PTS_FOUND="hlsInitPtsFound",O.FRAG_LOADING="hlsFragLoading",O.FRAG_LOAD_EMERGENCY_ABORTED="hlsFragLoadEmergencyAborted",O.FRAG_LOADED="hlsFragLoaded",O.FRAG_DECRYPTED="hlsFragDecrypted",O.FRAG_PARSING_INIT_SEGMENT="hlsFragParsingInitSegment",O.FRAG_PARSING_USERDATA="hlsFragParsingUserdata",O.FRAG_PARSING_METADATA="hlsFragParsingMetadata",O.FRAG_PARSED="hlsFragParsed",O.FRAG_BUFFERED="hlsFragBuffered",O.FRAG_CHANGED="hlsFragChanged",O.FPS_DROP="hlsFpsDrop",O.FPS_DROP_LEVEL_CAPPING="hlsFpsDropLevelCapping",O.MAX_AUTO_LEVEL_UPDATED="hlsMaxAutoLevelUpdated",O.ERROR="hlsError",O.DESTROYING="hlsDestroying",O.KEY_LOADING="hlsKeyLoading",O.KEY_LOADED="hlsKeyLoaded",O.LIVE_BACK_BUFFER_REACHED="hlsLiveBackBufferReached",O.BACK_BUFFER_REACHED="hlsBackBufferReached",O.STEERING_MANIFEST_LOADED="hlsSteeringManifestLoaded",O.ASSET_LIST_LOADING="hlsAssetListLoading",O.ASSET_LIST_LOADED="hlsAssetListLoaded",O.INTERSTITIALS_UPDATED="hlsInterstitialsUpdated",O.INTERSTITIALS_BUFFERED_TO_BOUNDARY="hlsInterstitialsBufferedToBoundary",O.INTERSTITIAL_ASSET_PLAYER_CREATED="hlsInterstitialAssetPlayerCreated",O.INTERSTITIAL_STARTED="hlsInterstitialStarted",O.INTERSTITIAL_ASSET_STARTED="hlsInterstitialAssetStarted",O.INTERSTITIAL_ASSET_ENDED="hlsInterstitialAssetEnded",O.INTERSTITIAL_ASSET_ERROR="hlsInterstitialAssetError",O.INTERSTITIAL_ENDED="hlsInterstitialEnded",O.INTERSTITIALS_PRIMARY_RESUMED="hlsInterstitialsPrimaryResumed",O.PLAYOUT_LIMIT_REACHED="hlsPlayoutLimitReached",O.EVENT_CUE_ENTER="hlsEventCueEnter",O}({});var h={MANIFEST:"manifest",LEVEL:"level",AUDIO_TRACK:"audioTrack",SUBTITLE_TRACK:"subtitleTrack"},u={MAIN:"main",AUDIO:"audio",SUBTITLE:"subtitle"};class a{constructor(t,n=0,s=0){this.halfLife=void 0,this.alpha_=void 0,this.estimate_=void 0,this.totalWeight_=void 0,this.halfLife=t,this.alpha_=t?Math.exp(Math.log(.5)/t):0,this.estimate_=n,this.totalWeight_=s}sample(t,n){const s=Math.pow(this.alpha_,t);this.estimate_=n*(1-s)+s*this.estimate_,this.totalWeight_+=t}getTotalWeight(){return this.totalWeight_}getEstimate(){if(this.alpha_){const t=1-Math.pow(this.alpha_,this.totalWeight_);if(t)return this.estimate_/t}return this.estimate_}}class x{constructor(t,n,s,m=100){this.defaultEstimate_=void 0,this.minWeight_=void 0,this.minDelayMs_=void 0,this.slow_=void 0,this.fast_=void 0,this.defaultTTFB_=void 0,this.ttfb_=void 0,this.defaultEstimate_=s,this.minWeight_=.001,this.minDelayMs_=50,this.slow_=new a(t),this.fast_=new a(n),this.defaultTTFB_=m,this.ttfb_=new a(t)}update(t,n){const{slow_:s,fast_:m,ttfb_:E}=this;s.halfLife!==t&&(this.slow_=new a(t,s.getEstimate(),s.getTotalWeight())),m.halfLife!==n&&(this.fast_=new a(n,m.getEstimate(),m.getTotalWeight())),E.halfLife!==t&&(this.ttfb_=new a(t,E.getEstimate(),E.getTotalWeight()))}sample(t,n){t=Math.max(t,this.minDelayMs_);const s=8*n,m=t/1e3,E=s/m;this.fast_.sample(m,E),this.slow_.sample(m,E)}sampleTTFB(t){const n=t/1e3,s=Math.sqrt(2)*Math.exp(-Math.pow(n,2)/2);this.ttfb_.sample(s,Math.max(t,5))}canEstimate(){return this.fast_.getTotalWeight()>=this.minWeight_}getEstimate(){return this.canEstimate()?Math.min(this.fast_.getEstimate(),this.slow_.getEstimate()):this.defaultEstimate_}getEstimateTTFB(){return this.ttfb_.getTotalWeight()>=this.minWeight_?this.ttfb_.getEstimate():this.defaultTTFB_}get defaultEstimate(){return this.defaultEstimate_}destroy(){}}function p(O,t,n){return(t=k(t))in O?Object.defineProperty(O,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):O[t]=n,O}function y(){return y=Object.assign?Object.assign.bind():function(O){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var s in n)({}).hasOwnProperty.call(n,s)&&(O[s]=n[s])}return O},y.apply(null,arguments)}function _(O,t){var n=Object.keys(O);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(O);t&&(s=s.filter(function(m){return Object.getOwnPropertyDescriptor(O,m).enumerable})),n.push.apply(n,s)}return n}function b(O){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?_(Object(n),!0).forEach(function(s){p(O,s,n[s])}):Object.getOwnPropertyDescriptors?Object.defineProperties(O,Object.getOwnPropertyDescriptors(n)):_(Object(n)).forEach(function(s){Object.defineProperty(O,s,Object.getOwnPropertyDescriptor(n,s))})}return O}function S(O,t){if(typeof O!="object"||!O)return O;var n=O[Symbol.toPrimitive];if(n!==void 0){var s=n.call(O,t);if(typeof s!="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(O)}function k(O){var t=S(O,"string");return typeof t=="symbol"?t:t+""}class R{constructor(t,n){this.trace=void 0,this.debug=void 0,this.log=void 0,this.warn=void 0,this.info=void 0,this.error=void 0;const s=`[${t}]:`;this.trace=A,this.debug=n.debug.bind(null,s),this.log=n.log.bind(null,s),this.warn=n.warn.bind(null,s),this.info=n.info.bind(null,s),this.error=n.error.bind(null,s)}}const A=function(){},I={trace:A,debug:A,log:A,warn:A,info:A,error:A};function M(){return y({},I)}function B(O,t){const n=self.console[O];return n?n.bind(self.console,`${t?"["+t+"] ":""}[${O}] >`):A}function N(O,t,n){return t[O]?t[O].bind(t):B(O,n)}const V=M();function W(O,t,n){const s=M();if(typeof console=="object"&&O===!0||typeof O=="object"){const m=["debug","log","info","warn","error"];m.forEach(E=>{s[E]=N(E,O,n)});try{s.log(`Debug logs enabled for "${t}" in hls.js version 1.6.14`)}catch(E){return M()}m.forEach(E=>{V[E]=N(E,O)})}else y(V,s);return s}const H=V;function ae(O=!0){return typeof self=="undefined"?void 0:(O||!self.MediaSource)&&self.ManagedMediaSource||self.MediaSource||self.WebKitMediaSource}function ne(O){return typeof self!="undefined"&&O===self.ManagedMediaSource}function oe(O,t){const n=Object.keys(O),s=Object.keys(t),m=n.length,E=s.length;return!m||!E||m===E&&!n.some(C=>s.indexOf(C)===-1)}function J(O,t=!1){if(typeof TextDecoder!="undefined"){const G=new TextDecoder("utf-8").decode(O);if(t){const ue=G.indexOf("\0");return ue!==-1?G.substring(0,ue):G}return G.replace(/\0/g,"")}const n=O.length;let s,m,E,C="",j=0;for(;j<n;){if(s=O[j++],s===0&&t)return C;if(s===0||s===3)continue;switch(s>>4){case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7:C+=String.fromCharCode(s);break;case 12:case 13:m=O[j++],C+=String.fromCharCode((s&31)<<6|m&63);break;case 14:m=O[j++],E=O[j++],C+=String.fromCharCode((s&15)<<12|(m&63)<<6|(E&63)<<0);break}}return C}function q(O){let t="";for(let n=0;n<O.length;n++){let s=O[n].toString(16);s.length<2&&(s="0"+s),t+=s}return t}function K(O){return Uint8Array.from(O.replace(/^0x/,"").replace(/([\da-fA-F]{2}) ?/g,"0x$1 ").replace(/ +$/,"").split(" ")).buffer}function se(O){return O&&O.__esModule&&Object.prototype.hasOwnProperty.call(O,"default")?O.default:O}var ee={exports:{}},Q;function le(){return Q||(Q=1,function(O,t){(function(n){var s=/^(?=((?:[a-zA-Z0-9+\-.]+:)?))\1(?=((?:\/\/[^\/?#]*)?))\2(?=((?:(?:[^?#\/]*\/)*[^;?#\/]*)?))\3((?:;[^?#]*)?)(\?[^#]*)?(#[^]*)?$/,m=/^(?=([^\/?#]*))\1([^]*)$/,E=/(?:\/|^)\.(?=\/)/g,C=/(?:\/|^)\.\.\/(?!\.\.\/)[^\/]*(?=\/)/g,j={buildAbsoluteURL:function(X,G,ue){if(ue=ue||{},X=X.trim(),G=G.trim(),!G){if(!ue.alwaysNormalize)return X;var de=j.parseURL(X);if(!de)throw new Error("Error trying to parse base URL.");return de.path=j.normalizePath(de.path),j.buildURLFromParts(de)}var Ee=j.parseURL(G);if(!Ee)throw new Error("Error trying to parse relative URL.");if(Ee.scheme)return ue.alwaysNormalize?(Ee.path=j.normalizePath(Ee.path),j.buildURLFromParts(Ee)):G;var Re=j.parseURL(X);if(!Re)throw new Error("Error trying to parse base URL.");if(!Re.netLoc&&Re.path&&Re.path[0]!=="/"){var Le=m.exec(Re.path);Re.netLoc=Le[1],Re.path=Le[2]}Re.netLoc&&!Re.path&&(Re.path="/");var ut={scheme:Re.scheme,netLoc:Ee.netLoc,path:null,params:Ee.params,query:Ee.query,fragment:Ee.fragment};if(!Ee.netLoc&&(ut.netLoc=Re.netLoc,Ee.path[0]!=="/"))if(!Ee.path)ut.path=Re.path,Ee.params||(ut.params=Re.params,Ee.query||(ut.query=Re.query));else{var ot=Re.path,Kt=ot.substring(0,ot.lastIndexOf("/")+1)+Ee.path;ut.path=j.normalizePath(Kt)}return ut.path===null&&(ut.path=ue.alwaysNormalize?j.normalizePath(Ee.path):Ee.path),j.buildURLFromParts(ut)},parseURL:function(X){var G=s.exec(X);return G?{scheme:G[1]||"",netLoc:G[2]||"",path:G[3]||"",params:G[4]||"",query:G[5]||"",fragment:G[6]||""}:null},normalizePath:function(X){for(X=X.split("").reverse().join("").replace(E,"");X.length!==(X=X.replace(C,"")).length;);return X.split("").reverse().join("")},buildURLFromParts:function(X){return X.scheme+X.netLoc+X.path+X.params+X.query+X.fragment}};O.exports=j})()}(ee)),ee.exports}var z=le();class ${constructor(){this.aborted=!1,this.loaded=0,this.retry=0,this.total=0,this.chunkCount=0,this.bwEstimate=0,this.loading={start:0,first:0,end:0},this.parsing={start:0,end:0},this.buffering={start:0,first:0,end:0}}}var ie={AUDIO:"audio",VIDEO:"video",AUDIOVIDEO:"audiovideo"};class _e{constructor(t){this._byteRange=null,this._url=null,this._stats=null,this._streams=null,this.base=void 0,this.relurl=void 0,typeof t=="string"&&(t={url:t}),this.base=t,Lt(this,"stats")}setByteRange(t,n){const s=t.split("@",2);let m;s.length===1?m=(n==null?void 0:n.byteRangeEndOffset)||0:m=parseInt(s[1]),this._byteRange=[m,parseInt(s[0])+m]}get baseurl(){return this.base.url}get byteRange(){return this._byteRange===null?[]:this._byteRange}get byteRangeStartOffset(){return this.byteRange[0]}get byteRangeEndOffset(){return this.byteRange[1]}get elementaryStreams(){return this._streams===null&&(this._streams={[ie.AUDIO]:null,[ie.VIDEO]:null,[ie.AUDIOVIDEO]:null}),this._streams}set elementaryStreams(t){this._streams=t}get hasStats(){return this._stats!==null}get hasStreams(){return this._streams!==null}get stats(){return this._stats===null&&(this._stats=new $),this._stats}set stats(t){this._stats=t}get url(){return!this._url&&this.baseurl&&this.relurl&&(this._url=z.buildAbsoluteURL(this.baseurl,this.relurl,{alwaysNormalize:!0})),this._url||""}set url(t){this._url=t}clearElementaryStreamInfo(){const{elementaryStreams:t}=this;t[ie.AUDIO]=null,t[ie.VIDEO]=null,t[ie.AUDIOVIDEO]=null}}function Ae(O){return O.sn!=="initSegment"}class Pe extends _e{constructor(t,n){super(n),this._decryptdata=null,this._programDateTime=null,this._ref=null,this._bitrate=void 0,this.rawProgramDateTime=null,this.tagList=[],this.duration=0,this.sn=0,this.levelkeys=void 0,this.type=void 0,this.loader=null,this.keyLoader=null,this.level=-1,this.cc=0,this.startPTS=void 0,this.endPTS=void 0,this.startDTS=void 0,this.endDTS=void 0,this.start=0,this.playlistOffset=0,this.deltaPTS=void 0,this.maxStartPTS=void 0,this.minEndPTS=void 0,this.data=void 0,this.bitrateTest=!1,this.title=null,this.initSegment=null,this.endList=void 0,this.gap=void 0,this.urlId=0,this.type=t}get byteLength(){if(this.hasStats){const t=this.stats.total;if(t)return t}if(this.byteRange.length){const t=this.byteRange[0],n=this.byteRange[1];if(r(t)&&r(n))return n-t}return null}get bitrate(){return this.byteLength?this.byteLength*8/this.duration:this._bitrate?this._bitrate:null}set bitrate(t){this._bitrate=t}get decryptdata(){var t;const{levelkeys:n}=this;if(!n||n.NONE)return null;if(n.identity)this._decryptdata||(this._decryptdata=n.identity.getDecryptData(this.sn));else if(!((t=this._decryptdata)!=null&&t.keyId)){const s=Object.keys(n);if(s.length===1){const m=this._decryptdata=n[s[0]]||null;m&&(this._decryptdata=m.getDecryptData(this.sn,n))}}return this._decryptdata}get end(){return this.start+this.duration}get endProgramDateTime(){if(this.programDateTime===null)return null;const t=r(this.duration)?this.duration:0;return this.programDateTime+t*1e3}get encrypted(){var t;if((t=this._decryptdata)!=null&&t.encrypted)return!0;if(this.levelkeys){var n;const s=Object.keys(this.levelkeys),m=s.length;if(m>1||m===1&&(n=this.levelkeys[s[0]])!=null&&n.encrypted)return!0}return!1}get programDateTime(){return this._programDateTime===null&&this.rawProgramDateTime&&(this.programDateTime=Date.parse(this.rawProgramDateTime)),this._programDateTime}set programDateTime(t){if(!r(t)){this._programDateTime=this.rawProgramDateTime=null;return}this._programDateTime=t}get ref(){return Ae(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){const n=this.levelkeys;if(n){var s;const m=n[t];m&&!((s=this._decryptdata)!=null&&s.keyId)&&(this._decryptdata=m.getDecryptData(this.sn,n))}}abortRequests(){var t,n;(t=this.loader)==null||t.abort(),(n=this.keyLoader)==null||n.abort()}setElementaryStreamInfo(t,n,s,m,E,C=!1){const{elementaryStreams:j}=this,X=j[t];if(!X){j[t]={startPTS:n,endPTS:s,startDTS:m,endDTS:E,partial:C};return}X.startPTS=Math.min(X.startPTS,n),X.endPTS=Math.max(X.endPTS,s),X.startDTS=Math.min(X.startDTS,m),X.endDTS=Math.max(X.endDTS,E)}}class We 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 C=t.enumeratedString("BYTERANGE");C&&this.setByteRange(C,E),E&&(this.fragOffset=E.fragOffset+E.duration)}get start(){return this.fragment.start+this.fragOffset}get end(){return this.start+this.duration}get loaded(){const{elementaryStreams:t}=this;return!!(t.audio||t.video||t.audiovideo)}}function $e(O,t){const n=Object.getPrototypeOf(O);if(n){const s=Object.getOwnPropertyDescriptor(n,t);return s||$e(n,t)}}function Lt(O,t){const n=$e(O,t);n&&(n.enumerable=!0,Object.defineProperty(O,t,n))}const bt=Math.pow(2,32)-1,kt=[].push,Zt={video:1,audio:2,id3:3,text:4};function Mt(O){return String.fromCharCode.apply(null,O)}function tr(O,t){const n=O[t]<<8|O[t+1];return n<0?65536+n:n}function je(O,t){const n=Ft(O,t);return n<0?4294967296+n:n}function wt(O,t){let n=je(O,t);return n*=Math.pow(2,32),n+=je(O,t+4),n}function Ft(O,t){return O[t]<<24|O[t+1]<<16|O[t+2]<<8|O[t+3]}function tt(O){const t=O.byteLength;for(let n=0;n<t;){const s=je(O,n);if(s>8&&O[n+4]===109&&O[n+5]===111&&O[n+6]===111&&O[n+7]===102)return!0;n=s>1?n+s:t}return!1}function gt(O,t){const n=[];if(!t.length)return n;const s=O.byteLength;for(let m=0;m<s;){const E=je(O,m),C=Mt(O.subarray(m+4,m+8)),j=E>1?m+E:s;if(C===t[0])if(t.length===1)n.push(O.subarray(m+8,j));else{const X=gt(O.subarray(m+8,j),t.slice(1));X.length&&kt.apply(n,X)}m=j}return n}function ft(O){const t=[],n=O[0];let s=8;const m=je(O,s);s+=4;let E=0,C=0;n===0?(E=je(O,s),C=je(O,s+4),s+=8):(E=wt(O,s),C=wt(O,s+8),s+=16),s+=2;let j=O.length+C;const X=tr(O,s);s+=2;for(let G=0;G<X;G++){let ue=s;const de=je(O,ue);ue+=4;const Ee=de&2147483647;if((de&2147483648)>>>31===1)return H.warn("SIDX has hierarchical references (not supported)"),null;const Le=je(O,ue);ue+=4,t.push({referenceSize:Ee,subsegmentDuration:Le,info:{duration:Le/m,start:j,end:j+Ee-1}}),j+=Ee,ue+=4,s=ue}return{earliestPresentationTime:E,timescale:m,version:n,referencesCount:X,references:t}}function Qe(O){const t=[],n=gt(O,["moov","trak"]);for(let m=0;m<n.length;m++){const E=n[m],C=gt(E,["tkhd"])[0];if(C){let j=C[0];const X=je(C,j===0?12:20),G=gt(E,["mdia","mdhd"])[0];if(G){j=G[0];const ue=je(G,j===0?12:20),de=gt(E,["mdia","hdlr"])[0];if(de){const Ee=Mt(de.subarray(8,12)),Re={soun:ie.AUDIO,vide:ie.VIDEO}[Ee],Le=gt(E,["mdia","minf","stbl","stsd"])[0],ut=Ne(Le);Re?(t[X]={timescale:ue,type:Re,stsd:ut},t[Re]=b({timescale:ue,id:X},ut)):t[X]={timescale:ue,type:Ee,stsd:ut}}}}}return gt(O,["moov","mvex","trex"]).forEach(m=>{const E=je(m,4),C=t[E];C&&(C.default={duration:je(m,12),flags:je(m,20)})}),t}function Ne(O){const t=O.subarray(8),n=t.subarray(86),s=Mt(t.subarray(4,8));let m=s,E;const C=s==="enca"||s==="encv";if(C){const G=gt(t,[s])[0].subarray(s==="enca"?28:78);gt(G,["sinf"]).forEach(de=>{const Ee=gt(de,["schm"])[0];if(Ee){const Re=Mt(Ee.subarray(4,8));if(Re==="cbcs"||Re==="cenc"){const Le=gt(de,["frma"])[0];Le&&(m=Mt(Le))}}})}const j=m;switch(m){case"avc1":case"avc2":case"avc3":case"avc4":{const X=gt(n,["avcC"])[0];X&&X.length>3&&(m+="."+He(X[1])+He(X[2])+He(X[3]),E=xe(j==="avc1"?"dva1":"dvav",n));break}case"mp4a":{const X=gt(t,[s])[0],G=gt(X.subarray(28),["esds"])[0];if(G&&G.length>7){let ue=4;if(G[ue++]!==3)break;ue=Ge(G,ue),ue+=2;const de=G[ue++];if(de&128&&(ue+=2),de&64&&(ue+=G[ue++]),G[ue++]!==4)break;ue=Ge(G,ue);const Ee=G[ue++];if(Ee===64)m+="."+He(Ee);else break;if(ue+=12,G[ue++]!==5)break;ue=Ge(G,ue);const Re=G[ue++];let Le=(Re&248)>>3;Le===31&&(Le+=1+((Re&7)<<3)+((G[ue]&224)>>5)),m+="."+Le}break}case"hvc1":case"hev1":{const X=gt(n,["hvcC"])[0];if(X&&X.length>12){const G=X[1],ue=["","A","B","C"][G>>6],de=G&31,Ee=je(X,2),Re=(G&32)>>5?"H":"L",Le=X[12],ut=X.subarray(6,12);m+="."+ue+de,m+="."+ke(Ee).toString(16).toUpperCase(),m+="."+Re+Le;let ot="";for(let Kt=ut.length;Kt--;){const er=ut[Kt];(er||ot)&&(ot="."+er.toString(16).toUpperCase()+ot)}m+=ot}E=xe(j=="hev1"?"dvhe":"dvh1",n);break}case"dvh1":case"dvhe":case"dvav":case"dva1":case"dav1":{m=xe(m,n)||m;break}case"vp09":{const X=gt(n,["vpcC"])[0];if(X&&X.length>6){const G=X[4],ue=X[5],de=X[6]>>4&15;m+="."+Ye(G)+"."+Ye(ue)+"."+Ye(de)}break}case"av01":{const X=gt(n,["av1C"])[0];if(X&&X.length>2){const G=X[1]>>>5,ue=X[1]&31,de=X[2]>>>7?"H":"M",Ee=(X[2]&64)>>6,Re=(X[2]&32)>>5,Le=G===2&&Ee?Re?12:10:Ee?10:8,ut=(X[2]&16)>>4,ot=(X[2]&8)>>3,Kt=(X[2]&4)>>2,er=X[2]&3;m+="."+G+"."+Ye(ue)+de+"."+Ye(Le)+"."+ut+"."+ot+Kt+er+"."+Ye(1)+"."+Ye(1)+"."+Ye(1)+"."+0,E=xe("dav1",n)}break}}return{codec:m,encrypted:C,supplemental:E}}function xe(O,t){const n=gt(t,["dvvC"]),s=n.length?n[0]:gt(t,["dvcC"])[0];if(s){const m=s[2]>>1&127,E=s[2]<<5&32|s[3]>>3&31;return O+"."+Ye(m)+"."+Ye(E)}}function ke(O){let t=0;for(let n=0;n<32;n++)t|=(O>>n&1)<<31-n;return t>>>0}function Ge(O,t){const n=t+5;for(;O[t++]&128&&t<n;);return t}function He(O){return("0"+O.toString(16).toUpperCase()).slice(-2)}function Ye(O){return(O<10?"0":"")+O}function dt(O,t){if(!O||!t)return;const n=t.keyId;n&&t.isCommonEncryption&&nr(O,(s,m)=>{const E=s.subarray(8,24);E.some(C=>C!==0)||(H.log(`[eme] Patching keyId in 'enc${m?"a":"v"}>sinf>>tenc' box: ${q(E)} -> ${q(n)}`),s.set(n,8))})}function xt(O){const t=[];return nr(O,n=>t.push(n.subarray(8,24))),t}function nr(O,t){gt(O,["moov","trak"]).forEach(s=>{const m=gt(s,["mdia","minf","stbl","stsd"])[0];if(!m)return;const E=m.subarray(8);let C=gt(E,["enca"]);const j=C.length>0;j||(C=gt(E,["encv"])),C.forEach(X=>{const G=j?X.subarray(28):X.subarray(78);gt(G,["sinf"]).forEach(de=>{const Ee=qt(de);Ee&&t(Ee,j)})})})}function qt(O){const t=gt(O,["schm"])[0];if(t){const n=Mt(t.subarray(4,8));if(n==="cbcs"||n==="cenc"){const s=gt(O,["schi","tenc"])[0];if(s)return s}}}function Me(O,t,n){const s={},m=gt(O,["moof","traf"]);for(let E=0;E<m.length;E++){const C=m[E],j=gt(C,["tfhd"])[0],X=je(j,4),G=t[X];if(!G)continue;s[X]||(s[X]={start:NaN,duration:0,sampleCount:0,timescale:G.timescale,type:G.type});const ue=s[X],de=gt(C,["tfdt"])[0];if(de){const ir=de[0];let Er=je(de,4);ir===1&&(Er===bt?n.warn("[mp4-demuxer]: Ignoring assumed invalid signed 64-bit track fragment decode time"):(Er*=bt+1,Er+=je(de,8))),r(Er)&&(!r(ue.start)||Er<ue.start)&&(ue.start=Er)}const Ee=G.default,Re=je(j,0)|(Ee==null?void 0:Ee.flags);let Le=(Ee==null?void 0:Ee.duration)||0;Re&8&&(Re&2?Le=je(j,12):Le=je(j,8));const ut=gt(C,["trun"]);let ot=ue.start||0,Kt=0,er=Le;for(let ir=0;ir<ut.length;ir++){const Er=ut[ir],jr=je(Er,4),pn=ue.sampleCount;ue.sampleCount+=jr;const Ur=Er[3]&1,sn=Er[3]&4,nn=Er[2]&1,Vr=Er[2]&2,In=Er[2]&4,Ei=Er[2]&8;let Ji=8,va=jr;for(Ur&&(Ji+=4),sn&&jr&&(!(Er[Ji+1]&1)&&ue.keyFrameIndex===void 0&&(ue.keyFrameIndex=pn),Ji+=4,nn?(er=je(Er,Ji),Ji+=4):er=Le,Vr&&(Ji+=4),Ei&&(Ji+=4),ot+=er,Kt+=er,va--);va--;)nn?(er=je(Er,Ji),Ji+=4):er=Le,Vr&&(Ji+=4),In&&(Er[Ji+1]&1||ue.keyFrameIndex===void 0&&(ue.keyFrameIndex=ue.sampleCount-(va+1),ue.keyFrameStart=ot),Ji+=4),Ei&&(Ji+=4),ot+=er,Kt+=er;!Kt&&Le&&(Kt+=Le*jr)}ue.duration+=Kt}if(!Object.keys(s).some(E=>s[E].duration)){let E=1/0,C=0;const j=gt(O,["sidx"]);for(let X=0;X<j.length;X++){const G=ft(j[X]);if(G!=null&&G.references){E=Math.min(E,G.earliestPresentationTime/G.timescale);const ue=G.references.reduce((de,Ee)=>de+Ee.info.duration||0,0);C=Math.max(C,ue+G.earliestPresentationTime/G.timescale)}}C&&r(C)&&Object.keys(s).forEach(X=>{s[X].duration||(s[X].duration=C*s[X].timescale-s[X].start)})}return s}function qe(O){const t={valid:null,remainder:null},n=gt(O,["moof"]);if(n.length<2)return t.remainder=O,t;const s=n[n.length-1];return t.valid=O.slice(0,s.byteOffset-8),t.remainder=O.slice(s.byteOffset-8),t}function Vt(O,t){const n=new Uint8Array(O.length+t.length);return n.set(O),n.set(t,O.length),n}function Rt(O,t){const n=[],s=t.samples,m=t.timescale,E=t.id;let C=!1;return gt(s,["moof"]).map(X=>{const G=X.byteOffset-8;gt(X,["traf"]).map(de=>{const Ee=gt(de,["tfdt"]).map(Re=>{const Le=Re[0];let ut=je(Re,4);return Le===1&&(ut*=Math.pow(2,32),ut+=je(Re,8)),ut/m})[0];return Ee!==void 0&&(O=Ee),gt(de,["tfhd"]).map(Re=>{const Le=je(Re,4),ut=je(Re,0)&16777215,ot=(ut&1)!==0,Kt=(ut&2)!==0,er=(ut&8)!==0;let ir=0;const Er=(ut&16)!==0;let jr=0;const pn=(ut&32)!==0;let Ur=8;Le===E&&(ot&&(Ur+=8),Kt&&(Ur+=4),er&&(ir=je(Re,Ur),Ur+=4),Er&&(jr=je(Re,Ur),Ur+=4),pn&&(Ur+=4),t.type==="video"&&(C=zt(t.codec)),gt(de,["trun"]).map(sn=>{const nn=sn[0],Vr=je(sn,0)&16777215,In=(Vr&1)!==0;let Ei=0;const Ji=(Vr&4)!==0,va=(Vr&256)!==0;let ea=0;const di=(Vr&512)!==0;let sa=0;const ki=(Vr&1024)!==0,ha=(Vr&2048)!==0;let Na=0;const bi=je(sn,4);let xi=8;In&&(Ei=je(sn,xi),xi+=4),Ji&&(xi+=4);let gs=Ei+G;for(let ys=0;ys<bi;ys++){if(va?(ea=je(sn,xi),xi+=4):ea=ir,di?(sa=je(sn,xi),xi+=4):sa=jr,ki&&(xi+=4),ha&&(nn===0?Na=je(sn,xi):Na=Ft(sn,xi),xi+=4),t.type===ie.VIDEO){let Es=0;for(;Es<sa;){const Us=je(s,gs);if(gs+=4,Ht(C,s[gs])){const du=s.subarray(gs,gs+Us);Ct(du,C?2:1,O+Na/m,n)}gs+=Us,Es+=Us+4}}O+=ea/m}}))})})}),n}function zt(O){if(!O)return!1;const t=O.substring(0,4);return t==="hvc1"||t==="hev1"||t==="dvh1"||t==="dvhe"}function Ht(O,t){if(O){const n=t>>1&63;return n===39||n===40}else return(t&31)===6}function Ct(O,t,n,s){const m=Xt(O);let E=0;E+=t;let C=0,j=0,X=0;for(;E<m.length;){C=0;do{if(E>=m.length)break;X=m[E++],C+=X}while(X===255);j=0;do{if(E>=m.length)break;X=m[E++],j+=X}while(X===255);const G=m.length-E;let ue=E;if(j<G)E+=j;else if(j>G){H.error(`Malformed SEI payload. ${j} is too small, only ${G} bytes left to parse.`);break}if(C===4){if(m[ue++]===181){const Ee=tr(m,ue);if(ue+=2,Ee===49){const Re=je(m,ue);if(ue+=4,Re===1195456820){const Le=m[ue++];if(Le===3){const ut=m[ue++],ot=31&ut,Kt=64&ut,er=Kt?2+ot*3:0,ir=new Uint8Array(er);if(Kt){ir[0]=ut;for(let Er=1;Er<er;Er++)ir[Er]=m[ue++]}s.push({type:Le,payloadType:C,pts:n,bytes:ir})}}}}}else if(C===5&&j>16){const de=[];for(let Le=0;Le<16;Le++){const ut=m[ue++].toString(16);de.push(ut.length==1?"0"+ut:ut),(Le===3||Le===5||Le===7||Le===9)&&de.push("-")}const Ee=j-16,Re=new Uint8Array(Ee);for(let Le=0;Le<Ee;Le++)Re[Le]=m[ue++];s.push({payloadType:C,pts:n,uuid:de.join(""),userData:J(Re),userDataBytes:Re})}}}function Xt(O){const t=O.byteLength,n=[];let s=1;for(;s<t-2;)O[s]===0&&O[s+1]===0&&O[s+2]===3?(n.push(s+2),s+=2):s++;if(n.length===0)return O;const m=t-n.length,E=new Uint8Array(m);let C=0;for(s=0;s<m;C++,s++)C===n[0]&&(C++,n.shift()),E[s]=O[C];return E}function ze(O){const t=O[0];let n="",s="",m=0,E=0,C=0,j=0,X=0,G=0;if(t===0){for(;Mt(O.subarray(G,G+1))!=="\0";)n+=Mt(O.subarray(G,G+1)),G+=1;for(n+=Mt(O.subarray(G,G+1)),G+=1;Mt(O.subarray(G,G+1))!=="\0";)s+=Mt(O.subarray(G,G+1)),G+=1;s+=Mt(O.subarray(G,G+1)),G+=1,m=je(O,12),E=je(O,16),j=je(O,20),X=je(O,24),G=28}else if(t===1){G+=4,m=je(O,G),G+=4;const de=je(O,G);G+=4;const Ee=je(O,G);for(G+=4,C=4294967296*de+Ee,i(C)||(C=Number.MAX_SAFE_INTEGER,H.warn("Presentation time exceeds safe integer limit and wrapped to max safe integer in parsing emsg box")),j=je(O,G),G+=4,X=je(O,G),G+=4;Mt(O.subarray(G,G+1))!=="\0";)n+=Mt(O.subarray(G,G+1)),G+=1;for(n+=Mt(O.subarray(G,G+1)),G+=1;Mt(O.subarray(G,G+1))!=="\0";)s+=Mt(O.subarray(G,G+1)),G+=1;s+=Mt(O.subarray(G,G+1)),G+=1}const ue=O.subarray(G,O.byteLength);return{schemeIdUri:n,value:s,timeScale:m,presentationTime:C,presentationTimeDelta:E,eventDuration:j,id:X,payload:ue}}function ce(O,...t){const n=t.length;let s=8,m=n;for(;m--;)s+=t[m].byteLength;const E=new Uint8Array(s);for(E[0]=s>>24&255,E[1]=s>>16&255,E[2]=s>>8&255,E[3]=s&255,E.set(O,4),m=0,s=8;m<n;m++)E.set(t[m],s),s+=t[m].byteLength;return E}function pe(O,t,n){if(O.byteLength!==16)throw new RangeError("Invalid system id");let s,m;s=0,m=new Uint8Array;let E;s>0?(E=new Uint8Array(4),t.length>0&&new DataView(E.buffer).setUint32(0,t.length,!1)):E=new Uint8Array;const C=new Uint8Array(4);return n.byteLength>0&&new DataView(C.buffer).setUint32(0,n.byteLength,!1),ce([112,115,115,104],new Uint8Array([s,0,0,0]),O,E,m,C,n)}function It(O){const t=[];if(O instanceof ArrayBuffer){const n=O.byteLength;let s=0;for(;s+32<n;){const m=new DataView(O,s),E=Te(m);t.push(E),s+=E.size}}return t}function Te(O){const t=O.getUint32(0),n=O.byteOffset,s=O.byteLength;if(s<t)return{offset:n,size:s};if(O.getUint32(4)!==1886614376)return{offset:n,size:t};const E=O.getUint32(8)>>>24;if(E!==0&&E!==1)return{offset:n,size:t};const C=O.buffer,j=q(new Uint8Array(C,n+12,16));let X=null,G=null,ue=0;if(E===0)ue=28;else{const Ee=O.getUint32(28);if(!Ee||s<32+Ee*16)return{offset:n,size:t};X=[];for(let Re=0;Re<Ee;Re++)X.push(new Uint8Array(C,n+32+Re*16,16));ue=32+Ee*16}if(!ue)return{offset:n,size:t};const de=O.getUint32(ue);return t-32<de?{offset:n,size:t}:(G=new Uint8Array(C,n+ue+4,de),{version:E,systemId:j,kids:X,data:G,offset:n,size:t})}const ct=()=>/\(Windows.+Firefox\//i.test(navigator.userAgent),Wt={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 Tt(O,t){const n=Wt[t];return!!n&&!!n[O.slice(0,4)]}function Ce(O,t,n=!0){return!O.split(",").some(s=>!St(s,t,n))}function St(O,t,n=!0){var s;const m=ae(n);return(s=m==null?void 0:m.isTypeSupported(ye(O,t)))!=null?s:!1}function ye(O,t){return`${t}/mp4;codecs=${O}`}function Je(O){if(O){const t=O.substring(0,4);return Wt.video[t]}return 2}function yt(O){const t=ct();return O.split(",").reduce((n,s)=>{const E=t&&zt(s)?9:Wt.video[s];return E?(E*2+n)/(n?3:2):(Wt.audio[s]+n)/(n?2:1)},0)}const Bt={};function Be(O,t=!0){if(Bt[O])return Bt[O];const n={flac:["flac","fLaC","FLAC"],opus:["opus","Opus"],"mp4a.40.34":["mp3"]}[O];for(let m=0;m<n.length;m++){var s;if(St(n[m],"audio",t))return Bt[O]=n[m],n[m];if(n[m]==="mp3"&&(s=ae(t))!=null&&s.isTypeSupported("audio/mpeg"))return""}return O}const Dr=/flac|opus|mp4a\.40\.34/i;function At(O,t=!0){return O.replace(Dr,n=>Be(n.toLowerCase(),t))}function Xr(O,t){const n=[];if(O){const s=O.split(",");for(let m=0;m<s.length;m++)Tt(s[m],"video")||n.push(s[m])}return t&&n.push(t),n.join(",")}function en(O,t){if(O&&(O.length>4||["ac-3","ec-3","alac","fLaC","Opus"].indexOf(O)!==-1)&&(Lr(O,"audio")||Lr(O,"video")))return O;if(t){const n=t.split(",");if(n.length>1){if(O){for(let s=n.length;s--;)if(n[s].substring(0,4)===O.substring(0,4))return n[s]}return n[0]}}return t||O}function Lr(O,t){return Tt(O,t)&&St(O,t)}function Nr(O){const t=O.split(",");for(let n=0;n<t.length;n++){const s=t[n].split(".");s.length>2&&s[0]==="avc1"&&(t[n]=`avc1.${parseInt(s[1]).toString(16)}${("000"+parseInt(s[2]).toString(16)).slice(-4)}`)}return t.join(",")}function mr(O){if(O.startsWith("av01.")){const t=O.split("."),n=["0","111","01","01","01","0"];for(let s=t.length;s>4&&s<10;s++)t[s]=n[s-4];return t.join(".")}return O}function Zr(O){const t=ae(O)||{isTypeSupported:()=>!1};return{mpeg:t.isTypeSupported("audio/mpeg"),mp3:t.isTypeSupported('audio/mp4; codecs="mp3"'),ac3:t.isTypeSupported('audio/mp4; codecs="ac-3"')}}function on(O){return O.replace(/^.+codecs=["']?([^"']+).*$/,"$1")}const _n={supported:!0,powerEfficient:!0,smooth:!0},Yt={supported:!1,smooth:!1,powerEfficient:!1},mt={supported:!0,configurations:[],decodingInfoResults:[_n]};function st(O,t){return{supported:!1,configurations:t,decodingInfoResults:[Yt],error:O}}function lt(O,t,n,s,m,E){const C=O.videoCodec,j=O.audioCodec?O.audioGroups:null,X=E==null?void 0:E.audioCodec,G=E==null?void 0:E.channels,ue=G?parseInt(G):X?1/0:2;let de=null;if(j!=null&&j.length)try{j.length===1&&j[0]?de=t.groups[j[0]].channels:de=j.reduce((Ee,Re)=>{if(Re){const Le=t.groups[Re];if(!Le)throw new Error(`Audio track group ${Re} not found`);Object.keys(Le.channels).forEach(ut=>{Ee[ut]=(Ee[ut]||0)+Le.channels[ut]})}return Ee},{2:0})}catch(Ee){return!0}return C!==void 0&&(C.split(",").some(Ee=>zt(Ee))||O.width>1920&&O.height>1088||O.height>1920&&O.width>1088||O.frameRate>Math.max(s,30)||O.videoRange!=="SDR"&&O.videoRange!==n||O.bitrate>Math.max(m,8e6))||!!de&&r(ue)&&Object.keys(de).some(Ee=>parseInt(Ee)>ue)}function Nt(O,t,n,s={}){const m=O.videoCodec;if(!m&&!O.audioCodec||!n)return Promise.resolve(mt);const E=[],C=br(O),j=C.length,X=vr(O,t,j>0),G=X.length;for(let ue=j||1*G||1;ue--;){const de={type:"media-source"};if(j&&(de.video=C[ue%j]),G){de.audio=X[ue%G];const Ee=de.audio.bitrate;de.video&&Ee&&(de.video.bitrate-=Ee)}E.push(de)}if(m){const ue=navigator.userAgent;if(m.split(",").some(de=>zt(de))&&ct())return Promise.resolve(st(new Error(`Overriding Windows Firefox HEVC MediaCapabilities result based on user-agent string: (${ue})`),E))}return Promise.all(E.map(ue=>{const de=vn(ue);return s[de]||(s[de]=n.decodingInfo(ue))})).then(ue=>({supported:!ue.some(de=>!de.supported),configurations:E,decodingInfoResults:ue})).catch(ue=>({supported:!1,configurations:E,decodingInfoResults:[],error:ue}))}function br(O){var t;const n=(t=O.videoCodec)==null?void 0:t.split(","),s=Tr(O),m=O.width||640,E=O.height||480,C=O.frameRate||30,j=O.videoRange.toLowerCase();return n?n.map(X=>{const G={contentType:ye(mr(X),"video"),width:m,height:E,bitrate:s,framerate:C};return j!=="sdr"&&(G.transferFunction=j),G}):[]}function vr(O,t,n){var s;const m=(s=O.audioCodec)==null?void 0:s.split(","),E=Tr(O);return m&&O.audioGroups?O.audioGroups.reduce((C,j)=>{var X;const G=j?(X=t.groups[j])==null?void 0:X.tracks:null;return G?G.reduce((ue,de)=>{if(de.groupId===j){const Ee=parseFloat(de.channels||"");m.forEach(Re=>{const Le={contentType:ye(Re,"audio"),bitrate:n?nt(Re,E):E};Ee&&(Le.channels=""+Ee),ue.push(Le)})}return ue},C):C},[]):[]}function nt(O,t){if(t<=1)return 1;let n=128e3;return O==="ec-3"?n=768e3:O==="ac-3"&&(n=64e4),Math.min(t/2,n)}function Tr(O){return Math.ceil(Math.max(O.bitrate*.9,O.averageBitrate)/1e3)*1e3||1}function vn(O){let t="";const{audio:n,video:s}=O;if(s){const m=on(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=on(n.contentType);t+=`${s?"_":""}${m}_c${n.channels}`}return t}const Gn=["NONE","TYPE-0","TYPE-1",null];function Yr(O){return Gn.indexOf(O)>-1}const Yn=["SDR","PQ","HLG"];function Jn(O){return!!O&&Yn.indexOf(O)>-1}var kn={No:"",Yes:"YES",v2:"v2"};function Qn(O){const{canSkipUntil:t,canSkipDateRanges:n,age:s}=O,m=s<t/2;return t&&m?n?kn.v2:kn.Yes:kn.No}class ri{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 Ai{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 wi(this._audioGroups,t)}hasSubtitleGroup(t){return wi(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 wi(O,t){return!t||!O?!1:O.indexOf(t)!==-1}function Ui(){if(typeof matchMedia=="function"){const O=matchMedia("(dynamic-range: high)"),t=matchMedia("bad query");if(O.media!==t.media)return O.matches===!0}return!1}function oa(O,t){let n=!1,s=[];if(O&&(n=O!=="SDR",s=[O]),t){s=t.allowedVideoRanges||Yn.slice(0);const m=s.join("")!=="SDR"&&!t.videoCodec;n=t.preferHDR!==void 0?t.preferHDR:m&&Ui(),n||(s=["SDR"])}return{preferHDR:n,allowedVideoRanges:s}}const Vi=O=>{const t=new WeakSet;return(n,s)=>{if(O&&(s=O(n,s)),typeof s=="object"&&s!==null){if(t.has(s))return;t.add(s)}return s}},zi=(O,t)=>JSON.stringify(O,Vi(t));function mi(O,t,n,s,m){const E=Object.keys(O),C=s==null?void 0:s.channels,j=s==null?void 0:s.audioCodec,X=m==null?void 0:m.videoCodec,G=C&&parseInt(C)===2;let ue=!1,de=!1,Ee=1/0,Re=1/0,Le=1/0,ut=1/0,ot=0,Kt=[];const{preferHDR:er,allowedVideoRanges:ir}=oa(t,m);for(let sn=E.length;sn--;){const nn=O[E[sn]];ue||(ue=nn.channels[2]>0),Ee=Math.min(Ee,nn.minHeight),Re=Math.min(Re,nn.minFramerate),Le=Math.min(Le,nn.minBitrate),ir.filter(In=>nn.videoRanges[In]>0).length>0&&(de=!0)}Ee=r(Ee)?Ee:0,Re=r(Re)?Re:0;const Er=Math.max(1080,Ee),jr=Math.max(30,Re);Le=r(Le)?Le:n,n=Math.max(Le,n),de||(t=void 0);const pn=E.length>1;return{codecSet:E.reduce((sn,nn)=>{const Vr=O[nn];if(nn===sn)return sn;if(Kt=de?ir.filter(In=>Vr.videoRanges[In]>0):[],pn){if(Vr.minBitrate>n)return Ki(nn,`min bitrate of ${Vr.minBitrate} > current estimate of ${n}`),sn;if(!Vr.hasDefaultAudio)return Ki(nn,"no renditions with default or auto-select sound found"),sn;if(j&&nn.indexOf(j.substring(0,4))%5!==0)return Ki(nn,`audio codec preference "${j}" not found`),sn;if(C&&!G){if(!Vr.channels[C])return Ki(nn,`no renditions with ${C} channel sound found (channels options: ${Object.keys(Vr.channels)})`),sn}else if((!j||G)&&ue&&Vr.channels[2]===0)return Ki(nn,"no renditions with stereo sound found"),sn;if(Vr.minHeight>Er)return Ki(nn,`min resolution of ${Vr.minHeight} > maximum of ${Er}`),sn;if(Vr.minFramerate>jr)return Ki(nn,`min framerate of ${Vr.minFramerate} > maximum of ${jr}`),sn;if(!Kt.some(In=>Vr.videoRanges[In]>0))return Ki(nn,`no variants with VIDEO-RANGE of ${zi(Kt)} found`),sn;if(X&&nn.indexOf(X.substring(0,4))%5!==0)return Ki(nn,`video codec preference "${X}" not found`),sn;if(Vr.maxScore<ot)return Ki(nn,`max score of ${Vr.maxScore} < selected max of ${ot}`),sn}return sn&&(yt(nn)>=yt(sn)||Vr.fragmentError>O[sn].fragmentError)?sn:(ut=Vr.minIndex,ot=Vr.maxScore,nn)},void 0),videoRanges:Kt,preferHDR:er,minFramerate:Re,minBitrate:Le,minIndex:ut}}function Ki(O,t){H.log(`[abr] start candidates with "${O}" ignored because ${t}`)}function Dt(O){return O.reduce((t,n)=>{let s=t.groups[n.groupId];s||(s=t.groups[n.groupId]={tracks:[],channels:{2:0},hasDefault:!1,hasAutoSelect:!1}),s.tracks.push(n);const m=n.channels||"2";return s.channels[m]=(s.channels[m]||0)+1,s.hasDefault=s.hasDefault||n.default,s.hasAutoSelect=s.hasAutoSelect||n.autoselect,s.hasDefault&&(t.hasDefaultAudio=!0),s.hasAutoSelect&&(t.hasAutoSelectAudio=!0),t},{hasDefaultAudio:!1,hasAutoSelectAudio:!1,groups:{}})}function vt(O,t,n,s){return O.slice(n,s+1).reduce((m,E,C)=>{if(!E.codecSet)return m;const j=E.audioGroups;let X=m[E.codecSet];X||(m[E.codecSet]=X={minBitrate:1/0,minHeight:1/0,minFramerate:1/0,minIndex:C,maxScore:0,videoRanges:{SDR:0},channels:{2:0},hasDefaultAudio:!j,fragmentError:0}),X.minBitrate=Math.min(X.minBitrate,E.bitrate);const G=Math.min(E.height,E.width);return X.minHeight=Math.min(X.minHeight,G),X.minFramerate=Math.min(X.minFramerate,E.frameRate),X.minIndex=Math.min(X.minIndex,C),X.maxScore=Math.max(X.maxScore,E.score),X.fragmentError+=E.fragmentError,X.videoRanges[E.videoRange]=(X.videoRanges[E.videoRange]||0)+1,j&&j.forEach(ue=>{if(!ue)return;const de=t.groups[ue];de&&(X.hasDefaultAudio=X.hasDefaultAudio||t.hasDefaultAudio?de.hasDefault:de.hasAutoSelect||!t.hasDefaultAudio&&!t.hasAutoSelectAudio,Object.keys(de.channels).forEach(Ee=>{X.channels[Ee]=(X.channels[Ee]||0)+de.channels[Ee]}))}),m},{})}function Zi(O){if(!O)return O;const{lang:t,assocLang:n,characteristics:s,channels:m,audioCodec:E}=O;return{lang:t,assocLang:n,characteristics:s,channels:m,audioCodec:E}}function Hi(O,t,n){if("attrs"in O){const s=t.indexOf(O);if(s!==-1)return s}for(let s=0;s<t.length;s++){const m=t[s];if(hi(O,m,n))return s}return-1}function hi(O,t,n){const{groupId:s,name:m,lang:E,assocLang:C,default:j}=O,X=O.forced;return(s===void 0||t.groupId===s)&&(m===void 0||t.name===m)&&(E===void 0||Fa(E,t.lang))&&(E===void 0||t.assocLang===C)&&(j===void 0||t.default===j)&&(X===void 0||t.forced===X)&&(!("characteristics"in O)||Ti(O.characteristics||"",t.characteristics))&&(n===void 0||n(O,t))}function Fa(O,t="--"){return O.length===t.length?O===t:O.startsWith(t)||t.startsWith(O)}function Ti(O,t=""){const n=O.split(","),s=t.split(",");return n.length===s.length&&!n.some(m=>s.indexOf(m)===-1)}function si(O,t){const{audioCodec:n,channels:s}=O;return(n===void 0||(t.audioCodec||"").substring(0,4)===n.substring(0,4))&&(s===void 0||s===(t.channels||"2"))}function Dn(O,t,n,s,m){const E=t[s],j=t.reduce((Ee,Re,Le)=>{const ut=Re.uri;return(Ee[ut]||(Ee[ut]=[])).push(Le),Ee},{})[E.uri];j.length>1&&(s=Math.max.apply(Math,j));const X=E.videoRange,G=E.frameRate,ue=E.codecSet.substring(0,4),de=rr(t,s,Ee=>{if(Ee.videoRange!==X||Ee.frameRate!==G||Ee.codecSet.substring(0,4)!==ue)return!1;const Re=Ee.audioGroups,Le=n.filter(ut=>!Re||Re.indexOf(ut.groupId)!==-1);return Hi(O,Le,m)>-1});return de>-1?de:rr(t,s,Ee=>{const Re=Ee.audioGroups,Le=n.filter(ut=>!Re||Re.indexOf(ut.groupId)!==-1);return Hi(O,Le,m)>-1})}function rr(O,t,n){for(let s=t;s>-1;s--)if(n(O[s]))return s;for(let s=t+1;s<O.length;s++)if(n(O[s]))return s;return-1}function _t(O,t){var n;return!!O&&O!==((n=t.loadLevelObj)==null?void 0:n.uri)}class rt 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:C}=this,{autoLevelEnabled:j,media:X}=C;if(!m||!X)return;const G=performance.now(),ue=E?E.stats:m.stats,de=E?E.duration:m.duration,Ee=G-ue.loading.start,Re=C.minAutoLevel,Le=m.level,ut=this._nextAutoLevel;if(ue.aborted||ue.loaded&&ue.loaded===ue.total||Le<=Re){this.clearTimer(),this._nextAutoLevel=-1;return}if(!j)return;const ot=ut>-1&&ut!==Le,Kt=!!n||ot;if(!Kt&&(X.paused||!X.playbackRate||!X.readyState))return;const er=C.mainForwardBufferInfo;if(!Kt&&er===null)return;const ir=this.bwEstimator.getEstimateTTFB(),Er=Math.abs(X.playbackRate);if(Ee<=Math.max(ir,1e3*(de/(Er*2))))return;const jr=er?er.len/Er:0,pn=ue.loading.first?ue.loading.first-ue.loading.start:-1,Ur=ue.loaded&&pn>-1,sn=this.getBwEstimate(),nn=C.levels,Vr=nn[Le],In=Math.max(ue.loaded,Math.round(de*(m.bitrate||Vr.averageBitrate)/8));let Ei=Ur?Ee-pn:Ee;Ei<1&&Ur&&(Ei=Math.min(Ee,ue.loaded*8/sn));const Ji=Ur?ue.loaded*1e3/Ei:0,va=ir/1e3,ea=Ji?(In-ue.loaded)/Ji:In*8/sn+va;if(ea<=jr)return;const di=Ji?Ji*8:sn,sa=((s=(n==null?void 0:n.details)||this.hls.latestLevelDetails)==null?void 0:s.live)===!0,ki=this.hls.config.abrBandWidthUpFactor;let ha=Number.POSITIVE_INFINITY,Na;for(Na=Le-1;Na>Re;Na--){const ys=nn[Na].maxBitrate,Es=!nn[Na].details||sa;if(ha=this.getTimeToLoadFrag(va,di,de*ys,Es),ha<Math.min(jr,de+va))break}if(ha>=ea||ha>de*10)return;Ur?this.bwEstimator.sample(Ee-Math.min(ir,pn),ue.loaded):this.bwEstimator.sampleTTFB(Ee);const bi=nn[Na].maxBitrate;this.getBwEstimate()*ki>bi&&this.resetEstimator(bi);const xi=this.findBestLevel(bi,Re,Na,0,jr,1,1);xi>-1&&(Na=xi),this.warn(`Fragment ${m.sn}${E?" part "+E.index:""} of level ${Le} is loading too slowly;
Fragment duration: ${m.duration.toFixed(3)}
Time to underbuffer: ${jr.toFixed(3)} s
Estimated load time for current fragment: ${ea.toFixed(3)} s
Estimated load time for down switch fragment: ${ha.toFixed(3)} s
TTFB estimate: ${pn|0} ms
Current BW estimate: ${r(sn)?sn|0:"Unknown"} bps
New BW estimate: ${this.getBwEstimate()|0} bps
Switching to level ${Na} @ ${bi|0} bps`),C.nextLoadLevel=C.nextAutoLevel=Na,this.clearTimer();const gs=()=>{if(this.clearTimer(),this.fragCurrent===m&&this.hls.loadLevel===Na&&Na>0){const ys=this.getStarvationDelay();if(this.warn(`Aborting inflight request ${Na>0?"and switching down":""}
Fragment duration: ${m.duration.toFixed(3)} s
Time to underbuffer: ${ys.toFixed(3)} s`),m.abortRequests(),this.fragCurrent=this.partCurrent=null,Na>Re){let Es=this.findBestLevel(this.hls.levels[Re].bitrate,Re,Na,0,ys,1,1);Es===-1&&(Es=Re),this.hls.nextLoadLevel=this.hls.nextAutoLevel=Es,this.resetEstimator(this.hls.levels[Es].bitrate)}}};ot||ea>ha*2?gs():this.timer=self.setInterval(gs,ha*1e3),C.trigger(o.FRAG_LOAD_EMERGENCY_ABORTED,{frag:m,part:E,stats:ue})},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 C=performance.now(),j=E?E.stats:s.stats,X=C-j.loading.start,G=j.loading.first?j.loading.first-j.loading.start:-1;if(j.loaded&&G>-1){const de=this.bwEstimator.getEstimateTTFB();this.bwEstimator.sample(X-Math.min(de,G),j.loaded)}else this.bwEstimator.sampleTTFB(X)}break}}}getTimeToLoadFrag(t,n,s,m){const E=t+s/n,C=m?t+this.lastLevelLoadSec:0;return E+C}onLevelLoaded(t,n){const s=this.hls.config,{loading:m}=n.stats,E=m.end-m.first;r(E)&&(this.lastLevelLoadSec=E/1e3),n.details.live?this.bwEstimator.update(s.abrEwmaSlowLive,s.abrEwmaFastLive):this.bwEstimator.update(s.abrEwmaSlowVoD,s.abrEwmaFastVoD),this.timer>-1&&this._abandonRulesCheck(n.levelInfo)}onFragLoaded(t,{frag:n,part:s}){const m=s?s.stats:n.stats;if(n.type===u.MAIN&&this.bwEstimator.sampleTTFB(m.loading.first-m.loading.start),!this.ignoreFragment(n)){if(this.clearTimer(),n.level===this._nextAutoLevel&&(this._nextAutoLevel=-1),this.firstSelection=-1,this.hls.config.abrMaxWithRealBitrate){const E=s?s.duration:n.duration,C=this.hls.levels[n.level],j=(C.loaded?C.loaded.bytes:0)+m.loaded,X=(C.loaded?C.loaded.duration:0)+E;C.loaded={bytes:j,duration:X},C.realBitrate=Math.round(8*j/X)}if(n.bitrateTest){const E={stats:m,frag:n,part:s,id:n.type};this.onFragBuffered(o.FRAG_BUFFERED,E),n.bitrateTest=!1}else this.lastLoadedFragLevel=n.level}}onFragBuffered(t,n){const{frag:s,part:m}=n,E=m!=null&&m.stats.loaded?m.stats:s.stats;if(E.aborted||this.ignoreFragment(s))return;const C=E.parsing.end-E.loading.start-Math.min(E.loading.first-E.loading.start,this.bwEstimator.getEstimateTTFB());this.bwEstimator.sample(C,E.loaded),E.bwEstimate=this.getBwEstimate(),s.bitrateTest?this.bitrateTestDelay=C/1e3:this.bitrateTestDelay=0}ignoreFragment(t){return t.type!==u.MAIN||t.sn==="initSegment"}clearTimer(){this.timer>-1&&(self.clearInterval(this.timer),this.timer=-1)}get firstAutoLevel(){const{maxAutoLevel:t,minAutoLevel:n}=this.hls,s=this.getBwEstimate(),m=this.hls.config.maxStarvationDelay,E=this.findBestLevel(s,n,t,0,m,1,1);if(E>-1)return E;const C=this.hls.firstLevel,j=Math.min(Math.max(C,n),t);return this.warn(`Could not find best starting auto level. Defaulting to first in playlist ${C} clamped to ${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 C=this.hls.levels;if(C.length>Math.max(t,E)&&C[t].loadError<=C[E].loadError)return t}return this._nextAutoLevel=E,this.nextAutoLevelKey=this.getAutoLevelKey(),E}getAutoLevelKey(){return`${this.getBwEstimate()}_${this.getStarvationDelay().toFixed(2)}`}getNextABRAutoLevel(){const{fragCurrent:t,partCurrent:n,hls:s}=this;if(s.levels.length<=1)return s.loadLevel;const{maxAutoLevel:m,config:E,minAutoLevel:C}=s,j=n?n.duration:t?t.duration:0,X=this.getBwEstimate(),G=this.getStarvationDelay();let ue=E.abrBandWidthFactor,de=E.abrBandWidthUpFactor;if(G){const ot=this.findBestLevel(X,C,m,G,0,ue,de);if(ot>=0)return this.rebufferNotice=-1,ot}let Ee=j?Math.min(j,E.maxStarvationDelay):E.maxStarvationDelay;if(!G){const ot=this.bitrateTestDelay;ot&&(Ee=(j?Math.min(j,E.maxLoadingDelay):E.maxLoadingDelay)-ot,this.info(`bitrate test took ${Math.round(1e3*ot)}ms, set first fragment max fetchDuration to ${Math.round(1e3*Ee)} ms`),ue=de=1)}const Re=this.findBestLevel(X,C,m,G,Ee,ue,de);if(this.rebufferNotice!==Re&&(this.rebufferNotice=Re,this.info(`${G?"rebuffering expected":"buffer is empty"}, optimal quality level ${Re}`)),Re>-1)return Re;const Le=s.levels[C],ut=s.loadLevelObj;return ut&&(Le==null?void 0:Le.bitrate)<ut.bitrate?C:s.loadLevel}getStarvationDelay(){const t=this.hls,n=t.media;if(!n)return 1/0;const s=n&&n.playbackRate!==0?Math.abs(n.playbackRate):1,m=t.mainForwardBufferInfo;return(m?m.len:0)/s}getBwEstimate(){return this.bwEstimator.canEstimate()?this.bwEstimator.getEstimate():this.hls.config.abrEwmaDefaultEstimate}findBestLevel(t,n,s,m,E,C,j){var X;const G=m+E,ue=this.lastLoadedFragLevel,de=ue===-1?this.hls.firstLevel:ue,{fragCurrent:Ee,partCurrent:Re}=this,{levels:Le,allAudioTracks:ut,loadLevel:ot,config:Kt}=this.hls;if(Le.length===1)return 0;const er=Le[de],ir=!!((X=this.hls.latestLevelDetails)!=null&&X.live),Er=ot===-1||ue===-1;let jr,pn="SDR",Ur=(er==null?void 0:er.frameRate)||0;const{audioPreference:sn,videoPreference:nn}=Kt,Vr=this.audioTracksByGroup||(this.audioTracksByGroup=Dt(ut));let In=-1;if(Er){if(this.firstSelection!==-1)return this.firstSelection;const di=this.codecTiers||(this.codecTiers=vt(Le,Vr,n,s)),sa=mi(di,pn,t,sn,nn),{codecSet:ki,videoRanges:ha,minFramerate:Na,minBitrate:bi,minIndex:xi,preferHDR:gs}=sa;In=xi,jr=ki,pn=gs?ha[ha.length-1]:ha[0],Ur=Na,t=Math.max(t,bi),this.log(`picked start tier ${zi(sa)}`)}else jr=er==null?void 0:er.codecSet,pn=er==null?void 0:er.videoRange;const Ei=Re?Re.duration:Ee?Ee.duration:0,Ji=this.bwEstimator.getEstimateTTFB()/1e3,va=[];for(let di=s;di>=n;di--){var ea;const sa=Le[di],ki=di>de;if(!sa)continue;if(Kt.useMediaCapabilities&&!sa.supportedResult&&!sa.supportedPromise){const Es=navigator.mediaCapabilities;typeof(Es==null?void 0:Es.decodingInfo)=="function"&&lt(sa,Vr,pn,Ur,t,sn)?(sa.supportedPromise=Nt(sa,Vr,Es,this.supportedCache),sa.supportedPromise.then(Us=>{if(!this.hls)return;sa.supportedResult=Us;const du=this.hls.levels,ya=du.indexOf(sa);Us.error?this.warn(`MediaCapabilities decodingInfo error: "${Us.error}" for level ${ya} ${zi(Us)}`):Us.supported?Us.decodingInfoResults.some(rc=>rc.smooth===!1||rc.powerEfficient===!1)&&this.log(`MediaCapabilities decodingInfo for level ${ya} not smooth or powerEfficient: ${zi(Us)}`):(this.warn(`Unsupported MediaCapabilities decodingInfo result for level ${ya} ${zi(Us)}`),ya>-1&&du.length>1&&(this.log(`Removing unsupported level ${ya}`),this.hls.removeLevel(ya),this.hls.loadLevel===-1&&(this.hls.nextLoadLevel=0)))}).catch(Us=>{this.warn(`Error handling MediaCapabilities decodingInfo: ${Us}`)})):sa.supportedResult=mt}if((jr&&sa.codecSet!==jr||pn&&sa.videoRange!==pn||ki&&Ur>sa.frameRate||!ki&&Ur>0&&Ur<sa.frameRate||(ea=sa.supportedResult)!=null&&(ea=ea.decodingInfoResults)!=null&&ea.some(Es=>Es.smooth===!1))&&(!Er||di!==In)){va.push(di);continue}const ha=sa.details,Na=(Re?ha==null?void 0:ha.partTarget:ha==null?void 0:ha.averagetargetduration)||Ei;let bi;ki?bi=j*t:bi=C*t;const xi=Ei&&m>=Ei*2&&E===0?sa.averageBitrate:sa.maxBitrate,gs=this.getTimeToLoadFrag(Ji,bi,xi*Na,ha===void 0);if(bi>=xi&&(di===ue||sa.loadError===0&&sa.fragmentError===0)&&(gs<=Ji||!r(gs)||ir&&!this.bitrateTestDelay||gs<G)){const Es=this.forcedAutoLevel;return di!==ot&&(Es===-1||Es!==ot)&&(va.length&&this.trace(`Skipped level(s) ${va.join(",")} of ${s} max with CODECS and VIDEO-RANGE:"${Le[va[0]].codecs}" ${Le[va[0]].videoRange}; not compatible with "${jr}" ${pn}`),this.info(`switch candidate:${de}->${di} adjustedbw(${Math.round(bi)})-bitrate=${Math.round(bi-xi)} ttfb:${Ji.toFixed(1)} avgDuration:${Na.toFixed(1)} maxFetchDuration:${G.toFixed(1)} fetchDuration:${gs.toFixed(1)} firstSelection:${Er} codecSet:${sa.codecSet} videoRange:${sa.videoRange} hls.loadLevel:${ot}`)),Er&&(this.firstSelection=di),di}}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 Ot={search:function(O,t){let n=0,s=O.length-1,m=null,E=null;for(;n<=s;){m=(n+s)/2|0,E=O[m];const C=t(E);if(C>0)n=m+1;else if(C<0)s=m-1;else return E}return null}};function ht(O,t,n){if(t===null||!Array.isArray(O)||!O.length||!r(t))return null;const s=O[0].programDateTime;if(t<(s||0))return null;const m=O[O.length-1].endProgramDateTime;if(t>=(m||0))return null;for(let E=0;E<O.length;++E){const C=O[E];if(Gr(t,n,C))return C}return null}function lr(O,t,n=0,s=0,m=.005){let E=null;if(O){E=t[1+O.sn-t[0].sn]||null;const j=O.endDTS-n;j>0&&j<15e-7&&(n+=15e-7),E&&O.level!==E.level&&E.end<=O.end&&(E=t[2+O.sn-t[0].sn]||null)}else n===0&&t[0].start===0&&(E=t[0]);if(E&&((!O||O.level===E.level)&&Cr(n,s,E)===0||fr(E,O,Math.min(m,s))))return E;const C=Ot.search(t,Cr.bind(null,n,s));return C&&(C!==O||!E)?C:E}function fr(O,t,n){if(t&&t.start===0&&t.level<O.level&&(t.endPTS||0)>0){const s=t.tagList.reduce((m,E)=>(E[0]==="INF"&&(m+=parseFloat(E[1])),m),n);return O.start<=s}return!1}function Cr(O=0,t=0,n){if(n.start<=O&&n.start+n.duration>O)return 0;const s=Math.min(t,n.duration+(n.deltaPTS?n.deltaPTS:0));return n.start+n.duration-s<=O?1:n.start-s>O&&n.start?-1:0}function Gr(O,t,n){const s=Math.min(t,n.duration+(n.deltaPTS?n.deltaPTS:0))*1e3;return(n.endProgramDateTime||0)-s>O}function Ze(O,t,n){if(O&&O.startCC<=t&&O.endCC>=t){let s=O.fragments;const{fragmentHint:m}=O;m&&(s=s.concat(m));let E;return Ot.search(s,C=>C.cc<t?1:C.cc>t?-1:(E=C,C.end<=n?1:C.start>n?-1:0)),E||null}return null}function et(O){switch(O.details){case f.FRAG_LOAD_TIMEOUT:case f.KEY_LOAD_TIMEOUT:case f.LEVEL_LOAD_TIMEOUT:case f.MANIFEST_LOAD_TIMEOUT:return!0}return!1}function be(O){return O.details.startsWith("key")}function it(O){return be(O)&&!!O.frag&&!O.frag.decryptdata}function or(O,t){const n=et(t);return O.default[`${n?"timeout":"error"}Retry`]}function kr(O,t){const n=O.backoff==="linear"?1:Math.pow(2,t);return Math.min(n*O.retryDelayMs,O.maxRetryDelayMs)}function Ir(O){return b(b({},O),{errorRetry:null,timeoutRetry:null})}function Pr(O,t,n,s){if(!O)return!1;const m=s==null?void 0:s.code,E=t<O.maxNumRetry&&(Wr(m)||!!n);return O.shouldRetry?O.shouldRetry(O,t,n,s,E):E}function Wr(O){return wn(O)||!!O&&(O<400||O>499)}function wn(O){return O===0&&navigator.onLine===!1}var gr={DoNothing:0,SendEndCallback:1,SendAlternateToPenaltyBox:2,RemoveAlternatePermanently:3,InsertDiscontinuity:4,RetryRequest:5},fn={None:0,MoveAllAlternatesMatchingHost:1,MoveAllAlternatesMatchingHDCP:2,MoveAllAlternatesMatchingKey:4,SwitchToSDR:8};class un extends R{constructor(t){super("error-controller",t.logger),this.hls=void 0,this.playlistError=0,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}startLoad(t){}stopLoad(){this.playlistError=0}getVariantLevelIndex(t){return(t==null?void 0:t.type)===u.MAIN?t.level:this.getVariantIndex()}getVariantIndex(){var t;const n=this.hls,s=n.currentLevel;return(t=n.loadLevelObj)!=null&&t.details||s===-1?n.loadLevel:s}variantHasKey(t,n){if(t){var s;if((s=t.details)!=null&&s.hasKey(n))return!0;const m=t.audioGroups;if(m)return this.hls.allAudioTracks.filter(C=>m.indexOf(C.groupId)>=0).some(C=>{var j;return(j=C.details)==null?void 0:j.hasKey(n)})}return!1}onManifestLoading(){this.playlistError=0}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=dn();return}case f.FRAG_GAP:case f.FRAG_DECRYPT_ERROR:{n.errorAction=this.getFragRetryOrSwitchAction(n),n.errorAction.action=gr.SendAlternateToPenaltyBox;return}case f.LEVEL_EMPTY_ERROR:case f.LEVEL_PARSING_ERROR:{var C;const X=n.parent===u.MAIN?n.level:m.loadLevel;n.details===f.LEVEL_EMPTY_ERROR&&((C=n.context)!=null&&(C=C.levelDetails)!=null&&C.live)?n.errorAction=this.getPlaylistRetryOrSwitchAction(n,X):(n.levelRetry=!1,n.errorAction=this.getLevelSwitchAction(n,X))}return;case f.LEVEL_LOAD_ERROR:case f.LEVEL_LOAD_TIMEOUT:typeof(E==null?void 0:E.level)=="number"&&(n.errorAction=this.getPlaylistRetryOrSwitchAction(n,E.level));return;case f.AUDIO_TRACK_LOAD_ERROR:case f.AUDIO_TRACK_LOAD_TIMEOUT:case f.SUBTITLE_LOAD_ERROR:case f.SUBTITLE_TRACK_LOAD_TIMEOUT:if(E){const X=m.loadLevelObj;if(X&&(E.type===h.AUDIO_TRACK&&X.hasAudioGroup(E.groupId)||E.type===h.SUBTITLE_TRACK&&X.hasSubtitleGroup(E.groupId))){n.errorAction=this.getPlaylistRetryOrSwitchAction(n,m.loadLevel),n.errorAction.action=gr.SendAlternateToPenaltyBox,n.errorAction.flags=fn.MoveAllAlternatesMatchingHost;return}}return;case f.KEY_SYSTEM_STATUS_OUTPUT_RESTRICTED:n.errorAction={action:gr.SendAlternateToPenaltyBox,flags:fn.MoveAllAlternatesMatchingHDCP};return;case f.KEY_SYSTEM_SESSION_UPDATE_FAILED:case f.KEY_SYSTEM_STATUS_INTERNAL_ERROR:case f.KEY_SYSTEM_NO_SESSION:n.errorAction={action:gr.SendAlternateToPenaltyBox,flags:fn.MoveAllAlternatesMatchingKey};return;case f.BUFFER_ADD_CODEC_ERROR:case f.REMUX_ALLOC_ERROR:case f.BUFFER_APPEND_ERROR:if(!n.errorAction){var j;n.errorAction=this.getLevelSwitchAction(n,(j=n.level)!=null?j: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=dn();return}n.type===c.KEY_SYSTEM_ERROR&&(n.levelRetry=!1,n.errorAction=dn())}getPlaylistRetryOrSwitchAction(t,n){const s=this.hls,m=or(s.config.playlistLoadPolicy,t),E=this.playlistError++;if(Pr(m,E,et(t),t.response))return{action:gr.RetryRequest,flags:fn.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:C}=n.config,j=or(be(t)?C:E,t),X=n.levels.reduce((ue,de)=>ue+de.fragmentError,0);if(m&&(t.details!==f.FRAG_GAP&&m.fragmentError++,!it(t)&&Pr(j,X,et(t),t.response)))return{action:gr.RetryRequest,flags:fn.None,retryConfig:j,retryCount:X};const G=this.getLevelSwitchAction(t,s);return j&&(G.retryConfig=j,G.retryCount=X),G}getLevelSwitchAction(t,n){const s=this.hls;n==null&&(n=s.loadLevel);const m=this.hls.levels[n];if(m){var E,C;const G=t.details;m.loadError++,G===f.BUFFER_APPEND_ERROR&&m.fragmentError++;let ue=-1;const{levels:de,loadLevel:Ee,minAutoLevel:Re,maxAutoLevel:Le}=s;!s.autoLevelEnabled&&!s.config.preserveManualLevelOnError&&(s.loadLevel=-1);const ut=(E=t.frag)==null?void 0:E.type,Kt=(ut===u.AUDIO&&G===f.FRAG_PARSING_ERROR||t.sourceBufferName==="audio"&&(G===f.BUFFER_ADD_CODEC_ERROR||G===f.BUFFER_APPEND_ERROR))&&de.some(({audioCodec:pn})=>m.audioCodec!==pn),ir=t.sourceBufferName==="video"&&(G===f.BUFFER_ADD_CODEC_ERROR||G===f.BUFFER_APPEND_ERROR)&&de.some(({codecSet:pn,audioCodec:Ur})=>m.codecSet!==pn&&m.audioCodec===Ur),{type:Er,groupId:jr}=(C=t.context)!=null?C:{};for(let pn=de.length;pn--;){const Ur=(pn+Ee)%de.length;if(Ur!==Ee&&Ur>=Re&&Ur<=Le&&de[Ur].loadError===0){var j,X;const sn=de[Ur];if(G===f.FRAG_GAP&&ut===u.MAIN&&t.frag){const nn=de[Ur].details;if(nn){const Vr=lr(t.frag,nn.fragments,t.frag.start);if(Vr!=null&&Vr.gap)continue}}else{if(Er===h.AUDIO_TRACK&&sn.hasAudioGroup(jr)||Er===h.SUBTITLE_TRACK&&sn.hasSubtitleGroup(jr))continue;if(ut===u.AUDIO&&(j=m.audioGroups)!=null&&j.some(nn=>sn.hasAudioGroup(nn))||ut===u.SUBTITLE&&(X=m.subtitleGroups)!=null&&X.some(nn=>sn.hasSubtitleGroup(nn))||Kt&&m.audioCodec===sn.audioCodec||ir&&m.codecSet===sn.codecSet||!Kt&&m.codecSet!==sn.codecSet)continue}ue=Ur;break}}if(ue>-1&&s.loadLevel!==ue)return t.levelRetry=!0,this.playlistError=0,{action:gr.SendAlternateToPenaltyBox,flags:fn.None,nextAutoLevel:ue}}return{action:gr.SendAlternateToPenaltyBox,flags:fn.MoveAllAlternatesMatchingHost}}onErrorOut(t,n){var s;switch((s=n.errorAction)==null?void 0:s.action){case gr.DoNothing:break;case gr.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 gr.RetryRequest:break}if(n.fatal){this.hls.stopLoad();return}}sendAlternateToPenaltyBox(t){const n=this.hls,s=t.errorAction;if(!s)return;const{flags:m}=s,E=s.nextAutoLevel;switch(m){case fn.None:this.switchLevel(t,E);break;case fn.MoveAllAlternatesMatchingHDCP:{const X=this.getVariantLevelIndex(t.frag),G=n.levels[X],ue=G==null?void 0:G.attrs["HDCP-LEVEL"];if(s.hdcpLevel=ue,ue==="NONE")this.warn("HDCP policy resticted output with HDCP-LEVEL=NONE");else if(ue){n.maxHdcpLevel=Gn[Gn.indexOf(ue)-1],s.resolved=!0,this.warn(`Restricting playback to HDCP-LEVEL of "${n.maxHdcpLevel}" or lower`);break}}case fn.MoveAllAlternatesMatchingKey:{const X=t.decryptdata;if(X){const G=this.hls.levels,ue=G.length;for(let Ee=ue;Ee--;)if(this.variantHasKey(G[Ee],X)){var C,j;this.log(`Banned key found in level ${Ee} (${G[Ee].bitrate}bps) or audio group "${(C=G[Ee].audioGroups)==null?void 0:C.join(",")}" (${(j=t.frag)==null?void 0:j.type} fragment) ${q(X.keyId||[])}`),G[Ee].fragmentError++,G[Ee].loadError++,this.log(`Removing level ${Ee} with key error (${t.error})`),this.hls.removeLevel(Ee)}const de=t.frag;if(this.hls.levels.length<ue)s.resolved=!0;else if(de&&de.type!==u.MAIN){const Ee=de.decryptdata;Ee&&!X.matches(Ee)&&(s.resolved=!0)}}break}}s.resolved||this.switchLevel(t,E)}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=on(t.mimeType),m=this.hls.levels;for(let E=m.length;E--;)m[E][`${t.sourceBufferName}Codec`]===s&&(this.log(`Removing level ${E} for ${t.details} ("${s}" not supported)`),this.hls.removeLevel(E))}}}function dn(O){const t={action:gr.DoNothing,flags:fn.None};return O&&(t.resolved=!0),t}var gn={NOT_LOADED:"NOT_LOADED",APPENDING:"APPENDING",PARTIAL:"PARTIAL",OK:"OK"};class ka{constructor(t){this.activePartLists=Object.create(null),this.endListFragments=Object.create(null),this.fragments=Object.create(null),this.timeRanges=Object.create(null),this.bufferPadding=.2,this.hls=void 0,this.hasGaps=!1,this.hls=t,this._registerListeners()}_registerListeners(){const{hls:t}=this;t&&(t.on(o.MANIFEST_LOADING,this.onManifestLoading,this),t.on(o.BUFFER_APPENDED,this.onBufferAppended,this),t.on(o.FRAG_BUFFERED,this.onFragBuffered,this),t.on(o.FRAG_LOADED,this.onFragLoaded,this))}_unregisterListeners(){const{hls:t}=this;t&&(t.off(o.MANIFEST_LOADING,this.onManifestLoading,this),t.off(o.BUFFER_APPENDED,this.onBufferAppended,this),t.off(o.FRAG_BUFFERED,this.onFragBuffered,this),t.off(o.FRAG_LOADED,this.onFragLoaded,this))}destroy(){this._unregisterListeners(),this.hls=this.fragments=this.activePartLists=this.endListFragments=this.timeRanges=null}getAppendedFrag(t,n){const s=this.activePartLists[n];if(s)for(let m=s.length;m--;){const E=s[m];if(!E)break;if(E.start<=t&&t<=E.end&&E.loaded)return E}return this.getBufferedFrag(t,n)}getBufferedFrag(t,n){return this.getFragAtPos(t,n,!0)}getFragAtPos(t,n,s){const{fragments:m}=this,E=Object.keys(m);for(let C=E.length;C--;){const j=m[E[C]];if((j==null?void 0:j.body.type)===n&&(!s||j.buffered)){const X=j.body;if(X.start<=t&&t<=X.end)return X}}return null}detectEvictedFragments(t,n,s,m,E){this.timeRanges&&(this.timeRanges[t]=n);const C=(m==null?void 0:m.fragment.sn)||-1;Object.keys(this.fragments).forEach(j=>{const X=this.fragments[j];if(!X||C>=X.body.sn)return;if(!X.buffered&&(!X.loaded||E)){X.body.type===s&&this.removeFragment(X.body);return}const G=X.range[t];if(G){if(G.time.length===0){this.removeFragment(X.body);return}G.time.some(ue=>{const de=!this.isTimeBuffered(ue.startPTS,ue.endPTS,n);return de&&this.removeFragment(X.body),de})}})}detectPartialFragments(t){const n=this.timeRanges;if(!n||t.frag.sn==="initSegment")return;const s=t.frag,m=pi(s),E=this.fragments[m];if(!E||E.buffered&&s.gap)return;const C=!s.relurl;Object.keys(n).forEach(j=>{const X=s.elementaryStreams[j];if(!X)return;const G=n[j],ue=C||X.partial===!0;E.range[j]=this.getBufferedTimes(s,t.part,ue,G)}),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),Ci(E)||this.removeParts(s.sn-1,s.type)):this.removeFragment(E.body)}removeParts(t,n){const s=this.activePartLists[n];s&&(this.activePartLists[n]=bn(s,m=>m.fragment.sn>=t))}fragBuffered(t,n){const s=pi(t);let m=this.fragments[s];!m&&n&&(m=this.fragments[s]={body:t,appendedPTS:null,loaded:null,buffered:!1,range:Object.create(null)},t.gap&&(this.hasGaps=!0)),m&&(m.loaded=null,m.buffered=!0)}getBufferedTimes(t,n,s,m){const E={time:[],partial:s},C=t.start,j=t.end,X=t.minEndPTS||j,G=t.maxStartPTS||C;for(let ue=0;ue<m.length;ue++){const de=m.start(ue)-this.bufferPadding,Ee=m.end(ue)+this.bufferPadding;if(G>=de&&X<=Ee){E.time.push({startPTS:Math.max(C,m.start(ue)),endPTS:Math.min(j,m.end(ue))});break}else if(C<Ee&&j>de){const Re=Math.max(C,m.start(ue)),Le=Math.min(j,m.end(ue));Le>Re&&(E.partial=!0,E.time.push({startPTS:Re,endPTS:Le}))}else if(j<=de)break}return E}getPartialFragment(t){let n=null,s,m,E,C=0;const{bufferPadding:j,fragments:X}=this;return Object.keys(X).forEach(G=>{const ue=X[G];ue&&Ci(ue)&&(m=ue.body.start-j,E=ue.body.end+j,t>=m&&t<=E&&(s=Math.min(t-m,E-t),C<=s&&(n=ue.body,C=s)))}),n}isEndListAppended(t){const n=this.endListFragments[t];return n!==void 0&&(n.buffered||Ci(n))}getState(t){const n=pi(t),s=this.fragments[n];return s?s.buffered?Ci(s)?gn.PARTIAL:gn.OK:gn.APPENDING:gn.NOT_LOADED}isTimeBuffered(t,n,s){let m,E;for(let C=0;C<s.length;C++){if(m=s.start(C)-this.bufferPadding,E=s.end(C)+this.bufferPadding,t>=m&&n<=E)return!0;if(n<=m)return!1}return!1}onManifestLoading(){this.removeAllFragments()}onFragLoaded(t,n){if(n.frag.sn==="initSegment"||n.frag.bitrateTest)return;const s=n.frag,m=n.part?null:n,E=pi(s);this.fragments[E]={body:s,appendedPTS:null,loaded:m,buffered:!1,range:Object.create(null)}}onBufferAppended(t,n){const{frag:s,part:m,timeRanges:E,type:C}=n;if(s.sn==="initSegment")return;const j=s.type;if(m){let G=this.activePartLists[j];G||(this.activePartLists[j]=G=[]),G.push(m)}this.timeRanges=E;const X=E[C];this.detectEvictedFragments(C,X,j,m)}onFragBuffered(t,n){this.detectPartialFragments(n)}hasFragment(t){const n=pi(t);return!!this.fragments[n]}hasFragments(t){const{fragments:n}=this,s=Object.keys(n);if(!t)return s.length>0;for(let m=s.length;m--;){const E=n[s[m]];if((E==null?void 0:E.body.type)===t)return!0}return!1}hasParts(t){var n;return!!((n=this.activePartLists[t])!=null&&n.length)}removeFragmentsInRange(t,n,s,m,E){m&&!this.hasGaps||Object.keys(this.fragments).forEach(C=>{const j=this.fragments[C];if(!j)return;const X=j.body;X.type!==s||m&&!X.gap||X.start<n&&X.end>t&&(j.buffered||E)&&this.removeFragment(X)})}removeFragment(t){const n=pi(t);t.clearElementaryStreamInfo();const s=this.activePartLists[t.type];if(s){const m=t.sn;this.activePartLists[t.type]=bn(s,E=>E.fragment.sn!==m)}delete this.fragments[n],t.endList&&delete this.endListFragments[t.type]}removeAllFragments(){var t;this.fragments=Object.create(null),this.endListFragments=Object.create(null),this.activePartLists=Object.create(null),this.hasGaps=!1;const n=(t=this.hls)==null||(t=t.latestLevelDetails)==null?void 0:t.partList;n&&n.forEach(s=>s.clearElementaryStreamInfo())}}function Ci(O){var t,n,s;return O.buffered&&!!(O.body.gap||(t=O.range.video)!=null&&t.partial||(n=O.range.audio)!=null&&n.partial||(s=O.range.audiovideo)!=null&&s.partial)}function pi(O){return`${O.type}_${O.level}_${O.sn}`}function bn(O,t){return O.filter(n=>{const s=t(n);return s||n.clearElementaryStreamInfo(),s})}var ui={cbc:0,ctr:1};class ta{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 ui.cbc:return this.subtle.decrypt({name:"AES-CBC",iv:this.aesIV},n,t);case ui.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 Ca(O){const t=O.byteLength,n=t&&new DataView(O.buffer).getUint8(t-1);return n?O.slice(0,t-n):O}class Ks{constructor(){this.rcon=[0,1,2,4,8,16,32,64,128,27,54],this.subMix=[new Uint32Array(256),new Uint32Array(256),new Uint32Array(256),new Uint32Array(256)],this.invSubMix=[new Uint32Array(256),new Uint32Array(256),new Uint32Array(256),new Uint32Array(256)],this.sBox=new Uint32Array(256),this.invSBox=new Uint32Array(256),this.key=new Uint32Array(0),this.ksRows=0,this.keySize=0,this.keySchedule=void 0,this.invKeySchedule=void 0,this.initTable()}uint8ArrayToUint32Array_(t){const n=new DataView(t),s=new Uint32Array(4);for(let m=0;m<4;m++)s[m]=n.getUint32(m*4);return s}initTable(){const t=this.sBox,n=this.invSBox,s=this.subMix,m=s[0],E=s[1],C=s[2],j=s[3],X=this.invSubMix,G=X[0],ue=X[1],de=X[2],Ee=X[3],Re=new Uint32Array(256);let Le=0,ut=0,ot=0;for(ot=0;ot<256;ot++)ot<128?Re[ot]=ot<<1:Re[ot]=ot<<1^283;for(ot=0;ot<256;ot++){let Kt=ut^ut<<1^ut<<2^ut<<3^ut<<4;Kt=Kt>>>8^Kt&255^99,t[Le]=Kt,n[Kt]=Le;const er=Re[Le],ir=Re[er],Er=Re[ir];let jr=Re[Kt]*257^Kt*16843008;m[Le]=jr<<24|jr>>>8,E[Le]=jr<<16|jr>>>16,C[Le]=jr<<8|jr>>>24,j[Le]=jr,jr=Er*16843009^ir*65537^er*257^Le*16843008,G[Kt]=jr<<24|jr>>>8,ue[Kt]=jr<<16|jr>>>16,de[Kt]=jr<<8|jr>>>24,Ee[Kt]=jr,Le?(Le=er^Re[Re[Re[Er^er]]],ut^=Re[Re[ut]]):Le=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 C=this.ksRows=(E+6+1)*4;let j,X;const G=this.keySchedule=new Uint32Array(C),ue=this.invKeySchedule=new Uint32Array(C),de=this.sBox,Ee=this.rcon,Re=this.invSubMix,Le=Re[0],ut=Re[1],ot=Re[2],Kt=Re[3];let er,ir;for(j=0;j<C;j++){if(j<E){er=G[j]=n[j];continue}ir=er,j%E===0?(ir=ir<<8|ir>>>24,ir=de[ir>>>24]<<24|de[ir>>>16&255]<<16|de[ir>>>8&255]<<8|de[ir&255],ir^=Ee[j/E|0]<<24):E>6&&j%E===4&&(ir=de[ir>>>24]<<24|de[ir>>>16&255]<<16|de[ir>>>8&255]<<8|de[ir&255]),G[j]=er=(G[j-E]^ir)>>>0}for(X=0;X<C;X++)j=C-X,X&3?ir=G[j]:ir=G[j-4],X<4||j<=4?ue[X]=ir:ue[X]=Le[de[ir>>>24]]^ut[de[ir>>>16&255]]^ot[de[ir>>>8&255]]^Kt[de[ir&255]],ue[X]=ue[X]>>>0}networkToHostOrderSwap(t){return t<<24|(t&65280)<<8|(t&16711680)>>8|t>>>24}decrypt(t,n,s){const m=this.keySize+6,E=this.invKeySchedule,C=this.invSBox,j=this.invSubMix,X=j[0],G=j[1],ue=j[2],de=j[3],Ee=this.uint8ArrayToUint32Array_(s);let Re=Ee[0],Le=Ee[1],ut=Ee[2],ot=Ee[3];const Kt=new Int32Array(t),er=new Int32Array(Kt.length);let ir,Er,jr,pn,Ur,sn,nn,Vr,In,Ei,Ji,va,ea,di;const sa=this.networkToHostOrderSwap;for(;n<Kt.length;){for(In=sa(Kt[n]),Ei=sa(Kt[n+1]),Ji=sa(Kt[n+2]),va=sa(Kt[n+3]),Ur=In^E[0],sn=va^E[1],nn=Ji^E[2],Vr=Ei^E[3],ea=4,di=1;di<m;di++)ir=X[Ur>>>24]^G[sn>>16&255]^ue[nn>>8&255]^de[Vr&255]^E[ea],Er=X[sn>>>24]^G[nn>>16&255]^ue[Vr>>8&255]^de[Ur&255]^E[ea+1],jr=X[nn>>>24]^G[Vr>>16&255]^ue[Ur>>8&255]^de[sn&255]^E[ea+2],pn=X[Vr>>>24]^G[Ur>>16&255]^ue[sn>>8&255]^de[nn&255]^E[ea+3],Ur=ir,sn=Er,nn=jr,Vr=pn,ea=ea+4;ir=C[Ur>>>24]<<24^C[sn>>16&255]<<16^C[nn>>8&255]<<8^C[Vr&255]^E[ea],Er=C[sn>>>24]<<24^C[nn>>16&255]<<16^C[Vr>>8&255]<<8^C[Ur&255]^E[ea+1],jr=C[nn>>>24]<<24^C[Vr>>16&255]<<16^C[Ur>>8&255]<<8^C[sn&255]^E[ea+2],pn=C[Vr>>>24]<<24^C[Ur>>16&255]<<16^C[sn>>8&255]<<8^C[nn&255]^E[ea+3],er[n]=sa(ir^Re),er[n+1]=sa(pn^Le),er[n+2]=sa(jr^ut),er[n+3]=sa(Er^ot),Re=In,Le=Ei,ut=Ji,ot=va,n=n+4}return er.buffer}}class Ha{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=Zs(this.aesMode);return this.subtle.importKey("raw",this.key,{name:t},!1,["encrypt","decrypt"])}}function Zs(O){switch(O){case ui.cbc:return"AES-CBC";case ui.ctr:return"AES-CTR";default:throw new Error(`[FastAESKey] invalid aes mode ${O}`)}}const Js=16;class is{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?Ca(s):s}reset(){this.currentResult=null,this.currentIV=null,this.remainderData=null,this.softwareDecrypter&&(this.softwareDecrypter=null)}decrypt(t,n,s,m){return this.useSoftware?new Promise((E,C)=>{const j=ArrayBuffer.isView(t)?t:new Uint8Array(t);this.softwareDecrypt(j,n,s,m);const X=this.flush();X?E(X.buffer):C(new Error("[softwareDecrypt] Failed to decrypt data"))}):this.webCryptoDecrypt(new Uint8Array(t),n,s,m)}softwareDecrypt(t,n,s,m){const{currentIV:E,currentResult:C,remainderData:j}=this;if(m!==ui.cbc||n.byteLength!==16)return H.warn("SoftwareDecrypt: can only handle AES-128-CBC"),null;this.logOnce("JS AES decrypt"),j&&(t=Vt(j,t),this.remainderData=null);const X=this.getValidChunk(t);if(!X.length)return null;E&&(s=E);let G=this.softwareDecrypter;G||(G=this.softwareDecrypter=new Ks),G.expandKey(n);const ue=C;return this.currentResult=G.decrypt(X.buffer,0,s),this.currentIV=X.slice(-16).buffer,ue||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 Ha(this.subtle,n,m)}return this.fastAesKey.expandKey().then(E=>this.subtle?(this.logOnce("WebCrypto AES decrypt"),new ta(this.subtle,new Uint8Array(s),m).decrypt(t.buffer,E)):Promise.reject(new Error("web crypto not initialized"))).catch(E=>(H.warn(`[decrypter]: WebCrypto Error, disable WebCrypto API, ${E.name}: ${E.message}`),this.onWebCryptoError(t,n,s,m)))}onWebCryptoError(t,n,s,m){const E=this.enableSoftwareAES;if(E){this.useSoftware=!0,this.logEnabled=!0,this.softwareDecrypt(t,n,s,m);const C=this.flush();if(C)return C.buffer}throw new Error("WebCrypto"+(E?" and softwareDecrypt":"")+": failed to decrypt data")}getValidChunk(t){let n=t;const s=t.length-t.length%Js;return s!==t.length&&(n=t.slice(0,s),this.remainderData=t.slice(s)),n}logOnce(t){this.logEnabled&&(H.log(`[decrypter]: ${t}`),this.logEnabled=!1)}}const Hs=Math.pow(2,17);class Aa{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 Bi({type:c.NETWORK_ERROR,details:f.FRAG_LOAD_ERROR,fatal:!1,frag:t,error:new Error(`Fragment does not have a ${s?"part list":"url"}`),networkDetails:null}));this.abort();const m=this.config,E=m.fLoader,C=m.loader;return new Promise((j,X)=>{if(this.loader&&this.loader.destroy(),t.gap)if(t.tagList.some(Le=>Le[0]==="GAP")){X(ds(t));return}else t.gap=!1;const G=this.loader=E?new E(m):new C(m),ue=Ss(t);t.loader=G;const de=Ir(m.fragLoadPolicy.default),Ee={loadPolicy:de,timeout:de.maxLoadTimeMs,maxRetry:0,retryDelay:0,maxRetryDelay:0,highWaterMark:t.sn==="initSegment"?1/0:Hs};t.stats=G.stats;const Re={onSuccess:(Le,ut,ot,Kt)=>{this.resetLoader(t,G);let er=Le.data;ot.resetIV&&t.decryptdata&&(t.decryptdata.iv=new Uint8Array(er.slice(0,16)),er=er.slice(16)),j({frag:t,part:null,payload:er,networkDetails:Kt})},onError:(Le,ut,ot,Kt)=>{this.resetLoader(t,G),X(new Bi({type:c.NETWORK_ERROR,details:f.FRAG_LOAD_ERROR,fatal:!1,frag:t,response:b({url:s,data:void 0},Le),error:new Error(`HTTP Error ${Le.code} ${Le.text}`),networkDetails:ot,stats:Kt}))},onAbort:(Le,ut,ot)=>{this.resetLoader(t,G),X(new Bi({type:c.NETWORK_ERROR,details:f.INTERNAL_ABORTED,fatal:!1,frag:t,error:new Error("Aborted"),networkDetails:ot,stats:Le}))},onTimeout:(Le,ut,ot)=>{this.resetLoader(t,G),X(new Bi({type:c.NETWORK_ERROR,details:f.FRAG_LOAD_TIMEOUT,fatal:!1,frag:t,error:new Error(`Timeout after ${Ee.timeout}ms`),networkDetails:ot,stats:Le}))}};n&&(Re.onProgress=(Le,ut,ot,Kt)=>n({frag:t,part:null,payload:ot,networkDetails:Kt})),G.load(ue,Ee,Re)})}loadPart(t,n,s){this.abort();const m=this.config,E=m.fLoader,C=m.loader;return new Promise((j,X)=>{if(this.loader&&this.loader.destroy(),t.gap||n.gap){X(ds(t,n));return}const G=this.loader=E?new E(m):new C(m),ue=Ss(t,n);t.loader=G;const de=Ir(m.fragLoadPolicy.default),Ee={loadPolicy:de,timeout:de.maxLoadTimeMs,maxRetry:0,retryDelay:0,maxRetryDelay:0,highWaterMark:Hs};n.stats=G.stats,G.load(ue,Ee,{onSuccess:(Re,Le,ut,ot)=>{this.resetLoader(t,G),this.updateStatsFromPart(t,n);const Kt={frag:t,part:n,payload:Re.data,networkDetails:ot};s(Kt),j(Kt)},onError:(Re,Le,ut,ot)=>{this.resetLoader(t,G),X(new Bi({type:c.NETWORK_ERROR,details:f.FRAG_LOAD_ERROR,fatal:!1,frag:t,part:n,response:b({url:ue.url,data:void 0},Re),error:new Error(`HTTP Error ${Re.code} ${Re.text}`),networkDetails:ut,stats:ot}))},onAbort:(Re,Le,ut)=>{t.stats.aborted=n.stats.aborted,this.resetLoader(t,G),X(new Bi({type:c.NETWORK_ERROR,details:f.INTERNAL_ABORTED,fatal:!1,frag:t,part:n,error:new Error("Aborted"),networkDetails:ut,stats:Re}))},onTimeout:(Re,Le,ut)=>{this.resetLoader(t,G),X(new Bi({type:c.NETWORK_ERROR,details:f.FRAG_LOAD_TIMEOUT,fatal:!1,frag:t,part:n,error:new Error(`Timeout after ${Ee.timeout}ms`),networkDetails:ut,stats:Re}))}})})}updateStatsFromPart(t,n){const s=t.stats,m=n.stats,E=m.total;if(s.loaded+=m.loaded,E){const X=Math.round(t.duration/n.duration),G=Math.min(Math.round(s.loaded/E),X),de=(X-G)*Math.round(s.loaded/G);s.total=s.loaded+de}else s.total=Math.max(s.loaded,s.total);const C=s.loading,j=m.loading;C.start?C.first+=j.first-j.start:(C.start=j.start,C.first=j.first),C.end=j.end}resetLoader(t,n){t.loader=null,this.loader===n&&(self.clearTimeout(this.partLoadTimeout),this.loader=null),n.destroy()}}function Ss(O,t=null){const n=t||O,s={frag:O,part:t,responseType:"arraybuffer",url:n.url,headers:{},rangeStart:0,rangeEnd:0},m=n.byteRangeStartOffset,E=n.byteRangeEndOffset;if(r(m)&&r(E)){var C;let j=m,X=E;if(O.sn==="initSegment"&&eo((C=O.decryptdata)==null?void 0:C.method)){const G=E-m;G%16&&(X=E+(16-G%16)),m!==0&&(s.resetIV=!0,j=m-16)}s.rangeStart=j,s.rangeEnd=X}return s}function ds(O,t){const n=new Error(`GAP ${O.gap?"tag":"attribute"} found`),s={type:c.MEDIA_ERROR,details:f.FRAG_GAP,fatal:!1,frag:O,error:n,networkDetails:null};return t&&(s.part=t),(t||O).stats.aborted=!0,new Bi(s)}function eo(O){return O==="AES-128"||O==="AES-256"}class Bi extends Error{constructor(t){super(t.error.message),this.data=void 0,this.data=t}}class ks 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 Bo{constructor(t,n,s,m=0,E=-1,C=!1){this.level=void 0,this.sn=void 0,this.part=void 0,this.id=void 0,this.size=void 0,this.partial=void 0,this.transmuxing=Wa(),this.buffering={audio:Wa(),video:Wa(),audiovideo:Wa()},this.level=t,this.sn=n,this.id=s,this.size=m,this.part=E,this.partial=C}}function Wa(){return{start:0,executeStart:0,executeEnd:0,end:0}}const Rs={length:0,start:()=>0,end:()=>0};class ci{static isBuffered(t,n){if(t){const s=ci.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=ci.getBuffered(t);return ci.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=ci.bufferedRanges(t);if(m.length)return ci.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((ue,de)=>ue.start-de.start||de.end-ue.end);let m=-1,E=[];if(s)for(let ue=0;ue<t.length;ue++){n>=t[ue].start&&n<=t[ue].end&&(m=ue);const de=E.length;if(de){const Ee=E[de-1].end;t[ue].start-Ee<s?t[ue].end>Ee&&(E[de-1].end=t[ue].end):E.push(t[ue])}else E.push(t[ue])}else E=t;let C=0,j,X=n,G=n;for(let ue=0;ue<E.length;ue++){const de=E[ue].start,Ee=E[ue].end;if(m===-1&&n>=de&&n<=Ee&&(m=ue),n+s>=de&&n<Ee)X=de,G=Ee,C=G-n;else if(n+s<de){j=de;break}}return{len:C,start:X||0,end:G||0,nextStart:j,buffered:t,bufferedIndex:m}}static getBuffered(t){try{return t.buffered||Rs}catch(n){return H.log("failed to get media.buffered",n),Rs}}}const fo=/\{\$([a-zA-Z0-9-_]+)\}/g;function Nn(O){return fo.test(O)}function Ja(O,t){if(O.variableList!==null||O.hasVariableRefs){const n=O.variableList;return t.replace(fo,s=>{const m=s.substring(2,s.length-1),E=n==null?void 0:n[m];return E===void 0?(O.playlistParsingError||(O.playlistParsingError=new Error(`Missing preceding EXT-X-DEFINE tag for Variable Reference: "${m}"`)),s):E})}return t}function As(O,t,n){let s=O.variableList;s||(O.variableList=s={});let m,E;if("QUERYPARAM"in t){m=t.QUERYPARAM;try{const C=new self.URL(n).searchParams;if(C.has(m))E=C.get(m);else throw new Error(`"${m}" does not match any query parameter in URI: "${n}"`)}catch(C){O.playlistParsingError||(O.playlistParsingError=new Error(`EXT-X-DEFINE QUERYPARAM: ${C.message}`))}}else m=t.NAME,E=t.VALUE;m in s?O.playlistParsingError||(O.playlistParsingError=new Error(`EXT-X-DEFINE duplicate Variable Name declarations: "${m}"`)):s[m]=E||""}function Ps(O,t,n){const s=t.IMPORT;if(n&&s in n){let m=O.variableList;m||(O.variableList=m={}),m[s]=n[s]}else O.playlistParsingError||(O.playlistParsingError=new Error(`EXT-X-DEFINE IMPORT attribute not found in Multivariant Playlist: "${s}"`))}const ca=/^(\d+)x(\d+)$/,es=/(.+?)=(".*?"|.*?)(?:,|$)/g;class Yi{constructor(t,n){typeof t=="string"&&(t=Yi.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=ca.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(es.lastIndex=0;(s=es.exec(t))!==null;){const C=s[1].trim();let j=s[2];const X=j.indexOf(E)===0&&j.lastIndexOf(E)===j.length-1;let G=!1;if(X)j=j.slice(1,-1);else switch(C){case"IV":case"SCTE35-CMD":case"SCTE35-IN":case"SCTE35-OUT":G=!0}if(n&&(X||G))j=Ja(n,j);else if(!G&&!X)switch(C){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":H.warn(`${t}: attribute ${C} is missing quotes`)}m[C]=j}return m}}const Ws="com.apple.hls.interstitial";function vo(O){return O!=="ID"&&O!=="CLASS"&&O!=="CUE"&&O!=="START-DATE"&&O!=="DURATION"&&O!=="END-DATE"&&O!=="END-ON-NEXT"}function Wo(O){return O==="SCTE35-OUT"||O==="SCTE35-IN"||O==="SCTE35-CMD"}class Go{constructor(t,n,s=0){var m;if(this.attr=void 0,this.tagAnchor=void 0,this.tagOrder=void 0,this._startDate=void 0,this._endDate=void 0,this._dateAtEnd=void 0,this._cue=void 0,this._badValueForSameId=void 0,this.tagAnchor=(n==null?void 0:n.tagAnchor)||null,this.tagOrder=(m=n==null?void 0:n.tagOrder)!=null?m:s,n){const E=n.attr;for(const C in E)if(Object.prototype.hasOwnProperty.call(t,C)&&t[C]!==E[C]){H.warn(`DATERANGE tag attribute: "${C}" does not match for tags with ID: "${t.ID}"`),this._badValueForSameId=C;break}t=y(new Yi({}),E,t)}if(this.attr=t,n?(this._startDate=n._startDate,this._cue=n._cue,this._endDate=n._endDate,this._dateAtEnd=n._dateAtEnd):this._startDate=new Date(t["START-DATE"]),"END-DATE"in this.attr){const E=(n==null?void 0:n.endDate)||new Date(this.attr["END-DATE"]);r(E.getTime())&&(this._endDate=E)}}get id(){return this.attr.ID}get class(){return this.attr.CLASS}get cue(){const t=this._cue;return t===void 0?this._cue=this.attr.enumeratedStringList(this.attr.CUE?"CUE":"X-CUE",{pre:!1,post:!1,once:!1}):t}get startTime(){const{tagAnchor:t}=this;return t===null||t.programDateTime===null?(H.warn(`Expected tagAnchor Fragment with PDT set for DateRange "${this.id}": ${t}`),NaN):t.start+(this.startDate.getTime()-t.programDateTime)/1e3}get startDate(){return this._startDate}get endDate(){const t=this._endDate||this._dateAtEnd;if(t)return t;const n=this.duration;return n!==null?this._dateAtEnd=new Date(this._startDate.getTime()+n*1e3):null}get duration(){if("DURATION"in this.attr){const t=this.attr.decimalFloatingPoint("DURATION");if(r(t))return t}else if(this._endDate)return(this._endDate.getTime()-this._startDate.getTime())/1e3;return null}get plannedDuration(){return"PLANNED-DURATION"in this.attr?this.attr.decimalFloatingPoint("PLANNED-DURATION"):null}get endOnNext(){return this.attr.bool("END-ON-NEXT")}get isInterstitial(){return this.class===Ws}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 mu=10;class uu{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}hasKey(t){return this.encryptedFragments.some(n=>{let s=n.decryptdata;return s||(n.setKeyFormat(t.keyFormat),s=n.decryptdata),!!s&&t.matches(s)})}get hasProgramDateTime(){return this.fragments.length?r(this.fragments[this.fragments.length-1].programDateTime):!1}get levelTargetDuration(){return this.averagetargetduration||this.targetduration||mu}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(){return this.fragments.length?this.fragments[this.fragments.length-1].end:0}get fragmentStart(){return this.fragments.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 ho(O,t){return O.length===t.length?!O.some((n,s)=>n!==t[s]):!1}function No(O,t){return!O&&!t?!0:!O||!t?!1:ho(O,t)}function Co(O){return O==="AES-128"||O==="AES-256"||O==="AES-256-CTR"}function qo(O){switch(O){case"AES-128":case"AES-256":return ui.cbc;case"AES-256-CTR":return ui.ctr;default:throw new Error(`invalid full segment method ${O}`)}}function Ko(O){return Uint8Array.from(atob(O),t=>t.charCodeAt(0))}function vi(O){return Uint8Array.from(unescape(encodeURIComponent(O)),t=>t.charCodeAt(0))}function _i(O){const t=vi(O).subarray(0,16),n=new Uint8Array(16);return n.set(t,16-t.length),n}function ts(O){const t=function(s,m,E){const C=s[m];s[m]=s[E],s[E]=C};t(O,0,3),t(O,1,2),t(O,4,5),t(O,6,7)}function ss(O){const t=O.split(":");let n=null;if(t[0]==="data"&&t.length===2){const s=t[1].split(";"),m=s[s.length-1].split(",");if(m.length===2){const E=m[0]==="base64",C=m[1];E?(s.splice(-1,1),n=Ko(C)):n=_i(C)}}return n}const as=typeof self!="undefined"?self:void 0;var Ga={CLEARKEY:"org.w3.clearkey",FAIRPLAY:"com.apple.fps",PLAYREADY:"com.microsoft.playready",WIDEVINE:"com.widevine.alpha"},hs={CLEARKEY:"org.w3.clearkey",FAIRPLAY:"com.apple.streamingkeydelivery",PLAYREADY:"com.microsoft.playready",WIDEVINE:"urn:uuid:edef8ba9-79d6-4ace-a3c8-27dcd51d21ed"};function Jo(O){switch(O){case hs.FAIRPLAY:return Ga.FAIRPLAY;case hs.PLAYREADY:return Ga.PLAYREADY;case hs.WIDEVINE:return Ga.WIDEVINE;case hs.CLEARKEY:return Ga.CLEARKEY}}function Is(O){switch(O){case Ga.FAIRPLAY:return hs.FAIRPLAY;case Ga.PLAYREADY:return hs.PLAYREADY;case Ga.WIDEVINE:return hs.WIDEVINE;case Ga.CLEARKEY:return hs.CLEARKEY}}function ko(O){const{drmSystems:t,widevineLicenseUrl:n}=O,s=t?[Ga.FAIRPLAY,Ga.WIDEVINE,Ga.PLAYREADY,Ga.CLEARKEY].filter(m=>!!t[m]):[];return!s[Ga.WIDEVINE]&&n&&s.push(Ga.WIDEVINE),s}const vu=function(O){return as!=null&&(O=as.navigator)!=null&&O.requestMediaKeySystemAccess?self.navigator.requestMediaKeySystemAccess.bind(self.navigator):null}();function wu(O,t,n,s){let m;switch(O){case Ga.FAIRPLAY:m=["cenc","sinf"];break;case Ga.WIDEVINE:case Ga.PLAYREADY:m=["cenc"];break;case Ga.CLEARKEY:m=["cenc","keyids"];break;default:throw new Error(`Unknown key-system: ${O}`)}return qu(m,t,n,s)}function qu(O,t,n,s){return[{initDataTypes:O,persistentState:s.persistentState||"optional",distinctiveIdentifier:s.distinctiveIdentifier||"optional",sessionTypes:s.sessionTypes||[s.sessionType||"temporary"],audioCapabilities:t.map(E=>({contentType:`audio/mp4; codecs=${E}`,robustness:s.audioRobustness||"",encryptionScheme:s.audioEncryptionScheme||null})),videoCapabilities:n.map(E=>({contentType:`video/mp4; codecs=${E}`,robustness:s.videoRobustness||"",encryptionScheme:s.videoEncryptionScheme||null}))}]}function ll(O){var t;return!!O&&(O.sessionType==="persistent-license"||!!((t=O.sessionTypes)!=null&&t.some(n=>n==="persistent-license")))}function Ro(O){const t=new Uint16Array(O.buffer,O.byteOffset,O.byteLength/2),n=String.fromCharCode.apply(null,Array.from(t)),s=n.substring(n.indexOf("<"),n.length),C=new DOMParser().parseFromString(s,"text/xml").getElementsByTagName("KID")[0];if(C){const j=C.childNodes[0]?C.childNodes[0].nodeValue:C.getAttribute("VALUE");if(j){const X=Ko(j).subarray(0,16);return ts(X),X}}return null}let to={};class $o{static clearKeyUriToKeyIdMap(){to={}}static setKeyIdForUri(t,n){to[t]=n}constructor(t,n,s,m=[1],E=null,C){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&&!Co(t),C!=null&&C.startsWith("0x")&&(this.keyId=new Uint8Array(K(C)))}matches(t){return t.uri===this.uri&&t.method===this.method&&t.encrypted===this.encrypted&&t.keyFormat===this.keyFormat&&ho(t.keyFormatVersions,this.keyFormatVersions)&&No(t.iv,this.iv)&&No(t.keyId,this.keyId)}isSupported(){if(this.method){if(Co(this.method)||this.method==="NONE")return!0;if(this.keyFormat==="identity")return this.method==="SAMPLE-AES";switch(this.keyFormat){case hs.FAIRPLAY:case hs.WIDEVINE:case hs.PLAYREADY:case hs.CLEARKEY:return["SAMPLE-AES","SAMPLE-AES-CENC","SAMPLE-AES-CTR"].indexOf(this.method)!==-1}}return!1}getDecryptData(t,n){if(!this.encrypted||!this.uri)return null;if(Co(this.method)){let E=this.iv;return E||(typeof t!="number"&&(H.warn(`missing IV for initialization segment with method="${this.method}" - compliance issue`),t=0),E=jo(t)),new $o(this.method,this.uri,"identity",this.keyFormatVersions,E)}if(this.keyId){const E=to[this.uri];if(E&&!ho(this.keyId,E)&&$o.setKeyIdForUri(this.uri,this.keyId),this.pssh)return this}const s=ss(this.uri);if(s)switch(this.keyFormat){case hs.WIDEVINE:if(this.pssh=s,!this.keyId){const E=It(s.buffer);if(E.length){var m;const C=E[0];this.keyId=(m=C.kids)!=null&&m.length?C.kids[0]:null}}this.keyId||(this.keyId=Lo(n));break;case hs.PLAYREADY:{const E=new Uint8Array([154,4,240,121,152,64,66,134,171,146,230,91,224,136,95,149]);this.pssh=pe(E,null,s),this.keyId=Ro(s);break}default:{let E=s.subarray(0,16);if(E.length!==16){const C=new Uint8Array(16);C.set(E,16-E.length),E=C}this.keyId=E;break}}if(!this.keyId||this.keyId.byteLength!==16){let E;E=ju(n),E||(E=Lo(n),E||(E=to[this.uri])),E&&(this.keyId=E,$o.setKeyIdForUri(this.uri,E))}return this}}function ju(O){const t=O==null?void 0:O[hs.WIDEVINE];return t?t.keyId:null}function Lo(O){const t=O==null?void 0:O[hs.PLAYREADY];if(t){const n=ss(t.uri);if(n)return Ro(n)}return null}function jo(O){const t=new Uint8Array(16);for(let n=12;n<16;n++)t[n]=O>>8*(15-n)&255;return t}const Mu=/#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,eu=/#EXT-X-MEDIA:(.*)/g,hu=/^#EXT(?:INF|-X-TARGETDURATION):/m,ro=new RegExp([/#EXTINF:\s*(\d*(?:\.\d+)?)(?:,(.*)\s+)?/.source,/(?!#) *(\S[^\r\n]*)/.source,/#.*/.source].join("|"),"g"),tu=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 Uo{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 hu.test(t)}static parseMasterPlaylist(t,n){const s=Nn(t),m={contentSteering:null,levels:[],playlistParsingError:null,sessionData:null,sessionKeys:null,startTimeOffset:null,variableList:null,hasVariableRefs:s},E=[];if(Mu.lastIndex=0,!t.startsWith("#EXTM3U"))return m.playlistParsingError=new Error("no EXTM3U delimiter"),m;let C;for(;(C=Mu.exec(t))!=null;)if(C[1]){var j;const G=new Yi(C[1],m),ue=Ja(m,C[2]),de={attrs:G,bitrate:G.decimalInteger("BANDWIDTH")||G.decimalInteger("AVERAGE-BANDWIDTH"),name:G.NAME,url:Uo.resolve(ue,n)},Ee=G.decimalResolution("RESOLUTION");Ee&&(de.width=Ee.width,de.height=Ee.height),Sr(G.CODECS,de);const Re=G["SUPPLEMENTAL-CODECS"];Re&&(de.supplemental={},Sr(Re,de.supplemental)),(j=de.unknownCodecs)!=null&&j.length||E.push(de),m.levels.push(de)}else if(C[3]){const G=C[3],ue=C[4];switch(G){case"SESSION-DATA":{const de=new Yi(ue,m),Ee=de["DATA-ID"];Ee&&(m.sessionData===null&&(m.sessionData={}),m.sessionData[Ee]=de);break}case"SESSION-KEY":{const de=ur(ue,n,m);de.encrypted&&de.isSupported()?(m.sessionKeys===null&&(m.sessionKeys=[]),m.sessionKeys.push(de)):H.warn(`[Keys] Ignoring invalid EXT-X-SESSION-KEY tag: "${ue}"`);break}case"DEFINE":{{const de=new Yi(ue,m);As(m,de,n)}break}case"CONTENT-STEERING":{const de=new Yi(ue,m);m.contentSteering={uri:Uo.resolve(de["SERVER-URI"],n),pathwayId:de["PATHWAY-ID"]||"."};break}case"START":{m.startTimeOffset=hr(ue);break}}}const X=E.length>0&&E.length<m.levels.length;return m.levels=X?E:m.levels,m.levels.length===0&&(m.playlistParsingError=new Error("no levels found in manifest")),m}static parseMasterPlaylistMedia(t,n,s){let m;const E={},C=s.levels,j={AUDIO:C.map(G=>({id:G.attrs.AUDIO,audioCodec:G.audioCodec})),SUBTITLES:C.map(G=>({id:G.attrs.SUBTITLES,textCodec:G.textCodec})),"CLOSED-CAPTIONS":[]};let X=0;for(eu.lastIndex=0;(m=eu.exec(t))!==null;){const G=new Yi(m[1],s),ue=G.TYPE;if(ue){const de=j[ue],Ee=E[ue]||[];E[ue]=Ee;const Re=G.LANGUAGE,Le=G["ASSOC-LANGUAGE"],ut=G.CHANNELS,ot=G.CHARACTERISTICS,Kt=G["INSTREAM-ID"],er={attrs:G,bitrate:0,id:X++,groupId:G["GROUP-ID"]||"",name:G.NAME||Re||"",type:ue,default:G.bool("DEFAULT"),autoselect:G.bool("AUTOSELECT"),forced:G.bool("FORCED"),lang:Re,url:G.URI?Uo.resolve(G.URI,n):""};if(Le&&(er.assocLang=Le),ut&&(er.channels=ut),ot&&(er.characteristics=ot),Kt&&(er.instreamId=Kt),de!=null&&de.length){const ir=Uo.findGroup(de,er.groupId)||de[0];yn(er,ir,"audioCodec"),yn(er,ir,"textCodec")}Ee.push(er)}}return E}static parseLevelPlaylist(t,n,s,m,E,C){var j;const X={url:n},G=new uu(n),ue=G.fragments,de=[];let Ee=null,Re=0,Le=0,ut=0,ot=0,Kt=0,er=null,ir=new Pe(m,X),Er,jr,pn,Ur=-1,sn=!1,nn=null,Vr;if(ro.lastIndex=0,G.m3u8=t,G.hasVariableRefs=Nn(t),((j=ro.exec(t))==null?void 0:j[0])!=="#EXTM3U")return G.playlistParsingError=new Error("Missing format identifier #EXTM3U"),G;for(;(Er=ro.exec(t))!==null;){sn&&(sn=!1,ir=new Pe(m,X),ir.playlistOffset=ut,ir.setStart(ut),ir.sn=Re,ir.cc=ot,Kt&&(ir.bitrate=Kt),ir.level=s,Ee&&(ir.initSegment=Ee,Ee.rawProgramDateTime&&(ir.rawProgramDateTime=Ee.rawProgramDateTime,Ee.rawProgramDateTime=null),nn&&(ir.setByteRange(nn),nn=null)));const va=Er[1];if(va){ir.duration=parseFloat(va);const ea=(" "+Er[2]).slice(1);ir.title=ea||null,ir.tagList.push(ea?["INF",va,ea]:["INF",va])}else if(Er[3]){if(r(ir.duration)){ir.playlistOffset=ut,ir.setStart(ut),pn&&li(ir,pn,G),ir.sn=Re,ir.level=s,ir.cc=ot,ue.push(ir);const ea=(" "+Er[3]).slice(1);ir.relurl=Ja(G,ea),Rn(ir,er,de),er=ir,ut+=ir.duration,Re++,Le=0,sn=!0}}else{if(Er=Er[0].match(tu),!Er){H.warn("No matches on slow regex match for level playlist!");continue}for(jr=1;jr<Er.length&&Er[jr]===void 0;jr++);const ea=(" "+Er[jr]).slice(1),di=(" "+Er[jr+1]).slice(1),sa=Er[jr+2]?(" "+Er[jr+2]).slice(1):null;switch(ea){case"BYTERANGE":er?ir.setByteRange(di,er):ir.setByteRange(di);break;case"PROGRAM-DATE-TIME":ir.rawProgramDateTime=di,ir.tagList.push(["PROGRAM-DATE-TIME",di]),Ur===-1&&(Ur=ue.length);break;case"PLAYLIST-TYPE":G.type&&ei(G,ea,Er),G.type=di.toUpperCase();break;case"MEDIA-SEQUENCE":G.startSN!==0?ei(G,ea,Er):ue.length>0&&cr(G,ea,Er),Re=G.startSN=parseInt(di);break;case"SKIP":{G.skippedSegments&&ei(G,ea,Er);const ki=new Yi(di,G),ha=ki.decimalInteger("SKIPPED-SEGMENTS");if(r(ha)){G.skippedSegments+=ha;for(let bi=ha;bi--;)ue.push(null);Re+=ha}const Na=ki.enumeratedString("RECENTLY-REMOVED-DATERANGES");Na&&(G.recentlyRemovedDateranges=(G.recentlyRemovedDateranges||[]).concat(Na.split(" ")));break}case"TARGETDURATION":G.targetduration!==0&&ei(G,ea,Er),G.targetduration=Math.max(parseInt(di),1);break;case"VERSION":G.version!==null&&ei(G,ea,Er),G.version=parseInt(di);break;case"INDEPENDENT-SEGMENTS":break;case"ENDLIST":G.live||ei(G,ea,Er),G.live=!1;break;case"#":(di||sa)&&ir.tagList.push(sa?[di,sa]:[di]);break;case"DISCONTINUITY":ot++,ir.tagList.push(["DIS"]);break;case"GAP":ir.gap=!0,ir.tagList.push([ea]);break;case"BITRATE":ir.tagList.push([ea,di]),Kt=parseInt(di)*1e3,r(Kt)?ir.bitrate=Kt:Kt=0;break;case"DATERANGE":{const ki=new Yi(di,G),ha=new Go(ki,G.dateRanges[ki.ID],G.dateRangeTagCount);G.dateRangeTagCount++,ha.isValid||G.skippedSegments?G.dateRanges[ha.id]=ha:H.warn(`Ignoring invalid DATERANGE tag: "${di}"`),ir.tagList.push(["EXT-X-DATERANGE",di]);break}case"DEFINE":{{const ki=new Yi(di,G);"IMPORT"in ki?Ps(G,ki,C):As(G,ki,n)}break}case"DISCONTINUITY-SEQUENCE":G.startCC!==0?ei(G,ea,Er):ue.length>0&&cr(G,ea,Er),G.startCC=ot=parseInt(di);break;case"KEY":{const ki=ur(di,n,G);if(ki.isSupported()){if(ki.method==="NONE"){pn=void 0;break}pn||(pn={});const ha=pn[ki.keyFormat];ha!=null&&ha.matches(ki)||(ha&&(pn=y({},pn)),pn[ki.keyFormat]=ki)}else H.warn(`[Keys] Ignoring unsupported EXT-X-KEY tag: "${di}"`);break}case"START":G.startTimeOffset=hr(di);break;case"MAP":{const ki=new Yi(di,G);if(ir.duration){const ha=new Pe(m,X);Hn(ha,ki,s,pn),Ee=ha,ir.initSegment=Ee,Ee.rawProgramDateTime&&!ir.rawProgramDateTime&&(ir.rawProgramDateTime=Ee.rawProgramDateTime)}else{const ha=ir.byteRangeEndOffset;if(ha){const Na=ir.byteRangeStartOffset;nn=`${ha-Na}@${Na}`}else nn=null;Hn(ir,ki,s,pn),Ee=ir,sn=!0}Ee.cc=ot;break}case"SERVER-CONTROL":{Vr&&ei(G,ea,Er),Vr=new Yi(di),G.canBlockReload=Vr.bool("CAN-BLOCK-RELOAD"),G.canSkipUntil=Vr.optionalFloat("CAN-SKIP-UNTIL",0),G.canSkipDateRanges=G.canSkipUntil>0&&Vr.bool("CAN-SKIP-DATERANGES"),G.partHoldBack=Vr.optionalFloat("PART-HOLD-BACK",0),G.holdBack=Vr.optionalFloat("HOLD-BACK",0);break}case"PART-INF":{G.partTarget&&ei(G,ea,Er);const ki=new Yi(di);G.partTarget=ki.decimalFloatingPoint("PART-TARGET");break}case"PART":{let ki=G.partList;ki||(ki=G.partList=[]);const ha=Le>0?ki[ki.length-1]:void 0,Na=Le++,bi=new Yi(di,G),xi=new We(bi,ir,X,Na,ha);ki.push(xi),ir.duration+=xi.duration;break}case"PRELOAD-HINT":{const ki=new Yi(di,G);G.preloadHint=ki;break}case"RENDITION-REPORT":{const ki=new Yi(di,G);G.renditionReports=G.renditionReports||[],G.renditionReports.push(ki);break}default:H.warn(`line parsed but not handled: ${Er}`);break}}}er&&!er.relurl?(ue.pop(),ut-=er.duration,G.partList&&(G.fragmentHint=er)):G.partList&&(Rn(ir,er,de),ir.cc=ot,G.fragmentHint=ir,pn&&li(ir,pn,G)),G.targetduration||(G.playlistParsingError=new Error("Missing Target Duration"));const In=ue.length,Ei=ue[0],Ji=ue[In-1];if(ut+=G.skippedSegments*G.targetduration,ut>0&&In&&Ji){G.averagetargetduration=ut/In;const va=Ji.sn;G.endSN=va!=="initSegment"?va:0,G.live||(Ji.endList=!0),Ur>0&&(Zn(ue,Ur),Ei&&de.unshift(Ei))}return G.fragmentHint&&(ut+=G.fragmentHint.duration),G.totalduration=ut,de.length&&G.dateRangeTagCount&&Ei&&Jt(de,G),G.endCC=ot,G}}function Jt(O,t){let n=O.length;if(!n)if(t.hasProgramDateTime){const j=t.fragments[t.fragments.length-1];O.push(j),n++}else return;const s=O[n-1],m=t.live?1/0:t.totalduration,E=Object.keys(t.dateRanges);for(let j=E.length;j--;){const X=t.dateRanges[E[j]],G=X.startDate.getTime();X.tagAnchor=s.ref;for(let ue=n;ue--;){var C;if(((C=O[ue])==null?void 0:C.sn)<t.startSN)break;const de=dr(t,G,O,ue,m);if(de!==-1){X.tagAnchor=t.fragments[de].ref;break}}}}function dr(O,t,n,s,m){const E=n[s];if(E){const j=E.programDateTime;if(t>=j||s===0){var C;const X=(((C=n[s+1])==null?void 0:C.start)||m)-E.start;if(t<=j+X*1e3){const G=n[s].sn-O.startSN;if(G<0)return-1;const ue=O.fragments;if(ue.length>n.length){const Ee=(n[s+1]||ue[ue.length-1]).sn-O.startSN;for(let Re=Ee;Re>G;Re--){const Le=ue[Re].programDateTime;if(t>=Le&&t<Le+ue[Re].duration*1e3)return Re}}return G}}}return-1}function ur(O,t,n){var s,m;const E=new Yi(O,n),C=(s=E.METHOD)!=null?s:"",j=E.URI,X=E.hexadecimalInteger("IV"),G=E.KEYFORMATVERSIONS,ue=(m=E.KEYFORMAT)!=null?m:"identity";j&&E.IV&&!X&&H.error(`Invalid IV: ${E.IV}`);const de=j?Uo.resolve(j,t):"",Ee=(G||"1").split("/").map(Number).filter(Number.isFinite);return new $o(C,de,ue,Ee,X,E.KEYID)}function hr(O){const n=new Yi(O).decimalFloatingPoint("TIME-OFFSET");return r(n)?n:null}function Sr(O,t){let n=(O||"").split(/[ ,]+/).filter(s=>s);["video","audio","text"].forEach(s=>{const m=n.filter(E=>Tt(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 yn(O,t,n){const s=t[n];s&&(O[n]=s)}function Zn(O,t){let n=O[t];for(let s=t;s--;){const m=O[s];if(!m)return;m.programDateTime=n.programDateTime-m.duration*1e3,n=m}}function Rn(O,t,n){O.rawProgramDateTime?n.push(O):t!=null&&t.programDateTime&&(O.programDateTime=t.endProgramDateTime)}function Hn(O,t,n,s){O.relurl=t.URI,t.BYTERANGE&&O.setByteRange(t.BYTERANGE),O.level=n,O.sn="initSegment",s&&(O.levelkeys=s),O.initSegment=null}function li(O,t,n){O.levelkeys=t;const{encryptedFragments:s}=n;(!s.length||s[s.length-1].levelkeys!==t)&&Object.keys(t).some(m=>t[m].isCommonEncryption)&&s.push(O)}function ei(O,t,n){O.playlistParsingError=new Error(`#EXT-X-${t} must not appear more than once (${n[0]})`)}function cr(O,t,n){O.playlistParsingError=new Error(`#EXT-X-${t} must appear before the first Media Segment (${n[0]})`)}function Mr(O,t){const n=t.startPTS;if(r(n)){let s=0,m;t.sn>O.sn?(s=n-O.start,m=O):(s=O.start-n,m=t),m.duration!==s&&m.setDuration(s)}else t.sn>O.sn?O.cc===t.cc&&O.minEndPTS?t.setStart(O.start+(O.minEndPTS-O.start)):t.setStart(O.start+O.duration):t.setStart(Math.max(O.start-t.duration,0))}function Fr(O,t,n,s,m,E,C){s-n<=0&&(C.warn("Fragment should have a positive duration",t),s=n+t.duration,E=m+t.duration);let X=n,G=s;const ue=t.startPTS,de=t.endPTS;if(r(ue)){const Kt=Math.abs(ue-n);O&&Kt>O.totalduration?C.warn(`media timestamps and playlist times differ by ${Kt}s for level ${t.level} ${O.url}`):r(t.deltaPTS)?t.deltaPTS=Math.max(Kt,t.deltaPTS):t.deltaPTS=Kt,X=Math.max(n,ue),n=Math.min(n,ue),m=t.startDTS!==void 0?Math.min(m,t.startDTS):m,G=Math.min(s,de),s=Math.max(s,de),E=t.endDTS!==void 0?Math.max(E,t.endDTS):E}const Ee=n-t.start;t.start!==0&&t.setStart(n),t.setDuration(s-t.start),t.startPTS=n,t.maxStartPTS=X,t.startDTS=m,t.endPTS=s,t.minEndPTS=G,t.endDTS=E;const Re=t.sn;if(!O||Re<O.startSN||Re>O.endSN)return 0;let Le;const ut=Re-O.startSN,ot=O.fragments;for(ot[ut]=t,Le=ut;Le>0;Le--)Mr(ot[Le],ot[Le-1]);for(Le=ut;Le<ot.length-1;Le++)Mr(ot[Le],ot[Le+1]);return O.fragmentHint&&Mr(ot[ot.length-1],O.fragmentHint),O.PTSKnown=O.alignedSliding=!0,Ee}function Sn(O,t,n){if(O===t)return;let s=null;const m=O.fragments;for(let ue=m.length-1;ue>=0;ue--){const de=m[ue].initSegment;if(de){s=de;break}}O.fragmentHint&&delete O.fragmentHint.endPTS;let E;jn(O,t,(ue,de,Ee,Re)=>{if((!t.startCC||t.skippedSegments)&&de.cc!==ue.cc){const Le=ue.cc-de.cc;for(let ut=Ee;ut<Re.length;ut++)Re[ut].cc+=Le;t.endCC=Re[Re.length-1].cc}r(ue.startPTS)&&r(ue.endPTS)&&(de.setStart(de.startPTS=ue.startPTS),de.startDTS=ue.startDTS,de.maxStartPTS=ue.maxStartPTS,de.endPTS=ue.endPTS,de.endDTS=ue.endDTS,de.minEndPTS=ue.minEndPTS,de.setDuration(ue.endPTS-ue.startPTS),de.duration&&(E=de),t.PTSKnown=t.alignedSliding=!0),ue.hasStreams&&(de.elementaryStreams=ue.elementaryStreams),de.loader=ue.loader,ue.hasStats&&(de.stats=ue.stats),ue.initSegment&&(de.initSegment=ue.initSegment,s=ue.initSegment)});const C=t.fragments,j=t.fragmentHint?C.concat(t.fragmentHint):C;if(s&&j.forEach(ue=>{var de;ue&&(!ue.initSegment||ue.initSegment.relurl===((de=s)==null?void 0:de.relurl))&&(ue.initSegment=s)}),t.skippedSegments){if(t.deltaUpdateFailed=C.some(ue=>!ue),t.deltaUpdateFailed){n.warn("[level-helper] Previous playlist missing segments skipped in delta playlist");for(let ue=t.skippedSegments;ue--;)C.shift();t.startSN=C[0].sn}else{t.canSkipDateRanges&&(t.dateRanges=Tn(O.dateRanges,t,n));const ue=O.fragments.filter(de=>de.rawProgramDateTime);if(O.hasProgramDateTime&&!t.hasProgramDateTime)for(let de=1;de<j.length;de++)j[de].programDateTime===null&&Rn(j[de],j[de-1],ue);Jt(ue,t)}t.endCC=C[C.length-1].cc}if(!t.startCC){var X;const ue=pa(O,t.startSN-1);t.startCC=(X=ue==null?void 0:ue.cc)!=null?X:C[0].cc}pt(O.partList,t.partList,(ue,de)=>{de.elementaryStreams=ue.elementaryStreams,de.stats=ue.stats}),E?Fr(t,E,E.startPTS,E.endPTS,E.startDTS,E.endDTS,n):Ni(O,t),C.length&&(t.totalduration=t.edge-C[0].start),t.driftStartTime=O.driftStartTime,t.driftStart=O.driftStart;const G=t.advancedDateTime;if(t.advanced&&G){const ue=t.edge;t.driftStart||(t.driftStartTime=G,t.driftStart=ue),t.driftEndTime=G,t.driftEnd=ue}else t.driftEndTime=O.driftEndTime,t.driftEnd=O.driftEnd,t.advancedDateTime=O.advancedDateTime;t.requestScheduled===-1&&(t.requestScheduled=O.requestScheduled)}function Tn(O,t,n){const{dateRanges:s,recentlyRemovedDateranges:m}=t,E=y({},O);m&&m.forEach(X=>{delete E[X]});const j=Object.keys(E).length;return j?(Object.keys(s).forEach(X=>{const G=E[X],ue=new Go(s[X].attr,G);ue.isValid?(E[X]=ue,G||(ue.tagOrder+=j)):n.warn(`Ignoring invalid Playlist Delta Update DATERANGE tag: "${zi(s[X].attr)}"`)}),E):s}function pt(O,t,n){if(O&&t){let s=0;for(let m=0,E=O.length;m<=E;m++){const C=O[m],j=t[m+s];C&&j&&C.index===j.index&&C.fragment.sn===j.fragment.sn?n(C,j):s--}}}function jn(O,t,n){const s=t.skippedSegments,m=Math.max(O.startSN,t.startSN)-t.startSN,E=(O.fragmentHint?1:0)+(s?t.endSN:Math.min(O.endSN,t.endSN))-t.startSN,C=t.startSN-O.startSN,j=t.fragmentHint?t.fragments.concat(t.fragmentHint):t.fragments,X=O.fragmentHint?O.fragments.concat(O.fragmentHint):O.fragments;for(let G=m;G<=E;G++){const ue=X[C+G];let de=j[G];if(s&&!de&&ue&&(de=t.fragments[G]=ue),ue&&de){n(ue,de,G,j);const Ee=ue.relurl,Re=de.relurl;if(Ee&&Vs(Ee,Re)){t.playlistParsingError=Wn(`media sequence mismatch ${de.sn}:`,O,t,ue,de);return}else if(ue.cc!==de.cc){t.playlistParsingError=Wn(`discontinuity sequence mismatch (${ue.cc}!=${de.cc})`,O,t,ue,de);return}}}}function Wn(O,t,n,s,m){return new Error(`${O} ${m.url}
Playlist starting @${t.startSN}
${t.m3u8}
Playlist starting @${n.startSN}
${n.m3u8}`)}function Ni(O,t,n=!0){const s=t.startSN+t.skippedSegments-O.startSN,m=O.fragments,E=s>=0;let C=0;if(E&&s<m.length)C=m[s].start;else if(E&&t.startSN===O.endSN+1)C=O.fragmentEnd;else if(E&&n)C=O.fragmentStart+s*t.levelTargetDuration;else if(!t.skippedSegments&&t.fragmentStart===0)C=O.fragmentStart;else return;ra(t,C)}function ra(O,t){if(t){const n=O.fragments;for(let s=O.skippedSegments;s<n.length;s++)n[s].addStart(t);O.fragmentHint&&O.fragmentHint.addStart(t)}}function zr(O,t=1/0){let n=1e3*O.targetduration;if(O.updated){const s=O.fragments;if(s.length&&n*4>t){const E=s[s.length-1].duration*1e3;E<n&&(n=E)}}else n/=2;return Math.round(n)}function pa(O,t,n){if(!O)return null;let s=O.fragments[t-O.startSN];return s||(s=O.fragmentHint,s&&s.sn===t)?s:t<O.startSN&&n&&n.sn===t?n:null}function Xi(O,t,n){return O?Pa(O.partList,t,n):null}function Pa(O,t,n){if(O)for(let s=O.length;s--;){const m=O[s];if(m.index===n&&m.fragment.sn===t)return m}return null}function ps(O){O.forEach((t,n)=>{var s;(s=t.details)==null||s.fragments.forEach(m=>{m.level=n,m.initSegment&&(m.initSegment.level=n)})})}function Vs(O,t){return O!==t&&t?$i(O)!==$i(t):!1}function $i(O){return O.replace(/\?[^?]*$/,"")}function no(O,t){for(let s=0,m=O.length;s<m;s++){var n;if(((n=O[s])==null?void 0:n.cc)===t)return O[s]}return null}function so(O,t){return!!(O&&t.startCC<O.endCC&&t.endCC>O.startCC)}function Fs(O,t){const n=O.start+t;O.startPTS=n,O.setStart(n),O.endPTS=n+O.duration}function Va(O,t){const n=t.fragments;for(let s=0,m=n.length;s<m;s++)Fs(n[s],O);t.fragmentHint&&Fs(t.fragmentHint,O),t.alignedSliding=!0}function Xs(O,t){O&&(po(t,O),t.alignedSliding||Fn(t,O),!t.alignedSliding&&!t.skippedSegments&&Ni(O,t,!1))}function po(O,t){if(!so(t,O))return;const n=Math.min(t.endCC,O.endCC),s=no(t.fragments,n),m=no(O.fragments,n);if(!s||!m)return;H.log(`Aligning playlist at start of dicontinuity sequence ${n}`);const E=s.start-m.start;Va(E,O)}function Fn(O,t){if(!O.hasProgramDateTime||!t.hasProgramDateTime)return;const n=O.fragments,s=t.fragments;if(!n.length||!s.length)return;let m,E;const C=Math.min(t.endCC,O.endCC);t.startCC<C&&O.startCC<C&&(m=no(s,C),E=no(n,C)),(!m||!E)&&(m=s[Math.floor(s.length/2)],E=no(n,m.cc)||n[Math.floor(n.length/2)]);const j=m.programDateTime,X=E.programDateTime;if(!j||!X)return;const G=(X-j)/1e3-(E.start-m.start);Va(G,O)}function $a(O,t,n){rs(O,t,n),O.addEventListener(t,n)}function rs(O,t,n){O.removeEventListener(t,n)}const Xe={toString:function(O){let t="";const n=O.length;for(let s=0;s<n;s++)t+=`[${O.start(s).toFixed(3)}-${O.end(s).toFixed(3)}]`;return t}},Ie={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 $t extends ks{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=Ie.STOPPED,this.playlistType=void 0,this.media=null,this.mediaBuffer=null,this.config=void 0,this.bitrateTest=!1,this.lastCurrentTime=0,this.nextLoadPosition=0,this.startPosition=0,this.startTimeOffset=null,this.retryDate=0,this.levels=null,this.fragmentLoader=void 0,this.keyLoader=void 0,this.levelLastLoaded=null,this.startFragRequested=!1,this.decrypter=void 0,this.initPTS=[],this.buffering=!0,this.loadingParts=!1,this.loopSn=void 0,this.onMediaSeeking=()=>{const{config:C,fragCurrent:j,media:X,mediaBuffer:G,state:ue}=this,de=X?X.currentTime:0,Ee=ci.bufferInfo(G||X,de,C.maxBufferHole),Re=!Ee.len;if(this.log(`Media seeking to ${r(de)?de.toFixed(3):de}, state: ${ue}, ${Re?"out of":"in"} buffer`),this.state===Ie.ENDED)this.resetLoadingState();else if(j){const Le=C.maxFragLookUpTolerance,ut=j.start-Le,ot=j.start+j.duration+Le;if(Re||ot<Ee.start||ut>Ee.end){const Kt=de>ot;(de<ut||Kt)&&(Kt&&j.loader&&(this.log(`Cancelling fragment load for seek (sn: ${j.sn})`),j.abortRequests(),this.resetLoadingState()),this.fragPrevious=null)}}if(X){this.fragmentTracker.removeFragmentsInRange(de,1/0,this.playlistType,!0);const Le=this.lastCurrentTime;if(de>Le&&(this.lastCurrentTime=de),!this.loadingParts){const ut=Math.max(Ee.end,de),ot=this.shouldLoadParts(this.getLevelDetails(),ut);ot&&(this.log(`LL-Part loading ON after seeking to ${de.toFixed(2)} with buffer @${ut.toFixed(2)}`),this.loadingParts=ot)}}this.hls.hasEnoughToStart||(this.log(`Setting ${Re?"startPosition":"nextLoadPosition"} to ${de} for seek without enough to start`),this.nextLoadPosition=de,Re&&(this.startPosition=de)),Re&&this.state===Ie.IDLE&&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 Aa(t.config),this.keyLoader=s,this.fragmentTracker=n,this.config=t.config,this.decrypter=new is(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===Ie.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=Ie.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=ci.bufferedInfo(E,t.start,0));const C=t.nextStart;if(C&&C>m&&C<n.edge||this.media.currentTime<t.start)return!1;const X=n.partList;if(X!=null&&X.length){const ue=X[X.length-1];return ci.isBuffered(this.media,ue.start+ue.duration/2)}const G=n.fragments[n.fragments.length-1].type;return this.fragmentTracker.isEndListAppended(G)}getLevelDetails(){if(this.levels&&this.levelLastLoaded!==null)return this.levelLastLoaded.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;$a(s,"seeking",this.onMediaSeeking),$a(s,"ended",this.onMediaEnded);const m=this.config;this.levels&&m.autoStartLoad&&this.state===Ie.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),rs(m,"seeking",this.onMediaSeeking),rs(m,"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=Ie.STOPPED,this.fragmentLoader&&this.fragmentLoader.destroy(),this.keyLoader&&this.keyLoader.destroy(),this.decrypter&&this.decrypter.destroy(),this.hls=this.log=this.warn=this.decrypter=this.keyLoader=this.fragmentLoader=this.fragmentTracker=null,super.onHandlerDestroyed()}loadFragment(t,n,s){this.startFragRequested=!0,this._loadFragForPlayback(t,n,s)}_loadFragForPlayback(t,n,s){const m=E=>{const C=E.frag;if(this.fragContextChanged(C)){this.warn(`${C.type} sn: ${C.sn}${E.part?" part: "+E.part.index:""} of ${this.fragInfo(C,!1,E.part)}) was dropped during download.`),this.fragmentTracker.removeFragment(C);return}C.stats.chunkCount++,this._handleFragmentLoadProgress(E)};this._doFragLoad(t,n,s,m).then(E=>{if(!E)return;const C=this.state,j=E.frag;if(this.fragContextChanged(j)){(C===Ie.FRAG_LOADING||!this.fragCurrent&&C===Ie.PARSING)&&(this.fragmentTracker.removeFragment(j),this.state=Ie.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===Ie.STOPPED||this.state===Ie.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)===gn.APPENDING){const E=t.type,C=this.getFwdBufferInfo(this.mediaBuffer,E),j=Math.max(t.duration,C?C.len:this.config.maxBufferLength),X=this.backtrackFragment;((X?t.sn-X.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)===gn.PARTIAL&&s.removeFragment(t))}checkLiveUpdate(t){if(t.updated&&!t.live){const n=t.fragments[t.fragments.length-1];this.fragmentTracker.detectPartialFragments({frag:n,part:null,stats:n.stats,id:n.type})}t.fragments[0]||(t.deltaUpdateFailed=!0)}waitForLive(t){const n=t.details;return(n==null?void 0:n.live)&&n.type!=="EVENT"&&(this.levelLastLoaded!==t||n.expired)}flushMainBuffer(t,n,s=null){if(!(t-n))return;const m={startOffset:t,endOffset:n,type:s};this.hls.trigger(o.BUFFER_FLUSHING,m)}_loadInitSegment(t,n){this._doFragLoad(t,n).then(s=>{const m=s==null?void 0:s.frag;if(!m||this.fragContextChanged(m)||!this.levels)throw new Error("init load aborted");return s}).then(s=>{const{hls:m}=this,{frag:E,payload:C}=s,j=E.decryptdata;if(C&&C.byteLength>0&&j!=null&&j.key&&j.iv&&Co(j.method)){const X=self.performance.now();return this.decrypter.decrypt(new Uint8Array(C),j.key.buffer,j.iv.buffer,qo(j.method)).catch(G=>{throw m.trigger(o.ERROR,{type:c.MEDIA_ERROR,details:f.FRAG_DECRYPT_ERROR,fatal:!1,error:G,reason:G.message,frag:E}),G}).then(G=>{const ue=self.performance.now();return m.trigger(o.FRAG_DECRYPTED,{frag:E,payload:G,stats:{tstart:X,tdecrypt:ue}}),s.payload=G,this.completeInitSegmentLoad(s)})}return this.completeInitSegmentLoad(s)}).catch(s=>{this.state===Ie.STOPPED||this.state===Ie.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!==Ie.STOPPED&&(this.state=Ie.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()}unhandledEncryptionError(t,n){var s,m;const E=t.tracks;if(E&&!n.encrypted&&((s=E.audio)!=null&&s.encrypted||(m=E.video)!=null&&m.encrypted)&&(!this.config.emeEnabled||!this.keyLoader.emeController)){const C=this.media,j=new Error(`Encrypted track with no key in ${this.fragInfo(n)} (media ${C?"attached mediaKeys: "+C.mediaKeys:"detached"})`);return this.warn(j.message),!C||C.mediaKeys?!1:(this.hls.trigger(o.ERROR,{type:c.KEY_SYSTEM_ERROR,details:f.KEY_SYSTEM_NO_KEYS,fatal:!1,error:j,frag:n}),this.resetTransmuxer(),!0)}return!1}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?Xe.toString(ci.getBuffered(s)):"(detached)"})`),Ae(t)){var m;if(t.type!==u.SUBTITLE){const C=t.elementaryStreams;if(!Object.keys(C).some(j=>!!C[j])){this.state=Ie.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=Ie.IDLE}_handleFragmentLoadComplete(t){const{transmuxer:n}=this;if(!n)return;const{frag:s,part:m,partsLoaded:E}=t,C=!E||E.length===0||E.some(X=>!X),j=new Bo(s.level,s.sn,s.stats.chunkCount+1,0,m?m.index:-1,!C);n.flush(j)}_handleFragmentLoadProgress(t){}_doFragLoad(t,n,s=null,m){var E;this.fragCurrent=t;const C=n.details;if(!this.levels||!C)throw new Error(`frag load aborted, missing level${C?"":" detail"}s`);let j=null;if(t.encrypted&&!((E=t.decryptdata)!=null&&E.key)){if(this.log(`Loading key for ${t.sn} of [${C.startSN}-${C.endSN}], ${this.playlistLabel()} ${t.level}`),this.state=Ie.KEY_LOADING,this.fragCurrent=t,j=this.keyLoader.load(t).then(Ee=>{if(!this.fragContextChanged(Ee.frag))return this.hls.trigger(o.KEY_LOADED,Ee),this.state===Ie.KEY_LOADING&&(this.state=Ie.IDLE),Ee}),this.hls.trigger(o.KEY_LOADING,{frag:t}),this.fragCurrent===null)return this.log("context changed in KEY_LOADING"),Promise.resolve(null)}else t.encrypted||(j=this.keyLoader.loadClear(t,C.encryptedFragments,this.startFragRequested),j&&this.log("[eme] blocking frag load until media-keys acquired"));const X=this.fragPrevious;if(Ae(t)&&(!X||t.sn!==X.sn)){const Ee=this.shouldLoadParts(n.details,t.end);Ee!==this.loadingParts&&(this.log(`LL-Part loading ${Ee?"ON":"OFF"} loading sn ${X==null?void 0:X.sn}->${t.sn}`),this.loadingParts=Ee)}if(s=Math.max(t.start,s||0),this.loadingParts&&Ae(t)){const Ee=C.partList;if(Ee&&m){s>C.fragmentEnd&&C.fragmentHint&&(t=C.fragmentHint);const Re=this.getNextPart(Ee,t,s);if(Re>-1){const Le=Ee[Re];t=this.fragCurrent=Le.fragment,this.log(`Loading ${t.type} sn: ${t.sn} part: ${Le.index} (${Re}/${Ee.length-1}) of ${this.fragInfo(t,!1,Le)}) cc: ${t.cc} [${C.startSN}-${C.endSN}], target: ${parseFloat(s.toFixed(3))}`),this.nextLoadPosition=Le.start+Le.duration,this.state=Ie.FRAG_LOADING;let ut;return j?ut=j.then(ot=>!ot||this.fragContextChanged(ot.frag)?null:this.doFragPartsLoad(t,Le,n,m)).catch(ot=>this.handleFragLoadError(ot)):ut=this.doFragPartsLoad(t,Le,n,m).catch(ot=>this.handleFragLoadError(ot)),this.hls.trigger(o.FRAG_LOADING,{frag:t,part:Le,targetBufferTime:s}),this.fragCurrent===null?Promise.reject(new Error("frag load aborted, context changed in FRAG_LOADING parts")):ut}else if(!t.url||this.loadedEndOfParts(Ee,s))return Promise.resolve(null)}}if(Ae(t)&&this.loadingParts){var G;this.log(`LL-Part loading OFF after next part miss @${s.toFixed(2)} Check buffer at sn: ${t.sn} loaded parts: ${(G=C.partList)==null?void 0:G.filter(Ee=>Ee.loaded).map(Ee=>`[${Ee.start}-${Ee.end}]`)}`),this.loadingParts=!1}else if(!t.url)return Promise.resolve(null);this.log(`Loading ${t.type} sn: ${t.sn} of ${this.fragInfo(t,!1)}) cc: ${t.cc} ${"["+C.startSN+"-"+C.endSN+"]"}, target: ${parseFloat(s.toFixed(3))}`),r(t.sn)&&!this.bitrateTest&&(this.nextLoadPosition=t.start+t.duration),this.state=Ie.FRAG_LOADING;const ue=this.config.progressive;let de;return ue&&j?de=j.then(Ee=>!Ee||this.fragContextChanged(Ee.frag)?null:this.fragmentLoader.load(t,m)).catch(Ee=>this.handleFragLoadError(Ee)):de=Promise.all([this.fragmentLoader.load(t,ue?m:void 0),j]).then(([Ee])=>(!ue&&m&&m(Ee),Ee)).catch(Ee=>this.handleFragLoadError(Ee)),this.hls.trigger(o.FRAG_LOADING,{frag:t,targetBufferTime:s}),this.fragCurrent===null?Promise.reject(new Error("frag load aborted, context changed in FRAG_LOADING")):de}doFragPartsLoad(t,n,s,m){return new Promise((E,C)=>{var j;const X=[],G=(j=s.details)==null?void 0:j.partList,ue=de=>{this.fragmentLoader.loadPart(t,de,m).then(Ee=>{X[de.index]=Ee;const Re=Ee.part;this.hls.trigger(o.FRAG_LOADED,Ee);const Le=Xi(s.details,t.sn,de.index+1)||Pa(G,t.sn,de.index+1);if(Le)ue(Le);else return E({frag:t,part:Re,partsLoaded:X})}).catch(C)};ue(n)})}handleFragLoadError(t){if("data"in t){const n=t.data;n.frag&&n.details===f.INTERNAL_ABORTED?this.handleFragLoadAborted(n.frag,n.part):n.frag&&n.type===c.KEY_SYSTEM_ERROR?(n.frag.abortRequests(),this.resetStartWhenNotLoaded(),this.resetFragmentLoading(n.frag)):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!==Ie.PARSING){!this.fragCurrent&&this.state!==Ie.STOPPED&&this.state!==Ie.ERROR&&(this.state=Ie.IDLE);return}const{frag:s,part:m,level:E}=n,C=self.performance.now();s.stats.parsing.end=C,m&&(m.stats.parsing.end=C);const j=this.getLevelDetails(),G=j&&s.sn>j.endSN||this.shouldLoadParts(j,s.end);G!==this.loadingParts&&(this.log(`LL-Part loading ${G?"ON":"OFF"} after parsing segment ending @${s.end.toFixed(2)}`),this.loadingParts=G),this.updateLevelTiming(s,m,E,t.partial)}shouldLoadParts(t,n){if(this.config.lowLatencyMode){if(!t)return this.loadingParts;if(t.partList){var s;const E=t.partList[0];if(E.fragment.type===u.SUBTITLE)return!1;const C=E.end+(((s=t.fragmentHint)==null?void 0:s.duration)||0);if(n>=C){var m;if((this.hls.hasEnoughToStart?((m=this.media)==null?void 0:m.currentTime)||this.lastCurrentTime:this.getLoadPosition())>E.start-E.fragment.duration)return!0}}}return!1}getCurrentContext(t){const{levels:n,fragCurrent:s}=this,{level:m,sn:E,part:C}=t;if(!(n!=null&&n[m]))return this.warn(`Levels object was unset while buffering fragment ${E} of ${this.playlistLabel()} ${m}. The current chunk will not be buffered.`),null;const j=n[m],X=j.details,G=C>-1?Xi(X,E,C):null,ue=G?G.fragment:pa(X,E,s);return ue?(s&&s!==ue&&(ue.stats=s.stats),{frag:ue,part:G,level:j}):null}bufferFragmentData(t,n,s,m,E){if(this.state!==Ie.PARSING)return;const{data1:C,data2:j}=t;let X=C;if(j&&(X=Vt(C,j)),!X.length)return;const G=this.initPTS[n.cc],ue=G?-G.baseTime/G.timescale:void 0,de={type:t.type,frag:n,part:s,chunkMeta:m,offset:ue,parent:n.type,data:X};if(this.hls.trigger(o.BUFFER_APPENDING,de),t.dropped&&t.independent&&!s){if(E)return;this.flushBufferGap(n)}}flushBufferGap(t){const n=this.media;if(!n)return;if(!ci.isBuffered(n,n.currentTime)){this.flushMainBuffer(0,t.start);return}const s=n.currentTime,m=ci.bufferInfo(n,s,0),E=t.duration,C=Math.min(this.config.maxFragLookUpTolerance*2,E*.25),j=Math.max(Math.min(t.start-C,m.end-C),s+C);t.start-j>C&&this.flushMainBuffer(j,t.start)}getFwdBufferInfo(t,n){var s;const m=this.getLoadPosition();if(!r(m))return null;const C=this.lastCurrentTime>m||(s=this.media)!=null&&s.paused?0:this.config.maxBufferHole;return this.getFwdBufferInfoAtPos(t,m,n,C)}getFwdBufferInfoAtPos(t,n,s,m){const E=ci.bufferInfo(t,n,m);if(E.len===0&&E.nextStart!==void 0){const C=this.fragmentTracker.getBufferedFrag(n,s);if(C&&(E.nextStart<=C.end||C.gap)){const j=Math.max(Math.min(E.nextStart,C.end)-n,m);return ci.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){const s=this.fragmentTracker?this.fragmentTracker.getAppendedFrag(t,n):null;return s&&"fragment"in s?s.fragment:s}getNextFragment(t,n){const s=n.fragments,m=s.length;if(!m)return null;const{config:E}=this,C=s[0].start,j=E.lowLatencyMode&&!!n.partList;let X=null;if(n.live){const de=E.initialLiveManifestSize;if(m<de)return this.warn(`Not enough fragments to start playback (have: ${m}, need: ${de})`),null;if(!n.PTSKnown&&!this.startFragRequested&&this.startPosition===-1||t<C){var G;j&&!this.loadingParts&&(this.log("LL-Part loading ON for initial live fragment"),this.loadingParts=!0),X=this.getInitialLiveFragment(n);const Ee=this.hls.startPosition,Re=this.hls.liveSyncPosition,Le=X?(Ee!==-1&&Ee>=C?Ee:Re)||X.start:t;this.log(`Setting startPosition to ${Le} to match start frag at live edge. mainStart: ${Ee} liveSyncPosition: ${Re} frag.start: ${(G=X)==null?void 0:G.start}`),this.startPosition=this.nextLoadPosition=Le}}else t<=C&&(X=s[0]);if(!X){const de=this.loadingParts?n.partEnd:n.fragmentEnd;X=this.getFragmentAtPosition(t,de,n)}let ue=this.filterReplacedPrimary(X,n);if(!ue&&X){const de=X.sn-n.startSN;ue=this.filterReplacedPrimary(s[de+1]||null,n)}return this.mapToInitFragWhenRequired(ue)}isLoopLoading(t,n){const s=this.fragmentTracker.getState(t);return(s===gn.OK||s===gn.PARTIAL&&!!t.gap)&&this.nextLoadPosition>n}getNextFragmentLoopLoading(t,n,s,m,E){let C=null;if(t.gap&&(C=this.getNextFragment(this.nextLoadPosition,n),C&&!C.gap&&s.nextStart)){const j=this.getFwdBufferInfoAtPos(this.mediaBuffer?this.mediaBuffer:this.media,s.nextStart,m,0);if(j!==null&&s.len+j.len>=E){const X=C.sn;return this.loopSn!==X&&(this.log(`buffer full after gaps in "${m}" playlist starting at sn: ${X}`),this.loopSn=X),null}}return this.loopSn=void 0,C}get primaryPrefetch(){if(Gt(this.config)){var t;if((t=this.hls.interstitialsManager)==null||(t=t.playingItem)==null?void 0:t.event)return!0}return!1}filterReplacedPrimary(t,n){if(!t)return t;if(Gt(this.config)&&t.type!==u.SUBTITLE){const s=this.hls.interstitialsManager,m=s==null?void 0:s.bufferingItem;if(m){const C=m.event;if(C){if(C.appendInPlace||Math.abs(t.start-m.start)>1||m.start===0)return null}else if(t.end<=m.start&&(n==null?void 0:n.live)===!1||t.start>m.end&&m.nextEvent&&(m.nextEvent.appendInPlace||t.start-m.end>1))return null}const E=s==null?void 0:s.playerQueue;if(E)for(let C=E.length;C--;){const j=E[C].interstitial;if(j.appendInPlace&&t.start>=j.startTime&&t.end<=j.resumeTime)return null}}return t}mapToInitFragWhenRequired(t){return t!=null&&t.initSegment&&!t.initSegment.data&&!this.bitrateTest?t.initSegment:t}getNextPart(t,n,s){let m=-1,E=!1,C=!0;for(let j=0,X=t.length;j<X;j++){const G=t[j];if(C=C&&!G.independent,m>-1&&s<G.start)break;const ue=G.loaded;ue?m=-1:(E||(G.independent||C)&&G.fragment===n)&&(G.fragment!==n&&this.warn(`Need buffer at ${s} but next unloaded part starts at ${G.start}`),m=j),E=ue}return m}loadedEndOfParts(t,n){let s;for(let m=t.length;m--;){if(s=t[m],!s.loaded)return!1;if(n>s.start)return!0}return!1}getInitialLiveFragment(t){const n=t.fragments,s=this.fragPrevious;let m=null;if(s){if(t.hasProgramDateTime&&(this.log(`Live playlist, switching playlist, load frag with same PDT: ${s.programDateTime}`),m=ht(n,s.endProgramDateTime,this.config.maxFragLookUpTolerance)),!m){const E=s.sn+1;if(E>=t.startSN&&E<=t.endSN){const C=n[E-t.startSN];s.cc===C.cc&&(m=C,this.log(`Live playlist, switching playlist, load frag with next SN: ${m.sn}`))}m||(m=Ze(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:C,endSN:j}=s;const{fragmentHint:X}=s,{maxFragLookUpTolerance:G}=m,ue=s.partList,de=!!(this.loadingParts&&ue!=null&&ue.length&&X);de&&!this.bitrateTest&&ue[ue.length-1].fragment.sn===X.sn&&(C=C.concat(X),j=X.sn);let Ee;if(t<n){var Re;const ut=t<this.lastCurrentTime||t>n-G||(Re=this.media)!=null&&Re.paused||!this.startFragRequested?0:G;Ee=lr(E,C,t,ut)}else Ee=C[C.length-1];if(Ee){const Le=Ee.sn-s.startSN,ut=this.fragmentTracker.getState(Ee);if((ut===gn.OK||ut===gn.PARTIAL&&Ee.gap)&&(E=Ee),E&&Ee.sn===E.sn&&(!de||ue[0].fragment.sn>Ee.sn||!s.live)&&Ee.level===E.level){const Kt=C[Le+1];Ee.sn<j&&this.fragmentTracker.getState(Kt)!==gn.OK?Ee=Kt:Ee=null}}return Ee}alignPlaylists(t,n,s){const m=t.fragments.length;if(!m)return this.warn("No fragments in live playlist"),0;const E=t.fragmentStart,C=!n,j=t.alignedSliding&&r(E);if(C||!j&&!E){Xs(s,t);const X=t.fragmentStart;return this.log(`Live playlist sliding: ${X.toFixed(2)} start-sn: ${n?n.startSN:"na"}->${t.startSN} fragments: ${m}`),X}return E}waitForCdnTuneIn(t){return t.live&&t.canBlockReload&&t.partTarget&&t.tuneInGoal>Math.max(t.partHoldBack,t.partTarget*3)}setStartPosition(t,n){let s=this.startPosition;s<n&&(s=-1);const m=this.timelineOffset;if(s===-1){const E=this.startTimeOffset!==null,C=E?this.startTimeOffset:t.startTimeOffset;C!==null&&r(C)?(s=n+C,C<0&&(s+=t.edge),s=Math.min(Math.max(n,s),n+t.totalduration),this.log(`Setting startPosition to ${s} for start time offset ${C} found in ${E?"multivariant":"media"} playlist`),this.startPosition=s):t.live?(s=this.hls.liveSyncPosition||n,this.log(`Setting startPosition to -1 to start at live edge ${s}`),this.startPosition=-1):(this.log("setting startPosition to 0 by default"),this.startPosition=s=0),this.lastCurrentTime=s+m}this.nextLoadPosition=s+m}getLoadPosition(){var t;const{media:n}=this;let s=0;return(t=this.hls)!=null&&t.hasEnoughToStart&&n?s=n.currentTime:this.nextLoadPosition>=0&&(s=this.nextLoadPosition),s}handleFragLoadAborted(t,n){this.transmuxer&&t.type===this.playlistType&&Ae(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!==Ie.FRAG_LOADING_WAITING_RETRY)&&(this.state=Ie.IDLE)}onFragmentOrKeyLoadError(t,n){var s;if(n.chunkMeta&&!n.frag){const Kt=this.getCurrentContext(n.chunkMeta);Kt&&(n.frag=Kt.frag)}const m=n.frag;if(!m||m.type!==t||!this.levels)return;if(this.fragContextChanged(m)){var E;this.warn(`Frag load error must match current frag to retry ${m.url} > ${(E=this.fragCurrent)==null?void 0:E.url}`);return}const C=n.details===f.FRAG_GAP;C&&this.fragmentTracker.fragBuffered(m,!0);const j=n.errorAction;if(!j){this.state=Ie.ERROR;return}const{action:X,flags:G,retryCount:ue=0,retryConfig:de}=j,Ee=!!de,Re=Ee&&X===gr.RetryRequest,Le=Ee&&!j.resolved&&G===fn.MoveAllAlternatesMatchingHost,ut=(s=this.hls.latestLevelDetails)==null?void 0:s.live;if(!Re&&Le&&Ae(m)&&!m.endList&&ut&&!it(n))this.resetFragmentErrors(t),this.treatAsGap(m),j.resolved=!0;else if((Re||Le)&&ue<de.maxNumRetry){var ot;const Kt=wn((ot=n.response)==null?void 0:ot.code),er=kr(de,ue);if(this.resetStartWhenNotLoaded(),this.retryDate=self.performance.now()+er,this.state=Ie.FRAG_LOADING_WAITING_RETRY,j.resolved=!0,Kt){this.log("Waiting for connection (offline)"),this.retryDate=1/0,n.reason="offline";return}this.warn(`Fragment ${m.sn} of ${t} ${m.level} errored with ${n.details}, retrying loading ${ue+1}/${de.maxNumRetry} in ${er}ms`)}else if(de)if(this.resetFragmentErrors(t),ue<de.maxNumRetry)!C&&X!==gr.RemoveAlternatePermanently&&(j.resolved=!0);else{this.warn(`${n.details} reached or exceeded max retry (${ue})`);return}else X===gr.SendAlternateToPenaltyBox?this.state=Ie.WAITING_LEVEL:this.state=Ie.ERROR;this.tickImmediate()}checkRetryDate(){const t=self.performance.now(),n=this.retryDate,s=n===1/0;(!n||t>=n||s&&!wn(0))&&(s&&this.log("Connection restored (online)"),this.resetStartWhenNotLoaded(),this.state=Ie.IDLE)}reduceLengthAndFlushBuffer(t){if(this.state===Ie.PARSING||this.state===Ie.PARSED){const n=t.frag,s=t.parent,m=this.getFwdBufferInfo(this.mediaBuffer,s),E=m&&m.len>.5;E&&this.reduceMaxBufferLength(m.len,(n==null?void 0:n.duration)||10);const C=!E;return C&&this.warn(`Buffer full error while media.currentTime (${this.getLoadPosition()}) is not buffered, flush ${s} buffer`),n&&(this.fragmentTracker.removeFragment(n),this.nextLoadPosition=n.start),this.resetLoadingState(),C}return!1}resetFragmentErrors(t){t===u.AUDIO&&(this.fragCurrent=null),this.hls.hasEnoughToStart||(this.startFragRequested=!1),this.state!==Ie.STOPPED&&(this.state=Ie.IDLE)}afterBufferFlushed(t,n,s){if(!t)return;const m=ci.getBuffered(t);this.fragmentTracker.detectEvictedFragments(n,m,s),this.state===Ie.ENDED&&this.resetLoadingState()}resetLoadingState(){this.log("Reset loading state"),this.fragCurrent=null,this.fragPrevious=null,this.state!==Ie.STOPPED&&(this.state=Ie.IDLE)}resetStartWhenNotLoaded(){if(!this.hls.hasEnoughToStart){this.startFragRequested=!1;const t=this.levelLastLoaded,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.log(`Loading context changed while buffering sn ${t.sn} of ${this.playlistLabel()} ${t.level===-1?"<removed>":t.level}. This chunk will not be buffered.`),this.removeUnbufferedFrags(),this.resetStartWhenNotLoaded(),this.resetLoadingState()}removeUnbufferedFrags(t=0){this.fragmentTracker.removeFragmentsInRange(t,1/0,this.playlistType,!1,!0)}updateLevelTiming(t,n,s,m){const E=s.details;if(!E){this.warn("level.details undefined");return}if(!Object.keys(t.elementaryStreams).reduce((X,G)=>{const ue=t.elementaryStreams[G];if(ue){const de=ue.endPTS-ue.startPTS;if(de<=0)return this.warn(`Could not parse fragment ${t.sn} ${G} duration reliably (${de})`),X||!1;const Ee=m?0:Fr(E,t,ue.startPTS,ue.endPTS,ue.startDTS,ue.endDTS,this);return this.hls.trigger(o.LEVEL_PTS_UPDATED,{details:E,level:s,drift:Ee,type:G,frag:t,start:ue.startPTS,end:ue.endPTS}),!0}return X},!1)){var j;if(s.fragmentError===0&&this.treatAsGap(t,s),((j=this.transmuxer)==null?void 0:j.error)===null){const X=new Error(`Found no media in fragment ${t.sn} of ${this.playlistLabel()} ${t.level} resetting transmuxer to fallback to playlist timing`);if(this.warn(X.message),this.hls.trigger(o.ERROR,{type:c.MEDIA_ERROR,details:f.FRAG_PARSING_ERROR,fatal:!1,error:X,frag:t,reason:`Found no media in msn ${t.sn} of ${this.playlistLabel()} "${s.url}"`}),!this.hls)return;this.resetTransmuxer()}}this.state=Ie.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.resetLoadingState())}set state(t){const n=this._state;n!==t&&(this._state=t,this.log(`${n}->${t}`))}get state(){return this._state}}function Gt(O){return!!O.interstitialsController&&O.enableInterstitialPlayback!==!1}class yr{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=Br(t,n);else return new Uint8Array(0);return this.reset(),s}reset(){this.chunks.length=0,this.dataLength=0}}function Br(O,t){const n=new Uint8Array(t);let s=0;for(let m=0;m<O.length;m++){const E=O[m];n.set(E,s),s+=E.length}return n}var Hr={exports:{}},xn;function ln(){return xn||(xn=1,function(O){var t=Object.prototype.hasOwnProperty,n="~";function s(){}Object.create&&(s.prototype=Object.create(null),new s().__proto__||(n=!1));function m(X,G,ue){this.fn=X,this.context=G,this.once=ue||!1}function E(X,G,ue,de,Ee){if(typeof ue!="function")throw new TypeError("The listener must be a function");var Re=new m(ue,de||X,Ee),Le=n?n+G:G;return X._events[Le]?X._events[Le].fn?X._events[Le]=[X._events[Le],Re]:X._events[Le].push(Re):(X._events[Le]=Re,X._eventsCount++),X}function C(X,G){--X._eventsCount===0?X._events=new s:delete X._events[G]}function j(){this._events=new s,this._eventsCount=0}j.prototype.eventNames=function(){var G=[],ue,de;if(this._eventsCount===0)return G;for(de in ue=this._events)t.call(ue,de)&&G.push(n?de.slice(1):de);return Object.getOwnPropertySymbols?G.concat(Object.getOwnPropertySymbols(ue)):G},j.prototype.listeners=function(G){var ue=n?n+G:G,de=this._events[ue];if(!de)return[];if(de.fn)return[de.fn];for(var Ee=0,Re=de.length,Le=new Array(Re);Ee<Re;Ee++)Le[Ee]=de[Ee].fn;return Le},j.prototype.listenerCount=function(G){var ue=n?n+G:G,de=this._events[ue];return de?de.fn?1:de.length:0},j.prototype.emit=function(G,ue,de,Ee,Re,Le){var ut=n?n+G:G;if(!this._events[ut])return!1;var ot=this._events[ut],Kt=arguments.length,er,ir;if(ot.fn){switch(ot.once&&this.removeListener(G,ot.fn,void 0,!0),Kt){case 1:return ot.fn.call(ot.context),!0;case 2:return ot.fn.call(ot.context,ue),!0;case 3:return ot.fn.call(ot.context,ue,de),!0;case 4:return ot.fn.call(ot.context,ue,de,Ee),!0;case 5:return ot.fn.call(ot.context,ue,de,Ee,Re),!0;case 6:return ot.fn.call(ot.context,ue,de,Ee,Re,Le),!0}for(ir=1,er=new Array(Kt-1);ir<Kt;ir++)er[ir-1]=arguments[ir];ot.fn.apply(ot.context,er)}else{var Er=ot.length,jr;for(ir=0;ir<Er;ir++)switch(ot[ir].once&&this.removeListener(G,ot[ir].fn,void 0,!0),Kt){case 1:ot[ir].fn.call(ot[ir].context);break;case 2:ot[ir].fn.call(ot[ir].context,ue);break;case 3:ot[ir].fn.call(ot[ir].context,ue,de);break;case 4:ot[ir].fn.call(ot[ir].context,ue,de,Ee);break;default:if(!er)for(jr=1,er=new Array(Kt-1);jr<Kt;jr++)er[jr-1]=arguments[jr];ot[ir].fn.apply(ot[ir].context,er)}}return!0},j.prototype.on=function(G,ue,de){return E(this,G,ue,de,!1)},j.prototype.once=function(G,ue,de){return E(this,G,ue,de,!0)},j.prototype.removeListener=function(G,ue,de,Ee){var Re=n?n+G:G;if(!this._events[Re])return this;if(!ue)return C(this,Re),this;var Le=this._events[Re];if(Le.fn)Le.fn===ue&&(!Ee||Le.once)&&(!de||Le.context===de)&&C(this,Re);else{for(var ut=0,ot=[],Kt=Le.length;ut<Kt;ut++)(Le[ut].fn!==ue||Ee&&!Le[ut].once||de&&Le[ut].context!==de)&&ot.push(Le[ut]);ot.length?this._events[Re]=ot.length===1?ot[0]:ot:C(this,Re)}return this},j.prototype.removeAllListeners=function(G){var ue;return G?(ue=n?n+G:G,this._events[ue]&&C(this,ue)):(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,O.exports=j}(Hr)),Hr.exports}var En=ln(),ii=se(En);const ai="1.6.14",gi={};function Li(){return typeof __HLS_WORKER_BUNDLE__=="function"}function ua(){const O=gi[ai];if(O)return O.clientCount++,O;const t=new self.Blob([`var exports={};var module={exports:exports};function define(f){f()};define.amd=true;(${__HLS_WORKER_BUNDLE__.toString()})(true);`],{type:"text/javascript"}),n=self.URL.createObjectURL(t),m={worker:new self.Worker(n),objectURL:n,clientCount:1};return gi[ai]=m,m}function Qi(O){const t=gi[O];if(t)return t.clientCount++,t;const n=new self.URL(O,self.location.href).href,m={worker:new self.Worker(n),scriptURL:n,clientCount:1};return gi[O]=m,m}function Pi(O){const t=gi[O||ai];if(t&&t.clientCount--===1){const{worker:s,objectURL:m}=t;delete gi[O||ai],m&&self.URL.revokeObjectURL(m),s.terminate()}}function Da(O,t){return t+10<=O.length&&O[t]===51&&O[t+1]===68&&O[t+2]===73&&O[t+3]<255&&O[t+4]<255&&O[t+6]<128&&O[t+7]<128&&O[t+8]<128&&O[t+9]<128}function Ii(O,t){return t+10<=O.length&&O[t]===73&&O[t+1]===68&&O[t+2]===51&&O[t+3]<255&&O[t+4]<255&&O[t+6]<128&&O[t+7]<128&&O[t+8]<128&&O[t+9]<128}function yi(O,t){let n=0;return n=(O[t]&127)<<21,n|=(O[t+1]&127)<<14,n|=(O[t+2]&127)<<7,n|=O[t+3]&127,n}function ga(O,t){const n=t;let s=0;for(;Ii(O,t);){s+=10;const m=yi(O,t+6);s+=m,Da(O,t+10)&&(s+=10),t+=s}if(s>0)return O.subarray(n,n+s)}function go(O,t,n,s){const m=[96e3,88200,64e3,48e3,44100,32e3,24e3,22050,16e3,12e3,11025,8e3,7350],E=t[n+2],C=E>>2&15;if(C>12){const Re=new Error(`invalid ADTS sampling index:${C}`);O.emit(o.ERROR,o.ERROR,{type:c.MEDIA_ERROR,details:f.FRAG_PARSING_ERROR,fatal:!0,error:Re,reason:Re.message});return}const j=(E>>6&3)+1,X=t[n+3]>>6&3|(E&1)<<2,G="mp4a.40."+j,ue=m[C];let de=C;(j===5||j===29)&&(de-=3);const Ee=[j<<3|(de&14)>>1,(de&1)<<7|X<<3];return H.log(`manifest codec:${s}, parsed codec:${G}, channels:${X}, rate:${ue} (ADTS object type:${j} sampling index:${C})`),{config:Ee,samplerate:ue,channelCount:X,codec:G,parsedCodec:G,manifestCodec:s}}function Bs(O,t){return O[t]===255&&(O[t+1]&246)===240}function ia(O,t){return O[t+1]&1?7:9}function Ya(O,t){return(O[t+3]&3)<<11|O[t+4]<<3|(O[t+5]&224)>>>5}function ba(O,t){return t+5<O.length}function Mi(O,t){return t+1<O.length&&Bs(O,t)}function Ra(O,t){return ba(O,t)&&Bs(O,t)&&Ya(O,t)<=O.length-t}function os(O,t){if(Mi(O,t)){const n=ia(O,t);if(t+n>=O.length)return!1;const s=Ya(O,t);if(s<=n)return!1;const m=t+s;return m===O.length||Mi(O,m)}return!1}function us(O,t,n,s,m){if(!O.samplerate){const E=go(t,n,s,m);if(!E)return;y(O,E)}}function yo(O){return 9216e4/O}function bs(O,t){const n=ia(O,t);if(t+n<=O.length){const s=Ya(O,t)-n;if(s>0)return{headerLength:n,frameLength:s}}}function Po(O,t,n,s,m){const E=yo(O.samplerate),C=s+m*E,j=bs(t,n);let X;if(j){const{frameLength:de,headerLength:Ee}=j,Re=Ee+de,Le=Math.max(0,n+Re-t.length);Le?(X=new Uint8Array(Re-Ee),X.set(t.subarray(n+Ee,t.length),0)):X=t.subarray(n+Ee,n+Re);const ut={unit:X,pts:C};return Le||O.samples.push(ut),{sample:ut,length:Re,missing:Le}}const G=t.length-n;return X=new Uint8Array(G),X.set(t.subarray(n,t.length),0),{sample:{unit:X,pts:C},length:G,missing:-1}}function _s(O,t){return Ii(O,t)&&yi(O,t+6)+10<=O.length-t}function bo(O){return O instanceof ArrayBuffer?O:O.byteOffset==0&&O.byteLength==O.buffer.byteLength?O.buffer:new Uint8Array(O).buffer}function oo(O,t=0,n=1/0){return Ta(O,t,n,Uint8Array)}function Ta(O,t,n,s){const m=ls(O);let E=1;"BYTES_PER_ELEMENT"in s&&(E=s.BYTES_PER_ELEMENT);const C=Qs(O)?O.byteOffset:0,j=(C+O.byteLength)/E,X=(C+t)/E,G=Math.floor(Math.max(0,Math.min(X,j))),ue=Math.floor(Math.min(G+Math.max(n,0),j));return new s(m,G,ue-G)}function ls(O){return O instanceof ArrayBuffer?O:O.buffer}function Qs(O){return O&&O.buffer instanceof ArrayBuffer&&O.byteLength!==void 0&&O.byteOffset!==void 0}function La(O){const t={key:O.type,description:"",data:"",mimeType:null,pictureType:null},n=3;if(O.size<2)return;if(O.data[0]!==n){console.log("Ignore frame with unrecognized character encoding");return}const s=O.data.subarray(1).indexOf(0);if(s===-1)return;const m=J(oo(O.data,1,s)),E=O.data[2+s],C=O.data.subarray(3+s).indexOf(0);if(C===-1)return;const j=J(oo(O.data,3+s,C));let X;return m==="-->"?X=J(oo(O.data,4+s+C)):X=bo(O.data.subarray(4+s+C)),t.mimeType=m,t.pictureType=E,t.description=j,t.data=X,t}function ge(O){if(O.size<2)return;const t=J(O.data,!0),n=new Uint8Array(O.data.subarray(t.length+1));return{key:O.type,info:t,data:n.buffer}}function we(O){if(O.size<2)return;if(O.type==="TXXX"){let n=1;const s=J(O.data.subarray(n),!0);n+=s.length+1;const m=J(O.data.subarray(n));return{key:O.type,info:s,data:m}}const t=J(O.data.subarray(1));return{key:O.type,info:"",data:t}}function wr(O){if(O.type==="WXXX"){if(O.size<2)return;let n=1;const s=J(O.data.subarray(n),!0);n+=s.length+1;const m=J(O.data.subarray(n));return{key:O.type,info:s,data:m}}const t=J(O.data);return{key:O.type,info:"",data:t}}function rn(O){return O.type==="PRIV"?ge(O):O.type[0]==="W"?wr(O):O.type==="APIC"?La(O):we(O)}function xr(O){const t=String.fromCharCode(O[0],O[1],O[2],O[3]),n=yi(O,4),s=10;return{type:t,size:n,data:O.subarray(s,s+n)}}const Jr=10,On=10;function oi(O){let t=0;const n=[];for(;Ii(O,t);){const s=yi(O,t+6);O[t+5]>>6&1&&(t+=Jr),t+=Jr;const m=t+s;for(;t+On<m;){const E=xr(O.subarray(t)),C=rn(E);C&&n.push(C),t+=E.size+Jr}Da(O,t)&&(t+=Jr)}return n}function Wi(O){return O&&O.key==="PRIV"&&O.info==="com.apple.streaming.transportStreamTimestamp"}function Un(O){if(O.data.byteLength===8){const t=new Uint8Array(O.data),n=t[3]&1;let s=(t[4]<<23)+(t[5]<<15)+(t[6]<<7)+t[7];return s/=45,n&&(s+=4772185884e-2),Math.round(s)}}function Ln(O){const t=oi(O);for(let n=0;n<t.length;n++){const s=t[n];if(Wi(s))return Un(s)}}let Cn=function(O){return O.audioId3="org.id3",O.dateRange="com.apple.quicktime.HLS",O.emsg="https://aomedia.org/emsg/ID3",O.misbklv="urn:misb:KLV:bin:1910.1",O}({});function aa(O="",t=9e4){return{type:O,id:-1,pid:-1,inputTimeScale:t,sequenceNumber:-1,samples:[],dropped:0}}class na{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=Vt(this.cachedData,t),this.cachedData=null);let s=ga(t,0),m=s?s.length:0,E;const C=this._audioTrack,j=this._id3Track,X=s?Ln(s):void 0,G=t.length;for((this.basePTS===null||this.frameIndex===0&&r(X))&&(this.basePTS=zo(X,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:Cn.audioId3,duration:Number.POSITIVE_INFINITY});m<G;){if(this.canParse(t,m)){const ue=this.appendFrame(C,t,m);ue?(this.frameIndex++,this.lastPTS=ue.sample.pts,m+=ue.length,E=m):m=G}else _s(t,m)?(s=ga(t,m),j.samples.push({pts:this.lastPTS,dts:this.lastPTS,data:s,type:Cn.audioId3,duration:Number.POSITIVE_INFINITY}),m+=s.length,E=m):m++;if(m===G&&E!==G){const ue=t.slice(E);this.cachedData?this.cachedData=Vt(this.cachedData,ue):this.cachedData=ue}}return{audioTrack:C,videoTrack:aa(),id3Track:j,textTrack:aa()}}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:aa(),id3Track:this._id3Track,textTrack:aa()}}destroy(){this.cachedData=null,this._audioTrack=this._id3Track=void 0}}const zo=(O,t,n)=>{if(r(O))return O*90;const s=n?n.baseTime*9e4/n.timescale:0;return t*9e4+s};let uo=null;const Su=[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],jl=[44100,48e3,32e3,22050,24e3,16e3,11025,12e3,8e3],bl=[[0,72,144,12],[0,0,0,0],[0,72,144,12],[0,144,144,12]],Ju=[0,1,1,4];function Hc(O,t,n,s,m){if(n+24>t.length)return;const E=Uu(t,n);if(E&&n+E.frameLength<=t.length){const C=E.samplesPerFrame*9e4/E.sampleRate,j=s+m*C,X={unit:t.subarray(n,n+E.frameLength),pts:j,dts:j};return O.config=[],O.channelCount=E.channelCount,O.samplerate=E.sampleRate,O.samples.push(X),{sample:X,length:E.frameLength,missing:0}}}function Uu(O,t){const n=O[t+1]>>3&3,s=O[t+1]>>1&3,m=O[t+2]>>4&15,E=O[t+2]>>2&3;if(n!==1&&m!==0&&m!==15&&E!==3){const C=O[t+2]>>1&1,j=O[t+3]>>6,X=n===3?3-s:s===3?3:4,G=Su[X*14+m-1]*1e3,de=jl[(n===3?0:n===2?1:2)*3+E],Ee=j===3?1:2,Re=bl[n][s],Le=Ju[s],ut=Re*8*Le,ot=Math.floor(Re*G/de+C)*Le;if(uo===null){const ir=(navigator.userAgent||"").match(/Chrome\/(\d+)/i);uo=ir?parseInt(ir[1]):0}return!!uo&&uo<=87&&s===2&&G>=224e3&&j===0&&(O[t+3]=O[t+3]|128),{sampleRate:de,channelCount:Ee,frameLength:ot,samplesPerFrame:ut}}}function Ke(O,t){return O[t]===255&&(O[t+1]&224)===224&&(O[t+1]&6)!==0}function Z(O,t){return t+1<O.length&&Ke(O,t)}function Y(O,t){return Ke(O,t)&&4<=O.length-t}function te(O,t){if(t+1<O.length&&Ke(O,t)){const s=Uu(O,t);let m=4;s!=null&&s.frameLength&&(m=s.frameLength);const E=t+m;return E===O.length||Z(O,E)}return!1}class he extends na{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=ga(t,0);let m=(s==null?void 0:s.length)||0;if(te(t,m))return!1;for(let E=t.length;m<E;m++)if(os(t,m))return n.log("ADTS sync word found !"),!0;return!1}canParse(t,n){return Ra(t,n)}appendFrame(t,n,s){us(t,this.observer,n,s,t.manifestCodec);const m=Po(t,n,s,this.basePTS,this.frameIndex);if(m&&m.missing===0)return m}}const Se=(O,t)=>{let n=0,s=5;t+=s;const m=new Uint32Array(1),E=new Uint32Array(1),C=new Uint8Array(1);for(;s>0;){C[0]=O[t];const j=Math.min(s,8),X=8-j;E[0]=4278190080>>>24+X<<X,m[0]=(C[0]&E[0])>>X,n=n?n<<j|m[0]:m[0],t+=1,s-=j}return n};class Ve extends na{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=Pt(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=ga(t,0);if(!n)return!1;const s=n.length;return t[s]===11&&t[s+1]===119&&Ln(n)!==void 0&&Se(t,s)<16}}function Pt(O,t,n,s,m){if(n+8>t.length||t[n]!==11||t[n+1]!==119)return-1;const E=t[n+4]>>6;if(E>=3)return-1;const j=[48e3,44100,32e3][E],X=t[n+4]&63,ue=[64,69,96,64,70,96,80,87,120,80,88,120,96,104,144,96,105,144,112,121,168,112,122,168,128,139,192,128,140,192,160,174,240,160,175,240,192,208,288,192,209,288,224,243,336,224,244,336,256,278,384,256,279,384,320,348,480,320,349,480,384,417,576,384,418,576,448,487,672,448,488,672,512,557,768,512,558,768,640,696,960,640,697,960,768,835,1152,768,836,1152,896,975,1344,896,976,1344,1024,1114,1536,1024,1115,1536,1152,1253,1728,1152,1254,1728,1280,1393,1920,1280,1394,1920][X*3+E]*2;if(n+ue>t.length)return-1;const de=t[n+6]>>5;let Ee=0;de===2?Ee+=2:(de&1&&de!==1&&(Ee+=2),de&4&&(Ee+=2));const Re=(t[n+6]<<8|t[n+7])>>12-Ee&1,ut=[2,1,2,3,3,4,4,5][de]+Re,ot=t[n+5]>>3,Kt=t[n+5]&7,er=new Uint8Array([E<<6|ot<<1|Kt>>2,(Kt&3)<<6|de<<3|Re<<2|X>>4,X<<4&224]),ir=1536/j*9e4,Er=s+m*ir,jr=t.subarray(n,n+ue);return O.config=er,O.channelCount=ut,O.samplerate=j,O.samples.push({unit:jr,pts:Er}),ue}class Ut extends na{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=ga(t,0);let s=(n==null?void 0:n.length)||0;if(n&&t[s]===11&&t[s+1]===119&&Ln(n)!==void 0&&Se(t,s)<=16)return!1;for(let m=t.length;s<m;s++)if(te(t,s))return H.log("MPEG Audio sync word found !"),!0;return!1}canParse(t,n){return Y(t,n)}appendFrame(t,n,s){if(this.basePTS!==null)return Hc(t,n,s,this.basePTS,this.frameIndex)}}const ar=/\/emsg[-/]ID3/i;class Ar{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=aa("video",1),C=this.audioTrack=aa("audio",1),j=this.txtTrack=aa("text",1);if(this.id3Track=aa("id3",1),this.timeOffset=0,!(t!=null&&t.byteLength))return;const X=Qe(t);if(X.video){const{id:G,timescale:ue,codec:de,supplemental:Ee}=X.video;E.id=G,E.timescale=j.timescale=ue,E.codec=de,E.supplemental=Ee}if(X.audio){const{id:G,timescale:ue,codec:de}=X.audio;C.id=G,C.timescale=ue,C.codec=de}j.id=Zt.text,E.sampleDuration=0,E.duration=C.duration=m}resetContiguity(){this.remainderData=null}static probe(t){return tt(t)}demux(t,n){this.timeOffset=n;let s=t;const m=this.videoTrack,E=this.txtTrack;if(this.config.progressive){this.remainderData&&(s=Vt(this.remainderData,t));const j=qe(s);this.remainderData=j.remainder,m.samples=j.valid||new Uint8Array}else m.samples=s;const C=this.extractID3Track(m,n);return E.samples=Rt(n,m),{videoTrack:m,audioTrack:this.audioTrack,id3Track:C,textTrack:this.txtTrack}}flush(){const t=this.timeOffset,n=this.videoTrack,s=this.txtTrack;n.samples=this.remainderData||new Uint8Array,this.remainderData=null;const m=this.extractID3Track(n,this.timeOffset);return s.samples=Rt(t,n),{videoTrack:n,audioTrack:aa(),id3Track:m,textTrack:aa()}}extractID3Track(t,n){const s=this.id3Track;if(t.samples.length){const m=gt(t.samples,["emsg"]);m&&m.forEach(E=>{const C=ze(E);if(ar.test(C.schemeIdUri)){const j=Kr(C,n);let X=C.eventDuration===4294967295?Number.POSITIVE_INFINITY:C.eventDuration/C.timeScale;X<=.001&&(X=Number.POSITIVE_INFINITY);const G=C.payload;s.samples.push({data:G,len:G.byteLength,dts:j,pts:j,type:Cn.emsg,duration:X})}else if(this.config.enableEmsgKLVMetadata&&C.schemeIdUri.startsWith("urn:misb:KLV:bin:1910.1")){const j=Kr(C,n);s.samples.push({data:C.payload,len:C.payload.byteLength,dts:j,pts:j,type:Cn.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 Kr(O,t){return r(O.presentationTime)?O.presentationTime/O.timeScale:t+O.presentationTimeDelta/O.timeScale}class cn{constructor(t,n,s){this.keyData=void 0,this.decrypter=void 0,this.keyData=s,this.decrypter=new is(n,{removePKCS7Padding:!1})}decryptBuffer(t){return this.decrypter.decrypt(t,this.keyData.key.buffer,this.keyData.iv.buffer,ui.cbc)}decryptAacSample(t,n,s){const m=t[n].unit;if(m.length<=16)return;const E=m.subarray(16,m.length-m.length%16),C=E.buffer.slice(E.byteOffset,E.byteOffset+E.length);this.decryptBuffer(C).then(j=>{const X=new Uint8Array(j);m.set(X,16),this.decrypter.isSync()||this.decryptAacSamples(t,n+1,s)}).catch(s)}decryptAacSamples(t,n,s){for(;;n++){if(n>=t.length){s();return}if(!(t[n].unit.length<32)&&(this.decryptAacSample(t,n,s),!this.decrypter.isSync()))return}}getAvcEncryptedData(t){const n=Math.floor((t.length-48)/160)*16+16,s=new Int8Array(n);let m=0;for(let E=32;E<t.length-16;E+=160,m+=16)s.set(t.subarray(E,E+16),m);return s}getAvcDecryptedUnit(t,n){const s=new Uint8Array(n);let m=0;for(let E=32;E<t.length-16;E+=160,m+=16)t.set(s.subarray(m,m+16),E);return t}decryptAvcSample(t,n,s,m,E){const C=Xt(E.data),j=this.getAvcEncryptedData(C);this.decryptBuffer(j.buffer).then(X=>{E.data=this.getAvcDecryptedUnit(C,X),this.decrypter.isSync()||this.decryptAvcSamples(t,n,s+1,m)}).catch(m)}decryptAvcSamples(t,n,s,m){if(t instanceof Uint8Array)throw new Error("Cannot decrypt samples of type Uint8Array");for(;;n++,s=0){if(n>=t.length){m();return}const E=t[n].units;for(;!(s>=E.length);s++){const C=E[s];if(!(C.data.length<=48||C.type!==1&&C.type!==5)&&(this.decryptAvcSample(t,n,s,m,C),!this.decrypter.isSync()))return}}}}class An{constructor(){this.VideoSample=null}createVideoSample(t,n,s){return{key:t,frame:!1,pts:n,dts:s,units:[],length:0}}getLastNalUnit(t){var n;let s=this.VideoSample,m;if((!s||s.units.length===0)&&(s=t[t.length-1]),(n=s)!=null&&n.units){const E=s.units;m=E[E.length-1]}return m}pushAccessUnit(t,n){if(t.units.length&&t.frame){if(t.pts===void 0){const s=n.samples,m=s.length;if(m){const E=s[m-1];t.pts=E.pts,t.dts=E.dts}else{n.dropped++;return}}n.samples.push(t)}}parseNALu(t,n,s){const m=n.byteLength;let E=t.naluState||0;const C=E,j=[];let X=0,G,ue,de,Ee=-1,Re=0;for(E===-1&&(Ee=0,Re=this.getNALuType(n,0),E=0,X=1);X<m;){if(G=n[X++],!E){E=G?0:1;continue}if(E===1){E=G?0:2;continue}if(!G)E=3;else if(G===1){if(ue=X-E-1,Ee>=0){const Le={data:n.subarray(Ee,ue),type:Re};j.push(Le)}else{const Le=this.getLastNalUnit(t.samples);Le&&(C&&X<=4-C&&Le.state&&(Le.data=Le.data.subarray(0,Le.data.byteLength-C)),ue>0&&(Le.data=Vt(Le.data,n.subarray(0,ue)),Le.state=0))}X<m?(de=this.getNALuType(n,X),Ee=X,Re=de,E=0):E=-1}else E=0}if(Ee>=0&&E>=0){const Le={data:n.subarray(Ee,m),type:Re,state:E};j.push(Le)}if(j.length===0){const Le=this.getLastNalUnit(t.samples);Le&&(Le.data=Vt(Le.data,n))}return t.naluState=E,j}}class Kn{constructor(t){this.data=void 0,this.bytesAvailable=void 0,this.word=void 0,this.bitsAvailable=void 0,this.data=t,this.bytesAvailable=t.byteLength,this.word=0,this.bitsAvailable=0}loadWord(){const t=this.data,n=this.bytesAvailable,s=t.byteLength-n,m=new Uint8Array(4),E=Math.min(4,n);if(E===0)throw new Error("no bytes available");m.set(t.subarray(s,s+E)),this.word=new DataView(m.buffer).getUint32(0),this.bitsAvailable=E*8,this.bytesAvailable-=E}skipBits(t){let n;t=Math.min(t,this.bytesAvailable*8+this.bitsAvailable),this.bitsAvailable>t?(this.word<<=t,this.bitsAvailable-=t):(t-=this.bitsAvailable,n=t>>3,t-=n<<3,this.bytesAvailable-=n,this.loadWord(),this.word<<=t,this.bitsAvailable-=t)}readBits(t){let n=Math.min(this.bitsAvailable,t);const s=this.word>>>32-n;if(t>32&&H.error("Cannot read more than 32 bits at a time"),this.bitsAvailable-=n,this.bitsAvailable>0)this.word<<=n;else if(this.bytesAvailable>0)this.loadWord();else throw new Error("no bits available");return n=t-n,n>0&&this.bitsAvailable?s<<n|this.readBits(n):s}skipLZ(){let t;for(t=0;t<this.bitsAvailable;++t)if(this.word&2147483648>>>t)return this.word<<=t,this.bitsAvailable-=t,t;return this.loadWord(),t+this.skipLZ()}skipUEG(){this.skipBits(1+this.skipLZ())}skipEG(){this.skipBits(1+this.skipLZ())}readUEG(){const t=this.skipLZ();return this.readBits(t+1)-1}readEG(){const t=this.readUEG();return 1&t?1+t>>>1:-1*(t>>>1)}readBoolean(){return this.readBits(1)===1}readUByte(){return this.readBits(8)}readUShort(){return this.readBits(16)}readUInt(){return this.readBits(32)}}class ti extends An{parsePES(t,n,s,m){const E=this.parseNALu(t,s.data,m);let C=this.VideoSample,j,X=!1;s.data=null,C&&E.length&&!t.audFound&&(this.pushAccessUnit(C,t),C=this.VideoSample=this.createVideoSample(!1,s.pts,s.dts)),E.forEach(G=>{var ue,de;switch(G.type){case 1:{let ut=!1;j=!0;const ot=G.data;if(X&&ot.length>4){const Kt=this.readSliceType(ot);(Kt===2||Kt===4||Kt===7||Kt===9)&&(ut=!0)}if(ut){var Ee;(Ee=C)!=null&&Ee.frame&&!C.key&&(this.pushAccessUnit(C,t),C=this.VideoSample=null)}C||(C=this.VideoSample=this.createVideoSample(!0,s.pts,s.dts)),C.frame=!0,C.key=ut;break}case 5:j=!0,(ue=C)!=null&&ue.frame&&!C.key&&(this.pushAccessUnit(C,t),C=this.VideoSample=null),C||(C=this.VideoSample=this.createVideoSample(!0,s.pts,s.dts)),C.key=!0,C.frame=!0;break;case 6:{j=!0,Ct(G.data,1,s.pts,n.samples);break}case 7:{var Re,Le;j=!0,X=!0;const ut=G.data,ot=this.readSPS(ut);if(!t.sps||t.width!==ot.width||t.height!==ot.height||((Re=t.pixelRatio)==null?void 0:Re[0])!==ot.pixelRatio[0]||((Le=t.pixelRatio)==null?void 0:Le[1])!==ot.pixelRatio[1]){t.width=ot.width,t.height=ot.height,t.pixelRatio=ot.pixelRatio,t.sps=[ut];const Kt=ut.subarray(1,4);let er="avc1.";for(let ir=0;ir<3;ir++){let Er=Kt[ir].toString(16);Er.length<2&&(Er="0"+Er),er+=Er}t.codec=er}break}case 8:j=!0,t.pps=[G.data];break;case 9:j=!0,t.audFound=!0,(de=C)!=null&&de.frame&&(this.pushAccessUnit(C,t),C=null),C||(C=this.VideoSample=this.createVideoSample(!1,s.pts,s.dts));break;case 12:j=!0;break;default:j=!1;break}C&&j&&C.units.push(G)}),m&&C&&(this.pushAccessUnit(C,t),this.VideoSample=null)}getNALuType(t,n){return t[n]&31}readSliceType(t){const n=new Kn(t);return n.readUByte(),n.readUEG(),n.readUEG()}skipScalingList(t,n){let s=8,m=8,E;for(let C=0;C<t;C++)m!==0&&(E=n.readEG(),m=(s+E+256)%256),s=m===0?s:m}readSPS(t){const n=new Kn(t);let s=0,m=0,E=0,C=0,j,X,G;const ue=n.readUByte.bind(n),de=n.readBits.bind(n),Ee=n.readUEG.bind(n),Re=n.readBoolean.bind(n),Le=n.skipBits.bind(n),ut=n.skipEG.bind(n),ot=n.skipUEG.bind(n),Kt=this.skipScalingList.bind(this);ue();const er=ue();if(de(5),Le(3),ue(),ot(),er===100||er===110||er===122||er===244||er===44||er===83||er===86||er===118||er===128){const sn=Ee();if(sn===3&&Le(1),ot(),ot(),Le(1),Re())for(X=sn!==3?8:12,G=0;G<X;G++)Re()&&(G<6?Kt(16,n):Kt(64,n))}ot();const ir=Ee();if(ir===0)Ee();else if(ir===1)for(Le(1),ut(),ut(),j=Ee(),G=0;G<j;G++)ut();ot(),Le(1);const Er=Ee(),jr=Ee(),pn=de(1);pn===0&&Le(1),Le(1),Re()&&(s=Ee(),m=Ee(),E=Ee(),C=Ee());let Ur=[1,1];if(Re()&&Re())switch(ue()){case 1:Ur=[1,1];break;case 2:Ur=[12,11];break;case 3:Ur=[10,11];break;case 4:Ur=[16,11];break;case 5:Ur=[40,33];break;case 6:Ur=[24,11];break;case 7:Ur=[20,11];break;case 8:Ur=[32,11];break;case 9:Ur=[80,33];break;case 10:Ur=[18,11];break;case 11:Ur=[15,11];break;case 12:Ur=[64,33];break;case 13:Ur=[160,99];break;case 14:Ur=[4,3];break;case 15:Ur=[3,2];break;case 16:Ur=[2,1];break;case 255:{Ur=[ue()<<8|ue(),ue()<<8|ue()];break}}return{width:Math.ceil((Er+1)*16-s*2-m*2),height:(2-pn)*(jr+1)*16-(pn?2:4)*(E+C),pixelRatio:Ur}}}class Oi extends An{constructor(...t){super(...t),this.initVPS=null}parsePES(t,n,s,m){const E=this.parseNALu(t,s.data,m);let C=this.VideoSample,j,X=!1;s.data=null,C&&E.length&&!t.audFound&&(this.pushAccessUnit(C,t),C=this.VideoSample=this.createVideoSample(!1,s.pts,s.dts)),E.forEach(G=>{var ue,de;switch(G.type){case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:C||(C=this.VideoSample=this.createVideoSample(!1,s.pts,s.dts)),C.frame=!0,j=!0;break;case 16:case 17:case 18:case 21:if(j=!0,X){var Ee;(Ee=C)!=null&&Ee.frame&&!C.key&&(this.pushAccessUnit(C,t),C=this.VideoSample=null)}C||(C=this.VideoSample=this.createVideoSample(!0,s.pts,s.dts)),C.key=!0,C.frame=!0;break;case 19:case 20:j=!0,(ue=C)!=null&&ue.frame&&!C.key&&(this.pushAccessUnit(C,t),C=this.VideoSample=null),C||(C=this.VideoSample=this.createVideoSample(!0,s.pts,s.dts)),C.key=!0,C.frame=!0;break;case 39:j=!0,Ct(G.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(G.data)),this.initVPS=G.data),t.vps=[G.data];break;case 33:if(j=!0,X=!0,t.vps!==void 0&&t.vps[0]!==this.initVPS&&t.sps!==void 0&&!this.matchSPS(t.sps[0],G.data)&&(this.initVPS=t.vps[0],t.sps=t.pps=void 0),!t.sps){const Re=this.readSPS(G.data);t.width=Re.width,t.height=Re.height,t.pixelRatio=Re.pixelRatio,t.codec=Re.codecString,t.sps=[],typeof t.params!="object"&&(t.params={});for(const Le in Re.params)t.params[Le]=Re.params[Le]}this.pushParameterSet(t.sps,G.data,t.vps),C||(C=this.VideoSample=this.createVideoSample(!0,s.pts,s.dts)),C.key=!0;break;case 34:if(j=!0,typeof t.params=="object"){if(!t.pps){t.pps=[];const Re=this.readPPS(G.data);for(const Le in Re)t.params[Le]=Re[Le]}this.pushParameterSet(t.pps,G.data,t.vps)}break;case 35:j=!0,t.audFound=!0,(de=C)!=null&&de.frame&&(this.pushAccessUnit(C,t),C=null),C||(C=this.VideoSample=this.createVideoSample(!1,s.pts,s.dts));break;default:j=!1;break}C&&j&&C.units.push(G)}),m&&C&&(this.pushAccessUnit(C,t),this.VideoSample=null)}pushParameterSet(t,n,s){(s&&s[0]===this.initVPS||!s&&!t.length)&&t.push(n)}getNALuType(t,n){return(t[n]&126)>>>1}ebsp2rbsp(t){const n=new Uint8Array(t.byteLength);let s=0;for(let m=0;m<t.byteLength;m++)m>=2&&t[m]===3&&t[m-1]===0&&t[m-2]===0||(n[s]=t[m],s++);return new Uint8Array(n.buffer,0,s)}pushAccessUnit(t,n){super.pushAccessUnit(t,n),this.initVPS&&(this.initVPS=null)}readVPS(t){const n=new Kn(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 Kn(this.ebsp2rbsp(t));n.readUByte(),n.readUByte(),n.readBits(4);const s=n.readBits(3);n.readBoolean();const m=n.readBits(2),E=n.readBoolean(),C=n.readBits(5),j=n.readUByte(),X=n.readUByte(),G=n.readUByte(),ue=n.readUByte(),de=n.readUByte(),Ee=n.readUByte(),Re=n.readUByte(),Le=n.readUByte(),ut=n.readUByte(),ot=n.readUByte(),Kt=n.readUByte(),er=[],ir=[];for(let qs=0;qs<s;qs++)er.push(n.readBoolean()),ir.push(n.readBoolean());if(s>0)for(let qs=s;qs<8;qs++)n.readBits(2);for(let qs=0;qs<s;qs++)er[qs]&&(n.readUByte(),n.readUByte(),n.readUByte(),n.readUByte(),n.readUByte(),n.readUByte(),n.readUByte(),n.readUByte(),n.readUByte(),n.readUByte(),n.readUByte()),ir[qs]&&n.readUByte();n.readUEG();const Er=n.readUEG();Er==3&&n.skipBits(1);const jr=n.readUEG(),pn=n.readUEG(),Ur=n.readBoolean();let sn=0,nn=0,Vr=0,In=0;Ur&&(sn+=n.readUEG(),nn+=n.readUEG(),Vr+=n.readUEG(),In+=n.readUEG());const Ei=n.readUEG(),Ji=n.readUEG(),va=n.readUEG(),ea=n.readBoolean();for(let qs=ea?0:s;qs<=s;qs++)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 ol=0;ol<4;ol++)for(let nc=0;nc<(ol===3?2:6);nc++)if(!n.readBoolean())n.readUEG();else{const bc=Math.min(64,1<<4+(ol<<1));ol>1&&n.readEG();for(let Pl=0;Pl<bc;Pl++)n.readEG()}n.readBoolean(),n.readBoolean(),n.readBoolean()&&(n.readUByte(),n.skipUEG(),n.skipUEG(),n.readBoolean());const ki=n.readUEG();let ha=0;for(let qs=0;qs<ki;qs++){let ol=!1;if(qs!==0&&(ol=n.readBoolean()),ol){qs===ki&&n.readUEG(),n.readBoolean(),n.readUEG();let nc=0;for(let df=0;df<=ha;df++){const bc=n.readBoolean();let Pl=!1;bc||(Pl=n.readBoolean()),(bc||Pl)&&nc++}ha=nc}else{const nc=n.readUEG(),df=n.readUEG();ha=nc+df;for(let bc=0;bc<nc;bc++)n.readUEG(),n.readBoolean();for(let bc=0;bc<df;bc++)n.readUEG(),n.readBoolean()}}if(n.readBoolean()){const qs=n.readUEG();for(let ol=0;ol<qs;ol++){for(let nc=0;nc<va+4;nc++)n.readBits(1);n.readBits(1)}}let bi=0,xi=1,gs=1,ys=!0,Es=1,Us=0;n.readBoolean(),n.readBoolean();let du=!1;if(n.readBoolean()){if(n.readBoolean()){const Df=n.readUByte(),Qf=[1,12,10,16,40,24,20,32,80,18,15,64,160,4,3,2],Fo=[1,11,11,11,33,11,11,11,33,11,11,33,99,3,2,1];Df>0&&Df<16?(xi=Qf[Df-1],gs=Fo[Df-1]):Df===255&&(xi=n.readBits(16),gs=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(),du=n.readBoolean(),du&&(n.skipUEG(),n.skipUEG(),n.skipUEG(),n.skipUEG()),n.readBoolean()&&(Es=n.readBits(32),Us=n.readBits(32),n.readBoolean()&&n.readUEG(),n.readBoolean())){const Fo=n.readBoolean(),ou=n.readBoolean();let Gf=!1;(Fo||ou)&&(Gf=n.readBoolean(),Gf&&(n.readUByte(),n.readBits(5),n.readBoolean(),n.readBits(5)),n.readBits(4),n.readBits(4),Gf&&n.readBits(4),n.readBits(5),n.readBits(5),n.readBits(5));for(let yd=0;yd<=s;yd++){ys=n.readBoolean();const Od=ys||n.readBoolean();let bd=!1;Od?n.readEG():bd=n.readBoolean();const xd=bd?1:n.readUEG()+1;if(Fo)for(let qf=0;qf<xd;qf++)n.readUEG(),n.readUEG(),Gf&&(n.readUEG(),n.readUEG()),n.skipBits(1);if(ou)for(let qf=0;qf<xd;qf++)n.readUEG(),n.readUEG(),Gf&&(n.readUEG(),n.readUEG()),n.skipBits(1)}}n.readBoolean()&&(n.readBoolean(),n.readBoolean(),n.readBoolean(),bi=n.readUEG())}let rc=jr,su=pn;if(Ur){let qs=1,ol=1;Er===1?qs=ol=2:Er==2&&(qs=2),rc=jr-qs*nn-qs*sn,su=pn-ol*In-ol*Vr}const Oo=m?["A","B","C"][m]:"",Dd=j<<24|X<<16|G<<8|ue;let zc=0;for(let qs=0;qs<32;qs++)zc=(zc|(Dd>>qs&1)<<31-qs)>>>0;let fd=zc.toString(16);return C===1&&fd==="2"&&(fd="6"),{codecString:`hvc1.${Oo}${C}.${fd}.${E?"H":"L"}${Kt}.B0`,params:{general_tier_flag:E,general_profile_idc:C,general_profile_space:m,general_profile_compatibility_flags:[j,X,G,ue],general_constraint_indicator_flags:[de,Ee,Re,Le,ut,ot],general_level_idc:Kt,bit_depth:Ei+8,bit_depth_luma_minus8:Ei,bit_depth_chroma_minus8:Ji,min_spatial_segmentation_idc:bi,chroma_format_idc:Er,frame_rate:{fixed:ys,fps:Us/Es}},width:rc,height:su,pixelRatio:[xi,gs]}}readPPS(t){const n=new Kn(this.ebsp2rbsp(t));n.readUByte(),n.readUByte(),n.skipUEG(),n.skipUEG(),n.skipBits(2),n.skipBits(3),n.skipBits(2),n.skipUEG(),n.skipUEG(),n.skipEG(),n.skipBits(2),n.readBoolean()&&n.skipUEG(),n.skipEG(),n.skipEG(),n.skipBits(4);const m=n.readBoolean(),E=n.readBoolean();let C=1;return E&&m?C=0:E?C=3:m&&(C=2),{parallelismType:C}}matchSPS(t,n){return String.fromCharCode.apply(null,t).substr(3)===String.fromCharCode.apply(null,n).substr(3)}}const ji=188;class la{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=la.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(ji*5,n-ji)+1,m=0;for(;m<s;){let E=!1,C=-1,j=0;for(let X=m;X<n;X+=ji)if(t[X]===71&&(n-X===ji||t[X+ji]===71)){if(j++,C===-1&&(C=X,C!==0&&(s=Math.min(C+ji*99,t.length-ji)+1)),E||(E=wa(t,X)===0),E&&j>1&&(C===0&&j>2||X+ji>s))return C}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:Zt[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=la.createTrack("video"),this._videoTrack.duration=m,this._audioTrack=la.createTrack("audio",m),this._id3Track=la.createTrack("id3"),this._txtTrack=la.createTrack("text"),this._audioTrack.segmentCodec="aac",this.videoParser=null,this.aacOverFlow=null,this.remainderData=null,this.audioCodec=n,this.videoCodec=s}resetTimeStamp(){}resetContiguity(){const{_audioTrack:t,_videoTrack:n,_id3Track:s}=this;t&&(t.pesData=null),n&&(n.pesData=null),s&&(s.pesData=null),this.aacOverFlow=null,this.remainderData=null}demux(t,n,s=!1,m=!1){s||(this.sampleAes=null);let E;const C=this._videoTrack,j=this._audioTrack,X=this._id3Track,G=this._txtTrack;let ue=C.pid,de=C.pesData,Ee=j.pid,Re=X.pid,Le=j.pesData,ut=X.pesData,ot=null,Kt=this.pmtParsed,er=this._pmtId,ir=t.length;if(this.remainderData&&(t=Vt(this.remainderData,t),ir=t.length,this.remainderData=null),ir<ji&&!m)return this.remainderData=t,{audioTrack:j,videoTrack:C,id3Track:X,textTrack:G};const Er=Math.max(0,la.syncOffset(t));ir-=(ir-Er)%ji,ir<t.byteLength&&!m&&(this.remainderData=new Uint8Array(t.buffer,ir,t.buffer.byteLength-ir));let jr=0;for(let Ur=Er;Ur<ir;Ur+=ji)if(t[Ur]===71){const sn=!!(t[Ur+1]&64),nn=wa(t,Ur),Vr=(t[Ur+3]&48)>>4;let In;if(Vr>1){if(In=Ur+5+t[Ur+4],In===Ur+ji)continue}else In=Ur+4;switch(nn){case ue:sn&&(de&&(E=Oa(de,this.logger))&&(this.readyVideoParser(C.segmentCodec),this.videoParser!==null&&this.videoParser.parsePES(C,G,E,!1)),de={data:[],size:0}),de&&(de.data.push(t.subarray(In,Ur+ji)),de.size+=Ur+ji-In);break;case Ee:if(sn){if(Le&&(E=Oa(Le,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}Le={data:[],size:0}}Le&&(Le.data.push(t.subarray(In,Ur+ji)),Le.size+=Ur+ji-In);break;case Re:sn&&(ut&&(E=Oa(ut,this.logger))&&this.parseID3PES(X,E),ut={data:[],size:0}),ut&&(ut.data.push(t.subarray(In,Ur+ji)),ut.size+=Ur+ji-In);break;case 0:sn&&(In+=t[In]+1),er=this._pmtId=Ts(t,In);break;case er:{sn&&(In+=t[In]+1);const Ei=Ds(t,In,this.typeSupported,s,this.observer,this.logger);ue=Ei.videoPid,ue>0&&(C.pid=ue,C.segmentCodec=Ei.segmentVideoCodec),Ee=Ei.audioPid,Ee>0&&(j.pid=Ee,j.segmentCodec=Ei.segmentAudioCodec),Re=Ei.id3Pid,Re>0&&(X.pid=Re),ot!==null&&!Kt&&(this.logger.warn(`MPEG-TS PMT found at ${Ur} after unknown PID '${ot}'. Backtracking to sync byte @${Er} to parse all TS packets.`),ot=null,Ur=Er-188),Kt=this.pmtParsed=!0;break}case 17:case 8191:break;default:ot=nn;break}}else jr++;jr>0&&Ls(this.observer,new Error(`Found ${jr} TS packet/s that do not start with 0x47`),void 0,this.logger),C.pesData=de,j.pesData=Le,X.pesData=ut;const pn={audioTrack:j,videoTrack:C,id3Track:X,textTrack:G};return m&&this.extractRemainingSamples(pn),pn}flush(){const{remainderData:t}=this;this.remainderData=null;let n;return t?n=this.demux(t,-1,!1,!0):n={videoTrack:this._videoTrack,audioTrack:this._audioTrack,id3Track:this._id3Track,textTrack:this._txtTrack},this.extractRemainingSamples(n),this.sampleAes?this.decrypt(n,this.sampleAes):n}extractRemainingSamples(t){const{audioTrack:n,videoTrack:s,id3Track:m,textTrack:E}=t,C=s.pesData,j=n.pesData,X=m.pesData;let G;if(C&&(G=Oa(C,this.logger))?(this.readyVideoParser(s.segmentCodec),this.videoParser!==null&&(this.videoParser.parsePES(s,E,G,!0),s.pesData=null)):s.pesData=C,j&&(G=Oa(j,this.logger))){switch(n.segmentCodec){case"aac":this.parseAACPES(n,G);break;case"mp3":this.parseMPEGPES(n,G);break;case"ac3":this.parseAC3PES(n,G);break}n.pesData=null}else j!=null&&j.size&&this.logger.log("last AAC PES packet truncated,might overlap between fragments"),n.pesData=j;X&&(G=Oa(X,this.logger))?(this.parseID3PES(m,G),m.pesData=null):m.pesData=X}demuxSampleAes(t,n,s){const m=this.demux(t,s,!0,!this.config.progressive),E=this.sampleAes=new cn(this.observer,this.config,n);return this.decrypt(m,E)}readyVideoParser(t){this.videoParser===null&&(t==="avc"?this.videoParser=new ti:t==="hevc"&&(this.videoParser=new Oi))}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 de=m.missing,Ee=m.sample.unit.byteLength;if(de===-1)E=Vt(m.sample.unit,E);else{const Re=Ee-de;m.sample.unit.set(E.subarray(0,de),Re),t.samples.push(m.sample),s=m.missing}}let C,j;for(C=s,j=E.length;C<j-1&&!Mi(E,C);C++);if(C!==s){let de;const Ee=C<j-1;if(Ee?de=`AAC PES did not start with ADTS header,offset:${C}`:de="No ADTS header found in AAC PES",Ls(this.observer,new Error(de),Ee,this.logger),!Ee)return}us(t,this.observer,E,C,this.audioCodec);let X;if(n.pts!==void 0)X=n.pts;else if(m){const de=yo(t.samplerate);X=m.sample.pts+de}else{this.logger.warn("[tsdemuxer]: AAC PES unknown PTS");return}let G=0,ue;for(;C<j;)if(ue=Po(t,E,C,X,G),C+=ue.length,ue.missing){this.aacOverFlow=ue;break}else for(G++;C<j-1&&!Mi(E,C);C++);}parseMPEGPES(t,n){const s=n.data,m=s.length;let E=0,C=0;const j=n.pts;if(j===void 0){this.logger.warn("[tsdemuxer]: MPEG PES unknown PTS");return}for(;C<m;)if(Z(s,C)){const X=Hc(t,s,C,j,E);if(X)C+=X.length,E++;else break}else C++}parseAC3PES(t,n){{const s=n.data,m=n.pts;if(m===void 0){this.logger.warn("[tsdemuxer]: AC3 PES unknown PTS");return}const E=s.length;let C=0,j=0,X;for(;j<E&&(X=Pt(t,s,j,m,C++))>0;)j+=X}}parseID3PES(t,n){if(n.pts===void 0){this.logger.warn("[tsdemuxer]: ID3 PES unknown PTS");return}const s=y({},n,{type:this._videoTrack?Cn.emsg:Cn.audioId3,duration:Number.POSITIVE_INFINITY});t.samples.push(s)}}function wa(O,t){return((O[t+1]&31)<<8)+O[t+2]}function Ts(O,t){return(O[t+10]&31)<<8|O[t+11]}function Ds(O,t,n,s,m,E){const C={audioPid:-1,videoPid:-1,id3Pid:-1,segmentVideoCodec:"avc",segmentAudioCodec:"aac"},j=(O[t+1]&15)<<8|O[t+2],X=t+3+j-4,G=(O[t+10]&15)<<8|O[t+11];for(t+=12+G;t<X;){const ue=wa(O,t),de=(O[t+3]&15)<<8|O[t+4];switch(O[t]){case 207:if(!s){ms("ADTS AAC",E);break}case 15:C.audioPid===-1&&(C.audioPid=ue);break;case 21:C.id3Pid===-1&&(C.id3Pid=ue);break;case 219:if(!s){ms("H.264",E);break}case 27:C.videoPid===-1&&(C.videoPid=ue);break;case 3:case 4:!n.mpeg&&!n.mp3?E.log("MPEG audio found, not supported in this browser"):C.audioPid===-1&&(C.audioPid=ue,C.segmentAudioCodec="mp3");break;case 193:if(!s){ms("AC-3",E);break}case 129:n.ac3?C.audioPid===-1&&(C.audioPid=ue,C.segmentAudioCodec="ac3"):E.log("AC-3 audio found, not supported in this browser");break;case 6:if(C.audioPid===-1&&de>0){let Ee=t+5,Re=de;for(;Re>2;){switch(O[Ee]){case 106:n.ac3!==!0?E.log("AC-3 audio found, not supported in this browser for now"):(C.audioPid=ue,C.segmentAudioCodec="ac3");break}const ut=O[Ee+1]+2;Ee+=ut,Re-=ut}}break;case 194:case 135:return Ls(m,new Error("Unsupported EC-3 in M2TS found"),void 0,E),C;case 36:C.videoPid===-1&&(C.videoPid=ue,C.segmentVideoCodec="hevc",E.log("HEVC in M2TS found"));break}t+=de+5}return C}function Ls(O,t,n,s){s.warn(`parsing error: ${t.message}`),O.emit(o.ERROR,o.ERROR,{type:c.MEDIA_ERROR,details:f.FRAG_PARSING_ERROR,fatal:!1,levelRetry:n,error:t,reason:t.message})}function ms(O,t){t.log(`${O} with AES-128-CBC encryption found in unencrypted stream`)}function Oa(O,t){let n=0,s,m,E,C,j;const X=O.data;if(!O||O.size===0)return null;for(;X[0].length<19&&X.length>1;)X[0]=Vt(X[0],X[1]),X.splice(1,1);if(s=X[0],(s[0]<<16)+(s[1]<<8)+s[2]===1){if(m=(s[4]<<8)+s[5],m&&m>O.size-6)return null;const ue=s[7];ue&192&&(C=(s[9]&14)*536870912+(s[10]&255)*4194304+(s[11]&254)*16384+(s[12]&255)*128+(s[13]&254)/2,ue&64?(j=(s[14]&14)*536870912+(s[15]&255)*4194304+(s[16]&254)*16384+(s[17]&255)*128+(s[18]&254)/2,C-j>54e5&&(t.warn(`${Math.round((C-j)/9e4)}s delta between PTS and DTS, align them`),C=j)):j=C),E=s[8];let de=E+9;if(O.size<=de)return null;O.size-=de;const Ee=new Uint8Array(O.size);for(let Re=0,Le=X.length;Re<Le;Re++){s=X[Re];let ut=s.byteLength;if(de)if(de>ut){de-=ut;continue}else s=s.subarray(de),ut-=de,de=0;Ee.set(s,n),n+=ut}return m&&(m-=E+3),{data:Ee,pts:C,dts:j,len:m}}return null}class io{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 xs=Math.pow(2,32)-1;class pr{static init(){pr.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 pr.types)pr.types.hasOwnProperty(t)&&(pr.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]);pr.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]);pr.STTS=pr.STSC=pr.STCO=E,pr.STSZ=new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0]),pr.VMHD=new Uint8Array([0,0,0,1,0,0,0,0,0,0,0,0]),pr.SMHD=new Uint8Array([0,0,0,0,0,0,0,0]),pr.STSD=new Uint8Array([0,0,0,0,0,0,0,1]);const C=new Uint8Array([105,115,111,109]),j=new Uint8Array([97,118,99,49]),X=new Uint8Array([0,0,0,1]);pr.FTYP=pr.box(pr.types.ftyp,C,X,C,j),pr.DINF=pr.box(pr.types.dinf,pr.box(pr.types.dref,m))}static box(t,...n){let s=8,m=n.length;const E=m;for(;m--;)s+=n[m].byteLength;const C=new Uint8Array(s);for(C[0]=s>>24&255,C[1]=s>>16&255,C[2]=s>>8&255,C[3]=s&255,C.set(t,4),m=0,s=8;m<E;m++)C.set(n[m],s),s+=n[m].byteLength;return C}static hdlr(t){return pr.box(pr.types.hdlr,pr.HDLR_TYPES[t])}static mdat(t){return pr.box(pr.types.mdat,t)}static mdhd(t,n){n*=t;const s=Math.floor(n/(xs+1)),m=Math.floor(n%(xs+1));return pr.box(pr.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 pr.box(pr.types.mdia,pr.mdhd(t.timescale||0,t.duration||0),pr.hdlr(t.type),pr.minf(t))}static mfhd(t){return pr.box(pr.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"?pr.box(pr.types.minf,pr.box(pr.types.smhd,pr.SMHD),pr.DINF,pr.stbl(t)):pr.box(pr.types.minf,pr.box(pr.types.vmhd,pr.VMHD),pr.DINF,pr.stbl(t))}static moof(t,n,s){return pr.box(pr.types.moof,pr.mfhd(t),pr.traf(s,n))}static moov(t){let n=t.length;const s=[];for(;n--;)s[n]=pr.trak(t[n]);return pr.box.apply(null,[pr.types.moov,pr.mvhd(t[0].timescale||0,t[0].duration||0)].concat(s).concat(pr.mvex(t)))}static mvex(t){let n=t.length;const s=[];for(;n--;)s[n]=pr.trex(t[n]);return pr.box.apply(null,[pr.types.mvex,...s])}static mvhd(t,n){n*=t;const s=Math.floor(n/(xs+1)),m=Math.floor(n%(xs+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 pr.box(pr.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 pr.box(pr.types.sdtp,s)}static stbl(t){return pr.box(pr.types.stbl,pr.stsd(t),pr.box(pr.types.stts,pr.STTS),pr.box(pr.types.stsc,pr.STSC),pr.box(pr.types.stsz,pr.STSZ),pr.box(pr.types.stco,pr.STCO))}static avc1(t){let n=[],s=[],m,E,C;for(m=0;m<t.sps.length;m++)E=t.sps[m],C=E.byteLength,n.push(C>>>8&255),n.push(C&255),n=n.concat(Array.prototype.slice.call(E));for(m=0;m<t.pps.length;m++)E=t.pps[m],C=E.byteLength,s.push(C>>>8&255),s.push(C&255),s=s.concat(Array.prototype.slice.call(E));const j=pr.box(pr.types.avcC,new Uint8Array([1,n[3],n[4],n[5],255,224|t.sps.length].concat(n).concat([t.pps.length]).concat(s))),X=t.width,G=t.height,ue=t.pixelRatio[0],de=t.pixelRatio[1];return pr.box(pr.types.avc1,new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,X>>8&255,X&255,G>>8&255,G&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,pr.box(pr.types.btrt,new Uint8Array([0,28,156,128,0,45,198,192,0,45,198,192])),pr.box(pr.types.pasp,new Uint8Array([ue>>24,ue>>16&255,ue>>8&255,ue&255,de>>24,de>>16&255,de>>8&255,de&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 pr.box(pr.types.mp4a,pr.audioStsd(t),pr.box(pr.types.esds,pr.esds(t)))}static mp3(t){return pr.box(pr.types[".mp3"],pr.audioStsd(t))}static ac3(t){return pr.box(pr.types["ac-3"],pr.audioStsd(t),pr.box(pr.types.dac3,t.config))}static stsd(t){const{segmentCodec:n}=t;if(t.type==="audio"){if(n==="aac")return pr.box(pr.types.stsd,pr.STSD,pr.mp4a(t));if(n==="ac3"&&t.config)return pr.box(pr.types.stsd,pr.STSD,pr.ac3(t));if(n==="mp3"&&t.codec==="mp3")return pr.box(pr.types.stsd,pr.STSD,pr.mp3(t))}else if(t.pps&&t.sps){if(n==="avc")return pr.box(pr.types.stsd,pr.STSD,pr.avc1(t));if(n==="hevc"&&t.vps)return pr.box(pr.types.stsd,pr.STSD,pr.hvc1(t))}else throw new Error("video track missing pps or sps");throw new Error(`unsupported ${t.type} segment codec (${n}/${t.codec})`)}static tkhd(t){const n=t.id,s=(t.duration||0)*(t.timescale||0),m=t.width||0,E=t.height||0,C=Math.floor(s/(xs+1)),j=Math.floor(s%(xs+1));return pr.box(pr.types.tkhd,new Uint8Array([1,0,0,7,0,0,0,0,0,0,0,2,0,0,0,0,0,0,0,3,n>>24&255,n>>16&255,n>>8&255,n&255,0,0,0,0,C>>24,C>>16&255,C>>8&255,C&255,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=pr.sdtp(t),m=t.id,E=Math.floor(n/(xs+1)),C=Math.floor(n%(xs+1));return pr.box(pr.types.traf,pr.box(pr.types.tfhd,new Uint8Array([0,0,0,0,m>>24,m>>16&255,m>>8&255,m&255])),pr.box(pr.types.tfdt,new Uint8Array([1,0,0,0,E>>24,E>>16&255,E>>8&255,E&255,C>>24,C>>16&255,C>>8&255,C&255])),pr.trun(t,s.length+16+20+8+16+8+8),s)}static trak(t){return t.duration=t.duration||4294967295,pr.box(pr.types.trak,pr.tkhd(t),pr.mdia(t))}static trex(t){const n=t.id;return pr.box(pr.types.trex,new Uint8Array([0,0,0,0,n>>24,n>>16&255,n>>8&255,n&255,0,0,0,1,0,0,0,0,0,0,0,0,0,1,0,1]))}static trun(t,n){const s=t.samples||[],m=s.length,E=12+16*m,C=new Uint8Array(E);let j,X,G,ue,de,Ee;for(n+=8+E,C.set([t.type==="video"?1:0,0,15,1,m>>>24&255,m>>>16&255,m>>>8&255,m&255,n>>>24&255,n>>>16&255,n>>>8&255,n&255],0),j=0;j<m;j++)X=s[j],G=X.duration,ue=X.size,de=X.flags,Ee=X.cts,C.set([G>>>24&255,G>>>16&255,G>>>8&255,G&255,ue>>>24&255,ue>>>16&255,ue>>>8&255,ue&255,de.isLeading<<2|de.dependsOn,de.isDependedOn<<6|de.hasRedundancy<<4|de.paddingValue<<1|de.isNonSync,de.degradPrio&61440,de.degradPrio&15,Ee>>>24&255,Ee>>>16&255,Ee>>>8&255,Ee&255],12+16*j);return pr.box(pr.types.trun,C)}static initSegment(t){pr.types||pr.init();const n=pr.moov(t);return Vt(pr.FTYP,n)}static hvc1(t){const n=t.params,s=[t.vps,t.sps,t.pps],m=4,E=new Uint8Array([1,n.general_profile_space<<6|(n.general_tier_flag?32:0)|n.general_profile_idc,n.general_profile_compatibility_flags[0],n.general_profile_compatibility_flags[1],n.general_profile_compatibility_flags[2],n.general_profile_compatibility_flags[3],n.general_constraint_indicator_flags[0],n.general_constraint_indicator_flags[1],n.general_constraint_indicator_flags[2],n.general_constraint_indicator_flags[3],n.general_constraint_indicator_flags[4],n.general_constraint_indicator_flags[5],n.general_level_idc,240|n.min_spatial_segmentation_idc>>8,255&n.min_spatial_segmentation_idc,252|n.parallelismType,252|n.chroma_format_idc,248|n.bit_depth_luma_minus8,248|n.bit_depth_chroma_minus8,0,parseInt(n.frame_rate.fps),m-1|n.temporal_id_nested<<2|n.num_temporal_layers<<3|(n.frame_rate.fixed?64:0),s.length]);let C=E.length;for(let Le=0;Le<s.length;Le+=1){C+=3;for(let ut=0;ut<s[Le].length;ut+=1)C+=2+s[Le][ut].length}const j=new Uint8Array(C);j.set(E,0),C=E.length;const X=s.length-1;for(let Le=0;Le<s.length;Le+=1){j.set(new Uint8Array([32+Le|(Le===X?128:0),0,s[Le].length]),C),C+=3;for(let ut=0;ut<s[Le].length;ut+=1)j.set(new Uint8Array([s[Le][ut].length>>8,s[Le][ut].length&255]),C),C+=2,j.set(s[Le][ut],C),C+=s[Le][ut].length}const G=pr.box(pr.types.hvcC,j),ue=t.width,de=t.height,Ee=t.pixelRatio[0],Re=t.pixelRatio[1];return pr.box(pr.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,ue>>8&255,ue&255,de>>8&255,de&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]),G,pr.box(pr.types.btrt,new Uint8Array([0,28,156,128,0,45,198,192,0,45,198,192])),pr.box(pr.types.pasp,new Uint8Array([Ee>>24,Ee>>16&255,Ee>>8&255,Ee&255,Re>>24,Re>>16&255,Re>>8&255,Re&255])))}}pr.types=void 0,pr.HDLR_TYPES=void 0,pr.STTS=void 0,pr.STSC=void 0,pr.STCO=void 0,pr.STSZ=void 0,pr.VMHD=void 0,pr.SMHD=void 0,pr.STSD=void 0,pr.FTYP=void 0,pr.DINF=void 0;const Io=9e4;function Mo(O,t,n=1,s=!1){const m=O*t*n;return s?Math.round(m):m}function gu(O,t,n=1,s=!1){return Mo(O,t,1/n,s)}function Ns(O,t=!1){return Mo(O,1e3,1/Io,t)}function Vo(O,t=1){return Mo(O,Io,1/t)}function _o(O){const{baseTime:t,timescale:n,trackId:s}=O;return`${t/n} (${t}/${n}) trackId: ${s}`}const sc=10*1e3,xl=1024,El=1152,el=1536;let $s=null,zu=null;function Zu(O,t,n,s){return{duration:t,size:n,cts:s,flags:{isLeading:0,isDependedOn:0,hasRedundancy:0,degradPrio:0,dependsOn:O?2:1,isNonSync:O?0:1}}}class Do 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,$s===null){const C=(navigator.userAgent||"").match(/Chrome\/(\d+)/i);$s=C?parseInt(C[1]):0}if(zu===null){const E=navigator.userAgent.match(/Safari\/(\d+)/i);zu=E?parseInt(E[1]):0}}destroy(){this.config=this.videoTrackConfig=this._initPTS=this._initDTS=null}resetTimeStamp(t){const n=this._initPTS;(!n||!t||t.trackId!==n.trackId||t.baseTime!==n.baseTime||t.timescale!==n.timescale)&&this.log(`Reset initPTS: ${n&&_o(n)} > ${t&&_o(t)}`),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,C)=>{let j=C.pts,X=j-E;return X<-4294967296&&(n=!0,j=Yo(j,s),X=j-E),X>0?E:j},s);return n&&this.debug("PTS rollover detected"),m}remux(t,n,s,m,E,C,j,X){let G,ue,de,Ee,Re,Le,ut=E,ot=E;const Kt=t.pid>-1,er=n.pid>-1,ir=n.samples.length,Er=t.samples.length>0,jr=j&&ir>0||ir>1;if((!Kt||Er)&&(!er||jr)||this.ISGenerated||j){if(this.ISGenerated){var Ur,sn,nn,Vr;const va=this.videoTrackConfig;(va&&(n.width!==va.width||n.height!==va.height||((Ur=n.pixelRatio)==null?void 0:Ur[0])!==((sn=va.pixelRatio)==null?void 0:sn[0])||((nn=n.pixelRatio)==null?void 0:nn[1])!==((Vr=va.pixelRatio)==null?void 0:Vr[1]))||!va&&jr||this.nextAudioTs===null&&Er)&&this.resetInitSegment()}this.ISGenerated||(de=this.generateIS(t,n,E,C));const In=this.isVideoContiguous;let Ei=-1,Ji;if(jr&&(Ei=Ul(n.samples),!In&&this.config.forceKeyFrameOnDiscontinuity))if(Le=!0,Ei>0){this.warn(`Dropped ${Ei} out of ${ir} video samples due to a missing keyframe`);const va=this.getVideoStartPts(n.samples);n.samples=n.samples.slice(Ei),n.dropped+=Ei,ot+=(n.samples[0].pts-va)/n.inputTimeScale,Ji=ot}else Ei===-1&&(this.warn(`No keyframe found out of ${ir} video samples`),Le=!1);if(this.ISGenerated){if(Er&&jr){const va=this.getVideoStartPts(n.samples),di=(Yo(t.samples[0].pts,va)-va)/n.inputTimeScale;ut+=Math.max(0,di),ot+=Math.max(0,-di)}if(Er){if(t.samplerate||(this.warn("regenerate InitSegment as audio detected"),de=this.generateIS(t,n,E,C)),ue=this.remuxAudio(t,ut,this.isAudioContiguous,C,er||jr||X===u.AUDIO?ot:void 0),jr){const va=ue?ue.endPTS-ue.startPTS:0;n.inputTimeScale||(this.warn("regenerate InitSegment as video detected"),de=this.generateIS(t,n,E,C)),G=this.remuxVideo(n,ot,In,va)}}else jr&&(G=this.remuxVideo(n,ot,In,0));G&&(G.firstKeyFrame=Ei,G.independent=Ei!==-1,G.firstKeyFramePTS=Ji)}}return this.ISGenerated&&this._initPTS&&this._initDTS&&(s.samples.length&&(Re=pu(s,E,this._initPTS,this._initDTS)),m.samples.length&&(Ee=zl(m,E,this._initPTS))),{audio:ue,video:G,initSegment:de,independent:Le,text:Ee,id3:Re}}computeInitPts(t,n,s,m){const E=Math.round(s*n);let C=Yo(t,E);if(C<E+n)for(this.log(`Adjusting PTS for rollover in timeline near ${(E-C)/n} ${m}`);C<E+n;)C+=8589934592;return C-E}generateIS(t,n,s,m){const E=t.samples,C=n.samples,j=this.typeSupported,X={},G=this._initPTS;let ue=!G||m,de="audio/mp4",Ee,Re,Le,ut=-1;if(ue&&(Ee=Re=1/0),t.config&&E.length){switch(t.timescale=t.samplerate,t.segmentCodec){case"mp3":j.mpeg?(de="audio/mpeg",t.codec=""):j.mp3&&(t.codec="mp3");break;case"ac3":t.codec="ac-3";break}X.audio={id:"audio",container:de,codec:t.codec,initSegment:t.segmentCodec==="mp3"&&j.mpeg?new Uint8Array(0):pr.initSegment([t]),metadata:{channelCount:t.channelCount}},ue&&(ut=t.id,Le=t.inputTimeScale,!G||Le!==G.timescale?Ee=Re=this.computeInitPts(E[0].pts,Le,s,"audio"):ue=!1)}if(n.sps&&n.pps&&C.length){if(n.timescale=n.inputTimeScale,X.video={id:"main",container:"video/mp4",codec:n.codec,initSegment:pr.initSegment([n]),metadata:{width:n.width,height:n.height}},ue)if(ut=n.id,Le=n.inputTimeScale,!G||Le!==G.timescale){const ot=this.getVideoStartPts(C),Kt=Yo(C[0].dts,ot),er=this.computeInitPts(Kt,Le,s,"video"),ir=this.computeInitPts(ot,Le,s,"video");Re=Math.min(Re,er),Ee=Math.min(Ee,ir)}else ue=!1;this.videoTrackConfig={width:n.width,height:n.height,pixelRatio:n.pixelRatio}}if(Object.keys(X).length)return this.ISGenerated=!0,ue?(G&&this.warn(`Timestamps at playlist time: ${m?"":"~"}${s} ${Ee/Le} != initPTS: ${G.baseTime/G.timescale} (${G.baseTime}/${G.timescale}) trackId: ${G.trackId}`),this.log(`Found initPTS at playlist time: ${s} offset: ${Ee/Le} (${Ee}/${Le}) trackId: ${ut}`),this._initPTS={baseTime:Ee,timescale:Le,trackId:ut},this._initDTS={baseTime:Re,timescale:Le,trackId:ut}):Ee=Le=void 0,{tracks:X,initPTS:Ee,timescale:Le,trackId:ut}}remuxVideo(t,n,s,m){const E=t.inputTimeScale,C=t.samples,j=[],X=C.length,G=this._initPTS,ue=G.baseTime*E/G.timescale;let de=this.nextVideoTs,Ee=8,Re=this.videoSampleDuration,Le,ut,ot=Number.POSITIVE_INFINITY,Kt=Number.NEGATIVE_INFINITY,er=!1;if(!s||de===null){const bi=ue+n*E,xi=C[0].pts-Yo(C[0].dts,C[0].pts);$s&&de!==null&&Math.abs(bi-xi-(de+ue))<15e3?s=!0:de=bi-xi-ue}const ir=de+ue;for(let bi=0;bi<X;bi++){const xi=C[bi];xi.pts=Yo(xi.pts,ir),xi.dts=Yo(xi.dts,ir),xi.dts<C[bi>0?bi-1:bi].dts&&(er=!0)}er&&C.sort(function(bi,xi){const gs=bi.dts-xi.dts,ys=bi.pts-xi.pts;return gs||ys}),Le=C[0].dts,ut=C[C.length-1].dts;const Er=ut-Le,jr=Er?Math.round(Er/(X-1)):Re||t.inputTimeScale/30;if(s){const bi=Le-ir,xi=bi>jr,gs=bi<-1;if((xi||gs)&&(xi?this.warn(`${(t.segmentCodec||"").toUpperCase()}: ${Ns(bi,!0)} ms (${bi}dts) hole between fragments detected at ${n.toFixed(3)}`):this.warn(`${(t.segmentCodec||"").toUpperCase()}: ${Ns(-bi,!0)} ms (${bi}dts) overlapping between fragments detected at ${n.toFixed(3)}`),!gs||ir>=C[0].pts||$s)){Le=ir;const ys=C[0].pts-bi;if(xi)C[0].dts=Le,C[0].pts=ys;else{let Es=!0;for(let Us=0;Us<C.length&&!(C[Us].dts>ys&&Es);Us++){const du=C[Us].pts;if(C[Us].dts-=bi,C[Us].pts-=bi,Us<C.length-1){const ya=C[Us+1].pts,rc=C[Us].pts,su=ya<=rc,Oo=ya<=du;Es=su==Oo}}}this.log(`Video: Initial PTS/DTS adjusted: ${Ns(ys,!0)}/${Ns(Le,!0)}, delta: ${Ns(bi,!0)} ms`)}}Le=Math.max(0,Le);let pn=0,Ur=0,sn=Le;for(let bi=0;bi<X;bi++){const xi=C[bi],gs=xi.units,ys=gs.length;let Es=0;for(let Us=0;Us<ys;Us++)Es+=gs[Us].data.length;Ur+=Es,pn+=ys,xi.length=Es,xi.dts<sn?(xi.dts=sn,sn+=jr/4|0||1):sn=xi.dts,ot=Math.min(xi.pts,ot),Kt=Math.max(xi.pts,Kt)}ut=C[X-1].dts;const nn=Ur+4*pn+8;let Vr;try{Vr=new Uint8Array(nn)}catch(bi){this.observer.emit(o.ERROR,o.ERROR,{type:c.MUX_ERROR,details:f.REMUX_ALLOC_ERROR,fatal:!1,error:bi,bytes:nn,reason:`fail allocating video mdat ${nn}`});return}const In=new DataView(Vr.buffer);In.setUint32(0,nn),Vr.set(pr.types.mdat,4);let Ei=!1,Ji=Number.POSITIVE_INFINITY,va=Number.POSITIVE_INFINITY,ea=Number.NEGATIVE_INFINITY,di=Number.NEGATIVE_INFINITY;for(let bi=0;bi<X;bi++){const xi=C[bi],gs=xi.units;let ys=0;for(let du=0,ya=gs.length;du<ya;du++){const rc=gs[du],su=rc.data,Oo=rc.data.byteLength;In.setUint32(Ee,Oo),Ee+=4,Vr.set(su,Ee),Ee+=Oo,ys+=4+Oo}let Es;if(bi<X-1)Re=C[bi+1].dts-xi.dts,Es=C[bi+1].pts-xi.pts;else{const du=this.config,ya=bi>0?xi.dts-C[bi-1].dts:jr;if(Es=bi>0?xi.pts-C[bi-1].pts:jr,du.stretchShortVideoTrack&&this.nextAudioTs!==null){const rc=Math.floor(du.maxBufferHole*E),su=(m?ot+m*E:this.nextAudioTs+ue)-xi.pts;su>rc?(Re=su-ya,Re<0?Re=ya:Ei=!0,this.log(`It is approximately ${su/90} ms to the next segment; using duration ${Re/90} ms for the last video frame.`)):Re=ya}else Re=ya}const Us=Math.round(xi.pts-xi.dts);Ji=Math.min(Ji,Re),ea=Math.max(ea,Re),va=Math.min(va,Es),di=Math.max(di,Es),j.push(Zu(xi.key,Re,ys,Us))}if(j.length){if($s){if($s<70){const bi=j[0].flags;bi.dependsOn=2,bi.isNonSync=0}}else if(zu&&di-va<ea-Ji&&jr/ea<.025&&j[0].cts===0){this.warn("Found irregular gaps in sample duration. Using PTS instead of DTS to determine MP4 sample duration.");let bi=Le;for(let xi=0,gs=j.length;xi<gs;xi++){const ys=bi+j[xi].duration,Es=bi+j[xi].cts;if(xi<gs-1){const Us=ys+j[xi+1].cts;j[xi].duration=Us-Es}else j[xi].duration=xi?j[xi-1].duration:jr;j[xi].cts=0,bi=ys}}}Re=Ei||!Re?jr:Re;const sa=ut+Re;this.nextVideoTs=de=sa-ue,this.videoSampleDuration=Re,this.isVideoContiguous=!0;const Na={data1:pr.moof(t.sequenceNumber++,Le,y(t,{samples:j})),data2:Vr,startPTS:(ot-ue)/E,endPTS:(Kt+Re-ue)/E,startDTS:(Le-ue)/E,endDTS:de/E,type:"video",hasAudio:!1,hasVideo:!0,nb:j.length,dropped:t.dropped};return t.samples=[],t.dropped=0,Na}getSamplesPerFrame(t){switch(t.segmentCodec){case"mp3":return El;case"ac3":return el;default:return xl}}remuxAudio(t,n,s,m,E){const C=t.inputTimeScale,j=t.samplerate?t.samplerate:C,X=C/j,G=this.getSamplesPerFrame(t),ue=G*X,de=this._initPTS,Ee=t.segmentCodec==="mp3"&&this.typeSupported.mpeg,Re=[],Le=E!==void 0;let ut=t.samples,ot=Ee?0:8,Kt=this.nextAudioTs||-1;const er=de.baseTime*C/de.timescale,ir=er+n*C;if(this.isAudioContiguous=s=s||ut.length&&Kt>0&&(m&&Math.abs(ir-(Kt+er))<9e3||Math.abs(Yo(ut[0].pts,ir)-(Kt+er))<20*ue),ut.forEach(function(di){di.pts=Yo(di.pts,ir)}),!s||Kt<0){const di=ut.length;if(ut=ut.filter(sa=>sa.pts>=0),di!==ut.length&&this.warn(`Removed ${ut.length-di} of ${di} samples (initPTS ${er} / ${C})`),!ut.length)return;E===0?Kt=0:m&&!Le?Kt=Math.max(0,ir-er):Kt=ut[0].pts-er}if(t.segmentCodec==="aac"){const di=this.config.maxAudioFramesDrift;for(let sa=0,ki=Kt+er;sa<ut.length;sa++){const ha=ut[sa],Na=ha.pts,bi=Na-ki,xi=Math.abs(1e3*bi/C);if(bi<=-di*ue&&Le)sa===0&&(this.warn(`Audio frame @ ${(Na/C).toFixed(3)}s overlaps marker by ${Math.round(1e3*bi/C)} ms.`),this.nextAudioTs=Kt=Na-er,ki=Na);else if(bi>=di*ue&&xi<sc&&Le){let gs=Math.round(bi/ue);for(ki=Na-gs*ue;ki<0&&gs&&ue;)gs--,ki+=ue;sa===0&&(this.nextAudioTs=Kt=ki-er),this.warn(`Injecting ${gs} audio frames @ ${((ki-er)/C).toFixed(3)}s due to ${Math.round(1e3*bi/C)} ms gap.`);for(let ys=0;ys<gs;ys++){let Es=io.getSilentFrame(t.parsedCodec||t.manifestCodec||t.codec,t.channelCount);Es||(this.log("Unable to get silent frame for given audio codec; duplicating last frame instead."),Es=ha.unit.subarray()),ut.splice(sa,0,{unit:Es,pts:ki}),ki+=ue,sa++}}ha.pts=ki,ki+=ue}}let Er=null,jr=null,pn,Ur=0,sn=ut.length;for(;sn--;)Ur+=ut[sn].unit.byteLength;for(let di=0,sa=ut.length;di<sa;di++){const ki=ut[di],ha=ki.unit;let Na=ki.pts;if(jr!==null){const xi=Re[di-1];xi.duration=Math.round((Na-jr)/X)}else if(s&&t.segmentCodec==="aac"&&(Na=Kt+er),Er=Na,Ur>0){Ur+=ot;try{pn=new Uint8Array(Ur)}catch(xi){this.observer.emit(o.ERROR,o.ERROR,{type:c.MUX_ERROR,details:f.REMUX_ALLOC_ERROR,fatal:!1,error:xi,bytes:Ur,reason:`fail allocating audio mdat ${Ur}`});return}Ee||(new DataView(pn.buffer).setUint32(0,Ur),pn.set(pr.types.mdat,4))}else return;pn.set(ha,ot);const bi=ha.byteLength;ot+=bi,Re.push(Zu(!0,G,bi,0)),jr=Na}const nn=Re.length;if(!nn)return;const Vr=Re[Re.length-1];Kt=jr-er,this.nextAudioTs=Kt+X*Vr.duration;const In=Ee?new Uint8Array(0):pr.moof(t.sequenceNumber++,Er/X,y({},t,{samples:Re}));t.samples=[];const Ei=(Er-er)/C,Ji=Kt/C,ea={data1:In,data2:pn,startPTS:Ei,endPTS:Ji,startDTS:Ei,endDTS:Ji,type:"audio",hasAudio:!0,hasVideo:!1,nb:nn};return this.isAudioContiguous=!0,ea}}function Yo(O,t){let n;if(t===null)return O;for(t<O?n=-8589934592:n=8589934592;Math.abs(O-t)>4294967296;)O+=n;return O}function Ul(O){for(let t=0;t<O.length;t++)if(O[t].key)return t;return-1}function pu(O,t,n,s){const m=O.samples.length;if(!m)return;const E=O.inputTimeScale;for(let j=0;j<m;j++){const X=O.samples[j];X.pts=Yo(X.pts-n.baseTime*E/n.timescale,t*E)/E,X.dts=Yo(X.dts-s.baseTime*E/s.timescale,t*E)/E}const C=O.samples;return O.samples=[],{samples:C}}function zl(O,t,n){const s=O.samples.length;if(!s)return;const m=O.inputTimeScale;for(let C=0;C<s;C++){const j=O.samples[C];j.pts=Yo(j.pts-n.baseTime*m/n.timescale,t*m)/m}O.samples.sort((C,j)=>C.pts-j.pts);const E=O.samples;return O.samples=[],{samples:E}}class xo 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(t,m),this.emitInitSegment=!0}generateInitSegment(t,n){let{audioCodec:s,videoCodec:m}=this;if(!(t!=null&&t.byteLength)){this.initTracks=void 0,this.initData=void 0;return}const{audio:E,video:C}=this.initData=Qe(t);if(n)dt(t,n);else{const X=E||C;X!=null&&X.encrypted&&this.warn(`Init segment with encrypted track with has no key ("${X.codec}")!`)}E&&(s=Zl(E,ie.AUDIO,this)),C&&(m=Zl(C,ie.VIDEO,this));const j={};E&&C?j.audiovideo={container:"video/mp4",codec:s+","+m,supplemental:C.supplemental,encrypted:C.encrypted,initSegment:t,id:"main"}:E?j.audio={container:"audio/mp4",codec:s,encrypted:E.encrypted,initSegment:t,id:"audio"}:C?j.video={container:"video/mp4",codec:m,supplemental:C.supplemental,encrypted:C.encrypted,initSegment:t,id:"main"}:this.warn("initSegment does not contain moov or trak boxes."),this.initTracks=j}remux(t,n,s,m,E,C){var j,X;let{initPTS:G,lastEndTime:ue}=this;const de={audio:void 0,video:void 0,text:m,id3:s,initSegment:void 0};r(ue)||(ue=this.lastEndTime=E||0);const Ee=n.samples;if(!Ee.length)return de;const Re={initPTS:void 0,timescale:void 0,trackId:void 0};let Le=this.initData;if((j=Le)!=null&&j.length||(this.generateInitSegment(Ee),Le=this.initData),!((X=Le)!=null&&X.length))return this.warn("Failed to generate initSegment."),de;this.emitInitSegment&&(Re.tracks=this.initTracks,this.emitInitSegment=!1);const ut=Me(Ee,Le,this),ot=Le.audio?ut[Le.audio.id]:null,Kt=Le.video?ut[Le.video.id]:null,er=ru(Kt,1/0),ir=ru(ot,1/0),Er=ru(Kt,0,!0),jr=ru(ot,0,!0);let pn=E,Ur=0;const sn=ot&&(!Kt||!G&&ir<er||G&&G.trackId===Le.audio.id),nn=sn?ot:Kt;if(nn){const ki=nn.timescale,ha=nn.start-E*ki,Na=sn?Le.audio.id:Le.video.id;pn=nn.start/ki,Ur=sn?jr-ir:Er-er,(C||!G)&&(cl(G,pn,E,Ur)||ki!==G.timescale)&&(G&&this.warn(`Timestamps at playlist time: ${C?"":"~"}${E} ${ha/ki} != initPTS: ${G.baseTime/G.timescale} (${G.baseTime}/${G.timescale}) trackId: ${G.trackId}`),this.log(`Found initPTS at playlist time: ${E} offset: ${pn-E} (${ha}/${ki}) trackId: ${Na}`),G=null,Re.initPTS=ha,Re.timescale=ki,Re.trackId=Na)}else this.warn(`No audio or video samples found for initPTS at playlist time: ${E}`);G?(Re.initPTS=G.baseTime,Re.timescale=G.timescale,Re.trackId=G.trackId):((!Re.timescale||Re.trackId===void 0||Re.initPTS===void 0)&&(this.warn("Could not set initPTS"),Re.initPTS=pn,Re.timescale=1,Re.trackId=-1),this.initPTS=G={baseTime:Re.initPTS,timescale:Re.timescale,trackId:Re.trackId});const Vr=pn-G.baseTime/G.timescale,In=Vr+Ur;Ur>0?this.lastEndTime=In:(this.warn("Duration parsed from mp4 should be greater than zero"),this.resetNextTimestamp());const Ei=!!Le.audio,Ji=!!Le.video;let va="";Ei&&(va+="audio"),Ji&&(va+="video");const ea=(Le.audio?Le.audio.encrypted:!1)||(Le.video?Le.video.encrypted:!1),di={data1:Ee,startPTS:Vr,startDTS:Vr,endPTS:In,endDTS:In,type:va,hasAudio:Ei,hasVideo:Ji,nb:1,dropped:0,encrypted:ea};de.audio=Ei&&!Ji?di:void 0,de.video=Ji?di:void 0;const sa=Kt==null?void 0:Kt.sampleCount;if(sa){const ki=Kt.keyFrameIndex,ha=ki!==-1;di.nb=sa,di.dropped=ki===0||this.isVideoContiguous?0:ha?ki:sa,di.independent=ha,di.firstKeyFrame=ki,ha&&Kt.keyFrameStart&&(di.firstKeyFramePTS=(Kt.keyFrameStart-G.baseTime)/G.timescale),this.isVideoContiguous||(de.independent=ha),this.isVideoContiguous||(this.isVideoContiguous=ha),di.dropped&&this.warn(`fmp4 does not start with IDR: firstIDR ${ki}/${sa} dropped: ${di.dropped} start: ${di.firstKeyFramePTS||"NA"}`)}return de.initSegment=Re,de.id3=pu(s,E,G,G),m.samples.length&&(de.text=zl(m,E,G)),de}}function ru(O,t,n=!1){return(O==null?void 0:O.start)!==void 0?(O.start+(n?O.duration:0))/O.timescale:t}function cl(O,t,n,s){if(O===null)return!0;const m=Math.max(s,1),E=t-O.baseTime/O.timescale;return Math.abs(E-n)>m}function Zl(O,t,n){const s=O.codec;return s&&s.length>4?s:t===ie.AUDIO?s==="ec-3"||s==="ac-3"||s==="alac"?s:s==="fLaC"||s==="Opus"?At(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 Xo;try{Xo=self.performance.now.bind(self.performance)}catch(O){Xo=Date.now}const Hl=[{demux:Ar,remux:xo},{demux:la,remux:Do},{demux:he,remux:Do},{demux:Ut,remux:Do}];Hl.splice(2,0,{demux:Ve,remux:Do});class Wl{constructor(t,n,s,m,E,C){this.asyncResult=!1,this.logger=void 0,this.observer=void 0,this.typeSupported=void 0,this.config=void 0,this.id=void 0,this.demuxer=void 0,this.remuxer=void 0,this.decrypter=void 0,this.probe=void 0,this.decryptionPromise=null,this.transmuxConfig=void 0,this.currentTransmuxState=void 0,this.observer=t,this.typeSupported=n,this.config=s,this.id=E,this.logger=C}configure(t){this.transmuxConfig=t,this.decrypter&&this.decrypter.reset()}push(t,n,s,m){const E=s.transmuxing;E.executeStart=Xo();let C=new Uint8Array(t);const{currentTransmuxState:j,transmuxConfig:X}=this;m&&(this.currentTransmuxState=m);const{contiguous:G,discontinuity:ue,trackSwitch:de,accurateTimeOffset:Ee,timeOffset:Re,initSegmentChange:Le}=m||j,{audioCodec:ut,videoCodec:ot,defaultInitPts:Kt,duration:er,initSegmentData:ir}=X,Er=fi(C,n);if(Er&&Co(Er.method)){const sn=this.getDecrypter(),nn=qo(Er.method);if(sn.isSync()){let Vr=sn.softwareDecrypt(C,Er.key.buffer,Er.iv.buffer,nn);if(s.part>-1){const Ei=sn.flush();Vr=Ei&&Ei.buffer}if(!Vr)return E.executeEnd=Xo(),oc(s);C=new Uint8Array(Vr)}else return this.asyncResult=!0,this.decryptionPromise=sn.webCryptoDecrypt(C,Er.key.buffer,Er.iv.buffer,nn).then(Vr=>{const In=this.push(Vr,null,s);return this.decryptionPromise=null,In}),this.decryptionPromise}const jr=this.needsProbing(ue,de);if(jr){const sn=this.configureTransmuxer(C);if(sn)return this.logger.warn(`[transmuxer] ${sn.message}`),this.observer.emit(o.ERROR,o.ERROR,{type:c.MEDIA_ERROR,details:f.FRAG_PARSING_ERROR,fatal:!1,error:sn,reason:sn.message}),E.executeEnd=Xo(),oc(s)}(ue||de||Le||jr)&&this.resetInitSegment(ir,ut,ot,er,n),(ue||Le||jr)&&this.resetInitialTimestamp(Kt),G||this.resetContiguity();const pn=this.transmux(C,Er,Re,Ee,s);this.asyncResult=ao(pn);const Ur=this.currentTransmuxState;return Ur.contiguous=!0,Ur.discontinuity=!1,Ur.trackSwitch=!1,E.executeEnd=Xo(),pn}flush(t){const n=t.transmuxing;n.executeStart=Xo();const{decrypter:s,currentTransmuxState:m,decryptionPromise:E}=this;if(E)return this.asyncResult=!0,E.then(()=>this.flush(t));const C=[],{timeOffset:j}=m;if(s){const de=s.flush();de&&C.push(this.push(de.buffer,null,t))}const{demuxer:X,remuxer:G}=this;if(!X||!G){n.executeEnd=Xo();const de=[oc(t)];return this.asyncResult?Promise.resolve(de):de}const ue=X.flush(j);return ao(ue)?(this.asyncResult=!0,ue.then(de=>(this.flushRemux(C,de,t),C))):(this.flushRemux(C,ue,t),this.asyncResult?Promise.resolve(C):C)}flushRemux(t,n,s){const{audioTrack:m,videoTrack:E,id3Track:C,textTrack:j}=n,{accurateTimeOffset:X,timeOffset:G}=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 ue=this.remuxer.remux(m,E,C,j,G,X,!0,this.id);t.push({remuxResult:ue,chunkMeta:s}),s.transmuxing.executeEnd=Xo()}resetInitialTimestamp(t){const{demuxer:n,remuxer:s}=this;!n||!s||(n.resetTimeStamp(t),s.resetTimeStamp(t))}resetContiguity(){const{demuxer:t,remuxer:n}=this;!t||!n||(t.resetContiguity(),n.resetNextTimestamp())}resetInitSegment(t,n,s,m,E){const{demuxer:C,remuxer:j}=this;!C||!j||(C.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 C;return n&&n.method==="SAMPLE-AES"?C=this.transmuxSampleAes(t,n,s,m,E):C=this.transmuxUnencrypted(t,s,m,E),C}transmuxUnencrypted(t,n,s,m){const{audioTrack:E,videoTrack:C,id3Track:j,textTrack:X}=this.demuxer.demux(t,n,!1,!this.config.progressive);return{remuxResult:this.remuxer.remux(E,C,j,X,n,s,!1,this.id),chunkMeta:m}}transmuxSampleAes(t,n,s,m,E){return this.demuxer.demuxSampleAes(t,n,s).then(C=>({remuxResult:this.remuxer.remux(C.audioTrack,C.videoTrack,C.id3Track,C.textTrack,s,m,!1,this.id),chunkMeta:E}))}configureTransmuxer(t){const{config:n,observer:s,typeSupported:m}=this;let E;for(let de=0,Ee=Hl.length;de<Ee;de++){var C;if((C=Hl[de].demux)!=null&&C.probe(t,this.logger)){E=Hl[de];break}}if(!E)return new Error("Failed to find demuxer by probing fragment data");const j=this.demuxer,X=this.remuxer,G=E.remux,ue=E.demux;(!X||!(X instanceof G))&&(this.remuxer=new G(s,n,m,this.logger)),(!j||!(j instanceof ue))&&(this.demuxer=new ue(s,n,m,this.logger),this.probe=ue.probe)}needsProbing(t,n){return!this.demuxer||!this.remuxer||t||n}getDecrypter(){let t=this.decrypter;return t||(t=this.decrypter=new is(this.config)),t}}function fi(O,t){let n=null;return O.byteLength>0&&(t==null?void 0:t.key)!=null&&t.iv!==null&&t.method!=null&&(n=t),n}const oc=O=>({remuxResult:{},chunkMeta:O});function ao(O){return"then"in O&&O.then instanceof Function}class Wc{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,C){this.discontinuity=void 0,this.contiguous=void 0,this.accurateTimeOffset=void 0,this.trackSwitch=void 0,this.timeOffset=void 0,this.initSegmentChange=void 0,this.discontinuity=t,this.contiguous=n,this.accurateTimeOffset=s,this.trackSwitch=m,this.timeOffset=E,this.initSegmentChange=C}}let fl=0;class tl{constructor(t,n,s,m){this.error=null,this.hls=void 0,this.id=void 0,this.instanceNo=fl++,this.observer=void 0,this.frag=null,this.part=null,this.useWorker=void 0,this.workerContext=null,this.transmuxer=null,this.onTransmuxComplete=void 0,this.onFlush=void 0,this.onWorkerMessage=X=>{const G=X.data,ue=this.hls;if(!(!ue||!(G!=null&&G.event)||G.instanceNo!==this.instanceNo))switch(G.event){case"init":{var de;const Ee=(de=this.workerContext)==null?void 0:de.objectURL;Ee&&self.URL.revokeObjectURL(Ee);break}case"transmuxComplete":{this.handleTransmuxComplete(G.data);break}case"flush":{this.onFlush(G.data);break}case"workerLog":{ue.logger[G.data.logType]&&ue.logger[G.data.logType](G.data.message);break}default:{G.data=G.data||{},G.data.frag=this.frag,G.data.part=this.part,G.data.id=this.id,ue.trigger(G.event,G.data);break}}},this.onWorkerError=X=>{if(!this.hls)return;const G=new Error(`${X.message} (${X.filename}:${X.lineno})`);this.hls.config.enableWorker=!1,this.hls.logger.warn(`Error in "${this.id}" Web Worker, fallback to inline`),this.hls.trigger(o.ERROR,{type:c.OTHER_ERROR,details:f.INTERNAL_EXCEPTION,fatal:!1,event:"demuxerWorker",error:G})};const E=t.config;this.hls=t,this.id=n,this.useWorker=!!E.enableWorker,this.onTransmuxComplete=s,this.onFlush=m;const C=(X,G)=>{G=G||{},G.frag=this.frag||void 0,X===o.ERROR&&(G=G,G.parent=this.id,G.part=this.part,this.error=G.error),this.hls.trigger(X,G)};this.observer=new ii,this.observer.on(o.FRAG_DECRYPTED,C),this.observer.on(o.ERROR,C);const j=Zr(E.preferManagedMediaSource);if(this.useWorker&&typeof Worker!="undefined"){const X=this.hls.logger;if(E.workerPath||Li()){try{E.workerPath?(X.log(`loading Web Worker ${E.workerPath} for "${n}"`),this.workerContext=Qi(E.workerPath)):(X.log(`injecting Web Worker for "${n}"`),this.workerContext=ua());const{worker:ue}=this.workerContext;ue.addEventListener("message",this.onWorkerMessage),ue.addEventListener("error",this.onWorkerError),ue.postMessage({instanceNo:this.instanceNo,cmd:"init",typeSupported:j,id:n,config:zi(E)})}catch(ue){X.warn(`Error setting up "${n}" Web Worker, fallback to inline`,ue),this.terminateWorker(),this.error=null,this.transmuxer=new Wl(this.observer,j,E,"",n,t.logger)}return}}this.transmuxer=new Wl(this.observer,j,E,"",n,t.logger)}reset(){if(this.frag=null,this.part=null,this.workerContext){const t=this.instanceNo;this.instanceNo=fl++;const n=this.hls.config,s=Zr(n.preferManagedMediaSource);this.workerContext.worker.postMessage({instanceNo:this.instanceNo,cmd:"reset",resetNo:t,typeSupported:s,id:this.id,config:zi(n)})}}terminateWorker(){if(this.workerContext){const{worker:t}=this.workerContext;this.workerContext=null,t.removeEventListener("message",this.onWorkerMessage),t.removeEventListener("error",this.onWorkerError),Pi(this.hls.config.workerPath)}}destroy(){if(this.workerContext)this.terminateWorker(),this.onWorkerMessage=this.onWorkerError=null;else{const n=this.transmuxer;n&&(n.destroy(),this.transmuxer=null)}const t=this.observer;t&&t.removeAllListeners(),this.frag=null,this.part=null,this.observer=null,this.hls=null}push(t,n,s,m,E,C,j,X,G,ue){var de,Ee;G.transmuxing.start=self.performance.now();const{instanceNo:Re,transmuxer:Le}=this,ut=C?C.start:E.start,ot=E.decryptdata,Kt=this.frag,er=!(Kt&&E.cc===Kt.cc),ir=!(Kt&&G.level===Kt.level),Er=Kt?G.sn-Kt.sn:-1,jr=this.part?G.part-this.part.index:-1,pn=Er===0&&G.id>1&&G.id===(Kt==null?void 0:Kt.stats.chunkCount),Ur=!ir&&(Er===1||Er===0&&(jr===1||pn&&jr<=0)),sn=self.performance.now();(ir||Er||E.stats.parsing.start===0)&&(E.stats.parsing.start=sn),C&&(jr||!Ur)&&(C.stats.parsing.start=sn);const nn=!(Kt&&((de=E.initSegment)==null?void 0:de.url)===((Ee=Kt.initSegment)==null?void 0:Ee.url)),Vr=new Fu(er,Ur,X,ir,ut,nn);if(!Ur||er||nn){this.hls.logger.log(`[transmuxer-interface]: Starting new transmux session for ${E.type} sn: ${G.sn}${G.part>-1?" part: "+G.part:""} ${this.id===u.MAIN?"level":"track"}: ${G.level} id: ${G.id}
discontinuity: ${er}
trackSwitch: ${ir}
contiguous: ${Ur}
accurateTimeOffset: ${X}
timeOffset: ${ut}
initSegmentChange: ${nn}`);const In=new Wc(s,m,n,j,ue);this.configureTransmuxer(In)}if(this.frag=E,this.part=C,this.workerContext)this.workerContext.worker.postMessage({instanceNo:Re,cmd:"demux",data:t,decryptdata:ot,chunkMeta:G,state:Vr},t instanceof ArrayBuffer?[t]:[]);else if(Le){const In=Le.push(t,ot,G,Vr);ao(In)?In.then(Ei=>{this.handleTransmuxComplete(Ei)}).catch(Ei=>{this.transmuxerError(Ei,G,"transmuxer-interface push error")}):this.handleTransmuxComplete(In)}}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);ao(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 Sc=100;class Gc extends $t{constructor(t,n,s){super(t,n,s,"audio-stream-controller",u.AUDIO),this.mainAnchor=null,this.mainFragLoading=null,this.audioOnly=!1,this.bufferedTrack=null,this.switchingTrack=null,this.trackId=-1,this.waitingData=null,this.mainDetails=null,this.flushing=!1,this.bufferFlushed=!1,this.cachedTrackLoadedData=null,this.registerListeners()}onHandlerDestroying(){this.unregisterListeners(),super.onHandlerDestroying(),this.resetItem()}resetItem(){this.mainDetails=this.mainAnchor=this.mainFragLoading=this.bufferedTrack=this.switchingTrack=this.waitingData=this.cachedTrackLoadedData=null}registerListeners(){super.registerListeners();const{hls:t}=this;t.on(o.LEVEL_LOADED,this.onLevelLoaded,this),t.on(o.AUDIO_TRACKS_UPDATED,this.onAudioTracksUpdated,this),t.on(o.AUDIO_TRACK_SWITCHING,this.onAudioTrackSwitching,this),t.on(o.AUDIO_TRACK_LOADED,this.onAudioTrackLoaded,this),t.on(o.BUFFER_RESET,this.onBufferReset,this),t.on(o.BUFFER_CREATED,this.onBufferCreated,this),t.on(o.BUFFER_FLUSHING,this.onBufferFlushing,this),t.on(o.BUFFER_FLUSHED,this.onBufferFlushed,this),t.on(o.INIT_PTS_FOUND,this.onInitPtsFound,this),t.on(o.FRAG_LOADING,this.onFragLoading,this),t.on(o.FRAG_BUFFERED,this.onFragBuffered,this)}unregisterListeners(){const{hls:t}=this;t&&(super.unregisterListeners(),t.off(o.LEVEL_LOADED,this.onLevelLoaded,this),t.off(o.AUDIO_TRACKS_UPDATED,this.onAudioTracksUpdated,this),t.off(o.AUDIO_TRACK_SWITCHING,this.onAudioTrackSwitching,this),t.off(o.AUDIO_TRACK_LOADED,this.onAudioTrackLoaded,this),t.off(o.BUFFER_RESET,this.onBufferReset,this),t.off(o.BUFFER_CREATED,this.onBufferCreated,this),t.off(o.BUFFER_FLUSHING,this.onBufferFlushing,this),t.off(o.BUFFER_FLUSHED,this.onBufferFlushed,this),t.off(o.INIT_PTS_FOUND,this.onInitPtsFound,this),t.off(o.FRAG_LOADING,this.onFragLoading,this),t.off(o.FRAG_BUFFERED,this.onFragBuffered,this))}onInitPtsFound(t,{frag:n,id:s,initPTS:m,timescale:E,trackId:C}){if(s===u.MAIN){const j=n.cc,X=this.fragCurrent;if(this.initPTS[j]={baseTime:m,timescale:E,trackId:C},this.log(`InitPTS for cc: ${j} found from main: ${m/E} (${m}/${E}) trackId: ${C}`),this.mainAnchor=n,this.state===Ie.WAITING_INIT_PTS){const G=this.waitingData;(!G&&!this.loadingParts||G&&G.frag.cc!==j)&&this.syncWithAnchor(n,G==null?void 0:G.frag)}else!this.hls.hasEnoughToStart&&X&&X.cc!==j?(X.abortRequests(),this.syncWithAnchor(n,X)):this.state===Ie.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,C=this.getLevelDetails(),j=this.getLoadPosition(),X=Ze(C,E,j);X&&(this.log(`Syncing with main frag at ${X.start} cc ${X.cc}`),this.startFragRequested=!1,this.nextLoadPosition=X.start,this.resetLoadingState(),this.state===Ie.IDLE&&this.doTickIdle())}startLoad(t,n){if(!this.levels){this.startPosition=t,this.state=Ie.STOPPED;return}const s=this.lastCurrentTime;this.stopLoad(),this.setInterval(Sc),s>0&&t===-1?(this.log(`Override startPosition with lastCurrentTime @${s.toFixed(3)}`),t=s,this.state=Ie.IDLE):this.state=Ie.WAITING_TRACK,this.nextLoadPosition=this.lastCurrentTime=t+this.timelineOffset,this.startPosition=n?-1:t,this.tick()}doTick(){switch(this.state){case Ie.IDLE:this.doTickIdle();break;case Ie.WAITING_TRACK:{const{levels:t,trackId:n}=this,s=t==null?void 0:t[n],m=s==null?void 0:s.details;if(m&&!this.waitForLive(s)){if(this.waitForCdnTuneIn(m))break;this.state=Ie.WAITING_INIT_PTS}break}case Ie.FRAG_LOADING_WAITING_RETRY:{this.checkRetryDate();break}case Ie.WAITING_INIT_PTS:{const t=this.waitingData;if(t){const{frag:n,part:s,cache:m,complete:E}=t,C=this.mainAnchor;if(this.initPTS[n.cc]!==void 0){this.waitingData=null,this.state=Ie.FRAG_LOADING;const j=m.flush().buffer,X={frag:n,part:s,payload:j,networkDetails:null};this._handleFragmentLoadProgress(X),E&&super._handleFragmentLoadComplete(X)}else C&&C.cc!==t.frag.cc&&this.syncWithAnchor(C,t.frag)}else this.state=Ie.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,C=n.config;if(!this.buffering||!m&&!this.primaryPrefetch&&(this.startFragRequested||!C.startFragPrefetch)||!(s!=null&&s[E]))return;const j=s[E],X=j.details;if(!X||this.waitForLive(j)||this.waitForCdnTuneIn(X)){this.state=Ie.WAITING_TRACK,this.startFragRequested=!1;return}const G=this.mediaBuffer?this.mediaBuffer:this.media;this.bufferFlushed&&G&&(this.bufferFlushed=!1,this.afterBufferFlushed(G,ie.AUDIO,u.AUDIO));const ue=this.getFwdBufferInfo(G,u.AUDIO);if(ue===null)return;if(!this.switchingTrack&&this._streamEnded(ue,X)){n.trigger(o.BUFFER_EOS,{type:"audio"}),this.state=Ie.ENDED;return}const de=ue.len,Ee=n.maxBufferLength,Re=X.fragments,Le=Re[0].start,ut=this.getLoadPosition(),ot=this.flushing?ut:ue.end;if(this.switchingTrack&&m){const ir=ut;X.PTSKnown&&ir<Le&&(ue.end>Le||ue.nextStart)&&(this.log("Alt audio track ahead of main track, seek to start of alt audio track"),m.currentTime=Le+.05)}if(de>=Ee&&!this.switchingTrack&&ot<Re[Re.length-1].start)return;let Kt=this.getNextFragment(ot,X);if(Kt&&this.isLoopLoading(Kt,ot)&&(Kt=this.getNextFragmentLoopLoading(Kt,X,ue,u.MAIN,Ee)),!Kt){this.bufferFlushed=!0;return}let er=((t=this.mainFragLoading)==null?void 0:t.frag)||null;if(!this.audioOnly&&this.startFragRequested&&er&&Ae(Kt)&&!Kt.endList&&(!X.live||!this.loadingParts&&ot<this.hls.liveSyncPosition)&&(this.fragmentTracker.getState(er)===gn.OK&&(this.mainFragLoading=er=null),er&&Ae(er))){if(Kt.start>er.end){const Er=this.fragmentTracker.getFragAtPos(ot,u.MAIN);Er&&Er.end>er.end&&(er=Er,this.mainFragLoading={frag:Er,targetBufferTime:null})}if(Kt.start>er.end)return}this.loadFragment(Kt,j,ot)}onMediaDetaching(t,n){this.bufferFlushed=this.flushing=!1,super.onMediaDetaching(t,n)}onAudioTracksUpdated(t,{audioTracks:n}){this.resetTransmuxer(),this.levels=n.map(s=>new Ai(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!==Ie.STOPPED&&(this.setInterval(Sc),this.state=Ie.IDLE,this.tick())):(this.resetTransmuxer(),this.switchingTrack=null,this.bufferedTrack=n,this.clearInterval())}onManifestLoading(){super.onManifestLoading(),this.bufferFlushed=this.flushing=this.audioOnly=!1,this.resetItem(),this.trackId=-1}onLevelLoaded(t,n){this.mainDetails=n.details;const s=this.cachedTrackLoadedData;s&&(this.cachedTrackLoadedData=null,this.onAudioTrackLoaded(o.AUDIO_TRACK_LOADED,s))}onAudioTrackLoaded(t,n){var s;const{levels:m}=this,{details:E,id:C,groupId:j,track:X}=n;if(!m){this.warn(`Audio tracks reset while loading track ${C} "${X.name}" of "${j}"`);return}const G=this.mainDetails;if(!G||E.endCC>G.endCC||G.expired){this.cachedTrackLoadedData=n,this.state!==Ie.STOPPED&&(this.state=Ie.WAITING_TRACK);return}this.cachedTrackLoadedData=null,this.log(`Audio track ${C} "${X.name}" of "${j}" loaded [${E.startSN},${E.endSN}]${E.lastPartSn?`[part-${E.lastPartSn}-${E.lastPartIndex}]`:""},duration:${E.totalduration}`);const ue=m[C];let de=0;if(E.live||(s=ue.details)!=null&&s.live){if(this.checkLiveUpdate(E),E.deltaUpdateFailed)return;if(ue.details){var Ee;de=this.alignPlaylists(E,ue.details,(Ee=this.levelLastLoaded)==null?void 0:Ee.details)}E.alignedSliding||(po(E,G),E.alignedSliding||Fn(E,G),de=E.fragmentStart)}ue.details=E,this.levelLastLoaded=ue,this.startFragRequested||this.setStartPosition(G,de),this.hls.trigger(o.AUDIO_TRACK_UPDATED,{details:E,id:C,groupId:n.groupId}),this.state===Ie.WAITING_TRACK&&!this.waitForCdnTuneIn(E)&&(this.state=Ie.IDLE),this.tick()}_handleFragmentLoadProgress(t){var n;const s=t.frag,{part:m,payload:E}=t,{config:C,trackId:j,levels:X}=this;if(!X){this.warn(`Audio tracks were reset while fragment load was in progress. Fragment ${s.sn} of level ${s.level} will not be buffered`);return}const G=X[j];if(!G){this.warn("Audio track is undefined on fragment load progress");return}const ue=G.details;if(!ue){this.warn("Audio track details undefined on fragment load progress"),this.removeUnbufferedFrags(s.start);return}const de=C.defaultAudioCodec||G.audioCodec||"mp4a.40.2";let Ee=this.transmuxer;Ee||(Ee=this.transmuxer=new tl(this.hls,u.AUDIO,this._handleTransmuxComplete.bind(this),this._handleTransmuxerFlush.bind(this)));const Re=this.initPTS[s.cc],Le=(n=s.initSegment)==null?void 0:n.data;if(Re!==void 0){const ot=m?m.index:-1,Kt=ot!==-1,er=new Bo(s.level,s.sn,s.stats.chunkCount,E.byteLength,ot,Kt);Ee.push(E,Le,de,"",s,m,ue.totalduration,!1,er,Re)}else{this.log(`Unknown video PTS for cc ${s.cc}, waiting for video PTS before demuxing audio frag ${s.sn} of [${ue.startSN} ,${ue.endSN}],track ${j}`);const{cache:ut}=this.waitingData=this.waitingData||{frag:s,part:m,cache:new yr,complete:!1};ut.push(new Uint8Array(E)),this.state!==Ie.STOPPED&&(this.state=Ie.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&&Ae(n.frag)&&(this.mainFragLoading=n,this.state===Ie.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(Ae(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=Ie.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===Ie.WAITING_TRACK&&((s=n.context)==null?void 0:s.type)===h.AUDIO_TRACK&&(this.state=Ie.IDLE);break;case f.BUFFER_ADD_CODEC_ERROR:case f.BUFFER_APPEND_ERROR:if(n.parent!=="audio")return;this.reduceLengthAndFlushBuffer(n)||this.resetLoadingState();break;case f.BUFFER_FULL_ERROR:if(n.parent!=="audio")return;this.reduceLengthAndFlushBuffer(n)&&(this.bufferedTrack=null,super.flushMainBuffer(0,Number.POSITIVE_INFINITY,"audio"));break;case f.INTERNAL_EXCEPTION:this.recoverWorkerError(n);break}}onBufferFlushing(t,{type:n}){n!==ie.VIDEO&&(this.flushing=!0)}onBufferFlushed(t,{type:n}){if(n!==ie.VIDEO){this.flushing=!1,this.bufferFlushed=!0,this.state===Ie.ENDED&&(this.state=Ie.IDLE);const s=this.mediaBuffer||this.media;s&&(this.afterBufferFlushed(s,n,u.AUDIO),this.tick())}}_handleTransmuxComplete(t){var n;const s="audio",{hls:m}=this,{remuxResult:E,chunkMeta:C}=t,j=this.getCurrentContext(C);if(!j){this.resetWhenMissingContext(C);return}const{frag:X,part:G,level:ue}=j,{details:de}=ue,{audio:Ee,text:Re,id3:Le,initSegment:ut}=E;if(this.fragContextChanged(X)||!de){this.fragmentTracker.removeFragment(X);return}if(this.state=Ie.PARSING,this.switchingTrack&&Ee&&this.completeAudioSwitch(this.switchingTrack),ut!=null&&ut.tracks){const ot=X.initSegment||X;if(this.unhandledEncryptionError(ut,X))return;this._bufferInitSegment(ue,ut.tracks,ot,C),m.trigger(o.FRAG_PARSING_INIT_SEGMENT,{frag:ot,id:s,tracks:ut.tracks})}if(Ee){const{startPTS:ot,endPTS:Kt,startDTS:er,endDTS:ir}=Ee;G&&(G.elementaryStreams[ie.AUDIO]={startPTS:ot,endPTS:Kt,startDTS:er,endDTS:ir}),X.setElementaryStreamInfo(ie.AUDIO,ot,Kt,er,ir),this.bufferFragmentData(Ee,X,G,C)}if(Le!=null&&(n=Le.samples)!=null&&n.length){const ot=y({id:s,frag:X,details:de},Le);m.trigger(o.FRAG_PARSING_METADATA,ot)}if(Re){const ot=y({id:s,frag:X,details:de},Re);m.trigger(o.FRAG_PARSING_USERDATA,ot)}}_bufferInitSegment(t,n,s,m){if(this.state!==Ie.PARSING||(n.video&&delete n.video,n.audiovideo&&delete n.audiovideo,!n.audio))return;const E=n.audio;E.id=u.AUDIO;const C=t.audioCodec;this.log(`Init audio buffer, container:${E.container}, codecs[level/parsed]=[${C}/${E.codec}]`),C&&C.split(",").length===1&&(E.levelCodec=C),this.hls.trigger(o.BUFFER_CODECS,n);const j=E.initSegment;if(j!=null&&j.byteLength){const X={type:"audio",frag:s,part:null,chunkMeta:m,parent:s.type,data:j};this.hls.trigger(o.BUFFER_APPENDING,X)}this.tickImmediate()}loadFragment(t,n,s){const m=this.fragmentTracker.getState(t);if(this.switchingTrack||m===gn.NOT_LOADED||m===gn.PARTIAL){var E;if(!Ae(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=Ie.WAITING_INIT_PTS;const C=this.mainDetails;C&&C.fragmentStart!==n.details.fragmentStart&&Fn(n.details,C)}else super.loadFragment(t,n,s)}else this.clearTrackerIfNeeded(t)}flushAudioIfNeeded(t){if(this.media&&this.bufferedTrack){const{name:n,lang:s,assocLang:m,characteristics:E,audioCodec:C,channels:j}=this.bufferedTrack;hi({name:n,lang:s,assocLang:m,characteristics:E,audioCodec:C,channels:j},t,si)||(_t(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 Eo 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 C=0;C<m.length;C++){const j=m[C];let X;try{X=new self.URL(j.URI,n.url).href}catch(G){this.warn(`Could not construct new URL for Rendition Report: ${G}`),X=j.URI||""}if(X===t){E=C;break}else X===t.substring(0,X.length)&&(E=C)}if(E!==-1){const C=m[E],j=parseInt(C["LAST-MSN"])||n.lastPartSn;let X=parseInt(C["LAST-PART"])||n.lastPartIndex;if(this.hls.config.lowLatencyMode){const ue=Math.min(n.age-n.partTarget,n.targetduration);X>=0&&ue>n.partTarget&&(X+=1)}const G=s&&Qn(s);return new ri(j,X>=0?X:void 0,G)}}}loadPlaylist(t){this.clearTimer()}loadingPlaylist(t,n){this.clearTimer()}shouldLoadPlaylist(t){return this.canLoad&&!!t&&!!t.url&&(!t.details||t.details.live)}getUrlWithDirectives(t,n){if(n)try{return n.addDirectives(t)}catch(s){this.warn(`Could not construct new URL with HLS Delivery Directives: ${s}`)}return t}playlistLoaded(t,n,s){const{details:m,stats:E}=n,C=self.performance.now(),j=E.loading.first?Math.max(0,C-E.loading.first):0;m.advancedDateTime=Date.now()-j;const X=this.hls.config.timelineOffset;if(X!==m.appliedTimelineOffset){const ue=Math.max(X||0,0);m.appliedTimelineOffset=ue,m.fragments.forEach(de=>{de.setStart(de.playlistOffset+ue)})}if(m.live||s!=null&&s.live){const ue="levelInfo"in n?n.levelInfo:n.track;if(m.reloaded(s),s&&m.fragments.length>0){Sn(s,m,this);const er=m.playlistParsingError;if(er){this.warn(er);const ir=this.hls;if(!ir.config.ignorePlaylistParsingErrors){var G;const{networkDetails:Er}=n;ir.trigger(o.ERROR,{type:c.NETWORK_ERROR,details:f.LEVEL_PARSING_ERROR,fatal:!1,url:m.url,error:er,reason:er.message,level:n.level||void 0,parent:(G=m.fragments[0])==null?void 0:G.type,networkDetails:Er,stats:E});return}m.playlistParsingError=null}}m.requestScheduled===-1&&(m.requestScheduled=E.loading.start);const de=this.hls.mainForwardBufferInfo,Ee=de?de.end-de.len:0,Re=(m.edge-Ee)*1e3,Le=zr(m,Re);if(m.requestScheduled+Le<C?m.requestScheduled=C:m.requestScheduled+=Le,this.log(`live playlist ${t} ${m.advanced?"REFRESHED "+m.lastPartSn+"-"+m.lastPartIndex:m.updated?"UPDATED":"MISSED"}`),!this.canLoad||!m.live)return;let ut,ot,Kt;if(m.canBlockReload&&m.endSN&&m.advanced){const er=this.hls.config.lowLatencyMode,ir=m.lastPartSn,Er=m.endSN,jr=m.lastPartIndex,pn=jr!==-1,Ur=ir===Er;pn?Ur?(ot=Er+1,Kt=er?0:jr):(ot=ir,Kt=er?jr+1:m.maxPartIndex):ot=Er+1;const sn=m.age,nn=sn+m.ageHeader;let Vr=Math.min(nn-m.partTarget,m.targetduration*1.5);if(Vr>0){if(nn>m.targetduration*3)this.log(`Playlist last advanced ${sn.toFixed(2)}s ago. Omitting segment and part directives.`),ot=void 0,Kt=void 0;else if(s!=null&&s.tuneInGoal&&nn-m.partTarget>s.tuneInGoal)this.warn(`CDN Tune-in goal increased from: ${s.tuneInGoal} to: ${Vr} with playlist age: ${m.age}`),Vr=0;else{const In=Math.floor(Vr/m.targetduration);if(ot+=In,Kt!==void 0){const Ei=Math.round(Vr%m.targetduration/m.partTarget);Kt+=Ei}this.log(`CDN Tune-in age: ${m.ageHeader}s last advanced ${sn.toFixed(2)}s goal: ${Vr} skip sn ${In} to part ${Kt}`)}m.tuneInGoal=Vr}if(ut=this.getDeliveryDirectives(m,n.deliveryDirectives,ot,Kt),er||!Ur){m.requestScheduled=C,this.loadingPlaylist(ue,ut);return}}else(m.canBlockReload||m.canSkipUntil)&&(ut=this.getDeliveryDirectives(m,n.deliveryDirectives,ot,Kt));ut&&ot!==void 0&&m.canBlockReload&&(m.requestScheduled=E.loading.first+Math.max(Le-j*2,Le/2)),this.scheduleLoading(ue,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(),C=m.requestScheduled;if(E>=C){this.loadingPlaylist(t,n);return}const j=C-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=Qn(t);return n!=null&&n.skip&&t.deltaUpdateFailed&&(s=n.msn,m=n.part,E=kn.No),new ri(s,m,E)}checkRetry(t){const n=t.details,s=et(t),m=t.errorAction,{action:E,retryCount:C=0,retryConfig:j}=m||{},X=!!m&&!!j&&(E===gr.RetryRequest||!m.resolved&&E===gr.SendAlternateToPenaltyBox);if(X){var G;if(C>=j.maxNumRetry)return!1;if(s&&(G=t.context)!=null&&G.deliveryDirectives)this.warn(`Retrying playlist loading ${C+1}/${j.maxNumRetry} after "${n}" without delivery-directives`),this.loadPlaylist();else{const ue=kr(j,C);this.clearTimer(),this.timer=self.setTimeout(()=>this.loadPlaylist(),ue),this.warn(`Retrying playlist loading ${C+1}/${j.maxNumRetry} after "${n}" in ${ue}ms`)}t.levelRetry=!0,m.resolved=!0}return X}}function Kc(O,t){if(O.length!==t.length)return!1;for(let n=0;n<O.length;n++)if(!Gl(O[n].attrs,t[n].attrs))return!1;return!0}function Gl(O,t,n){const s=O["STABLE-RENDITION-ID"];return s&&!n?s===t["STABLE-RENDITION-ID"]:!(n||["LANGUAGE","NAME","CHARACTERISTICS","AUTOSELECT","DEFAULT","FORCED","ASSOC-LANGUAGE"]).some(m=>O[m]!==t[m])}function uc(O,t){return t.label.toLowerCase()===O.name.toLowerCase()&&(!t.language||t.language.toLowerCase()===(O.lang||"").toLowerCase())}class Il extends Eo{constructor(t){super(t,"audio-track-controller"),this.tracks=[],this.groupIds=null,this.tracksInGroup=[],this.trackId=-1,this.currentTrack=null,this.selectDefaultTrack=!0,this.registerListeners()}registerListeners(){const{hls:t}=this;t.on(o.MANIFEST_LOADING,this.onManifestLoading,this),t.on(o.MANIFEST_PARSED,this.onManifestParsed,this),t.on(o.LEVEL_LOADING,this.onLevelLoading,this),t.on(o.LEVEL_SWITCHING,this.onLevelSwitching,this),t.on(o.AUDIO_TRACK_LOADED,this.onAudioTrackLoaded,this),t.on(o.ERROR,this.onError,this)}unregisterListeners(){const{hls:t}=this;t.off(o.MANIFEST_LOADING,this.onManifestLoading,this),t.off(o.MANIFEST_PARSED,this.onManifestParsed,this),t.off(o.LEVEL_LOADING,this.onLevelLoading,this),t.off(o.LEVEL_SWITCHING,this.onLevelSwitching,this),t.off(o.AUDIO_TRACK_LOADED,this.onAudioTrackLoaded,this),t.off(o.ERROR,this.onError,this)}destroy(){this.unregisterListeners(),this.tracks.length=0,this.tracksInGroup.length=0,this.currentTrack=null,super.destroy()}onManifestLoading(){this.tracks=[],this.tracksInGroup=[],this.groupIds=null,this.currentTrack=null,this.trackId=-1,this.selectDefaultTrack=!0}onManifestParsed(t,n){this.tracks=n.audioTracks||[]}onAudioTrackLoaded(t,n){const{id:s,groupId:m,details:E}=n,C=this.tracksInGroup[s];if(!C||C.groupId!==m){this.warn(`Audio track with id:${s} and group:${m} not found in active group ${C==null?void 0:C.groupId}`);return}const j=C.details;C.details=n.details,this.log(`Audio track ${s} "${C.name}" lang:${C.lang} group:${m} loaded [${E.startSN}-${E.endSN}]`),s===this.trackId&&this.playlistLoaded(s,n,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(Ee=>!s||s.indexOf(Ee.groupId)!==-1);if(j.length)this.selectDefaultTrack&&!j.some(Ee=>Ee.default)&&(this.selectDefaultTrack=!1),j.forEach((Ee,Re)=>{Ee.id=Re});else if(!E&&!this.tracksInGroup.length)return;this.tracksInGroup=j;const X=this.hls.config.audioPreference;if(!E&&X){const Ee=Hi(X,j,si);if(Ee>-1)E=j[Ee];else{const Re=Hi(X,this.tracks);E=this.tracks[Re]}}let G=this.findTrackId(E);G===-1&&E&&(G=this.findTrackId(null));const ue={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,ue);const de=this.trackId;if(G!==-1&&de===-1)this.setAudioTrack(G);else if(j.length&&de===-1){var C;const Ee=new Error(`No audio track selected for current audio group-ID(s): ${(C=this.groupIds)==null?void 0:C.join(",")} track count: ${j.length}`);this.warn(Ee.message),this.hls.trigger(o.ERROR,{type:c.MEDIA_ERROR,details:f.AUDIO_TRACK_LOAD_ERROR,fatal:!0,error:Ee})}}}onError(t,n){n.fatal||!n.context||n.context.type===h.AUDIO_TRACK&&n.context.id===this.trackId&&(!this.groupIds||this.groupIds.indexOf(n.context.groupId)!==-1)&&this.checkRetry(n)}get allAudioTracks(){return this.tracks}get audioTracks(){return this.tracksInGroup}get audioTrack(){return this.trackId}set audioTrack(t){this.selectDefaultTrack=!1,this.setAudioTrack(t)}setAudioOption(t){const n=this.hls;if(n.config.audioPreference=t,t){const s=this.allAudioTracks;if(this.selectDefaultTrack=!1,s.length){const m=this.currentTrack;if(m&&hi(t,m,si))return m;const E=Hi(t,this.tracksInGroup,si);if(E>-1){const C=this.tracksInGroup[E];return this.setAudioTrack(E),C}else if(m){let C=n.loadLevel;C===-1&&(C=n.firstAutoLevel);const j=Dn(t,n.levels,s,C,si);if(j===-1)return null;n.nextLoadLevel=j}if(t.channels||t.audioCodec){const C=Hi(t,s);if(C>-1)return s[C]}}}return null}setAudioTrack(t){const n=this.tracksInGroup;if(t<0||t>=n.length){this.warn(`Invalid audio track id: ${t}`);return}this.selectDefaultTrack=!1;const s=this.currentTrack,m=n[t],E=m.details&&!m.details.live;if(t===this.trackId&&m===s&&E||(this.log(`Switching to audio-track ${t} "${m.name}" lang:${m.lang} group:${m.groupId} channels:${m.channels}`),this.trackId=t,this.currentTrack=m,this.hls.trigger(o.AUDIO_TRACK_SWITCHING,b({},m)),E))return;const C=this.switchParams(m.url,s==null?void 0:s.details,m.details);this.loadPlaylist(C)}findTrackId(t){const n=this.tracksInGroup;for(let s=0;s<n.length;s++){const m=n[s];if(!(this.selectDefaultTrack&&!m.default)&&(!t||hi(t,m,si)))return s}if(t){const{name:s,lang:m,assocLang:E,characteristics:C,audioCodec:j,channels:X}=t;for(let G=0;G<n.length;G++){const ue=n[G];if(hi({name:s,lang:m,assocLang:E,characteristics:C,audioCodec:j,channels:X},ue,si))return G}for(let G=0;G<n.length;G++){const ue=n[G];if(Gl(t.attrs,ue.attrs,["LANGUAGE","ASSOC-LANGUAGE","CHARACTERISTICS"]))return G}for(let G=0;G<n.length;G++){const ue=n[G];if(Gl(t.attrs,ue.attrs,["LANGUAGE"]))return G}}return-1}loadPlaylist(t){super.loadPlaylist();const n=this.currentTrack;this.shouldLoadPlaylist(n)&&_t(n.url,this.hls)&&this.scheduleLoading(n,t)}loadingPlaylist(t,n){super.loadingPlaylist(t,n);const s=t.id,m=t.groupId,E=this.getUrlWithDirectives(t.url,n),C=t.details,j=C==null?void 0:C.age;this.log(`Loading audio-track ${s} "${t.name}" lang:${t.lang} group:${m}${(n==null?void 0:n.msn)!==void 0?" at sn "+n.msn+" part "+n.part:""}${j&&C.live?" age "+j.toFixed(1)+(C.type?" "+C.type||0:""):""} ${E}`),this.hls.trigger(o.AUDIO_TRACK_LOADING,{url:E,id:s,groupId:m,deliveryDirectives:n||null,track:t})}}class Vc{constructor(t){this.tracks=void 0,this.queues={video:[],audio:[],audiovideo:[]},this.tracks=t}destroy(){this.tracks=this.queues=null}append(t,n,s){if(this.queues===null||this.tracks===null)return;const m=this.queues[n];m.push(t),m.length===1&&!s&&this.executeNext(n)}appendBlocker(t){return new Promise(n=>{const s={label:"async-blocker",execute:n,onStart:()=>{},onComplete:()=>{},onError:()=>{}};this.append(s,t)})}prependBlocker(t){return new Promise(n=>{if(this.queues){const s={label:"async-blocker-prepend",execute:n,onStart:()=>{},onComplete:()=>{},onError:()=>{}};this.queues[t].unshift(s)}})}removeBlockers(){this.queues!==null&&[this.queues.video,this.queues.audio,this.queues.audiovideo].forEach(t=>{var n;const s=(n=t[0])==null?void 0:n.label;(s==="async-blocker"||s==="async-blocker-prepend")&&(t[0].execute(),t.splice(0,1))})}unblockAudio(t){if(this.queues===null)return;this.queues.audio[0]===t&&this.shiftAndExecuteNext("audio")}executeNext(t){if(this.queues===null||this.tracks===null)return;const n=this.queues[t];if(n.length){const m=n[0];try{m.execute()}catch(E){var s;if(m.onError(E),this.queues===null||this.tracks===null)return;const C=(s=this.tracks[t])==null?void 0:s.buffer;C!=null&&C.updating||this.shiftAndExecuteNext(t)}}}shiftAndExecuteNext(t){this.queues!==null&&(this.queues[t].shift(),this.executeNext(t))}current(t){var n;return((n=this.queues)==null?void 0:n[t][0])||null}toString(){const{queues:t,tracks:n}=this;return t===null||n===null?"<destroyed>":`
${this.list("video")}
${this.list("audio")}
${this.list("audiovideo")}}`}list(t){var n,s;return(n=this.queues)!=null&&n[t]||(s=this.tracks)!=null&&s[t]?`${t}: (${this.listSbInfo(t)}) ${this.listOps(t)}`:""}listSbInfo(t){var n;const s=(n=this.tracks)==null?void 0:n[t],m=s==null?void 0:s.buffer;return m?`SourceBuffer${m.updating?" updating":""}${s.ended?" ended":""}${s.ending?" ending":""}`:"none"}listOps(t){var n;return((n=this.queues)==null?void 0:n[t].map(s=>s.label).join(", "))||""}}const Dl=/(avc[1234]|hvc1|hev1|dvh[1e]|vp09|av01)(?:\.[^.,]+)+/,Au="HlsJsTrackRemovedError";class Kl extends Error{constructor(t){super(t),this.name=Au}}class lo extends R{constructor(t,n){super("buffer-controller",t.logger),this.hls=void 0,this.fragmentTracker=void 0,this.details=null,this._objectUrl=null,this.operationQueue=null,this.bufferCodecEventsTotal=0,this.media=null,this.mediaSource=null,this.lastMpegAudioChunk=null,this.blockedAudioAppend=null,this.lastVideoAppendEnd=0,this.appendSource=void 0,this.transferData=void 0,this.overrides=void 0,this.appendErrors={audio:0,video:0,audiovideo:0},this.tracks={},this.sourceBuffers=[[null,null],[null,null]],this._onEndStreaming=s=>{var m;this.hls&&((m=this.mediaSource)==null?void 0:m.readyState)==="open"&&this.hls.pauseBuffering()},this._onStartStreaming=s=>{this.hls&&this.hls.resumeBuffering()},this._onMediaSourceOpen=s=>{const{media:m,mediaSource:E}=this;s&&this.log("Media source opened"),!(!m||!E)&&(E.removeEventListener("sourceopen",this._onMediaSourceOpen),m.removeEventListener("emptied",this._onMediaEmptied),this.updateDuration(),this.hls.trigger(o.MEDIA_ATTACHED,{media:m,mediaSource:E}),this.mediaSource!==null&&this.checkPendingTracks())},this._onMediaSourceClose=()=>{this.log("Media source closed")},this._onMediaSourceEnded=()=>{this.log("Media source ended")},this._onMediaEmptied=()=>{const{mediaSrc:s,_objectUrl:m}=this;s!==m&&this.error(`Media element src was set while attaching MediaSource (${m} > ${s})`)},this.hls=t,this.fragmentTracker=n,this.appendSource=ne(ae(t.config.preferManagedMediaSource)),this.initTracks(),this.registerListeners()}hasSourceTypes(){return Object.keys(this.tracks).length>0}destroy(){this.unregisterListeners(),this.details=null,this.lastMpegAudioChunk=this.blockedAudioAppend=null,this.transferData=this.overrides=void 0,this.operationQueue&&(this.operationQueue.destroy(),this.operationQueue=null),this.hls=this.fragmentTracker=null,this._onMediaSourceOpen=this._onMediaSourceClose=null,this._onMediaSourceEnded=null,this._onStartStreaming=this._onEndStreaming=null}registerListeners(){const{hls:t}=this;t.on(o.MEDIA_ATTACHING,this.onMediaAttaching,this),t.on(o.MEDIA_DETACHING,this.onMediaDetaching,this),t.on(o.MANIFEST_LOADING,this.onManifestLoading,this),t.on(o.MANIFEST_PARSED,this.onManifestParsed,this),t.on(o.BUFFER_RESET,this.onBufferReset,this),t.on(o.BUFFER_APPENDING,this.onBufferAppending,this),t.on(o.BUFFER_CODECS,this.onBufferCodecs,this),t.on(o.BUFFER_EOS,this.onBufferEos,this),t.on(o.BUFFER_FLUSHING,this.onBufferFlushing,this),t.on(o.LEVEL_UPDATED,this.onLevelUpdated,this),t.on(o.FRAG_PARSED,this.onFragParsed,this),t.on(o.FRAG_CHANGED,this.onFragChanged,this),t.on(o.ERROR,this.onError,this)}unregisterListeners(){const{hls:t}=this;t.off(o.MEDIA_ATTACHING,this.onMediaAttaching,this),t.off(o.MEDIA_DETACHING,this.onMediaDetaching,this),t.off(o.MANIFEST_LOADING,this.onManifestLoading,this),t.off(o.MANIFEST_PARSED,this.onManifestParsed,this),t.off(o.BUFFER_RESET,this.onBufferReset,this),t.off(o.BUFFER_APPENDING,this.onBufferAppending,this),t.off(o.BUFFER_CODECS,this.onBufferCodecs,this),t.off(o.BUFFER_EOS,this.onBufferEos,this),t.off(o.BUFFER_FLUSHING,this.onBufferFlushing,this),t.off(o.LEVEL_UPDATED,this.onLevelUpdated,this),t.off(o.FRAG_PARSED,this.onFragParsed,this),t.off(o.FRAG_CHANGED,this.onFragChanged,this),t.off(o.ERROR,this.onError,this)}transferMedia(){const{media:t,mediaSource:n}=this;if(!t)return null;const s={};if(this.operationQueue){const E=this.isUpdating();E||this.operationQueue.removeBlockers();const C=this.isQueued();(E||C)&&this.warn(`Transfering MediaSource with${C?" operations in queue":""}${E?" updating SourceBuffer(s)":""} ${this.operationQueue}`),this.operationQueue.destroy()}const m=this.transferData;return!this.sourceBufferCount&&m&&m.mediaSource===n?y(s,m.tracks):this.sourceBuffers.forEach(E=>{const[C]=E;C&&(s[C]=y({},this.tracks[C]),this.removeBuffer(C)),E[0]=E[1]=null}),{media:t,mediaSource:n,tracks:s}}initTracks(){const t={};this.sourceBuffers=[[null,null],[null,null]],this.tracks=t,this.resetQueue(),this.resetAppendErrors(),this.lastMpegAudioChunk=this.blockedAudioAppend=null,this.lastVideoAppendEnd=0}onManifestLoading(){this.bufferCodecEventsTotal=0,this.details=null}onManifestParsed(t,n){var s;let m=2;(n.audio&&!n.video||!n.altAudio)&&(m=1),this.bufferCodecEventsTotal=m,this.log(`${m} bufferCodec event(s) expected.`),(s=this.transferData)!=null&&s.mediaSource&&this.sourceBufferCount&&m&&this.bufferCreated()}onMediaAttaching(t,n){const s=this.media=n.media;this.transferData=this.overrides=void 0;const m=ae(this.appendSource);if(m){const E=!!n.mediaSource;(E||n.overrides)&&(this.transferData=n,this.overrides=n.overrides);const C=this.mediaSource=n.mediaSource||new m;if(this.assignMediaSource(C),E)this._objectUrl=s.src,this.attachTransferred();else{const j=this._objectUrl=self.URL.createObjectURL(C);if(this.appendSource)try{s.removeAttribute("src");const X=self.ManagedMediaSource;s.disableRemotePlayback=s.disableRemotePlayback||X&&C instanceof X,Qo(s),lu(s,j),s.load()}catch(X){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,C=E?E.length:0,j=()=>{Promise.resolve().then(()=>{this.media&&this.mediaSourceOpenOrEnded&&this._onMediaSourceOpen()})};if(m&&E&&C){if(!this.tracksReady){this.hls.config.startFragPrefetch=!0,this.log("attachTransferred: waiting for SourceBuffer track info");return}if(this.log(`attachTransferred: (bufferCodecEventsTotal ${this.bufferCodecEventsTotal})
required tracks: ${zi(s,(X,G)=>X==="initSegment"?void 0:G)};
transfer tracks: ${zi(m,(X,G)=>X==="initSegment"?void 0:G)}}`),!oe(m,s)){n.mediaSource=null,n.tracks=void 0;const X=t.currentTime,G=this.details,ue=Math.max(X,(G==null?void 0:G.fragments[0].start)||0);if(ue-X>1){this.log(`attachTransferred: waiting for playback to reach new tracks start time ${X} -> ${ue}`);return}this.warn(`attachTransferred: resetting MediaSource for incompatible tracks ("${Object.keys(m)}"->"${Object.keys(s)}") start time: ${ue} currentTime: ${X}`),this.onMediaDetaching(o.MEDIA_DETACHING,{}),this.onMediaAttaching(o.MEDIA_ATTACHING,n),t.currentTime=ue;return}this.transferData=void 0,E.forEach(X=>{const G=X,ue=m[G];if(ue){const de=ue.buffer;if(de){const Ee=this.fragmentTracker,Re=ue.id;if(Ee.hasFragments(Re)||Ee.hasParts(Re)){const ot=ci.getBuffered(de);Ee.detectEvictedFragments(G,ot,Re,null,!0)}const Le=Vl(G),ut=[G,de];this.sourceBuffers[Le]=ut,de.updating&&this.operationQueue&&this.operationQueue.prependBlocker(G),this.trackSourceBuffer(G,ue)}}}),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:C}=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 X=E.sourceBuffers;for(let G=X.length;G--;)j&&X[G].abort(),E.removeSourceBuffer(X[G]);j&&E.endOfStream()}catch(X){this.warn(`onMediaDetaching: ${X.message} while calling endOfStream`)}}this.sourceBufferCount&&this.onBufferReset()}E.removeEventListener("sourceopen",this._onMediaSourceOpen),E.removeEventListener("sourceended",this._onMediaSourceEnded),E.removeEventListener("sourceclose",this._onMediaSourceClose),this.appendSource&&(E.removeEventListener("startstreaming",this._onStartStreaming),E.removeEventListener("endstreaming",this._onEndStreaming)),this.mediaSource=null,this._objectUrl=null}m&&(m.removeEventListener("emptied",this._onMediaEmptied),s||(C&&self.URL.revokeObjectURL(C),this.mediaSrc===C?(m.removeAttribute("src"),this.appendSource&&Qo(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[Vl(t)]=[null,null];const n=this.tracks[t];n&&(n.buffer=void 0)}resetQueue(){this.operationQueue&&this.operationQueue.destroy(),this.operationQueue=new Vc(this.tracks)}onBufferCodecs(t,n){var s;const m=this.tracks,E=Object.keys(n);this.log(`BUFFER_CODECS: "${E}" (current SB count ${this.sourceBufferCount})`);const C="audiovideo"in n&&(m.audio||m.video)||m.audiovideo&&("audio"in n||"video"in n),j=!C&&this.sourceBufferCount&&this.media&&E.some(X=>!m[X]);if(C||j){this.warn(`Unsupported transition between "${Object.keys(m)}" and "${E}" SourceBuffers`);return}E.forEach(X=>{var G,ue;const de=n[X],{id:Ee,codec:Re,levelCodec:Le,container:ut,metadata:ot,supplemental:Kt}=de;let er=m[X];const ir=(G=this.transferData)==null||(G=G.tracks)==null?void 0:G[X],Er=ir!=null&&ir.buffer?ir:er,jr=(Er==null?void 0:Er.pendingCodec)||(Er==null?void 0:Er.codec),pn=Er==null?void 0:Er.levelCodec;er||(er=m[X]={buffer:void 0,listeners:[],codec:Re,supplemental:Kt,container:ut,levelCodec:Le,metadata:ot,id:Ee});const Ur=en(jr,pn),sn=Ur==null?void 0:Ur.replace(Dl,"$1");let nn=en(Re,Le);const Vr=(ue=nn)==null?void 0:ue.replace(Dl,"$1");nn&&Ur&&sn!==Vr&&(X.slice(0,5)==="audio"&&(nn=At(nn,this.appendSource)),this.log(`switching codec ${jr} to ${nn}`),nn!==(er.pendingCodec||er.codec)&&(er.pendingCodec=nn),er.container=ut,this.appendChangeType(X,ut,nn))}),(this.tracksReady||this.sourceBufferCount)&&(n.tracks=this.sourceBufferTracks),!this.sourceBufferCount&&(this.bufferCodecEventsTotal>1&&!this.tracks.video&&!n.video&&((s=n.audio)==null?void 0:s.id)==="main"&&(this.log("Main audio-only"),this.bufferCodecEventsTotal=1),this.mediaSourceOpenOrEnded&&this.checkPendingTracks())}get sourceBufferTracks(){return Object.keys(this.tracks).reduce((t,n)=>{const s=this.tracks[n];return t[n]={id:s.id,container:s.container,codec:s.codec,levelCodec:s.levelCodec},t},{})}appendChangeType(t,n,s){const m=`${n};codecs=${s}`,E={label:`change-type=${m}`,execute:()=>{const C=this.tracks[t];if(C){const j=C.buffer;j!=null&&j.changeType&&(this.log(`changing ${t} sourceBuffer type to ${m}`),j.changeType(m),C.codec=s,C.container=n)}this.shiftAndExecuteNext(t)},onStart:()=>{},onComplete:()=>{},onError:C=>{this.warn(`Failed to change ${t} SourceBuffer type`,C)}};this.append(E,t,this.isPending(this.tracks[t]))}blockAudio(t){var n;const s=t.start,m=s+t.duration*.05;if(((n=this.fragmentTracker.getAppendedFrag(s,u.MAIN))==null?void 0:n.gap)===!0)return;const C={label:"block-audio",execute:()=>{var j;const X=this.tracks.video;(this.lastVideoAppendEnd>m||X!=null&&X.buffer&&ci.isBuffered(X.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:C,frag:t},this.append(C,"audio",!0)}unblockAudio(){const{blockedAudioAppend:t,operationQueue:n}=this;t&&n&&(this.blockedAudioAppend=null,n.unblockAudio(t.op))}onBufferAppending(t,n){const{tracks:s}=this,{data:m,type:E,parent:C,frag:j,part:X,chunkMeta:G,offset:ue}=n,de=G.buffering[E],{sn:Ee,cc:Re}=j,Le=self.performance.now();de.start=Le;const ut=j.stats.buffering,ot=X?X.stats.buffering:null;ut.start===0&&(ut.start=Le),ot&&ot.start===0&&(ot.start=Le);const Kt=s.audio;let er=!1;E==="audio"&&(Kt==null?void 0:Kt.container)==="audio/mpeg"&&(er=!this.lastMpegAudioChunk||G.id===1||this.lastMpegAudioChunk.sn!==G.sn,this.lastMpegAudioChunk=G);const ir=s.video,Er=ir==null?void 0:ir.buffer;if(Er&&Ee!=="initSegment"){const Ur=X||j,sn=this.blockedAudioAppend;if(E==="audio"&&C!=="main"&&!this.blockedAudioAppend&&!(ir.ending||ir.ended)){const Vr=Ur.start+Ur.duration*.05,In=Er.buffered,Ei=this.currentOp("video");!In.length&&!Ei?this.blockAudio(Ur):!Ei&&!ci.isBuffered(Er,Vr)&&this.lastVideoAppendEnd<Vr&&this.blockAudio(Ur)}else if(E==="video"){const nn=Ur.end;if(sn){const Vr=sn.frag.start;(nn>Vr||nn<this.lastVideoAppendEnd||ci.isBuffered(Er,Vr))&&this.unblockAudio()}this.lastVideoAppendEnd=nn}}const jr=(X||j).start,pn={label:`append-${E}`,execute:()=>{var Ur;de.executeStart=self.performance.now();const sn=(Ur=this.tracks[E])==null?void 0:Ur.buffer;sn&&(er?this.updateTimestampOffset(sn,jr,.1,E,Ee,Re):ue!==void 0&&r(ue)&&this.updateTimestampOffset(sn,ue,1e-6,E,Ee,Re)),this.appendExecutor(m,E)},onStart:()=>{},onComplete:()=>{const Ur=self.performance.now();de.executeEnd=de.end=Ur,ut.first===0&&(ut.first=Ur),ot&&ot.first===0&&(ot.first=Ur);const sn={};this.sourceBuffers.forEach(([nn,Vr])=>{nn&&(sn[nn]=ci.getBuffered(Vr))}),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:X,chunkMeta:G,parent:j.type,timeRanges:sn})},onError:Ur=>{var sn;const nn={type:c.MEDIA_ERROR,parent:j.type,details:f.BUFFER_APPEND_ERROR,sourceBufferName:E,frag:j,part:X,chunkMeta:G,error:Ur,err:Ur,fatal:!1},Vr=(sn=this.media)==null?void 0:sn.error;if(Ur.code===DOMException.QUOTA_EXCEEDED_ERR||Ur.name=="QuotaExceededError"||"quota"in Ur)nn.details=f.BUFFER_FULL_ERROR;else if(Ur.code===DOMException.INVALID_STATE_ERR&&this.mediaSourceOpenOrEnded&&!Vr)nn.errorAction=dn(!0);else if(Ur.name===Au&&this.sourceBufferCount===0)nn.errorAction=dn(!0);else{const In=++this.appendErrors[E];this.warn(`Failed ${In}/${this.hls.config.appendErrorMaxRetry} times to append segment in "${E}" sourceBuffer (${Vr||"no media error"})`),(In>=this.hls.config.appendErrorMaxRetry||Vr)&&(nn.fatal=!0)}this.hls.trigger(o.ERROR,nn)}};this.log(`queuing "${E}" append sn: ${Ee}${X?" p: "+X.index:""} of ${j.type===u.MAIN?"level":"track"} ${j.level} cc: ${Re}`),this.append(pn,E,this.isPending(this.tracks[E]))}getFlushOp(t,n,s){return this.log(`queuing "${t}" remove ${n}-${s}`),{label:"remove",execute:()=>{this.removeExecutor(t,n,s)},onStart:()=>{},onComplete:()=>{this.hls.trigger(o.BUFFER_FLUSHED,{type:t})},onError:m=>{this.warn(`Failed to remove ${n}-${s} from "${t}" SourceBuffer`,m)}}}onBufferFlushing(t,n){const{type:s,startOffset:m,endOffset:E}=n;s?this.append(this.getFlushOp(s,m,E),s):this.sourceBuffers.forEach(([C])=>{C&&this.append(this.getFlushOp(C,m,E),C)})}onFragParsed(t,n){const{frag:s,part:m}=n,E=[],C=m?m.elementaryStreams:s.elementaryStreams;C[ie.AUDIOVIDEO]?E.push("audiovideo"):(C[ie.AUDIO]&&E.push("audio"),C[ie.VIDEO]&&E.push("video"));const j=()=>{const X=self.performance.now();s.stats.buffering.end=X,m&&(m.stats.buffering.end=X);const G=m?m.stats:s.stats;this.hls.trigger(o.FRAG_BUFFERED,{frag:s,part:m,stats:G,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(X=>{this.warn(`Fragment buffered callback ${X}`),this.stepOperationQueue(this.sourceBufferTypes)})}onFragChanged(t,n){this.trimBuffers()}get bufferedToEnd(){return this.sourceBufferCount>0&&!this.sourceBuffers.some(([t])=>{if(t){const n=this.tracks[t];if(n)return!n.ended||n.ending}return!1})}onBufferEos(t,n){var s;this.sourceBuffers.forEach(([C])=>{if(C){const j=this.tracks[C];(!n.type||n.type===C)&&(j.ending=!0,j.ended||(j.ended=!0,this.log(`${C} buffer reached EOS`)))}});const m=((s=this.overrides)==null?void 0:s.endOfStream)!==!1;this.sourceBufferCount>0&&!this.sourceBuffers.some(([C])=>{var j;return C&&!((j=this.tracks[C])!=null&&j.ended)})?m?(this.log("Queueing EOS"),this.blockUntilOpen(()=>{this.tracksEnded();const{mediaSource:C}=this;if(!C||C.readyState!=="open"){C&&this.log(`Could not call mediaSource.endOfStream(). mediaSource.readyState: ${C.readyState}`);return}this.log("Calling mediaSource.endOfStream()"),C.endOfStream(),this.hls.trigger(o.BUFFERED_TO_END,void 0)})):(this.tracksEnded(),this.hls.trigger(o.BUFFERED_TO_END,void 0)):n.type==="video"&&this.unblockAudio()}tracksEnded(){this.sourceBuffers.forEach(([t])=>{if(t!==null){const n=this.tracks[t];n&&(n.ending=!1)}})}onLevelUpdated(t,{details:n}){n.fragments.length&&(this.details=n,this.updateDuration())}updateDuration(){this.blockUntilOpen(()=>{const t=this.getDurationAndRange();t&&this.updateMediaSource(t)})}onError(t,n){if(n.details===f.BUFFER_APPEND_ERROR&&n.frag){var s;const m=(s=n.errorAction)==null?void 0:s.nextAutoLevel;r(m)&&m!==n.frag.level&&this.resetAppendErrors()}}resetAppendErrors(){this.appendErrors={audio:0,video:0,audiovideo:0}}trimBuffers(){const{hls:t,details:n,media:s}=this;if(!s||n===null||!this.sourceBufferCount)return;const m=t.config,E=s.currentTime,C=n.levelTargetDuration,j=n.live&&m.liveBackBufferLength!==null?m.liveBackBufferLength:m.backBufferLength;if(r(j)&&j>=0){const G=Math.max(j,C),ue=Math.floor(E/C)*C-G;this.flushBackBuffer(E,C,ue)}const X=m.frontBufferFlushThreshold;if(r(X)&&X>0){const G=Math.max(m.maxBufferLength,X),ue=Math.max(G,C),de=Math.floor(E/C)*C+ue;this.flushFrontBuffer(E,C,de)}}flushBackBuffer(t,n,s){this.sourceBuffers.forEach(([m,E])=>{if(E){const j=ci.getBuffered(E);if(j.length>0&&s>j.start(0)){var C;this.hls.trigger(o.BACK_BUFFER_REACHED,{bufferEnd:s});const X=this.tracks[m];if((C=this.details)!=null&&C.live)this.hls.trigger(o.LIVE_BACK_BUFFER_REACHED,{bufferEnd:s});else if(X!=null&&X.ended){this.log(`Cannot flush ${m} back buffer while SourceBuffer is in ended state`);return}this.hls.trigger(o.BUFFER_FLUSHING,{startOffset:0,endOffset:s,type:m})}}})}flushFrontBuffer(t,n,s){this.sourceBuffers.forEach(([m,E])=>{if(E){const C=ci.getBuffered(E),j=C.length;if(j<2)return;const X=C.start(j-1),G=C.end(j-1);if(s>X||t>=X&&t<=G)return;this.hls.trigger(o.BUFFER_FLUSHING,{startOffset:X,endOffset:1/0,type:m})}})}getDurationAndRange(){var t;const{details:n,mediaSource:s}=this;if(!n||!this.media||(s==null?void 0:s.readyState)!=="open")return null;const m=n.edge;if(n.live&&this.hls.config.liveDurationInfinity){if(n.fragments.length&&s.setLiveSeekableRange){const G=Math.max(0,n.fragmentStart),ue=Math.max(G,m);return{duration:1/0,start:G,end:ue}}return{duration:1/0}}const E=(t=this.overrides)==null?void 0:t.duration;if(E)return r(E)?{duration:E}:null;const C=this.media.duration,j=r(s.duration)?s.duration:0;return m>j&&m>C||!r(C)?{duration:m}:null}updateMediaSource({duration:t,start:n,end:s}){const m=this.mediaSource;!this.media||!m||m.readyState!=="open"||(m.duration!==t&&(r(t)&&this.log(`Updating MediaSource duration to ${t.toFixed(3)}`),m.duration=t),n!==void 0&&s!==void 0&&(this.log(`MediaSource duration is set to ${m.duration}. Setting seekable range to ${n}-${s}.`),m.setLiveSeekableRange(n,s)))}get tracksReady(){const t=this.pendingTrackCount;return t>0&&(t>=this.bufferCodecEventsTotal||this.isPending(this.tracks.audiovideo))}checkPendingTracks(){const{bufferCodecEventsTotal:t,pendingTrackCount:n,tracks:s}=this;if(this.log(`checkPendingTracks (pending: ${n} codec events expected: ${t}) ${zi(s)}`),this.tracksReady){var m;const E=(m=this.transferData)==null?void 0:m.tracks;E&&Object.keys(E).length?this.attachTransferred():this.createSourceBuffers()}}bufferCreated(){if(this.sourceBufferCount){const t={};this.sourceBuffers.forEach(([n,s])=>{if(n){const m=this.tracks[n];t[n]={buffer:s,container:m.container,codec:m.codec,supplemental:m.supplemental,levelCodec:m.levelCodec,id:m.id,metadata:m.metadata}}}),this.hls.trigger(o.BUFFER_CREATED,{tracks:t}),this.log(`SourceBuffers created. Running queue: ${this.operationQueue}`),this.sourceBuffers.forEach(([n])=>{this.executeNext(n)})}else{const t=new Error("could not create source buffer for media codec(s)");this.hls.trigger(o.ERROR,{type:c.MEDIA_ERROR,details:f.BUFFER_INCOMPATIBLE_CODECS_ERROR,fatal:!0,error:t,reason:t.message})}}createSourceBuffers(){const{tracks:t,sourceBuffers:n,mediaSource:s}=this;if(!s)throw new Error("createSourceBuffers called when mediaSource was null");for(const E in t){const C=E,j=t[C];if(this.isPending(j)){const X=this.getTrackCodec(j,C),G=`${j.container};codecs=${X}`;j.codec=X,this.log(`creating sourceBuffer(${G})${this.currentOp(C)?" Queued":""} ${zi(j)}`);try{const ue=s.addSourceBuffer(G),de=Vl(C),Ee=[C,ue];n[de]=Ee,j.buffer=ue}catch(ue){var m;this.error(`error while trying to add sourceBuffer: ${ue.message}`),this.shiftAndExecuteNext(C),(m=this.operationQueue)==null||m.removeBlockers(),delete this.tracks[C],this.hls.trigger(o.ERROR,{type:c.MEDIA_ERROR,details:f.BUFFER_ADD_CODEC_ERROR,fatal:!1,error:ue,sourceBufferName:C,mimeType:G,parent:j.id});return}this.trackSourceBuffer(C,j)}}this.bufferCreated()}getTrackCodec(t,n){const s=t.supplemental;let m=t.codec;s&&(n==="video"||n==="audiovideo")&&Ce(s,"video")&&(m=Xr(m,s));const E=en(m,t.levelCodec);return E?n.slice(0,5)==="audio"?At(E,this.appendSource):E:""}trackSourceBuffer(t,n){const s=n.buffer;if(!s)return;const m=this.getTrackCodec(n,t);this.tracks[t]={buffer:s,codec:m,container:n.container,levelCodec:n.levelCodec,supplemental:n.supplemental,metadata:n.metadata,id:n.id,listeners:[]},this.removeBufferListeners(t),this.addBufferListener(t,"updatestart",this.onSBUpdateStart),this.addBufferListener(t,"updateend",this.onSBUpdateEnd),this.addBufferListener(t,"error",this.onSBUpdateError),this.appendSource&&this.addBufferListener(t,"bufferedchange",(E,C)=>{const j=C.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,C){const j=n-t.timestampOffset;Math.abs(j)>=s&&(this.log(`Updating ${m} SourceBuffer timestampOffset to ${n} (sn: ${E} cc: ${C})`),t.timestampOffset=n)}removeExecutor(t,n,s){const{media:m,mediaSource:E}=this,C=this.tracks[t],j=C==null?void 0:C.buffer;if(!m||!E||!j){this.warn(`Attempting to remove from the ${t} SourceBuffer, but it does not exist`),this.shiftAndExecuteNext(t);return}const X=r(m.duration)?m.duration:1/0,G=r(E.duration)?E.duration:1/0,ue=Math.max(0,n),de=Math.min(s,X,G);de>ue&&(!C.ending||C.ended)?(C.ended=!1,this.log(`Removing [${ue},${de}] from the ${t} SourceBuffer`),j.remove(ue,de)):this.shiftAndExecuteNext(t)}appendExecutor(t,n){const s=this.tracks[n],m=s==null?void 0:s.buffer;if(!m)throw new Kl(`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(C=>this.appendBlocker(C));return n.length>1&&!!this.blockedAudioAppend&&this.unblockAudio(),Promise.all(m).then(C=>{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 C=s.bind(this,t);m.listeners.push({event:n,listener:C}),E.addEventListener(n,C)}removeBufferListeners(t){const n=this.tracks[t];if(!n)return;const s=n.buffer;s&&(n.listeners.forEach(m=>{s.removeEventListener(m.event,m.listener)}),n.listeners.length=0)}}function Qo(O){const t=O.querySelectorAll("source");[].slice.call(t).forEach(n=>{O.removeChild(n)})}function lu(O,t){const n=self.document.createElement("source");n.type="video/mp4",n.src=t,O.appendChild(n)}function Vl(O){return O==="audio"?1:0}class wl{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,wl.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,X)=>X?j.width!==X.width||j.height!==X.height:!0;let E=t.length-1;const C=Math.max(n,s);for(let j=0;j<t.length;j+=1){const X=t[j];if((X.width>=C||X.height>=C)&&m(X,t[j+1])){E=j;break}}return E}}const cu={MANIFEST:"m",AUDIO:"a",VIDEO:"v",MUXED:"av",INIT:"i",CAPTION:"c",TIMED_TEXT:"tt",KEY:"k",OTHER:"o"},Tu={HLS:"h"};class _u{constructor(t,n){Array.isArray(t)&&(t=t.map(s=>s instanceof _u?s:new _u(s))),this.value=t,this.params=n}}const Hu="Dict";function Ac(O){return Array.isArray(O)?JSON.stringify(O):O instanceof Map?"Map{}":O instanceof Set?"Set{}":typeof O=="object"?JSON.stringify(O):String(O)}function Ol(O,t,n,s){return new Error(`failed to ${O} "${Ac(t)}" as ${n}`,{cause:s})}function Ia(O,t,n){return Ol("serialize",O,t,n)}class _f{constructor(t){this.description=t}}const Yc="Bare Item",dl="Boolean";function Xc(O){if(typeof O!="boolean")throw Ia(O,dl);return O?"?1":"?0"}function Of(O){return btoa(String.fromCharCode(...O))}const Tc="Byte Sequence";function Cu(O){if(ArrayBuffer.isView(O)===!1)throw Ia(O,Tc);return`:${Of(O)}:`}const mf="Integer";function Cc(O){return O<-999999999999999||999999999999999<O}function Yl(O){if(Cc(O))throw Ia(O,mf);return O.toString()}function vf(O){return`@${Yl(O.getTime()/1e3)}`}function Pc(O,t){if(O<0)return-Pc(-O,t);const n=Math.pow(10,t);if(Math.abs(O*n%1-.5)<Number.EPSILON){const m=Math.floor(O*n);return(m%2===0?m:m+1)/n}else return Math.round(O*n)/n}const Pu="Decimal";function hl(O){const t=Pc(O,3);if(Math.floor(Math.abs(t)).toString().length>12)throw Ia(O,Pu);const n=t.toString();return n.includes(".")?n:`${n}.0`}const Ic="String",pl=/[\x00-\x1f\x7f]+/;function Qc(O){if(pl.test(O))throw Ia(O,Ic);return`"${O.replace(/\\/g,"\\\\").replace(/"/g,'\\"')}"`}function gf(O){return O.description||O.toString().slice(7,-1)}const lc="Token";function wo(O){const t=gf(O);if(/^([a-zA-Z*])([!#$%&'*+\-.^_`|~\w:/]*)$/.test(t)===!1)throw Ia(t,lc);return t}function Dc(O){switch(typeof O){case"number":if(!r(O))throw Ia(O,Yc);return Number.isInteger(O)?Yl(O):hl(O);case"string":return Qc(O);case"symbol":return wo(O);case"boolean":return Xc(O);case"object":if(O instanceof Date)return vf(O);if(O instanceof Uint8Array)return Cu(O);if(O instanceof _f)return wo(O);default:throw Ia(O,Yc)}}const qc="Key";function _l(O){if(/^[a-z*][a-z0-9\-_.*]*$/.test(O)===!1)throw Ia(O,qc);return O}function Nu(O){return O==null?"":Object.entries(O).map(([t,n])=>n===!0?`;${_l(t)}`:`;${_l(t)}=${Dc(n)}`).join("")}function So(O){return O instanceof _u?`${Dc(O.value)}${Nu(O.params)}`:Dc(O)}function kl(O){return`(${O.value.map(So).join(" ")})${Nu(O.params)}`}function kf(O,t={whitespace:!0}){if(typeof O!="object"||O==null)throw Ia(O,Hu);const n=O instanceof Map?O.entries():Object.entries(O),s=t!=null&&t.whitespace?" ":"";return Array.from(n).map(([m,E])=>{E instanceof _u||(E=new _u(E));let C=_l(m);return E.value===!0?C+=Nu(E.params):(C+="=",Array.isArray(E.value)?C+=kl(E):C+=So(E)),C}).join(`,${s}`)}function Oc(O,t){return kf(O,t)}const Wu="CMCD-Object",Gs="CMCD-Request",mo="CMCD-Session",Iu="CMCD-Status",Ue={br:Wu,ab:Wu,d:Wu,ot:Wu,tb:Wu,tpb:Wu,lb:Wu,tab:Wu,lab:Wu,url:Wu,pb:Gs,bl:Gs,tbl:Gs,dl:Gs,ltc:Gs,mtp:Gs,nor:Gs,nrr:Gs,rc:Gs,sn:Gs,sta:Gs,su:Gs,ttfb:Gs,ttfbb:Gs,ttlb:Gs,cmsdd:Gs,cmsds:Gs,smrt:Gs,df:Gs,cs:Gs,ts:Gs,cid:mo,pr:mo,sf:mo,sid:mo,st:mo,v:mo,msd:mo,bs:Iu,bsd:Iu,cdn:Iu,rtp:Iu,bg:Iu,pt:Iu,ec:Iu,e:Iu},Gu={REQUEST:Gs};function yu(O){return Object.keys(O).reduce((t,n)=>{var s;return(s=O[n])===null||s===void 0||s.forEach(m=>t[m]=n),t},{})}function cc(O,t){const n={};if(!O)return n;const s=Object.keys(O),m=t?yu(t):{};return s.reduce((E,C)=>{var j;const X=Ue[C]||m[C]||Gu.REQUEST,G=(j=E[X])!==null&&j!==void 0?j:E[X]={};return G[C]=O[C],E},n)}function fu(O){return["ot","sf","st","e","sta"].includes(O)}function Ku(O){return typeof O=="number"?r(O):O!=null&&O!==""&&O!==!1}const fc="event";function dc(O,t){const n=new URL(O),s=new URL(t);if(n.origin!==s.origin)return O;const m=n.pathname.split("/").slice(1),E=s.pathname.split("/").slice(1,-1);for(;m[0]===E[0];)m.shift(),E.shift();for(;E.length;)E.shift(),m.unshift("..");return m.join("/")+n.search+n.hash}const rl=O=>Math.round(O),nl=(O,t)=>Array.isArray(O)?O.map(n=>nl(n,t)):O instanceof _u&&typeof O.value=="string"?new _u(nl(O.value,t),O.params):(t.baseUrl&&(O=dc(O,t.baseUrl)),t.version===1?encodeURIComponent(O):O),Du=O=>rl(O/100)*100,hc={br:rl,d:rl,bl:Du,dl:Du,mtp:Du,nor:(O,t)=>{let n=O;return t.version>=2&&(O instanceof _u&&typeof O.value=="string"?n=new _u([O]):typeof O=="string"&&(n=[O])),nl(n,t)},rtp:Du,tb:rl},bu="request",ml="response",Ou=["ab","bg","bl","br","bs","bsd","cdn","cid","cs","df","ec","lab","lb","ltc","msd","mtp","pb","pr","pt","sf","sid","sn","st","sta","tab","tb","tbl","tpb","ts","v"],Uf=["e"],Jc=/^[a-zA-Z0-9-.]+-[a-zA-Z0-9-.]+$/;function Zo(O){return Jc.test(O)}function Rl(O){return Ou.includes(O)||Uf.includes(O)||Zo(O)}const kc=["d","dl","nor","ot","rtp","su"];function pc(O){return Ou.includes(O)||kc.includes(O)||Zo(O)}const _c=["cmsdd","cmsds","rc","smrt","ttfb","ttfbb","ttlb","url"];function mc(O){return Ou.includes(O)||kc.includes(O)||_c.includes(O)||Zo(O)}const vc=["bl","br","bs","cid","d","dl","mtp","nor","nrr","ot","pr","rtp","sf","sid","st","su","tb","v"];function Rf(O){return vc.includes(O)||Zo(O)}const Rc={[ml]:mc,[fc]:Rl,[bu]:pc};function Xl(O,t={}){const n={};if(O==null||typeof O!="object")return n;const s=t.version||O.v||1,m=t.reportingMode||bu,E=s===1?Rf:Rc[m];let C=Object.keys(O).filter(E);const j=t.filter;typeof j=="function"&&(C=C.filter(j));const X=m===ml||m===fc;X&&!C.includes("ts")&&C.push("ts"),s>1&&!C.includes("v")&&C.push("v");const G=y({},hc,t.formatters),ue={version:s,reportingMode:m,baseUrl:t.baseUrl};return C.sort().forEach(de=>{let Ee=O[de];const Re=G[de];if(typeof Re=="function"&&(Ee=Re(Ee,ue)),de==="v"){if(s===1)return;Ee=s}de=="pr"&&Ee===1||(X&&de==="ts"&&!r(Ee)&&(Ee=Date.now()),Ku(Ee)&&(fu(de)&&typeof Ee=="string"&&(Ee=new _f(Ee)),n[de]=Ee))}),n}function Ql(O,t={}){const n={};if(!O)return n;const s=Xl(O,t),m=cc(s,t==null?void 0:t.customHeaderMap);return Object.entries(m).reduce((E,[C,j])=>{const X=Oc(j,{whitespace:!1});return X&&(E[C]=X),E},n)}function bf(O,t,n){return y(O,Ql(t,n))}const ef="CMCD";function il(O,t={}){return O?Oc(Xl(O,t),{whitespace:!1}):""}function gc(O,t={}){if(!O)return"";const n=il(O,t);return encodeURIComponent(n)}function yc(O,t={}){if(!O)return"";const n=gc(O,t);return`${ef}=${n}`}const Lc=/CMCD=[^&#]+/;function Mc(O,t,n){const s=yc(t,n);if(!s)return O;if(Lc.test(O))return O.replace(Lc,s);const m=O.includes("?")?"&":"?";return`${O}${m}${s}`}class xf{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:cu.MANIFEST,su:!this.initialized})}catch(E){this.hls.logger.warn("Could not generate manifest CMCD data.",E)}},this.applyFragmentData=m=>{try{const{frag:E,part:C}=m,j=this.hls.levels[E.level],X=this.getObjectType(E),G={d:(C||E).duration*1e3,ot:X};(X===cu.VIDEO||X===cu.AUDIO||X==cu.MUXED)&&(G.br=j.bitrate/1e3,G.tb=this.getTopBandwidth(X)/1e3,G.bl=this.getBufferLength(X));const ue=C?this.getNextPart(C):this.getNextFrag(E);ue!=null&&ue.url&&ue.url!==E.url&&(G.nor=ue.url),this.apply(m,G)}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:Tu.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===cu.INIT||n.ot===cu.VIDEO||n.ot===cu.MUXED;this.starved&&s&&(n.bs=!0,n.su=!0,this.starved=!1),n.su==null&&(n.su=this.buffering);const{includeKeys:m}=this;m&&(n=Object.keys(n).reduce((C,j)=>(m.includes(j)&&(C[j]=n[j]),C),{}));const E={baseUrl:t.url};this.useHeaders?(t.headers||(t.headers={}),bf(t.headers,n,E)):t.url=Mc(t.url,n,E)}getNextFrag(t){var n;const s=(n=this.hls.levels[t.level])==null?void 0:n.details;if(s){const m=t.sn-s.startSN;return s.fragments[m+1]}}getNextPart(t){var n;const{index:s,fragment:m}=t,E=(n=this.hls.levels[m.level])==null||(n=n.details)==null?void 0:n.partList;if(E){const{sn:C}=m;for(let j=E.length-1;j>=0;j--){const X=E[j];if(X.index===s&&X.fragment.sn===C)return E[j+1]}}}getObjectType(t){const{type:n}=t;if(n==="subtitle")return cu.TIMED_TEXT;if(t.sn==="initSegment")return cu.INIT;if(n==="audio")return cu.AUDIO;if(n==="main")return this.hls.audioTracks.length?cu.VIDEO:cu.MUXED}getTopBandwidth(t){let n=0,s;const m=this.hls;if(t===cu.AUDIO)s=m.audioTracks;else{const E=m.maxAutoLevel,C=E>-1?E+1:m.levels.length;s=m.levels.slice(0,C)}return s.forEach(E=>{E.bitrate>n&&(n=E.bitrate)}),n>0?n:NaN}getBufferLength(t){const n=this.media,s=t===cu.AUDIO?this.audioBuffer:this.videoBuffer;return!s||!n?NaN:ci.bufferInfo(s,n.currentTime,this.config.maxBufferHole).len*1e3}createPlaylistLoader(){const{pLoader:t}=this.config,n=this.applyPlaylistData,s=t||this.config.loader;return class{constructor(E){this.loader=void 0,this.loader=new s(E)}get stats(){return this.loader.stats}get context(){return this.loader.context}destroy(){this.loader.destroy()}abort(){this.loader.abort()}load(E,C,j){n(E),this.loader.load(E,C,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,C,j){n(E),this.loader.load(E,C,j)}}}}const P=3e5;class D 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)===gr.SendAlternateToPenaltyBox&&s.flags===fn.MoveAllAlternatesMatchingHost){const m=this.levels;let E=this._pathwayPriority,C=this.pathwayId;if(n.context){const{groupId:j,pathwayId:X,type:G}=n.context;j&&m?C=this.getPathwayForGroupId(j,G,C):X&&(C=X)}C in this.penalizedPathways||(this.penalizedPathways[C]=performance.now()),!E&&m&&(E=this.pathways()),E&&E.length>1&&(this.updatePathwayPriority(E),s.resolved=this.pathwayId!==C),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: ${C} levels: ${m&&m.length} priorities: ${zi(E)} penalized: ${zi(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]>P&&delete s[E]});for(let E=0;E<t.length;E++){const C=t[E];if(C in s)continue;if(C===this.pathwayId)return;const j=this.hls.nextLoadLevel,X=this.hls.levels[j];if(n=this.getLevelsForPathway(C),n.length>0){this.log(`Setting Pathway to "${C}"`),this.pathwayId=C,ps(n),this.hls.trigger(o.LEVELS_UPDATED,{levels:n});const G=this.hls.levels[j];X&&G&&this.levels&&(G.attrs["STABLE-VARIANT-ID"]!==X.attrs["STABLE-VARIANT-ID"]&&G.bitrate!==X.bitrate&&this.log(`Unstable Pathways change from bitrate ${X.bitrate} to ${G.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:C,"BASE-ID":j,"URI-REPLACEMENT":X}=E;if(n.some(ue=>ue.pathwayId===C))return;const G=this.getLevelsForPathway(j).map(ue=>{const de=new Yi(ue.attrs);de["PATHWAY-ID"]=C;const Ee=de.AUDIO&&`${de.AUDIO}_clone_${C}`,Re=de.SUBTITLES&&`${de.SUBTITLES}_clone_${C}`;Ee&&(s[de.AUDIO]=Ee,de.AUDIO=Ee),Re&&(m[de.SUBTITLES]=Re,de.SUBTITLES=Re);const Le=me(ue.uri,de["STABLE-VARIANT-ID"],"PER-VARIANT-URIS",X),ut=new Ai({attrs:de,audioCodec:ue.audioCodec,bitrate:ue.bitrate,height:ue.height,name:ue.name,url:Le,videoCodec:ue.videoCodec,width:ue.width});if(ue.audioGroups)for(let ot=1;ot<ue.audioGroups.length;ot++)ut.addGroupId("audio",`${ue.audioGroups[ot]}_clone_${C}`);if(ue.subtitleGroups)for(let ot=1;ot<ue.subtitleGroups.length;ot++)ut.addGroupId("text",`${ue.subtitleGroups[ot]}_clone_${C}`);return ut});n.push(...G),L(this.audioTracks,s,X,C),L(this.subtitleTracks,m,X,C)})}loadSteeringManifest(t){const n=this.hls.config,s=n.loader;this.loader&&this.loader.destroy(),this.loader=new s(n);let m;try{m=new self.URL(t)}catch(ue){this.enabled=!1,this.log(`Failed to parse Steering Manifest URI: ${t}`);return}if(m.protocol!=="data:"){const ue=(this.hls.bandwidthEstimate||n.abrEwmaDefaultEstimate)|0;m.searchParams.set("_HLS_pathway",this.pathwayId),m.searchParams.set("_HLS_throughput",""+ue)}const E={responseType:"json",url:m.href},C=n.steeringManifestLoadPolicy.default,j=C.errorRetry||C.timeoutRetry||{},X={loadPolicy:C,timeout:C.maxLoadTimeMs,maxRetry:j.maxNumRetry||0,retryDelay:j.retryDelayMs||0,maxRetryDelay:j.maxRetryDelayMs||0},G={onSuccess:(ue,de,Ee,Re)=>{this.log(`Loaded steering manifest: "${m}"`);const Le=ue.data;if((Le==null?void 0:Le.VERSION)!==1){this.log(`Steering VERSION ${Le.VERSION} not supported!`);return}this.updated=performance.now(),this.timeToLoad=Le.TTL;const{"RELOAD-URI":ut,"PATHWAY-CLONES":ot,"PATHWAY-PRIORITY":Kt}=Le;if(ut)try{this.uri=new self.URL(ut,m).href}catch(ir){this.enabled=!1,this.log(`Failed to parse Steering Manifest RELOAD-URI: ${ut}`);return}this.scheduleRefresh(this.uri||Ee.url),ot&&this.clonePathways(ot);const er={steeringManifest:Le,url:m.toString()};this.hls.trigger(o.STEERING_MANIFEST_LOADED,er),Kt&&this.updatePathwayPriority(Kt)},onError:(ue,de,Ee,Re)=>{if(this.log(`Error loading steering manifest: ${ue.code} ${ue.text} (${de.url})`),this.stopLoad(),ue.code===410){this.enabled=!1,this.log(`Steering manifest ${de.url} no longer available`);return}let Le=this.timeToLoad*1e3;if(ue.code===429){const ut=this.loader;if(typeof(ut==null?void 0:ut.getResponseHeader)=="function"){const ot=ut.getResponseHeader("Retry-After");ot&&(Le=parseFloat(ot)*1e3)}this.log(`Steering manifest ${de.url} rate limited`);return}this.scheduleRefresh(this.uri||de.url,Le)},onTimeout:(ue,de,Ee)=>{this.log(`Timeout loading steering manifest (${de.url})`),this.scheduleRefresh(this.uri||de.url)}};this.log(`Requesting steering manifest: ${m}`),this.loader.load(E,X,G)}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 L(O,t,n,s){O&&Object.keys(t).forEach(m=>{const E=O.filter(C=>C.groupId===m).map(C=>{const j=y({},C);return j.details=void 0,j.attrs=new Yi(j.attrs),j.url=j.attrs.URI=me(C.url,C.attrs["STABLE-RENDITION-ID"],"PER-RENDITION-URIS",n),j.groupId=j.attrs["GROUP-ID"]=t[m],j.attrs["PATHWAY-ID"]=s,j});O.push(...E)})}function me(O,t,n,s){const{HOST:m,PARAMS:E,[n]:C}=s;let j;t&&(j=C==null?void 0:C[t],j&&(O=j));const X=new self.URL(O);return m&&!j&&(X.host=m),E&&Object.keys(E).sort().forEach(G=>{G&&X.searchParams.set(G,E[G])}),X.href}class De extends R{constructor(t){super("eme",t.logger),this.hls=void 0,this.config=void 0,this.media=null,this.mediaResolved=void 0,this.keyFormatPromise=null,this.keySystemAccessPromises={},this._requestLicenseFailureCount=0,this.mediaKeySessions=[],this.keyIdToKeySessionPromise={},this.mediaKeys=null,this.setMediaKeysQueue=De.CDMCleanupPromise?[De.CDMCleanupPromise]:[],this.bannedKeyIds={},this.onMediaEncrypted=n=>{const{initDataType:s,initData:m}=n,E=`"${n.type}" event: init data type: "${s}"`;if(this.debug(E),m!==null){if(!this.keyFormatPromise){let C=Object.keys(this.keySystemAccessPromises);C.length||(C=ko(this.config));const j=C.map(Is).filter(X=>!!X);this.keyFormatPromise=this.getKeyFormatPromise(j)}this.keyFormatPromise.then(C=>{const j=Jo(C);if(s!=="sinf"||j!==Ga.FAIRPLAY){this.log(`Ignoring "${n.type}" event with init data type: "${s}" for selected key-system ${j}`);return}let X;try{const Re=Mt(new Uint8Array(m)),Le=Ko(JSON.parse(Re).sinf),ut=qt(Le);if(!ut)throw new Error("'schm' box missing or not cbcs/cenc with schi > tenc");X=new Uint8Array(ut.subarray(8,24))}catch(Re){this.warn(`${E} Failed to parse sinf: ${Re}`);return}const G=q(X),{keyIdToKeySessionPromise:ue,mediaKeySessions:de}=this;let Ee=ue[G];for(let Re=0;Re<de.length;Re++){const Le=de[Re],ut=Le.decryptdata;if(!ut.keyId)continue;const ot=q(ut.keyId);if(ho(X,ut.keyId)||ut.uri.replace(/-/g,"").indexOf(G)!==-1){if(Ee=ue[ot],!Ee)continue;if(ut.pssh)break;delete ue[ot],ut.pssh=new Uint8Array(m),ut.keyId=X,Ee=ue[G]=Ee.then(()=>this.generateRequestWithPreferredKeySession(Le,s,m,"encrypted-event-key-match")),Ee.catch(Kt=>this.handleError(Kt));break}}Ee||this.handleError(new Error(`Key ID ${G} not encountered in playlist. Key-system sessions ${de.length}.`))}).catch(C=>this.handleError(C))}},this.onWaitingForKey=n=>{this.log(`"${n.type}" event`)},this.hls=t,this.config=t.config,this.registerListeners()}destroy(){this.onDestroying(),this.onMediaDetached();const t=this.config;t.requestMediaKeySystemAccessFunc=null,t.licenseXhrSetup=t.licenseResponseCallback=void 0,t.drmSystems=t.drmSystemOptions={},this.hls=this.config=this.keyIdToKeySessionPromise=null,this.onMediaEncrypted=this.onWaitingForKey=null}registerListeners(){this.hls.on(o.MEDIA_ATTACHED,this.onMediaAttached,this),this.hls.on(o.MEDIA_DETACHED,this.onMediaDetached,this),this.hls.on(o.MANIFEST_LOADING,this.onManifestLoading,this),this.hls.on(o.MANIFEST_LOADED,this.onManifestLoaded,this),this.hls.on(o.DESTROYING,this.onDestroying,this)}unregisterListeners(){this.hls.off(o.MEDIA_ATTACHED,this.onMediaAttached,this),this.hls.off(o.MEDIA_DETACHED,this.onMediaDetached,this),this.hls.off(o.MANIFEST_LOADING,this.onManifestLoading,this),this.hls.off(o.MANIFEST_LOADED,this.onManifestLoaded,this),this.hls.off(o.DESTROYING,this.onDestroying,this)}getLicenseServerUrl(t){const{drmSystems:n,widevineLicenseUrl:s}=this.config,m=n==null?void 0:n[t];if(m)return m.licenseUrl;if(t===Ga.WIDEVINE&&s)return s}getLicenseServerUrlOrThrow(t){const n=this.getLicenseServerUrl(t);if(n===void 0)throw new Error(`no license server URL configured for key-system "${t}"`);return n}getServerCertificateUrl(t){const{drmSystems:n}=this.config,s=n==null?void 0:n[t];if(s)return s.serverCertificateUrl;this.log(`No Server Certificate in config.drmSystems["${t}"]`)}attemptKeySystemAccess(t){const n=this.hls.levels,s=(C,j,X)=>!!C&&X.indexOf(C)===j,m=n.map(C=>C.audioCodec).filter(s),E=n.map(C=>C.videoCodec).filter(s);return m.length+E.length===0&&E.push("avc1.42e01e"),new Promise((C,j)=>{const X=G=>{const ue=G.shift();this.getMediaKeysPromise(ue,m,E).then(de=>C({keySystem:ue,mediaKeys:de})).catch(de=>{G.length?X(G):de instanceof hn?j(de):j(new hn({type:c.KEY_SYSTEM_ERROR,details:f.KEY_SYSTEM_NO_ACCESS,error:de,fatal:!0},de.message))})};X(t)})}requestMediaKeySystemAccess(t,n){const{requestMediaKeySystemAccessFunc:s}=this.config;if(typeof s!="function"){let m=`Configured requestMediaKeySystemAccess is not a function ${s}`;return vu===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){var m;const E=wu(t,n,s,this.config.drmSystemOptions||{});let C=this.keySystemAccessPromises[t],j=(m=C)==null?void 0:m.keySystemAccess;if(!j){this.log(`Requesting encrypted media "${t}" key-system access with config: ${zi(E)}`),j=this.requestMediaKeySystemAccess(t,E);const X=C=this.keySystemAccessPromises[t]={keySystemAccess:j};return j.catch(G=>{this.log(`Failed to obtain access to key-system "${t}": ${G}`)}),j.then(G=>{this.log(`Access for key-system "${G.keySystem}" obtained`);const ue=this.fetchServerCertificate(t);this.log(`Create media-keys for "${t}"`);const de=X.mediaKeys=G.createMediaKeys().then(Ee=>(this.log(`Media-keys created for "${t}"`),X.hasMediaKeys=!0,ue.then(Re=>Re?this.setMediaKeysServerCertificate(Ee,t,Re):Ee)));return de.catch(Ee=>{this.error(`Failed to create media-keys for "${t}"}: ${Ee}`)}),de})}return j.then(()=>C.mediaKeys)}createMediaKeySessionContext({decryptdata:t,keySystem:n,mediaKeys:s}){this.log(`Creating key-system session "${n}" keyId: ${q(t.keyId||[])} keyUri: ${t.uri}`);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=an(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)}updateKeySession(t,n){const s=t.mediaKeysSession;return this.log(`Updating key-session "${s.sessionId}" for keyId ${q(t.decryptdata.keyId||[])}
} (data length: ${n.byteLength})`),s.update(n)}getSelectedKeySystemFormats(){return Object.keys(this.keySystemAccessPromises).map(t=>({keySystem:t,hasMediaKeys:this.keySystemAccessPromises[t].hasMediaKeys})).filter(({hasMediaKeys:t})=>!!t).map(({keySystem:t})=>Is(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=Is(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=ko(this.config),s=t.map(Jo).filter(m=>!!m&&n.indexOf(m)!==-1);return this.selectKeySystem(s)}getKeyStatus(t){const{mediaKeySessions:n}=this;for(let s=0;s<n.length;s++){const m=Vn(t,n[s]);if(m)return m}}loadKey(t){const n=t.keyInfo.decryptdata,s=an(n),m=this.bannedKeyIds[s];if(m||this.getKeyStatus(n)==="internal-error"){const j=Fi(m||"internal-error",n);return this.handleError(j,t.frag),Promise.reject(j)}const E=`(keyId: ${s} format: "${n.keyFormat}" method: ${n.method} uri: ${n.uri})`;this.log(`Starting session for key ${E}`);const C=this.keyIdToKeySessionPromise[s];if(!C){const j=this.getKeySystemForKeyPromise(n).then(({keySystem:X,mediaKeys:G})=>(this.throwIfDestroyed(),this.log(`Handle encrypted media sn: ${t.frag.sn} ${t.frag.type}: ${t.frag.level} using key ${E}`),this.attemptSetMediaKeys(X,G).then(()=>(this.throwIfDestroyed(),this.createMediaKeySessionContext({keySystem:X,mediaKeys:G,decryptdata:n}))))).then(X=>{const G="cenc",ue=n.pssh?n.pssh.buffer:null;return this.generateRequestWithPreferredKeySession(X,G,ue,"playlist-key")});return j.catch(X=>this.handleError(X,t.frag)),this.keyIdToKeySessionPromise[s]=j,j}return C.catch(j=>{if(j instanceof hn){const X=b({},j.data);this.getKeyStatus(n)==="internal-error"&&(X.decryptdata=n);const G=new hn(X,j.message);this.handleError(G,t.frag)}}),C}throwIfDestroyed(t="Invalid state"){if(!this.hls)throw new Error("invalid state")}handleError(t,n){if(this.hls)if(t instanceof hn){n&&(t.data.frag=n);const s=t.data.decryptdata;this.error(`${t.message}${s?` (${q(s.keyId||[])})`:""}`),this.hls.trigger(o.ERROR,t.data)}else this.error(t.message),this.hls.trigger(o.ERROR,{type:c.KEY_SYSTEM_ERROR,details:f.KEY_SYSTEM_NO_KEYS,error:t,fatal:!0})}getKeySystemForKeyPromise(t){const n=an(t),s=this.keyIdToKeySessionPromise[n];if(!s){const m=Jo(t.keyFormat),E=m?[m]:ko(this.config);return this.attemptKeySystemAccess(E)}return s}getKeySystemSelectionPromise(t){if(t.length||(t=ko(this.config)),t.length===0)throw new hn({type:c.KEY_SYSTEM_ERROR,details:f.KEY_SYSTEM_NO_CONFIGURED_LICENSE,fatal:!0},`Missing key-system license configuration options ${zi({drmSystems:this.config.drmSystems})}`);return this.attemptKeySystemAccess(t)}attemptSetMediaKeys(t,n){if(this.mediaResolved=void 0,this.mediaKeys===n)return Promise.resolve();const s=this.setMediaKeysQueue.slice();this.log(`Setting media-keys for "${t}"`);const m=Promise.all(s).then(()=>this.media?this.media.setMediaKeys(n):new Promise((E,C)=>{this.mediaResolved=()=>{if(this.mediaResolved=void 0,!this.media)return C(new Error("Attempted to set mediaKeys without media element attached"));this.mediaKeys=n,this.media.setMediaKeys(n).then(E).catch(C)}}));return this.mediaKeys=n,this.setMediaKeysQueue.push(m),m.then(()=>{this.log(`Media-keys set for "${t}"`),s.push(m),this.setMediaKeysQueue=this.setMediaKeysQueue.filter(E=>s.indexOf(E)===-1)})}generateRequestWithPreferredKeySession(t,n,s,m){var E;const C=(E=this.config.drmSystems)==null||(E=E[t.keySystem])==null?void 0:E.generateRequest;if(C)try{const Le=C.call(this.hls,n,s,t);if(!Le)throw new Error("Invalid response from configured generateRequest filter");n=Le.initDataType,s=Le.initData?Le.initData:null,t.decryptdata.pssh=s?new Uint8Array(s):null}catch(Le){if(this.warn(Le.message),this.hls&&this.hls.config.debug)throw Le}if(s===null)return this.log(`Skipping key-session request for "${m}" (no initData)`),Promise.resolve(t);const j=an(t.decryptdata),X=t.decryptdata.uri;this.log(`Generating key-session request for "${m}" keyId: ${j} URI: ${X} (init data type: ${n} length: ${s.byteLength})`);const G=new ii,ue=t._onmessage=Le=>{const ut=t.mediaKeysSession;if(!ut){G.emit("error",new Error("invalid state"));return}const{messageType:ot,message:Kt}=Le;this.log(`"${ot}" message event for session "${ut.sessionId}" message size: ${Kt.byteLength}`),ot==="license-request"||ot==="license-renewal"?this.renewLicense(t,Kt).catch(er=>{G.eventNames().length?G.emit("error",er):this.handleError(er)}):ot==="license-release"?t.keySystem===Ga.FAIRPLAY&&this.updateKeySession(t,vi("acknowledged")).then(()=>this.removeSession(t)).catch(er=>this.handleError(er)):this.warn(`unhandled media key message type "${ot}"`)},de=(Le,ut)=>{ut.keyStatus=Le;let ot;Le.startsWith("usable")?G.emit("resolved"):Le==="internal-error"||Le==="output-restricted"||Le==="output-downscaled"?ot=Fi(Le,ut.decryptdata):Le==="expired"?ot=new Error(`key expired (keyId: ${j})`):Le==="released"?ot=new Error("key released"):Le==="status-pending"||this.warn(`unhandled key status change "${Le}" (keyId: ${j})`),ot&&(G.eventNames().length?G.emit("error",ot):this.handleError(ot))},Ee=t._onkeystatuseschange=Le=>{if(!t.mediaKeysSession){G.emit("error",new Error("invalid state"));return}const ot=this.getKeyStatuses(t);if(!Object.keys(ot).some(Er=>ot[Er]!=="status-pending"))return;if(ot[j]==="expired"){this.log(`Expired key ${zi(ot)} in key-session "${t.mediaKeysSession.sessionId}"`),this.renewKeySession(t);return}let er=ot[j];if(er)de(er,t);else{var ir;t.keyStatusTimeouts||(t.keyStatusTimeouts={}),(ir=t.keyStatusTimeouts)[j]||(ir[j]=self.setTimeout(()=>{if(!t.mediaKeysSession||!this.mediaKeys)return;const jr=this.getKeyStatus(t.decryptdata);if(jr&&jr!=="status-pending")return this.log(`No status for keyId ${j} in key-session "${t.mediaKeysSession.sessionId}". Using session key-status ${jr} from other session.`),de(jr,t);this.log(`key status for ${j} in key-session "${t.mediaKeysSession.sessionId}" timed out after 1000ms`),er="internal-error",de(er,t)},1e3)),this.log(`No status for keyId ${j} (${zi(ot)}).`)}};$a(t.mediaKeysSession,"message",ue),$a(t.mediaKeysSession,"keystatuseschange",Ee);const Re=new Promise((Le,ut)=>{G.on("error",ut),G.on("resolved",Le)});return t.mediaKeysSession.generateRequest(n,s).then(()=>{this.log(`Request generated for key-session "${t.mediaKeysSession.sessionId}" keyId: ${j} URI: ${X}`)}).catch(Le=>{throw new hn({type:c.KEY_SYSTEM_ERROR,details:f.KEY_SYSTEM_NO_SESSION,error:Le,decryptdata:t.decryptdata,fatal:!1},`Error generating key-session request: ${Le}`)}).then(()=>Re).catch(Le=>(G.removeAllListeners(),this.removeSession(t).then(()=>{throw Le}))).then(()=>(G.removeAllListeners(),t))}getKeyStatuses(t){const n={};return t.mediaKeysSession.keyStatuses.forEach((s,m)=>{if(typeof m=="string"&&typeof s=="object"){const j=m;m=s,s=j}const E="buffer"in m?new Uint8Array(m.buffer,m.byteOffset,m.byteLength):new Uint8Array(m);t.keySystem===Ga.PLAYREADY&&E.length===16&&ts(E);const C=q(E);s==="internal-error"&&(this.bannedKeyIds[C]=s),this.log(`key status change "${s}" for keyStatuses keyId: ${C} key-session "${t.mediaKeysSession.sessionId}"`),n[C]=s}),n}fetchServerCertificate(t){const n=this.config,s=n.loader,m=new s(n),E=this.getServerCertificateUrl(t);return E?(this.log(`Fetching server certificate for "${t}"`),new Promise((C,j)=>{const X={responseType:"arraybuffer",url:E},G=n.certLoadPolicy.default,ue={loadPolicy:G,timeout:G.maxLoadTimeMs,maxRetry:0,retryDelay:0,maxRetryDelay:0},de={onSuccess:(Ee,Re,Le,ut)=>{C(Ee.data)},onError:(Ee,Re,Le,ut)=>{j(new hn({type:c.KEY_SYSTEM_ERROR,details:f.KEY_SYSTEM_SERVER_CERTIFICATE_REQUEST_FAILED,fatal:!0,networkDetails:Le,response:b({url:X.url,data:void 0},Ee)},`"${t}" certificate request failed (${E}). Status: ${Ee.code} (${Ee.text})`))},onTimeout:(Ee,Re,Le)=>{j(new hn({type:c.KEY_SYSTEM_ERROR,details:f.KEY_SYSTEM_SERVER_CERTIFICATE_REQUEST_FAILED,fatal:!0,networkDetails:Le,response:{url:X.url,data:void 0}},`"${t}" certificate request timed out (${E})`))},onAbort:(Ee,Re,Le)=>{j(new Error("aborted"))}};m.load(X,ue,de)})):Promise.resolve()}setMediaKeysServerCertificate(t,n,s){return new Promise((m,E)=>{t.setServerCertificate(s).then(C=>{this.log(`setServerCertificate ${C?"success":"not supported by CDM"} (${s.byteLength}) on "${n}"`),m(t)}).catch(C=>{E(new hn({type:c.KEY_SYSTEM_ERROR,details:f.KEY_SYSTEM_SERVER_CERTIFICATE_UPDATE_FAILED,error:C,fatal:!0},C.message))})})}renewLicense(t,n){return this.requestLicense(t,new Uint8Array(n)).then(s=>this.updateKeySession(t,new Uint8Array(s)).catch(m=>{throw new hn({type:c.KEY_SYSTEM_ERROR,details:f.KEY_SYSTEM_SESSION_UPDATE_FAILED,decryptdata:t.decryptdata,error:m,fatal:!1},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 ue;for(let de=0,Ee=E.length;de<Ee;de++){var C,j;ue=E[de];const Re=(C=ue.querySelector("name"))==null?void 0:C.textContent,Le=(j=ue.querySelector("value"))==null?void 0:j.textContent;Re&&Le&&t.setRequestHeader(Re,Le)}}const X=m.querySelector("Challenge"),G=X==null?void 0:X.textContent;if(!G)throw new Error("Cannot find <Challenge> in key message");return vi(atob(G))}setupLicenseXHR(t,n,s,m){const E=this.config.licenseXhrSetup;return E?Promise.resolve().then(()=>{if(!s.decryptdata)throw new Error("Key removed");return E.call(this.hls,t,n,s,m)}).catch(C=>{if(!s.decryptdata)throw C;return t.open("POST",n,!0),E.call(this.hls,t,n,s,m)}).then(C=>(t.readyState||t.open("POST",n,!0),{xhr:t,licenseChallenge:C||m})):(t.open("POST",n,!0),Promise.resolve({xhr:t,licenseChallenge:m}))}requestLicense(t,n){const s=this.config.keyLoadPolicy.default;return new Promise((m,E)=>{const C=this.getLicenseServerUrlOrThrow(t.keySystem);this.log(`Sending license request to URL: ${C}`);const 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 X=j.response;this.log(`License received ${X instanceof ArrayBuffer?X.byteLength:X}`);const G=this.config.licenseResponseCallback;if(G)try{X=G.call(this.hls,j,C,t)}catch(ue){this.error(ue)}m(X)}else{const X=s.errorRetry,G=X?X.maxNumRetry:0;if(this._requestLicenseFailureCount++,this._requestLicenseFailureCount>G||j.status>=400&&j.status<500)E(new hn({type:c.KEY_SYSTEM_ERROR,details:f.KEY_SYSTEM_LICENSE_REQUEST_FAILED,decryptdata:t.decryptdata,fatal:!0,networkDetails:j,response:{url:C,data:void 0,code:j.status,text:j.statusText}},`License Request XHR failed (${C}). Status: ${j.status} (${j.statusText})`));else{const ue=G-this._requestLicenseFailureCount+1;this.warn(`Retrying license request, ${ue} 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,C,t,n).then(({xhr:X,licenseChallenge:G})=>{t.keySystem==Ga.PLAYREADY&&(G=this.unpackPlayReadyKeyMessage(X,G)),X.send(G)}).catch(E)})}onDestroying(){this.unregisterListeners(),this._clear()}onMediaAttached(t,n){if(!this.config.emeEnabled)return;const s=n.media;this.media=s,$a(s,"encrypted",this.onMediaEncrypted),$a(s,"waitingforkey",this.onWaitingForKey);const m=this.mediaResolved;m?m():this.mediaKeys=s.mediaKeys}onMediaDetached(){const t=this.media;t&&(rs(t,"encrypted",this.onMediaEncrypted),rs(t,"waitingforkey",this.onWaitingForKey),this.media=null,this.mediaKeys=null)}_clear(){var t;this._requestLicenseFailureCount=0,this.keyIdToKeySessionPromise={},this.bannedKeyIds={};const n=this.mediaResolved;if(n&&n(),!this.mediaKeys&&!this.mediaKeySessions.length)return;const s=this.media,m=this.mediaKeySessions.slice();this.mediaKeySessions=[],this.mediaKeys=null,$o.clearKeyUriToKeyIdMap();const E=m.length;De.CDMCleanupPromise=Promise.all(m.map(C=>this.removeSession(C)).concat((s==null||(t=s.setMediaKeys(null))==null?void 0:t.catch(C=>{this.log(`Could not clear media keys: ${C}`),this.hls&&this.hls.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: ${C}`)})}))||Promise.resolve())).catch(C=>{this.log(`Could not close sessions and clear media keys: ${C}`),this.hls&&this.hls.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: ${C}`)})}).then(()=>{E&&this.log("finished closing key sessions and clearing media keys")})}onManifestLoading(){this._clear()}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,decryptdata:m}=t;if(n){this.log(`Remove licenses and keys and close session "${n.sessionId}" keyId: ${q((m==null?void 0:m.keyId)||[])}`),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 E=this.mediaKeySessions.indexOf(t);E>-1&&this.mediaKeySessions.splice(E,1);const{keyStatusTimeouts:C}=t;C&&Object.keys(C).forEach(G=>self.clearTimeout(C[G]));const{drmSystemOptions:j}=this.config;return(ll(j)?new Promise((G,ue)=>{self.setTimeout(()=>ue(new Error("MediaKeySession.remove() timeout")),8e3),n.remove().then(G).catch(ue)}):Promise.resolve()).catch(G=>{this.log(`Could not remove session: ${G}`),this.hls&&this.hls.trigger(o.ERROR,{type:c.OTHER_ERROR,details:f.KEY_SYSTEM_DESTROY_REMOVE_SESSION_ERROR,fatal:!1,error:new Error(`Could not remove session: ${G}`)})}).then(()=>n.close()).catch(G=>{this.log(`Could not close session: ${G}`),this.hls&&this.hls.trigger(o.ERROR,{type:c.OTHER_ERROR,details:f.KEY_SYSTEM_DESTROY_CLOSE_SESSION_ERROR,fatal:!1,error:new Error(`Could not close session: ${G}`)})})}return Promise.resolve()}}De.CDMCleanupPromise=void 0;function an(O){if(!O)throw new Error("Could not read keyId of undefined decryptdata");if(O.keyId===null)throw new Error("keyId is null");return q(O.keyId)}function Vn(O,t){if(O.keyId&&t.mediaKeysSession.keyStatuses.has(O.keyId))return t.mediaKeysSession.keyStatuses.get(O.keyId);if(O.matches(t.decryptdata))return t.keyStatus}class hn 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}}function Fi(O,t){const n=O==="output-restricted",s=n?f.KEY_SYSTEM_STATUS_OUTPUT_RESTRICTED:f.KEY_SYSTEM_STATUS_INTERNAL_ERROR;return new hn({type:c.KEY_SYSTEM_ERROR,details:s,fatal:!1,decryptdata:t},n?"HDCP level output restricted":`key status changed to "${O}"`)}class cs{constructor(t){this.hls=void 0,this.isVideoPlaybackQualityAvailable=!1,this.timer=void 0,this.media=null,this.lastTime=void 0,this.lastDroppedFrames=0,this.lastDecodedFrames=0,this.streamController=void 0,this.hls=t,this.registerListeners()}setStreamController(t){this.streamController=t}registerListeners(){this.hls.on(o.MEDIA_ATTACHING,this.onMediaAttaching,this),this.hls.on(o.MEDIA_DETACHING,this.onMediaDetaching,this)}unregisterListeners(){this.hls.off(o.MEDIA_ATTACHING,this.onMediaAttaching,this),this.hls.off(o.MEDIA_DETACHING,this.onMediaDetaching,this)}destroy(){this.timer&&clearInterval(this.timer),this.unregisterListeners(),this.isVideoPlaybackQualityAvailable=!1,this.media=null}onMediaAttaching(t,n){const s=this.hls.config;if(s.capLevelOnFPSDrop){const m=n.media instanceof self.HTMLVideoElement?n.media:null;this.media=m,m&&typeof m.getVideoPlaybackQuality=="function"&&(this.isVideoPlaybackQualityAvailable=!0),self.clearInterval(this.timer),this.timer=self.setInterval(this.checkFPSInterval.bind(this),s.fpsDroppedMonitoringPeriod)}}onMediaDetaching(){this.media=null}checkFPS(t,n,s){const m=performance.now();if(n){if(this.lastTime){const E=m-this.lastTime,C=s-this.lastDroppedFrames,j=n-this.lastDecodedFrames,X=1e3*C/E,G=this.hls;if(G.trigger(o.FPS_DROP,{currentDropped:C,currentDecoded:j,totalDroppedFrames:s}),X>0&&C>G.config.fpsDroppedMonitoringThreshold*j){let ue=G.currentLevel;G.logger.warn("drop FPS ratio greater than max allowed value for currentLevel: "+ue),ue>0&&(G.autoLevelCapping===-1||G.autoLevelCapping>=ue)&&(ue=ue-1,G.trigger(o.FPS_DROP_LEVEL_CAPPING,{level:ue,droppedLevel:G.currentLevel}),G.autoLevelCapping=ue,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 Ka(O,t){let n;try{n=new Event("addtrack")}catch(s){n=document.createEvent("Event"),n.initEvent("addtrack",!1,!1)}n.track=O,t.dispatchEvent(n)}function Ho(O,t){const n=O.mode;if(n==="disabled"&&(O.mode="hidden"),O.cues&&!O.cues.getCueById(t.id))try{if(O.addCue(t),!O.cues.getCueById(t.id))throw new Error(`addCue is failed for: ${t}`)}catch(s){H.debug(`[texttrack-utils]: ${s}`);try{const m=new self.TextTrackCue(t.startTime,t.endTime,t.text);m.id=t.id,O.addCue(m)}catch(m){H.debug(`[texttrack-utils]: Legacy TextTrackCue fallback failed: ${m}`)}}n==="disabled"&&(O.mode=n)}function ns(O,t){const n=O.mode;if(n==="disabled"&&(O.mode="hidden"),O.cues)for(let s=O.cues.length;s--;)t&&O.cues[s].removeEventListener("enter",t),O.removeCue(O.cues[s]);n==="disabled"&&(O.mode=n)}function Ao(O,t,n,s){const m=O.mode;if(m==="disabled"&&(O.mode="hidden"),O.cues&&O.cues.length>0){const E=tf(O.cues,t,n);for(let C=0;C<E.length;C++)(!s||s(E[C]))&&O.removeCue(E[C])}m==="disabled"&&(O.mode=m)}function js(O,t){if(t<=O[0].startTime)return 0;const n=O.length-1;if(t>O[n].endTime)return-1;let s=0,m=n,E;for(;s<=m;)if(E=Math.floor((m+s)/2),t<O[E].startTime)m=E-1;else if(t>O[E].startTime&&s<n)s=E+1;else return E;return O[s].startTime-t<t-O[m].startTime?s:m}function tf(O,t,n){const s=[],m=js(O,t);if(m>-1)for(let E=m,C=O.length;E<C;E++){const j=O[E];if(j.startTime>=t&&j.endTime<=n)s.push(j);else if(j.startTime>n)return s}return s}function ql(O){const t=[];for(let n=0;n<O.length;n++){const s=O[n];(s.kind==="subtitles"||s.kind==="captions")&&s.label&&t.push(O[n])}return t}class Fc extends Eo{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=ql(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;ql(s.textTracks).forEach(C=>{ns(C)})}onManifestLoading(){this.tracks=[],this.groupIds=null,this.tracksInGroup=[],this.trackId=-1,this.currentTrack=null,this.selectDefaultTrack=!0}onManifestParsed(t,n){this.tracks=n.subtitleTracks}onSubtitleTrackLoaded(t,n){const{id:s,groupId:m,details:E}=n,C=this.tracksInGroup[s];if(!C||C.groupId!==m){this.warn(`Subtitle track with id:${s} and group:${m} not found in active group ${C==null?void 0:C.groupId}`);return}const j=C.details;C.details=n.details,this.log(`Subtitle track ${s} "${C.name}" lang:${C.lang} group:${m} loaded [${E.startSN}-${E.endSN}]`),s===this.trackId&&this.playlistLoaded(s,n,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(C=>(m==null?void 0:m.indexOf(C))===-1)){this.groupIds=s,this.trackId=-1,this.currentTrack=null;const C=this.tracks.filter(ue=>!s||s.indexOf(ue.groupId)!==-1);if(C.length)this.selectDefaultTrack&&!C.some(ue=>ue.default)&&(this.selectDefaultTrack=!1),C.forEach((ue,de)=>{ue.id=de});else if(!E&&!this.tracksInGroup.length)return;this.tracksInGroup=C;const j=this.hls.config.subtitlePreference;if(!E&&j){this.selectDefaultTrack=!1;const ue=Hi(j,C);if(ue>-1)E=C[ue];else{const de=Hi(j,this.tracks);E=this.tracks[de]}}let X=this.findTrackId(E);X===-1&&E&&(X=this.findTrackId(null));const G={subtitleTracks:C};this.log(`Updating subtitle tracks, ${C.length} track(s) found in "${s==null?void 0:s.join(",")}" group-id`),this.hls.trigger(o.SUBTITLE_TRACKS_UPDATED,G),X!==-1&&this.trackId===-1&&this.setSubtitleTrack(X)}}findTrackId(t){const n=this.tracksInGroup,s=this.selectDefaultTrack;for(let m=0;m<n.length;m++){const E=n[m];if(!(s&&!E.default||!s&&!t)&&(!t||hi(E,t)))return m}if(t){for(let m=0;m<n.length;m++){const E=n[m];if(Gl(t.attrs,E.attrs,["LANGUAGE","ASSOC-LANGUAGE","CHARACTERISTICS"]))return m}for(let m=0;m<n.length;m++){const E=n[m];if(Gl(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(uc(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&&hi(t,s))return s;const m=Hi(t,this.tracksInGroup);if(m>-1){const E=this.tracksInGroup[m];return this.setSubtitleTrack(m),E}else{if(s)return null;{const E=Hi(t,n);if(E>-1)return n[E]}}}}return null}loadPlaylist(t){super.loadPlaylist(),this.shouldLoadPlaylist(this.currentTrack)&&this.scheduleLoading(this.currentTrack,t)}loadingPlaylist(t,n){super.loadingPlaylist(t,n);const s=t.id,m=t.groupId,E=this.getUrlWithDirectives(t.url,n),C=t.details,j=C==null?void 0:C.age;this.log(`Loading subtitle ${s} "${t.name}" lang:${t.lang} group:${m}${(n==null?void 0:n.msn)!==void 0?" at sn "+n.msn+" part "+n.part:""}${j&&C.live?" age "+j.toFixed(1)+(C.type?" "+C.type||0:""):""} ${E}`),this.hls.trigger(o.SUBTITLE_TRACK_LOADING,{url:E,id:s,groupId:m,deliveryDirectives:n||null,track:t})}toggleTrackModes(){const{media:t}=this;if(!t)return;const n=ql(t.textTracks),s=this.currentTrack;let m;if(s&&(m=n.filter(E=>uc(s,E))[0],m||this.warn(`Unable to find subtitle TextTrack with name "${s.name}" and language "${s.lang}"`)),[].slice.call(n).forEach(E=>{E.mode!=="disabled"&&E!==m&&(E.mode="disabled")}),m){const E=this.subtitleDisplay?"showing":"hidden";m.mode!==E&&(m.mode=E)}}setSubtitleTrack(t){const n=this.tracksInGroup;if(!this.media){this.queuedDefaultTrack=t;return}if(t<-1||t>=n.length||!r(t)){this.warn(`Invalid subtitle track id: ${t}`);return}this.selectDefaultTrack=!1;const s=this.currentTrack,m=n[t]||null;if(this.trackId=t,this.currentTrack=m,this.toggleTrackModes(),!m){this.hls.trigger(o.SUBTITLE_TRACK_SWITCH,{id:t});return}const E=!!m.details&&!m.details.live;if(t===this.trackId&&m===s&&E)return;this.log(`Switching to subtitle-track ${t}`+(m?` "${m.name}" lang:${m.lang} group:${m.groupId}`:""));const{id:C,groupId:j="",name:X,type:G,url:ue}=m;this.hls.trigger(o.SUBTITLE_TRACK_SWITCH,{id:C,groupId:j,name:X,type:G,url:ue});const de=this.switchParams(m.url,s==null?void 0:s.details,m.details);this.loadPlaylist(de)}}function rf(){try{return crypto.randomUUID()}catch(O){try{const t=URL.createObjectURL(new Blob),n=t.toString();return URL.revokeObjectURL(t),n.slice(n.lastIndexOf("/")+1)}catch(t){let n=new Date().getTime();return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,m=>{const E=(n+Math.random()*16)%16|0;return n=Math.floor(n/16),(m=="x"?E:E&3|8).toString(16)})}}}function Vu(O){let t=5381,n=O.length;for(;n;)t=t*33^O.charCodeAt(--n);return(t>>>0).toString()}const Si=.025;let Sl=function(O){return O[O.Point=0]="Point",O[O.Range=1]="Range",O}({});function Bc(O,t,n){return`${O.identifier}-${n+1}-${Vu(t)}`}class nu{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 co(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=co(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 co(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)<Si))}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"?Sl.Range:Sl.Point}get supplementsPrimary(){return this.dateRange.attr["X-TIMELINE-STYLE"]==="PRIMARY"}get contentMayVary(){return this.dateRange.attr["X-CONTENT-MAY-VARY"]!=="NO"}get assetUrl(){return this.dateRange.attr["X-ASSET-URI"]}get assetListUrl(){return this.dateRange.attr["X-ASSET-LIST"]}get baseUrl(){return this.base.url}get assetListLoaded(){return this.assetList.length>0||this.assetListResponse!==null}toString(){return Jl(this)}}function co(O,t){return O-t.start<t.duration/2&&!(Math.abs(O-(t.start+t.duration))<Si)?t.start:t.start+t.duration}function vs(O,t,n){const s=new self.URL(O,n);return s.protocol!=="data:"&&s.searchParams.set("_HLS_primary_id",t),s}function vl(O,t){for(;(n=O.assetList[++t])!=null&&n.error;)var n;return t}function Jl(O){return`["${O.identifier}" ${O.cue.pre?"<pre>":O.cue.post?"<post>":""}${O.timelineStart.toFixed(2)}-${O.resumeTime.toFixed(2)}]`}function gl(O){const t=O.timelineStart,n=O.duration||0;return`["${O.identifier}" ${t.toFixed(2)}-${(t+n).toFixed(2)}]`}class Ll{constructor(t,n,s,m){this.hls=void 0,this.interstitial=void 0,this.assetItem=void 0,this.tracks=null,this.hasDetails=!1,this.mediaAttached=null,this._currentTime=void 0,this._bufferedEosTime=void 0,this.checkPlayout=()=>{this.reachedPlayout(this.currentTime)&&this.hls&&this.hls.trigger(o.PLAYOUT_LIMIT_REACHED,{})};const E=this.hls=new t(n);this.interstitial=s,this.assetItem=m;const C=()=>{this.hasDetails=!0};E.once(o.LEVEL_LOADED,C),E.once(o.AUDIO_TRACK_LOADED,C),E.once(o.SUBTITLE_TRACK_LOADED,C),E.on(o.MEDIA_ATTACHING,(j,{media:X})=>{this.removeMediaListeners(),this.mediaAttached=X,this.interstitial.playoutLimit&&(X.addEventListener("timeupdate",this.checkPlayout),this.appendInPlace&&E.on(o.BUFFER_APPENDED,()=>{const ue=this.bufferedEnd;this.reachedPlayout(ue)&&(this._bufferedEosTime=ue,E.trigger(o.BUFFERED_TO_END,void 0))}))})}get appendInPlace(){return this.interstitial.appendInPlace}loadSource(){const t=this.hls;if(t)if(t.url)t.levels.length&&!t.started&&t.startLoad(-1,!0);else{let n=this.assetItem.uri;try{n=vs(n,t.config.primarySessionId||"").href}catch(s){}t.loadSource(n)}}bufferedInPlaceToEnd(t){var n;if(!this.appendInPlace)return!1;if((n=this.hls)!=null&&n.bufferedToEnd)return!0;if(!t)return!1;const s=Math.min(this._bufferedEosTime||1/0,this.duration),m=this.timelineOffset,E=ci.bufferInfo(t,m,0);return this.getAssetTime(E.end)>=s-.02}reachedPlayout(t){const s=this.interstitial.playoutLimit;return this.startOffset+t>=s}get destroyed(){var t;return!((t=this.hls)!=null&&t.userConfig)}get assetId(){return this.assetItem.identifier}get interstitialId(){return this.assetItem.parentIdentifier}get media(){var t;return((t=this.hls)==null?void 0:t.media)||null}get bufferedEnd(){const t=this.media||this.mediaAttached;if(!t)return this._bufferedEosTime?this._bufferedEosTime:this.currentTime;const n=ci.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;if(!t)return 0;const n=this.interstitial.playoutLimit;if(n){const s=n-this.startOffset;if(s>0&&s<t)return s}return t}get remaining(){const t=this.duration;return t?Math.max(0,t-this.currentTime):0}get startOffset(){return this.assetItem.startOffset}get timelineOffset(){var t;return((t=this.hls)==null?void 0:t.config.timelineOffset)||0}set timelineOffset(t){const n=this.timelineOffset;if(t!==n){const s=t-n;if(Math.abs(s)>11111111111111112e-21&&this.hls){if(this.hasDetails)throw new Error("Cannot set timelineOffset after playlists are loaded");this.hls.config.timelineOffset=t}}}getAssetTime(t){const n=this.timelineOffset,s=this.duration;return Math.min(Math.max(0,t-n),s)}removeMediaListeners(){const t=this.mediaAttached;t&&(this._currentTime=t.currentTime,this.bufferSnapShot(),t.removeEventListener("timeupdate",this.checkPlayout))}bufferSnapShot(){if(this.mediaAttached){var t;(t=this.hls)!=null&&t.bufferedToEnd&&(this._bufferedEosTime=this.bufferedEnd)}}destroy(){this.removeMediaListeners(),this.hls&&this.hls.destroy(),this.hls=null,this.tracks=this.mediaAttached=this.checkPlayout=null}attachMedia(t){var n;this.loadSource(),(n=this.hls)==null||n.attachMedia(t)}detachMedia(){var t;this.removeMediaListeners(),this.mediaAttached=null,(t=this.hls)==null||t.detachMedia()}resumeBuffering(){var t;(t=this.hls)==null||t.resumeBuffering()}pauseBuffering(){var t;(t=this.hls)==null||t.pauseBuffering()}transferMedia(){var t;return this.bufferSnapShot(),((t=this.hls)==null?void 0:t.transferMedia())||null}resetDetails(){const t=this.hls;if(t&&this.hasDetails){t.stopLoad();const n=s=>delete s.details;t.levels.forEach(n),t.allAudioTracks.forEach(n),t.allSubtitleTracks.forEach(n),this.hasDetails=!1}}on(t,n,s){var m;(m=this.hls)==null||m.on(t,n)}once(t,n,s){var m;(m=this.hls)==null||m.once(t,n)}off(t,n,s){var m;(m=this.hls)==null||m.off(t,n)}toString(){var t;return`HlsAssetPlayer: ${gl(this.assetItem)} ${(t=this.hls)==null?void 0:t.sessionId} ${this.appendInPlace?"append-in-place":""}`}}const Al=.033;class Ef 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 C=s[E];if(!C.error){const j=C.timelineStart;if(n===j||n>j&&(n<j+(C.duration||0)||E===m-1))return E}}return 0}get assetIdAtEnd(){var t;const n=(t=this.items)==null||(t=t[this.length-1])==null?void 0:t.event;if(n){const s=n.assetList,m=s[s.length-1];if(m)return m.identifier}return null}parseInterstitialDateRanges(t,n){const s=t.main.details,{dateRanges:m}=s,E=this.events,C=this.parseDateRanges(m,{url:s.url},n),j=Object.keys(m),X=E?E.filter(G=>!j.includes(G.identifier)):[];C.length&&C.sort((G,ue)=>{const de=G.cue.pre,Ee=G.cue.post,Re=ue.cue.pre,Le=ue.cue.post;if(de&&!Re)return-1;if(Re&&!de||Ee&&!Le)return 1;if(Le&&!Ee)return-1;if(!de&&!Re&&!Ee&&!Le){const ut=G.startTime,ot=ue.startTime;if(ut!==ot)return ut-ot}return G.dateRange.tagOrder-ue.dateRange.tagOrder}),this.events=C,X.forEach(G=>{this.removeEvent(G)}),this.updateSchedule(t,X)}updateSchedule(t,n=[],s=!1){const m=this.events||[];if(m.length||n.length||this.length<2){const E=this.items,C=this.parseSchedule(m,t);(s||n.length||(E==null?void 0:E.length)!==C.length||C.some((X,G)=>Math.abs(X.playout.start-E[G].playout.start)>.005||Math.abs(X.playout.end-E[G].playout.end)>.005))&&(this.items=C,this.onScheduleUpdate(n,E))}}parseDateRanges(t,n,s){const m=[],E=Object.keys(t);for(let C=0;C<E.length;C++){const j=E[C],X=t[j];if(X.isInterstitial){let G=this.eventMap[j];G?G.setDateRange(X):(G=new nu(X,n),this.eventMap[j]=G,s===!1&&(G.appendInPlace=s)),m.push(G)}}return m}parseSchedule(t,n){const s=[],m=n.main.details,E=m.live?1/0:m.edge;let C=0;if(t=t.filter(X=>!X.error&&!(X.cue.once&&X.hasPlayed)),t.length){this.resolveOffsets(t,n);let X=0,G=0;if(t.forEach((ue,de)=>{const Ee=ue.cue.pre,Re=ue.cue.post,Le=t[de-1]||null,ut=ue.appendInPlace,ot=Re?E:ue.startOffset,Kt=ue.duration,er=ue.timelineOccupancy===Sl.Range?Kt:0,ir=ue.resumptionOffset,Er=(Le==null?void 0:Le.startTime)===ot,jr=ot+ue.cumulativeDuration;let pn=ut?jr+Kt:ot+ir;if(Ee||!Re&&ot<=0){const sn=G;G+=er,ue.timelineStart=jr;const nn=C;C+=Kt,s.push({event:ue,start:jr,end:pn,playout:{start:nn,end:C},integrated:{start:sn,end:G}})}else if(ot<=E){if(!Er){const Vr=ot-X;if(Vr>Al){const In=X,Ei=G;G+=Vr;const Ji=C;C+=Vr;const va={previousEvent:t[de-1]||null,nextEvent:ue,start:In,end:In+Vr,playout:{start:Ji,end:C},integrated:{start:Ei,end:G}};s.push(va)}else Vr>0&&Le&&(Le.cumulativeDuration+=Vr,s[s.length-1].end=ot)}Re&&(pn=jr),ue.timelineStart=jr;const sn=G;G+=er;const nn=C;C+=Kt,s.push({event:ue,start:jr,end:pn,playout:{start:nn,end:C},integrated:{start:sn,end:G}})}else return;const Ur=ue.resumeTime;Re||Ur>E?X=E:X=Ur}),X<E){var j;const ue=X,de=G,Ee=E-X;G+=Ee;const Re=C;C+=Ee,s.push({previousEvent:((j=s[s.length-1])==null?void 0:j.event)||null,nextEvent:null,start:X,end:ue+Ee,playout:{start:Re,end:C},integrated:{start:de,end:G}})}this.setDurations(E,C,G)}else s.push({previousEvent:null,nextEvent:null,start:0,end:E,playout:{start:0,end:E},integrated:{start:0,end:E}}),this.setDurations(E,E,E);return s}setDurations(t,n,s){this.durations={primary:t,playout:n,integrated:s}}resolveOffsets(t,n){const s=n.main.details,m=s.live?1/0:s.edge;let E=0,C=-1;t.forEach((j,X)=>{const G=j.cue.pre,ue=j.cue.post,de=G?0:ue?m:j.startTime;this.updateAssetDurations(j),C===de?j.cumulativeDuration=E:(E=0,C=de),!ue&&j.snapOptions.in&&(j.resumeAnchor=lr(null,s.fragments,j.startOffset+j.resumptionOffset,0,0)||void 0),j.appendInPlace&&!j.appendInPlaceStarted&&(this.primaryCanResumeInPlaceAt(j,n)||(j.appendInPlace=!1)),!j.appendInPlace&&X+1<t.length&&t[X+1].startTime-t[X].resumeTime<Al&&(t[X+1].appendInPlace=!1,t[X+1].appendInPlace&&this.warn(`Could not change append strategy for abutting event ${j}`));const Re=r(j.resumeOffset)?j.resumeOffset:j.duration;E+=Re})}primaryCanResumeInPlaceAt(t,n){const s=t.resumeTime,m=t.startTime+t.resumptionOffset;return Math.abs(s-m)>Si?(this.log(`"${t.identifier}" resumption ${s} not aligned with estimated timeline end ${m}`),!1):!Object.keys(n).some(C=>{const j=n[C].details,X=j.edge;if(s>=X)return this.log(`"${t.identifier}" resumption ${s} past ${C} playlist end ${X}`),!1;const G=lr(null,j.fragments,s);if(!G)return this.log(`"${t.identifier}" resumption ${s} does not align with any fragments in ${C} playlist (${j.fragStart}-${j.fragmentEnd})`),!0;const ue=C==="audio"?.175:0;return Math.abs(G.start-s)<Si+ue||Math.abs(G.end-s)<Si+ue?!1:(this.log(`"${t.identifier}" resumption ${s} not aligned with ${C} fragment bounds (${G.start}-${G.end} sn: ${G.sn} cc: ${G.cc})`),!0)})}updateAssetDurations(t){if(!t.assetListLoaded)return;const n=t.timelineStart;let s=0,m=!1,E=!1;for(let C=0;C<t.assetList.length;C++){const j=t.assetList[C],X=n+s;j.startOffset=s,j.timelineStart=X,m||(m=j.duration===null),E||(E=!!j.error);const G=j.error?0:j.duration||0;s+=G}m&&!E?t.duration=Math.max(s,t.duration):t.duration=s}removeEvent(t){t.reset(),delete this.eventMap[t.identifier]}}function ku(O){return`[${O.event?'"'+O.event.identifier+'"':"primary"}: ${O.start.toFixed(2)}-${O.end.toFixed(2)}]`}class Ml{constructor(t){this.hls=void 0,this.hls=t}destroy(){this.hls=null}loadAssetList(t,n){const s=t.assetListUrl;let m;try{m=vs(s,this.hls.sessionId,t.baseUrl)}catch(Ee){const Re=this.assignAssetListError(t,f.ASSET_LIST_LOAD_ERROR,Ee,s);this.hls.trigger(o.ERROR,Re);return}n&&m.protocol!=="data:"&&m.searchParams.set("_HLS_start_offset",""+n);const E=this.hls.config,C=E.loader,j=new C(E),X={responseType:"json",url:m.href},G=E.interstitialAssetListLoadPolicy.default,ue={loadPolicy:G,timeout:G.maxLoadTimeMs,maxRetry:0,retryDelay:0,maxRetryDelay:0},de={onSuccess:(Ee,Re,Le,ut)=>{const ot=Ee.data,Kt=ot==null?void 0:ot.ASSETS;if(!Array.isArray(Kt)){const er=this.assignAssetListError(t,f.ASSET_LIST_PARSING_ERROR,new Error("Invalid interstitial asset list"),Le.url,Re,ut);this.hls.trigger(o.ERROR,er);return}t.assetListResponse=ot,this.hls.trigger(o.ASSET_LIST_LOADED,{event:t,assetListResponse:ot,networkDetails:ut})},onError:(Ee,Re,Le,ut)=>{const ot=this.assignAssetListError(t,f.ASSET_LIST_LOAD_ERROR,new Error(`Error loading X-ASSET-LIST: HTTP status ${Ee.code} ${Ee.text} (${Re.url})`),Re.url,ut,Le);this.hls.trigger(o.ERROR,ot)},onTimeout:(Ee,Re,Le)=>{const ut=this.assignAssetListError(t,f.ASSET_LIST_LOAD_TIMEOUT,new Error(`Timeout loading X-ASSET-LIST (${Re.url})`),Re.url,Ee,Le);this.hls.trigger(o.ERROR,ut)}};return j.load(X,ue,de),this.hls.trigger(o.ASSET_LIST_LOADING,{event:t}),j}assignAssetListError(t,n,s,m,E,C){return t.error=s,{type:c.NETWORK_ERROR,details:n,fatal:!1,interstitial:t,url:m,error:s,networkDetails:C,stats:E}}}function nf(O){var t;O==null||(t=O.play())==null||t.catch(()=>{})}function Fl(O,t){return`[${O}] Advancing timeline position to ${t}`}class wf extends R{constructor(t,n){super("interstitials",t.logger),this.HlsPlayerClass=void 0,this.hls=void 0,this.assetListLoader=void 0,this.mediaSelection=null,this.altSelection=null,this.media=null,this.detachedData=null,this.requiredTracks=null,this.manager=null,this.playerQueue=[],this.bufferedPos=-1,this.timelinePos=-1,this.schedule=void 0,this.playingItem=null,this.bufferingItem=null,this.waitingItem=null,this.endedItem=null,this.playingAsset=null,this.endedAsset=null,this.bufferingAsset=null,this.shouldPlay=!1,this.onPlay=()=>{this.shouldPlay=!0},this.onPause=()=>{this.shouldPlay=!1},this.onSeeking=()=>{const s=this.currentTime;if(s===void 0||this.playbackDisabled||!this.schedule)return;const m=s-this.timelinePos;if(Math.abs(m)<1/7056e5)return;const C=m<=-.01;this.timelinePos=s,this.bufferedPos=s;const j=this.playingItem;if(!j){this.checkBuffer();return}if(C&&this.schedule.resetErrorsInRange(s,s-m)&&this.updateSchedule(!0),this.checkBuffer(),C&&s<j.start||s>=j.end){var X;const Re=this.findItemIndex(j);let Le=this.schedule.findItemIndexAtTime(s);if(Le===-1&&(Le=Re+(C?-1:1),this.log(`seeked ${C?"back ":""}to position not covered by schedule ${s} (resolving from ${Re} to ${Le})`)),!this.isInterstitial(j)&&(X=this.media)!=null&&X.paused&&(this.shouldPlay=!1),!C&&Le>Re){const ut=this.schedule.findJumpRestrictedIndex(Re+1,Le);if(ut>Re){this.setSchedulePosition(ut);return}}this.setSchedulePosition(Le);return}const G=this.playingAsset;if(!G){if(this.playingLastItem&&this.isInterstitial(j)){const Re=j.event.assetList[0];Re&&(this.endedItem=this.playingItem,this.playingItem=null,this.setScheduleToAssetAtTime(s,Re))}return}const ue=G.timelineStart,de=G.duration||0;if(C&&s<ue||s>=ue+de){var Ee;(Ee=j.event)!=null&&Ee.appendInPlace&&(this.clearInterstitial(j.event,j),this.flushFrontBuffer(s)),this.setScheduleToAssetAtTime(s,G)}},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 C=E.timelineStart+(E.duration||0);s>=C&&this.setScheduleToAssetAtTime(s,E)},this.onScheduleUpdate=(s,m)=>{const E=this.schedule;if(!E)return;const C=this.playingItem,j=E.events||[],X=E.items||[],G=E.durations,ue=s.map(ut=>ut.identifier),de=!!(j.length||ue.length);(de||m)&&this.log(`INTERSTITIALS_UPDATED (${j.length}): ${j}
Schedule: ${X.map(ut=>ku(ut))} pos: ${this.timelinePos}`),ue.length&&this.log(`Removed events ${ue}`);let Ee=null,Re=null;C&&(Ee=this.updateItem(C,this.timelinePos),this.itemsMatch(C,Ee)?this.playingItem=Ee:this.waitingItem=this.endedItem=null),this.waitingItem=this.updateItem(this.waitingItem),this.endedItem=this.updateItem(this.endedItem);const Le=this.bufferingItem;if(Le&&(Re=this.updateItem(Le,this.bufferedPos),this.itemsMatch(Le,Re)?this.bufferingItem=Re:Le.event&&(this.bufferingItem=this.playingItem,this.clearInterstitial(Le.event,null))),s.forEach(ut=>{ut.assetList.forEach(ot=>{this.clearAssetPlayer(ot.identifier,null)})}),this.playerQueue.forEach(ut=>{if(ut.interstitial.appendInPlace){const ot=ut.assetItem.timelineStart,Kt=ut.timelineOffset-ot;if(Kt)try{ut.timelineOffset=ot}catch(er){Math.abs(Kt)>Si&&this.warn(`${er} ("${ut.assetId}" ${ut.timelineOffset}->${ot})`)}}}),de||m){if(this.hls.trigger(o.INTERSTITIALS_UPDATED,{events:j.slice(0),schedule:X.slice(0),durations:G,removedIds:ue}),this.isInterstitial(C)&&ue.includes(C.event.identifier)){this.warn(`Interstitial "${C.event.identifier}" removed while playing`),this.primaryFallback(C.event);return}C&&this.trimInPlace(Ee,C),Le&&Re!==Ee&&this.trimInPlace(Re,Le),this.checkBuffer()}},this.hls=t,this.HlsPlayerClass=n,this.assetListLoader=new Ml(t),this.schedule=new Ef(this.onScheduleUpdate,t.logger),this.registerListeners()}registerListeners(){const t=this.hls;t&&(t.on(o.MEDIA_ATTACHING,this.onMediaAttaching,this),t.on(o.MEDIA_ATTACHED,this.onMediaAttached,this),t.on(o.MEDIA_DETACHING,this.onMediaDetaching,this),t.on(o.MANIFEST_LOADING,this.onManifestLoading,this),t.on(o.LEVEL_UPDATED,this.onLevelUpdated,this),t.on(o.AUDIO_TRACK_SWITCHING,this.onAudioTrackSwitching,this),t.on(o.AUDIO_TRACK_UPDATED,this.onAudioTrackUpdated,this),t.on(o.SUBTITLE_TRACK_SWITCH,this.onSubtitleTrackSwitch,this),t.on(o.SUBTITLE_TRACK_UPDATED,this.onSubtitleTrackUpdated,this),t.on(o.EVENT_CUE_ENTER,this.onInterstitialCueEnter,this),t.on(o.ASSET_LIST_LOADED,this.onAssetListLoaded,this),t.on(o.BUFFER_APPENDED,this.onBufferAppended,this),t.on(o.BUFFER_FLUSHED,this.onBufferFlushed,this),t.on(o.BUFFERED_TO_END,this.onBufferedToEnd,this),t.on(o.MEDIA_ENDED,this.onMediaEnded,this),t.on(o.ERROR,this.onError,this),t.on(o.DESTROYING,this.onDestroying,this))}unregisterListeners(){const t=this.hls;t&&(t.off(o.MEDIA_ATTACHING,this.onMediaAttaching,this),t.off(o.MEDIA_ATTACHED,this.onMediaAttached,this),t.off(o.MEDIA_DETACHING,this.onMediaDetaching,this),t.off(o.MANIFEST_LOADING,this.onManifestLoading,this),t.off(o.LEVEL_UPDATED,this.onLevelUpdated,this),t.off(o.AUDIO_TRACK_SWITCHING,this.onAudioTrackSwitching,this),t.off(o.AUDIO_TRACK_UPDATED,this.onAudioTrackUpdated,this),t.off(o.SUBTITLE_TRACK_SWITCH,this.onSubtitleTrackSwitch,this),t.off(o.SUBTITLE_TRACK_UPDATED,this.onSubtitleTrackUpdated,this),t.off(o.EVENT_CUE_ENTER,this.onInterstitialCueEnter,this),t.off(o.ASSET_LIST_LOADED,this.onAssetListLoaded,this),t.off(o.BUFFER_CODECS,this.onBufferCodecs,this),t.off(o.BUFFER_APPENDED,this.onBufferAppended,this),t.off(o.BUFFER_FLUSHED,this.onBufferFlushed,this),t.off(o.BUFFERED_TO_END,this.onBufferedToEnd,this),t.off(o.MEDIA_ENDED,this.onMediaEnded,this),t.off(o.ERROR,this.onError,this),t.off(o.DESTROYING,this.onDestroying,this))}startLoad(){this.resumeBuffering()}stopLoad(){this.pauseBuffering()}resumeBuffering(){var t;(t=this.getBufferingPlayer())==null||t.resumeBuffering()}pauseBuffering(){var t;(t=this.getBufferingPlayer())==null||t.pauseBuffering()}destroy(){this.unregisterListeners(),this.stopLoad(),this.assetListLoader&&this.assetListLoader.destroy(),this.emptyPlayerQueue(),this.clearScheduleState(),this.schedule&&this.schedule.destroy(),this.media=this.detachedData=this.mediaSelection=this.requiredTracks=this.altSelection=this.schedule=this.manager=null,this.hls=this.HlsPlayerClass=this.log=null,this.assetListLoader=null,this.onPlay=this.onPause=this.onSeeking=this.onTimeupdate=null,this.onScheduleUpdate=null}onDestroying(){const t=this.primaryMedia||this.media;t&&this.removeMediaListeners(t)}removeMediaListeners(t){rs(t,"play",this.onPlay),rs(t,"pause",this.onPause),rs(t,"seeking",this.onSeeking),rs(t,"timeupdate",this.onTimeupdate)}onMediaAttaching(t,n){const s=this.media=n.media;$a(s,"seeking",this.onSeeking),$a(s,"timeupdate",this.onTimeupdate),$a(s,"play",this.onPlay),$a(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.log("clear schedule state"),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.log(`Removing schedule state for detachedData and ${E}`),this.playingAsset=this.endedAsset=this.bufferingAsset=this.bufferingItem=this.waitingItem=this.detachedData=null,E.detachMedia()),this.shouldPlay=!1}}get interstitialsManager(){if(!this.hls)return null;if(this.manager)return this.manager;const t=this,n=()=>t.bufferingItem||t.waitingItem,s=de=>de&&t.getAssetPlayer(de.identifier),m=(de,Ee,Re,Le,ut)=>{if(de){let ot=de[Ee].start;const Kt=de.event;if(Kt){if(Ee==="playout"||Kt.timelineOccupancy!==Sl.Point){const er=s(Re);(er==null?void 0:er.interstitial)===Kt&&(ot+=er.assetItem.startOffset+er[ut])}}else{const er=Le==="bufferedPos"?C():t[Le];ot+=er-de.start}return ot}return 0},E=(de,Ee)=>{var Re;if(de!==0&&Ee!=="primary"&&(Re=t.schedule)!=null&&Re.length){var Le;const ut=t.schedule.findItemIndexAtTime(de),ot=(Le=t.schedule.items)==null?void 0:Le[ut];if(ot){const Kt=ot[Ee].start-ot.start;return de+Kt}}return de},C=()=>{const de=t.bufferedPos;return de===Number.MAX_VALUE?j("primary"):Math.max(de,0)},j=de=>{var Ee,Re;return(Ee=t.primaryDetails)!=null&&Ee.live?t.primaryDetails.edge:((Re=t.schedule)==null?void 0:Re.durations[de])||0},X=(de,Ee)=>{var Re,Le;const ut=t.effectivePlayingItem;if(ut!=null&&(Re=ut.event)!=null&&Re.restrictions.skip||!t.schedule)return;t.log(`seek to ${de} "${Ee}"`);const ot=t.effectivePlayingItem,Kt=t.schedule.findItemIndexAtTime(de,Ee),er=(Le=t.schedule.items)==null?void 0:Le[Kt],ir=t.getBufferingPlayer(),Er=ir==null?void 0:ir.interstitial,jr=Er==null?void 0:Er.appendInPlace,pn=ot&&t.itemsMatch(ot,er);if(ot&&(jr||pn)){const Ur=s(t.playingAsset),sn=(Ur==null?void 0:Ur.media)||t.primaryMedia;if(sn){const nn=Ee==="primary"?sn.currentTime:m(ot,Ee,t.playingAsset,"timelinePos","currentTime"),Vr=de-nn,In=(jr?nn:sn.currentTime)+Vr;if(In>=0&&(!Ur||jr||In<=Ur.duration)){sn.currentTime=In;return}}}if(er){let Ur=de;if(Ee!=="primary"){const nn=er[Ee].start,Vr=de-nn;Ur=er.start+Vr}const sn=!t.isInterstitial(er);if((!t.isInterstitial(ot)||ot.event.appendInPlace)&&(sn||er.event.appendInPlace)){const nn=t.media||(jr?ir==null?void 0:ir.media:null);nn&&(nn.currentTime=Ur)}else if(ot){const nn=t.findItemIndex(ot);if(Kt>nn){const In=t.schedule.findJumpRestrictedIndex(nn+1,Kt);if(In>nn){t.setSchedulePosition(In);return}}let Vr=0;if(sn)t.timelinePos=Ur,t.checkBuffer();else{const In=er.event.assetList,Ei=de-(er[Ee]||er).start;for(let Ji=In.length;Ji--;){const va=In[Ji];if(va.duration&&Ei>=va.startOffset&&Ei<va.startOffset+va.duration){Vr=Ji;break}}}t.setSchedulePosition(Kt,Vr)}}},G=()=>{const de=t.effectivePlayingItem;if(t.isInterstitial(de))return de;const Ee=n();return t.isInterstitial(Ee)?Ee:null},ue={get bufferedEnd(){const de=n(),Ee=t.bufferingItem;if(Ee&&Ee===de){var Re;return m(Ee,"playout",t.bufferingAsset,"bufferedPos","bufferedEnd")-Ee.playout.start||((Re=t.bufferingAsset)==null?void 0:Re.startOffset)||0}return 0},get currentTime(){const de=G(),Ee=t.effectivePlayingItem;return Ee&&Ee===de?m(Ee,"playout",t.effectivePlayingAsset,"timelinePos","currentTime")-Ee.playout.start:0},set currentTime(de){const Ee=G(),Re=t.effectivePlayingItem;Re&&Re===Ee&&X(de+Re.playout.start,"playout")},get duration(){const de=G();return de?de.playout.end-de.playout.start:0},get assetPlayers(){var de;const Ee=(de=G())==null?void 0:de.event.assetList;return Ee?Ee.map(Re=>t.getAssetPlayer(Re.identifier)):[]},get playingIndex(){var de;const Ee=(de=G())==null?void 0:de.event;return Ee&&t.effectivePlayingAsset?Ee.findAssetIndex(t.effectivePlayingAsset):-1},get scheduleItem(){return G()}};return this.manager={get events(){var de;return((de=t.schedule)==null||(de=de.events)==null?void 0:de.slice(0))||[]},get schedule(){var de;return((de=t.schedule)==null||(de=de.items)==null?void 0:de.slice(0))||[]},get interstitialPlayer(){return G()?ue:null},get playerQueue(){return t.playerQueue.slice(0)},get bufferingAsset(){return t.bufferingAsset},get bufferingItem(){return n()},get bufferingIndex(){const de=n();return t.findItemIndex(de)},get playingAsset(){return t.effectivePlayingAsset},get playingItem(){return t.effectivePlayingItem},get playingIndex(){const de=t.effectivePlayingItem;return t.findItemIndex(de)},primary:{get bufferedEnd(){return C()},get currentTime(){const de=t.timelinePos;return de>0?de:0},set currentTime(de){X(de,"primary")},get duration(){return j("primary")},get seekableStart(){var de;return((de=t.primaryDetails)==null?void 0:de.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(de){X(de,"integrated")},get duration(){return j("integrated")},get seekableStart(){var de;return E(((de=t.primaryDetails)==null?void 0:de.fragmentStart)||0,"integrated")}},skip:()=>{const de=t.effectivePlayingItem,Ee=de==null?void 0:de.event;if(Ee&&!Ee.restrictions.skip){const Re=t.findItemIndex(de);if(Ee.appendInPlace){const Le=de.playout.start+de.event.duration;X(Le+.001,"playout")}else t.advanceAfterAssetEnded(Ee,Re,1/0)}}}}get effectivePlayingItem(){return this.waitingItem||this.playingItem||this.endedItem}get effectivePlayingAsset(){return this.playingAsset||this.endedAsset}get playingLastItem(){var t;const n=this.playingItem,s=(t=this.schedule)==null?void 0:t.items;return!this.playbackStarted||!n||!s?!1:this.findItemIndex(n)===s.length-1}get playbackStarted(){return this.effectivePlayingItem!==null}get currentTime(){var t,n;if(this.mediaSelection===null)return;const s=this.waitingItem||this.playingItem;if(this.isInterstitial(s)&&!s.event.appendInPlace)return;let m=this.media;!m&&(t=this.bufferingItem)!=null&&(t=t.event)!=null&&t.appendInPlace&&(m=this.primaryMedia);const E=(n=m)==null?void 0:n.currentTime;if(!(E===void 0||!r(E)))return E}get primaryMedia(){var t;return this.media||((t=this.detachedData)==null?void 0:t.media)||null}isInterstitial(t){return!!(t!=null&&t.event)}retreiveMediaSource(t,n){const s=this.getAssetPlayer(t);s&&this.transferMediaFromPlayer(s,n)}transferMediaFromPlayer(t,n){const s=t.interstitial.appendInPlace,m=t.media;if(s&&m===this.primaryMedia){if(this.bufferingAsset=null,(!n||this.isInterstitial(n)&&!n.event.appendInPlace)&&n&&m){this.detachedData={media:m};return}const E=t.transferMedia();this.log(`transfer MediaSource from ${t} ${zi(E)}`),this.detachedData=E}else n&&m&&(this.shouldPlay||(this.shouldPlay=!m.paused))}transferMediaTo(t,n){var s,m;if(t.media===n)return;let E=null;const C=this.hls,j=t!==C,X=j&&t.interstitial.appendInPlace,G=(s=this.detachedData)==null?void 0:s.mediaSource;let ue;if(C.media)X&&(E=C.transferMedia(),this.detachedData=E),ue="Primary";else if(G){const Le=this.getBufferingPlayer();Le?(E=Le.transferMedia(),ue=`${Le}`):ue="detached MediaSource"}else ue="detached media";if(!E){if(G)E=this.detachedData,this.log(`using detachedData: MediaSource ${zi(E)}`);else if(!this.detachedData||C.media===n){const Le=this.playerQueue;Le.length>1&&Le.forEach(ut=>{if(j&&ut.interstitial.appendInPlace!==X){const ot=ut.interstitial;this.clearInterstitial(ut.interstitial,null),ot.appendInPlace=!1,ot.appendInPlace&&this.warn(`Could not change append strategy for queued assets ${ot}`)}}),this.hls.detachMedia(),this.detachedData={media:n}}}const de=E&&"mediaSource"in E&&((m=E.mediaSource)==null?void 0:m.readyState)!=="closed",Ee=de&&E?E:n;this.log(`${de?"transfering MediaSource":"attaching media"} to ${j?t:"Primary"} from ${ue} (media.currentTime: ${n.currentTime})`);const Re=this.schedule;if(Ee===E&&Re){const Le=j&&t.assetId===Re.assetIdAtEnd;Ee.overrides={duration:Re.duration,endOfStream:!j||Le,cueRemoval:!j}}t.attachMedia(Ee)}onInterstitialCueEnter(){this.onTimeupdate()}checkStart(){const t=this.schedule,n=t==null?void 0:t.events;if(!n||this.playbackDisabled||!this.media)return;this.bufferedPos===-1&&(this.bufferedPos=0);const s=this.timelinePos,m=this.effectivePlayingItem;if(s===-1){const E=this.hls.startPosition;if(this.log(Fl("checkStart",E)),this.timelinePos=E,n.length&&n[0].cue.pre){const C=t.findEventIndex(n[0].identifier);this.setSchedulePosition(C)}else if(E>=0||!this.primaryLive){const C=this.timelinePos=E>0?E:0,j=t.findItemIndexAtTime(C);this.setSchedulePosition(j)}}else if(m&&!this.playingItem){const E=t.findItemIndex(m);this.setSchedulePosition(E)}}advanceAssetBuffering(t,n){const s=t.event,m=s.findAssetIndex(n),E=vl(s,m);if(!s.isAssetPastPlayoutLimit(E))this.bufferedToEvent(t,E);else if(this.schedule){var C;const j=(C=this.schedule.items)==null?void 0:C[this.findItemIndex(t)+1];j&&this.bufferedToItem(j)}}advanceAfterAssetEnded(t,n,s){const m=vl(t,s);if(t.isAssetPastPlayoutLimit(m)){if(this.schedule){const E=this.schedule.items;if(E){const C=n+1,j=E.length;if(C>=j){this.setSchedulePosition(-1);return}const X=t.resumeTime;this.timelinePos<X&&(this.log(Fl("advanceAfterAssetEnded",X)),this.timelinePos=X,t.appendInPlace&&this.advanceInPlace(X),this.checkBuffer(this.bufferedPos<X)),this.setSchedulePosition(C)}}}else{if(t.appendInPlace){const E=t.assetList[m];E&&this.advanceInPlace(E.timelineStart)}this.setSchedulePosition(n,m)}}setScheduleToAssetAtTime(t,n){const s=this.schedule;if(!s)return;const m=n.parentIdentifier,E=s.getEvent(m);if(E){const C=s.findEventIndex(m),j=s.findAssetIndex(E,t);this.advanceAfterAssetEnded(E,C,j-1)}}setSchedulePosition(t,n){var s;const m=(s=this.schedule)==null?void 0:s.items;if(!m||this.playbackDisabled)return;const E=t>=0?m[t]:null;this.log(`setSchedulePosition ${t}, ${n} (${E&&ku(E)}) pos: ${this.timelinePos}`);const C=this.waitingItem||this.playingItem,j=this.playingLastItem;if(this.isInterstitial(C)){const ue=C.event,de=this.playingAsset,Ee=de==null?void 0:de.identifier,Re=Ee?this.getAssetPlayer(Ee):null;if(Re&&Ee&&(!this.eventItemsMatch(C,E)||n!==void 0&&Ee!==ue.assetList[n].identifier)){var X;const Le=ue.findAssetIndex(de);if(this.log(`INTERSTITIAL_ASSET_ENDED ${Le+1}/${ue.assetList.length} ${gl(de)}`),this.endedAsset=de,this.playingAsset=null,this.hls.trigger(o.INTERSTITIAL_ASSET_ENDED,{asset:de,assetListIndex:Le,event:ue,schedule:m.slice(0),scheduleIndex:t,player:Re}),C!==this.playingItem){this.itemsMatch(C,this.playingItem)&&!this.playingAsset&&this.advanceAfterAssetEnded(ue,this.findItemIndex(this.playingItem),Le);return}this.retreiveMediaSource(Ee,E),Re.media&&!((X=this.detachedData)!=null&&X.mediaSource)&&Re.detachMedia()}if(!this.eventItemsMatch(C,E)&&(this.endedItem=C,this.playingItem=null,this.log(`INTERSTITIAL_ENDED ${ue} ${ku(C)}`),ue.hasPlayed=!0,this.hls.trigger(o.INTERSTITIAL_ENDED,{event:ue,schedule:m.slice(0),scheduleIndex:t}),ue.cue.once)){var G;this.updateSchedule();const Le=(G=this.schedule)==null?void 0:G.items;if(E&&Le){const ut=this.findItemIndex(E);this.advanceSchedule(ut,Le,n,C,j)}return}}this.advanceSchedule(t,m,n,C,j)}advanceSchedule(t,n,s,m,E){const C=this.schedule;if(!C)return;const j=n[t]||null,X=this.primaryMedia,G=this.playerQueue;if(G.length&&G.forEach(ue=>{const de=ue.interstitial,Ee=C.findEventIndex(de.identifier);(Ee<t||Ee>t+1)&&this.clearInterstitial(de,j)}),this.isInterstitial(j)){this.timelinePos=Math.min(Math.max(this.timelinePos,j.start),j.end);const ue=j.event;if(s===void 0){s=C.findAssetIndex(ue,this.timelinePos);const Le=vl(ue,s-1);if(ue.isAssetPastPlayoutLimit(Le)||ue.appendInPlace&&this.timelinePos===j.end){this.advanceAfterAssetEnded(ue,t,s);return}s=Le}const de=this.waitingItem;this.assetsBuffered(j,X)||this.setBufferingItem(j);let Ee=this.preloadAssets(ue,s);if(this.eventItemsMatch(j,de||m)||(this.waitingItem=j,this.log(`INTERSTITIAL_STARTED ${ku(j)} ${ue.appendInPlace?"append in place":""}`),this.hls.trigger(o.INTERSTITIAL_STARTED,{event:ue,schedule:n.slice(0),scheduleIndex:t})),!ue.assetListLoaded){this.log(`Waiting for ASSET-LIST to complete loading ${ue}`);return}if(ue.assetListLoader&&(ue.assetListLoader.destroy(),ue.assetListLoader=void 0),!X){this.log(`Waiting for attachMedia to start Interstitial ${ue}`);return}this.waitingItem=this.endedItem=null,this.playingItem=j;const Re=ue.assetList[s];if(!Re){this.advanceAfterAssetEnded(ue,t,s||0);return}if(Ee||(Ee=this.getAssetPlayer(Re.identifier)),Ee===null||Ee.destroyed){const Le=ue.assetList.length;this.warn(`asset ${s+1}/${Le} player destroyed ${ue}`),Ee=this.createAssetPlayer(ue,Re,s),Ee.loadSource()}if(!this.eventItemsMatch(j,this.bufferingItem)&&ue.appendInPlace&&this.isAssetBuffered(Re))return;this.startAssetPlayer(Ee,s,n,t,X),this.shouldPlay&&nf(Ee.media)}else j?(this.resumePrimary(j,t,m),this.shouldPlay&&nf(this.hls.media)):E&&this.isInterstitial(m)&&(this.endedItem=null,this.playingItem=m,m.event.appendInPlace||this.attachPrimary(C.durations.primary,null))}get playbackDisabled(){return this.hls.config.enableInterstitialPlayback===!1}get primaryDetails(){var t;return(t=this.mediaSelection)==null?void 0:t.main.details}get primaryLive(){var t;return!!((t=this.primaryDetails)!=null&&t.live)}resumePrimary(t,n,s){var m,E;if(this.playingItem=t,this.playingAsset=this.endedAsset=null,this.waitingItem=this.endedItem=null,this.bufferedToItem(t),this.log(`resuming ${ku(t)}`),!((m=this.detachedData)!=null&&m.mediaSource)){let j=this.timelinePos;(j<t.start||j>=t.end)&&(j=this.getPrimaryResumption(t,n),this.log(Fl("resumePrimary",j)),this.timelinePos=j),this.attachPrimary(j,t)}if(!s)return;const C=(E=this.schedule)==null?void 0:E.items;C&&(this.log(`INTERSTITIALS_PRIMARY_RESUMED ${ku(t)}`),this.hls.trigger(o.INTERSTITIALS_PRIMARY_RESUMED,{schedule:C.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:ci.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.log(Fl("attachPrimary",t)),this.timelinePos=t,this.startLoadingPrimaryAt(t,s))}startLoadingPrimaryAt(t,n){var s;const m=this.hls;!m.loadingEnabled||!m.media||Math.abs((((s=m.mainForwardBufferInfo)==null?void 0:s.start)||m.media.currentTime)-t)>.5?m.startLoad(t,n):m.bufferingEnabled||m.resumeBuffering()}onManifestLoading(){var t;this.stopLoad(),(t=this.schedule)==null||t.reset(),this.emptyPlayerQueue(),this.clearScheduleState(),this.shouldPlay=!1,this.bufferedPos=this.timelinePos=-1,this.mediaSelection=this.altSelection=this.manager=this.requiredTracks=null,this.hls.off(o.BUFFER_CODECS,this.onBufferCodecs,this),this.hls.on(o.BUFFER_CODECS,this.onBufferCodecs,this)}onLevelUpdated(t,n){if(n.level===-1||!this.schedule)return;const s=this.hls.levels[n.level];if(!s.details)return;const 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=Zi(n);this.playerQueue.forEach(({hls:m})=>m&&(m.setAudioOption(n)||m.setAudioOption(s)))}onSubtitleTrackSwitch(t,n){const s=Zi(n);this.playerQueue.forEach(({hls:m})=>m&&(m.setSubtitleOption(n)||n.id!==-1&&m.setSubtitleOption(s)))}onBufferCodecs(t,n){const s=n.tracks;s&&(this.requiredTracks=s)}onBufferAppended(t,n){this.checkBuffer()}onBufferFlushed(t,n){const s=this.playingItem;if(s&&!this.itemsMatch(s,this.bufferingItem)&&!this.isInterstitial(s)){const m=this.timelinePos;this.bufferedPos=m,this.checkBuffer()}}onBufferedToEnd(t){if(!this.schedule)return;const n=this.schedule.events;if(this.bufferedPos<Number.MAX_VALUE&&n){for(let m=0;m<n.length;m++){const E=n[m];if(E.cue.post){var s;const C=this.schedule.findEventIndex(E.identifier),j=(s=this.schedule.items)==null?void 0:s[C];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){var s;const m=(s=this.schedule)==null?void 0:s.items;if(t&&m){const E=this.findItemIndex(t,n);return m[E]||null}return null}trimInPlace(t,n){if(this.isInterstitial(t)&&t.event.appendInPlace&&n.end-t.end>.25){t.event.assetList.forEach((E,C)=>{t.event.isAssetPastPlayoutLimit(C)&&this.clearAssetPlayer(E.identifier,null)});const s=t.end+.25,m=ci.bufferInfo(this.primaryMedia,s,0);(m.end>s||(m.nextStart||0)>s)&&(this.log(`trim buffered interstitial ${ku(t)} (was ${ku(n)})`),this.attachPrimary(s,null,!0),this.flushFrontBuffer(s))}}itemsMatch(t,n){return!!n&&(t===n||t.event&&n.event&&this.eventItemsMatch(t,n)||!t.event&&!n.event&&this.findItemIndex(t)===this.findItemIndex(n))}eventItemsMatch(t,n){var s;return!!n&&(t===n||t.event.identifier===((s=n.event)==null?void 0:s.identifier))}findItemIndex(t,n){return t&&this.schedule?this.schedule.findItemIndex(t,n):-1}updateSchedule(t=!1){var n;const s=this.mediaSelection;s&&((n=this.schedule)==null||n.updateSchedule(s,[],t))}checkBuffer(t){var n;const s=(n=this.schedule)==null?void 0:n.items;if(!s)return;const m=ci.bufferInfo(this.primaryMedia,this.timelinePos,0);t&&(this.bufferedPos=this.timelinePos),t||(t=m.len<1),this.updateBufferedPos(m.end,s,t)}updateBufferedPos(t,n,s){const m=this.schedule,E=this.bufferingItem;if(this.bufferedPos>t||!m)return;if(n.length===1&&this.itemsMatch(n[0],E)){this.bufferedPos=t;return}const C=this.playingItem,j=this.findItemIndex(C);let X=m.findItemIndexAtTime(t);if(this.bufferedPos<t){var G;const ue=this.findItemIndex(E),de=Math.min(ue+1,n.length-1),Ee=n[de];if((X===-1&&E&&t>=E.end||(G=Ee.event)!=null&&G.appendInPlace&&t+.01>=Ee.start)&&(X=de),this.isInterstitial(E)){const Re=E.event;if(de-j>1&&Re.appendInPlace===!1||Re.assetList.length===0&&Re.assetListLoader)return}if(this.bufferedPos=t,X>ue&&X>j)this.bufferedToItem(Ee);else{const Re=this.primaryDetails;this.primaryLive&&Re&&t>Re.edge-Re.targetduration&&Ee.start<Re.edge+this.hls.config.interstitialLiveLookAhead&&this.isInterstitial(Ee)&&this.preloadAssets(Ee.event,0)}}else s&&C&&!this.itemsMatch(C,E)&&(X===j?this.bufferedToItem(C):X===j+1&&this.bufferedToItem(n[X]))}assetsBuffered(t,n){return t.event.assetList.length===0?!1:!t.event.assetList.some(m=>{const E=this.getAssetPlayer(m.identifier);return!(E!=null&&E.bufferedInPlaceToEnd(n))})}setBufferingItem(t){const n=this.bufferingItem,s=this.schedule;if(!this.itemsMatch(t,n)&&s){const{items:m,events:E}=s;if(!m||!E)return n;const C=this.isInterstitial(t),j=this.getBufferingPlayer();this.bufferingItem=t,this.bufferedPos=Math.max(t.start,Math.min(t.end,this.timelinePos));const X=j?j.remaining:n?n.end-this.timelinePos:0;if(this.log(`INTERSTITIALS_BUFFERED_TO_BOUNDARY ${ku(t)}`+(n?` (${X.toFixed(2)} remaining)`:"")),!this.playbackDisabled)if(C){const G=s.findAssetIndex(t.event,this.bufferedPos);t.event.assetList.forEach((ue,de)=>{const Ee=this.getAssetPlayer(ue.identifier);Ee&&(de===G&&Ee.loadSource(),Ee.resumeBuffering())})}else this.hls.resumeBuffering(),this.playerQueue.forEach(G=>G.pauseBuffering());this.hls.trigger(o.INTERSTITIALS_BUFFERED_TO_BOUNDARY,{events:E.slice(0),schedule:m.slice(0),bufferingIndex:this.findItemIndex(t),playingIndex:this.findItemIndex(this.playingItem)})}else this.bufferingItem!==t&&(this.bufferingItem=t);return n}bufferedToItem(t,n=0){const s=this.setBufferingItem(t);if(!this.playbackDisabled){if(this.isInterstitial(t))this.bufferedToEvent(t,n);else if(s!==null){this.bufferingAsset=null;const m=this.detachedData;m?m.mediaSource?this.attachPrimary(t.start,t,!0):this.preloadPrimary(t):this.preloadPrimary(t)}}}preloadPrimary(t){const n=this.findItemIndex(t),s=this.getPrimaryResumption(t,n);this.startLoadingPrimaryAt(s)}bufferedToEvent(t,n){const s=t.event,m=s.assetList.length===0&&!s.assetListLoader,E=s.cue.once;if(m||!E){const C=this.preloadAssets(s,n);if(C!=null&&C.interstitial.appendInPlace){const j=this.primaryMedia;j&&this.bufferAssetPlayer(C,j)}}}preloadAssets(t,n){const s=t.assetUrl,m=t.assetList.length,E=m===0&&!t.assetListLoader,C=t.cue.once;if(E){const X=t.timelineStart;if(t.appendInPlace){var j;const Ee=this.playingItem;!this.isInterstitial(Ee)&&(Ee==null||(j=Ee.nextEvent)==null?void 0:j.identifier)===t.identifier&&this.flushFrontBuffer(X+.25)}let G,ue=0;if(!this.playingItem&&this.primaryLive&&(ue=this.hls.startPosition,ue===-1&&(ue=this.hls.liveSyncPosition||0)),ue&&!(t.cue.pre||t.cue.post)){const Ee=ue-X;Ee>0&&(G=Math.round(Ee*1e3)/1e3)}if(this.log(`Load interstitial asset ${n+1}/${s?1:m} ${t}${G?` live-start: ${ue} start-offset: ${G}`:""}`),s)return this.createAsset(t,0,0,X,t.duration,s);const de=this.assetListLoader.loadAssetList(t,G);de&&(t.assetListLoader=de)}else if(!C&&m){for(let G=n;G<m;G++){const ue=t.assetList[G],de=this.getAssetPlayerQueueIndex(ue.identifier);(de===-1||this.playerQueue[de].destroyed)&&!ue.error&&this.createAssetPlayer(t,ue,G)}const X=t.assetList[n];if(X){const G=this.getAssetPlayer(X.identifier);return G&&G.loadSource(),G}}return null}flushFrontBuffer(t){const n=this.requiredTracks;if(!n)return;this.log(`Removing front buffer starting at ${t}`),Object.keys(n).forEach(m=>{this.hls.trigger(o.BUFFER_FLUSHING,{startOffset:t,endOffset:1/0,type:m})})}getAssetPlayerQueueIndex(t){const n=this.playerQueue;for(let s=0;s<n.length;s++)if(t===n[s].assetId)return s;return-1}getAssetPlayer(t){const n=this.getAssetPlayerQueueIndex(t);return this.playerQueue[n]||null}getBufferingPlayer(){const{playerQueue:t,primaryMedia:n}=this;if(n){for(let s=0;s<t.length;s++)if(t[s].media===n)return t[s]}return null}createAsset(t,n,s,m,E,C){const j={parentIdentifier:t.identifier,identifier:Bc(t,C,n),duration:E,startOffset:s,timelineStart:m,uri:C};return this.createAssetPlayer(t,j,n)}createAssetPlayer(t,n,s){const m=this.hls,E=m.userConfig;let C=E.videoPreference;const j=m.loadLevelObj||m.levels[m.currentLevel];(C||j)&&(C=y({},C),j.videoCodec&&(C.videoCodec=j.videoCodec),j.videoRange&&(C.allowedVideoRanges=[j.videoRange]));const X=m.audioTracks[m.audioTrack],G=m.subtitleTracks[m.subtitleTrack];let ue=0;if(this.primaryLive||t.appendInPlace){const Er=this.timelinePos-n.timelineStart;if(Er>1){const jr=n.duration;jr&&Er<jr&&(ue=Er)}}const de=n.identifier,Ee=b(b({},E),{},{maxMaxBufferLength:Math.min(180,m.config.maxMaxBufferLength),autoStartLoad:!0,startFragPrefetch:!0,primarySessionId:m.sessionId,assetPlayerId:de,abrEwmaDefaultEstimate:m.bandwidthEstimate,interstitialsController:void 0,startPosition:ue,liveDurationInfinity:!1,testBandwidth:!1,videoPreference:C,audioPreference:X||E.audioPreference,subtitlePreference:G||E.subtitlePreference});t.appendInPlace&&(t.appendInPlaceStarted=!0,n.timelineStart&&(Ee.timelineOffset=n.timelineStart));const Re=Ee.cmcd;Re!=null&&Re.sessionId&&Re.contentId&&(Ee.cmcd=y({},Re,{contentId:Vu(n.uri)})),this.getAssetPlayer(de)&&this.warn(`Duplicate date range identifier ${t} and asset ${de}`);const Le=new Ll(this.HlsPlayerClass,Ee,t,n);this.playerQueue.push(Le),t.assetList[s]=n;let ut=!0;const ot=Er=>{if(Er.live){var jr;const sn=new Error(`Interstitials MUST be VOD assets ${t}`),nn={fatal:!0,type:c.OTHER_ERROR,details:f.INTERSTITIAL_ASSET_ITEM_ERROR,error:sn},Vr=((jr=this.schedule)==null?void 0:jr.findEventIndex(t.identifier))||-1;this.handleAssetItemError(nn,t,Vr,s,sn.message);return}const pn=Er.edge-Er.fragmentStart,Ur=n.duration;(ut||Ur===null||pn>Ur)&&(ut=!1,this.log(`Interstitial asset "${de}" duration change ${Ur} > ${pn}`),n.duration=pn,this.updateSchedule())};Le.on(o.LEVEL_UPDATED,(Er,{details:jr})=>ot(jr)),Le.on(o.LEVEL_PTS_UPDATED,(Er,{details:jr})=>ot(jr)),Le.on(o.EVENT_CUE_ENTER,()=>this.onInterstitialCueEnter());const Kt=(Er,jr)=>{const pn=this.getAssetPlayer(de);if(pn&&jr.tracks){pn.off(o.BUFFER_CODECS,Kt),pn.tracks=jr.tracks;const Ur=this.primaryMedia;this.bufferingAsset===pn.assetItem&&Ur&&!pn.media&&this.bufferAssetPlayer(pn,Ur)}};Le.on(o.BUFFER_CODECS,Kt);const er=()=>{var Er;const jr=this.getAssetPlayer(de);if(this.log(`buffered to end of asset ${jr}`),!jr||!this.schedule)return;const pn=this.schedule.findEventIndex(t.identifier),Ur=(Er=this.schedule.items)==null?void 0:Er[pn];this.isInterstitial(Ur)&&this.advanceAssetBuffering(Ur,n)};Le.on(o.BUFFERED_TO_END,er);const ir=Er=>()=>{if(!this.getAssetPlayer(de)||!this.schedule)return;this.shouldPlay=!0;const pn=this.schedule.findEventIndex(t.identifier);this.advanceAfterAssetEnded(t,pn,Er)};return Le.once(o.MEDIA_ENDED,ir(s)),Le.once(o.PLAYOUT_LIMIT_REACHED,ir(1/0)),Le.on(o.ERROR,(Er,jr)=>{if(!this.schedule)return;const pn=this.getAssetPlayer(de);if(jr.details===f.BUFFER_STALLED_ERROR){if(pn!=null&&pn.appendInPlace){this.handleInPlaceStall(t);return}this.onTimeupdate(),this.checkBuffer(!0);return}this.handleAssetItemError(jr,t,this.schedule.findEventIndex(t.identifier),s,`Asset player error ${jr.error} ${t}`)}),Le.on(o.DESTROYING,()=>{if(!this.getAssetPlayer(de)||!this.schedule)return;const jr=new Error(`Asset player destroyed unexpectedly ${de}`),pn={fatal:!0,type:c.OTHER_ERROR,details:f.INTERSTITIAL_ASSET_ITEM_ERROR,error:jr};this.handleAssetItemError(pn,t,this.schedule.findEventIndex(t.identifier),s,jr.message)}),this.log(`INTERSTITIAL_ASSET_PLAYER_CREATED ${gl(n)}`),this.hls.trigger(o.INTERSTITIAL_ASSET_PLAYER_CREATED,{asset:n,assetListIndex:s,event:t,player:Le}),Le}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){const m=this.playerQueue[s];this.log(`clear ${m} toSegment: ${n&&ku(n)}`),this.transferMediaFromPlayer(m,n),this.playerQueue.splice(s,1),m.destroy()}}emptyPlayerQueue(){let t;for(;t=this.playerQueue.pop();)t.destroy();this.playerQueue=[]}startAssetPlayer(t,n,s,m,E){const{interstitial:C,assetItem:j,assetId:X}=t,G=C.assetList.length,ue=this.playingAsset;this.endedAsset=null,this.playingAsset=j,(!ue||ue.identifier!==X)&&(ue&&(this.clearAssetPlayer(ue.identifier,s[m]),delete ue.error),this.log(`INTERSTITIAL_ASSET_STARTED ${n+1}/${G} ${gl(j)}`),this.hls.trigger(o.INTERSTITIAL_ASSET_STARTED,{asset:j,assetListIndex:n,event:C,schedule:s.slice(0),scheduleIndex:m,player:t})),this.bufferAssetPlayer(t,E)}bufferAssetPlayer(t,n){var s,m;if(!this.schedule)return;const{interstitial:E,assetItem:C}=t,j=this.schedule.findEventIndex(E.identifier),X=(s=this.schedule.items)==null?void 0:s[j];if(!X)return;t.loadSource(),this.setBufferingItem(X),this.bufferingAsset=C;const G=this.getBufferingPlayer();if(G===t)return;const ue=E.appendInPlace;if(ue&&(G==null?void 0:G.interstitial.appendInPlace)===!1)return;const de=(G==null?void 0:G.tracks)||((m=this.detachedData)==null?void 0:m.tracks)||this.requiredTracks;if(ue&&C!==this.playingAsset){if(!t.tracks){this.log(`Waiting for track info before buffering ${t}`);return}if(de&&!oe(de,t.tracks)){const Ee=new Error(`Asset ${gl(C)} SourceBuffer tracks ('${Object.keys(t.tracks)}') are not compatible with primary content tracks ('${Object.keys(de)}')`),Re={fatal:!0,type:c.OTHER_ERROR,details:f.INTERSTITIAL_ASSET_ITEM_ERROR,error:Ee},Le=E.findAssetIndex(C);this.handleAssetItemError(Re,E,j,Le,Ee.message);return}}this.transferMediaTo(t,n)}handleInPlaceStall(t){const n=this.schedule,s=this.primaryMedia;if(!n||!s)return;const m=s.currentTime,E=n.findAssetIndex(t,m),C=t.assetList[E];if(C){const j=this.getAssetPlayer(C.identifier);if(j){const X=j.currentTime||m-C.timelineStart,G=j.duration-X;if(this.warn(`Stalled at ${X} of ${X+G} in ${j} ${t} (media.currentTime: ${m})`),X&&(G/s.playbackRate<.5||j.bufferedInPlaceToEnd(s))&&j.hls){const ue=n.findEventIndex(t.identifier);this.advanceAfterAssetEnded(t,ue,E)}}}}advanceInPlace(t){const n=this.primaryMedia;n&&n.currentTime<t&&(n.currentTime=t)}handleAssetItemError(t,n,s,m,E){if(t.details===f.BUFFER_STALLED_ERROR)return;const C=n.assetList[m]||null;if(this.warn(`INTERSTITIAL_ASSET_ERROR ${C&&gl(C)} ${t.error}`),!this.schedule)return;const j=(C==null?void 0:C.identifier)||"",X=this.getAssetPlayerQueueIndex(j),G=this.playerQueue[X]||null,ue=this.schedule.items,de=y({},t,{fatal:!1,errorAction:dn(!0),asset:C,assetListIndex:m,event:n,schedule:ue,scheduleIndex:s,player:G});if(this.hls.trigger(o.INTERSTITIAL_ASSET_ERROR,de),!t.fatal)return;const Ee=this.playingAsset,Re=this.bufferingAsset,Le=new Error(E);if(C&&(this.clearAssetPlayer(j,null),C.error=Le),!n.assetList.some(ut=>!ut.error))n.error=Le;else for(let ut=m;ut<n.assetList.length;ut++)this.resetAssetPlayer(n.assetList[ut].identifier);this.updateSchedule(!0),n.error?this.primaryFallback(n):Ee&&Ee.identifier===j?this.advanceAfterAssetEnded(n,s,m):Re&&Re.identifier===j&&this.isInterstitial(this.bufferingItem)&&this.advanceAssetBuffering(this.bufferingItem,Re)}primaryFallback(t){const n=t.timelineStart,s=this.effectivePlayingItem;if(s){this.log(`Fallback to primary from event "${t.identifier}" start: ${n} pos: ${this.timelinePos} playing: ${ku(s)} error: ${t.error}`);let m=this.timelinePos;m===-1&&(m=this.hls.startPosition);const E=this.updateItem(s,m);if(this.itemsMatch(s,E)&&this.clearInterstitial(t,null),t.appendInPlace&&(this.attachPrimary(n,null),this.flushFrontBuffer(n)),!this.schedule)return;const C=this.schedule.findItemIndexAtTime(m);this.setSchedulePosition(C)}else this.checkStart()}onAssetListLoaded(t,n){var s,m;const E=n.event,C=E.identifier,j=n.assetListResponse.ASSETS;if(!((s=this.schedule)!=null&&s.hasEvent(C)))return;const X=E.timelineStart,G=E.duration;let ue=0;j.forEach((ut,ot)=>{const Kt=parseFloat(ut.DURATION);this.createAsset(E,ot,ue,X+ue,Kt,ut.URI),ue+=Kt}),E.duration=ue,this.log(`Loaded asset-list with duration: ${ue} (was: ${G}) ${E}`);const de=this.waitingItem,Ee=(de==null?void 0:de.event.identifier)===C;this.updateSchedule();const Re=(m=this.bufferingItem)==null?void 0:m.event;if(Ee){var Le;const ut=this.schedule.findEventIndex(C),ot=(Le=this.schedule.items)==null?void 0:Le[ut];if(ot){if(!this.playingItem&&this.timelinePos>ot.end&&this.schedule.findItemIndexAtTime(this.timelinePos)!==ut){E.error=new Error(`Interstitial no longer within playback range ${this.timelinePos} ${E}`),this.updateSchedule(!0),this.primaryFallback(E);return}this.setBufferingItem(ot)}this.setSchedulePosition(ut)}else if((Re==null?void 0:Re.identifier)===C){const ut=E.assetList[0];if(ut){const ot=this.getAssetPlayer(ut.identifier);if(Re.appendInPlace){const Kt=this.primaryMedia;ot&&Kt&&this.bufferAssetPlayer(ot,Kt)}else ot&&ot.loadSource()}}}onError(t,n){if(this.schedule)switch(n.details){case f.ASSET_LIST_PARSING_ERROR:case f.ASSET_LIST_LOAD_ERROR:case f.ASSET_LIST_LOAD_TIMEOUT:{const s=n.interstitial;s&&(this.updateSchedule(!0),this.primaryFallback(s));break}case f.BUFFER_STALLED_ERROR:{const s=this.endedItem||this.waitingItem||this.playingItem;if(this.isInterstitial(s)&&s.event.appendInPlace){this.handleInPlaceStall(s.event);return}this.log(`Primary player stall @${this.timelinePos} bufferedPos: ${this.bufferedPos}`),this.onTimeupdate(),this.checkBuffer(!0);break}}}}const Ru=500;class Tl extends $t{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=Ie.IDLE,this.setInterval(Ru),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)||(Ae(s)&&(this.fragPrevious=s),this.state=Ie.IDLE),!m)return;const E=this.tracksBuffered[this.currentTrackId];if(!E)return;let C;const j=s.start;for(let G=0;G<E.length;G++)if(j>=E[G].start&&j<=E[G].end){C=E[G];break}const X=s.start+s.duration;C?C.end=X:(C={start:j,end:X},E.push(C)),this.fragmentTracker.fragBuffered(s),this.fragBufferedComplete(s,null),this.media&&this.tick()}onBufferFlushing(t,n){const{startOffset:s,endOffset:m}=n;if(s===0&&m!==Number.POSITIVE_INFINITY){const E=m-1;if(E<=0)return;n.endOffsetSubtitles=Math.max(0,E),this.tracksBuffered.forEach(C=>{for(let j=0;j<C.length;){if(C[j].end<=E){C.shift();continue}else if(C[j].start<E)C[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!==Ie.STOPPED&&(this.state=Ie.IDLE))}onSubtitleTracksUpdated(t,{subtitleTracks:n}){if(this.levels&&Kc(this.levels,n)){this.levels=n.map(s=>new Ai(s));return}this.tracksBuffered=[],this.levels=n.map(s=>{const m=new Ai(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!==Ie.STOPPED&&this.setInterval(Ru)}onSubtitleTrackLoaded(t,n){var s;const{currentTrackId:m,levels:E}=this,{details:C,id:j}=n;if(!E){this.warn(`Subtitle tracks were reset while loading level ${j}`);return}const X=E[j];if(j>=E.length||!X)return;this.log(`Subtitle track ${j} loaded [${C.startSN},${C.endSN}]${C.lastPartSn?`[part-${C.lastPartSn}-${C.lastPartIndex}]`:""},duration:${C.totalduration}`),this.mediaBuffer=this.mediaBufferTimeRanges;let G=0;if(C.live||(s=X.details)!=null&&s.live){if(C.deltaUpdateFailed)return;const de=this.mainDetails;if(!de){this.startFragRequested=!1;return}const Ee=de.fragments[0];if(!X.details)C.hasProgramDateTime&&de.hasProgramDateTime?(Fn(C,de),G=C.fragmentStart):Ee&&(G=Ee.start,ra(C,G));else{var ue;G=this.alignPlaylists(C,X.details,(ue=this.levelLastLoaded)==null?void 0:ue.details),G===0&&Ee&&(G=Ee.start,ra(C,G))}de&&!this.startFragRequested&&this.setStartPosition(de,G)}X.details=C,this.levelLastLoaded=X,j===m&&(this.hls.trigger(o.SUBTITLE_TRACK_UPDATED,{details:C,id:j,groupId:n.groupId}),this.tick(),C.live&&!this.fragCurrent&&this.media&&this.state===Ie.IDLE&&(lr(null,C.fragments,this.media.currentTime,0)||(this.warn("Subtitle playlist not aligned with playback"),X.details=void 0)))}_handleFragmentLoadComplete(t){const{frag:n,payload:s}=t,m=n.decryptdata,E=this.hls;if(!this.fragContextChanged(n)&&s&&s.byteLength>0&&m!=null&&m.key&&m.iv&&Co(m.method)){const C=performance.now();this.decrypter.decrypt(new Uint8Array(s),m.key.buffer,m.iv.buffer,qo(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 X=performance.now();E.trigger(o.FRAG_DECRYPTED,{frag:n,payload:j,stats:{tstart:C,tdecrypt:X}})}).catch(j=>{this.warn(`${j.name}: ${j.message}`),this.state=Ie.IDLE})}}doTick(){if(!this.media){this.state=Ie.IDLE;return}if(this.state===Ie.IDLE){const{currentTrackId:t,levels:n}=this,s=n==null?void 0:n[t];if(!s||!n.length||!s.details||this.waitForLive(s))return;const{config:m}=this,E=this.getLoadPosition(),C=ci.bufferedInfo(this.tracksBuffered[this.currentTrackId]||[],E,m.maxBufferHole),{end:j,len:X}=C,G=s.details,ue=this.hls.maxBufferLength+G.levelTargetDuration;if(X>ue)return;const de=G.fragments,Ee=de.length,Re=G.edge;let Le=null;const ut=this.fragPrevious;if(j<Re){const er=m.maxFragLookUpTolerance,ir=j>Re-er?0:er;Le=lr(ut,de,Math.max(de[0].start,j),ir),!Le&&ut&&ut.start<de[0].start&&(Le=de[0])}else Le=de[Ee-1];if(Le=this.filterReplacedPrimary(Le,s.details),!Le)return;const ot=Le.sn-G.startSN,Kt=de[ot-1];if(Kt&&Kt.cc===Le.cc&&this.fragmentTracker.getState(Kt)===gn.NOT_LOADED&&(Le=Kt),this.fragmentTracker.getState(Le)===gn.NOT_LOADED){const er=this.mapToInitFragWhenRequired(Le);er&&this.loadFragment(er,s,j)}}}loadFragment(t,n,s){Ae(t)?super.loadFragment(t,n,s):this._loadInitSegment(t,n)}get mediaBufferTimeRanges(){return new ec(this.tracksBuffered[this.currentTrackId]||[])}}class ec{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 Nc={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},$u=O=>String.fromCharCode(Nc[O]||O),xu=15,Eu=100,Mn={17:1,18:3,21:5,22:7,23:9,16:11,19:12,20:14},ni={17:2,18:4,21:6,22:8,23:10,19:13,20:15},qi={25:1,26:3,29:5,30:7,31:9,24:11,27:12,28:14},Ba={25:2,26:4,29:6,30:8,31:10,27:13,28:15},fa=["white","green","blue","cyan","red","yellow","magenta","black","transparent"];class Sa{constructor(){this.time=null,this.verboseLevel=0}log(t,n){if(this.verboseLevel>=t){const s=typeof n=="function"?n():n;H.log(`${this.time} [${t}] ${s}`)}}}const xa=function(t){const n=[];for(let s=0;s<t.length;s++)n.push(t[s].toString(16));return n};class Os{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 da{constructor(){this.uchar=" ",this.penState=new Os}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 Ms{constructor(t){this.chars=[],this.pos=0,this.currPenState=new Os,this.cueStartTime=null,this.logger=void 0;for(let n=0;n<Eu;n++)this.chars.push(new da);this.logger=t}equals(t){for(let n=0;n<Eu;n++)if(!this.chars[n].equals(t.chars[n]))return!1;return!0}copy(t){for(let n=0;n<Eu;n++)this.chars[n].copy(t.chars[n])}isEmpty(){let t=!0;for(let n=0;n<Eu;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>Eu&&(this.logger.log(3,"Too large cursor position "+this.pos),this.pos=Eu)}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=$u(t);if(this.pos>=Eu){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<Eu;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<Eu;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 Yu{constructor(t){this.rows=[],this.currRow=xu-1,this.nrRollUpRows=null,this.lastOutputScreen=null,this.logger=void 0;for(let n=0;n<xu;n++)this.rows.push(new Ms(t));this.logger=t}reset(){for(let t=0;t<xu;t++)this.rows[t].clear();this.currRow=xu-1}equals(t){let n=!0;for(let s=0;s<xu;s++)if(!this.rows[s].equals(t.rows[s])){n=!1;break}return n}copy(t){for(let n=0;n<xu;n++)this.rows[n].copy(t.rows[n])}isEmpty(){let t=!0;for(let n=0;n<xu;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 = "+zi(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<xu;j++)this.rows[j].clear();const E=this.currRow+1-this.nrRollUpRows,C=this.lastOutputScreen;if(C){const j=C.rows[E].cueStartTime,X=this.logger.time;if(j!==null&&X!==null&&j<X)for(let G=0;G<this.nrRollUpRows;G++)this.rows[n-this.nrRollUpRows+G+1].copy(C.rows[E+G])}}this.currRow=n;const s=this.rows[this.currRow];if(t.indent!==null){const E=t.indent,C=Math.max(E-1,0);s.setCursor(t.indent),t.color=s.chars[C].penState.foreground}const m={foreground:t.color,underline:t.underline,italics:t.italics,background:"black",flash:!1};this.setPen(m)}setBkgData(t){this.logger.log(2,()=>"bkgData = "+zi(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<xu;E++){const C=this.rows[E].getTextString();C&&(m=E+1,t?n.push("Row "+m+": '"+C+"'"):n.push(C.trim()))}return n.length>0&&(t?s="["+n.join(" | ")+"]":s=n.join(`
`)),s}getTextAndFormat(){return this.rows}}class al{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 Yu(s),this.nonDisplayedMemory=new Yu(s),this.lastOutputScreen=new Yu(s),this.currRollUpRow=this.displayedMemory.rows[xu-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[xu-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: "+zi(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 yl{constructor(t,n,s){this.channels=void 0,this.currentChannel=0,this.cmdHistory=Kf(),this.logger=void 0;const m=this.logger=new Sa;this.channels=[null,new al(t,n,m),new al(t+1,s,m)]}getHandler(t){return this.channels[t].getHandler()}setHandler(t,n){this.channels[t].setHandler(n)}addData(t,n){this.logger.time=t;for(let s=0;s<n.length;s+=2){const m=n[s]&127,E=n[s+1]&127;let C=!1,j=null;if(m===0&&E===0)continue;this.logger.log(3,()=>"["+xa([n[s],n[s+1]])+"] -> ("+xa([m,E])+")");const X=this.cmdHistory;if(m>=16&&m<=31){if(Bl(m,E,X)){Xu(null,null,X),this.logger.log(3,()=>"Repeated command ("+xa([m,E])+") is dropped");continue}Xu(m,E,this.cmdHistory),C=this.parseCmd(m,E),C||(C=this.parseMidrow(m,E)),C||(C=this.parsePAC(m,E)),C||(C=this.parseBackgroundAttributes(m,E))}else Xu(null,null,X);if(!C&&(j=this.parseChars(m,E),j)){const ue=this.currentChannel;ue&&ue>0?this.channels[ue].insertChars(j):this.logger.log(2,"No channel found yet. TEXT-MODE?")}!C&&!j&&this.logger.log(2,()=>"Couldn't parse cleaned data "+xa([m,E])+" orig: "+xa([n[s],n[s+1]]))}}parseCmd(t,n){const s=(t===20||t===28||t===21||t===29)&&n>=32&&n<=47,m=(t===23||t===31)&&n>=33&&n<=35;if(!(s||m))return!1;const E=t===20||t===21||t===23?1:2,C=this.channels[E];return t===20||t===21||t===28||t===29?n===32?C.ccRCL():n===33?C.ccBS():n===34?C.ccAOF():n===35?C.ccAON():n===36?C.ccDER():n===37?C.ccRU(2):n===38?C.ccRU(3):n===39?C.ccRU(4):n===40?C.ccFON():n===41?C.ccRDC():n===42?C.ccTR():n===43?C.ccRTD():n===44?C.ccEDM():n===45?C.ccCR():n===46?C.ccENM():n===47&&C.ccEOC():C.ccTO(n-32),this.currentChannel=E,!0}parseMidrow(t,n){let s=0;if((t===17||t===25)&&n>=32&&n<=47){if(t===17?s=1:s=2,s!==this.currentChannel)return this.logger.log(0,"Mismatch channel in midrow parsing"),!1;const m=this.channels[s];return m?(m.ccMIDROW(n),this.logger.log(3,()=>"MIDROW ("+xa([t,n])+")"),!0):!1}return!1}parsePAC(t,n){let s;const m=(t>=17&&t<=23||t>=25&&t<=31)&&n>=64&&n<=127,E=(t===16||t===24)&&n>=64&&n<=95;if(!(m||E))return!1;const C=t<=23?1:2;n>=64&&n<=95?s=C===1?Mn[t]:qi[t]:s=C===1?ni[t]:Ba[t];const j=this.channels[C];return j?(j.setPAC(this.interpretPAC(s,n)),this.currentChannel=C,!0):!1}interpretPAC(t,n){let s;const m={color:null,italics:!1,indent:null,underline:!1,row:t};return n>95?s=n-96:s=n-64,m.underline=(s&1)===1,s<=13?m.color=["white","green","blue","cyan","red","yellow","magenta","white"][Math.floor(s/2)]:s<=15?(m.italics=!0,m.color="white"):m.indent=Math.floor((s-16)/2)*4,m}parseChars(t,n){let s,m=null,E=null;if(t>=25?(s=2,E=t-8):(s=1,E=t),E>=17&&E<=19){let C;E===17?C=n+80:E===18?C=n+112:C=n+144,this.logger.log(2,()=>"Special char '"+$u(C)+"' in channel "+s),m=[C]}else t>=32&&t<=127&&(m=n===0?[t]:[t,n]);return m&&this.logger.log(3,()=>"Char codes = "+xa(m).join(",")),m}parseBackgroundAttributes(t,n){const s=(t===16||t===24)&&n>=32&&n<=47,m=(t===23||t===31)&&n>=45&&n<=47;if(!(s||m))return!1;let E;const C={};t===16||t===24?(E=Math.floor((n-32)/2),C.background=fa[E],n%2===1&&(C.background=C.background+"_semi")):n===45?C.background="transparent":(C.foreground="black",n===47&&(C.underline=!0));const j=t<=23?1:2;return this.channels[j].setBkgData(C),!0}reset(){for(let t=0;t<Object.keys(this.channels).length;t++){const n=this.channels[t];n&&n.reset()}Xu(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 Xu(O,t,n){n.a=O,n.b=t}function Bl(O,t,n){return n.a===O&&n.b===t}function Kf(){return{a:null,b:null}}var Sf=function(){if(as!=null&&as.VTTCue)return self.VTTCue;const O=["","lr","rl"],t=["start","middle","end","left","right"];function n(j,X){if(typeof X!="string"||!Array.isArray(j))return!1;const G=X.toLowerCase();return~j.indexOf(G)?G:!1}function s(j){return n(O,j)}function m(j){return n(t,j)}function E(j,...X){let G=1;for(;G<arguments.length;G++){const ue=arguments[G];for(const de in ue)j[de]=ue[de]}return j}function C(j,X,G){const ue=this,de={enumerable:!0};ue.hasBeenReset=!1;let Ee="",Re=!1,Le=j,ut=X,ot=G,Kt=null,er="",ir=!0,Er="auto",jr="start",pn=50,Ur="middle",sn=50,nn="middle";Object.defineProperty(ue,"id",E({},de,{get:function(){return Ee},set:function(Vr){Ee=""+Vr}})),Object.defineProperty(ue,"pauseOnExit",E({},de,{get:function(){return Re},set:function(Vr){Re=!!Vr}})),Object.defineProperty(ue,"startTime",E({},de,{get:function(){return Le},set:function(Vr){if(typeof Vr!="number")throw new TypeError("Start time must be set to a number.");Le=Vr,this.hasBeenReset=!0}})),Object.defineProperty(ue,"endTime",E({},de,{get:function(){return ut},set:function(Vr){if(typeof Vr!="number")throw new TypeError("End time must be set to a number.");ut=Vr,this.hasBeenReset=!0}})),Object.defineProperty(ue,"text",E({},de,{get:function(){return ot},set:function(Vr){ot=""+Vr,this.hasBeenReset=!0}})),Object.defineProperty(ue,"region",E({},de,{get:function(){return Kt},set:function(Vr){Kt=Vr,this.hasBeenReset=!0}})),Object.defineProperty(ue,"vertical",E({},de,{get:function(){return er},set:function(Vr){const In=s(Vr);if(In===!1)throw new SyntaxError("An invalid or illegal string was specified.");er=In,this.hasBeenReset=!0}})),Object.defineProperty(ue,"snapToLines",E({},de,{get:function(){return ir},set:function(Vr){ir=!!Vr,this.hasBeenReset=!0}})),Object.defineProperty(ue,"line",E({},de,{get:function(){return Er},set:function(Vr){if(typeof Vr!="number"&&Vr!=="auto")throw new SyntaxError("An invalid number or illegal string was specified.");Er=Vr,this.hasBeenReset=!0}})),Object.defineProperty(ue,"lineAlign",E({},de,{get:function(){return jr},set:function(Vr){const In=m(Vr);if(!In)throw new SyntaxError("An invalid or illegal string was specified.");jr=In,this.hasBeenReset=!0}})),Object.defineProperty(ue,"position",E({},de,{get:function(){return pn},set:function(Vr){if(Vr<0||Vr>100)throw new Error("Position must be between 0 and 100.");pn=Vr,this.hasBeenReset=!0}})),Object.defineProperty(ue,"positionAlign",E({},de,{get:function(){return Ur},set:function(Vr){const In=m(Vr);if(!In)throw new SyntaxError("An invalid or illegal string was specified.");Ur=In,this.hasBeenReset=!0}})),Object.defineProperty(ue,"size",E({},de,{get:function(){return sn},set:function(Vr){if(Vr<0||Vr>100)throw new Error("Size must be between 0 and 100.");sn=Vr,this.hasBeenReset=!0}})),Object.defineProperty(ue,"align",E({},de,{get:function(){return nn},set:function(Vr){const In=m(Vr);if(!In)throw new SyntaxError("An invalid or illegal string was specified.");nn=In,this.hasBeenReset=!0}})),ue.displayState=void 0}return C.prototype.getCueAsHTML=function(){return self.WebVTT.convertCueToDOMTree(self,this.text)},C}();class tc{decode(t,n){if(!t)return"";if(typeof t!="string")throw new Error("Error - expected string data.");return decodeURIComponent(encodeURIComponent(t))}}function Lf(O){function t(s,m,E,C){return(s|0)*3600+(m|0)*60+(E|0)+parseFloat(C||0)}const n=O.match(/^(?:(\d+):)?(\d{2}):(\d{2})(\.\d+)?/);return n?parseFloat(n[2])>59?t(n[2],n[3],0,n[4]):t(n[1],n[2],n[3],n[4]):null}class af{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 sf(O,t,n,s){const m=s?O.split(s):[O];for(const E in m){if(typeof m[E]!="string")continue;const C=m[E].split(n);if(C.length!==2)continue;const j=C[0],X=C[1];t(j,X)}}const of=new Sf(0,0,""),Qu=of.align==="middle"?"middle":"center";function Vf(O,t,n){const s=O;function m(){const j=Lf(O);if(j===null)throw new Error("Malformed timestamp: "+s);return O=O.replace(/^[^\sa-zA-Z-]+/,""),j}function E(j,X){const G=new af;sf(j,function(Ee,Re){let Le;switch(Ee){case"region":for(let ut=n.length-1;ut>=0;ut--)if(n[ut].id===Re){G.set(Ee,n[ut].region);break}break;case"vertical":G.alt(Ee,Re,["rl","lr"]);break;case"line":Le=Re.split(","),G.integer(Ee,Le[0]),G.percent(Ee,Le[0])&&G.set("snapToLines",!1),G.alt(Ee,Le[0],["auto"]),Le.length===2&&G.alt("lineAlign",Le[1],["start",Qu,"end"]);break;case"position":Le=Re.split(","),G.percent(Ee,Le[0]),Le.length===2&&G.alt("positionAlign",Le[1],["start",Qu,"end","line-left","line-right","auto"]);break;case"size":G.percent(Ee,Re);break;case"align":G.alt(Ee,Re,["start",Qu,"end","left","right"]);break}},/:/,/\s/),X.region=G.get("region",null),X.vertical=G.get("vertical","");let ue=G.get("line","auto");ue==="auto"&&of.line===-1&&(ue=-1),X.line=ue,X.lineAlign=G.get("lineAlign","start"),X.snapToLines=G.get("snapToLines",!0),X.size=G.get("size",100),X.align=G.get("align",Qu);let de=G.get("position","auto");de==="auto"&&of.position===50&&(de=X.align==="start"||X.align==="left"?0:X.align==="end"||X.align==="right"?100:50),X.position=de}function C(){O=O.replace(/^\s+/,"")}if(C(),t.startTime=m(),C(),O.slice(0,3)!=="-->")throw new Error("Malformed time stamp (time stamps must be separated by '-->'): "+s);O=O.slice(3),C(),t.endTime=m(),C(),E(O,t)}function sl(O){return O.replace(/<br(?: \/)?>/gi,`
`)}class uf{constructor(){this.state="INITIAL",this.buffer="",this.decoder=new tc,this.regionList=[],this.cue=null,this.oncue=void 0,this.onparsingerror=void 0,this.onflush=void 0}parse(t){const n=this;t&&(n.buffer+=n.decoder.decode(t,{stream:!0}));function s(){let E=n.buffer,C=0;for(E=sl(E);C<E.length&&E[C]!=="\r"&&E[C]!==`
`;)++C;const j=E.slice(0,C);return E[C]==="\r"&&++C,E[C]===`
`&&++C,n.buffer=E.slice(C),j}function m(E){sf(E,function(C,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 C=!1;for(;n.buffer;){if(!/\r\n|\n/.test(n.buffer))return this;switch(C?C=!1:E=s(),n.state){case"HEADER":/:/.test(E)?m(E):E||(n.state="ID");continue;case"NOTE":E||(n.state="ID");continue;case"ID":if(/^NOTE($|[ \t])/.test(E)){n.state="NOTE";break}if(!E)continue;if(n.cue=new Sf(0,0,""),n.state="CUE",E.indexOf("-->")===-1){n.cue.id=E;continue}case"CUE":if(!n.cue){n.state="BADCUE";continue}try{Vf(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&&(C=!0)){n.oncue&&n.cue&&n.oncue(n.cue),n.cue=null,n.state="ID";continue}if(n.cue===null)continue;n.cue.text&&(n.cue.text+=`
`),n.cue.text+=E}continue;case"BADCUE":E||(n.state="ID")}}}catch(E){n.state==="CUETEXT"&&n.cue&&n.oncue&&n.oncue(n.cue),n.cue=null,n.state=n.state==="INITIAL"?"BADWEBVTT":"BADCUE"}return this}flush(){const t=this;try{if((t.cue||t.state==="HEADER")&&(t.buffer+=`
`,t.parse()),t.state==="INITIAL"||t.state==="BADWEBVTT")throw new Error("Malformed WebVTT signature.")}catch(n){t.onparsingerror&&t.onparsingerror(n)}return t.onflush&&t.onflush(),this}}const Mf=/\r\n|\n\r|\n|\r/g,iu=function(t,n,s=0){return t.slice(s,s+n.length)===n},Af=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 lf(O,t,n){return Vu(O.toString())+Vu(t.toString())+Vu(n)}const Cl=function(t,n,s){let m=t[n],E=t[m.prevCC];if(!E||!E.new&&m.new){t.ccOffset=t.presentationOffset=m.start,m.new=!1;return}for(;(C=E)!=null&&C.new;){var C;t.ccOffset+=m.start-E.start,m.new=!1,m=E,E=t[m.prevCC]}t.presentationOffset=s};function $c(O,t,n,s,m,E,C){const j=new uf,X=J(new Uint8Array(O)).trim().replace(Mf,`
`).split(`
`),G=[],ue=t?Vo(t.baseTime,t.timescale):0;let de="00:00.000",Ee=0,Re=0,Le,ut=!0;j.oncue=function(ot){const Kt=n[s];let er=n.ccOffset;const ir=(Ee-ue)/9e4;if(Kt!=null&&Kt.new&&(Re!==void 0?er=n.ccOffset=Kt.start:Cl(n,s,ir)),ir){if(!t){Le=new Error("Missing initPTS for VTT MPEGTS");return}er=ir-n.presentationOffset}const Er=ot.endTime-ot.startTime,jr=Yo((ot.startTime+er-Re)*9e4,m*9e4)/9e4;ot.startTime=Math.max(jr,0),ot.endTime=Math.max(jr+Er,0);const pn=ot.text.trim();ot.text=decodeURIComponent(encodeURIComponent(pn)),ot.id||(ot.id=lf(ot.startTime,ot.endTime,pn)),ot.endTime>0&&G.push(ot)},j.onparsingerror=function(ot){Le=ot},j.onflush=function(){if(Le){C(Le);return}E(G)},X.forEach(ot=>{if(ut)if(iu(ot,"X-TIMESTAMP-MAP=")){ut=!1,ot.slice(16).split(",").forEach(Kt=>{iu(Kt,"LOCAL:")?de=Kt.slice(6):iu(Kt,"MPEGTS:")&&(Ee=parseInt(Kt.slice(7)))});try{Re=Af(de)/1e3}catch(Kt){Le=Kt}return}else ot===""&&(ut=!1);j.parse(ot+`
`)}),j.flush()}const au="stpp.ttml.im1t",Tf=/^(\d{2,}):(\d{2}):(\d{2}):(\d{2})\.?(\d+)?$/,Cf=/^(\d*(?:\.\d*)?)(h|m|s|ms|f|t)$/,cf={left:"start",center:"center",right:"end",start:"start",end:"end"};function jc(O,t,n,s){const m=gt(new Uint8Array(O),["mdat"]);if(m.length===0){s(new Error("Could not parse IMSC1 mdat"));return}const E=m.map(j=>J(j)),C=gu(t.baseTime,1,t.timescale);try{E.forEach(j=>n(Ff(j,C)))}catch(j){s(j)}}function Ff(O,t){const m=new DOMParser().parseFromString(O,"text/xml").getElementsByTagName("tt")[0];if(!m)throw new Error("Invalid ttml");const E={frameRate:30,subFrameRate:1,frameRateMultiplier:0,tickRate:0},C=Object.keys(E).reduce((de,Ee)=>(de[Ee]=m.getAttribute(`ttp:${Ee}`)||E[Ee],de),{}),j=m.getAttribute("xml:space")!=="preserve",X=zf(Uc(m,"styling","style")),G=zf(Uc(m,"layout","region")),ue=Uc(m,"body","[begin]");return[].map.call(ue,de=>{const Ee=Yf(de,j);if(!Ee||!de.hasAttribute("begin"))return null;const Re=ff(de.getAttribute("begin"),C),Le=ff(de.getAttribute("dur"),C);let ut=ff(de.getAttribute("end"),C);if(Re===null)throw Zf(de);if(ut===null){if(Le===null)throw Zf(de);ut=Re+Le}const ot=new Sf(Re-t,ut-t,Ee);ot.id=lf(ot.startTime,ot.endTime,ot.text);const Kt=G[de.getAttribute("region")],er=X[de.getAttribute("style")],ir=Bf(Kt,er,X),{textAlign:Er}=ir;if(Er){const jr=cf[Er];jr&&(ot.lineAlign=jr),ot.align=Er}return y(ot,ir),ot}).filter(de=>de!==null)}function Uc(O,t,n){const s=O.getElementsByTagName(t)[0];return s?[].slice.call(s.querySelectorAll(n)):[]}function zf(O){return O.reduce((t,n)=>{const s=n.getAttribute("xml:id");return s&&(t[s]=n),t},{})}function Yf(O,t){return[].slice.call(O.childNodes).reduce((n,s,m)=>{var E;return s.nodeName==="br"&&m?n+`
`:(E=s.childNodes)!=null&&E.length?Yf(s,t):t?n+s.textContent.trim().replace(/\s+/g," "):n+s.textContent},"")}function Bf(O,t,n){const s="http://www.w3.org/ns/ttml#styling";let m=null;const E=["displayAlign","textAlign","color","backgroundColor","fontSize","fontFamily"],C=O!=null&&O.hasAttribute("style")?O.getAttribute("style"):null;return C&&n.hasOwnProperty(C)&&(m=n[C]),E.reduce((j,X)=>{const G=Xf(t,s,X)||Xf(O,s,X)||Xf(m,s,X);return G&&(j[X]=G),j},{})}function Xf(O,t,n){return O&&O.hasAttributeNS(t,n)?O.getAttributeNS(t,n):null}function Zf(O){return new Error(`Could not parse ttml timestamp ${O}`)}function ff(O,t){if(!O)return null;let n=Lf(O);return n===null&&(Tf.test(O)?n=id(O,t):Cf.test(O)&&(n=Hf(O,t))),n}function id(O,t){const n=Tf.exec(O),s=(n[4]|0)+(n[5]|0)/t.subFrameRate;return(n[1]|0)*3600+(n[2]|0)*60+(n[3]|0)+s/t.frameRate}function Hf(O,t){const n=Cf.exec(O),s=Number(n[1]);switch(n[2]){case"h":return s*3600;case"m":return s*60;case"ms":return s*1e3;case"f":return s/t.frameRate;case"t":return s/t.tickRate}return s}class Nf{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 ad{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=g(),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 Nf(this,"textTrack1"),n=new Nf(this,"textTrack2"),s=new Nf(this,"textTrack3"),m=new Nf(this,"textTrack4");this.cea608Parser1=new yl(1,t,n),this.cea608Parser2=new yl(3,s,m)}addCues(t,n,s,m,E){let C=!1;for(let j=E.length;j--;){const X=E[j],G=Wf(X[0],X[1],n,s);if(G>=0&&(X[0]=Math.min(X[0],n),X[1]=Math.max(X[1],s),C=!0,G/(s-n)>.5))return}if(C||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,trackId:C}){const{unparsedVttFrags:j}=this;s===u.MAIN&&(this.initPTS[n.cc]={baseTime:m,timescale:E,trackId:C}),j.length&&(this.unparsedVttFrags=[],j.forEach(X=>{this.initPTS[X.frag.cc]?this.onFragLoaded(o.FRAG_LOADED,X):this.hls.trigger(o.SUBTITLE_FRAG_PROCESSED,{success:!1,frag:X.frag,error:new Error("Subtitle discontinuity domain does not match main")})}))}getExistingTrack(t,n){const{media:s}=this;if(s)for(let m=0;m<s.textTracks.length;m++){const E=s.textTracks[m];if(Jf(E,{name:t,lang:n,characteristics:"transcribes-spoken-dialog,describes-music-and-sound"}))return E}return null}createCaptionsTrack(t){this.config.renderTextTracksNatively?this.createNativeTrack(t):this.createNonNativeTrack(t)}createNativeTrack(t){if(this.captionsTracks[t])return;const{captionsProperties:n,captionsTracks:s,media:m}=this,{label:E,languageCode:C}=n[t],j=this.getExistingTrack(E,C);if(j)s[t]=j,ns(s[t]),Ka(s[t],m);else{const X=this.createTextTrack("captions",E,C);X&&(X[t]=!0,s[t]=X)}}createNonNativeTrack(t){if(this.nonNativeCaptionsTracks[t])return;const n=this.captionsProperties[t];if(!n)return;const s=n.label,m={_id:t,label:s,kind:"captions",default:n.media?!!n.media.default:!1,closedCaptions:n.media};this.nonNativeCaptionsTracks[t]=m,this.hls.trigger(o.NON_NATIVE_TEXT_TRACKS_FOUND,{tracks:[m]})}createTextTrack(t,n,s){const m=this.media;if(m)return m.addTextTrack(t,n,s)}onMediaAttaching(t,n){this.media=n.media,n.mediaSource||this._cleanTracks()}onMediaDetaching(t,n){const s=!!n.transferMedia;if(this.media=null,s)return;const{captionsTracks:m}=this;Object.keys(m).forEach(E=>{ns(m[E]),delete m[E]}),this.nonNativeCaptionsTracks={}}onManifestLoading(){this.lastCc=-1,this.lastSn=-1,this.lastPartIndex=-1,this.prevCC=-1,this.vttCCs=g(),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++)ns(n[s])}onSubtitleTracksUpdated(t,n){const s=n.subtitleTracks||[],m=s.some(E=>E.textCodec===au);if(this.config.enableWebVTT||m&&this.config.enableIMSC1){if(Kc(this.tracks,s)){this.tracks=s;return}if(this.textTracks=[],this.tracks=s,this.config.renderTextTracksNatively){const C=this.media,j=C?ql(C.textTracks):null;if(this.tracks.forEach((X,G)=>{let ue;if(j){let de=null;for(let Ee=0;Ee<j.length;Ee++)if(j[Ee]&&Jf(j[Ee],X)){de=j[Ee],j[Ee]=null;break}de&&(ue=de)}if(ue)ns(ue);else{const de=Pf(X);ue=this.createTextTrack(de,X.name,X.lang),ue&&(ue.mode="disabled")}ue&&this.textTracks.push(ue)}),j!=null&&j.length){const X=j.filter(G=>G!==null).map(G=>G.label);X.length&&this.hls.logger.warn(`Media element contains unused subtitle tracks: ${X.join(", ")}. Replace media element for each source to clear TextTracks and captions menu.`)}}else if(this.tracks.length){const C=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:C})}}}onManifestLoaded(t,n){this.config.enableCEA708Captions&&n.captions&&n.captions.forEach(s=>{const m=/(?:CC|SERVICE)([1-4])/.exec(s.instreamId);if(!m)return;const E=`textTrack${m[1]}`,C=this.captionsProperties[E];C&&(C.label=s.name,s.lang&&(C.languageCode=s.lang),C.media=s)})}closedCaptionsForLevel(t){const n=this.hls.levels[t.level];return n==null?void 0:n.attrs["CLOSED-CAPTIONS"]}onFragLoading(t,n){if(this.enabled&&n.frag.type===u.MAIN){var s,m;const{cea608Parser1:E,cea608Parser2:C,lastSn:j}=this,{cc:X,sn:G}=n.frag,ue=(s=(m=n.part)==null?void 0:m.index)!=null?s:-1;E&&C&&(G!==j+1||G===j&&ue!==this.lastPartIndex+1||X!==this.lastCc)&&(E.reset(),C.reset()),this.lastCc=X,this.lastSn=G,this.lastPartIndex=ue}}onFragLoaded(t,n){const{frag:s,payload:m}=n;if(s.type===u.SUBTITLE)if(m.byteLength){const E=s.decryptdata,C="stats"in n;if(E==null||!E.encrypted||C){const j=this.tracks[s.level],X=this.vttCCs;X[s.cc]||(X[s.cc]={start:s.start,prevCC:this.prevCC,new:!0},this.prevCC=s.cc),j&&j.textCodec===au?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;jc(n,this.initPTS[t.cc],m=>{this._appendCues(m,t.level),s.trigger(o.SUBTITLE_FRAG_PROCESSED,{success:!0,frag:t})},m=>{s.logger.log(`Failed to parse IMSC1: ${m}`),s.trigger(o.SUBTITLE_FRAG_PROCESSED,{success:!1,frag:t,error:m})})}_parseVTTs(t){var n;const{frag:s,payload:m}=t,{initPTS:E,unparsedVttFrags:C}=this,j=E.length-1;if(!E[s.cc]&&j===-1){C.push(t);return}const X=this.hls,G=(n=s.initSegment)!=null&&n.data?Vt(s.initSegment.data,new Uint8Array(m)).buffer:m;$c(G,this.initPTS[s.cc],this.vttCCs,s.cc,s.start,ue=>{this._appendCues(ue,s.level),X.trigger(o.SUBTITLE_FRAG_PROCESSED,{success:!0,frag:s})},ue=>{const de=ue.message==="Missing initPTS for VTT MPEGTS";de?C.push(t):this._fallbackToIMSC1(s,m),X.logger.log(`Failed to parse VTT cue: ${ue}`),!(de&&j>s.cc)&&X.trigger(o.SUBTITLE_FRAG_PROCESSED,{success:!1,frag:s,error:ue})})}_fallbackToIMSC1(t,n){const s=this.tracks[t.level];s.textCodec||jc(n,this.initPTS[t.cc],()=>{s.textCodec=au,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=>Ho(m,E))}else{const m=this.tracks[n];if(!m)return;const E=m.default?"default":"subtitles"+n;s.trigger(o.CUES_PARSED,{type:"subtitles",cues:t,track:E})}}onFragDecrypted(t,n){const{frag:s}=n;s.type===u.SUBTITLE&&this.onFragLoaded(o.FRAG_LOADED,n)}onSubtitleTracksCleared(){this.tracks=[],this.captionsTracks={}}onFragParsingUserdata(t,n){if(!this.enabled||!this.config.enableCEA708Captions)return;const{frag:s,samples:m}=n;if(!(s.type===u.MAIN&&this.closedCaptionsForLevel(s)==="NONE"))for(let E=0;E<m.length;E++){const C=m[E].bytes;if(C){this.cea608Parser1||this.initCea608Parsers();const j=this.extractCea608Data(C);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:C}=this;if(!(!C||C.currentTime<s)){if(!E||E==="video"){const{captionsTracks:j}=this;Object.keys(j).forEach(X=>Ao(j[X],n,s))}if(this.config.renderTextTracksNatively&&n===0&&m!==void 0){const{textTracks:j}=this;Object.keys(j).forEach(X=>Ao(j[X],n,m))}}}extractCea608Data(t){const n=[[],[]],s=t[0]&31;let m=2;for(let E=0;E<s;E++){const C=t[m++],j=127&t[m++],X=127&t[m++];if(j===0&&X===0)continue;if((4&C)!==0){const ue=3&C;(ue===0||ue===1)&&(n[ue].push(j),n[ue].push(X))}}return n}}function Pf(O){return O.characteristics&&/transcribes-spoken-dialog/gi.test(O.characteristics)&&/describes-music-and-sound/gi.test(O.characteristics)?"captions":"subtitles"}function Jf(O,t){return!!O&&O.kind===Pf(t)&&uc(t,O)}function Wf(O,t,n,s){return Math.min(t,s)-Math.max(O,n)}function g(){return{ccOffset:0,presentationOffset:0,0:{start:0,prevCC:-1,new:!0}}}const T=/\s/,U={newCue(O,t,n,s){const m=[];let E,C,j,X,G;const ue=self.VTTCue||self.TextTrackCue;for(let Ee=0;Ee<s.rows.length;Ee++)if(E=s.rows[Ee],j=!0,X=0,G="",!E.isEmpty()){var de;for(let ut=0;ut<E.chars.length;ut++)T.test(E.chars[ut].uchar)&&j?X++:(G+=E.chars[ut].uchar,j=!1);E.cueStartTime=t,t===n&&(n+=1e-4),X>=16?X--:X++;const Re=sl(G.trim()),Le=lf(t,n,Re);O!=null&&(de=O.cues)!=null&&de.getCueById(Le)||(C=new ue(t,n,Re),C.id=Le,C.line=Ee+1,C.align="left",C.position=10+Math.min(80,Math.floor(X*8/32)*10),m.push(C))}return O&&m.length&&(m.sort((Ee,Re)=>Ee.line==="auto"||Re.line==="auto"?0:Ee.line>8&&Re.line>8?Re.line-Ee.line:Ee.line-Re.line),m.forEach(Ee=>Ho(O,Ee))),m}};function ve(){if(self.fetch&&self.AbortController&&self.ReadableStream&&self.Request)try{return new self.ReadableStream({}),!0}catch(O){}return!1}const Oe=/(\d+)-(\d+)\/(\d+)/;class at{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||mn,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=jt(t,this.controller.signal),C=t.responseType==="arraybuffer",j=C?"byteLength":"length",{maxTimeToFirstByteMs:X,maxLoadTimeMs:G}=n.loadPolicy;this.context=t,this.config=n,this.callbacks=s,this.request=this.fetchSetup(t,E),self.clearTimeout(this.requestTimeout),n.timeout=X&&r(X)?X:G,this.requestTimeout=self.setTimeout(()=>{this.callbacks&&(this.abortInternal(),this.callbacks.onTimeout(m,t,this.response))},n.timeout),(ao(this.request)?this.request.then(self.fetch):self.fetch(this.request)).then(de=>{var Ee;this.response=this.loader=de;const Re=Math.max(self.performance.now(),m.loading.start);if(self.clearTimeout(this.requestTimeout),n.timeout=G,this.requestTimeout=self.setTimeout(()=>{this.callbacks&&(this.abortInternal(),this.callbacks.onTimeout(m,t,this.response))},G-(Re-m.loading.start)),!de.ok){const{status:ut,statusText:ot}=de;throw new Di(ot||"fetch, bad network response",ut,de)}m.loading.first=Re,m.total=Or(de.headers)||m.total;const Le=(Ee=this.callbacks)==null?void 0:Ee.onProgress;return Le&&r(n.highWaterMark)?this.loadProgressively(de,m,t,n.highWaterMark,Le):C?de.arrayBuffer():t.responseType==="json"?de.json():de.text()}).then(de=>{var Ee,Re;const Le=this.response;if(!Le)throw new Error("loader destroyed");self.clearTimeout(this.requestTimeout),m.loading.end=Math.max(self.performance.now(),m.loading.first);const ut=de[j];ut&&(m.loaded=m.total=ut);const ot={url:Le.url,data:de,code:Le.status},Kt=(Ee=this.callbacks)==null?void 0:Ee.onProgress;Kt&&!r(n.highWaterMark)&&Kt(m,t,de,Le),(Re=this.callbacks)==null||Re.onSuccess(ot,m,t,Le)}).catch(de=>{var Ee;if(self.clearTimeout(this.requestTimeout),m.aborted)return;const Re=de&&de.code||0,Le=de?de.message:null;(Ee=this.callbacks)==null||Ee.onError({code:Re,text:Le},t,de?de.details:null,m)})}getCacheAge(){let t=null;if(this.response){const n=this.response.headers.get("age");t=n?parseFloat(n):null}return t}getResponseHeader(t){return this.response?this.response.headers.get(t):null}loadProgressively(t,n,s,m=0,E){const C=new yr,j=t.body.getReader(),X=()=>j.read().then(G=>{if(G.done)return C.dataLength&&E(n,s,C.flush().buffer,t),Promise.resolve(new ArrayBuffer(0));const ue=G.value,de=ue.length;return n.loaded+=de,de<m||C.dataLength?(C.push(ue),C.dataLength>=m&&E(n,s,C.flush().buffer,t)):E(n,s,ue.buffer,t),X()}).catch(()=>Promise.reject());return X()}}function jt(O,t){const n={method:"GET",mode:"cors",credentials:"same-origin",signal:t,headers:new self.Headers(y({},O.headers))};return O.rangeEnd&&n.headers.set("Range","bytes="+O.rangeStart+"-"+String(O.rangeEnd-1)),n}function sr(O){const t=Oe.exec(O);if(t)return parseInt(t[2])-parseInt(t[1])+1}function Or(O){const t=O.get("Content-Range");if(t){const s=sr(t);if(r(s))return s}const n=O.get("Content-Length");if(n)return parseInt(n)}function mn(O,t){return new self.Request(O.url,t)}class Di extends Error{constructor(t,n,s){super(t),this.code=void 0,this.details=void 0,this.code=n,this.details=s}}const ja=/^age:\s*[\d.]+\s*$/im;class Xn{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(C=>{if(!(this.loader!==s||this.stats.aborted))return s.open("GET",n.url,!0),E(s,n.url)}).then(()=>{this.loader!==s||this.stats.aborted||this.openAndSendXhr(s,n,t)}).catch(C=>{var j;(j=this.callbacks)==null||j.onError({code:s.status,text:C.message},n,s,m)}):this.openAndSendXhr(s,n,t)}openAndSendXhr(t,n,s){t.readyState||t.open("GET",n.url,!0);const m=n.headers,{maxTimeToFirstByteMs:E,maxLoadTimeMs:C}=s.loadPolicy;if(m)for(const 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:C,this.requestTimeout=self.setTimeout(this.loadtimeout.bind(this),s.timeout),t.send()}readystatechange(){const{context:t,loader:n,stats:s}=this;if(!t||!n)return;const m=n.readyState,E=this.config;if(!s.aborted&&m>=2&&(s.loading.first===0&&(s.loading.first=Math.max(self.performance.now(),s.loading.start),E.timeout!==E.loadPolicy.maxLoadTimeMs&&(self.clearTimeout(this.requestTimeout),E.timeout=E.loadPolicy.maxLoadTimeMs,this.requestTimeout=self.setTimeout(this.loadtimeout.bind(this),E.loadPolicy.maxLoadTimeMs-(s.loading.first-s.loading.start)))),m===4)){self.clearTimeout(this.requestTimeout),n.onreadystatechange=null,n.onprogress=null;const G=n.status,ue=n.responseType==="text"?n.responseText:null;if(G>=200&&G<300){const Le=ue!=null?ue:n.response;if(Le!=null){var C,j;s.loading.end=Math.max(self.performance.now(),s.loading.first);const ut=n.responseType==="arraybuffer"?Le.byteLength:Le.length;s.loaded=s.total=ut,s.bwEstimate=s.total*8e3/(s.loading.end-s.loading.first);const ot=(C=this.callbacks)==null?void 0:C.onProgress;ot&&ot(s,t,Le,n);const Kt={url:n.responseURL,data:Le,code:G};(j=this.callbacks)==null||j.onSuccess(Kt,s,t,n);return}}const de=E.loadPolicy.errorRetry,Ee=s.retry,Re={url:t.url,data:void 0,code:G};if(Pr(de,Ee,!1,Re))this.retry(de);else{var X;H.error(`${G} while loading ${t.url}`),(X=this.callbacks)==null||X.onError({code:G,text:n.statusText},t,n,s)}}}loadtimeout(){if(!this.config)return;const t=this.config.loadPolicy.timeoutRetry,n=this.stats.retry;if(Pr(t,n,!0))this.retry(t);else{var s;H.warn(`timeout while loading ${(s=this.context)==null?void 0:s.url}`);const m=this.callbacks;m&&(this.abortInternal(),m.onTimeout(this.stats,this.context,this.loader))}}retry(t){const{context:n,stats:s}=this;this.retryDelay=kr(t,s.retry),s.retry++,H.warn(`${status?"HTTP Status "+status:"Timeout"} while loading ${n==null?void 0:n.url}, retrying ${s.retry}/${t.maxNumRetry} in ${this.retryDelay}ms`),this.abortInternal(),this.loader=null,self.clearTimeout(this.retryTimeout),this.retryTimeout=self.setTimeout(this.loadInternal.bind(this),this.retryDelay)}loadprogress(t){const n=this.stats;n.loaded=t.loaded,t.lengthComputable&&(n.total=t.total)}getCacheAge(){let t=null;if(this.loader&&ja.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 ma={maxTimeToFirstByteMs:8e3,maxLoadTimeMs:2e4,timeoutRetry:null,errorRetry:null},Ua=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:Xn,fLoader:void 0,pLoader:void 0,xhrSetup:void 0,licenseXhrSetup:void 0,licenseResponseCallback:void 0,abrController:rt,bufferController:lo,capLevelController:wl,errorController:un,fpsController:cs,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:vu,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:ma},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},Ma()),{},{subtitleStreamController:Tl,subtitleTrackController:Fc,timelineController:ad,audioStreamController:Gc,audioTrackController:Il,emeController:De,cmcdController:xf,contentSteeringController:D,interstitialsController:wf});function Ma(){return{cueHandler:U,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 tn(O,t,n){if((t.liveSyncDurationCount||t.liveMaxLatencyDurationCount)&&(t.liveSyncDuration||t.liveMaxLatencyDuration))throw new Error("Illegal hls.js config: don't mix up liveSyncDurationCount/liveMaxLatencyDurationCount and liveSyncDuration/liveMaxLatencyDuration");if(t.liveMaxLatencyDurationCount!==void 0&&(t.liveSyncDurationCount===void 0||t.liveMaxLatencyDurationCount<=t.liveSyncDurationCount))throw new Error('Illegal hls.js config: "liveMaxLatencyDurationCount" must be greater than "liveSyncDurationCount"');if(t.liveMaxLatencyDuration!==void 0&&(t.liveSyncDuration===void 0||t.liveMaxLatencyDuration<=t.liveSyncDuration))throw new Error('Illegal hls.js config: "liveMaxLatencyDuration" must be greater than "liveSyncDuration"');const s=$r(O),m=["manifest","level","frag"],E=["TimeOut","MaxRetry","RetryDelay","MaxRetryTimeout"];return m.forEach(C=>{const j=`${C==="level"?"playlist":C}LoadPolicy`,X=t[j]===void 0,G=[];E.forEach(ue=>{const de=`${C}Loading${ue}`,Ee=t[de];if(Ee!==void 0&&X){G.push(de);const Re=s[j].default;switch(t[j]={default:Re},ue){case"TimeOut":Re.maxLoadTimeMs=Ee,Re.maxTimeToFirstByteMs=Ee;break;case"MaxRetry":Re.errorRetry.maxNumRetry=Ee,Re.timeoutRetry.maxNumRetry=Ee;break;case"RetryDelay":Re.errorRetry.retryDelayMs=Ee,Re.timeoutRetry.retryDelayMs=Ee;break;case"MaxRetryTimeout":Re.errorRetry.maxRetryDelayMs=Ee,Re.timeoutRetry.maxRetryDelayMs=Ee;break}}}),G.length&&n.warn(`hls.js config: "${G.join('", "')}" setting(s) are deprecated, use "${j}": ${zi(t[j])}`)}),b(b({},s),t)}function $r(O){return O&&typeof O=="object"?Array.isArray(O)?O.map($r):Object.keys(O).reduce((t,n)=>(t[n]=$r(O[n]),t),{}):O}function qr(O,t){const n=O.loader;n!==at&&n!==Xn?(t.log("[config]: Custom loader detected, cannot enable progressive streaming"),O.progressive=!1):ve()&&(O.loader=at,O.progressive=!0,O.enableSoftwareAES=!0,t.log("[config]: Progressive streaming enabled, using FetchLoader"))}const Pn=2,zn=.1,Xa=.05,Gi=100;class Qa extends ks{constructor(t,n){super("gap-controller",t.logger),this.hls=void 0,this.fragmentTracker=void 0,this.media=null,this.mediaSource=void 0,this.nudgeRetry=0,this.stallReported=!1,this.stalled=null,this.moved=!1,this.seeking=!1,this.buffered={},this.lastCurrentTime=0,this.ended=0,this.waiting=0,this.onMediaPlaying=()=>{this.ended=0,this.waiting=0},this.onMediaWaiting=()=>{var s;(s=this.media)!=null&&s.seeking||(this.waiting=self.performance.now(),this.tick())},this.onMediaEnded=()=>{if(this.hls){var s;this.ended=((s=this.media)==null?void 0:s.currentTime)||1,this.hls.trigger(o.MEDIA_ENDED,{stalled:!1})}},this.hls=t,this.fragmentTracker=n,this.registerListeners()}registerListeners(){const{hls:t}=this;t&&(t.on(o.MEDIA_ATTACHED,this.onMediaAttached,this),t.on(o.MEDIA_DETACHING,this.onMediaDetaching,this),t.on(o.BUFFER_APPENDED,this.onBufferAppended,this))}unregisterListeners(){const{hls:t}=this;t&&(t.off(o.MEDIA_ATTACHED,this.onMediaAttached,this),t.off(o.MEDIA_DETACHING,this.onMediaDetaching,this),t.off(o.BUFFER_APPENDED,this.onBufferAppended,this))}destroy(){super.destroy(),this.unregisterListeners(),this.media=this.hls=this.fragmentTracker=null,this.mediaSource=void 0}onMediaAttached(t,n){this.setInterval(Gi),this.mediaSource=n.mediaSource;const s=this.media=n.media;$a(s,"playing",this.onMediaPlaying),$a(s,"waiting",this.onMediaWaiting),$a(s,"ended",this.onMediaEnded)}onMediaDetaching(t,n){this.clearInterval();const{media:s}=this;s&&(rs(s,"playing",this.onMediaPlaying),rs(s,"waiting",this.onMediaWaiting),rs(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 C=this.media;if(!C)return;const{seeking:j}=C,X=this.seeking&&!j,G=!this.seeking&&j,ue=C.paused&&!j||C.ended||C.playbackRate===0;if(this.seeking=j,t!==n){n&&(this.ended=0),this.moved=!0,j||(this.nudgeRetry=0,E.nudgeOnVideoHole&&!ue&&t>n&&this.nudgeOnVideoHole(t,n)),this.waiting===0&&this.stallResolved(t);return}if(G||X){X&&this.stallResolved(t);return}if(ue){this.nudgeRetry=0,this.stallResolved(t),!this.ended&&C.ended&&this.hls&&(this.ended=t||1,this.hls.trigger(o.MEDIA_ENDED,{stalled:!1}));return}if(!ci.getBuffered(C).length){this.nudgeRetry=0;return}const de=ci.bufferInfo(C,t,0),Ee=de.nextStart||0,Re=this.fragmentTracker;if(j&&Re&&this.hls){const pn=fs(this.hls.inFlightFragments,t),Ur=de.len>Pn,sn=!Ee||pn||Ee-t>Pn&&!Re.getPartialFragment(t);if(Ur||sn)return;this.moved=!1}const Le=(m=this.hls)==null?void 0:m.latestLevelDetails;if(!this.moved&&this.stalled!==null&&Re){if(!(de.len>0)&&!Ee)return;const Ur=Math.max(Ee,de.start||0)-t,nn=!!(Le!=null&&Le.live)?Le.targetduration*2:Pn,Vr=Nl(t,Re);if(Ur>0&&(Ur<=nn||Vr)){C.paused||this._trySkipBufferHole(Vr);return}}const ut=E.detectStallWithCurrentTimeMs,ot=self.performance.now(),Kt=this.waiting;let er=this.stalled;if(er===null)if(Kt>0&&ot-Kt<ut)er=this.stalled=Kt;else{this.stalled=ot;return}const ir=ot-er;if(!j&&(ir>=ut||Kt)&&this.hls){var Er;if(((Er=this.mediaSource)==null?void 0:Er.readyState)==="ended"&&!(Le!=null&&Le.live)&&Math.abs(t-((Le==null?void 0:Le.edge)||0))<1){if(this.ended)return;this.ended=t||1,this.hls.trigger(o.MEDIA_ENDED,{stalled:!0});return}if(this._reportStall(de),!this.media||!this.hls)return}const jr=ci.bufferInfo(C,t,E.maxBufferHole);this._tryFixBufferStall(jr,ir,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=ci.bufferedInfo(ci.timeRangesToArray(this.buffered.audio),t,0);if(E.len>1&&n>=E.start){const C=ci.timeRangesToArray(m),j=ci.bufferedInfo(C,n,0).bufferedIndex;if(j>-1&&j<C.length-1){const X=ci.bufferedInfo(C,t,0).bufferedIndex,G=C[j].end,ue=C[j+1].start;if((X===-1||X>j)&&ue-G<1&&t-G<2){const de=new Error(`nudging playhead to flush pipeline after video hole. currentTime: ${t} hole: ${G} -> ${ue} buffered index: ${X}`);this.warn(de.message),this.media.currentTime+=1e-6;let Ee=Nl(t,this.fragmentTracker);Ee&&"fragment"in Ee?Ee=Ee.fragment:Ee||(Ee=void 0);const Re=ci.bufferInfo(this.media,t,0);this.hls.trigger(o.ERROR,{type:c.MEDIA_ERROR,details:f.BUFFER_SEEK_OVER_HOLE,fatal:!1,error:de,reason:de.message,frag:Ee,buffer:Re.len,bufferInfo:Re})}}}}}_tryFixBufferStall(t,n,s){var m,E;const{fragmentTracker:C,media:j}=this,X=(m=this.hls)==null?void 0:m.config;if(!j||!C||!X)return;const G=(E=this.hls)==null?void 0:E.latestLevelDetails,ue=Nl(s,C);if((ue||G!=null&&G.live&&s<G.fragmentStart)&&(this._trySkipBufferHole(ue)||!this.media))return;const de=t.buffered,Ee=this.adjacentTraversal(t,s);(de&&de.length>1&&t.len>X.maxBufferHole||t.nextStart&&(t.nextStart-s<X.maxBufferHole||Ee))&&(n>X.highBufferWatchdogPeriod*1e3||this.waiting)&&(this.warn("Trying to nudge playhead over buffer-hole"),this._tryNudgeBuffer(t))}adjacentTraversal(t,n){const s=this.fragmentTracker,m=t.nextStart;if(s&&m){const E=s.getFragAtPos(n,u.MAIN),C=s.getFragAtPos(m,u.MAIN);if(E&&C)return C.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 C=new Error(`Playback stalling at @${s.currentTime} due to low buffer (${zi(t)})`);this.warn(C.message),n.trigger(o.ERROR,{type:c.MEDIA_ERROR,details:f.BUFFER_STALLED_ERROR,fatal:!1,error:C,buffer:t.len,bufferInfo:t,stalled:{start:E}})}}_trySkipBufferHole(t){var n;const{fragmentTracker:s,media:m}=this,E=(n=this.hls)==null?void 0:n.config;if(!m||!s||!E)return 0;const C=m.currentTime,j=ci.bufferInfo(m,C,0),X=C<j.start?j.start:j.nextStart;if(X&&this.hls){const ue=j.len<=E.maxBufferHole,de=j.len>0&&j.len<1&&m.readyState<3,Ee=X-C;if(Ee>0&&(ue||de)){if(Ee>E.maxBufferHole){let Le=!1;if(C===0){const ut=s.getAppendedFrag(0,u.MAIN);ut&&X<ut.end&&(Le=!0)}if(!Le&&t){var G;if(!((G=this.hls.loadLevelObj)!=null&&G.details)||fs(this.hls.inFlightFragments,X))return 0;let ot=!1,Kt=t.end;for(;Kt<X;){const er=Nl(Kt,s);if(er)Kt+=er.duration;else{ot=!0;break}}if(ot)return 0}}const Re=Math.max(X+Xa,C+zn);if(this.warn(`skipping hole, adjusting currentTime from ${C} to ${Re}`),this.moved=!0,m.currentTime=Re,!(t!=null&&t.gap)){const Le=new Error(`fragment loaded with buffer holes, seeking from ${C} to ${Re}`),ut={type:c.MEDIA_ERROR,details:f.BUFFER_SEEK_OVER_HOLE,fatal:!1,error:Le,reason:Le.message,buffer:j.len,bufferInfo:j};t&&("fragment"in t?ut.part=t:ut.frag=t),this.hls.trigger(o.ERROR,ut)}return Re}}return 0}_tryNudgeBuffer(t){const{hls:n,media:s,nudgeRetry:m}=this,E=n==null?void 0:n.config;if(!s||!E)return 0;const C=s.currentTime;if(this.nudgeRetry++,m<E.nudgeMaxRetry){const j=C+(m+1)*E.nudgeOffset,X=new Error(`Nudging 'currentTime' from ${C} to ${j}`);this.warn(X.message),s.currentTime=j,n.trigger(o.ERROR,{type:c.MEDIA_ERROR,details:f.BUFFER_NUDGE_ON_STALL,error:X,fatal:!1,buffer:t.len,bufferInfo:t})}else{const j=new Error(`Playhead still not moving while enough data buffered @${C} 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 fs(O,t){const n=qa(O.main);if(n&&n.start<=t)return n;const s=qa(O.audio);return s&&s.start<=t?s:null}function qa(O){if(!O)return null;switch(O.state){case Ie.IDLE:case Ie.STOPPED:case Ie.ENDED:case Ie.ERROR:return null}return O.frag}function Nl(O,t){return t.getAppendedFrag(O,u.MAIN)||t.getPartialFragment(O)}const sd=.25;function od(){if(typeof self!="undefined")return self.VTTCue||self.TextTrackCue}function ud(O,t,n,s,m){let E=new O(t,n,"");try{E.value=s,m&&(E.type=m)}catch(C){E=new O(t,n,zi(m?b({type:m},s):s))}return E}const ed=(()=>{const O=od();try{O&&new O(0,Number.POSITIVE_INFINITY,"")}catch(t){return Number.MAX_VALUE}return Number.POSITIVE_INFINITY})();class Sd{constructor(t){this.hls=void 0,this.id3Track=null,this.media=null,this.dateRangeCuesAppended={},this.removeCues=!0,this.assetCue=void 0,this.onEventCueEnter=()=>{this.hls&&this.hls.trigger(o.EVENT_CUE_ENTER,{})},this.hls=t,this._registerListeners()}destroy(){this._unregisterListeners(),this.id3Track=null,this.media=null,this.dateRangeCuesAppended={},this.hls=this.onEventCueEnter=null}_registerListeners(){const{hls:t}=this;t&&(t.on(o.MEDIA_ATTACHING,this.onMediaAttaching,this),t.on(o.MEDIA_ATTACHED,this.onMediaAttached,this),t.on(o.MEDIA_DETACHING,this.onMediaDetaching,this),t.on(o.MANIFEST_LOADING,this.onManifestLoading,this),t.on(o.FRAG_PARSING_METADATA,this.onFragParsingMetadata,this),t.on(o.BUFFER_FLUSHING,this.onBufferFlushing,this),t.on(o.LEVEL_UPDATED,this.onLevelUpdated,this),t.on(o.LEVEL_PTS_UPDATED,this.onLevelPtsUpdated,this))}_unregisterListeners(){const{hls:t}=this;t&&(t.off(o.MEDIA_ATTACHING,this.onMediaAttaching,this),t.off(o.MEDIA_ATTACHED,this.onMediaAttached,this),t.off(o.MEDIA_DETACHING,this.onMediaDetaching,this),t.off(o.MANIFEST_LOADING,this.onManifestLoading,this),t.off(o.FRAG_PARSING_METADATA,this.onFragParsingMetadata,this),t.off(o.BUFFER_FLUSHING,this.onBufferFlushing,this),t.off(o.LEVEL_UPDATED,this.onLevelUpdated,this),t.off(o.LEVEL_PTS_UPDATED,this.onLevelPtsUpdated,this))}onMediaAttaching(t,n){var s;this.media=n.media,((s=n.overrides)==null?void 0:s.cueRemoval)===!1&&(this.removeCues=!1)}onMediaAttached(){var t;const n=(t=this.hls)==null?void 0:t.latestLevelDetails;n&&this.updateDateRangeCues(n)}onMediaDetaching(t,n){this.media=null,!n.transferMedia&&(this.id3Track&&(this.removeCues&&ns(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 Ka(s,this.media),s}return this.media.addTextTrack("metadata","id3")}}onFragParsingMetadata(t,n){if(!this.media||!this.hls)return;const{enableEmsgMetadataCues:s,enableID3MetadataCues:m}=this.hls.config;if(!s&&!m)return;const{samples:E}=n;this.id3Track||(this.id3Track=this.createTrack(this.media));const C=od();if(C)for(let j=0;j<E.length;j++){const X=E[j].type;if(X===Cn.emsg&&!s||!m)continue;const G=oi(E[j].data),ue=E[j].pts;let de=ue+E[j].duration;de>ed&&(de=ed),de-ue<=0&&(de=ue+sd);for(let Re=0;Re<G.length;Re++){const Le=G[Re];if(!Wi(Le)){this.updateId3CueEnds(ue,X);const ut=ud(C,ue,de,Le,X);ut&&this.id3Track.addCue(ut)}}}}updateId3CueEnds(t,n){var s;const m=(s=this.id3Track)==null?void 0:s.cues;if(m)for(let E=m.length;E--;){const C=m[E];C.type===n&&C.startTime<t&&C.endTime===ed&&(C.endTime=t)}}onBufferFlushing(t,{startOffset:n,endOffset:s,type:m}){const{id3Track:E,hls:C}=this;if(!C)return;const{config:{enableEmsgMetadataCues:j,enableID3MetadataCues:X}}=C;if(E&&(j||X)){let G;m==="audio"?G=ue=>ue.type===Cn.audioId3&&X:m==="video"?G=ue=>ue.type===Cn.emsg&&j:G=ue=>ue.type===Cn.audioId3&&X||ue.type===Cn.emsg&&j,Ao(E,n,s,G)}}onLevelUpdated(t,{details:n}){this.updateDateRangeCues(n,!0)}onLevelPtsUpdated(t,n){Math.abs(n.drift)>.01&&this.updateDateRangeCues(n.details)}updateDateRangeCues(t,n){if(!this.hls||!this.media)return;const{assetPlayerId:s,timelineOffset:m,enableDateRangeMetadataCues:E,interstitialsController:C}=this.hls.config;if(!E)return;const j=od();if(s&&m&&!C){const{fragmentStart:ut,fragmentEnd:ot}=t;let Kt=this.assetCue;Kt?(Kt.startTime=ut,Kt.endTime=ot):j&&(Kt=this.assetCue=ud(j,ut,ot,{assetPlayerId:this.hls.config.assetPlayerId},"hlsjs.interstitial.asset"),Kt&&(Kt.id=s,this.id3Track||(this.id3Track=this.createTrack(this.media)),this.id3Track.addCue(Kt),Kt.addEventListener("enter",this.onEventCueEnter)))}if(!t.hasProgramDateTime)return;const{id3Track:X}=this,{dateRanges:G}=t,ue=Object.keys(G);let de=this.dateRangeCuesAppended;if(X&&n){var Ee;if((Ee=X.cues)!=null&&Ee.length){const ut=Object.keys(de).filter(ot=>!ue.includes(ot));for(let ot=ut.length;ot--;){var Re;const Kt=ut[ot],er=(Re=de[Kt])==null?void 0:Re.cues;delete de[Kt],er&&Object.keys(er).forEach(ir=>{const Er=er[ir];if(Er){Er.removeEventListener("enter",this.onEventCueEnter);try{X.removeCue(Er)}catch(jr){}}})}}else de=this.dateRangeCuesAppended={}}const Le=t.fragments[t.fragments.length-1];if(!(ue.length===0||!r(Le==null?void 0:Le.programDateTime))){this.id3Track||(this.id3Track=this.createTrack(this.media));for(let ut=0;ut<ue.length;ut++){const ot=ue[ut],Kt=G[ot],er=Kt.startTime,ir=de[ot],Er=(ir==null?void 0:ir.cues)||{};let jr=(ir==null?void 0:ir.durationKnown)||!1,pn=ed;const{duration:Ur,endDate:sn}=Kt;if(sn&&Ur!==null)pn=er+Ur,jr=!0;else if(Kt.endOnNext&&!jr){const Vr=ue.reduce((In,Ei)=>{if(Ei!==Kt.id){const Ji=G[Ei];if(Ji.class===Kt.class&&Ji.startDate>Kt.startDate&&(!In||Kt.startDate<In.startDate))return Ji}return In},null);Vr&&(pn=Vr.startTime,jr=!0)}const nn=Object.keys(Kt.attr);for(let Vr=0;Vr<nn.length;Vr++){const In=nn[Vr];if(!vo(In))continue;const Ei=Er[In];if(Ei)jr&&!(ir!=null&&ir.durationKnown)?Ei.endTime=pn:Math.abs(Ei.startTime-er)>.01&&(Ei.startTime=er,Ei.endTime=pn);else if(j){let Ji=Kt.attr[In];Wo(In)&&(Ji=K(Ji));const ea=ud(j,er,pn,{key:In,data:Ji},Cn.dateRange);ea&&(ea.id=ot,this.id3Track.addCue(ea),Er[In]=ea,C&&(In==="X-ASSET-LIST"||In==="X-ASSET-URL")&&ea.addEventListener("enter",this.onEventCueEnter))}}de[ot]={cues:Er,dateRange:Kt,durationKnown:jr}}}}}class Ad{constructor(t){this.hls=void 0,this.config=void 0,this.media=null,this.currentTime=0,this.stallCount=0,this._latency=null,this._targetLatencyUpdated=!1,this.onTimeupdate=()=>{const{media:n}=this,s=this.levelDetails;if(!n||!s)return;this.currentTime=n.currentTime;const m=this.computeLatency();if(m===null)return;this._latency=m;const{lowLatencyMode:E,maxLiveSyncPlaybackRate:C}=this.config;if(!E||C===1||!s.live)return;const j=this.targetLatency;if(j===null)return;const X=m-j,G=Math.min(this.maxLatency,j+s.targetduration);if(X<G&&X>.05&&this.forwardBufferLength>1){const de=Math.min(2,Math.max(1,C)),Ee=Math.round(2/(1+Math.exp(-.75*X-this.edgeStalled))*20)/20,Re=Math.min(de,Math.max(1,Ee));this.changeMediaPlaybackRate(n,Re)}else n.playbackRate!==1&&n.playbackRate!==0&&this.changeMediaPlaybackRate(n,1)},this.hls=t,this.config=t.config,this.registerListeners()}get levelDetails(){var t;return((t=this.hls)==null?void 0:t.latestLevelDetails)||null}get latency(){return this._latency||0}get maxLatency(){const{config:t}=this;if(t.liveMaxLatencyDuration!==void 0)return t.liveMaxLatencyDuration;const n=this.levelDetails;return n?t.liveMaxLatencyDurationCount*n.targetduration:0}get targetLatency(){const t=this.levelDetails;if(t===null||this.hls===null)return null;const{holdBack:n,partHoldBack:s,targetduration:m}=t,{liveSyncDuration:E,liveSyncDurationCount:C,lowLatencyMode:j}=this.config,X=this.hls.userConfig;let G=j&&s||n;(this._targetLatencyUpdated||X.liveSyncDuration||X.liveSyncDurationCount||G===0)&&(G=E!==void 0?E:C*m);const ue=m;return G+Math.min(this.stallCount*this.config.liveSyncOnStallIncrease,ue)}set targetLatency(t){this.stallCount=0,this.config.liveSyncDuration=t,this._targetLatencyUpdated=!0}get liveSyncPosition(){const t=this.estimateLiveEdge(),n=this.targetLatency;if(t===null||n===null)return null;const s=this.levelDetails;if(s===null)return null;const m=s.edge,E=t-n-this.edgeStalled,C=m-s.totalduration,j=m-(this.config.lowLatencyMode&&s.partTarget||s.targetduration);return Math.min(Math.max(C,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 Td extends Eo{constructor(t,n){super(t,"level-controller"),this._levels=[],this._firstLevel=-1,this._maxAutoLevel=-1,this._startLevel=void 0,this.currentLevel=null,this.currentLevelIndex=-1,this.manualLevelIndex=-1,this.steering=void 0,this.onParsedComplete=void 0,this.steering=n,this._registerListeners()}_registerListeners(){const{hls:t}=this;t.on(o.MANIFEST_LOADING,this.onManifestLoading,this),t.on(o.MANIFEST_LOADED,this.onManifestLoaded,this),t.on(o.LEVEL_LOADED,this.onLevelLoaded,this),t.on(o.LEVELS_UPDATED,this.onLevelsUpdated,this),t.on(o.FRAG_BUFFERED,this.onFragBuffered,this),t.on(o.ERROR,this.onError,this)}_unregisterListeners(){const{hls:t}=this;t.off(o.MANIFEST_LOADING,this.onManifestLoading,this),t.off(o.MANIFEST_LOADED,this.onManifestLoaded,this),t.off(o.LEVEL_LOADED,this.onLevelLoaded,this),t.off(o.LEVELS_UPDATED,this.onLevelsUpdated,this),t.off(o.FRAG_BUFFERED,this.onFragBuffered,this),t.off(o.ERROR,this.onError,this)}destroy(){this._unregisterListeners(),this.steering=null,this.resetLevels(),super.destroy()}stopLoad(){this._levels.forEach(n=>{n.loadError=0,n.fragmentError=0}),super.stopLoad()}resetLevels(){this._startLevel=void 0,this.manualLevelIndex=-1,this.currentLevelIndex=-1,this.currentLevel=null,this._levels=[],this._maxAutoLevel=-1}onManifestLoading(t,n){this.resetLevels()}onManifestLoaded(t,n){const s=this.hls.config.preferManagedMediaSource,m=[],E={},C={};let j=!1,X=!1,G=!1;n.levels.forEach(ue=>{const de=ue.attrs;let{audioCodec:Ee,videoCodec:Re}=ue;Ee&&(ue.audioCodec=Ee=At(Ee,s)||void 0),Re&&(Re=ue.videoCodec=Nr(Re));const{width:Le,height:ut,unknownCodecs:ot}=ue,Kt=(ot==null?void 0:ot.length)||0;if(j||(j=!!(Le&&ut)),X||(X=!!Re),G||(G=!!Ee),Kt||Ee&&!this.isAudioSupported(Ee)||Re&&!this.isVideoSupported(Re)){this.log(`Some or all CODECS not supported "${de.CODECS}"`);return}const{CODECS:er,"FRAME-RATE":ir,"HDCP-LEVEL":Er,"PATHWAY-ID":jr,RESOLUTION:pn,"VIDEO-RANGE":Ur}=de,nn=`${`${jr||"."}-`}${ue.bitrate}-${pn}-${ir}-${er}-${Ur}-${Er}`;if(E[nn])if(E[nn].uri!==ue.url&&!ue.attrs["PATHWAY-ID"]){const Vr=C[nn]+=1;ue.attrs["PATHWAY-ID"]=new Array(Vr+1).join(".");const In=this.createLevel(ue);E[nn]=In,m.push(In)}else E[nn].addGroupId("audio",de.AUDIO),E[nn].addGroupId("text",de.SUBTITLES);else{const Vr=this.createLevel(ue);E[nn]=Vr,C[nn]=1,m.push(Vr)}}),this.filterAndSortMediaOptions(m,n,j,X,G)}createLevel(t){const n=new Ai(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=st(m,[])}return n}isAudioSupported(t){return Ce(t,"audio",this.hls.config.preferManagedMediaSource)}isVideoSupported(t){return Ce(t,"video",this.hls.config.preferManagedMediaSource)}filterAndSortMediaOptions(t,n,s,m,E){var C;let j=[],X=[],G=t;const ue=((C=n.stats)==null?void 0:C.parsing)||{};if((s||m)&&E&&(G=G.filter(({videoCodec:er,videoRange:ir,width:Er,height:jr})=>(!!er||!!(Er&&jr))&&Jn(ir))),G.length===0){Promise.resolve().then(()=>{if(this.hls){let er="no level with compatible codecs found in manifest",ir=er;n.levels.length&&(ir=`one or more CODECS in variant not supported: ${zi(n.levels.map(jr=>jr.attrs.CODECS).filter((jr,pn,Ur)=>Ur.indexOf(jr)===pn))}`,this.warn(ir),er+=` (${ir})`);const Er=new Error(er);this.hls.trigger(o.ERROR,{type:c.MEDIA_ERROR,details:f.MANIFEST_INCOMPATIBLE_CODECS_ERROR,fatal:!0,url:n.url,error:Er,reason:ir})}}),ue.end=performance.now();return}n.audioTracks&&(j=n.audioTracks.filter(er=>!er.audioCodec||this.isAudioSupported(er.audioCodec)),hd(j)),n.subtitles&&(X=n.subtitles,hd(X));const de=G.slice(0);G.sort((er,ir)=>{if(er.attrs["HDCP-LEVEL"]!==ir.attrs["HDCP-LEVEL"])return(er.attrs["HDCP-LEVEL"]||"")>(ir.attrs["HDCP-LEVEL"]||"")?1:-1;if(s&&er.height!==ir.height)return er.height-ir.height;if(er.frameRate!==ir.frameRate)return er.frameRate-ir.frameRate;if(er.videoRange!==ir.videoRange)return Yn.indexOf(er.videoRange)-Yn.indexOf(ir.videoRange);if(er.videoCodec!==ir.videoCodec){const Er=Je(er.videoCodec),jr=Je(ir.videoCodec);if(Er!==jr)return jr-Er}if(er.uri===ir.uri&&er.codecSet!==ir.codecSet){const Er=yt(er.codecSet),jr=yt(ir.codecSet);if(Er!==jr)return jr-Er}return er.averageBitrate!==ir.averageBitrate?er.averageBitrate-ir.averageBitrate:0});let Ee=de[0];if(this.steering&&(G=this.steering.filterParsedLevels(G),G.length!==de.length)){for(let er=0;er<de.length;er++)if(de[er].pathwayId===G[0].pathwayId){Ee=de[er];break}}this._levels=G;for(let er=0;er<G.length;er++)if(G[er]===Ee){var Re;this._firstLevel=er;const ir=Ee.bitrate,Er=this.hls.bandwidthEstimate;if(this.log(`manifest loaded, ${G.length} level(s) found, first bitrate: ${ir}`),((Re=this.hls.userConfig)==null?void 0:Re.abrEwmaDefaultEstimate)===void 0){const jr=Math.min(ir,this.hls.config.abrEwmaDefaultEstimateMax);jr>Er&&Er===this.hls.abrEwmaDefaultEstimate&&(this.hls.bandwidthEstimate=jr)}break}const Le=E&&!m,ut=this.hls.config,ot=!!(ut.audioStreamController&&ut.audioTrackController),Kt={levels:G,audioTracks:j,subtitleTracks:X,sessionData:n.sessionData,sessionKeys:n.sessionKeys,firstLevel:this._firstLevel,stats:n.stats,audio:E,video:m,altAudio:ot&&!Le&&j.some(er=>!!er.url)};ue.end=performance.now(),this.hls.trigger(o.MANIFEST_PARSED,Kt)}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 ue=new Error("invalid level idx"),de=t<0;if(this.hls.trigger(o.ERROR,{type:c.OTHER_ERROR,details:f.LEVEL_SWITCH_ERROR,level:t,fatal:de,error:ue,reason:ue.message}),de)return;t=Math.min(t,n.length-1)}const s=this.currentLevelIndex,m=this.currentLevel,E=m?m.attrs["PATHWAY-ID"]:void 0,C=n[t],j=C.attrs["PATHWAY-ID"];if(this.currentLevelIndex=t,this.currentLevel=C,s===t&&m&&E===j)return;this.log(`Switching to level ${t} (${C.height?C.height+"p ":""}${C.videoRange?C.videoRange+" ":""}${C.codecSet?C.codecSet+" ":""}@${C.bitrate})${j?" with Pathway "+j:""} from level ${s}${E?" with Pathway "+E:""}`);const X={level:t,attrs:C.attrs,details:C.details,bitrate:C.bitrate,averageBitrate:C.averageBitrate,maxBitrate:C.maxBitrate,realBitrate:C.realBitrate,width:C.width,height:C.height,codecSet:C.codecSet,audioCodec:C.audioCodec,videoCodec:C.videoCodec,audioGroups:C.audioGroups,subtitleGroups:C.subtitleGroups,loaded:C.loaded,loadError:C.loadError,fragmentError:C.fragmentError,name:C.name,id:C.id,uri:C.uri,url:C.url,urlId:0,audioGroupIds:C.audioGroupIds,textGroupIds:C.textGroupIds};this.hls.trigger(o.LEVEL_SWITCHING,X);const G=C.details;if(!G||G.live){const ue=this.switchParams(C.uri,m==null?void 0:m.details,G);this.loadPlaylist(ue)}}get manualLevel(){return this.manualLevelIndex}set manualLevel(t){this.manualLevelIndex=t,this._startLevel===void 0&&(this._startLevel=t),t!==-1&&(this.level=t)}get firstLevel(){return this._firstLevel}set firstLevel(t){this._firstLevel=t}get startLevel(){if(this._startLevel===void 0){const t=this.hls.config.startLevel;return t!==void 0?t:this.hls.firstAutoLevel}return this._startLevel}set startLevel(t){this._startLevel=t}get pathways(){return this.steering?this.steering.pathways():[]}get pathwayPriority(){return this.steering?this.steering.pathwayPriority:null}set pathwayPriority(t){if(this.steering){const n=this.steering.pathways(),s=t.filter(m=>n.indexOf(m)!==-1);if(t.length<1){this.warn(`pathwayPriority ${t} should contain at least one pathway from list: ${n}`);return}this.steering.pathwayPriority=s}}onError(t,n){n.fatal||!n.context||n.context.type===h.LEVEL&&n.context.level===this.level&&this.checkRetry(n)}onFragBuffered(t,{frag:n}){if(n!==void 0&&n.type===u.MAIN){const s=n.elementaryStreams;if(!Object.keys(s).some(E=>!!s[E]))return;const m=this._levels[n.level];m!=null&&m.loadError&&(this.log(`Resetting level error count of ${m.loadError} on frag buffered`),m.loadError=0)}}onLevelLoaded(t,n){var s;const{level:m,details:E}=n,C=n.levelInfo;if(!C){var j;this.warn(`Invalid level index ${m}`),(j=n.deliveryDirectives)!=null&&j.skip&&(E.deltaUpdateFailed=!0);return}if(C===this.currentLevel||n.withoutMultiVariant){C.fragmentError===0&&(C.loadError=0);let X=C.details;X===n.details&&X.advanced&&(X=void 0),this.playlistLoaded(m,n,X)}else(s=n.deliveryDirectives)!=null&&s.skip&&(E.deltaUpdateFailed=!0)}loadPlaylist(t){super.loadPlaylist(),this.shouldLoadPlaylist(this.currentLevel)&&this.scheduleLoading(this.currentLevel,t)}loadingPlaylist(t,n){super.loadingPlaylist(t,n);const s=this.getUrlWithDirectives(t.uri,n),m=this.currentLevelIndex,E=t.attrs["PATHWAY-ID"],C=t.details,j=C==null?void 0:C.age;this.log(`Loading level index ${m}${(n==null?void 0:n.msn)!==void 0?" at sn "+n.msn+" part "+n.part:""}${E?" Pathway "+E:""}${j&&C.live?" age "+j.toFixed(1)+(C.type?" "+C.type||0:""):""} ${s}`),this.hls.trigger(o.LEVEL_LOADING,{url:s,level:m,levelInfo:t,pathwayId:t.attrs["PATHWAY-ID"],id:0,deliveryDirectives:n||null})}get nextLoadLevel(){return this.manualLevelIndex!==-1?this.manualLevelIndex:this.hls.nextAutoLevel}set nextLoadLevel(t){this.level=t,this.manualLevelIndex===-1&&(this.hls.nextAutoLevel=t)}removeLevel(t){var n;if(this._levels.length===1)return;const s=this._levels.filter((E,C)=>C!==t?!0:(this.steering&&this.steering.removeLevel(E),E===this.currentLevel&&(this.currentLevel=null,this.currentLevelIndex=-1,E.details&&E.details.fragments.forEach(j=>j.level=-1)),!1));ps(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 hd(O){const t={};O.forEach(n=>{const s=n.groupId||"";n.id=t[s]=t[s]||0,t[s]++})}function pd(){return self.SourceBuffer||self.WebKitSourceBuffer}function _d(){if(!ae())return!1;const t=pd();return!t||t.prototype&&typeof t.prototype.appendBuffer=="function"&&typeof t.prototype.remove=="function"}function Cd(){if(!_d())return!1;const O=ae();return typeof(O==null?void 0:O.isTypeSupported)=="function"&&(["avc1.42E01E,mp4a.40.2","av01.0.01M.08","vp09.00.50.08"].some(t=>O.isTypeSupported(ye(t,"video")))||["mp4a.40.2","fLaC"].some(t=>O.isTypeSupported(ye(t,"audio"))))}function Pd(){var O;const t=pd();return typeof(t==null||(O=t.prototype)==null?void 0:O.changeType)=="function"}const md=100;class vd extends $t{constructor(t,n,s){super(t,n,s,"stream-controller",u.MAIN),this.audioCodecSwap=!1,this.level=-1,this._forceStartLoad=!1,this._hasEnoughToStart=!1,this.altAudio=0,this.audioOnly=!1,this.fragPlaying=null,this.fragLastKbps=0,this.couldBacktrack=!1,this.backtrackFragment=null,this.audioCodecSwitch=!1,this.videoBuffer=null,this.onMediaPlaying=()=>{this.tick()},this.onMediaSeeked=()=>{const m=this.media,E=m?m.currentTime:null;if(E===null||!r(E)||(this.log(`Media seeked to ${E.toFixed(3)}`),!this.getBufferedFrag(E)))return;const C=this.getFwdBufferInfoAtPos(m,E,u.MAIN,0);if(C===null||C.len===0){this.warn(`Main forward buffer length at ${E} on "seeked" event ${C?C.len:"empty"})`);return}this.tick()},this.registerListeners()}registerListeners(){super.registerListeners();const{hls:t}=this;t.on(o.MANIFEST_PARSED,this.onManifestParsed,this),t.on(o.LEVEL_LOADING,this.onLevelLoading,this),t.on(o.LEVEL_LOADED,this.onLevelLoaded,this),t.on(o.FRAG_LOAD_EMERGENCY_ABORTED,this.onFragLoadEmergencyAborted,this),t.on(o.AUDIO_TRACK_SWITCHING,this.onAudioTrackSwitching,this),t.on(o.AUDIO_TRACK_SWITCHED,this.onAudioTrackSwitched,this),t.on(o.BUFFER_CREATED,this.onBufferCreated,this),t.on(o.BUFFER_FLUSHED,this.onBufferFlushed,this),t.on(o.LEVELS_UPDATED,this.onLevelsUpdated,this),t.on(o.FRAG_BUFFERED,this.onFragBuffered,this)}unregisterListeners(){super.unregisterListeners();const{hls:t}=this;t.off(o.MANIFEST_PARSED,this.onManifestParsed,this),t.off(o.LEVEL_LOADED,this.onLevelLoaded,this),t.off(o.FRAG_LOAD_EMERGENCY_ABORTED,this.onFragLoadEmergencyAborted,this),t.off(o.AUDIO_TRACK_SWITCHING,this.onAudioTrackSwitching,this),t.off(o.AUDIO_TRACK_SWITCHED,this.onAudioTrackSwitched,this),t.off(o.BUFFER_CREATED,this.onBufferCreated,this),t.off(o.BUFFER_FLUSHED,this.onBufferFlushed,this),t.off(o.LEVELS_UPDATED,this.onLevelsUpdated,this),t.off(o.FRAG_BUFFERED,this.onFragBuffered,this)}onHandlerDestroying(){this.onMediaPlaying=this.onMediaSeeked=null,this.unregisterListeners(),super.onHandlerDestroying()}startLoad(t,n){if(this.levels){const{lastCurrentTime:s,hls:m}=this;if(this.stopLoad(),this.setInterval(md),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=Ie.IDLE,this.nextLoadPosition=this.lastCurrentTime=t+this.timelineOffset,this.startPosition=n?-1:t,this.tick()}else this._forceStartLoad=!0,this.state=Ie.STOPPED}stopLoad(){this._forceStartLoad=!1,super.stopLoad()}doTick(){switch(this.state){case Ie.WAITING_LEVEL:{const{levels:t,level:n}=this,s=t==null?void 0:t[n],m=s==null?void 0:s.details;if(m&&(!m.live||this.levelLastLoaded===s&&!this.waitForLive(s))){if(this.waitForCdnTuneIn(m))break;this.state=Ie.IDLE;break}else if(this.hls.nextLoadLevel!==this.level){this.state=Ie.IDLE;break}break}case Ie.FRAG_LOADING_WAITING_RETRY:this.checkRetryDate();break}this.state===Ie.IDLE&&this.doTickIdle(),this.onTickEnd()}onTickEnd(){var t;super.onTickEnd(),(t=this.media)!=null&&t.readyState&&this.media.seeking===!1&&(this.lastCurrentTime=this.media.currentTime),this.checkFragmentChanged()}doTickIdle(){const{hls:t,levelLastLoaded:n,levels:s,media:m}=this;if(n===null||!m&&!this.primaryPrefetch&&(this.startFragRequested||!t.config.startFragPrefetch)||this.altAudio&&this.audioOnly)return;const E=this.buffering?t.nextLoadLevel:t.loadLevel;if(!(s!=null&&s[E]))return;const C=s[E],j=this.getMainFwdBufferInfo();if(j===null)return;const X=this.getLevelDetails();if(X&&this._streamEnded(j,X)){const ut={};this.altAudio===2&&(ut.type="video"),this.hls.trigger(o.BUFFER_EOS,ut),this.state=Ie.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 G=C.details;if(!G||this.state===Ie.WAITING_LEVEL||this.waitForLive(C)){this.level=E,this.state=Ie.WAITING_LEVEL,this.startFragRequested=!1;return}const ue=j.len,de=this.getMaxBufferLength(C.maxBitrate);if(ue>=de)return;this.backtrackFragment&&this.backtrackFragment.start>j.end&&(this.backtrackFragment=null);const Ee=this.backtrackFragment?this.backtrackFragment.start:j.end;let Re=this.getNextFragment(Ee,G);if(this.couldBacktrack&&!this.fragPrevious&&Re&&Ae(Re)&&this.fragmentTracker.getState(Re)!==gn.OK){var Le;const ot=((Le=this.backtrackFragment)!=null?Le:Re).sn-G.startSN,Kt=G.fragments[ot-1];Kt&&Re.cc===Kt.cc&&(Re=Kt,this.fragmentTracker.removeFragment(Kt))}else this.backtrackFragment&&j.len&&(this.backtrackFragment=null);if(Re&&this.isLoopLoading(Re,Ee)){if(!Re.gap){const ot=this.audioOnly&&!this.altAudio?ie.AUDIO:ie.VIDEO,Kt=(ot===ie.VIDEO?this.videoBuffer:this.mediaBuffer)||this.media;Kt&&this.afterBufferFlushed(Kt,ot,u.MAIN)}Re=this.getNextFragmentLoopLoading(Re,G,j,u.MAIN,de)}Re&&(Re.initSegment&&!Re.initSegment.data&&!this.bitrateTest&&(Re=Re.initSegment),this.loadFragment(Re,C,Ee))}loadFragment(t,n,s){const m=this.fragmentTracker.getState(t);m===gn.NOT_LOADED||m===gn.PARTIAL?Ae(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,X=t[j],G=this.fragLastKbps;G&&this.fragCurrent?s=this.fragCurrent.duration*X.maxBitrate/(1e3*G)+1:s=0}else s=0;const C=this.getBufferedFrag(n.currentTime+s);if(C){const j=this.followingBufferedFrag(C);if(j){this.abortCurrentFrag();const X=j.maxStartPTS?j.maxStartPTS:j.start,G=j.duration,ue=Math.max(C.end,X+Math.min(Math.max(G-this.config.maxFragLookUpTolerance,G*(this.couldBacktrack?.5:.125)),G*(this.couldBacktrack?.75:.25)));this.flushMainBuffer(ue,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 Ie.KEY_LOADING:case Ie.FRAG_LOADING:case Ie.FRAG_LOADING_WAITING_RETRY:case Ie.PARSING:case Ie.PARSED:this.state=Ie.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;$a(s,"playing",this.onMediaPlaying),$a(s,"seeked",this.onMediaSeeked)}onMediaDetaching(t,n){const{media:s}=this;s&&(rs(s,"playing",this.onMediaPlaying),rs(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;for(let E=0;E<n.levels.length;E++){const C=n.levels[E].audioCodec;C&&(s=s||C.indexOf("mp4a.40.2")!==-1,m=m||C.indexOf("mp4a.40.5")!==-1)}this.audioCodecSwitch=s&&m&&!Pd(),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!==Ie.IDLE)return;const m=n.levelInfo;(!m.details||m.details.live&&(this.levelLastLoaded!==m||m.details.expired)||this.waitForCdnTuneIn(m.details))&&(this.state=Ie.WAITING_LEVEL)}onLevelLoaded(t,n){var s;const{levels:m,startFragRequested:E}=this,C=n.level,j=n.details,X=j.totalduration;if(!m){this.warn(`Levels were reset while loading level ${C}`);return}this.log(`Level ${C} loaded [${j.startSN},${j.endSN}]${j.lastPartSn?`[part-${j.lastPartSn}-${j.lastPartIndex}]`:""}, cc [${j.startCC}, ${j.endCC}] duration:${X}`);const G=n.levelInfo,ue=this.fragCurrent;ue&&(this.state===Ie.FRAG_LOADING||this.state===Ie.FRAG_LOADING_WAITING_RETRY)&&ue.level!==n.level&&ue.loader&&this.abortCurrentFrag();let de=0;if(j.live||(s=G.details)!=null&&s.live){var Ee;if(this.checkLiveUpdate(j),j.deltaUpdateFailed)return;de=this.alignPlaylists(j,G.details,(Ee=this.levelLastLoaded)==null?void 0:Ee.details)}if(G.details=j,this.levelLastLoaded=G,E||this.setStartPosition(j,de),this.hls.trigger(o.LEVEL_UPDATED,{details:j,level:C}),this.state===Ie.WAITING_LEVEL){if(this.waitForCdnTuneIn(j))return;this.state=Ie.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(),C=t.fragmentStart,j=t.edge,X=E>=C-n.maxFragLookUpTolerance&&E<=j;if(m!==null&&s.duration>m&&(E<m||!X)){const ue=n.liveMaxLatencyDuration!==void 0?n.liveMaxLatencyDuration:n.liveMaxLatencyDurationCount*t.targetduration;if((!X&&s.readyState<4||E<j-ue)&&(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 G;const de=ci.bufferInfo(s,m,0);if(!((G=de.buffered)!=null&&G.length)){s.currentTime=m;return}if(de.start<=E){s.currentTime=m;return}const{nextStart:Re}=ci.bufferedInfo(de.buffered,E,0);Re&&(s.currentTime=Re)}else s.currentTime=m}}_handleFragmentLoadProgress(t){var n;const s=t.frag,{part:m,payload:E}=t,{levels:C}=this;if(!C){this.warn(`Levels were reset while fragment load was in progress. Fragment ${s.sn} of level ${s.level} will not be buffered`);return}const j=C[s.level];if(!j){this.warn(`Level ${s.level} not found on progress`);return}const X=j.details;if(!X){this.warn(`Dropping fragment ${s.sn} of level ${s.level} after level details were reset`),this.fragmentTracker.removeFragment(s);return}const G=j.videoCodec,ue=X.PTSKnown||!X.live,de=(n=s.initSegment)==null?void 0:n.data,Ee=this._getAudioCodec(j),Re=this.transmuxer=this.transmuxer||new tl(this.hls,u.MAIN,this._handleTransmuxComplete.bind(this),this._handleTransmuxerFlush.bind(this)),Le=m?m.index:-1,ut=Le!==-1,ot=new Bo(s.level,s.sn,s.stats.chunkCount,E.byteLength,Le,ut),Kt=this.initPTS[s.cc];Re.push(E,de,Ee,G,s,m,X.totalduration,ue,ot,Kt)}onAudioTrackSwitching(t,n){const s=this.hls,m=this.altAudio===2;if(_t(n.url,s))this.altAudio=1;else{if(this.mediaBuffer!==this.media){this.log("Switching on main audio, use media.buffered to schedule main fragment loading"),this.mediaBuffer=this.media;const C=this.fragCurrent;C&&(this.log("Switching to main audio track, cancel main fragment load"),C.abortRequests(),this.fragmentTracker.removeFragment(C)),this.resetTransmuxer(),this.resetLoadingState()}else this.audioOnly&&this.resetTransmuxer();if(m){this.fragmentTracker.removeAllFragments(),s.once(o.BUFFER_FLUSHED,()=>{this.hls&&this.hls.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=_t(n.url,this.hls);if(s){const m=this.videoBuffer;m&&this.mediaBuffer!==m&&(this.log("Switching on alternate audio, use video.buffered to schedule main fragment loading"),this.mediaBuffer=m)}this.altAudio=s?2:0,this.tick()}onBufferCreated(t,n){const s=n.tracks;let m,E,C=!1;for(const j in s){const X=s[j];if(X.id==="main"){if(E=j,m=X,j==="video"){const G=s[j];G&&(this.videoBuffer=G.buffer)}}else C=!0}C&&m?(this.log(`Alternate track found, use ${E}.buffered to schedule main fragment loading`),this.mediaBuffer=m.buffer):this.mediaBuffer=this.media}onFragBuffered(t,n){const{frag:s,part:m}=n,E=s.type===u.MAIN;if(E){if(this.fragContextChanged(s)){this.warn(`Fragment ${s.sn}${m?" p: "+m.index:""} of level ${s.level} finished buffering, but was aborted. state: ${this.state}`),this.state===Ie.PARSED&&(this.state=Ie.IDLE);return}const j=m?m.stats:s.stats;this.fragLastKbps=Math.round(8*j.total/(j.buffering.end-j.loading.first)),Ae(s)&&(this.fragPrevious=s),this.fragBufferedComplete(s,m)}const C=this.media;C&&(!this._hasEnoughToStart&&ci.getBuffered(C).length&&(this._hasEnoughToStart=!0,this.seekToStartPos()),E&&this.tick())}get hasEnoughToStart(){return this._hasEnoughToStart}onError(t,n){var s;if(n.fatal){this.state=Ie.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===Ie.WAITING_LEVEL&&((s=n.context)==null?void 0:s.type)===h.LEVEL&&(this.state=Ie.IDLE);break;case f.BUFFER_ADD_CODEC_ERROR:case f.BUFFER_APPEND_ERROR:if(n.parent!=="main")return;this.reduceLengthAndFlushBuffer(n)&&this.resetLoadingState();break;case f.BUFFER_FULL_ERROR:if(n.parent!=="main")return;this.reduceLengthAndFlushBuffer(n)&&(!this.config.interstitialsController&&this.config.assetPlayerId?this._hasEnoughToStart=!0:this.flushMainBuffer(0,Number.POSITIVE_INFINITY));break;case f.INTERNAL_EXCEPTION:this.recoverWorkerError(n);break}}onFragLoadEmergencyAborted(){this.state=Ie.IDLE,this._hasEnoughToStart||(this.startFragRequested=!1,this.nextLoadPosition=this.lastCurrentTime),this.tickImmediate()}onBufferFlushed(t,{type:n}){if(n!==ie.AUDIO||!this.altAudio){const s=(n===ie.VIDEO?this.videoBuffer:this.mediaBuffer)||this.media;s&&(this.afterBufferFlushed(s,n,u.MAIN),this.tick())}}onLevelsUpdated(t,n){this.level>-1&&this.fragCurrent&&(this.level=this.fragCurrent.level,this.level===-1&&this.resetWhenMissingContext(this.fragCurrent)),this.levels=n.levels}swapAudioCodec(){this.audioCodecSwap=!this.audioCodecSwap}seekToStartPos(){const{media:t}=this;if(!t)return;const n=t.currentTime;let s=this.startPosition;if(s>=0&&n<s){if(t.seeking){this.log(`could not seek to ${s}, already seeking at ${n}`);return}const m=this.timelineOffset;m&&s&&(s+=m);const E=this.getLevelDetails(),C=ci.getBuffered(t),j=C.length?C.start(0):0,X=j-s,G=Math.max(this.config.maxBufferHole,this.config.maxFragLookUpTolerance);(this.config.startOnSegmentBoundary||X>0&&(X<G||this.loadingParts&&X<2*((E==null?void 0:E.partTarget)||0)))&&(this.log(`adjusting start position by ${X} to match buffer start`),s+=X,this.startPosition=s),n<s&&(this.log(`seek to target start position ${s} from current time ${n} buffer start ${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=Ie.IDLE,this.startFragRequested=!1,this.bitrateTest=!1;const C=E.stats;C.parsing.start=C.parsing.end=C.buffering.start=C.buffering.end=self.performance.now(),m.trigger(o.FRAG_LOADED,s),E.bitrateTest=!1}).catch(s=>{this.state===Ie.STOPPED||this.state===Ie.ERROR||(this.warn(s),this.resetFragmentLoading(t))})}_handleTransmuxComplete(t){const n=this.playlistType,{hls:s}=this,{remuxResult:m,chunkMeta:E}=t,C=this.getCurrentContext(E);if(!C){this.resetWhenMissingContext(E);return}const{frag:j,part:X,level:G}=C,{video:ue,text:de,id3:Ee,initSegment:Re}=m,{details:Le}=G,ut=this.altAudio?void 0:m.audio;if(this.fragContextChanged(j)){this.fragmentTracker.removeFragment(j);return}if(this.state=Ie.PARSING,Re){const ot=Re.tracks;if(ot){const Er=j.initSegment||j;if(this.unhandledEncryptionError(Re,j))return;this._bufferInitSegment(G,ot,Er,E),s.trigger(o.FRAG_PARSING_INIT_SEGMENT,{frag:Er,id:n,tracks:ot})}const Kt=Re.initPTS,er=Re.timescale,ir=this.initPTS[j.cc];if(r(Kt)&&(!ir||ir.baseTime!==Kt||ir.timescale!==er)){const Er=Re.trackId;this.initPTS[j.cc]={baseTime:Kt,timescale:er,trackId:Er},s.trigger(o.INIT_PTS_FOUND,{frag:j,id:n,initPTS:Kt,timescale:er,trackId:Er})}}if(ue&&Le){ut&&ue.type==="audiovideo"&&this.logMuxedErr(j);const ot=Le.fragments[j.sn-1-Le.startSN],Kt=j.sn===Le.startSN,er=!ot||j.cc>ot.cc;if(m.independent!==!1){const{startPTS:ir,endPTS:Er,startDTS:jr,endDTS:pn}=ue;if(X)X.elementaryStreams[ue.type]={startPTS:ir,endPTS:Er,startDTS:jr,endDTS:pn};else if(ue.firstKeyFrame&&ue.independent&&E.id===1&&!er&&(this.couldBacktrack=!0),ue.dropped&&ue.independent){const Ur=this.getMainFwdBufferInfo(),sn=(Ur?Ur.end:this.getLoadPosition())+this.config.maxBufferHole,nn=ue.firstKeyFramePTS?ue.firstKeyFramePTS:ir;if(!Kt&&sn<nn-this.config.maxBufferHole&&!er){this.backtrack(j);return}else er&&(j.gap=!0);j.setElementaryStreamInfo(ue.type,j.start,Er,j.start,pn,!0)}else Kt&&ir-(Le.appliedTimelineOffset||0)>Pn&&(j.gap=!0);j.setElementaryStreamInfo(ue.type,ir,Er,jr,pn),this.backtrackFragment&&(this.backtrackFragment=j),this.bufferFragmentData(ue,j,X,E,Kt||er)}else if(Kt||er)j.gap=!0;else{this.backtrack(j);return}}if(ut){const{startPTS:ot,endPTS:Kt,startDTS:er,endDTS:ir}=ut;X&&(X.elementaryStreams[ie.AUDIO]={startPTS:ot,endPTS:Kt,startDTS:er,endDTS:ir}),j.setElementaryStreamInfo(ie.AUDIO,ot,Kt,er,ir),this.bufferFragmentData(ut,j,X,E)}if(Le&&Ee!=null&&Ee.samples.length){const ot={id:n,frag:j,details:Le,samples:Ee.samples};s.trigger(o.FRAG_PARSING_METADATA,ot)}if(Le&&de){const ot={id:n,frag:j,details:Le,samples:de.samples};s.trigger(o.FRAG_PARSING_USERDATA,ot)}}logMuxedErr(t){this.warn(`${Ae(t)?"Media":"Init"} segment with muxed audiovideo where only video expected: ${t.url}`)}_bufferInitSegment(t,n,s,m){if(this.state!==Ie.PARSING)return;this.audioOnly=!!n.audio&&!n.video,this.altAudio&&!this.audioOnly&&(delete n.audio,n.audiovideo&&this.logMuxedErr(s));const{audio:E,video:C,audiovideo:j}=n;if(E){const G=t.audioCodec;let ue=en(E.codec,G);ue==="mp4a"&&(ue="mp4a.40.5");const de=navigator.userAgent.toLowerCase();if(this.audioCodecSwitch){ue&&(ue.indexOf("mp4a.40.5")!==-1?ue="mp4a.40.2":ue="mp4a.40.5");const Ee=E.metadata;Ee&&"channelCount"in Ee&&(Ee.channelCount||1)!==1&&de.indexOf("firefox")===-1&&(ue="mp4a.40.5")}ue&&ue.indexOf("mp4a.40.5")!==-1&&de.indexOf("android")!==-1&&E.container!=="audio/mpeg"&&(ue="mp4a.40.2",this.log(`Android: force audio codec to ${ue}`)),G&&G!==ue&&this.log(`Swapping manifest audio codec "${G}" for "${ue}"`),E.levelCodec=ue,E.id=u.MAIN,this.log(`Init audio buffer, container:${E.container}, codecs[selected/level/parsed]=[${ue||""}/${G||""}/${E.codec}]`),delete n.audiovideo}if(C){C.levelCodec=t.videoCodec,C.id=u.MAIN;const G=C.codec;if((G==null?void 0:G.length)===4)switch(G){case"hvc1":case"hev1":C.codec="hvc1.1.6.L120.90";break;case"av01":C.codec="av01.0.04M.08";break;case"avc1":C.codec="avc1.42e01e";break}this.log(`Init video buffer, container:${C.container}, codecs[level/parsed]=[${t.videoCodec||""}/${G}]${C.codec!==G?" parsed-corrected="+C.codec:""}${C.supplemental?" supplemental="+C.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 X=Object.keys(n);if(X.length){if(this.hls.trigger(o.BUFFER_CODECS,n),!this.hls)return;X.forEach(G=>{const de=n[G].initSegment;de!=null&&de.byteLength&&this.hls.trigger(o.BUFFER_APPENDING,{type:G,data:de,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=Ie.IDLE}checkFragmentChanged(){const t=this.media;let n=null;if(t&&t.readyState>1&&t.seeking===!1){const s=t.currentTime;if(ci.isBuffered(t,s)?n=this.getAppendedFrag(s):ci.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?lr(null,s.fragments,n):null);if(m){const E=m.programDateTime;if(E!==null){const C=E+(n-m.start)*1e3;return new Date(C)}}}return null}get currentLevel(){const t=this.currentFrag;return t?t.level:-1}get nextBufferedFrag(){const t=this.currentFrag;return t?this.followingBufferedFrag(t):null}get forceStartLoad(){return this._forceStartLoad}}class Id extends R{constructor(t,n){super("key-loader",n),this.config=void 0,this.keyIdToKeyInfo={},this.emeController=null,this.config=t}abort(t){for(const s in this.keyIdToKeyInfo){const m=this.keyIdToKeyInfo[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.keyIdToKeyInfo){const n=this.keyIdToKeyInfo[t];(n.mediaKeySessionContext||n.decryptdata.isCommonEncryption)&&delete this.keyIdToKeyInfo[t]}}destroy(){this.detach();for(const t in this.keyIdToKeyInfo){const n=this.keyIdToKeyInfo[t].loader;n&&n.destroy()}this.keyIdToKeyInfo={}}createKeyLoadError(t,n=f.KEY_LOAD_ERROR,s,m,E){return new Bi({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 C=n[m];if(t.cc<=C.cc&&(!Ae(t)||!Ae(C)||t.sn<C.sn)||!s&&m==E-1)return this.emeController.selectKeySystemFormat(C).then(j=>{if(!this.emeController)return;C.setKeyFormat(j);const X=Jo(j);if(X)return this.emeController.getKeySystemAccess([X])})}if(this.config.requireKeySystemAccessOnStart){const m=ko(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 G=new Error(n?`Expected frag.decryptdata to be defined after setting format ${n}`:`Missing decryption data on fragment in onKeyLoading (emeEnabled with controller: ${this.emeController&&this.config.emeEnabled})`);return Promise.reject(this.createKeyLoadError(t,f.KEY_LOAD_ERROR,G))}const C=E.uri;if(!C)return Promise.reject(this.createKeyLoadError(t,f.KEY_LOAD_ERROR,new Error(`Invalid key URI: "${C}"`)));const j=ld(E);let X=this.keyIdToKeyInfo[j];if((s=X)!=null&&s.decryptdata.key)return E.key=X.decryptdata.key,Promise.resolve({frag:t,keyInfo:X});if(this.emeController&&(m=X)!=null&&m.keyLoadPromise)switch(this.emeController.getKeyStatus(X.decryptdata)){case"usable":case"usable-in-future":return X.keyLoadPromise.then(ue=>{const{keyInfo:de}=ue;return E.key=de.decryptdata.key,{frag:t,keyInfo:de}})}switch(this.log(`${this.keyIdToKeyInfo[j]?"Rel":"L"}oading${E.keyId?" keyId: "+q(E.keyId):""} URI: ${E.uri} from ${t.type} ${t.level}`),X=this.keyIdToKeyInfo[j]={decryptdata:E,keyLoadPromise:null,loader:null,mediaKeySessionContext:null},E.method){case"SAMPLE-AES":case"SAMPLE-AES-CENC":case"SAMPLE-AES-CTR":return E.keyFormat==="identity"?this.loadKeyHTTP(X,t):this.loadKeyEME(X,t);case"AES-128":case"AES-256":case"AES-256-CTR":return this.loadKeyHTTP(X,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){var m;if(!t.decryptdata.keyId&&(m=n.initSegment)!=null&&m.data){const C=xt(n.initSegment.data);if(C.length){const j=C[0];j.some(X=>X!==0)&&(this.log(`Using keyId found in init segment ${q(j)}`),t.decryptdata.keyId=j,$o.setKeyIdForUri(t.decryptdata.uri,j))}}const E=this.emeController.loadKey(s);return(t.keyLoadPromise=E.then(C=>(t.mediaKeySessionContext=C,s))).catch(C=>{throw t.keyLoadPromise=null,"data"in C&&(C.data.frag=n),C})}return Promise.resolve(s)}loadKeyHTTP(t,n){const s=this.config,m=s.loader,E=new m(s);return n.keyLoader=t.loader=E,t.keyLoadPromise=new Promise((C,j)=>{const X={keyInfo:t,frag:n,responseType:"arraybuffer",url:t.decryptdata.uri},G=s.keyLoadPolicy.default,ue={loadPolicy:G,timeout:G.maxLoadTimeMs,maxRetry:0,retryDelay:0,maxRetryDelay:0},de={onSuccess:(Ee,Re,Le,ut)=>{const{frag:ot,keyInfo:Kt}=Le,er=ld(Kt.decryptdata);if(!ot.decryptdata||Kt!==this.keyIdToKeyInfo[er])return j(this.createKeyLoadError(ot,f.KEY_LOAD_ERROR,new Error("after key load, decryptdata unset or changed"),ut));Kt.decryptdata.key=ot.decryptdata.key=new Uint8Array(Ee.data),ot.keyLoader=null,Kt.loader=null,C({frag:ot,keyInfo:Kt})},onError:(Ee,Re,Le,ut)=>{this.resetLoader(Re),j(this.createKeyLoadError(n,f.KEY_LOAD_ERROR,new Error(`HTTP Error ${Ee.code} loading key ${Ee.text}`),Le,b({url:X.url,data:void 0},Ee)))},onTimeout:(Ee,Re,Le)=>{this.resetLoader(Re),j(this.createKeyLoadError(n,f.KEY_LOAD_TIMEOUT,new Error("key loading timed out"),Le))},onAbort:(Ee,Re,Le)=>{this.resetLoader(Re),j(this.createKeyLoadError(n,f.INTERNAL_ABORTED,new Error("key loading aborted"),Le))}};E.load(X,ue,de)})}resetLoader(t){const{frag:n,keyInfo:s,url:m}=t,E=s.loader;n.keyLoader===E&&(n.keyLoader=null,s.loader=null);const C=ld(s.decryptdata)||m;delete this.keyIdToKeyInfo[C],E&&E.destroy()}}function ld(O){if(O.keyFormat!==hs.FAIRPLAY){const t=O.keyId;if(t)return q(t)}return O.uri}function gd(O){const{type:t}=O;switch(t){case h.AUDIO_TRACK:return u.AUDIO;case h.SUBTITLE_TRACK:return u.SUBTITLE;default:return u.MAIN}}function cd(O,t){let n=O.url;return(n===void 0||n.indexOf("data:")===0)&&(n=t.url),n}class td{constructor(t){this.hls=void 0,this.loaders=Object.create(null),this.variableList=null,this.onManifestLoaded=this.checkAutostartLoad,this.hls=t,this.registerListeners()}startLoad(t){}stopLoad(){this.destroyInternalLoaders()}registerListeners(){const{hls:t}=this;t.on(o.MANIFEST_LOADING,this.onManifestLoading,this),t.on(o.LEVEL_LOADING,this.onLevelLoading,this),t.on(o.AUDIO_TRACK_LOADING,this.onAudioTrackLoading,this),t.on(o.SUBTITLE_TRACK_LOADING,this.onSubtitleTrackLoading,this),t.on(o.LEVELS_UPDATED,this.onLevelsUpdated,this)}unregisterListeners(){const{hls:t}=this;t.off(o.MANIFEST_LOADING,this.onManifestLoading,this),t.off(o.LEVEL_LOADING,this.onLevelLoading,this),t.off(o.AUDIO_TRACK_LOADING,this.onAudioTrackLoading,this),t.off(o.SUBTITLE_TRACK_LOADING,this.onSubtitleTrackLoading,this),t.off(o.LEVELS_UPDATED,this.onLevelsUpdated,this)}createInternalLoader(t){const n=this.hls.config,s=n.pLoader,m=n.loader,E=s||m,C=new E(n);return this.loaders[t.type]=C,C}getInternalLoader(t){return this.loaders[t.type]}resetInternalLoader(t){this.loaders[t]&&delete this.loaders[t]}destroyInternalLoaders(){for(const t in this.loaders){const n=this.loaders[t];n&&n.destroy(),this.resetInternalLoader(t)}}destroy(){this.variableList=null,this.unregisterListeners(),this.destroyInternalLoaders()}onManifestLoading(t,n){const{url:s}=n;this.variableList=null,this.load({id:null,level:0,responseType:"text",type:h.MANIFEST,url:s,deliveryDirectives:null,levelOrTrack:null})}onLevelLoading(t,n){const{id:s,level:m,pathwayId:E,url:C,deliveryDirectives:j,levelInfo:X}=n;this.load({id:s,level:m,pathwayId:E,responseType:"text",type:h.LEVEL,url:C,deliveryDirectives:j,levelOrTrack:X})}onAudioTrackLoading(t,n){const{id:s,groupId:m,url:E,deliveryDirectives:C,track:j}=n;this.load({id:s,groupId:m,level:null,responseType:"text",type:h.AUDIO_TRACK,url:E,deliveryDirectives:C,levelOrTrack:j})}onSubtitleTrackLoading(t,n){const{id:s,groupId:m,url:E,deliveryDirectives:C,track:j}=n;this.load({id:s,groupId:m,level:null,responseType:"text",type:h.SUBTITLE_TRACK,url:E,deliveryDirectives:C,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 G=this.hls.logger,ue=m.context;if(ue&&ue.levelOrTrack===t.levelOrTrack&&(ue.url===t.url||ue.deliveryDirectives&&!t.deliveryDirectives)){ue.url===t.url?G.log(`[playlist-loader]: ignore ${t.url} ongoing request`):G.log(`[playlist-loader]: ignore ${t.url} in favor of ${ue.url}`);return}G.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 G;if(t.type===h.LEVEL&&t.level!==null?G=this.hls.levels[t.level].details:t.type===h.AUDIO_TRACK&&t.id!==null?G=this.hls.audioTracks[t.id].details:t.type===h.SUBTITLE_TRACK&&t.id!==null&&(G=this.hls.subtitleTracks[t.id].details),G){const ue=G.partTarget,de=G.targetduration;if(ue&&de){const Ee=Math.max(ue*3,de*.8)*1e3;E=y({},E,{maxTimeToFirstByteMs:Math.min(Ee,E.maxTimeToFirstByteMs),maxLoadTimeMs:Math.min(Ee,E.maxTimeToFirstByteMs)})}}}const C=E.errorRetry||E.timeoutRetry||{},j={loadPolicy:E,timeout:E.maxLoadTimeMs,maxRetry:C.maxNumRetry||0,retryDelay:C.retryDelayMs||0,maxRetryDelay:C.maxRetryDelayMs||0},X={onSuccess:(G,ue,de,Ee)=>{const Re=this.getInternalLoader(de);this.resetInternalLoader(de.type);const Le=G.data;ue.parsing.start=performance.now(),Uo.isMediaPlaylist(Le)||de.type!==h.MANIFEST?this.handleTrackOrLevelPlaylist(G,ue,de,Ee||null,Re):this.handleMasterPlaylist(G,ue,de,Ee)},onError:(G,ue,de,Ee)=>{this.handleNetworkError(ue,de,!1,G,Ee)},onTimeout:(G,ue,de)=>{this.handleNetworkError(ue,de,!0,void 0,G)}};m.load(t,j,X)}checkAutostartLoad(){if(!this.hls)return;const{config:{autoStartLoad:t,startPosition:n},forceStartLoad:s}=this.hls;(t||s)&&(this.hls.logger.log(`${t?"auto":"force"} startLoad with configured startPosition ${n}`),this.hls.startLoad(n))}handleMasterPlaylist(t,n,s,m){const E=this.hls,C=t.data,j=cd(t,s),X=Uo.parseMasterPlaylist(C,j);if(X.playlistParsingError){n.parsing.end=performance.now(),this.handleManifestParsingError(t,s,X.playlistParsingError,m,n);return}const{contentSteering:G,levels:ue,sessionData:de,sessionKeys:Ee,startTimeOffset:Re,variableList:Le}=X;this.variableList=Le,ue.forEach(er=>{const{unknownCodecs:ir}=er;if(ir){const{preferManagedMediaSource:Er}=this.hls.config;let{audioCodec:jr,videoCodec:pn}=er;for(let Ur=ir.length;Ur--;){const sn=ir[Ur];Ce(sn,"audio",Er)?(er.audioCodec=jr=jr?`${jr},${sn}`:sn,Wt.audio[jr.substring(0,4)]=2,ir.splice(Ur,1)):Ce(sn,"video",Er)&&(er.videoCodec=pn=pn?`${pn},${sn}`:sn,Wt.video[pn.substring(0,4)]=2,ir.splice(Ur,1))}}});const{AUDIO:ut=[],SUBTITLES:ot,"CLOSED-CAPTIONS":Kt}=Uo.parseMasterPlaylistMedia(C,j,X);ut.length&&!ut.some(ir=>!ir.url)&&ue[0].audioCodec&&!ue[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 Yi({}),bitrate:0,url:""})),E.trigger(o.MANIFEST_LOADED,{levels:ue,audioTracks:ut,subtitles:ot,captions:Kt,contentSteering:G,url:j,stats:n,networkDetails:m,sessionData:de,sessionKeys:Ee,startTimeOffset:Re,variableList:Le})}handleTrackOrLevelPlaylist(t,n,s,m,E){const C=this.hls,{id:j,level:X,type:G}=s,ue=cd(t,s),de=r(X)?X:r(j)?j:0,Ee=gd(s),Re=Uo.parseLevelPlaylist(t.data,ue,de,Ee,0,this.variableList);if(G===h.MANIFEST){const Le={attrs:new Yi({}),bitrate:0,details:Re,name:"",url:ue};Re.requestScheduled=n.loading.start+zr(Re,0),C.trigger(o.MANIFEST_LOADED,{levels:[Le],audioTracks:[],url:ue,stats:n,networkDetails:m,sessionData:null,sessionKeys:null,contentSteering:null,startTimeOffset:null,variableList:null})}n.parsing.end=performance.now(),s.levelDetails=Re,this.handlePlaylistLoaded(Re,t,n,s,m,E)}handleManifestParsingError(t,n,s,m,E){this.hls.trigger(o.ERROR,{type:c.NETWORK_ERROR,details:f.MANIFEST_PARSING_ERROR,fatal:n.type===h.MANIFEST,url:t.url,err:s,error:s,reason:s.message,response:t,context:n,networkDetails:m,stats:E})}handleNetworkError(t,n,s=!1,m,E){let C=`A network ${s?"timeout":"error"+(m?" (status "+m.code+")":"")} occurred while loading ${t.type}`;t.type===h.LEVEL?C+=`: ${t.level} id: ${t.id}`:(t.type===h.AUDIO_TRACK||t.type===h.SUBTITLE_TRACK)&&(C+=` id: ${t.id} group-id: "${t.groupId}"`);const j=new Error(C);this.hls.logger.warn(`[playlist-loader]: ${C}`);let X=f.UNKNOWN,G=!1;const ue=this.getInternalLoader(t);switch(t.type){case h.MANIFEST:X=s?f.MANIFEST_LOAD_TIMEOUT:f.MANIFEST_LOAD_ERROR,G=!0;break;case h.LEVEL:X=s?f.LEVEL_LOAD_TIMEOUT:f.LEVEL_LOAD_ERROR,G=!1;break;case h.AUDIO_TRACK:X=s?f.AUDIO_TRACK_LOAD_TIMEOUT:f.AUDIO_TRACK_LOAD_ERROR,G=!1;break;case h.SUBTITLE_TRACK:X=s?f.SUBTITLE_TRACK_LOAD_TIMEOUT:f.SUBTITLE_LOAD_ERROR,G=!1;break}ue&&this.resetInternalLoader(t.type);const de={type:c.NETWORK_ERROR,details:X,fatal:G,url:t.url,loader:ue,context:t,error:j,networkDetails:n,stats:E};if(m){const Ee=(n==null?void 0:n.url)||t.url;de.response=b({url:Ee,data:void 0},m)}this.hls.trigger(o.ERROR,de)}handlePlaylistLoaded(t,n,s,m,E,C){const j=this.hls,{type:X,level:G,levelOrTrack:ue,id:de,groupId:Ee,deliveryDirectives:Re}=m,Le=cd(n,m),ut=gd(m);let ot=typeof m.level=="number"&&ut===u.MAIN?G:void 0;const Kt=t.playlistParsingError;if(Kt){if(this.hls.logger.warn(`${Kt} ${t.url}`),!j.config.ignorePlaylistParsingErrors){j.trigger(o.ERROR,{type:c.NETWORK_ERROR,details:f.LEVEL_PARSING_ERROR,fatal:!1,url:Le,error:Kt,reason:Kt.message,response:n,context:m,level:ot,parent:ut,networkDetails:E,stats:s});return}t.playlistParsingError=null}if(!t.fragments.length){const er=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:Le,error:er,reason:er.message,response:n,context:m,level:ot,parent:ut,networkDetails:E,stats:s});return}switch(t.live&&C&&(C.getCacheAge&&(t.ageHeader=C.getCacheAge()||0),(!C.getCacheAge||isNaN(t.ageHeader))&&(t.ageHeader=0)),X){case h.MANIFEST:case h.LEVEL:if(ot){if(!ue)ot=0;else if(ue!==j.levels[ot]){const er=j.levels.indexOf(ue);er>-1&&(ot=er)}}j.trigger(o.LEVEL_LOADED,{details:t,levelInfo:ue||j.levels[0],level:ot||0,id:de||0,stats:s,networkDetails:E,deliveryDirectives:Re,withoutMultiVariant:X===h.MANIFEST});break;case h.AUDIO_TRACK:j.trigger(o.AUDIO_TRACK_LOADED,{details:t,track:ue,id:de||0,groupId:Ee||"",stats:s,networkDetails:E,deliveryDirectives:Re});break;case h.SUBTITLE_TRACK:j.trigger(o.SUBTITLE_TRACK_LOADED,{details:t,track:ue,id:de||0,groupId:Ee||"",stats:s,networkDetails:E,deliveryDirectives:Re});break}}}class If{static get version(){return ai}static isMSESupported(){return _d()}static isSupported(){return Cd()}static getMediaSource(){return ae()}static get Events(){return o}static get MetadataSchema(){return Cn}static get ErrorTypes(){return c}static get ErrorDetails(){return f}static get DefaultConfig(){return If.defaultConfig?If.defaultConfig:Ua}static set DefaultConfig(t){If.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 ii,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=W(t.debug||!1,"Hls instance",t.assetPlayerId),s=this.config=tn(If.DefaultConfig,t,n);this.userConfig=t,s.progressive&&qr(s,n);const{abrController:m,bufferController:E,capLevelController:C,errorController:j,fpsController:X}=s,G=new j(this),ue=this.abrController=new m(this),de=new ka(this),Ee=s.interstitialsController,Re=Ee?this.interstitialsController=new Ee(this,If):null,Le=this.bufferController=new E(this,de),ut=this.capLevelController=new C(this),ot=new X(this),Kt=new td(this),er=s.contentSteeringController,ir=er?new er(this):null,Er=this.levelController=new Td(this,ir),jr=new Sd(this),pn=new Id(this.config,this.logger),Ur=this.streamController=new vd(this,de,pn),sn=this.gapController=new Qa(this,de);ut.setStreamController(Ur),ot.setStreamController(Ur);const nn=[Kt,Er,Ur];Re&&nn.splice(1,0,Re),ir&&nn.splice(1,0,ir),this.networkControllers=nn;const Vr=[ue,Le,sn,ut,ot,jr,de];this.audioTrackController=this.createController(s.audioTrackController,nn);const In=s.audioStreamController;In&&nn.push(this.audioStreamController=new In(this,de,pn)),this.subtitleTrackController=this.createController(s.subtitleTrackController,nn);const Ei=s.subtitleStreamController;Ei&&nn.push(this.subtititleStreamController=new Ei(this,de,pn)),this.createController(s.timelineController,Vr),pn.emeController=this.emeController=this.createController(s.emeController,Vr),this.cmcdController=this.createController(s.cmcdController,Vr),this.latencyController=this.createController(Ad,Vr),this.coreComponents=Vr,nn.push(G);const Ji=G.onErrorOut;typeof Ji=="function"&&this.on(o.ERROR,Ji,G),this.on(o.MANIFEST_LOADED,Kt.onManifestLoaded,Kt)}createController(t,n){if(t){const s=new t(this);return n&&n.push(s),s}return null}on(t,n,s=this){this._emitter.on(t,n,s)}once(t,n,s=this){this._emitter.once(t,n,s)}removeAllListeners(t){this._emitter.removeAllListeners(t)}off(t,n,s=this,m){this._emitter.off(t,n,s,m)}listeners(t){return this._emitter.listeners(t)}emit(t,n,s){return this._emitter.emit(t,n,s)}trigger(t,n){if(this.config.debug)return this.emit(t,t,n);try{return this.emit(t,t,n)}catch(s){if(this.logger.error("An internal error happened while handling event "+t+'. Error message: "'+s.message+'". Here is a stacktrace:',s),!this.triggeringException){this.triggeringException=!0;const m=t===o.ERROR;this.trigger(o.ERROR,{type:c.OTHER_ERROR,details:f.INTERNAL_EXCEPTION,fatal:m,event:t,error:s}),this.triggeringException=!1}}return!1}listenerCount(t){return this._emitter.listenerCount(t)}destroy(){this.logger.log("destroy"),this.trigger(o.DESTROYING,void 0),this.detachMedia(),this.removeAllListeners(),this._autoLevelCapping=-1,this._url=null,this.networkControllers.forEach(n=>n.destroy()),this.networkControllers.length=0,this.coreComponents.forEach(n=>n.destroy()),this.coreComponents.length=0;const t=this.config;t.xhrSetup=t.fetchSetup=void 0,this.userConfig=null}attachMedia(t){if(!t||"media"in t&&!t.media){const E=new Error(`attachMedia failed: invalid argument (${t})`);this.trigger(o.ERROR,{type:c.OTHER_ERROR,details:f.ATTACH_MEDIA_ERROR,fatal:!0,error:E});return}this.logger.log("attachMedia"),this._media&&(this.logger.warn("media must be detached before attaching"),this.detachMedia());const n="media"in t,s=n?t.media:t,m=n?t:{media:s};this._media=s,this.trigger(o.MEDIA_ATTACHING,m)}detachMedia(){this.logger.log("detachMedia"),this.trigger(o.MEDIA_DETACHING,{}),this._media=null}transferMedia(){this._media=null;const t=this.bufferController.transferMedia();return this.trigger(o.MEDIA_DETACHING,{transferMedia:t}),t}loadSource(t){this.stopLoad();const n=this.media,s=this._url,m=this._url=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=rf()),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){Yr(t)&&this._maxHdcpLevel!==t&&(this._maxHdcpLevel=t,this.levelController.checkMaxAutoUpdated())}get autoLevelEnabled(){return this.levelController.manualLevel===-1}get manualLevel(){return this.levelController.manualLevel}get minAutoLevel(){const{levels:t,config:{minAutoBitrate:n}}=this;if(!t)return 0;const s=t.length;for(let m=0;m<s;m++)if(t[m].maxBitrate>=n)return m;return 0}get maxAutoLevel(){const{levels:t,autoLevelCapping:n,maxHdcpLevel:s}=this;let m;if(n===-1&&t!=null&&t.length?m=t.length-1:m=n,s)for(let E=m;E--;){const C=t[E].attrs["HDCP-LEVEL"];if(C&&C<=s)return E}return m}get firstAutoLevel(){return this.abrController.firstAutoLevel}get nextAutoLevel(){return this.abrController.nextAutoLevel}set nextAutoLevel(t){this.abrController.nextAutoLevel=t}get playingDate(){return this.streamController.currentProgramDateTime}get mainForwardBufferInfo(){return this.streamController.getMainFwdBufferInfo()}get maxBufferLength(){return this.streamController.maxBufferLength}setAudioOption(t){var n;return((n=this.audioTrackController)==null?void 0:n.setAudioOption(t))||null}setSubtitleOption(t){var n;return((n=this.subtitleTrackController)==null?void 0:n.setSubtitleOption(t))||null}get allAudioTracks(){const t=this.audioTrackController;return t?t.allAudioTracks:[]}get audioTracks(){const t=this.audioTrackController;return t?t.audioTracks:[]}get audioTrack(){const t=this.audioTrackController;return t?t.audioTrack:-1}set audioTrack(t){const n=this.audioTrackController;n&&(n.audioTrack=t)}get allSubtitleTracks(){const t=this.subtitleTrackController;return t?t.allSubtitleTracks:[]}get subtitleTracks(){const t=this.subtitleTrackController;return t?t.subtitleTracks:[]}get subtitleTrack(){const t=this.subtitleTrackController;return t?t.subtitleTrack:-1}get media(){return this._media}set subtitleTrack(t){const n=this.subtitleTrackController;n&&(n.subtitleTrack=t)}get subtitleDisplay(){const t=this.subtitleTrackController;return t?t.subtitleDisplay:!1}set subtitleDisplay(t){const n=this.subtitleTrackController;n&&(n.subtitleDisplay=t)}get lowLatencyMode(){return this.config.lowLatencyMode}set lowLatencyMode(t){this.config.lowLatencyMode=t}get liveSyncPosition(){return this.latencyController.liveSyncPosition}get latency(){return this.latencyController.latency}get maxLatency(){return this.latencyController.maxLatency}get targetLatency(){return this.latencyController.targetLatency}set targetLatency(t){this.latencyController.targetLatency=t}get drift(){return this.latencyController.drift}get forceStartLoad(){return this.streamController.forceStartLoad}get pathways(){return this.levelController.pathways}get pathwayPriority(){return this.levelController.pathwayPriority}set pathwayPriority(t){this.levelController.pathwayPriority=t}get bufferedToEnd(){var t;return!!((t=this.bufferController)!=null&&t.bufferedToEnd)}get interstitialsManager(){var t;return((t=this.interstitialsController)==null?void 0:t.interstitialsManager)||null}getMediaDecodingInfo(t,n=this.allAudioTracks){const s=Dt(n);return Nt(t,s,navigator.mediaCapabilities)}}If.defaultConfig=void 0},53280:function(d,v,e){"use strict";e.d(v,{D:function(){return i}});function r(l,c,f){var o=f||{},h=o.noTrailing,u=h===void 0?!1:h,a=o.noLeading,x=a===void 0?!1:a,p=o.debounceMode,y=p===void 0?void 0:p,_,b=!1,S=0;function k(){_&&clearTimeout(_)}function R(I){var M=I||{},B=M.upcomingOnly,N=B===void 0?!1:B;k(),b=!N}function A(){for(var I=arguments.length,M=new Array(I),B=0;B<I;B++)M[B]=arguments[B];var N=this,V=Date.now()-S;if(b)return;function W(){S=Date.now(),c.apply(N,M)}function H(){_=void 0}!x&&y&&!_&&W(),k(),y===void 0&&V>l?x?(S=Date.now(),u||(_=setTimeout(y?H:W,l))):W():u!==!0&&(_=setTimeout(y?H:W,y===void 0?l-V:l))}return A.cancel=R,A}function i(l,c,f){var o=f||{},h=o.atBegin,u=h===void 0?!1:h;return r(l,c,{debounceMode:u!==!1})}}},__webpack_module_cache__={};function __webpack_require__(d){var v=__webpack_module_cache__[d];if(v!==void 0)return v.exports;var e=__webpack_module_cache__[d]={id:d,loaded:!1,exports:{}};return __webpack_modules__[d].call(e.exports,e,e.exports,__webpack_require__),e.loaded=!0,e.exports}__webpack_require__.m=__webpack_modules__,function(){__webpack_require__.amdO={}}(),function(){__webpack_require__.n=function(d){var v=d&&d.__esModule?function(){return d.default}:function(){return d};return __webpack_require__.d(v,{a:v}),v}}(),function(){var d=Object.getPrototypeOf?function(e){return Object.getPrototypeOf(e)}:function(e){return e.__proto__},v;__webpack_require__.t=function(e,r){if(r&1&&(e=this(e)),r&8||typeof e=="object"&&e&&(r&4&&e.__esModule||r&16&&typeof e.then=="function"))return e;var i=Object.create(null);__webpack_require__.r(i);var l={};v=v||[null,d({}),d([]),d(d)];for(var c=r&2&&e;typeof c=="object"&&!~v.indexOf(c);c=d(c))Object.getOwnPropertyNames(c).forEach(function(f){l[f]=function(){return e[f]}});return l.default=function(){return e},__webpack_require__.d(i,l),i}}(),function(){__webpack_require__.d=function(d,v){for(var e in v)__webpack_require__.o(v,e)&&!__webpack_require__.o(d,e)&&Object.defineProperty(d,e,{enumerable:!0,get:v[e]})}}(),function(){__webpack_require__.f={},__webpack_require__.e=function(d){return Promise.all(Object.keys(__webpack_require__.f).reduce(function(v,e){return __webpack_require__.f[e](d,v),v},[]))}}(),function(){__webpack_require__.u=function(d){return""+({26:"p__Classrooms__Lists__Graduation__Tasks__Edit__index",67:"p__Message__index",109:"p__Classrooms__Lists__ShixunHomeworks__Detail__components__CodeReview__Detail__index",195:"p__Classrooms__Lists__GroupHomework__Detail__index",264:"p__User__Detail__Order__pages__orderPay__index",265:"p__User__Detail__Topics__index",292:"p__Classrooms__Lists__Exercise__Add__index",310:"p__User__Detail__ExperImentImg__Detail__index",337:"p__Paperlibrary__Random__PreviewEdit__index",342:"p__Classrooms__Lists__ShixunHomeworks__Comment__index",479:"p__Classrooms__Lists__GroupHomework__EditWork__index",485:"p__Question__AddOrEdit__BatchAdd__index",508:"p__Forums__Detail__id",532:"p__ExcellentCourse__index",533:"p__Classrooms__Lists__Video__Statistics__Detail__index",547:"p__Account__index",556:"p__User__Detail__Order__pages__invoice__index",559:"layouts__virtualDetail__index",570:"p__Home__Detail__OnlineNum__index",576:"p__Account__Profile__Edit__index",643:"p__Classrooms__Lists__Polls__QuestionnaireInfo__index",672:"p__Home__Detail__ShixunContext__Detail__index",680:"p__Innovation__index",700:"p__tasks__Jupyter__index",737:"p__Classrooms__Lists__CommonHomework__Detail__components__CodeReview__Detail__index",799:"p__User__Detail__Topics__Poll__Detail__index",869:"p__Guidance__index",895:"p__Classrooms__Lists__Video__Items__videoInfo__index",921:"p__Classrooms__Lists__Exercise__CodeDetails__index",928:"p__RestFul__Edit__index",1006:"p__RestFul__index",1043:"p__Classrooms__Lists__Graduation__Tasks__index",1045:"p__virtualSpaces__Lists__Knowledge__AddAndEdit__index",1048:"p__Classrooms__Lists__ProgramHomework__Detail__Ranking__index",1070:"p__Innovation__PublicMirror__index",1148:"p__Shixuns__Detail__Repository__UploadFile__index",1211:"p__Classrooms__Lists__CommonHomework__EditWork__index",1253:"p__Graduations__Lists__Gradingsummary__index",1257:"p__Classrooms__Lists__ResourceRecommend__index",1265:"p__Classrooms__Lists__Announcement__index",1276:"p__MoopCases__Success__index",1343:"p__User__Detail__ResourceAllocation__index",1416:"p__User__Detail__AccountInfo__CareerCertification__index",1423:"p__Shixuns__Edit__body__Level__Challenges__EditPracticeAnswer__index",1427:"p__Classrooms__Lists__Statistics__index",1450:"p__Classrooms__Lists__ShixunHomeworks__Commitsummary__index",1461:"p__Graduations__Lists__Topics__index",1470:"p__User__Register__index",1475:"p__Shixuns__Detail__Dataset__JupyterData__index",1482:"p__Classrooms__Lists__Graduation__Topics__Edit__index",1512:"p__Classrooms__Lists__Exercise__AnswerCheck__index",1520:"p__Engineering__Lists__StudentList__index",1528:"p__FileShare__index",1545:"p__Paperlibrary__Random__ExchangeFromProblemSet__index",1578:"p__Classrooms__Lists__Graduation__Topics__Detail__index",1581:"p__Problemset__Preview__index",1582:"p__Classrooms__Lists__GroupHomework__Add__index",1657:"p__Shixuns__Edit__body__Level__Challenges__EditQuestion__index",1660:"p__User__QQLogin__index",1674:"p__Classrooms__ClassicCases__index",1702:"p__Classrooms__New__index",1713:"p__virtualSpaces__Lists__Settings__index",1717:"layouts__index",1727:"p__Classrooms__Lists__CourseGroup__NotList__index",1783:"p__virtualSpaces__Lists__Experiment__index",1799:"p__Competitions__Entered__Assembly__TeamDateil",1831:"p__Graduations__Index__index",1836:"p__Classrooms__Lists__Attendance__Webview__Teacher__index",1855:"p__MoopCases__InfoPanel__index",1880:"p__User__Detail__Order__pages__apply__index",1939:"p__User__Detail__Order__index",1953:"p__Problemset__NewItem__index",1962:"p__Classrooms__Lists__Engineering__index",2045:"p__Engineering__Lists__TeacherList__index",2076:"p__User__Detail__Competitions__index",2102:"p__Classrooms__Lists__Board__Edit__index",2141:"p__Shixuns__Detail__Split__index",2216:"p__DataSet__Index__index",2240:"p__User__Detail__Videos__Upload__index",2254:"p__Shixuns__Detail__Discuss__index",2300:"p__Api__index",2303:"p__Classrooms__Lists__CommonHomework__Comment__index",2307:"p__Report__index",2338:"p__Classrooms__Lists__CommonHomework__Review__index",2339:"p__virtualSpaces__Lists__Plan__Detail__index",2396:"p__User__Detail__ResourcesCenter__index",2404:"p__Classrooms__Lists__Template__teacher__index",2412:"p__User__Detail__Videos__index",2425:"p__Classrooms__Lists__Board__Detail__index",2443:"p__Graduations__Lists__StageModule__index",2476:"p__Colleges__index",2501:"p__Search__index",2529:"p__User__Detail__id",2539:"p__Graduations__Review__index",2548:"p__Engineering__Norm__Detail__index",2570:"p__Competitions__Detail__index",2603:"p__Classrooms__Lists__ProgramHomework__Detail__answer__Add__index",2659:"p__User__Detail__UserPortrait__index",2707:"p__Innovation__MyDataSet__index",2806:"p__User__Detail__Topics__Exercise__Detail__index",2819:"p__Classrooms__Lists__Template__detail__index",2823:"p__Engineering__Navigation__Home__index",2826:"p__User__Detail__DataSet__index",2829:"p__Messages__Private__index",2865:"p__Innovation__MyMirror__index",2875:"p__Shixuns__Detail__id",2884:"p__Classrooms__Lists__ProgramHomework__Comment__index",2983:"p__Forums__Index__index",3006:"p__Engineering__index",3141:"p__Innovation__Detail__index",3157:"p__User__Detail__ExperImentImg__Add__index",3183:"p__Engineering__Lists__GraduationIndex__index",3212:"p__MoopCases__index",3220:"p__Classrooms__Lists__Video__Upload__index",3247:"p__Paperlibrary__See__index",3260:"p__Paperlibrary__Add__index",3276:"p__Classrooms__Lists__Statistics__UserportraitStatistics__index",3282:"layouts__ShixunDetail__index",3317:"p__Classrooms__Lists__Graduation__Topics__Add__index",3332:"p__Paths__Detail__id",3355:"p__Classrooms__Lists__Polls__index",3356:"p__Classrooms__Lists__Assistant__index",3391:"p__Classrooms__Lists__ProgramHomework__Detail__components__CodeReview__Detail__index",3433:"p__Classrooms__Lists__Exercise__Sumup__Edit__index",3442:"p__Classrooms__Lists__Board__Add__index",3447:"p__User__Detail__Order__pages__orderInformation__index",3451:"p__Classrooms__Lists__Statistics__StudentStatistics__Detail__index",3496:"p__User__Detail__OtherResources__index",3509:"p__HttpStatus__SixActivities",3581:"p__Classrooms__Lists__ShixunHomeworks__Detail__index",3585:"p__Classrooms__Lists__Statistics__StudentSituation__index",3665:"p__tasks__index",3668:"p__Classrooms__Lists__CommonHomework__Detail__index",3747:"p__virtualSpaces__Lists__Homepage__index",3784:"p__Paperlibrary__Random__Detail__index",3862:"p__HttpStatus__403",3873:"p__virtualSpaces__Lists__Lesson__index",3910:"p__HttpStatus__introduction",3935:"p__Classrooms__Lists__GroupHomework__index",3951:"p__Classrooms__Lists__ProgramHomework__Detail__index",4017:"p__Classrooms__Lists__PlaceholderPage__index",4030:"p__Classrooms__Lists__ProgramHomework__AddAndEdit__index",4056:"p__IntrainCourse__index",4058:"p__Demo__index",4078:"p__Messages__Tidings__index",4093:"p__Classrooms__Lists__Attendance__Detail__index",4105:"p__Classrooms__Lists__Exercise__Answer__index",4144:"p__Problemset__Preview__New__index",4164:"p__Classrooms__Lists__Exercise__Detail__index",4216:"p__Classrooms__Lists__ProgramHomework__Detail__answer__Edit__index",4217:"p__Classrooms__Lists__Video__Statistics__index",4227:"p__Paths__Overview__index",4259:"p__User__Detail__Order__pages__result__index",4264:"p__Forums__New__index",4449:"p__Competitions__Exports__index",4492:"p__Graduations__Lists__StudentSelection__index",4496:"p__HttpStatus__HpcCourse",4498:"p__Shixuns__Edit__body__Level__Challenges__NewPractice__index",4504:"p__virtualSpaces__Lists__Survey__index",4514:"p__Account__Results__index",4520:"p__Account__Secure__index",4546:"p__Engineering__Lists__TrainingProgram__Add__index",4565:"p__HttpStatus__500",4572:"p__Classrooms__Lists__ExportList__index",4599:"p__Problemset__index",4601:"p__Paths__Detail__Statistics__index",4610:"p__User__Detail__LearningPath__index",4621:"p__Administration__Profession__index",4662:"p__Classrooms__Lists__GroupHomework__Review__index",4715:"p__virtualSpaces__Lists__Material__Detail__index",4736:"p__User__Detail__Projects__index",4741:"p__Problems__OjForm__NewEdit__index",4757:"p__virtualSpaces__Lists__Workplace__index",4766:"p__Administration__index",4770:"p__Classrooms__Lists__ProgramHomework__Detail__answer__index",4795:"p__Classrooms__Lists__Graduation__Tasks__Add__index",4800:"p__Engineering__Lists__GraduatedMatrix__index",4849:"p__User__Detail__ExperImentImg__index",4862:"p__Paperlibrary__index",4884:"p__Shixuns__Detail__Repository__Commit__index",4889:"p__Classrooms__Lists__Exercise__ImitateAnswer__index",4928:"p__Classrooms__Lists__LearningPath__index",4973:"p__Engineering__Evaluate__List__index",4994:"p__Problems__OjForm__index",5022:"p__Graduations__Lists__Settings__index",5043:"p__User__Detail__Topics__Poll__Edit__index",5048:"p__Classrooms__Lists__Graduation__Topics__index",5096:"p__Shixuns__Detail__AuditSituation__index",5111:"p__Terminal__index",5125:"p__Classrooms__Lists__Exercise__DetailedAnalysis__index",5148:"p__Classrooms__Lists__Polls__Answer__index",5176:"p__User__Detail__Videos__Protocol__index",5179:"p__Administration__Student__Edit__index",5186:"p__Classrooms__Overview__index",5191:"p__User__Detail__Certificate__index",5238:"p__virtualSpaces__Lists__Material__index",5297:"p__Classrooms__Lists__Exercise__Detail__components__DuplicateChecking__CheckDetail__index",5319:"p__Classrooms__Lists__ProgramHomework__Detail__answer__Detail__index",5335:"p__Engineering__Lists__CourseMatrix__index",5357:"p__Engineering__Lists__TrainingProgram__Edit__index",5359:"p__Messages__Detail__index",5382:"p__DataSet__Detail__index",5402:"p__User__Detail__Topics__Detail__index",5470:"p__Shixuns__Detail__Collaborators__index",5518:"p__Classrooms__Lists__Template__index",5549:"p__Shixuns__New__CreateImg__index",5572:"p__Paths__HigherVocationalEducation__index",5573:"p__Shixuns__Detail__Merge__index",5599:"p__User__Detail__Paths__index",5624:"p__Graduations__Lists__Index__index",5650:"p__Competitions__Update__index",5705:"p__virtualSpaces__Lists__Construction__index",5729:"p__Help__Index",5775:"p__Engineering__Lists__Document__index",5786:"layouts__LoginAndRegister__index",5798:"p__Classrooms__Lists__Video__Statistics__UserDetail__index",5816:"p__Paperlibrary__Random__Edit__index",5825:"p__Classrooms__Lists__Exercise__index",5888:"p__Classrooms__Lists__CommonHomework__Add__index",5891:"p__virtualSpaces__Lists__Resources__index",5895:"p__User__Detail__AccountInfo__Profile__Edit__index",5902:"p__Classrooms__Lists__Exercise__Sumup__index",5915:"p__knowledgegraph__Detail__Statistics__index",5972:"layouts__user__index",5992:"p__Classrooms__Lists__Exercise__ReviewGroup__index",6029:"p__Administration__Student__index",6034:"p__HttpStatus__UserAgents",6052:"p__Paths__Index__index",6063:"p__Graduations__Lists__Personmanage__index",6069:"p__virtualSpaces__Lists__Lesson__Detail__index",6127:"p__Classrooms__Lists__ProgramHomework__Ranking__index",6170:"p__HttpStatus__downloadStudent",6265:"p__virtualSpaces__Lists__Discussion__index",6270:"p__MyProblem__index",6277:"p__Shixuns__Edit__index",6328:"p__Shixuns__Edit__body__Warehouse__index",6366:"p__Innovation__PublicProject__index",6434:"p__User__Detail__Order__pages__records__index",6444:"p__Video__Detail__id",6452:"p__Innovation__PublicDataSet__index",6531:"p__HttpStatus__404",6541:"p__Shixuns__Detail__Dataset__index",6583:"p__User__Detail__Classrooms__index",6587:"p__User__Detail__Videos__Protocol__resource",6634:"p__Innovation__Tasks__index",6651:"p__Engineering__Evaluate__Detail__index",6685:"p__Classrooms__Index__index",6729:"p__Classrooms__Lists__GroupHomework__Edit__index",6741:"p__Engineering__Norm__List__index",6758:"p__Classrooms__Lists__Attachment__index",6784:"p__Innovation__Edit__index",6788:"p__Classrooms__Lists__ProgramHomework__index",6796:"p__virtualSpaces__Lists__Announcement__Detail__index",6805:"p__User__Detail__AccountInfo__RealNameCertification__index",6820:"p__User__Detail__Topics__Normal__index",6845:"p__Shixuns__Detail__Settings__index",6882:"p__Classrooms__New__StartClass__index",6883:"p__Competitions__Index__index",6904:"p__MoopCases__FormPanel__index",6913:"p__Question__AddOrEdit__index",6963:"p__Classrooms__Lists__Engineering__Detail__index",6982:"p__User__Detail__AccountInfo__Profile__index",7008:"p__Shixuns__New__index",7043:"p__User__Detail__Topics__Exercise__Edit__index",7045:"p__Classrooms__Lists__CommonHomework__SubmitWork__index",7046:"p__Shixuns__Detail__Repository__AddFile__index",7058:"p__virtualSpaces__Lists__Survey__Detail__index",7062:"layouts__SimpleLayouts",7178:"p__User__BindAccount__index",7182:"p__User__ResetPassword__index",7224:"p__StatsDashboard__index",7242:"p__Innovation__MyProject__index",7260:"p__Account__Certification__index",7333:"p__User__WechatLogin__index",7395:"p__Classrooms__Lists__Statistics__StudentDetail__index",7460:"p__Question__OjProblem__index",7477:"p__virtualSpaces__Lists__Announcement__index",7482:"p__Classrooms__Lists__Exercise__Notice__index",7527:"p__MyProblem__RecordDetail__index",7545:"p__Graduations__Lists__Archives__index",7560:"p__Administration__College__index",7589:"p__virtualSpaces__Lists__DigitalTopics__index",7614:"p__Shixuns__Edit__body__Level__Challenges__RankingSetting__index",7622:"p__Classrooms__Lists__Polls__Detail__index",7806:"p__Classrooms__Lists__Statistics__StatisticsQuality__index",7852:"p__Classrooms__Lists__ShixunHomeworks__index",7855:"p__User__Detail__ResourcesCenter__Detail__index",7857:"p__Shixuns__Edit__body__Level__Challenges__NewQuestion__index",7878:"p__Classrooms__Lists__LiveVideo__index",7884:"p__Shixuns__Exports__index",7922:"p__Classrooms__Lists__CourseGroup__Detail__index",7948:"p__User__Detail__ClassManagement__index",8014:"p__Classrooms__Lists__Teachers__index",8062:"p__User__Detail__Topicbank__index",8072:"p__Classrooms__Lists__GroupHomework__SubmitWork__index",8077:"p__Classrooms__Lists__Students__index",8085:"p__Classrooms__Lists__Exercise__Review__index",8143:"layouts__GraduationsDetail__index",8155:"p__Shixuns__Overview__index",8237:"p__User__Detail__Order__pages__view__index",8241:"p__virtualSpaces__Lists__Plan__index",8302:"p__Classrooms__Lists__Board__index",8307:"p__User__Detail__Shixuns__index",8340:"p__Classrooms__Lists__Attendance__Webview__Student__index",8365:"p__Home__Detail__ShixunContext__index",8398:"p__virtualSpaces__Lists__Resources__Detail__index",8431:"p__Classrooms__Lists__Exercise__Export__index",8435:"p__Classrooms__Lists__Attendance__index",8447:"p__virtualSpaces__Lists__Knowledge__index",8517:"p__User__Detail__Topics__Group__index",8563:"p__virtualSpaces__Lists__Discussion__Detail__index",8634:"p__Classrooms__Lists__CourseGroup__List__index",8639:"p__Forums__Index__redirect",8665:"p__Engineering__Lists__TrainingObjectives__index",8688:"p__Shixuns__Detail__Repository__index",8689:"p__Classrooms__Lists__Statistics__VideoStatistics__index",8723:"p__Classrooms__Lists__Polls__Edit__index",8782:"p__Shixuns__Index__index",8787:"p__Competitions__Entered__index",8797:"p__Competitions__Edit__index",8823:"p__knowledgegraph__Detail__id",8827:"p__Classrooms__Lists__OnlineLearning__index",8866:"p__index",8882:"p__Classrooms__Lists__Graduation__Tasks__Detail__index",8885:"p__Classrooms__Lists__Statistics__StudentStatistics__index",8982:"p__Paths__New__index",8999:"p__Three__index",9076:"p__Account__Binding__index",9133:"p__Shixuns__Detail__Challenges__index",9205:"p__Shixuns__Edit__body__Level__Challenges__EditPracticeSetting__index",9215:"p__Shixuns__Detail__ForkList__index",9332:"p__Classrooms__Lists__Video__index",9360:"p__User__Detail__virtualSpaces__index",9366:"p__User__Login__index",9391:"p__Engineering__Lists__CurseSetting__index",9404:"monaco-editor",9408:"p__Shixuns__Detail__RankingList__index",9416:"p__Graduations__Lists__Tasks__index",9487:"p__LargeScreen__index",9489:"p__Engineering__Lists__CourseList__index",9507:"p__User__Detail__ResourceGuarantee__index",9519:"p__User__Detail__ClassManagement__Item__index",9590:"p__User__Detail__TeachGroup__index",9647:"p__Question__Index__index",9649:"p__Engineering__Lists__TrainingProgram__index",9674:"p__Shixuns__New__ImagePreview__index",9677:"p__virtualSpaces__Lists__Announcement__AddAndEdit__index",9695:"p__Classrooms__Lists__Polls__Add__index",9715:"p__Classrooms__Lists__CommonHomework__Edit__index",9716:"p__Question__OjProblem__RecordDetail__index",9785:"p__Classrooms__Lists__Template__student__index",9788:"p__Account__Profile__index",9890:"p__Classrooms__Lists__CommonHomework__index",9891:"p__User__Detail__Videos__Success__index",9921:"p__Classrooms__ExamList__index",9922:"p__Classrooms__Lists__Statistics__StudentVideo__index",9944:"p__Classrooms__Lists__Video__Statistics__StudentDetail__index"}[d]||d)+"."+{26:"25ebdfe0",67:"bfd60ecf",109:"c786fa0c",195:"b31306b5",264:"10779bc4",265:"704d2d7d",292:"b558f766",310:"b09470f0",316:"1f60ada6",337:"c37659f7",342:"c0bb7777",354:"d4d139cf",479:"ec582b67",485:"9713ca9c",508:"1d7063b6",532:"9ef7a815",533:"b3780897",547:"7044d2ce",556:"d8ad8563",559:"28b95887",570:"a7a9594a",576:"ed19f4ae",629:"44a1d9a5",643:"0fbd7c85",671:"4a609b8d",672:"f71929ee",680:"0fae6afb",700:"67a3e29a",737:"4df9114a",741:"ac5fd360",799:"51a5ea21",845:"a7166980",869:"47e9c0a6",895:"07b3b0ea",921:"5e6233b2",928:"9fc8fdd0",981:"24da50c7",1006:"fe894cef",1043:"fbbacbc7",1045:"ef5eeac1",1048:"21cb3c34",1070:"6d411e43",1144:"c90eccaf",1148:"ddea2068",1154:"8cb80842",1211:"c75c70d1",1253:"58ded96f",1257:"716afcfe",1265:"2eb76514",1274:"5f6ea65a",1276:"aa37a179",1343:"90927d72",1416:"8dd98554",1423:"cd0c2233",1427:"702cc828",1450:"b476b65d",1461:"65b49119",1462:"fcf08abc",1470:"4cd26900",1475:"faddd081",1482:"f397612c",1512:"a230b5ef",1520:"f7681a05",1528:"8a43c5c9",1540:"e6c49730",1545:"a608ea29",1578:"03e8de36",1581:"8810e0bd",1582:"efb97487",1646:"e6e27b60",1657:"8c65d6fe",1660:"4647fdda",1674:"fe12608b",1702:"7dd0ef22",1713:"5c524a5b",1717:"c228c632",1727:"4b2a042b",1750:"b9876391",1783:"02172aaa",1799:"1f76b2d5",1831:"17a5fe54",1836:"c873953e",1855:"fbdd023d",1880:"fc5681ee",1939:"05481c63",1953:"dbd623b2",1962:"6d54ab84",2011:"59d51f98",2045:"4fea722d",2076:"6f08f096",2102:"25d886ec",2141:"f0eda501",2216:"1fb9b6a2",2240:"26cce4c1",2249:"f4830452",2254:"24c914fe",2300:"83840044",2303:"05e13cca",2307:"7e010f3c",2338:"342c512a",2339:"d564d290",2386:"192e235c",2396:"88b20df4",2404:"9b463199",2412:"07b59f93",2425:"290f477b",2443:"9206bce0",2460:"0ff4a0cc",2476:"2102648c",2494:"68080a87",2501:"d1388c61",2529:"fb1083e3",2538:"de4a3723",2539:"ff42a25c",2548:"0b12947c",2570:"9484c3db",2594:"e87d3761",2603:"6c070ea1",2659:"23bf2352",2707:"28440b84",2806:"95762a62",2819:"a2afd093",2823:"29bd2909",2826:"6f2912bc",2829:"526d744a",2837:"54a82605",2865:"c2e6c572",2875:"8d9ee8bd",2884:"a7e946eb",2969:"ab3357d7",2983:"c8949871",3006:"9976d75c",3133:"9bf3f89c",3141:"351cb34b",3157:"92b96207",3183:"f81bfab3",3198:"8e655451",3212:"98f8721d",3220:"f37fc172",3247:"20532412",3260:"8b589619",3276:"8582e042",3282:"f8c7ede4",3317:"43f5a812",3332:"c148e87b",3355:"8eea2dce",3356:"4c83dc48",3391:"46701324",3433:"289c01e3",3442:"f966fb07",3447:"f305af2f",3451:"d2113dd8",3496:"734757e4",3509:"26af13c6",3550:"3dc83156",3581:"1bc11090",3585:"bcfb3dea",3665:"53f1f1ea",3668:"bebfbfec",3697:"481a10d9",3747:"435796bd",3754:"dfb1c29c",3777:"d5b0f2f1",3784:"a1a50935",3805:"9dbcb95e",3857:"20523c3b",3861:"cf2f3073",3862:"7cc7474a",3873:"365aa0b6",3885:"f87f7f15",3910:"3d673f42",3935:"fb99b872",3951:"3cfdd34b",3987:"5cecd51b",4014:"27a8e97c",4017:"43ee7c85",4030:"dd7037bf",4056:"965a5958",4058:"a6ef0500",4078:"005cea4a",4088:"236723f3",4093:"5baaafe4",4105:"14ff870e",4144:"672af668",4164:"9fa15904",4216:"bcd3b1e1",4217:"e85d3d10",4227:"67b7b457",4259:"14fbd765",4264:"766d6d47",4347:"ce21ef2e",4354:"140899b7",4360:"cf5efa52",4449:"f07362e4",4492:"3a84afed",4496:"11e9fce8",4498:"6ac6709b",4504:"2dda543b",4514:"8e37600d",4520:"ab6a507b",4546:"1e3cbc52",4565:"cd70a302",4572:"a0c27c99",4599:"61def4cb",4601:"ee284581",4610:"2d87294a",4621:"973c4139",4628:"ece2c60c",4662:"4582ed4d",4685:"c33f1528",4715:"dff663c6",4736:"d700388c",4741:"5d752eb7",4757:"1aabc0b6",4766:"93d0b6de",4770:"43fc3779",4790:"619413e4",4795:"5bff3cb2",4797:"a24e92db",4800:"c6566bd2",4849:"21a9f04b",4850:"1edda4b7",4862:"20693842",4884:"09daebea",4889:"0026f340",4928:"b4c75d9f",4973:"8235bc1d",4994:"684152ed",5022:"2e3d7afe",5043:"4fbe7ab3",5048:"66037305",5060:"85dafcc6",5096:"237f1a7f",5111:"6c03ca16",5125:"d4b510e3",5148:"c3066eef",5176:"a7774e56",5179:"6b940689",5186:"d0b93ad6",5191:"09e8e405",5238:"9d87b4ee",5290:"5dabcdc2",5297:"3dbe4584",5319:"5c075be0",5321:"1163c84e",5335:"aa198ec3",5354:"7ae70604",5357:"a1bb98e3",5359:"140ae3b4",5382:"1f9ea31f",5402:"e133cd83",5416:"454536b7",5434:"38b302a6",5470:"9fa5833a",5494:"d89549c4",5518:"99aad8ea",5549:"d50d3317",5572:"5e3b67fe",5573:"fb02faea",5599:"3b623ca8",5624:"05b2747d",5631:"e00d3d36",5650:"fdd0c3e0",5664:"e6738bbd",5679:"4a090bef",5705:"9e2bd49b",5729:"2131c650",5764:"e0d7e586",5775:"d226e8b9",5786:"7612e65f",5798:"ff73e342",5816:"65562080",5825:"a4b68fca",5876:"5eded409",5888:"faa1801c",5891:"59aaa4e5",5895:"c3f56225",5902:"e06f5514",5915:"d10b71f1",5972:"d2941a81",5992:"d4f74d40",6029:"3aa17e5e",6034:"8551e0f9",6045:"d268f87f",6047:"3ce45acd",6052:"f964c5e4",6063:"4df0c1a6",6069:"96b56d42",6126:"99519171",6127:"0931642e",6170:"6a37a1b1",6265:"721802c6",6270:"4b1058df",6277:"d12c738a",6328:"cbb92368",6366:"8c28e7b2",6378:"7f3a946a",6411:"3b971528",6434:"66c4415a",6444:"29c95be3",6452:"88b21d5e",6531:"1e4cd45d",6541:"4d9f55df",6583:"d53e7512",6587:"5269c257",6634:"b8bc86cc",6651:"c2b680ab",6685:"2bc8dc22",6729:"b0e1e1d0",6741:"5d247065",6758:"6bc487dd",6774:"59d4d618",6784:"3acc08be",6788:"ea56a9db",6796:"e16620bb",6805:"7562c1df",6820:"e7a7a304",6840:"d7bb653d",6845:"a54e00a8",6882:"6aaae2c8",6883:"6cb80143",6904:"f9a0b70f",6913:"62b05a80",6963:"ef16faad",6982:"ee7fff9a",6985:"6abb4311",7008:"ad15cb50",7043:"9897481c",7045:"b11ea690",7046:"3108487a",7058:"785fc7b8",7062:"494c4471",7084:"46ccce72",7156:"e7466006",7178:"d6dfdd98",7182:"8b56c91b",7224:"fd58f5b4",7242:"4d2c95ed",7260:"c46786a5",7331:"2e27a23b",7333:"a86d1864",7365:"1005464f",7395:"5f56ec36",7460:"33755139",7477:"02c32cfc",7482:"ba873f73",7527:"45f685a8",7545:"dc42c0d2",7560:"9d24b63d",7573:"97f85034",7589:"b7c10c89",7591:"c8233ce9",7614:"1b422242",7622:"9998ee53",7686:"4fcec9f9",7706:"c2a79e40",7806:"0c15eeb9",7852:"735ce21f",7855:"6ed6b730",7857:"88c2af3d",7878:"6093d81f",7884:"83cf568c",7922:"20d05cf0",7948:"d151d58b",7964:"29aed9a1",8014:"5a153da5",8062:"1d3ec49a",8072:"a3502dea",8077:"e09eda03",8085:"b92bc5c3",8089:"d536b13a",8143:"47402b4f",8155:"be971df0",8161:"83c5fa9a",8237:"e67f0a64",8241:"68e26fd9",8302:"acb881f7",8307:"89d7a4ab",8340:"d6a1e60b",8350:"07df8a75",8356:"192ab1f8",8365:"3ec1f7ce",8398:"08a38c6d",8431:"5e34cec9",8435:"84d4843d",8447:"84f5af62",8517:"43660dc2",8561:"333e8ec9",8563:"ae448b2d",8634:"565c16f6",8639:"21c350a0",8665:"4365b30c",8688:"e8391b0e",8689:"ad43beed",8723:"a4a5d1b5",8737:"ce7dad23",8776:"0ad26240",8782:"2f227b9e",8787:"b6ac1d5c",8797:"37ac3da1",8823:"1a252713",8827:"3c42edef",8842:"9f25a3e2",8866:"30fecb60",8882:"24e19840",8885:"ae4ab8c5",8898:"d002bcd8",8909:"5a5bd2ec",8920:"7f82440c",8963:"790aecdd",8982:"a48547d6",8999:"2d156215",9076:"e4c10d9f",9104:"bbcb2345",9133:"2f5dfcd3",9205:"4cdf7892",9215:"ebce0339",9252:"0d791a59",9260:"cf5f8140",9332:"ba6cf8b3",9360:"8d112cb3",9366:"1a31fd23",9391:"b5561486",9404:"9fcc3d3e",9408:"7fd8c534",9416:"54bdb471",9487:"388476ff",9489:"9e18c53c",9507:"d0100ffb",9519:"36b815cc",9554:"ed358e7b",9559:"f794af19",9590:"1f4e934c",9647:"753cea16",9649:"065f7a53",9674:"38fa89f6",9677:"e6ae185a",9695:"6e2dcb99",9715:"90612066",9716:"6f060582",9724:"2f674bad",9785:"234d891c",9788:"7ecf1c9e",9890:"20ccc0bc",9891:"60f02702",9895:"b8e31ff2",9921:"697115b5",9922:"24131e73",9928:"5989f5e0",9944:"04b240a2",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",1528:"p__FileShare__index",1545:"p__Paperlibrary__Random__ExchangeFromProblemSet__index",1578:"p__Classrooms__Lists__Graduation__Topics__Detail__index",1581:"p__Problemset__Preview__index",1582:"p__Classrooms__Lists__GroupHomework__Add__index",1657:"p__Shixuns__Edit__body__Level__Challenges__EditQuestion__index",1674:"p__Classrooms__ClassicCases__index",1702:"p__Classrooms__New__index",1713:"p__virtualSpaces__Lists__Settings__index",1717:"layouts__index",1727:"p__Classrooms__Lists__CourseGroup__NotList__index",1783:"p__virtualSpaces__Lists__Experiment__index",1831:"p__Graduations__Index__index",1836:"p__Classrooms__Lists__Attendance__Webview__Teacher__index",1855:"p__MoopCases__InfoPanel__index",1880:"p__User__Detail__Order__pages__apply__index",1939:"p__User__Detail__Order__index",1953:"p__Problemset__NewItem__index",1962:"p__Classrooms__Lists__Engineering__index",2045:"p__Engineering__Lists__TeacherList__index",2076:"p__User__Detail__Competitions__index",2102:"p__Classrooms__Lists__Board__Edit__index",2141:"p__Shixuns__Detail__Split__index",2216:"p__DataSet__Index__index",2240:"p__User__Detail__Videos__Upload__index",2254:"p__Shixuns__Detail__Discuss__index",2303:"p__Classrooms__Lists__CommonHomework__Comment__index",2307:"p__Report__index",2338:"p__Classrooms__Lists__CommonHomework__Review__index",2339:"p__virtualSpaces__Lists__Plan__Detail__index",2396:"p__User__Detail__ResourcesCenter__index",2404:"p__Classrooms__Lists__Template__teacher__index",2412:"p__User__Detail__Videos__index",2425:"p__Classrooms__Lists__Board__Detail__index",2443:"p__Graduations__Lists__StageModule__index",2476:"p__Colleges__index",2501:"p__Search__index",2529:"p__User__Detail__id",2539:"p__Graduations__Review__index",2548:"p__Engineering__Norm__Detail__index",2570:"p__Competitions__Detail__index",2603:"p__Classrooms__Lists__ProgramHomework__Detail__answer__Add__index",2659:"p__User__Detail__UserPortrait__index",2707:"p__Innovation__MyDataSet__index",2806:"p__User__Detail__Topics__Exercise__Detail__index",2819:"p__Classrooms__Lists__Template__detail__index",2823:"p__Engineering__Navigation__Home__index",2826:"p__User__Detail__DataSet__index",2829:"p__Messages__Private__index",2865:"p__Innovation__MyMirror__index",2875:"p__Shixuns__Detail__id",2884:"p__Classrooms__Lists__ProgramHomework__Comment__index",2983:"p__Forums__Index__index",3006:"p__Engineering__index",3141:"p__Innovation__Detail__index",3157:"p__User__Detail__ExperImentImg__Add__index",3183:"p__Engineering__Lists__GraduationIndex__index",3212:"p__MoopCases__index",3220:"p__Classrooms__Lists__Video__Upload__index",3247:"p__Paperlibrary__See__index",3260:"p__Paperlibrary__Add__index",3276:"p__Classrooms__Lists__Statistics__UserportraitStatistics__index",3282:"layouts__ShixunDetail__index",3317:"p__Classrooms__Lists__Graduation__Topics__Add__index",3332:"p__Paths__Detail__id",3355:"p__Classrooms__Lists__Polls__index",3356:"p__Classrooms__Lists__Assistant__index",3391:"p__Classrooms__Lists__ProgramHomework__Detail__components__CodeReview__Detail__index",3433:"p__Classrooms__Lists__Exercise__Sumup__Edit__index",3442:"p__Classrooms__Lists__Board__Add__index",3447:"p__User__Detail__Order__pages__orderInformation__index",3451:"p__Classrooms__Lists__Statistics__StudentStatistics__Detail__index",3496:"p__User__Detail__OtherResources__index",3509:"p__HttpStatus__SixActivities",3581:"p__Classrooms__Lists__ShixunHomeworks__Detail__index",3585:"p__Classrooms__Lists__Statistics__StudentSituation__index",3665:"p__tasks__index",3668:"p__Classrooms__Lists__CommonHomework__Detail__index",3747:"p__virtualSpaces__Lists__Homepage__index",3784:"p__Paperlibrary__Random__Detail__index",3873:"p__virtualSpaces__Lists__Lesson__index",3910:"p__HttpStatus__introduction",3935:"p__Classrooms__Lists__GroupHomework__index",3951:"p__Classrooms__Lists__ProgramHomework__Detail__index",4030:"p__Classrooms__Lists__ProgramHomework__AddAndEdit__index",4056:"p__IntrainCourse__index",4078:"p__Messages__Tidings__index",4093:"p__Classrooms__Lists__Attendance__Detail__index",4105:"p__Classrooms__Lists__Exercise__Answer__index",4144:"p__Problemset__Preview__New__index",4164:"p__Classrooms__Lists__Exercise__Detail__index",4216:"p__Classrooms__Lists__ProgramHomework__Detail__answer__Edit__index",4217:"p__Classrooms__Lists__Video__Statistics__index",4227:"p__Paths__Overview__index",4259:"p__User__Detail__Order__pages__result__index",4264:"p__Forums__New__index",4449:"p__Competitions__Exports__index",4492:"p__Graduations__Lists__StudentSelection__index",4496:"p__HttpStatus__HpcCourse",4498:"p__Shixuns__Edit__body__Level__Challenges__NewPractice__index",4504:"p__virtualSpaces__Lists__Survey__index",4514:"p__Account__Results__index",4520:"p__Account__Secure__index",4546:"p__Engineering__Lists__TrainingProgram__Add__index",4572:"p__Classrooms__Lists__ExportList__index",4599:"p__Problemset__index",4601:"p__Paths__Detail__Statistics__index",4610:"p__User__Detail__LearningPath__index",4621:"p__Administration__Profession__index",4662:"p__Classrooms__Lists__GroupHomework__Review__index",4715:"p__virtualSpaces__Lists__Material__Detail__index",4736:"p__User__Detail__Projects__index",4741:"p__Problems__OjForm__NewEdit__index",4757:"p__virtualSpaces__Lists__Workplace__index",4766:"p__Administration__index",4770:"p__Classrooms__Lists__ProgramHomework__Detail__answer__index",4795:"p__Classrooms__Lists__Graduation__Tasks__Add__index",4800:"p__Engineering__Lists__GraduatedMatrix__index",4849:"p__User__Detail__ExperImentImg__index",4862:"p__Paperlibrary__index",4884:"p__Shixuns__Detail__Repository__Commit__index",4889:"p__Classrooms__Lists__Exercise__ImitateAnswer__index",4928:"p__Classrooms__Lists__LearningPath__index",4973:"p__Engineering__Evaluate__List__index",4994:"p__Problems__OjForm__index",5022:"p__Graduations__Lists__Settings__index",5043:"p__User__Detail__Topics__Poll__Edit__index",5048:"p__Classrooms__Lists__Graduation__Topics__index",5096:"p__Shixuns__Detail__AuditSituation__index",5111:"p__Terminal__index",5125:"p__Classrooms__Lists__Exercise__DetailedAnalysis__index",5148:"p__Classrooms__Lists__Polls__Answer__index",5176:"p__User__Detail__Videos__Protocol__index",5179:"p__Administration__Student__Edit__index",5186:"p__Classrooms__Overview__index",5191:"p__User__Detail__Certificate__index",5238:"p__virtualSpaces__Lists__Material__index",5297:"p__Classrooms__Lists__Exercise__Detail__components__DuplicateChecking__CheckDetail__index",5319:"p__Classrooms__Lists__ProgramHomework__Detail__answer__Detail__index",5335:"p__Engineering__Lists__CourseMatrix__index",5357:"p__Engineering__Lists__TrainingProgram__Edit__index",5359:"p__Messages__Detail__index",5382:"p__DataSet__Detail__index",5402:"p__User__Detail__Topics__Detail__index",5470:"p__Shixuns__Detail__Collaborators__index",5518:"p__Classrooms__Lists__Template__index",5549:"p__Shixuns__New__CreateImg__index",5572:"p__Paths__HigherVocationalEducation__index",5573:"p__Shixuns__Detail__Merge__index",5599:"p__User__Detail__Paths__index",5624:"p__Graduations__Lists__Index__index",5650:"p__Competitions__Update__index",5705:"p__virtualSpaces__Lists__Construction__index",5729:"p__Help__Index",5775:"p__Engineering__Lists__Document__index",5786:"layouts__LoginAndRegister__index",5798:"p__Classrooms__Lists__Video__Statistics__UserDetail__index",5816:"p__Paperlibrary__Random__Edit__index",5825:"p__Classrooms__Lists__Exercise__index",5888:"p__Classrooms__Lists__CommonHomework__Add__index",5891:"p__virtualSpaces__Lists__Resources__index",5895:"p__User__Detail__AccountInfo__Profile__Edit__index",5915:"p__knowledgegraph__Detail__Statistics__index",5972:"layouts__user__index",5992:"p__Classrooms__Lists__Exercise__ReviewGroup__index",6029:"p__Administration__Student__index",6052:"p__Paths__Index__index",6063:"p__Graduations__Lists__Personmanage__index",6069:"p__virtualSpaces__Lists__Lesson__Detail__index",6127:"p__Classrooms__Lists__ProgramHomework__Ranking__index",6265:"p__virtualSpaces__Lists__Discussion__index",6270:"p__MyProblem__index",6277:"p__Shixuns__Edit__index",6328:"p__Shixuns__Edit__body__Warehouse__index",6366:"p__Innovation__PublicProject__index",6434:"p__User__Detail__Order__pages__records__index",6444:"p__Video__Detail__id",6452:"p__Innovation__PublicDataSet__index",6541:"p__Shixuns__Detail__Dataset__index",6583:"p__User__Detail__Classrooms__index",6587:"p__User__Detail__Videos__Protocol__resource",6634:"p__Innovation__Tasks__index",6651:"p__Engineering__Evaluate__Detail__index",6685:"p__Classrooms__Index__index",6729:"p__Classrooms__Lists__GroupHomework__Edit__index",6741:"p__Engineering__Norm__List__index",6758:"p__Classrooms__Lists__Attachment__index",6784:"p__Innovation__Edit__index",6788:"p__Classrooms__Lists__ProgramHomework__index",6796:"p__virtualSpaces__Lists__Announcement__Detail__index",6805:"p__User__Detail__AccountInfo__RealNameCertification__index",6820:"p__User__Detail__Topics__Normal__index",6845:"p__Shixuns__Detail__Settings__index",6882:"p__Classrooms__New__StartClass__index",6883:"p__Competitions__Index__index",6904:"p__MoopCases__FormPanel__index",6913:"p__Question__AddOrEdit__index",6963:"p__Classrooms__Lists__Engineering__Detail__index",6982:"p__User__Detail__AccountInfo__Profile__index",7008:"p__Shixuns__New__index",7043:"p__User__Detail__Topics__Exercise__Edit__index",7045:"p__Classrooms__Lists__CommonHomework__SubmitWork__index",7046:"p__Shixuns__Detail__Repository__AddFile__index",7058:"p__virtualSpaces__Lists__Survey__Detail__index",7062:"layouts__SimpleLayouts",7178:"p__User__BindAccount__index",7182:"p__User__ResetPassword__index",7224:"p__StatsDashboard__index",7242:"p__Innovation__MyProject__index",7260:"p__Account__Certification__index",7395:"p__Classrooms__Lists__Statistics__StudentDetail__index",7460:"p__Question__OjProblem__index",7477:"p__virtualSpaces__Lists__Announcement__index",7482:"p__Classrooms__Lists__Exercise__Notice__index",7527:"p__MyProblem__RecordDetail__index",7545:"p__Graduations__Lists__Archives__index",7560:"p__Administration__College__index",7589:"p__virtualSpaces__Lists__DigitalTopics__index",7614:"p__Shixuns__Edit__body__Level__Challenges__RankingSetting__index",7622:"p__Classrooms__Lists__Polls__Detail__index",7806:"p__Classrooms__Lists__Statistics__StatisticsQuality__index",7852:"p__Classrooms__Lists__ShixunHomeworks__index",7855:"p__User__Detail__ResourcesCenter__Detail__index",7857:"p__Shixuns__Edit__body__Level__Challenges__NewQuestion__index",7878:"p__Classrooms__Lists__LiveVideo__index",7884:"p__Shixuns__Exports__index",7922:"p__Classrooms__Lists__CourseGroup__Detail__index",7948:"p__User__Detail__ClassManagement__index",8014:"p__Classrooms__Lists__Teachers__index",8062:"p__User__Detail__Topicbank__index",8072:"p__Classrooms__Lists__GroupHomework__SubmitWork__index",8077:"p__Classrooms__Lists__Students__index",8085:"p__Classrooms__Lists__Exercise__Review__index",8143:"layouts__GraduationsDetail__index",8155:"p__Shixuns__Overview__index",8237:"p__User__Detail__Order__pages__view__index",8241:"p__virtualSpaces__Lists__Plan__index",8302:"p__Classrooms__Lists__Board__index",8307:"p__User__Detail__Shixuns__index",8398:"p__virtualSpaces__Lists__Resources__Detail__index",8431:"p__Classrooms__Lists__Exercise__Export__index",8435:"p__Classrooms__Lists__Attendance__index",8447:"p__virtualSpaces__Lists__Knowledge__index",8517:"p__User__Detail__Topics__Group__index",8563:"p__virtualSpaces__Lists__Discussion__Detail__index",8634:"p__Classrooms__Lists__CourseGroup__List__index",8665:"p__Engineering__Lists__TrainingObjectives__index",8688:"p__Shixuns__Detail__Repository__index",8689:"p__Classrooms__Lists__Statistics__VideoStatistics__index",8723:"p__Classrooms__Lists__Polls__Edit__index",8782:"p__Shixuns__Index__index",8787:"p__Competitions__Entered__index",8797:"p__Competitions__Edit__index",8823:"p__knowledgegraph__Detail__id",8827:"p__Classrooms__Lists__OnlineLearning__index",8866:"p__index",8882:"p__Classrooms__Lists__Graduation__Tasks__Detail__index",8885:"p__Classrooms__Lists__Statistics__StudentStatistics__index",8982:"p__Paths__New__index",8999:"p__Three__index",9076:"p__Account__Binding__index",9133:"p__Shixuns__Detail__Challenges__index",9205:"p__Shixuns__Edit__body__Level__Challenges__EditPracticeSetting__index",9215:"p__Shixuns__Detail__ForkList__index",9332:"p__Classrooms__Lists__Video__index",9360:"p__User__Detail__virtualSpaces__index",9366:"p__User__Login__index",9391:"p__Engineering__Lists__CurseSetting__index",9404:"monaco-editor",9408:"p__Shixuns__Detail__RankingList__index",9416:"p__Graduations__Lists__Tasks__index",9487:"p__LargeScreen__index",9489:"p__Engineering__Lists__CourseList__index",9507:"p__User__Detail__ResourceGuarantee__index",9519:"p__User__Detail__ClassManagement__Item__index",9590:"p__User__Detail__TeachGroup__index",9647:"p__Question__Index__index",9649:"p__Engineering__Lists__TrainingProgram__index",9674:"p__Shixuns__New__ImagePreview__index",9677:"p__virtualSpaces__Lists__Announcement__AddAndEdit__index",9695:"p__Classrooms__Lists__Polls__Add__index",9715:"p__Classrooms__Lists__CommonHomework__Edit__index",9716:"p__Question__OjProblem__RecordDetail__index",9785:"p__Classrooms__Lists__Template__student__index",9788:"p__Account__Profile__index",9890:"p__Classrooms__Lists__CommonHomework__index",9891:"p__User__Detail__Videos__Success__index",9921:"p__Classrooms__ExamList__index",9922:"p__Classrooms__Lists__Statistics__StudentVideo__index",9944:"p__Classrooms__Lists__Video__Statistics__StudentDetail__index"}[d]||d)+"."+{26:"91ed81ab",67:"1ad7d0db",109:"1a7fc455",195:"65632591",264:"5fd9b3fc",265:"d92c6f86",292:"9a0e8f6b",310:"06815302",337:"ee05039e",342:"ab091f90",479:"bba9e475",485:"d63578fe",508:"82593858",532:"c829a014",533:"5fee20bc",547:"5581debc",556:"892f4292",559:"c49aa5ba",576:"e4f97d42",643:"22ded693",680:"e67e9e01",700:"1d9948a7",737:"98eb2f74",799:"b3487c4b",869:"6740e24b",895:"ad846737",921:"30cc7e9b",928:"0277270a",1006:"2263131d",1043:"e8c0878b",1045:"0eeb3595",1048:"dafc3f4f",1070:"e67e9e01",1148:"754fff63",1211:"bdb8faab",1253:"46aca33c",1257:"156e8f74",1265:"d902bdae",1276:"bbc6eeec",1343:"b7f33c89",1416:"f1916094",1423:"5c4a76fc",1427:"f91322f7",1450:"1edcc2ed",1461:"917cbb16",1470:"183c9793",1475:"d22fbaa0",1482:"d159af07",1512:"f3653a35",1520:"f7300d0e",1528:"23afae42",1545:"f8f5f64f",1578:"efcb0bdc",1581:"efffd7c0",1582:"8e45b6ff",1657:"ddd6a700",1674:"fdbc1e05",1702:"fca45632",1713:"5ed278a4",1717:"08a9e890",1727:"de83767d",1783:"47d0320e",1831:"8d05bf11",1836:"5f0d3f7f",1855:"b92cccb4",1880:"f67d7892",1939:"48e30d48",1953:"23cbc47f",1962:"84e145fa",2045:"dcfad42d",2076:"09b07fa0",2102:"ec61f9f0",2141:"5eb2f330",2216:"e3ba73cf",2240:"e7cce869",2254:"ccda836f",2303:"87592c17",2307:"b2c54321",2338:"dd6e8a16",2339:"d90c9bd2",2396:"e70f11d6",2404:"08d36549",2412:"6b6ca0ef",2425:"47b23ee4",2443:"78513f2d",2460:"03cdfb68",2476:"cf85a190",2501:"2441982c",2529:"9d9944da",2539:"43d36117",2548:"75182034",2570:"3dbc6300",2603:"0277270a",2659:"f6071a36",2707:"cabcb16e",2806:"2c7248b3",2819:"9455b08a",2823:"a13b21fb",2826:"0b6be43b",2829:"a5909474",2865:"6ef3cf6b",2875:"d6c8355d",2884:"cc184a3f",2983:"c8c482f7",3006:"7fce4e74",3141:"72791f8b",3157:"2038b5dc",3183:"b2253f40",3212:"ad1521c1",3220:"a5be3990",3247:"50105eb7",3260:"49ca09b2",3276:"7bbb651d",3282:"2dff97e8",3317:"137440b7",3332:"b1bbfdb9",3355:"39e3d07c",3356:"c6a4098f",3391:"f0e498fe",3433:"e6919a98",3442:"bdf7849c",3447:"1653d818",3451:"e3a31387",3496:"44bf4044",3509:"70043ca5",3581:"7630d0f9",3585:"5f288e7b",3665:"b20d0ab0",3668:"86f20630",3747:"e06419ae",3784:"c81d4a51",3873:"bbd9808d",3910:"658d457f",3935:"cd50aa32",3951:"4a9249b1",4030:"f308ee3a",4056:"10eacfff",4078:"aa54548e",4093:"c1f29d01",4105:"7f9d4513",4144:"f10aa199",4164:"0e623fec",4216:"0277270a",4217:"387bf824",4227:"79c3b323",4259:"ebd953ac",4264:"36917df0",4449:"e68d8d58",4492:"cdc29460",4496:"77babddd",4498:"b05686dd",4504:"466a61af",4514:"887bdbb6",4520:"e86d61a1",4546:"4101a1f2",4572:"70e5675d",4599:"014ca65e",4601:"3c8ac557",4610:"687005a6",4621:"ead619d7",4662:"4e7b8c12",4715:"45efe14a",4736:"2968553b",4741:"c8d03de5",4757:"73b754d2",4766:"b5df5a8e",4770:"674b2d2a",4795:"939f9f81",4800:"f50302a4",4849:"2a1dc219",4862:"e8eacc3e",4884:"bd293d3b",4889:"a91da64a",4928:"a4b1a237",4973:"129c56e8",4994:"50caae56",5022:"81b1b86b",5043:"247e6954",5048:"aa08c681",5096:"4f6a4d00",5111:"5d09a39a",5125:"57501e4a",5148:"572faeac",5176:"9c49e7fa",5179:"21f01751",5186:"aeb0dc56",5191:"0af389b2",5238:"3d814a61",5297:"5426028f",5319:"34217c3f",5335:"fec6fd9f",5357:"1fbb7d24",5359:"b254a598",5382:"0c911991",5402:"60617d0d",5470:"b25021a2",5518:"9f425be3",5549:"39285664",5572:"c945fbf2",5573:"6ecf393c",5599:"2ae54005",5624:"0208754c",5650:"f8f63f4b",5705:"df6bf207",5729:"46f9b5d4",5775:"8945cad2",5786:"37a81eaa",5798:"ce1cf7da",5816:"d749b200",5825:"73177a8c",5888:"193a7f8f",5891:"3b7a128f",5895:"9ddd624a",5915:"bc9c3e69",5972:"c7a91e8e",5992:"419f5d2f",6029:"2ded5a5a",6052:"59cb6398",6063:"a5f0409a",6069:"b4a6d2ab",6127:"f31505a8",6265:"9459eb93",6270:"5496b206",6277:"12e50919",6328:"de2b9d62",6366:"079fc2d8",6434:"0112f8db",6444:"fd46d237",6452:"50a6d310",6541:"d1c967cd",6583:"7d33505d",6587:"9c49e7fa",6634:"df151169",6651:"b07fe216",6685:"f5f5b969",6729:"aea3b7f5",6741:"b838eb14",6758:"558cc090",6784:"1affe817",6788:"9cd39ff5",6796:"89c76e37",6805:"5b253c81",6820:"cebdf1cf",6845:"b7aabf70",6882:"c2d2eada",6883:"7740a702",6904:"44afaa9b",6913:"739202fe",6963:"84e145fa",6982:"3043a9c3",7008:"fe74a83d",7043:"25478869",7045:"48f6fc4c",7046:"c7301ded",7058:"984a456a",7062:"fe78dd10",7178:"6e47d75d",7182:"183c9793",7224:"7caf9754",7242:"4f353f61",7260:"2c380d56",7395:"ff574c5d",7460:"dedd2038",7477:"832457fc",7482:"c37a3f01",7527:"a4765b7e",7545:"1f6a7624",7560:"d82e43ca",7589:"2a3e68f3",7614:"de9ee12f",7622:"ca0e645a",7806:"80b7b1d6",7852:"fce1e197",7855:"3970a709",7857:"13a29416",7878:"8dfa25f5",7884:"1ca6cde0",7922:"c1d9e2f3",7948:"bed733e5",8014:"9ef39203",8062:"8e384b9f",8072:"540f746b",8077:"0b2c51d9",8085:"2e8d934b",8143:"b6ca83ad",8155:"d345abd7",8237:"44654223",8241:"02a0cb2f",8302:"b4649ac5",8307:"02e15761",8398:"cf8eb735",8431:"60a111b6",8435:"21d4dff0",8447:"0875c082",8517:"cccfddad",8563:"3a763677",8634:"317d0a2b",8665:"c52575bc",8688:"c044db56",8689:"459af240",8723:"5166ac36",8782:"918afc23",8787:"121de108",8797:"13e5189e",8823:"9e7a9852",8827:"af0ed6a3",8866:"664121ad",8882:"f3e42f72",8885:"de905169",8982:"6e2e337e",8999:"448aa22f",9076:"6a501148",9133:"ab171f08",9205:"49a3e67d",9215:"f737e7e7",9332:"a627cf98",9360:"27c7d4f7",9366:"4f511490",9391:"c11edda0",9404:"d8cf04f7",9408:"d3565b1a",9416:"6ead6660",9487:"a73f5679",9489:"ee2bb5b7",9507:"396e34cd",9519:"88d248ee",9590:"29583579",9647:"452de157",9649:"00fb4211",9674:"d0f91ed7",9677:"26548cb7",9695:"bb84056a",9715:"b6c6645f",9716:"a5750e0d",9785:"08d36549",9788:"781a4d20",9890:"9ebce4ba",9891:"512a9301",9921:"e0db9101",9922:"33690872",9944:"1ba31055"}[d]+".chunk.css"}}(),function(){__webpack_require__.g=function(){if(typeof globalThis=="object")return globalThis;try{return this||new Function("return this")()}catch(d){if(typeof window=="object")return window}}()}(),function(){__webpack_require__.hmd=function(d){return d=Object.create(d),d.children||(d.children=[]),Object.defineProperty(d,"exports",{enumerable:!0,set:function(){throw new Error("ES Modules may not assign module.exports or exports.*, Use ESM export syntax, instead: "+d.id)}}),d}}(),function(){__webpack_require__.o=function(d,v){return Object.prototype.hasOwnProperty.call(d,v)}}(),function(){var d={};__webpack_require__.l=function(v,e,r,i){if(d[v]){d[v].push(e);return}var l,c;if(r!==void 0)for(var f=document.getElementsByTagName("script"),o=0;o<f.length;o++){var h=f[o];if(h.getAttribute("src")==v){l=h;break}}l||(c=!0,l=document.createElement("script"),l.charset="utf-8",l.timeout=120,__webpack_require__.nc&&l.setAttribute("nonce",__webpack_require__.nc),l.src=v,l.src.indexOf(window.location.origin+"/")!==0&&(l.crossOrigin="anonymous")),d[v]=[e];var u=function(x,p){l.onerror=l.onload=null,clearTimeout(a);var y=d[v];if(delete d[v],l.parentNode&&l.parentNode.removeChild(l),y&&y.forEach(function(_){return _(p)}),x)return x(p)},a=setTimeout(u.bind(null,void 0,{type:"timeout",target:l}),12e4);l.onerror=u.bind(null,l.onerror),l.onload=u.bind(null,l.onload),c&&document.head.appendChild(l)}}(),function(){__webpack_require__.r=function(d){typeof Symbol!="undefined"&&Symbol.toStringTag&&Object.defineProperty(d,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(d,"__esModule",{value:!0})}}(),function(){__webpack_require__.nmd=function(d){return d.paths=[],d.children||(d.children=[]),d}}(),function(){__webpack_require__.p="/react/build/"}(),function(){if(typeof document!="undefined"){var d=function(i,l,c,f,o){var h=document.createElement("link");h.rel="stylesheet",h.type="text/css";var u=function(a){if(h.onerror=h.onload=null,a.type==="load")f();else{var x=a&&(a.type==="load"?"missing":a.type),p=a&&a.target&&a.target.href||l,y=new Error("Loading CSS chunk "+i+` failed.
(`+p+")");y.code="CSS_CHUNK_LOAD_FAILED",y.type=x,y.request=p,h.parentNode.removeChild(h),o(y)}};return h.onerror=h.onload=u,h.href=l,h.href.indexOf(window.location.origin+"/")!==0&&(h.crossOrigin="anonymous"),c?c.parentNode.insertBefore(h,c.nextSibling):document.head.appendChild(h),h},v=function(i,l){for(var c=document.getElementsByTagName("link"),f=0;f<c.length;f++){var o=c[f],h=o.getAttribute("data-href")||o.getAttribute("href");if(o.rel==="stylesheet"&&(h===i||h===l))return o}for(var u=document.getElementsByTagName("style"),f=0;f<u.length;f++){var o=u[f],h=o.getAttribute("data-href");if(h===i||h===l)return o}},e=function(i){return new Promise(function(l,c){var f=__webpack_require__.miniCssF(i),o=__webpack_require__.p+f;if(v(f,o))return l();d(i,o,null,l,c)})},r={4620:0};__webpack_require__.f.miniCss=function(i,l){var c={26:1,67:1,109:1,195:1,264:1,265:1,292:1,310:1,337:1,342:1,479:1,485:1,508:1,532:1,533:1,547:1,556:1,559:1,576:1,643:1,680:1,700:1,737:1,799:1,869:1,895:1,921:1,928:1,1006:1,1043:1,1045:1,1048:1,1070:1,1148:1,1211:1,1253:1,1257:1,1265:1,1276:1,1343:1,1416:1,1423:1,1427:1,1450:1,1461:1,1470:1,1475:1,1482:1,1512:1,1520:1,1528: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,2460:1,2476:1,2501:1,2529:1,2539:1,2548:1,2570:1,2603:1,2659:1,2707:1,2806:1,2819:1,2823:1,2826:1,2829:1,2865:1,2875:1,2884:1,2983:1,3006:1,3141:1,3157:1,3183:1,3212:1,3220:1,3247:1,3260:1,3276:1,3282:1,3317:1,3332:1,3355:1,3356:1,3391:1,3433:1,3442:1,3447:1,3451:1,3496:1,3509:1,3581:1,3585:1,3665:1,3668:1,3747:1,3784:1,3873:1,3910:1,3935:1,3951:1,4030:1,4056:1,4078:1,4093:1,4105:1,4144:1,4164:1,4216:1,4217:1,4227:1,4259:1,4264:1,4449:1,4492:1,4496:1,4498:1,4504:1,4514:1,4520:1,4546:1,4572:1,4599:1,4601:1,4610:1,4621:1,4662:1,4715:1,4736:1,4741:1,4757:1,4766:1,4770:1,4795:1,4800:1,4849:1,4862:1,4884:1,4889:1,4928:1,4973:1,4994:1,5022:1,5043:1,5048:1,5096:1,5111:1,5125:1,5148:1,5176:1,5179:1,5186:1,5191:1,5238:1,5297:1,5319:1,5335:1,5357:1,5359:1,5382:1,5402:1,5470:1,5518:1,5549:1,5572:1,5573:1,5599:1,5624:1,5650:1,5705:1,5729:1,5775:1,5786:1,5798:1,5816:1,5825:1,5888:1,5891:1,5895:1,5915:1,5972:1,5992:1,6029:1,6052:1,6063:1,6069:1,6127:1,6265:1,6270:1,6277:1,6328:1,6366:1,6434:1,6444:1,6452:1,6541:1,6583:1,6587:1,6634:1,6651:1,6685:1,6729:1,6741:1,6758:1,6784:1,6788:1,6796:1,6805:1,6820:1,6845:1,6882:1,6883:1,6904:1,6913:1,6963:1,6982:1,7008:1,7043:1,7045:1,7046:1,7058:1,7062:1,7178:1,7182:1,7224:1,7242:1,7260:1,7395:1,7460:1,7477:1,7482:1,7527:1,7545:1,7560:1,7589:1,7614:1,7622:1,7806:1,7852:1,7855:1,7857:1,7878:1,7884:1,7922:1,7948:1,8014:1,8062:1,8072:1,8077:1,8085:1,8143:1,8155:1,8237:1,8241:1,8302:1,8307:1,8398:1,8431:1,8435:1,8447:1,8517:1,8563:1,8634:1,8665:1,8688:1,8689:1,8723:1,8782:1,8787:1,8797:1,8823:1,8827:1,8866:1,8882:1,8885:1,8982:1,8999:1,9076:1,9133:1,9205:1,9215:1,9332:1,9360:1,9366:1,9391:1,9404:1,9408:1,9416:1,9487:1,9489:1,9507:1,9519:1,9590:1,9647:1,9649:1,9674:1,9677:1,9695:1,9715:1,9716:1,9785:1,9788:1,9890:1,9891:1,9921:1,9922:1,9944:1};r[i]?l.push(r[i]):r[i]!==0&&c[i]&&l.push(r[i]=e(i).then(function(){r[i]=0},function(f){throw delete r[i],f}))}}}(),function(){__webpack_require__.b=document.baseURI||self.location.href;var d={4620:0};__webpack_require__.f.j=function(r,i){var l=__webpack_require__.o(d,r)?d[r]:void 0;if(l!==0)if(l)i.push(l[2]);else if(/^(4599|6883|9404)$/.test(r))d[r]=0;else{var c=new Promise(function(u,a){l=d[r]=[u,a]});i.push(l[2]=c);var f=__webpack_require__.p+__webpack_require__.u(r),o=new Error,h=function(u){if(__webpack_require__.o(d,r)&&(l=d[r],l!==0&&(d[r]=void 0),l)){var a=u&&(u.type==="load"?"missing":u.type),x=u&&u.target&&u.target.src;o.message="Loading chunk "+r+` failed.
(`+a+": "+x+")",o.name="ChunkLoadError",o.type=a,o.request=x,l[1](o)}};__webpack_require__.l(f,h,"chunk-"+r,r)}};var v=function(r,i){var l=i[0],c=i[1],f=i[2],o,h,u=0;if(l.some(function(x){return d[x]!==0})){for(o in c)__webpack_require__.o(c,o)&&(__webpack_require__.m[o]=c[o]);if(f)var a=f(__webpack_require__)}for(r&&r(i);u<l.length;u++)h=l[u],__webpack_require__.o(d,h)&&d[h]&&d[h][0](),d[h]=0},e=self.webpackChunk=self.webpackChunk||[];e.forEach(v.bind(null,0)),e.push=v.bind(null,e.push.bind(e))}();var __webpack_exports__={};(function(){"use strict";var d=__webpack_require__(68557),v=__webpack_require__(44852),e=__webpack_require__(64003),r=__webpack_require__(17898),i=__webpack_require__(40902),l=__webpack_require__(2259),c=__webpack_require__(14589),f=__webpack_require__(69811),o=__webpack_require__(18114),h=__webpack_require__(23844),u=__webpack_require__(39581),a=__webpack_require__(40632),x=__webpack_require__(22690),p=__webpack_require__(7786),y=__webpack_require__(99062),_=__webpack_require__(31808),b=__webpack_require__(99953),S=__webpack_require__(86357),k=__webpack_require__(93074),R=__webpack_require__(96331),A=__webpack_require__(2924),I=__webpack_require__(26425),M=__webpack_require__(32125),B=__webpack_require__(16137),N=__webpack_require__(48435),V=__webpack_require__(11553),W=__webpack_require__(70365),H=__webpack_require__(33717),ae=__webpack_require__(17482),ne=__webpack_require__(23708),oe=__webpack_require__(65033),J=__webpack_require__(52732),q=__webpack_require__(99382),K=__webpack_require__(88437),se=__webpack_require__(68440),ee=__webpack_require__(13412),Q=__webpack_require__(11005),le=__webpack_require__(70348),z=__webpack_require__(19801),$=__webpack_require__(91550),ie=__webpack_require__(85223),_e=__webpack_require__(7154),Ae=__webpack_require__(67788),Pe=__webpack_require__(96009),We=__webpack_require__(9402),$e=__webpack_require__(62489),Lt=__webpack_require__(80881),bt=__webpack_require__(62837),kt=__webpack_require__(4705),Zt=__webpack_require__(13941),Mt=__webpack_require__(1148),tr=__webpack_require__(82445),je=__webpack_require__(27267),wt=__webpack_require__(96353),Ft=__webpack_require__(90308),tt=__webpack_require__(84818),gt=__webpack_require__(80585),ft=__webpack_require__(89170),Qe=__webpack_require__(71012),Ne=__webpack_require__(84203),xe=__webpack_require__(22112),ke=__webpack_require__(81440),Ge=__webpack_require__(25430),He=__webpack_require__(70105),Ye=__webpack_require__(71390),dt=__webpack_require__(96844),xt=__webpack_require__(83578),nr=__webpack_require__(69762),qt=__webpack_require__(76880),Me=__webpack_require__(65009),qe=__webpack_require__(28796),Vt=__webpack_require__(56450),Rt=__webpack_require__(78342),zt=__webpack_require__(13161),Ht=__webpack_require__(54226),Ct=__webpack_require__(70201),Xt=__webpack_require__(34941),ze=__webpack_require__(85671),ce=__webpack_require__(35152),pe=__webpack_require__(85660),It=__webpack_require__(80031),Te=__webpack_require__(34434),ct=__webpack_require__(83579),Wt=__webpack_require__(74307),Tt=__webpack_require__(97423),Ce=__webpack_require__(93321),St=__webpack_require__(82277),ye=__webpack_require__(61425),Je=__webpack_require__(61873),yt=__webpack_require__(9307),Bt=__webpack_require__(8821),Be=__webpack_require__(64385),Dr=__webpack_require__(64099),At=__webpack_require__(62455),Xr=__webpack_require__(79965),en=__webpack_require__(59118),Lr=__webpack_require__(275),Nr=__webpack_require__(31919),mr=__webpack_require__(51284),Zr=__webpack_require__(10177),on=__webpack_require__(85690),_n=__webpack_require__(92114),Yt=__webpack_require__(1017),mt=__webpack_require__(14480),st=__webpack_require__(40516),lt=__webpack_require__(76345),Nt=__webpack_require__(7282),br=__webpack_require__(58055),vr=__webpack_require__(93547),nt=__webpack_require__(31237),Tr=__webpack_require__(17954),vn=__webpack_require__(58580),Gn=__webpack_require__(47146),Yr=__webpack_require__(40416),Yn=__webpack_require__(7615),Jn=__webpack_require__(72820),kn=__webpack_require__(86070),Qn=__webpack_require__(23569),ri=__webpack_require__(55639),Ai=__webpack_require__(63046),wi=__webpack_require__(464),Ui=__webpack_require__(51082),oa=__webpack_require__(83850),Vi=__webpack_require__(41990),zi=__webpack_require__(15787),mi=__webpack_require__(55888),Ki=__webpack_require__(53827),Dt=__webpack_require__(78143),vt=__webpack_require__(66419),Zi=__webpack_require__(75765),Hi=__webpack_require__(14645),hi=__webpack_require__(71122),Fa=__webpack_require__(42084),Ti=__webpack_require__(25070),si=__webpack_require__(77140),Dn=__webpack_require__(15954),rr=__webpack_require__(4266),_t=__webpack_require__(49988),rt=__webpack_require__(38823),Ot=__webpack_require__(24627),ht=__webpack_require__(4045),lr=__webpack_require__(50747),fr=__webpack_require__(43595),Cr=__webpack_require__(92324),Gr=__webpack_require__(23551),Ze=__webpack_require__(74521),et=__webpack_require__(57891),be=__webpack_require__(84138),it=__webpack_require__(51832),or=__webpack_require__(37135),kr=__webpack_require__(6474),Ir=__webpack_require__(40135),Pr=__webpack_require__(7982),Wr=__webpack_require__(14893),wn=__webpack_require__(49233),gr=__webpack_require__(92130),fn=__webpack_require__(42844),un=__webpack_require__(6536),dn=__webpack_require__(27228),gn=__webpack_require__(62921),ka=__webpack_require__(44001),Ci=__webpack_require__(92262),pi=__webpack_require__(54744),bn=__webpack_require__(38214),ui=__webpack_require__(12756),ta=__webpack_require__(93379),Ca=__webpack_require__(62007),Ks=__webpack_require__(90572),Ha=__webpack_require__(37343),Zs=__webpack_require__(45945),Js=__webpack_require__(75551),is=__webpack_require__(32493),Hs=__webpack_require__(20852),Aa=__webpack_require__(46302),Ss=__webpack_require__(18827),ds=__webpack_require__(76718),eo=__webpack_require__(79172),Bi=__webpack_require__(32192),ks=__webpack_require__(42828),Bo=__webpack_require__(5658),Wa=__webpack_require__(55629),Rs=__webpack_require__(62925),ci=__webpack_require__(9595),fo=__webpack_require__(58127),Nn=__webpack_require__(70917),Ja=__webpack_require__(53427),As=__webpack_require__(70878),Ps=__webpack_require__(49257),ca=__webpack_require__(72910),es=__webpack_require__(34932),Yi=__webpack_require__(81046),Ws=__webpack_require__(85744),vo=__webpack_require__(13494),Wo=__webpack_require__(56338),Go=__webpack_require__(66755),mu=__webpack_require__(68709),uu=__webpack_require__(4939),ho=__webpack_require__(81927),No=__webpack_require__(60462),Co=__webpack_require__(72571),qo=__webpack_require__(71200),Ko=__webpack_require__(85767),vi=__webpack_require__(84432),_i=__webpack_require__(59022),ts=__webpack_require__(19363),ss=__webpack_require__(51054),as=__webpack_require__(60330),Ga=__webpack_require__(55234),hs=__webpack_require__(88104),Jo=__webpack_require__(64336),Is=__webpack_require__(63914),ko=__webpack_require__(35246),vu=__webpack_require__(83470),wu=__webpack_require__(79641),qu=__webpack_require__(72397),ll=__webpack_require__(24860),Ro=__webpack_require__(19320),to=__webpack_require__(56233),$o=__webpack_require__(59419),ju=__webpack_require__(64344),Lo=__webpack_require__(5316),jo=__webpack_require__(93744),Mu=__webpack_require__(19299),eu=__webpack_require__(15286),hu=__webpack_require__(91927),ro=__webpack_require__(27730),tu=__webpack_require__(58707),Uo=__webpack_require__(41356),Jt=__webpack_require__(51606),dr=__webpack_require__(8966),ur=__webpack_require__(38458),hr=__webpack_require__(71957),Sr=__webpack_require__(89466),yn=__webpack_require__(69653),Zn=__webpack_require__(96519),Rn=__webpack_require__(95576),Hn=__webpack_require__(63079),li=__webpack_require__(8995),ei=__webpack_require__(23080),cr=__webpack_require__(74701),Mr=__webpack_require__(91809),Fr=__webpack_require__(77517),Sn=__webpack_require__(30149),Tn=__webpack_require__(55410),pt=__webpack_require__(46161),jn=__webpack_require__(14800),Wn=__webpack_require__(91130),Ni=__webpack_require__(2722),ra=__webpack_require__(55885),zr=__webpack_require__(39034),pa=__webpack_require__(8604),Xi=__webpack_require__(64963),Pa=__webpack_require__(25178),ps=__webpack_require__(1905),Vs=__webpack_require__(94306),$i=__webpack_require__(11762),no=__webpack_require__(93164),so=__webpack_require__(88900),Fs=__webpack_require__(54815),Va=__webpack_require__(81138),Xs=__webpack_require__(37252),po=__webpack_require__(81673),Fn=__webpack_require__(48966),$a=__webpack_require__(13015),rs=__webpack_require__(78527),Xe=__webpack_require__(20511),Ie=__webpack_require__(78366),$t=__webpack_require__(27427),Gt=__webpack_require__(43890),yr=__webpack_require__(55844),Br=__webpack_require__(71361),Hr=__webpack_require__(44550),xn=__webpack_require__(413),ln=__webpack_require__(77464),En=__webpack_require__(77703),ii=__webpack_require__(93854),ai=__webpack_require__(962),gi=__webpack_require__(44169),Li=__webpack_require__(56272),ua=__webpack_require__(43466),Qi=__webpack_require__(48156),Pi=__webpack_require__(93236),Da=__webpack_require__(42212),Ii=__webpack_require__(63923),yi=__webpack_require__(2278),ga=__webpack_require__(36955),go=__webpack_require__(77326),Bs=__webpack_require__(53571),ia=__webpack_require__(28670),Ya=__webpack_require__(31050),ba=__webpack_require__(25321),Mi=__webpack_require__(96364),Ra=__webpack_require__(46304),os=__webpack_require__(55163),us=__webpack_require__(78722),yo=__webpack_require__(35977),bs=__webpack_require__(81848),Po=__webpack_require__(52867),_s=__webpack_require__(72211),bo=__webpack_require__(84862),oo=__webpack_require__(92381),Ta=__webpack_require__(19517),ls=__webpack_require__(69667),Qs=__webpack_require__(80820),La=__webpack_require__(87873),ge=__webpack_require__(54609),we=__webpack_require__(28566),wr=__webpack_require__(51697),rn=__webpack_require__(61872),xr=__webpack_require__(76077),Jr=__webpack_require__(9196),On=__webpack_require__(5369),oi=__webpack_require__(26259),Wi=__webpack_require__(47736),Un=__webpack_require__(28220),Ln=__webpack_require__(62060),Cn=__webpack_require__(49350),aa=__webpack_require__(20126),na=__webpack_require__(18090),zo=__webpack_require__(14309),uo=__webpack_require__(17822),Su=__webpack_require__(83543),jl=__webpack_require__(13853),bl=__webpack_require__(25188),Ju=__webpack_require__(10215),Hc=__webpack_require__(3432),Uu=__webpack_require__(90486),Ke=__webpack_require__(6736),Z=__webpack_require__(8774),Y=__webpack_require__(94065),te=__webpack_require__(93036),he=__webpack_require__(75708),Se=__webpack_require__(84624),Ve=__webpack_require__(66233),Pt=__webpack_require__(43710),Ut=__webpack_require__(92762),ar=__webpack_require__(24467),Ar=__webpack_require__(68465),Kr=__webpack_require__(77004),cn=__webpack_require__(83925),An=__webpack_require__(51117),Kn=__webpack_require__(87236),ti=__webpack_require__(83733),Oi=__webpack_require__(92044),ji=__webpack_require__(29190),la=__webpack_require__(10775),wa=__webpack_require__(19593),Ts=__webpack_require__(26502),Ds=__webpack_require__(10174),Ls=__webpack_require__(96378),ms=__webpack_require__(58216),Oa=__webpack_require__(41401),io=__webpack_require__(79908),xs=__webpack_require__(82531),pr=__webpack_require__(79890),Io=__webpack_require__(88472),Mo=__webpack_require__(38944),gu=__webpack_require__(78423),Ns=__webpack_require__(65713),Vo=__webpack_require__(22968),_o=__webpack_require__(17564),sc=__webpack_require__(1220),xl=__webpack_require__(44886),El=__webpack_require__(57019),el=__webpack_require__(35295),$s=__webpack_require__(80286),zu=__webpack_require__(38487),Zu=__webpack_require__(29916),Do=__webpack_require__(25541),Yo=__webpack_require__(45612),Ul=__webpack_require__(34926),pu=__webpack_require__(98080),zl=__webpack_require__(68255),xo=__webpack_require__(96351),ru=__webpack_require__(16450),cl=__webpack_require__(60244),Zl=__webpack_require__(86921),Xo=__webpack_require__(82928),Hl=__webpack_require__(42947),Wl=__webpack_require__(71568),fi=__webpack_require__(94194),oc=__webpack_require__(30556),ao=__webpack_require__(32100),Wc=__webpack_require__(93102),Fu=__webpack_require__(1821),fl=__webpack_require__(82074),tl=__webpack_require__(13578),Sc=__webpack_require__(59348),Gc=__webpack_require__(62882),Eo=__webpack_require__(37457),Kc=__webpack_require__(70654),Gl=__webpack_require__(90252),uc=__webpack_require__(29482),Il=__webpack_require__(51630),Vc=__webpack_require__(61933),Dl=__webpack_require__(619),Au=__webpack_require__(99675),Kl=__webpack_require__(52548),lo=__webpack_require__(53637),Qo=__webpack_require__(57482),lu=__webpack_require__(59725),Vl=__webpack_require__(17610),wl=__webpack_require__(56966),Bu=__webpack_require__(11507),cu=__webpack_require__(16315),pf=__webpack_require__(60239),Tu=__webpack_require__(49381),_u=__webpack_require__(17230),Hu=__webpack_require__(62720),Ac=__webpack_require__(57151),Ol=__webpack_require__(48732),Ia=__webpack_require__(18481),_f=__webpack_require__(55055),Yc=__webpack_require__(7195),dl=__webpack_require__(89179),Xc=__webpack_require__(90965),Of=__webpack_require__(67725),Tc=__webpack_require__(59884),Cu=__webpack_require__(89202),mf=__webpack_require__(97815),Cc=__webpack_require__(11593),Yl=__webpack_require__(7597),vf=__webpack_require__(55182),Pc=__webpack_require__(34366),Pu=__webpack_require__(85425),hl=__webpack_require__(64522),Ic=__webpack_require__(41599),pl=__webpack_require__(86465),Qc=__webpack_require__(78437),gf=__webpack_require__(73624),lc=__webpack_require__(62059),wo=__webpack_require__(10305),Dc=__webpack_require__(41208),qc=__webpack_require__(25204),_l=__webpack_require__(40061),Nu=__webpack_require__(47803),So=__webpack_require__(7893),kl=__webpack_require__(4890),kf=__webpack_require__(5340),Oc=__webpack_require__(61650),Wu=__webpack_require__(58246),Gs=__webpack_require__(65873),mo=__webpack_require__(63579),Iu=__webpack_require__(87296),Ue=__webpack_require__(59301),Gu=__webpack_require__(4676),yu=__webpack_require__(35338),cc=__webpack_require__(67704);function fu(Mn){var ni=Mn.id,qi=Mn.basename,Ba=Mn.cb,fa=new URLSearchParams({route:ni,url:window.location.href}).toString(),Sa="".concat(Ku(window.umiServerLoaderPath||qi),"__serverLoader?").concat(fa);fetch(Sa,{credentials:"include"}).then(function(xa){return xa.json()}).then(Ba).catch(console.error)}function Ku(){var Mn=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return Mn.endsWith("/")?Mn:"".concat(Mn,"/")}var fc=__webpack_require__(38127),dc=__webpack_require__(38329),rl=__webpack_require__(8616),nl=["content"],Du=["content"],yf=/^(http:|https:)?\/\//;function hc(Mn){return yf.test(Mn)||Mn.startsWith("/")&&!Mn.startsWith("/*")||Mn.startsWith("./")||Mn.startsWith("../")}var bu=function(){return Ue.createElement("noscript",{dangerouslySetInnerHTML:{__html:"<b>Enable JavaScript to run this app.</b>"}})},ml=function(ni){var qi,Ba=ni.loaderData,fa=ni.htmlPageOpts,Sa=ni.manifest,xa=(Sa==null||(qi=Sa.assets)===null||qi===void 0?void 0:qi["umi.css"])||"";return Ue.createElement("script",{suppressHydrationWarning:!0,dangerouslySetInnerHTML:{__html:"window.__UMI_LOADER_DATA__ = ".concat(JSON.stringify(Ba||{}),"; window.__UMI_METADATA_LOADER_DATA__ = ").concat(JSON.stringify(fa||{}),"; window.__UMI_BUILD_ClIENT_CSS__ = '").concat(xa,"'")}})};function Ou(Mn){var ni=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(typeof Mn=="string")return hc(Mn)?(0,mo.Z)({src:Mn},ni):{content:Mn};if((0,rl.Z)(Mn)==="object")return(0,mo.Z)((0,mo.Z)({},Mn),ni);throw new Error("Invalid script type: ".concat((0,rl.Z)(Mn)))}function Uf(Mn){return hc(Mn)?{type:"link",href:Mn}:{type:"style",content:Mn}}var Jc=function(ni){var qi,Ba,fa,Sa,xa,Os,da=ni.htmlPageOpts;return Ue.createElement(Ue.Fragment,null,(da==null?void 0:da.title)&&Ue.createElement("title",null,da.title),da==null||(qi=da.favicons)===null||qi===void 0?void 0:qi.map(function(Ms,Yu){return Ue.createElement("link",{key:Yu,rel:"shortcut icon",href:Ms})}),(da==null?void 0:da.description)&&Ue.createElement("meta",{name:"description",content:da.description}),(da==null||(Ba=da.keywords)===null||Ba===void 0?void 0:Ba.length)&&Ue.createElement("meta",{name:"keywords",content:da.keywords.join(",")}),da==null||(fa=da.metas)===null||fa===void 0?void 0:fa.map(function(Ms){return Ue.createElement("meta",{key:Ms.name,name:Ms.name,content:Ms.content})}),da==null||(Sa=da.links)===null||Sa===void 0?void 0:Sa.map(function(Ms,Yu){return Ue.createElement("link",(0,dc.Z)({key:Yu},Ms))}),da==null||(xa=da.styles)===null||xa===void 0?void 0:xa.map(function(Ms,Yu){var al=Uf(Ms),yl=al.type,Xu=al.href,Bl=al.content;if(yl==="link")return Ue.createElement("link",{key:Yu,rel:"stylesheet",href:Xu});if(yl==="style")return Ue.createElement("style",{key:Yu},Bl)}),da==null||(Os=da.headScripts)===null||Os===void 0?void 0:Os.map(function(Ms,Yu){var al=Ou(Ms),yl=al.content,Xu=(0,fc.Z)(al,nl);return Ue.createElement("script",(0,dc.Z)({dangerouslySetInnerHTML:{__html:yl},key:Yu},Xu))}))};function Zo(Mn){var ni,qi=Mn.children,Ba=Mn.loaderData,fa=Mn.manifest,Sa=Mn.htmlPageOpts,xa=Mn.__INTERNAL_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,Os=Mn.mountElementId;if(xa!=null&&xa.pureHtml)return Ue.createElement("html",null,Ue.createElement("head",null,Ue.createElement(Jc,{htmlPageOpts:Sa})),Ue.createElement("body",null,Ue.createElement(bu,null),Ue.createElement("div",{id:Os},qi),Ue.createElement(ml,{manifest:fa,loaderData:Ba,htmlPageOpts:Sa})));if(xa!=null&&xa.pureApp)return Ue.createElement(Ue.Fragment,null,qi);var da=typeof window=="undefined"?fa==null?void 0:fa.assets["umi.css"]:window.__UMI_BUILD_ClIENT_CSS__;return Ue.createElement("html",{suppressHydrationWarning:!0,lang:(Sa==null?void 0:Sa.lang)||"en"},Ue.createElement("head",null,Ue.createElement("meta",{charSet:"utf-8"}),Ue.createElement("meta",{name:"viewport",content:"width=device-width, initial-scale=1"}),da&&Ue.createElement("link",{suppressHydrationWarning:!0,rel:"stylesheet",href:da}),Ue.createElement(Jc,{htmlPageOpts:Sa})),Ue.createElement("body",null,Ue.createElement(bu,null),Ue.createElement("div",{id:Os},qi),Ue.createElement(ml,{manifest:fa,loaderData:Ba,htmlPageOpts:Sa}),Sa==null||(ni=Sa.scripts)===null||ni===void 0?void 0:ni.map(function(Ms,Yu){var al=Ou(Ms),yl=al.content,Xu=(0,fc.Z)(al,Du);return Ue.createElement("script",(0,dc.Z)({dangerouslySetInnerHTML:{__html:yl},key:Yu},Xu))})))}var Rl=Ue.createContext(void 0);function kc(){return Ue.useContext(Rl)}var pc=["redirect"];function _c(Mn){var ni=Mn.routesById,qi=Mn.parentId,Ba=Mn.routeComponents,fa=Mn.useStream,Sa=fa===void 0?!0:fa;return Object.keys(ni).filter(function(xa){return ni[xa].parentId===qi}).map(function(xa){var Os=vc((0,mo.Z)((0,mo.Z)({route:ni[xa],routeComponent:Ba[xa],loadingComponent:Mn.loadingComponent,reactRouter5Compat:Mn.reactRouter5Compat},Mn.reactRouter5Compat&&{hasChildren:Object.keys(ni).filter(function(Ms){return ni[Ms].parentId===xa}).length>0}),{},{useStream:Sa})),da=_c({routesById:ni,routeComponents:Ba,parentId:Os.id,loadingComponent:Mn.loadingComponent,reactRouter5Compat:Mn.reactRouter5Compat,useStream:Sa});return da.length>0&&(Os.children=da,Os.routes=da),Os})}function mc(Mn){var ni=(0,yu.UO)(),qi=(0,yu.Gn)(Mn.to,ni),Ba=(0,cc.T$)(),fa=(0,yu.TH)();if(Ba!=null&&Ba.keepQuery){var Sa=fa.search+fa.hash;qi+=Sa}var xa=(0,mo.Z)((0,mo.Z)({},Mn),{},{to:qi});return Ue.createElement(yu.Fg,(0,dc.Z)({replace:!0},xa))}function vc(Mn){var ni=Mn.route,qi=Mn.useStream,Ba=qi===void 0?!0:qi,fa=ni.redirect,Sa=(0,fc.Z)(ni,pc),xa=Mn.reactRouter5Compat?Rc:Xl;return(0,mo.Z)({element:fa?Ue.createElement(mc,{to:fa}):Ue.createElement(Rl.Provider,{value:{route:Mn.route}},Ue.createElement(xa,{loader:Ue.memo(Mn.routeComponent),loadingComponent:Mn.loadingComponent||Rf,hasChildren:Mn.hasChildren,useStream:Ba}))},Sa)}function Rf(){return Ue.createElement("div",null)}function Rc(Mn){var ni=kc(),qi=ni.route,Ba=(0,cc.Ov)(),fa=Ba.history,Sa=Ba.clientRoutes,xa=(0,yu.UO)(),Os={params:xa,isExact:!0,path:qi.path,url:fa.location.pathname},da=Mn.loader,Ms={location:fa.location,match:Os,history:fa,params:xa,route:qi,routes:Sa};return Mn.useStream?Ue.createElement(Ue.Suspense,{fallback:Ue.createElement(Mn.loadingComponent,null)},Ue.createElement(da,Ms,Mn.hasChildren&&Ue.createElement(yu.j3,null))):Ue.createElement(da,Ms,Mn.hasChildren&&Ue.createElement(yu.j3,null))}function Xl(Mn){var ni=Mn.loader;return Mn.useStream?Ue.createElement(Ue.Suspense,{fallback:Ue.createElement(Mn.loadingComponent,null)},Ue.createElement(ni,null)):Ue.createElement(ni,null)}var Ql=null;function bf(){return Ql}function ef(Mn){var ni=Mn.history,qi=Ue.useState({action:ni.action,location:ni.location}),Ba=(0,Iu.Z)(qi,2),fa=Ba[0],Sa=Ba[1];return(0,Ue.useLayoutEffect)(function(){return ni.listen(Sa)},[ni]),(0,Ue.useLayoutEffect)(function(){function xa(Os){Mn.pluginManager.applyPlugins({key:"onRouteChange",type:"event",args:{routes:Mn.routes,clientRoutes:Mn.clientRoutes,location:Os.location,action:Os.action,basename:Mn.basename,isFirst:!!Os.isFirst}})}return xa({location:fa.location,action:fa.action,isFirst:!0}),ni.listen(xa)},[ni,Mn.routes,Mn.clientRoutes]),Ue.createElement(yu.F0,{navigator:ni,location:fa.location,basename:Mn.basename},Mn.children)}function il(){var Mn=(0,cc.Ov)(),ni=Mn.clientRoutes;return(0,yu.V$)(ni)}var gc=["innerProvider","i18nProvider","accessProvider","dataflowProvider","outerProvider","rootContainer"],yc=function(ni,qi){var Ba=ni.basename||"/",fa=_c({routesById:ni.routes,routeComponents:ni.routeComponents,loadingComponent:ni.loadingComponent,reactRouter5Compat:ni.reactRouter5Compat,useStream:ni.useStream});ni.pluginManager.applyPlugins({key:"patchClientRoutes",type:"event",args:{routes:fa}});for(var Sa=Ue.createElement(ef,{basename:Ba,pluginManager:ni.pluginManager,routes:ni.routes,clientRoutes:fa,history:ni.history},qi),xa=0,Os=gc;xa<Os.length;xa++){var da=Os[xa];Sa=ni.pluginManager.applyPlugins({type:"modify",key:da,initialValue:Sa,args:{routes:ni.routes,history:ni.history,plugin:ni.pluginManager}})}var Ms=function(){var al=(0,Ue.useState)({}),yl=(0,Iu.Z)(al,2),Xu=yl[0],Bl=yl[1],Kf=(0,Ue.useState)(window.__UMI_LOADER_DATA__||{}),Sf=(0,Iu.Z)(Kf,2),tc=Sf[0],Lf=Sf[1],af=(0,Ue.useCallback)(function(sf,of){var Qu,Vf=(((Qu=(0,yu.fp)(fa,sf,Ba))===null||Qu===void 0?void 0:Qu.map(function(sl){return sl.route.id}))||[]).filter(Boolean);Vf.forEach(function(sl){var uf,Mf;if(window.__umi_route_prefetch__){var iu,Af=(iu=ni.routeComponents[sl])===null||iu===void 0||(iu=iu._payload)===null||iu===void 0?void 0:iu._result;typeof Af=="function"&&Af()}var lf=(uf=ni.routes[sl])===null||uf===void 0?void 0:uf.clientLoader,Cl=!!lf,$c=(Mf=ni.routes[sl])===null||Mf===void 0?void 0:Mf.hasServerLoader;!of&&$c&&!Cl&&!window.__UMI_LOADER_DATA__&&fu({id:sl,basename:Ba,cb:function(jc){Ue.startTransition(function(){Lf(function(Ff){return(0,mo.Z)((0,mo.Z)({},Ff),{},(0,Gs.Z)({},sl,jc))})})}});var au=!!Xu[sl],Tf=Cl&&lf.hydrate||!$c,Cf=$c&&!window.__UMI_LOADER_DATA__;Cl&&!au&&(Tf||Cf)&&lf({serverLoader:function(){return fu({id:sl,basename:Ba,cb:function(Ff){Ue.startTransition(function(){Lf(function(Uc){return(0,mo.Z)((0,mo.Z)({},Uc),{},(0,Gs.Z)({},sl,Ff))})})}})}}).then(function(cf){Bl(function(jc){return(0,mo.Z)((0,mo.Z)({},jc),{},(0,Gs.Z)({},sl,cf))})})})},[Xu]);return(0,Ue.useEffect)(function(){return af(window.location.pathname,!0),ni.history.listen(function(sf){af(sf.location.pathname)})},[]),(0,Ue.useLayoutEffect)(function(){typeof ni.callback=="function"&&ni.callback()},[]),Ue.createElement(cc.Il.Provider,{value:{routes:ni.routes,routeComponents:ni.routeComponents,clientRoutes:fa,pluginManager:ni.pluginManager,rootElement:ni.rootElement,basename:Ba,clientLoaderData:Xu,serverLoaderData:tc,preloadRoute:af,history:ni.history}},Sa)};return Ms};function Lc(Mn){var ni=Mn.rootElement||document.getElementById("root"),qi=yc(Mn,Ue.createElement(il,null));if(Mn.components)return qi;if(Mn.hydrate){var Ba=window.__UMI_LOADER_DATA__||{},fa=window.__UMI_METADATA_LOADER_DATA__||{},Sa={metadata:fa,loaderData:Ba,mountElementId:Mn.mountElementId},xa=Mn.__INTERNAL_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.pureApp||Mn.__INTERNAL_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.pureHtml;Gu.hydrateRoot(xa?ni:document,xa?Ue.createElement(qi,null):Ue.createElement(Zo,Sa,Ue.createElement(qi,null)));return}if(Gu.createRoot){Ql=Gu.createRoot(ni),Ql.render(Ue.createElement(qi,null));return}Gu.render(Ue.createElement(qi,null),ni)}var Mc=(Mn,ni,qi)=>new Promise((Ba,fa)=>{var Sa=da=>{try{Os(qi.next(da))}catch(Ms){fa(Ms)}},xa=da=>{try{Os(qi.throw(da))}catch(Ms){fa(Ms)}},Os=da=>da.done?Ba(da.value):Promise.resolve(da.value).then(Sa,xa);Os((qi=qi.apply(Mn,ni)).next())});function xf(){return Mc(this,null,function*(){return{routes:{1:{path:"/",parentId:"@@/global-layout",id:"1"},2:{path:"/paperlibrary",parentId:"1",id:"2"},3:{path:"/paperlibrary",parentId:"2",id:"3"},4:{path:"/paperlibrary/add",parentId:"2",id:"4"},5:{path:"/paperlibrary/add/:id",parentId:"2",id:"5"},6:{path:"/paperlibrary/see/:id",parentId:"2",id:"6"},7:{path:"/paperlibrary/edit_select/:id",parentId:"2",id:"7"},8:{path:"/paperlibrary/exchangequestion",parentId:"2",id:"8"},9:{path:"/paths",parentId:"1",id:"9"},10:{path:"/paths",parentId:"9",id:"10"},11:{path:"/paths/higherVocationalEducation",parentId:"9",id:"11"},12:{path:"/paths/new",parentId:"9",id:"12"},13:{path:"/paths/guidance",exact:!0,parentId:"9",id:"13"},14:{path:"/paths/:pathId",parentId:"9",id:"14"},15:{path:"/paths/:pathId/statistics",parentId:"9",id:"15"},16:{path:"/paths/:pathId/edit",parentId:"9",id:"16"},17:{path:"/paths/:pathId/:stageId/program_homework/:categoryId/add",parentId:"9",id:"17"},18:{path:"/paths/:pathId/:stageId/program_homework/:categoryId/edit",parentId:"9",id:"18"},19:{path:"/classrooms",parentId:"1",id:"19"},20:{path:"/classrooms",parentId:"19",id:"20"},21:{path:"/classrooms/examList",parentId:"19",id:"21"},22:{path:"/classrooms/classicCases",parentId:"19",id:"22"},23:{path:"/classrooms/index",parentId:"19",id:"23"},24:{path:"/classrooms/new",parentId:"19",id:"24"},25:{path:"/classrooms/:coursesId/edit",parentId:"19",id:"25"},26:{path:"/classrooms/news/:subjectid/newgold/:id",parentId:"19",id:"26"},27:{path:"/classrooms/:coursesId/newgolds/settings",parentId:"19",id:"27"},28:{path:"/classrooms/:coursesId/shixun_homework/:categoryId/review_detail/:userId",parentId:"19",id:"28"},29:{path:"/classrooms/:coursesId/common_homework/:categoryId/review_detail/:userId",parentId:"19",id:"29"},30:{path:"/classrooms/:coursesId/program_homework/:categoryId/review_detail/:userId",parentId:"19",id:"30"},31:{path:"/classrooms/:coursesId/shixun_homework/:categoryId/detail",parentId:"19",id:"31"},32:{path:"/classrooms/:coursesId/shixun_homework/:categoryId/:homeworkId/comment",parentId:"19",id:"32"},33:{path:"/classrooms/:coursesId/common_homework/:categoryId/:homeworkId/comment",parentId:"19",id:"33"},34:{path:"/classrooms/:coursesId/shixun_homework/:categoryId/:homeworkId/commitsummary",parentId:"19",id:"34"},35:{path:"/classrooms/:coursesId/group_homework/:categoryId/detail",parentId:"19",id:"35"},36:{path:"/classrooms/:coursesId/common_homework/:categoryId/detail",parentId:"19",id:"36"},37:{path:"/classrooms/:coursesId/common_homework/:categoryId/review/:userId",parentId:"19",id:"37"},38:{path:"/classrooms/:coursesId/group_homework/:commonHomeworkId/review/:userId",parentId:"19",id:"38"},39:{path:"/classrooms/:coursesId/group_homework/:commonHomeworkId/post",parentId:"19",id:"39"},40:{path:"/classrooms/:coursesId/group_homework/:commonHomeworkId/:homeworkId/edit",parentId:"19",id:"40"},41:{path:"/classrooms/:coursesId/exercise/:categoryId/detail/:userId/review_detail",parentId:"19",id:"41"},42:{path:"/classrooms/:coursesId/exercise/:categoryId/detail",parentId:"19",id:"42"},43:{path:"/classrooms/:coursesId/exercise/:categoryId/preview_select",parentId:"19",id:"43"},44:{path:"/classrooms/:coursesId/exercise/:categoryId/:login/initate_answer",parentId:"19",id:"44"},45:{path:"/classrooms/:coursesId/exercise/:categoryId/users/:login",parentId:"19",id:"45"},46:{path:"/classrooms/:coursesId/exercisenotice/:categoryId/users/:login",parentId:"19",id:"46"},47:{path:"/classrooms/:coursesId/exercise/:categoryId/random/edit",parentId:"19",id:"47"},48:{path:"/classrooms/:coursesId/exercise/:categoryId/random/preview",parentId:"19",id:"48"},49:{path:"/classrooms/:coursesId/exercise/add",parentId:"19",id:"49"},50:{path:"/classrooms/:coursesId/exercise/add/:exerciseId",parentId:"19",id:"50"},51:{path:"/classrooms/:coursesId/exercise/:exerciseId/reviews/group",parentId:"19",id:"51"},52:{path:"/classrooms/:coursesId/exercise/:exerciseId/review/:userId",parentId:"19",id:"52"},53:{path:"/classrooms/:coursesId/exercise/:exerciseId/centralizeReview/:userId",parentId:"19",id:"53"},54:{path:"/classrooms/:coursesId/exercise/:exerciseId/export_blank",parentId:"19",id:"54"},55:{path:"/classrooms/:coursesId/exercise/:exerciseId/sumup",parentId:"19",id:"55"},56:{path:"/classrooms/:coursesId/exercise/:exerciseId/sumup/edit",parentId:"19",id:"56"},57:{path:"/classrooms/:coursesId/exercise/:exerciseId/analysis/:studentId",parentId:"19",id:"57"},58:{path:"/classrooms/:coursesId/shixun_homework/:exerciseId/analysis/:studentId",parentId:"19",id:"58"},59:{path:"/classrooms/:coursesId/exercise/:exerciseId/analysis/:studentId/code",parentId:"19",id:"59"},60:{path:"/classrooms/:coursesId/shixun_homework/:exerciseId/analysis/:studentId/code",parentId:"19",id:"60"},61:{path:"/classrooms/:coursesId/graduation_topics/:categoryId/detail",parentId:"19",id:"61"},62:{path:"/classrooms/:coursesId/graduation_topics/:categoryId/add",parentId:"19",id:"62"},63:{path:"/classrooms/:coursesId/graduation_topics/:categoryId/edit",parentId:"19",id:"63"},64:{path:"/classrooms/:coursesId/graduation_tasks/:categoryId/add",parentId:"19",id:"64"},65:{path:"/classrooms/:coursesId/graduation_tasks/:categoryId/edit",parentId:"19",id:"65"},66:{path:"/classrooms/:coursesId/graduation_tasks/:categoryId/detail",parentId:"19",id:"66"},67:{path:"/classrooms/:coursesId/common_homework/:categoryId/add",parentId:"19",id:"67"},68:{path:"/classrooms/:coursesId/common_homework/:categoryId/edit",parentId:"19",id:"68"},69:{path:"/classrooms/:coursesId/common_homework/:commonHomeworkId/post",parentId:"19",id:"69"},70:{path:"/classrooms/:coursesId/common_homework/:commonHomeworkId/:homeworkId/edit",parentId:"19",id:"70"},71:{path:"/classrooms/:coursesId/group_homework/:categoryId/add",parentId:"19",id:"71"},72:{path:"/classrooms/:coursesId/group_homework/:categoryId/edit",parentId:"19",id:"72"},73:{path:"/classrooms/:coursesId/poll/:categoryId/add",parentId:"19",id:"73"},74:{path:"/classrooms/:coursesId/poll/:categoryId/edit",parentId:"19",id:"74"},75:{path:"/classrooms/:coursesId/poll/:categoryId/detail",parentId:"19",id:"75"},76:{path:"/classrooms/:coursesId/poll/:categoryId/users/:login",parentId:"19",id:"76"},77:{path:"/classrooms/:coursesId/poll/:categoryId/questionnaireInfo/:login",parentId:"19",id:"77"},78:{path:"/classrooms/:coursesId/board/:categoryId/Add",parentId:"19",id:"78"},79:{path:"/classrooms/:coursesId/board/:categoryId/Edit/:boardId",parentId:"19",id:"79"},80:{path:"/classrooms/:coursesId/board/:categoryId/Detail/:boardId",parentId:"19",id:"80"},81:{path:"/classrooms/:courseId/template/:templateId",parentId:"19",id:"81"},82:{path:"/classrooms/:courseId/common_homework/:homeworkId/lab-report/:reportId",parentId:"19",id:"82"},83:{path:"/classrooms/guidance",parentId:"19",id:"83"},84:{path:"/classrooms/:courseId/common_homework/:homeworkId/lab-report-view/:workId",parentId:"19",id:"84"},85:{path:"/classrooms/:coursesId/exercise/:categoryId/users/:login/check",parentId:"19",id:"85"},86:{path:"/classrooms/:coursesId/Studentdetail/:login",parentId:"19",id:"86"},87:{path:"/classrooms/:coursesId/StudentSituation/:categoryId/:login",parentId:"19",id:"87"},88:{path:"/classrooms/:coursesId/engineering/datail",parentId:"19",id:"88"},89:{path:"/classrooms/:coursesId/program_homework/:categoryId/add",parentId:"19",id:"89"},90:{path:"/classrooms/:coursesId/program_homework/:categoryId/edit",parentId:"19",id:"90"},91:{path:"/classrooms/:coursesId/program_homework/ranking",parentId:"19",id:"91"},92:{path:"/classrooms/:coursesId/program_homework/:categoryId/detail",parentId:"19",id:"92"},93:{path:"/classrooms/:coursesId/program_homework/:categoryId/:homeworkId/ranking",parentId:"19",id:"93"},94:{path:"/classrooms/:coursesId/program_homework/:categoryId/:homeworkId/:user_id/comment",parentId:"19",id:"94"},95:{path:"/classrooms/:coursesId/program_homework/:categoryId/answer",parentId:"19",id:"95"},96:{path:"/classrooms/:coursesId/program_homework/:categoryId/answer/add",parentId:"19",id:"96"},97:{path:"/classrooms/:coursesId/program_homework/:categoryId/answer/:answerid/edit",parentId:"19",id:"97"},98:{path:"/classrooms/:coursesId/program_homework/:categoryId/answer/:answerid/detail",parentId:"19",id:"98"},99:{path:"/classrooms/:videoId/video_info",parentId:"19",id:"99"},100:{path:"/classrooms/",parentId:"19",id:"100"},101:{path:"/classrooms/:coursesId/shixun_homework/:categoryId",parentId:"100",id:"101"},102:{path:"/classrooms/:coursesId/shixun_homework",parentId:"100",id:"102"},103:{path:"/classrooms/:coursesId/graduation_topics/:categoryId",parentId:"100",id:"103"},104:{path:"/classrooms/:coursesId/graduation_tasks/:categoryId",parentId:"100",id:"104"},105:{path:"/classrooms/:coursesId/graduation_tasks/:categoryId",parentId:"100",id:"105"},106:{path:"/classrooms/:coursesId/exercise/:categoryId",parentId:"100",id:"106"},107:{path:"/classrooms/:coursesId/exercise",parentId:"100",id:"107"},108:{path:"/classrooms/:coursesId/poll/:categoryId",parentId:"100",id:"108"},109:{path:"/classrooms/:coursesId/poll",parentId:"100",id:"109"},110:{path:"/classrooms/:coursesId/common_homework/:categoryId",parentId:"100",id:"110"},111:{path:"/classrooms/:coursesId/common_homework",parentId:"100",id:"111"},112:{path:"/classrooms/:coursesId/group_homework/:categoryId",parentId:"100",id:"112"},113:{path:"/classrooms/:coursesId/group_homework",parentId:"100",id:"113"},114:{path:"/classrooms/:coursesId/teachers",parentId:"100",id:"114"},115:{path:"/classrooms/:coursesId/students",parentId:"100",id:"115"},116:{path:"/classrooms/:coursesId/assistant",parentId:"100",id:"116"},117:{path:"/classrooms/:coursesId/program_homework",parentId:"100",id:"117"},118:{path:"/classrooms/:coursesId/program_homework/:categoryId",parentId:"100",id:"118"},119:{path:"/classrooms/:coursesId/engineering",parentId:"100",id:"119"},120:{path:"/classrooms/:coursesId/learning_path",parentId:"100",id:"120"},121:{path:"/classrooms/:coursesId/resource_recommend",parentId:"100",id:"121"},122:{path:"/classrooms/:coursesId/attendance",parentId:"100",id:"122"},123:{path:"/classrooms/:coursesId/attendance/StudetnSign",parentId:"100",id:"123"},124:{path:"/classrooms/:coursesId/attendance/:categoryId/:tabId/detail",parentId:"100",id:"124"},125:{path:"/classrooms/:coursesId/announcement",parentId:"100",id:"125"},126:{path:"/classrooms/:coursesId/announcement/:categoryId",parentId:"100",id:"126"},127:{path:"/classrooms/:coursesId/online_learning",parentId:"100",id:"127"},128:{path:"/classrooms/:coursesId/online_learning/:categoryId",parentId:"100",id:"128"},129:{path:"/classrooms/:coursesId/attachment/:categoryId",parentId:"100",id:"129"},130:{path:"/classrooms/:coursesId/attachment",parentId:"100",id:"130"},131:{path:"/classrooms/:coursesId/video",parentId:"100",id:"131"},132:{path:"/classrooms/:coursesId/video/:categoryId",parentId:"100",id:"132"},133:{path:"/classrooms/:coursesId/video/:categoryId/statistics",parentId:"100",id:"133"},134:{path:"/classrooms/:coursesId/video/:username/upload",parentId:"100",id:"134"},135:{path:"/classrooms/:coursesId/video/:categoryId/statistics/:videoId",parentId:"100",id:"135"},136:{path:"/classrooms/:coursesId/video/:categoryId/statistics/:videoId/:userId",parentId:"100",id:"136"},137:{path:"/classrooms/:coursesId/live_video/:categoryId",parentId:"100",id:"137"},138:{path:"/classrooms/:coursesId/live_video",parentId:"100",id:"138"},139:{path:"/classrooms/:coursesId/video/:categoryId/studentstatistics",parentId:"100",id:"139"},140:{path:"/classrooms/:coursesId/board/:categoryId",parentId:"100",id:"140"},141:{path:"/classrooms/:coursesId/board",parentId:"100",id:"141"},142:{path:"/classrooms/:coursesId/course_group",parentId:"100",id:"142"},143:{path:"/classrooms/:coursesId/course_group/:categoryId",parentId:"100",id:"143"},144:{path:"/classrooms/:coursesId/course_group/:categoryId/detail",parentId:"100",id:"144"},145:{path:"/classrooms/:coursesId/not_course_group/:categoryId",parentId:"100",id:"145"},146:{path:"/classrooms/:coursesId/not_course_group",parentId:"100",id:"146"},147:{path:"/classrooms/:coursesId/statistics/",parentId:"100",id:"147"},148:{path:"/classrooms/:coursesId/statistics/:categoryId",parentId:"100",id:"148"},149:{path:"/classrooms/:coursesId/statistics_video/:categoryId",parentId:"100",id:"149"},150:{path:"/classrooms/:coursesId/statistics_quality/:categoryId",parentId:"100",id:"150"},151:{path:"/classrooms/:coursesId/statistics_user_portrait/:categoryId",parentId:"100",id:"151"},152:{path:"/classrooms/:coursesId/student_statistics/:categoryId",parentId:"100",id:"152"},153:{path:"/classrooms/:coursesId/student_statistics/:categoryId/:listId/:type",parentId:"100",id:"153"},154:{path:"/classrooms/:coursesId/video_statistics/:categoryId/Student/:studentid",parentId:"100",id:"154"},155:{path:"/classrooms/:coursesId/exportlist/:type",parentId:"100",id:"155"},156:{path:"/classrooms/:coursesId",parentId:"100",id:"156"},157:{path:"/classrooms/:coursesId/template",parentId:"100",id:"157"},158:{path:"/competitions",parentId:"1",id:"158"},159:{path:"/competitions/index",parentId:"158",id:"159"},160:{path:"/competitions/:identifier/list",parentId:"158",id:"160"},161:{path:"/competitions/exports",parentId:"158",id:"161"},162:{path:"/competitions",parentId:"158",id:"162"},163:{path:"/competitions/:identifier",parentId:"158",id:"163"},164:{path:"/competitions/index/:identifier",parentId:"158",id:"164"},165:{path:"/competitions/:identifier/detail/enroll",parentId:"158",id:"165"},166:{path:"/competitions/:identifier/detail/UpdateTeanname/:Teannameid",parentId:"158",id:"166"},167:{path:"/competitions/:identifier/detail/teamDetail/:Teamid",parentId:"158",id:"167"},168:{path:"/competitions/detail/:identifier",parentId:"158",id:"168"},169:{path:"/forums",parentId:"1",id:"169"},170:{path:"/forums",parentId:"169",id:"170"},171:{path:"/forums/categories/:memoType",parentId:"169",id:"171"},172:{path:"/forums/new",parentId:"169",id:"172"},173:{path:"/forums/:memoId/edit",parentId:"169",id:"173"},174:{path:"/forums/:memoId",parentId:"169",id:"174"},175:{path:"/problemset",parentId:"1",id:"175"},176:{path:"/problemset",parentId:"175",id:"176"},177:{path:"/problemset/newitem",parentId:"175",id:"177"},178:{path:"/problemset/:type/:id",parentId:"175",id:"178"},179:{path:"/problemset/preview",parentId:"175",id:"179"},180:{path:"/problemset/preview_new",parentId:"175",id:"180"},181:{path:"/problemset/preview_select",parentId:"175",id:"181"},182:{path:"/shixuns",parentId:"1",id:"182"},183:{path:"/shixuns",parentId:"182",id:"183"},184:{path:"/shixuns/exports",parentId:"182",id:"184"},185:{path:"/shixuns/new",parentId:"182",id:"185"},186:{path:"/shixuns/new/CreateImg",parentId:"182",id:"186"},187:{path:"/shixuns/new/:id/imagepreview",parentId:"182",id:"187"},188:{path:"/shixuns/:id/Merge",parentId:"182",id:"188"},189:{path:"/shixuns/:id/Split",parentId:"182",id:"189"},190:{path:"/shixuns/:id/edit",parentId:"182",id:"190"},191:{path:"shixuns/:id/edit/warehouse",parentId:"190",id:"191"},192:{path:"/shixuns/:id/edit/newquestion",parentId:"190",id:"192"},193:{path:"/shixuns/:id/edit/:challengesId/editquestion",parentId:"190",id:"193"},194:{path:"/shixuns/:id/edit/:challengesId/editquestion/:questionId",parentId:"190",id:"194"},195:{path:"/shixuns/:id/edit/new",parentId:"190",id:"195"},196:{path:"/shixuns/:id/edit/:challengesId/editcheckpoint",parentId:"190",id:"196"},197:{path:"/shixuns/:id/edit/:challengesId/tab=2",parentId:"190",id:"197"},198:{path:"/shixuns/:id/edit/:challengesId/tab=3",parentId:"190",id:"198"},199:{path:"/shixuns/:id/edit/:challengesId/tab=4",parentId:"190",id:"199"},200:{path:"/shixuns/:id",parentId:"182",id:"200"},201:{path:"/shixuns/:id/challenges",parentId:"200",id:"201"},202:{path:"/shixuns/:id/repository",parentId:"200",id:"202"},203:{path:"/shixuns/:id/secret_repository",parentId:"200",id:"203"},204:{path:"/shixuns/:id/collaborators",parentId:"200",id:"204"},205:{path:"/shixuns/:id/dataset",parentId:"200",id:"205"},206:{path:"/shixuns/:id/dataset/jupyterEdit",parentId:"200",id:"206"},207:{path:"/shixuns/:id/shixun_discuss",parentId:"200",id:"207"},208:{path:"/shixuns/:id/ranking_list",parentId:"200",id:"208"},209:{path:"/shixuns/:id/settings",parentId:"200",id:"209"},210:{path:"/shixuns/:id/repository/:repoId/commits",parentId:"200",id:"210"},211:{path:"/shixuns/:id/secret_repository/:repoId/commits",parentId:"200",id:"211"},212:{path:"/shixuns/:id/repository/upload_file",parentId:"200",id:"212"},213:{path:"/shixuns/:id/secret_repository/upload_file",parentId:"200",id:"213"},214:{path:"/shixuns/:id/repository/add_file",parentId:"200",id:"214"},215:{path:"/shixuns/:id/secret_repository/add_file",parentId:"200",id:"215"},216:{path:"/shixuns/:id/repository/master/shixun_show/:fileId",exact:!1,parentId:"200",id:"216"},217:{path:"/shixuns/:id/secret_repository/master/shixun_show/:fileId",exact:!1,parentId:"200",id:"217"},218:{path:"/shixuns/:id/audit_situation",parentId:"200",id:"218"},219:{path:"/shixuns/:id/fork_list",parentId:"200",id:"219"},220:{path:"/users",parentId:"1",id:"220"},221:{path:"/users/:username/videos/protocol",parentId:"220",id:"221"},222:{path:"/users/:username/videos/resourceProtocol",parentId:"220",id:"222"},223:{path:"/users/:username/videos/success",parentId:"220",id:"223"},224:{path:"/users/:username/topicbank/:topicstype",parentId:"220",id:"224"},225:{path:"/users/:username/topics/:topicId/:topictype/normal/detail",parentId:"220",id:"225"},226:{path:"/users/:username/topics/:topicId/:topictype/group/detail",parentId:"220",id:"226"},227:{path:"/users/:username/topics/:topicId/:topictype/normal/edit",parentId:"220",id:"227"},228:{path:"/users/:username/topics/:topicId/:topictype/group/edit",parentId:"220",id:"228"},229:{path:"/users/:username/topics/:topicId/:topictype/exercise/edit",parentId:"220",id:"229"},230:{path:"/users/:username/topics/:topicId/:topictype/exercise/detail",parentId:"220",id:"230"},231:{path:"/users/:username/topics/:topicId/:topictype/poll/edit",parentId:"220",id:"231"},232:{path:"/users/:username/topics/:topicId/:topictype/poll/detail",parentId:"220",id:"232"},233:{path:"/users/:username/experiment-img/add",parentId:"220",id:"233"},234:{path:"/users/:username",parentId:"220",id:"234"},235:{path:"/users/:username",parentId:"234",id:"235"},236:{path:"/users/:username/baseInfo/edit",parentId:"234",id:"236"},237:{path:"/users/:username/baseInfo",parentId:"234",id:"237"},238:{path:"/users/:username/realNameCertification",parentId:"234",id:"238"},239:{path:"/users/:username/careerCertification",parentId:"234",id:"239"},240:{path:"/users/:username/classrooms",parentId:"234",id:"240"},241:{path:"/users/:username/shixuns",parentId:"234",id:"241"},242:{path:"/users/:username/dataSet",parentId:"234",id:"242"},243:{path:"/users/:username/userPortrait",parentId:"234",id:"243"},244:{path:"/users/:username/learningPath",parentId:"234",id:"244"},245:{path:"/users/:username/teach-group",parentId:"234",id:"245"},246:{path:"/users/:username/competitions",parentId:"234",id:"246"},247:{path:"/users/:username/experiment-img",parentId:"234",id:"247"},248:{path:"/users/:username/experiment-img/:experid/detail",parentId:"234",id:"248"},249:{path:"/users/:username/certificate",parentId:"234",id:"249"},250:{path:"/users/:username/otherResources",parentId:"234",id:"250"},251:{path:"/users/:username/classmanagement",parentId:"234",id:"251"},252:{path:"/users/:username/classmanagement/:couserid",parentId:"234",id:"252"},253:{path:"/users/:username/paths",parentId:"234",id:"253"},254:{path:"/users/:username/projects",parentId:"234",id:"254"},255:{path:"/users/:username/videos",parentId:"234",id:"255"},256:{path:"/users/:username/videos/upload",parentId:"234",id:"256"},257:{path:"/users/:username/topics/:topicstype",parentId:"234",id:"257"},258:{path:"/users/:username/vspaces",parentId:"234",id:"258"},259:{path:"/users/:username/resourcesCenter",parentId:"234",id:"259"},260:{path:"/users/:username/resourcesCenter/:id/detail",parentId:"234",id:"260"},261:{path:"/users/:username/resourceGuarantee",parentId:"234",id:"261"},262:{path:"/users/:username/resourceAllocation",parentId:"234",id:"262"},263:{parentId:"1",id:"263"},264:{path:"/problems",parentId:"263",id:"264"},265:{path:"/problems",parentId:"264",id:"265"},266:{path:"/problems/batchAdd",parentId:"264",id:"266"},267:{path:"/problems/newcreate",parentId:"263",id:"267"},268:{path:"/problems/newedit/:id",exact:!0,parentId:"263",id:"268"},269:{path:"/problems/:id/edit",exact:!0,parentId:"263",id:"269"},270:{path:"/problems/new",exact:!0,parentId:"263",id:"270"},271:{path:"/problems/:id/oj/:save_identifier",parentId:"263",id:"271"},272:{path:"/problems/:id/record-detail/:submitId",parentId:"263",id:"272"},273:{path:"/problems/add",parentId:"263",id:"273"},274:{path:"/problems/:id/ojedit",parentId:"263",id:"274"},275:{path:"/engineering",parentId:"1",id:"275"},276:{path:"/engineering",parentId:"275",id:"276"},277:{path:"/engineering/teacherList",parentId:"276",id:"277"},278:{path:"/engineering/studentList",parentId:"276",id:"278"},279:{path:"/engineering/training/program",parentId:"276",id:"279"},280:{path:"/engineering/training/program/add",parentId:"276",id:"280"},281:{path:"/engineering/training/program/edit",parentId:"276",id:"281"},282:{path:"/engineering/training/objectives",parentId:"276",id:"282"},283:{path:"/engineering/graduated/index",parentId:"276",id:"283"},284:{path:"/engineering/graduated/matrix",parentId:"276",id:"284"},285:{path:"/engineering/course/list",parentId:"276",id:"285"},286:{path:"/engineering/course/setting",parentId:"276",id:"286"},287:{path:"/engineering/course/matrix",parentId:"276",id:"287"},288:{path:"/engineering/navigation",parentId:"276",id:"288"},289:{path:"/engineering/evaluate/course",parentId:"276",id:"289"},290:{path:"/engineering/evaluate/course/:ec_year_id/:id",parentId:"276",id:"290"},291:{path:"/engineering/evaluate/norm",parentId:"276",id:"291"},292:{path:"/engineering/evaluate/document",parentId:"276",id:"292"},293:{path:"/engineering/evaluate/norm/:ec_year_id/:id",parentId:"276",id:"293"},294:{path:"/engineering/*",redirect:"/404",parentId:"276",id:"294"},295:{path:"/innovation",parentId:"1",id:"295"},296:{path:"/innovation/tasks/:taskId",parentId:"295",id:"296"},297:{path:"/innovation",parentId:"295",id:"297"},298:{path:"/innovation/project",parentId:"297",id:"298"},299:{path:"/innovation/dataset",parentId:"297",id:"299"},300:{path:"/innovation/mirror",parentId:"297",id:"300"},301:{path:"/innovation/my-project",parentId:"297",id:"301"},302:{path:"/innovation/my-dataset",parentId:"297",id:"302"},303:{path:"/innovation/my-mirror",parentId:"297",id:"303"},304:{path:"/innovation/project/create",parentId:"297",id:"304"},305:{path:"/innovation/project/edit/:id",parentId:"297",id:"305"},306:{path:"/innovation/project/detail/:taskId",parentId:"297",id:"306"},307:{path:"/tasks",parentId:"1",id:"307"},308:{path:"/tasks/:taskId",exact:!0,parentId:"307",id:"308"},309:{path:"/tasks/:identifier/jupyter/",exact:!0,parentId:"307",id:"309"},310:{path:"/tasks/:courseId/:homeworkId/:taskId",exact:!0,parentId:"307",id:"310"},311:{path:"/tasks/jupyter/:courseId/:homeworkId/:identifier",exact:!0,parentId:"307",id:"311"},312:{path:"/tasks/:courseId/:exerciseId/:taskId/exercise",exact:!0,parentId:"307",id:"312"},313:{path:"/myproblems",parentId:"1",id:"313"},314:{path:"/myproblems/:id/record-detail/:submitId",exact:!0,parentId:"313",id:"314"},315:{path:"/myproblems/:id",exact:!0,parentId:"313",id:"315"},316:{path:"/account",parentId:"1",id:"316"},317:{path:"/account",parentId:"316",id:"317"},318:{path:"/account/profile",parentId:"317",id:"318"},319:{path:"/account/profile/edit",parentId:"317",id:"319"},320:{path:"/account/certification",parentId:"317",id:"320"},321:{path:"/account/secure",parentId:"317",id:"321"},322:{path:"/account/binding",parentId:"317",id:"322"},323:{path:"/account/Results",parentId:"317",id:"323"},324:{path:"/ch",parentId:"1",id:"324"},325:{path:"/ch/rest/edit/:categoryId/:id",exact:!0,parentId:"324",id:"325"},326:{path:"/ch/rest/",exact:!0,parentId:"324",id:"326"},327:{path:"/ch/rest/:id",exact:!0,parentId:"324",id:"327"},328:{path:"/order",parentId:"1",id:"328"},329:{path:"/order",parentId:"328",id:"329"},330:{path:"/order/invoice",parentId:"328",id:"330"},331:{path:"/order/records",parentId:"328",id:"331"},332:{path:"/order/apply",parentId:"328",id:"332"},333:{path:"/order/view",parentId:"328",id:"333"},334:{path:"/order/:courseId/information",parentId:"328",id:"334"},335:{path:"/order/:courseId/pay",parentId:"328",id:"335"},336:{path:"/order/:orderNum/result",parentId:"328",id:"336"},337:{path:"/messages",parentId:"1",id:"337"},338:{path:"/messages/:userId/user_tidings",parentId:"337",id:"338"},339:{path:"/messages/:userId/private_messages",parentId:"337",id:"339"},340:{path:"/messages/:userId/message_detail",parentId:"337",id:"340"},341:{path:"/vtrs",parentId:"1",id:"341"},342:{path:"/vtrs/:virtual_spacesId",parentId:"341",id:"342"},343:{path:"/vtrs/:virtual_spacesId",exact:!0,parentId:"342",id:"343"},344:{path:"/vtrs/:virtual_spacesId/workplace",exact:!0,parentId:"342",id:"344"},345:{path:"/vtrs/:virtual_spacesId/experiment",parentId:"342",id:"345"},346:{path:"/vtrs/:virtual_spacesId/announcement",parentId:"342",id:"346"},347:{path:"/vtrs/:virtual_spacesId/announcement/add",parentId:"342",id:"347"},348:{path:"/vtrs/:virtual_spacesId/announcement/:id/edit",parentId:"342",id:"348"},349:{path:"/vtrs/:virtual_spacesId/announcement/:id/detail",parentId:"342",id:"349"},350:{path:"/vtrs/:virtual_spacesId/survey",parentId:"342",id:"350"},351:{path:"/vtrs/:virtual_spacesId/survey/:id/detail",parentId:"342",id:"351"},352:{path:"/vtrs/:virtual_spacesId/knowledge",parentId:"342",id:"352"},353:{path:"/vtrs/:virtual_spacesId/knowledge/add",parentId:"342",id:"353"},354:{path:"/vtrs/:virtual_spacesId/knowledge/:id/edit",parentId:"342",id:"354"},355:{path:"/vtrs/:virtual_spacesId/material",parentId:"342",id:"355"},356:{path:"/vtrs/:virtual_spacesId/material/:id/detail",parentId:"342",id:"356"},357:{path:"/vtrs/:virtual_spacesId/lesson",parentId:"342",id:"357"},358:{path:"/vtrs/:virtual_spacesId/lesson/:id/detail",parentId:"342",id:"358"},359:{path:"/vtrs/:virtual_spacesId/lesson/:id/detail/:fileid",parentId:"342",id:"359"},360:{path:"/vtrs/:virtual_spacesId/discussion",parentId:"342",id:"360"},361:{path:"/vtrs/:virtual_spacesId/discussion/:id/detail",parentId:"342",id:"361"},362:{path:"/vtrs/:virtual_spacesId/discussion/:id/detail/:fileid",parentId:"342",id:"362"},363:{path:"/vtrs/:virtual_spacesId/settings",parentId:"342",id:"363"},364:{path:"/vtrs/:virtual_spacesId/resources",parentId:"342",id:"364"},365:{path:"/vtrs/:virtual_spacesId/resources/:id/detail",parentId:"342",id:"365"},366:{path:"/vtrs/:virtual_spacesId/Plan",parentId:"342",id:"366"},367:{path:"/vtrs/:virtual_spacesId/plan/:id/detail",parentId:"342",id:"367"},368:{path:"/vtrs/:virtual_spacesId/digtal",parentId:"342",id:"368"},369:{path:"/vtrs/:virtual_spacesId/homepage",parentId:"342",id:"369"},370:{path:"/vtrs/:virtual_spacesId/*",parentId:"342",id:"370"},371:{path:"/101",parentId:"1",id:"371"},372:{path:"/101/:virtual_spacesId",parentId:"371",id:"372"},373:{path:"/101/:virtual_spacesId",exact:!0,parentId:"372",id:"373"},374:{path:"/101/:virtual_spacesId/workplace",exact:!0,parentId:"372",id:"374"},375:{path:"/101/:virtual_spacesId/experiment",parentId:"372",id:"375"},376:{path:"/101/:virtual_spacesId/announcement",parentId:"372",id:"376"},377:{path:"/101/:virtual_spacesId/announcement/add",parentId:"372",id:"377"},378:{path:"/101/:virtual_spacesId/announcement/:id/edit",parentId:"372",id:"378"},379:{path:"/101/:virtual_spacesId/announcement/:id/detail",parentId:"372",id:"379"},380:{path:"/101/:virtual_spacesId/survey",parentId:"372",id:"380"},381:{path:"/101/:virtual_spacesId/survey/:id/detail",parentId:"372",id:"381"},382:{path:"/101/:virtual_spacesId/knowledge",parentId:"372",id:"382"},383:{path:"/101/:virtual_spacesId/knowledge/add",parentId:"372",id:"383"},384:{path:"/101/:virtual_spacesId/knowledge/:id/edit",parentId:"372",id:"384"},385:{path:"/101/:virtual_spacesId/material",parentId:"372",id:"385"},386:{path:"/101/:virtual_spacesId/material/:id/detail",parentId:"372",id:"386"},387:{path:"/101/:virtual_spacesId/lesson",parentId:"372",id:"387"},388:{path:"/101/:virtual_spacesId/lesson/:id/detail",parentId:"372",id:"388"},389:{path:"/101/:virtual_spacesId/lesson/:id/detail/:fileid",parentId:"372",id:"389"},390:{path:"/101/:virtual_spacesId/discussion",parentId:"372",id:"390"},391:{path:"/101/:virtual_spacesId/discussion/:id/detail",parentId:"372",id:"391"},392:{path:"/101/:virtual_spacesId/discussion/:id/detail/:fileid",parentId:"372",id:"392"},393:{path:"/101/:virtual_spacesId/settings",parentId:"372",id:"393"},394:{path:"/101/:virtual_spacesId/resources",parentId:"372",id:"394"},395:{path:"/101/:virtual_spacesId/resources/:id/detail",parentId:"372",id:"395"},396:{path:"/101/:virtual_spacesId/Plan",parentId:"372",id:"396"},397:{path:"/101/:virtual_spacesId/plan/:id/detail",parentId:"372",id:"397"},398:{path:"/101/:virtual_spacesId/digtal",parentId:"372",id:"398"},399:{path:"/101/:virtual_spacesId/homepage",parentId:"372",id:"399"},400:{path:"/101/:virtual_spacesId/*",parentId:"372",id:"400"},401:{path:"/administration",parentId:"1",id:"401"},402:{path:"/administration",parentId:"401",id:"402"},403:{path:"/administration/college",parentId:"402",id:"403"},404:{path:"/administration/student",parentId:"402",id:"404"},405:{path:"/administration/student/:studentId/edit",parentId:"402",id:"405"},406:{path:"/administration/profession",parentId:"402",id:"406"},407:{path:"/graduations",parentId:"1",id:"407"},408:{path:"/graduations",exact:!0,parentId:"407",id:"408"},409:{path:"/graduations/:id/:moduleKey/:moduleId/review/:itemId",exact:!0,parentId:"407",id:"409"},410:{path:"/graduations/:id",parentId:"407",id:"410"},411:{path:"/graduations/:id/index",parentId:"410",id:"411"},412:{path:"/graduations/:id/topics",parentId:"410",id:"412"},413:{path:"/graduations/:id/student_selection",parentId:"410",id:"413"},414:{path:"/graduations/:id/tasks",parentId:"410",id:"414"},415:{path:"/graduations/:id/opening_report",parentId:"410",id:"415"},416:{path:"/graduations/:id/midterm_report",parentId:"410",id:"416"},417:{path:"/graduations/:id/thesis",parentId:"410",id:"417"},418:{path:"/graduations/:id/final_defense",parentId:"410",id:"418"},419:{path:"/graduations/:id/final_thesis",parentId:"410",id:"419"},420:{path:"/graduations/:id/settings",parentId:"410",id:"420"},421:{path:"/graduations/:id/teachers",parentId:"410",id:"421"},422:{path:"/graduations/:id/students",parentId:"410",id:"422"},423:{path:"/graduations/:id/archives",parentId:"410",id:"423"},424:{path:"/graduations/:id/grading_summary",parentId:"410",id:"424"},425:{path:"/dataset",parentId:"1",id:"425"},426:{path:"/dataset",exact:!0,parentId:"425",id:"426"},427:{path:"/dataset/:id/detail",exact:!0,parentId:"425",id:"427"},428:{path:"/knowledgegraph",parentId:"1",id:"428"},429:{path:"/knowledgegraph/:pathId",parentId:"428",id:"429"},430:{path:"/knowledgegraph/:pathId/statistics",parentId:"428",id:"430"},431:{path:"/onlinenum",parentId:"1",id:"431"},432:{path:"/onlinenum",parentId:"431",id:"432"},433:{path:"/shixuncontext",parentId:"1",id:"433"},434:{path:"/shixuncontext",parentId:"433",id:"434"},435:{path:"/shixuncontext/:Id/detail",parentId:"433",id:"435"},436:{path:"/educoder-demo",exact:!0,parentId:"1",id:"436"},437:{path:"/training",parentId:"1",id:"437"},438:{name:"\u7CBE\u57F9\u8BFE\u7A0B",path:"/training",parentId:"437",id:"438"},439:{path:"/largeScreen",exact:!0,parentId:"1",id:"439"},440:{path:"/quality",parentId:"1",id:"440"},441:{name:"\u7CBE\u54C1\u8BFE\u7A0B",path:"/quality",parentId:"440",id:"441"},442:{path:"/otherlogin",exact:!0,parentId:"1",id:"442"},443:{path:"/otherloginqq",exact:!0,parentId:"1",id:"443"},444:{path:"/otherloginstart",exact:!0,parentId:"1",id:"444"},445:{path:"/pathsoverview",exact:!0,parentId:"1",id:"445"},446:{path:"/shixunsoverview",exact:!0,parentId:"1",id:"446"},447:{path:"/classroomsoverview",exact:!0,parentId:"1",id:"447"},448:{path:"/login",parentId:"1",id:"448"},449:{path:"/login",parentId:"448",id:"449"},450:{path:"/user",parentId:"1",id:"450"},451:{path:"/user/login",parentId:"450",id:"451"},452:{path:"/user/register",parentId:"450",id:"452"},453:{path:"/user/reset-password",parentId:"450",id:"453"},454:{path:"/colleges",parentId:"1",id:"454"},455:{path:"/colleges/:id/statistics",parentId:"454",id:"455"},456:{path:"/help",parentId:"1",id:"456"},457:{path:"/help/:id",parentId:"456",id:"457"},458:{path:"/video",parentId:"1",id:"458"},459:{path:"/video/:videoId",parentId:"458",id:"459"},460:{path:"/terminal",parentId:"1",id:"460"},461:{path:"/report/:taskId/:game_report_id",parentId:"1",id:"461"},462:{path:"/statsDashboard",parentId:"1",id:"462"},463:{path:"/fileShare",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:Ue.lazy(()=>__webpack_require__.e(6985).then(__webpack_require__.bind(__webpack_require__,26985))),2:Ue.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,4336))),3:Ue.lazy(()=>__webpack_require__.e(4862).then(__webpack_require__.bind(__webpack_require__,41427))),4:Ue.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(3260)]).then(__webpack_require__.bind(__webpack_require__,41332))),5:Ue.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(3260)]).then(__webpack_require__.bind(__webpack_require__,41332))),6:Ue.lazy(()=>__webpack_require__.e(3247).then(__webpack_require__.bind(__webpack_require__,79778))),7:Ue.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(8356),__webpack_require__.e(5664),__webpack_require__.e(4599)]).then(__webpack_require__.bind(__webpack_require__,31600))),8:Ue.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(8356),__webpack_require__.e(5664),__webpack_require__.e(1545)]).then(__webpack_require__.bind(__webpack_require__,34115))),9:Ue.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,4336))),10:Ue.lazy(()=>__webpack_require__.e(6052).then(__webpack_require__.bind(__webpack_require__,26934))),11:Ue.lazy(()=>__webpack_require__.e(5572).then(__webpack_require__.bind(__webpack_require__,92873))),12:Ue.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(8982)]).then(__webpack_require__.bind(__webpack_require__,78397))),13:Ue.lazy(()=>__webpack_require__.e(869).then(__webpack_require__.bind(__webpack_require__,65831))),14:Ue.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(6411),__webpack_require__.e(3332)]).then(__webpack_require__.bind(__webpack_require__,38801))),15:Ue.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(4601)]).then(__webpack_require__.bind(__webpack_require__,53801))),16:Ue.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(8982)]).then(__webpack_require__.bind(__webpack_require__,78397))),17:Ue.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(8356),__webpack_require__.e(5664),__webpack_require__.e(4599)]).then(__webpack_require__.bind(__webpack_require__,31600))),18:Ue.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(8356),__webpack_require__.e(5664),__webpack_require__.e(4599)]).then(__webpack_require__.bind(__webpack_require__,31600))),19:Ue.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,4336))),20:Ue.lazy(()=>__webpack_require__.e(6685).then(__webpack_require__.bind(__webpack_require__,41216))),21:Ue.lazy(()=>__webpack_require__.e(9921).then(__webpack_require__.bind(__webpack_require__,29251))),22:Ue.lazy(()=>__webpack_require__.e(1674).then(__webpack_require__.bind(__webpack_require__,77287))),23:Ue.lazy(()=>__webpack_require__.e(6685).then(__webpack_require__.bind(__webpack_require__,41216))),24:Ue.lazy(()=>__webpack_require__.e(1702).then(__webpack_require__.bind(__webpack_require__,40713))),25:Ue.lazy(()=>__webpack_require__.e(1702).then(__webpack_require__.bind(__webpack_require__,40713))),26:Ue.lazy(()=>__webpack_require__.e(6882).then(__webpack_require__.bind(__webpack_require__,85668))),27:Ue.lazy(()=>__webpack_require__.e(6882).then(__webpack_require__.bind(__webpack_require__,85668))),28:Ue.lazy(()=>__webpack_require__.e(109).then(__webpack_require__.bind(__webpack_require__,10660))),29:Ue.lazy(()=>__webpack_require__.e(737).then(__webpack_require__.bind(__webpack_require__,54193))),30:Ue.lazy(()=>__webpack_require__.e(3391).then(__webpack_require__.bind(__webpack_require__,99590))),31:Ue.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(6411),__webpack_require__.e(3581)]).then(__webpack_require__.bind(__webpack_require__,63109))),32:Ue.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(6411),__webpack_require__.e(342)]).then(__webpack_require__.bind(__webpack_require__,70882))),33:Ue.lazy(()=>__webpack_require__.e(2303).then(__webpack_require__.bind(__webpack_require__,26733))),34:Ue.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(1450)]).then(__webpack_require__.bind(__webpack_require__,57993))),35:Ue.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(195)]).then(__webpack_require__.bind(__webpack_require__,55107))),36:Ue.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(3668)]).then(__webpack_require__.bind(__webpack_require__,84964))),37:Ue.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(2338)]).then(__webpack_require__.bind(__webpack_require__,9167))),38:Ue.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(4662)]).then(__webpack_require__.bind(__webpack_require__,65852))),39:Ue.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(8072)]).then(__webpack_require__.bind(__webpack_require__,68466))),40:Ue.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(479)]).then(__webpack_require__.bind(__webpack_require__,66835))),41:Ue.lazy(()=>__webpack_require__.e(5297).then(__webpack_require__.bind(__webpack_require__,97835))),42:Ue.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(6411),__webpack_require__.e(4164)]).then(__webpack_require__.bind(__webpack_require__,18571))),43:Ue.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(8356),__webpack_require__.e(5664),__webpack_require__.e(4599)]).then(__webpack_require__.bind(__webpack_require__,31600))),44:Ue.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(8356),__webpack_require__.e(4889)]).then(__webpack_require__.bind(__webpack_require__,1810))),45:Ue.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(8356),__webpack_require__.e(4105)]).then(__webpack_require__.bind(__webpack_require__,99573))),46:Ue.lazy(()=>__webpack_require__.e(7482).then(__webpack_require__.bind(__webpack_require__,12258))),47:Ue.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(5816)]).then(__webpack_require__.bind(__webpack_require__,87261))),48:Ue.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(337)]).then(__webpack_require__.bind(__webpack_require__,74768))),49:Ue.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(292)]).then(__webpack_require__.bind(__webpack_require__,93884))),50:Ue.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(292)]).then(__webpack_require__.bind(__webpack_require__,93884))),51:Ue.lazy(()=>__webpack_require__.e(5992).then(__webpack_require__.bind(__webpack_require__,31333))),52:Ue.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(6411),__webpack_require__.e(8356),__webpack_require__.e(8085)]).then(__webpack_require__.bind(__webpack_require__,21378))),53:Ue.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(6411),__webpack_require__.e(8356),__webpack_require__.e(8085)]).then(__webpack_require__.bind(__webpack_require__,21378))),54:Ue.lazy(()=>__webpack_require__.e(8431).then(__webpack_require__.bind(__webpack_require__,82643))),55:Ue.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(5902)]).then(__webpack_require__.bind(__webpack_require__,59372))),56:Ue.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(3433)]).then(__webpack_require__.bind(__webpack_require__,31618))),57:Ue.lazy(()=>__webpack_require__.e(5125).then(__webpack_require__.bind(__webpack_require__,63084))),58:Ue.lazy(()=>__webpack_require__.e(5125).then(__webpack_require__.bind(__webpack_require__,63084))),59:Ue.lazy(()=>__webpack_require__.e(921).then(__webpack_require__.bind(__webpack_require__,4573))),60:Ue.lazy(()=>__webpack_require__.e(921).then(__webpack_require__.bind(__webpack_require__,4573))),61:Ue.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(1578)]).then(__webpack_require__.bind(__webpack_require__,35507))),62:Ue.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(3317)]).then(__webpack_require__.bind(__webpack_require__,43867))),63:Ue.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(1482)]).then(__webpack_require__.bind(__webpack_require__,8180))),64:Ue.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(4795)]).then(__webpack_require__.bind(__webpack_require__,82999))),65:Ue.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(26)]).then(__webpack_require__.bind(__webpack_require__,18379))),66:Ue.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(8882)]).then(__webpack_require__.bind(__webpack_require__,69911))),67:Ue.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(5888)]).then(__webpack_require__.bind(__webpack_require__,9324))),68:Ue.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(9715)]).then(__webpack_require__.bind(__webpack_require__,80800))),69:Ue.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(7045)]).then(__webpack_require__.bind(__webpack_require__,66206))),70:Ue.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(1211)]).then(__webpack_require__.bind(__webpack_require__,4793))),71:Ue.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(1582)]).then(__webpack_require__.bind(__webpack_require__,98519))),72:Ue.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(6729)]).then(__webpack_require__.bind(__webpack_require__,70970))),73:Ue.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(9695)]).then(__webpack_require__.bind(__webpack_require__,91235))),74:Ue.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(8723)]).then(__webpack_require__.bind(__webpack_require__,88244))),75:Ue.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(7622)]).then(__webpack_require__.bind(__webpack_require__,1952))),76:Ue.lazy(()=>__webpack_require__.e(5148).then(__webpack_require__.bind(__webpack_require__,12116))),77:Ue.lazy(()=>__webpack_require__.e(643).then(__webpack_require__.bind(__webpack_require__,48862))),78:Ue.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(3442)]).then(__webpack_require__.bind(__webpack_require__,6047))),79:Ue.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(2102)]).then(__webpack_require__.bind(__webpack_require__,61571))),80:Ue.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(2425)]).then(__webpack_require__.bind(__webpack_require__,12899))),81:Ue.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(2404)]).then(__webpack_require__.bind(__webpack_require__,31191))),82:Ue.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(9785)]).then(__webpack_require__.bind(__webpack_require__,31698))),83:Ue.lazy(()=>__webpack_require__.e(869).then(__webpack_require__.bind(__webpack_require__,65831))),84:Ue.lazy(()=>__webpack_require__.e(2819).then(__webpack_require__.bind(__webpack_require__,52783))),85:Ue.lazy(()=>__webpack_require__.e(1512).then(__webpack_require__.bind(__webpack_require__,50826))),86:Ue.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(7395)]).then(__webpack_require__.bind(__webpack_require__,94322))),87:Ue.lazy(()=>__webpack_require__.e(3585).then(__webpack_require__.bind(__webpack_require__,73305))),88:Ue.lazy(()=>__webpack_require__.e(6963).then(__webpack_require__.bind(__webpack_require__,34158))),89:Ue.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(4030)]).then(__webpack_require__.bind(__webpack_require__,64023))),90:Ue.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(4030)]).then(__webpack_require__.bind(__webpack_require__,64023))),91:Ue.lazy(()=>__webpack_require__.e(6127).then(__webpack_require__.bind(__webpack_require__,13178))),92:Ue.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(3951)]).then(__webpack_require__.bind(__webpack_require__,90907))),93:Ue.lazy(()=>__webpack_require__.e(1048).then(__webpack_require__.bind(__webpack_require__,69735))),94:Ue.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(8356),__webpack_require__.e(2884)]).then(__webpack_require__.bind(__webpack_require__,90880))),95:Ue.lazy(()=>__webpack_require__.e(4770).then(__webpack_require__.bind(__webpack_require__,15454))),96:Ue.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(2603)]).then(__webpack_require__.bind(__webpack_require__,622))),97:Ue.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(4216)]).then(__webpack_require__.bind(__webpack_require__,23891))),98:Ue.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(5319)]).then(__webpack_require__.bind(__webpack_require__,20149))),99:Ue.lazy(()=>__webpack_require__.e(895).then(__webpack_require__.bind(__webpack_require__,36858))),100:Ue.lazy(()=>__webpack_require__.e(3282).then(__webpack_require__.bind(__webpack_require__,41443))),101:Ue.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(7852)]).then(__webpack_require__.bind(__webpack_require__,81224))),102:Ue.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(7852)]).then(__webpack_require__.bind(__webpack_require__,81224))),103:Ue.lazy(()=>__webpack_require__.e(5048).then(__webpack_require__.bind(__webpack_require__,71903))),104:Ue.lazy(()=>__webpack_require__.e(1043).then(__webpack_require__.bind(__webpack_require__,30383))),105:Ue.lazy(()=>__webpack_require__.e(1043).then(__webpack_require__.bind(__webpack_require__,30383))),106:Ue.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(5825)]).then(__webpack_require__.bind(__webpack_require__,20128))),107:Ue.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(5825)]).then(__webpack_require__.bind(__webpack_require__,20128))),108:Ue.lazy(()=>__webpack_require__.e(3355).then(__webpack_require__.bind(__webpack_require__,64820))),109:Ue.lazy(()=>__webpack_require__.e(3355).then(__webpack_require__.bind(__webpack_require__,64820))),110:Ue.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(3857),__webpack_require__.e(9890)]).then(__webpack_require__.bind(__webpack_require__,99396))),111:Ue.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(3857),__webpack_require__.e(9890)]).then(__webpack_require__.bind(__webpack_require__,99396))),112:Ue.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(3857),__webpack_require__.e(3935)]).then(__webpack_require__.bind(__webpack_require__,82767))),113:Ue.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(3857),__webpack_require__.e(3935)]).then(__webpack_require__.bind(__webpack_require__,82767))),114:Ue.lazy(()=>__webpack_require__.e(8014).then(__webpack_require__.bind(__webpack_require__,56992))),115:Ue.lazy(()=>__webpack_require__.e(8077).then(__webpack_require__.bind(__webpack_require__,50716))),116:Ue.lazy(()=>__webpack_require__.e(3356).then(__webpack_require__.bind(__webpack_require__,75002))),117:Ue.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(6788)]).then(__webpack_require__.bind(__webpack_require__,88377))),118:Ue.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(6788)]).then(__webpack_require__.bind(__webpack_require__,88377))),119:Ue.lazy(()=>__webpack_require__.e(1962).then(__webpack_require__.bind(__webpack_require__,81914))),120:Ue.lazy(()=>__webpack_require__.e(4928).then(__webpack_require__.bind(__webpack_require__,47318))),121:Ue.lazy(()=>__webpack_require__.e(1257).then(__webpack_require__.bind(__webpack_require__,42786))),122:Ue.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(8435)]).then(__webpack_require__.bind(__webpack_require__,1408))),123:Ue.lazy(()=>__webpack_require__.e(8340).then(__webpack_require__.bind(__webpack_require__,59364))),124:Ue.lazy(()=>__webpack_require__.e(4093).then(__webpack_require__.bind(__webpack_require__,68502))),125:Ue.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(1265)]).then(__webpack_require__.bind(__webpack_require__,13083))),126:Ue.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(1265)]).then(__webpack_require__.bind(__webpack_require__,13083))),127:Ue.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(8827)]).then(__webpack_require__.bind(__webpack_require__,97630))),128:Ue.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(8827)]).then(__webpack_require__.bind(__webpack_require__,97630))),129:Ue.lazy(()=>__webpack_require__.e(6758).then(__webpack_require__.bind(__webpack_require__,43450))),130:Ue.lazy(()=>__webpack_require__.e(6758).then(__webpack_require__.bind(__webpack_require__,43450))),131:Ue.lazy(()=>__webpack_require__.e(9332).then(__webpack_require__.bind(__webpack_require__,55458))),132:Ue.lazy(()=>__webpack_require__.e(9332).then(__webpack_require__.bind(__webpack_require__,55458))),133:Ue.lazy(()=>__webpack_require__.e(4217).then(__webpack_require__.bind(__webpack_require__,49271))),134:Ue.lazy(()=>__webpack_require__.e(3220).then(__webpack_require__.bind(__webpack_require__,44323))),135:Ue.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(533)]).then(__webpack_require__.bind(__webpack_require__,26658))),136:Ue.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(5798)]).then(__webpack_require__.bind(__webpack_require__,82042))),137:Ue.lazy(()=>__webpack_require__.e(7878).then(__webpack_require__.bind(__webpack_require__,50420))),138:Ue.lazy(()=>__webpack_require__.e(7878).then(__webpack_require__.bind(__webpack_require__,50420))),139:Ue.lazy(()=>__webpack_require__.e(9944).then(__webpack_require__.bind(__webpack_require__,84943))),140:Ue.lazy(()=>__webpack_require__.e(8302).then(__webpack_require__.bind(__webpack_require__,19162))),141:Ue.lazy(()=>__webpack_require__.e(8302).then(__webpack_require__.bind(__webpack_require__,19162))),142:Ue.lazy(()=>__webpack_require__.e(8634).then(__webpack_require__.bind(__webpack_require__,10670))),143:Ue.lazy(()=>__webpack_require__.e(8634).then(__webpack_require__.bind(__webpack_require__,10670))),144:Ue.lazy(()=>__webpack_require__.e(7922).then(__webpack_require__.bind(__webpack_require__,74735))),145:Ue.lazy(()=>__webpack_require__.e(1727).then(__webpack_require__.bind(__webpack_require__,75949))),146:Ue.lazy(()=>__webpack_require__.e(1727).then(__webpack_require__.bind(__webpack_require__,75949))),147:Ue.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(1427)]).then(__webpack_require__.bind(__webpack_require__,62783))),148:Ue.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(1427)]).then(__webpack_require__.bind(__webpack_require__,62783))),149:Ue.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(8689)]).then(__webpack_require__.bind(__webpack_require__,88860))),150:Ue.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(7806)]).then(__webpack_require__.bind(__webpack_require__,96640))),151:Ue.lazy(()=>__webpack_require__.e(3276).then(__webpack_require__.bind(__webpack_require__,44475))),152:Ue.lazy(()=>__webpack_require__.e(8885).then(__webpack_require__.bind(__webpack_require__,10402))),153:Ue.lazy(()=>__webpack_require__.e(3451).then(__webpack_require__.bind(__webpack_require__,521))),154:Ue.lazy(()=>__webpack_require__.e(9922).then(__webpack_require__.bind(__webpack_require__,38159))),155:Ue.lazy(()=>__webpack_require__.e(4572).then(__webpack_require__.bind(__webpack_require__,81844))),156:Ue.lazy(()=>__webpack_require__.e(4017).then(__webpack_require__.bind(__webpack_require__,49499))),157:Ue.lazy(()=>__webpack_require__.e(5518).then(__webpack_require__.bind(__webpack_require__,52576))),158:Ue.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,4336))),159:Ue.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(845),__webpack_require__.e(6883)]).then(__webpack_require__.bind(__webpack_require__,43580))),160:Ue.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(845),__webpack_require__.e(6883)]).then(__webpack_require__.bind(__webpack_require__,43580))),161:Ue.lazy(()=>__webpack_require__.e(4449).then(__webpack_require__.bind(__webpack_require__,25969))),162:Ue.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(845),__webpack_require__.e(6883)]).then(__webpack_require__.bind(__webpack_require__,43580))),163:Ue.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(6840),__webpack_require__.e(2570)]).then(__webpack_require__.bind(__webpack_require__,68661))),164:Ue.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(6840),__webpack_require__.e(2570)]).then(__webpack_require__.bind(__webpack_require__,68661))),165:Ue.lazy(()=>__webpack_require__.e(8787).then(__webpack_require__.bind(__webpack_require__,87019))),166:Ue.lazy(()=>__webpack_require__.e(5650).then(__webpack_require__.bind(__webpack_require__,80070))),167:Ue.lazy(()=>__webpack_require__.e(1799).then(__webpack_require__.bind(__webpack_require__,57754))),168:Ue.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(6840),__webpack_require__.e(8797)]).then(__webpack_require__.bind(__webpack_require__,38674))),169:Ue.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,4336))),170:Ue.lazy(()=>__webpack_require__.e(8639).then(__webpack_require__.bind(__webpack_require__,6880))),171:Ue.lazy(()=>__webpack_require__.e(2983).then(__webpack_require__.bind(__webpack_require__,39109))),172:Ue.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(4264)]).then(__webpack_require__.bind(__webpack_require__,75034))),173:Ue.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(4264)]).then(__webpack_require__.bind(__webpack_require__,75034))),174:Ue.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(508)]).then(__webpack_require__.bind(__webpack_require__,7018))),175:Ue.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,4336))),176:Ue.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(8356),__webpack_require__.e(5664),__webpack_require__.e(4599)]).then(__webpack_require__.bind(__webpack_require__,31600))),177:Ue.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(1953)]).then(__webpack_require__.bind(__webpack_require__,41891))),178:Ue.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(1953)]).then(__webpack_require__.bind(__webpack_require__,41891))),179:Ue.lazy(()=>__webpack_require__.e(1581).then(__webpack_require__.bind(__webpack_require__,9488))),180:Ue.lazy(()=>__webpack_require__.e(4144).then(__webpack_require__.bind(__webpack_require__,68724))),181:Ue.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(8356),__webpack_require__.e(5664),__webpack_require__.e(4599)]).then(__webpack_require__.bind(__webpack_require__,31600))),182:Ue.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,4336))),183:Ue.lazy(()=>__webpack_require__.e(8782).then(__webpack_require__.bind(__webpack_require__,48699))),184:Ue.lazy(()=>__webpack_require__.e(7884).then(__webpack_require__.bind(__webpack_require__,92439))),185:Ue.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(7008)]).then(__webpack_require__.bind(__webpack_require__,1363))),186:Ue.lazy(()=>__webpack_require__.e(5549).then(__webpack_require__.bind(__webpack_require__,90232))),187:Ue.lazy(()=>__webpack_require__.e(9674).then(__webpack_require__.bind(__webpack_require__,96345))),188:Ue.lazy(()=>__webpack_require__.e(5573).then(__webpack_require__.bind(__webpack_require__,62538))),189:Ue.lazy(()=>__webpack_require__.e(2141).then(__webpack_require__.bind(__webpack_require__,88252))),190:Ue.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(6411),__webpack_require__.e(1540),__webpack_require__.e(6277)]).then(__webpack_require__.bind(__webpack_require__,95816))),191:Ue.lazy(()=>__webpack_require__.e(6328).then(__webpack_require__.bind(__webpack_require__,19243))),192:Ue.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(7857)]).then(__webpack_require__.bind(__webpack_require__,4415))),193:Ue.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(1657)]).then(__webpack_require__.bind(__webpack_require__,73443))),194:Ue.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(1657)]).then(__webpack_require__.bind(__webpack_require__,73443))),195:Ue.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(4498)]).then(__webpack_require__.bind(__webpack_require__,27798))),196:Ue.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(4498)]).then(__webpack_require__.bind(__webpack_require__,27798))),197:Ue.lazy(()=>__webpack_require__.e(9205).then(__webpack_require__.bind(__webpack_require__,17509))),198:Ue.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(1423)]).then(__webpack_require__.bind(__webpack_require__,39995))),199:Ue.lazy(()=>__webpack_require__.e(7614).then(__webpack_require__.bind(__webpack_require__,56869))),200:Ue.lazy(()=>__webpack_require__.e(2875).then(__webpack_require__.bind(__webpack_require__,62973))),201:Ue.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(9133)]).then(__webpack_require__.bind(__webpack_require__,36900))),202:Ue.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(8688)]).then(__webpack_require__.bind(__webpack_require__,12460))),203:Ue.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(8688)]).then(__webpack_require__.bind(__webpack_require__,12460))),204:Ue.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(5470)]).then(__webpack_require__.bind(__webpack_require__,93557))),205:Ue.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(6541)]).then(__webpack_require__.bind(__webpack_require__,45826))),206:Ue.lazy(()=>Promise.all([__webpack_require__.e(1540),__webpack_require__.e(1475)]).then(__webpack_require__.bind(__webpack_require__,41666))),207:Ue.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(6411),__webpack_require__.e(2254)]).then(__webpack_require__.bind(__webpack_require__,35045))),208:Ue.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(9408)]).then(__webpack_require__.bind(__webpack_require__,27035))),209:Ue.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(6411),__webpack_require__.e(6845)]).then(__webpack_require__.bind(__webpack_require__,12890))),210:Ue.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(4884)]).then(__webpack_require__.bind(__webpack_require__,72005))),211:Ue.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(4884)]).then(__webpack_require__.bind(__webpack_require__,72005))),212:Ue.lazy(()=>__webpack_require__.e(1148).then(__webpack_require__.bind(__webpack_require__,81295))),213:Ue.lazy(()=>__webpack_require__.e(1148).then(__webpack_require__.bind(__webpack_require__,81295))),214:Ue.lazy(()=>__webpack_require__.e(7046).then(__webpack_require__.bind(__webpack_require__,36599))),215:Ue.lazy(()=>__webpack_require__.e(7046).then(__webpack_require__.bind(__webpack_require__,36599))),216:Ue.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(8688)]).then(__webpack_require__.bind(__webpack_require__,12460))),217:Ue.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(8688)]).then(__webpack_require__.bind(__webpack_require__,12460))),218:Ue.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(5096)]).then(__webpack_require__.bind(__webpack_require__,98613))),219:Ue.lazy(()=>__webpack_require__.e(9215).then(__webpack_require__.bind(__webpack_require__,75892))),220:Ue.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,4336))),221:Ue.lazy(()=>__webpack_require__.e(5176).then(__webpack_require__.bind(__webpack_require__,11448))),222:Ue.lazy(()=>__webpack_require__.e(6587).then(__webpack_require__.bind(__webpack_require__,14055))),223:Ue.lazy(()=>__webpack_require__.e(9891).then(__webpack_require__.bind(__webpack_require__,57229))),224:Ue.lazy(()=>__webpack_require__.e(8062).then(__webpack_require__.bind(__webpack_require__,87828))),225:Ue.lazy(()=>__webpack_require__.e(5402).then(__webpack_require__.bind(__webpack_require__,74985))),226:Ue.lazy(()=>__webpack_require__.e(5402).then(__webpack_require__.bind(__webpack_require__,74985))),227:Ue.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(6820)]).then(__webpack_require__.bind(__webpack_require__,15925))),228:Ue.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(8517)]).then(__webpack_require__.bind(__webpack_require__,4160))),229:Ue.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(7043)]).then(__webpack_require__.bind(__webpack_require__,35924))),230:Ue.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(2806)]).then(__webpack_require__.bind(__webpack_require__,33842))),231:Ue.lazy(()=>__webpack_require__.e(5043).then(__webpack_require__.bind(__webpack_require__,34440))),232:Ue.lazy(()=>__webpack_require__.e(799).then(__webpack_require__.bind(__webpack_require__,35305))),233:Ue.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(3157)]).then(__webpack_require__.bind(__webpack_require__,1654))),234:Ue.lazy(()=>__webpack_require__.e(2529).then(__webpack_require__.bind(__webpack_require__,57887))),235:Ue.lazy(()=>__webpack_require__.e(6583).then(__webpack_require__.bind(__webpack_require__,99532))),236:Ue.lazy(()=>__webpack_require__.e(5895).then(__webpack_require__.bind(__webpack_require__,91576))),237:Ue.lazy(()=>__webpack_require__.e(6982).then(__webpack_require__.bind(__webpack_require__,61544))),238:Ue.lazy(()=>__webpack_require__.e(6805).then(__webpack_require__.bind(__webpack_require__,64377))),239:Ue.lazy(()=>__webpack_require__.e(1416).then(__webpack_require__.bind(__webpack_require__,39243))),240:Ue.lazy(()=>__webpack_require__.e(6583).then(__webpack_require__.bind(__webpack_require__,99532))),241:Ue.lazy(()=>__webpack_require__.e(8307).then(__webpack_require__.bind(__webpack_require__,29261))),242:Ue.lazy(()=>__webpack_require__.e(2826).then(__webpack_require__.bind(__webpack_require__,89906))),243:Ue.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(2659)]).then(__webpack_require__.bind(__webpack_require__,24764))),244:Ue.lazy(()=>__webpack_require__.e(4610).then(__webpack_require__.bind(__webpack_require__,15467))),245:Ue.lazy(()=>__webpack_require__.e(9590).then(__webpack_require__.bind(__webpack_require__,79942))),246:Ue.lazy(()=>__webpack_require__.e(2076).then(__webpack_require__.bind(__webpack_require__,62228))),247:Ue.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(4849)]).then(__webpack_require__.bind(__webpack_require__,71617))),248:Ue.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(310)]).then(__webpack_require__.bind(__webpack_require__,85675))),249:Ue.lazy(()=>__webpack_require__.e(5191).then(__webpack_require__.bind(__webpack_require__,36068))),250:Ue.lazy(()=>__webpack_require__.e(3496).then(__webpack_require__.bind(__webpack_require__,1831))),251:Ue.lazy(()=>__webpack_require__.e(7948).then(__webpack_require__.bind(__webpack_require__,20433))),252:Ue.lazy(()=>__webpack_require__.e(9519).then(__webpack_require__.bind(__webpack_require__,97026))),253:Ue.lazy(()=>__webpack_require__.e(5599).then(__webpack_require__.bind(__webpack_require__,66209))),254:Ue.lazy(()=>__webpack_require__.e(4736).then(__webpack_require__.bind(__webpack_require__,79261))),255:Ue.lazy(()=>__webpack_require__.e(2412).then(__webpack_require__.bind(__webpack_require__,51405))),256:Ue.lazy(()=>__webpack_require__.e(2240).then(__webpack_require__.bind(__webpack_require__,57505))),257:Ue.lazy(()=>__webpack_require__.e(265).then(__webpack_require__.bind(__webpack_require__,12463))),258:Ue.lazy(()=>__webpack_require__.e(9360).then(__webpack_require__.bind(__webpack_require__,49735))),259:Ue.lazy(()=>__webpack_require__.e(2396).then(__webpack_require__.bind(__webpack_require__,29449))),260:Ue.lazy(()=>__webpack_require__.e(7855).then(__webpack_require__.bind(__webpack_require__,49123))),261:Ue.lazy(()=>__webpack_require__.e(9507).then(__webpack_require__.bind(__webpack_require__,21605))),262:Ue.lazy(()=>__webpack_require__.e(1343).then(__webpack_require__.bind(__webpack_require__,22922))),263:Ue.lazy(()=>__webpack_require__.e(6985).then(__webpack_require__.bind(__webpack_require__,26985))),264:Ue.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,4336))),265:Ue.lazy(()=>__webpack_require__.e(9647).then(__webpack_require__.bind(__webpack_require__,80613))),266:Ue.lazy(()=>__webpack_require__.e(485).then(__webpack_require__.bind(__webpack_require__,3733))),267:Ue.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(4741)]).then(__webpack_require__.bind(__webpack_require__,69427))),268:Ue.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(4741)]).then(__webpack_require__.bind(__webpack_require__,69427))),269:Ue.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(4994)]).then(__webpack_require__.bind(__webpack_require__,84805))),270:Ue.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(4994)]).then(__webpack_require__.bind(__webpack_require__,84805))),271:Ue.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(7460)]).then(__webpack_require__.bind(__webpack_require__,20620))),272:Ue.lazy(()=>__webpack_require__.e(9716).then(__webpack_require__.bind(__webpack_require__,16764))),273:Ue.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(6913)]).then(__webpack_require__.bind(__webpack_require__,16040))),274:Ue.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(6913)]).then(__webpack_require__.bind(__webpack_require__,16040))),275:Ue.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,4336))),276:Ue.lazy(()=>__webpack_require__.e(3006).then(__webpack_require__.bind(__webpack_require__,20444))),277:Ue.lazy(()=>__webpack_require__.e(2045).then(__webpack_require__.bind(__webpack_require__,78505))),278:Ue.lazy(()=>__webpack_require__.e(1520).then(__webpack_require__.bind(__webpack_require__,96176))),279:Ue.lazy(()=>__webpack_require__.e(9649).then(__webpack_require__.bind(__webpack_require__,12810))),280:Ue.lazy(()=>__webpack_require__.e(4546).then(__webpack_require__.bind(__webpack_require__,32034))),281:Ue.lazy(()=>__webpack_require__.e(5357).then(__webpack_require__.bind(__webpack_require__,87578))),282:Ue.lazy(()=>__webpack_require__.e(8665).then(__webpack_require__.bind(__webpack_require__,92012))),283:Ue.lazy(()=>__webpack_require__.e(3183).then(__webpack_require__.bind(__webpack_require__,2661))),284:Ue.lazy(()=>__webpack_require__.e(4800).then(__webpack_require__.bind(__webpack_require__,2905))),285:Ue.lazy(()=>__webpack_require__.e(9489).then(__webpack_require__.bind(__webpack_require__,38392))),286:Ue.lazy(()=>__webpack_require__.e(9391).then(__webpack_require__.bind(__webpack_require__,3233))),287:Ue.lazy(()=>__webpack_require__.e(5335).then(__webpack_require__.bind(__webpack_require__,14172))),288:Ue.lazy(()=>__webpack_require__.e(2823).then(__webpack_require__.bind(__webpack_require__,39352))),289:Ue.lazy(()=>__webpack_require__.e(4973).then(__webpack_require__.bind(__webpack_require__,855))),290:Ue.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(6651)]).then(__webpack_require__.bind(__webpack_require__,21263))),291:Ue.lazy(()=>__webpack_require__.e(6741).then(__webpack_require__.bind(__webpack_require__,63357))),292:Ue.lazy(()=>__webpack_require__.e(5775).then(__webpack_require__.bind(__webpack_require__,38164))),293:Ue.lazy(()=>__webpack_require__.e(2548).then(__webpack_require__.bind(__webpack_require__,22388))),294:Ue.lazy(()=>__webpack_require__.e(6985).then(__webpack_require__.bind(__webpack_require__,26985))),295:Ue.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,4336))),296:Ue.lazy(()=>__webpack_require__.e(6634).then(__webpack_require__.bind(__webpack_require__,47028))),297:Ue.lazy(()=>__webpack_require__.e(680).then(__webpack_require__.bind(__webpack_require__,94570))),298:Ue.lazy(()=>__webpack_require__.e(6366).then(__webpack_require__.bind(__webpack_require__,15421))),299:Ue.lazy(()=>__webpack_require__.e(6452).then(__webpack_require__.bind(__webpack_require__,7432))),300:Ue.lazy(()=>__webpack_require__.e(1070).then(__webpack_require__.bind(__webpack_require__,39788))),301:Ue.lazy(()=>__webpack_require__.e(7242).then(__webpack_require__.bind(__webpack_require__,53392))),302:Ue.lazy(()=>__webpack_require__.e(2707).then(__webpack_require__.bind(__webpack_require__,42555))),303:Ue.lazy(()=>__webpack_require__.e(2865).then(__webpack_require__.bind(__webpack_require__,6170))),304:Ue.lazy(()=>__webpack_require__.e(6784).then(__webpack_require__.bind(__webpack_require__,55263))),305:Ue.lazy(()=>__webpack_require__.e(6784).then(__webpack_require__.bind(__webpack_require__,55263))),306:Ue.lazy(()=>__webpack_require__.e(3141).then(__webpack_require__.bind(__webpack_require__,49423))),307:Ue.lazy(()=>__webpack_require__.e(6985).then(__webpack_require__.bind(__webpack_require__,26985))),308:Ue.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(6411),__webpack_require__.e(8356),__webpack_require__.e(3665)]).then(__webpack_require__.bind(__webpack_require__,97317))),309:Ue.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(700)]).then(__webpack_require__.bind(__webpack_require__,40605))),310:Ue.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(6411),__webpack_require__.e(8356),__webpack_require__.e(3665)]).then(__webpack_require__.bind(__webpack_require__,97317))),311:Ue.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(700)]).then(__webpack_require__.bind(__webpack_require__,40605))),312:Ue.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(6411),__webpack_require__.e(8356),__webpack_require__.e(3665)]).then(__webpack_require__.bind(__webpack_require__,97317))),313:Ue.lazy(()=>__webpack_require__.e(6985).then(__webpack_require__.bind(__webpack_require__,26985))),314:Ue.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(8356),__webpack_require__.e(7527)]).then(__webpack_require__.bind(__webpack_require__,28475))),315:Ue.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(8356),__webpack_require__.e(6270)]).then(__webpack_require__.bind(__webpack_require__,56918))),316:Ue.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,4336))),317:Ue.lazy(()=>__webpack_require__.e(547).then(__webpack_require__.bind(__webpack_require__,60862))),318:Ue.lazy(()=>__webpack_require__.e(9788).then(__webpack_require__.bind(__webpack_require__,45356))),319:Ue.lazy(()=>__webpack_require__.e(576).then(__webpack_require__.bind(__webpack_require__,76202))),320:Ue.lazy(()=>__webpack_require__.e(7260).then(__webpack_require__.bind(__webpack_require__,22473))),321:Ue.lazy(()=>__webpack_require__.e(4520).then(__webpack_require__.bind(__webpack_require__,74058))),322:Ue.lazy(()=>__webpack_require__.e(9076).then(__webpack_require__.bind(__webpack_require__,53575))),323:Ue.lazy(()=>__webpack_require__.e(4514).then(__webpack_require__.bind(__webpack_require__,3668))),324:Ue.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,4336))),325:Ue.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(928)]).then(__webpack_require__.bind(__webpack_require__,23144))),326:Ue.lazy(()=>__webpack_require__.e(1006).then(__webpack_require__.bind(__webpack_require__,49366))),327:Ue.lazy(()=>__webpack_require__.e(1006).then(__webpack_require__.bind(__webpack_require__,49366))),328:Ue.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,4336))),329:Ue.lazy(()=>__webpack_require__.e(1939).then(__webpack_require__.bind(__webpack_require__,99048))),330:Ue.lazy(()=>__webpack_require__.e(556).then(__webpack_require__.bind(__webpack_require__,328))),331:Ue.lazy(()=>__webpack_require__.e(6434).then(__webpack_require__.bind(__webpack_require__,88025))),332:Ue.lazy(()=>__webpack_require__.e(1880).then(__webpack_require__.bind(__webpack_require__,50722))),333:Ue.lazy(()=>__webpack_require__.e(8237).then(__webpack_require__.bind(__webpack_require__,27460))),334:Ue.lazy(()=>__webpack_require__.e(3447).then(__webpack_require__.bind(__webpack_require__,81582))),335:Ue.lazy(()=>__webpack_require__.e(264).then(__webpack_require__.bind(__webpack_require__,2431))),336:Ue.lazy(()=>__webpack_require__.e(4259).then(__webpack_require__.bind(__webpack_require__,72918))),337:Ue.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,4336))),338:Ue.lazy(()=>__webpack_require__.e(4078).then(__webpack_require__.bind(__webpack_require__,34154))),339:Ue.lazy(()=>__webpack_require__.e(2829).then(__webpack_require__.bind(__webpack_require__,85551))),340:Ue.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(5359)]).then(__webpack_require__.bind(__webpack_require__,24411))),341:Ue.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,4336))),342:Ue.lazy(()=>__webpack_require__.e(559).then(__webpack_require__.bind(__webpack_require__,82603))),343:Ue.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(3747)]).then(__webpack_require__.bind(__webpack_require__,58868))),344:Ue.lazy(()=>__webpack_require__.e(4757).then(__webpack_require__.bind(__webpack_require__,99182))),345:Ue.lazy(()=>__webpack_require__.e(1783).then(__webpack_require__.bind(__webpack_require__,91162))),346:Ue.lazy(()=>__webpack_require__.e(7477).then(__webpack_require__.bind(__webpack_require__,72452))),347:Ue.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(9677)]).then(__webpack_require__.bind(__webpack_require__,78572))),348:Ue.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(9677)]).then(__webpack_require__.bind(__webpack_require__,78572))),349:Ue.lazy(()=>__webpack_require__.e(6796).then(__webpack_require__.bind(__webpack_require__,93726))),350:Ue.lazy(()=>__webpack_require__.e(4504).then(__webpack_require__.bind(__webpack_require__,4234))),351:Ue.lazy(()=>__webpack_require__.e(7058).then(__webpack_require__.bind(__webpack_require__,96652))),352:Ue.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(8447)]).then(__webpack_require__.bind(__webpack_require__,54905))),353:Ue.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(1045)]).then(__webpack_require__.bind(__webpack_require__,18457))),354:Ue.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(1045)]).then(__webpack_require__.bind(__webpack_require__,18457))),355:Ue.lazy(()=>__webpack_require__.e(5238).then(__webpack_require__.bind(__webpack_require__,32833))),356:Ue.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(4715)]).then(__webpack_require__.bind(__webpack_require__,28092))),357:Ue.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(3873)]).then(__webpack_require__.bind(__webpack_require__,51829))),358:Ue.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(6069)]).then(__webpack_require__.bind(__webpack_require__,90337))),359:Ue.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(6069)]).then(__webpack_require__.bind(__webpack_require__,90337))),360:Ue.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(6265)]).then(__webpack_require__.bind(__webpack_require__,5135))),361:Ue.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(8563)]).then(__webpack_require__.bind(__webpack_require__,63506))),362:Ue.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(8563)]).then(__webpack_require__.bind(__webpack_require__,63506))),363:Ue.lazy(()=>__webpack_require__.e(1713).then(__webpack_require__.bind(__webpack_require__,18784))),364:Ue.lazy(()=>__webpack_require__.e(5891).then(__webpack_require__.bind(__webpack_require__,24661))),365:Ue.lazy(()=>__webpack_require__.e(8398).then(__webpack_require__.bind(__webpack_require__,95111))),366:Ue.lazy(()=>__webpack_require__.e(8241).then(__webpack_require__.bind(__webpack_require__,38492))),367:Ue.lazy(()=>__webpack_require__.e(2339).then(__webpack_require__.bind(__webpack_require__,97154))),368:Ue.lazy(()=>__webpack_require__.e(7589).then(__webpack_require__.bind(__webpack_require__,70853))),369:Ue.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(3747)]).then(__webpack_require__.bind(__webpack_require__,58868))),370:Ue.lazy(()=>__webpack_require__.e(5705).then(__webpack_require__.bind(__webpack_require__,81183))),371:Ue.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,4336))),372:Ue.lazy(()=>__webpack_require__.e(559).then(__webpack_require__.bind(__webpack_require__,82603))),373:Ue.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(3747)]).then(__webpack_require__.bind(__webpack_require__,58868))),374:Ue.lazy(()=>__webpack_require__.e(4757).then(__webpack_require__.bind(__webpack_require__,99182))),375:Ue.lazy(()=>__webpack_require__.e(1783).then(__webpack_require__.bind(__webpack_require__,91162))),376:Ue.lazy(()=>__webpack_require__.e(7477).then(__webpack_require__.bind(__webpack_require__,72452))),377:Ue.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(9677)]).then(__webpack_require__.bind(__webpack_require__,78572))),378:Ue.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(9677)]).then(__webpack_require__.bind(__webpack_require__,78572))),379:Ue.lazy(()=>__webpack_require__.e(6796).then(__webpack_require__.bind(__webpack_require__,93726))),380:Ue.lazy(()=>__webpack_require__.e(4504).then(__webpack_require__.bind(__webpack_require__,4234))),381:Ue.lazy(()=>__webpack_require__.e(7058).then(__webpack_require__.bind(__webpack_require__,96652))),382:Ue.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(8447)]).then(__webpack_require__.bind(__webpack_require__,54905))),383:Ue.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(1045)]).then(__webpack_require__.bind(__webpack_require__,18457))),384:Ue.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(1045)]).then(__webpack_require__.bind(__webpack_require__,18457))),385:Ue.lazy(()=>__webpack_require__.e(5238).then(__webpack_require__.bind(__webpack_require__,32833))),386:Ue.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(4715)]).then(__webpack_require__.bind(__webpack_require__,28092))),387:Ue.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(3873)]).then(__webpack_require__.bind(__webpack_require__,51829))),388:Ue.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(6069)]).then(__webpack_require__.bind(__webpack_require__,90337))),389:Ue.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(6069)]).then(__webpack_require__.bind(__webpack_require__,90337))),390:Ue.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(6265)]).then(__webpack_require__.bind(__webpack_require__,5135))),391:Ue.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(8563)]).then(__webpack_require__.bind(__webpack_require__,63506))),392:Ue.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(8563)]).then(__webpack_require__.bind(__webpack_require__,63506))),393:Ue.lazy(()=>__webpack_require__.e(1713).then(__webpack_require__.bind(__webpack_require__,18784))),394:Ue.lazy(()=>__webpack_require__.e(5891).then(__webpack_require__.bind(__webpack_require__,24661))),395:Ue.lazy(()=>__webpack_require__.e(8398).then(__webpack_require__.bind(__webpack_require__,95111))),396:Ue.lazy(()=>__webpack_require__.e(8241).then(__webpack_require__.bind(__webpack_require__,38492))),397:Ue.lazy(()=>__webpack_require__.e(2339).then(__webpack_require__.bind(__webpack_require__,97154))),398:Ue.lazy(()=>__webpack_require__.e(7589).then(__webpack_require__.bind(__webpack_require__,70853))),399:Ue.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(3747)]).then(__webpack_require__.bind(__webpack_require__,58868))),400:Ue.lazy(()=>__webpack_require__.e(5705).then(__webpack_require__.bind(__webpack_require__,81183))),401:Ue.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,4336))),402:Ue.lazy(()=>__webpack_require__.e(4766).then(__webpack_require__.bind(__webpack_require__,47317))),403:Ue.lazy(()=>__webpack_require__.e(7560).then(__webpack_require__.bind(__webpack_require__,21484))),404:Ue.lazy(()=>__webpack_require__.e(6029).then(__webpack_require__.bind(__webpack_require__,86315))),405:Ue.lazy(()=>__webpack_require__.e(5179).then(__webpack_require__.bind(__webpack_require__,35153))),406:Ue.lazy(()=>__webpack_require__.e(4621).then(__webpack_require__.bind(__webpack_require__,97137))),407:Ue.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,4336))),408:Ue.lazy(()=>__webpack_require__.e(1831).then(__webpack_require__.bind(__webpack_require__,5202))),409:Ue.lazy(()=>__webpack_require__.e(2539).then(__webpack_require__.bind(__webpack_require__,2016))),410:Ue.lazy(()=>__webpack_require__.e(8143).then(__webpack_require__.bind(__webpack_require__,8306))),411:Ue.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(5624)]).then(__webpack_require__.bind(__webpack_require__,52889))),412:Ue.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(1461)]).then(__webpack_require__.bind(__webpack_require__,85434))),413:Ue.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(4492)]).then(__webpack_require__.bind(__webpack_require__,57858))),414:Ue.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(9416)]).then(__webpack_require__.bind(__webpack_require__,65334))),415:Ue.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(2443)]).then(__webpack_require__.bind(__webpack_require__,59035))),416:Ue.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(2443)]).then(__webpack_require__.bind(__webpack_require__,59035))),417:Ue.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(2443)]).then(__webpack_require__.bind(__webpack_require__,59035))),418:Ue.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(2443)]).then(__webpack_require__.bind(__webpack_require__,59035))),419:Ue.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(2443)]).then(__webpack_require__.bind(__webpack_require__,59035))),420:Ue.lazy(()=>__webpack_require__.e(5022).then(__webpack_require__.bind(__webpack_require__,31765))),421:Ue.lazy(()=>__webpack_require__.e(6063).then(__webpack_require__.bind(__webpack_require__,80415))),422:Ue.lazy(()=>__webpack_require__.e(6063).then(__webpack_require__.bind(__webpack_require__,80415))),423:Ue.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(7545)]).then(__webpack_require__.bind(__webpack_require__,4282))),424:Ue.lazy(()=>__webpack_require__.e(1253).then(__webpack_require__.bind(__webpack_require__,81285))),425:Ue.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,4336))),426:Ue.lazy(()=>__webpack_require__.e(2216).then(__webpack_require__.bind(__webpack_require__,94163))),427:Ue.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(5382)]).then(__webpack_require__.bind(__webpack_require__,17734))),428:Ue.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,4336))),429:Ue.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(6411),__webpack_require__.e(8823)]).then(__webpack_require__.bind(__webpack_require__,15902))),430:Ue.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(5915)]).then(__webpack_require__.bind(__webpack_require__,32624))),431:Ue.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,4336))),432:Ue.lazy(()=>__webpack_require__.e(570).then(__webpack_require__.bind(__webpack_require__,89288))),433:Ue.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,4336))),434:Ue.lazy(()=>__webpack_require__.e(8365).then(__webpack_require__.bind(__webpack_require__,91185))),435:Ue.lazy(()=>__webpack_require__.e(672).then(__webpack_require__.bind(__webpack_require__,39066))),436:Ue.lazy(()=>__webpack_require__.e(4058).then(__webpack_require__.bind(__webpack_require__,4255))),437:Ue.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,4336))),438:Ue.lazy(()=>__webpack_require__.e(4056).then(__webpack_require__.bind(__webpack_require__,87091))),439:Ue.lazy(()=>__webpack_require__.e(9487).then(__webpack_require__.bind(__webpack_require__,24693))),440:Ue.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,4336))),441:Ue.lazy(()=>__webpack_require__.e(532).then(__webpack_require__.bind(__webpack_require__,20146))),442:Ue.lazy(()=>__webpack_require__.e(7178).then(__webpack_require__.bind(__webpack_require__,95513))),443:Ue.lazy(()=>__webpack_require__.e(1660).then(__webpack_require__.bind(__webpack_require__,62465))),444:Ue.lazy(()=>__webpack_require__.e(7333).then(__webpack_require__.bind(__webpack_require__,54895))),445:Ue.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(4227)]).then(__webpack_require__.bind(__webpack_require__,27307))),446:Ue.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(8155)]).then(__webpack_require__.bind(__webpack_require__,14781))),447:Ue.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(5186)]).then(__webpack_require__.bind(__webpack_require__,63601))),448:Ue.lazy(()=>__webpack_require__.e(5786).then(__webpack_require__.bind(__webpack_require__,32040))),449:Ue.lazy(()=>__webpack_require__.e(9366).then(__webpack_require__.bind(__webpack_require__,11881))),450:Ue.lazy(()=>__webpack_require__.e(5972).then(__webpack_require__.bind(__webpack_require__,85978))),451:Ue.lazy(()=>__webpack_require__.e(9366).then(__webpack_require__.bind(__webpack_require__,11881))),452:Ue.lazy(()=>__webpack_require__.e(1470).then(__webpack_require__.bind(__webpack_require__,465))),453:Ue.lazy(()=>__webpack_require__.e(7182).then(__webpack_require__.bind(__webpack_require__,75827))),454:Ue.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,4336))),455:Ue.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(2476)]).then(__webpack_require__.bind(__webpack_require__,7868))),456:Ue.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,4336))),457:Ue.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(5729)]).then(__webpack_require__.bind(__webpack_require__,28432))),458:Ue.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,4336))),459:Ue.lazy(()=>__webpack_require__.e(6444).then(__webpack_require__.bind(__webpack_require__,90131))),460:Ue.lazy(()=>__webpack_require__.e(5111).then(__webpack_require__.bind(__webpack_require__,75499))),461:Ue.lazy(()=>__webpack_require__.e(2307).then(__webpack_require__.bind(__webpack_require__,53198))),462:Ue.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(7224)]).then(__webpack_require__.bind(__webpack_require__,98787))),463:Ue.lazy(()=>__webpack_require__.e(1528).then(__webpack_require__.bind(__webpack_require__,53564))),464:Ue.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,4336))),465:Ue.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(845),__webpack_require__.e(8866)]).then(__webpack_require__.bind(__webpack_require__,51415))),466:Ue.lazy(()=>__webpack_require__.e(2300).then(__webpack_require__.bind(__webpack_require__,89609))),467:Ue.lazy(()=>__webpack_require__.e(2501).then(__webpack_require__.bind(__webpack_require__,74897))),468:Ue.lazy(()=>__webpack_require__.e(3212).then(__webpack_require__.bind(__webpack_require__,55700))),469:Ue.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(6904)]).then(__webpack_require__.bind(__webpack_require__,99198))),470:Ue.lazy(()=>__webpack_require__.e(1855).then(__webpack_require__.bind(__webpack_require__,75243))),471:Ue.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(6904)]).then(__webpack_require__.bind(__webpack_require__,99198))),472:Ue.lazy(()=>__webpack_require__.e(1276).then(__webpack_require__.bind(__webpack_require__,3766))),473:Ue.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(5816)]).then(__webpack_require__.bind(__webpack_require__,87261))),474:Ue.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(5816)]).then(__webpack_require__.bind(__webpack_require__,87261))),475:Ue.lazy(()=>__webpack_require__.e(3784).then(__webpack_require__.bind(__webpack_require__,49026))),476:Ue.lazy(()=>__webpack_require__.e(3862).then(__webpack_require__.bind(__webpack_require__,40085))),477:Ue.lazy(()=>__webpack_require__.e(4565).then(__webpack_require__.bind(__webpack_require__,58234))),478:Ue.lazy(()=>__webpack_require__.e(6531).then(__webpack_require__.bind(__webpack_require__,64770))),479:Ue.lazy(()=>__webpack_require__.e(6170).then(__webpack_require__.bind(__webpack_require__,65077))),480:Ue.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(4496)]).then(__webpack_require__.bind(__webpack_require__,19730))),481:Ue.lazy(()=>__webpack_require__.e(1836).then(__webpack_require__.bind(__webpack_require__,73980))),482:Ue.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(8435)]).then(__webpack_require__.bind(__webpack_require__,1408))),483:Ue.lazy(()=>__webpack_require__.e(3509).then(__webpack_require__.bind(__webpack_require__,83741))),484:Ue.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(4496)]).then(__webpack_require__.bind(__webpack_require__,19730))),485:Ue.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(4496)]).then(__webpack_require__.bind(__webpack_require__,19730))),486:Ue.lazy(()=>__webpack_require__.e(6034).then(__webpack_require__.bind(__webpack_require__,75413))),487:Ue.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(8999)]).then(__webpack_require__.bind(__webpack_require__,4147))),488:Ue.lazy(()=>__webpack_require__.e(3910).then(__webpack_require__.bind(__webpack_require__,28637))),489:Ue.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(67)]).then(__webpack_require__.bind(__webpack_require__,10998))),490:Ue.lazy(()=>__webpack_require__.e(6531).then(__webpack_require__.bind(__webpack_require__,64770))),"@@/global-layout":Ue.lazy(()=>__webpack_require__.e(1717).then(__webpack_require__.bind(__webpack_require__,73258)))}}})}var P=__webpack_require__(19873),D=__webpack_require__(26243),L=__webpack_require__(71418),me=__webpack_require__(41977),De=()=>Ue.createElement(L.Z,{size:"middle",className:me.Z.loading}),an=__webpack_require__(65582),Vn=__webpack_require__(66649),hn=__webpack_require__.n(Vn),Fi=__webpack_require__(91392),cs=__webpack_require__.n(Fi),Ka=__webpack_require__(73100),Ho=__webpack_require__.n(Ka),ns=__webpack_require__(14805),Ao=__webpack_require__.n(ns),js=__webpack_require__(13477),tf=__webpack_require__.n(js),ql=__webpack_require__(64796),Fc=__webpack_require__.n(ql),rf=__webpack_require__(9007),Vu=__webpack_require__.n(rf),Si=__webpack_require__(58626),Sl=__webpack_require__.n(Si),Bc=__webpack_require__(9084),nu=__webpack_require__.n(Bc),co=__webpack_require__(5116),vs=__webpack_require__.n(co),vl=__webpack_require__(50991),Jl=__webpack_require__.n(vl),gl=__webpack_require__(39050),Ll=__webpack_require__.n(gl),Al=__webpack_require__(1554),Ef=__webpack_require__.n(Al),ku=__webpack_require__(59697),Ml=__webpack_require__.n(ku);hn().extend(Ho()),hn().extend(Ao()),hn().extend(tf()),hn().extend(Fc()),hn().extend(Vu()),hn().extend(Sl()),hn().extend(nu()),hn().extend(vs()),hn().extend(Jl()),hn().extend(Ll()),hn().extend(Ef()),hn().extend(Ml()),hn().extend(cs());var nf=Object.defineProperty,Fl=Object.getOwnPropertySymbols,wf=Object.prototype.hasOwnProperty,Ru=Object.prototype.propertyIsEnumerable,Tl=(Mn,ni,qi)=>ni in Mn?nf(Mn,ni,{enumerable:!0,configurable:!0,writable:!0,value:qi}):Mn[ni]=qi,ec=(Mn,ni)=>{for(var qi in ni||(ni={}))wf.call(ni,qi)&&Tl(Mn,qi,ni[qi]);if(Fl)for(var qi of Fl(ni))Ru.call(ni,qi)&&Tl(Mn,qi,ni[qi]);return Mn},Nc=(Mn,ni,qi)=>new Promise((Ba,fa)=>{var Sa=da=>{try{Os(qi.next(da))}catch(Ms){fa(Ms)}},xa=da=>{try{Os(qi.throw(da))}catch(Ms){fa(Ms)}},Os=da=>da.done?Ba(da.value):Promise.resolve(da.value).then(Sa,xa);Os((qi=qi.apply(Mn,ni)).next())});const $u="/react/build/",xu=!1;function Eu(){return Nc(this,null,function*(){const Mn=(0,P.gD)(),{routes:ni,routeComponents:qi}=yield xf(Mn);yield Mn.applyPlugins({key:"patchRoutes",type:an.ApplyPluginsType.event,args:{routes:ni,routeComponents:qi}});const Ba=Mn.applyPlugins({key:"modifyContextOpts",type:an.ApplyPluginsType.modify,initialValue:{}}),fa=Ba.basename||"/",Sa=Ba.historyType||"browser",xa=(0,D.fi)(ec({type:Sa,basename:fa},Ba.historyOpts));return Mn.applyPlugins({key:"render",type:an.ApplyPluginsType.compose,initialValue(){const Os={useStream:!0,routes:ni,routeComponents:qi,pluginManager:Mn,mountElementId:"root",rootElement:Ba.rootElement||document.getElementById("root"),loadingComponent:De,publicPath:$u,runtimePublicPath:xu,history:xa,historyType:Sa,basename:fa,__INTERNAL_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:{pureApp:!1,pureHtml:!1},callback:Ba.callback},da=Mn.applyPlugins({key:"modifyClientRenderOpts",type:an.ApplyPluginsType.modify,initialValue:Os});return Lc(da)}})()})}Eu(),typeof window!="undefined"&&(window.g_umi={version:"4.5.3"})})()})();